const PX='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',$X=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,U8=e=>Array.from(e.querySelectorAll(PX)).filter(t=>BX(t)&&$X(t)),BX=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},yy=function(e,t,...r){let n;t.includes("mouse")||t.includes("click")?n="MouseEvents":t.includes("key")?n="KeyboardEvent":n="HTMLEvents";const a=document.createEvent(n);return a.initEvent(t,...r),e.dispatchEvent(a),e},q9=e=>!e.getAttribute("aria-owns"),j9=(e,t,r)=>{const{parentNode:n}=e;if(!n)return null;const a=n.querySelectorAll(r),i=Array.prototype.indexOf.call(a,e);return a[i+t]||null},_y=e=>{e&&(e.focus(),!q9(e)&&e.click())},Ir=(e,t,{checkForDefaultPrevented:r=!0}={})=>a=>{const i=e==null?void 0:e(a);if(r===!1||!i)return t==null?void 0:t(a)},G8=e=>t=>t.pointerType==="mouse"?e(t):void 0;function hC(e,t){const r=Object.create(null),n=e.split(",");for(let a=0;a<n.length;a++)r[n[a]]=!0;return t?a=>!!r[a.toLowerCase()]:a=>!!r[a]}const Dr={},Rf=[],nr=()=>{},FX=()=>!1,zX=/^on[^a-z]/,Z2=e=>zX.test(e),vC=e=>e.startsWith("onUpdate:"),un=Object.assign,gC=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},VX=Object.prototype.hasOwnProperty,$t=(e,t)=>VX.call(e,t),He=Array.isArray,Mf=e=>rm(e)==="[object Map]",Q2=e=>rm(e)==="[object Set]",rd=e=>rm(e)==="[object Date]",it=e=>typeof e=="function",ut=e=>typeof e=="string",qf=e=>typeof e=="symbol",St=e=>e!==null&&typeof e=="object",Vv=e=>(St(e)||it(e))&&it(e.then)&&it(e.catch),X9=Object.prototype.toString,rm=e=>X9.call(e),by=e=>rm(e).slice(8,-1),_1=e=>rm(e)==="[object Object]",mC=e=>ut(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,wy=hC(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),J2=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},HX=/-(\w)/g,xi=J2(e=>e.replace(HX,(t,r)=>r?r.toUpperCase():"")),UX=/\B([A-Z])/g,vu=J2(e=>e.replace(UX,"-$1").toLowerCase()),nm=J2(e=>e.charAt(0).toUpperCase()+e.slice(1)),Sy=J2(e=>e?`on${nm(e)}`:""),nd=(e,t)=>!Object.is(e,t),Ey=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},b1=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},H4=e=>{const t=parseFloat(e);return isNaN(t)?e:t},GX=e=>{const t=ut(e)?Number(e):NaN;return isNaN(t)?e:t};let W8;const U4=()=>W8||(W8=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qe(e){if(He(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],a=ut(n)?qX(n):qe(n);if(a)for(const i in a)t[i]=a[i]}return t}else if(ut(e)||St(e))return e}const WX=/;(?![^(]*\))/g,KX=/:([^]+)/,YX=/\/\*[^]*?\*\//g;function qX(e){const t={};return e.replace(YX,"").split(WX).forEach(r=>{if(r){const n=r.split(KX);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function V(e){let t="";if(ut(e))t=e;else if(He(e))for(let r=0;r<e.length;r++){const n=V(e[r]);n&&(t+=n+" ")}else if(St(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function Zi(e){if(!e)return null;let{class:t,style:r}=e;return t&&!ut(t)&&(e.class=V(t)),r&&(e.style=qe(r)),e}const jX="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",XX=hC(jX);function Z9(e){return!!e||e===""}function ZX(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=jf(e[n],t[n]);return r}function jf(e,t){if(e===t)return!0;let r=rd(e),n=rd(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=qf(e),n=qf(t),r||n)return e===t;if(r=He(e),n=He(t),r||n)return r&&n?ZX(e,t):!1;if(r=St(e),n=St(t),r||n){if(!r||!n)return!1;const a=Object.keys(e).length,i=Object.keys(t).length;if(a!==i)return!1;for(const o in e){const s=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(s&&!l||!s&&l||!jf(e[o],t[o]))return!1}}return String(e)===String(t)}function Q9(e,t){return e.findIndex(r=>jf(r,t))}const Oe=e=>ut(e)?e:e==null?"":He(e)||St(e)&&(e.toString===X9||!it(e.toString))?JSON.stringify(e,J9,2):String(e),J9=(e,t)=>t&&t.__v_isRef?J9(e,t.value):Mf(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,a])=>(r[`${n} =>`]=a,r),{})}:Q2(t)?{[`Set(${t.size})`]:[...t.values()]}:St(t)&&!He(t)&&!_1(t)?String(t):t;let Ha;class e${constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ha,!t&&Ha&&(this.index=(Ha.scopes||(Ha.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=Ha;try{return Ha=this,t()}finally{Ha=r}}}on(){Ha=this}off(){Ha=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0,this._active=!1}}}function QX(e){return new e$(e)}function JX(e,t=Ha){t&&t.active&&t.effects.push(e)}function t$(){return Ha}function r$(e){Ha&&Ha.cleanups.push(e)}const yC=e=>{const t=new Set(e);return t.w=0,t.n=0,t},n$=e=>(e.w&Zl)>0,a$=e=>(e.n&Zl)>0,eZ=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Zl},tZ=e=>{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n<t.length;n++){const a=t[n];n$(a)&&!a$(a)?a.delete(e):t[r++]=a,a.w&=~Zl,a.n&=~Zl}t.length=r}},w1=new WeakMap;let Hh=0,Zl=1;const G4=30;let Xi;const Nc=Symbol(""),W4=Symbol("");class _C{constructor(t,r=null,n){this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,JX(this,n)}run(){if(!this.active)return this.fn();let t=Xi,r=Hl;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Xi,Xi=this,Hl=!0,Zl=1<<++Hh,Hh<=G4?eZ(this):K8(this),this.fn()}finally{Hh<=G4&&tZ(this),Zl=1<<--Hh,Xi=this.parent,Hl=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Xi===this?this.deferStop=!0:this.active&&(K8(this),this.onStop&&this.onStop(),this.active=!1)}}function K8(e){const{deps:t}=e;if(t.length){for(let r=0;r<t.length;r++)t[r].delete(e);t.length=0}}let Hl=!0;const i$=[];function Rp(){i$.push(Hl),Hl=!1}function Mp(){const e=i$.pop();Hl=e===void 0?!0:e}function La(e,t,r){if(Hl&&Xi){let n=w1.get(e);n||w1.set(e,n=new Map);let a=n.get(r);a||n.set(r,a=yC()),o$(a)}}function o$(e,t){let r=!1;Hh<=G4?a$(e)||(e.n|=Zl,r=!n$(e)):r=!e.has(Xi),r&&(e.add(Xi),Xi.deps.push(e))}function Es(e,t,r,n,a,i){const o=w1.get(e);if(!o)return;let s=[];if(t==="clear")s=[...o.values()];else if(r==="length"&&He(e)){const l=Number(n);o.forEach((u,c)=>{(c==="length"||!qf(c)&&c>=l)&&s.push(u)})}else switch(r!==void 0&&s.push(o.get(r)),t){case"add":He(e)?mC(r)&&s.push(o.get("length")):(s.push(o.get(Nc)),Mf(e)&&s.push(o.get(W4)));break;case"delete":He(e)||(s.push(o.get(Nc)),Mf(e)&&s.push(o.get(W4)));break;case"set":Mf(e)&&s.push(o.get(Nc));break}if(s.length===1)s[0]&&K4(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);K4(yC(l))}}function K4(e,t){const r=He(e)?e:[...e];for(const n of r)n.computed&&Y8(n);for(const n of r)n.computed||Y8(n)}function Y8(e,t){(e!==Xi||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function rZ(e,t){var r;return(r=w1.get(e))==null?void 0:r.get(t)}const nZ=hC("__proto__,__v_isRef,__isVue"),s$=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qf)),q8=aZ();function aZ(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=jt(this);for(let i=0,o=this.length;i<o;i++)La(n,"get",i+"");const a=n[t](...r);return a===-1||a===!1?n[t](...r.map(jt)):a}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){Rp();const n=jt(this)[t].apply(this,r);return Mp(),n}}),e}function iZ(e){const t=jt(this);return La(t,"has",e),t.hasOwnProperty(e)}class l${constructor(t=!1,r=!1){this._isReadonly=t,this._shallow=r}get(t,r,n){const a=this._isReadonly,i=this._shallow;if(r==="__v_isReactive")return!a;if(r==="__v_isReadonly")return a;if(r==="__v_isShallow")return i;if(r==="__v_raw"&&n===(a?i?yZ:f$:i?d$:c$).get(t))return t;const o=He(t);if(!a){if(o&&$t(q8,r))return Reflect.get(q8,r,n);if(r==="hasOwnProperty")return iZ}const s=Reflect.get(t,r,n);return(qf(r)?s$.has(r):nZ(r))||(a||La(t,"get",r),i)?s:cr(s)?o&&mC(r)?s:s.value:St(s)?a?Lp(s):qt(s):s}}class u$ extends l${constructor(t=!1){super(!1,t)}set(t,r,n,a){let i=t[r];if(Xf(i)&&cr(i)&&!cr(n))return!1;if(!this._shallow&&(!S1(n)&&!Xf(n)&&(i=jt(i),n=jt(n)),!He(t)&&cr(i)&&!cr(n)))return i.value=n,!0;const o=He(t)&&mC(r)?Number(r)<t.length:$t(t,r),s=Reflect.set(t,r,n,a);return t===jt(a)&&(o?nd(n,i)&&Es(t,"set",r,n):Es(t,"add",r,n)),s}deleteProperty(t,r){const n=$t(t,r);t[r];const a=Reflect.deleteProperty(t,r);return a&&n&&Es(t,"delete",r,void 0),a}has(t,r){const n=Reflect.has(t,r);return(!qf(r)||!s$.has(r))&&La(t,"has",r),n}ownKeys(t){return La(t,"iterate",He(t)?"length":Nc),Reflect.ownKeys(t)}}class oZ extends l${constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const sZ=new u$,lZ=new oZ,uZ=new u$(!0),bC=e=>e,e_=e=>Reflect.getPrototypeOf(e);function Gm(e,t,r=!1,n=!1){e=e.__v_raw;const a=jt(e),i=jt(t);r||(nd(t,i)&&La(a,"get",t),La(a,"get",i));const{has:o}=e_(a),s=n?bC:r?CC:Hv;if(o.call(a,t))return s(e.get(t));if(o.call(a,i))return s(e.get(i));e!==a&&e.get(t)}function Wm(e,t=!1){const r=this.__v_raw,n=jt(r),a=jt(e);return t||(nd(e,a)&&La(n,"has",e),La(n,"has",a)),e===a?r.has(e):r.has(e)||r.has(a)}function Km(e,t=!1){return e=e.__v_raw,!t&&La(jt(e),"iterate",Nc),Reflect.get(e,"size",e)}function j8(e){e=jt(e);const t=jt(this);return e_(t).has.call(t,e)||(t.add(e),Es(t,"add",e,e)),this}function X8(e,t){t=jt(t);const r=jt(this),{has:n,get:a}=e_(r);let i=n.call(r,e);i||(e=jt(e),i=n.call(r,e));const o=a.call(r,e);return r.set(e,t),i?nd(t,o)&&Es(r,"set",e,t):Es(r,"add",e,t),this}function Z8(e){const t=jt(this),{has:r,get:n}=e_(t);let a=r.call(t,e);a||(e=jt(e),a=r.call(t,e)),n&&n.call(t,e);const i=t.delete(e);return a&&Es(t,"delete",e,void 0),i}function Q8(){const e=jt(this),t=e.size!==0,r=e.clear();return t&&Es(e,"clear",void 0,void 0),r}function Ym(e,t){return function(n,a){const i=this,o=i.__v_raw,s=jt(o),l=t?bC:e?CC:Hv;return!e&&La(s,"iterate",Nc),o.forEach((u,c)=>n.call(a,l(u),l(c),i))}}function qm(e,t,r){return function(...n){const a=this.__v_raw,i=jt(a),o=Mf(i),s=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=a[e](...n),c=r?bC:t?CC:Hv;return!t&&La(i,"iterate",l?W4:Nc),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:s?[c(d[0]),c(d[1])]:c(d),done:f}},[Symbol.iterator](){return this}}}}function rl(e){return function(...t){return e==="delete"?!1:this}}function cZ(){const e={get(i){return Gm(this,i)},get size(){return Km(this)},has:Wm,add:j8,set:X8,delete:Z8,clear:Q8,forEach:Ym(!1,!1)},t={get(i){return Gm(this,i,!1,!0)},get size(){return Km(this)},has:Wm,add:j8,set:X8,delete:Z8,clear:Q8,forEach:Ym(!1,!0)},r={get(i){return Gm(this,i,!0)},get size(){return Km(this,!0)},has(i){return Wm.call(this,i,!0)},add:rl("add"),set:rl("set"),delete:rl("delete"),clear:rl("clear"),forEach:Ym(!0,!1)},n={get(i){return Gm(this,i,!0,!0)},get size(){return Km(this,!0)},has(i){return Wm.call(this,i,!0)},add:rl("add"),set:rl("set"),delete:rl("delete"),clear:rl("clear"),forEach:Ym(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=qm(i,!1,!1),r[i]=qm(i,!0,!1),t[i]=qm(i,!1,!0),n[i]=qm(i,!0,!0)}),[e,r,t,n]}const[dZ,fZ,pZ,hZ]=cZ();function wC(e,t){const r=t?e?hZ:pZ:e?fZ:dZ;return(n,a,i)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?n:Reflect.get($t(r,a)&&a in n?r:n,a,i)}const vZ={get:wC(!1,!1)},gZ={get:wC(!1,!0)},mZ={get:wC(!0,!1)},c$=new WeakMap,d$=new WeakMap,f$=new WeakMap,yZ=new WeakMap;function _Z(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bZ(e){return e.__v_skip||!Object.isExtensible(e)?0:_Z(by(e))}function qt(e){return Xf(e)?e:EC(e,!1,sZ,vZ,c$)}function SC(e){return EC(e,!1,uZ,gZ,d$)}function Lp(e){return EC(e,!0,lZ,mZ,f$)}function EC(e,t,r,n,a){if(!St(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=a.get(e);if(i)return i;const o=bZ(e);if(o===0)return e;const s=new Proxy(e,o===2?n:r);return a.set(e,s),s}function Lf(e){return Xf(e)?Lf(e.__v_raw):!!(e&&e.__v_isReactive)}function Xf(e){return!!(e&&e.__v_isReadonly)}function S1(e){return!!(e&&e.__v_isShallow)}function p$(e){return Lf(e)||Xf(e)}function jt(e){const t=e&&e.__v_raw;return t?jt(t):e}function Pc(e){return b1(e,"__v_skip",!0),e}const Hv=e=>St(e)?qt(e):e,CC=e=>St(e)?Lp(e):e;function h$(e){Hl&&Xi&&(e=jt(e),o$(e.dep||(e.dep=yC())))}function TC(e,t){e=jt(e);const r=e.dep;r&&K4(r)}function cr(e){return!!(e&&e.__v_isRef===!0)}function U(e){return v$(e,!1)}function or(e){return v$(e,!0)}function v$(e,t){return cr(e)?e:new wZ(e,t)}class wZ{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:jt(t),this._value=r?t:Hv(t)}get value(){return h$(this),this._value}set value(t){const r=this.__v_isShallow||S1(t)||Xf(t);t=r?t:jt(t),nd(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:Hv(t),TC(this))}}function rh(e){TC(e)}function b(e){return cr(e)?e.value:e}const SZ={get:(e,t,r)=>b(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const a=e[t];return cr(a)&&!cr(r)?(a.value=r,!0):Reflect.set(e,t,r,n)}};function g$(e){return Lf(e)?e:new Proxy(e,SZ)}function pn(e){const t=He(e)?new Array(e.length):{};for(const r in e)t[r]=m$(e,r);return t}class EZ{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return rZ(jt(this._object),this._key)}}class CZ{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xr(e,t,r){return cr(e)?e:it(e)?new CZ(e):St(e)&&arguments.length>1?m$(e,t,r):U(e)}function m$(e,t,r){const n=e[t];return cr(n)?n:new EZ(e,t,r)}class TZ{constructor(t,r,n,a){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new _C(t,()=>{this._dirty||(this._dirty=!0,TC(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=n}get value(){const t=jt(this);return h$(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function y$(e,t,r=!1){let n,a;const i=it(e);return i?(n=e,a=nr):(n=e.get,a=e.set),new TZ(n,a,i||!a,r)}function xZ(e,...t){}function Ul(e,t,r,n){let a;try{a=n?e(...n):e()}catch(i){t_(i,t,r)}return a}function Ei(e,t,r,n){if(it(e)){const i=Ul(e,t,r,n);return i&&Vv(i)&&i.catch(o=>{t_(o,t,r)}),i}const a=[];for(let i=0;i<e.length;i++)a.push(Ei(e[i],t,r,n));return a}function t_(e,t,r,n=!0){const a=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,s=r;for(;i;){const u=i.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,o,s)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){Ul(l,null,10,[e,o,s]);return}}AZ(e,r,a,n)}function AZ(e,t,r,n=!0){console.error(e)}let Uv=!1,Y4=!1;const Vn=[];let ko=0;const Df=[];let ps=null,cc=0;const _$=Promise.resolve();let xC=null;function Ye(e){const t=xC||_$;return e?t.then(this?e.bind(this):e):t}function kZ(e){let t=ko+1,r=Vn.length;for(;t<r;){const n=t+r>>>1,a=Vn[n],i=Gv(a);i<e||i===e&&a.pre?t=n+1:r=n}return t}function AC(e){(!Vn.length||!Vn.includes(e,Uv&&e.allowRecurse?ko+1:ko))&&(e.id==null?Vn.push(e):Vn.splice(kZ(e.id),0,e),b$())}function b$(){!Uv&&!Y4&&(Y4=!0,xC=_$.then(S$))}function IZ(e){const t=Vn.indexOf(e);t>ko&&Vn.splice(t,1)}function RZ(e){He(e)?Df.push(...e):(!ps||!ps.includes(e,e.allowRecurse?cc+1:cc))&&Df.push(e),b$()}function J8(e,t=Uv?ko+1:0){for(;t<Vn.length;t++){const r=Vn[t];r&&r.pre&&(Vn.splice(t,1),t--,r())}}function w$(e){if(Df.length){const t=[...new Set(Df)];if(Df.length=0,ps){ps.push(...t);return}for(ps=t,ps.sort((r,n)=>Gv(r)-Gv(n)),cc=0;cc<ps.length;cc++)ps[cc]();ps=null,cc=0}}const Gv=e=>e.id==null?1/0:e.id,MZ=(e,t)=>{const r=Gv(e)-Gv(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function S$(e){Y4=!1,Uv=!0,Vn.sort(MZ);const t=nr;try{for(ko=0;ko<Vn.length;ko++){const r=Vn[ko];r&&r.active!==!1&&Ul(r,null,14)}}finally{ko=0,Vn.length=0,w$(),Uv=!1,xC=null,(Vn.length||Df.length)&&S$()}}function LZ(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||Dr;let a=r;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in n){const c=`${o==="modelValue"?"model":o}Modifiers`,{number:d,trim:f}=n[c]||Dr;f&&(a=r.map(p=>ut(p)?p.trim():p)),d&&(a=r.map(H4))}let s,l=n[s=Sy(t)]||n[s=Sy(xi(t))];!l&&i&&(l=n[s=Sy(vu(t))]),l&&Ei(l,e,6,a);const u=n[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Ei(u,e,6,a)}}function E$(e,t,r=!1){const n=t.emitsCache,a=n.get(e);if(a!==void 0)return a;const i=e.emits;let o={},s=!1;if(!it(e)){const l=u=>{const c=E$(u,t,!0);c&&(s=!0,un(o,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(St(e)&&n.set(e,null),null):(He(i)?i.forEach(l=>o[l]=null):un(o,i),St(e)&&n.set(e,o),o)}function r_(e,t){return!e||!Z2(t)?!1:(t=t.slice(2).replace(/Once$/,""),$t(e,t[0].toLowerCase()+t.slice(1))||$t(e,vu(t))||$t(e,t))}let In=null,n_=null;function E1(e){const t=In;return In=e,n_=e&&e.type.__scopeId||null,t}function lEt(e){n_=e}function uEt(){n_=null}function oe(e,t=In,r){if(!t||e._n)return e;const n=(...a)=>{n._d&&fk(-1);const i=E1(t);let o;try{o=e(...a)}finally{E1(i),n._d&&fk(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function kb(e){const{type:t,vnode:r,proxy:n,withProxy:a,props:i,propsOptions:[o],slots:s,attrs:l,emit:u,render:c,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:v}=e;let g,m;const y=E1(e);try{if(r.shapeFlag&4){const w=a||n;g=Ao(c.call(w,w,d,i,p,f,h)),m=l}else{const w=t;g=Ao(w.length>1?w(i,{attrs:l,slots:s,emit:u}):w(i,null)),m=t.props?l:DZ(l)}}catch(w){cv.length=0,t_(w,e,1),g=Q(aa)}let _=g;if(m&&v!==!1){const w=Object.keys(m),{shapeFlag:E}=_;w.length&&E&7&&(o&&w.some(vC)&&(m=OZ(m,o)),_=Ls(_,m))}return r.dirs&&(_=Ls(_),_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),g=_,E1(y),g}const DZ=e=>{let t;for(const r in e)(r==="class"||r==="style"||Z2(r))&&((t||(t={}))[r]=e[r]);return t},OZ=(e,t)=>{const r={};for(const n in e)(!vC(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function NZ(e,t,r){const{props:n,children:a,component:i}=e,{props:o,children:s,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?ek(n,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const f=c[d];if(o[f]!==n[f]&&!r_(u,f))return!0}}}else return(a||s)&&(!s||!s.$stable)?!0:n===o?!1:n?o?ek(n,o,u):!0:!!o;return!1}function ek(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let a=0;a<n.length;a++){const i=n[a];if(t[i]!==e[i]&&!r_(r,i))return!0}return!1}function PZ({vnode:e,parent:t},r){for(;t&&t.subTree===e;)(e=t.vnode).el=r,t=t.parent}const $Z=e=>e.__isSuspense;function BZ(e,t){t&&t.pendingBranch?He(e)?t.effects.push(...e):t.effects.push(e):RZ(e)}function qa(e,t){return kC(e,null,t)}const jm={};function Te(e,t,r){return kC(e,t,r)}function kC(e,t,{immediate:r,deep:n,flush:a,onTrack:i,onTrigger:o}=Dr){var s;const l=t$()===((s=bn)==null?void 0:s.scope)?bn:null;let u,c=!1,d=!1;if(cr(e)?(u=()=>e.value,c=S1(e)):Lf(e)?(u=()=>e,n=!0):He(e)?(d=!0,c=e.some(w=>Lf(w)||S1(w)),u=()=>e.map(w=>{if(cr(w))return w.value;if(Lf(w))return _c(w);if(it(w))return Ul(w,l,2)})):it(e)?t?u=()=>Ul(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return f&&f(),Ei(e,l,3,[p])}:u=nr,t&&n){const w=u;u=()=>_c(w())}let f,p=w=>{f=y.onStop=()=>{Ul(w,l,4)}},h;if(jv)if(p=nr,t?r&&Ei(t,l,3,[u(),d?[]:void 0,p]):u(),a==="sync"){const w=kQ();h=w.__watcherHandles||(w.__watcherHandles=[])}else return nr;let v=d?new Array(e.length).fill(jm):jm;const g=()=>{if(y.active)if(t){const w=y.run();(n||c||(d?w.some((E,S)=>nd(E,v[S])):nd(w,v)))&&(f&&f(),Ei(t,l,3,[w,v===jm?void 0:d&&v[0]===jm?[]:v,p]),v=w)}else y.run()};g.allowRecurse=!!t;let m;a==="sync"?m=g:a==="post"?m=()=>ya(g,l&&l.suspense):(g.pre=!0,l&&(g.id=l.uid),m=()=>AC(g));const y=new _C(u,m);t?r?g():v=y.run():a==="post"?ya(y.run.bind(y),l&&l.suspense):y.run();const _=()=>{y.stop(),l&&l.scope&&gC(l.scope.effects,y)};return h&&h.push(_),_}function FZ(e,t,r){const n=this.proxy,a=ut(e)?e.includes(".")?C$(n,e):()=>n[e]:e.bind(n,n);let i;it(t)?i=t:(i=t.handler,r=t);const o=bn;Zf(this);const s=kC(a,i.bind(n),r);return o?Zf(o):$c(),s}function C$(e,t){const r=t.split(".");return()=>{let n=e;for(let a=0;a<r.length&&n;a++)n=n[r[a]];return n}}function _c(e,t){if(!St(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),cr(e))_c(e.value,t);else if(He(e))for(let r=0;r<e.length;r++)_c(e[r],t);else if(Q2(e)||Mf(e))e.forEach(r=>{_c(r,t)});else if(_1(e))for(const r in e)_c(e[r],t);return e}function ct(e,t){const r=In;if(r===null)return e;const n=u_(r)||r.proxy,a=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,s,l,u=Dr]=t[i];o&&(it(o)&&(o={mounted:o,updated:o}),o.deep&&_c(s),a.push({dir:o,instance:n,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function Cu(e,t,r,n){const a=e.dirs,i=t&&t.dirs;for(let o=0;o<a.length;o++){const s=a[o];i&&(s.oldValue=i[o].value);let l=s.dir[n];l&&(Rp(),Ei(l,r,8,[e.el,s,e,t]),Mp())}}const wl=Symbol("_leaveCb"),Xm=Symbol("_enterCb");function T$(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return gt(()=>{e.isMounted=!0}),vr(()=>{e.isUnmounting=!0}),e}const ti=[Function,Array],x$={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ti,onEnter:ti,onAfterEnter:ti,onEnterCancelled:ti,onBeforeLeave:ti,onLeave:ti,onAfterLeave:ti,onLeaveCancelled:ti,onBeforeAppear:ti,onAppear:ti,onAfterAppear:ti,onAppearCancelled:ti},zZ={name:"BaseTransition",props:x$,setup(e,{slots:t}){const r=mt(),n=T$();let a;return()=>{const i=t.default&&IC(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const v of i)if(v.type!==aa){o=v;break}}const s=jt(e),{mode:l}=s;if(n.isLeaving)return Ib(o);const u=tk(o);if(!u)return Ib(o);const c=Wv(u,s,n,r);Kv(u,c);const d=r.subTree,f=d&&tk(d);let p=!1;const{getTransitionKey:h}=u.type;if(h){const v=h();a===void 0?a=v:v!==a&&(a=v,p=!0)}if(f&&f.type!==aa&&(!dc(u,f)||p)){const v=Wv(f,s,n,r);if(Kv(f,v),l==="out-in")return n.isLeaving=!0,v.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&r.update()},Ib(o);l==="in-out"&&u.type!==aa&&(v.delayLeave=(g,m,y)=>{const _=A$(n,f);_[String(f.key)]=f,g[wl]=()=>{m(),g[wl]=void 0,delete c.delayedLeave},c.delayedLeave=y})}return o}}},VZ=zZ;function A$(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Wv(e,t,r,n){const{appear:a,mode:i,persisted:o=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:v,onAppear:g,onAfterAppear:m,onAppearCancelled:y}=t,_=String(e.key),w=A$(r,e),E=(T,x)=>{T&&Ei(T,n,9,x)},S=(T,x)=>{const A=x[1];E(T,x),He(T)?T.every(k=>k.length<=1)&&A():T.length<=1&&A()},C={mode:i,persisted:o,beforeEnter(T){let x=s;if(!r.isMounted)if(a)x=v||s;else return;T[wl]&&T[wl](!0);const A=w[_];A&&dc(e,A)&&A.el[wl]&&A.el[wl](),E(x,[T])},enter(T){let x=l,A=u,k=c;if(!r.isMounted)if(a)x=g||l,A=m||u,k=y||c;else return;let R=!1;const M=T[Xm]=O=>{R||(R=!0,O?E(k,[T]):E(A,[T]),C.delayedLeave&&C.delayedLeave(),T[Xm]=void 0)};x?S(x,[T,M]):M()},leave(T,x){const A=String(e.key);if(T[Xm]&&T[Xm](!0),r.isUnmounting)return x();E(d,[T]);let k=!1;const R=T[wl]=M=>{k||(k=!0,x(),M?E(h,[T]):E(p,[T]),T[wl]=void 0,w[A]===e&&delete w[A])};w[A]=e,f?S(f,[T,R]):R()},clone(T){return Wv(T,t,r,n)}};return C}function Ib(e){if(a_(e))return e=Ls(e),e.children=null,e}function tk(e){return a_(e)?e.children?e.children[0]:void 0:e}function Kv(e,t){e.shapeFlag&6&&e.component?Kv(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function IC(e,t=!1,r){let n=[],a=0;for(let i=0;i<e.length;i++){let o=e[i];const s=r==null?o.key:String(r)+String(o.key!=null?o.key:i);o.type===je?(o.patchFlag&128&&a++,n=n.concat(IC(o.children,t,s))):(t||o.type!==aa)&&n.push(s!=null?Ls(o,{key:s}):o)}if(a>1)for(let i=0;i<n.length;i++)n[i].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function te(e,t){return it(e)?(()=>un({name:e.name},t,{setup:e}))():e}const sv=e=>!!e.type.__asyncLoader,a_=e=>e.type.__isKeepAlive;function HZ(e,t){I$(e,"a",t)}function k$(e,t){I$(e,"da",t)}function I$(e,t,r=bn){const n=e.__wdc||(e.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(i_(t,n,r),r){let a=r.parent;for(;a&&a.parent;)a_(a.parent.vnode)&&UZ(n,t,r,a),a=a.parent}}function UZ(e,t,r,n){const a=i_(t,e,n,!0);gu(()=>{gC(n[t],a)},r)}function i_(e,t,r=bn,n=!1){if(r){const a=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(r.isUnmounted)return;Rp(),Zf(r);const s=Ei(t,r,e,o);return $c(),Mp(),s});return n?a.unshift(i):a.push(i),i}}const Ws=e=>(t,r=bn)=>(!jv||e==="sp")&&i_(e,(...n)=>t(...n),r),o_=Ws("bm"),gt=Ws("m"),R$=Ws("bu"),Ks=Ws("u"),vr=Ws("bum"),gu=Ws("um"),GZ=Ws("sp"),WZ=Ws("rtg"),KZ=Ws("rtc");function YZ(e,t=bn){i_("ec",e,t)}const RC="components",qZ="directives";function pt(e,t){return MC(RC,e,!0,t)||e}const M$=Symbol.for("v-ndc");function xt(e){return ut(e)?MC(RC,e,!1)||e:e||M$}function Yv(e){return MC(qZ,e)}function MC(e,t,r=!0,n=!1){const a=In||bn;if(a){const i=a.type;if(e===RC){const s=TQ(i,!1);if(s&&(s===t||s===xi(t)||s===nm(xi(t))))return i}const o=rk(a[e]||i[e],t)||rk(a.appContext[e],t);return!o&&n?i:o}}function rk(e,t){return e&&(e[t]||e[xi(t)]||e[nm(xi(t))])}function Ot(e,t,r,n){let a;const i=r&&r[n];if(He(e)||ut(e)){a=new Array(e.length);for(let o=0,s=e.length;o<s;o++)a[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){a=new Array(e);for(let o=0;o<e;o++)a[o]=t(o+1,o,void 0,i&&i[o])}else if(St(e))if(e[Symbol.iterator])a=Array.from(e,(o,s)=>t(o,s,void 0,i&&i[s]));else{const o=Object.keys(e);a=new Array(o.length);for(let s=0,l=o.length;s<l;s++){const u=o[s];a[s]=t(e[u],u,s,i&&i[s])}}else a=[];return r&&(r[n]=a),a}function Ms(e,t){for(let r=0;r<t.length;r++){const n=t[r];if(He(n))for(let a=0;a<n.length;a++)e[n[a].name]=n[a].fn;else n&&(e[n.name]=n.key?(...a)=>{const i=n.fn(...a);return i&&(i.key=n.key),i}:n.fn)}return e}function Se(e,t,r={},n,a){if(In.isCE||In.parent&&sv(In.parent)&&In.parent.isCE)return t!=="default"&&(r.name=t),Q("slot",r,n&&n());let i=e[t];i&&i._c&&(i._d=!1),I();const o=i&&L$(i(r)),s=pe(je,{key:r.key||o&&o.key||`_${t}`},o||(n?n():[]),o&&e._===1?64:-2);return!a&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function L$(e){return e.some(t=>Sr(t)?!(t.type===aa||t.type===je&&!L$(t.children)):!0)?e:null}function jZ(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:Sy(n)]=e[n];return r}const q4=e=>e?G$(e)?u_(e)||e.proxy:q4(e.parent):null,lv=un(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>q4(e.parent),$root:e=>q4(e.root),$emit:e=>e.emit,$options:e=>LC(e),$forceUpdate:e=>e.f||(e.f=()=>AC(e.update)),$nextTick:e=>e.n||(e.n=Ye.bind(e.proxy)),$watch:e=>FZ.bind(e)}),Rb=(e,t)=>e!==Dr&&!e.__isScriptSetup&&$t(e,t),XZ={get({_:e},t){const{ctx:r,setupState:n,data:a,props:i,accessCache:o,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return n[t];case 2:return a[t];case 4:return r[t];case 3:return i[t]}else{if(Rb(n,t))return o[t]=1,n[t];if(a!==Dr&&$t(a,t))return o[t]=2,a[t];if((u=e.propsOptions[0])&&$t(u,t))return o[t]=3,i[t];if(r!==Dr&&$t(r,t))return o[t]=4,r[t];j4&&(o[t]=0)}}const c=lv[t];let d,f;if(c)return t==="$attrs"&&La(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(r!==Dr&&$t(r,t))return o[t]=4,r[t];if(f=l.config.globalProperties,$t(f,t))return f[t]},set({_:e},t,r){const{data:n,setupState:a,ctx:i}=e;return Rb(a,t)?(a[t]=r,!0):n!==Dr&&$t(n,t)?(n[t]=r,!0):$t(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:a,propsOptions:i}},o){let s;return!!r[o]||e!==Dr&&$t(e,o)||Rb(t,o)||(s=i[0])&&$t(s,o)||$t(n,o)||$t(lv,o)||$t(a.config.globalProperties,o)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:$t(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function Cn(){return D$().slots}function bd(){return D$().attrs}function D$(){const e=mt();return e.setupContext||(e.setupContext=K$(e))}function nk(e){return He(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let j4=!0;function ZZ(e){const t=LC(e),r=e.proxy,n=e.ctx;j4=!1,t.beforeCreate&&ak(t.beforeCreate,e,"bc");const{data:a,computed:i,methods:o,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:v,deactivated:g,beforeDestroy:m,beforeUnmount:y,destroyed:_,unmounted:w,render:E,renderTracked:S,renderTriggered:C,errorCaptured:T,serverPrefetch:x,expose:A,inheritAttrs:k,components:R,directives:M,filters:O}=t;if(u&&QZ(u,n,null),o)for(const P in o){const F=o[P];it(F)&&(n[P]=F.bind(r))}if(a){const P=a.call(r,r);St(P)&&(e.data=qt(P))}if(j4=!0,i)for(const P in i){const F=i[P],D=it(F)?F.bind(r,r):it(F.get)?F.get.bind(r,r):nr,H=!it(F)&&it(F.set)?F.set.bind(r):nr,K=L({get:D,set:H});Object.defineProperty(n,P,{enumerable:!0,configurable:!0,get:()=>K.value,set:Y=>K.value=Y})}if(s)for(const P in s)O$(s[P],n,r,P);if(l){const P=it(l)?l.call(r):l;Reflect.ownKeys(P).forEach(F=>{It(F,P[F])})}c&&ak(c,e,"c");function B(P,F){He(F)?F.forEach(D=>P(D.bind(r))):F&&P(F.bind(r))}if(B(o_,d),B(gt,f),B(R$,p),B(Ks,h),B(HZ,v),B(k$,g),B(YZ,T),B(KZ,S),B(WZ,C),B(vr,y),B(gu,w),B(GZ,x),He(A))if(A.length){const P=e.exposed||(e.exposed={});A.forEach(F=>{Object.defineProperty(P,F,{get:()=>r[F],set:D=>r[F]=D})})}else e.exposed||(e.exposed={});E&&e.render===nr&&(e.render=E),k!=null&&(e.inheritAttrs=k),R&&(e.components=R),M&&(e.directives=M)}function QZ(e,t,r=nr){He(e)&&(e=X4(e));for(const n in e){const a=e[n];let i;St(a)?"default"in a?i=Ue(a.from||n,a.default,!0):i=Ue(a.from||n):i=Ue(a),cr(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function ak(e,t,r){Ei(He(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function O$(e,t,r,n){const a=n.includes(".")?C$(r,n):()=>r[n];if(ut(e)){const i=t[e];it(i)&&Te(a,i)}else if(it(e))Te(a,e.bind(r));else if(St(e))if(He(e))e.forEach(i=>O$(i,t,r,n));else{const i=it(e.handler)?e.handler.bind(r):t[e.handler];it(i)&&Te(a,i,e)}}function LC(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,s=i.get(t);let l;return s?l=s:!a.length&&!r&&!n?l=t:(l={},a.length&&a.forEach(u=>C1(l,u,o,!0)),C1(l,t,o)),St(t)&&i.set(t,l),l}function C1(e,t,r,n=!1){const{mixins:a,extends:i}=t;i&&C1(e,i,r,!0),a&&a.forEach(o=>C1(e,o,r,!0));for(const o in t)if(!(n&&o==="expose")){const s=JZ[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}const JZ={data:ik,props:ok,emits:ok,methods:Uh,computed:Uh,beforeCreate:Qn,created:Qn,beforeMount:Qn,mounted:Qn,beforeUpdate:Qn,updated:Qn,beforeDestroy:Qn,beforeUnmount:Qn,destroyed:Qn,unmounted:Qn,activated:Qn,deactivated:Qn,errorCaptured:Qn,serverPrefetch:Qn,components:Uh,directives:Uh,watch:tQ,provide:ik,inject:eQ};function ik(e,t){return t?e?function(){return un(it(e)?e.call(this,this):e,it(t)?t.call(this,this):t)}:t:e}function eQ(e,t){return Uh(X4(e),X4(t))}function X4(e){if(He(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function Qn(e,t){return e?[...new Set([].concat(e,t))]:t}function Uh(e,t){return e?un(Object.create(null),e,t):t}function ok(e,t){return e?He(e)&&He(t)?[...new Set([...e,...t])]:un(Object.create(null),nk(e),nk(t??{})):t}function tQ(e,t){if(!e)return t;if(!t)return e;const r=un(Object.create(null),e);for(const n in t)r[n]=Qn(e[n],t[n]);return r}function N$(){return{app:null,config:{isNativeTag:FX,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let rQ=0;function nQ(e,t){return function(n,a=null){it(n)||(n=un({},n)),a!=null&&!St(a)&&(a=null);const i=N$(),o=new WeakSet;let s=!1;const l=i.app={_uid:rQ++,_component:n,_props:a,_container:null,_context:i,_instance:null,version:IQ,get config(){return i.config},set config(u){},use(u,...c){return o.has(u)||(u&&it(u.install)?(o.add(u),u.install(l,...c)):it(u)&&(o.add(u),u(l,...c))),l},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),l},component(u,c){return c?(i.components[u]=c,l):i.components[u]},directive(u,c){return c?(i.directives[u]=c,l):i.directives[u]},mount(u,c,d){if(!s){const f=Q(n,a);return f.appContext=i,c&&t?t(f,u):e(f,u,d),s=!0,l._container=u,u.__vue_app__=l,u_(f.component)||f.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return i.provides[u]=c,l},runWithContext(u){T1=l;try{return u()}finally{T1=null}}};return l}}let T1=null;function It(e,t){if(bn){let r=bn.provides;const n=bn.parent&&bn.parent.provides;n===r&&(r=bn.provides=Object.create(n)),r[e]=t}}function Ue(e,t,r=!1){const n=bn||In;if(n||T1){const a=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:T1._context.provides;if(a&&e in a)return a[e];if(arguments.length>1)return r&&it(t)?t.call(n&&n.proxy):t}}function aQ(e,t,r,n=!1){const a={},i={};b1(i,s_,1),e.propsDefaults=Object.create(null),P$(e,t,a,i);for(const o in e.propsOptions[0])o in a||(a[o]=void 0);r?e.props=n?a:SC(a):e.type.props?e.props=a:e.props=i,e.attrs=i}function iQ(e,t,r,n){const{props:a,attrs:i,vnode:{patchFlag:o}}=e,s=jt(a),[l]=e.propsOptions;let u=!1;if((n||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let f=c[d];if(r_(e.emitsOptions,f))continue;const p=t[f];if(l)if($t(i,f))p!==i[f]&&(i[f]=p,u=!0);else{const h=xi(f);a[h]=Z4(l,s,h,p,e,!1)}else p!==i[f]&&(i[f]=p,u=!0)}}}else{P$(e,t,a,i)&&(u=!0);let c;for(const d in s)(!t||!$t(t,d)&&((c=vu(d))===d||!$t(t,c)))&&(l?r&&(r[d]!==void 0||r[c]!==void 0)&&(a[d]=Z4(l,s,d,void 0,e,!0)):delete a[d]);if(i!==s)for(const d in i)(!t||!$t(t,d))&&(delete i[d],u=!0)}u&&Es(e,"set","$attrs")}function P$(e,t,r,n){const[a,i]=e.propsOptions;let o=!1,s;if(t)for(let l in t){if(wy(l))continue;const u=t[l];let c;a&&$t(a,c=xi(l))?!i||!i.includes(c)?r[c]=u:(s||(s={}))[c]=u:r_(e.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,o=!0)}if(i){const l=jt(r),u=s||Dr;for(let c=0;c<i.length;c++){const d=i[c];r[d]=Z4(a,l,d,u[d],e,!$t(u,d))}}return o}function Z4(e,t,r,n,a,i){const o=e[r];if(o!=null){const s=$t(o,"default");if(s&&n===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&it(l)){const{propsDefaults:u}=a;r in u?n=u[r]:(Zf(a),n=u[r]=l.call(null,t),$c())}else n=l}o[0]&&(i&&!s?n=!1:o[1]&&(n===""||n===vu(r))&&(n=!0))}return n}function $$(e,t,r=!1){const n=t.propsCache,a=n.get(e);if(a)return a;const i=e.props,o={},s=[];let l=!1;if(!it(e)){const c=d=>{l=!0;const[f,p]=$$(d,t,!0);un(o,f),p&&s.push(...p)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return St(e)&&n.set(e,Rf),Rf;if(He(i))for(let c=0;c<i.length;c++){const d=xi(i[c]);sk(d)&&(o[d]=Dr)}else if(i)for(const c in i){const d=xi(c);if(sk(d)){const f=i[c],p=o[d]=He(f)||it(f)?{type:f}:un({},f);if(p){const h=ck(Boolean,p.type),v=ck(String,p.type);p[0]=h>-1,p[1]=v<0||h<v,(h>-1||$t(p,"default"))&&s.push(d)}}}const u=[o,s];return St(e)&&n.set(e,u),u}function sk(e){return e[0]!=="$"}function lk(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function uk(e,t){return lk(e)===lk(t)}function ck(e,t){return He(t)?t.findIndex(r=>uk(r,e)):it(t)&&uk(t,e)?0:-1}const B$=e=>e[0]==="_"||e==="$stable",DC=e=>He(e)?e.map(Ao):[Ao(e)],oQ=(e,t,r)=>{if(t._n)return t;const n=oe((...a)=>DC(t(...a)),r);return n._c=!1,n},F$=(e,t,r)=>{const n=e._ctx;for(const a in e){if(B$(a))continue;const i=e[a];if(it(i))t[a]=oQ(a,i,n);else if(i!=null){const o=DC(i);t[a]=()=>o}}},z$=(e,t)=>{const r=DC(t);e.slots.default=()=>r},sQ=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=jt(t),b1(t,"_",r)):F$(t,e.slots={})}else e.slots={},t&&z$(e,t);b1(e.slots,s_,1)},lQ=(e,t,r)=>{const{vnode:n,slots:a}=e;let i=!0,o=Dr;if(n.shapeFlag&32){const s=t._;s?r&&s===1?i=!1:(un(a,t),!r&&s===1&&delete a._):(i=!t.$stable,F$(t,a)),o=t}else t&&(z$(e,t),o={default:1});if(i)for(const s in a)!B$(s)&&o[s]==null&&delete a[s]};function Q4(e,t,r,n,a=!1){if(He(e)){e.forEach((f,p)=>Q4(f,t&&(He(t)?t[p]:t),r,n,a));return}if(sv(n)&&!a)return;const i=n.shapeFlag&4?u_(n.component)||n.component.proxy:n.el,o=a?null:i,{i:s,r:l}=e,u=t&&t.r,c=s.refs===Dr?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(ut(u)?(c[u]=null,$t(d,u)&&(d[u]=null)):cr(u)&&(u.value=null)),it(l))Ul(l,s,12,[o,c]);else{const f=ut(l),p=cr(l);if(f||p){const h=()=>{if(e.f){const v=f?$t(d,l)?d[l]:c[l]:l.value;a?He(v)&&gC(v,i):He(v)?v.includes(i)||v.push(i):f?(c[l]=[i],$t(d,l)&&(d[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else f?(c[l]=o,$t(d,l)&&(d[l]=o)):p&&(l.value=o,e.k&&(c[e.k]=o))};o?(h.id=-1,ya(h,r)):h()}}}const ya=BZ;function uQ(e){return cQ(e)}function cQ(e,t){const r=U4();r.__VUE__=!0;const{insert:n,remove:a,patchProp:i,createElement:o,createText:s,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:p=nr,insertStaticContent:h}=e,v=(W,Z,ie,me=null,be=null,ge=null,Re=!1,Ce=null,Ee=!!Z.dynamicChildren)=>{if(W===Z)return;W&&!dc(W,Z)&&(me=q(W),Y(W,be,ge,!0),W=null),Z.patchFlag===-2&&(Ee=!1,Z.dynamicChildren=null);const{type:xe,ref:$e,shapeFlag:Fe}=Z;switch(xe){case Dp:g(W,Z,ie,me);break;case aa:m(W,Z,ie,me);break;case Cy:W==null&&y(Z,ie,me,Re);break;case je:R(W,Z,ie,me,be,ge,Re,Ce,Ee);break;default:Fe&1?E(W,Z,ie,me,be,ge,Re,Ce,Ee):Fe&6?M(W,Z,ie,me,be,ge,Re,Ce,Ee):(Fe&64||Fe&128)&&xe.process(W,Z,ie,me,be,ge,Re,Ce,Ee,ae)}$e!=null&&be&&Q4($e,W&&W.ref,ge,Z||W,!Z)},g=(W,Z,ie,me)=>{if(W==null)n(Z.el=s(Z.children),ie,me);else{const be=Z.el=W.el;Z.children!==W.children&&u(be,Z.children)}},m=(W,Z,ie,me)=>{W==null?n(Z.el=l(Z.children||""),ie,me):Z.el=W.el},y=(W,Z,ie,me)=>{[W.el,W.anchor]=h(W.children,Z,ie,me,W.el,W.anchor)},_=({el:W,anchor:Z},ie,me)=>{let be;for(;W&&W!==Z;)be=f(W),n(W,ie,me),W=be;n(Z,ie,me)},w=({el:W,anchor:Z})=>{let ie;for(;W&&W!==Z;)ie=f(W),a(W),W=ie;a(Z)},E=(W,Z,ie,me,be,ge,Re,Ce,Ee)=>{Re=Re||Z.type==="svg",W==null?S(Z,ie,me,be,ge,Re,Ce,Ee):x(W,Z,be,ge,Re,Ce,Ee)},S=(W,Z,ie,me,be,ge,Re,Ce)=>{let Ee,xe;const{type:$e,props:Fe,shapeFlag:Ge,transition:Ie,dirs:We}=W;if(Ee=W.el=o(W.type,ge,Fe&&Fe.is,Fe),Ge&8?c(Ee,W.children):Ge&16&&T(W.children,Ee,null,me,be,ge&&$e!=="foreignObject",Re,Ce),We&&Cu(W,null,me,"created"),C(Ee,W,W.scopeId,Re,me),Fe){for(const dt in Fe)dt!=="value"&&!wy(dt)&&i(Ee,dt,null,Fe[dt],ge,W.children,me,be,se);"value"in Fe&&i(Ee,"value",null,Fe.value),(xe=Fe.onVnodeBeforeMount)&&yo(xe,me,W)}We&&Cu(W,null,me,"beforeMount");const ot=dQ(be,Ie);ot&&Ie.beforeEnter(Ee),n(Ee,Z,ie),((xe=Fe&&Fe.onVnodeMounted)||ot||We)&&ya(()=>{xe&&yo(xe,me,W),ot&&Ie.enter(Ee),We&&Cu(W,null,me,"mounted")},be)},C=(W,Z,ie,me,be)=>{if(ie&&p(W,ie),me)for(let ge=0;ge<me.length;ge++)p(W,me[ge]);if(be){let ge=be.subTree;if(Z===ge){const Re=be.vnode;C(W,Re,Re.scopeId,Re.slotScopeIds,be.parent)}}},T=(W,Z,ie,me,be,ge,Re,Ce,Ee=0)=>{for(let xe=Ee;xe<W.length;xe++){const $e=W[xe]=Ce?Sl(W[xe]):Ao(W[xe]);v(null,$e,Z,ie,me,be,ge,Re,Ce)}},x=(W,Z,ie,me,be,ge,Re)=>{const Ce=Z.el=W.el;let{patchFlag:Ee,dynamicChildren:xe,dirs:$e}=Z;Ee|=W.patchFlag&16;const Fe=W.props||Dr,Ge=Z.props||Dr;let Ie;ie&&Tu(ie,!1),(Ie=Ge.onVnodeBeforeUpdate)&&yo(Ie,ie,Z,W),$e&&Cu(Z,W,ie,"beforeUpdate"),ie&&Tu(ie,!0);const We=be&&Z.type!=="foreignObject";if(xe?A(W.dynamicChildren,xe,Ce,ie,me,We,ge):Re||F(W,Z,Ce,null,ie,me,We,ge,!1),Ee>0){if(Ee&16)k(Ce,Z,Fe,Ge,ie,me,be);else if(Ee&2&&Fe.class!==Ge.class&&i(Ce,"class",null,Ge.class,be),Ee&4&&i(Ce,"style",Fe.style,Ge.style,be),Ee&8){const ot=Z.dynamicProps;for(let dt=0;dt<ot.length;dt++){const At=ot[dt],Je=Fe[At],_e=Ge[At];(_e!==Je||At==="value")&&i(Ce,At,Je,_e,be,W.children,ie,me,se)}}Ee&1&&W.children!==Z.children&&c(Ce,Z.children)}else!Re&&xe==null&&k(Ce,Z,Fe,Ge,ie,me,be);((Ie=Ge.onVnodeUpdated)||$e)&&ya(()=>{Ie&&yo(Ie,ie,Z,W),$e&&Cu(Z,W,ie,"updated")},me)},A=(W,Z,ie,me,be,ge,Re)=>{for(let Ce=0;Ce<Z.length;Ce++){const Ee=W[Ce],xe=Z[Ce],$e=Ee.el&&(Ee.type===je||!dc(Ee,xe)||Ee.shapeFlag&70)?d(Ee.el):ie;v(Ee,xe,$e,null,me,be,ge,Re,!0)}},k=(W,Z,ie,me,be,ge,Re)=>{if(ie!==me){if(ie!==Dr)for(const Ce in ie)!wy(Ce)&&!(Ce in me)&&i(W,Ce,ie[Ce],null,Re,Z.children,be,ge,se);for(const Ce in me){if(wy(Ce))continue;const Ee=me[Ce],xe=ie[Ce];Ee!==xe&&Ce!=="value"&&i(W,Ce,xe,Ee,Re,Z.children,be,ge,se)}"value"in me&&i(W,"value",ie.value,me.value)}},R=(W,Z,ie,me,be,ge,Re,Ce,Ee)=>{const xe=Z.el=W?W.el:s(""),$e=Z.anchor=W?W.anchor:s("");let{patchFlag:Fe,dynamicChildren:Ge,slotScopeIds:Ie}=Z;Ie&&(Ce=Ce?Ce.concat(Ie):Ie),W==null?(n(xe,ie,me),n($e,ie,me),T(Z.children,ie,$e,be,ge,Re,Ce,Ee)):Fe>0&&Fe&64&&Ge&&W.dynamicChildren?(A(W.dynamicChildren,Ge,ie,be,ge,Re,Ce),(Z.key!=null||be&&Z===be.subTree)&&OC(W,Z,!0)):F(W,Z,ie,$e,be,ge,Re,Ce,Ee)},M=(W,Z,ie,me,be,ge,Re,Ce,Ee)=>{Z.slotScopeIds=Ce,W==null?Z.shapeFlag&512?be.ctx.activate(Z,ie,me,Re,Ee):O(Z,ie,me,be,ge,Re,Ee):z(W,Z,Ee)},O=(W,Z,ie,me,be,ge,Re)=>{const Ce=W.component=wQ(W,me,be);if(a_(W)&&(Ce.ctx.renderer=ae),SQ(Ce),Ce.asyncDep){if(be&&be.registerDep(Ce,B),!W.el){const Ee=Ce.subTree=Q(aa);m(null,Ee,Z,ie)}return}B(Ce,W,Z,ie,be,ge,Re)},z=(W,Z,ie)=>{const me=Z.component=W.component;if(NZ(W,Z,ie))if(me.asyncDep&&!me.asyncResolved){P(me,Z,ie);return}else me.next=Z,IZ(me.update),me.update();else Z.el=W.el,me.vnode=Z},B=(W,Z,ie,me,be,ge,Re)=>{const Ce=()=>{if(W.isMounted){let{next:$e,bu:Fe,u:Ge,parent:Ie,vnode:We}=W,ot=$e,dt;Tu(W,!1),$e?($e.el=We.el,P(W,$e,Re)):$e=We,Fe&&Ey(Fe),(dt=$e.props&&$e.props.onVnodeBeforeUpdate)&&yo(dt,Ie,$e,We),Tu(W,!0);const At=kb(W),Je=W.subTree;W.subTree=At,v(Je,At,d(Je.el),q(Je),W,be,ge),$e.el=At.el,ot===null&&PZ(W,At.el),Ge&&ya(Ge,be),(dt=$e.props&&$e.props.onVnodeUpdated)&&ya(()=>yo(dt,Ie,$e,We),be)}else{let $e;const{el:Fe,props:Ge}=Z,{bm:Ie,m:We,parent:ot}=W,dt=sv(Z);if(Tu(W,!1),Ie&&Ey(Ie),!dt&&($e=Ge&&Ge.onVnodeBeforeMount)&&yo($e,ot,Z),Tu(W,!0),Fe&&le){const At=()=>{W.subTree=kb(W),le(Fe,W.subTree,W,be,null)};dt?Z.type.__asyncLoader().then(()=>!W.isUnmounted&&At()):At()}else{const At=W.subTree=kb(W);v(null,At,ie,me,W,be,ge),Z.el=At.el}if(We&&ya(We,be),!dt&&($e=Ge&&Ge.onVnodeMounted)){const At=Z;ya(()=>yo($e,ot,At),be)}(Z.shapeFlag&256||ot&&sv(ot.vnode)&&ot.vnode.shapeFlag&256)&&W.a&&ya(W.a,be),W.isMounted=!0,Z=ie=me=null}},Ee=W.effect=new _C(Ce,()=>AC(xe),W.scope),xe=W.update=()=>Ee.run();xe.id=W.uid,Tu(W,!0),xe()},P=(W,Z,ie)=>{Z.component=W;const me=W.vnode.props;W.vnode=Z,W.next=null,iQ(W,Z.props,me,ie),lQ(W,Z.children,ie),Rp(),J8(),Mp()},F=(W,Z,ie,me,be,ge,Re,Ce,Ee=!1)=>{const xe=W&&W.children,$e=W?W.shapeFlag:0,Fe=Z.children,{patchFlag:Ge,shapeFlag:Ie}=Z;if(Ge>0){if(Ge&128){H(xe,Fe,ie,me,be,ge,Re,Ce,Ee);return}else if(Ge&256){D(xe,Fe,ie,me,be,ge,Re,Ce,Ee);return}}Ie&8?($e&16&&se(xe,be,ge),Fe!==xe&&c(ie,Fe)):$e&16?Ie&16?H(xe,Fe,ie,me,be,ge,Re,Ce,Ee):se(xe,be,ge,!0):($e&8&&c(ie,""),Ie&16&&T(Fe,ie,me,be,ge,Re,Ce,Ee))},D=(W,Z,ie,me,be,ge,Re,Ce,Ee)=>{W=W||Rf,Z=Z||Rf;const xe=W.length,$e=Z.length,Fe=Math.min(xe,$e);let Ge;for(Ge=0;Ge<Fe;Ge++){const Ie=Z[Ge]=Ee?Sl(Z[Ge]):Ao(Z[Ge]);v(W[Ge],Ie,ie,null,be,ge,Re,Ce,Ee)}xe>$e?se(W,be,ge,!0,!1,Fe):T(Z,ie,me,be,ge,Re,Ce,Ee,Fe)},H=(W,Z,ie,me,be,ge,Re,Ce,Ee)=>{let xe=0;const $e=Z.length;let Fe=W.length-1,Ge=$e-1;for(;xe<=Fe&&xe<=Ge;){const Ie=W[xe],We=Z[xe]=Ee?Sl(Z[xe]):Ao(Z[xe]);if(dc(Ie,We))v(Ie,We,ie,null,be,ge,Re,Ce,Ee);else break;xe++}for(;xe<=Fe&&xe<=Ge;){const Ie=W[Fe],We=Z[Ge]=Ee?Sl(Z[Ge]):Ao(Z[Ge]);if(dc(Ie,We))v(Ie,We,ie,null,be,ge,Re,Ce,Ee);else break;Fe--,Ge--}if(xe>Fe){if(xe<=Ge){const Ie=Ge+1,We=Ie<$e?Z[Ie].el:me;for(;xe<=Ge;)v(null,Z[xe]=Ee?Sl(Z[xe]):Ao(Z[xe]),ie,We,be,ge,Re,Ce,Ee),xe++}}else if(xe>Ge)for(;xe<=Fe;)Y(W[xe],be,ge,!0),xe++;else{const Ie=xe,We=xe,ot=new Map;for(xe=We;xe<=Ge;xe++){const ee=Z[xe]=Ee?Sl(Z[xe]):Ao(Z[xe]);ee.key!=null&&ot.set(ee.key,xe)}let dt,At=0;const Je=Ge-We+1;let _e=!1,he=0;const de=new Array(Je);for(xe=0;xe<Je;xe++)de[xe]=0;for(xe=Ie;xe<=Fe;xe++){const ee=W[xe];if(At>=Je){Y(ee,be,ge,!0);continue}let ze;if(ee.key!=null)ze=ot.get(ee.key);else for(dt=We;dt<=Ge;dt++)if(de[dt-We]===0&&dc(ee,Z[dt])){ze=dt;break}ze===void 0?Y(ee,be,ge,!0):(de[ze-We]=xe+1,ze>=he?he=ze:_e=!0,v(ee,Z[ze],ie,null,be,ge,Re,Ce,Ee),At++)}const Ae=_e?fQ(de):Rf;for(dt=Ae.length-1,xe=Je-1;xe>=0;xe--){const ee=We+xe,ze=Z[ee],st=ee+1<$e?Z[ee+1].el:me;de[xe]===0?v(null,ze,ie,st,be,ge,Re,Ce,Ee):_e&&(dt<0||xe!==Ae[dt]?K(ze,ie,st,2):dt--)}}},K=(W,Z,ie,me,be=null)=>{const{el:ge,type:Re,transition:Ce,children:Ee,shapeFlag:xe}=W;if(xe&6){K(W.component.subTree,Z,ie,me);return}if(xe&128){W.suspense.move(Z,ie,me);return}if(xe&64){Re.move(W,Z,ie,ae);return}if(Re===je){n(ge,Z,ie);for(let Fe=0;Fe<Ee.length;Fe++)K(Ee[Fe],Z,ie,me);n(W.anchor,Z,ie);return}if(Re===Cy){_(W,Z,ie);return}if(me!==2&&xe&1&&Ce)if(me===0)Ce.beforeEnter(ge),n(ge,Z,ie),ya(()=>Ce.enter(ge),be);else{const{leave:Fe,delayLeave:Ge,afterLeave:Ie}=Ce,We=()=>n(ge,Z,ie),ot=()=>{Fe(ge,()=>{We(),Ie&&Ie()})};Ge?Ge(ge,We,ot):ot()}else n(ge,Z,ie)},Y=(W,Z,ie,me=!1,be=!1)=>{const{type:ge,props:Re,ref:Ce,children:Ee,dynamicChildren:xe,shapeFlag:$e,patchFlag:Fe,dirs:Ge}=W;if(Ce!=null&&Q4(Ce,null,ie,W,!0),$e&256){Z.ctx.deactivate(W);return}const Ie=$e&1&&Ge,We=!sv(W);let ot;if(We&&(ot=Re&&Re.onVnodeBeforeUnmount)&&yo(ot,Z,W),$e&6)fe(W.component,ie,me);else{if($e&128){W.suspense.unmount(ie,me);return}Ie&&Cu(W,null,Z,"beforeUnmount"),$e&64?W.type.remove(W,Z,ie,be,ae,me):xe&&(ge!==je||Fe>0&&Fe&64)?se(xe,Z,ie,!1,!0):(ge===je&&Fe&384||!be&&$e&16)&&se(Ee,Z,ie),me&&X(W)}(We&&(ot=Re&&Re.onVnodeUnmounted)||Ie)&&ya(()=>{ot&&yo(ot,Z,W),Ie&&Cu(W,null,Z,"unmounted")},ie)},X=W=>{const{type:Z,el:ie,anchor:me,transition:be}=W;if(Z===je){J(ie,me);return}if(Z===Cy){w(W);return}const ge=()=>{a(ie),be&&!be.persisted&&be.afterLeave&&be.afterLeave()};if(W.shapeFlag&1&&be&&!be.persisted){const{leave:Re,delayLeave:Ce}=be,Ee=()=>Re(ie,ge);Ce?Ce(W.el,ge,Ee):Ee()}else ge()},J=(W,Z)=>{let ie;for(;W!==Z;)ie=f(W),a(W),W=ie;a(Z)},fe=(W,Z,ie)=>{const{bum:me,scope:be,update:ge,subTree:Re,um:Ce}=W;me&&Ey(me),be.stop(),ge&&(ge.active=!1,Y(Re,W,Z,ie)),Ce&&ya(Ce,Z),ya(()=>{W.isUnmounted=!0},Z),Z&&Z.pendingBranch&&!Z.isUnmounted&&W.asyncDep&&!W.asyncResolved&&W.suspenseId===Z.pendingId&&(Z.deps--,Z.deps===0&&Z.resolve())},se=(W,Z,ie,me=!1,be=!1,ge=0)=>{for(let Re=ge;Re<W.length;Re++)Y(W[Re],Z,ie,me,be)},q=W=>W.shapeFlag&6?q(W.component.subTree):W.shapeFlag&128?W.suspense.next():f(W.anchor||W.el),j=(W,Z,ie)=>{W==null?Z._vnode&&Y(Z._vnode,null,null,!0):v(Z._vnode||null,W,Z,null,null,null,ie),J8(),w$(),Z._vnode=W},ae={p:v,um:Y,m:K,r:X,mt:O,mc:T,pc:F,pbc:A,n:q,o:e};let ne,le;return t&&([ne,le]=t(ae)),{render:j,hydrate:ne,createApp:nQ(j,ne)}}function Tu({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function dQ(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function OC(e,t,r=!1){const n=e.children,a=t.children;if(He(n)&&He(a))for(let i=0;i<n.length;i++){const o=n[i];let s=a[i];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=a[i]=Sl(a[i]),s.el=o.el),r||OC(o,s)),s.type===Dp&&(s.el=o.el)}}function fQ(e){const t=e.slice(),r=[0];let n,a,i,o,s;const l=e.length;for(n=0;n<l;n++){const u=e[n];if(u!==0){if(a=r[r.length-1],e[a]<u){t[n]=a,r.push(n);continue}for(i=0,o=r.length-1;i<o;)s=i+o>>1,e[r[s]]<u?i=s+1:o=s;u<e[r[i]]&&(i>0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,o=r[i-1];i-- >0;)r[i]=o,o=t[o];return r}const pQ=e=>e.__isTeleport,uv=e=>e&&(e.disabled||e.disabled===""),dk=e=>typeof SVGElement<"u"&&e instanceof SVGElement,J4=(e,t)=>{const r=e&&e.to;return ut(r)?t?t(r):null:r},hQ={__isTeleport:!0,process(e,t,r,n,a,i,o,s,l,u){const{mc:c,pc:d,pbc:f,o:{insert:p,querySelector:h,createText:v,createComment:g}}=u,m=uv(t.props);let{shapeFlag:y,children:_,dynamicChildren:w}=t;if(e==null){const E=t.el=v(""),S=t.anchor=v("");p(E,r,n),p(S,r,n);const C=t.target=J4(t.props,h),T=t.targetAnchor=v("");C&&(p(T,C),o=o||dk(C));const x=(A,k)=>{y&16&&c(_,A,k,a,i,o,s,l)};m?x(r,S):C&&x(C,T)}else{t.el=e.el;const E=t.anchor=e.anchor,S=t.target=e.target,C=t.targetAnchor=e.targetAnchor,T=uv(e.props),x=T?r:S,A=T?E:C;if(o=o||dk(S),w?(f(e.dynamicChildren,w,x,a,i,o,s),OC(e,t,!0)):l||d(e,t,x,A,a,i,o,s,!1),m)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Zm(t,r,E,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const k=t.target=J4(t.props,h);k&&Zm(t,k,null,u,0)}else T&&Zm(t,S,C,u,1)}V$(t)},remove(e,t,r,n,{um:a,o:{remove:i}},o){const{shapeFlag:s,children:l,anchor:u,targetAnchor:c,target:d,props:f}=e;if(d&&i(c),o&&i(u),s&16){const p=o||!uv(f);for(let h=0;h<l.length;h++){const v=l[h];a(v,t,r,p,!!v.dynamicChildren)}}},move:Zm,hydrate:vQ};function Zm(e,t,r,{o:{insert:n},m:a},i=2){i===0&&n(e.targetAnchor,t,r);const{el:o,anchor:s,shapeFlag:l,children:u,props:c}=e,d=i===2;if(d&&n(o,t,r),(!d||uv(c))&&l&16)for(let f=0;f<u.length;f++)a(u[f],t,r,2);d&&n(s,t,r)}function vQ(e,t,r,n,a,i,{o:{nextSibling:o,parentNode:s,querySelector:l}},u){const c=t.target=J4(t.props,l);if(c){const d=c._lpa||c.firstChild;if(t.shapeFlag&16)if(uv(t.props))t.anchor=u(o(e),t,s(e),r,n,a,i),t.targetAnchor=d;else{t.anchor=o(e);let f=d;for(;f;)if(f=o(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,c._lpa=t.targetAnchor&&o(t.targetAnchor);break}u(d,t,c,r,n,a,i)}V$(t)}return t.anchor&&o(t.anchor)}const am=hQ;function V$(e){const t=e.ctx;if(t&&t.ut){let r=e.children[0].el;for(;r&&r!==e.targetAnchor;)r.nodeType===1&&r.setAttribute("data-v-owner",t.uid),r=r.nextSibling;t.ut()}}const je=Symbol.for("v-fgt"),Dp=Symbol.for("v-txt"),aa=Symbol.for("v-cmt"),Cy=Symbol.for("v-stc"),cv=[];let Qi=null;function I(e=!1){cv.push(Qi=e?null:[])}function gQ(){cv.pop(),Qi=cv[cv.length-1]||null}let qv=1;function fk(e){qv+=e}function H$(e){return e.dynamicChildren=qv>0?Qi||Rf:null,gQ(),qv>0&&Qi&&Qi.push(e),e}function $(e,t,r,n,a,i){return H$(N(e,t,r,n,a,i,!0))}function pe(e,t,r,n,a){return H$(Q(e,t,r,n,a,!0))}function Sr(e){return e?e.__v_isVNode===!0:!1}function dc(e,t){return e.type===t.type&&e.key===t.key}const s_="__vInternal",U$=({key:e})=>e??null,Ty=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?ut(e)||cr(e)||it(e)?{i:In,r:e,k:t,f:!!r}:e:null);function N(e,t=null,r=null,n=0,a=null,i=e===je?0:1,o=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&U$(t),ref:t&&Ty(t),scopeId:n_,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:In};return s?(NC(l,r),i&128&&e.normalize(l)):r&&(l.shapeFlag|=ut(r)?8:16),qv>0&&!o&&Qi&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Qi.push(l),l}const Q=mQ;function mQ(e,t=null,r=null,n=0,a=null,i=!1){if((!e||e===M$)&&(e=aa),Sr(e)){const s=Ls(e,t,!0);return r&&NC(s,r),qv>0&&!i&&Qi&&(s.shapeFlag&6?Qi[Qi.indexOf(e)]=s:Qi.push(s)),s.patchFlag|=-2,s}if(xQ(e)&&(e=e.__vccOpts),t){t=l_(t);let{class:s,style:l}=t;s&&!ut(s)&&(t.class=V(s)),St(l)&&(p$(l)&&!He(l)&&(l=un({},l)),t.style=qe(l))}const o=ut(e)?1:$Z(e)?128:pQ(e)?64:St(e)?4:it(e)?2:0;return N(e,t,r,n,a,o,i,!0)}function l_(e){return e?p$(e)||s_ in e?un({},e):e:null}function Ls(e,t,r=!1){const{props:n,ref:a,patchFlag:i,children:o}=e,s=t?Tt(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&U$(s),ref:t&&t.ref?r&&a?He(a)?a.concat(Ty(t)):[a,Ty(t)]:Ty(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ls(e.ssContent),ssFallback:e.ssFallback&&Ls(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Kt(e=" ",t=0){return Q(Dp,null,e,t)}function yQ(e,t){const r=Q(Cy,null,e);return r.staticCount=t,r}function ue(e="",t=!1){return t?(I(),pe(aa,null,e)):Q(aa,null,e)}function Ao(e){return e==null||typeof e=="boolean"?Q(aa):He(e)?Q(je,null,e.slice()):typeof e=="object"?Sl(e):Q(Dp,null,String(e))}function Sl(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ls(e)}function NC(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(He(t))r=16;else if(typeof t=="object")if(n&65){const a=t.default;a&&(a._c&&(a._d=!1),NC(e,a()),a._c&&(a._d=!0));return}else{r=32;const a=t._;!a&&!(s_ in t)?t._ctx=In:a===3&&In&&(In.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else it(t)?(t={default:t,_ctx:In},r=32):(t=String(t),n&64?(r=16,t=[Kt(t)]):r=8);e.children=t,e.shapeFlag|=r}function Tt(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const a in n)if(a==="class")t.class!==n.class&&(t.class=V([t.class,n.class]));else if(a==="style")t.style=qe([t.style,n.style]);else if(Z2(a)){const i=t[a],o=n[a];o&&i!==o&&!(He(i)&&i.includes(o))&&(t[a]=i?[].concat(i,o):o)}else a!==""&&(t[a]=n[a])}return t}function yo(e,t,r,n=null){Ei(e,t,7,[r,n])}const _Q=N$();let bQ=0;function wQ(e,t,r){const n=e.type,a=(t?t.appContext:e.appContext)||_Q,i={uid:bQ++,vnode:e,type:n,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new e$(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:$$(n,a),emitsOptions:E$(n,a),emit:null,emitted:null,propsDefaults:Dr,inheritAttrs:n.inheritAttrs,ctx:Dr,data:Dr,props:Dr,attrs:Dr,slots:Dr,refs:Dr,setupState:Dr,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=LZ.bind(null,i),e.ce&&e.ce(i),i}let bn=null;const mt=()=>bn||In;let PC,Pd,pk="__VUE_INSTANCE_SETTERS__";(Pd=U4()[pk])||(Pd=U4()[pk]=[]),Pd.push(e=>bn=e),PC=e=>{Pd.length>1?Pd.forEach(t=>t(e)):Pd[0](e)};const Zf=e=>{PC(e),e.scope.on()},$c=()=>{bn&&bn.scope.off(),PC(null)};function G$(e){return e.vnode.shapeFlag&4}let jv=!1;function SQ(e,t=!1){jv=t;const{props:r,children:n}=e.vnode,a=G$(e);aQ(e,r,a,t),sQ(e,n);const i=a?EQ(e,t):void 0;return jv=!1,i}function EQ(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=Pc(new Proxy(e.ctx,XZ));const{setup:n}=r;if(n){const a=e.setupContext=n.length>1?K$(e):null;Zf(e),Rp();const i=Ul(n,e,0,[e.props,a]);if(Mp(),$c(),Vv(i)){if(i.then($c,$c),t)return i.then(o=>{hk(e,o,t)}).catch(o=>{t_(o,e,0)});e.asyncDep=i}else hk(e,i,t)}else W$(e,t)}function hk(e,t,r){it(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:St(t)&&(e.setupState=g$(t)),W$(e,r)}let vk;function W$(e,t,r){const n=e.type;if(!e.render){if(!t&&vk&&!n.render){const a=n.template||LC(e).template;if(a){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=n,u=un(un({isCustomElement:i,delimiters:s},o),l);n.render=vk(a,u)}}e.render=n.render||nr}{Zf(e),Rp();try{ZZ(e)}finally{Mp(),$c()}}}function CQ(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return La(e,"get","$attrs"),t[r]}}))}function K$(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return CQ(e)},slots:e.slots,emit:e.emit,expose:t}}function u_(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(g$(Pc(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in lv)return lv[r](e)},has(t,r){return r in t||r in lv}}))}function TQ(e,t=!0){return it(e)?e.displayName||e.name:e.name||t&&e.__name}function xQ(e){return it(e)&&"__vccOpts"in e}const L=(e,t)=>y$(e,t,jv);function Qe(e,t,r){const n=arguments.length;return n===2?St(t)&&!He(t)?Sr(t)?Q(e,null,[t]):Q(e,t):Q(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Sr(r)&&(r=[r]),Q(e,t,r))}const AQ=Symbol.for("v-scx"),kQ=()=>Ue(AQ),IQ="3.3.7",RQ="http://www.w3.org/2000/svg",fc=typeof document<"u"?document:null,gk=fc&&fc.createElement("template"),MQ={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const a=t?fc.createElementNS(RQ,e):fc.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:e=>fc.createTextNode(e),createComment:e=>fc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>fc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,a,i){const o=r?r.previousSibling:t.lastChild;if(a&&(a===i||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),r),!(a===i||!(a=a.nextSibling)););else{gk.innerHTML=n?`<svg>${e}</svg>`:e;const s=gk.content;if(n){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},nl="transition",nh="animation",Qf=Symbol("_vtc"),Hr=(e,{slots:t})=>Qe(VZ,q$(e),t);Hr.displayName="Transition";const Y$={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},LQ=Hr.props=un({},x$,Y$),xu=(e,t=[])=>{He(e)?e.forEach(r=>r(...t)):e&&e(...t)},mk=e=>e?He(e)?e.some(t=>t.length>1):e.length>1:!1;function q$(e){const t={};for(const R in e)R in Y$||(t[R]=e[R]);if(e.css===!1)return t;const{name:r="v",type:n,duration:a,enterFromClass:i=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:l=i,appearActiveClass:u=o,appearToClass:c=s,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:f=`${r}-leave-active`,leaveToClass:p=`${r}-leave-to`}=e,h=DQ(a),v=h&&h[0],g=h&&h[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:_,onLeave:w,onLeaveCancelled:E,onBeforeAppear:S=m,onAppear:C=y,onAppearCancelled:T=_}=t,x=(R,M,O)=>{vl(R,M?c:s),vl(R,M?u:o),O&&O()},A=(R,M)=>{R._isLeaving=!1,vl(R,d),vl(R,p),vl(R,f),M&&M()},k=R=>(M,O)=>{const z=R?C:y,B=()=>x(M,R,O);xu(z,[M,B]),yk(()=>{vl(M,R?l:i),ds(M,R?c:s),mk(z)||_k(M,n,v,B)})};return un(t,{onBeforeEnter(R){xu(m,[R]),ds(R,i),ds(R,o)},onBeforeAppear(R){xu(S,[R]),ds(R,l),ds(R,u)},onEnter:k(!1),onAppear:k(!0),onLeave(R,M){R._isLeaving=!0;const O=()=>A(R,M);ds(R,d),X$(),ds(R,f),yk(()=>{R._isLeaving&&(vl(R,d),ds(R,p),mk(w)||_k(R,n,g,O))}),xu(w,[R,O])},onEnterCancelled(R){x(R,!1),xu(_,[R])},onAppearCancelled(R){x(R,!0),xu(T,[R])},onLeaveCancelled(R){A(R),xu(E,[R])}})}function DQ(e){if(e==null)return null;if(St(e))return[Mb(e.enter),Mb(e.leave)];{const t=Mb(e);return[t,t]}}function Mb(e){return GX(e)}function ds(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[Qf]||(e[Qf]=new Set)).add(t)}function vl(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[Qf];r&&(r.delete(t),r.size||(e[Qf]=void 0))}function yk(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let OQ=0;function _k(e,t,r,n){const a=e._endId=++OQ,i=()=>{a===e._endId&&n()};if(r)return setTimeout(i,r);const{type:o,timeout:s,propCount:l}=j$(e,t);if(!o)return n();const u=o+"end";let c=0;const d=()=>{e.removeEventListener(u,f),i()},f=p=>{p.target===e&&++c>=l&&d()};setTimeout(()=>{c<l&&d()},s+1),e.addEventListener(u,f)}function j$(e,t){const r=window.getComputedStyle(e),n=h=>(r[h]||"").split(", "),a=n(`${nl}Delay`),i=n(`${nl}Duration`),o=bk(a,i),s=n(`${nh}Delay`),l=n(`${nh}Duration`),u=bk(s,l);let c=null,d=0,f=0;t===nl?o>0&&(c=nl,d=o,f=i.length):t===nh?u>0&&(c=nh,d=u,f=l.length):(d=Math.max(o,u),c=d>0?o>u?nl:nh:null,f=c?c===nl?i.length:l.length:0);const p=c===nl&&/\b(transform|all)(,|$)/.test(n(`${nl}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:p}}function bk(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>wk(r)+wk(e[n])))}function wk(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function X$(){return document.body.offsetHeight}function NQ(e,t,r){const n=e[Qf];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const $C=Symbol("_vod"),Gt={beforeMount(e,{value:t},{transition:r}){e[$C]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):ah(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),ah(e,!0),n.enter(e)):n.leave(e,()=>{ah(e,!1)}):ah(e,t))},beforeUnmount(e,{value:t}){ah(e,t)}};function ah(e,t){e.style.display=t?e[$C]:"none"}function PQ(e,t,r){const n=e.style,a=ut(r);if(r&&!a){if(t&&!ut(t))for(const i in t)r[i]==null&&e3(n,i,"");for(const i in r)e3(n,i,r[i])}else{const i=n.display;a?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),$C in e&&(n.display=i)}}const Sk=/\s*!important$/;function e3(e,t,r){if(He(r))r.forEach(n=>e3(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=$Q(e,t);Sk.test(r)?e.setProperty(vu(n),r.replace(Sk,""),"important"):e[n]=r}}const Ek=["Webkit","Moz","ms"],Lb={};function $Q(e,t){const r=Lb[t];if(r)return r;let n=xi(t);if(n!=="filter"&&n in e)return Lb[t]=n;n=nm(n);for(let a=0;a<Ek.length;a++){const i=Ek[a]+n;if(i in e)return Lb[t]=i}return t}const Ck="http://www.w3.org/1999/xlink";function BQ(e,t,r,n,a){if(n&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(Ck,t.slice(6,t.length)):e.setAttributeNS(Ck,t,r);else{const i=XX(t);r==null||i&&!Z9(r)?e.removeAttribute(t):e.setAttribute(t,i?"":r)}}function FQ(e,t,r,n,a,i,o){if(t==="innerHTML"||t==="textContent"){n&&o(n,a,i),e[t]=r??"";return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){e._value=r;const u=s==="OPTION"?e.getAttribute("value"):e.value,c=r??"";u!==c&&(e.value=c),r==null&&e.removeAttribute(t);return}let l=!1;if(r===""||r==null){const u=typeof e[t];u==="boolean"?r=Z9(r):r==null&&u==="string"?(r="",l=!0):u==="number"&&(r=0,l=!0)}try{e[t]=r}catch{}l&&e.removeAttribute(t)}function xl(e,t,r,n){e.addEventListener(t,r,n)}function zQ(e,t,r,n){e.removeEventListener(t,r,n)}const Tk=Symbol("_vei");function VQ(e,t,r,n,a=null){const i=e[Tk]||(e[Tk]={}),o=i[t];if(n&&o)o.value=n;else{const[s,l]=HQ(t);if(n){const u=i[t]=WQ(n,a);xl(e,s,u,l)}else o&&(zQ(e,s,o,l),i[t]=void 0)}}const xk=/(?:Once|Passive|Capture)$/;function HQ(e){let t;if(xk.test(e)){t={};let n;for(;n=e.match(xk);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):vu(e.slice(2)),t]}let Db=0;const UQ=Promise.resolve(),GQ=()=>Db||(UQ.then(()=>Db=0),Db=Date.now());function WQ(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Ei(KQ(n,r.value),t,5,[n])};return r.value=e,r.attached=GQ(),r}function KQ(e,t){if(He(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>a=>!a._stopped&&n&&n(a))}else return t}const Ak=/^on[a-z]/,YQ=(e,t,r,n,a=!1,i,o,s,l)=>{t==="class"?NQ(e,n,a):t==="style"?PQ(e,r,n):Z2(t)?vC(t)||VQ(e,t,r,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qQ(e,t,n,a))?FQ(e,t,n,i,o,s,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),BQ(e,t,n,a))};function qQ(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&Ak.test(t)&&it(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ak.test(t)&&ut(r)?!1:t in e}const Z$=new WeakMap,Q$=new WeakMap,x1=Symbol("_moveCb"),kk=Symbol("_enterCb"),J$={name:"TransitionGroup",props:un({},LQ,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=mt(),n=T$();let a,i;return Ks(()=>{if(!a.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!JQ(a[0].el,r.vnode.el,o))return;a.forEach(XQ),a.forEach(ZQ);const s=a.filter(QQ);X$(),s.forEach(l=>{const u=l.el,c=u.style;ds(u,o),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[x1]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u[x1]=null,vl(u,o))};u.addEventListener("transitionend",d)})}),()=>{const o=jt(e),s=q$(o);let l=o.tag||je;a=i,i=t.default?IC(t.default()):[];for(let u=0;u<i.length;u++){const c=i[u];c.key!=null&&Kv(c,Wv(c,s,n,r))}if(a)for(let u=0;u<a.length;u++){const c=a[u];Kv(c,Wv(c,s,n,r)),Z$.set(c,c.el.getBoundingClientRect())}return Q(l,null,i)}}},jQ=e=>delete e.mode;J$.props;const eB=J$;function XQ(e){const t=e.el;t[x1]&&t[x1](),t[kk]&&t[kk]()}function ZQ(e){Q$.set(e,e.el.getBoundingClientRect())}function QQ(e){const t=Z$.get(e),r=Q$.get(e),n=t.left-r.left,a=t.top-r.top;if(n||a){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${n}px,${a}px)`,i.transitionDuration="0s",e}}function JQ(e,t,r){const n=e.cloneNode(),a=e[Qf];a&&a.forEach(s=>{s.split(/\s+/).forEach(l=>l&&n.classList.remove(l))}),r.split(/\s+/).forEach(s=>s&&n.classList.add(s)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:o}=j$(n);return i.removeChild(n),o}const Jf=e=>{const t=e.props["onUpdate:modelValue"]||!1;return He(t)?r=>Ey(t,r):t};function eJ(e){e.target.composing=!0}function Ik(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Cs=Symbol("_assign"),BC={created(e,{modifiers:{lazy:t,trim:r,number:n}},a){e[Cs]=Jf(a);const i=n||a.props&&a.props.type==="number";xl(e,t?"change":"input",o=>{if(o.target.composing)return;let s=e.value;r&&(s=s.trim()),i&&(s=H4(s)),e[Cs](s)}),r&&xl(e,"change",()=>{e.value=e.value.trim()}),t||(xl(e,"compositionstart",eJ),xl(e,"compositionend",Ik),xl(e,"change",Ik))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:a}},i){if(e[Cs]=Jf(i),e.composing||document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===t||(a||e.type==="number")&&H4(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},A1={deep:!0,created(e,t,r){e[Cs]=Jf(r),xl(e,"change",()=>{const n=e._modelValue,a=rB(e),i=e.checked,o=e[Cs];if(He(n)){const s=Q9(n,a),l=s!==-1;if(i&&!l)o(n.concat(a));else if(!i&&l){const u=[...n];u.splice(s,1),o(u)}}else if(Q2(n)){const s=new Set(n);i?s.add(a):s.delete(a),o(s)}else o(nB(e,i))})},mounted:Rk,beforeUpdate(e,t,r){e[Cs]=Jf(r),Rk(e,t,r)}};function Rk(e,{value:t,oldValue:r},n){e._modelValue=t,He(t)?e.checked=Q9(t,n.props.value)>-1:Q2(t)?e.checked=t.has(n.props.value):t!==r&&(e.checked=jf(t,nB(e,!0)))}const tB={created(e,{value:t},r){e.checked=jf(t,r.props.value),e[Cs]=Jf(r),xl(e,"change",()=>{e[Cs](rB(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e[Cs]=Jf(n),t!==r&&(e.checked=jf(t,n.props.value))}};function rB(e){return"_value"in e?e._value:e.value}function nB(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const tJ=["ctrl","shift","alt","meta"],rJ={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>tJ.some(r=>e[`${r}Key`]&&!t.includes(r))},tt=(e,t)=>(r,...n)=>{for(let a=0;a<t.length;a++){const i=rJ[t[a]];if(i&&i(r,t))return}return e(r,...n)},nJ={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ut=(e,t)=>r=>{if(!("key"in r))return;const n=vu(r.key);if(t.some(a=>a===n||nJ[a]===n))return e(r)},aJ=un({patchProp:YQ},MQ);let Mk;function aB(){return Mk||(Mk=uQ(aJ))}const ep=(...e)=>{aB().render(...e)},iJ=(...e)=>{const t=aB().createApp(...e),{mount:r}=t;return t.mount=n=>{const a=oJ(n);if(!a)return;const i=t._component;!it(i)&&!i.render&&!i.template&&(i.template=a.innerHTML),a.innerHTML="";const o=r(a,!1,a instanceof SVGElement);return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),o},t};function oJ(e){return ut(e)?document.querySelector(e):e}var sJ=Object.defineProperty,lJ=Object.defineProperties,uJ=Object.getOwnPropertyDescriptors,Lk=Object.getOwnPropertySymbols,cJ=Object.prototype.hasOwnProperty,dJ=Object.prototype.propertyIsEnumerable,Dk=(e,t,r)=>t in e?sJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,fJ=(e,t)=>{for(var r in t||(t={}))cJ.call(t,r)&&Dk(e,r,t[r]);if(Lk)for(var r of Lk(t))dJ.call(t,r)&&Dk(e,r,t[r]);return e},pJ=(e,t)=>lJ(e,uJ(t));function Ok(e,t){var r;const n=or();return qa(()=>{n.value=e()},pJ(fJ({},t),{flush:(r=t==null?void 0:t.flush)!=null?r:"sync"})),Lp(n)}var Nk;const zt=typeof window<"u",hJ=e=>typeof e<"u",vJ=e=>typeof e=="function",gJ=e=>typeof e=="string",tp=()=>{},iB=zt&&((Nk=window==null?void 0:window.navigator)==null?void 0:Nk.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ql(e){return typeof e=="function"?e():b(e)}function oB(e,t){function r(...n){return new Promise((a,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(a).catch(i)})}return r}function mJ(e,t={}){let r,n,a=tp;const i=s=>{clearTimeout(s),a(),a=tp};return s=>{const l=Ql(e),u=Ql(t.maxWait);return r&&i(r),l<=0||u!==void 0&&u<=0?(n&&(i(n),n=null),Promise.resolve(s())):new Promise((c,d)=>{a=t.rejectOnCancel?d:c,u&&!n&&(n=setTimeout(()=>{r&&i(r),n=null,c(s())},u)),r=setTimeout(()=>{n&&i(n),n=null,c(s())},l)})}}function yJ(e,t=!0,r=!0,n=!1){let a=0,i,o=!0,s=tp,l;const u=()=>{i&&(clearTimeout(i),i=void 0,s(),s=tp)};return d=>{const f=Ql(e),p=Date.now()-a,h=()=>l=d();return u(),f<=0?(a=Date.now(),h()):(p>f&&(r||!o)?(a=Date.now(),h()):t&&(l=new Promise((v,g)=>{s=n?g:v,i=setTimeout(()=>{a=Date.now(),o=!0,v(h()),u()},Math.max(0,f-p))})),!r&&!i&&(i=setTimeout(()=>o=!0,f)),o=!1,l)}}function _J(e){return e}function im(e){return t$()?(r$(e),!0):!1}function bJ(e,t=200,r={}){return oB(mJ(t,r),e)}function wJ(e,t=200,r={}){const n=U(e.value),a=bJ(()=>{n.value=e.value},t,r);return Te(e,()=>a()),n}function sB(e,t=200,r=!1,n=!0,a=!1){return oB(yJ(t,r,n,a),e)}function FC(e,t=!0){mt()?gt(e):t?e():Ye(e)}function ad(e,t,r={}){const{immediate:n=!0}=r,a=U(!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,e(...u)},Ql(t))}return n&&(a.value=!0,zt&&l()),im(s),{isPending:Lp(a),start:l,stop:s}}function Ea(e){var t;const r=Ql(e);return(t=r==null?void 0:r.$el)!=null?t:r}const wd=zt?window:void 0,SJ=zt?window.document:void 0;function yr(...e){let t,r,n,a;if(gJ(e[0])||Array.isArray(e[0])?([r,n,a]=e,t=wd):[t,r,n,a]=e,!t)return tp;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const i=[],o=()=>{i.forEach(c=>c()),i.length=0},s=(c,d,f,p)=>(c.addEventListener(d,f,p),()=>c.removeEventListener(d,f,p)),l=Te(()=>[Ea(t),Ql(a)],([c,d])=>{o(),c&&i.push(...r.flatMap(f=>n.map(p=>s(c,f,p,d))))},{immediate:!0,flush:"post"}),u=()=>{l(),o()};return im(u),u}let Pk=!1;function zC(e,t,r={}){const{window:n=wd,ignore:a=[],capture:i=!0,detectIframe:o=!1}=r;if(!n)return;iB&&!Pk&&(Pk=!0,Array.from(n.document.body.children).forEach(f=>f.addEventListener("click",tp)));let s=!0;const l=f=>a.some(p=>{if(typeof p=="string")return Array.from(n.document.querySelectorAll(p)).some(h=>h===f.target||f.composedPath().includes(h));{const h=Ea(p);return h&&(f.target===h||f.composedPath().includes(h))}}),c=[yr(n,"click",f=>{const p=Ea(e);if(!(!p||p===f.target||f.composedPath().includes(p))){if(f.detail===0&&(s=!l(f)),!s){s=!0;return}t(f)}},{passive:!0,capture:i}),yr(n,"pointerdown",f=>{const p=Ea(e);p&&(s=!f.composedPath().includes(p)&&!l(f))},{passive:!0}),o&&yr(n,"blur",f=>{var p;const h=Ea(e);((p=n.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(h!=null&&h.contains(n.document.activeElement))&&t(f)})].filter(Boolean);return()=>c.forEach(f=>f())}function lB(e,t=!1){const r=U(),n=()=>r.value=!!e();return n(),FC(n,t),r}function EJ(e){return JSON.parse(JSON.stringify(e))}const $k=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Bk="__vueuse_ssr_handlers__";$k[Bk]=$k[Bk]||{};function CJ(e,t,{window:r=wd,initialValue:n=""}={}){const a=U(n),i=L(()=>{var o;return Ea(t)||((o=r==null?void 0:r.document)==null?void 0:o.documentElement)});return Te([i,()=>Ql(e)],([o,s])=>{var l;if(o&&r){const u=(l=r.getComputedStyle(o).getPropertyValue(s))==null?void 0:l.trim();a.value=u||n}},{immediate:!0}),Te(a,o=>{var s;(s=i.value)!=null&&s.style&&i.value.style.setProperty(Ql(e),o)}),a}function TJ({document:e=SJ}={}){if(!e)return U("visible");const t=U(e.visibilityState);return yr(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Fk=Object.getOwnPropertySymbols,xJ=Object.prototype.hasOwnProperty,AJ=Object.prototype.propertyIsEnumerable,kJ=(e,t)=>{var r={};for(var n in e)xJ.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Fk)for(var n of Fk(e))t.indexOf(n)<0&&AJ.call(e,n)&&(r[n]=e[n]);return r};function Yn(e,t,r={}){const n=r,{window:a=wd}=n,i=kJ(n,["window"]);let o;const s=lB(()=>a&&"ResizeObserver"in a),l=()=>{o&&(o.disconnect(),o=void 0)},u=Te(()=>Ea(e),d=>{l(),s.value&&a&&d&&(o=new ResizeObserver(t),o.observe(d,i))},{immediate:!0,flush:"post"}),c=()=>{l(),u()};return im(c),{isSupported:s,stop:c}}function zk(e,t={}){const{reset:r=!0,windowResize:n=!0,windowScroll:a=!0,immediate:i=!0}=t,o=U(0),s=U(0),l=U(0),u=U(0),c=U(0),d=U(0),f=U(0),p=U(0);function h(){const v=Ea(e);if(!v){r&&(o.value=0,s.value=0,l.value=0,u.value=0,c.value=0,d.value=0,f.value=0,p.value=0);return}const g=v.getBoundingClientRect();o.value=g.height,s.value=g.bottom,l.value=g.left,u.value=g.right,c.value=g.top,d.value=g.width,f.value=g.x,p.value=g.y}return Yn(e,h),Te(()=>Ea(e),v=>!v&&h()),a&&yr("scroll",h,{capture:!0,passive:!0}),n&&yr("resize",h,{passive:!0}),FC(()=>{i&&h()}),{height:o,bottom:s,left:l,right:u,top:c,width:d,x:f,y:p,update:h}}var Vk=Object.getOwnPropertySymbols,IJ=Object.prototype.hasOwnProperty,RJ=Object.prototype.propertyIsEnumerable,MJ=(e,t)=>{var r={};for(var n in e)IJ.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Vk)for(var n of Vk(e))t.indexOf(n)<0&&RJ.call(e,n)&&(r[n]=e[n]);return r};function LJ(e,t,r={}){const n=r,{window:a=wd}=n,i=MJ(n,["window"]);let o;const s=lB(()=>a&&"MutationObserver"in a),l=()=>{o&&(o.disconnect(),o=void 0)},u=Te(()=>Ea(e),d=>{l(),s.value&&a&&d&&(o=new MutationObserver(t),o.observe(d,i))},{immediate:!0}),c=()=>{l(),u()};return im(c),{isSupported:s,stop:c}}var Hk;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Hk||(Hk={}));var DJ=Object.defineProperty,Uk=Object.getOwnPropertySymbols,OJ=Object.prototype.hasOwnProperty,NJ=Object.prototype.propertyIsEnumerable,Gk=(e,t,r)=>t in e?DJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,PJ=(e,t)=>{for(var r in t||(t={}))OJ.call(t,r)&&Gk(e,r,t[r]);if(Uk)for(var r of Uk(t))NJ.call(t,r)&&Gk(e,r,t[r]);return e};const $J={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]};PJ({linear:_J},$J);function BJ(e,t,r,n={}){var a,i,o;const{clone:s=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:d}=n,f=mt(),p=r||(f==null?void 0:f.emit)||((a=f==null?void 0:f.$emit)==null?void 0:a.bind(f))||((o=(i=f==null?void 0:f.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(f==null?void 0:f.proxy));let h=u;t||(t="modelValue"),h=u||h||`update:${t.toString()}`;const v=m=>s?vJ(s)?s(m):EJ(m):m,g=()=>hJ(e[t])?v(e[t]):d;if(l){const m=g(),y=U(m);return Te(()=>e[t],_=>y.value=v(_)),Te(y,_=>{(_!==e[t]||c)&&p(h,_)},{deep:c}),y}else return L({get(){return g()},set(m){p(h,m)}})}function FJ({window:e=wd}={}){if(!e)return U(!1);const t=U(e.document.hasFocus());return yr(e,"blur",()=>{t.value=!1}),yr(e,"focus",()=>{t.value=!0}),t}function zJ(e={}){const{window:t=wd,initialWidth:r=1/0,initialHeight:n=1/0,listenOrientation:a=!0,includeScrollbar:i=!0}=e,o=U(r),s=U(n),l=()=>{t&&(i?(o.value=t.innerWidth,s.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};return l(),FC(l),yr("resize",l,{passive:!0}),a&&yr("orientationchange",l,{passive:!0}),{width:o,height:s}}const uB=()=>zt&&/firefox/i.test(window.navigator.userAgent),VJ=(e,t)=>{if(!zt||!e||!t)return!1;const r=e.getBoundingClientRect();let n;return t instanceof Element?n=t.getBoundingClientRect():n={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},r.top<n.bottom&&r.bottom>n.top&&r.right>n.left&&r.left<n.right},Wk=e=>{let t=0,r=e;for(;r;)t+=r.offsetTop,r=r.offsetParent;return t},HJ=(e,t)=>Math.abs(Wk(e)-Wk(t)),VC=e=>{let t,r;return e.type==="touchend"?(r=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(r=e.touches[0].clientY,t=e.touches[0].clientX):(r=e.clientY,t=e.clientX),{clientX:t,clientY:r}};var UJ=typeof global=="object"&&global&&global.Object===Object&&global;const cB=UJ;var GJ=typeof self=="object"&&self&&self.Object===Object&&self,WJ=cB||GJ||Function("return this")();const fo=WJ;var KJ=fo.Symbol;const Ai=KJ;var dB=Object.prototype,YJ=dB.hasOwnProperty,qJ=dB.toString,ih=Ai?Ai.toStringTag:void 0;function jJ(e){var t=YJ.call(e,ih),r=e[ih];try{e[ih]=void 0;var n=!0}catch{}var a=qJ.call(e);return n&&(t?e[ih]=r:delete e[ih]),a}var XJ=Object.prototype,ZJ=XJ.toString;function QJ(e){return ZJ.call(e)}var JJ="[object Null]",eee="[object Undefined]",Kk=Ai?Ai.toStringTag:void 0;function Sd(e){return e==null?e===void 0?eee:JJ:Kk&&Kk in Object(e)?jJ(e):QJ(e)}function Go(e){return e!=null&&typeof e=="object"}var tee="[object Symbol]";function c_(e){return typeof e=="symbol"||Go(e)&&Sd(e)==tee}function fB(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}var ree=Array.isArray;const sa=ree;var nee=1/0,Yk=Ai?Ai.prototype:void 0,qk=Yk?Yk.toString:void 0;function pB(e){if(typeof e=="string")return e;if(sa(e))return fB(e,pB)+"";if(c_(e))return qk?qk.call(e):"";var t=e+"";return t=="0"&&1/e==-nee?"-0":t}var aee=/\s/;function iee(e){for(var t=e.length;t--&&aee.test(e.charAt(t)););return t}var oee=/^\s+/;function see(e){return e&&e.slice(0,iee(e)+1).replace(oee,"")}function la(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jk=0/0,lee=/^[-+]0x[0-9a-f]+$/i,uee=/^0b[01]+$/i,cee=/^0o[0-7]+$/i,dee=parseInt;function t3(e){if(typeof e=="number")return e;if(c_(e))return jk;if(la(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=la(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=see(e);var r=uee.test(e);return r||cee.test(e)?dee(e.slice(2),r?2:8):lee.test(e)?jk:+e}var Xk=1/0,fee=17976931348623157e292;function pee(e){if(!e)return e===0?e:0;if(e=t3(e),e===Xk||e===-Xk){var t=e<0?-1:1;return t*fee}return e===e?e:0}function hee(e){var t=pee(e),r=t%1;return t===t?r?t-r:t:0}function HC(e){return e}var vee="[object AsyncFunction]",gee="[object Function]",mee="[object GeneratorFunction]",yee="[object Proxy]";function UC(e){if(!la(e))return!1;var t=Sd(e);return t==gee||t==mee||t==vee||t==yee}var _ee=fo["__core-js_shared__"];const Ob=_ee;var Zk=function(){var e=/[^.]+$/.exec(Ob&&Ob.keys&&Ob.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function bee(e){return!!Zk&&Zk in e}var wee=Function.prototype,See=wee.toString;function Ed(e){if(e!=null){try{return See.call(e)}catch{}try{return e+""}catch{}}return""}var Eee=/[\\^$.*+?()[\]{}|]/g,Cee=/^\[object .+?Constructor\]$/,Tee=Function.prototype,xee=Object.prototype,Aee=Tee.toString,kee=xee.hasOwnProperty,Iee=RegExp("^"+Aee.call(kee).replace(Eee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ree(e){if(!la(e)||bee(e))return!1;var t=UC(e)?Iee:Cee;return t.test(Ed(e))}function Mee(e,t){return e==null?void 0:e[t]}function Cd(e,t){var r=Mee(e,t);return Ree(r)?r:void 0}var Lee=Cd(fo,"WeakMap");const r3=Lee;var Qk=Object.create,Dee=function(){function e(){}return function(t){if(!la(t))return{};if(Qk)return Qk(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();const Oee=Dee;function Nee(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Pee(){}function hB(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var $ee=800,Bee=16,Fee=Date.now;function zee(e){var t=0,r=0;return function(){var n=Fee(),a=Bee-(n-r);if(r=n,a>0){if(++t>=$ee)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Vee(e){return function(){return e}}var Hee=function(){try{var e=Cd(Object,"defineProperty");return e({},"",{}),e}catch{}}();const k1=Hee;var Uee=k1?function(e,t){return k1(e,"toString",{configurable:!0,enumerable:!1,value:Vee(t),writable:!0})}:HC;const Gee=Uee;var Wee=zee(Gee);const vB=Wee;function Kee(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}function gB(e,t,r,n){for(var a=e.length,i=r+(n?1:-1);n?i--:++i<a;)if(t(e[i],i,e))return i;return-1}function Yee(e){return e!==e}function qee(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}function jee(e,t,r){return t===t?qee(e,t,r):gB(e,Yee,r)}function Xee(e,t){var r=e==null?0:e.length;return!!r&&jee(e,t,0)>-1}var Zee=9007199254740991,Qee=/^(?:0|[1-9]\d*)$/;function d_(e,t){var r=typeof e;return t=t??Zee,!!t&&(r=="number"||r!="symbol"&&Qee.test(e))&&e>-1&&e%1==0&&e<t}function GC(e,t,r){t=="__proto__"&&k1?k1(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function om(e,t){return e===t||e!==e&&t!==t}var Jee=Object.prototype,ete=Jee.hasOwnProperty;function WC(e,t,r){var n=e[t];(!(ete.call(e,t)&&om(n,r))||r===void 0&&!(t in e))&&GC(e,t,r)}function sm(e,t,r,n){var a=!r;r||(r={});for(var i=-1,o=t.length;++i<o;){var s=t[i],l=n?n(r[s],e[s],s,r,e):void 0;l===void 0&&(l=e[s]),a?GC(r,s,l):WC(r,s,l)}return r}var Jk=Math.max;function mB(e,t,r){return t=Jk(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=Jk(n.length-t,0),o=Array(i);++a<i;)o[a]=n[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=n[a];return s[t]=r(o),Nee(e,this,s)}}function yB(e,t){return vB(mB(e,t,HC),e+"")}var tte=9007199254740991;function KC(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=tte}function Op(e){return e!=null&&KC(e.length)&&!UC(e)}function rte(e,t,r){if(!la(r))return!1;var n=typeof t;return(n=="number"?Op(r)&&d_(t,r.length):n=="string"&&t in r)?om(r[t],e):!1}function nte(e){return yB(function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,o=a>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(a--,i):void 0,o&&rte(r[0],r[1],o)&&(i=a<3?void 0:i,a=1),t=Object(t);++n<a;){var s=r[n];s&&e(t,s,n,i)}return t})}var ate=Object.prototype;function YC(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||ate;return e===r}function ite(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var ote="[object Arguments]";function eI(e){return Go(e)&&Sd(e)==ote}var _B=Object.prototype,ste=_B.hasOwnProperty,lte=_B.propertyIsEnumerable,ute=eI(function(){return arguments}())?eI:function(e){return Go(e)&&ste.call(e,"callee")&&!lte.call(e,"callee")};const Xv=ute;function cte(){return!1}var bB=typeof exports=="object"&&exports&&!exports.nodeType&&exports,tI=bB&&typeof module=="object"&&module&&!module.nodeType&&module,dte=tI&&tI.exports===bB,rI=dte?fo.Buffer:void 0,fte=rI?rI.isBuffer:void 0,pte=fte||cte;const Zv=pte;var hte="[object Arguments]",vte="[object Array]",gte="[object Boolean]",mte="[object Date]",yte="[object Error]",_te="[object Function]",bte="[object Map]",wte="[object Number]",Ste="[object Object]",Ete="[object RegExp]",Cte="[object Set]",Tte="[object String]",xte="[object WeakMap]",Ate="[object ArrayBuffer]",kte="[object DataView]",Ite="[object Float32Array]",Rte="[object Float64Array]",Mte="[object Int8Array]",Lte="[object Int16Array]",Dte="[object Int32Array]",Ote="[object Uint8Array]",Nte="[object Uint8ClampedArray]",Pte="[object Uint16Array]",$te="[object Uint32Array]",Lr={};Lr[Ite]=Lr[Rte]=Lr[Mte]=Lr[Lte]=Lr[Dte]=Lr[Ote]=Lr[Nte]=Lr[Pte]=Lr[$te]=!0;Lr[hte]=Lr[vte]=Lr[Ate]=Lr[gte]=Lr[kte]=Lr[mte]=Lr[yte]=Lr[_te]=Lr[bte]=Lr[wte]=Lr[Ste]=Lr[Ete]=Lr[Cte]=Lr[Tte]=Lr[xte]=!1;function Bte(e){return Go(e)&&KC(e.length)&&!!Lr[Sd(e)]}function qC(e){return function(t){return e(t)}}var wB=typeof exports=="object"&&exports&&!exports.nodeType&&exports,dv=wB&&typeof module=="object"&&module&&!module.nodeType&&module,Fte=dv&&dv.exports===wB,Nb=Fte&&cB.process,zte=function(){try{var e=dv&&dv.require&&dv.require("util").types;return e||Nb&&Nb.binding&&Nb.binding("util")}catch{}}();const rp=zte;var nI=rp&&rp.isTypedArray,Vte=nI?qC(nI):Bte;const jC=Vte;var Hte=Object.prototype,Ute=Hte.hasOwnProperty;function SB(e,t){var r=sa(e),n=!r&&Xv(e),a=!r&&!n&&Zv(e),i=!r&&!n&&!a&&jC(e),o=r||n||a||i,s=o?ite(e.length,String):[],l=s.length;for(var u in e)(t||Ute.call(e,u))&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||d_(u,l)))&&s.push(u);return s}function EB(e,t){return function(r){return e(t(r))}}var Gte=EB(Object.keys,Object);const Wte=Gte;var Kte=Object.prototype,Yte=Kte.hasOwnProperty;function qte(e){if(!YC(e))return Wte(e);var t=[];for(var r in Object(e))Yte.call(e,r)&&r!="constructor"&&t.push(r);return t}function lm(e){return Op(e)?SB(e):qte(e)}function jte(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var Xte=Object.prototype,Zte=Xte.hasOwnProperty;function Qte(e){if(!la(e))return jte(e);var t=YC(e),r=[];for(var n in e)n=="constructor"&&(t||!Zte.call(e,n))||r.push(n);return r}function um(e){return Op(e)?SB(e,!0):Qte(e)}var Jte=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ere=/^\w*$/;function XC(e,t){if(sa(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||c_(e)?!0:ere.test(e)||!Jte.test(e)||t!=null&&e in Object(t)}var tre=Cd(Object,"create");const Qv=tre;function rre(){this.__data__=Qv?Qv(null):{},this.size=0}function nre(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var are="__lodash_hash_undefined__",ire=Object.prototype,ore=ire.hasOwnProperty;function sre(e){var t=this.__data__;if(Qv){var r=t[e];return r===are?void 0:r}return ore.call(t,e)?t[e]:void 0}var lre=Object.prototype,ure=lre.hasOwnProperty;function cre(e){var t=this.__data__;return Qv?t[e]!==void 0:ure.call(t,e)}var dre="__lodash_hash_undefined__";function fre(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Qv&&t===void 0?dre:t,this}function id(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}id.prototype.clear=rre;id.prototype.delete=nre;id.prototype.get=sre;id.prototype.has=cre;id.prototype.set=fre;function pre(){this.__data__=[],this.size=0}function f_(e,t){for(var r=e.length;r--;)if(om(e[r][0],t))return r;return-1}var hre=Array.prototype,vre=hre.splice;function gre(e){var t=this.__data__,r=f_(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():vre.call(t,r,1),--this.size,!0}function mre(e){var t=this.__data__,r=f_(t,e);return r<0?void 0:t[r][1]}function yre(e){return f_(this.__data__,e)>-1}function _re(e,t){var r=this.__data__,n=f_(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Ys(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ys.prototype.clear=pre;Ys.prototype.delete=gre;Ys.prototype.get=mre;Ys.prototype.has=yre;Ys.prototype.set=_re;var bre=Cd(fo,"Map");const Jv=bre;function wre(){this.size=0,this.__data__={hash:new id,map:new(Jv||Ys),string:new id}}function Sre(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function p_(e,t){var r=e.__data__;return Sre(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Ere(e){var t=p_(this,e).delete(e);return this.size-=t?1:0,t}function Cre(e){return p_(this,e).get(e)}function Tre(e){return p_(this,e).has(e)}function xre(e,t){var r=p_(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function qs(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}qs.prototype.clear=wre;qs.prototype.delete=Ere;qs.prototype.get=Cre;qs.prototype.has=Tre;qs.prototype.set=xre;var Are="Expected a function";function h_(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Are);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=e.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(h_.Cache||qs),r}h_.Cache=qs;var kre=500;function Ire(e){var t=h_(e,function(n){return r.size===kre&&r.clear(),n}),r=t.cache;return t}var Rre=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mre=/\\(\\)?/g,Lre=Ire(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Rre,function(r,n,a,i){t.push(a?i.replace(Mre,"$1"):n||r)}),t});const Dre=Lre;function Ore(e){return e==null?"":pB(e)}function v_(e,t){return sa(e)?e:XC(e,t)?[e]:Dre(Ore(e))}var Nre=1/0;function cm(e){if(typeof e=="string"||c_(e))return e;var t=e+"";return t=="0"&&1/e==-Nre?"-0":t}function ZC(e,t){t=v_(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[cm(t[r++])];return r&&r==n?e:void 0}function Or(e,t,r){var n=e==null?void 0:ZC(e,t);return n===void 0?r:n}function QC(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}var aI=Ai?Ai.isConcatSpreadable:void 0;function Pre(e){return sa(e)||Xv(e)||!!(aI&&e&&e[aI])}function dm(e,t,r,n,a){var i=-1,o=e.length;for(r||(r=Pre),a||(a=[]);++i<o;){var s=e[i];t>0&&r(s)?t>1?dm(s,t-1,r,n,a):QC(a,s):n||(a[a.length]=s)}return a}function CB(e){var t=e==null?0:e.length;return t?dm(e,1):[]}function $re(e){return vB(mB(e,void 0,CB),e+"")}var Bre=EB(Object.getPrototypeOf,Object);const JC=Bre;var Fre="[object Object]",zre=Function.prototype,Vre=Object.prototype,TB=zre.toString,Hre=Vre.hasOwnProperty,Ure=TB.call(Object);function Gre(e){if(!Go(e)||Sd(e)!=Fre)return!1;var t=JC(e);if(t===null)return!0;var r=Hre.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&TB.call(r)==Ure}function od(){if(!arguments.length)return[];var e=arguments[0];return sa(e)?e:[e]}function Wre(){this.__data__=new Ys,this.size=0}function Kre(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Yre(e){return this.__data__.get(e)}function qre(e){return this.__data__.has(e)}var jre=200;function Xre(e,t){var r=this.__data__;if(r instanceof Ys){var n=r.__data__;if(!Jv||n.length<jre-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new qs(n)}return r.set(e,t),this.size=r.size,this}function no(e){var t=this.__data__=new Ys(e);this.size=t.size}no.prototype.clear=Wre;no.prototype.delete=Kre;no.prototype.get=Yre;no.prototype.has=qre;no.prototype.set=Xre;function Zre(e,t){return e&&sm(t,lm(t),e)}function Qre(e,t){return e&&sm(t,um(t),e)}var xB=typeof exports=="object"&&exports&&!exports.nodeType&&exports,iI=xB&&typeof module=="object"&&module&&!module.nodeType&&module,Jre=iI&&iI.exports===xB,oI=Jre?fo.Buffer:void 0,sI=oI?oI.allocUnsafe:void 0;function AB(e,t){if(t)return e.slice();var r=e.length,n=sI?sI(r):new e.constructor(r);return e.copy(n),n}function ene(e,t){for(var r=-1,n=e==null?0:e.length,a=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[a++]=o)}return i}function kB(){return[]}var tne=Object.prototype,rne=tne.propertyIsEnumerable,lI=Object.getOwnPropertySymbols,nne=lI?function(e){return e==null?[]:(e=Object(e),ene(lI(e),function(t){return rne.call(e,t)}))}:kB;const eT=nne;function ane(e,t){return sm(e,eT(e),t)}var ine=Object.getOwnPropertySymbols,one=ine?function(e){for(var t=[];e;)QC(t,eT(e)),e=JC(e);return t}:kB;const IB=one;function sne(e,t){return sm(e,IB(e),t)}function RB(e,t,r){var n=t(e);return sa(e)?n:QC(n,r(e))}function n3(e){return RB(e,lm,eT)}function lne(e){return RB(e,um,IB)}var une=Cd(fo,"DataView");const a3=une;var cne=Cd(fo,"Promise");const i3=cne;var dne=Cd(fo,"Set");const Of=dne;var uI="[object Map]",fne="[object Object]",cI="[object Promise]",dI="[object Set]",fI="[object WeakMap]",pI="[object DataView]",pne=Ed(a3),hne=Ed(Jv),vne=Ed(i3),gne=Ed(Of),mne=Ed(r3),tc=Sd;(a3&&tc(new a3(new ArrayBuffer(1)))!=pI||Jv&&tc(new Jv)!=uI||i3&&tc(i3.resolve())!=cI||Of&&tc(new Of)!=dI||r3&&tc(new r3)!=fI)&&(tc=function(e){var t=Sd(e),r=t==fne?e.constructor:void 0,n=r?Ed(r):"";if(n)switch(n){case pne:return pI;case hne:return uI;case vne:return cI;case gne:return dI;case mne:return fI}return t});const eg=tc;var yne=Object.prototype,_ne=yne.hasOwnProperty;function bne(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&_ne.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var wne=fo.Uint8Array;const I1=wne;function tT(e){var t=new e.constructor(e.byteLength);return new I1(t).set(new I1(e)),t}function Sne(e,t){var r=t?tT(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var Ene=/\w*$/;function Cne(e){var t=new e.constructor(e.source,Ene.exec(e));return t.lastIndex=e.lastIndex,t}var hI=Ai?Ai.prototype:void 0,vI=hI?hI.valueOf:void 0;function Tne(e){return vI?Object(vI.call(e)):{}}function MB(e,t){var r=t?tT(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var xne="[object Boolean]",Ane="[object Date]",kne="[object Map]",Ine="[object Number]",Rne="[object RegExp]",Mne="[object Set]",Lne="[object String]",Dne="[object Symbol]",One="[object ArrayBuffer]",Nne="[object DataView]",Pne="[object Float32Array]",$ne="[object Float64Array]",Bne="[object Int8Array]",Fne="[object Int16Array]",zne="[object Int32Array]",Vne="[object Uint8Array]",Hne="[object Uint8ClampedArray]",Une="[object Uint16Array]",Gne="[object Uint32Array]";function Wne(e,t,r){var n=e.constructor;switch(t){case One:return tT(e);case xne:case Ane:return new n(+e);case Nne:return Sne(e,r);case Pne:case $ne:case Bne:case Fne:case zne:case Vne:case Hne:case Une:case Gne:return MB(e,r);case kne:return new n;case Ine:case Lne:return new n(e);case Rne:return Cne(e);case Mne:return new n;case Dne:return Tne(e)}}function LB(e){return typeof e.constructor=="function"&&!YC(e)?Oee(JC(e)):{}}var Kne="[object Map]";function Yne(e){return Go(e)&&eg(e)==Kne}var gI=rp&&rp.isMap,qne=gI?qC(gI):Yne;const jne=qne;var Xne="[object Set]";function Zne(e){return Go(e)&&eg(e)==Xne}var mI=rp&&rp.isSet,Qne=mI?qC(mI):Zne;const Jne=Qne;var eae=1,tae=2,rae=4,DB="[object Arguments]",nae="[object Array]",aae="[object Boolean]",iae="[object Date]",oae="[object Error]",OB="[object Function]",sae="[object GeneratorFunction]",lae="[object Map]",uae="[object Number]",NB="[object Object]",cae="[object RegExp]",dae="[object Set]",fae="[object String]",pae="[object Symbol]",hae="[object WeakMap]",vae="[object ArrayBuffer]",gae="[object DataView]",mae="[object Float32Array]",yae="[object Float64Array]",_ae="[object Int8Array]",bae="[object Int16Array]",wae="[object Int32Array]",Sae="[object Uint8Array]",Eae="[object Uint8ClampedArray]",Cae="[object Uint16Array]",Tae="[object Uint32Array]",kr={};kr[DB]=kr[nae]=kr[vae]=kr[gae]=kr[aae]=kr[iae]=kr[mae]=kr[yae]=kr[_ae]=kr[bae]=kr[wae]=kr[lae]=kr[uae]=kr[NB]=kr[cae]=kr[dae]=kr[fae]=kr[pae]=kr[Sae]=kr[Eae]=kr[Cae]=kr[Tae]=!0;kr[oae]=kr[OB]=kr[hae]=!1;function fv(e,t,r,n,a,i){var o,s=t&eae,l=t&tae,u=t&rae;if(r&&(o=a?r(e,n,a,i):r(e)),o!==void 0)return o;if(!la(e))return e;var c=sa(e);if(c){if(o=bne(e),!s)return hB(e,o)}else{var d=eg(e),f=d==OB||d==sae;if(Zv(e))return AB(e,s);if(d==NB||d==DB||f&&!a){if(o=l||f?{}:LB(e),!s)return l?sne(e,Qre(o,e)):ane(e,Zre(o,e))}else{if(!kr[d])return a?e:{};o=Wne(e,d,s)}}i||(i=new no);var p=i.get(e);if(p)return p;i.set(e,o),Jne(e)?e.forEach(function(g){o.add(fv(g,t,r,g,e,i))}):jne(e)&&e.forEach(function(g,m){o.set(m,fv(g,t,r,m,e,i))});var h=u?l?lne:n3:l?um:lm,v=c?void 0:h(e);return Kee(v||e,function(g,m){v&&(m=g,g=e[m]),WC(o,m,fv(g,t,r,m,e,i))}),o}var xae=4;function yI(e){return fv(e,xae)}var Aae=1,kae=4;function R1(e){return fv(e,Aae|kae)}var Iae="__lodash_hash_undefined__";function Rae(e){return this.__data__.set(e,Iae),this}function Mae(e){return this.__data__.has(e)}function tg(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new qs;++t<r;)this.add(e[t])}tg.prototype.add=tg.prototype.push=Rae;tg.prototype.has=Mae;function Lae(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function PB(e,t){return e.has(t)}var Dae=1,Oae=2;function $B(e,t,r,n,a,i){var o=r&Dae,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var d=-1,f=!0,p=r&Oae?new tg:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var h=e[d],v=t[d];if(n)var g=o?n(v,h,d,t,e,i):n(h,v,d,e,t,i);if(g!==void 0){if(g)continue;f=!1;break}if(p){if(!Lae(t,function(m,y){if(!PB(p,y)&&(h===m||a(h,m,r,n,i)))return p.push(y)})){f=!1;break}}else if(!(h===v||a(h,v,r,n,i))){f=!1;break}}return i.delete(e),i.delete(t),f}function Nae(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}function rT(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Pae=1,$ae=2,Bae="[object Boolean]",Fae="[object Date]",zae="[object Error]",Vae="[object Map]",Hae="[object Number]",Uae="[object RegExp]",Gae="[object Set]",Wae="[object String]",Kae="[object Symbol]",Yae="[object ArrayBuffer]",qae="[object DataView]",_I=Ai?Ai.prototype:void 0,Pb=_I?_I.valueOf:void 0;function jae(e,t,r,n,a,i,o){switch(r){case qae:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Yae:return!(e.byteLength!=t.byteLength||!i(new I1(e),new I1(t)));case Bae:case Fae:case Hae:return om(+e,+t);case zae:return e.name==t.name&&e.message==t.message;case Uae:case Wae:return e==t+"";case Vae:var s=Nae;case Gae:var l=n&Pae;if(s||(s=rT),e.size!=t.size&&!l)return!1;var u=o.get(e);if(u)return u==t;n|=$ae,o.set(e,t);var c=$B(s(e),s(t),n,a,i,o);return o.delete(e),c;case Kae:if(Pb)return Pb.call(e)==Pb.call(t)}return!1}var Xae=1,Zae=Object.prototype,Qae=Zae.hasOwnProperty;function Jae(e,t,r,n,a,i){var o=r&Xae,s=n3(e),l=s.length,u=n3(t),c=u.length;if(l!=c&&!o)return!1;for(var d=l;d--;){var f=s[d];if(!(o?f in t:Qae.call(t,f)))return!1}var p=i.get(e),h=i.get(t);if(p&&h)return p==t&&h==e;var v=!0;i.set(e,t),i.set(t,e);for(var g=o;++d<l;){f=s[d];var m=e[f],y=t[f];if(n)var _=o?n(y,m,f,t,e,i):n(m,y,f,e,t,i);if(!(_===void 0?m===y||a(m,y,r,n,i):_)){v=!1;break}g||(g=f=="constructor")}if(v&&!g){var w=e.constructor,E=t.constructor;w!=E&&"constructor"in e&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof E=="function"&&E instanceof E)&&(v=!1)}return i.delete(e),i.delete(t),v}var eie=1,bI="[object Arguments]",wI="[object Array]",Qm="[object Object]",tie=Object.prototype,SI=tie.hasOwnProperty;function rie(e,t,r,n,a,i){var o=sa(e),s=sa(t),l=o?wI:eg(e),u=s?wI:eg(t);l=l==bI?Qm:l,u=u==bI?Qm:u;var c=l==Qm,d=u==Qm,f=l==u;if(f&&Zv(e)){if(!Zv(t))return!1;o=!0,c=!1}if(f&&!c)return i||(i=new no),o||jC(e)?$B(e,t,r,n,a,i):jae(e,t,l,r,n,a,i);if(!(r&eie)){var p=c&&SI.call(e,"__wrapped__"),h=d&&SI.call(t,"__wrapped__");if(p||h){var v=p?e.value():e,g=h?t.value():t;return i||(i=new no),a(v,g,r,n,i)}}return f?(i||(i=new no),Jae(e,t,r,n,a,i)):!1}function g_(e,t,r,n,a){return e===t?!0:e==null||t==null||!Go(e)&&!Go(t)?e!==e&&t!==t:rie(e,t,r,n,g_,a)}var nie=1,aie=2;function iie(e,t,r,n){var a=r.length,i=a,o=!n;if(e==null)return!i;for(e=Object(e);a--;){var s=r[a];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<i;){s=r[a];var l=s[0],u=e[l],c=s[1];if(o&&s[2]){if(u===void 0&&!(l in e))return!1}else{var d=new no;if(n)var f=n(u,c,l,e,t,d);if(!(f===void 0?g_(c,u,nie|aie,n,d):f))return!1}}return!0}function BB(e){return e===e&&!la(e)}function oie(e){for(var t=lm(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,BB(a)]}return t}function FB(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function sie(e){var t=oie(e);return t.length==1&&t[0][2]?FB(t[0][0],t[0][1]):function(r){return r===e||iie(r,e,t)}}function lie(e,t){return e!=null&&t in Object(e)}function uie(e,t,r){t=v_(t,e);for(var n=-1,a=t.length,i=!1;++n<a;){var o=cm(t[n]);if(!(i=e!=null&&r(e,o)))break;e=e[o]}return i||++n!=a?i:(a=e==null?0:e.length,!!a&&KC(a)&&d_(o,a)&&(sa(e)||Xv(e)))}function zB(e,t){return e!=null&&uie(e,t,lie)}var cie=1,die=2;function fie(e,t){return XC(e)&&BB(t)?FB(cm(e),t):function(r){var n=Or(r,e);return n===void 0&&n===t?zB(r,e):g_(t,n,cie|die)}}function pie(e){return function(t){return t==null?void 0:t[e]}}function hie(e){return function(t){return ZC(t,e)}}function vie(e){return XC(e)?pie(cm(e)):hie(e)}function VB(e){return typeof e=="function"?e:e==null?HC:typeof e=="object"?sa(e)?fie(e[0],e[1]):sie(e):vie(e)}function gie(e){return function(t,r,n){for(var a=-1,i=Object(t),o=n(t),s=o.length;s--;){var l=o[e?s:++a];if(r(i[l],l,i)===!1)break}return t}}var mie=gie();const HB=mie;function yie(e,t){return e&&HB(e,t,lm)}function _ie(e,t){return function(r,n){if(r==null)return r;if(!Op(r))return e(r,n);for(var a=r.length,i=t?a:-1,o=Object(r);(t?i--:++i<a)&&n(o[i],i,o)!==!1;);return r}}var bie=_ie(yie);const wie=bie;var Sie=function(){return fo.Date.now()};const $b=Sie;var Eie="Expected a function",Cie=Math.max,Tie=Math.min;function ua(e,t,r){var n,a,i,o,s,l,u=0,c=!1,d=!1,f=!0;if(typeof e!="function")throw new TypeError(Eie);t=t3(t)||0,la(r)&&(c=!!r.leading,d="maxWait"in r,i=d?Cie(t3(r.maxWait)||0,t):i,f="trailing"in r?!!r.trailing:f);function p(S){var C=n,T=a;return n=a=void 0,u=S,o=e.apply(T,C),o}function h(S){return u=S,s=setTimeout(m,t),c?p(S):o}function v(S){var C=S-l,T=S-u,x=t-C;return d?Tie(x,i-T):x}function g(S){var C=S-l,T=S-u;return l===void 0||C>=t||C<0||d&&T>=i}function m(){var S=$b();if(g(S))return y(S);s=setTimeout(m,v(S))}function y(S){return s=void 0,f&&n?p(S):(n=a=void 0,o)}function _(){s!==void 0&&clearTimeout(s),u=0,n=l=a=s=void 0}function w(){return s===void 0?o:y($b())}function E(){var S=$b(),C=g(S);if(n=arguments,a=this,l=S,C){if(s===void 0)return h(l);if(d)return clearTimeout(s),s=setTimeout(m,t),p(l)}return s===void 0&&(s=setTimeout(m,t)),o}return E.cancel=_,E.flush=w,E}function o3(e,t,r){(r!==void 0&&!om(e[t],r)||r===void 0&&!(t in e))&&GC(e,t,r)}function UB(e){return Go(e)&&Op(e)}function s3(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function xie(e){return sm(e,um(e))}function Aie(e,t,r,n,a,i,o){var s=s3(e,r),l=s3(t,r),u=o.get(l);if(u){o3(e,r,u);return}var c=i?i(s,l,r+"",e,t,o):void 0,d=c===void 0;if(d){var f=sa(l),p=!f&&Zv(l),h=!f&&!p&&jC(l);c=l,f||p||h?sa(s)?c=s:UB(s)?c=hB(s):p?(d=!1,c=AB(l,!0)):h?(d=!1,c=MB(l,!0)):c=[]:Gre(l)||Xv(l)?(c=s,Xv(s)?c=xie(s):(!la(s)||UC(s))&&(c=LB(l))):d=!1}d&&(o.set(l,c),a(c,l,n,i,o),o.delete(l)),o3(e,r,c)}function GB(e,t,r,n,a){e!==t&&HB(t,function(i,o){if(a||(a=new no),la(i))Aie(e,t,o,r,GB,n,a);else{var s=n?n(s3(e,o),i,o+"",e,t,a):void 0;s===void 0&&(s=i),o3(e,o,s)}},um)}function kie(e,t,r){for(var n=-1,a=e==null?0:e.length;++n<a;)if(r(t,e[n]))return!0;return!1}var Iie=Math.max,Rie=Math.min;function Mie(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var a=n-1;return r!==void 0&&(a=hee(r),a=r<0?Iie(n+a,0):Rie(a,n-1)),gB(e,VB(t),a,!0)}function Lie(e,t){var r=-1,n=Op(e)?Array(e.length):[];return wie(e,function(a,i,o){n[++r]=t(a,i,o)}),n}function Die(e,t){var r=sa(e)?fB:Lie;return r(e,VB(t))}function Oie(e,t){return dm(Die(e,t),1)}var Nie=1/0;function Pie(e){var t=e==null?0:e.length;return t?dm(e,Nie):[]}function M1(e){for(var t=-1,r=e==null?0:e.length,n={};++t<r;){var a=e[t];n[a[0]]=a[1]}return n}function Ca(e,t){return g_(e,t)}function Yr(e){return e==null}function $ie(e){return e===void 0}var Bie=nte(function(e,t,r){GB(e,t,r)});const WB=Bie;function KB(e,t,r,n){if(!la(e))return e;t=v_(t,e);for(var a=-1,i=t.length,o=i-1,s=e;s!=null&&++a<i;){var l=cm(t[a]),u=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(a!=o){var c=s[l];u=n?n(c,l,s):void 0,u===void 0&&(u=la(c)?c:d_(t[a+1])?[]:{})}WC(s,l,u),s=s[l]}return e}function Fie(e,t,r){for(var n=-1,a=t.length,i={};++n<a;){var o=t[n],s=ZC(e,o);r(s,o)&&KB(i,v_(o,e),s)}return i}function zie(e,t){return Fie(e,t,function(r,n){return zB(e,n)})}var Vie=$re(function(e,t){return e==null?{}:zie(e,t)});const bs=Vie;function Hie(e,t,r){return e==null?e:KB(e,t,r)}var Uie="Expected a function";function Bc(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(Uie);return la(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),ua(e,t,{leading:n,maxWait:t,trailing:a})}var Gie=1/0,Wie=Of&&1/rT(new Of([,-0]))[1]==Gie?function(e){return new Of(e)}:Pee;const Kie=Wie;var Yie=200;function qie(e,t,r){var n=-1,a=Xee,i=e.length,o=!0,s=[],l=s;if(r)o=!1,a=kie;else if(i>=Yie){var u=t?null:Kie(e);if(u)return rT(u);o=!1,a=PB,l=new tg}else l=t?[]:s;e:for(;++n<i;){var c=e[n],d=t?t(c):c;if(c=r||c!==0?c:0,o&&d===d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(c)}else a(l,d,r)||(l!==s&&l.push(d),s.push(c))}return s}var jie=yB(function(e){return qie(dm(e,1,UB,!0))});const Bb=jie,Jr=e=>e===void 0,tn=e=>typeof e=="boolean",at=e=>typeof e=="number",gi=e=>!e&&e!==0||He(e)&&e.length===0||St(e)&&!Object.keys(e).length,ki=e=>typeof Element>"u"?!1:e instanceof Element,Xie=e=>Yr(e),Zie=e=>ut(e)?!Number.isNaN(Number(e)):!1,YB=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),Io=e=>nm(e),rg=e=>Object.keys(e),Qie=e=>Object.entries(e),xy=(e,t,r)=>({get value(){return Or(e,t,r)},set value(n){Hie(e,t,n)}});class Jie extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function rn(e,t){throw new Jie(`[${e}] ${t}`)}const qB=(e="")=>e.split(" ").filter(t=>!!t.trim()),ao=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Do=(e,t)=>{!e||!t.trim()||e.classList.add(...qB(t))},Ta=(e,t)=>{!e||!t.trim()||e.classList.remove(...qB(t))},Al=(e,t)=>{var r;if(!zt||!e||!t)return"";let n=xi(t);n==="float"&&(n="cssFloat");try{const a=e.style[n];if(a)return a;const i=(r=document.defaultView)==null?void 0:r.getComputedStyle(e,"");return i?i[n]:""}catch{return e.style[n]}};function Nr(e,t="px"){if(!e)return"";if(at(e)||Zie(e))return`${e}${t}`;if(ut(e))return e}const eoe=(e,t)=>{if(!zt)return!1;const r={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],n=Al(e,r);return["scroll","auto","overlay"].some(a=>n.includes(a))},nT=(e,t)=>{if(!zt)return;let r=e;for(;r;){if([window,document,document.documentElement].includes(r))return window;if(eoe(r,t))return r;r=r.parentNode}return r};let Jm;const jB=e=>{var t;if(!zt)return 0;if(Jm!==void 0)return Jm;const r=document.createElement("div");r.className=`${e}-scrollbar__wrap`,r.style.visibility="hidden",r.style.width="100px",r.style.position="absolute",r.style.top="-9999px",document.body.appendChild(r);const n=r.offsetWidth;r.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",r.appendChild(a);const i=a.offsetWidth;return(t=r.parentNode)==null||t.removeChild(r),Jm=n-i,Jm};function XB(e,t){if(!zt)return;if(!t){e.scrollTop=0;return}const r=[];let n=t.offsetParent;for(;n!==null&&e!==n&&e.contains(n);)r.push(n),n=n.offsetParent;const a=t.offsetTop+r.reduce((l,u)=>l+u.offsetTop,0),i=a+t.offsetHeight,o=e.scrollTop,s=o+e.clientHeight;a<o?e.scrollTop=a:i>s&&(e.scrollTop=i-e.clientHeight)}/*! Element Plus Icons Vue v2.1.0 */var toe={name:"AddLocation"},re=(e,t)=>{let r=e.__vccOpts||e;for(let[n,a]of t)r[n]=a;return r},roe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},noe=N("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32z"},null,-1),aoe=N("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 416zM512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544z"},null,-1),ioe=N("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 0v96z"},null,-1),ooe=[noe,aoe,ioe];function soe(e,t,r,n,a,i){return I(),$("svg",roe,ooe)}var loe=re(toe,[["render",soe],["__file","add-location.vue"]]),uoe={name:"Aim"},coe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},doe=N("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),foe=N("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32zm0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32zM96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32zm576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32z"},null,-1),poe=[doe,foe];function hoe(e,t,r,n,a,i){return I(),$("svg",coe,poe)}var voe=re(uoe,[["render",hoe],["__file","aim.vue"]]),goe={name:"AlarmClock"},moe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},yoe=N("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640zm0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768z"},null,-1),_oe=N("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32l48-83.136zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32l-48-83.136zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0v192zM90.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 128l46.912 46.912z"},null,-1),boe=[yoe,_oe];function woe(e,t,r,n,a,i){return I(),$("svg",moe,boe)}var Soe=re(goe,[["render",woe],["__file","alarm-clock.vue"]]),Eoe={name:"Apple"},Coe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Toe=N("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"},null,-1),xoe=[Toe];function Aoe(e,t,r,n,a,i){return I(),$("svg",Coe,xoe)}var koe=re(Eoe,[["render",Aoe],["__file","apple.vue"]]),Ioe={name:"ArrowDownBold"},Roe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Moe=N("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"},null,-1),Loe=[Moe];function Doe(e,t,r,n,a,i){return I(),$("svg",Roe,Loe)}var Ooe=re(Ioe,[["render",Doe],["__file","arrow-down-bold.vue"]]),Noe={name:"ArrowDown"},Poe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},$oe=N("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"},null,-1),Boe=[$oe];function Foe(e,t,r,n,a,i){return I(),$("svg",Poe,Boe)}var js=re(Noe,[["render",Foe],["__file","arrow-down.vue"]]),zoe={name:"ArrowLeftBold"},Voe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Hoe=N("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"},null,-1),Uoe=[Hoe];function Goe(e,t,r,n,a,i){return I(),$("svg",Voe,Uoe)}var Woe=re(zoe,[["render",Goe],["__file","arrow-left-bold.vue"]]),Koe={name:"ArrowLeft"},Yoe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},qoe=N("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"},null,-1),joe=[qoe];function Xoe(e,t,r,n,a,i){return I(),$("svg",Yoe,joe)}var Ds=re(Koe,[["render",Xoe],["__file","arrow-left.vue"]]),Zoe={name:"ArrowRightBold"},Qoe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Joe=N("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"},null,-1),ese=[Joe];function tse(e,t,r,n,a,i){return I(),$("svg",Qoe,ese)}var rse=re(Zoe,[["render",tse],["__file","arrow-right-bold.vue"]]),nse={name:"ArrowRight"},ase={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ise=N("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"},null,-1),ose=[ise];function sse(e,t,r,n,a,i){return I(),$("svg",ase,ose)}var Gn=re(nse,[["render",sse],["__file","arrow-right.vue"]]),lse={name:"ArrowUpBold"},use={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},cse=N("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"},null,-1),dse=[cse];function fse(e,t,r,n,a,i){return I(),$("svg",use,dse)}var pse=re(lse,[["render",fse],["__file","arrow-up-bold.vue"]]),hse={name:"ArrowUp"},vse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},gse=N("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 0z"},null,-1),mse=[gse];function yse(e,t,r,n,a,i){return I(),$("svg",vse,mse)}var fm=re(hse,[["render",yse],["__file","arrow-up.vue"]]),_se={name:"Avatar"},bse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},wse=N("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704l116.736-175.104zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0z"},null,-1),Sse=[wse];function Ese(e,t,r,n,a,i){return I(),$("svg",bse,Sse)}var Cse=re(_se,[["render",Ese],["__file","avatar.vue"]]),Tse={name:"Back"},xse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ase=N("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z"},null,-1),kse=N("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.312L237.248 512z"},null,-1),Ise=[Ase,kse];function Rse(e,t,r,n,a,i){return I(),$("svg",xse,Ise)}var ZB=re(Tse,[["render",Rse],["__file","back.vue"]]),Mse={name:"Baseball"},Lse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Dse=N("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.104z"},null,-1),Ose=N("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"},null,-1),Nse=[Dse,Ose];function Pse(e,t,r,n,a,i){return I(),$("svg",Lse,Nse)}var $se=re(Mse,[["render",Pse],["__file","baseball.vue"]]),Bse={name:"Basketball"},Fse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},zse=N("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.336zm-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.8zm106.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.6z"},null,-1),Vse=[zse];function Hse(e,t,r,n,a,i){return I(),$("svg",Fse,Vse)}var Use=re(Bse,[["render",Hse],["__file","basketball.vue"]]),Gse={name:"BellFilled"},Wse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Kse=N("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0h256zm192-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.8H832z"},null,-1),Yse=[Kse];function qse(e,t,r,n,a,i){return I(),$("svg",Wse,Yse)}var jse=re(Gse,[["render",qse],["__file","bell-filled.vue"]]),Xse={name:"Bell"},Zse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Qse=N("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64z"},null,-1),Jse=N("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0v320zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320z"},null,-1),ele=N("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32zm352 128h128a64 64 0 0 1-128 0z"},null,-1),tle=[Qse,Jse,ele];function rle(e,t,r,n,a,i){return I(),$("svg",Zse,tle)}var nle=re(Xse,[["render",rle],["__file","bell.vue"]]),ale={name:"Bicycle"},ile={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ole=yQ('<path fill="currentColor" d="M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256zm0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384z"></path><path fill="currentColor" d="M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32z"></path><path fill="currentColor" d="M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256zm0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384z"></path><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 192H480zM96 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 384H96z"></path><path fill="currentColor" d="m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"></path>',5),sle=[ole];function lle(e,t,r,n,a,i){return I(),$("svg",ile,sle)}var ule=re(ale,[["render",lle],["__file","bicycle.vue"]]),cle={name:"BottomLeft"},dle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},fle=N("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0v416z"},null,-1),ple=N("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"},null,-1),hle=[fle,ple];function vle(e,t,r,n,a,i){return I(),$("svg",dle,hle)}var gle=re(cle,[["render",vle],["__file","bottom-left.vue"]]),mle={name:"BottomRight"},yle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_le=N("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416H352z"},null,-1),ble=N("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.312l544 544z"},null,-1),wle=[_le,ble];function Sle(e,t,r,n,a,i){return I(),$("svg",yle,wle)}var Ele=re(mle,[["render",Sle],["__file","bottom-right.vue"]]),Cle={name:"Bottom"},Tle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},xle=N("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"},null,-1),Ale=[xle];function kle(e,t,r,n,a,i){return I(),$("svg",Tle,Ale)}var Ile=re(Cle,[["render",kle],["__file","bottom.vue"]]),Rle={name:"Bowl"},Mle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Lle=N("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 256h404.864zM288 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-64v-65.408zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248L493.248 320zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424L680.576 320zM352 768v64h320v-64H352z"},null,-1),Dle=[Lle];function Ole(e,t,r,n,a,i){return I(),$("svg",Mle,Dle)}var Nle=re(Rle,[["render",Ole],["__file","bowl.vue"]]),Ple={name:"Box"},$le={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ble=N("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128H317.056zm-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"},null,-1),Fle=N("path",{fill:"currentColor",d:"M64 320h896v64H64z"},null,-1),zle=N("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16L448 327.872zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320l64-256z"},null,-1),Vle=[Ble,Fle,zle];function Hle(e,t,r,n,a,i){return I(),$("svg",$le,Vle)}var Ule=re(Ple,[["render",Hle],["__file","box.vue"]]),Gle={name:"Briefcase"},Wle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Kle=N("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320h192zM128 576h768v320H128V576zm256-256h256.064V192H384v128z"},null,-1),Yle=[Kle];function qle(e,t,r,n,a,i){return I(),$("svg",Wle,Yle)}var jle=re(Gle,[["render",qle],["__file","briefcase.vue"]]),Xle={name:"BrushFilled"},Zle={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Qle=N("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128h-96zM192 512V128.064h640V512H192z"},null,-1),Jle=[Qle];function eue(e,t,r,n,a,i){return I(),$("svg",Zle,Jle)}var tue=re(Xle,[["render",eue],["__file","brush-filled.vue"]]),rue={name:"Brush"},nue={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},aue=N("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64V448zm-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"},null,-1),iue=[aue];function oue(e,t,r,n,a,i){return I(),$("svg",nue,iue)}var sue=re(rue,[["render",oue],["__file","brush.vue"]]),lue={name:"Burger"},uue={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},cue=N("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-32H160zm736-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.44zM832 448a320 320 0 0 0-640 0h640zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704H512z"},null,-1),due=[cue];function fue(e,t,r,n,a,i){return I(),$("svg",uue,due)}var pue=re(lue,[["render",fue],["__file","burger.vue"]]),hue={name:"Calendar"},vue={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},gue=N("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64H128zm192-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 0v32zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64zm0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64z"},null,-1),mue=[gue];function yue(e,t,r,n,a,i){return I(),$("svg",vue,mue)}var QB=re(hue,[["render",yue],["__file","calendar.vue"]]),_ue={name:"CameraFilled"},bue={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},wue=N("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 224H160zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4zm0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512z"},null,-1),Sue=[wue];function Eue(e,t,r,n,a,i){return I(),$("svg",bue,Sue)}var Cue=re(_ue,[["render",Eue],["__file","camera-filled.vue"]]),Tue={name:"Camera"},xue={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Aue=N("path",{fill:"currentColor",d:"M896 256H128v576h768V256zm-199.424-64-32.064-64h-304.96l-32 64h369.024zM96 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-32zm416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320zm0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448z"},null,-1),kue=[Aue];function Iue(e,t,r,n,a,i){return I(),$("svg",xue,kue)}var Rue=re(Tue,[["render",Iue],["__file","camera.vue"]]),Mue={name:"CaretBottom"},Lue={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Due=N("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"},null,-1),Oue=[Due];function Nue(e,t,r,n,a,i){return I(),$("svg",Lue,Oue)}var Pue=re(Mue,[["render",Nue],["__file","caret-bottom.vue"]]),$ue={name:"CaretLeft"},Bue={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Fue=N("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"},null,-1),zue=[Fue];function Vue(e,t,r,n,a,i){return I(),$("svg",Bue,zue)}var Hue=re($ue,[["render",Vue],["__file","caret-left.vue"]]),Uue={name:"CaretRight"},Gue={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Wue=N("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"},null,-1),Kue=[Wue];function Yue(e,t,r,n,a,i){return I(),$("svg",Gue,Kue)}var aT=re(Uue,[["render",Yue],["__file","caret-right.vue"]]),que={name:"CaretTop"},jue={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Xue=N("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"},null,-1),Zue=[Xue];function Que(e,t,r,n,a,i){return I(),$("svg",jue,Zue)}var JB=re(que,[["render",Que],["__file","caret-top.vue"]]),Jue={name:"Cellphone"},ece={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},tce=N("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-64H256zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64zm128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64zm128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128z"},null,-1),rce=[tce];function nce(e,t,r,n,a,i){return I(),$("svg",ece,rce)}var ace=re(Jue,[["render",nce],["__file","cellphone.vue"]]),ice={name:"ChatDotRound"},oce={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},sce=N("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"},null,-1),lce=N("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.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"},null,-1),uce=[sce,lce];function cce(e,t,r,n,a,i){return I(),$("svg",oce,uce)}var dce=re(ice,[["render",cce],["__file","chat-dot-round.vue"]]),fce={name:"ChatDotSquare"},pce={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},hce=N("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.88L273.536 736zM296 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 128H296z"},null,-1),vce=N("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"},null,-1),gce=[hce,vce];function mce(e,t,r,n,a,i){return I(),$("svg",pce,gce)}var yce=re(fce,[["render",mce],["__file","chat-dot-square.vue"]]),_ce={name:"ChatLineRound"},bce={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},wce=N("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"},null,-1),Sce=N("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32zm32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32z"},null,-1),Ece=[wce,Sce];function Cce(e,t,r,n,a,i){return I(),$("svg",bce,Ece)}var Tce=re(_ce,[["render",Cce],["__file","chat-line-round.vue"]]),xce={name:"ChatLineSquare"},Ace={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},kce=N("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 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 128H296z"},null,-1),Ice=N("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32zm0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32z"},null,-1),Rce=[kce,Ice];function Mce(e,t,r,n,a,i){return I(),$("svg",Ace,Rce)}var Lce=re(xce,[["render",Mce],["__file","chat-line-square.vue"]]),Dce={name:"ChatRound"},Oce={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Nce=N("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"},null,-1),Pce=[Nce];function $ce(e,t,r,n,a,i){return I(),$("svg",Oce,Pce)}var Bce=re(Dce,[["render",$ce],["__file","chat-round.vue"]]),Fce={name:"ChatSquare"},zce={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Vce=N("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.88L273.536 736zM296 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 128H296z"},null,-1),Hce=[Vce];function Uce(e,t,r,n,a,i){return I(),$("svg",zce,Hce)}var Gce=re(Fce,[["render",Uce],["__file","chat-square.vue"]]),Wce={name:"Check"},Kce={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Yce=N("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"},null,-1),qce=[Yce];function jce(e,t,r,n,a,i){return I(),$("svg",Kce,qce)}var Np=re(Wce,[["render",jce],["__file","check.vue"]]),Xce={name:"Checked"},Zce={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Qce=N("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704v-64zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024 311.616 537.28zM384 192V96h256v96H384z"},null,-1),Jce=[Qce];function ede(e,t,r,n,a,i){return I(),$("svg",Zce,Jce)}var tde=re(Xce,[["render",ede],["__file","checked.vue"]]),rde={name:"Cherry"},nde={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ade=N("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 320zm448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320z"},null,-1),ide=[ade];function ode(e,t,r,n,a,i){return I(),$("svg",nde,ide)}var sde=re(rde,[["render",ode],["__file","cherry.vue"]]),lde={name:"Chicken"},ude={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},cde=N("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.84zM244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52 3.52-56.32zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52-3.52 56.32z"},null,-1),dde=[cde];function fde(e,t,r,n,a,i){return I(),$("svg",ude,dde)}var pde=re(lde,[["render",fde],["__file","chicken.vue"]]),hde={name:"ChromeFilled"},vde={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},gde=N("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"},null,-1),mde=N("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.91z"},null,-1),yde=N("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.21zm117.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"},null,-1),_de=[gde,mde,yde];function bde(e,t,r,n,a,i){return I(),$("svg",vde,_de)}var wde=re(hde,[["render",bde],["__file","chrome-filled.vue"]]),Sde={name:"CircleCheckFilled"},Ede={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Cde=N("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-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.336L456.192 600.384z"},null,-1),Tde=[Cde];function xde(e,t,r,n,a,i){return I(),$("svg",Ede,Tde)}var e7=re(Sde,[["render",xde],["__file","circle-check-filled.vue"]]),Ade={name:"CircleCheck"},kde={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ide=N("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Rde=N("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"},null,-1),Mde=[Ide,Rde];function Lde(e,t,r,n,a,i){return I(),$("svg",kde,Mde)}var m_=re(Ade,[["render",Lde],["__file","circle-check.vue"]]),Dde={name:"CircleCloseFilled"},Ode={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Nde=N("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 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.336L512 457.664z"},null,-1),Pde=[Nde];function $de(e,t,r,n,a,i){return I(),$("svg",Ode,Pde)}var y_=re(Dde,[["render",$de],["__file","circle-close-filled.vue"]]),Bde={name:"CircleClose"},Fde={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},zde=N("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.248L466.752 512z"},null,-1),Vde=N("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Hde=[zde,Vde];function Ude(e,t,r,n,a,i){return I(),$("svg",Fde,Hde)}var Xs=re(Bde,[["render",Ude],["__file","circle-close.vue"]]),Gde={name:"CirclePlusFilled"},Wde={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Kde=N("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-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"},null,-1),Yde=[Kde];function qde(e,t,r,n,a,i){return I(),$("svg",Wde,Yde)}var jde=re(Gde,[["render",qde],["__file","circle-plus-filled.vue"]]),Xde={name:"CirclePlus"},Zde={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Qde=N("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64z"},null,-1),Jde=N("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0z"},null,-1),efe=N("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),tfe=[Qde,Jde,efe];function rfe(e,t,r,n,a,i){return I(),$("svg",Zde,tfe)}var nfe=re(Xde,[["render",rfe],["__file","circle-plus.vue"]]),afe={name:"Clock"},ife={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ofe=N("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),sfe=N("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"},null,-1),lfe=N("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32z"},null,-1),ufe=[ofe,sfe,lfe];function cfe(e,t,r,n,a,i){return I(),$("svg",ife,ufe)}var iT=re(afe,[["render",cfe],["__file","clock.vue"]]),dfe={name:"CloseBold"},ffe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},pfe=N("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"},null,-1),hfe=[pfe];function vfe(e,t,r,n,a,i){return I(),$("svg",ffe,hfe)}var gfe=re(dfe,[["render",vfe],["__file","close-bold.vue"]]),mfe={name:"Close"},yfe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_fe=N("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"},null,-1),bfe=[_fe];function wfe(e,t,r,n,a,i){return I(),$("svg",yfe,bfe)}var Ii=re(mfe,[["render",wfe],["__file","close.vue"]]),Sfe={name:"Cloudy"},Efe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Cfe=N("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872zm-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"},null,-1),Tfe=[Cfe];function xfe(e,t,r,n,a,i){return I(),$("svg",Efe,Tfe)}var Afe=re(Sfe,[["render",xfe],["__file","cloudy.vue"]]),kfe={name:"CoffeeCup"},Ife={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Rfe=N("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 32v32zm0 64v256a128 128 0 1 0 0-256zM96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64zm32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192H128z"},null,-1),Mfe=[Rfe];function Lfe(e,t,r,n,a,i){return I(),$("svg",Ife,Mfe)}var Dfe=re(kfe,[["render",Lfe],["__file","coffee-cup.vue"]]),Ofe={name:"Coffee"},Nfe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Pfe=N("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.304L822.592 192zm-64.128 0 4.544-64H260.736l4.544 64h493.184zm-548.16 128H820.48l-10.688-64H214.208l-10.688 64h6.784zm68.736 64 36.544 512H708.16l36.544-512H279.04z"},null,-1),$fe=[Pfe];function Bfe(e,t,r,n,a,i){return I(),$("svg",Nfe,$fe)}var Ffe=re(Ofe,[["render",Bfe],["__file","coffee.vue"]]),zfe={name:"Coin"},Vfe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Hfe=N("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"},null,-1),Ufe=N("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"},null,-1),Gfe=N("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 224zm0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160z"},null,-1),Wfe=[Hfe,Ufe,Gfe];function Kfe(e,t,r,n,a,i){return I(),$("svg",Vfe,Wfe)}var Yfe=re(zfe,[["render",Kfe],["__file","coin.vue"]]),qfe={name:"ColdDrink"},jfe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Xfe=N("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 64zM656.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.928H299.008z"},null,-1),Zfe=[Xfe];function Qfe(e,t,r,n,a,i){return I(),$("svg",jfe,Zfe)}var Jfe=re(qfe,[["render",Qfe],["__file","cold-drink.vue"]]),epe={name:"CollectionTag"},tpe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},rpe=N("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128H256zm-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-32z"},null,-1),npe=[rpe];function ape(e,t,r,n,a,i){return I(),$("svg",tpe,npe)}var ipe=re(epe,[["render",ape],["__file","collection-tag.vue"]]),ope={name:"Collection"},spe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},lpe=N("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64v544zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64z"},null,-1),upe=N("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96H240zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224zm144-608v250.88l96-76.8 96 76.8V128H384zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44V64z"},null,-1),cpe=[lpe,upe];function dpe(e,t,r,n,a,i){return I(),$("svg",spe,cpe)}var fpe=re(ope,[["render",dpe],["__file","collection.vue"]]),ppe={name:"Comment"},hpe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},vpe=N("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112zm-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112zm-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112zM128 128v640h192v160l224-160h352V128H128z"},null,-1),gpe=[vpe];function mpe(e,t,r,n,a,i){return I(),$("svg",hpe,gpe)}var ype=re(ppe,[["render",mpe],["__file","comment.vue"]]),_pe={name:"Compass"},bpe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},wpe=N("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Spe=N("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.832z"},null,-1),Epe=[wpe,Spe];function Cpe(e,t,r,n,a,i){return I(),$("svg",bpe,Epe)}var Tpe=re(_pe,[["render",Cpe],["__file","compass.vue"]]),xpe={name:"Connection"},Ape={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},kpe=N("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-192h192z"},null,-1),Ipe=N("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 192H384z"},null,-1),Rpe=[kpe,Ipe];function Mpe(e,t,r,n,a,i){return I(),$("svg",Ape,Rpe)}var Lpe=re(xpe,[["render",Mpe],["__file","connection.vue"]]),Dpe={name:"Coordinate"},Ope={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Npe=N("path",{fill:"currentColor",d:"M480 512h64v320h-64z"},null,-1),Ppe=N("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64zm64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128zm256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384zm0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512z"},null,-1),$pe=[Npe,Ppe];function Bpe(e,t,r,n,a,i){return I(),$("svg",Ope,$pe)}var Fpe=re(Dpe,[["render",Bpe],["__file","coordinate.vue"]]),zpe={name:"CopyDocument"},Vpe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Hpe=N("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-64h64z"},null,-1),Upe=N("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-64H384zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64z"},null,-1),Gpe=[Hpe,Upe];function Wpe(e,t,r,n,a,i){return I(),$("svg",Vpe,Gpe)}var Kpe=re(zpe,[["render",Wpe],["__file","copy-document.vue"]]),Ype={name:"Cpu"},qpe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},jpe=N("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-64H320zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128z"},null,-1),Xpe=N("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32zm160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32zm-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32zm160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32zm160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32zm-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32zM64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32zm0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32zm0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32zm896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32zm0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32zm0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32z"},null,-1),Zpe=[jpe,Xpe];function Qpe(e,t,r,n,a,i){return I(),$("svg",qpe,Zpe)}var Jpe=re(Ype,[["render",Qpe],["__file","cpu.vue"]]),ehe={name:"CreditCard"},the={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},rhe=N("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.416V324.096zm64 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"},null,-1),nhe=N("path",{fill:"currentColor",d:"M64 320h896v64H64v-64zm0 128h896v64H64v-64zm128 192h256v64H192z"},null,-1),ahe=[rhe,nhe];function ihe(e,t,r,n,a,i){return I(),$("svg",the,ahe)}var ohe=re(ehe,[["render",ihe],["__file","credit-card.vue"]]),she={name:"Crop"},lhe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},uhe=N("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0v672z"},null,-1),che=N("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32z"},null,-1),dhe=[uhe,che];function fhe(e,t,r,n,a,i){return I(),$("svg",lhe,dhe)}var phe=re(she,[["render",fhe],["__file","crop.vue"]]),hhe={name:"DArrowLeft"},vhe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ghe=N("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"},null,-1),mhe=[ghe];function yhe(e,t,r,n,a,i){return I(),$("svg",vhe,mhe)}var sd=re(hhe,[["render",yhe],["__file","d-arrow-left.vue"]]),_he={name:"DArrowRight"},bhe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},whe=N("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.688zm-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"},null,-1),She=[whe];function Ehe(e,t,r,n,a,i){return I(),$("svg",bhe,She)}var ld=re(_he,[["render",Ehe],["__file","d-arrow-right.vue"]]),Che={name:"DCaret"},The={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},xhe=N("path",{fill:"currentColor",d:"m512 128 288 320H224l288-320zM224 576h576L512 896 224 576z"},null,-1),Ahe=[xhe];function khe(e,t,r,n,a,i){return I(),$("svg",The,Ahe)}var Ihe=re(Che,[["render",khe],["__file","d-caret.vue"]]),Rhe={name:"DataAnalysis"},Mhe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Lhe=N("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 32H665.216zM832 192H192v512h640V192zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32zm160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32zm160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32z"},null,-1),Dhe=[Lhe];function Ohe(e,t,r,n,a,i){return I(),$("svg",Mhe,Dhe)}var Nhe=re(Rhe,[["render",Ohe],["__file","data-analysis.vue"]]),Phe={name:"DataBoard"},$he={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Bhe=N("path",{fill:"currentColor",d:"M32 128h960v64H32z"},null,-1),Fhe=N("path",{fill:"currentColor",d:"M192 192v512h640V192H192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V128z"},null,-1),zhe=N("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32L322.176 960zm453.888 0h-73.856L576 741.44l55.424-32L776.064 960z"},null,-1),Vhe=[Bhe,Fhe,zhe];function Hhe(e,t,r,n,a,i){return I(),$("svg",$he,Vhe)}var Uhe=re(Phe,[["render",Hhe],["__file","data-board.vue"]]),Ghe={name:"DataLine"},Whe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Khe=N("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.32l110.848-192zM832 192H192v512h640V192zM342.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"},null,-1),Yhe=[Khe];function qhe(e,t,r,n,a,i){return I(),$("svg",Whe,Yhe)}var jhe=re(Ghe,[["render",qhe],["__file","data-line.vue"]]),Xhe={name:"DeleteFilled"},Zhe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Qhe=N("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-64h256zm64 0h192v-64H416v64zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32H192zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32zm192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32z"},null,-1),Jhe=[Qhe];function eve(e,t,r,n,a,i){return I(),$("svg",Zhe,Jhe)}var tve=re(Xhe,[["render",eve],["__file","delete-filled.vue"]]),rve={name:"DeleteLocation"},nve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ave=N("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32z"},null,-1),ive=N("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 416zM512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544z"},null,-1),ove=N("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32z"},null,-1),sve=[ave,ive,ove];function lve(e,t,r,n,a,i){return I(),$("svg",nve,sve)}var uve=re(rve,[["render",lve],["__file","delete-location.vue"]]),cve={name:"Delete"},dve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},fve=N("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-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"},null,-1),pve=[fve];function hve(e,t,r,n,a,i){return I(),$("svg",dve,pve)}var t7=re(cve,[["render",hve],["__file","delete.vue"]]),vve={name:"Dessert"},gve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},mve=N("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 416zm287.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.48zm339.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 736zM384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64z"},null,-1),yve=[mve];function _ve(e,t,r,n,a,i){return I(),$("svg",gve,yve)}var bve=re(vve,[["render",_ve],["__file","dessert.vue"]]),wve={name:"Discount"},Sve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Eve=N("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336V704zm0 64v128h576V768H224zM593.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"},null,-1),Cve=N("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128zm0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256z"},null,-1),Tve=[Eve,Cve];function xve(e,t,r,n,a,i){return I(),$("svg",Sve,Tve)}var Ave=re(wve,[["render",xve],["__file","discount.vue"]]),kve={name:"DishDot"},Ive={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Rve=N("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-64zm32-128h768a384 384 0 1 0-768 0zm447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256h127.68z"},null,-1),Mve=[Rve];function Lve(e,t,r,n,a,i){return I(),$("svg",Ive,Mve)}var Dve=re(kve,[["render",Lve],["__file","dish-dot.vue"]]),Ove={name:"Dish"},Nve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Pve=N("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.152zM128 704h768a384 384 0 1 0-768 0zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64z"},null,-1),$ve=[Pve];function Bve(e,t,r,n,a,i){return I(),$("svg",Nve,$ve)}var Fve=re(Ove,[["render",Bve],["__file","dish.vue"]]),zve={name:"DocumentAdd"},Vve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Hve=N("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm320 512V448h64v128h128v64H544v128h-64V640H352v-64h128z"},null,-1),Uve=[Hve];function Gve(e,t,r,n,a,i){return I(),$("svg",Vve,Uve)}var Wve=re(zve,[["render",Gve],["__file","document-add.vue"]]),Kve={name:"DocumentChecked"},Yve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},qve=N("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320h165.504zM832 384H576V128H192v768h640V384zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312L478.4 646.144z"},null,-1),jve=[qve];function Xve(e,t,r,n,a,i){return I(),$("svg",Yve,jve)}var Zve=re(Kve,[["render",Xve],["__file","document-checked.vue"]]),Qve={name:"DocumentCopy"},Jve={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ege=N("path",{fill:"currentColor",d:"M128 320v576h576V320H128zm-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-32zM960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32zM256 672h320v64H256v-64zm0-192h320v64H256v-64z"},null,-1),tge=[ege];function rge(e,t,r,n,a,i){return I(),$("svg",Jve,tge)}var nge=re(Qve,[["render",rge],["__file","document-copy.vue"]]),age={name:"DocumentDelete"},ige={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},oge=N("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320h165.504zM832 384H576V128H192v768h640V384zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm308.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"},null,-1),sge=[oge];function lge(e,t,r,n,a,i){return I(),$("svg",ige,sge)}var uge=re(age,[["render",lge],["__file","document-delete.vue"]]),cge={name:"DocumentRemove"},dge={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},fge=N("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320h165.504zM832 384H576V128H192v768h640V384zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm192 512h320v64H352v-64z"},null,-1),pge=[fge];function hge(e,t,r,n,a,i){return I(),$("svg",dge,pge)}var vge=re(cge,[["render",hge],["__file","document-remove.vue"]]),gge={name:"Document"},mge={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},yge=N("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"},null,-1),_ge=[yge];function bge(e,t,r,n,a,i){return I(),$("svg",mge,_ge)}var r7=re(gge,[["render",bge],["__file","document.vue"]]),wge={name:"Download"},Sge={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ege=N("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64v450.304z"},null,-1),Cge=[Ege];function Tge(e,t,r,n,a,i){return I(),$("svg",Sge,Cge)}var xge=re(wge,[["render",Tge],["__file","download.vue"]]),Age={name:"Drizzling"},kge={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ige=N("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 480zM288 800h64v64h-64v-64zm192 0h64v64h-64v-64zm-96 96h64v64h-64v-64zm192 0h64v64h-64v-64zm96-96h64v64h-64v-64z"},null,-1),Rge=[Ige];function Mge(e,t,r,n,a,i){return I(),$("svg",kge,Rge)}var Lge=re(Age,[["render",Mge],["__file","drizzling.vue"]]),Dge={name:"EditPen"},Oge={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Nge=N("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.696L175.168 732.8zM455.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.336L104.32 708.8zm384 254.272v-64h448v64h-448z"},null,-1),Pge=[Nge];function $ge(e,t,r,n,a,i){return I(),$("svg",Oge,Pge)}var Bge=re(Dge,[["render",$ge],["__file","edit-pen.vue"]]),Fge={name:"Edit"},zge={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Vge=N("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 64H192v640h640V512z"},null,-1),Hge=N("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"},null,-1),Uge=[Vge,Hge];function Gge(e,t,r,n,a,i){return I(),$("svg",zge,Uge)}var Wge=re(Fge,[["render",Gge],["__file","edit.vue"]]),Kge={name:"ElemeFilled"},Yge={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},qge=N("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-112zm150.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"},null,-1),jge=[qge];function Xge(e,t,r,n,a,i){return I(),$("svg",Yge,jge)}var Zge=re(Kge,[["render",Xge],["__file","eleme-filled.vue"]]),Qge={name:"Eleme"},Jge={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},eme=N("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"},null,-1),tme=[eme];function rme(e,t,r,n,a,i){return I(),$("svg",Jge,tme)}var nme=re(Qge,[["render",rme],["__file","eleme.vue"]]),ame={name:"ElementPlus"},ime={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ome=N("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.8zM714.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"},null,-1),sme=[ome];function lme(e,t,r,n,a,i){return I(),$("svg",ime,sme)}var ume=re(ame,[["render",lme],["__file","element-plus.vue"]]),cme={name:"Expand"},dme={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},fme=N("path",{fill:"currentColor",d:"M128 192h768v128H128V192zm0 256h512v128H128V448zm0 256h768v128H128V704zm576-352 192 160-192 128V352z"},null,-1),pme=[fme];function hme(e,t,r,n,a,i){return I(),$("svg",dme,pme)}var vme=re(cme,[["render",hme],["__file","expand.vue"]]),gme={name:"Failed"},mme={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},yme=N("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 192h160v736H160V192h160v64h384v-64zm-320 0V96h256v96H384z"},null,-1),_me=[yme];function bme(e,t,r,n,a,i){return I(),$("svg",mme,_me)}var wme=re(gme,[["render",bme],["__file","failed.vue"]]),Sme={name:"Female"},Eme={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Cme=N("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512zm0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640z"},null,-1),Tme=N("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32z"},null,-1),xme=N("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32z"},null,-1),Ame=[Cme,Tme,xme];function kme(e,t,r,n,a,i){return I(),$("svg",Eme,Ame)}var Ime=re(Sme,[["render",kme],["__file","female.vue"]]),Rme={name:"Files"},Mme={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Lme=N("path",{fill:"currentColor",d:"M128 384v448h768V384H128zm-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-32zm64-128h704v64H160zm96-128h512v64H256z"},null,-1),Dme=[Lme];function Ome(e,t,r,n,a,i){return I(),$("svg",Mme,Dme)}var Nme=re(Rme,[["render",Ome],["__file","files.vue"]]),Pme={name:"Film"},$me={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Bme=N("path",{fill:"currentColor",d:"M160 160v704h704V160H160zm-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-32z"},null,-1),Fme=N("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64h192z"},null,-1),zme=[Bme,Fme];function Vme(e,t,r,n,a,i){return I(),$("svg",$me,zme)}var Hme=re(Pme,[["render",Vme],["__file","film.vue"]]),Ume={name:"Filter"},Gme={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Wme=N("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.288L384 523.392z"},null,-1),Kme=[Wme];function Yme(e,t,r,n,a,i){return I(),$("svg",Gme,Kme)}var qme=re(Ume,[["render",Yme],["__file","filter.vue"]]),jme={name:"Finished"},Xme={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Zme=N("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 64H736zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64H608zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64H480z"},null,-1),Qme=[Zme];function Jme(e,t,r,n,a,i){return I(),$("svg",Xme,Qme)}var e0e=re(jme,[["render",Jme],["__file","finished.vue"]]),t0e={name:"FirstAidKit"},r0e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},n0e=N("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-64H192zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128z"},null,-1),a0e=N("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 0v96zM352 128v64h320v-64H352zm-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-32z"},null,-1),i0e=[n0e,a0e];function o0e(e,t,r,n,a,i){return I(),$("svg",r0e,i0e)}var s0e=re(t0e,[["render",o0e],["__file","first-aid-kit.vue"]]),l0e={name:"Flag"},u0e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},c0e=N("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96v64z"},null,-1),d0e=[c0e];function f0e(e,t,r,n,a,i){return I(),$("svg",u0e,d0e)}var p0e=re(l0e,[["render",f0e],["__file","flag.vue"]]),h0e={name:"Fold"},v0e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},g0e=N("path",{fill:"currentColor",d:"M896 192H128v128h768V192zm0 256H384v128h512V448zm0 256H128v128h768V704zM320 384 128 512l192 128V384z"},null,-1),m0e=[g0e];function y0e(e,t,r,n,a,i){return I(),$("svg",v0e,m0e)}var _0e=re(h0e,[["render",y0e],["__file","fold.vue"]]),b0e={name:"FolderAdd"},w0e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},S0e=N("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192H128zm-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-32zm384 416V416h64v128h128v64H544v128h-64V608H352v-64h128z"},null,-1),E0e=[S0e];function C0e(e,t,r,n,a,i){return I(),$("svg",w0e,E0e)}var T0e=re(b0e,[["render",C0e],["__file","folder-add.vue"]]),x0e={name:"FolderChecked"},A0e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},k0e=N("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192H128zm-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-32zm414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312L510.08 630.144z"},null,-1),I0e=[k0e];function R0e(e,t,r,n,a,i){return I(),$("svg",A0e,I0e)}var M0e=re(x0e,[["render",R0e],["__file","folder-checked.vue"]]),L0e={name:"FolderDelete"},D0e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},O0e=N("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192H128zm-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-32zm370.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.248L466.752 576z"},null,-1),N0e=[O0e];function P0e(e,t,r,n,a,i){return I(),$("svg",D0e,N0e)}var $0e=re(L0e,[["render",P0e],["__file","folder-delete.vue"]]),B0e={name:"FolderOpened"},F0e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},z0e=N("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 384H832zm-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 896z"},null,-1),V0e=[z0e];function H0e(e,t,r,n,a,i){return I(),$("svg",F0e,V0e)}var U0e=re(B0e,[["render",H0e],["__file","folder-opened.vue"]]),G0e={name:"FolderRemove"},W0e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},K0e=N("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192H128zm-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-32zm256 416h320v64H352v-64z"},null,-1),Y0e=[K0e];function q0e(e,t,r,n,a,i){return I(),$("svg",W0e,Y0e)}var j0e=re(G0e,[["render",q0e],["__file","folder-remove.vue"]]),X0e={name:"Folder"},Z0e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Q0e=N("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192H128zm-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-32z"},null,-1),J0e=[Q0e];function eye(e,t,r,n,a,i){return I(),$("svg",Z0e,J0e)}var tye=re(X0e,[["render",eye],["__file","folder.vue"]]),rye={name:"Food"},nye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},aye=N("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 0zm128 0h192a96 96 0 0 0-192 0zm439.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 352zM672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32v-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 288z"},null,-1),iye=[aye];function oye(e,t,r,n,a,i){return I(),$("svg",nye,iye)}var sye=re(rye,[["render",oye],["__file","food.vue"]]),lye={name:"Football"},uye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},cye=N("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896zm0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768z"},null,-1),dye=N("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 0zm-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 0l-11.136-63.104zm-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"},null,-1),fye=[cye,dye];function pye(e,t,r,n,a,i){return I(),$("svg",uye,fye)}var hye=re(lye,[["render",pye],["__file","football.vue"]]),vye={name:"ForkSpoon"},gye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},mye=N("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 0V572.48zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192z"},null,-1),yye=[mye];function _ye(e,t,r,n,a,i){return I(),$("svg",gye,yye)}var bye=re(vye,[["render",_ye],["__file","fork-spoon.vue"]]),wye={name:"Fries"},Sye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Eye=N("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096V224zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160h37.12zm74.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 224v160h-16zM670.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.464V512h-1.216zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480V288zm-128 96V224a32 32 0 0 0-64 0v160h64-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 704H253.12z"},null,-1),Cye=[Eye];function Tye(e,t,r,n,a,i){return I(),$("svg",Sye,Cye)}var xye=re(wye,[["render",Tye],["__file","fries.vue"]]),Aye={name:"FullScreen"},kye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Iye=N("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64l-192 .192zM864 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-64v-.064z"},null,-1),Rye=[Iye];function Mye(e,t,r,n,a,i){return I(),$("svg",kye,Rye)}var n7=re(Aye,[["render",Mye],["__file","full-screen.vue"]]),Lye={name:"GobletFull"},Dye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Oye=N("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320zm503.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.4z"},null,-1),Nye=[Oye];function Pye(e,t,r,n,a,i){return I(),$("svg",Dye,Nye)}var $ye=re(Lye,[["render",Pye],["__file","goblet-full.vue"]]),Bye={name:"GobletSquareFull"},Fye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},zye=N("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-64h96V638.848z"},null,-1),Vye=[zye];function Hye(e,t,r,n,a,i){return I(),$("svg",Fye,Vye)}var Uye=re(Bye,[["render",Hye],["__file","goblet-square-full.vue"]]),Gye={name:"GobletSquare"},Wye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Kye=N("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.912zM256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256v191.68z"},null,-1),Yye=[Kye];function qye(e,t,r,n,a,i){return I(),$("svg",Wye,Yye)}var jye=re(Gye,[["render",qye],["__file","goblet-square.vue"]]),Xye={name:"Goblet"},Zye={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Qye=N("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.4zM256 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 320z"},null,-1),Jye=[Qye];function e1e(e,t,r,n,a,i){return I(),$("svg",Zye,Jye)}var t1e=re(Xye,[["render",e1e],["__file","goblet.vue"]]),r1e={name:"GoldMedal"},n1e={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},a1e=N("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.79V128h128zm-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 128H384zm308.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"},null,-1),i1e=N("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"},null,-1),o1e=[a1e,i1e];function s1e(e,t,r,n,a,i){return I(),$("svg",n1e,o1e)}var l1e=re(r1e,[["render",s1e],["__file","gold-medal.vue"]]),u1e={name:"GoodsFilled"},c1e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},d1e=N("path",{fill:"currentColor",d:"M192 352h640l64 544H128l64-544zm128 224h64V448h-64v128zm320 0h64V448h-64v128zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0z"},null,-1),f1e=[d1e];function p1e(e,t,r,n,a,i){return I(),$("svg",c1e,f1e)}var h1e=re(u1e,[["render",p1e],["__file","goods-filled.vue"]]),v1e={name:"Goods"},g1e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},m1e=N("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 0v-96z"},null,-1),y1e=[m1e];function _1e(e,t,r,n,a,i){return I(),$("svg",g1e,y1e)}var b1e=re(v1e,[["render",_1e],["__file","goods.vue"]]),w1e={name:"Grape"},S1e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},E1e=N("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-64v67.2zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192zm-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192zm128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192zm128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192zm128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192zm128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192z"},null,-1),C1e=[E1e];function T1e(e,t,r,n,a,i){return I(),$("svg",S1e,C1e)}var x1e=re(w1e,[["render",T1e],["__file","grape.vue"]]),A1e={name:"Grid"},k1e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},I1e=N("path",{fill:"currentColor",d:"M640 384v256H384V384h256zm64 0h192v256H704V384zm-64 512H384V704h256v192zm64 0V704h192v192H704zm-64-768v192H384V128h256zm64 0h192v192H704V128zM320 384v256H128V384h192zm0 512H128V704h192v192zm0-768v192H128V128h192z"},null,-1),R1e=[I1e];function M1e(e,t,r,n,a,i){return I(),$("svg",k1e,R1e)}var L1e=re(A1e,[["render",M1e],["__file","grid.vue"]]),D1e={name:"Guide"},O1e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},N1e=N("path",{fill:"currentColor",d:"M640 608h-64V416h64v192zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768h64zM384 608V416h64v192h-64zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32v160z"},null,-1),P1e=N("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 192zm678.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"},null,-1),$1e=[N1e,P1e];function B1e(e,t,r,n,a,i){return I(),$("svg",O1e,$1e)}var F1e=re(D1e,[["render",B1e],["__file","guide.vue"]]),z1e={name:"Handbag"},V1e={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},H1e=N("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.01zM421.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.5zM832 896H192V320h128v128h64V320h256v128h64V320h128v576z"},null,-1),U1e=[H1e];function G1e(e,t,r,n,a,i){return I(),$("svg",V1e,U1e)}var W1e=re(z1e,[["render",G1e],["__file","handbag.vue"]]),K1e={name:"Headset"},Y1e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},q1e=N("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.848zM896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0V640zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0z"},null,-1),j1e=[q1e];function X1e(e,t,r,n,a,i){return I(),$("svg",Y1e,j1e)}var Z1e=re(K1e,[["render",X1e],["__file","headset.vue"]]),Q1e={name:"HelpFilled"},J1e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},e2e=N("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 480zm0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544h225.472zM97.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"},null,-1),t2e=[e2e];function r2e(e,t,r,n,a,i){return I(),$("svg",J1e,t2e)}var n2e=re(Q1e,[["render",r2e],["__file","help-filled.vue"]]),a2e={name:"Help"},i2e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},o2e=N("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.752zm45.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.992l-91.008-90.944zm417.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 896z"},null,-1),s2e=[o2e];function l2e(e,t,r,n,a,i){return I(),$("svg",i2e,s2e)}var u2e=re(a2e,[["render",l2e],["__file","help.vue"]]),c2e={name:"Hide"},d2e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},f2e=N("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.2L371.2 588.8ZM889.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"},null,-1),p2e=N("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"},null,-1),h2e=[f2e,p2e];function v2e(e,t,r,n,a,i){return I(),$("svg",d2e,h2e)}var a7=re(c2e,[["render",v2e],["__file","hide.vue"]]),g2e={name:"Histogram"},m2e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},y2e=N("path",{fill:"currentColor",d:"M416 896V128h192v768H416zm-288 0V448h192v448H128zm576 0V320h192v576H704z"},null,-1),_2e=[y2e];function b2e(e,t,r,n,a,i){return I(),$("svg",m2e,_2e)}var w2e=re(g2e,[["render",b2e],["__file","histogram.vue"]]),S2e={name:"HomeFilled"},E2e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},C2e=N("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"},null,-1),T2e=[C2e];function x2e(e,t,r,n,a,i){return I(),$("svg",E2e,T2e)}var A2e=re(S2e,[["render",x2e],["__file","home-filled.vue"]]),k2e={name:"HotWater"},I2e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},R2e=N("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067v68.267zm0 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.133zm273.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.133zM170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267z"},null,-1),M2e=[R2e];function L2e(e,t,r,n,a,i){return I(),$("svg",I2e,M2e)}var D2e=re(k2e,[["render",L2e],["__file","hot-water.vue"]]),O2e={name:"House"},N2e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},P2e=N("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328 192 413.952zM139.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.576z"},null,-1),$2e=[P2e];function B2e(e,t,r,n,a,i){return I(),$("svg",N2e,$2e)}var F2e=re(O2e,[["render",B2e],["__file","house.vue"]]),z2e={name:"IceCreamRound"},V2e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},H2e=N("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.248L398.848 670.4zm248.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"},null,-1),U2e=[H2e];function G2e(e,t,r,n,a,i){return I(),$("svg",V2e,U2e)}var W2e=re(z2e,[["render",G2e],["__file","ice-cream-round.vue"]]),K2e={name:"IceCreamSquare"},Y2e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},q2e=N("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 32h64zm192 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 96h-64zm-64 0h-64v160a32 32 0 1 0 64 0V704z"},null,-1),j2e=[q2e];function X2e(e,t,r,n,a,i){return I(),$("svg",Y2e,j2e)}var Z2e=re(K2e,[["render",X2e],["__file","ice-cream-square.vue"]]),Q2e={name:"IceCream"},J2e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},e_e=N("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 448h.64zm64.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.56z"},null,-1),t_e=[e_e];function r_e(e,t,r,n,a,i){return I(),$("svg",J2e,t_e)}var n_e=re(Q2e,[["render",r_e],["__file","ice-cream.vue"]]),a_e={name:"IceDrink"},i_e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},o_e=N("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128H512zm-64 0H256.256l16.064 128H448V448zm64-255.36V384h247.744A256.128 256.128 0 0 0 512 192.64zm-64 8.064A256.448 256.448 0 0 0 264.256 384H448V200.704zm64-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 32v32.64zM743.68 640H280.32l32.128 256h399.104l32.128-256z"},null,-1),s_e=[o_e];function l_e(e,t,r,n,a,i){return I(),$("svg",i_e,s_e)}var u_e=re(a_e,[["render",l_e],["__file","ice-drink.vue"]]),c_e={name:"IceTea"},d_e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},f_e=N("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.352zM264.064 256h495.872a256.128 256.128 0 0 0-495.872 0zm495.424 256H264.512l48 384h398.976l48-384zM224 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 32zm160 192h64v64h-64v-64zm192 64h64v64h-64v-64zm-128 64h64v64h-64v-64zm64-192h64v64h-64v-64z"},null,-1),p_e=[f_e];function h_e(e,t,r,n,a,i){return I(),$("svg",d_e,p_e)}var v_e=re(c_e,[["render",h_e],["__file","ice-tea.vue"]]),g_e={name:"InfoFilled"},m_e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},y_e=N("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.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.344zM590.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"},null,-1),__e=[y_e];function b_e(e,t,r,n,a,i){return I(),$("svg",m_e,__e)}var __=re(g_e,[["render",b_e],["__file","info-filled.vue"]]),w_e={name:"Iphone"},S_e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},E_e=N("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768H224zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64v544zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96H256zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0z"},null,-1),C_e=[E_e];function T_e(e,t,r,n,a,i){return I(),$("svg",S_e,C_e)}var x_e=re(w_e,[["render",T_e],["__file","iphone.vue"]]),A_e={name:"Key"},k_e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},I_e=N("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.064zM512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384z"},null,-1),R_e=[I_e];function M_e(e,t,r,n,a,i){return I(),$("svg",k_e,R_e)}var L_e=re(A_e,[["render",M_e],["__file","key.vue"]]),D_e={name:"KnifeFork"},O_e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},N_e=N("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.56zm384-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 288H640z"},null,-1),P_e=[N_e];function $_e(e,t,r,n,a,i){return I(),$("svg",O_e,P_e)}var B_e=re(D_e,[["render",$_e],["__file","knife-fork.vue"]]),F_e={name:"Lightning"},z_e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},V_e=N("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"},null,-1),H_e=N("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 736H416z"},null,-1),U_e=[V_e,H_e];function G_e(e,t,r,n,a,i){return I(),$("svg",z_e,U_e)}var W_e=re(F_e,[["render",G_e],["__file","lightning.vue"]]),K_e={name:"Link"},Y_e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},q_e=N("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.496 45.248 45.248zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152 625.152 353.6z"},null,-1),j_e=[q_e];function X_e(e,t,r,n,a,i){return I(),$("svg",Y_e,j_e)}var Z_e=re(K_e,[["render",X_e],["__file","link.vue"]]),Q_e={name:"List"},J_e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ebe=N("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384v-64zM288 512h448v-64H288v64zm0 256h448v-64H288v64zm96-576V96h256v96H384z"},null,-1),tbe=[ebe];function rbe(e,t,r,n,a,i){return I(),$("svg",J_e,tbe)}var nbe=re(Q_e,[["render",rbe],["__file","list.vue"]]),abe={name:"Loading"},ibe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},obe=N("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.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 0zm-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"},null,-1),sbe=[obe];function lbe(e,t,r,n,a,i){return I(),$("svg",ibe,sbe)}var Zs=re(abe,[["render",lbe],["__file","loading.vue"]]),ube={name:"LocationFilled"},cbe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},dbe=N("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 928zm0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128zm0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6z"},null,-1),fbe=[dbe];function pbe(e,t,r,n,a,i){return I(),$("svg",cbe,fbe)}var hbe=re(ube,[["render",pbe],["__file","location-filled.vue"]]),vbe={name:"LocationInformation"},gbe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},mbe=N("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32z"},null,-1),ybe=N("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 416zM512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544z"},null,-1),_be=N("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192zm0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320z"},null,-1),bbe=[mbe,ybe,_be];function wbe(e,t,r,n,a,i){return I(),$("svg",gbe,bbe)}var Sbe=re(vbe,[["render",wbe],["__file","location-information.vue"]]),Ebe={name:"Location"},Cbe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Tbe=N("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 416zM512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544z"},null,-1),xbe=N("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192zm0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320z"},null,-1),Abe=[Tbe,xbe];function kbe(e,t,r,n,a,i){return I(),$("svg",Cbe,Abe)}var Ibe=re(Ebe,[["render",kbe],["__file","location.vue"]]),Rbe={name:"Lock"},Mbe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Lbe=N("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-32H224zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96z"},null,-1),Dbe=N("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32zm192-160v-64a192 192 0 1 0-384 0v64h384zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64z"},null,-1),Obe=[Lbe,Dbe];function Nbe(e,t,r,n,a,i){return I(),$("svg",Mbe,Obe)}var Pbe=re(Rbe,[["render",Nbe],["__file","lock.vue"]]),$be={name:"Lollipop"},Bbe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Fbe=N("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 0h1.28zm-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.696zm105.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"},null,-1),zbe=[Fbe];function Vbe(e,t,r,n,a,i){return I(),$("svg",Bbe,zbe)}var Hbe=re($be,[["render",Vbe],["__file","lollipop.vue"]]),Ube={name:"MagicStick"},Gbe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Wbe=N("path",{fill:"currentColor",d:"M512 64h64v192h-64V64zm0 576h64v192h-64V640zM160 480v-64h192v64H160zm576 0v-64h192v64H736zM249.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.248L657.152 606.4zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248-316.8 316.8zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248L702.4 334.848z"},null,-1),Kbe=[Wbe];function Ybe(e,t,r,n,a,i){return I(),$("svg",Gbe,Kbe)}var qbe=re(Ube,[["render",Ybe],["__file","magic-stick.vue"]]),jbe={name:"Magnet"},Xbe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Zbe=N("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64h128zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0z"},null,-1),Qbe=[Zbe];function Jbe(e,t,r,n,a,i){return I(),$("svg",Xbe,Qbe)}var ewe=re(jbe,[["render",Jbe],["__file","magnet.vue"]]),twe={name:"Male"},rwe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},nwe=N("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450zm0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5zm253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125z"},null,-1),awe=N("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.125z"},null,-1),iwe=N("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"},null,-1),owe=[nwe,awe,iwe];function swe(e,t,r,n,a,i){return I(),$("svg",rwe,owe)}var lwe=re(twe,[["render",swe],["__file","male.vue"]]),uwe={name:"Management"},cwe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},dwe=N("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128h256zm-448 0h128v768H128V128z"},null,-1),fwe=[dwe];function pwe(e,t,r,n,a,i){return I(),$("svg",cwe,fwe)}var hwe=re(uwe,[["render",pwe],["__file","management.vue"]]),vwe={name:"MapLocation"},gwe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},mwe=N("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 416zM512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544z"},null,-1),ywe=N("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128zm0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256zm345.6 192L960 960H672v-64H352v64H64l102.4-256h691.2zm-68.928 0H235.328l-76.8 192h706.944l-76.8-192z"},null,-1),_we=[mwe,ywe];function bwe(e,t,r,n,a,i){return I(),$("svg",gwe,_we)}var wwe=re(vwe,[["render",bwe],["__file","map-location.vue"]]),Swe={name:"Medal"},Ewe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Cwe=N("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512zm0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640z"},null,-1),Twe=N("path",{fill:"currentColor",d:"M576 128H448v200a286.72 286.72 0 0 1 64-8c19.52 0 40.832 2.688 64 8V128zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128H640zm-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 64z"},null,-1),xwe=[Cwe,Twe];function Awe(e,t,r,n,a,i){return I(),$("svg",Ewe,xwe)}var kwe=re(Swe,[["render",Awe],["__file","medal.vue"]]),Iwe={name:"Memo"},Rwe={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},Mwe=N("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 32z"},null,-1),Lwe=N("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.01zM192 896V128h96v768h-96zm640 0H352V128h480v768z"},null,-1),Dwe=N("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 32zm0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32z"},null,-1),Owe=[Mwe,Lwe,Dwe];function Nwe(e,t,r,n,a,i){return I(),$("svg",Rwe,Owe)}var Pwe=re(Iwe,[["render",Nwe],["__file","memo.vue"]]),$we={name:"Menu"},Bwe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Fwe=N("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 32H160zm448 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 32H608zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32H160zm448 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 32H608z"},null,-1),zwe=[Fwe];function Vwe(e,t,r,n,a,i){return I(),$("svg",Bwe,zwe)}var Hwe=re($we,[["render",Vwe],["__file","menu.vue"]]),Uwe={name:"MessageBox"},Gwe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Wwe=N("path",{fill:"currentColor",d:"M288 384h448v64H288v-64zm96-128h256v64H384v-64zM131.456 512H384v128h256V512h252.544L721.856 192H302.144L131.456 512zM896 576H704v128H320V576H128v256h768V576zM275.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"},null,-1),Kwe=[Wwe];function Ywe(e,t,r,n,a,i){return I(),$("svg",Gwe,Kwe)}var qwe=re(Uwe,[["render",Ywe],["__file","message-box.vue"]]),jwe={name:"Message"},Xwe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Zwe=N("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224H128zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64z"},null,-1),Qwe=N("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224h784zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224H205.056z"},null,-1),Jwe=[Zwe,Qwe];function eSe(e,t,r,n,a,i){return I(),$("svg",Xwe,Jwe)}var tSe=re(jwe,[["render",eSe],["__file","message.vue"]]),rSe={name:"Mic"},nSe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},aSe=N("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 64h96zm64 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 128h-96z"},null,-1),iSe=[aSe];function oSe(e,t,r,n,a,i){return I(),$("svg",nSe,iSe)}var sSe=re(rSe,[["render",oSe],["__file","mic.vue"]]),lSe={name:"Microphone"},uSe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},cSe=N("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128zm0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64zm-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-64h64z"},null,-1),dSe=[cSe];function fSe(e,t,r,n,a,i){return I(),$("svg",uSe,dSe)}var pSe=re(lSe,[["render",fSe],["__file","microphone.vue"]]),hSe={name:"MilkTea"},vSe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},gSe=N("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 128h192zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320H276.48zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64zm493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12z"},null,-1),mSe=[gSe];function ySe(e,t,r,n,a,i){return I(),$("svg",vSe,mSe)}var _Se=re(hSe,[["render",ySe],["__file","milk-tea.vue"]]),bSe={name:"Minus"},wSe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},SSe=N("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"},null,-1),ESe=[SSe];function CSe(e,t,r,n,a,i){return I(),$("svg",wSe,ESe)}var i7=re(bSe,[["render",CSe],["__file","minus.vue"]]),TSe={name:"Money"},xSe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ASe=N("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.576V640h64z"},null,-1),kSe=N("path",{fill:"currentColor",d:"M768 192H128v448h640V192zm64-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"},null,-1),ISe=N("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320zm0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192z"},null,-1),RSe=[ASe,kSe,ISe];function MSe(e,t,r,n,a,i){return I(),$("svg",xSe,RSe)}var LSe=re(TSe,[["render",MSe],["__file","money.vue"]]),DSe={name:"Monitor"},OSe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},NSe=N("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 128H544zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H192z"},null,-1),PSe=[NSe];function $Se(e,t,r,n,a,i){return I(),$("svg",OSe,PSe)}var BSe=re(DSe,[["render",$Se],["__file","monitor.vue"]]),FSe={name:"MoonNight"},zSe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},VSe=N("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 512zM171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"},null,-1),HSe=N("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32zm128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm160 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"},null,-1),USe=[VSe,HSe];function GSe(e,t,r,n,a,i){return I(),$("svg",zSe,USe)}var WSe=re(FSe,[["render",GSe],["__file","moon-night.vue"]]),KSe={name:"Moon"},YSe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},qSe=N("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.696z"},null,-1),jSe=[qSe];function XSe(e,t,r,n,a,i){return I(),$("svg",YSe,jSe)}var ZSe=re(KSe,[["render",XSe],["__file","moon.vue"]]),QSe={name:"MoreFilled"},JSe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},e4e=N("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224z"},null,-1),t4e=[e4e];function r4e(e,t,r,n,a,i){return I(),$("svg",JSe,t4e)}var l3=re(QSe,[["render",r4e],["__file","more-filled.vue"]]),n4e={name:"More"},a4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},i4e=N("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-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96z"},null,-1),o4e=[i4e];function s4e(e,t,r,n,a,i){return I(),$("svg",a4e,o4e)}var o7=re(n4e,[["render",s4e],["__file","more.vue"]]),l4e={name:"MostlyCloudy"},u4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},c4e=N("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.048zm15.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.72z"},null,-1),d4e=[c4e];function f4e(e,t,r,n,a,i){return I(),$("svg",u4e,d4e)}var p4e=re(l4e,[["render",f4e],["__file","mostly-cloudy.vue"]]),h4e={name:"Mouse"},v4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},g4e=N("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 256H438.144zm0-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"},null,-1),m4e=N("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32zm32-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 96v64z"},null,-1),y4e=[g4e,m4e];function _4e(e,t,r,n,a,i){return I(),$("svg",v4e,y4e)}var b4e=re(h4e,[["render",_4e],["__file","mouse.vue"]]),w4e={name:"Mug"},S4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},E4e=N("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64zm64-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 32v128zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32H800z"},null,-1),C4e=[E4e];function T4e(e,t,r,n,a,i){return I(),$("svg",S4e,C4e)}var x4e=re(w4e,[["render",T4e],["__file","mug.vue"]]),A4e={name:"MuteNotification"},k4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},I4e=N("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 64H241.216zm-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 0z"},null,-1),R4e=N("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"},null,-1),M4e=[I4e,R4e];function L4e(e,t,r,n,a,i){return I(),$("svg",k4e,M4e)}var D4e=re(A4e,[["render",L4e],["__file","mute-notification.vue"]]),O4e={name:"Mute"},N4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},P4e=N("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.128zm51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528l47.808-47.808zM314.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.032zM266.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.288L266.752 737.6z"},null,-1),$4e=N("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"},null,-1),B4e=[P4e,$4e];function F4e(e,t,r,n,a,i){return I(),$("svg",N4e,B4e)}var z4e=re(O4e,[["render",F4e],["__file","mute.vue"]]),V4e={name:"NoSmoking"},H4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},U4e=N("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256l-64 64zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744l64-64zM768 576v128h128V576H768zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"},null,-1),G4e=[U4e];function W4e(e,t,r,n,a,i){return I(),$("svg",H4e,G4e)}var K4e=re(V4e,[["render",W4e],["__file","no-smoking.vue"]]),Y4e={name:"Notebook"},q4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},j4e=N("path",{fill:"currentColor",d:"M192 128v768h640V128H192zm-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-32z"},null,-1),X4e=N("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32zm0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32zm0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32zm0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32z"},null,-1),Z4e=[j4e,X4e];function Q4e(e,t,r,n,a,i){return I(),$("svg",q4e,Z4e)}var J4e=re(Y4e,[["render",Q4e],["__file","notebook.vue"]]),e3e={name:"Notification"},t3e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},r3e=N("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-128h256z"},null,-1),n3e=N("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256zm0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384z"},null,-1),a3e=[r3e,n3e];function i3e(e,t,r,n,a,i){return I(),$("svg",t3e,a3e)}var o3e=re(e3e,[["render",i3e],["__file","notification.vue"]]),s3e={name:"Odometer"},l3e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},u3e=N("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),c3e=N("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 0z"},null,-1),d3e=N("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.928z"},null,-1),f3e=[u3e,c3e,d3e];function p3e(e,t,r,n,a,i){return I(),$("svg",l3e,f3e)}var h3e=re(s3e,[["render",p3e],["__file","odometer.vue"]]),v3e={name:"OfficeBuilding"},g3e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},m3e=N("path",{fill:"currentColor",d:"M192 128v704h384V128H192zm-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-32z"},null,-1),y3e=N("path",{fill:"currentColor",d:"M256 256h256v64H256v-64zm0 192h256v64H256v-64zm0 192h256v64H256v-64zm384-128h128v64H640v-64zm0 128h128v64H640v-64zM64 832h896v64H64v-64z"},null,-1),_3e=N("path",{fill:"currentColor",d:"M640 384v448h192V384H640zm-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-32z"},null,-1),b3e=[m3e,y3e,_3e];function w3e(e,t,r,n,a,i){return I(),$("svg",g3e,b3e)}var S3e=re(v3e,[["render",w3e],["__file","office-building.vue"]]),E3e={name:"Open"},C3e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},T3e=N("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.724H329.956zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"},null,-1),x3e=N("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.454zm0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088z"},null,-1),A3e=[T3e,x3e];function k3e(e,t,r,n,a,i){return I(),$("svg",C3e,A3e)}var I3e=re(E3e,[["render",k3e],["__file","open.vue"]]),R3e={name:"Operation"},M3e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},L3e=N("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-64h261.44zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64h453.44zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64h133.44z"},null,-1),D3e=[L3e];function O3e(e,t,r,n,a,i){return I(),$("svg",M3e,D3e)}var N3e=re(R3e,[["render",O3e],["__file","operation.vue"]]),P3e={name:"Opportunity"},$3e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},B3e=N("path",{fill:"currentColor",d:"M384 960v-64h192.064v64H384zm448-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 416zm-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288h64z"},null,-1),F3e=[B3e];function z3e(e,t,r,n,a,i){return I(),$("svg",$3e,F3e)}var V3e=re(P3e,[["render",z3e],["__file","opportunity.vue"]]),H3e={name:"Orange"},U3e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},G3e=N("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.696l182.912-182.976zM480 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.696V129.344zm-261.248 134.72A382.336 382.336 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024L218.752 264.064zM129.344 544a382.336 382.336 0 0 0 89.408 215.936l182.976-182.912A127.232 127.232 0 0 1 388.032 544H129.344zm134.72 261.248A382.336 382.336 0 0 0 480 894.656V635.968a127.232 127.232 0 0 1-33.024-13.696L264.064 805.248zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896zm0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128z"},null,-1),W3e=[G3e];function K3e(e,t,r,n,a,i){return I(),$("svg",U3e,W3e)}var Y3e=re(H3e,[["render",K3e],["__file","orange.vue"]]),q3e={name:"Paperclip"},j3e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},X3e=N("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"},null,-1),Z3e=[X3e];function Q3e(e,t,r,n,a,i){return I(),$("svg",j3e,Z3e)}var J3e=re(q3e,[["render",Q3e],["__file","paperclip.vue"]]),eEe={name:"PartlyCloudy"},tEe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},rEe=N("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872zm-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"},null,-1),nEe=N("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"},null,-1),aEe=[rEe,nEe];function iEe(e,t,r,n,a,i){return I(),$("svg",tEe,aEe)}var oEe=re(eEe,[["render",iEe],["__file","partly-cloudy.vue"]]),sEe={name:"Pear"},lEe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},uEe=N("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"},null,-1),cEe=[uEe];function dEe(e,t,r,n,a,i){return I(),$("svg",lEe,cEe)}var fEe=re(sEe,[["render",dEe],["__file","pear.vue"]]),pEe={name:"PhoneFilled"},hEe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},vEe=N("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"},null,-1),gEe=[vEe];function mEe(e,t,r,n,a,i){return I(),$("svg",hEe,gEe)}var yEe=re(pEe,[["render",mEe],["__file","phone-filled.vue"]]),_Ee={name:"Phone"},bEe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},wEe=N("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-192zm0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384z"},null,-1),SEe=[wEe];function EEe(e,t,r,n,a,i){return I(),$("svg",bEe,SEe)}var CEe=re(_Ee,[["render",EEe],["__file","phone.vue"]]),TEe={name:"PictureFilled"},xEe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},AEe=N("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 32H96zm315.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.112zM256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384z"},null,-1),kEe=[AEe];function IEe(e,t,r,n,a,i){return I(),$("svg",xEe,kEe)}var s7=re(TEe,[["render",IEe],["__file","picture-filled.vue"]]),REe={name:"PictureRounded"},MEe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},LEe=N("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768zm0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896z"},null,-1),DEe=N("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64q-64 0-64-64t64-64zM214.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"},null,-1),OEe=[LEe,DEe];function NEe(e,t,r,n,a,i){return I(),$("svg",MEe,OEe)}var PEe=re(REe,[["render",NEe],["__file","picture-rounded.vue"]]),$Ee={name:"Picture"},BEe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},FEe=N("path",{fill:"currentColor",d:"M160 160v704h704V160H160zm-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-32z"},null,-1),zEe=N("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64zM185.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.952L185.408 876.992z"},null,-1),VEe=[FEe,zEe];function HEe(e,t,r,n,a,i){return I(),$("svg",BEe,VEe)}var UEe=re($Ee,[["render",HEe],["__file","picture.vue"]]),GEe={name:"PieChart"},WEe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},KEe=N("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"},null,-1),YEe=N("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 512H512V64z"},null,-1),qEe=[KEe,YEe];function jEe(e,t,r,n,a,i){return I(),$("svg",WEe,qEe)}var XEe=re(GEe,[["render",jEe],["__file","pie-chart.vue"]]),ZEe={name:"Place"},QEe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},JEe=N("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384zm0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512z"},null,-1),e6e=N("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32z"},null,-1),t6e=N("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.912z"},null,-1),r6e=[JEe,e6e,t6e];function n6e(e,t,r,n,a,i){return I(),$("svg",QEe,r6e)}var a6e=re(ZEe,[["render",n6e],["__file","place.vue"]]),i6e={name:"Platform"},o6e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},s6e=N("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64h192zM128 704V128h768v576H128z"},null,-1),l6e=[s6e];function u6e(e,t,r,n,a,i){return I(),$("svg",o6e,l6e)}var c6e=re(i6e,[["render",u6e],["__file","platform.vue"]]),d6e={name:"Plus"},f6e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},p6e=N("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-64h352z"},null,-1),h6e=[p6e];function v6e(e,t,r,n,a,i){return I(),$("svg",f6e,h6e)}var oT=re(d6e,[["render",v6e],["__file","plus.vue"]]),g6e={name:"Pointer"},m6e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},y6e=N("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 128zM359.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.32L359.04 556.8z"},null,-1),_6e=[y6e];function b6e(e,t,r,n,a,i){return I(),$("svg",m6e,_6e)}var w6e=re(g6e,[["render",b6e],["__file","pointer.vue"]]),S6e={name:"Position"},E6e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},C6e=N("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"},null,-1),T6e=[C6e];function x6e(e,t,r,n,a,i){return I(),$("svg",E6e,T6e)}var A6e=re(S6e,[["render",x6e],["__file","position.vue"]]),k6e={name:"Postcard"},I6e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},R6e=N("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-32H160zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96z"},null,-1),M6e=N("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128zM288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32zm0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32z"},null,-1),L6e=[R6e,M6e];function D6e(e,t,r,n,a,i){return I(),$("svg",I6e,L6e)}var O6e=re(k6e,[["render",D6e],["__file","postcard.vue"]]),N6e={name:"Pouring"},P6e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},$6e=N("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 480zM224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32zm192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32zm192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32zm192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32z"},null,-1),B6e=[$6e];function F6e(e,t,r,n,a,i){return I(),$("svg",P6e,B6e)}var z6e=re(N6e,[["render",F6e],["__file","pouring.vue"]]),V6e={name:"Present"},H6e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},U6e=N("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576h288zm64 0h288V320H544v256h288v64H544v256zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V256z"},null,-1),G6e=N("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32z"},null,-1),W6e=N("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128zm0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256z"},null,-1),K6e=N("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128zm0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256z"},null,-1),Y6e=[U6e,G6e,W6e,K6e];function q6e(e,t,r,n,a,i){return I(),$("svg",H6e,Y6e)}var j6e=re(V6e,[["render",q6e],["__file","present.vue"]]),X6e={name:"PriceTag"},Z6e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Q6e=N("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zM593.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"},null,-1),J6e=N("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128zm0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256z"},null,-1),eCe=[Q6e,J6e];function tCe(e,t,r,n,a,i){return I(),$("svg",Z6e,eCe)}var rCe=re(X6e,[["render",tCe],["__file","price-tag.vue"]]),nCe={name:"Printer"},aCe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},iCe=N("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.224H768v192H256V768zm64-192v320h384V576H320zm-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.776V704h128zm64-448h384V128H320v128zm-64 128h64v64h-64v-64zm128 0h64v64h-64v-64z"},null,-1),oCe=[iCe];function sCe(e,t,r,n,a,i){return I(),$("svg",aCe,oCe)}var lCe=re(nCe,[["render",sCe],["__file","printer.vue"]]),uCe={name:"Promotion"},cCe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},dCe=N("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472 64 448zm256 512V657.024L512 768 320 960z"},null,-1),fCe=[dCe];function pCe(e,t,r,n,a,i){return I(),$("svg",cCe,fCe)}var hCe=re(uCe,[["render",pCe],["__file","promotion.vue"]]),vCe={name:"QuartzWatch"},gCe={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},mCe=N("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.49v-.01zM384 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.01zm6.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.49zM512 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.99zm183.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.01z"},null,-1),yCe=N("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.5zM416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68V128zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68V896zm-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 768z"},null,-1),_Ce=N("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.99zm112.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.02z"},null,-1),bCe=[mCe,yCe,_Ce];function wCe(e,t,r,n,a,i){return I(),$("svg",gCe,bCe)}var SCe=re(vCe,[["render",wCe],["__file","quartz-watch.vue"]]),ECe={name:"QuestionFilled"},CCe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},TCe=N("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm23.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"},null,-1),xCe=[TCe];function ACe(e,t,r,n,a,i){return I(),$("svg",CCe,xCe)}var l7=re(ECe,[["render",ACe],["__file","question-filled.vue"]]),kCe={name:"Rank"},ICe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},RCe=N("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"},null,-1),MCe=[RCe];function LCe(e,t,r,n,a,i){return I(),$("svg",ICe,MCe)}var DCe=re(kCe,[["render",LCe],["__file","rank.vue"]]),OCe={name:"ReadingLamp"},NCe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},PCe=N("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32zm-44.672-768-99.52 448h608.384l-99.52-448H307.328zm-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"},null,-1),$Ce=N("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32zm-192-.064h64V960h-64z"},null,-1),BCe=[PCe,$Ce];function FCe(e,t,r,n,a,i){return I(),$("svg",NCe,BCe)}var zCe=re(OCe,[["render",FCe],["__file","reading-lamp.vue"]]),VCe={name:"Reading"},HCe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},UCe=N("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72l384 54.848zM137.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"},null,-1),GCe=N("path",{fill:"currentColor",d:"M480 192h64v704h-64z"},null,-1),WCe=[UCe,GCe];function KCe(e,t,r,n,a,i){return I(),$("svg",HCe,WCe)}var YCe=re(VCe,[["render",KCe],["__file","reading.vue"]]),qCe={name:"RefreshLeft"},jCe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},XCe=N("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"},null,-1),ZCe=[XCe];function QCe(e,t,r,n,a,i){return I(),$("svg",jCe,ZCe)}var u7=re(qCe,[["render",QCe],["__file","refresh-left.vue"]]),JCe={name:"RefreshRight"},eTe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},tTe=N("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"},null,-1),rTe=[tTe];function nTe(e,t,r,n,a,i){return I(),$("svg",eTe,rTe)}var c7=re(JCe,[["render",nTe],["__file","refresh-right.vue"]]),aTe={name:"Refresh"},iTe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},oTe=N("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"},null,-1),sTe=[oTe];function lTe(e,t,r,n,a,i){return I(),$("svg",iTe,sTe)}var uTe=re(aTe,[["render",lTe],["__file","refresh.vue"]]),cTe={name:"Refrigerator"},dTe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},fTe=N("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32v288zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512H256zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96zm32 224h64v96h-64v-96zm0 288h64v96h-64v-96z"},null,-1),pTe=[fTe];function hTe(e,t,r,n,a,i){return I(),$("svg",dTe,pTe)}var vTe=re(cTe,[["render",hTe],["__file","refrigerator.vue"]]),gTe={name:"RemoveFilled"},mTe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},yTe=N("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zM288 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 512z"},null,-1),_Te=[yTe];function bTe(e,t,r,n,a,i){return I(),$("svg",mTe,_Te)}var wTe=re(gTe,[["render",bTe],["__file","remove-filled.vue"]]),STe={name:"Remove"},ETe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},CTe=N("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64z"},null,-1),TTe=N("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),xTe=[CTe,TTe];function ATe(e,t,r,n,a,i){return I(),$("svg",ETe,xTe)}var kTe=re(STe,[["render",ATe],["__file","remove.vue"]]),ITe={name:"Right"},RTe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},MTe=N("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.312L754.752 480z"},null,-1),LTe=[MTe];function DTe(e,t,r,n,a,i){return I(),$("svg",RTe,LTe)}var OTe=re(ITe,[["render",DTe],["__file","right.vue"]]),NTe={name:"ScaleToOriginal"},PTe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},$Te=N("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.118zM512 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.412zM512 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 512z"},null,-1),BTe=[$Te];function FTe(e,t,r,n,a,i){return I(),$("svg",PTe,BTe)}var d7=re(NTe,[["render",FTe],["__file","scale-to-original.vue"]]),zTe={name:"School"},VTe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},HTe=N("path",{fill:"currentColor",d:"M224 128v704h576V128H224zm-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-32z"},null,-1),UTe=N("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"},null,-1),GTe=N("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0v64zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192zM320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"},null,-1),WTe=[HTe,UTe,GTe];function KTe(e,t,r,n,a,i){return I(),$("svg",VTe,WTe)}var YTe=re(zTe,[["render",KTe],["__file","school.vue"]]),qTe={name:"Scissor"},jTe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},XTe=N("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.248z"},null,-1),ZTe=[XTe];function QTe(e,t,r,n,a,i){return I(),$("svg",jTe,ZTe)}var JTe=re(qTe,[["render",QTe],["__file","scissor.vue"]]),exe={name:"Search"},txe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},rxe=N("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 704z"},null,-1),nxe=[rxe];function axe(e,t,r,n,a,i){return I(),$("svg",txe,nxe)}var f7=re(exe,[["render",axe],["__file","search.vue"]]),ixe={name:"Select"},oxe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},sxe=N("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"},null,-1),lxe=[sxe];function uxe(e,t,r,n,a,i){return I(),$("svg",oxe,lxe)}var cxe=re(ixe,[["render",uxe],["__file","select.vue"]]),dxe={name:"Sell"},fxe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},pxe=N("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"},null,-1),hxe=[pxe];function vxe(e,t,r,n,a,i){return I(),$("svg",fxe,hxe)}var gxe=re(dxe,[["render",vxe],["__file","sell.vue"]]),mxe={name:"SemiSelect"},yxe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_xe=N("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64z"},null,-1),bxe=[_xe];function wxe(e,t,r,n,a,i){return I(),$("svg",yxe,bxe)}var Sxe=re(mxe,[["render",wxe],["__file","semi-select.vue"]]),Exe={name:"Service"},Cxe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Txe=N("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 0zM256 448a128 128 0 1 0 0 256V448zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128z"},null,-1),xxe=[Txe];function Axe(e,t,r,n,a,i){return I(),$("svg",Cxe,xxe)}var kxe=re(Exe,[["render",Axe],["__file","service.vue"]]),Ixe={name:"SetUp"},Rxe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Mxe=N("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-64H224zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96z"},null,-1),Lxe=N("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128zm0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256z"},null,-1),Dxe=N("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32zm160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128zm0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256z"},null,-1),Oxe=N("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32z"},null,-1),Nxe=[Mxe,Lxe,Dxe,Oxe];function Pxe(e,t,r,n,a,i){return I(),$("svg",Rxe,Nxe)}var $xe=re(Ixe,[["render",Pxe],["__file","set-up.vue"]]),Bxe={name:"Setting"},Fxe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},zxe=N("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-384zm0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256z"},null,-1),Vxe=[zxe];function Hxe(e,t,r,n,a,i){return I(),$("svg",Fxe,Vxe)}var Uxe=re(Bxe,[["render",Hxe],["__file","setting.vue"]]),Gxe={name:"Share"},Wxe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Kxe=N("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"},null,-1),Yxe=[Kxe];function qxe(e,t,r,n,a,i){return I(),$("svg",Wxe,Yxe)}var jxe=re(Gxe,[["render",qxe],["__file","share.vue"]]),Xxe={name:"Ship"},Zxe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Qxe=N("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.216L512 386.88zm0-70.272 144.768-65.792L512 171.84v144.768zM512 512H148.864l18.24 64H856.96l18.24-64H512zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2H185.408z"},null,-1),Jxe=[Qxe];function eAe(e,t,r,n,a,i){return I(),$("svg",Zxe,Jxe)}var tAe=re(Xxe,[["render",eAe],["__file","ship.vue"]]),rAe={name:"Shop"},nAe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},aAe=N("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384v-64zm188.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 128h640l60.544 423.808z"},null,-1),iAe=[aAe];function oAe(e,t,r,n,a,i){return I(),$("svg",nAe,iAe)}var sAe=re(rAe,[["render",oAe],["__file","shop.vue"]]),lAe={name:"ShoppingBag"},uAe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},cAe=N("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320H704zm-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-32h160zm64 0h256a128 128 0 1 0-256 0z"},null,-1),dAe=N("path",{fill:"currentColor",d:"M192 704h640v64H192z"},null,-1),fAe=[cAe,dAe];function pAe(e,t,r,n,a,i){return I(),$("svg",uAe,fAe)}var hAe=re(lAe,[["render",pAe],["__file","shopping-bag.vue"]]),vAe={name:"ShoppingCartFull"},gAe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},mAe=N("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96zm320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96zM96 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 128H96zm314.24 576h395.904l82.304-384H333.44l76.8 384z"},null,-1),yAe=N("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.04z"},null,-1),_Ae=[mAe,yAe];function bAe(e,t,r,n,a,i){return I(),$("svg",gAe,_Ae)}var wAe=re(vAe,[["render",bAe],["__file","shopping-cart-full.vue"]]),SAe={name:"ShoppingCart"},EAe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},CAe=N("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96zm320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96zM96 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 128H96zm314.24 576h395.904l82.304-384H333.44l76.8 384z"},null,-1),TAe=[CAe];function xAe(e,t,r,n,a,i){return I(),$("svg",EAe,TAe)}var AAe=re(SAe,[["render",xAe],["__file","shopping-cart.vue"]]),kAe={name:"ShoppingTrolley"},IAe={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},RAe=N("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 833zm439-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-64h551zM256 192h622l-96 384H256V192zm432 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 833z"},null,-1),MAe=[RAe];function LAe(e,t,r,n,a,i){return I(),$("svg",IAe,MAe)}var DAe=re(kAe,[["render",LAe],["__file","shopping-trolley.vue"]]),OAe={name:"Smoking"},NAe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},PAe=N("path",{fill:"currentColor",d:"M256 576v128h640V576H256zm-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-32z"},null,-1),$Ae=N("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"},null,-1),BAe=[PAe,$Ae];function FAe(e,t,r,n,a,i){return I(),$("svg",NAe,BAe)}var zAe=re(OAe,[["render",FAe],["__file","smoking.vue"]]),VAe={name:"Soccer"},HAe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},UAe=N("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.24zm72.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.536L871.04 418.496zM149.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.152zm452.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"},null,-1),GAe=[UAe];function WAe(e,t,r,n,a,i){return I(),$("svg",HAe,GAe)}var KAe=re(VAe,[["render",WAe],["__file","soccer.vue"]]),YAe={name:"SoldOut"},qAe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},jAe=N("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"},null,-1),XAe=[jAe];function ZAe(e,t,r,n,a,i){return I(),$("svg",qAe,XAe)}var QAe=re(YAe,[["render",ZAe],["__file","sold-out.vue"]]),JAe={name:"SortDown"},e8e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},t8e=N("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 0z"},null,-1),r8e=[t8e];function n8e(e,t,r,n,a,i){return I(),$("svg",e8e,r8e)}var p7=re(JAe,[["render",n8e],["__file","sort-down.vue"]]),a8e={name:"SortUp"},i8e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},o8e=N("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.248z"},null,-1),s8e=[o8e];function l8e(e,t,r,n,a,i){return I(),$("svg",i8e,s8e)}var h7=re(a8e,[["render",l8e],["__file","sort-up.vue"]]),u8e={name:"Sort"},c8e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},d8e=N("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.632V96zm192 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"},null,-1),f8e=[d8e];function p8e(e,t,r,n,a,i){return I(),$("svg",c8e,f8e)}var h8e=re(u8e,[["render",p8e],["__file","sort.vue"]]),v8e={name:"Stamp"},g8e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},m8e=N("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 0zM128 896v-64h768v64H128z"},null,-1),y8e=[m8e];function _8e(e,t,r,n,a,i){return I(),$("svg",g8e,y8e)}var b8e=re(v8e,[["render",_8e],["__file","stamp.vue"]]),w8e={name:"StarFilled"},S8e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},E8e=N("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"},null,-1),C8e=[E8e];function T8e(e,t,r,n,a,i){return I(),$("svg",S8e,C8e)}var Gh=re(w8e,[["render",T8e],["__file","star-filled.vue"]]),x8e={name:"Star"},A8e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},k8e=N("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.72L512 747.84zM313.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"},null,-1),I8e=[k8e];function R8e(e,t,r,n,a,i){return I(),$("svg",A8e,I8e)}var v7=re(x8e,[["render",R8e],["__file","star.vue"]]),M8e={name:"Stopwatch"},L8e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},D8e=N("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),O8e=N("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"},null,-1),N8e=[D8e,O8e];function P8e(e,t,r,n,a,i){return I(),$("svg",L8e,N8e)}var $8e=re(M8e,[["render",P8e],["__file","stopwatch.vue"]]),B8e={name:"SuccessFilled"},F8e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},z8e=N("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-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.336L456.192 600.384z"},null,-1),V8e=[z8e];function H8e(e,t,r,n,a,i){return I(),$("svg",F8e,V8e)}var sT=re(B8e,[["render",H8e],["__file","success-filled.vue"]]),U8e={name:"Sugar"},G8e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},W8e=N("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.904H252.928zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928h326.208zM123.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"},null,-1),K8e=[W8e];function Y8e(e,t,r,n,a,i){return I(),$("svg",G8e,K8e)}var q8e=re(U8e,[["render",Y8e],["__file","sugar.vue"]]),j8e={name:"SuitcaseLine"},X8e={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},Z8e=N("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.5zM384 128h256v64H384v-64zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128v384zm448 0H320V448h384v384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128v320zm0-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 320v64z"},null,-1),Q8e=[Z8e];function J8e(e,t,r,n,a,i){return I(),$("svg",X8e,Q8e)}var eke=re(j8e,[["render",J8e],["__file","suitcase-line.vue"]]),tke={name:"Suitcase"},rke={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},nke=N("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64v64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448H128zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128z"},null,-1),ake=N("path",{fill:"currentColor",d:"M384 128v64h256v-64H384zm0-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-64z"},null,-1),ike=[nke,ake];function oke(e,t,r,n,a,i){return I(),$("svg",rke,ike)}var ske=re(tke,[["render",oke],["__file","suitcase.vue"]]),lke={name:"Sunny"},uke={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},cke=N("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384zm0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512zm0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32zM195.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.248zM64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32zm768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32zM195.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 0z"},null,-1),dke=[cke];function fke(e,t,r,n,a,i){return I(),$("svg",uke,dke)}var pke=re(lke,[["render",fke],["__file","sunny.vue"]]),hke={name:"Sunrise"},vke={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},gke=N("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64zm129.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-32zm407.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.248z"},null,-1),mke=[gke];function yke(e,t,r,n,a,i){return I(),$("svg",vke,mke)}var _ke=re(hke,[["render",yke],["__file","sunrise.vue"]]),bke={name:"Sunset"},wke={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ske=N("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0H82.56zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32zm256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32z"},null,-1),Eke=[Ske];function Cke(e,t,r,n,a,i){return I(),$("svg",wke,Eke)}var Tke=re(bke,[["render",Cke],["__file","sunset.vue"]]),xke={name:"SwitchButton"},Ake={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},kke=N("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"},null,-1),Ike=N("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32z"},null,-1),Rke=[kke,Ike];function Mke(e,t,r,n,a,i){return I(),$("svg",Ake,Rke)}var Lke=re(xke,[["render",Mke],["__file","switch-button.vue"]]),Dke={name:"SwitchFilled"},Oke={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},Nke=N("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"},null,-1),Pke=N("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.57v644.36zm402.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"},null,-1),$ke=[Nke,Pke];function Bke(e,t,r,n,a,i){return I(),$("svg",Oke,$ke)}var Fke=re(Dke,[["render",Bke],["__file","switch-filled.vue"]]),zke={name:"Switch"},Vke={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Hke=N("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-32z"},null,-1),Uke=[Hke];function Gke(e,t,r,n,a,i){return I(),$("svg",Vke,Uke)}var Wke=re(zke,[["render",Gke],["__file","switch.vue"]]),Kke={name:"TakeawayBox"},Yke={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},qke=N("path",{fill:"currentColor",d:"M832 384H192v448h640V384zM96 320h832V128H96v192zm800 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 32h-64zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64z"},null,-1),jke=[qke];function Xke(e,t,r,n,a,i){return I(),$("svg",Yke,jke)}var Zke=re(Kke,[["render",Xke],["__file","takeaway-box.vue"]]),Qke={name:"Ticket"},Jke={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},eIe=N("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64v160zm0-416v192h64V416h-64z"},null,-1),tIe=[eIe];function rIe(e,t,r,n,a,i){return I(),$("svg",Jke,tIe)}var nIe=re(Qke,[["render",rIe],["__file","ticket.vue"]]),aIe={name:"Tickets"},iIe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},oIe=N("path",{fill:"currentColor",d:"M192 128v768h640V128H192zm-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-32zm160 448h384v64H320v-64zm0-192h192v64H320v-64zm0 384h384v64H320v-64z"},null,-1),sIe=[oIe];function lIe(e,t,r,n,a,i){return I(),$("svg",iIe,sIe)}var uIe=re(aIe,[["render",lIe],["__file","tickets.vue"]]),cIe={name:"Timer"},dIe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},fIe=N("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640zm0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768z"},null,-1),pIe=N("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-32z"},null,-1),hIe=N("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0zm96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96z"},null,-1),vIe=[fIe,pIe,hIe];function gIe(e,t,r,n,a,i){return I(),$("svg",dIe,vIe)}var mIe=re(cIe,[["render",gIe],["__file","timer.vue"]]),yIe={name:"ToiletPaper"},_Ie={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},bIe=N("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224zM736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64h416zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224z"},null,-1),wIe=N("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 96z"},null,-1),SIe=[bIe,wIe];function EIe(e,t,r,n,a,i){return I(),$("svg",_Ie,SIe)}var CIe=re(yIe,[["render",EIe],["__file","toilet-paper.vue"]]),TIe={name:"Tools"},xIe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},AIe=N("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 0z"},null,-1),kIe=[AIe];function IIe(e,t,r,n,a,i){return I(),$("svg",xIe,kIe)}var RIe=re(TIe,[["render",IIe],["__file","tools.vue"]]),MIe={name:"TopLeft"},LIe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},DIe=N("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0V256z"},null,-1),OIe=N("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"},null,-1),NIe=[DIe,OIe];function PIe(e,t,r,n,a,i){return I(),$("svg",LIe,NIe)}var $Ie=re(MIe,[["render",PIe],["__file","top-left.vue"]]),BIe={name:"TopRight"},FIe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},zIe=N("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0V256z"},null,-1),VIe=N("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"},null,-1),HIe=[zIe,VIe];function UIe(e,t,r,n,a,i){return I(),$("svg",FIe,HIe)}var GIe=re(BIe,[["render",UIe],["__file","top-right.vue"]]),WIe={name:"Top"},KIe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},YIe=N("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"},null,-1),qIe=[YIe];function jIe(e,t,r,n,a,i){return I(),$("svg",KIe,qIe)}var XIe=re(WIe,[["render",jIe],["__file","top.vue"]]),ZIe={name:"TrendCharts"},QIe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},JIe=N("path",{fill:"currentColor",d:"M128 896V128h768v768H128zm291.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 0z"},null,-1),eRe=[JIe];function tRe(e,t,r,n,a,i){return I(),$("svg",QIe,eRe)}var rRe=re(ZIe,[["render",tRe],["__file","trend-charts.vue"]]),nRe={name:"TrophyBase"},aRe={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},iRe=N("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.2H256v182.4zm390.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.4zm172.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.6z"},null,-1),oRe=[iRe];function sRe(e,t,r,n,a,i){return I(),$("svg",aRe,oRe)}var lRe=re(nRe,[["render",sRe],["__file","trophy-base.vue"]]),uRe={name:"Trophy"},cRe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},dRe=N("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-64h128zm224-448V128H320v320a192 192 0 1 0 384 0zm64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768v192zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448H256z"},null,-1),fRe=[dRe];function pRe(e,t,r,n,a,i){return I(),$("svg",cRe,fRe)}var hRe=re(uRe,[["render",pRe],["__file","trophy.vue"]]),vRe={name:"TurnOff"},gRe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},mRe=N("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.724H329.956zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"},null,-1),yRe=N("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.454zm0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088z"},null,-1),_Re=[mRe,yRe];function bRe(e,t,r,n,a,i){return I(),$("svg",gRe,_Re)}var wRe=re(vRe,[["render",bRe],["__file","turn-off.vue"]]),SRe={name:"Umbrella"},ERe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},CRe=N("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 0zm570.688-320a384.128 384.128 0 0 0-757.376 0h757.376z"},null,-1),TRe=[CRe];function xRe(e,t,r,n,a,i){return I(),$("svg",ERe,TRe)}var ARe=re(SRe,[["render",xRe],["__file","umbrella.vue"]]),kRe={name:"Unlock"},IRe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},RRe=N("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-32H224zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96z"},null,-1),MRe=N("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32zm178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104l-59.456 23.808z"},null,-1),LRe=[RRe,MRe];function DRe(e,t,r,n,a,i){return I(),$("svg",IRe,LRe)}var ORe=re(kRe,[["render",DRe],["__file","unlock.vue"]]),NRe={name:"UploadFilled"},PRe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},$Re=N("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.6H544z"},null,-1),BRe=[$Re];function FRe(e,t,r,n,a,i){return I(),$("svg",PRe,BRe)}var zRe=re(NRe,[["render",FRe],["__file","upload-filled.vue"]]),VRe={name:"Upload"},HRe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},URe=N("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z"},null,-1),GRe=[URe];function WRe(e,t,r,n,a,i){return I(),$("svg",HRe,GRe)}var KRe=re(VRe,[["render",WRe],["__file","upload.vue"]]),YRe={name:"UserFilled"},qRe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},jRe=N("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0zm544 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"},null,-1),XRe=[jRe];function ZRe(e,t,r,n,a,i){return I(),$("svg",qRe,XRe)}var QRe=re(YRe,[["render",ZRe],["__file","user-filled.vue"]]),JRe={name:"User"},eMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},tMe=N("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384zm0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512zm320 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 0z"},null,-1),rMe=[tMe];function nMe(e,t,r,n,a,i){return I(),$("svg",eMe,rMe)}var aMe=re(JRe,[["render",nMe],["__file","user.vue"]]),iMe={name:"Van"},oMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},sMe=N("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.808V256H128v416h24.256zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672zm48.128-192-14.72-96H704v96h151.872zM688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160zm-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160z"},null,-1),lMe=[sMe];function uMe(e,t,r,n,a,i){return I(),$("svg",oMe,lMe)}var cMe=re(iMe,[["render",uMe],["__file","van.vue"]]),dMe={name:"VideoCameraFilled"},fMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},pMe=N("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 32v96zM192 768v64h384v-64H192zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0zm64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288zm-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320zm64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0z"},null,-1),hMe=[pMe];function vMe(e,t,r,n,a,i){return I(),$("svg",fMe,hMe)}var gMe=re(dMe,[["render",vMe],["__file","video-camera-filled.vue"]]),mMe={name:"VideoCamera"},yMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_Me=N("path",{fill:"currentColor",d:"M704 768V256H128v512h576zm64-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 32v128zm0 71.552v176.896l128 64V359.552l-128 64zM192 320h192v64H192v-64z"},null,-1),bMe=[_Me];function wMe(e,t,r,n,a,i){return I(),$("svg",yMe,bMe)}var SMe=re(mMe,[["render",wMe],["__file","video-camera.vue"]]),EMe={name:"VideoPause"},CMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},TMe=N("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768zm-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32zm192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32z"},null,-1),xMe=[TMe];function AMe(e,t,r,n,a,i){return I(),$("svg",CMe,xMe)}var kMe=re(EMe,[["render",AMe],["__file","video-pause.vue"]]),IMe={name:"VideoPlay"},RMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},MMe=N("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768zm-48-247.616L668.608 512 464 375.616v272.768zm10.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"},null,-1),LMe=[MMe];function DMe(e,t,r,n,a,i){return I(),$("svg",RMe,LMe)}var OMe=re(IMe,[["render",DMe],["__file","video-play.vue"]]),NMe={name:"View"},PMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},$Me=N("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 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-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),BMe=[$Me];function FMe(e,t,r,n,a,i){return I(),$("svg",PMe,BMe)}var g7=re(NMe,[["render",FMe],["__file","view.vue"]]),zMe={name:"WalletFilled"},VMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},HMe=N("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160H688zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96zm-80-544 128 160H384l256-160z"},null,-1),UMe=[HMe];function GMe(e,t,r,n,a,i){return I(),$("svg",VMe,UMe)}var WMe=re(zMe,[["render",GMe],["__file","wallet-filled.vue"]]),KMe={name:"Wallet"},YMe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},qMe=N("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 32v192z"},null,-1),jMe=N("path",{fill:"currentColor",d:"M128 320v512h768V320H128zm-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-32z"},null,-1),XMe=N("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128z"},null,-1),ZMe=[qMe,jMe,XMe];function QMe(e,t,r,n,a,i){return I(),$("svg",YMe,ZMe)}var JMe=re(KMe,[["render",QMe],["__file","wallet.vue"]]),eLe={name:"WarnTriangleFilled"},tLe={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},rLe=N("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.03zM554.67 768h-85.33v-85.33h85.33V768zm0-426.67v298.66h-85.33V341.32l85.33.01z"},null,-1),nLe=[rLe];function aLe(e,t,r,n,a,i){return I(),$("svg",tLe,nLe)}var iLe=re(eLe,[["render",aLe],["__file","warn-triangle-filled.vue"]]),oLe={name:"WarningFilled"},sLe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},lLe=N("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 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 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),uLe=[lLe];function cLe(e,t,r,n,a,i){return I(),$("svg",sLe,uLe)}var pm=re(oLe,[["render",cLe],["__file","warning-filled.vue"]]),dLe={name:"Warning"},fLe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},pLe=N("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768zm48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0zm-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"},null,-1),hLe=[pLe];function vLe(e,t,r,n,a,i){return I(),$("svg",fLe,hLe)}var gLe=re(dLe,[["render",vLe],["__file","warning.vue"]]),mLe={name:"Watch"},yLe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_Le=N("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512zm0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640z"},null,-1),bLe=N("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32z"},null,-1),wLe=N("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32zm128-256V128H416v128h-64V64h320v192h-64zM416 768v128h192V768h64v192H352V768h64z"},null,-1),SLe=[_Le,bLe,wLe];function ELe(e,t,r,n,a,i){return I(),$("svg",yLe,SLe)}var CLe=re(mLe,[["render",ELe],["__file","watch.vue"]]),TLe={name:"Watermelon"},xLe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ALe=N("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.248L683.072 600.32zm231.552 141.056a448 448 0 1 1-632-632l632 632z"},null,-1),kLe=[ALe];function ILe(e,t,r,n,a,i){return I(),$("svg",xLe,kLe)}var RLe=re(TLe,[["render",ILe],["__file","watermelon.vue"]]),MLe={name:"WindPower"},LLe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},DLe=N("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32zm416 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.92l192-17.472zm256-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.96v226.368z"},null,-1),OLe=[DLe];function NLe(e,t,r,n,a,i){return I(),$("svg",LLe,OLe)}var PLe=re(MLe,[["render",NLe],["__file","wind-power.vue"]]),$Le={name:"ZoomIn"},BLe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},FLe=N("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 704zm-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-64h96z"},null,-1),zLe=[FLe];function VLe(e,t,r,n,a,i){return I(),$("svg",BLe,zLe)}var lT=re($Le,[["render",VLe],["__file","zoom-in.vue"]]),HLe={name:"ZoomOut"},ULe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},GLe=N("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 704zM352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64z"},null,-1),WLe=[GLe];function KLe(e,t,r,n,a,i){return I(),$("svg",ULe,WLe)}var m7=re(HLe,[["render",KLe],["__file","zoom-out.vue"]]);const cEt=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:loe,Aim:voe,AlarmClock:Soe,Apple:koe,ArrowDown:js,ArrowDownBold:Ooe,ArrowLeft:Ds,ArrowLeftBold:Woe,ArrowRight:Gn,ArrowRightBold:rse,ArrowUp:fm,ArrowUpBold:pse,Avatar:Cse,Back:ZB,Baseball:$se,Basketball:Use,Bell:nle,BellFilled:jse,Bicycle:ule,Bottom:Ile,BottomLeft:gle,BottomRight:Ele,Bowl:Nle,Box:Ule,Briefcase:jle,Brush:sue,BrushFilled:tue,Burger:pue,Calendar:QB,Camera:Rue,CameraFilled:Cue,CaretBottom:Pue,CaretLeft:Hue,CaretRight:aT,CaretTop:JB,Cellphone:ace,ChatDotRound:dce,ChatDotSquare:yce,ChatLineRound:Tce,ChatLineSquare:Lce,ChatRound:Bce,ChatSquare:Gce,Check:Np,Checked:tde,Cherry:sde,Chicken:pde,ChromeFilled:wde,CircleCheck:m_,CircleCheckFilled:e7,CircleClose:Xs,CircleCloseFilled:y_,CirclePlus:nfe,CirclePlusFilled:jde,Clock:iT,Close:Ii,CloseBold:gfe,Cloudy:Afe,Coffee:Ffe,CoffeeCup:Dfe,Coin:Yfe,ColdDrink:Jfe,Collection:fpe,CollectionTag:ipe,Comment:ype,Compass:Tpe,Connection:Lpe,Coordinate:Fpe,CopyDocument:Kpe,Cpu:Jpe,CreditCard:ohe,Crop:phe,DArrowLeft:sd,DArrowRight:ld,DCaret:Ihe,DataAnalysis:Nhe,DataBoard:Uhe,DataLine:jhe,Delete:t7,DeleteFilled:tve,DeleteLocation:uve,Dessert:bve,Discount:Ave,Dish:Fve,DishDot:Dve,Document:r7,DocumentAdd:Wve,DocumentChecked:Zve,DocumentCopy:nge,DocumentDelete:uge,DocumentRemove:vge,Download:xge,Drizzling:Lge,Edit:Wge,EditPen:Bge,Eleme:nme,ElemeFilled:Zge,ElementPlus:ume,Expand:vme,Failed:wme,Female:Ime,Files:Nme,Film:Hme,Filter:qme,Finished:e0e,FirstAidKit:s0e,Flag:p0e,Fold:_0e,Folder:tye,FolderAdd:T0e,FolderChecked:M0e,FolderDelete:$0e,FolderOpened:U0e,FolderRemove:j0e,Food:sye,Football:hye,ForkSpoon:bye,Fries:xye,FullScreen:n7,Goblet:t1e,GobletFull:$ye,GobletSquare:jye,GobletSquareFull:Uye,GoldMedal:l1e,Goods:b1e,GoodsFilled:h1e,Grape:x1e,Grid:L1e,Guide:F1e,Handbag:W1e,Headset:Z1e,Help:u2e,HelpFilled:n2e,Hide:a7,Histogram:w2e,HomeFilled:A2e,HotWater:D2e,House:F2e,IceCream:n_e,IceCreamRound:W2e,IceCreamSquare:Z2e,IceDrink:u_e,IceTea:v_e,InfoFilled:__,Iphone:x_e,Key:L_e,KnifeFork:B_e,Lightning:W_e,Link:Z_e,List:nbe,Loading:Zs,Location:Ibe,LocationFilled:hbe,LocationInformation:Sbe,Lock:Pbe,Lollipop:Hbe,MagicStick:qbe,Magnet:ewe,Male:lwe,Management:hwe,MapLocation:wwe,Medal:kwe,Memo:Pwe,Menu:Hwe,Message:tSe,MessageBox:qwe,Mic:sSe,Microphone:pSe,MilkTea:_Se,Minus:i7,Money:LSe,Monitor:BSe,Moon:ZSe,MoonNight:WSe,More:o7,MoreFilled:l3,MostlyCloudy:p4e,Mouse:b4e,Mug:x4e,Mute:z4e,MuteNotification:D4e,NoSmoking:K4e,Notebook:J4e,Notification:o3e,Odometer:h3e,OfficeBuilding:S3e,Open:I3e,Operation:N3e,Opportunity:V3e,Orange:Y3e,Paperclip:J3e,PartlyCloudy:oEe,Pear:fEe,Phone:CEe,PhoneFilled:yEe,Picture:UEe,PictureFilled:s7,PictureRounded:PEe,PieChart:XEe,Place:a6e,Platform:c6e,Plus:oT,Pointer:w6e,Position:A6e,Postcard:O6e,Pouring:z6e,Present:j6e,PriceTag:rCe,Printer:lCe,Promotion:hCe,QuartzWatch:SCe,QuestionFilled:l7,Rank:DCe,Reading:YCe,ReadingLamp:zCe,Refresh:uTe,RefreshLeft:u7,RefreshRight:c7,Refrigerator:vTe,Remove:kTe,RemoveFilled:wTe,Right:OTe,ScaleToOriginal:d7,School:YTe,Scissor:JTe,Search:f7,Select:cxe,Sell:gxe,SemiSelect:Sxe,Service:kxe,SetUp:$xe,Setting:Uxe,Share:jxe,Ship:tAe,Shop:sAe,ShoppingBag:hAe,ShoppingCart:AAe,ShoppingCartFull:wAe,ShoppingTrolley:DAe,Smoking:zAe,Soccer:KAe,SoldOut:QAe,Sort:h8e,SortDown:p7,SortUp:h7,Stamp:b8e,Star:v7,StarFilled:Gh,Stopwatch:$8e,SuccessFilled:sT,Sugar:q8e,Suitcase:ske,SuitcaseLine:eke,Sunny:pke,Sunrise:_ke,Sunset:Tke,Switch:Wke,SwitchButton:Lke,SwitchFilled:Fke,TakeawayBox:Zke,Ticket:nIe,Tickets:uIe,Timer:mIe,ToiletPaper:CIe,Tools:RIe,Top:XIe,TopLeft:$Ie,TopRight:GIe,TrendCharts:rRe,Trophy:hRe,TrophyBase:lRe,TurnOff:wRe,Umbrella:ARe,Unlock:ORe,Upload:KRe,UploadFilled:zRe,User:aMe,UserFilled:QRe,Van:cMe,VideoCamera:SMe,VideoCameraFilled:gMe,VideoPause:kMe,VideoPlay:OMe,View:g7,Wallet:JMe,WalletFilled:WMe,WarnTriangleFilled:iLe,Warning:gLe,WarningFilled:pm,Watch:CLe,Watermelon:RLe,WindPower:PLe,ZoomIn:lT,ZoomOut:m7},Symbol.toStringTag,{value:"Module"})),y7="__epPropKey",ce=e=>e,YLe=e=>St(e)&&!!e[y7],po=(e,t)=>{if(!St(e)||YLe(e))return e;const{values:r,required:n,default:a,type:i,validator:o}=e,l={type:i,required:!!n,validator:r||o?u=>{let c=!1,d=[];if(r&&(d=Array.from(r),$t(e,"default")&&d.push(a),c||(c=d.includes(u))),o&&(c||(c=o(u))),!c&&d.length>0){const f=[...new Set(d)].map(p=>JSON.stringify(p)).join(", ");xZ(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(u)}.`)}return c}:void 0,[y7]:!0};return $t(e,"default")&&(l.default=a),l},Le=e=>M1(Object.entries(e).map(([t,r])=>[t,po(r,t)])),dr=ce([String,Object,Function]),_7={Close:Ii},uT={Close:Ii,SuccessFilled:sT,InfoFilled:__,WarningFilled:pm,CircleCloseFilled:y_},Jl={success:sT,warning:pm,error:y_,info:__},cT={validating:Zs,success:m_,error:Xs},bt=(e,t)=>{if(e.install=r=>{for(const n of[e,...Object.values(t??{})])r.component(n.name,n)},t)for(const[r,n]of Object.entries(t))e[r]=n;return e},b7=(e,t)=>(e.install=r=>{e._context=r._context,r.config.globalProperties[t]=e},e),qLe=(e,t)=>(e.install=r=>{r.directive(t,e)},e),Mr=e=>(e.install=nr,e),b_=(...e)=>t=>{e.forEach(r=>{it(r)?r(t):r.value=t})},Xe={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},jLe=["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],Fb=["sun","mon","tue","wed","thu","fri","sat"],Et="update:modelValue",hr="change",ia="input",EI=Symbol("INSTALLED_KEY"),rs=["","default","small","large"],XLe={large:40,default:32,small:24},ZLe=e=>XLe[e||"default"],w_=e=>["",...rs].includes(e);var di=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(di||{});function u3(e){return Sr(e)&&e.type===je}function QLe(e){return Sr(e)&&e.type===aa}function JLe(e){return Sr(e)&&!u3(e)&&!QLe(e)}const eDe=e=>{if(!Sr(e))return{};const t=e.props||{},r=(Sr(e.type)?e.type.props:void 0)||{},n={};return Object.keys(r).forEach(a=>{$t(r[a],"default")&&(n[a]=r[a].default)}),Object.keys(t).forEach(a=>{n[xi(a)]=t[a]}),n},tDe=e=>{if(!He(e)||e.length>1)throw new Error("expect to receive a single Vue element child");return e[0]},Fc=e=>{const t=He(e)?e:[e],r=[];return t.forEach(n=>{var a;He(n)?r.push(...Fc(n)):Sr(n)&&He(n.children)?r.push(...Fc(n.children)):(r.push(n),Sr(n)&&((a=n.component)!=null&&a.subTree)&&r.push(...Fc(n.component.subTree)))}),r},CI=e=>[...new Set(e)],Ts=e=>!e&&e!==0?[]:Array.isArray(e)?e:[e],S_=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),np=e=>zt?window.requestAnimationFrame(e):setTimeout(e,16),E_=e=>zt?window.cancelAnimationFrame(e):clearTimeout(e),C_=()=>Math.floor(Math.random()*1e4),Er=e=>e,rDe=["class","style"],nDe=/^on[A-Z]/,dT=(e={})=>{const{excludeListeners:t=!1,excludeKeys:r}=e,n=L(()=>((r==null?void 0:r.value)||[]).concat(rDe)),a=mt();return L(a?()=>{var i;return M1(Object.entries((i=a.proxy)==null?void 0:i.$attrs).filter(([o])=>!n.value.includes(o)&&!(t&&nDe.test(o))))}:()=>({}))},Wo=({from:e,replacement:t,scope:r,version:n,ref:a,type:i="API"},o)=>{Te(()=>b(o),s=>{},{immediate:!0})},w7=(e,t,r)=>{let n={offsetX:0,offsetY:0};const a=s=>{const l=s.clientX,u=s.clientY,{offsetX:c,offsetY:d}=n,f=e.value.getBoundingClientRect(),p=f.left,h=f.top,v=f.width,g=f.height,m=document.documentElement.clientWidth,y=document.documentElement.clientHeight,_=-p+c,w=-h+d,E=m-p-v+c,S=y-h-g+d,C=x=>{const A=Math.min(Math.max(c+x.clientX-l,_),E),k=Math.min(Math.max(d+x.clientY-u,w),S);n={offsetX:A,offsetY:k},e.value.style.transform=`translate(${Nr(A)}, ${Nr(k)})`},T=()=>{document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",T)};document.addEventListener("mousemove",C),document.addEventListener("mouseup",T)},i=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",a)},o=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",a)};gt(()=>{qa(()=>{r.value?i():o()})}),vr(()=>{o()})};var aDe={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},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"},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"},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"}}};const iDe=e=>(t,r)=>oDe(t,r,b(e)),oDe=(e,t,r)=>Or(r,e,e).replace(/\{(\w+)\}/g,(n,a)=>{var i;return`${(i=t==null?void 0:t[a])!=null?i:`{${a}}`}`}),sDe=e=>{const t=L(()=>b(e).name),r=cr(e)?e:U(e);return{lang:t,locale:r,t:iDe(e)}},S7=Symbol("localeContextKey"),Ht=e=>{const t=e||Ue(S7,U());return sDe(L(()=>t.value||aDe))},pv="el",lDe="is-",Au=(e,t,r,n,a)=>{let i=`${e}-${t}`;return r&&(i+=`-${r}`),n&&(i+=`__${n}`),a&&(i+=`--${a}`),i},E7=Symbol("namespaceContextKey"),fT=e=>{const t=e||(mt()?Ue(E7,U(pv)):U(pv));return L(()=>b(t)||pv)},ke=(e,t)=>{const r=fT(t);return{namespace:r,b:(v="")=>Au(r.value,e,v,"",""),e:v=>v?Au(r.value,e,"",v,""):"",m:v=>v?Au(r.value,e,"","",v):"",be:(v,g)=>v&&g?Au(r.value,e,v,g,""):"",em:(v,g)=>v&&g?Au(r.value,e,"",v,g):"",bm:(v,g)=>v&&g?Au(r.value,e,v,"",g):"",bem:(v,g,m)=>v&&g&&m?Au(r.value,e,v,g,m):"",is:(v,...g)=>{const m=g.length>=1?g[0]:!0;return v&&m?`${lDe}${v}`:""},cssVar:v=>{const g={};for(const m in v)v[m]&&(g[`--${r.value}-${m}`]=v[m]);return g},cssVarName:v=>`--${r.value}-${v}`,cssVarBlock:v=>{const g={};for(const m in v)v[m]&&(g[`--${r.value}-${e}-${m}`]=v[m]);return g},cssVarBlockName:v=>`--${r.value}-${e}-${v}`}},C7=(e,t={})=>{cr(e)||rn("[useLockscreen]","You need to pass a ref param to this function");const r=t.ns||ke("popup"),n=y$(()=>r.bm("parent","hidden"));if(!zt||ao(document.body,n.value))return;let a=0,i=!1,o="0";const s=()=>{setTimeout(()=>{Ta(document==null?void 0:document.body,n.value),i&&document&&(document.body.style.width=o)},200)};Te(e,l=>{if(!l){s();return}i=!ao(document.body,n.value),i&&(o=document.body.style.width),a=jB(r.namespace.value);const u=document.documentElement.clientHeight<document.body.scrollHeight,c=Al(document.body,"overflowY");a>0&&(u||c==="scroll")&&i&&(document.body.style.width=`calc(100% - ${a}px)`),Do(document.body,n.value)}),r$(()=>s())},uDe=po({type:ce(Boolean),default:null}),cDe=po({type:ce(Function)}),T7=e=>{const t=`update:${e}`,r=`onUpdate:${e}`,n=[t],a={[e]:uDe,[r]:cDe};return{useModelToggle:({indicator:o,toggleReason:s,shouldHideWhenRouteChanges:l,shouldProceed:u,onShow:c,onHide:d})=>{const f=mt(),{emit:p}=f,h=f.props,v=L(()=>it(h[r])),g=L(()=>h[e]===null),m=C=>{o.value!==!0&&(o.value=!0,s&&(s.value=C),it(c)&&c(C))},y=C=>{o.value!==!1&&(o.value=!1,s&&(s.value=C),it(d)&&d(C))},_=C=>{if(h.disabled===!0||it(u)&&!u())return;const T=v.value&&zt;T&&p(t,!0),(g.value||!T)&&m(C)},w=C=>{if(h.disabled===!0||!zt)return;const T=v.value&&zt;T&&p(t,!1),(g.value||!T)&&y(C)},E=C=>{tn(C)&&(h.disabled&&C?v.value&&p(t,!1):o.value!==C&&(C?m():y()))},S=()=>{o.value?w():_()};return Te(()=>h[e],E),l&&f.appContext.config.globalProperties.$route!==void 0&&Te(()=>({...f.proxy.$route}),()=>{l.value&&o.value&&w()}),gt(()=>{E(h[e])}),{hide:w,show:_,toggle:S,hasUpdateHandler:v}},useModelToggleProps:a,useModelToggleEmits:n}};T7("modelValue");const x7=e=>{const t=mt();return L(()=>{var r,n;return(n=(r=t==null?void 0:t.proxy)==null?void 0:r.$props)==null?void 0:n[e]})};var xa="top",Ri="bottom",Mi="right",Aa="left",pT="auto",hm=[xa,Ri,Mi,Aa],ap="start",ng="end",dDe="clippingParents",A7="viewport",oh="popper",fDe="reference",TI=hm.reduce(function(e,t){return e.concat([t+"-"+ap,t+"-"+ng])},[]),Td=[].concat(hm,[pT]).reduce(function(e,t){return e.concat([t,t+"-"+ap,t+"-"+ng])},[]),pDe="beforeRead",hDe="read",vDe="afterRead",gDe="beforeMain",mDe="main",yDe="afterMain",_De="beforeWrite",bDe="write",wDe="afterWrite",SDe=[pDe,hDe,vDe,gDe,mDe,yDe,_De,bDe,wDe];function Ko(e){return e?(e.nodeName||"").toLowerCase():null}function ho(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ip(e){var t=ho(e).Element;return e instanceof t||e instanceof Element}function Ci(e){var t=ho(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function hT(e){if(typeof ShadowRoot>"u")return!1;var t=ho(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function EDe(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},i=t.elements[r];!Ci(i)||!Ko(i)||(Object.assign(i.style,n),Object.keys(a).forEach(function(o){var s=a[o];s===!1?i.removeAttribute(o):i.setAttribute(o,s===!0?"":s)}))})}function CDe(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],i=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=o.reduce(function(l,u){return l[u]="",l},{});!Ci(a)||!Ko(a)||(Object.assign(a.style,s),Object.keys(i).forEach(function(l){a.removeAttribute(l)}))})}}var k7={name:"applyStyles",enabled:!0,phase:"write",fn:EDe,effect:CDe,requires:["computeStyles"]};function zo(e){return e.split("-")[0]}var zc=Math.max,L1=Math.min,op=Math.round;function sp(e,t){t===void 0&&(t=!1);var r=e.getBoundingClientRect(),n=1,a=1;if(Ci(e)&&t){var i=e.offsetHeight,o=e.offsetWidth;o>0&&(n=op(r.width)/o||1),i>0&&(a=op(r.height)/i||1)}return{width:r.width/n,height:r.height/a,top:r.top/a,right:r.right/n,bottom:r.bottom/a,left:r.left/n,x:r.left/n,y:r.top/a}}function vT(e){var t=sp(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function I7(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&hT(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Os(e){return ho(e).getComputedStyle(e)}function TDe(e){return["table","td","th"].indexOf(Ko(e))>=0}function mu(e){return((ip(e)?e.ownerDocument:e.document)||window.document).documentElement}function T_(e){return Ko(e)==="html"?e:e.assignedSlot||e.parentNode||(hT(e)?e.host:null)||mu(e)}function xI(e){return!Ci(e)||Os(e).position==="fixed"?null:e.offsetParent}function xDe(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&Ci(e)){var n=Os(e);if(n.position==="fixed")return null}var a=T_(e);for(hT(a)&&(a=a.host);Ci(a)&&["html","body"].indexOf(Ko(a))<0;){var i=Os(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function vm(e){for(var t=ho(e),r=xI(e);r&&TDe(r)&&Os(r).position==="static";)r=xI(r);return r&&(Ko(r)==="html"||Ko(r)==="body"&&Os(r).position==="static")?t:r||xDe(e)||t}function gT(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function hv(e,t,r){return zc(e,L1(t,r))}function ADe(e,t,r){var n=hv(e,t,r);return n>r?r:n}function R7(){return{top:0,right:0,bottom:0,left:0}}function M7(e){return Object.assign({},R7(),e)}function L7(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var kDe=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,M7(typeof e!="number"?e:L7(e,hm))};function IDe(e){var t,r=e.state,n=e.name,a=e.options,i=r.elements.arrow,o=r.modifiersData.popperOffsets,s=zo(r.placement),l=gT(s),u=[Aa,Mi].indexOf(s)>=0,c=u?"height":"width";if(!(!i||!o)){var d=kDe(a.padding,r),f=vT(i),p=l==="y"?xa:Aa,h=l==="y"?Ri:Mi,v=r.rects.reference[c]+r.rects.reference[l]-o[l]-r.rects.popper[c],g=o[l]-r.rects.reference[l],m=vm(i),y=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,_=v/2-g/2,w=d[p],E=y-f[c]-d[h],S=y/2-f[c]/2+_,C=hv(w,S,E),T=l;r.modifiersData[n]=(t={},t[T]=C,t.centerOffset=C-S,t)}}function RDe(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||!I7(t.elements.popper,a)||(t.elements.arrow=a))}var MDe={name:"arrow",enabled:!0,phase:"main",fn:IDe,effect:RDe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function lp(e){return e.split("-")[1]}var LDe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function DDe(e){var t=e.x,r=e.y,n=window,a=n.devicePixelRatio||1;return{x:op(t*a)/a||0,y:op(r*a)/a||0}}function AI(e){var t,r=e.popper,n=e.popperRect,a=e.placement,i=e.variation,o=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=o.x,p=f===void 0?0:f,h=o.y,v=h===void 0?0:h,g=typeof c=="function"?c({x:p,y:v}):{x:p,y:v};p=g.x,v=g.y;var m=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),_=Aa,w=xa,E=window;if(u){var S=vm(r),C="clientHeight",T="clientWidth";if(S===ho(r)&&(S=mu(r),Os(S).position!=="static"&&s==="absolute"&&(C="scrollHeight",T="scrollWidth")),S=S,a===xa||(a===Aa||a===Mi)&&i===ng){w=Ri;var x=d&&S===E&&E.visualViewport?E.visualViewport.height:S[C];v-=x-n.height,v*=l?1:-1}if(a===Aa||(a===xa||a===Ri)&&i===ng){_=Mi;var A=d&&S===E&&E.visualViewport?E.visualViewport.width:S[T];p-=A-n.width,p*=l?1:-1}}var k=Object.assign({position:s},u&&LDe),R=c===!0?DDe({x:p,y:v}):{x:p,y:v};if(p=R.x,v=R.y,l){var M;return Object.assign({},k,(M={},M[w]=y?"0":"",M[_]=m?"0":"",M.transform=(E.devicePixelRatio||1)<=1?"translate("+p+"px, "+v+"px)":"translate3d("+p+"px, "+v+"px, 0)",M))}return Object.assign({},k,(t={},t[w]=y?v+"px":"",t[_]=m?p+"px":"",t.transform="",t))}function ODe(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,i=r.adaptive,o=i===void 0?!0:i,s=r.roundOffsets,l=s===void 0?!0:s,u={placement:zo(t.placement),variation:lp(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,AI(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,AI(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var D7={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ODe,data:{}},e0={passive:!0};function NDe(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,i=a===void 0?!0:a,o=n.resize,s=o===void 0?!0:o,l=ho(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",r.update,e0)}),s&&l.addEventListener("resize",r.update,e0),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",r.update,e0)}),s&&l.removeEventListener("resize",r.update,e0)}}var O7={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:NDe,data:{}},PDe={left:"right",right:"left",bottom:"top",top:"bottom"};function Ay(e){return e.replace(/left|right|bottom|top/g,function(t){return PDe[t]})}var $De={start:"end",end:"start"};function kI(e){return e.replace(/start|end/g,function(t){return $De[t]})}function mT(e){var t=ho(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function yT(e){return sp(mu(e)).left+mT(e).scrollLeft}function BDe(e){var t=ho(e),r=mu(e),n=t.visualViewport,a=r.clientWidth,i=r.clientHeight,o=0,s=0;return n&&(a=n.width,i=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=n.offsetLeft,s=n.offsetTop)),{width:a,height:i,x:o+yT(e),y:s}}function FDe(e){var t,r=mu(e),n=mT(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=zc(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=zc(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+yT(e),l=-n.scrollTop;return Os(a||r).direction==="rtl"&&(s+=zc(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:o,x:s,y:l}}function _T(e){var t=Os(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function N7(e){return["html","body","#document"].indexOf(Ko(e))>=0?e.ownerDocument.body:Ci(e)&&_T(e)?e:N7(T_(e))}function vv(e,t){var r;t===void 0&&(t=[]);var n=N7(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),i=ho(n),o=a?[i].concat(i.visualViewport||[],_T(n)?n:[]):n,s=t.concat(o);return a?s:s.concat(vv(T_(o)))}function c3(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function zDe(e){var t=sp(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function II(e,t){return t===A7?c3(BDe(e)):ip(t)?zDe(t):c3(FDe(mu(e)))}function VDe(e){var t=vv(T_(e)),r=["absolute","fixed"].indexOf(Os(e).position)>=0,n=r&&Ci(e)?vm(e):e;return ip(n)?t.filter(function(a){return ip(a)&&I7(a,n)&&Ko(a)!=="body"}):[]}function HDe(e,t,r){var n=t==="clippingParents"?VDe(e):[].concat(t),a=[].concat(n,[r]),i=a[0],o=a.reduce(function(s,l){var u=II(e,l);return s.top=zc(u.top,s.top),s.right=L1(u.right,s.right),s.bottom=L1(u.bottom,s.bottom),s.left=zc(u.left,s.left),s},II(e,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function P7(e){var t=e.reference,r=e.element,n=e.placement,a=n?zo(n):null,i=n?lp(n):null,o=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(a){case xa:l={x:o,y:t.y-r.height};break;case Ri:l={x:o,y:t.y+t.height};break;case Mi:l={x:t.x+t.width,y:s};break;case Aa:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var u=a?gT(a):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case ap:l[u]=l[u]-(t[c]/2-r[c]/2);break;case ng:l[u]=l[u]+(t[c]/2-r[c]/2);break}}return l}function ag(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,i=r.boundary,o=i===void 0?dDe:i,s=r.rootBoundary,l=s===void 0?A7:s,u=r.elementContext,c=u===void 0?oh:u,d=r.altBoundary,f=d===void 0?!1:d,p=r.padding,h=p===void 0?0:p,v=M7(typeof h!="number"?h:L7(h,hm)),g=c===oh?fDe:oh,m=e.rects.popper,y=e.elements[f?g:c],_=HDe(ip(y)?y:y.contextElement||mu(e.elements.popper),o,l),w=sp(e.elements.reference),E=P7({reference:w,element:m,strategy:"absolute",placement:a}),S=c3(Object.assign({},m,E)),C=c===oh?S:w,T={top:_.top-C.top+v.top,bottom:C.bottom-_.bottom+v.bottom,left:_.left-C.left+v.left,right:C.right-_.right+v.right},x=e.modifiersData.offset;if(c===oh&&x){var A=x[a];Object.keys(T).forEach(function(k){var R=[Mi,Ri].indexOf(k)>=0?1:-1,M=[xa,Ri].indexOf(k)>=0?"y":"x";T[k]+=A[M]*R})}return T}function UDe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,o=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,u=l===void 0?Td:l,c=lp(n),d=c?s?TI:TI.filter(function(h){return lp(h)===c}):hm,f=d.filter(function(h){return u.indexOf(h)>=0});f.length===0&&(f=d);var p=f.reduce(function(h,v){return h[v]=ag(e,{placement:v,boundary:a,rootBoundary:i,padding:o})[zo(v)],h},{});return Object.keys(p).sort(function(h,v){return p[h]-p[v]})}function GDe(e){if(zo(e)===pT)return[];var t=Ay(e);return[kI(e),t,kI(t)]}function WDe(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,o=r.altAxis,s=o===void 0?!0:o,l=r.fallbackPlacements,u=r.padding,c=r.boundary,d=r.rootBoundary,f=r.altBoundary,p=r.flipVariations,h=p===void 0?!0:p,v=r.allowedAutoPlacements,g=t.options.placement,m=zo(g),y=m===g,_=l||(y||!h?[Ay(g)]:GDe(g)),w=[g].concat(_).reduce(function(J,fe){return J.concat(zo(fe)===pT?UDe(t,{placement:fe,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:v}):fe)},[]),E=t.rects.reference,S=t.rects.popper,C=new Map,T=!0,x=w[0],A=0;A<w.length;A++){var k=w[A],R=zo(k),M=lp(k)===ap,O=[xa,Ri].indexOf(R)>=0,z=O?"width":"height",B=ag(t,{placement:k,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),P=O?M?Mi:Aa:M?Ri:xa;E[z]>S[z]&&(P=Ay(P));var F=Ay(P),D=[];if(i&&D.push(B[R]<=0),s&&D.push(B[P]<=0,B[F]<=0),D.every(function(J){return J})){x=k,T=!1;break}C.set(k,D)}if(T)for(var H=h?3:1,K=function(J){var fe=w.find(function(se){var q=C.get(se);if(q)return q.slice(0,J).every(function(j){return j})});if(fe)return x=fe,"break"},Y=H;Y>0;Y--){var X=K(Y);if(X==="break")break}t.placement!==x&&(t.modifiersData[n]._skip=!0,t.placement=x,t.reset=!0)}}var KDe={name:"flip",enabled:!0,phase:"main",fn:WDe,requiresIfExists:["offset"],data:{_skip:!1}};function RI(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function MI(e){return[xa,Mi,Ri,Aa].some(function(t){return e[t]>=0})}function YDe(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,o=ag(t,{elementContext:"reference"}),s=ag(t,{altBoundary:!0}),l=RI(o,n),u=RI(s,a,i),c=MI(l),d=MI(u);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}var qDe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:YDe};function jDe(e,t,r){var n=zo(e),a=[Aa,xa].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,o=i[0],s=i[1];return o=o||0,s=(s||0)*a,[Aa,Mi].indexOf(n)>=0?{x:s,y:o}:{x:o,y:s}}function XDe(e){var t=e.state,r=e.options,n=e.name,a=r.offset,i=a===void 0?[0,0]:a,o=Td.reduce(function(c,d){return c[d]=jDe(d,t.rects,i),c},{}),s=o[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=o}var ZDe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:XDe};function QDe(e){var t=e.state,r=e.name;t.modifiersData[r]=P7({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var $7={name:"popperOffsets",enabled:!0,phase:"read",fn:QDe,data:{}};function JDe(e){return e==="x"?"y":"x"}function e5e(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,i=a===void 0?!0:a,o=r.altAxis,s=o===void 0?!1:o,l=r.boundary,u=r.rootBoundary,c=r.altBoundary,d=r.padding,f=r.tether,p=f===void 0?!0:f,h=r.tetherOffset,v=h===void 0?0:h,g=ag(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),m=zo(t.placement),y=lp(t.placement),_=!y,w=gT(m),E=JDe(w),S=t.modifiersData.popperOffsets,C=t.rects.reference,T=t.rects.popper,x=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,A=typeof x=="number"?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(S){if(i){var M,O=w==="y"?xa:Aa,z=w==="y"?Ri:Mi,B=w==="y"?"height":"width",P=S[w],F=P+g[O],D=P-g[z],H=p?-T[B]/2:0,K=y===ap?C[B]:T[B],Y=y===ap?-T[B]:-C[B],X=t.elements.arrow,J=p&&X?vT(X):{width:0,height:0},fe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:R7(),se=fe[O],q=fe[z],j=hv(0,C[B],J[B]),ae=_?C[B]/2-H-j-se-A.mainAxis:K-j-se-A.mainAxis,ne=_?-C[B]/2+H+j+q+A.mainAxis:Y+j+q+A.mainAxis,le=t.elements.arrow&&vm(t.elements.arrow),W=le?w==="y"?le.clientTop||0:le.clientLeft||0:0,Z=(M=k==null?void 0:k[w])!=null?M:0,ie=P+ae-Z-W,me=P+ne-Z,be=hv(p?L1(F,ie):F,P,p?zc(D,me):D);S[w]=be,R[w]=be-P}if(s){var ge,Re=w==="x"?xa:Aa,Ce=w==="x"?Ri:Mi,Ee=S[E],xe=E==="y"?"height":"width",$e=Ee+g[Re],Fe=Ee-g[Ce],Ge=[xa,Aa].indexOf(m)!==-1,Ie=(ge=k==null?void 0:k[E])!=null?ge:0,We=Ge?$e:Ee-C[xe]-T[xe]-Ie+A.altAxis,ot=Ge?Ee+C[xe]+T[xe]-Ie-A.altAxis:Fe,dt=p&&Ge?ADe(We,Ee,ot):hv(p?We:$e,Ee,p?ot:Fe);S[E]=dt,R[E]=dt-Ee}t.modifiersData[n]=R}}var t5e={name:"preventOverflow",enabled:!0,phase:"main",fn:e5e,requiresIfExists:["offset"]};function r5e(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function n5e(e){return e===ho(e)||!Ci(e)?mT(e):r5e(e)}function a5e(e){var t=e.getBoundingClientRect(),r=op(t.width)/e.offsetWidth||1,n=op(t.height)/e.offsetHeight||1;return r!==1||n!==1}function i5e(e,t,r){r===void 0&&(r=!1);var n=Ci(t),a=Ci(t)&&a5e(t),i=mu(t),o=sp(e,a),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Ko(t)!=="body"||_T(i))&&(s=n5e(t)),Ci(t)?(l=sp(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=yT(i))),{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function o5e(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function a(i){r.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&a(l)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||a(i)}),n}function s5e(e){var t=o5e(e);return SDe.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function l5e(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function u5e(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var LI={placement:"bottom",modifiers:[],strategy:"absolute"};function DI(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function bT(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?LI:a;return function(o,s,l){l===void 0&&(l=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},LI,i),modifiersData:{},elements:{reference:o,popper:s},attributes:{},styles:{}},c=[],d=!1,f={state:u,setOptions:function(v){var g=typeof v=="function"?v(u.options):v;h(),u.options=Object.assign({},i,u.options,g),u.scrollParents={reference:ip(o)?vv(o):o.contextElement?vv(o.contextElement):[],popper:vv(s)};var m=s5e(u5e([].concat(n,u.options.modifiers)));return u.orderedModifiers=m.filter(function(y){return y.enabled}),p(),f.update()},forceUpdate:function(){if(!d){var v=u.elements,g=v.reference,m=v.popper;if(DI(g,m)){u.rects={reference:i5e(g,vm(m),u.options.strategy==="fixed"),popper:vT(m)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(T){return u.modifiersData[T.name]=Object.assign({},T.data)});for(var y=0;y<u.orderedModifiers.length;y++){if(u.reset===!0){u.reset=!1,y=-1;continue}var _=u.orderedModifiers[y],w=_.fn,E=_.options,S=E===void 0?{}:E,C=_.name;typeof w=="function"&&(u=w({state:u,options:S,name:C,instance:f})||u)}}}},update:l5e(function(){return new Promise(function(v){f.forceUpdate(),v(u)})}),destroy:function(){h(),d=!0}};if(!DI(o,s))return f;f.setOptions(l).then(function(v){!d&&l.onFirstUpdate&&l.onFirstUpdate(v)});function p(){u.orderedModifiers.forEach(function(v){var g=v.name,m=v.options,y=m===void 0?{}:m,_=v.effect;if(typeof _=="function"){var w=_({state:u,name:g,instance:f,options:y}),E=function(){};c.push(w||E)}})}function h(){c.forEach(function(v){return v()}),c=[]}return f}}bT();var c5e=[O7,$7,D7,k7];bT({defaultModifiers:c5e});var d5e=[O7,$7,D7,k7,ZDe,KDe,t5e,MDe,qDe],B7=bT({defaultModifiers:d5e});const f5e=(e,t,r={})=>{const n={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const u=p5e(l);Object.assign(o.value,u)},requires:["computeStyles"]},a=L(()=>{const{onFirstUpdate:l,placement:u,strategy:c,modifiers:d}=b(r);return{onFirstUpdate:l,placement:u||"bottom",strategy:c||"absolute",modifiers:[...d||[],n,{name:"applyStyles",enabled:!1}]}}),i=or(),o=U({styles:{popper:{position:b(a).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return Te(a,l=>{const u=b(i);u&&u.setOptions(l)},{deep:!0}),Te([e,t],([l,u])=>{s(),!(!l||!u)&&(i.value=B7(l,u,b(a)))}),vr(()=>{s()}),{state:L(()=>{var l;return{...((l=b(i))==null?void 0:l.state)||{}}}),styles:L(()=>b(o).styles),attributes:L(()=>b(o).attributes),update:()=>{var l;return(l=b(i))==null?void 0:l.update()},forceUpdate:()=>{var l;return(l=b(i))==null?void 0:l.forceUpdate()},instanceRef:L(()=>b(i))}};function p5e(e){const t=Object.keys(e.elements),r=M1(t.map(a=>[a,e.styles[a]||{}])),n=M1(t.map(a=>[a,e.attributes[a]]));return{styles:r,attributes:n}}const wT=e=>{if(!e)return{onClick:nr,onMousedown:nr,onMouseup:nr};let t=!1,r=!1;return{onClick:o=>{t&&r&&e(o),t=r=!1},onMousedown:o=>{t=o.target===o.currentTarget},onMouseup:o=>{r=o.target===o.currentTarget}}},h5e=(e,t=0)=>{if(t===0)return e;const r=U(!1);let n=0;const a=()=>{n&&clearTimeout(n),n=window.setTimeout(()=>{r.value=e.value},t)};return gt(a),Te(()=>e.value,i=>{i?a():r.value=i}),r};function OI(){let e;const t=(n,a)=>{r(),e=window.setTimeout(n,a)},r=()=>window.clearTimeout(e);return im(()=>r()),{registerTimeout:t,cancelTimeout:r}}const NI={prefix:Math.floor(Math.random()*1e4),current:0},v5e=Symbol("elIdInjection"),F7=()=>mt()?Ue(v5e,NI):NI,Da=e=>{const t=F7(),r=fT();return L(()=>b(e)||`${r.value}-id-${t.prefix}-${t.current++}`)};let cf=[];const PI=e=>{const t=e;t.key===Xe.esc&&cf.forEach(r=>r(t))},g5e=e=>{gt(()=>{cf.length===0&&document.addEventListener("keydown",PI),zt&&cf.push(e)}),vr(()=>{cf=cf.filter(t=>t!==e),cf.length===0&&zt&&document.removeEventListener("keydown",PI)})};let $I;const z7=()=>{const e=fT(),t=F7(),r=L(()=>`${e.value}-popper-container-${t.prefix}`),n=L(()=>`#${r.value}`);return{id:r,selector:n}},m5e=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},y5e=()=>{const{id:e,selector:t}=z7();return o_(()=>{zt&&!$I&&!document.body.querySelector(t.value)&&($I=m5e(e.value))}),{id:e,selector:t}},_5e=Le({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),V7=({showAfter:e,hideAfter:t,autoClose:r,open:n,close:a})=>{const{registerTimeout:i}=OI(),{registerTimeout:o,cancelTimeout:s}=OI();return{onOpen:c=>{i(()=>{n(c);const d=b(r);at(d)&&d>0&&o(()=>{a(c)},d)},b(e))},onClose:c=>{s(),i(()=>{a(c)},b(t))}}},H7=Symbol("elForwardRef"),b5e=e=>{It(H7,{setForwardRef:r=>{e.value=r}})},w5e=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),BI=U(0),U7=2e3,G7=Symbol("zIndexContextKey"),Pp=e=>{const t=e||(mt()?Ue(G7,void 0):void 0),r=L(()=>{const i=b(t);return at(i)?i:U7}),n=L(()=>r.value+BI.value);return{initialZIndex:r,currentZIndex:n,nextZIndex:()=>(BI.value++,n.value)}},ig=Math.min,Nf=Math.max,D1=Math.round,eu=e=>({x:e,y:e});function S5e(e,t,r){return Nf(e,ig(t,r))}function W7(e,t){return typeof e=="function"?e(t):e}function ST(e){return e.split("-")[0]}function ET(e){return e.split("-")[1]}function E5e(e){return e==="x"?"y":"x"}function K7(e){return e==="y"?"height":"width"}function CT(e){return["top","bottom"].includes(ST(e))?"y":"x"}function Y7(e){return E5e(CT(e))}function C5e(e){return{top:0,right:0,bottom:0,left:0,...e}}function T5e(e){return typeof e!="number"?C5e(e):{top:e,right:e,bottom:e,left:e}}function q7(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function FI(e,t,r){let{reference:n,floating:a}=e;const i=CT(t),o=Y7(t),s=K7(o),l=ST(t),u=i==="y",c=n.x+n.width/2-a.width/2,d=n.y+n.height/2-a.height/2,f=n[s]/2-a[s]/2;let p;switch(l){case"top":p={x:c,y:n.y-a.height};break;case"bottom":p={x:c,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-a.width,y:d};break;default:p={x:n.x,y:n.y}}switch(ET(t)){case"start":p[o]-=f*(r&&u?-1:1);break;case"end":p[o]+=f*(r&&u?-1:1);break}return p}const x5e=async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:o}=r,s=i.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:c,y:d}=FI(u,n,l),f=n,p={},h=0;for(let v=0;v<s.length;v++){const{name:g,fn:m}=s[v],{x:y,y:_,data:w,reset:E}=await m({x:c,y:d,initialPlacement:n,placement:f,strategy:a,middlewareData:p,rects:u,platform:o,elements:{reference:e,floating:t}});if(c=y??c,d=_??d,p={...p,[g]:{...p[g],...w}},E&&h<=50){h++,typeof E=="object"&&(E.placement&&(f=E.placement),E.rects&&(u=E.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:a}):E.rects),{x:c,y:d}=FI(u,f,l)),v=-1;continue}}return{x:c,y:d,placement:f,strategy:a,middlewareData:p}},A5e=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:a,rects:i,platform:o,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=W7(e,t)||{};if(u==null)return{};const d=T5e(c),f={x:r,y:n},p=Y7(a),h=K7(p),v=await o.getDimensions(u),g=p==="y",m=g?"top":"left",y=g?"bottom":"right",_=g?"clientHeight":"clientWidth",w=i.reference[h]+i.reference[p]-f[p]-i.floating[h],E=f[p]-i.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let C=S?S[_]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[_]||i.floating[h]);const T=w/2-E/2,x=C/2-v[h]/2-1,A=ig(d[m],x),k=ig(d[y],x),R=A,M=C-v[h]-k,O=C/2-v[h]/2+T,z=S5e(R,O,M),B=!l.arrow&&ET(a)!=null&&O!=z&&i.reference[h]/2-(O<R?A:k)-v[h]/2<0,P=B?O<R?O-R:O-M:0;return{[p]:f[p]+P,data:{[p]:z,centerOffset:O-z-P,...B&&{alignmentOffset:P}},reset:B}}});async function k5e(e,t){const{placement:r,platform:n,elements:a}=e,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),o=ST(r),s=ET(r),l=CT(r)==="y",u=["left","top"].includes(o)?-1:1,c=i&&l?-1:1,d=W7(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof h=="number"&&(p=s==="end"?h*-1:h),l?{x:p*c,y:f*u}:{x:f*u,y:p*c}}const I5e=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,a=await k5e(t,e);return{x:r+a.x,y:n+a.y,data:a}}}};function tu(e){return j7(e)?(e.nodeName||"").toLowerCase():"#document"}function ja(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function yu(e){var t;return(t=(j7(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function j7(e){return e instanceof Node||e instanceof ja(e).Node}function Ns(e){return e instanceof Element||e instanceof ja(e).Element}function Yo(e){return e instanceof HTMLElement||e instanceof ja(e).HTMLElement}function zI(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ja(e).ShadowRoot}function gm(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=Li(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function R5e(e){return["table","td","th"].includes(tu(e))}function TT(e){const t=xT(),r=Li(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function M5e(e){let t=up(e);for(;Yo(t)&&!x_(t);){if(TT(t))return t;t=up(t)}return null}function xT(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function x_(e){return["html","body","#document"].includes(tu(e))}function Li(e){return ja(e).getComputedStyle(e)}function A_(e){return Ns(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function up(e){if(tu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zI(e)&&e.host||yu(e);return zI(t)?t.host:t}function X7(e){const t=up(e);return x_(t)?e.ownerDocument?e.ownerDocument.body:e.body:Yo(t)&&gm(t)?t:X7(t)}function d3(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const a=X7(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),o=ja(a);return i?t.concat(o,o.visualViewport||[],gm(a)?a:[],o.frameElement&&r?d3(o.frameElement):[]):t.concat(a,d3(a,[],r))}function Z7(e){const t=Li(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=Yo(e),i=a?e.offsetWidth:r,o=a?e.offsetHeight:n,s=D1(r)!==i||D1(n)!==o;return s&&(r=i,n=o),{width:r,height:n,$:s}}function Q7(e){return Ns(e)?e:e.contextElement}function Pf(e){const t=Q7(e);if(!Yo(t))return eu(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:i}=Z7(t);let o=(i?D1(r.width):r.width)/n,s=(i?D1(r.height):r.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const L5e=eu(0);function J7(e){const t=ja(e);return!xT()||!t.visualViewport?L5e:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function D5e(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ja(e)?!1:t}function og(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),i=Q7(e);let o=eu(1);t&&(n?Ns(n)&&(o=Pf(n)):o=Pf(e));const s=D5e(i,r,n)?J7(i):eu(0);let l=(a.left+s.x)/o.x,u=(a.top+s.y)/o.y,c=a.width/o.x,d=a.height/o.y;if(i){const f=ja(i),p=n&&Ns(n)?ja(n):n;let h=f.frameElement;for(;h&&n&&p!==f;){const v=Pf(h),g=h.getBoundingClientRect(),m=Li(h),y=g.left+(h.clientLeft+parseFloat(m.paddingLeft))*v.x,_=g.top+(h.clientTop+parseFloat(m.paddingTop))*v.y;l*=v.x,u*=v.y,c*=v.x,d*=v.y,l+=y,u+=_,h=ja(h).frameElement}}return q7({width:c,height:d,x:l,y:u})}function O5e(e){let{rect:t,offsetParent:r,strategy:n}=e;const a=Yo(r),i=yu(r);if(r===i)return t;let o={scrollLeft:0,scrollTop:0},s=eu(1);const l=eu(0);if((a||!a&&n!=="fixed")&&((tu(r)!=="body"||gm(i))&&(o=A_(r)),Yo(r))){const u=og(r);s=Pf(r),l.x=u.x+r.clientLeft,l.y=u.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-o.scrollLeft*s.x+l.x,y:t.y*s.y-o.scrollTop*s.y+l.y}}function N5e(e){return Array.from(e.getClientRects())}function eF(e){return og(yu(e)).left+A_(e).scrollLeft}function P5e(e){const t=yu(e),r=A_(e),n=e.ownerDocument.body,a=Nf(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Nf(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let o=-r.scrollLeft+eF(e);const s=-r.scrollTop;return Li(n).direction==="rtl"&&(o+=Nf(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:o,y:s}}function $5e(e,t){const r=ja(e),n=yu(e),a=r.visualViewport;let i=n.clientWidth,o=n.clientHeight,s=0,l=0;if(a){i=a.width,o=a.height;const u=xT();(!u||u&&t==="fixed")&&(s=a.offsetLeft,l=a.offsetTop)}return{width:i,height:o,x:s,y:l}}function B5e(e,t){const r=og(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=Yo(e)?Pf(e):eu(1),o=e.clientWidth*i.x,s=e.clientHeight*i.y,l=a*i.x,u=n*i.y;return{width:o,height:s,x:l,y:u}}function VI(e,t,r){let n;if(t==="viewport")n=$5e(e,r);else if(t==="document")n=P5e(yu(e));else if(Ns(t))n=B5e(t,r);else{const a=J7(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return q7(n)}function tF(e,t){const r=up(e);return r===t||!Ns(r)||x_(r)?!1:Li(r).position==="fixed"||tF(r,t)}function F5e(e,t){const r=t.get(e);if(r)return r;let n=d3(e,[],!1).filter(s=>Ns(s)&&tu(s)!=="body"),a=null;const i=Li(e).position==="fixed";let o=i?up(e):e;for(;Ns(o)&&!x_(o);){const s=Li(o),l=TT(o);!l&&s.position==="fixed"&&(a=null),(i?!l&&!a:!l&&s.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||gm(o)&&!l&&tF(e,o))?n=n.filter(c=>c!==o):a=s,o=up(o)}return t.set(e,n),n}function z5e(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const o=[...r==="clippingAncestors"?F5e(t,this._c):[].concat(r),n],s=o[0],l=o.reduce((u,c)=>{const d=VI(t,c,a);return u.top=Nf(d.top,u.top),u.right=ig(d.right,u.right),u.bottom=ig(d.bottom,u.bottom),u.left=Nf(d.left,u.left),u},VI(t,s,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function V5e(e){return Z7(e)}function H5e(e,t,r){const n=Yo(t),a=yu(t),i=r==="fixed",o=og(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=eu(0);if(n||!n&&!i)if((tu(t)!=="body"||gm(a))&&(s=A_(t)),n){const u=og(t,!0,i,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else a&&(l.x=eF(a));return{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function HI(e,t){return!Yo(e)||Li(e).position==="fixed"?null:t?t(e):e.offsetParent}function rF(e,t){const r=ja(e);if(!Yo(e))return r;let n=HI(e,t);for(;n&&R5e(n)&&Li(n).position==="static";)n=HI(n,t);return n&&(tu(n)==="html"||tu(n)==="body"&&Li(n).position==="static"&&!TT(n))?r:n||M5e(e)||r}const U5e=async function(e){let{reference:t,floating:r,strategy:n}=e;const a=this.getOffsetParent||rF,i=this.getDimensions;return{reference:H5e(t,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function G5e(e){return Li(e).direction==="rtl"}const W5e={convertOffsetParentRelativeRectToViewportRelativeRect:O5e,getDocumentElement:yu,getClippingRect:z5e,getOffsetParent:rF,getElementRects:U5e,getClientRects:N5e,getDimensions:V5e,getScale:Pf,isElement:Ns,isRTL:G5e},K5e=(e,t,r)=>{const n=new Map,a={platform:W5e,...r},i={...a.platform,_c:n};return x5e(e,t,{...a,platform:i})};Le({});const Y5e=e=>{if(!zt)return;if(!e)return e;const t=Ea(e);return t||(cr(e)?t:e)},q5e=({middleware:e,placement:t,strategy:r})=>{const n=U(),a=U(),i=U(),o=U(),s=U({}),l={x:i,y:o,placement:t,strategy:r,middlewareData:s},u=async()=>{if(!zt)return;const c=Y5e(n),d=Ea(a);if(!c||!d)return;const f=await K5e(c,d,{placement:b(t),strategy:b(r),middleware:b(e)});rg(l).forEach(p=>{l[p].value=f[p]})};return gt(()=>{qa(()=>{u()})}),{...l,update:u,referenceRef:n,contentRef:a}},j5e=({arrowRef:e,padding:t})=>({name:"arrow",options:{element:e,padding:t},fn(r){const n=b(e);return n?A5e({element:n,padding:t}).fn(r):{}}});function X5e(e){const t=U();function r(){if(e.value==null)return;const{selectionStart:a,selectionEnd:i,value:o}=e.value;if(a==null||i==null)return;const s=o.slice(0,Math.max(0,a)),l=o.slice(Math.max(0,i));t.value={selectionStart:a,selectionEnd:i,value:o,beforeTxt:s,afterTxt:l}}function n(){if(e.value==null||t.value==null)return;const{value:a}=e.value,{beforeTxt:i,afterTxt:o,selectionStart:s}=t.value;if(i==null||o==null||s==null)return;let l=a.length;if(a.endsWith(o))l=a.length-o.length;else if(a.startsWith(i))l=i.length;else{const u=i[s-1],c=a.indexOf(u,s-1);c!==-1&&(l=c+1)}e.value.setSelectionRange(l,l)}return[r,n]}const Z5e=(e,t,r)=>Fc(e.subTree).filter(i=>{var o;return Sr(i)&&((o=i.type)==null?void 0:o.name)===t&&!!i.component}).map(i=>i.component.uid).map(i=>r[i]).filter(i=>!!i),AT=(e,t)=>{const r={},n=or([]);return{children:n,addChild:o=>{r[o.uid]=o,n.value=Z5e(e,t,r)},removeChild:o=>{delete r[o],n.value=n.value.filter(s=>s.uid!==o)}}},On=po({type:String,values:rs,required:!1}),nF=Symbol("size"),Q5e=()=>{const e=Ue(nF,{});return L(()=>b(e.size)||"")};function aF(e,{afterFocus:t,beforeBlur:r,afterBlur:n}={}){const a=mt(),{emit:i}=a,o=or(),s=U(!1),l=d=>{s.value||(s.value=!0,i("focus",d),t==null||t())},u=d=>{var f;it(r)&&r(d)||d.relatedTarget&&((f=o.value)!=null&&f.contains(d.relatedTarget))||(s.value=!1,i("blur",d),n==null||n())},c=()=>{var d;(d=e.value)==null||d.focus()};return Te(o,d=>{d&&d.setAttribute("tabindex","-1")}),yr(o,"click",c),{wrapperRef:o,isFocused:s,handleFocus:l,handleBlur:u}}const iF=Symbol(),O1=U();function k_(e,t=void 0){const r=mt()?Ue(iF,O1):O1;return e?L(()=>{var n,a;return(a=(n=r.value)==null?void 0:n[e])!=null?a:t}):r}function I_(e,t){const r=k_(),n=ke(e,L(()=>{var s;return((s=r.value)==null?void 0:s.namespace)||pv})),a=Ht(L(()=>{var s;return(s=r.value)==null?void 0:s.locale})),i=Pp(L(()=>{var s;return((s=r.value)==null?void 0:s.zIndex)||U7})),o=L(()=>{var s;return b(t)||((s=r.value)==null?void 0:s.size)||""});return kT(L(()=>b(r)||{})),{ns:n,locale:a,zIndex:i,size:o}}const kT=(e,t,r=!1)=>{var n;const a=!!mt(),i=a?k_():void 0,o=(n=t==null?void 0:t.provide)!=null?n:a?It:void 0;if(!o)return;const s=L(()=>{const l=b(e);return i!=null&&i.value?J5e(i.value,l):l});return o(iF,s),o(S7,L(()=>s.value.locale)),o(E7,L(()=>s.value.namespace)),o(G7,L(()=>s.value.zIndex)),o(nF,{size:L(()=>s.value.size||"")}),(r||!O1.value)&&(O1.value=s.value),s},J5e=(e,t)=>{var r;const n=[...new Set([...rg(e),...rg(t)])],a={};for(const i of n)a[i]=(r=t[i])!=null?r:e[i];return a},eOe=Le({a11y:{type:Boolean,default:!0},locale:{type:ce(Object)},size:On,button:{type:ce(Object)},experimentalFeatures:{type:ce(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:ce(Object)},zIndex:Number,namespace:{type:String,default:"el"}}),f3={},tOe=te({name:"ElConfigProvider",props:eOe,setup(e,{slots:t}){Te(()=>e.message,n=>{Object.assign(f3,n??{})},{immediate:!0,deep:!0});const r=kT(e);return()=>Se(t,"default",{config:r==null?void 0:r.value})}}),rOe=bt(tOe),nOe="2.4.1",aOe=(e=[])=>({version:nOe,install:(r,n)=>{r[EI]||(r[EI]=!0,e.forEach(a=>r.use(a)),n&&kT(n,r,!0))}}),iOe=Le({zIndex:{type:ce([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),oOe={scroll:({scrollTop:e,fixed:t})=>at(e)&&tn(t),[hr]:e=>tn(e)};var De=(e,t)=>{const r=e.__vccOpts||e;for(const[n,a]of t)r[n]=a;return r};const oF="ElAffix",sOe=te({name:oF}),lOe=te({...sOe,props:iOe,emits:oOe,setup(e,{expose:t,emit:r}){const n=e,a=ke("affix"),i=or(),o=or(),s=or(),{height:l}=zJ(),{height:u,width:c,top:d,bottom:f,update:p}=zk(o,{windowScroll:!1}),h=zk(i),v=U(!1),g=U(0),m=U(0),y=L(()=>({height:v.value?`${u.value}px`:"",width:v.value?`${c.value}px`:""})),_=L(()=>{if(!v.value)return{};const S=n.offset?Nr(n.offset):0;return{height:`${u.value}px`,width:`${c.value}px`,top:n.position==="top"?S:"",bottom:n.position==="bottom"?S:"",transform:m.value?`translateY(${m.value}px)`:"",zIndex:n.zIndex}}),w=()=>{if(s.value)if(g.value=s.value instanceof Window?document.documentElement.scrollTop:s.value.scrollTop||0,n.position==="top")if(n.target){const S=h.bottom.value-n.offset-u.value;v.value=n.offset>d.value&&h.bottom.value>0,m.value=S<0?S:0}else v.value=n.offset>d.value;else if(n.target){const S=l.value-h.top.value-n.offset-u.value;v.value=l.value-n.offset<f.value&&l.value>h.top.value,m.value=S<0?-S:0}else v.value=l.value-n.offset<f.value},E=()=>{p(),r("scroll",{scrollTop:g.value,fixed:v.value})};return Te(v,S=>r("change",S)),gt(()=>{var S;n.target?(i.value=(S=document.querySelector(n.target))!=null?S:void 0,i.value||rn(oF,`Target is not existed: ${n.target}`)):i.value=document.documentElement,s.value=nT(o.value,!0),p()}),yr(s,"scroll",E),qa(w),t({update:w,updateRoot:p}),(S,C)=>(I(),$("div",{ref_key:"root",ref:o,class:V(b(a).b()),style:qe(b(y))},[N("div",{class:V({[b(a).m("fixed")]:v.value}),style:qe(b(_))},[Se(S.$slots,"default")],6)],6))}});var uOe=De(lOe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/affix/src/affix.vue"]]);const cOe=bt(uOe),dOe=Le({size:{type:ce([Number,String])},color:{type:String}}),fOe=te({name:"ElIcon",inheritAttrs:!1}),pOe=te({...fOe,props:dOe,setup(e){const t=e,r=ke("icon"),n=L(()=>{const{size:a,color:i}=t;return!a&&!i?{}:{fontSize:Jr(a)?void 0:Nr(a),"--color":i}});return(a,i)=>(I(),$("i",Tt({class:b(r).b(),style:b(n)},a.$attrs),[Se(a.$slots,"default")],16))}});var hOe=De(pOe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const Ke=bt(hOe),vOe=["light","dark"],gOe=Le({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:rg(Jl),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:vOe,default:"light"}}),mOe={close:e=>e instanceof MouseEvent},yOe=te({name:"ElAlert"}),_Oe=te({...yOe,props:gOe,emits:mOe,setup(e,{emit:t}){const r=e,{Close:n}=uT,a=Cn(),i=ke("alert"),o=U(!0),s=L(()=>Jl[r.type]),l=L(()=>[i.e("icon"),{[i.is("big")]:!!r.description||!!a.default}]),u=L(()=>({[i.is("bold")]:r.description||a.default})),c=d=>{o.value=!1,t("close",d)};return(d,f)=>(I(),pe(Hr,{name:b(i).b("fade"),persisted:""},{default:oe(()=>[ct(N("div",{class:V([b(i).b(),b(i).m(d.type),b(i).is("center",d.center),b(i).is(d.effect)]),role:"alert"},[d.showIcon&&b(s)?(I(),pe(b(Ke),{key:0,class:V(b(l))},{default:oe(()=>[(I(),pe(xt(b(s))))]),_:1},8,["class"])):ue("v-if",!0),N("div",{class:V(b(i).e("content"))},[d.title||d.$slots.title?(I(),$("span",{key:0,class:V([b(i).e("title"),b(u)])},[Se(d.$slots,"title",{},()=>[Kt(Oe(d.title),1)])],2)):ue("v-if",!0),d.$slots.default||d.description?(I(),$("p",{key:1,class:V(b(i).e("description"))},[Se(d.$slots,"default",{},()=>[Kt(Oe(d.description),1)])],2)):ue("v-if",!0),d.closable?(I(),$(je,{key:2},[d.closeText?(I(),$("div",{key:0,class:V([b(i).e("close-btn"),b(i).is("customed")]),onClick:c},Oe(d.closeText),3)):(I(),pe(b(Ke),{key:1,class:V(b(i).e("close-btn")),onClick:c},{default:oe(()=>[Q(b(n))]),_:1},8,["class"]))],64)):ue("v-if",!0)],2)],2),[[Gt,o.value]])]),_:3},8,["name"]))}});var bOe=De(_Oe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const wOe=bt(bOe),xd=Symbol("formContextKey"),qo=Symbol("formItemContextKey"),nn=(e,t={})=>{const r=U(void 0),n=t.prop?r:x7("size"),a=t.global?r:Q5e(),i=t.form?{size:void 0}:Ue(xd,void 0),o=t.formItem?{size:void 0}:Ue(qo,void 0);return L(()=>n.value||b(e)||(o==null?void 0:o.size)||(i==null?void 0:i.size)||a.value||"")},$a=e=>{const t=x7("disabled"),r=Ue(xd,void 0);return L(()=>t.value||b(e)||(r==null?void 0:r.disabled)||!1)},pa=()=>{const e=Ue(xd,void 0),t=Ue(qo,void 0);return{form:e,formItem:t}},_u=(e,{formItemContext:t,disableIdGeneration:r,disableIdManagement:n})=>{r||(r=U(!1)),n||(n=U(!1));const a=U();let i;const o=L(()=>{var s;return!!(!e.label&&t&&t.inputIds&&((s=t.inputIds)==null?void 0:s.length)<=1)});return gt(()=>{i=Te([xr(e,"id"),r],([s,l])=>{const u=s??(l?void 0:Da().value);u!==a.value&&(t!=null&&t.removeInputId&&(a.value&&t.removeInputId(a.value),!(n!=null&&n.value)&&!l&&u&&t.addInputId(u)),a.value=u)},{immediate:!0})}),gu(()=>{i&&i(),t!=null&&t.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:o,inputId:a}},SOe=Le({size:{type:String,values:rs},disabled:Boolean}),EOe=Le({...SOe,model:Object,rules:{type:ce(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),COe={validate:(e,t,r)=>(He(e)||ut(e))&&tn(t)&&ut(r)};function TOe(){const e=U([]),t=L(()=>{if(!e.value.length)return"0";const i=Math.max(...e.value);return i?`${i}px`:""});function r(i){const o=e.value.indexOf(i);return o===-1&&t.value,o}function n(i,o){if(i&&o){const s=r(o);e.value.splice(s,1,i)}else i&&e.value.push(i)}function a(i){const o=r(i);o>-1&&e.value.splice(o,1)}return{autoLabelWidth:t,registerLabelWidth:n,deregisterLabelWidth:a}}const t0=(e,t)=>{const r=od(t);return r.length>0?e.filter(n=>n.prop&&r.includes(n.prop)):e},xOe="ElForm",AOe=te({name:xOe}),kOe=te({...AOe,props:EOe,emits:COe,setup(e,{expose:t,emit:r}){const n=e,a=[],i=nn(),o=ke("form"),s=L(()=>{const{labelPosition:y,inline:_}=n;return[o.b(),o.m(i.value||"default"),{[o.m(`label-${y}`)]:y,[o.m("inline")]:_}]}),l=y=>{a.push(y)},u=y=>{y.prop&&a.splice(a.indexOf(y),1)},c=(y=[])=>{n.model&&t0(a,y).forEach(_=>_.resetField())},d=(y=[])=>{t0(a,y).forEach(_=>_.clearValidate())},f=L(()=>!!n.model),p=y=>{if(a.length===0)return[];const _=t0(a,y);return _.length?_:[]},h=async y=>g(void 0,y),v=async(y=[])=>{if(!f.value)return!1;const _=p(y);if(_.length===0)return!0;let w={};for(const E of _)try{await E.validate("")}catch(S){w={...w,...S}}return Object.keys(w).length===0?!0:Promise.reject(w)},g=async(y=[],_)=>{const w=!it(_);try{const E=await v(y);return E===!0&&(_==null||_(E)),E}catch(E){if(E instanceof Error)throw E;const S=E;return n.scrollToError&&m(Object.keys(S)[0]),_==null||_(!1,S),w&&Promise.reject(S)}},m=y=>{var _;const w=t0(a,y)[0];w&&((_=w.$el)==null||_.scrollIntoView(n.scrollIntoViewOptions))};return Te(()=>n.rules,()=>{n.validateOnRuleChange&&h().catch(y=>void 0)},{deep:!0}),It(xd,qt({...pn(n),emit:r,resetFields:c,clearValidate:d,validateField:g,addField:l,removeField:u,...TOe()})),t({validate:h,validateField:g,resetFields:c,clearValidate:d,scrollToField:m}),(y,_)=>(I(),$("form",{class:V(b(s))},[Se(y.$slots,"default")],2))}});var IOe=De(kOe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bc.apply(this,arguments)}function ROe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,sg(e,t)}function p3(e){return p3=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},p3(e)}function sg(e,t){return sg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},sg(e,t)}function MOe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ky(e,t,r){return MOe()?ky=Reflect.construct.bind():ky=function(a,i,o){var s=[null];s.push.apply(s,i);var l=Function.bind.apply(a,s),u=new l;return o&&sg(u,o.prototype),u},ky.apply(null,arguments)}function LOe(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function h3(e){var t=typeof Map=="function"?new Map:void 0;return h3=function(n){if(n===null||!LOe(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return ky(n,arguments,p3(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),sg(a,n)},h3(e)}var DOe=/%[sdj%]/g,OOe=function(){};typeof process<"u"&&process.env;function v3(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function Ka(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=0,i=r.length;if(typeof e=="function")return e.apply(null,r);if(typeof e=="string"){var o=e.replace(DOe,function(s){if(s==="%%")return"%";if(a>=i)return s;switch(s){case"%s":return String(r[a++]);case"%d":return Number(r[a++]);case"%j":try{return JSON.stringify(r[a++])}catch{return"[Circular]"}break;default:return s}});return o}return e}function NOe(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function hn(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||NOe(t)&&typeof e=="string"&&!e)}function POe(e,t,r){var n=[],a=0,i=e.length;function o(s){n.push.apply(n,s||[]),a++,a===i&&r(n)}e.forEach(function(s){t(s,o)})}function UI(e,t,r){var n=0,a=e.length;function i(o){if(o&&o.length){r(o);return}var s=n;n=n+1,s<a?t(e[s],i):r([])}i([])}function $Oe(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r]||[])}),t}var GI=function(e){ROe(t,e);function t(r,n){var a;return a=e.call(this,"Async Validation Error")||this,a.errors=r,a.fields=n,a}return t}(h3(Error));function BOe(e,t,r,n,a){if(t.first){var i=new Promise(function(f,p){var h=function(m){return n(m),m.length?p(new GI(m,v3(m))):f(a)},v=$Oe(e);UI(v,r,h)});return i.catch(function(f){return f}),i}var o=t.firstFields===!0?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,u=0,c=[],d=new Promise(function(f,p){var h=function(g){if(c.push.apply(c,g),u++,u===l)return n(c),c.length?p(new GI(c,v3(c))):f(a)};s.length||(n(c),f(a)),s.forEach(function(v){var g=e[v];o.indexOf(v)!==-1?UI(g,r,h):POe(g,r,h)})});return d.catch(function(f){return f}),d}function FOe(e){return!!(e&&e.message!==void 0)}function zOe(e,t){for(var r=e,n=0;n<t.length;n++){if(r==null)return r;r=r[t[n]]}return r}function WI(e,t){return function(r){var n;return e.fullFields?n=zOe(t,e.fullFields):n=t[r.field||e.fullField],FOe(r)?(r.field=r.field||e.fullField,r.fieldValue=n,r):{message:typeof r=="function"?r():r,fieldValue:n,field:r.field||e.fullField}}}function KI(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=bc({},e[r],n):e[r]=n}}return e}var sF=function(t,r,n,a,i,o){t.required&&(!n.hasOwnProperty(t.field)||hn(r,o||t.type))&&a.push(Ka(i.messages.required,t.fullField))},VOe=function(t,r,n,a,i){(/^\s+$/.test(r)||r==="")&&a.push(Ka(i.messages.whitespace,t.fullField))},r0,HOe=function(){if(r0)return r0;var e="[a-fA-F\\d:]",t=function(w){return w&&w.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},r="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",n="[a-fA-F\\d]{1,4}",a=(`
(?:
(?:`+n+":){7}(?:"+n+`|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8
(?:`+n+":){6}(?:"+r+"|:"+n+`|:)|                             // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4
(?:`+n+":){5}(?::"+r+"|(?::"+n+`){1,2}|:)|                   // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4
(?:`+n+":){4}(?:(?::"+n+"){0,1}:"+r+"|(?::"+n+`){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4
(?:`+n+":){3}(?:(?::"+n+"){0,2}:"+r+"|(?::"+n+`){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4
(?:`+n+":){2}(?:(?::"+n+"){0,3}:"+r+"|(?::"+n+`){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4
(?:`+n+":){1}(?:(?::"+n+"){0,4}:"+r+"|(?::"+n+`){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+n+"){0,5}:"+r+"|(?::"+n+`){1,7}|:))             // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})?                                             // %eth0            %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+r+"$)|(?:^"+a+"$)"),o=new RegExp("^"+r+"$"),s=new RegExp("^"+a+"$"),l=function(w){return w&&w.exact?i:new RegExp("(?:"+t(w)+r+t(w)+")|(?:"+t(w)+a+t(w)+")","g")};l.v4=function(_){return _&&_.exact?o:new RegExp(""+t(_)+r+t(_),"g")},l.v6=function(_){return _&&_.exact?s:new RegExp(""+t(_)+a+t(_),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",d=l.v4().source,f=l.v6().source,p="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',y="(?:"+u+"|www\\.)"+c+"(?:localhost|"+d+"|"+f+"|"+p+h+v+")"+g+m;return r0=new RegExp("(?:^"+y+"$)","i"),r0},YI={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Wh={integer:function(t){return Wh.number(t)&&parseInt(t,10)===t},float:function(t){return Wh.number(t)&&!Wh.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Wh.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(YI.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(HOe())},hex:function(t){return typeof t=="string"&&!!t.match(YI.hex)}},UOe=function(t,r,n,a,i){if(t.required&&r===void 0){sF(t,r,n,a,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?Wh[s](r)||a.push(Ka(i.messages.types[s],t.fullField,t.type)):s&&typeof r!==t.type&&a.push(Ka(i.messages.types[s],t.fullField,t.type))},GOe=function(t,r,n,a,i){var o=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=r,d=null,f=typeof r=="number",p=typeof r=="string",h=Array.isArray(r);if(f?d="number":p?d="string":h&&(d="array"),!d)return!1;h&&(c=r.length),p&&(c=r.replace(u,"_").length),o?c!==t.len&&a.push(Ka(i.messages[d].len,t.fullField,t.len)):s&&!l&&c<t.min?a.push(Ka(i.messages[d].min,t.fullField,t.min)):l&&!s&&c>t.max?a.push(Ka(i.messages[d].max,t.fullField,t.max)):s&&l&&(c<t.min||c>t.max)&&a.push(Ka(i.messages[d].range,t.fullField,t.min,t.max))},$d="enum",WOe=function(t,r,n,a,i){t[$d]=Array.isArray(t[$d])?t[$d]:[],t[$d].indexOf(r)===-1&&a.push(Ka(i.messages[$d],t.fullField,t[$d].join(", ")))},KOe=function(t,r,n,a,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(r)||a.push(Ka(i.messages.pattern.mismatch,t.fullField,r,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(r)||a.push(Ka(i.messages.pattern.mismatch,t.fullField,r,t.pattern))}}},ir={required:sF,whitespace:VOe,type:UOe,range:GOe,enum:WOe,pattern:KOe},YOe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(hn(r,"string")&&!t.required)return n();ir.required(t,r,a,o,i,"string"),hn(r,"string")||(ir.type(t,r,a,o,i),ir.range(t,r,a,o,i),ir.pattern(t,r,a,o,i),t.whitespace===!0&&ir.whitespace(t,r,a,o,i))}n(o)},qOe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(hn(r)&&!t.required)return n();ir.required(t,r,a,o,i),r!==void 0&&ir.type(t,r,a,o,i)}n(o)},jOe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(r===""&&(r=void 0),hn(r)&&!t.required)return n();ir.required(t,r,a,o,i),r!==void 0&&(ir.type(t,r,a,o,i),ir.range(t,r,a,o,i))}n(o)},XOe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(hn(r)&&!t.required)return n();ir.required(t,r,a,o,i),r!==void 0&&ir.type(t,r,a,o,i)}n(o)},ZOe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(hn(r)&&!t.required)return n();ir.required(t,r,a,o,i),hn(r)||ir.type(t,r,a,o,i)}n(o)},QOe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(hn(r)&&!t.required)return n();ir.required(t,r,a,o,i),r!==void 0&&(ir.type(t,r,a,o,i),ir.range(t,r,a,o,i))}n(o)},JOe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(hn(r)&&!t.required)return n();ir.required(t,r,a,o,i),r!==void 0&&(ir.type(t,r,a,o,i),ir.range(t,r,a,o,i))}n(o)},eNe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(r==null&&!t.required)return n();ir.required(t,r,a,o,i,"array"),r!=null&&(ir.type(t,r,a,o,i),ir.range(t,r,a,o,i))}n(o)},tNe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(hn(r)&&!t.required)return n();ir.required(t,r,a,o,i),r!==void 0&&ir.type(t,r,a,o,i)}n(o)},rNe="enum",nNe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(hn(r)&&!t.required)return n();ir.required(t,r,a,o,i),r!==void 0&&ir[rNe](t,r,a,o,i)}n(o)},aNe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(hn(r,"string")&&!t.required)return n();ir.required(t,r,a,o,i),hn(r,"string")||ir.pattern(t,r,a,o,i)}n(o)},iNe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(hn(r,"date")&&!t.required)return n();if(ir.required(t,r,a,o,i),!hn(r,"date")){var l;r instanceof Date?l=r:l=new Date(r),ir.type(t,l,a,o,i),l&&ir.range(t,l.getTime(),a,o,i)}}n(o)},oNe=function(t,r,n,a,i){var o=[],s=Array.isArray(r)?"array":typeof r;ir.required(t,r,a,o,i,s),n(o)},zb=function(t,r,n,a,i){var o=t.type,s=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(hn(r,o)&&!t.required)return n();ir.required(t,r,a,s,i,o),hn(r,o)||ir.type(t,r,a,s,i)}n(s)},sNe=function(t,r,n,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(hn(r)&&!t.required)return n();ir.required(t,r,a,o,i)}n(o)},gv={string:YOe,method:qOe,number:jOe,boolean:XOe,regexp:ZOe,integer:QOe,float:JOe,array:eNe,object:tNe,enum:nNe,pattern:aNe,date:iNe,url:zb,hex:zb,email:zb,required:oNe,any:sNe};function g3(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var m3=g3(),mm=function(){function e(r){this.rules=null,this._messages=m3,this.define(r)}var t=e.prototype;return t.define=function(n){var a=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(typeof n!="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(i){var o=n[i];a.rules[i]=Array.isArray(o)?o:[o]})},t.messages=function(n){return n&&(this._messages=KI(g3(),n)),this._messages},t.validate=function(n,a,i){var o=this;a===void 0&&(a={}),i===void 0&&(i=function(){});var s=n,l=a,u=i;if(typeof l=="function"&&(u=l,l={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,s),Promise.resolve(s);function c(v){var g=[],m={};function y(w){if(Array.isArray(w)){var E;g=(E=g).concat.apply(E,w)}else g.push(w)}for(var _=0;_<v.length;_++)y(v[_]);g.length?(m=v3(g),u(g,m)):u(null,s)}if(l.messages){var d=this.messages();d===m3&&(d=g3()),KI(d,l.messages),l.messages=d}else l.messages=this.messages();var f={},p=l.keys||Object.keys(this.rules);p.forEach(function(v){var g=o.rules[v],m=s[v];g.forEach(function(y){var _=y;typeof _.transform=="function"&&(s===n&&(s=bc({},s)),m=s[v]=_.transform(m)),typeof _=="function"?_={validator:_}:_=bc({},_),_.validator=o.getValidationMethod(_),_.validator&&(_.field=v,_.fullField=_.fullField||v,_.type=o.getType(_),f[v]=f[v]||[],f[v].push({rule:_,value:m,source:s,field:v}))})});var h={};return BOe(f,l,function(v,g){var m=v.rule,y=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");y=y&&(m.required||!m.required&&v.value),m.field=v.field;function _(S,C){return bc({},C,{fullField:m.fullField+"."+S,fullFields:m.fullFields?[].concat(m.fullFields,[S]):[S]})}function w(S){S===void 0&&(S=[]);var C=Array.isArray(S)?S:[S];!l.suppressWarning&&C.length&&e.warning("async-validator:",C),C.length&&m.message!==void 0&&(C=[].concat(m.message));var T=C.map(WI(m,s));if(l.first&&T.length)return h[m.field]=1,g(T);if(!y)g(T);else{if(m.required&&!v.value)return m.message!==void 0?T=[].concat(m.message).map(WI(m,s)):l.error&&(T=[l.error(m,Ka(l.messages.required,m.field))]),g(T);var x={};m.defaultField&&Object.keys(v.value).map(function(R){x[R]=m.defaultField}),x=bc({},x,v.rule.fields);var A={};Object.keys(x).forEach(function(R){var M=x[R],O=Array.isArray(M)?M:[M];A[R]=O.map(_.bind(null,R))});var k=new e(A);k.messages(l.messages),v.rule.options&&(v.rule.options.messages=l.messages,v.rule.options.error=l.error),k.validate(v.value,v.rule.options||l,function(R){var M=[];T&&T.length&&M.push.apply(M,T),R&&R.length&&M.push.apply(M,R),g(M.length?M:null)})}}var E;if(m.asyncValidator)E=m.asyncValidator(m,v.value,w,v.source,l);else if(m.validator){try{E=m.validator(m,v.value,w,v.source,l)}catch(S){console.error==null||console.error(S),l.suppressValidatorError||setTimeout(function(){throw S},0),w(S.message)}E===!0?w():E===!1?w(typeof m.message=="function"?m.message(m.fullField||m.field):m.message||(m.fullField||m.field)+" fails"):E instanceof Array?w(E):E instanceof Error&&w(E.message)}E&&E.then&&E.then(function(){return w()},function(S){return w(S)})},function(v){c(v)},s)},t.getType=function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!gv.hasOwnProperty(n.type))throw new Error(Ka("Unknown rule type %s",n.type));return n.type||"string"},t.getValidationMethod=function(n){if(typeof n.validator=="function")return n.validator;var a=Object.keys(n),i=a.indexOf("message");return i!==-1&&a.splice(i,1),a.length===1&&a[0]==="required"?gv.required:gv[this.getType(n)]||void 0},e}();mm.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");gv[t]=r};mm.warning=OOe;mm.messages=m3;mm.validators=gv;const lNe=["","error","validating","success"],uNe=Le({label:String,labelWidth:{type:[String,Number],default:""},prop:{type:ce([String,Array])},required:{type:Boolean,default:void 0},rules:{type:ce([Object,Array])},error:String,validateStatus:{type:String,values:lNe},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:rs}}),qI="ElLabelWrap";var cNe=te({name:qI,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const r=Ue(xd,void 0),n=Ue(qo);n||rn(qI,"usage: <el-form-item><label-wrap /></el-form-item>");const a=ke("form"),i=U(),o=U(0),s=()=>{var c;if((c=i.value)!=null&&c.firstElementChild){const d=window.getComputedStyle(i.value.firstElementChild).width;return Math.ceil(Number.parseFloat(d))}else return 0},l=(c="update")=>{Ye(()=>{t.default&&e.isAutoWidth&&(c==="update"?o.value=s():c==="remove"&&(r==null||r.deregisterLabelWidth(o.value)))})},u=()=>l("update");return gt(()=>{u()}),vr(()=>{l("remove")}),Ks(()=>u()),Te(o,(c,d)=>{e.updateAll&&(r==null||r.registerLabelWidth(c,d))}),Yn(L(()=>{var c,d;return(d=(c=i.value)==null?void 0:c.firstElementChild)!=null?d:null}),u),()=>{var c,d;if(!t)return null;const{isAutoWidth:f}=e;if(f){const p=r==null?void 0:r.autoLabelWidth,h=n==null?void 0:n.hasLabel,v={};if(h&&p&&p!=="auto"){const g=Math.max(0,Number.parseInt(p,10)-o.value),m=r.labelPosition==="left"?"marginRight":"marginLeft";g&&(v[m]=`${g}px`)}return Q("div",{ref:i,class:[a.be("item","label-wrap")],style:v},[(c=t.default)==null?void 0:c.call(t)])}else return Q(je,{ref:i},[(d=t.default)==null?void 0:d.call(t)])}}});const dNe=["role","aria-labelledby"],fNe=te({name:"ElFormItem"}),pNe=te({...fNe,props:uNe,setup(e,{expose:t}){const r=e,n=Cn(),a=Ue(xd,void 0),i=Ue(qo,void 0),o=nn(void 0,{formItem:!1}),s=ke("form-item"),l=Da().value,u=U([]),c=U(""),d=wJ(c,100),f=U(""),p=U();let h,v=!1;const g=L(()=>{if((a==null?void 0:a.labelPosition)==="top")return{};const q=Nr(r.labelWidth||(a==null?void 0:a.labelWidth)||"");return q?{width:q}:{}}),m=L(()=>{if((a==null?void 0:a.labelPosition)==="top"||a!=null&&a.inline)return{};if(!r.label&&!r.labelWidth&&x)return{};const q=Nr(r.labelWidth||(a==null?void 0:a.labelWidth)||"");return!r.label&&!n.label?{marginLeft:q}:{}}),y=L(()=>[s.b(),s.m(o.value),s.is("error",c.value==="error"),s.is("validating",c.value==="validating"),s.is("success",c.value==="success"),s.is("required",O.value||r.required),s.is("no-asterisk",a==null?void 0:a.hideRequiredAsterisk),(a==null?void 0:a.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[s.m("feedback")]:a==null?void 0:a.statusIcon}]),_=L(()=>tn(r.inlineMessage)?r.inlineMessage:(a==null?void 0:a.inlineMessage)||!1),w=L(()=>[s.e("error"),{[s.em("error","inline")]:_.value}]),E=L(()=>r.prop?ut(r.prop)?r.prop:r.prop.join("."):""),S=L(()=>!!(r.label||n.label)),C=L(()=>r.for||(u.value.length===1?u.value[0]:void 0)),T=L(()=>!C.value&&S.value),x=!!i,A=L(()=>{const q=a==null?void 0:a.model;if(!(!q||!r.prop))return xy(q,r.prop).value}),k=L(()=>{const{required:q}=r,j=[];r.rules&&j.push(...od(r.rules));const ae=a==null?void 0:a.rules;if(ae&&r.prop){const ne=xy(ae,r.prop).value;ne&&j.push(...od(ne))}if(q!==void 0){const ne=j.map((le,W)=>[le,W]).filter(([le])=>Object.keys(le).includes("required"));if(ne.length>0)for(const[le,W]of ne)le.required!==q&&(j[W]={...le,required:q});else j.push({required:q})}return j}),R=L(()=>k.value.length>0),M=q=>k.value.filter(ae=>!ae.trigger||!q?!0:Array.isArray(ae.trigger)?ae.trigger.includes(q):ae.trigger===q).map(({trigger:ae,...ne})=>ne),O=L(()=>k.value.some(q=>q.required)),z=L(()=>{var q;return d.value==="error"&&r.showMessage&&((q=a==null?void 0:a.showMessage)!=null?q:!0)}),B=L(()=>`${r.label||""}${(a==null?void 0:a.labelSuffix)||""}`),P=q=>{c.value=q},F=q=>{var j,ae;const{errors:ne,fields:le}=q;(!ne||!le)&&console.error(q),P("error"),f.value=ne?(ae=(j=ne==null?void 0:ne[0])==null?void 0:j.message)!=null?ae:`${r.prop} is required`:"",a==null||a.emit("validate",r.prop,!1,f.value)},D=()=>{P("success"),a==null||a.emit("validate",r.prop,!0,"")},H=async q=>{const j=E.value;return new mm({[j]:q}).validate({[j]:A.value},{firstFields:!0}).then(()=>(D(),!0)).catch(ne=>(F(ne),Promise.reject(ne)))},K=async(q,j)=>{if(v||!r.prop)return!1;const ae=it(j);if(!R.value)return j==null||j(!1),!1;const ne=M(q);return ne.length===0?(j==null||j(!0),!0):(P("validating"),H(ne).then(()=>(j==null||j(!0),!0)).catch(le=>{const{fields:W}=le;return j==null||j(!1,W),ae?!1:Promise.reject(W)}))},Y=()=>{P(""),f.value="",v=!1},X=async()=>{const q=a==null?void 0:a.model;if(!q||!r.prop)return;const j=xy(q,r.prop);v=!0,j.value=yI(h),await Ye(),Y(),v=!1},J=q=>{u.value.includes(q)||u.value.push(q)},fe=q=>{u.value=u.value.filter(j=>j!==q)};Te(()=>r.error,q=>{f.value=q||"",P(q?"error":"")},{immediate:!0}),Te(()=>r.validateStatus,q=>P(q||""));const se=qt({...pn(r),$el:p,size:o,validateState:c,labelId:l,inputIds:u,isGroup:T,hasLabel:S,addInputId:J,removeInputId:fe,resetField:X,clearValidate:Y,validate:K});return It(qo,se),gt(()=>{r.prop&&(a==null||a.addField(se),h=yI(A.value))}),vr(()=>{a==null||a.removeField(se)}),t({size:o,validateMessage:f,validateState:c,validate:K,clearValidate:Y,resetField:X}),(q,j)=>{var ae;return I(),$("div",{ref_key:"formItemRef",ref:p,class:V(b(y)),role:b(T)?"group":void 0,"aria-labelledby":b(T)?b(l):void 0},[Q(b(cNe),{"is-auto-width":b(g).width==="auto","update-all":((ae=b(a))==null?void 0:ae.labelWidth)==="auto"},{default:oe(()=>[b(S)?(I(),pe(xt(b(C)?"label":"div"),{key:0,id:b(l),for:b(C),class:V(b(s).e("label")),style:qe(b(g))},{default:oe(()=>[Se(q.$slots,"label",{label:b(B)},()=>[Kt(Oe(b(B)),1)])]),_:3},8,["id","for","class","style"])):ue("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),N("div",{class:V(b(s).e("content")),style:qe(b(m))},[Se(q.$slots,"default"),Q(eB,{name:`${b(s).namespace.value}-zoom-in-top`},{default:oe(()=>[b(z)?Se(q.$slots,"error",{key:0,error:f.value},()=>[N("div",{class:V(b(w))},Oe(f.value),3)]):ue("v-if",!0)]),_:3},8,["name"])],6)],10,dNe)}}});var lF=De(pNe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const hNe=bt(IOe,{FormItem:lF}),vNe=Mr(lF);let Vi;const gNe=`
  height:0 !important;
  visibility:hidden !important;
  ${uB()?"":"overflow:hidden !important;"}
  position:absolute !important;
  z-index:-1000 !important;
  top:0 !important;
  right:0 !important;
`,mNe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function yNe(e){const t=window.getComputedStyle(e),r=t.getPropertyValue("box-sizing"),n=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),a=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:mNe.map(o=>`${o}:${t.getPropertyValue(o)}`).join(";"),paddingSize:n,borderSize:a,boxSizing:r}}function jI(e,t=1,r){var n;Vi||(Vi=document.createElement("textarea"),document.body.appendChild(Vi));const{paddingSize:a,borderSize:i,boxSizing:o,contextStyle:s}=yNe(e);Vi.setAttribute("style",`${s};${gNe}`),Vi.value=e.value||e.placeholder||"";let l=Vi.scrollHeight;const u={};o==="border-box"?l=l+i:o==="content-box"&&(l=l-a),Vi.value="";const c=Vi.scrollHeight-a;if(at(t)){let d=c*t;o==="border-box"&&(d=d+a+i),l=Math.max(d,l),u.minHeight=`${d}px`}if(at(r)){let d=c*r;o==="border-box"&&(d=d+a+i),l=Math.min(d,l)}return u.height=`${l}px`,(n=Vi.parentNode)==null||n.removeChild(Vi),Vi=void 0,u}const _Ne=Le({id:{type:String,default:void 0},size:On,disabled:Boolean,modelValue:{type:ce([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:ce([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:dr},prefixIcon:{type:dr},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:ce([Object,Array,String]),default:()=>Er({})},autofocus:{type:Boolean,default:!1}}),bNe={[Et]:e=>ut(e),input:e=>ut(e),change:e=>ut(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},wNe=["role"],SNe=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],ENe=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],CNe=te({name:"ElInput",inheritAttrs:!1}),TNe=te({...CNe,props:_Ne,emits:bNe,setup(e,{expose:t,emit:r}){const n=e,a=bd(),i=Cn(),o=L(()=>{const Ie={};return n.containerRole==="combobox"&&(Ie["aria-haspopup"]=a["aria-haspopup"],Ie["aria-owns"]=a["aria-owns"],Ie["aria-expanded"]=a["aria-expanded"]),Ie}),s=L(()=>[n.type==="textarea"?g.b():v.b(),v.m(p.value),v.is("disabled",h.value),v.is("exceed",J.value),{[v.b("group")]:i.prepend||i.append,[v.bm("group","append")]:i.append,[v.bm("group","prepend")]:i.prepend,[v.m("prefix")]:i.prefix||n.prefixIcon,[v.m("suffix")]:i.suffix||n.suffixIcon||n.clearable||n.showPassword,[v.bm("suffix","password-clear")]:H.value&&K.value},a.class]),l=L(()=>[v.e("wrapper"),v.is("focus",A.value)]),u=dT({excludeKeys:L(()=>Object.keys(o.value))}),{form:c,formItem:d}=pa(),{inputId:f}=_u(n,{formItemContext:d}),p=nn(),h=$a(),v=ke("input"),g=ke("textarea"),m=or(),y=or(),_=U(!1),w=U(!1),E=U(!1),S=U(),C=or(n.inputStyle),T=L(()=>m.value||y.value),{wrapperRef:x,isFocused:A,handleFocus:k,handleBlur:R}=aF(T,{afterBlur(){var Ie;n.validateEvent&&((Ie=d==null?void 0:d.validate)==null||Ie.call(d,"blur").catch(We=>void 0))}}),M=L(()=>{var Ie;return(Ie=c==null?void 0:c.statusIcon)!=null?Ie:!1}),O=L(()=>(d==null?void 0:d.validateState)||""),z=L(()=>O.value&&cT[O.value]),B=L(()=>E.value?g7:a7),P=L(()=>[a.style,n.inputStyle]),F=L(()=>[n.inputStyle,C.value,{resize:n.resize}]),D=L(()=>Yr(n.modelValue)?"":String(n.modelValue)),H=L(()=>n.clearable&&!h.value&&!n.readonly&&!!D.value&&(A.value||_.value)),K=L(()=>n.showPassword&&!h.value&&!n.readonly&&!!D.value&&(!!D.value||A.value)),Y=L(()=>n.showWordLimit&&!!u.value.maxlength&&(n.type==="text"||n.type==="textarea")&&!h.value&&!n.readonly&&!n.showPassword),X=L(()=>D.value.length),J=L(()=>!!Y.value&&X.value>Number(u.value.maxlength)),fe=L(()=>!!i.suffix||!!n.suffixIcon||H.value||n.showPassword||Y.value||!!O.value&&M.value),[se,q]=X5e(m);Yn(y,Ie=>{if(ne(),!Y.value||n.resize!=="both")return;const We=Ie[0],{width:ot}=We.contentRect;S.value={right:`calc(100% - ${ot+15+6}px)`}});const j=()=>{const{type:Ie,autosize:We}=n;if(!(!zt||Ie!=="textarea"||!y.value))if(We){const ot=St(We)?We.minRows:void 0,dt=St(We)?We.maxRows:void 0,At=jI(y.value,ot,dt);C.value={overflowY:"hidden",...At},Ye(()=>{y.value.offsetHeight,C.value=At})}else C.value={minHeight:jI(y.value).minHeight}},ne=(Ie=>{let We=!1;return()=>{var ot;if(We||!n.autosize)return;((ot=y.value)==null?void 0:ot.offsetParent)===null||(Ie(),We=!0)}})(j),le=()=>{const Ie=T.value,We=n.formatter?n.formatter(D.value):D.value;!Ie||Ie.value===We||(Ie.value=We)},W=async Ie=>{se();let{value:We}=Ie.target;if(n.formatter&&(We=n.parser?n.parser(We):We),!w.value){if(We===D.value){le();return}r(Et,We),r("input",We),await Ye(),le(),q()}},Z=Ie=>{r("change",Ie.target.value)},ie=Ie=>{r("compositionstart",Ie),w.value=!0},me=Ie=>{var We;r("compositionupdate",Ie);const ot=(We=Ie.target)==null?void 0:We.value,dt=ot[ot.length-1]||"";w.value=!S_(dt)},be=Ie=>{r("compositionend",Ie),w.value&&(w.value=!1,W(Ie))},ge=()=>{E.value=!E.value,Re()},Re=async()=>{var Ie;await Ye(),(Ie=T.value)==null||Ie.focus()},Ce=()=>{var Ie;return(Ie=T.value)==null?void 0:Ie.blur()},Ee=Ie=>{_.value=!1,r("mouseleave",Ie)},xe=Ie=>{_.value=!0,r("mouseenter",Ie)},$e=Ie=>{r("keydown",Ie)},Fe=()=>{var Ie;(Ie=T.value)==null||Ie.select()},Ge=()=>{r(Et,""),r("change",""),r("clear"),r("input","")};return Te(()=>n.modelValue,()=>{var Ie;Ye(()=>j()),n.validateEvent&&((Ie=d==null?void 0:d.validate)==null||Ie.call(d,"change").catch(We=>void 0))}),Te(D,()=>le()),Te(()=>n.type,async()=>{await Ye(),le(),j()}),gt(()=>{!n.formatter&&n.parser,le(),Ye(j)}),t({input:m,textarea:y,ref:T,textareaStyle:F,autosize:xr(n,"autosize"),focus:Re,blur:Ce,select:Fe,clear:Ge,resizeTextarea:j}),(Ie,We)=>ct((I(),$("div",Tt(b(o),{class:b(s),style:b(P),role:Ie.containerRole,onMouseenter:xe,onMouseleave:Ee}),[ue(" input "),Ie.type!=="textarea"?(I(),$(je,{key:0},[ue(" prepend slot "),Ie.$slots.prepend?(I(),$("div",{key:0,class:V(b(v).be("group","prepend"))},[Se(Ie.$slots,"prepend")],2)):ue("v-if",!0),N("div",{ref_key:"wrapperRef",ref:x,class:V(b(l))},[ue(" prefix slot "),Ie.$slots.prefix||Ie.prefixIcon?(I(),$("span",{key:0,class:V(b(v).e("prefix"))},[N("span",{class:V(b(v).e("prefix-inner"))},[Se(Ie.$slots,"prefix"),Ie.prefixIcon?(I(),pe(b(Ke),{key:0,class:V(b(v).e("icon"))},{default:oe(()=>[(I(),pe(xt(Ie.prefixIcon)))]),_:1},8,["class"])):ue("v-if",!0)],2)],2)):ue("v-if",!0),N("input",Tt({id:b(f),ref_key:"input",ref:m,class:b(v).e("inner")},b(u),{type:Ie.showPassword?E.value?"text":"password":Ie.type,disabled:b(h),formatter:Ie.formatter,parser:Ie.parser,readonly:Ie.readonly,autocomplete:Ie.autocomplete,tabindex:Ie.tabindex,"aria-label":Ie.label,placeholder:Ie.placeholder,style:Ie.inputStyle,form:n.form,autofocus:n.autofocus,onCompositionstart:ie,onCompositionupdate:me,onCompositionend:be,onInput:W,onFocus:We[0]||(We[0]=(...ot)=>b(k)&&b(k)(...ot)),onBlur:We[1]||(We[1]=(...ot)=>b(R)&&b(R)(...ot)),onChange:Z,onKeydown:$e}),null,16,SNe),ue(" suffix slot "),b(fe)?(I(),$("span",{key:1,class:V(b(v).e("suffix"))},[N("span",{class:V(b(v).e("suffix-inner"))},[!b(H)||!b(K)||!b(Y)?(I(),$(je,{key:0},[Se(Ie.$slots,"suffix"),Ie.suffixIcon?(I(),pe(b(Ke),{key:0,class:V(b(v).e("icon"))},{default:oe(()=>[(I(),pe(xt(Ie.suffixIcon)))]),_:1},8,["class"])):ue("v-if",!0)],64)):ue("v-if",!0),b(H)?(I(),pe(b(Ke),{key:1,class:V([b(v).e("icon"),b(v).e("clear")]),onMousedown:tt(b(nr),["prevent"]),onClick:Ge},{default:oe(()=>[Q(b(Xs))]),_:1},8,["class","onMousedown"])):ue("v-if",!0),b(K)?(I(),pe(b(Ke),{key:2,class:V([b(v).e("icon"),b(v).e("password")]),onClick:ge},{default:oe(()=>[(I(),pe(xt(b(B))))]),_:1},8,["class"])):ue("v-if",!0),b(Y)?(I(),$("span",{key:3,class:V(b(v).e("count"))},[N("span",{class:V(b(v).e("count-inner"))},Oe(b(X))+" / "+Oe(b(u).maxlength),3)],2)):ue("v-if",!0),b(O)&&b(z)&&b(M)?(I(),pe(b(Ke),{key:4,class:V([b(v).e("icon"),b(v).e("validateIcon"),b(v).is("loading",b(O)==="validating")])},{default:oe(()=>[(I(),pe(xt(b(z))))]),_:1},8,["class"])):ue("v-if",!0)],2)],2)):ue("v-if",!0)],2),ue(" append slot "),Ie.$slots.append?(I(),$("div",{key:1,class:V(b(v).be("group","append"))},[Se(Ie.$slots,"append")],2)):ue("v-if",!0)],64)):(I(),$(je,{key:1},[ue(" textarea "),N("textarea",Tt({id:b(f),ref_key:"textarea",ref:y,class:b(g).e("inner")},b(u),{tabindex:Ie.tabindex,disabled:b(h),readonly:Ie.readonly,autocomplete:Ie.autocomplete,style:b(F),"aria-label":Ie.label,placeholder:Ie.placeholder,form:n.form,autofocus:n.autofocus,onCompositionstart:ie,onCompositionupdate:me,onCompositionend:be,onInput:W,onFocus:We[2]||(We[2]=(...ot)=>b(k)&&b(k)(...ot)),onBlur:We[3]||(We[3]=(...ot)=>b(R)&&b(R)(...ot)),onChange:Z,onKeydown:$e}),null,16,ENe),b(Y)?(I(),$("span",{key:0,style:qe(S.value),class:V(b(v).e("count"))},Oe(b(X))+" / "+Oe(b(u).maxlength),7)):ue("v-if",!0)],64))],16,wNe)),[[Gt,Ie.type!=="hidden"]])}});var xNe=De(TNe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const Un=bt(xNe),bf=4,uF={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},ANe=({move:e,size:t,bar:r})=>({[r.size]:t,transform:`translate${r.axis}(${e}%)`}),cF=Symbol("scrollbarContextKey"),kNe=Le({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),INe="Thumb",RNe=te({__name:"thumb",props:kNe,setup(e){const t=e,r=Ue(cF),n=ke("scrollbar");r||rn(INe,"can not inject scrollbar context");const a=U(),i=U(),o=U({}),s=U(!1);let l=!1,u=!1,c=zt?document.onselectstart:null;const d=L(()=>uF[t.vertical?"vertical":"horizontal"]),f=L(()=>ANe({size:t.size,move:t.move,bar:d.value})),p=L(()=>a.value[d.value.offset]**2/r.wrapElement[d.value.scrollSize]/t.ratio/i.value[d.value.offset]),h=S=>{var C;if(S.stopPropagation(),S.ctrlKey||[1,2].includes(S.button))return;(C=window.getSelection())==null||C.removeAllRanges(),g(S);const T=S.currentTarget;T&&(o.value[d.value.axis]=T[d.value.offset]-(S[d.value.client]-T.getBoundingClientRect()[d.value.direction]))},v=S=>{if(!i.value||!a.value||!r.wrapElement)return;const C=Math.abs(S.target.getBoundingClientRect()[d.value.direction]-S[d.value.client]),T=i.value[d.value.offset]/2,x=(C-T)*100*p.value/a.value[d.value.offset];r.wrapElement[d.value.scroll]=x*r.wrapElement[d.value.scrollSize]/100},g=S=>{S.stopImmediatePropagation(),l=!0,document.addEventListener("mousemove",m),document.addEventListener("mouseup",y),c=document.onselectstart,document.onselectstart=()=>!1},m=S=>{if(!a.value||!i.value||l===!1)return;const C=o.value[d.value.axis];if(!C)return;const T=(a.value.getBoundingClientRect()[d.value.direction]-S[d.value.client])*-1,x=i.value[d.value.offset]-C,A=(T-x)*100*p.value/a.value[d.value.offset];r.wrapElement[d.value.scroll]=A*r.wrapElement[d.value.scrollSize]/100},y=()=>{l=!1,o.value[d.value.axis]=0,document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",y),E(),u&&(s.value=!1)},_=()=>{u=!1,s.value=!!t.size},w=()=>{u=!0,s.value=l};vr(()=>{E(),document.removeEventListener("mouseup",y)});const E=()=>{document.onselectstart!==c&&(document.onselectstart=c)};return yr(xr(r,"scrollbarElement"),"mousemove",_),yr(xr(r,"scrollbarElement"),"mouseleave",w),(S,C)=>(I(),pe(Hr,{name:b(n).b("fade"),persisted:""},{default:oe(()=>[ct(N("div",{ref_key:"instance",ref:a,class:V([b(n).e("bar"),b(n).is(b(d).key)]),onMousedown:v},[N("div",{ref_key:"thumb",ref:i,class:V(b(n).e("thumb")),style:qe(b(f)),onMousedown:h},null,38)],34),[[Gt,S.always||s.value]])]),_:1},8,["name"]))}});var XI=De(RNe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const MNe=Le({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),LNe=te({__name:"bar",props:MNe,setup(e,{expose:t}){const r=e,n=U(0),a=U(0);return t({handleScroll:o=>{if(o){const s=o.offsetHeight-bf,l=o.offsetWidth-bf;a.value=o.scrollTop*100/s*r.ratioY,n.value=o.scrollLeft*100/l*r.ratioX}}}),(o,s)=>(I(),$(je,null,[Q(XI,{move:n.value,ratio:o.ratioX,size:o.width,always:o.always},null,8,["move","ratio","size","always"]),Q(XI,{move:a.value,ratio:o.ratioY,size:o.height,vertical:"",always:o.always},null,8,["move","ratio","size","always"])],64))}});var DNe=De(LNe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const ONe=Le({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:ce([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String,ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical"]}}),NNe={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(at)},PNe="ElScrollbar",$Ne=te({name:PNe}),BNe=te({...$Ne,props:ONe,emits:NNe,setup(e,{expose:t,emit:r}){const n=e,a=ke("scrollbar");let i,o;const s=U(),l=U(),u=U(),c=U("0"),d=U("0"),f=U(),p=U(1),h=U(1),v=L(()=>{const C={};return n.height&&(C.height=Nr(n.height)),n.maxHeight&&(C.maxHeight=Nr(n.maxHeight)),[n.wrapStyle,C]}),g=L(()=>[n.wrapClass,a.e("wrap"),{[a.em("wrap","hidden-default")]:!n.native}]),m=L(()=>[a.e("view"),n.viewClass]),y=()=>{var C;l.value&&((C=f.value)==null||C.handleScroll(l.value),r("scroll",{scrollTop:l.value.scrollTop,scrollLeft:l.value.scrollLeft}))};function _(C,T){St(C)?l.value.scrollTo(C):at(C)&&at(T)&&l.value.scrollTo(C,T)}const w=C=>{at(C)&&(l.value.scrollTop=C)},E=C=>{at(C)&&(l.value.scrollLeft=C)},S=()=>{if(!l.value)return;const C=l.value.offsetHeight-bf,T=l.value.offsetWidth-bf,x=C**2/l.value.scrollHeight,A=T**2/l.value.scrollWidth,k=Math.max(x,n.minSize),R=Math.max(A,n.minSize);p.value=x/(C-x)/(k/(C-k)),h.value=A/(T-A)/(R/(T-R)),d.value=k+bf<C?`${k}px`:"",c.value=R+bf<T?`${R}px`:""};return Te(()=>n.noresize,C=>{C?(i==null||i(),o==null||o()):({stop:i}=Yn(u,S),o=yr("resize",S))},{immediate:!0}),Te(()=>[n.maxHeight,n.height],()=>{n.native||Ye(()=>{var C;S(),l.value&&((C=f.value)==null||C.handleScroll(l.value))})}),It(cF,qt({scrollbarElement:s,wrapElement:l})),gt(()=>{n.native||Ye(()=>{S()})}),Ks(()=>S()),t({wrapRef:l,update:S,scrollTo:_,setScrollTop:w,setScrollLeft:E,handleScroll:y}),(C,T)=>(I(),$("div",{ref_key:"scrollbarRef",ref:s,class:V(b(a).b())},[N("div",{ref_key:"wrapRef",ref:l,class:V(b(g)),style:qe(b(v)),onScroll:y},[(I(),pe(xt(C.tag),{id:C.id,ref_key:"resizeRef",ref:u,class:V(b(m)),style:qe(C.viewStyle),role:C.role,"aria-label":C.ariaLabel,"aria-orientation":C.ariaOrientation},{default:oe(()=>[Se(C.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),C.native?ue("v-if",!0):(I(),pe(DNe,{key:0,ref_key:"barRef",ref:f,height:d.value,width:c.value,always:C.always,"ratio-x":h.value,"ratio-y":p.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var FNe=De(BNe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const Qs=bt(FNe),IT=Symbol("popper"),dF=Symbol("popperContent"),zNe=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],fF=Le({role:{type:String,values:zNe,default:"tooltip"}}),VNe=te({name:"ElPopper",inheritAttrs:!1}),HNe=te({...VNe,props:fF,setup(e,{expose:t}){const r=e,n=U(),a=U(),i=U(),o=U(),s=L(()=>r.role),l={triggerRef:n,popperInstanceRef:a,contentRef:i,referenceRef:o,role:s};return t(l),It(IT,l),(u,c)=>Se(u.$slots,"default")}});var UNe=De(HNe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const pF=Le({arrowOffset:{type:Number,default:5}}),GNe=te({name:"ElPopperArrow",inheritAttrs:!1}),WNe=te({...GNe,props:pF,setup(e,{expose:t}){const r=e,n=ke("popper"),{arrowOffset:a,arrowRef:i,arrowStyle:o}=Ue(dF,void 0);return Te(()=>r.arrowOffset,s=>{a.value=s}),vr(()=>{i.value=void 0}),t({arrowRef:i}),(s,l)=>(I(),$("span",{ref_key:"arrowRef",ref:i,class:V(b(n).e("arrow")),style:qe(b(o)),"data-popper-arrow":""},null,6))}});var KNe=De(WNe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const YNe="ElOnlyChild",hF=te({name:YNe,setup(e,{slots:t,attrs:r}){var n;const a=Ue(H7),i=w5e((n=a==null?void 0:a.setForwardRef)!=null?n:nr);return()=>{var o;const s=(o=t.default)==null?void 0:o.call(t,r);if(!s||s.length>1)return null;const l=vF(s);return l?ct(Ls(l,r),[[i]]):null}}});function vF(e){if(!e)return null;const t=e;for(const r of t){if(St(r))switch(r.type){case aa:continue;case Dp:case"svg":return ZI(r);case je:return vF(r.children);default:return r}return ZI(r)}return null}function ZI(e){const t=ke("only-child");return Q("span",{class:t.e("content")},[e])}const gF=Le({virtualRef:{type:ce(Object)},virtualTriggering:Boolean,onMouseenter:{type:ce(Function)},onMouseleave:{type:ce(Function)},onClick:{type:ce(Function)},onKeydown:{type:ce(Function)},onFocus:{type:ce(Function)},onBlur:{type:ce(Function)},onContextmenu:{type:ce(Function)},id:String,open:Boolean}),qNe=te({name:"ElPopperTrigger",inheritAttrs:!1}),jNe=te({...qNe,props:gF,setup(e,{expose:t}){const r=e,{role:n,triggerRef:a}=Ue(IT,void 0);b5e(a);const i=L(()=>s.value?r.id:void 0),o=L(()=>{if(n&&n.value==="tooltip")return r.open&&r.id?r.id:void 0}),s=L(()=>{if(n&&n.value!=="tooltip")return n.value}),l=L(()=>s.value?`${r.open}`:void 0);let u;return gt(()=>{Te(()=>r.virtualRef,c=>{c&&(a.value=Ea(c))},{immediate:!0}),Te(a,(c,d)=>{u==null||u(),u=void 0,ki(c)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(f=>{var p;const h=r[f];h&&(c.addEventListener(f.slice(2).toLowerCase(),h),(p=d==null?void 0:d.removeEventListener)==null||p.call(d,f.slice(2).toLowerCase(),h))}),u=Te([i,o,s,l],f=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((p,h)=>{Yr(f[h])?c.removeAttribute(p):c.setAttribute(p,f[h])})},{immediate:!0})),ki(d)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(f=>d.removeAttribute(f))},{immediate:!0})}),vr(()=>{u==null||u(),u=void 0}),t({triggerRef:a}),(c,d)=>c.virtualTriggering?ue("v-if",!0):(I(),pe(b(hF),Tt({key:0},c.$attrs,{"aria-controls":b(i),"aria-describedby":b(o),"aria-expanded":b(l),"aria-haspopup":b(s)}),{default:oe(()=>[Se(c.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var XNe=De(jNe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const Vb="focus-trap.focus-after-trapped",Hb="focus-trap.focus-after-released",ZNe="focus-trap.focusout-prevented",QI={cancelable:!0,bubbles:!1},QNe={cancelable:!0,bubbles:!1},JI="focusAfterTrapped",eR="focusAfterReleased",RT=Symbol("elFocusTrap"),MT=U(),R_=U(0),LT=U(0);let n0=0;const mF=e=>{const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0||n===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t},tR=(e,t)=>{for(const r of e)if(!JNe(r,t))return r},JNe=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},ePe=e=>{const t=mF(e),r=tR(t,e),n=tR(t.reverse(),e);return[r,n]},tPe=e=>e instanceof HTMLInputElement&&"select"in e,gl=(e,t)=>{if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),LT.value=window.performance.now(),e!==r&&tPe(e)&&t&&e.select()}};function rR(e,t){const r=[...e],n=e.indexOf(t);return n!==-1&&r.splice(n,1),r}const rPe=()=>{let e=[];return{push:n=>{const a=e[0];a&&n!==a&&a.pause(),e=rR(e,n),e.unshift(n)},remove:n=>{var a,i;e=rR(e,n),(i=(a=e[0])==null?void 0:a.resume)==null||i.call(a)}}},nPe=(e,t=!1)=>{const r=document.activeElement;for(const n of e)if(gl(n,t),document.activeElement!==r)return},nR=rPe(),aPe=()=>R_.value>LT.value,a0=()=>{MT.value="pointer",R_.value=window.performance.now()},aR=()=>{MT.value="keyboard",R_.value=window.performance.now()},iPe=()=>(gt(()=>{n0===0&&(document.addEventListener("mousedown",a0),document.addEventListener("touchstart",a0),document.addEventListener("keydown",aR)),n0++}),vr(()=>{n0--,n0<=0&&(document.removeEventListener("mousedown",a0),document.removeEventListener("touchstart",a0),document.removeEventListener("keydown",aR))}),{focusReason:MT,lastUserFocusTimestamp:R_,lastAutomatedFocusTimestamp:LT}),i0=e=>new CustomEvent(ZNe,{...QNe,detail:e}),oPe=te({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[JI,eR,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const r=U();let n,a;const{focusReason:i}=iPe();g5e(h=>{e.trapped&&!o.paused&&t("release-requested",h)});const o={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=h=>{if(!e.loop&&!e.trapped||o.paused)return;const{key:v,altKey:g,ctrlKey:m,metaKey:y,currentTarget:_,shiftKey:w}=h,{loop:E}=e,S=v===Xe.tab&&!g&&!m&&!y,C=document.activeElement;if(S&&C){const T=_,[x,A]=ePe(T);if(x&&A){if(!w&&C===A){const R=i0({focusReason:i.value});t("focusout-prevented",R),R.defaultPrevented||(h.preventDefault(),E&&gl(x,!0))}else if(w&&[x,T].includes(C)){const R=i0({focusReason:i.value});t("focusout-prevented",R),R.defaultPrevented||(h.preventDefault(),E&&gl(A,!0))}}else if(C===T){const R=i0({focusReason:i.value});t("focusout-prevented",R),R.defaultPrevented||h.preventDefault()}}};It(RT,{focusTrapRef:r,onKeydown:s}),Te(()=>e.focusTrapEl,h=>{h&&(r.value=h)},{immediate:!0}),Te([r],([h],[v])=>{h&&(h.addEventListener("keydown",s),h.addEventListener("focusin",c),h.addEventListener("focusout",d)),v&&(v.removeEventListener("keydown",s),v.removeEventListener("focusin",c),v.removeEventListener("focusout",d))});const l=h=>{t(JI,h)},u=h=>t(eR,h),c=h=>{const v=b(r);if(!v)return;const g=h.target,m=h.relatedTarget,y=g&&v.contains(g);e.trapped||m&&v.contains(m)||(n=m),y&&t("focusin",h),!o.paused&&e.trapped&&(y?a=g:gl(a,!0))},d=h=>{const v=b(r);if(!(o.paused||!v))if(e.trapped){const g=h.relatedTarget;!Yr(g)&&!v.contains(g)&&setTimeout(()=>{if(!o.paused&&e.trapped){const m=i0({focusReason:i.value});t("focusout-prevented",m),m.defaultPrevented||gl(a,!0)}},0)}else{const g=h.target;g&&v.contains(g)||t("focusout",h)}};async function f(){await Ye();const h=b(r);if(h){nR.push(o);const v=h.contains(document.activeElement)?n:document.activeElement;if(n=v,!h.contains(v)){const m=new Event(Vb,QI);h.addEventListener(Vb,l),h.dispatchEvent(m),m.defaultPrevented||Ye(()=>{let y=e.focusStartEl;ut(y)||(gl(y),document.activeElement!==y&&(y="first")),y==="first"&&nPe(mF(h),!0),(document.activeElement===v||y==="container")&&gl(h)})}}}function p(){const h=b(r);if(h){h.removeEventListener(Vb,l);const v=new CustomEvent(Hb,{...QI,detail:{focusReason:i.value}});h.addEventListener(Hb,u),h.dispatchEvent(v),!v.defaultPrevented&&(i.value=="keyboard"||!aPe()||h.contains(document.activeElement))&&gl(n??document.body),h.removeEventListener(Hb,u),nR.remove(o)}}return gt(()=>{e.trapped&&f(),Te(()=>e.trapped,h=>{h?f():p()})}),vr(()=>{e.trapped&&p()}),{onKeydown:s}}});function sPe(e,t,r,n,a,i){return Se(e.$slots,"default",{handleKeydown:e.onKeydown})}var M_=De(oPe,[["render",sPe],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const lPe=["fixed","absolute"],uPe=Le({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:ce(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Td,default:"bottom"},popperOptions:{type:ce(Object),default:()=>({})},strategy:{type:String,values:lPe,default:"absolute"}}),yF=Le({...uPe,id:String,style:{type:ce([String,Array,Object])},className:{type:ce([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:ce([String,Array,Object])},popperStyle:{type:ce([String,Array,Object])},referenceEl:{type:ce(Object)},triggerTargetEl:{type:ce(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),cPe={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},dPe=(e,t=[])=>{const{placement:r,strategy:n,popperOptions:a}=e,i={placement:r,strategy:n,...a,modifiers:[...pPe(e),...t]};return hPe(i,a==null?void 0:a.modifiers),i},fPe=e=>{if(zt)return Ea(e)};function pPe(e){const{offset:t,gpuAcceleration:r,fallbackPlacements:n}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:n}},{name:"computeStyles",options:{gpuAcceleration:r}}]}function hPe(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const vPe=0,gPe=e=>{const{popperInstanceRef:t,contentRef:r,triggerRef:n,role:a}=Ue(IT,void 0),i=U(),o=U(),s=L(()=>({name:"eventListeners",enabled:!!e.visible})),l=L(()=>{var m;const y=b(i),_=(m=b(o))!=null?m:vPe;return{name:"arrow",enabled:!$ie(y),options:{element:y,padding:_}}}),u=L(()=>({onFirstUpdate:()=>{h()},...dPe(e,[b(l),b(s)])})),c=L(()=>fPe(e.referenceEl)||b(n)),{attributes:d,state:f,styles:p,update:h,forceUpdate:v,instanceRef:g}=f5e(c,r,u);return Te(g,m=>t.value=m),gt(()=>{Te(()=>{var m;return(m=b(c))==null?void 0:m.getBoundingClientRect()},()=>{h()})}),{attributes:d,arrowRef:i,contentRef:r,instanceRef:g,state:f,styles:p,role:a,forceUpdate:v,update:h}},mPe=(e,{attributes:t,styles:r,role:n})=>{const{nextZIndex:a}=Pp(),i=ke("popper"),o=L(()=>b(t).popper),s=U(at(e.zIndex)?e.zIndex:a()),l=L(()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass]),u=L(()=>[{zIndex:b(s)},b(r).popper,e.popperStyle||{}]),c=L(()=>n.value==="dialog"?"false":void 0),d=L(()=>b(r).arrow||{});return{ariaModal:c,arrowStyle:d,contentAttrs:o,contentClass:l,contentStyle:u,contentZIndex:s,updateZIndex:()=>{s.value=at(e.zIndex)?e.zIndex:a()}}},yPe=(e,t)=>{const r=U(!1),n=U();return{focusStartRef:n,trapped:r,onFocusAfterReleased:u=>{var c;((c=u.detail)==null?void 0:c.focusReason)!=="pointer"&&(n.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:u=>{e.visible&&!r.value&&(u.target&&(n.value=u.target),r.value=!0)},onFocusoutPrevented:u=>{e.trapping||(u.detail.focusReason==="pointer"&&u.preventDefault(),r.value=!1)},onReleaseRequested:()=>{r.value=!1,t("close")}}},_Pe=te({name:"ElPopperContent"}),bPe=te({..._Pe,props:yF,emits:cPe,setup(e,{expose:t,emit:r}){const n=e,{focusStartRef:a,trapped:i,onFocusAfterReleased:o,onFocusAfterTrapped:s,onFocusInTrap:l,onFocusoutPrevented:u,onReleaseRequested:c}=yPe(n,r),{attributes:d,arrowRef:f,contentRef:p,styles:h,instanceRef:v,role:g,update:m}=gPe(n),{ariaModal:y,arrowStyle:_,contentAttrs:w,contentClass:E,contentStyle:S,updateZIndex:C}=mPe(n,{styles:h,attributes:d,role:g}),T=Ue(qo,void 0),x=U();It(dF,{arrowStyle:_,arrowRef:f,arrowOffset:x}),T&&(T.addInputId||T.removeInputId)&&It(qo,{...T,addInputId:nr,removeInputId:nr});let A;const k=(M=!0)=>{m(),M&&C()},R=()=>{k(!1),n.visible&&n.focusOnShow?i.value=!0:n.visible===!1&&(i.value=!1)};return gt(()=>{Te(()=>n.triggerTargetEl,(M,O)=>{A==null||A(),A=void 0;const z=b(M||p.value),B=b(O||p.value);ki(z)&&(A=Te([g,()=>n.ariaLabel,y,()=>n.id],P=>{["role","aria-label","aria-modal","id"].forEach((F,D)=>{Yr(P[D])?z.removeAttribute(F):z.setAttribute(F,P[D])})},{immediate:!0})),B!==z&&ki(B)&&["role","aria-label","aria-modal","id"].forEach(P=>{B.removeAttribute(P)})},{immediate:!0}),Te(()=>n.visible,R,{immediate:!0})}),vr(()=>{A==null||A(),A=void 0}),t({popperContentRef:p,popperInstanceRef:v,updatePopper:k,contentStyle:S}),(M,O)=>(I(),$("div",Tt({ref_key:"contentRef",ref:p},b(w),{style:b(S),class:b(E),tabindex:"-1",onMouseenter:O[0]||(O[0]=z=>M.$emit("mouseenter",z)),onMouseleave:O[1]||(O[1]=z=>M.$emit("mouseleave",z))}),[Q(b(M_),{trapped:b(i),"trap-on-focus-in":!0,"focus-trap-el":b(p),"focus-start-el":b(a),onFocusAfterTrapped:b(s),onFocusAfterReleased:b(o),onFocusin:b(l),onFocusoutPrevented:b(u),onReleaseRequested:b(c)},{default:oe(()=>[Se(M.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var wPe=De(bPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const _F=bt(UNe),L_=Symbol("elTooltip"),mn=Le({..._5e,...yF,appendTo:{type:ce([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:ce(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),lg=Le({...gF,disabled:Boolean,trigger:{type:ce([String,Array]),default:"hover"},triggerKeys:{type:ce(Array),default:()=>[Xe.enter,Xe.space]}}),{useModelToggleProps:SPe,useModelToggleEmits:EPe,useModelToggle:CPe}=T7("visible"),TPe=Le({...fF,...SPe,...mn,...lg,...pF,showArrow:{type:Boolean,default:!0}}),xPe=[...EPe,"before-show","before-hide","show","hide","open","close"],APe=(e,t)=>He(e)?e.includes(t):e===t,Bd=(e,t,r)=>n=>{APe(b(e),t)&&r(n)},kPe=te({name:"ElTooltipTrigger"}),IPe=te({...kPe,props:lg,setup(e,{expose:t}){const r=e,n=ke("tooltip"),{controlled:a,id:i,open:o,onOpen:s,onClose:l,onToggle:u}=Ue(L_,void 0),c=U(null),d=()=>{if(b(a)||r.disabled)return!0},f=xr(r,"trigger"),p=Ir(d,Bd(f,"hover",s)),h=Ir(d,Bd(f,"hover",l)),v=Ir(d,Bd(f,"click",w=>{w.button===0&&u(w)})),g=Ir(d,Bd(f,"focus",s)),m=Ir(d,Bd(f,"focus",l)),y=Ir(d,Bd(f,"contextmenu",w=>{w.preventDefault(),u(w)})),_=Ir(d,w=>{const{code:E}=w;r.triggerKeys.includes(E)&&(w.preventDefault(),u(w))});return t({triggerRef:c}),(w,E)=>(I(),pe(b(XNe),{id:b(i),"virtual-ref":w.virtualRef,open:b(o),"virtual-triggering":w.virtualTriggering,class:V(b(n).e("trigger")),onBlur:b(m),onClick:b(v),onContextmenu:b(y),onFocus:b(g),onMouseenter:b(p),onMouseleave:b(h),onKeydown:b(_)},{default:oe(()=>[Se(w.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var RPe=De(IPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const MPe=te({name:"ElTooltipContent",inheritAttrs:!1}),LPe=te({...MPe,props:mn,setup(e,{expose:t}){const r=e,{selector:n}=z7(),a=ke("tooltip"),i=U(null),o=U(!1),{controlled:s,id:l,open:u,trigger:c,onClose:d,onOpen:f,onShow:p,onHide:h,onBeforeShow:v,onBeforeHide:g}=Ue(L_,void 0),m=L(()=>r.transition||`${a.namespace.value}-fade-in-linear`),y=L(()=>r.persistent);vr(()=>{o.value=!0});const _=L(()=>b(y)?!0:b(u)),w=L(()=>r.disabled?!1:b(u)),E=L(()=>r.appendTo||n.value),S=L(()=>{var P;return(P=r.style)!=null?P:{}}),C=L(()=>!b(u)),T=()=>{h()},x=()=>{if(b(s))return!0},A=Ir(x,()=>{r.enterable&&b(c)==="hover"&&f()}),k=Ir(x,()=>{b(c)==="hover"&&d()}),R=()=>{var P,F;(F=(P=i.value)==null?void 0:P.updatePopper)==null||F.call(P),v==null||v()},M=()=>{g==null||g()},O=()=>{p(),B=zC(L(()=>{var P;return(P=i.value)==null?void 0:P.popperContentRef}),()=>{if(b(s))return;b(c)!=="hover"&&d()})},z=()=>{r.virtualTriggering||d()};let B;return Te(()=>b(u),P=>{P||B==null||B()},{flush:"post"}),Te(()=>r.content,()=>{var P,F;(F=(P=i.value)==null?void 0:P.updatePopper)==null||F.call(P)}),t({contentRef:i}),(P,F)=>(I(),pe(am,{disabled:!P.teleported,to:b(E)},[Q(Hr,{name:b(m),onAfterLeave:T,onBeforeEnter:R,onAfterEnter:O,onBeforeLeave:M},{default:oe(()=>[b(_)?ct((I(),pe(b(wPe),Tt({key:0,id:b(l),ref_key:"contentRef",ref:i},P.$attrs,{"aria-label":P.ariaLabel,"aria-hidden":b(C),"boundaries-padding":P.boundariesPadding,"fallback-placements":P.fallbackPlacements,"gpu-acceleration":P.gpuAcceleration,offset:P.offset,placement:P.placement,"popper-options":P.popperOptions,strategy:P.strategy,effect:P.effect,enterable:P.enterable,pure:P.pure,"popper-class":P.popperClass,"popper-style":[P.popperStyle,b(S)],"reference-el":P.referenceEl,"trigger-target-el":P.triggerTargetEl,visible:b(w),"z-index":P.zIndex,onMouseenter:b(A),onMouseleave:b(k),onBlur:z,onClose:b(d)}),{default:oe(()=>[o.value?ue("v-if",!0):Se(P.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[Gt,b(w)]]):ue("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var DPe=De(LPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const OPe=["innerHTML"],NPe={key:1},PPe=te({name:"ElTooltip"}),$Pe=te({...PPe,props:TPe,emits:xPe,setup(e,{expose:t,emit:r}){const n=e;y5e();const a=Da(),i=U(),o=U(),s=()=>{var m;const y=b(i);y&&((m=y.popperInstanceRef)==null||m.update())},l=U(!1),u=U(),{show:c,hide:d,hasUpdateHandler:f}=CPe({indicator:l,toggleReason:u}),{onOpen:p,onClose:h}=V7({showAfter:xr(n,"showAfter"),hideAfter:xr(n,"hideAfter"),autoClose:xr(n,"autoClose"),open:c,close:d}),v=L(()=>tn(n.visible)&&!f.value);It(L_,{controlled:v,id:a,open:Lp(l),trigger:xr(n,"trigger"),onOpen:m=>{p(m)},onClose:m=>{h(m)},onToggle:m=>{b(l)?h(m):p(m)},onShow:()=>{r("show",u.value)},onHide:()=>{r("hide",u.value)},onBeforeShow:()=>{r("before-show",u.value)},onBeforeHide:()=>{r("before-hide",u.value)},updatePopper:s}),Te(()=>n.disabled,m=>{m&&l.value&&(l.value=!1)});const g=m=>{var y,_;const w=(_=(y=o.value)==null?void 0:y.contentRef)==null?void 0:_.popperContentRef,E=(m==null?void 0:m.relatedTarget)||document.activeElement;return w&&w.contains(E)};return k$(()=>l.value&&d()),t({popperRef:i,contentRef:o,isFocusInsideContent:g,updatePopper:s,onOpen:p,onClose:h,hide:d}),(m,y)=>(I(),pe(b(_F),{ref_key:"popperRef",ref:i,role:m.role},{default:oe(()=>[Q(RPe,{disabled:m.disabled,trigger:m.trigger,"trigger-keys":m.triggerKeys,"virtual-ref":m.virtualRef,"virtual-triggering":m.virtualTriggering},{default:oe(()=>[m.$slots.default?Se(m.$slots,"default",{key:0}):ue("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),Q(DPe,{ref_key:"contentRef",ref:o,"aria-label":m.ariaLabel,"boundaries-padding":m.boundariesPadding,content:m.content,disabled:m.disabled,effect:m.effect,enterable:m.enterable,"fallback-placements":m.fallbackPlacements,"hide-after":m.hideAfter,"gpu-acceleration":m.gpuAcceleration,offset:m.offset,persistent:m.persistent,"popper-class":m.popperClass,"popper-style":m.popperStyle,placement:m.placement,"popper-options":m.popperOptions,pure:m.pure,"raw-content":m.rawContent,"reference-el":m.referenceEl,"trigger-target-el":m.triggerTargetEl,"show-after":m.showAfter,strategy:m.strategy,teleported:m.teleported,transition:m.transition,"virtual-triggering":m.virtualTriggering,"z-index":m.zIndex,"append-to":m.appendTo},{default:oe(()=>[Se(m.$slots,"content",{},()=>[m.rawContent?(I(),$("span",{key:0,innerHTML:m.content},null,8,OPe)):(I(),$("span",NPe,Oe(m.content),1))]),m.showArrow?(I(),pe(b(KNe),{key:0,"arrow-offset":m.arrowOffset},null,8,["arrow-offset"])):ue("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var BPe=De($Pe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const ca=bt(BPe),FPe=Le({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:ce(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:ce([Function,Array]),default:nr},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},label:{type:String},teleported:mn.teleported,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String}),zPe={[Et]:e=>ut(e),[ia]:e=>ut(e),[hr]:e=>ut(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>St(e)},VPe=["aria-expanded","aria-owns"],HPe={key:0},UPe=["id","aria-selected","onClick"],bF="ElAutocomplete",GPe=te({name:bF,inheritAttrs:!1}),WPe=te({...GPe,props:FPe,emits:zPe,setup(e,{expose:t,emit:r}){const n=e,a=dT(),i=bd(),o=$a(),s=ke("autocomplete"),l=U(),u=U(),c=U(),d=U();let f=!1,p=!1;const h=U([]),v=U(-1),g=U(""),m=U(!1),y=U(!1),_=U(!1),w=L(()=>s.b(String(C_()))),E=L(()=>i.style),S=L(()=>(h.value.length>0||_.value)&&m.value),C=L(()=>!n.hideLoading&&_.value),T=L(()=>l.value?Array.from(l.value.$el.querySelectorAll("input")):[]),x=()=>{S.value&&(g.value=`${l.value.$el.offsetWidth}px`)},A=()=>{v.value=-1},R=ua(async se=>{if(y.value)return;const q=j=>{_.value=!1,!y.value&&(He(j)?(h.value=j,v.value=n.highlightFirstItem?0:-1):rn(bF,"autocomplete suggestions must be an array"))};if(_.value=!0,He(n.fetchSuggestions))q(n.fetchSuggestions);else{const j=await n.fetchSuggestions(se,q);He(j)&&q(j)}},n.debounce),M=se=>{const q=!!se;if(r(ia,se),r(Et,se),y.value=!1,m.value||(m.value=q),!n.triggerOnFocus&&!se){y.value=!0,h.value=[];return}R(se)},O=se=>{var q;o.value||(((q=se.target)==null?void 0:q.tagName)!=="INPUT"||T.value.includes(document.activeElement))&&(m.value=!0)},z=se=>{r(hr,se)},B=se=>{p?p=!1:(m.value=!0,r("focus",se),n.triggerOnFocus&&!f&&R(String(n.modelValue)))},P=se=>{setTimeout(()=>{var q;if((q=c.value)!=null&&q.isFocusInsideContent()){p=!0;return}m.value&&K(),r("blur",se)})},F=()=>{m.value=!1,r(Et,""),r("clear")},D=async()=>{S.value&&v.value>=0&&v.value<h.value.length?J(h.value[v.value]):n.selectWhenUnmatched&&(r("select",{value:n.modelValue}),h.value=[],v.value=-1)},H=se=>{S.value&&(se.preventDefault(),se.stopPropagation(),K())},K=()=>{m.value=!1},Y=()=>{var se;(se=l.value)==null||se.focus()},X=()=>{var se;(se=l.value)==null||se.blur()},J=async se=>{r(ia,se[n.valueKey]),r(Et,se[n.valueKey]),r("select",se),h.value=[],v.value=-1},fe=se=>{if(!S.value||_.value)return;if(se<0){v.value=-1;return}se>=h.value.length&&(se=h.value.length-1);const q=u.value.querySelector(`.${s.be("suggestion","wrap")}`),ae=q.querySelectorAll(`.${s.be("suggestion","list")} li`)[se],ne=q.scrollTop,{offsetTop:le,scrollHeight:W}=ae;le+W>ne+q.clientHeight&&(q.scrollTop+=W),le<ne&&(q.scrollTop-=W),v.value=se,l.value.ref.setAttribute("aria-activedescendant",`${w.value}-item-${v.value}`)};return zC(d,()=>{S.value&&K()}),gt(()=>{l.value.ref.setAttribute("role","textbox"),l.value.ref.setAttribute("aria-autocomplete","list"),l.value.ref.setAttribute("aria-controls","id"),l.value.ref.setAttribute("aria-activedescendant",`${w.value}-item-${v.value}`),f=l.value.ref.hasAttribute("readonly")}),t({highlightedIndex:v,activated:m,loading:_,inputRef:l,popperRef:c,suggestions:h,handleSelect:J,handleKeyEnter:D,focus:Y,blur:X,close:K,highlight:fe}),(se,q)=>(I(),pe(b(ca),{ref_key:"popperRef",ref:c,visible:b(S),placement:se.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[b(s).e("popper"),se.popperClass],teleported:se.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${b(s).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:x,onHide:A},{content:oe(()=>[N("div",{ref_key:"regionRef",ref:u,class:V([b(s).b("suggestion"),b(s).is("loading",b(C))]),style:qe({[se.fitInputWidth?"width":"minWidth"]:g.value,outline:"none"}),role:"region"},[Q(b(Qs),{id:b(w),tag:"ul","wrap-class":b(s).be("suggestion","wrap"),"view-class":b(s).be("suggestion","list"),role:"listbox"},{default:oe(()=>[b(C)?(I(),$("li",HPe,[Q(b(Ke),{class:V(b(s).is("loading"))},{default:oe(()=>[Q(b(Zs))]),_:1},8,["class"])])):(I(!0),$(je,{key:1},Ot(h.value,(j,ae)=>(I(),$("li",{id:`${b(w)}-item-${ae}`,key:ae,class:V({highlighted:v.value===ae}),role:"option","aria-selected":v.value===ae,onClick:ne=>J(j)},[Se(se.$slots,"default",{item:j},()=>[Kt(Oe(j[se.valueKey]),1)])],10,UPe))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:oe(()=>[N("div",{ref_key:"listboxRef",ref:d,class:V([b(s).b(),se.$attrs.class]),style:qe(b(E)),role:"combobox","aria-haspopup":"listbox","aria-expanded":b(S),"aria-owns":b(w)},[Q(b(Un),Tt({ref_key:"inputRef",ref:l},b(a),{clearable:se.clearable,disabled:b(o),name:se.name,"model-value":se.modelValue,onInput:M,onChange:z,onFocus:B,onBlur:P,onClear:F,onKeydown:[q[0]||(q[0]=Ut(tt(j=>fe(v.value-1),["prevent"]),["up"])),q[1]||(q[1]=Ut(tt(j=>fe(v.value+1),["prevent"]),["down"])),Ut(D,["enter"]),Ut(K,["tab"]),Ut(H,["esc"])],onMousedown:O}),Ms({_:2},[se.$slots.prepend?{name:"prepend",fn:oe(()=>[Se(se.$slots,"prepend")])}:void 0,se.$slots.append?{name:"append",fn:oe(()=>[Se(se.$slots,"append")])}:void 0,se.$slots.prefix?{name:"prefix",fn:oe(()=>[Se(se.$slots,"prefix")])}:void 0,se.$slots.suffix?{name:"suffix",fn:oe(()=>[Se(se.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","onKeydown"])],14,VPe)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var KPe=De(WPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);const YPe=bt(KPe),qPe=Le({size:{type:[Number,String],values:rs,default:"",validator:e=>at(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:dr},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:ce(String),default:"cover"}}),jPe={error:e=>e instanceof Event},XPe=["src","alt","srcset"],ZPe=te({name:"ElAvatar"}),QPe=te({...ZPe,props:qPe,emits:jPe,setup(e,{emit:t}){const r=e,n=ke("avatar"),a=U(!1),i=L(()=>{const{size:u,icon:c,shape:d}=r,f=[n.b()];return ut(u)&&f.push(n.m(u)),c&&f.push(n.m("icon")),d&&f.push(n.m(d)),f}),o=L(()=>{const{size:u}=r;return at(u)?n.cssVarBlock({size:Nr(u)||""}):void 0}),s=L(()=>({objectFit:r.fit}));Te(()=>r.src,()=>a.value=!1);function l(u){a.value=!0,t("error",u)}return(u,c)=>(I(),$("span",{class:V(b(i)),style:qe(b(o))},[(u.src||u.srcSet)&&!a.value?(I(),$("img",{key:0,src:u.src,alt:u.alt,srcset:u.srcSet,style:qe(b(s)),onError:l},null,44,XPe)):u.icon?(I(),pe(b(Ke),{key:1},{default:oe(()=>[(I(),pe(xt(u.icon)))]),_:1})):Se(u.$slots,"default",{key:2})],6))}});var JPe=De(QPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/avatar/src/avatar.vue"]]);const e9e=bt(JPe),t9e={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},r9e={click:e=>e instanceof MouseEvent},n9e=(e,t,r)=>{const n=or(),a=or(),i=U(!1),o=()=>{n.value&&(i.value=n.value.scrollTop>=e.visibilityHeight)},s=u=>{var c;(c=n.value)==null||c.scrollTo({top:0,behavior:"smooth"}),t("click",u)},l=sB(o,300,!0);return yr(a,"scroll",l),gt(()=>{var u;a.value=document,n.value=document.documentElement,e.target&&(n.value=(u=document.querySelector(e.target))!=null?u:void 0,n.value||rn(r,`target does not exist: ${e.target}`),a.value=n.value),o()}),{visible:i,handleClick:s}},wF="ElBacktop",a9e=te({name:wF}),i9e=te({...a9e,props:t9e,emits:r9e,setup(e,{emit:t}){const r=e,n=ke("backtop"),{handleClick:a,visible:i}=n9e(r,t,wF),o=L(()=>({right:`${r.right}px`,bottom:`${r.bottom}px`}));return(s,l)=>(I(),pe(Hr,{name:`${b(n).namespace.value}-fade-in`},{default:oe(()=>[b(i)?(I(),$("div",{key:0,style:qe(b(o)),class:V(b(n).b()),onClick:l[0]||(l[0]=tt((...u)=>b(a)&&b(a)(...u),["stop"]))},[Se(s.$slots,"default",{},()=>[Q(b(Ke),{class:V(b(n).e("icon"))},{default:oe(()=>[Q(b(JB))]),_:1},8,["class"])])],6)):ue("v-if",!0)]),_:3},8,["name"]))}});var o9e=De(i9e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/backtop/src/backtop.vue"]]);const s9e=bt(o9e),l9e=Le({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"}}),u9e=["textContent"],c9e=te({name:"ElBadge"}),d9e=te({...c9e,props:l9e,setup(e,{expose:t}){const r=e,n=ke("badge"),a=L(()=>r.isDot?"":at(r.value)&&at(r.max)?r.max<r.value?`${r.max}+`:`${r.value}`:`${r.value}`);return t({content:a}),(i,o)=>(I(),$("div",{class:V(b(n).b())},[Se(i.$slots,"default"),Q(Hr,{name:`${b(n).namespace.value}-zoom-in-center`,persisted:""},{default:oe(()=>[ct(N("sup",{class:V([b(n).e("content"),b(n).em("content",i.type),b(n).is("fixed",!!i.$slots.default),b(n).is("dot",i.isDot)]),textContent:Oe(b(a))},null,10,u9e),[[Gt,!i.hidden&&(b(a)||i.isDot)]])]),_:1},8,["name"])],2))}});var f9e=De(d9e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const SF=bt(f9e),EF=Symbol("breadcrumbKey"),p9e=Le({separator:{type:String,default:"/"},separatorIcon:{type:dr}}),h9e=te({name:"ElBreadcrumb"}),v9e=te({...h9e,props:p9e,setup(e){const t=e,r=ke("breadcrumb"),n=U();return It(EF,t),gt(()=>{const a=n.value.querySelectorAll(`.${r.e("item")}`);a.length&&a[a.length-1].setAttribute("aria-current","page")}),(a,i)=>(I(),$("div",{ref_key:"breadcrumb",ref:n,class:V(b(r).b()),"aria-label":"Breadcrumb",role:"navigation"},[Se(a.$slots,"default")],2))}});var g9e=De(v9e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb.vue"]]);const m9e=Le({to:{type:ce([String,Object]),default:""},replace:{type:Boolean,default:!1}}),y9e=te({name:"ElBreadcrumbItem"}),_9e=te({...y9e,props:m9e,setup(e){const t=e,r=mt(),n=Ue(EF,void 0),a=ke("breadcrumb"),i=r.appContext.config.globalProperties.$router,o=U(),s=()=>{!t.to||!i||(t.replace?i.replace(t.to):i.push(t.to))};return(l,u)=>{var c,d;return I(),$("span",{class:V(b(a).e("item"))},[N("span",{ref_key:"link",ref:o,class:V([b(a).e("inner"),b(a).is("link",!!l.to)]),role:"link",onClick:s},[Se(l.$slots,"default")],2),(c=b(n))!=null&&c.separatorIcon?(I(),pe(b(Ke),{key:0,class:V(b(a).e("separator"))},{default:oe(()=>[(I(),pe(xt(b(n).separatorIcon)))]),_:1},8,["class"])):(I(),$("span",{key:1,class:V(b(a).e("separator")),role:"presentation"},Oe((d=b(n))==null?void 0:d.separator),3))],2)}}});var CF=De(_9e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue"]]);const b9e=bt(g9e,{BreadcrumbItem:CF}),w9e=Mr(CF),TF=Symbol("buttonGroupContextKey"),S9e=(e,t)=>{Wo({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},L(()=>e.type==="text"));const r=Ue(TF,void 0),n=k_("button"),{form:a}=pa(),i=nn(L(()=>r==null?void 0:r.size)),o=$a(),s=U(),l=Cn(),u=L(()=>e.type||(r==null?void 0:r.type)||""),c=L(()=>{var h,v,g;return(g=(v=e.autoInsertSpace)!=null?v:(h=n.value)==null?void 0:h.autoInsertSpace)!=null?g:!1}),d=L(()=>e.tag==="button"?{ariaDisabled:o.value||e.loading,disabled:o.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),f=L(()=>{var h;const v=(h=l.default)==null?void 0:h.call(l);if(c.value&&(v==null?void 0:v.length)===1){const g=v[0];if((g==null?void 0:g.type)===Dp){const m=g.children;return/^\p{Unified_Ideograph}{2}$/u.test(m.trim())}}return!1});return{_disabled:o,_size:i,_type:u,_ref:s,_props:d,shouldAddSpace:f,handleClick:h=>{e.nativeType==="reset"&&(a==null||a.resetFields()),t("click",h)}}},y3=["default","primary","success","warning","info","danger","text",""],E9e=["button","submit","reset"],_3=Le({size:On,disabled:Boolean,type:{type:String,values:y3,default:""},icon:{type:dr},nativeType:{type:String,values:E9e,default:"button"},loading:Boolean,loadingIcon:{type:dr,default:()=>Zs},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:ce([String,Object]),default:"button"}}),C9e={click:e=>e instanceof MouseEvent};function Rn(e,t){T9e(e)&&(e="100%");var r=x9e(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function o0(e){return Math.min(1,Math.max(0,e))}function T9e(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function x9e(e){return typeof e=="string"&&e.indexOf("%")!==-1}function xF(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function s0(e){return e<=1?"".concat(Number(e)*100,"%"):e}function wc(e){return e.length===1?"0"+e:String(e)}function A9e(e,t,r){return{r:Rn(e,255)*255,g:Rn(t,255)*255,b:Rn(r,255)*255}}function iR(e,t,r){e=Rn(e,255),t=Rn(t,255),r=Rn(r,255);var n=Math.max(e,t,r),a=Math.min(e,t,r),i=0,o=0,s=(n+a)/2;if(n===a)o=0,i=0;else{var l=n-a;switch(o=s>.5?l/(2-n-a):l/(n+a),n){case e:i=(t-r)/l+(t<r?6:0);break;case t:i=(r-e)/l+2;break;case r:i=(e-t)/l+4;break}i/=6}return{h:i,s:o,l:s}}function Ub(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function k9e(e,t,r){var n,a,i;if(e=Rn(e,360),t=Rn(t,100),r=Rn(r,100),t===0)a=r,i=r,n=r;else{var o=r<.5?r*(1+t):r+t-r*t,s=2*r-o;n=Ub(s,o,e+1/3),a=Ub(s,o,e),i=Ub(s,o,e-1/3)}return{r:n*255,g:a*255,b:i*255}}function oR(e,t,r){e=Rn(e,255),t=Rn(t,255),r=Rn(r,255);var n=Math.max(e,t,r),a=Math.min(e,t,r),i=0,o=n,s=n-a,l=n===0?0:s/n;if(n===a)i=0;else{switch(n){case e:i=(t-r)/s+(t<r?6:0);break;case t:i=(r-e)/s+2;break;case r:i=(e-t)/s+4;break}i/=6}return{h:i,s:l,v:o}}function I9e(e,t,r){e=Rn(e,360)*6,t=Rn(t,100),r=Rn(r,100);var n=Math.floor(e),a=e-n,i=r*(1-t),o=r*(1-a*t),s=r*(1-(1-a)*t),l=n%6,u=[r,o,i,i,s,r][l],c=[s,r,r,o,i,i][l],d=[i,i,s,r,r,o][l];return{r:u*255,g:c*255,b:d*255}}function sR(e,t,r,n){var a=[wc(Math.round(e).toString(16)),wc(Math.round(t).toString(16)),wc(Math.round(r).toString(16))];return n&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function R9e(e,t,r,n,a){var i=[wc(Math.round(e).toString(16)),wc(Math.round(t).toString(16)),wc(Math.round(r).toString(16)),wc(M9e(n))];return a&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function M9e(e){return Math.round(parseFloat(e)*255).toString(16)}function lR(e){return Va(e)/255}function Va(e){return parseInt(e,16)}function L9e(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var b3={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function D9e(e){var t={r:0,g:0,b:0},r=1,n=null,a=null,i=null,o=!1,s=!1;return typeof e=="string"&&(e=P9e(e)),typeof e=="object"&&(os(e.r)&&os(e.g)&&os(e.b)?(t=A9e(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):os(e.h)&&os(e.s)&&os(e.v)?(n=s0(e.s),a=s0(e.v),t=I9e(e.h,n,a),o=!0,s="hsv"):os(e.h)&&os(e.s)&&os(e.l)&&(n=s0(e.s),i=s0(e.l),t=k9e(e.h,n,i),o=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=xF(r),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var O9e="[-\\+]?\\d+%?",N9e="[-\\+]?\\d*\\.\\d+%?",kl="(?:".concat(N9e,")|(?:").concat(O9e,")"),Gb="[\\s|\\(]+(".concat(kl,")[,|\\s]+(").concat(kl,")[,|\\s]+(").concat(kl,")\\s*\\)?"),Wb="[\\s|\\(]+(".concat(kl,")[,|\\s]+(").concat(kl,")[,|\\s]+(").concat(kl,")[,|\\s]+(").concat(kl,")\\s*\\)?"),Gi={CSS_UNIT:new RegExp(kl),rgb:new RegExp("rgb"+Gb),rgba:new RegExp("rgba"+Wb),hsl:new RegExp("hsl"+Gb),hsla:new RegExp("hsla"+Wb),hsv:new RegExp("hsv"+Gb),hsva:new RegExp("hsva"+Wb),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function P9e(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(b3[e])e=b3[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=Gi.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=Gi.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=Gi.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=Gi.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=Gi.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=Gi.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=Gi.hex8.exec(e),r?{r:Va(r[1]),g:Va(r[2]),b:Va(r[3]),a:lR(r[4]),format:t?"name":"hex8"}:(r=Gi.hex6.exec(e),r?{r:Va(r[1]),g:Va(r[2]),b:Va(r[3]),format:t?"name":"hex"}:(r=Gi.hex4.exec(e),r?{r:Va(r[1]+r[1]),g:Va(r[2]+r[2]),b:Va(r[3]+r[3]),a:lR(r[4]+r[4]),format:t?"name":"hex8"}:(r=Gi.hex3.exec(e),r?{r:Va(r[1]+r[1]),g:Va(r[2]+r[2]),b:Va(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function os(e){return!!Gi.CSS_UNIT.exec(String(e))}var AF=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=L9e(t)),this.originalInput=t;var a=D9e(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,a,i=t.r/255,o=t.g/255,s=t.b/255;return i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),.2126*r+.7152*n+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=xF(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=oR(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=oR(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(a,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=iR(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=iR(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(a,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),sR(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),R9e(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(Rn(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(Rn(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+sR(this.r,this.g,this.b,!1),r=0,n=Object.entries(b3);r<n.length;r++){var a=n[r],i=a[0],o=a[1];if(t===o)return i}return!1},e.prototype.toString=function(t){var r=!!t;t=t??this.format;var n=!1,a=this.a<1&&this.a>=0,i=!r&&a&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=o0(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=o0(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=o0(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=o0(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),a=new e(t).toRgb(),i=r/100,o={r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a};return new e(o)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),a=360/r,i=[this];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(new e(n));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/t;t--;)o.push(new e({h:n,s:a,v:i})),i=(i+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),a=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/a,g:(r.g*r.a+n.g*n.a*(1-r.a))/a,b:(r.b*r.a+n.b*n.a*(1-r.a))/a,a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,a=[this],i=360/t,o=1;o<t;o++)a.push(new e({h:(n+o*i)%360,s:r.s,l:r.l}));return a},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function al(e,t=20){return e.mix("#141414",t).toString()}function $9e(e){const t=$a(),r=ke("button");return L(()=>{let n={};const a=e.color;if(a){const i=new AF(a),o=e.dark?i.tint(20).toString():al(i,20);if(e.plain)n=r.cssVarBlock({"bg-color":e.dark?al(i,90):i.tint(90).toString(),"text-color":a,"border-color":e.dark?al(i,50):i.tint(50).toString(),"hover-text-color":`var(${r.cssVarName("color-white")})`,"hover-bg-color":a,"hover-border-color":a,"active-bg-color":o,"active-text-color":`var(${r.cssVarName("color-white")})`,"active-border-color":o}),t.value&&(n[r.cssVarBlockName("disabled-bg-color")]=e.dark?al(i,90):i.tint(90).toString(),n[r.cssVarBlockName("disabled-text-color")]=e.dark?al(i,50):i.tint(50).toString(),n[r.cssVarBlockName("disabled-border-color")]=e.dark?al(i,80):i.tint(80).toString());else{const s=e.dark?al(i,30):i.tint(30).toString(),l=i.isDark()?`var(${r.cssVarName("color-white")})`:`var(${r.cssVarName("color-black")})`;if(n=r.cssVarBlock({"bg-color":a,"text-color":l,"border-color":a,"hover-bg-color":s,"hover-text-color":l,"hover-border-color":s,"active-bg-color":o,"active-border-color":o}),t.value){const u=e.dark?al(i,50):i.tint(50).toString();n[r.cssVarBlockName("disabled-bg-color")]=u,n[r.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${r.cssVarName("color-white")})`,n[r.cssVarBlockName("disabled-border-color")]=u}}}return n})}const B9e=te({name:"ElButton"}),F9e=te({...B9e,props:_3,emits:C9e,setup(e,{expose:t,emit:r}){const n=e,a=$9e(n),i=ke("button"),{_ref:o,_size:s,_type:l,_disabled:u,_props:c,shouldAddSpace:d,handleClick:f}=S9e(n,r);return t({ref:o,size:s,type:l,disabled:u,shouldAddSpace:d}),(p,h)=>(I(),pe(xt(p.tag),Tt({ref_key:"_ref",ref:o},b(c),{class:[b(i).b(),b(i).m(b(l)),b(i).m(b(s)),b(i).is("disabled",b(u)),b(i).is("loading",p.loading),b(i).is("plain",p.plain),b(i).is("round",p.round),b(i).is("circle",p.circle),b(i).is("text",p.text),b(i).is("link",p.link),b(i).is("has-bg",p.bg)],style:b(a),onClick:b(f)}),{default:oe(()=>[p.loading?(I(),$(je,{key:0},[p.$slots.loading?Se(p.$slots,"loading",{key:0}):(I(),pe(b(Ke),{key:1,class:V(b(i).is("loading"))},{default:oe(()=>[(I(),pe(xt(p.loadingIcon)))]),_:1},8,["class"]))],64)):p.icon||p.$slots.icon?(I(),pe(b(Ke),{key:1},{default:oe(()=>[p.icon?(I(),pe(xt(p.icon),{key:0})):Se(p.$slots,"icon",{key:1})]),_:3})):ue("v-if",!0),p.$slots.default?(I(),$("span",{key:2,class:V({[b(i).em("text","expand")]:b(d)})},[Se(p.$slots,"default")],2)):ue("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var z9e=De(F9e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const V9e={size:_3.size,type:_3.type},H9e=te({name:"ElButtonGroup"}),U9e=te({...H9e,props:V9e,setup(e){const t=e;It(TF,qt({size:xr(t,"size"),type:xr(t,"type")}));const r=ke("button");return(n,a)=>(I(),$("div",{class:V(`${b(r).b("group")}`)},[Se(n.$slots,"default")],2))}});var kF=De(U9e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const Mn=bt(z9e,{ButtonGroup:kF}),IF=Mr(kF);var so=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var RF={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(so,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",o="second",s="minute",l="hour",u="day",c="week",d="month",f="quarter",p="year",h="date",v="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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(O){var z=["th","st","nd","rd"],B=O%100;return"["+O+(z[(B-20)%10]||z[B]||z[0])+"]"}},_=function(O,z,B){var P=String(O);return!P||P.length>=z?O:""+Array(z+1-P.length).join(B)+O},w={s:_,z:function(O){var z=-O.utcOffset(),B=Math.abs(z),P=Math.floor(B/60),F=B%60;return(z<=0?"+":"-")+_(P,2,"0")+":"+_(F,2,"0")},m:function O(z,B){if(z.date()<B.date())return-O(B,z);var P=12*(B.year()-z.year())+(B.month()-z.month()),F=z.clone().add(P,d),D=B-F<0,H=z.clone().add(P+(D?-1:1),d);return+(-(P+(B-F)/(D?F-H:H-F))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:d,y:p,w:c,d:u,D:h,h:l,m:s,s:o,ms:i,Q:f}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},E="en",S={};S[E]=y;var C="$isDayjsObject",T=function(O){return O instanceof R||!(!O||!O[C])},x=function O(z,B,P){var F;if(!z)return E;if(typeof z=="string"){var D=z.toLowerCase();S[D]&&(F=D),B&&(S[D]=B,F=D);var H=z.split("-");if(!F&&H.length>1)return O(H[0])}else{var K=z.name;S[K]=z,F=K}return!P&&F&&(E=F),F||!P&&E},A=function(O,z){if(T(O))return O.clone();var B=typeof z=="object"?z:{};return B.date=O,B.args=arguments,new R(B)},k=w;k.l=x,k.i=T,k.w=function(O,z){return A(O,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var R=function(){function O(B){this.$L=x(B.locale,null,!0),this.parse(B),this.$x=this.$x||B.x||{},this[C]=!0}var z=O.prototype;return z.parse=function(B){this.$d=function(P){var F=P.date,D=P.utc;if(F===null)return new Date(NaN);if(k.u(F))return new Date;if(F instanceof Date)return new Date(F);if(typeof F=="string"&&!/Z$/i.test(F)){var H=F.match(g);if(H){var K=H[2]-1||0,Y=(H[7]||"0").substring(0,3);return D?new Date(Date.UTC(H[1],K,H[3]||1,H[4]||0,H[5]||0,H[6]||0,Y)):new Date(H[1],K,H[3]||1,H[4]||0,H[5]||0,H[6]||0,Y)}}return new Date(F)}(B),this.init()},z.init=function(){var B=this.$d;this.$y=B.getFullYear(),this.$M=B.getMonth(),this.$D=B.getDate(),this.$W=B.getDay(),this.$H=B.getHours(),this.$m=B.getMinutes(),this.$s=B.getSeconds(),this.$ms=B.getMilliseconds()},z.$utils=function(){return k},z.isValid=function(){return this.$d.toString()!==v},z.isSame=function(B,P){var F=A(B);return this.startOf(P)<=F&&F<=this.endOf(P)},z.isAfter=function(B,P){return A(B)<this.startOf(P)},z.isBefore=function(B,P){return this.endOf(P)<A(B)},z.$g=function(B,P,F){return k.u(B)?this[P]:this.set(F,B)},z.unix=function(){return Math.floor(this.valueOf()/1e3)},z.valueOf=function(){return this.$d.getTime()},z.startOf=function(B,P){var F=this,D=!!k.u(P)||P,H=k.p(B),K=function(ae,ne){var le=k.w(F.$u?Date.UTC(F.$y,ne,ae):new Date(F.$y,ne,ae),F);return D?le:le.endOf(u)},Y=function(ae,ne){return k.w(F.toDate()[ae].apply(F.toDate("s"),(D?[0,0,0,0]:[23,59,59,999]).slice(ne)),F)},X=this.$W,J=this.$M,fe=this.$D,se="set"+(this.$u?"UTC":"");switch(H){case p:return D?K(1,0):K(31,11);case d:return D?K(1,J):K(0,J+1);case c:var q=this.$locale().weekStart||0,j=(X<q?X+7:X)-q;return K(D?fe-j:fe+(6-j),J);case u:case h:return Y(se+"Hours",0);case l:return Y(se+"Minutes",1);case s:return Y(se+"Seconds",2);case o:return Y(se+"Milliseconds",3);default:return this.clone()}},z.endOf=function(B){return this.startOf(B,!1)},z.$set=function(B,P){var F,D=k.p(B),H="set"+(this.$u?"UTC":""),K=(F={},F[u]=H+"Date",F[h]=H+"Date",F[d]=H+"Month",F[p]=H+"FullYear",F[l]=H+"Hours",F[s]=H+"Minutes",F[o]=H+"Seconds",F[i]=H+"Milliseconds",F)[D],Y=D===u?this.$D+(P-this.$W):P;if(D===d||D===p){var X=this.clone().set(h,1);X.$d[K](Y),X.init(),this.$d=X.set(h,Math.min(this.$D,X.daysInMonth())).$d}else K&&this.$d[K](Y);return this.init(),this},z.set=function(B,P){return this.clone().$set(B,P)},z.get=function(B){return this[k.p(B)]()},z.add=function(B,P){var F,D=this;B=Number(B);var H=k.p(P),K=function(J){var fe=A(D);return k.w(fe.date(fe.date()+Math.round(J*B)),D)};if(H===d)return this.set(d,this.$M+B);if(H===p)return this.set(p,this.$y+B);if(H===u)return K(1);if(H===c)return K(7);var Y=(F={},F[s]=n,F[l]=a,F[o]=r,F)[H]||1,X=this.$d.getTime()+B*Y;return k.w(X,this)},z.subtract=function(B,P){return this.add(-1*B,P)},z.format=function(B){var P=this,F=this.$locale();if(!this.isValid())return F.invalidDate||v;var D=B||"YYYY-MM-DDTHH:mm:ssZ",H=k.z(this),K=this.$H,Y=this.$m,X=this.$M,J=F.weekdays,fe=F.months,se=F.meridiem,q=function(ne,le,W,Z){return ne&&(ne[le]||ne(P,D))||W[le].slice(0,Z)},j=function(ne){return k.s(K%12||12,ne,"0")},ae=se||function(ne,le,W){var Z=ne<12?"AM":"PM";return W?Z.toLowerCase():Z};return D.replace(m,function(ne,le){return le||function(W){switch(W){case"YY":return String(P.$y).slice(-2);case"YYYY":return k.s(P.$y,4,"0");case"M":return X+1;case"MM":return k.s(X+1,2,"0");case"MMM":return q(F.monthsShort,X,fe,3);case"MMMM":return q(fe,X);case"D":return P.$D;case"DD":return k.s(P.$D,2,"0");case"d":return String(P.$W);case"dd":return q(F.weekdaysMin,P.$W,J,2);case"ddd":return q(F.weekdaysShort,P.$W,J,3);case"dddd":return J[P.$W];case"H":return String(K);case"HH":return k.s(K,2,"0");case"h":return j(1);case"hh":return j(2);case"a":return ae(K,Y,!0);case"A":return ae(K,Y,!1);case"m":return String(Y);case"mm":return k.s(Y,2,"0");case"s":return String(P.$s);case"ss":return k.s(P.$s,2,"0");case"SSS":return k.s(P.$ms,3,"0");case"Z":return H}return null}(ne)||H.replace(":","")})},z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},z.diff=function(B,P,F){var D,H=this,K=k.p(P),Y=A(B),X=(Y.utcOffset()-this.utcOffset())*n,J=this-Y,fe=function(){return k.m(H,Y)};switch(K){case p:D=fe()/12;break;case d:D=fe();break;case f:D=fe()/3;break;case c:D=(J-X)/6048e5;break;case u:D=(J-X)/864e5;break;case l:D=J/a;break;case s:D=J/n;break;case o:D=J/r;break;default:D=J}return F?D:k.a(D)},z.daysInMonth=function(){return this.endOf(d).$D},z.$locale=function(){return S[this.$L]},z.locale=function(B,P){if(!B)return this.$L;var F=this.clone(),D=x(B,P,!0);return D&&(F.$L=D),F},z.clone=function(){return k.w(this.$d,this)},z.toDate=function(){return new Date(this.valueOf())},z.toJSON=function(){return this.isValid()?this.toISOString():null},z.toISOString=function(){return this.$d.toISOString()},z.toString=function(){return this.$d.toUTCString()},O}(),M=R.prototype;return A.prototype=M,[["$ms",i],["$s",o],["$m",s],["$H",l],["$W",u],["$M",d],["$y",p],["$D",h]].forEach(function(O){M[O[1]]=function(z){return this.$g(z,O[0],O[1])}}),A.extend=function(O,z){return O.$i||(O(z,R,A),O.$i=!0),A},A.locale=x,A.isDayjs=T,A.unix=function(O){return A(1e3*O)},A.en=S[E],A.Ls=S,A.p={},A})})(RF);var G9e=RF.exports;const yt=vo(G9e);var MF={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(so,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,i=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,s={},l=function(v){return(v=+v)+(v>68?1900:2e3)},u=function(v){return function(g){this[v]=+g}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(g){if(!g||g==="Z")return 0;var m=g.match(/([+-]|\d\d)/g),y=60*m[1]+(+m[2]||0);return y===0?0:m[0]==="+"?-y:y}(v)}],d=function(v){var g=s[v];return g&&(g.indexOf?g:g.s.concat(g.f))},f=function(v,g){var m,y=s.meridiem;if(y){for(var _=1;_<=24;_+=1)if(v.indexOf(y(_,0,g))>-1){m=_>12;break}}else m=v===(g?"pm":"PM");return m},p={A:[o,function(v){this.afternoon=f(v,!1)}],a:[o,function(v){this.afternoon=f(v,!0)}],S:[/\d/,function(v){this.milliseconds=100*+v}],SS:[a,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[i,u("seconds")],ss:[i,u("seconds")],m:[i,u("minutes")],mm:[i,u("minutes")],H:[i,u("hours")],h:[i,u("hours")],HH:[i,u("hours")],hh:[i,u("hours")],D:[i,u("day")],DD:[a,u("day")],Do:[o,function(v){var g=s.ordinal,m=v.match(/\d+/);if(this.day=m[0],g)for(var y=1;y<=31;y+=1)g(y).replace(/\[|\]/g,"")===v&&(this.day=y)}],M:[i,u("month")],MM:[a,u("month")],MMM:[o,function(v){var g=d("months"),m=(d("monthsShort")||g.map(function(y){return y.slice(0,3)})).indexOf(v)+1;if(m<1)throw new Error;this.month=m%12||m}],MMMM:[o,function(v){var g=d("months").indexOf(v)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,u("year")],YY:[a,function(v){this.year=l(v)}],YYYY:[/\d{4}/,u("year")],Z:c,ZZ:c};function h(v){var g,m;g=v,m=s&&s.formats;for(var y=(v=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,A,k){var R=k&&k.toUpperCase();return A||m[k]||r[k]||m[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,O,z){return O||z.slice(1)})})).match(n),_=y.length,w=0;w<_;w+=1){var E=y[w],S=p[E],C=S&&S[0],T=S&&S[1];y[w]=T?{regex:C,parser:T}:E.replace(/^\[|\]$/g,"")}return function(x){for(var A={},k=0,R=0;k<_;k+=1){var M=y[k];if(typeof M=="string")R+=M.length;else{var O=M.regex,z=M.parser,B=x.slice(R),P=O.exec(B)[0];z.call(A,P),x=x.replace(P,"")}}return function(F){var D=F.afternoon;if(D!==void 0){var H=F.hours;D?H<12&&(F.hours+=12):H===12&&(F.hours=0),delete F.afternoon}}(A),A}}return function(v,g,m){m.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(l=v.parseTwoDigitYear);var y=g.prototype,_=y.parse;y.parse=function(w){var E=w.date,S=w.utc,C=w.args;this.$u=S;var T=C[1];if(typeof T=="string"){var x=C[2]===!0,A=C[3]===!0,k=x||A,R=C[2];A&&(R=C[2]),s=this.$locale(),!x&&R&&(s=m.Ls[R]),this.$d=function(B,P,F){try{if(["x","X"].indexOf(P)>-1)return new Date((P==="X"?1e3:1)*B);var D=h(P)(B),H=D.year,K=D.month,Y=D.day,X=D.hours,J=D.minutes,fe=D.seconds,se=D.milliseconds,q=D.zone,j=new Date,ae=Y||(H||K?1:j.getDate()),ne=H||j.getFullYear(),le=0;H&&!K||(le=K>0?K-1:j.getMonth());var W=X||0,Z=J||0,ie=fe||0,me=se||0;return q?new Date(Date.UTC(ne,le,ae,W,Z,ie,me+60*q.offset*1e3)):F?new Date(Date.UTC(ne,le,ae,W,Z,ie,me)):new Date(ne,le,ae,W,Z,ie,me)}catch{return new Date("")}}(E,T,S),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),k&&E!=this.format(T)&&(this.$d=new Date("")),s={}}else if(T instanceof Array)for(var M=T.length,O=1;O<=M;O+=1){C[1]=T[O-1];var z=m.apply(this,C);if(z.isValid()){this.$d=z.$d,this.$L=z.$L,this.init();break}O===M&&(this.$d=new Date(""))}else _.call(this,w)}}})})(MF);var W9e=MF.exports;const DT=vo(W9e),uR=["hours","minutes","seconds"],w3="HH:mm:ss",df="YYYY-MM-DD",K9e={date:df,dates:df,week:"gggg[w]ww",year:"YYYY",month:"YYYY-MM",datetime:`${df} ${w3}`,monthrange:"YYYY-MM",daterange:df,datetimerange:`${df} ${w3}`},Kb=(e,t)=>[e>0?e-1:void 0,e,e<t?e+1:void 0],Gl=e=>Array.from(Array.from({length:e}).keys()),LF=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),DF=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),cR=function(e,t){const r=rd(e),n=rd(t);return r&&n?e.getTime()===t.getTime():!r&&!n?e===t:!1},dR=function(e,t){const r=He(e),n=He(t);return r&&n?e.length!==t.length?!1:e.every((a,i)=>cR(a,t[i])):!r&&!n?cR(e,t):!1},fR=function(e,t,r){const n=gi(t)||t==="x"?yt(e).locale(r):yt(e,t).locale(r);return n.isValid()?n:void 0},pR=function(e,t,r){return gi(t)?e:t==="x"?+e:yt(e).locale(r).format(t)},Yb=(e,t)=>{var r;const n=[],a=t==null?void 0:t();for(let i=0;i<e;i++)n.push((r=a==null?void 0:a.includes(i))!=null?r:!1);return n},OF=Le({disabledHours:{type:ce(Function)},disabledMinutes:{type:ce(Function)},disabledSeconds:{type:ce(Function)}}),NF=Le({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),OT=Le({id:{type:ce([Array,String])},name:{type:ce([Array,String]),default:""},popperClass:{type:String,default:""},format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:ce([String,Object]),default:Xs},editable:{type:Boolean,default:!0},prefixIcon:{type:ce([String,Object]),default:""},size:On,readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:""},popperOptions:{type:ce(Object),default:()=>({})},modelValue:{type:ce([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:ce([Date,Array])},defaultTime:{type:ce([Date,Array])},isRange:{type:Boolean,default:!1},...OF,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:{type:Boolean,default:!1},label:{type:String,default:void 0},tabindex:{type:ce([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean}),Y9e=["id","name","placeholder","value","disabled","readonly"],q9e=["id","name","placeholder","value","disabled","readonly"],j9e=te({name:"Picker"}),X9e=te({...j9e,props:OT,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:r}){const n=e,a=bd(),{lang:i}=Ht(),o=ke("date"),s=ke("input"),l=ke("range"),{form:u,formItem:c}=pa(),d=Ue("ElPopperOptions",{}),f=U(),p=U(),h=U(!1),v=U(!1),g=U(null);let m=!1,y=!1;const _=L(()=>[o.b("editor"),o.bm("editor",n.type),s.e("wrapper"),o.is("disabled",Y.value),o.is("active",h.value),l.b("editor"),ge?l.bm("editor",ge.value):"",a.class]),w=L(()=>[s.e("icon"),l.e("close-icon"),ae.value?"":l.e("close-icon--hidden")]);Te(h,ee=>{ee?Ye(()=>{ee&&(g.value=n.modelValue)}):(Ee.value=null,Ye(()=>{E(n.modelValue)}))});const E=(ee,ze)=>{(ze||!dR(ee,g.value))&&(r("change",ee),n.validateEvent&&(c==null||c.validate("change").catch(st=>void 0)))},S=ee=>{if(!dR(n.modelValue,ee)){let ze;He(ee)?ze=ee.map(st=>pR(st,n.valueFormat,i.value)):ee&&(ze=pR(ee,n.valueFormat,i.value)),r("update:modelValue",ee&&ze,i.value)}},C=ee=>{r("keydown",ee)},T=L(()=>{if(p.value){const ee=be.value?p.value:p.value.$el;return Array.from(ee.querySelectorAll("input"))}return[]}),x=(ee,ze,st)=>{const Mt=T.value;Mt.length&&(!st||st==="min"?(Mt[0].setSelectionRange(ee,ze),Mt[0].focus()):st==="max"&&(Mt[1].setSelectionRange(ee,ze),Mt[1].focus()))},A=()=>{F(!0,!0),Ye(()=>{y=!1})},k=(ee="",ze=!1)=>{ze||(y=!0),h.value=ze;let st;He(ee)?st=ee.map(Mt=>Mt.toDate()):st=ee&&ee.toDate(),Ee.value=null,S(st)},R=()=>{v.value=!0},M=()=>{r("visible-change",!0)},O=ee=>{(ee==null?void 0:ee.key)===Xe.esc&&F(!0,!0)},z=()=>{v.value=!1,h.value=!1,y=!1,r("visible-change",!1)},B=()=>{h.value=!0},P=()=>{h.value=!1},F=(ee=!0,ze=!1)=>{y=ze;const[st,Mt]=b(T);let Ur=st;!ee&&be.value&&(Ur=Mt),Ur&&Ur.focus()},D=ee=>{n.readonly||Y.value||h.value||y||(h.value=!0,r("focus",ee))};let H;const K=ee=>{const ze=async()=>{setTimeout(()=>{var st;H===ze&&(!((st=f.value)!=null&&st.isFocusInsideContent()&&!m)&&T.value.filter(Mt=>Mt.contains(document.activeElement)).length===0&&(xe(),h.value=!1,r("blur",ee),n.validateEvent&&(c==null||c.validate("blur").catch(Mt=>void 0))),m=!1)},0)};H=ze,ze()},Y=L(()=>n.disabled||(u==null?void 0:u.disabled)),X=L(()=>{let ee;if(le.value?_e.value.getDefaultValue&&(ee=_e.value.getDefaultValue()):He(n.modelValue)?ee=n.modelValue.map(ze=>fR(ze,n.valueFormat,i.value)):ee=fR(n.modelValue,n.valueFormat,i.value),_e.value.getRangeAvailableTime){const ze=_e.value.getRangeAvailableTime(ee);Ca(ze,ee)||(ee=ze,S(He(ee)?ee.map(st=>st.toDate()):ee.toDate()))}return He(ee)&&ee.some(ze=>!ze)&&(ee=[]),ee}),J=L(()=>{if(!_e.value.panelReady)return"";const ee=Fe(X.value);return He(Ee.value)?[Ee.value[0]||ee&&ee[0]||"",Ee.value[1]||ee&&ee[1]||""]:Ee.value!==null?Ee.value:!se.value&&le.value||!h.value&&le.value?"":ee?q.value?ee.join(", "):ee:""}),fe=L(()=>n.type.includes("time")),se=L(()=>n.type.startsWith("time")),q=L(()=>n.type==="dates"),j=L(()=>n.prefixIcon||(fe.value?iT:QB)),ae=U(!1),ne=ee=>{n.readonly||Y.value||ae.value&&(ee.stopPropagation(),A(),S(null),E(null,!0),ae.value=!1,h.value=!1,_e.value.handleClear&&_e.value.handleClear())},le=L(()=>{const{modelValue:ee}=n;return!ee||He(ee)&&!ee.filter(Boolean).length}),W=async ee=>{var ze;n.readonly||Y.value||(((ze=ee.target)==null?void 0:ze.tagName)!=="INPUT"||T.value.includes(document.activeElement))&&(h.value=!0)},Z=()=>{n.readonly||Y.value||!le.value&&n.clearable&&(ae.value=!0)},ie=()=>{ae.value=!1},me=ee=>{var ze;n.readonly||Y.value||(((ze=ee.touches[0].target)==null?void 0:ze.tagName)!=="INPUT"||T.value.includes(document.activeElement))&&(h.value=!0)},be=L(()=>n.type.includes("range")),ge=nn(),Re=L(()=>{var ee,ze;return(ze=(ee=b(f))==null?void 0:ee.popperRef)==null?void 0:ze.contentRef}),Ce=L(()=>{var ee;return b(be)?b(p):(ee=b(p))==null?void 0:ee.$el});zC(Ce,ee=>{const ze=b(Re),st=b(Ce);ze&&(ee.target===ze||ee.composedPath().includes(ze))||ee.target===st||ee.composedPath().includes(st)||(h.value=!1)});const Ee=U(null),xe=()=>{if(Ee.value){const ee=$e(J.value);ee&&Ge(ee)&&(S(He(ee)?ee.map(ze=>ze.toDate()):ee.toDate()),Ee.value=null)}Ee.value===""&&(S(null),E(null),Ee.value=null)},$e=ee=>ee?_e.value.parseUserInput(ee):null,Fe=ee=>ee?_e.value.formatToString(ee):null,Ge=ee=>_e.value.isValidValue(ee),Ie=async ee=>{if(n.readonly||Y.value)return;const{code:ze}=ee;if(C(ee),ze===Xe.esc){h.value===!0&&(h.value=!1,ee.preventDefault(),ee.stopPropagation());return}if(ze===Xe.down&&(_e.value.handleFocusPicker&&(ee.preventDefault(),ee.stopPropagation()),h.value===!1&&(h.value=!0,await Ye()),_e.value.handleFocusPicker)){_e.value.handleFocusPicker();return}if(ze===Xe.tab){m=!0;return}if(ze===Xe.enter||ze===Xe.numpadEnter){(Ee.value===null||Ee.value===""||Ge($e(J.value)))&&(xe(),h.value=!1),ee.stopPropagation();return}if(Ee.value){ee.stopPropagation();return}_e.value.handleKeydownInput&&_e.value.handleKeydownInput(ee)},We=ee=>{Ee.value=ee,h.value||(h.value=!0)},ot=ee=>{const ze=ee.target;Ee.value?Ee.value=[ze.value,Ee.value[1]]:Ee.value=[ze.value,null]},dt=ee=>{const ze=ee.target;Ee.value?Ee.value=[Ee.value[0],ze.value]:Ee.value=[null,ze.value]},At=()=>{var ee;const ze=Ee.value,st=$e(ze&&ze[0]),Mt=b(X);if(st&&st.isValid()){Ee.value=[Fe(st),((ee=J.value)==null?void 0:ee[1])||null];const Ur=[st,Mt&&(Mt[1]||null)];Ge(Ur)&&(S(Ur),Ee.value=null)}},Je=()=>{var ee;const ze=b(Ee),st=$e(ze&&ze[1]),Mt=b(X);if(st&&st.isValid()){Ee.value=[((ee=b(J))==null?void 0:ee[0])||null,Fe(st)];const Ur=[Mt&&Mt[0],st];Ge(Ur)&&(S(Ur),Ee.value=null)}},_e=U({}),he=ee=>{_e.value[ee[0]]=ee[1],_e.value.panelReady=!0},de=ee=>{r("calendar-change",ee)},Ae=(ee,ze,st)=>{r("panel-change",ee,ze,st)};return It("EP_PICKER_BASE",{props:n}),t({focus:F,handleFocusInput:D,handleBlurInput:K,handleOpen:B,handleClose:P,onPick:k}),(ee,ze)=>(I(),pe(b(ca),Tt({ref_key:"refPopper",ref:f,visible:h.value,effect:"light",pure:"",trigger:"click"},ee.$attrs,{role:"dialog",teleported:"",transition:`${b(o).namespace.value}-zoom-in-top`,"popper-class":[`${b(o).namespace.value}-picker__popper`,ee.popperClass],"popper-options":b(d),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:R,onShow:M,onHide:z}),{default:oe(()=>[b(be)?(I(),$("div",{key:1,ref_key:"inputRef",ref:p,class:V(b(_)),style:qe(ee.$attrs.style),onClick:D,onMouseenter:Z,onMouseleave:ie,onTouchstart:me,onKeydown:Ie},[b(j)?(I(),pe(b(Ke),{key:0,class:V([b(s).e("icon"),b(l).e("icon")]),onMousedown:tt(W,["prevent"]),onTouchstart:me},{default:oe(()=>[(I(),pe(xt(b(j))))]),_:1},8,["class","onMousedown"])):ue("v-if",!0),N("input",{id:ee.id&&ee.id[0],autocomplete:"off",name:ee.name&&ee.name[0],placeholder:ee.startPlaceholder,value:b(J)&&b(J)[0],disabled:b(Y),readonly:!ee.editable||ee.readonly,class:V(b(l).b("input")),onMousedown:W,onInput:ot,onChange:At,onFocus:D,onBlur:K},null,42,Y9e),Se(ee.$slots,"range-separator",{},()=>[N("span",{class:V(b(l).b("separator"))},Oe(ee.rangeSeparator),3)]),N("input",{id:ee.id&&ee.id[1],autocomplete:"off",name:ee.name&&ee.name[1],placeholder:ee.endPlaceholder,value:b(J)&&b(J)[1],disabled:b(Y),readonly:!ee.editable||ee.readonly,class:V(b(l).b("input")),onMousedown:W,onFocus:D,onBlur:K,onInput:dt,onChange:Je},null,42,q9e),ee.clearIcon?(I(),pe(b(Ke),{key:1,class:V(b(w)),onClick:ne},{default:oe(()=>[(I(),pe(xt(ee.clearIcon)))]),_:1},8,["class"])):ue("v-if",!0)],38)):(I(),pe(b(Un),{key:0,id:ee.id,ref_key:"inputRef",ref:p,"container-role":"combobox","model-value":b(J),name:ee.name,size:b(ge),disabled:b(Y),placeholder:ee.placeholder,class:V([b(o).b("editor"),b(o).bm("editor",ee.type),ee.$attrs.class]),style:qe(ee.$attrs.style),readonly:!ee.editable||ee.readonly||b(q)||ee.type==="week",label:ee.label,tabindex:ee.tabindex,"validate-event":!1,onInput:We,onFocus:D,onBlur:K,onKeydown:Ie,onChange:xe,onMousedown:W,onMouseenter:Z,onMouseleave:ie,onTouchstart:me,onClick:ze[0]||(ze[0]=tt(()=>{},["stop"]))},{prefix:oe(()=>[b(j)?(I(),pe(b(Ke),{key:0,class:V(b(s).e("icon")),onMousedown:tt(W,["prevent"]),onTouchstart:me},{default:oe(()=>[(I(),pe(xt(b(j))))]),_:1},8,["class","onMousedown"])):ue("v-if",!0)]),suffix:oe(()=>[ae.value&&ee.clearIcon?(I(),pe(b(Ke),{key:0,class:V(`${b(s).e("icon")} clear-icon`),onClick:tt(ne,["stop"])},{default:oe(()=>[(I(),pe(xt(ee.clearIcon)))]),_:1},8,["class","onClick"])):ue("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","label","tabindex","onKeydown"]))]),content:oe(()=>[Se(ee.$slots,"default",{visible:h.value,actualVisible:v.value,parsedValue:b(X),format:ee.format,dateFormat:ee.dateFormat,timeFormat:ee.timeFormat,unlinkPanels:ee.unlinkPanels,type:ee.type,defaultValue:ee.defaultValue,onPick:k,onSelectRange:x,onSetPickerOption:he,onCalendarChange:de,onPanelChange:Ae,onKeydown:O,onMousedown:ze[1]||(ze[1]=tt(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var PF=De(X9e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const Z9e=Le({...NF,datetimeRole:String,parsedValue:{type:ce(Object)}}),$F=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:r})=>{const n=(o,s,l,u)=>{const c={hour:e,minute:t,second:r};let d=o;return["hour","minute","second"].forEach(f=>{if(c[f]){let p;const h=c[f];switch(f){case"minute":{p=h(d.hour(),s,u);break}case"second":{p=h(d.hour(),d.minute(),s,u);break}default:{p=h(s,u);break}}if(p!=null&&p.length&&!p.includes(d[f]())){const v=l?0:p.length-1;d=d[f](p[v])}}}),d},a={};return{timePickerOptions:a,getAvailableTime:n,onSetOption:([o,s])=>{a[o]=s}}},qb=e=>{const t=(n,a)=>n||a,r=n=>n!==!0;return e.map(t).filter(r)},BF=(e,t,r)=>({getHoursList:(o,s)=>Yb(24,e&&(()=>e==null?void 0:e(o,s))),getMinutesList:(o,s,l)=>Yb(60,t&&(()=>t==null?void 0:t(o,s,l))),getSecondsList:(o,s,l,u)=>Yb(60,r&&(()=>r==null?void 0:r(o,s,l,u)))}),FF=(e,t,r)=>{const{getHoursList:n,getMinutesList:a,getSecondsList:i}=BF(e,t,r);return{getAvailableHours:(u,c)=>qb(n(u,c)),getAvailableMinutes:(u,c,d)=>qb(a(u,c,d)),getAvailableSeconds:(u,c,d,f)=>qb(i(u,c,d,f))}},zF=e=>{const t=U(e.parsedValue);return Te(()=>e.visible,r=>{r||(t.value=e.parsedValue)}),t},ml=new Map;let hR;zt&&(document.addEventListener("mousedown",e=>hR=e),document.addEventListener("mouseup",e=>{for(const t of ml.values())for(const{documentHandler:r}of t)r(e,hR)}));function vR(e,t){let r=[];return Array.isArray(t.arg)?r=t.arg:ki(t.arg)&&r.push(t.arg),function(n,a){const i=t.instance.popperRef,o=n.target,s=a==null?void 0:a.target,l=!t||!t.instance,u=!o||!s,c=e.contains(o)||e.contains(s),d=e===o,f=r.length&&r.some(h=>h==null?void 0:h.contains(o))||r.length&&r.includes(s),p=i&&(i.contains(o)||i.contains(s));l||u||c||d||f||p||t.value(n,a)}}const ru={beforeMount(e,t){ml.has(e)||ml.set(e,[]),ml.get(e).push({documentHandler:vR(e,t),bindingFn:t.value})},updated(e,t){ml.has(e)||ml.set(e,[]);const r=ml.get(e),n=r.findIndex(i=>i.bindingFn===t.oldValue),a={documentHandler:vR(e,t),bindingFn:t.value};n>=0?r.splice(n,1,a):r.push(a)},unmounted(e){ml.delete(e)}},Q9e=100,J9e=600,N1={beforeMount(e,t){const r=t.value,{interval:n=Q9e,delay:a=J9e}=it(r)?{}:r;let i,o;const s=()=>it(r)?r():r.handler(),l=()=>{o&&(clearTimeout(o),o=void 0),i&&(clearInterval(i),i=void 0)};e.addEventListener("mousedown",u=>{u.button===0&&(l(),s(),document.addEventListener("mouseup",()=>l(),{once:!0}),o=setTimeout(()=>{i=setInterval(()=>{s()},n)},a))})}},S3="_trap-focus-children",Sc=[],gR=e=>{if(Sc.length===0)return;const t=Sc[Sc.length-1][S3];if(t.length>0&&e.code===Xe.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}const r=e.shiftKey,n=e.target===t[0],a=e.target===t[t.length-1];n&&r&&(e.preventDefault(),t[t.length-1].focus()),a&&!r&&(e.preventDefault(),t[0].focus())}},e$e={beforeMount(e){e[S3]=U8(e),Sc.push(e),Sc.length<=1&&document.addEventListener("keydown",gR)},updated(e){Ye(()=>{e[S3]=U8(e)})},unmounted(){Sc.shift(),Sc.length===0&&document.removeEventListener("keydown",gR)}};var mR=!1,pc,E3,C3,Iy,Ry,VF,My,T3,x3,A3,HF,k3,I3,UF,GF;function ha(){if(!mR){mR=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),r=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(k3=/\b(iPhone|iP[ao]d)/.exec(e),I3=/\b(iP[ao]d)/.exec(e),A3=/Android/i.exec(e),UF=/FBAN\/\w+;/i.exec(e),GF=/Mobile/i.exec(e),HF=!!/Win64/.exec(e),t){pc=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,pc&&document&&document.documentMode&&(pc=document.documentMode);var n=/(?:Trident\/(\d+.\d+))/.exec(e);VF=n?parseFloat(n[1])+4:pc,E3=t[2]?parseFloat(t[2]):NaN,C3=t[3]?parseFloat(t[3]):NaN,Iy=t[4]?parseFloat(t[4]):NaN,Iy?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),Ry=t&&t[1]?parseFloat(t[1]):NaN):Ry=NaN}else pc=E3=C3=Ry=Iy=NaN;if(r){if(r[1]){var a=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);My=a?parseFloat(a[1].replace("_",".")):!0}else My=!1;T3=!!r[2],x3=!!r[3]}else My=T3=x3=!1}}var R3={ie:function(){return ha()||pc},ieCompatibilityMode:function(){return ha()||VF>pc},ie64:function(){return R3.ie()&&HF},firefox:function(){return ha()||E3},opera:function(){return ha()||C3},webkit:function(){return ha()||Iy},safari:function(){return R3.webkit()},chrome:function(){return ha()||Ry},windows:function(){return ha()||T3},osx:function(){return ha()||My},linux:function(){return ha()||x3},iphone:function(){return ha()||k3},mobile:function(){return ha()||k3||I3||A3||GF},nativeApp:function(){return ha()||UF},android:function(){return ha()||A3},ipad:function(){return ha()||I3}},t$e=R3,l0=!!(typeof window<"u"&&window.document&&window.document.createElement),r$e={canUseDOM:l0,canUseWorkers:typeof Worker<"u",canUseEventListeners:l0&&!!(window.addEventListener||window.attachEvent),canUseViewport:l0&&!!window.screen,isInWorker:!l0},WF=r$e,KF;WF.canUseDOM&&(KF=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function n$e(e,t){if(!WF.canUseDOM||t&&!("addEventListener"in document))return!1;var r="on"+e,n=r in document;if(!n){var a=document.createElement("div");a.setAttribute(r,"return;"),n=typeof a[r]=="function"}return!n&&KF&&e==="wheel"&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var a$e=n$e,yR=10,_R=40,bR=800;function YF(e){var t=0,r=0,n=0,a=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=r,r=0),n=t*yR,a=r*yR,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||a)&&e.deltaMode&&(e.deltaMode==1?(n*=_R,a*=_R):(n*=bR,a*=bR)),n&&!t&&(t=n<1?-1:1),a&&!r&&(r=a<1?-1:1),{spinX:t,spinY:r,pixelX:n,pixelY:a}}YF.getEventType=function(){return t$e.firefox()?"DOMMouseScroll":a$e("wheel")?"wheel":"mousewheel"};var i$e=YF;/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/const o$e=function(e,t){if(e&&e.addEventListener){const r=function(n){const a=i$e(n);t&&Reflect.apply(t,this,[n,a])};e.addEventListener("wheel",r,{passive:!0})}},s$e={beforeMount(e,t){o$e(e,t.value)}},l$e=Le({role:{type:String,required:!0},spinnerDate:{type:ce(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:ce(String),default:""},...OF}),u$e=["onClick"],c$e=["onMouseenter"],d$e=te({__name:"basic-time-spinner",props:l$e,emits:["change","select-range","set-option"],setup(e,{emit:t}){const r=e,n=ke("time"),{getHoursList:a,getMinutesList:i,getSecondsList:o}=BF(r.disabledHours,r.disabledMinutes,r.disabledSeconds);let s=!1;const l=U(),u=U(),c=U(),d=U(),f={hours:u,minutes:c,seconds:d},p=L(()=>r.showSeconds?uR:uR.slice(0,2)),h=L(()=>{const{spinnerDate:D}=r,H=D.hour(),K=D.minute(),Y=D.second();return{hours:H,minutes:K,seconds:Y}}),v=L(()=>{const{hours:D,minutes:H}=b(h);return{hours:a(r.role),minutes:i(D,r.role),seconds:o(D,H,r.role)}}),g=L(()=>{const{hours:D,minutes:H,seconds:K}=b(h);return{hours:Kb(D,23),minutes:Kb(H,59),seconds:Kb(K,59)}}),m=ua(D=>{s=!1,w(D)},200),y=D=>{if(!!!r.amPmMode)return"";const K=r.amPmMode==="A";let Y=D<12?" am":" pm";return K&&(Y=Y.toUpperCase()),Y},_=D=>{let H;switch(D){case"hours":H=[0,2];break;case"minutes":H=[3,5];break;case"seconds":H=[6,8];break}const[K,Y]=H;t("select-range",K,Y),l.value=D},w=D=>{C(D,b(h)[D])},E=()=>{w("hours"),w("minutes"),w("seconds")},S=D=>D.querySelector(`.${n.namespace.value}-scrollbar__wrap`),C=(D,H)=>{if(r.arrowControl)return;const K=b(f[D]);K&&K.$el&&(S(K.$el).scrollTop=Math.max(0,H*T(D)))},T=D=>{const H=b(f[D]),K=H==null?void 0:H.$el.querySelector("li");return K&&Number.parseFloat(Al(K,"height"))||0},x=()=>{k(1)},A=()=>{k(-1)},k=D=>{l.value||_("hours");const H=l.value,K=b(h)[H],Y=l.value==="hours"?24:60,X=R(H,K,D,Y);M(H,X),C(H,X),Ye(()=>_(H))},R=(D,H,K,Y)=>{let X=(H+K+Y)%Y;const J=b(v)[D];for(;J[X]&&X!==H;)X=(X+K+Y)%Y;return X},M=(D,H)=>{if(b(v)[D][H])return;const{hours:X,minutes:J,seconds:fe}=b(h);let se;switch(D){case"hours":se=r.spinnerDate.hour(H).minute(J).second(fe);break;case"minutes":se=r.spinnerDate.hour(X).minute(H).second(fe);break;case"seconds":se=r.spinnerDate.hour(X).minute(J).second(H);break}t("change",se)},O=(D,{value:H,disabled:K})=>{K||(M(D,H),_(D),C(D,H))},z=D=>{s=!0,m(D);const H=Math.min(Math.round((S(b(f[D]).$el).scrollTop-(B(D)*.5-10)/T(D)+3)/T(D)),D==="hours"?23:59);M(D,H)},B=D=>b(f[D]).$el.offsetHeight,P=()=>{const D=H=>{const K=b(f[H]);K&&K.$el&&(S(K.$el).onscroll=()=>{z(H)})};D("hours"),D("minutes"),D("seconds")};gt(()=>{Ye(()=>{!r.arrowControl&&P(),E(),r.role==="start"&&_("hours")})});const F=(D,H)=>{f[H].value=D};return t("set-option",[`${r.role}_scrollDown`,k]),t("set-option",[`${r.role}_emitSelectRange`,_]),Te(()=>r.spinnerDate,()=>{s||E()}),(D,H)=>(I(),$("div",{class:V([b(n).b("spinner"),{"has-seconds":D.showSeconds}])},[D.arrowControl?ue("v-if",!0):(I(!0),$(je,{key:0},Ot(b(p),K=>(I(),pe(b(Qs),{key:K,ref_for:!0,ref:Y=>F(Y,K),class:V(b(n).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":b(n).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Y=>_(K),onMousemove:Y=>w(K)},{default:oe(()=>[(I(!0),$(je,null,Ot(b(v)[K],(Y,X)=>(I(),$("li",{key:X,class:V([b(n).be("spinner","item"),b(n).is("active",X===b(h)[K]),b(n).is("disabled",Y)]),onClick:J=>O(K,{value:X,disabled:Y})},[K==="hours"?(I(),$(je,{key:0},[Kt(Oe(("0"+(D.amPmMode?X%12||12:X)).slice(-2))+Oe(y(X)),1)],64)):(I(),$(je,{key:1},[Kt(Oe(("0"+X).slice(-2)),1)],64))],10,u$e))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),D.arrowControl?(I(!0),$(je,{key:1},Ot(b(p),K=>(I(),$("div",{key:K,class:V([b(n).be("spinner","wrapper"),b(n).is("arrow")]),onMouseenter:Y=>_(K)},[ct((I(),pe(b(Ke),{class:V(["arrow-up",b(n).be("spinner","arrow")])},{default:oe(()=>[Q(b(fm))]),_:1},8,["class"])),[[b(N1),A]]),ct((I(),pe(b(Ke),{class:V(["arrow-down",b(n).be("spinner","arrow")])},{default:oe(()=>[Q(b(js))]),_:1},8,["class"])),[[b(N1),x]]),N("ul",{class:V(b(n).be("spinner","list"))},[(I(!0),$(je,null,Ot(b(g)[K],(Y,X)=>(I(),$("li",{key:X,class:V([b(n).be("spinner","item"),b(n).is("active",Y===b(h)[K]),b(n).is("disabled",b(v)[K][Y])])},[typeof Y=="number"?(I(),$(je,{key:0},[K==="hours"?(I(),$(je,{key:0},[Kt(Oe(("0"+(D.amPmMode?Y%12||12:Y)).slice(-2))+Oe(y(Y)),1)],64)):(I(),$(je,{key:1},[Kt(Oe(("0"+Y).slice(-2)),1)],64))],64)):ue("v-if",!0)],2))),128))],2)],42,c$e))),128)):ue("v-if",!0)],2))}});var M3=De(d$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const f$e=te({__name:"panel-time-pick",props:Z9e,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const r=e,n=Ue("EP_PICKER_BASE"),{arrowControl:a,disabledHours:i,disabledMinutes:o,disabledSeconds:s,defaultValue:l}=n.props,{getAvailableHours:u,getAvailableMinutes:c,getAvailableSeconds:d}=FF(i,o,s),f=ke("time"),{t:p,lang:h}=Ht(),v=U([0,2]),g=zF(r),m=L(()=>Jr(r.actualVisible)?`${f.namespace.value}-zoom-in-top`:""),y=L(()=>r.format.includes("ss")),_=L(()=>r.format.includes("A")?"A":r.format.includes("a")?"a":""),w=F=>{const D=yt(F).locale(h.value),H=O(D);return D.isSame(H)},E=()=>{t("pick",g.value,!1)},S=(F=!1,D=!1)=>{D||t("pick",r.parsedValue,F)},C=F=>{if(!r.visible)return;const D=O(F).millisecond(0);t("pick",D,!0)},T=(F,D)=>{t("select-range",F,D),v.value=[F,D]},x=F=>{const D=[0,3].concat(y.value?[6]:[]),H=["hours","minutes"].concat(y.value?["seconds"]:[]),Y=(D.indexOf(v.value[0])+F+D.length)%D.length;k.start_emitSelectRange(H[Y])},A=F=>{const D=F.code,{left:H,right:K,up:Y,down:X}=Xe;if([H,K].includes(D)){x(D===H?-1:1),F.preventDefault();return}if([Y,X].includes(D)){const J=D===Y?-1:1;k.start_scrollDown(J),F.preventDefault();return}},{timePickerOptions:k,onSetOption:R,getAvailableTime:M}=$F({getAvailableHours:u,getAvailableMinutes:c,getAvailableSeconds:d}),O=F=>M(F,r.datetimeRole||"",!0),z=F=>F?yt(F,r.format).locale(h.value):null,B=F=>F?F.format(r.format):null,P=()=>yt(l).locale(h.value);return t("set-picker-option",["isValidValue",w]),t("set-picker-option",["formatToString",B]),t("set-picker-option",["parseUserInput",z]),t("set-picker-option",["handleKeydownInput",A]),t("set-picker-option",["getRangeAvailableTime",O]),t("set-picker-option",["getDefaultValue",P]),(F,D)=>(I(),pe(Hr,{name:b(m)},{default:oe(()=>[F.actualVisible||F.visible?(I(),$("div",{key:0,class:V(b(f).b("panel"))},[N("div",{class:V([b(f).be("panel","content"),{"has-seconds":b(y)}])},[Q(M3,{ref:"spinner",role:F.datetimeRole||"start","arrow-control":b(a),"show-seconds":b(y),"am-pm-mode":b(_),"spinner-date":F.parsedValue,"disabled-hours":b(i),"disabled-minutes":b(o),"disabled-seconds":b(s),onChange:C,onSetOption:b(R),onSelectRange:T},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),N("div",{class:V(b(f).be("panel","footer"))},[N("button",{type:"button",class:V([b(f).be("panel","btn"),"cancel"]),onClick:E},Oe(b(p)("el.datepicker.cancel")),3),N("button",{type:"button",class:V([b(f).be("panel","btn"),"confirm"]),onClick:D[0]||(D[0]=H=>S())},Oe(b(p)("el.datepicker.confirm")),3)],2)],2)):ue("v-if",!0)]),_:1},8,["name"]))}});var P1=De(f$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]);const p$e=Le({...NF,parsedValue:{type:ce(Array)}}),h$e=["disabled"],v$e=te({__name:"panel-time-range",props:p$e,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const r=e,n=(le,W)=>{const Z=[];for(let ie=le;ie<=W;ie++)Z.push(ie);return Z},{t:a,lang:i}=Ht(),o=ke("time"),s=ke("picker"),l=Ue("EP_PICKER_BASE"),{arrowControl:u,disabledHours:c,disabledMinutes:d,disabledSeconds:f,defaultValue:p}=l.props,h=L(()=>[o.be("range-picker","body"),o.be("panel","content"),o.is("arrow",u),w.value?"has-seconds":""]),v=L(()=>[o.be("range-picker","body"),o.be("panel","content"),o.is("arrow",u),w.value?"has-seconds":""]),g=L(()=>r.parsedValue[0]),m=L(()=>r.parsedValue[1]),y=zF(r),_=()=>{t("pick",y.value,!1)},w=L(()=>r.format.includes("ss")),E=L(()=>r.format.includes("A")?"A":r.format.includes("a")?"a":""),S=(le=!1)=>{t("pick",[g.value,m.value],le)},C=le=>{A(le.millisecond(0),m.value)},T=le=>{A(g.value,le.millisecond(0))},x=le=>{const W=le.map(ie=>yt(ie).locale(i.value)),Z=K(W);return W[0].isSame(Z[0])&&W[1].isSame(Z[1])},A=(le,W)=>{t("pick",[le,W],!0)},k=L(()=>g.value>m.value),R=U([0,2]),M=(le,W)=>{t("select-range",le,W,"min"),R.value=[le,W]},O=L(()=>w.value?11:8),z=(le,W)=>{t("select-range",le,W,"max");const Z=b(O);R.value=[le+Z,W+Z]},B=le=>{const W=w.value?[0,3,6,11,14,17]:[0,3,8,11],Z=["hours","minutes"].concat(w.value?["seconds"]:[]),me=(W.indexOf(R.value[0])+le+W.length)%W.length,be=W.length/2;me<be?fe.start_emitSelectRange(Z[me]):fe.end_emitSelectRange(Z[me-be])},P=le=>{const W=le.code,{left:Z,right:ie,up:me,down:be}=Xe;if([Z,ie].includes(W)){B(W===Z?-1:1),le.preventDefault();return}if([me,be].includes(W)){const ge=W===me?-1:1,Re=R.value[0]<O.value?"start":"end";fe[`${Re}_scrollDown`](ge),le.preventDefault();return}},F=(le,W)=>{const Z=c?c(le):[],ie=le==="start",be=(W||(ie?m.value:g.value)).hour(),ge=ie?n(be+1,23):n(0,be-1);return Bb(Z,ge)},D=(le,W,Z)=>{const ie=d?d(le,W):[],me=W==="start",be=Z||(me?m.value:g.value),ge=be.hour();if(le!==ge)return ie;const Re=be.minute(),Ce=me?n(Re+1,59):n(0,Re-1);return Bb(ie,Ce)},H=(le,W,Z,ie)=>{const me=f?f(le,W,Z):[],be=Z==="start",ge=ie||(be?m.value:g.value),Re=ge.hour(),Ce=ge.minute();if(le!==Re||W!==Ce)return me;const Ee=ge.second(),xe=be?n(Ee+1,59):n(0,Ee-1);return Bb(me,xe)},K=([le,W])=>[se(le,"start",!0,W),se(W,"end",!1,le)],{getAvailableHours:Y,getAvailableMinutes:X,getAvailableSeconds:J}=FF(F,D,H),{timePickerOptions:fe,getAvailableTime:se,onSetOption:q}=$F({getAvailableHours:Y,getAvailableMinutes:X,getAvailableSeconds:J}),j=le=>le?He(le)?le.map(W=>yt(W,r.format).locale(i.value)):yt(le,r.format).locale(i.value):null,ae=le=>le?He(le)?le.map(W=>W.format(r.format)):le.format(r.format):null,ne=()=>{if(He(p))return p.map(W=>yt(W).locale(i.value));const le=yt(p).locale(i.value);return[le,le.add(60,"m")]};return t("set-picker-option",["formatToString",ae]),t("set-picker-option",["parseUserInput",j]),t("set-picker-option",["isValidValue",x]),t("set-picker-option",["handleKeydownInput",P]),t("set-picker-option",["getDefaultValue",ne]),t("set-picker-option",["getRangeAvailableTime",K]),(le,W)=>le.actualVisible?(I(),$("div",{key:0,class:V([b(o).b("range-picker"),b(s).b("panel")])},[N("div",{class:V(b(o).be("range-picker","content"))},[N("div",{class:V(b(o).be("range-picker","cell"))},[N("div",{class:V(b(o).be("range-picker","header"))},Oe(b(a)("el.datepicker.startTime")),3),N("div",{class:V(b(h))},[Q(M3,{ref:"minSpinner",role:"start","show-seconds":b(w),"am-pm-mode":b(E),"arrow-control":b(u),"spinner-date":b(g),"disabled-hours":F,"disabled-minutes":D,"disabled-seconds":H,onChange:C,onSetOption:b(q),onSelectRange:M},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),N("div",{class:V(b(o).be("range-picker","cell"))},[N("div",{class:V(b(o).be("range-picker","header"))},Oe(b(a)("el.datepicker.endTime")),3),N("div",{class:V(b(v))},[Q(M3,{ref:"maxSpinner",role:"end","show-seconds":b(w),"am-pm-mode":b(E),"arrow-control":b(u),"spinner-date":b(m),"disabled-hours":F,"disabled-minutes":D,"disabled-seconds":H,onChange:T,onSetOption:b(q),onSelectRange:z},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),N("div",{class:V(b(o).be("panel","footer"))},[N("button",{type:"button",class:V([b(o).be("panel","btn"),"cancel"]),onClick:W[0]||(W[0]=Z=>_())},Oe(b(a)("el.datepicker.cancel")),3),N("button",{type:"button",class:V([b(o).be("panel","btn"),"confirm"]),disabled:b(k),onClick:W[1]||(W[1]=Z=>S())},Oe(b(a)("el.datepicker.confirm")),11,h$e)],2)],2)):ue("v-if",!0)}});var g$e=De(v$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-range.vue"]]);yt.extend(DT);var m$e=te({name:"ElTimePicker",install:null,props:{...OT,isRange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,t){const r=U(),[n,a]=e.isRange?["timerange",g$e]:["time",P1],i=o=>t.emit("update:modelValue",o);return It("ElPopperOptions",e.popperOptions),t.expose({focus:o=>{var s;(s=r.value)==null||s.handleFocusInput(o)},blur:o=>{var s;(s=r.value)==null||s.handleBlurInput(o)},handleOpen:()=>{var o;(o=r.value)==null||o.handleOpen()},handleClose:()=>{var o;(o=r.value)==null||o.handleClose()}}),()=>{var o;const s=(o=e.format)!=null?o:w3;return Q(PF,Tt(e,{ref:r,type:n,format:s,"onUpdate:modelValue":i}),{default:l=>Q(a,l,null)})}}});const Ly=m$e;Ly.install=e=>{e.component(Ly.name,Ly)};const y$e=Ly,_$e=(e,t)=>{const r=e.subtract(1,"month").endOf("month").date();return Gl(t).map((n,a)=>r-(t-a-1))},b$e=e=>{const t=e.daysInMonth();return Gl(t).map((r,n)=>n+1)},w$e=e=>Gl(e.length/7).map(t=>{const r=t*7;return e.slice(r,r+7)}),S$e=Le({selectedDay:{type:ce(Object)},range:{type:ce(Array)},date:{type:ce(Object),required:!0},hideHeader:{type:Boolean}}),E$e={pick:e=>St(e)};var qF={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(so,function(){return function(r,n,a){var i=n.prototype,o=function(d){return d&&(d.indexOf?d:d.s)},s=function(d,f,p,h,v){var g=d.name?d:d.$locale(),m=o(g[f]),y=o(g[p]),_=m||y.map(function(E){return E.slice(0,h)});if(!v)return _;var w=g.weekStart;return _.map(function(E,S){return _[(S+(w||0))%7]})},l=function(){return a.Ls[a.locale()]},u=function(d,f){return d.formats[f]||function(p){return p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(h,v,g){return v||g.slice(1)})}(d.formats[f.toUpperCase()])},c=function(){var d=this;return{months:function(f){return f?f.format("MMMM"):s(d,"months")},monthsShort:function(f){return f?f.format("MMM"):s(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(f){return f?f.format("dddd"):s(d,"weekdays")},weekdaysMin:function(f){return f?f.format("dd"):s(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(f){return f?f.format("ddd"):s(d,"weekdaysShort","weekdays",3)},longDateFormat:function(f){return u(d.$locale(),f)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return c.bind(this)()},a.localeData=function(){var d=l();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(f){return u(d,f)},meridiem:d.meridiem,ordinal:d.ordinal}},a.months=function(){return s(l(),"months")},a.monthsShort=function(){return s(l(),"monthsShort","months",3)},a.weekdays=function(d){return s(l(),"weekdays",null,null,d)},a.weekdaysShort=function(d){return s(l(),"weekdaysShort","weekdays",3,d)},a.weekdaysMin=function(d){return s(l(),"weekdaysMin","weekdays",2,d)}}})})(qF);var C$e=qF.exports;const jF=vo(C$e),T$e=(e,t)=>{yt.extend(jF);const r=yt.localeData().firstDayOfWeek(),{t:n,lang:a}=Ht(),i=yt().locale(a.value),o=L(()=>!!e.range&&!!e.range.length),s=L(()=>{let f=[];if(o.value){const[p,h]=e.range,v=Gl(h.date()-p.date()+1).map(y=>({text:p.date()+y,type:"current"}));let g=v.length%7;g=g===0?0:7-g;const m=Gl(g).map((y,_)=>({text:_+1,type:"next"}));f=v.concat(m)}else{const p=e.date.startOf("month").day(),h=_$e(e.date,(p-r+7)%7).map(y=>({text:y,type:"prev"})),v=b$e(e.date).map(y=>({text:y,type:"current"}));f=[...h,...v];const g=7-(f.length%7||7),m=Gl(g).map((y,_)=>({text:_+1,type:"next"}));f=f.concat(m)}return w$e(f)}),l=L(()=>{const f=r;return f===0?Fb.map(p=>n(`el.datepicker.weeks.${p}`)):Fb.slice(f).concat(Fb.slice(0,f)).map(p=>n(`el.datepicker.weeks.${p}`))}),u=(f,p)=>{switch(p){case"prev":return e.date.startOf("month").subtract(1,"month").date(f);case"next":return e.date.startOf("month").add(1,"month").date(f);case"current":return e.date.date(f)}};return{now:i,isInRange:o,rows:s,weekDays:l,getFormattedDate:u,handlePickDay:({text:f,type:p})=>{const h=u(f,p);t("pick",h)},getSlotData:({text:f,type:p})=>{const h=u(f,p);return{isSelected:h.isSame(e.selectedDay),type:`${p}-month`,day:h.format("YYYY-MM-DD"),date:h.toDate()}}}},x$e={key:0},A$e=["onClick"],k$e=te({name:"DateTable"}),I$e=te({...k$e,props:S$e,emits:E$e,setup(e,{expose:t,emit:r}){const n=e,{isInRange:a,now:i,rows:o,weekDays:s,getFormattedDate:l,handlePickDay:u,getSlotData:c}=T$e(n,r),d=ke("calendar-table"),f=ke("calendar-day"),p=({text:h,type:v})=>{const g=[v];if(v==="current"){const m=l(h,v);m.isSame(n.selectedDay,"day")&&g.push(f.is("selected")),m.isSame(i,"day")&&g.push(f.is("today"))}return g};return t({getFormattedDate:l}),(h,v)=>(I(),$("table",{class:V([b(d).b(),b(d).is("range",b(a))]),cellspacing:"0",cellpadding:"0"},[h.hideHeader?ue("v-if",!0):(I(),$("thead",x$e,[(I(!0),$(je,null,Ot(b(s),g=>(I(),$("th",{key:g},Oe(g),1))),128))])),N("tbody",null,[(I(!0),$(je,null,Ot(b(o),(g,m)=>(I(),$("tr",{key:m,class:V({[b(d).e("row")]:!0,[b(d).em("row","hide-border")]:m===0&&h.hideHeader})},[(I(!0),$(je,null,Ot(g,(y,_)=>(I(),$("td",{key:_,class:V(p(y)),onClick:w=>b(u)(y)},[N("div",{class:V(b(f).b())},[Se(h.$slots,"date-cell",{data:b(c)(y)},()=>[N("span",null,Oe(y.text),1)])],2)],10,A$e))),128))],2))),128))])],2))}});var wR=De(I$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/date-table.vue"]]);const R$e=(e,t)=>{const r=e.endOf("month"),n=t.startOf("month"),i=r.isSame(n,"week")?n.add(1,"week"):n;return[[e,r],[i.startOf("week"),t]]},M$e=(e,t)=>{const r=e.endOf("month"),n=e.add(1,"month").startOf("month"),a=r.isSame(n,"week")?n.add(1,"week"):n,i=a.endOf("month"),o=t.startOf("month"),s=i.isSame(o,"week")?o.add(1,"week"):o;return[[e,r],[a.startOf("week"),i],[s.startOf("week"),t]]},L$e=(e,t,r)=>{const n=Cn(),{lang:a}=Ht(),i=U(),o=yt().locale(a.value),s=L({get(){return e.modelValue?u.value:i.value},set(m){if(!m)return;i.value=m;const y=m.toDate();t(ia,y),t(Et,y)}}),l=L(()=>{if(!e.range)return[];const m=e.range.map(w=>yt(w).locale(a.value)),[y,_]=m;return y.isAfter(_)?[]:y.isSame(_,"month")?h(y,_):y.add(1,"month").month()!==_.month()?[]:h(y,_)}),u=L(()=>e.modelValue?yt(e.modelValue).locale(a.value):s.value||(l.value.length?l.value[0][0]:o)),c=L(()=>u.value.subtract(1,"month").date(1)),d=L(()=>u.value.add(1,"month").date(1)),f=L(()=>u.value.subtract(1,"year").date(1)),p=L(()=>u.value.add(1,"year").date(1)),h=(m,y)=>{const _=m.startOf("week"),w=y.endOf("week"),E=_.get("month"),S=w.get("month");return E===S?[[_,w]]:(E+1)%12===S?R$e(_,w):E+2===S||(E+1)%11===S?M$e(_,w):[]},v=m=>{s.value=m},g=m=>{const _={"prev-month":c.value,"next-month":d.value,"prev-year":f.value,"next-year":p.value,today:o}[m];_.isSame(u.value,"day")||v(_)};return Wo({from:'"dateCell"',replacement:'"date-cell"',scope:"ElCalendar",version:"2.3.0",ref:"https://element-plus.org/en-US/component/calendar.html#slots",type:"Slot"},L(()=>!!n.dateCell)),{calculateValidatedDateRange:h,date:u,realSelectedDay:s,pickDay:v,selectDate:g,validatedRange:l}},D$e=e=>He(e)&&e.length===2&&e.every(t=>rd(t)),O$e=Le({modelValue:{type:Date},range:{type:ce(Array),validator:D$e}}),N$e={[Et]:e=>rd(e),[ia]:e=>rd(e)},P$e="ElCalendar",$$e=te({name:P$e}),B$e=te({...$$e,props:O$e,emits:N$e,setup(e,{expose:t,emit:r}){const n=e,a=ke("calendar"),{calculateValidatedDateRange:i,date:o,pickDay:s,realSelectedDay:l,selectDate:u,validatedRange:c}=L$e(n,r),{t:d}=Ht(),f=L(()=>{const p=`el.datepicker.month${o.value.format("M")}`;return`${o.value.year()} ${d("el.datepicker.year")} ${d(p)}`});return t({selectedDay:l,pickDay:s,selectDate:u,calculateValidatedDateRange:i}),(p,h)=>(I(),$("div",{class:V(b(a).b())},[N("div",{class:V(b(a).e("header"))},[Se(p.$slots,"header",{date:b(f)},()=>[N("div",{class:V(b(a).e("title"))},Oe(b(f)),3),b(c).length===0?(I(),$("div",{key:0,class:V(b(a).e("button-group"))},[Q(b(IF),null,{default:oe(()=>[Q(b(Mn),{size:"small",onClick:h[0]||(h[0]=v=>b(u)("prev-month"))},{default:oe(()=>[Kt(Oe(b(d)("el.datepicker.prevMonth")),1)]),_:1}),Q(b(Mn),{size:"small",onClick:h[1]||(h[1]=v=>b(u)("today"))},{default:oe(()=>[Kt(Oe(b(d)("el.datepicker.today")),1)]),_:1}),Q(b(Mn),{size:"small",onClick:h[2]||(h[2]=v=>b(u)("next-month"))},{default:oe(()=>[Kt(Oe(b(d)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):ue("v-if",!0)])],2),b(c).length===0?(I(),$("div",{key:0,class:V(b(a).e("body"))},[Q(wR,{date:b(o),"selected-day":b(l),onPick:b(s)},Ms({_:2},[p.$slots["date-cell"]||p.$slots.dateCell?{name:"date-cell",fn:oe(v=>[p.$slots["date-cell"]?Se(p.$slots,"date-cell",Zi(Tt({key:0},v))):Se(p.$slots,"dateCell",Zi(Tt({key:1},v)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(I(),$("div",{key:1,class:V(b(a).e("body"))},[(I(!0),$(je,null,Ot(b(c),(v,g)=>(I(),pe(wR,{key:g,date:v[0],"selected-day":b(l),range:v,"hide-header":g!==0,onPick:b(s)},Ms({_:2},[p.$slots["date-cell"]||p.$slots.dateCell?{name:"date-cell",fn:oe(m=>[p.$slots["date-cell"]?Se(p.$slots,"date-cell",Zi(Tt({key:0},m))):Se(p.$slots,"dateCell",Zi(Tt({key:1},m)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var F$e=De(B$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/calendar.vue"]]);const z$e=bt(F$e),V$e=Le({header:{type:String,default:""},bodyStyle:{type:ce([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),H$e=te({name:"ElCard"}),U$e=te({...H$e,props:V$e,setup(e){const t=ke("card");return(r,n)=>(I(),$("div",{class:V([b(t).b(),b(t).is(`${r.shadow}-shadow`)])},[r.$slots.header||r.header?(I(),$("div",{key:0,class:V(b(t).e("header"))},[Se(r.$slots,"header",{},()=>[Kt(Oe(r.header),1)])],2)):ue("v-if",!0),N("div",{class:V([b(t).e("body"),r.bodyClass]),style:qe(r.bodyStyle)},[Se(r.$slots,"default")],6)],2))}});var G$e=De(U$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const W$e=bt(G$e),K$e=Le({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0}}),Y$e={change:(e,t)=>[e,t].every(at)},XF=Symbol("carouselContextKey"),SR=300,q$e=(e,t,r)=>{const{children:n,addChild:a,removeChild:i}=AT(mt(),"ElCarouselItem"),o=Cn(),s=U(-1),l=U(null),u=U(!1),c=U(),d=U(0),f=U(!0),p=L(()=>e.arrow!=="never"&&!b(g)),h=L(()=>n.value.some(X=>X.props.label.toString().length>0)),v=L(()=>e.type==="card"),g=L(()=>e.direction==="vertical"),m=L(()=>e.height!=="auto"?{height:e.height}:{height:`${d.value}px`,overflow:"hidden"}),y=Bc(X=>{T(X)},SR,{trailing:!0}),_=Bc(X=>{B(X)},SR),w=X=>f.value?s.value<=1?X<=1:X>1:!0;function E(){l.value&&(clearInterval(l.value),l.value=null)}function S(){e.interval<=0||!e.autoplay||l.value||(l.value=setInterval(()=>C(),e.interval))}const C=()=>{s.value<n.value.length-1?s.value=s.value+1:e.loop&&(s.value=0)};function T(X){if(ut(X)){const se=n.value.filter(q=>q.props.name===X);se.length>0&&(X=n.value.indexOf(se[0]))}if(X=Number(X),Number.isNaN(X)||X!==Math.floor(X))return;const J=n.value.length,fe=s.value;X<0?s.value=e.loop?J-1:0:X>=J?s.value=e.loop?0:J-1:s.value=X,fe===s.value&&x(fe),D()}function x(X){n.value.forEach((J,fe)=>{J.translateItem(fe,s.value,X)})}function A(X,J){var fe,se,q,j;const ae=b(n),ne=ae.length;if(ne===0||!X.states.inStage)return!1;const le=J+1,W=J-1,Z=ne-1,ie=ae[Z].states.active,me=ae[0].states.active,be=(se=(fe=ae[le])==null?void 0:fe.states)==null?void 0:se.active,ge=(j=(q=ae[W])==null?void 0:q.states)==null?void 0:j.active;return J===Z&&me||be?"left":J===0&&ie||ge?"right":!1}function k(){u.value=!0,e.pauseOnHover&&E()}function R(){u.value=!1,S()}function M(X){b(g)||n.value.forEach((J,fe)=>{X===A(J,fe)&&(J.states.hover=!0)})}function O(){b(g)||n.value.forEach(X=>{X.states.hover=!1})}function z(X){s.value=X}function B(X){e.trigger==="hover"&&X!==s.value&&(s.value=X)}function P(){T(s.value-1)}function F(){T(s.value+1)}function D(){E(),e.pauseOnHover||S()}function H(X){e.height==="auto"&&(d.value=X)}function K(){var X;const J=(X=o.default)==null?void 0:X.call(o);if(!J)return null;const fe=Fc(J),se="ElCarouselItem",q=fe.filter(j=>Sr(j)&&j.type.name===se);return(q==null?void 0:q.length)===2&&e.loop&&!v.value?(f.value=!0,q):(f.value=!1,null)}Te(()=>s.value,(X,J)=>{x(J),f.value&&(X=X%2,J=J%2),J>-1&&t("change",X,J)}),Te(()=>e.autoplay,X=>{X?S():E()}),Te(()=>e.loop,()=>{T(s.value)}),Te(()=>e.interval,()=>{D()});const Y=or();return gt(()=>{Te(()=>n.value,()=>{n.value.length>0&&T(e.initialIndex)},{immediate:!0}),Y.value=Yn(c.value,()=>{x()}),S()}),vr(()=>{E(),c.value&&Y.value&&Y.value.stop()}),It(XF,{root:c,isCardType:v,isVertical:g,items:n,loop:e.loop,addItem:a,removeItem:i,setActiveItem:T,setContainerHeight:H}),{root:c,activeIndex:s,arrowDisplay:p,hasLabel:h,hover:u,isCardType:v,items:n,isVertical:g,containerStyle:m,isItemsTwoLength:f,handleButtonEnter:M,handleButtonLeave:O,handleIndicatorClick:z,handleMouseEnter:k,handleMouseLeave:R,setActiveItem:T,prev:P,next:F,PlaceholderItem:K,isTwoLengthShow:w,throttledArrowClick:y,throttledIndicatorHover:_}},j$e=["onMouseenter","onClick"],X$e={key:0},Z$e="ElCarousel",Q$e=te({name:Z$e}),J$e=te({...Q$e,props:K$e,emits:Y$e,setup(e,{expose:t,emit:r}){const n=e,{root:a,activeIndex:i,arrowDisplay:o,hasLabel:s,hover:l,isCardType:u,items:c,isVertical:d,containerStyle:f,handleButtonEnter:p,handleButtonLeave:h,handleIndicatorClick:v,handleMouseEnter:g,handleMouseLeave:m,setActiveItem:y,prev:_,next:w,PlaceholderItem:E,isTwoLengthShow:S,throttledArrowClick:C,throttledIndicatorHover:T}=q$e(n,r),x=ke("carousel"),A=L(()=>{const R=[x.b(),x.m(n.direction)];return b(u)&&R.push(x.m("card")),R}),k=L(()=>{const R=[x.e("indicators"),x.em("indicators",n.direction)];return b(s)&&R.push(x.em("indicators","labels")),n.indicatorPosition==="outside"&&R.push(x.em("indicators","outside")),b(d)&&R.push(x.em("indicators","right")),R});return t({setActiveItem:y,prev:_,next:w}),(R,M)=>(I(),$("div",{ref_key:"root",ref:a,class:V(b(A)),onMouseenter:M[6]||(M[6]=tt((...O)=>b(g)&&b(g)(...O),["stop"])),onMouseleave:M[7]||(M[7]=tt((...O)=>b(m)&&b(m)(...O),["stop"]))},[N("div",{class:V(b(x).e("container")),style:qe(b(f))},[b(o)?(I(),pe(Hr,{key:0,name:"carousel-arrow-left",persisted:""},{default:oe(()=>[ct(N("button",{type:"button",class:V([b(x).e("arrow"),b(x).em("arrow","left")]),onMouseenter:M[0]||(M[0]=O=>b(p)("left")),onMouseleave:M[1]||(M[1]=(...O)=>b(h)&&b(h)(...O)),onClick:M[2]||(M[2]=tt(O=>b(C)(b(i)-1),["stop"]))},[Q(b(Ke),null,{default:oe(()=>[Q(b(Ds))]),_:1})],34),[[Gt,(R.arrow==="always"||b(l))&&(n.loop||b(i)>0)]])]),_:1})):ue("v-if",!0),b(o)?(I(),pe(Hr,{key:1,name:"carousel-arrow-right",persisted:""},{default:oe(()=>[ct(N("button",{type:"button",class:V([b(x).e("arrow"),b(x).em("arrow","right")]),onMouseenter:M[3]||(M[3]=O=>b(p)("right")),onMouseleave:M[4]||(M[4]=(...O)=>b(h)&&b(h)(...O)),onClick:M[5]||(M[5]=tt(O=>b(C)(b(i)+1),["stop"]))},[Q(b(Ke),null,{default:oe(()=>[Q(b(Gn))]),_:1})],34),[[Gt,(R.arrow==="always"||b(l))&&(n.loop||b(i)<b(c).length-1)]])]),_:1})):ue("v-if",!0),Q(b(E)),Se(R.$slots,"default")],6),R.indicatorPosition!=="none"?(I(),$("ul",{key:0,class:V(b(k))},[(I(!0),$(je,null,Ot(b(c),(O,z)=>ct((I(),$("li",{key:z,class:V([b(x).e("indicator"),b(x).em("indicator",R.direction),b(x).is("active",z===b(i))]),onMouseenter:B=>b(T)(z),onClick:tt(B=>b(v)(z),["stop"])},[N("button",{class:V(b(x).e("button"))},[b(s)?(I(),$("span",X$e,Oe(O.props.label),1)):ue("v-if",!0)],2)],42,j$e)),[[Gt,b(S)(z)]])),128))],2)):ue("v-if",!0)],34))}});var eBe=De(J$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel.vue"]]);const tBe=Le({name:{type:String,default:""},label:{type:[String,Number],default:""}}),rBe=(e,t)=>{const r=Ue(XF),n=mt(),a=.83,i=U(),o=U(!1),s=U(0),l=U(1),u=U(!1),c=U(!1),d=U(!1),f=U(!1),{isCardType:p,isVertical:h}=r;function v(w,E,S){const C=S-1,T=E-1,x=E+1,A=S/2;return E===0&&w===C?-1:E===C&&w===0?S:w<T&&E-w>=A?S+1:w>x&&w-E>=A?-2:w}function g(w,E){var S,C;const T=b(h)?((S=r.root.value)==null?void 0:S.offsetHeight)||0:((C=r.root.value)==null?void 0:C.offsetWidth)||0;return d.value?T*((2-a)*(w-E)+1)/4:w<E?-(1+a)*T/4:(3+a)*T/4}function m(w,E,S){const C=r.root.value;return C?((S?C.offsetHeight:C.offsetWidth)||0)*(w-E):0}const y=(w,E,S)=>{var C;const T=b(p),x=(C=r.items.value.length)!=null?C:Number.NaN,A=w===E;!T&&!Jr(S)&&(f.value=A||w===S),!A&&x>2&&r.loop&&(w=v(w,E,x));const k=b(h);u.value=A,T?(d.value=Math.round(Math.abs(w-E))<=1,s.value=g(w,E),l.value=b(u)?1:a):s.value=m(w,E,k),c.value=!0,A&&i.value&&r.setContainerHeight(i.value.offsetHeight)};function _(){if(r&&b(p)){const w=r.items.value.findIndex(({uid:E})=>E===n.uid);r.setActiveItem(w)}}return gt(()=>{r.addItem({props:e,states:qt({hover:o,translate:s,scale:l,active:u,ready:c,inStage:d,animating:f}),uid:n.uid,translateItem:y})}),gu(()=>{r.removeItem(n.uid)}),{carouselItemRef:i,active:u,animating:f,hover:o,inStage:d,isVertical:h,translate:s,isCardType:p,scale:l,ready:c,handleItemClick:_}},nBe=te({name:"ElCarouselItem"}),aBe=te({...nBe,props:tBe,setup(e){const t=e,r=ke("carousel"),{carouselItemRef:n,active:a,animating:i,hover:o,inStage:s,isVertical:l,translate:u,isCardType:c,scale:d,ready:f,handleItemClick:p}=rBe(t),h=L(()=>{const g=`${`translate${b(l)?"Y":"X"}`}(${b(u)}px)`,m=`scale(${b(d)})`;return{transform:[g,m].join(" ")}});return(v,g)=>ct((I(),$("div",{ref_key:"carouselItemRef",ref:n,class:V([b(r).e("item"),b(r).is("active",b(a)),b(r).is("in-stage",b(s)),b(r).is("hover",b(o)),b(r).is("animating",b(i)),{[b(r).em("item","card")]:b(c),[b(r).em("item","card-vertical")]:b(c)&&b(l)}]),style:qe(b(h)),onClick:g[0]||(g[0]=(...m)=>b(p)&&b(p)(...m))},[b(c)?ct((I(),$("div",{key:0,class:V(b(r).e("mask"))},null,2)),[[Gt,!b(a)]]):ue("v-if",!0),Se(v.$slots,"default")],6)),[[Gt,b(f)]])}});var ZF=De(aBe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel-item.vue"]]);const iBe=bt(eBe,{CarouselItem:ZF}),oBe=Mr(ZF),QF={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:On,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},JF={[Et]:e=>ut(e)||at(e)||tn(e),change:e=>ut(e)||at(e)||tn(e)},$p=Symbol("checkboxGroupContextKey"),sBe=({model:e,isChecked:t})=>{const r=Ue($p,void 0),n=L(()=>{var i,o;const s=(i=r==null?void 0:r.max)==null?void 0:i.value,l=(o=r==null?void 0:r.min)==null?void 0:o.value;return!Jr(s)&&e.value.length>=s&&!t.value||!Jr(l)&&e.value.length<=l&&t.value});return{isDisabled:$a(L(()=>(r==null?void 0:r.disabled.value)||n.value)),isLimitDisabled:n}},lBe=(e,{model:t,isLimitExceeded:r,hasOwnLabel:n,isDisabled:a,isLabeledByFormItem:i})=>{const o=Ue($p,void 0),{formItem:s}=pa(),{emit:l}=mt();function u(h){var v,g;return h===e.trueLabel||h===!0?(v=e.trueLabel)!=null?v:!0:(g=e.falseLabel)!=null?g:!1}function c(h,v){l("change",u(h),v)}function d(h){if(r.value)return;const v=h.target;l("change",u(v.checked),h)}async function f(h){r.value||!n.value&&!a.value&&i.value&&(h.composedPath().some(m=>m.tagName==="LABEL")||(t.value=u([!1,e.falseLabel].includes(t.value)),await Ye(),c(t.value,h)))}const p=L(()=>(o==null?void 0:o.validateEvent)||e.validateEvent);return Te(()=>e.modelValue,()=>{p.value&&(s==null||s.validate("change").catch(h=>void 0))}),{handleChange:d,onClickRoot:f}},uBe=e=>{const t=U(!1),{emit:r}=mt(),n=Ue($p,void 0),a=L(()=>Jr(n)===!1),i=U(!1);return{model:L({get(){var s,l;return a.value?(s=n==null?void 0:n.modelValue)==null?void 0:s.value:(l=e.modelValue)!=null?l:t.value},set(s){var l,u;a.value&&He(s)?(i.value=((l=n==null?void 0:n.max)==null?void 0:l.value)!==void 0&&s.length>(n==null?void 0:n.max.value),i.value===!1&&((u=n==null?void 0:n.changeEvent)==null||u.call(n,s))):(r(Et,s),t.value=s)}}),isGroup:a,isLimitExceeded:i}},cBe=(e,t,{model:r})=>{const n=Ue($p,void 0),a=U(!1),i=L(()=>{const u=r.value;return tn(u)?u:He(u)?St(e.label)?u.map(jt).some(c=>Ca(c,e.label)):u.map(jt).includes(e.label):u!=null?u===e.trueLabel:!!u}),o=nn(L(()=>{var u;return(u=n==null?void 0:n.size)==null?void 0:u.value}),{prop:!0}),s=nn(L(()=>{var u;return(u=n==null?void 0:n.size)==null?void 0:u.value})),l=L(()=>!!t.default||!Yr(e.label));return{checkboxButtonSize:o,isChecked:i,isFocused:a,checkboxSize:s,hasOwnLabel:l}},dBe=(e,{model:t})=>{function r(){He(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&r()},ez=(e,t)=>{const{formItem:r}=pa(),{model:n,isGroup:a,isLimitExceeded:i}=uBe(e),{isFocused:o,isChecked:s,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:c}=cBe(e,t,{model:n}),{isDisabled:d}=sBe({model:n,isChecked:s}),{inputId:f,isLabeledByFormItem:p}=_u(e,{formItemContext:r,disableIdGeneration:c,disableIdManagement:a}),{handleChange:h,onClickRoot:v}=lBe(e,{model:n,isLimitExceeded:i,hasOwnLabel:c,isDisabled:d,isLabeledByFormItem:p});return dBe(e,{model:n}),{inputId:f,isLabeledByFormItem:p,isChecked:s,isDisabled:d,isFocused:o,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:c,model:n,handleChange:h,onClickRoot:v}},fBe=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],pBe=["id","indeterminate","disabled","value","name","tabindex"],hBe=te({name:"ElCheckbox"}),vBe=te({...hBe,props:QF,emits:JF,setup(e){const t=e,r=Cn(),{inputId:n,isLabeledByFormItem:a,isChecked:i,isDisabled:o,isFocused:s,checkboxSize:l,hasOwnLabel:u,model:c,handleChange:d,onClickRoot:f}=ez(t,r),p=ke("checkbox"),h=L(()=>[p.b(),p.m(l.value),p.is("disabled",o.value),p.is("bordered",t.border),p.is("checked",i.value)]),v=L(()=>[p.e("input"),p.is("disabled",o.value),p.is("checked",i.value),p.is("indeterminate",t.indeterminate),p.is("focus",s.value)]);return(g,m)=>(I(),pe(xt(!b(u)&&b(a)?"span":"label"),{class:V(b(h)),"aria-controls":g.indeterminate?g.controls:null,onClick:b(f)},{default:oe(()=>[N("span",{class:V(b(v))},[g.trueLabel||g.falseLabel?ct((I(),$("input",{key:0,id:b(n),"onUpdate:modelValue":m[0]||(m[0]=y=>cr(c)?c.value=y:null),class:V(b(p).e("original")),type:"checkbox",indeterminate:g.indeterminate,name:g.name,tabindex:g.tabindex,disabled:b(o),"true-value":g.trueLabel,"false-value":g.falseLabel,onChange:m[1]||(m[1]=(...y)=>b(d)&&b(d)(...y)),onFocus:m[2]||(m[2]=y=>s.value=!0),onBlur:m[3]||(m[3]=y=>s.value=!1),onClick:m[4]||(m[4]=tt(()=>{},["stop"]))},null,42,fBe)),[[A1,b(c)]]):ct((I(),$("input",{key:1,id:b(n),"onUpdate:modelValue":m[5]||(m[5]=y=>cr(c)?c.value=y:null),class:V(b(p).e("original")),type:"checkbox",indeterminate:g.indeterminate,disabled:b(o),value:g.label,name:g.name,tabindex:g.tabindex,onChange:m[6]||(m[6]=(...y)=>b(d)&&b(d)(...y)),onFocus:m[7]||(m[7]=y=>s.value=!0),onBlur:m[8]||(m[8]=y=>s.value=!1),onClick:m[9]||(m[9]=tt(()=>{},["stop"]))},null,42,pBe)),[[A1,b(c)]]),N("span",{class:V(b(p).e("inner"))},null,2)],2),b(u)?(I(),$("span",{key:0,class:V(b(p).e("label"))},[Se(g.$slots,"default"),g.$slots.default?ue("v-if",!0):(I(),$(je,{key:0},[Kt(Oe(g.label),1)],64))],2)):ue("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var gBe=De(vBe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const mBe=["name","tabindex","disabled","true-value","false-value"],yBe=["name","tabindex","disabled","value"],_Be=te({name:"ElCheckboxButton"}),bBe=te({..._Be,props:QF,emits:JF,setup(e){const t=e,r=Cn(),{isFocused:n,isChecked:a,isDisabled:i,checkboxButtonSize:o,model:s,handleChange:l}=ez(t,r),u=Ue($p,void 0),c=ke("checkbox"),d=L(()=>{var p,h,v,g;const m=(h=(p=u==null?void 0:u.fill)==null?void 0:p.value)!=null?h:"";return{backgroundColor:m,borderColor:m,color:(g=(v=u==null?void 0:u.textColor)==null?void 0:v.value)!=null?g:"",boxShadow:m?`-1px 0 0 0 ${m}`:void 0}}),f=L(()=>[c.b("button"),c.bm("button",o.value),c.is("disabled",i.value),c.is("checked",a.value),c.is("focus",n.value)]);return(p,h)=>(I(),$("label",{class:V(b(f))},[p.trueLabel||p.falseLabel?ct((I(),$("input",{key:0,"onUpdate:modelValue":h[0]||(h[0]=v=>cr(s)?s.value=v:null),class:V(b(c).be("button","original")),type:"checkbox",name:p.name,tabindex:p.tabindex,disabled:b(i),"true-value":p.trueLabel,"false-value":p.falseLabel,onChange:h[1]||(h[1]=(...v)=>b(l)&&b(l)(...v)),onFocus:h[2]||(h[2]=v=>n.value=!0),onBlur:h[3]||(h[3]=v=>n.value=!1),onClick:h[4]||(h[4]=tt(()=>{},["stop"]))},null,42,mBe)),[[A1,b(s)]]):ct((I(),$("input",{key:1,"onUpdate:modelValue":h[5]||(h[5]=v=>cr(s)?s.value=v:null),class:V(b(c).be("button","original")),type:"checkbox",name:p.name,tabindex:p.tabindex,disabled:b(i),value:p.label,onChange:h[6]||(h[6]=(...v)=>b(l)&&b(l)(...v)),onFocus:h[7]||(h[7]=v=>n.value=!0),onBlur:h[8]||(h[8]=v=>n.value=!1),onClick:h[9]||(h[9]=tt(()=>{},["stop"]))},null,42,yBe)),[[A1,b(s)]]),p.$slots.default||p.label?(I(),$("span",{key:2,class:V(b(c).be("button","inner")),style:qe(b(a)?b(d):void 0)},[Se(p.$slots,"default",{},()=>[Kt(Oe(p.label),1)])],6)):ue("v-if",!0)],2))}});var tz=De(bBe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const wBe=Le({modelValue:{type:ce(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:On,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),SBe={[Et]:e=>He(e),change:e=>He(e)},EBe=te({name:"ElCheckboxGroup"}),CBe=te({...EBe,props:wBe,emits:SBe,setup(e,{emit:t}){const r=e,n=ke("checkbox"),{formItem:a}=pa(),{inputId:i,isLabeledByFormItem:o}=_u(r,{formItemContext:a}),s=async u=>{t(Et,u),await Ye(),t("change",u)},l=L({get(){return r.modelValue},set(u){s(u)}});return It($p,{...bs(pn(r),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:l,changeEvent:s}),Te(()=>r.modelValue,()=>{r.validateEvent&&(a==null||a.validate("change").catch(u=>void 0))}),(u,c)=>{var d;return I(),pe(xt(u.tag),{id:b(i),class:V(b(n).b("group")),role:"group","aria-label":b(o)?void 0:u.label||"checkbox-group","aria-labelledby":b(o)?(d=b(a))==null?void 0:d.labelId:void 0},{default:oe(()=>[Se(u.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var rz=De(CBe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const Di=bt(gBe,{CheckboxButton:tz,CheckboxGroup:rz}),TBe=Mr(tz),nz=Mr(rz),az=Le({size:On,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}}),xBe=Le({...az,modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean}),iz={[Et]:e=>ut(e)||at(e)||tn(e),[hr]:e=>ut(e)||at(e)||tn(e)},oz=Symbol("radioGroupKey"),sz=(e,t)=>{const r=U(),n=Ue(oz,void 0),a=L(()=>!!n),i=L({get(){return a.value?n.modelValue:e.modelValue},set(c){a.value?n.changeEvent(c):t&&t(Et,c),r.value.checked=e.modelValue===e.label}}),o=nn(L(()=>n==null?void 0:n.size)),s=$a(L(()=>n==null?void 0:n.disabled)),l=U(!1),u=L(()=>s.value||a.value&&i.value!==e.label?-1:0);return{radioRef:r,isGroup:a,radioGroup:n,focus:l,size:o,disabled:s,tabIndex:u,modelValue:i}},ABe=["value","name","disabled"],kBe=te({name:"ElRadio"}),IBe=te({...kBe,props:xBe,emits:iz,setup(e,{emit:t}){const r=e,n=ke("radio"),{radioRef:a,radioGroup:i,focus:o,size:s,disabled:l,modelValue:u}=sz(r,t);function c(){Ye(()=>t("change",u.value))}return(d,f)=>{var p;return I(),$("label",{class:V([b(n).b(),b(n).is("disabled",b(l)),b(n).is("focus",b(o)),b(n).is("bordered",d.border),b(n).is("checked",b(u)===d.label),b(n).m(b(s))])},[N("span",{class:V([b(n).e("input"),b(n).is("disabled",b(l)),b(n).is("checked",b(u)===d.label)])},[ct(N("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":f[0]||(f[0]=h=>cr(u)?u.value=h:null),class:V(b(n).e("original")),value:d.label,name:d.name||((p=b(i))==null?void 0:p.name),disabled:b(l),type:"radio",onFocus:f[1]||(f[1]=h=>o.value=!0),onBlur:f[2]||(f[2]=h=>o.value=!1),onChange:c,onClick:f[3]||(f[3]=tt(()=>{},["stop"]))},null,42,ABe),[[tB,b(u)]]),N("span",{class:V(b(n).e("inner"))},null,2)],2),N("span",{class:V(b(n).e("label")),onKeydown:f[4]||(f[4]=tt(()=>{},["stop"]))},[Se(d.$slots,"default",{},()=>[Kt(Oe(d.label),1)])],34)],2)}}});var RBe=De(IBe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const MBe=Le({...az,name:{type:String,default:""}}),LBe=["value","name","disabled"],DBe=te({name:"ElRadioButton"}),OBe=te({...DBe,props:MBe,setup(e){const t=e,r=ke("radio"),{radioRef:n,focus:a,size:i,disabled:o,modelValue:s,radioGroup:l}=sz(t),u=L(()=>({backgroundColor:(l==null?void 0:l.fill)||"",borderColor:(l==null?void 0:l.fill)||"",boxShadow:l!=null&&l.fill?`-1px 0 0 0 ${l.fill}`:"",color:(l==null?void 0:l.textColor)||""}));return(c,d)=>{var f;return I(),$("label",{class:V([b(r).b("button"),b(r).is("active",b(s)===c.label),b(r).is("disabled",b(o)),b(r).is("focus",b(a)),b(r).bm("button",b(i))])},[ct(N("input",{ref_key:"radioRef",ref:n,"onUpdate:modelValue":d[0]||(d[0]=p=>cr(s)?s.value=p:null),class:V(b(r).be("button","original-radio")),value:c.label,type:"radio",name:c.name||((f=b(l))==null?void 0:f.name),disabled:b(o),onFocus:d[1]||(d[1]=p=>a.value=!0),onBlur:d[2]||(d[2]=p=>a.value=!1),onClick:d[3]||(d[3]=tt(()=>{},["stop"]))},null,42,LBe),[[tB,b(s)]]),N("span",{class:V(b(r).be("button","inner")),style:qe(b(s)===c.label?b(u):{}),onKeydown:d[4]||(d[4]=tt(()=>{},["stop"]))},[Se(c.$slots,"default",{},()=>[Kt(Oe(c.label),1)])],38)],2)}}});var lz=De(OBe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const NBe=Le({id:{type:String,default:void 0},size:On,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}}),PBe=iz,$Be=["id","aria-label","aria-labelledby"],BBe=te({name:"ElRadioGroup"}),FBe=te({...BBe,props:NBe,emits:PBe,setup(e,{emit:t}){const r=e,n=ke("radio"),a=Da(),i=U(),{formItem:o}=pa(),{inputId:s,isLabeledByFormItem:l}=_u(r,{formItemContext:o}),u=d=>{t(Et,d),Ye(()=>t("change",d))};gt(()=>{const d=i.value.querySelectorAll("[type=radio]"),f=d[0];!Array.from(d).some(p=>p.checked)&&f&&(f.tabIndex=0)});const c=L(()=>r.name||a.value);return It(oz,qt({...pn(r),changeEvent:u,name:c})),Te(()=>r.modelValue,()=>{r.validateEvent&&(o==null||o.validate("change").catch(d=>void 0))}),(d,f)=>(I(),$("div",{id:b(s),ref_key:"radioGroupRef",ref:i,class:V(b(n).b("group")),role:"radiogroup","aria-label":b(l)?void 0:d.label||"radio-group","aria-labelledby":b(l)?b(o).labelId:void 0},[Se(d.$slots,"default")],10,$Be))}});var uz=De(FBe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const cz=bt(RBe,{RadioButton:lz,RadioGroup:uz}),zBe=Mr(uz),VBe=Mr(lz);var HBe=te({name:"NodeContent",setup(){return{ns:ke("cascader-node")}},render(){const{ns:e}=this,{node:t,panel:r}=this.$parent,{data:n,label:a}=t,{renderLabelFn:i}=r;return Qe("span",{class:e.e("label")},i?i({node:t,data:n}):a)}});const NT=Symbol(),UBe=te({name:"ElCascaderNode",components:{ElCheckbox:Di,ElRadio:cz,NodeContent:HBe,ElIcon:Ke,Check:Np,Loading:Zs,ArrowRight:Gn},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const r=Ue(NT),n=ke("cascader-node"),a=L(()=>r.isHoverMenu),i=L(()=>r.config.multiple),o=L(()=>r.config.checkStrictly),s=L(()=>{var S;return(S=r.checkedNodes[0])==null?void 0:S.uid}),l=L(()=>e.node.isDisabled),u=L(()=>e.node.isLeaf),c=L(()=>o.value&&!u.value||!l.value),d=L(()=>p(r.expandingNode)),f=L(()=>o.value&&r.checkedNodes.some(p)),p=S=>{var C;const{level:T,uid:x}=e.node;return((C=S==null?void 0:S.pathNodes[T-1])==null?void 0:C.uid)===x},h=()=>{d.value||r.expandNode(e.node)},v=S=>{const{node:C}=e;S!==C.checked&&r.handleCheckChange(C,S)},g=()=>{r.lazyLoad(e.node,()=>{u.value||h()})},m=S=>{a.value&&(y(),!u.value&&t("expand",S))},y=()=>{const{node:S}=e;!c.value||S.loading||(S.loaded?h():g())},_=()=>{a.value&&!u.value||(u.value&&!l.value&&!o.value&&!i.value?E(!0):y())},w=S=>{o.value?(v(S),e.node.loaded&&h()):E(S)},E=S=>{e.node.loaded?(v(S),!o.value&&h()):g()};return{panel:r,isHoverMenu:a,multiple:i,checkStrictly:o,checkedNodeId:s,isDisabled:l,isLeaf:u,expandable:c,inExpandingPath:d,inCheckedPath:f,ns:n,handleHoverExpand:m,handleExpand:y,handleClick:_,handleCheck:E,handleSelectCheck:w}}}),GBe=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],WBe=N("span",null,null,-1);function KBe(e,t,r,n,a,i){const o=pt("el-checkbox"),s=pt("el-radio"),l=pt("check"),u=pt("el-icon"),c=pt("node-content"),d=pt("loading"),f=pt("arrow-right");return I(),$("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?null:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:V([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:t[2]||(t[2]=(...p)=>e.handleHoverExpand&&e.handleHoverExpand(...p)),onFocus:t[3]||(t[3]=(...p)=>e.handleHoverExpand&&e.handleHoverExpand(...p)),onClick:t[4]||(t[4]=(...p)=>e.handleClick&&e.handleClick(...p))},[ue(" prefix "),e.multiple?(I(),pe(o,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:t[0]||(t[0]=tt(()=>{},["stop"])),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):e.checkStrictly?(I(),pe(s,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:t[1]||(t[1]=tt(()=>{},["stop"]))},{default:oe(()=>[ue(`
        Add an empty element to avoid render label,
        do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
      `),WBe]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):e.isLeaf&&e.node.checked?(I(),pe(u,{key:2,class:V(e.ns.e("prefix"))},{default:oe(()=>[Q(l)]),_:1},8,["class"])):ue("v-if",!0),ue(" content "),Q(c),ue(" postfix "),e.isLeaf?ue("v-if",!0):(I(),$(je,{key:3},[e.node.loading?(I(),pe(u,{key:0,class:V([e.ns.is("loading"),e.ns.e("postfix")])},{default:oe(()=>[Q(d)]),_:1},8,["class"])):(I(),pe(u,{key:1,class:V(["arrow-right",e.ns.e("postfix")])},{default:oe(()=>[Q(f)]),_:1},8,["class"]))],64))],42,GBe)}var YBe=De(UBe,[["render",KBe],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]);const qBe=te({name:"ElCascaderMenu",components:{Loading:Zs,ElIcon:Ke,ElScrollbar:Qs,ElCascaderNode:YBe},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=mt(),r=ke("cascader-menu"),{t:n}=Ht(),a=C_();let i=null,o=null;const s=Ue(NT),l=U(null),u=L(()=>!e.nodes.length),c=L(()=>!s.initialLoaded),d=L(()=>`cascader-menu-${a}-${e.index}`),f=g=>{i=g.target},p=g=>{if(!(!s.isHoverMenu||!i||!l.value))if(i.contains(g.target)){h();const m=t.vnode.el,{left:y}=m.getBoundingClientRect(),{offsetWidth:_,offsetHeight:w}=m,E=g.clientX-y,S=i.offsetTop,C=S+i.offsetHeight;l.value.innerHTML=`
          <path style="pointer-events: auto;" fill="transparent" d="M${E} ${S} L${_} 0 V${S} Z" />
          <path style="pointer-events: auto;" fill="transparent" d="M${E} ${C} L${_} ${w} V${C} Z" />
        `}else o||(o=window.setTimeout(v,s.config.hoverThreshold))},h=()=>{o&&(clearTimeout(o),o=null)},v=()=>{l.value&&(l.value.innerHTML="",h())};return{ns:r,panel:s,hoverZone:l,isEmpty:u,isLoading:c,menuId:d,t:n,handleExpand:f,handleMouseMove:p,clearHoverZone:v}}});function jBe(e,t,r,n,a,i){const o=pt("el-cascader-node"),s=pt("loading"),l=pt("el-icon"),u=pt("el-scrollbar");return I(),pe(u,{key:e.menuId,tag:"ul",role:"menu",class:V(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:oe(()=>{var c;return[(I(!0),$(je,null,Ot(e.nodes,d=>(I(),pe(o,{key:d.uid,node:d,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),e.isLoading?(I(),$("div",{key:0,class:V(e.ns.e("empty-text"))},[Q(l,{size:"14",class:V(e.ns.is("loading"))},{default:oe(()=>[Q(s)]),_:1},8,["class"]),Kt(" "+Oe(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(I(),$("div",{key:1,class:V(e.ns.e("empty-text"))},Oe(e.t("el.cascader.noData")),3)):(c=e.panel)!=null&&c.isHoverMenu?(I(),$("svg",{key:2,ref:"hoverZone",class:V(e.ns.e("hover-zone"))},null,2)):ue("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var XBe=De(qBe,[["render",jBe],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]);let ZBe=0;const QBe=e=>{const t=[e];let{parent:r}=e;for(;r;)t.unshift(r),r=r.parent;return t};let L3=class D3{constructor(t,r,n,a=!1){this.data=t,this.config=r,this.parent=n,this.root=a,this.uid=ZBe++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:i,label:o,children:s}=r,l=t[s],u=QBe(this);this.level=a?0:n?n.level+1:1,this.value=t[i],this.label=t[o],this.pathNodes=u,this.pathValues=u.map(c=>c.value),this.pathLabels=u.map(c=>c.label),this.childrenData=l,this.children=(l||[]).map(c=>new D3(c,r,this)),this.loaded=!r.lazy||this.isLeaf||!gi(l)}get isDisabled(){const{data:t,parent:r,config:n}=this,{disabled:a,checkStrictly:i}=n;return(it(a)?a(t,this):!!t[a])||!i&&(r==null?void 0:r.isDisabled)}get isLeaf(){const{data:t,config:r,childrenData:n,loaded:a}=this,{lazy:i,leaf:o}=r,s=it(o)?o(t,this):t[o];return Jr(s)?i&&!a?!1:!(Array.isArray(n)&&n.length):!!s}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:r,children:n}=this,a=new D3(t,this.config,this);return Array.isArray(r)?r.push(t):this.childrenData=[t],n.push(a),a}calcText(t,r){const n=t?this.pathLabels.join(r):this.label;return this.text=n,n}broadcast(t,...r){const n=`onParent${Io(t)}`;this.children.forEach(a=>{a&&(a.broadcast(t,...r),a[n]&&a[n](...r))})}emit(t,...r){const{parent:n}=this,a=`onChild${Io(t)}`;n&&(n[a]&&n[a](...r),n.emit(t,...r))}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,r=t.filter(a=>!a.isDisabled),n=r.length?r.every(a=>a.checked):!1;this.setCheckState(n)}setCheckState(t){const r=this.children.length,n=this.children.reduce((a,i)=>{const o=i.checked?1:i.indeterminate?.5:0;return a+o},0);this.checked=this.loaded&&this.children.filter(a=>!a.isDisabled).every(a=>a.loaded&&a.checked)&&t,this.indeterminate=this.loaded&&n!==r&&n>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:r,multiple:n}=this.config;r||!n?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check"))}};const O3=(e,t)=>e.reduce((r,n)=>(n.isLeaf?r.push(n):(!t&&r.push(n),r=r.concat(O3(n.children,t))),r),[]);class ER{constructor(t,r){this.config=r;const n=(t||[]).map(a=>new L3(a,this.config));this.nodes=n,this.allNodes=O3(n,!1),this.leafNodes=O3(n,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,r){const n=r?r.appendChild(t):new L3(t,this.config);r||this.nodes.push(n),this.allNodes.push(n),n.isLeaf&&this.leafNodes.push(n)}appendNodes(t,r){t.forEach(n=>this.appendNode(n,r))}getNodeByValue(t,r=!1){return!t&&t!==0?null:this.getFlattedNodes(r).find(a=>Ca(a.value,t)||Ca(a.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:n,level:a})=>Ca(t.value,n)&&t.level===a)||null}}const dz=Le({modelValue:{type:ce([Number,String,Array])},options:{type:ce(Array),default:()=>[]},props:{type:ce(Object),default:()=>({})}}),JBe={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:nr,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},e7e=e=>L(()=>({...JBe,...e.props})),CR=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},t7e=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():q9(e)&&e.click()},r7e=(e,t)=>{const r=t.slice(0),n=r.map(i=>i.uid),a=e.reduce((i,o)=>{const s=n.indexOf(o.uid);return s>-1&&(i.push(o),r.splice(s,1),n.splice(s,1)),i},[]);return a.push(...r),a},n7e=te({name:"ElCascaderPanel",components:{ElCascaderMenu:XBe},props:{...dz,border:{type:Boolean,default:!0},renderLabel:Function},emits:[Et,hr,"close","expand-change"],setup(e,{emit:t,slots:r}){let n=!1;const a=ke("cascader"),i=e7e(e);let o=null;const s=U(!0),l=U([]),u=U(null),c=U([]),d=U(null),f=U([]),p=L(()=>i.value.expandTrigger==="hover"),h=L(()=>e.renderLabel||r.default),v=()=>{const{options:R}=e,M=i.value;n=!1,o=new ER(R,M),c.value=[o.getNodes()],M.lazy&&gi(e.options)?(s.value=!1,g(void 0,O=>{O&&(o=new ER(O,M),c.value=[o.getNodes()]),s.value=!0,T(!1,!0)})):T(!1,!0)},g=(R,M)=>{const O=i.value;R=R||new L3({},O,void 0,!0),R.loading=!0;const z=B=>{const P=R,F=P.root?null:P;B&&(o==null||o.appendNodes(B,F)),P.loading=!1,P.loaded=!0,P.childrenData=P.childrenData||[],M&&M(B)};O.lazyLoad(R,z)},m=(R,M)=>{var O;const{level:z}=R,B=c.value.slice(0,z);let P;R.isLeaf?P=R.pathNodes[z-2]:(P=R,B.push(R.children)),((O=d.value)==null?void 0:O.uid)!==(P==null?void 0:P.uid)&&(d.value=R,c.value=B,!M&&t("expand-change",(R==null?void 0:R.pathValues)||[]))},y=(R,M,O=!0)=>{const{checkStrictly:z,multiple:B}=i.value,P=f.value[0];n=!0,!B&&(P==null||P.doCheck(!1)),R.doCheck(M),C(),O&&!B&&!z&&t("close"),!O&&!B&&!z&&_(R)},_=R=>{R&&(R=R.parent,_(R),R&&m(R))},w=R=>o==null?void 0:o.getFlattedNodes(R),E=R=>{var M;return(M=w(R))==null?void 0:M.filter(O=>O.checked!==!1)},S=()=>{f.value.forEach(R=>R.doCheck(!1)),C(),c.value=c.value.slice(0,1),d.value=null,t("expand-change",[])},C=()=>{var R;const{checkStrictly:M,multiple:O}=i.value,z=f.value,B=E(!M),P=r7e(z,B),F=P.map(D=>D.valueByOption);f.value=P,u.value=O?F:(R=F[0])!=null?R:null},T=(R=!1,M=!1)=>{const{modelValue:O}=e,{lazy:z,multiple:B,checkStrictly:P}=i.value,F=!P;if(!(!s.value||n||!M&&Ca(O,u.value)))if(z&&!R){const H=CI(Pie(Ts(O))).map(K=>o==null?void 0:o.getNodeByValue(K)).filter(K=>!!K&&!K.loaded&&!K.loading);H.length?H.forEach(K=>{g(K,()=>T(!1,M))}):T(!0,M)}else{const D=B?Ts(O):[O],H=CI(D.map(K=>o==null?void 0:o.getNodeByValue(K,F)));x(H,M),u.value=R1(O)}},x=(R,M=!0)=>{const{checkStrictly:O}=i.value,z=f.value,B=R.filter(D=>!!D&&(O||D.isLeaf)),P=o==null?void 0:o.getSameNode(d.value),F=M&&P||B[0];F?F.pathNodes.forEach(D=>m(D,!0)):d.value=null,z.forEach(D=>D.doCheck(!1)),e.props.multiple?qt(B).forEach(D=>D.doCheck(!0)):B.forEach(D=>D.doCheck(!0)),f.value=B,Ye(A)},A=()=>{zt&&l.value.forEach(R=>{const M=R==null?void 0:R.$el;if(M){const O=M.querySelector(`.${a.namespace.value}-scrollbar__wrap`),z=M.querySelector(`.${a.b("node")}.${a.is("active")}`)||M.querySelector(`.${a.b("node")}.in-active-path`);XB(O,z)}})},k=R=>{const M=R.target,{code:O}=R;switch(O){case Xe.up:case Xe.down:{R.preventDefault();const z=O===Xe.up?-1:1;_y(j9(M,z,`.${a.b("node")}[tabindex="-1"]`));break}case Xe.left:{R.preventDefault();const z=l.value[CR(M)-1],B=z==null?void 0:z.$el.querySelector(`.${a.b("node")}[aria-expanded="true"]`);_y(B);break}case Xe.right:{R.preventDefault();const z=l.value[CR(M)+1],B=z==null?void 0:z.$el.querySelector(`.${a.b("node")}[tabindex="-1"]`);_y(B);break}case Xe.enter:t7e(M);break}};return It(NT,qt({config:i,expandingNode:d,checkedNodes:f,isHoverMenu:p,initialLoaded:s,renderLabelFn:h,lazyLoad:g,expandNode:m,handleCheckChange:y})),Te([i,()=>e.options],v,{deep:!0,immediate:!0}),Te(()=>e.modelValue,()=>{n=!1,T()},{deep:!0}),Te(()=>u.value,R=>{Ca(R,e.modelValue)||(t(Et,R),t(hr,R))}),R$(()=>l.value=[]),gt(()=>!gi(e.modelValue)&&T()),{ns:a,menuList:l,menus:c,checkedNodes:f,handleKeyDown:k,handleCheckChange:y,getFlattedNodes:w,getCheckedNodes:E,clearCheckedNodes:S,calculateCheckedValue:C,scrollToExpandingNode:A}}});function a7e(e,t,r,n,a,i){const o=pt("el-cascader-menu");return I(),$("div",{class:V([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:t[0]||(t[0]=(...s)=>e.handleKeyDown&&e.handleKeyDown(...s))},[(I(!0),$(je,null,Ot(e.menus,(s,l)=>(I(),pe(o,{key:l,ref_for:!0,ref:u=>e.menuList[l]=u,index:l,nodes:[...s]},null,8,["index","nodes"]))),128))],34)}var Dy=De(n7e,[["render",a7e],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);Dy.install=e=>{e.component(Dy.name,Dy)};const fz=Dy,i7e=fz,PT=Le({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:rs,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),o7e={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},s7e=te({name:"ElTag"}),l7e=te({...s7e,props:PT,emits:o7e,setup(e,{emit:t}){const r=e,n=nn(),a=ke("tag"),i=L(()=>{const{type:l,hit:u,effect:c,closable:d,round:f}=r;return[a.b(),a.is("closable",d),a.m(l),a.m(n.value),a.m(c),a.is("hit",u),a.is("round",f)]}),o=l=>{t("close",l)},s=l=>{t("click",l)};return(l,u)=>l.disableTransitions?(I(),$("span",{key:0,class:V(b(i)),style:qe({backgroundColor:l.color}),onClick:s},[N("span",{class:V(b(a).e("content"))},[Se(l.$slots,"default")],2),l.closable?(I(),pe(b(Ke),{key:0,class:V(b(a).e("close")),onClick:tt(o,["stop"])},{default:oe(()=>[Q(b(Ii))]),_:1},8,["class","onClick"])):ue("v-if",!0)],6)):(I(),pe(Hr,{key:1,name:`${b(a).namespace.value}-zoom-in-center`,appear:""},{default:oe(()=>[N("span",{class:V(b(i)),style:qe({backgroundColor:l.color}),onClick:s},[N("span",{class:V(b(a).e("content"))},[Se(l.$slots,"default")],2),l.closable?(I(),pe(b(Ke),{key:0,class:V(b(a).e("close")),onClick:tt(o,["stop"])},{default:oe(()=>[Q(b(Ii))]),_:1},8,["class","onClick"])):ue("v-if",!0)],6)]),_:3},8,["name"]))}});var u7e=De(l7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const ug=bt(u7e),c7e=Le({...dz,size:On,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:ce(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:ce(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:mn.teleported,tagType:{...PT.type,default:"info"},validateEvent:{type:Boolean,default:!0}}),d7e={[Et]:e=>!!e||e===null,[hr]:e=>!!e||e===null,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,visibleChange:e=>tn(e),expandChange:e=>!!e,removeTag:e=>!!e},f7e={key:0},p7e=["placeholder","onKeydown"],h7e=["onClick"],v7e="ElCascader",g7e=te({name:v7e}),m7e=te({...g7e,props:c7e,emits:d7e,setup(e,{expose:t,emit:r}){const n=e,a={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:he})=>{const{modifiersData:de,placement:Ae}=he;["right","left","bottom","top"].includes(Ae)||(de.arrow.x=35)},requires:["arrow"]}]},i=bd();let o=0,s=0;const l=ke("cascader"),u=ke("input"),{t:c}=Ht(),{form:d,formItem:f}=pa(),p=U(null),h=U(null),v=U(null),g=U(null),m=U(null),y=U(!1),_=U(!1),w=U(!1),E=U(!1),S=U(""),C=U(""),T=U([]),x=U([]),A=U([]),k=U(!1),R=L(()=>i.style),M=L(()=>n.disabled||(d==null?void 0:d.disabled)),O=L(()=>n.placeholder||c("el.cascader.placeholder")),z=L(()=>C.value||T.value.length>0||k.value?"":O.value),B=nn(),P=L(()=>["small"].includes(B.value)?"small":"default"),F=L(()=>!!n.props.multiple),D=L(()=>!n.filterable||F.value),H=L(()=>F.value?C.value:S.value),K=L(()=>{var he;return((he=g.value)==null?void 0:he.checkedNodes)||[]}),Y=L(()=>!n.clearable||M.value||w.value||!_.value?!1:!!K.value.length),X=L(()=>{const{showAllLevels:he,separator:de}=n,Ae=K.value;return Ae.length?F.value?"":Ae[0].calcText(he,de):""}),J=L({get(){return R1(n.modelValue)},set(he){r(Et,he),r(hr,he),n.validateEvent&&(f==null||f.validate("change").catch(de=>void 0))}}),fe=L(()=>[l.b(),l.m(B.value),l.is("disabled",M.value),i.class]),se=L(()=>[u.e("icon"),"icon-arrow-down",l.is("reverse",y.value)]),q=L(()=>l.is("focus",y.value||E.value)),j=L(()=>{var he,de;return(de=(he=p.value)==null?void 0:he.popperRef)==null?void 0:de.contentRef}),ae=he=>{var de,Ae,ee;M.value||(he=he??!y.value,he!==y.value&&(y.value=he,(Ae=(de=h.value)==null?void 0:de.input)==null||Ae.setAttribute("aria-expanded",`${he}`),he?(ne(),Ye((ee=g.value)==null?void 0:ee.scrollToExpandingNode)):n.filterable&&Fe(),r("visibleChange",he)))},ne=()=>{Ye(()=>{var he;(he=p.value)==null||he.updatePopper()})},le=()=>{w.value=!1},W=he=>{const{showAllLevels:de,separator:Ae}=n;return{node:he,key:he.uid,text:he.calcText(de,Ae),hitState:!1,closable:!M.value&&!he.isDisabled,isCollapseTag:!1}},Z=he=>{var de;const Ae=he.node;Ae.doCheck(!1),(de=g.value)==null||de.calculateCheckedValue(),r("removeTag",Ae.valueByOption)},ie=()=>{if(!F.value)return;const he=K.value,de=[],Ae=[];if(he.forEach(ee=>Ae.push(W(ee))),x.value=Ae,he.length){he.slice(0,n.maxCollapseTags).forEach(st=>de.push(W(st)));const ee=he.slice(n.maxCollapseTags),ze=ee.length;ze&&(n.collapseTags?de.push({key:-1,text:`+ ${ze}`,closable:!1,isCollapseTag:!0}):ee.forEach(st=>de.push(W(st))))}T.value=de},me=()=>{var he,de;const{filterMethod:Ae,showAllLevels:ee,separator:ze}=n,st=(de=(he=g.value)==null?void 0:he.getFlattedNodes(!n.props.checkStrictly))==null?void 0:de.filter(Mt=>Mt.isDisabled?!1:(Mt.calcText(ee,ze),Ae(Mt,H.value)));F.value&&(T.value.forEach(Mt=>{Mt.hitState=!1}),x.value.forEach(Mt=>{Mt.hitState=!1})),w.value=!0,A.value=st,ne()},be=()=>{var he;let de;w.value&&m.value?de=m.value.$el.querySelector(`.${l.e("suggestion-item")}`):de=(he=g.value)==null?void 0:he.$el.querySelector(`.${l.b("node")}[tabindex="-1"]`),de&&(de.focus(),!w.value&&de.click())},ge=()=>{var he,de;const Ae=(he=h.value)==null?void 0:he.input,ee=v.value,ze=(de=m.value)==null?void 0:de.$el;if(!(!zt||!Ae)){if(ze){const st=ze.querySelector(`.${l.e("suggestion-list")}`);st.style.minWidth=`${Ae.offsetWidth}px`}if(ee){const{offsetHeight:st}=ee,Mt=T.value.length>0?`${Math.max(st+6,o)}px`:`${o}px`;Ae.style.height=Mt,ne()}}},Re=he=>{var de;return(de=g.value)==null?void 0:de.getCheckedNodes(he)},Ce=he=>{ne(),r("expandChange",he)},Ee=he=>{var de;const Ae=(de=he.target)==null?void 0:de.value;if(he.type==="compositionend")k.value=!1,Ye(()=>Je(Ae));else{const ee=Ae[Ae.length-1]||"";k.value=!S_(ee)}},xe=he=>{if(!k.value)switch(he.code){case Xe.enter:ae();break;case Xe.down:ae(!0),Ye(be),he.preventDefault();break;case Xe.esc:y.value===!0&&(he.preventDefault(),he.stopPropagation(),ae(!1));break;case Xe.tab:ae(!1);break}},$e=()=>{var he;(he=g.value)==null||he.clearCheckedNodes(),!y.value&&n.filterable&&Fe(),ae(!1)},Fe=()=>{const{value:he}=X;S.value=he,C.value=he},Ge=he=>{var de,Ae;const{checked:ee}=he;F.value?(de=g.value)==null||de.handleCheckChange(he,!ee,!1):(!ee&&((Ae=g.value)==null||Ae.handleCheckChange(he,!0,!1)),ae(!1))},Ie=he=>{const de=he.target,{code:Ae}=he;switch(Ae){case Xe.up:case Xe.down:{const ee=Ae===Xe.up?-1:1;_y(j9(de,ee,`.${l.e("suggestion-item")}[tabindex="-1"]`));break}case Xe.enter:de.click();break}},We=()=>{const he=T.value,de=he[he.length-1];s=C.value?0:s+1,!(!de||!s||n.collapseTags&&he.length>1)&&(de.hitState?Z(de):de.hitState=!0)},ot=he=>{const de=he.target,Ae=l.e("search-input");de.className===Ae&&(E.value=!0),r("focus",he)},dt=he=>{E.value=!1,r("blur",he)},At=ua(()=>{const{value:he}=H;if(!he)return;const de=n.beforeFilter(he);Vv(de)?de.then(me).catch(()=>{}):de!==!1?me():le()},n.debounce),Je=(he,de)=>{!y.value&&ae(!0),!(de!=null&&de.isComposing)&&(he?At():le())},_e=he=>Number.parseFloat(CJ(u.cssVarName("input-height"),he).value)-2;return Te(w,ne),Te([K,M],ie),Te(T,()=>{Ye(()=>ge())}),Te(B,async()=>{await Ye();const he=h.value.input;o=_e(he)||o,ge()}),Te(X,Fe,{immediate:!0}),gt(()=>{const he=h.value.input,de=_e(he);o=he.offsetHeight||de,Yn(he,ge)}),t({getCheckedNodes:Re,cascaderPanelRef:g,togglePopperVisible:ae,contentRef:j}),(he,de)=>(I(),pe(b(ca),{ref_key:"tooltipRef",ref:p,visible:y.value,teleported:he.teleported,"popper-class":[b(l).e("dropdown"),he.popperClass],"popper-options":a,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${b(l).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:le},{default:oe(()=>[ct((I(),$("div",{class:V(b(fe)),style:qe(b(R)),onClick:de[5]||(de[5]=()=>ae(b(D)?void 0:!0)),onKeydown:xe,onMouseenter:de[6]||(de[6]=Ae=>_.value=!0),onMouseleave:de[7]||(de[7]=Ae=>_.value=!1)},[Q(b(Un),{ref_key:"input",ref:h,modelValue:S.value,"onUpdate:modelValue":de[1]||(de[1]=Ae=>S.value=Ae),placeholder:b(z),readonly:b(D),disabled:b(M),"validate-event":!1,size:b(B),class:V(b(q)),tabindex:b(F)&&he.filterable&&!b(M)?-1:void 0,onCompositionstart:Ee,onCompositionupdate:Ee,onCompositionend:Ee,onFocus:ot,onBlur:dt,onInput:Je},{suffix:oe(()=>[b(Y)?(I(),pe(b(Ke),{key:"clear",class:V([b(u).e("icon"),"icon-circle-close"]),onClick:tt($e,["stop"])},{default:oe(()=>[Q(b(Xs))]),_:1},8,["class","onClick"])):(I(),pe(b(Ke),{key:"arrow-down",class:V(b(se)),onClick:de[0]||(de[0]=tt(Ae=>ae(),["stop"]))},{default:oe(()=>[Q(b(js))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),b(F)?(I(),$("div",{key:0,ref_key:"tagWrapper",ref:v,class:V(b(l).e("tags"))},[(I(!0),$(je,null,Ot(T.value,Ae=>(I(),pe(b(ug),{key:Ae.key,type:he.tagType,size:b(P),hit:Ae.hitState,closable:Ae.closable,"disable-transitions":"",onClose:ee=>Z(Ae)},{default:oe(()=>[Ae.isCollapseTag===!1?(I(),$("span",f7e,Oe(Ae.text),1)):(I(),pe(b(ca),{key:1,disabled:y.value||!he.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:oe(()=>[N("span",null,Oe(Ae.text),1)]),content:oe(()=>[N("div",{class:V(b(l).e("collapse-tags"))},[(I(!0),$(je,null,Ot(x.value.slice(he.maxCollapseTags),(ee,ze)=>(I(),$("div",{key:ze,class:V(b(l).e("collapse-tag"))},[(I(),pe(b(ug),{key:ee.key,class:"in-tooltip",type:he.tagType,size:b(P),hit:ee.hitState,closable:ee.closable,"disable-transitions":"",onClose:st=>Z(ee)},{default:oe(()=>[N("span",null,Oe(ee.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),he.filterable&&!b(M)?ct((I(),$("input",{key:0,"onUpdate:modelValue":de[2]||(de[2]=Ae=>C.value=Ae),type:"text",class:V(b(l).e("search-input")),placeholder:b(X)?"":b(O),onInput:de[3]||(de[3]=Ae=>Je(C.value,Ae)),onClick:de[4]||(de[4]=tt(Ae=>ae(!0),["stop"])),onKeydown:Ut(We,["delete"]),onCompositionstart:Ee,onCompositionupdate:Ee,onCompositionend:Ee,onFocus:ot,onBlur:dt},null,42,p7e)),[[BC,C.value]]):ue("v-if",!0)],2)):ue("v-if",!0)],38)),[[b(ru),()=>ae(!1),b(j)]])]),content:oe(()=>[ct(Q(b(fz),{ref_key:"cascaderPanelRef",ref:g,modelValue:b(J),"onUpdate:modelValue":de[8]||(de[8]=Ae=>cr(J)?J.value=Ae:null),options:he.options,props:n.props,border:!1,"render-label":he.$slots.default,onExpandChange:Ce,onClose:de[9]||(de[9]=Ae=>he.$nextTick(()=>ae(!1)))},null,8,["modelValue","options","props","render-label"]),[[Gt,!w.value]]),he.filterable?ct((I(),pe(b(Qs),{key:0,ref_key:"suggestionPanel",ref:m,tag:"ul",class:V(b(l).e("suggestion-panel")),"view-class":b(l).e("suggestion-list"),onKeydown:Ie},{default:oe(()=>[A.value.length?(I(!0),$(je,{key:0},Ot(A.value,Ae=>(I(),$("li",{key:Ae.uid,class:V([b(l).e("suggestion-item"),b(l).is("checked",Ae.checked)]),tabindex:-1,onClick:ee=>Ge(Ae)},[N("span",null,Oe(Ae.text),1),Ae.checked?(I(),pe(b(Ke),{key:0},{default:oe(()=>[Q(b(Np))]),_:1})):ue("v-if",!0)],10,h7e))),128)):Se(he.$slots,"empty",{key:1},()=>[N("li",{class:V(b(l).e("empty-text"))},Oe(b(c)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[Gt,w.value]]):ue("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var Oy=De(m7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue"]]);Oy.install=e=>{e.component(Oy.name,Oy)};const y7e=Oy,_7e=y7e,b7e=Le({checked:{type:Boolean,default:!1}}),w7e={"update:checked":e=>tn(e),[hr]:e=>tn(e)},S7e=te({name:"ElCheckTag"}),E7e=te({...S7e,props:b7e,emits:w7e,setup(e,{emit:t}){const r=e,n=ke("check-tag"),a=L(()=>[n.b(),n.is("checked",r.checked)]),i=()=>{const o=!r.checked;t(hr,o),t("update:checked",o)};return(o,s)=>(I(),$("span",{class:V(b(a)),onClick:i},[Se(o.$slots,"default")],2))}});var C7e=De(E7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/check-tag/src/check-tag.vue"]]);const T7e=bt(C7e),pz=Symbol("rowContextKey"),x7e=["start","center","end","space-around","space-between","space-evenly"],A7e=["top","middle","bottom"],k7e=Le({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:x7e,default:"start"},align:{type:String,values:A7e}}),I7e=te({name:"ElRow"}),R7e=te({...I7e,props:k7e,setup(e){const t=e,r=ke("row"),n=L(()=>t.gutter);It(pz,{gutter:n});const a=L(()=>{const o={};return t.gutter&&(o.marginRight=o.marginLeft=`-${t.gutter/2}px`),o}),i=L(()=>[r.b(),r.is(`justify-${t.justify}`,t.justify!=="start"),r.is(`align-${t.align}`,!!t.align)]);return(o,s)=>(I(),pe(xt(o.tag),{class:V(b(i)),style:qe(b(a))},{default:oe(()=>[Se(o.$slots,"default")]),_:3},8,["class","style"]))}});var M7e=De(R7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);const L7e=bt(M7e),D7e=Le({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:ce([Number,Object]),default:()=>Er({})},sm:{type:ce([Number,Object]),default:()=>Er({})},md:{type:ce([Number,Object]),default:()=>Er({})},lg:{type:ce([Number,Object]),default:()=>Er({})},xl:{type:ce([Number,Object]),default:()=>Er({})}}),O7e=te({name:"ElCol"}),N7e=te({...O7e,props:D7e,setup(e){const t=e,{gutter:r}=Ue(pz,{gutter:L(()=>0)}),n=ke("col"),a=L(()=>{const o={};return r.value&&(o.paddingLeft=o.paddingRight=`${r.value/2}px`),o}),i=L(()=>{const o=[];return["span","offset","pull","push"].forEach(u=>{const c=t[u];at(c)&&(u==="span"?o.push(n.b(`${t[u]}`)):c>0&&o.push(n.b(`${u}-${t[u]}`)))}),["xs","sm","md","lg","xl"].forEach(u=>{at(t[u])?o.push(n.b(`${u}-${t[u]}`)):St(t[u])&&Object.entries(t[u]).forEach(([c,d])=>{o.push(c!=="span"?n.b(`${u}-${c}-${d}`):n.b(`${u}-${d}`))})}),r.value&&o.push(n.is("guttered")),[n.b(),o]});return(o,s)=>(I(),pe(xt(o.tag),{class:V(b(i)),style:qe(b(a))},{default:oe(()=>[Se(o.$slots,"default")]),_:3},8,["class","style"]))}});var P7e=De(N7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);const $7e=bt(P7e),TR=e=>typeof at(e),B7e=Le({accordion:Boolean,modelValue:{type:ce([Array,String,Number]),default:()=>Er([])}}),F7e={[Et]:TR,[hr]:TR},hz=Symbol("collapseContextKey"),z7e=(e,t)=>{const r=U(od(e.modelValue)),n=i=>{r.value=i;const o=e.accordion?r.value[0]:r.value;t(Et,o),t(hr,o)},a=i=>{if(e.accordion)n([r.value[0]===i?"":i]);else{const o=[...r.value],s=o.indexOf(i);s>-1?o.splice(s,1):o.push(i),n(o)}};return Te(()=>e.modelValue,()=>r.value=od(e.modelValue),{deep:!0}),It(hz,{activeNames:r,handleItemClick:a}),{activeNames:r,setActiveNames:n}},V7e=()=>{const e=ke("collapse");return{rootKls:L(()=>e.b())}},H7e=te({name:"ElCollapse"}),U7e=te({...H7e,props:B7e,emits:F7e,setup(e,{expose:t,emit:r}){const n=e,{activeNames:a,setActiveNames:i}=z7e(n,r),{rootKls:o}=V7e();return t({activeNames:a,setActiveNames:i}),(s,l)=>(I(),$("div",{class:V(b(o))},[Se(s.$slots,"default")],2))}});var G7e=De(U7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const W7e=te({name:"ElCollapseTransition"}),K7e=te({...W7e,setup(e){const t=ke("collapse-transition"),r=a=>{a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom},n={beforeEnter(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0},enter(a){a.dataset.oldOverflow=a.style.overflow,a.scrollHeight!==0?a.style.maxHeight=`${a.scrollHeight}px`:a.style.maxHeight=0,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom,a.style.overflow="hidden"},afterEnter(a){a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow},enterCancelled(a){r(a)},beforeLeave(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.dataset.oldOverflow=a.style.overflow,a.style.maxHeight=`${a.scrollHeight}px`,a.style.overflow="hidden"},leave(a){a.scrollHeight!==0&&(a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0)},afterLeave(a){r(a)},leaveCancelled(a){r(a)}};return(a,i)=>(I(),pe(Hr,Tt({name:b(t).b()},jZ(n)),{default:oe(()=>[Se(a.$slots,"default")]),_:3},16,["name"]))}});var Ny=De(K7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);Ny.install=e=>{e.component(Ny.name,Ny)};const D_=Ny,Y7e=D_,q7e=Le({title:{type:String,default:""},name:{type:ce([String,Number]),default:()=>C_()},disabled:Boolean}),j7e=e=>{const t=Ue(hz),r=U(!1),n=U(!1),a=U(C_()),i=L(()=>t==null?void 0:t.activeNames.value.includes(e.name));return{focusing:r,id:a,isActive:i,handleFocus:()=>{setTimeout(()=>{n.value?n.value=!1:r.value=!0},50)},handleHeaderClick:()=>{e.disabled||(t==null||t.handleItemClick(e.name),r.value=!1,n.value=!0)},handleEnterClick:()=>{t==null||t.handleItemClick(e.name)}}},X7e=(e,{focusing:t,isActive:r,id:n})=>{const a=ke("collapse"),i=L(()=>[a.b("item"),a.is("active",b(r)),a.is("disabled",e.disabled)]),o=L(()=>[a.be("item","header"),a.is("active",b(r)),{focusing:b(t)&&!e.disabled}]),s=L(()=>[a.be("item","arrow"),a.is("active",b(r))]),l=L(()=>a.be("item","wrap")),u=L(()=>a.be("item","content")),c=L(()=>a.b(`content-${b(n)}`)),d=L(()=>a.b(`head-${b(n)}`));return{arrowKls:s,headKls:o,rootKls:i,itemWrapperKls:l,itemContentKls:u,scopedContentId:c,scopedHeadId:d}},Z7e=["id","aria-expanded","aria-controls","aria-describedby","tabindex"],Q7e=["id","aria-hidden","aria-labelledby"],J7e=te({name:"ElCollapseItem"}),eFe=te({...J7e,props:q7e,setup(e,{expose:t}){const r=e,{focusing:n,id:a,isActive:i,handleFocus:o,handleHeaderClick:s,handleEnterClick:l}=j7e(r),{arrowKls:u,headKls:c,rootKls:d,itemWrapperKls:f,itemContentKls:p,scopedContentId:h,scopedHeadId:v}=X7e(r,{focusing:n,isActive:i,id:a});return t({isActive:i}),(g,m)=>(I(),$("div",{class:V(b(d))},[N("button",{id:b(v),class:V(b(c)),"aria-expanded":b(i),"aria-controls":b(h),"aria-describedby":b(h),tabindex:g.disabled?-1:0,type:"button",onClick:m[0]||(m[0]=(...y)=>b(s)&&b(s)(...y)),onKeydown:m[1]||(m[1]=Ut(tt((...y)=>b(l)&&b(l)(...y),["stop","prevent"]),["space","enter"])),onFocus:m[2]||(m[2]=(...y)=>b(o)&&b(o)(...y)),onBlur:m[3]||(m[3]=y=>n.value=!1)},[Se(g.$slots,"title",{},()=>[Kt(Oe(g.title),1)]),Q(b(Ke),{class:V(b(u))},{default:oe(()=>[Q(b(Gn))]),_:1},8,["class"])],42,Z7e),Q(b(D_),null,{default:oe(()=>[ct(N("div",{id:b(h),role:"region",class:V(b(f)),"aria-hidden":!b(i),"aria-labelledby":b(v)},[N("div",{class:V(b(p))},[Se(g.$slots,"default")],2)],10,Q7e),[[Gt,b(i)]])]),_:3})],2))}});var vz=De(eFe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const tFe=bt(G7e,{CollapseItem:vz}),rFe=Mr(vz),nFe=Le({color:{type:ce(Object),required:!0},vertical:{type:Boolean,default:!1}});let jb=!1;function cg(e,t){if(!zt)return;const r=function(i){var o;(o=t.drag)==null||o.call(t,i)},n=function(i){var o;document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",n),document.removeEventListener("touchmove",r),document.removeEventListener("touchend",n),document.onselectstart=null,document.ondragstart=null,jb=!1,(o=t.end)==null||o.call(t,i)},a=function(i){var o;jb||(i.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",r),document.addEventListener("mouseup",n),document.addEventListener("touchmove",r),document.addEventListener("touchend",n),jb=!0,(o=t.start)==null||o.call(t,i))};e.addEventListener("mousedown",a),e.addEventListener("touchstart",a)}const aFe=e=>{const t=mt(),r=or(),n=or();function a(o){o.target!==r.value&&i(o)}function i(o){if(!n.value||!r.value)return;const l=t.vnode.el.getBoundingClientRect(),{clientX:u,clientY:c}=VC(o);if(e.vertical){let d=c-l.top;d=Math.max(r.value.offsetHeight/2,d),d=Math.min(d,l.height-r.value.offsetHeight/2),e.color.set("alpha",Math.round((d-r.value.offsetHeight/2)/(l.height-r.value.offsetHeight)*100))}else{let d=u-l.left;d=Math.max(r.value.offsetWidth/2,d),d=Math.min(d,l.width-r.value.offsetWidth/2),e.color.set("alpha",Math.round((d-r.value.offsetWidth/2)/(l.width-r.value.offsetWidth)*100))}}return{thumb:r,bar:n,handleDrag:i,handleClick:a}},iFe=(e,{bar:t,thumb:r,handleDrag:n})=>{const a=mt(),i=ke("color-alpha-slider"),o=U(0),s=U(0),l=U();function u(){if(!r.value||e.vertical)return 0;const y=a.vnode.el,_=e.color.get("alpha");return y?Math.round(_*(y.offsetWidth-r.value.offsetWidth/2)/100):0}function c(){if(!r.value)return 0;const y=a.vnode.el;if(!e.vertical)return 0;const _=e.color.get("alpha");return y?Math.round(_*(y.offsetHeight-r.value.offsetHeight/2)/100):0}function d(){if(e.color&&e.color.value){const{r:y,g:_,b:w}=e.color.toRgb();return`linear-gradient(to right, rgba(${y}, ${_}, ${w}, 0) 0%, rgba(${y}, ${_}, ${w}, 1) 100%)`}return""}function f(){o.value=u(),s.value=c(),l.value=d()}gt(()=>{if(!t.value||!r.value)return;const y={drag:_=>{n(_)},end:_=>{n(_)}};cg(t.value,y),cg(r.value,y),f()}),Te(()=>e.color.get("alpha"),()=>f()),Te(()=>e.color.value,()=>f());const p=L(()=>[i.b(),i.is("vertical",e.vertical)]),h=L(()=>i.e("bar")),v=L(()=>i.e("thumb")),g=L(()=>({background:l.value})),m=L(()=>({left:Nr(o.value),top:Nr(s.value)}));return{rootKls:p,barKls:h,barStyle:g,thumbKls:v,thumbStyle:m,update:f}},oFe="ElColorAlphaSlider",sFe=te({name:oFe}),lFe=te({...sFe,props:nFe,setup(e,{expose:t}){const r=e,{bar:n,thumb:a,handleDrag:i,handleClick:o}=aFe(r),{rootKls:s,barKls:l,barStyle:u,thumbKls:c,thumbStyle:d,update:f}=iFe(r,{bar:n,thumb:a,handleDrag:i});return t({update:f,bar:n,thumb:a}),(p,h)=>(I(),$("div",{class:V(b(s))},[N("div",{ref_key:"bar",ref:n,class:V(b(l)),style:qe(b(u)),onClick:h[0]||(h[0]=(...v)=>b(o)&&b(o)(...v))},null,6),N("div",{ref_key:"thumb",ref:a,class:V(b(c)),style:qe(b(d))},null,6)],2))}});var uFe=De(lFe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/alpha-slider.vue"]]);const cFe=te({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=ke("color-hue-slider"),r=mt(),n=U(),a=U(),i=U(0),o=U(0),s=L(()=>e.color.get("hue"));Te(()=>s.value,()=>{f()});function l(p){p.target!==n.value&&u(p)}function u(p){if(!a.value||!n.value)return;const v=r.vnode.el.getBoundingClientRect(),{clientX:g,clientY:m}=VC(p);let y;if(e.vertical){let _=m-v.top;_=Math.min(_,v.height-n.value.offsetHeight/2),_=Math.max(n.value.offsetHeight/2,_),y=Math.round((_-n.value.offsetHeight/2)/(v.height-n.value.offsetHeight)*360)}else{let _=g-v.left;_=Math.min(_,v.width-n.value.offsetWidth/2),_=Math.max(n.value.offsetWidth/2,_),y=Math.round((_-n.value.offsetWidth/2)/(v.width-n.value.offsetWidth)*360)}e.color.set("hue",y)}function c(){if(!n.value)return 0;const p=r.vnode.el;if(e.vertical)return 0;const h=e.color.get("hue");return p?Math.round(h*(p.offsetWidth-n.value.offsetWidth/2)/360):0}function d(){if(!n.value)return 0;const p=r.vnode.el;if(!e.vertical)return 0;const h=e.color.get("hue");return p?Math.round(h*(p.offsetHeight-n.value.offsetHeight/2)/360):0}function f(){i.value=c(),o.value=d()}return gt(()=>{if(!a.value||!n.value)return;const p={drag:h=>{u(h)},end:h=>{u(h)}};cg(a.value,p),cg(n.value,p),f()}),{bar:a,thumb:n,thumbLeft:i,thumbTop:o,hueValue:s,handleClick:l,update:f,ns:t}}});function dFe(e,t,r,n,a,i){return I(),$("div",{class:V([e.ns.b(),e.ns.is("vertical",e.vertical)])},[N("div",{ref:"bar",class:V(e.ns.e("bar")),onClick:t[0]||(t[0]=(...o)=>e.handleClick&&e.handleClick(...o))},null,2),N("div",{ref:"thumb",class:V(e.ns.e("thumb")),style:qe({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,6)],2)}var fFe=De(cFe,[["render",dFe],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/hue-slider.vue"]]);const pFe=Le({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:On,popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},predefine:{type:ce(Array)},validateEvent:{type:Boolean,default:!0}}),hFe={[Et]:e=>ut(e)||Yr(e),[hr]:e=>ut(e)||Yr(e),activeChange:e=>ut(e)||Yr(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},gz=Symbol("colorPickerContextKey"),xR=function(e,t,r){return[e,t*r/((e=(2-t)*r)<1?e:2-e)||0,e/2]},vFe=function(e){return typeof e=="string"&&e.includes(".")&&Number.parseFloat(e)===1},gFe=function(e){return typeof e=="string"&&e.includes("%")},$f=function(e,t){vFe(e)&&(e="100%");const r=gFe(e);return e=Math.min(t,Math.max(0,Number.parseFloat(`${e}`))),r&&(e=Number.parseInt(`${e*t}`,10)/100),Math.abs(e-t)<1e-6?1:e%t/Number.parseFloat(t)},AR={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Py=e=>{e=Math.min(Math.round(e),255);const t=Math.floor(e/16),r=e%16;return`${AR[t]||t}${AR[r]||r}`},kR=function({r:e,g:t,b:r}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+r)?"":`#${Py(e)}${Py(t)}${Py(r)}`},Xb={A:10,B:11,C:12,D:13,E:14,F:15},ku=function(e){return e.length===2?(Xb[e[0].toUpperCase()]||+e[0])*16+(Xb[e[1].toUpperCase()]||+e[1]):Xb[e[1].toUpperCase()]||+e[1]},mFe=function(e,t,r){t=t/100,r=r/100;let n=t;const a=Math.max(r,.01);r*=2,t*=r<=1?r:2-r,n*=a<=1?a:2-a;const i=(r+t)/2,o=r===0?2*n/(a+n):2*t/(r+t);return{h:e,s:o*100,v:i*100}},IR=(e,t,r)=>{e=$f(e,255),t=$f(t,255),r=$f(r,255);const n=Math.max(e,t,r),a=Math.min(e,t,r);let i;const o=n,s=n-a,l=n===0?0:s/n;if(n===a)i=0;else{switch(n){case e:{i=(t-r)/s+(t<r?6:0);break}case t:{i=(r-e)/s+2;break}case r:{i=(e-t)/s+4;break}}i/=6}return{h:i*360,s:l*100,v:o*100}},sh=function(e,t,r){e=$f(e,360)*6,t=$f(t,100),r=$f(r,100);const n=Math.floor(e),a=e-n,i=r*(1-t),o=r*(1-a*t),s=r*(1-(1-a)*t),l=n%6,u=[r,o,i,i,s,r][l],c=[s,r,r,o,i,i][l],d=[i,i,s,r,r,o][l];return{r:Math.round(u*255),g:Math.round(c*255),b:Math.round(d*255)}};class mv{constructor(t={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="";for(const r in t)$t(t,r)&&(this[r]=t[r]);t.value?this.fromString(t.value):this.doOnChange()}set(t,r){if(arguments.length===1&&typeof t=="object"){for(const n in t)$t(t,n)&&this.set(n,t[n]);return}this[`_${t}`]=r,this.doOnChange()}get(t){return t==="alpha"?Math.floor(this[`_${t}`]):this[`_${t}`]}toRgb(){return sh(this._hue,this._saturation,this._value)}fromString(t){if(!t){this._hue=0,this._saturation=100,this._value=100,this.doOnChange();return}const r=(n,a,i)=>{this._hue=Math.max(0,Math.min(360,n)),this._saturation=Math.max(0,Math.min(100,a)),this._value=Math.max(0,Math.min(100,i)),this.doOnChange()};if(t.includes("hsl")){const n=t.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(a=>a!=="").map((a,i)=>i>2?Number.parseFloat(a):Number.parseInt(a,10));if(n.length===4?this._alpha=Number.parseFloat(n[3])*100:n.length===3&&(this._alpha=100),n.length>=3){const{h:a,s:i,v:o}=mFe(n[0],n[1],n[2]);r(a,i,o)}}else if(t.includes("hsv")){const n=t.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(a=>a!=="").map((a,i)=>i>2?Number.parseFloat(a):Number.parseInt(a,10));n.length===4?this._alpha=Number.parseFloat(n[3])*100:n.length===3&&(this._alpha=100),n.length>=3&&r(n[0],n[1],n[2])}else if(t.includes("rgb")){const n=t.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(a=>a!=="").map((a,i)=>i>2?Number.parseFloat(a):Number.parseInt(a,10));if(n.length===4?this._alpha=Number.parseFloat(n[3])*100:n.length===3&&(this._alpha=100),n.length>=3){const{h:a,s:i,v:o}=IR(n[0],n[1],n[2]);r(a,i,o)}}else if(t.includes("#")){const n=t.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(n))return;let a,i,o;n.length===3?(a=ku(n[0]+n[0]),i=ku(n[1]+n[1]),o=ku(n[2]+n[2])):(n.length===6||n.length===8)&&(a=ku(n.slice(0,2)),i=ku(n.slice(2,4)),o=ku(n.slice(4,6))),n.length===8?this._alpha=ku(n.slice(6))/255*100:(n.length===3||n.length===6)&&(this._alpha=100);const{h:s,s:l,v:u}=IR(a,i,o);r(s,l,u)}}compare(t){return Math.abs(t._hue-this._hue)<2&&Math.abs(t._saturation-this._saturation)<1&&Math.abs(t._value-this._value)<1&&Math.abs(t._alpha-this._alpha)<1}doOnChange(){const{_hue:t,_saturation:r,_value:n,_alpha:a,format:i}=this;if(this.enableAlpha)switch(i){case"hsl":{const o=xR(t,r/100,n/100);this.value=`hsla(${t}, ${Math.round(o[1]*100)}%, ${Math.round(o[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${t}, ${Math.round(r)}%, ${Math.round(n)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${kR(sh(t,r,n))}${Py(a*255/100)}`;break}default:{const{r:o,g:s,b:l}=sh(t,r,n);this.value=`rgba(${o}, ${s}, ${l}, ${this.get("alpha")/100})`}}else switch(i){case"hsl":{const o=xR(t,r/100,n/100);this.value=`hsl(${t}, ${Math.round(o[1]*100)}%, ${Math.round(o[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${t}, ${Math.round(r)}%, ${Math.round(n)}%)`;break}case"rgb":{const{r:o,g:s,b:l}=sh(t,r,n);this.value=`rgb(${o}, ${s}, ${l})`;break}default:this.value=kR(sh(t,r,n))}}}const yFe=te({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(e){const t=ke("color-predefine"),{currentColor:r}=Ue(gz),n=U(i(e.colors,e.color));Te(()=>r.value,o=>{const s=new mv;s.fromString(o),n.value.forEach(l=>{l.selected=s.compare(l)})}),qa(()=>{n.value=i(e.colors,e.color)});function a(o){e.color.fromString(e.colors[o])}function i(o,s){return o.map(l=>{const u=new mv;return u.enableAlpha=!0,u.format="rgba",u.fromString(l),u.selected=u.value===s.value,u})}return{rgbaColors:n,handleSelect:a,ns:t}}}),_Fe=["onClick"];function bFe(e,t,r,n,a,i){return I(),$("div",{class:V(e.ns.b())},[N("div",{class:V(e.ns.e("colors"))},[(I(!0),$(je,null,Ot(e.rgbaColors,(o,s)=>(I(),$("div",{key:e.colors[s],class:V([e.ns.e("color-selector"),e.ns.is("alpha",o._alpha<100),{selected:o.selected}]),onClick:l=>e.handleSelect(s)},[N("div",{style:qe({backgroundColor:o.value})},null,4)],10,_Fe))),128))],2)],2)}var wFe=De(yFe,[["render",bFe],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/predefine.vue"]]);const SFe=te({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=ke("color-svpanel"),r=mt(),n=U(0),a=U(0),i=U("hsl(0, 100%, 50%)"),o=L(()=>{const u=e.color.get("hue"),c=e.color.get("value");return{hue:u,value:c}});function s(){const u=e.color.get("saturation"),c=e.color.get("value"),d=r.vnode.el,{clientWidth:f,clientHeight:p}=d;a.value=u*f/100,n.value=(100-c)*p/100,i.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}function l(u){const d=r.vnode.el.getBoundingClientRect(),{clientX:f,clientY:p}=VC(u);let h=f-d.left,v=p-d.top;h=Math.max(0,h),h=Math.min(h,d.width),v=Math.max(0,v),v=Math.min(v,d.height),a.value=h,n.value=v,e.color.set({saturation:h/d.width*100,value:100-v/d.height*100})}return Te(()=>o.value,()=>{s()}),gt(()=>{cg(r.vnode.el,{drag:u=>{l(u)},end:u=>{l(u)}}),s()}),{cursorTop:n,cursorLeft:a,background:i,colorValue:o,handleDrag:l,update:s,ns:t}}}),EFe=N("div",null,null,-1),CFe=[EFe];function TFe(e,t,r,n,a,i){return I(),$("div",{class:V(e.ns.b()),style:qe({backgroundColor:e.background})},[N("div",{class:V(e.ns.e("white"))},null,2),N("div",{class:V(e.ns.e("black"))},null,2),N("div",{class:V(e.ns.e("cursor")),style:qe({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},CFe,6)],6)}var xFe=De(SFe,[["render",TFe],["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/components/sv-panel.vue"]]);const AFe=["onKeydown"],kFe=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],IFe=te({name:"ElColorPicker"}),RFe=te({...IFe,props:pFe,emits:hFe,setup(e,{expose:t,emit:r}){const n=e,{t:a}=Ht(),i=ke("color"),{formItem:o}=pa(),s=nn(),l=$a(),{inputId:u,isLabeledByFormItem:c}=_u(n,{formItemContext:o}),d=U(),f=U(),p=U(),h=U(),v=U(),g=U(),{isFocused:m,handleFocus:y,handleBlur:_}=aF(v,{beforeBlur(ne){var le;return(le=h.value)==null?void 0:le.isFocusInsideContent(ne)},afterBlur(){B(!1),H()}}),w=ne=>{if(l.value)return ae();y(ne)};let E=!0;const S=qt(new mv({enableAlpha:n.showAlpha,format:n.colorFormat||"",value:n.modelValue})),C=U(!1),T=U(!1),x=U(""),A=L(()=>!n.modelValue&&!T.value?"transparent":z(S,n.showAlpha)),k=L(()=>!n.modelValue&&!T.value?"":S.value),R=L(()=>c.value?void 0:n.label||a("el.colorpicker.defaultLabel")),M=L(()=>c.value?o==null?void 0:o.labelId:void 0),O=L(()=>[i.b("picker"),i.is("disabled",l.value),i.bm("picker",s.value),i.is("focused",m.value)]);function z(ne,le){if(!(ne instanceof mv))throw new TypeError("color should be instance of _color Class");const{r:W,g:Z,b:ie}=ne.toRgb();return le?`rgba(${W}, ${Z}, ${ie}, ${ne.get("alpha")/100})`:`rgb(${W}, ${Z}, ${ie})`}function B(ne){C.value=ne}const P=ua(B,100,{leading:!0});function F(){l.value||B(!0)}function D(){P(!1),H()}function H(){Ye(()=>{n.modelValue?S.fromString(n.modelValue):(S.value="",Ye(()=>{T.value=!1}))})}function K(){l.value||P(!C.value)}function Y(){S.fromString(x.value)}function X(){const ne=S.value;r(Et,ne),r("change",ne),n.validateEvent&&(o==null||o.validate("change").catch(le=>void 0)),P(!1),Ye(()=>{const le=new mv({enableAlpha:n.showAlpha,format:n.colorFormat||"",value:n.modelValue});S.compare(le)||H()})}function J(){P(!1),r(Et,null),r("change",null),n.modelValue!==null&&n.validateEvent&&(o==null||o.validate("change").catch(ne=>void 0)),H()}function fe(ne){if(C.value&&(D(),m.value)){const le=new FocusEvent("focus",ne);_(le)}}function se(ne){ne.preventDefault(),ne.stopPropagation(),B(!1),H()}function q(ne){switch(ne.code){case Xe.enter:case Xe.space:ne.preventDefault(),ne.stopPropagation(),F(),g.value.focus();break;case Xe.esc:se(ne);break}}function j(){v.value.focus()}function ae(){v.value.blur()}return gt(()=>{n.modelValue&&(x.value=k.value)}),Te(()=>n.modelValue,ne=>{ne?ne&&ne!==S.value&&(E=!1,S.fromString(ne)):T.value=!1}),Te(()=>k.value,ne=>{x.value=ne,E&&r("activeChange",ne),E=!0}),Te(()=>S.value,()=>{!n.modelValue&&!T.value&&(T.value=!0)}),Te(()=>C.value,()=>{Ye(()=>{var ne,le,W;(ne=d.value)==null||ne.update(),(le=f.value)==null||le.update(),(W=p.value)==null||W.update()})}),It(gz,{currentColor:k}),t({color:S,show:F,hide:D,focus:j,blur:ae}),(ne,le)=>(I(),pe(b(ca),{ref_key:"popper",ref:h,visible:C.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[b(i).be("picker","panel"),b(i).b("dropdown"),ne.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",transition:`${b(i).namespace.value}-zoom-in-top`,persistent:"",onHide:le[2]||(le[2]=W=>B(!1))},{content:oe(()=>[ct((I(),$("div",{onKeydown:Ut(se,["esc"])},[N("div",{class:V(b(i).be("dropdown","main-wrapper"))},[Q(fFe,{ref_key:"hue",ref:d,class:"hue-slider",color:b(S),vertical:""},null,8,["color"]),Q(xFe,{ref_key:"sv",ref:f,color:b(S)},null,8,["color"])],2),ne.showAlpha?(I(),pe(uFe,{key:0,ref_key:"alpha",ref:p,color:b(S)},null,8,["color"])):ue("v-if",!0),ne.predefine?(I(),pe(wFe,{key:1,ref:"predefine",color:b(S),colors:ne.predefine},null,8,["color","colors"])):ue("v-if",!0),N("div",{class:V(b(i).be("dropdown","btns"))},[N("span",{class:V(b(i).be("dropdown","value"))},[Q(b(Un),{ref_key:"inputRef",ref:g,modelValue:x.value,"onUpdate:modelValue":le[0]||(le[0]=W=>x.value=W),"validate-event":!1,size:"small",onKeyup:Ut(Y,["enter"]),onBlur:Y},null,8,["modelValue","onKeyup"])],2),Q(b(Mn),{class:V(b(i).be("dropdown","link-btn")),text:"",size:"small",onClick:J},{default:oe(()=>[Kt(Oe(b(a)("el.colorpicker.clear")),1)]),_:1},8,["class"]),Q(b(Mn),{plain:"",size:"small",class:V(b(i).be("dropdown","btn")),onClick:X},{default:oe(()=>[Kt(Oe(b(a)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,AFe)),[[b(ru),fe]])]),default:oe(()=>[N("div",{id:b(u),ref_key:"triggerRef",ref:v,class:V(b(O)),role:"button","aria-label":b(R),"aria-labelledby":b(M),"aria-description":b(a)("el.colorpicker.description",{color:ne.modelValue||""}),"aria-disabled":b(l),tabindex:b(l)?-1:ne.tabindex,onKeydown:q,onFocus:w,onBlur:le[1]||(le[1]=(...W)=>b(_)&&b(_)(...W))},[b(l)?(I(),$("div",{key:0,class:V(b(i).be("picker","mask"))},null,2)):ue("v-if",!0),N("div",{class:V(b(i).be("picker","trigger")),onClick:K},[N("span",{class:V([b(i).be("picker","color"),b(i).is("alpha",ne.showAlpha)])},[N("span",{class:V(b(i).be("picker","color-inner")),style:qe({backgroundColor:b(A)})},[ct(Q(b(Ke),{class:V([b(i).be("picker","icon"),b(i).is("icon-arrow-down")])},{default:oe(()=>[Q(b(js))]),_:1},8,["class"]),[[Gt,ne.modelValue||T.value]]),ct(Q(b(Ke),{class:V([b(i).be("picker","empty"),b(i).is("icon-close")])},{default:oe(()=>[Q(b(Ii))]),_:1},8,["class"]),[[Gt,!ne.modelValue&&!T.value]])],6)],2)],2)],42,kFe)]),_:1},8,["visible","popper-class","transition"]))}});var MFe=De(RFe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/color-picker.vue"]]);const LFe=bt(MFe),DFe=te({name:"ElContainer"}),OFe=te({...DFe,props:{direction:{type:String}},setup(e){const t=e,r=Cn(),n=ke("container"),a=L(()=>t.direction==="vertical"?!0:t.direction==="horizontal"?!1:r&&r.default?r.default().some(o=>{const s=o.type.name;return s==="ElHeader"||s==="ElFooter"}):!1);return(i,o)=>(I(),$("section",{class:V([b(n).b(),b(n).is("vertical",b(a))])},[Se(i.$slots,"default")],2))}});var NFe=De(OFe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const PFe=te({name:"ElAside"}),$Fe=te({...PFe,props:{width:{type:String,default:null}},setup(e){const t=e,r=ke("aside"),n=L(()=>t.width?r.cssVarBlock({width:t.width}):{});return(a,i)=>(I(),$("aside",{class:V(b(r).b()),style:qe(b(n))},[Se(a.$slots,"default")],6))}});var mz=De($Fe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const BFe=te({name:"ElFooter"}),FFe=te({...BFe,props:{height:{type:String,default:null}},setup(e){const t=e,r=ke("footer"),n=L(()=>t.height?r.cssVarBlock({height:t.height}):{});return(a,i)=>(I(),$("footer",{class:V(b(r).b()),style:qe(b(n))},[Se(a.$slots,"default")],6))}});var yz=De(FFe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const zFe=te({name:"ElHeader"}),VFe=te({...zFe,props:{height:{type:String,default:null}},setup(e){const t=e,r=ke("header"),n=L(()=>t.height?r.cssVarBlock({height:t.height}):{});return(a,i)=>(I(),$("header",{class:V(b(r).b()),style:qe(b(n))},[Se(a.$slots,"default")],6))}});var _z=De(VFe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const HFe=te({name:"ElMain"}),UFe=te({...HFe,setup(e){const t=ke("main");return(r,n)=>(I(),$("main",{class:V(b(t).b())},[Se(r.$slots,"default")],2))}});var bz=De(UFe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue"]]);const GFe=bt(NFe,{Aside:mz,Footer:yz,Header:_z,Main:bz}),WFe=Mr(mz),KFe=Mr(yz),YFe=Mr(_z),qFe=Mr(bz);var wz={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(so,function(){return function(r,n){var a=n.prototype,i=a.format;a.format=function(o){var s=this,l=this.$locale();if(!this.isValid())return i.bind(this)(o);var u=this.$utils(),c=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(d){switch(d){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return l.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return l.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),d==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),d==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return d}});return i.bind(this)(c)}}})})(wz);var jFe=wz.exports;const XFe=vo(jFe);var Sz={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(so,function(){var r="week",n="year";return function(a,i,o){var s=i.prototype;s.week=function(l){if(l===void 0&&(l=null),l!==null)return this.add(7*(l-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=o(this).startOf(n).add(1,n).date(u),d=o(this).endOf(r);if(c.isBefore(d))return 1}var f=o(this).startOf(n).date(u).startOf(r).subtract(1,"millisecond"),p=this.diff(f,r,!0);return p<0?o(this).startOf("week").week():Math.ceil(p)},s.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}})})(Sz);var ZFe=Sz.exports;const QFe=vo(ZFe);var Ez={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(so,function(){return function(r,n){n.prototype.weekYear=function(){var a=this.month(),i=this.week(),o=this.year();return i===1&&a===11?o+1:a===0&&i>=52?o-1:o}}})})(Ez);var JFe=Ez.exports;const eze=vo(JFe);var Cz={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(so,function(){return function(r,n,a){n.prototype.dayOfYear=function(i){var o=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return i==null?o:this.add(i-o,"day")}}})})(Cz);var tze=Cz.exports;const rze=vo(tze);var Tz={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(so,function(){return function(r,n){n.prototype.isSameOrAfter=function(a,i){return this.isSame(a,i)||this.isAfter(a,i)}}})})(Tz);var nze=Tz.exports;const aze=vo(nze);var xz={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(so,function(){return function(r,n){n.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})})(xz);var ize=xz.exports;const oze=vo(ize),$T=Symbol(),sze=Le({...OT,type:{type:ce(String),default:"date"}}),lze=["date","dates","year","month","week","range"],BT=Le({disabledDate:{type:ce(Function)},date:{type:ce(Object),required:!0},minDate:{type:ce(Object)},maxDate:{type:ce(Object)},parsedValue:{type:ce([Object,Array])},rangeState:{type:ce(Object),default:()=>({endDate:null,selecting:!1})}}),Az=Le({type:{type:ce(String),required:!0,values:jLe},dateFormat:String,timeFormat:String}),kz=Le({unlinkPanels:Boolean,parsedValue:{type:ce(Array)}}),Iz=e=>({type:String,values:lze,default:e}),uze=Le({...Az,parsedValue:{type:ce([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),cze=Le({...BT,cellClassName:{type:ce(Function)},showWeekNumber:Boolean,selectionMode:Iz("date")}),dze=["changerange","pick","select"],N3=e=>{if(!He(e))return!1;const[t,r]=e;return yt.isDayjs(t)&&yt.isDayjs(r)&&t.isSameOrBefore(r)},Rz=(e,{lang:t,unit:r,unlinkPanels:n})=>{let a;if(He(e)){let[i,o]=e.map(s=>yt(s).locale(t));return n||(o=i.add(1,r)),[i,o]}else e?a=yt(e):a=yt();return a=a.locale(t),[a,a.add(1,r)]},fze=(e,t,{columnIndexOffset:r,startDate:n,nextEndDate:a,now:i,unit:o,relativeDateGetter:s,setCellMetadata:l,setRowMetadata:u})=>{for(let c=0;c<e.row;c++){const d=t[c];for(let f=0;f<e.column;f++){let p=d[f+r];p||(p={row:c,column:f,type:"normal",inRange:!1,start:!1,end:!1});const h=c*e.column+f,v=s(h);p.dayjs=v,p.date=v.toDate(),p.timestamp=v.valueOf(),p.type="normal",p.inRange=!!(n&&v.isSameOrAfter(n,o)&&a&&v.isSameOrBefore(a,o))||!!(n&&v.isSameOrBefore(n,o)&&a&&v.isSameOrAfter(a,o)),n!=null&&n.isSameOrAfter(a)?(p.start=!!a&&v.isSame(a,o),p.end=n&&v.isSame(n,o)):(p.start=!!n&&v.isSame(n,o),p.end=!!a&&v.isSame(a,o)),v.isSame(i,o)&&(p.type="today"),l==null||l(p,{rowIndex:c,columnIndex:f}),d[f+r]=p}u==null||u(d)}},P3=(e="")=>["normal","today"].includes(e),pze=(e,t)=>{const{lang:r}=Ht(),n=U(),a=U(),i=U(),o=U(),s=U([[],[],[],[],[],[]]);let l=!1;const u=e.date.$locale().weekStart||7,c=e.date.locale("en").localeData().weekdaysShort().map(D=>D.toLowerCase()),d=L(()=>u>3?7-u:-u),f=L(()=>{const D=e.date.startOf("month");return D.subtract(D.day()||7,"day")}),p=L(()=>c.concat(c).slice(u,u+7)),h=L(()=>CB(b(w)).some(D=>D.isCurrent)),v=L(()=>{const D=e.date.startOf("month"),H=D.day()||7,K=D.daysInMonth(),Y=D.subtract(1,"month").daysInMonth();return{startOfMonthDay:H,dateCountOfMonth:K,dateCountOfLastMonth:Y}}),g=L(()=>e.selectionMode==="dates"?Ts(e.parsedValue):[]),m=(D,{count:H,rowIndex:K,columnIndex:Y})=>{const{startOfMonthDay:X,dateCountOfMonth:J,dateCountOfLastMonth:fe}=b(v),se=b(d);if(K>=0&&K<=1){const q=X+se<0?7+X+se:X+se;if(Y+K*7>=q)return D.text=H,!0;D.text=fe-(q-Y%7)+1+K*7,D.type="prev-month"}else return H<=J?D.text=H:(D.text=H-J,D.type="next-month"),!0;return!1},y=(D,{columnIndex:H,rowIndex:K},Y)=>{const{disabledDate:X,cellClassName:J}=e,fe=b(g),se=m(D,{count:Y,rowIndex:K,columnIndex:H}),q=D.dayjs.toDate();return D.selected=fe.find(j=>j.valueOf()===D.dayjs.valueOf()),D.isSelected=!!D.selected,D.isCurrent=S(D),D.disabled=X==null?void 0:X(q),D.customClass=J==null?void 0:J(q),se},_=D=>{if(e.selectionMode==="week"){const[H,K]=e.showWeekNumber?[1,7]:[0,6],Y=F(D[H+1]);D[H].inRange=Y,D[H].start=Y,D[K].inRange=Y,D[K].end=Y}},w=L(()=>{const{minDate:D,maxDate:H,rangeState:K,showWeekNumber:Y}=e,X=b(d),J=b(s),fe="day";let se=1;if(Y)for(let q=0;q<6;q++)J[q][0]||(J[q][0]={type:"week",text:b(f).add(q*7+1,fe).week()});return fze({row:6,column:7},J,{startDate:D,columnIndexOffset:Y?1:0,nextEndDate:K.endDate||H||K.selecting&&D||null,now:yt().locale(b(r)).startOf(fe),unit:fe,relativeDateGetter:q=>b(f).add(q-X,fe),setCellMetadata:(...q)=>{y(...q,se)&&(se+=1)},setRowMetadata:_}),J});Te(()=>e.date,async()=>{var D;(D=b(n))!=null&&D.contains(document.activeElement)&&(await Ye(),await E())});const E=async()=>{var D;return(D=b(a))==null?void 0:D.focus()},S=D=>e.selectionMode==="date"&&P3(D.type)&&C(D,e.parsedValue),C=(D,H)=>H?yt(H).locale(b(r)).isSame(e.date.date(Number(D.text)),"day"):!1,T=(D,H)=>{const K=D*7+(H-(e.showWeekNumber?1:0))-b(d);return b(f).add(K,"day")},x=D=>{var H;if(!e.rangeState.selecting)return;let K=D.target;if(K.tagName==="SPAN"&&(K=(H=K.parentNode)==null?void 0:H.parentNode),K.tagName==="DIV"&&(K=K.parentNode),K.tagName!=="TD")return;const Y=K.parentNode.rowIndex-1,X=K.cellIndex;b(w)[Y][X].disabled||(Y!==b(i)||X!==b(o))&&(i.value=Y,o.value=X,t("changerange",{selecting:!0,endDate:T(Y,X)}))},A=D=>!b(h)&&(D==null?void 0:D.text)===1&&D.type==="normal"||D.isCurrent,k=D=>{l||b(h)||e.selectionMode!=="date"||P(D,!0)},R=D=>{D.target.closest("td")&&(l=!0)},M=D=>{D.target.closest("td")&&(l=!1)},O=D=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:D,maxDate:null}),t("select",!0)):(D>=e.minDate?t("pick",{minDate:e.minDate,maxDate:D}):t("pick",{minDate:D,maxDate:e.minDate}),t("select",!1))},z=D=>{const H=D.week(),K=`${D.year()}w${H}`;t("pick",{year:D.year(),week:H,value:K,date:D.startOf("week")})},B=(D,H)=>{const K=H?Ts(e.parsedValue).filter(Y=>(Y==null?void 0:Y.valueOf())!==D.valueOf()):Ts(e.parsedValue).concat([D]);t("pick",K)},P=(D,H=!1)=>{const K=D.target.closest("td");if(!K)return;const Y=K.parentNode.rowIndex-1,X=K.cellIndex,J=b(w)[Y][X];if(J.disabled||J.type==="week")return;const fe=T(Y,X);switch(e.selectionMode){case"range":{O(fe);break}case"date":{t("pick",fe,H);break}case"week":{z(fe);break}case"dates":{B(fe,!!J.selected);break}}},F=D=>{if(e.selectionMode!=="week")return!1;let H=e.date.startOf("day");if(D.type==="prev-month"&&(H=H.subtract(1,"month")),D.type==="next-month"&&(H=H.add(1,"month")),H=H.date(Number.parseInt(D.text,10)),e.parsedValue&&!Array.isArray(e.parsedValue)){const K=(e.parsedValue.day()-u+7)%7-1;return e.parsedValue.subtract(K,"day").isSame(H,"day")}return!1};return{WEEKS:p,rows:w,tbodyRef:n,currentCellRef:a,focus:E,isCurrent:S,isWeekActive:F,isSelectedCell:A,handlePickDate:P,handleMouseUp:M,handleMouseDown:R,handleMouseMove:x,handleFocus:k}},hze=(e,{isCurrent:t,isWeekActive:r})=>{const n=ke("date-table"),{t:a}=Ht(),i=L(()=>[n.b(),{"is-week-mode":e.selectionMode==="week"}]),o=L(()=>a("el.datepicker.dateTablePrompt")),s=L(()=>a("el.datepicker.week"));return{tableKls:i,tableLabel:o,weekLabel:s,getCellClasses:c=>{const d=[];return P3(c.type)&&!c.disabled?(d.push("available"),c.type==="today"&&d.push("today")):d.push(c.type),t(c)&&d.push("current"),c.inRange&&(P3(c.type)||e.selectionMode==="week")&&(d.push("in-range"),c.start&&d.push("start-date"),c.end&&d.push("end-date")),c.disabled&&d.push("disabled"),c.selected&&d.push("selected"),c.customClass&&d.push(c.customClass),d.join(" ")},getRowKls:c=>[n.e("row"),{current:r(c)}],t:a}},vze=Le({cell:{type:ce(Object)}});var gze=te({name:"ElDatePickerCell",props:vze,setup(e){const t=ke("date-table-cell"),{slots:r}=Ue($T);return()=>{const{cell:n}=e;if(r.default){const a=r.default(n).filter(i=>i.patchFlag!==-2&&i.type.toString()!=="Symbol(Comment)"&&i.type.toString()!=="Symbol(v-cmt)");if(a.length)return a}return Q("div",{class:t.b()},[Q("span",{class:t.e("text")},[n==null?void 0:n.text])])}}});const mze=["aria-label"],yze={key:0,scope:"col"},_ze=["aria-label"],bze=["aria-current","aria-selected","tabindex"],wze=te({__name:"basic-date-table",props:cze,emits:dze,setup(e,{expose:t,emit:r}){const n=e,{WEEKS:a,rows:i,tbodyRef:o,currentCellRef:s,focus:l,isCurrent:u,isWeekActive:c,isSelectedCell:d,handlePickDate:f,handleMouseUp:p,handleMouseDown:h,handleMouseMove:v,handleFocus:g}=pze(n,r),{tableLabel:m,tableKls:y,weekLabel:_,getCellClasses:w,getRowKls:E,t:S}=hze(n,{isCurrent:u,isWeekActive:c});return t({focus:l}),(C,T)=>(I(),$("table",{"aria-label":b(m),class:V(b(y)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:T[1]||(T[1]=(...x)=>b(f)&&b(f)(...x)),onMousemove:T[2]||(T[2]=(...x)=>b(v)&&b(v)(...x)),onMousedown:T[3]||(T[3]=tt((...x)=>b(h)&&b(h)(...x),["prevent"])),onMouseup:T[4]||(T[4]=(...x)=>b(p)&&b(p)(...x))},[N("tbody",{ref_key:"tbodyRef",ref:o},[N("tr",null,[C.showWeekNumber?(I(),$("th",yze,Oe(b(_)),1)):ue("v-if",!0),(I(!0),$(je,null,Ot(b(a),(x,A)=>(I(),$("th",{key:A,"aria-label":b(S)("el.datepicker.weeksFull."+x),scope:"col"},Oe(b(S)("el.datepicker.weeks."+x)),9,_ze))),128))]),(I(!0),$(je,null,Ot(b(i),(x,A)=>(I(),$("tr",{key:A,class:V(b(E)(x[1]))},[(I(!0),$(je,null,Ot(x,(k,R)=>(I(),$("td",{key:`${A}.${R}`,ref_for:!0,ref:M=>b(d)(k)&&(s.value=M),class:V(b(w)(k)),"aria-current":k.isCurrent?"date":void 0,"aria-selected":k.isCurrent,tabindex:b(d)(k)?0:-1,onFocus:T[0]||(T[0]=(...M)=>b(g)&&b(g)(...M))},[Q(b(gze),{cell:k},null,8,["cell"])],42,bze))),128))],2))),128))],512)],42,mze))}});var $3=De(wze,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue"]]);const Sze=Le({...BT,selectionMode:Iz("month")}),Eze=["aria-label"],Cze=["aria-selected","aria-label","tabindex","onKeydown"],Tze={class:"cell"},xze=te({__name:"basic-month-table",props:Sze,emits:["changerange","pick","select"],setup(e,{expose:t,emit:r}){const n=e,a=(w,E,S)=>{const C=yt().locale(S).startOf("month").month(E).year(w),T=C.daysInMonth();return Gl(T).map(x=>C.add(x,"day").toDate())},i=ke("month-table"),{t:o,lang:s}=Ht(),l=U(),u=U(),c=U(n.date.locale("en").localeData().monthsShort().map(w=>w.toLowerCase())),d=U([[],[],[]]),f=U(),p=U(),h=L(()=>{var w,E;const S=d.value,C=yt().locale(s.value).startOf("month");for(let T=0;T<3;T++){const x=S[T];for(let A=0;A<4;A++){const k=x[A]||(x[A]={row:T,column:A,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});k.type="normal";const R=T*4+A,M=n.date.startOf("year").month(R),O=n.rangeState.endDate||n.maxDate||n.rangeState.selecting&&n.minDate||null;k.inRange=!!(n.minDate&&M.isSameOrAfter(n.minDate,"month")&&O&&M.isSameOrBefore(O,"month"))||!!(n.minDate&&M.isSameOrBefore(n.minDate,"month")&&O&&M.isSameOrAfter(O,"month")),(w=n.minDate)!=null&&w.isSameOrAfter(O)?(k.start=!!(O&&M.isSame(O,"month")),k.end=n.minDate&&M.isSame(n.minDate,"month")):(k.start=!!(n.minDate&&M.isSame(n.minDate,"month")),k.end=!!(O&&M.isSame(O,"month"))),C.isSame(M)&&(k.type="today"),k.text=R,k.disabled=((E=n.disabledDate)==null?void 0:E.call(n,M.toDate()))||!1}}return S}),v=()=>{var w;(w=u.value)==null||w.focus()},g=w=>{const E={},S=n.date.year(),C=new Date,T=w.text;return E.disabled=n.disabledDate?a(S,T,s.value).every(n.disabledDate):!1,E.current=Ts(n.parsedValue).findIndex(x=>yt.isDayjs(x)&&x.year()===S&&x.month()===T)>=0,E.today=C.getFullYear()===S&&C.getMonth()===T,w.inRange&&(E["in-range"]=!0,w.start&&(E["start-date"]=!0),w.end&&(E["end-date"]=!0)),E},m=w=>{const E=n.date.year(),S=w.text;return Ts(n.date).findIndex(C=>C.year()===E&&C.month()===S)>=0},y=w=>{var E;if(!n.rangeState.selecting)return;let S=w.target;if(S.tagName==="A"&&(S=(E=S.parentNode)==null?void 0:E.parentNode),S.tagName==="DIV"&&(S=S.parentNode),S.tagName!=="TD")return;const C=S.parentNode.rowIndex,T=S.cellIndex;h.value[C][T].disabled||(C!==f.value||T!==p.value)&&(f.value=C,p.value=T,r("changerange",{selecting:!0,endDate:n.date.startOf("year").month(C*4+T)}))},_=w=>{var E;const S=(E=w.target)==null?void 0:E.closest("td");if((S==null?void 0:S.tagName)!=="TD"||ao(S,"disabled"))return;const C=S.cellIndex,x=S.parentNode.rowIndex*4+C,A=n.date.startOf("year").month(x);n.selectionMode==="range"?n.rangeState.selecting?(n.minDate&&A>=n.minDate?r("pick",{minDate:n.minDate,maxDate:A}):r("pick",{minDate:A,maxDate:n.minDate}),r("select",!1)):(r("pick",{minDate:A,maxDate:null}),r("select",!0)):r("pick",x)};return Te(()=>n.date,async()=>{var w,E;(w=l.value)!=null&&w.contains(document.activeElement)&&(await Ye(),(E=u.value)==null||E.focus())}),t({focus:v}),(w,E)=>(I(),$("table",{role:"grid","aria-label":b(o)("el.datepicker.monthTablePrompt"),class:V(b(i).b()),onClick:_,onMousemove:y},[N("tbody",{ref_key:"tbodyRef",ref:l},[(I(!0),$(je,null,Ot(b(h),(S,C)=>(I(),$("tr",{key:C},[(I(!0),$(je,null,Ot(S,(T,x)=>(I(),$("td",{key:x,ref_for:!0,ref:A=>m(T)&&(u.value=A),class:V(g(T)),"aria-selected":`${m(T)}`,"aria-label":b(o)(`el.datepicker.month${+T.text+1}`),tabindex:m(T)?0:-1,onKeydown:[Ut(tt(_,["prevent","stop"]),["space"]),Ut(tt(_,["prevent","stop"]),["enter"])]},[N("div",null,[N("span",Tze,Oe(b(o)("el.datepicker.months."+c.value[T.text])),1)])],42,Cze))),128))]))),128))],512)],42,Eze))}});var B3=De(xze,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue"]]);const{date:Aze,disabledDate:kze,parsedValue:Ize}=BT,Rze=Le({date:Aze,disabledDate:kze,parsedValue:Ize}),Mze=["aria-label"],Lze=["aria-selected","tabindex","onKeydown"],Dze={class:"cell"},Oze={key:1},Nze=te({__name:"basic-year-table",props:Rze,emits:["pick"],setup(e,{expose:t,emit:r}){const n=e,a=(v,g)=>{const m=yt(String(v)).locale(g).startOf("year"),_=m.endOf("year").dayOfYear();return Gl(_).map(w=>m.add(w,"day").toDate())},i=ke("year-table"),{t:o,lang:s}=Ht(),l=U(),u=U(),c=L(()=>Math.floor(n.date.year()/10)*10),d=()=>{var v;(v=u.value)==null||v.focus()},f=v=>{const g={},m=yt().locale(s.value);return g.disabled=n.disabledDate?a(v,s.value).every(n.disabledDate):!1,g.current=Ts(n.parsedValue).findIndex(y=>y.year()===v)>=0,g.today=m.year()===v,g},p=v=>v===c.value&&n.date.year()<c.value&&n.date.year()>c.value+9||Ts(n.date).findIndex(g=>g.year()===v)>=0,h=v=>{const m=v.target.closest("td");if(m&&m.textContent){if(ao(m,"disabled"))return;const y=m.textContent||m.innerText;r("pick",Number(y))}};return Te(()=>n.date,async()=>{var v,g;(v=l.value)!=null&&v.contains(document.activeElement)&&(await Ye(),(g=u.value)==null||g.focus())}),t({focus:d}),(v,g)=>(I(),$("table",{role:"grid","aria-label":b(o)("el.datepicker.yearTablePrompt"),class:V(b(i).b()),onClick:h},[N("tbody",{ref_key:"tbodyRef",ref:l},[(I(),$(je,null,Ot(3,(m,y)=>N("tr",{key:y},[(I(),$(je,null,Ot(4,(_,w)=>(I(),$(je,{key:y+"_"+w},[y*4+w<10?(I(),$("td",{key:0,ref_for:!0,ref:E=>p(b(c)+y*4+w)&&(u.value=E),class:V(["available",f(b(c)+y*4+w)]),"aria-selected":`${p(b(c)+y*4+w)}`,tabindex:p(b(c)+y*4+w)?0:-1,onKeydown:[Ut(tt(h,["prevent","stop"]),["space"]),Ut(tt(h,["prevent","stop"]),["enter"])]},[N("span",Dze,Oe(b(c)+y*4+w),1)],42,Lze)):(I(),$("td",Oze))],64))),64))])),64))],512)],10,Mze))}});var Pze=De(Nze,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const $ze=["onClick"],Bze=["aria-label"],Fze=["aria-label"],zze=["aria-label"],Vze=["aria-label"],Hze=te({__name:"panel-date-pick",props:uze,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const r=e,n=(_e,he,de)=>!0,a=ke("picker-panel"),i=ke("date-picker"),o=bd(),s=Cn(),{t:l,lang:u}=Ht(),c=Ue("EP_PICKER_BASE"),d=Ue(L_),{shortcuts:f,disabledDate:p,cellClassName:h,defaultTime:v}=c.props,g=xr(c.props,"defaultValue"),m=U(),y=U(yt().locale(u.value)),_=U(!1);let w=!1;const E=L(()=>yt(v).locale(u.value)),S=L(()=>y.value.month()),C=L(()=>y.value.year()),T=U([]),x=U(null),A=U(null),k=_e=>T.value.length>0?n(_e,T.value,r.format||"HH:mm:ss"):!0,R=_e=>v&&!ie.value&&!_.value&&!w?E.value.year(_e.year()).month(_e.month()).date(_e.date()):se.value?_e.millisecond(0):_e.startOf("day"),M=(_e,...he)=>{if(!_e)t("pick",_e,...he);else if(He(_e)){const de=_e.map(R);t("pick",de,...he)}else t("pick",R(_e),...he);x.value=null,A.value=null,_.value=!1,w=!1},O=(_e,he)=>{if(H.value==="date"){_e=_e;let de=r.parsedValue?r.parsedValue.year(_e.year()).month(_e.month()).date(_e.date()):_e;k(de)||(de=T.value[0][0].year(_e.year()).month(_e.month()).date(_e.date())),y.value=de,M(de,se.value||he)}else H.value==="week"?M(_e.date):H.value==="dates"&&M(_e,!0)},z=_e=>{const he=_e?"add":"subtract";y.value=y.value[he](1,"month"),Je("month")},B=_e=>{const he=y.value,de=_e?"add":"subtract";y.value=P.value==="year"?he[de](10,"year"):he[de](1,"year"),Je("year")},P=U("date"),F=L(()=>{const _e=l("el.datepicker.year");if(P.value==="year"){const he=Math.floor(C.value/10)*10;return _e?`${he} ${_e} - ${he+9} ${_e}`:`${he} - ${he+9}`}return`${C.value} ${_e}`}),D=_e=>{const he=it(_e.value)?_e.value():_e.value;if(he){w=!0,M(yt(he).locale(u.value));return}_e.onClick&&_e.onClick({attrs:o,slots:s,emit:t})},H=L(()=>{const{type:_e}=r;return["week","month","year","dates"].includes(_e)?_e:"date"}),K=L(()=>H.value==="date"?P.value:H.value),Y=L(()=>!!f.length),X=async _e=>{y.value=y.value.startOf("month").month(_e),H.value==="month"?M(y.value,!1):(P.value="date",["month","year","date","week"].includes(H.value)&&(M(y.value,!0),await Ye(),ot())),Je("month")},J=async _e=>{H.value==="year"?(y.value=y.value.startOf("year").year(_e),M(y.value,!1)):(y.value=y.value.year(_e),P.value="month",["month","year","date","week"].includes(H.value)&&(M(y.value,!0),await Ye(),ot())),Je("year")},fe=async _e=>{P.value=_e,await Ye(),ot()},se=L(()=>r.type==="datetime"||r.type==="datetimerange"),q=L(()=>se.value||H.value==="dates"),j=L(()=>p?r.parsedValue?He(r.parsedValue)?p(r.parsedValue[0].toDate()):p(r.parsedValue.toDate()):!0:!1),ae=()=>{if(H.value==="dates")M(r.parsedValue);else{let _e=r.parsedValue;if(!_e){const he=yt(v).locale(u.value),de=We();_e=he.year(de.year()).month(de.month()).date(de.date())}y.value=_e,M(_e)}},ne=L(()=>p?p(yt().locale(u.value).toDate()):!1),le=()=>{const he=yt().locale(u.value).toDate();_.value=!0,(!p||!p(he))&&k(he)&&(y.value=yt().locale(u.value),M(y.value))},W=L(()=>r.timeFormat||DF(r.format)),Z=L(()=>r.dateFormat||LF(r.format)),ie=L(()=>{if(A.value)return A.value;if(!(!r.parsedValue&&!g.value))return(r.parsedValue||y.value).format(W.value)}),me=L(()=>{if(x.value)return x.value;if(!(!r.parsedValue&&!g.value))return(r.parsedValue||y.value).format(Z.value)}),be=U(!1),ge=()=>{be.value=!0},Re=()=>{be.value=!1},Ce=_e=>({hour:_e.hour(),minute:_e.minute(),second:_e.second(),year:_e.year(),month:_e.month(),date:_e.date()}),Ee=(_e,he,de)=>{const{hour:Ae,minute:ee,second:ze}=Ce(_e),st=r.parsedValue?r.parsedValue.hour(Ae).minute(ee).second(ze):_e;y.value=st,M(y.value,!0),de||(be.value=he)},xe=_e=>{const he=yt(_e,W.value).locale(u.value);if(he.isValid()&&k(he)){const{year:de,month:Ae,date:ee}=Ce(y.value);y.value=he.year(de).month(Ae).date(ee),A.value=null,be.value=!1,M(y.value,!0)}},$e=_e=>{const he=yt(_e,Z.value).locale(u.value);if(he.isValid()){if(p&&p(he.toDate()))return;const{hour:de,minute:Ae,second:ee}=Ce(y.value);y.value=he.hour(de).minute(Ae).second(ee),x.value=null,M(y.value,!0)}},Fe=_e=>yt.isDayjs(_e)&&_e.isValid()&&(p?!p(_e.toDate()):!0),Ge=_e=>H.value==="dates"?_e.map(he=>he.format(r.format)):_e.format(r.format),Ie=_e=>yt(_e,r.format).locale(u.value),We=()=>{const _e=yt(g.value).locale(u.value);if(!g.value){const he=E.value;return yt().hour(he.hour()).minute(he.minute()).second(he.second()).locale(u.value)}return _e},ot=async()=>{var _e;["week","month","year","date"].includes(H.value)&&((_e=m.value)==null||_e.focus(),H.value==="week"&&At(Xe.down))},dt=_e=>{const{code:he}=_e;[Xe.up,Xe.down,Xe.left,Xe.right,Xe.home,Xe.end,Xe.pageUp,Xe.pageDown].includes(he)&&(At(he),_e.stopPropagation(),_e.preventDefault()),[Xe.enter,Xe.space,Xe.numpadEnter].includes(he)&&x.value===null&&A.value===null&&(_e.preventDefault(),M(y.value,!1))},At=_e=>{var he;const{up:de,down:Ae,left:ee,right:ze,home:st,end:Mt,pageUp:Ur,pageDown:jr}=Xe,zi={year:{[de]:-4,[Ae]:4,[ee]:-1,[ze]:1,offset:(we,Be)=>we.setFullYear(we.getFullYear()+Be)},month:{[de]:-4,[Ae]:4,[ee]:-1,[ze]:1,offset:(we,Be)=>we.setMonth(we.getMonth()+Be)},week:{[de]:-1,[Ae]:1,[ee]:-1,[ze]:1,offset:(we,Be)=>we.setDate(we.getDate()+Be*7)},date:{[de]:-7,[Ae]:7,[ee]:-1,[ze]:1,[st]:we=>-we.getDay(),[Mt]:we=>-we.getDay()+6,[Ur]:we=>-new Date(we.getFullYear(),we.getMonth(),0).getDate(),[jr]:we=>new Date(we.getFullYear(),we.getMonth()+1,0).getDate(),offset:(we,Be)=>we.setDate(we.getDate()+Be)}},Tn=y.value.toDate();for(;Math.abs(y.value.diff(Tn,"year",!0))<1;){const we=zi[K.value];if(!we)return;if(we.offset(Tn,it(we[_e])?we[_e](Tn):(he=we[_e])!=null?he:0),p&&p(Tn))break;const Be=yt(Tn).locale(u.value);y.value=Be,t("pick",Be,!0);break}},Je=_e=>{t("panel-change",y.value.toDate(),_e,P.value)};return Te(()=>H.value,_e=>{if(["month","year"].includes(_e)){P.value=_e;return}P.value="date"},{immediate:!0}),Te(()=>P.value,()=>{d==null||d.updatePopper()}),Te(()=>g.value,_e=>{_e&&(y.value=We())},{immediate:!0}),Te(()=>r.parsedValue,_e=>{if(_e){if(H.value==="dates"||Array.isArray(_e))return;y.value=_e}else y.value=We()},{immediate:!0}),t("set-picker-option",["isValidValue",Fe]),t("set-picker-option",["formatToString",Ge]),t("set-picker-option",["parseUserInput",Ie]),t("set-picker-option",["handleFocusPicker",ot]),(_e,he)=>(I(),$("div",{class:V([b(a).b(),b(i).b(),{"has-sidebar":_e.$slots.sidebar||b(Y),"has-time":b(se)}])},[N("div",{class:V(b(a).e("body-wrapper"))},[Se(_e.$slots,"sidebar",{class:V(b(a).e("sidebar"))}),b(Y)?(I(),$("div",{key:0,class:V(b(a).e("sidebar"))},[(I(!0),$(je,null,Ot(b(f),(de,Ae)=>(I(),$("button",{key:Ae,type:"button",class:V(b(a).e("shortcut")),onClick:ee=>D(de)},Oe(de.text),11,$ze))),128))],2)):ue("v-if",!0),N("div",{class:V(b(a).e("body"))},[b(se)?(I(),$("div",{key:0,class:V(b(i).e("time-header"))},[N("span",{class:V(b(i).e("editor-wrap"))},[Q(b(Un),{placeholder:b(l)("el.datepicker.selectDate"),"model-value":b(me),size:"small","validate-event":!1,onInput:he[0]||(he[0]=de=>x.value=de),onChange:$e},null,8,["placeholder","model-value"])],2),ct((I(),$("span",{class:V(b(i).e("editor-wrap"))},[Q(b(Un),{placeholder:b(l)("el.datepicker.selectTime"),"model-value":b(ie),size:"small","validate-event":!1,onFocus:ge,onInput:he[1]||(he[1]=de=>A.value=de),onChange:xe},null,8,["placeholder","model-value"]),Q(b(P1),{visible:be.value,format:b(W),"parsed-value":y.value,onPick:Ee},null,8,["visible","format","parsed-value"])],2)),[[b(ru),Re]])],2)):ue("v-if",!0),ct(N("div",{class:V([b(i).e("header"),(P.value==="year"||P.value==="month")&&b(i).e("header--bordered")])},[N("span",{class:V(b(i).e("prev-btn"))},[N("button",{type:"button","aria-label":b(l)("el.datepicker.prevYear"),class:V(["d-arrow-left",b(a).e("icon-btn")]),onClick:he[2]||(he[2]=de=>B(!1))},[Q(b(Ke),null,{default:oe(()=>[Q(b(sd))]),_:1})],10,Bze),ct(N("button",{type:"button","aria-label":b(l)("el.datepicker.prevMonth"),class:V([b(a).e("icon-btn"),"arrow-left"]),onClick:he[3]||(he[3]=de=>z(!1))},[Q(b(Ke),null,{default:oe(()=>[Q(b(Ds))]),_:1})],10,Fze),[[Gt,P.value==="date"]])],2),N("span",{role:"button",class:V(b(i).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:he[4]||(he[4]=Ut(de=>fe("year"),["enter"])),onClick:he[5]||(he[5]=de=>fe("year"))},Oe(b(F)),35),ct(N("span",{role:"button","aria-live":"polite",tabindex:"0",class:V([b(i).e("header-label"),{active:P.value==="month"}]),onKeydown:he[6]||(he[6]=Ut(de=>fe("month"),["enter"])),onClick:he[7]||(he[7]=de=>fe("month"))},Oe(b(l)(`el.datepicker.month${b(S)+1}`)),35),[[Gt,P.value==="date"]]),N("span",{class:V(b(i).e("next-btn"))},[ct(N("button",{type:"button","aria-label":b(l)("el.datepicker.nextMonth"),class:V([b(a).e("icon-btn"),"arrow-right"]),onClick:he[8]||(he[8]=de=>z(!0))},[Q(b(Ke),null,{default:oe(()=>[Q(b(Gn))]),_:1})],10,zze),[[Gt,P.value==="date"]]),N("button",{type:"button","aria-label":b(l)("el.datepicker.nextYear"),class:V([b(a).e("icon-btn"),"d-arrow-right"]),onClick:he[9]||(he[9]=de=>B(!0))},[Q(b(Ke),null,{default:oe(()=>[Q(b(ld))]),_:1})],10,Vze)],2)],2),[[Gt,P.value!=="time"]]),N("div",{class:V(b(a).e("content")),onKeydown:dt},[P.value==="date"?(I(),pe($3,{key:0,ref_key:"currentViewRef",ref:m,"selection-mode":b(H),date:y.value,"parsed-value":_e.parsedValue,"disabled-date":b(p),"cell-class-name":b(h),onPick:O},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):ue("v-if",!0),P.value==="year"?(I(),pe(Pze,{key:1,ref_key:"currentViewRef",ref:m,date:y.value,"disabled-date":b(p),"parsed-value":_e.parsedValue,onPick:J},null,8,["date","disabled-date","parsed-value"])):ue("v-if",!0),P.value==="month"?(I(),pe(B3,{key:2,ref_key:"currentViewRef",ref:m,date:y.value,"parsed-value":_e.parsedValue,"disabled-date":b(p),onPick:X},null,8,["date","parsed-value","disabled-date"])):ue("v-if",!0)],34)],2)],2),ct(N("div",{class:V(b(a).e("footer"))},[ct(Q(b(Mn),{text:"",size:"small",class:V(b(a).e("link-btn")),disabled:b(ne),onClick:le},{default:oe(()=>[Kt(Oe(b(l)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[Gt,b(H)!=="dates"]]),Q(b(Mn),{plain:"",size:"small",class:V(b(a).e("link-btn")),disabled:b(j),onClick:ae},{default:oe(()=>[Kt(Oe(b(l)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2),[[Gt,b(q)&&P.value==="date"]])],2))}});var Uze=De(Hze,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue"]]);const Gze=Le({...Az,...kz}),Wze=e=>{const{emit:t}=mt(),r=bd(),n=Cn();return i=>{const o=it(i.value)?i.value():i.value;if(o){t("pick",[yt(o[0]).locale(e.value),yt(o[1]).locale(e.value)]);return}i.onClick&&i.onClick({attrs:r,slots:n,emit:t})}},Mz=(e,{defaultValue:t,leftDate:r,rightDate:n,unit:a,onParsedValueChanged:i})=>{const{emit:o}=mt(),{pickerNs:s}=Ue($T),l=ke("date-range-picker"),{t:u,lang:c}=Ht(),d=Wze(c),f=U(),p=U(),h=U({endDate:null,selecting:!1}),v=_=>{h.value=_},g=(_=!1)=>{const w=b(f),E=b(p);N3([w,E])&&o("pick",[w,E],_)},m=_=>{h.value.selecting=_,_||(h.value.endDate=null)},y=()=>{const[_,w]=Rz(b(t),{lang:b(c),unit:a,unlinkPanels:e.unlinkPanels});f.value=void 0,p.value=void 0,r.value=_,n.value=w};return Te(t,_=>{_&&y()},{immediate:!0}),Te(()=>e.parsedValue,_=>{if(He(_)&&_.length===2){const[w,E]=_;f.value=w,r.value=w,p.value=E,i(b(f),b(p))}else y()},{immediate:!0}),{minDate:f,maxDate:p,rangeState:h,lang:c,ppNs:s,drpNs:l,handleChangeRange:v,handleRangeConfirm:g,handleShortcutClick:d,onSelect:m,t:u}},Kze=["onClick"],Yze=["aria-label"],qze=["aria-label"],jze=["disabled","aria-label"],Xze=["disabled","aria-label"],Zze=["disabled","aria-label"],Qze=["disabled","aria-label"],Jze=["aria-label"],eVe=["aria-label"],u0="month",tVe=te({__name:"panel-date-range",props:Gze,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,{emit:t}){const r=e,n=Ue("EP_PICKER_BASE"),{disabledDate:a,cellClassName:i,format:o,defaultTime:s,clearable:l}=n.props,u=xr(n.props,"shortcuts"),c=xr(n.props,"defaultValue"),{lang:d}=Ht(),f=U(yt().locale(d.value)),p=U(yt().locale(d.value).add(1,u0)),{minDate:h,maxDate:v,rangeState:g,ppNs:m,drpNs:y,handleChangeRange:_,handleRangeConfirm:w,handleShortcutClick:E,onSelect:S,t:C}=Mz(r,{defaultValue:c,leftDate:f,rightDate:p,unit:u0,onParsedValueChanged:he}),T=U({min:null,max:null}),x=U({min:null,max:null}),A=L(()=>`${f.value.year()} ${C("el.datepicker.year")} ${C(`el.datepicker.month${f.value.month()+1}`)}`),k=L(()=>`${p.value.year()} ${C("el.datepicker.year")} ${C(`el.datepicker.month${p.value.month()+1}`)}`),R=L(()=>f.value.year()),M=L(()=>f.value.month()),O=L(()=>p.value.year()),z=L(()=>p.value.month()),B=L(()=>!!u.value.length),P=L(()=>T.value.min!==null?T.value.min:h.value?h.value.format(Y.value):""),F=L(()=>T.value.max!==null?T.value.max:v.value||h.value?(v.value||h.value).format(Y.value):""),D=L(()=>x.value.min!==null?x.value.min:h.value?h.value.format(K.value):""),H=L(()=>x.value.max!==null?x.value.max:v.value||h.value?(v.value||h.value).format(K.value):""),K=L(()=>r.timeFormat||DF(o)),Y=L(()=>r.dateFormat||LF(o)),X=de=>N3(de)&&(a?!a(de[0].toDate())&&!a(de[1].toDate()):!0),J=()=>{f.value=f.value.subtract(1,"year"),r.unlinkPanels||(p.value=f.value.add(1,"month")),W("year")},fe=()=>{f.value=f.value.subtract(1,"month"),r.unlinkPanels||(p.value=f.value.add(1,"month")),W("month")},se=()=>{r.unlinkPanels?p.value=p.value.add(1,"year"):(f.value=f.value.add(1,"year"),p.value=f.value.add(1,"month")),W("year")},q=()=>{r.unlinkPanels?p.value=p.value.add(1,"month"):(f.value=f.value.add(1,"month"),p.value=f.value.add(1,"month")),W("month")},j=()=>{f.value=f.value.add(1,"year"),W("year")},ae=()=>{f.value=f.value.add(1,"month"),W("month")},ne=()=>{p.value=p.value.subtract(1,"year"),W("year")},le=()=>{p.value=p.value.subtract(1,"month"),W("month")},W=de=>{t("panel-change",[f.value.toDate(),p.value.toDate()],de)},Z=L(()=>{const de=(M.value+1)%12,Ae=M.value+1>=12?1:0;return r.unlinkPanels&&new Date(R.value+Ae,de)<new Date(O.value,z.value)}),ie=L(()=>r.unlinkPanels&&O.value*12+z.value-(R.value*12+M.value+1)>=12),me=L(()=>!(h.value&&v.value&&!g.value.selecting&&N3([h.value,v.value]))),be=L(()=>r.type==="datetime"||r.type==="datetimerange"),ge=(de,Ae)=>{if(de)return s?yt(s[Ae]||s).locale(d.value).year(de.year()).month(de.month()).date(de.date()):de},Re=(de,Ae=!0)=>{const ee=de.minDate,ze=de.maxDate,st=ge(ee,0),Mt=ge(ze,1);v.value===Mt&&h.value===st||(t("calendar-change",[ee.toDate(),ze&&ze.toDate()]),v.value=Mt,h.value=st,!(!Ae||be.value)&&w())},Ce=U(!1),Ee=U(!1),xe=()=>{Ce.value=!1},$e=()=>{Ee.value=!1},Fe=(de,Ae)=>{T.value[Ae]=de;const ee=yt(de,Y.value).locale(d.value);if(ee.isValid()){if(a&&a(ee.toDate()))return;Ae==="min"?(f.value=ee,h.value=(h.value||f.value).year(ee.year()).month(ee.month()).date(ee.date()),!r.unlinkPanels&&(!v.value||v.value.isBefore(h.value))&&(p.value=ee.add(1,"month"),v.value=h.value.add(1,"month"))):(p.value=ee,v.value=(v.value||p.value).year(ee.year()).month(ee.month()).date(ee.date()),!r.unlinkPanels&&(!h.value||h.value.isAfter(v.value))&&(f.value=ee.subtract(1,"month"),h.value=v.value.subtract(1,"month")))}},Ge=(de,Ae)=>{T.value[Ae]=null},Ie=(de,Ae)=>{x.value[Ae]=de;const ee=yt(de,K.value).locale(d.value);ee.isValid()&&(Ae==="min"?(Ce.value=!0,h.value=(h.value||f.value).hour(ee.hour()).minute(ee.minute()).second(ee.second()),(!v.value||v.value.isBefore(h.value))&&(v.value=h.value)):(Ee.value=!0,v.value=(v.value||p.value).hour(ee.hour()).minute(ee.minute()).second(ee.second()),p.value=v.value,v.value&&v.value.isBefore(h.value)&&(h.value=v.value)))},We=(de,Ae)=>{x.value[Ae]=null,Ae==="min"?(f.value=h.value,Ce.value=!1):(p.value=v.value,Ee.value=!1)},ot=(de,Ae,ee)=>{x.value.min||(de&&(f.value=de,h.value=(h.value||f.value).hour(de.hour()).minute(de.minute()).second(de.second())),ee||(Ce.value=Ae),(!v.value||v.value.isBefore(h.value))&&(v.value=h.value,p.value=de))},dt=(de,Ae,ee)=>{x.value.max||(de&&(p.value=de,v.value=(v.value||p.value).hour(de.hour()).minute(de.minute()).second(de.second())),ee||(Ee.value=Ae),v.value&&v.value.isBefore(h.value)&&(h.value=v.value))},At=()=>{f.value=Rz(b(c),{lang:b(d),unit:"month",unlinkPanels:r.unlinkPanels})[0],p.value=f.value.add(1,"month"),t("pick",null)},Je=de=>He(de)?de.map(Ae=>Ae.format(o)):de.format(o),_e=de=>He(de)?de.map(Ae=>yt(Ae,o).locale(d.value)):yt(de,o).locale(d.value);function he(de,Ae){if(r.unlinkPanels&&Ae){const ee=(de==null?void 0:de.year())||0,ze=(de==null?void 0:de.month())||0,st=Ae.year(),Mt=Ae.month();p.value=ee===st&&ze===Mt?Ae.add(1,u0):Ae}else p.value=f.value.add(1,u0),Ae&&(p.value=p.value.hour(Ae.hour()).minute(Ae.minute()).second(Ae.second()))}return t("set-picker-option",["isValidValue",X]),t("set-picker-option",["parseUserInput",_e]),t("set-picker-option",["formatToString",Je]),t("set-picker-option",["handleClear",At]),(de,Ae)=>(I(),$("div",{class:V([b(m).b(),b(y).b(),{"has-sidebar":de.$slots.sidebar||b(B),"has-time":b(be)}])},[N("div",{class:V(b(m).e("body-wrapper"))},[Se(de.$slots,"sidebar",{class:V(b(m).e("sidebar"))}),b(B)?(I(),$("div",{key:0,class:V(b(m).e("sidebar"))},[(I(!0),$(je,null,Ot(b(u),(ee,ze)=>(I(),$("button",{key:ze,type:"button",class:V(b(m).e("shortcut")),onClick:st=>b(E)(ee)},Oe(ee.text),11,Kze))),128))],2)):ue("v-if",!0),N("div",{class:V(b(m).e("body"))},[b(be)?(I(),$("div",{key:0,class:V(b(y).e("time-header"))},[N("span",{class:V(b(y).e("editors-wrap"))},[N("span",{class:V(b(y).e("time-picker-wrap"))},[Q(b(Un),{size:"small",disabled:b(g).selecting,placeholder:b(C)("el.datepicker.startDate"),class:V(b(y).e("editor")),"model-value":b(P),"validate-event":!1,onInput:Ae[0]||(Ae[0]=ee=>Fe(ee,"min")),onChange:Ae[1]||(Ae[1]=ee=>Ge(ee,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),ct((I(),$("span",{class:V(b(y).e("time-picker-wrap"))},[Q(b(Un),{size:"small",class:V(b(y).e("editor")),disabled:b(g).selecting,placeholder:b(C)("el.datepicker.startTime"),"model-value":b(D),"validate-event":!1,onFocus:Ae[2]||(Ae[2]=ee=>Ce.value=!0),onInput:Ae[3]||(Ae[3]=ee=>Ie(ee,"min")),onChange:Ae[4]||(Ae[4]=ee=>We(ee,"min"))},null,8,["class","disabled","placeholder","model-value"]),Q(b(P1),{visible:Ce.value,format:b(K),"datetime-role":"start","parsed-value":f.value,onPick:ot},null,8,["visible","format","parsed-value"])],2)),[[b(ru),xe]])],2),N("span",null,[Q(b(Ke),null,{default:oe(()=>[Q(b(Gn))]),_:1})]),N("span",{class:V([b(y).e("editors-wrap"),"is-right"])},[N("span",{class:V(b(y).e("time-picker-wrap"))},[Q(b(Un),{size:"small",class:V(b(y).e("editor")),disabled:b(g).selecting,placeholder:b(C)("el.datepicker.endDate"),"model-value":b(F),readonly:!b(h),"validate-event":!1,onInput:Ae[5]||(Ae[5]=ee=>Fe(ee,"max")),onChange:Ae[6]||(Ae[6]=ee=>Ge(ee,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),ct((I(),$("span",{class:V(b(y).e("time-picker-wrap"))},[Q(b(Un),{size:"small",class:V(b(y).e("editor")),disabled:b(g).selecting,placeholder:b(C)("el.datepicker.endTime"),"model-value":b(H),readonly:!b(h),"validate-event":!1,onFocus:Ae[7]||(Ae[7]=ee=>b(h)&&(Ee.value=!0)),onInput:Ae[8]||(Ae[8]=ee=>Ie(ee,"max")),onChange:Ae[9]||(Ae[9]=ee=>We(ee,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),Q(b(P1),{"datetime-role":"end",visible:Ee.value,format:b(K),"parsed-value":p.value,onPick:dt},null,8,["visible","format","parsed-value"])],2)),[[b(ru),$e]])],2)],2)):ue("v-if",!0),N("div",{class:V([[b(m).e("content"),b(y).e("content")],"is-left"])},[N("div",{class:V(b(y).e("header"))},[N("button",{type:"button",class:V([b(m).e("icon-btn"),"d-arrow-left"]),"aria-label":b(C)("el.datepicker.prevYear"),onClick:J},[Q(b(Ke),null,{default:oe(()=>[Q(b(sd))]),_:1})],10,Yze),N("button",{type:"button",class:V([b(m).e("icon-btn"),"arrow-left"]),"aria-label":b(C)("el.datepicker.prevMonth"),onClick:fe},[Q(b(Ke),null,{default:oe(()=>[Q(b(Ds))]),_:1})],10,qze),de.unlinkPanels?(I(),$("button",{key:0,type:"button",disabled:!b(ie),class:V([[b(m).e("icon-btn"),{"is-disabled":!b(ie)}],"d-arrow-right"]),"aria-label":b(C)("el.datepicker.nextYear"),onClick:j},[Q(b(Ke),null,{default:oe(()=>[Q(b(ld))]),_:1})],10,jze)):ue("v-if",!0),de.unlinkPanels?(I(),$("button",{key:1,type:"button",disabled:!b(Z),class:V([[b(m).e("icon-btn"),{"is-disabled":!b(Z)}],"arrow-right"]),"aria-label":b(C)("el.datepicker.nextMonth"),onClick:ae},[Q(b(Ke),null,{default:oe(()=>[Q(b(Gn))]),_:1})],10,Xze)):ue("v-if",!0),N("div",null,Oe(b(A)),1)],2),Q($3,{"selection-mode":"range",date:f.value,"min-date":b(h),"max-date":b(v),"range-state":b(g),"disabled-date":b(a),"cell-class-name":b(i),onChangerange:b(_),onPick:Re,onSelect:b(S)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),N("div",{class:V([[b(m).e("content"),b(y).e("content")],"is-right"])},[N("div",{class:V(b(y).e("header"))},[de.unlinkPanels?(I(),$("button",{key:0,type:"button",disabled:!b(ie),class:V([[b(m).e("icon-btn"),{"is-disabled":!b(ie)}],"d-arrow-left"]),"aria-label":b(C)("el.datepicker.prevYear"),onClick:ne},[Q(b(Ke),null,{default:oe(()=>[Q(b(sd))]),_:1})],10,Zze)):ue("v-if",!0),de.unlinkPanels?(I(),$("button",{key:1,type:"button",disabled:!b(Z),class:V([[b(m).e("icon-btn"),{"is-disabled":!b(Z)}],"arrow-left"]),"aria-label":b(C)("el.datepicker.prevMonth"),onClick:le},[Q(b(Ke),null,{default:oe(()=>[Q(b(Ds))]),_:1})],10,Qze)):ue("v-if",!0),N("button",{type:"button","aria-label":b(C)("el.datepicker.nextYear"),class:V([b(m).e("icon-btn"),"d-arrow-right"]),onClick:se},[Q(b(Ke),null,{default:oe(()=>[Q(b(ld))]),_:1})],10,Jze),N("button",{type:"button",class:V([b(m).e("icon-btn"),"arrow-right"]),"aria-label":b(C)("el.datepicker.nextMonth"),onClick:q},[Q(b(Ke),null,{default:oe(()=>[Q(b(Gn))]),_:1})],10,eVe),N("div",null,Oe(b(k)),1)],2),Q($3,{"selection-mode":"range",date:p.value,"min-date":b(h),"max-date":b(v),"range-state":b(g),"disabled-date":b(a),"cell-class-name":b(i),onChangerange:b(_),onPick:Re,onSelect:b(S)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),b(be)?(I(),$("div",{key:0,class:V(b(m).e("footer"))},[b(l)?(I(),pe(b(Mn),{key:0,text:"",size:"small",class:V(b(m).e("link-btn")),onClick:At},{default:oe(()=>[Kt(Oe(b(C)("el.datepicker.clear")),1)]),_:1},8,["class"])):ue("v-if",!0),Q(b(Mn),{plain:"",size:"small",class:V(b(m).e("link-btn")),disabled:b(me),onClick:Ae[10]||(Ae[10]=ee=>b(w)(!1))},{default:oe(()=>[Kt(Oe(b(C)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):ue("v-if",!0)],2))}});var rVe=De(tVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue"]]);const nVe=Le({...kz}),aVe=["pick","set-picker-option","calendar-change"],iVe=({unlinkPanels:e,leftDate:t,rightDate:r})=>{const{t:n}=Ht(),a=()=>{t.value=t.value.subtract(1,"year"),e.value||(r.value=r.value.subtract(1,"year"))},i=()=>{e.value||(t.value=t.value.add(1,"year")),r.value=r.value.add(1,"year")},o=()=>{t.value=t.value.add(1,"year")},s=()=>{r.value=r.value.subtract(1,"year")},l=L(()=>`${t.value.year()} ${n("el.datepicker.year")}`),u=L(()=>`${r.value.year()} ${n("el.datepicker.year")}`),c=L(()=>t.value.year()),d=L(()=>r.value.year()===t.value.year()?t.value.year()+1:r.value.year());return{leftPrevYear:a,rightNextYear:i,leftNextYear:o,rightPrevYear:s,leftLabel:l,rightLabel:u,leftYear:c,rightYear:d}},oVe=["onClick"],sVe=["disabled"],lVe=["disabled"],c0="year",uVe=te({name:"DatePickerMonthRange"}),cVe=te({...uVe,props:nVe,emits:aVe,setup(e,{emit:t}){const r=e,{lang:n}=Ht(),a=Ue("EP_PICKER_BASE"),{shortcuts:i,disabledDate:o,format:s}=a.props,l=xr(a.props,"defaultValue"),u=U(yt().locale(n.value)),c=U(yt().locale(n.value).add(1,c0)),{minDate:d,maxDate:f,rangeState:p,ppNs:h,drpNs:v,handleChangeRange:g,handleRangeConfirm:m,handleShortcutClick:y,onSelect:_}=Mz(r,{defaultValue:l,leftDate:u,rightDate:c,unit:c0,onParsedValueChanged:B}),w=L(()=>!!i.length),{leftPrevYear:E,rightNextYear:S,leftNextYear:C,rightPrevYear:T,leftLabel:x,rightLabel:A,leftYear:k,rightYear:R}=iVe({unlinkPanels:xr(r,"unlinkPanels"),leftDate:u,rightDate:c}),M=L(()=>r.unlinkPanels&&R.value>k.value+1),O=(P,F=!0)=>{const D=P.minDate,H=P.maxDate;f.value===H&&d.value===D||(t("calendar-change",[D.toDate(),H&&H.toDate()]),f.value=H,d.value=D,F&&m())},z=P=>P.map(F=>F.format(s));function B(P,F){if(r.unlinkPanels&&F){const D=(P==null?void 0:P.year())||0,H=F.year();c.value=D===H?F.add(1,c0):F}else c.value=u.value.add(1,c0)}return t("set-picker-option",["formatToString",z]),(P,F)=>(I(),$("div",{class:V([b(h).b(),b(v).b(),{"has-sidebar":!!P.$slots.sidebar||b(w)}])},[N("div",{class:V(b(h).e("body-wrapper"))},[Se(P.$slots,"sidebar",{class:V(b(h).e("sidebar"))}),b(w)?(I(),$("div",{key:0,class:V(b(h).e("sidebar"))},[(I(!0),$(je,null,Ot(b(i),(D,H)=>(I(),$("button",{key:H,type:"button",class:V(b(h).e("shortcut")),onClick:K=>b(y)(D)},Oe(D.text),11,oVe))),128))],2)):ue("v-if",!0),N("div",{class:V(b(h).e("body"))},[N("div",{class:V([[b(h).e("content"),b(v).e("content")],"is-left"])},[N("div",{class:V(b(v).e("header"))},[N("button",{type:"button",class:V([b(h).e("icon-btn"),"d-arrow-left"]),onClick:F[0]||(F[0]=(...D)=>b(E)&&b(E)(...D))},[Q(b(Ke),null,{default:oe(()=>[Q(b(sd))]),_:1})],2),P.unlinkPanels?(I(),$("button",{key:0,type:"button",disabled:!b(M),class:V([[b(h).e("icon-btn"),{[b(h).is("disabled")]:!b(M)}],"d-arrow-right"]),onClick:F[1]||(F[1]=(...D)=>b(C)&&b(C)(...D))},[Q(b(Ke),null,{default:oe(()=>[Q(b(ld))]),_:1})],10,sVe)):ue("v-if",!0),N("div",null,Oe(b(x)),1)],2),Q(B3,{"selection-mode":"range",date:u.value,"min-date":b(d),"max-date":b(f),"range-state":b(p),"disabled-date":b(o),onChangerange:b(g),onPick:O,onSelect:b(_)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),N("div",{class:V([[b(h).e("content"),b(v).e("content")],"is-right"])},[N("div",{class:V(b(v).e("header"))},[P.unlinkPanels?(I(),$("button",{key:0,type:"button",disabled:!b(M),class:V([[b(h).e("icon-btn"),{"is-disabled":!b(M)}],"d-arrow-left"]),onClick:F[2]||(F[2]=(...D)=>b(T)&&b(T)(...D))},[Q(b(Ke),null,{default:oe(()=>[Q(b(sd))]),_:1})],10,lVe)):ue("v-if",!0),N("button",{type:"button",class:V([b(h).e("icon-btn"),"d-arrow-right"]),onClick:F[3]||(F[3]=(...D)=>b(S)&&b(S)(...D))},[Q(b(Ke),null,{default:oe(()=>[Q(b(ld))]),_:1})],2),N("div",null,Oe(b(A)),1)],2),Q(B3,{"selection-mode":"range",date:c.value,"min-date":b(d),"max-date":b(f),"range-state":b(p),"disabled-date":b(o),onChangerange:b(g),onPick:O,onSelect:b(_)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var dVe=De(cVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]);const fVe=function(e){switch(e){case"daterange":case"datetimerange":return rVe;case"monthrange":return dVe;default:return Uze}};yt.extend(jF);yt.extend(XFe);yt.extend(DT);yt.extend(QFe);yt.extend(eze);yt.extend(rze);yt.extend(aze);yt.extend(oze);var pVe=te({name:"ElDatePicker",install:null,props:sze,emits:["update:modelValue"],setup(e,{expose:t,emit:r,slots:n}){const a=ke("picker-panel");It("ElPopperOptions",qt(xr(e,"popperOptions"))),It($T,{slots:n,pickerNs:a});const i=U();t({focus:(l=!0)=>{var u;(u=i.value)==null||u.focus(l)},handleOpen:()=>{var l;(l=i.value)==null||l.handleOpen()},handleClose:()=>{var l;(l=i.value)==null||l.handleClose()}});const s=l=>{r("update:modelValue",l)};return()=>{var l;const u=(l=e.format)!=null?l:K9e[e.type]||df,c=fVe(e.type);return Q(PF,Tt(e,{format:u,type:e.type,ref:i,"onUpdate:modelValue":s}),{default:d=>Q(c,d,null),"range-separator":n["range-separator"]})}}});const $y=pVe;$y.install=e=>{e.component($y.name,$y)};const hVe=$y,FT=Symbol("elDescriptions");var lh=te({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:Ue(FT,{})}},render(){var e,t,r,n,a,i,o;const s=eDe(this.cell),l=(((e=this.cell)==null?void 0:e.dirs)||[]).map(E=>{const{dir:S,arg:C,modifiers:T,value:x}=E;return[S,x,C,T]}),{border:u,direction:c}=this.descriptions,d=c==="vertical",f=((n=(r=(t=this.cell)==null?void 0:t.children)==null?void 0:r.label)==null?void 0:n.call(r))||s.label,p=(o=(i=(a=this.cell)==null?void 0:a.children)==null?void 0:i.default)==null?void 0:o.call(i),h=s.span,v=s.align?`is-${s.align}`:"",g=s.labelAlign?`is-${s.labelAlign}`:v,m=s.className,y=s.labelClassName,_={width:Nr(s.width),minWidth:Nr(s.minWidth)},w=ke("descriptions");switch(this.type){case"label":return ct(Qe(this.tag,{style:_,class:[w.e("cell"),w.e("label"),w.is("bordered-label",u),w.is("vertical-label",d),g,y],colSpan:d?h:1},f),l);case"content":return ct(Qe(this.tag,{style:_,class:[w.e("cell"),w.e("content"),w.is("bordered-content",u),w.is("vertical-content",d),v,m],colSpan:d?h:h*2-1},p),l);default:return ct(Qe("td",{style:_,class:[w.e("cell"),v],colSpan:h},[Yr(f)?void 0:Qe("span",{class:[w.e("label"),y]},f),Qe("span",{class:[w.e("content"),m]},p)]),l)}}});const vVe=Le({row:{type:ce(Array),default:()=>[]}}),gVe={key:1},mVe=te({name:"ElDescriptionsRow"}),yVe=te({...mVe,props:vVe,setup(e){const t=Ue(FT,{});return(r,n)=>b(t).direction==="vertical"?(I(),$(je,{key:0},[N("tr",null,[(I(!0),$(je,null,Ot(r.row,(a,i)=>(I(),pe(b(lh),{key:`tr1-${i}`,cell:a,tag:"th",type:"label"},null,8,["cell"]))),128))]),N("tr",null,[(I(!0),$(je,null,Ot(r.row,(a,i)=>(I(),pe(b(lh),{key:`tr2-${i}`,cell:a,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(I(),$("tr",gVe,[(I(!0),$(je,null,Ot(r.row,(a,i)=>(I(),$(je,{key:`tr3-${i}`},[b(t).border?(I(),$(je,{key:0},[Q(b(lh),{cell:a,tag:"td",type:"label"},null,8,["cell"]),Q(b(lh),{cell:a,tag:"td",type:"content"},null,8,["cell"])],64)):(I(),pe(b(lh),{key:1,cell:a,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var _Ve=De(yVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);const bVe=Le({border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:On,title:{type:String,default:""},extra:{type:String,default:""}}),wVe=te({name:"ElDescriptions"}),SVe=te({...wVe,props:bVe,setup(e){const t=e,r=ke("descriptions"),n=nn(),a=Cn();It(FT,t);const i=L(()=>[r.b(),r.m(n.value)]),o=(l,u,c,d=!1)=>(l.props||(l.props={}),u>c&&(l.props.span=c),d&&(l.props.span=u),l),s=()=>{if(!a.default)return[];const l=Fc(a.default()).filter(p=>{var h;return((h=p==null?void 0:p.type)==null?void 0:h.name)==="ElDescriptionsItem"}),u=[];let c=[],d=t.column,f=0;return l.forEach((p,h)=>{var v;const g=((v=p.props)==null?void 0:v.span)||1;if(h<l.length-1&&(f+=g>d?d:g),h===l.length-1){const m=t.column-f%t.column;c.push(o(p,m,d,!0)),u.push(c);return}g<d?(d-=g,c.push(p)):(c.push(o(p,g,d)),u.push(c),d=t.column,c=[])}),u};return(l,u)=>(I(),$("div",{class:V(b(i))},[l.title||l.extra||l.$slots.title||l.$slots.extra?(I(),$("div",{key:0,class:V(b(r).e("header"))},[N("div",{class:V(b(r).e("title"))},[Se(l.$slots,"title",{},()=>[Kt(Oe(l.title),1)])],2),N("div",{class:V(b(r).e("extra"))},[Se(l.$slots,"extra",{},()=>[Kt(Oe(l.extra),1)])],2)],2)):ue("v-if",!0),N("div",{class:V(b(r).e("body"))},[N("table",{class:V([b(r).e("table"),b(r).is("bordered",l.border)])},[N("tbody",null,[(I(!0),$(je,null,Ot(s(),(c,d)=>(I(),pe(_Ve,{key:d,row:c},null,8,["row"]))),128))])],2)],2)],2))}});var EVe=De(SVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/description.vue"]]);const CVe=Le({label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}),Lz=te({name:"ElDescriptionsItem",props:CVe}),TVe=bt(EVe,{DescriptionsItem:Lz}),xVe=Mr(Lz),AVe=Le({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:ce([String,Array,Object])},zIndex:{type:ce([String,Number])}}),kVe={click:e=>e instanceof MouseEvent},IVe="overlay";var RVe=te({name:"ElOverlay",props:AVe,emits:kVe,setup(e,{slots:t,emit:r}){const n=ke(IVe),a=l=>{r("click",l)},{onClick:i,onMousedown:o,onMouseup:s}=wT(e.customMaskEvent?void 0:a);return()=>e.mask?Q("div",{class:[n.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:i,onMousedown:o,onMouseup:s},[Se(t,"default")],di.STYLE|di.CLASS|di.PROPS,["onClick","onMouseup","onMousedown"]):Qe("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[Se(t,"default")])}});const zT=RVe,Dz=Symbol("dialogInjectionKey"),Oz=Le({center:Boolean,alignCenter:Boolean,closeIcon:{type:dr},customClass:{type:String,default:""},draggable:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),MVe={close:()=>!0},LVe=["aria-level"],DVe=["aria-label"],OVe=["id"],NVe=te({name:"ElDialogContent"}),PVe=te({...NVe,props:Oz,emits:MVe,setup(e){const t=e,{t:r}=Ht(),{Close:n}=_7,{dialogRef:a,headerRef:i,bodyId:o,ns:s,style:l}=Ue(Dz),{focusTrapRef:u}=Ue(RT),c=L(()=>[s.b(),s.is("fullscreen",t.fullscreen),s.is("draggable",t.draggable),s.is("align-center",t.alignCenter),{[s.m("center")]:t.center},t.customClass]),d=b_(u,a),f=L(()=>t.draggable);return w7(a,i,f),(p,h)=>(I(),$("div",{ref:b(d),class:V(b(c)),style:qe(b(l)),tabindex:"-1"},[N("header",{ref_key:"headerRef",ref:i,class:V(b(s).e("header"))},[Se(p.$slots,"header",{},()=>[N("span",{role:"heading","aria-level":p.ariaLevel,class:V(b(s).e("title"))},Oe(p.title),11,LVe)]),p.showClose?(I(),$("button",{key:0,"aria-label":b(r)("el.dialog.close"),class:V(b(s).e("headerbtn")),type:"button",onClick:h[0]||(h[0]=v=>p.$emit("close"))},[Q(b(Ke),{class:V(b(s).e("close"))},{default:oe(()=>[(I(),pe(xt(p.closeIcon||b(n))))]),_:1},8,["class"])],10,DVe)):ue("v-if",!0)],2),N("div",{id:b(o),class:V(b(s).e("body"))},[Se(p.$slots,"default")],10,OVe),p.$slots.footer?(I(),$("footer",{key:0,class:V(b(s).e("footer"))},[Se(p.$slots,"footer")],2)):ue("v-if",!0)],6))}});var $Ve=De(PVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const Nz=Le({...Oz,appendToBody:Boolean,beforeClose:{type:ce(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1},headerAriaLevel:{type:String,default:"2"}}),Pz={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[Et]:e=>tn(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},$z=(e,t)=>{const n=mt().emit,{nextZIndex:a}=Pp();let i="";const o=Da(),s=Da(),l=U(!1),u=U(!1),c=U(!1),d=U(e.zIndex||a());let f,p;const h=k_("namespace",pv),v=L(()=>{const O={},z=`--${h.value}-dialog`;return e.fullscreen||(e.top&&(O[`${z}-margin-top`]=e.top),e.width&&(O[`${z}-width`]=Nr(e.width))),O}),g=L(()=>e.alignCenter?{display:"flex"}:{});function m(){n("opened")}function y(){n("closed"),n(Et,!1),e.destroyOnClose&&(c.value=!1)}function _(){n("close")}function w(){p==null||p(),f==null||f(),e.openDelay&&e.openDelay>0?{stop:f}=ad(()=>T(),e.openDelay):T()}function E(){f==null||f(),p==null||p(),e.closeDelay&&e.closeDelay>0?{stop:p}=ad(()=>x(),e.closeDelay):x()}function S(){function O(z){z||(u.value=!0,l.value=!1)}e.beforeClose?e.beforeClose(O):E()}function C(){e.closeOnClickModal&&S()}function T(){zt&&(l.value=!0)}function x(){l.value=!1}function A(){n("openAutoFocus")}function k(){n("closeAutoFocus")}function R(O){var z;((z=O.detail)==null?void 0:z.focusReason)==="pointer"&&O.preventDefault()}e.lockScroll&&C7(l);function M(){e.closeOnPressEscape&&S()}return Te(()=>e.modelValue,O=>{O?(u.value=!1,w(),c.value=!0,d.value=e.zIndex?d.value++:a(),Ye(()=>{n("open"),t.value&&(t.value.scrollTop=0)})):l.value&&E()}),Te(()=>e.fullscreen,O=>{t.value&&(O?(i=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=i)}),gt(()=>{e.modelValue&&(l.value=!0,c.value=!0,w())}),{afterEnter:m,afterLeave:y,beforeLeave:_,handleClose:S,onModalClick:C,close:E,doClose:x,onOpenAutoFocus:A,onCloseAutoFocus:k,onCloseRequested:M,onFocusoutPrevented:R,titleId:o,bodyId:s,closed:u,style:v,overlayDialogStyle:g,rendered:c,visible:l,zIndex:d}},BVe=["aria-label","aria-labelledby","aria-describedby"],FVe=te({name:"ElDialog",inheritAttrs:!1}),zVe=te({...FVe,props:Nz,emits:Pz,setup(e,{expose:t}){const r=e,n=Cn();Wo({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},L(()=>!!n.title)),Wo({scope:"el-dialog",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/dialog.html#attributes",type:"Attribute"},L(()=>!!r.customClass));const a=ke("dialog"),i=U(),o=U(),s=U(),{visible:l,titleId:u,bodyId:c,style:d,overlayDialogStyle:f,rendered:p,zIndex:h,afterEnter:v,afterLeave:g,beforeLeave:m,handleClose:y,onModalClick:_,onOpenAutoFocus:w,onCloseAutoFocus:E,onCloseRequested:S,onFocusoutPrevented:C}=$z(r,i);It(Dz,{dialogRef:i,headerRef:o,bodyId:c,ns:a,rendered:p,style:d});const T=wT(_),x=L(()=>r.draggable&&!r.fullscreen);return t({visible:l,dialogContentRef:s}),(A,k)=>(I(),pe(am,{to:"body",disabled:!A.appendToBody},[Q(Hr,{name:"dialog-fade",onAfterEnter:b(v),onAfterLeave:b(g),onBeforeLeave:b(m),persisted:""},{default:oe(()=>[ct(Q(b(zT),{"custom-mask-event":"",mask:A.modal,"overlay-class":A.modalClass,"z-index":b(h)},{default:oe(()=>[N("div",{role:"dialog","aria-modal":"true","aria-label":A.title||void 0,"aria-labelledby":A.title?void 0:b(u),"aria-describedby":b(c),class:V(`${b(a).namespace.value}-overlay-dialog`),style:qe(b(f)),onClick:k[0]||(k[0]=(...R)=>b(T).onClick&&b(T).onClick(...R)),onMousedown:k[1]||(k[1]=(...R)=>b(T).onMousedown&&b(T).onMousedown(...R)),onMouseup:k[2]||(k[2]=(...R)=>b(T).onMouseup&&b(T).onMouseup(...R))},[Q(b(M_),{loop:"",trapped:b(l),"focus-start-el":"container",onFocusAfterTrapped:b(w),onFocusAfterReleased:b(E),onFocusoutPrevented:b(C),onReleaseRequested:b(S)},{default:oe(()=>[b(p)?(I(),pe($Ve,Tt({key:0,ref_key:"dialogContentRef",ref:s},A.$attrs,{"custom-class":A.customClass,center:A.center,"align-center":A.alignCenter,"close-icon":A.closeIcon,draggable:b(x),fullscreen:A.fullscreen,"show-close":A.showClose,title:A.title,"aria-level":A.headerAriaLevel,onClose:b(y)}),Ms({header:oe(()=>[A.$slots.title?Se(A.$slots,"title",{key:1}):Se(A.$slots,"header",{key:0,close:b(y),titleId:b(u),titleClass:b(a).e("title")})]),default:oe(()=>[Se(A.$slots,"default")]),_:2},[A.$slots.footer?{name:"footer",fn:oe(()=>[Se(A.$slots,"footer")])}:void 0]),1040,["custom-class","center","align-center","close-icon","draggable","fullscreen","show-close","title","aria-level","onClose"])):ue("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,BVe)]),_:3},8,["mask","overlay-class","z-index"]),[[Gt,b(l)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var VVe=De(zVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const HVe=bt(VVe),UVe=Le({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:ce(String),default:"solid"}}),GVe=te({name:"ElDivider"}),WVe=te({...GVe,props:UVe,setup(e){const t=e,r=ke("divider"),n=L(()=>r.cssVar({"border-style":t.borderStyle}));return(a,i)=>(I(),$("div",{class:V([b(r).b(),b(r).m(a.direction)]),style:qe(b(n)),role:"separator"},[a.$slots.default&&a.direction!=="vertical"?(I(),$("div",{key:0,class:V([b(r).e("text"),b(r).is(a.contentPosition)])},[Se(a.$slots,"default")],2)):ue("v-if",!0)],6))}});var KVe=De(WVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const Bz=bt(KVe),YVe=Le({...Nz,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),qVe=Pz,jVe=te({name:"ElDrawer",components:{ElOverlay:zT,ElFocusTrap:M_,ElIcon:Ke,Close:Ii},inheritAttrs:!1,props:YVe,emits:qVe,setup(e,{slots:t}){Wo({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},L(()=>!!t.title)),Wo({scope:"el-drawer",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/drawer.html#attributes",type:"Attribute"},L(()=>!!e.customClass));const r=U(),n=U(),a=ke("drawer"),{t:i}=Ht(),o=L(()=>e.direction==="rtl"||e.direction==="ltr"),s=L(()=>Nr(e.size));return{...$z(e,r),drawerRef:r,focusStartRef:n,isHorizontal:o,drawerSize:s,ns:a,t:i}}}),XVe=["aria-label","aria-labelledby","aria-describedby"],ZVe=["id","aria-level"],QVe=["aria-label"],JVe=["id"];function eHe(e,t,r,n,a,i){const o=pt("close"),s=pt("el-icon"),l=pt("el-focus-trap"),u=pt("el-overlay");return I(),pe(am,{to:"body",disabled:!e.appendToBody},[Q(Hr,{name:e.ns.b("fade"),onAfterEnter:e.afterEnter,onAfterLeave:e.afterLeave,onBeforeLeave:e.beforeLeave,persisted:""},{default:oe(()=>[ct(Q(u,{mask:e.modal,"overlay-class":e.modalClass,"z-index":e.zIndex,onClick:e.onModalClick},{default:oe(()=>[Q(l,{loop:"",trapped:e.visible,"focus-trap-el":e.drawerRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:oe(()=>[N("div",Tt({ref:"drawerRef","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:e.titleId,"aria-describedby":e.bodyId},e.$attrs,{class:[e.ns.b(),e.direction,e.visible&&"open",e.customClass],style:e.isHorizontal?"width: "+e.drawerSize:"height: "+e.drawerSize,role:"dialog",onClick:t[1]||(t[1]=tt(()=>{},["stop"]))}),[N("span",{ref:"focusStartRef",class:V(e.ns.e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(I(),$("header",{key:0,class:V(e.ns.e("header"))},[e.$slots.title?Se(e.$slots,"title",{key:1},()=>[ue(" DEPRECATED SLOT ")]):Se(e.$slots,"header",{key:0,close:e.handleClose,titleId:e.titleId,titleClass:e.ns.e("title")},()=>[e.$slots.title?ue("v-if",!0):(I(),$("span",{key:0,id:e.titleId,role:"heading","aria-level":e.headerAriaLevel,class:V(e.ns.e("title"))},Oe(e.title),11,ZVe))]),e.showClose?(I(),$("button",{key:2,"aria-label":e.t("el.drawer.close"),class:V(e.ns.e("close-btn")),type:"button",onClick:t[0]||(t[0]=(...c)=>e.handleClose&&e.handleClose(...c))},[Q(s,{class:V(e.ns.e("close"))},{default:oe(()=>[Q(o)]),_:1},8,["class"])],10,QVe)):ue("v-if",!0)],2)):ue("v-if",!0),e.rendered?(I(),$("div",{key:1,id:e.bodyId,class:V(e.ns.e("body"))},[Se(e.$slots,"default")],10,JVe)):ue("v-if",!0),e.$slots.footer?(I(),$("div",{key:2,class:V(e.ns.e("footer"))},[Se(e.$slots,"footer")],2)):ue("v-if",!0)],16,XVe)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[Gt,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"])}var tHe=De(jVe,[["render",eHe],["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const rHe=bt(tHe),nHe=te({inheritAttrs:!1});function aHe(e,t,r,n,a,i){return Se(e.$slots,"default")}var iHe=De(nHe,[["render",aHe],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const oHe=te({name:"ElCollectionItem",inheritAttrs:!1});function sHe(e,t,r,n,a,i){return Se(e.$slots,"default")}var lHe=De(oHe,[["render",sHe],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const Fz="data-el-collection-item",zz=e=>{const t=`El${e}Collection`,r=`${t}Item`,n=Symbol(t),a=Symbol(r),i={...iHe,name:t,setup(){const s=U(null),l=new Map;It(n,{itemMap:l,getItems:()=>{const c=b(s);if(!c)return[];const d=Array.from(c.querySelectorAll(`[${Fz}]`));return[...l.values()].sort((p,h)=>d.indexOf(p.ref)-d.indexOf(h.ref))},collectionRef:s})}},o={...lHe,name:r,setup(s,{attrs:l}){const u=U(null),c=Ue(n,void 0);It(a,{collectionItemRef:u}),gt(()=>{const d=b(u);d&&c.itemMap.set(d,{ref:d,...l})}),vr(()=>{const d=b(u);c.itemMap.delete(d)})}};return{COLLECTION_INJECTION_KEY:n,COLLECTION_ITEM_INJECTION_KEY:a,ElCollection:i,ElCollectionItem:o}},uHe=Le({style:{type:ce([String,Array,Object])},currentTabId:{type:ce(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:ce(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:cHe,ElCollectionItem:dHe,COLLECTION_INJECTION_KEY:VT,COLLECTION_ITEM_INJECTION_KEY:fHe}=zz("RovingFocusGroup"),HT=Symbol("elRovingFocusGroup"),Vz=Symbol("elRovingFocusGroupItem"),pHe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},hHe=(e,t)=>{if(t!=="rtl")return e;switch(e){case Xe.right:return Xe.left;case Xe.left:return Xe.right;default:return e}},vHe=(e,t,r)=>{const n=hHe(e.key,r);if(!(t==="vertical"&&[Xe.left,Xe.right].includes(n))&&!(t==="horizontal"&&[Xe.up,Xe.down].includes(n)))return pHe[n]},gHe=(e,t)=>e.map((r,n)=>e[(n+t)%e.length]),UT=e=>{const{activeElement:t}=document;for(const r of e)if(r===t||(r.focus(),t!==document.activeElement))return},RR="currentTabIdChange",MR="rovingFocusGroup.entryFocus",mHe={bubbles:!1,cancelable:!0},yHe=te({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:uHe,emits:[RR,"entryFocus"],setup(e,{emit:t}){var r;const n=U((r=e.currentTabId||e.defaultCurrentTabId)!=null?r:null),a=U(!1),i=U(!1),o=U(null),{getItems:s}=Ue(VT,void 0),l=L(()=>[{outline:"none"},e.style]),u=v=>{t(RR,v)},c=()=>{a.value=!0},d=Ir(v=>{var g;(g=e.onMousedown)==null||g.call(e,v)},()=>{i.value=!0}),f=Ir(v=>{var g;(g=e.onFocus)==null||g.call(e,v)},v=>{const g=!b(i),{target:m,currentTarget:y}=v;if(m===y&&g&&!b(a)){const _=new Event(MR,mHe);if(y==null||y.dispatchEvent(_),!_.defaultPrevented){const w=s().filter(x=>x.focusable),E=w.find(x=>x.active),S=w.find(x=>x.id===b(n)),T=[E,S,...w].filter(Boolean).map(x=>x.ref);UT(T)}}i.value=!1}),p=Ir(v=>{var g;(g=e.onBlur)==null||g.call(e,v)},()=>{a.value=!1}),h=(...v)=>{t("entryFocus",...v)};It(HT,{currentTabbedId:Lp(n),loop:xr(e,"loop"),tabIndex:L(()=>b(a)?-1:0),rovingFocusGroupRef:o,rovingFocusGroupRootStyle:l,orientation:xr(e,"orientation"),dir:xr(e,"dir"),onItemFocus:u,onItemShiftTab:c,onBlur:p,onFocus:f,onMousedown:d}),Te(()=>e.currentTabId,v=>{n.value=v??null}),yr(o,MR,h)}});function _He(e,t,r,n,a,i){return Se(e.$slots,"default")}var bHe=De(yHe,[["render",_He],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const wHe=te({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:cHe,ElRovingFocusGroupImpl:bHe}});function SHe(e,t,r,n,a,i){const o=pt("el-roving-focus-group-impl"),s=pt("el-focus-group-collection");return I(),pe(s,null,{default:oe(()=>[Q(o,Zi(l_(e.$attrs)),{default:oe(()=>[Se(e.$slots,"default")]),_:3},16)]),_:3})}var EHe=De(wHe,[["render",SHe],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const CHe=te({components:{ElRovingFocusCollectionItem:dHe},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:r,loop:n,onItemFocus:a,onItemShiftTab:i}=Ue(HT,void 0),{getItems:o}=Ue(VT,void 0),s=Da(),l=U(null),u=Ir(p=>{t("mousedown",p)},p=>{e.focusable?a(b(s)):p.preventDefault()}),c=Ir(p=>{t("focus",p)},()=>{a(b(s))}),d=Ir(p=>{t("keydown",p)},p=>{const{key:h,shiftKey:v,target:g,currentTarget:m}=p;if(h===Xe.tab&&v){i();return}if(g!==m)return;const y=vHe(p);if(y){p.preventDefault();let w=o().filter(E=>E.focusable).map(E=>E.ref);switch(y){case"last":{w.reverse();break}case"prev":case"next":{y==="prev"&&w.reverse();const E=w.indexOf(m);w=n.value?gHe(w,E+1):w.slice(E+1);break}}Ye(()=>{UT(w)})}}),f=L(()=>r.value===b(s));return It(Vz,{rovingFocusGroupItemRef:l,tabIndex:L(()=>b(f)?0:-1),handleMousedown:u,handleFocus:c,handleKeydown:d}),{id:s,handleKeydown:d,handleFocus:c,handleMousedown:u}}});function THe(e,t,r,n,a,i){const o=pt("el-roving-focus-collection-item");return I(),pe(o,{id:e.id,focusable:e.focusable,active:e.active},{default:oe(()=>[Se(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var xHe=De(CHe,[["render",THe],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const By=Le({trigger:lg.trigger,effect:{...mn.effect,default:"light"},type:{type:ce(String)},placement:{type:ce(String),default:"bottom"},popperOptions:{type:ce(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:ce([Number,String]),default:0},maxHeight:{type:ce([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:ce(Object)},teleported:mn.teleported}),Hz=Le({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:dr}}),AHe=Le({onKeydown:{type:ce(Function)}}),kHe=[Xe.down,Xe.pageDown,Xe.home],Uz=[Xe.up,Xe.pageUp,Xe.end],IHe=[...kHe,...Uz],{ElCollection:RHe,ElCollectionItem:MHe,COLLECTION_INJECTION_KEY:LHe,COLLECTION_ITEM_INJECTION_KEY:DHe}=zz("Dropdown"),O_=Symbol("elDropdown"),{ButtonGroup:OHe}=Mn,NHe=te({name:"ElDropdown",components:{ElButton:Mn,ElButtonGroup:OHe,ElScrollbar:Qs,ElDropdownCollection:RHe,ElTooltip:ca,ElRovingFocusGroup:EHe,ElOnlyChild:hF,ElIcon:Ke,ArrowDown:js},props:By,emits:["visible-change","click","command"],setup(e,{emit:t}){const r=mt(),n=ke("dropdown"),{t:a}=Ht(),i=U(),o=U(),s=U(null),l=U(null),u=U(null),c=U(null),d=U(!1),f=[Xe.enter,Xe.space,Xe.down],p=L(()=>({maxHeight:Nr(e.maxHeight)})),h=L(()=>[n.m(E.value)]),v=L(()=>od(e.trigger)),g=Da().value,m=L(()=>e.id||g);Te([i,v],([P,F],[D])=>{var H,K,Y;(H=D==null?void 0:D.$el)!=null&&H.removeEventListener&&D.$el.removeEventListener("pointerenter",C),(K=P==null?void 0:P.$el)!=null&&K.removeEventListener&&P.$el.removeEventListener("pointerenter",C),(Y=P==null?void 0:P.$el)!=null&&Y.addEventListener&&F.includes("hover")&&P.$el.addEventListener("pointerenter",C)},{immediate:!0}),vr(()=>{var P,F;(F=(P=i.value)==null?void 0:P.$el)!=null&&F.removeEventListener&&i.value.$el.removeEventListener("pointerenter",C)});function y(){_()}function _(){var P;(P=s.value)==null||P.onClose()}function w(){var P;(P=s.value)==null||P.onOpen()}const E=nn();function S(...P){t("command",...P)}function C(){var P,F;(F=(P=i.value)==null?void 0:P.$el)==null||F.focus()}function T(){}function x(){const P=b(l);v.value.includes("hover")&&(P==null||P.focus()),c.value=null}function A(P){c.value=P}function k(P){d.value||(P.preventDefault(),P.stopImmediatePropagation())}function R(){t("visible-change",!0)}function M(P){(P==null?void 0:P.type)==="keydown"&&l.value.focus()}function O(){t("visible-change",!1)}return It(O_,{contentRef:l,role:L(()=>e.role),triggerId:m,isUsingKeyboard:d,onItemEnter:T,onItemLeave:x}),It("elDropdown",{instance:r,dropdownSize:E,handleClick:y,commandHandler:S,trigger:xr(e,"trigger"),hideOnClick:xr(e,"hideOnClick")}),{t:a,ns:n,scrollbar:u,wrapStyle:p,dropdownTriggerKls:h,dropdownSize:E,triggerId:m,triggerKeys:f,currentTabId:c,handleCurrentTabIdChange:A,handlerMainButtonClick:P=>{t("click",P)},handleEntryFocus:k,handleClose:_,handleOpen:w,handleBeforeShowTooltip:R,handleShowTooltip:M,handleBeforeHideTooltip:O,onFocusAfterTrapped:P=>{var F,D;P.preventDefault(),(D=(F=l.value)==null?void 0:F.focus)==null||D.call(F,{preventScroll:!0})},popperRef:s,contentRef:l,triggeringElementRef:i,referenceElementRef:o}}});function PHe(e,t,r,n,a,i){var o;const s=pt("el-dropdown-collection"),l=pt("el-roving-focus-group"),u=pt("el-scrollbar"),c=pt("el-only-child"),d=pt("el-tooltip"),f=pt("el-button"),p=pt("arrow-down"),h=pt("el-icon"),v=pt("el-button-group");return I(),$("div",{class:V([e.ns.b(),e.ns.is("disabled",e.disabled)])},[Q(d,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":(o=e.referenceElementRef)==null?void 0:o.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":e.trigger==="hover"?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,pure:"",persistent:"",onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},Ms({content:oe(()=>[Q(u,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:oe(()=>[Q(l,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:oe(()=>[Q(s,null,{default:oe(()=>[Se(e.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:oe(()=>[Q(c,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:oe(()=>[Se(e.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(I(),pe(v,{key:0},{default:oe(()=>[Q(f,Tt({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:oe(()=>[Se(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),Q(f,Tt({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:oe(()=>[Q(h,{class:V(e.ns.e("icon"))},{default:oe(()=>[Q(p)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):ue("v-if",!0)],2)}var $He=De(NHe,[["render",PHe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const BHe=te({name:"DropdownItemImpl",components:{ElIcon:Ke},props:Hz,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const r=ke("dropdown"),{role:n}=Ue(O_,void 0),{collectionItemRef:a}=Ue(DHe,void 0),{collectionItemRef:i}=Ue(fHe,void 0),{rovingFocusGroupItemRef:o,tabIndex:s,handleFocus:l,handleKeydown:u,handleMousedown:c}=Ue(Vz,void 0),d=b_(a,i,o),f=L(()=>n.value==="menu"?"menuitem":n.value==="navigation"?"link":"button"),p=Ir(h=>{const{code:v}=h;if(v===Xe.enter||v===Xe.space)return h.preventDefault(),h.stopImmediatePropagation(),t("clickimpl",h),!0},u);return{ns:r,itemRef:d,dataset:{[Fz]:""},role:f,tabIndex:s,handleFocus:l,handleKeydown:p,handleMousedown:c}}}),FHe=["aria-disabled","tabindex","role"];function zHe(e,t,r,n,a,i){const o=pt("el-icon");return I(),$(je,null,[e.divided?(I(),$("li",Tt({key:0,role:"separator",class:e.ns.bem("menu","item","divided")},e.$attrs),null,16)):ue("v-if",!0),N("li",Tt({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t[0]||(t[0]=s=>e.$emit("clickimpl",s)),onFocus:t[1]||(t[1]=(...s)=>e.handleFocus&&e.handleFocus(...s)),onKeydown:t[2]||(t[2]=tt((...s)=>e.handleKeydown&&e.handleKeydown(...s),["self"])),onMousedown:t[3]||(t[3]=(...s)=>e.handleMousedown&&e.handleMousedown(...s)),onPointermove:t[4]||(t[4]=s=>e.$emit("pointermove",s)),onPointerleave:t[5]||(t[5]=s=>e.$emit("pointerleave",s))}),[e.icon?(I(),pe(o,{key:0},{default:oe(()=>[(I(),pe(xt(e.icon)))]),_:1})):ue("v-if",!0),Se(e.$slots,"default")],16,FHe)],64)}var VHe=De(BHe,[["render",zHe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const Gz=()=>{const e=Ue("elDropdown",{}),t=L(()=>e==null?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},HHe=te({name:"ElDropdownItem",components:{ElDropdownCollectionItem:MHe,ElRovingFocusItem:xHe,ElDropdownItemImpl:VHe},inheritAttrs:!1,props:Hz,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:r}){const{elDropdown:n}=Gz(),a=mt(),i=U(null),o=L(()=>{var p,h;return(h=(p=b(i))==null?void 0:p.textContent)!=null?h:""}),{onItemEnter:s,onItemLeave:l}=Ue(O_,void 0),u=Ir(p=>(t("pointermove",p),p.defaultPrevented),G8(p=>{if(e.disabled){l(p);return}const h=p.currentTarget;h===document.activeElement||h.contains(document.activeElement)||(s(p),p.defaultPrevented||h==null||h.focus())})),c=Ir(p=>(t("pointerleave",p),p.defaultPrevented),G8(p=>{l(p)})),d=Ir(p=>{if(!e.disabled)return t("click",p),p.type!=="keydown"&&p.defaultPrevented},p=>{var h,v,g;if(e.disabled){p.stopImmediatePropagation();return}(h=n==null?void 0:n.hideOnClick)!=null&&h.value&&((v=n.handleClick)==null||v.call(n)),(g=n.commandHandler)==null||g.call(n,e.command,a,p)}),f=L(()=>({...e,...r}));return{handleClick:d,handlePointerMove:u,handlePointerLeave:c,textContent:o,propsAndAttrs:f}}});function UHe(e,t,r,n,a,i){var o;const s=pt("el-dropdown-item-impl"),l=pt("el-roving-focus-item"),u=pt("el-dropdown-collection-item");return I(),pe(u,{disabled:e.disabled,"text-value":(o=e.textValue)!=null?o:e.textContent},{default:oe(()=>[Q(l,{focusable:!e.disabled},{default:oe(()=>[Q(s,Tt(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:oe(()=>[Se(e.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var Wz=De(HHe,[["render",UHe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const GHe=te({name:"ElDropdownMenu",props:AHe,setup(e){const t=ke("dropdown"),{_elDropdownSize:r}=Gz(),n=r.value,{focusTrapRef:a,onKeydown:i}=Ue(RT,void 0),{contentRef:o,role:s,triggerId:l}=Ue(O_,void 0),{collectionRef:u,getItems:c}=Ue(LHe,void 0),{rovingFocusGroupRef:d,rovingFocusGroupRootStyle:f,tabIndex:p,onBlur:h,onFocus:v,onMousedown:g}=Ue(HT,void 0),{collectionRef:m}=Ue(VT,void 0),y=L(()=>[t.b("menu"),t.bm("menu",n==null?void 0:n.value)]),_=b_(o,u,a,d,m),w=Ir(S=>{var C;(C=e.onKeydown)==null||C.call(e,S)},S=>{const{currentTarget:C,code:T,target:x}=S;if(C.contains(x),Xe.tab===T&&S.stopImmediatePropagation(),S.preventDefault(),x!==b(o)||!IHe.includes(T))return;const k=c().filter(R=>!R.disabled).map(R=>R.ref);Uz.includes(T)&&k.reverse(),UT(k)});return{size:n,rovingFocusGroupRootStyle:f,tabIndex:p,dropdownKls:y,role:s,triggerId:l,dropdownListWrapperRef:_,handleKeydown:S=>{w(S),i(S)},onBlur:h,onFocus:v,onMousedown:g}}}),WHe=["role","aria-labelledby"];function KHe(e,t,r,n,a,i){return I(),$("ul",{ref:e.dropdownListWrapperRef,class:V(e.dropdownKls),style:qe(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:t[0]||(t[0]=(...o)=>e.onBlur&&e.onBlur(...o)),onFocus:t[1]||(t[1]=(...o)=>e.onFocus&&e.onFocus(...o)),onKeydown:t[2]||(t[2]=tt((...o)=>e.handleKeydown&&e.handleKeydown(...o),["self"])),onMousedown:t[3]||(t[3]=tt((...o)=>e.onMousedown&&e.onMousedown(...o),["self"]))},[Se(e.$slots,"default")],46,WHe)}var Kz=De(GHe,[["render",KHe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const YHe=bt($He,{DropdownItem:Wz,DropdownMenu:Kz}),qHe=Mr(Wz),jHe=Mr(Kz),XHe={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},ZHe=["id"],QHe=["stop-color"],JHe=["stop-color"],eUe=["id"],tUe=["stop-color"],rUe=["stop-color"],nUe=["id"],aUe={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},iUe={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},oUe={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},sUe=["fill"],lUe=["fill"],uUe={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},cUe=["fill"],dUe=["fill"],fUe=["fill"],pUe=["fill"],hUe=["fill"],vUe={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},gUe=["fill","xlink:href"],mUe=["fill","mask"],yUe=["fill"],_Ue=te({name:"ImgEmpty"}),bUe=te({..._Ue,setup(e){const t=ke("empty"),r=Da();return(n,a)=>(I(),$("svg",XHe,[N("defs",null,[N("linearGradient",{id:`linearGradient-1-${b(r)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[N("stop",{"stop-color":`var(${b(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,QHe),N("stop",{"stop-color":`var(${b(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,JHe)],8,ZHe),N("linearGradient",{id:`linearGradient-2-${b(r)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[N("stop",{"stop-color":`var(${b(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,tUe),N("stop",{"stop-color":`var(${b(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,rUe)],8,eUe),N("rect",{id:`path-3-${b(r)}`,x:"0",y:"0",width:"17",height:"36"},null,8,nUe)]),N("g",aUe,[N("g",iUe,[N("g",oUe,[N("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${b(t).cssVarBlockName("fill-color-3")})`},null,8,sUe),N("polygon",{id:"Rectangle-Copy-14",fill:`var(${b(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,lUe),N("g",uUe,[N("polygon",{id:"Rectangle-Copy-10",fill:`var(${b(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,cUe),N("polygon",{id:"Rectangle-Copy-11",fill:`var(${b(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,dUe),N("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${b(r)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,fUe),N("polygon",{id:"Rectangle-Copy-13",fill:`var(${b(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,pUe)]),N("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${b(r)})`,x:"13",y:"45",width:"40",height:"36"},null,8,hUe),N("g",vUe,[N("use",{id:"Mask",fill:`var(${b(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${b(r)}`},null,8,gUe),N("polygon",{id:"Rectangle-Copy",fill:`var(${b(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${b(r)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,mUe)]),N("polygon",{id:"Rectangle-Copy-18",fill:`var(${b(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,yUe)])])])]))}});var wUe=De(bUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);const SUe=Le({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),EUe=["src"],CUe={key:1},TUe=te({name:"ElEmpty"}),xUe=te({...TUe,props:SUe,setup(e){const t=e,{t:r}=Ht(),n=ke("empty"),a=L(()=>t.description||r("el.table.emptyText")),i=L(()=>({width:Nr(t.imageSize)}));return(o,s)=>(I(),$("div",{class:V(b(n).b())},[N("div",{class:V(b(n).e("image")),style:qe(b(i))},[o.image?(I(),$("img",{key:0,src:o.image,ondragstart:"return false"},null,8,EUe)):Se(o.$slots,"image",{key:1},()=>[Q(wUe)])],6),N("div",{class:V(b(n).e("description"))},[o.$slots.description?Se(o.$slots,"description",{key:0}):(I(),$("p",CUe,Oe(b(a)),1))],2),o.$slots.default?(I(),$("div",{key:0,class:V(b(n).e("bottom"))},[Se(o.$slots,"default")],2)):ue("v-if",!0)],2))}});var AUe=De(xUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const Yz=bt(AUe),kUe=Le({urlList:{type:ce(Array),default:()=>Er([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7}}),IUe={close:()=>!0,switch:e=>at(e),rotate:e=>at(e)},RUe=["src"],MUe=te({name:"ElImageViewer"}),LUe=te({...MUe,props:kUe,emits:IUe,setup(e,{expose:t,emit:r}){const n=e,a={CONTAIN:{name:"contain",icon:Pc(n7)},ORIGINAL:{name:"original",icon:Pc(d7)}},{t:i}=Ht(),o=ke("image-viewer"),{nextZIndex:s}=Pp(),l=U(),u=U([]),c=QX(),d=U(!0),f=U(n.initialIndex),p=or(a.CONTAIN),h=U({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),v=L(()=>{const{urlList:D}=n;return D.length<=1}),g=L(()=>f.value===0),m=L(()=>f.value===n.urlList.length-1),y=L(()=>n.urlList[f.value]),_=L(()=>[o.e("btn"),o.e("prev"),o.is("disabled",!n.infinite&&g.value)]),w=L(()=>[o.e("btn"),o.e("next"),o.is("disabled",!n.infinite&&m.value)]),E=L(()=>{const{scale:D,deg:H,offsetX:K,offsetY:Y,enableTransition:X}=h.value;let J=K/D,fe=Y/D;switch(H%360){case 90:case-270:[J,fe]=[fe,-J];break;case 180:case-180:[J,fe]=[-J,-fe];break;case 270:case-90:[J,fe]=[-fe,J];break}const se={transform:`scale(${D}) rotate(${H}deg) translate(${J}px, ${fe}px)`,transition:X?"transform .3s":""};return p.value.name===a.CONTAIN.name&&(se.maxWidth=se.maxHeight="100%"),se}),S=L(()=>at(n.zIndex)?n.zIndex:s());function C(){x(),r("close")}function T(){const D=Bc(K=>{switch(K.code){case Xe.esc:n.closeOnPressEscape&&C();break;case Xe.space:O();break;case Xe.left:B();break;case Xe.up:F("zoomIn");break;case Xe.right:P();break;case Xe.down:F("zoomOut");break}}),H=Bc(K=>{const Y=K.deltaY||K.deltaX;F(Y<0?"zoomIn":"zoomOut",{zoomRate:n.zoomRate,enableTransition:!1})});c.run(()=>{yr(document,"keydown",D),yr(document,"wheel",H)})}function x(){c.stop()}function A(){d.value=!1}function k(D){d.value=!1,D.target.alt=i("el.image.error")}function R(D){if(d.value||D.button!==0||!l.value)return;h.value.enableTransition=!1;const{offsetX:H,offsetY:K}=h.value,Y=D.pageX,X=D.pageY,J=Bc(se=>{h.value={...h.value,offsetX:H+se.pageX-Y,offsetY:K+se.pageY-X}}),fe=yr(document,"mousemove",J);yr(document,"mouseup",()=>{fe()}),D.preventDefault()}function M(){h.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function O(){if(d.value)return;const D=rg(a),H=Object.values(a),K=p.value.name,X=(H.findIndex(J=>J.name===K)+1)%D.length;p.value=a[D[X]],M()}function z(D){const H=n.urlList.length;f.value=(D+H)%H}function B(){g.value&&!n.infinite||z(f.value-1)}function P(){m.value&&!n.infinite||z(f.value+1)}function F(D,H={}){if(d.value)return;const{minScale:K,maxScale:Y}=n,{zoomRate:X,rotateDeg:J,enableTransition:fe}={zoomRate:n.zoomRate,rotateDeg:90,enableTransition:!0,...H};switch(D){case"zoomOut":h.value.scale>K&&(h.value.scale=Number.parseFloat((h.value.scale/X).toFixed(3)));break;case"zoomIn":h.value.scale<Y&&(h.value.scale=Number.parseFloat((h.value.scale*X).toFixed(3)));break;case"clockwise":h.value.deg+=J,r("rotate",h.value.deg);break;case"anticlockwise":h.value.deg-=J,r("rotate",h.value.deg);break}h.value.enableTransition=fe}return Te(y,()=>{Ye(()=>{const D=u.value[0];D!=null&&D.complete||(d.value=!0)})}),Te(f,D=>{M(),r("switch",D)}),gt(()=>{var D,H;T(),(H=(D=l.value)==null?void 0:D.focus)==null||H.call(D)}),t({setActiveItem:z}),(D,H)=>(I(),pe(am,{to:"body",disabled:!D.teleported},[Q(Hr,{name:"viewer-fade",appear:""},{default:oe(()=>[N("div",{ref_key:"wrapper",ref:l,tabindex:-1,class:V(b(o).e("wrapper")),style:qe({zIndex:b(S)})},[N("div",{class:V(b(o).e("mask")),onClick:H[0]||(H[0]=tt(K=>D.hideOnClickModal&&C(),["self"]))},null,2),ue(" CLOSE "),N("span",{class:V([b(o).e("btn"),b(o).e("close")]),onClick:C},[Q(b(Ke),null,{default:oe(()=>[Q(b(Ii))]),_:1})],2),ue(" ARROW "),b(v)?ue("v-if",!0):(I(),$(je,{key:0},[N("span",{class:V(b(_)),onClick:B},[Q(b(Ke),null,{default:oe(()=>[Q(b(Ds))]),_:1})],2),N("span",{class:V(b(w)),onClick:P},[Q(b(Ke),null,{default:oe(()=>[Q(b(Gn))]),_:1})],2)],64)),ue(" ACTIONS "),N("div",{class:V([b(o).e("btn"),b(o).e("actions")])},[N("div",{class:V(b(o).e("actions__inner"))},[Q(b(Ke),{onClick:H[1]||(H[1]=K=>F("zoomOut"))},{default:oe(()=>[Q(b(m7))]),_:1}),Q(b(Ke),{onClick:H[2]||(H[2]=K=>F("zoomIn"))},{default:oe(()=>[Q(b(lT))]),_:1}),N("i",{class:V(b(o).e("actions__divider"))},null,2),Q(b(Ke),{onClick:O},{default:oe(()=>[(I(),pe(xt(b(p).icon)))]),_:1}),N("i",{class:V(b(o).e("actions__divider"))},null,2),Q(b(Ke),{onClick:H[3]||(H[3]=K=>F("anticlockwise"))},{default:oe(()=>[Q(b(u7))]),_:1}),Q(b(Ke),{onClick:H[4]||(H[4]=K=>F("clockwise"))},{default:oe(()=>[Q(b(c7))]),_:1})],2)],2),ue(" CANVAS "),N("div",{class:V(b(o).e("canvas"))},[(I(!0),$(je,null,Ot(D.urlList,(K,Y)=>ct((I(),$("img",{ref_for:!0,ref:X=>u.value[Y]=X,key:K,src:K,style:qe(b(E)),class:V(b(o).e("img")),onLoad:A,onError:k,onMousedown:R},null,46,RUe)),[[Gt,Y===f.value]])),128))],2),Se(D.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var DUe=De(LUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue"]]);const qz=bt(DUe),OUe=Le({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:ce([String,Object])},previewSrcList:{type:ce(Array),default:()=>Er([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7}}),NUe={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>at(e),close:()=>!0,show:()=>!0},PUe=["src","loading"],$Ue={key:0},BUe=te({name:"ElImage",inheritAttrs:!1}),FUe=te({...BUe,props:OUe,emits:NUe,setup(e,{emit:t}){const r=e;let n="";const{t:a}=Ht(),i=ke("image"),o=bd(),s=dT(),l=U(),u=U(!1),c=U(!0),d=U(!1),f=U(),p=U(),h=zt&&"loading"in HTMLImageElement.prototype;let v,g;const m=L(()=>[i.e("inner"),w.value&&i.e("preview"),c.value&&i.is("loading")]),y=L(()=>o.style),_=L(()=>{const{fit:F}=r;return zt&&F?{objectFit:F}:{}}),w=L(()=>{const{previewSrcList:F}=r;return Array.isArray(F)&&F.length>0}),E=L(()=>{const{previewSrcList:F,initialIndex:D}=r;let H=D;return D>F.length-1&&(H=0),H}),S=L(()=>r.loading==="eager"?!1:!h&&r.loading==="lazy"||r.lazy),C=()=>{zt&&(c.value=!0,u.value=!1,l.value=r.src)};function T(F){c.value=!1,u.value=!1,t("load",F)}function x(F){c.value=!1,u.value=!0,t("error",F)}function A(){VJ(f.value,p.value)&&(C(),M())}const k=sB(A,200,!0);async function R(){var F;if(!zt)return;await Ye();const{scrollContainer:D}=r;ki(D)?p.value=D:ut(D)&&D!==""?p.value=(F=document.querySelector(D))!=null?F:void 0:f.value&&(p.value=nT(f.value)),p.value&&(v=yr(p,"scroll",k),setTimeout(()=>A(),100))}function M(){!zt||!p.value||!k||(v==null||v(),p.value=void 0)}function O(F){if(F.ctrlKey){if(F.deltaY<0)return F.preventDefault(),!1;if(F.deltaY>0)return F.preventDefault(),!1}}function z(){w.value&&(g=yr("wheel",O,{passive:!1}),n=document.body.style.overflow,document.body.style.overflow="hidden",d.value=!0,t("show"))}function B(){g==null||g(),document.body.style.overflow=n,d.value=!1,t("close")}function P(F){t("switch",F)}return Te(()=>r.src,()=>{S.value?(c.value=!0,u.value=!1,M(),R()):C()}),gt(()=>{S.value?R():C()}),(F,D)=>(I(),$("div",{ref_key:"container",ref:f,class:V([b(i).b(),F.$attrs.class]),style:qe(b(y))},[u.value?Se(F.$slots,"error",{key:0},()=>[N("div",{class:V(b(i).e("error"))},Oe(b(a)("el.image.error")),3)]):(I(),$(je,{key:1},[l.value!==void 0?(I(),$("img",Tt({key:0},b(s),{src:l.value,loading:F.loading,style:b(_),class:b(m),onClick:z,onLoad:T,onError:x}),null,16,PUe)):ue("v-if",!0),c.value?(I(),$("div",{key:1,class:V(b(i).e("wrapper"))},[Se(F.$slots,"placeholder",{},()=>[N("div",{class:V(b(i).e("placeholder"))},null,2)])],2)):ue("v-if",!0)],64)),b(w)?(I(),$(je,{key:2},[d.value?(I(),pe(b(qz),{key:0,"z-index":F.zIndex,"initial-index":b(E),infinite:F.infinite,"zoom-rate":F.zoomRate,"min-scale":F.minScale,"max-scale":F.maxScale,"url-list":F.previewSrcList,"hide-on-click-modal":F.hideOnClickModal,teleported:F.previewTeleported,"close-on-press-escape":F.closeOnPressEscape,onClose:B,onSwitch:P},{default:oe(()=>[F.$slots.viewer?(I(),$("div",$Ue,[Se(F.$slots,"viewer")])):ue("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","url-list","hide-on-click-modal","teleported","close-on-press-escape"])):ue("v-if",!0)],64)):ue("v-if",!0)],6))}});var zUe=De(FUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image/src/image.vue"]]);const VUe=bt(zUe),HUe=Le({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:On,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>e===null||at(e)||["min","max"].includes(e),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0}}),UUe={[hr]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[ia]:e=>at(e)||Yr(e),[Et]:e=>at(e)||Yr(e)},GUe=["aria-label","onKeydown"],WUe=["aria-label","onKeydown"],KUe=te({name:"ElInputNumber"}),YUe=te({...KUe,props:HUe,emits:UUe,setup(e,{expose:t,emit:r}){const n=e,{t:a}=Ht(),i=ke("input-number"),o=U(),s=qt({currentValue:n.modelValue,userInput:null}),{formItem:l}=pa(),u=L(()=>at(n.modelValue)&&n.modelValue<=n.min),c=L(()=>at(n.modelValue)&&n.modelValue>=n.max),d=L(()=>{const M=m(n.step);return Jr(n.precision)?Math.max(m(n.modelValue),M):(M>n.precision,n.precision)}),f=L(()=>n.controls&&n.controlsPosition==="right"),p=nn(),h=$a(),v=L(()=>{if(s.userInput!==null)return s.userInput;let M=s.currentValue;if(Yr(M))return"";if(at(M)){if(Number.isNaN(M))return"";Jr(n.precision)||(M=M.toFixed(n.precision))}return M}),g=(M,O)=>{if(Jr(O)&&(O=d.value),O===0)return Math.round(M);let z=String(M);const B=z.indexOf(".");if(B===-1||!z.replace(".","").split("")[B+O])return M;const D=z.length;return z.charAt(D-1)==="5"&&(z=`${z.slice(0,Math.max(0,D-1))}6`),Number.parseFloat(Number(z).toFixed(O))},m=M=>{if(Yr(M))return 0;const O=M.toString(),z=O.indexOf(".");let B=0;return z!==-1&&(B=O.length-z-1),B},y=(M,O=1)=>at(M)?g(M+n.step*O):s.currentValue,_=()=>{if(n.readonly||h.value||c.value)return;const M=Number(v.value)||0,O=y(M);S(O),r(ia,s.currentValue)},w=()=>{if(n.readonly||h.value||u.value)return;const M=Number(v.value)||0,O=y(M,-1);S(O),r(ia,s.currentValue)},E=(M,O)=>{const{max:z,min:B,step:P,precision:F,stepStrictly:D,valueOnClear:H}=n;z<B&&rn("InputNumber","min should not be greater than max.");let K=Number(M);if(Yr(M)||Number.isNaN(K))return null;if(M===""){if(H===null)return null;K=ut(H)?{min:B,max:z}[H]:H}return D&&(K=g(Math.round(K/P)*P,F)),Jr(F)||(K=g(K,F)),(K>z||K<B)&&(K=K>z?z:B,O&&r(Et,K)),K},S=(M,O=!0)=>{var z;const B=s.currentValue,P=E(M);if(!O){r(Et,P);return}B!==P&&(s.userInput=null,r(Et,P),r(hr,P,B),n.validateEvent&&((z=l==null?void 0:l.validate)==null||z.call(l,"change").catch(F=>void 0)),s.currentValue=P)},C=M=>{s.userInput=M;const O=M===""?null:Number(M);r(ia,O),S(O,!1)},T=M=>{const O=M!==""?Number(M):"";(at(O)&&!Number.isNaN(O)||M==="")&&S(O),s.userInput=null},x=()=>{var M,O;(O=(M=o.value)==null?void 0:M.focus)==null||O.call(M)},A=()=>{var M,O;(O=(M=o.value)==null?void 0:M.blur)==null||O.call(M)},k=M=>{r("focus",M)},R=M=>{var O;r("blur",M),n.validateEvent&&((O=l==null?void 0:l.validate)==null||O.call(l,"blur").catch(z=>void 0))};return Te(()=>n.modelValue,M=>{const O=E(s.userInput),z=E(M,!0);!at(O)&&(!O||O!==z)&&(s.currentValue=z,s.userInput=null)},{immediate:!0}),gt(()=>{var M;const{min:O,max:z,modelValue:B}=n,P=(M=o.value)==null?void 0:M.input;if(P.setAttribute("role","spinbutton"),Number.isFinite(z)?P.setAttribute("aria-valuemax",String(z)):P.removeAttribute("aria-valuemax"),Number.isFinite(O)?P.setAttribute("aria-valuemin",String(O)):P.removeAttribute("aria-valuemin"),P.setAttribute("aria-valuenow",s.currentValue||s.currentValue===0?String(s.currentValue):""),P.setAttribute("aria-disabled",String(h.value)),!at(B)&&B!=null){let F=Number(B);Number.isNaN(F)&&(F=null),r(Et,F)}}),Ks(()=>{var M,O;const z=(M=o.value)==null?void 0:M.input;z==null||z.setAttribute("aria-valuenow",`${(O=s.currentValue)!=null?O:""}`)}),t({focus:x,blur:A}),(M,O)=>(I(),$("div",{class:V([b(i).b(),b(i).m(b(p)),b(i).is("disabled",b(h)),b(i).is("without-controls",!M.controls),b(i).is("controls-right",b(f))]),onDragstart:O[1]||(O[1]=tt(()=>{},["prevent"]))},[M.controls?ct((I(),$("span",{key:0,role:"button","aria-label":b(a)("el.inputNumber.decrease"),class:V([b(i).e("decrease"),b(i).is("disabled",b(u))]),onKeydown:Ut(w,["enter"])},[Q(b(Ke),null,{default:oe(()=>[b(f)?(I(),pe(b(js),{key:0})):(I(),pe(b(i7),{key:1}))]),_:1})],42,GUe)),[[b(N1),w]]):ue("v-if",!0),M.controls?ct((I(),$("span",{key:1,role:"button","aria-label":b(a)("el.inputNumber.increase"),class:V([b(i).e("increase"),b(i).is("disabled",b(c))]),onKeydown:Ut(_,["enter"])},[Q(b(Ke),null,{default:oe(()=>[b(f)?(I(),pe(b(fm),{key:0})):(I(),pe(b(oT),{key:1}))]),_:1})],42,WUe)),[[b(N1),_]]):ue("v-if",!0),Q(b(Un),{id:M.id,ref_key:"input",ref:o,type:"number",step:M.step,"model-value":b(v),placeholder:M.placeholder,readonly:M.readonly,disabled:b(h),size:b(p),max:M.max,min:M.min,name:M.name,label:M.label,"validate-event":!1,onWheel:O[0]||(O[0]=tt(()=>{},["prevent"])),onKeydown:[Ut(tt(_,["prevent"]),["up"]),Ut(tt(w,["prevent"]),["down"])],onBlur:R,onFocus:k,onInput:C,onChange:T},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","label","onKeydown"])],34))}});var qUe=De(YUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const jz=bt(qUe),jUe=Le({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},href:{type:String,default:""},icon:{type:dr}}),XUe={click:e=>e instanceof MouseEvent},ZUe=["href"],QUe=te({name:"ElLink"}),JUe=te({...QUe,props:jUe,emits:XUe,setup(e,{emit:t}){const r=e,n=ke("link"),a=L(()=>[n.b(),n.m(r.type),n.is("disabled",r.disabled),n.is("underline",r.underline&&!r.disabled)]);function i(o){r.disabled||t("click",o)}return(o,s)=>(I(),$("a",{class:V(b(a)),href:o.disabled||!o.href?void 0:o.href,onClick:i},[o.icon?(I(),pe(b(Ke),{key:0},{default:oe(()=>[(I(),pe(xt(o.icon)))]),_:1})):ue("v-if",!0),o.$slots.default?(I(),$("span",{key:1,class:V(b(n).e("inner"))},[Se(o.$slots,"default")],2)):ue("v-if",!0),o.$slots.icon?Se(o.$slots,"icon",{key:2}):ue("v-if",!0)],10,ZUe))}});var eGe=De(JUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);const tGe=bt(eGe);let rGe=class{constructor(t,r){this.parent=t,this.domNode=r,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(t){t===this.subMenuItems.length?t=0:t<0&&(t=this.subMenuItems.length-1),this.subMenuItems[t].focus(),this.subIndex=t}addListeners(){const t=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,r=>{r.addEventListener("keydown",n=>{let a=!1;switch(n.code){case Xe.down:{this.gotoSubIndex(this.subIndex+1),a=!0;break}case Xe.up:{this.gotoSubIndex(this.subIndex-1),a=!0;break}case Xe.tab:{yy(t,"mouseleave");break}case Xe.enter:case Xe.space:{a=!0,n.currentTarget.click();break}}return a&&(n.preventDefault(),n.stopPropagation()),!1})})}},nGe=class{constructor(t,r){this.domNode=t,this.submenu=null,this.submenu=null,this.init(r)}init(t){this.domNode.setAttribute("tabindex","0");const r=this.domNode.querySelector(`.${t}-menu`);r&&(this.submenu=new rGe(this,r)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{let r=!1;switch(t.code){case Xe.down:{yy(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),r=!0;break}case Xe.up:{yy(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),r=!0;break}case Xe.tab:{yy(t.currentTarget,"mouseleave");break}case Xe.enter:case Xe.space:{r=!0,t.currentTarget.click();break}}r&&t.preventDefault()})}},aGe=class{constructor(t,r){this.domNode=t,this.init(r)}init(t){const r=this.domNode.childNodes;Array.from(r).forEach(n=>{n.nodeType===1&&new nGe(n,t)})}};const iGe=te({name:"ElMenuCollapseTransition",setup(){const e=ke("menu");return{listeners:{onBeforeEnter:r=>r.style.opacity="0.2",onEnter(r,n){Do(r,`${e.namespace.value}-opacity-transition`),r.style.opacity="1",n()},onAfterEnter(r){Ta(r,`${e.namespace.value}-opacity-transition`),r.style.opacity=""},onBeforeLeave(r){r.dataset||(r.dataset={}),ao(r,e.m("collapse"))?(Ta(r,e.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),Do(r,e.m("collapse"))):(Do(r,e.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),Ta(r,e.m("collapse"))),r.style.width=`${r.scrollWidth}px`,r.style.overflow="hidden"},onLeave(r){Do(r,"horizontal-collapse-transition"),r.style.width=`${r.dataset.scrollWidth}px`}}}}});function oGe(e,t,r,n,a,i){return I(),pe(Hr,Tt({mode:"out-in"},e.listeners),{default:oe(()=>[Se(e.$slots,"default")]),_:3},16)}var sGe=De(iGe,[["render",oGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function Xz(e,t){const r=L(()=>{let a=e.parent;const i=[t.value];for(;a.type.name!=="ElMenu";)a.props.index&&i.unshift(a.props.index),a=a.parent;return i});return{parentMenu:L(()=>{let a=e.parent;for(;a&&!["ElMenu","ElSubMenu"].includes(a.type.name);)a=a.parent;return a}),indexPath:r}}function lGe(e){return L(()=>{const r=e.backgroundColor;return r?new AF(r).shade(20).toString():""})}const Zz=(e,t)=>{const r=ke("menu");return L(()=>r.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":lGe(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},uGe=Le({index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0},teleported:{type:Boolean,default:void 0},popperOffset:{type:Number,default:6},expandCloseIcon:{type:dr},expandOpenIcon:{type:dr},collapseCloseIcon:{type:dr},collapseOpenIcon:{type:dr}}),d0="ElSubMenu";var GT=te({name:d0,props:uGe,setup(e,{slots:t,expose:r}){Wo({from:"popper-append-to-body",replacement:"teleported",scope:d0,version:"2.3.0",ref:"https://element-plus.org/en-US/component/menu.html#submenu-attributes"},L(()=>e.popperAppendToBody!==void 0));const n=mt(),{indexPath:a,parentMenu:i}=Xz(n,L(()=>e.index)),o=ke("menu"),s=ke("sub-menu"),l=Ue("rootMenu");l||rn(d0,"can not inject root menu");const u=Ue(`subMenu:${i.value.uid}`);u||rn(d0,"can not inject sub menu");const c=U({}),d=U({});let f;const p=U(!1),h=U(),v=U(null),g=L(()=>T.value==="horizontal"&&y.value?"bottom-start":"right-start"),m=L(()=>T.value==="horizontal"&&y.value||T.value==="vertical"&&!l.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?S.value?e.expandOpenIcon:e.expandCloseIcon:js:e.collapseCloseIcon&&e.collapseOpenIcon?S.value?e.collapseOpenIcon:e.collapseCloseIcon:Gn),y=L(()=>u.level===0),_=L(()=>{var B;const P=(B=e.teleported)!=null?B:e.popperAppendToBody;return P===void 0?y.value:P}),w=L(()=>l.props.collapse?`${o.namespace.value}-zoom-in-left`:`${o.namespace.value}-zoom-in-top`),E=L(()=>T.value==="horizontal"&&y.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),S=L(()=>l.openedMenus.includes(e.index)),C=L(()=>{let B=!1;return Object.values(c.value).forEach(P=>{P.active&&(B=!0)}),Object.values(d.value).forEach(P=>{P.active&&(B=!0)}),B}),T=L(()=>l.props.mode),x=qt({index:e.index,indexPath:a,active:C}),A=Zz(l.props,u.level+1),k=()=>{var B,P,F;return(F=(P=(B=v.value)==null?void 0:B.popperRef)==null?void 0:P.popperInstanceRef)==null?void 0:F.destroy()},R=B=>{B||k()},M=()=>{l.props.menuTrigger==="hover"&&l.props.mode==="horizontal"||l.props.collapse&&l.props.mode==="vertical"||e.disabled||l.handleSubMenuClick({index:e.index,indexPath:a.value,active:C.value})},O=(B,P=e.showTimeout)=>{var F;B.type!=="focus"&&(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||e.disabled||(u.mouseInChild.value=!0,f==null||f(),{stop:f}=ad(()=>{l.openMenu(e.index,a.value)},P),_.value&&((F=i.value.vnode.el)==null||F.dispatchEvent(new MouseEvent("mouseenter")))))},z=(B=!1)=>{var P,F;l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||(f==null||f(),u.mouseInChild.value=!1,{stop:f}=ad(()=>!p.value&&l.closeMenu(e.index,a.value),e.hideTimeout),_.value&&B&&((P=n.parent)==null?void 0:P.type.name)==="ElSubMenu"&&((F=u.handleMouseleave)==null||F.call(u,!0)))};Te(()=>l.props.collapse,B=>R(!!B));{const B=F=>{d.value[F.index]=F},P=F=>{delete d.value[F.index]};It(`subMenu:${n.uid}`,{addSubMenu:B,removeSubMenu:P,handleMouseleave:z,mouseInChild:p,level:u.level+1})}return r({opened:S}),gt(()=>{l.addSubMenu(x),u.addSubMenu(x)}),vr(()=>{u.removeSubMenu(x),l.removeSubMenu(x)}),()=>{var B;const P=[(B=t.title)==null?void 0:B.call(t),Qe(Ke,{class:s.e("icon-arrow"),style:{transform:S.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&l.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>ut(m.value)?Qe(n.appContext.components[m.value]):Qe(m.value)})],F=l.isMenuPopup?Qe(ca,{ref:v,visible:S.value,effect:"light",pure:!0,offset:e.popperOffset,showArrow:!1,persistent:!0,popperClass:e.popperClass,placement:g.value,teleported:_.value,fallbackPlacements:E.value,transition:w.value,gpuAcceleration:!1},{content:()=>{var D;return Qe("div",{class:[o.m(T.value),o.m("popup-container"),e.popperClass],onMouseenter:H=>O(H,100),onMouseleave:()=>z(!0),onFocus:H=>O(H,100)},[Qe("ul",{class:[o.b(),o.m("popup"),o.m(`popup-${g.value}`)],style:A.value},[(D=t.default)==null?void 0:D.call(t)])])},default:()=>Qe("div",{class:s.e("title"),onClick:M},P)}):Qe(je,{},[Qe("div",{class:s.e("title"),ref:h,onClick:M},P),Qe(D_,{},{default:()=>{var D;return ct(Qe("ul",{role:"menu",class:[o.b(),o.m("inline")],style:A.value},[(D=t.default)==null?void 0:D.call(t)]),[[Gt,S.value]])}})]);return Qe("li",{class:[s.b(),s.is("active",C.value),s.is("opened",S.value),s.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:S.value,onMouseenter:O,onMouseleave:()=>z(!0),onFocus:O},[F])}}});const cGe=Le({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:ce(Array),default:()=>Er([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperEffect:{type:String,values:["dark","light"],default:"dark"}}),Zb=e=>Array.isArray(e)&&e.every(t=>ut(t)),dGe={close:(e,t)=>ut(e)&&Zb(t),open:(e,t)=>ut(e)&&Zb(t),select:(e,t,r,n)=>ut(e)&&Zb(t)&&St(r)&&(n===void 0||n instanceof Promise)};var fGe=te({name:"ElMenu",props:cGe,emits:dGe,setup(e,{emit:t,slots:r,expose:n}){const a=mt(),i=a.appContext.config.globalProperties.$router,o=U(),s=ke("menu"),l=ke("sub-menu"),u=U(-1),c=U(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),d=U(e.defaultActive),f=U({}),p=U({}),h=L(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),v=()=>{const k=d.value&&f.value[d.value];if(!k||e.mode==="horizontal"||e.collapse)return;k.indexPath.forEach(M=>{const O=p.value[M];O&&g(M,O.indexPath)})},g=(k,R)=>{c.value.includes(k)||(e.uniqueOpened&&(c.value=c.value.filter(M=>R.includes(M))),c.value.push(k),t("open",k,R))},m=k=>{const R=c.value.indexOf(k);R!==-1&&c.value.splice(R,1)},y=(k,R)=>{m(k),t("close",k,R)},_=({index:k,indexPath:R})=>{c.value.includes(k)?y(k,R):g(k,R)},w=k=>{(e.mode==="horizontal"||e.collapse)&&(c.value=[]);const{index:R,indexPath:M}=k;if(!(Yr(R)||Yr(M)))if(e.router&&i){const O=k.route||R,z=i.push(O).then(B=>(B||(d.value=R),B));t("select",R,M,{index:R,indexPath:M,route:O},z)}else d.value=R,t("select",R,M,{index:R,indexPath:M})},E=k=>{const R=f.value,M=R[k]||d.value&&R[d.value]||R[e.defaultActive];M?d.value=M.index:d.value=k},S=()=>{var k,R;if(!o.value)return-1;const M=Array.from((R=(k=o.value)==null?void 0:k.childNodes)!=null?R:[]).filter(H=>H.nodeName!=="#comment"&&(H.nodeName!=="#text"||H.nodeValue)),O=64,z=Number.parseInt(getComputedStyle(o.value).paddingLeft,10),B=Number.parseInt(getComputedStyle(o.value).paddingRight,10),P=o.value.clientWidth-z-B;let F=0,D=0;return M.forEach((H,K)=>{F+=H.offsetWidth||0,F<=P-O&&(D=K+1)}),D===M.length?-1:D},C=(k,R=33.34)=>{let M;return()=>{M&&clearTimeout(M),M=setTimeout(()=>{k()},R)}};let T=!0;const x=()=>{const k=()=>{u.value=-1,Ye(()=>{u.value=S()})};T?k():C(k)(),T=!1};Te(()=>e.defaultActive,k=>{f.value[k]||(d.value=""),E(k)}),Te(()=>e.collapse,k=>{k&&(c.value=[])}),Te(f.value,v);let A;qa(()=>{e.mode==="horizontal"&&e.ellipsis?A=Yn(o,x).stop:A==null||A()});{const k=z=>{p.value[z.index]=z},R=z=>{delete p.value[z.index]};It("rootMenu",qt({props:e,openedMenus:c,items:f,subMenus:p,activeIndex:d,isMenuPopup:h,addMenuItem:z=>{f.value[z.index]=z},removeMenuItem:z=>{delete f.value[z.index]},addSubMenu:k,removeSubMenu:R,openMenu:g,closeMenu:y,handleMenuItemClick:w,handleSubMenuClick:_})),It(`subMenu:${a.uid}`,{addSubMenu:k,removeSubMenu:R,mouseInChild:U(!1),level:0})}return gt(()=>{e.mode==="horizontal"&&new aGe(a.vnode.el,s.namespace.value)}),n({open:R=>{const{indexPath:M}=p.value[R];M.forEach(O=>g(O,M))},close:m,handleResize:x}),()=>{var k,R;let M=(R=(k=r.default)==null?void 0:k.call(r))!=null?R:[];const O=[];if(e.mode==="horizontal"&&o.value){const P=Fc(M),F=u.value===-1?P:P.slice(0,u.value),D=u.value===-1?[]:P.slice(u.value);D!=null&&D.length&&e.ellipsis&&(M=F,O.push(Qe(GT,{index:"sub-menu-more",class:l.e("hide-arrow")},{title:()=>Qe(Ke,{class:l.e("icon-more")},{default:()=>Qe(o7)}),default:()=>D})))}const z=Zz(e,0),B=Qe("ul",{key:String(e.collapse),role:"menubar",ref:o,style:z.value,class:{[s.b()]:!0,[s.m(e.mode)]:!0,[s.m("collapse")]:e.collapse}},[...M,...O]);return e.collapseTransition&&e.mode==="vertical"?Qe(sGe,()=>B):B}}});const pGe=Le({index:{type:ce([String,null]),default:null},route:{type:ce([String,Object])},disabled:Boolean}),hGe={click:e=>ut(e.index)&&Array.isArray(e.indexPath)},Qb="ElMenuItem",vGe=te({name:Qb,components:{ElTooltip:ca},props:pGe,emits:hGe,setup(e,{emit:t}){const r=mt(),n=Ue("rootMenu"),a=ke("menu"),i=ke("menu-item");n||rn(Qb,"can not inject root menu");const{parentMenu:o,indexPath:s}=Xz(r,xr(e,"index")),l=Ue(`subMenu:${o.value.uid}`);l||rn(Qb,"can not inject sub menu");const u=L(()=>e.index===n.activeIndex),c=qt({index:e.index,indexPath:s,active:u}),d=()=>{e.disabled||(n.handleMenuItemClick({index:e.index,indexPath:s.value,route:e.route}),t("click",c))};return gt(()=>{l.addSubMenu(c),n.addMenuItem(c)}),vr(()=>{l.removeSubMenu(c),n.removeMenuItem(c)}),{parentMenu:o,rootMenu:n,active:u,nsMenu:a,nsMenuItem:i,handleClick:d}}});function gGe(e,t,r,n,a,i){const o=pt("el-tooltip");return I(),$("li",{class:V([e.nsMenuItem.b(),e.nsMenuItem.is("active",e.active),e.nsMenuItem.is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:t[0]||(t[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[e.parentMenu.type.name==="ElMenu"&&e.rootMenu.props.collapse&&e.$slots.title?(I(),pe(o,{key:0,effect:e.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:oe(()=>[Se(e.$slots,"title")]),default:oe(()=>[N("div",{class:V(e.nsMenu.be("tooltip","trigger"))},[Se(e.$slots,"default")],2)]),_:3},8,["effect"])):(I(),$(je,{key:1},[Se(e.$slots,"default"),Se(e.$slots,"title")],64))],2)}var Qz=De(vGe,[["render",gGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);const mGe={title:String},yGe="ElMenuItemGroup",_Ge=te({name:yGe,props:mGe,setup(){return{ns:ke("menu-item-group")}}});function bGe(e,t,r,n,a,i){return I(),$("li",{class:V(e.ns.b())},[N("div",{class:V(e.ns.e("title"))},[e.$slots.title?Se(e.$slots,"title",{key:1}):(I(),$(je,{key:0},[Kt(Oe(e.title),1)],64))],2),N("ul",null,[Se(e.$slots,"default")])],2)}var Jz=De(_Ge,[["render",bGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);const wGe=bt(fGe,{MenuItem:Qz,MenuItemGroup:Jz,SubMenu:GT}),SGe=Mr(Qz),EGe=Mr(Jz),CGe=Mr(GT),TGe=Le({icon:{type:dr,default:()=>ZB},title:String,content:{type:String,default:""}}),xGe={back:()=>!0},AGe=["aria-label"],kGe=te({name:"ElPageHeader"}),IGe=te({...kGe,props:TGe,emits:xGe,setup(e,{emit:t}){const r=Cn(),{t:n}=Ht(),a=ke("page-header"),i=L(()=>[a.b(),{[a.m("has-breadcrumb")]:!!r.breadcrumb,[a.m("has-extra")]:!!r.extra,[a.is("contentful")]:!!r.default}]);function o(){t("back")}return(s,l)=>(I(),$("div",{class:V(b(i))},[s.$slots.breadcrumb?(I(),$("div",{key:0,class:V(b(a).e("breadcrumb"))},[Se(s.$slots,"breadcrumb")],2)):ue("v-if",!0),N("div",{class:V(b(a).e("header"))},[N("div",{class:V(b(a).e("left"))},[N("div",{class:V(b(a).e("back")),role:"button",tabindex:"0",onClick:o},[s.icon||s.$slots.icon?(I(),$("div",{key:0,"aria-label":s.title||b(n)("el.pageHeader.title"),class:V(b(a).e("icon"))},[Se(s.$slots,"icon",{},()=>[s.icon?(I(),pe(b(Ke),{key:0},{default:oe(()=>[(I(),pe(xt(s.icon)))]),_:1})):ue("v-if",!0)])],10,AGe)):ue("v-if",!0),N("div",{class:V(b(a).e("title"))},[Se(s.$slots,"title",{},()=>[Kt(Oe(s.title||b(n)("el.pageHeader.title")),1)])],2)],2),Q(b(Bz),{direction:"vertical"}),N("div",{class:V(b(a).e("content"))},[Se(s.$slots,"content",{},()=>[Kt(Oe(s.content),1)])],2)],2),s.$slots.extra?(I(),$("div",{key:0,class:V(b(a).e("extra"))},[Se(s.$slots,"extra")],2)):ue("v-if",!0)],2),s.$slots.default?(I(),$("div",{key:1,class:V(b(a).e("main"))},[Se(s.$slots,"default")],2)):ue("v-if",!0)],2))}});var RGe=De(IGe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/page-header/src/page-header.vue"]]);const MGe=bt(RGe),eV=Symbol("elPaginationKey"),LGe=Le({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:dr}}),DGe={click:e=>e instanceof MouseEvent},OGe=["disabled","aria-label","aria-disabled"],NGe={key:0},PGe=te({name:"ElPaginationPrev"}),$Ge=te({...PGe,props:LGe,emits:DGe,setup(e){const t=e,{t:r}=Ht(),n=L(()=>t.disabled||t.currentPage<=1);return(a,i)=>(I(),$("button",{type:"button",class:"btn-prev",disabled:b(n),"aria-label":a.prevText||b(r)("el.pagination.prev"),"aria-disabled":b(n),onClick:i[0]||(i[0]=o=>a.$emit("click",o))},[a.prevText?(I(),$("span",NGe,Oe(a.prevText),1)):(I(),pe(b(Ke),{key:1},{default:oe(()=>[(I(),pe(xt(a.prevIcon)))]),_:1}))],8,OGe))}});var BGe=De($Ge,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);const FGe=Le({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:dr}}),zGe=["disabled","aria-label","aria-disabled"],VGe={key:0},HGe=te({name:"ElPaginationNext"}),UGe=te({...HGe,props:FGe,emits:["click"],setup(e){const t=e,{t:r}=Ht(),n=L(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(a,i)=>(I(),$("button",{type:"button",class:"btn-next",disabled:b(n),"aria-label":a.nextText||b(r)("el.pagination.next"),"aria-disabled":b(n),onClick:i[0]||(i[0]=o=>a.$emit("click",o))},[a.nextText?(I(),$("span",VGe,Oe(a.nextText),1)):(I(),pe(b(Ke),{key:1},{default:oe(()=>[(I(),pe(xt(a.nextIcon)))]),_:1}))],8,zGe))}});var GGe=De(UGe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);const tV=Symbol("ElSelectGroup"),ym=Symbol("ElSelect");function WGe(e,t){const r=Ue(ym),n=Ue(tV,{disabled:!1}),a=L(()=>St(e.value)),i=L(()=>r.props.multiple?d(r.props.modelValue,e.value):f(e.value,r.props.modelValue)),o=L(()=>{if(r.props.multiple){const v=r.props.modelValue||[];return!i.value&&v.length>=r.props.multipleLimit&&r.props.multipleLimit>0}else return!1}),s=L(()=>e.label||(a.value?"":e.value)),l=L(()=>e.value||e.label||""),u=L(()=>e.disabled||t.groupDisabled||o.value),c=mt(),d=(v=[],g)=>{if(a.value){const m=r.props.valueKey;return v&&v.some(y=>jt(Or(y,m))===Or(g,m))}else return v&&v.includes(g)},f=(v,g)=>{if(a.value){const{valueKey:m}=r.props;return Or(v,m)===Or(g,m)}else return v===g},p=()=>{!e.disabled&&!n.disabled&&(r.hoverIndex=r.optionsArray.indexOf(c.proxy))};Te(()=>s.value,()=>{!e.created&&!r.props.remote&&r.setSelected()}),Te(()=>e.value,(v,g)=>{const{remote:m,valueKey:y}=r.props;if(Object.is(v,g)||(r.onOptionDestroy(g,c.proxy),r.onOptionCreate(c.proxy)),!e.created&&!m){if(y&&St(v)&&St(g)&&v[y]===g[y])return;r.setSelected()}}),Te(()=>n.disabled,()=>{t.groupDisabled=n.disabled},{immediate:!0});const{queryChange:h}=jt(r);return Te(h,v=>{const{query:g}=b(v),m=new RegExp(YB(g),"i");t.visible=m.test(s.value)||e.created,t.visible||r.filteredOptionsCount--},{immediate:!0}),{select:r,currentLabel:s,currentValue:l,itemSelected:i,isDisabled:u,hoverItem:p}}const KGe=te({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(e){const t=ke("select"),r=Da(),n=L(()=>[t.be("dropdown","item"),t.is("disabled",b(s)),{selected:b(o),hover:b(d)}]),a=qt({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:i,itemSelected:o,isDisabled:s,select:l,hoverItem:u}=WGe(e,a),{visible:c,hover:d}=pn(a),f=mt().proxy;l.onOptionCreate(f),vr(()=>{const h=f.value,{selected:v}=l,m=(l.props.multiple?v:[v]).some(y=>y.value===f.value);Ye(()=>{l.cachedOptions.get(h)===f&&!m&&l.cachedOptions.delete(h)}),l.onOptionDestroy(h,f)});function p(){e.disabled!==!0&&a.groupDisabled!==!0&&l.handleOptionSelect(f)}return{ns:t,id:r,containerKls:n,currentLabel:i,itemSelected:o,isDisabled:s,select:l,hoverItem:u,visible:c,hover:d,selectOptionClick:p,states:a}}}),YGe=["id","aria-disabled","aria-selected"];function qGe(e,t,r,n,a,i){return ct((I(),$("li",{id:e.id,class:V(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMouseenter:t[0]||(t[0]=(...o)=>e.hoverItem&&e.hoverItem(...o)),onClick:t[1]||(t[1]=tt((...o)=>e.selectOptionClick&&e.selectOptionClick(...o),["stop"]))},[Se(e.$slots,"default",{},()=>[N("span",null,Oe(e.currentLabel),1)])],42,YGe)),[[Gt,e.visible]])}var WT=De(KGe,[["render",qGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const jGe=te({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Ue(ym),t=ke("select"),r=L(()=>e.props.popperClass),n=L(()=>e.props.multiple),a=L(()=>e.props.fitInputWidth),i=U("");function o(){var s;i.value=`${(s=e.selectWrapper)==null?void 0:s.offsetWidth}px`}return gt(()=>{o(),Yn(e.selectWrapper,o)}),{ns:t,minWidth:i,popperClass:r,isMultiple:n,isFitInputWidth:a}}});function XGe(e,t,r,n,a,i){return I(),$("div",{class:V([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:qe({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[Se(e.$slots,"default")],6)}var ZGe=De(jGe,[["render",XGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function QGe(e){const{t}=Ht();return qt({options:new Map,cachedOptions:new Map,disabledOptions:new Map,createdLabel:null,createdSelected:!1,selected:e.multiple?[]:{},inputLength:20,inputWidth:0,optionsCount:0,filteredOptionsCount:0,visible:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:t("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,prefixWidth:11,mouseEnter:!1,focused:!1})}const JGe=(e,t,r)=>{const{t:n}=Ht(),a=ke("select");Wo({from:"suffixTransition",replacement:"override style scheme",version:"2.3.0",scope:"props",ref:"https://element-plus.org/en-US/component/select.html#select-attributes"},L(()=>e.suffixTransition===!1));const i=U(null),o=U(null),s=U(null),l=U(null),u=U(null),c=U(null),d=U(null),f=U(null),p=U(),h=or({query:""}),v=or(""),g=U([]);let m=0;const{form:y,formItem:_}=pa(),w=L(()=>!e.filterable||e.multiple||!t.visible),E=L(()=>e.disabled||(y==null?void 0:y.disabled)),S=L(()=>{const we=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:e.modelValue!==void 0&&e.modelValue!==null&&e.modelValue!=="";return e.clearable&&!E.value&&t.inputHovering&&we}),C=L(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),T=L(()=>a.is("reverse",C.value&&t.visible&&e.suffixTransition)),x=L(()=>(y==null?void 0:y.statusIcon)&&(_==null?void 0:_.validateState)&&cT[_==null?void 0:_.validateState]),A=L(()=>e.remote?300:0),k=L(()=>e.loading?e.loadingText||n("el.select.loading"):e.remote&&t.query===""&&t.options.size===0?!1:e.filterable&&t.query&&t.options.size>0&&t.filteredOptionsCount===0?e.noMatchText||n("el.select.noMatch"):t.options.size===0?e.noDataText||n("el.select.noData"):null),R=L(()=>{const we=Array.from(t.options.values()),Be=[];return g.value.forEach(ve=>{const Ve=we.findIndex(Ct=>Ct.currentLabel===ve);Ve>-1&&Be.push(we[Ve])}),Be.length>=we.length?Be:we}),M=L(()=>Array.from(t.cachedOptions.values())),O=L(()=>{const we=R.value.filter(Be=>!Be.created).some(Be=>Be.currentLabel===t.query);return e.filterable&&e.allowCreate&&t.query!==""&&!we}),z=nn(),B=L(()=>["small"].includes(z.value)?"small":"default"),P=L({get(){return t.visible&&k.value!==!1},set(we){t.visible=we}});Te([()=>E.value,()=>z.value,()=>y==null?void 0:y.size],()=>{Ye(()=>{F()})}),Te(()=>e.placeholder,we=>{t.cachedPlaceHolder=t.currentPlaceholder=we,e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(t.currentPlaceholder="")}),Te(()=>e.modelValue,(we,Be)=>{e.multiple&&(F(),we&&we.length>0||o.value&&t.query!==""?t.currentPlaceholder="":t.currentPlaceholder=t.cachedPlaceHolder,e.filterable&&!e.reserveKeyword&&(t.query="",D(t.query))),Y(),e.filterable&&!e.multiple&&(t.inputLength=20),!Ca(we,Be)&&e.validateEvent&&(_==null||_.validate("change").catch(ve=>void 0))},{flush:"post",deep:!0}),Te(()=>t.visible,we=>{var Be,ve,Ve,Ct,Yt;we?((ve=(Be=l.value)==null?void 0:Be.updatePopper)==null||ve.call(Be),e.filterable&&(t.filteredOptionsCount=t.optionsCount,t.query=e.remote?"":t.selectedLabel,(Ct=(Ve=s.value)==null?void 0:Ve.focus)==null||Ct.call(Ve),e.multiple?(Yt=o.value)==null||Yt.focus():t.selectedLabel&&(t.currentPlaceholder=`${t.selectedLabel}`,t.selectedLabel=""),D(t.query),!e.multiple&&!e.remote&&(h.value.query="",rh(h),rh(v)))):(e.filterable&&(it(e.filterMethod)&&e.filterMethod(""),it(e.remoteMethod)&&e.remoteMethod("")),t.query="",t.previousQuery=null,t.selectedLabel="",t.inputLength=20,t.menuVisibleOnFocus=!1,J(),Ye(()=>{o.value&&o.value.value===""&&t.selected.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)}),e.multiple||(t.selected&&(e.filterable&&e.allowCreate&&t.createdSelected&&t.createdLabel?t.selectedLabel=t.createdLabel:t.selectedLabel=t.selected.currentLabel,e.filterable&&(t.query=t.selectedLabel)),e.filterable&&(t.currentPlaceholder=t.cachedPlaceHolder))),r.emit("visible-change",we)}),Te(()=>t.options.entries(),()=>{var we,Be,ve;if(!zt)return;(Be=(we=l.value)==null?void 0:we.updatePopper)==null||Be.call(we),e.multiple&&F();const Ve=((ve=d.value)==null?void 0:ve.querySelectorAll("input"))||[];(!e.filterable&&!e.defaultFirstOption&&!Jr(e.modelValue)||!Array.from(Ve).includes(document.activeElement))&&Y(),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&K()},{flush:"post"}),Te(()=>t.hoverIndex,we=>{at(we)&&we>-1?p.value=R.value[we]||{}:p.value={},R.value.forEach(Be=>{Be.hover=p.value===Be})});const F=()=>{Ye(()=>{var we,Be;if(!i.value)return;const ve=i.value.$el.querySelector("input");m=m||(ve.clientHeight>0?ve.clientHeight+2:0);const Ve=c.value,Ct=getComputedStyle(ve).getPropertyValue(a.cssVarName("input-height")),Yt=Number.parseFloat(Ct)||ZLe(z.value||(y==null?void 0:y.size)),Br=z.value||Yt===m||m<=0?Yt:m;!(ve.offsetParent===null)&&(ve.style.height=`${(t.selected.length===0?Br:Math.max(Ve?Ve.clientHeight+(Ve.clientHeight>Br?6:0):0,Br))-2}px`),t.visible&&k.value!==!1&&((Be=(we=l.value)==null?void 0:we.updatePopper)==null||Be.call(we))})},D=async we=>{if(!(t.previousQuery===we||t.isOnComposition)){if(t.previousQuery===null&&(it(e.filterMethod)||it(e.remoteMethod))){t.previousQuery=we;return}t.previousQuery=we,Ye(()=>{var Be,ve;t.visible&&((ve=(Be=l.value)==null?void 0:Be.updatePopper)==null||ve.call(Be))}),t.hoverIndex=-1,e.multiple&&e.filterable&&Ye(()=>{if(!E.value){const Be=o.value.value.length*15+20;t.inputLength=e.collapseTags?Math.min(50,Be):Be,H()}F()}),e.remote&&it(e.remoteMethod)?(t.hoverIndex=-1,e.remoteMethod(we)):it(e.filterMethod)?(e.filterMethod(we),rh(v)):(t.filteredOptionsCount=t.optionsCount,h.value.query=we,rh(h),rh(v)),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&(await Ye(),K())}},H=()=>{t.currentPlaceholder!==""&&(t.currentPlaceholder=o.value.value?"":t.cachedPlaceHolder)},K=()=>{const we=R.value.filter(Ve=>Ve.visible&&!Ve.disabled&&!Ve.states.groupDisabled),Be=we.find(Ve=>Ve.created),ve=we[0];t.hoverIndex=be(R.value,Be||ve)},Y=()=>{var we;if(e.multiple)t.selectedLabel="";else{const ve=X(e.modelValue);(we=ve.props)!=null&&we.created?(t.createdLabel=ve.props.value,t.createdSelected=!0):t.createdSelected=!1,t.selectedLabel=ve.currentLabel,t.selected=ve,e.filterable&&(t.query=t.selectedLabel);return}const Be=[];Array.isArray(e.modelValue)&&e.modelValue.forEach(ve=>{Be.push(X(ve))}),t.selected=Be,Ye(()=>{F()})},X=we=>{let Be;const ve=by(we).toLowerCase()==="object",Ve=by(we).toLowerCase()==="null",Ct=by(we).toLowerCase()==="undefined";for(let Xr=t.cachedOptions.size-1;Xr>=0;Xr--){const xn=M.value[Xr];if(ve?Or(xn.value,e.valueKey)===Or(we,e.valueKey):xn.value===we){Be={value:we,currentLabel:xn.currentLabel,isDisabled:xn.isDisabled};break}}if(Be)return Be;const Yt=ve?we.label:!Ve&&!Ct?we:"",Br={value:we,currentLabel:Yt};return e.multiple&&(Br.hitState=!1),Br},J=()=>{setTimeout(()=>{const we=e.valueKey;e.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map(Be=>R.value.findIndex(ve=>Or(ve,we)===Or(Be,we)))):t.hoverIndex=-1:t.hoverIndex=R.value.findIndex(Be=>Ae(Be)===Ae(t.selected))},300)},fe=()=>{var we,Be;se(),(Be=(we=l.value)==null?void 0:we.updatePopper)==null||Be.call(we),e.multiple&&F()},se=()=>{var we;t.inputWidth=(we=i.value)==null?void 0:we.$el.offsetWidth},q=()=>{e.filterable&&t.query!==t.selectedLabel&&(t.query=t.selectedLabel,D(t.query))},j=ua(()=>{q()},A.value),ae=ua(we=>{D(we.target.value)},A.value),ne=we=>{Ca(e.modelValue,we)||r.emit(hr,we)},le=we=>Mie(we,Be=>!t.disabledOptions.has(Be)),W=we=>{if(we.code!==Xe.delete){if(we.target.value.length<=0&&!$e()){const Be=e.modelValue.slice(),ve=le(Be);if(ve<0)return;Be.splice(ve,1),r.emit(Et,Be),ne(Be)}we.target.value.length===1&&e.modelValue.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)}},Z=(we,Be)=>{const ve=t.selected.indexOf(Be);if(ve>-1&&!E.value){const Ve=e.modelValue.slice();Ve.splice(ve,1),r.emit(Et,Ve),ne(Ve),r.emit("remove-tag",Be.value)}we.stopPropagation(),We()},ie=we=>{we.stopPropagation();const Be=e.multiple?[]:"";if(!ut(Be))for(const ve of t.selected)ve.isDisabled&&Be.push(ve.value);r.emit(Et,Be),ne(Be),t.hoverIndex=-1,t.visible=!1,r.emit("clear"),We()},me=we=>{var Be;if(e.multiple){const ve=(e.modelValue||[]).slice(),Ve=be(ve,we.value);Ve>-1?ve.splice(Ve,1):(e.multipleLimit<=0||ve.length<e.multipleLimit)&&ve.push(we.value),r.emit(Et,ve),ne(ve),we.created&&(t.query="",D(""),t.inputLength=20),e.filterable&&((Be=o.value)==null||Be.focus())}else r.emit(Et,we.value),ne(we.value),t.visible=!1;ge(),!t.visible&&Ye(()=>{Re(we)})},be=(we=[],Be)=>{if(!St(Be))return we.indexOf(Be);const ve=e.valueKey;let Ve=-1;return we.some((Ct,Yt)=>jt(Or(Ct,ve))===Or(Be,ve)?(Ve=Yt,!0):!1),Ve},ge=()=>{const we=o.value||i.value;we&&(we==null||we.focus())},Re=we=>{var Be,ve,Ve,Ct,Yt;const Br=Array.isArray(we)?we[0]:we;let Xr=null;if(Br!=null&&Br.value){const xn=R.value.filter(Um=>Um.value===Br.value);xn.length>0&&(Xr=xn[0].$el)}if(l.value&&Xr){const xn=(Ct=(Ve=(ve=(Be=l.value)==null?void 0:Be.popperRef)==null?void 0:ve.contentRef)==null?void 0:Ve.querySelector)==null?void 0:Ct.call(Ve,`.${a.be("dropdown","wrap")}`);xn&&XB(xn,Xr)}(Yt=f.value)==null||Yt.handleScroll()},Ce=we=>{t.optionsCount++,t.filteredOptionsCount++,t.options.set(we.value,we),t.cachedOptions.set(we.value,we),we.disabled&&t.disabledOptions.set(we.value,we)},Ee=(we,Be)=>{t.options.get(we)===Be&&(t.optionsCount--,t.filteredOptionsCount--,t.options.delete(we))},xe=we=>{we.code!==Xe.backspace&&$e(!1),t.inputLength=o.value.value.length*15+20,F()},$e=we=>{if(!Array.isArray(t.selected))return;const Be=le(t.selected.map(Ve=>Ve.value)),ve=t.selected[Be];if(ve)return we===!0||we===!1?(ve.hitState=we,we):(ve.hitState=!ve.hitState,ve.hitState)},Fe=we=>{const Be=we.target.value;if(we.type==="compositionend")t.isOnComposition=!1,Ye(()=>D(Be));else{const ve=Be[Be.length-1]||"";t.isOnComposition=!S_(ve)}},Ge=()=>{Ye(()=>Re(t.selected))},Ie=we=>{t.focused||((e.automaticDropdown||e.filterable)&&(e.filterable&&!t.visible&&(t.menuVisibleOnFocus=!0),t.visible=!0),t.focused=!0,r.emit("focus",we))},We=()=>{var we,Be;t.visible?(we=o.value||i.value)==null||we.focus():(Be=i.value)==null||Be.focus()},ot=()=>{var we,Be,ve;t.visible=!1,(we=i.value)==null||we.blur(),(ve=(Be=s.value)==null?void 0:Be.blur)==null||ve.call(Be)},dt=we=>{var Be,ve,Ve;(Be=l.value)!=null&&Be.isFocusInsideContent(we)||(ve=u.value)!=null&&ve.isFocusInsideContent(we)||(Ve=d.value)!=null&&Ve.contains(we.relatedTarget)||(t.visible&&Je(),t.focused=!1,r.emit("blur",we))},At=we=>{ie(we)},Je=()=>{t.visible=!1},_e=we=>{t.visible&&(we.preventDefault(),we.stopPropagation(),t.visible=!1)},he=we=>{we&&!t.mouseEnter||E.value||(t.menuVisibleOnFocus?t.menuVisibleOnFocus=!1:(!l.value||!l.value.isFocusInsideContent())&&(t.visible=!t.visible),We())},de=()=>{t.visible?R.value[t.hoverIndex]&&me(R.value[t.hoverIndex]):he()},Ae=we=>St(we.value)?Or(we.value,e.valueKey):we.value,ee=L(()=>R.value.filter(we=>we.visible).every(we=>we.disabled)),ze=L(()=>e.multiple?t.selected.slice(0,e.maxCollapseTags):[]),st=L(()=>e.multiple?t.selected.slice(e.maxCollapseTags):[]),Mt=we=>{if(!t.visible){t.visible=!0;return}if(!(t.options.size===0||t.filteredOptionsCount===0)&&!t.isOnComposition&&!ee.value){we==="next"?(t.hoverIndex++,t.hoverIndex===t.options.size&&(t.hoverIndex=0)):we==="prev"&&(t.hoverIndex--,t.hoverIndex<0&&(t.hoverIndex=t.options.size-1));const Be=R.value[t.hoverIndex];(Be.disabled===!0||Be.states.groupDisabled===!0||!Be.visible)&&Mt(we),Ye(()=>Re(p.value))}},Ur=()=>{t.mouseEnter=!0},jr=()=>{t.mouseEnter=!1},zi=(we,Be)=>{var ve,Ve;Z(we,Be),(Ve=(ve=u.value)==null?void 0:ve.updatePopper)==null||Ve.call(ve)},Tn=L(()=>({maxWidth:`${b(t.inputWidth)-32-(x.value?22:0)}px`,width:"100%"}));return{optionList:g,optionsArray:R,hoverOption:p,selectSize:z,handleResize:fe,debouncedOnInputChange:j,debouncedQueryChange:ae,deletePrevTag:W,deleteTag:Z,deleteSelected:ie,handleOptionSelect:me,scrollToOption:Re,readonly:w,resetInputHeight:F,showClose:S,iconComponent:C,iconReverse:T,showNewOption:O,collapseTagSize:B,setSelected:Y,managePlaceholder:H,selectDisabled:E,emptyText:k,toggleLastOptionHitState:$e,resetInputState:xe,handleComposition:Fe,onOptionCreate:Ce,onOptionDestroy:Ee,handleMenuEnter:Ge,handleFocus:Ie,focus:We,blur:ot,handleBlur:dt,handleClearClick:At,handleClose:Je,handleKeydownEscape:_e,toggleMenu:he,selectOption:de,getValueKey:Ae,navigateOptions:Mt,handleDeleteTooltipTag:zi,dropMenuVisible:P,queryChange:h,groupQueryChange:v,showTagList:ze,collapseTagList:st,selectTagsStyle:Tn,reference:i,input:o,iOSInput:s,tooltipRef:l,tagTooltipRef:u,tags:c,selectWrapper:d,scrollbar:f,handleMouseEnter:Ur,handleMouseLeave:jr}};var eWe=te({name:"ElOptions",emits:["update-options"],setup(e,{slots:t,emit:r}){let n=[];function a(i,o){if(i.length!==o.length)return!1;for(const[s]of i.entries())if(i[s]!=o[s])return!1;return!0}return()=>{var i,o;const s=(i=t.default)==null?void 0:i.call(t),l=[];function u(c){Array.isArray(c)&&c.forEach(d=>{var f,p,h,v;const g=(f=(d==null?void 0:d.type)||{})==null?void 0:f.name;g==="ElOptionGroup"?u(!ut(d.children)&&!Array.isArray(d.children)&&it((p=d.children)==null?void 0:p.default)?(h=d.children)==null?void 0:h.default():d.children):g==="ElOption"?l.push((v=d.props)==null?void 0:v.label):Array.isArray(d.children)&&u(d.children)})}return s.length&&u((o=s[0])==null?void 0:o.children),a(l,n)||(n=l,r("update-options",l)),s}}});const LR="ElSelect",tWe=te({name:LR,componentName:LR,components:{ElInput:Un,ElSelectMenu:ZGe,ElOption:WT,ElOptions:eWe,ElTag:ug,ElScrollbar:Qs,ElTooltip:ca,ElIcon:Ke},directives:{ClickOutside:ru},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:w_},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:mn.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:dr,default:Xs},fitInputWidth:Boolean,suffixIcon:{type:dr,default:js},tagType:{...PT.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,suffixTransition:{type:Boolean,default:!0},placement:{type:String,values:Td,default:"bottom-start"},ariaLabel:{type:String,default:void 0}},emits:[Et,hr,"remove-tag","clear","visible-change","focus","blur"],setup(e,t){const r=ke("select"),n=ke("input"),{t:a}=Ht(),i=Da(),o=QGe(e),{optionList:s,optionsArray:l,hoverOption:u,selectSize:c,readonly:d,handleResize:f,collapseTagSize:p,debouncedOnInputChange:h,debouncedQueryChange:v,deletePrevTag:g,deleteTag:m,deleteSelected:y,handleOptionSelect:_,scrollToOption:w,setSelected:E,resetInputHeight:S,managePlaceholder:C,showClose:T,selectDisabled:x,iconComponent:A,iconReverse:k,showNewOption:R,emptyText:M,toggleLastOptionHitState:O,resetInputState:z,handleComposition:B,onOptionCreate:P,onOptionDestroy:F,handleMenuEnter:D,handleFocus:H,focus:K,blur:Y,handleBlur:X,handleClearClick:J,handleClose:fe,handleKeydownEscape:se,toggleMenu:q,selectOption:j,getValueKey:ae,navigateOptions:ne,handleDeleteTooltipTag:le,dropMenuVisible:W,reference:Z,input:ie,iOSInput:me,tooltipRef:be,tagTooltipRef:ge,tags:Re,selectWrapper:Ce,scrollbar:Ee,queryChange:xe,groupQueryChange:$e,handleMouseEnter:Fe,handleMouseLeave:Ge,showTagList:Ie,collapseTagList:We,selectTagsStyle:ot}=JGe(e,o,t),{inputWidth:dt,selected:At,inputLength:Je,filteredOptionsCount:_e,visible:he,selectedLabel:de,hoverIndex:Ae,query:ee,inputHovering:ze,currentPlaceholder:st,menuVisibleOnFocus:Mt,isOnComposition:Ur,options:jr,cachedOptions:zi,optionsCount:Tn,prefixWidth:we}=pn(o),Be=L(()=>{const Fa=[r.b()],Eu=b(c);return Eu&&Fa.push(r.m(Eu)),e.disabled&&Fa.push(r.m("disabled")),Fa}),ve=L(()=>[r.e("tags"),r.is("disabled",b(x))]),Ve=L(()=>[r.b("tags-wrapper"),{"has-prefix":b(we)&&b(At).length}]),Ct=L(()=>[r.e("input"),r.is(b(c)),r.is("disabled",b(x))]),Yt=L(()=>[r.e("input"),r.is(b(c)),r.em("input","iOS")]),Br=L(()=>[r.is("empty",!e.allowCreate&&!!b(ee)&&b(_e)===0)]),Xr=L(()=>({maxWidth:`${b(dt)>123?b(dt)-123:b(dt)-75}px`})),xn=L(()=>({marginLeft:`${b(we)}px`,flexGrow:1,width:`${b(Je)/(b(dt)-32)}%`,maxWidth:`${b(dt)-42}px`}));It(ym,qt({props:e,options:jr,optionsArray:l,cachedOptions:zi,optionsCount:Tn,filteredOptionsCount:_e,hoverIndex:Ae,handleOptionSelect:_,onOptionCreate:P,onOptionDestroy:F,selectWrapper:Ce,selected:At,setSelected:E,queryChange:xe,groupQueryChange:$e})),gt(()=>{o.cachedPlaceHolder=st.value=e.placeholder||(()=>a("el.select.placeholder")),e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(st.value=""),Yn(Ce,f),e.remote&&e.multiple&&S(),Ye(()=>{const Fa=Z.value&&Z.value.$el;if(Fa&&(dt.value=Fa.getBoundingClientRect().width,t.slots.prefix)){const Eu=Fa.querySelector(`.${n.e("prefix")}`);we.value=Math.max(Eu.getBoundingClientRect().width+11,30)}}),E()}),e.multiple&&!Array.isArray(e.modelValue)&&t.emit(Et,[]),!e.multiple&&Array.isArray(e.modelValue)&&t.emit(Et,"");const Um=L(()=>{var Fa,Eu;return(Eu=(Fa=be.value)==null?void 0:Fa.popperRef)==null?void 0:Eu.contentRef});return{isIOS:iB,onOptionsRendered:Fa=>{s.value=Fa},prefixWidth:we,selectSize:c,readonly:d,handleResize:f,collapseTagSize:p,debouncedOnInputChange:h,debouncedQueryChange:v,deletePrevTag:g,deleteTag:m,handleDeleteTooltipTag:le,deleteSelected:y,handleOptionSelect:_,scrollToOption:w,inputWidth:dt,selected:At,inputLength:Je,filteredOptionsCount:_e,visible:he,selectedLabel:de,hoverIndex:Ae,query:ee,inputHovering:ze,currentPlaceholder:st,menuVisibleOnFocus:Mt,isOnComposition:Ur,options:jr,resetInputHeight:S,managePlaceholder:C,showClose:T,selectDisabled:x,iconComponent:A,iconReverse:k,showNewOption:R,emptyText:M,toggleLastOptionHitState:O,resetInputState:z,handleComposition:B,handleMenuEnter:D,handleFocus:H,focus:K,blur:Y,handleBlur:X,handleClearClick:J,handleClose:fe,handleKeydownEscape:se,toggleMenu:q,selectOption:j,getValueKey:ae,navigateOptions:ne,dropMenuVisible:W,reference:Z,input:ie,iOSInput:me,tooltipRef:be,popperPaneRef:Um,tags:Re,selectWrapper:Ce,scrollbar:Ee,wrapperKls:Be,tagsKls:ve,tagWrapperKls:Ve,inputKls:Ct,iOSInputKls:Yt,scrollbarKls:Br,selectTagsStyle:ot,nsSelect:r,tagTextStyle:Xr,inputStyle:xn,handleMouseEnter:Fe,handleMouseLeave:Ge,showTagList:Ie,collapseTagList:We,tagTooltipRef:ge,contentId:i,hoverOption:u}}}),rWe=["disabled","autocomplete","aria-activedescendant","aria-controls","aria-expanded","aria-label"],nWe=["disabled"],aWe={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function iWe(e,t,r,n,a,i){const o=pt("el-tag"),s=pt("el-tooltip"),l=pt("el-icon"),u=pt("el-input"),c=pt("el-option"),d=pt("el-options"),f=pt("el-scrollbar"),p=pt("el-select-menu"),h=Yv("click-outside");return ct((I(),$("div",{ref:"selectWrapper",class:V(e.wrapperKls),onMouseenter:t[22]||(t[22]=(...v)=>e.handleMouseEnter&&e.handleMouseEnter(...v)),onMouseleave:t[23]||(t[23]=(...v)=>e.handleMouseLeave&&e.handleMouseLeave(...v)),onClick:t[24]||(t[24]=tt((...v)=>e.toggleMenu&&e.toggleMenu(...v),["stop"]))},[Q(s,{ref:"tooltipRef",visible:e.dropMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,onShow:e.handleMenuEnter},{default:oe(()=>{var v,g;return[N("div",{class:"select-trigger",onMouseenter:t[20]||(t[20]=m=>e.inputHovering=!0),onMouseleave:t[21]||(t[21]=m=>e.inputHovering=!1)},[e.multiple?(I(),$("div",{key:0,ref:"tags",tabindex:"-1",class:V(e.tagsKls),style:qe(e.selectTagsStyle),onClick:t[15]||(t[15]=(...m)=>e.focus&&e.focus(...m))},[e.collapseTags&&e.selected.length?(I(),pe(Hr,{key:0,onAfterLeave:e.resetInputHeight},{default:oe(()=>[N("span",{class:V(e.tagWrapperKls)},[(I(!0),$(je,null,Ot(e.showTagList,m=>(I(),pe(o,{key:e.getValueKey(m),closable:!e.selectDisabled&&!m.isDisabled,size:e.collapseTagSize,hit:m.hitState,type:e.tagType,"disable-transitions":"",onClose:y=>e.deleteTag(y,m)},{default:oe(()=>[N("span",{class:V(e.nsSelect.e("tags-text")),style:qe(e.tagTextStyle)},Oe(m.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),e.selected.length>e.maxCollapseTags?(I(),pe(o,{key:0,closable:!1,size:e.collapseTagSize,type:e.tagType,"disable-transitions":""},{default:oe(()=>[e.collapseTagsTooltip?(I(),pe(s,{key:0,ref:"tagTooltipRef",disabled:e.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:oe(()=>[N("span",{class:V(e.nsSelect.e("tags-text"))},"+ "+Oe(e.selected.length-e.maxCollapseTags),3)]),content:oe(()=>[N("div",{class:V(e.nsSelect.e("collapse-tags"))},[(I(!0),$(je,null,Ot(e.collapseTagList,m=>(I(),$("div",{key:e.getValueKey(m),class:V(e.nsSelect.e("collapse-tag"))},[Q(o,{class:"in-tooltip",closable:!e.selectDisabled&&!m.isDisabled,size:e.collapseTagSize,hit:m.hitState,type:e.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:y=>e.handleDeleteTooltipTag(y,m)},{default:oe(()=>[N("span",{class:V(e.nsSelect.e("tags-text")),style:qe({maxWidth:e.inputWidth-75+"px"})},Oe(m.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect","teleported"])):(I(),$("span",{key:1,class:V(e.nsSelect.e("tags-text"))},"+ "+Oe(e.selected.length-e.maxCollapseTags),3))]),_:1},8,["size","type"])):ue("v-if",!0)],2)]),_:1},8,["onAfterLeave"])):ue("v-if",!0),e.collapseTags?ue("v-if",!0):(I(),pe(Hr,{key:1,onAfterLeave:e.resetInputHeight},{default:oe(()=>[N("span",{class:V(e.tagWrapperKls),style:qe(e.prefixWidth&&e.selected.length?{marginLeft:`${e.prefixWidth}px`}:"")},[(I(!0),$(je,null,Ot(e.selected,m=>(I(),pe(o,{key:e.getValueKey(m),closable:!e.selectDisabled&&!m.isDisabled,size:e.collapseTagSize,hit:m.hitState,type:e.tagType,"disable-transitions":"",onClose:y=>e.deleteTag(y,m)},{default:oe(()=>[N("span",{class:V(e.nsSelect.e("tags-text")),style:qe({maxWidth:e.inputWidth-75+"px"})},Oe(m.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],6)]),_:1},8,["onAfterLeave"])),e.filterable&&!e.selectDisabled?ct((I(),$("input",{key:2,ref:"input","onUpdate:modelValue":t[0]||(t[0]=m=>e.query=m),type:"text",class:V(e.inputKls),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:qe(e.inputStyle),role:"combobox","aria-activedescendant":((v=e.hoverOption)==null?void 0:v.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:t[1]||(t[1]=(...m)=>e.handleFocus&&e.handleFocus(...m)),onBlur:t[2]||(t[2]=(...m)=>e.handleBlur&&e.handleBlur(...m)),onKeyup:t[3]||(t[3]=(...m)=>e.managePlaceholder&&e.managePlaceholder(...m)),onKeydown:[t[4]||(t[4]=(...m)=>e.resetInputState&&e.resetInputState(...m)),t[5]||(t[5]=Ut(tt(m=>e.navigateOptions("next"),["prevent"]),["down"])),t[6]||(t[6]=Ut(tt(m=>e.navigateOptions("prev"),["prevent"]),["up"])),t[7]||(t[7]=Ut((...m)=>e.handleKeydownEscape&&e.handleKeydownEscape(...m),["esc"])),t[8]||(t[8]=Ut(tt((...m)=>e.selectOption&&e.selectOption(...m),["stop","prevent"]),["enter"])),t[9]||(t[9]=Ut((...m)=>e.deletePrevTag&&e.deletePrevTag(...m),["delete"])),t[10]||(t[10]=Ut(m=>e.visible=!1,["tab"]))],onCompositionstart:t[11]||(t[11]=(...m)=>e.handleComposition&&e.handleComposition(...m)),onCompositionupdate:t[12]||(t[12]=(...m)=>e.handleComposition&&e.handleComposition(...m)),onCompositionend:t[13]||(t[13]=(...m)=>e.handleComposition&&e.handleComposition(...m)),onInput:t[14]||(t[14]=(...m)=>e.debouncedQueryChange&&e.debouncedQueryChange(...m))},null,46,rWe)),[[BC,e.query]]):ue("v-if",!0)],6)):ue("v-if",!0),e.isIOS&&!e.multiple&&e.filterable&&e.readonly?(I(),$("input",{key:1,ref:"iOSInput",class:V(e.iOSInputKls),disabled:e.selectDisabled,type:"text"},null,10,nWe)):ue("v-if",!0),Q(u,{id:e.id,ref:"reference",modelValue:e.selectedLabel,"onUpdate:modelValue":t[16]||(t[16]=m=>e.selectedLabel=m),type:"text",placeholder:typeof e.currentPlaceholder=="function"?e.currentPlaceholder():e.currentPlaceholder,name:e.name,autocomplete:e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,class:V([e.nsSelect.is("focus",e.visible)]),tabindex:e.multiple&&e.filterable?-1:void 0,role:"combobox","aria-activedescendant":((g=e.hoverOption)==null?void 0:g.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropMenuVisible,label:e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:e.handleFocus,onBlur:e.handleBlur,onInput:e.debouncedOnInputChange,onPaste:e.debouncedOnInputChange,onCompositionstart:e.handleComposition,onCompositionupdate:e.handleComposition,onCompositionend:e.handleComposition,onKeydown:[t[17]||(t[17]=Ut(tt(m=>e.navigateOptions("next"),["stop","prevent"]),["down"])),t[18]||(t[18]=Ut(tt(m=>e.navigateOptions("prev"),["stop","prevent"]),["up"])),Ut(tt(e.selectOption,["stop","prevent"]),["enter"]),Ut(e.handleKeydownEscape,["esc"]),t[19]||(t[19]=Ut(m=>e.visible=!1,["tab"]))]},Ms({suffix:oe(()=>[e.iconComponent&&!e.showClose?(I(),pe(l,{key:0,class:V([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:oe(()=>[(I(),pe(xt(e.iconComponent)))]),_:1},8,["class"])):ue("v-if",!0),e.showClose&&e.clearIcon?(I(),pe(l,{key:1,class:V([e.nsSelect.e("caret"),e.nsSelect.e("icon")]),onClick:e.handleClearClick},{default:oe(()=>[(I(),pe(xt(e.clearIcon)))]),_:1},8,["class","onClick"])):ue("v-if",!0)]),_:2},[e.$slots.prefix?{name:"prefix",fn:oe(()=>[N("div",aWe,[Se(e.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","aria-activedescendant","aria-controls","aria-expanded","label","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])],32)]}),content:oe(()=>[Q(p,null,{default:oe(()=>[ct(Q(f,{id:e.contentId,ref:"scrollbar",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:V(e.scrollbarKls),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:oe(()=>[e.showNewOption?(I(),pe(c,{key:0,value:e.query,created:!0},null,8,["value"])):ue("v-if",!0),Q(d,{onUpdateOptions:e.onOptionsRendered},{default:oe(()=>[Se(e.$slots,"default")]),_:3},8,["onUpdateOptions"])]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[Gt,e.options.size>0&&!e.loading]]),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&e.options.size===0)?(I(),$(je,{key:0},[e.$slots.empty?Se(e.$slots,"empty",{key:0}):(I(),$("p",{key:1,class:V(e.nsSelect.be("dropdown","empty"))},Oe(e.emptyText),3))],64)):ue("v-if",!0)]),_:3})]),_:3},8,["visible","placement","teleported","popper-class","popper-options","effect","transition","persistent","onShow"])],34)),[[h,e.handleClose,e.popperPaneRef]])}var oWe=De(tWe,[["render",iWe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const sWe=te({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=ke("select"),r=U(!0),n=mt(),a=U([]);It(tV,qt({...pn(e)}));const i=Ue(ym);gt(()=>{a.value=o(n.subTree)});const o=l=>{const u=[];return Array.isArray(l.children)&&l.children.forEach(c=>{var d;c.type&&c.type.name==="ElOption"&&c.component&&c.component.proxy?u.push(c.component.proxy):(d=c.children)!=null&&d.length&&u.push(...o(c))}),u},{groupQueryChange:s}=jt(i);return Te(s,()=>{r.value=a.value.some(l=>l.visible===!0)},{flush:"post"}),{visible:r,ns:t}}});function lWe(e,t,r,n,a,i){return ct((I(),$("ul",{class:V(e.ns.be("group","wrap"))},[N("li",{class:V(e.ns.be("group","title"))},Oe(e.label),3),N("li",null,[N("ul",{class:V(e.ns.b("group"))},[Se(e.$slots,"default")],2)])],2)),[[Gt,e.visible]])}var rV=De(sWe,[["render",lWe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const ud=bt(oWe,{Option:WT,OptionGroup:rV}),$1=Mr(WT),uWe=Mr(rV),KT=()=>Ue(eV,{}),cWe=Le({pageSize:{type:Number,required:!0},pageSizes:{type:ce(Array),default:()=>Er([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:rs}}),dWe=te({name:"ElPaginationSizes"}),fWe=te({...dWe,props:cWe,emits:["page-size-change"],setup(e,{emit:t}){const r=e,{t:n}=Ht(),a=ke("pagination"),i=KT(),o=U(r.pageSize);Te(()=>r.pageSizes,(u,c)=>{if(!Ca(u,c)&&Array.isArray(u)){const d=u.includes(r.pageSize)?r.pageSize:r.pageSizes[0];t("page-size-change",d)}}),Te(()=>r.pageSize,u=>{o.value=u});const s=L(()=>r.pageSizes);function l(u){var c;u!==o.value&&(o.value=u,(c=i.handleSizeChange)==null||c.call(i,Number(u)))}return(u,c)=>(I(),$("span",{class:V(b(a).e("sizes"))},[Q(b(ud),{"model-value":o.value,disabled:u.disabled,"popper-class":u.popperClass,size:u.size,teleported:u.teleported,"validate-event":!1,onChange:l},{default:oe(()=>[(I(!0),$(je,null,Ot(b(s),d=>(I(),pe(b($1),{key:d,value:d,label:d+b(n)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported"])],2))}});var pWe=De(fWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);const hWe=Le({size:{type:String,values:rs}}),vWe=["disabled"],gWe=te({name:"ElPaginationJumper"}),mWe=te({...gWe,props:hWe,setup(e){const{t}=Ht(),r=ke("pagination"),{pageCount:n,disabled:a,currentPage:i,changeEvent:o}=KT(),s=U(),l=L(()=>{var d;return(d=s.value)!=null?d:i==null?void 0:i.value});function u(d){s.value=d?+d:""}function c(d){d=Math.trunc(+d),o==null||o(d),s.value=void 0}return(d,f)=>(I(),$("span",{class:V(b(r).e("jump")),disabled:b(a)},[N("span",{class:V([b(r).e("goto")])},Oe(b(t)("el.pagination.goto")),3),Q(b(Un),{size:d.size,class:V([b(r).e("editor"),b(r).is("in-pagination")]),min:1,max:b(n),disabled:b(a),"model-value":b(l),"validate-event":!1,label:b(t)("el.pagination.page"),type:"number","onUpdate:modelValue":u,onChange:c},null,8,["size","class","max","disabled","model-value","label"]),N("span",{class:V([b(r).e("classifier")])},Oe(b(t)("el.pagination.pageClassifier")),3)],10,vWe))}});var yWe=De(mWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);const _We=Le({total:{type:Number,default:1e3}}),bWe=["disabled"],wWe=te({name:"ElPaginationTotal"}),SWe=te({...wWe,props:_We,setup(e){const{t}=Ht(),r=ke("pagination"),{disabled:n}=KT();return(a,i)=>(I(),$("span",{class:V(b(r).e("total")),disabled:b(n)},Oe(b(t)("el.pagination.total",{total:a.total})),11,bWe))}});var EWe=De(SWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);const CWe=Le({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),TWe=["onKeyup"],xWe=["aria-current","aria-label","tabindex"],AWe=["tabindex","aria-label"],kWe=["aria-current","aria-label","tabindex"],IWe=["tabindex","aria-label"],RWe=["aria-current","aria-label","tabindex"],MWe=te({name:"ElPaginationPager"}),LWe=te({...MWe,props:CWe,emits:["change"],setup(e,{emit:t}){const r=e,n=ke("pager"),a=ke("icon"),{t:i}=Ht(),o=U(!1),s=U(!1),l=U(!1),u=U(!1),c=U(!1),d=U(!1),f=L(()=>{const w=r.pagerCount,E=(w-1)/2,S=Number(r.currentPage),C=Number(r.pageCount);let T=!1,x=!1;C>w&&(S>w-E&&(T=!0),S<C-E&&(x=!0));const A=[];if(T&&!x){const k=C-(w-2);for(let R=k;R<C;R++)A.push(R)}else if(!T&&x)for(let k=2;k<w;k++)A.push(k);else if(T&&x){const k=Math.floor(w/2)-1;for(let R=S-k;R<=S+k;R++)A.push(R)}else for(let k=2;k<C;k++)A.push(k);return A}),p=L(()=>["more","btn-quickprev",a.b(),n.is("disabled",r.disabled)]),h=L(()=>["more","btn-quicknext",a.b(),n.is("disabled",r.disabled)]),v=L(()=>r.disabled?-1:0);qa(()=>{const w=(r.pagerCount-1)/2;o.value=!1,s.value=!1,r.pageCount>r.pagerCount&&(r.currentPage>r.pagerCount-w&&(o.value=!0),r.currentPage<r.pageCount-w&&(s.value=!0))});function g(w=!1){r.disabled||(w?l.value=!0:u.value=!0)}function m(w=!1){w?c.value=!0:d.value=!0}function y(w){const E=w.target;if(E.tagName.toLowerCase()==="li"&&Array.from(E.classList).includes("number")){const S=Number(E.textContent);S!==r.currentPage&&t("change",S)}else E.tagName.toLowerCase()==="li"&&Array.from(E.classList).includes("more")&&_(w)}function _(w){const E=w.target;if(E.tagName.toLowerCase()==="ul"||r.disabled)return;let S=Number(E.textContent);const C=r.pageCount,T=r.currentPage,x=r.pagerCount-2;E.className.includes("more")&&(E.className.includes("quickprev")?S=T-x:E.className.includes("quicknext")&&(S=T+x)),Number.isNaN(+S)||(S<1&&(S=1),S>C&&(S=C)),S!==T&&t("change",S)}return(w,E)=>(I(),$("ul",{class:V(b(n).b()),onClick:_,onKeyup:Ut(y,["enter"])},[w.pageCount>0?(I(),$("li",{key:0,class:V([[b(n).is("active",w.currentPage===1),b(n).is("disabled",w.disabled)],"number"]),"aria-current":w.currentPage===1,"aria-label":b(i)("el.pagination.currentPage",{pager:1}),tabindex:b(v)}," 1 ",10,xWe)):ue("v-if",!0),o.value?(I(),$("li",{key:1,class:V(b(p)),tabindex:b(v),"aria-label":b(i)("el.pagination.prevPages",{pager:w.pagerCount-2}),onMouseenter:E[0]||(E[0]=S=>g(!0)),onMouseleave:E[1]||(E[1]=S=>l.value=!1),onFocus:E[2]||(E[2]=S=>m(!0)),onBlur:E[3]||(E[3]=S=>c.value=!1)},[(l.value||c.value)&&!w.disabled?(I(),pe(b(sd),{key:0})):(I(),pe(b(l3),{key:1}))],42,AWe)):ue("v-if",!0),(I(!0),$(je,null,Ot(b(f),S=>(I(),$("li",{key:S,class:V([[b(n).is("active",w.currentPage===S),b(n).is("disabled",w.disabled)],"number"]),"aria-current":w.currentPage===S,"aria-label":b(i)("el.pagination.currentPage",{pager:S}),tabindex:b(v)},Oe(S),11,kWe))),128)),s.value?(I(),$("li",{key:2,class:V(b(h)),tabindex:b(v),"aria-label":b(i)("el.pagination.nextPages",{pager:w.pagerCount-2}),onMouseenter:E[4]||(E[4]=S=>g()),onMouseleave:E[5]||(E[5]=S=>u.value=!1),onFocus:E[6]||(E[6]=S=>m()),onBlur:E[7]||(E[7]=S=>d.value=!1)},[(u.value||d.value)&&!w.disabled?(I(),pe(b(ld),{key:0})):(I(),pe(b(l3),{key:1}))],42,IWe)):ue("v-if",!0),w.pageCount>1?(I(),$("li",{key:3,class:V([[b(n).is("active",w.currentPage===w.pageCount),b(n).is("disabled",w.disabled)],"number"]),"aria-current":w.currentPage===w.pageCount,"aria-label":b(i)("el.pagination.currentPage",{pager:w.pageCount}),tabindex:b(v)},Oe(w.pageCount),11,RWe)):ue("v-if",!0)],42,TWe))}});var DWe=De(LWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const Xn=e=>typeof e!="number",OWe=Le({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>at(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:ce(Array),default:()=>Er([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:dr,default:()=>Ds},nextText:{type:String,default:""},nextIcon:{type:dr,default:()=>Gn},teleported:{type:Boolean,default:!0},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),NWe={"update:current-page":e=>at(e),"update:page-size":e=>at(e),"size-change":e=>at(e),"current-change":e=>at(e),"prev-click":e=>at(e),"next-click":e=>at(e)},DR="ElPagination";var PWe=te({name:DR,props:OWe,emits:NWe,setup(e,{emit:t,slots:r}){const{t:n}=Ht(),a=ke("pagination"),i=mt().vnode.props||{},o="onUpdate:currentPage"in i||"onUpdate:current-page"in i||"onCurrentChange"in i,s="onUpdate:pageSize"in i||"onUpdate:page-size"in i||"onSizeChange"in i,l=L(()=>{if(Xn(e.total)&&Xn(e.pageCount)||!Xn(e.currentPage)&&!o)return!1;if(e.layout.includes("sizes")){if(Xn(e.pageCount)){if(!Xn(e.total)&&!Xn(e.pageSize)&&!s)return!1}else if(!s)return!1}return!0}),u=U(Xn(e.defaultPageSize)?10:e.defaultPageSize),c=U(Xn(e.defaultCurrentPage)?1:e.defaultCurrentPage),d=L({get(){return Xn(e.pageSize)?u.value:e.pageSize},set(_){Xn(e.pageSize)&&(u.value=_),s&&(t("update:page-size",_),t("size-change",_))}}),f=L(()=>{let _=0;return Xn(e.pageCount)?Xn(e.total)||(_=Math.max(1,Math.ceil(e.total/d.value))):_=e.pageCount,_}),p=L({get(){return Xn(e.currentPage)?c.value:e.currentPage},set(_){let w=_;_<1?w=1:_>f.value&&(w=f.value),Xn(e.currentPage)&&(c.value=w),o&&(t("update:current-page",w),t("current-change",w))}});Te(f,_=>{p.value>_&&(p.value=_)});function h(_){p.value=_}function v(_){d.value=_;const w=f.value;p.value>w&&(p.value=w)}function g(){e.disabled||(p.value-=1,t("prev-click",p.value))}function m(){e.disabled||(p.value+=1,t("next-click",p.value))}function y(_,w){_&&(_.props||(_.props={}),_.props.class=[_.props.class,w].join(" "))}return It(eV,{pageCount:f,disabled:L(()=>e.disabled),currentPage:p,changeEvent:h,handleSizeChange:v}),()=>{var _,w;if(!l.value)return n("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&f.value<=1)return null;const E=[],S=[],C=Qe("div",{class:a.e("rightwrapper")},S),T={prev:Qe(BGe,{disabled:e.disabled,currentPage:p.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:g}),jumper:Qe(yWe,{size:e.small?"small":"default"}),pager:Qe(DWe,{currentPage:p.value,pageCount:f.value,pagerCount:e.pagerCount,onChange:h,disabled:e.disabled}),next:Qe(GGe,{disabled:e.disabled,currentPage:p.value,pageCount:f.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:m}),sizes:Qe(pWe,{pageSize:d.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:e.small?"small":"default"}),slot:(w=(_=r==null?void 0:r.default)==null?void 0:_.call(r))!=null?w:null,total:Qe(EWe,{total:Xn(e.total)?0:e.total})},x=e.layout.split(",").map(k=>k.trim());let A=!1;return x.forEach(k=>{if(k==="->"){A=!0;return}A?S.push(T[k]):E.push(T[k])}),y(E[0],a.is("first")),y(E[E.length-1],a.is("last")),A&&S.length>0&&(y(S[0],a.is("first")),y(S[S.length-1],a.is("last")),E.push(C)),Qe("div",{class:[a.b(),a.is("background",e.background),{[a.m("small")]:e.small}]},E)}}});const $We=bt(PWe),BWe=Le({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:y3,default:"primary"},cancelButtonType:{type:String,values:y3,default:"text"},icon:{type:dr,default:()=>l7},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:mn.teleported,persistent:mn.persistent,width:{type:[String,Number],default:150}}),FWe={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},zWe=te({name:"ElPopconfirm"}),VWe=te({...zWe,props:BWe,emits:FWe,setup(e,{emit:t}){const r=e,{t:n}=Ht(),a=ke("popconfirm"),i=U(),o=()=>{var f,p;(p=(f=i.value)==null?void 0:f.onClose)==null||p.call(f)},s=L(()=>({width:Nr(r.width)})),l=f=>{t("confirm",f),o()},u=f=>{t("cancel",f),o()},c=L(()=>r.confirmButtonText||n("el.popconfirm.confirmButtonText")),d=L(()=>r.cancelButtonText||n("el.popconfirm.cancelButtonText"));return(f,p)=>(I(),pe(b(ca),Tt({ref_key:"tooltipRef",ref:i,trigger:"click",effect:"light"},f.$attrs,{"popper-class":`${b(a).namespace.value}-popover`,"popper-style":b(s),teleported:f.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":f.hideAfter,persistent:f.persistent}),{content:oe(()=>[N("div",{class:V(b(a).b())},[N("div",{class:V(b(a).e("main"))},[!f.hideIcon&&f.icon?(I(),pe(b(Ke),{key:0,class:V(b(a).e("icon")),style:qe({color:f.iconColor})},{default:oe(()=>[(I(),pe(xt(f.icon)))]),_:1},8,["class","style"])):ue("v-if",!0),Kt(" "+Oe(f.title),1)],2),N("div",{class:V(b(a).e("action"))},[Q(b(Mn),{size:"small",type:f.cancelButtonType==="text"?"":f.cancelButtonType,text:f.cancelButtonType==="text",onClick:u},{default:oe(()=>[Kt(Oe(b(d)),1)]),_:1},8,["type","text"]),Q(b(Mn),{size:"small",type:f.confirmButtonType==="text"?"":f.confirmButtonType,text:f.confirmButtonType==="text",onClick:l},{default:oe(()=>[Kt(Oe(b(c)),1)]),_:1},8,["type","text"])],2)],2)]),default:oe(()=>[f.$slots.reference?Se(f.$slots,"reference",{key:0}):ue("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var HWe=De(VWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);const UWe=bt(HWe),GWe=Le({trigger:lg.trigger,placement:By.placement,disabled:lg.disabled,visible:mn.visible,transition:mn.transition,popperOptions:By.popperOptions,tabindex:By.tabindex,content:mn.content,popperStyle:mn.popperStyle,popperClass:mn.popperClass,enterable:{...mn.enterable,default:!0},effect:{...mn.effect,default:"light"},teleported:mn.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),WWe={"update:visible":e=>tn(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},KWe="onUpdate:visible",YWe=te({name:"ElPopover"}),qWe=te({...YWe,props:GWe,emits:WWe,setup(e,{expose:t,emit:r}){const n=e,a=L(()=>n[KWe]),i=ke("popover"),o=U(),s=L(()=>{var g;return(g=b(o))==null?void 0:g.popperRef}),l=L(()=>[{width:Nr(n.width)},n.popperStyle]),u=L(()=>[i.b(),n.popperClass,{[i.m("plain")]:!!n.content}]),c=L(()=>n.transition===`${i.namespace.value}-fade-in-linear`),d=()=>{var g;(g=o.value)==null||g.hide()},f=()=>{r("before-enter")},p=()=>{r("before-leave")},h=()=>{r("after-enter")},v=()=>{r("update:visible",!1),r("after-leave")};return t({popperRef:s,hide:d}),(g,m)=>(I(),pe(b(ca),Tt({ref_key:"tooltipRef",ref:o},g.$attrs,{trigger:g.trigger,placement:g.placement,disabled:g.disabled,visible:g.visible,transition:g.transition,"popper-options":g.popperOptions,tabindex:g.tabindex,content:g.content,offset:g.offset,"show-after":g.showAfter,"hide-after":g.hideAfter,"auto-close":g.autoClose,"show-arrow":g.showArrow,"aria-label":g.title,effect:g.effect,enterable:g.enterable,"popper-class":b(u),"popper-style":b(l),teleported:g.teleported,persistent:g.persistent,"gpu-acceleration":b(c),"onUpdate:visible":b(a),onBeforeShow:f,onBeforeHide:p,onShow:h,onHide:v}),{content:oe(()=>[g.title?(I(),$("div",{key:0,class:V(b(i).e("title")),role:"title"},Oe(g.title),3)):ue("v-if",!0),Se(g.$slots,"default",{},()=>[Kt(Oe(g.content),1)])]),default:oe(()=>[g.$slots.reference?Se(g.$slots,"reference",{key:0}):ue("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var jWe=De(qWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const OR=(e,t)=>{const r=t.arg||t.value,n=r==null?void 0:r.popperRef;n&&(n.triggerRef=e)};var XWe={mounted(e,t){OR(e,t)},updated(e,t){OR(e,t)}};const ZWe="popover",nV=qLe(XWe,ZWe),QWe=bt(jWe,{directive:nV}),JWe=Le({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:ce(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:ce([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:ce(Function),default:e=>`${e}%`}}),eKe=["aria-valuenow"],tKe={viewBox:"0 0 100 100"},rKe=["d","stroke","stroke-linecap","stroke-width"],nKe=["d","stroke","opacity","stroke-linecap","stroke-width"],aKe={key:0},iKe=te({name:"ElProgress"}),oKe=te({...iKe,props:JWe,setup(e){const t=e,r={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},n=ke("progress"),a=L(()=>({width:`${t.percentage}%`,animationDuration:`${t.duration}s`,backgroundColor:y(t.percentage)})),i=L(()=>(t.strokeWidth/t.width*100).toFixed(1)),o=L(()=>["circle","dashboard"].includes(t.type)?Number.parseInt(`${50-Number.parseFloat(i.value)/2}`,10):0),s=L(()=>{const _=o.value,w=t.type==="dashboard";return`
          M 50 50
          m 0 ${w?"":"-"}${_}
          a ${_} ${_} 0 1 1 0 ${w?"-":""}${_*2}
          a ${_} ${_} 0 1 1 0 ${w?"":"-"}${_*2}
          `}),l=L(()=>2*Math.PI*o.value),u=L(()=>t.type==="dashboard"?.75:1),c=L(()=>`${-1*l.value*(1-u.value)/2}px`),d=L(()=>({strokeDasharray:`${l.value*u.value}px, ${l.value}px`,strokeDashoffset:c.value})),f=L(()=>({strokeDasharray:`${l.value*u.value*(t.percentage/100)}px, ${l.value}px`,strokeDashoffset:c.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),p=L(()=>{let _;return t.color?_=y(t.percentage):_=r[t.status]||r.default,_}),h=L(()=>t.status==="warning"?pm:t.type==="line"?t.status==="success"?m_:Xs:t.status==="success"?Np:Ii),v=L(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),g=L(()=>t.format(t.percentage));function m(_){const w=100/_.length;return _.map((S,C)=>ut(S)?{color:S,percentage:(C+1)*w}:S).sort((S,C)=>S.percentage-C.percentage)}const y=_=>{var w;const{color:E}=t;if(it(E))return E(_);if(ut(E))return E;{const S=m(E);for(const C of S)if(C.percentage>_)return C.color;return(w=S[S.length-1])==null?void 0:w.color}};return(_,w)=>(I(),$("div",{class:V([b(n).b(),b(n).m(_.type),b(n).is(_.status),{[b(n).m("without-text")]:!_.showText,[b(n).m("text-inside")]:_.textInside}]),role:"progressbar","aria-valuenow":_.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[_.type==="line"?(I(),$("div",{key:0,class:V(b(n).b("bar"))},[N("div",{class:V(b(n).be("bar","outer")),style:qe({height:`${_.strokeWidth}px`})},[N("div",{class:V([b(n).be("bar","inner"),{[b(n).bem("bar","inner","indeterminate")]:_.indeterminate},{[b(n).bem("bar","inner","striped")]:_.striped},{[b(n).bem("bar","inner","striped-flow")]:_.stripedFlow}]),style:qe(b(a))},[(_.showText||_.$slots.default)&&_.textInside?(I(),$("div",{key:0,class:V(b(n).be("bar","innerText"))},[Se(_.$slots,"default",{percentage:_.percentage},()=>[N("span",null,Oe(b(g)),1)])],2)):ue("v-if",!0)],6)],6)],2)):(I(),$("div",{key:1,class:V(b(n).b("circle")),style:qe({height:`${_.width}px`,width:`${_.width}px`})},[(I(),$("svg",tKe,[N("path",{class:V(b(n).be("circle","track")),d:b(s),stroke:`var(${b(n).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":_.strokeLinecap,"stroke-width":b(i),fill:"none",style:qe(b(d))},null,14,rKe),N("path",{class:V(b(n).be("circle","path")),d:b(s),stroke:b(p),fill:"none",opacity:_.percentage?1:0,"stroke-linecap":_.strokeLinecap,"stroke-width":b(i),style:qe(b(f))},null,14,nKe)]))],6)),(_.showText||_.$slots.default)&&!_.textInside?(I(),$("div",{key:2,class:V(b(n).e("text")),style:qe({fontSize:`${b(v)}px`})},[Se(_.$slots,"default",{percentage:_.percentage},()=>[_.status?(I(),pe(b(Ke),{key:1},{default:oe(()=>[(I(),pe(xt(b(h))))]),_:1})):(I(),$("span",aKe,Oe(b(g)),1))])],6)):ue("v-if",!0)],10,eKe))}});var sKe=De(oKe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const aV=bt(sKe),lKe=Le({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:ce([Array,Object]),default:()=>Er(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:ce([Array,Object]),default:()=>[Gh,Gh,Gh]},voidIcon:{type:dr,default:()=>v7},disabledVoidIcon:{type:dr,default:()=>Gh},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:ce(Array),default:()=>Er(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:On,label:{type:String,default:void 0},clearable:{type:Boolean,default:!1}}),uKe={[hr]:e=>at(e),[Et]:e=>at(e)},cKe=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],dKe=["onMousemove","onClick"],fKe=te({name:"ElRate"}),pKe=te({...fKe,props:lKe,emits:uKe,setup(e,{expose:t,emit:r}){const n=e;function a(B,P){const F=K=>St(K),D=Object.keys(P).map(K=>+K).filter(K=>{const Y=P[K];return(F(Y)?Y.excluded:!1)?B<K:B<=K}).sort((K,Y)=>K-Y),H=P[D[0]];return F(H)&&H.value||H}const i=Ue(xd,void 0),o=Ue(qo,void 0),s=nn(),l=ke("rate"),{inputId:u,isLabeledByFormItem:c}=_u(n,{formItemContext:o}),d=U(n.modelValue),f=U(-1),p=U(!0),h=L(()=>[l.b(),l.m(s.value)]),v=L(()=>n.disabled||(i==null?void 0:i.disabled)),g=L(()=>l.cssVarBlock({"void-color":n.voidColor,"disabled-void-color":n.disabledVoidColor,"fill-color":w.value})),m=L(()=>{let B="";return n.showScore?B=n.scoreTemplate.replace(/\{\s*value\s*\}/,v.value?`${n.modelValue}`:`${d.value}`):n.showText&&(B=n.texts[Math.ceil(d.value)-1]),B}),y=L(()=>n.modelValue*100-Math.floor(n.modelValue)*100),_=L(()=>He(n.colors)?{[n.lowThreshold]:n.colors[0],[n.highThreshold]:{value:n.colors[1],excluded:!0},[n.max]:n.colors[2]}:n.colors),w=L(()=>{const B=a(d.value,_.value);return St(B)?"":B}),E=L(()=>{let B="";return v.value?B=`${y.value}%`:n.allowHalf&&(B="50%"),{color:w.value,width:B}}),S=L(()=>{let B=He(n.icons)?[...n.icons]:{...n.icons};return B=Pc(B),He(B)?{[n.lowThreshold]:B[0],[n.highThreshold]:{value:B[1],excluded:!0},[n.max]:B[2]}:B}),C=L(()=>a(n.modelValue,S.value)),T=L(()=>v.value?ut(n.disabledVoidIcon)?n.disabledVoidIcon:Pc(n.disabledVoidIcon):ut(n.voidIcon)?n.voidIcon:Pc(n.voidIcon)),x=L(()=>a(d.value,S.value));function A(B){const P=v.value&&y.value>0&&B-1<n.modelValue&&B>n.modelValue,F=n.allowHalf&&p.value&&B-.5<=d.value&&B>d.value;return P||F}function k(B){n.clearable&&B===n.modelValue&&(B=0),r(Et,B),n.modelValue!==B&&r("change",B)}function R(B){v.value||(n.allowHalf&&p.value?k(d.value):k(B))}function M(B){if(v.value)return;let P=d.value;const F=B.code;return F===Xe.up||F===Xe.right?(n.allowHalf?P+=.5:P+=1,B.stopPropagation(),B.preventDefault()):(F===Xe.left||F===Xe.down)&&(n.allowHalf?P-=.5:P-=1,B.stopPropagation(),B.preventDefault()),P=P<0?0:P,P=P>n.max?n.max:P,r(Et,P),r("change",P),P}function O(B,P){if(!v.value){if(n.allowHalf&&P){let F=P.target;ao(F,l.e("item"))&&(F=F.querySelector(`.${l.e("icon")}`)),(F.clientWidth===0||ao(F,l.e("decimal")))&&(F=F.parentNode),p.value=P.offsetX*2<=F.clientWidth,d.value=p.value?B-.5:B}else d.value=B;f.value=B}}function z(){v.value||(n.allowHalf&&(p.value=n.modelValue!==Math.floor(n.modelValue)),d.value=n.modelValue,f.value=-1)}return Te(()=>n.modelValue,B=>{d.value=B,p.value=n.modelValue!==Math.floor(n.modelValue)}),n.modelValue||r(Et,0),t({setCurrentValue:O,resetCurrentValue:z}),(B,P)=>{var F;return I(),$("div",{id:b(u),class:V([b(h),b(l).is("disabled",b(v))]),role:"slider","aria-label":b(c)?void 0:B.label||"rating","aria-labelledby":b(c)?(F=b(o))==null?void 0:F.labelId:void 0,"aria-valuenow":d.value,"aria-valuetext":b(m)||void 0,"aria-valuemin":"0","aria-valuemax":B.max,tabindex:"0",style:qe(b(g)),onKeydown:M},[(I(!0),$(je,null,Ot(B.max,(D,H)=>(I(),$("span",{key:H,class:V(b(l).e("item")),onMousemove:K=>O(D,K),onMouseleave:z,onClick:K=>R(D)},[Q(b(Ke),{class:V([b(l).e("icon"),{hover:f.value===D},b(l).is("active",D<=d.value)])},{default:oe(()=>[A(D)?ue("v-if",!0):(I(),$(je,{key:0},[ct((I(),pe(xt(b(x)),null,null,512)),[[Gt,D<=d.value]]),ct((I(),pe(xt(b(T)),null,null,512)),[[Gt,!(D<=d.value)]])],64)),A(D)?(I(),pe(b(Ke),{key:1,style:qe(b(E)),class:V([b(l).e("icon"),b(l).e("decimal")])},{default:oe(()=>[(I(),pe(xt(b(C))))]),_:1},8,["style","class"])):ue("v-if",!0)]),_:2},1032,["class"])],42,dKe))),128)),B.showText||B.showScore?(I(),$("span",{key:0,class:V(b(l).e("text")),style:qe({color:B.textColor})},Oe(b(m)),7)):ue("v-if",!0)],46,cKe)}}});var hKe=De(pKe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/rate/src/rate.vue"]]);const vKe=bt(hKe),wf={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},NR={[wf.success]:e7,[wf.warning]:pm,[wf.error]:y_,[wf.info]:__},gKe=Le({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),mKe=te({name:"ElResult"}),yKe=te({...mKe,props:gKe,setup(e){const t=e,r=ke("result"),n=L(()=>{const a=t.icon,i=a&&wf[a]?wf[a]:"icon-info",o=NR[i]||NR["icon-info"];return{class:i,component:o}});return(a,i)=>(I(),$("div",{class:V(b(r).b())},[N("div",{class:V(b(r).e("icon"))},[Se(a.$slots,"icon",{},()=>[b(n).component?(I(),pe(xt(b(n).component),{key:0,class:V(b(n).class)},null,8,["class"])):ue("v-if",!0)])],2),a.title||a.$slots.title?(I(),$("div",{key:0,class:V(b(r).e("title"))},[Se(a.$slots,"title",{},()=>[N("p",null,Oe(a.title),1)])],2)):ue("v-if",!0),a.subTitle||a.$slots["sub-title"]?(I(),$("div",{key:1,class:V(b(r).e("subtitle"))},[Se(a.$slots,"sub-title",{},()=>[N("p",null,Oe(a.subTitle),1)])],2)):ue("v-if",!0),a.$slots.extra?(I(),$("div",{key:2,class:V(b(r).e("extra"))},[Se(a.$slots,"extra")],2)):ue("v-if",!0)],2))}});var _Ke=De(yKe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/result/src/result.vue"]]);const bKe=bt(_Ke);var PR=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function wKe(e,t){return!!(e===t||PR(e)&&PR(t))}function SKe(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!wKe(e[r],t[r]))return!1;return!0}function EKe(e,t){t===void 0&&(t=SKe);var r=null;function n(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];if(r&&r.lastThis===this&&t(a,r.lastArgs))return r.lastResult;var o=e.apply(this,a);return r={lastResult:o,lastArgs:a,lastThis:this},o}return n.clear=function(){r=null},n}const iV=()=>{const t=mt().proxy.$props;return L(()=>{const r=(n,a,i)=>({});return t.perfMode?h_(r):EKe(r)})},F3=50,B1="itemRendered",F1="scroll",Sf="forward",z1="backward",_i="auto",N_="smart",dg="start",Oo="center",fg="end",cp="horizontal",YT="vertical",CKe="ltr",Bf="rtl",pg="negative",qT="positive-ascending",jT="positive-descending",TKe={[cp]:"left",[YT]:"top"},xKe=20,AKe={[cp]:"deltaX",[YT]:"deltaY"},kKe=({atEndEdge:e,atStartEdge:t,layout:r},n)=>{let a,i=0;const o=l=>l<0&&t.value||l>0&&e.value;return{hasReachedEdge:o,onWheel:l=>{E_(a);const u=l[AKe[r.value]];o(i)&&o(i+u)||(i+=u,uB()||l.preventDefault(),a=np(()=>{n(i),i=0}))}}},z3=po({type:ce([Number,Function]),required:!0}),V3=po({type:Number}),H3=po({type:Number,default:2}),IKe=po({type:String,values:["ltr","rtl"],default:"ltr"}),U3=po({type:Number,default:0}),V1=po({type:Number,required:!0}),oV=po({type:String,values:["horizontal","vertical"],default:YT}),sV=Le({className:{type:String,default:""},containerElement:{type:ce([String,Object]),default:"div"},data:{type:ce(Array),default:()=>Er([])},direction:IKe,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:ce([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),lV=Le({cache:H3,estimatedItemSize:V3,layout:oV,initScrollOffset:U3,total:V1,itemSize:z3,...sV}),G3={type:Number,default:6},uV={type:Number,default:0},cV={type:Number,default:2},Vc=Le({columnCache:H3,columnWidth:z3,estimatedColumnWidth:V3,estimatedRowHeight:V3,initScrollLeft:U3,initScrollTop:U3,itemKey:{type:ce(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:H3,rowHeight:z3,totalColumn:V1,totalRow:V1,hScrollbarSize:G3,vScrollbarSize:G3,scrollbarStartGap:uV,scrollbarEndGap:cV,role:String,...sV}),dV=Le({alwaysOn:Boolean,class:String,layout:oV,total:V1,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:G3,startGap:uV,endGap:cV,visible:Boolean}),Ec=(e,t)=>e<t?Sf:z1,hg=e=>e===CKe||e===Bf||e===cp,$R=e=>e===Bf;let Fd=null;function H1(e=!1){if(Fd===null||e){const t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";const n=document.createElement("div"),a=n.style;return a.width="100px",a.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?Fd=jT:(t.scrollLeft=1,t.scrollLeft===0?Fd=pg:Fd=qT),document.body.removeChild(t),Fd}return Fd}function RKe({move:e,size:t,bar:r},n){const a={},i=`translate${r.axis}(${e}px)`;return a[r.size]=t,a.transform=i,a.msTransform=i,a.webkitTransform=i,n==="horizontal"?a.height="100%":a.width="100%",a}const W3=te({name:"ElVirtualScrollBar",props:dV,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const r=L(()=>e.startGap+e.endGap),n=ke("virtual-scrollbar"),a=ke("scrollbar"),i=U(),o=U();let s=null,l=null;const u=qt({isDragging:!1,traveled:0}),c=L(()=>uF[e.layout]),d=L(()=>e.clientSize-b(r)),f=L(()=>({position:"absolute",width:`${cp===e.layout?d.value:e.scrollbarSize}px`,height:`${cp===e.layout?e.scrollbarSize:d.value}px`,[TKe[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),p=L(()=>{const S=e.ratio,C=e.clientSize;if(S>=100)return Number.POSITIVE_INFINITY;if(S>=50)return S*C/100;const T=C/3;return Math.floor(Math.min(Math.max(S*C,xKe),T))}),h=L(()=>{if(!Number.isFinite(p.value))return{display:"none"};const S=`${p.value}px`;return RKe({bar:c.value,size:S,move:u.traveled},e.layout)}),v=L(()=>Math.floor(e.clientSize-p.value-b(r))),g=()=>{window.addEventListener("mousemove",w),window.addEventListener("mouseup",_);const S=b(o);S&&(l=document.onselectstart,document.onselectstart=()=>!1,S.addEventListener("touchmove",w),S.addEventListener("touchend",_))},m=()=>{window.removeEventListener("mousemove",w),window.removeEventListener("mouseup",_),document.onselectstart=l,l=null;const S=b(o);S&&(S.removeEventListener("touchmove",w),S.removeEventListener("touchend",_))},y=S=>{S.stopImmediatePropagation(),!(S.ctrlKey||[1,2].includes(S.button))&&(u.isDragging=!0,u[c.value.axis]=S.currentTarget[c.value.offset]-(S[c.value.client]-S.currentTarget.getBoundingClientRect()[c.value.direction]),t("start-move"),g())},_=()=>{u.isDragging=!1,u[c.value.axis]=0,t("stop-move"),m()},w=S=>{const{isDragging:C}=u;if(!C||!o.value||!i.value)return;const T=u[c.value.axis];if(!T)return;E_(s);const x=(i.value.getBoundingClientRect()[c.value.direction]-S[c.value.client])*-1,A=o.value[c.value.offset]-T,k=x-A;s=np(()=>{u.traveled=Math.max(e.startGap,Math.min(k,v.value)),t("scroll",k,v.value)})},E=S=>{const C=Math.abs(S.target.getBoundingClientRect()[c.value.direction]-S[c.value.client]),T=o.value[c.value.offset]/2,x=C-T;u.traveled=Math.max(0,Math.min(x,v.value)),t("scroll",x,v.value)};return Te(()=>e.scrollFrom,S=>{u.isDragging||(u.traveled=Math.ceil(S*v.value))}),vr(()=>{m()}),()=>Qe("div",{role:"presentation",ref:i,class:[n.b(),e.class,(e.alwaysOn||u.isDragging)&&"always-on"],style:f.value,onMousedown:tt(E,["stop","prevent"]),onTouchstartPrevent:y},Qe("div",{ref:o,class:a.e("thumb"),style:h.value,onMousedown:y},[]))}}),fV=({name:e,getOffset:t,getItemSize:r,getItemOffset:n,getEstimatedTotalSize:a,getStartIndexForOffset:i,getStopIndexForStartIndex:o,initCache:s,clearCache:l,validateProps:u})=>te({name:e??"ElVirtualList",props:lV,emits:[B1,F1],setup(c,{emit:d,expose:f}){u(c);const p=mt(),h=ke("vl"),v=U(s(c,p)),g=iV(),m=U(),y=U(),_=U(),w=U({isScrolling:!1,scrollDir:"forward",scrollOffset:at(c.initScrollOffset)?c.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:c.scrollbarAlwaysOn}),E=L(()=>{const{total:X,cache:J}=c,{isScrolling:fe,scrollDir:se,scrollOffset:q}=b(w);if(X===0)return[0,0,0,0];const j=i(c,q,b(v)),ae=o(c,j,q,b(v)),ne=!fe||se===z1?Math.max(1,J):1,le=!fe||se===Sf?Math.max(1,J):1;return[Math.max(0,j-ne),Math.max(0,Math.min(X-1,ae+le)),j,ae]}),S=L(()=>a(c,b(v))),C=L(()=>hg(c.layout)),T=L(()=>[{position:"relative",[`overflow-${C.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:c.direction,height:at(c.height)?`${c.height}px`:c.height,width:at(c.width)?`${c.width}px`:c.width},c.style]),x=L(()=>{const X=b(S),J=b(C);return{height:J?"100%":`${X}px`,pointerEvents:b(w).isScrolling?"none":void 0,width:J?`${X}px`:"100%"}}),A=L(()=>C.value?c.width:c.height),{onWheel:k}=kKe({atStartEdge:L(()=>w.value.scrollOffset<=0),atEndEdge:L(()=>w.value.scrollOffset>=S.value),layout:L(()=>c.layout)},X=>{var J,fe;(fe=(J=_.value).onMouseUp)==null||fe.call(J),P(Math.min(w.value.scrollOffset+X,S.value-A.value))}),R=()=>{const{total:X}=c;if(X>0){const[q,j,ae,ne]=b(E);d(B1,q,j,ae,ne)}const{scrollDir:J,scrollOffset:fe,updateRequested:se}=b(w);d(F1,J,fe,se)},M=X=>{const{clientHeight:J,scrollHeight:fe,scrollTop:se}=X.currentTarget,q=b(w);if(q.scrollOffset===se)return;const j=Math.max(0,Math.min(se,fe-J));w.value={...q,isScrolling:!0,scrollDir:Ec(q.scrollOffset,j),scrollOffset:j,updateRequested:!1},Ye(H)},O=X=>{const{clientWidth:J,scrollLeft:fe,scrollWidth:se}=X.currentTarget,q=b(w);if(q.scrollOffset===fe)return;const{direction:j}=c;let ae=fe;if(j===Bf)switch(H1()){case pg:{ae=-fe;break}case jT:{ae=se-J-fe;break}}ae=Math.max(0,Math.min(ae,se-J)),w.value={...q,isScrolling:!0,scrollDir:Ec(q.scrollOffset,ae),scrollOffset:ae,updateRequested:!1},Ye(H)},z=X=>{b(C)?O(X):M(X),R()},B=(X,J)=>{const fe=(S.value-A.value)/J*X;P(Math.min(S.value-A.value,fe))},P=X=>{X=Math.max(X,0),X!==b(w).scrollOffset&&(w.value={...b(w),scrollOffset:X,scrollDir:Ec(b(w).scrollOffset,X),updateRequested:!0},Ye(H))},F=(X,J=_i)=>{const{scrollOffset:fe}=b(w);X=Math.max(0,Math.min(X,c.total-1)),P(t(c,X,J,fe,b(v)))},D=X=>{const{direction:J,itemSize:fe,layout:se}=c,q=g.value(l&&fe,l&&se,l&&J);let j;if($t(q,String(X)))j=q[X];else{const ae=n(c,X,b(v)),ne=r(c,X,b(v)),le=b(C),W=J===Bf,Z=le?ae:0;q[X]=j={position:"absolute",left:W?void 0:`${Z}px`,right:W?`${Z}px`:void 0,top:le?0:`${ae}px`,height:le?"100%":`${ne}px`,width:le?`${ne}px`:"100%"}}return j},H=()=>{w.value.isScrolling=!1,Ye(()=>{g.value(-1,null,null)})},K=()=>{const X=m.value;X&&(X.scrollTop=0)};gt(()=>{if(!zt)return;const{initScrollOffset:X}=c,J=b(m);at(X)&&J&&(b(C)?J.scrollLeft=X:J.scrollTop=X),R()}),Ks(()=>{const{direction:X,layout:J}=c,{scrollOffset:fe,updateRequested:se}=b(w),q=b(m);if(se&&q)if(J===cp)if(X===Bf)switch(H1()){case pg:{q.scrollLeft=-fe;break}case qT:{q.scrollLeft=fe;break}default:{const{clientWidth:j,scrollWidth:ae}=q;q.scrollLeft=ae-j-fe;break}}else q.scrollLeft=fe;else q.scrollTop=fe});const Y={ns:h,clientSize:A,estimatedTotalSize:S,windowStyle:T,windowRef:m,innerRef:y,innerStyle:x,itemsToRender:E,scrollbarRef:_,states:w,getItemStyle:D,onScroll:z,onScrollbarScroll:B,onWheel:k,scrollTo:P,scrollToItem:F,resetScrollTop:K};return f({windowRef:m,innerRef:y,getItemStyleCache:g,scrollTo:P,scrollToItem:F,resetScrollTop:K,states:w}),Y},render(c){var d;const{$slots:f,className:p,clientSize:h,containerElement:v,data:g,getItemStyle:m,innerElement:y,itemsToRender:_,innerStyle:w,layout:E,total:S,onScroll:C,onScrollbarScroll:T,onWheel:x,states:A,useIsScrolling:k,windowStyle:R,ns:M}=c,[O,z]=_,B=xt(v),P=xt(y),F=[];if(S>0)for(let Y=O;Y<=z;Y++)F.push((d=f.default)==null?void 0:d.call(f,{data:g,key:Y,index:Y,isScrolling:k?A.isScrolling:void 0,style:m(Y)}));const D=[Qe(P,{style:w,ref:"innerRef"},ut(P)?F:{default:()=>F})],H=Qe(W3,{ref:"scrollbarRef",clientSize:h,layout:E,onScroll:T,ratio:h*100/this.estimatedTotalSize,scrollFrom:A.scrollOffset/(this.estimatedTotalSize-h),total:S}),K=Qe(B,{class:[M.e("window"),p],style:R,onScroll:C,onWheel:x,ref:"windowRef",key:0},ut(B)?[D]:{default:()=>[D]});return Qe("div",{key:0,class:[M.e("wrapper"),A.scrollbarAlwaysOn?"always-on":""]},[K,H])}}),pV=fV({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:r,layout:n,width:a},i,o,s)=>{const l=hg(n)?a:e,u=Math.max(0,t*r-l),c=Math.min(u,i*r),d=Math.max(0,(i+1)*r-l);switch(o===N_&&(s>=d-l&&s<=c+l?o=_i:o=Oo),o){case dg:return c;case fg:return d;case Oo:{const f=Math.round(d+(c-d)/2);return f<Math.ceil(l/2)?0:f>u+Math.floor(l/2)?u:f}case _i:default:return s>=d&&s<=c?s:s<d?d:c}},getStartIndexForOffset:({total:e,itemSize:t},r)=>Math.max(0,Math.min(e-1,Math.floor(r/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:r,layout:n,width:a},i,o)=>{const s=i*r,l=hg(n)?a:e,u=Math.ceil((l+o-s)/r);return Math.max(0,Math.min(t-1,i+u-1))},initCache(){},clearCache:!0,validateProps(){}}),Ef=(e,t,r)=>{const{itemSize:n}=e,{items:a,lastVisitedIndex:i}=r;if(t>i){let o=0;if(i>=0){const s=a[i];o=s.offset+s.size}for(let s=i+1;s<=t;s++){const l=n(s);a[s]={offset:o,size:l},o+=l}r.lastVisitedIndex=t}return a[t]},MKe=(e,t,r)=>{const{items:n,lastVisitedIndex:a}=t;return(a>0?n[a].offset:0)>=r?hV(e,t,0,a,r):LKe(e,t,Math.max(0,a),r)},hV=(e,t,r,n,a)=>{for(;r<=n;){const i=r+Math.floor((n-r)/2),o=Ef(e,i,t).offset;if(o===a)return i;o<a?r=i+1:o>a&&(n=i-1)}return Math.max(0,r-1)},LKe=(e,t,r,n)=>{const{total:a}=e;let i=1;for(;r<a&&Ef(e,r,t).offset<n;)r+=i,i*=2;return hV(e,t,Math.floor(r/2),Math.min(r,a-1),n)},BR=({total:e},{items:t,estimatedItemSize:r,lastVisitedIndex:n})=>{let a=0;if(n>=e&&(n=e-1),n>=0){const s=t[n];a=s.offset+s.size}const o=(e-n-1)*r;return a+o},DKe=fV({name:"ElDynamicSizeList",getItemOffset:(e,t,r)=>Ef(e,t,r).offset,getItemSize:(e,t,{items:r})=>r[t].size,getEstimatedTotalSize:BR,getOffset:(e,t,r,n,a)=>{const{height:i,layout:o,width:s}=e,l=hg(o)?s:i,u=Ef(e,t,a),c=BR(e,a),d=Math.max(0,Math.min(c-l,u.offset)),f=Math.max(0,u.offset-l+u.size);switch(r===N_&&(n>=f-l&&n<=d+l?r=_i:r=Oo),r){case dg:return d;case fg:return f;case Oo:return Math.round(f+(d-f)/2);case _i:default:return n>=f&&n<=d?n:n<f?f:d}},getStartIndexForOffset:(e,t,r)=>MKe(e,r,t),getStopIndexForStartIndex:(e,t,r,n)=>{const{height:a,total:i,layout:o,width:s}=e,l=hg(o)?s:a,u=Ef(e,t,n),c=r+l;let d=u.offset+u.size,f=t;for(;f<i-1&&d<c;)f++,d+=Ef(e,f,n).size;return f},initCache({estimatedItemSize:e=F3},t){const r={items:{},estimatedItemSize:e,lastVisitedIndex:-1};return r.clearCacheAfterIndex=(n,a=!0)=>{var i,o;r.lastVisitedIndex=Math.min(r.lastVisitedIndex,n-1),(i=t.exposed)==null||i.getItemStyleCache(-1),a&&((o=t.proxy)==null||o.$forceUpdate())},r},clearCache:!1,validateProps:({itemSize:e})=>{}}),OKe=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:r,atYStartEdge:n},a)=>{let i=null,o=0,s=0;const l=(c,d)=>{const f=c<=0&&t.value||c>=0&&e.value,p=d<=0&&n.value||d>=0&&r.value;return f&&p};return{hasReachedEdge:l,onWheel:c=>{E_(i);let d=c.deltaX,f=c.deltaY;Math.abs(d)>Math.abs(f)?f=0:d=0,c.shiftKey&&f!==0&&(d=f,f=0),!(l(o,s)&&l(o+d,s+f))&&(o+=d,s+=f,c.preventDefault(),i=np(()=>{a(o,s),o=0,s=0}))}}},vV=({name:e,clearCache:t,getColumnPosition:r,getColumnStartIndexForOffset:n,getColumnStopIndexForStartIndex:a,getEstimatedTotalHeight:i,getEstimatedTotalWidth:o,getColumnOffset:s,getRowOffset:l,getRowPosition:u,getRowStartIndexForOffset:c,getRowStopIndexForStartIndex:d,initCache:f,injectToInstance:p,validateProps:h})=>te({name:e??"ElVirtualList",props:Vc,emits:[B1,F1],setup(v,{emit:g,expose:m,slots:y}){const _=ke("vl");h(v);const w=mt(),E=U(f(v,w));p==null||p(w,E);const S=U(),C=U(),T=U(),x=U(null),A=U({isScrolling:!1,scrollLeft:at(v.initScrollLeft)?v.initScrollLeft:0,scrollTop:at(v.initScrollTop)?v.initScrollTop:0,updateRequested:!1,xAxisScrollDir:Sf,yAxisScrollDir:Sf}),k=iV(),R=L(()=>Number.parseInt(`${v.height}`,10)),M=L(()=>Number.parseInt(`${v.width}`,10)),O=L(()=>{const{totalColumn:ge,totalRow:Re,columnCache:Ce}=v,{isScrolling:Ee,xAxisScrollDir:xe,scrollLeft:$e}=b(A);if(ge===0||Re===0)return[0,0,0,0];const Fe=n(v,$e,b(E)),Ge=a(v,Fe,$e,b(E)),Ie=!Ee||xe===z1?Math.max(1,Ce):1,We=!Ee||xe===Sf?Math.max(1,Ce):1;return[Math.max(0,Fe-Ie),Math.max(0,Math.min(ge-1,Ge+We)),Fe,Ge]}),z=L(()=>{const{totalColumn:ge,totalRow:Re,rowCache:Ce}=v,{isScrolling:Ee,yAxisScrollDir:xe,scrollTop:$e}=b(A);if(ge===0||Re===0)return[0,0,0,0];const Fe=c(v,$e,b(E)),Ge=d(v,Fe,$e,b(E)),Ie=!Ee||xe===z1?Math.max(1,Ce):1,We=!Ee||xe===Sf?Math.max(1,Ce):1;return[Math.max(0,Fe-Ie),Math.max(0,Math.min(Re-1,Ge+We)),Fe,Ge]}),B=L(()=>i(v,b(E))),P=L(()=>o(v,b(E))),F=L(()=>{var ge;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:v.direction,height:at(v.height)?`${v.height}px`:v.height,width:at(v.width)?`${v.width}px`:v.width},(ge=v.style)!=null?ge:{}]}),D=L(()=>{const ge=`${b(P)}px`;return{height:`${b(B)}px`,pointerEvents:b(A).isScrolling?"none":void 0,width:ge}}),H=()=>{const{totalColumn:ge,totalRow:Re}=v;if(ge>0&&Re>0){const[Ge,Ie,We,ot]=b(O),[dt,At,Je,_e]=b(z);g(B1,{columnCacheStart:Ge,columnCacheEnd:Ie,rowCacheStart:dt,rowCacheEnd:At,columnVisibleStart:We,columnVisibleEnd:ot,rowVisibleStart:Je,rowVisibleEnd:_e})}const{scrollLeft:Ce,scrollTop:Ee,updateRequested:xe,xAxisScrollDir:$e,yAxisScrollDir:Fe}=b(A);g(F1,{xAxisScrollDir:$e,scrollLeft:Ce,yAxisScrollDir:Fe,scrollTop:Ee,updateRequested:xe})},K=ge=>{const{clientHeight:Re,clientWidth:Ce,scrollHeight:Ee,scrollLeft:xe,scrollTop:$e,scrollWidth:Fe}=ge.currentTarget,Ge=b(A);if(Ge.scrollTop===$e&&Ge.scrollLeft===xe)return;let Ie=xe;if($R(v.direction))switch(H1()){case pg:Ie=-xe;break;case jT:Ie=Fe-Ce-xe;break}A.value={...Ge,isScrolling:!0,scrollLeft:Ie,scrollTop:Math.max(0,Math.min($e,Ee-Re)),updateRequested:!0,xAxisScrollDir:Ec(Ge.scrollLeft,Ie),yAxisScrollDir:Ec(Ge.scrollTop,$e)},Ye(()=>j()),ae(),H()},Y=(ge,Re)=>{const Ce=b(R),Ee=(B.value-Ce)/Re*ge;fe({scrollTop:Math.min(B.value-Ce,Ee)})},X=(ge,Re)=>{const Ce=b(M),Ee=(P.value-Ce)/Re*ge;fe({scrollLeft:Math.min(P.value-Ce,Ee)})},{onWheel:J}=OKe({atXStartEdge:L(()=>A.value.scrollLeft<=0),atXEndEdge:L(()=>A.value.scrollLeft>=P.value-b(M)),atYStartEdge:L(()=>A.value.scrollTop<=0),atYEndEdge:L(()=>A.value.scrollTop>=B.value-b(R))},(ge,Re)=>{var Ce,Ee,xe,$e;(Ee=(Ce=C.value)==null?void 0:Ce.onMouseUp)==null||Ee.call(Ce),($e=(xe=T.value)==null?void 0:xe.onMouseUp)==null||$e.call(xe);const Fe=b(M),Ge=b(R);fe({scrollLeft:Math.min(A.value.scrollLeft+ge,P.value-Fe),scrollTop:Math.min(A.value.scrollTop+Re,B.value-Ge)})}),fe=({scrollLeft:ge=A.value.scrollLeft,scrollTop:Re=A.value.scrollTop})=>{ge=Math.max(ge,0),Re=Math.max(Re,0);const Ce=b(A);Re===Ce.scrollTop&&ge===Ce.scrollLeft||(A.value={...Ce,xAxisScrollDir:Ec(Ce.scrollLeft,ge),yAxisScrollDir:Ec(Ce.scrollTop,Re),scrollLeft:ge,scrollTop:Re,updateRequested:!0},Ye(()=>j()),ae(),H())},se=(ge=0,Re=0,Ce=_i)=>{const Ee=b(A);Re=Math.max(0,Math.min(Re,v.totalColumn-1)),ge=Math.max(0,Math.min(ge,v.totalRow-1));const xe=jB(_.namespace.value),$e=b(E),Fe=i(v,$e),Ge=o(v,$e);fe({scrollLeft:s(v,Re,Ce,Ee.scrollLeft,$e,Ge>v.width?xe:0),scrollTop:l(v,ge,Ce,Ee.scrollTop,$e,Fe>v.height?xe:0)})},q=(ge,Re)=>{const{columnWidth:Ce,direction:Ee,rowHeight:xe}=v,$e=k.value(t&&Ce,t&&xe,t&&Ee),Fe=`${ge},${Re}`;if($t($e,Fe))return $e[Fe];{const[,Ge]=r(v,Re,b(E)),Ie=b(E),We=$R(Ee),[ot,dt]=u(v,ge,Ie),[At]=r(v,Re,Ie);return $e[Fe]={position:"absolute",left:We?void 0:`${Ge}px`,right:We?`${Ge}px`:void 0,top:`${dt}px`,height:`${ot}px`,width:`${At}px`},$e[Fe]}},j=()=>{A.value.isScrolling=!1,Ye(()=>{k.value(-1,null,null)})};gt(()=>{if(!zt)return;const{initScrollLeft:ge,initScrollTop:Re}=v,Ce=b(S);Ce&&(at(ge)&&(Ce.scrollLeft=ge),at(Re)&&(Ce.scrollTop=Re)),H()});const ae=()=>{const{direction:ge}=v,{scrollLeft:Re,scrollTop:Ce,updateRequested:Ee}=b(A),xe=b(S);if(Ee&&xe){if(ge===Bf)switch(H1()){case pg:{xe.scrollLeft=-Re;break}case qT:{xe.scrollLeft=Re;break}default:{const{clientWidth:$e,scrollWidth:Fe}=xe;xe.scrollLeft=Fe-$e-Re;break}}else xe.scrollLeft=Math.max(0,Re);xe.scrollTop=Math.max(0,Ce)}},{resetAfterColumnIndex:ne,resetAfterRowIndex:le,resetAfter:W}=w.proxy;m({windowRef:S,innerRef:x,getItemStyleCache:k,scrollTo:fe,scrollToItem:se,states:A,resetAfterColumnIndex:ne,resetAfterRowIndex:le,resetAfter:W});const Z=()=>{const{scrollbarAlwaysOn:ge,scrollbarStartGap:Re,scrollbarEndGap:Ce,totalColumn:Ee,totalRow:xe}=v,$e=b(M),Fe=b(R),Ge=b(P),Ie=b(B),{scrollLeft:We,scrollTop:ot}=b(A),dt=Qe(W3,{ref:C,alwaysOn:ge,startGap:Re,endGap:Ce,class:_.e("horizontal"),clientSize:$e,layout:"horizontal",onScroll:X,ratio:$e*100/Ge,scrollFrom:We/(Ge-$e),total:xe,visible:!0}),At=Qe(W3,{ref:T,alwaysOn:ge,startGap:Re,endGap:Ce,class:_.e("vertical"),clientSize:Fe,layout:"vertical",onScroll:Y,ratio:Fe*100/Ie,scrollFrom:ot/(Ie-Fe),total:Ee,visible:!0});return{horizontalScrollbar:dt,verticalScrollbar:At}},ie=()=>{var ge;const[Re,Ce]=b(O),[Ee,xe]=b(z),{data:$e,totalColumn:Fe,totalRow:Ge,useIsScrolling:Ie,itemKey:We}=v,ot=[];if(Ge>0&&Fe>0)for(let dt=Ee;dt<=xe;dt++)for(let At=Re;At<=Ce;At++)ot.push((ge=y.default)==null?void 0:ge.call(y,{columnIndex:At,data:$e,key:We({columnIndex:At,data:$e,rowIndex:dt}),isScrolling:Ie?b(A).isScrolling:void 0,style:q(dt,At),rowIndex:dt}));return ot},me=()=>{const ge=xt(v.innerElement),Re=ie();return[Qe(ge,{style:b(D),ref:x},ut(ge)?Re:{default:()=>Re})]};return()=>{const ge=xt(v.containerElement),{horizontalScrollbar:Re,verticalScrollbar:Ce}=Z(),Ee=me();return Qe("div",{key:0,class:_.e("wrapper"),role:v.role},[Qe(ge,{class:v.className,style:b(F),onScroll:K,onWheel:J,ref:S},ut(ge)?Ee:{default:()=>Ee}),Re,Ce])}}}),NKe=vV({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:r},n,a,i,o,s)=>{r=Number(r);const l=Math.max(0,e*t-r),u=Math.min(l,n*t),c=Math.max(0,n*t-r+s+t);switch(a==="smart"&&(i>=c-r&&i<=u+r?a=_i:a=Oo),a){case dg:return u;case fg:return c;case Oo:{const d=Math.round(c+(u-c)/2);return d<Math.ceil(r/2)?0:d>l+Math.floor(r/2)?l:d}case _i:default:return i>=c&&i<=u?i:c>u||i<c?c:u}},getRowOffset:({rowHeight:e,height:t,totalRow:r},n,a,i,o,s)=>{t=Number(t);const l=Math.max(0,r*e-t),u=Math.min(l,n*e),c=Math.max(0,n*e-t+s+e);switch(a===N_&&(i>=c-t&&i<=u+t?a=_i:a=Oo),a){case dg:return u;case fg:return c;case Oo:{const d=Math.round(c+(u-c)/2);return d<Math.ceil(t/2)?0:d>l+Math.floor(t/2)?l:d}case _i:default:return i>=c&&i<=u?i:c>u||i<c?c:u}},getColumnStartIndexForOffset:({columnWidth:e,totalColumn:t},r)=>Math.max(0,Math.min(t-1,Math.floor(r/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:r},n,a)=>{const i=n*e,o=Math.ceil((r+a-i)/e);return Math.max(0,Math.min(t-1,n+o-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},r)=>Math.max(0,Math.min(t-1,Math.floor(r/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:r},n,a)=>{const i=n*e,o=Math.ceil((r+a-i)/e);return Math.max(0,Math.min(t-1,n+o-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{}}),{max:U1,min:gV,floor:mV}=Math,PKe={column:"columnWidth",row:"rowHeight"},K3={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},ms=(e,t,r,n)=>{const[a,i,o]=[r[n],e[PKe[n]],r[K3[n]]];if(t>o){let s=0;if(o>=0){const l=a[o];s=l.offset+l.size}for(let l=o+1;l<=t;l++){const u=i(l);a[l]={offset:s,size:u},s+=u}r[K3[n]]=t}return a[t]},yV=(e,t,r,n,a,i)=>{for(;r<=n;){const o=r+mV((n-r)/2),s=ms(e,o,t,i).offset;if(s===a)return o;s<a?r=o+1:n=o-1}return U1(0,r-1)},$Ke=(e,t,r,n,a)=>{const i=a==="column"?e.totalColumn:e.totalRow;let o=1;for(;r<i&&ms(e,r,t,a).offset<n;)r+=o,o*=2;return yV(e,t,mV(r/2),gV(r,i-1),n,a)},FR=(e,t,r,n)=>{const[a,i]=[t[n],t[K3[n]]];return(i>0?a[i].offset:0)>=r?yV(e,t,0,i,r,n):$Ke(e,t,U1(0,i),r,n)},_V=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:r,row:n})=>{let a=0;if(r>=e&&(r=e-1),r>=0){const s=n[r];a=s.offset+s.size}const o=(e-r-1)*t;return a+o},bV=({totalColumn:e},{column:t,estimatedColumnWidth:r,lastVisitedColumnIndex:n})=>{let a=0;if(n>e&&(n=e-1),n>=0){const s=t[n];a=s.offset+s.size}const o=(e-n-1)*r;return a+o},BKe={column:bV,row:_V},zR=(e,t,r,n,a,i,o)=>{const[s,l]=[i==="row"?e.height:e.width,BKe[i]],u=ms(e,t,a,i),c=l(e,a),d=U1(0,gV(c-s,u.offset)),f=U1(0,u.offset-s+o+u.size);switch(r===N_&&(n>=f-s&&n<=d+s?r=_i:r=Oo),r){case dg:return d;case fg:return f;case Oo:return Math.round(f+(d-f)/2);case _i:default:return n>=f&&n<=d?n:f>d||n<f?f:d}},FKe=vV({name:"ElDynamicSizeGrid",getColumnPosition:(e,t,r)=>{const n=ms(e,t,r,"column");return[n.size,n.offset]},getRowPosition:(e,t,r)=>{const n=ms(e,t,r,"row");return[n.size,n.offset]},getColumnOffset:(e,t,r,n,a,i)=>zR(e,t,r,n,a,"column",i),getRowOffset:(e,t,r,n,a,i)=>zR(e,t,r,n,a,"row",i),getColumnStartIndexForOffset:(e,t,r)=>FR(e,r,t,"column"),getColumnStopIndexForStartIndex:(e,t,r,n)=>{const a=ms(e,t,n,"column"),i=r+e.width;let o=a.offset+a.size,s=t;for(;s<e.totalColumn-1&&o<i;)s++,o+=ms(e,t,n,"column").size;return s},getEstimatedTotalHeight:_V,getEstimatedTotalWidth:bV,getRowStartIndexForOffset:(e,t,r)=>FR(e,r,t,"row"),getRowStopIndexForStartIndex:(e,t,r,n)=>{const{totalRow:a,height:i}=e,o=ms(e,t,n,"row"),s=r+i;let l=o.size+o.offset,u=t;for(;u<a-1&&l<s;)u++,l+=ms(e,u,n,"row").size;return u},injectToInstance:(e,t)=>{const r=({columnIndex:i,rowIndex:o},s)=>{var l,u;s=Jr(s)?!0:s,at(i)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,i-1)),at(o)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,o-1)),(l=e.exposed)==null||l.getItemStyleCache.value(-1,null,null),s&&((u=e.proxy)==null||u.$forceUpdate())},n=(i,o)=>{r({columnIndex:i},o)},a=(i,o)=>{r({rowIndex:i},o)};Object.assign(e.proxy,{resetAfterColumnIndex:n,resetAfterRowIndex:a,resetAfter:r})},initCache:({estimatedColumnWidth:e=F3,estimatedRowHeight:t=F3})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{}}),zKe=te({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:ke("select")}}});function VKe(e,t,r,n,a,i){return e.item.isTitle?(I(),$("div",{key:0,class:V(e.ns.be("group","title")),style:qe([e.style,{lineHeight:`${e.height}px`}])},Oe(e.item.label),7)):(I(),$("div",{key:1,class:V(e.ns.be("group","split")),style:qe(e.style)},[N("span",{class:V(e.ns.be("group","split-dash")),style:qe({top:`${e.height/2}px`})},null,6)],6))}var HKe=De(zKe,[["render",VKe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/group-item.vue"]]);function UKe(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const GKe={allowCreate:Boolean,autocomplete:{type:String,default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:[String,Object],default:Xs},effect:{type:String,default:"light"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:170},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,label:String,modelValue:[Array,String,Number,Boolean,Object],multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:Array,required:!0},placeholder:{type:String},teleported:mn.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,size:{type:String,validator:w_},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},placement:{type:ce(String),values:Td,default:"bottom-start"}},WKe={data:Array,disabled:Boolean,hovering:Boolean,item:Object,index:Number,style:Object,selected:Boolean,created:Boolean},KKe=te({props:WKe,emits:["select","hover"],setup(e,{emit:t}){const r=ke("select"),{hoverItem:n,selectOptionClick:a}=UKe(e,{emit:t});return{ns:r,hoverItem:n,selectOptionClick:a}}}),YKe=["aria-selected"];function qKe(e,t,r,n,a,i){return I(),$("li",{"aria-selected":e.selected,style:qe(e.style),class:V([e.ns.be("dropdown","option-item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),{hover:e.hovering}]),onMouseenter:t[0]||(t[0]=(...o)=>e.hoverItem&&e.hoverItem(...o)),onClick:t[1]||(t[1]=tt((...o)=>e.selectOptionClick&&e.selectOptionClick(...o),["stop"]))},[Se(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[N("span",null,Oe(e.item.label),1)])],46,YKe)}var jKe=De(KKe,[["render",qKe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/option-item.vue"]]);const wV=Symbol("ElSelectV2Injection");var XKe=te({name:"ElSelectDropdown",props:{data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup(e,{slots:t,expose:r}){const n=Ue(wV),a=ke("select"),i=U([]),o=U(),s=L(()=>e.data.length);Te(()=>s.value,()=>{var T,x;(x=(T=n.popper.value).updatePopper)==null||x.call(T)});const l=L(()=>Jr(n.props.estimatedOptionHeight)),u=L(()=>l.value?{itemSize:n.props.itemHeight}:{estimatedSize:n.props.estimatedOptionHeight,itemSize:T=>i.value[T]}),c=(T=[],x)=>{const{props:{valueKey:A}}=n;return St(x)?T&&T.some(k=>jt(Or(k,A))===Or(x,A)):T.includes(x)},d=(T,x)=>{if(St(x)){const{valueKey:A}=n.props;return Or(T,A)===Or(x,A)}else return T===x},f=(T,x)=>n.props.multiple?c(T,x.value):d(T,x.value),p=(T,x)=>{const{disabled:A,multiple:k,multipleLimit:R}=n.props;return A||!x&&(k?R>0&&T.length>=R:!1)},h=T=>e.hoveringIndex===T;r({listRef:o,isSized:l,isItemDisabled:p,isItemHovering:h,isItemSelected:f,scrollToItem:T=>{const x=o.value;x&&x.scrollToItem(T)},resetScrollTop:()=>{const T=o.value;T&&T.resetScrollTop()}});const m=T=>{const{index:x,data:A,style:k}=T,R=b(l),{itemSize:M,estimatedSize:O}=b(u),{modelValue:z}=n.props,{onSelect:B,onHover:P}=n,F=A[x];if(F.type==="Group")return Q(HKe,{item:F,style:k,height:R?M:O},null);const D=f(z,F),H=p(z,D),K=h(x);return Q(jKe,Tt(T,{selected:D,disabled:F.disabled||H,created:!!F.created,hovering:K,item:F,onSelect:B,onHover:P}),{default:Y=>{var X;return((X=t.default)==null?void 0:X.call(t,Y))||Q("span",null,[F.label])}})},{onKeyboardNavigate:y,onKeyboardSelect:_}=n,w=()=>{y("forward")},E=()=>{y("backward")},S=()=>{n.expanded=!1},C=T=>{const{code:x}=T,{tab:A,esc:k,down:R,up:M,enter:O}=Xe;switch(x!==A&&(T.preventDefault(),T.stopPropagation()),x){case A:case k:{S();break}case R:{w();break}case M:{E();break}case O:{_();break}}};return()=>{var T;const{data:x,width:A}=e,{height:k,multiple:R,scrollbarAlwaysOn:M}=n.props;if(x.length===0)return Q("div",{class:a.b("dropdown"),style:{width:`${A}px`}},[(T=t.empty)==null?void 0:T.call(t)]);const O=b(l)?pV:DKe;return Q("div",{class:[a.b("dropdown"),a.is("multiple",R)]},[Q(O,Tt({ref:o},b(u),{className:a.be("dropdown","list"),scrollbarAlwaysOn:M,data:x,height:k,width:A,total:x.length,onKeydown:C}),{default:z=>Q(m,z,null)})])}}});function ZKe(e,t){const r=U(0),n=U(null),a=L(()=>e.allowCreate&&e.filterable);function i(c){const d=f=>f.value===c;return e.options&&e.options.some(d)||t.createdOptions.some(d)}function o(c){a.value&&(e.multiple&&c.created?r.value++:n.value=c)}function s(c){if(a.value)if(c&&c.length>0&&!i(c)){const d={value:c,label:c,created:!0,disabled:!1};t.createdOptions.length>=r.value?t.createdOptions[r.value]=d:t.createdOptions.push(d)}else if(e.multiple)t.createdOptions.length=r.value;else{const d=n.value;t.createdOptions.length=0,d&&d.created&&t.createdOptions.push(d)}}function l(c){if(!a.value||!c||!c.created||c.created&&e.reserveKeyword&&t.inputValue===c.label)return;const d=t.createdOptions.findIndex(f=>f.value===c.value);~d&&(t.createdOptions.splice(d,1),r.value--)}function u(){a.value&&(t.createdOptions.length=0,r.value=0)}return{createNewOption:s,removeNewOption:l,selectNewOption:o,clearAllNewOption:u}}const QKe=e=>{const t=[];return e.forEach(r=>{He(r.options)?(t.push({label:r.label,isTitle:!0,type:"Group"}),r.options.forEach(n=>{t.push(n)}),t.push({type:"Group"})):t.push(r)}),t};function JKe(e){const t=U(!1);return{handleCompositionStart:()=>{t.value=!0},handleCompositionUpdate:i=>{const o=i.target.value,s=o[o.length-1]||"";t.value=!S_(s)},handleCompositionEnd:i=>{t.value&&(t.value=!1,it(e)&&e(i))}}}const VR="",HR=11,eYe={larget:51,default:42,small:33},tYe=(e,t)=>{const{t:r}=Ht(),n=ke("select-v2"),a=ke("input"),{form:i,formItem:o}=pa(),s=qt({inputValue:VR,displayInputValue:VR,calculatedWidth:0,cachedPlaceholder:"",cachedOptions:[],createdOptions:[],createdLabel:"",createdSelected:!1,currentPlaceholder:"",hoveringIndex:-1,comboBoxHovering:!1,isOnComposition:!1,isSilentBlur:!1,isComposing:!1,inputLength:20,selectWidth:200,initialInputHeight:0,previousQuery:null,previousValue:void 0,query:"",selectedLabel:"",softFocus:!1,tagInMultiLine:!1}),l=U(-1),u=U(-1),c=U(null),d=U(null),f=U(null),p=U(null),h=U(null),v=U(null),g=U(null),m=U(!1),y=L(()=>e.disabled||(i==null?void 0:i.disabled)),_=L(()=>{const ve=R.value.length*34;return ve>e.height?e.height:ve}),w=L(()=>!Yr(e.modelValue)),E=L(()=>{const ve=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:w.value;return e.clearable&&!y.value&&s.comboBoxHovering&&ve}),S=L(()=>e.remote&&e.filterable?"":fm),C=L(()=>S.value&&n.is("reverse",m.value)),T=L(()=>(o==null?void 0:o.validateState)||""),x=L(()=>cT[T.value]),A=L(()=>e.remote?300:0),k=L(()=>{const ve=R.value;return e.loading?e.loadingText||r("el.select.loading"):e.remote&&s.inputValue===""&&ve.length===0?!1:e.filterable&&s.inputValue&&ve.length>0?e.noMatchText||r("el.select.noMatch"):ve.length===0?e.noDataText||r("el.select.noData"):null}),R=L(()=>{const ve=Ve=>{const Ct=s.inputValue,Yt=new RegExp(YB(Ct),"i");return Ct?Yt.test(Ve.label||""):!0};return e.loading?[]:QKe(e.options.concat(s.createdOptions).map(Ve=>{if(He(Ve.options)){const Ct=Ve.options.filter(ve);if(Ct.length>0)return{...Ve,options:Ct}}else if(e.remote||ve(Ve))return Ve;return null}).filter(Ve=>Ve!==null))}),M=L(()=>{const ve=new Map;return R.value.forEach((Ve,Ct)=>{ve.set($e(Ve.value),{option:Ve,index:Ct})}),ve}),O=L(()=>R.value.every(ve=>ve.disabled)),z=nn(),B=L(()=>z.value==="small"?"small":"default"),P=L(()=>{const ve=v.value,Ve=B.value||"default",Ct=ve?Number.parseInt(getComputedStyle(ve).paddingLeft):0,Yt=ve?Number.parseInt(getComputedStyle(ve).paddingRight):0;return s.selectWidth-Yt-Ct-eYe[Ve]}),F=()=>{var ve;u.value=((ve=h.value)==null?void 0:ve.offsetWidth)||200},D=L(()=>({width:`${s.calculatedWidth===0?HR:Math.ceil(s.calculatedWidth)+HR}px`})),H=L(()=>He(e.modelValue)?e.modelValue.length===0&&!s.displayInputValue:e.filterable?s.displayInputValue.length===0:!0),K=L(()=>{const ve=e.placeholder||r("el.select.placeholder");return e.multiple||Yr(e.modelValue)?ve:s.selectedLabel}),Y=L(()=>{var ve,Ve;return(Ve=(ve=p.value)==null?void 0:ve.popperRef)==null?void 0:Ve.contentRef}),X=L(()=>{if(e.multiple){const ve=e.modelValue.length;if(e.modelValue.length>0&&M.value.has(e.modelValue[ve-1])){const{index:Ve}=M.value.get(e.modelValue[ve-1]);return Ve}}else if(e.modelValue&&M.value.has(e.modelValue)){const{index:ve}=M.value.get(e.modelValue);return ve}return-1}),J=L({get(){return m.value&&k.value!==!1},set(ve){m.value=ve}}),fe=L(()=>s.cachedOptions.slice(0,e.maxCollapseTags)),se=L(()=>s.cachedOptions.slice(e.maxCollapseTags)),{createNewOption:q,removeNewOption:j,selectNewOption:ae,clearAllNewOption:ne}=ZKe(e,s),{handleCompositionStart:le,handleCompositionUpdate:W,handleCompositionEnd:Z}=JKe(ve=>jr(ve)),ie=()=>{var ve,Ve,Ct;(Ve=(ve=d.value)==null?void 0:ve.focus)==null||Ve.call(ve),(Ct=p.value)==null||Ct.updatePopper()},me=()=>{if(!e.automaticDropdown&&!y.value)return s.isComposing&&(s.softFocus=!0),Ye(()=>{var ve,Ve;m.value=!m.value,(Ve=(ve=d.value)==null?void 0:ve.focus)==null||Ve.call(ve)})},be=()=>(e.filterable&&s.inputValue!==s.selectedLabel&&(s.query=s.selectedLabel),Re(s.inputValue),Ye(()=>{q(s.inputValue)})),ge=ua(be,A.value),Re=ve=>{s.previousQuery!==ve&&(s.previousQuery=ve,e.filterable&&it(e.filterMethod)?e.filterMethod(ve):e.filterable&&e.remote&&it(e.remoteMethod)&&e.remoteMethod(ve))},Ce=ve=>{Ca(e.modelValue,ve)||t(hr,ve)},Ee=ve=>{t(Et,ve),Ce(ve),s.previousValue=ve==null?void 0:ve.toString()},xe=(ve=[],Ve)=>{if(!St(Ve))return ve.indexOf(Ve);const Ct=e.valueKey;let Yt=-1;return ve.some((Br,Xr)=>Or(Br,Ct)===Or(Ve,Ct)?(Yt=Xr,!0):!1),Yt},$e=ve=>St(ve)?Or(ve,e.valueKey):ve,Fe=ve=>St(ve)?ve.label:ve,Ge=()=>Ye(()=>{var ve,Ve;if(!d.value)return;const Ct=v.value;h.value.height=Ct.offsetHeight,m.value&&k.value!==!1&&((Ve=(ve=p.value)==null?void 0:ve.updatePopper)==null||Ve.call(ve))}),Ie=()=>{var ve,Ve;if(We(),F(),(Ve=(ve=p.value)==null?void 0:ve.updatePopper)==null||Ve.call(ve),e.multiple)return Ge()},We=()=>{const ve=v.value;ve&&(s.selectWidth=ve.getBoundingClientRect().width)},ot=(ve,Ve,Ct=!0)=>{var Yt,Br;if(e.multiple){let Xr=e.modelValue.slice();const xn=xe(Xr,ve.value);xn>-1?(Xr=[...Xr.slice(0,xn),...Xr.slice(xn+1)],s.cachedOptions.splice(xn,1),j(ve)):(e.multipleLimit<=0||Xr.length<e.multipleLimit)&&(Xr=[...Xr,ve.value],s.cachedOptions.push(ve),ae(ve),st(Ve)),Ee(Xr),ve.created&&(s.query="",Re(""),s.inputLength=20),e.filterable&&!e.reserveKeyword&&((Br=(Yt=d.value).focus)==null||Br.call(Yt),Ae("")),e.filterable&&(s.calculatedWidth=g.value.getBoundingClientRect().width),Ge(),Ur()}else l.value=Ve,s.selectedLabel=ve.label,Ee(ve.value),m.value=!1,s.isComposing=!1,s.isSilentBlur=Ct,ae(ve),ve.created||ne(),st(Ve)},dt=(ve,Ve)=>{let Ct=e.modelValue.slice();const Yt=xe(Ct,Ve.value);if(Yt>-1&&!y.value)return Ct=[...e.modelValue.slice(0,Yt),...e.modelValue.slice(Yt+1)],s.cachedOptions.splice(Yt,1),Ee(Ct),t("remove-tag",Ve.value),s.softFocus=!0,j(Ve),Ye(ie);ve.stopPropagation()},At=ve=>{const Ve=s.isComposing;s.isComposing=!0,s.softFocus?s.softFocus=!1:Ve||t("focus",ve)},Je=ve=>(s.softFocus=!1,Ye(()=>{var Ve,Ct;(Ct=(Ve=d.value)==null?void 0:Ve.blur)==null||Ct.call(Ve),g.value&&(s.calculatedWidth=g.value.getBoundingClientRect().width),s.isSilentBlur?s.isSilentBlur=!1:s.isComposing&&t("blur",ve),s.isComposing=!1})),_e=()=>{s.displayInputValue.length>0?Ae(""):m.value=!1},he=ve=>{if(s.displayInputValue.length===0){ve.preventDefault();const Ve=e.modelValue.slice();Ve.pop(),j(s.cachedOptions.pop()),Ee(Ve)}},de=()=>{let ve;return He(e.modelValue)?ve=[]:ve=void 0,s.softFocus=!0,e.multiple?s.cachedOptions=[]:s.selectedLabel="",m.value=!1,Ee(ve),t("clear"),ne(),Ye(ie)},Ae=ve=>{s.displayInputValue=ve,s.inputValue=ve},ee=(ve,Ve=void 0)=>{const Ct=R.value;if(!["forward","backward"].includes(ve)||y.value||Ct.length<=0||O.value)return;if(!m.value)return me();Ve===void 0&&(Ve=s.hoveringIndex);let Yt=-1;ve==="forward"?(Yt=Ve+1,Yt>=Ct.length&&(Yt=0)):ve==="backward"&&(Yt=Ve-1,(Yt<0||Yt>=Ct.length)&&(Yt=Ct.length-1));const Br=Ct[Yt];if(Br.disabled||Br.type==="Group")return ee(ve,Yt);st(Yt),we(Yt)},ze=()=>{if(m.value)~s.hoveringIndex&&R.value[s.hoveringIndex]&&ot(R.value[s.hoveringIndex],s.hoveringIndex,!1);else return me()},st=ve=>{s.hoveringIndex=ve},Mt=()=>{s.hoveringIndex=-1},Ur=()=>{var ve;const Ve=d.value;Ve&&((ve=Ve.focus)==null||ve.call(Ve))},jr=ve=>{const Ve=ve.target.value;if(Ae(Ve),s.displayInputValue.length>0&&!m.value&&(m.value=!0),s.calculatedWidth=g.value.getBoundingClientRect().width,e.multiple&&Ge(),e.remote)ge();else return be()},zi=()=>(m.value=!1,Je()),Tn=()=>(s.inputValue=s.displayInputValue,Ye(()=>{~X.value&&(st(X.value),we(s.hoveringIndex))})),we=ve=>{f.value.scrollToItem(ve)},Be=()=>{if(Mt(),e.multiple)if(e.modelValue.length>0){let ve=!1;s.cachedOptions.length=0,s.previousValue=e.modelValue.toString();for(const Ve of e.modelValue){const Ct=$e(Ve);if(M.value.has(Ct)){const{index:Yt,option:Br}=M.value.get(Ct);s.cachedOptions.push(Br),ve||st(Yt),ve=!0}}}else s.cachedOptions=[],s.previousValue=void 0;else if(w.value){s.previousValue=e.modelValue;const ve=R.value,Ve=ve.findIndex(Ct=>$e(Ct.value)===$e(e.modelValue));~Ve?(s.selectedLabel=ve[Ve].label,st(Ve)):s.selectedLabel=`${e.modelValue}`}else s.selectedLabel="",s.previousValue=void 0;ne(),F()};return Te(m,ve=>{var Ve,Ct;t("visible-change",ve),ve?(Ct=(Ve=p.value).update)==null||Ct.call(Ve):(s.displayInputValue="",s.previousQuery=null,q(""))}),Te(()=>e.modelValue,(ve,Ve)=>{var Ct;(!ve||ve.toString()!==s.previousValue)&&Be(),!Ca(ve,Ve)&&e.validateEvent&&((Ct=o==null?void 0:o.validate)==null||Ct.call(o,"change").catch(Yt=>void 0))},{deep:!0}),Te(()=>e.options,()=>{const ve=d.value;(!ve||ve&&document.activeElement!==ve)&&Be()},{deep:!0}),Te(R,()=>f.value&&Ye(f.value.resetScrollTop)),Te(()=>J.value,ve=>{ve||Mt()}),gt(()=>{Be()}),Yn(h,Ie),{collapseTagSize:B,currentPlaceholder:K,expanded:m,emptyText:k,popupHeight:_,debounce:A,filteredOptions:R,iconComponent:S,iconReverse:C,inputWrapperStyle:D,popperSize:u,dropdownMenuVisible:J,hasModelValue:w,shouldShowPlaceholder:H,selectDisabled:y,selectSize:z,showClearBtn:E,states:s,tagMaxWidth:P,nsSelectV2:n,nsInput:a,calculatorRef:g,controlRef:c,inputRef:d,menuRef:f,popper:p,selectRef:h,selectionRef:v,popperRef:Y,validateState:T,validateIcon:x,showTagList:fe,collapseTagList:se,debouncedOnInputChange:ge,deleteTag:dt,getLabel:Fe,getValueKey:$e,handleBlur:Je,handleClear:de,handleClickOutside:zi,handleDel:he,handleEsc:_e,handleFocus:At,handleMenuEnter:Tn,handleResize:Ie,toggleMenu:me,scrollTo:we,onInput:jr,onKeyboardNavigate:ee,onKeyboardSelect:ze,onSelect:ot,onHover:st,onUpdateInputValue:Ae,handleCompositionStart:le,handleCompositionEnd:Z,handleCompositionUpdate:W}},rYe=te({name:"ElSelectV2",components:{ElSelectMenu:XKe,ElTag:ug,ElTooltip:ca,ElIcon:Ke},directives:{ClickOutside:ru,ModelText:BC},props:GKe,emits:[Et,hr,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:t}){const r=L(()=>{const{modelValue:a,multiple:i}=e,o=i?[]:void 0;return He(a)?i?a:o:i?o:a}),n=tYe(qt({...pn(e),modelValue:r}),t);return It(wV,{props:qt({...pn(e),height:n.popupHeight,modelValue:r}),popper:n.popper,onSelect:n.onSelect,onHover:n.onHover,onKeyboardNavigate:n.onKeyboardNavigate,onKeyboardSelect:n.onKeyboardSelect}),{...n,modelValue:r}}}),nYe={key:0},aYe=["id","autocomplete","aria-expanded","aria-labelledby","disabled","readonly","name","unselectable"],iYe=["textContent"],oYe=["id","aria-labelledby","aria-expanded","autocomplete","disabled","name","readonly","unselectable"],sYe=["textContent"];function lYe(e,t,r,n,a,i){const o=pt("el-tag"),s=pt("el-tooltip"),l=pt("el-icon"),u=pt("el-select-menu"),c=Yv("model-text"),d=Yv("click-outside");return ct((I(),$("div",{ref:"selectRef",class:V([e.nsSelectV2.b(),e.nsSelectV2.m(e.selectSize)]),onClick:t[24]||(t[24]=tt((...f)=>e.toggleMenu&&e.toggleMenu(...f),["stop"])),onMouseenter:t[25]||(t[25]=f=>e.states.comboBoxHovering=!0),onMouseleave:t[26]||(t[26]=f=>e.states.comboBoxHovering=!1)},[Q(s,{ref:"popper",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelectV2.e("popper"),e.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelectV2.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,onBeforeShow:e.handleMenuEnter,onHide:t[23]||(t[23]=f=>e.states.inputValue=e.states.displayInputValue)},{default:oe(()=>[N("div",{ref:"selectionRef",class:V([e.nsSelectV2.e("wrapper"),e.nsSelectV2.is("focused",e.states.isComposing||e.expanded),e.nsSelectV2.is("hovering",e.states.comboBoxHovering),e.nsSelectV2.is("filterable",e.filterable),e.nsSelectV2.is("disabled",e.selectDisabled)])},[e.$slots.prefix?(I(),$("div",nYe,[Se(e.$slots,"prefix")])):ue("v-if",!0),e.multiple?(I(),$("div",{key:1,class:V(e.nsSelectV2.e("selection"))},[e.collapseTags&&e.modelValue.length>0?(I(),$(je,{key:0},[(I(!0),$(je,null,Ot(e.showTagList,f=>(I(),$("div",{key:e.getValueKey(f),class:V(e.nsSelectV2.e("selected-item"))},[Q(o,{closable:!e.selectDisabled&&!(f!=null&&f.disable),size:e.collapseTagSize,type:"info","disable-transitions":"",onClose:p=>e.deleteTag(p,f)},{default:oe(()=>[N("span",{class:V(e.nsSelectV2.e("tags-text")),style:qe({maxWidth:`${e.tagMaxWidth}px`})},Oe(f==null?void 0:f.label),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),N("div",{class:V(e.nsSelectV2.e("selected-item"))},[e.modelValue.length>e.maxCollapseTags?(I(),pe(o,{key:0,closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""},{default:oe(()=>[e.collapseTagsTooltip?(I(),pe(s,{key:0,disabled:e.dropdownMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:!1},{default:oe(()=>[N("span",{class:V(e.nsSelectV2.e("tags-text")),style:qe({maxWidth:`${e.tagMaxWidth}px`})},"+ "+Oe(e.modelValue.length-e.maxCollapseTags),7)]),content:oe(()=>[N("div",{class:V(e.nsSelectV2.e("selection"))},[(I(!0),$(je,null,Ot(e.collapseTagList,f=>(I(),$("div",{key:e.getValueKey(f),class:V(e.nsSelectV2.e("selected-item"))},[Q(o,{closable:!e.selectDisabled&&!f.disabled,size:e.collapseTagSize,class:"in-tooltip",type:"info","disable-transitions":"",onClose:p=>e.deleteTag(p,f)},{default:oe(()=>[N("span",{class:V(e.nsSelectV2.e("tags-text")),style:qe({maxWidth:`${e.tagMaxWidth}px`})},Oe(e.getLabel(f)),7)]),_:2},1032,["closable","size","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect"])):(I(),$("span",{key:1,class:V(e.nsSelectV2.e("tags-text")),style:qe({maxWidth:`${e.tagMaxWidth}px`})},"+ "+Oe(e.modelValue.length-e.maxCollapseTags),7))]),_:1},8,["size"])):ue("v-if",!0)],2)],64)):(I(!0),$(je,{key:1},Ot(e.states.cachedOptions,f=>(I(),$("div",{key:e.getValueKey(f),class:V(e.nsSelectV2.e("selected-item"))},[Q(o,{closable:!e.selectDisabled&&!f.disabled,size:e.collapseTagSize,type:"info","disable-transitions":"",onClose:p=>e.deleteTag(p,f)},{default:oe(()=>[N("span",{class:V(e.nsSelectV2.e("tags-text")),style:qe({maxWidth:`${e.tagMaxWidth}px`})},Oe(e.getLabel(f)),7)]),_:2},1032,["closable","size","onClose"])],2))),128)),N("div",{class:V([e.nsSelectV2.e("selected-item"),e.nsSelectV2.e("input-wrapper")]),style:qe(e.inputWrapperStyle)},[ct(N("input",{id:e.id,ref:"inputRef",autocomplete:e.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-labelledby":e.label,class:V([e.nsSelectV2.is(e.selectSize),e.nsSelectV2.e("combobox-input")]),disabled:e.disabled,role:"combobox",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,unselectable:e.expanded?"on":void 0,"onUpdate:modelValue":t[0]||(t[0]=(...f)=>e.onUpdateInputValue&&e.onUpdateInputValue(...f)),onFocus:t[1]||(t[1]=(...f)=>e.handleFocus&&e.handleFocus(...f)),onBlur:t[2]||(t[2]=(...f)=>e.handleBlur&&e.handleBlur(...f)),onInput:t[3]||(t[3]=(...f)=>e.onInput&&e.onInput(...f)),onCompositionstart:t[4]||(t[4]=(...f)=>e.handleCompositionStart&&e.handleCompositionStart(...f)),onCompositionupdate:t[5]||(t[5]=(...f)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...f)),onCompositionend:t[6]||(t[6]=(...f)=>e.handleCompositionEnd&&e.handleCompositionEnd(...f)),onKeydown:[t[7]||(t[7]=Ut(tt(f=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[8]||(t[8]=Ut(tt(f=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[9]||(t[9]=Ut(tt((...f)=>e.onKeyboardSelect&&e.onKeyboardSelect(...f),["stop","prevent"]),["enter"])),t[10]||(t[10]=Ut(tt((...f)=>e.handleEsc&&e.handleEsc(...f),["stop","prevent"]),["esc"])),t[11]||(t[11]=Ut(tt((...f)=>e.handleDel&&e.handleDel(...f),["stop"]),["delete"]))]},null,42,aYe),[[c,e.states.displayInputValue]]),e.filterable?(I(),$("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:V(e.nsSelectV2.e("input-calculator")),textContent:Oe(e.states.displayInputValue)},null,10,iYe)):ue("v-if",!0)],6)],2)):(I(),$(je,{key:2},[N("div",{class:V([e.nsSelectV2.e("selected-item"),e.nsSelectV2.e("input-wrapper")])},[ct(N("input",{id:e.id,ref:"inputRef","aria-autocomplete":"list","aria-haspopup":"listbox","aria-labelledby":e.label,"aria-expanded":e.expanded,autocapitalize:"off",autocomplete:e.autocomplete,class:V(e.nsSelectV2.e("combobox-input")),disabled:e.disabled,name:e.name,role:"combobox",readonly:!e.filterable,spellcheck:"false",type:"text",unselectable:e.expanded?"on":void 0,onCompositionstart:t[12]||(t[12]=(...f)=>e.handleCompositionStart&&e.handleCompositionStart(...f)),onCompositionupdate:t[13]||(t[13]=(...f)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...f)),onCompositionend:t[14]||(t[14]=(...f)=>e.handleCompositionEnd&&e.handleCompositionEnd(...f)),onFocus:t[15]||(t[15]=(...f)=>e.handleFocus&&e.handleFocus(...f)),onBlur:t[16]||(t[16]=(...f)=>e.handleBlur&&e.handleBlur(...f)),onInput:t[17]||(t[17]=(...f)=>e.onInput&&e.onInput(...f)),onKeydown:[t[18]||(t[18]=Ut(tt(f=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[19]||(t[19]=Ut(tt(f=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[20]||(t[20]=Ut(tt((...f)=>e.onKeyboardSelect&&e.onKeyboardSelect(...f),["stop","prevent"]),["enter"])),t[21]||(t[21]=Ut(tt((...f)=>e.handleEsc&&e.handleEsc(...f),["stop","prevent"]),["esc"]))],"onUpdate:modelValue":t[22]||(t[22]=(...f)=>e.onUpdateInputValue&&e.onUpdateInputValue(...f))},null,42,oYe),[[c,e.states.displayInputValue]])],2),e.filterable?(I(),$("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:V([e.nsSelectV2.e("selected-item"),e.nsSelectV2.e("input-calculator")]),textContent:Oe(e.states.displayInputValue)},null,10,sYe)):ue("v-if",!0)],64)),e.shouldShowPlaceholder?(I(),$("span",{key:3,class:V([e.nsSelectV2.e("placeholder"),e.nsSelectV2.is("transparent",e.multiple?e.modelValue.length===0:!e.hasModelValue)])},Oe(e.currentPlaceholder),3)):ue("v-if",!0),N("span",{class:V(e.nsSelectV2.e("suffix"))},[e.iconComponent?ct((I(),pe(l,{key:0,class:V([e.nsSelectV2.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:oe(()=>[(I(),pe(xt(e.iconComponent)))]),_:1},8,["class"])),[[Gt,!e.showClearBtn]]):ue("v-if",!0),e.showClearBtn&&e.clearIcon?(I(),pe(l,{key:1,class:V([e.nsSelectV2.e("caret"),e.nsInput.e("icon")]),onClick:tt(e.handleClear,["prevent","stop"])},{default:oe(()=>[(I(),pe(xt(e.clearIcon)))]),_:1},8,["class","onClick"])):ue("v-if",!0),e.validateState&&e.validateIcon?(I(),pe(l,{key:2,class:V([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:oe(()=>[(I(),pe(xt(e.validateIcon)))]),_:1},8,["class"])):ue("v-if",!0)],2)],2)]),content:oe(()=>[Q(u,{ref:"menuRef",data:e.filteredOptions,width:e.popperSize,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn},{default:oe(f=>[Se(e.$slots,"default",Zi(l_(f)))]),empty:oe(()=>[Se(e.$slots,"empty",{},()=>[N("p",{class:V(e.nsSelectV2.e("empty"))},Oe(e.emptyText?e.emptyText:""),3)])]),_:3},8,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","effect","placement","transition","persistent","onBeforeShow"])],34)),[[d,e.handleClickOutside,e.popperRef]])}var Fy=De(rYe,[["render",lYe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/select.vue"]]);Fy.install=e=>{e.component(Fy.name,Fy)};const uYe=Fy,cYe=uYe,dYe=Le({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),fYe=Le({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),pYe=te({name:"ElSkeletonItem"}),hYe=te({...pYe,props:fYe,setup(e){const t=ke("skeleton");return(r,n)=>(I(),$("div",{class:V([b(t).e("item"),b(t).e(r.variant)])},[r.variant==="image"?(I(),pe(b(s7),{key:0})):ue("v-if",!0)],2))}});var G1=De(hYe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton-item.vue"]]);const vYe=te({name:"ElSkeleton"}),gYe=te({...vYe,props:dYe,setup(e,{expose:t}){const r=e,n=ke("skeleton"),a=h5e(xr(r,"loading"),r.throttle);return t({uiLoading:a}),(i,o)=>b(a)?(I(),$("div",Tt({key:0,class:[b(n).b(),b(n).is("animated",i.animated)]},i.$attrs),[(I(!0),$(je,null,Ot(i.count,s=>(I(),$(je,{key:s},[i.loading?Se(i.$slots,"template",{key:s},()=>[Q(G1,{class:V(b(n).is("first")),variant:"p"},null,8,["class"]),(I(!0),$(je,null,Ot(i.rows,l=>(I(),pe(G1,{key:l,class:V([b(n).e("paragraph"),b(n).is("last",l===i.rows&&i.rows>1)]),variant:"p"},null,8,["class"]))),128))]):ue("v-if",!0)],64))),128))],16)):Se(i.$slots,"default",Zi(Tt({key:1},i.$attrs)))}});var mYe=De(gYe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton.vue"]]);const yYe=bt(mYe,{SkeletonItem:G1}),_Ye=Mr(G1),SV=Symbol("sliderContextKey"),bYe=Le({modelValue:{type:ce([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:On,inputSize:On,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:ce(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},label:{type:String,default:void 0},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:ce(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Td,default:"top"},marks:{type:ce(Object)},validateEvent:{type:Boolean,default:!0}}),Jb=e=>at(e)||He(e)&&e.every(at),wYe={[Et]:Jb,[ia]:Jb,[hr]:Jb},SYe=(e,t,r)=>{const n=U();return gt(async()=>{e.range?(Array.isArray(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(typeof e.modelValue!="number"||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),yr(window,"resize",r),await Ye(),r()}),{sliderWrapper:n}},EYe=e=>L(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((r,n)=>r-n).filter(r=>r<=e.max&&r>=e.min).map(r=>({point:r,position:(r-e.min)*100/(e.max-e.min),mark:e.marks[r]})):[]),CYe=(e,t,r)=>{const{form:n,formItem:a}=pa(),i=or(),o=U(),s=U(),l={firstButton:o,secondButton:s},u=L(()=>e.disabled||(n==null?void 0:n.disabled)||!1),c=L(()=>Math.min(t.firstValue,t.secondValue)),d=L(()=>Math.max(t.firstValue,t.secondValue)),f=L(()=>e.range?`${100*(d.value-c.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),p=L(()=>e.range?`${100*(c.value-e.min)/(e.max-e.min)}%`:"0%"),h=L(()=>e.vertical?{height:e.height}:{}),v=L(()=>e.vertical?{height:f.value,bottom:p.value}:{width:f.value,left:p.value}),g=()=>{i.value&&(t.sliderSize=i.value[`client${e.vertical?"Height":"Width"}`])},m=k=>{const R=e.min+k*(e.max-e.min)/100;if(!e.range)return o;let M;return Math.abs(c.value-R)<Math.abs(d.value-R)?M=t.firstValue<t.secondValue?"firstButton":"secondButton":M=t.firstValue>t.secondValue?"firstButton":"secondButton",l[M]},y=k=>{const R=m(k);return R.value.setPosition(k),R},_=k=>{t.firstValue=k,E(e.range?[c.value,d.value]:k)},w=k=>{t.secondValue=k,e.range&&E([c.value,d.value])},E=k=>{r(Et,k),r(ia,k)},S=async()=>{await Ye(),r(hr,e.range?[c.value,d.value]:e.modelValue)},C=k=>{var R,M,O,z,B,P;if(u.value||t.dragging)return;g();let F=0;if(e.vertical){const D=(O=(M=(R=k.touches)==null?void 0:R.item(0))==null?void 0:M.clientY)!=null?O:k.clientY;F=(i.value.getBoundingClientRect().bottom-D)/t.sliderSize*100}else{const D=(P=(B=(z=k.touches)==null?void 0:z.item(0))==null?void 0:B.clientX)!=null?P:k.clientX,H=i.value.getBoundingClientRect().left;F=(D-H)/t.sliderSize*100}if(!(F<0||F>100))return y(F)};return{elFormItem:a,slider:i,firstButton:o,secondButton:s,sliderDisabled:u,minValue:c,maxValue:d,runwayStyle:h,barStyle:v,resetSize:g,setPosition:y,emitChange:S,onSliderWrapperPrevent:k=>{var R,M;((R=l.firstButton.value)!=null&&R.dragging||(M=l.secondButton.value)!=null&&M.dragging)&&k.preventDefault()},onSliderClick:k=>{C(k)&&S()},onSliderDown:async k=>{const R=C(k);R&&(await Ye(),R.value.onButtonDown(k))},setFirstValue:_,setSecondValue:w}},{left:TYe,down:xYe,right:AYe,up:kYe,home:IYe,end:RYe,pageUp:MYe,pageDown:LYe}=Xe,DYe=(e,t,r)=>{const n=U(),a=U(!1),i=L(()=>t.value instanceof Function),o=L(()=>i.value&&t.value(e.modelValue)||e.modelValue),s=ua(()=>{r.value&&(a.value=!0)},50),l=ua(()=>{r.value&&(a.value=!1)},50);return{tooltip:n,tooltipVisible:a,formatValue:o,displayTooltip:s,hideTooltip:l}},OYe=(e,t,r)=>{const{disabled:n,min:a,max:i,step:o,showTooltip:s,precision:l,sliderSize:u,formatTooltip:c,emitChange:d,resetSize:f,updateDragging:p}=Ue(SV),{tooltip:h,tooltipVisible:v,formatValue:g,displayTooltip:m,hideTooltip:y}=DYe(e,c,s),_=U(),w=L(()=>`${(e.modelValue-a.value)/(i.value-a.value)*100}%`),E=L(()=>e.vertical?{bottom:w.value}:{left:w.value}),S=()=>{t.hovering=!0,m()},C=()=>{t.hovering=!1,t.dragging||y()},T=Y=>{n.value||(Y.preventDefault(),F(Y),window.addEventListener("mousemove",D),window.addEventListener("touchmove",D),window.addEventListener("mouseup",H),window.addEventListener("touchend",H),window.addEventListener("contextmenu",H),_.value.focus())},x=Y=>{n.value||(t.newPosition=Number.parseFloat(w.value)+Y/(i.value-a.value)*100,K(t.newPosition),d())},A=()=>{x(-o.value)},k=()=>{x(o.value)},R=()=>{x(-o.value*4)},M=()=>{x(o.value*4)},O=()=>{n.value||(K(0),d())},z=()=>{n.value||(K(100),d())},B=Y=>{let X=!0;[TYe,xYe].includes(Y.key)?A():[AYe,kYe].includes(Y.key)?k():Y.key===IYe?O():Y.key===RYe?z():Y.key===LYe?R():Y.key===MYe?M():X=!1,X&&Y.preventDefault()},P=Y=>{let X,J;return Y.type.startsWith("touch")?(J=Y.touches[0].clientY,X=Y.touches[0].clientX):(J=Y.clientY,X=Y.clientX),{clientX:X,clientY:J}},F=Y=>{t.dragging=!0,t.isClick=!0;const{clientX:X,clientY:J}=P(Y);e.vertical?t.startY=J:t.startX=X,t.startPosition=Number.parseFloat(w.value),t.newPosition=t.startPosition},D=Y=>{if(t.dragging){t.isClick=!1,m(),f();let X;const{clientX:J,clientY:fe}=P(Y);e.vertical?(t.currentY=fe,X=(t.startY-t.currentY)/u.value*100):(t.currentX=J,X=(t.currentX-t.startX)/u.value*100),t.newPosition=t.startPosition+X,K(t.newPosition)}},H=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||y(),t.isClick||K(t.newPosition),d()},0),window.removeEventListener("mousemove",D),window.removeEventListener("touchmove",D),window.removeEventListener("mouseup",H),window.removeEventListener("touchend",H),window.removeEventListener("contextmenu",H))},K=async Y=>{if(Y===null||Number.isNaN(+Y))return;Y<0?Y=0:Y>100&&(Y=100);const X=100/((i.value-a.value)/o.value);let fe=Math.round(Y/X)*X*(i.value-a.value)*.01+a.value;fe=Number.parseFloat(fe.toFixed(l.value)),fe!==e.modelValue&&r(Et,fe),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),await Ye(),t.dragging&&m(),h.value.updatePopper()};return Te(()=>t.dragging,Y=>{p(Y)}),{disabled:n,button:_,tooltip:h,tooltipVisible:v,showTooltip:s,wrapperStyle:E,formatValue:g,handleMouseEnter:S,handleMouseLeave:C,onButtonDown:T,onKeyDown:B,setPosition:K}},NYe=(e,t,r,n)=>({stops:L(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const o=(e.max-e.min)/e.step,s=100*e.step/(e.max-e.min),l=Array.from({length:o-1}).map((u,c)=>(c+1)*s);return e.range?l.filter(u=>u<100*(r.value-e.min)/(e.max-e.min)||u>100*(n.value-e.min)/(e.max-e.min)):l.filter(u=>u>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:o=>e.vertical?{bottom:`${o}%`}:{left:`${o}%`}}),PYe=(e,t,r,n,a,i)=>{const o=u=>{a(Et,u),a(ia,u)},s=()=>e.range?![r.value,n.value].every((u,c)=>u===t.oldValue[c]):e.modelValue!==t.oldValue,l=()=>{var u,c;e.min>e.max&&rn("Slider","min should not be greater than max.");const d=e.modelValue;e.range&&Array.isArray(d)?d[1]<e.min?o([e.min,e.min]):d[0]>e.max?o([e.max,e.max]):d[0]<e.min?o([e.min,d[1]]):d[1]>e.max?o([d[0],e.max]):(t.firstValue=d[0],t.secondValue=d[1],s()&&(e.validateEvent&&((u=i==null?void 0:i.validate)==null||u.call(i,"change").catch(f=>void 0)),t.oldValue=d.slice())):!e.range&&typeof d=="number"&&!Number.isNaN(d)&&(d<e.min?o(e.min):d>e.max?o(e.max):(t.firstValue=d,s()&&(e.validateEvent&&((c=i==null?void 0:i.validate)==null||c.call(i,"change").catch(f=>void 0)),t.oldValue=d)))};l(),Te(()=>t.dragging,u=>{u||l()}),Te(()=>e.modelValue,(u,c)=>{t.dragging||Array.isArray(u)&&Array.isArray(c)&&u.every((d,f)=>d===c[f])&&t.firstValue===u[0]&&t.secondValue===u[1]||l()},{deep:!0}),Te(()=>[e.min,e.max],()=>{l()})},$Ye=Le({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Td,default:"top"}}),BYe={[Et]:e=>at(e)},FYe=["tabindex"],zYe=te({name:"ElSliderButton"}),VYe=te({...zYe,props:$Ye,emits:BYe,setup(e,{expose:t,emit:r}){const n=e,a=ke("slider"),i=qt({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:n.modelValue}),{disabled:o,button:s,tooltip:l,showTooltip:u,tooltipVisible:c,wrapperStyle:d,formatValue:f,handleMouseEnter:p,handleMouseLeave:h,onButtonDown:v,onKeyDown:g,setPosition:m}=OYe(n,i,r),{hovering:y,dragging:_}=pn(i);return t({onButtonDown:v,onKeyDown:g,setPosition:m,hovering:y,dragging:_}),(w,E)=>(I(),$("div",{ref_key:"button",ref:s,class:V([b(a).e("button-wrapper"),{hover:b(y),dragging:b(_)}]),style:qe(b(d)),tabindex:b(o)?-1:0,onMouseenter:E[0]||(E[0]=(...S)=>b(p)&&b(p)(...S)),onMouseleave:E[1]||(E[1]=(...S)=>b(h)&&b(h)(...S)),onMousedown:E[2]||(E[2]=(...S)=>b(v)&&b(v)(...S)),onTouchstart:E[3]||(E[3]=(...S)=>b(v)&&b(v)(...S)),onFocus:E[4]||(E[4]=(...S)=>b(p)&&b(p)(...S)),onBlur:E[5]||(E[5]=(...S)=>b(h)&&b(h)(...S)),onKeydown:E[6]||(E[6]=(...S)=>b(g)&&b(g)(...S))},[Q(b(ca),{ref_key:"tooltip",ref:l,visible:b(c),placement:w.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":w.tooltipClass,disabled:!b(u),persistent:""},{content:oe(()=>[N("span",null,Oe(b(f)),1)]),default:oe(()=>[N("div",{class:V([b(a).e("button"),{hover:b(y),dragging:b(_)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,FYe))}});var UR=De(VYe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/button.vue"]]);const HYe=Le({mark:{type:ce([String,Object]),default:void 0}});var UYe=te({name:"ElSliderMarker",props:HYe,setup(e){const t=ke("slider"),r=L(()=>ut(e.mark)?e.mark:e.mark.label),n=L(()=>ut(e.mark)?void 0:e.mark.style);return()=>Qe("div",{class:t.e("marks-text"),style:n.value},r.value)}});const GYe=["id","role","aria-label","aria-labelledby"],WYe={key:1},KYe=te({name:"ElSlider"}),YYe=te({...KYe,props:bYe,emits:wYe,setup(e,{expose:t,emit:r}){const n=e,a=ke("slider"),{t:i}=Ht(),o=qt({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:s,slider:l,firstButton:u,secondButton:c,sliderDisabled:d,minValue:f,maxValue:p,runwayStyle:h,barStyle:v,resetSize:g,emitChange:m,onSliderWrapperPrevent:y,onSliderClick:_,onSliderDown:w,setFirstValue:E,setSecondValue:S}=CYe(n,o,r),{stops:C,getStopStyle:T}=NYe(n,o,f,p),{inputId:x,isLabeledByFormItem:A}=_u(n,{formItemContext:s}),k=nn(),R=L(()=>n.inputSize||k.value),M=L(()=>n.label||i("el.slider.defaultLabel",{min:n.min,max:n.max})),O=L(()=>n.range?n.rangeStartLabel||i("el.slider.defaultRangeStartLabel"):M.value),z=L(()=>n.formatValueText?n.formatValueText(Y.value):`${Y.value}`),B=L(()=>n.rangeEndLabel||i("el.slider.defaultRangeEndLabel")),P=L(()=>n.formatValueText?n.formatValueText(X.value):`${X.value}`),F=L(()=>[a.b(),a.m(k.value),a.is("vertical",n.vertical),{[a.m("with-input")]:n.showInput}]),D=EYe(n);PYe(n,o,f,p,r,s);const H=L(()=>{const se=[n.min,n.max,n.step].map(q=>{const j=`${q}`.split(".")[1];return j?j.length:0});return Math.max.apply(null,se)}),{sliderWrapper:K}=SYe(n,o,g),{firstValue:Y,secondValue:X,sliderSize:J}=pn(o),fe=se=>{o.dragging=se};return It(SV,{...pn(n),sliderSize:J,disabled:d,precision:H,emitChange:m,resetSize:g,updateDragging:fe}),t({onSliderClick:_}),(se,q)=>{var j,ae;return I(),$("div",{id:se.range?b(x):void 0,ref_key:"sliderWrapper",ref:K,class:V(b(F)),role:se.range?"group":void 0,"aria-label":se.range&&!b(A)?b(M):void 0,"aria-labelledby":se.range&&b(A)?(j=b(s))==null?void 0:j.labelId:void 0,onTouchstart:q[2]||(q[2]=(...ne)=>b(y)&&b(y)(...ne)),onTouchmove:q[3]||(q[3]=(...ne)=>b(y)&&b(y)(...ne))},[N("div",{ref_key:"slider",ref:l,class:V([b(a).e("runway"),{"show-input":se.showInput&&!se.range},b(a).is("disabled",b(d))]),style:qe(b(h)),onMousedown:q[0]||(q[0]=(...ne)=>b(w)&&b(w)(...ne)),onTouchstart:q[1]||(q[1]=(...ne)=>b(w)&&b(w)(...ne))},[N("div",{class:V(b(a).e("bar")),style:qe(b(v))},null,6),Q(UR,{id:se.range?void 0:b(x),ref_key:"firstButton",ref:u,"model-value":b(Y),vertical:se.vertical,"tooltip-class":se.tooltipClass,placement:se.placement,role:"slider","aria-label":se.range||!b(A)?b(O):void 0,"aria-labelledby":!se.range&&b(A)?(ae=b(s))==null?void 0:ae.labelId:void 0,"aria-valuemin":se.min,"aria-valuemax":se.range?b(X):se.max,"aria-valuenow":b(Y),"aria-valuetext":b(z),"aria-orientation":se.vertical?"vertical":"horizontal","aria-disabled":b(d),"onUpdate:modelValue":b(E)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),se.range?(I(),pe(UR,{key:0,ref_key:"secondButton",ref:c,"model-value":b(X),vertical:se.vertical,"tooltip-class":se.tooltipClass,placement:se.placement,role:"slider","aria-label":b(B),"aria-valuemin":b(Y),"aria-valuemax":se.max,"aria-valuenow":b(X),"aria-valuetext":b(P),"aria-orientation":se.vertical?"vertical":"horizontal","aria-disabled":b(d),"onUpdate:modelValue":b(S)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):ue("v-if",!0),se.showStops?(I(),$("div",WYe,[(I(!0),$(je,null,Ot(b(C),(ne,le)=>(I(),$("div",{key:le,class:V(b(a).e("stop")),style:qe(b(T)(ne))},null,6))),128))])):ue("v-if",!0),b(D).length>0?(I(),$(je,{key:2},[N("div",null,[(I(!0),$(je,null,Ot(b(D),(ne,le)=>(I(),$("div",{key:le,style:qe(b(T)(ne.position)),class:V([b(a).e("stop"),b(a).e("marks-stop")])},null,6))),128))]),N("div",{class:V(b(a).e("marks"))},[(I(!0),$(je,null,Ot(b(D),(ne,le)=>(I(),pe(b(UYe),{key:le,mark:ne.mark,style:qe(b(T)(ne.position))},null,8,["mark","style"]))),128))],2)],64)):ue("v-if",!0)],38),se.showInput&&!se.range?(I(),pe(b(jz),{key:0,ref:"input","model-value":b(Y),class:V(b(a).e("input")),step:se.step,disabled:b(d),controls:se.showInputControls,min:se.min,max:se.max,debounce:se.debounce,size:b(R),"onUpdate:modelValue":b(E),onChange:b(m)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):ue("v-if",!0)],42,GYe)}}});var qYe=De(YYe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/slider.vue"]]);const jYe=bt(qYe),XYe=Le({prefixCls:{type:String}}),GR=te({name:"ElSpaceItem",props:XYe,setup(e,{slots:t}){const r=ke("space"),n=L(()=>`${e.prefixCls||r.b()}__item`);return()=>Qe("div",{class:n.value},Se(t,"default"))}}),WR={small:8,default:12,large:16};function ZYe(e){const t=ke("space"),r=L(()=>[t.b(),t.m(e.direction),e.class]),n=U(0),a=U(0),i=L(()=>{const s=e.wrap||e.fill?{flexWrap:"wrap",marginBottom:`-${a.value}px`}:{},l={alignItems:e.alignment};return[s,l,e.style]}),o=L(()=>{const s={paddingBottom:`${a.value}px`,marginRight:`${n.value}px`},l=e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{};return[s,l]});return qa(()=>{const{size:s="small",wrap:l,direction:u,fill:c}=e;if(He(s)){const[d=0,f=0]=s;n.value=d,a.value=f}else{let d;at(s)?d=s:d=WR[s||"small"]||WR.small,(l||c)&&u==="horizontal"?n.value=a.value=d:u==="horizontal"?(n.value=d,a.value=0):(a.value=d,n.value=0)}}),{classes:r,containerStyle:i,itemStyle:o}}const QYe=Le({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:ce([String,Object,Array]),default:""},style:{type:ce([String,Array,Object]),default:""},alignment:{type:ce(String),default:"center"},prefixCls:{type:String},spacer:{type:ce([Object,String,Number,Array]),default:null,validator:e=>Sr(e)||at(e)||ut(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:rs,validator:e=>at(e)||He(e)&&e.length===2&&e.every(at)}}),JYe=te({name:"ElSpace",props:QYe,setup(e,{slots:t}){const{classes:r,containerStyle:n,itemStyle:a}=ZYe(e);function i(o,s="",l=[]){const{prefixCls:u}=e;return o.forEach((c,d)=>{u3(c)?He(c.children)&&c.children.forEach((f,p)=>{u3(f)&&He(f.children)?i(f.children,`${s+p}-`,l):l.push(Q(GR,{style:a.value,prefixCls:u,key:`nested-${s+p}`},{default:()=>[f]},di.PROPS|di.STYLE,["style","prefixCls"]))}):JLe(c)&&l.push(Q(GR,{style:a.value,prefixCls:u,key:`LoopKey${s+d}`},{default:()=>[c]},di.PROPS|di.STYLE,["style","prefixCls"]))}),l}return()=>{var o;const{spacer:s,direction:l}=e,u=Se(t,"default",{key:0},()=>[]);if(((o=u.children)!=null?o:[]).length===0)return null;if(He(u.children)){let c=i(u.children);if(s){const d=c.length-1;c=c.reduce((f,p,h)=>{const v=[...f,p];return h!==d&&v.push(Q("span",{style:[a.value,l==="vertical"?"width: 100%":null],key:h},[Sr(s)?s:Kt(s,di.TEXT)],di.STYLE)),v},[])}return Q("div",{class:r.value,style:n.value},c,di.STYLE|di.CLASS)}return u.children}}}),eqe=bt(JYe),tqe=Le({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:ce([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:ce([String,Object,Array])}}),rqe=te({name:"ElStatistic"}),nqe=te({...rqe,props:tqe,setup(e,{expose:t}){const r=e,n=ke("statistic"),a=L(()=>{const{value:i,formatter:o,precision:s,decimalSeparator:l,groupSeparator:u}=r;if(it(o))return o(i);if(!at(i))return i;let[c,d=""]=String(i).split(".");return d=d.padEnd(s,"0").slice(0,s>0?s:0),c=c.replace(/\B(?=(\d{3})+(?!\d))/g,u),[c,d].join(d?l:"")});return t({displayValue:a}),(i,o)=>(I(),$("div",{class:V(b(n).b())},[i.$slots.title||i.title?(I(),$("div",{key:0,class:V(b(n).e("head"))},[Se(i.$slots,"title",{},()=>[Kt(Oe(i.title),1)])],2)):ue("v-if",!0),N("div",{class:V(b(n).e("content"))},[i.$slots.prefix||i.prefix?(I(),$("div",{key:0,class:V(b(n).e("prefix"))},[Se(i.$slots,"prefix",{},()=>[N("span",null,Oe(i.prefix),1)])],2)):ue("v-if",!0),N("span",{class:V(b(n).e("number")),style:qe(i.valueStyle)},Oe(b(a)),7),i.$slots.suffix||i.suffix?(I(),$("div",{key:1,class:V(b(n).e("suffix"))},[Se(i.$slots,"suffix",{},()=>[N("span",null,Oe(i.suffix),1)])],2)):ue("v-if",!0)],2)],2))}});var aqe=De(nqe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/statistic/src/statistic.vue"]]);const EV=bt(aqe),iqe=Le({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:ce([Number,Object]),default:0},valueStyle:{type:ce([String,Object,Array])}}),oqe={finish:()=>!0,[hr]:e=>at(e)},sqe=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],KR=e=>at(e)?new Date(e).getTime():e.valueOf(),YR=(e,t)=>{let r=e;const n=/\[([^\]]*)]/g;return sqe.reduce((i,[o,s])=>{const l=new RegExp(`${o}+(?![^\\[\\]]*\\])`,"g");if(l.test(i)){const u=Math.floor(r/s);return r-=u*s,i.replace(l,c=>String(u).padStart(c.length,"0"))}return i},t).replace(n,"$1")},lqe=te({name:"ElCountdown"}),uqe=te({...lqe,props:iqe,emits:oqe,setup(e,{expose:t,emit:r}){const n=e;let a;const i=U(KR(n.value)-Date.now()),o=L(()=>YR(i.value,n.format)),s=c=>YR(c,n.format),l=()=>{a&&(E_(a),a=void 0)},u=()=>{const c=KR(n.value),d=()=>{let f=c-Date.now();r("change",f),f<=0?(f=0,l(),r("finish")):a=np(d),i.value=f};a=np(d)};return Te(()=>[n.value,n.format],()=>{l(),u()},{immediate:!0}),vr(()=>{l()}),t({displayValue:o}),(c,d)=>(I(),pe(b(EV),{value:i.value,title:c.title,prefix:c.prefix,suffix:c.suffix,"value-style":c.valueStyle,formatter:s},Ms({_:2},[Ot(c.$slots,(f,p)=>({name:p,fn:oe(()=>[Se(c.$slots,p)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var cqe=De(uqe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/countdown/src/countdown.vue"]]);const dqe=bt(cqe),fqe=Le({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),pqe={[hr]:(e,t)=>[e,t].every(at)},hqe=te({name:"ElSteps"}),vqe=te({...hqe,props:fqe,emits:pqe,setup(e,{emit:t}){const r=e,n=ke("steps"),{children:a,addChild:i,removeChild:o}=AT(mt(),"ElStep");return Te(a,()=>{a.value.forEach((s,l)=>{s.setIndex(l)})}),It("ElSteps",{props:r,steps:a,addStep:i,removeStep:o}),Te(()=>r.active,(s,l)=>{t(hr,s,l)}),(s,l)=>(I(),$("div",{class:V([b(n).b(),b(n).m(s.simple?"simple":s.direction)])},[Se(s.$slots,"default")],2))}});var gqe=De(vqe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/steps.vue"]]);const mqe=Le({title:{type:String,default:""},icon:{type:dr},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),yqe=te({name:"ElStep"}),_qe=te({...yqe,props:mqe,setup(e){const t=e,r=ke("step"),n=U(-1),a=U({}),i=U(""),o=Ue("ElSteps"),s=mt();gt(()=>{Te([()=>o.props.active,()=>o.props.processStatus,()=>o.props.finishStatus],([S])=>{w(S)},{immediate:!0})}),vr(()=>{o.removeStep(E.uid)});const l=L(()=>t.status||i.value),u=L(()=>{const S=o.steps.value[n.value-1];return S?S.currentStatus:"wait"}),c=L(()=>o.props.alignCenter),d=L(()=>o.props.direction==="vertical"),f=L(()=>o.props.simple),p=L(()=>o.steps.value.length),h=L(()=>{var S;return((S=o.steps.value[p.value-1])==null?void 0:S.uid)===(s==null?void 0:s.uid)}),v=L(()=>f.value?"":o.props.space),g=L(()=>[r.b(),r.is(f.value?"simple":o.props.direction),r.is("flex",h.value&&!v.value&&!c.value),r.is("center",c.value&&!d.value&&!f.value)]),m=L(()=>{const S={flexBasis:at(v.value)?`${v.value}px`:v.value?v.value:`${100/(p.value-(c.value?0:1))}%`};return d.value||h.value&&(S.maxWidth=`${100/p.value}%`),S}),y=S=>{n.value=S},_=S=>{const C=S==="wait",T={transitionDelay:`${C?"-":""}${150*n.value}ms`},x=S===o.props.processStatus||C?0:100;T.borderWidth=x&&!f.value?"1px":0,T[o.props.direction==="vertical"?"height":"width"]=`${x}%`,a.value=T},w=S=>{S>n.value?i.value=o.props.finishStatus:S===n.value&&u.value!=="error"?i.value=o.props.processStatus:i.value="wait";const C=o.steps.value[n.value-1];C&&C.calcProgress(i.value)},E=qt({uid:s.uid,currentStatus:l,setIndex:y,calcProgress:_});return o.addStep(E),(S,C)=>(I(),$("div",{style:qe(b(m)),class:V(b(g))},[ue(" icon & line "),N("div",{class:V([b(r).e("head"),b(r).is(b(l))])},[b(f)?ue("v-if",!0):(I(),$("div",{key:0,class:V(b(r).e("line"))},[N("i",{class:V(b(r).e("line-inner")),style:qe(a.value)},null,6)],2)),N("div",{class:V([b(r).e("icon"),b(r).is(S.icon||S.$slots.icon?"icon":"text")])},[Se(S.$slots,"icon",{},()=>[S.icon?(I(),pe(b(Ke),{key:0,class:V(b(r).e("icon-inner"))},{default:oe(()=>[(I(),pe(xt(S.icon)))]),_:1},8,["class"])):b(l)==="success"?(I(),pe(b(Ke),{key:1,class:V([b(r).e("icon-inner"),b(r).is("status")])},{default:oe(()=>[Q(b(Np))]),_:1},8,["class"])):b(l)==="error"?(I(),pe(b(Ke),{key:2,class:V([b(r).e("icon-inner"),b(r).is("status")])},{default:oe(()=>[Q(b(Ii))]),_:1},8,["class"])):b(f)?ue("v-if",!0):(I(),$("div",{key:3,class:V(b(r).e("icon-inner"))},Oe(n.value+1),3))])],2)],2),ue(" title & description "),N("div",{class:V(b(r).e("main"))},[N("div",{class:V([b(r).e("title"),b(r).is(b(l))])},[Se(S.$slots,"title",{},()=>[Kt(Oe(S.title),1)])],2),b(f)?(I(),$("div",{key:0,class:V(b(r).e("arrow"))},null,2)):(I(),$("div",{key:1,class:V([b(r).e("description"),b(r).is(b(l))])},[Se(S.$slots,"description",{},()=>[Kt(Oe(S.description),1)])],2))],2)],6))}});var CV=De(_qe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue"]]);const bqe=bt(gqe,{Step:CV}),wqe=Mr(CV),Sqe=Le({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:w_},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},inactiveActionIcon:{type:dr},activeActionIcon:{type:dr},activeIcon:{type:dr},inactiveIcon:{type:dr},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:ce(Function)},id:String,tabindex:{type:[String,Number]},value:{type:[Boolean,String,Number],default:!1},label:{type:String,default:void 0}}),Eqe={[Et]:e=>tn(e)||ut(e)||at(e),[hr]:e=>tn(e)||ut(e)||at(e),[ia]:e=>tn(e)||ut(e)||at(e)},Cqe=["onClick"],Tqe=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"],xqe=["aria-hidden"],Aqe=["aria-hidden"],kqe=["aria-hidden"],Y3="ElSwitch",Iqe=te({name:Y3}),Rqe=te({...Iqe,props:Sqe,emits:Eqe,setup(e,{expose:t,emit:r}){const n=e,a=mt(),{formItem:i}=pa(),o=nn(),s=ke("switch");(T=>{T.forEach(x=>{Wo({from:x[0],replacement:x[1],scope:Y3,version:"2.3.0",ref:"https://element-plus.org/en-US/component/switch.html#attributes",type:"Attribute"},L(()=>{var A;return!!((A=a.vnode.props)!=null&&A[x[2]])}))})})([['"value"','"model-value" or "v-model"',"value"],['"active-color"',"CSS var `--el-switch-on-color`","activeColor"],['"inactive-color"',"CSS var `--el-switch-off-color`","inactiveColor"],['"border-color"',"CSS var `--el-switch-border-color`","borderColor"]]);const{inputId:u}=_u(n,{formItemContext:i}),c=$a(L(()=>n.loading)),d=U(n.modelValue!==!1),f=U(),p=U(),h=L(()=>[s.b(),s.m(o.value),s.is("disabled",c.value),s.is("checked",_.value)]),v=L(()=>[s.e("label"),s.em("label","left"),s.is("active",!_.value)]),g=L(()=>[s.e("label"),s.em("label","right"),s.is("active",_.value)]),m=L(()=>({width:Nr(n.width)}));Te(()=>n.modelValue,()=>{d.value=!0}),Te(()=>n.value,()=>{d.value=!1});const y=L(()=>d.value?n.modelValue:n.value),_=L(()=>y.value===n.activeValue);[n.activeValue,n.inactiveValue].includes(y.value)||(r(Et,n.inactiveValue),r(hr,n.inactiveValue),r(ia,n.inactiveValue)),Te(_,T=>{var x;f.value.checked=T,n.validateEvent&&((x=i==null?void 0:i.validate)==null||x.call(i,"change").catch(A=>void 0))});const w=()=>{const T=_.value?n.inactiveValue:n.activeValue;r(Et,T),r(hr,T),r(ia,T),Ye(()=>{f.value.checked=_.value})},E=()=>{if(c.value)return;const{beforeChange:T}=n;if(!T){w();return}const x=T();[Vv(x),tn(x)].includes(!0)||rn(Y3,"beforeChange must return type `Promise<boolean>` or `boolean`"),Vv(x)?x.then(k=>{k&&w()}).catch(k=>{}):x&&w()},S=L(()=>s.cssVarBlock({...n.activeColor?{"on-color":n.activeColor}:null,...n.inactiveColor?{"off-color":n.inactiveColor}:null,...n.borderColor?{"border-color":n.borderColor}:null})),C=()=>{var T,x;(x=(T=f.value)==null?void 0:T.focus)==null||x.call(T)};return gt(()=>{f.value.checked=_.value}),t({focus:C,checked:_}),(T,x)=>(I(),$("div",{class:V(b(h)),style:qe(b(S)),onClick:tt(E,["prevent"])},[N("input",{id:b(u),ref_key:"input",ref:f,class:V(b(s).e("input")),type:"checkbox",role:"switch","aria-checked":b(_),"aria-disabled":b(c),"aria-label":T.label,name:T.name,"true-value":T.activeValue,"false-value":T.inactiveValue,disabled:b(c),tabindex:T.tabindex,onChange:w,onKeydown:Ut(E,["enter"])},null,42,Tqe),!T.inlinePrompt&&(T.inactiveIcon||T.inactiveText)?(I(),$("span",{key:0,class:V(b(v))},[T.inactiveIcon?(I(),pe(b(Ke),{key:0},{default:oe(()=>[(I(),pe(xt(T.inactiveIcon)))]),_:1})):ue("v-if",!0),!T.inactiveIcon&&T.inactiveText?(I(),$("span",{key:1,"aria-hidden":b(_)},Oe(T.inactiveText),9,xqe)):ue("v-if",!0)],2)):ue("v-if",!0),N("span",{ref_key:"core",ref:p,class:V(b(s).e("core")),style:qe(b(m))},[T.inlinePrompt?(I(),$("div",{key:0,class:V(b(s).e("inner"))},[T.activeIcon||T.inactiveIcon?(I(),pe(b(Ke),{key:0,class:V(b(s).is("icon"))},{default:oe(()=>[(I(),pe(xt(b(_)?T.activeIcon:T.inactiveIcon)))]),_:1},8,["class"])):T.activeText||T.inactiveText?(I(),$("span",{key:1,class:V(b(s).is("text")),"aria-hidden":!b(_)},Oe(b(_)?T.activeText:T.inactiveText),11,Aqe)):ue("v-if",!0)],2)):ue("v-if",!0),N("div",{class:V(b(s).e("action"))},[T.loading?(I(),pe(b(Ke),{key:0,class:V(b(s).is("loading"))},{default:oe(()=>[Q(b(Zs))]),_:1},8,["class"])):T.activeActionIcon&&b(_)?(I(),pe(b(Ke),{key:1},{default:oe(()=>[(I(),pe(xt(T.activeActionIcon)))]),_:1})):T.inactiveActionIcon&&!b(_)?(I(),pe(b(Ke),{key:2},{default:oe(()=>[(I(),pe(xt(T.inactiveActionIcon)))]),_:1})):ue("v-if",!0)],2)],6),!T.inlinePrompt&&(T.activeIcon||T.activeText)?(I(),$("span",{key:1,class:V(b(g))},[T.activeIcon?(I(),pe(b(Ke),{key:0},{default:oe(()=>[(I(),pe(xt(T.activeIcon)))]),_:1})):ue("v-if",!0),!T.activeIcon&&T.activeText?(I(),$("span",{key:1,"aria-hidden":!b(_)},Oe(T.activeText),9,kqe)):ue("v-if",!0)],2)):ue("v-if",!0)],14,Cqe))}});var Mqe=De(Rqe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const Lqe=bt(Mqe);/*!
 * escape-html
 * Copyright(c) 2012-2013 TJ Holowaychuk
 * Copyright(c) 2015 Andreas Lubbe
 * Copyright(c) 2015 Tiancheng "Timothy" Gu
 * MIT Licensed
 */var Dqe=/["'&<>]/,Oqe=Nqe;function Nqe(e){var t=""+e,r=Dqe.exec(t);if(!r)return t;var n,a="",i=0,o=0;for(i=r.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}o!==i&&(a+=t.substring(o,i)),o=i+1,a+=n}return o!==i?a+t.substring(o,i):a}const Pqe=vo(Oqe),ew=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},$qe=function(e,t,r,n,a){if(!t&&!n&&(!a||Array.isArray(a)&&!a.length))return e;typeof r=="string"?r=r==="descending"?-1:1:r=r&&r<0?-1:1;const i=n?null:function(s,l){return a?(Array.isArray(a)||(a=[a]),a.map(u=>typeof u=="string"?Or(s,u):u(s,l,e))):(t!=="$key"&&St(s)&&"$value"in s&&(s=s.$value),[St(s)?Or(s,t):s])},o=function(s,l){if(n)return n(s.value,l.value);for(let u=0,c=s.key.length;u<c;u++){if(s.key[u]<l.key[u])return-1;if(s.key[u]>l.key[u])return 1}return 0};return e.map((s,l)=>({value:s,index:l,key:i?i(s,l):null})).sort((s,l)=>{let u=o(s,l);return u||(u=s.index-l.index),u*+r}).map(s=>s.value)},TV=function(e,t){let r=null;return e.columns.forEach(n=>{n.id===t&&(r=n)}),r},Bqe=function(e,t){let r=null;for(let n=0;n<e.columns.length;n++){const a=e.columns[n];if(a.columnKey===t){r=a;break}}return r||rn("ElTable",`No column matching with column-key: ${t}`),r},qR=function(e,t,r){const n=(t.className||"").match(new RegExp(`${r}-table_[^\\s]+`,"gm"));return n?TV(e,n[0]):null},kn=(e,t)=>{if(!e)throw new Error("Row is required when get row identity");if(typeof t=="string"){if(!t.includes("."))return`${e[t]}`;const r=t.split(".");let n=e;for(const a of r)n=n[a];return`${n}`}else if(typeof t=="function")return t.call(null,e)},Cc=function(e,t){const r={};return(e||[]).forEach((n,a)=>{r[kn(n,t)]={row:n,index:a}}),r};function Fqe(e,t){const r={};let n;for(n in e)r[n]=e[n];for(n in t)if($t(t,n)){const a=t[n];typeof a<"u"&&(r[n]=a)}return r}function XT(e){return e===""||e!==void 0&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function xV(e){return e===""||e!==void 0&&(e=XT(e),Number.isNaN(e)&&(e=80)),e}function zqe(e){return typeof e=="number"?e:typeof e=="string"?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function Vqe(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function yv(e,t,r){let n=!1;const a=e.indexOf(t),i=a!==-1,o=s=>{s==="add"?e.push(t):e.splice(a,1),n=!0,He(t.children)&&t.children.forEach(l=>{yv(e,l,r??!i)})};return tn(r)?r&&!i?o("add"):!r&&i&&o("remove"):o(i?"remove":"add"),n}function Hqe(e,t,r="children",n="hasChildren"){const a=o=>!(Array.isArray(o)&&o.length);function i(o,s,l){t(o,s,l),s.forEach(u=>{if(u[n]){t(u,null,l+1);return}const c=u[r];a(c)||i(u,c,l+1)})}e.forEach(o=>{if(o[n]){t(o,null,0);return}const s=o[r];a(s)||i(o,s,0)})}let fs;function Uqe(e,t,r,n,a){a=WB({enterable:!0,showArrow:!0},a);const i=e==null?void 0:e.dataset.prefix,o=e==null?void 0:e.querySelector(`.${i}-scrollbar__wrap`);function s(){const g=a.effect==="light",m=document.createElement("div");return m.className=[`${i}-popper`,g?"is-light":"is-dark",a.popperClass||""].join(" "),r=Pqe(r),m.innerHTML=r,m.style.zIndex=String(n()),e==null||e.appendChild(m),m}function l(){const g=document.createElement("div");return g.className=`${i}-popper__arrow`,g}function u(){c&&c.update()}fs==null||fs(),fs=()=>{try{c&&c.destroy(),p&&(e==null||e.removeChild(p)),t.removeEventListener("mouseenter",d),t.removeEventListener("mouseleave",f),o==null||o.removeEventListener("scroll",fs),fs=void 0}catch{}};let c=null,d=u,f=fs;a.enterable&&({onOpen:d,onClose:f}=V7({showAfter:a.showAfter,hideAfter:a.hideAfter,open:u,close:fs}));const p=s();p.onmouseenter=d,p.onmouseleave=f;const h=[];if(a.offset&&h.push({name:"offset",options:{offset:[0,a.offset]}}),a.showArrow){const g=p.appendChild(l());h.push({name:"arrow",options:{element:g,padding:10}})}const v=a.popperOptions||{};return c=B7(t,p,{placement:a.placement||"top",strategy:"fixed",...v,modifiers:v.modifiers?h.concat(v.modifiers):h}),t.addEventListener("mouseenter",d),t.addEventListener("mouseleave",f),o==null||o.addEventListener("scroll",fs),c}function AV(e){return e.children?Oie(e.children,AV):[e]}function jR(e,t){return e+t.colSpan}const kV=(e,t,r,n)=>{let a=0,i=e;const o=r.states.columns.value;if(n){const l=AV(n[e]);a=o.slice(0,o.indexOf(l[0])).reduce(jR,0),i=a+l.reduce(jR,0)-1}else a=e;let s;switch(t){case"left":i<r.states.fixedLeafColumnsLength.value&&(s="left");break;case"right":a>=o.length-r.states.rightFixedLeafColumnsLength.value&&(s="right");break;default:i<r.states.fixedLeafColumnsLength.value?s="left":a>=o.length-r.states.rightFixedLeafColumnsLength.value&&(s="right")}return s?{direction:s,start:a,after:i}:{}},ZT=(e,t,r,n,a,i=0)=>{const o=[],{direction:s,start:l,after:u}=kV(t,r,n,a);if(s){const c=s==="left";o.push(`${e}-fixed-column--${s}`),c&&u+i===n.states.fixedLeafColumnsLength.value-1?o.push("is-last-column"):!c&&l-i===n.states.columns.value.length-n.states.rightFixedLeafColumnsLength.value&&o.push("is-first-column")}return o};function XR(e,t){return e+(t.realWidth===null||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const QT=(e,t,r,n)=>{const{direction:a,start:i=0,after:o=0}=kV(e,t,r,n);if(!a)return;const s={},l=a==="left",u=r.states.columns.value;return l?s.left=u.slice(0,i).reduce(XR,0):s.right=u.slice(o+1).reverse().reduce(XR,0),s},dp=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function Gqe(e){const t=mt(),r=U(!1),n=U([]);return{updateExpandRows:()=>{const l=e.data.value||[],u=e.rowKey.value;if(r.value)n.value=l.slice();else if(u){const c=Cc(n.value,u);n.value=l.reduce((d,f)=>{const p=kn(f,u);return c[p]&&d.push(f),d},[])}else n.value=[]},toggleRowExpansion:(l,u)=>{yv(n.value,l,u)&&t.emit("expand-change",l,n.value.slice())},setExpandRowKeys:l=>{t.store.assertRowKey();const u=e.data.value||[],c=e.rowKey.value,d=Cc(u,c);n.value=l.reduce((f,p)=>{const h=d[p];return h&&f.push(h.row),f},[])},isRowExpanded:l=>{const u=e.rowKey.value;return u?!!Cc(n.value,u)[kn(l,u)]:n.value.includes(l)},states:{expandRows:n,defaultExpandAll:r}}}function Wqe(e){const t=mt(),r=U(null),n=U(null),a=u=>{t.store.assertRowKey(),r.value=u,o(u)},i=()=>{r.value=null},o=u=>{const{data:c,rowKey:d}=e;let f=null;d.value&&(f=(b(c)||[]).find(p=>kn(p,d.value)===u)),n.value=f,t.emit("current-change",n.value,null)};return{setCurrentRowKey:a,restoreCurrentRowKey:i,setCurrentRowByKey:o,updateCurrentRow:u=>{const c=n.value;if(u&&u!==c){n.value=u,t.emit("current-change",n.value,c);return}!u&&c&&(n.value=null,t.emit("current-change",null,c))},updateCurrentRowData:()=>{const u=e.rowKey.value,c=e.data.value||[],d=n.value;if(!c.includes(d)&&d){if(u){const f=kn(d,u);o(f)}else n.value=null;n.value===null&&t.emit("current-change",null,d)}else r.value&&(o(r.value),i())},states:{_currentRowKey:r,currentRow:n}}}function Kqe(e){const t=U([]),r=U({}),n=U(16),a=U(!1),i=U({}),o=U("hasChildren"),s=U("children"),l=mt(),u=L(()=>{if(!e.rowKey.value)return{};const m=e.data.value||[];return d(m)}),c=L(()=>{const m=e.rowKey.value,y=Object.keys(i.value),_={};return y.length&&y.forEach(w=>{if(i.value[w].length){const E={children:[]};i.value[w].forEach(S=>{const C=kn(S,m);E.children.push(C),S[o.value]&&!_[C]&&(_[C]={children:[]})}),_[w]=E}}),_}),d=m=>{const y=e.rowKey.value,_={};return Hqe(m,(w,E,S)=>{const C=kn(w,y);Array.isArray(E)?_[C]={children:E.map(T=>kn(T,y)),level:S}:a.value&&(_[C]={children:[],lazy:!0,level:S})},s.value,o.value),_},f=(m=!1,y=(_=>(_=l.store)==null?void 0:_.states.defaultExpandAll.value)())=>{var _;const w=u.value,E=c.value,S=Object.keys(w),C={};if(S.length){const T=b(r),x=[],A=(R,M)=>{if(m)return t.value?y||t.value.includes(M):!!(y||R!=null&&R.expanded);{const O=y||t.value&&t.value.includes(M);return!!(R!=null&&R.expanded||O)}};S.forEach(R=>{const M=T[R],O={...w[R]};if(O.expanded=A(M,R),O.lazy){const{loaded:z=!1,loading:B=!1}=M||{};O.loaded=!!z,O.loading=!!B,x.push(R)}C[R]=O});const k=Object.keys(E);a.value&&k.length&&x.length&&k.forEach(R=>{const M=T[R],O=E[R].children;if(x.includes(R)){if(C[R].children.length!==0)throw new Error("[ElTable]children must be an empty array.");C[R].children=O}else{const{loaded:z=!1,loading:B=!1}=M||{};C[R]={lazy:!0,loaded:!!z,loading:!!B,expanded:A(M,R),children:O,level:""}}})}r.value=C,(_=l.store)==null||_.updateTableScrollY()};Te(()=>t.value,()=>{f(!0)}),Te(()=>u.value,()=>{f()}),Te(()=>c.value,()=>{f()});const p=m=>{t.value=m,f()},h=(m,y)=>{l.store.assertRowKey();const _=e.rowKey.value,w=kn(m,_),E=w&&r.value[w];if(w&&E&&"expanded"in E){const S=E.expanded;y=typeof y>"u"?!E.expanded:y,r.value[w].expanded=y,S!==y&&l.emit("expand-change",m,y),l.store.updateTableScrollY()}},v=m=>{l.store.assertRowKey();const y=e.rowKey.value,_=kn(m,y),w=r.value[_];a.value&&w&&"loaded"in w&&!w.loaded?g(m,_,w):h(m,void 0)},g=(m,y,_)=>{const{load:w}=l.props;w&&!r.value[y].loaded&&(r.value[y].loading=!0,w(m,_,E=>{if(!Array.isArray(E))throw new TypeError("[ElTable] data must be an array");r.value[y].loading=!1,r.value[y].loaded=!0,r.value[y].expanded=!0,E.length&&(i.value[y]=E),l.emit("expand-change",m,!0)}))};return{loadData:g,loadOrToggle:v,toggleTreeExpansion:h,updateTreeExpandKeys:p,updateTreeData:f,normalize:d,states:{expandRowKeys:t,treeData:r,indent:n,lazy:a,lazyTreeNodeMap:i,lazyColumnIdentifier:o,childrenColumnName:s}}}const Yqe=(e,t)=>{const r=t.sortingColumn;return!r||typeof r.sortable=="string"?e:$qe(e,t.sortProp,t.sortOrder,r.sortMethod,r.sortBy)},zy=e=>{const t=[];return e.forEach(r=>{r.children&&r.children.length>0?t.push.apply(t,zy(r.children)):t.push(r)}),t};function qqe(){var e;const t=mt(),{size:r}=pn((e=t.proxy)==null?void 0:e.$props),n=U(null),a=U([]),i=U([]),o=U(!1),s=U([]),l=U([]),u=U([]),c=U([]),d=U([]),f=U([]),p=U([]),h=U([]),v=[],g=U(0),m=U(0),y=U(0),_=U(!1),w=U([]),E=U(!1),S=U(!1),C=U(null),T=U({}),x=U(null),A=U(null),k=U(null),R=U(null),M=U(null);Te(a,()=>t.state&&P(!1),{deep:!0});const O=()=>{if(!n.value)throw new Error("[ElTable] prop row-key is required")},z=Je=>{var _e;(_e=Je.children)==null||_e.forEach(he=>{he.fixed=Je.fixed,z(he)})},B=()=>{s.value.forEach(Ae=>{z(Ae)}),c.value=s.value.filter(Ae=>Ae.fixed===!0||Ae.fixed==="left"),d.value=s.value.filter(Ae=>Ae.fixed==="right"),c.value.length>0&&s.value[0]&&s.value[0].type==="selection"&&!s.value[0].fixed&&(s.value[0].fixed=!0,c.value.unshift(s.value[0]));const Je=s.value.filter(Ae=>!Ae.fixed);l.value=[].concat(c.value).concat(Je).concat(d.value);const _e=zy(Je),he=zy(c.value),de=zy(d.value);g.value=_e.length,m.value=he.length,y.value=de.length,u.value=[].concat(he).concat(_e).concat(de),o.value=c.value.length>0||d.value.length>0},P=(Je,_e=!1)=>{Je&&B(),_e?t.state.doLayout():t.state.debouncedUpdateLayout()},F=Je=>w.value.includes(Je),D=()=>{_.value=!1,w.value.length&&(w.value=[],t.emit("selection-change",[]))},H=()=>{let Je;if(n.value){Je=[];const _e=Cc(w.value,n.value),he=Cc(a.value,n.value);for(const de in _e)$t(_e,de)&&!he[de]&&Je.push(_e[de].row)}else Je=w.value.filter(_e=>!a.value.includes(_e));if(Je.length){const _e=w.value.filter(he=>!Je.includes(he));w.value=_e,t.emit("selection-change",_e.slice())}},K=()=>(w.value||[]).slice(),Y=(Je,_e=void 0,he=!0)=>{if(yv(w.value,Je,_e)){const Ae=(w.value||[]).slice();he&&t.emit("select",Ae,Je),t.emit("selection-change",Ae)}},X=()=>{var Je,_e;const he=S.value?!_.value:!(_.value||w.value.length);_.value=he;let de=!1,Ae=0;const ee=(_e=(Je=t==null?void 0:t.store)==null?void 0:Je.states)==null?void 0:_e.rowKey.value;a.value.forEach((ze,st)=>{const Mt=st+Ae;C.value?C.value.call(null,ze,Mt)&&yv(w.value,ze,he)&&(de=!0):yv(w.value,ze,he)&&(de=!0),Ae+=se(kn(ze,ee))}),de&&t.emit("selection-change",w.value?w.value.slice():[]),t.emit("select-all",w.value)},J=()=>{const Je=Cc(w.value,n.value);a.value.forEach(_e=>{const he=kn(_e,n.value),de=Je[he];de&&(w.value[de.index]=_e)})},fe=()=>{var Je,_e,he;if(((Je=a.value)==null?void 0:Je.length)===0){_.value=!1;return}let de;n.value&&(de=Cc(w.value,n.value));const Ae=function(Mt){return de?!!de[kn(Mt,n.value)]:w.value.includes(Mt)};let ee=!0,ze=0,st=0;for(let Mt=0,Ur=(a.value||[]).length;Mt<Ur;Mt++){const jr=(he=(_e=t==null?void 0:t.store)==null?void 0:_e.states)==null?void 0:he.rowKey.value,zi=Mt+st,Tn=a.value[Mt],we=C.value&&C.value.call(null,Tn,zi);if(Ae(Tn))ze++;else if(!C.value||we){ee=!1;break}st+=se(kn(Tn,jr))}ze===0&&(ee=!1),_.value=ee},se=Je=>{var _e;if(!t||!t.store)return 0;const{treeData:he}=t.store.states;let de=0;const Ae=(_e=he.value[Je])==null?void 0:_e.children;return Ae&&(de+=Ae.length,Ae.forEach(ee=>{de+=se(ee)})),de},q=(Je,_e)=>{Array.isArray(Je)||(Je=[Je]);const he={};return Je.forEach(de=>{T.value[de.id]=_e,he[de.columnKey||de.id]=_e}),he},j=(Je,_e,he)=>{A.value&&A.value!==Je&&(A.value.order=null),A.value=Je,k.value=_e,R.value=he},ae=()=>{let Je=b(i);Object.keys(T.value).forEach(_e=>{const he=T.value[_e];if(!he||he.length===0)return;const de=TV({columns:u.value},_e);de&&de.filterMethod&&(Je=Je.filter(Ae=>he.some(ee=>de.filterMethod.call(null,ee,Ae,de))))}),x.value=Je},ne=()=>{a.value=Yqe(x.value,{sortingColumn:A.value,sortProp:k.value,sortOrder:R.value})},le=(Je=void 0)=>{Je&&Je.filter||ae(),ne()},W=Je=>{const{tableHeaderRef:_e}=t.refs;if(!_e)return;const he=Object.assign({},_e.filterPanels),de=Object.keys(he);if(de.length)if(typeof Je=="string"&&(Je=[Je]),Array.isArray(Je)){const Ae=Je.map(ee=>Bqe({columns:u.value},ee));de.forEach(ee=>{const ze=Ae.find(st=>st.id===ee);ze&&(ze.filteredValue=[])}),t.store.commit("filterChange",{column:Ae,values:[],silent:!0,multi:!0})}else de.forEach(Ae=>{const ee=u.value.find(ze=>ze.id===Ae);ee&&(ee.filteredValue=[])}),T.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},Z=()=>{A.value&&(j(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:ie,toggleRowExpansion:me,updateExpandRows:be,states:ge,isRowExpanded:Re}=Gqe({data:a,rowKey:n}),{updateTreeExpandKeys:Ce,toggleTreeExpansion:Ee,updateTreeData:xe,loadOrToggle:$e,states:Fe}=Kqe({data:a,rowKey:n}),{updateCurrentRowData:Ge,updateCurrentRow:Ie,setCurrentRowKey:We,states:ot}=Wqe({data:a,rowKey:n});return{assertRowKey:O,updateColumns:B,scheduleLayout:P,isSelected:F,clearSelection:D,cleanSelection:H,getSelectionRows:K,toggleRowSelection:Y,_toggleAllSelection:X,toggleAllSelection:null,updateSelectionByRowKey:J,updateAllSelected:fe,updateFilters:q,updateCurrentRow:Ie,updateSort:j,execFilter:ae,execSort:ne,execQuery:le,clearFilter:W,clearSort:Z,toggleRowExpansion:me,setExpandRowKeysAdapter:Je=>{ie(Je),Ce(Je)},setCurrentRowKey:We,toggleRowExpansionAdapter:(Je,_e)=>{u.value.some(({type:de})=>de==="expand")?me(Je,_e):Ee(Je,_e)},isRowExpanded:Re,updateExpandRows:be,updateCurrentRowData:Ge,loadOrToggle:$e,updateTreeData:xe,states:{tableSize:r,rowKey:n,data:a,_data:i,isComplex:o,_columns:s,originColumns:l,columns:u,fixedColumns:c,rightFixedColumns:d,leafColumns:f,fixedLeafColumns:p,rightFixedLeafColumns:h,updateOrderFns:v,leafColumnsLength:g,fixedLeafColumnsLength:m,rightFixedLeafColumnsLength:y,isAllSelected:_,selection:w,reserveSelection:E,selectOnIndeterminate:S,selectable:C,filters:T,filteredData:x,sortingColumn:A,sortProp:k,sortOrder:R,hoverRow:M,...ge,...Fe,...ot}}}function q3(e,t){return e.map(r=>{var n;return r.id===t.id?t:((n=r.children)!=null&&n.length&&(r.children=q3(r.children,t)),r)})}function j3(e){e.forEach(t=>{var r,n;t.no=(r=t.getColumnIndex)==null?void 0:r.call(t),(n=t.children)!=null&&n.length&&j3(t.children)}),e.sort((t,r)=>t.no-r.no)}function jqe(){const e=mt(),t=qqe();return{ns:ke("table"),...t,mutations:{setData(o,s){const l=b(o._data)!==s;o.data.value=s,o._data.value=s,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),b(o.reserveSelection)?(e.store.assertRowKey(),e.store.updateSelectionByRowKey()):l?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(o,s,l,u){const c=b(o._columns);let d=[];l?(l&&!l.children&&(l.children=[]),l.children.push(s),d=q3(c,l)):(c.push(s),d=c),j3(d),o._columns.value=d,o.updateOrderFns.push(u),s.type==="selection"&&(o.selectable.value=s.selectable,o.reserveSelection.value=s.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(o,s){var l;((l=s.getColumnIndex)==null?void 0:l.call(s))!==s.no&&(j3(o._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(o,s,l,u){const c=b(o._columns)||[];if(l)l.children.splice(l.children.findIndex(f=>f.id===s.id),1),Ye(()=>{var f;((f=l.children)==null?void 0:f.length)===0&&delete l.children}),o._columns.value=q3(c,l);else{const f=c.indexOf(s);f>-1&&(c.splice(f,1),o._columns.value=c)}const d=o.updateOrderFns.indexOf(u);d>-1&&o.updateOrderFns.splice(d,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(o,s){const{prop:l,order:u,init:c}=s;if(l){const d=b(o.columns).find(f=>f.property===l);d&&(d.order=u,e.store.updateSort(d,l,u),e.store.commit("changeSortCondition",{init:c}))}},changeSortCondition(o,s){const{sortingColumn:l,sortProp:u,sortOrder:c}=o,d=b(l),f=b(u),p=b(c);p===null&&(o.sortingColumn.value=null,o.sortProp.value=null);const h={filter:!0};e.store.execQuery(h),(!s||!(s.silent||s.init))&&e.emit("sort-change",{column:d,prop:f,order:p}),e.store.updateTableScrollY()},filterChange(o,s){const{column:l,values:u,silent:c}=s,d=e.store.updateFilters(l,u);e.store.execQuery(),c||e.emit("filter-change",d),e.store.updateTableScrollY()},toggleAllSelection(){e.store.toggleAllSelection()},rowSelectedChanged(o,s){e.store.toggleRowSelection(s),e.store.updateAllSelected()},setHoverRow(o,s){o.hoverRow.value=s},setCurrentRow(o,s){e.store.updateCurrentRow(s)}},commit:function(o,...s){const l=e.store.mutations;if(l[o])l[o].apply(e,[e.store.states].concat(s));else throw new Error(`Action not found: ${o}`)},updateTableScrollY:function(){Ye(()=>e.layout.updateScrollY.apply(e.layout))}}}const _v={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"}};function Xqe(e,t){if(!e)throw new Error("Table is required.");const r=jqe();return r.toggleAllSelection=ua(r._toggleAllSelection,10),Object.keys(_v).forEach(n=>{IV(RV(t,n),n,r)}),Zqe(r,t),r}function Zqe(e,t){Object.keys(_v).forEach(r=>{Te(()=>RV(t,r),n=>{IV(n,r,e)})})}function IV(e,t,r){let n=e,a=_v[t];typeof _v[t]=="object"&&(a=a.key,n=n||_v[t].default),r.states[a].value=n}function RV(e,t){if(t.includes(".")){const r=t.split(".");let n=e;return r.forEach(a=>{n=n[a]}),n}else return e[t]}class Qqe{constructor(t){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=U(null),this.scrollX=U(!1),this.scrollY=U(!1),this.bodyWidth=U(null),this.fixedWidth=U(null),this.rightFixedWidth=U(null),this.gutterWidth=0;for(const r in t)$t(t,r)&&(cr(this[r])?this[r].value=t[r]:this[r]=t[r]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const r=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(r!=null&&r.wrapRef)){let n=!0;const a=this.scrollY.value;return n=r.wrapRef.scrollHeight>r.wrapRef.clientHeight,this.scrollY.value=n,a!==n}return!1}setHeight(t,r="height"){if(!zt)return;const n=this.table.vnode.el;if(t=zqe(t),this.height.value=Number(t),!n&&(t||t===0))return Ye(()=>this.setHeight(t,r));typeof t=="number"?(n.style[r]=`${t}px`,this.updateElsHeight()):typeof t=="string"&&(n.style[r]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(n=>{n.isColumnGroup?t.push.apply(t,n.columns):t.push(n)}),t}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(t){if(!t)return!0;let r=t;for(;r.tagName!=="DIV";){if(getComputedStyle(r).display==="none")return!0;r=r.parentElement}return!1}updateColumnsWidth(){if(!zt)return;const t=this.fit,r=this.table.vnode.el.clientWidth;let n=0;const a=this.getFlattenColumns(),i=a.filter(l=>typeof l.width!="number");if(a.forEach(l=>{typeof l.width=="number"&&l.realWidth&&(l.realWidth=null)}),i.length>0&&t){if(a.forEach(l=>{n+=Number(l.width||l.minWidth||80)}),n<=r){this.scrollX.value=!1;const l=r-n;if(i.length===1)i[0].realWidth=Number(i[0].minWidth||80)+l;else{const u=i.reduce((f,p)=>f+Number(p.minWidth||80),0),c=l/u;let d=0;i.forEach((f,p)=>{if(p===0)return;const h=Math.floor(Number(f.minWidth||80)*c);d+=h,f.realWidth=Number(f.minWidth||80)+h}),i[0].realWidth=Number(i[0].minWidth||80)+l-d}}else this.scrollX.value=!0,i.forEach(l=>{l.realWidth=Number(l.minWidth)});this.bodyWidth.value=Math.max(n,r),this.table.state.resizeState.value.width=this.bodyWidth.value}else a.forEach(l=>{!l.width&&!l.minWidth?l.realWidth=80:l.realWidth=Number(l.width||l.minWidth),n+=l.realWidth}),this.scrollX.value=n>r,this.bodyWidth.value=n;const o=this.store.states.fixedColumns.value;if(o.length>0){let l=0;o.forEach(u=>{l+=Number(u.realWidth||u.width)}),this.fixedWidth.value=l}const s=this.store.states.rightFixedColumns.value;if(s.length>0){let l=0;s.forEach(u=>{l+=Number(u.realWidth||u.width)}),this.rightFixedWidth.value=l}this.notifyObservers("columns")}addObserver(t){this.observers.push(t)}removeObserver(t){const r=this.observers.indexOf(t);r!==-1&&this.observers.splice(r,1)}notifyObservers(t){this.observers.forEach(n=>{var a,i;switch(t){case"columns":(a=n.state)==null||a.onColumnsChange(this);break;case"scrollable":(i=n.state)==null||i.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}const{CheckboxGroup:Jqe}=Di,eje=te({name:"ElTableFilterPanel",components:{ElCheckbox:Di,ElCheckboxGroup:Jqe,ElScrollbar:Qs,ElTooltip:ca,ElIcon:Ke,ArrowDown:js,ArrowUp:fm},directives:{ClickOutside:ru},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(e){const t=mt(),{t:r}=Ht(),n=ke("table-filter"),a=t==null?void 0:t.parent;a.filterPanels.value[e.column.id]||(a.filterPanels.value[e.column.id]=t);const i=U(!1),o=U(null),s=L(()=>e.column&&e.column.filters),l=L({get:()=>{var w;return(((w=e.column)==null?void 0:w.filteredValue)||[])[0]},set:w=>{u.value&&(typeof w<"u"&&w!==null?u.value.splice(0,1,w):u.value.splice(0,1))}}),u=L({get(){return e.column?e.column.filteredValue||[]:[]},set(w){e.column&&e.upDataColumn("filteredValue",w)}}),c=L(()=>e.column?e.column.filterMultiple:!0),d=w=>w.value===l.value,f=()=>{i.value=!1},p=w=>{w.stopPropagation(),i.value=!i.value},h=()=>{i.value=!1},v=()=>{y(u.value),f()},g=()=>{u.value=[],y(u.value),f()},m=w=>{l.value=w,y(typeof w<"u"&&w!==null?u.value:[]),f()},y=w=>{e.store.commit("filterChange",{column:e.column,values:w}),e.store.updateAllSelected()};Te(i,w=>{e.column&&e.upDataColumn("filterOpened",w)},{immediate:!0});const _=L(()=>{var w,E;return(E=(w=o.value)==null?void 0:w.popperRef)==null?void 0:E.contentRef});return{tooltipVisible:i,multiple:c,filteredValue:u,filterValue:l,filters:s,handleConfirm:v,handleReset:g,handleSelect:m,isActive:d,t:r,ns:n,showFilterPanel:p,hideFilterPanel:h,popperPaneRef:_,tooltip:o}}}),tje={key:0},rje=["disabled"],nje=["label","onClick"];function aje(e,t,r,n,a,i){const o=pt("el-checkbox"),s=pt("el-checkbox-group"),l=pt("el-scrollbar"),u=pt("arrow-up"),c=pt("arrow-down"),d=pt("el-icon"),f=pt("el-tooltip"),p=Yv("click-outside");return I(),pe(f,{ref:"tooltip",visible:e.tooltipVisible,offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":e.ns.b(),persistent:""},{content:oe(()=>[e.multiple?(I(),$("div",tje,[N("div",{class:V(e.ns.e("content"))},[Q(l,{"wrap-class":e.ns.e("wrap")},{default:oe(()=>[Q(s,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=h=>e.filteredValue=h),class:V(e.ns.e("checkbox-group"))},{default:oe(()=>[(I(!0),$(je,null,Ot(e.filters,h=>(I(),pe(o,{key:h.value,label:h.value},{default:oe(()=>[Kt(Oe(h.text),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),N("div",{class:V(e.ns.e("bottom"))},[N("button",{class:V({[e.ns.is("disabled")]:e.filteredValue.length===0}),disabled:e.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...h)=>e.handleConfirm&&e.handleConfirm(...h))},Oe(e.t("el.table.confirmFilter")),11,rje),N("button",{type:"button",onClick:t[2]||(t[2]=(...h)=>e.handleReset&&e.handleReset(...h))},Oe(e.t("el.table.resetFilter")),1)],2)])):(I(),$("ul",{key:1,class:V(e.ns.e("list"))},[N("li",{class:V([e.ns.e("list-item"),{[e.ns.is("active")]:e.filterValue===void 0||e.filterValue===null}]),onClick:t[3]||(t[3]=h=>e.handleSelect(null))},Oe(e.t("el.table.clearFilter")),3),(I(!0),$(je,null,Ot(e.filters,h=>(I(),$("li",{key:h.value,class:V([e.ns.e("list-item"),e.ns.is("active",e.isActive(h))]),label:h.value,onClick:v=>e.handleSelect(h.value)},Oe(h.text),11,nje))),128))],2))]),default:oe(()=>[ct((I(),$("span",{class:V([`${e.ns.namespace.value}-table__column-filter-trigger`,`${e.ns.namespace.value}-none-outline`]),onClick:t[4]||(t[4]=(...h)=>e.showFilterPanel&&e.showFilterPanel(...h))},[Q(d,null,{default:oe(()=>[e.column.filterOpened?(I(),pe(u,{key:0})):(I(),pe(c,{key:1}))]),_:1})],2)),[[p,e.hideFilterPanel,e.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var ije=De(eje,[["render",aje],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function MV(e){const t=mt();o_(()=>{r.value.addObserver(t)}),gt(()=>{n(r.value),a(r.value)}),Ks(()=>{n(r.value),a(r.value)}),gu(()=>{r.value.removeObserver(t)});const r=L(()=>{const i=e.layout;if(!i)throw new Error("Can not find table layout.");return i}),n=i=>{var o;const s=((o=e.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col"))||[];if(!s.length)return;const l=i.getFlattenColumns(),u={};l.forEach(c=>{u[c.id]=c});for(let c=0,d=s.length;c<d;c++){const f=s[c],p=f.getAttribute("name"),h=u[p];h&&f.setAttribute("width",h.realWidth||h.width)}},a=i=>{var o,s;const l=((o=e.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let c=0,d=l.length;c<d;c++)l[c].setAttribute("width",i.scrollY.value?i.gutterWidth:"0");const u=((s=e.vnode.el)==null?void 0:s.querySelectorAll("th.gutter"))||[];for(let c=0,d=u.length;c<d;c++){const f=u[c];f.style.width=i.scrollY.value?`${i.gutterWidth}px`:"0",f.style.display=i.scrollY.value?"":"none"}};return{tableLayout:r.value,onColumnsChange:n,onScrollableChange:a}}const ns=Symbol("ElTable");function oje(e,t){const r=mt(),n=Ue(ns),a=v=>{v.stopPropagation()},i=(v,g)=>{!g.filters&&g.sortable?h(v,g,!1):g.filterable&&!g.sortable&&a(v),n==null||n.emit("header-click",g,v)},o=(v,g)=>{n==null||n.emit("header-contextmenu",g,v)},s=U(null),l=U(!1),u=U({}),c=(v,g)=>{if(zt&&!(g.children&&g.children.length>0)&&s.value&&e.border){l.value=!0;const m=n;t("set-drag-visible",!0);const _=(m==null?void 0:m.vnode.el).getBoundingClientRect().left,w=r.vnode.el.querySelector(`th.${g.id}`),E=w.getBoundingClientRect(),S=E.left-_+30;Do(w,"noclick"),u.value={startMouseLeft:v.clientX,startLeft:E.right-_,startColumnLeft:E.left-_,tableLeft:_};const C=m==null?void 0:m.refs.resizeProxy;C.style.left=`${u.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const T=A=>{const k=A.clientX-u.value.startMouseLeft,R=u.value.startLeft+k;C.style.left=`${Math.max(S,R)}px`},x=()=>{if(l.value){const{startColumnLeft:A,startLeft:k}=u.value,M=Number.parseInt(C.style.left,10)-A;g.width=g.realWidth=M,m==null||m.emit("header-dragend",g.width,k-A,g,v),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",l.value=!1,s.value=null,u.value={},t("set-drag-visible",!1)}document.removeEventListener("mousemove",T),document.removeEventListener("mouseup",x),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{Ta(w,"noclick")},0)};document.addEventListener("mousemove",T),document.addEventListener("mouseup",x)}},d=(v,g)=>{if(g.children&&g.children.length>0)return;const m=v.target;if(!ki(m))return;const y=m==null?void 0:m.closest("th");if(!(!g||!g.resizable)&&!l.value&&e.border){const _=y.getBoundingClientRect(),w=document.body.style;_.width>12&&_.right-v.pageX<8?(w.cursor="col-resize",ao(y,"is-sortable")&&(y.style.cursor="col-resize"),s.value=g):l.value||(w.cursor="",ao(y,"is-sortable")&&(y.style.cursor="pointer"),s.value=null)}},f=()=>{zt&&(document.body.style.cursor="")},p=({order:v,sortOrders:g})=>{if(v==="")return g[0];const m=g.indexOf(v||null);return g[m>g.length-2?0:m+1]},h=(v,g,m)=>{var y;v.stopPropagation();const _=g.order===m?null:m||p(g),w=(y=v.target)==null?void 0:y.closest("th");if(w&&ao(w,"noclick")){Ta(w,"noclick");return}if(!g.sortable)return;const E=e.store.states;let S=E.sortProp.value,C;const T=E.sortingColumn.value;(T!==g||T===g&&T.order===null)&&(T&&(T.order=null),E.sortingColumn.value=g,S=g.property),_?C=g.order=_:C=g.order=null,E.sortProp.value=S,E.sortOrder.value=C,n==null||n.store.commit("changeSortCondition")};return{handleHeaderClick:i,handleHeaderContextMenu:o,handleMouseDown:c,handleMouseMove:d,handleMouseOut:f,handleSortClick:h,handleFilterClick:a}}function sje(e){const t=Ue(ns),r=ke("table");return{getHeaderRowStyle:s=>{const l=t==null?void 0:t.props.headerRowStyle;return typeof l=="function"?l.call(null,{rowIndex:s}):l},getHeaderRowClass:s=>{const l=[],u=t==null?void 0:t.props.headerRowClassName;return typeof u=="string"?l.push(u):typeof u=="function"&&l.push(u.call(null,{rowIndex:s})),l.join(" ")},getHeaderCellStyle:(s,l,u,c)=>{var d;let f=(d=t==null?void 0:t.props.headerCellStyle)!=null?d:{};typeof f=="function"&&(f=f.call(null,{rowIndex:s,columnIndex:l,row:u,column:c}));const p=QT(l,c.fixed,e.store,u);return dp(p,"left"),dp(p,"right"),Object.assign({},f,p)},getHeaderCellClass:(s,l,u,c)=>{const d=ZT(r.b(),l,c.fixed,e.store,u),f=[c.id,c.order,c.headerAlign,c.className,c.labelClassName,...d];c.children||f.push("is-leaf"),c.sortable&&f.push("is-sortable");const p=t==null?void 0:t.props.headerCellClassName;return typeof p=="string"?f.push(p):typeof p=="function"&&f.push(p.call(null,{rowIndex:s,columnIndex:l,row:u,column:c})),f.push(r.e("cell")),f.filter(h=>!!h).join(" ")}}}const LV=e=>{const t=[];return e.forEach(r=>{r.children?(t.push(r),t.push.apply(t,LV(r.children))):t.push(r)}),t},lje=e=>{let t=1;const r=(i,o)=>{if(o&&(i.level=o.level+1,t<i.level&&(t=i.level)),i.children){let s=0;i.children.forEach(l=>{r(l,i),s+=l.colSpan}),i.colSpan=s}else i.colSpan=1};e.forEach(i=>{i.level=1,r(i,void 0)});const n=[];for(let i=0;i<t;i++)n.push([]);return LV(e).forEach(i=>{i.children?(i.rowSpan=1,i.children.forEach(o=>o.isSubColumn=!0)):i.rowSpan=t-i.level+1,n[i.level-1].push(i)}),n};function uje(e){const t=Ue(ns),r=L(()=>lje(e.store.states.originColumns.value));return{isGroup:L(()=>{const i=r.value.length>1;return i&&t&&(t.state.isGroup.value=!0),i}),toggleAllSelection:i=>{i.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:r}}var cje=te({name:"ElTableHeader",components:{ElCheckbox:Di},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e,{emit:t}){const r=mt(),n=Ue(ns),a=ke("table"),i=U({}),{onColumnsChange:o,onScrollableChange:s}=MV(n);gt(async()=>{await Ye(),await Ye();const{prop:S,order:C}=e.defaultSort;n==null||n.store.commit("sort",{prop:S,order:C,init:!0})});const{handleHeaderClick:l,handleHeaderContextMenu:u,handleMouseDown:c,handleMouseMove:d,handleMouseOut:f,handleSortClick:p,handleFilterClick:h}=oje(e,t),{getHeaderRowStyle:v,getHeaderRowClass:g,getHeaderCellStyle:m,getHeaderCellClass:y}=sje(e),{isGroup:_,toggleAllSelection:w,columnRows:E}=uje(e);return r.state={onColumnsChange:o,onScrollableChange:s},r.filterPanels=i,{ns:a,filterPanels:i,onColumnsChange:o,onScrollableChange:s,columnRows:E,getHeaderRowClass:g,getHeaderRowStyle:v,getHeaderCellClass:y,getHeaderCellStyle:m,handleHeaderClick:l,handleHeaderContextMenu:u,handleMouseDown:c,handleMouseMove:d,handleMouseOut:f,handleSortClick:p,handleFilterClick:h,isGroup:_,toggleAllSelection:w}},render(){const{ns:e,isGroup:t,columnRows:r,getHeaderCellStyle:n,getHeaderCellClass:a,getHeaderRowClass:i,getHeaderRowStyle:o,handleHeaderClick:s,handleHeaderContextMenu:l,handleMouseDown:u,handleMouseMove:c,handleSortClick:d,handleMouseOut:f,store:p,$parent:h}=this;let v=1;return Qe("thead",{class:{[e.is("group")]:t}},r.map((g,m)=>Qe("tr",{class:i(m),key:m,style:o(m)},g.map((y,_)=>(y.rowSpan>v&&(v=y.rowSpan),Qe("th",{class:a(m,_,g,y),colspan:y.colSpan,key:`${y.id}-thead`,rowspan:y.rowSpan,style:n(m,_,g,y),onClick:w=>s(w,y),onContextmenu:w=>l(w,y),onMousedown:w=>u(w,y),onMousemove:w=>c(w,y),onMouseout:f},[Qe("div",{class:["cell",y.filteredValue&&y.filteredValue.length>0?"highlight":""]},[y.renderHeader?y.renderHeader({column:y,$index:_,store:p,_self:h}):y.label,y.sortable&&Qe("span",{onClick:w=>d(w,y),class:"caret-wrapper"},[Qe("i",{onClick:w=>d(w,y,"ascending"),class:"sort-caret ascending"}),Qe("i",{onClick:w=>d(w,y,"descending"),class:"sort-caret descending"})]),y.filterable&&Qe(ije,{store:p,placement:y.filterPlacement||"bottom-start",column:y,upDataColumn:(w,E)=>{y[w]=E}})])]))))))}});function dje(e){const t=Ue(ns),r=U(""),n=U(Qe("div")),{nextZIndex:a}=Pp(),i=(h,v,g)=>{var m;const y=t,_=ew(h);let w;const E=(m=y==null?void 0:y.vnode.el)==null?void 0:m.dataset.prefix;_&&(w=qR({columns:e.store.states.columns.value},_,E),w&&(y==null||y.emit(`cell-${g}`,v,w,_,h))),y==null||y.emit(`row-${g}`,v,w,h)},o=(h,v)=>{i(h,v,"dblclick")},s=(h,v)=>{e.store.commit("setCurrentRow",v),i(h,v,"click")},l=(h,v)=>{i(h,v,"contextmenu")},u=ua(h=>{e.store.commit("setHoverRow",h)},30),c=ua(()=>{e.store.commit("setHoverRow",null)},30),d=h=>{const v=window.getComputedStyle(h,null),g=Number.parseInt(v.paddingLeft,10)||0,m=Number.parseInt(v.paddingRight,10)||0,y=Number.parseInt(v.paddingTop,10)||0,_=Number.parseInt(v.paddingBottom,10)||0;return{left:g,right:m,top:y,bottom:_}};return{handleDoubleClick:o,handleClick:s,handleContextMenu:l,handleMouseEnter:u,handleMouseLeave:c,handleCellMouseEnter:(h,v,g)=>{var m;const y=t,_=ew(h),w=(m=y==null?void 0:y.vnode.el)==null?void 0:m.dataset.prefix;if(_){const P=qR({columns:e.store.states.columns.value},_,w),F=y.hoverState={cell:_,column:P,row:v};y==null||y.emit("cell-mouse-enter",F.row,F.column,F.cell,h)}if(!g)return;const E=h.target.querySelector(".cell");if(!(ao(E,`${w}-tooltip`)&&E.childNodes.length))return;const S=document.createRange();S.setStart(E,0),S.setEnd(E,E.childNodes.length);let C=S.getBoundingClientRect().width,T=S.getBoundingClientRect().height;C-Math.floor(C)<.001&&(C=Math.floor(C)),T-Math.floor(T)<.001&&(T=Math.floor(T));const{top:k,left:R,right:M,bottom:O}=d(E),z=R+M,B=k+O;(C+z>E.offsetWidth||T+B>E.offsetHeight||E.scrollWidth>E.offsetWidth)&&Uqe(t==null?void 0:t.refs.tableWrapper,_,_.innerText||_.textContent,a,g)},handleCellMouseLeave:h=>{if(!ew(h))return;const g=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",g==null?void 0:g.row,g==null?void 0:g.column,g==null?void 0:g.cell,h)},tooltipContent:r,tooltipTrigger:n}}function fje(e){const t=Ue(ns),r=ke("table");return{getRowStyle:(u,c)=>{const d=t==null?void 0:t.props.rowStyle;return typeof d=="function"?d.call(null,{row:u,rowIndex:c}):d||null},getRowClass:(u,c)=>{const d=[r.e("row")];t!=null&&t.props.highlightCurrentRow&&u===e.store.states.currentRow.value&&d.push("current-row"),e.stripe&&c%2===1&&d.push(r.em("row","striped"));const f=t==null?void 0:t.props.rowClassName;return typeof f=="string"?d.push(f):typeof f=="function"&&d.push(f.call(null,{row:u,rowIndex:c})),d},getCellStyle:(u,c,d,f)=>{const p=t==null?void 0:t.props.cellStyle;let h=p??{};typeof p=="function"&&(h=p.call(null,{rowIndex:u,columnIndex:c,row:d,column:f}));const v=QT(c,e==null?void 0:e.fixed,e.store);return dp(v,"left"),dp(v,"right"),Object.assign({},h,v)},getCellClass:(u,c,d,f,p)=>{const h=ZT(r.b(),c,e==null?void 0:e.fixed,e.store,void 0,p),v=[f.id,f.align,f.className,...h],g=t==null?void 0:t.props.cellClassName;return typeof g=="string"?v.push(g):typeof g=="function"&&v.push(g.call(null,{rowIndex:u,columnIndex:c,row:d,column:f})),v.push(r.e("cell")),v.filter(m=>!!m).join(" ")},getSpan:(u,c,d,f)=>{let p=1,h=1;const v=t==null?void 0:t.props.spanMethod;if(typeof v=="function"){const g=v({row:u,column:c,rowIndex:d,columnIndex:f});Array.isArray(g)?(p=g[0],h=g[1]):typeof g=="object"&&(p=g.rowspan,h=g.colspan)}return{rowspan:p,colspan:h}},getColspanRealWidth:(u,c,d)=>{if(c<1)return u[d].realWidth;const f=u.map(({realWidth:p,width:h})=>p||h).slice(d,d+c);return Number(f.reduce((p,h)=>Number(p)+Number(h),-1))}}}function pje(e){const t=Ue(ns),r=ke("table"),{handleDoubleClick:n,handleClick:a,handleContextMenu:i,handleMouseEnter:o,handleMouseLeave:s,handleCellMouseEnter:l,handleCellMouseLeave:u,tooltipContent:c,tooltipTrigger:d}=dje(e),{getRowStyle:f,getRowClass:p,getCellStyle:h,getCellClass:v,getSpan:g,getColspanRealWidth:m}=fje(e),y=L(()=>e.store.states.columns.value.findIndex(({type:C})=>C==="default")),_=(C,T)=>{const x=t.props.rowKey;return x?kn(C,x):T},w=(C,T,x,A=!1)=>{const{tooltipEffect:k,tooltipOptions:R,store:M}=e,{indent:O,columns:z}=M.states,B=p(C,T);let P=!0;return x&&(B.push(r.em("row",`level-${x.level}`)),P=x.display),Qe("tr",{style:[P?null:{display:"none"},f(C,T)],class:B,key:_(C,T),onDblclick:D=>n(D,C),onClick:D=>a(D,C),onContextmenu:D=>i(D,C),onMouseenter:()=>o(T),onMouseleave:s},z.value.map((D,H)=>{const{rowspan:K,colspan:Y}=g(C,D,T,H);if(!K||!Y)return null;const X=Object.assign({},D);X.realWidth=m(z.value,Y,H);const J={store:e.store,_self:e.context||t,column:X,row:C,$index:T,cellIndex:H,expanded:A};H===y.value&&x&&(J.treeNode={indent:x.level*O.value,level:x.level},typeof x.expanded=="boolean"&&(J.treeNode.expanded=x.expanded,"loading"in x&&(J.treeNode.loading=x.loading),"noLazyChildren"in x&&(J.treeNode.noLazyChildren=x.noLazyChildren)));const fe=`${T},${H}`,se=X.columnKey||X.rawColumnKey||"",q=E(H,D,J),j=D.showOverflowTooltip&&WB({effect:k},R,D.showOverflowTooltip);return Qe("td",{style:h(T,H,C,D),class:v(T,H,C,D,Y-1),key:`${se}${fe}`,rowspan:K,colspan:Y,onMouseenter:ae=>l(ae,C,j),onMouseleave:u},[q])}))},E=(C,T,x)=>T.renderCell(x);return{wrappedRowRender:(C,T)=>{const x=e.store,{isRowExpanded:A,assertRowKey:k}=x,{treeData:R,lazyTreeNodeMap:M,childrenColumnName:O,rowKey:z}=x.states,B=x.states.columns.value;if(B.some(({type:F})=>F==="expand")){const F=A(C),D=w(C,T,void 0,F),H=t.renderExpanded;return F?H?[[D,Qe("tr",{key:`expanded-row__${D.key}`},[Qe("td",{colspan:B.length,class:`${r.e("cell")} ${r.e("expanded-cell")}`},[H({row:C,$index:T,store:x,expanded:F})])])]]:(console.error("[Element Error]renderExpanded is required."),D):[[D]]}else if(Object.keys(R.value).length){k();const F=kn(C,z.value);let D=R.value[F],H=null;D&&(H={expanded:D.expanded,level:D.level,display:!0},typeof D.lazy=="boolean"&&(typeof D.loaded=="boolean"&&D.loaded&&(H.noLazyChildren=!(D.children&&D.children.length)),H.loading=D.loading));const K=[w(C,T,H)];if(D){let Y=0;const X=(fe,se)=>{fe&&fe.length&&se&&fe.forEach(q=>{const j={display:se.display&&se.expanded,level:se.level+1,expanded:!1,noLazyChildren:!1,loading:!1},ae=kn(q,z.value);if(ae==null)throw new Error("For nested data item, row-key is required.");if(D={...R.value[ae]},D&&(j.expanded=D.expanded,D.level=D.level||j.level,D.display=!!(D.expanded&&j.display),typeof D.lazy=="boolean"&&(typeof D.loaded=="boolean"&&D.loaded&&(j.noLazyChildren=!(D.children&&D.children.length)),j.loading=D.loading)),Y++,K.push(w(q,T+Y,j)),D){const ne=M.value[ae]||q[O.value];X(ne,D)}})};D.display=!0;const J=M.value[F]||C[O.value];X(J,D)}return K}else return w(C,T,void 0)},tooltipContent:c,tooltipTrigger:d}}const hje={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var vje=te({name:"ElTableBody",props:hje,setup(e){const t=mt(),r=Ue(ns),n=ke("table"),{wrappedRowRender:a,tooltipContent:i,tooltipTrigger:o}=pje(e),{onColumnsChange:s,onScrollableChange:l}=MV(r);return Te(e.store.states.hoverRow,(u,c)=>{!e.store.states.isComplex.value||!zt||np(()=>{const d=t==null?void 0:t.vnode.el,f=Array.from((d==null?void 0:d.children)||[]).filter(v=>v==null?void 0:v.classList.contains(`${n.e("row")}`)),p=f[c],h=f[u];p&&Ta(p,"hover-row"),h&&Do(h,"hover-row")})}),gu(()=>{var u;(u=fs)==null||u()}),{ns:n,onColumnsChange:s,onScrollableChange:l,wrappedRowRender:a,tooltipContent:i,tooltipTrigger:o}},render(){const{wrappedRowRender:e,store:t}=this,r=t.states.data.value||[];return Qe("tbody",{tabIndex:-1},[r.reduce((n,a)=>n.concat(e(a,n.length)),[])])}});function gje(){const e=Ue(ns),t=e==null?void 0:e.store,r=L(()=>t.states.fixedLeafColumnsLength.value),n=L(()=>t.states.rightFixedColumns.value.length),a=L(()=>t.states.columns.value.length),i=L(()=>t.states.fixedColumns.value.length),o=L(()=>t.states.rightFixedColumns.value.length);return{leftFixedLeafCount:r,rightFixedLeafCount:n,columnsCount:a,leftFixedCount:i,rightFixedCount:o,columns:t.states.columns}}function mje(e){const{columns:t}=gje(),r=ke("table");return{getCellClasses:(i,o)=>{const s=i[o],l=[r.e("cell"),s.id,s.align,s.labelClassName,...ZT(r.b(),o,s.fixed,e.store)];return s.className&&l.push(s.className),s.children||l.push(r.is("leaf")),l},getCellStyles:(i,o)=>{const s=QT(o,i.fixed,e.store);return dp(s,"left"),dp(s,"right"),s},columns:t}}var yje=te({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const{getCellClasses:t,getCellStyles:r,columns:n}=mje(e);return{ns:ke("table"),getCellClasses:t,getCellStyles:r,columns:n}},render(){const{columns:e,getCellStyles:t,getCellClasses:r,summaryMethod:n,sumText:a}=this,i=this.store.states.data.value;let o=[];return n?o=n({columns:e,data:i}):e.forEach((s,l)=>{if(l===0){o[l]=a;return}const u=i.map(p=>Number(p[s.property])),c=[];let d=!0;u.forEach(p=>{if(!Number.isNaN(+p)){d=!1;const h=`${p}`.split(".")[1];c.push(h?h.length:0)}});const f=Math.max.apply(null,c);d?o[l]="":o[l]=u.reduce((p,h)=>{const v=Number(h);return Number.isNaN(+v)?p:Number.parseFloat((p+h).toFixed(Math.min(f,20)))},0)}),Qe(Qe("tfoot",[Qe("tr",{},[...e.map((s,l)=>Qe("td",{key:l,colspan:s.colSpan,rowspan:s.rowSpan,class:r(e,l),style:t(s,l)},[Qe("div",{class:["cell",s.labelClassName]},[o[l]])]))])]))}});function _je(e){return{setCurrentRow:c=>{e.commit("setCurrentRow",c)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(c,d)=>{e.toggleRowSelection(c,d,!1),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:c=>{e.clearFilter(c)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(c,d)=>{e.toggleRowExpansionAdapter(c,d)},clearSort:()=>{e.clearSort()},sort:(c,d)=>{e.commit("sort",{prop:c,order:d})}}}function bje(e,t,r,n){const a=U(!1),i=U(null),o=U(!1),s=D=>{o.value=D},l=U({width:null,height:null,headerHeight:null}),u=U(!1),c={display:"inline-block",verticalAlign:"middle"},d=U(),f=U(0),p=U(0),h=U(0),v=U(0),g=U(0);qa(()=>{t.setHeight(e.height)}),qa(()=>{t.setMaxHeight(e.maxHeight)}),Te(()=>[e.currentRowKey,r.states.rowKey],([D,H])=>{!b(H)||!b(D)||r.setCurrentRowKey(`${D}`)},{immediate:!0}),Te(()=>e.data,D=>{n.store.commit("setData",D)},{immediate:!0,deep:!0}),qa(()=>{e.expandRowKeys&&r.setExpandRowKeysAdapter(e.expandRowKeys)});const m=()=>{n.store.commit("setHoverRow",null),n.hoverState&&(n.hoverState=null)},y=(D,H)=>{const{pixelX:K,pixelY:Y}=H;Math.abs(K)>=Math.abs(Y)&&(n.refs.bodyWrapper.scrollLeft+=H.pixelX/5)},_=L(()=>e.height||e.maxHeight||r.states.fixedColumns.value.length>0||r.states.rightFixedColumns.value.length>0),w=L(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),E=()=>{_.value&&t.updateElsHeight(),t.updateColumnsWidth(),requestAnimationFrame(x)};gt(async()=>{await Ye(),r.updateColumns(),A(),requestAnimationFrame(E);const D=n.vnode.el,H=n.refs.headerWrapper;e.flexible&&D&&D.parentElement&&(D.parentElement.style.minWidth="0"),l.value={width:d.value=D.offsetWidth,height:D.offsetHeight,headerHeight:e.showHeader&&H?H.offsetHeight:null},r.states.columns.value.forEach(K=>{K.filteredValue&&K.filteredValue.length&&n.store.commit("filterChange",{column:K,values:K.filteredValue,silent:!0})}),n.$ready=!0});const S=(D,H)=>{if(!D)return;const K=Array.from(D.classList).filter(Y=>!Y.startsWith("is-scrolling-"));K.push(t.scrollX.value?H:"is-scrolling-none"),D.className=K.join(" ")},C=D=>{const{tableWrapper:H}=n.refs;S(H,D)},T=D=>{const{tableWrapper:H}=n.refs;return!!(H&&H.classList.contains(D))},x=function(){if(!n.refs.scrollBarRef)return;if(!t.scrollX.value){const se="is-scrolling-none";T(se)||C(se);return}const D=n.refs.scrollBarRef.wrapRef;if(!D)return;const{scrollLeft:H,offsetWidth:K,scrollWidth:Y}=D,{headerWrapper:X,footerWrapper:J}=n.refs;X&&(X.scrollLeft=H),J&&(J.scrollLeft=H);const fe=Y-K-1;H>=fe?C("is-scrolling-right"):C(H===0?"is-scrolling-left":"is-scrolling-middle")},A=()=>{n.refs.scrollBarRef&&(n.refs.scrollBarRef.wrapRef&&yr(n.refs.scrollBarRef.wrapRef,"scroll",x,{passive:!0}),e.fit?Yn(n.vnode.el,k):yr(window,"resize",k),Yn(n.refs.bodyWrapper,()=>{var D,H;k(),(H=(D=n.refs)==null?void 0:D.scrollBarRef)==null||H.update()}))},k=()=>{var D,H,K,Y;const X=n.vnode.el;if(!n.$ready||!X)return;let J=!1;const{width:fe,height:se,headerHeight:q}=l.value,j=d.value=X.offsetWidth;fe!==j&&(J=!0);const ae=X.offsetHeight;(e.height||_.value)&&se!==ae&&(J=!0);const ne=e.tableLayout==="fixed"?n.refs.headerWrapper:(D=n.refs.tableHeaderRef)==null?void 0:D.$el;e.showHeader&&(ne==null?void 0:ne.offsetHeight)!==q&&(J=!0),f.value=((H=n.refs.tableWrapper)==null?void 0:H.scrollHeight)||0,h.value=(ne==null?void 0:ne.scrollHeight)||0,v.value=((K=n.refs.footerWrapper)==null?void 0:K.offsetHeight)||0,g.value=((Y=n.refs.appendWrapper)==null?void 0:Y.offsetHeight)||0,p.value=f.value-h.value-v.value-g.value,J&&(l.value={width:j,height:ae,headerHeight:e.showHeader&&(ne==null?void 0:ne.offsetHeight)||0},E())},R=nn(),M=L(()=>{const{bodyWidth:D,scrollY:H,gutterWidth:K}=t;return D.value?`${D.value-(H.value?K:0)}px`:""}),O=L(()=>e.maxHeight?"fixed":e.tableLayout),z=L(()=>{if(e.data&&e.data.length)return null;let D="100%";e.height&&p.value&&(D=`${p.value}px`);const H=d.value;return{width:H?`${H}px`:"",height:D}}),B=L(()=>e.height?{height:Number.isNaN(Number(e.height))?e.height:`${e.height}px`}:e.maxHeight?{maxHeight:Number.isNaN(Number(e.maxHeight))?e.maxHeight:`${e.maxHeight}px`}:{}),P=L(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${h.value+v.value}px)`}:{maxHeight:`${e.maxHeight-h.value-v.value}px`}:{});return{isHidden:a,renderExpanded:i,setDragVisible:s,isGroup:u,handleMouseLeave:m,handleHeaderFooterMousewheel:y,tableSize:R,emptyBlockStyle:z,handleFixedMousewheel:(D,H)=>{const K=n.refs.bodyWrapper;if(Math.abs(H.spinY)>0){const Y=K.scrollTop;H.pixelY<0&&Y!==0&&D.preventDefault(),H.pixelY>0&&K.scrollHeight-K.clientHeight>Y&&D.preventDefault(),K.scrollTop+=Math.ceil(H.pixelY/5)}else K.scrollLeft+=Math.ceil(H.pixelX/5)},resizeProxyVisible:o,bodyWidth:M,resizeState:l,doLayout:E,tableBodyStyles:w,tableLayout:O,scrollbarViewStyle:c,tableInnerStyle:B,scrollbarStyle:P}}function wje(e){const t=U(),r=()=>{const a=e.vnode.el.querySelector(".hidden-columns"),i={childList:!0,subtree:!0},o=e.store.states.updateOrderFns;t.value=new MutationObserver(()=>{o.forEach(s=>s())}),t.value.observe(a,i)};gt(()=>{r()}),gu(()=>{var n;(n=t.value)==null||n.disconnect()})}var Sje={data:{type:Array,default:()=>[]},size:On,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:{type:Boolean,default:!1},flexible:Boolean,showOverflowTooltip:[Boolean,Object]};function DV(e){const t=e.tableLayout==="auto";let r=e.columns||[];t&&r.every(a=>a.width===void 0)&&(r=[]);const n=a=>{const i={key:`${e.tableLayout}_${a.id}`,style:{},name:void 0};return t?i.style={width:`${a.width}px`}:i.name=a.id,i};return Qe("colgroup",{},r.map(a=>Qe("col",n(a))))}DV.props=["columns","tableLayout"];const Eje=()=>{const e=U(),t=(i,o)=>{const s=e.value;s&&s.scrollTo(i,o)},r=(i,o)=>{const s=e.value;s&&at(o)&&["Top","Left"].includes(i)&&s[`setScroll${i}`](o)};return{scrollBarRef:e,scrollTo:t,setScrollTop:i=>r("Top",i),setScrollLeft:i=>r("Left",i)}};let Cje=1;const Tje=te({name:"ElTable",directives:{Mousewheel:s$e},components:{TableHeader:cje,TableBody:vje,TableFooter:yje,ElScrollbar:Qs,hColgroup:DV},props:Sje,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(e){const{t}=Ht(),r=ke("table"),n=mt();It(ns,n);const a=Xqe(n,e);n.store=a;const i=new Qqe({store:n.store,table:n,fit:e.fit,showHeader:e.showHeader});n.layout=i;const o=L(()=>(a.states.data.value||[]).length===0),{setCurrentRow:s,getSelectionRows:l,toggleRowSelection:u,clearSelection:c,clearFilter:d,toggleAllSelection:f,toggleRowExpansion:p,clearSort:h,sort:v}=_je(a),{isHidden:g,renderExpanded:m,setDragVisible:y,isGroup:_,handleMouseLeave:w,handleHeaderFooterMousewheel:E,tableSize:S,emptyBlockStyle:C,handleFixedMousewheel:T,resizeProxyVisible:x,bodyWidth:A,resizeState:k,doLayout:R,tableBodyStyles:M,tableLayout:O,scrollbarViewStyle:z,tableInnerStyle:B,scrollbarStyle:P}=bje(e,i,a,n),{scrollBarRef:F,scrollTo:D,setScrollLeft:H,setScrollTop:K}=Eje(),Y=ua(R,50),X=`${r.namespace.value}-table_${Cje++}`;n.tableId=X,n.state={isGroup:_,resizeState:k,doLayout:R,debouncedUpdateLayout:Y};const J=L(()=>e.sumText||t("el.table.sumText")),fe=L(()=>e.emptyText||t("el.table.emptyText"));return wje(n),{ns:r,layout:i,store:a,handleHeaderFooterMousewheel:E,handleMouseLeave:w,tableId:X,tableSize:S,isHidden:g,isEmpty:o,renderExpanded:m,resizeProxyVisible:x,resizeState:k,isGroup:_,bodyWidth:A,tableBodyStyles:M,emptyBlockStyle:C,debouncedUpdateLayout:Y,handleFixedMousewheel:T,setCurrentRow:s,getSelectionRows:l,toggleRowSelection:u,clearSelection:c,clearFilter:d,toggleAllSelection:f,toggleRowExpansion:p,clearSort:h,doLayout:R,sort:v,t,setDragVisible:y,context:n,computedSumText:J,computedEmptyText:fe,tableLayout:O,scrollbarViewStyle:z,tableInnerStyle:B,scrollbarStyle:P,scrollBarRef:F,scrollTo:D,setScrollLeft:H,setScrollTop:K}}}),xje=["data-prefix"],Aje={ref:"hiddenColumns",class:"hidden-columns"};function kje(e,t,r,n,a,i){const o=pt("hColgroup"),s=pt("table-header"),l=pt("table-body"),u=pt("table-footer"),c=pt("el-scrollbar"),d=Yv("mousewheel");return I(),$("div",{ref:"tableWrapper",class:V([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:(e.store.states.data.value||[]).length!==0&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:qe(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:t[0]||(t[0]=(...f)=>e.handleMouseLeave&&e.handleMouseLeave(...f))},[N("div",{class:V(e.ns.e("inner-wrapper")),style:qe(e.tableInnerStyle)},[N("div",Aje,[Se(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?ct((I(),$("div",{key:0,ref:"headerWrapper",class:V(e.ns.e("header-wrapper"))},[N("table",{ref:"tableHeader",class:V(e.ns.e("header")),style:qe(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[Q(o,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),Q(s,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[d,e.handleHeaderFooterMousewheel]]):ue("v-if",!0),N("div",{ref:"bodyWrapper",class:V(e.ns.e("body-wrapper"))},[Q(c,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn},{default:oe(()=>[N("table",{ref:"tableBody",class:V(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:qe({width:e.bodyWidth,tableLayout:e.tableLayout})},[Q(o,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(I(),pe(s,{key:0,ref:"tableHeaderRef",class:V(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","onSetDragVisible"])):ue("v-if",!0),Q(l,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&e.tableLayout==="auto"?(I(),pe(u,{key:1,class:V(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):ue("v-if",!0)],6),e.isEmpty?(I(),$("div",{key:0,ref:"emptyBlock",style:qe(e.emptyBlockStyle),class:V(e.ns.e("empty-block"))},[N("span",{class:V(e.ns.e("empty-text"))},[Se(e.$slots,"empty",{},()=>[Kt(Oe(e.computedEmptyText),1)])],2)],6)):ue("v-if",!0),e.$slots.append?(I(),$("div",{key:1,ref:"appendWrapper",class:V(e.ns.e("append-wrapper"))},[Se(e.$slots,"append")],2)):ue("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),e.showSummary&&e.tableLayout==="fixed"?ct((I(),$("div",{key:1,ref:"footerWrapper",class:V(e.ns.e("footer-wrapper"))},[N("table",{class:V(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:qe(e.tableBodyStyles)},[Q(o,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),Q(u,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[Gt,!e.isEmpty],[d,e.handleHeaderFooterMousewheel]]):ue("v-if",!0),e.border||e.isGroup?(I(),$("div",{key:2,class:V(e.ns.e("border-left-patch"))},null,2)):ue("v-if",!0)],6),ct(N("div",{ref:"resizeProxy",class:V(e.ns.e("column-resize-proxy"))},null,2),[[Gt,e.resizeProxyVisible]])],46,xje)}var Ije=De(Tje,[["render",kje],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);const Rje={selection:"table-column--selection",expand:"table__expand-column"},Mje={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},Lje=e=>Rje[e]||"",Dje={selection:{renderHeader({store:e,column:t}){function r(){return e.states.data.value&&e.states.data.value.length===0}return Qe(Di,{disabled:r(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection,modelValue:e.states.isAllSelected.value,ariaLabel:t.label})},renderCell({row:e,column:t,store:r,$index:n}){return Qe(Di,{disabled:t.selectable?!t.selectable.call(null,e,n):!1,size:r.states.tableSize.value,onChange:()=>{r.commit("rowSelectedChanged",e)},onClick:a=>a.stopPropagation(),modelValue:r.isSelected(e),ariaLabel:t.label})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let r=t+1;const n=e.index;return typeof n=="number"?r=t+n:typeof n=="function"&&(r=n(t)),Qe("div",{},[r])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({row:e,store:t,expanded:r}){const{ns:n}=t,a=[n.e("expand-icon")];return r&&a.push(n.em("expand-icon","expanded")),Qe("div",{class:a,onClick:function(o){o.stopPropagation(),t.toggleRowExpansion(e)}},{default:()=>[Qe(Ke,null,{default:()=>[Qe(Gn)]})]})},sortable:!1,resizable:!1}};function Oje({row:e,column:t,$index:r}){var n;const a=t.property,i=a&&xy(e,a).value;return t&&t.formatter?t.formatter(e,t,i,r):((n=i==null?void 0:i.toString)==null?void 0:n.call(i))||""}function Nje({row:e,treeNode:t,store:r},n=!1){const{ns:a}=r;if(!t)return n?[Qe("span",{class:a.e("placeholder")})]:null;const i=[],o=function(s){s.stopPropagation(),!t.loading&&r.loadOrToggle(e)};if(t.indent&&i.push(Qe("span",{class:a.e("indent"),style:{"padding-left":`${t.indent}px`}})),typeof t.expanded=="boolean"&&!t.noLazyChildren){const s=[a.e("expand-icon"),t.expanded?a.em("expand-icon","expanded"):""];let l=Gn;t.loading&&(l=Zs),i.push(Qe("div",{class:s,onClick:o},{default:()=>[Qe(Ke,{class:{[a.is("loading")]:t.loading}},{default:()=>[Qe(l)]})]}))}else i.push(Qe("span",{class:a.e("placeholder")}));return i}function ZR(e,t){return e.reduce((r,n)=>(r[n]=n,r),t)}function Pje(e,t){const r=mt();return{registerComplexWatchers:()=>{const i=["fixed"],o={realWidth:"width",realMinWidth:"minWidth"},s=ZR(i,o);Object.keys(s).forEach(l=>{const u=o[l];$t(t,u)&&Te(()=>t[u],c=>{let d=c;u==="width"&&l==="realWidth"&&(d=XT(c)),u==="minWidth"&&l==="realMinWidth"&&(d=xV(c)),r.columnConfig.value[u]=d,r.columnConfig.value[l]=d;const f=u==="fixed";e.value.store.scheduleLayout(f)})})},registerNormalWatchers:()=>{const i=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","showOverflowTooltip"],o={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},s=ZR(i,o);Object.keys(s).forEach(l=>{const u=o[l];$t(t,u)&&Te(()=>t[u],c=>{r.columnConfig.value[l]=c})})}}}function $je(e,t,r){const n=mt(),a=U(""),i=U(!1),o=U(),s=U(),l=ke("table");qa(()=>{o.value=e.align?`is-${e.align}`:null,o.value}),qa(()=>{s.value=e.headerAlign?`is-${e.headerAlign}`:o.value,s.value});const u=L(()=>{let w=n.vnode.vParent||n.parent;for(;w&&!w.tableId&&!w.columnId;)w=w.vnode.vParent||w.parent;return w}),c=L(()=>{const{store:w}=n.parent;if(!w)return!1;const{treeData:E}=w.states,S=E.value;return S&&Object.keys(S).length>0}),d=U(XT(e.width)),f=U(xV(e.minWidth)),p=w=>(d.value&&(w.width=d.value),f.value&&(w.minWidth=f.value),!d.value&&f.value&&(w.width=void 0),w.minWidth||(w.minWidth=80),w.realWidth=Number(w.width===void 0?w.minWidth:w.width),w),h=w=>{const E=w.type,S=Dje[E]||{};Object.keys(S).forEach(T=>{const x=S[T];T!=="className"&&x!==void 0&&(w[T]=x)});const C=Lje(E);if(C){const T=`${b(l.namespace)}-${C}`;w.className=w.className?`${w.className} ${T}`:T}return w},v=w=>{Array.isArray(w)?w.forEach(S=>E(S)):E(w);function E(S){var C;((C=S==null?void 0:S.type)==null?void 0:C.name)==="ElTableColumn"&&(S.vParent=n)}};return{columnId:a,realAlign:o,isSubColumn:i,realHeaderAlign:s,columnOrTableParent:u,setColumnWidth:p,setColumnForcedProps:h,setColumnRenders:w=>{e.renderHeader||w.type!=="selection"&&(w.renderHeader=S=>{n.columnConfig.value.label;const C=t.header;return C?C(S):w.label});let E=w.renderCell;return w.type==="expand"?(w.renderCell=S=>Qe("div",{class:"cell"},[E(S)]),r.value.renderExpanded=S=>t.default?t.default(S):t.default):(E=E||Oje,w.renderCell=S=>{let C=null;if(t.default){const M=t.default(S);C=M.some(O=>O.type!==aa)?M:E(S)}else C=E(S);const{columns:T}=r.value.store.states,x=T.value.findIndex(M=>M.type==="default"),A=c.value&&S.cellIndex===x,k=Nje(S,A),R={class:"cell",style:{}};return w.showOverflowTooltip&&(R.class=`${R.class} ${b(l.namespace)}-tooltip`,R.style={width:`${(S.column.realWidth||Number(S.column.width))-1}px`}),v(C),Qe("div",R,[k,C])}),w},getPropsData:(...w)=>w.reduce((E,S)=>(Array.isArray(S)&&S.forEach(C=>{E[C]=e[C]}),E),{}),getColumnElIndex:(w,E)=>Array.prototype.indexOf.call(w,E),updateColumnOrder:()=>{r.value.store.commit("updateColumnOrder",n.columnConfig.value)}}}var Bje={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}};let Fje=1;var OV=te({name:"ElTableColumn",components:{ElCheckbox:Di},props:Bje,setup(e,{slots:t}){const r=mt(),n=U({}),a=L(()=>{let _=r.parent;for(;_&&!_.tableId;)_=_.parent;return _}),{registerNormalWatchers:i,registerComplexWatchers:o}=Pje(a,e),{columnId:s,isSubColumn:l,realHeaderAlign:u,columnOrTableParent:c,setColumnWidth:d,setColumnForcedProps:f,setColumnRenders:p,getPropsData:h,getColumnElIndex:v,realAlign:g,updateColumnOrder:m}=$je(e,t,a),y=c.value;s.value=`${y.tableId||y.columnId}_column_${Fje++}`,o_(()=>{l.value=a.value!==y;const _=e.type||"default",w=e.sortable===""?!0:e.sortable,E=Jr(e.showOverflowTooltip)?y.props.showOverflowTooltip:e.showOverflowTooltip,S={...Mje[_],id:s.value,type:_,property:e.prop||e.property,align:g,headerAlign:u,showOverflowTooltip:E,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:w,index:e.index,rawColumnKey:r.vnode.key};let k=h(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);k=Fqe(S,k),k=Vqe(p,d,f)(k),n.value=k,i(),o()}),gt(()=>{var _;const w=c.value,E=l.value?w.vnode.el.children:(_=w.refs.hiddenColumns)==null?void 0:_.children,S=()=>v(E||[],r.vnode.el);n.value.getColumnIndex=S,S()>-1&&a.value.store.commit("insertColumn",n.value,l.value?w.columnConfig.value:null,m)}),vr(()=>{a.value.store.commit("removeColumn",n.value,l.value?y.columnConfig.value:null,m)}),r.columnId=s.value,r.columnConfig=n},render(){var e,t,r;try{const n=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),a=[];if(Array.isArray(n))for(const o of n)((r=o.type)==null?void 0:r.name)==="ElTableColumn"||o.shapeFlag&2?a.push(o):o.type===je&&Array.isArray(o.children)&&o.children.forEach(s=>{(s==null?void 0:s.patchFlag)!==1024&&!ut(s==null?void 0:s.children)&&a.push(s)});return Qe("div",a)}catch{return Qe("div",[])}}});const zje=bt(Ije,{TableColumn:OV}),Vje=Mr(OV);var vg=(e=>(e.ASC="asc",e.DESC="desc",e))(vg||{}),gg=(e=>(e.CENTER="center",e.RIGHT="right",e))(gg||{}),NV=(e=>(e.LEFT="left",e.RIGHT="right",e))(NV||{});const X3={asc:"desc",desc:"asc"},mg=Symbol("placeholder"),Hje=(e,t,r)=>{var n;const a={flexGrow:0,flexShrink:0,...r?{}:{flexGrow:e.flexGrow||0,flexShrink:e.flexShrink||1}};r||(a.flexShrink=1);const i={...(n=e.style)!=null?n:{},...a,flexBasis:"auto",width:e.width};return t||(e.maxWidth&&(i.maxWidth=e.maxWidth),e.minWidth&&(i.minWidth=e.minWidth)),i};function Uje(e,t,r){const n=L(()=>b(t).filter(v=>!v.hidden)),a=L(()=>b(n).filter(v=>v.fixed==="left"||v.fixed===!0)),i=L(()=>b(n).filter(v=>v.fixed==="right")),o=L(()=>b(n).filter(v=>!v.fixed)),s=L(()=>{const v=[];return b(a).forEach(g=>{v.push({...g,placeholderSign:mg})}),b(o).forEach(g=>{v.push(g)}),b(i).forEach(g=>{v.push({...g,placeholderSign:mg})}),v}),l=L(()=>b(a).length||b(i).length),u=L(()=>b(t).reduce((g,m)=>(g[m.key]=Hje(m,b(r),e.fixed),g),{})),c=L(()=>b(n).reduce((v,g)=>v+g.width,0)),d=v=>b(t).find(g=>g.key===v),f=v=>b(u)[v],p=(v,g)=>{v.width=g};function h(v){var g;const{key:m}=v.currentTarget.dataset;if(!m)return;const{sortState:y,sortBy:_}=e;let w=vg.ASC;St(y)?w=X3[y[m]]:w=X3[_.order],(g=e.onColumnSort)==null||g.call(e,{column:d(m),key:m,order:w})}return{columns:t,columnsStyles:u,columnsTotalWidth:c,fixedColumnsOnLeft:a,fixedColumnsOnRight:i,hasFixedColumns:l,mainColumns:s,normalColumns:o,visibleColumns:n,getColumn:d,getColumnStyle:f,updateColumnWidth:p,onColumnSorted:h}}const Gje=(e,{mainTableRef:t,leftTableRef:r,rightTableRef:n,onMaybeEndReached:a})=>{const i=U({scrollLeft:0,scrollTop:0});function o(p){var h,v,g;const{scrollTop:m}=p;(h=t.value)==null||h.scrollTo(p),(v=r.value)==null||v.scrollToTop(m),(g=n.value)==null||g.scrollToTop(m)}function s(p){i.value=p,o(p)}function l(p){i.value.scrollTop=p,o(b(i))}function u(p){var h,v;i.value.scrollLeft=p,(v=(h=t.value)==null?void 0:h.scrollTo)==null||v.call(h,b(i))}function c(p){var h;s(p),(h=e.onScroll)==null||h.call(e,p)}function d({scrollTop:p}){const{scrollTop:h}=b(i);p!==h&&l(p)}function f(p,h="auto"){var v;(v=t.value)==null||v.scrollToRow(p,h)}return Te(()=>b(i).scrollTop,(p,h)=>{p>h&&a()}),{scrollPos:i,scrollTo:s,scrollToLeft:u,scrollToTop:l,scrollToRow:f,onScroll:c,onVerticalScroll:d}},Wje=(e,{mainTableRef:t,leftTableRef:r,rightTableRef:n})=>{const a=mt(),{emit:i}=a,o=or(!1),s=or(null),l=U(e.defaultExpandedRowKeys||[]),u=U(-1),c=or(null),d=U({}),f=U({}),p=or({}),h=or({}),v=or({}),g=L(()=>at(e.estimatedRowHeight));function m(T){var x;(x=e.onRowsRendered)==null||x.call(e,T),T.rowCacheEnd>b(u)&&(u.value=T.rowCacheEnd)}function y({hovered:T,rowKey:x}){s.value=T?x:null}function _({expanded:T,rowData:x,rowIndex:A,rowKey:k}){var R,M;const O=[...b(l)],z=O.indexOf(k);T?z===-1&&O.push(k):z>-1&&O.splice(z,1),l.value=O,i("update:expandedRowKeys",O),(R=e.onRowExpand)==null||R.call(e,{expanded:T,rowData:x,rowIndex:A,rowKey:k}),(M=e.onExpandedRowsChange)==null||M.call(e,O)}const w=ua(()=>{var T,x,A,k;o.value=!0,d.value={...b(d),...b(f)},E(b(c),!1),f.value={},c.value=null,(T=t.value)==null||T.forceUpdate(),(x=r.value)==null||x.forceUpdate(),(A=n.value)==null||A.forceUpdate(),(k=a.proxy)==null||k.$forceUpdate(),o.value=!1},0);function E(T,x=!1){b(g)&&[t,r,n].forEach(A=>{const k=b(A);k&&k.resetAfterRowIndex(T,x)})}function S(T,x,A){const k=b(c);(k===null||k>A)&&(c.value=A),f.value[T]=x}function C({rowKey:T,height:x,rowIndex:A},k){k?k===NV.RIGHT?v.value[T]=x:p.value[T]=x:h.value[T]=x;const R=Math.max(...[p,v,h].map(M=>M.value[T]||0));b(d)[T]!==R&&(S(T,R,A),w())}return{hoveringRowKey:s,expandedRowKeys:l,lastRenderedRowIndex:u,isDynamic:g,isResetting:o,rowHeights:d,resetAfterIndex:E,onRowExpanded:_,onRowHovered:y,onRowsRendered:m,onRowHeightChange:C}},Kje=(e,{expandedRowKeys:t,lastRenderedRowIndex:r,resetAfterIndex:n})=>{const a=U({}),i=L(()=>{const s={},{data:l,rowKey:u}=e,c=b(t);if(!c||!c.length)return l;const d=[],f=new Set;c.forEach(h=>f.add(h));let p=l.slice();for(p.forEach(h=>s[h[u]]=0);p.length>0;){const h=p.shift();d.push(h),f.has(h[u])&&Array.isArray(h.children)&&h.children.length>0&&(p=[...h.children,...p],h.children.forEach(v=>s[v[u]]=s[h[u]]+1))}return a.value=s,d}),o=L(()=>{const{data:s,expandColumnKey:l}=e;return l?b(i):s});return Te(o,(s,l)=>{s!==l&&(r.value=-1,n(0,!0))}),{data:o,depthMap:a}},Yje=(e,t)=>e+t,Vy=e=>He(e)?e.reduce(Yje,0):e,cd=(e,t,r={})=>it(e)?e(t):e??r,Il=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=Nr(e[t])}),e),PV=e=>Sr(e)?t=>Qe(e,t):e,qje=(e,{columnsTotalWidth:t,data:r,fixedColumnsOnLeft:n,fixedColumnsOnRight:a})=>{const i=L(()=>{const{fixed:_,width:w,vScrollbarSize:E}=e,S=w-E;return _?Math.max(Math.round(b(t)),S):S}),o=L(()=>b(i)+(e.fixed?e.vScrollbarSize:0)),s=L(()=>{const{height:_=0,maxHeight:w=0,footerHeight:E,hScrollbarSize:S}=e;if(w>0){const C=b(h),T=b(l),A=b(p)+C+T+S;return Math.min(A,w-E)}return _-E}),l=L(()=>{const{rowHeight:_,estimatedRowHeight:w}=e,E=b(r);return at(w)?E.length*w:E.length*_}),u=L(()=>{const{maxHeight:_}=e,w=b(s);if(at(_)&&_>0)return w;const E=b(l)+b(p)+b(h);return Math.min(w,E)}),c=_=>_.width,d=L(()=>Vy(b(n).map(c))),f=L(()=>Vy(b(a).map(c))),p=L(()=>Vy(e.headerHeight)),h=L(()=>{var _;return(((_=e.fixedData)==null?void 0:_.length)||0)*e.rowHeight}),v=L(()=>b(s)-b(p)-b(h)),g=L(()=>{const{style:_={},height:w,width:E}=e;return Il({..._,height:w,width:E})}),m=L(()=>Il({height:e.footerHeight})),y=L(()=>({top:Nr(b(p)),bottom:Nr(e.footerHeight),width:Nr(e.width)}));return{bodyWidth:i,fixedTableHeight:u,mainTableHeight:s,leftTableWidth:d,rightTableWidth:f,headerWidth:o,rowsHeight:l,windowHeight:v,footerHeight:m,emptyStyle:y,rootStyle:g,headerHeight:p}},jje=e=>{const t=U(),r=U(0),n=U(0);let a;return gt(()=>{a=Yn(t,([i])=>{const{width:o,height:s}=i.contentRect,{paddingLeft:l,paddingRight:u,paddingTop:c,paddingBottom:d}=getComputedStyle(i.target),f=Number.parseInt(l)||0,p=Number.parseInt(u)||0,h=Number.parseInt(c)||0,v=Number.parseInt(d)||0;r.value=o-f-p,n.value=s-h-v}).stop}),vr(()=>{a==null||a()}),Te([r,n],([i,o])=>{var s;(s=e.onResize)==null||s.call(e,{width:i,height:o})}),{sizer:t,width:r,height:n}};function Xje(e){const t=U(),r=U(),n=U(),{columns:a,columnsStyles:i,columnsTotalWidth:o,fixedColumnsOnLeft:s,fixedColumnsOnRight:l,hasFixedColumns:u,mainColumns:c,onColumnSorted:d}=Uje(e,xr(e,"columns"),xr(e,"fixed")),{scrollTo:f,scrollToLeft:p,scrollToTop:h,scrollToRow:v,onScroll:g,onVerticalScroll:m,scrollPos:y}=Gje(e,{mainTableRef:t,leftTableRef:r,rightTableRef:n,onMaybeEndReached:W}),{expandedRowKeys:_,hoveringRowKey:w,lastRenderedRowIndex:E,isDynamic:S,isResetting:C,rowHeights:T,resetAfterIndex:x,onRowExpanded:A,onRowHeightChange:k,onRowHovered:R,onRowsRendered:M}=Wje(e,{mainTableRef:t,leftTableRef:r,rightTableRef:n}),{data:O,depthMap:z}=Kje(e,{expandedRowKeys:_,lastRenderedRowIndex:E,resetAfterIndex:x}),{bodyWidth:B,fixedTableHeight:P,mainTableHeight:F,leftTableWidth:D,rightTableWidth:H,headerWidth:K,rowsHeight:Y,windowHeight:X,footerHeight:J,emptyStyle:fe,rootStyle:se,headerHeight:q}=qje(e,{columnsTotalWidth:o,data:O,fixedColumnsOnLeft:s,fixedColumnsOnRight:l}),j=or(!1),ae=U(),ne=L(()=>{const Z=b(O).length===0;return He(e.fixedData)?e.fixedData.length===0&&Z:Z});function le(Z){const{estimatedRowHeight:ie,rowHeight:me,rowKey:be}=e;return ie?b(T)[b(O)[Z][be]]||ie:me}function W(){const{onEndReached:Z}=e;if(!Z)return;const{scrollTop:ie}=b(y),me=b(Y),be=b(X),ge=me-(ie+be)+e.hScrollbarSize;b(E)>=0&&me===ie+b(F)-b(q)&&Z(ge)}return Te(()=>e.expandedRowKeys,Z=>_.value=Z,{deep:!0}),{columns:a,containerRef:ae,mainTableRef:t,leftTableRef:r,rightTableRef:n,isDynamic:S,isResetting:C,isScrolling:j,hoveringRowKey:w,hasFixedColumns:u,columnsStyles:i,columnsTotalWidth:o,data:O,expandedRowKeys:_,depthMap:z,fixedColumnsOnLeft:s,fixedColumnsOnRight:l,mainColumns:c,bodyWidth:B,emptyStyle:fe,rootStyle:se,headerWidth:K,footerHeight:J,mainTableHeight:F,fixedTableHeight:P,leftTableWidth:D,rightTableWidth:H,showEmpty:ne,getRowHeight:le,onColumnSorted:d,onRowHovered:R,onRowExpanded:A,onRowsRendered:M,onRowHeightChange:k,scrollTo:f,scrollToLeft:p,scrollToTop:h,scrollToRow:v,onScroll:g,onVerticalScroll:m}}const JT=Symbol("tableV2"),$V=String,_m={type:ce(Array),required:!0},ex={type:ce(Array)},BV={...ex,required:!0},Zje=String,QR={type:ce(Array),default:()=>Er([])},hc={type:Number,required:!0},FV={type:ce([String,Number,Symbol]),default:"id"},JR={type:ce(Object)},Tc=Le({class:String,columns:_m,columnsStyles:{type:ce(Object),required:!0},depth:Number,expandColumnKey:Zje,estimatedRowHeight:{...Vc.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:ce(Function)},onRowHover:{type:ce(Function)},onRowHeightChange:{type:ce(Function)},rowData:{type:ce(Object),required:!0},rowEventHandlers:{type:ce(Object)},rowIndex:{type:Number,required:!0},rowKey:FV,style:{type:ce(Object)}}),tw={type:Number,required:!0},tx=Le({class:String,columns:_m,fixedHeaderData:{type:ce(Array)},headerData:{type:ce(Array),required:!0},headerHeight:{type:ce([Number,Array]),default:50},rowWidth:tw,rowHeight:{type:Number,default:50},height:tw,width:tw}),Hy=Le({columns:_m,data:BV,fixedData:ex,estimatedRowHeight:Tc.estimatedRowHeight,width:hc,height:hc,headerWidth:hc,headerHeight:tx.headerHeight,bodyWidth:hc,rowHeight:hc,cache:lV.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:Vc.scrollbarAlwaysOn,scrollbarStartGap:Vc.scrollbarStartGap,scrollbarEndGap:Vc.scrollbarEndGap,class:$V,style:JR,containerStyle:JR,getRowHeight:{type:ce(Function),required:!0},rowKey:Tc.rowKey,onRowsRendered:{type:ce(Function)},onScroll:{type:ce(Function)}}),Qje=Le({cache:Hy.cache,estimatedRowHeight:Tc.estimatedRowHeight,rowKey:FV,headerClass:{type:ce([String,Function])},headerProps:{type:ce([Object,Function])},headerCellProps:{type:ce([Object,Function])},headerHeight:tx.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:ce([String,Function])},rowProps:{type:ce([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:ce([Object,Function])},columns:_m,data:BV,dataGetter:{type:ce(Function)},fixedData:ex,expandColumnKey:Tc.expandColumnKey,expandedRowKeys:QR,defaultExpandedRowKeys:QR,class:$V,fixed:Boolean,style:{type:ce(Object)},width:hc,height:hc,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:Vc.hScrollbarSize,vScrollbarSize:Vc.vScrollbarSize,scrollbarAlwaysOn:dV.alwaysOn,sortBy:{type:ce(Object),default:()=>({})},sortState:{type:ce(Object),default:void 0},onColumnSort:{type:ce(Function)},onExpandedRowsChange:{type:ce(Function)},onEndReached:{type:ce(Function)},onRowExpand:Tc.onRowExpand,onScroll:Hy.onScroll,onRowsRendered:Hy.onRowsRendered,rowEventHandlers:Tc.rowEventHandlers}),rx=(e,{slots:t})=>{var r;const{cellData:n,style:a}=e,i=((r=n==null?void 0:n.toString)==null?void 0:r.call(n))||"";return Q("div",{class:e.class,title:i,style:a},[t.default?t.default(e):i])};rx.displayName="ElTableV2Cell";rx.inheritAttrs=!1;const nx=(e,{slots:t})=>{var r,n;return t.default?t.default(e):Q("div",{class:e.class,title:(r=e.column)==null?void 0:r.title},[(n=e.column)==null?void 0:n.title])};nx.displayName="ElTableV2HeaderCell";nx.inheritAttrs=!1;const Jje=Le({class:String,columns:_m,columnsStyles:{type:ce(Object),required:!0},headerIndex:Number,style:{type:ce(Object)}}),eXe=te({name:"ElTableV2HeaderRow",props:Jje,setup(e,{slots:t}){return()=>{const{columns:r,columnsStyles:n,headerIndex:a,style:i}=e;let o=r.map((s,l)=>t.cell({columns:r,column:s,columnIndex:l,headerIndex:a,style:n[s.key]}));return t.header&&(o=t.header({cells:o.map(s=>He(s)&&s.length===1?s[0]:s),columns:r,headerIndex:a})),Q("div",{class:e.class,style:i,role:"row"},[o])}}}),tXe="ElTableV2Header",rXe=te({name:tXe,props:tx,setup(e,{slots:t,expose:r}){const n=ke("table-v2"),a=U(),i=L(()=>Il({width:e.width,height:e.height})),o=L(()=>Il({width:e.rowWidth,height:e.height})),s=L(()=>od(b(e.headerHeight))),l=d=>{const f=b(a);Ye(()=>{f!=null&&f.scroll&&f.scroll({left:d})})},u=()=>{const d=n.e("fixed-header-row"),{columns:f,fixedHeaderData:p,rowHeight:h}=e;return p==null?void 0:p.map((v,g)=>{var m;const y=Il({height:h,width:"100%"});return(m=t.fixed)==null?void 0:m.call(t,{class:d,columns:f,rowData:v,rowIndex:-(g+1),style:y})})},c=()=>{const d=n.e("dynamic-header-row"),{columns:f}=e;return b(s).map((p,h)=>{var v;const g=Il({width:"100%",height:p});return(v=t.dynamic)==null?void 0:v.call(t,{class:d,columns:f,headerIndex:h,style:g})})};return r({scrollToLeft:l}),()=>{if(!(e.height<=0))return Q("div",{ref:a,class:e.class,style:b(i),role:"rowgroup"},[Q("div",{style:b(o),class:n.e("header")},[c(),u()])])}}}),nXe=e=>{const{isScrolling:t}=Ue(JT),r=U(!1),n=U(),a=L(()=>at(e.estimatedRowHeight)&&e.rowIndex>=0),i=(l=!1)=>{const u=b(n);if(!u)return;const{columns:c,onRowHeightChange:d,rowKey:f,rowIndex:p,style:h}=e,{height:v}=u.getBoundingClientRect();r.value=!0,Ye(()=>{if(l||v!==Number.parseInt(h.height)){const g=c[0],m=(g==null?void 0:g.placeholderSign)===mg;d==null||d({rowKey:f,height:v,rowIndex:p},g&&!m&&g.fixed)}})},o=L(()=>{const{rowData:l,rowIndex:u,rowKey:c,onRowHover:d}=e,f=e.rowEventHandlers||{},p={};return Object.entries(f).forEach(([h,v])=>{it(v)&&(p[h]=g=>{v({event:g,rowData:l,rowIndex:u,rowKey:c})})}),d&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:h,hovered:v})=>{const g=p[h];p[h]=m=>{d({event:m,hovered:v,rowData:l,rowIndex:u,rowKey:c}),g==null||g(m)}}),p}),s=l=>{const{onRowExpand:u,rowData:c,rowIndex:d,rowKey:f}=e;u==null||u({expanded:l,rowData:c,rowIndex:d,rowKey:f})};return gt(()=>{b(a)&&i(!0)}),{isScrolling:t,measurable:a,measured:r,rowRef:n,eventHandlers:o,onExpand:s}},aXe="ElTableV2TableRow",iXe=te({name:aXe,props:Tc,setup(e,{expose:t,slots:r,attrs:n}){const{eventHandlers:a,isScrolling:i,measurable:o,measured:s,rowRef:l,onExpand:u}=nXe(e);return t({onExpand:u}),()=>{const{columns:c,columnsStyles:d,expandColumnKey:f,depth:p,rowData:h,rowIndex:v,style:g}=e;let m=c.map((y,_)=>{const w=He(h.children)&&h.children.length>0&&y.key===f;return r.cell({column:y,columns:c,columnIndex:_,depth:p,style:d[y.key],rowData:h,rowIndex:v,isScrolling:b(i),expandIconProps:w?{rowData:h,rowIndex:v,onExpand:u}:void 0})});if(r.row&&(m=r.row({cells:m.map(y=>He(y)&&y.length===1?y[0]:y),style:g,columns:c,depth:p,rowData:h,rowIndex:v,isScrolling:b(i)})),b(o)){const{height:y,..._}=g||{},w=b(s);return Q("div",Tt({ref:l,class:e.class,style:w?g:_,role:"row"},n,b(a)),[m])}return Q("div",Tt(n,{ref:l,class:e.class,style:g,role:"row"},b(a)),[m])}}}),oXe=e=>{const{sortOrder:t}=e;return Q(Ke,{size:14,class:e.class},{default:()=>[t===vg.ASC?Q(h7,null,null):Q(p7,null,null)]})},sXe=e=>{const{expanded:t,expandable:r,onExpand:n,style:a,size:i}=e,o={onClick:r?()=>n(!t):void 0,class:e.class};return Q(Ke,Tt(o,{size:i,style:a}),{default:()=>[Q(Gn,null,null)]})},lXe="ElTableV2Grid",uXe=e=>{const t=U(),r=U(),n=L(()=>{const{data:v,rowHeight:g,estimatedRowHeight:m}=e;if(!m)return v.length*g}),a=L(()=>{const{fixedData:v,rowHeight:g}=e;return((v==null?void 0:v.length)||0)*g}),i=L(()=>Vy(e.headerHeight)),o=L(()=>{const{height:v}=e;return Math.max(0,v-b(i)-b(a))}),s=L(()=>b(i)+b(a)>0),l=({data:v,rowIndex:g})=>v[g][e.rowKey];function u({rowCacheStart:v,rowCacheEnd:g,rowVisibleStart:m,rowVisibleEnd:y}){var _;(_=e.onRowsRendered)==null||_.call(e,{rowCacheStart:v,rowCacheEnd:g,rowVisibleStart:m,rowVisibleEnd:y})}function c(v,g){var m;(m=r.value)==null||m.resetAfterRowIndex(v,g)}function d(v,g){const m=b(t),y=b(r);!m||!y||(St(v)?(m.scrollToLeft(v.scrollLeft),y.scrollTo(v)):(m.scrollToLeft(v),y.scrollTo({scrollLeft:v,scrollTop:g})))}function f(v){var g;(g=b(r))==null||g.scrollTo({scrollTop:v})}function p(v,g){var m;(m=b(r))==null||m.scrollToItem(v,1,g)}function h(){var v,g;(v=b(r))==null||v.$forceUpdate(),(g=b(t))==null||g.$forceUpdate()}return{bodyRef:r,forceUpdate:h,fixedRowHeight:a,gridHeight:o,hasHeader:s,headerHeight:i,headerRef:t,totalHeight:n,itemKey:l,onItemRendered:u,resetAfterRowIndex:c,scrollTo:d,scrollToTop:f,scrollToRow:p}},ax=te({name:lXe,props:Hy,setup(e,{slots:t,expose:r}){const{ns:n}=Ue(JT),{bodyRef:a,fixedRowHeight:i,gridHeight:o,hasHeader:s,headerRef:l,headerHeight:u,totalHeight:c,forceUpdate:d,itemKey:f,onItemRendered:p,resetAfterRowIndex:h,scrollTo:v,scrollToTop:g,scrollToRow:m}=uXe(e);r({forceUpdate:d,totalHeight:c,scrollTo:v,scrollToTop:g,scrollToRow:m,resetAfterRowIndex:h});const y=()=>e.bodyWidth;return()=>{const{cache:_,columns:w,data:E,fixedData:S,useIsScrolling:C,scrollbarAlwaysOn:T,scrollbarEndGap:x,scrollbarStartGap:A,style:k,rowHeight:R,bodyWidth:M,estimatedRowHeight:O,headerWidth:z,height:B,width:P,getRowHeight:F,onScroll:D}=e,H=at(O),K=H?FKe:NKe,Y=b(u);return Q("div",{role:"table",class:[n.e("table"),e.class],style:k},[Q(K,{ref:a,data:E,useIsScrolling:C,itemKey:f,columnCache:0,columnWidth:H?y:M,totalColumn:1,totalRow:E.length,rowCache:_,rowHeight:H?F:R,width:P,height:b(o),class:n.e("body"),role:"rowgroup",scrollbarStartGap:A,scrollbarEndGap:x,scrollbarAlwaysOn:T,onScroll:D,onItemRendered:p,perfMode:!1},{default:X=>{var J;const fe=E[X.rowIndex];return(J=t.row)==null?void 0:J.call(t,{...X,columns:w,rowData:fe})}}),b(s)&&Q(rXe,{ref:l,class:n.e("header-wrapper"),columns:w,headerData:E,headerHeight:e.headerHeight,fixedHeaderData:S,rowWidth:z,rowHeight:R,width:P,height:Math.min(Y+b(i),B)},{dynamic:t.header,fixed:t.row})])}}});function cXe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Sr(e)}const dXe=(e,{slots:t})=>{const{mainTableRef:r,...n}=e;return Q(ax,Tt({ref:r},n),cXe(t)?t:{default:()=>[t]})};function fXe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Sr(e)}const pXe=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:r,...n}=e;return Q(ax,Tt({ref:r},n),fXe(t)?t:{default:()=>[t]})};function hXe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Sr(e)}const vXe=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:r,...n}=e;return Q(ax,Tt({ref:r},n),hXe(t)?t:{default:()=>[t]})};function gXe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Sr(e)}const mXe=(e,{slots:t})=>{const{columns:r,columnsStyles:n,depthMap:a,expandColumnKey:i,expandedRowKeys:o,estimatedRowHeight:s,hasFixedColumns:l,hoveringRowKey:u,rowData:c,rowIndex:d,style:f,isScrolling:p,rowProps:h,rowClass:v,rowKey:g,rowEventHandlers:m,ns:y,onRowHovered:_,onRowExpanded:w}=e,E=cd(v,{columns:r,rowData:c,rowIndex:d},""),S=cd(h,{columns:r,rowData:c,rowIndex:d}),C=c[g],T=a[C]||0,x=!!i,A=d<0,k=[y.e("row"),E,{[y.e(`row-depth-${T}`)]:x&&d>=0,[y.is("expanded")]:x&&o.includes(C),[y.is("hovered")]:!p&&C===u,[y.is("fixed")]:!T&&A,[y.is("customized")]:!!t.row}],R=l?_:void 0,M={...S,columns:r,columnsStyles:n,class:k,depth:T,expandColumnKey:i,estimatedRowHeight:A?void 0:s,isScrolling:p,rowIndex:d,rowData:c,rowKey:C,rowEventHandlers:m,style:f};return Q(iXe,Tt(M,{onRowHover:R,onRowExpand:w}),gXe(t)?t:{default:()=>[t]})},Z3=({columns:e,column:t,columnIndex:r,depth:n,expandIconProps:a,isScrolling:i,rowData:o,rowIndex:s,style:l,expandedRowKeys:u,ns:c,cellProps:d,expandColumnKey:f,indentSize:p,iconSize:h,rowKey:v},{slots:g})=>{const m=Il(l);if(t.placeholderSign===mg)return Q("div",{class:c.em("row-cell","placeholder"),style:m},null);const{cellRenderer:y,dataKey:_,dataGetter:w}=t,S=PV(y)||g.default||(B=>Q(rx,B,null)),C=it(w)?w({columns:e,column:t,columnIndex:r,rowData:o,rowIndex:s}):Or(o,_??""),T=cd(d,{cellData:C,columns:e,column:t,columnIndex:r,rowIndex:s,rowData:o}),x={class:c.e("cell-text"),columns:e,column:t,columnIndex:r,cellData:C,isScrolling:i,rowData:o,rowIndex:s},A=S(x),k=[c.e("row-cell"),t.class,t.align===gg.CENTER&&c.is("align-center"),t.align===gg.RIGHT&&c.is("align-right")],R=s>=0&&f&&t.key===f,M=s>=0&&u.includes(o[v]);let O;const z=`margin-inline-start: ${n*p}px;`;return R&&(St(a)?O=Q(sXe,Tt(a,{class:[c.e("expand-icon"),c.is("expanded",M)],size:h,expanded:M,style:z,expandable:!0}),null):O=Q("div",{style:[z,`width: ${h}px; height: ${h}px;`].join(" ")},null)),Q("div",Tt({class:k,style:m},T,{role:"cell"}),[O,A])};Z3.inheritAttrs=!1;function yXe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Sr(e)}const _Xe=({columns:e,columnsStyles:t,headerIndex:r,style:n,headerClass:a,headerProps:i,ns:o},{slots:s})=>{const l={columns:e,headerIndex:r},u=[o.e("header-row"),cd(a,l,""),{[o.is("customized")]:!!s.header}],c={...cd(i,l),columnsStyles:t,class:u,columns:e,headerIndex:r,style:n};return Q(eXe,c,yXe(s)?s:{default:()=>[s]})},eM=(e,{slots:t})=>{const{column:r,ns:n,style:a,onColumnSorted:i}=e,o=Il(a);if(r.placeholderSign===mg)return Q("div",{class:n.em("header-row-cell","placeholder"),style:o},null);const{headerCellRenderer:s,headerClass:l,sortable:u}=r,c={...e,class:n.e("header-cell-text")},f=(PV(s)||t.default||(w=>Q(nx,w,null)))(c),{sortBy:p,sortState:h,headerCellProps:v}=e;let g,m;if(h){const w=h[r.key];g=!!X3[w],m=g?w:vg.ASC}else g=r.key===p.key,m=g?p.order:vg.ASC;const y=[n.e("header-cell"),cd(l,e,""),r.align===gg.CENTER&&n.is("align-center"),r.align===gg.RIGHT&&n.is("align-right"),u&&n.is("sortable")],_={...cd(v,e),onClick:r.sortable?i:void 0,class:y,style:o,"data-key":r.key};return Q("div",Tt(_,{role:"columnheader"}),[f,u&&Q(oXe,{class:[n.e("sort-icon"),g&&n.is("sorting")],sortOrder:m},null)])},zV=(e,{slots:t})=>{var r;return Q("div",{class:e.class,style:e.style},[(r=t.default)==null?void 0:r.call(t)])};zV.displayName="ElTableV2Footer";const VV=(e,{slots:t})=>Q("div",{class:e.class,style:e.style},[t.default?t.default():Q(Yz,null,null)]);VV.displayName="ElTableV2Empty";const HV=(e,{slots:t})=>{var r;return Q("div",{class:e.class,style:e.style},[(r=t.default)==null?void 0:r.call(t)])};HV.displayName="ElTableV2Overlay";function uh(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Sr(e)}const bXe="ElTableV2",wXe=te({name:bXe,props:Qje,setup(e,{slots:t,expose:r}){const n=ke("table-v2"),{columnsStyles:a,fixedColumnsOnLeft:i,fixedColumnsOnRight:o,mainColumns:s,mainTableHeight:l,fixedTableHeight:u,leftTableWidth:c,rightTableWidth:d,data:f,depthMap:p,expandedRowKeys:h,hasFixedColumns:v,hoveringRowKey:g,mainTableRef:m,leftTableRef:y,rightTableRef:_,isDynamic:w,isResetting:E,isScrolling:S,bodyWidth:C,emptyStyle:T,rootStyle:x,headerWidth:A,footerHeight:k,showEmpty:R,scrollTo:M,scrollToLeft:O,scrollToTop:z,scrollToRow:B,getRowHeight:P,onColumnSorted:F,onRowHeightChange:D,onRowHovered:H,onRowExpanded:K,onRowsRendered:Y,onScroll:X,onVerticalScroll:J}=Xje(e);return r({scrollTo:M,scrollToLeft:O,scrollToTop:z,scrollToRow:B}),It(JT,{ns:n,isResetting:E,hoveringRowKey:g,isScrolling:S}),()=>{const{cache:fe,cellProps:se,estimatedRowHeight:q,expandColumnKey:j,fixedData:ae,headerHeight:ne,headerClass:le,headerProps:W,headerCellProps:Z,sortBy:ie,sortState:me,rowHeight:be,rowClass:ge,rowEventHandlers:Re,rowKey:Ce,rowProps:Ee,scrollbarAlwaysOn:xe,indentSize:$e,iconSize:Fe,useIsScrolling:Ge,vScrollbarSize:Ie,width:We}=e,ot=b(f),dt={cache:fe,class:n.e("main"),columns:b(s),data:ot,fixedData:ae,estimatedRowHeight:q,bodyWidth:b(C)+Ie,headerHeight:ne,headerWidth:b(A),height:b(l),mainTableRef:m,rowKey:Ce,rowHeight:be,scrollbarAlwaysOn:xe,scrollbarStartGap:2,scrollbarEndGap:Ie,useIsScrolling:Ge,width:We,getRowHeight:P,onRowsRendered:Y,onScroll:X},At=b(c),Je=b(u),_e={cache:fe,class:n.e("left"),columns:b(i),data:ot,estimatedRowHeight:q,leftTableRef:y,rowHeight:be,bodyWidth:At,headerWidth:At,headerHeight:ne,height:Je,rowKey:Ce,scrollbarAlwaysOn:xe,scrollbarStartGap:2,scrollbarEndGap:Ie,useIsScrolling:Ge,width:At,getRowHeight:P,onScroll:J},de=b(d)+Ie,Ae={cache:fe,class:n.e("right"),columns:b(o),data:ot,estimatedRowHeight:q,rightTableRef:_,rowHeight:be,bodyWidth:de,headerWidth:de,headerHeight:ne,height:Je,rowKey:Ce,scrollbarAlwaysOn:xe,scrollbarStartGap:2,scrollbarEndGap:Ie,width:de,style:`--${b(n.namespace)}-table-scrollbar-size: ${Ie}px`,useIsScrolling:Ge,getRowHeight:P,onScroll:J},ee=b(a),ze={ns:n,depthMap:b(p),columnsStyles:ee,expandColumnKey:j,expandedRowKeys:b(h),estimatedRowHeight:q,hasFixedColumns:b(v),hoveringRowKey:b(g),rowProps:Ee,rowClass:ge,rowKey:Ce,rowEventHandlers:Re,onRowHovered:H,onRowExpanded:K,onRowHeightChange:D},st={cellProps:se,expandColumnKey:j,indentSize:$e,iconSize:Fe,rowKey:Ce,expandedRowKeys:b(h),ns:n},Mt={ns:n,headerClass:le,headerProps:W,columnsStyles:ee},Ur={ns:n,sortBy:ie,sortState:me,headerCellProps:Z,onColumnSorted:F},jr={row:we=>Q(mXe,Tt(we,ze),{row:t.row,cell:Be=>{let ve;return t.cell?Q(Z3,Tt(Be,st,{style:ee[Be.column.key]}),uh(ve=t.cell(Be))?ve:{default:()=>[ve]}):Q(Z3,Tt(Be,st,{style:ee[Be.column.key]}),null)}}),header:we=>Q(_Xe,Tt(we,Mt),{header:t.header,cell:Be=>{let ve;return t["header-cell"]?Q(eM,Tt(Be,Ur,{style:ee[Be.column.key]}),uh(ve=t["header-cell"](Be))?ve:{default:()=>[ve]}):Q(eM,Tt(Be,Ur,{style:ee[Be.column.key]}),null)}})},zi=[e.class,n.b(),n.e("root"),{[n.is("dynamic")]:b(w)}],Tn={class:n.e("footer"),style:b(k)};return Q("div",{class:zi,style:b(x)},[Q(dXe,dt,uh(jr)?jr:{default:()=>[jr]}),Q(pXe,_e,uh(jr)?jr:{default:()=>[jr]}),Q(vXe,Ae,uh(jr)?jr:{default:()=>[jr]}),t.footer&&Q(zV,Tn,{default:t.footer}),b(R)&&Q(VV,{class:n.e("empty"),style:b(T)},{default:t.empty}),t.overlay&&Q(HV,{class:n.e("overlay")},{default:t.overlay})])}}}),SXe=Le({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:ce(Function)}}),EXe=te({name:"ElAutoResizer",props:SXe,setup(e,{slots:t}){const r=ke("auto-resizer"),{height:n,width:a,sizer:i}=jje(e),o={width:"100%",height:"100%"};return()=>{var s;return Q("div",{ref:i,class:r.b(),style:o},[(s=t.default)==null?void 0:s.call(t,{height:n.value,width:a.value})])}}}),CXe=bt(wXe),TXe=bt(EXe),P_=Symbol("tabsRootContextKey"),xXe=Le({tabs:{type:ce(Array),default:()=>Er([])}}),UV="ElTabBar",AXe=te({name:UV}),kXe=te({...AXe,props:xXe,setup(e,{expose:t}){const r=e,n=mt(),a=Ue(P_);a||rn(UV,"<el-tabs><el-tab-bar /></el-tabs>");const i=ke("tabs"),o=U(),s=U(),l=()=>{let c=0,d=0;const f=["top","bottom"].includes(a.props.tabPosition)?"width":"height",p=f==="width"?"x":"y",h=p==="x"?"left":"top";return r.tabs.every(v=>{var g,m;const y=(m=(g=n.parent)==null?void 0:g.refs)==null?void 0:m[`tab-${v.uid}`];if(!y)return!1;if(!v.active)return!0;c=y[`offset${Io(h)}`],d=y[`client${Io(f)}`];const _=window.getComputedStyle(y);return f==="width"&&(r.tabs.length>1&&(d-=Number.parseFloat(_.paddingLeft)+Number.parseFloat(_.paddingRight)),c+=Number.parseFloat(_.paddingLeft)),!1}),{[f]:`${d}px`,transform:`translate${Io(p)}(${c}px)`}},u=()=>s.value=l();return Te(()=>r.tabs,async()=>{await Ye(),u()},{immediate:!0}),Yn(o,()=>u()),t({ref:o,update:u}),(c,d)=>(I(),$("div",{ref_key:"barRef",ref:o,class:V([b(i).e("active-bar"),b(i).is(b(a).props.tabPosition)]),style:qe(s.value)},null,6))}});var IXe=De(kXe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue"]]);const RXe=Le({panes:{type:ce(Array),default:()=>Er([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),MXe={tabClick:(e,t,r)=>r instanceof Event,tabRemove:(e,t)=>t instanceof Event},tM="ElTabNav",LXe=te({name:tM,props:RXe,emits:MXe,setup(e,{expose:t,emit:r}){const n=mt(),a=Ue(P_);a||rn(tM,"<el-tabs><tab-nav /></el-tabs>");const i=ke("tabs"),o=TJ(),s=FJ(),l=U(),u=U(),c=U(),d=U(),f=U(!1),p=U(0),h=U(!1),v=U(!0),g=L(()=>["top","bottom"].includes(a.props.tabPosition)?"width":"height"),m=L(()=>({transform:`translate${g.value==="width"?"X":"Y"}(-${p.value}px)`})),y=()=>{if(!l.value)return;const x=l.value[`offset${Io(g.value)}`],A=p.value;if(!A)return;const k=A>x?A-x:0;p.value=k},_=()=>{if(!l.value||!u.value)return;const x=u.value[`offset${Io(g.value)}`],A=l.value[`offset${Io(g.value)}`],k=p.value;if(x-k<=A)return;const R=x-k>A*2?k+A:x-A;p.value=R},w=async()=>{const x=u.value;if(!f.value||!c.value||!l.value||!x)return;await Ye();const A=c.value.querySelector(".is-active");if(!A)return;const k=l.value,R=["top","bottom"].includes(a.props.tabPosition),M=A.getBoundingClientRect(),O=k.getBoundingClientRect(),z=R?x.offsetWidth-O.width:x.offsetHeight-O.height,B=p.value;let P=B;R?(M.left<O.left&&(P=B-(O.left-M.left)),M.right>O.right&&(P=B+M.right-O.right)):(M.top<O.top&&(P=B-(O.top-M.top)),M.bottom>O.bottom&&(P=B+(M.bottom-O.bottom))),P=Math.max(P,0),p.value=Math.min(P,z)},E=()=>{var x;if(!u.value||!l.value)return;e.stretch&&((x=d.value)==null||x.update());const A=u.value[`offset${Io(g.value)}`],k=l.value[`offset${Io(g.value)}`],R=p.value;k<A?(f.value=f.value||{},f.value.prev=R,f.value.next=R+k<A,A-R<k&&(p.value=A-k)):(f.value=!1,R>0&&(p.value=0))},S=x=>{const A=x.code,{up:k,down:R,left:M,right:O}=Xe;if(![k,R,M,O].includes(A))return;const z=Array.from(x.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),B=z.indexOf(x.target);let P;A===M||A===k?B===0?P=z.length-1:P=B-1:B<z.length-1?P=B+1:P=0,z[P].focus({preventScroll:!0}),z[P].click(),C()},C=()=>{v.value&&(h.value=!0)},T=()=>h.value=!1;return Te(o,x=>{x==="hidden"?v.value=!1:x==="visible"&&setTimeout(()=>v.value=!0,50)}),Te(s,x=>{x?setTimeout(()=>v.value=!0,50):v.value=!1}),Yn(c,E),gt(()=>setTimeout(()=>w(),0)),Ks(()=>E()),t({scrollToActiveTab:w,removeFocus:T}),Te(()=>e.panes,()=>n.update(),{flush:"post",deep:!0}),()=>{const x=f.value?[Q("span",{class:[i.e("nav-prev"),i.is("disabled",!f.value.prev)],onClick:y},[Q(Ke,null,{default:()=>[Q(Ds,null,null)]})]),Q("span",{class:[i.e("nav-next"),i.is("disabled",!f.value.next)],onClick:_},[Q(Ke,null,{default:()=>[Q(Gn,null,null)]})])]:null,A=e.panes.map((k,R)=>{var M,O,z,B;const P=k.uid,F=k.props.disabled,D=(O=(M=k.props.name)!=null?M:k.index)!=null?O:`${R}`,H=!F&&(k.isClosable||e.editable);k.index=`${R}`;const K=H?Q(Ke,{class:"is-icon-close",onClick:J=>r("tabRemove",k,J)},{default:()=>[Q(Ii,null,null)]}):null,Y=((B=(z=k.slots).label)==null?void 0:B.call(z))||k.props.label,X=!F&&k.active?0:-1;return Q("div",{ref:`tab-${P}`,class:[i.e("item"),i.is(a.props.tabPosition),i.is("active",k.active),i.is("disabled",F),i.is("closable",H),i.is("focus",h.value)],id:`tab-${D}`,key:`tab-${P}`,"aria-controls":`pane-${D}`,role:"tab","aria-selected":k.active,tabindex:X,onFocus:()=>C(),onBlur:()=>T(),onClick:J=>{T(),r("tabClick",k,D,J)},onKeydown:J=>{H&&(J.code===Xe.delete||J.code===Xe.backspace)&&r("tabRemove",k,J)}},[Y,K])});return Q("div",{ref:c,class:[i.e("nav-wrap"),i.is("scrollable",!!f.value),i.is(a.props.tabPosition)]},[x,Q("div",{class:i.e("nav-scroll"),ref:l},[Q("div",{class:[i.e("nav"),i.is(a.props.tabPosition),i.is("stretch",e.stretch&&["top","bottom"].includes(a.props.tabPosition))],ref:u,style:m.value,role:"tablist",onKeydown:S},[e.type?null:Q(IXe,{ref:d,tabs:[...e.panes]},null),A])])])}}}),DXe=Le({type:{type:String,values:["card","border-card",""],default:""},activeName:{type:[String,Number]},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:ce(Function),default:()=>!0},stretch:Boolean}),rw=e=>ut(e)||at(e),OXe={[Et]:e=>rw(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>rw(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>rw(e),tabAdd:()=>!0},NXe=te({name:"ElTabs",props:DXe,emits:OXe,setup(e,{emit:t,slots:r,expose:n}){var a,i;const o=ke("tabs"),{children:s,addChild:l,removeChild:u}=AT(mt(),"ElTabPane"),c=U(),d=U((i=(a=e.modelValue)!=null?a:e.activeName)!=null?i:"0"),f=async(g,m=!1)=>{var y,_,w;if(!(d.value===g||Jr(g)))try{await((y=e.beforeLeave)==null?void 0:y.call(e,g,d.value))!==!1&&(d.value=g,m&&(t(Et,g),t("tabChange",g)),(w=(_=c.value)==null?void 0:_.removeFocus)==null||w.call(_))}catch{}},p=(g,m,y)=>{g.props.disabled||(f(m,!0),t("tabClick",g,y))},h=(g,m)=>{g.props.disabled||Jr(g.props.name)||(m.stopPropagation(),t("edit",g.props.name,"remove"),t("tabRemove",g.props.name))},v=()=>{t("edit",void 0,"add"),t("tabAdd")};return Wo({from:'"activeName"',replacement:'"model-value" or "v-model"',scope:"ElTabs",version:"2.3.0",ref:"https://element-plus.org/en-US/component/tabs.html#attributes",type:"Attribute"},L(()=>!!e.activeName)),Te(()=>e.activeName,g=>f(g)),Te(()=>e.modelValue,g=>f(g)),Te(d,async()=>{var g;await Ye(),(g=c.value)==null||g.scrollToActiveTab()}),It(P_,{props:e,currentName:d,registerPane:l,unregisterPane:u}),n({currentName:d}),()=>{const g=r.addIcon,m=e.editable||e.addable?Q("span",{class:o.e("new-tab"),tabindex:"0",onClick:v,onKeydown:w=>{w.code===Xe.enter&&v()}},[g?Se(r,"addIcon"):Q(Ke,{class:o.is("icon-plus")},{default:()=>[Q(oT,null,null)]})]):null,y=Q("div",{class:[o.e("header"),o.is(e.tabPosition)]},[m,Q(LXe,{ref:c,currentName:d.value,editable:e.editable,type:e.type,panes:s.value,stretch:e.stretch,onTabClick:p,onTabRemove:h},null)]),_=Q("div",{class:o.e("content")},[Se(r,"default")]);return Q("div",{class:[o.b(),o.m(e.tabPosition),{[o.m("card")]:e.type==="card",[o.m("border-card")]:e.type==="border-card"}]},[...e.tabPosition!=="bottom"?[y,_]:[_,y]])}}}),PXe=Le({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),$Xe=["id","aria-hidden","aria-labelledby"],GV="ElTabPane",BXe=te({name:GV}),FXe=te({...BXe,props:PXe,setup(e){const t=e,r=mt(),n=Cn(),a=Ue(P_);a||rn(GV,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const i=ke("tab-pane"),o=U(),s=L(()=>t.closable||a.props.closable),l=Ok(()=>{var p;return a.currentName.value===((p=t.name)!=null?p:o.value)}),u=U(l.value),c=L(()=>{var p;return(p=t.name)!=null?p:o.value}),d=Ok(()=>!t.lazy||u.value||l.value);Te(l,p=>{p&&(u.value=!0)});const f=qt({uid:r.uid,slots:n,props:t,paneName:c,active:l,index:o,isClosable:s});return gt(()=>{a.registerPane(f)}),gu(()=>{a.unregisterPane(f.uid)}),(p,h)=>b(d)?ct((I(),$("div",{key:0,id:`pane-${b(c)}`,class:V(b(i).b()),role:"tabpanel","aria-hidden":!b(l),"aria-labelledby":`tab-${b(c)}`},[Se(p.$slots,"default")],10,$Xe)),[[Gt,b(l)]]):ue("v-if",!0)}});var WV=De(FXe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const zXe=bt(NXe,{TabPane:WV}),VXe=Mr(WV),HXe=Le({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:rs,default:""},truncated:{type:Boolean},lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),UXe=te({name:"ElText"}),GXe=te({...UXe,props:HXe,setup(e){const t=e,r=nn(),n=ke("text"),a=L(()=>[n.b(),n.m(t.type),n.m(r.value),n.is("truncated",t.truncated),n.is("line-clamp",!Jr(t.lineClamp))]);return(i,o)=>(I(),pe(xt(i.tag),{class:V(b(a)),style:qe({"-webkit-line-clamp":i.lineClamp})},{default:oe(()=>[Se(i.$slots,"default")]),_:3},8,["class","style"]))}});var WXe=De(GXe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/text/src/text.vue"]]);const KXe=bt(WXe),YXe=Le({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:String,default:"light"},clearable:{type:Boolean,default:!0},size:On,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,name:String,prefixIcon:{type:ce([String,Object]),default:()=>iT},clearIcon:{type:ce([String,Object]),default:()=>Xs}}),_s=e=>{const t=(e||"").split(":");if(t.length>=2){let r=Number.parseInt(t[0],10);const n=Number.parseInt(t[1],10),a=e.toUpperCase();return a.includes("AM")&&r===12?r=0:a.includes("PM")&&r!==12&&(r+=12),{hours:r,minutes:n}}return null},nw=(e,t)=>{const r=_s(e);if(!r)return-1;const n=_s(t);if(!n)return-1;const a=r.minutes+r.hours*60,i=n.minutes+n.hours*60;return a===i?0:a>i?1:-1},rM=e=>`${e}`.padStart(2,"0"),ff=e=>`${rM(e.hours)}:${rM(e.minutes)}`,qXe=(e,t)=>{const r=_s(e);if(!r)return"";const n=_s(t);if(!n)return"";const a={hours:r.hours,minutes:r.minutes};return a.minutes+=n.minutes,a.hours+=n.hours,a.hours+=Math.floor(a.minutes/60),a.minutes=a.minutes%60,ff(a)},jXe=te({name:"ElTimeSelect"}),XXe=te({...jXe,props:YXe,emits:["change","blur","focus","update:modelValue"],setup(e,{expose:t}){const r=e;yt.extend(DT);const{Option:n}=ud,a=ke("input"),i=U(),o=$a(),{lang:s}=Ht(),l=L(()=>r.modelValue),u=L(()=>{const m=_s(r.start);return m?ff(m):null}),c=L(()=>{const m=_s(r.end);return m?ff(m):null}),d=L(()=>{const m=_s(r.step);return m?ff(m):null}),f=L(()=>{const m=_s(r.minTime||"");return m?ff(m):null}),p=L(()=>{const m=_s(r.maxTime||"");return m?ff(m):null}),h=L(()=>{const m=[];if(r.start&&r.end&&r.step){let y=u.value,_;for(;y&&c.value&&nw(y,c.value)<=0;)_=yt(y,"HH:mm").locale(s.value).format(r.format),m.push({value:_,disabled:nw(y,f.value||"-1:-1")<=0||nw(y,p.value||"100:100")>=0}),y=qXe(y,d.value)}return m});return t({blur:()=>{var m,y;(y=(m=i.value)==null?void 0:m.blur)==null||y.call(m)},focus:()=>{var m,y;(y=(m=i.value)==null?void 0:m.focus)==null||y.call(m)}}),(m,y)=>(I(),pe(b(ud),{ref_key:"select",ref:i,"model-value":b(l),disabled:b(o),clearable:m.clearable,"clear-icon":m.clearIcon,size:m.size,effect:m.effect,placeholder:m.placeholder,"default-first-option":"",filterable:m.editable,"onUpdate:modelValue":y[0]||(y[0]=_=>m.$emit("update:modelValue",_)),onChange:y[1]||(y[1]=_=>m.$emit("change",_)),onBlur:y[2]||(y[2]=_=>m.$emit("blur",_)),onFocus:y[3]||(y[3]=_=>m.$emit("focus",_))},{prefix:oe(()=>[m.prefixIcon?(I(),pe(b(Ke),{key:0,class:V(b(a).e("prefix-icon"))},{default:oe(()=>[(I(),pe(xt(m.prefixIcon)))]),_:1},8,["class"])):ue("v-if",!0)]),default:oe(()=>[(I(!0),$(je,null,Ot(b(h),_=>(I(),pe(b(n),{key:_.value,label:_.value,value:_.value,disabled:_.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable"]))}});var Uy=De(XXe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-select/src/time-select.vue"]]);Uy.install=e=>{e.component(Uy.name,Uy)};const ZXe=Uy,QXe=ZXe,JXe=te({name:"ElTimeline",setup(e,{slots:t}){const r=ke("timeline");return It("timeline",t),()=>Qe("ul",{class:[r.b()]},[Se(t,"default")])}}),eZe=Le({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:dr},hollow:{type:Boolean,default:!1}}),tZe=te({name:"ElTimelineItem"}),rZe=te({...tZe,props:eZe,setup(e){const t=e,r=ke("timeline-item"),n=L(()=>[r.e("node"),r.em("node",t.size||""),r.em("node",t.type||""),r.is("hollow",t.hollow)]);return(a,i)=>(I(),$("li",{class:V([b(r).b(),{[b(r).e("center")]:a.center}])},[N("div",{class:V(b(r).e("tail"))},null,2),a.$slots.dot?ue("v-if",!0):(I(),$("div",{key:0,class:V(b(n)),style:qe({backgroundColor:a.color})},[a.icon?(I(),pe(b(Ke),{key:0,class:V(b(r).e("icon"))},{default:oe(()=>[(I(),pe(xt(a.icon)))]),_:1},8,["class"])):ue("v-if",!0)],6)),a.$slots.dot?(I(),$("div",{key:1,class:V(b(r).e("dot"))},[Se(a.$slots,"dot")],2)):ue("v-if",!0),N("div",{class:V(b(r).e("wrapper"))},[!a.hideTimestamp&&a.placement==="top"?(I(),$("div",{key:0,class:V([b(r).e("timestamp"),b(r).is("top")])},Oe(a.timestamp),3)):ue("v-if",!0),N("div",{class:V(b(r).e("content"))},[Se(a.$slots,"default")],2),!a.hideTimestamp&&a.placement==="bottom"?(I(),$("div",{key:1,class:V([b(r).e("timestamp"),b(r).is("bottom")])},Oe(a.timestamp),3)):ue("v-if",!0)],2)],2))}});var KV=De(rZe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);const nZe=bt(JXe,{TimelineItem:KV}),aZe=Mr(KV),YV=Le({nowrap:Boolean});var qV=(e=>(e.top="top",e.bottom="bottom",e.left="left",e.right="right",e))(qV||{});const iZe=Object.values(qV),ix=Le({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:ce(Object),default:null}}),oZe=Le({side:{type:ce(String),values:iZe,required:!0}}),sZe=["absolute","fixed"],lZe=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],ox=Le({ariaLabel:String,arrowPadding:{type:ce(Number),default:5},effect:{type:String,default:""},contentClass:String,placement:{type:ce(String),values:lZe,default:"bottom"},reference:{type:ce(Object),default:null},offset:{type:Number,default:8},strategy:{type:ce(String),values:sZe,default:"absolute"},showArrow:{type:Boolean,default:!1}}),sx=Le({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:ce(Function)},"onUpdate:open":{type:ce(Function)}}),zd={type:ce(Function)},lx=Le({onBlur:zd,onClick:zd,onFocus:zd,onMouseDown:zd,onMouseEnter:zd,onMouseLeave:zd}),uZe=Le({...sx,...ix,...lx,...ox,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:ce(Object),default:null},teleported:Boolean,to:{type:ce(String),default:"body"}}),$_=Symbol("tooltipV2"),jV=Symbol("tooltipV2Content"),aw="tooltip_v2.open",cZe=te({name:"ElTooltipV2Root"}),dZe=te({...cZe,props:sx,setup(e,{expose:t}){const r=e,n=U(r.defaultOpen),a=U(null),i=L({get:()=>Xie(r.open)?n.value:r.open,set:g=>{var m;n.value=g,(m=r["onUpdate:open"])==null||m.call(r,g)}}),o=L(()=>at(r.delayDuration)&&r.delayDuration>0),{start:s,stop:l}=ad(()=>{i.value=!0},L(()=>r.delayDuration),{immediate:!1}),u=ke("tooltip-v2"),c=Da(),d=()=>{l(),i.value=!0},f=()=>{b(o)?s():d()},p=d,h=()=>{l(),i.value=!1};return Te(i,g=>{var m;g&&(document.dispatchEvent(new CustomEvent(aw)),p()),(m=r.onOpenChange)==null||m.call(r,g)}),gt(()=>{document.addEventListener(aw,h)}),vr(()=>{l(),document.removeEventListener(aw,h)}),It($_,{contentId:c,triggerRef:a,ns:u,onClose:h,onDelayOpen:f,onOpen:p}),t({onOpen:p,onClose:h}),(g,m)=>Se(g.$slots,"default",{open:b(i)})}});var fZe=De(dZe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/root.vue"]]);const pZe=te({name:"ElTooltipV2Arrow"}),hZe=te({...pZe,props:{...ix,...oZe},setup(e){const t=e,{ns:r}=Ue($_),{arrowRef:n}=Ue(jV),a=L(()=>{const{style:i,width:o,height:s}=t,l=r.namespace.value;return{[`--${l}-tooltip-v2-arrow-width`]:`${o}px`,[`--${l}-tooltip-v2-arrow-height`]:`${s}px`,[`--${l}-tooltip-v2-arrow-border-width`]:`${o/2}px`,[`--${l}-tooltip-v2-arrow-cover-width`]:o/2-1,...i||{}}});return(i,o)=>(I(),$("span",{ref_key:"arrowRef",ref:n,style:qe(b(a)),class:V(b(r).e("arrow"))},null,6))}});var nM=De(hZe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/arrow.vue"]]);const vZe=Le({style:{type:ce([String,Object,Array]),default:()=>({})}}),gZe=te({name:"ElVisuallyHidden"}),mZe=te({...gZe,props:vZe,setup(e){const t=e,r=L(()=>[t.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}]);return(n,a)=>(I(),$("span",Tt(n.$attrs,{style:b(r)}),[Se(n.$slots,"default")],16))}});var yZe=De(mZe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);const _Ze=["data-side"],bZe=te({name:"ElTooltipV2Content"}),wZe=te({...bZe,props:{...ox,...YV},setup(e){const t=e,{triggerRef:r,contentId:n}=Ue($_),a=U(t.placement),i=U(t.strategy),o=U(null),{referenceRef:s,contentRef:l,middlewareData:u,x:c,y:d,update:f}=q5e({placement:a,strategy:i,middleware:L(()=>{const _=[I5e(t.offset)];return t.showArrow&&_.push(j5e({arrowRef:o})),_})}),p=Pp().nextZIndex(),h=ke("tooltip-v2"),v=L(()=>a.value.split("-")[0]),g=L(()=>({position:b(i),top:`${b(d)||0}px`,left:`${b(c)||0}px`,zIndex:p})),m=L(()=>{if(!t.showArrow)return{};const{arrow:_}=b(u);return{[`--${h.namespace.value}-tooltip-v2-arrow-x`]:`${_==null?void 0:_.x}px`||"",[`--${h.namespace.value}-tooltip-v2-arrow-y`]:`${_==null?void 0:_.y}px`||""}}),y=L(()=>[h.e("content"),h.is("dark",t.effect==="dark"),h.is(b(i)),t.contentClass]);return Te(o,()=>f()),Te(()=>t.placement,_=>a.value=_),gt(()=>{Te(()=>t.reference||r.value,_=>{s.value=_||void 0},{immediate:!0})}),It(jV,{arrowRef:o}),(_,w)=>(I(),$("div",{ref_key:"contentRef",ref:l,style:qe(b(g)),"data-tooltip-v2-root":""},[_.nowrap?ue("v-if",!0):(I(),$("div",{key:0,"data-side":b(v),class:V(b(y))},[Se(_.$slots,"default",{contentStyle:b(g),contentClass:b(y)}),Q(b(yZe),{id:b(n),role:"tooltip"},{default:oe(()=>[_.ariaLabel?(I(),$(je,{key:0},[Kt(Oe(_.ariaLabel),1)],64)):Se(_.$slots,"default",{key:1})]),_:3},8,["id"]),Se(_.$slots,"arrow",{style:qe(b(m)),side:b(v)})],10,_Ze))],4))}});var aM=De(wZe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/content.vue"]]);const SZe=Le({setRef:{type:ce(Function),required:!0},onlyChild:Boolean});var EZe=te({props:SZe,setup(e,{slots:t}){const r=U(),n=b_(r,a=>{a?e.setRef(a.nextElementSibling):e.setRef(null)});return()=>{var a;const[i]=((a=t.default)==null?void 0:a.call(t))||[],o=e.onlyChild?tDe(i.children):i.children;return Q(je,{ref:n},[o])}}});const CZe=te({name:"ElTooltipV2Trigger"}),TZe=te({...CZe,props:{...YV,...lx},setup(e){const t=e,{onClose:r,onOpen:n,onDelayOpen:a,triggerRef:i,contentId:o}=Ue($_);let s=!1;const l=y=>{i.value=y},u=()=>{s=!1},c=Ir(t.onMouseEnter,a),d=Ir(t.onMouseLeave,r),f=Ir(t.onMouseDown,()=>{r(),s=!0,document.addEventListener("mouseup",u,{once:!0})}),p=Ir(t.onFocus,()=>{s||n()}),h=Ir(t.onBlur,r),v=Ir(t.onClick,y=>{y.detail===0&&r()}),g={blur:h,click:v,focus:p,mousedown:f,mouseenter:c,mouseleave:d},m=(y,_,w)=>{y&&Object.entries(_).forEach(([E,S])=>{y[w](E,S)})};return Te(i,(y,_)=>{m(y,g,"addEventListener"),m(_,g,"removeEventListener"),y&&y.setAttribute("aria-describedby",o.value)}),vr(()=>{m(i.value,g,"removeEventListener"),document.removeEventListener("mouseup",u)}),(y,_)=>y.nowrap?(I(),pe(b(EZe),{key:0,"set-ref":l,"only-child":""},{default:oe(()=>[Se(y.$slots,"default")]),_:3})):(I(),$("button",Tt({key:1,ref_key:"triggerRef",ref:i},y.$attrs),[Se(y.$slots,"default")],16))}});var xZe=De(TZe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/trigger.vue"]]);const AZe=te({name:"ElTooltipV2"}),kZe=te({...AZe,props:uZe,setup(e){const r=pn(e),n=qt(bs(r,Object.keys(ix))),a=qt(bs(r,Object.keys(ox))),i=qt(bs(r,Object.keys(sx))),o=qt(bs(r,Object.keys(lx)));return(s,l)=>(I(),pe(fZe,Zi(l_(i)),{default:oe(({open:u})=>[Q(xZe,Tt(o,{nowrap:""}),{default:oe(()=>[Se(s.$slots,"trigger")]),_:3},16),(I(),pe(am,{to:s.to,disabled:!s.teleported},[s.fullTransition?(I(),pe(Hr,Zi(Tt({key:0},s.transitionProps)),{default:oe(()=>[s.alwaysOn||u?(I(),pe(aM,Zi(Tt({key:0},a)),{arrow:oe(({style:c,side:d})=>[s.showArrow?(I(),pe(nM,Tt({key:0},n,{style:c,side:d}),null,16,["style","side"])):ue("v-if",!0)]),default:oe(()=>[Se(s.$slots,"default")]),_:3},16)):ue("v-if",!0)]),_:2},1040)):(I(),$(je,{key:1},[s.alwaysOn||u?(I(),pe(aM,Zi(Tt({key:0},a)),{arrow:oe(({style:c,side:d})=>[s.showArrow?(I(),pe(nM,Tt({key:0},n,{style:c,side:d}),null,16,["style","side"])):ue("v-if",!0)]),default:oe(()=>[Se(s.$slots,"default")]),_:3},16)):ue("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var IZe=De(kZe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip-v2/src/tooltip.vue"]]);const RZe=bt(IZe),XV="left-check-change",ZV="right-check-change",pf=Le({data:{type:ce(Array),default:()=>[]},titles:{type:ce(Array),default:()=>[]},buttonTexts:{type:ce(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:ce(Function)},leftDefaultChecked:{type:ce(Array),default:()=>[]},rightDefaultChecked:{type:ce(Array),default:()=>[]},renderContent:{type:ce(Function)},modelValue:{type:ce(Array),default:()=>[]},format:{type:ce(Object),default:()=>({})},filterable:Boolean,props:{type:ce(Object),default:()=>Er({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),Q3=(e,t)=>[e,t].every(He)||He(e)&&Yr(t),MZe={[hr]:(e,t,r)=>[e,r].every(He)&&["left","right"].includes(t),[Et]:e=>He(e),[XV]:Q3,[ZV]:Q3},J3="checked-change",LZe=Le({data:pf.data,optionRender:{type:ce(Function)},placeholder:String,title:String,filterable:Boolean,format:pf.format,filterMethod:pf.filterMethod,defaultChecked:pf.leftDefaultChecked,props:pf.props}),DZe={[J3]:Q3},bm=e=>{const t={label:"label",key:"key",disabled:"disabled"};return L(()=>({...t,...e.props}))},OZe=(e,t,r)=>{const n=bm(e),a=L(()=>e.data.filter(c=>it(e.filterMethod)?e.filterMethod(t.query,c):String(c[n.value.label]||c[n.value.key]).toLowerCase().includes(t.query.toLowerCase()))),i=L(()=>a.value.filter(c=>!c[n.value.disabled])),o=L(()=>{const c=t.checked.length,d=e.data.length,{noChecked:f,hasChecked:p}=e.format;return f&&p?c>0?p.replace(/\${checked}/g,c.toString()).replace(/\${total}/g,d.toString()):f.replace(/\${total}/g,d.toString()):`${c}/${d}`}),s=L(()=>{const c=t.checked.length;return c>0&&c<i.value.length}),l=()=>{const c=i.value.map(d=>d[n.value.key]);t.allChecked=c.length>0&&c.every(d=>t.checked.includes(d))},u=c=>{t.checked=c?i.value.map(d=>d[n.value.key]):[]};return Te(()=>t.checked,(c,d)=>{if(l(),t.checkChangeByUser){const f=c.concat(d).filter(p=>!c.includes(p)||!d.includes(p));r(J3,c,f)}else r(J3,c),t.checkChangeByUser=!0}),Te(i,()=>{l()}),Te(()=>e.data,()=>{const c=[],d=a.value.map(f=>f[n.value.key]);t.checked.forEach(f=>{d.includes(f)&&c.push(f)}),t.checkChangeByUser=!1,t.checked=c}),Te(()=>e.defaultChecked,(c,d)=>{if(d&&c.length===d.length&&c.every(h=>d.includes(h)))return;const f=[],p=i.value.map(h=>h[n.value.key]);c.forEach(h=>{p.includes(h)&&f.push(h)}),t.checkChangeByUser=!1,t.checked=f},{immediate:!0}),{filteredData:a,checkableData:i,checkedSummary:o,isIndeterminate:s,updateAllChecked:l,handleAllCheckedChange:u}},NZe=(e,t)=>({onSourceCheckedChange:(a,i)=>{e.leftChecked=a,i&&t(XV,a,i)},onTargetCheckedChange:(a,i)=>{e.rightChecked=a,i&&t(ZV,a,i)}}),PZe=e=>{const t=bm(e),r=L(()=>e.data.reduce((i,o)=>(i[o[t.value.key]]=o)&&i,{})),n=L(()=>e.data.filter(i=>!e.modelValue.includes(i[t.value.key]))),a=L(()=>e.targetOrder==="original"?e.data.filter(i=>e.modelValue.includes(i[t.value.key])):e.modelValue.reduce((i,o)=>{const s=r.value[o];return s&&i.push(s),i},[]));return{sourceData:n,targetData:a}},$Ze=(e,t,r)=>{const n=bm(e),a=(s,l,u)=>{r(Et,s),r(hr,s,l,u)};return{addToLeft:()=>{const s=e.modelValue.slice();t.rightChecked.forEach(l=>{const u=s.indexOf(l);u>-1&&s.splice(u,1)}),a(s,"left",t.rightChecked)},addToRight:()=>{let s=e.modelValue.slice();const l=e.data.filter(u=>{const c=u[n.value.key];return t.leftChecked.includes(c)&&!e.modelValue.includes(c)}).map(u=>u[n.value.key]);s=e.targetOrder==="unshift"?l.concat(s):s.concat(l),e.targetOrder==="original"&&(s=e.data.filter(u=>s.includes(u[n.value.key])).map(u=>u[n.value.key])),a(s,"right",t.leftChecked)}}},BZe=te({name:"ElTransferPanel"}),FZe=te({...BZe,props:LZe,emits:DZe,setup(e,{expose:t,emit:r}){const n=e,a=Cn(),i=({option:_})=>_,{t:o}=Ht(),s=ke("transfer"),l=qt({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),u=bm(n),{filteredData:c,checkedSummary:d,isIndeterminate:f,handleAllCheckedChange:p}=OZe(n,l,r),h=L(()=>!gi(l.query)&&gi(c.value)),v=L(()=>!gi(a.default()[0].children)),{checked:g,allChecked:m,query:y}=pn(l);return t({query:y}),(_,w)=>(I(),$("div",{class:V(b(s).b("panel"))},[N("p",{class:V(b(s).be("panel","header"))},[Q(b(Di),{modelValue:b(m),"onUpdate:modelValue":w[0]||(w[0]=E=>cr(m)?m.value=E:null),indeterminate:b(f),"validate-event":!1,onChange:b(p)},{default:oe(()=>[Kt(Oe(_.title)+" ",1),N("span",null,Oe(b(d)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),N("div",{class:V([b(s).be("panel","body"),b(s).is("with-footer",b(v))])},[_.filterable?(I(),pe(b(Un),{key:0,modelValue:b(y),"onUpdate:modelValue":w[1]||(w[1]=E=>cr(y)?y.value=E:null),class:V(b(s).be("panel","filter")),size:"default",placeholder:_.placeholder,"prefix-icon":b(f7),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):ue("v-if",!0),ct(Q(b(nz),{modelValue:b(g),"onUpdate:modelValue":w[2]||(w[2]=E=>cr(g)?g.value=E:null),"validate-event":!1,class:V([b(s).is("filterable",_.filterable),b(s).be("panel","list")])},{default:oe(()=>[(I(!0),$(je,null,Ot(b(c),E=>(I(),pe(b(Di),{key:E[b(u).key],class:V(b(s).be("panel","item")),label:E[b(u).key],disabled:E[b(u).disabled],"validate-event":!1},{default:oe(()=>{var S;return[Q(i,{option:(S=_.optionRender)==null?void 0:S.call(_,E)},null,8,["option"])]}),_:2},1032,["class","label","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[Gt,!b(h)&&!b(gi)(_.data)]]),ct(N("p",{class:V(b(s).be("panel","empty"))},Oe(b(h)?b(o)("el.transfer.noMatch"):b(o)("el.transfer.noData")),3),[[Gt,b(h)||b(gi)(_.data)]])],2),b(v)?(I(),$("p",{key:0,class:V(b(s).be("panel","footer"))},[Se(_.$slots,"default")],2)):ue("v-if",!0)],2))}});var iM=De(FZe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer-panel.vue"]]);const zZe={key:0},VZe={key:0},HZe=te({name:"ElTransfer"}),UZe=te({...HZe,props:pf,emits:MZe,setup(e,{expose:t,emit:r}){const n=e,a=Cn(),{t:i}=Ht(),o=ke("transfer"),{formItem:s}=pa(),l=qt({leftChecked:[],rightChecked:[]}),u=bm(n),{sourceData:c,targetData:d}=PZe(n),{onSourceCheckedChange:f,onTargetCheckedChange:p}=NZe(l,r),{addToLeft:h,addToRight:v}=$Ze(n,l,r),g=U(),m=U(),y=T=>{switch(T){case"left":g.value.query="";break;case"right":m.value.query="";break}},_=L(()=>n.buttonTexts.length===2),w=L(()=>n.titles[0]||i("el.transfer.titles.0")),E=L(()=>n.titles[1]||i("el.transfer.titles.1")),S=L(()=>n.filterPlaceholder||i("el.transfer.filterPlaceholder"));Te(()=>n.modelValue,()=>{var T;n.validateEvent&&((T=s==null?void 0:s.validate)==null||T.call(s,"change").catch(x=>void 0))});const C=L(()=>T=>n.renderContent?n.renderContent(Qe,T):a.default?a.default({option:T}):Qe("span",T[u.value.label]||T[u.value.key]));return t({clearQuery:y,leftPanel:g,rightPanel:m}),(T,x)=>(I(),$("div",{class:V(b(o).b())},[Q(iM,{ref_key:"leftPanel",ref:g,data:b(c),"option-render":b(C),placeholder:b(S),title:b(w),filterable:T.filterable,format:T.format,"filter-method":T.filterMethod,"default-checked":T.leftDefaultChecked,props:n.props,onCheckedChange:b(f)},{default:oe(()=>[Se(T.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),N("div",{class:V(b(o).e("buttons"))},[Q(b(Mn),{type:"primary",class:V([b(o).e("button"),b(o).is("with-texts",b(_))]),disabled:b(gi)(l.rightChecked),onClick:b(h)},{default:oe(()=>[Q(b(Ke),null,{default:oe(()=>[Q(b(Ds))]),_:1}),b(Jr)(T.buttonTexts[0])?ue("v-if",!0):(I(),$("span",zZe,Oe(T.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),Q(b(Mn),{type:"primary",class:V([b(o).e("button"),b(o).is("with-texts",b(_))]),disabled:b(gi)(l.leftChecked),onClick:b(v)},{default:oe(()=>[b(Jr)(T.buttonTexts[1])?ue("v-if",!0):(I(),$("span",VZe,Oe(T.buttonTexts[1]),1)),Q(b(Ke),null,{default:oe(()=>[Q(b(Gn))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),Q(iM,{ref_key:"rightPanel",ref:m,data:b(d),"option-render":b(C),placeholder:b(S),filterable:T.filterable,format:T.format,"filter-method":T.filterMethod,title:b(E),"default-checked":T.rightDefaultChecked,props:n.props,onCheckedChange:b(p)},{default:oe(()=>[Se(T.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var GZe=De(UZe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer.vue"]]);const WZe=bt(GZe),Ff="$treeNodeId",oM=function(e,t){!t||t[Ff]||Object.defineProperty(t,Ff,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},ux=function(e,t){return e?t[e]:t[Ff]},eE=(e,t,r)=>{const n=e.value.currentNode;r();const a=e.value.currentNode;n!==a&&t("current-change",a?a.data:null,a)},tE=e=>{let t=!0,r=!0,n=!0;for(let a=0,i=e.length;a<i;a++){const o=e[a];(o.checked!==!0||o.indeterminate)&&(t=!1,o.disabled||(n=!1)),(o.checked!==!1||o.indeterminate)&&(r=!1)}return{all:t,none:r,allWithoutDisable:n,half:!t&&!r}},Gy=function(e){if(e.childNodes.length===0||e.loading)return;const{all:t,none:r,half:n}=tE(e.childNodes);t?(e.checked=!0,e.indeterminate=!1):n?(e.checked=!1,e.indeterminate=!0):r&&(e.checked=!1,e.indeterminate=!1);const a=e.parent;!a||a.level===0||e.store.checkStrictly||Gy(a)},f0=function(e,t){const r=e.store.props,n=e.data||{},a=r[t];if(typeof a=="function")return a(n,e);if(typeof a=="string")return n[a];if(typeof a>"u"){const i=n[t];return i===void 0?"":i}};let KZe=0,rE=class Wy{constructor(t){this.id=KZe++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const r in t)$t(t,r)&&(this[r]=t[r]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const t=this.store;if(!t)throw new Error("[Node]store is required!");t.registerNode(this);const r=t.props;if(r&&typeof r.isLeaf<"u"){const i=f0(this,"isLeaf");typeof i=="boolean"&&(this.isLeafByUser=i)}if(t.lazy!==!0&&this.data?(this.setData(this.data),t.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&t.lazy&&t.defaultExpandAll&&this.expand(),Array.isArray(this.data)||oM(this,this.data),!this.data)return;const n=t.defaultExpandedKeys,a=t.key;a&&n&&n.includes(this.key)&&this.expand(null,t.autoExpandParent),a&&t.currentNodeKey!==void 0&&this.key===t.currentNodeKey&&(t.currentNode=this,t.currentNode.isCurrent=!0),t.lazy&&t._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData(t){Array.isArray(t)||oM(this,t),this.data=t,this.childNodes=[];let r;this.level===0&&Array.isArray(this.data)?r=this.data:r=f0(this,"children")||[];for(let n=0,a=r.length;n<a;n++)this.insertChild({data:r[n]})}get label(){return f0(this,"label")}get key(){const t=this.store.key;return this.data?this.data[t]:null}get disabled(){return f0(this,"disabled")}get nextSibling(){const t=this.parent;if(t){const r=t.childNodes.indexOf(this);if(r>-1)return t.childNodes[r+1]}return null}get previousSibling(){const t=this.parent;if(t){const r=t.childNodes.indexOf(this);if(r>-1)return r>0?t.childNodes[r-1]:null}return null}contains(t,r=!0){return(this.childNodes||[]).some(n=>n===t||r&&n.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,r,n){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof Wy)){if(!n){const a=this.getChildren(!0);a.includes(t.data)||(typeof r>"u"||r<0?a.push(t.data):a.splice(r,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=qt(new Wy(t)),t instanceof Wy&&t.initialize()}t.level=this.level+1,typeof r>"u"||r<0?this.childNodes.push(t):this.childNodes.splice(r,0,t),this.updateLeafState()}insertBefore(t,r){let n;r&&(n=this.childNodes.indexOf(r)),this.insertChild(t,n)}insertAfter(t,r){let n;r&&(n=this.childNodes.indexOf(r),n!==-1&&(n+=1)),this.insertChild(t,n)}removeChild(t){const r=this.getChildren()||[],n=r.indexOf(t.data);n>-1&&r.splice(n,1);const a=this.childNodes.indexOf(t);a>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(a,1)),this.updateLeafState()}removeChildByData(t){let r=null;for(let n=0;n<this.childNodes.length;n++)if(this.childNodes[n].data===t){r=this.childNodes[n];break}r&&this.removeChild(r)}expand(t,r){const n=()=>{if(r){let a=this.parent;for(;a.level>0;)a.expanded=!0,a=a.parent}this.expanded=!0,t&&t(),this.childNodes.forEach(a=>{a.canFocus=!0})};this.shouldLoadData()?this.loadData(a=>{Array.isArray(a)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||Gy(this),n())}):n()}doCreateChildren(t,r={}){t.forEach(n=>{this.insertChild(Object.assign({data:n},r),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(t=>{t.canFocus=!1})}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0;return}this.isLeaf=!1}setChecked(t,r,n,a){if(this.indeterminate=t==="half",this.checked=t===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:o,allWithoutDisable:s}=tE(this.childNodes);!this.isLeaf&&!o&&s&&(this.checked=!1,t=!1);const l=()=>{if(r){const u=this.childNodes;for(let f=0,p=u.length;f<p;f++){const h=u[f];a=a||t!==!1;const v=h.disabled?h.checked:a;h.setChecked(v,r,!0,a)}const{half:c,all:d}=tE(u);d||(this.checked=d,this.indeterminate=c)}};if(this.shouldLoadData()){this.loadData(()=>{l(),Gy(this)},{checked:t!==!1});return}else l()}const i=this.parent;!i||i.level===0||n||Gy(i)}getChildren(t=!1){if(this.level===0)return this.data;const r=this.data;if(!r)return null;const n=this.store.props;let a="children";return n&&(a=n.children||"children"),r[a]===void 0&&(r[a]=null),t&&!r[a]&&(r[a]=[]),r[a]}updateChildren(){const t=this.getChildren()||[],r=this.childNodes.map(i=>i.data),n={},a=[];t.forEach((i,o)=>{const s=i[Ff];!!s&&r.findIndex(u=>u[Ff]===s)>=0?n[s]={index:o,data:i}:a.push({index:o,data:i})}),this.store.lazy||r.forEach(i=>{n[i[Ff]]||this.removeChildByData(i)}),a.forEach(({index:i,data:o})=>{this.insertChild({data:o},i)}),this.updateLeafState()}loadData(t,r={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(r).length)){this.loading=!0;const n=a=>{this.childNodes=[],this.doCreateChildren(a,r),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,a)};this.store.load(this,n)}else t&&t.call(this)}};class YZe{constructor(t){this.currentNode=null,this.currentNodeKey=null;for(const r in t)$t(t,r)&&(this[r]=t[r]);this.nodesMap={}}initialize(){if(this.root=new rE({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const t=this.load;t(this.root,r=>{this.root.doCreateChildren(r),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(t){const r=this.filterNodeMethod,n=this.lazy,a=function(i){const o=i.root?i.root.childNodes:i.childNodes;if(o.forEach(s=>{s.visible=r.call(s,t,s.data,s),a(s)}),!i.visible&&o.length){let s=!0;s=!o.some(l=>l.visible),i.root?i.root.visible=s===!1:i.visible=s===!1}t&&i.visible&&!i.isLeaf&&!n&&i.expand()};a(this)}setData(t){t!==this.root.data?(this.root.setData(t),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(t){if(t instanceof rE)return t;const r=St(t)?ux(this.key,t):t;return this.nodesMap[r]||null}insertBefore(t,r){const n=this.getNode(r);n.parent.insertBefore({data:t},n)}insertAfter(t,r){const n=this.getNode(r);n.parent.insertAfter({data:t},n)}remove(t){const r=this.getNode(t);r&&r.parent&&(r===this.currentNode&&(this.currentNode=null),r.parent.removeChild(r))}append(t,r){const n=r?this.getNode(r):this.root;n&&n.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],r=this.nodesMap;t.forEach(n=>{const a=r[n];a&&a.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){(this.defaultCheckedKeys||[]).includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const r=this.key;!t||!t.data||(r?t.key!==void 0&&(this.nodesMap[t.key]=t):this.nodesMap[t.id]=t)}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(n=>{this.deregisterNode(n)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,r=!1){const n=[],a=function(i){(i.root?i.root.childNodes:i.childNodes).forEach(s=>{(s.checked||r&&s.indeterminate)&&(!t||t&&s.isLeaf)&&n.push(s.data),a(s)})};return a(this),n}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(r=>(r||{})[this.key])}getHalfCheckedNodes(){const t=[],r=function(n){(n.root?n.root.childNodes:n.childNodes).forEach(i=>{i.indeterminate&&t.push(i.data),r(i)})};return r(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],r=this.nodesMap;for(const n in r)$t(r,n)&&t.push(r[n]);return t}updateChildren(t,r){const n=this.nodesMap[t];if(!n)return;const a=n.childNodes;for(let i=a.length-1;i>=0;i--){const o=a[i];this.remove(o.data)}for(let i=0,o=r.length;i<o;i++){const s=r[i];this.append(s,n.data)}}_setCheckedKeys(t,r=!1,n){const a=this._getAllNodes().sort((s,l)=>l.level-s.level),i=Object.create(null),o=Object.keys(n);a.forEach(s=>s.setChecked(!1,!1));for(let s=0,l=a.length;s<l;s++){const u=a[s],c=u.data[t].toString();if(!o.includes(c)){u.checked&&!i[c]&&u.setChecked(!1,!1);continue}let f=u.parent;for(;f&&f.level>0;)i[f.data[t]]=!0,f=f.parent;if(u.isLeaf||this.checkStrictly){u.setChecked(!0,!1);continue}if(u.setChecked(!0,!0),r){u.setChecked(!1,!1);const p=function(h){h.childNodes.forEach(g=>{g.isLeaf||g.setChecked(!1,!1),p(g)})};p(u)}}}setCheckedNodes(t,r=!1){const n=this.key,a={};t.forEach(i=>{a[(i||{})[n]]=!0}),this._setCheckedKeys(n,r,a)}setCheckedKeys(t,r=!1){this.defaultCheckedKeys=t;const n=this.key,a={};t.forEach(i=>{a[i]=!0}),this._setCheckedKeys(n,r,a)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(r=>{const n=this.getNode(r);n&&n.expand(null,this.autoExpandParent)})}setChecked(t,r,n){const a=this.getNode(t);a&&a.setChecked(!!r,n)}getCurrentNode(){return this.currentNode}setCurrentNode(t){const r=this.currentNode;r&&(r.isCurrent=!1),this.currentNode=t,this.currentNode.isCurrent=!0}setUserCurrentNode(t,r=!0){const n=t[this.key],a=this.nodesMap[n];this.setCurrentNode(a),r&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(t,r=!0){if(t==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const n=this.getNode(t);n&&(this.setCurrentNode(n),r&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const qZe=te({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=ke("tree"),r=Ue("NodeInstance"),n=Ue("RootTree");return()=>{const a=e.node,{data:i,store:o}=a;return e.renderContent?e.renderContent(Qe,{_self:r,node:a,data:i,store:o}):n.ctx.slots.default?n.ctx.slots.default({node:a,data:i}):Qe("span",{class:t.be("node","label")},[a.label])}}});var jZe=De(qZe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue"]]);function QV(e){const t=Ue("TreeNodeMap",null),r={treeNodeExpand:n=>{e.node!==n&&e.node.collapse()},children:[]};return t&&t.children.push(r),It("TreeNodeMap",r),{broadcastExpanded:n=>{if(e.accordion)for(const a of r.children)a.treeNodeExpand(n)}}}const JV=Symbol("dragEvents");function XZe({props:e,ctx:t,el$:r,dropIndicator$:n,store:a}){const i=ke("tree"),o=U({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return It(JV,{treeNodeDragStart:({event:c,treeNode:d})=>{if(typeof e.allowDrag=="function"&&!e.allowDrag(d.node))return c.preventDefault(),!1;c.dataTransfer.effectAllowed="move";try{c.dataTransfer.setData("text/plain","")}catch{}o.value.draggingNode=d,t.emit("node-drag-start",d.node,c)},treeNodeDragOver:({event:c,treeNode:d})=>{const f=d,p=o.value.dropNode;p&&p.node.id!==f.node.id&&Ta(p.$el,i.is("drop-inner"));const h=o.value.draggingNode;if(!h||!f)return;let v=!0,g=!0,m=!0,y=!0;typeof e.allowDrop=="function"&&(v=e.allowDrop(h.node,f.node,"prev"),y=g=e.allowDrop(h.node,f.node,"inner"),m=e.allowDrop(h.node,f.node,"next")),c.dataTransfer.dropEffect=g||v||m?"move":"none",(v||g||m)&&(p==null?void 0:p.node.id)!==f.node.id&&(p&&t.emit("node-drag-leave",h.node,p.node,c),t.emit("node-drag-enter",h.node,f.node,c)),(v||g||m)&&(o.value.dropNode=f),f.node.nextSibling===h.node&&(m=!1),f.node.previousSibling===h.node&&(v=!1),f.node.contains(h.node,!1)&&(g=!1),(h.node===f.node||h.node.contains(f.node))&&(v=!1,g=!1,m=!1);const _=f.$el.querySelector(`.${i.be("node","content")}`).getBoundingClientRect(),w=r.value.getBoundingClientRect();let E;const S=v?g?.25:m?.45:1:-1,C=m?g?.75:v?.55:0:1;let T=-9999;const x=c.clientY-_.top;x<_.height*S?E="before":x>_.height*C?E="after":g?E="inner":E="none";const A=f.$el.querySelector(`.${i.be("node","expand-icon")}`).getBoundingClientRect(),k=n.value;E==="before"?T=A.top-w.top:E==="after"&&(T=A.bottom-w.top),k.style.top=`${T}px`,k.style.left=`${A.right-w.left}px`,E==="inner"?Do(f.$el,i.is("drop-inner")):Ta(f.$el,i.is("drop-inner")),o.value.showDropIndicator=E==="before"||E==="after",o.value.allowDrop=o.value.showDropIndicator||y,o.value.dropType=E,t.emit("node-drag-over",h.node,f.node,c)},treeNodeDragEnd:c=>{const{draggingNode:d,dropType:f,dropNode:p}=o.value;if(c.preventDefault(),c.dataTransfer.dropEffect="move",d&&p){const h={data:d.node.data};f!=="none"&&d.node.remove(),f==="before"?p.node.parent.insertBefore(h,p.node):f==="after"?p.node.parent.insertAfter(h,p.node):f==="inner"&&p.node.insertChild(h),f!=="none"&&a.value.registerNode(h),Ta(p.$el,i.is("drop-inner")),t.emit("node-drag-end",d.node,p.node,f,c),f!=="none"&&t.emit("node-drop",d.node,p.node,f,c)}d&&!p&&t.emit("node-drag-end",d.node,null,f,c),o.value.showDropIndicator=!1,o.value.draggingNode=null,o.value.dropNode=null,o.value.allowDrop=!0}}),{dragState:o}}const ZZe=te({name:"ElTreeNode",components:{ElCollapseTransition:D_,ElCheckbox:Di,NodeContent:jZe,ElIcon:Ke,Loading:Zs},props:{node:{type:rE,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(e,t){const r=ke("tree"),{broadcastExpanded:n}=QV(e),a=Ue("RootTree"),i=U(!1),o=U(!1),s=U(null),l=U(null),u=U(null),c=Ue(JV),d=mt();It("NodeInstance",d),e.node.expanded&&(i.value=!0,o.value=!0);const f=a.props.props.children||"children";Te(()=>{const x=e.node.data[f];return x&&[...x]},()=>{e.node.updateChildren()}),Te(()=>e.node.indeterminate,x=>{v(e.node.checked,x)}),Te(()=>e.node.checked,x=>{v(x,e.node.indeterminate)}),Te(()=>e.node.expanded,x=>{Ye(()=>i.value=x),x&&(o.value=!0)});const p=x=>ux(a.props.nodeKey,x.data),h=x=>{const A=e.props.class;if(!A)return{};let k;if(it(A)){const{data:R}=x;k=A(R,x)}else k=A;return ut(k)?{[k]:!0}:k},v=(x,A)=>{(s.value!==x||l.value!==A)&&a.ctx.emit("check-change",e.node.data,x,A),s.value=x,l.value=A},g=x=>{eE(a.store,a.ctx.emit,()=>a.store.value.setCurrentNode(e.node)),a.currentNode.value=e.node,a.props.expandOnClickNode&&y(),a.props.checkOnClickNode&&!e.node.disabled&&_(null,{target:{checked:!e.node.checked}}),a.ctx.emit("node-click",e.node.data,e.node,d,x)},m=x=>{a.instance.vnode.props.onNodeContextmenu&&(x.stopPropagation(),x.preventDefault()),a.ctx.emit("node-contextmenu",x,e.node.data,e.node,d)},y=()=>{e.node.isLeaf||(i.value?(a.ctx.emit("node-collapse",e.node.data,e.node,d),e.node.collapse()):(e.node.expand(),t.emit("node-expand",e.node.data,e.node,d)))},_=(x,A)=>{e.node.setChecked(A.target.checked,!a.props.checkStrictly),Ye(()=>{const k=a.store.value;a.ctx.emit("check",e.node.data,{checkedNodes:k.getCheckedNodes(),checkedKeys:k.getCheckedKeys(),halfCheckedNodes:k.getHalfCheckedNodes(),halfCheckedKeys:k.getHalfCheckedKeys()})})};return{ns:r,node$:u,tree:a,expanded:i,childNodeRendered:o,oldChecked:s,oldIndeterminate:l,getNodeKey:p,getNodeClass:h,handleSelectChange:v,handleClick:g,handleContextMenu:m,handleExpandIconClick:y,handleCheckChange:_,handleChildNodeExpand:(x,A,k)=>{n(A),a.ctx.emit("node-expand",x,A,k)},handleDragStart:x=>{a.props.draggable&&c.treeNodeDragStart({event:x,treeNode:e})},handleDragOver:x=>{x.preventDefault(),a.props.draggable&&c.treeNodeDragOver({event:x,treeNode:{$el:u.value,node:e.node}})},handleDrop:x=>{x.preventDefault()},handleDragEnd:x=>{a.props.draggable&&c.treeNodeDragEnd(x)},CaretRight:aT}}}),QZe=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],JZe=["aria-expanded"];function eQe(e,t,r,n,a,i){const o=pt("el-icon"),s=pt("el-checkbox"),l=pt("loading"),u=pt("node-content"),c=pt("el-tree-node"),d=pt("el-collapse-transition");return ct((I(),$("div",{ref:"node$",class:V([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:t[1]||(t[1]=tt((...f)=>e.handleClick&&e.handleClick(...f),["stop"])),onContextmenu:t[2]||(t[2]=(...f)=>e.handleContextMenu&&e.handleContextMenu(...f)),onDragstart:t[3]||(t[3]=tt((...f)=>e.handleDragStart&&e.handleDragStart(...f),["stop"])),onDragover:t[4]||(t[4]=tt((...f)=>e.handleDragOver&&e.handleDragOver(...f),["stop"])),onDragend:t[5]||(t[5]=tt((...f)=>e.handleDragEnd&&e.handleDragEnd(...f),["stop"])),onDrop:t[6]||(t[6]=tt((...f)=>e.handleDrop&&e.handleDrop(...f),["stop"]))},[N("div",{class:V(e.ns.be("node","content")),style:qe({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(I(),pe(o,{key:0,class:V([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:tt(e.handleExpandIconClick,["stop"])},{default:oe(()=>[(I(),pe(xt(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):ue("v-if",!0),e.showCheckbox?(I(),pe(s,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:t[0]||(t[0]=tt(()=>{},["stop"])),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):ue("v-if",!0),e.node.loading?(I(),pe(o,{key:2,class:V([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:oe(()=>[Q(l)]),_:1},8,["class"])):ue("v-if",!0),Q(u,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),Q(d,null,{default:oe(()=>[!e.renderAfterExpand||e.childNodeRendered?ct((I(),$("div",{key:0,class:V(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded},[(I(!0),$(je,null,Ot(e.node.childNodes,f=>(I(),pe(c,{key:e.getNodeKey(f),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:f,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,JZe)),[[Gt,e.expanded]]):ue("v-if",!0)]),_:1})],42,QZe)),[[Gt,e.node.visible]])}var tQe=De(ZZe,[["render",eQe],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue"]]);function rQe({el$:e},t){const r=ke("tree"),n=or([]),a=or([]);gt(()=>{o()}),Ks(()=>{n.value=Array.from(e.value.querySelectorAll("[role=treeitem]")),a.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"))}),Te(a,s=>{s.forEach(l=>{l.setAttribute("tabindex","-1")})}),yr(e,"keydown",s=>{const l=s.target;if(!l.className.includes(r.b("node")))return;const u=s.code;n.value=Array.from(e.value.querySelectorAll(`.${r.is("focusable")}[role=treeitem]`));const c=n.value.indexOf(l);let d;if([Xe.up,Xe.down].includes(u)){if(s.preventDefault(),u===Xe.up){d=c===-1?0:c!==0?c-1:n.value.length-1;const p=d;for(;!t.value.getNode(n.value[d].dataset.key).canFocus;){if(d--,d===p){d=-1;break}d<0&&(d=n.value.length-1)}}else{d=c===-1?0:c<n.value.length-1?c+1:0;const p=d;for(;!t.value.getNode(n.value[d].dataset.key).canFocus;){if(d++,d===p){d=-1;break}d>=n.value.length&&(d=0)}}d!==-1&&n.value[d].focus()}[Xe.left,Xe.right].includes(u)&&(s.preventDefault(),l.click());const f=l.querySelector('[type="checkbox"]');[Xe.enter,Xe.space].includes(u)&&f&&(s.preventDefault(),f.click())});const o=()=>{var s;n.value=Array.from(e.value.querySelectorAll(`.${r.is("focusable")}[role=treeitem]`)),a.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"));const l=e.value.querySelectorAll(`.${r.is("checked")}[role=treeitem]`);if(l.length){l[0].setAttribute("tabindex","0");return}(s=n.value[0])==null||s.setAttribute("tabindex","0")}}const nQe=te({name:"ElTree",components:{ElTreeNode:tQe},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:dr}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(e,t){const{t:r}=Ht(),n=ke("tree"),a=U(new YZe({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));a.value.initialize();const i=U(a.value.root),o=U(null),s=U(null),l=U(null),{broadcastExpanded:u}=QV(e),{dragState:c}=XZe({props:e,ctx:t,el$:s,dropIndicator$:l,store:a});rQe({el$:s},a);const d=L(()=>{const{childNodes:P}=i.value;return!P||P.length===0||P.every(({visible:F})=>!F)});Te(()=>e.currentNodeKey,P=>{a.value.setCurrentNodeKey(P)}),Te(()=>e.defaultCheckedKeys,P=>{a.value.setDefaultCheckedKey(P)}),Te(()=>e.defaultExpandedKeys,P=>{a.value.setDefaultExpandedKeys(P)}),Te(()=>e.data,P=>{a.value.setData(P)},{deep:!0}),Te(()=>e.checkStrictly,P=>{a.value.checkStrictly=P});const f=P=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");a.value.filter(P)},p=P=>ux(e.nodeKey,P.data),h=P=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const F=a.value.getNode(P);if(!F)return[];const D=[F.data];let H=F.parent;for(;H&&H!==i.value;)D.push(H.data),H=H.parent;return D.reverse()},v=(P,F)=>a.value.getCheckedNodes(P,F),g=P=>a.value.getCheckedKeys(P),m=()=>{const P=a.value.getCurrentNode();return P?P.data:null},y=()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const P=m();return P?P[e.nodeKey]:null},_=(P,F)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");a.value.setCheckedNodes(P,F)},w=(P,F)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");a.value.setCheckedKeys(P,F)},E=(P,F,D)=>{a.value.setChecked(P,F,D)},S=()=>a.value.getHalfCheckedNodes(),C=()=>a.value.getHalfCheckedKeys(),T=(P,F=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");eE(a,t.emit,()=>a.value.setUserCurrentNode(P,F))},x=(P,F=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");eE(a,t.emit,()=>a.value.setCurrentNodeKey(P,F))},A=P=>a.value.getNode(P),k=P=>{a.value.remove(P)},R=(P,F)=>{a.value.append(P,F)},M=(P,F)=>{a.value.insertBefore(P,F)},O=(P,F)=>{a.value.insertAfter(P,F)},z=(P,F,D)=>{u(F),t.emit("node-expand",P,F,D)},B=(P,F)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");a.value.updateChildren(P,F)};return It("RootTree",{ctx:t,props:e,store:a,root:i,currentNode:o,instance:mt()}),It(qo,void 0),{ns:n,store:a,root:i,currentNode:o,dragState:c,el$:s,dropIndicator$:l,isEmpty:d,filter:f,getNodeKey:p,getNodePath:h,getCheckedNodes:v,getCheckedKeys:g,getCurrentNode:m,getCurrentKey:y,setCheckedNodes:_,setCheckedKeys:w,setChecked:E,getHalfCheckedNodes:S,getHalfCheckedKeys:C,setCurrentNode:T,setCurrentKey:x,t:r,getNode:A,remove:k,append:R,insertBefore:M,insertAfter:O,handleNodeExpand:z,updateKeyChildren:B}}});function aQe(e,t,r,n,a,i){const o=pt("el-tree-node");return I(),$("div",{ref:"el$",class:V([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner",e.dragState.dropType==="inner"),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(I(!0),$(je,null,Ot(e.root.childNodes,s=>(I(),pe(o,{key:e.getNodeKey(s),node:s,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?(I(),$("div",{key:0,class:V(e.ns.e("empty-block"))},[Se(e.$slots,"empty",{},()=>{var s;return[N("span",{class:V(e.ns.e("empty-text"))},Oe((s=e.emptyText)!=null?s:e.t("el.tree.emptyText")),3)]})],2)):ue("v-if",!0),ct(N("div",{ref:"dropIndicator$",class:V(e.ns.e("drop-indicator"))},null,2),[[Gt,e.dragState.showDropIndicator]])],2)}var Ky=De(nQe,[["render",aQe],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue"]]);Ky.install=e=>{e.component(Ky.name,Ky)};const W1=Ky,iQe=W1,oQe=(e,{attrs:t},{tree:r,key:n})=>{const a=ke("tree-select"),i={...bs(pn(e),Object.keys(ud.props)),...t,valueKey:n,popperClass:L(()=>{const o=[a.e("popper")];return e.popperClass&&o.push(e.popperClass),o.join(" ")}),filterMethod:(o="")=>{e.filterMethod&&e.filterMethod(o),Ye(()=>{var s;(s=r.value)==null||s.filter(o)})},onVisibleChange:o=>{var s;(s=t.onVisibleChange)==null||s.call(t,o),e.filterable&&o&&i.filterMethod()}};return i},sQe=te({extends:$1,setup(e,t){const r=$1.setup(e,t);delete r.selectOptionClick;const n=mt().proxy;return Ye(()=>{r.select.cachedOptions.get(n.value)||r.select.onOptionCreate(n)}),r},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function nE(e){return e||e===0}function cx(e){return Array.isArray(e)&&e.length}function ch(e){return Array.isArray(e)?e:nE(e)?[e]:[]}function Yy(e,t,r,n,a){for(let i=0;i<e.length;i++){const o=e[i];if(t(o,i,e,a))return n?n(o,i,e,a):o;{const s=r(o);if(cx(s)){const l=Yy(s,t,r,n,o);if(l)return l}}}}function eH(e,t,r,n){for(let a=0;a<e.length;a++){const i=e[a];t(i,a,e,n);const o=r(i);cx(o)&&eH(o,t,r,i)}}const lQe=(e,{attrs:t,slots:r,emit:n},{select:a,tree:i,key:o})=>{Te(()=>e.modelValue,()=>{e.showCheckbox&&Ye(()=>{const f=i.value;f&&!Ca(f.getCheckedKeys(),ch(e.modelValue))&&f.setCheckedKeys(ch(e.modelValue))})},{immediate:!0,deep:!0});const s=L(()=>({value:o.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...e.props})),l=(f,p)=>{var h;const v=s.value[f];return it(v)?v(p,(h=i.value)==null?void 0:h.getNode(l("value",p))):p[v]},u=ch(e.modelValue).map(f=>Yy(e.data||[],p=>l("value",p)===f,p=>l("children",p),(p,h,v,g)=>g&&l("value",g))).filter(f=>nE(f)),c=L(()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const f=[];return eH(e.data.concat(e.cacheData),p=>{const h=l("value",p);f.push({value:h,currentLabel:l("label",p),isDisabled:l("disabled",p)})},p=>l("children",p)),f}),d=L(()=>c.value.reduce((f,p)=>({...f,[p.value]:p}),{}));return{...bs(pn(e),Object.keys(W1.props)),...t,nodeKey:o,expandOnClickNode:L(()=>!e.checkStrictly&&e.expandOnClickNode),defaultExpandedKeys:L(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(u):u),renderContent:(f,{node:p,data:h,store:v})=>f(sQe,{value:l("value",h),label:l("label",h),disabled:l("disabled",h)},e.renderContent?()=>e.renderContent(f,{node:p,data:h,store:v}):r.default?()=>r.default({node:p,data:h,store:v}):void 0),filterNodeMethod:(f,p,h)=>{var v;return e.filterNodeMethod?e.filterNodeMethod(f,p,h):f?(v=l("label",p))==null?void 0:v.includes(f):!0},onNodeClick:(f,p,h)=>{var v,g,m;if((v=t.onNodeClick)==null||v.call(t,f,p,h),!(e.showCheckbox&&e.checkOnClickNode))if(!e.showCheckbox&&(e.checkStrictly||p.isLeaf)){if(!l("disabled",f)){const y=(g=a.value)==null?void 0:g.options.get(l("value",f));(m=a.value)==null||m.handleOptionSelect(y)}}else e.expandOnClickNode&&h.proxy.handleExpandIconClick()},onCheck:(f,p)=>{if(!e.showCheckbox)return;const h=l("value",f),v=p.checkedKeys,g=e.multiple?ch(e.modelValue).filter(y=>y in d.value&&!i.value.getNode(y)&&!v.includes(y)):[],m=v.concat(g);if(e.checkStrictly)n(Et,e.multiple?m:m.includes(h)?h:void 0);else if(e.multiple)n(Et,i.value.getCheckedKeys(!0));else{const y=Yy([f],E=>!cx(l("children",E))&&!l("disabled",E),E=>l("children",E)),_=y?l("value",y):void 0,w=nE(e.modelValue)&&!!Yy([f],E=>l("value",E)===e.modelValue,E=>l("children",E));n(Et,_===e.modelValue||w?void 0:_)}Ye(()=>{var y;const _=ch(e.modelValue);i.value.setCheckedKeys(_),(y=t.onCheck)==null||y.call(t,f,{checkedKeys:i.value.getCheckedKeys(),checkedNodes:i.value.getCheckedNodes(),halfCheckedKeys:i.value.getHalfCheckedKeys(),halfCheckedNodes:i.value.getHalfCheckedNodes()})})},cacheOptions:c}};var uQe=te({props:{data:{type:Array,default:()=>[]}},setup(e){const t=Ue(ym);return Te(()=>e.data,()=>{var r;e.data.forEach(a=>{t.cachedOptions.has(a.value)||t.cachedOptions.set(a.value,a)});const n=((r=t.selectWrapper)==null?void 0:r.querySelectorAll("input"))||[];Array.from(n).includes(document.activeElement)||t.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const cQe=te({name:"ElTreeSelect",inheritAttrs:!1,props:{...ud.props,...W1.props,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:r,expose:n}=t,a=U(),i=U(),o=L(()=>e.nodeKey||e.valueKey||"value"),s=oQe(e,t,{select:a,tree:i,key:o}),{cacheOptions:l,...u}=lQe(e,t,{select:a,tree:i,key:o}),c=qt({});return n(c),gt(()=>{Object.assign(c,{...bs(i.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...bs(a.value,["focus","blur"])})}),()=>Qe(ud,qt({...s,ref:d=>a.value=d}),{...r,default:()=>[Qe(uQe,{data:l.value}),Qe(W1,qt({...u,ref:d=>i.value=d}))]})}});var qy=De(cQe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-select/src/tree-select.vue"]]);qy.install=e=>{e.component(qy.name,qy)};const dQe=qy,fQe=dQe,dx=Symbol(),pQe={key:-1,level:-1,data:{}};var Kh=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e))(Kh||{}),aE=(e=>(e.ADD="add",e.DELETE="delete",e))(aE||{});const tH={type:Number,default:26},hQe=Le({data:{type:ce(Array),default:()=>Er([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:ce(Object),default:()=>Er({children:"children",label:"label",disabled:"disabled",value:"id"})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:ce(Array),default:()=>Er([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:ce(Array),default:()=>Er([])},indent:{type:Number,default:16},itemSize:tH,icon:{type:dr},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},currentNodeKey:{type:ce([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:ce(Function)},perfMode:{type:Boolean,default:!0}}),vQe=Le({node:{type:ce(Object),default:()=>Er(pQe)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1},itemSize:tH}),gQe=Le({node:{type:ce(Object),required:!0}}),rH="node-click",nH="node-expand",aH="node-collapse",iH="current-change",oH="check",sH="check-change",lH="node-contextmenu",mQe={[rH]:(e,t,r)=>e&&t&&r,[nH]:(e,t)=>e&&t,[aH]:(e,t)=>e&&t,[iH]:(e,t)=>e&&t,[oH]:(e,t)=>e&&t,[sH]:(e,t)=>e&&typeof t=="boolean",[lH]:(e,t,r)=>e&&t&&r},yQe={click:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&typeof t=="boolean"};function _Qe(e,t){const r=U(new Set),n=U(new Set),{emit:a}=mt();Te([()=>t.value,()=>e.defaultCheckedKeys],()=>Ye(()=>{y(e.defaultCheckedKeys)}),{immediate:!0});const i=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:_,maxLevel:w}=t.value,E=r.value,S=new Set;for(let C=w-1;C>=1;--C){const T=_.get(C);T&&T.forEach(x=>{const A=x.children;if(A){let k=!0,R=!1;for(const M of A){const O=M.key;if(E.has(O))R=!0;else if(S.has(O)){k=!1,R=!0;break}else k=!1}k?E.add(x.key):R?(S.add(x.key),E.delete(x.key)):(E.delete(x.key),S.delete(x.key))}})}n.value=S},o=_=>r.value.has(_.key),s=_=>n.value.has(_.key),l=(_,w,E=!0)=>{const S=r.value,C=(T,x)=>{S[x?aE.ADD:aE.DELETE](T.key);const A=T.children;!e.checkStrictly&&A&&A.forEach(k=>{k.disabled||C(k,x)})};C(_,w),i(),E&&u(_,w)},u=(_,w)=>{const{checkedNodes:E,checkedKeys:S}=h(),{halfCheckedNodes:C,halfCheckedKeys:T}=v();a(oH,_.data,{checkedKeys:S,checkedNodes:E,halfCheckedKeys:T,halfCheckedNodes:C}),a(sH,_.data,w)};function c(_=!1){return h(_).checkedKeys}function d(_=!1){return h(_).checkedNodes}function f(){return v().halfCheckedKeys}function p(){return v().halfCheckedNodes}function h(_=!1){const w=[],E=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:S}=t.value;r.value.forEach(C=>{const T=S.get(C);T&&(!_||_&&T.isLeaf)&&(E.push(C),w.push(T.data))})}return{checkedKeys:E,checkedNodes:w}}function v(){const _=[],w=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:E}=t.value;n.value.forEach(S=>{const C=E.get(S);C&&(w.push(S),_.push(C.data))})}return{halfCheckedNodes:_,halfCheckedKeys:w}}function g(_){r.value.clear(),n.value.clear(),y(_)}function m(_,w){if(t!=null&&t.value&&e.showCheckbox){const E=t.value.treeNodeMap.get(_);E&&l(E,w,!1)}}function y(_){if(t!=null&&t.value){const{treeNodeMap:w}=t.value;if(e.showCheckbox&&w&&_)for(const E of _){const S=w.get(E);S&&!o(S)&&l(S,!0,!1)}}}return{updateCheckedKeys:i,toggleCheckbox:l,isChecked:o,isIndeterminate:s,getCheckedKeys:c,getCheckedNodes:d,getHalfCheckedKeys:f,getHalfCheckedNodes:p,setChecked:m,setCheckedKeys:g}}function bQe(e,t){const r=U(new Set([])),n=U(new Set([])),a=L(()=>it(e.filterMethod));function i(s){var l;if(!a.value)return;const u=new Set,c=n.value,d=r.value,f=[],p=((l=t.value)==null?void 0:l.treeNodes)||[],h=e.filterMethod;d.clear();function v(g){g.forEach(m=>{f.push(m),h!=null&&h(s,m.data)?f.forEach(_=>{u.add(_.key)}):m.isLeaf&&d.add(m.key);const y=m.children;if(y&&v(y),!m.isLeaf){if(!u.has(m.key))d.add(m.key);else if(y){let _=!0;for(const w of y)if(!d.has(w.key)){_=!1;break}_?c.add(m.key):c.delete(m.key)}}f.pop()})}return v(p),u}function o(s){return n.value.has(s.key)}return{hiddenExpandIconKeySet:n,hiddenNodeKeySet:r,doFilter:i,isForceHiddenExpandIcon:o}}function wQe(e,t){const r=U(new Set(e.defaultExpandedKeys)),n=U(),a=or();Te(()=>e.currentNodeKey,j=>{n.value=j},{immediate:!0}),Te(()=>e.data,j=>{se(j)},{immediate:!0});const{isIndeterminate:i,isChecked:o,toggleCheckbox:s,getCheckedKeys:l,getCheckedNodes:u,getHalfCheckedKeys:c,getHalfCheckedNodes:d,setChecked:f,setCheckedKeys:p}=_Qe(e,a),{doFilter:h,hiddenNodeKeySet:v,isForceHiddenExpandIcon:g}=bQe(e,a),m=L(()=>{var j;return((j=e.props)==null?void 0:j.value)||Kh.KEY}),y=L(()=>{var j;return((j=e.props)==null?void 0:j.children)||Kh.CHILDREN}),_=L(()=>{var j;return((j=e.props)==null?void 0:j.disabled)||Kh.DISABLED}),w=L(()=>{var j;return((j=e.props)==null?void 0:j.label)||Kh.LABEL}),E=L(()=>{const j=r.value,ae=v.value,ne=[],le=a.value&&a.value.treeNodes||[];function W(){const Z=[];for(let ie=le.length-1;ie>=0;--ie)Z.push(le[ie]);for(;Z.length;){const ie=Z.pop();if(ie&&(ae.has(ie.key)||ne.push(ie),j.has(ie.key))){const me=ie.children;if(me){const be=me.length;for(let ge=be-1;ge>=0;--ge)Z.push(me[ge])}}}}return W(),ne}),S=L(()=>E.value.length>0);function C(j){const ae=new Map,ne=new Map;let le=1;function W(ie,me=1,be=void 0){var ge;const Re=[];for(const Ce of ie){const Ee=A(Ce),xe={level:me,key:Ee,data:Ce};xe.label=R(Ce),xe.parent=be;const $e=x(Ce);xe.disabled=k(Ce),xe.isLeaf=!$e||$e.length===0,$e&&$e.length&&(xe.children=W($e,me+1,xe)),Re.push(xe),ae.set(Ee,xe),ne.has(me)||ne.set(me,[]),(ge=ne.get(me))==null||ge.push(xe)}return me>le&&(le=me),Re}const Z=W(j);return{treeNodeMap:ae,levelTreeNodeMap:ne,maxLevel:le,treeNodes:Z}}function T(j){const ae=h(j);ae&&(r.value=ae)}function x(j){return j[y.value]}function A(j){return j?j[m.value]:""}function k(j){return j[_.value]}function R(j){return j[w.value]}function M(j){r.value.has(j.key)?D(j):F(j)}function O(j){r.value=new Set(j)}function z(j,ae){t(rH,j.data,j,ae),B(j),e.expandOnClickNode&&M(j),e.showCheckbox&&e.checkOnClickNode&&!j.disabled&&s(j,!o(j),!0)}function B(j){Y(j)||(n.value=j.key,t(iH,j.data,j))}function P(j,ae){s(j,ae)}function F(j){const ae=r.value;if(a.value&&e.accordion){const{treeNodeMap:ne}=a.value;ae.forEach(le=>{const W=ne.get(le);j&&j.level===(W==null?void 0:W.level)&&ae.delete(le)})}ae.add(j.key),t(nH,j.data,j)}function D(j){r.value.delete(j.key),t(aH,j.data,j)}function H(j){return r.value.has(j.key)}function K(j){return!!j.disabled}function Y(j){const ae=n.value;return ae!==void 0&&ae===j.key}function X(){var j,ae;if(n.value)return(ae=(j=a.value)==null?void 0:j.treeNodeMap.get(n.value))==null?void 0:ae.data}function J(){return n.value}function fe(j){n.value=j}function se(j){Ye(()=>a.value=C(j))}function q(j){var ae;const ne=St(j)?A(j):j;return(ae=a.value)==null?void 0:ae.treeNodeMap.get(ne)}return{tree:a,flattenTree:E,isNotEmpty:S,getKey:A,getChildren:x,toggleExpand:M,toggleCheckbox:s,isExpanded:H,isChecked:o,isIndeterminate:i,isDisabled:K,isCurrent:Y,isForceHiddenExpandIcon:g,handleNodeClick:z,handleNodeCheck:P,getCurrentNode:X,getCurrentKey:J,setCurrentKey:fe,getCheckedKeys:l,getCheckedNodes:u,getHalfCheckedKeys:c,getHalfCheckedNodes:d,setChecked:f,setCheckedKeys:p,filter:T,setData:se,getNode:q,expandNode:F,collapseNode:D,setExpandedKeys:O}}var SQe=te({name:"ElTreeNodeContent",props:gQe,setup(e){const t=Ue(dx),r=ke("tree");return()=>{const n=e.node,{data:a}=n;return t!=null&&t.ctx.slots.default?t.ctx.slots.default({node:n,data:a}):Qe("span",{class:r.be("node","label")},[n==null?void 0:n.label])}}});const EQe=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],CQe=te({name:"ElTreeNode"}),TQe=te({...CQe,props:vQe,emits:yQe,setup(e,{emit:t}){const r=e,n=Ue(dx),a=ke("tree"),i=L(()=>{var d;return(d=n==null?void 0:n.props.indent)!=null?d:16}),o=L(()=>{var d;return(d=n==null?void 0:n.props.icon)!=null?d:aT}),s=d=>{t("click",r.node,d)},l=()=>{t("toggle",r.node)},u=d=>{t("check",r.node,d)},c=d=>{var f,p,h,v;(h=(p=(f=n==null?void 0:n.instance)==null?void 0:f.vnode)==null?void 0:p.props)!=null&&h.onNodeContextmenu&&(d.stopPropagation(),d.preventDefault()),n==null||n.ctx.emit(lH,d,(v=r.node)==null?void 0:v.data,r.node)};return(d,f)=>{var p,h,v;return I(),$("div",{ref:"node$",class:V([b(a).b("node"),b(a).is("expanded",d.expanded),b(a).is("current",d.current),b(a).is("focusable",!d.disabled),b(a).is("checked",!d.disabled&&d.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":d.expanded,"aria-disabled":d.disabled,"aria-checked":d.checked,"data-key":(p=d.node)==null?void 0:p.key,onClick:tt(s,["stop"]),onContextmenu:c},[N("div",{class:V(b(a).be("node","content")),style:qe({paddingLeft:`${(d.node.level-1)*b(i)}px`,height:d.itemSize+"px"})},[b(o)?(I(),pe(b(Ke),{key:0,class:V([b(a).is("leaf",!!((h=d.node)!=null&&h.isLeaf)),b(a).is("hidden",d.hiddenExpandIcon),{expanded:!((v=d.node)!=null&&v.isLeaf)&&d.expanded},b(a).be("node","expand-icon")]),onClick:tt(l,["stop"])},{default:oe(()=>[(I(),pe(xt(b(o))))]),_:1},8,["class","onClick"])):ue("v-if",!0),d.showCheckbox?(I(),pe(b(Di),{key:1,"model-value":d.checked,indeterminate:d.indeterminate,disabled:d.disabled,onChange:u,onClick:f[0]||(f[0]=tt(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):ue("v-if",!0),Q(b(SQe),{node:d.node},null,8,["node"])],6)],42,EQe)}}});var xQe=De(TQe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree-node.vue"]]);const AQe=te({name:"ElTreeV2"}),kQe=te({...AQe,props:hQe,emits:mQe,setup(e,{expose:t,emit:r}){const n=e,a=Cn(),i=L(()=>n.itemSize);It(dx,{ctx:{emit:r,slots:a},props:n,instance:mt()}),It(qo,void 0);const{t:o}=Ht(),s=ke("tree"),{flattenTree:l,isNotEmpty:u,toggleExpand:c,isExpanded:d,isIndeterminate:f,isChecked:p,isDisabled:h,isCurrent:v,isForceHiddenExpandIcon:g,handleNodeClick:m,handleNodeCheck:y,toggleCheckbox:_,getCurrentNode:w,getCurrentKey:E,setCurrentKey:S,getCheckedKeys:C,getCheckedNodes:T,getHalfCheckedKeys:x,getHalfCheckedNodes:A,setChecked:k,setCheckedKeys:R,filter:M,setData:O,getNode:z,expandNode:B,collapseNode:P,setExpandedKeys:F}=wQe(n,r);return t({toggleCheckbox:_,getCurrentNode:w,getCurrentKey:E,setCurrentKey:S,getCheckedKeys:C,getCheckedNodes:T,getHalfCheckedKeys:x,getHalfCheckedNodes:A,setChecked:k,setCheckedKeys:R,filter:M,setData:O,getNode:z,expandNode:B,collapseNode:P,setExpandedKeys:F}),(D,H)=>{var K;return I(),$("div",{class:V([b(s).b(),{[b(s).m("highlight-current")]:D.highlightCurrent}]),role:"tree"},[b(u)?(I(),pe(b(pV),{key:0,"class-name":b(s).b("virtual-list"),data:b(l),total:b(l).length,height:D.height,"item-size":b(i),"perf-mode":D.perfMode},{default:oe(({data:Y,index:X,style:J})=>[(I(),pe(xQe,{key:Y[X].key,style:qe(J),node:Y[X],expanded:b(d)(Y[X]),"show-checkbox":D.showCheckbox,checked:b(p)(Y[X]),indeterminate:b(f)(Y[X]),"item-size":b(i),disabled:b(h)(Y[X]),current:b(v)(Y[X]),"hidden-expand-icon":b(g)(Y[X]),onClick:b(m),onToggle:b(c),onCheck:b(y)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(I(),$("div",{key:1,class:V(b(s).e("empty-block"))},[N("span",{class:V(b(s).e("empty-text"))},Oe((K=D.emptyText)!=null?K:b(o)("el.tree.emptyText")),3)],2))],2)}}});var IQe=De(kQe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree.vue"]]);const RQe=bt(IQe),uH=Symbol("uploadContextKey"),MQe="ElUpload";class LQe extends Error{constructor(t,r,n,a){super(t),this.name="UploadAjaxError",this.status=r,this.method=n,this.url=a}}function sM(e,t,r){let n;return r.response?n=`${r.response.error||r.response}`:r.responseText?n=`${r.responseText}`:n=`fail to ${t.method} ${e} ${r.status}`,new LQe(n,r.status,t.method,e)}function DQe(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const OQe=e=>{typeof XMLHttpRequest>"u"&&rn(MQe,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,r=e.action;t.upload&&t.upload.addEventListener("progress",i=>{const o=i;o.percent=i.total>0?i.loaded/i.total*100:0,e.onProgress(o)});const n=new FormData;if(e.data)for(const[i,o]of Object.entries(e.data))He(o)&&o.length?n.append(i,...o):n.append(i,o);n.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(sM(r,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(sM(r,e,t));e.onSuccess(DQe(t))}),t.open(e.method,r,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const a=e.headers||{};if(a instanceof Headers)a.forEach((i,o)=>t.setRequestHeader(o,i));else for(const[i,o]of Object.entries(a))Yr(o)||t.setRequestHeader(i,String(o));return t.send(n),t},cH=["text","picture","picture-card"];let NQe=1;const iE=()=>Date.now()+NQe++,dH=Le({action:{type:String,default:"#"},headers:{type:ce(Object)},method:{type:String,default:"post"},data:{type:ce([Object,Function,Promise]),default:()=>Er({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:ce(Array),default:()=>Er([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:cH,default:"text"},httpRequest:{type:ce(Function),default:OQe},disabled:Boolean,limit:Number}),PQe=Le({...dH,beforeUpload:{type:ce(Function),default:nr},beforeRemove:{type:ce(Function)},onRemove:{type:ce(Function),default:nr},onChange:{type:ce(Function),default:nr},onPreview:{type:ce(Function),default:nr},onSuccess:{type:ce(Function),default:nr},onProgress:{type:ce(Function),default:nr},onError:{type:ce(Function),default:nr},onExceed:{type:ce(Function),default:nr}}),$Qe=Le({files:{type:ce(Array),default:()=>Er([])},disabled:{type:Boolean,default:!1},handlePreview:{type:ce(Function),default:nr},listType:{type:String,values:cH,default:"text"}}),BQe={remove:e=>!!e},FQe=["onKeydown"],zQe=["src"],VQe=["onClick"],HQe=["title"],UQe=["onClick"],GQe=["onClick"],WQe=te({name:"ElUploadList"}),KQe=te({...WQe,props:$Qe,emits:BQe,setup(e,{emit:t}){const r=e,{t:n}=Ht(),a=ke("upload"),i=ke("icon"),o=ke("list"),s=$a(),l=U(!1),u=L(()=>[a.b("list"),a.bm("list",r.listType),a.is("disabled",r.disabled)]),c=d=>{t("remove",d)};return(d,f)=>(I(),pe(eB,{tag:"ul",class:V(b(u)),name:b(o).b()},{default:oe(()=>[(I(!0),$(je,null,Ot(d.files,p=>(I(),$("li",{key:p.uid||p.name,class:V([b(a).be("list","item"),b(a).is(p.status),{focusing:l.value}]),tabindex:"0",onKeydown:Ut(h=>!b(s)&&c(p),["delete"]),onFocus:f[0]||(f[0]=h=>l.value=!0),onBlur:f[1]||(f[1]=h=>l.value=!1),onClick:f[2]||(f[2]=h=>l.value=!1)},[Se(d.$slots,"default",{file:p},()=>[d.listType==="picture"||p.status!=="uploading"&&d.listType==="picture-card"?(I(),$("img",{key:0,class:V(b(a).be("list","item-thumbnail")),src:p.url,alt:""},null,10,zQe)):ue("v-if",!0),p.status==="uploading"||d.listType!=="picture-card"?(I(),$("div",{key:1,class:V(b(a).be("list","item-info"))},[N("a",{class:V(b(a).be("list","item-name")),onClick:tt(h=>d.handlePreview(p),["prevent"])},[Q(b(Ke),{class:V(b(i).m("document"))},{default:oe(()=>[Q(b(r7))]),_:1},8,["class"]),N("span",{class:V(b(a).be("list","item-file-name")),title:p.name},Oe(p.name),11,HQe)],10,VQe),p.status==="uploading"?(I(),pe(b(aV),{key:0,type:d.listType==="picture-card"?"circle":"line","stroke-width":d.listType==="picture-card"?6:2,percentage:Number(p.percentage),style:qe(d.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):ue("v-if",!0)],2)):ue("v-if",!0),N("label",{class:V(b(a).be("list","item-status-label"))},[d.listType==="text"?(I(),pe(b(Ke),{key:0,class:V([b(i).m("upload-success"),b(i).m("circle-check")])},{default:oe(()=>[Q(b(m_))]),_:1},8,["class"])):["picture-card","picture"].includes(d.listType)?(I(),pe(b(Ke),{key:1,class:V([b(i).m("upload-success"),b(i).m("check")])},{default:oe(()=>[Q(b(Np))]),_:1},8,["class"])):ue("v-if",!0)],2),b(s)?ue("v-if",!0):(I(),pe(b(Ke),{key:2,class:V(b(i).m("close")),onClick:h=>c(p)},{default:oe(()=>[Q(b(Ii))]),_:2},1032,["class","onClick"])),ue(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),ue(" This is a bug which needs to be fixed "),ue(" TODO: Fix the incorrect navigation interaction "),b(s)?ue("v-if",!0):(I(),$("i",{key:3,class:V(b(i).m("close-tip"))},Oe(b(n)("el.upload.deleteTip")),3)),d.listType==="picture-card"?(I(),$("span",{key:4,class:V(b(a).be("list","item-actions"))},[N("span",{class:V(b(a).be("list","item-preview")),onClick:h=>d.handlePreview(p)},[Q(b(Ke),{class:V(b(i).m("zoom-in"))},{default:oe(()=>[Q(b(lT))]),_:1},8,["class"])],10,UQe),b(s)?ue("v-if",!0):(I(),$("span",{key:0,class:V(b(a).be("list","item-delete")),onClick:h=>c(p)},[Q(b(Ke),{class:V(b(i).m("delete"))},{default:oe(()=>[Q(b(t7))]),_:1},8,["class"])],10,GQe))],2)):ue("v-if",!0)])],42,FQe))),128)),Se(d.$slots,"append")]),_:3},8,["class","name"]))}});var lM=De(KQe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue"]]);const YQe=Le({disabled:{type:Boolean,default:!1}}),qQe={file:e=>He(e)},jQe=["onDrop","onDragover"],fH="ElUploadDrag",XQe=te({name:fH}),ZQe=te({...XQe,props:YQe,emits:qQe,setup(e,{emit:t}){const r=Ue(uH);r||rn(fH,"usage: <el-upload><el-upload-dragger /></el-upload>");const n=ke("upload"),a=U(!1),i=$a(),o=l=>{if(i.value)return;a.value=!1,l.stopPropagation();const u=Array.from(l.dataTransfer.files),c=r.accept.value;if(!c){t("file",u);return}const d=u.filter(f=>{const{type:p,name:h}=f,v=h.includes(".")?`.${h.split(".").pop()}`:"",g=p.replace(/\/.*$/,"");return c.split(",").map(m=>m.trim()).filter(m=>m).some(m=>m.startsWith(".")?v===m:/\/\*$/.test(m)?g===m.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(m)?p===m:!1)});t("file",d)},s=()=>{i.value||(a.value=!0)};return(l,u)=>(I(),$("div",{class:V([b(n).b("dragger"),b(n).is("dragover",a.value)]),onDrop:tt(o,["prevent"]),onDragover:tt(s,["prevent"]),onDragleave:u[0]||(u[0]=tt(c=>a.value=!1,["prevent"]))},[Se(l.$slots,"default")],42,jQe))}});var QQe=De(ZQe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-dragger.vue"]]);const JQe=Le({...dH,beforeUpload:{type:ce(Function),default:nr},onRemove:{type:ce(Function),default:nr},onStart:{type:ce(Function),default:nr},onSuccess:{type:ce(Function),default:nr},onProgress:{type:ce(Function),default:nr},onError:{type:ce(Function),default:nr},onExceed:{type:ce(Function),default:nr}}),eJe=["onKeydown"],tJe=["name","multiple","accept"],rJe=te({name:"ElUploadContent",inheritAttrs:!1}),nJe=te({...rJe,props:JQe,setup(e,{expose:t}){const r=e,n=ke("upload"),a=$a(),i=or({}),o=or(),s=v=>{if(v.length===0)return;const{autoUpload:g,limit:m,fileList:y,multiple:_,onStart:w,onExceed:E}=r;if(m&&y.length+v.length>m){E(v,y);return}_||(v=v.slice(0,1));for(const S of v){const C=S;C.uid=iE(),w(C),g&&l(C)}},l=async v=>{if(o.value.value="",!r.beforeUpload)return c(v);let g,m={};try{const _=r.data,w=r.beforeUpload(v);m=_1(r.data)?R1(r.data):r.data,g=await w,_1(r.data)&&Ca(_,m)&&(m=R1(r.data))}catch{g=!1}if(g===!1){r.onRemove(v);return}let y=v;g instanceof Blob&&(g instanceof File?y=g:y=new File([g],v.name,{type:v.type})),c(Object.assign(y,{uid:v.uid}),m)},u=async(v,g)=>it(v)?v(g):v,c=async(v,g)=>{const{headers:m,data:y,method:_,withCredentials:w,name:E,action:S,onProgress:C,onSuccess:T,onError:x,httpRequest:A}=r;try{g=await u(g??y,v)}catch{r.onRemove(v);return}const{uid:k}=v,R={headers:m||{},withCredentials:w,file:v,data:g,method:_,filename:E,action:S,onProgress:O=>{C(O,v)},onSuccess:O=>{T(O,v),delete i.value[k]},onError:O=>{x(O,v),delete i.value[k]}},M=A(R);i.value[k]=M,M instanceof Promise&&M.then(R.onSuccess,R.onError)},d=v=>{const g=v.target.files;g&&s(Array.from(g))},f=()=>{a.value||(o.value.value="",o.value.click())},p=()=>{f()};return t({abort:v=>{Qie(i.value).filter(v?([m])=>String(v.uid)===m:()=>!0).forEach(([m,y])=>{y instanceof XMLHttpRequest&&y.abort(),delete i.value[m]})},upload:l}),(v,g)=>(I(),$("div",{class:V([b(n).b(),b(n).m(v.listType),b(n).is("drag",v.drag)]),tabindex:"0",onClick:f,onKeydown:Ut(tt(p,["self"]),["enter","space"])},[v.drag?(I(),pe(QQe,{key:0,disabled:b(a),onFile:s},{default:oe(()=>[Se(v.$slots,"default")]),_:3},8,["disabled"])):Se(v.$slots,"default",{key:1}),N("input",{ref_key:"inputRef",ref:o,class:V(b(n).e("input")),name:v.name,multiple:v.multiple,accept:v.accept,type:"file",onChange:d,onClick:g[0]||(g[0]=tt(()=>{},["stop"]))},null,42,tJe)],42,eJe))}});var uM=De(nJe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const cM="ElUpload",dM=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},aJe=(e,t)=>{const r=BJ(e,"fileList",void 0,{passive:!0}),n=f=>r.value.find(p=>p.uid===f.uid);function a(f){var p;(p=t.value)==null||p.abort(f)}function i(f=["ready","uploading","success","fail"]){r.value=r.value.filter(p=>!f.includes(p.status))}const o=(f,p)=>{const h=n(p);h&&(console.error(f),h.status="fail",r.value.splice(r.value.indexOf(h),1),e.onError(f,h,r.value),e.onChange(h,r.value))},s=(f,p)=>{const h=n(p);h&&(e.onProgress(f,h,r.value),h.status="uploading",h.percentage=Math.round(f.percent))},l=(f,p)=>{const h=n(p);h&&(h.status="success",h.response=f,e.onSuccess(f,h,r.value),e.onChange(h,r.value))},u=f=>{Yr(f.uid)&&(f.uid=iE());const p={name:f.name,percentage:0,status:"ready",size:f.size,raw:f,uid:f.uid};if(e.listType==="picture-card"||e.listType==="picture")try{p.url=URL.createObjectURL(f)}catch(h){h.message,e.onError(h,p,r.value)}r.value=[...r.value,p],e.onChange(p,r.value)},c=async f=>{const p=f instanceof File?n(f):f;p||rn(cM,"file to be removed not found");const h=v=>{a(v);const g=r.value;g.splice(g.indexOf(v),1),e.onRemove(v,g),dM(v)};e.beforeRemove?await e.beforeRemove(p,r.value)!==!1&&h(p):h(p)};function d(){r.value.filter(({status:f})=>f==="ready").forEach(({raw:f})=>{var p;return f&&((p=t.value)==null?void 0:p.upload(f))})}return Te(()=>e.listType,f=>{f!=="picture-card"&&f!=="picture"||(r.value=r.value.map(p=>{const{raw:h,url:v}=p;if(!v&&h)try{p.url=URL.createObjectURL(h)}catch(g){e.onError(g,p,r.value)}return p}))}),Te(r,f=>{for(const p of f)p.uid||(p.uid=iE()),p.status||(p.status="success")},{immediate:!0,deep:!0}),{uploadFiles:r,abort:a,clearFiles:i,handleError:o,handleProgress:s,handleStart:u,handleSuccess:l,handleRemove:c,submit:d,revokeFileObjectURL:dM}},iJe=te({name:"ElUpload"}),oJe=te({...iJe,props:PQe,setup(e,{expose:t}){const r=e,n=$a(),a=or(),{abort:i,submit:o,clearFiles:s,uploadFiles:l,handleStart:u,handleError:c,handleRemove:d,handleSuccess:f,handleProgress:p,revokeFileObjectURL:h}=aJe(r,a),v=L(()=>r.listType==="picture-card"),g=L(()=>({...r,fileList:l.value,onStart:u,onProgress:p,onSuccess:f,onError:c,onRemove:d}));return vr(()=>{l.value.forEach(h)}),It(uH,{accept:xr(r,"accept")}),t({abort:i,submit:o,clearFiles:s,handleStart:u,handleRemove:d}),(m,y)=>(I(),$("div",null,[b(v)&&m.showFileList?(I(),pe(lM,{key:0,disabled:b(n),"list-type":m.listType,files:b(l),"handle-preview":m.onPreview,onRemove:b(d)},Ms({append:oe(()=>[Q(uM,Tt({ref_key:"uploadRef",ref:a},b(g)),{default:oe(()=>[m.$slots.trigger?Se(m.$slots,"trigger",{key:0}):ue("v-if",!0),!m.$slots.trigger&&m.$slots.default?Se(m.$slots,"default",{key:1}):ue("v-if",!0)]),_:3},16)]),_:2},[m.$slots.file?{name:"default",fn:oe(({file:_})=>[Se(m.$slots,"file",{file:_})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):ue("v-if",!0),!b(v)||b(v)&&!m.showFileList?(I(),pe(uM,Tt({key:1,ref_key:"uploadRef",ref:a},b(g)),{default:oe(()=>[m.$slots.trigger?Se(m.$slots,"trigger",{key:0}):ue("v-if",!0),!m.$slots.trigger&&m.$slots.default?Se(m.$slots,"default",{key:1}):ue("v-if",!0)]),_:3},16)):ue("v-if",!0),m.$slots.trigger?Se(m.$slots,"default",{key:2}):ue("v-if",!0),Se(m.$slots,"tip"),!b(v)&&m.showFileList?(I(),pe(lM,{key:3,disabled:b(n),"list-type":m.listType,files:b(l),"handle-preview":m.onPreview,onRemove:b(d)},Ms({_:2},[m.$slots.file?{name:"default",fn:oe(({file:_})=>[Se(m.$slots,"file",{file:_})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):ue("v-if",!0)]))}});var sJe=De(oJe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const lJe=bt(sJe),uJe=Le({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:ce([String,Array]),default:"Element Plus"},font:{type:ce(Object)},gap:{type:ce(Array),default:()=>[100,100]},offset:{type:ce(Array)}});function cJe(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function dJe(e){return Object.keys(e).map(t=>`${cJe(t)}: ${e[t]};`).join(" ")}function fJe(){return window.devicePixelRatio||1}const pJe=(e,t)=>{let r=!1;return e.removedNodes.length&&t&&(r=Array.from(e.removedNodes).includes(t)),e.type==="attributes"&&e.target===t&&(r=!0),r},pH=3;function iw(e,t,r=1){const n=document.createElement("canvas"),a=n.getContext("2d"),i=e*r,o=t*r;return n.setAttribute("width",`${i}px`),n.setAttribute("height",`${o}px`),a.save(),[a,n,i,o]}function hJe(){function e(t,r,n,a,i,o,s,l){const[u,c,d,f]=iw(a,i,n);if(t instanceof HTMLImageElement)u.drawImage(t,0,0,d,f);else{const{color:K,fontSize:Y,fontStyle:X,fontWeight:J,fontFamily:fe}=o,se=Number(Y)*n;u.font=`${X} normal ${J} ${se}px/${i}px ${fe}`,u.fillStyle=K,u.textAlign="center",u.textBaseline="top";const q=Array.isArray(t)?t:[t];q==null||q.forEach((j,ae)=>{u.fillText(j??"",d/2,ae*(se+pH*n))})}const p=Math.PI/180*Number(r),h=Math.max(a,i),[v,g,m]=iw(h,h,n);v.translate(m/2,m/2),v.rotate(p),d>0&&f>0&&v.drawImage(c,-d/2,-f/2);function y(K,Y){const X=K*Math.cos(p)-Y*Math.sin(p),J=K*Math.sin(p)+Y*Math.cos(p);return[X,J]}let _=0,w=0,E=0,S=0;const C=d/2,T=f/2;[[0-C,0-T],[0+C,0-T],[0+C,0+T],[0-C,0+T]].forEach(([K,Y])=>{const[X,J]=y(K,Y);_=Math.min(_,X),w=Math.max(w,X),E=Math.min(E,J),S=Math.max(S,J)});const A=_+m/2,k=E+m/2,R=w-_,M=S-E,O=s*n,z=l*n,B=(R+O)*2,P=M+z,[F,D]=iw(B,P);function H(K=0,Y=0){F.drawImage(g,A,k,R,M,K,Y,R,M)}return H(),H(R+O,-M/2-z/2),H(R+O,+M/2+z/2),[D.toDataURL(),B/n,P/n]}return e}const vJe=te({name:"ElWatermark"}),gJe=te({...vJe,props:uJe,setup(e){const t=e,r={position:"relative"},n=L(()=>{var T,x;return(x=(T=t.font)==null?void 0:T.color)!=null?x:"rgba(0,0,0,.15)"}),a=L(()=>{var T,x;return(x=(T=t.font)==null?void 0:T.fontSize)!=null?x:16}),i=L(()=>{var T,x;return(x=(T=t.font)==null?void 0:T.fontWeight)!=null?x:"normal"}),o=L(()=>{var T,x;return(x=(T=t.font)==null?void 0:T.fontStyle)!=null?x:"normal"}),s=L(()=>{var T,x;return(x=(T=t.font)==null?void 0:T.fontFamily)!=null?x:"sans-serif"}),l=L(()=>t.gap[0]),u=L(()=>t.gap[1]),c=L(()=>l.value/2),d=L(()=>u.value/2),f=L(()=>{var T,x;return(x=(T=t.offset)==null?void 0:T[0])!=null?x:c.value}),p=L(()=>{var T,x;return(x=(T=t.offset)==null?void 0:T[1])!=null?x:d.value}),h=()=>{const T={zIndex:t.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let x=f.value-c.value,A=p.value-d.value;return x>0&&(T.left=`${x}px`,T.width=`calc(100% - ${x}px)`,x=0),A>0&&(T.top=`${A}px`,T.height=`calc(100% - ${A}px)`,A=0),T.backgroundPosition=`${x}px ${A}px`,T},v=or(null),g=or(),m=U(!1),y=()=>{g.value&&(g.value.remove(),g.value=void 0)},_=(T,x)=>{var A;v.value&&g.value&&(m.value=!0,g.value.setAttribute("style",dJe({...h(),backgroundImage:`url('${T}')`,backgroundSize:`${Math.floor(x)}px`})),(A=v.value)==null||A.append(g.value),setTimeout(()=>{m.value=!1}))},w=T=>{let x=120,A=64;const k=t.image,R=t.content,M=t.width,O=t.height;if(!k&&T.measureText){T.font=`${Number(a.value)}px ${s.value}`;const z=Array.isArray(R)?R:[R],B=z.map(P=>{const F=T.measureText(P);return[F.width,F.fontBoundingBoxAscent+F.fontBoundingBoxDescent]});x=Math.ceil(Math.max(...B.map(P=>P[0]))),A=Math.ceil(Math.max(...B.map(P=>P[1])))*z.length+(z.length-1)*pH}return[M??x,O??A]},E=hJe(),S=()=>{const x=document.createElement("canvas").getContext("2d"),A=t.image,k=t.content,R=t.rotate;if(x){g.value||(g.value=document.createElement("div"));const M=fJe(),[O,z]=w(x),B=P=>{const[F,D]=E(P||"",R,M,O,z,{color:n.value,fontSize:a.value,fontStyle:o.value,fontWeight:i.value,fontFamily:s.value},l.value,u.value);_(F,D)};if(A){const P=new Image;P.onload=()=>{B(P)},P.onerror=()=>{B(k)},P.crossOrigin="anonymous",P.referrerPolicy="no-referrer",P.src=A}else B(k)}};return gt(()=>{S()}),Te(()=>t,()=>{S()},{deep:!0,flush:"post"}),vr(()=>{y()}),LJ(v,T=>{m.value||T.forEach(x=>{pJe(x,g.value)&&(y(),S())})},{attributes:!0}),(T,x)=>(I(),$("div",{ref_key:"containerRef",ref:v,style:qe([r])},[Se(T.$slots,"default")],4))}});var mJe=De(gJe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/watermark/src/watermark.vue"]]);const yJe=bt(mJe);var _Je=[cOe,wOe,YPe,TXe,e9e,s9e,SF,b9e,w9e,Mn,IF,z$e,W$e,iBe,oBe,_7e,i7e,T7e,Di,TBe,nz,$7e,tFe,rFe,Y7e,LFe,rOe,GFe,WFe,KFe,YFe,qFe,hVe,TVe,xVe,HVe,Bz,rHe,YHe,qHe,jHe,Yz,hNe,vNe,Ke,VUe,qz,Un,jz,tGe,wGe,SGe,EGe,CGe,MGe,$We,UWe,QWe,_F,aV,cz,VBe,zBe,vKe,bKe,L7e,Qs,ud,$1,uWe,cYe,yYe,_Ye,jYe,eqe,EV,dqe,bqe,wqe,Lqe,zje,Vje,CXe,zXe,VXe,ug,KXe,y$e,QXe,nZe,aZe,ca,RZe,WZe,iQe,fQe,RQe,lJe,yJe];const ji="ElInfiniteScroll",bJe=50,wJe=200,SJe=0,EJe={delay:{type:Number,default:wJe},distance:{type:Number,default:SJe},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},fx=(e,t)=>Object.entries(EJe).reduce((r,[n,a])=>{var i,o;const{type:s,default:l}=a,u=e.getAttribute(`infinite-scroll-${n}`);let c=(o=(i=t[u])!=null?i:u)!=null?o:l;return c=c==="false"?!1:c,c=s(c),r[n]=Number.isNaN(c)?l:c,r},{}),hH=e=>{const{observer:t}=e[ji];t&&(t.disconnect(),delete e[ji].observer)},CJe=(e,t)=>{const{container:r,containerEl:n,instance:a,observer:i,lastScrollTop:o}=e[ji],{disabled:s,distance:l}=fx(e,a),{clientHeight:u,scrollHeight:c,scrollTop:d}=n,f=d-o;if(e[ji].lastScrollTop=d,i||s||f<0)return;let p=!1;if(r===e)p=c-(u+d)<=l;else{const{clientTop:h,scrollHeight:v}=e,g=HJ(e,n);p=d+u>=g+h+v-l}p&&t.call(a)};function ow(e,t){const{containerEl:r,instance:n}=e[ji],{disabled:a}=fx(e,n);a||r.clientHeight===0||(r.scrollHeight<=r.clientHeight?t.call(n):hH(e))}const TJe={async mounted(e,t){const{instance:r,value:n}=t;it(n)||rn(ji,"'v-infinite-scroll' binding value must be a function"),await Ye();const{delay:a,immediate:i}=fx(e,r),o=nT(e,!0),s=o===window?document.documentElement:o,l=Bc(CJe.bind(null,e,n),a);if(o){if(e[ji]={instance:r,container:o,containerEl:s,delay:a,cb:n,onScroll:l,lastScrollTop:s.scrollTop},i){const u=new MutationObserver(Bc(ow.bind(null,e,n),bJe));e[ji].observer=u,u.observe(e,{childList:!0,subtree:!0}),ow(e,n)}o.addEventListener("scroll",l)}},unmounted(e){const{container:t,onScroll:r}=e[ji];t==null||t.removeEventListener("scroll",r),hH(e)},async updated(e){if(!e[ji])await Ye();else{const{containerEl:t,cb:r,observer:n}=e[ji];t.clientHeight&&n&&ow(e,r)}}},oE=TJe;oE.install=e=>{e.directive("InfiniteScroll",oE)};const xJe=oE;function AJe(e){let t;const r=U(!1),n=qt({...e,originalPosition:"",originalOverflow:"",visible:!1});function a(f){n.text=f}function i(){const f=n.parent,p=d.ns;if(!f.vLoadingAddClassList){let h=f.getAttribute("loading-number");h=Number.parseInt(h)-1,h?f.setAttribute("loading-number",h.toString()):(Ta(f,p.bm("parent","relative")),f.removeAttribute("loading-number")),Ta(f,p.bm("parent","hidden"))}o(),c.unmount()}function o(){var f,p;(p=(f=d.$el)==null?void 0:f.parentNode)==null||p.removeChild(d.$el)}function s(){var f;e.beforeClose&&!e.beforeClose()||(r.value=!0,clearTimeout(t),t=window.setTimeout(l,400),n.visible=!1,(f=e.closed)==null||f.call(e))}function l(){if(!r.value)return;const f=n.parent;r.value=!1,f.vLoadingAddClassList=void 0,i()}const c=iJ(te({name:"ElLoading",setup(f,{expose:p}){const{ns:h,zIndex:v}=I_("loading");return p({ns:h,zIndex:v}),()=>{const g=n.spinner||n.svg,m=Qe("svg",{class:"circular",viewBox:n.svgViewBox?n.svgViewBox:"0 0 50 50",...g?{innerHTML:g}:{}},[Qe("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),y=n.text?Qe("p",{class:h.b("text")},[n.text]):void 0;return Qe(Hr,{name:h.b("fade"),onAfterLeave:l},{default:oe(()=>[ct(Q("div",{style:{backgroundColor:n.background||""},class:[h.b("mask"),n.customClass,n.fullscreen?"is-fullscreen":""]},[Qe("div",{class:h.b("spinner")},[m,y])]),[[Gt,n.visible]])])})}}})),d=c.mount(document.createElement("div"));return{...pn(n),setText:a,removeElLoadingChild:o,close:s,handleAfterLeave:l,vm:d,get $el(){return d.$el}}}let p0;const sE=function(e={}){if(!zt)return;const t=kJe(e);if(t.fullscreen&&p0)return p0;const r=AJe({...t,closed:()=>{var a;(a=t.closed)==null||a.call(t),t.fullscreen&&(p0=void 0)}});IJe(t,t.parent,r),fM(t,t.parent,r),t.parent.vLoadingAddClassList=()=>fM(t,t.parent,r);let n=t.parent.getAttribute("loading-number");return n?n=`${Number.parseInt(n)+1}`:n="1",t.parent.setAttribute("loading-number",n),t.parent.appendChild(r.$el),Ye(()=>r.visible.value=t.visible),t.fullscreen&&(p0=r),r},kJe=e=>{var t,r,n,a;let i;return ut(e.target)?i=(t=document.querySelector(e.target))!=null?t:document.body:i=e.target||document.body,{parent:i===document.body||e.body?document.body:i,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:i===document.body&&((r=e.fullscreen)!=null?r:!0),lock:(n=e.lock)!=null?n:!1,customClass:e.customClass||"",visible:(a=e.visible)!=null?a:!0,target:i}},IJe=async(e,t,r)=>{const{nextZIndex:n}=r.vm.zIndex||r.vm._.exposed.zIndex,a={};if(e.fullscreen)r.originalPosition.value=Al(document.body,"position"),r.originalOverflow.value=Al(document.body,"overflow"),a.zIndex=n();else if(e.parent===document.body){r.originalPosition.value=Al(document.body,"position"),await Ye();for(const i of["top","left"]){const o=i==="top"?"scrollTop":"scrollLeft";a[i]=`${e.target.getBoundingClientRect()[i]+document.body[o]+document.documentElement[o]-Number.parseInt(Al(document.body,`margin-${i}`),10)}px`}for(const i of["height","width"])a[i]=`${e.target.getBoundingClientRect()[i]}px`}else r.originalPosition.value=Al(t,"position");for(const[i,o]of Object.entries(a))r.$el.style[i]=o},fM=(e,t,r)=>{const n=r.vm.ns||r.vm._.exposed.ns;["absolute","fixed","sticky"].includes(r.originalPosition.value)?Ta(t,n.bm("parent","relative")):Do(t,n.bm("parent","relative")),e.fullscreen&&e.lock?Do(t,n.bm("parent","hidden")):Ta(t,n.bm("parent","hidden"))},lE=Symbol("ElLoading"),pM=(e,t)=>{var r,n,a,i;const o=t.instance,s=f=>St(t.value)?t.value[f]:void 0,l=f=>{const p=ut(f)&&(o==null?void 0:o[f])||f;return p&&U(p)},u=f=>l(s(f)||e.getAttribute(`element-loading-${vu(f)}`)),c=(r=s("fullscreen"))!=null?r:t.modifiers.fullscreen,d={text:u("text"),svg:u("svg"),svgViewBox:u("svgViewBox"),spinner:u("spinner"),background:u("background"),customClass:u("customClass"),fullscreen:c,target:(n=s("target"))!=null?n:c?void 0:e,body:(a=s("body"))!=null?a:t.modifiers.body,lock:(i=s("lock"))!=null?i:t.modifiers.lock};e[lE]={options:d,instance:sE(d)}},RJe=(e,t)=>{for(const r of Object.keys(t))cr(t[r])&&(t[r].value=e[r])},hM={mounted(e,t){t.value&&pM(e,t)},updated(e,t){const r=e[lE];t.oldValue!==t.value&&(t.value&&!t.oldValue?pM(e,t):t.value&&t.oldValue?St(t.value)&&RJe(t.value,r.options):r==null||r.instance.close())},unmounted(e){var t;(t=e[lE])==null||t.instance.close()}},MJe={install(e){e.directive("loading",hM),e.config.globalProperties.$loading=sE},directive:hM,service:sE},vH=["success","info","warning","error"],ma=Er({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:zt?document.body:void 0}),LJe=Le({customClass:{type:String,default:ma.customClass},center:{type:Boolean,default:ma.center},dangerouslyUseHTMLString:{type:Boolean,default:ma.dangerouslyUseHTMLString},duration:{type:Number,default:ma.duration},icon:{type:dr,default:ma.icon},id:{type:String,default:ma.id},message:{type:ce([String,Object,Function]),default:ma.message},onClose:{type:ce(Function),required:!1},showClose:{type:Boolean,default:ma.showClose},type:{type:String,values:vH,default:ma.type},offset:{type:Number,default:ma.offset},zIndex:{type:Number,default:ma.zIndex},grouping:{type:Boolean,default:ma.grouping},repeatNum:{type:Number,default:ma.repeatNum}}),DJe={destroy:()=>!0},Ji=SC([]),OJe=e=>{const t=Ji.findIndex(a=>a.id===e),r=Ji[t];let n;return t>0&&(n=Ji[t-1]),{current:r,prev:n}},NJe=e=>{const{prev:t}=OJe(e);return t?t.vm.exposed.bottom.value:0},PJe=(e,t)=>Ji.findIndex(n=>n.id===e)>0?20:t,$Je=["id"],BJe=["innerHTML"],FJe=te({name:"ElMessage"}),zJe=te({...FJe,props:LJe,emits:DJe,setup(e,{expose:t}){const r=e,{Close:n}=uT,{ns:a,zIndex:i}=I_("message"),{currentZIndex:o,nextZIndex:s}=i,l=U(),u=U(!1),c=U(0);let d;const f=L(()=>r.type?r.type==="error"?"danger":r.type:"info"),p=L(()=>{const C=r.type;return{[a.bm("icon",C)]:C&&Jl[C]}}),h=L(()=>r.icon||Jl[r.type]||""),v=L(()=>NJe(r.id)),g=L(()=>PJe(r.id,r.offset)+v.value),m=L(()=>c.value+g.value),y=L(()=>({top:`${g.value}px`,zIndex:o.value}));function _(){r.duration!==0&&({stop:d}=ad(()=>{E()},r.duration))}function w(){d==null||d()}function E(){u.value=!1}function S({code:C}){C===Xe.esc&&E()}return gt(()=>{_(),s(),u.value=!0}),Te(()=>r.repeatNum,()=>{w(),_()}),yr(document,"keydown",S),Yn(l,()=>{c.value=l.value.getBoundingClientRect().height}),t({visible:u,bottom:m,close:E}),(C,T)=>(I(),pe(Hr,{name:b(a).b("fade"),onBeforeLeave:C.onClose,onAfterLeave:T[0]||(T[0]=x=>C.$emit("destroy")),persisted:""},{default:oe(()=>[ct(N("div",{id:C.id,ref_key:"messageRef",ref:l,class:V([b(a).b(),{[b(a).m(C.type)]:C.type&&!C.icon},b(a).is("center",C.center),b(a).is("closable",C.showClose),C.customClass]),style:qe(b(y)),role:"alert",onMouseenter:w,onMouseleave:_},[C.repeatNum>1?(I(),pe(b(SF),{key:0,value:C.repeatNum,type:b(f),class:V(b(a).e("badge"))},null,8,["value","type","class"])):ue("v-if",!0),b(h)?(I(),pe(b(Ke),{key:1,class:V([b(a).e("icon"),b(p)])},{default:oe(()=>[(I(),pe(xt(b(h))))]),_:1},8,["class"])):ue("v-if",!0),Se(C.$slots,"default",{},()=>[C.dangerouslyUseHTMLString?(I(),$(je,{key:1},[ue(" Caution here, message could've been compromised, never use user's input as message "),N("p",{class:V(b(a).e("content")),innerHTML:C.message},null,10,BJe)],2112)):(I(),$("p",{key:0,class:V(b(a).e("content"))},Oe(C.message),3))]),C.showClose?(I(),pe(b(Ke),{key:2,class:V(b(a).e("closeBtn")),onClick:tt(E,["stop"])},{default:oe(()=>[Q(b(n))]),_:1},8,["class","onClick"])):ue("v-if",!0)],46,$Je),[[Gt,u.value]])]),_:3},8,["name","onBeforeLeave"]))}});var VJe=De(zJe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let HJe=1;const gH=e=>{const t=!e||ut(e)||Sr(e)||it(e)?{message:e}:e,r={...ma,...t};if(!r.appendTo)r.appendTo=document.body;else if(ut(r.appendTo)){let n=document.querySelector(r.appendTo);ki(n)||(n=document.body),r.appendTo=n}return r},UJe=e=>{const t=Ji.indexOf(e);if(t===-1)return;Ji.splice(t,1);const{handler:r}=e;r.close()},GJe=({appendTo:e,...t},r)=>{const n=`message_${HJe++}`,a=t.onClose,i=document.createElement("div"),o={...t,id:n,onClose:()=>{a==null||a(),UJe(c)},onDestroy:()=>{ep(null,i)}},s=Q(VJe,o,it(o.message)||Sr(o.message)?{default:it(o.message)?o.message:()=>o.message}:null);s.appContext=r||fp._context,ep(s,i),e.appendChild(i.firstElementChild);const l=s.component,c={id:n,vnode:s,vm:l,handler:{close:()=>{l.exposed.visible.value=!1}},props:s.component.props};return c},fp=(e={},t)=>{if(!zt)return{close:()=>{}};if(at(f3.max)&&Ji.length>=f3.max)return{close:()=>{}};const r=gH(e);if(r.grouping&&Ji.length){const a=Ji.find(({vnode:i})=>{var o;return((o=i.props)==null?void 0:o.message)===r.message});if(a)return a.props.repeatNum+=1,a.props.type=r.type,a.handler}const n=GJe(r,t);return Ji.push(n),n.handler};vH.forEach(e=>{fp[e]=(t={},r)=>{const n=gH(t);return fp({...n,type:e},r)}});function WJe(e){for(const t of Ji)(!e||e===t.props.type)&&t.handler.close()}fp.closeAll=WJe;fp._context=null;const KJe=b7(fp,"$message"),YJe=te({name:"ElMessageBox",directives:{TrapFocus:e$e},components:{ElButton:Mn,ElFocusTrap:M_,ElInput:Un,ElOverlay:zT,ElIcon:Ke,...uT},inheritAttrs:!1,props:{buttonSize:{type:String,validator:w_},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:r,zIndex:n,ns:a,size:i}=I_("message-box",L(()=>e.buttonSize)),{t:o}=r,{nextZIndex:s}=n,l=U(!1),u=qt({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:s()}),c=L(()=>{const z=u.type;return{[a.bm("icon",z)]:z&&Jl[z]}}),d=Da(),f=Da(),p=L(()=>u.icon||Jl[u.type]||""),h=L(()=>!!u.message),v=U(),g=U(),m=U(),y=U(),_=U(),w=L(()=>u.confirmButtonClass);Te(()=>u.inputValue,async z=>{await Ye(),e.boxType==="prompt"&&z!==null&&k()},{immediate:!0}),Te(()=>l.value,z=>{var B,P;z&&(e.boxType!=="prompt"&&(u.autofocus?m.value=(P=(B=_.value)==null?void 0:B.$el)!=null?P:v.value:m.value=v.value),u.zIndex=s()),e.boxType==="prompt"&&(z?Ye().then(()=>{var F;y.value&&y.value.$el&&(u.autofocus?m.value=(F=R())!=null?F:v.value:m.value=v.value)}):(u.editorErrorMessage="",u.validateError=!1))});const E=L(()=>e.draggable);w7(v,g,E),gt(async()=>{await Ye(),e.closeOnHashChange&&window.addEventListener("hashchange",S)}),vr(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",S)});function S(){l.value&&(l.value=!1,Ye(()=>{u.action&&t("action",u.action)}))}const C=()=>{e.closeOnClickModal&&A(u.distinguishCancelAndClose?"close":"cancel")},T=wT(C),x=z=>{if(u.inputType!=="textarea")return z.preventDefault(),A("confirm")},A=z=>{var B;e.boxType==="prompt"&&z==="confirm"&&!k()||(u.action=z,u.beforeClose?(B=u.beforeClose)==null||B.call(u,z,u,S):S())},k=()=>{if(e.boxType==="prompt"){const z=u.inputPattern;if(z&&!z.test(u.inputValue||""))return u.editorErrorMessage=u.inputErrorMessage||o("el.messagebox.error"),u.validateError=!0,!1;const B=u.inputValidator;if(typeof B=="function"){const P=B(u.inputValue);if(P===!1)return u.editorErrorMessage=u.inputErrorMessage||o("el.messagebox.error"),u.validateError=!0,!1;if(typeof P=="string")return u.editorErrorMessage=P,u.validateError=!0,!1}}return u.editorErrorMessage="",u.validateError=!1,!0},R=()=>{const z=y.value.$refs;return z.input||z.textarea},M=()=>{A("close")},O=()=>{e.closeOnPressEscape&&M()};return e.lockScroll&&C7(l),{...pn(u),ns:a,overlayEvent:T,visible:l,hasMessage:h,typeClass:c,contentId:d,inputId:f,btnSize:i,iconComponent:p,confirmButtonClasses:w,rootRef:v,focusStartRef:m,headerRef:g,inputRef:y,confirmRef:_,doClose:S,handleClose:M,onCloseRequested:O,handleWrapperClick:C,handleInputEnter:x,handleAction:A,t:o}}}),qJe=["aria-label","aria-describedby"],jJe=["aria-label"],XJe=["id"];function ZJe(e,t,r,n,a,i){const o=pt("el-icon"),s=pt("close"),l=pt("el-input"),u=pt("el-button"),c=pt("el-focus-trap"),d=pt("el-overlay");return I(),pe(Hr,{name:"fade-in-linear",onAfterLeave:t[11]||(t[11]=f=>e.$emit("vanish")),persisted:""},{default:oe(()=>[ct(Q(d,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:oe(()=>[N("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:V(`${e.ns.namespace.value}-overlay-message-box`),onClick:t[8]||(t[8]=(...f)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...f)),onMousedown:t[9]||(t[9]=(...f)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...f)),onMouseup:t[10]||(t[10]=(...f)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...f))},[Q(c,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:oe(()=>[N("div",{ref:"rootRef",class:V([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),{[e.ns.m("center")]:e.center}]),style:qe(e.customStyle),tabindex:"-1",onClick:t[7]||(t[7]=tt(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(I(),$("div",{key:0,ref:"headerRef",class:V(e.ns.e("header"))},[N("div",{class:V(e.ns.e("title"))},[e.iconComponent&&e.center?(I(),pe(o,{key:0,class:V([e.ns.e("status"),e.typeClass])},{default:oe(()=>[(I(),pe(xt(e.iconComponent)))]),_:1},8,["class"])):ue("v-if",!0),N("span",null,Oe(e.title),1)],2),e.showClose?(I(),$("button",{key:0,type:"button",class:V(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t[0]||(t[0]=f=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:t[1]||(t[1]=Ut(tt(f=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[Q(o,{class:V(e.ns.e("close"))},{default:oe(()=>[Q(s)]),_:1},8,["class"])],42,jJe)):ue("v-if",!0)],2)):ue("v-if",!0),N("div",{id:e.contentId,class:V(e.ns.e("content"))},[N("div",{class:V(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(I(),pe(o,{key:0,class:V([e.ns.e("status"),e.typeClass])},{default:oe(()=>[(I(),pe(xt(e.iconComponent)))]),_:1},8,["class"])):ue("v-if",!0),e.hasMessage?(I(),$("div",{key:1,class:V(e.ns.e("message"))},[Se(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(I(),pe(xt(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(I(),pe(xt(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0},{default:oe(()=>[Kt(Oe(e.dangerouslyUseHTMLString?"":e.message),1)]),_:1},8,["for"]))])],2)):ue("v-if",!0)],2),ct(N("div",{class:V(e.ns.e("input"))},[Q(l,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[2]||(t[2]=f=>e.inputValue=f),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:V({invalid:e.validateError}),onKeydown:Ut(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),N("div",{class:V(e.ns.e("errormsg")),style:qe({visibility:e.editorErrorMessage?"visible":"hidden"})},Oe(e.editorErrorMessage),7)],2),[[Gt,e.showInput]])],10,XJe),N("div",{class:V(e.ns.e("btns"))},[e.showCancelButton?(I(),pe(u,{key:0,loading:e.cancelButtonLoading,class:V([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t[3]||(t[3]=f=>e.handleAction("cancel")),onKeydown:t[4]||(t[4]=Ut(tt(f=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:oe(()=>[Kt(Oe(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):ue("v-if",!0),ct(Q(u,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,class:V([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t[5]||(t[5]=f=>e.handleAction("confirm")),onKeydown:t[6]||(t[6]=Ut(tt(f=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:oe(()=>[Kt(Oe(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[Gt,e.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,qJe)]),_:3},8,["z-index","overlay-class","mask"]),[[Gt,e.visible]])]),_:3})}var QJe=De(YJe,[["render",ZJe],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const yg=new Map,JJe=e=>{let t=document.body;return e.appendTo&&(ut(e.appendTo)&&(t=document.querySelector(e.appendTo)),ki(e.appendTo)&&(t=e.appendTo),ki(t)||(t=document.body)),t},eet=(e,t,r=null)=>{const n=Q(QJe,e,it(e.message)||Sr(e.message)?{default:it(e.message)?e.message:()=>e.message}:null);return n.appContext=r,ep(n,t),JJe(e).appendChild(t.firstElementChild),n.component},tet=()=>document.createElement("div"),ret=(e,t)=>{const r=tet();e.onVanish=()=>{ep(null,r),yg.delete(a)},e.onAction=i=>{const o=yg.get(a);let s;e.showInput?s={value:a.inputValue,action:i}:s=i,e.callback?e.callback(s,n.proxy):i==="cancel"||i==="close"?e.distinguishCancelAndClose&&i!=="cancel"?o.reject("close"):o.reject("cancel"):o.resolve(s)};const n=eet(e,r,t),a=n.proxy;for(const i in e)$t(e,i)&&!$t(a.$props,i)&&(a[i]=e[i]);return a.visible=!0,a};function Bp(e,t=null){if(!zt)return Promise.reject();let r;return ut(e)||Sr(e)?e={message:e}:r=e.callback,new Promise((n,a)=>{const i=ret(e,t??Bp._context);yg.set(i,{options:e,callback:r,resolve:n,reject:a})})}const net=["alert","confirm","prompt"],aet={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};net.forEach(e=>{Bp[e]=iet(e)});function iet(e){return(t,r,n,a)=>{let i="";return St(r)?(n=r,i=""):Jr(r)?i="":i=r,Bp(Object.assign({title:i,message:t,type:"",...aet[e]},n,{boxType:e}),a)}}Bp.close=()=>{yg.forEach((e,t)=>{t.doClose()}),yg.clear()};Bp._context=null;const yl=Bp;yl.install=e=>{yl._context=e._context,e.config.globalProperties.$msgbox=yl,e.config.globalProperties.$messageBox=yl,e.config.globalProperties.$alert=yl.alert,e.config.globalProperties.$confirm=yl.confirm,e.config.globalProperties.$prompt=yl.prompt};const oet=yl,mH=["success","info","warning","error"],set=Le({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:dr},id:{type:String,default:""},message:{type:ce([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:ce(Function),default:()=>{}},onClose:{type:ce(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...mH,""],default:""},zIndex:Number}),uet={destroy:()=>!0},cet=["id"],det=["textContent"],fet={key:0},pet=["innerHTML"],het=te({name:"ElNotification"}),vet=te({...het,props:set,emits:uet,setup(e,{expose:t}){const r=e,{ns:n,zIndex:a}=I_("notification"),{nextZIndex:i,currentZIndex:o}=a,{Close:s}=_7,l=U(!1);let u;const c=L(()=>{const _=r.type;return _&&Jl[r.type]?n.m(_):""}),d=L(()=>r.type&&Jl[r.type]||r.icon),f=L(()=>r.position.endsWith("right")?"right":"left"),p=L(()=>r.position.startsWith("top")?"top":"bottom"),h=L(()=>{var _;return{[p.value]:`${r.offset}px`,zIndex:(_=r.zIndex)!=null?_:o.value}});function v(){r.duration>0&&({stop:u}=ad(()=>{l.value&&m()},r.duration))}function g(){u==null||u()}function m(){l.value=!1}function y({code:_}){_===Xe.delete||_===Xe.backspace?g():_===Xe.esc?l.value&&m():v()}return gt(()=>{v(),i(),l.value=!0}),yr(document,"keydown",y),t({visible:l,close:m}),(_,w)=>(I(),pe(Hr,{name:b(n).b("fade"),onBeforeLeave:_.onClose,onAfterLeave:w[1]||(w[1]=E=>_.$emit("destroy")),persisted:""},{default:oe(()=>[ct(N("div",{id:_.id,class:V([b(n).b(),_.customClass,b(f)]),style:qe(b(h)),role:"alert",onMouseenter:g,onMouseleave:v,onClick:w[0]||(w[0]=(...E)=>_.onClick&&_.onClick(...E))},[b(d)?(I(),pe(b(Ke),{key:0,class:V([b(n).e("icon"),b(c)])},{default:oe(()=>[(I(),pe(xt(b(d))))]),_:1},8,["class"])):ue("v-if",!0),N("div",{class:V(b(n).e("group"))},[N("h2",{class:V(b(n).e("title")),textContent:Oe(_.title)},null,10,det),ct(N("div",{class:V(b(n).e("content")),style:qe(_.title?void 0:{margin:0})},[Se(_.$slots,"default",{},()=>[_.dangerouslyUseHTMLString?(I(),$(je,{key:1},[ue(" Caution here, message could've been compromised, never use user's input as message "),N("p",{innerHTML:_.message},null,8,pet)],2112)):(I(),$("p",fet,Oe(_.message),1))])],6),[[Gt,_.message]]),_.showClose?(I(),pe(b(Ke),{key:0,class:V(b(n).e("closeBtn")),onClick:tt(m,["stop"])},{default:oe(()=>[Q(b(s))]),_:1},8,["class","onClick"])):ue("v-if",!0)],2)],46,cet),[[Gt,l.value]])]),_:3},8,["name","onBeforeLeave"]))}});var get=De(vet,[["__file","/home/runner/work/element-plus/element-plus/packages/components/notification/src/notification.vue"]]);const K1={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},uE=16;let met=1;const pp=function(e={},t=null){if(!zt)return{close:()=>{}};(typeof e=="string"||Sr(e))&&(e={message:e});const r=e.position||"top-right";let n=e.offset||0;K1[r].forEach(({vm:c})=>{var d;n+=(((d=c.el)==null?void 0:d.offsetHeight)||0)+uE}),n+=uE;const a=`notification_${met++}`,i=e.onClose,o={...e,offset:n,id:a,onClose:()=>{yet(a,r,i)}};let s=document.body;ki(e.appendTo)?s=e.appendTo:ut(e.appendTo)&&(s=document.querySelector(e.appendTo)),ki(s)||(s=document.body);const l=document.createElement("div"),u=Q(get,o,Sr(o.message)?{default:()=>o.message}:null);return u.appContext=t??pp._context,u.props.onDestroy=()=>{ep(null,l)},ep(u,l),K1[r].push({vm:u}),s.appendChild(l.firstElementChild),{close:()=>{u.component.exposed.visible.value=!1}}};mH.forEach(e=>{pp[e]=(t={})=>((typeof t=="string"||Sr(t))&&(t={message:t}),pp({...t,type:e}))});function yet(e,t,r){const n=K1[t],a=n.findIndex(({vm:u})=>{var c;return((c=u.component)==null?void 0:c.props.id)===e});if(a===-1)return;const{vm:i}=n[a];if(!i)return;r==null||r(i);const o=i.el.offsetHeight,s=t.split("-")[0];n.splice(a,1);const l=n.length;if(!(l<1))for(let u=a;u<l;u++){const{el:c,component:d}=n[u].vm,f=Number.parseInt(c.style[s],10)-o-uE;d.props.offset=f}}function _et(){for(const e of Object.values(K1))e.forEach(({vm:t})=>{t.component.exposed.visible.value=!1})}pp.closeAll=_et;pp._context=null;const bet=b7(pp,"$notify");var wet=[xJe,MJe,KJe,oet,bet,nV],hEt=aOe([..._Je,...wet]);/*!
  * vue-router v4.2.5
  * (c) 2023 Eduardo San Martin Morote
  * @license MIT
  */const hf=typeof window<"u";function Eet(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const gr=Object.assign;function sw(e,t){const r={};for(const n in t){const a=t[n];r[n]=lo(a)?a.map(e):e(a)}return r}const bv=()=>{},lo=Array.isArray,Cet=/\/$/,Tet=e=>e.replace(Cet,"");function lw(e,t,r="/"){let n,a={},i="",o="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(n=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),a=e(i)),s>-1&&(n=n||t.slice(0,s),o=t.slice(s,t.length)),n=Iet(n??t,r),{fullPath:n+(i&&"?")+i+o,path:n,query:a,hash:o}}function xet(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function vM(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Aet(e,t,r){const n=t.matched.length-1,a=r.matched.length-1;return n>-1&&n===a&&hp(t.matched[n],r.matched[a])&&yH(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function hp(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function yH(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!ket(e[r],t[r]))return!1;return!0}function ket(e,t){return lo(e)?gM(e,t):lo(t)?gM(t,e):e===t}function gM(e,t){return lo(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function Iet(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),a=n[n.length-1];(a===".."||a===".")&&n.push("");let i=r.length-1,o,s;for(o=0;o<n.length;o++)if(s=n[o],s!==".")if(s==="..")i>1&&i--;else break;return r.slice(0,i).join("/")+"/"+n.slice(o-(o===n.length?1:0)).join("/")}var _g;(function(e){e.pop="pop",e.push="push"})(_g||(_g={}));var wv;(function(e){e.back="back",e.forward="forward",e.unknown=""})(wv||(wv={}));function Ret(e){if(!e)if(hf){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Tet(e)}const Met=/^[^#]+#/;function Let(e,t){return e.replace(Met,"#")+t}function Det(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const B_=()=>({left:window.pageXOffset,top:window.pageYOffset});function Oet(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),a=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!a)return;t=Det(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function mM(e,t){return(history.state?history.state.position-t:-1)+e}const cE=new Map;function Net(e,t){cE.set(e,t)}function Pet(e){const t=cE.get(e);return cE.delete(e),t}let $et=()=>location.protocol+"//"+location.host;function _H(e,t){const{pathname:r,search:n,hash:a}=t,i=e.indexOf("#");if(i>-1){let s=a.includes(e.slice(i))?e.slice(i).length:1,l=a.slice(s);return l[0]!=="/"&&(l="/"+l),vM(l,"")}return vM(r,e)+n+a}function Bet(e,t,r,n){let a=[],i=[],o=null;const s=({state:f})=>{const p=_H(e,location),h=r.value,v=t.value;let g=0;if(f){if(r.value=p,t.value=f,o&&o===h){o=null;return}g=v?f.position-v.position:0}else n(p);a.forEach(m=>{m(r.value,h,{delta:g,type:_g.pop,direction:g?g>0?wv.forward:wv.back:wv.unknown})})};function l(){o=r.value}function u(f){a.push(f);const p=()=>{const h=a.indexOf(f);h>-1&&a.splice(h,1)};return i.push(p),p}function c(){const{history:f}=window;f.state&&f.replaceState(gr({},f.state,{scroll:B_()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:d}}function yM(e,t,r,n=!1,a=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:a?B_():null}}function Fet(e){const{history:t,location:r}=window,n={value:_H(e,r)},a={value:t.state};a.value||i(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const d=e.indexOf("#"),f=d>-1?(r.host&&document.querySelector("base")?e:e.slice(d))+l:$et()+e+l;try{t[c?"replaceState":"pushState"](u,"",f),a.value=u}catch(p){console.error(p),r[c?"replace":"assign"](f)}}function o(l,u){const c=gr({},t.state,yM(a.value.back,l,a.value.forward,!0),u,{position:a.value.position});i(l,c,!0),n.value=l}function s(l,u){const c=gr({},a.value,t.state,{forward:l,scroll:B_()});i(c.current,c,!0);const d=gr({},yM(n.value,l,null),{position:c.position+1},u);i(l,d,!1),n.value=l}return{location:n,state:a,push:s,replace:o}}function vEt(e){e=Ret(e);const t=Fet(e),r=Bet(e,t.state,t.location,t.replace);function n(i,o=!0){o||r.pauseListeners(),history.go(i)}const a=gr({location:"",base:e,go:n,createHref:Let.bind(null,e)},t,r);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function zet(e){return typeof e=="string"||e&&typeof e=="object"}function bH(e){return typeof e=="string"||typeof e=="symbol"}const il={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},wH=Symbol("");var _M;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(_M||(_M={}));function vp(e,t){return gr(new Error,{type:e,[wH]:!0},t)}function ss(e,t){return e instanceof Error&&wH in e&&(t==null||!!(e.type&t))}const bM="[^/]+?",Vet={sensitive:!1,strict:!1,start:!0,end:!0},Het=/[.+*?^${}()[\]/\\]/g;function Uet(e,t){const r=gr({},Vet,t),n=[];let a=r.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];r.strict&&!u.length&&(a+="/");for(let d=0;d<u.length;d++){const f=u[d];let p=40+(r.sensitive?.25:0);if(f.type===0)d||(a+="/"),a+=f.value.replace(Het,"\\$&"),p+=40;else if(f.type===1){const{value:h,repeatable:v,optional:g,regexp:m}=f;i.push({name:h,repeatable:v,optional:g});const y=m||bM;if(y!==bM){p+=10;try{new RegExp(`(${y})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${h}" (${y}): `+w.message)}}let _=v?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;d||(_=g&&u.length<2?`(?:/${_})`:"/"+_),g&&(_+="?"),a+=_,p+=20,g&&(p+=-8),v&&(p+=-20),y===".*"&&(p+=-50)}c.push(p)}n.push(c)}if(r.strict&&r.end){const u=n.length-1;n[u][n[u].length-1]+=.7000000000000001}r.strict||(a+="/?"),r.end?a+="$":r.strict&&(a+="(?:/|$)");const o=new RegExp(a,r.sensitive?"":"i");function s(u){const c=u.match(o),d={};if(!c)return null;for(let f=1;f<c.length;f++){const p=c[f]||"",h=i[f-1];d[h.name]=p&&h.repeatable?p.split("/"):p}return d}function l(u){let c="",d=!1;for(const f of e){(!d||!c.endsWith("/"))&&(c+="/"),d=!1;for(const p of f)if(p.type===0)c+=p.value;else if(p.type===1){const{value:h,repeatable:v,optional:g}=p,m=h in u?u[h]:"";if(lo(m)&&!v)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const y=lo(m)?m.join("/"):m;if(!y)if(g)f.length<2&&(c.endsWith("/")?c=c.slice(0,-1):d=!0);else throw new Error(`Missing required param "${h}"`);c+=y}}return c||"/"}return{re:o,score:n,keys:i,parse:s,stringify:l}}function Get(e,t){let r=0;for(;r<e.length&&r<t.length;){const n=t[r]-e[r];if(n)return n;r++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Wet(e,t){let r=0;const n=e.score,a=t.score;for(;r<n.length&&r<a.length;){const i=Get(n[r],a[r]);if(i)return i;r++}if(Math.abs(a.length-n.length)===1){if(wM(n))return 1;if(wM(a))return-1}return a.length-n.length}function wM(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ket={type:0,value:""},Yet=/[a-zA-Z0-9_]/;function qet(e){if(!e)return[[]];if(e==="/")return[[Ket]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${r})/"${u}": ${p}`)}let r=0,n=r;const a=[];let i;function o(){i&&a.push(i),i=[]}let s=0,l,u="",c="";function d(){u&&(r===0?i.push({type:0,value:u}):r===1||r===2||r===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=l}for(;s<e.length;){if(l=e[s++],l==="\\"&&r!==2){n=r,r=4;continue}switch(r){case 0:l==="/"?(u&&d(),o()):l===":"?(d(),r=1):f();break;case 4:f(),r=n;break;case 1:l==="("?r=2:Yet.test(l)?f():(d(),r=0,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:r=3:c+=l;break;case 3:d(),r=0,l!=="*"&&l!=="?"&&l!=="+"&&s--,c="";break;default:t("Unknown state");break}}return r===2&&t(`Unfinished custom RegExp for param "${u}"`),d(),o(),a}function jet(e,t,r){const n=Uet(qet(e.path),r),a=gr(n,{record:e,parent:t,children:[],alias:[]});return t&&!a.record.aliasOf==!t.record.aliasOf&&t.children.push(a),a}function Xet(e,t){const r=[],n=new Map;t=CM({strict:!1,end:!0,sensitive:!1},t);function a(c){return n.get(c)}function i(c,d,f){const p=!f,h=Zet(c);h.aliasOf=f&&f.record;const v=CM(t,c),g=[h];if("alias"in c){const _=typeof c.alias=="string"?[c.alias]:c.alias;for(const w of _)g.push(gr({},h,{components:f?f.record.components:h.components,path:w,aliasOf:f?f.record:h}))}let m,y;for(const _ of g){const{path:w}=_;if(d&&w[0]!=="/"){const E=d.record.path,S=E[E.length-1]==="/"?"":"/";_.path=d.record.path+(w&&S+w)}if(m=jet(_,d,v),f?f.alias.push(m):(y=y||m,y!==m&&y.alias.push(m),p&&c.name&&!EM(m)&&o(c.name)),h.children){const E=h.children;for(let S=0;S<E.length;S++)i(E[S],m,f&&f.children[S])}f=f||m,(m.record.components&&Object.keys(m.record.components).length||m.record.name||m.record.redirect)&&l(m)}return y?()=>{o(y)}:bv}function o(c){if(bH(c)){const d=n.get(c);d&&(n.delete(c),r.splice(r.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=r.indexOf(c);d>-1&&(r.splice(d,1),c.record.name&&n.delete(c.record.name),c.children.forEach(o),c.alias.forEach(o))}}function s(){return r}function l(c){let d=0;for(;d<r.length&&Wet(c,r[d])>=0&&(c.record.path!==r[d].record.path||!SH(c,r[d]));)d++;r.splice(d,0,c),c.record.name&&!EM(c)&&n.set(c.record.name,c)}function u(c,d){let f,p={},h,v;if("name"in c&&c.name){if(f=n.get(c.name),!f)throw vp(1,{location:c});v=f.record.name,p=gr(SM(d.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),c.params&&SM(c.params,f.keys.map(y=>y.name))),h=f.stringify(p)}else if("path"in c)h=c.path,f=r.find(y=>y.re.test(h)),f&&(p=f.parse(h),v=f.record.name);else{if(f=d.name?n.get(d.name):r.find(y=>y.re.test(d.path)),!f)throw vp(1,{location:c,currentLocation:d});v=f.record.name,p=gr({},d.params,c.params),h=f.stringify(p)}const g=[];let m=f;for(;m;)g.unshift(m.record),m=m.parent;return{name:v,path:h,params:p,matched:g,meta:Jet(g)}}return e.forEach(c=>i(c)),{addRoute:i,resolve:u,removeRoute:o,getRoutes:s,getRecordMatcher:a}}function SM(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function Zet(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Qet(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Qet(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="object"?r[n]:r;return t}function EM(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Jet(e){return e.reduce((t,r)=>gr(t,r.meta),{})}function CM(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function SH(e,t){return t.children.some(r=>r===e||SH(e,r))}const EH=/#/g,ett=/&/g,ttt=/\//g,rtt=/=/g,ntt=/\?/g,CH=/\+/g,att=/%5B/g,itt=/%5D/g,TH=/%5E/g,ott=/%60/g,xH=/%7B/g,stt=/%7C/g,AH=/%7D/g,ltt=/%20/g;function px(e){return encodeURI(""+e).replace(stt,"|").replace(att,"[").replace(itt,"]")}function utt(e){return px(e).replace(xH,"{").replace(AH,"}").replace(TH,"^")}function dE(e){return px(e).replace(CH,"%2B").replace(ltt,"+").replace(EH,"%23").replace(ett,"%26").replace(ott,"`").replace(xH,"{").replace(AH,"}").replace(TH,"^")}function ctt(e){return dE(e).replace(rtt,"%3D")}function dtt(e){return px(e).replace(EH,"%23").replace(ntt,"%3F")}function ftt(e){return e==null?"":dtt(e).replace(ttt,"%2F")}function Y1(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ptt(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;a<n.length;++a){const i=n[a].replace(CH," "),o=i.indexOf("="),s=Y1(o<0?i:i.slice(0,o)),l=o<0?null:Y1(i.slice(o+1));if(s in t){let u=t[s];lo(u)||(u=t[s]=[u]),u.push(l)}else t[s]=l}return t}function TM(e){let t="";for(let r in e){const n=e[r];if(r=ctt(r),n==null){n!==void 0&&(t+=(t.length?"&":"")+r);continue}(lo(n)?n.map(i=>i&&dE(i)):[n&&dE(n)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+r,i!=null&&(t+="="+i))})}return t}function htt(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=lo(n)?n.map(a=>a==null?null:""+a):n==null?n:""+n)}return t}const vtt=Symbol(""),xM=Symbol(""),hx=Symbol(""),vx=Symbol(""),fE=Symbol("");function dh(){let e=[];function t(n){return e.push(n),()=>{const a=e.indexOf(n);a>-1&&e.splice(a,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function El(e,t,r,n,a){const i=n&&(n.enterCallbacks[a]=n.enterCallbacks[a]||[]);return()=>new Promise((o,s)=>{const l=d=>{d===!1?s(vp(4,{from:r,to:t})):d instanceof Error?s(d):zet(d)?s(vp(2,{from:t,to:d})):(i&&n.enterCallbacks[a]===i&&typeof d=="function"&&i.push(d),o())},u=e.call(n&&n.instances[a],t,r,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(d=>s(d))})}function uw(e,t,r,n){const a=[];for(const i of e)for(const o in i.components){let s=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(gtt(s)){const u=(s.__vccOpts||s)[t];u&&a.push(El(u,r,n,i,o))}else{let l=s();a.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const c=Eet(u)?u.default:u;i.components[o]=c;const f=(c.__vccOpts||c)[t];return f&&El(f,r,n,i,o)()}))}}return a}function gtt(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function AM(e){const t=Ue(hx),r=Ue(vx),n=L(()=>t.resolve(b(e.to))),a=L(()=>{const{matched:l}=n.value,{length:u}=l,c=l[u-1],d=r.matched;if(!c||!d.length)return-1;const f=d.findIndex(hp.bind(null,c));if(f>-1)return f;const p=kM(l[u-2]);return u>1&&kM(c)===p&&d[d.length-1].path!==p?d.findIndex(hp.bind(null,l[u-2])):f}),i=L(()=>a.value>-1&&btt(r.params,n.value.params)),o=L(()=>a.value>-1&&a.value===r.matched.length-1&&yH(r.params,n.value.params));function s(l={}){return _tt(l)?t[b(e.replace)?"replace":"push"](b(e.to)).catch(bv):Promise.resolve()}return{route:n,href:L(()=>n.value.href),isActive:i,isExactActive:o,navigate:s}}const mtt=te({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:AM,setup(e,{slots:t}){const r=qt(AM(e)),{options:n}=Ue(hx),a=L(()=>({[IM(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[IM(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const i=t.default&&t.default(r);return e.custom?i:Qe("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},i)}}}),ytt=mtt;function _tt(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function btt(e,t){for(const r in t){const n=t[r],a=e[r];if(typeof n=="string"){if(n!==a)return!1}else if(!lo(a)||a.length!==n.length||n.some((i,o)=>i!==a[o]))return!1}return!0}function kM(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const IM=(e,t,r)=>e??t??r,wtt=te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=Ue(fE),a=L(()=>e.route||n.value),i=Ue(xM,0),o=L(()=>{let u=b(i);const{matched:c}=a.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),s=L(()=>a.value.matched[o.value]);It(xM,L(()=>o.value+1)),It(vtt,s),It(fE,a);const l=U();return Te(()=>[l.value,s.value,e.name],([u,c,d],[f,p,h])=>{c&&(c.instances[d]=u,p&&p!==c&&u&&u===f&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!hp(c,p)||!f)&&(c.enterCallbacks[d]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=a.value,c=e.name,d=s.value,f=d&&d.components[c];if(!f)return RM(r.default,{Component:f,route:u});const p=d.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,g=Qe(f,gr({},h,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(d.instances[c]=null)},ref:l}));return RM(r.default,{Component:g,route:u})||g}}});function RM(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const Stt=wtt;function gEt(e){const t=Xet(e.routes,e),r=e.parseQuery||ptt,n=e.stringifyQuery||TM,a=e.history,i=dh(),o=dh(),s=dh(),l=or(il);let u=il;hf&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=sw.bind(null,q=>""+q),d=sw.bind(null,ftt),f=sw.bind(null,Y1);function p(q,j){let ae,ne;return bH(q)?(ae=t.getRecordMatcher(q),ne=j):ne=q,t.addRoute(ne,ae)}function h(q){const j=t.getRecordMatcher(q);j&&t.removeRoute(j)}function v(){return t.getRoutes().map(q=>q.record)}function g(q){return!!t.getRecordMatcher(q)}function m(q,j){if(j=gr({},j||l.value),typeof q=="string"){const ie=lw(r,q,j.path),me=t.resolve({path:ie.path},j),be=a.createHref(ie.fullPath);return gr(ie,me,{params:f(me.params),hash:Y1(ie.hash),redirectedFrom:void 0,href:be})}let ae;if("path"in q)ae=gr({},q,{path:lw(r,q.path,j.path).path});else{const ie=gr({},q.params);for(const me in ie)ie[me]==null&&delete ie[me];ae=gr({},q,{params:d(ie)}),j.params=d(j.params)}const ne=t.resolve(ae,j),le=q.hash||"";ne.params=c(f(ne.params));const W=xet(n,gr({},q,{hash:utt(le),path:ne.path})),Z=a.createHref(W);return gr({fullPath:W,hash:le,query:n===TM?htt(q.query):q.query||{}},ne,{redirectedFrom:void 0,href:Z})}function y(q){return typeof q=="string"?lw(r,q,l.value.path):gr({},q)}function _(q,j){if(u!==q)return vp(8,{from:j,to:q})}function w(q){return C(q)}function E(q){return w(gr(y(q),{replace:!0}))}function S(q){const j=q.matched[q.matched.length-1];if(j&&j.redirect){const{redirect:ae}=j;let ne=typeof ae=="function"?ae(q):ae;return typeof ne=="string"&&(ne=ne.includes("?")||ne.includes("#")?ne=y(ne):{path:ne},ne.params={}),gr({query:q.query,hash:q.hash,params:"path"in ne?{}:q.params},ne)}}function C(q,j){const ae=u=m(q),ne=l.value,le=q.state,W=q.force,Z=q.replace===!0,ie=S(ae);if(ie)return C(gr(y(ie),{state:typeof ie=="object"?gr({},le,ie.state):le,force:W,replace:Z}),j||ae);const me=ae;me.redirectedFrom=j;let be;return!W&&Aet(n,ne,ae)&&(be=vp(16,{to:me,from:ne}),K(ne,ne,!0,!1)),(be?Promise.resolve(be):A(me,ne)).catch(ge=>ss(ge)?ss(ge,2)?ge:H(ge):F(ge,me,ne)).then(ge=>{if(ge){if(ss(ge,2))return C(gr({replace:Z},y(ge.to),{state:typeof ge.to=="object"?gr({},le,ge.to.state):le,force:W}),j||me)}else ge=R(me,ne,!0,Z,le);return k(me,ne,ge),ge})}function T(q,j){const ae=_(q,j);return ae?Promise.reject(ae):Promise.resolve()}function x(q){const j=J.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(q):q()}function A(q,j){let ae;const[ne,le,W]=Ett(q,j);ae=uw(ne.reverse(),"beforeRouteLeave",q,j);for(const ie of ne)ie.leaveGuards.forEach(me=>{ae.push(El(me,q,j))});const Z=T.bind(null,q,j);return ae.push(Z),se(ae).then(()=>{ae=[];for(const ie of i.list())ae.push(El(ie,q,j));return ae.push(Z),se(ae)}).then(()=>{ae=uw(le,"beforeRouteUpdate",q,j);for(const ie of le)ie.updateGuards.forEach(me=>{ae.push(El(me,q,j))});return ae.push(Z),se(ae)}).then(()=>{ae=[];for(const ie of W)if(ie.beforeEnter)if(lo(ie.beforeEnter))for(const me of ie.beforeEnter)ae.push(El(me,q,j));else ae.push(El(ie.beforeEnter,q,j));return ae.push(Z),se(ae)}).then(()=>(q.matched.forEach(ie=>ie.enterCallbacks={}),ae=uw(W,"beforeRouteEnter",q,j),ae.push(Z),se(ae))).then(()=>{ae=[];for(const ie of o.list())ae.push(El(ie,q,j));return ae.push(Z),se(ae)}).catch(ie=>ss(ie,8)?ie:Promise.reject(ie))}function k(q,j,ae){s.list().forEach(ne=>x(()=>ne(q,j,ae)))}function R(q,j,ae,ne,le){const W=_(q,j);if(W)return W;const Z=j===il,ie=hf?history.state:{};ae&&(ne||Z?a.replace(q.fullPath,gr({scroll:Z&&ie&&ie.scroll},le)):a.push(q.fullPath,le)),l.value=q,K(q,j,ae,Z),H()}let M;function O(){M||(M=a.listen((q,j,ae)=>{if(!fe.listening)return;const ne=m(q),le=S(ne);if(le){C(gr(le,{replace:!0}),ne).catch(bv);return}u=ne;const W=l.value;hf&&Net(mM(W.fullPath,ae.delta),B_()),A(ne,W).catch(Z=>ss(Z,12)?Z:ss(Z,2)?(C(Z.to,ne).then(ie=>{ss(ie,20)&&!ae.delta&&ae.type===_g.pop&&a.go(-1,!1)}).catch(bv),Promise.reject()):(ae.delta&&a.go(-ae.delta,!1),F(Z,ne,W))).then(Z=>{Z=Z||R(ne,W,!1),Z&&(ae.delta&&!ss(Z,8)?a.go(-ae.delta,!1):ae.type===_g.pop&&ss(Z,20)&&a.go(-1,!1)),k(ne,W,Z)}).catch(bv)}))}let z=dh(),B=dh(),P;function F(q,j,ae){H(q);const ne=B.list();return ne.length?ne.forEach(le=>le(q,j,ae)):console.error(q),Promise.reject(q)}function D(){return P&&l.value!==il?Promise.resolve():new Promise((q,j)=>{z.add([q,j])})}function H(q){return P||(P=!q,O(),z.list().forEach(([j,ae])=>q?ae(q):j()),z.reset()),q}function K(q,j,ae,ne){const{scrollBehavior:le}=e;if(!hf||!le)return Promise.resolve();const W=!ae&&Pet(mM(q.fullPath,0))||(ne||!ae)&&history.state&&history.state.scroll||null;return Ye().then(()=>le(q,j,W)).then(Z=>Z&&Oet(Z)).catch(Z=>F(Z,q,j))}const Y=q=>a.go(q);let X;const J=new Set,fe={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:g,getRoutes:v,resolve:m,options:e,push:w,replace:E,go:Y,back:()=>Y(-1),forward:()=>Y(1),beforeEach:i.add,beforeResolve:o.add,afterEach:s.add,onError:B.add,isReady:D,install(q){const j=this;q.component("RouterLink",ytt),q.component("RouterView",Stt),q.config.globalProperties.$router=j,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>b(l)}),hf&&!X&&l.value===il&&(X=!0,w(a.location).catch(le=>{}));const ae={};for(const le in il)Object.defineProperty(ae,le,{get:()=>l.value[le],enumerable:!0});q.provide(hx,j),q.provide(vx,SC(ae)),q.provide(fE,l);const ne=q.unmount;J.add(q),q.unmount=function(){J.delete(q),J.size<1&&(u=il,M&&M(),M=null,l.value=il,X=!1,P=!1),ne()}}};function se(q){return q.reduce((j,ae)=>j.then(()=>x(ae)),Promise.resolve())}return fe}function Ett(e,t){const r=[],n=[],a=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const s=t.matched[o];s&&(e.matched.find(u=>hp(u,s))?n.push(s):r.push(s));const l=e.matched[o];l&&(t.matched.find(u=>hp(u,l))||a.push(l))}return[r,n,a]}function mEt(){return Ue(vx)}function hs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kH(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}/*!
 * GSAP 3.12.4
 * https://gsap.com
 *
 * @license Copyright 2008-2023, GreenSock. All rights reserved.
 * Subject to the terms at https://gsap.com/standard-license or for
 * Club GSAP members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/var Xa={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},gp={duration:.5,overwrite:!1,delay:0},gx,Wn,Wr,bi=1e8,Tr=1/bi,pE=Math.PI*2,Ctt=pE/4,Ttt=0,IH=Math.sqrt,xtt=Math.cos,Att=Math.sin,En=function(t){return typeof t=="string"},Kr=function(t){return typeof t=="function"},Ps=function(t){return typeof t=="number"},mx=function(t){return typeof t>"u"},jo=function(t){return typeof t=="object"},ka=function(t){return t!==!1},yx=function(){return typeof window<"u"},h0=function(t){return Kr(t)||En(t)},RH=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Kn=Array.isArray,hE=/(?:-?\.?\d|\.)+/gi,MH=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Cf=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,cw=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,LH=/[+-]=-?[.\d]+/,DH=/[^,'"\[\]\s]+/gi,ktt=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Fr,li,vE,_x,Ja={},q1={},OH,NH=function(t){return(q1=dd(t,Ja))&&Oa},bx=function(t,r){return console.warn("Invalid property",t,"set to",r,"Missing plugin? gsap.registerPlugin()")},bg=function(t,r){return!r&&console.warn(t)},PH=function(t,r){return t&&(Ja[t]=r)&&q1&&(q1[t]=r)||Ja},wg=function(){return 0},Itt={suppressEvents:!0,isStart:!0,kill:!1},jy={suppressEvents:!0,kill:!1},Rtt={suppressEvents:!0},Sx={},Wl=[],gE={},$H,Ua={},dw={},MM=30,Xy=[],Ex="",Cx=function(t){var r=t[0],n,a;if(jo(r)||Kr(r)||(t=[t]),!(n=(r._gsap||{}).harness)){for(a=Xy.length;a--&&!Xy[a].targetTest(r););n=Xy[a]}for(a=t.length;a--;)t[a]&&(t[a]._gsap||(t[a]._gsap=new sU(t[a],n)))||t.splice(a,1);return t},Hc=function(t){return t._gsap||Cx(wi(t))[0]._gsap},BH=function(t,r,n){return(n=t[r])&&Kr(n)?t[r]():mx(n)&&t.getAttribute&&t.getAttribute(r)||n},Ia=function(t,r){return(t=t.split(",")).forEach(r)||t},Qr=function(t){return Math.round(t*1e5)/1e5||0},_n=function(t){return Math.round(t*1e7)/1e7||0},zf=function(t,r){var n=r.charAt(0),a=parseFloat(r.substr(2));return t=parseFloat(t),n==="+"?t+a:n==="-"?t-a:n==="*"?t*a:t/a},Mtt=function(t,r){for(var n=r.length,a=0;t.indexOf(r[a])<0&&++a<n;);return a<n},j1=function(){var t=Wl.length,r=Wl.slice(0),n,a;for(gE={},Wl.length=0,n=0;n<t;n++)a=r[n],a&&a._lazy&&(a.render(a._lazy[0],a._lazy[1],!0)._lazy=0)},FH=function(t,r,n,a){Wl.length&&!Wn&&j1(),t.render(r,n,a||Wn&&r<0&&(t._initted||t._startAt)),Wl.length&&!Wn&&j1()},zH=function(t){var r=parseFloat(t);return(r||r===0)&&(t+"").match(DH).length<2?r:En(t)?t.trim():t},VH=function(t){return t},Oi=function(t,r){for(var n in r)n in t||(t[n]=r[n]);return t},Ltt=function(t){return function(r,n){for(var a in n)a in r||a==="duration"&&t||a==="ease"||(r[a]=n[a])}},dd=function(t,r){for(var n in r)t[n]=r[n];return t},LM=function e(t,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(t[n]=jo(r[n])?e(t[n]||(t[n]={}),r[n]):r[n]);return t},X1=function(t,r){var n={},a;for(a in t)a in r||(n[a]=t[a]);return n},Sv=function(t){var r=t.parent||Fr,n=t.keyframes?Ltt(Kn(t.keyframes)):Oi;if(ka(t.inherit))for(;r;)n(t,r.vars.defaults),r=r.parent||r._dp;return t},Dtt=function(t,r){for(var n=t.length,a=n===r.length;a&&n--&&t[n]===r[n];);return n<0},HH=function(t,r,n,a,i){n===void 0&&(n="_first"),a===void 0&&(a="_last");var o=t[a],s;if(i)for(s=r[i];o&&o[i]>s;)o=o._prev;return o?(r._next=o._next,o._next=r):(r._next=t[n],t[n]=r),r._next?r._next._prev=r:t[a]=r,r._prev=o,r.parent=r._dp=t,r},F_=function(t,r,n,a){n===void 0&&(n="_first"),a===void 0&&(a="_last");var i=r._prev,o=r._next;i?i._next=o:t[n]===r&&(t[n]=o),o?o._prev=i:t[a]===r&&(t[a]=i),r._next=r._prev=r.parent=null},nu=function(t,r){t.parent&&(!r||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Uc=function(t,r){if(t&&(!r||r._end>t._dur||r._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},Ott=function(t){for(var r=t.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return t},mE=function(t,r,n,a){return t._startAt&&(Wn?t._startAt.revert(jy):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(r,!0,a))},Ntt=function e(t){return!t||t._ts&&e(t.parent)},DM=function(t){return t._repeat?mp(t._tTime,t=t.duration()+t._rDelay)*t:0},mp=function(t,r){var n=Math.floor(t/=r);return t&&n===t?n-1:n},Z1=function(t,r){return(t-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},z_=function(t){return t._end=_n(t._start+(t._tDur/Math.abs(t._ts||t._rts||Tr)||0))},V_=function(t,r){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=_n(n._time-(t._ts>0?r/t._ts:((t._dirty?t.totalDuration():t._tDur)-r)/-t._ts)),z_(t),n._dirty||Uc(n,t)),t},UH=function(t,r){var n;if((r._time||!r._dur&&r._initted||r._start<t._time&&(r._dur||!r.add))&&(n=Z1(t.rawTime(),r),(!r._dur||wm(0,r.totalDuration(),n)-r._tTime>Tr)&&r.render(n,!0)),Uc(t,r)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-Tr}},Ro=function(t,r,n,a){return r.parent&&nu(r),r._start=_n((Ps(n)?n:n||t!==Fr?si(t,n,r):t._time)+r._delay),r._end=_n(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),HH(t,r,"_first","_last",t._sort?"_start":0),yE(r)||(t._recent=r),a||UH(t,r),t._ts<0&&V_(t,t._tTime),t},GH=function(t,r){return(Ja.ScrollTrigger||bx("scrollTrigger",r))&&Ja.ScrollTrigger.create(r,t)},WH=function(t,r,n,a,i){if(xx(t,r,i),!t._initted)return 1;if(!n&&t._pt&&!Wn&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&$H!==Ga.frame)return Wl.push(t),t._lazy=[i,a],1},Ptt=function e(t){var r=t.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||e(r))},yE=function(t){var r=t.data;return r==="isFromStart"||r==="isStart"},$tt=function(t,r,n,a){var i=t.ratio,o=r<0||!r&&(!t._start&&Ptt(t)&&!(!t._initted&&yE(t))||(t._ts<0||t._dp._ts<0)&&!yE(t))?0:1,s=t._rDelay,l=0,u,c,d;if(s&&t._repeat&&(l=wm(0,t._tDur,r),c=mp(l,s),t._yoyo&&c&1&&(o=1-o),c!==mp(t._tTime,s)&&(i=1-o,t.vars.repeatRefresh&&t._initted&&t.invalidate())),o!==i||Wn||a||t._zTime===Tr||!r&&t._zTime){if(!t._initted&&WH(t,r,a,n,l))return;for(d=t._zTime,t._zTime=r||(n?Tr:0),n||(n=r&&!d),t.ratio=o,t._from&&(o=1-o),t._time=0,t._tTime=l,u=t._pt;u;)u.r(o,u.d),u=u._next;r<0&&mE(t,r,n,!0),t._onUpdate&&!n&&Ya(t,"onUpdate"),l&&t._repeat&&!n&&t.parent&&Ya(t,"onRepeat"),(r>=t._tDur||r<0)&&t.ratio===o&&(o&&nu(t,1),!n&&!Wn&&(Ya(t,o?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=r)},Btt=function(t,r,n){var a;if(n>r)for(a=t._first;a&&a._start<=n;){if(a.data==="isPause"&&a._start>r)return a;a=a._next}else for(a=t._last;a&&a._start>=n;){if(a.data==="isPause"&&a._start<r)return a;a=a._prev}},yp=function(t,r,n,a){var i=t._repeat,o=_n(r)||0,s=t._tTime/t._tDur;return s&&!a&&(t._time*=o/t._dur),t._dur=o,t._tDur=i?i<0?1e10:_n(o*(i+1)+t._rDelay*i):o,s>0&&!a&&V_(t,t._tTime=t._tDur*s),t.parent&&z_(t),n||Uc(t.parent,t),t},OM=function(t){return t instanceof na?Uc(t):yp(t,t._dur)},Ftt={_start:0,endTime:wg,totalDuration:wg},si=function e(t,r,n){var a=t.labels,i=t._recent||Ftt,o=t.duration()>=bi?i.endTime(!1):t._dur,s,l,u;return En(r)&&(isNaN(r)||r in a)?(l=r.charAt(0),u=r.substr(-1)==="%",s=r.indexOf("="),l==="<"||l===">"?(s>=0&&(r=r.replace(/=/,"")),(l==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(r.substr(1))||0)*(u?(s<0?i:n).totalDuration()/100:1)):s<0?(r in a||(a[r]=o),a[r]):(l=parseFloat(r.charAt(s-1)+r.substr(s+1)),u&&n&&(l=l/100*(Kn(n)?n[0]:n).totalDuration()),s>1?e(t,r.substr(0,s-1),n)+l:o+l)):r==null?o:+r},Ev=function(t,r,n){var a=Ps(r[1]),i=(a?2:1)+(t<2?0:1),o=r[i],s,l;if(a&&(o.duration=r[1]),o.parent=n,t){for(s=o,l=n;l&&!("immediateRender"in s);)s=l.vars.defaults||{},l=ka(l.vars.inherit)&&l.parent;o.immediateRender=ka(s.immediateRender),t<2?o.runBackwards=1:o.startAt=r[i-1]}return new sn(r[0],o,r[i+1])},bu=function(t,r){return t||t===0?r(t):r},wm=function(t,r,n){return n<t?t:n>r?r:n},Hn=function(t,r){return!En(t)||!(r=ktt.exec(t))?"":r[1]},ztt=function(t,r,n){return bu(n,function(a){return wm(t,r,a)})},_E=[].slice,KH=function(t,r){return t&&jo(t)&&"length"in t&&(!r&&!t.length||t.length-1 in t&&jo(t[0]))&&!t.nodeType&&t!==li},Vtt=function(t,r,n){return n===void 0&&(n=[]),t.forEach(function(a){var i;return En(a)&&!r||KH(a,1)?(i=n).push.apply(i,wi(a)):n.push(a)})||n},wi=function(t,r,n){return Wr&&!r&&Wr.selector?Wr.selector(t):En(t)&&!n&&(vE||!_p())?_E.call((r||_x).querySelectorAll(t),0):Kn(t)?Vtt(t,n):KH(t)?_E.call(t,0):t?[t]:[]},bE=function(t){return t=wi(t)[0]||bg("Invalid scope")||{},function(r){var n=t.current||t.nativeElement||t;return wi(r,n.querySelectorAll?n:n===t?bg("Invalid scope")||_x.createElement("div"):t)}},YH=function(t){return t.sort(function(){return .5-Math.random()})},qH=function(t){if(Kr(t))return t;var r=jo(t)?t:{each:t},n=Gc(r.ease),a=r.from||0,i=parseFloat(r.base)||0,o={},s=a>0&&a<1,l=isNaN(a)||s,u=r.axis,c=a,d=a;return En(a)?c=d={center:.5,edges:.5,end:1}[a]||0:!s&&l&&(c=a[0],d=a[1]),function(f,p,h){var v=(h||r).length,g=o[v],m,y,_,w,E,S,C,T,x;if(!g){if(x=r.grid==="auto"?0:(r.grid||[1,bi])[1],!x){for(C=-bi;C<(C=h[x++].getBoundingClientRect().left)&&x<v;);x<v&&x--}for(g=o[v]=[],m=l?Math.min(x,v)*c-.5:a%x,y=x===bi?0:l?v*d/x-.5:a/x|0,C=0,T=bi,S=0;S<v;S++)_=S%x-m,w=y-(S/x|0),g[S]=E=u?Math.abs(u==="y"?w:_):IH(_*_+w*w),E>C&&(C=E),E<T&&(T=E);a==="random"&&YH(g),g.max=C-T,g.min=T,g.v=v=(parseFloat(r.amount)||parseFloat(r.each)*(x>v?v-1:u?u==="y"?v/x:x:Math.max(x,v/x))||0)*(a==="edges"?-1:1),g.b=v<0?i-v:i,g.u=Hn(r.amount||r.each)||0,n=n&&v<0?aU(n):n}return v=(g[f]-g.min)/g.max||0,_n(g.b+(n?n(v):v)*g.v)+g.u}},wE=function(t){var r=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var a=_n(Math.round(parseFloat(n)/t)*t*r);return(a-a%1)/r+(Ps(n)?0:Hn(n))}},jH=function(t,r){var n=Kn(t),a,i;return!n&&jo(t)&&(a=n=t.radius||bi,t.values?(t=wi(t.values),(i=!Ps(t[0]))&&(a*=a)):t=wE(t.increment)),bu(r,n?Kr(t)?function(o){return i=t(o),Math.abs(i-o)<=a?i:o}:function(o){for(var s=parseFloat(i?o.x:o),l=parseFloat(i?o.y:0),u=bi,c=0,d=t.length,f,p;d--;)i?(f=t[d].x-s,p=t[d].y-l,f=f*f+p*p):f=Math.abs(t[d]-s),f<u&&(u=f,c=d);return c=!a||u<=a?t[c]:o,i||c===o||Ps(o)?c:c+Hn(o)}:wE(t))},XH=function(t,r,n,a){return bu(Kn(t)?!r:n===!0?!!(n=0):!a,function(){return Kn(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(a=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(r-t+n*.99))/n)*n*a)/a})},Htt=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return function(a){return r.reduce(function(i,o){return o(i)},a)}},Utt=function(t,r){return function(n){return t(parseFloat(n))+(r||Hn(n))}},Gtt=function(t,r,n){return QH(t,r,0,1,n)},ZH=function(t,r,n){return bu(n,function(a){return t[~~r(a)]})},Wtt=function e(t,r,n){var a=r-t;return Kn(t)?ZH(t,e(0,t.length),r):bu(n,function(i){return(a+(i-t)%a)%a+t})},Ktt=function e(t,r,n){var a=r-t,i=a*2;return Kn(t)?ZH(t,e(0,t.length-1),r):bu(n,function(o){return o=(i+(o-t)%i)%i||0,t+(o>a?i-o:o)})},Sg=function(t){for(var r=0,n="",a,i,o,s;~(a=t.indexOf("random(",r));)o=t.indexOf(")",a),s=t.charAt(a+7)==="[",i=t.substr(a+7,o-a-7).match(s?DH:hE),n+=t.substr(r,a-r)+XH(s?i:+i[0],s?0:+i[1],+i[2]||1e-5),r=o+1;return n+t.substr(r,t.length-r)},QH=function(t,r,n,a,i){var o=r-t,s=a-n;return bu(i,function(l){return n+((l-t)/o*s||0)})},Ytt=function e(t,r,n,a){var i=isNaN(t+r)?0:function(p){return(1-p)*t+p*r};if(!i){var o=En(t),s={},l,u,c,d,f;if(n===!0&&(a=1)&&(n=null),o)t={p:t},r={p:r};else if(Kn(t)&&!Kn(r)){for(c=[],d=t.length,f=d-2,u=1;u<d;u++)c.push(e(t[u-1],t[u]));d--,i=function(h){h*=d;var v=Math.min(f,~~h);return c[v](h-v)},n=r}else a||(t=dd(Kn(t)?[]:{},t));if(!c){for(l in r)Tx.call(s,t,l,"get",r[l]);i=function(h){return Ix(h,s)||(o?t.p:t)}}}return bu(n,i)},NM=function(t,r,n){var a=t.labels,i=bi,o,s,l;for(o in a)s=a[o]-r,s<0==!!n&&s&&i>(s=Math.abs(s))&&(l=o,i=s);return l},Ya=function(t,r,n){var a=t.vars,i=a[r],o=Wr,s=t._ctx,l,u,c;if(i)return l=a[r+"Params"],u=a.callbackScope||t,n&&Wl.length&&j1(),s&&(Wr=s),c=l?i.apply(u,l):i.call(u),Wr=o,c},Yh=function(t){return nu(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Wn),t.progress()<1&&Ya(t,"onInterrupt"),t},Tf,JH=[],eU=function(t){if(yx()&&t){t=!t.name&&t.default||t;var r=t.name,n=Kr(t),a=r&&!n&&t.init?function(){this._props=[]}:t,i={init:wg,render:Ix,add:Tx,kill:urt,modifier:lrt,rawVars:0},o={targetTest:0,get:0,getSetter:kx,aliases:{},register:0};if(_p(),t!==a){if(Ua[r])return;Oi(a,Oi(X1(t,i),o)),dd(a.prototype,dd(i,X1(t,o))),Ua[a.prop=r]=a,t.targetTest&&(Xy.push(a),Sx[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}PH(r,a),t.register&&t.register(Oa,a,Ra)}else t&&JH.push(t)},Cr=255,qh={aqua:[0,Cr,Cr],lime:[0,Cr,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Cr],navy:[0,0,128],white:[Cr,Cr,Cr],olive:[128,128,0],yellow:[Cr,Cr,0],orange:[Cr,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Cr,0,0],pink:[Cr,192,203],cyan:[0,Cr,Cr],transparent:[Cr,Cr,Cr,0]},fw=function(t,r,n){return t+=t<0?1:t>1?-1:0,(t*6<1?r+(n-r)*t*6:t<.5?n:t*3<2?r+(n-r)*(2/3-t)*6:r)*Cr+.5|0},tU=function(t,r,n){var a=t?Ps(t)?[t>>16,t>>8&Cr,t&Cr]:0:qh.black,i,o,s,l,u,c,d,f,p,h;if(!a){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),qh[t])a=qh[t];else if(t.charAt(0)==="#"){if(t.length<6&&(i=t.charAt(1),o=t.charAt(2),s=t.charAt(3),t="#"+i+i+o+o+s+s+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return a=parseInt(t.substr(1,6),16),[a>>16,a>>8&Cr,a&Cr,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),a=[t>>16,t>>8&Cr,t&Cr]}else if(t.substr(0,3)==="hsl"){if(a=h=t.match(hE),!r)l=+a[0]%360/360,u=+a[1]/100,c=+a[2]/100,o=c<=.5?c*(u+1):c+u-c*u,i=c*2-o,a.length>3&&(a[3]*=1),a[0]=fw(l+1/3,i,o),a[1]=fw(l,i,o),a[2]=fw(l-1/3,i,o);else if(~t.indexOf("="))return a=t.match(MH),n&&a.length<4&&(a[3]=1),a}else a=t.match(hE)||qh.transparent;a=a.map(Number)}return r&&!h&&(i=a[0]/Cr,o=a[1]/Cr,s=a[2]/Cr,d=Math.max(i,o,s),f=Math.min(i,o,s),c=(d+f)/2,d===f?l=u=0:(p=d-f,u=c>.5?p/(2-d-f):p/(d+f),l=d===i?(o-s)/p+(o<s?6:0):d===o?(s-i)/p+2:(i-o)/p+4,l*=60),a[0]=~~(l+.5),a[1]=~~(u*100+.5),a[2]=~~(c*100+.5)),n&&a.length<4&&(a[3]=1),a},rU=function(t){var r=[],n=[],a=-1;return t.split(Kl).forEach(function(i){var o=i.match(Cf)||[];r.push.apply(r,o),n.push(a+=o.length+1)}),r.c=n,r},PM=function(t,r,n){var a="",i=(t+a).match(Kl),o=r?"hsla(":"rgba(",s=0,l,u,c,d;if(!i)return t;if(i=i.map(function(f){return(f=tU(f,r,1))&&o+(r?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),n&&(c=rU(t),l=n.c,l.join(a)!==c.c.join(a)))for(u=t.replace(Kl,"1").split(Cf),d=u.length-1;s<d;s++)a+=u[s]+(~l.indexOf(s)?i.shift()||o+"0,0,0,0)":(c.length?c:i.length?i:n).shift());if(!u)for(u=t.split(Kl),d=u.length-1;s<d;s++)a+=u[s]+i[s];return a+u[d]},Kl=function(){var e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in qh)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),qtt=/hsl[a]?\(/,nU=function(t){var r=t.join(" "),n;if(Kl.lastIndex=0,Kl.test(r))return n=qtt.test(r),t[1]=PM(t[1],n),t[0]=PM(t[0],n,rU(t[1])),!0},Eg,Ga=function(){var e=Date.now,t=500,r=33,n=e(),a=n,i=1e3/240,o=i,s=[],l,u,c,d,f,p,h=function v(g){var m=e()-a,y=g===!0,_,w,E,S;if(m>t&&(n+=m-r),a+=m,E=a-n,_=E-o,(_>0||y)&&(S=++d.frame,f=E-d.time*1e3,d.time=E=E/1e3,o+=_+(_>=i?4:i-_),w=1),y||(l=u(v)),w)for(p=0;p<s.length;p++)s[p](E,f,S,g)};return d={time:0,frame:0,tick:function(){h(!0)},deltaRatio:function(g){return f/(1e3/(g||60))},wake:function(){OH&&(!vE&&yx()&&(li=vE=window,_x=li.document||{},Ja.gsap=Oa,(li.gsapVersions||(li.gsapVersions=[])).push(Oa.version),NH(q1||li.GreenSockGlobals||!li.gsap&&li||{}),c=li.requestAnimationFrame,JH.forEach(eU)),l&&d.sleep(),u=c||function(g){return setTimeout(g,o-d.time*1e3+1|0)},Eg=1,h(2))},sleep:function(){(c?li.cancelAnimationFrame:clearTimeout)(l),Eg=0,u=wg},lagSmoothing:function(g,m){t=g||1/0,r=Math.min(m||33,t)},fps:function(g){i=1e3/(g||240),o=d.time*1e3+i},add:function(g,m,y){var _=m?function(w,E,S,C){g(w,E,S,C),d.remove(_)}:g;return d.remove(g),s[y?"unshift":"push"](_),_p(),_},remove:function(g,m){~(m=s.indexOf(g))&&s.splice(m,1)&&p>=m&&p--},_listeners:s},d}(),_p=function(){return!Eg&&Ga.wake()},sr={},jtt=/^[\d.\-M][\d.\-,\s]/,Xtt=/["']/g,Ztt=function(t){for(var r={},n=t.substr(1,t.length-3).split(":"),a=n[0],i=1,o=n.length,s,l,u;i<o;i++)l=n[i],s=i!==o-1?l.lastIndexOf(","):l.length,u=l.substr(0,s),r[a]=isNaN(u)?u.replace(Xtt,"").trim():+u,a=l.substr(s+1).trim();return r},Qtt=function(t){var r=t.indexOf("(")+1,n=t.indexOf(")"),a=t.indexOf("(",r);return t.substring(r,~a&&a<n?t.indexOf(")",n+1):n)},Jtt=function(t){var r=(t+"").split("("),n=sr[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~t.indexOf("{")?[Ztt(r[1])]:Qtt(t).split(",").map(zH)):sr._CE&&jtt.test(t)?sr._CE("",t):n},aU=function(t){return function(r){return 1-t(1-r)}},iU=function e(t,r){for(var n=t._first,a;n;)n instanceof na?e(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?e(n.timeline,r):(a=n._ease,n._ease=n._yEase,n._yEase=a,n._yoyo=r)),n=n._next},Gc=function(t,r){return t&&(Kr(t)?t:sr[t]||Jtt(t))||r},Ad=function(t,r,n,a){n===void 0&&(n=function(l){return 1-r(1-l)}),a===void 0&&(a=function(l){return l<.5?r(l*2)/2:1-r((1-l)*2)/2});var i={easeIn:r,easeOut:n,easeInOut:a},o;return Ia(t,function(s){sr[s]=Ja[s]=i,sr[o=s.toLowerCase()]=n;for(var l in i)sr[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=sr[s+"."+l]=i[l]}),i},oU=function(t){return function(r){return r<.5?(1-t(1-r*2))/2:.5+t((r-.5)*2)/2}},pw=function e(t,r,n){var a=r>=1?r:1,i=(n||(t?.3:.45))/(r<1?r:1),o=i/pE*(Math.asin(1/a)||0),s=function(c){return c===1?1:a*Math.pow(2,-10*c)*Att((c-o)*i)+1},l=t==="out"?s:t==="in"?function(u){return 1-s(1-u)}:oU(s);return i=pE/i,l.config=function(u,c){return e(t,u,c)},l},hw=function e(t,r){r===void 0&&(r=1.70158);var n=function(o){return o?--o*o*((r+1)*o+r)+1:0},a=t==="out"?n:t==="in"?function(i){return 1-n(1-i)}:oU(n);return a.config=function(i){return e(t,i)},a};Ia("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var r=t<5?t+1:t;Ad(e+",Power"+(r-1),t?function(n){return Math.pow(n,r)}:function(n){return n},function(n){return 1-Math.pow(1-n,r)},function(n){return n<.5?Math.pow(n*2,r)/2:1-Math.pow((1-n)*2,r)/2})});sr.Linear.easeNone=sr.none=sr.Linear.easeIn;Ad("Elastic",pw("in"),pw("out"),pw());(function(e,t){var r=1/t,n=2*r,a=2.5*r,i=function(s){return s<r?e*s*s:s<n?e*Math.pow(s-1.5/t,2)+.75:s<a?e*(s-=2.25/t)*s+.9375:e*Math.pow(s-2.625/t,2)+.984375};Ad("Bounce",function(o){return 1-i(1-o)},i)})(7.5625,2.75);Ad("Expo",function(e){return e?Math.pow(2,10*(e-1)):0});Ad("Circ",function(e){return-(IH(1-e*e)-1)});Ad("Sine",function(e){return e===1?1:-xtt(e*Ctt)+1});Ad("Back",hw("in"),hw("out"),hw());sr.SteppedEase=sr.steps=Ja.SteppedEase={config:function(t,r){t===void 0&&(t=1);var n=1/t,a=t+(r?0:1),i=r?1:0,o=1-Tr;return function(s){return((a*wm(0,o,s)|0)+i)*n}}};gp.ease=sr["quad.out"];Ia("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return Ex+=e+","+e+"Params,"});var sU=function(t,r){this.id=Ttt++,t._gsap=this,this.target=t,this.harness=r,this.get=r?r.get:BH,this.set=r?r.getSetter:kx},Cg=function(){function e(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,yp(this,+r.duration,1,1),this.data=r.data,Wr&&(this._ctx=Wr,Wr.data.push(this)),Eg||Ga.wake()}var t=e.prototype;return t.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},t.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},t.totalDuration=function(n){return arguments.length?(this._dirty=0,yp(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(n,a){if(_p(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(V_(this,n),!i._dp||i.parent||UH(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&Ro(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!a||this._initted&&Math.abs(this._zTime)===Tr||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),FH(this,n,a)),this},t.time=function(n,a){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+DM(this))%(this._dur+this._rDelay)||(n?this._dur:0),a):this._time},t.totalProgress=function(n,a){return arguments.length?this.totalTime(this.totalDuration()*n,a):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},t.progress=function(n,a){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+DM(this),a):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(n,a){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*i,a):this._repeat?mp(this._tTime,i)+1:1},t.timeScale=function(n,a){if(!arguments.length)return this._rts===-Tr?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?Z1(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-Tr?0:this._rts,this.totalTime(wm(-Math.abs(this._delay),this._tDur,i),a!==!1),z_(this),Ott(this)},t.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(_p(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Tr&&(this._tTime-=Tr)))),this):this._ps},t.startTime=function(n){if(arguments.length){this._start=n;var a=this.parent||this._dp;return a&&(a._sort||!this.parent)&&Ro(a,this,n-this._delay),this}return this._start},t.endTime=function(n){return this._start+(ka(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(n){var a=this.parent||this._dp;return a?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Z1(a.rawTime(n),this):this._tTime:this._tTime},t.revert=function(n){n===void 0&&(n=Rtt);var a=Wn;return Wn=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),Wn=a,this},t.globalTime=function(n){for(var a=this,i=arguments.length?n:a.rawTime();a;)i=a._start+i/(Math.abs(a._ts)||1),a=a._dp;return!this.parent&&this._sat?this._sat.globalTime(n):i},t.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,OM(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(n){if(arguments.length){var a=this._time;return this._rDelay=n,OM(this),a?this.time(a):this}return this._rDelay},t.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},t.seek=function(n,a){return this.totalTime(si(this,n),ka(a))},t.restart=function(n,a){return this.play().totalTime(n?-this._delay:0,ka(a))},t.play=function(n,a){return n!=null&&this.seek(n,a),this.reversed(!1).paused(!1)},t.reverse=function(n,a){return n!=null&&this.seek(n||this.totalDuration(),a),this.reversed(!0).paused(!1)},t.pause=function(n,a){return n!=null&&this.seek(n,a),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-Tr:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-Tr,this},t.isActive=function(){var n=this.parent||this._dp,a=this._start,i;return!!(!n||this._ts&&this._initted&&n.isActive()&&(i=n.rawTime(!0))>=a&&i<this.endTime(!0)-Tr)},t.eventCallback=function(n,a,i){var o=this.vars;return arguments.length>1?(a?(o[n]=a,i&&(o[n+"Params"]=i),n==="onUpdate"&&(this._onUpdate=a)):delete o[n],this):o[n]},t.then=function(n){var a=this;return new Promise(function(i){var o=Kr(n)?n:VH,s=function(){var u=a.then;a.then=null,Kr(o)&&(o=o(a))&&(o.then||o===a)&&(a.then=u),i(o),a.then=u};a._initted&&a.totalProgress()===1&&a._ts>=0||!a._tTime&&a._ts<0?s():a._prom=s})},t.kill=function(){Yh(this)},e}();Oi(Cg.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Tr,_prom:0,_ps:!1,_rts:1});var na=function(e){kH(t,e);function t(n,a){var i;return n===void 0&&(n={}),i=e.call(this,n)||this,i.labels={},i.smoothChildTiming=!!n.smoothChildTiming,i.autoRemoveChildren=!!n.autoRemoveChildren,i._sort=ka(n.sortChildren),Fr&&Ro(n.parent||Fr,hs(i),a),n.reversed&&i.reverse(),n.paused&&i.paused(!0),n.scrollTrigger&&GH(hs(i),n.scrollTrigger),i}var r=t.prototype;return r.to=function(a,i,o){return Ev(0,arguments,this),this},r.from=function(a,i,o){return Ev(1,arguments,this),this},r.fromTo=function(a,i,o,s){return Ev(2,arguments,this),this},r.set=function(a,i,o){return i.duration=0,i.parent=this,Sv(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new sn(a,i,si(this,o),1),this},r.call=function(a,i,o){return Ro(this,sn.delayedCall(0,a,i),o)},r.staggerTo=function(a,i,o,s,l,u,c){return o.duration=i,o.stagger=o.stagger||s,o.onComplete=u,o.onCompleteParams=c,o.parent=this,new sn(a,o,si(this,l)),this},r.staggerFrom=function(a,i,o,s,l,u,c){return o.runBackwards=1,Sv(o).immediateRender=ka(o.immediateRender),this.staggerTo(a,i,o,s,l,u,c)},r.staggerFromTo=function(a,i,o,s,l,u,c,d){return s.startAt=o,Sv(s).immediateRender=ka(s.immediateRender),this.staggerTo(a,i,s,l,u,c,d)},r.render=function(a,i,o){var s=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=a<=0?0:_n(a),d=this._zTime<0!=a<0&&(this._initted||!u),f,p,h,v,g,m,y,_,w,E,S,C;if(this!==Fr&&c>l&&a>=0&&(c=l),c!==this._tTime||o||d){if(s!==this._time&&u&&(c+=this._time-s,a+=this._time-s),f=c,w=this._start,_=this._ts,m=!_,d&&(u||(s=this._zTime),(a||!i)&&(this._zTime=a)),this._repeat){if(S=this._yoyo,g=u+this._rDelay,this._repeat<-1&&a<0)return this.totalTime(g*100+a,i,o);if(f=_n(c%g),c===l?(v=this._repeat,f=u):(v=~~(c/g),v&&v===c/g&&(f=u,v--),f>u&&(f=u)),E=mp(this._tTime,g),!s&&this._tTime&&E!==v&&this._tTime-E*g-this._dur<=0&&(E=v),S&&v&1&&(f=u-f,C=1),v!==E&&!this._lock){var T=S&&E&1,x=T===(S&&v&1);if(v<E&&(T=!T),s=T?0:c%u?u:c,this._lock=1,this.render(s||(C?0:_n(v*g)),i,!u)._lock=0,this._tTime=c,!i&&this.parent&&Ya(this,"onRepeat"),this.vars.repeatRefresh&&!C&&(this.invalidate()._lock=1),s&&s!==this._time||m!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,x&&(this._lock=2,s=T?u:-1e-4,this.render(s,!0),this.vars.repeatRefresh&&!C&&this.invalidate()),this._lock=0,!this._ts&&!m)return this;iU(this,C)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(y=Btt(this,_n(s),_n(f)),y&&(c-=f-(f=y._start))),this._tTime=c,this._time=f,this._act=!_,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=a,s=0),!s&&f&&!i&&!v&&(Ya(this,"onStart"),this._tTime!==c))return this;if(f>=s&&a>=0)for(p=this._first;p;){if(h=p._next,(p._act||f>=p._start)&&p._ts&&y!==p){if(p.parent!==this)return this.render(a,i,o);if(p.render(p._ts>0?(f-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(f-p._start)*p._ts,i,o),f!==this._time||!this._ts&&!m){y=0,h&&(c+=this._zTime=-Tr);break}}p=h}else{p=this._last;for(var A=a<0?a:f;p;){if(h=p._prev,(p._act||A<=p._end)&&p._ts&&y!==p){if(p.parent!==this)return this.render(a,i,o);if(p.render(p._ts>0?(A-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(A-p._start)*p._ts,i,o||Wn&&(p._initted||p._startAt)),f!==this._time||!this._ts&&!m){y=0,h&&(c+=this._zTime=A?-Tr:Tr);break}}p=h}}if(y&&!i&&(this.pause(),y.render(f>=s?0:-Tr)._zTime=f>=s?1:-1,this._ts))return this._start=w,z_(this),this.render(a,i,o);this._onUpdate&&!i&&Ya(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&s)&&(w===this._start||Math.abs(_)!==Math.abs(this._ts))&&(this._lock||((a||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&nu(this,1),!i&&!(a<0&&!s)&&(c||s||!l)&&(Ya(this,c===l&&a>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(a,i){var o=this;if(Ps(i)||(i=si(this,i,a)),!(a instanceof Cg)){if(Kn(a))return a.forEach(function(s){return o.add(s,i)}),this;if(En(a))return this.addLabel(a,i);if(Kr(a))a=sn.delayedCall(0,a);else return this}return this!==a?Ro(this,a,i):this},r.getChildren=function(a,i,o,s){a===void 0&&(a=!0),i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=-bi);for(var l=[],u=this._first;u;)u._start>=s&&(u instanceof sn?i&&l.push(u):(o&&l.push(u),a&&l.push.apply(l,u.getChildren(!0,i,o)))),u=u._next;return l},r.getById=function(a){for(var i=this.getChildren(1,1,1),o=i.length;o--;)if(i[o].vars.id===a)return i[o]},r.remove=function(a){return En(a)?this.removeLabel(a):Kr(a)?this.killTweensOf(a):(F_(this,a),a===this._recent&&(this._recent=this._last),Uc(this))},r.totalTime=function(a,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_n(Ga.time-(this._ts>0?a/this._ts:(this.totalDuration()-a)/-this._ts))),e.prototype.totalTime.call(this,a,i),this._forcing=0,this):this._tTime},r.addLabel=function(a,i){return this.labels[a]=si(this,i),this},r.removeLabel=function(a){return delete this.labels[a],this},r.addPause=function(a,i,o){var s=sn.delayedCall(0,i||wg,o);return s.data="isPause",this._hasPause=1,Ro(this,s,si(this,a))},r.removePause=function(a){var i=this._first;for(a=si(this,a);i;)i._start===a&&i.data==="isPause"&&nu(i),i=i._next},r.killTweensOf=function(a,i,o){for(var s=this.getTweensOf(a,o),l=s.length;l--;)Rl!==s[l]&&s[l].kill(a,i);return this},r.getTweensOf=function(a,i){for(var o=[],s=wi(a),l=this._first,u=Ps(i),c;l;)l instanceof sn?Mtt(l._targets,s)&&(u?(!Rl||l._initted&&l._ts)&&l.globalTime(0)<=i&&l.globalTime(l.totalDuration())>i:!i||l.isActive())&&o.push(l):(c=l.getTweensOf(s,i)).length&&o.push.apply(o,c),l=l._next;return o},r.tweenTo=function(a,i){i=i||{};var o=this,s=si(o,a),l=i,u=l.startAt,c=l.onStart,d=l.onStartParams,f=l.immediateRender,p,h=sn.to(o,Oi({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:i.duration||Math.abs((s-(u&&"time"in u?u.time:o._time))/o.timeScale())||Tr,onStart:function(){if(o.pause(),!p){var g=i.duration||Math.abs((s-(u&&"time"in u?u.time:o._time))/o.timeScale());h._dur!==g&&yp(h,g,0,1).render(h._time,!0,!0),p=1}c&&c.apply(h,d||[])}},i));return f?h.render(0):h},r.tweenFromTo=function(a,i,o){return this.tweenTo(i,Oi({startAt:{time:si(this,a)}},o))},r.recent=function(){return this._recent},r.nextLabel=function(a){return a===void 0&&(a=this._time),NM(this,si(this,a))},r.previousLabel=function(a){return a===void 0&&(a=this._time),NM(this,si(this,a),1)},r.currentLabel=function(a){return arguments.length?this.seek(a,!0):this.previousLabel(this._time+Tr)},r.shiftChildren=function(a,i,o){o===void 0&&(o=0);for(var s=this._first,l=this.labels,u;s;)s._start>=o&&(s._start+=a,s._end+=a),s=s._next;if(i)for(u in l)l[u]>=o&&(l[u]+=a);return Uc(this)},r.invalidate=function(a){var i=this._first;for(this._lock=0;i;)i.invalidate(a),i=i._next;return e.prototype.invalidate.call(this,a)},r.clear=function(a){a===void 0&&(a=!0);for(var i=this._first,o;i;)o=i._next,this.remove(i),i=o;return this._dp&&(this._time=this._tTime=this._pTime=0),a&&(this.labels={}),Uc(this)},r.totalDuration=function(a){var i=0,o=this,s=o._last,l=bi,u,c,d;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-a:a));if(o._dirty){for(d=o.parent;s;)u=s._prev,s._dirty&&s.totalDuration(),c=s._start,c>l&&o._sort&&s._ts&&!o._lock?(o._lock=1,Ro(o,s,c-s._delay,1)._lock=0):l=c,c<0&&s._ts&&(i-=c,(!d&&!o._dp||d&&d.smoothChildTiming)&&(o._start+=c/o._ts,o._time-=c,o._tTime-=c),o.shiftChildren(-c,!1,-1/0),l=0),s._end>i&&s._ts&&(i=s._end),s=u;yp(o,o===Fr&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},t.updateRoot=function(a){if(Fr._ts&&(FH(Fr,Z1(a,Fr)),$H=Ga.frame),Ga.frame>=MM){MM+=Xa.autoSleep||120;var i=Fr._first;if((!i||!i._ts)&&Xa.autoSleep&&Ga._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||Ga.sleep()}}},t}(Cg);Oi(na.prototype,{_lock:0,_hasPause:0,_forcing:0});var ert=function(t,r,n,a,i,o,s){var l=new Ra(this._pt,t,r,0,1,pU,null,i),u=0,c=0,d,f,p,h,v,g,m,y;for(l.b=n,l.e=a,n+="",a+="",(m=~a.indexOf("random("))&&(a=Sg(a)),o&&(y=[n,a],o(y,t,r),n=y[0],a=y[1]),f=n.match(cw)||[];d=cw.exec(a);)h=d[0],v=a.substring(u,d.index),p?p=(p+1)%5:v.substr(-5)==="rgba("&&(p=1),h!==f[c++]&&(g=parseFloat(f[c-1])||0,l._pt={_next:l._pt,p:v||c===1?v:",",s:g,c:h.charAt(1)==="="?zf(g,h)-g:parseFloat(h)-g,m:p&&p<4?Math.round:0},u=cw.lastIndex);return l.c=u<a.length?a.substring(u,a.length):"",l.fp=s,(LH.test(a)||m)&&(l.e=0),this._pt=l,l},Tx=function(t,r,n,a,i,o,s,l,u,c){Kr(a)&&(a=a(i||0,t,o));var d=t[r],f=n!=="get"?n:Kr(d)?u?t[r.indexOf("set")||!Kr(t["get"+r.substr(3)])?r:"get"+r.substr(3)](u):t[r]():d,p=Kr(d)?u?irt:dU:Ax,h;if(En(a)&&(~a.indexOf("random(")&&(a=Sg(a)),a.charAt(1)==="="&&(h=zf(f,a)+(Hn(f)||0),(h||h===0)&&(a=h))),!c||f!==a||SE)return!isNaN(f*a)&&a!==""?(h=new Ra(this._pt,t,r,+f||0,a-(f||0),typeof d=="boolean"?srt:fU,0,p),u&&(h.fp=u),s&&h.modifier(s,this,t),this._pt=h):(!d&&!(r in t)&&bx(r,a),ert.call(this,t,r,f,a,p,l||Xa.stringFilter,u))},trt=function(t,r,n,a,i){if(Kr(t)&&(t=Cv(t,i,r,n,a)),!jo(t)||t.style&&t.nodeType||Kn(t)||RH(t))return En(t)?Cv(t,i,r,n,a):t;var o={},s;for(s in t)o[s]=Cv(t[s],i,r,n,a);return o},lU=function(t,r,n,a,i,o){var s,l,u,c;if(Ua[t]&&(s=new Ua[t]).init(i,s.rawVars?r[t]:trt(r[t],a,i,o,n),n,a,o)!==!1&&(n._pt=l=new Ra(n._pt,i,t,0,1,s.render,s,0,s.priority),n!==Tf))for(u=n._ptLookup[n._targets.indexOf(i)],c=s._props.length;c--;)u[s._props[c]]=l;return s},Rl,SE,xx=function e(t,r,n){var a=t.vars,i=a.ease,o=a.startAt,s=a.immediateRender,l=a.lazy,u=a.onUpdate,c=a.runBackwards,d=a.yoyoEase,f=a.keyframes,p=a.autoRevert,h=t._dur,v=t._startAt,g=t._targets,m=t.parent,y=m&&m.data==="nested"?m.vars.targets:g,_=t._overwrite==="auto"&&!gx,w=t.timeline,E,S,C,T,x,A,k,R,M,O,z,B,P;if(w&&(!f||!i)&&(i="none"),t._ease=Gc(i,gp.ease),t._yEase=d?aU(Gc(d===!0?i:d,gp.ease)):0,d&&t._yoyo&&!t._repeat&&(d=t._yEase,t._yEase=t._ease,t._ease=d),t._from=!w&&!!a.runBackwards,!w||f&&!a.stagger){if(R=g[0]?Hc(g[0]).harness:0,B=R&&a[R.prop],E=X1(a,Sx),v&&(v._zTime<0&&v.progress(1),r<0&&c&&s&&!p?v.render(-1,!0):v.revert(c&&h?jy:Itt),v._lazy=0),o){if(nu(t._startAt=sn.set(g,Oi({data:"isStart",overwrite:!1,parent:m,immediateRender:!0,lazy:!v&&ka(l),startAt:null,delay:0,onUpdate:u&&function(){return Ya(t,"onUpdate")},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,r<0&&(Wn||!s&&!p)&&t._startAt.revert(jy),s&&h&&r<=0&&n<=0){r&&(t._zTime=r);return}}else if(c&&h&&!v){if(r&&(s=!1),C=Oi({overwrite:!1,data:"isFromStart",lazy:s&&!v&&ka(l),immediateRender:s,stagger:0,parent:m},E),B&&(C[R.prop]=B),nu(t._startAt=sn.set(g,C)),t._startAt._dp=0,t._startAt._sat=t,r<0&&(Wn?t._startAt.revert(jy):t._startAt.render(-1,!0)),t._zTime=r,!s)e(t._startAt,Tr,Tr);else if(!r)return}for(t._pt=t._ptCache=0,l=h&&ka(l)||l&&!h,S=0;S<g.length;S++){if(x=g[S],k=x._gsap||Cx(g)[S]._gsap,t._ptLookup[S]=O={},gE[k.id]&&Wl.length&&j1(),z=y===g?S:y.indexOf(x),R&&(M=new R).init(x,B||E,t,z,y)!==!1&&(t._pt=T=new Ra(t._pt,x,M.name,0,1,M.render,M,0,M.priority),M._props.forEach(function(F){O[F]=T}),M.priority&&(A=1)),!R||B)for(C in E)Ua[C]&&(M=lU(C,E,t,z,x,y))?M.priority&&(A=1):O[C]=T=Tx.call(t,x,C,"get",E[C],z,y,0,a.stringFilter);t._op&&t._op[S]&&t.kill(x,t._op[S]),_&&t._pt&&(Rl=t,Fr.killTweensOf(x,O,t.globalTime(r)),P=!t.parent,Rl=0),t._pt&&l&&(gE[k.id]=1)}A&&hU(t),t._onInit&&t._onInit(t)}t._onUpdate=u,t._initted=(!t._op||t._pt)&&!P,f&&r<=0&&w.render(bi,!0,!0)},rrt=function(t,r,n,a,i,o,s,l){var u=(t._pt&&t._ptCache||(t._ptCache={}))[r],c,d,f,p;if(!u)for(u=t._ptCache[r]=[],f=t._ptLookup,p=t._targets.length;p--;){if(c=f[p][r],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==r&&c.fp!==r;)c=c._next;if(!c)return SE=1,t.vars[r]="+=0",xx(t,s),SE=0,l?bg(r+" not eligible for reset"):1;u.push(c)}for(p=u.length;p--;)d=u[p],c=d._pt||d,c.s=(a||a===0)&&!i?a:c.s+(a||0)+o*c.c,c.c=n-c.s,d.e&&(d.e=Qr(n)+Hn(d.e)),d.b&&(d.b=c.s+Hn(d.b))},nrt=function(t,r){var n=t[0]?Hc(t[0]).harness:0,a=n&&n.aliases,i,o,s,l;if(!a)return r;i=dd({},r);for(o in a)if(o in i)for(l=a[o].split(","),s=l.length;s--;)i[l[s]]=i[o];return i},art=function(t,r,n,a){var i=r.ease||a||"power1.inOut",o,s;if(Kn(r))s=n[t]||(n[t]=[]),r.forEach(function(l,u){return s.push({t:u/(r.length-1)*100,v:l,e:i})});else for(o in r)s=n[o]||(n[o]=[]),o==="ease"||s.push({t:parseFloat(t),v:r[o],e:i})},Cv=function(t,r,n,a,i){return Kr(t)?t.call(r,n,a,i):En(t)&&~t.indexOf("random(")?Sg(t):t},uU=Ex+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",cU={};Ia(uU+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return cU[e]=1});var sn=function(e){kH(t,e);function t(n,a,i,o){var s;typeof a=="number"&&(i.duration=a,a=i,i=null),s=e.call(this,o?a:Sv(a))||this;var l=s.vars,u=l.duration,c=l.delay,d=l.immediateRender,f=l.stagger,p=l.overwrite,h=l.keyframes,v=l.defaults,g=l.scrollTrigger,m=l.yoyoEase,y=a.parent||Fr,_=(Kn(n)||RH(n)?Ps(n[0]):"length"in a)?[n]:wi(n),w,E,S,C,T,x,A,k;if(s._targets=_.length?Cx(_):bg("GSAP target "+n+" not found. https://gsap.com",!Xa.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=p,h||f||h0(u)||h0(c)){if(a=s.vars,w=s.timeline=new na({data:"nested",defaults:v||{},targets:y&&y.data==="nested"?y.vars.targets:_}),w.kill(),w.parent=w._dp=hs(s),w._start=0,f||h0(u)||h0(c)){if(C=_.length,A=f&&qH(f),jo(f))for(T in f)~uU.indexOf(T)&&(k||(k={}),k[T]=f[T]);for(E=0;E<C;E++)S=X1(a,cU),S.stagger=0,m&&(S.yoyoEase=m),k&&dd(S,k),x=_[E],S.duration=+Cv(u,hs(s),E,x,_),S.delay=(+Cv(c,hs(s),E,x,_)||0)-s._delay,!f&&C===1&&S.delay&&(s._delay=c=S.delay,s._start+=c,S.delay=0),w.to(x,S,A?A(E,x,_):0),w._ease=sr.none;w.duration()?u=c=0:s.timeline=0}else if(h){Sv(Oi(w.vars.defaults,{ease:"none"})),w._ease=Gc(h.ease||a.ease||"none");var R=0,M,O,z;if(Kn(h))h.forEach(function(B){return w.to(_,B,">")}),w.duration();else{S={};for(T in h)T==="ease"||T==="easeEach"||art(T,h[T],S,h.easeEach);for(T in S)for(M=S[T].sort(function(B,P){return B.t-P.t}),R=0,E=0;E<M.length;E++)O=M[E],z={ease:O.e,duration:(O.t-(E?M[E-1].t:0))/100*u},z[T]=O.v,w.to(_,z,R),R+=z.duration;w.duration()<u&&w.to({},{duration:u-w.duration()})}}u||s.duration(u=w.duration())}else s.timeline=0;return p===!0&&!gx&&(Rl=hs(s),Fr.killTweensOf(_),Rl=0),Ro(y,hs(s),i),a.reversed&&s.reverse(),a.paused&&s.paused(!0),(d||!u&&!h&&s._start===_n(y._time)&&ka(d)&&Ntt(hs(s))&&y.data!=="nested")&&(s._tTime=-Tr,s.render(Math.max(0,-c)||0)),g&&GH(hs(s),g),s}var r=t.prototype;return r.render=function(a,i,o){var s=this._time,l=this._tDur,u=this._dur,c=a<0,d=a>l-Tr&&!c?l:a<Tr?0:a,f,p,h,v,g,m,y,_,w;if(!u)$tt(this,a,i,o);else if(d!==this._tTime||!a||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(f=d,_=this.timeline,this._repeat){if(v=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(v*100+a,i,o);if(f=_n(d%v),d===l?(h=this._repeat,f=u):(h=~~(d/v),h&&h===_n(d/v)&&(f=u,h--),f>u&&(f=u)),m=this._yoyo&&h&1,m&&(w=this._yEase,f=u-f),g=mp(this._tTime,v),f===s&&!o&&this._initted&&h===g)return this._tTime=d,this;h!==g&&(_&&this._yEase&&iU(_,m),this.vars.repeatRefresh&&!m&&!this._lock&&this._time!==u&&this._initted&&(this._lock=o=1,this.render(_n(v*h),!0).invalidate()._lock=0))}if(!this._initted){if(WH(this,c?a:f,o,i,d))return this._tTime=0,this;if(s!==this._time&&!(o&&this.vars.repeatRefresh&&h!==g))return this;if(u!==this._dur)return this.render(a,i,o)}if(this._tTime=d,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=y=(w||this._ease)(f/u),this._from&&(this.ratio=y=1-y),f&&!s&&!i&&!h&&(Ya(this,"onStart"),this._tTime!==d))return this;for(p=this._pt;p;)p.r(y,p.d),p=p._next;_&&_.render(a<0?a:!f&&m?-Tr:_._dur*_._ease(f/this._dur),i,o)||this._startAt&&(this._zTime=a),this._onUpdate&&!i&&(c&&mE(this,a,i,o),Ya(this,"onUpdate")),this._repeat&&h!==g&&this.vars.onRepeat&&!i&&this.parent&&Ya(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&mE(this,a,!0,!0),(a||!u)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&nu(this,1),!i&&!(c&&!s)&&(d||s||m)&&(Ya(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(a){return(!a||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(a),e.prototype.invalidate.call(this,a)},r.resetTo=function(a,i,o,s,l){Eg||Ga.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||xx(this,u),c=this._ease(u/this._dur),rrt(this,a,i,o,s,c,u,l)?this.resetTo(a,i,o,s,1):(V_(this,0),this.parent||HH(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(a,i){if(i===void 0&&(i="all"),!a&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?Yh(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(a,i,Rl&&Rl.vars.overwrite!==!0)._first||Yh(this),this.parent&&o!==this.timeline.totalDuration()&&yp(this,this._dur*this.timeline._tDur/o,0,1),this}var s=this._targets,l=a?wi(a):s,u=this._ptLookup,c=this._pt,d,f,p,h,v,g,m;if((!i||i==="all")&&Dtt(s,l))return i==="all"&&(this._pt=0),Yh(this);for(d=this._op=this._op||[],i!=="all"&&(En(i)&&(v={},Ia(i,function(y){return v[y]=1}),i=v),i=nrt(s,i)),m=s.length;m--;)if(~l.indexOf(s[m])){f=u[m],i==="all"?(d[m]=i,h=f,p={}):(p=d[m]=d[m]||{},h=i);for(v in h)g=f&&f[v],g&&((!("kill"in g.d)||g.d.kill(v)===!0)&&F_(this,g,"_pt"),delete f[v]),p!=="all"&&(p[v]=1)}return this._initted&&!this._pt&&c&&Yh(this),this},t.to=function(a,i){return new t(a,i,arguments[2])},t.from=function(a,i){return Ev(1,arguments)},t.delayedCall=function(a,i,o,s){return new t(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:a,onComplete:i,onReverseComplete:i,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:s})},t.fromTo=function(a,i,o){return Ev(2,arguments)},t.set=function(a,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new t(a,i)},t.killTweensOf=function(a,i,o){return Fr.killTweensOf(a,i,o)},t}(Cg);Oi(sn.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Ia("staggerTo,staggerFrom,staggerFromTo",function(e){sn[e]=function(){var t=new na,r=_E.call(arguments,0);return r.splice(e==="staggerFromTo"?5:4,0,0),t[e].apply(t,r)}});var Ax=function(t,r,n){return t[r]=n},dU=function(t,r,n){return t[r](n)},irt=function(t,r,n,a){return t[r](a.fp,n)},ort=function(t,r,n){return t.setAttribute(r,n)},kx=function(t,r){return Kr(t[r])?dU:mx(t[r])&&t.setAttribute?ort:Ax},fU=function(t,r){return r.set(r.t,r.p,Math.round((r.s+r.c*t)*1e6)/1e6,r)},srt=function(t,r){return r.set(r.t,r.p,!!(r.s+r.c*t),r)},pU=function(t,r){var n=r._pt,a="";if(!t&&r.b)a=r.b;else if(t===1&&r.e)a=r.e;else{for(;n;)a=n.p+(n.m?n.m(n.s+n.c*t):Math.round((n.s+n.c*t)*1e4)/1e4)+a,n=n._next;a+=r.c}r.set(r.t,r.p,a,r)},Ix=function(t,r){for(var n=r._pt;n;)n.r(t,n.d),n=n._next},lrt=function(t,r,n,a){for(var i=this._pt,o;i;)o=i._next,i.p===a&&i.modifier(t,r,n),i=o},urt=function(t){for(var r=this._pt,n,a;r;)a=r._next,r.p===t&&!r.op||r.op===t?F_(this,r,"_pt"):r.dep||(n=1),r=a;return!n},crt=function(t,r,n,a){a.mSet(t,r,a.m.call(a.tween,n,a.mt),a)},hU=function(t){for(var r=t._pt,n,a,i,o;r;){for(n=r._next,a=i;a&&a.pr>r.pr;)a=a._next;(r._prev=a?a._prev:o)?r._prev._next=r:i=r,(r._next=a)?a._prev=r:o=r,r=n}t._pt=i},Ra=function(){function e(r,n,a,i,o,s,l,u,c){this.t=n,this.s=i,this.c=o,this.p=a,this.r=s||fU,this.d=l||this,this.set=u||Ax,this.pr=c||0,this._next=r,r&&(r._prev=this)}var t=e.prototype;return t.modifier=function(n,a,i){this.mSet=this.mSet||this.set,this.set=crt,this.m=n,this.mt=i,this.tween=a},e}();Ia(Ex+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(e){return Sx[e]=1});Ja.TweenMax=Ja.TweenLite=sn;Ja.TimelineLite=Ja.TimelineMax=na;Fr=new na({sortChildren:!1,defaults:gp,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Xa.stringFilter=nU;var Wc=[],Zy={},drt=[],$M=0,frt=0,vw=function(t){return(Zy[t]||drt).map(function(r){return r()})},EE=function(){var t=Date.now(),r=[];t-$M>2&&(vw("matchMediaInit"),Wc.forEach(function(n){var a=n.queries,i=n.conditions,o,s,l,u;for(s in a)o=li.matchMedia(a[s]).matches,o&&(l=1),o!==i[s]&&(i[s]=o,u=1);u&&(n.revert(),l&&r.push(n))}),vw("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(a){return n.add(null,a)})}),$M=t,vw("matchMedia"))},vU=function(){function e(r,n){this.selector=n&&bE(n),this.data=[],this._r=[],this.isReverted=!1,this.id=frt++,r&&this.add(r)}var t=e.prototype;return t.add=function(n,a,i){Kr(n)&&(i=a,a=n,n=Kr);var o=this,s=function(){var u=Wr,c=o.selector,d;return u&&u!==o&&u.data.push(o),i&&(o.selector=bE(i)),Wr=o,d=a.apply(o,arguments),Kr(d)&&o._r.push(d),Wr=u,o.selector=c,o.isReverted=!1,d};return o.last=s,n===Kr?s(o,function(l){return o.add(null,l)}):n?o[n]=s:s},t.ignore=function(n){var a=Wr;Wr=null,n(this),Wr=a},t.getTweens=function(){var n=[];return this.data.forEach(function(a){return a instanceof e?n.push.apply(n,a.getTweens()):a instanceof sn&&!(a.parent&&a.parent.data==="nested")&&n.push(a)}),n},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(n,a){var i=this;if(n?function(){for(var s=i.getTweens(),l=i.data.length,u;l--;)u=i.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return s.splice(s.indexOf(c),1)}));for(s.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,d){return d.g-c.g||-1/0}).forEach(function(c){return c.t.revert(n)}),l=i.data.length;l--;)u=i.data[l],u instanceof na?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof sn)&&u.revert&&u.revert(n);i._r.forEach(function(c){return c(n,i)}),i.isReverted=!0}():this.data.forEach(function(s){return s.kill&&s.kill()}),this.clear(),a)for(var o=Wc.length;o--;)Wc[o].id===this.id&&Wc.splice(o,1)},t.revert=function(n){this.kill(n||{})},e}(),prt=function(){function e(r){this.contexts=[],this.scope=r}var t=e.prototype;return t.add=function(n,a,i){jo(n)||(n={matches:n});var o=new vU(0,i||this.scope),s=o.conditions={},l,u,c;Wr&&!o.selector&&(o.selector=Wr.selector),this.contexts.push(o),a=o.add("onMatch",a),o.queries=n;for(u in n)u==="all"?c=1:(l=li.matchMedia(n[u]),l&&(Wc.indexOf(o)<0&&Wc.push(o),(s[u]=l.matches)&&(c=1),l.addListener?l.addListener(EE):l.addEventListener("change",EE)));return c&&a(o,function(d){return o.add(null,d)}),this},t.revert=function(n){this.kill(n||{})},t.kill=function(n){this.contexts.forEach(function(a){return a.kill(n,!0)})},e}(),Q1={registerPlugin:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];r.forEach(function(a){return eU(a)})},timeline:function(t){return new na(t)},getTweensOf:function(t,r){return Fr.getTweensOf(t,r)},getProperty:function(t,r,n,a){En(t)&&(t=wi(t)[0]);var i=Hc(t||{}).get,o=n?VH:zH;return n==="native"&&(n=""),t&&(r?o((Ua[r]&&Ua[r].get||i)(t,r,n,a)):function(s,l,u){return o((Ua[s]&&Ua[s].get||i)(t,s,l,u))})},quickSetter:function(t,r,n){if(t=wi(t),t.length>1){var a=t.map(function(c){return Oa.quickSetter(c,r,n)}),i=a.length;return function(c){for(var d=i;d--;)a[d](c)}}t=t[0]||{};var o=Ua[r],s=Hc(t),l=s.harness&&(s.harness.aliases||{})[r]||r,u=o?function(c){var d=new o;Tf._pt=0,d.init(t,n?c+n:c,Tf,0,[t]),d.render(1,d),Tf._pt&&Ix(1,Tf)}:s.set(t,l);return o?u:function(c){return u(t,l,n?c+n:c,s,1)}},quickTo:function(t,r,n){var a,i=Oa.to(t,dd((a={},a[r]="+=0.1",a.paused=!0,a),n||{})),o=function(l,u,c){return i.resetTo(r,l,u,c)};return o.tween=i,o},isTweening:function(t){return Fr.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Gc(t.ease,gp.ease)),LM(gp,t||{})},config:function(t){return LM(Xa,t||{})},registerEffect:function(t){var r=t.name,n=t.effect,a=t.plugins,i=t.defaults,o=t.extendTimeline;(a||"").split(",").forEach(function(s){return s&&!Ua[s]&&!Ja[s]&&bg(r+" effect requires "+s+" plugin.")}),dw[r]=function(s,l,u){return n(wi(s),Oi(l||{},i),u)},o&&(na.prototype[r]=function(s,l,u){return this.add(dw[r](s,jo(l)?l:(u=l)&&{},this),u)})},registerEase:function(t,r){sr[t]=Gc(r)},parseEase:function(t,r){return arguments.length?Gc(t,r):sr},getById:function(t){return Fr.getById(t)},exportRoot:function(t,r){t===void 0&&(t={});var n=new na(t),a,i;for(n.smoothChildTiming=ka(t.smoothChildTiming),Fr.remove(n),n._dp=0,n._time=n._tTime=Fr._time,a=Fr._first;a;)i=a._next,(r||!(!a._dur&&a instanceof sn&&a.vars.onComplete===a._targets[0]))&&Ro(n,a,a._start-a._delay),a=i;return Ro(Fr,n,0),n},context:function(t,r){return t?new vU(t,r):Wr},matchMedia:function(t){return new prt(t)},matchMediaRefresh:function(){return Wc.forEach(function(t){var r=t.conditions,n,a;for(a in r)r[a]&&(r[a]=!1,n=1);n&&t.revert()})||EE()},addEventListener:function(t,r){var n=Zy[t]||(Zy[t]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(t,r){var n=Zy[t],a=n&&n.indexOf(r);a>=0&&n.splice(a,1)},utils:{wrap:Wtt,wrapYoyo:Ktt,distribute:qH,random:XH,snap:jH,normalize:Gtt,getUnit:Hn,clamp:ztt,splitColor:tU,toArray:wi,selector:bE,mapRange:QH,pipe:Htt,unitize:Utt,interpolate:Ytt,shuffle:YH},install:NH,effects:dw,ticker:Ga,updateRoot:na.updateRoot,plugins:Ua,globalTimeline:Fr,core:{PropTween:Ra,globals:PH,Tween:sn,Timeline:na,Animation:Cg,getCache:Hc,_removeLinkedListItem:F_,reverting:function(){return Wn},context:function(t){return t&&Wr&&(Wr.data.push(t),t._ctx=Wr),Wr},suppressOverwrites:function(t){return gx=t}}};Ia("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return Q1[e]=sn[e]});Ga.add(na.updateRoot);Tf=Q1.to({},{duration:0});var hrt=function(t,r){for(var n=t._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},vrt=function(t,r){var n=t._targets,a,i,o;for(a in r)for(i=n.length;i--;)o=t._ptLookup[i][a],o&&(o=o.d)&&(o._pt&&(o=hrt(o,a)),o&&o.modifier&&o.modifier(r[a],t,n[i],a))},gw=function(t,r){return{name:t,rawVars:1,init:function(a,i,o){o._onInit=function(s){var l,u;if(En(i)&&(l={},Ia(i,function(c){return l[c]=1}),i=l),r){l={};for(u in i)l[u]=r(i[u]);i=l}vrt(s,i)}}}},Oa=Q1.registerPlugin({name:"attr",init:function(t,r,n,a,i){var o,s,l;this.tween=n;for(o in r)l=t.getAttribute(o)||"",s=this.add(t,"setAttribute",(l||0)+"",r[o],a,i,0,0,o),s.op=o,s.b=l,this._props.push(o)},render:function(t,r){for(var n=r._pt;n;)Wn?n.set(n.t,n.p,n.b,n):n.r(t,n.d),n=n._next}},{name:"endArray",init:function(t,r){for(var n=r.length;n--;)this.add(t,n,t[n]||0,r[n],0,0,0,0,0,1)}},gw("roundProps",wE),gw("modifiers"),gw("snap",jH))||Q1;sn.version=na.version=Oa.version="3.12.4";OH=1;yx()&&_p();sr.Power0;sr.Power1;sr.Power2;sr.Power3;sr.Power4;sr.Linear;sr.Quad;sr.Cubic;sr.Quart;sr.Quint;sr.Strong;sr.Elastic;sr.Back;sr.SteppedEase;sr.Bounce;sr.Sine;sr.Expo;sr.Circ;/*!
 * CSSPlugin 3.12.4
 * https://gsap.com
 *
 * Copyright 2008-2023, GreenSock. All rights reserved.
 * Subject to the terms at https://gsap.com/standard-license or for
 * Club GSAP members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/var BM,Ml,Vf,Rx,xc,FM,Mx,grt=function(){return typeof window<"u"},$s={},rc=180/Math.PI,Hf=Math.PI/180,Vd=Math.atan2,zM=1e8,Lx=/([A-Z])/g,mrt=/(left|right|width|margin|padding|x)/i,yrt=/[\s,\(]\S/,No={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},CE=function(t,r){return r.set(r.t,r.p,Math.round((r.s+r.c*t)*1e4)/1e4+r.u,r)},_rt=function(t,r){return r.set(r.t,r.p,t===1?r.e:Math.round((r.s+r.c*t)*1e4)/1e4+r.u,r)},brt=function(t,r){return r.set(r.t,r.p,t?Math.round((r.s+r.c*t)*1e4)/1e4+r.u:r.b,r)},wrt=function(t,r){var n=r.s+r.c*t;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},gU=function(t,r){return r.set(r.t,r.p,t?r.e:r.b,r)},mU=function(t,r){return r.set(r.t,r.p,t!==1?r.b:r.e,r)},Srt=function(t,r,n){return t.style[r]=n},Ert=function(t,r,n){return t.style.setProperty(r,n)},Crt=function(t,r,n){return t._gsap[r]=n},Trt=function(t,r,n){return t._gsap.scaleX=t._gsap.scaleY=n},xrt=function(t,r,n,a,i){var o=t._gsap;o.scaleX=o.scaleY=n,o.renderTransform(i,o)},Art=function(t,r,n,a,i){var o=t._gsap;o[r]=n,o.renderTransform(i,o)},zr="transform",Ma=zr+"Origin",krt=function e(t,r){var n=this,a=this.target,i=a.style,o=a._gsap;if(t in $s&&i){if(this.tfm=this.tfm||{},t!=="transform")t=No[t]||t,~t.indexOf(",")?t.split(",").forEach(function(s){return n.tfm[s]=ys(a,s)}):this.tfm[t]=o.x?o[t]:ys(a,t),t===Ma&&(this.tfm.zOrigin=o.zOrigin);else return No.transform.split(",").forEach(function(s){return e.call(n,s,r)});if(this.props.indexOf(zr)>=0)return;o.svg&&(this.svgo=a.getAttribute("data-svg-origin"),this.props.push(Ma,r,"")),t=zr}(i||r)&&this.props.push(t,r,i[t])},yU=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Irt=function(){var t=this.props,r=this.target,n=r.style,a=r._gsap,i,o;for(i=0;i<t.length;i+=3)t[i+1]?r[t[i]]=t[i+2]:t[i+2]?n[t[i]]=t[i+2]:n.removeProperty(t[i].substr(0,2)==="--"?t[i]:t[i].replace(Lx,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)a[o]=this.tfm[o];a.svg&&(a.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),i=Mx(),(!i||!i.isStart)&&!n[zr]&&(yU(n),a.zOrigin&&n[Ma]&&(n[Ma]+=" "+a.zOrigin+"px",a.zOrigin=0,a.renderTransform()),a.uncache=1)}},_U=function(t,r){var n={target:t,props:[],revert:Irt,save:krt};return t._gsap||Oa.core.getCache(t),r&&r.split(",").forEach(function(a){return n.save(a)}),n},bU,TE=function(t,r){var n=Ml.createElementNS?Ml.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ml.createElement(t);return n&&n.style?n:Ml.createElement(t)},Vo=function e(t,r,n){var a=getComputedStyle(t);return a[r]||a.getPropertyValue(r.replace(Lx,"-$1").toLowerCase())||a.getPropertyValue(r)||!n&&e(t,bp(r)||r,1)||""},VM="O,Moz,ms,Ms,Webkit".split(","),bp=function(t,r,n){var a=r||xc,i=a.style,o=5;if(t in i&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);o--&&!(VM[o]+t in i););return o<0?null:(o===3?"ms":o>=0?VM[o]:"")+t},xE=function(){grt()&&window.document&&(BM=window,Ml=BM.document,Vf=Ml.documentElement,xc=TE("div")||{style:{}},TE("div"),zr=bp(zr),Ma=zr+"Origin",xc.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",bU=!!bp("perspective"),Mx=Oa.core.reverting,Rx=1)},mw=function e(t){var r=TE("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,a=this.nextSibling,i=this.style.cssText,o;if(Vf.appendChild(r),r.appendChild(this),this.style.display="block",t)try{o=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=e}catch{}else this._gsapBBox&&(o=this._gsapBBox());return n&&(a?n.insertBefore(this,a):n.appendChild(this)),Vf.removeChild(r),this.style.cssText=i,o},HM=function(t,r){for(var n=r.length;n--;)if(t.hasAttribute(r[n]))return t.getAttribute(r[n])},wU=function(t){var r;try{r=t.getBBox()}catch{r=mw.call(t,!0)}return r&&(r.width||r.height)||t.getBBox===mw||(r=mw.call(t,!0)),r&&!r.width&&!r.x&&!r.y?{x:+HM(t,["x","cx","x1"])||0,y:+HM(t,["y","cy","y1"])||0,width:0,height:0}:r},SU=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&wU(t))},fd=function(t,r){if(r){var n=t.style,a;r in $s&&r!==Ma&&(r=zr),n.removeProperty?(a=r.substr(0,2),(a==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(a==="--"?r:r.replace(Lx,"-$1").toLowerCase())):n.removeAttribute(r)}},Ll=function(t,r,n,a,i,o){var s=new Ra(t._pt,r,n,0,1,o?mU:gU);return t._pt=s,s.b=a,s.e=i,t._props.push(n),s},UM={deg:1,rad:1,turn:1},Rrt={grid:1,flex:1},au=function e(t,r,n,a){var i=parseFloat(n)||0,o=(n+"").trim().substr((i+"").length)||"px",s=xc.style,l=mrt.test(r),u=t.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),d=100,f=a==="px",p=a==="%",h,v,g,m;if(a===o||!i||UM[a]||UM[o])return i;if(o!=="px"&&!f&&(i=e(t,r,n,"px")),m=t.getCTM&&SU(t),(p||o==="%")&&($s[r]||~r.indexOf("adius")))return h=m?t.getBBox()[l?"width":"height"]:t[c],Qr(p?i/h*d:i/100*h);if(s[l?"width":"height"]=d+(f?o:a),v=~r.indexOf("adius")||a==="em"&&t.appendChild&&!u?t:t.parentNode,m&&(v=(t.ownerSVGElement||{}).parentNode),(!v||v===Ml||!v.appendChild)&&(v=Ml.body),g=v._gsap,g&&p&&g.width&&l&&g.time===Ga.time&&!g.uncache)return Qr(i/g.width*d);if(p&&(r==="height"||r==="width")){var y=t.style[r];t.style[r]=d+a,h=t[c],y?t.style[r]=y:fd(t,r)}else(p||o==="%")&&!Rrt[Vo(v,"display")]&&(s.position=Vo(t,"position")),v===t&&(s.position="static"),v.appendChild(xc),h=xc[c],v.removeChild(xc),s.position="absolute";return l&&p&&(g=Hc(v),g.time=Ga.time,g.width=v[c]),Qr(f?h*i/d:h&&i?d/h*i:0)},ys=function(t,r,n,a){var i;return Rx||xE(),r in No&&r!=="transform"&&(r=No[r],~r.indexOf(",")&&(r=r.split(",")[0])),$s[r]&&r!=="transform"?(i=xg(t,a),i=r!=="transformOrigin"?i[r]:i.svg?i.origin:e2(Vo(t,Ma))+" "+i.zOrigin+"px"):(i=t.style[r],(!i||i==="auto"||a||~(i+"").indexOf("calc("))&&(i=J1[r]&&J1[r](t,r,n)||Vo(t,r)||BH(t,r)||(r==="opacity"?1:0))),n&&!~(i+"").trim().indexOf(" ")?au(t,r,i,n)+n:i},Mrt=function(t,r,n,a){if(!n||n==="none"){var i=bp(r,t,1),o=i&&Vo(t,i,1);o&&o!==n?(r=i,n=o):r==="borderColor"&&(n=Vo(t,"borderTopColor"))}var s=new Ra(this._pt,t.style,r,0,1,pU),l=0,u=0,c,d,f,p,h,v,g,m,y,_,w,E;if(s.b=n,s.e=a,n+="",a+="",a==="auto"&&(v=t.style[r],t.style[r]=a,a=Vo(t,r)||a,v?t.style[r]=v:fd(t,r)),c=[n,a],nU(c),n=c[0],a=c[1],f=n.match(Cf)||[],E=a.match(Cf)||[],E.length){for(;d=Cf.exec(a);)g=d[0],y=a.substring(l,d.index),h?h=(h+1)%5:(y.substr(-5)==="rgba("||y.substr(-5)==="hsla(")&&(h=1),g!==(v=f[u++]||"")&&(p=parseFloat(v)||0,w=v.substr((p+"").length),g.charAt(1)==="="&&(g=zf(p,g)+w),m=parseFloat(g),_=g.substr((m+"").length),l=Cf.lastIndex-_.length,_||(_=_||Xa.units[r]||w,l===a.length&&(a+=_,s.e+=_)),w!==_&&(p=au(t,r,v,_)||0),s._pt={_next:s._pt,p:y||u===1?y:",",s:p,c:m-p,m:h&&h<4||r==="zIndex"?Math.round:0});s.c=l<a.length?a.substring(l,a.length):""}else s.r=r==="display"&&a==="none"?mU:gU;return LH.test(a)&&(s.e=0),this._pt=s,s},GM={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Lrt=function(t){var r=t.split(" "),n=r[0],a=r[1]||"50%";return(n==="top"||n==="bottom"||a==="left"||a==="right")&&(t=n,n=a,a=t),r[0]=GM[n]||n,r[1]=GM[a]||a,r.join(" ")},Drt=function(t,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,a=n.style,i=r.u,o=n._gsap,s,l,u;if(i==="all"||i===!0)a.cssText="",l=1;else for(i=i.split(","),u=i.length;--u>-1;)s=i[u],$s[s]&&(l=1,s=s==="transformOrigin"?Ma:zr),fd(n,s);l&&(fd(n,zr),o&&(o.svg&&n.removeAttribute("transform"),xg(n,1),o.uncache=1,yU(a)))}},J1={clearProps:function(t,r,n,a,i){if(i.data!=="isFromStart"){var o=t._pt=new Ra(t._pt,r,n,0,0,Drt);return o.u=a,o.pr=-10,o.tween=i,t._props.push(n),1}}},Tg=[1,0,0,1,0,0],EU={},CU=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},WM=function(t){var r=Vo(t,zr);return CU(r)?Tg:r.substr(7).match(MH).map(Qr)},Dx=function(t,r){var n=t._gsap||Hc(t),a=t.style,i=WM(t),o,s,l,u;return n.svg&&t.getAttribute("transform")?(l=t.transform.baseVal.consolidate().matrix,i=[l.a,l.b,l.c,l.d,l.e,l.f],i.join(",")==="1,0,0,1,0,0"?Tg:i):(i===Tg&&!t.offsetParent&&t!==Vf&&!n.svg&&(l=a.display,a.display="block",o=t.parentNode,(!o||!t.offsetParent)&&(u=1,s=t.nextElementSibling,Vf.appendChild(t)),i=WM(t),l?a.display=l:fd(t,"display"),u&&(s?o.insertBefore(t,s):o?o.appendChild(t):Vf.removeChild(t))),r&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},AE=function(t,r,n,a,i,o){var s=t._gsap,l=i||Dx(t,!0),u=s.xOrigin||0,c=s.yOrigin||0,d=s.xOffset||0,f=s.yOffset||0,p=l[0],h=l[1],v=l[2],g=l[3],m=l[4],y=l[5],_=r.split(" "),w=parseFloat(_[0])||0,E=parseFloat(_[1])||0,S,C,T,x;n?l!==Tg&&(C=p*g-h*v)&&(T=w*(g/C)+E*(-v/C)+(v*y-g*m)/C,x=w*(-h/C)+E*(p/C)-(p*y-h*m)/C,w=T,E=x):(S=wU(t),w=S.x+(~_[0].indexOf("%")?w/100*S.width:w),E=S.y+(~(_[1]||_[0]).indexOf("%")?E/100*S.height:E)),a||a!==!1&&s.smooth?(m=w-u,y=E-c,s.xOffset=d+(m*p+y*v)-m,s.yOffset=f+(m*h+y*g)-y):s.xOffset=s.yOffset=0,s.xOrigin=w,s.yOrigin=E,s.smooth=!!a,s.origin=r,s.originIsAbsolute=!!n,t.style[Ma]="0px 0px",o&&(Ll(o,s,"xOrigin",u,w),Ll(o,s,"yOrigin",c,E),Ll(o,s,"xOffset",d,s.xOffset),Ll(o,s,"yOffset",f,s.yOffset)),t.setAttribute("data-svg-origin",w+" "+E)},xg=function(t,r){var n=t._gsap||new sU(t);if("x"in n&&!r&&!n.uncache)return n;var a=t.style,i=n.scaleX<0,o="px",s="deg",l=getComputedStyle(t),u=Vo(t,Ma)||"0",c,d,f,p,h,v,g,m,y,_,w,E,S,C,T,x,A,k,R,M,O,z,B,P,F,D,H,K,Y,X,J,fe;return c=d=f=v=g=m=y=_=w=0,p=h=1,n.svg=!!(t.getCTM&&SU(t)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(a[zr]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[zr]!=="none"?l[zr]:"")),a.scale=a.rotate=a.translate="none"),C=Dx(t,n.svg),n.svg&&(n.uncache?(F=t.getBBox(),u=n.xOrigin-F.x+"px "+(n.yOrigin-F.y)+"px",P=""):P=!r&&t.getAttribute("data-svg-origin"),AE(t,P||u,!!P||n.originIsAbsolute,n.smooth!==!1,C)),E=n.xOrigin||0,S=n.yOrigin||0,C!==Tg&&(k=C[0],R=C[1],M=C[2],O=C[3],c=z=C[4],d=B=C[5],C.length===6?(p=Math.sqrt(k*k+R*R),h=Math.sqrt(O*O+M*M),v=k||R?Vd(R,k)*rc:0,y=M||O?Vd(M,O)*rc+v:0,y&&(h*=Math.abs(Math.cos(y*Hf))),n.svg&&(c-=E-(E*k+S*M),d-=S-(E*R+S*O))):(fe=C[6],X=C[7],H=C[8],K=C[9],Y=C[10],J=C[11],c=C[12],d=C[13],f=C[14],T=Vd(fe,Y),g=T*rc,T&&(x=Math.cos(-T),A=Math.sin(-T),P=z*x+H*A,F=B*x+K*A,D=fe*x+Y*A,H=z*-A+H*x,K=B*-A+K*x,Y=fe*-A+Y*x,J=X*-A+J*x,z=P,B=F,fe=D),T=Vd(-M,Y),m=T*rc,T&&(x=Math.cos(-T),A=Math.sin(-T),P=k*x-H*A,F=R*x-K*A,D=M*x-Y*A,J=O*A+J*x,k=P,R=F,M=D),T=Vd(R,k),v=T*rc,T&&(x=Math.cos(T),A=Math.sin(T),P=k*x+R*A,F=z*x+B*A,R=R*x-k*A,B=B*x-z*A,k=P,z=F),g&&Math.abs(g)+Math.abs(v)>359.9&&(g=v=0,m=180-m),p=Qr(Math.sqrt(k*k+R*R+M*M)),h=Qr(Math.sqrt(B*B+fe*fe)),T=Vd(z,B),y=Math.abs(T)>2e-4?T*rc:0,w=J?1/(J<0?-J:J):0),n.svg&&(P=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!CU(Vo(t,zr)),P&&t.setAttribute("transform",P))),Math.abs(y)>90&&Math.abs(y)<270&&(i?(p*=-1,y+=v<=0?180:-180,v+=v<=0?180:-180):(h*=-1,y+=y<=0?180:-180)),r=r||n.uncache,n.x=c-((n.xPercent=c&&(!r&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-c)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+o,n.y=d-((n.yPercent=d&&(!r&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-d)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+o,n.z=f+o,n.scaleX=Qr(p),n.scaleY=Qr(h),n.rotation=Qr(v)+s,n.rotationX=Qr(g)+s,n.rotationY=Qr(m)+s,n.skewX=y+s,n.skewY=_+s,n.transformPerspective=w+o,(n.zOrigin=parseFloat(u.split(" ")[2])||!r&&n.zOrigin||0)&&(a[Ma]=e2(u)),n.xOffset=n.yOffset=0,n.force3D=Xa.force3D,n.renderTransform=n.svg?Nrt:bU?TU:Ort,n.uncache=0,n},e2=function(t){return(t=t.split(" "))[0]+" "+t[1]},yw=function(t,r,n){var a=Hn(r);return Qr(parseFloat(r)+parseFloat(au(t,"x",n+"px",a)))+a},Ort=function(t,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,TU(t,r)},Iu="0deg",fh="0px",Ru=") ",TU=function(t,r){var n=r||this,a=n.xPercent,i=n.yPercent,o=n.x,s=n.y,l=n.z,u=n.rotation,c=n.rotationY,d=n.rotationX,f=n.skewX,p=n.skewY,h=n.scaleX,v=n.scaleY,g=n.transformPerspective,m=n.force3D,y=n.target,_=n.zOrigin,w="",E=m==="auto"&&t&&t!==1||m===!0;if(_&&(d!==Iu||c!==Iu)){var S=parseFloat(c)*Hf,C=Math.sin(S),T=Math.cos(S),x;S=parseFloat(d)*Hf,x=Math.cos(S),o=yw(y,o,C*x*-_),s=yw(y,s,-Math.sin(S)*-_),l=yw(y,l,T*x*-_+_)}g!==fh&&(w+="perspective("+g+Ru),(a||i)&&(w+="translate("+a+"%, "+i+"%) "),(E||o!==fh||s!==fh||l!==fh)&&(w+=l!==fh||E?"translate3d("+o+", "+s+", "+l+") ":"translate("+o+", "+s+Ru),u!==Iu&&(w+="rotate("+u+Ru),c!==Iu&&(w+="rotateY("+c+Ru),d!==Iu&&(w+="rotateX("+d+Ru),(f!==Iu||p!==Iu)&&(w+="skew("+f+", "+p+Ru),(h!==1||v!==1)&&(w+="scale("+h+", "+v+Ru),y.style[zr]=w||"translate(0, 0)"},Nrt=function(t,r){var n=r||this,a=n.xPercent,i=n.yPercent,o=n.x,s=n.y,l=n.rotation,u=n.skewX,c=n.skewY,d=n.scaleX,f=n.scaleY,p=n.target,h=n.xOrigin,v=n.yOrigin,g=n.xOffset,m=n.yOffset,y=n.forceCSS,_=parseFloat(o),w=parseFloat(s),E,S,C,T,x;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Hf,u*=Hf,E=Math.cos(l)*d,S=Math.sin(l)*d,C=Math.sin(l-u)*-f,T=Math.cos(l-u)*f,u&&(c*=Hf,x=Math.tan(u-c),x=Math.sqrt(1+x*x),C*=x,T*=x,c&&(x=Math.tan(c),x=Math.sqrt(1+x*x),E*=x,S*=x)),E=Qr(E),S=Qr(S),C=Qr(C),T=Qr(T)):(E=d,T=f,S=C=0),(_&&!~(o+"").indexOf("px")||w&&!~(s+"").indexOf("px"))&&(_=au(p,"x",o,"px"),w=au(p,"y",s,"px")),(h||v||g||m)&&(_=Qr(_+h-(h*E+v*C)+g),w=Qr(w+v-(h*S+v*T)+m)),(a||i)&&(x=p.getBBox(),_=Qr(_+a/100*x.width),w=Qr(w+i/100*x.height)),x="matrix("+E+","+S+","+C+","+T+","+_+","+w+")",p.setAttribute("transform",x),y&&(p.style[zr]=x)},Prt=function(t,r,n,a,i){var o=360,s=En(i),l=parseFloat(i)*(s&&~i.indexOf("rad")?rc:1),u=l-a,c=a+u+"deg",d,f;return s&&(d=i.split("_")[1],d==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),d==="cw"&&u<0?u=(u+o*zM)%o-~~(u/o)*o:d==="ccw"&&u>0&&(u=(u-o*zM)%o-~~(u/o)*o)),t._pt=f=new Ra(t._pt,r,n,a,u,_rt),f.e=c,f.u="deg",t._props.push(n),f},KM=function(t,r){for(var n in r)t[n]=r[n];return t},$rt=function(t,r,n){var a=KM({},n._gsap),i="perspective,force3D,transformOrigin,svgOrigin",o=n.style,s,l,u,c,d,f,p,h;a.svg?(u=n.getAttribute("transform"),n.setAttribute("transform",""),o[zr]=r,s=xg(n,1),fd(n,zr),n.setAttribute("transform",u)):(u=getComputedStyle(n)[zr],o[zr]=r,s=xg(n,1),o[zr]=u);for(l in $s)u=a[l],c=s[l],u!==c&&i.indexOf(l)<0&&(p=Hn(u),h=Hn(c),d=p!==h?au(n,l,u,h):parseFloat(u),f=parseFloat(c),t._pt=new Ra(t._pt,s,l,d,f-d,CE),t._pt.u=h||0,t._props.push(l));KM(s,a)};Ia("padding,margin,Width,Radius",function(e,t){var r="Top",n="Right",a="Bottom",i="Left",o=(t<3?[r,n,a,i]:[r+i,r+n,a+n,a+i]).map(function(s){return t<2?e+s:"border"+s+e});J1[t>1?"border"+e:e]=function(s,l,u,c,d){var f,p;if(arguments.length<4)return f=o.map(function(h){return ys(s,h,u)}),p=f.join(" "),p.split(f[0]).length===5?f[0]:p;f=(c+"").split(" "),p={},o.forEach(function(h,v){return p[h]=f[v]=f[v]||f[(v-1)/2|0]}),s.init(l,p,d)}});var xU={name:"css",register:xE,targetTest:function(t){return t.style&&t.nodeType},init:function(t,r,n,a,i){var o=this._props,s=t.style,l=n.vars.startAt,u,c,d,f,p,h,v,g,m,y,_,w,E,S,C,T;Rx||xE(),this.styles=this.styles||_U(t),T=this.styles.props,this.tween=n;for(v in r)if(v!=="autoRound"&&(c=r[v],!(Ua[v]&&lU(v,r,n,a,t,i)))){if(p=typeof c,h=J1[v],p==="function"&&(c=c.call(n,a,t,i),p=typeof c),p==="string"&&~c.indexOf("random(")&&(c=Sg(c)),h)h(this,t,v,c,n)&&(C=1);else if(v.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(v)+"").trim(),c+="",Kl.lastIndex=0,Kl.test(u)||(g=Hn(u),m=Hn(c)),m?g!==m&&(u=au(t,v,u,m)+m):g&&(c+=g),this.add(s,"setProperty",u,c,a,i,0,0,v),o.push(v),T.push(v,0,s[v]);else if(p!=="undefined"){if(l&&v in l?(u=typeof l[v]=="function"?l[v].call(n,a,t,i):l[v],En(u)&&~u.indexOf("random(")&&(u=Sg(u)),Hn(u+"")||u==="auto"||(u+=Xa.units[v]||Hn(ys(t,v))||""),(u+"").charAt(1)==="="&&(u=ys(t,v))):u=ys(t,v),f=parseFloat(u),y=p==="string"&&c.charAt(1)==="="&&c.substr(0,2),y&&(c=c.substr(2)),d=parseFloat(c),v in No&&(v==="autoAlpha"&&(f===1&&ys(t,"visibility")==="hidden"&&d&&(f=0),T.push("visibility",0,s.visibility),Ll(this,s,"visibility",f?"inherit":"hidden",d?"inherit":"hidden",!d)),v!=="scale"&&v!=="transform"&&(v=No[v],~v.indexOf(",")&&(v=v.split(",")[0]))),_=v in $s,_){if(this.styles.save(v),w||(E=t._gsap,E.renderTransform&&!r.parseTransform||xg(t,r.parseTransform),S=r.smoothOrigin!==!1&&E.smooth,w=this._pt=new Ra(this._pt,s,zr,0,1,E.renderTransform,E,0,-1),w.dep=1),v==="scale")this._pt=new Ra(this._pt,E,"scaleY",E.scaleY,(y?zf(E.scaleY,y+d):d)-E.scaleY||0,CE),this._pt.u=0,o.push("scaleY",v),v+="X";else if(v==="transformOrigin"){T.push(Ma,0,s[Ma]),c=Lrt(c),E.svg?AE(t,c,0,S,0,this):(m=parseFloat(c.split(" ")[2])||0,m!==E.zOrigin&&Ll(this,E,"zOrigin",E.zOrigin,m),Ll(this,s,v,e2(u),e2(c)));continue}else if(v==="svgOrigin"){AE(t,c,1,S,0,this);continue}else if(v in EU){Prt(this,E,v,f,y?zf(f,y+c):c);continue}else if(v==="smoothOrigin"){Ll(this,E,"smooth",E.smooth,c);continue}else if(v==="force3D"){E[v]=c;continue}else if(v==="transform"){$rt(this,c,t);continue}}else v in s||(v=bp(v)||v);if(_||(d||d===0)&&(f||f===0)&&!yrt.test(c)&&v in s)g=(u+"").substr((f+"").length),d||(d=0),m=Hn(c)||(v in Xa.units?Xa.units[v]:g),g!==m&&(f=au(t,v,u,m)),this._pt=new Ra(this._pt,_?E:s,v,f,(y?zf(f,y+d):d)-f,!_&&(m==="px"||v==="zIndex")&&r.autoRound!==!1?wrt:CE),this._pt.u=m||0,g!==m&&m!=="%"&&(this._pt.b=u,this._pt.r=brt);else if(v in s)Mrt.call(this,t,v,u,y?y+c:c);else if(v in t)this.add(t,v,u||t[v],y?y+c:c,a,i);else if(v!=="parseTransform"){bx(v,c);continue}_||(v in s?T.push(v,0,s[v]):T.push(v,1,u||t[v])),o.push(v)}}C&&hU(this)},render:function(t,r){if(r.tween._time||!Mx())for(var n=r._pt;n;)n.r(t,n.d),n=n._next;else r.styles.revert()},get:ys,aliases:No,getSetter:function(t,r,n){var a=No[r];return a&&a.indexOf(",")<0&&(r=a),r in $s&&r!==Ma&&(t._gsap.x||ys(t,"x"))?n&&FM===n?r==="scale"?Trt:Crt:(FM=n||{})&&(r==="scale"?xrt:Art):t.style&&!mx(t.style[r])?Srt:~r.indexOf("-")?Ert:kx(t,r)},core:{_removeProperty:fd,_getMatrix:Dx}};Oa.utils.checkPrefix=bp;Oa.core.getStyleSaver=_U;(function(e,t,r,n){var a=Ia(e+","+t+","+r,function(i){$s[i]=1});Ia(t,function(i){Xa.units[i]="deg",EU[i]=1}),No[a[13]]=e+","+t,Ia(n,function(i){var o=i.split(":");No[o[1]]=a[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Ia("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){Xa.units[e]="px"});Oa.registerPlugin(xU);var Brt=Oa.registerPlugin(xU)||Oa;Brt.core.Tween;var AU={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
 * Prism: Lightweight, robust, elegant syntax highlighting
 *
 * @license MIT <https://opensource.org/licenses/MIT>
 * @author Lea Verou <https://lea.verou.me>
 * @namespace
 * @public
 */var r=function(n){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,o={},s={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function y(_){return _ instanceof l?new l(_.type,y(_.content),_.alias):Array.isArray(_)?_.map(y):_.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(y){return Object.prototype.toString.call(y).slice(8,-1)},objId:function(y){return y.__id||Object.defineProperty(y,"__id",{value:++i}),y.__id},clone:function y(_,w){w=w||{};var E,S;switch(s.util.type(_)){case"Object":if(S=s.util.objId(_),w[S])return w[S];E={},w[S]=E;for(var C in _)_.hasOwnProperty(C)&&(E[C]=y(_[C],w));return E;case"Array":return S=s.util.objId(_),w[S]?w[S]:(E=[],w[S]=E,_.forEach(function(T,x){E[x]=y(T,w)}),E);default:return _}},getLanguage:function(y){for(;y;){var _=a.exec(y.className);if(_)return _[1].toLowerCase();y=y.parentElement}return"none"},setLanguage:function(y,_){y.className=y.className.replace(RegExp(a,"gi"),""),y.classList.add("language-"+_)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(E){var y=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(E.stack)||[])[1];if(y){var _=document.getElementsByTagName("script");for(var w in _)if(_[w].src==y)return _[w]}return null}},isActive:function(y,_,w){for(var E="no-"+_;y;){var S=y.classList;if(S.contains(_))return!0;if(S.contains(E))return!1;y=y.parentElement}return!!w}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(y,_){var w=s.util.clone(s.languages[y]);for(var E in _)w[E]=_[E];return w},insertBefore:function(y,_,w,E){E=E||s.languages;var S=E[y],C={};for(var T in S)if(S.hasOwnProperty(T)){if(T==_)for(var x in w)w.hasOwnProperty(x)&&(C[x]=w[x]);w.hasOwnProperty(T)||(C[T]=S[T])}var A=E[y];return E[y]=C,s.languages.DFS(s.languages,function(k,R){R===A&&k!=y&&(this[k]=C)}),C},DFS:function y(_,w,E,S){S=S||{};var C=s.util.objId;for(var T in _)if(_.hasOwnProperty(T)){w.call(_,T,_[T],E||T);var x=_[T],A=s.util.type(x);A==="Object"&&!S[C(x)]?(S[C(x)]=!0,y(x,w,null,S)):A==="Array"&&!S[C(x)]&&(S[C(x)]=!0,y(x,w,T,S))}}},plugins:{},highlightAll:function(y,_){s.highlightAllUnder(document,y,_)},highlightAllUnder:function(y,_,w){var E={callback:w,container:y,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",E),E.elements=Array.prototype.slice.apply(E.container.querySelectorAll(E.selector)),s.hooks.run("before-all-elements-highlight",E);for(var S=0,C;C=E.elements[S++];)s.highlightElement(C,_===!0,E.callback)},highlightElement:function(y,_,w){var E=s.util.getLanguage(y),S=s.languages[E];s.util.setLanguage(y,E);var C=y.parentElement;C&&C.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(C,E);var T=y.textContent,x={element:y,language:E,grammar:S,code:T};function A(R){x.highlightedCode=R,s.hooks.run("before-insert",x),x.element.innerHTML=x.highlightedCode,s.hooks.run("after-highlight",x),s.hooks.run("complete",x),w&&w.call(x.element)}if(s.hooks.run("before-sanity-check",x),C=x.element.parentElement,C&&C.nodeName.toLowerCase()==="pre"&&!C.hasAttribute("tabindex")&&C.setAttribute("tabindex","0"),!x.code){s.hooks.run("complete",x),w&&w.call(x.element);return}if(s.hooks.run("before-highlight",x),!x.grammar){A(s.util.encode(x.code));return}if(_&&n.Worker){var k=new Worker(s.filename);k.onmessage=function(R){A(R.data)},k.postMessage(JSON.stringify({language:x.language,code:x.code,immediateClose:!0}))}else A(s.highlight(x.code,x.grammar,x.language))},highlight:function(y,_,w){var E={code:y,grammar:_,language:w};if(s.hooks.run("before-tokenize",E),!E.grammar)throw new Error('The language "'+E.language+'" has no grammar.');return E.tokens=s.tokenize(E.code,E.grammar),s.hooks.run("after-tokenize",E),l.stringify(s.util.encode(E.tokens),E.language)},tokenize:function(y,_){var w=_.rest;if(w){for(var E in w)_[E]=w[E];delete _.rest}var S=new d;return f(S,S.head,y),c(y,S,_,S.head,0),h(S)},hooks:{all:{},add:function(y,_){var w=s.hooks.all;w[y]=w[y]||[],w[y].push(_)},run:function(y,_){var w=s.hooks.all[y];if(!(!w||!w.length))for(var E=0,S;S=w[E++];)S(_)}},Token:l};n.Prism=s;function l(y,_,w,E){this.type=y,this.content=_,this.alias=w,this.length=(E||"").length|0}l.stringify=function y(_,w){if(typeof _=="string")return _;if(Array.isArray(_)){var E="";return _.forEach(function(A){E+=y(A,w)}),E}var S={type:_.type,content:y(_.content,w),tag:"span",classes:["token",_.type],attributes:{},language:w},C=_.alias;C&&(Array.isArray(C)?Array.prototype.push.apply(S.classes,C):S.classes.push(C)),s.hooks.run("wrap",S);var T="";for(var x in S.attributes)T+=" "+x+'="'+(S.attributes[x]||"").replace(/"/g,"&quot;")+'"';return"<"+S.tag+' class="'+S.classes.join(" ")+'"'+T+">"+S.content+"</"+S.tag+">"};function u(y,_,w,E){y.lastIndex=_;var S=y.exec(w);if(S&&E&&S[1]){var C=S[1].length;S.index+=C,S[0]=S[0].slice(C)}return S}function c(y,_,w,E,S,C){for(var T in w)if(!(!w.hasOwnProperty(T)||!w[T])){var x=w[T];x=Array.isArray(x)?x:[x];for(var A=0;A<x.length;++A){if(C&&C.cause==T+","+A)return;var k=x[A],R=k.inside,M=!!k.lookbehind,O=!!k.greedy,z=k.alias;if(O&&!k.pattern.global){var B=k.pattern.toString().match(/[imsuy]*$/)[0];k.pattern=RegExp(k.pattern.source,B+"g")}for(var P=k.pattern||k,F=E.next,D=S;F!==_.tail&&!(C&&D>=C.reach);D+=F.value.length,F=F.next){var H=F.value;if(_.length>y.length)return;if(!(H instanceof l)){var K=1,Y;if(O){if(Y=u(P,D,y,M),!Y||Y.index>=y.length)break;var se=Y.index,X=Y.index+Y[0].length,J=D;for(J+=F.value.length;se>=J;)F=F.next,J+=F.value.length;if(J-=F.value.length,D=J,F.value instanceof l)continue;for(var fe=F;fe!==_.tail&&(J<X||typeof fe.value=="string");fe=fe.next)K++,J+=fe.value.length;K--,H=y.slice(D,J),Y.index-=D}else if(Y=u(P,0,H,M),!Y)continue;var se=Y.index,q=Y[0],j=H.slice(0,se),ae=H.slice(se+q.length),ne=D+H.length;C&&ne>C.reach&&(C.reach=ne);var le=F.prev;j&&(le=f(_,le,j),D+=j.length),p(_,le,K);var W=new l(T,R?s.tokenize(q,R):q,z,q);if(F=f(_,le,W),ae&&f(_,F,ae),K>1){var Z={cause:T+","+A,reach:ne};c(y,_,w,F.prev,D,Z),C&&Z.reach>C.reach&&(C.reach=Z.reach)}}}}}}function d(){var y={value:null,prev:null,next:null},_={value:null,prev:y,next:null};y.next=_,this.head=y,this.tail=_,this.length=0}function f(y,_,w){var E=_.next,S={value:w,prev:_,next:E};return _.next=S,E.prev=S,y.length++,S}function p(y,_,w){for(var E=_.next,S=0;S<w&&E!==y.tail;S++)E=E.next;_.next=E,E.prev=_,y.length-=S}function h(y){for(var _=[],w=y.head.next;w!==y.tail;)_.push(w.value),w=w.next;return _}if(!n.document)return n.addEventListener&&(s.disableWorkerMessageHandler||n.addEventListener("message",function(y){var _=JSON.parse(y.data),w=_.language,E=_.code,S=_.immediateClose;n.postMessage(s.highlight(E,s.languages[w],w)),S&&n.close()},!1)),s;var v=s.util.currentScript();v&&(s.filename=v.src,v.hasAttribute("data-manual")&&(s.manual=!0));function g(){s.manual||s.highlightAll()}if(!s.manual){var m=document.readyState;m==="loading"||m==="interactive"&&v&&v.defer?document.addEventListener("DOMContentLoaded",g):window.requestAnimationFrame?window.requestAnimationFrame(g):window.setTimeout(g,16)}return s}(t);e.exports&&(e.exports=r),typeof so<"u"&&(so.Prism=r)})(AU);var Frt=AU.exports;const yEt=vo(Frt);Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]};Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity;Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup;Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))});Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,r){var n={};n["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[r]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};a["language-"+r]={pattern:/[\s\S]+/,inside:Prism.languages[r]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},Prism.languages.insertBefore("markup","cdata",i)}});Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});Prism.languages.html=Prism.languages.markup;Prism.languages.mathml=Prism.languages.markup;Prism.languages.svg=Prism.languages.markup;Prism.languages.xml=Prism.languages.extend("markup",{});Prism.languages.ssml=Prism.languages.xml;Prism.languages.atom=Prism.languages.xml;Prism.languages.rss=Prism.languages.xml;(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(Prism);Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};(function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,n={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},a={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},i="(?:[^\\\\-]|"+r.source+")",o=RegExp(i+"-"+i),s={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:o,inside:{escape:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":a,escape:r}},"special-escape":t,"char-set":n,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":s}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":s}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(Prism);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;Prism.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/};(function(e){var t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(Prism);Prism.languages.actionscript=Prism.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/});Prism.languages.actionscript["class-name"].alias="function";delete Prism.languages.actionscript.parameter;delete Prism.languages.actionscript["literal-property"];Prism.languages.markup&&Prism.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:Prism.languages.markup}});Prism.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i};(function(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(Prism);Prism.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/};Prism.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/};Prism.languages.g4=Prism.languages.antlr4;Prism.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/};Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};(function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,r=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return t.source});function n(i){return RegExp(i.replace(/<CLASS-NAME>/g,function(){return r}),"i")}var a={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:n(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:a},{pattern:n(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:n(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}})(Prism);Prism.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}};Prism.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/};Prism.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/};Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/});Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}});Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}});Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/});delete Prism.languages.c.boolean;(function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])})(Prism);Prism.languages.arduino=Prism.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/});Prism.languages.ino=Prism.languages.arduino;Prism.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/};Prism.languages.armasm={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"/,greedy:!0,inside:{variable:{pattern:/((?:^|[^$])(?:\${2})*)\$\w+/,lookbehind:!0}}},char:{pattern:/'(?:[^'\r\n]{0,4}|'')'/,greedy:!0},"version-symbol":{pattern:/\|[\w@]+\|/,greedy:!0,alias:"property"},boolean:/\b(?:FALSE|TRUE)\b/,directive:{pattern:/\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/,alias:"property"},instruction:{pattern:/((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/,lookbehind:!0,alias:"keyword"},variable:/\$\w+/,number:/(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i,register:{pattern:/\b(?:r\d|lr)\b/,alias:"symbol"},operator:/<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/,punctuation:/[()[\],]/};Prism.languages["arm-asm"]=Prism.languages.armasm;(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=n.variable[1].inside,o=0;o<a.length;o++)i[a[o]]=e.languages.bash[a[o]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(Prism);(function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ 	]+"+t.source+")?|"+t.source+"(?:[ 	]+"+r.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(s,l){l=(l||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<value>>/g,function(){return s});return RegExp(u,l)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);(function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(c){return c=c.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+c+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(c){["url","bold","italic","strike","code-snippet"].forEach(function(d){c!==d&&(e.languages.markdown[c].inside.content.inside[d]=e.languages.markdown[d])})}),e.hooks.add("after-tokenize",function(c){if(c.language!=="markdown"&&c.language!=="md")return;function d(f){if(!(!f||typeof f=="string"))for(var p=0,h=f.length;p<h;p++){var v=f[p];if(v.type!=="code"){d(v.content);continue}var g=v.content[1],m=v.content[3];if(g&&m&&g.type==="code-language"&&m.type==="code-block"&&typeof g.content=="string"){var y=g.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");y=(/[a-z][\w-]*/i.exec(y)||[""])[0].toLowerCase();var _="language-"+y;m.alias?typeof m.alias=="string"?m.alias=[m.alias,_]:m.alias.push(_):m.alias=[_]}}}d(c.tokens)}),e.hooks.add("wrap",function(c){if(c.type==="code-block"){for(var d="",f=0,p=c.classes.length;f<p;f++){var h=c.classes[f],v=/language-(.+)/.exec(h);if(v){d=v[1];break}}var g=e.languages[d];if(g)c.content=e.highlight(u(c.content),g,d);else if(d&&d!=="none"&&e.plugins.autoloader){var m="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);c.attributes.id=m,e.plugins.autoloader.loadLanguages(d,function(){var y=document.getElementById(m);y&&(y.innerHTML=e.highlight(y.textContent,e.languages[d],d))})}}});var o=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;function u(c){var d=c.replace(o,"");return d=d.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(f,p){if(p=p.toLowerCase(),p[0]==="#"){var h;return p[1]==="x"?h=parseInt(p.slice(2),16):h=Number(p.slice(1)),l(h)}else{var v=s[p];return v||f}}),d}e.languages.md=e.languages.markdown})(Prism);(function(e){var t=function(r,n){return{pattern:RegExp(/\{!/.source+"(?:"+(n||r)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+r,inside:e.languages[r]},string:/[\s\S]+/}}};e.languages.arturo={comment:{pattern:/;.*/,greedy:!0},character:{pattern:/`.`/,alias:"char",greedy:!0},number:{pattern:/\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/},string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},regex:{pattern:/\{\/.*?\/\}/,greedy:!0},"html-string":t("html"),"css-string":t("css"),"js-string":t("js"),"md-string":t("md"),"sql-string":t("sql"),"sh-string":t("shell","sh"),multistring:{pattern:/».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,alias:"string",greedy:!0},label:{pattern:/\w+\b\??:/,alias:"property"},literal:{pattern:/'(?:\w+\b\??:?)/,alias:"constant"},type:{pattern:/:(?:\w+\b\??:?)/,alias:"class-name"},color:/#\w+/,predicate:{pattern:/\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,alias:"keyword"},"builtin-function":{pattern:/\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,alias:"keyword"},sugar:{pattern:/->|=>|\||::/,alias:"operator"},punctuation:/[()[\],]/,symbol:{pattern:/<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/},boolean:{pattern:/\b(?:false|maybe|true)\b/}},e.languages.art=e.languages.arturo})(Prism);(function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},r=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})$[\s\S]*?^\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function n(a){a=a.split(" ");for(var i={},o=0,s=a.length;o<s;o++)i[a[o]]=r[a[o]];return i}t.inside.interpreted.inside.rest=n("macro inline replacement entity"),r["passthrough-block"].inside.rest=n("macro"),r["literal-block"].inside.rest=n("callout"),r.table.inside.rest=n("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),r["other-block"].inside.rest=n("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),r.title.inside.rest=n("macro inline replacement entity"),e.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.replace(/&amp;/,"&"))}),e.languages.adoc=e.languages.asciidoc})(Prism);(function(e){function t(D,H){return D.replace(/<<(\d+)>>/g,function(K,Y){return"(?:"+H[+Y]+")"})}function r(D,H,K){return RegExp(t(D,H),K||"")}function n(D,H){for(var K=0;K<H;K++)D=D.replace(/<<self>>/g,function(){return"(?:"+D+")"});return D.replace(/<<self>>/g,"[^\\s\\S]")}var a={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(D){return"\\b(?:"+D.trim().replace(/ /g,"|")+")\\b"}var o=i(a.typeDeclaration),s=RegExp(i(a.type+" "+a.typeDeclaration+" "+a.contextual+" "+a.other)),l=i(a.typeDeclaration+" "+a.contextual+" "+a.other),u=i(a.type+" "+a.typeDeclaration+" "+a.other),c=n(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),d=n(/\((?:[^()]|<<self>>)*\)/.source,2),f=/@?\b[A-Za-z_]\w*\b/.source,p=t(/<<0>>(?:\s*<<1>>)?/.source,[f,c]),h=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,p]),v=/\[\s*(?:,\s*)*\]/.source,g=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[h,v]),m=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[c,d,v]),y=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[m]),_=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,h,v]),w={keyword:s,punctuation:/[<>()?,.:[\]]/},E=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,S=/"(?:\\.|[^\\"\r\n])*"/.source,C=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[C]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[h]),lookbehind:!0,inside:w},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[f,_]),lookbehind:!0,inside:w},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[f]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[o,p]),lookbehind:!0,inside:w},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[h]),lookbehind:!0,inside:w},{pattern:r(/(\bwhere\s+)<<0>>/.source,[f]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[g]),lookbehind:!0,inside:w},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[_,u,f]),inside:w}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[f]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[f]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[d]),lookbehind:!0,alias:"class-name",inside:w},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[_,h]),inside:w,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[_]),lookbehind:!0,inside:w,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[f,c]),inside:{function:r(/^<<0>>/.source,[f]),generic:{pattern:RegExp(c),alias:"class-name",inside:w}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,p,f,_,s.source,d,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[p,d]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(_),greedy:!0,inside:w},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var T=S+"|"+E,x=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[T]),A=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[x]),2),k=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,R=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[h,A]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[k,R]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[k]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[A]),inside:e.languages.csharp},"class-name":{pattern:RegExp(h),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var M=/:[^}\r\n]+/.source,O=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[x]),2),z=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[O,M]),B=n(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[T]),2),P=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[B,M]);function F(D,H){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[D]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[H,M]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[z]),lookbehind:!0,greedy:!0,inside:F(z,O)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:F(P,B)}],char:{pattern:RegExp(E),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp})(Prism);Prism.languages.aspnet=Prism.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:Prism.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:Prism.languages.csharp}}});Prism.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/;Prism.languages.insertBefore("inside","punctuation",{directive:Prism.languages.aspnet.directive},Prism.languages.aspnet.tag.inside["attr-value"]);Prism.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}});Prism.languages.insertBefore("aspnet",Prism.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:Prism.languages.csharp||{}}});Prism.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/};Prism.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&[&=]?|\|[\|=]?|[-+*/%^!=<>?]=?/,punctuation:/[(),:]/};Prism.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,command:{pattern:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,alias:"selector"},constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,directive:{pattern:/#[a-z]+\b/i,alias:"important"},keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/};Prism.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/};(function(e){function t(l,u){return l.replace(/<<(\d+)>>/g,function(c,d){return u[+d]})}function r(l,u,c){return RegExp(t(l,u),c||"")}var n=/bool|clip|float|int|string|val/.source,a=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),i=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),o=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),s=[a,i,o].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:r(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:r(/\b(?:<<0>>)\b/.source,[s],"i"),alias:"function"},"type-cast":{pattern:r(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth})(Prism);Prism.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/};Prism.languages.avdl=Prism.languages["avro-idl"];Prism.languages.awk={hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},regex:{pattern:/((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,lookbehind:!0,greedy:!0},variable:/\$\w+/,keyword:/\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,operator:/--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,punctuation:/[()[\]{},;]/};Prism.languages.gawk=Prism.languages.awk;Prism.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/};(function(e){var t=/%%?[~:\w]+%?|!\S+!/,r={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},n=/"(?:[\\"]"|[^"])*"(?!")/,a=/(?:\b|-)\d+\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:n,parameter:r,variable:t,number:a,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:n,parameter:r,variable:t,number:a,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:n,parameter:r,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:a,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:n,parameter:r,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:a,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(Prism);Prism.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}};Prism.languages.shortcode=Prism.languages.bbcode;(function(e){e.languages.bbj={comment:{pattern:/(^|[^\\:])rem\s+.*/i,lookbehind:!0,greedy:!0},string:{pattern:/(['"])(?:(?!\1|\\).|\\.)*\1/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:abstract|all|argc|begin|bye|callback|case|chn|class|classend|ctl|day|declare|delete|dim|dom|dread|dsz|else|end|endif|err|exitto|extends|fi|field|for|from|gosub|goto|if|implements|interface|interfaceend|iol|iolist|let|list|load|method|methodend|methodret|on|opts|pfx|print|private|process_events|protected|psz|public|read|read_resource|release|remove_callback|repeat|restore|return|rev|seterr|setesc|sqlchn|sqlunt|ssn|start|static|swend|switch|sys|then|tim|unt|until|use|void|wend|where|while)\b/i,function:/\b\w+(?=\()/,boolean:/\b(?:BBjAPI\.TRUE|BBjAPI\.FALSE)\b/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:and|not|or|xor)\b/i,punctuation:/[.,;:()]/}})(Prism);Prism.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/};Prism.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=Prism.languages.bicep;Prism.languages.birb=Prism.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/});Prism.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}});Prism.languages.bison=Prism.languages.extend("c",{});Prism.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:Prism.languages.c}},comment:Prism.languages.c.comment,string:Prism.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}});Prism.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/};Prism.languages.rbnf=Prism.languages.bnf;Prism.languages.bqn={shebang:{pattern:/^#![ \t]*\/.*/,alias:"important",greedy:!0},comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/"(?:[^"]|"")*"/,greedy:!0,alias:"string"},"character-literal":{pattern:/'(?:[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])'/,greedy:!0,alias:"char"},function:/•[\w¯.∞π]+[\w¯.∞π]*/,"dot-notation-on-brackets":{pattern:/\{(?=.*\}\.)|\}\./,alias:"namespace"},"special-name":{pattern:/(?:𝕨|𝕩|𝕗|𝕘|𝕤|𝕣|𝕎|𝕏|𝔽|𝔾|𝕊|_𝕣_|_𝕣)/,alias:"keyword"},"dot-notation-on-name":{pattern:/[A-Za-z_][\w¯∞π]*\./,alias:"namespace"},"word-number-scientific":{pattern:/\d+(?:\.\d+)?[eE]¯?\d+/,alias:"number"},"word-name":{pattern:/[A-Za-z_][\w¯∞π]*/,alias:"symbol"},"word-number":{pattern:/[¯∞π]?(?:\d*\.?\b\d+(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π))?/,alias:"number"},"null-literal":{pattern:/@/,alias:"char"},"primitive-functions":{pattern:/[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/,alias:"operator"},"primitive-1-operators":{pattern:/[`˜˘¨⁼⌜´˝˙]/,alias:"operator"},"primitive-2-operators":{pattern:/[∘⊸⟜○⌾⎉⚇⍟⊘◶⎊]/,alias:"operator"},punctuation:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/};Prism.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/};Prism.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i};Prism.languages.brightscript["directive-statement"].inside.expression.inside=Prism.languages.brightscript;Prism.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/};Prism.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]};Prism.languages.oscript=Prism.languages.bsl;Prism.languages.cfscript=Prism.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|:/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}});Prism.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}});delete Prism.languages.cfscript["class-name"];Prism.languages.cfc=Prism.languages.cfscript;Prism.languages.chaiscript=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[Prism.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/});Prism.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}});Prism.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:Prism.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}});Prism.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/};Prism.languages.cilkc=Prism.languages.insertBefore("c","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}});Prism.languages["cilk-c"]=Prism.languages.cilkc;Prism.languages.cilkcpp=Prism.languages.insertBefore("cpp","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}});Prism.languages["cilk-cpp"]=Prism.languages.cilkcpp;Prism.languages.cilk=Prism.languages.cilkcpp;Prism.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/};Prism.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/};Prism.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/};(function(e){var t=/#(?!\{).+/,r={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:r}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:r}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:r}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript})(Prism);Prism.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}};Prism.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:Prism.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:Prism.languages.concurnas},string:/[\s\S]+/}}});Prism.languages.conc=Prism.languages.concurnas;(function(e){function t(r){return RegExp(/([ \t])/.source+"(?:"+r+")"+/(?=[\s;]|$)/.source,"i")}e.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:t(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:t(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:t(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:t(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:t(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:t(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:t(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(Prism);(function(e){var t=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,r=/[^{}@#]+/.source,n=/\{[^}#@]*\}/.source,a=r+n,i=/(?:h|hours|hrs|m|min|minutes)/.source,o={pattern:/\{[^{}]*\}/,inside:{amount:{pattern:/([\{|])[^{}|*%]+/,lookbehind:!0,alias:"number"},unit:{pattern:/(%)[^}]+/,lookbehind:!0,alias:"symbol"},"servings-scaler":{pattern:/\*/,alias:"operator"},"servings-alternative-separator":{pattern:/\|/,alias:"operator"},"unit-separator":{pattern:/(?:%|(\*)%)/,lookbehind:!0,alias:"operator"},punctuation:/[{}]/}};e.languages.cooklang={comment:{pattern:/\[-[\s\S]*?-\]|--.*/,greedy:!0},meta:{pattern:/>>.*:.*/,inside:{property:{pattern:/(>>\s*)[^\s:](?:[^:]*[^\s:])?/,lookbehind:!0}}},"cookware-group":{pattern:new RegExp("#(?:"+a+"|"+t+")"),inside:{cookware:{pattern:new RegExp("(^#)(?:"+r+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+r),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+a+"|"+t+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+r+")"),lookbehind:!0,alias:"variable"},"ingredient-keyword":{pattern:/^@/,alias:"keyword"},"amount-group":o}},"timer-group":{pattern:/~(?!\s)[^@#~{}]*\{[^{}]*\}/,inside:{timer:{pattern:/(^~)[^{]+/,lookbehind:!0,alias:"variable"},"duration-group":{pattern:/\{[^{}]*\}/,inside:{punctuation:/[{}]/,unit:{pattern:new RegExp(/(%\s*)/.source+i+/\b/.source),lookbehind:!0,alias:"symbol"},operator:/%/,duration:{pattern:/\d+/,alias:"number"}}},"timer-keyword":{pattern:/^~/,alias:"keyword"}}}}})(Prism);(function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,r=0;r<2;r++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(Prism);(function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby})(Prism);(function(e){e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})})(Prism);(function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:r={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=r,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var n={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:n,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:n,number:a})})(Prism);Prism.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/};(function(e){var t=/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source,r=/"""(?:[^\\"]|"(?!""\2)|<esc>)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|<esc>)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|<esc>)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|<esc>)*'/.source,n="(?:"+r.replace(/<esc>/g,t)+")";e.languages.cue={comment:{pattern:/\/\/.*/,greedy:!0},"string-literal":{pattern:RegExp(/(^|[^#"'\\])(#*)/.source+n+/(?!["'])\2/.source),lookbehind:!0,greedy:!0,inside:{escape:{pattern:/(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/,greedy:!0,alias:"string"},interpolation:{pattern:/(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/,greedy:!0,inside:{punctuation:/^\\#*\(|\)$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:{pattern:/(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/,lookbehind:!0},boolean:{pattern:/(^|[^\w$])(?:false|true)(?![\w$])/,lookbehind:!0},builtin:{pattern:/(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/,lookbehind:!0},attribute:{pattern:/@[\w$]+(?=\s*\()/,alias:"function"},function:{pattern:/(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i,lookbehind:!0},number:{pattern:/(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/,lookbehind:!0},operator:/\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/,punctuation:/[()[\]{},.:]/},e.languages.cue["string-literal"].inside.interpolation.inside.expression.inside=e.languages.cue})(Prism);Prism.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/};Prism.languages.d=Prism.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/});Prism.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/});Prism.languages.insertBefore("d","keyword",{property:/\B@\w*/});Prism.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}});(function(e){var t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};e.languages.dart=e.languages.extend("clike",{"class-name":[n,{pattern:RegExp(r+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:n.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(Prism);(function(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(Prism);Prism.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/};Prism.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/};Prism.languages.dhall.string.inside.interpolation.inside.expression.inside=Prism.languages.dhall;(function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach(function(r){var n=t[r],a=[];/^\w+$/.test(r)||a.push(/\w+/.exec(r)[0]),r==="diff"&&a.push("bold"),e.languages.diff[r]={pattern:RegExp("^(?:["+n+`].*(?:\r
?|
|(?![\\s\\S])))+`,"m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(r)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})})(Prism);(function(e){function t(r,n){return"___"+r.toUpperCase()+n+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,n,a,i){if(r.language===n){var o=r.tokenStack=[];r.code=r.code.replace(a,function(s){if(typeof i=="function"&&!i(s))return s;for(var l=o.length,u;r.code.indexOf(u=t(n,l))!==-1;)++l;return o[l]=s,u}),r.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(r,n){if(r.language!==n||!r.tokenStack)return;r.grammar=e.languages[n];var a=0,i=Object.keys(r.tokenStack);function o(s){for(var l=0;l<s.length&&!(a>=i.length);l++){var u=s[l];if(typeof u=="string"||u.content&&typeof u.content=="string"){var c=i[a],d=r.tokenStack[c],f=typeof u=="string"?u:u.content,p=t(n,c),h=f.indexOf(p);if(h>-1){++a;var v=f.substring(0,h),g=new e.Token(n,e.tokenize(d,r.grammar),"language-"+n,d),m=f.substring(h+p.length),y=[];v&&y.push.apply(y,o([v])),y.push(g),m&&y.push.apply(y,o([m])),typeof u=="string"?s.splice.apply(s,[l,1].concat(y)):u.content=y}}else u.content&&o(u.content)}return s}o(r.tokens)}}})})(Prism);(function(e){e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,r=e.languages["markup-templating"];e.hooks.add("before-tokenize",function(n){r.buildPlaceholders(n,"django",t)}),e.hooks.add("after-tokenize",function(n){r.tokenizePlaceholders(n,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(n){r.buildPlaceholders(n,"jinja2",t)}),e.hooks.add("after-tokenize",function(n){r.tokenizePlaceholders(n,"jinja2")})})(Prism);Prism.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/};Prism.languages["dns-zone"]=Prism.languages["dns-zone-file"];(function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,r=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return t}),n=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return n}),i={pattern:RegExp(n),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(l,u){return l=l.replace(/<OPT>/g,function(){return a}).replace(/<SP>/g,function(){return r}),RegExp(l,u)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker})(Prism);(function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",r={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function n(a,i){return RegExp(a.replace(/<ID>/g,function(){return t}),i)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:n(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:r},"attr-value":{pattern:n(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:r},"attr-name":{pattern:n(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:r},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:n(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:r},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot})(Prism);Prism.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/};Prism.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}};Prism.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/};(function(e){e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){var r=/<%(?!%)[\s\S]+?%>/g;e.languages["markup-templating"].buildPlaceholders(t,"ejs",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs})(Prism);Prism.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/};Prism.languages.elixir.string.forEach(function(e){e.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:Prism.languages.elixir}}}});Prism.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/};Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/};(function(e){e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){var r=/<%[\s\S]+?%>/g;e.languages["markup-templating"].buildPlaceholders(t,"etlua",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})})(Prism);(function(e){e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){var r=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;e.languages["markup-templating"].buildPlaceholders(t,"erb",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})})(Prism);Prism.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/};Prism.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"builtin"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"selector",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"selector"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/};Prism.languages.xlsx=Prism.languages.xls=Prism.languages["excel-formula"];Prism.languages.fsharp=Prism.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/});Prism.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}});Prism.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}});Prism.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:Prism.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}});(function(e){var t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},r={number:/\\[^\s']|%\w/},n={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:r.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:r},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:r}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:r}},a=function(l){return(l+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(l){return new RegExp("(^|\\s)(?:"+l.map(a).join("|")+")(?=\\s|$)")},o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(o).forEach(function(l){n[l].pattern=i(o[l])});var s=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];n.combinators.pattern=i(s),e.languages.factor=n})(Prism);(function(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}})(Prism);Prism.languages["firestore-security-rules"]=Prism.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/});delete Prism.languages["firestore-security-rules"]["class-name"];Prism.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}});(function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(Prism);Prism.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/};(function(e){for(var t=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,r=0;r<2;r++)t=t.replace(/<expr>/g,function(){return t});t=t.replace(/<expr>/g,/[^\s\S]/.source);var n={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};n.string[1].inside.interpolation.inside.rest=n,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:n}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:n}}}},e.hooks.add("before-tokenize",function(a){var i=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(a,"ftl",i)}),e.hooks.add("after-tokenize",function(a){e.languages["markup-templating"].tokenizePlaceholders(a,"ftl")})})(Prism);Prism.languages.gamemakerlanguage=Prism.languages.gml=Prism.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/});Prism.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/};Prism.languages.gap.shell.inside.gap.inside=Prism.languages.gap;Prism.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/};Prism.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/};Prism.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},record:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"tag"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}};Prism.languages.gettext={comment:[{pattern:/# .*/,greedy:!0,alias:"translator-comment"},{pattern:/#\..*/,greedy:!0,alias:"extracted-comment"},{pattern:/#:.*/,greedy:!0,alias:"reference-comment"},{pattern:/#,.*/,greedy:!0,alias:"flag-comment"},{pattern:/#\|.*/,greedy:!0,alias:"previously-untranslated-comment"},{pattern:/#.*/,greedy:!0}],string:{pattern:/(^|[^\\])"(?:[^"\\]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/^msg(?:ctxt|id|id_plural|str)\b/m,number:/\b\d+\b/,punctuation:/[\[\]]/};Prism.languages.po=Prism.languages.gettext;(function(e){var t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(Prism);Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m};Prism.languages.glsl=Prism.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/});Prism.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/};Prism.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=Prism.languages.gn;Prism.languages.gni=Prism.languages.gn;Prism.languages["linker-script"]={comment:{pattern:/(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,lookbehind:!0,greedy:!0},identifier:{pattern:/"[^"\r\n]*"/,greedy:!0},"location-counter":{pattern:/\B\.\B/,alias:"important"},section:{pattern:/(^|[^\w*])\.\w+\b/,lookbehind:!0,alias:"keyword"},function:/\b[A-Z][A-Z_]*(?=\s*\()/,number:/\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,operator:/>>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,punctuation:/[(){},;]/};Prism.languages.ld=Prism.languages["linker-script"];Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/});Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}});delete Prism.languages.go["class-name"];Prism.languages["go-mod"]=Prism.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/};(function(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.gradle=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.gradle})(Prism);Prism.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:Prism.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/};Prism.hooks.add("after-tokenize",function(t){if(t.language!=="graphql")return;var r=t.tokens.filter(function(v){return typeof v!="string"&&v.type!=="comment"&&v.type!=="scalar"}),n=0;function a(v){return r[n+v]}function i(v,g){g=g||0;for(var m=0;m<v.length;m++){var y=a(m+g);if(!y||y.type!==v[m])return!1}return!0}function o(v,g){for(var m=1,y=n;y<r.length;y++){var _=r[y],w=_.content;if(_.type==="punctuation"&&typeof w=="string"){if(v.test(w))m++;else if(g.test(w)&&(m--,m===0))return y}}return-1}function s(v,g){var m=v.alias;m?Array.isArray(m)||(v.alias=m=[m]):v.alias=m=[],m.push(g)}for(;n<r.length;){var l=r[n++];if(l.type==="keyword"&&l.content==="mutation"){var u=[];if(i(["definition-mutation","punctuation"])&&a(1).content==="("){n+=2;var c=o(/^\($/,/^\)$/);if(c===-1)continue;for(;n<c;n++){var d=a(0);d.type==="variable"&&(s(d,"variable-input"),u.push(d.content))}n=c+1}if(i(["punctuation","property-query"])&&a(0).content==="{"&&(n++,s(a(0),"property-mutation"),u.length>0)){var f=o(/^\{$/,/^\}$/);if(f===-1)continue;for(var p=n;p<f;p++){var h=r[p];h.type==="variable"&&u.indexOf(h.content)>=0&&s(h,"variable-input")}}}}});(function(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.groovy=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.groovy})(Prism);Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/});Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}});Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}});Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]});Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/});Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}});Prism.languages.scss.atrule.inside.rest=Prism.languages.scss;(function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,r=/\)|\((?![^|()\n]+\))/.source;function n(c,d){return RegExp(c.replace(/<MOD>/g,function(){return"(?:"+t+")"}).replace(/<PAR>/g,function(){return"(?:"+r+")"}),d||"")}var a={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:n(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:n(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:a},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:n(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:n(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:a},punctuation:/^[*#]+/}},table:{pattern:n(/^(?:(?:<MOD>|<PAR>|[<>=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:n(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:a},punctuation:/\||^\./}},inline:{pattern:n(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:n(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:n(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:n(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:n(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:n(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:n(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:n(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:n(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:a},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:n(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:n(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:n(/(^")<MOD>+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:n(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:n(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:n(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var u=o.table.inside;u.inline=s.inline,u.link=s.link,u.image=s.image,u.footnote=s.footnote,u.acronym=s.acronym,u.mark=s.mark})(Prism);(function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",r=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},a=0,i=r.length;a<i;a++){var o=r[a];o=typeof o=="string"?{filter:o,language:o}:o,e.languages[o.language]&&(n["filter-"+o.filter]={pattern:RegExp(t.replace("{{filter_name}}",function(){return o.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("haml","filter",n)})(Prism);(function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){var r=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;e.languages["markup-templating"].buildPlaceholders(t,"handlebars",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}),e.languages.hbs=e.languages.handlebars,e.languages.mustache=e.languages.handlebars})(Prism);Prism.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/};Prism.languages.hs=Prism.languages.haskell;Prism.languages.haxe=Prism.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/});Prism.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:Prism.languages.haxe}}},string:/[\s\S]+/}}});Prism.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^~\/|\/$/}}});Prism.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}});Prism.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/};Prism.languages.hlsl=Prism.languages.extend("c",{"class-name":[Prism.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/});Prism.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/};Prism.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/};Prism.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/};Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;Prism.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}};Prism.languages.url=Prism.languages.uri;(function(e){function t(u){return RegExp("(^(?:"+u+"):[ 	]*(?![ 	]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var r=e.languages,n={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},a={"application/json":!0,"application/xml":!0};function i(u){var c=u.replace(/^[a-z]+\//,""),d="\\w+/(?:[\\w.-]+\\+)+"+c+"(?![+\\w.-])";return"(?:"+u+"|"+d+")"}var o;for(var s in n)if(n[s]){o=o||{};var l=a[s]?i(s):s;o[s.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+l+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:n[s]}}o&&e.languages.insertBefore("http","header",o)})(Prism);Prism.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/};Prism.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/};(function(e){function t(s,l){return l<=0?/[]/.source:s.replace(/<SELF>/g,function(){return t(s,l-1)})}var r=/'[{}:=,](?:[^']|'')*'(?!')/,n={pattern:/''/,greedy:!0,alias:"operator"},a={pattern:r,greedy:!0,inside:{escape:n}},i=t(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return r.source}),8),o={pattern:RegExp(i),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(i),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":o,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":o,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:n,string:a},o.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]})(Prism);Prism.languages.idris=Prism.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0});Prism.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}});Prism.languages.idr=Prism.languages.idris;(function(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore})(Prism);Prism.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/};Prism.languages.inform7.string.inside.substitution.inside.rest=Prism.languages.inform7;Prism.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"};Prism.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/};Prism.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/};Prism.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/};(function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[n,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:n.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:n.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:n.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:n.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism);(function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],n=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,a=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:n,operator:a,punctuation:i};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,number:n,operator:a,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(l){if(/<\?/.test(l.code)){var u=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;e.languages["markup-templating"].buildPlaceholders(l,"php",u)}}),e.hooks.add("after-tokenize",function(l){e.languages["markup-templating"].tokenizePlaceholders(l,"php")})})(Prism);(function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function r(a,i){var o="doc-comment",s=e.languages[a];if(s){var l=s[o];if(!l){var u={};u[o]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},s=e.languages.insertBefore(a,"comment",u),l=s[o]}if(l instanceof RegExp&&(l=s[o]={pattern:l}),Array.isArray(l))for(var c=0,d=l.length;c<d;c++)l[c]instanceof RegExp&&(l[c]={pattern:l[c]}),i(l[c]);else i(l)}}function n(a,i){typeof a=="string"&&(a=[a]),a.forEach(function(o){r(o,function(s){s.inside||(s.inside={}),s.inside.rest=i})})}Object.defineProperty(t,"addSupport",{value:n}),t.addSupport(["java","javascript","php"],t)})(Prism);Prism.languages.scala=Prism.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/});Prism.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:Prism.languages.scala}}},string:/[\s\S]+/}}});delete Prism.languages.scala["class-name"];delete Prism.languages.scala.function;delete Prism.languages.scala.constant;(function(e){var t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,r=/#\s*\w+(?:\s*\([^()]*\))?/.source,n=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return r});e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+n+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)})(Prism);Prism.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}};Prism.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/};Prism.languages.jolie=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/});Prism.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}});(function(e){var t=/\\\((?:[^()]|\([^()]*\))*\)/.source,r=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),n={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},a=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(r.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:n},string:{pattern:r,lookbehind:!0,greedy:!0,inside:n},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};n.interpolation.inside.content.inside=a})(Prism);(function(e){var t=e.languages.javascript["template-string"],r=t.pattern.source,n=t.inside.interpolation,a=n.inside["interpolation-punctuation"],i=n.pattern.source;function o(p,h){if(e.languages[p])return{pattern:RegExp("((?:"+h+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:p}}}}e.languages.javascript["template-string"]=[o("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),o("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),o("svg",/\bsvg/.source),o("markdown",/\b(?:markdown|md)/.source),o("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),o("sql",/\bsql/.source),t].filter(Boolean);function s(p,h){return"___"+h.toUpperCase()+"_"+p+"___"}function l(p,h,v){var g={code:p,grammar:h,language:v};return e.hooks.run("before-tokenize",g),g.tokens=e.tokenize(g.code,g.grammar),e.hooks.run("after-tokenize",g),g.tokens}function u(p){var h={};h["interpolation-punctuation"]=a;var v=e.tokenize(p,h);if(v.length===3){var g=[1,1];g.push.apply(g,l(v[1],e.languages.javascript,"javascript")),v.splice.apply(v,g)}return new e.Token("interpolation",v,n.alias,p)}function c(p,h,v){var g=e.tokenize(p,{interpolation:{pattern:RegExp(i),lookbehind:!0}}),m=0,y={},_=g.map(function(C){if(typeof C=="string")return C;for(var T=C.content,x;p.indexOf(x=s(m++,v))!==-1;);return y[x]=T,x}).join(""),w=l(_,h,v),E=Object.keys(y);m=0;function S(C){for(var T=0;T<C.length;T++){if(m>=E.length)return;var x=C[T];if(typeof x=="string"||typeof x.content=="string"){var A=E[m],k=typeof x=="string"?x:x.content,R=k.indexOf(A);if(R!==-1){++m;var M=k.substring(0,R),O=u(y[A]),z=k.substring(R+A.length),B=[];if(M&&B.push(M),B.push(O),z){var P=[z];S(P),B.push.apply(B,P)}typeof x=="string"?(C.splice.apply(C,[T,1].concat(B)),T+=B.length-1):x.content=B}}else{var F=x.content;Array.isArray(F)?S(F):S([F])}}}return S(w),new e.Token(v,w,"language-"+v,p)}var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(p){if(!(p.language in d))return;function h(v){for(var g=0,m=v.length;g<m;g++){var y=v[g];if(typeof y!="string"){var _=y.content;if(!Array.isArray(_)){typeof _!="string"&&h([_]);continue}if(y.type==="template-string"){var w=_[1];if(_.length===3&&typeof w!="string"&&w.type==="embedded-code"){var E=f(w),S=w.alias,C=Array.isArray(S)?S[0]:S,T=e.languages[C];if(!T)continue;_[1]=c(E,T,C)}}else h(_)}}}h(p.tokens)});function f(p){return typeof p=="string"?p:Array.isArray(p)?p.map(f).join(""):f(p.content)}})(Prism);(function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(Prism);(function(e){var t=e.languages.javascript,r=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,n="(@(?:arg|argument|param|property)\\s+(?:"+r+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(n+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(n+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return r})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+r),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)})(Prism);Prism.languages.n4js=Prism.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/});Prism.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}});Prism.languages.n4jsd=Prism.languages.n4js;(function(e){e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function t(s,l){return RegExp(s.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),l)}e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var r=["function","function-variable","method","method-variable","property-access"],n=0;n<r.length;n++){var a=r[n],i=e.languages.javascript[a];e.util.type(i)==="RegExp"&&(i=e.languages.javascript[a]={pattern:i});var o=i.inside||{};i.inside=o,o["maybe-class-name"]=/^[A-Z][\s\S]*/}})(Prism);(function(e){var t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})})(Prism);Prism.languages.jsonp=Prism.languages.extend("json",{punctuation:/[{}[\]();,.]/});Prism.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/});Prism.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}};Prism.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/};Prism.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/};Prism.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/};(function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin})(Prism);(function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function r(n,a){return RegExp(n.replace(/<nonId>/g,t),a)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:r(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:r(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:r(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:r(/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:r(/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:r(/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:r(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:r(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir})(Prism);Prism.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/};(function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,r={"equation-command":{pattern:t,alias:"regex"}};e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:r,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:r,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex})(Prism);(function(e){e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}};var t=e.languages.extend("markup",{});e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(r){if(r.language==="latte"){var n=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;e.languages["markup-templating"].buildPlaceholders(r,"latte",n),r.grammar=t}}),e.hooks.add("after-tokenize",function(r){e.languages["markup-templating"].tokenizePlaceholders(r,"latte")})})(Prism);(function(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(t({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function t(r){for(var n in r)r[n]=r[n].replace(/<[\w\s]+>/g,function(a){return"(?:"+r[a].trim()+")"});return r[n]}})(Prism);(function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,r=5,n=0;n<r;n++)t=t.replace(/<expr>/g,function(){return t});t=t.replace(/<expr>/g,/[^\s\S]/.source);var a=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};a["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=a,e.languages.ly=a})(Prism);Prism.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}};Prism.hooks.add("before-tokenize",function(e){var t=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,r=!1;Prism.languages["markup-templating"].buildPlaceholders(e,"liquid",t,function(n){var a=/^\{%-?\s*(\w+)/.exec(n);if(a){var i=a[1];if(i==="raw"&&!r)return r=!0,!0;if(i==="endraw")return r=!1,!0}return!r})});Prism.hooks.add("after-tokenize",function(e){Prism.languages["markup-templating"].tokenizePlaceholders(e,"liquid")});(function(e){function t(p){return RegExp(/(\()/.source+"(?:"+p+")"+/(?=[\s\)])/.source)}function r(p){return RegExp(/([\s([])/.source+"(?:"+p+")"+/(?=[\s)])/.source)}var n=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,a="&"+n,i="(\\()",o="(?=\\))",s="(?=\\s)",l=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,u={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+n+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+n),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+n),alias:"property"},splice:{pattern:RegExp(",@?"+n),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+s),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+s),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:r(/nil|t/.source),lookbehind:!0},number:{pattern:r(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+n),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(n)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+n+/\s+\(/.source+l+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+n),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+n+"(?:\\s+&?"+n+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+n),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(a),varform:{pattern:RegExp(/\(/.source+n+/\s+(?=\S)/.source+l+/\)/.source),inside:u},argument:{pattern:RegExp(/(^|[\s(])/.source+n),lookbehind:!0,alias:"variable"},rest:u},d="\\S+(?:\\s+\\S+)*",f={pattern:RegExp(i+l+o),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+d),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+d),inside:c},keys:{pattern:RegExp("&key\\s+"+d+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(n),alias:"variable"},punctuation:/[()]/}};u.lambda.inside.arguments=f,u.defun.inside.arguments=e.util.clone(f),u.defun.inside.arguments.inside.sublist=f,e.languages.lisp=u,e.languages.elisp=u,e.languages.emacs=u,e.languages["emacs-lisp"]=u})(Prism);Prism.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/};Prism.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=Prism.languages.livescript;(function(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(Prism);Prism.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:Prism.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/};Prism.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/};Prism.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/};Prism.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/};(function(e){var t=/\b(?:(?:col|row)?vector|matrix|scalar)\b/.source,r=/\bvoid\b|<org>|\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*<org>)?/.source.replace(/<org>/g,t);e.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(r),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/,punctuation:/[()[\]{},;.]/}})(Prism);Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/};(function(e){var t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ 	]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ 	]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(Prism);Prism.languages.mel={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},code:{pattern:/`(?:\\.|[^\\`])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},statement:{pattern:/[\s\S]+/,inside:null}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:{pattern:/((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im,lookbehind:!0,greedy:!0},"tensor-punctuation":{pattern:/<<|>>/,alias:"punctuation"},operator:/\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/,punctuation:/[.,:;?\[\](){}]/};Prism.languages.mel.code.inside.statement.inside=Prism.languages.mel;Prism.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/};Prism.languages.metafont={comment:{pattern:/%.*/,greedy:!0},string:{pattern:/"[^\r\n"]*"/,greedy:!0},number:/\d*\.?\d+/,boolean:/\b(?:false|true)\b/,punctuation:[/[,;()]/,{pattern:/(^|[^{}])(?:\{|\})(?![{}])/,lookbehind:!0},{pattern:/(^|[^[])\[(?!\[)/,lookbehind:!0},{pattern:/(^|[^\]])\](?!\])/,lookbehind:!0}],constant:[{pattern:/(^|[^!?])\?\?\?(?![!?])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\\|\\\\)(?![/*\\])/,lookbehind:!0},/\b(?:_|blankpicture|bp|cc|cm|dd|ditto|down|eps|epsilon|fullcircle|halfcircle|identity|in|infinity|left|mm|nullpen|nullpicture|origin|pc|penrazor|penspeck|pensquare|penstroke|proof|pt|quartercircle|relax|right|smoke|unitpixel|unitsquare|up)\b/],quantity:{pattern:/\b(?:autorounding|blacker|boundarychar|charcode|chardp|chardx|chardy|charext|charht|charic|charwd|currentwindow|day|designsize|displaying|fillin|fontmaking|granularity|hppp|join_radius|month|o_correction|pausing|pen_(?:bot|lft|rt|top)|pixels_per_inch|proofing|showstopping|smoothing|time|tolerance|tracingcapsules|tracingchoices|tracingcommands|tracingedges|tracingequations|tracingmacros|tracingonline|tracingoutput|tracingpens|tracingrestores|tracingspecs|tracingstats|tracingtitles|turningcheck|vppp|warningcheck|xoffset|year|yoffset)\b/,alias:"keyword"},command:{pattern:/\b(?:addto|batchmode|charlist|cull|display|errhelp|errmessage|errorstopmode|everyjob|extensible|fontdimen|headerbyte|inner|interim|let|ligtable|message|newinternal|nonstopmode|numspecial|openwindow|outer|randomseed|save|scrollmode|shipout|show|showdependencies|showstats|showtoken|showvariable|special)\b/,alias:"builtin"},operator:[{pattern:/(^|[^>=<:|])(?:<|<=|=|=:|\|=:|\|=:>|=:\|>|=:\||\|=:\||\|=:\|>|\|=:\|>>|>|>=|:|:=|<>|::|\|\|:)(?![>=<:|])/,lookbehind:!0},{pattern:/(^|[^+-])(?:\+|\+\+|-{1,3}|\+-\+)(?![+-])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\*|\*\*|\/)(?![/*\\])/,lookbehind:!0},{pattern:/(^|[^.])(?:\.{2,3})(?!\.)/,lookbehind:!0},{pattern:/(^|[^@#&$])&(?![@#&$])/,lookbehind:!0},/\b(?:and|not|or)\b/],macro:{pattern:/\b(?:abs|beginchar|bot|byte|capsule_def|ceiling|change_width|clear_pen_memory|clearit|clearpen|clearxy|counterclockwise|cullit|cutdraw|cutoff|decr|define_blacker_pixels|define_corrected_pixels|define_good_x_pixels|define_good_y_pixels|define_horizontal_corrected_pixels|define_pixels|define_whole_blacker_pixels|define_whole_pixels|define_whole_vertical_blacker_pixels|define_whole_vertical_pixels|dir|direction|directionpoint|div|dotprod|downto|draw|drawdot|endchar|erase|fill|filldraw|fix_units|flex|font_coding_scheme|font_extra_space|font_identifier|font_normal_shrink|font_normal_space|font_normal_stretch|font_quad|font_size|font_slant|font_x_height|gfcorners|gobble|gobbled|good\.(?:bot|lft|rt|top|x|y)|grayfont|hide|hround|imagerules|incr|interact|interpath|intersectionpoint|inverse|italcorr|killtext|labelfont|labels|lft|loggingall|lowres_fix|makegrid|makelabel(?:\.(?:bot|lft|rt|top)(?:\.nodot)?)?|max|min|mod|mode_def|mode_setup|nodisplays|notransforms|numtok|openit|penlabels|penpos|pickup|proofoffset|proofrule|proofrulethickness|range|reflectedabout|rotatedabout|rotatedaround|round|rt|savepen|screenchars|screenrule|screenstrokes|shipit|showit|slantfont|softjoin|solve|stop|superellipse|tensepath|thru|titlefont|top|tracingall|tracingnone|undraw|undrawdot|unfill|unfilldraw|upto|vround)\b/,alias:"function"},builtin:/\b(?:ASCII|angle|char|cosd|decimal|directiontime|floor|hex|intersectiontimes|jobname|known|length|makepath|makepen|mexp|mlog|normaldeviate|oct|odd|pencircle|penoffset|point|postcontrol|precontrol|reverse|rotated|sind|sqrt|str|subpath|substring|totalweight|turningnumber|uniformdeviate|unknown|xpart|xxpart|xypart|ypart|yxpart|yypart)\b/,keyword:/\b(?:also|at|atleast|begingroup|charexists|contour|controls|curl|cycle|def|delimiters|doublepath|dropping|dump|else|elseif|end|enddef|endfor|endgroup|endinput|exitif|exitunless|expandafter|fi|for|forever|forsuffixes|from|if|input|inwindow|keeping|kern|of|primarydef|quote|readstring|scaled|scantokens|secondarydef|shifted|skipto|slanted|step|tension|tertiarydef|to|transformed|until|vardef|withpen|withweight|xscaled|yscaled|zscaled)\b/,type:{pattern:/\b(?:boolean|expr|numeric|pair|path|pen|picture|primary|secondary|string|suffix|tertiary|text|transform)\b/,alias:"property"},variable:{pattern:/(^|[^@#&$])(?:@#|#@|#|@)(?![@#&$])|\b(?:aspect_ratio|currentpen|currentpicture|currenttransform|d|extra_beginchar|extra_endchar|extra_setup|h|localfont|mag|mode|screen_cols|screen_rows|w|whatever|x|y|z)\b/,lookbehind:!0}};Prism.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/};(function(e){var t=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],r=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];t=t.map(function(a){return a.replace("$","\\$")});var n="(?:"+t.join("|")+")\\b";e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+r.join("|")+")\\b"),alias:"keyword"}})})(Prism);Prism.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/};Prism.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/};Prism.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=Prism.languages.moonscript;Prism.languages.moon=Prism.languages.moonscript;Prism.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/};Prism.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/};(function(e){var t=/\{[^\r\n\[\]{}]*\}/,r={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:r}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:r},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(i){var o=i.tokens;o.forEach(function(s){if(typeof s!="string"&&s.type==="generic-text"){var l=a(s);n(l)||(s.type="bad-line",s.content=l)}})});function n(i){for(var o="[]{}",s=[],l=0;l<i.length;l++){var u=i[l],c=o.indexOf(u);if(c!==-1){if(c%2===0)s.push(c+1);else if(s.pop()!==c)return!1}}return s.length===0}function a(i){return typeof i=="string"?i:Array.isArray(i)?i.map(a).join(""):a(i.content)}})(Prism);Prism.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/};Prism.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"property"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/};Prism.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/};(function(e){var t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}})(Prism);Prism.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/};Prism.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/};Prism.languages.nix.string.inside.interpolation.inside=Prism.languages.nix;Prism.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|KnownFolderPath|LabelAddress|TempFileName|WinVer)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|RtlLanguage|ShellVarContextAll|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Target|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}};Prism.languages.objectivec=Prism.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/});delete Prism.languages.objectivec["class-name"];Prism.languages.objc=Prism.languages.objectivec;Prism.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/};(function(e){var t=/\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;e.languages.odin={comment:[{pattern:/\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,greedy:!0},{pattern:/#![^\n\r]*/,greedy:!0},{pattern:/\/\/[^\n\r]*/,greedy:!0}],char:{pattern:/'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,greedy:!0,inside:{symbol:t}},string:[{pattern:/`[^`]*`/,greedy:!0},{pattern:/"(?:\\.|[^\n\r"\\])*"/,greedy:!0,inside:{symbol:t}}],directive:{pattern:/#\w+/,alias:"property"},number:/\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,discard:{pattern:/\b_\b/,alias:"keyword"},"procedure-definition":{pattern:/\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,alias:"function"},keyword:/\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,"procedure-name":{pattern:/\b\w+(?=[ \t]*\()/,alias:"function"},boolean:/\b(?:false|nil|true)\b/,"constant-parameter-sign":{pattern:/\$/,alias:"important"},undefined:{pattern:/---/,alias:"operator"},arrow:{pattern:/->/,alias:"punctuation"},operator:/\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,punctuation:/[(),.:;@\[\]{}]/}})(Prism);(function(e){e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))})(Prism);Prism.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/};Prism.languages.qasm=Prism.languages.openqasm;Prism.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/};Prism.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var e=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return e=e.map(function(t){return t.split("").join(" *")}).join("|"),RegExp("\\b(?:"+e+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/};(function(e){var t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])})(Prism);Prism.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/};Prism.languages.pascal.asm.inside=Prism.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0});Prism.languages.objectpascal=Prism.languages.pascal;(function(e){var t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,r=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return t}),n=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return r}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return r}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return r})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},a=["comment","keyword","builtin","operator","punctuation"].reduce(function(i,o){return i[o]=n[o],i},{});n["class-name"].forEach(function(i){i.inside=a})})(Prism);Prism.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/};Prism.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/};Prism.languages.px=Prism.languages.pcaxis;Prism.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/};Prism.languages.pcode=Prism.languages.peoplecode;(function(e){var t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(Prism);(function(e){var t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)})(Prism);Prism.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}});(function(e){var t=/\$\w+|%[a-z]+%/,r=/\[[^[\]]*\]/.source,n=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,a="(?:-+"+n+"-+|\\.+"+n+"\\.+|-+(?:"+r+"-*)?|"+r+"-+|\\.+(?:"+r+"\\.*)?|"+r+"\\.+)",i=/(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source,o=/(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source,s=/[[?]?[ox]?/.source,l=/[ox]?[\]?]?/.source,u=s+"(?:"+a+o+"|"+i+a+"(?:"+o+")?)"+l;e.languages["plant-uml"]={comment:{pattern:/(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,lookbehind:!0,greedy:!0},preprocessor:{pattern:/(^[ \t]*)!.*/m,lookbehind:!0,greedy:!0,alias:"property",inside:{variable:t}},delimiter:{pattern:/(^[ \t]*)@(?:end|start)uml\b/m,lookbehind:!0,greedy:!0,alias:"punctuation"},arrow:{pattern:RegExp(/(^|[^-.<>?|\\[\]ox])/.source+u+/(?![-.<>?|\\\]ox])/.source),lookbehind:!0,greedy:!0,alias:"operator",inside:{expression:{pattern:/(\[)[^[\]]+(?=\])/,lookbehind:!0,inside:null},punctuation:/\[(?=$|\])|^\]/}},string:{pattern:/"[^"]*"/,greedy:!0},text:{pattern:/(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,lookbehind:!0,greedy:!0,alias:"string"},keyword:[{pattern:/^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,lookbehind:!0,greedy:!0},/\b(?:elseif|equals|not|while)(?=\s*\()/,/\b(?:as|is|then)\b/],divider:{pattern:/^==.+==$/m,greedy:!0,alias:"important"},time:{pattern:/@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,greedy:!0,alias:"number"},color:{pattern:/#(?:[a-z_]+|[a-fA-F0-9]+)\b/,alias:"symbol"},variable:t,punctuation:/[:,;()[\]{}]|\.{3}/},e.languages["plant-uml"].arrow.inside.expression.inside=e.languages["plant-uml"],e.languages.plantuml=e.languages["plant-uml"]})(Prism);Prism.languages.plsql=Prism.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/});Prism.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}});Prism.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/};Prism.languages.pq=Prism.languages.powerquery;Prism.languages.mscript=Prism.languages.powerquery;(function(e){var t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};t.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}})(Prism);Prism.languages.processing=Prism.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/});Prism.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}});Prism.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/};(function(e){var t=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],r=["on","ignoring","group_right","group_left","by","without"],n=["offset"],a=t.concat(r,n);e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+r.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+a.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(Prism);Prism.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/};(function(e){var t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(Prism);(function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},n={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:r,punctuation:/[{}()\[\];:,]/};n.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:n}},n.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:n}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:n}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:n}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:n}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:n.interpolation}},rest:n}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:n.interpolation,comment:n.comment,punctuation:/[{},]/}},func:n.func,string:n.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:n.interpolation,punctuation:/[{}()\[\];:.]/}})(Prism);Prism.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/};Prism.hooks.add("before-tokenize",function(e){if(e.language==="twig"){var t=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;Prism.languages["markup-templating"].buildPlaceholders(e,"twig",t)}});Prism.hooks.add("after-tokenize",function(e){Prism.languages["markup-templating"].tokenizePlaceholders(e,"twig")});(function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,r=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],n={},a=0,i=r.length;a<i;a++){var o=r[a];o=typeof o=="string"?{filter:o,language:o}:o,e.languages[o.language]&&(n["filter-"+o.filter]={pattern:RegExp(t.replace("<filter_name>",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",n)})(Prism);(function(e){e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t})(Prism);(function(e){e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var t=["c",{lang:"c++",alias:"cpp"},"fortran"],r=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;t.forEach(function(n){var a=n;if(typeof n!="string"&&(a=n.alias,n=n.lang),e.languages[a]){var i={};i["inline-lang-"+a]={pattern:RegExp(r.replace("<lang>",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},i["inline-lang-"+a].inside.rest=e.util.clone(e.languages[a]),e.languages.insertBefore("pure","inline-lang",i)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))})(Prism);Prism.languages.purebasic=Prism.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+\$?|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/});Prism.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}});delete Prism.languages.purebasic["class-name"];delete Prism.languages.purebasic.boolean;Prism.languages.pbfasm=Prism.languages.purebasic;Prism.languages.purescript=Prism.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[Prism.languages.haskell.operator[0],Prism.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]});Prism.languages.purs=Prism.languages.purescript;Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(e){function t(f,p){return f.replace(/<<(\d+)>>/g,function(h,v){return"(?:"+p[+v]+")"})}function r(f,p,h){return RegExp(t(f,p),h||"")}function n(f,p){for(var h=0;h<p;h++)f=f.replace(/<<self>>/g,function(){return"(?:"+f+")"});return f.replace(/<<self>>/g,"[^\\s\\S]")}var a={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function i(f){return"\\b(?:"+f.trim().replace(/ /g,"|")+")\\b"}var o=RegExp(i(a.type+" "+a.other)),s=/\b[A-Za-z_]\w*\b/.source,l=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[s]),u={keyword:o,punctuation:/[<>()?,.:[\]]/},c=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[c]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[l]),lookbehind:!0,inside:u},{pattern:r(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[l]),lookbehind:!0,inside:u}],keyword:o,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var d=n(t(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[c]),2);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:r(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[d]),greedy:!0,inside:{interpolation:{pattern:r(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[d]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})})(Prism);Prism.languages.qs=Prism.languages.qsharp;Prism.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/};(function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,r=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,n=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return t}).replace(/<comment>/g,function(){return r}),a=0;a<2;a++)n=n.replace(/<expr>/g,function(){return n});n=n.replace(/<expr>/g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return n}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return n}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(Prism);Prism.languages.qore=Prism.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/});Prism.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/};Prism.languages.racket=Prism.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}});Prism.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}});Prism.languages.rkt=Prism.languages.racket;(function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,r=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function n(m,y){for(var _=0;_<y;_++)m=m.replace(/<self>/g,function(){return"(?:"+m+")"});return m.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+r+")").replace(/<comment>/g,"(?:"+t+")")}var a=n(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),i=n(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,1),o=n(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),s=n(/<(?:[^<>'"@/]|<comment>|<self>)*>/.source,1),l=/@/.source+/(?:await\b\s*)?/.source+"(?:"+/(?!await\b)\w+\b/.source+"|"+a+")(?:"+/[?!]?\.\w+\b/.source+"|(?:"+s+")?"+a+"|"+i+")*"+/(?![?!\.(\[]|<(?!\/))/.source,u=/@(?![\w()])/.source+"|"+l,c="(?:"+/"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source+`|["'][^"'@]*(?:(?:`+u+`)[^"'@]*)+["'])`,d=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*<tagAttrValue>|(?=[\s/>])))+)?/.source.replace(/<tagAttrValue>/,c),f=/(?!\d)[^\s>\/=$<%]+/.source+d+/\s*\/?>/.source,p=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+d+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+f+"|"+n(/<\1/.source+d+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+f+"|<self>")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/</.source+f+")";e.languages.cshtml=e.languages.extend("markup",{});var h=e.languages.insertBefore("csharp","string",{html:{pattern:RegExp(p),greedy:!0,inside:e.languages.cshtml}},{csharp:e.languages.extend("csharp",{})}),v={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:h},g={pattern:RegExp(/(^|[^@])/.source+l),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:v}};e.languages.cshtml.tag.pattern=RegExp(/<\/?/.source+f),e.languages.cshtml.tag.inside["attr-value"].pattern=RegExp(/=\s*/.source+c),e.languages.insertBefore("inside","punctuation",{value:g},e.languages.cshtml.tag.inside["attr-value"]),e.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[o,/(?:code|functions)\s*/.source+o,/(?:for|foreach|lock|switch|using|while)\s*/.source+a+/\s*/.source+o,/do\s*/.source+o+/\s*while\s*/.source+a+/(?:\s*;)?/.source,/try\s*/.source+o+/\s*catch\s*/.source+a+/\s*/.source+o+/\s*finally\s*/.source+o,/if\s*/.source+a+/\s*/.source+o+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+a+")?"+/\s*/.source+o+")*",/helper\s+\w+\s*/.source+a+/\s*/.source+o].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:v}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:v}},value:g,"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),e.languages.razor=e.languages.cshtml})(Prism);(function(e){var t=e.util.clone(e.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,n=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(l,u){return l=l.replace(/<S>/g,function(){return r}).replace(/<BRACES>/g,function(){return n}).replace(/<SPREAD>/g,function(){return a}),RegExp(l,u)}a=i(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(l){return l?typeof l=="string"?l:typeof l.content=="string"?l.content:l.content.map(o).join(""):""},s=function(l){for(var u=[],c=0;c<l.length;c++){var d=l[c],f=!1;if(typeof d!="string"&&(d.type==="tag"&&d.content[0]&&d.content[0].type==="tag"?d.content[0].content[0].content==="</"?u.length>0&&u[u.length-1].tagName===o(d.content[0].content[1])&&u.pop():d.content[d.content.length-1].content==="/>"||u.push({tagName:o(d.content[0].content[1]),openedBraces:0}):u.length>0&&d.type==="punctuation"&&d.content==="{"?u[u.length-1].openedBraces++:u.length>0&&u[u.length-1].openedBraces>0&&d.type==="punctuation"&&d.content==="}"?u[u.length-1].openedBraces--:f=!0),(f||typeof d=="string")&&u.length>0&&u[u.length-1].openedBraces===0){var p=o(d);c<l.length-1&&(typeof l[c+1]=="string"||l[c+1].type==="plain-text")&&(p+=o(l[c+1]),l.splice(c+1,1)),c>0&&(typeof l[c-1]=="string"||l[c-1].type==="plain-text")&&(p=o(l[c-1])+p,l.splice(c-1,1),c--),l[c]=new e.Token("plain-text",p,null,p)}d.content&&typeof d.content!="string"&&s(d.content)}};e.hooks.add("after-tokenize",function(l){l.language!=="jsx"&&l.language!=="tsx"||s(l.tokens)})})(Prism);(function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var r=e.languages.tsx.tag;r.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0})(Prism);Prism.languages.reason=Prism.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/});Prism.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}});delete Prism.languages.reason.function;Prism.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/};Prism.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/};Prism.languages.rpy=Prism.languages.renpy;Prism.languages.rescript={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},char:{pattern:/'(?:[^\r\n\\]|\\(?:.|\w+))'/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,function:{pattern:/[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/,lookbehind:!0},number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,boolean:/\b(?:false|true)\b/,"attr-value":/[A-Za-z]\w*(?==)/,constant:{pattern:/(\btype\s+)[a-z]\w*/,lookbehind:!0},tag:{pattern:/(<)[a-z]\w*|(?:<\/)[a-z]\w*/,lookbehind:!0,inside:{operator:/<|>|\//}},keyword:/\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,operator:/\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,punctuation:/[(){}[\],;.]/};Prism.languages.insertBefore("rescript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"tag"},rest:Prism.languages.rescript}},string:/[\s\S]+/}}});Prism.languages.res=Prism.languages.rescript;Prism.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}};Prism.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/};Prism.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/};(function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},r={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function n(s,l){var u={};u["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var c in l)u[c]=l[c];return u.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},u.variable=r,u.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return s}),"im"),alias:"section",inside:u}}var a={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:r}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:r}};e.languages.robotframework={settings:n("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:n("Variables"),"test-cases":n("Test Cases",{"test-name":i,documentation:a,property:o}),keywords:n("Keywords",{"keyword-name":i,documentation:a,property:o}),tasks:n("Tasks",{"task-name":i,documentation:a,property:o}),comment:t},e.languages.robot=e.languages.robotframework})(Prism);(function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,r=0;r<2;r++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string})(Prism);(function(e){var t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,r=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,n={pattern:RegExp(t+"[bx]"),alias:"number"},a={pattern:/&[a-z_]\w*/i},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],l={pattern:RegExp(t),greedy:!0},u=/[$%@.(){}\[\];,\\]/,c={pattern:/%?\b\w+(?=\()/,alias:"keyword"},d={function:c,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":a,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:r,"numeric-constant":n,punctuation:u,string:l},f={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},p={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},h={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},v={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},g=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,m={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return g}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return g}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:c,"arg-value":d["arg-value"],operator:d.operator,argument:d.arg,number:r,"numeric-constant":n,punctuation:u,string:l}},y={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":h,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:r,"numeric-constant":n,punctuation:u,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:y,"submit-statement":v,"global-statements":h,number:r,"numeric-constant":n,punctuation:u,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:y,"submit-statement":v,"global-statements":h,number:r,"numeric-constant":n,punctuation:u,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:d}},"cas-actions":m,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:d},step:o,keyword:y,function:c,format:f,altformat:p,"global-statements":h,number:r,"numeric-constant":n,punctuation:u,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return t}),"im"),lookbehind:!0,inside:d},"macro-keyword":i,"macro-variable":a,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":a,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:u}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:r,"numeric-constant":n}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:d},"cas-actions":m,comment:s,function:c,format:f,altformat:p,"numeric-constant":n,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:r,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:u}})(Prism);(function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,r=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:r}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:r,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(Prism);(function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]})(Prism);Prism.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/};Prism.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/};(function(e){e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty;var t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,r=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return t.source}),"g");e.hooks.add("before-tokenize",function(n){var a="{literal}",i="{/literal}",o=!1;e.languages["markup-templating"].buildPlaceholders(n,"smarty",r,function(s){return s===i&&(o=!1),o?!1:(s===a&&(o=!0),!0)})}),e.hooks.add("after-tokenize",function(n){e.languages["markup-templating"].tokenizePlaceholders(n,"smarty")})})(Prism);(function(e){var t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml})(Prism);Prism.languages.solidity=Prism.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/});Prism.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/});Prism.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}});Prism.languages.sol=Prism.languages.solidity;(function(e){var t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]})(Prism);(function(e){var t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:r,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:r,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(n){var a=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,i="{literal}",o="{/literal}",s=!1;e.languages["markup-templating"].buildPlaceholders(n,"soy",a,function(l){return l===o&&(s=!1),s?!1:(l===i&&(s=!0),!0)})}),e.hooks.add("after-tokenize",function(n){e.languages["markup-templating"].tokenizePlaceholders(n,"soy")})})(Prism);Prism.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}};Prism.languages.trig=Prism.languages.turtle;Prism.languages.sparql=Prism.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}});Prism.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]});Prism.languages.rq=Prism.languages.sparql;Prism.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/};Prism.languages.sqf=Prism.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i});Prism.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:Prism.languages.sqf.comment}}});delete Prism.languages.sqf["class-name"];Prism.languages.squirrel=Prism.languages.extend("clike",{comment:[Prism.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/});Prism.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}});Prism.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}});(function(e){var t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan})(Prism);Prism.languages.stata={comment:[{pattern:/(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|\s)\/\/.*|\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0}],"string-literal":{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}|[‘`']\w[^’`'\r\n]*[’`']/,inside:{punctuation:/^\$\{|\}$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},mata:{pattern:/(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-mata",inside:Prism.languages.mata},java:{pattern:/(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-java",inside:Prism.languages.java},python:{pattern:/(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-python",inside:Prism.languages.python},command:{pattern:/(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m,lookbehind:!0,greedy:!0,alias:"keyword"},variable:/\$\w+|[‘`']\w[^’`'\r\n]*[’`']/,keyword:/\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/,boolean:/\b(?:off|on)\b/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+/,function:/\b[a-z_]\w*(?=\()/i,operator:/\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/,punctuation:/[(){}[\],:]/};Prism.languages.stata["string-literal"].inside.interpolation.inside.expression.inside=Prism.languages.stata;Prism.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/};Prism.languages.supercollider={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/,lookbehind:!0,greedy:!0},char:{pattern:/\$(?:[^\\\r\n]|\\.)/,greedy:!0},symbol:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|arg|classvar|const|nil|var|while)\b/,boolean:/\b(?:false|true)\b/,label:{pattern:/\b[a-z_]\w*(?=\s*:)/,alias:"property"},number:/\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/,"class-name":/\b[A-Z]\w*\b/,operator:/\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/,punctuation:/[{}()[\].:,;]|#[[{]/};Prism.languages.sclang=Prism.languages.supercollider;Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ 	]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/};Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift});(function(e){var t={pattern:/^[;#].*/m,greedy:!0},r=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+r+`|(?=[^"\r
]))(?:`+(/[^\s\\]/.source+'|[ 	]+(?:(?![ 	"])|'+r+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+r),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(Prism);(function(e){function t(n,a,i){return{pattern:RegExp("<#"+n+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+n+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:a,alias:i}}}}function r(n){var a=e.languages[n],i="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",a,i),"class-feature":t("\\+",a,i),standard:t("",a,i)}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:r})})(Prism);Prism.languages.t4=Prism.languages["t4-cs"]=Prism.languages["t4-templating"].createT4("csharp");Prism.languages.vbnet=Prism.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/});Prism.languages["t4-vb"]=Prism.languages["t4-templating"].createT4("vbnet");Prism.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:Prism.languages.yaml,alias:"language-yaml"}};Prism.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/};(function(e){e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){var r=/\[%[\s\S]+?%\]/g;e.languages["markup-templating"].buildPlaceholders(t,"tt2",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})})(Prism);(function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function r(n){return n.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(r(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(r(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(Prism);(function(e){e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor})(Prism);(function(e){var t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript})(Prism);Prism.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/};Prism.languages.uc=Prism.languages.uscript=Prism.languages.unrealscript;Prism.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/};(function(e){var t={pattern:/[\s\S]+/,inside:null};e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})})(Prism);Prism.languages.vala=Prism.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/});Prism.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:Prism.languages.vala}},string:/[\s\S]+/}}});Prism.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}});(function(e){e.languages.velocity=e.languages.extend("markup",{});var t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};t.variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity})(Prism);Prism.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/};Prism.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/};Prism.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/};Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/};Prism.languages.vb=Prism.languages["visual-basic"];Prism.languages.vba=Prism.languages["visual-basic"];Prism.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/};Prism.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};(function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,r="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,n={};e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:n},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+r),lookbehind:!0,inside:n},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+r),lookbehind:!0,inside:n},{pattern:RegExp(/(\btypedef\b\s*)/.source+r),lookbehind:!0,inside:n},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(r+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:n}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var a in e.languages["web-idl"])a!=="class-name"&&(n[a]=e.languages["web-idl"][a]);e.languages.webidl=e.languages["web-idl"]})(Prism);Prism.languages.wgsl={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"builtin-attribute":{pattern:/(@)builtin\(.*?\)/,lookbehind:!0,inside:{attribute:{pattern:/^builtin/,alias:"attr-name"},punctuation:/[(),]/,"built-in-values":{pattern:/\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/,alias:"attr-value"}}},attributes:{pattern:/(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i,lookbehind:!0,alias:"attr-name"},functions:{pattern:/\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/,lookbehind:!0,alias:"function"},keyword:/\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/,builtin:/\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/,"function-calls":{pattern:/\b[_a-z]\w*(?=\()/i,alias:"function"},"class-name":/\b(?:[A-Z][A-Za-z0-9]*)\b/,"bool-literal":{pattern:/\b(?:false|true)\b/,alias:"boolean"},"hex-int-literal":{pattern:/\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/,alias:"number"},"hex-float-literal":{pattern:/\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/,alias:"number"},"decimal-float-literal":[{pattern:/\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+[eE](?:\+|-)?\d+[fh]?/,alias:"number"},{pattern:/\b\d+[fh]\b/,alias:"number"}],"int-literal":{pattern:/\b\d+[iu]?\b/,alias:"number"},operator:[{pattern:/(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/},{pattern:/&(?![&=])/},{pattern:/(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/},{pattern:/(^|[^<>=!])=(?![=>])/,lookbehind:!0},{pattern:/(?:==|!=|<=|\+\+|--|(^|[^=])>=)/,lookbehind:!0},{pattern:/(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/},{pattern:/->/}],punctuation:/[@(){}[\],;<>:.]/};Prism.languages.wiki=Prism.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:Prism.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m});Prism.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:Prism.languages.markup.tag.inside}}}});Prism.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.mathematica=Prism.languages.wolfram;Prism.languages.wl=Prism.languages.wolfram;Prism.languages.nb=Prism.languages.wolfram;Prism.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/};Prism.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:Prism.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}};(function(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora})(Prism);(function(e){function t(i,o){e.languages[i]&&e.languages.insertBefore(i,"comment",{"doc-comment":o})}var r=e.languages.markup.tag,n={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:r}},a={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:r}};t("csharp",n),t("fsharp",n),t("vbnet",a)})(Prism);Prism.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/};(function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(n){return typeof n=="string"?n:typeof n.content=="string"?n.content:n.content.map(t).join("")},r=function(n){for(var a=[],i=0;i<n.length;i++){var o=n[i],s=!1;if(typeof o!="string"&&(o.type==="tag"&&o.content[0]&&o.content[0].type==="tag"?o.content[0].content[0].content==="</"?a.length>0&&a[a.length-1].tagName===t(o.content[0].content[1])&&a.pop():o.content[o.content.length-1].content==="/>"||a.push({tagName:t(o.content[0].content[1]),openedBraces:0}):a.length>0&&o.type==="punctuation"&&o.content==="{"&&(!n[i+1]||n[i+1].type!=="punctuation"||n[i+1].content!=="{")&&(!n[i-1]||n[i-1].type!=="plain-text"||n[i-1].content!=="{")?a[a.length-1].openedBraces++:a.length>0&&a[a.length-1].openedBraces>0&&o.type==="punctuation"&&o.content==="}"?a[a.length-1].openedBraces--:o.type!=="comment"&&(s=!0)),(s||typeof o=="string")&&a.length>0&&a[a.length-1].openedBraces===0){var l=t(o);i<n.length-1&&(typeof n[i+1]=="string"||n[i+1].type==="plain-text")&&(l+=t(n[i+1]),n.splice(i+1,1)),i>0&&(typeof n[i-1]=="string"||n[i-1].type==="plain-text")&&(l=t(n[i-1])+l,n.splice(i-1,1),i--),/^\s+$/.test(l)?n[i]=l:n[i]=new e.Token("plain-text",l,null,l)}o.content&&typeof o.content!="string"&&r(o.content)}};e.hooks.add("after-tokenize",function(n){n.language==="xquery"&&r(n.tokens)})})(Prism);Prism.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/};(function(e){function t(l){return function(){return l}}var r=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,n="\\b(?!"+r.source+")(?!\\d)\\w+\\b",a=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,t(a)),o=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,t(n)),s="(?!\\s)(?:!?\\s*(?:"+i+"\\s*)*"+o+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,t(s)).replace(/<ALIGN>/g,t(a))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,t(s)).replace(/<ALIGN>/g,t(a))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:r,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(l){l.inside===null&&(l.inside=e.languages.zig)})})(Prism);(function(){if(typeof Prism>"u"||typeof document>"u")return;var e="line-numbers",t=/\n(?!$)/g,r=Prism.plugins.lineNumbers={getLine:function(o,s){if(!(o.tagName!=="PRE"||!o.classList.contains(e))){var l=o.querySelector(".line-numbers-rows");if(l){var u=parseInt(o.getAttribute("data-start"),10)||1,c=u+(l.children.length-1);s<u&&(s=u),s>c&&(s=c);var d=s-u;return l.children[d]}}},resize:function(o){n([o])},assumeViewportIndependence:!0};function n(o){if(o=o.filter(function(l){var u=a(l),c=u["white-space"];return c==="pre-wrap"||c==="pre-line"}),o.length!=0){var s=o.map(function(l){var u=l.querySelector("code"),c=l.querySelector(".line-numbers-rows");if(!(!u||!c)){var d=l.querySelector(".line-numbers-sizer"),f=u.textContent.split(t);d||(d=document.createElement("span"),d.className="line-numbers-sizer",u.appendChild(d)),d.innerHTML="0",d.style.display="block";var p=d.getBoundingClientRect().height;return d.innerHTML="",{element:l,lines:f,lineHeights:[],oneLinerHeight:p,sizer:d}}}).filter(Boolean);s.forEach(function(l){var u=l.sizer,c=l.lines,d=l.lineHeights,f=l.oneLinerHeight;d[c.length-1]=void 0,c.forEach(function(p,h){if(p&&p.length>1){var v=u.appendChild(document.createElement("span"));v.style.display="block",v.textContent=p}else d[h]=f})}),s.forEach(function(l){for(var u=l.sizer,c=l.lineHeights,d=0,f=0;f<c.length;f++)c[f]===void 0&&(c[f]=u.children[d++].getBoundingClientRect().height)}),s.forEach(function(l){var u=l.sizer,c=l.element.querySelector(".line-numbers-rows");u.style.display="none",u.innerHTML="",l.lineHeights.forEach(function(d,f){c.children[f].style.height=d+"px"})})}}function a(o){return o?window.getComputedStyle?getComputedStyle(o):o.currentStyle||null:null}var i=void 0;window.addEventListener("resize",function(){r.assumeViewportIndependence&&i===window.innerWidth||(i=window.innerWidth,n(Array.prototype.slice.call(document.querySelectorAll("pre."+e))))}),Prism.hooks.add("complete",function(o){if(o.code){var s=o.element,l=s.parentNode;if(!(!l||!/pre/i.test(l.nodeName))&&!s.querySelector(".line-numbers-rows")&&Prism.util.isActive(s,e)){s.classList.remove(e),l.classList.add(e);var u=o.code.match(t),c=u?u.length+1:1,d,f=new Array(c+1).join("<span></span>");d=document.createElement("span"),d.setAttribute("aria-hidden","true"),d.className="line-numbers-rows",d.innerHTML=f,l.hasAttribute("data-start")&&(l.style.counterReset="linenumber "+(parseInt(l.getAttribute("data-start"),10)-1)),o.element.appendChild(d),n([l]),Prism.hooks.run("line-numbers",o)}}}),Prism.hooks.add("line-numbers",function(o){o.plugins=o.plugins||{},o.plugins.lineNumbers=!0})})();/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var kE=function(e,t){return kE=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},kE(e,t)};function ye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");kE(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var zrt=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),Vrt=function(){function e(){this.browser=new zrt,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return e}(),nc=new Vrt;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(nc.wxa=!0,nc.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?nc.worker=!0:typeof navigator>"u"?(nc.node=!0,nc.svgSupported=!0):Hrt(navigator.userAgent,nc);function Hrt(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),a=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),i=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),a&&(r.ie=!0,r.version=a[1]),i&&(r.edge=!0,r.version=i[1],r.newEdge=+i[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}const Jt=nc;var Ox=12,kU="sans-serif",iu=Ox+"px "+kU,Urt=20,Grt=100,Wrt="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function Krt(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r<e.length;r++){var n=String.fromCharCode(r+32),a=(e.charCodeAt(r)-Urt)/Grt;t[n]=a}return t}var Yrt=Krt(Wrt),ou={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(r,n){if(!e){var a=ou.createCanvas();e=a&&a.getContext("2d")}if(e)return t!==n&&(t=e.font=n||iu),e.measureText(r);r=r||"",n=n||iu;var i=/(\d+)px/.exec(n),o=i&&+i[1]||Ox,s=0;if(n.indexOf("mono")>=0)s=o*r.length;else for(var l=0;l<r.length;l++){var u=Yrt[r[l]];s+=u==null?o:u*o}return{width:s}}}(),loadImage:function(e,t,r){var n=new Image;return n.onload=t,n.onerror=r,n.src=e,n}},IU=Xo(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),RU=Xo(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),Fp=Object.prototype.toString,H_=Array.prototype,qrt=H_.forEach,jrt=H_.filter,Nx=H_.slice,Xrt=H_.map,YM=(function(){}).constructor,v0=YM?YM.prototype:null,Px="__proto__",Zrt=2311;function MU(){return Zrt++}function $x(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function _t(e){if(e==null||typeof e!="object")return e;var t=e,r=Fp.call(e);if(r==="[object Array]"){if(!Tv(e)){t=[];for(var n=0,a=e.length;n<a;n++)t[n]=_t(e[n])}}else if(RU[r]){if(!Tv(e)){var i=e.constructor;if(i.from)t=i.from(e);else{t=new i(e.length);for(var n=0,a=e.length;n<a;n++)t[n]=e[n]}}}else if(!IU[r]&&!Tv(e)&&!Ag(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==Px&&(t[o]=_t(e[o]))}return t}function Nt(e,t,r){if(!vt(t)||!vt(e))return r?_t(t):e;for(var n in t)if(t.hasOwnProperty(n)&&n!==Px){var a=e[n],i=t[n];vt(i)&&vt(a)&&!Ne(i)&&!Ne(a)&&!Ag(i)&&!Ag(a)&&!qM(i)&&!qM(a)&&!Tv(i)&&!Tv(a)?Nt(a,i,r):(r||!(n in e))&&(e[n]=_t(t[n]))}return e}function Bx(e,t){for(var r=e[0],n=1,a=e.length;n<a;n++)r=Nt(r,e[n],t);return r}function Me(e,t){if(Object.assign)Object.assign(e,t);else for(var r in t)t.hasOwnProperty(r)&&r!==Px&&(e[r]=t[r]);return e}function ht(e,t,r){for(var n=Wt(t),a=0;a<n.length;a++){var i=n[a];(r?t[i]!=null:e[i]==null)&&(e[i]=t[i])}return e}function Bt(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r}return-1}function Qrt(e,t){var r=e.prototype;function n(){}n.prototype=t.prototype,e.prototype=new n;for(var a in r)r.hasOwnProperty(a)&&(e.prototype[a]=r[a]);e.prototype.constructor=e,e.superClass=t}function on(e,t,r){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(t),a=0;a<n.length;a++){var i=n[a];i!=="constructor"&&(r?t[i]!=null:e[i]==null)&&(e[i]=t[i])}else ht(e,t,r)}function qn(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}function G(e,t,r){if(e&&t)if(e.forEach&&e.forEach===qrt)e.forEach(t,r);else if(e.length===+e.length)for(var n=0,a=e.length;n<a;n++)t.call(r,e[n],n,e);else for(var i in e)e.hasOwnProperty(i)&&t.call(r,e[i],i,e)}function Pe(e,t,r){if(!e)return[];if(!t)return Fx(e);if(e.map&&e.map===Xrt)return e.map(t,r);for(var n=[],a=0,i=e.length;a<i;a++)n.push(t.call(r,e[a],a,e));return n}function Xo(e,t,r,n){if(e&&t){for(var a=0,i=e.length;a<i;a++)r=t.call(n,r,e[a],a,e);return r}}function ur(e,t,r){if(!e)return[];if(!t)return Fx(e);if(e.filter&&e.filter===jrt)return e.filter(t,r);for(var n=[],a=0,i=e.length;a<i;a++)t.call(r,e[a],a,e)&&n.push(e[a]);return n}function Jrt(e,t,r){if(e&&t){for(var n=0,a=e.length;n<a;n++)if(t.call(r,e[n],n,e))return e[n]}}function Wt(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}function ent(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return function(){return e.apply(t,r.concat(Nx.call(arguments)))}}var rt=v0&&ft(v0.bind)?v0.call.bind(v0.bind):ent;function Rt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return function(){return e.apply(this,t.concat(Nx.call(arguments)))}}function Ne(e){return Array.isArray?Array.isArray(e):Fp.call(e)==="[object Array]"}function ft(e){return typeof e=="function"}function et(e){return typeof e=="string"}function IE(e){return Fp.call(e)==="[object String]"}function tr(e){return typeof e=="number"}function vt(e){var t=typeof e;return t==="function"||!!e&&t==="object"}function qM(e){return!!IU[Fp.call(e)]}function ei(e){return!!RU[Fp.call(e)]}function Ag(e){return typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.ownerDocument=="object"}function U_(e){return e.colorStops!=null}function tnt(e){return e.image!=null}function rnt(e){return Fp.call(e)==="[object RegExp]"}function kg(e){return e!==e}function wn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e.length;r<n;r++)if(e[r]!=null)return e[r]}function Dt(e,t){return e??t}function Ho(e,t,r){return e??t??r}function Fx(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Nx.apply(e,t)}function zx(e){if(typeof e=="number")return[e,e,e,e];var t=e.length;return t===2?[e[0],e[1],e[0],e[1]]:t===3?[e[0],e[1],e[2],e[1]]:e}function da(e,t){if(!e)throw new Error(t)}function eo(e){return e==null?null:typeof e.trim=="function"?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var LU="__ec_primitive__";function t2(e){e[LU]=!0}function Tv(e){return e[LU]}var nnt=function(){function e(){this.data={}}return e.prototype.delete=function(t){var r=this.has(t);return r&&delete this.data[t],r},e.prototype.has=function(t){return this.data.hasOwnProperty(t)},e.prototype.get=function(t){return this.data[t]},e.prototype.set=function(t,r){return this.data[t]=r,this},e.prototype.keys=function(){return Wt(this.data)},e.prototype.forEach=function(t){var r=this.data;for(var n in r)r.hasOwnProperty(n)&&t(r[n],n)},e}(),DU=typeof Map=="function";function ant(){return DU?new Map:new nnt}var int=function(){function e(t){var r=Ne(t);this.data=ant();var n=this;t instanceof e?t.each(a):t&&G(t,a);function a(i,o){r?n.set(i,o):n.set(o,i)}}return e.prototype.hasKey=function(t){return this.data.has(t)},e.prototype.get=function(t){return this.data.get(t)},e.prototype.set=function(t,r){return this.data.set(t,r),r},e.prototype.each=function(t,r){this.data.forEach(function(n,a){t.call(r,n,a)})},e.prototype.keys=function(){var t=this.data.keys();return DU?Array.from(t):t},e.prototype.removeKey=function(t){this.data.delete(t)},e}();function lt(e){return new int(e)}function r2(e,t){for(var r=new e.constructor(e.length+t.length),n=0;n<e.length;n++)r[n]=e[n];for(var a=e.length,n=0;n<t.length;n++)r[n+a]=t[n];return r}function G_(e,t){var r;if(Object.create)r=Object.create(e);else{var n=function(){};n.prototype=e,r=new n}return t&&Me(r,t),r}function OU(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function nt(e,t){return e.hasOwnProperty(t)}function qr(){}var Qy=180/Math.PI;function kd(e,t){return e==null&&(e=0),t==null&&(t=0),[e,t]}function ea(e,t){return e[0]=t[0],e[1]=t[1],e}function xs(e){return[e[0],e[1]]}function ont(e,t,r){return e[0]=t,e[1]=r,e}function jM(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e}function RE(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e}function Ac(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e}function ME(e){return Math.sqrt(snt(e))}function snt(e){return e[0]*e[0]+e[1]*e[1]}function Jy(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e}function zp(e,t){var r=ME(t);return r===0?(e[0]=0,e[1]=0):(e[0]=t[0]/r,e[1]=t[1]/r),e}function LE(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var Dl=LE;function lnt(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var Kc=lnt;function e1(e,t,r,n){return e[0]=t[0]+n*(r[0]-t[0]),e[1]=t[1]+n*(r[1]-t[1]),e}function Ln(e,t,r){var n=t[0],a=t[1];return e[0]=r[0]*n+r[2]*a+r[4],e[1]=r[1]*n+r[3]*a+r[5],e}function Ol(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e}function Nl(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e}var Hd=function(){function e(t,r){this.target=t,this.topTarget=r&&r.topTarget}return e}(),unt=function(){function e(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(t){for(var r=t.target;r&&!r.draggable;)r=r.parent||r.__hostTarget;r&&(this._draggingTarget=r,r.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Hd(r,t),"dragstart",t.event))},e.prototype._drag=function(t){var r=this._draggingTarget;if(r){var n=t.offsetX,a=t.offsetY,i=n-this._x,o=a-this._y;this._x=n,this._y=a,r.drift(i,o,t),this.handler.dispatchToElement(new Hd(r,t),"drag",t.event);var s=this.handler.findHover(n,a,r).target,l=this._dropTarget;this._dropTarget=s,r!==s&&(l&&s!==l&&this.handler.dispatchToElement(new Hd(l,t),"dragleave",t.event),s&&s!==l&&this.handler.dispatchToElement(new Hd(s,t),"dragenter",t.event))}},e.prototype._dragEnd=function(t){var r=this._draggingTarget;r&&(r.dragging=!1),this.handler.dispatchToElement(new Hd(r,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Hd(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},e}();const cnt=unt;var dnt=function(){function e(t){t&&(this._$eventProcessor=t)}return e.prototype.on=function(t,r,n,a){this._$handlers||(this._$handlers={});var i=this._$handlers;if(typeof r=="function"&&(a=n,n=r,r=null),!n||!t)return this;var o=this._$eventProcessor;r!=null&&o&&o.normalizeQuery&&(r=o.normalizeQuery(r)),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:r,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},e.prototype.isSilent=function(t){var r=this._$handlers;return!r||!r[t]||!r[t].length},e.prototype.off=function(t,r){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(r){if(n[t]){for(var a=[],i=0,o=n[t].length;i<o;i++)n[t][i].h!==r&&a.push(n[t][i]);n[t]=a}n[t]&&n[t].length===0&&delete n[t]}else delete n[t];return this},e.prototype.trigger=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this._$handlers)return this;var a=this._$handlers[t],i=this._$eventProcessor;if(a)for(var o=r.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,r[0]);break;case 2:u.h.call(u.ctx,r[0],r[1]);break;default:u.h.apply(u.ctx,r);break}}return i&&i.afterTrigger&&i.afterTrigger(t),this},e.prototype.triggerWithContext=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this._$handlers)return this;var a=this._$handlers[t],i=this._$eventProcessor;if(a)for(var o=r.length,s=r[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,r[0]);break;case 2:c.h.call(s,r[0],r[1]);break;default:c.h.apply(s,r.slice(1,o-1));break}}return i&&i.afterTrigger&&i.afterTrigger(t),this},e}();const $i=dnt;var fnt=Math.log(2);function DE(e,t,r,n,a,i){var o=n+"-"+a,s=e.length;if(i.hasOwnProperty(o))return i[o];if(t===1){var l=Math.round(Math.log((1<<s)-1&~a)/fnt);return e[r][l]}for(var u=n|1<<r,c=r+1;n&1<<c;)c++;for(var d=0,f=0,p=0;f<s;f++){var h=1<<f;h&a||(d+=(p%2?-1:1)*e[r][f]*DE(e,t-1,c,u,a|h,i),p++)}return i[o]=d,d}function XM(e,t){var r=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],n={},a=DE(r,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)*DE(r,7,o===0?1:0,1<<o,1<<s,n)/a*t[o];return function(l,u,c){var d=u*i[6]+c*i[7]+1;l[0]=(u*i[0]+c*i[1]+i[2])/d,l[1]=(u*i[3]+c*i[4]+i[5])/d}}}var ZM="___zrEVENTSAVED",_w=[];function pnt(e,t,r,n,a){return OE(_w,t,n,a,!0)&&OE(e,r,_w[0],_w[1])}function OE(e,t,r,n,a){if(t.getBoundingClientRect&&Jt.domSupported&&!NU(t)){var i=t[ZM]||(t[ZM]={}),o=hnt(t,i),s=vnt(o,i,a);if(s)return s(e,r,n),!0}return!1}function hnt(e,t){var r=t.markers;if(r)return r;r=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;"),e.appendChild(o),r.push(o)}return r}function vnt(e,t,r){for(var n=r?"invTrans":"trans",a=t[n],i=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),d=2*u,f=c.left,p=c.top;o.push(f,p),l=l&&i&&f===i[d]&&p===i[d+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&a?a:(t.srcCoords=o,t[n]=r?XM(s,o):XM(o,s))}function NU(e){return e.nodeName.toUpperCase()==="CANVAS"}var gnt=/([&<>"'])/g,mnt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function _a(e){return e==null?"":(e+"").replace(gnt,function(t,r){return mnt[r]})}var ynt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,bw=[],_nt=Jt.browser.firefox&&+Jt.browser.version.split(".")[0]<39;function NE(e,t,r,n){return r=r||{},n?QM(e,t,r):_nt&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):QM(e,t,r),r}function QM(e,t,r){if(Jt.domSupported&&e.getBoundingClientRect){var n=t.clientX,a=t.clientY;if(NU(e)){var i=e.getBoundingClientRect();r.zrX=n-i.left,r.zrY=a-i.top;return}else if(OE(bw,e,n,a)){r.zrX=bw[0],r.zrY=bw[1];return}}r.zrX=r.zrY=0}function Vx(e){return e||window.event}function ui(e,t,r){if(t=Vx(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&&NE(e,o,t,r)}else{NE(e,t,t,r);var i=bnt(t);t.zrDelta=i?i/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&ynt.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function bnt(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,n=e.deltaY;if(r==null||n==null)return t;var a=Math.abs(n!==0?n:r),i=n>0?-1:n<0?1:r>0?-1:1;return 3*a*i}function PE(e,t,r,n){e.addEventListener(t,r,n)}function wnt(e,t,r,n){e.removeEventListener(t,r,n)}var Bs=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function JM(e){return e.which===2||e.which===3}var Snt=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,n){return this._doTrack(t,r,n),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,n){var a=t.touches;if(a){for(var i={points:[],touches:[],target:r,event:t},o=0,s=a.length;o<s;o++){var l=a[o],u=NE(n,l,{});i.points.push([u.zrX,u.zrY]),i.touches.push(l)}this._track.push(i)}},e.prototype._recognize=function(t){for(var r in ww)if(ww.hasOwnProperty(r)){var n=ww[r](this._track,t);if(n)return n}},e}();function eL(e){var t=e[1][0]-e[0][0],r=e[1][1]-e[0][1];return Math.sqrt(t*t+r*r)}function Ent(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var ww={pinch:function(e,t){var r=e.length;if(r){var n=(e[r-1]||{}).points,a=(e[r-2]||{}).points||n;if(a&&a.length>1&&n&&n.length>1){var i=eL(n)/eL(a);!isFinite(i)&&(i=1),t.pinchScale=i;var o=Ent(n);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}};function Ni(){return[1,0,0,1,0,0]}function W_(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function Hx(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function As(e,t,r){var n=t[0]*r[0]+t[2]*r[1],a=t[1]*r[0]+t[3]*r[1],i=t[0]*r[2]+t[2]*r[3],o=t[1]*r[2]+t[3]*r[3],s=t[0]*r[4]+t[2]*r[5]+t[4],l=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=n,e[1]=a,e[2]=i,e[3]=o,e[4]=s,e[5]=l,e}function Zo(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}function Id(e,t,r){var n=t[0],a=t[2],i=t[4],o=t[1],s=t[3],l=t[5],u=Math.sin(r),c=Math.cos(r);return e[0]=n*c+o*u,e[1]=-n*u+o*c,e[2]=a*c+s*u,e[3]=-a*u+c*s,e[4]=c*i+u*l,e[5]=c*l-u*i,e}function Ux(e,t,r){var n=r[0],a=r[1];return e[0]=t[0]*n,e[1]=t[1]*a,e[2]=t[2]*n,e[3]=t[3]*a,e[4]=t[4]*n,e[5]=t[5]*a,e}function Vp(e,t){var r=t[0],n=t[2],a=t[4],i=t[1],o=t[3],s=t[5],l=r*o-i*n;return l?(l=1/l,e[0]=o*l,e[1]=-i*l,e[2]=-n*l,e[3]=r*l,e[4]=(n*s-o*a)*l,e[5]=(i*a-r*s)*l,e):null}function Cnt(e){var t=Ni();return Hx(t,e),t}var Tnt=function(){function e(t,r){this.x=t||0,this.y=r||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,r){return this.x=t,this.y=r,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,r){this.x+=t.x*r,this.y+=t.y*r},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var r=this.x-t.x,n=this.y-t.y;return Math.sqrt(r*r+n*n)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,n=this.y-t.y;return r*r+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var r=this.x,n=this.y;return this.x=t[0]*r+t[2]*n+t[4],this.y=t[1]*r+t[3]*n+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,r,n){t.x=r,t.y=n},e.copy=function(t,r){t.x=r.x,t.y=r.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,r){return t.x*r.x+t.y*r.y},e.add=function(t,r,n){t.x=r.x+n.x,t.y=r.y+n.y},e.sub=function(t,r,n){t.x=r.x-n.x,t.y=r.y-n.y},e.scale=function(t,r,n){t.x=r.x*n,t.y=r.y*n},e.scaleAndAdd=function(t,r,n,a){t.x=r.x+n.x*a,t.y=r.y+n.y*a},e.lerp=function(t,r,n,a){var i=1-a;t.x=i*r.x+a*n.x,t.y=i*r.y+a*n.y},e}();const Lt=Tnt;var g0=Math.min,m0=Math.max,Mu=new Lt,Lu=new Lt,Du=new Lt,Ou=new Lt,ph=new Lt,hh=new Lt,xnt=function(){function e(t,r,n,a){n<0&&(t=t+n,n=-n),a<0&&(r=r+a,a=-a),this.x=t,this.y=r,this.width=n,this.height=a}return e.prototype.union=function(t){var r=g0(t.x,this.x),n=g0(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=m0(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=m0(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=r,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var r=this,n=t.width/r.width,a=t.height/r.height,i=Ni();return Zo(i,i,[-r.x,-r.y]),Ux(i,i,[n,a]),Zo(i,i,[t.x,t.y]),i},e.prototype.intersect=function(t,r){if(!t)return!1;t instanceof e||(t=e.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,d=t.y+t.height,f=!(i<l||u<a||s<c||d<o);if(r){var p=1/0,h=0,v=Math.abs(i-l),g=Math.abs(u-a),m=Math.abs(s-c),y=Math.abs(d-o),_=Math.min(v,g),w=Math.min(m,y);i<l||u<a?_>h&&(h=_,v<g?Lt.set(hh,-v,0):Lt.set(hh,g,0)):_<p&&(p=_,v<g?Lt.set(ph,v,0):Lt.set(ph,-g,0)),s<c||d<o?w>h&&(h=w,m<y?Lt.set(hh,0,-m):Lt.set(hh,0,y)):_<p&&(p=_,m<y?Lt.set(ph,0,m):Lt.set(ph,0,-y))}return r&&Lt.copy(r,f?ph:hh),f},e.prototype.contain=function(t,r){var n=this;return t>=n.x&&t<=n.x+n.width&&r>=n.y&&r<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,r){t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height},e.applyTransform=function(t,r,n){if(!n){t!==r&&e.copy(t,r);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var a=n[0],i=n[3],o=n[4],s=n[5];t.x=r.x*a+o,t.y=r.y*i+s,t.width=r.width*a,t.height=r.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}Mu.x=Du.x=r.x,Mu.y=Ou.y=r.y,Lu.x=Ou.x=r.x+r.width,Lu.y=Du.y=r.y+r.height,Mu.transform(n),Ou.transform(n),Lu.transform(n),Du.transform(n),t.x=g0(Mu.x,Lu.x,Du.x,Ou.x),t.y=g0(Mu.y,Lu.y,Du.y,Ou.y);var l=m0(Mu.x,Lu.x,Du.x,Ou.x),u=m0(Mu.y,Lu.y,Du.y,Ou.y);t.width=l-t.x,t.height=u-t.y},e}();const Pt=xnt;var PU="silent";function Ant(e,t,r){return{type:e,event:r,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:knt}}function knt(){Bs(this.event)}var Int=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.handler=null,r}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}($i),vh=function(){function e(t,r){this.x=t,this.y=r}return e}(),Rnt=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Sw=new Pt(0,0,0,0),$U=function(e){ye(t,e);function t(r,n,a,i,o){var s=e.call(this)||this;return s._hovered=new vh(0,0),s.storage=r,s.painter=n,s.painterRoot=i,s._pointerSize=o,a=a||new Int,s.proxy=null,s.setHandlerProxy(a),s._draggingMgr=new cnt(s),s}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(G(Rnt,function(n){r.on&&r.on(n,this[n],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var n=r.zrX,a=r.zrY,i=BU(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 vh(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",r),this.dispatchToElement(l,"mousemove",r),u&&u!==s&&this.dispatchToElement(l,"mouseover",r)},t.prototype.mouseout=function(r){var n=r.zrEventControl;n!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),n!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},t.prototype.resize=function(){this._hovered=new vh(0,0)},t.prototype.dispatch=function(r,n){var a=this[r];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(r){var n=this.proxy;n.setCursor&&n.setCursor(r)},t.prototype.dispatchToElement=function(r,n,a){r=r||{};var i=r.target;if(!(i&&i.silent)){for(var o="on"+n,s=Ant(n,r,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(r,n,a){var i=this.storage.getDisplayList(),o=new vh(r,n);if(tL(i,o,r,n,a),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,c=new Pt(r-u,n-u,l,l),d=i.length-1;d>=0;d--){var f=i[d];f!==a&&!f.ignore&&!f.ignoreCoarsePointer&&(!f.parent||!f.parent.ignoreCoarsePointer)&&(Sw.copy(f.getBoundingRect()),f.transform&&Sw.applyTransform(f.transform),Sw.intersect(c)&&s.push(f))}if(s.length)for(var p=4,h=Math.PI/12,v=Math.PI*2,g=0;g<u;g+=p)for(var m=0;m<v;m+=h){var y=r+g*Math.cos(m),_=n+g*Math.sin(m);if(tL(s,o,y,_,a),o.target)return o}}return o},t.prototype.processGesture=function(r,n){this._gestureMgr||(this._gestureMgr=new Snt);var a=this._gestureMgr;n==="start"&&a.clear();var i=a.recognize(r,this.findHover(r.zrX,r.zrY,null).target,this.proxy.dom);if(n==="end"&&a.clear(),i){var o=i.type;r.gestureEvent=o;var s=new vh;s.target=i.target,this.dispatchToElement(s,o,i.event)}},t}($i);G(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){$U.prototype[e]=function(t){var r=t.zrX,n=t.zrY,a=BU(this,r,n),i,o;if((e!=="mouseup"||!a)&&(i=this.findHover(r,n),o=i.target),e==="mousedown")this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if(e==="mouseup")this._upEl=o;else if(e==="click"){if(this._downEl!==this._upEl||!this._downPoint||Dl(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,e,t)}});function Mnt(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var n=e,a=void 0,i=!1;n;){if(n.ignoreClip&&(i=!0),!i){var o=n.getClipPath();if(o&&!o.contain(t,r))return!1;n.silent&&(a=!0)}var s=n.__hostTarget;n=s||n.parent}return a?PU:!0}return!1}function tL(e,t,r,n,a){for(var i=e.length-1;i>=0;i--){var o=e[i],s=void 0;if(o!==a&&!o.ignore&&(s=Mnt(o,r,n))&&(!t.topTarget&&(t.topTarget=o),s!==PU)){t.target=o;break}}}function BU(e,t,r){var n=e.painter;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}const Lnt=$U;var FU=32,gh=7;function Dnt(e){for(var t=0;e>=FU;)t|=e&1,e>>=1;return e+t}function rL(e,t,r,n){var a=t+1;if(a===r)return 1;if(n(e[a++],e[t])<0){for(;a<r&&n(e[a],e[a-1])<0;)a++;Ont(e,t,a)}else for(;a<r&&n(e[a],e[a-1])>=0;)a++;return a-t}function Ont(e,t,r){for(r--;t<r;){var n=e[t];e[t++]=e[r],e[r--]=n}}function nL(e,t,r,n,a){for(n===t&&n++;n<r;n++){for(var i=e[n],o=t,s=n,l;o<s;)l=o+s>>>1,a(i,e[l])<0?s=l:o=l+1;var u=n-o;switch(u){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;u>0;)e[o+u]=e[o+u-1],u--}e[o]=i}}function Ew(e,t,r,n,a,i){var o=0,s=0,l=1;if(i(e,t[r+a])>0){for(s=n-a;l<s&&i(e,t[r+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(e,t[r+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(e,t[r+c])>0?o=c+1:l=c}return l}function Cw(e,t,r,n,a,i){var o=0,s=0,l=1;if(i(e,t[r+a])<0){for(s=a+1;l<s&&i(e,t[r+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(e,t[r+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(e,t[r+c])<0?l=c:o=c+1}return l}function Nnt(e,t){var r=gh,n,a,i=0;e.length;var o=[];n=[],a=[];function s(p,h){n[i]=p,a[i]=h,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 h=n[p],v=a[p],g=n[p+1],m=a[p+1];a[p]=v+m,p===i-3&&(n[p+1]=n[p+2],a[p+1]=a[p+2]),i--;var y=Cw(e[g],e,h,v,0,t);h+=y,v-=y,v!==0&&(m=Ew(e[h+v-1],e,g,m,m-1,t),m!==0&&(v<=m?d(h,v,g,m):f(h,v,g,m)))}function d(p,h,v,g){var m=0;for(m=0;m<h;m++)o[m]=e[p+m];var y=0,_=v,w=p;if(e[w++]=e[_++],--g===0){for(m=0;m<h;m++)e[w+m]=o[y+m];return}if(h===1){for(m=0;m<g;m++)e[w+m]=e[_+m];e[w+g]=o[y];return}for(var E=r,S,C,T;;){S=0,C=0,T=!1;do if(t(e[_],o[y])<0){if(e[w++]=e[_++],C++,S=0,--g===0){T=!0;break}}else if(e[w++]=o[y++],S++,C=0,--h===1){T=!0;break}while((S|C)<E);if(T)break;do{if(S=Cw(e[_],o,y,h,0,t),S!==0){for(m=0;m<S;m++)e[w+m]=o[y+m];if(w+=S,y+=S,h-=S,h<=1){T=!0;break}}if(e[w++]=e[_++],--g===0){T=!0;break}if(C=Ew(o[y],e,_,g,0,t),C!==0){for(m=0;m<C;m++)e[w+m]=e[_+m];if(w+=C,_+=C,g-=C,g===0){T=!0;break}}if(e[w++]=o[y++],--h===1){T=!0;break}E--}while(S>=gh||C>=gh);if(T)break;E<0&&(E=0),E+=2}if(r=E,r<1&&(r=1),h===1){for(m=0;m<g;m++)e[w+m]=e[_+m];e[w+g]=o[y]}else{if(h===0)throw new Error;for(m=0;m<h;m++)e[w+m]=o[y+m]}}function f(p,h,v,g){var m=0;for(m=0;m<g;m++)o[m]=e[v+m];var y=p+h-1,_=g-1,w=v+g-1,E=0,S=0;if(e[w--]=e[y--],--h===0){for(E=w-(g-1),m=0;m<g;m++)e[E+m]=o[m];return}if(g===1){for(w-=h,y-=h,S=w+1,E=y+1,m=h-1;m>=0;m--)e[S+m]=e[E+m];e[w]=o[_];return}for(var C=r;;){var T=0,x=0,A=!1;do if(t(o[_],e[y])<0){if(e[w--]=e[y--],T++,x=0,--h===0){A=!0;break}}else if(e[w--]=o[_--],x++,T=0,--g===1){A=!0;break}while((T|x)<C);if(A)break;do{if(T=h-Cw(o[_],e,p,h,h-1,t),T!==0){for(w-=T,y-=T,h-=T,S=w+1,E=y+1,m=T-1;m>=0;m--)e[S+m]=e[E+m];if(h===0){A=!0;break}}if(e[w--]=o[_--],--g===1){A=!0;break}if(x=g-Ew(e[y],o,0,g,g-1,t),x!==0){for(w-=x,_-=x,g-=x,S=w+1,E=_+1,m=0;m<x;m++)e[S+m]=o[E+m];if(g<=1){A=!0;break}}if(e[w--]=e[y--],--h===0){A=!0;break}C--}while(T>=gh||x>=gh);if(A)break;C<0&&(C=0),C+=2}if(r=C,r<1&&(r=1),g===1){for(w-=h,y-=h,S=w+1,E=y+1,m=h-1;m>=0;m--)e[S+m]=e[E+m];e[w]=o[_]}else{if(g===0)throw new Error;for(E=w-(g-1),m=0;m<g;m++)e[E+m]=o[m]}}return{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function t1(e,t,r,n){r||(r=0),n||(n=e.length);var a=n-r;if(!(a<2)){var i=0;if(a<FU){i=rL(e,r,n,t),nL(e,r,n,r+i,t);return}var o=Nnt(e,t),s=Dnt(a);do{if(i=rL(e,r,n,t),i<s){var l=a;l>s&&(l=s),nL(e,r,r+l,r+i,t),i=l}o.pushRun(r,i),o.mergeRuns(),a-=i,r+=i}while(a!==0);o.forceMergeRuns()}}var Wa=1,jh=2,vf=4,aL=!1;function Tw(){aL||(aL=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function iL(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var Pnt=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=iL}return e.prototype.traverse=function(t,r){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,r)},e.prototype.getDisplayList=function(t,r){r=r||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(r),n},e.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var r=this._roots,n=this._displayList,a=0,i=r.length;a<i;a++)this._updateAndAddDisplayable(r[a],null,t);n.length=this._displayListLen,t1(n,iL)},e.prototype._updateAndAddDisplayable=function(t,r,n){if(!(t.ignore&&!n)){t.beforeUpdate(),t.update(),t.afterUpdate();var a=t.getClipPath();if(t.ignoreClip)r=null;else if(a){r?r=r.slice():r=[];for(var i=a,o=t;i;)i.parent=o,i.updateTransform(),r.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|=Wa),this._updateAndAddDisplayable(u,r,n)}t.__dirty=0}else{var c=t;r&&r.length?c.__clipPaths=r:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(Tw(),c.z=0),isNaN(c.z2)&&(Tw(),c.z2=0),isNaN(c.zlevel)&&(Tw(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,r,n);var f=t.getTextGuideLine();f&&this._updateAndAddDisplayable(f,r,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,r,n)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var r=0,n=t.length;r<n;r++)this.delRoot(t[r]);return}var a=Bt(this._roots,t);a>=0&&this._roots.splice(a,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}();const $nt=Pnt;var zU;zU=Jt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};const $E=zU;var r1={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)))},elasticOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},elasticInOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-r1.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?r1.bounceIn(e*2)*.5:r1.bounceOut(e*2-1)*.5+.5}};const VU=r1;var y0=Math.pow,Yl=Math.sqrt,n2=1e-8,HU=1e-4,oL=Yl(3),_0=1/3,Mo=kd(),hi=kd(),Uf=kd();function Pl(e){return e>-n2&&e<n2}function UU(e){return e>n2||e<-n2}function dn(e,t,r,n,a){var i=1-a;return i*i*(i*e+3*a*t)+a*a*(a*n+3*i*r)}function sL(e,t,r,n,a){var i=1-a;return 3*(((t-e)*i+2*(r-t)*a)*i+(n-r)*a*a)}function a2(e,t,r,n,a,i){var o=n+3*(t-r)-e,s=3*(r-t*2+e),l=3*(t-e),u=e-a,c=s*s-3*o*l,d=s*l-9*o*u,f=l*l-3*s*u,p=0;if(Pl(c)&&Pl(d))if(Pl(s))i[0]=0;else{var h=-l/s;h>=0&&h<=1&&(i[p++]=h)}else{var v=d*d-4*c*f;if(Pl(v)){var g=d/c,h=-s/o+g,m=-g/2;h>=0&&h<=1&&(i[p++]=h),m>=0&&m<=1&&(i[p++]=m)}else if(v>0){var y=Yl(v),_=c*s+1.5*o*(-d+y),w=c*s+1.5*o*(-d-y);_<0?_=-y0(-_,_0):_=y0(_,_0),w<0?w=-y0(-w,_0):w=y0(w,_0);var h=(-s-(_+w))/(3*o);h>=0&&h<=1&&(i[p++]=h)}else{var E=(2*c*s-3*o*d)/(2*Yl(c*c*c)),S=Math.acos(E)/3,C=Yl(c),T=Math.cos(S),h=(-s-2*C*T)/(3*o),m=(-s+C*(T+oL*Math.sin(S)))/(3*o),x=(-s+C*(T-oL*Math.sin(S)))/(3*o);h>=0&&h<=1&&(i[p++]=h),m>=0&&m<=1&&(i[p++]=m),x>=0&&x<=1&&(i[p++]=x)}}return p}function GU(e,t,r,n,a){var i=6*r-12*t+6*e,o=9*t+3*n-3*e-9*r,s=3*t-3*e,l=0;if(Pl(o)){if(UU(i)){var u=-s/i;u>=0&&u<=1&&(a[l++]=u)}}else{var c=i*i-4*o*s;if(Pl(c))a[0]=-i/(2*o);else if(c>0){var d=Yl(c),u=(-i+d)/(2*o),f=(-i-d)/(2*o);u>=0&&u<=1&&(a[l++]=u),f>=0&&f<=1&&(a[l++]=f)}}return l}function su(e,t,r,n,a,i){var o=(t-e)*a+e,s=(r-t)*a+t,l=(n-r)*a+r,u=(s-o)*a+o,c=(l-s)*a+s,d=(c-u)*a+u;i[0]=e,i[1]=o,i[2]=u,i[3]=d,i[4]=d,i[5]=c,i[6]=l,i[7]=n}function WU(e,t,r,n,a,i,o,s,l,u,c){var d,f=.005,p=1/0,h,v,g,m;Mo[0]=l,Mo[1]=u;for(var y=0;y<1;y+=.05)hi[0]=dn(e,r,a,o,y),hi[1]=dn(t,n,i,s,y),g=Kc(Mo,hi),g<p&&(d=y,p=g);p=1/0;for(var _=0;_<32&&!(f<HU);_++)h=d-f,v=d+f,hi[0]=dn(e,r,a,o,h),hi[1]=dn(t,n,i,s,h),g=Kc(hi,Mo),h>=0&&g<p?(d=h,p=g):(Uf[0]=dn(e,r,a,o,v),Uf[1]=dn(t,n,i,s,v),m=Kc(Uf,Mo),v<=1&&m<p?(d=v,p=m):f*=.5);return c&&(c[0]=dn(e,r,a,o,d),c[1]=dn(t,n,i,s,d)),Yl(p)}function Bnt(e,t,r,n,a,i,o,s,l){for(var u=e,c=t,d=0,f=1/l,p=1;p<=l;p++){var h=p*f,v=dn(e,r,a,o,h),g=dn(t,n,i,s,h),m=v-u,y=g-c;d+=Math.sqrt(m*m+y*y),u=v,c=g}return d}function yn(e,t,r,n){var a=1-n;return a*(a*e+2*n*t)+n*n*r}function BE(e,t,r,n){return 2*((1-n)*(t-e)+n*(r-t))}function Fnt(e,t,r,n,a){var i=e-2*t+r,o=2*(t-e),s=e-n,l=0;if(Pl(i)){if(UU(o)){var u=-s/o;u>=0&&u<=1&&(a[l++]=u)}}else{var c=o*o-4*i*s;if(Pl(c)){var u=-o/(2*i);u>=0&&u<=1&&(a[l++]=u)}else if(c>0){var d=Yl(c),u=(-o+d)/(2*i),f=(-o-d)/(2*i);u>=0&&u<=1&&(a[l++]=u),f>=0&&f<=1&&(a[l++]=f)}}return l}function KU(e,t,r){var n=e+r-2*t;return n===0?.5:(e-t)/n}function Ig(e,t,r,n,a){var i=(t-e)*n+e,o=(r-t)*n+t,s=(o-i)*n+i;a[0]=e,a[1]=i,a[2]=s,a[3]=s,a[4]=o,a[5]=r}function YU(e,t,r,n,a,i,o,s,l){var u,c=.005,d=1/0;Mo[0]=o,Mo[1]=s;for(var f=0;f<1;f+=.05){hi[0]=yn(e,r,a,f),hi[1]=yn(t,n,i,f);var p=Kc(Mo,hi);p<d&&(u=f,d=p)}d=1/0;for(var h=0;h<32&&!(c<HU);h++){var v=u-c,g=u+c;hi[0]=yn(e,r,a,v),hi[1]=yn(t,n,i,v);var p=Kc(hi,Mo);if(v>=0&&p<d)u=v,d=p;else{Uf[0]=yn(e,r,a,g),Uf[1]=yn(t,n,i,g);var m=Kc(Uf,Mo);g<=1&&m<d?(u=g,d=m):c*=.5}}return l&&(l[0]=yn(e,r,a,u),l[1]=yn(t,n,i,u)),Yl(d)}function znt(e,t,r,n,a,i,o){for(var s=e,l=t,u=0,c=1/o,d=1;d<=o;d++){var f=d*c,p=yn(e,r,a,f),h=yn(t,n,i,f),v=p-s,g=h-l;u+=Math.sqrt(v*v+g*g),s=p,l=h}return u}var Vnt=/cubic-bezier\(([0-9,\.e ]+)\)/;function Gx(e){var t=e&&Vnt.exec(e);if(t){var r=t[1].split(","),n=+eo(r[0]),a=+eo(r[1]),i=+eo(r[2]),o=+eo(r[3]);if(isNaN(n+a+i+o))return;var s=[];return function(l){return l<=0?0:l>=1?1:a2(0,n,i,1,l,s)&&dn(0,a,o,1,s[0])}}}var Hnt=function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||qr,this.ondestroy=t.ondestroy||qr,this.onrestart=t.onrestart||qr,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var n=this._life,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},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=ft(t)?t:VU[t]||Gx(t)},e}();const Unt=Hnt;var qU=function(){function e(t){this.value=t}return e}(),Gnt=function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new qU(t);return this.insertEntry(r),r},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var r=t.prev,n=t.next;r?r.next=n:this.head=n,n?n.prev=r:this.tail=r,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),Wnt=function(){function e(t){this._list=new Gnt,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){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=r:s=new qU(r),s.key=t,n.insertEntry(s),a[t]=s}return i},e.prototype.get=function(t){var r=this._map[t],n=this._list;if(r!=null)return r!==n.tail&&(n.remove(r),n.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();const Sm=Wnt;var lL={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 io(e){return e=Math.round(e),e<0?0:e>255?255:e}function Knt(e){return e=Math.round(e),e<0?0:e>360?360:e}function Rg(e){return e<0?0:e>1?1:e}function xw(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?io(parseFloat(t)/100*255):io(parseInt(t,10))}function Yc(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Rg(parseFloat(t)/100):Rg(parseFloat(t))}function Aw(e,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?e+(t-e)*r*6:r*2<1?t:r*3<2?e+(t-e)*(2/3-r)*6:e}function $l(e,t,r){return e+(t-e)*r}function oi(e,t,r,n,a){return e[0]=t,e[1]=r,e[2]=n,e[3]=a,e}function FE(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var jU=new Sm(20),b0=null;function Ud(e,t){b0&&FE(b0,t),b0=jU.put(e,b0||t.slice())}function Za(e,t){if(e){t=t||[];var r=jU.get(e);if(r)return FE(t,r);e=e+"";var n=e.replace(/ /g,"").toLowerCase();if(n in lL)return FE(t,lL[n]),Ud(e,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)){oi(t,0,0,0,1);return}return oi(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),Ud(e,t),t}else if(a===7||a===9){var i=parseInt(n.slice(1,7),16);if(!(i>=0&&i<=16777215)){oi(t,0,0,0,1);return}return oi(t,(i&16711680)>>16,(i&65280)>>8,i&255,a===9?parseInt(n.slice(7),16)/255:1),Ud(e,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?oi(t,+u[0],+u[1],+u[2],1):oi(t,0,0,0,1);c=Yc(u.pop());case"rgb":if(u.length>=3)return oi(t,xw(u[0]),xw(u[1]),xw(u[2]),u.length===3?c:Yc(u[3])),Ud(e,t),t;oi(t,0,0,0,1);return;case"hsla":if(u.length!==4){oi(t,0,0,0,1);return}return u[3]=Yc(u[3]),zE(u,t),Ud(e,t),t;case"hsl":if(u.length!==3){oi(t,0,0,0,1);return}return zE(u,t),Ud(e,t),t;default:return}}oi(t,0,0,0,1)}}function zE(e,t){var r=(parseFloat(e[0])%360+360)%360/360,n=Yc(e[1]),a=Yc(e[2]),i=a<=.5?a*(n+1):a+n-a*n,o=a*2-i;return t=t||[],oi(t,io(Aw(o,i,r+1/3)*255),io(Aw(o,i,r)*255),io(Aw(o,i,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function Ynt(e){if(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(t,r,n),i=Math.max(t,r,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,d=((i-r)/6+o/2)/o,f=((i-n)/6+o/2)/o;t===i?l=f-d:r===i?l=1/3+c-f:n===i&&(l=2/3+d-c),l<0&&(l+=1),l>1&&(l-=1)}var p=[l*360,u,s];return e[3]!=null&&p.push(e[3]),p}}function VE(e,t){var r=Za(e);if(r){for(var n=0;n<3;n++)t<0?r[n]=r[n]*(1-t)|0:r[n]=(255-r[n])*t+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return ks(r,r.length===4?"rgba":"rgb")}}function kw(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){r=r||[];var n=e*(t.length-1),a=Math.floor(n),i=Math.ceil(n),o=t[a],s=t[i],l=n-a;return r[0]=io($l(o[0],s[0],l)),r[1]=io($l(o[1],s[1],l)),r[2]=io($l(o[2],s[2],l)),r[3]=Rg($l(o[3],s[3],l)),r}}function qnt(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var n=e*(t.length-1),a=Math.floor(n),i=Math.ceil(n),o=Za(t[a]),s=Za(t[i]),l=n-a,u=ks([io($l(o[0],s[0],l)),io($l(o[1],s[1],l)),io($l(o[2],s[2],l)),Rg($l(o[3],s[3],l))],"rgba");return r?{color:u,leftIndex:a,rightIndex:i,value:n}:u}}function xv(e,t,r,n){var a=Za(e);if(e)return a=Ynt(a),t!=null&&(a[0]=Knt(t)),r!=null&&(a[1]=Yc(r)),n!=null&&(a[2]=Yc(n)),ks(zE(a),"rgba")}function i2(e,t){var r=Za(e);if(r&&t!=null)return r[3]=Rg(t),ks(r,"rgba")}function ks(e,t){if(!(!e||!e.length)){var r=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+e[3]),t+"("+r+")"}}function o2(e,t){var r=Za(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}var s2=Math.round;function Mg(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var r=Za(e);r&&(e="rgb("+r[0]+","+r[1]+","+r[2]+")",t=r[3])}return{color:e,opacity:t??1}}var uL=1e-4;function Bl(e){return e<uL&&e>-uL}function w0(e){return s2(e*1e3)/1e3}function HE(e){return s2(e*1e4)/1e4}function jnt(e){return"matrix("+w0(e[0])+","+w0(e[1])+","+w0(e[2])+","+w0(e[3])+","+HE(e[4])+","+HE(e[5])+")"}var Xnt={left:"start",right:"end",center:"middle",middle:"middle"};function Znt(e,t,r){return r==="top"?e+=t/2:r==="bottom"&&(e-=t/2),e}function Qnt(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function Jnt(e){var t=e.style,r=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function XU(e){return e&&!!e.image}function eat(e){return e&&!!e.svgElement}function Wx(e){return XU(e)||eat(e)}function ZU(e){return e.type==="linear"}function QU(e){return e.type==="radial"}function JU(e){return e&&(e.type==="linear"||e.type==="radial")}function K_(e){return"url(#"+e+")"}function eG(e){var t=e.getGlobalScale(),r=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function tG(e){var t=e.x||0,r=e.y||0,n=(e.rotation||0)*Qy,a=Dt(e.scaleX,1),i=Dt(e.scaleY,1),o=e.skewX||0,s=e.skewY||0,l=[];return(t||r)&&l.push("translate("+t+"px,"+r+"px)"),n&&l.push("rotate("+n+")"),(a!==1||i!==1)&&l.push("scale("+a+","+i+")"),(o||s)&&l.push("skew("+s2(o*Qy)+"deg, "+s2(s*Qy)+"deg)"),l.join(" ")}var tat=function(){return Jt.hasGlobalWindow&&ft(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer<"u"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}}(),UE=Array.prototype.slice;function vs(e,t,r){return(t-e)*r+e}function Iw(e,t,r,n){for(var a=t.length,i=0;i<a;i++)e[i]=vs(t[i],r[i],n);return e}function rat(e,t,r,n){for(var a=t.length,i=a&&t[0].length,o=0;o<a;o++){e[o]||(e[o]=[]);for(var s=0;s<i;s++)e[o][s]=vs(t[o][s],r[o][s],n)}return e}function S0(e,t,r,n){for(var a=t.length,i=0;i<a;i++)e[i]=t[i]+r[i]*n;return e}function cL(e,t,r,n){for(var a=t.length,i=a&&t[0].length,o=0;o<a;o++){e[o]||(e[o]=[]);for(var s=0;s<i;s++)e[o][s]=t[o][s]+r[o][s]*n}return e}function nat(e,t){for(var r=e.length,n=t.length,a=r>n?t:e,i=Math.min(r,n),o=a[i-1]||{color:[0,0,0,0],offset:0},s=i;s<Math.max(r,n);s++)a.push({offset:o.offset,color:o.color.slice()})}function aat(e,t,r){var n=e,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(r===1?a[l]:UE.call(a[l]))}for(var u=n[0]&&n[0].length,l=0;l<n.length;l++)if(r===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 Av(e){if(qn(e)){var t=e.length;if(qn(e[0])){for(var r=[],n=0;n<t;n++)r.push(UE.call(e[n]));return r}return UE.call(e)}return e}function n1(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=e[3]==null?1:e[3],"rgba("+e.join(",")+")"}function iat(e){return qn(e&&e[0])?2:1}var E0=0,a1=1,rG=2,Xh=3,GE=4,WE=5,dL=6;function fL(e){return e===GE||e===WE}function C0(e){return e===a1||e===rG}var mh=[0,0,0,0],oat=function(){function e(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r,n){this._needsSort=!0;var a=this.keyframes,i=a.length,o=!1,s=dL,l=r;if(qn(r)){var u=iat(r);s=u,(u===1&&!tr(r[0])||u===2&&!tr(r[0][0]))&&(o=!0)}else if(tr(r)&&!kg(r))s=E0;else if(et(r))if(!isNaN(+r))s=E0;else{var c=Za(r);c&&(l=c,s=Xh)}else if(U_(r)){var d=Me({},l);d.colorStops=Pe(r.colorStops,function(p){return{offset:p.offset,color:Za(p.color)}}),ZU(r)?s=GE:QU(r)&&(s=WE),l=d}i===0?this.valType=s:(s!==this.valType||s===dL)&&(o=!0),this.discrete=this.discrete||o;var f={time:t,value:l,rawValue:r,percent:0};return n&&(f.easing=n,f.easingFunc=ft(n)?n:VU[n]||Gx(n)),a.push(f),f},e.prototype.prepare=function(t,r){var n=this.keyframes;this._needsSort&&n.sort(function(v,g){return v.time-g.time});for(var a=this.valType,i=n.length,o=n[i-1],s=this.discrete,l=C0(a),u=fL(a),c=0;c<i;c++){var d=n[c],f=d.value,p=o.value;d.percent=d.time/t,s||(l&&c!==i-1?aat(f,p,a):u&&nat(f.colorStops,p.colorStops))}if(!s&&a!==WE&&r&&this.needsAnimate()&&r.needsAnimate()&&a===r.valType&&!r._finished){this._additiveTrack=r;for(var h=n[0].value,c=0;c<i;c++)a===E0?n[c].additiveValue=n[c].value-h:a===Xh?n[c].additiveValue=S0([],n[c].value,h,-1):C0(a)&&(n[c].additiveValue=a===a1?S0([],n[c].value,h,-1):cL([],n[c].value,h,-1))}},e.prototype.step=function(t,r){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===Xh,c,d=this._lastFr,f=Math.min,p,h;if(s===1)p=h=o[0];else{if(r<0)c=0;else if(r<this._lastFrP){var v=f(d+1,s-1);for(c=v;c>=0&&!(o[c].percent<=r);c--);c=f(c,s-2)}else{for(c=d;c<s&&!(o[c].percent>r);c++);c=f(c-1,s-2)}h=o[c+1],p=o[c]}if(p&&h){this._lastFr=c,this._lastFrP=r;var g=h.percent-p.percent,m=g===0?1:f((r-p.percent)/g,1);h.easingFunc&&(m=h.easingFunc(m));var y=n?this._additiveValue:u?mh:t[l];if((C0(i)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=m<1?p.rawValue:h.rawValue;else if(C0(i))i===a1?Iw(y,p[a],h[a],m):rat(y,p[a],h[a],m);else if(fL(i)){var _=p[a],w=h[a],E=i===GE;t[l]={type:E?"linear":"radial",x:vs(_.x,w.x,m),y:vs(_.y,w.y,m),colorStops:Pe(_.colorStops,function(C,T){var x=w.colorStops[T];return{offset:vs(C.offset,x.offset,m),color:n1(Iw([],C.color,x.color,m))}}),global:w.global},E?(t[l].x2=vs(_.x2,w.x2,m),t[l].y2=vs(_.y2,w.y2,m)):t[l].r=vs(_.r,w.r,m)}else if(u)Iw(y,p[a],h[a],m),n||(t[l]=n1(y));else{var S=vs(p[a],h[a],m);n?this._additiveValue=S:t[l]=S}n&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,n=this.propName,a=this._additiveValue;r===E0?t[n]=t[n]+a:r===Xh?(Za(t[n],mh),S0(mh,mh,a,1),t[n]=n1(mh)):r===a1?S0(t[n],t[n],a,1):r===rG&&cL(t[n],t[n],a,1)},e}(),sat=function(){function e(t,r,n,a){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&a){$x("Can' use additive animation on looped animation.");return}this._additiveAnimators=a,this._allowDiscrete=n}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,r,n){return this.whenWithKeys(t,r,Wt(r),n)},e.prototype.whenWithKeys=function(t,r,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 oat(s);var u=void 0,c=this._getAdditiveTrack(s);if(c){var d=c.keyframes,f=d[d.length-1];u=f&&f.value,c.valType===Xh&&u&&(u=n1(u))}else u=this._target[s];if(u==null)continue;t>0&&l.addKeyframe(0,Av(u),a),this._trackKeys.push(s)}l.addKeyframe(t,Av(r[s]),a)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,n=0;n<r;n++)t[n].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,r=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,r)for(var n=0;n<r.length;n++)r[n].call(this)},e.prototype._setTracksFinished=function(){for(var t=this._tracks,r=this._trackKeys,n=0;n<r.length;n++)t[r[n]].setFinished()},e.prototype._getAdditiveTrack=function(t){var r,n=this._additiveAnimators;if(n)for(var a=0;a<n.length;a++){var i=n[a].getTrack(t);i&&(r=i)}return r},e.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var r=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 d=u[c-1];d&&(r._target[s.propName]=d.rawValue),s.setFinished()}else n.push(s)}if(n.length||this._force){var f=new Unt({life:a,loop:this._loop,delay:this._delay||0,onframe:function(p){r._started=2;var h=r._additiveAnimators;if(h){for(var v=!1,g=0;g<h.length;g++)if(h[g]._clip){v=!0;break}v||(r._additiveAnimators=null)}for(var g=0;g<n.length;g++)n[g].step(r._target,p);var m=r._onframeCbs;if(m)for(var g=0;g<m.length;g++)m[g](r._target,p)},ondestroy:function(){r._doneCallback()}});this._clip=f,this.animation&&this.animation.addClip(f),t&&f.setEasing(t)}else this._doneCallback();return this}},e.prototype.stop=function(t){if(this._clip){var r=this._clip;t&&r.onframe(1),this._abortedCallback()}},e.prototype.delay=function(t){return this._delay=t,this},e.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},e.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},e.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(t){return this._tracks[t]},e.prototype.getTracks=function(){var t=this;return Pe(this._trackKeys,function(r){return t._tracks[r]})},e.prototype.stopTracks=function(t,r){if(!t.length||!this._clip)return!0;for(var n=this._tracks,a=this._trackKeys,i=0;i<t.length;i++){var o=n[t[i]];o&&!o.isFinished()&&(r?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},e.prototype.saveTo=function(t,r,n){if(t){r=r||this._trackKeys;for(var a=0;a<r.length;a++){var i=r[a],o=this._tracks[i];if(!(!o||o.isFinished())){var s=o.keyframes,l=s[n?0:s.length-1];l&&(t[i]=Av(l.rawValue))}}}},e.prototype.__changeFinalValue=function(t,r){r=r||Wt(t);for(var n=0;n<r.length;n++){var a=r[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())}}}},e}();const Kx=sat;function xf(){return new Date().getTime()}var lat=function(e){ye(t,e);function t(r){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,r=r||{},n.stage=r.stage||{},n}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},t.prototype.addAnimator=function(r){r.animation=this;var n=r.getClip();n&&this.addClip(n)},t.prototype.removeClip=function(r){if(r.animation){var n=r.prev,a=r.next;n?n.next=a:this._head=a,a?a.prev=n:this._tail=n,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var n=r.getClip();n&&this.removeClip(n),r.animation=null},t.prototype.update=function(r){for(var n=xf()-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,r||(this.trigger("frame",a),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function n(){r._running&&($E(n),!r._paused&&r.update())}$E(n)},t.prototype.start=function(){this._running||(this._time=xf(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=xf(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=xf()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var n=r.next;r.prev=r.next=r.animation=null,r=n}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,n){n=n||{},this.start();var a=new Kx(r,n.loop);return this.addAnimator(a),a},t}($i);const uat=lat;var cat=300,Rw=Jt.domSupported,Mw=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=Pe(e,function(a){var i=a.replace("mouse","pointer");return r.hasOwnProperty(i)?i:a});return{mouse:e,touch:t,pointer:n}}(),pL={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},hL=!1;function KE(e){var t=e.pointerType;return t==="pen"||t==="touch"}function dat(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function Lw(e){e&&(e.zrByTouch=!0)}function fat(e,t){return ui(e.dom,new pat(e,t),!0)}function nG(e,t){for(var r=t,n=!1;r&&r.nodeType!==9&&!(n=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return n}var pat=function(){function e(t,r){this.stopPropagation=qr,this.stopImmediatePropagation=qr,this.preventDefault=qr,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e}(),Ki={mousedown:function(e){e=ui(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=ui(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=ui(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=ui(this.dom,e);var t=e.toElement||e.relatedTarget;nG(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){hL=!0,e=ui(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){hL||(e=ui(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=ui(this.dom,e),Lw(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Ki.mousemove.call(this,e),Ki.mousedown.call(this,e)},touchmove:function(e){e=ui(this.dom,e),Lw(e),this.handler.processGesture(e,"change"),Ki.mousemove.call(this,e)},touchend:function(e){e=ui(this.dom,e),Lw(e),this.handler.processGesture(e,"end"),Ki.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<cat&&Ki.click.call(this,e)},pointerdown:function(e){Ki.mousedown.call(this,e)},pointermove:function(e){KE(e)||Ki.mousemove.call(this,e)},pointerup:function(e){Ki.mouseup.call(this,e)},pointerout:function(e){KE(e)||Ki.mouseout.call(this,e)}};G(["click","dblclick","contextmenu"],function(e){Ki[e]=function(t){t=ui(this.dom,t),this.trigger(e,t)}});var YE={pointermove:function(e){KE(e)||YE.mousemove.call(this,e)},pointerup:function(e){YE.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function hat(e,t){var r=t.domHandlers;Jt.pointerEventsSupported?G(Mw.pointer,function(n){i1(t,n,function(a){r[n].call(e,a)})}):(Jt.touchEventsSupported&&G(Mw.touch,function(n){i1(t,n,function(a){r[n].call(e,a),dat(t)})}),G(Mw.mouse,function(n){i1(t,n,function(a){a=Vx(a),t.touching||r[n].call(e,a)})}))}function vat(e,t){Jt.pointerEventsSupported?G(pL.pointer,r):Jt.touchEventsSupported||G(pL.mouse,r);function r(n){function a(i){i=Vx(i),nG(e,i.target)||(i=fat(e,i),t.domHandlers[n].call(e,i))}i1(t,n,a,{capture:!0})}}function i1(e,t,r,n){e.mounted[t]=r,e.listenerOpts[t]=n,PE(e.domTarget,t,r,n)}function Dw(e){var t=e.mounted;for(var r in t)t.hasOwnProperty(r)&&wnt(e.domTarget,r,t[r],e.listenerOpts[r]);e.mounted={}}var vL=function(){function e(t,r){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=r}return e}(),gat=function(e){ye(t,e);function t(r,n){var a=e.call(this)||this;return a.__pointerCapturing=!1,a.dom=r,a.painterRoot=n,a._localHandlerScope=new vL(r,Ki),Rw&&(a._globalHandlerScope=new vL(document,YE)),hat(a,a._localHandlerScope),a}return t.prototype.dispose=function(){Dw(this._localHandlerScope),Rw&&Dw(this._globalHandlerScope)},t.prototype.setCursor=function(r){this.dom.style&&(this.dom.style.cursor=r||"default")},t.prototype.__togglePointerCapture=function(r){if(this.__mayPointerCapture=null,Rw&&+this.__pointerCapturing^+r){this.__pointerCapturing=r;var n=this._globalHandlerScope;r?vat(this,n):Dw(n)}},t}($i);const mat=gat;var aG=1;Jt.hasGlobalWindow&&(aG=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var l2=aG,qE=.4,jE="#333",XE="#ccc",yat="#eee",gL=W_,mL=5e-5;function Nu(e){return e>mL||e<-mL}var Pu=[],Gd=[],Ow=Ni(),Nw=Math.abs,_at=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Nu(this.rotation)||Nu(this.x)||Nu(this.y)||Nu(this.scaleX-1)||Nu(this.scaleY-1)||Nu(this.skewX)||Nu(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||t)){n&&(gL(n),this.invTransform=null);return}n=n||Ni(),r?this.getLocalTransform(n):gL(n),t&&(r?As(n,t,n):Hx(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(Pu);var n=Pu[0]<0?-1:1,a=Pu[1]<0?-1:1,i=((Pu[0]-n)*r+n)/Pu[0]||0,o=((Pu[1]-a)*r+a)/Pu[1]||0;t[0]*=i,t[1]*=i,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Ni(),Vp(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var r=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],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),r=Math.sqrt(r),this.skewX=i,this.skewY=0,this.rotation=-a,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(As(Gd,t.invTransform,r),r=Gd);var n=this.originX,a=this.originY;(n||a)&&(Ow[4]=n,Ow[5]=a,As(Gd,r,Ow),Gd[4]-=n,Gd[5]-=a,r=Gd),this.setLocalTransform(r)}},e.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,r){var n=[t,r],a=this.invTransform;return a&&Ln(n,n,a),n},e.prototype.transformCoordToGlobal=function(t,r){var n=[t,r],a=this.transform;return a&&Ln(n,n,a),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&Nw(t[0]-1)>1e-10&&Nw(t[3]-1)>1e-10?Math.sqrt(Nw(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){iG(this,t)},e.getLocalTransform=function(t,r){r=r||[];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,d=t.y,f=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||a||s||l){var h=n+s,v=a+l;r[4]=-h*i-f*v*o,r[5]=-v*o-p*h*i}else r[4]=r[5]=0;return r[0]=i,r[3]=o,r[1]=p*i,r[2]=f*o,u&&Id(r,r,u),r[4]+=n+c,r[5]+=a+d,r},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),Qo=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function iG(e,t){for(var r=0;r<Qo.length;r++){var n=Qo[r];e[n]=t[n]}}const ws=_at;var yL={};function Qa(e,t){t=t||iu;var r=yL[t];r||(r=yL[t]=new Sm(500));var n=r.get(e);return n==null&&(n=ou.measureText(e,t).width,r.put(e,n)),n}function _L(e,t,r,n){var a=Qa(e,t),i=Y_(t),o=Zh(0,a,r),s=gf(0,i,n),l=new Pt(o,s,a,i);return l}function Em(e,t,r,n){var a=((e||"")+"").split(`
`),i=a.length;if(i===1)return _L(a[0],t,r,n);for(var o=new Pt(0,0,0,0),s=0;s<a.length;s++){var l=_L(a[s],t,r,n);s===0?o.copy(l):o.union(l)}return o}function Zh(e,t,r){return r==="right"?e-=t:r==="center"&&(e-=t/2),e}function gf(e,t,r){return r==="middle"?e-=t/2:r==="bottom"&&(e-=t),e}function Y_(e){return Qa("国",e)}function uo(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function u2(e,t,r){var n=t.position||"inside",a=t.distance!=null?t.distance:5,i=r.height,o=r.width,s=i/2,l=r.x,u=r.y,c="left",d="top";if(n instanceof Array)l+=uo(n[0],r.width),u+=uo(n[1],r.height),c=null,d=null;else switch(n){case"left":l-=a,u+=s,c="right",d="middle";break;case"right":l+=a+o,u+=s,d="middle";break;case"top":l+=o/2,u-=a,c="center",d="bottom";break;case"bottom":l+=o/2,u+=i+a,c="center";break;case"inside":l+=o/2,u+=s,c="center",d="middle";break;case"insideLeft":l+=a,u+=s,d="middle";break;case"insideRight":l+=o-a,u+=s,c="right",d="middle";break;case"insideTop":l+=o/2,u+=a,c="center";break;case"insideBottom":l+=o/2,u+=i-a,c="center",d="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,d="bottom";break;case"insideBottomRight":l+=o-a,u+=i-a,c="right",d="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=d,e}var Pw="__zr_normal__",$w=Qo.concat(["ignore"]),bat=Xo(Qo,function(e,t){return e[t]=!0,e},{ignore:!1}),Wd={},wat=new Pt(0,0,0,0),Yx=function(){function e(t){this.id=MU(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=t,a[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,a=n.local,i=r.innerTransformable,o=void 0,s=void 0,l=!1;i.parent=a?this:null;var u=!1;if(i.copyTransform(r),n.position!=null){var c=wat;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),a||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Wd,n,c):u2(Wd,n,c),i.x=Wd.x,i.y=Wd.y,o=Wd.align,s=Wd.verticalAlign;var d=n.origin;if(d&&n.rotation!=null){var f=void 0,p=void 0;d==="center"?(f=c.width*.5,p=c.height*.5):(f=uo(d[0],c.width),p=uo(d[1],c.height)),u=!0,i.originX=-i.x+f+(a?0:c.x),i.originY=-i.y+p+(a?0:c.y)}}n.rotation!=null&&(i.rotation=n.rotation);var h=n.offset;h&&(i.x+=h[0],i.y+=h[1],u||(i.originX=-h[0],i.originY=-h[1]));var v=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,_=void 0;v&&this.canBeInsideText()?(m=n.insideFill,y=n.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),_=!0)):(m=n.outsideFill,y=n.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),_=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=y,g.autoStroke=_,g.align=o,g.verticalAlign=s,r.setDefaultTextStyle(g)),r.__dirty|=Wa,l&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?XE:jE},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&Za(r);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,ks(n,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},Me(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(vt(t))for(var n=t,a=Wt(n),i=0;i<a.length;i++){var o=a[i];this.attrKV(o,t[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var r=this._normalState,n=0;n<this.animators.length;n++){var a=this.animators[n],i=a.__fromStateTransition;if(!(a.getLoop()||i&&i!==Pw)){var o=a.targetName,s=o?r[o]:r;a.saveTo(s)}}},e.prototype._innerSaveToNormal=function(t){var r=this._normalState;r||(r=this._normalState={}),t.textConfig&&!r.textConfig&&(r.textConfig=this.textConfig),this._savePrimaryToNormal(t,r,$w)},e.prototype._savePrimaryToNormal=function(t,r,n){for(var a=0;a<n.length;a++){var i=n[a];t[i]!=null&&!(i in r)&&(r[i]=this[i])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var r=this.states;return r[t]||(r[t]={}),r[t]},e.prototype.clearStates=function(t){this.useState(Pw,!1,t)},e.prototype.useState=function(t,r,n,a){var i=t===Pw,o=this.hasState();if(!(!o&&i)){var s=this.currentStates,l=this.stateTransition;if(!(Bt(s,t)>=0&&(r||s.length===1))){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!i){$x("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,r,!n&&!this.__inHover&&l&&l.duration>0,l);var d=this._textContent,f=this._textGuide;return d&&d.useState(t,r,n,c),f&&f.useState(t,r,n,c),i?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Wa),u}}},e.prototype.useStates=function(t,r,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 d=a[o-1],f=!!(d&&d.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0);var p=this._mergeStates(a),h=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(t.join(","),p,this._normalState,!1,!r&&!this.__inHover&&h&&h.duration>0,h);var v=this._textContent,g=this._textGuide;v&&v.useStates(t,r,f),g&&g.useStates(t,r,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Wa)}},e.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var r=this.animators[t];r.targetName&&r.changeTarget(this[r.targetName])}},e.prototype.removeState=function(t){var r=Bt(this.currentStates,t);if(r>=0){var n=this.currentStates.slice();n.splice(r,1),this.useStates(n)}},e.prototype.replaceState=function(t,r,n){var a=this.currentStates.slice(),i=Bt(a,t),o=Bt(a,r)>=0;i>=0?o?a.splice(i,1):a[i]=r:n&&!o&&a.push(r),this.useStates(a)},e.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var r={},n,a=0;a<t.length;a++){var i=t[a];Me(r,i),i.textConfig&&(n=n||{},Me(n,i.textConfig))}return n&&(r.textConfig=n),r},e.prototype._applyStateObj=function(t,r,n,a,i,o){var s=!(r&&a);r&&r.textConfig?(this.textConfig=Me({},a?this.textConfig:n.textConfig),Me(this.textConfig,r.textConfig)):s&&n.textConfig&&(this.textConfig=n.textConfig);for(var l={},u=!1,c=0;c<$w.length;c++){var d=$w[c],f=i&&bat[d];r&&r[d]!=null?f?(u=!0,l[d]=r[d]):this[d]=r[d]:s&&n[d]!=null&&(f?(u=!0,l[d]=n[d]):this[d]=n[d])}if(!i)for(var c=0;c<this.animators.length;c++){var p=this.animators[c],h=p.targetName;p.getLoop()||p.__changeFinalValue(h?(r||n)[h]:r||n)}u&&this._transitionState(t,l,o)},e.prototype._attachComponent=function(t){if(!(t.__zr&&!t.__hostTarget)&&t!==this){var r=this.__zr;r&&t.addSelfToZr(r),t.__zr=r,t.__hostTarget=this}},e.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},e.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(t){var r=this._textContent;r!==t&&(r&&r!==t&&this.removeTextContent(),t.innerTransformable=new ws,this._attachComponent(t),this._textContent=t,this.markRedraw())},e.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),Me(this.textConfig,t),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=Wa;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var r=this._textContent,n=this._textGuide;r&&(r.__inHover=t),n&&(n.__inHover=t)},e.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var r=this.animators;if(r)for(var n=0;n<r.length;n++)t.animation.addAnimator(r[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var r=this.animators;if(r)for(var n=0;n<r.length;n++)t.animation.removeAnimator(r[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},e.prototype.animate=function(t,r,n){var a=t?this[t]:this,i=new Kx(a,r,n);return t&&(i.targetName=t),this.addAnimator(i,t),i},e.prototype.addAnimator=function(t,r){var n=this.__zr,a=this;t.during(function(){a.updateDuringAnimation(r)}).done(function(){var i=a.animators,o=Bt(i,t);o>=0&&i.splice(o,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,r){for(var n=this.animators,a=n.length,i=[],o=0;o<a;o++){var s=n[o];!t||t===s.scope?s.stop(r):i.push(s)}return this.animators=i,this},e.prototype.animateTo=function(t,r,n){Bw(this,t,r,n)},e.prototype.animateFrom=function(t,r,n){Bw(this,t,r,n,!0)},e.prototype._transitionState=function(t,r,n,a){for(var i=Bw(this,r,n,a),o=0;o<i.length;o++)i[o].__fromStateTransition=t},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=Wa;function r(n,a,i,o){Object.defineProperty(t,n,{get:function(){if(!this[a]){var l=this[a]=[];s(this,l)}return this[a]},set:function(l){this[i]=l[0],this[o]=l[1],this[a]=l,s(this,l)}});function s(l,u){Object.defineProperty(u,0,{get:function(){return l[i]},set:function(c){l[i]=c}}),Object.defineProperty(u,1,{get:function(){return l[o]},set:function(c){l[o]=c}})}}Object.defineProperty&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),e}();on(Yx,$i);on(Yx,ws);function Bw(e,t,r,n,a){r=r||{};var i=[];oG(e,"",e,t,r,n,i,a);var o=i.length,s=!1,l=r.done,u=r.aborted,c=function(){s=!0,o--,o<=0&&(s?l&&l():u&&u())},d=function(){o--,o<=0&&(s?l&&l():u&&u())};o||l&&l(),i.length>0&&r.during&&i[0].during(function(h,v){r.during(v)});for(var f=0;f<i.length;f++){var p=i[f];c&&p.done(c),d&&p.aborted(d),r.force&&p.duration(r.duration),p.start(r.easing)}return i}function Fw(e,t,r){for(var n=0;n<r;n++)e[n]=t[n]}function Sat(e){return qn(e[0])}function Eat(e,t,r){if(qn(t[r]))if(qn(e[r])||(e[r]=[]),ei(t[r])){var n=t[r].length;e[r].length!==n&&(e[r]=new t[r].constructor(n),Fw(e[r],t[r],n))}else{var a=t[r],i=e[r],o=a.length;if(Sat(a))for(var s=a[0].length,l=0;l<o;l++)i[l]?Fw(i[l],a[l],s):i[l]=Array.prototype.slice.call(a[l]);else Fw(i,a,o);i.length=a.length}else e[r]=t[r]}function Cat(e,t){return e===t||qn(e)&&qn(t)&&Tat(e,t)}function Tat(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function oG(e,t,r,n,a,i,o,s){for(var l=Wt(n),u=a.duration,c=a.delay,d=a.additive,f=a.setToFinal,p=!vt(i),h=e.animators,v=[],g=0;g<l.length;g++){var m=l[g],y=n[m];if(y!=null&&r[m]!=null&&(p||i[m]))if(vt(y)&&!qn(y)&&!U_(y)){if(t){s||(r[m]=y,e.updateDuringAnimation(t));continue}oG(e,m,r[m],y,a,i&&i[m],o,s)}else v.push(m);else s||(r[m]=y,e.updateDuringAnimation(t),v.push(m))}var _=v.length;if(!d&&_)for(var w=0;w<h.length;w++){var E=h[w];if(E.targetName===t){var S=E.stopTracks(v);if(S){var C=Bt(h,E);h.splice(C,1)}}}if(a.force||(v=ur(v,function(k){return!Cat(n[k],r[k])}),_=v.length),_>0||a.force&&!o.length){var T=void 0,x=void 0,A=void 0;if(s){x={},f&&(T={});for(var w=0;w<_;w++){var m=v[w];x[m]=r[m],f?T[m]=n[m]:r[m]=n[m]}}else if(f){A={};for(var w=0;w<_;w++){var m=v[w];A[m]=Av(r[m]),Eat(r,n,m)}}var E=new Kx(r,!1,!1,d?ur(h,function(R){return R.targetName===t}):null);E.targetName=t,a.scope&&(E.scope=a.scope),f&&T&&E.whenWithKeys(0,T,v),A&&E.whenWithKeys(0,A,v),E.whenWithKeys(u??500,s?x:n,v).delay(c||0),e.addAnimator(E,t),o.push(E)}}const sG=Yx;var lG=function(e){ye(t,e);function t(r){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(r){return this._children[r]},t.prototype.childOfName=function(r){for(var n=this._children,a=0;a<n.length;a++)if(n[a].name===r)return n[a]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(r){return r&&r!==this&&r.parent!==this&&(this._children.push(r),this._doAdd(r)),this},t.prototype.addBefore=function(r,n){if(r&&r!==this&&r.parent!==this&&n&&n.parent===this){var a=this._children,i=a.indexOf(n);i>=0&&(a.splice(i,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,n){var a=Bt(this._children,r);return a>=0&&this.replaceAt(n,a),this},t.prototype.replaceAt=function(r,n){var a=this._children,i=a[n];if(r&&r!==this&&r.parent!==this&&r!==i){a[n]=r,i.parent=null;var o=this.__zr;o&&i.removeSelfFromZr(o),this._doAdd(r)}return this},t.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var n=this.__zr;n&&n!==r.__zr&&r.addSelfToZr(n),n&&n.refresh()},t.prototype.remove=function(r){var n=this.__zr,a=this._children,i=Bt(a,r);return i<0?this:(a.splice(i,1),r.parent=null,n&&r.removeSelfFromZr(n),n&&n.refresh(),this)},t.prototype.removeAll=function(){for(var r=this._children,n=this.__zr,a=0;a<r.length;a++){var i=r[a];n&&i.removeSelfFromZr(n),i.parent=null}return r.length=0,this},t.prototype.eachChild=function(r,n){for(var a=this._children,i=0;i<a.length;i++){var o=a[i];r.call(n,o,i)}return this},t.prototype.traverse=function(r,n){for(var a=0;a<this._children.length;a++){var i=this._children[a],o=r.call(n,i);i.isGroup&&!o&&i.traverse(r,n)}return this},t.prototype.addSelfToZr=function(r){e.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++){var a=this._children[n];a.addSelfToZr(r)}},t.prototype.removeSelfFromZr=function(r){e.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++){var a=this._children[n];a.removeSelfFromZr(r)}},t.prototype.getBoundingRect=function(r){for(var n=new Pt(0,0,0,0),a=r||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?(Pt.applyTransform(n,u,c),o=o||n.clone(),o.union(n)):(o=o||u.clone(),o.union(u))}}return o||n},t}(sG);lG.prototype.type="group";const wt=lG;/*!
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var o1={},uG={};function xat(e){delete uG[e]}function Aat(e){if(!e)return!1;if(typeof e=="string")return o2(e,1)<qE;if(e.colorStops){for(var t=e.colorStops,r=0,n=t.length,a=0;a<n;a++)r+=o2(t[a].color,1);return r/=n,r<qE}return!1}var kat=function(){function e(t,r,n){var a=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=r,this.id=t;var i=new $nt,o=n.renderer||"canvas";o1[o]||(o=Wt(o1)[0]),n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new o1[o](r,i,n,t),l=n.ssr||s.ssrOnly;this.storage=i,this.painter=s;var u=!Jt.node&&!Jt.worker&&!l?new mat(s.getViewportRoot(),s.root):null,c=n.useCoarsePointer,d=c==null||c==="auto"?Jt.touchEventsSupported:!!c,f=44,p;d&&(p=Dt(n.pointerSize,f)),this.handler=new Lnt(i,s,u,s.root,p),this.animation=new uat({stage:{update:l?null:function(){return a._flush(!0)}}}),l||this.animation.start()}return e.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh()},e.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=Aat(t)},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},e.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},e.prototype.flush=function(){this._flush(!1)},e.prototype._flush=function(t){var r,n=xf();this._needsRefresh&&(r=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(r=!0,this.refreshHoverImmediately());var a=xf();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:a-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},e.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this.handler.off(t,r)},e.prototype.trigger=function(t,r){this.handler.trigger(t,r)},e.prototype.clear=function(){for(var t=this.storage.getRoots(),r=0;r<t.length;r++)t[r]instanceof wt&&t[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},e.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,xat(this.id)},e}();function bL(e,t){var r=new kat(MU(),e,t);return uG[r.id]=r,r}function Iat(e,t){o1[e]=t}var wL=1e-4,cG=20;function Rat(e){return e.replace(/^\s+|\s+$/g,"")}function lr(e,t,r,n){var a=t[0],i=t[1],o=r[0],s=r[1],l=i-a,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(n)if(l>0){if(e<=a)return o;if(e>=i)return s}else{if(e>=a)return o;if(e<=i)return s}else{if(e===a)return o;if(e===i)return s}return(e-a)/l*u+o}function Ze(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return et(e)?Rat(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function Vr(e,t,r){return t==null&&(t=10),t=Math.min(Math.max(0,t),cG),e=(+e).toFixed(t),r?e:+e}function Si(e){return e.sort(function(t,r){return t-r}),e}function Po(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(Math.round(e*t)/t===e)return r}return Mat(e)}function Mat(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),n=r>0?+t.slice(r+1):0,a=r>0?r:t.length,i=t.indexOf("."),o=i<0?0:a-1-i;return Math.max(0,o-n)}function dG(e,t){var r=Math.log,n=Math.LN10,a=Math.floor(r(e[1]-e[0])/n),i=Math.round(r(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-a+i,0),20);return isFinite(o)?o:20}function Lat(e,t){var r=Xo(e,function(p,h){return p+(isNaN(h)?0:h)},0);if(r===0)return[];for(var n=Math.pow(10,t),a=Pe(e,function(p){return(isNaN(p)?0:p)/r*n*100}),i=n*100,o=Pe(a,function(p){return Math.floor(p)}),s=Xo(o,function(p,h){return p+h},0),l=Pe(a,function(p,h){return p-o[h]});s<i;){for(var u=Number.NEGATIVE_INFINITY,c=null,d=0,f=l.length;d<f;++d)l[d]>u&&(u=l[d],c=d);++o[c],l[c]=0,++s}return Pe(o,function(p){return p/n})}function Dat(e,t){var r=Math.max(Po(e),Po(t)),n=e+t;return r>cG?n:Vr(n,r)}var SL=9007199254740991;function fG(e){var t=Math.PI*2;return(e%t+t)%t}function c2(e){return e>-wL&&e<wL}var Oat=/^(?:(\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 Jo(e){if(e instanceof Date)return e;if(et(e)){var t=Oat.exec(e);if(!t)return new Date(NaN);if(t[8]){var r=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(r-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,r,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(e==null)return new Date(NaN);return new Date(Math.round(e))}function Nat(e){return Math.pow(10,qx(e))}function qx(e){if(e===0)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function pG(e,t){var r=qx(e),n=Math.pow(10,r),a=e/n,i;return t?a<1.5?i=1:a<2.5?i=2:a<4?i=3:a<7?i=5:i=10:a<1?i=1:a<2?i=2:a<3?i=3:a<5?i=5:i=10,e=i*n,r>=-20?+e.toFixed(r<0?-r:0):e}function zw(e,t){var r=(e.length-1)*t+1,n=Math.floor(r),a=+e[n-1],i=r-n;return i?a+i*(e[n]-a):a}function EL(e){e.sort(function(l,u){return s(l,u,0)?-1:1});for(var t=-1/0,r=1,n=0;n<e.length;){for(var a=e[n].interval,i=e[n].close,o=0;o<2;o++)a[o]<=t&&(a[o]=t,i[o]=o?1:1-r),t=a[o],r=i[o];a[0]===a[1]&&i[0]*i[1]!==1?e.splice(n,1):n++}return e;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 Fs(e){var t=parseFloat(e);return t==e&&(t!==0||!et(e)||e.indexOf("x")<=0)?t:NaN}function hG(e){return!isNaN(Fs(e))}function vG(){return Math.round(Math.random()*9)}function gG(e,t){return t===0?e:gG(t,e%t)}function CL(e,t){return e==null?t:t==null?e:e*t/gG(e,t)}function ar(e){throw new Error(e)}function TL(e,t,r){return(t-e)*r+e}var mG="series\0",yG="\0_ec_\0";function fr(e){return e instanceof Array?e:e==null?[]:[e]}function pd(e,t,r){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var n=0,a=r.length;n<a;n++){var i=r[n];!e.emphasis[t].hasOwnProperty(i)&&e[t].hasOwnProperty(i)&&(e.emphasis[t][i]=e[t][i])}}}var xL=["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 Hp(e){return vt(e)&&!Ne(e)&&!(e instanceof Date)?e.value:e}function Pat(e){return vt(e)&&!(e instanceof Array)}function _G(e,t,r){var n=r==="normalMerge",a=r==="replaceMerge",i=r==="replaceAll";e=e||[],t=(t||[]).slice();var o=lt();G(t,function(l,u){if(!vt(l)){t[u]=null;return}});var s=$at(e,o,r);return(n||a)&&Bat(s,e,o,t),n&&Fat(s,t),n||a?zat(s,t,a):i&&Vat(s,t),Hat(s),s}function $at(e,t,r){var n=[];if(r==="replaceAll")return n;for(var a=0;a<e.length;a++){var i=e[a];i&&i.id!=null&&t.set(i.id,a),n.push({existing:r==="replaceMerge"||Lg(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return n}function Bat(e,t,r,n){G(n,function(a,i){if(!(!a||a.id==null)){var o=kv(a.id),s=r.get(o);if(s!=null){var l=e[s];da(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=a,l.existing=t[s],n[i]=null}}})}function Fat(e,t){G(t,function(r,n){if(!(!r||r.name==null))for(var a=0;a<e.length;a++){var i=e[a].existing;if(!e[a].newOption&&i&&(i.id==null||r.id==null)&&!Lg(r)&&!Lg(i)&&bG("name",i,r)){e[a].newOption=r,t[n]=null;return}}})}function zat(e,t,r){G(t,function(n){if(n){for(var a,i=0;(a=e[i])&&(a.newOption||Lg(a.existing)||a.existing&&n.id!=null&&!bG("id",n,a.existing));)i++;a?(a.newOption=n,a.brandNew=r):e.push({newOption:n,brandNew:r,existing:null,keyInfo:null}),i++}})}function Vat(e,t){G(t,function(r){e.push({newOption:r,brandNew:!0,existing:null,keyInfo:null})})}function Hat(e){var t=lt();G(e,function(r){var n=r.existing;n&&t.set(n.id,r)}),G(e,function(r){var n=r.newOption;da(!n||n.id==null||!t.get(n.id)||t.get(n.id)===r,"id duplicates: "+(n&&n.id)),n&&n.id!=null&&t.set(n.id,r),!r.keyInfo&&(r.keyInfo={})}),G(e,function(r,n){var a=r.existing,i=r.newOption,o=r.keyInfo;if(vt(i)){if(o.name=i.name!=null?kv(i.name):a?a.name:mG+n,a)o.id=kv(a.id);else if(i.id!=null)o.id=kv(i.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(t.get(o.id))}t.set(o.id,r)}})}function bG(e,t,r){var n=ln(t[e],null),a=ln(r[e],null);return n!=null&&a!=null&&n===a}function kv(e){return ln(e,"")}function ln(e,t){return e==null?t:et(e)?e:tr(e)||IE(e)?e+"":t}function jx(e){var t=e.name;return!!(t&&t.indexOf(mG))}function Lg(e){return e&&e.id!=null&&kv(e.id).indexOf(yG)===0}function Uat(e){return yG+e}function Gat(e,t,r){G(e,function(n){var a=n.newOption;vt(a)&&(n.keyInfo.mainType=t,n.keyInfo.subType=Wat(t,a,n.existing,r))})}function Wat(e,t,r,n){var a=t.type?t.type:r?r.subType:n.determineSubType(e,t);return a}function Kat(e,t){var r={},n={};return a(e||[],r),a(t||[],n,r),[i(r),i(n)];function a(o,s,l){for(var u=0,c=o.length;u<c;u++){var d=ln(o[u].seriesId,null);if(d==null)return;for(var f=fr(o[u].dataIndex),p=l&&l[d],h=0,v=f.length;h<v;h++){var g=f[h];p&&p[g]?p[g]=null:(s[d]||(s[d]={}))[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 hd(e,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return Ne(t.dataIndex)?Pe(t.dataIndex,function(r){return e.indexOfRawIndex(r)}):e.indexOfRawIndex(t.dataIndex);if(t.name!=null)return Ne(t.name)?Pe(t.name,function(r){return e.indexOfName(r)}):e.indexOfName(t.name)}function Zt(){var e="__ec_inner_"+Yat++;return function(t){return t[e]||(t[e]={})}}var Yat=vG();function Iv(e,t,r){var n=Xx(t,r),a=n.mainTypeSpecified,i=n.queryOptionMap,o=n.others,s=o,l=r?r.defaultMainType:null;return!a&&l&&i.set(l,{}),i.each(function(u,c){var d=Cm(e,c,u,{useDefault:l===c,enableAll:r&&r.enableAll!=null?r.enableAll:!0,enableNone:r&&r.enableNone!=null?r.enableNone:!0});s[c+"Models"]=d.models,s[c+"Model"]=d.models[0]}),s}function Xx(e,t){var r;if(et(e)){var n={};n[e+"Index"]=0,r=n}else r=e;var a=lt(),i={},o=!1;return G(r,function(s,l){if(l==="dataIndex"||l==="dataIndexInside"){i[l]=s;return}var u=l.match(/^(\w+)(Index|Id|Name)$/)||[],c=u[1],d=(u[2]||"").toLowerCase();if(!(!c||!d||t&&t.includeMainTypes&&Bt(t.includeMainTypes,c)<0)){o=o||!!c;var f=a.get(c)||a.set(c,{});f[d]=s}}),{mainTypeSpecified:o,queryOptionMap:a,others:i}}var en={useDefault:!0,enableAll:!1,enableNone:!1},qat={useDefault:!1,enableAll:!0,enableNone:!0};function Cm(e,t,r,n){n=n||en;var a=r.index,i=r.id,o=r.name,s={models:null,specified:a!=null||i!=null||o!=null};if(!s.specified){var l=void 0;return s.models=n.useDefault&&(l=e.getComponent(t))?[l]:[],s}return a==="none"||a===!1?(da(n.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):(a==="all"&&(da(n.enableAll,'`"all"` is not a valid value on index option.'),a=i=o=null),s.models=e.queryComponents({mainType:t,index:a,id:i,name:o}),s)}function wG(e,t,r){e.setAttribute?e.setAttribute(t,r):e[t]=r}function jat(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function Xat(e){return e==="auto"?Jt.domSupported?"html":"richText":e||"html"}function ZE(e,t){var r=lt(),n=[];return G(e,function(a){var i=t(a);(r.get(i)||(n.push(i),r.set(i,[]))).push(a)}),{keys:n,buckets:r}}function SG(e,t,r,n,a){var i=t==null||t==="auto";if(n==null)return n;if(tr(n)){var o=TL(r||0,n,a);return Vr(o,i?Math.max(Po(r||0),Po(n)):t)}else{if(et(n))return a<1?r:n;for(var s=[],l=r,u=n,c=Math.max(l?l.length:0,u.length),d=0;d<c;++d){var f=e.getDimensionInfo(d);if(f&&f.type==="ordinal")s[d]=(a<1&&l?l:u)[d];else{var p=l&&l[d]?l[d]:0,h=u[d],o=TL(p,h,a);s[d]=Vr(o,i?Math.max(Po(p),Po(h)):t)}}return s}}var Zat=".",$u="___EC__COMPONENT__CONTAINER___",EG="___EC__EXTENDED_CLASS___";function $o(e){var t={main:"",sub:""};if(e){var r=e.split(Zat);t.main=r[0]||"",t.sub=r[1]||""}return t}function Qat(e){da(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function Jat(e){return!!(e&&e[EG])}function Zx(e,t){e.$constructor=e,e.extend=function(r){var n=this,a;return eit(n)?a=function(i){ye(o,i);function o(){return i.apply(this,arguments)||this}return o}(n):(a=function(){(r.$constructor||n).apply(this,arguments)},Qrt(a,this)),Me(a.prototype,r),a[EG]=!0,a.extend=this.extend,a.superCall=nit,a.superApply=ait,a.superClass=n,a}}function eit(e){return ft(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function CG(e,t){e.extend=t.extend}var tit=Math.round(Math.random()*10);function rit(e){var t=["__\0is_clz",tit++].join("_");e.prototype[t]=!0,e.isInstance=function(r){return!!(r&&r[t])}}function nit(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return this.superClass.prototype[t].apply(e,r)}function ait(e,t,r){return this.superClass.prototype[t].apply(e,r)}function q_(e){var t={};e.registerClass=function(n){var a=n.type||n.prototype.type;if(a){Qat(a),n.prototype.type=a;var i=$o(a);if(!i.sub)t[i.main]=n;else if(i.sub!==$u){var o=r(i);o[i.sub]=n}}return n},e.getClass=function(n,a,i){var o=t[n];if(o&&o[$u]&&(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},e.getClassesByMainType=function(n){var a=$o(n),i=[],o=t[a.main];return o&&o[$u]?G(o,function(s,l){l!==$u&&i.push(s)}):i.push(o),i},e.hasClass=function(n){var a=$o(n);return!!t[a.main]},e.getAllClassMainTypes=function(){var n=[];return G(t,function(a,i){n.push(i)}),n},e.hasSubTypes=function(n){var a=$o(n),i=t[a.main];return i&&i[$u]};function r(n){var a=t[n.main];return(!a||!a[$u])&&(a=t[n.main]={},a[$u]=!0),a}}function vd(e,t){for(var r=0;r<e.length;r++)e[r][1]||(e[r][1]=e[r][0]);return t=t||!1,function(n,a,i){for(var o={},s=0;s<e.length;s++){var l=e[s][1];if(!(a&&Bt(a,l)>=0||i&&Bt(i,l)<0)){var u=n.getShallow(l,t);u!=null&&(o[e[s][0]]=u)}}return o}}var iit=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],oit=vd(iit),sit=function(){function e(){}return e.prototype.getAreaStyle=function(t,r){return oit(this,t,r)},e}(),QE=new Sm(50);function lit(e){if(typeof e=="string"){var t=QE.get(e);return t&&t.image}else return e}function Qx(e,t,r,n,a){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!r)return t;var i=QE.get(e),o={hostEl:r,cb:n,cbPayload:a};return i?(t=i.image,!j_(t)&&i.pending.push(o)):(t=ou.loadImage(e,AL,AL),t.__zrImageSrc=e,QE.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function AL(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var r=e.pending[t],n=r.cb;n&&n(this,r.cbPayload),r.hostEl.dirty()}e.pending.length=0}function j_(e){return e&&e.width&&e.height}var Vw=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function uit(e,t,r,n,a){if(!t)return"";var i=(e+"").split(`
`);a=TG(t,r,n,a);for(var o=0,s=i.length;o<s;o++)i[o]=xG(i[o],a);return i.join(`
`)}function TG(e,t,r,n){n=n||{};var a=Me({},n);a.font=t,r=Dt(r,"..."),a.maxIterations=Dt(n.maxIterations,2);var i=a.minChar=Dt(n.minChar,0);a.cnCharWidth=Qa("国",t);var o=a.ascCharWidth=Qa("a",t);a.placeholder=Dt(n.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<i&&s>=o;l++)s-=o;var u=Qa(r,t);return u>s&&(r="",u=0),s=e-u,a.ellipsis=r,a.ellipsisWidth=u,a.contentWidth=s,a.containerWidth=e,a}function xG(e,t){var r=t.containerWidth,n=t.font,a=t.contentWidth;if(!r)return"";var i=Qa(e,n);if(i<=r)return e;for(var o=0;;o++){if(i<=a||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?cit(e,a,t.ascCharWidth,t.cnCharWidth):i>0?Math.floor(e.length*a/i):0;e=e.substr(0,s),i=Qa(e,n)}return e===""&&(e=t.placeholder),e}function cit(e,t,r,n){for(var a=0,i=0,o=e.length;i<o&&a<t;i++){var s=e.charCodeAt(i);a+=0<=s&&s<=127?r:n}return i}function dit(e,t){e!=null&&(e+="");var r=t.overflow,n=t.padding,a=t.font,i=r==="truncate",o=Y_(a),s=Dt(t.lineHeight,o),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",c=t.width,d;c!=null&&(r==="break"||r==="breakAll")?d=e?AG(e,t.font,c,r==="breakAll",0).lines:[]:d=e?e.split(`
`):[];var f=d.length*s,p=Dt(t.height,f);if(f>p&&u){var h=Math.floor(p/s);d=d.slice(0,h)}if(e&&i&&c!=null)for(var v=TG(c,a,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;g<d.length;g++)d[g]=xG(d[g],v);for(var m=p,y=0,g=0;g<d.length;g++)y=Math.max(Qa(d[g],a),y);c==null&&(c=y);var _=y;return n&&(m+=n[0]+n[2],_+=n[1]+n[3],c+=n[1]+n[3]),l&&(_=c),{lines:d,height:p,outerWidth:_,outerHeight:m,lineHeight:s,calculatedLineHeight:o,contentWidth:y,contentHeight:f,width:c}}var fit=function(){function e(){}return e}(),kL=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),pit=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function hit(e,t){var r=new pit;if(e!=null&&(e+=""),!e)return r;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=Vw.lastIndex=0,l;(l=Vw.exec(e))!=null;){var u=l.index;u>s&&Hw(r,e.substring(s,u),t,o),Hw(r,l[2],t,o,l[1]),s=Vw.lastIndex}s<e.length&&Hw(r,e.substring(s,e.length),t,o);var c=[],d=0,f=0,p=t.padding,h=i==="truncate",v=t.lineOverflow==="truncate";function g(F,D,H){F.width=D,F.lineHeight=H,d+=H,f=Math.max(f,D)}e:for(var m=0;m<r.lines.length;m++){for(var y=r.lines[m],_=0,w=0,E=0;E<y.tokens.length;E++){var S=y.tokens[E],C=S.styleName&&t.rich[S.styleName]||{},T=S.textPadding=C.padding,x=T?T[1]+T[3]:0,A=S.font=C.font||t.font;S.contentHeight=Y_(A);var k=Dt(C.height,S.contentHeight);if(S.innerHeight=k,T&&(k+=T[0]+T[2]),S.height=k,S.lineHeight=Ho(C.lineHeight,t.lineHeight,k),S.align=C&&C.align||t.align,S.verticalAlign=C&&C.verticalAlign||"middle",v&&a!=null&&d+S.lineHeight>a){E>0?(y.tokens=y.tokens.slice(0,E),g(y,w,_),r.lines=r.lines.slice(0,m+1)):r.lines=r.lines.slice(0,m);break e}var R=C.width,M=R==null||R==="auto";if(typeof R=="string"&&R.charAt(R.length-1)==="%")S.percentWidth=R,c.push(S),S.contentWidth=Qa(S.text,A);else{if(M){var O=C.backgroundColor,z=O&&O.image;z&&(z=lit(z),j_(z)&&(S.width=Math.max(S.width,z.width*k/z.height)))}var B=h&&n!=null?n-w:null;B!=null&&B<S.width?!M||B<x?(S.text="",S.width=S.contentWidth=0):(S.text=uit(S.text,B-x,A,t.ellipsis,{minChar:t.truncateMinChar}),S.width=S.contentWidth=Qa(S.text,A)):S.contentWidth=Qa(S.text,A)}S.width+=x,w+=S.width,C&&(_=Math.max(_,S.lineHeight))}g(y,w,_)}r.outerWidth=r.width=Dt(n,f),r.outerHeight=r.height=Dt(a,d),r.contentHeight=d,r.contentWidth=f,p&&(r.outerWidth+=p[1]+p[3],r.outerHeight+=p[0]+p[2]);for(var m=0;m<c.length;m++){var S=c[m],P=S.percentWidth;S.width=parseInt(P,10)/100*r.width}return r}function Hw(e,t,r,n,a){var i=t==="",o=a&&r.rich[a]||{},s=e.lines,l=o.font||r.font,u=!1,c,d;if(n){var f=o.padding,p=f?f[1]+f[3]:0;if(o.width!=null&&o.width!=="auto"){var h=uo(o.width,n.width)+p;s.length>0&&h+n.accumWidth>n.width&&(c=t.split(`
`),u=!0),n.accumWidth=h}else{var v=AG(t,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=v.accumWidth+p,d=v.linesWidths,c=v.lines}}else c=t.split(`
`);for(var g=0;g<c.length;g++){var m=c[g],y=new fit;if(y.styleName=a,y.text=m,y.isLineHolder=!m&&!i,typeof o.width=="number"?y.width=o.width:y.width=d?d[g]:Qa(m,l),!g&&!u){var _=(s[s.length-1]||(s[0]=new kL)).tokens,w=_.length;w===1&&_[0].isLineHolder?_[0]=y:(m||!w||i)&&_.push(y)}else s.push(new kL([y]))}}function vit(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var git=Xo(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function mit(e){return vit(e)?!!git[e]:!0}function AG(e,t,r,n,a){for(var i=[],o=[],s="",l="",u=0,c=0,d=0;d<e.length;d++){var f=e.charAt(d);if(f===`
`){l&&(s+=l,c+=u),i.push(s),o.push(c),s="",l="",u=0,c=0;continue}var p=Qa(f,t),h=n?!1:!mit(f);if(i.length?c+p>r:a+c+p>r){c?(s||l)&&(h?(s||(s=l,l="",u=0,c=u),i.push(s),o.push(c-u),l+=f,u+=p,s="",c=u):(l&&(s+=l,l="",u=0),i.push(s),o.push(c),s=f,c=p)):h?(i.push(l),o.push(u),l=f,u=p):(i.push(f),o.push(p));continue}c+=p,h?(l+=f,u+=p):(l&&(s+=l,l="",u=0),s+=f)}return!i.length&&!s&&(s=e,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 JE="__zr_style_"+Math.round(Math.random()*10),qc={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},X_={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};qc[JE]=!0;var IL=["z","z2","invisible"],yit=["invisible"],_it=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=Wt(r),a=0;a<n.length;a++){var i=n[a];i==="style"?this.useStyle(r[i]):e.prototype.attrKV.call(this,i,r[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(r,n,a,i){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&bit(this,r,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(r,n){return this.rectContain(r,n)},t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.rectContain=function(r,n){var a=this.transformCoordToLocal(r,n),i=this.getBoundingRect();return i.contain(a[0],a[1])},t.prototype.getPaintRect=function(){var r=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;r=this._paintRect||(this._paintRect=new Pt(0,0,0,0)),n?Pt.applyTransform(r,a,n):r.copy(a),(o||s||l)&&(r.width+=o*2+Math.abs(s),r.height+=o*2+Math.abs(l),r.x=Math.min(r.x,r.x+s-o),r.y=Math.min(r.y,r.y+l-o));var u=this.dirtyRectTolerance;r.isZero()||(r.x=Math.floor(r.x-u),r.y=Math.floor(r.y-u),r.width=Math.ceil(r.width+1+u*2),r.height=Math.ceil(r.height+1+u*2))}return r},t.prototype.setPrevPaintRect=function(r){r?(this._prevPaintRect=this._prevPaintRect||new Pt(0,0,0,0),this._prevPaintRect.copy(r)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(r){return this.animate("style",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(r,n){r!=="style"?e.prototype.attrKV.call(this,r,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(r,n){return typeof r=="string"?this.style[r]=n:Me(this.style,r),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(r){r||this.markRedraw(),this.__dirty|=jh,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&jh)},t.prototype.styleUpdated=function(){this.__dirty&=~jh},t.prototype.createStyle=function(r){return G_(qc,r)},t.prototype.useStyle=function(r){r[JE]||(r=this.createStyle(r)),this.__inHover?this.__hoverStyle=r:this.style=r,this.dirtyStyle()},t.prototype.isStyleObject=function(r){return r[JE]},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(r,n,IL)},t.prototype._applyStateObj=function(r,n,a,i,o,s){e.prototype._applyStateObj.call(this,r,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 d=Wt(c),f=0;f<d.length;f++){var p=d[f];p in u&&(u[p]=u[p],this.style[p]=c[p])}for(var h=Wt(u),f=0;f<h.length;f++){var p=h[f];this.style[p]=this.style[p]}this._transitionState(r,{style:u},s,this.getAnimationStyleProps())}else this.useStyle(u);for(var v=this.__inHover?yit:IL,f=0;f<v.length;f++){var p=v[f];n&&n[p]!=null?this[p]=n[p]:l&&a[p]!=null&&(this[p]=a[p])}},t.prototype._mergeStates=function(r){for(var n=e.prototype._mergeStates.call(this,r),a,i=0;i<r.length;i++){var o=r[i];o.style&&(a=a||{},this._mergeStyle(a,o.style))}return a&&(n.style=a),n},t.prototype._mergeStyle=function(r,n){return Me(r,n),r},t.prototype.getAnimationStyleProps=function(){return X_},t.initDefaultProps=function(){var r=t.prototype;r.type="displayable",r.invisible=!1,r.z=0,r.z2=0,r.zlevel=0,r.culling=!1,r.cursor="pointer",r.rectHover=!1,r.incremental=!1,r._rect=null,r.dirtyRectTolerance=0,r.__dirty=Wa|jh}(),t}(sG),Uw=new Pt(0,0,0,0),Gw=new Pt(0,0,0,0);function bit(e,t,r){return Uw.copy(e.getBoundingRect()),e.transform&&Uw.applyTransform(e.transform),Gw.width=t,Gw.height=r,!Uw.intersect(Gw)}const Pi=_it;var ba=Math.min,wa=Math.max,Ww=Math.sin,Kw=Math.cos,Bu=Math.PI*2,T0=kd(),x0=kd(),A0=kd();function Z_(e,t,r){if(e.length!==0){for(var n=e[0],a=n[0],i=n[0],o=n[1],s=n[1],l=1;l<e.length;l++)n=e[l],a=ba(a,n[0]),i=wa(i,n[0]),o=ba(o,n[1]),s=wa(s,n[1]);t[0]=a,t[1]=o,r[0]=i,r[1]=s}}function RL(e,t,r,n,a,i){a[0]=ba(e,r),a[1]=ba(t,n),i[0]=wa(e,r),i[1]=wa(t,n)}var ML=[],LL=[];function wit(e,t,r,n,a,i,o,s,l,u){var c=GU,d=dn,f=c(e,r,a,o,ML);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var p=0;p<f;p++){var h=d(e,r,a,o,ML[p]);l[0]=ba(h,l[0]),u[0]=wa(h,u[0])}f=c(t,n,i,s,LL);for(var p=0;p<f;p++){var v=d(t,n,i,s,LL[p]);l[1]=ba(v,l[1]),u[1]=wa(v,u[1])}l[0]=ba(e,l[0]),u[0]=wa(e,u[0]),l[0]=ba(o,l[0]),u[0]=wa(o,u[0]),l[1]=ba(t,l[1]),u[1]=wa(t,u[1]),l[1]=ba(s,l[1]),u[1]=wa(s,u[1])}function Sit(e,t,r,n,a,i,o,s){var l=KU,u=yn,c=wa(ba(l(e,r,a),1),0),d=wa(ba(l(t,n,i),1),0),f=u(e,r,a,c),p=u(t,n,i,d);o[0]=ba(e,a,f),o[1]=ba(t,i,p),s[0]=wa(e,a,f),s[1]=wa(t,i,p)}function Eit(e,t,r,n,a,i,o,s,l){var u=Ol,c=Nl,d=Math.abs(a-i);if(d%Bu<1e-4&&d>1e-4){s[0]=e-r,s[1]=t-n,l[0]=e+r,l[1]=t+n;return}if(T0[0]=Kw(a)*r+e,T0[1]=Ww(a)*n+t,x0[0]=Kw(i)*r+e,x0[1]=Ww(i)*n+t,u(s,T0,x0),c(l,T0,x0),a=a%Bu,a<0&&(a=a+Bu),i=i%Bu,i<0&&(i=i+Bu),a>i&&!o?i+=Bu:a<i&&o&&(a+=Bu),o){var f=i;i=a,a=f}for(var p=0;p<i;p+=Math.PI/2)p>a&&(A0[0]=Kw(p)*r+e,A0[1]=Ww(p)*n+t,u(s,A0,s),c(l,A0,l))}var pr={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Fu=[],zu=[],_o=[],ol=[],bo=[],wo=[],Yw=Math.min,qw=Math.max,Vu=Math.cos,Hu=Math.sin,ls=Math.abs,e6=Math.PI,_l=e6*2,jw=typeof Float32Array<"u",yh=[];function Xw(e){var t=Math.round(e/e6*1e8)/1e8;return t%2*e6}function kG(e,t){var r=Xw(e[0]);r<0&&(r+=_l);var n=r-e[0],a=e[1];a+=n,!t&&a-r>=_l?a=r+_l:t&&r-a>=_l?a=r-_l:!t&&r>a?a=r+(_l-Xw(r-a)):t&&r<a&&(a=r-(_l-Xw(a-r))),e[0]=r,e[1]=a}var Cit=function(){function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,r,n){n=n||0,n>0&&(this._ux=ls(n/l2/t)||0,this._uy=ls(n/l2/r)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(pr.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},e.prototype.lineTo=function(t,r){var n=ls(t-this._xi),a=ls(r-this._yi),i=n>this._ux||a>this._uy;if(this.addData(pr.L,t,r),this._ctx&&i&&this._ctx.lineTo(t,r),i)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var o=n*n+a*a;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,r,n,a,i,o){return this._drawPendingPt(),this.addData(pr.C,t,r,n,a,i,o),this._ctx&&this._ctx.bezierCurveTo(t,r,n,a,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,r,n,a){return this._drawPendingPt(),this.addData(pr.Q,t,r,n,a),this._ctx&&this._ctx.quadraticCurveTo(t,r,n,a),this._xi=n,this._yi=a,this},e.prototype.arc=function(t,r,n,a,i,o){this._drawPendingPt(),yh[0]=a,yh[1]=i,kG(yh,o),a=yh[0],i=yh[1];var s=i-a;return this.addData(pr.A,t,r,n,n,a,s,0,o?0:1),this._ctx&&this._ctx.arc(t,r,n,a,i,o),this._xi=Vu(i)*n+t,this._yi=Hu(i)*n+r,this},e.prototype.arcTo=function(t,r,n,a,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,n,a,i),this},e.prototype.rect=function(t,r,n,a){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,n,a),this.addData(pr.R,t,r,n,a),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(pr.Z);var t=this._ctx,r=this._x0,n=this._y0;return t&&t.closePath(),this._xi=r,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var r=t.length;!(this.data&&this.data.length===r)&&jw&&(this.data=new Float32Array(r));for(var n=0;n<r;n++)this.data[n]=t[n];this._len=r},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var r=t.length,n=0,a=this._len,i=0;i<r;i++)n+=t[i].len();jw&&this.data instanceof Float32Array&&(this.data=new Float32Array(a+n));for(var i=0;i<r;i++)for(var o=t[i].data,s=0;s<o.length;s++)this.data[a++]=o[s];this._len=a},e.prototype.addData=function(t,r,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 d=0;d<arguments.length;d++)c[this._len++]=arguments[d]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r<this._len;r++)t[r]=this.data[r];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,jw&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){_o[0]=_o[1]=bo[0]=bo[1]=Number.MAX_VALUE,ol[0]=ol[1]=wo[0]=wo[1]=-Number.MAX_VALUE;var t=this.data,r=0,n=0,a=0,i=0,o;for(o=0;o<this._len;){var s=t[o++],l=o===1;switch(l&&(r=t[o],n=t[o+1],a=r,i=n),s){case pr.M:r=a=t[o++],n=i=t[o++],bo[0]=a,bo[1]=i,wo[0]=a,wo[1]=i;break;case pr.L:RL(r,n,t[o],t[o+1],bo,wo),r=t[o++],n=t[o++];break;case pr.C:wit(r,n,t[o++],t[o++],t[o++],t[o++],t[o],t[o+1],bo,wo),r=t[o++],n=t[o++];break;case pr.Q:Sit(r,n,t[o++],t[o++],t[o],t[o+1],bo,wo),r=t[o++],n=t[o++];break;case pr.A:var u=t[o++],c=t[o++],d=t[o++],f=t[o++],p=t[o++],h=t[o++]+p;o+=1;var v=!t[o++];l&&(a=Vu(p)*d+u,i=Hu(p)*f+c),Eit(u,c,d,f,p,h,v,bo,wo),r=Vu(h)*d+u,n=Hu(h)*f+c;break;case pr.R:a=r=t[o++],i=n=t[o++];var g=t[o++],m=t[o++];RL(a,i,a+g,i+m,bo,wo);break;case pr.Z:r=a,n=i;break}Ol(_o,_o,bo),Nl(ol,ol,wo)}return o===0&&(_o[0]=_o[1]=ol[0]=ol[1]=0),new Pt(_o[0],_o[1],ol[0]-_o[0],ol[1]-_o[1])},e.prototype._calculateLength=function(){var t=this.data,r=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,d=0,f=0;f<r;){var p=t[f++],h=f===1;h&&(i=t[f],o=t[f+1],s=i,l=o);var v=-1;switch(p){case pr.M:i=s=t[f++],o=l=t[f++];break;case pr.L:{var g=t[f++],m=t[f++],y=g-i,_=m-o;(ls(y)>n||ls(_)>a||f===r-1)&&(v=Math.sqrt(y*y+_*_),i=g,o=m);break}case pr.C:{var w=t[f++],E=t[f++],g=t[f++],m=t[f++],S=t[f++],C=t[f++];v=Bnt(i,o,w,E,g,m,S,C,10),i=S,o=C;break}case pr.Q:{var w=t[f++],E=t[f++],g=t[f++],m=t[f++];v=znt(i,o,w,E,g,m,10),i=g,o=m;break}case pr.A:var T=t[f++],x=t[f++],A=t[f++],k=t[f++],R=t[f++],M=t[f++],O=M+R;f+=1,t[f++],h&&(s=Vu(R)*A+T,l=Hu(R)*k+x),v=qw(A,k)*Yw(_l,Math.abs(M)),i=Vu(O)*A+T,o=Hu(O)*k+x;break;case pr.R:{s=i=t[f++],l=o=t[f++];var z=t[f++],B=t[f++];v=z*2+B*2;break}case pr.Z:{var y=s-i,_=l-o;v=Math.sqrt(y*y+_*_),i=s,o=l;break}}v>=0&&(u[d++]=v,c+=v)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,r){var n=this.data,a=this._ux,i=this._uy,o=this._len,s,l,u,c,d,f,p=r<1,h,v,g=0,m=0,y,_=0,w,E;if(!(p&&(this._pathSegLen||this._calculateLength(),h=this._pathSegLen,v=this._pathLen,y=r*v,!y)))e:for(var S=0;S<o;){var C=n[S++],T=S===1;switch(T&&(u=n[S],c=n[S+1],s=u,l=c),C!==pr.L&&_>0&&(t.lineTo(w,E),_=0),C){case pr.M:s=u=n[S++],l=c=n[S++],t.moveTo(u,c);break;case pr.L:{d=n[S++],f=n[S++];var x=ls(d-u),A=ls(f-c);if(x>a||A>i){if(p){var k=h[m++];if(g+k>y){var R=(y-g)/k;t.lineTo(u*(1-R)+d*R,c*(1-R)+f*R);break e}g+=k}t.lineTo(d,f),u=d,c=f,_=0}else{var M=x*x+A*A;M>_&&(w=d,E=f,_=M)}break}case pr.C:{var O=n[S++],z=n[S++],B=n[S++],P=n[S++],F=n[S++],D=n[S++];if(p){var k=h[m++];if(g+k>y){var R=(y-g)/k;su(u,O,B,F,R,Fu),su(c,z,P,D,R,zu),t.bezierCurveTo(Fu[1],zu[1],Fu[2],zu[2],Fu[3],zu[3]);break e}g+=k}t.bezierCurveTo(O,z,B,P,F,D),u=F,c=D;break}case pr.Q:{var O=n[S++],z=n[S++],B=n[S++],P=n[S++];if(p){var k=h[m++];if(g+k>y){var R=(y-g)/k;Ig(u,O,B,R,Fu),Ig(c,z,P,R,zu),t.quadraticCurveTo(Fu[1],zu[1],Fu[2],zu[2]);break e}g+=k}t.quadraticCurveTo(O,z,B,P),u=B,c=P;break}case pr.A:var H=n[S++],K=n[S++],Y=n[S++],X=n[S++],J=n[S++],fe=n[S++],se=n[S++],q=!n[S++],j=Y>X?Y:X,ae=ls(Y-X)>.001,ne=J+fe,le=!1;if(p){var k=h[m++];g+k>y&&(ne=J+fe*(y-g)/k,le=!0),g+=k}if(ae&&t.ellipse?t.ellipse(H,K,Y,X,se,J,ne,q):t.arc(H,K,j,J,ne,q),le)break e;T&&(s=Vu(J)*Y+H,l=Hu(J)*X+K),u=Vu(ne)*Y+H,c=Hu(ne)*X+K;break;case pr.R:s=u=n[S],l=c=n[S+1],d=n[S++],f=n[S++];var W=n[S++],Z=n[S++];if(p){var k=h[m++];if(g+k>y){var ie=y-g;t.moveTo(d,f),t.lineTo(d+Yw(ie,W),f),ie-=W,ie>0&&t.lineTo(d+W,f+Yw(ie,Z)),ie-=Z,ie>0&&t.lineTo(d+qw(W-ie,0),f+Z),ie-=W,ie>0&&t.lineTo(d,f+qw(Z-ie,0));break e}g+=k}t.rect(d,f,W,Z);break;case pr.Z:if(p){var k=h[m++];if(g+k>y){var R=(y-g)/k;t.lineTo(u*(1-R)+s*R,c*(1-R)+l*R);break e}g+=k}t.closePath(),u=s,c=l}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.CMD=pr,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();const es=Cit;function Cl(e,t,r,n,a,i,o){if(a===0)return!1;var s=a,l=0,u=e;if(o>t+s&&o>n+s||o<t-s&&o<n-s||i>e+s&&i>r+s||i<e-s&&i<r-s)return!1;if(e!==r)l=(t-n)/(e-r),u=(e*n-r*t)/(e-r);else return Math.abs(i-e)<=s/2;var c=l*i-o+u,d=c*c/(l*l+1);return d<=s/2*s/2}function Tit(e,t,r,n,a,i,o,s,l,u,c){if(l===0)return!1;var d=l;if(c>t+d&&c>n+d&&c>i+d&&c>s+d||c<t-d&&c<n-d&&c<i-d&&c<s-d||u>e+d&&u>r+d&&u>a+d&&u>o+d||u<e-d&&u<r-d&&u<a-d&&u<o-d)return!1;var f=WU(e,t,r,n,a,i,o,s,u,c,null);return f<=d/2}function IG(e,t,r,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>e+u&&s>r+u&&s>a+u||s<e-u&&s<r-u&&s<a-u)return!1;var c=YU(e,t,r,n,a,i,s,l,null);return c<=u/2}var DL=Math.PI*2;function to(e){return e%=DL,e<0&&(e+=DL),e}var _h=Math.PI*2;function xit(e,t,r,n,a,i,o,s,l){if(o===0)return!1;var u=o;s-=e,l-=t;var c=Math.sqrt(s*s+l*l);if(c-u>r||c+u<r)return!1;if(Math.abs(n-a)%_h<1e-4)return!0;if(i){var d=n;n=to(a),a=to(d)}else n=to(n),a=to(a);n>a&&(a+=_h);var f=Math.atan2(l,s);return f<0&&(f+=_h),f>=n&&f<=a||f+_h>=n&&f+_h<=a}function gs(e,t,r,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*(r-e)+e;return l===a?1/0:l>a?s:0}var sl=es.CMD,Uu=Math.PI*2,Ait=1e-4;function kit(e,t){return Math.abs(e-t)<Ait}var ta=[-1,-1,-1],fi=[-1,-1];function Iit(){var e=fi[0];fi[0]=fi[1],fi[1]=e}function Rit(e,t,r,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=a2(t,n,i,s,u,ta);if(c===0)return 0;for(var d=0,f=-1,p=void 0,h=void 0,v=0;v<c;v++){var g=ta[v],m=g===0||g===1?.5:1,y=dn(e,r,a,o,g);y<l||(f<0&&(f=GU(t,n,i,s,fi),fi[1]<fi[0]&&f>1&&Iit(),p=dn(t,n,i,s,fi[0]),f>1&&(h=dn(t,n,i,s,fi[1]))),f===2?g<fi[0]?d+=p<t?m:-m:g<fi[1]?d+=h<p?m:-m:d+=s<h?m:-m:g<fi[0]?d+=p<t?m:-m:d+=s<p?m:-m)}return d}function Mit(e,t,r,n,a,i,o,s){if(s>t&&s>n&&s>i||s<t&&s<n&&s<i)return 0;var l=Fnt(t,n,i,s,ta);if(l===0)return 0;var u=KU(t,n,i);if(u>=0&&u<=1){for(var c=0,d=yn(t,n,i,u),f=0;f<l;f++){var p=ta[f]===0||ta[f]===1?.5:1,h=yn(e,r,a,ta[f]);h<o||(ta[f]<u?c+=d<t?p:-p:c+=i<d?p:-p)}return c}else{var p=ta[0]===0||ta[0]===1?.5:1,h=yn(e,r,a,ta[0]);return h<o?0:i<t?p:-p}}function Lit(e,t,r,n,a,i,o,s){if(s-=t,s>r||s<-r)return 0;var l=Math.sqrt(r*r-s*s);ta[0]=-l,ta[1]=l;var u=Math.abs(n-a);if(u<1e-4)return 0;if(u>=Uu-1e-4){n=0,a=Uu;var c=i?1:-1;return o>=ta[0]+e&&o<=ta[1]+e?c:0}if(n>a){var d=n;n=a,a=d}n<0&&(n+=Uu,a+=Uu);for(var f=0,p=0;p<2;p++){var h=ta[p];if(h+e>o){var v=Math.atan2(s,h),c=i?1:-1;v<0&&(v=Uu+v),(v>=n&&v<=a||v+Uu>=n&&v+Uu<=a)&&(v>Math.PI/2&&v<Math.PI*1.5&&(c=-c),f+=c)}}return f}function RG(e,t,r,n,a){for(var i=e.data,o=e.len(),s=0,l=0,u=0,c=0,d=0,f,p,h=0;h<o;){var v=i[h++],g=h===1;switch(v===sl.M&&h>1&&(r||(s+=gs(l,u,c,d,n,a))),g&&(l=i[h],u=i[h+1],c=l,d=u),v){case sl.M:c=i[h++],d=i[h++],l=c,u=d;break;case sl.L:if(r){if(Cl(l,u,i[h],i[h+1],t,n,a))return!0}else s+=gs(l,u,i[h],i[h+1],n,a)||0;l=i[h++],u=i[h++];break;case sl.C:if(r){if(Tit(l,u,i[h++],i[h++],i[h++],i[h++],i[h],i[h+1],t,n,a))return!0}else s+=Rit(l,u,i[h++],i[h++],i[h++],i[h++],i[h],i[h+1],n,a)||0;l=i[h++],u=i[h++];break;case sl.Q:if(r){if(IG(l,u,i[h++],i[h++],i[h],i[h+1],t,n,a))return!0}else s+=Mit(l,u,i[h++],i[h++],i[h],i[h+1],n,a)||0;l=i[h++],u=i[h++];break;case sl.A:var m=i[h++],y=i[h++],_=i[h++],w=i[h++],E=i[h++],S=i[h++];h+=1;var C=!!(1-i[h++]);f=Math.cos(E)*_+m,p=Math.sin(E)*w+y,g?(c=f,d=p):s+=gs(l,u,f,p,n,a);var T=(n-m)*w/_+m;if(r){if(xit(m,y,w,E,E+S,C,t,T,a))return!0}else s+=Lit(m,y,w,E,E+S,C,T,a);l=Math.cos(E+S)*_+m,u=Math.sin(E+S)*w+y;break;case sl.R:c=l=i[h++],d=u=i[h++];var x=i[h++],A=i[h++];if(f=c+x,p=d+A,r){if(Cl(c,d,f,d,t,n,a)||Cl(f,d,f,p,t,n,a)||Cl(f,p,c,p,t,n,a)||Cl(c,p,c,d,t,n,a))return!0}else s+=gs(f,d,f,p,n,a),s+=gs(c,p,c,d,n,a);break;case sl.Z:if(r){if(Cl(l,u,c,d,t,n,a))return!0}else s+=gs(l,u,c,d,n,a);l=c,u=d;break}}return!r&&!kit(u,d)&&(s+=gs(l,u,c,d,n,a)||0),s!==0}function Dit(e,t,r){return RG(e,0,!1,t,r)}function Oit(e,t,r,n){return RG(e,t,!0,r,n)}var d2=ht({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},qc),Nit={style:ht({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},X_.style)},Zw=Qo.concat(["invisible","culling","z","z2","zlevel","parent"]),Pit=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.update=function(){var r=this;e.prototype.update.call(this);var n=this.style;if(n.decal){var a=this._decalEl=this._decalEl||new t;a.buildPath===t.prototype.buildPath&&(a.buildPath=function(l){r.buildPath(l,r.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<Zw.length;++s)a[Zw[s]]=this[Zw[s]];a.__dirty|=Wa}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(r){var n=Wt(r);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=r[o];o==="style"?this.style?Me(this.style,s):this.useStyle(s):o==="shape"?Me(this.shape,s):e.prototype.attrKV.call(this,o,s)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var r=this.style.fill;if(r!=="none"){if(et(r)){var n=o2(r,0);return n>.5?jE:n>.2?yat:XE}else if(r)return XE}return jE},t.prototype.getInsideTextStroke=function(r){var n=this.style.fill;if(et(n)){var a=this.__zr,i=!!(a&&a.isDarkMode()),o=o2(r,0)<qE;if(i===o)return n}},t.prototype.buildPath=function(r,n,a){},t.prototype.pathUpdated=function(){this.__dirty&=~vf},t.prototype.getUpdatedPathProxy=function(r){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,r),this.path},t.prototype.createPathProxy=function(){this.path=new es(!1)},t.prototype.hasStroke=function(){var r=this.style,n=r.stroke;return!(n==null||n==="none"||!(r.lineWidth>0))},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.getBoundingRect=function(){var r=this._rect,n=this.style,a=!r;if(a){var i=!1;this.path||(i=!0,this.createPathProxy());var o=this.path;(i||this.__dirty&vf)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),r=o.getBoundingRect()}if(this._rect=r,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=r.clone());if(this.__dirty||a){s.copy(r);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 r},t.prototype.contain=function(r,n){var a=this.transformCoordToLocal(r,n),i=this.getBoundingRect(),o=this.style;if(r=a[0],n=a[1],i.contain(r,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)),Oit(s,l/u,r,n)))return!0}if(this.hasFill())return Dit(s,r,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=vf,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(r){return this.animate("shape",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():r==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(r,n){r==="shape"?this.setShape(n):e.prototype.attrKV.call(this,r,n)},t.prototype.setShape=function(r,n){var a=this.shape;return a||(a=this.shape={}),typeof r=="string"?a[r]=n:Me(a,r),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&vf)},t.prototype.createStyle=function(r){return G_(d2,r)},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.shape&&!n.shape&&(n.shape=Me({},this.shape))},t.prototype._applyStateObj=function(r,n,a,i,o,s){e.prototype._applyStateObj.call(this,r,n,a,i,o,s);var l=!(n&&i),u;if(n&&n.shape?o?i?u=n.shape:(u=Me({},a.shape),Me(u,n.shape)):(u=Me({},i?this.shape:a.shape),Me(u,n.shape)):l&&(u=a.shape),u)if(o){this.shape=Me({},this.shape);for(var c={},d=Wt(u),f=0;f<d.length;f++){var p=d[f];typeof u[p]=="object"?this.shape[p]=u[p]:c[p]=u[p]}this._transitionState(r,{shape:c},s)}else this.shape=u,this.dirtyShape()},t.prototype._mergeStates=function(r){for(var n=e.prototype._mergeStates.call(this,r),a,i=0;i<r.length;i++){var o=r[i];o.shape&&(a=a||{},this._mergeStyle(a,o.shape))}return a&&(n.shape=a),n},t.prototype.getAnimationStyleProps=function(){return Nit},t.prototype.isZeroArea=function(){return!1},t.extend=function(r){var n=function(i){ye(o,i);function o(s){var l=i.call(this,s)||this;return r.init&&r.init.call(l,s),l}return o.prototype.getDefaultStyle=function(){return _t(r.style)},o.prototype.getDefaultShape=function(){return _t(r.shape)},o}(t);for(var a in r)typeof r[a]=="function"&&(n.prototype[a]=r[a]);return n},t.initDefaultProps=function(){var r=t.prototype;r.type="path",r.strokeContainThreshold=5,r.segmentIgnoreThreshold=0,r.subPixelOptimize=!1,r.autoBatch=!1,r.__dirty=Wa|jh|vf}(),t}(Pi);const Vt=Pit;var $it=ht({strokeFirst:!0,font:iu,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},d2),MG=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.hasStroke=function(){var r=this.style,n=r.stroke;return n!=null&&n!=="none"&&r.lineWidth>0},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.createStyle=function(r){return G_($it,r)},t.prototype.setBoundingRect=function(r){this._rect=r},t.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var n=r.text;n!=null?n+="":n="";var a=Em(n,r.font,r.textAlign,r.textBaseline);if(a.x+=r.x||0,a.y+=r.y||0,this.hasStroke()){var i=r.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 r=t.prototype;r.dirtyRectTolerance=10}(),t}(Pi);MG.prototype.type="tspan";const Dg=MG;var Bit=ht({x:0,y:0},qc),Fit={style:ht({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},X_.style)};function zit(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var LG=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(r){return G_(Bit,r)},t.prototype._getSize=function(r){var n=this.style,a=n[r];if(a!=null)return a;var i=zit(n.image)?n.image:this.__image;if(!i)return 0;var o=r==="width"?"height":"width",s=n[o];return s==null?i[r]:i[r]/i[o]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return Fit},t.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new Pt(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Pi);LG.prototype.type="image";const $n=LG;function Vit(e,t){var r=t.x,n=t.y,a=t.width,i=t.height,o=t.r,s,l,u,c;a<0&&(r=r+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 d;s+l>a&&(d=s+l,s*=a/d,l*=a/d),u+c>a&&(d=u+c,u*=a/d,c*=a/d),l+u>i&&(d=l+u,l*=i/d,u*=i/d),s+c>i&&(d=s+c,s*=i/d,c*=i/d),e.moveTo(r+s,n),e.lineTo(r+a-l,n),l!==0&&e.arc(r+a-l,n+l,l,-Math.PI/2,0),e.lineTo(r+a,n+i-u),u!==0&&e.arc(r+a-u,n+i-u,u,0,Math.PI/2),e.lineTo(r+c,n+i),c!==0&&e.arc(r+c,n+i-c,c,Math.PI/2,Math.PI),e.lineTo(r,n+s),s!==0&&e.arc(r+s,n+s,s,Math.PI,Math.PI*1.5)}var Af=Math.round;function DG(e,t,r){if(t){var n=t.x1,a=t.x2,i=t.y1,o=t.y2;e.x1=n,e.x2=a,e.y1=i,e.y2=o;var s=r&&r.lineWidth;return s&&(Af(n*2)===Af(a*2)&&(e.x1=e.x2=kc(n,s,!0)),Af(i*2)===Af(o*2)&&(e.y1=e.y2=kc(i,s,!0))),e}}function OG(e,t,r){if(t){var n=t.x,a=t.y,i=t.width,o=t.height;e.x=n,e.y=a,e.width=i,e.height=o;var s=r&&r.lineWidth;return s&&(e.x=kc(n,s,!0),e.y=kc(a,s,!0),e.width=Math.max(kc(n+i,s,!1)-e.x,i===0?0:1),e.height=Math.max(kc(a+o,s,!1)-e.y,o===0?0:1)),e}}function kc(e,t,r){if(!t)return e;var n=Af(e*2);return(n+Af(t))%2===0?n/2:(n+(r?1:-1))/2}var Hit=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),Uit={},NG=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new Hit},t.prototype.buildPath=function(r,n){var a,i,o,s;if(this.subPixelOptimize){var l=OG(Uit,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?Vit(r,n):r.rect(a,i,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Vt);NG.prototype.type="rect";const Xt=NG;var OL={fill:"#000"},NL=2,Git={style:ht({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},X_.style)},PG=function(e){ye(t,e);function t(r){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=OL,n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;r<this._children.length;r++){var n=this._children[r];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},t.prototype.updateTransform=function(){var r=this.innerTransformable;r?(r.updateTransform(),r.transform&&(this.transform=r.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(r){var n=this.innerTransformable;return n?n.getLocalTransform(r):e.prototype.getLocalTransform.call(this,r)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,Yit(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(r){e.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=r},t.prototype.removeSelfFromZr=function(r){e.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var r=new Pt(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?(r.copy(l),r.applyTransform(u),i=i||r.clone(),i.union(r)):(i=i||l.clone(),i.union(l))}this._rect=i||r}return this._rect},t.prototype.setDefaultTextStyle=function(r){this._defaultStyle=r||OL},t.prototype.setTextContent=function(r){},t.prototype._mergeStyle=function(r,n){if(!n)return r;var a=n.rich,i=r.rich||a&&{};return Me(r,n),a&&i?(this._mergeRich(i,a),r.rich=i):i&&(r.rich=i),r},t.prototype._mergeRich=function(r,n){for(var a=Wt(n),i=0;i<a.length;i++){var o=a[i];r[o]=r[o]||{},Me(r[o],n[o])}},t.prototype.getAnimationStyleProps=function(){return Git},t.prototype._getOrCreateChild=function(r){var n=this._children[this._childCursor];return(!n||!(n instanceof r))&&(n=new r),this._children[this._childCursor++]=n,n.__zr=this.__zr,n.parent=this,n},t.prototype._updatePlainTexts=function(){var r=this.style,n=r.font||iu,a=r.padding,i=HL(r),o=dit(i,r),s=Qw(r),l=!!r.backgroundColor,u=o.outerHeight,c=o.outerWidth,d=o.contentWidth,f=o.lines,p=o.lineHeight,h=this._defaultStyle,v=r.x||0,g=r.y||0,m=r.align||h.align||"left",y=r.verticalAlign||h.verticalAlign||"top",_=v,w=gf(g,o.contentHeight,y);if(s||a){var E=Zh(v,c,m),S=gf(g,u,y);s&&this._renderBackground(r,r,E,S,c,u)}w+=p/2,a&&(_=VL(v,m,a),y==="top"?w+=a[0]:y==="bottom"&&(w-=a[2]));for(var C=0,T=!1,x=zL("fill"in r?r.fill:(T=!0,h.fill)),A=FL("stroke"in r?r.stroke:!l&&(!h.autoStroke||T)?(C=NL,h.stroke):null),k=r.textShadowBlur>0,R=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),M=o.calculatedLineHeight,O=0;O<f.length;O++){var z=this._getOrCreateChild(Dg),B=z.createStyle();z.useStyle(B),B.text=f[O],B.x=_,B.y=w,m&&(B.textAlign=m),B.textBaseline="middle",B.opacity=r.opacity,B.strokeFirst=!0,k&&(B.shadowBlur=r.textShadowBlur||0,B.shadowColor=r.textShadowColor||"transparent",B.shadowOffsetX=r.textShadowOffsetX||0,B.shadowOffsetY=r.textShadowOffsetY||0),B.stroke=A,B.fill=x,A&&(B.lineWidth=r.lineWidth||C,B.lineDash=r.lineDash,B.lineDashOffset=r.lineDashOffset||0),B.font=n,$L(B,r),w+=p,R&&z.setBoundingRect(new Pt(Zh(B.x,r.width,B.textAlign),gf(B.y,M,B.textBaseline),d,M))}},t.prototype._updateRichTexts=function(){var r=this.style,n=HL(r),a=hit(n,r),i=a.width,o=a.outerWidth,s=a.outerHeight,l=r.padding,u=r.x||0,c=r.y||0,d=this._defaultStyle,f=r.align||d.align,p=r.verticalAlign||d.verticalAlign,h=Zh(u,o,f),v=gf(c,s,p),g=h,m=v;l&&(g+=l[3],m+=l[0]);var y=g+i;Qw(r)&&this._renderBackground(r,r,h,v,o,s);for(var _=!!r.backgroundColor,w=0;w<a.lines.length;w++){for(var E=a.lines[w],S=E.tokens,C=S.length,T=E.lineHeight,x=E.width,A=0,k=g,R=y,M=C-1,O=void 0;A<C&&(O=S[A],!O.align||O.align==="left");)this._placeToken(O,r,T,m,k,"left",_),x-=O.width,k+=O.width,A++;for(;M>=0&&(O=S[M],O.align==="right");)this._placeToken(O,r,T,m,R,"right",_),x-=O.width,R-=O.width,M--;for(k+=(i-(k-g)-(y-R)-x)/2;A<=M;)O=S[A],this._placeToken(O,r,T,m,k+O.width/2,"center",_),k+=O.width,A++;m+=T}},t.prototype._placeToken=function(r,n,a,i,o,s,l){var u=n.rich[r.styleName]||{};u.text=r.text;var c=r.verticalAlign,d=i+a/2;c==="top"?d=i+r.height/2:c==="bottom"&&(d=i+a-r.height/2);var f=!r.isLineHolder&&Qw(u);f&&this._renderBackground(u,n,s==="right"?o-r.width:s==="center"?o-r.width/2:o,d-r.height/2,r.width,r.height);var p=!!u.backgroundColor,h=r.textPadding;h&&(o=VL(o,s,h),d-=r.height/2-h[0]-r.innerHeight/2);var v=this._getOrCreateChild(Dg),g=v.createStyle();v.useStyle(g);var m=this._defaultStyle,y=!1,_=0,w=zL("fill"in u?u.fill:"fill"in n?n.fill:(y=!0,m.fill)),E=FL("stroke"in u?u.stroke:"stroke"in n?n.stroke:!p&&!l&&(!m.autoStroke||y)?(_=NL,m.stroke):null),S=u.textShadowBlur>0||n.textShadowBlur>0;g.text=r.text,g.x=o,g.y=d,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=r.font||iu,g.opacity=Ho(u.opacity,n.opacity,1),$L(g,u),E&&(g.lineWidth=Ho(u.lineWidth,n.lineWidth,_),g.lineDash=Dt(u.lineDash,n.lineDash),g.lineDashOffset=n.lineDashOffset||0,g.stroke=E),w&&(g.fill=w);var C=r.contentWidth,T=r.contentHeight;v.setBoundingRect(new Pt(Zh(g.x,C,g.textAlign),gf(g.y,T,g.textBaseline),C,T))},t.prototype._renderBackground=function(r,n,a,i,o,s){var l=r.backgroundColor,u=r.borderWidth,c=r.borderColor,d=l&&l.image,f=l&&!d,p=r.borderRadius,h=this,v,g;if(f||r.lineHeight||u&&c){v=this._getOrCreateChild(Xt),v.useStyle(v.createStyle()),v.style.fill=null;var m=v.shape;m.x=a,m.y=i,m.width=o,m.height=s,m.r=p,v.dirtyShape()}if(f){var y=v.style;y.fill=l||null,y.fillOpacity=Dt(r.fillOpacity,1)}else if(d){g=this._getOrCreateChild($n),g.onload=function(){h.dirtyStyle()};var _=g.style;_.image=l.image,_.x=a,_.y=i,_.width=o,_.height=s}if(u&&c){var y=v.style;y.lineWidth=u,y.stroke=c,y.strokeOpacity=Dt(r.strokeOpacity,1),y.lineDash=r.borderDash,y.lineDashOffset=r.borderDashOffset||0,v.strokeContainThreshold=0,v.hasFill()&&v.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var w=(v||g).style;w.shadowBlur=r.shadowBlur||0,w.shadowColor=r.shadowColor||"transparent",w.shadowOffsetX=r.shadowOffsetX||0,w.shadowOffsetY=r.shadowOffsetY||0,w.opacity=Ho(r.opacity,n.opacity,1)},t.makeFont=function(r){var n="";return BG(r)&&(n=[r.fontStyle,r.fontWeight,$G(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),n&&eo(n)||r.textFont||r.font},t}(Pi),Wit={left:!0,right:1,center:1},Kit={top:1,bottom:1,middle:1},PL=["fontStyle","fontWeight","fontSize","fontFamily"];function $G(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?Ox+"px":e+"px"}function $L(e,t){for(var r=0;r<PL.length;r++){var n=PL[r],a=t[n];a!=null&&(e[n]=a)}}function BG(e){return e.fontSize!=null||e.fontFamily||e.fontWeight}function Yit(e){return BL(e),G(e.rich,BL),e}function BL(e){if(e){e.font=PG.makeFont(e);var t=e.align;t==="middle"&&(t="center"),e.align=t==null||Wit[t]?t:"left";var r=e.verticalAlign;r==="center"&&(r="middle"),e.verticalAlign=r==null||Kit[r]?r:"top";var n=e.padding;n&&(e.padding=zx(e.padding))}}function FL(e,t){return e==null||t<=0||e==="transparent"||e==="none"?null:e.image||e.colorStops?"#000":e}function zL(e){return e==null||e==="none"?null:e.image||e.colorStops?"#000":e}function VL(e,t,r){return t==="right"?e-r[1]:t==="center"?e+r[3]/2-r[1]/2:e+r[3]}function HL(e){var t=e.text;return t!=null&&(t+=""),t}function Qw(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}const er=PG;var kt=Zt(),t6=function(e,t,r,n){if(n){var a=kt(n);a.dataIndex=r,a.dataType=t,a.seriesIndex=e,n.type==="group"&&n.traverse(function(i){var o=kt(i);o.seriesIndex=e,o.dataIndex=r,o.dataType=t})}},UL=1,GL={},FG=Zt(),Jx=Zt(),eA=0,Tm=1,Q_=2,fa=["emphasis","blur","select"],Og=["normal","emphasis","blur","select"],Up=10,qit=9,jc="highlight",s1="downplay",Rv="select",l1="unselect",Mv="toggleSelect";function Kd(e){return e!=null&&e!=="none"}var WL=new Sm(100);function KL(e){if(et(e)){var t=WL.get(e);return t||(t=VE(e,-.1),WL.put(e,t)),t}else if(U_(e)){var r=Me({},e);return r.colorStops=Pe(e.colorStops,function(n){return{offset:n.offset,color:VE(n.color,-.1)}}),r}return e}function J_(e,t,r){e.onHoverStateChange&&(e.hoverState||0)!==r&&e.onHoverStateChange(t),e.hoverState=r}function zG(e){J_(e,"emphasis",Q_)}function VG(e){e.hoverState===Q_&&J_(e,"normal",eA)}function tA(e){J_(e,"blur",Tm)}function HG(e){e.hoverState===Tm&&J_(e,"normal",eA)}function jit(e){e.selected=!0}function Xit(e){e.selected=!1}function YL(e,t,r){t(e,r)}function Js(e,t,r){YL(e,t,r),e.isGroup&&e.traverse(function(n){YL(n,t,r)})}function f2(e,t){switch(t){case"emphasis":e.hoverState=Q_;break;case"normal":e.hoverState=eA;break;case"blur":e.hoverState=Tm;break;case"select":e.selected=!0}}function Zit(e,t,r,n){for(var a=e.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<e.animators.length;o++){var u=e.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(r)<0&&u.targetName==="style"&&u.saveTo(i,t)}return i}function Qit(e,t,r,n){var a=r&&Bt(r,"select")>=0,i=!1;if(e instanceof Vt){var o=FG(e),s=a&&o.selectFill||o.normalFill,l=a&&o.selectStroke||o.normalStroke;if(Kd(s)||Kd(l)){n=n||{};var u=n.style||{};u.fill==="inherit"?(i=!0,n=Me({},n),u=Me({},u),u.fill=s):!Kd(u.fill)&&Kd(s)?(i=!0,n=Me({},n),u=Me({},u),u.fill=KL(s)):!Kd(u.stroke)&&Kd(l)&&(i||(n=Me({},n),u=Me({},u)),u.stroke=KL(l)),n.style=u}}if(n&&n.z2==null){i||(n=Me({},n));var c=e.z2EmphasisLift;n.z2=e.z2+(c??Up)}return n}function Jit(e,t,r){if(r&&r.z2==null){r=Me({},r);var n=e.z2SelectLift;r.z2=e.z2+(n??qit)}return r}function eot(e,t,r){var n=Bt(e.currentStates,t)>=0,a=e.style.opacity,i=n?null:Zit(e,["opacity"],t,{opacity:1});r=r||{};var o=r.style||{};return o.opacity==null&&(r=Me({},r),o=Me({opacity:n?a:i.opacity*.1},o),r.style=o),r}function Jw(e,t){var r=this.states[e];if(this.style){if(e==="emphasis")return Qit(this,e,t,r);if(e==="blur")return eot(this,e,r);if(e==="select")return Jit(this,e,r)}return r}function gd(e){e.stateProxy=Jw;var t=e.getTextContent(),r=e.getTextGuideLine();t&&(t.stateProxy=Jw),r&&(r.stateProxy=Jw)}function qL(e,t){!KG(e,t)&&!e.__highByOuter&&Js(e,zG)}function jL(e,t){!KG(e,t)&&!e.__highByOuter&&Js(e,VG)}function zs(e,t){e.__highByOuter|=1<<(t||0),Js(e,zG)}function Vs(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Js(e,VG)}function UG(e){Js(e,tA)}function rA(e){Js(e,HG)}function GG(e){Js(e,jit)}function WG(e){Js(e,Xit)}function KG(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function YG(e){var t=e.getModel(),r=[],n=[];t.eachComponent(function(a,i){var o=Jx(i),s=a==="series",l=s?e.getViewOfSeriesModel(i):e.getViewOfComponentModel(i);!s&&n.push(l),o.isBlured&&(l.group.traverse(function(u){HG(u)}),s&&r.push(i)),o.isBlured=!1}),G(n,function(a){a&&a.toggleBlurSeries&&a.toggleBlurSeries(r,!1,t)})}function r6(e,t,r,n){var a=n.getModel();r=r||"coordinateSystem";function i(u,c){for(var d=0;d<c.length;d++){var f=u.getItemGraphicEl(c[d]);f&&rA(f)}}if(e!=null&&!(!t||t==="none")){var o=a.getSeriesByIndex(e),s=o.coordinateSystem;s&&s.master&&(s=s.master);var l=[];a.eachSeries(function(u){var c=o===u,d=u.coordinateSystem;d&&d.master&&(d=d.master);var f=d&&s?d===s:c;if(!(r==="series"&&!c||r==="coordinateSystem"&&!f||t==="series"&&c)){var p=n.getViewOfSeriesModel(u);if(p.group.traverse(function(g){g.__highByOuter&&c&&t==="self"||tA(g)}),qn(t))i(u.getData(),t);else if(vt(t))for(var h=Wt(t),v=0;v<h.length;v++)i(u.getData(h[v]),t[h[v]]);l.push(u),Jx(u).isBlured=!0}}),a.eachComponent(function(u,c){if(u!=="series"){var d=n.getViewOfComponentModel(c);d&&d.toggleBlurSeries&&d.toggleBlurSeries(l,!0,a)}})}}function n6(e,t,r){if(!(e==null||t==null)){var n=r.getModel().getComponent(e,t);if(n){Jx(n).isBlured=!0;var a=r.getViewOfComponentModel(n);!a||!a.focusBlurEnabled||a.group.traverse(function(i){tA(i)})}}}function tot(e,t,r){var n=e.seriesIndex,a=e.getData(t.dataType);if(a){var i=hd(a,t);i=(Ne(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=kt(o);r6(n,u.focus,u.blurScope,r)}else{var c=e.get(["emphasis","focus"]),d=e.get(["emphasis","blurScope"]);c!=null&&r6(n,c,d,r)}}}function nA(e,t,r,n){var a={focusSelf:!1,dispatchers:null};if(e==null||e==="series"||t==null||r==null)return a;var i=n.getModel().getComponent(e,t);if(!i)return a;var o=n.getViewOfComponentModel(i);if(!o||!o.findHighDownDispatchers)return a;for(var s=o.findHighDownDispatchers(r),l,u=0;u<s.length;u++)if(kt(s[u]).focus==="self"){l=!0;break}return{focusSelf:l,dispatchers:s}}function rot(e,t,r){var n=kt(e),a=nA(n.componentMainType,n.componentIndex,n.componentHighDownName,r),i=a.dispatchers,o=a.focusSelf;i?(o&&n6(n.componentMainType,n.componentIndex,r),G(i,function(s){return qL(s,t)})):(r6(n.seriesIndex,n.focus,n.blurScope,r),n.focus==="self"&&n6(n.componentMainType,n.componentIndex,r),qL(e,t))}function not(e,t,r){YG(r);var n=kt(e),a=nA(n.componentMainType,n.componentIndex,n.componentHighDownName,r).dispatchers;a?G(a,function(i){return jL(i,t)}):jL(e,t)}function aot(e,t,r){if(i6(t)){var n=t.dataType,a=e.getData(n),i=hd(a,t);Ne(i)||(i=[i]),e[t.type===Mv?"toggleSelect":t.type===Rv?"select":"unselect"](i,n)}}function XL(e){var t=e.getAllData();G(t,function(r){var n=r.data,a=r.type;n.eachItemGraphicEl(function(i,o){e.isSelected(o,a)?GG(i):WG(i)})})}function iot(e){var t=[];return e.eachSeries(function(r){var n=r.getAllData();G(n,function(a){a.data;var i=a.type,o=r.getSelectedDataIndices();if(o.length>0){var s={dataIndex:o,seriesIndex:r.seriesIndex};i!=null&&(s.dataType=i),t.push(s)}})}),t}function Xc(e,t,r){Ic(e,!0),Js(e,gd),a6(e,t,r)}function oot(e){Ic(e,!1)}function Pr(e,t,r,n){n?oot(e):Xc(e,t,r)}function a6(e,t,r){var n=kt(e);t!=null?(n.focus=t,n.blurScope=r):n.focus&&(n.focus=null)}var ZL=["emphasis","blur","select"],sot={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Nn(e,t,r,n){r=r||"itemStyle";for(var a=0;a<ZL.length;a++){var i=ZL[a],o=t.getModel([i,r]),s=e.ensureState(i);s.style=n?n(o):o[sot[r]]()}}function Ic(e,t){var r=t===!1,n=e;e.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=e.highDownSilentOnTouch),(!r||n.__highDownDispatcher)&&(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!r)}function Ng(e){return!!(e&&e.__highDownDispatcher)}function lot(e,t,r){var n=kt(e);n.componentMainType=t.mainType,n.componentIndex=t.componentIndex,n.componentHighDownName=r}function uot(e){var t=GL[e];return t==null&&UL<=32&&(t=GL[e]=UL++),t}function i6(e){var t=e.type;return t===Rv||t===l1||t===Mv}function QL(e){var t=e.type;return t===jc||t===s1}function cot(e){var t=FG(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var r=e.states.select||{};t.selectFill=r.style&&r.style.fill||null,t.selectStroke=r.style&&r.style.stroke||null}var Yd=es.CMD,dot=[[],[],[]],JL=Math.sqrt,fot=Math.atan2;function qG(e,t){if(t){var r=e.data,n=e.len(),a,i,o,s,l,u,c=Yd.M,d=Yd.C,f=Yd.L,p=Yd.R,h=Yd.A,v=Yd.Q;for(o=0,s=0;o<n;){switch(a=r[o++],s=o,i=0,a){case c:i=1;break;case f:i=1;break;case d:i=3;break;case v:i=2;break;case h:var g=t[4],m=t[5],y=JL(t[0]*t[0]+t[1]*t[1]),_=JL(t[2]*t[2]+t[3]*t[3]),w=fot(-t[1]/_,t[0]/y);r[o]*=y,r[o++]+=g,r[o]*=_,r[o++]+=m,r[o++]*=y,r[o++]*=_,r[o++]+=w,r[o++]+=w,o+=2,s=o;break;case p:u[0]=r[o++],u[1]=r[o++],Ln(u,u,t),r[s++]=u[0],r[s++]=u[1],u[0]+=r[o++],u[1]+=r[o++],Ln(u,u,t),r[s++]=u[0],r[s++]=u[1]}for(l=0;l<i;l++){var E=dot[l];E[0]=r[o++],E[1]=r[o++],Ln(E,E,t),r[s++]=E[0],r[s++]=E[1]}}e.increaseVersion()}}var eS=Math.sqrt,k0=Math.sin,I0=Math.cos,bh=Math.PI;function eD(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function o6(e,t){return(e[0]*t[0]+e[1]*t[1])/(eD(e)*eD(t))}function tD(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(o6(e,t))}function rD(e,t,r,n,a,i,o,s,l,u,c){var d=l*(bh/180),f=I0(d)*(e-r)/2+k0(d)*(t-n)/2,p=-1*k0(d)*(e-r)/2+I0(d)*(t-n)/2,h=f*f/(o*o)+p*p/(s*s);h>1&&(o*=eS(h),s*=eS(h));var v=(a===i?-1:1)*eS((o*o*(s*s)-o*o*(p*p)-s*s*(f*f))/(o*o*(p*p)+s*s*(f*f)))||0,g=v*o*p/s,m=v*-s*f/o,y=(e+r)/2+I0(d)*g-k0(d)*m,_=(t+n)/2+k0(d)*g+I0(d)*m,w=tD([1,0],[(f-g)/o,(p-m)/s]),E=[(f-g)/o,(p-m)/s],S=[(-1*f-g)/o,(-1*p-m)/s],C=tD(E,S);if(o6(E,S)<=-1&&(C=bh),o6(E,S)>=1&&(C=0),C<0){var T=Math.round(C/bh*1e6)/1e6;C=bh*2+T%2*bh}c.addData(u,y,_,o,s,w,C,d,i)}var pot=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,hot=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function vot(e){var t=new es;if(!e)return t;var r=0,n=0,a=r,i=n,o,s=es.CMD,l=e.match(pot);if(!l)return t;for(var u=0;u<l.length;u++){for(var c=l[u],d=c.charAt(0),f=void 0,p=c.match(hot)||[],h=p.length,v=0;v<h;v++)p[v]=parseFloat(p[v]);for(var g=0;g<h;){var m=void 0,y=void 0,_=void 0,w=void 0,E=void 0,S=void 0,C=void 0,T=r,x=n,A=void 0,k=void 0;switch(d){case"l":r+=p[g++],n+=p[g++],f=s.L,t.addData(f,r,n);break;case"L":r=p[g++],n=p[g++],f=s.L,t.addData(f,r,n);break;case"m":r+=p[g++],n+=p[g++],f=s.M,t.addData(f,r,n),a=r,i=n,d="l";break;case"M":r=p[g++],n=p[g++],f=s.M,t.addData(f,r,n),a=r,i=n,d="L";break;case"h":r+=p[g++],f=s.L,t.addData(f,r,n);break;case"H":r=p[g++],f=s.L,t.addData(f,r,n);break;case"v":n+=p[g++],f=s.L,t.addData(f,r,n);break;case"V":n=p[g++],f=s.L,t.addData(f,r,n);break;case"C":f=s.C,t.addData(f,p[g++],p[g++],p[g++],p[g++],p[g++],p[g++]),r=p[g-2],n=p[g-1];break;case"c":f=s.C,t.addData(f,p[g++]+r,p[g++]+n,p[g++]+r,p[g++]+n,p[g++]+r,p[g++]+n),r+=p[g-2],n+=p[g-1];break;case"S":m=r,y=n,A=t.len(),k=t.data,o===s.C&&(m+=r-k[A-4],y+=n-k[A-3]),f=s.C,T=p[g++],x=p[g++],r=p[g++],n=p[g++],t.addData(f,m,y,T,x,r,n);break;case"s":m=r,y=n,A=t.len(),k=t.data,o===s.C&&(m+=r-k[A-4],y+=n-k[A-3]),f=s.C,T=r+p[g++],x=n+p[g++],r+=p[g++],n+=p[g++],t.addData(f,m,y,T,x,r,n);break;case"Q":T=p[g++],x=p[g++],r=p[g++],n=p[g++],f=s.Q,t.addData(f,T,x,r,n);break;case"q":T=p[g++]+r,x=p[g++]+n,r+=p[g++],n+=p[g++],f=s.Q,t.addData(f,T,x,r,n);break;case"T":m=r,y=n,A=t.len(),k=t.data,o===s.Q&&(m+=r-k[A-4],y+=n-k[A-3]),r=p[g++],n=p[g++],f=s.Q,t.addData(f,m,y,r,n);break;case"t":m=r,y=n,A=t.len(),k=t.data,o===s.Q&&(m+=r-k[A-4],y+=n-k[A-3]),r+=p[g++],n+=p[g++],f=s.Q,t.addData(f,m,y,r,n);break;case"A":_=p[g++],w=p[g++],E=p[g++],S=p[g++],C=p[g++],T=r,x=n,r=p[g++],n=p[g++],f=s.A,rD(T,x,r,n,S,C,_,w,E,f,t);break;case"a":_=p[g++],w=p[g++],E=p[g++],S=p[g++],C=p[g++],T=r,x=n,r+=p[g++],n+=p[g++],f=s.A,rD(T,x,r,n,S,C,_,w,E,f,t);break}}(d==="z"||d==="Z")&&(f=s.Z,t.addData(f),r=a,n=i),o=f}return t.toStatic(),t}var jG=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.applyTransform=function(r){},t}(Vt);function XG(e){return e.setData!=null}function ZG(e,t){var r=vot(e),n=Me({},t);return n.buildPath=function(a){if(XG(a)){a.setData(r.data);var i=a.getContext();i&&a.rebuildPath(i,1)}else{var i=a;r.rebuildPath(i,1)}},n.applyTransform=function(a){qG(r,a),this.dirtyShape()},n}function QG(e,t){return new jG(ZG(e,t))}function got(e,t){var r=ZG(e,t),n=function(a){ye(i,a);function i(o){var s=a.call(this,o)||this;return s.applyTransform=r.applyTransform,s.buildPath=r.buildPath,s}return i}(jG);return n}function mot(e,t){for(var r=[],n=e.length,a=0;a<n;a++){var i=e[a];r.push(i.getUpdatedPathProxy(!0))}var o=new Vt(t);return o.createPathProxy(),o.buildPath=function(s){if(XG(s)){s.appendPath(r);var l=s.getContext();l&&s.rebuildPath(l,1)}},o}function aA(e,t){t=t||{};var r=new Vt;return e.shape&&r.setShape(e.shape),r.setStyle(e.style),t.bakeTransform?qG(r.path,e.getComputedTransform()):t.toLocal?r.setLocalTransform(e.getComputedTransform()):r.copyTransform(e),r.buildPath=e.buildPath,r.applyTransform=r.applyTransform,r.z=e.z,r.z2=e.z2,r.zlevel=e.zlevel,r}var yot=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),JG=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new yot},t.prototype.buildPath=function(r,n){r.moveTo(n.cx+n.r,n.cy),r.arc(n.cx,n.cy,n.r,0,Math.PI*2)},t}(Vt);JG.prototype.type="circle";const ts=JG;var _ot=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),eW=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new _ot},t.prototype.buildPath=function(r,n){var a=.5522848,i=n.cx,o=n.cy,s=n.rx,l=n.ry,u=s*a,c=l*a;r.moveTo(i-s,o),r.bezierCurveTo(i-s,o-c,i-u,o-l,i,o-l),r.bezierCurveTo(i+u,o-l,i+s,o-c,i+s,o),r.bezierCurveTo(i+s,o+c,i+u,o+l,i,o+l),r.bezierCurveTo(i-u,o+l,i-s,o+c,i-s,o),r.closePath()},t}(Vt);eW.prototype.type="ellipse";const iA=eW;var tW=Math.PI,tS=tW*2,Gu=Math.sin,qd=Math.cos,bot=Math.acos,Bn=Math.atan2,nD=Math.abs,Lv=Math.sqrt,Qh=Math.max,So=Math.min,Wi=1e-4;function wot(e,t,r,n,a,i,o,s){var l=r-e,u=n-t,c=o-a,d=s-i,f=d*l-c*u;if(!(f*f<Wi))return f=(c*(t-i)-d*(e-a))/f,[e+f*l,t+f*u]}function R0(e,t,r,n,a,i,o){var s=e-r,l=t-n,u=(o?i:-i)/Lv(s*s+l*l),c=u*l,d=-u*s,f=e+c,p=t+d,h=r+c,v=n+d,g=(f+h)/2,m=(p+v)/2,y=h-f,_=v-p,w=y*y+_*_,E=a-i,S=f*v-h*p,C=(_<0?-1:1)*Lv(Qh(0,E*E*w-S*S)),T=(S*_-y*C)/w,x=(-S*y-_*C)/w,A=(S*_+y*C)/w,k=(-S*y+_*C)/w,R=T-g,M=x-m,O=A-g,z=k-m;return R*R+M*M>O*O+z*z&&(T=A,x=k),{cx:T,cy:x,x0:-c,y0:-d,x1:T*(a/E-1),y1:x*(a/E-1)}}function Sot(e){var t;if(Ne(e)){var r=e.length;if(!r)return e;r===1?t=[e[0],e[0],0,0]:r===2?t=[e[0],e[0],e[1],e[1]]:r===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function Eot(e,t){var r,n=Qh(t.r,0),a=Qh(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,d=t.cy,f=!!t.clockwise,p=nD(u-l),h=p>tS&&p%tS;if(h>Wi&&(p=h),!(n>Wi))e.moveTo(c,d);else if(p>tS-Wi)e.moveTo(c+n*qd(l),d+n*Gu(l)),e.arc(c,d,n,l,u,!f),a>Wi&&(e.moveTo(c+a*qd(u),d+a*Gu(u)),e.arc(c,d,a,u,l,f));else{var v=void 0,g=void 0,m=void 0,y=void 0,_=void 0,w=void 0,E=void 0,S=void 0,C=void 0,T=void 0,x=void 0,A=void 0,k=void 0,R=void 0,M=void 0,O=void 0,z=n*qd(l),B=n*Gu(l),P=a*qd(u),F=a*Gu(u),D=p>Wi;if(D){var H=t.cornerRadius;H&&(r=Sot(H),v=r[0],g=r[1],m=r[2],y=r[3]);var K=nD(n-a)/2;if(_=So(K,m),w=So(K,y),E=So(K,v),S=So(K,g),x=C=Qh(_,w),A=T=Qh(E,S),(C>Wi||T>Wi)&&(k=n*qd(u),R=n*Gu(u),M=a*qd(l),O=a*Gu(l),p<tW)){var Y=wot(z,B,M,O,k,R,P,F);if(Y){var X=z-Y[0],J=B-Y[1],fe=k-Y[0],se=R-Y[1],q=1/Gu(bot((X*fe+J*se)/(Lv(X*X+J*J)*Lv(fe*fe+se*se)))/2),j=Lv(Y[0]*Y[0]+Y[1]*Y[1]);x=So(C,(n-j)/(q+1)),A=So(T,(a-j)/(q-1))}}}if(!D)e.moveTo(c+z,d+B);else if(x>Wi){var ae=So(m,x),ne=So(y,x),le=R0(M,O,z,B,n,ae,f),W=R0(k,R,P,F,n,ne,f);e.moveTo(c+le.cx+le.x0,d+le.cy+le.y0),x<C&&ae===ne?e.arc(c+le.cx,d+le.cy,x,Bn(le.y0,le.x0),Bn(W.y0,W.x0),!f):(ae>0&&e.arc(c+le.cx,d+le.cy,ae,Bn(le.y0,le.x0),Bn(le.y1,le.x1),!f),e.arc(c,d,n,Bn(le.cy+le.y1,le.cx+le.x1),Bn(W.cy+W.y1,W.cx+W.x1),!f),ne>0&&e.arc(c+W.cx,d+W.cy,ne,Bn(W.y1,W.x1),Bn(W.y0,W.x0),!f))}else e.moveTo(c+z,d+B),e.arc(c,d,n,l,u,!f);if(!(a>Wi)||!D)e.lineTo(c+P,d+F);else if(A>Wi){var ae=So(v,A),ne=So(g,A),le=R0(P,F,k,R,a,-ne,f),W=R0(z,B,M,O,a,-ae,f);e.lineTo(c+le.cx+le.x0,d+le.cy+le.y0),A<T&&ae===ne?e.arc(c+le.cx,d+le.cy,A,Bn(le.y0,le.x0),Bn(W.y0,W.x0),!f):(ne>0&&e.arc(c+le.cx,d+le.cy,ne,Bn(le.y0,le.x0),Bn(le.y1,le.x1),!f),e.arc(c,d,a,Bn(le.cy+le.y1,le.cx+le.x1),Bn(W.cy+W.y1,W.cx+W.x1),f),ae>0&&e.arc(c+W.cx,d+W.cy,ae,Bn(W.y1,W.x1),Bn(W.y0,W.x0),!f))}else e.lineTo(c+P,d+F),e.arc(c,d,a,u,l,f)}e.closePath()}}}var Cot=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),rW=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new Cot},t.prototype.buildPath=function(r,n){Eot(r,n)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Vt);rW.prototype.type="sector";const Na=rW;var Tot=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),nW=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new Tot},t.prototype.buildPath=function(r,n){var a=n.cx,i=n.cy,o=Math.PI*2;r.moveTo(a+n.r,i),r.arc(a,i,n.r,0,o,!1),r.moveTo(a+n.r0,i),r.arc(a,i,n.r0,0,o,!0)},t}(Vt);nW.prototype.type="ring";const eb=nW;function xot(e,t,r,n){var a=[],i=[],o=[],s=[],l,u,c,d;if(n){c=[1/0,1/0],d=[-1/0,-1/0];for(var f=0,p=e.length;f<p;f++)Ol(c,c,e[f]),Nl(d,d,e[f]);Ol(c,c,n[0]),Nl(d,d,n[1])}for(var f=0,p=e.length;f<p;f++){var h=e[f];if(r)l=e[f?f-1:p-1],u=e[(f+1)%p];else if(f===0||f===p-1){a.push(xs(e[f]));continue}else l=e[f-1],u=e[f+1];Ac(i,u,l),Jy(i,i,t);var v=LE(h,l),g=LE(h,u),m=v+g;m!==0&&(v/=m,g/=m),Jy(o,i,-v),Jy(s,i,g);var y=jM([],h,o),_=jM([],h,s);n&&(Nl(y,y,c),Ol(y,y,d),Nl(_,_,c),Ol(_,_,d)),a.push(y),a.push(_)}return r&&a.push(a.shift()),a}function aW(e,t,r){var n=t.smooth,a=t.points;if(a&&a.length>=2){if(n){var i=xot(a,n,r,t.smoothConstraint);e.moveTo(a[0][0],a[0][1]);for(var o=a.length,s=0;s<(r?o:o-1);s++){var l=i[s*2],u=i[s*2+1],c=a[(s+1)%o];e.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(a[0][0],a[0][1]);for(var s=1,d=a.length;s<d;s++)e.lineTo(a[s][0],a[s][1])}r&&e.closePath()}}var Aot=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}(),iW=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new Aot},t.prototype.buildPath=function(r,n){aW(r,n,!0)},t}(Vt);iW.prototype.type="polygon";const Pa=iW;var kot=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),oW=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new kot},t.prototype.buildPath=function(r,n){aW(r,n,!1)},t}(Vt);oW.prototype.type="polyline";const Ba=oW;var Iot={},Rot=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}(),sW=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Rot},t.prototype.buildPath=function(r,n){var a,i,o,s;if(this.subPixelOptimize){var l=DG(Iot,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&&(r.moveTo(a,i),u<1&&(o=a*(1-u)+o*u,s=i*(1-u)+s*u),r.lineTo(o,s))},t.prototype.pointAt=function(r){var n=this.shape;return[n.x1*(1-r)+n.x2*r,n.y1*(1-r)+n.y2*r]},t}(Vt);sW.prototype.type="line";const Sn=sW;var va=[],Mot=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e}();function aD(e,t,r){var n=e.cpx2,a=e.cpy2;return n!=null||a!=null?[(r?sL:dn)(e.x1,e.cpx1,e.cpx2,e.x2,t),(r?sL:dn)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(r?BE:yn)(e.x1,e.cpx1,e.x2,t),(r?BE:yn)(e.y1,e.cpy1,e.y2,t)]}var lW=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Mot},t.prototype.buildPath=function(r,n){var a=n.x1,i=n.y1,o=n.x2,s=n.y2,l=n.cpx1,u=n.cpy1,c=n.cpx2,d=n.cpy2,f=n.percent;f!==0&&(r.moveTo(a,i),c==null||d==null?(f<1&&(Ig(a,l,o,f,va),l=va[1],o=va[2],Ig(i,u,s,f,va),u=va[1],s=va[2]),r.quadraticCurveTo(l,u,o,s)):(f<1&&(su(a,l,c,o,f,va),l=va[1],c=va[2],o=va[3],su(i,u,d,s,f,va),u=va[1],d=va[2],s=va[3]),r.bezierCurveTo(l,u,c,d,o,s)))},t.prototype.pointAt=function(r){return aD(this.shape,r,!1)},t.prototype.tangentAt=function(r){var n=aD(this.shape,r,!0);return zp(n,n)},t}(Vt);lW.prototype.type="bezier-curve";const tb=lW;var Lot=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),uW=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Lot},t.prototype.buildPath=function(r,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),d=Math.sin(s);r.moveTo(c*o+a,d*o+i),r.arc(a,i,o,s,l,!u)},t}(Vt);uW.prototype.type="arc";const oA=uW;var Dot=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="compound",r}return t.prototype._updatePathDirty=function(){for(var r=this.shape.paths,n=this.shapeChanged(),a=0;a<r.length;a++)n=n||r[a].shapeChanged();n&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var r=this.shape.paths||[],n=this.getGlobalScale(),a=0;a<r.length;a++)r[a].path||r[a].createPathProxy(),r[a].path.setScale(n[0],n[1],r[a].segmentIgnoreThreshold)},t.prototype.buildPath=function(r,n){for(var a=n.paths||[],i=0;i<a.length;i++)a[i].buildPath(r,a[i].shape,!0)},t.prototype.afterBrush=function(){for(var r=this.shape.paths||[],n=0;n<r.length;n++)r[n].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Vt.prototype.getBoundingRect.call(this)},t}(Vt);const sA=Dot;var Oot=function(){function e(t){this.colorStops=t||[]}return e.prototype.addColorStop=function(t,r){this.colorStops.push({offset:t,color:r})},e}();const cW=Oot;var Not=function(e){ye(t,e);function t(r,n,a,i,o,s){var l=e.call(this,o)||this;return l.x=r??0,l.y=n??0,l.x2=a??1,l.y2=i??0,l.type="linear",l.global=s||!1,l}return t}(cW);const xm=Not;var Pot=function(e){ye(t,e);function t(r,n,a,i,o){var s=e.call(this,i)||this;return s.x=r??.5,s.y=n??.5,s.r=a??.5,s.type="radial",s.global=o||!1,s}return t}(cW);const dW=Pot;var Wu=[0,0],Ku=[0,0],M0=new Lt,L0=new Lt,$ot=function(){function e(t,r){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Lt;for(var n=0;n<2;n++)this._axes[n]=new Lt;t&&this.fromBoundingRect(t,r)}return e.prototype.fromBoundingRect=function(t,r){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),r)for(var u=0;u<4;u++)n[u].transform(r);Lt.sub(a[0],n[1],n[0]),Lt.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])},e.prototype.intersect=function(t,r){var n=!0,a=!r;return M0.set(1/0,1/0),L0.set(0,0),!this._intersectCheckOneSide(this,t,M0,L0,a,1)&&(n=!1,a)||!this._intersectCheckOneSide(t,this,M0,L0,a,-1)&&(n=!1,a)||a||Lt.copy(r,n?M0:L0),n},e.prototype._intersectCheckOneSide=function(t,r,n,a,i,o){for(var s=!0,l=0;l<2;l++){var u=this._axes[l];if(this._getProjMinMaxOnAxis(l,t._corners,Wu),this._getProjMinMaxOnAxis(l,r._corners,Ku),Wu[1]<Ku[0]||Wu[0]>Ku[1]){if(s=!1,i)return s;var c=Math.abs(Ku[0]-Wu[1]),d=Math.abs(Wu[0]-Ku[1]);Math.min(c,d)>a.len()&&(c<d?Lt.scale(a,u,-c*o):Lt.scale(a,u,d*o))}else if(n){var c=Math.abs(Ku[0]-Wu[1]),d=Math.abs(Wu[0]-Ku[1]);Math.min(c,d)<n.len()&&(c<d?Lt.scale(n,u,c*o):Lt.scale(n,u,-d*o))}}return s},e.prototype._getProjMinMaxOnAxis=function(t,r,n){for(var a=this._axes[t],i=this._origin,o=r[0].dot(a)+i[t],s=o,l=o,u=1;u<r.length;u++){var c=r[u].dot(a)+i[t];s=Math.min(c,s),l=Math.max(c,l)}n[0]=s,n[1]=l},e}();const p2=$ot;var Bot=[],Fot=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.notClear=!0,r.incremental=!0,r._displayables=[],r._temporaryDisplayables=[],r._cursor=0,r}return t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(r,n){n?this._temporaryDisplayables.push(r):this._displayables.push(r),this.markRedraw()},t.prototype.addDisplayables=function(r,n){n=n||!1;for(var a=0;a<r.length;a++)this.addDisplayable(r[a],n)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(r){for(var n=this._cursor;n<this._displayables.length;n++)r&&r(this._displayables[n]);for(var n=0;n<this._temporaryDisplayables.length;n++)r&&r(this._temporaryDisplayables[n])},t.prototype.update=function(){this.updateTransform();for(var r=this._cursor;r<this._displayables.length;r++){var n=this._displayables[r];n.parent=this,n.update(),n.parent=null}for(var r=0;r<this._temporaryDisplayables.length;r++){var n=this._temporaryDisplayables[r];n.parent=this,n.update(),n.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var r=new Pt(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(Bot)),r.union(i)}this._rect=r}return this._rect},t.prototype.contain=function(r,n){var a=this.transformCoordToLocal(r,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(r,n))return!0}return!1},t}(Pi);const zot=Fot;var fW=Zt();function Gp(e,t,r,n,a){var i;if(t&&t.ecModel){var o=t.ecModel.getUpdatePayload();i=o&&o.animation}var s=t&&t.isAnimationEnabled(),l=e==="update";if(s){var u=void 0,c=void 0,d=void 0;n?(u=Dt(n.duration,200),c=Dt(n.easing,"cubicOut"),d=0):(u=t.getShallow(l?"animationDurationUpdate":"animationDuration"),c=t.getShallow(l?"animationEasingUpdate":"animationEasing"),d=t.getShallow(l?"animationDelayUpdate":"animationDelay")),i&&(i.duration!=null&&(u=i.duration),i.easing!=null&&(c=i.easing),i.delay!=null&&(d=i.delay)),ft(d)&&(d=d(r,a)),ft(u)&&(u=u(r));var f={duration:u||0,delay:d,easing:c};return f}else return null}function lA(e,t,r,n,a,i,o){var s=!1,l;ft(a)?(o=i,i=a,a=null):vt(a)&&(i=a.cb,o=a.during,s=a.isFrom,l=a.removeOpt,a=a.dataIndex);var u=e==="leave";u||t.stopAnimation("leave");var c=Gp(e,n,a,u?l||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(t,a):null);if(c&&c.duration>0){var d=c.duration,f=c.delay,p=c.easing,h={duration:d,delay:f||0,easing:p,done:i,force:!!i||!!o,setToFinal:!u,scope:e,during:o};s?t.animateFrom(r,h):t.animateTo(r,h)}else t.stopAnimation(),!s&&t.attr(r),o&&o(1),i&&i()}function rr(e,t,r,n,a,i){lA("update",e,t,r,n,a,i)}function Ar(e,t,r,n,a,i){lA("enter",e,t,r,n,a,i)}function Gf(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){var r=e.animators[t];if(r.scope==="leave")return!0}return!1}function lu(e,t,r,n,a,i){Gf(e)||lA("leave",e,t,r,n,a,i)}function iD(e,t,r,n){e.removeTextContent(),e.removeTextGuideLine(),lu(e,{style:{opacity:0}},t,r,n)}function Pg(e,t,r){function n(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse(function(a){a.isGroup||iD(a,t,r,n)}):iD(e,t,r,n)}function co(e){fW(e).oldStyle=e.style}function Vot(e){return fW(e).oldStyle}var h2=Math.max,v2=Math.min,s6={};function Hot(e){return Vt.extend(e)}var Uot=got;function Got(e,t){return Uot(e,t)}function go(e,t){s6[e]=t}function uA(e){if(s6.hasOwnProperty(e))return s6[e]}function rb(e,t,r,n){var a=QG(e,t);return r&&(n==="center"&&(r=hW(r,a.getBoundingRect())),vW(a,r)),a}function pW(e,t,r){var n=new $n({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(a){if(r==="center"){var i={width:a.width,height:a.height};n.setStyle(hW(t,i))}}});return n}function hW(e,t){var r=t.width/t.height,n=e.height*r,a;n<=e.width?a=e.height:(n=e.width,a=n/r);var i=e.x+e.width/2,o=e.y+e.height/2;return{x:i-n/2,y:o-a/2,width:n,height:a}}var mi=mot;function vW(e,t){if(e.applyTransform){var r=e.getBoundingRect(),n=r.calculateTransform(t);e.applyTransform(n)}}function wp(e,t){return DG(e,e,{lineWidth:t}),e}function Wot(e){return OG(e.shape,e.shape,e.style),e}var u1=kc;function Zc(e,t){for(var r=W_([]);e&&e!==t;)As(r,e.getLocalTransform(),r),e=e.parent;return r}function oo(e,t,r){return t&&!qn(t)&&(t=ws.getLocalTransform(t)),r&&(t=Vp([],t)),Ln([],e,t)}function nb(e,t,r){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=[e==="left"?-n:e==="right"?n:0,e==="top"?-a:e==="bottom"?a:0];return i=oo(i,t,r),Math.abs(i[0])>Math.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function oD(e){return!e.isGroup}function Kot(e){return e.shape!=null}function Am(e,t,r){if(!e||!t)return;function n(o){var s={};return o.traverse(function(l){oD(l)&&l.anid&&(s[l.anid]=l)}),s}function a(o){var s={x:o.x,y:o.y,rotation:o.rotation};return Kot(o)&&(s.shape=Me({},o.shape)),s}var i=n(e);t.traverse(function(o){if(oD(o)&&o.anid){var s=i[o.anid];if(s){var l=a(o);o.attr(a(s)),rr(o,l,r,kt(o).dataIndex)}}})}function gW(e,t){return Pe(e,function(r){var n=r[0];n=h2(n,t.x),n=v2(n,t.x+t.width);var a=r[1];return a=h2(a,t.y),a=v2(a,t.y+t.height),[n,a]})}function Yot(e,t){var r=h2(e.x,t.x),n=v2(e.x+e.width,t.x+t.width),a=h2(e.y,t.y),i=v2(e.y+e.height,t.y+t.height);if(n>=r&&i>=a)return{x:r,y:a,width:n-r,height:i-a}}function km(e,t,r){var n=Me({rectHover:!0},t),a=n.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(a.image=e.slice(8),ht(a,r),new $n(n)):rb(e.replace("path://",""),n,r,"center")}function Jh(e,t,r,n,a){for(var i=0,o=a[a.length-1];i<a.length;i++){var s=a[i];if(mW(e,t,r,n,s[0],s[1],o[0],o[1]))return!0;o=s}}function mW(e,t,r,n,a,i,o,s){var l=r-e,u=n-t,c=o-a,d=s-i,f=rS(c,d,l,u);if(qot(f))return!1;var p=e-a,h=t-i,v=rS(p,h,l,u)/f;if(v<0||v>1)return!1;var g=rS(p,h,c,d)/f;return!(g<0||g>1)}function rS(e,t,r,n){return e*n-r*t}function qot(e){return e<=1e-6&&e>=-1e-6}function Wp(e){var t=e.itemTooltipOption,r=e.componentModel,n=e.itemName,a=et(t)?{formatter:t}:t,i=r.mainType,o=r.componentIndex,s={componentType:i,name:n,$vars:["name"]};s[i+"Index"]=o;var l=e.formatterParamsExtra;l&&G(Wt(l),function(c){nt(s,c)||(s[c]=l[c],s.$vars.push(c))});var u=kt(e.el);u.componentMainType=i,u.componentIndex=o,u.tooltipConfig={name:n,option:ht({content:n,formatterParams:s},a)}}function sD(e,t){var r;e.isGroup&&(r=t(e)),r||e.traverse(t)}function wu(e,t){if(e)if(Ne(e))for(var r=0;r<e.length;r++)sD(e[r],t);else sD(e,t)}go("circle",ts);go("ellipse",iA);go("sector",Na);go("ring",eb);go("polygon",Pa);go("polyline",Ba);go("rect",Xt);go("line",Sn);go("bezierCurve",tb);go("arc",oA);const Im=Object.freeze(Object.defineProperty({__proto__:null,Arc:oA,BezierCurve:tb,BoundingRect:Pt,Circle:ts,CompoundPath:sA,Ellipse:iA,Group:wt,Image:$n,IncrementalDisplayable:zot,Line:Sn,LinearGradient:xm,OrientedBoundingRect:p2,Path:Vt,Point:Lt,Polygon:Pa,Polyline:Ba,RadialGradient:dW,Rect:Xt,Ring:eb,Sector:Na,Text:er,applyTransform:oo,clipPointsByRect:gW,clipRectByRect:Yot,createIcon:km,extendPath:Got,extendShape:Hot,getShapeClass:uA,getTransform:Zc,groupTransition:Am,initProps:Ar,isElementRemoved:Gf,lineLineIntersect:mW,linePolygonIntersect:Jh,makeImage:pW,makePath:rb,mergePath:mi,registerShape:go,removeElement:lu,removeElementWithFadeOut:Pg,resizePath:vW,setTooltipConfig:Wp,subPixelOptimize:u1,subPixelOptimizeLine:wp,subPixelOptimizeRect:Wot,transformDirection:nb,traverseElements:wu,updateProps:rr},Symbol.toStringTag,{value:"Module"}));var ab={};function yW(e,t){for(var r=0;r<fa.length;r++){var n=fa[r],a=t[n],i=e.ensureState(n);i.style=i.style||{},i.style.text=a}var o=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(o,!0)}function l6(e,t,r){var n=e.labelFetcher,a=e.labelDataIndex,i=e.labelDimIndex,o=t.normal,s;n&&(s=n.getFormattedLabel(a,"normal",null,i,o&&o.get("formatter"),r!=null?{interpolatedValue:r}:null)),s==null&&(s=ft(e.defaultText)?e.defaultText(a,e,r):e.defaultText);for(var l={normal:s},u=0;u<fa.length;u++){var c=fa[u],d=t[c];l[c]=Dt(n?n.getFormattedLabel(a,c,null,i,d&&d.get("formatter")):null,s)}return l}function Pn(e,t,r,n){r=r||ab;for(var a=e instanceof er,i=!1,o=0;o<Og.length;o++){var s=t[Og[o]];if(s&&s.getShallow("show")){i=!0;break}}var l=a?e:e.getTextContent();if(i){a||(l||(l=new er,e.setTextContent(l)),e.stateProxy&&(l.stateProxy=e.stateProxy));var u=l6(r,t),c=t.normal,d=!!c.getShallow("show"),f=_r(c,n&&n.normal,r,!1,!a);f.text=u.normal,a||e.setTextConfig(g2(c,r,!1));for(var o=0;o<fa.length;o++){var p=fa[o],s=t[p];if(s){var h=l.ensureState(p),v=!!Dt(s.getShallow("show"),d);if(v!==d&&(h.ignore=!v),h.style=_r(s,n&&n[p],r,!0,!a),h.style.text=u[p],!a){var g=e.ensureState(p);g.textConfig=g2(s,r,!0)}}}l.silent=!!c.getShallow("silent"),l.style.x!=null&&(f.x=l.style.x),l.style.y!=null&&(f.y=l.style.y),l.ignore=!d,l.useStyle(f),l.dirty(),r.enableTextSetter&&(Kp(l).setLabelText=function(m){var y=l6(r,t,m);yW(l,y)})}else l&&(l.ignore=!0);e.dirty()}function vn(e,t){t=t||"label";for(var r={normal:e.getModel(t)},n=0;n<fa.length;n++){var a=fa[n];r[a]=e.getModel([a,t])}return r}function _r(e,t,r,n,a){var i={};return jot(i,e,r,n,a),t&&Me(i,t),i}function g2(e,t,r){t=t||{};var n={},a,i=e.getShallow("rotate"),o=Dt(e.getShallow("distance"),r?null:5),s=e.getShallow("offset");return a=e.getShallow("position")||(r?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=e.get("color")==="inherit"?t.inheritColor||null:"auto",n}function jot(e,t,r,n,a){r=r||ab;var i=t.ecModel,o=i&&i.option.textStyle,s=Xot(t),l;if(s){l={};for(var u in s)if(s.hasOwnProperty(u)){var c=t.getModel(["rich",u]);dD(l[u]={},c,o,r,n,a,!1,!0)}}l&&(e.rich=l);var d=t.get("overflow");d&&(e.overflow=d);var f=t.get("minMargin");f!=null&&(e.margin=f),dD(e,t,o,r,n,a,!0,!1)}function Xot(e){for(var t;e&&e!==e.ecModel;){var r=(e.option||ab).rich;if(r){t=t||{};for(var n=Wt(r),a=0;a<n.length;a++){var i=n[a];t[i]=1}}e=e.parentModel}return t}var lD=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],uD=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],cD=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function dD(e,t,r,n,a,i,o,s){r=!a&&r||ab;var l=n&&n.inheritColor,u=t.getShallow("color"),c=t.getShallow("textBorderColor"),d=Dt(t.getShallow("opacity"),r.opacity);(u==="inherit"||u==="auto")&&(l?u=l:u=null),(c==="inherit"||c==="auto")&&(l?c=l:c=null),i||(u=u||r.color,c=c||r.textBorderColor),u!=null&&(e.fill=u),c!=null&&(e.stroke=c);var f=Dt(t.getShallow("textBorderWidth"),r.textBorderWidth);f!=null&&(e.lineWidth=f);var p=Dt(t.getShallow("textBorderType"),r.textBorderType);p!=null&&(e.lineDash=p);var h=Dt(t.getShallow("textBorderDashOffset"),r.textBorderDashOffset);h!=null&&(e.lineDashOffset=h),!a&&d==null&&!s&&(d=n&&n.defaultOpacity),d!=null&&(e.opacity=d),!a&&!i&&e.fill==null&&n.inheritColor&&(e.fill=n.inheritColor);for(var v=0;v<lD.length;v++){var g=lD[v],m=Dt(t.getShallow(g),r[g]);m!=null&&(e[g]=m)}for(var v=0;v<uD.length;v++){var g=uD[v],m=t.getShallow(g);m!=null&&(e[g]=m)}if(e.verticalAlign==null){var y=t.getShallow("baseline");y!=null&&(e.verticalAlign=y)}if(!o||!n.disableBox){for(var v=0;v<cD.length;v++){var g=cD[v],m=t.getShallow(g);m!=null&&(e[g]=m)}var _=t.getShallow("borderType");_!=null&&(e.borderDash=_),(e.backgroundColor==="auto"||e.backgroundColor==="inherit")&&l&&(e.backgroundColor=l),(e.borderColor==="auto"||e.borderColor==="inherit")&&l&&(e.borderColor=l)}}function _W(e,t){var r=t&&t.getModel("textStyle");return eo([e.fontStyle||r&&r.getShallow("fontStyle")||"",e.fontWeight||r&&r.getShallow("fontWeight")||"",(e.fontSize||r&&r.getShallow("fontSize")||12)+"px",e.fontFamily||r&&r.getShallow("fontFamily")||"sans-serif"].join(" "))}var Kp=Zt();function bW(e,t,r,n){if(e){var a=Kp(e);a.prevValue=a.value,a.value=r;var i=t.normal;a.valueAnimation=i.get("valueAnimation"),a.valueAnimation&&(a.precision=i.get("precision"),a.defaultInterpolatedText=n,a.statesModels=t)}}function wW(e,t,r,n,a){var i=Kp(e);if(!i.valueAnimation||i.prevValue===i.value)return;var o=i.defaultInterpolatedText,s=Dt(i.interpolatedValue,i.prevValue),l=i.value;function u(c){var d=SG(r,i.precision,s,l,c);i.interpolatedValue=c===1?null:d;var f=l6({labelDataIndex:t,labelFetcher:a,defaultText:o?o(d):d+""},i.statesModels,d);yW(e,f)}e.percent=0,(i.prevValue==null?Ar:rr)(e,{percent:1},n,t,null,u)}var Zot=["textStyle","color"],nS=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],aS=new er,Qot=function(){function e(){}return e.prototype.getTextColor=function(t){var r=this.ecModel;return this.getShallow("color")||(!t&&r?r.get(Zot):null)},e.prototype.getFont=function(){return _W({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(t){for(var r={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<nS.length;n++)r[nS[n]]=this.getShallow(nS[n]);return aS.useStyle(r),aS.update(),aS.getBoundingRect()},e}();const Jot=Qot;var SW=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],est=vd(SW),tst=function(){function e(){}return e.prototype.getLineStyle=function(t){return est(this,t)},e}(),EW=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],rst=vd(EW),nst=function(){function e(){}return e.prototype.getItemStyle=function(t,r){return rst(this,t,r)},e}(),Rd=function(){function e(t,r,n){this.parentModel=r,this.ecModel=n,this.option=t}return e.prototype.init=function(t,r,n){},e.prototype.mergeOption=function(t,r){Nt(this.option,t,!0)},e.prototype.get=function(t,r){return t==null?this.option:this._doGet(this.parsePath(t),!r&&this.parentModel)},e.prototype.getShallow=function(t,r){var n=this.option,a=n==null?n:n[t];if(a==null&&!r){var i=this.parentModel;i&&(a=i.getShallow(t))}return a},e.prototype.getModel=function(t,r){var n=t!=null,a=n?this.parsePath(t):null,i=n?this._doGet(a):this.option;return r=r||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(a)),new e(i,r,this.ecModel)},e.prototype.isEmpty=function(){return this.option==null},e.prototype.restoreData=function(){},e.prototype.clone=function(){var t=this.constructor;return new t(_t(this.option))},e.prototype.parsePath=function(t){return typeof t=="string"?t.split("."):t},e.prototype.resolveParentPath=function(t){return t},e.prototype.isAnimationEnabled=function(){if(!Jt.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(t,r){var n=this.option;if(!t)return n;for(var a=0;a<t.length&&!(t[a]&&(n=n&&typeof n=="object"?n[t[a]]:null,n==null));a++);return n==null&&r&&(n=r._doGet(this.resolveParentPath(t),r.parentModel)),n},e}();Zx(Rd);rit(Rd);on(Rd,tst);on(Rd,nst);on(Rd,sit);on(Rd,Jot);const br=Rd;var ast=Math.round(Math.random()*10);function Yp(e){return[e||"",ast++].join("_")}function ist(e){var t={};e.registerSubTypeDefaulter=function(r,n){var a=$o(r);t[a.main]=n},e.determineSubType=function(r,n){var a=n.type;if(!a){var i=$o(r).main;e.hasSubTypes(r)&&t[i]&&(a=t[i](n))}return a}}function ost(e,t){e.topologicalTravel=function(i,o,s,l){if(!i.length)return;var u=r(o),c=u.graph,d=u.noEntryList,f={};for(G(i,function(y){f[y]=!0});d.length;){var p=d.pop(),h=c[p],v=!!f[p];v&&(s.call(l,p,h.originalDeps.slice()),delete f[p]),G(h.successor,v?m:g)}G(f,function(){var y="";throw new Error(y)});function g(y){c[y].entryCount--,c[y].entryCount===0&&d.push(y)}function m(y){f[y]=!0,g(y)}};function r(i){var o={},s=[];return G(i,function(l){var u=n(o,l),c=u.originalDeps=t(l),d=a(c,i);u.entryCount=d.length,u.entryCount===0&&s.push(l),G(d,function(f){Bt(u.predecessor,f)<0&&u.predecessor.push(f);var p=n(o,f);Bt(p.successor,f)<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 G(i,function(l){Bt(o,l)>=0&&s.push(l)}),s}}function Su(e,t){return Nt(Nt({},e,!0),t,!0)}const sst={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"}},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:". "}}}},lst={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:"旭日图"}},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 m2="ZH",cA="EN",$g=cA,c1={},dA={},CW=Jt.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return e.indexOf(m2)>-1?m2:$g}():$g;function TW(e,t){e=e.toUpperCase(),dA[e]=new br(t),c1[e]=t}function ust(e){if(et(e)){var t=c1[e.toUpperCase()]||{};return e===m2||e===cA?_t(t):Nt(_t(t),_t(c1[$g]),!1)}else return Nt(_t(e),_t(c1[$g]),!1)}function u6(e){return dA[e]}function cst(){return dA[$g]}TW(cA,sst);TW(m2,lst);var fA=1e3,pA=fA*60,Dv=pA*60,yi=Dv*24,fD=yi*365,ev={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}"},D0="{yyyy}-{MM}-{dd}",pD={year:"{yyyy}",month:"{yyyy}-{MM}",day:D0,hour:D0+" "+ev.hour,minute:D0+" "+ev.minute,second:D0+" "+ev.second,millisecond:ev.none},iS=["year","month","day","hour","minute","second","millisecond"],xW=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function ll(e,t){return e+="","0000".substr(0,t-e.length)+e}function Wf(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function dst(e){return e===Wf(e)}function fst(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function ib(e,t,r,n){var a=Jo(e),i=a[hA(r)](),o=a[Kf(r)]()+1,s=Math.floor((o-1)/3)+1,l=a[ob(r)](),u=a["get"+(r?"UTC":"")+"Day"](),c=a[Bg(r)](),d=(c-1)%12+1,f=a[sb(r)](),p=a[lb(r)](),h=a[ub(r)](),v=n instanceof br?n:u6(n||CW)||cst(),g=v.getModel("time"),m=g.get("month"),y=g.get("monthAbbr"),_=g.get("dayOfWeek"),w=g.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,ll(i%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,m[o-1]).replace(/{MMM}/g,y[o-1]).replace(/{MM}/g,ll(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,ll(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,w[u]).replace(/{e}/g,u+"").replace(/{HH}/g,ll(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,ll(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,ll(f,2)).replace(/{m}/g,f+"").replace(/{ss}/g,ll(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,ll(h,3)).replace(/{S}/g,h+"")}function pst(e,t,r,n,a){var i=null;if(et(r))i=r;else if(ft(r))i=r(e.value,t,{level:e.level});else{var o=Me({},ev);if(e.level>0)for(var s=0;s<iS.length;++s)o[iS[s]]="{primary|"+o[iS[s]]+"}";var l=r?r.inherit===!1?r:ht(r,o):o,u=AW(e.value,a);if(l[u])i=l[u];else if(l.inherit){for(var c=xW.indexOf(u),s=c-1;s>=0;--s)if(l[u]){i=l[u];break}i=i||o.none}if(Ne(i)){var d=e.level==null?0:e.level>=0?e.level:i.length+e.level;d=Math.min(d,i.length-1),i=i[d]}}return ib(new Date(e.value),i,a,n)}function AW(e,t){var r=Jo(e),n=r[Kf(t)]()+1,a=r[ob(t)](),i=r[Bg(t)](),o=r[sb(t)](),s=r[lb(t)](),l=r[ub(t)](),u=l===0,c=u&&s===0,d=c&&o===0,f=d&&i===0,p=f&&a===1,h=p&&n===1;return h?"year":p?"month":f?"day":d?"hour":c?"minute":u?"second":"millisecond"}function hD(e,t,r){var n=tr(e)?Jo(e):e;switch(t=t||AW(e,r),t){case"year":return n[hA(r)]();case"half-year":return n[Kf(r)]()>=6?1:0;case"quarter":return Math.floor((n[Kf(r)]()+1)/4);case"month":return n[Kf(r)]();case"day":return n[ob(r)]();case"half-day":return n[Bg(r)]()/24;case"hour":return n[Bg(r)]();case"minute":return n[sb(r)]();case"second":return n[lb(r)]();case"millisecond":return n[ub(r)]()}}function hA(e){return e?"getUTCFullYear":"getFullYear"}function Kf(e){return e?"getUTCMonth":"getMonth"}function ob(e){return e?"getUTCDate":"getDate"}function Bg(e){return e?"getUTCHours":"getHours"}function sb(e){return e?"getUTCMinutes":"getMinutes"}function lb(e){return e?"getUTCSeconds":"getSeconds"}function ub(e){return e?"getUTCMilliseconds":"getMilliseconds"}function hst(e){return e?"setUTCFullYear":"setFullYear"}function kW(e){return e?"setUTCMonth":"setMonth"}function IW(e){return e?"setUTCDate":"setDate"}function RW(e){return e?"setUTCHours":"setHours"}function MW(e){return e?"setUTCMinutes":"setMinutes"}function LW(e){return e?"setUTCSeconds":"setSeconds"}function DW(e){return e?"setUTCMilliseconds":"setMilliseconds"}function OW(e){if(!hG(e))return et(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function NW(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(r,n){return n.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var qp=zx;function c6(e,t,r){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function a(c){return c&&eo(c)?c:"-"}function i(c){return!!(c!=null&&!isNaN(c)&&isFinite(c))}var o=t==="time",s=e instanceof Date;if(o||s){var l=o?Jo(e):e;if(isNaN(+l)){if(s)return"-"}else return ib(l,n,r)}if(t==="ordinal")return IE(e)?a(e):tr(e)&&i(e)?e+"":"-";var u=Fs(e);return i(u)?OW(u):IE(e)?a(e):typeof e=="boolean"?e+"":"-"}var vD=["a","b","c","d","e","f","g"],oS=function(e,t){return"{"+e+(t??"")+"}"};function PW(e,t,r){Ne(t)||(t=[t]);var n=t.length;if(!n)return"";for(var a=t[0].$vars||[],i=0;i<a.length;i++){var o=vD[i];e=e.replace(oS(o),oS(o,0))}for(var s=0;s<n;s++)for(var l=0;l<a.length;l++){var u=t[s][a[l]];e=e.replace(oS(vD[l],s),r?_a(u):u)}return e}function vst(e,t,r){return G(t,function(n,a){e=e.replace("{"+a+"}",r?_a(n):n)}),e}function gst(e,t){var r=et(e)?{color:e,extraCssText:t}:e||{},n=r.color,a=r.type;t=r.extraCssText;var i=r.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:'+_a(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+_a(n)+";"+(t||"")+'"></span>';var o=r.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 md(e,t){return t=t||"transparent",et(e)?e:vt(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function y2(e,t){if(t==="_blank"||t==="blank"){var r=window.open();r.opener=null,r.location.href=e}else window.open(e,t)}var d1=G,$W=["left","right","top","bottom","width","height"],Rc=[["width","left","right"],["height","top","bottom"]];function vA(e,t,r,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(),d=t.childAt(u+1),f=d&&d.getBoundingRect(),p,h;if(e==="horizontal"){var v=c.width+(f?-f.x+c.x:0);p=i+v,p>n||l.newline?(i=0,p=v,o+=s+r,s=c.height):s=Math.max(s,c.height)}else{var g=c.height+(f?-f.y+c.y:0);h=o+g,h>a||l.newline?(i+=s+r,o=0,h=g,s=c.width):s=Math.max(s,c.width)}l.newline||(l.x=i,l.y=o,l.markRedraw(),e==="horizontal"?i=p+r:o=h+r)})}var Qc=vA;Rt(vA,"vertical");Rt(vA,"horizontal");function mst(e,t,r){var n=t.width,a=t.height,i=Ze(e.left,n),o=Ze(e.top,a),s=Ze(e.right,n),l=Ze(e.bottom,a);return(isNaN(i)||isNaN(parseFloat(e.left)))&&(i=0),(isNaN(s)||isNaN(parseFloat(e.right)))&&(s=n),(isNaN(o)||isNaN(parseFloat(e.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(e.bottom)))&&(l=a),r=qp(r||0),{width:Math.max(s-i-r[1]-r[3],0),height:Math.max(l-o-r[0]-r[2],0)}}function cn(e,t,r){r=qp(r||0);var n=t.width,a=t.height,i=Ze(e.left,n),o=Ze(e.top,a),s=Ze(e.right,n),l=Ze(e.bottom,a),u=Ze(e.width,n),c=Ze(e.height,a),d=r[2]+r[0],f=r[1]+r[3],p=e.aspect;switch(isNaN(u)&&(u=n-s-f-i),isNaN(c)&&(c=a-l-d-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-f),isNaN(o)&&(o=a-l-c-d),e.left||e.right){case"center":i=n/2-u/2-r[3];break;case"right":i=n-u-f;break}switch(e.top||e.bottom){case"middle":case"center":o=a/2-c/2-r[0];break;case"bottom":o=a-c-d;break}i=i||0,o=o||0,isNaN(u)&&(u=n-f-i-(s||0)),isNaN(c)&&(c=a-d-o-(l||0));var h=new Pt(i+r[3],o+r[0],u,c);return h.margin=r,h}function cb(e,t,r,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||e,i.x=e.x,i.y=e.y,!o&&!s)return!1;var u;if(l==="raw")u=e.type==="group"?new Pt(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(u=e.getBoundingRect(),e.needLocalTransform()){var c=e.getLocalTransform();u=u.clone(),u.applyTransform(c)}var d=cn(ht({width:u.width,height:u.height},t),r,n),f=o?d.x-u.x:0,p=s?d.y-u.y:0;return l==="raw"?(i.x=f,i.y=p):(i.x+=f,i.y+=p),i===e&&e.markRedraw(),!0}function yst(e,t){return e[Rc[t][0]]!=null||e[Rc[t][1]]!=null&&e[Rc[t][2]]!=null}function Fg(e){var t=e.layoutMode||e.constructor.layoutMode;return vt(t)?t:t?{type:t}:null}function uu(e,t,r){var n=r&&r.ignoreSize;!Ne(n)&&(n=[n,n]);var a=o(Rc[0],0),i=o(Rc[1],1);u(Rc[0],e,a),u(Rc[1],e,i);function o(c,d){var f={},p=0,h={},v=0,g=2;if(d1(c,function(_){h[_]=e[_]}),d1(c,function(_){s(t,_)&&(f[_]=h[_]=t[_]),l(f,_)&&p++,l(h,_)&&v++}),n[d])return l(t,c[1])?h[c[2]]=null:l(t,c[2])&&(h[c[1]]=null),h;if(v===g||!p)return h;if(p>=g)return f;for(var m=0;m<c.length;m++){var y=c[m];if(!s(f,y)&&s(e,y)){f[y]=e[y];break}}return f}function s(c,d){return c.hasOwnProperty(d)}function l(c,d){return c[d]!=null&&c[d]!=="auto"}function u(c,d,f){d1(c,function(p){d[p]=f[p]})}}function jp(e){return BW({},e)}function BW(e,t){return t&&e&&d1($W,function(r){t.hasOwnProperty(r)&&(e[r]=t[r])}),e}var _st=Zt(),Xp=function(e){ye(t,e);function t(r,n,a){var i=e.call(this,r,n,a)||this;return i.uid=Yp("ec_cpt_model"),i}return t.prototype.init=function(r,n,a){this.mergeDefaultAndTheme(r,a)},t.prototype.mergeDefaultAndTheme=function(r,n){var a=Fg(this),i=a?jp(r):{},o=n.getTheme();Nt(r,o.get(this.mainType)),Nt(r,this.getDefaultOption()),a&&uu(r,i,a)},t.prototype.mergeOption=function(r,n){Nt(this.option,r,!0);var a=Fg(this);a&&uu(this.option,r,a)},t.prototype.optionUpdated=function(r,n){},t.prototype.getDefaultOption=function(){var r=this.constructor;if(!Jat(r))return r.defaultOption;var n=_st(this);if(!n.defaultOption){for(var a=[],i=r;i;){var o=i.prototype.defaultOption;o&&a.push(o),i=i.superClass}for(var s={},l=a.length-1;l>=0;l--)s=Nt(s,a[l],!0);n.defaultOption=s}return n.defaultOption},t.prototype.getReferringComponents=function(r,n){var a=r+"Index",i=r+"Id";return Cm(this.ecModel,r,{index:this.get(a,!0),id:this.get(i,!0)},n)},t.prototype.getBoxLayoutParams=function(){var r=this;return{left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(r){this.option.zlevel=r},t.protoInitialize=function(){var r=t.prototype;r.type="component",r.id="",r.name="",r.mainType="",r.subType="",r.componentIndex=0}(),t}(br);CG(Xp,br);q_(Xp);ist(Xp);ost(Xp,bst);function bst(e){var t=[];return G(Xp.getClassesByMainType(e),function(r){t=t.concat(r.dependencies||r.prototype.dependencies||[])}),t=Pe(t,function(r){return $o(r).main}),e!=="dataset"&&Bt(t,"dataset")<=0&&t.unshift("dataset"),t}const Qt=Xp;var FW="";typeof navigator<"u"&&(FW=navigator.platform||"");var jd="rgba(0, 0, 0, 0.2)";const wst={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:jd,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:jd,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:jd,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:jd,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:jd,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:jd,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:FW.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 zW=lt(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Bi="original",jn="arrayRows",Fi="objectRows",as="keyedColumns",ql="typedArray",VW="unknown",Uo="column",Zp="row",An={Must:1,Might:2,Not:3},HW=Zt();function Sst(e){HW(e).datasetMap=lt()}function UW(e,t,r){var n={},a=mA(t);if(!a||!e)return n;var i=[],o=[],s=t.ecModel,l=HW(s).datasetMap,u=a.uid+"_"+r.seriesLayoutBy,c,d;e=e.slice(),G(e,function(v,g){var m=vt(v)?v:e[g]={name:v};m.type==="ordinal"&&c==null&&(c=g,d=h(m)),n[m.name]=[]});var f=l.get(u)||l.set(u,{categoryWayDim:d,valueWayDim:0});G(e,function(v,g){var m=v.name,y=h(v);if(c==null){var _=f.valueWayDim;p(n[m],_,y),p(o,_,y),f.valueWayDim+=y}else if(c===g)p(n[m],0,y),p(i,0,y);else{var _=f.categoryWayDim;p(n[m],_,y),p(o,_,y),f.categoryWayDim+=y}});function p(v,g,m){for(var y=0;y<m;y++)v.push(g+y)}function h(v){var g=v.dimsDef;return g?g.length:1}return i.length&&(n.itemName=i),o.length&&(n.seriesName=o),n}function gA(e,t,r){var n={},a=mA(e);if(!a)return n;var i=t.sourceFormat,o=t.dimensionsDefine,s;(i===Fi||i===as)&&G(o,function(c,d){(vt(c)?c.name:c)==="name"&&(s=d)});var l=function(){for(var c={},d={},f=[],p=0,h=Math.min(5,r);p<h;p++){var v=WW(t.data,i,t.seriesLayoutBy,o,t.startIndex,p);f.push(v);var g=v===An.Not;if(g&&c.v==null&&p!==s&&(c.v=p),(c.n==null||c.n===c.v||!g&&f[c.n]===An.Not)&&(c.n=p),m(c)&&f[c.n]!==An.Not)return c;g||(v===An.Might&&d.v==null&&p!==s&&(d.v=p),(d.n==null||d.n===d.v)&&(d.n=p))}function m(y){return y.v!=null&&y.n!=null}return m(c)?c:m(d)?d:null}();if(l){n.value=[l.v];var u=s??l.n;n.itemName=[u],n.seriesName=[u]}return n}function mA(e){var t=e.get("data",!0);if(!t)return Cm(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},en).models[0]}function Est(e){return!e.get("transform",!0)&&!e.get("fromTransformResult",!0)?[]:Cm(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},en).models}function GW(e,t){return WW(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function WW(e,t,r,n,a,i){var o,s=5;if(ei(e))return An.Not;var l,u;if(n){var c=n[i];vt(c)?(l=c.name,u=c.type):et(c)&&(l=c)}if(u!=null)return u==="ordinal"?An.Must:An.Not;if(t===jn){var d=e;if(r===Zp){for(var f=d[i],p=0;p<(f||[]).length&&p<s;p++)if((o=w(f[a+p]))!=null)return o}else for(var p=0;p<d.length&&p<s;p++){var h=d[a+p];if(h&&(o=w(h[i]))!=null)return o}}else if(t===Fi){var v=e;if(!l)return An.Not;for(var p=0;p<v.length&&p<s;p++){var g=v[p];if(g&&(o=w(g[l]))!=null)return o}}else if(t===as){var m=e;if(!l)return An.Not;var f=m[l];if(!f||ei(f))return An.Not;for(var p=0;p<f.length&&p<s;p++)if((o=w(f[p]))!=null)return o}else if(t===Bi)for(var y=e,p=0;p<y.length&&p<s;p++){var g=y[p],_=Hp(g);if(!Ne(_))return An.Not;if((o=w(_[i]))!=null)return o}function w(E){var S=et(E);if(E!=null&&isFinite(E)&&E!=="")return S?An.Might:An.Not;if(S&&E!=="-")return An.Must}return An.Not}var d6=lt();function Cst(e,t){da(d6.get(e)==null&&t),d6.set(e,t)}function Tst(e,t,r){var n=d6.get(t);if(!n)return r;var a=n(e);return a?r.concat(a):r}var gD=Zt(),xst=Zt(),yA=function(){function e(){}return e.prototype.getColorFromPalette=function(t,r,n){var a=fr(this.get("color",!0)),i=this.get("colorLayer",!0);return KW(this,gD,a,i,t,r,n)},e.prototype.clearColorPalette=function(){kst(this,gD)},e}();function f6(e,t,r,n){var a=fr(e.get(["aria","decal","decals"]));return KW(e,xst,a,null,t,r,n)}function Ast(e,t){for(var r=e.length,n=0;n<r;n++)if(e[n].length>t)return e[n];return e[r-1]}function KW(e,t,r,n,a,i,o){i=i||e;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?r:Ast(n,o);if(c=c||r,!(!c||!c.length)){var d=c[l];return a&&(u[a]=d),s.paletteIdx=(l+1)%c.length,d}}function kst(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var O0,wh,mD,yD="\0_ec_inner",Ist=1,YW=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(r,n,a,i,o,s){i=i||{},this.option=null,this._theme=new br(i),this._locale=new br(o),this._optionManager=s},t.prototype.setOption=function(r,n,a){var i=wD(n);this._optionManager.setOption(r,a,i),this._resetOption(null,i)},t.prototype.resetOption=function(r,n){return this._resetOption(r,wD(n))},t.prototype._resetOption=function(r,n){var a=!1,i=this._optionManager;if(!r||r==="recreate"){var o=i.mountOption(r==="recreate");!this.option||r==="recreate"?mD(this,o):(this.restoreData(),this._mergeOption(o,n)),a=!0}if((r==="timeline"||r==="media")&&this.restoreData(),!r||r==="recreate"||r==="timeline"){var s=i.getTimelineOption(this);s&&(a=!0,this._mergeOption(s,n))}if(!r||r==="recreate"||r==="media"){var l=i.getMediaOption(this);l.length&&G(l,function(u){a=!0,this._mergeOption(u,n)},this)}return a},t.prototype.mergeOption=function(r){this._mergeOption(r,null)},t.prototype._mergeOption=function(r,n){var a=this.option,i=this._componentsMap,o=this._componentsCount,s=[],l=lt(),u=n&&n.replaceMergeMainTypeMap;Sst(this),G(r,function(d,f){d!=null&&(Qt.hasClass(f)?f&&(s.push(f),l.set(f,!0)):a[f]=a[f]==null?_t(d):Nt(a[f],d,!0))}),u&&u.each(function(d,f){Qt.hasClass(f)&&!l.get(f)&&(s.push(f),l.set(f,!0))}),Qt.topologicalTravel(s,Qt.getAllClassMainTypes(),c,this);function c(d){var f=Tst(this,d,fr(r[d])),p=i.get(d),h=p?u&&u.get(d)?"replaceMerge":"normalMerge":"replaceAll",v=_G(p,f,h);Gat(v,d,Qt),a[d]=null,i.set(d,null),o.set(d,0);var g=[],m=[],y=0,_;G(v,function(w,E){var S=w.existing,C=w.newOption;if(!C)S&&(S.mergeOption({},this),S.optionUpdated({},!1));else{var T=d==="series",x=Qt.getClass(d,w.keyInfo.subType,!T);if(!x)return;if(d==="tooltip"){if(_)return;_=!0}if(S&&S.constructor===x)S.name=w.keyInfo.name,S.mergeOption(C,this),S.optionUpdated(C,!1);else{var A=Me({componentIndex:E},w.keyInfo);S=new x(C,this,this,A),Me(S,A),w.brandNew&&(S.__requireNewView=!0),S.init(C,this,this),S.optionUpdated(null,!0)}}S?(g.push(S.option),m.push(S),y++):(g.push(void 0),m.push(void 0))},this),a[d]=g,i.set(d,m),o.set(d,y),d==="series"&&O0(this)}this._seriesIndices||O0(this)},t.prototype.getOption=function(){var r=_t(this.option);return G(r,function(n,a){if(Qt.hasClass(a)){for(var i=fr(n),o=i.length,s=!1,l=o-1;l>=0;l--)i[l]&&!Lg(i[l])?s=!0:(i[l]=null,!s&&o--);i.length=o,r[a]=i}}),delete r[yD],r},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(r){this._payload=r},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(r,n){var a=this._componentsMap.get(r);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(r){var n=r.mainType;if(!n)return[];var a=r.index,i=r.id,o=r.name,s=this._componentsMap.get(n);if(!s||!s.length)return[];var l;return a!=null?(l=[],G(fr(a),function(u){s[u]&&l.push(s[u])})):i!=null?l=_D("id",i,s):o!=null?l=_D("name",o,s):l=ur(s,function(u){return!!u}),bD(l,r)},t.prototype.findComponents=function(r){var n=r.query,a=r.mainType,i=s(n),o=i?this.queryComponents(i):ur(this._componentsMap.get(a),function(u){return!!u});return l(bD(o,r));function s(u){var c=a+"Index",d=a+"Id",f=a+"Name";return u&&(u[c]!=null||u[d]!=null||u[f]!=null)?{mainType:a,index:u[c],id:u[d],name:u[f]}:null}function l(u){return r.filter?ur(u,r.filter):u}},t.prototype.eachComponent=function(r,n,a){var i=this._componentsMap;if(ft(r)){var o=n,s=r;i.each(function(d,f){for(var p=0;d&&p<d.length;p++){var h=d[p];h&&s.call(o,f,h,h.componentIndex)}})}else for(var l=et(r)?i.get(r):vt(r)?this.findComponents(r):null,u=0;l&&u<l.length;u++){var c=l[u];c&&n.call(a,c,c.componentIndex)}},t.prototype.getSeriesByName=function(r){var n=ln(r,null);return ur(this._componentsMap.get("series"),function(a){return!!a&&n!=null&&a.name===n})},t.prototype.getSeriesByIndex=function(r){return this._componentsMap.get("series")[r]},t.prototype.getSeriesByType=function(r){return ur(this._componentsMap.get("series"),function(n){return!!n&&n.subType===r})},t.prototype.getSeries=function(){return ur(this._componentsMap.get("series"),function(r){return!!r})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(r,n){wh(this),G(this._seriesIndices,function(a){var i=this._componentsMap.get("series")[a];r.call(n,i,a)},this)},t.prototype.eachRawSeries=function(r,n){G(this._componentsMap.get("series"),function(a){a&&r.call(n,a,a.componentIndex)})},t.prototype.eachSeriesByType=function(r,n,a){wh(this),G(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];o.subType===r&&n.call(a,o,i)},this)},t.prototype.eachRawSeriesByType=function(r,n,a){return G(this.getSeriesByType(r),n,a)},t.prototype.isSeriesFiltered=function(r){return wh(this),this._seriesIndicesMap.get(r.componentIndex)==null},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(r,n){wh(this);var a=[];G(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];r.call(n,o,i)&&a.push(i)},this),this._seriesIndices=a,this._seriesIndicesMap=lt(a)},t.prototype.restoreData=function(r){O0(this);var n=this._componentsMap,a=[];n.each(function(i,o){Qt.hasClass(o)&&a.push(o)}),Qt.topologicalTravel(a,Qt.getAllClassMainTypes(),function(i){G(n.get(i),function(o){o&&(i!=="series"||!Rst(o,r))&&o.restoreData()})})},t.internalField=function(){O0=function(r){var n=r._seriesIndices=[];G(r._componentsMap.get("series"),function(a){a&&n.push(a.componentIndex)}),r._seriesIndicesMap=lt(n)},wh=function(r){},mD=function(r,n){r.option={},r.option[yD]=Ist,r._componentsMap=lt({series:[]}),r._componentsCount=lt();var a=n.aria;vt(a)&&a.enabled==null&&(a.enabled=!0),Mst(n,r._theme.option),Nt(n,wst,!1),r._mergeOption(n,null)}}(),t}(br);function Rst(e,t){if(t){var r=t.seriesIndex,n=t.seriesId,a=t.seriesName;return r!=null&&e.componentIndex!==r||n!=null&&e.id!==n||a!=null&&e.name!==a}}function Mst(e,t){var r=e.color&&!e.colorLayer;G(t,function(n,a){a==="colorLayer"&&r||Qt.hasClass(a)||(typeof n=="object"?e[a]=e[a]?Nt(e[a],n,!1):_t(n):e[a]==null&&(e[a]=n))})}function _D(e,t,r){if(Ne(t)){var n=lt();return G(t,function(i){if(i!=null){var o=ln(i,null);o!=null&&n.set(i,!0)}}),ur(r,function(i){return i&&n.get(i[e])})}else{var a=ln(t,null);return ur(r,function(i){return i&&a!=null&&i[e]===a})}}function bD(e,t){return t.hasOwnProperty("subType")?ur(e,function(r){return r&&r.subType===t.subType}):e}function wD(e){var t=lt();return e&&G(fr(e.replaceMerge),function(r){t.set(r,!0)}),{replaceMergeMainTypeMap:t}}on(YW,yA);const qW=YW;var Lst=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Dst=function(){function e(t){G(Lst,function(r){this[r]=rt(t[r],t)},this)}return e}();const jW=Dst;var sS={},Ost=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(t,r){var n=[];G(sS,function(a,i){var o=a.create(t,r);n=n.concat(o||[])}),this._coordinateSystems=n},e.prototype.update=function(t,r){G(this._coordinateSystems,function(n){n.update&&n.update(t,r)})},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(t,r){sS[t]=r},e.get=function(t){return sS[t]},e}();const Rm=Ost;var Nst=/^(min|max)?(.+)$/,Pst=function(){function e(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return e.prototype.setOption=function(t,r,n){t&&(G(fr(t.series),function(o){o&&o.data&&ei(o.data)&&t2(o.data)}),G(fr(t.dataset),function(o){o&&o.source&&ei(o.source)&&t2(o.source)})),t=_t(t);var a=this._optionBackup,i=$st(t,r,!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},e.prototype.mountOption=function(t){var r=this._optionBackup;return this._timelineOptions=r.timelineOptions,this._mediaList=r.mediaList,this._mediaDefault=r.mediaDefault,this._currentMediaIndices=[],_t(t?r.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(t){var r,n=this._timelineOptions;if(n.length){var a=t.getComponent("timeline");a&&(r=_t(n[a.getCurrentIndex()]))}return r},e.prototype.getMediaOption=function(t){var r=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++)Bst(a[l].query,r,n)&&o.push(l);return!o.length&&i&&(o=[-1]),o.length&&!zst(o,this._currentMediaIndices)&&(s=Pe(o,function(c){return _t(c===-1?i.option:a[c].option)})),this._currentMediaIndices=o,s},e}();function $st(e,t,r){var n=[],a,i,o=e.baseOption,s=e.timeline,l=e.options,u=e.media,c=!!e.media,d=!!(l||s||o&&o.timeline);o?(i=o,i.timeline||(i.timeline=s)):((d||c)&&(e.options=e.media=null),i=e),c&&Ne(u)&&G(u,function(p){p&&p.option&&(p.query?n.push(p):a||(a=p))}),f(i),G(l,function(p){return f(p)}),G(n,function(p){return f(p.option)});function f(p){G(t,function(h){h(p,r)})}return{baseOption:i,timelineOptions:l||[],mediaDefault:a,mediaList:n}}function Bst(e,t,r){var n={width:t,height:r,aspectratio:t/r},a=!0;return G(e,function(i,o){var s=o.match(Nst);if(!(!s||!s[1]||!s[2])){var l=s[1],u=s[2].toLowerCase();Fst(n[u],i,l)||(a=!1)}}),a}function Fst(e,t,r){return r==="min"?e>=t:r==="max"?e<=t:e===t}function zst(e,t){return e.join(",")===t.join(",")}const Vst=Pst;var Hi=G,zg=vt,SD=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function lS(e){var t=e&&e.itemStyle;if(t)for(var r=0,n=SD.length;r<n;r++){var a=SD[r],i=t.normal,o=t.emphasis;i&&i[a]&&(e[a]=e[a]||{},e[a].normal?Nt(e[a].normal,i[a]):e[a].normal=i[a],i[a]=null),o&&o[a]&&(e[a]=e[a]||{},e[a].emphasis?Nt(e[a].emphasis,o[a]):e[a].emphasis=o[a],o[a]=null)}}function zn(e,t,r){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var n=e[t].normal,a=e[t].emphasis;n&&(r?(e[t].normal=e[t].emphasis=null,ht(e[t],n)):e[t]=n),a&&(e.emphasis=e.emphasis||{},e.emphasis[t]=a,a.focus&&(e.emphasis.focus=a.focus),a.blurScope&&(e.emphasis.blurScope=a.blurScope))}}function tv(e){zn(e,"itemStyle"),zn(e,"lineStyle"),zn(e,"areaStyle"),zn(e,"label"),zn(e,"labelLine"),zn(e,"upperLabel"),zn(e,"edgeLabel")}function Zr(e,t){var r=zg(e)&&e[t],n=zg(r)&&r.textStyle;if(n)for(var a=0,i=xL.length;a<i;a++){var o=xL[a];n.hasOwnProperty(o)&&(r[o]=n[o])}}function ci(e){e&&(tv(e),Zr(e,"label"),e.emphasis&&Zr(e.emphasis,"label"))}function Hst(e){if(zg(e)){lS(e),tv(e),Zr(e,"label"),Zr(e,"upperLabel"),Zr(e,"edgeLabel"),e.emphasis&&(Zr(e.emphasis,"label"),Zr(e.emphasis,"upperLabel"),Zr(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(lS(t),ci(t));var r=e.markLine;r&&(lS(r),ci(r));var n=e.markArea;n&&ci(n);var a=e.data;if(e.type==="graph"){a=a||e.nodes;var i=e.links||e.edges;if(i&&!ei(i))for(var o=0;o<i.length;o++)ci(i[o]);G(e.categories,function(u){tv(u)})}if(a&&!ei(a))for(var o=0;o<a.length;o++)ci(a[o]);if(t=e.markPoint,t&&t.data)for(var s=t.data,o=0;o<s.length;o++)ci(s[o]);if(r=e.markLine,r&&r.data)for(var l=r.data,o=0;o<l.length;o++)Ne(l[o])?(ci(l[o][0]),ci(l[o][1])):ci(l[o]);e.type==="gauge"?(Zr(e,"axisLabel"),Zr(e,"title"),Zr(e,"detail")):e.type==="treemap"?(zn(e.breadcrumb,"itemStyle"),G(e.levels,function(u){tv(u)})):e.type==="tree"&&tv(e.leaves)}}function us(e){return Ne(e)?e:e?[e]:[]}function ED(e){return(Ne(e)?e[0]:e)||{}}function Ust(e,t){Hi(us(e.series),function(n){zg(n)&&Hst(n)});var r=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&r.push("valueAxis","categoryAxis","logAxis","timeAxis"),Hi(r,function(n){Hi(us(e[n]),function(a){a&&(Zr(a,"axisLabel"),Zr(a.axisPointer,"label"))})}),Hi(us(e.parallel),function(n){var a=n&&n.parallelAxisDefault;Zr(a,"axisLabel"),Zr(a&&a.axisPointer,"label")}),Hi(us(e.calendar),function(n){zn(n,"itemStyle"),Zr(n,"dayLabel"),Zr(n,"monthLabel"),Zr(n,"yearLabel")}),Hi(us(e.radar),function(n){Zr(n,"name"),n.name&&n.axisName==null&&(n.axisName=n.name,delete n.name),n.nameGap!=null&&n.axisNameGap==null&&(n.axisNameGap=n.nameGap,delete n.nameGap)}),Hi(us(e.geo),function(n){zg(n)&&(ci(n),Hi(us(n.regions),function(a){ci(a)}))}),Hi(us(e.timeline),function(n){ci(n),zn(n,"label"),zn(n,"itemStyle"),zn(n,"controlStyle",!0);var a=n.data;Ne(a)&&G(a,function(i){vt(i)&&(zn(i,"label"),zn(i,"itemStyle"))})}),Hi(us(e.toolbox),function(n){zn(n,"iconStyle"),Hi(n.feature,function(a){zn(a,"iconStyle")})}),Zr(ED(e.axisPointer),"label"),Zr(ED(e.tooltip).axisPointer,"label")}function Gst(e,t){for(var r=t.split(","),n=e,a=0;a<r.length&&(n=n&&n[r[a]],n!=null);a++);return n}function Wst(e,t,r,n){for(var a=t.split(","),i=e,o,s=0;s<a.length-1;s++)o=a[s],i[o]==null&&(i[o]={}),i=i[o];(n||i[a[s]]==null)&&(i[a[s]]=r)}function CD(e){e&&G(Kst,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var Kst=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Yst=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],uS=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Sh(e){var t=e&&e.itemStyle;if(t)for(var r=0;r<uS.length;r++){var n=uS[r][1],a=uS[r][0];t[n]!=null&&(t[a]=t[n])}}function TD(e){e&&e.alignTo==="edge"&&e.margin!=null&&e.edgeDistance==null&&(e.edgeDistance=e.margin)}function xD(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function qst(e){e&&e.focusNodeAdjacency!=null&&(e.emphasis=e.emphasis||{},e.emphasis.focus==null&&(e.emphasis.focus="adjacency"))}function XW(e,t){if(e)for(var r=0;r<e.length;r++)t(e[r]),e[r]&&XW(e[r].children,t)}function ZW(e,t){Ust(e,t),e.series=fr(e.series),G(e.series,function(r){if(vt(r)){var n=r.type;if(n==="line")r.clipOverflow!=null&&(r.clip=r.clipOverflow);else if(n==="pie"||n==="gauge"){r.clockWise!=null&&(r.clockwise=r.clockWise),TD(r.label);var a=r.data;if(a&&!ei(a))for(var i=0;i<a.length;i++)TD(a[i]);r.hoverOffset!=null&&(r.emphasis=r.emphasis||{},(r.emphasis.scaleSize=null)&&(r.emphasis.scaleSize=r.hoverOffset))}else if(n==="gauge"){var o=Gst(r,"pointer.color");o!=null&&Wst(r,"itemStyle.color",o)}else if(n==="bar"){Sh(r),Sh(r.backgroundStyle),Sh(r.emphasis);var a=r.data;if(a&&!ei(a))for(var i=0;i<a.length;i++)typeof a[i]=="object"&&(Sh(a[i]),Sh(a[i]&&a[i].emphasis))}else if(n==="sunburst"){var s=r.highlightPolicy;s&&(r.emphasis=r.emphasis||{},r.emphasis.focus||(r.emphasis.focus=s)),xD(r),XW(r.data,xD)}else n==="graph"||n==="sankey"?qst(r):n==="map"&&(r.mapType&&!r.map&&(r.map=r.mapType),r.mapLocation&&ht(r,r.mapLocation));r.hoverAnimation!=null&&(r.emphasis=r.emphasis||{},r.emphasis&&r.emphasis.scale==null&&(r.emphasis.scale=r.hoverAnimation)),CD(r)}}),e.dataRange&&(e.visualMap=e.dataRange),G(Yst,function(r){var n=e[r];n&&(Ne(n)||(n=[n]),G(n,function(a){CD(a)}))})}function jst(e){var t=lt();e.eachSeries(function(r){var n=r.get("stack");if(n){var a=t.get(n)||t.set(n,[]),i=r.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:r};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;a.length&&i.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(o)}}),t.each(Xst)}function Xst(e){G(e,function(t,r){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,d){var f=o.get(t.stackedDimension,d);if(isNaN(f))return a;var p,h;s?h=o.getRawIndex(d):p=o.get(t.stackedByDimension,d);for(var v=NaN,g=r-1;g>=0;g--){var m=e[g];if(s||(h=m.data.rawIndexOf(m.stackedByDimension,p)),h>=0){var y=m.data.getByRawIndex(m.stackResultDimension,h);if(l==="all"||l==="positive"&&y>0||l==="negative"&&y<0||l==="samesign"&&f>=0&&y>0||l==="samesign"&&f<=0&&y<0){f=Dat(f,y),v=y;break}}}return n[0]=f,n[1]=v,n})})}var db=function(){function e(t){this.data=t.data||(t.sourceFormat===as?{}:[]),this.sourceFormat=t.sourceFormat||VW,this.seriesLayoutBy=t.seriesLayoutBy||Uo,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var r=this.dimensionsDefine=t.dimensionsDefine;if(r)for(var n=0;n<r.length;n++){var a=r[n];a.type==null&&GW(this,n)===An.Must&&(a.type="ordinal")}}return e}();function _A(e){return e instanceof db}function p6(e,t,r){r=r||QW(e);var n=t.seriesLayoutBy,a=Qst(e,r,n,t.sourceHeader,t.dimensions),i=new db({data:e,sourceFormat:r,seriesLayoutBy:n,dimensionsDefine:a.dimensionsDefine,startIndex:a.startIndex,dimensionsDetectedCount:a.dimensionsDetectedCount,metaRawOption:_t(t)});return i}function bA(e){return new db({data:e,sourceFormat:ei(e)?ql:Bi})}function Zst(e){return new db({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:_t(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function QW(e){var t=VW;if(ei(e))t=ql;else if(Ne(e)){e.length===0&&(t=jn);for(var r=0,n=e.length;r<n;r++){var a=e[r];if(a!=null){if(Ne(a)){t=jn;break}else if(vt(a)){t=Fi;break}}}}else if(vt(e)){for(var i in e)if(nt(e,i)&&qn(e[i])){t=as;break}}return t}function Qst(e,t,r,n,a){var i,o;if(!e)return{dimensionsDefine:AD(a),startIndex:o,dimensionsDetectedCount:i};if(t===jn){var s=e;n==="auto"||n==null?kD(function(u){u!=null&&u!=="-"&&(et(u)?o==null&&(o=1):o=0)},r,s,10):o=tr(n)?n:n?1:0,!a&&o===1&&(a=[],kD(function(u,c){a[c]=u!=null?u+"":""},r,s,1/0)),i=a?a.length:r===Zp?s.length:s[0]?s[0].length:null}else if(t===Fi)a||(a=Jst(e));else if(t===as)a||(a=[],G(e,function(u,c){a.push(c)}));else if(t===Bi){var l=Hp(e[0]);i=Ne(l)&&l.length||1}return{startIndex:o,dimensionsDefine:AD(a),dimensionsDetectedCount:i}}function Jst(e){for(var t=0,r;t<e.length&&!(r=e[t++]););if(r)return Wt(r)}function AD(e){if(e){var t=lt();return Pe(e,function(r,n){r=vt(r)?r:{name:r};var a={name:r.name,displayName:r.displayName,type:r.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 kD(e,t,r,n){if(t===Zp)for(var a=0;a<r.length&&a<n;a++)e(r[a]?r[a][0]:null,a);else for(var i=r[0]||[],a=0;a<i.length&&a<n;a++)e(i[a],a)}function JW(e){var t=e.sourceFormat;return t===Fi||t===as}var Yu,qu,ju,ID,RD,eK=function(){function e(t,r){var n=_A(t)?t:bA(t);this._source=n;var a=this._data=n.data;n.sourceFormat===ql&&(this._offset=0,this._dimSize=r,this._data=a),RD(this,a,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,r){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var t;RD=function(o,s,l){var u=l.sourceFormat,c=l.seriesLayoutBy,d=l.startIndex,f=l.dimensionsDefine,p=ID[wA(u,c)];if(Me(o,p),u===ql)o.getItem=r,o.count=a,o.fillStorage=n;else{var h=tK(u,c);o.getItem=rt(h,null,s,d,f);var v=rK(u,c);o.count=rt(v,null,s,d,f)}};var r=function(o,s){o=o-this._offset,s=s||[];for(var l=this._data,u=this._dimSize,c=u*o,d=0;d<u;d++)s[d]=l[c+d];return s},n=function(o,s,l,u){for(var c=this._data,d=this._dimSize,f=0;f<d;f++){for(var p=u[f],h=p[0]==null?1/0:p[0],v=p[1]==null?-1/0:p[1],g=s-o,m=l[f],y=0;y<g;y++){var _=c[y*d+f];m[o+y]=_,_<h&&(h=_),_>v&&(v=_)}p[0]=h,p[1]=v}},a=function(){return this._data?this._data.length/this._dimSize:0};ID=(t={},t[jn+"_"+Uo]={pure:!0,appendData:i},t[jn+"_"+Zp]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Fi]={pure:!0,appendData:i},t[as]={pure:!0,appendData:function(o){var s=this._data;G(o,function(l,u){for(var c=s[u]||(s[u]=[]),d=0;d<(l||[]).length;d++)c.push(l[d])})}},t[Bi]={appendData:i},t[ql]={persistent:!1,pure:!0,appendData:function(o){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])}}(),e}(),MD=function(e,t,r,n){return e[n]},elt=(Yu={},Yu[jn+"_"+Uo]=function(e,t,r,n){return e[n+t]},Yu[jn+"_"+Zp]=function(e,t,r,n,a){n+=t;for(var i=a||[],o=e,s=0;s<o.length;s++){var l=o[s];i[s]=l?l[n]:null}return i},Yu[Fi]=MD,Yu[as]=function(e,t,r,n,a){for(var i=a||[],o=0;o<r.length;o++){var s=r[o].name,l=e[s];i[o]=l?l[n]:null}return i},Yu[Bi]=MD,Yu);function tK(e,t){var r=elt[wA(e,t)];return r}var LD=function(e,t,r){return e.length},tlt=(qu={},qu[jn+"_"+Uo]=function(e,t,r){return Math.max(0,e.length-t)},qu[jn+"_"+Zp]=function(e,t,r){var n=e[0];return n?Math.max(0,n.length-t):0},qu[Fi]=LD,qu[as]=function(e,t,r){var n=r[0].name,a=e[n];return a?a.length:0},qu[Bi]=LD,qu);function rK(e,t){var r=tlt[wA(e,t)];return r}var cS=function(e,t,r){return e[t]},rlt=(ju={},ju[jn]=cS,ju[Fi]=function(e,t,r){return e[r]},ju[as]=cS,ju[Bi]=function(e,t,r){var n=Hp(e);return n instanceof Array?n[t]:n},ju[ql]=cS,ju);function nK(e){var t=rlt[e];return t}function wA(e,t){return e===jn?e+"_"+t:e}function Sp(e,t,r){if(e){var n=e.getRawDataItem(t);if(n!=null){var a=e.getStore(),i=a.getSource().sourceFormat;if(r!=null){var o=e.getDimensionIndex(r),s=a.getDimensionProperty(o);return nK(i)(n,o,s)}else{var l=n;return i===Bi&&(l=Hp(n)),l}}}}var nlt=/\{@(.+?)\}/g,SA=function(){function e(){}return e.prototype.getDataParams=function(t,r){var n=this.getData(r),a=this.getRawValue(t,r),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,d=this.mainType,f=d==="series",p=n.userOutput&&n.userOutput.get();return{componentType:d,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:f?this.subType:null,seriesIndex:this.seriesIndex,seriesId:f?this.id:null,seriesName:f?this.name:null,name:o,dataIndex:i,data:s,dataType:r,value:a,color:u,borderColor:c,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(t,r,n,a,i,o){r=r||"normal";var s=this.getData(n),l=this.getDataParams(t,n);if(o&&(l.value=o.interpolatedValue),a!=null&&Ne(l.value)&&(l.value=l.value[a]),!i){var u=s.getItemModel(t);i=u.get(r==="normal"?["label","formatter"]:[r,"label","formatter"])}if(ft(i))return l.status=r,l.dimensionIndex=a,i(l);if(et(i)){var c=PW(i,l);return c.replace(nlt,function(d,f){var p=f.length,h=f;h.charAt(0)==="["&&h.charAt(p-1)==="]"&&(h=+h.slice(1,p-1));var v=Sp(s,t,h);if(o&&Ne(o.interpolatedValue)){var g=s.getDimensionIndex(h);g>=0&&(v=o.interpolatedValue[g])}return v!=null?v+"":""})}},e.prototype.getRawValue=function(t,r){return Sp(this.getData(r),t)},e.prototype.formatTooltip=function(t,r,n){},e}();function DD(e){var t,r;return vt(e)?e.type&&(r=e):t=e,{text:t,frag:r}}function Ov(e){return new alt(e)}var alt=function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var r=this._upstream,n=t&&t.skip;if(this._dirty&&r){var a=this.context;a.data=a.outputData=r.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 d;(this._dirty||i==="reset")&&(this._dirty=!1,d=this._doReset(n)),this._modBy=l,this._modDataCount=u;var f=t&&t.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,h=Math.min(f!=null?this._dueIndex+f:1/0,this._dueEnd);if(!n&&(d||p<h)){var v=this._progress;if(Ne(v))for(var g=0;g<v.length;g++)this._doProgress(v[g],p,h,l,u);else this._doProgress(v,p,h,l,u)}this._dueIndex=h;var m=this._settedOutputEnd!=null?this._settedOutputEnd:h;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(t,r,n,a,i){OD.reset(r,n,a,i),this._callingProgress=t,this._callingProgress({start:r,end:n,count:n-r,next:OD.next},this.context)},e.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var r,n;!t&&this._reset&&(r=this._reset(this.context),r&&r.progress&&(n=r.forceFirstProgress,r=r.progress),Ne(r)&&!r.length&&(r=null)),this._progress=r,this._modBy=this._modDataCount=null;var a=this._downstream;return a&&a.dirty(),n},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e}(),OD=function(){var e,t,r,n,a,i={reset:function(l,u,c,d){t=l,e=u,r=c,n=d,a=Math.ceil(n/r),i.next=r>1&&n>0?s:o}};return i;function o(){return t<e?t++:null}function s(){var l=t%a*r+Math.ceil(t/a),u=t>=e?null:l<n?l:t;return t++,u}}();function jl(e,t){var r=t&&t.type;return r==="ordinal"?e:(r==="time"&&!tr(e)&&e!=null&&e!=="-"&&(e=+Jo(e)),e==null||e===""?NaN:+e)}var ilt=lt({number:function(e){return parseFloat(e)},time:function(e){return+Jo(e)},trim:function(e){return et(e)?eo(e):e}});function aK(e){return ilt.get(e)}var iK={lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t}},olt=function(){function e(t,r){if(!tr(r)){var n="";ar(n)}this._opFn=iK[t],this._rvalFloat=Fs(r)}return e.prototype.evaluate=function(t){return tr(t)?this._opFn(t,this._rvalFloat):this._opFn(Fs(t),this._rvalFloat)},e}(),oK=function(){function e(t,r){var n=t==="desc";this._resultLT=n?1:-1,r==null&&(r=n?"min":"max"),this._incomparable=r==="min"?-1/0:1/0}return e.prototype.evaluate=function(t,r){var n=tr(t)?t:Fs(t),a=tr(r)?r:Fs(r),i=isNaN(n),o=isNaN(a);if(i&&(n=this._incomparable),o&&(a=this._incomparable),i&&o){var s=et(t),l=et(r);s&&(n=l?t:0),l&&(a=s?r:0)}return n<a?this._resultLT:n>a?-this._resultLT:0},e}(),slt=function(){function e(t,r){this._rval=r,this._isEQ=t,this._rvalTypeof=typeof r,this._rvalFloat=Fs(r)}return e.prototype.evaluate=function(t){var r=t===this._rval;if(!r){var n=typeof t;n!==this._rvalTypeof&&(n==="number"||this._rvalTypeof==="number")&&(r=Fs(t)===this._rvalFloat)}return this._isEQ?r:!r},e}();function llt(e,t){return e==="eq"||e==="ne"?new slt(e==="eq",t):nt(iK,e)?new olt(e,t):null}var ult=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,r){},e.prototype.retrieveValueFromItem=function(t,r){},e.prototype.convertValue=function(t,r){return jl(t,r)},e}();function clt(e,t){var r=new ult,n=e.data,a=r.sourceFormat=e.sourceFormat,i=e.startIndex,o="";e.seriesLayoutBy!==Uo&&ar(o);var s=[],l={},u=e.dimensionsDefine;if(u)G(u,function(v,g){var m=v.name,y={index:g,name:m,displayName:v.displayName};if(s.push(y),m!=null){var _="";nt(l,m)&&ar(_),l[m]=y}});else for(var c=0;c<e.dimensionsDetectedCount;c++)s.push({index:c});var d=tK(a,Uo);t.__isBuiltIn&&(r.getRawDataItem=function(v){return d(n,i,s,v)},r.getRawData=rt(dlt,null,e)),r.cloneRawData=rt(flt,null,e);var f=rK(a,Uo);r.count=rt(f,null,n,i,s);var p=nK(a);r.retrieveValue=function(v,g){var m=d(n,i,s,v);return h(m,g)};var h=r.retrieveValueFromItem=function(v,g){if(v!=null){var m=s[g];if(m)return p(v,g,m.name)}};return r.getDimensionInfo=rt(plt,null,s,l),r.cloneAllDimensionInfo=rt(hlt,null,s),r}function dlt(e){var t=e.sourceFormat;if(!EA(t)){var r="";ar(r)}return e.data}function flt(e){var t=e.sourceFormat,r=e.data;if(!EA(t)){var n="";ar(n)}if(t===jn){for(var a=[],i=0,o=r.length;i<o;i++)a.push(r[i].slice());return a}else if(t===Fi){for(var a=[],i=0,o=r.length;i<o;i++)a.push(Me({},r[i]));return a}}function plt(e,t,r){if(r!=null){if(tr(r)||!isNaN(r)&&!nt(t,r))return e[r];if(nt(t,r))return t[r]}}function hlt(e){return _t(e)}var sK=lt();function vlt(e){e=_t(e);var t=e.type,r="";t||ar(r);var n=t.split(":");n.length!==2&&ar(r);var a=!1;n[0]==="echarts"&&(t=n[1],a=!0),e.__isBuiltIn=a,sK.set(t,e)}function glt(e,t,r){var n=fr(e),a=n.length,i="";a||ar(i);for(var o=0,s=a;o<s;o++){var l=n[o];t=mlt(l,t),o!==s-1&&(t.length=Math.max(t.length,1))}return t}function mlt(e,t,r,n){var a="";t.length||ar(a),vt(e)||ar(a);var i=e.type,o=sK.get(i);o||ar(a);var s=Pe(t,function(u){return clt(u,o)}),l=fr(o.transform({upstream:s[0],upstreamList:s,config:_t(e.config)}));return Pe(l,function(u,c){var d="";vt(u)||ar(d),u.data||ar(d);var f=QW(u.data);EA(f)||ar(d);var p,h=t[0];if(h&&c===0&&!u.dimensions){var v=h.startIndex;v&&(u.data=h.data.slice(0,v).concat(u.data)),p={seriesLayoutBy:Uo,sourceHeader:v,dimensions:h.metaRawOption.dimensions}}else p={seriesLayoutBy:Uo,sourceHeader:0,dimensions:u.dimensions};return p6(u.data,p,null)})}function EA(e){return e===jn||e===Fi}var fb="undefined",ylt=typeof Uint32Array===fb?Array:Uint32Array,_lt=typeof Uint16Array===fb?Array:Uint16Array,lK=typeof Int32Array===fb?Array:Int32Array,ND=typeof Float64Array===fb?Array:Float64Array,uK={float:ND,int:lK,ordinal:Array,number:Array,time:ND},dS;function Eh(e){return e>65535?ylt:_lt}function Xd(){return[1/0,-1/0]}function blt(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function PD(e,t,r,n,a){var i=uK[r||"float"];if(a){var o=e[t],s=o&&o.length;if(s!==n){for(var l=new i(n),u=0;u<s;u++)l[u]=o[u];e[t]=l}}else e[t]=new i(n)}var h6=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=lt()}return e.prototype.initData=function(t,r,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var a=t.getSource(),i=this.defaultDimValueGetter=dS[a.sourceFormat];this._dimValueGetter=n||i,this._rawExtent=[],JW(a),this._dimensions=Pe(r,function(o){return{type:o.type,property:o.property}}),this._initDataFromProvider(0,t.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(t,r){var n=this._calcDimNameToIdx,a=this._dimensions,i=n.get(t);if(i!=null){if(a[i].type===r)return i}else i=a.length;return a[i]={type:r},n.set(t,i),this._chunks[i]=new uK[r||"float"](this._rawCount),this._rawExtent[i]=Xd(),i},e.prototype.collectOrdinalMeta=function(t,r){var n=this._chunks[t],a=this._dimensions[t],i=this._rawExtent,o=a.ordinalOffset||0,s=n.length;o===0&&(i[t]=Xd());for(var l=i[t],u=o;u<s;u++){var c=n[u]=r.parseAndCollect(n[u]);isNaN(c)||(l[0]=Math.min(c,l[0]),l[1]=Math.max(c,l[1]))}a.ordinalMeta=r,a.ordinalOffset=s,a.type="ordinal"},e.prototype.getOrdinalMeta=function(t){var r=this._dimensions[t],n=r.ordinalMeta;return n},e.prototype.getDimensionProperty=function(t){var r=this._dimensions[t];return r&&r.property},e.prototype.appendData=function(t){var r=this._provider,n=this.count();r.appendData(t);var a=r.count();return r.persistent||(a+=n),n<a&&this._initDataFromProvider(n,a,!0),[n,a]},e.prototype.appendValues=function(t,r){for(var n=this._chunks,a=this._dimensions,i=a.length,o=this._rawExtent,s=this.count(),l=s+Math.max(t.length,r||0),u=0;u<i;u++){var c=a[u];PD(n,u,c.type,l,!0)}for(var d=[],f=s;f<l;f++)for(var p=f-s,h=0;h<i;h++){var c=a[h],v=dS.arrayRows.call(this,t[p]||d,c.property,p,h);n[h][f]=v;var g=o[h];v<g[0]&&(g[0]=v),v>g[1]&&(g[1]=v)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(t,r,n){for(var a=this._provider,i=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=Pe(o,function(y){return y.property}),c=0;c<s;c++){var d=o[c];l[c]||(l[c]=Xd()),PD(i,c,d.type,r,n)}if(a.fillStorage)a.fillStorage(t,r,i,l);else for(var f=[],p=t;p<r;p++){f=a.getItem(p,f);for(var h=0;h<s;h++){var v=i[h],g=this._dimValueGetter(f,u[h],p,h);v[p]=g;var m=l[h];g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=r,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,r){if(!(r>=0&&r<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(r)]:NaN},e.prototype.getValues=function(t,r){var n=[],a=[];if(r==null){r=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],r));return n},e.prototype.getByRawIndex=function(t,r){if(!(r>=0&&r<this._rawCount))return NaN;var n=this._chunks[t];return n?n[r]:NaN},e.prototype.getSum=function(t){var r=this._chunks[t],n=0;if(r)for(var a=0,i=this.count();a<i;a++){var o=this.get(t,a);isNaN(o)||(n+=o)}return n},e.prototype.getMedian=function(t){var r=[];this.each([t],function(i){isNaN(i)||r.push(i)});var n=r.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},e.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var r=this._indices,n=r[t];if(n!=null&&n<this._count&&n===t)return t;for(var a=0,i=this._count-1;a<=i;){var o=(a+i)/2|0;if(r[o]<t)a=o+1;else if(r[o]>t)i=o-1;else return o}return-1},e.prototype.indicesOfNearest=function(t,r,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,d=this.count();c<d;c++){var f=this.getRawIndex(c),p=r-i[f],h=Math.abs(p);h<=n&&((h<s||h===s&&p>=0&&l<0)&&(s=h,l=p,u=0),p===l&&(o[u++]=c))}return o.length=u,o},e.prototype.getIndices=function(){var t,r=this._indices;if(r){var n=r.constructor,a=this._count;if(n===Array){t=new n(a);for(var i=0;i<a;i++)t[i]=r[i]}else t=new n(r.buffer,0,a)}else{var n=Eh(this._rawCount);t=new n(this.count());for(var i=0;i<t.length;i++)t[i]=i}return t},e.prototype.filter=function(t,r){if(!this._count)return this;for(var n=this.clone(),a=n.count(),i=Eh(n._rawCount),o=new i(a),s=[],l=t.length,u=0,c=t[0],d=n._chunks,f=0;f<a;f++){var p=void 0,h=n.getRawIndex(f);if(l===0)p=r(f);else if(l===1){var v=d[c][h];p=r(v,f)}else{for(var g=0;g<l;g++)s[g]=d[t[g]][h];s[g]=f,p=r.apply(null,s)}p&&(o[u++]=h)}return u<a&&(n._indices=o),n._count=u,n._extent=[],n._updateGetRawIdx(),n},e.prototype.selectRange=function(t){var r=this.clone(),n=r._count;if(!n)return this;var a=Wt(t),i=a.length;if(!i)return this;var o=r.count(),s=Eh(r._rawCount),l=new s(o),u=0,c=a[0],d=t[c][0],f=t[c][1],p=r._chunks,h=!1;if(!r._indices){var v=0;if(i===1){for(var g=p[a[0]],m=0;m<n;m++){var y=g[m];(y>=d&&y<=f||isNaN(y))&&(l[u++]=v),v++}h=!0}else if(i===2){for(var g=p[a[0]],_=p[a[1]],w=t[a[1]][0],E=t[a[1]][1],m=0;m<n;m++){var y=g[m],S=_[m];(y>=d&&y<=f||isNaN(y))&&(S>=w&&S<=E||isNaN(S))&&(l[u++]=v),v++}h=!0}}if(!h)if(i===1)for(var m=0;m<o;m++){var C=r.getRawIndex(m),y=p[a[0]][C];(y>=d&&y<=f||isNaN(y))&&(l[u++]=C)}else for(var m=0;m<o;m++){for(var T=!0,C=r.getRawIndex(m),x=0;x<i;x++){var A=a[x],y=p[A][C];(y<t[A][0]||y>t[A][1])&&(T=!1)}T&&(l[u++]=r.getRawIndex(m))}return u<o&&(r._indices=l),r._count=u,r._extent=[],r._updateGetRawIdx(),r},e.prototype.map=function(t,r){var n=this.clone(t);return this._updateDims(n,t,r),n},e.prototype.modify=function(t,r){this._updateDims(this,t,r)},e.prototype._updateDims=function(t,r,n){for(var a=t._chunks,i=[],o=r.length,s=t.count(),l=[],u=t._rawExtent,c=0;c<r.length;c++)u[r[c]]=Xd();for(var d=0;d<s;d++){for(var f=t.getRawIndex(d),p=0;p<o;p++)l[p]=a[r[p]][f];l[o]=d;var h=n&&n.apply(null,l);if(h!=null){typeof h!="object"&&(i[0]=h,h=i);for(var c=0;c<h.length;c++){var v=r[c],g=h[c],m=u[v],y=a[v];y&&(y[f]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},e.prototype.lttbDownSample=function(t,r){var n=this.clone([t],!0),a=n._chunks,i=a[t],o=this.count(),s=0,l=Math.floor(1/r),u=this.getRawIndex(0),c,d,f,p=new(Eh(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));p[s++]=u;for(var h=1;h<o-1;h+=l){for(var v=Math.min(h+l,o-1),g=Math.min(h+l*2,o),m=(g+v)/2,y=0,_=v;_<g;_++){var w=this.getRawIndex(_),E=i[w];isNaN(E)||(y+=E)}y/=g-v;var S=h,C=Math.min(h+l,o),T=h-1,x=i[u];c=-1,f=S;for(var A=-1,k=0,_=S;_<C;_++){var w=this.getRawIndex(_),E=i[w];if(isNaN(E)){k++,A<0&&(A=w);continue}d=Math.abs((T-m)*(E-x)-(T-_)*(y-x)),d>c&&(c=d,f=w)}k>0&&k<C-S&&(p[s++]=Math.min(A,f),f=Math.max(A,f)),p[s++]=f,u=f}return p[s++]=this.getRawIndex(o-1),n._count=s,n._indices=p,n.getRawIndex=this._getRawIdx,n},e.prototype.downSample=function(t,r,n,a){for(var i=this.clone([t],!0),o=i._chunks,s=[],l=Math.floor(1/r),u=o[t],c=this.count(),d=i._rawExtent[t]=Xd(),f=new(Eh(this._rawCount))(Math.ceil(c/l)),p=0,h=0;h<c;h+=l){l>c-h&&(l=c-h,s.length=l);for(var v=0;v<l;v++){var g=this.getRawIndex(h+v);s[v]=u[g]}var m=n(s),y=this.getRawIndex(Math.min(h+a(s,m)||0,c-1));u[y]=m,m<d[0]&&(d[0]=m),m>d[1]&&(d[1]=m),f[p++]=y}return i._count=p,i._indices=f,i._updateGetRawIdx(),i},e.prototype.each=function(t,r){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:r(i);break;case 1:r(a[t[0]][s],i);break;case 2:r(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,r.apply(null,u)}}},e.prototype.getDataExtent=function(t){var r=this._chunks[t],n=Xd();if(!r)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),d=r[c];d<s&&(s=d),d>l&&(l=d)}return o=[s,l],this._extent[t]=o,o},e.prototype.getRawDataItem=function(t){var r=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(r);for(var n=[],a=this._chunks,i=0;i<a.length;i++)n.push(a[i][r]);return n},e.prototype.clone=function(t,r){var n=new e,a=this._chunks,i=t&&Xo(t,function(s,l){return s[l]=!0,s},{});if(i)for(var o=0;o<a.length;o++)n._chunks[o]=i[o]?blt(a[o]):a[o];else n._chunks=a;return this._copyCommonProps(n),r||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},e.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=_t(this._extent),t._rawExtent=_t(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,r=void 0;if(t===Array){var n=this._indices.length;r=new t(n);for(var a=0;a<n;a++)r[a]=this._indices[a]}else r=new t(this._indices);return r}return null},e.prototype._getRawIdxIdentity=function(t){return t},e.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function t(r,n,a,i){return jl(r[i],this._dimensions[i])}dS={arrayRows:t,objectRows:function(r,n,a,i){return jl(r[n],this._dimensions[i])},keyedColumns:t,original:function(r,n,a,i){var o=r&&(r.value==null?r:r.value);return jl(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(r,n,a,i){return r[i]}}}(),e}(),cK=function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,r){this._sourceList=t,this._upstreamSignList=r,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,r=this._getUpstreamSourceManagers(),n=!!r.length,a,i;if(N0(t)){var o=t,s=void 0,l=void 0,u=void 0;if(n){var c=r[0];c.prepareSource(),u=c.getSource(),s=u.data,l=u.sourceFormat,i=[c._getVersionSign()]}else s=o.get("data",!0),l=ei(s)?ql:Bi,i=[];var d=this._getSourceMetaRawOption()||{},f=u&&u.metaRawOption||{},p=Dt(d.seriesLayoutBy,f.seriesLayoutBy)||null,h=Dt(d.sourceHeader,f.sourceHeader),v=Dt(d.dimensions,f.dimensions),g=p!==f.seriesLayoutBy||!!h!=!!f.sourceHeader||v;a=g?[p6(s,{seriesLayoutBy:p,sourceHeader:h,dimensions:v},l)]:[]}else{var m=t;if(n){var y=this._applyTransform(r);a=y.sourceList,i=y.upstreamSignList}else{var _=m.get("source",!0);a=[p6(_,this._getSourceMetaRawOption(),null)],i=[]}}this._setLocalSource(a,i)},e.prototype._applyTransform=function(t){var r=this._sourceHost,n=r.get("transform",!0),a=r.get("fromTransformResult",!0);if(a!=null){var i="";t.length!==1&&BD(i)}var o,s=[],l=[];return G(t,function(u){u.prepareSource();var c=u.getSource(a||0),d="";a!=null&&!c&&BD(d),s.push(c),l.push(u._getVersionSign())}),n?o=glt(n,s,{datasetIndex:r.componentIndex}):a!=null&&(o=[Zst(s[0])]),{sourceList:o,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),r=0;r<t.length;r++){var n=t[r];if(n._isDirty()||this._upstreamSignList[r]!==n._getVersionSign())return!0}},e.prototype.getSource=function(t){t=t||0;var r=this._sourceList[t];if(!r){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return r},e.prototype.getSharedDataStore=function(t){var r=t.makeStoreSchema();return this._innerGetDataStore(r.dimensions,t.source,r.hash)},e.prototype._innerGetDataStore=function(t,r,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];N0(this._sourceHost)&&l?s=l._innerGetDataStore(t,r,n):(s=new h6,s.initData(new eK(r,t.length),t)),o[n]=s}return s},e.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(N0(t)){var r=mA(t);return r?[r.getSourceManager()]:[]}else return Pe(Est(t),function(n){return n.getSourceManager()})},e.prototype._getSourceMetaRawOption=function(){var t=this._sourceHost,r,n,a;if(N0(t))r=t.get("seriesLayoutBy",!0),n=t.get("sourceHeader",!0),a=t.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=t;r=i.get("seriesLayoutBy",!0),n=i.get("sourceHeader",!0),a=i.get("dimensions",!0)}return{seriesLayoutBy:r,sourceHeader:n,dimensions:a}},e}();function $D(e){var t=e.option.transform;t&&t2(e.option.transform)}function N0(e){return e.mainType==="series"}function BD(e){throw new Error(e)}var dK="line-height:1";function fK(e,t){var r=e.color||"#6e7079",n=e.fontSize||12,a=e.fontWeight||"400",i=e.color||"#464646",o=e.fontSize||14,s=e.fontWeight||"900";return t==="html"?{nameStyle:"font-size:"+_a(n+"")+"px;color:"+_a(r)+";font-weight:"+_a(a+""),valueStyle:"font-size:"+_a(o+"")+"px;color:"+_a(i)+";font-weight:"+_a(s+"")}:{nameStyle:{fontSize:n,fill:r,fontWeight:a},valueStyle:{fontSize:o,fill:i,fontWeight:s}}}var wlt=[0,10,20,30],Slt=["",`
`,`

`,`


`];function gn(e,t){return t.type=e,t}function v6(e){return e.type==="section"}function pK(e){return v6(e)?Elt:Clt}function hK(e){if(v6(e)){var t=0,r=e.blocks.length,n=r>1||r>0&&!e.noHeader;return G(e.blocks,function(a){var i=hK(a);i>=t&&(t=i+ +(n&&(!i||v6(a)&&!a.noHeader)))}),t}return 0}function Elt(e,t,r,n){var a=t.noHeader,i=Tlt(hK(t)),o=[],s=t.blocks||[];da(!s||Ne(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(nt(u,l)){var c=new oK(u[l],null);s.sort(function(h,v){return c.evaluate(h.sortParam,v.sortParam)})}else l==="seriesDesc"&&s.reverse()}G(s,function(h,v){var g=t.valueFormatter,m=pK(h)(g?Me(Me({},e),{valueFormatter:g}):e,h,v>0?i.html:0,n);m!=null&&o.push(m)});var d=e.renderMode==="richText"?o.join(i.richText):g6(o.join(""),a?r:i.html);if(a)return d;var f=c6(t.header,"ordinal",e.useUTC),p=fK(n,e.renderMode).nameStyle;return e.renderMode==="richText"?vK(e,f,p)+i.richText+d:g6('<div style="'+p+";"+dK+';">'+_a(f)+"</div>"+d,r)}function Clt(e,t,r,n){var a=e.renderMode,i=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(w){return w=Ne(w)?w:[w],Pe(w,function(E,S){return c6(E,Ne(p)?p[S]:p,u)})};if(!(i&&o)){var d=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",a),f=i?"":c6(l,"ordinal",u),p=t.valueType,h=o?[]:c(t.value),v=!s||!i,g=!s&&i,m=fK(n,a),y=m.nameStyle,_=m.valueStyle;return a==="richText"?(s?"":d)+(i?"":vK(e,f,y))+(o?"":klt(e,h,v,g,_)):g6((s?"":d)+(i?"":xlt(f,!s,y))+(o?"":Alt(h,v,g,_)),r)}}function FD(e,t,r,n,a,i){if(e){var o=pK(e),s={useUTC:a,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,i)}}function Tlt(e){return{html:wlt[e],richText:Slt[e]}}function g6(e,t){var r='<div style="clear:both"></div>',n="margin: "+t+"px 0 0";return'<div style="'+n+";"+dK+';">'+e+r+"</div>"}function xlt(e,t,r){var n=t?"margin-left:2px":"";return'<span style="'+r+";"+n+'">'+_a(e)+"</span>"}function Alt(e,t,r,n){var a=r?"10px":"20px",i=t?"float:right;margin-left:"+a:"";return e=Ne(e)?e:[e],'<span style="'+i+";"+n+'">'+Pe(e,function(o){return _a(o)}).join("&nbsp;&nbsp;")+"</span>"}function vK(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function klt(e,t,r,n,a){var i=[a],o=n?10:20;return r&&i.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Ne(t)?t.join("  "):t,i)}function gK(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return md(n)}function mK(e,t){var r=e.get("padding");return r??(t==="richText"?[8,10]:10)}var fS=function(){function e(){this.richTextStyles={},this._nextStyleNameId=vG()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var a=n==="richText"?this._generateStyleName():null,i=gst({color:r,type:t,renderMode:n,markerId:a});return et(i)?i:(this.richTextStyles[a]=i.style,i.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};Ne(r)?G(r,function(i){return Me(n,i)}):Me(n,r);var a=this._generateStyleName();return this.richTextStyles[a]=n,"{"+a+"|"+t+"}"},e}();function yK(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,a=t.getData(),i=a.mapDimensionsAll("defaultedTooltip"),o=i.length,s=t.getRawValue(r),l=Ne(s),u=gK(t,r),c,d,f,p;if(o>1||l&&!o){var h=Ilt(s,t,r,i,u);c=h.inlineValues,d=h.inlineValueTypes,f=h.blocks,p=h.inlineValues[0]}else if(o){var v=a.getDimensionInfo(i[0]);p=c=Sp(a,r,i[0]),d=v.type}else p=c=l?s[0]:s;var g=jx(t),m=g&&t.name||"",y=a.getName(r),_=n?m:y;return gn("section",{header:m,noHeader:n||!g,sortParam:p,blocks:[gn("nameValue",{markerType:"item",markerColor:u,name:_,noName:!eo(_),value:c,valueType:d})].concat(f||[])})}function Ilt(e,t,r,n,a){var i=t.getData(),o=Xo(e,function(d,f,p){var h=i.getDimensionInfo(p);return d=d||h&&h.tooltip!==!1&&h.displayName!=null},!1),s=[],l=[],u=[];n.length?G(n,function(d){c(Sp(i,r,d),d)}):G(e,c);function c(d,f){var p=i.getDimensionInfo(f);!p||p.otherDims.tooltip===!1||(o?u.push(gn("nameValue",{markerType:"subItem",markerColor:a,name:p.displayName,value:d,valueType:p.type})):(s.push(d),l.push(p.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var ul=Zt();function P0(e,t){return e.getName(t)||e.getId(t)}var f1="__universalTransitionEnabled",pb=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return t.prototype.init=function(r,n,a){this.seriesIndex=this.componentIndex,this.dataTask=Ov({count:Mlt,reset:Llt}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,a);var i=ul(this).sourceManager=new cK(this);i.prepareSource();var o=this.getInitialData(r,a);VD(o,this),this.dataTask.context.data=o,ul(this).dataBeforeProcessed=o,zD(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(r,n){var a=Fg(this),i=a?jp(r):{},o=this.subType;Qt.hasClass(o)&&(o+="Series"),Nt(r,n.getTheme().get(this.subType)),Nt(r,this.getDefaultOption()),pd(r,"label",["show"]),this.fillDataTextStyle(r.data),a&&uu(r,i,a)},t.prototype.mergeOption=function(r,n){r=Nt(this.option,r,!0),this.fillDataTextStyle(r.data);var a=Fg(this);a&&uu(this.option,r,a);var i=ul(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(r,n);VD(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,ul(this).dataBeforeProcessed=o,zD(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(r){if(r&&!ei(r))for(var n=["show"],a=0;a<r.length;a++)r[a]&&r[a].label&&pd(r[a],"label",n)},t.prototype.getInitialData=function(r,n){},t.prototype.appendData=function(r){var n=this.getRawData();n.appendData(r.data)},t.prototype.getData=function(r){var n=m6(this);if(n){var a=n.context.data;return r==null?a:a.getLinkedData(r)}else return ul(this).data},t.prototype.getAllData=function(){var r=this.getData();return r&&r.getLinkedDataAll?r.getLinkedDataAll():[{data:r}]},t.prototype.setData=function(r){var n=m6(this);if(n){var a=n.context;a.outputData=r,n!==this.dataTask&&(a.data=r)}ul(this).data=r},t.prototype.getEncode=function(){var r=this.get("encode",!0);if(r)return lt(r)},t.prototype.getSourceManager=function(){return ul(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return ul(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var r=this.get("colorBy");return r||"series"},t.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},t.prototype.getBaseAxis=function(){var r=this.coordinateSystem;return r&&r.getBaseAxis&&r.getBaseAxis()},t.prototype.formatTooltip=function(r,n,a){return yK({series:this,dataIndex:r,multipleSeries:n})},t.prototype.isAnimationEnabled=function(){var r=this.ecModel;if(Jt.node&&!(r&&r.ssr))return!1;var n=this.getShallow("animation");return n&&this.getData().count()>this.getShallow("animationThreshold")&&(n=!1),!!n},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(r,n,a){var i=this.ecModel,o=yA.prototype.getColorFromPalette.call(this,r,n,a);return o||(o=i.getColorFromPalette(r,n,a)),o},t.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(r,n){this._innerSelect(this.getData(n),r)},t.prototype.unselect=function(r,n){var 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<r.length;s++){var l=r[s],u=P0(o,l);a[u]=!1,this._selectedDataIndicesMap[u]=-1}}},t.prototype.toggleSelect=function(r,n){for(var a=[],i=0;i<r.length;i++)a[0]=r[i],this.isSelected(r[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 r=this._selectedDataIndicesMap,n=Wt(r),a=[],i=0;i<n.length;i++){var o=r[n[i]];o>=0&&a.push(o)}return a},t.prototype.isSelected=function(r,n){var a=this.option.selectedMap;if(!a)return!1;var i=this.getData(n);return(a==="all"||a[P0(i,r)])&&!i.getItemModel(r).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[f1])return!0;var r=this.option.universalTransition;return r?r===!0?!0:r&&r.enabled:!1},t.prototype._innerSelect=function(r,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"){vt(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,c=0;c<l;c++){var d=n[c],f=P0(r,d);u[f]=!0,this._selectedDataIndicesMap[f]=r.getRawIndex(d)}}else if(s==="single"||s===!0){var p=n[l-1],f=P0(r,p);o.selectedMap=(a={},a[f]=!0,a),this._selectedDataIndicesMap=(i={},i[f]=r.getRawIndex(p),i)}}},t.prototype._initSelectedMapFromData=function(r){if(!this.option.selectedMap){var n=[];r.hasItemOption&&r.each(function(a){var i=r.getRawDataItem(a);i&&i.selected&&n.push(a)}),n.length>0&&this._innerSelect(r,n)}},t.registerClass=function(r){return Qt.registerClass(r)},t.protoInitialize=function(){var r=t.prototype;r.type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",r.visualDrawType="fill"}(),t}(Qt);on(pb,SA);on(pb,yA);CG(pb,Qt);function zD(e){var t=e.name;jx(e)||(e.name=Rlt(e)||t)}function Rlt(e){var t=e.getRawData(),r=t.mapDimensionsAll("seriesName"),n=[];return G(r,function(a){var i=t.getDimensionInfo(a);i.displayName&&n.push(i.displayName)}),n.join(" ")}function Mlt(e){return e.model.getRawData().count()}function Llt(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),Dlt}function Dlt(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function VD(e,t){G(r2(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(r){e.wrapMethod(r,Rt(Olt,t))})}function Olt(e,t){var r=m6(e);return r&&r.setOutputEnd((t||this).count()),t}function m6(e){var t=(e.ecModel||{}).scheduler,r=t&&t.getPipeline(e.uid);if(r){var n=r.currentTask;if(n){var a=n.agentStubMap;a&&(n=a.get(e.uid))}return n}}const Rr=pb;var CA=function(){function e(){this.group=new wt,this.uid=Yp("viewComponent")}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,a){},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,a){},e.prototype.updateLayout=function(t,r,n,a){},e.prototype.updateVisual=function(t,r,n,a){},e.prototype.toggleBlurSeries=function(t,r,n){},e.prototype.eachRendered=function(t){var r=this.group;r&&r.traverse(t)},e}();Zx(CA);q_(CA);const $r=CA;function Qp(){var e=Zt();return function(t){var r=e(t),n=t.pipelineContext,a=!!r.large,i=!!r.progressiveRender,o=r.large=!!(n&&n.large),s=r.progressiveRender=!!(n&&n.progressiveRender);return(a!==o||i!==s)&&"reset"}}var _K=Zt(),Nlt=Qp(),TA=function(){function e(){this.group=new wt,this.uid=Yp("viewChart"),this.renderTask=Ov({plan:Plt,reset:$lt}),this.renderTask.context={view:this}}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,a){},e.prototype.highlight=function(t,r,n,a){var i=t.getData(a&&a.dataType);i&&UD(i,a,"emphasis")},e.prototype.downplay=function(t,r,n,a){var i=t.getData(a&&a.dataType);i&&UD(i,a,"normal")},e.prototype.remove=function(t,r){this.group.removeAll()},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,a){this.render(t,r,n,a)},e.prototype.updateLayout=function(t,r,n,a){this.render(t,r,n,a)},e.prototype.updateVisual=function(t,r,n,a){this.render(t,r,n,a)},e.prototype.eachRendered=function(t){wu(this.group,t)},e.markUpdateMethod=function(t,r){_K(t).updateMethod=r},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function HD(e,t,r){e&&Ng(e)&&(t==="emphasis"?zs:Vs)(e,r)}function UD(e,t,r){var n=hd(e,t),a=t&&t.highlightKey!=null?uot(t.highlightKey):null;n!=null?G(fr(n),function(i){HD(e.getItemGraphicEl(i),r,a)}):e.eachItemGraphicEl(function(i){HD(i,r,a)})}Zx(TA);q_(TA);function Plt(e){return Nlt(e.model)}function $lt(e){var t=e.model,r=e.ecModel,n=e.api,a=e.payload,i=t.pipelineContext.progressiveRender,o=e.view,s=a&&_K(a).updateMethod,l=i?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](t,r,n,a),Blt[l]}var Blt={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};const wr=TA;var _2="\0__throttleOriginMethod",GD="\0__throttleRate",WD="\0__throttleType";function xA(e,t,r){var n,a=0,i=0,o=null,s,l,u,c;t=t||0;function d(){i=new Date().getTime(),o=null,e.apply(l,u||[])}var f=function(){for(var p=[],h=0;h<arguments.length;h++)p[h]=arguments[h];n=new Date().getTime(),l=this,u=p;var v=c||t,g=c||r;c=null,s=n-(g?a:i)-v,clearTimeout(o),g?o=setTimeout(d,v):s>=0?d():o=setTimeout(d,-s),a=n};return f.clear=function(){o&&(clearTimeout(o),o=null)},f.debounceNextCall=function(p){c=p},f}function Jp(e,t,r,n){var a=e[t];if(a){var i=a[_2]||a,o=a[WD],s=a[GD];if(s!==r||o!==n){if(r==null||!n)return e[t]=i;a=e[t]=xA(i,r,n==="debounce"),a[_2]=i,a[WD]=n,a[GD]=r}return a}}function Vg(e,t){var r=e[t];r&&r[_2]&&(r.clear&&r.clear(),e[t]=r[_2])}var KD=Zt(),YD={itemStyle:vd(EW,!0),lineStyle:vd(SW,!0)},Flt={lineStyle:"stroke",itemStyle:"fill"};function bK(e,t){var r=e.visualStyleMapper||YD[t];return r||(console.warn("Unknown style type '"+t+"'."),YD.itemStyle)}function wK(e,t){var r=e.visualDrawType||Flt[t];return r||(console.warn("Unknown style type '"+t+"'."),"fill")}var zlt={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",a=e.getModel(n),i=bK(e,n),o=i(a),s=a.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var l=wK(e,n),u=o[l],c=ft(u)?u:null,d=o.fill==="auto"||o.stroke==="auto";if(!o[l]||c||d){var f=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[l]||(o[l]=f,r.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||ft(o.fill)?f:o.fill,o.stroke=o.stroke==="auto"||ft(o.stroke)?f:o.stroke}if(r.setVisual("style",o),r.setVisual("drawType",l),!t.isSeriesFiltered(e)&&c)return r.setVisual("colorFromPalette",!1),{dataEach:function(p,h){var v=e.getDataParams(h),g=Me({},o);g[l]=c(v),p.setItemVisual(h,"style",g)}}}},Ch=new br,Vlt={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",a=bK(e,n),i=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[n]){Ch.option=l[n];var u=a(Ch),c=o.ensureUniqueItemVisual(s,"style");Me(c,u),Ch.option.decal&&(o.setItemVisual(s,"decal",Ch.option.decal),Ch.option.decal.dirty=!0),i in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},Hlt={performRawSeries:!0,overallReset:function(e){var t=lt();e.eachSeries(function(r){var n=r.getColorBy();if(!r.isColorBySeries()){var a=r.type+"-"+n,i=t.get(a);i||(i={},t.set(a,i)),KD(r).scope=i}}),e.eachSeries(function(r){if(!(r.isColorBySeries()||e.isSeriesFiltered(r))){var n=r.getRawData(),a={},i=r.getData(),o=KD(r).scope,s=r.visualStyleAccessPath||"itemStyle",l=wK(r,s);i.each(function(u){var c=i.getRawIndex(u);a[c]=u}),n.each(function(u){var c=a[u],d=i.getItemVisual(c,"colorFromPalette");if(d){var f=i.ensureUniqueItemVisual(c,"style"),p=n.getName(u)||u+"",h=n.count();f[l]=r.getColorFromPalette(p,o,h)}})}})}},$0=Math.PI;function Ult(e,t){t=t||{},ht(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var r=new wt,n=new Xt({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});r.add(n);var a=new er({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 Xt({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});r.add(i);var o;return t.showSpinner&&(o=new oA({shape:{startAngle:-$0/2,endAngle:-$0/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:$0*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:$0*3/2}).delay(300).start("circularInOut"),r.add(o)),r.resize=function(){var s=a.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(e.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=e.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:e.getWidth(),height:e.getHeight()})},r.resize(),r}var Glt=function(){function e(t,r,n,a){this._stageTaskMap=lt(),this.ecInstance=t,this.api=r,n=this._dataProcessorHandlers=n.slice(),a=this._visualHandlers=a.slice(),this._allHandlers=n.concat(a)}return e.prototype.restoreData=function(t,r){t.restoreData(r),this._stageTaskMap.each(function(n){var a=n.overallTask;a&&a.dirty()})},e.prototype.getPerformArgs=function(t,r){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),a=n.context,i=!r&&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}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,r){var n=this._pipelineMap.get(t.uid),a=t.getData(),i=a.count(),o=n.progressiveEnabled&&r.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}},e.prototype.restorePipelines=function(t){var r=this,n=r._pipelineMap=lt();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}),r._pipe(a,a.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,r=this.api.getModel(),n=this.api;G(this._allHandlers,function(a){var i=t.get(a.uid)||t.set(a.uid,{}),o="";da(!(a.reset&&a.overallReset),o),a.reset&&this._createSeriesStageTask(a,i,r,n),a.overallReset&&this._createOverallStageTask(a,i,r,n)},this)},e.prototype.prepareView=function(t,r,n,a){var i=t.renderTask,o=i.context;o.model=r,o.ecModel=n,o.api=a,i.__block=!t.incrementalPrepareRender,this._pipe(r,i)},e.prototype.performDataProcessorTasks=function(t,r){this._performStageTasks(this._dataProcessorHandlers,t,r,{block:!0})},e.prototype.performVisualTasks=function(t,r,n){this._performStageTasks(this._visualHandlers,t,r,n)},e.prototype._performStageTasks=function(t,r,n,a){a=a||{};var i=!1,o=this;G(t,function(l,u){if(!(a.visualType&&a.visualType!==l.visualType)){var c=o._stageTaskMap.get(l.uid),d=c.seriesTaskMap,f=c.overallTask;if(f){var p,h=f.agentStubMap;h.each(function(g){s(a,g)&&(g.dirty(),p=!0)}),p&&f.dirty(),o.updatePayload(f,n);var v=o.getPerformArgs(f,a.block);h.each(function(g){g.perform(v)}),f.perform(v)&&(i=!0)}else d&&d.each(function(g,m){s(a,g)&&g.dirty();var y=o.getPerformArgs(g,a.block);y.skip=!l.performRawSeries&&r.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},e.prototype.performSeriesTasks=function(t){var r;t.eachSeries(function(n){r=n.dataTask.perform()||r}),this.unfinished=r||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var r=t.tail;do{if(r.__block){t.blockIndex=r.__idxInPipeline;break}r=r.getUpstream()}while(r)})},e.prototype.updatePayload=function(t,r){r!=="remain"&&(t.context.payload=r)},e.prototype._createSeriesStageTask=function(t,r,n,a){var i=this,o=r.seriesTaskMap,s=r.seriesTaskMap=lt(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?n.eachRawSeries(c):l?n.eachRawSeriesByType(l,c):u&&u(n,a).each(c);function c(d){var f=d.uid,p=s.set(f,o&&o.get(f)||Ov({plan:jlt,reset:Xlt,count:Qlt}));p.context={model:d,ecModel:n,api:a,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(d,p)}},e.prototype._createOverallStageTask=function(t,r,n,a){var i=this,o=r.overallTask=r.overallTask||Ov({reset:Wlt});o.context={ecModel:n,api:a,overallReset:t.overallReset,scheduler:i};var s=o.agentStubMap,l=o.agentStubMap=lt(),u=t.seriesType,c=t.getTargetSeries,d=!0,f=!1,p="";da(!t.createOnAllSeries,p),u?n.eachRawSeriesByType(u,h):c?c(n,a).each(h):(d=!1,G(n.getSeries(),h));function h(v){var g=v.uid,m=l.set(g,s&&s.get(g)||(f=!0,Ov({reset:Klt,onDirty:qlt})));m.context={model:v,overallProgress:d},m.agent=o,m.__block=d,i._pipe(v,m)}f&&o.dirty()},e.prototype._pipe=function(t,r){var n=t.uid,a=this._pipelineMap.get(n);!a.head&&(a.head=r),a.tail&&a.tail.pipe(r),a.tail=r,r.__idxInPipeline=a.count++,r.__pipeline=a},e.wrapStageHandler=function(t,r){return ft(t)&&(t={overallReset:t,seriesType:Jlt(t)}),t.uid=Yp("stageHandler"),r&&(t.visualType=r),t},e}();function Wlt(e){e.overallReset(e.ecModel,e.api,e.payload)}function Klt(e){return e.overallProgress&&Ylt}function Ylt(){this.agent.dirty(),this.getDownstream().dirty()}function qlt(){this.agent&&this.agent.dirty()}function jlt(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function Xlt(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=fr(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Pe(t,function(r,n){return SK(n)}):Zlt}var Zlt=SK(0);function SK(e){return function(t,r){var n=r.data,a=r.resetDefines[e];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 Qlt(e){return e.data.count()}function Jlt(e){b2=null;try{e(Hg,EK)}catch{}return b2}var Hg={},EK={},b2;CK(Hg,qW);CK(EK,jW);Hg.eachSeriesByType=Hg.eachRawSeriesByType=function(e){b2=e};Hg.eachComponent=function(e){e.mainType==="series"&&e.subType&&(b2=e.subType)};function CK(e,t){for(var r in t.prototype)e[r]=qr}const TK=Glt;var qD=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const eut={color:qD,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],qD]};var Jn="#B9B8CE",jD="#100C2A",B0=function(){return{axisLine:{lineStyle:{color:Jn}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},XD=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],xK={darkMode:!0,color:XD,backgroundColor:jD,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Jn}},textStyle:{color:Jn},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Jn}},dataZoom:{borderColor:"#71708A",textStyle:{color:Jn},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:Jn}},timeline:{lineStyle:{color:Jn},label:{color:Jn},controlStyle:{color:Jn,borderColor:Jn}},calendar:{itemStyle:{color:jD},dayLabel:{color:Jn},monthLabel:{color:Jn},yearLabel:{color:Jn}},timeAxis:B0(),logAxis:B0(),valueAxis:B0(),categoryAxis:B0(),line:{symbol:"circle"},graph:{color:XD},gauge:{title:{color:Jn},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Jn},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};xK.categoryAxis.splitLine.show=!1;const tut=xK;var rut=function(){function e(){}return e.prototype.normalizeQuery=function(t){var r={},n={},a={};if(et(t)){var i=$o(t);r.mainType=i.main||null,r.subType=i.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};G(t,function(l,u){for(var c=!1,d=0;d<o.length;d++){var f=o[d],p=u.lastIndexOf(f);if(p>0&&p===u.length-f.length){var h=u.slice(0,p);h!=="data"&&(r.mainType=h,r[f.toLowerCase()]=l,c=!0)}}s.hasOwnProperty(u)&&(n[u]=l,c=!0),c||(a[u]=l)})}return{cptQuery:r,dataQuery:n,otherQuery:a}},e.prototype.filter=function(t,r){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=r.cptQuery,u=r.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,r.otherQuery,a,i));function c(d,f,p,h){return d[p]==null||f[h||p]===d[p]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),y6=["symbol","symbolSize","symbolRotate","symbolOffset"],ZD=y6.concat(["symbolKeepAspect"]),nut={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData();if(e.legendIcon&&r.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var n={},a={},i=!1,o=0;o<y6.length;o++){var s=y6[o],l=e.get(s);ft(l)?(i=!0,a[s]=l):n[s]=l}if(n.symbol=n.symbol||e.defaultSymbol,r.setVisual(Me({legendIcon:e.legendIcon||n.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},n)),t.isSeriesFiltered(e))return;var u=Wt(a);function c(d,f){for(var p=e.getRawValue(f),h=e.getDataParams(f),v=0;v<u.length;v++){var g=u[v];d.setItemVisual(f,g,a[g](p,h))}}return{dataEach:i?c:null}}},aut={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.hasSymbolVisual||t.isSeriesFiltered(e))return;var r=e.getData();function n(a,i){for(var o=a.getItemModel(i),s=0;s<ZD.length;s++){var l=ZD[s],u=o.getShallow(l,!0);u!=null&&a.setItemVisual(i,l,u)}}return{dataEach:r.hasItemOption?n:null}}};function AA(e,t,r){switch(r){case"color":var n=e.getItemVisual(t,"style");return n[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,r)}}function Mm(e,t){switch(t){case"color":var r=e.getVisual("style");return r[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t)}}function AK(e,t,r,n){switch(r){case"color":var a=e.ensureUniqueItemVisual(t,"style");a[e.getVisual("drawType")]=n,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=n;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,r,n);break}}function kK(e,t){function r(n,a){var i=[];return n.eachComponent({mainType:"series",subType:e,query:a},function(o){i.push(o.seriesIndex)}),i}G([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],function(n){t(n[0],function(a,i,o){a=Me({},a),o.dispatchAction(Me(a,{type:n[1],seriesIndex:r(i,a)}))})})}function Zd(e,t,r,n,a){var i=e+t;r.isSilent(i)||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 d=o.getData(),f=hd(d,a.fromActionPayload);r.trigger(i,{type:i,seriesId:o.id,name:Ne(f)?d.getName(f[0]):d.getName(f),selected:et(l)?l:Me({},l)})}})}function iut(e,t,r){e.on("selectchanged",function(n){var a=r.getModel();n.isFromClick?(Zd("map","selectchanged",t,a,n),Zd("pie","selectchanged",t,a,n)):n.fromAction==="select"?(Zd("map","selected",t,a,n),Zd("pie","selected",t,a,n)):n.fromAction==="unselect"&&(Zd("map","unselected",t,a,n),Zd("pie","unselected",t,a,n))})}function Mc(e,t,r){for(var n;e&&!(t(e)&&(n=e,r));)e=e.__hostTarget||e.parent;return n}var out=Math.round(Math.random()*9),sut=typeof Object.defineProperty=="function",lut=function(){function e(){this._id="__ec_inner_"+out++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,r){var n=this._guard(t);return sut?Object.defineProperty(n,this._id,{value:r,enumerable:!1,configurable:!0}):n[this._id]=r,this},e.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},e.prototype.has=function(t){return!!this._guard(t)[this._id]},e.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},e}();const uut=lut;var cut=Vt.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var r=t.cx,n=t.cy,a=t.width/2,i=t.height/2;e.moveTo(r,n-i),e.lineTo(r+a,n+i),e.lineTo(r-a,n+i),e.closePath()}}),dut=Vt.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var r=t.cx,n=t.cy,a=t.width/2,i=t.height/2;e.moveTo(r,n-i),e.lineTo(r+a,n),e.lineTo(r,n+i),e.lineTo(r-a,n),e.closePath()}}),fut=Vt.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var r=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,d=Math.sin(u),f=Math.cos(u),p=o*.6,h=o*.7;e.moveTo(r-c,l+s),e.arc(r,l,o,Math.PI-u,Math.PI*2+u),e.bezierCurveTo(r+c-d*p,l+s+f*p,r,n-h,r,n),e.bezierCurveTo(r,n-h,r-c+d*p,l+s+f*p,r-c,l+s),e.closePath()}}),put=Vt.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var r=t.height,n=t.width,a=t.x,i=t.y,o=n/3*2;e.moveTo(a,i),e.lineTo(a+o,i+r),e.lineTo(a,i+r/4*3),e.lineTo(a-o,i+r),e.lineTo(a,i),e.closePath()}}),hut={line:Sn,rect:Xt,roundRect:Xt,square:Xt,circle:ts,diamond:dut,pin:fut,arrow:put,triangle:cut},vut={line:function(e,t,r,n,a){a.x1=e,a.y1=t+n/2,a.x2=e+r,a.y2=t+n/2},rect:function(e,t,r,n,a){a.x=e,a.y=t,a.width=r,a.height=n},roundRect:function(e,t,r,n,a){a.x=e,a.y=t,a.width=r,a.height=n,a.r=Math.min(r,n)/4},square:function(e,t,r,n,a){var i=Math.min(r,n);a.x=e,a.y=t,a.width=i,a.height=i},circle:function(e,t,r,n,a){a.cx=e+r/2,a.cy=t+n/2,a.r=Math.min(r,n)/2},diamond:function(e,t,r,n,a){a.cx=e+r/2,a.cy=t+n/2,a.width=r,a.height=n},pin:function(e,t,r,n,a){a.x=e+r/2,a.y=t+n/2,a.width=r,a.height=n},arrow:function(e,t,r,n,a){a.x=e+r/2,a.y=t+n/2,a.width=r,a.height=n},triangle:function(e,t,r,n,a){a.cx=e+r/2,a.cy=t+n/2,a.width=r,a.height=n}},w2={};G(hut,function(e,t){w2[t]=new e});var gut=Vt.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,r){var n=u2(e,t,r),a=this.shape;return a&&a.symbolType==="pin"&&t.position==="inside"&&(n.y=r.y+r.height*.4),n},buildPath:function(e,t,r){var n=t.symbolType;if(n!=="none"){var a=w2[n];a||(n="rect",a=w2[n]),vut[n](t.x,t.y,t.width,t.height,a.shape),a.buildPath(e,a.shape,r)}}});function mut(e,t){if(this.type!=="image"){var r=this.style;this.__isEmptyBrush?(r.stroke=e,r.fill=t||"#fff",r.lineWidth=2):this.shape.symbolType==="line"?r.stroke=e:r.fill=e,this.markRedraw()}}function an(e,t,r,n,a,i,o){var s=e.indexOf("empty")===0;s&&(e=e.substr(5,1).toLowerCase()+e.substr(6));var l;return e.indexOf("image://")===0?l=pW(e.slice(8),new Pt(t,r,n,a),o?"center":"cover"):e.indexOf("path://")===0?l=rb(e.slice(7),{},new Pt(t,r,n,a),o?"center":"cover"):l=new gut({shape:{symbolType:e,x:t,y:r,width:n,height:a}}),l.__isEmptyBrush=s,l.setColor=mut,i&&l.setColor(i),l}function eh(e){return Ne(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function Md(e,t){if(e!=null)return Ne(e)||(e=[e,e]),[Ze(e[0],t[0])||0,Ze(Dt(e[1],e[0]),t[1])||0]}function Lc(e){return isFinite(e)}function yut(e,t,r){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*r.width+r.x,a=a*r.width+r.x,i=i*r.height+r.y,o=o*r.height+r.y),n=Lc(n)?n:0,a=Lc(a)?a:1,i=Lc(i)?i:0,o=Lc(o)?o:0;var s=e.createLinearGradient(n,i,a,o);return s}function _ut(e,t,r){var n=r.width,a=r.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+r.x,s=s*a+r.y,l=l*i),o=Lc(o)?o:.5,s=Lc(s)?s:.5,l=l>=0&&Lc(l)?l:.5;var u=e.createRadialGradient(o,s,0,o,s,l);return u}function _6(e,t,r){for(var n=t.type==="radial"?_ut(e,t,r):yut(e,t,r),a=t.colorStops,i=0;i<a.length;i++)n.addColorStop(a[i].offset,a[i].color);return n}function but(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!0;return!1}function F0(e){return parseInt(e,10)}function kf(e,t,r){var n=["width","height"][t],a=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(r[n]!=null&&r[n]!=="auto")return parseFloat(r[n]);var s=document.defaultView.getComputedStyle(e);return(e[a]||F0(s[n])||F0(e.style[n]))-(F0(s[i])||0)-(F0(s[o])||0)|0}function wut(e,t){return!e||e==="solid"||!(t>0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:tr(e)?[e]:Ne(e)?e:null}function kA(e){var t=e.style,r=t.lineDash&&t.lineWidth>0&&wut(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(r){var a=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;a&&a!==1&&(r=Pe(r,function(i){return i/a}),n/=a)}return[r,n]}var Sut=new es(!0);function S2(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function QD(e){return typeof e=="string"&&e!=="none"}function E2(e){var t=e.fill;return t!=null&&t!=="none"}function JD(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=r}else e.fill()}function e5(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=r}else e.stroke()}function b6(e,t,r){var n=Qx(t.image,t.__image,r);if(j_(n)){var a=e.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)*Qy),i.scaleSelf(t.scaleX||1,t.scaleY||1),a.setTransform(i)}return a}}function Eut(e,t,r,n){var a,i=S2(r),o=E2(r),s=r.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var c=t.path||Sut,d=t.__dirty;if(!n){var f=r.fill,p=r.stroke,h=o&&!!f.colorStops,v=i&&!!p.colorStops,g=o&&!!f.image,m=i&&!!p.image,y=void 0,_=void 0,w=void 0,E=void 0,S=void 0;(h||v)&&(S=t.getBoundingRect()),h&&(y=d?_6(e,f,S):t.__canvasFillGradient,t.__canvasFillGradient=y),v&&(_=d?_6(e,p,S):t.__canvasStrokeGradient,t.__canvasStrokeGradient=_),g&&(w=d||!t.__canvasFillPattern?b6(e,f,t):t.__canvasFillPattern,t.__canvasFillPattern=w),m&&(E=d||!t.__canvasStrokePattern?b6(e,p,t):t.__canvasStrokePattern,t.__canvasStrokePattern=w),h?e.fillStyle=y:g&&(w?e.fillStyle=w:o=!1),v?e.strokeStyle=_:m&&(E?e.strokeStyle=E:i=!1)}var C=t.getGlobalScale();c.setScale(C[0],C[1],t.segmentIgnoreThreshold);var T,x;e.setLineDash&&r.lineDash&&(a=kA(t),T=a[0],x=a[1]);var A=!0;(u||d&vf)&&(c.setDPR(e.dpr),l?c.setContext(null):(c.setContext(e),A=!1),c.reset(),t.buildPath(c,t.shape,n),c.toStatic(),t.pathUpdated()),A&&c.rebuildPath(e,l?s:1),T&&(e.setLineDash(T),e.lineDashOffset=x),n||(r.strokeFirst?(i&&e5(e,r),o&&JD(e,r)):(o&&JD(e,r),i&&e5(e,r))),T&&e.setLineDash([])}function Cut(e,t,r){var n=t.__image=Qx(r.image,t.__image,t,t.onload);if(!(!n||!j_(n))){var a=r.x||0,i=r.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),r.sWidth&&r.sHeight){var u=r.sx||0,c=r.sy||0;e.drawImage(n,u,c,r.sWidth,r.sHeight,a,i,o,s)}else if(r.sx&&r.sy){var u=r.sx,c=r.sy,d=o-u,f=s-c;e.drawImage(n,u,c,d,f,a,i,o,s)}else e.drawImage(n,a,i,o,s)}}function Tut(e,t,r){var n,a=r.text;if(a!=null&&(a+=""),a){e.font=r.font||iu,e.textAlign=r.textAlign,e.textBaseline=r.textBaseline;var i=void 0,o=void 0;e.setLineDash&&r.lineDash&&(n=kA(t),i=n[0],o=n[1]),i&&(e.setLineDash(i),e.lineDashOffset=o),r.strokeFirst?(S2(r)&&e.strokeText(a,r.x,r.y),E2(r)&&e.fillText(a,r.x,r.y)):(E2(r)&&e.fillText(a,r.x,r.y),S2(r)&&e.strokeText(a,r.x,r.y)),i&&e.setLineDash([])}}var t5=["shadowBlur","shadowOffsetX","shadowOffsetY"],r5=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function IK(e,t,r,n,a){var i=!1;if(!n&&(r=r||{},t===r))return!1;if(n||t.opacity!==r.opacity){Sa(e,a),i=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?qc.opacity:o}(n||t.blend!==r.blend)&&(i||(Sa(e,a),i=!0),e.globalCompositeOperation=t.blend||qc.blend);for(var s=0;s<t5.length;s++){var l=t5[s];(n||t[l]!==r[l])&&(i||(Sa(e,a),i=!0),e[l]=e.dpr*(t[l]||0))}return(n||t.shadowColor!==r.shadowColor)&&(i||(Sa(e,a),i=!0),e.shadowColor=t.shadowColor||qc.shadowColor),i}function n5(e,t,r,n,a){var i=Ug(t,a.inHover),o=n?null:r&&Ug(r,a.inHover)||{};if(i===o)return!1;var s=IK(e,i,o,n,a);if((n||i.fill!==o.fill)&&(s||(Sa(e,a),s=!0),QD(i.fill)&&(e.fillStyle=i.fill)),(n||i.stroke!==o.stroke)&&(s||(Sa(e,a),s=!0),QD(i.stroke)&&(e.strokeStyle=i.stroke)),(n||i.opacity!==o.opacity)&&(s||(Sa(e,a),s=!0),e.globalAlpha=i.opacity==null?1:i.opacity),t.hasStroke()){var l=i.lineWidth,u=l/(i.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==u&&(s||(Sa(e,a),s=!0),e.lineWidth=u)}for(var c=0;c<r5.length;c++){var d=r5[c],f=d[0];(n||i[f]!==o[f])&&(s||(Sa(e,a),s=!0),e[f]=i[f]||d[1])}return s}function xut(e,t,r,n,a){return IK(e,Ug(t,a.inHover),r&&Ug(r,a.inHover),n,a)}function RK(e,t){var r=t.transform,n=e.dpr||1;r?e.setTransform(n*r[0],n*r[1],n*r[2],n*r[3],n*r[4],n*r[5]):e.setTransform(n,0,0,n,0,0)}function Aut(e,t,r){for(var n=!1,a=0;a<e.length;a++){var i=e[a];n=n||i.isZeroArea(),RK(t,i),t.beginPath(),i.buildPath(t,i.shape),t.clip()}r.allClipped=n}function kut(e,t){return e&&t?e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[5]!==t[5]:!(!e&&!t)}var a5=1,i5=2,o5=3,s5=4;function Iut(e){var t=E2(e),r=S2(e);return!(e.lineDash||!(+t^+r)||t&&typeof e.fill!="string"||r&&typeof e.stroke!="string"||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}function Sa(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function Ug(e,t){return t&&e.__hoverStyle||e.style}function MK(e,t){Dc(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Dc(e,t,r,n){var a=t.transform;if(!t.shouldBePainted(r.viewWidth,r.viewHeight,!1,!1)){t.__dirty&=~Wa,t.__isRendered=!1;return}var i=t.__clipPaths,o=r.prevElClipPaths,s=!1,l=!1;if((!o||but(i,o))&&(o&&o.length&&(Sa(e,r),e.restore(),l=s=!0,r.prevElClipPaths=null,r.allClipped=!1,r.prevEl=null),i&&i.length&&(Sa(e,r),e.save(),Aut(i,e,r),s=!0),r.prevElClipPaths=i),r.allClipped){t.__isRendered=!1;return}t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var u=r.prevEl;u||(l=s=!0);var c=t instanceof Vt&&t.autoBatch&&Iut(t.style);s||kut(a,u.transform)?(Sa(e,r),RK(e,t)):c||Sa(e,r);var d=Ug(t,r.inHover);t instanceof Vt?(r.lastDrawType!==a5&&(l=!0,r.lastDrawType=a5),n5(e,t,u,l,r),(!c||!r.batchFill&&!r.batchStroke)&&e.beginPath(),Eut(e,t,d,c),c&&(r.batchFill=d.fill||"",r.batchStroke=d.stroke||"")):t instanceof Dg?(r.lastDrawType!==o5&&(l=!0,r.lastDrawType=o5),n5(e,t,u,l,r),Tut(e,t,d)):t instanceof $n?(r.lastDrawType!==i5&&(l=!0,r.lastDrawType=i5),xut(e,t,u,l,r),Cut(e,t,d)):t.getTemporalDisplayables&&(r.lastDrawType!==s5&&(l=!0,r.lastDrawType=s5),Rut(e,t,r)),c&&n&&Sa(e,r),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),r.prevEl=t,t.__dirty=0,t.__isRendered=!0}function Rut(e,t,r){var n=t.getDisplayables(),a=t.getTemporalDisplayables();e.save();var i={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:r.viewWidth,viewHeight:r.viewHeight,inHover:r.inHover},o,s;for(o=t.getCursor(),s=n.length;o<s;o++){var l=n[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Dc(e,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(),Dc(e,l,i,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),i.prevEl=l}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var pS=new uut,l5=new Sm(100),u5=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Ep(e,t){if(e==="none")return null;var r=t.getDevicePixelRatio(),n=t.getZr(),a=n.painter.type==="svg";e.dirty&&pS.delete(e);var i=pS.get(e);if(i)return i;var o=ht(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});o.backgroundColor==="none"&&(o.backgroundColor=null);var s={repeat:"repeat"};return l(s),s.rotation=o.rotation,s.scaleX=s.scaleY=a?1:1/r,pS.set(e,s),e.dirty=!1,s;function l(u){for(var c=[r],d=!0,f=0;f<u5.length;++f){var p=o[u5[f]];if(p!=null&&!Ne(p)&&!et(p)&&!tr(p)&&typeof p!="boolean"){d=!1;break}c.push(p)}var h;if(d){h=c.join(",")+(a?"-svg":"");var v=l5.get(h);v&&(a?u.svgElement=v:u.image=v)}var g=DK(o.dashArrayX),m=Mut(o.dashArrayY),y=LK(o.symbol),_=Lut(g),w=OK(m),E=!a&&ou.createCanvas(),S=a&&{tag:"g",attrs:{},key:"dcl",children:[]},C=x(),T;E&&(E.width=C.width*r,E.height=C.height*r,T=E.getContext("2d")),A(),d&&l5.put(h,E||S),u.image=E,u.svgElement=S,u.svgWidth=C.width,u.svgHeight=C.height;function x(){for(var k=1,R=0,M=_.length;R<M;++R)k=CL(k,_[R]);for(var O=1,R=0,M=y.length;R<M;++R)O=CL(O,y[R].length);k*=O;var z=w*_.length*y.length;return{width:Math.max(1,Math.min(k,o.maxTileWidth)),height:Math.max(1,Math.min(z,o.maxTileHeight))}}function A(){T&&(T.clearRect(0,0,E.width,E.height),o.backgroundColor&&(T.fillStyle=o.backgroundColor,T.fillRect(0,0,E.width,E.height)));for(var k=0,R=0;R<m.length;++R)k+=m[R];if(k<=0)return;for(var M=-w,O=0,z=0,B=0;M<C.height;){if(O%2===0){for(var P=z/2%y.length,F=0,D=0,H=0;F<C.width*2;){for(var K=0,R=0;R<g[B].length;++R)K+=g[B][R];if(K<=0)break;if(D%2===0){var Y=(1-o.symbolSize)*.5,X=F+g[B][D]*Y,J=M+m[O]*Y,fe=g[B][D]*o.symbolSize,se=m[O]*o.symbolSize,q=H/2%y[P].length;j(X,J,fe,se,y[P][q])}F+=g[B][D],++H,++D,D===g[B].length&&(D=0)}++B,B===g.length&&(B=0)}M+=m[O],++z,++O,O===m.length&&(O=0)}function j(ae,ne,le,W,Z){var ie=a?1:r,me=an(Z,ae*ie,ne*ie,le*ie,W*ie,o.color,o.symbolKeepAspect);if(a){var be=n.painter.renderOneToVNode(me);be&&S.children.push(be)}else MK(T,me)}}}}function LK(e){if(!e||e.length===0)return[["rect"]];if(et(e))return[[e]];for(var t=!0,r=0;r<e.length;++r)if(!et(e[r])){t=!1;break}if(t)return LK([e]);for(var n=[],r=0;r<e.length;++r)et(e[r])?n.push([e[r]]):n.push(e[r]);return n}function DK(e){if(!e||e.length===0)return[[0,0]];if(tr(e)){var t=Math.ceil(e);return[[t,t]]}for(var r=!0,n=0;n<e.length;++n)if(!tr(e[n])){r=!1;break}if(r)return DK([e]);for(var a=[],n=0;n<e.length;++n)if(tr(e[n])){var t=Math.ceil(e[n]);a.push([t,t])}else{var t=Pe(e[n],function(s){return Math.ceil(s)});t.length%2===1?a.push(t.concat(t)):a.push(t)}return a}function Mut(e){if(!e||typeof e=="object"&&e.length===0)return[0,0];if(tr(e)){var t=Math.ceil(e);return[t,t]}var r=Pe(e,function(n){return Math.ceil(n)});return e.length%2?r.concat(r):r}function Lut(e){return Pe(e,function(t){return OK(t)})}function OK(e){for(var t=0,r=0;r<e.length;++r)t+=e[r];return e.length%2===1?t*2:t}function Dut(e,t){e.eachRawSeries(function(r){if(!e.isSeriesFiltered(r)){var n=r.getData();n.hasItemVisual()&&n.each(function(o){var s=n.getItemVisual(o,"decal");if(s){var l=n.ensureUniqueItemVisual(o,"style");l.decal=Ep(s,t)}});var a=n.getVisual("decal");if(a){var i=n.getVisual("style");i.decal=Ep(a,t)}}})}var Out=new $i;const Yi=Out;var NK={};function Nut(e,t){NK[e]=t}function Put(e){return NK[e]}var $ut=1,But=800,Fut=900,zut=1e3,Vut=2e3,Hut=5e3,PK=1e3,Uut=1100,IA=2e3,$K=3e3,Gut=4e3,hb=4500,Wut=4600,Kut=5e3,Yut=6e3,BK=7e3,qut={PROCESSOR:{FILTER:zut,SERIES_FILTER:But,STATISTIC:Hut},VISUAL:{LAYOUT:PK,PROGRESSIVE_LAYOUT:Uut,GLOBAL:IA,CHART:$K,POST_CHART_LAYOUT:Wut,COMPONENT:Gut,BRUSH:Kut,CHART_ITEM:hb,ARIA:Yut,DECAL:BK}},Fn="__flagInMainProcess",ga="__pendingUpdate",hS="__needsUpdateStatus",c5=/^[a-zA-Z0-9_]+$/,vS="__connectUpdateStatus",d5=0,jut=1,Xut=2;function FK(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(this.isDisposed()){this.id;return}return VK(this,e,t)}}function zK(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return VK(this,e,t)}}function VK(e,t,r){return r[0]=r[0]&&r[0].toLowerCase(),$i.prototype[t].apply(e,r)}var HK=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}($i),UK=HK.prototype;UK.on=zK("on");UK.off=zK("off");var Qd,gS,z0,cl,mS,yS,_S,Th,xh,f5,p5,bS,h5,V0,v5,GK,ri,g5,WK=function(e){ye(t,e);function t(r,n,a){var i=e.call(this,new rut)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],a=a||{},et(n)&&(n=KK[n]),i._dom=r;var o="canvas",s="auto",l=!1,u=i._zr=bL(r,{renderer:a.renderer||o,devicePixelRatio:a.devicePixelRatio,width:a.width,height:a.height,ssr:a.ssr,useDirtyRect:Dt(a.useDirtyRect,l),useCoarsePointer:Dt(a.useCoarsePointer,s),pointerSize:a.pointerSize});i._ssr=a.ssr,i._throttledZrFlush=xA(rt(u.flush,u),17),n=_t(n),n&&ZW(n,!0),i._theme=n,i._locale=ust(a.locale||CW),i._coordSysMgr=new Rm;var c=i._api=v5(i);function d(f,p){return f.__prio-p.__prio}return t1(T2,d),t1(w6,d),i._scheduler=new TK(i,c,w6,T2),i._messageCenter=new HK,i._initEvents(),i.resize=rt(i.resize,i),u.animation.on("frame",i._onframe,i),f5(u,i),p5(u,i),t2(i),i}return t.prototype._onframe=function(){if(!this._disposed){g5(this);var r=this._scheduler;if(this[ga]){var n=this[ga].silent;this[Fn]=!0;try{Qd(this),cl.update.call(this,null,this[ga].updateParams)}catch(l){throw this[Fn]=!1,this[ga]=null,l}this._zr.flush(),this[Fn]=!1,this[ga]=null,Th.call(this,n),xh.call(this,n)}else if(r.unfinished){var a=$ut,i=this._model,o=this._api;r.unfinished=!1;do{var s=+new Date;r.performSeriesTasks(i),r.performDataProcessorTasks(i),yS(this,i),r.performVisualTasks(i),V0(this,this._model,o,"remain",{}),a-=+new Date-s}while(a>0&&r.unfinished);r.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(r,n,a){if(!this[Fn]){if(this._disposed){this.id;return}var i,o,s;if(vt(n)&&(a=n.lazyUpdate,i=n.silent,o=n.replaceMerge,s=n.transition,n=n.notMerge),this[Fn]=!0,!this._model||n){var l=new Vst(this._api),u=this._theme,c=this._model=new qW;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,l)}this._model.setOption(r,{replaceMerge:o},S6);var d={seriesTransition:s,optionChanged:!0};if(a)this[ga]={silent:i,updateParams:d},this[Fn]=!1,this.getZr().wakeUp();else{try{Qd(this),cl.update.call(this,null,d)}catch(f){throw this[ga]=null,this[Fn]=!1,f}this._ssr||this._zr.flush(),this[ga]=null,this[Fn]=!1,Th.call(this,i),xh.call(this,i)}}},t.prototype.setTheme=function(){},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||Jt.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(r){return this.renderToCanvas(r)},t.prototype.renderToCanvas=function(r){r=r||{};var n=this._zr.painter;return n.getRenderedCanvas({backgroundColor:r.backgroundColor||this._model.get("backgroundColor"),pixelRatio:r.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(r){r=r||{};var n=this._zr.painter;return n.renderToString({useViewBox:r.useViewBox})},t.prototype.getSvgDataURL=function(){if(Jt.svgSupported){var r=this._zr,n=r.storage.getDisplayList();return G(n,function(a){a.stopAnimation(null,!0)}),r.painter.toDataURL()}},t.prototype.getDataURL=function(r){if(this._disposed){this.id;return}r=r||{};var n=r.excludeComponents,a=this._model,i=[],o=this;G(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(r).toDataURL("image/"+(r&&r.type||"png"));return G(i,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(r){if(this._disposed){this.id;return}var n=r.type==="svg",a=this.group,i=Math.min,o=Math.max,s=1/0;if(m5[a]){var l=s,u=s,c=-s,d=-s,f=[],p=r&&r.pixelRatio||this.getDevicePixelRatio();G(Pv,function(_,w){if(_.group===a){var E=n?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(_t(r)),S=_.getDom().getBoundingClientRect();l=i(S.left,l),u=i(S.top,u),c=o(S.right,c),d=o(S.bottom,d),f.push({dom:E,left:S.left,top:S.top})}}),l*=p,u*=p,c*=p,d*=p;var h=c-l,v=d-u,g=ou.createCanvas(),m=bL(g,{renderer:n?"svg":"canvas"});if(m.resize({width:h,height:v}),n){var y="";return G(f,function(_){var w=_.left-l,E=_.top-u;y+='<g transform="translate('+w+","+E+')">'+_.dom+"</g>"}),m.painter.getSvgRoot().innerHTML=y,r.connectedBackgroundColor&&m.painter.setBackgroundColor(r.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}else return r.connectedBackgroundColor&&m.add(new Xt({shape:{x:0,y:0,width:h,height:v},style:{fill:r.connectedBackgroundColor}})),G(f,function(_){var w=new $n({style:{x:_.left*p-l,y:_.top*p-u,image:_.dom}});m.add(w)}),m.refreshImmediately(),g.toDataURL("image/"+(r&&r.type||"png"))}else return this.getDataURL(r)},t.prototype.convertToPixel=function(r,n){return mS(this,"convertToPixel",r,n)},t.prototype.convertFromPixel=function(r,n){return mS(this,"convertFromPixel",r,n)},t.prototype.containPixel=function(r,n){if(this._disposed){this.id;return}var a=this._model,i,o=Iv(a,r);return G(o,function(s,l){l.indexOf("Models")>=0&&G(s,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)i=i||!!c.containPoint(n);else if(l==="seriesModels"){var d=this._chartsMap[u.__viewId];d&&d.containPoint&&(i=i||d.containPoint(n,u))}},this)},this),!!i},t.prototype.getVisual=function(r,n){var a=this._model,i=Iv(a,r,{defaultMainType:"series"}),o=i.seriesModel,s=o.getData(),l=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?s.indexOfRawIndex(i.dataIndex):null;return l!=null?AA(s,l,n):Mm(s,n)},t.prototype.getViewOfComponentModel=function(r){return this._componentsMap[r.__viewId]},t.prototype.getViewOfSeriesModel=function(r){return this._chartsMap[r.__viewId]},t.prototype._initEvents=function(){var r=this;G(Zut,function(n){var a=function(i){var o=r.getModel(),s=i.target,l,u=n==="globalout";if(u?l={}:s&&Mc(s,function(h){var v=kt(h);if(v&&v.dataIndex!=null){var g=v.dataModel||o.getSeriesByIndex(v.seriesIndex);return l=g&&g.getDataParams(v.dataIndex,v.dataType,s)||{},!0}else if(v.eventData)return l=Me({},v.eventData),!0},!0),l){var c=l.componentType,d=l.componentIndex;(c==="markLine"||c==="markPoint"||c==="markArea")&&(c="series",d=l.seriesIndex);var f=c&&d!=null&&o.getComponent(c,d),p=f&&r[f.mainType==="series"?"_chartsMap":"_componentsMap"][f.__viewId];l.event=i,l.type=n,r._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:f,view:p},r.trigger(n,l)}};a.zrEventfulCallAtLast=!0,r._zr.on(n,a,r)}),G(Nv,function(n,a){r._messageCenter.on(a,function(i){this.trigger(a,i)},r)}),G(["selectchanged"],function(n){r._messageCenter.on(n,function(a){this.trigger(n,a)},r)}),iut(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var r=this.getDom();r&&wG(this.getDom(),MA,"");var n=this,a=n._api,i=n._model;G(n._componentsViews,function(o){o.dispose(i,a)}),G(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 Pv[n.id]},t.prototype.resize=function(r){if(!this[Fn]){if(this._disposed){this.id;return}this._zr.resize(r);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var a=n.resetOption("media"),i=r&&r.silent;this[ga]&&(i==null&&(i=this[ga].silent),a=!0,this[ga]=null),this[Fn]=!0;try{a&&Qd(this),cl.update.call(this,{type:"resize",animation:Me({duration:0},r&&r.animation)})}catch(o){throw this[Fn]=!1,o}this[Fn]=!1,Th.call(this,i),xh.call(this,i)}}},t.prototype.showLoading=function(r,n){if(this._disposed){this.id;return}if(vt(r)&&(n=r,r=""),r=r||"default",this.hideLoading(),!!E6[r]){var a=E6[r](this._api,n),i=this._zr;this._loadingFX=a,i.add(a)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(r){var n=Me({},r);return n.type=Nv[r.type],n},t.prototype.dispatchAction=function(r,n){if(this._disposed){this.id;return}if(vt(n)||(n={silent:!!n}),!!C2[r.type]&&this._model){if(this[Fn]){this._pendingActions.push(r);return}var a=n.silent;_S.call(this,r,a);var i=n.flush;i?this._zr.flush():i!==!1&&Jt.browser.weChat&&this._throttledZrFlush(),Th.call(this,a),xh.call(this,a)}},t.prototype.updateLabelLayout=function(){Yi.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(r){if(this._disposed){this.id;return}var n=r.seriesIndex,a=this.getModel(),i=a.getSeriesByIndex(n);i.appendData(r),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){Qd=function(d){var f=d._scheduler;f.restorePipelines(d._model),f.prepareStageTasks(),gS(d,!0),gS(d,!1),f.plan()},gS=function(d,f){for(var p=d._model,h=d._scheduler,v=f?d._componentsViews:d._chartsViews,g=f?d._componentsMap:d._chartsMap,m=d._zr,y=d._api,_=0;_<v.length;_++)v[_].__alive=!1;f?p.eachComponent(function(S,C){S!=="series"&&w(C)}):p.eachSeries(w);function w(S){var C=S.__requireNewView;S.__requireNewView=!1;var T="_ec_"+S.id+"_"+S.type,x=!C&&g[T];if(!x){var A=$o(S.type),k=f?$r.getClass(A.main,A.sub):wr.getClass(A.sub);x=new k,x.init(p,y),g[T]=x,v.push(x),m.add(x.group)}S.__viewId=x.__id=T,x.__alive=!0,x.__model=S,x.group.__ecComponentInfo={mainType:S.mainType,index:S.componentIndex},!f&&h.prepareView(x,S,p,y)}for(var _=0;_<v.length;){var E=v[_];E.__alive?_++:(!f&&E.renderTask.dispose(),m.remove(E.group),E.dispose(p,y),v.splice(_,1),g[E.__id]===E&&delete g[E.__id],E.__id=E.group.__ecComponentInfo=null)}},z0=function(d,f,p,h,v){var g=d._model;if(g.setUpdatePayload(p),!h){G([].concat(d._componentsViews).concat(d._chartsViews),E);return}var m={};m[h+"Id"]=p[h+"Id"],m[h+"Index"]=p[h+"Index"],m[h+"Name"]=p[h+"Name"];var y={mainType:h,query:m};v&&(y.subType=v);var _=p.excludeSeriesId,w;_!=null&&(w=lt(),G(fr(_),function(S){var C=ln(S,null);C!=null&&w.set(C,!0)})),g&&g.eachComponent(y,function(S){var C=w&&w.get(S.id)!=null;if(!C)if(QL(p))if(S instanceof Rr)p.type===jc&&!p.notBlur&&!S.get(["emphasis","disabled"])&&tot(S,p,d._api);else{var T=nA(S.mainType,S.componentIndex,p.name,d._api),x=T.focusSelf,A=T.dispatchers;p.type===jc&&x&&!p.notBlur&&n6(S.mainType,S.componentIndex,d._api),A&&G(A,function(k){p.type===jc?zs(k):Vs(k)})}else i6(p)&&S instanceof Rr&&(aot(S,p,d._api),XL(S),ri(d))},d),g&&g.eachComponent(y,function(S){var C=w&&w.get(S.id)!=null;C||E(d[h==="series"?"_chartsMap":"_componentsMap"][S.__viewId])},d);function E(S){S&&S.__alive&&S[f]&&S[f](S.__model,g,d._api,p)}},cl={prepareAndUpdate:function(d){Qd(this),cl.update.call(this,d,{optionChanged:d.newOption!=null})},update:function(d,f){var p=this._model,h=this._api,v=this._zr,g=this._coordSysMgr,m=this._scheduler;if(p){p.setUpdatePayload(d),m.restoreData(p,d),m.performSeriesTasks(p),g.create(p,h),m.performDataProcessorTasks(p,d),yS(this,p),g.update(p,h),r(p),m.performVisualTasks(p,d),bS(this,p,h,d,f);var y=p.get("backgroundColor")||"transparent",_=p.get("darkMode");v.setBackgroundColor(y),_!=null&&_!=="auto"&&v.setDarkMode(_),Yi.trigger("afterupdate",p,h)}},updateTransform:function(d){var f=this,p=this._model,h=this._api;if(p){p.setUpdatePayload(d);var v=[];p.eachComponent(function(m,y){if(m!=="series"){var _=f.getViewOfComponentModel(y);if(_&&_.__alive)if(_.updateTransform){var w=_.updateTransform(y,p,h,d);w&&w.update&&v.push(_)}else v.push(_)}});var g=lt();p.eachSeries(function(m){var y=f._chartsMap[m.__viewId];if(y.updateTransform){var _=y.updateTransform(m,p,h,d);_&&_.update&&g.set(m.uid,1)}else g.set(m.uid,1)}),r(p),this._scheduler.performVisualTasks(p,d,{setDirty:!0,dirtyMap:g}),V0(this,p,h,d,{},g),Yi.trigger("afterupdate",p,h)}},updateView:function(d){var f=this._model;f&&(f.setUpdatePayload(d),wr.markUpdateMethod(d,"updateView"),r(f),this._scheduler.performVisualTasks(f,d,{setDirty:!0}),bS(this,f,this._api,d,{}),Yi.trigger("afterupdate",f,this._api))},updateVisual:function(d){var f=this,p=this._model;p&&(p.setUpdatePayload(d),p.eachSeries(function(h){h.getData().clearAllVisual()}),wr.markUpdateMethod(d,"updateVisual"),r(p),this._scheduler.performVisualTasks(p,d,{visualType:"visual",setDirty:!0}),p.eachComponent(function(h,v){if(h!=="series"){var g=f.getViewOfComponentModel(v);g&&g.__alive&&g.updateVisual(v,p,f._api,d)}}),p.eachSeries(function(h){var v=f._chartsMap[h.__viewId];v.updateVisual(h,p,f._api,d)}),Yi.trigger("afterupdate",p,this._api))},updateLayout:function(d){cl.update.call(this,d)}},mS=function(d,f,p,h){if(d._disposed){d.id;return}for(var v=d._model,g=d._coordSysMgr.getCoordinateSystems(),m,y=Iv(v,p),_=0;_<g.length;_++){var w=g[_];if(w[f]&&(m=w[f](v,y,h))!=null)return m}},yS=function(d,f){var p=d._chartsMap,h=d._scheduler;f.eachSeries(function(v){h.updateStreamModes(v,p[v.__viewId])})},_S=function(d,f){var p=this,h=this.getModel(),v=d.type,g=d.escapeConnect,m=C2[v],y=m.actionInfo,_=(y.update||"update").split(":"),w=_.pop(),E=_[0]!=null&&$o(_[0]);this[Fn]=!0;var S=[d],C=!1;d.batch&&(C=!0,S=Pe(d.batch,function(O){return O=ht(Me({},O),d),O.batch=null,O}));var T=[],x,A=i6(d),k=QL(d);if(k&&YG(this._api),G(S,function(O){if(x=m.action(O,p._model,p._api),x=x||Me({},O),x.type=y.event||x.type,T.push(x),k){var z=Xx(d),B=z.queryOptionMap,P=z.mainTypeSpecified,F=P?B.keys()[0]:"series";z0(p,w,O,F),ri(p)}else A?(z0(p,w,O,"series"),ri(p)):E&&z0(p,w,O,E.main,E.sub)}),w!=="none"&&!k&&!A&&!E)try{this[ga]?(Qd(this),cl.update.call(this,d),this[ga]=null):cl[w].call(this,d)}catch(O){throw this[Fn]=!1,O}if(C?x={type:y.event||v,escapeConnect:g,batch:T}:x=T[0],this[Fn]=!1,!f){var R=this._messageCenter;if(R.trigger(x.type,x),A){var M={type:"selectchanged",escapeConnect:g,selected:iot(h),isFromClick:d.isFromClick||!1,fromAction:d.type,fromActionPayload:d};R.trigger(M.type,M)}}},Th=function(d){for(var f=this._pendingActions;f.length;){var p=f.shift();_S.call(this,p,d)}},xh=function(d){!d&&this.trigger("updated")},f5=function(d,f){d.on("rendered",function(p){f.trigger("rendered",p),d.animation.isFinished()&&!f[ga]&&!f._scheduler.unfinished&&!f._pendingActions.length&&f.trigger("finished")})},p5=function(d,f){d.on("mouseover",function(p){var h=p.target,v=Mc(h,Ng);v&&(rot(v,p,f._api),ri(f))}).on("mouseout",function(p){var h=p.target,v=Mc(h,Ng);v&&(not(v,p,f._api),ri(f))}).on("click",function(p){var h=p.target,v=Mc(h,function(y){return kt(y).dataIndex!=null},!0);if(v){var g=v.selected?"unselect":"select",m=kt(v);f._api.dispatchAction({type:g,dataType:m.dataType,dataIndexInside:m.dataIndex,seriesIndex:m.seriesIndex,isFromClick:!0})}})};function r(d){d.clearColorPalette(),d.eachSeries(function(f){f.clearColorPalette()})}function n(d){var f=[],p=[],h=!1;if(d.eachComponent(function(y,_){var w=_.get("zlevel")||0,E=_.get("z")||0,S=_.getZLevelKey();h=h||!!S,(y==="series"?p:f).push({zlevel:w,z:E,idx:_.componentIndex,type:y,key:S})}),h){var v=f.concat(p),g,m;t1(v,function(y,_){return y.zlevel===_.zlevel?y.z-_.z:y.zlevel-_.zlevel}),G(v,function(y){var _=d.getComponent(y.type,y.idx),w=y.zlevel,E=y.key;g!=null&&(w=Math.max(g,w)),E?(w===g&&E!==m&&w++,m=E):m&&(w===g&&w++,m=""),g=w,_.setZLevel(w)})}}bS=function(d,f,p,h,v){n(f),h5(d,f,p,h,v),G(d._chartsViews,function(g){g.__alive=!1}),V0(d,f,p,h,v),G(d._chartsViews,function(g){g.__alive||g.remove(f,p)})},h5=function(d,f,p,h,v,g){G(g||d._componentsViews,function(m){var y=m.__model;u(y,m),m.render(y,f,p,h),s(y,m),c(y,m)})},V0=function(d,f,p,h,v,g){var m=d._scheduler;v=Me(v||{},{updatedSeries:f.getSeries()}),Yi.trigger("series:beforeupdate",f,p,v);var y=!1;f.eachSeries(function(_){var w=d._chartsMap[_.__viewId];w.__alive=!0;var E=w.renderTask;m.updatePayload(E,h),u(_,w),g&&g.get(_.uid)&&E.dirty(),E.perform(m.getPerformArgs(E))&&(y=!0),w.group.silent=!!_.get("silent"),o(_,w),XL(_)}),m.unfinished=y||m.unfinished,Yi.trigger("series:layoutlabels",f,p,v),Yi.trigger("series:transition",f,p,v),f.eachSeries(function(_){var w=d._chartsMap[_.__viewId];s(_,w),c(_,w)}),i(d,f),Yi.trigger("series:afterupdate",f,p,v)},ri=function(d){d[hS]=!0,d.getZr().wakeUp()},g5=function(d){d[hS]&&(d.getZr().storage.traverse(function(f){Gf(f)||a(f)}),d[hS]=!1)};function a(d){for(var f=[],p=d.currentStates,h=0;h<p.length;h++){var v=p[h];v==="emphasis"||v==="blur"||v==="select"||f.push(v)}d.selected&&d.states.select&&f.push("select"),d.hoverState===Q_&&d.states.emphasis?f.push("emphasis"):d.hoverState===Tm&&d.states.blur&&f.push("blur"),d.useStates(f)}function i(d,f){var p=d._zr,h=p.storage,v=0;h.traverse(function(g){g.isGroup||v++}),v>f.get("hoverLayerThreshold")&&!Jt.node&&!Jt.worker&&f.eachSeries(function(g){if(!g.preventUsingHoverLayer){var m=d._chartsMap[g.__viewId];m.__alive&&m.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function o(d,f){var p=d.get("blendMode")||null;f.eachRendered(function(h){h.isGroup||(h.style.blend=p)})}function s(d,f){if(!d.preventAutoZ){var p=d.get("z")||0,h=d.get("zlevel")||0;f.eachRendered(function(v){return l(v,p,h,-1/0),!0})}}function l(d,f,p,h){var v=d.getTextContent(),g=d.getTextGuideLine(),m=d.isGroup;if(m)for(var y=d.childrenRef(),_=0;_<y.length;_++)h=Math.max(l(y[_],f,p,h),h);else d.z=f,d.zlevel=p,h=Math.max(d.z2,h);if(v&&(v.z=f,v.zlevel=p,isFinite(h)&&(v.z2=h+2)),g){var w=d.textGuideLineConfig;g.z=f,g.zlevel=p,isFinite(h)&&(g.z2=h+(w&&w.showAbove?1:-1))}return h}function u(d,f){f.eachRendered(function(p){if(!Gf(p)){var h=p.getTextContent(),v=p.getTextGuideLine();p.stateTransition&&(p.stateTransition=null),h&&h.stateTransition&&(h.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),p.hasState()?(p.prevStates=p.currentStates,p.clearStates()):p.prevStates&&(p.prevStates=null)}})}function c(d,f){var p=d.getModel("stateAnimation"),h=d.isAnimationEnabled(),v=p.get("duration"),g=v>0?{duration:v,delay:p.get("delay"),easing:p.get("easing")}:null;f.eachRendered(function(m){if(m.states&&m.states.emphasis){if(Gf(m))return;if(m instanceof Vt&&cot(m),m.__dirty){var y=m.prevStates;y&&m.useStates(y)}if(h){m.stateTransition=g;var _=m.getTextContent(),w=m.getTextGuideLine();_&&(_.stateTransition=g),w&&(w.stateTransition=g)}m.__dirty&&a(m)}})}v5=function(d){return new(function(f){ye(p,f);function p(){return f!==null&&f.apply(this,arguments)||this}return p.prototype.getCoordinateSystems=function(){return d._coordSysMgr.getCoordinateSystems()},p.prototype.getComponentByElement=function(h){for(;h;){var v=h.__ecComponentInfo;if(v!=null)return d._model.getComponent(v.mainType,v.index);h=h.parent}},p.prototype.enterEmphasis=function(h,v){zs(h,v),ri(d)},p.prototype.leaveEmphasis=function(h,v){Vs(h,v),ri(d)},p.prototype.enterBlur=function(h){UG(h),ri(d)},p.prototype.leaveBlur=function(h){rA(h),ri(d)},p.prototype.enterSelect=function(h){GG(h),ri(d)},p.prototype.leaveSelect=function(h){WG(h),ri(d)},p.prototype.getModel=function(){return d.getModel()},p.prototype.getViewOfComponentModel=function(h){return d.getViewOfComponentModel(h)},p.prototype.getViewOfSeriesModel=function(h){return d.getViewOfSeriesModel(h)},p}(jW))(d)},GK=function(d){function f(p,h){for(var v=0;v<p.length;v++){var g=p[v];g[vS]=h}}G(Nv,function(p,h){d._messageCenter.on(h,function(v){if(m5[d.group]&&d[vS]!==d5){if(v&&v.escapeConnect)return;var g=d.makeActionFromEvent(v),m=[];G(Pv,function(y){y!==d&&y.group===d.group&&m.push(y)}),f(m,d5),G(m,function(y){y[vS]!==jut&&y.dispatchAction(g)}),f(m,Xut)}})})}}(),t}($i),RA=WK.prototype;RA.on=FK("on");RA.off=FK("off");RA.one=function(e,t,r){var n=this;function a(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];t&&t.apply&&t.apply(this,i),n.off(e,a)}this.on.call(this,e,a,r)};var Zut=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];var C2={},Nv={},w6=[],S6=[],T2=[],KK={},E6={},Pv={},m5={},Qut=+new Date-0,MA="_echarts_instance_";function _Et(e,t,r){var n=!(r&&r.ssr);if(n){var a=Jut(e);if(a)return a}var i=new WK(e,t,r);return i.id="ec_"+Qut++,Pv[i.id]=i,n&&wG(e,MA,i.id),GK(i),Yi.trigger("afterinit",i),i}function Jut(e){return Pv[jat(e,MA)]}function YK(e,t){KK[e]=t}function qK(e){Bt(S6,e)<0&&S6.push(e)}function jK(e,t){DA(w6,e,t,Vut)}function ect(e){LA("afterinit",e)}function tct(e){LA("afterupdate",e)}function LA(e,t){Yi.on(e,t)}function is(e,t,r){ft(t)&&(r=t,t="");var n=vt(e)?e.type:[e,e={event:t}][0];e.event=(e.event||n).toLowerCase(),t=e.event,!Nv[t]&&(da(c5.test(n)&&c5.test(t)),C2[n]||(C2[n]={action:r,actionInfo:e}),Nv[t]=n)}function rct(e,t){Rm.register(e,t)}function nct(e,t){DA(T2,e,t,PK,"layout")}function Ld(e,t){DA(T2,e,t,$K,"visual")}var y5=[];function DA(e,t,r,n,a){if((ft(t)||vt(t))&&(r=t,t=n),!(Bt(y5,r)>=0)){y5.push(r);var i=TK.wrapStageHandler(r,a);i.__prio=t,i.__raw=r,e.push(i)}}function XK(e,t){E6[e]=t}function act(e,t,r){var n=Put("registerMap");n&&n(e,t,r)}var ict=vlt;Ld(IA,zlt);Ld(hb,Vlt);Ld(hb,Hlt);Ld(IA,nut);Ld(hb,aut);Ld(BK,Dut);qK(ZW);jK(Fut,jst);XK("default",Ult);is({type:jc,event:jc,update:jc},qr);is({type:s1,event:s1,update:s1},qr);is({type:Rv,event:Rv,update:Rv},qr);is({type:l1,event:l1,update:l1},qr);is({type:Mv,event:Mv,update:Mv},qr);YK("light",eut);YK("dark",tut);var _5=[],oct={registerPreprocessor:qK,registerProcessor:jK,registerPostInit:ect,registerPostUpdate:tct,registerUpdateLifecycle:LA,registerAction:is,registerCoordinateSystem:rct,registerLayout:nct,registerVisual:Ld,registerTransform:ict,registerLoading:XK,registerMap:act,registerImpl:Nut,PRIORITY:qut,ComponentModel:Qt,ComponentView:$r,SeriesModel:Rr,ChartView:wr,registerComponentModel:function(e){Qt.registerClass(e)},registerComponentView:function(e){$r.registerClass(e)},registerSeriesModel:function(e){Rr.registerClass(e)},registerChartView:function(e){wr.registerClass(e)},registerSubTypeDefaulter:function(e,t){Qt.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Iat(e,t)}};function Ft(e){if(Ne(e)){G(e,function(t){Ft(t)});return}Bt(_5,e)>=0||(_5.push(e),ft(e)&&(e={install:e}),e.install(oct))}function Ah(e){return e==null?0:e.length||1}function b5(e){return e}var sct=function(){function e(t,r,n,a,i,o){this._old=t,this._new=r,this._oldKeyGetter=n||b5,this._newKeyGetter=a||b5,this.context=i,this._diffModeMultiple=o==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,r=this._new,n={},a=new Array(t.length),i=new Array(r.length);this._initIndexMap(t,null,a,"_oldKeyGetter"),this._initIndexMap(r,n,i,"_newKeyGetter");for(var o=0;o<t.length;o++){var s=a[o],l=n[s],u=Ah(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)},e.prototype._executeMultiple=function(){var t=this._old,r=this._new,n={},a={},i=[],o=[];this._initIndexMap(t,n,i,"_oldKeyGetter"),this._initIndexMap(r,a,o,"_newKeyGetter");for(var s=0;s<i.length;s++){var l=i[s],u=n[l],c=a[l],d=Ah(u),f=Ah(c);if(d>1&&f===1)this._updateManyToOne&&this._updateManyToOne(c,u),a[l]=null;else if(d===1&&f>1)this._updateOneToMany&&this._updateOneToMany(c,u),a[l]=null;else if(d===1&&f===1)this._update&&this._update(c,u),a[l]=null;else if(d>1&&f>1)this._updateManyToMany&&this._updateManyToMany(c,u),a[l]=null;else if(d>1)for(var p=0;p<d;p++)this._remove&&this._remove(u[p]);else this._remove&&this._remove(u)}this._performRestAdd(o,a)},e.prototype._performRestAdd=function(t,r){for(var n=0;n<t.length;n++){var a=t[n],i=r[a],o=Ah(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);r[a]=null}},e.prototype._initIndexMap=function(t,r,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),!!r){var l=r[s],u=Ah(l);u===0?(r[s]=o,i&&n.push(s)):u===1?r[s]=[l,o]:l.push(o)}}},e}();const Hs=sct;var lct=function(){function e(t,r){this._encode=t,this._schema=r}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function uct(e,t){var r={},n=r.encode={},a=lt(),i=[],o=[],s={};G(e.dimensions,function(f){var p=e.getDimensionInfo(f),h=p.coordDim;if(h){var v=p.coordDimIndex;wS(n,h)[v]=f,p.isExtraCoord||(a.set(h,1),cct(p.type)&&(i[0]=f),wS(s,h)[v]=e.getDimensionIndex(p.name)),p.defaultTooltip&&o.push(f)}zW.each(function(g,m){var y=wS(n,m),_=p.otherDims[m];_!=null&&_!==!1&&(y[_]=p.name)})});var l=[],u={};a.each(function(f,p){var h=n[p];u[p]=h[0],l=l.concat(h)}),r.dataDimsOnCoord=l,r.dataDimIndicesOnCoord=Pe(l,function(f){return e.getDimensionInfo(f).storeDimIndex}),r.encodeFirstDimNotExtra=u;var c=n.label;c&&c.length&&(i=c.slice());var d=n.tooltip;return d&&d.length?o=d.slice():o.length||(o=i.slice()),n.defaultedLabel=i,n.defaultedTooltip=o,r.userOutput=new lct(s,t),r}function wS(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function x2(e){return e==="category"?"ordinal":e==="time"?"time":"float"}function cct(e){return!(e==="ordinal"||e==="time")}var dct=function(){function e(t){this.otherDims={},t!=null&&Me(this,t)}return e}();const p1=dct;var fct=Zt(),pct={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},ZK=function(){function e(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=eY(this.source)))},e.prototype.getSourceDimensionIndex=function(t){return Dt(this._dimNameMap.get(t),-1)},e.prototype.getSourceDimension=function(t){var r=this.source.dimensionsDefine;if(r)return r[t]},e.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,r=JW(this.source),n=!tY(t),a="",i=[],o=0,s=0;o<t;o++){var l=void 0,u=void 0,c=void 0,d=this.dimensions[s];if(d&&d.storeDimIndex===o)l=r?d.name:null,u=d.type,c=d.ordinalMeta,s++;else{var f=this.getSourceDimension(o);f&&(l=r?f.name:null,u=f.type)}i.push({property:l,type:u,ordinalMeta:c}),r&&l!=null&&(!d||!d.isCalculationCoord)&&(a+=n?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),a+="$",a+=pct[u]||"f",c&&(a+=c.uid),a+="$"}var p=this.source,h=[p.seriesLayoutBy,p.startIndex,a].join("$$");return{dimensions:i,hash:h}},e.prototype.makeOutputDimensionNames=function(){for(var t=[],r=0,n=0;r<this._fullDimCount;r++){var a=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===r)i.isCalculationCoord||(a=i.name),n++;else{var o=this.getSourceDimension(r);o&&(a=o.name)}t.push(a)}return t},e.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function QK(e){return e instanceof ZK}function JK(e){for(var t=lt(),r=0;r<(e||[]).length;r++){var n=e[r],a=vt(n)?n.name:n;a!=null&&t.get(a)==null&&t.set(a,r)}return t}function eY(e){var t=fct(e);return t.dimNameMap||(t.dimNameMap=JK(e.dimensionsDefine))}function tY(e){return e>30}var kh=vt,dl=Pe,hct=typeof Int32Array>"u"?Array:Int32Array,vct="e\0\0",w5=-1,gct=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],mct=["_approximateExtent"],S5,H0,Ih,Rh,SS,U0,ES,yct=function(){function e(t,r){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var n,a=!1;QK(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 d=n[c],f=et(d)?new p1({name:d}):d instanceof p1?d:new p1(d),p=f.name;f.type=f.type||"float",f.coordDim||(f.coordDim=p,f.coordDimIndex=0);var h=f.otherDims=f.otherDims||{};o.push(p),i[p]=f,u[p]!=null&&(l=!0),f.createInvertedIndices&&(s[p]=[]),h.itemName===0&&(this._nameDimIdx=c),h.itemId===0&&(this._idDimIdx=c),a&&(f.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(l),this.hostModel=r,this._invertedIndicesMap=s,this._dimOmitted){var v=this._dimIdxToName=lt();G(o,function(g){v.set(i[g].storeDimIndex,g)})}}return e.prototype.getDimension=function(t){var r=this._recognizeDimIndex(t);if(r==null)return t;if(r=t,!this._dimOmitted)return this.dimensions[r];var n=this._dimIdxToName.get(r);if(n!=null)return n;var a=this._schema.getSourceDimension(r);if(a)return a.name},e.prototype.getDimensionIndex=function(t){var r=this._recognizeDimIndex(t);if(r!=null)return r;if(t==null)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},e.prototype._recognizeDimIndex=function(t){if(tr(t)||t!=null&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},e.prototype._getStoreDimIndex=function(t){var r=this.getDimensionIndex(t);return r},e.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},e.prototype._initGetDimensionInfo=function(t){var r=this._dimInfos;this._getDimInfo=t?function(n){return r.hasOwnProperty(n)?r[n]:void 0}:function(n){return r[n]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(t,r){var n=this._dimSummary;if(r==null)return n.encodeFirstDimNotExtra[t];var a=n.encode[t];return a?a[r]:null},e.prototype.mapDimensionsAll=function(t){var r=this._dimSummary,n=r.encode[t];return(n||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(t,r,n){var a=this,i;if(t instanceof h6&&(i=t),!i){var o=this.dimensions,s=_A(t)||qn(t)?new eK(t,o.length):t;i=new h6;var l=dl(o,function(u){return{type:a._dimInfos[u].type,property:u}});i.initData(s,l,n)}this._store=i,this._nameList=(r||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=uct(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(t){var r=this._store.appendData(t);this._doInit(r[0],r[1])},e.prototype.appendValues=function(t,r){var n=this._store.appendValues(t,r.length),a=n.start,i=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),r)for(var s=a;s<i;s++){var l=s-a;this._nameList[s]=r[l],o&&ES(this,s)}},e.prototype._updateOrdinalMeta=function(){for(var t=this._store,r=this.dimensions,n=0;n<r.length;n++){var a=this._dimInfos[r[n]];a.ordinalMeta&&t.collectOrdinalMeta(a.storeDimIndex,a.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return this._idDimIdx==null&&t.getSource().sourceFormat!==ql&&!t.fillStorage},e.prototype._doInit=function(t,r){if(!(t>=r)){var n=this._store,a=n.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,s=a.getSource().sourceFormat,l=s===Bi;if(l&&!a.pure)for(var u=[],c=t;c<r;c++){var d=a.getItem(c,u);if(!this.hasItemOption&&Pat(d)&&(this.hasItemOption=!0),d){var f=d.name;i[c]==null&&f!=null&&(i[c]=ln(f,null));var p=d.id;o[c]==null&&p!=null&&(o[c]=ln(p,null))}}if(this._shouldMakeIdFromName())for(var c=t;c<r;c++)ES(this,c);S5(this)}},e.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},e.prototype.setApproximateExtent=function(t,r){r=this.getDimension(r),this._approximateExtent[r]=t.slice()},e.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},e.prototype.setCalculationInfo=function(t,r){kh(t)?Me(this._calculationInfo,t):this._calculationInfo[t]=r},e.prototype.getName=function(t){var r=this.getRawIndex(t),n=this._nameList[r];return n==null&&this._nameDimIdx!=null&&(n=Ih(this,this._nameDimIdx,r)),n==null&&(n=""),n},e.prototype._getCategory=function(t,r){var n=this._store.get(t,r),a=this._store.getOrdinalMeta(t);return a?a.categories[n]:n},e.prototype.getId=function(t){return H0(this,this.getRawIndex(t))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(t,r){var n=this._store,a=this._dimInfos[t];if(a)return n.get(a.storeDimIndex,r)},e.prototype.getByRawIndex=function(t,r){var n=this._store,a=this._dimInfos[t];if(a)return n.getByRawIndex(a.storeDimIndex,r)},e.prototype.getIndices=function(){return this._store.getIndices()},e.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},e.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},e.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},e.prototype.getValues=function(t,r){var n=this,a=this._store;return Ne(t)?a.getValues(dl(t,function(i){return n._getStoreDimIndex(i)}),r):a.getValues(t)},e.prototype.hasValue=function(t){for(var r=this._dimSummary.dataDimIndicesOnCoord,n=0,a=r.length;n<a;n++)if(isNaN(this._store.get(r[n],t)))return!1;return!0},e.prototype.indexOfName=function(t){for(var r=0,n=this._store.count();r<n;r++)if(this.getName(r)===t)return r;return-1},e.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},e.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},e.prototype.rawIndexOf=function(t,r){var n=t&&this._invertedIndicesMap[t],a=n[r];return a==null||isNaN(a)?w5:a},e.prototype.indicesOfNearest=function(t,r,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),r,n)},e.prototype.each=function(t,r,n){ft(t)&&(n=r,r=t,t=[]);var a=n||this,i=dl(Rh(t),this._getStoreDimIndex,this);this._store.each(i,a?rt(r,a):r)},e.prototype.filterSelf=function(t,r,n){ft(t)&&(n=r,r=t,t=[]);var a=n||this,i=dl(Rh(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,a?rt(r,a):r),this},e.prototype.selectRange=function(t){var r=this,n={},a=Wt(t);return G(a,function(i){var o=r._getStoreDimIndex(i);n[o]=t[i]}),this._store=this._store.selectRange(n),this},e.prototype.mapArray=function(t,r,n){ft(t)&&(n=r,r=t,t=[]),n=n||this;var a=[];return this.each(t,function(){a.push(r&&r.apply(this,arguments))},n),a},e.prototype.map=function(t,r,n,a){var i=n||a||this,o=dl(Rh(t),this._getStoreDimIndex,this),s=U0(this);return s._store=this._store.map(o,i?rt(r,i):r),s},e.prototype.modify=function(t,r,n,a){var i=n||a||this,o=dl(Rh(t),this._getStoreDimIndex,this);this._store.modify(o,i?rt(r,i):r)},e.prototype.downSample=function(t,r,n,a){var i=U0(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),r,n,a),i},e.prototype.lttbDownSample=function(t,r){var n=U0(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),r),n},e.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},e.prototype.getItemModel=function(t){var r=this.hostModel,n=this.getRawDataItem(t);return new br(n,r,r&&r.ecModel)},e.prototype.diff=function(t){var r=this;return new Hs(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(n){return H0(t,n)},function(n){return H0(r,n)})},e.prototype.getVisual=function(t){var r=this._visual;return r&&r[t]},e.prototype.setVisual=function(t,r){this._visual=this._visual||{},kh(t)?Me(this._visual,t):this._visual[t]=r},e.prototype.getItemVisual=function(t,r){var n=this._itemVisuals[t],a=n&&n[r];return a??this.getVisual(r)},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(t,r){var n=this._itemVisuals,a=n[t];a||(a=n[t]={});var i=a[r];return i==null&&(i=this.getVisual(r),Ne(i)?i=i.slice():kh(i)&&(i=Me({},i)),a[r]=i),i},e.prototype.setItemVisual=function(t,r,n){var a=this._itemVisuals[t]||{};this._itemVisuals[t]=a,kh(r)?Me(a,r):a[r]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,r){kh(t)?Me(this._layout,t):this._layout[t]=r},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,r,n){this._itemLayouts[t]=n?Me(this._itemLayouts[t]||{},r):r},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,r){var n=this.hostModel&&this.hostModel.seriesIndex;t6(n,this.dataType,t,r),this._graphicEls[t]=r},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,r){G(this._graphicEls,function(n,a){n&&t&&t.call(r,n,a)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:dl(this.dimensions,this._getDimInfo,this),this.hostModel)),SS(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,r){var n=this[t];ft(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var a=n.apply(this,arguments);return r.apply(this,[a].concat(Fx(arguments)))})},e.internalField=function(){S5=function(t){var r=t._invertedIndicesMap;G(r,function(n,a){var i=t._dimInfos[a],o=i.ordinalMeta,s=t._store;if(o){n=r[a]=new hct(o.categories.length);for(var l=0;l<n.length;l++)n[l]=w5;for(var l=0;l<s.count();l++)n[s.get(i.storeDimIndex,l)]=l}})},Ih=function(t,r,n){return ln(t._getCategory(r,n),null)},H0=function(t,r){var n=t._idList[r];return n==null&&t._idDimIdx!=null&&(n=Ih(t,t._idDimIdx,r)),n==null&&(n=vct+r),n},Rh=function(t){return Ne(t)||(t=t!=null?[t]:[]),t},U0=function(t){var r=new e(t._schema?t._schema:dl(t.dimensions,t._getDimInfo,t),t.hostModel);return SS(r,t),r},SS=function(t,r){G(gct.concat(r.__wrappedMethods||[]),function(n){r.hasOwnProperty(n)&&(t[n]=r[n])}),t.__wrappedMethods=r.__wrappedMethods,G(mct,function(n){t[n]=_t(r[n])}),t._calculationInfo=Me({},r._calculationInfo)},ES=function(t,r){var n=t._nameList,a=t._idList,i=t._nameDimIdx,o=t._idDimIdx,s=n[r],l=a[r];if(s==null&&i!=null&&(n[r]=s=Ih(t,i,r)),l==null&&o!=null&&(a[r]=l=Ih(t,o,r)),l==null&&s!=null){var u=t._nameRepeatCount,c=u[s]=(u[s]||0)+1;l=s,c>1&&(l+="__ec__"+c),a[r]=l}}}(),e}();const oa=yct;function Lm(e,t){_A(e)||(e=bA(e)),t=t||{};var r=t.coordDimensions||[],n=t.dimensionsDefine||e.dimensionsDefine||[],a=lt(),i=[],o=bct(e,r,n,t.dimensionsCount),s=t.canOmitUnusedDimensions&&tY(o),l=n===e.dimensionsDefine,u=l?eY(e):JK(n),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,o));for(var d=lt(c),f=new lK(o),p=0;p<f.length;p++)f[p]=-1;function h(x){var A=f[x];if(A<0){var k=n[x],R=vt(k)?k:{name:k},M=new p1,O=R.name;O!=null&&u.get(O)!=null&&(M.name=M.displayName=O),R.type!=null&&(M.type=R.type),R.displayName!=null&&(M.displayName=R.displayName);var z=i.length;return f[x]=z,M.storeDimIndex=x,i.push(M),M}return i[A]}if(!s)for(var p=0;p<o;p++)h(p);d.each(function(x,A){var k=fr(x).slice();if(k.length===1&&!et(k[0])&&k[0]<0){d.set(A,!1);return}var R=d.set(A,[]);G(k,function(M,O){var z=et(M)?u.get(M):M;z!=null&&z<o&&(R[O]=z,g(h(z),A,O))})});var v=0;G(r,function(x){var A,k,R,M;if(et(x))A=x,M={};else{M=x,A=M.name;var O=M.ordinalMeta;M.ordinalMeta=null,M=Me({},M),M.ordinalMeta=O,k=M.dimsDef,R=M.otherDims,M.name=M.coordDim=M.coordDimIndex=M.dimsDef=M.otherDims=null}var z=d.get(A);if(z!==!1){if(z=fr(z),!z.length)for(var B=0;B<(k&&k.length||1);B++){for(;v<o&&h(v).coordDim!=null;)v++;v<o&&z.push(v++)}G(z,function(P,F){var D=h(P);if(l&&M.type!=null&&(D.type=M.type),g(ht(D,M),A,F),D.name==null&&k){var H=k[F];!vt(H)&&(H={name:H}),D.name=D.displayName=H.name,D.defaultTooltip=H.defaultTooltip}R&&ht(D.otherDims,R)})}});function g(x,A,k){zW.get(A)!=null?x.otherDims[A]=k:(x.coordDim=A,x.coordDimIndex=k,a.set(A,!0))}var m=t.generateCoord,y=t.generateCoordCount,_=y!=null;y=m?y||1:0;var w=m||"value";function E(x){x.name==null&&(x.name=x.coordDim)}if(s)G(i,function(x){E(x)}),i.sort(function(x,A){return x.storeDimIndex-A.storeDimIndex});else for(var S=0;S<o;S++){var C=h(S),T=C.coordDim;T==null&&(C.coordDim=wct(w,a,_),C.coordDimIndex=0,(!m||y<=0)&&(C.isExtraCoord=!0),y--),E(C),C.type==null&&(GW(e,S)===An.Must||C.isExtraCoord&&(C.otherDims.itemName!=null||C.otherDims.seriesName!=null))&&(C.type="ordinal")}return _ct(i),new ZK({source:e,dimensions:i,fullDimensionCount:o,dimensionOmitted:s})}function _ct(e){for(var t=lt(),r=0;r<e.length;r++){var n=e[r],a=n.name,i=t.get(a)||0;i>0&&(n.name=a+(i-1)),i++,t.set(a,i)}}function bct(e,t,r,n){var a=Math.max(e.dimensionsDetectedCount||1,t.length,r.length,n||0);return G(t,function(i){var o;vt(i)&&(o=i.dimsDef)&&(a=Math.max(a,o.length))}),a}function wct(e,t,r){if(r||t.hasKey(e)){for(var n=0;t.hasKey(e+n);)n++;e+=n}return t.set(e,!0),e}var Sct=function(){function e(t){this.coordSysDims=[],this.axisMap=lt(),this.categoryAxisMap=lt(),this.coordSysName=t}return e}();function Ect(e){var t=e.get("coordinateSystem"),r=new Sct(t),n=Cct[t];if(n)return n(e,r,r.axisMap,r.categoryAxisMap),r}var Cct={cartesian2d:function(e,t,r,n){var a=e.getReferringComponents("xAxis",en).models[0],i=e.getReferringComponents("yAxis",en).models[0];t.coordSysDims=["x","y"],r.set("x",a),r.set("y",i),Jd(a)&&(n.set("x",a),t.firstCategoryDimIndex=0),Jd(i)&&(n.set("y",i),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,r,n){var a=e.getReferringComponents("singleAxis",en).models[0];t.coordSysDims=["single"],r.set("single",a),Jd(a)&&(n.set("single",a),t.firstCategoryDimIndex=0)},polar:function(e,t,r,n){var a=e.getReferringComponents("polar",en).models[0],i=a.findAxisModel("radiusAxis"),o=a.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],r.set("radius",i),r.set("angle",o),Jd(i)&&(n.set("radius",i),t.firstCategoryDimIndex=0),Jd(o)&&(n.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,r,n){t.coordSysDims=["lng","lat"]},parallel:function(e,t,r,n){var a=e.ecModel,i=a.getComponent("parallel",e.get("parallelIndex")),o=t.coordSysDims=i.dimensions.slice();G(i.parallelAxisIndex,function(s,l){var u=a.getComponent("parallelAxis",s),c=o[l];r.set(c,u),Jd(u)&&(n.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function Jd(e){return e.get("type")==="category"}function Tct(e,t,r){r=r||{};var n=r.byIndex,a=r.stackedCoordDimension,i,o,s;xct(t)?i=t:(o=t.schema,i=o.dimensions,s=t.store);var l=!!(e&&e.get("stack")),u,c,d,f;if(G(i,function(y,_){et(y)&&(i[_]=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){d="__\0ecstackresult_"+e.id,f="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var p=c.coordDim,h=c.type,v=0;G(i,function(y){y.coordDim===p&&v++});var g={name:d,coordDim:p,coordDimIndex:v,type:h,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},m={name:f,coordDim:f,coordDimIndex:v+1,type:h,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};o?(s&&(g.storeDimIndex=s.ensureCalculationDimension(f,h),m.storeDimIndex=s.ensureCalculationDimension(d,h)),o.appendCalculationDimension(g),o.appendCalculationDimension(m)):(i.push(g),i.push(m))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:n,stackedOverDimension:f,stackResultDimension:d}}function xct(e){return!QK(e.schema)}function cu(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function rY(e,t){return cu(e,t)?e.getCalculationInfo("stackResultDimension"):t}function Act(e,t){var r=e.get("coordinateSystem"),n=Rm.get(r),a;return t&&t.coordSysDims&&(a=Pe(t.coordSysDims,function(i){var o={name:i},s=t.axisMap.get(i);if(s){var l=s.get("type");o.type=x2(l)}return o})),a||(a=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),a}function kct(e,t,r){var n,a;return r&&G(e,function(i,o){var s=i.coordDim,l=r.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&&(e[n].otherDims.itemName=0),n}function el(e,t,r){r=r||{};var n=t.getSourceManager(),a,i=!1;e?(i=!0,a=bA(e)):(a=n.getSource(),i=a.sourceFormat===Bi);var o=Ect(t),s=Act(t,o),l=r.useEncodeDefaulter,u=ft(l)?l:l?Rt(UW,s,t):null,c={coordDimensions:s,generateCoord:r.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!i},d=Lm(a,c),f=kct(d.dimensions,r.createInvertedIndices,o),p=i?null:n.getSharedDataStore(d),h=Tct(t,{schema:d,store:p}),v=new oa(d,t);v.setCalculationInfo(h);var g=f!=null&&Ict(a)?function(m,y,_,w){return w===f?_:this.defaultDimValueGetter(m,y,_,w)}:null;return v.hasItemOption=!1,v.initData(i?a:p,null,g),v}function Ict(e){if(e.sourceFormat===Bi){var t=Rct(e.data||[]);return!Ne(Hp(t))}}function Rct(e){for(var t=0;t<e.length&&e[t]==null;)t++;return e[t]}var nY=function(){function e(t){this._setting=t||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(t){return this._setting[t]},e.prototype.unionExtent=function(t){var r=this._extent;t[0]<r[0]&&(r[0]=t[0]),t[1]>r[1]&&(r[1]=t[1])},e.prototype.unionExtentFromData=function(t,r){this.unionExtent(t.getApproximateExtent(r))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,r){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(r)||(n[1]=r)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e}();q_(nY);const tl=nY;var Mct=0,Lct=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Mct}return e.createByAxisModel=function(t){var r=t.option,n=r.data,a=n&&Pe(n,Dct);return new e({categories:a,needCollect:!a,deduplication:r.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var r,n=this._needCollect;if(!et(t)&&!n)return t;if(n&&!this._deduplication)return r=this.categories.length,this.categories[r]=t,r;var a=this._getOrCreateMap();return r=a.get(t),r==null&&(n?(r=this.categories.length,this.categories[r]=t,a.set(t,r)):r=NaN),r},e.prototype._getOrCreateMap=function(){return this._map||(this._map=lt(this.categories))},e}();function Dct(e){return vt(e)&&e.value!=null?e.value:e+""}const C6=Lct;function T6(e){return e.type==="interval"||e.type==="log"}function Oct(e,t,r,n){var a={},i=e[1]-e[0],o=a.interval=pG(i/t,!0);r!=null&&o<r&&(o=a.interval=r),n!=null&&o>n&&(o=a.interval=n);var s=a.intervalPrecision=aY(o),l=a.niceTickExtent=[Vr(Math.ceil(e[0]/o)*o,s),Vr(Math.floor(e[1]/o)*o,s)];return Nct(l,e),a}function CS(e){var t=Math.pow(10,qx(e)),r=e/t;return r?r===2?r=3:r===3?r=5:r*=2:r=1,Vr(r*t)}function aY(e){return Po(e)+2}function E5(e,t,r){e[t]=Math.max(Math.min(e[t],r[1]),r[0])}function Nct(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),E5(e,0,t),E5(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function vb(e,t){return e>=t[0]&&e<=t[1]}function gb(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function mb(e,t){return e*(t[1]-t[0])+t[0]}var iY=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;n.type="ordinal";var a=n.getSetting("ordinalMeta");return a||(a=new C6({})),Ne(a)&&(a=new C6({categories:Pe(a,function(i){return vt(i)?i.value:i})})),n._ordinalMeta=a,n._extent=n.getSetting("extent")||[0,a.categories.length-1],n}return t.prototype.parse=function(r){return r==null?NaN:et(r)?this._ordinalMeta.getOrdinal(r):Math.round(r)},t.prototype.contain=function(r){return r=this.parse(r),vb(r,this._extent)&&this._ordinalMeta.categories[r]!=null},t.prototype.normalize=function(r){return r=this._getTickNumber(this.parse(r)),gb(r,this._extent)},t.prototype.scale=function(r){return r=Math.round(mb(r,this._extent)),this.getRawOrdinalNumber(r)},t.prototype.getTicks=function(){for(var r=[],n=this._extent,a=n[0];a<=n[1];)r.push({value:a}),a++;return r},t.prototype.getMinorTicks=function(r){},t.prototype.setSortInfo=function(r){if(r==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var n=r.ordinalNumbers,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(r){var n=this._ticksByOrdinalNumber;return n&&r>=0&&r<n.length?n[r]:r},t.prototype.getRawOrdinalNumber=function(r){var n=this._ordinalNumbersByTick;return n&&r>=0&&r<n.length?n[r]:r},t.prototype.getLabel=function(r){if(!this.isBlank()){var n=this.getRawOrdinalNumber(r.value),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(r,n){this.unionExtent(r.getApproximateExtent(n))},t.prototype.isInExtentRange=function(r){return r=this._getTickNumber(r),this._extent[0]<=r&&this._extent[1]>=r},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(tl);tl.registerClass(iY);const OA=iY;var Xu=Vr,oY=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="interval",r._interval=0,r._intervalPrecision=2,r}return t.prototype.parse=function(r){return r},t.prototype.contain=function(r){return vb(r,this._extent)},t.prototype.normalize=function(r){return gb(r,this._extent)},t.prototype.scale=function(r){return mb(r,this._extent)},t.prototype.setExtent=function(r,n){var a=this._extent;isNaN(r)||(a[0]=parseFloat(r)),isNaN(n)||(a[1]=parseFloat(n))},t.prototype.unionExtent=function(r){var n=this._extent;r[0]<n[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1]),this.setExtent(n[0],n[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(r){this._interval=r,this._niceExtent=this._extent.slice(),this._intervalPrecision=aY(r)},t.prototype.getTicks=function(r){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]&&(r?s.push({value:Xu(i[0]-n,o)}):s.push({value:a[0]}));for(var u=i[0];u<=i[1]&&(s.push({value:u}),u=Xu(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&&(r?s.push({value:Xu(c+n,o)}):s.push({value:a[1]})),s},t.prototype.getMinorTicks=function(r){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=[],d=s.value-l.value,f=d/r;u<r-1;){var p=Xu(l.value+(u+1)*f);p>i[0]&&p<i[1]&&c.push(p),u++}a.push(c)}return a},t.prototype.getLabel=function(r,n){if(r==null)return"";var a=n&&n.precision;a==null?a=Po(r.value)||0:a==="auto"&&(a=this._intervalPrecision);var i=Xu(r.value,a,!0);return OW(i)},t.prototype.calcNiceTicks=function(r,n,a){r=r||5;var i=this._extent,o=i[1]-i[0];if(isFinite(o)){o<0&&(o=-o,i.reverse());var s=Oct(i,r,n,a);this._intervalPrecision=s.intervalPrecision,this._interval=s.interval,this._niceExtent=s.niceTickExtent}},t.prototype.calcNiceExtent=function(r){var n=this._extent;if(n[0]===n[1])if(n[0]!==0){var a=Math.abs(n[0]);r.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(r.splitNumber,r.minInterval,r.maxInterval);var o=this._interval;r.fixMin||(n[0]=Xu(Math.floor(n[0]/o)*o)),r.fixMax||(n[1]=Xu(Math.ceil(n[1]/o)*o))},t.prototype.setNiceExtent=function(r,n){this._niceExtent=[r,n]},t.type="interval",t}(tl);tl.registerClass(oY);const du=oY;var sY=typeof Float32Array<"u",Pct=sY?Float32Array:Array;function Bo(e){return Ne(e)?sY?new Float32Array(e):e:new Pct(e)}var x6="__ec_stack_";function NA(e){return e.get("stack")||x6+e.seriesIndex}function PA(e){return e.dim+e.index}function $ct(e){var t=[],r=e.axis,n="axis0";if(r.type==="category"){for(var a=r.getBandWidth(),i=0;i<e.count;i++)t.push(ht({bandWidth:a,axisKey:n,stackId:x6+i},e));for(var o=cY(t),s=[],i=0;i<e.count;i++){var l=o[n][x6+i];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}function lY(e,t){var r=[];return t.eachSeriesByType(e,function(n){pY(n)&&r.push(n)}),r}function Bct(e){var t={};G(e,function(l){var u=l.coordinateSystem,c=u.getBaseAxis();if(!(c.type!=="time"&&c.type!=="value"))for(var d=l.getData(),f=c.dim+"_"+c.index,p=d.getDimensionIndex(d.mapDimension(c.dim)),h=d.getStore(),v=0,g=h.count();v<g;++v){var m=h.get(p,v);t[f]?t[f].push(m):t[f]=[m]}});var r={};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))}r[n]=i}}return r}function uY(e){var t=Bct(e),r=[];return G(e,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]),d=i.scale.getExtent(),f=Math.abs(d[1]-d[0]);s=u?c/f*u:c}else{var p=n.getData();s=Math.abs(o[1]-o[0])/p.count()}var h=Ze(n.get("barWidth"),s),v=Ze(n.get("barMaxWidth"),s),g=Ze(n.get("barMinWidth")||(hY(n)?.5:1),s),m=n.get("barGap"),y=n.get("barCategoryGap");r.push({bandWidth:s,barWidth:h,barMaxWidth:v,barMinWidth:g,barGap:m,barCategoryGap:y,axisKey:PA(i),stackId:NA(n)})}),cY(r)}function cY(e){var t={};G(e,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 d=n.barMaxWidth;d&&(l[u].maxWidth=d);var f=n.barMinWidth;f&&(l[u].minWidth=f);var p=n.barGap;p!=null&&(s.gap=p);var h=n.barCategoryGap;h!=null&&(s.categoryGap=h)});var r={};return G(t,function(n,a){r[a]={};var i=n.stacks,o=n.bandWidth,s=n.categoryGap;if(s==null){var l=Wt(i).length;s=Math.max(35-l*4,15)+"%"}var u=Ze(s,o),c=Ze(n.gap,1),d=n.remainedWidth,f=n.autoWidthCount,p=(d-u)/(f+(f-1)*c);p=Math.max(p,0),G(i,function(m){var y=m.maxWidth,_=m.minWidth;if(m.width){var w=m.width;y&&(w=Math.min(w,y)),_&&(w=Math.max(w,_)),m.width=w,d-=w+c*w,f--}else{var w=p;y&&y<w&&(w=Math.min(y,d)),_&&_>w&&(w=_),w!==p&&(m.width=w,d-=w+c*w,f--)}}),p=(d-u)/(f+(f-1)*c),p=Math.max(p,0);var h=0,v;G(i,function(m,y){m.width||(m.width=p),v=m,h+=m.width*(1+c)}),v&&(h-=v.width*c);var g=-h/2;G(i,function(m,y){r[a][y]=r[a][y]||{bandWidth:o,offset:g,width:m.width},g+=m.width*(1+c)})}),r}function Fct(e,t,r){if(e&&t){var n=e[PA(t)];return n!=null&&r!=null?n[NA(r)]:n}}function dY(e,t){var r=lY(e,t),n=uY(r);G(r,function(a){var i=a.getData(),o=a.coordinateSystem,s=o.getBaseAxis(),l=NA(a),u=n[PA(s)][l],c=u.offset,d=u.width;i.setLayout({bandWidth:u.bandWidth,offset:c,size:d})})}function fY(e){return{seriesType:e,plan:Qp(),reset:function(t){if(pY(t)){var r=t.getData(),n=t.coordinateSystem,a=n.getBaseAxis(),i=n.getOtherAxis(a),o=r.getDimensionIndex(r.mapDimension(i.dim)),s=r.getDimensionIndex(r.mapDimension(a.dim)),l=t.get("showBackground",!0),u=r.mapDimension(i.dim),c=r.getCalculationInfo("stackResultDimension"),d=cu(r,u)&&!!r.getCalculationInfo("stackedOnSeries"),f=i.isHorizontal(),p=zct(a,i),h=hY(t),v=t.get("barMinHeight")||0,g=c&&r.getDimensionIndex(c),m=r.getLayout("size"),y=r.getLayout("offset");return{progress:function(_,w){for(var E=_.count,S=h&&Bo(E*3),C=h&&l&&Bo(E*3),T=h&&Bo(E),x=n.master.getRect(),A=f?x.width:x.height,k,R=w.getStore(),M=0;(k=_.next())!=null;){var O=R.get(d?g:o,k),z=R.get(s,k),B=p,P=void 0;d&&(P=+O-R.get(o,k));var F=void 0,D=void 0,H=void 0,K=void 0;if(f){var Y=n.dataToPoint([O,z]);if(d){var X=n.dataToPoint([P,z]);B=X[0]}F=B,D=Y[1]+y,H=Y[0]-B,K=m,Math.abs(H)<v&&(H=(H<0?-1:1)*v)}else{var Y=n.dataToPoint([z,O]);if(d){var X=n.dataToPoint([z,P]);B=X[1]}F=Y[0]+y,D=B,H=m,K=Y[1]-B,Math.abs(K)<v&&(K=(K<=0?-1:1)*v)}h?(S[M]=F,S[M+1]=D,S[M+2]=f?H:K,C&&(C[M]=f?x.x:F,C[M+1]=f?D:x.y,C[M+2]=A),T[k]=k):w.setItemLayout(k,{x:F,y:D,width:H,height:K}),M+=3}h&&w.setLayout({largePoints:S,largeDataIndices:T,largeBackgroundPoints:C,valueAxisHorizontal:f})}}}}}}function pY(e){return e.coordinateSystem&&e.coordinateSystem.type==="cartesian2d"}function hY(e){return e.pipelineContext&&e.pipelineContext.large}function zct(e,t){return t.toGlobalCoord(t.dataToCoord(t.type==="log"?1:0))}var Vct=function(e,t,r,n){for(;r<n;){var a=r+n>>>1;e[a][1]<t?r=a+1:n=a}return r},vY=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;return n.type="time",n}return t.prototype.getLabel=function(r){var n=this.getSetting("useUTC");return ib(r.value,pD[fst(Wf(this._minLevelUnit))]||pD.second,n,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(r,n,a){var i=this.getSetting("useUTC"),o=this.getSetting("locale");return pst(r,n,a,o,i)},t.prototype.getTicks=function(){var r=this._interval,n=this._extent,a=[];if(!r)return a;a.push({value:n[0],level:0});var i=this.getSetting("useUTC"),o=qct(this._minLevelUnit,this._approxInterval,i,n);return a=a.concat(o),a.push({value:n[1],level:0}),a},t.prototype.calcNiceExtent=function(r){var n=this._extent;if(n[0]===n[1]&&(n[0]-=yi,n[1]+=yi),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]-yi}this.calcNiceTicks(r.splitNumber,r.minInterval,r.maxInterval)},t.prototype.calcNiceTicks=function(r,n,a){r=r||10;var i=this._extent,o=i[1]-i[0];this._approxInterval=o/r,n!=null&&this._approxInterval<n&&(this._approxInterval=n),a!=null&&this._approxInterval>a&&(this._approxInterval=a);var s=G0.length,l=Math.min(Vct(G0,this._approxInterval,0,s),s-1);this._interval=G0[l][1],this._minLevelUnit=G0[Math.max(l-1,0)][0]},t.prototype.parse=function(r){return tr(r)?r:+Jo(r)},t.prototype.contain=function(r){return vb(this.parse(r),this._extent)},t.prototype.normalize=function(r){return gb(this.parse(r),this._extent)},t.prototype.scale=function(r){return mb(r,this._extent)},t.type="time",t}(du),G0=[["second",fA],["minute",pA],["hour",Dv],["quarter-day",Dv*6],["half-day",Dv*12],["day",yi*1.2],["half-week",yi*3.5],["week",yi*7],["month",yi*31],["quarter",yi*95],["half-year",fD/2],["year",fD]];function Hct(e,t,r,n){var a=Jo(t),i=Jo(r),o=function(h){return hD(a,h,n)===hD(i,h,n)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},c=function(){return u()&&o("hour")},d=function(){return c()&&o("minute")},f=function(){return d()&&o("second")},p=function(){return f()&&o("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return d();case"second":return f();case"millisecond":return p()}}function Uct(e,t){return e/=yi,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function Gct(e){var t=30*yi;return e/=t,e>6?6:e>3?3:e>2?2:1}function Wct(e){return e/=Dv,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function C5(e,t){return e/=t?pA:fA,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function Kct(e){return pG(e,!0)}function Yct(e,t,r){var n=new Date(e);switch(Wf(t)){case"year":case"month":n[kW(r)](0);case"day":n[IW(r)](1);case"hour":n[RW(r)](0);case"minute":n[MW(r)](0);case"second":n[LW(r)](0),n[DW(r)](0)}return n.getTime()}function qct(e,t,r,n){var a=1e4,i=xW,o=0;function s(A,k,R,M,O,z,B){for(var P=new Date(k),F=k,D=P[M]();F<R&&F<=n[1];)B.push({value:F}),D+=A,P[O](D),F=P.getTime();B.push({value:F,notAdd:!0})}function l(A,k,R){var M=[],O=!k.length;if(!Hct(Wf(A),n[0],n[1],r)){O&&(k=[{value:Yct(new Date(n[0]),A,r)},{value:n[1]}]);for(var z=0;z<k.length-1;z++){var B=k[z].value,P=k[z+1].value;if(B!==P){var F=void 0,D=void 0,H=void 0,K=!1;switch(A){case"year":F=Math.max(1,Math.round(t/yi/365)),D=hA(r),H=hst(r);break;case"half-year":case"quarter":case"month":F=Gct(t),D=Kf(r),H=kW(r);break;case"week":case"half-week":case"day":F=Uct(t),D=ob(r),H=IW(r),K=!0;break;case"half-day":case"quarter-day":case"hour":F=Wct(t),D=Bg(r),H=RW(r);break;case"minute":F=C5(t,!0),D=sb(r),H=MW(r);break;case"second":F=C5(t,!1),D=lb(r),H=LW(r);break;case"millisecond":F=Kct(t),D=ub(r),H=DW(r);break}s(F,B,P,D,H,K,M),A==="year"&&R.length>1&&z===0&&R.unshift({value:R[0].value-F})}}for(var z=0;z<M.length;z++)R.push(M[z]);return M}}for(var u=[],c=[],d=0,f=0,p=0;p<i.length&&o++<a;++p){var h=Wf(i[p]);if(dst(i[p])){l(i[p],u[u.length-1]||[],c);var v=i[p+1]?Wf(i[p+1]):null;if(h!==v){if(c.length){f=d,c.sort(function(A,k){return A.value-k.value});for(var g=[],m=0;m<c.length;++m){var y=c[m].value;(m===0||c[m-1].value!==y)&&(g.push(c[m]),y>=n[0]&&y<=n[1]&&d++)}var _=(n[1]-n[0])/t;if(d>_*1.5&&f>_/1.5||(u.push(g),d>_||e===i[p]))break}c=[]}}}for(var w=ur(Pe(u,function(A){return ur(A,function(k){return k.value>=n[0]&&k.value<=n[1]&&!k.notAdd})}),function(A){return A.length>0}),E=[],S=w.length-1,p=0;p<w.length;++p)for(var C=w[p],T=0;T<C.length;++T)E.push({value:C[T].value,level:S-p});E.sort(function(A,k){return A.value-k.value});for(var x=[],p=0;p<E.length;++p)(p===0||E[p].value!==E[p-1].value)&&x.push(E[p]);return x}tl.registerClass(vY);const gY=vY;var T5=tl.prototype,$v=du.prototype,jct=Vr,Xct=Math.floor,Zct=Math.ceil,W0=Math.pow,Ui=Math.log,$A=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="log",r.base=10,r._originalScale=new du,r._interval=0,r}return t.prototype.getTicks=function(r){var n=this._originalScale,a=this._extent,i=n.getExtent(),o=$v.getTicks.call(this,r);return Pe(o,function(s){var l=s.value,u=Vr(W0(this.base,l));return u=l===a[0]&&this._fixMin?K0(u,i[0]):u,u=l===a[1]&&this._fixMax?K0(u,i[1]):u,{value:u}},this)},t.prototype.setExtent=function(r,n){var a=Ui(this.base);r=Ui(Math.max(0,r))/a,n=Ui(Math.max(0,n))/a,$v.setExtent.call(this,r,n)},t.prototype.getExtent=function(){var r=this.base,n=T5.getExtent.call(this);n[0]=W0(r,n[0]),n[1]=W0(r,n[1]);var a=this._originalScale,i=a.getExtent();return this._fixMin&&(n[0]=K0(n[0],i[0])),this._fixMax&&(n[1]=K0(n[1],i[1])),n},t.prototype.unionExtent=function(r){this._originalScale.unionExtent(r);var n=this.base;r[0]=Ui(r[0])/Ui(n),r[1]=Ui(r[1])/Ui(n),T5.unionExtent.call(this,r)},t.prototype.unionExtentFromData=function(r,n){this.unionExtent(r.getApproximateExtent(n))},t.prototype.calcNiceTicks=function(r){r=r||10;var n=this._extent,a=n[1]-n[0];if(!(a===1/0||a<=0)){var i=Nat(a),o=r/a*i;for(o<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var s=[Vr(Zct(n[0]/i)*i),Vr(Xct(n[1]/i)*i)];this._interval=i,this._niceExtent=s}},t.prototype.calcNiceExtent=function(r){$v.calcNiceExtent.call(this,r),this._fixMin=r.fixMin,this._fixMax=r.fixMax},t.prototype.parse=function(r){return r},t.prototype.contain=function(r){return r=Ui(r)/Ui(this.base),vb(r,this._extent)},t.prototype.normalize=function(r){return r=Ui(r)/Ui(this.base),gb(r,this._extent)},t.prototype.scale=function(r){return r=mb(r,this._extent),W0(this.base,r)},t.type="log",t}(tl),mY=$A.prototype;mY.getMinorTicks=$v.getMinorTicks;mY.getLabel=$v.getLabel;function K0(e,t){return jct(e,Po(t))}tl.registerClass($A);const Qct=$A;var Jct=function(){function e(t,r,n){this._prepareParams(t,r,n)}return e.prototype._prepareParams=function(t,r,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var a=this._isOrdinal=t.type==="ordinal";this._needCrossZero=t.type==="interval"&&r.getNeedCrossZero&&r.getNeedCrossZero();var i=this._modelMinRaw=r.get("min",!0);ft(i)?this._modelMinNum=Y0(t,i({min:n[0],max:n[1]})):i!=="dataMin"&&(this._modelMinNum=Y0(t,i));var o=this._modelMaxRaw=r.get("max",!0);if(ft(o)?this._modelMaxNum=Y0(t,o({min:n[0],max:n[1]})):o!=="dataMax"&&(this._modelMaxNum=Y0(t,o)),a)this._axisDataLen=r.getCategories().length;else{var s=r.get("boundaryGap"),l=Ne(s)?s:[s||0,s||0];typeof l[0]=="boolean"||typeof l[1]=="boolean"?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[uo(l[0],1),uo(l[1],1)]}},e.prototype.calculate=function(){var t=this._isOrdinal,r=this._dataMin,n=this._dataMax,a=this._axisDataLen,i=this._boundaryGapInner,o=t?null:n-r||Math.abs(r),s=this._modelMinRaw==="dataMin"?r:this._modelMinNum,l=this._modelMaxRaw==="dataMax"?n:this._modelMaxNum,u=s!=null,c=l!=null;s==null&&(s=t?a?0:NaN:r-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 d=kg(s)||kg(l)||t&&!a;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var f=this._determinedMin,p=this._determinedMax;return f!=null&&(s=f,u=!0),p!=null&&(l=p,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:d}},e.prototype.modifyDataMinMax=function(t,r){this[tdt[t]]=r},e.prototype.setDeterminedMinMax=function(t,r){var n=edt[t];this[n]=r},e.prototype.freeze=function(){this.frozen=!0},e}(),edt={min:"_determinedMin",max:"_determinedMax"},tdt={min:"_dataMin",max:"_dataMax"};function yY(e,t,r){var n=e.rawExtentInfo;return n||(n=new Jct(e,t,r),e.rawExtentInfo=n,n)}function Y0(e,t){return t==null?null:kg(t)?NaN:e.parse(t)}function _Y(e,t){var r=e.type,n=yY(e,t,e.getExtent()).calculate();e.setBlank(n.isBlank);var a=n.min,i=n.max,o=t.ecModel;if(o&&r==="time"){var s=lY("bar",o),l=!1;if(G(s,function(d){l=l||d.getBaseAxis()===t.axis}),l){var u=uY(s),c=rdt(a,i,t,u);a=c.min,i=c.max}}return{extent:[a,i],fixMin:n.minFixed,fixMax:n.maxFixed}}function rdt(e,t,r,n){var a=r.axis.getExtent(),i=a[1]-a[0],o=Fct(n,r.axis);if(o===void 0)return{min:e,max:t};var s=1/0;G(o,function(p){s=Math.min(p.offset,s)});var l=-1/0;G(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-e,d=1-(s+l)/i,f=c/d-c;return t+=f*(l/u),e-=f*(s/u),{min:e,max:t}}function Cp(e,t){var r=t,n=_Y(e,r),a=n.extent,i=r.get("splitNumber");e instanceof Qct&&(e.base=r.get("logBase"));var o=e.type,s=r.get("interval"),l=o==="interval"||o==="time";e.setExtent(a[0],a[1]),e.calcNiceExtent({splitNumber:i,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:l?r.get("minInterval"):null,maxInterval:l?r.get("maxInterval"):null}),s!=null&&e.setInterval&&e.setInterval(s)}function yb(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new OA({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new gY({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(tl.getClass(t)||du)}}function ndt(e){var t=e.scale.getExtent(),r=t[0],n=t[1];return!(r>0&&n>0||r<0&&n<0)}function Dm(e){var t=e.getLabelModel().get("formatter"),r=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(n){return function(a,i){return e.scale.getFormattedLabel(a,i,n)}}(t):et(t)?function(n){return function(a){var i=e.scale.getLabel(a),o=n.replace("{value}",i??"");return o}}(t):ft(t)?function(n){return function(a,i){return r!=null&&(i=a.value-r),n(BA(e,a),i,a.level!=null?{level:a.level}:null)}}(t):function(n){return e.scale.getLabel(n)}}function BA(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function adt(e){var t=e.model,r=e.scale;if(!(!t.get(["axisLabel","show"])||r.isBlank())){var n,a,i=r.getExtent();r instanceof OA?a=r.count():(n=r.getTicks(),a=n.length);var o=e.getLabelModel(),s=Dm(e),l,u=1;a>40&&(u=Math.ceil(a/40));for(var c=0;c<a;c+=u){var d=n?n[c]:{value:i[0]+c},f=s(d,c),p=o.getTextRect(f),h=idt(p,o.get("rotate")||0);l?l.union(h):l=h}return l}}function idt(e,t){var r=t*Math.PI/180,n=e.width,a=e.height,i=n*Math.abs(Math.cos(r))+Math.abs(a*Math.sin(r)),o=n*Math.abs(Math.sin(r))+Math.abs(a*Math.cos(r)),s=new Pt(e.x,e.y,i,o);return s}function FA(e){var t=e.get("interval");return t??"auto"}function bY(e){return e.type==="category"&&FA(e.getLabelModel())===0}function A2(e,t){var r={};return G(e.mapDimensionsAll(t),function(n){r[rY(e,n)]=!0}),Wt(r)}function odt(e,t,r){t&&G(A2(t,r),function(n){var a=t.getApproximateExtent(n);a[0]<e[0]&&(e[0]=a[0]),a[1]>e[1]&&(e[1]=a[1])})}var Om=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e}(),sdt=1e-8;function x5(e,t){return Math.abs(e-t)<sdt}function vc(e,t,r){var n=0,a=e[0];if(!a)return!1;for(var i=1;i<e.length;i++){var o=e[i];n+=gs(a[0],a[1],o[0],o[1],t,r),a=o}var s=e[0];return(!x5(a[0],s[0])||!x5(a[1],s[1]))&&(n+=gs(a[0],a[1],s[0],s[1],t,r)),n!==0}var ldt=[];function TS(e,t){for(var r=0;r<e.length;r++)Ln(e[r],e[r],t)}function A5(e,t,r,n){for(var a=0;a<e.length;a++){var i=e[a];n&&(i=n.project(i)),i&&isFinite(i[0])&&isFinite(i[1])&&(Ol(t,t,i),Nl(r,r,i))}}function udt(e){for(var t=0,r=0,n=0,a=e.length,i=e[a-1][0],o=e[a-1][1],s=0;s<a;s++){var l=e[s][0],u=e[s][1],c=i*u-l*o;t+=c,r+=(i+l)*c,n+=(o+u)*c,i=l,o=u}return t?[r/t/3,n/t/3,t]:[e[0][0]||0,e[0][1]||0]}var wY=function(){function e(t){this.name=t}return e.prototype.setCenter=function(t){this._center=t},e.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},e}(),k5=function(){function e(t,r){this.type="polygon",this.exterior=t,this.interiors=r}return e}(),I5=function(){function e(t){this.type="linestring",this.points=t}return e}(),SY=function(e){ye(t,e);function t(r,n,a){var i=e.call(this,r)||this;return i.type="geoJSON",i.geometries=n,i._center=a&&[a[0],a[1]],i}return t.prototype.calcCenter=function(){for(var r=this.geometries,n,a=0,i=0;i<r.length;i++){var o=r[i],s=o.exterior,l=s&&s.length;l>a&&(n=o,a=l)}if(n)return udt(n.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},t.prototype.getBoundingRect=function(r){var n=this._rect;if(n&&!r)return n;var a=[1/0,1/0],i=[-1/0,-1/0],o=this.geometries;return G(o,function(s){s.type==="polygon"?A5(s.exterior,a,i,r):G(s.points,function(l){A5(l,a,i,r)})}),isFinite(a[0])&&isFinite(a[1])&&isFinite(i[0])&&isFinite(i[1])||(a[0]=a[1]=i[0]=i[1]=0),n=new Pt(a[0],a[1],i[0]-a[0],i[1]-a[1]),r||(this._rect=n),n},t.prototype.contain=function(r){var n=this.getBoundingRect(),a=this.geometries;if(!n.contain(r[0],r[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(vc(l,r[0],r[1])){for(var c=0;c<(u?u.length:0);c++)if(vc(u[c],r[0],r[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(r,n,a,i){var o=this.getBoundingRect(),s=o.width/o.height;a?i||(i=a/s):a=s*i;for(var l=new Pt(r,n,a,i),u=o.calculateTransform(l),c=this.geometries,d=0;d<c.length;d++){var f=c[d];f.type==="polygon"?(TS(f.exterior,u),G(f.interiors,function(p){TS(p,u)})):G(f.points,function(p){TS(p,u)})}o=this._rect,o.copy(l),this._center=[o.x+o.width/2,o.y+o.height/2]},t.prototype.cloneShallow=function(r){r==null&&(r=this.name);var n=new t(r,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},t}(wY),cdt=function(e){ye(t,e);function t(r,n){var a=e.call(this,r)||this;return a.type="geoSVG",a._elOnlyForCalculate=n,a}return t.prototype.calcCenter=function(){for(var r=this._elOnlyForCalculate,n=r.getBoundingRect(),a=[n.x+n.width/2,n.y+n.height/2],i=W_(ldt),o=r;o&&!o.isGeoSVGGraphicRoot;)As(i,o.getLocalTransform(),i),o=o.parent;return Vp(i,i),Ln(a,a,i),a},t}(wY);function ddt(e){if(!e.UTF8Encoding)return e;var t=e,r=t.UTF8Scale;r==null&&(r=1024);var n=t.features;return G(n,function(a){var i=a.geometry,o=i.encodeOffsets,s=i.coordinates;if(o)switch(i.type){case"LineString":i.coordinates=EY(s,o,r);break;case"Polygon":xS(s,o,r);break;case"MultiLineString":xS(s,o,r);break;case"MultiPolygon":G(s,function(l,u){return xS(l,o[u],r)})}}),t.UTF8Encoding=!1,t}function xS(e,t,r){for(var n=0;n<e.length;n++)e[n]=EY(e[n],t[n],r)}function EY(e,t,r){for(var n=[],a=t[0],i=t[1],o=0;o<e.length;o+=2){var s=e.charCodeAt(o)-64,l=e.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/r,l/r])}return n}function fdt(e,t){return e=ddt(e),Pe(ur(e.features,function(r){return r.geometry&&r.properties&&r.geometry.coordinates.length>0}),function(r){var n=r.properties,a=r.geometry,i=[];switch(a.type){case"Polygon":var o=a.coordinates;i.push(new k5(o[0],o.slice(1)));break;case"MultiPolygon":G(a.coordinates,function(l){l[0]&&i.push(new k5(l[0],l.slice(1)))});break;case"LineString":i.push(new I5([a.coordinates]));break;case"MultiLineString":i.push(new I5(a.coordinates))}var s=new SY(n[t||"name"],i,n.cp);return s.properties=n,s})}var Gg=Zt();function pdt(e){return e.type==="category"?vdt(e):mdt(e)}function hdt(e,t){return e.type==="category"?gdt(e,t):{ticks:Pe(e.scale.getTicks(),function(r){return r.value})}}function vdt(e){var t=e.getLabelModel(),r=CY(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}function CY(e,t){var r=TY(e,"labels"),n=FA(t),a=xY(r,n);if(a)return a;var i,o;return ft(n)?i=IY(e,n):(o=n==="auto"?ydt(e):n,i=kY(e,o)),AY(r,n,{labels:i,labelCategoryInterval:o})}function gdt(e,t){var r=TY(e,"ticks"),n=FA(t),a=xY(r,n);if(a)return a;var i,o;if((!t.get("show")||e.scale.isBlank())&&(i=[]),ft(n))i=IY(e,n,!0);else if(n==="auto"){var s=CY(e,e.getLabelModel());o=s.labelCategoryInterval,i=Pe(s.labels,function(l){return l.tickValue})}else o=n,i=kY(e,o,!0);return AY(r,n,{ticks:i,tickCategoryInterval:o})}function mdt(e){var t=e.scale.getTicks(),r=Dm(e);return{labels:Pe(t,function(n,a){return{level:n.level,formattedLabel:r(n,a),rawLabel:e.scale.getLabel(n),tickValue:n.value}})}}function TY(e,t){return Gg(e)[t]||(Gg(e)[t]=[])}function xY(e,t){for(var r=0;r<e.length;r++)if(e[r].key===t)return e[r].value}function AY(e,t,r){return e.push({key:t,value:r}),r}function ydt(e){var t=Gg(e).autoInterval;return t??(Gg(e).autoInterval=e.calculateCategoryInterval())}function _dt(e){var t=bdt(e),r=Dm(e),n=(t.axisRotate-t.labelRotate)/180*Math.PI,a=e.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=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(n)),d=Math.abs(u*Math.sin(n)),f=0,p=0;l<=i[1];l+=s){var h=0,v=0,g=Em(r({value:l}),t.font,"center","top");h=g.width*1.3,v=g.height*1.3,f=Math.max(f,h,7),p=Math.max(p,v,7)}var m=f/c,y=p/d;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(m,y))),w=Gg(e.model),E=e.getExtent(),S=w.lastAutoInterval,C=w.lastTickCount;return S!=null&&C!=null&&Math.abs(S-_)<=1&&Math.abs(C-o)<=1&&S>_&&w.axisExtent0===E[0]&&w.axisExtent1===E[1]?_=S:(w.lastTickCount=o,w.lastAutoInterval=_,w.axisExtent0=E[0],w.axisExtent1=E[1]),_}function bdt(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function kY(e,t,r){var n=Dm(e),a=e.scale,i=a.getExtent(),o=e.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 d=bY(e),f=o.get("showMinLabel")||d,p=o.get("showMaxLabel")||d;f&&u!==i[0]&&v(i[0]);for(var h=u;h<=i[1];h+=l)v(h);p&&h-l!==i[1]&&v(i[1]);function v(g){var m={value:g};s.push(r?g:{formattedLabel:n(m),rawLabel:a.getLabel(m),tickValue:g})}return s}function IY(e,t,r){var n=e.scale,a=Dm(e),i=[];return G(n.getTicks(),function(o){var s=n.getLabel(o),l=o.value;t(o.value,s)&&i.push(r?l:{formattedLabel:a(o),rawLabel:s,tickValue:l})}),i}var R5=[0,1],wdt=function(){function e(t,r,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=r,this._extent=n||[0,0]}return e.prototype.contain=function(t){var r=this._extent,n=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);return t>=n&&t<=a},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return dG(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,r){var n=this._extent;n[0]=t,n[1]=r},e.prototype.dataToCoord=function(t,r){var n=this._extent,a=this.scale;return t=a.normalize(t),this.onBand&&a.type==="ordinal"&&(n=n.slice(),M5(n,a.count())),lr(t,R5,n,r)},e.prototype.coordToData=function(t,r){var n=this._extent,a=this.scale;this.onBand&&a.type==="ordinal"&&(n=n.slice(),M5(n,a.count()));var i=lr(t,n,R5,r);return this.scale.scale(i)},e.prototype.pointToData=function(t,r){},e.prototype.getTicksCoords=function(t){t=t||{};var r=t.tickModel||this.getTickModel(),n=hdt(this,r),a=n.ticks,i=Pe(a,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=r.get("alignWithLabel");return Sdt(this,i,o,t.clamp),i},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),r=t.get("splitNumber");r>0&&r<100||(r=5);var n=this.scale.getMinorTicks(r),a=Pe(n,function(i){return Pe(i,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return a},e.prototype.getViewLabels=function(){return pdt(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,r=this.scale.getExtent(),n=r[1]-r[0]+(this.onBand?1:0);n===0&&(n=1);var a=Math.abs(t[1]-t[0]);return Math.abs(a)/n},e.prototype.calculateCategoryInterval=function(){return _dt(this)},e}();function M5(e,t){var r=e[1]-e[0],n=t,a=r/n/2;e[0]+=a,e[1]-=a}function Sdt(e,t,r,n){var a=t.length;if(!e.onBand||r||!a)return;var i=e.getExtent(),o,s;if(a===1)t[0].coord=i[0],o=t[1]={coord:i[1]};else{var l=t[a-1].tickValue-t[0].tickValue,u=(t[a-1].coord-t[0].coord)/l;G(t,function(p){p.coord-=u/2});var c=e.scale.getExtent();s=1+c[1]-t[a-1].tickValue,o={coord:t[a-1].coord+u*s},t.push(o)}var d=i[0]>i[1];f(t[0].coord,i[0])&&(n?t[0].coord=i[0]:t.shift()),n&&f(i[0],t[0].coord)&&t.unshift({coord:i[0]}),f(i[1],o.coord)&&(n?o.coord=i[1]:t.pop()),n&&f(o.coord,i[1])&&t.push({coord:i[1]});function f(p,h){return p=Vr(p),h=Vr(h),d?p>h:p<h}}const mo=wdt;var Mh=Math.PI*2,Zu=es.CMD,Edt=["top","right","bottom","left"];function Cdt(e,t,r,n,a){var i=r.width,o=r.height;switch(e){case"top":n.set(r.x+i/2,r.y-t),a.set(0,-1);break;case"bottom":n.set(r.x+i/2,r.y+o+t),a.set(0,1);break;case"left":n.set(r.x-t,r.y+o/2),a.set(-1,0);break;case"right":n.set(r.x+i+t,r.y+o/2),a.set(1,0);break}}function Tdt(e,t,r,n,a,i,o,s,l){o-=e,s-=t;var u=Math.sqrt(o*o+s*s);o/=u,s/=u;var c=o*r+e,d=s*r+t;if(Math.abs(n-a)%Mh<1e-4)return l[0]=c,l[1]=d,u-r;if(i){var f=n;n=to(a),a=to(f)}else n=to(n),a=to(a);n>a&&(a+=Mh);var p=Math.atan2(s,o);if(p<0&&(p+=Mh),p>=n&&p<=a||p+Mh>=n&&p+Mh<=a)return l[0]=c,l[1]=d,u-r;var h=r*Math.cos(n)+e,v=r*Math.sin(n)+t,g=r*Math.cos(a)+e,m=r*Math.sin(a)+t,y=(h-o)*(h-o)+(v-s)*(v-s),_=(g-o)*(g-o)+(m-s)*(m-s);return y<_?(l[0]=h,l[1]=v,Math.sqrt(y)):(l[0]=g,l[1]=m,Math.sqrt(_))}function k2(e,t,r,n,a,i,o,s){var l=a-e,u=i-t,c=r-e,d=n-t,f=Math.sqrt(c*c+d*d);c/=f,d/=f;var p=l*c+u*d,h=p/f;s&&(h=Math.min(Math.max(h,0),1)),h*=f;var v=o[0]=e+h*c,g=o[1]=t+h*d;return Math.sqrt((v-a)*(v-a)+(g-i)*(g-i))}function RY(e,t,r,n,a,i,o){r<0&&(e=e+r,r=-r),n<0&&(t=t+n,n=-n);var s=e+r,l=t+n,u=o[0]=Math.min(Math.max(a,e),s),c=o[1]=Math.min(Math.max(i,t),l);return Math.sqrt((u-a)*(u-a)+(c-i)*(c-i))}var qi=[];function xdt(e,t,r){var n=RY(t.x,t.y,t.width,t.height,e.x,e.y,qi);return r.set(qi[0],qi[1]),n}function Adt(e,t,r){for(var n=0,a=0,i=0,o=0,s,l,u=1/0,c=t.data,d=e.x,f=e.y,p=0;p<c.length;){var h=c[p++];p===1&&(n=c[p],a=c[p+1],i=n,o=a);var v=u;switch(h){case Zu.M:i=c[p++],o=c[p++],n=i,a=o;break;case Zu.L:v=k2(n,a,c[p],c[p+1],d,f,qi,!0),n=c[p++],a=c[p++];break;case Zu.C:v=WU(n,a,c[p++],c[p++],c[p++],c[p++],c[p],c[p+1],d,f,qi),n=c[p++],a=c[p++];break;case Zu.Q:v=YU(n,a,c[p++],c[p++],c[p],c[p+1],d,f,qi),n=c[p++],a=c[p++];break;case Zu.A:var g=c[p++],m=c[p++],y=c[p++],_=c[p++],w=c[p++],E=c[p++];p+=1;var S=!!(1-c[p++]);s=Math.cos(w)*y+g,l=Math.sin(w)*_+m,p<=1&&(i=s,o=l);var C=(d-g)*_/y+g;v=Tdt(g,m,_,w,w+E,S,C,f,qi),n=Math.cos(w+E)*y+g,a=Math.sin(w+E)*_+m;break;case Zu.R:i=n=c[p++],o=a=c[p++];var T=c[p++],x=c[p++];v=RY(i,o,T,x,d,f,qi);break;case Zu.Z:v=k2(n,a,i,o,d,f,qi,!0),n=i,a=o;break}v<u&&(u=v,r.set(qi[0],qi[1]))}return u}var ro=new Lt,mr=new Lt,Gr=new Lt,Fo=new Lt,Lo=new Lt;function L5(e,t){if(e){var r=e.getTextGuideLine(),n=e.getTextContent();if(n&&r){var a=e.textGuideLineConfig||{},i=[[0,0],[0,0],[0,0]],o=a.candidates||Edt,s=n.getBoundingRect().clone();s.applyTransform(n.getComputedTransform());var l=1/0,u=a.anchor,c=e.getComputedTransform(),d=c&&Vp([],c),f=t.get("length2")||0;u&&Gr.copy(u);for(var p=0;p<o.length;p++){var h=o[p];Cdt(h,0,s,ro,Fo),Lt.scaleAndAdd(mr,ro,Fo,f),mr.transform(d);var v=e.getBoundingRect(),g=u?u.distance(mr):e instanceof Vt?Adt(mr,e.path,Gr):xdt(mr,v,Gr);g<l&&(l=g,mr.transform(c),Gr.transform(c),Gr.toArray(i[0]),mr.toArray(i[1]),ro.toArray(i[2]))}MY(i,t.get("minTurnAngle")),r.setShape({points:i})}}}var I2=[],ra=new Lt;function MY(e,t){if(t<=180&&t>0){t=t/180*Math.PI,ro.fromArray(e[0]),mr.fromArray(e[1]),Gr.fromArray(e[2]),Lt.sub(Fo,ro,mr),Lt.sub(Lo,Gr,mr);var r=Fo.len(),n=Lo.len();if(!(r<.001||n<.001)){Fo.scale(1/r),Lo.scale(1/n);var a=Fo.dot(Lo),i=Math.cos(t);if(i<a){var o=k2(mr.x,mr.y,Gr.x,Gr.y,ro.x,ro.y,I2,!1);ra.fromArray(I2),ra.scaleAndAdd(Lo,o/Math.tan(Math.PI-t));var s=Gr.x!==mr.x?(ra.x-mr.x)/(Gr.x-mr.x):(ra.y-mr.y)/(Gr.y-mr.y);if(isNaN(s))return;s<0?Lt.copy(ra,mr):s>1&&Lt.copy(ra,Gr),ra.toArray(e[1])}}}}function kdt(e,t,r){if(r<=180&&r>0){r=r/180*Math.PI,ro.fromArray(e[0]),mr.fromArray(e[1]),Gr.fromArray(e[2]),Lt.sub(Fo,mr,ro),Lt.sub(Lo,Gr,mr);var n=Fo.len(),a=Lo.len();if(!(n<.001||a<.001)){Fo.scale(1/n),Lo.scale(1/a);var i=Fo.dot(t),o=Math.cos(r);if(i<o){var s=k2(mr.x,mr.y,Gr.x,Gr.y,ro.x,ro.y,I2,!1);ra.fromArray(I2);var l=Math.PI/2,u=Math.acos(Lo.dot(t)),c=l+u-r;if(c>=l)Lt.copy(ra,Gr);else{ra.scaleAndAdd(Lo,s/Math.tan(Math.PI/2-c));var d=Gr.x!==mr.x?(ra.x-mr.x)/(Gr.x-mr.x):(ra.y-mr.y)/(Gr.y-mr.y);if(isNaN(d))return;d<0?Lt.copy(ra,mr):d>1&&Lt.copy(ra,Gr)}ra.toArray(e[1])}}}}function D5(e,t,r,n){var a=r==="normal",i=a?e:e.ensureState(r);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?e.useStyle(s):i.style=s}function Idt(e,t){var r=t.smooth,n=t.points;if(n)if(e.moveTo(n[0][0],n[0][1]),r>0&&n.length>=3){var a=Dl(n[0],n[1]),i=Dl(n[1],n[2]);if(!a||!i){e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]);return}var o=Math.min(a,i)*r,s=e1([],n[1],n[0],o/a),l=e1([],n[1],n[2],o/i),u=e1([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],n[2][0],n[2][1])}else for(var c=1;c<n.length;c++)e.lineTo(n[c][0],n[c][1])}function zA(e,t,r){var n=e.getTextGuideLine(),a=e.getTextContent();if(!a){n&&e.removeTextGuideLine();return}for(var i=t.normal,o=i.get("show"),s=a.ignore,l=0;l<Og.length;l++){var u=Og[l],c=t[u],d=u==="normal";if(c){var f=c.get("show"),p=d?s:Dt(a.states[u]&&a.states[u].ignore,s);if(p||!Dt(f,o)){var h=d?n:n&&n.states[u];h&&(h.ignore=!0);continue}n||(n=new Ba,e.setTextGuideLine(n),!d&&(s||!o)&&D5(n,!0,"normal",t.normal),e.stateProxy&&(n.stateProxy=e.stateProxy)),D5(n,!1,u,c)}}if(n){ht(n.style,r),n.style.fill=null;var v=i.get("showAbove"),g=e.textGuideLineConfig=e.textGuideLineConfig||{};g.showAbove=v||!1,n.buildPath=Idt}}function VA(e,t){t=t||"labelLine";for(var r={normal:e.getModel(t)},n=0;n<fa.length;n++){var a=fa[n];r[a]=e.getModel([a,t])}return r}function LY(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];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 p2(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 DY(e,t,r,n,a,i){var o=e.length;if(o<2)return;e.sort(function(T,x){return T.rect[t]-x.rect[t]});for(var s=0,l,u=!1,c=0,d=0;d<o;d++){var f=e[d],p=f.rect;l=p[t]-s,l<0&&(p[t]-=l,f.label[t]-=l,u=!0);var h=Math.max(-l,0);c+=h,s=p[t]+p[r]}c>0&&i&&E(-c/o,0,o);var v=e[0],g=e[o-1],m,y;_(),m<0&&S(-m,.8),y<0&&S(y,.8),_(),w(m,y,1),w(y,m,-1),_(),m<0&&C(-m),y<0&&C(y);function _(){m=v.rect[t]-n,y=a-g.rect[t]-g.rect[r]}function w(T,x,A){if(T<0){var k=Math.min(x,-T);if(k>0){E(k*A,0,o);var R=k+T;R<0&&S(-R*A,1)}else S(-T*A,1)}}function E(T,x,A){T!==0&&(u=!0);for(var k=x;k<A;k++){var R=e[k],M=R.rect;M[t]+=T,R.label[t]+=T}}function S(T,x){for(var A=[],k=0,R=1;R<o;R++){var M=e[R-1].rect,O=Math.max(e[R].rect[t]-M[t]-M[r],0);A.push(O),k+=O}if(k){var z=Math.min(Math.abs(T)/k,x);if(T>0)for(var R=0;R<o-1;R++){var B=A[R]*z;E(B,0,R+1)}else for(var R=o-1;R>0;R--){var B=A[R-1]*z;E(-B,R,o)}}}function C(T){var x=T<0?-1:1;T=Math.abs(T);for(var A=Math.ceil(T/(o-1)),k=0;k<o-1;k++)if(x>0?E(A,0,k+1):E(-A,o-k-1,o),T-=A,T<=0)return}return u}function Rdt(e,t,r,n){return DY(e,"x","width",t,r,n)}function OY(e,t,r,n){return DY(e,"y","height",t,r,n)}function NY(e){var t=[];e.sort(function(v,g){return g.priority-v.priority});var r=new Pt(0,0,0,0);function n(v){if(!v.ignore){var g=v.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}v.ignore=!0}for(var a=0;a<e.length;a++){var i=e[a],o=i.axisAligned,s=i.localRect,l=i.transform,u=i.label,c=i.labelLine;r.copy(i.rect),r.width-=.1,r.height-=.1,r.x+=.05,r.y+=.05;for(var d=i.obb,f=!1,p=0;p<t.length;p++){var h=t[p];if(r.intersect(h.rect)){if(o&&h.axisAligned){f=!0;break}if(h.obb||(h.obb=new p2(h.localRect,h.transform)),d||(d=new p2(s,l)),d.intersect(h.obb)){f=!0;break}}}f?(n(u),c&&n(c)):(u.attr("ignore",i.defaultAttr.ignore),c&&c.attr("ignore",i.defaultAttr.labelGuideIgnore),t.push(i))}}function Mdt(e){if(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r].slice());return t}}function Ldt(e,t){var r=e.label,n=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:r.style.align,verticalAlign:r.style.verticalAlign,labelLinePoints:Mdt(n&&n.shape.points)}}var O5=["align","verticalAlign","width","height","fontSize"],Zn=new ws,AS=Zt(),Ddt=Zt();function q0(e,t,r){for(var n=0;n<r.length;n++){var a=r[n];t[a]!=null&&(e[a]=t[a])}}var j0=["x","y","rotation"],Odt=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(t,r,n,a,i){var o=a.style,s=a.__hostTarget,l=s.textConfig||{},u=a.getComputedTransform(),c=a.getBoundingRect().plain();Pt.applyTransform(c,c,u),u?Zn.setLocalTransform(u):(Zn.x=Zn.y=Zn.rotation=Zn.originX=Zn.originY=0,Zn.scaleX=Zn.scaleY=1),Zn.rotation=to(Zn.rotation);var d=a.__hostTarget,f;if(d){f=d.getBoundingRect().plain();var p=d.getComputedTransform();Pt.applyTransform(f,f,p)}var h=f&&d.getTextGuideLine();this._labelList.push({label:a,labelLine:h,seriesModel:n,dataIndex:t,dataType:r,layoutOption:i,computedLayoutOption:null,rect:c,hostRect:f,priority:f?f.width*f.height:0,defaultAttr:{ignore:a.ignore,labelGuideIgnore:h&&h.ignore,x:Zn.x,y:Zn.y,scaleX:Zn.scaleX,scaleY:Zn.scaleY,rotation:Zn.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}})},e.prototype.addLabelsOfSeries=function(t){var r=this;this._chartViewList.push(t);var n=t.__model,a=n.get("labelLayout");(ft(a)||Wt(a).length)&&t.group.traverse(function(i){if(i.ignore)return!0;var o=i.getTextContent(),s=kt(i);o&&!o.disableLabelLayout&&r._addLabel(s.dataIndex,s.dataType,n,o,a)})},e.prototype.updateLayoutConfig=function(t){var r=t.getWidth(),n=t.getHeight();function a(_,w){return function(){L5(_,w)}}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;ft(o.layoutOption)?c=o.layoutOption(Ldt(o,l)):c=o.layoutOption,c=c||{},o.computedLayoutOption=c;var d=Math.PI/180;l&&l.setTextConfig({local:!1,position:c.x!=null||c.y!=null?null:u.attachedPos,rotation:c.rotate!=null?c.rotate*d:u.attachedRot,offset:[c.dx||0,c.dy||0]});var f=!1;if(c.x!=null?(s.x=Ze(c.x,r),s.setStyle("x",0),f=!0):(s.x=u.x,s.setStyle("x",u.style.x)),c.y!=null?(s.y=Ze(c.y,n),s.setStyle("y",0),f=!0):(s.y=u.y,s.setStyle("y",u.style.y)),c.labelLinePoints){var p=l.getTextGuideLine();p&&(p.setShape({points:c.labelLinePoints}),f=!1)}var h=AS(s);h.needsUpdateLabelLine=f,s.rotation=c.rotate!=null?c.rotate*d:u.rotation,s.scaleX=u.scaleX,s.scaleY=u.scaleY;for(var v=0;v<O5.length;v++){var g=O5[v];s.setStyle(g,c[g]!=null?c[g]:u.style[g])}if(c.draggable){if(s.draggable=!0,s.cursor="move",l){var m=o.seriesModel;if(o.dataIndex!=null){var y=o.seriesModel.getData(o.dataType);m=y.getItemModel(o.dataIndex)}s.on("drag",a(l,m.getModel("labelLine")))}}else s.off("drag"),s.cursor=u.cursor}},e.prototype.layout=function(t){var r=t.getWidth(),n=t.getHeight(),a=LY(this._labelList),i=ur(a,function(l){return l.layoutOption.moveOverlap==="shiftX"}),o=ur(a,function(l){return l.layoutOption.moveOverlap==="shiftY"});Rdt(i,0,r),OY(o,0,n);var s=ur(a,function(l){return l.layoutOption.hideOverlap});NY(s)},e.prototype.processLabelsOverall=function(){var t=this;G(this._chartViewList,function(r){var n=r.__model,a=r.ignoreLabelLineUpdate,i=n.isAnimationEnabled();r.group.traverse(function(o){if(o.ignore&&!o.forceLabelAnimation)return!0;var s=!a,l=o.getTextContent();!s&&l&&(s=AS(l).needsUpdateLabelLine),s&&t._updateLabelLine(o,n),i&&t._animateLabels(o,n)})})},e.prototype._updateLabelLine=function(t,r){var n=t.getTextContent(),a=kt(t),i=a.dataIndex;if(n&&i!=null){var o=r.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 d=s.getModel("labelLine");zA(t,VA(s),l),L5(t,d)}},e.prototype._animateLabels=function(t,r){var n=t.getTextContent(),a=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!Gf(t))){var i=AS(n),o=i.oldLayout,s=kt(t),l=s.dataIndex,u={x:n.x,y:n.y,rotation:n.rotation},c=r.getData(s.dataType);if(o){n.attr(o);var f=t.prevStates;f&&(Bt(f,"select")>=0&&n.attr(i.oldLayoutSelect),Bt(f,"emphasis")>=0&&n.attr(i.oldLayoutEmphasis)),rr(n,u,r,l)}else if(n.attr(u),!Kp(n).valueAnimation){var d=Dt(n.style.opacity,1);n.style.opacity=0,Ar(n,{style:{opacity:d}},r,l)}if(i.oldLayout=u,n.states.select){var p=i.oldLayoutSelect={};q0(p,u,j0),q0(p,n.states.select,j0)}if(n.states.emphasis){var h=i.oldLayoutEmphasis={};q0(h,u,j0),q0(h,n.states.emphasis,j0)}wW(n,l,c,r,r)}if(a&&!a.ignore&&!a.invisible){var i=Ddt(a),o=i.oldLayout,v={points:a.shape.points};o?(a.attr({shape:o}),rr(a,{shape:v},r)):(a.setShape(v),a.style.strokePercent=0,Ar(a,{style:{strokePercent:1}},r)),i.oldLayout=v}},e}();const Ndt=Odt;var kS=Zt();function Pdt(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,r,n){var a=kS(r).labelManager;a||(a=kS(r).labelManager=new Ndt),a.clearLabels()}),e.registerUpdateLifecycle("series:layoutlabels",function(t,r,n){var a=kS(r).labelManager;n.updatedSeries.forEach(function(i){a.addLabelsOfSeries(r.getViewOfSeriesModel(i))}),a.updateLayoutConfig(r),a.layout(r),a.processLabelsOverall()})}var IS=Math.sin,RS=Math.cos,PY=Math.PI,Qu=Math.PI*2,$dt=180/PY,Bdt=function(){function e(){}return e.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},e.prototype.moveTo=function(t,r){this._add("M",t,r)},e.prototype.lineTo=function(t,r){this._add("L",t,r)},e.prototype.bezierCurveTo=function(t,r,n,a,i,o){this._add("C",t,r,n,a,i,o)},e.prototype.quadraticCurveTo=function(t,r,n,a){this._add("Q",t,r,n,a)},e.prototype.arc=function(t,r,n,a,i,o){this.ellipse(t,r,n,n,0,a,i,o)},e.prototype.ellipse=function(t,r,n,a,i,o,s,l){var u=s-o,c=!l,d=Math.abs(u),f=Bl(d-Qu)||(c?u>=Qu:-u>=Qu),p=u>0?u%Qu:u%Qu+Qu,h=!1;f?h=!0:Bl(d)?h=!1:h=p>=PY==!!c;var v=t+n*RS(o),g=r+a*IS(o);this._start&&this._add("M",v,g);var m=Math.round(i*$dt);if(f){var y=1/this._p,_=(c?1:-1)*(Qu-y);this._add("A",n,a,m,1,+c,t+n*RS(o+_),r+a*IS(o+_)),y>.01&&this._add("A",n,a,m,0,+c,v,g)}else{var w=t+n*RS(s),E=r+a*IS(s);this._add("A",n,a,m,+h,+c,w,E)}},e.prototype.rect=function(t,r,n,a){this._add("M",t,r),this._add("l",n,0),this._add("l",0,a),this._add("l",-n,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(t,r,n,a,i,o,s,l,u){for(var c=[],d=this._p,f=1;f<arguments.length;f++){var p=arguments[f];if(isNaN(p)){this._invalid=!0;return}c.push(Math.round(p*d)/d)}this._d.push(t+c.join(" ")),this._start=t==="Z"},e.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},e.prototype.getStr=function(){return this._str},e}();const $Y=Bdt;var Bv="none",Fdt=Math.round;function zdt(e){var t=e.fill;return t!=null&&t!==Bv}function Vdt(e){var t=e.stroke;return t!=null&&t!==Bv}var A6=["lineCap","miterLimit","lineJoin"],Hdt=Pe(A6,function(e){return"stroke-"+e.toLowerCase()});function Udt(e,t,r,n){var a=t.opacity==null?1:t.opacity;if(r instanceof $n){e("opacity",a);return}if(zdt(t)){var i=Mg(t.fill);e("fill",i.color);var o=t.fillOpacity!=null?t.fillOpacity*i.opacity*a:i.opacity*a;(n||o<1)&&e("fill-opacity",o)}else e("fill",Bv);if(Vdt(t)){var s=Mg(t.stroke);e("stroke",s.color);var l=t.strokeNoScale?r.getLineScale():1,u=l?(t.lineWidth||0)/l:0,c=t.strokeOpacity!=null?t.strokeOpacity*s.opacity*a:s.opacity*a,d=t.strokeFirst;if((n||u!==1)&&e("stroke-width",u),(n||d)&&e("paint-order",d?"stroke":"fill"),(n||c<1)&&e("stroke-opacity",c),t.lineDash){var f=kA(r),p=f[0],h=f[1];p&&(h=Fdt(h||0),e("stroke-dasharray",p.join(",")),(h||n)&&e("stroke-dashoffset",h))}else n&&e("stroke-dasharray",Bv);for(var v=0;v<A6.length;v++){var g=A6[v];if(n||t[g]!==d2[g]){var m=t[g]||d2[g];m&&e(Hdt[v],m)}}}else n&&e("stroke",Bv)}var BY="http://www.w3.org/2000/svg",FY="http://www.w3.org/1999/xlink",Gdt="http://www.w3.org/2000/xmlns/",Wdt="http://www.w3.org/XML/1998/namespace";function zY(e){return document.createElementNS(BY,e)}function fn(e,t,r,n,a){return{tag:e,attrs:r||{},children:n,text:a,key:t}}function Kdt(e,t){var r=[];if(t)for(var n in t){var a=t[n],i=n;a!==!1&&(a!==!0&&a!=null&&(i+='="'+a+'"'),r.push(i))}return"<"+e+" "+r.join(" ")+">"}function Ydt(e){return"</"+e+">"}function HA(e,t){t=t||{};var r=t.newline?`
`:"";function n(a){var i=a.children,o=a.tag,s=a.attrs,l=a.text;return Kdt(o,s)+(o!=="style"?_a(l):l||"")+(i?""+r+Pe(i,function(u){return n(u)}).join(r)+r:"")+Ydt(o)}return n(e)}function qdt(e,t,r){r=r||{};var n=r.newline?`
`:"",a=" {"+n,i=n+"}",o=Pe(Wt(e),function(l){return l+a+Pe(Wt(e[l]),function(u){return u+":"+e[l][u]+";"}).join(n)+i}).join(n),s=Pe(Wt(t),function(l){return"@keyframes "+l+a+Pe(Wt(t[l]),function(u){return u+a+Pe(Wt(t[l][u]),function(c){var d=t[l][u][c];return c==="d"&&(d='path("'+d+'")'),c+":"+d+";"}).join(n)+i}).join(n)+i}).join(n);return!o&&!s?"":["<![CDATA[",o,s,"]]>"].join(n)}function k6(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function N5(e,t,r,n){return fn("svg","root",{width:e,height:t,xmlns:BY,"xmlns:xlink":FY,version:"1.1",baseProfile:"full",viewBox:n?"0 0 "+e+" "+t:!1},r)}var P5={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"},ac="transform-origin";function jdt(e,t,r){var n=Me({},e.shape);Me(n,t),e.buildPath(r,n);var a=new $Y;return a.reset(eG(e)),r.rebuildPath(a,1),a.generateStr(),a.getStr()}function Xdt(e,t){var r=t.originX,n=t.originY;(r||n)&&(e[ac]=r+"px "+n+"px")}var Zdt={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function VY(e,t){var r=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[r]=e,r}function Qdt(e,t,r){var n=e.shape.paths,a={},i,o;if(G(n,function(l){var u=k6(r.zrId);u.animation=!0,_b(l,{},u,!0);var c=u.cssAnims,d=u.cssNodes,f=Wt(c),p=f.length;if(p){o=f[p-1];var h=c[o];for(var v in h){var g=h[v];a[v]=a[v]||{d:""},a[v].d+=g.d||""}for(var m in d){var y=d[m].animation;y.indexOf(o)>=0&&(i=y)}}}),!!i){t.d=!1;var s=VY(a,r);return i.replace(o,s)}}function $5(e){return et(e)?P5[e]?"cubic-bezier("+P5[e]+")":Gx(e)?e:"":""}function _b(e,t,r,n){var a=e.animators,i=a.length,o=[];if(e instanceof sA){var s=Qdt(e,t,r);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],d=[c.getMaxTime()/1e3+"s"],f=$5(c.getClip().easing),p=c.getDelay();f?d.push(f):d.push("linear"),p&&d.push(p/1e3+"s"),c.getLoop()&&d.push("infinite");var h=d.join(" ");l[h]=l[h]||[h,[]],l[h][1].push(c)}function v(y){var _=y[1],w=_.length,E={},S={},C={},T="animation-timing-function";function x(j,ae,ne){for(var le=j.getTracks(),W=j.getMaxTime(),Z=0;Z<le.length;Z++){var ie=le[Z];if(ie.needsAnimate()){var me=ie.keyframes,be=ie.propName;if(ne&&(be=ne(be)),be)for(var ge=0;ge<me.length;ge++){var Re=me[ge],Ce=Math.round(Re.time/W*100)+"%",Ee=$5(Re.easing),xe=Re.rawValue;(et(xe)||tr(xe))&&(ae[Ce]=ae[Ce]||{},ae[Ce][be]=Re.rawValue,Ee&&(ae[Ce][T]=Ee))}}}}for(var A=0;A<w;A++){var k=_[A],R=k.targetName;R?R==="shape"&&x(k,S):!n&&x(k,E)}for(var M in E){var O={};iG(O,e),Me(O,E[M]);var z=tG(O),B=E[M][T];C[M]=z?{transform:z}:{},Xdt(C[M],O),B&&(C[M][T]=B)}var P,F=!0;for(var M in S){C[M]=C[M]||{};var D=!P,B=S[M][T];D&&(P=new es);var H=P.len();P.reset(),C[M].d=jdt(e,S[M],P);var K=P.len();if(!D&&H!==K){F=!1;break}B&&(C[M][T]=B)}if(!F)for(var M in C)delete C[M].d;if(!n)for(var A=0;A<w;A++){var k=_[A],R=k.targetName;R==="style"&&x(k,C,function(le){return Zdt[le]})}for(var Y=Wt(C),X=!0,J,A=1;A<Y.length;A++){var fe=Y[A-1],se=Y[A];if(C[fe][ac]!==C[se][ac]){X=!1;break}J=C[fe][ac]}if(X&&J){for(var M in C)C[M][ac]&&delete C[M][ac];t[ac]=J}if(ur(Y,function(j){return Wt(C[j]).length>0}).length){var q=VY(C,r);return q+" "+y[0]+" both"}}for(var g in l){var s=v(l[g]);s&&o.push(s)}if(o.length){var m=r.zrId+"-cls-"+r.cssClassIdx++;r.cssNodes["."+m]={animation:o.join(",")},t.class=m}}var Wg=Math.round;function HY(e){return e&&et(e.src)}function UY(e){return e&&ft(e.toDataURL)}function UA(e,t,r,n){Udt(function(a,i){var o=a==="fill"||a==="stroke";o&&JU(i)?WY(t,e,a,n):o&&Wx(i)?KY(r,e,a,n):e[a]=i},t,r,!1),ift(r,e,n)}function B5(e){return Bl(e[0]-1)&&Bl(e[1])&&Bl(e[2])&&Bl(e[3]-1)}function Jdt(e){return Bl(e[4])&&Bl(e[5])}function GA(e,t,r){if(t&&!(Jdt(t)&&B5(t))){var n=r?10:1e4;e.transform=B5(t)?"translate("+Wg(t[4]*n)/n+" "+Wg(t[5]*n)/n+")":jnt(t)}}function F5(e,t,r){for(var n=e.points,a=[],i=0;i<n.length;i++)a.push(Wg(n[i][0]*r)/r),a.push(Wg(n[i][1]*r)/r);t.points=a.join(" ")}function z5(e){return!e.smooth}function eft(e){var t=Pe(e,function(r){return typeof r=="string"?[r,r]:r});return function(r,n,a){for(var i=0;i<t.length;i++){var o=t[i],s=r[o[0]];s!=null&&(n[o[1]]=Wg(s*a)/a)}}}var tft={circle:[eft(["cx","cy","r"])],polyline:[F5,z5],polygon:[F5,z5]};function rft(e){for(var t=e.animators,r=0;r<t.length;r++)if(t[r].targetName==="shape")return!0;return!1}function GY(e,t){var r=e.style,n=e.shape,a=tft[e.type],i={},o=t.animation,s="path",l=e.style.strokePercent,u=t.compress&&eG(e)||4;if(a&&!t.willUpdate&&!(a[1]&&!a[1](n))&&!(o&&rft(e))&&!(l<1)){s=e.type;var c=Math.pow(10,u);a[0](n,i,c)}else{var d=!e.path||e.shapeChanged();e.path||e.createPathProxy();var f=e.path;d&&(f.beginPath(),e.buildPath(f,e.shape),e.pathUpdated());var p=f.getVersion(),h=e,v=h.__svgPathBuilder;(h.__svgPathVersion!==p||!v||l!==h.__svgPathStrokePercent)&&(v||(v=h.__svgPathBuilder=new $Y),v.reset(u),f.rebuildPath(v,l),v.generateStr(),h.__svgPathVersion=p,h.__svgPathStrokePercent=l),i.d=v.getStr()}return GA(i,e.transform),UA(i,r,e,t),t.animation&&_b(e,i,t),fn(s,e.id+"",i)}function nft(e,t){var r=e.style,n=r.image;if(n&&!et(n)&&(HY(n)?n=n.src:UY(n)&&(n=n.toDataURL())),!!n){var a=r.x||0,i=r.y||0,o=r.width,s=r.height,l={href:n,width:o,height:s};return a&&(l.x=a),i&&(l.y=i),GA(l,e.transform),UA(l,r,e,t),t.animation&&_b(e,l,t),fn("image",e.id+"",l)}}function aft(e,t){var r=e.style,n=r.text;if(n!=null&&(n+=""),!(!n||isNaN(r.x)||isNaN(r.y))){var a=r.font||iu,i=r.x||0,o=Znt(r.y||0,Y_(a),r.textBaseline),s=Xnt[r.textAlign]||r.textAlign,l={"dominant-baseline":"central","text-anchor":s};if(BG(r)){var u="",c=r.fontStyle,d=$G(r.fontSize);if(!parseFloat(d))return;var f=r.fontFamily||kU,p=r.fontWeight;u+="font-size:"+d+";font-family:"+f+";",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),GA(l,e.transform),UA(l,r,e,t),t.animation&&_b(e,l,t),fn("text",e.id+"",l,void 0,n)}}function V5(e,t){if(e instanceof Vt)return GY(e,t);if(e instanceof $n)return nft(e,t);if(e instanceof Dg)return aft(e,t)}function ift(e,t,r){var n=e.style;if(Qnt(n)){var a=Jnt(e),i=r.shadowCache,o=i[a];if(!o){var s=e.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=n.shadowOffsetX||0,d=n.shadowOffsetY||0,f=n.shadowBlur,p=Mg(n.shadowColor),h=p.opacity,v=p.color,g=f/2/l,m=f/2/u,y=g+" "+m;o=r.zrId+"-s"+r.shadowIdx++,r.defs[o]=fn("filter",o,{id:o,x:"-100%",y:"-100%",width:"300%",height:"300%"},[fn("feDropShadow","",{dx:c/l,dy:d/u,stdDeviation:y,"flood-color":v,"flood-opacity":h})]),i[a]=o}t.filter=K_(o)}}function WY(e,t,r,n){var a=e[r],i,o={gradientUnits:a.global?"userSpaceOnUse":"objectBoundingBox"};if(ZU(a))i="linearGradient",o.x1=a.x,o.y1=a.y,o.x2=a.x2,o.y2=a.y2;else if(QU(a))i="radialGradient",o.cx=Dt(a.x,.5),o.cy=Dt(a.y,.5),o.r=Dt(a.r,.5);else return;for(var s=a.colorStops,l=[],u=0,c=s.length;u<c;++u){var d=HE(s[u].offset)*100+"%",f=s[u].color,p=Mg(f),h=p.color,v=p.opacity,g={offset:d};g["stop-color"]=h,v<1&&(g["stop-opacity"]=v),l.push(fn("stop",u+"",g))}var m=fn(i,"",o,l),y=HA(m),_=n.gradientCache,w=_[y];w||(w=n.zrId+"-g"+n.gradientIdx++,_[y]=w,o.id=w,n.defs[w]=fn(i,w,o,l)),t[r]=K_(w)}function KY(e,t,r,n){var a=e.style[r],i=e.getBoundingRect(),o={},s=a.repeat,l=s==="no-repeat",u=s==="repeat-x",c=s==="repeat-y",d;if(XU(a)){var f=a.imageWidth,p=a.imageHeight,h=void 0,v=a.image;if(et(v)?h=v:HY(v)?h=v.src:UY(v)&&(h=v.toDataURL()),typeof Image>"u"){var g="Image width/height must been given explictly in svg-ssr renderer.";da(f,g),da(p,g)}else if(f==null||p==null){var m=function(A,k){if(A){var R=A.elm,M=f||k.width,O=p||k.height;A.tag==="pattern"&&(u?(O=1,M/=i.width):c&&(M=1,O/=i.height)),A.attrs.width=M,A.attrs.height=O,R&&(R.setAttribute("width",M),R.setAttribute("height",O))}},y=Qx(h,null,e,function(A){l||m(S,A),m(d,A)});y&&y.width&&y.height&&(f=f||y.width,p=p||y.height)}d=fn("image","img",{href:h,width:f,height:p}),o.width=f,o.height=p}else a.svgElement&&(d=_t(a.svgElement),o.width=a.svgWidth,o.height=a.svgHeight);if(d){var _,w;l?_=w=1:u?(w=1,_=o.width/i.width):c?(_=1,w=o.height/i.height):o.patternUnits="userSpaceOnUse",_!=null&&!isNaN(_)&&(o.width=_),w!=null&&!isNaN(w)&&(o.height=w);var E=tG(a);E&&(o.patternTransform=E);var S=fn("pattern","",o,[d]),C=HA(S),T=n.patternCache,x=T[C];x||(x=n.zrId+"-p"+n.patternIdx++,T[C]=x,o.id=x,S=n.defs[x]=fn("pattern",x,o,[d])),t[r]=K_(x)}}function oft(e,t,r){var n=r.clipPathCache,a=r.defs,i=n[e.id];if(!i){i=r.zrId+"-c"+r.clipPathIdx++;var o={id:i};n[e.id]=i,a[i]=fn("clipPath",i,o,[GY(e,r)])}t["clip-path"]=K_(i)}function H5(e){return document.createTextNode(e)}function gc(e,t,r){e.insertBefore(t,r)}function U5(e,t){e.removeChild(t)}function G5(e,t){e.appendChild(t)}function YY(e){return e.parentNode}function qY(e){return e.nextSibling}function MS(e,t){e.textContent=t}var W5=58,sft=120,lft=fn("","");function I6(e){return e===void 0}function xo(e){return e!==void 0}function uft(e,t,r){for(var n={},a=t;a<=r;++a){var i=e[a].key;i!==void 0&&(n[i]=a)}return n}function rv(e,t){var r=e.key===t.key,n=e.tag===t.tag;return n&&r}function Kg(e){var t,r=e.children,n=e.tag;if(xo(n)){var a=e.elm=zY(n);if(WA(lft,e),Ne(r))for(t=0;t<r.length;++t){var i=r[t];i!=null&&G5(a,Kg(i))}else xo(e.text)&&!vt(e.text)&&G5(a,H5(e.text))}else e.elm=H5(e.text);return e.elm}function jY(e,t,r,n,a){for(;n<=a;++n){var i=r[n];i!=null&&gc(e,Kg(i),t)}}function R2(e,t,r,n){for(;r<=n;++r){var a=t[r];if(a!=null)if(xo(a.tag)){var i=YY(a.elm);U5(i,a.elm)}else U5(e,a.elm)}}function WA(e,t){var r,n=t.elm,a=e&&e.attrs||{},i=t.attrs||{};if(a!==i){for(r in i){var o=i[r],s=a[r];s!==o&&(o===!0?n.setAttribute(r,""):o===!1?n.removeAttribute(r):r.charCodeAt(0)!==sft?n.setAttribute(r,o):r==="xmlns:xlink"||r==="xmlns"?n.setAttributeNS(Gdt,r,o):r.charCodeAt(3)===W5?n.setAttributeNS(Wdt,r,o):r.charCodeAt(5)===W5?n.setAttributeNS(FY,r,o):n.setAttribute(r,o))}for(r in a)r in i||n.removeAttribute(r)}}function cft(e,t,r){for(var n=0,a=0,i=t.length-1,o=t[0],s=t[i],l=r.length-1,u=r[0],c=r[l],d,f,p,h;n<=i&&a<=l;)o==null?o=t[++n]:s==null?s=t[--i]:u==null?u=r[++a]:c==null?c=r[--l]:rv(o,u)?(mf(o,u),o=t[++n],u=r[++a]):rv(s,c)?(mf(s,c),s=t[--i],c=r[--l]):rv(o,c)?(mf(o,c),gc(e,o.elm,qY(s.elm)),o=t[++n],c=r[--l]):rv(s,u)?(mf(s,u),gc(e,s.elm,o.elm),s=t[--i],u=r[++a]):(I6(d)&&(d=uft(t,n,i)),f=d[u.key],I6(f)?gc(e,Kg(u),o.elm):(p=t[f],p.tag!==u.tag?gc(e,Kg(u),o.elm):(mf(p,u),t[f]=void 0,gc(e,p.elm,o.elm))),u=r[++a]);(n<=i||a<=l)&&(n>i?(h=r[l+1]==null?null:r[l+1].elm,jY(e,h,r,a,l)):R2(e,t,n,i))}function mf(e,t){var r=t.elm=e.elm,n=e.children,a=t.children;e!==t&&(WA(e,t),I6(t.text)?xo(n)&&xo(a)?n!==a&&cft(r,n,a):xo(a)?(xo(e.text)&&MS(r,""),jY(r,null,a,0,a.length-1)):xo(n)?R2(r,n,0,n.length-1):xo(e.text)&&MS(r,""):e.text!==t.text&&(xo(n)&&R2(r,n,0,n.length-1),MS(r,t.text)))}function dft(e,t){if(rv(e,t))mf(e,t);else{var r=e.elm,n=YY(r);Kg(t),n!==null&&(gc(n,t.elm,qY(r)),R2(n,[e],0,0))}return t}var fft=0,pft=function(){function e(t,r,n){if(this.type="svg",this.refreshHover=K5(),this.configLayer=K5(),this.storage=r,this._opts=n=Me({},n),this.root=t,this._id="zr"+fft++,this._oldVNode=N5(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=zY("svg");WA(null,this._oldVNode),a.appendChild(i),t.appendChild(a)}this.resize(n.width,n.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",dft(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return V5(t,k6(this._id))},e.prototype.renderToVNode=function(t){t=t||{};var r=this.storage.getDisplayList(!0),n=this._width,a=this._height,i=k6(this._id);i.animation=t.animation,i.willUpdate=t.willUpdate,i.compress=t.compress;var o=[],s=this._bgVNode=hft(n,a,this._backgroundColor,i);s&&o.push(s);var l=t.compress?null:this._mainVNode=fn("g","main",{},[]);this._paintList(r,i,l?l.children:o),l&&o.push(l);var u=Pe(Wt(i.defs),function(f){return i.defs[f]});if(u.length&&o.push(fn("defs","defs",{},u)),t.animation){var c=qdt(i.cssNodes,i.cssAnims,{newline:!0});if(c){var d=fn("style","stl",{},[],c);o.push(d)}}return N5(n,a,o,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},HA(this.renderToVNode({animation:Dt(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Dt(t.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(t,r,n){for(var a=t.length,i=[],o=0,s,l,u=0,c=0;c<a;c++){var d=t[c];if(!d.invisible){var f=d.__clipPaths,p=f&&f.length||0,h=l&&l.length||0,v=void 0;for(v=Math.max(p-1,h-1);v>=0&&!(f&&l&&f[v]===l[v]);v--);for(var g=h-1;g>v;g--)o--,s=i[o-1];for(var m=v+1;m<p;m++){var y={};oft(f[m],y,r);var _=fn("g","clip-g-"+u++,y,[]);(s?s.children:n).push(_),i[o++]=_,s=_}l=f;var w=V5(d,r);w&&(s?s.children:n).push(w)}}},e.prototype.resize=function(t,r){var n=this._opts,a=this.root,i=this._viewport;if(t!=null&&(n.width=t),r!=null&&(n.height=r),a&&i&&(i.style.display="none",t=kf(a,0,n),r=kf(a,1,n),i.style.display=""),this._width!==t||this._height!==r){if(this._width=t,this._height=r,i){var o=i.style;o.width=t+"px",o.height=r+"px"}if(Wx(this._backgroundColor))this.refresh();else{var s=this._svgDom;s&&(s.setAttribute("width",t),s.setAttribute("height",r));var l=this._bgVNode&&this._bgVNode.elm;l&&(l.setAttribute("width",t),l.setAttribute("height",r))}}},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},e.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},e.prototype.toDataURL=function(t){var r=this.renderToString(),n="data:image/svg+xml;";return t?(r=tat(r),r&&n+"base64,"+r):n+"charset=UTF-8,"+encodeURIComponent(r)},e}();function K5(e){return function(){}}function hft(e,t,r,n){var a;if(r&&r!=="none")if(a=fn("rect","bg",{width:e,height:t,x:"0",y:"0",id:"0"}),JU(r))WY({fill:r},a.attrs,"fill",n);else if(Wx(r))KY({style:{fill:r},dirty:qr,getBoundingRect:function(){return{width:e,height:t}}},a.attrs,"fill",n);else{var i=Mg(r),o=i.color,s=i.opacity;a.attrs.fill=o,s<1&&(a.attrs["fill-opacity"]=s)}return a}const vft=pft;function gft(e){e.registerPainter("svg",vft)}function Y5(e,t,r){var n=ou.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",e)),n.width=a*r,n.height=i*r,n}var mft=function(e){ye(t,e);function t(r,n,a){var i=e.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||l2,typeof r=="string"?o=Y5(r,n,a):vt(r)&&(o=r,r=o.id),i.id=r,i.dom=o;var s=o.style;return s&&(OU(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 r=this.dpr;this.domBack=Y5("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),r!==1&&this.ctxBack.scale(r,r)},t.prototype.createRepaintRects=function(r,n,a,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],s=this.maxRepaintRectCount,l=!1,u=new Pt(0,0,0,0);function c(y){if(!(!y.isFinite()||y.isZero()))if(o.length===0){var _=new Pt(0,0,0,0);_.copy(y),o.push(_)}else{for(var w=!1,E=1/0,S=0,C=0;C<o.length;++C){var T=o[C];if(T.intersect(y)){var x=new Pt(0,0,0,0);x.copy(T),x.union(y),o[C]=x,w=!0;break}else if(l){u.copy(y),u.union(T);var A=y.width*y.height,k=T.width*T.height,R=u.width*u.height,M=R-A-k;M<E&&(E=M,S=C)}}if(l&&(o[S].union(y),w=!0),!w){var _=new Pt(0,0,0,0);_.copy(y),o.push(_)}l||(l=o.length>=s)}}for(var d=this.__startIndex;d<this.__endIndex;++d){var f=r[d];if(f){var p=f.shouldBePainted(a,i,!0,!0),h=f.__isRendered&&(f.__dirty&Wa||!p)?f.getPrevPaintRect():null;h&&c(h);var v=p&&(f.__dirty&Wa||!f.__isRendered)?f.getPaintRect():null;v&&c(v)}}for(var d=this.__prevStartIndex;d<this.__prevEndIndex;++d){var f=n[d],p=f.shouldBePainted(a,i,!0,!0);if(f&&(!p||!f.__zr)&&f.__isRendered){var h=f.getPrevPaintRect();h&&c(h)}}var g;do{g=!1;for(var d=0;d<o.length;){if(o[d].isZero()){o.splice(d,1);continue}for(var m=d+1;m<o.length;)o[d].intersect(o[m])?(g=!0,o[d].union(o[m]),o.splice(m,1)):m++;d++}}while(g);return this._paintRects=o,o},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(r,n){var a=this.dpr,i=this.dom,o=i.style,s=this.domBack;o&&(o.width=r+"px",o.height=n+"px"),i.width=r*a,i.height=n*a,s&&(s.width=r*a,s.height=n*a,a!==1&&this.ctxBack.scale(a,a))},t.prototype.clear=function(r,n,a){var i=this.dom,o=this.ctx,s=i.width,l=i.height;n=n||this.clearColor;var u=this.motionBlur&&!r,c=this.lastFrameAlpha,d=this.dpr,f=this;u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,s/d,l/d));var p=this.domBack;function h(v,g,m,y){if(o.clearRect(v,g,m,y),n&&n!=="transparent"){var _=void 0;if(U_(n)){var w=n.global||n.__width===m&&n.__height===y;_=w&&n.__canvasGradient||_6(o,n,{x:0,y:0,width:m,height:y}),n.__canvasGradient=_,n.__width=m,n.__height=y}else tnt(n)&&(n.scaleX=n.scaleX||d,n.scaleY=n.scaleY||d,_=b6(o,n,{dirty:function(){f.setUnpainted(),f.__painter.refresh()}}));o.save(),o.fillStyle=_||n,o.fillRect(v,g,m,y),o.restore()}u&&(o.save(),o.globalAlpha=c,o.drawImage(p,v,g,m,y),o.restore())}!a||u?h(0,0,s,l):a.length&&G(a,function(v){h(v.x*d,v.y*d,v.width*d,v.height*d)})},t}($i);const LS=mft;var q5=1e5,Ju=314159,X0=.01,yft=.001;function _ft(e){return e?e.__builtin__?!0:!(typeof e.resize!="function"||typeof e.refresh!="function"):!1}function bft(e,t){var r=document.createElement("div");return r.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",r}var wft=function(){function e(t,r,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=Me({},n||{}),this.dpr=n.devicePixelRatio||l2,this._singleCanvas=i,this.root=t;var o=t.style;o&&(OU(t),t.innerHTML=""),this.storage=r;var s=this._zlevelList;this._prevDisplayList=[];var l=this._layers;if(i){var c=t,d=c.width,f=c.height;n.width!=null&&(d=n.width),n.height!=null&&(f=n.height),this.dpr=n.devicePixelRatio||1,c.width=d*this.dpr,c.height=f*this.dpr,this._width=d,this._height=f;var p=new LS(c,this,this.dpr);p.__builtin__=!0,p.initContext(),l[Ju]=p,p.zlevel=Ju,s.push(Ju),this._domRoot=t}else{this._width=kf(t,0,n),this._height=kf(t,1,n);var u=this._domRoot=bft(this._width,this._height);t.appendChild(u)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.refresh=function(t){var r=this.storage.getDisplayList(!0),n=this._prevDisplayList,a=this._zlevelList;this._redrawId=Math.random(),this._paintList(r,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=r.slice()),this},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(t){var r=t.length,n=this._hoverlayer;if(n&&n.clear(),!!r){for(var a={inHover:!0,viewWidth:this._width,viewHeight:this._height},i,o=0;o<r;o++){var s=t[o];s.__inHover&&(n||(n=this._hoverlayer=this.getLayer(q5)),i||(i=n.ctx,i.save()),Dc(i,s,a,o===r-1))}i&&i.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(q5)},e.prototype.paintOne=function(t,r){MK(t,r)},e.prototype._paintList=function(t,r,n,a){if(this._redrawId===a){n=n||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,r,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;$E(function(){l._paintList(t,r,n,a)})}}},e.prototype._compositeManually=function(){var t=this.getLayer(Ju).ctx,r=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,r,n),this.eachBuiltinLayer(function(a){a.virtual&&t.drawImage(a.dom,0,0,r,n)})},e.prototype._doPaintList=function(t,r,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,d=!1,f=function(v){var g=i[v],m=g.ctx,y=o&&g.createRepaintRects(t,r,p._width,p._height),_=n?g.__startIndex:g.__drawIndex,w=!n&&g.incremental&&Date.now,E=w&&Date.now(),S=g.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(g.__startIndex===g.__endIndex)g.clear(!1,S,y);else if(_===g.__startIndex){var C=t[_];(!C.incremental||!C.notClear||n)&&g.clear(!1,S,y)}_===-1&&(console.error("For some unknown reason. drawIndex is -1"),_=g.__startIndex);var T,x=function(M){var O={inHover:!1,allClipped:!1,prevEl:null,viewWidth:a._width,viewHeight:a._height};for(T=_;T<g.__endIndex;T++){var z=t[T];if(z.__inHover&&(d=!0),a._doPaintEl(z,g,o,M,O,T===g.__endIndex-1),w){var B=Date.now()-E;if(B>15)break}}O.prevElClipPaths&&m.restore()};if(y)if(y.length===0)T=g.__endIndex;else for(var A=p.dpr,k=0;k<y.length;++k){var R=y[k];m.save(),m.beginPath(),m.rect(R.x*A,R.y*A,R.width*A,R.height*A),m.clip(),x(R),m.restore()}else m.save(),x(),m.restore();g.__drawIndex=T,g.__drawIndex<g.__endIndex&&(c=!1)},p=this,h=0;h<i.length;h++)f(h);return Jt.wxa&&G(this._layers,function(v){v&&v.ctx&&v.ctx.draw&&v.ctx.draw()}),{finished:c,needsRefreshHover:d}},e.prototype._doPaintEl=function(t,r,n,a,i,o){var s=r.ctx;if(n){var l=t.getPaintRect();(!a||l&&l.intersect(a))&&(Dc(s,t,i,o),t.setPrevPaintRect(l))}else Dc(s,t,i,o)},e.prototype.getLayer=function(t,r){this._singleCanvas&&!this._needsManuallyCompositing&&(t=Ju);var n=this._layers[t];return n||(n=new LS("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]?Nt(n,this._layerConfig[t],!0):this._layerConfig[t-X0]&&Nt(n,this._layerConfig[t-X0],!0),r&&(n.virtual=r),this.insertLayer(t,n),n.initContext()),n},e.prototype.insertLayer=function(t,r){var n=this._layers,a=this._zlevelList,i=a.length,o=this._domRoot,s=null,l=-1;if(!n[t]&&_ft(r)){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]=r,!r.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(r.dom,u.nextSibling):o.appendChild(r.dom)}else o.firstChild?o.insertBefore(r.dom,o.firstChild):o.appendChild(r.dom);r.__painter=this}},e.prototype.eachLayer=function(t,r){for(var n=this._zlevelList,a=0;a<n.length;a++){var i=n[a];t.call(r,this._layers[i],i)}},e.prototype.eachBuiltinLayer=function(t,r){for(var n=this._zlevelList,a=0;a<n.length;a++){var i=n[a],o=this._layers[i];o.__builtin__&&t.call(r,o,i)}},e.prototype.eachOtherLayer=function(t,r){for(var n=this._zlevelList,a=0;a<n.length;a++){var i=n[a],o=this._layers[i];o.__builtin__||t.call(r,o,i)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(t){this.eachBuiltinLayer(function(d,f){d.__dirty=d.__used=!1});function r(d){i&&(i.__endIndex!==d&&(i.__dirty=!0),i.__endIndex=d)}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+yft,this._needsManuallyCompositing),c.incremental=!0,o=1):c=this.getLayer(u+(o>0?X0:0),this._needsManuallyCompositing),c.__builtin__||$x("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,r(l),i=c),a.__dirty&Wa&&!a.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=l))}r(l),this.eachBuiltinLayer(function(d,f){!d.__used&&d.getElementCount()>0&&(d.__dirty=!0,d.__startIndex=d.__endIndex=d.__drawIndex=0),d.__dirty&&d.__drawIndex<0&&(d.__drawIndex=d.__startIndex)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(t){t.clear()},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t,G(this._layers,function(r){r.setUnpainted()})},e.prototype.configLayer=function(t,r){if(r){var n=this._layerConfig;n[t]?Nt(n[t],r,!0):n[t]=r;for(var a=0;a<this._zlevelList.length;a++){var i=this._zlevelList[a];if(i===t||i===t+X0){var o=this._layers[i];Nt(o,n[t],!0)}}}},e.prototype.delLayer=function(t){var r=this._layers,n=this._zlevelList,a=r[t];a&&(a.dom.parentNode.removeChild(a.dom),delete r[t],n.splice(Bt(n,t),1))},e.prototype.resize=function(t,r){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),r!=null&&(a.height=r),t=kf(i,0,a),r=kf(i,1,a),n.style.display="",this._width!==t||r!==this._height){n.style.width=t+"px",n.style.height=r+"px";for(var o in this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,r);this.refresh(!0)}this._width=t,this._height=r}else{if(t==null||r==null)return;this._width=t,this._height=r,this.getLayer(Ju).resize(t,r)}return this},e.prototype.clearLayer=function(t){var r=this._layers[t];r&&r.clear()},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},e.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[Ju].dom;var r=new LS("image",this,t.pixelRatio||this.dpr);r.initContext(),r.clear(!1,t.backgroundColor||this._backgroundColor);var n=r.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var a=r.dom.width,i=r.dom.height;this.eachLayer(function(d){d.__builtin__?n.drawImage(d.dom,0,0,a,i):d.renderToCanvas&&(n.save(),d.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];Dc(n,c,o,l===u-1)}return r.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}();const Sft=wft;function Eft(e){e.registerPainter("canvas",Sft)}var Cft=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.getInitialData=function(r){return el(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(r){var n=new wt,a=an("line",0,r.itemHeight/2,r.itemWidth,0,r.lineStyle.stroke,!1);n.add(a),a.setStyle(r.lineStyle);var i=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),s=i==="none"?"circle":i,l=r.itemHeight*.8,u=an(s,(r.itemWidth-l)/2,(r.itemHeight-l)/2,l,l,r.itemStyle.fill);n.add(u),u.setStyle(r.itemStyle);var c=r.iconRotate==="inherit"?o:r.iconRotate||0;return u.rotation=c*Math.PI/180,u.setOrigin([r.itemWidth/2,r.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}(Rr);const Tft=Cft;function Tp(e,t){var r=e.mapDimensionsAll("defaultedLabel"),n=r.length;if(n===1){var a=Sp(e,t,r[0]);return a!=null?a+"":null}else if(n){for(var i=[],o=0;o<r.length;o++)i.push(Sp(e,t,r[o]));return i.join(" ")}}function XY(e,t){var r=e.mapDimensionsAll("defaultedLabel");if(!Ne(t))return t+"";for(var n=[],a=0;a<r.length;a++){var i=e.getDimensionIndex(r[a]);i>=0&&n.push(t[i])}return n.join(" ")}var xft=function(e){ye(t,e);function t(r,n,a,i){var o=e.call(this)||this;return o.updateData(r,n,a,i),o}return t.prototype._createSymbol=function(r,n,a,i,o){this.removeAll();var s=an(r,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=Aft,this._symbolType=r,this.add(s)},t.prototype.stopSymbolAnimation=function(r){this.childAt(0).stopAnimation(null,r)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){zs(this.childAt(0))},t.prototype.downplay=function(){Vs(this.childAt(0))},t.prototype.setZ=function(r,n){var a=this.childAt(0);a.zlevel=r,a.z=n},t.prototype.setDraggable=function(r,n){var a=this.childAt(0);a.draggable=r,a.cursor=!n&&r?"move":a.cursor},t.prototype.updateData=function(r,n,a,i){this.silent=!1;var o=r.getItemVisual(n,"symbol")||"circle",s=r.hostModel,l=t.getSymbolSize(r,n),u=o!==this._symbolType,c=i&&i.disableAnimation;if(u){var d=r.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,r,n,l,d)}else{var f=this.childAt(0);f.silent=!1;var p={scaleX:l[0]/2,scaleY:l[1]/2};c?f.attr(p):rr(f,p,s,n),co(f)}if(this._updateCommon(r,n,l,a,i),u){var f=this.childAt(0);if(!c){var p={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,Ar(f,p,s,n)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(r,n,a,i,o){var s=this.childAt(0),l=r.hostModel,u,c,d,f,p,h,v,g,m;if(i&&(u=i.emphasisItemStyle,c=i.blurItemStyle,d=i.selectItemStyle,f=i.focus,p=i.blurScope,v=i.labelStatesModels,g=i.hoverScale,m=i.cursorStyle,h=i.emphasisDisabled),!i||r.hasItemOption){var y=i&&i.itemModel?i.itemModel:r.getItemModel(n),_=y.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),d=y.getModel(["select","itemStyle"]).getItemStyle(),c=y.getModel(["blur","itemStyle"]).getItemStyle(),f=_.get("focus"),p=_.get("blurScope"),h=_.get("disabled"),v=vn(y),g=_.getShallow("scale"),m=y.getShallow("cursor")}var w=r.getItemVisual(n,"symbolRotate");s.attr("rotation",(w||0)*Math.PI/180||0);var E=Md(r.getItemVisual(n,"symbolOffset"),a);E&&(s.x=E[0],s.y=E[1]),m&&s.attr("cursor",m);var S=r.getItemVisual(n,"style"),C=S.fill;if(s instanceof $n){var T=s.style;s.useStyle(Me({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},S))}else s.__isEmptyBrush?s.useStyle(Me({},S)):s.useStyle(S),s.style.decal=null,s.setColor(C,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var x=r.getItemVisual(n,"liftZ"),A=this._z2;x!=null?A==null&&(this._z2=s.z2,s.z2+=x):A!=null&&(s.z2=A,this._z2=null);var k=o&&o.useNameLabel;Pn(s,v,{labelFetcher:l,labelDataIndex:n,defaultText:R,inheritColor:C,defaultOpacity:S.opacity});function R(z){return k?r.getName(z):Tp(r,z)}this._sizeX=a[0]/2,this._sizeY=a[1]/2;var M=s.ensureState("emphasis");M.style=u,s.ensureState("select").style=d,s.ensureState("blur").style=c;var O=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;M.scaleX=this._sizeX*O,M.scaleY=this._sizeY*O,this.setSymbolScale(1),Pr(this,f,p,h)},t.prototype.setSymbolScale=function(r){this.scaleX=this.scaleY=r},t.prototype.fadeOut=function(r,n,a){var i=this.childAt(0),o=kt(this).dataIndex,s=a&&a.animation;if(this.silent=i.silent=!0,a&&a.fadeLabel){var l=i.getTextContent();l&&lu(l,{style:{opacity:0}},n,{dataIndex:o,removeOpt:s,cb:function(){i.removeTextContent()}})}else i.removeTextContent();lu(i,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:o,cb:r,removeOpt:s})},t.getSymbolSize=function(r,n){return eh(r.getItemVisual(n,"symbolSize"))},t}(wt);function Aft(e,t){this.parent.drift(e,t)}const Nm=xft;function DS(e,t,r,n){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(n.isIgnore&&n.isIgnore(r))&&!(n.clipShape&&!n.clipShape.contain(t[0],t[1]))&&e.getItemVisual(r,"symbol")!=="none"}function j5(e){return e!=null&&!vt(e)&&(e={isIgnore:e}),e||{}}function X5(e){var t=e.hostModel,r=t.getModel("emphasis");return{emphasisItemStyle:r.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:r.get("focus"),blurScope:r.get("blurScope"),emphasisDisabled:r.get("disabled"),hoverScale:r.get("scale"),labelStatesModels:vn(t),cursorStyle:t.get("cursor")}}var kft=function(){function e(t){this.group=new wt,this._SymbolCtor=t||Nm}return e.prototype.updateData=function(t,r){this._progressiveEls=null,r=j5(r);var n=this.group,a=t.hostModel,i=this._data,o=this._SymbolCtor,s=r.disableAnimation,l=X5(t),u={disableAnimation:s},c=r.getSymbolPoint||function(d){return t.getItemLayout(d)};i||n.removeAll(),t.diff(i).add(function(d){var f=c(d);if(DS(t,f,d,r)){var p=new o(t,d,l,u);p.setPosition(f),t.setItemGraphicEl(d,p),n.add(p)}}).update(function(d,f){var p=i.getItemGraphicEl(f),h=c(d);if(!DS(t,h,d,r)){n.remove(p);return}var v=t.getItemVisual(d,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==v)n.remove(p),p=new o(t,d,l,u),p.setPosition(h);else{p.updateData(t,d,l,u);var m={x:h[0],y:h[1]};s?p.attr(m):rr(p,m,a)}n.add(p),t.setItemGraphicEl(d,p)}).remove(function(d){var f=i.getItemGraphicEl(d);f&&f.fadeOut(function(){n.remove(f)},a)}).execute(),this._getSymbolPoint=c,this._data=t},e.prototype.updateLayout=function(){var t=this,r=this._data;r&&r.eachItemGraphicEl(function(n,a){var i=t._getSymbolPoint(a);n.setPosition(i),n.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=X5(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,r,n){this._progressiveEls=[],n=j5(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=r.getItemLayout(i);if(DS(r,o,i,n)){var s=new this._SymbolCtor(r,i,this._seriesScope);s.traverse(a),s.setPosition(o),this.group.add(s),r.setItemGraphicEl(i,s),this._progressiveEls.push(s)}}},e.prototype.eachRendered=function(t){wu(this._progressiveEls||this.group,t)},e.prototype.remove=function(t){var r=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(a){a.fadeOut(function(){r.remove(a)},n.hostModel)}):r.removeAll()},e}();const Pm=kft;function ZY(e,t,r){var n=e.getBaseAxis(),a=e.getOtherAxis(n),i=Ift(a,r),o=n.dim,s=a.dim,l=t.mapDimension(s),u=t.mapDimension(o),c=s==="x"||s==="radius"?1:0,d=Pe(e.dimensions,function(h){return t.mapDimension(h)}),f=!1,p=t.getCalculationInfo("stackResultDimension");return cu(t,d[0])&&(f=!0,d[0]=p),cu(t,d[1])&&(f=!0,d[1]=p),{dataDimsForPoint:d,valueStart:i,valueAxisDim:s,baseAxisDim:o,stacked:!!f,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function Ift(e,t){var r=0,n=e.scale.getExtent();return t==="start"?r=n[0]:t==="end"?r=n[1]:tr(t)&&!isNaN(t)?r=t:n[0]>0?r=n[0]:n[1]<0&&(r=n[1]),r}function QY(e,t,r,n){var a=NaN;e.stacked&&(a=r.get(r.getCalculationInfo("stackedOverDimension"),n)),isNaN(a)&&(a=e.valueStart);var i=e.baseDataOffset,o=[];return o[i]=r.get(e.baseDim,n),o[1-i]=a,t.dataToPoint(o)}function Rft(e,t){var r=[];return t.diff(e).add(function(n){r.push({cmd:"+",idx:n})}).update(function(n,a){r.push({cmd:"=",idx:a,idx1:n})}).remove(function(n){r.push({cmd:"-",idx:n})}).execute(),r}function Mft(e,t,r,n,a,i,o,s){for(var l=Rft(e,t),u=[],c=[],d=[],f=[],p=[],h=[],v=[],g=ZY(a,t,o),m=e.getLayout("points")||[],y=t.getLayout("points")||[],_=0;_<l.length;_++){var w=l[_],E=!0,S=void 0,C=void 0;switch(w.cmd){case"=":S=w.idx*2,C=w.idx1*2;var T=m[S],x=m[S+1],A=y[C],k=y[C+1];(isNaN(T)||isNaN(x))&&(T=A,x=k),u.push(T,x),c.push(A,k),d.push(r[S],r[S+1]),f.push(n[C],n[C+1]),v.push(t.getRawIndex(w.idx1));break;case"+":var R=w.idx,M=g.dataDimsForPoint,O=a.dataToPoint([t.get(M[0],R),t.get(M[1],R)]);C=R*2,u.push(O[0],O[1]),c.push(y[C],y[C+1]);var z=QY(g,a,t,R);d.push(z[0],z[1]),f.push(n[C],n[C+1]),v.push(t.getRawIndex(R));break;case"-":E=!1}E&&(p.push(w),h.push(h.length))}h.sort(function(fe,se){return v[fe]-v[se]});for(var B=u.length,P=Bo(B),F=Bo(B),D=Bo(B),H=Bo(B),K=[],_=0;_<h.length;_++){var Y=h[_],X=_*2,J=Y*2;P[X]=u[J],P[X+1]=u[J+1],F[X]=c[J],F[X+1]=c[J+1],D[X]=d[J],D[X+1]=d[J+1],H[X]=f[J],H[X+1]=f[J+1],K[_]=p[Y]}return{current:P,next:F,stackedOnCurrent:D,stackedOnNext:H,status:K}}var fl=Math.min,pl=Math.max;function Jc(e,t){return isNaN(e)||isNaN(t)}function R6(e,t,r,n,a,i,o,s,l){for(var u,c,d,f,p,h,v=r,g=0;g<n;g++){var m=t[v*2],y=t[v*2+1];if(v>=a||v<0)break;if(Jc(m,y)){if(l){v+=i;continue}break}if(v===r)e[i>0?"moveTo":"lineTo"](m,y),d=m,f=y;else{var _=m-u,w=y-c;if(_*_+w*w<.5){v+=i;continue}if(o>0){for(var E=v+i,S=t[E*2],C=t[E*2+1];S===m&&C===y&&g<n;)g++,E+=i,v+=i,S=t[E*2],C=t[E*2+1],m=t[v*2],y=t[v*2+1],_=m-u,w=y-c;var T=g+1;if(l)for(;Jc(S,C)&&T<n;)T++,E+=i,S=t[E*2],C=t[E*2+1];var x=.5,A=0,k=0,R=void 0,M=void 0;if(T>=n||Jc(S,C))p=m,h=y;else{A=S-u,k=C-c;var O=m-u,z=S-m,B=y-c,P=C-y,F=void 0,D=void 0;if(s==="x"){F=Math.abs(O),D=Math.abs(z);var H=A>0?1:-1;p=m-H*F*o,h=y,R=m+H*D*o,M=y}else if(s==="y"){F=Math.abs(B),D=Math.abs(P);var K=k>0?1:-1;p=m,h=y-K*F*o,R=m,M=y+K*D*o}else F=Math.sqrt(O*O+B*B),D=Math.sqrt(z*z+P*P),x=D/(D+F),p=m-A*o*(1-x),h=y-k*o*(1-x),R=m+A*o*x,M=y+k*o*x,R=fl(R,pl(S,m)),M=fl(M,pl(C,y)),R=pl(R,fl(S,m)),M=pl(M,fl(C,y)),A=R-m,k=M-y,p=m-A*F/D,h=y-k*F/D,p=fl(p,pl(u,m)),h=fl(h,pl(c,y)),p=pl(p,fl(u,m)),h=pl(h,fl(c,y)),A=m-p,k=y-h,R=m+A*D/F,M=y+k*D/F}e.bezierCurveTo(d,f,p,h,m,y),d=R,f=M}else e.lineTo(m,y)}u=m,c=y,v+=i}return g}var JY=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),Lft=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-polyline",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new JY},t.prototype.buildPath=function(r,n){var a=n.points,i=0,o=a.length/2;if(n.connectNulls){for(;o>0&&Jc(a[o*2-2],a[o*2-1]);o--);for(;i<o&&Jc(a[i*2],a[i*2+1]);i++);}for(;i<o;)i+=R6(r,a,i,o,o,1,n.smooth,n.smoothMonotone,n.connectNulls)+1},t.prototype.getPointOn=function(r,n){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var a=this.path,i=a.data,o=es.CMD,s,l,u=n==="x",c=[],d=0;d<i.length;){var f=i[d++],p=void 0,h=void 0,v=void 0,g=void 0,m=void 0,y=void 0,_=void 0;switch(f){case o.M:s=i[d++],l=i[d++];break;case o.L:if(p=i[d++],h=i[d++],_=u?(r-s)/(p-s):(r-l)/(h-l),_<=1&&_>=0){var w=u?(h-l)*_+l:(p-s)*_+s;return u?[r,w]:[w,r]}s=p,l=h;break;case o.C:p=i[d++],h=i[d++],v=i[d++],g=i[d++],m=i[d++],y=i[d++];var E=u?a2(s,p,v,m,r,c):a2(l,h,g,y,r,c);if(E>0)for(var S=0;S<E;S++){var C=c[S];if(C<=1&&C>=0){var w=u?dn(l,h,g,y,C):dn(s,p,v,m,C);return u?[r,w]:[w,r]}}s=m,l=y;break}}},t}(Vt),Dft=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(JY),eq=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-polygon",n}return t.prototype.getDefaultShape=function(){return new Dft},t.prototype.buildPath=function(r,n){var a=n.points,i=n.stackedOnPoints,o=0,s=a.length/2,l=n.smoothMonotone;if(n.connectNulls){for(;s>0&&Jc(a[s*2-2],a[s*2-1]);s--);for(;o<s&&Jc(a[o*2],a[o*2+1]);o++);}for(;o<s;){var u=R6(r,a,o,s,s,1,n.smooth,l,n.connectNulls);R6(r,i,o+u-1,u,s,-1,n.stackedOnSmooth,l,n.connectNulls),o+=u+1,r.closePath()}},t}(Vt);function tq(e,t,r,n,a){var i=e.getArea(),o=i.x,s=i.y,l=i.width,u=i.height,c=r.get(["lineStyle","width"])||2;o-=c/2,s-=c/2,l+=c,u+=c,o=Math.floor(o),l=Math.round(l);var d=new Xt({shape:{x:o,y:s,width:l,height:u}});if(t){var f=e.getBaseAxis(),p=f.isHorizontal(),h=f.inverse;p?(h&&(d.shape.x+=l),d.shape.width=0):(h||(d.shape.y+=u),d.shape.height=0);var v=ft(a)?function(g){a(g,d)}:null;Ar(d,{shape:{width:l,height:u,x:o,y:s}},r,null,n,v)}return d}function rq(e,t,r){var n=e.getArea(),a=Vr(n.r0,1),i=Vr(n.r,1),o=new Na({shape:{cx:Vr(e.cx,1),cy:Vr(e.cy,1),r0:a,r:i,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});if(t){var s=e.getBaseAxis().dim==="angle";s?o.shape.endAngle=n.startAngle:o.shape.r=a,Ar(o,{shape:{endAngle:n.endAngle,r:i}},r)}return o}function bb(e,t,r,n,a){if(e){if(e.type==="polar")return rq(e,t,r);if(e.type==="cartesian2d")return tq(e,t,r,n,a)}else return null;return null}function Dd(e,t){return e.type===t}function Z5(e,t){if(e.length===t.length){for(var r=0;r<e.length;r++)if(e[r]!==t[r])return;return!0}}function Q5(e){for(var t=1/0,r=1/0,n=-1/0,a=-1/0,i=0;i<e.length;){var o=e[i++],s=e[i++];isNaN(o)||(t=Math.min(o,t),n=Math.max(o,n)),isNaN(s)||(r=Math.min(s,r),a=Math.max(s,a))}return[[t,r],[n,a]]}function J5(e,t){var r=Q5(e),n=r[0],a=r[1],i=Q5(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 eO(e){return tr(e)?e:e?.5:0}function Oft(e,t,r){if(!r.valueDim)return[];for(var n=t.count(),a=Bo(n*2),i=0;i<n;i++){var o=QY(r,e,t,i);a[i*2]=o[0],a[i*2+1]=o[1]}return a}function hl(e,t,r,n){var a=t.getBaseAxis(),i=a.dim==="x"||a.dim==="radius"?0:1,o=[],s=0,l=[],u=[],c=[],d=[];if(n){for(s=0;s<e.length;s+=2)!isNaN(e[s])&&!isNaN(e[s+1])&&d.push(e[s],e[s+1]);e=d}for(s=0;s<e.length-2;s+=2)switch(c[0]=e[s+2],c[1]=e[s+3],u[0]=e[s],u[1]=e[s+1],o.push(u[0],u[1]),r){case"end":l[i]=c[i],l[1-i]=u[1-i],o.push(l[0],l[1]);break;case"middle":var f=(u[i]+c[i])/2,p=[];l[i]=p[i]=f,l[1-i]=u[1-i],p[1-i]=c[1-i],o.push(l[0],l[1]),o.push(p[0],p[1]);break;default:l[i]=u[i],l[1-i]=c[1-i],o.push(l[0],l[1])}return o.push(e[s++],e[s++]),o}function Nft(e,t){var r=[],n=e.length,a,i;function o(c,d,f){var p=c.coord,h=(f-p)/(d.coord-p),v=qnt(h,[c.color,d.color]);return{coord:f,color:v}}for(var s=0;s<n;s++){var l=e[s],u=l.coord;if(u<0)a=l;else if(u>t){i?r.push(o(i,l,t)):a&&r.push(o(a,l,0),o(a,l,t));break}else a&&(r.push(o(a,l,0)),a=null),r.push(l),i=l}return r}function Pft(e,t,r){var n=e.getVisual("visualMeta");if(!(!n||!n.length||!e.count())&&t.type==="cartesian2d"){for(var a,i,o=n.length-1;o>=0;o--){var s=e.getDimensionInfo(n[o].dimension);if(a=s&&s.coordDim,a==="x"||a==="y"){i=n[o];break}}if(i){var l=t.getAxis(a),u=Pe(i.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),c=u.length,d=i.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),d.reverse());var f=Nft(u,a==="x"?r.getWidth():r.getHeight()),p=f.length;if(!p&&c)return u[0].coord<0?d[1]?d[1]:u[c-1].color:d[0]?d[0]:u[0].color;var h=10,v=f[0].coord-h,g=f[p-1].coord+h,m=g-v;if(m<.001)return"transparent";G(f,function(_){_.offset=(_.coord-v)/m}),f.push({offset:p?f[p-1].offset:.5,color:d[1]||"transparent"}),f.unshift({offset:p?f[0].offset:.5,color:d[0]||"transparent"});var y=new xm(0,0,0,0,f,!0);return y[a]=v,y[a+"2"]=g,y}}}function $ft(e,t,r){var n=e.get("showAllSymbol"),a=n==="auto";if(!(n&&!a)){var i=r.getAxesByScale("ordinal")[0];if(i&&!(a&&Bft(i,t))){var o=t.mapDimension(i.dim),s={};return G(i.getViewLabels(),function(l){var u=i.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(o,l))}}}}function Bft(e,t){var r=e.getExtent(),n=Math.abs(r[1]-r[0])/e.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(Nm.getSymbolSize(t,o)[e.isHorizontal()?1:0]*1.5>n)return!1;return!0}function Fft(e,t){return isNaN(e)||isNaN(t)}function zft(e){for(var t=e.length/2;t>0&&Fft(e[t*2-2],e[t*2-1]);t--);return t-1}function tO(e,t){return[e[t*2],e[t*2+1]]}function Vft(e,t,r){for(var n=e.length/2,a=r==="x"?0:1,i,o,s=0,l=-1,u=0;u<n;u++)if(o=e[u*2+a],!(isNaN(o)||isNaN(e[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 nq(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<fa.length;t++)if(e.get([fa[t],"endLabel","show"]))return!0;return!1}function OS(e,t,r,n){if(Dd(t,"cartesian2d")){var a=n.getModel("endLabel"),i=a.get("valueAnimation"),o=n.getData(),s={lastFrameIndex:0},l=nq(n)?function(p,h){e._endLabelOnDuring(p,h,o,s,i,a,t)}:null,u=t.getBaseAxis().isHorizontal(),c=tq(t,r,n,function(){var p=e._endLabel;p&&r&&s.originalX!=null&&p.attr({x:s.originalX,y:s.originalY})},l);if(!n.get("clip",!0)){var d=c.shape,f=Math.max(d.width,d.height);u?(d.y-=f,d.height+=f*2):(d.x-=f,d.width+=f*2)}return l&&l(1,c),c}else return rq(t,r,n)}function Hft(e,t){var r=t.getBaseAxis(),n=r.isHorizontal(),a=r.inverse,i=n?a?"right":"left":"center",o=n?"middle":a?"top":"bottom";return{normal:{align:e.get("align")||i,verticalAlign:e.get("verticalAlign")||o}}}var Uft=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(){var r=new wt,n=new Pm;this.group.add(n.group),this._symbolDraw=n,this._lineGroup=r},t.prototype.render=function(r,n,a){var i=this,o=r.coordinateSystem,s=this.group,l=r.getData(),u=r.getModel("lineStyle"),c=r.getModel("areaStyle"),d=l.getLayout("points")||[],f=o.type==="polar",p=this._coordSys,h=this._symbolDraw,v=this._polyline,g=this._polygon,m=this._lineGroup,y=!n.ssr&&r.isAnimationEnabled(),_=!c.isEmpty(),w=c.get("origin"),E=ZY(o,l,w),S=_&&Oft(o,l,E),C=r.get("showSymbol"),T=r.get("connectNulls"),x=C&&!f&&$ft(r,l,o),A=this._data;A&&A.eachItemGraphicEl(function(se,q){se.__temp&&(s.remove(se),A.setItemGraphicEl(q,null))}),C||h.remove(),s.add(m);var k=f?!1:r.get("step"),R;o&&o.getArea&&r.get("clip",!0)&&(R=o.getArea(),R.width!=null?(R.x-=.1,R.y-=.1,R.width+=.2,R.height+=.2):R.r0&&(R.r0-=.5,R.r+=.5)),this._clipShapeForSymbol=R;var M=Pft(l,o,a)||l.getVisual("style")[l.getVisual("drawType")];if(!(v&&p.type===o.type&&k===this._step))C&&h.updateData(l,{isIgnore:x,clipShape:R,disableAnimation:!0,getSymbolPoint:function(se){return[d[se*2],d[se*2+1]]}}),y&&this._initSymbolLabelAnimation(l,o,R),k&&(d=hl(d,o,k,T),S&&(S=hl(S,o,k,T))),v=this._newPolyline(d),_?g=this._newPolygon(d,S):g&&(m.remove(g),g=this._polygon=null),f||this._initOrUpdateEndLabel(r,o,md(M)),m.setClipPath(OS(this,o,!0,r));else{_&&!g?g=this._newPolygon(d,S):g&&!_&&(m.remove(g),g=this._polygon=null),f||this._initOrUpdateEndLabel(r,o,md(M));var O=m.getClipPath();if(O){var z=OS(this,o,!1,r);Ar(O,{shape:z.shape},r)}else m.setClipPath(OS(this,o,!0,r));C&&h.updateData(l,{isIgnore:x,clipShape:R,disableAnimation:!0,getSymbolPoint:function(se){return[d[se*2],d[se*2+1]]}}),(!Z5(this._stackedOnPoints,S)||!Z5(this._points,d))&&(y?this._doUpdateAnimation(l,S,o,a,k,w,T):(k&&(d=hl(d,o,k,T),S&&(S=hl(S,o,k,T))),v.setShape({points:d}),g&&g.setShape({points:d,stackedOnPoints:S})))}var B=r.getModel("emphasis"),P=B.get("focus"),F=B.get("blurScope"),D=B.get("disabled");if(v.useStyle(ht(u.getLineStyle(),{fill:"none",stroke:M,lineJoin:"bevel"})),Nn(v,r,"lineStyle"),v.style.lineWidth>0&&r.get(["emphasis","lineStyle","width"])==="bolder"){var H=v.getState("emphasis").style;H.lineWidth=+v.style.lineWidth+1}kt(v).seriesIndex=r.seriesIndex,Pr(v,P,F,D);var K=eO(r.get("smooth")),Y=r.get("smoothMonotone");if(v.setShape({smooth:K,smoothMonotone:Y,connectNulls:T}),g){var X=l.getCalculationInfo("stackedOnSeries"),J=0;g.useStyle(ht(c.getAreaStyle(),{fill:M,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),X&&(J=eO(X.get("smooth"))),g.setShape({smooth:K,stackedOnSmooth:J,smoothMonotone:Y,connectNulls:T}),Nn(g,r,"areaStyle"),kt(g).seriesIndex=r.seriesIndex,Pr(g,P,F,D)}var fe=function(se){i._changePolyState(se)};l.eachItemGraphicEl(function(se){se&&(se.onHoverStateChange=fe)}),this._polyline.onHoverStateChange=fe,this._data=l,this._coordSys=o,this._stackedOnPoints=S,this._points=d,this._step=k,this._valueOrigin=w,r.get("triggerLineEvent")&&(this.packEventData(r,v),g&&this.packEventData(r,g))},t.prototype.packEventData=function(r,n){kt(n).eventData={componentType:"series",componentSubType:"line",componentIndex:r.componentIndex,seriesIndex:r.seriesIndex,seriesName:r.name,seriesType:"line"}},t.prototype.highlight=function(r,n,a,i){var o=r.getData(),s=hd(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],d=l[s*2+1];if(isNaN(c)||isNaN(d)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,d))return;var f=r.get("zlevel")||0,p=r.get("z")||0;u=new Nm(o,s),u.x=c,u.y=d,u.setZ(f,p);var h=u.getSymbolPath().getTextContent();h&&(h.zlevel=f,h.z=p,h.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else wr.prototype.highlight.call(this,r,n,a,i)},t.prototype.downplay=function(r,n,a,i){var o=r.getData(),s=hd(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 wr.prototype.downplay.call(this,r,n,a,i)},t.prototype._changePolyState=function(r){var n=this._polygon;f2(this._polyline,r),n&&f2(n,r)},t.prototype._newPolyline=function(r){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new Lft({shape:{points:r},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},t.prototype._newPolygon=function(r,n){var a=this._polygon;return a&&this._lineGroup.remove(a),a=new eq({shape:{points:r,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(a),this._polygon=a,a},t.prototype._initSymbolLabelAnimation=function(r,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=r.hostModel,c=u.get("animationDuration");ft(c)&&(c=c(null));var d=u.get("animationDelay")||0,f=ft(d)?d(null):d;r.eachItemGraphicEl(function(p,h){var v=p;if(v){var g=[p.x,p.y],m=void 0,y=void 0,_=void 0;if(a)if(o){var w=a,E=n.pointToCoord(g);i?(m=w.startAngle,y=w.endAngle,_=-E[1]/180*Math.PI):(m=w.r0,y=w.r,_=E[0])}else{var S=a;i?(m=S.x,y=S.x+S.width,_=p.x):(m=S.y+S.height,y=S.y,_=p.y)}var C=y===m?0:(_-m)/(y-m);l&&(C=1-C);var T=ft(d)?d(h):c*C+f,x=v.getSymbolPath(),A=x.getTextContent();v.attr({scaleX:0,scaleY:0}),v.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),A&&A.animateFrom({style:{opacity:0}},{duration:300,delay:T}),x.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(r,n,a){var i=r.getModel("endLabel");if(nq(r)){var o=r.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 er({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var c=zft(l);c>=0&&(Pn(s,vn(r,"endLabel"),{inheritColor:a,labelFetcher:r,labelDataIndex:c,defaultText:function(d,f,p){return p!=null?XY(o,p):Tp(o,d)},enableTextSetter:!0},Hft(i,n)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(r,n,a,i,o,s,l){var u=this._endLabel,c=this._polyline;if(u){r<1&&i.originalX==null&&(i.originalX=u.x,i.originalY=u.y);var d=a.getLayout("points"),f=a.hostModel,p=f.get("connectNulls"),h=s.get("precision"),v=s.get("distance")||0,g=l.getBaseAxis(),m=g.isHorizontal(),y=g.inverse,_=n.shape,w=y?m?_.x:_.y+_.height:m?_.x+_.width:_.y,E=(m?v:0)*(y?-1:1),S=(m?0:-v)*(y?-1:1),C=m?"x":"y",T=Vft(d,w,C),x=T.range,A=x[1]-x[0],k=void 0;if(A>=1){if(A>1&&!p){var R=tO(d,x[0]);u.attr({x:R[0]+E,y:R[1]+S}),o&&(k=f.getRawValue(x[0]))}else{var R=c.getPointOn(w,C);R&&u.attr({x:R[0]+E,y:R[1]+S});var M=f.getRawValue(x[0]),O=f.getRawValue(x[1]);o&&(k=SG(a,h,M,O,T.t))}i.lastFrameIndex=x[0]}else{var z=r===1||i.lastFrameIndex>0?x[0]:0,R=tO(d,z);o&&(k=f.getRawValue(z)),u.attr({x:R[0]+E,y:R[1]+S})}if(o){var B=Kp(u);typeof B.setLabelText=="function"&&B.setLabelText(k)}}},t.prototype._doUpdateAnimation=function(r,n,a,i,o,s,l){var u=this._polyline,c=this._polygon,d=r.hostModel,f=Mft(this._data,r,this._stackedOnPoints,n,this._coordSys,a,this._valueOrigin),p=f.current,h=f.stackedOnCurrent,v=f.next,g=f.stackedOnNext;if(o&&(p=hl(f.current,a,o,l),h=hl(f.stackedOnCurrent,a,o,l),v=hl(f.next,a,o,l),g=hl(f.stackedOnNext,a,o,l)),J5(p,v)>3e3||c&&J5(h,g)>3e3){u.stopAnimation(),u.setShape({points:v}),c&&(c.stopAnimation(),c.setShape({points:v,stackedOnPoints:g}));return}u.shape.__points=f.current,u.shape.points=p;var m={shape:{points:v}};f.current!==p&&(m.shape.__points=f.next),u.stopAnimation(),rr(u,m,d),c&&(c.setShape({points:p,stackedOnPoints:h}),c.stopAnimation(),rr(c,{shape:{stackedOnPoints:g}},d),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var y=[],_=f.status,w=0;w<_.length;w++){var E=_[w].cmd;if(E==="="){var S=r.getItemGraphicEl(_[w].idx1);S&&y.push({el:S,ptIdx:w})}}u.animators&&u.animators.length&&u.animators[0].during(function(){c&&c.dirtyShape();for(var C=u.shape.__points,T=0;T<y.length;T++){var x=y[T].el,A=y[T].ptIdx*2;x.x=C[A],x.y=C[A+1],x.markRedraw()}})},t.prototype.remove=function(r){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}(wr);const Gft=Uft;function $m(e,t){return{seriesType:e,plan:Qp(),reset:function(r){var n=r.getData(),a=r.coordinateSystem,i=r.pipelineContext,o=t||i.large;if(a){var s=Pe(a.dimensions,function(p){return n.mapDimension(p)}).slice(0,2),l=s.length,u=n.getCalculationInfo("stackResultDimension");cu(n,s[0])&&(s[0]=u),cu(n,s[1])&&(s[1]=u);var c=n.getStore(),d=n.getDimensionIndex(s[0]),f=n.getDimensionIndex(s[1]);return l&&{progress:function(p,h){for(var v=p.end-p.start,g=o&&Bo(v*l),m=[],y=[],_=p.start,w=0;_<p.end;_++){var E=void 0;if(l===1){var S=c.get(d,_);E=a.dataToPoint(S,null,y)}else m[0]=c.get(d,_),m[1]=c.get(f,_),E=a.dataToPoint(m,null,y);o?(g[w++]=E[0],g[w++]=E[1]):h.setItemLayout(_,E.slice())}o&&h.setLayout("points",g)}}}}}}var Wft={average:function(e){for(var t=0,r=0,n=0;n<e.length;n++)isNaN(e[n])||(t+=e[n],r++);return r===0?NaN:t/r},sum:function(e){for(var t=0,r=0;r<e.length;r++)t+=e[r]||0;return t},max:function(e){for(var t=-1/0,r=0;r<e.length;r++)e[r]>t&&(t=e[r]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,r=0;r<e.length;r++)e[r]<t&&(t=e[r]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},Kft=function(e){return Math.round(e.length/2)};function aq(e){return{seriesType:e,reset:function(t,r,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(),d=n.getDevicePixelRatio(),f=Math.abs(c[1]-c[0])*(d||1),p=Math.round(s/f);if(isFinite(p)&&p>1){i==="lttb"&&t.setData(a.lttbDownSample(a.mapDimension(u.dim),1/p));var h=void 0;et(i)?h=Wft[i]:ft(i)&&(h=i),h&&t.setData(a.downSample(a.mapDimension(u.dim),1/p,h,Kft))}}}}}function Yft(e){e.registerChartView(Gft),e.registerSeriesModel(Tft),e.registerLayout($m("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var r=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=r.getVisual("style").fill),r.setVisual("legendLineStyle",n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,aq("line"))}var iq=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.getInitialData=function(r,n){return el(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(r,n,a){var i=this.coordinateSystem;if(i&&i.clampData){var o=i.clampData(r),s=i.dataToPoint(o);if(a)G(i.getAxes(),function(f,p){if(f.type==="category"&&n!=null){var h=f.getTicksCoords(),v=o[p],g=n[p]==="x1"||n[p]==="y1";if(g&&(v+=1),h.length<2)return;if(h.length===2){s[p]=f.toGlobalCoord(f.getExtent()[g?1:0]);return}for(var m=void 0,y=void 0,_=1,w=0;w<h.length;w++){var E=h[w].coord,S=w===h.length-1?h[w-1].tickValue+_:h[w].tickValue;if(S===v){y=E;break}else if(S<v)m=E;else if(m!=null&&S>v){y=(E+m)/2;break}w===1&&(_=S-h[0].tickValue)}y==null&&(m?m&&(y=h[h.length-1].coord):y=h[0].coord),s[p]=f.toGlobalCoord(y)}});else{var l=this.getData(),u=l.getLayout("offset"),c=l.getLayout("size"),d=i.getBaseAxis().isHorizontal()?0:1;s[d]+=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}(Rr);Rr.registerClass(iq);const M2=iq;var qft=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.getInitialData=function(){return el(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var r=this.get("progressiveThreshold"),n=this.get("largeThreshold");return n>r&&(r=n),r},t.prototype.brushSelector=function(r,n,a){return a.rect(n.getItemLayout(r))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Su(M2.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}(M2);const jft=qft;var Xft=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),Zft=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;return n.type="sausage",n}return t.prototype.getDefaultShape=function(){return new Xft},t.prototype.buildPath=function(r,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,d=n.endAngle,f=n.clockwise,p=Math.PI*2,h=f?d-c<p:c-d<p;h||(c=d-(f?p:-p));var v=Math.cos(c),g=Math.sin(c),m=Math.cos(d),y=Math.sin(d);h?(r.moveTo(v*o+a,g*o+i),r.arc(v*u+a,g*u+i,l,-Math.PI+c,c,!f)):r.moveTo(v*s+a,g*s+i),r.arc(a,i,s,c,d,!f),r.arc(m*u+a,y*u+i,l,d-Math.PI*2,d-Math.PI,!f),o!==0&&r.arc(a,i,o,d,c,f)},t}(Vt);const L2=Zft;function Qft(e,t){t=t||{};var r=t.isRoundCap;return function(n,a,i){var o=a.position;if(!o||o instanceof Array)return u2(n,a,i);var s=e(o),l=a.distance!=null?a.distance:5,u=this.shape,c=u.cx,d=u.cy,f=u.r,p=u.r0,h=(f+p)/2,v=u.startAngle,g=u.endAngle,m=(v+g)/2,y=r?Math.abs(f-p)/2:0,_=Math.cos,w=Math.sin,E=c+f*_(v),S=d+f*w(v),C="left",T="top";switch(s){case"startArc":E=c+(p-l)*_(m),S=d+(p-l)*w(m),C="center",T="top";break;case"insideStartArc":E=c+(p+l)*_(m),S=d+(p+l)*w(m),C="center",T="bottom";break;case"startAngle":E=c+h*_(v)+Z0(v,l+y,!1),S=d+h*w(v)+Q0(v,l+y,!1),C="right",T="middle";break;case"insideStartAngle":E=c+h*_(v)+Z0(v,-l+y,!1),S=d+h*w(v)+Q0(v,-l+y,!1),C="left",T="middle";break;case"middle":E=c+h*_(m),S=d+h*w(m),C="center",T="middle";break;case"endArc":E=c+(f+l)*_(m),S=d+(f+l)*w(m),C="center",T="bottom";break;case"insideEndArc":E=c+(f-l)*_(m),S=d+(f-l)*w(m),C="center",T="top";break;case"endAngle":E=c+h*_(g)+Z0(g,l+y,!0),S=d+h*w(g)+Q0(g,l+y,!0),C="left",T="middle";break;case"insideEndAngle":E=c+h*_(g)+Z0(g,-l+y,!0),S=d+h*w(g)+Q0(g,-l+y,!0),C="right",T="middle";break;default:return u2(n,a,i)}return n=n||{},n.x=E,n.y=S,n.align=C,n.verticalAlign=T,n}}function Jft(e,t,r,n){if(tr(n)){e.setTextConfig({rotation:n});return}else if(Ne(t)){e.setTextConfig({rotation:0});return}var a=e.shape,i=a.clockwise?a.startAngle:a.endAngle,o=a.clockwise?a.endAngle:a.startAngle,s=(i+o)/2,l,u=r(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:e.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),e.setTextConfig({rotation:c})}function Z0(e,t,r){return t*Math.sin(e)*(r?-1:1)}function Q0(e,t,r){return t*Math.cos(e)*(r?1:-1)}function Oc(e,t,r){var n=e.get("borderRadius");if(n==null)return r?{cornerRadius:0}:null;Ne(n)||(n=[n,n,n,n]);var a=Math.abs(t.r||0-t.r0||0);return{cornerRadius:Pe(n,function(i){return uo(i,a)})}}var NS=Math.max,PS=Math.min;function ept(e,t){var r=e.getArea&&e.getArea();if(Dd(e,"cartesian2d")){var n=e.getBaseAxis();if(n.type!=="category"||!n.onBand){var a=t.getLayout("bandWidth");n.isHorizontal()?(r.x-=a,r.width+=a*2):(r.y-=a,r.height+=a*2)}}return r}var tpt=function(e){ye(t,e);function t(){var r=e.call(this)||this;return r.type=t.type,r._isFirstFrame=!0,r}return t.prototype.render=function(r,n,a,i){this._model=r,this._removeOnRenderedListener(a),this._updateDrawMode(r);var o=r.get("coordinateSystem");(o==="cartesian2d"||o==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(r,n,a):this._renderNormal(r,n,a,i))},t.prototype.incrementalPrepareRender=function(r){this._clear(),this._updateDrawMode(r),this._updateLargeClip(r)},t.prototype.incrementalRender=function(r,n){this._progressiveEls=[],this._incrementalRenderLarge(r,n)},t.prototype.eachRendered=function(r){wu(this._progressiveEls||this.group,r)},t.prototype._updateDrawMode=function(r){var n=r.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.prototype._renderNormal=function(r,n,a,i){var o=this.group,s=r.getData(),l=this._data,u=r.coordinateSystem,c=u.getBaseAxis(),d;u.type==="cartesian2d"?d=c.isHorizontal():u.type==="polar"&&(d=c.dim==="angle");var f=r.isAnimationEnabled()?r:null,p=rpt(r,u);p&&this._enableRealtimeSort(p,s,a);var h=r.get("clip",!0)||p,v=ept(u,s);o.removeClipPath();var g=r.get("roundCap",!0),m=r.get("showBackground",!0),y=r.getModel("backgroundStyle"),_=y.get("borderRadius")||0,w=[],E=this._backgroundEls,S=i&&i.isInitSort,C=i&&i.type==="changeAxisOrder";function T(k){var R=J0[u.type](s,k),M=upt(u,d,R);return M.useStyle(y.getItemStyle()),u.type==="cartesian2d"?M.setShape("r",_):M.setShape("cornerRadius",_),w[k]=M,M}s.diff(l).add(function(k){var R=s.getItemModel(k),M=J0[u.type](s,k,R);if(m&&T(k),!(!s.hasValue(k)||!oO[u.type](M))){var O=!1;h&&(O=rO[u.type](v,M));var z=nO[u.type](r,s,k,M,d,f,c.model,!1,g);p&&(z.forceLabelAnimation=!0),sO(z,s,k,R,M,r,d,u.type==="polar"),S?z.attr({shape:M}):p?aO(p,f,z,M,k,d,!1,!1):Ar(z,{shape:M},r,k),s.setItemGraphicEl(k,z),o.add(z),z.ignore=O}}).update(function(k,R){var M=s.getItemModel(k),O=J0[u.type](s,k,M);if(m){var z=void 0;E.length===0?z=T(R):(z=E[R],z.useStyle(y.getItemStyle()),u.type==="cartesian2d"?z.setShape("r",_):z.setShape("cornerRadius",_),w[k]=z);var B=J0[u.type](s,k),P=sq(d,B,u);rr(z,{shape:P},f,k)}var F=l.getItemGraphicEl(R);if(!s.hasValue(k)||!oO[u.type](O)){o.remove(F);return}var D=!1;if(h&&(D=rO[u.type](v,O),D&&o.remove(F)),F?co(F):F=nO[u.type](r,s,k,O,d,f,c.model,!!F,g),p&&(F.forceLabelAnimation=!0),C){var H=F.getTextContent();if(H){var K=Kp(H);K.prevValue!=null&&(K.prevValue=K.value)}}else sO(F,s,k,M,O,r,d,u.type==="polar");S?F.attr({shape:O}):p?aO(p,f,F,O,k,d,!0,C):rr(F,{shape:O},r,k,null),s.setItemGraphicEl(k,F),F.ignore=D,o.add(F)}).remove(function(k){var R=l.getItemGraphicEl(k);R&&Pg(R,r,k)}).execute();var x=this._backgroundGroup||(this._backgroundGroup=new wt);x.removeAll();for(var A=0;A<w.length;++A)x.add(w[A]);o.add(x),this._backgroundEls=w,this._data=s},t.prototype._renderLarge=function(r,n,a){this._clear(),uO(r,this.group),this._updateLargeClip(r)},t.prototype._incrementalRenderLarge=function(r,n){this._removeBackground(),uO(n,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(r){var n=r.get("clip",!0)&&bb(r.coordinateSystem,!1,r),a=this.group;n?a.setClipPath(n):a.removeClipPath()},t.prototype._enableRealtimeSort=function(r,n,a){var i=this;if(n.count()){var o=r.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(n,r,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(r,n,a){var i=[];return r.each(r.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:Pe(i,function(o){return o.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(r,n,a){for(var i=a.scale,o=r.mapDimension(a.dim),s=Number.MAX_VALUE,l=0,u=i.getOrdinalMeta().categories.length;l<u;++l){var c=r.rawIndexOf(o,i.getRawOrdinalNumber(l)),d=c<0?Number.MIN_VALUE:n(r.indexOfRawIndex(c));if(d>s)return!0;s=d}return!1},t.prototype._isOrderDifferentInView=function(r,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(r.ordinalNumbers[o]!==a.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(r,n,a,i){if(this._isOrderChangedWithinSameData(r,n,a)){var o=this._dataSort(r,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(r,n,a){var i=n.baseAxis,o=this._dataSort(r,i,function(s){return r.get(r.mapDimension(n.otherAxis.dim),s)});a.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:o})},t.prototype.remove=function(r,n){this._clear(this._model),this._removeOnRenderedListener(n)},t.prototype.dispose=function(r,n){this._removeOnRenderedListener(n)},t.prototype._removeOnRenderedListener=function(r){this._onRendered&&(r.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(r){var n=this.group,a=this._data;r&&r.isAnimationEnabled()&&a&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],a.eachItemGraphicEl(function(i){Pg(i,r,kt(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}(wr),rO={cartesian2d:function(e,t){var r=t.width<0?-1:1,n=t.height<0?-1:1;r<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height);var a=e.x+e.width,i=e.y+e.height,o=NS(t.x,e.x),s=PS(t.x+t.width,a),l=NS(t.y,e.y),u=PS(t.y+t.height,i),c=s<o,d=u<l;return t.x=c&&o>a?s:o,t.y=d&&l>i?u:l,t.width=c?0:s-o,t.height=d?0:u-l,r<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height),c||d},polar:function(e,t){var r=t.r0<=t.r?1:-1;if(r<0){var n=t.r;t.r=t.r0,t.r0=n}var a=PS(t.r,e.r),i=NS(t.r0,e.r0);t.r=a,t.r0=i;var o=a-i<0;if(r<0){var n=t.r;t.r=t.r0,t.r0=n}return o}},nO={cartesian2d:function(e,t,r,n,a,i,o,s,l){var u=new Xt({shape:Me({},n),z2:1});if(u.__dataIndex=r,u.name="item",i){var c=u.shape,d=a?"height":"width";c[d]=0}return u},polar:function(e,t,r,n,a,i,o,s,l){var u=!a&&l?L2:Na,c=new u({shape:n,z2:1});c.name="item";var d=oq(a);if(c.calculateTextPosition=Qft(d,{isRoundCap:u===L2}),i){var f=c.shape,p=a?"r":"endAngle",h={};f[p]=a?n.r0:n.startAngle,h[p]=n[p],(s?rr:Ar)(c,{shape:h},i)}return c}};function rpt(e,t){var r=e.get("realtimeSort",!0),n=t.getBaseAxis();if(r&&n.type==="category"&&t.type==="cartesian2d")return{baseAxis:n,otherAxis:t.getOtherAxis(n)}}function aO(e,t,r,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?rr:Ar)(r,{shape:l},t,a,null);var c=t?e.baseAxis.model:null;(o?rr:Ar)(r,{shape:u},c,a)}function iO(e,t){for(var r=0;r<t.length;r++)if(!isFinite(e[t[r]]))return!0;return!1}var npt=["x","y","width","height"],apt=["cx","cy","r","startAngle","endAngle"],oO={cartesian2d:function(e){return!iO(e,npt)},polar:function(e){return!iO(e,apt)}},J0={cartesian2d:function(e,t,r){var n=e.getItemLayout(t),a=r?opt(r,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(e,t,r){var n=e.getItemLayout(t);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}};function ipt(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function oq(e){return function(t){var r=t?"Arc":"Angle";return function(n){switch(n){case"start":case"insideStart":case"end":case"insideEnd":return n+r;default:return n}}}(e)}function sO(e,t,r,n,a,i,o,s){var l=t.getItemVisual(r,"style");if(s){if(!i.get("roundCap")){var c=e.shape,d=Oc(n.getModel("itemStyle"),c,!0);Me(c,d),e.setShape(c)}}else{var u=n.get(["itemStyle","borderRadius"])||0;e.setShape("r",u)}e.useStyle(l);var f=n.getShallow("cursor");f&&e.attr("cursor",f);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",h=vn(n);Pn(e,h,{labelFetcher:i,labelDataIndex:r,defaultText:Tp(i.getData(),r),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var v=e.getTextContent();if(s&&v){var g=n.get(["label","position"]);e.textConfig.inside=g==="middle"?!0:null,Jft(e,g==="outside"?p:g,oq(o),n.get(["label","rotate"]))}bW(v,h,i.getRawValue(r),function(y){return XY(t,y)});var m=n.getModel(["emphasis"]);Pr(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),Nn(e,n),ipt(a)&&(e.style.fill="none",e.style.stroke="none",G(e.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function opt(e,t){var r=e.get(["itemStyle","borderColor"]);if(!r||r==="none")return 0;var n=e.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 spt=function(){function e(){}return e}(),lO=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;return n.type="largeBar",n}return t.prototype.getDefaultShape=function(){return new spt},t.prototype.buildPath=function(r,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],r.rect(s[0],s[1],l[0],l[1])},t}(Vt);function uO(e,t,r,n){var a=e.getData(),i=a.getLayout("valueAxisHorizontal")?1:0,o=a.getLayout("largeDataIndices"),s=a.getLayout("size"),l=e.getModel("backgroundStyle"),u=a.getLayout("largeBackgroundPoints");if(u){var c=new lO({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),r&&r.push(c)}var d=new lO({shape:{points:a.getLayout("largePoints")},incremental:!!n,ignoreCoarsePointer:!0,z2:1});d.baseDimIdx=i,d.largeDataIndices=o,d.barWidth=s,t.add(d),d.useStyle(a.getVisual("style")),kt(d).seriesIndex=e.seriesIndex,e.get("silent")||(d.on("mousedown",cO),d.on("mousemove",cO)),r&&r.push(d)}var cO=xA(function(e){var t=this,r=lpt(t,e.offsetX,e.offsetY);kt(t).dataIndex=r>=0?r:null},30,!1);function lpt(e,t,r){for(var n=e.baseDimIdx,a=1-n,i=e.shape.points,o=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,d=i.length/3;c<d;c++){var f=c*3;if(l[n]=u,l[a]=i[f+2],s[n]=i[f+n],s[a]=i[f+a],l[a]<0&&(s[a]+=l[a],l[a]=-l[a]),t>=s[0]&&t<=s[0]+l[0]&&r>=s[1]&&r<=s[1]+l[1])return o[c]}return-1}function sq(e,t,r){if(Dd(r,"cartesian2d")){var n=t,a=r.getArea();return{x:e?n.x:a.x,y:e?a.y:n.y,width:e?n.width:a.width,height:e?a.height:n.height}}else{var a=r.getArea(),i=t;return{cx:a.cx,cy:a.cy,r0:e?a.r0:i.r0,r:e?a.r:i.r,startAngle:e?i.startAngle:0,endAngle:e?i.endAngle:Math.PI*2}}}function upt(e,t,r){var n=e.type==="polar"?Na:Xt;return new n({shape:sq(t,r,e),silent:!0,z2:0})}const cpt=tpt;function dpt(e){e.registerChartView(cpt),e.registerSeriesModel(jft),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Rt(dY,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,fY("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,aq("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,r){var n=t.componentType||"series";r.eachComponent({mainType:n,query:t},function(a){t.sortInfo&&a.axis.setCategorySortInfo(t.sortInfo)})})}var ey=Math.PI*2,dO=Math.PI/180;function lq(e,t){return cn(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function uq(e,t){var r=lq(e,t),n=e.get("center"),a=e.get("radius");Ne(a)||(a=[0,a]);var i=Ze(r.width,t.getWidth()),o=Ze(r.height,t.getHeight()),s=Math.min(i,o),l=Ze(a[0],s/2),u=Ze(a[1],s/2),c,d,f=e.coordinateSystem;if(f){var p=f.dataToPoint(n);c=p[0]||0,d=p[1]||0}else Ne(n)||(n=[n,n]),c=Ze(n[0],i)+r.x,d=Ze(n[1],o)+r.y;return{cx:c,cy:d,r0:l,r:u}}function fpt(e,t,r){t.eachSeriesByType(e,function(n){var a=n.getData(),i=a.mapDimension("value"),o=lq(n,r),s=uq(n,r),l=s.cx,u=s.cy,c=s.r,d=s.r0,f=-n.get("startAngle")*dO,p=n.get("minAngle")*dO,h=0;a.each(i,function(A){!isNaN(A)&&h++});var v=a.getSum(i),g=Math.PI/(v||h)*2,m=n.get("clockwise"),y=n.get("roseType"),_=n.get("stillShowZeroSum"),w=a.getDataExtent(i);w[0]=0;var E=ey,S=0,C=f,T=m?1:-1;if(a.setLayout({viewRect:o,r:c}),a.each(i,function(A,k){var R;if(isNaN(A)){a.setItemLayout(k,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:m,cx:l,cy:u,r0:d,r:y?NaN:c});return}y!=="area"?R=v===0&&_?g:A*g:R=ey/h,R<p?(R=p,E-=p):S+=A;var M=C+T*R;a.setItemLayout(k,{angle:R,startAngle:C,endAngle:M,clockwise:m,cx:l,cy:u,r0:d,r:y?lr(A,w,[d,c]):c}),C=M}),E<ey&&h)if(E<=.001){var x=ey/h;a.each(i,function(A,k){if(!isNaN(A)){var R=a.getItemLayout(k);R.angle=x,R.startAngle=f+T*k*x,R.endAngle=f+T*(k+1)*x}})}else g=E/S,C=f,a.each(i,function(A,k){if(!isNaN(A)){var R=a.getItemLayout(k),M=R.angle===p?p:A*g;R.startAngle=C,R.endAngle=C+T*M,C+=T*M}})})}function Bm(e){return{seriesType:e,reset:function(t,r){var n=r.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 ppt=Math.PI/180;function fO(e,t,r,n,a,i,o,s,l,u){if(e.length<2)return;function c(v){for(var g=v.rB,m=g*g,y=0;y<v.list.length;y++){var _=v.list[y],w=Math.abs(_.label.y-r),E=n+_.len,S=E*E,C=Math.sqrt((1-Math.abs(w*w/m))*S),T=t+(C+_.len2)*a,x=T-_.label.x,A=_.targetTextWidth-x*a;cq(_,A,!0),_.label.x=T}}function d(v){for(var g={list:[],maxY:0},m={list:[],maxY:0},y=0;y<v.length;y++)if(v[y].labelAlignTo==="none"){var _=v[y],w=_.label.y>r?m:g,E=Math.abs(_.label.y-r);if(E>=w.maxY){var S=_.label.x-t-_.len2*a,C=n+_.len,T=Math.abs(S)<C?Math.sqrt(E*E/(1-S*S/C/C)):C;w.rB=T,w.maxY=E}w.list.push(_)}c(g),c(m)}for(var f=e.length,p=0;p<f;p++)if(e[p].position==="outer"&&e[p].labelAlignTo==="labelLine"){var h=e[p].label.x-u;e[p].linePoints[1][0]+=h,e[p].label.x=u}OY(e,l,l+o)&&d(e)}function hpt(e,t,r,n,a,i,o,s){for(var l=[],u=[],c=Number.MAX_VALUE,d=-Number.MAX_VALUE,f=0;f<e.length;f++){var p=e[f].label;$S(e[f])||(p.x<t?(c=Math.min(c,p.x),l.push(e[f])):(d=Math.max(d,p.x),u.push(e[f])))}for(var f=0;f<e.length;f++){var h=e[f];if(!$S(h)&&h.linePoints){if(h.labelStyleWidth!=null)continue;var p=h.label,v=h.linePoints,g=void 0;h.labelAlignTo==="edge"?p.x<t?g=v[2][0]-h.labelDistance-o-h.edgeDistance:g=o+a-h.edgeDistance-v[2][0]-h.labelDistance:h.labelAlignTo==="labelLine"?p.x<t?g=c-o-h.bleedMargin:g=o+a-d-h.bleedMargin:p.x<t?g=p.x-o-h.bleedMargin:g=o+a-p.x-h.bleedMargin,h.targetTextWidth=g,cq(h,g)}}fO(u,t,r,n,1,a,i,o,s,d),fO(l,t,r,n,-1,a,i,o,s,c);for(var f=0;f<e.length;f++){var h=e[f];if(!$S(h)&&h.linePoints){var p=h.label,v=h.linePoints,m=h.labelAlignTo==="edge",y=p.style.padding,_=y?y[1]+y[3]:0,w=p.style.backgroundColor?0:_,E=h.rect.width+w,S=v[1][0]-v[2][0];m?p.x<t?v[2][0]=o+h.edgeDistance+E+h.labelDistance:v[2][0]=o+a-h.edgeDistance-E-h.labelDistance:(p.x<t?v[2][0]=p.x+h.labelDistance:v[2][0]=p.x-h.labelDistance,v[1][0]=v[2][0]+S),v[1][1]=v[2][1]=p.y}}}function cq(e,t,r){if(r===void 0&&(r=!1),e.labelStyleWidth==null){var n=e.label,a=n.style,i=e.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||r){var d=i.height;if(u&&u.match("break")){n.setStyle("backgroundColor",null),n.setStyle("width",t-l);var f=n.getBoundingRect();n.setStyle("width",Math.ceil(f.width)),n.setStyle("backgroundColor",o)}else{var p=t-l,h=t<c?p:r?p>e.unconstrainedWidth?null:p:null;n.setStyle("width",h)}var v=n.getBoundingRect();i.width=v.width;var g=(n.style.margin||0)+2.1;i.height=v.height+g,i.y-=(i.height-d)/2}}}function $S(e){return e.position==="center"}function vpt(e){var t=e.getData(),r=[],n,a,i=!1,o=(e.get("minShowLabelAngle")||0)*ppt,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,c=s.x,d=s.y,f=s.height;function p(S){S.ignore=!0}function h(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),T=C.shape,x=C.getTextContent(),A=C.getTextGuideLine(),k=t.getItemModel(S),R=k.getModel("label"),M=R.get("position")||k.get(["emphasis","label","position"]),O=R.get("distanceToLabelLine"),z=R.get("alignTo"),B=Ze(R.get("edgeDistance"),u),P=R.get("bleedMargin"),F=k.getModel("labelLine"),D=F.get("length");D=Ze(D,u);var H=F.get("length2");if(H=Ze(H,u),Math.abs(T.endAngle-T.startAngle)<o){G(x.states,p),x.ignore=!0,A&&(G(A.states,p),A.ignore=!0);return}if(h(x)){var K=(T.startAngle+T.endAngle)/2,Y=Math.cos(K),X=Math.sin(K),J,fe,se,q;n=T.cx,a=T.cy;var j=M==="inside"||M==="inner";if(M==="center")J=T.cx,fe=T.cy,q="center";else{var ae=(j?(T.r+T.r0)/2*Y:T.r*Y)+n,ne=(j?(T.r+T.r0)/2*X:T.r*X)+a;if(J=ae+Y*3,fe=ne+X*3,!j){var le=ae+Y*(D+l-T.r),W=ne+X*(D+l-T.r),Z=le+(Y<0?-1:1)*H,ie=W;z==="edge"?J=Y<0?c+B:c+u-B:J=Z+(Y<0?-O:O),fe=ie,se=[[ae,ne],[le,W],[Z,ie]]}q=j?"center":z==="edge"?Y>0?"right":"left":Y>0?"left":"right"}var me=Math.PI,be=0,ge=R.get("rotate");if(tr(ge))be=ge*(me/180);else if(M==="center")be=0;else if(ge==="radial"||ge===!0){var Re=Y<0?-K+me:-K;be=Re}else if(ge==="tangential"&&M!=="outside"&&M!=="outer"){var Ce=Math.atan2(Y,X);Ce<0&&(Ce=me*2+Ce);var Ee=X>0;Ee&&(Ce=me+Ce),be=Ce-me}if(i=!!be,x.x=J,x.y=fe,x.rotation=be,x.setStyle({verticalAlign:"middle"}),j){x.setStyle({align:q});var Fe=x.states.select;Fe&&(Fe.x+=x.x,Fe.y+=x.y)}else{var xe=x.getBoundingRect().clone();xe.applyTransform(x.getComputedTransform());var $e=(x.style.margin||0)+2.1;xe.y-=$e/2,xe.height+=$e,r.push({label:x,labelLine:A,position:M,len:D,len2:H,minTurnAngle:F.get("minTurnAngle"),maxSurfaceAngle:F.get("maxSurfaceAngle"),surfaceNormal:new Lt(Y,X),linePoints:se,textAlign:q,labelDistance:O,labelAlignTo:z,edgeDistance:B,bleedMargin:P,rect:xe,unconstrainedWidth:xe.width,labelStyleWidth:x.style.width})}C.setTextConfig({inside:j})}}),!i&&e.get("avoidLabelOverlap")&&hpt(r,n,a,l,u,f,c,d);for(var v=0;v<r.length;v++){var g=r[v],m=g.label,y=g.labelLine,_=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:g.textAlign}),_&&(G(m.states,p),m.ignore=!0);var w=m.states.select;w&&(w.x+=m.x,w.y+=m.y)}if(y){var E=g.linePoints;_||!E?(G(y.states,p),y.ignore=!0):(MY(E,g.minTurnAngle),kdt(E,g.surfaceNormal,g.maxSurfaceAngle),y.setShape({points:E}),m.__hostTarget.textGuideLineConfig={anchor:new Lt(E[0][0],E[0][1])})}}}var gpt=function(e){ye(t,e);function t(r,n,a){var i=e.call(this)||this;i.z2=2;var o=new er;return i.setTextContent(o),i.updateData(r,n,a,!0),i}return t.prototype.updateData=function(r,n,a,i){var o=this,s=r.hostModel,l=r.getItemModel(n),u=l.getModel("emphasis"),c=r.getItemLayout(n),d=Me(Oc(l.getModel("itemStyle"),c,!0),c);if(isNaN(d.startAngle)){o.setShape(d);return}if(i){o.setShape(d);var f=s.getShallow("animationType");s.ecModel.ssr?(Ar(o,{scaleX:0,scaleY:0},s,{dataIndex:n,isFrom:!0}),o.originX=d.cx,o.originY=d.cy):f==="scale"?(o.shape.r=c.r0,Ar(o,{shape:{r:c.r}},s,n)):a!=null?(o.setShape({startAngle:a,endAngle:a}),Ar(o,{shape:{startAngle:c.startAngle,endAngle:c.endAngle}},s,n)):(o.shape.endAngle=c.startAngle,rr(o,{shape:{endAngle:c.endAngle}},s,n))}else co(o),rr(o,{shape:d},s,n);o.useStyle(r.getItemVisual(n,"style")),Nn(o,l);var p=(c.startAngle+c.endAngle)/2,h=s.get("selectedOffset"),v=Math.cos(p)*h,g=Math.sin(p)*h,m=l.getShallow("cursor");m&&o.attr("cursor",m),this._updateLabel(s,r,n),o.ensureState("emphasis").shape=Me({r:c.r+(u.get("scale")&&u.get("scaleSize")||0)},Oc(u.getModel("itemStyle"),c)),Me(o.ensureState("select"),{x:v,y:g,shape:Oc(l.getModel(["select","itemStyle"]),c)}),Me(o.ensureState("blur"),{shape:Oc(l.getModel(["blur","itemStyle"]),c)});var y=o.getTextGuideLine(),_=o.getTextContent();y&&Me(y.ensureState("select"),{x:v,y:g}),Me(_.ensureState("select"),{x:v,y:g}),Pr(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(r,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;Pn(i,vn(o),{labelFetcher:n.hostModel,labelDataIndex:a,inheritColor:u,defaultOpacity:c,defaultText:r.getFormattedLabel(a,"normal")||n.getName(a)});var d=i.getTextContent();i.setTextConfig({position:null,rotation:null}),d.attr({z2:10});var f=r.get(["label","position"]);if(f!=="outside"&&f!=="outer")i.removeTextGuideLine();else{var p=this.getTextGuideLine();p||(p=new Ba,this.setTextGuideLine(p)),zA(this,VA(o),{stroke:u,opacity:Ho(s.get(["lineStyle","opacity"]),c,1)})}},t}(Na),mpt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.ignoreLabelLineUpdate=!0,r}return t.prototype.render=function(r,n,a,i){var o=r.getData(),s=this._data,l=this.group,u;if(!s&&o.count()>0){for(var c=o.getItemLayout(0),d=1;isNaN(c&&c.startAngle)&&d<o.count();++d)c=o.getItemLayout(d);c&&(u=c.startAngle)}if(this._emptyCircleSector&&l.remove(this._emptyCircleSector),o.count()===0&&r.get("showEmptyCircle")){var f=new Na({shape:uq(r,a)});f.useStyle(r.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=f,l.add(f)}o.diff(s).add(function(p){var h=new gpt(o,p,u);o.setItemGraphicEl(p,h),l.add(h)}).update(function(p,h){var v=s.getItemGraphicEl(h);v.updateData(o,p,u),v.off("click"),l.add(v),o.setItemGraphicEl(p,v)}).remove(function(p){var h=s.getItemGraphicEl(p);Pg(h,r,p)}).execute(),vpt(r),r.get("animationTypeUpdate")!=="expansion"&&(this._data=o)},t.prototype.dispose=function(){},t.prototype.containPoint=function(r,n){var a=n.getData(),i=a.getItemLayout(0);if(i){var o=r[0]-i.cx,s=r[1]-i.cy,l=Math.sqrt(o*o+s*s);return l<=i.r&&l>=i.r0}},t.type="pie",t}(wr);const ypt=mpt;function th(e,t,r){t=Ne(t)&&{coordDimensions:t}||Me({encodeDefine:e.getEncode()},t);var n=e.getSource(),a=Lm(n,t).dimensions,i=new oa(a,e);return i.initData(n,r),i}var _pt=function(){function e(t,r){this._getDataWithEncodedVisual=t,this._getRawData=r}return e.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},e.prototype.containName=function(t){var r=this._getRawData();return r.indexOfName(t)>=0},e.prototype.indexOfName=function(t){var r=this._getDataWithEncodedVisual();return r.indexOfName(t)},e.prototype.getItemVisual=function(t,r){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,r)},e}();const Fm=_pt;var bpt=Zt(),wpt=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(r){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Fm(rt(this.getData,this),rt(this.getRawData,this)),this._defaultLabelLine(r)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return th(this,{coordDimensions:["value"],encodeDefaulter:Rt(gA,this)})},t.prototype.getDataParams=function(r){var n=this.getData(),a=bpt(n),i=a.seats;if(!i){var o=[];n.each(n.mapDimension("value"),function(l){o.push(l)}),i=a.seats=Lat(o,n.hostModel.get("percentPrecision"))}var s=e.prototype.getDataParams.call(this,r);return s.percent=i[r]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(r){pd(r,"labelLine",["show"]);var n=r.labelLine,a=r.emphasis.labelLine;n.show=n.show&&r.label.show,a.show=a.show&&r.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,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}(Rr);const Spt=wpt;function Ept(e){return{seriesType:e,reset:function(t,r){var n=t.getData();n.filterSelf(function(a){var i=n.mapDimension("value"),o=n.get(i,a);return!(tr(o)&&!isNaN(o)&&o<0)})}}}function Cpt(e){e.registerChartView(ypt),e.registerSeriesModel(Spt),kK("pie",e.registerAction),e.registerLayout(Rt(fpt,"pie")),e.registerProcessor(Bm("pie")),e.registerProcessor(Ept("pie"))}var Tpt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.getInitialData=function(r,n){return el(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var r=this.option.progressive;return r??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var r=this.option.progressiveThreshold;return r??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(r,n,a){return a.point(n.getItemLayout(r))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(Rr);const xpt=Tpt;var dq=4,Apt=function(){function e(){}return e}(),kpt=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.getDefaultShape=function(){return new Apt},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(r,n){var a=n.points,i=n.size,o=this.symbolProxy,s=o.shape,l=r.getContext?r.getContext():r,u=l&&i[0]<dq,c=this.softClipShape,d;if(u){this._ctx=l;return}for(this._ctx=null,d=this._off;d<a.length;){var f=a[d++],p=a[d++];isNaN(f)||isNaN(p)||c&&!c.contain(f,p)||(s.x=f-i[0]/2,s.y=p-i[1]/2,s.width=i[0],s.height=i[1],o.buildPath(r,s,!0))}this.incremental&&(this._off=d,this.notClear=!0)},t.prototype.afterBrush=function(){var r=this.shape,n=r.points,a=r.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(r,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,d=i[c]-s/2,f=i[c+1]-l/2;if(r>=d&&n>=f&&r<=d+s&&n<=f+l)return u}return-1},t.prototype.contain=function(r,n){var a=this.transformCoordToLocal(r,n),i=this.getBoundingRect();if(r=a[0],n=a[1],i.contain(r,n)){var o=this.hoverDataIdx=this.findDataIndex(r,n);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var r=this._rect;if(!r){for(var n=this.shape,a=n.points,i=n.size,o=i[0],s=i[1],l=1/0,u=1/0,c=-1/0,d=-1/0,f=0;f<a.length;){var p=a[f++],h=a[f++];l=Math.min(p,l),c=Math.max(p,c),u=Math.min(h,u),d=Math.max(h,d)}r=this._rect=new Pt(l-o/2,u-s/2,c-l+o,d-u+s)}return r},t}(Vt),Ipt=function(){function e(){this.group=new wt}return e.prototype.updateData=function(t,r){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,r)},e.prototype.updateLayout=function(t){var r=t.getLayout("points");this.group.eachChild(function(n){if(n.startIndex!=null){var a=(n.endIndex-n.startIndex)*2,i=n.startIndex*4*2;r=new Float32Array(r.buffer,i,a)}n.setShape("points",r),n.reset()})},e.prototype.incrementalPrepareUpdate=function(t){this._clear()},e.prototype.incrementalUpdate=function(t,r,n){var a=this._newAdded[0],i=r.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,r,n)}},e.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},e.prototype._create=function(){var t=new kpt({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},e.prototype._setCommon=function(t,r,n){var a=r.hostModel;n=n||{};var i=r.getVisual("symbolSize");t.setShape("size",i instanceof Array?i:[i,i]),t.softClipShape=n.clipShape||null,t.symbolProxy=an(r.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<dq;t.useStyle(a.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var s=r.getVisual("style"),l=s&&s.fill;l&&t.setColor(l);var u=kt(t);u.seriesIndex=a.seriesIndex,t.on("mousemove",function(c){u.dataIndex=null;var d=t.hoverDataIdx;d>=0&&(u.dataIndex=d+(t.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}();const Rpt=Ipt;var Mpt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){var i=r.getData(),o=this._updateSymbolDraw(i,r);o.updateData(i,{clipShape:this._getClipShape(r)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(r,n,a){var i=r.getData(),o=this._updateSymbolDraw(i,r);o.incrementalPrepareUpdate(i),this._finished=!1},t.prototype.incrementalRender=function(r,n,a){this._symbolDraw.incrementalUpdate(r,n.getData(),{clipShape:this._getClipShape(n)}),this._finished=r.end===n.getData().count()},t.prototype.updateTransform=function(r,n,a){var i=r.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var o=$m("").reset(r,n,a);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},t.prototype.eachRendered=function(r){this._symbolDraw&&this._symbolDraw.eachRendered(r)},t.prototype._getClipShape=function(r){var n=r.coordinateSystem,a=n&&n.getArea&&n.getArea();return r.get("clip",!0)?a:null},t.prototype._updateSymbolDraw=function(r,n){var a=this._symbolDraw,i=n.pipelineContext,o=i.large;return(!a||o!==this._isLargeDraw)&&(a&&a.remove(),a=this._symbolDraw=o?new Rpt:new Pm,this._isLargeDraw=o,this.group.removeAll()),this.group.add(a.group),a},t.prototype.remove=function(r,n){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(wr);const Lpt=Mpt;var Dpt=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(Qt);const Opt=Dpt;var M6=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",en).models[0]},t.type="cartesian2dAxis",t}(Qt);on(M6,Om);var fq={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,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},Npt=Nt({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},fq),KA=Nt({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}}},fq),Ppt=Nt({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},KA),$pt=ht({logBase:10},KA);const pq={category:Npt,value:KA,time:Ppt,log:$pt};var Bpt={value:1,category:1,time:1,log:1};function xp(e,t,r,n){G(Bpt,function(a,i){var o=Nt(Nt({},pq[i],!0),n,!0),s=function(l){ye(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,d){var f=Fg(this),p=f?jp(c):{},h=d.getTheme();Nt(c,h.get(i+"Axis")),Nt(c,this.getDefaultOption()),c.type=pO(c),f&&uu(c,p,f)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=C6.createByAxisModel(this))},u.prototype.getCategories=function(c){var d=this.option;if(d.type==="category")return c?d.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+i,u.defaultOption=o,u}(r);e.registerComponentModel(s)}),e.registerSubTypeDefaulter(t+"Axis",pO)}function pO(e){return e.type||(e.data?"category":"value")}var Fpt=function(){function e(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return e.prototype.getAxis=function(t){return this._axes[t]},e.prototype.getAxes=function(){return Pe(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),ur(this.getAxes(),function(r){return r.scale.type===t})},e.prototype.addAxis=function(t){var r=t.dim;this._axes[r]=t,this._dimList.push(r)},e}();const zpt=Fpt;var L6=["x","y"];function hO(e){return e.type==="interval"||e.type==="time"}var Vpt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="cartesian2d",r.dimensions=L6,r}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var r=this.getAxis("x").scale,n=this.getAxis("y").scale;if(!(!hO(r)||!hO(n))){var a=r.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,d=(s[1]-o[1])/u,f=o[0]-a[0]*c,p=o[1]-i[0]*d,h=this._transform=[c,0,0,d,f,p];this._invTransform=Vp([],h)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(r){var n=this.getAxis("x"),a=this.getAxis("y");return n.contain(n.toLocalCoord(r[0]))&&a.contain(a.toLocalCoord(r[1]))},t.prototype.containData=function(r){return this.getAxis("x").containData(r[0])&&this.getAxis("y").containData(r[1])},t.prototype.containZone=function(r,n){var a=this.dataToPoint(r),i=this.dataToPoint(n),o=this.getArea(),s=new Pt(a[0],a[1],i[0]-a[0],i[1]-a[1]);return o.intersect(s)},t.prototype.dataToPoint=function(r,n,a){a=a||[];var i=r[0],o=r[1];if(this._transform&&i!=null&&isFinite(i)&&o!=null&&isFinite(o))return Ln(a,r,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(r,n){var a=this.getAxis("x").scale,i=this.getAxis("y").scale,o=a.getExtent(),s=i.getExtent(),l=a.parse(r[0]),u=i.parse(r[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(r,n){var a=[];if(this._invTransform)return Ln(a,r,this._invTransform);var i=this.getAxis("x"),o=this.getAxis("y");return a[0]=i.coordToData(i.toLocalCoord(r[0]),n),a[1]=o.coordToData(o.toLocalCoord(r[1]),n),a},t.prototype.getOtherAxis=function(r){return this.getAxis(r.dim==="x"?"y":"x")},t.prototype.getArea=function(){var r=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),a=Math.min(r[0],r[1]),i=Math.min(n[0],n[1]),o=Math.max(r[0],r[1])-a,s=Math.max(n[0],n[1])-i;return new Pt(a,i,o,s)},t}(zpt),Hpt=function(e){ye(t,e);function t(r,n,a,i,o){var s=e.call(this,r,n,a)||this;return s.index=0,s.type=i||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var r=this.position;return r==="top"||r==="bottom"},t.prototype.getGlobalExtent=function(r){var n=this.getExtent();return n[0]=this.toGlobalCoord(n[0]),n[1]=this.toGlobalCoord(n[1]),r&&n[0]>n[1]&&n.reverse(),n},t.prototype.pointToData=function(r,n){return this.coordToData(this.toLocalCoord(r[this.dim==="x"?0:1]),n)},t.prototype.setCategorySortInfo=function(r){if(this.type!=="category")return!1;this.model.option.categorySortInfo=r,this.scale.setSortInfo(r)},t}(mo);const Upt=Hpt;function D6(e,t,r){r=r||{};var n=e.coordinateSystem,a=t.axis,i={},o=a.getAxesOnZeroOf()[0],s=a.position,l=o?"onZero":s,u=a.dim,c=n.getRect(),d=[c.x,c.x+c.width,c.y,c.y+c.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,h=u==="x"?[d[2]-p,d[3]+p]:[d[0]-p,d[1]+p];if(o){var v=o.toGlobalCoord(o.dataToCoord(0));h[f.onZero]=Math.max(Math.min(v,h[1]),h[0])}i.position=[u==="y"?h[f[l]]:d[0],u==="x"?h[f[l]]:d[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?h[f[s]]-h[f.onZero]:0,t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),wn(r.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var m=t.get(["axisLabel","rotate"]);return i.labelRotate=l==="top"?-m:m,i.z2=1,i}function vO(e){return e.get("coordinateSystem")==="cartesian2d"}function gO(e){var t={xAxisModel:null,yAxisModel:null};return G(t,function(r,n){var a=n.replace(/Model$/,""),i=e.getReferringComponents(a,en).models[0];t[n]=i}),t}var BS=Math.log;function hq(e,t,r){var n=du.prototype,a=n.getTicks.call(r),i=n.getTicks.call(r,!0),o=a.length-1,s=n.getInterval.call(r),l=_Y(e,t),u=l.extent,c=l.fixMin,d=l.fixMax;if(e.type==="log"){var f=BS(e.base);u=[BS(u[0])/f,BS(u[1])/f]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:o,fixMin:c,fixMax:d});var p=n.getExtent.call(e);c&&(u[0]=p[0]),d&&(u[1]=p[1]);var h=n.getInterval.call(e),v=u[0],g=u[1];if(c&&d)h=(g-v)/o;else if(c)for(g=u[0]+h*o;g<u[1]&&isFinite(g)&&isFinite(u[1]);)h=CS(h),g=u[0]+h*o;else if(d)for(v=u[1]-h*o;v>u[0]&&isFinite(v)&&isFinite(u[0]);)h=CS(h),v=u[1]-h*o;else{var m=e.getTicks().length-1;m>o&&(h=CS(h));var y=h*o;g=Math.ceil(u[1]/h)*h,v=Vr(g-y),v<0&&u[0]>=0?(v=0,g=Vr(y)):g>0&&u[1]<=0&&(g=0,v=-Vr(y))}var _=(a[0].value-i[0].value)/s,w=(a[o].value-i[o].value)/s;n.setExtent.call(e,v+h*_,g+h*w),n.setInterval.call(e,h),(_||w)&&n.setNiceExtent.call(e,v+h,g-h)}var Gpt=function(){function e(t,r,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=L6,this._initCartesian(t,r,n),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,r){var n=this._axesMap;this._updateScale(t,this.model);function a(o){var s,l=Wt(o),u=l.length;if(u){for(var c=[],d=u-1;d>=0;d--){var f=+l[d],p=o[f],h=p.model,v=p.scale;T6(v)&&h.get("alignTicks")&&h.get("interval")==null?c.push(p):(Cp(v,h),T6(v)&&(s=p))}c.length&&(s||(s=c.pop(),Cp(s.scale,s.model)),G(c,function(g){hq(g.scale,g.model,s.scale)}))}}a(n.x),a(n.y);var i={};G(n.x,function(o){mO(n,"y",o,i)}),G(n.y,function(o){mO(n,"x",o,i)}),this.resize(this.model,r)},e.prototype.resize=function(t,r,n){var a=t.getBoxLayoutParams(),i=!n&&t.get("containLabel"),o=cn(a,{width:r.getWidth(),height:r.getHeight()});this._rect=o;var s=this._axesList;l(),i&&(G(s,function(u){if(!u.model.get(["axisLabel","inside"])){var c=adt(u);if(c){var d=u.isHorizontal()?"height":"width",f=u.model.get(["axisLabel","margin"]);o[d]-=c[d]+f,u.position==="top"?o.y+=c.height+f:u.position==="left"&&(o.x+=c.width+f)}}}),l()),G(this._coordsList,function(u){u.calcAffineTransform()});function l(){G(s,function(u){var c=u.isHorizontal(),d=c?[0,o.width]:[0,o.height],f=u.inverse?1:0;u.setExtent(d[f],d[1-f]),Wpt(u,c?o.x:o.y)})}},e.prototype.getAxis=function(t,r){var n=this._axesMap[t];if(n!=null)return n[r||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,r){if(t!=null&&r!=null){var n="x"+t+"y"+r;return this._coordsMap[n]}vt(t)&&(r=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===r)return i[a]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(t,r,n){var a=this._findConvertTarget(r);return a.cartesian?a.cartesian.dataToPoint(n):a.axis?a.axis.toGlobalCoord(a.axis.dataToCoord(n)):null},e.prototype.convertFromPixel=function(t,r,n){var a=this._findConvertTarget(r);return a.cartesian?a.cartesian.pointToData(n):a.axis?a.axis.coordToData(a.axis.toLocalCoord(n)):null},e.prototype._findConvertTarget=function(t){var r=t.seriesModel,n=t.xAxisModel||r&&r.getReferringComponents("xAxis",en).models[0],a=t.yAxisModel||r&&r.getReferringComponents("yAxis",en).models[0],i=t.gridModel,o=this._coordsList,s,l;if(r)s=r.coordinateSystem,Bt(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}},e.prototype.containPoint=function(t){var r=this._coordsList[0];if(r)return r.containPoint(t)},e.prototype._initCartesian=function(t,r,n){var a=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},s={x:{},y:{}},l={x:0,y:0};if(r.eachComponent("xAxis",u("x"),this),r.eachComponent("yAxis",u("y"),this),!l.x||!l.y){this._axesMap={},this._axesList=[];return}this._axesMap=s,G(s.x,function(c,d){G(s.y,function(f,p){var h="x"+d+"y"+p,v=new Vpt(h);v.master=a,v.model=t,a._coordsMap[h]=v,a._coordsList.push(v),v.addAxis(c),v.addAxis(f)})});function u(c){return function(d,f){if(FS(d,t)){var p=d.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 h=new Upt(c,yb(d),[0,0],d.get("type"),p),v=h.type==="category";h.onBand=v&&d.get("boundaryGap"),h.inverse=d.get("inverse"),d.axis=h,h.model=d,h.grid=i,h.index=f,i._axesList.push(h),s[c][f]=h,l[c]++}}}},e.prototype._updateScale=function(t,r){G(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(vO(a)){var i=gO(a),o=i.xAxisModel,s=i.yAxisModel;if(!FS(o,r)||!FS(s,r))return;var l=this.getCartesian(o.componentIndex,s.componentIndex),u=a.getData(),c=l.getAxis("x"),d=l.getAxis("y");n(u,c),n(u,d)}},this);function n(a,i){G(A2(a,i.dim),function(o){i.scale.unionExtentFromData(a,o)})}},e.prototype.getTooltipAxes=function(t){var r=[],n=[];return G(this.getCartesians(),function(a){var i=t!=null&&t!=="auto"?a.getAxis(t):a.getBaseAxis(),o=a.getOtherAxis(i);Bt(r,i)<0&&r.push(i),Bt(n,o)<0&&n.push(o)}),{baseAxes:r,otherAxes:n}},e.create=function(t,r){var n=[];return t.eachComponent("grid",function(a,i){var o=new e(a,t,r);o.name="grid_"+i,o.resize(a,r,!0),a.coordinateSystem=o,n.push(o)}),t.eachSeries(function(a){if(vO(a)){var i=gO(a),o=i.xAxisModel,s=i.yAxisModel,l=o.getCoordSysModel(),u=l.coordinateSystem;a.coordinateSystem=u.getCartesian(o.componentIndex,s.componentIndex)}}),n},e.dimensions=L6,e}();function FS(e,t){return e.getCoordSysModel()===t}function mO(e,t,r,n){r.getAxesOnZeroOf=function(){return i?[i]:[]};var a=e[t],i,o=r.model,s=o.get(["axisLine","onZero"]),l=o.get(["axisLine","onZeroAxisIndex"]);if(!s)return;if(l!=null)yO(a[l])&&(i=a[l]);else for(var u in a)if(a.hasOwnProperty(u)&&yO(a[u])&&!n[c(a[u])]){i=a[u];break}i&&(n[c(i)]=!0);function c(d){return d.dim+"_"+d.index}}function yO(e){return e&&e.type!=="category"&&e.type!=="time"&&ndt(e)}function Wpt(e,t){var r=e.getExtent(),n=r[0]+r[1];e.toGlobalCoord=e.dim==="x"?function(a){return a+t}:function(a){return n-a+t},e.toLocalCoord=e.dim==="x"?function(a){return a-t}:function(a){return n-a+t}}const Kpt=Gpt;var Fl=Math.PI,ed=function(){function e(t,r){this.group=new wt,this.opt=r,this.axisModel=t,ht(r,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new wt({x:r.position[0],y:r.position[1],rotation:r.rotation});n.updateTransform(),this._transformGroup=n}return e.prototype.hasBuilder=function(t){return!!_O[t]},e.prototype.add=function(t){_O[t](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(t,r,n){var a=fG(r-t),i,o;return c2(a)?(o=n>0?"top":"bottom",i="center"):c2(a-Fl)?(o=n>0?"bottom":"top",i="center"):(o="middle",a>0&&a<Fl?i=n>0?"right":"left":i=n>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:o}},e.makeAxisEventDataBase=function(t){var r={componentType:t.mainType,componentIndex:t.componentIndex};return r[t.mainType+"Index"]=t.componentIndex,r},e.isLabelSilent=function(t){var r=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||r&&r.show)},e}(),_O={axisLine:function(e,t,r,n){var a=t.get(["axisLine","show"]);if(a==="auto"&&e.handleAutoShown&&(a=e.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&&(Ln(s,s,o),Ln(l,l,o));var c=Me({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),d=new Sn({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});wp(d.shape,d.style.lineWidth),d.anid="line",r.add(d);var f=t.get(["axisLine","symbol"]);if(f!=null){var p=t.get(["axisLine","symbolSize"]);et(f)&&(f=[f,f]),(et(p)||tr(p))&&(p=[p,p]);var h=Md(t.get(["axisLine","symbolOffset"])||0,p),v=p[0],g=p[1];G([{rotate:e.rotation+Math.PI/2,offset:h[0],r:0},{rotate:e.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(m,y){if(f[y]!=="none"&&f[y]!=null){var _=an(f[y],-v/2,-g/2,v,g,c.stroke,!0),w=m.r+m.offset,E=u?l:s;_.attr({rotation:m.rotate,x:E[0]+w*Math.cos(e.rotation),y:E[1]-w*Math.sin(e.rotation),silent:!0,z2:11}),r.add(_)}})}}},axisTickLabel:function(e,t,r,n){var a=jpt(r,n,t,e),i=Zpt(r,n,t,e);if(qpt(t,i,a),Xpt(r,n,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=LY(Pe(i,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));NY(o)}},axisName:function(e,t,r,n){var a=wn(e.axisName,t.get("name"));if(a){var i=t.get("nameLocation"),o=e.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),c=u[0]>u[1]?-1:1,d=[i==="start"?u[0]-c*l:i==="end"?u[1]+c*l:(u[0]+u[1])/2,wO(i)?e.labelOffset+o*l:0],f,p=t.get("nameRotate");p!=null&&(p=p*Fl/180);var h;wO(i)?f=ed.innerTextLayout(e.rotation,p??e.rotation,o):(f=Ypt(e.rotation,i,p||0,u),h=e.axisNameAvailableWidth,h!=null&&(h=Math.abs(h/Math.sin(f.rotation)),!isFinite(h)&&(h=null)));var v=s.getFont(),g=t.get("nameTruncate",!0)||{},m=g.ellipsis,y=wn(e.nameTruncateMaxWidth,g.maxWidth,h),_=new er({x:d[0],y:d[1],rotation:f.rotation,silent:ed.isLabelSilent(t),style:_r(s,{text:a,font:v,overflow:"truncate",width:y,ellipsis:m,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||f.textAlign,verticalAlign:s.get("verticalAlign")||f.textVerticalAlign}),z2:1});if(Wp({el:_,componentModel:t,itemName:a}),_.__fullText=a,_.anid="name",t.get("triggerEvent")){var w=ed.makeAxisEventDataBase(t);w.targetType="axisName",w.name=a,kt(_).eventData=w}n.add(_),_.updateTransform(),r.add(_),_.decomposeTransform()}}};function Ypt(e,t,r,n){var a=fG(r-e),i,o,s=n[0]>n[1],l=t==="start"&&!s||t!=="start"&&s;return c2(a-Fl/2)?(o=l?"bottom":"top",i="center"):c2(a-Fl*1.5)?(o=l?"top":"bottom",i="center"):(o="middle",a<Fl*1.5&&a>Fl/2?i=l?"left":"right":i=l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function qpt(e,t,r){if(!bY(e.axis)){var n=e.get(["axisLabel","showMinLabel"]),a=e.get(["axisLabel","showMaxLabel"]);t=t||[],r=r||[];var i=t[0],o=t[1],s=t[t.length-1],l=t[t.length-2],u=r[0],c=r[1],d=r[r.length-1],f=r[r.length-2];n===!1?(ni(i),ni(u)):bO(i,o)&&(n?(ni(o),ni(c)):(ni(i),ni(u))),a===!1?(ni(s),ni(d)):bO(l,s)&&(a?(ni(l),ni(f)):(ni(s),ni(d)))}}function ni(e){e&&(e.ignore=!0)}function bO(e,t){var r=e&&e.getBoundingRect().clone(),n=t&&t.getBoundingRect().clone();if(!(!r||!n)){var a=W_([]);return Id(a,a,-e.rotation),r.applyTransform(As([],a,e.getLocalTransform())),n.applyTransform(As([],a,t.getLocalTransform())),r.intersect(n)}}function wO(e){return e==="middle"||e==="center"}function vq(e,t,r,n,a){for(var i=[],o=[],s=[],l=0;l<e.length;l++){var u=e[l].coord;o[0]=u,o[1]=0,s[0]=u,s[1]=r,t&&(Ln(o,o,t),Ln(s,s,t));var c=new Sn({shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:n,z2:2,autoBatch:!0,silent:!0});wp(c.shape,c.style.lineWidth),c.anid=a+"_"+e[l].tickValue,i.push(c)}return i}function jpt(e,t,r,n){var a=r.axis,i=r.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=vq(u,t.transform,l,ht(s.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),d=0;d<c.length;d++)e.add(c[d]);return c}}function Xpt(e,t,r,n){var a=r.axis,i=r.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=ht(s.getLineStyle(),ht(r.getModel("axisTick").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})),c=0;c<o.length;c++)for(var d=vq(o[c],t.transform,l,u,"minorticks_"+c),f=0;f<d.length;f++)e.add(d[f])}}function Zpt(e,t,r,n){var a=r.axis,i=wn(n.axisLabelShow,r.get(["axisLabel","show"]));if(!(!i||a.scale.isBlank())){var o=r.getModel("axisLabel"),s=o.get("margin"),l=a.getViewLabels(),u=(wn(n.labelRotate,o.get("rotate"))||0)*Fl/180,c=ed.innerTextLayout(n.rotation,u,n.labelDirection),d=r.getCategories&&r.getCategories(!0),f=[],p=ed.isLabelSilent(r),h=r.get("triggerEvent");return G(l,function(v,g){var m=a.scale.type==="ordinal"?a.scale.getRawOrdinalNumber(v.tickValue):v.tickValue,y=v.formattedLabel,_=v.rawLabel,w=o;if(d&&d[m]){var E=d[m];vt(E)&&E.textStyle&&(w=new br(E.textStyle,o,r.ecModel))}var S=w.getTextColor()||r.get(["axisLine","lineStyle","color"]),C=a.dataToCoord(m),T=new er({x:C,y:n.labelOffset+n.labelDirection*s,rotation:c.rotation,silent:p,z2:10+(v.level||0),style:_r(w,{text:y,align:w.getShallow("align",!0)||c.textAlign,verticalAlign:w.getShallow("verticalAlign",!0)||w.getShallow("baseline",!0)||c.textVerticalAlign,fill:ft(S)?S(a.type==="category"?_:a.type==="value"?m+"":m,g):S})});if(T.anid="label_"+m,h){var x=ed.makeAxisEventDataBase(r);x.targetType="axisLabel",x.value=_,x.tickIndex=g,a.type==="category"&&(x.dataIndex=m),kt(T).eventData=x}t.add(T),T.updateTransform(),f.push(T),e.add(T),T.decomposeTransform()}),f}}const Us=ed;function Qpt(e,t){var r={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return Jpt(r,e,t),r.seriesInvolved&&tht(r,e),r}function Jpt(e,t,r){var n=t.getComponent("tooltip"),a=t.getComponent("axisPointer"),i=a.get("link",!0)||[],o=[];G(r.getCoordinateSystems(),function(s){if(!s.axisPointerEnabled)return;var l=Yg(s.model),u=e.coordSysAxesInfo[l]={};e.coordSysMap[l]=s;var c=s.model,d=c.getModel("tooltip",n);if(G(s.getAxes(),Rt(v,!1,null)),s.getTooltipAxes&&n&&d.get("show")){var f=d.get("trigger")==="axis",p=d.get(["axisPointer","type"])==="cross",h=s.getTooltipAxes(d.get(["axisPointer","axis"]));(f||p)&&G(h.baseAxes,Rt(v,p?"cross":!0,f)),p&&G(h.otherAxes,Rt(v,"cross",!1))}function v(g,m,y){var _=y.model.getModel("axisPointer",a),w=_.get("show");if(!(!w||w==="auto"&&!g&&!O6(_))){m==null&&(m=_.get("triggerTooltip")),_=g?eht(y,d,a,t,g,m):_;var E=_.get("snap"),S=_.get("triggerEmphasis"),C=Yg(y.model),T=m||E||y.type==="category",x=e.axesInfo[C]={key:C,axis:y,coordSys:s,axisPointerModel:_,triggerTooltip:m,triggerEmphasis:S,involveSeries:T,snap:E,useHandle:O6(_),seriesModels:[],linkGroup:null};u[C]=x,e.seriesInvolved=e.seriesInvolved||T;var A=rht(i,y);if(A!=null){var k=o[A]||(o[A]={axesInfo:{}});k.axesInfo[C]=x,k.mapper=i[A].mapper,x.linkGroup=k}}}})}function eht(e,t,r,n,a,i){var o=t.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],l={};G(s,function(f){l[f]=_t(o.get(f))}),l.snap=e.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 d=l.lineStyle=o.get("crossStyle");d&&ht(u,d.textStyle)}}return e.model.getModel("axisPointer",new br(l,r,n))}function tht(e,t){t.eachSeries(function(r){var n=r.coordinateSystem,a=r.get(["tooltip","trigger"],!0),i=r.get(["tooltip","show"],!0);!n||a==="none"||a===!1||a==="item"||i===!1||r.get(["axisPointer","show"],!0)===!1||G(e.coordSysAxesInfo[Yg(n.model)],function(o){var s=o.axis;n.getAxis(s.dim)===s&&(o.seriesModels.push(r),o.seriesDataCount==null&&(o.seriesDataCount=0),o.seriesDataCount+=r.getData().count())})})}function rht(e,t){for(var r=t.model,n=t.dim,a=0;a<e.length;a++){var i=e[a]||{};if(zS(i[n+"AxisId"],r.id)||zS(i[n+"AxisIndex"],r.componentIndex)||zS(i[n+"AxisName"],r.name))return a}}function zS(e,t){return e==="all"||Ne(e)&&Bt(e,t)>=0||e===t}function nht(e){var t=YA(e);if(t){var r=t.axisPointerModel,n=t.axis.scale,a=r.option,i=r.get("status"),o=r.get("value");o!=null&&(o=n.parse(o));var s=O6(r);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 YA(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[Yg(e)]}function aht(e){var t=YA(e);return t&&t.axisPointerModel}function O6(e){return!!e.get(["handle","show"])}function Yg(e){return e.type+"||"+e.id}var SO={},iht=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a,i){this.axisPointerClass&&nht(r),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(r,a,!0)},t.prototype.updateAxisPointer=function(r,n,a,i){this._doUpdateAxisPointerClass(r,a,!1)},t.prototype.remove=function(r,n){var a=this._axisPointer;a&&a.remove(n)},t.prototype.dispose=function(r,n){this._disposeAxisPointer(n),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(r,n,a){var i=t.getAxisPointerClass(this.axisPointerClass);if(i){var o=aht(r);o?(this._axisPointer||(this._axisPointer=new i)).render(r,o,n,a):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(r){this._axisPointer&&this._axisPointer.dispose(r),this._axisPointer=null},t.registerAxisPointerClass=function(r,n){SO[r]=n},t.getAxisPointerClass=function(r){return r&&SO[r]},t.type="axis",t}($r);const Od=iht;var N6=Zt();function gq(e,t,r,n){var a=r.axis;if(!a.scale.isBlank()){var i=r.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,d=N6(e).splitAreaColors,f=lt(),p=0;if(d)for(var h=0;h<u.length;h++){var v=d.get(u[h].tickValue);if(v!=null){p=(v+(c-1)*h)%c;break}}var g=a.toGlobalCoord(u[0].coord),m=o.getAreaStyle();s=Ne(s)?s:[s];for(var h=1;h<u.length;h++){var y=a.toGlobalCoord(u[h].coord),_=void 0,w=void 0,E=void 0,S=void 0;a.isHorizontal()?(_=g,w=l.y,E=y-_,S=l.height,g=_+E):(_=l.x,w=g,E=l.width,S=y-w,g=w+S);var C=u[h-1].tickValue;C!=null&&f.set(C,p),t.add(new Xt({anid:C!=null?"area_"+C:null,shape:{x:_,y:w,width:E,height:S},style:ht({fill:s[p]},m),autoBatch:!0,silent:!0})),p=(p+1)%c}N6(e).splitAreaColors=f}}}function mq(e){N6(e).splitAreaColors=null}var oht=["axisLine","axisTickLabel","axisName"],sht=["splitArea","splitLine","minorSplitLine"],yq=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="CartesianAxisPointer",r}return t.prototype.render=function(r,n,a,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new wt,this.group.add(this._axisGroup),!!r.get("show")){var s=r.getCoordSysModel(),l=D6(s,r),u=new Us(r,Me({handleAutoShown:function(d){for(var f=s.coordinateSystem.getCartesians(),p=0;p<f.length;p++)if(T6(f[p].getOtherAxis(r.axis).scale))return!0;return!1}},l));G(oht,u.add,u),this._axisGroup.add(u.getGroup()),G(sht,function(d){r.get([d,"show"])&&lht[d](this,this._axisGroup,r,s)},this);var c=i&&i.type==="changeAxisOrder"&&i.isInitSort;c||Am(o,this._axisGroup,r),e.prototype.render.call(this,r,n,a,i)}},t.prototype.remove=function(){mq(this)},t.type="cartesianAxis",t}(Od),lht={splitLine:function(e,t,r,n){var a=r.axis;if(!a.scale.isBlank()){var i=r.getModel("splitLine"),o=i.getModel("lineStyle"),s=o.get("color");s=Ne(s)?s:[s];for(var l=n.coordinateSystem.getRect(),u=a.isHorizontal(),c=0,d=a.getTicksCoords({tickModel:i}),f=[],p=[],h=o.getLineStyle(),v=0;v<d.length;v++){var g=a.toGlobalCoord(d[v].coord);u?(f[0]=g,f[1]=l.y,p[0]=g,p[1]=l.y+l.height):(f[0]=l.x,f[1]=g,p[0]=l.x+l.width,p[1]=g);var m=c++%s.length,y=d[v].tickValue,_=new Sn({anid:y!=null?"line_"+d[v].tickValue:null,autoBatch:!0,shape:{x1:f[0],y1:f[1],x2:p[0],y2:p[1]},style:ht({stroke:s[m]},h),silent:!0});wp(_.shape,h.lineWidth),t.add(_)}}},minorSplitLine:function(e,t,r,n){var a=r.axis,i=r.getModel("minorSplitLine"),o=i.getModel("lineStyle"),s=n.coordinateSystem.getRect(),l=a.isHorizontal(),u=a.getMinorTicksCoords();if(u.length)for(var c=[],d=[],f=o.getLineStyle(),p=0;p<u.length;p++)for(var h=0;h<u[p].length;h++){var v=a.toGlobalCoord(u[p][h].coord);l?(c[0]=v,c[1]=s.y,d[0]=v,d[1]=s.y+s.height):(c[0]=s.x,c[1]=v,d[0]=s.x+s.width,d[1]=v);var g=new Sn({anid:"minor_line_"+u[p][h].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:d[0],y2:d[1]},style:f,silent:!0});wp(g.shape,f.lineWidth),t.add(g)}},splitArea:function(e,t,r,n){gq(e,t,r,n)}},_q=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="xAxis",t}(yq),uht=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=_q.type,r}return t.type="yAxis",t}(yq),cht=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="grid",r}return t.prototype.render=function(r,n){this.group.removeAll(),r.get("show")&&this.group.add(new Xt({shape:r.coordinateSystem.getRect(),style:ht({fill:r.get("backgroundColor")},r.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}($r),EO={offset:0};function bq(e){e.registerComponentView(cht),e.registerComponentModel(Opt),e.registerCoordinateSystem("cartesian2d",Kpt),xp(e,"x",M6,EO),xp(e,"y",M6,EO),e.registerComponentView(_q),e.registerComponentView(uht),e.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function dht(e){Ft(bq),e.registerSeriesModel(xpt),e.registerChartView(Lpt),e.registerLayout($m("scatter"))}function fht(e){e.eachSeriesByType("radar",function(t){var r=t.getData(),n=[],a=t.coordinateSystem;if(a){var i=a.getIndicatorAxes();G(i,function(o,s){r.each(r.mapDimension(i[s].dim),function(l,u){n[u]=n[u]||[];var c=a.dataToPoint(l,s);n[u][s]=CO(c)?c:TO(a)})}),r.each(function(o){var s=Jrt(n[o],function(l){return CO(l)})||TO(a);n[o].push(s.slice()),r.setItemLayout(o,n[o])})}})}function CO(e){return!isNaN(e[0])&&!isNaN(e[1])}function TO(e){return[e.cx,e.cy]}function pht(e){var t=e.polar;if(t){Ne(t)||(t=[t]);var r=[];G(t,function(n,a){n.indicator?(n.type&&!n.shape&&(n.shape=n.type),e.radar=e.radar||[],Ne(e.radar)||(e.radar=[e.radar]),e.radar.push(n)):r.push(n)}),e.polar=r}G(e.series,function(n){n&&n.type==="radar"&&n.polarIndex&&(n.radarIndex=n.polarIndex)})}var hht=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){var i=r.coordinateSystem,o=this.group,s=r.getData(),l=this._data;function u(f,p){var h=f.getItemVisual(p,"symbol")||"circle";if(h!=="none"){var v=eh(f.getItemVisual(p,"symbolSize")),g=an(h,-1,-1,2,2),m=f.getItemVisual(p,"symbolRotate")||0;return g.attr({style:{strokeNoScale:!0},z2:100,scaleX:v[0]/2,scaleY:v[1]/2,rotation:m*Math.PI/180||0}),g}}function c(f,p,h,v,g,m){h.removeAll();for(var y=0;y<p.length-1;y++){var _=u(v,g);_&&(_.__dimIdx=y,f[y]?(_.setPosition(f[y]),Im[m?"initProps":"updateProps"](_,{x:p[y][0],y:p[y][1]},r,g)):_.setPosition(p[y]),h.add(_))}}function d(f){return Pe(f,function(p){return[i.cx,i.cy]})}s.diff(l).add(function(f){var p=s.getItemLayout(f);if(p){var h=new Pa,v=new Ba,g={shape:{points:p}};h.shape.points=d(p),v.shape.points=d(p),Ar(h,g,r,f),Ar(v,g,r,f);var m=new wt,y=new wt;m.add(v),m.add(h),m.add(y),c(v.shape.points,p,y,s,f,!0),s.setItemGraphicEl(f,m)}}).update(function(f,p){var h=l.getItemGraphicEl(p),v=h.childAt(0),g=h.childAt(1),m=h.childAt(2),y={shape:{points:s.getItemLayout(f)}};y.shape.points&&(c(v.shape.points,y.shape.points,m,s,f,!1),co(g),co(v),rr(v,y,r),rr(g,y,r),s.setItemGraphicEl(f,h))}).remove(function(f){o.remove(l.getItemGraphicEl(f))}).execute(),s.eachItemGraphicEl(function(f,p){var h=s.getItemModel(p),v=f.childAt(0),g=f.childAt(1),m=f.childAt(2),y=s.getItemVisual(p,"style"),_=y.fill;o.add(f),v.useStyle(ht(h.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:_})),Nn(v,h,"lineStyle"),Nn(g,h,"areaStyle");var w=h.getModel("areaStyle"),E=w.isEmpty()&&w.parentModel.isEmpty();g.ignore=E,G(["emphasis","select","blur"],function(T){var x=h.getModel([T,"areaStyle"]),A=x.isEmpty()&&x.parentModel.isEmpty();g.ensureState(T).ignore=A&&E}),g.useStyle(ht(w.getAreaStyle(),{fill:_,opacity:.7,decal:y.decal}));var S=h.getModel("emphasis"),C=S.getModel("itemStyle").getItemStyle();m.eachChild(function(T){if(T instanceof $n){var x=T.style;T.useStyle(Me({image:x.image,x:x.x,y:x.y,width:x.width,height:x.height},y))}else T.useStyle(y),T.setColor(_),T.style.strokeNoScale=!0;var A=T.ensureState("emphasis");A.style=_t(C);var k=s.getStore().get(s.getDimensionIndex(T.__dimIdx),p);(k==null||isNaN(k))&&(k=""),Pn(T,vn(h),{labelFetcher:s.hostModel,labelDataIndex:p,labelDimIndex:T.__dimIdx,defaultText:k,inheritColor:_,defaultOpacity:y.opacity})}),Pr(f,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}(wr);const vht=hht;var ght=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.init=function(r){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Fm(rt(this.getData,this),rt(this.getRawData,this))},t.prototype.getInitialData=function(r,n){return th(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(r,n,a){var i=this.getData(),o=this.coordinateSystem,s=o.getIndicatorAxes(),l=this.getData().getName(r),u=l===""?this.name:l,c=gK(this,r);return gn("section",{header:u,sortBlocks:!0,blocks:Pe(s,function(d){var f=i.get(i.mapDimension(d.dim),r);return gn("nameValue",{markerType:"subItem",markerColor:c,name:d.name,value:f,sortParam:f})})})},t.prototype.getTooltipPosition=function(r){if(r!=null){for(var n=this.getData(),a=this.coordinateSystem,i=n.getValues(Pe(a.dimensions,function(u){return n.mapDimension(u)}),r),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}(Rr);const mht=ght;var Lh=pq.value;function ty(e,t){return ht({show:t},e)}var yht=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.optionUpdated=function(){var r=this.get("boundaryGap"),n=this.get("splitNumber"),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"]),d=this.get("axisNameGap"),f=this.get("triggerEvent"),p=Pe(this.get("indicator")||[],function(h){h.max!=null&&h.max>0&&!h.min?h.min=0:h.min!=null&&h.min<0&&!h.max&&(h.max=0);var v=l;h.color!=null&&(v=ht({color:h.color},l));var g=Nt(_t(h),{boundaryGap:r,splitNumber:n,scale:a,axisLine:i,axisTick:o,axisLabel:s,name:h.text,showName:u,nameLocation:"end",nameGap:d,nameTextStyle:v,triggerEvent:f},!1);if(et(c)){var m=g.name;g.name=c.replace("{value}",m??"")}else ft(c)&&(g.name=c(g.name,g));var y=new br(g,null,this.ecModel);return on(y,Om.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:Nt({lineStyle:{color:"#bbb"}},Lh.axisLine),axisLabel:ty(Lh.axisLabel,!1),axisTick:ty(Lh.axisTick,!1),splitLine:ty(Lh.splitLine,!0),splitArea:ty(Lh.splitArea,!0),indicator:[]},t}(Qt);const _ht=yht;var bht=["axisLine","axisTickLabel","axisName"],wht=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){var i=this.group;i.removeAll(),this._buildAxes(r),this._buildSplitLineAndArea(r)},t.prototype._buildAxes=function(r){var n=r.coordinateSystem,a=n.getIndicatorAxes(),i=Pe(a,function(o){var s=o.model.get("showName")?o.name:"",l=new Us(o.model,{axisName:s,position:[n.cx,n.cy],rotation:o.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});G(i,function(o){G(bht,o.add,o),this.group.add(o.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(r){var n=r.coordinateSystem,a=n.getIndicatorAxes();if(!a.length)return;var i=r.get("shape"),o=r.getModel("splitLine"),s=r.getModel("splitArea"),l=o.getModel("lineStyle"),u=s.getModel("areaStyle"),c=o.get("show"),d=s.get("show"),f=l.get("color"),p=u.get("color"),h=Ne(f)?f:[f],v=Ne(p)?p:[p],g=[],m=[];function y(z,B,P){var F=P%B.length;return z[F]=z[F]||[],F}if(i==="circle")for(var _=a[0].getTicksCoords(),w=n.cx,E=n.cy,S=0;S<_.length;S++){if(c){var C=y(g,h,S);g[C].push(new ts({shape:{cx:w,cy:E,r:_[S].coord}}))}if(d&&S<_.length-1){var C=y(m,v,S);m[C].push(new eb({shape:{cx:w,cy:E,r0:_[S].coord,r:_[S+1].coord}}))}}else for(var T,x=Pe(a,function(z,B){var P=z.getTicksCoords();return T=T==null?P.length-1:Math.min(P.length-1,T),Pe(P,function(F){return n.coordToPoint(F.coord,B)})}),A=[],S=0;S<=T;S++){for(var k=[],R=0;R<a.length;R++)k.push(x[R][S]);if(k[0]&&k.push(k[0].slice()),c){var C=y(g,h,S);g[C].push(new Ba({shape:{points:k}}))}if(d&&A){var C=y(m,v,S-1);m[C].push(new Pa({shape:{points:k.concat(A)}}))}A=k.slice().reverse()}var M=l.getLineStyle(),O=u.getAreaStyle();G(m,function(z,B){this.group.add(mi(z,{style:ht({stroke:"none",fill:v[B%v.length]},O),silent:!0}))},this),G(g,function(z,B){this.group.add(mi(z,{style:ht({fill:"none",stroke:h[B%h.length]},M),silent:!0}))},this)},t.type="radar",t}($r);const Sht=wht;var Eht=function(e){ye(t,e);function t(r,n,a){var i=e.call(this,r,n,a)||this;return i.type="value",i.angle=0,i.name="",i}return t}(mo);const Cht=Eht;var Tht=function(){function e(t,r,n){this.dimensions=[],this._model=t,this._indicatorAxes=Pe(t.getIndicatorModels(),function(a,i){var o="indicator_"+i,s=new Cht(o,new du);return s.name=a.get("name"),s.model=a,a.axis=s,this.dimensions.push(o),s},this),this.resize(t,n)}return e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(t,r){var n=this._indicatorAxes[r];return this.coordToPoint(n.dataToCoord(t),r)},e.prototype.coordToPoint=function(t,r){var n=this._indicatorAxes[r],a=n.angle,i=this.cx+t*Math.cos(a),o=this.cy-t*Math.sin(a);return[i,o]},e.prototype.pointToData=function(t){var r=t[0]-this.cx,n=t[1]-this.cy,a=Math.sqrt(r*r+n*n);r/=a,n/=a;for(var i=Math.atan2(-n,r),o=1/0,s,l=-1,u=0;u<this._indicatorAxes.length;u++){var c=this._indicatorAxes[u],d=Math.abs(i-c.angle);d<o&&(s=c,l=u,o=d)}return[l,+(s&&s.coordToData(a))]},e.prototype.resize=function(t,r){var n=t.get("center"),a=r.getWidth(),i=r.getHeight(),o=Math.min(a,i)/2;this.cx=Ze(n[0],a),this.cy=Ze(n[1],i),this.startAngle=t.get("startAngle")*Math.PI/180;var s=t.get("radius");(et(s)||tr(s))&&(s=[0,s]),this.r0=Ze(s[0],o),this.r=Ze(s[1],o),G(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)},e.prototype.update=function(t,r){var n=this._indicatorAxes,a=this._model;G(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();G(n,function(c){c.scale.unionExtentFromData(u,u.mapDimension(c.dim))})}},this);var i=a.get("splitNumber"),o=new du;o.setExtent(0,i),o.setInterval(1),G(n,function(s,l){hq(s.scale,s.model,o)})},e.prototype.convertToPixel=function(t,r,n){return console.warn("Not implemented."),null},e.prototype.convertFromPixel=function(t,r,n){return console.warn("Not implemented."),null},e.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},e.create=function(t,r){var n=[];return t.eachComponent("radar",function(a){var i=new e(a,t,r);n.push(i),a.coordinateSystem=i}),t.eachSeriesByType("radar",function(a){a.get("coordinateSystem")==="radar"&&(a.coordinateSystem=n[a.get("radarIndex")||0])}),n},e.dimensions=[],e}();const xht=Tht;function Aht(e){e.registerCoordinateSystem("radar",xht),e.registerComponentModel(_ht),e.registerComponentView(Sht),e.registerVisual({seriesType:"radar",reset:function(t){var r=t.getData();r.each(function(n){r.setItemVisual(n,"legendIcon","roundRect")}),r.setVisual("legendIcon","roundRect")}})}function kht(e){Ft(Aht),e.registerChartView(vht),e.registerSeriesModel(mht),e.registerLayout(fht),e.registerProcessor(Bm("radar")),e.registerPreprocessor(pht)}var xO="\0_ec_interaction_mutex";function Iht(e,t,r){var n=qA(e);n[t]=r}function Rht(e,t,r){var n=qA(e),a=n[t];a===r&&(n[t]=null)}function AO(e,t){return!!qA(e)[t]}function qA(e){return e[xO]||(e[xO]={})}is({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},qr);var Mht=function(e){ye(t,e);function t(r){var n=e.call(this)||this;n._zr=r;var a=rt(n._mousedownHandler,n),i=rt(n._mousemoveHandler,n),o=rt(n._mouseupHandler,n),s=rt(n._mousewheelHandler,n),l=rt(n._pinchHandler,n);return n.enable=function(u,c){this.disable(),this._opt=ht(_t(c)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),u==null&&(u=!0),(u===!0||u==="move"||u==="pan")&&(r.on("mousedown",a),r.on("mousemove",i),r.on("mouseup",o)),(u===!0||u==="scale"||u==="zoom")&&(r.on("mousewheel",s),r.on("pinch",l))},n.disable=function(){r.off("mousedown",a),r.off("mousemove",i),r.off("mouseup",o),r.off("mousewheel",s),r.off("pinch",l)},n}return t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(r){this.pointerChecker=r},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(r){if(!JM(r)){for(var n=r.target;n;){if(n.draggable)return;n=n.__hostTarget||n.parent}var a=r.offsetX,i=r.offsetY;this.pointerChecker&&this.pointerChecker(r,a,i)&&(this._x=a,this._y=i,this._dragging=!0)}},t.prototype._mousemoveHandler=function(r){if(!(!this._dragging||!h1("moveOnMouseMove",r,this._opt)||r.gestureEvent==="pinch"||AO(this._zr,"globalPan"))){var n=r.offsetX,a=r.offsetY,i=this._x,o=this._y,s=n-i,l=a-o;this._x=n,this._y=a,this._opt.preventDefaultMouseMove&&Bs(r.event),wq(this,"pan","moveOnMouseMove",r,{dx:s,dy:l,oldX:i,oldY:o,newX:n,newY:a,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(r){JM(r)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(r){var n=h1("zoomOnMouseWheel",r,this._opt),a=h1("moveOnMouseWheel",r,this._opt),i=r.wheelDelta,o=Math.abs(i),s=r.offsetX,l=r.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;VS(this,"zoom","zoomOnMouseWheel",r,{scale:c,originX:s,originY:l,isAvailableBehavior:null})}if(a){var d=Math.abs(i),f=(i>0?1:-1)*(d>3?.4:d>1?.15:.05);VS(this,"scrollMove","moveOnMouseWheel",r,{scrollDelta:f,originX:s,originY:l,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(r){if(!AO(this._zr,"globalPan")){var n=r.pinchScale>1?1.1:1/1.1;VS(this,"zoom",null,r,{scale:n,originX:r.pinchX,originY:r.pinchY,isAvailableBehavior:null})}},t}($i);function VS(e,t,r,n,a){e.pointerChecker&&e.pointerChecker(n,a.originX,a.originY)&&(Bs(n.event),wq(e,t,r,n,a))}function wq(e,t,r,n,a){a.isAvailableBehavior=rt(h1,null,r,n),e.trigger(t,a)}function h1(e,t,r){var n=r[e];return!e||n&&(!et(n)||t.event[n+"Key"])}const zm=Mht;function jA(e,t,r){var n=e.target;n.x+=t,n.y+=r,n.dirty()}function XA(e,t,r,n){var a=e.target,i=e.zoomLimit,o=e.zoom=e.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/e.zoom;e.zoom=o,a.x-=(r-a.x)*(u-1),a.y-=(n-a.y)*(u-1),a.scaleX*=u,a.scaleY*=u,a.dirty()}var Lht={axisPointer:1,tooltip:1,brush:1};function wb(e,t,r){var n=t.getComponentByElement(e.topTarget),a=n&&n.coordinateSystem;return n&&n!==r&&!Lht.hasOwnProperty(n.mainType)&&a&&a.model!==r}function Sq(e){if(et(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}var r=e;for(r.nodeType===9&&(r=r.firstChild);r.nodeName.toLowerCase()!=="svg"||r.nodeType!==1;)r=r.nextSibling;return r}var HS,D2={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"},kO=Wt(D2),O2={"alignment-baseline":"textBaseline","stop-color":"stopColor"},IO=Wt(O2),Dht=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(t,r){r=r||{};var n=Sq(t);this._defsUsePending=[];var a=new wt;this._root=a;var i=[],o=n.getAttribute("viewBox")||"",s=parseFloat(n.getAttribute("width")||r.width),l=parseFloat(n.getAttribute("height")||r.height);isNaN(s)&&(s=null),isNaN(l)&&(l=null),za(n,a,null,!0,!1);for(var u=n.firstChild;u;)this._parseNode(u,a,i,null,!1,!1),u=u.nextSibling;Pht(this._defs,this._defsUsePending),this._defsUsePending=[];var c,d;if(o){var f=Sb(o);f.length>=4&&(c={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(c&&s!=null&&l!=null&&(d=Cq(c,{x:0,y:0,width:s,height:l}),!r.ignoreViewBox)){var p=a;a=new wt,a.add(p),p.scaleX=p.scaleY=d.scale,p.x=d.x,p.y=d.y}return!r.ignoreRootClip&&s!=null&&l!=null&&a.setClipPath(new Xt({shape:{x:0,y:0,width:s,height:l}})),{root:a,width:s,height:l,viewBoxRect:c,viewBoxTransform:d,named:i}},e.prototype._parseNode=function(t,r,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=r;else{if(!i){var c=HS[s];if(c&&nt(HS,s)){l=c.call(this,t,r);var d=t.getAttribute("name");if(d){var f={name:d,namedFrom:null,svgNodeTagLower:s,el:l};n.push(f),s==="g"&&(u=f)}else a&&n.push({name:a.name,namedFrom:a,svgNodeTagLower:s,el:l});r.add(l)}}var p=RO[s];if(p&&nt(RO,s)){var h=p.call(this,t),v=t.getAttribute("id");v&&(this._defs[v]=h)}}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},e.prototype._parseText=function(t,r){var n=new Dg({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});ai(r,n),za(t,n,this._defsUsePending,!1,!1),Oht(n,r);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,r.add(n),n},e.internalField=function(){HS={g:function(t,r){var n=new wt;return ai(r,n),za(t,n,this._defsUsePending,!1,!1),n},rect:function(t,r){var n=new Xt;return ai(r,n),za(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,r){var n=new ts;return ai(r,n),za(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,r){var n=new Sn;return ai(r,n),za(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,r){var n=new iA;return ai(r,n),za(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,r){var n=t.getAttribute("points"),a;n&&(a=DO(n));var i=new Pa({shape:{points:a||[]},silent:!0});return ai(r,i),za(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,r){var n=t.getAttribute("points"),a;n&&(a=DO(n));var i=new Ba({shape:{points:a||[]},silent:!0});return ai(r,i),za(t,i,this._defsUsePending,!1,!1),i},image:function(t,r){var n=new $n;return ai(r,n),za(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,r){var n=t.getAttribute("x")||"0",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 wt;return ai(r,s),za(t,s,this._defsUsePending,!1,!0),s},tspan:function(t,r){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 wt;return ai(r,s),za(t,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),s},path:function(t,r){var n=t.getAttribute("d")||"",a=QG(n);return ai(r,a),za(t,a,this._defsUsePending,!1,!1),a.silent=!0,a}}}(),e}(),RO={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),r=parseInt(e.getAttribute("y1")||"0",10),n=parseInt(e.getAttribute("x2")||"10",10),a=parseInt(e.getAttribute("y2")||"0",10),i=new xm(t,r,n,a);return MO(e,i),LO(e,i),i},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),r=parseInt(e.getAttribute("cy")||"0",10),n=parseInt(e.getAttribute("r")||"0",10),a=new dW(t,r,n);return MO(e,a),LO(e,a),a}};function MO(e,t){var r=e.getAttribute("gradientUnits");r==="userSpaceOnUse"&&(t.global=!0)}function LO(e,t){for(var r=e.firstChild;r;){if(r.nodeType===1&&r.nodeName.toLocaleLowerCase()==="stop"){var n=r.getAttribute("offset"),a=void 0;n&&n.indexOf("%")>0?a=parseInt(n,10)/100:n?a=parseFloat(n):a=0;var i={};Eq(r,i,i);var o=i.stopColor||r.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:a,color:o})}r=r.nextSibling}}function ai(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),ht(t.__inheritedStyle,e.__inheritedStyle))}function DO(e){for(var t=Sb(e),r=[],n=0;n<t.length;n+=2){var a=parseFloat(t[n]),i=parseFloat(t[n+1]);r.push([a,i])}return r}function za(e,t,r,n,a){var i=t,o=i.__inheritedStyle=i.__inheritedStyle||{},s={};e.nodeType===1&&(Fht(e,t),Eq(e,o,s),n||zht(e,o,s)),i.style=i.style||{},o.fill!=null&&(i.style.fill=OO(i,"fill",o.fill,r)),o.stroke!=null&&(i.style.stroke=OO(i,"stroke",o.stroke,r)),G(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(l){o[l]!=null&&(i.style[l]=parseFloat(o[l]))}),G(["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=Pe(Sb(o.lineDash),function(l){return parseFloat(l)})),(o.visibility==="hidden"||o.visibility==="collapse")&&(i.invisible=!0),o.display==="none"&&(i.ignore=!0)}function Oht(e,t){var r=t.__selfStyle;if(r){var n=r.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"),e.style.textBaseline=a}var i=t.__inheritedStyle;if(i){var o=i.textAlign,s=o;o&&(o==="middle"&&(s="center"),e.style.textAlign=s)}}var Nht=/^url\(\s*#(.*?)\)/;function OO(e,t,r,n){var a=r&&r.match(Nht);if(a){var i=eo(a[1]);n.push([e,t,i]);return}return r==="none"&&(r=null),r}function Pht(e,t){for(var r=0;r<t.length;r++){var n=t[r];n[0].style[n[1]]=e[n[2]]}}var $ht=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Sb(e){return e.match($ht)||[]}var Bht=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,US=Math.PI/180;function Fht(e,t){var r=e.getAttribute("transform");if(r){r=r.replace(/,/g," ");var n=[],a=null;r.replace(Bht,function(d,f,p){return n.push(f,p),""});for(var i=n.length-1;i>0;i-=2){var o=n[i],s=n[i-1],l=Sb(o);switch(a=a||Ni(),s){case"translate":Zo(a,a,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Ux(a,a,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Id(a,a,-parseFloat(l[0])*US);break;case"skewX":var u=Math.tan(parseFloat(l[0])*US);As(a,[1,0,u,1,0,0],a);break;case"skewY":var c=Math.tan(parseFloat(l[0])*US);As(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 NO=/([^\s:;]+)\s*:\s*([^:;]+)/g;function Eq(e,t,r){var n=e.getAttribute("style");if(n){NO.lastIndex=0;for(var a;(a=NO.exec(n))!=null;){var i=a[1],o=nt(D2,i)?D2[i]:null;o&&(t[o]=a[2]);var s=nt(O2,i)?O2[i]:null;s&&(r[s]=a[2])}}}function zht(e,t,r){for(var n=0;n<kO.length;n++){var a=kO[n],i=e.getAttribute(a);i!=null&&(t[D2[a]]=i)}for(var n=0;n<IO.length;n++){var a=IO[n],i=e.getAttribute(a);i!=null&&(r[O2[a]]=i)}}function Cq(e,t){var r=t.width/e.width,n=t.height/e.height,a=Math.min(r,n);return{scale:a,x:-(e.x+e.width/2)*a+(t.x+t.width/2),y:-(e.y+e.height/2)*a+(t.y+t.height/2)}}function Vht(e,t){var r=new Dht;return r.parse(e,t)}var Hht=lt(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),Uht=function(){function e(t,r){this.type="geoSVG",this._usedGraphicMap=lt(),this._freedGraphics=[],this._mapName=t,this._parsedXML=Sq(r)}return e.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var r=Wht(t.named),n=r.regions,a=r.regionsMap;this._regions=n,this._regionsMap=a}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},e.prototype._buildGraphic=function(t){var r,n;try{r=t&&Vht(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{},n=r.root,da(n!=null)}catch(g){throw new Error(`Invalid svg format
`+g.message)}var a=new wt;a.add(n),a.isGeoSVGGraphicRoot=!0;var i=r.width,o=r.height,s=r.viewBoxRect,l=this._boundingRect;if(!l){var u=void 0,c=void 0,d=void 0,f=void 0;if(i!=null?(u=0,d=i):s&&(u=s.x,d=s.width),o!=null?(c=0,f=o):s&&(c=s.y,f=s.height),u==null||c==null){var p=n.getBoundingRect();u==null&&(u=p.x,d=p.width),c==null&&(c=p.y,f=p.height)}l=this._boundingRect=new Pt(u,c,d,f)}if(s){var h=Cq(s,l);n.scaleX=n.scaleY=h.scale,n.x=h.x,n.y=h.y}a.setClipPath(new Xt({shape:l.plain()}));var v=[];return G(r.named,function(g){Hht.get(g.svgNodeTagLower)!=null&&(v.push(g),Ght(g.el))}),{root:a,boundingRect:l,named:v}},e.prototype.useGraphic=function(t){var r=this._usedGraphicMap,n=r.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),r.set(t,n),n)},e.prototype.freeGraphic=function(t){var r=this._usedGraphicMap,n=r.get(t);n&&(r.removeKey(t),this._freedGraphics.push(n))},e}();function Ght(e){e.silent=!1,e.isGroup&&e.traverse(function(t){t.silent=!1})}function Wht(e){var t=[],r=lt();return G(e,function(n){if(n.namedFrom==null){var a=new cdt(n.name,n.el);t.push(a),r.set(n.name,a)}}),{regions:t,regionsMap:r}}var P6=[126,25],PO="南海诸岛",ic=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]];for(var ec=0;ec<ic.length;ec++)for(var ef=0;ef<ic[ec].length;ef++)ic[ec][ef][0]/=10.5,ic[ec][ef][1]/=-10.5/.75,ic[ec][ef][0]+=P6[0],ic[ec][ef][1]+=P6[1];function Kht(e,t){if(e==="china"){for(var r=0;r<t.length;r++)if(t[r].name===PO)return;t.push(new SY(PO,Pe(ic,function(n){return{type:"polygon",exterior:n}}),P6))}}var Yht={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};function qht(e,t){if(e==="china"){var r=Yht[t.name];if(r){var n=t.getCenter();n[0]+=r[0]/10.5,n[1]+=-r[1]/(10.5/.75),t.setCenter(n)}}}var jht=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function Xht(e,t){e==="china"&&t.name==="台湾"&&t.geometries.push({type:"polygon",exterior:jht[0]})}var Zht="name",Qht=function(){function e(t,r,n){this.type="geoJSON",this._parsedMap=lt(),this._mapName=t,this._specialAreas=n,this._geoJSON=evt(r)}return e.prototype.load=function(t,r){r=r||Zht;var n=this._parsedMap.get(r);if(!n){var a=this._parseToRegions(r);n=this._parsedMap.set(r,{regions:a,boundingRect:Jht(a)})}var i=lt(),o=[];return G(n.regions,function(s){var l=s.name;t&&nt(t,l)&&(s=s.cloneShallow(l=t[l])),o.push(s),i.set(l,s)}),{regions:o,boundingRect:n.boundingRect||new Pt(0,0,0,0),regionsMap:i}},e.prototype._parseToRegions=function(t){var r=this._mapName,n=this._geoJSON,a;try{a=n?fdt(n,t):[]}catch(i){throw new Error(`Invalid geoJson format
`+i.message)}return Kht(r,a),G(a,function(i){var o=i.name;qht(r,i),Xht(r,i);var s=this._specialAreas&&this._specialAreas[o];s&&i.transformTo(s.left,s.top,s.width,s.height)},this),a},e.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},e}();function Jht(e){for(var t,r=0;r<e.length;r++){var n=e[r].getBoundingRect();t=t||n.clone(),t.union(n)}return t}function evt(e){return et(e)?typeof JSON<"u"&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e}var Dh=lt();const Gs={registerMap:function(e,t,r){if(t.svg){var n=new Uht(e,t.svg);Dh.set(e,n)}else{var a=t.geoJson||t.geoJSON;a&&!t.features?r=t.specialAreas:a=t;var n=new Qht(e,a,r);Dh.set(e,n)}},getGeoResource:function(e){return Dh.get(e)},getMapForUser:function(e){var t=Dh.get(e);return t&&t.type==="geoJSON"&&t.getMapForUser()},load:function(e,t,r){var n=Dh.get(e);if(n)return n.load(t,r)}};var ZA=["rect","circle","line","ellipse","polygon","polyline","path"],tvt=lt(ZA),rvt=lt(ZA.concat(["g"])),nvt=lt(ZA.concat(["g"])),Tq=Zt();function ry(e){var t=e.getItemStyle(),r=e.get("areaColor");return r!=null&&(t.fill=r),t}function $O(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var avt=function(){function e(t){var r=new wt;this.uid=Yp("ec_map_draw"),this._controller=new zm(t.getZr()),this._controllerHost={target:r},this.group=r,r.add(this._regionsGroup=new wt),r.add(this._svgGroup=new wt)}return e.prototype.draw=function(t,r,n,a,i){var o=t.mainType==="geo",s=t.getData&&t.getData();o&&r.eachComponent({mainType:"series",subType:"map"},function(m){!s&&m.getHostGeoModel()===t&&(s=m.getData())});var l=t.coordinateSystem,u=this._regionsGroup,c=this.group,d=l.getTransformInfo(),f=d.raw,p=d.roam,h=!u.childAt(0)||i;h?(c.x=p.x,c.y=p.y,c.scaleX=p.scaleX,c.scaleY=p.scaleY,c.dirty()):rr(c,p,t);var v=s&&s.getVisual("visualMeta")&&s.getVisual("visualMeta").length>0,g={api:n,geo:l,mapOrGeoModel:t,data:s,isVisualEncodedByVisualMap:v,isGeo:o,transformInfoRaw:f};l.resourceType==="geoJSON"?this._buildGeoJSON(g):l.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(t,r,n),this._updateMapSelectHandler(t,u,n,a)},e.prototype._buildGeoJSON=function(t){var r=this._regionsGroupByName=lt(),n=lt(),a=this._regionsGroup,i=t.transformInfoRaw,o=t.mapOrGeoModel,s=t.data,l=t.geo.projection,u=l&&l.stream;function c(p,h){return h&&(p=h(p)),p&&[p[0]*i.scaleX+i.x,p[1]*i.scaleY+i.y]}function d(p){for(var h=[],v=!u&&l&&l.project,g=0;g<p.length;++g){var m=c(p[g],v);m&&h.push(m)}return h}function f(p){return{shape:{points:d(p)}}}a.removeAll(),G(t.geo.regions,function(p){var h=p.name,v=r.get(h),g=n.get(h)||{},m=g.dataIdx,y=g.regionModel;v||(v=r.set(h,new wt),a.add(v),m=s?s.indexOfName(h):null,y=t.isGeo?o.getRegionModel(h):s?s.getItemModel(m):null,n.set(h,{dataIdx:m,regionModel:y}));var _=[],w=[];G(p.geometries,function(C){if(C.type==="polygon"){var T=[C.exterior].concat(C.interiors||[]);u&&(T=UO(T,u)),G(T,function(A){_.push(new Pa(f(A)))})}else{var x=C.points;u&&(x=UO(x,u,!0)),G(x,function(A){w.push(new Ba(f(A)))})}});var E=c(p.getCenter(),l&&l.project);function S(C,T){if(C.length){var x=new sA({culling:!0,segmentIgnoreThreshold:1,shape:{paths:C}});v.add(x),BO(t,x,m,y),FO(t,x,h,y,o,m,E),T&&($O(x),G(x.states,$O))}}S(_),S(w,!0)}),r.each(function(p,h){var v=n.get(h),g=v.dataIdx,m=v.regionModel;zO(t,p,h,m,o,g),VO(t,p,h,m,o),HO(t,p,h,m,o)},this)},e.prototype._buildSVG=function(t){var r=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(r)&&(this._freeSVG(),this._useSVG(r));var a=this._svgDispatcherMap=lt(),i=!1;G(this._svgGraphicRecord.named,function(o){var s=o.name,l=t.mapOrGeoModel,u=t.data,c=o.svgNodeTagLower,d=o.el,f=u?u.indexOfName(s):null,p=l.getRegionModel(s);if(tvt.get(c)!=null&&d instanceof Pi&&BO(t,d,f,p),d instanceof Pi&&(d.culling=!0),d.z2EmphasisLift=0,!o.namedFrom&&(nvt.get(c)!=null&&FO(t,d,s,p,l,f,null),zO(t,d,s,p,l,f),VO(t,d,s,p,l),rvt.get(c)!=null)){var h=HO(t,d,s,p,l);h==="self"&&(i=!0);var v=a.get(s)||a.set(s,[]);v.push(d)}},this),this._enableBlurEntireSVG(i,t)},e.prototype._enableBlurEntireSVG=function(t,r){if(t&&r.isGeo){var n=r.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),a=n.opacity;this._svgGraphicRecord.root.traverse(function(i){if(!i.isGroup){gd(i);var o=i.ensureState("blur").style||{};o.opacity==null&&a!=null&&(o.opacity=a),i.ensureState("emphasis")}})}},e.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},e.prototype.findHighDownDispatchers=function(t,r){if(t==null)return[];var n=r.coordinateSystem;if(n.resourceType==="geoJSON"){var 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)||[]},e.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},e.prototype._useSVG=function(t){var r=Gs.getGeoResource(t);if(r&&r.type==="geoSVG"){var n=r.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},e.prototype._freeSVG=function(){var t=this._svgMapName;if(t!=null){var r=Gs.getGeoResource(t);r&&r.type==="geoSVG"&&r.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},e.prototype._updateController=function(t,r,n){var 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,jA(o,u.dx,u.dy),n.dispatchAction(Me(l(),{dx:u.dx,dy:u.dy,animation:{duration:0}}))},this),i.off("zoom").on("zoom",function(u){this._mouseDownFlag=!1,XA(o,u.scale,u.originX,u.originY),n.dispatchAction(Me(l(),{zoom:u.scale,originX:u.originX,originY:u.originY,animation:{duration:0}}))},this),i.setPointerChecker(function(u,c,d){return a.containPoint([c,d])&&!wb(u,n,t)})},e.prototype.resetForLabelLayout=function(){this.group.traverse(function(t){var r=t.getTextContent();r&&(r.ignore=Tq(r).ignore)})},e.prototype._updateMapSelectHandler=function(t,r,n,a){var i=this;r.off("mousedown"),r.off("click"),t.get("selectedMode")&&(r.on("mousedown",function(){i._mouseDownFlag=!0}),r.on("click",function(o){i._mouseDownFlag&&(i._mouseDownFlag=!1)}))},e}();function BO(e,t,r,n){var a=n.getModel("itemStyle"),i=n.getModel(["emphasis","itemStyle"]),o=n.getModel(["blur","itemStyle"]),s=n.getModel(["select","itemStyle"]),l=ry(a),u=ry(i),c=ry(s),d=ry(o),f=e.data;if(f){var p=f.getItemVisual(r,"style"),h=f.getItemVisual(r,"decal");e.isVisualEncodedByVisualMap&&p.fill&&(l.fill=p.fill),h&&(l.decal=Ep(h,e.api))}t.setStyle(l),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=u,t.ensureState("select").style=c,t.ensureState("blur").style=d,gd(t)}function FO(e,t,r,n,a,i,o){var s=e.data,l=e.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),i)),c=s&&s.getItemLayout(i);if(l||u||c&&c.showLabel){var d=l?r:i,f=void 0;(!s||i>=0)&&(f=a);var p=o?{normal:{align:"center",verticalAlign:"middle"}}:null;Pn(t,vn(n),{labelFetcher:f,labelDataIndex:d,defaultText:r},p);var h=t.getTextContent();if(h&&(Tq(h).ignore=h.ignore,t.textConfig&&o)){var v=t.getBoundingRect().clone();t.textConfig.layoutRect=v,t.textConfig.position=[(o[0]-v.x)/v.width*100+"%",(o[1]-v.y)/v.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function zO(e,t,r,n,a,i){e.data?e.data.setItemGraphicEl(i,t):kt(t).eventData={componentType:"geo",componentIndex:a.componentIndex,geoIndex:a.componentIndex,name:r,region:n&&n.option||{}}}function VO(e,t,r,n,a){e.data||Wp({el:t,componentModel:a,itemName:r,itemTooltipOption:n.get("tooltip")})}function HO(e,t,r,n,a){t.highDownSilentOnTouch=!!a.get("selectedMode");var i=n.getModel("emphasis"),o=i.get("focus");return Pr(t,o,i.get("blurScope"),i.get("disabled")),e.isGeo&&lot(t,a,r),o}function UO(e,t,r){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!r&&s.polygonStart(),G(e,function(l){s.lineStart();for(var u=0;u<l.length;u++)s.point(l[u][0],l[u][1]);s.lineEnd()}),!r&&s.polygonEnd(),n}const xq=avt;var ivt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a,i){if(!(i&&i.type==="mapToggleSelect"&&i.from===this.uid)){var o=this.group;if(o.removeAll(),!r.getHostGeoModel()){if(this._mapDraw&&i&&i.type==="geoRoam"&&this._mapDraw.resetForLabelLayout(),i&&i.type==="geoRoam"&&i.componentType==="series"&&i.seriesId===r.id){var s=this._mapDraw;s&&o.add(s.group)}else if(r.needsDrawMap){var s=this._mapDraw||new xq(a);o.add(s.group),s.draw(r,n,a,this,i),this._mapDraw=s}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;r.get("showLegendSymbol")&&n.getComponent("legend")&&this._renderSymbols(r,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(r,n,a){var i=r.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,d=u.offset,f=new ts({style:{fill:r.getData().getVisual("style").fill},shape:{cx:c[0]+d*9,cy:c[1],r:3},silent:!0,z2:8+(d?0:Up+1)});if(!d){var p=r.mainSeries.getData(),h=i.getName(l),v=p.indexOfName(h),g=i.getItemModel(l),m=g.getModel("label"),y=p.getItemGraphicEl(v);Pn(f,vn(g),{labelFetcher:{getFormattedLabel:function(_,w){return r.getFormattedLabel(v,w)}},defaultText:h}),f.disableLabelAnimation=!0,m.get("position")||f.setTextConfig({position:"bottom"}),y.onHoverStateChange=function(_){f2(f,_)}}o.add(f)}}})},t.type="map",t}(wr);const ovt=ivt;var svt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.needsDrawMap=!1,r.seriesGroup=[],r.getTooltipPosition=function(n){if(n!=null){var a=this.getData().getName(n),i=this.coordinateSystem,o=i.getRegion(a);return o&&i.dataToPoint(o.getCenter())}},r}return t.prototype.getInitialData=function(r){for(var n=th(this,{coordDimensions:["value"],encodeDefaulter:Rt(gA,this)}),a=lt(),i=[],o=0,s=n.count();o<s;o++){var l=n.getName(o);a.set(l,!0)}var u=Gs.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return G(u.regions,function(c){var d=c.name;a.get(d)||i.push(d)}),n.appendValues([],i),n},t.prototype.getHostGeoModel=function(){var r=this.option.geoIndex;return r!=null?this.ecModel.getComponent("geo",r):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(r){var n=this.getData();return n.get(n.mapDimension("value"),r)},t.prototype.getRegionModel=function(r){var n=this.getData();return n.getItemModel(n.indexOfName(r))},t.prototype.formatTooltip=function(r,n,a){for(var i=this.getData(),o=this.getRawValue(r),s=i.getName(r),l=this.seriesGroup,u=[],c=0;c<l.length;c++){var d=l[c].originalData.indexOfName(s),f=i.mapDimension("value");isNaN(l[c].originalData.get(f,d))||u.push(l[c].name)}return gn("section",{header:u.join(", "),noHeader:!u.length,blocks:[gn("nameValue",{name:s,value:o})]})},t.prototype.setZoom=function(r){this.option.zoom=r},t.prototype.setCenter=function(r){this.option.center=r},t.prototype.getLegendIcon=function(r){var n=r.icon||"roundRect",a=an(n,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill);return a.setStyle(r.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}(Rr);const lvt=svt;function uvt(e,t){var r={};return G(e,function(n){n.each(n.mapDimension("value"),function(a,i){var o="ec-"+n.getName(i);r[o]=r[o]||[],isNaN(a)||r[o].push(a)})}),e[0].map(e[0].mapDimension("value"),function(n,a){for(var i="ec-"+e[0].getName(a),o=0,s=1/0,l=-1/0,u=r[i].length,c=0;c<u;c++)s=Math.min(s,r[i][c]),l=Math.max(l,r[i][c]),o+=r[i][c];var d;return t==="min"?d=s:t==="max"?d=l:t==="average"?d=o/u:d=o,u===0?NaN:d})}function cvt(e){var t={};e.eachSeriesByType("map",function(r){var n=r.getHostGeoModel(),a=n?"o"+n.id:"i"+r.getMapType();(t[a]=t[a]||[]).push(r)}),G(t,function(r,n){for(var a=uvt(Pe(r,function(o){return o.getData()}),r[0].get("mapValueCalculation")),i=0;i<r.length;i++)r[i].originalData=r[i].getData();for(var i=0;i<r.length;i++)r[i].seriesGroup=r,r[i].needsDrawMap=i===0&&!r[i].getHostGeoModel(),r[i].setData(a.cloneShallow()),r[i].mainSeries=r[0]})}function dvt(e){var t={};e.eachSeriesByType("map",function(r){var n=r.getMapType();if(!(r.getHostGeoModel()||t[n])){var a={};G(r.seriesGroup,function(o){var s=o.coordinateSystem,l=o.originalData;o.get("showLegendSymbol")&&e.getComponent("legend")&&l.each(l.mapDimension("value"),function(u,c){var d=l.getName(c),f=s.getRegion(d);if(!(!f||isNaN(u))){var p=a[d]||0,h=s.dataToPoint(f.getCenter());a[d]=p+1,l.setItemLayout(c,{point:h,offset:p})}})});var i=r.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 GO=Ln,fvt=function(e){ye(t,e);function t(r){var n=e.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new ws,n._rawTransformable=new ws,n.name=r,n}return t.prototype.setBoundingRect=function(r,n,a,i){return this._rect=new Pt(r,n,a,i),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(r,n,a,i){this._transformTo(r,n,a,i),this._viewRect=new Pt(r,n,a,i)},t.prototype._transformTo=function(r,n,a,i){var o=this.getBoundingRect(),s=this._rawTransformable;s.transform=o.calculateTransform(new Pt(r,n,a,i));var l=s.parent;s.parent=null,s.decomposeTransform(),s.parent=l,this._updateTransform()},t.prototype.setCenter=function(r,n){r&&(this._center=[Ze(r[0],n.getWidth()),Ze(r[1],n.getHeight())],this._updateCenterAndZoom())},t.prototype.setZoom=function(r){r=r||1;var n=this.zoomLimit;n&&(n.max!=null&&(r=Math.min(n.max,r)),n.min!=null&&(r=Math.max(n.min,r))),this._zoom=r,this._updateCenterAndZoom()},t.prototype.getDefaultCenter=function(){var r=this.getBoundingRect(),n=r.x+r.width/2,a=r.y+r.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 r=this._rawTransformable.getLocalTransform(),n=this._roamTransformable,a=this.getDefaultCenter(),i=this.getCenter(),o=this.getZoom();i=Ln([],i,r),a=Ln([],a,r),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 r=this._roamTransformable,n=this._rawTransformable;n.parent=r,r.updateTransform(),n.updateTransform(),Hx(this.transform||(this.transform=[]),n.transform||Ni()),this._rawTransform=n.getLocalTransform(),this.invTransform=this.invTransform||[],Vp(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var r=this._rawTransformable,n=this._roamTransformable,a=new ws;return a.transform=n.transform,a.decomposeTransform(),{roam:{x:a.x,y:a.y,scaleX:a.scaleX,scaleY:a.scaleY},raw:{x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY}}},t.prototype.getViewRect=function(){return this._viewRect},t.prototype.getViewRectAfterRoam=function(){var r=this.getBoundingRect().clone();return r.applyTransform(this.transform),r},t.prototype.dataToPoint=function(r,n,a){var i=n?this._rawTransform:this.transform;return a=a||[],i?GO(a,r,i):ea(a,r)},t.prototype.pointToData=function(r){var n=this.invTransform;return n?GO([],r,n):[r[0],r[1]]},t.prototype.convertToPixel=function(r,n,a){var i=WO(n);return i===this?i.dataToPoint(a):null},t.prototype.convertFromPixel=function(r,n,a){var i=WO(n);return i===this?i.pointToData(a):null},t.prototype.containPoint=function(r){return this.getViewRectAfterRoam().contain(r[0],r[1])},t.dimensions=["x","y"],t}(ws);function WO(e){var t=e.seriesModel;return t?t.coordinateSystem:null}const Vm=fvt;var pvt={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},Aq=["lng","lat"],kq=function(e){ye(t,e);function t(r,n,a){var i=e.call(this,r)||this;i.dimensions=Aq,i.type="geo",i._nameCoordMap=lt(),i.map=n;var o=a.projection,s=Gs.load(n,a.nameMap,a.nameProperty),l=Gs.getGeoResource(n);i.resourceType=l?l.type:null;var u=i.regions=s.regions,c=pvt[l.type];i._regionsMap=s.regionsMap,i.regions=s.regions,i.projection=o;var d;if(o)for(var f=0;f<u.length;f++){var p=u[f].getBoundingRect(o);d=d||p.clone(),d.union(p)}else d=s.boundingRect;return i.setBoundingRect(d.x,d.y,d.width,d.height),i.aspectScale=o?1:Dt(a.aspectScale,c.aspectScale),i._invertLongitute=o?!1:c.invertLongitute,i}return t.prototype._transformTo=function(r,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 Pt(r,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(r){return this._regionsMap.get(r)},t.prototype.getRegionByCoord=function(r){for(var n=this.regions,a=0;a<n.length;a++){var i=n[a];if(i.type==="geoJSON"&&i.contain(r))return n[a]}},t.prototype.addGeoCoord=function(r,n){this._nameCoordMap.set(r,n)},t.prototype.getGeoCoord=function(r){var n=this._regionsMap.get(r);return this._nameCoordMap.get(r)||n&&n.getCenter()},t.prototype.dataToPoint=function(r,n,a){if(et(r)&&(r=this.getGeoCoord(r)),r){var i=this.projection;return i&&(r=i.project(r)),r&&this.projectedToPoint(r,n,a)}},t.prototype.pointToData=function(r){var n=this.projection;return n&&(r=n.unproject(r)),r&&this.pointToProjected(r)},t.prototype.pointToProjected=function(r){return e.prototype.pointToData.call(this,r)},t.prototype.projectedToPoint=function(r,n,a){return e.prototype.dataToPoint.call(this,r,n,a)},t.prototype.convertToPixel=function(r,n,a){var i=KO(n);return i===this?i.dataToPoint(a):null},t.prototype.convertFromPixel=function(r,n,a){var i=KO(n);return i===this?i.pointToData(a):null},t}(Vm);on(kq,Vm);function KO(e){var t=e.geoModel,r=e.seriesModel;return t?t.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo",en).models[0]||{}).coordinateSystem:null}const YO=kq;function qO(e,t){var r=e.get("boundingCoords");if(r!=null){var n=r[0],a=r[1];if(isFinite(n[0])&&isFinite(n[1])&&isFinite(a[0])&&isFinite(a[1])){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,T,x){for(var A=T-S,k=x-C,R=0;R<=100;R++){var M=R/100,O=i.project([S+A*M,C+k*M]);Ol(n,n,O),Nl(a,a,O)}};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 d=this.getBoundingRect(),f=e.get("layoutCenter"),p=e.get("layoutSize"),h=t.getWidth(),v=t.getHeight(),g=d.width/d.height*this.aspectScale,m=!1,y,_;f&&p&&(y=[Ze(f[0],h),Ze(f[1],v)],_=Ze(p,Math.min(h,v)),!isNaN(y[0])&&!isNaN(y[1])&&!isNaN(_)&&(m=!0));var w;if(m)w={},g>1?(w.width=_,w.height=_/g):(w.height=_,w.width=_*g),w.y=y[1]-w.height/2,w.x=y[0]-w.width/2;else{var E=e.getBoxLayoutParams();E.aspect=g,w=cn(E,{width:h,height:v})}this.setViewRect(w.x,w.y,w.width,w.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}function hvt(e,t){G(t.get("geoCoord"),function(r,n){e.addGeoCoord(n,r)})}var vvt=function(){function e(){this.dimensions=Aq}return e.prototype.create=function(t,r){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 YO(l+s,l,Me({nameMap:o.get("nameMap")},a(o)));u.zoomLimit=o.get("scaleLimit"),n.push(u),o.coordinateSystem=u,u.model=o,u.resize=qO,u.resize(o,r)}),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)}}),G(i,function(o,s){var l=Pe(o,function(c){return c.get("nameMap")}),u=new YO(s,s,Me({nameMap:Bx(l)},a(o[0])));u.zoomLimit=wn.apply(null,Pe(o,function(c){return c.get("scaleLimit")})),n.push(u),u.resize=qO,u.resize(o[0],r),G(o,function(c){c.coordinateSystem=u,hvt(u,c)})}),n},e.prototype.getFilledRegions=function(t,r,n,a){for(var i=(t||[]).slice(),o=lt(),s=0;s<i.length;s++)o.set(i[s].name,i[s]);var l=Gs.load(r,n,a);return G(l.regions,function(u){var c=u.name;!o.get(c)&&i.push({name:c})}),i},e}(),gvt=new vvt;const Iq=gvt;var mvt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n,a){var i=Gs.getGeoResource(r.map);if(i&&i.type==="geoJSON"){var o=r.itemStyle=r.itemStyle||{};"color"in o||(o.color="#eee")}this.mergeDefaultAndTheme(r,a),pd(r,"label",["show"])},t.prototype.optionUpdated=function(){var r=this,n=this.option;n.regions=Iq.getFilledRegions(n.regions,n.map,n.nameMap,n.nameProperty);var a={};this._optionModelMap=Xo(n.regions||[],function(i,o){var s=o.name;return s&&(i.set(s,new br(o,r,r.ecModel)),o.selected&&(a[s]=!0)),i},lt()),n.selectedMap||(n.selectedMap=a)},t.prototype.getRegionModel=function(r){return this._optionModelMap.get(r)||new br(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(r,n){var a=this.getRegionModel(r),i=n==="normal"?a.get(["label","formatter"]):a.get(["emphasis","label","formatter"]),o={name:r};if(ft(i))return o.status=n,i(o);if(et(i))return i.replace("{a}",r??"")},t.prototype.setZoom=function(r){this.option.zoom=r},t.prototype.setCenter=function(r){this.option.center=r},t.prototype.select=function(r){var n=this.option,a=n.selectedMode;if(a){a!=="multiple"&&(n.selectedMap=null);var i=n.selectedMap||(n.selectedMap={});i[r]=!0}},t.prototype.unSelect=function(r){var n=this.option.selectedMap;n&&(n[r]=!1)},t.prototype.toggleSelected=function(r){this[this.isSelected(r)?"unSelect":"select"](r)},t.prototype.isSelected=function(r){var n=this.option.selectedMap;return!!(n&&n[r])},t.type="geo",t.layoutMode="box",t.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},t}(Qt);const yvt=mvt;function jO(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function QA(e,t,r,n){var a=e.getZoom(),i=e.getCenter(),o=t.zoom,s=e.projectedToPoint?e.projectedToPoint(i):e.dataToPoint(i);if(t.dx!=null&&t.dy!=null&&(s[0]-=t.dx,s[1]-=t.dy,e.setCenter(jO(e,s),n)),o!=null){if(r){var l=r.min||0,u=r.max||1/0;o=Math.max(Math.min(a*o,u),l)/a}e.scaleX*=o,e.scaleY*=o;var c=(t.originX-e.x)*(o-1),d=(t.originY-e.y)*(o-1);e.x-=c,e.y-=d,e.updateTransform(),e.setCenter(jO(e,s),n),e.setZoom(o*a)}return{center:e.getCenter(),zoom:e.getZoom()}}var _vt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.focusBlurEnabled=!0,r}return t.prototype.init=function(r,n){this._api=n},t.prototype.render=function(r,n,a,i){if(this._model=r,!r.get("show")){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;return}this._mapDraw||(this._mapDraw=new xq(a));var o=this._mapDraw;o.draw(r,n,a,this,i),o.group.on("click",this._handleRegionClick,this),o.group.silent=r.get("silent"),this.group.add(o.group),this.updateSelectStatus(r,n,a)},t.prototype._handleRegionClick=function(r){var n;Mc(r.target,function(a){return(n=kt(a).eventData)!=null},!0),n&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:n.name})},t.prototype.updateSelectStatus=function(r,n,a){var i=this;this._mapDraw.group.traverse(function(o){var s=kt(o).eventData;if(s)return i._model.isSelected(s.name)?a.enterSelect(o):a.leaveSelect(o),!0})},t.prototype.findHighDownDispatchers=function(r){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(r,this._model)},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},t.type="geo",t}($r);const bvt=_vt;function wvt(e,t,r){Gs.registerMap(e,t,r)}function Rq(e){e.registerCoordinateSystem("geo",Iq),e.registerComponentModel(yvt),e.registerComponentView(bvt),e.registerImpl("registerMap",wvt),e.registerImpl("getMap",function(r){return Gs.getMapForUser(r)});function t(r,n){n.update="geo:updateSelectStatus",e.registerAction(n,function(a,i){var o={},s=[];return i.eachComponent({mainType:"geo",query:a},function(l){l[r](a.name);var u=l.coordinateSystem;G(u.regions,function(d){o[d.name]=l.isSelected(d.name)||!1});var c=[];G(o,function(d,f){o[f]&&c.push(f)}),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"}),e.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(r,n,a){var i=r.componentType||"series";n.eachComponent({mainType:i,query:r},function(o){var s=o.coordinateSystem;if(s.type==="geo"){var l=QA(s,r,o.get("scaleLimit"),a);o.setCenter&&o.setCenter(l.center),o.setZoom&&o.setZoom(l.zoom),i==="series"&&G(o.seriesGroup,function(u){u.setCenter(l.center),u.setZoom(l.zoom)})}})})}function Svt(e){Ft(Rq),e.registerChartView(ovt),e.registerSeriesModel(lvt),e.registerLayout(dvt),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,cvt),kK("map",e.registerAction)}function Evt(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var r=[t],n,a;n=r.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},r.push(s)}}function Cvt(e,t){var r=e.isExpand?e.children:[],n=e.parentNode.children,a=e.hierNode.i?n[e.hierNode.i-1]:null;if(r.length){Avt(e);var i=(r[0].hierNode.prelim+r[r.length-1].hierNode.prelim)/2;a?(e.hierNode.prelim=a.hierNode.prelim+t(e,a),e.hierNode.modifier=e.hierNode.prelim-i):e.hierNode.prelim=i}else a&&(e.hierNode.prelim=a.hierNode.prelim+t(e,a));e.parentNode.hierNode.defaultAncestor=kvt(e,a,e.parentNode.hierNode.defaultAncestor||n[0],t)}function Tvt(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function XO(e){return arguments.length?e:Mvt}function nv(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function xvt(e,t){return cn(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Avt(e){for(var t=e.children,r=t.length,n=0,a=0;--r>=0;){var i=t[r];i.hierNode.prelim+=n,i.hierNode.modifier+=n,a+=i.hierNode.change,n+=i.hierNode.shift+a}}function kvt(e,t,r,n){if(t){for(var a=e,i=e,o=i.parentNode.children[0],s=t,l=a.hierNode.modifier,u=i.hierNode.modifier,c=o.hierNode.modifier,d=s.hierNode.modifier;s=GS(s),i=WS(i),s&&i;){a=GS(a),o=WS(o),a.hierNode.ancestor=e;var f=s.hierNode.prelim+d-i.hierNode.prelim-u+n(s,i);f>0&&(Rvt(Ivt(s,e,r),e,f),u+=f,l+=f),d+=s.hierNode.modifier,u+=i.hierNode.modifier,l+=a.hierNode.modifier,c+=o.hierNode.modifier}s&&!GS(a)&&(a.hierNode.thread=s,a.hierNode.modifier+=d-l),i&&!WS(o)&&(o.hierNode.thread=i,o.hierNode.modifier+=u-c,r=e)}return r}function GS(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function WS(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function Ivt(e,t,r){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:r}function Rvt(e,t,r){var n=r/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=n,t.hierNode.shift+=r,t.hierNode.modifier+=r,t.hierNode.prelim+=r,e.hierNode.change+=n}function Mvt(e,t){return e.parentNode===t.parentNode?1:2}var Lvt=function(){function e(){this.parentPoint=[],this.childPoints=[]}return e}(),Dvt=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Lvt},t.prototype.buildPath=function(r,n){var a=n.childPoints,i=a.length,o=n.parentPoint,s=a[0],l=a[i-1];if(i===1){r.moveTo(o[0],o[1]),r.lineTo(s[0],s[1]);return}var u=n.orient,c=u==="TB"||u==="BT"?0:1,d=1-c,f=Ze(n.forkPosition,1),p=[];p[c]=o[c],p[d]=o[d]+(l[d]-o[d])*f,r.moveTo(o[0],o[1]),r.lineTo(p[0],p[1]),r.moveTo(s[0],s[1]),p[c]=s[c],r.lineTo(p[0],p[1]),p[c]=l[c],r.lineTo(p[0],p[1]),r.lineTo(l[0],l[1]);for(var h=1;h<i-1;h++){var v=a[h];r.moveTo(v[0],v[1]),p[c]=v[c],r.lineTo(p[0],p[1])}},t}(Vt),Ovt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._mainGroup=new wt,r}return t.prototype.init=function(r,n){this._controller=new zm(n.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(r,n,a){var i=r.getData(),o=r.layoutInfo,s=this._mainGroup,l=r.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(r,a),this._updateController(r,n,a);var u=this._data;i.diff(u).add(function(c){ZO(i,c)&&QO(i,c,null,s,r)}).update(function(c,d){var f=u.getItemGraphicEl(d);if(!ZO(i,c)){f&&eN(u,d,f,s,r);return}QO(i,c,f,s,r)}).remove(function(c){var d=u.getItemGraphicEl(c);d&&eN(u,c,d,s,r)}).execute(),this._nodeScaleRatio=r.get("nodeScaleRatio"),this._updateNodeAndLinkScale(r),r.get("expandAndCollapse")===!0&&i.eachItemGraphicEl(function(c,d){c.off("click").on("click",function(){a.dispatchAction({type:"treeExpandAndCollapse",seriesId:r.id,dataIndex:d})})}),this._data=i},t.prototype._updateViewCoordSys=function(r,n){var a=r.getData(),i=[];a.each(function(d){var f=a.getItemLayout(d);f&&!isNaN(f.x)&&!isNaN(f.y)&&i.push([+f.x,+f.y])});var o=[],s=[];Z_(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=r.coordinateSystem=new Vm;c.zoomLimit=r.get("scaleLimit"),c.setBoundingRect(o[0],o[1],s[0]-o[0],s[1]-o[1]),c.setCenter(r.get("center"),n),c.setZoom(r.get("zoom")),this.group.attr({x:c.x,y:c.y,scaleX:c.scaleX,scaleY:c.scaleY}),this._min=o,this._max=s},t.prototype._updateController=function(r,n,a){var i=this,o=this._controller,s=this._controllerHost,l=this.group;o.setPointerChecker(function(u,c,d){var f=l.getBoundingRect();return f.applyTransform(l.transform),f.contain(c,d)&&!wb(u,a,r)}),o.enable(r.get("roam")),s.zoomLimit=r.get("scaleLimit"),s.zoom=r.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(u){jA(s,u.dx,u.dy),a.dispatchAction({seriesId:r.id,type:"treeRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){XA(s,u.scale,u.originX,u.originY),a.dispatchAction({seriesId:r.id,type:"treeRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),i._updateNodeAndLinkScale(r),a.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(r){var n=r.getData(),a=this._getNodeGlobalScale(r);n.eachItemGraphicEl(function(i,o){i.setSymbolScale(a)})},t.prototype._getNodeGlobalScale=function(r){var n=r.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}(wr);function ZO(e,t){var r=e.getItemLayout(t);return r&&!isNaN(r.x)&&!isNaN(r.y)}function QO(e,t,r,n,a){var i=!r,o=e.tree.getNodeByDataIndex(t),s=o.getModel(),l=o.getVisual("style").fill,u=o.isExpand===!1&&o.children.length!==0?l:"#fff",c=e.tree.root,d=o.parentNode===c?o:o.parentNode||o,f=e.getItemGraphicEl(d.dataIndex),p=d.getLayout(),h=f?{x:f.__oldX,y:f.__oldY,rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:p,v=o.getLayout();i?(r=new Nm(e,t,null,{symbolInnerColor:u,useNameLabel:!0}),r.x=h.x,r.y=h.y):r.updateData(e,t,null,{symbolInnerColor:u,useNameLabel:!0}),r.__radialOldRawX=r.__radialRawX,r.__radialOldRawY=r.__radialRawY,r.__radialRawX=v.rawX,r.__radialRawY=v.rawY,n.add(r),e.setItemGraphicEl(t,r),r.__oldX=r.x,r.__oldY=r.y,rr(r,{x:v.x,y:v.y},a);var g=r.getSymbolPath();if(a.get("layout")==="radial"){var m=c.children[0],y=m.getLayout(),_=m.children.length,w=void 0,E=void 0;if(v.x===y.x&&o.isExpand===!0&&m.children.length){var S={x:(m.children[0].getLayout().x+m.children[_-1].getLayout().x)/2,y:(m.children[0].getLayout().y+m.children[_-1].getLayout().y)/2};w=Math.atan2(S.y-y.y,S.x-y.x),w<0&&(w=Math.PI*2+w),E=S.x<y.x,E&&(w=w-Math.PI)}else w=Math.atan2(v.y-y.y,v.x-y.x),w<0&&(w=Math.PI*2+w),o.children.length===0||o.children.length!==0&&o.isExpand===!1?(E=v.x<y.x,E&&(w=w-Math.PI)):(E=v.x>y.x,E||(w=w-Math.PI));var C=E?"left":"right",T=s.getModel("label"),x=T.get("rotate"),A=x*(Math.PI/180),k=g.getTextContent();k&&(g.setTextConfig({position:T.get("position")||C,rotation:x==null?-w:A,origin:"center"}),k.setStyle("verticalAlign","middle"))}var R=s.get(["emphasis","focus"]),M=R==="relative"?r2(o.getAncestorsIndices(),o.getDescendantIndices()):R==="ancestor"?o.getAncestorsIndices():R==="descendant"?o.getDescendantIndices():null;M&&(kt(r).focus=M),Nvt(a,o,c,r,h,p,v,n),r.__edge&&(r.onHoverStateChange=function(O){if(O!=="blur"){var z=o.parentNode&&e.getItemGraphicEl(o.parentNode.dataIndex);z&&z.hoverState===Tm||f2(r.__edge,O)}})}function Nvt(e,t,r,n,a,i,o,s){var l=t.getModel(),u=e.get("edgeShape"),c=e.get("layout"),d=e.getOrient(),f=e.get(["lineStyle","curveness"]),p=e.get("edgeForkPosition"),h=l.getModel("lineStyle").getLineStyle(),v=n.__edge;if(u==="curve")t.parentNode&&t.parentNode!==r&&(v||(v=n.__edge=new tb({shape:$6(c,d,f,a,a)})),rr(v,{shape:$6(c,d,f,i,o)},e));else if(u==="polyline"&&c==="orthogonal"&&t!==r&&t.children&&t.children.length!==0&&t.isExpand===!0){for(var g=t.children,m=[],y=0;y<g.length;y++){var _=g[y].getLayout();m.push([_.x,_.y])}v||(v=n.__edge=new Dvt({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:d,forkPosition:p}})),rr(v,{shape:{parentPoint:[o.x,o.y],childPoints:m}},e)}v&&!(u==="polyline"&&!t.isExpand)&&(v.useStyle(ht({strokeNoScale:!0,fill:null},h)),Nn(v,l,"lineStyle"),gd(v),s.add(v))}function JO(e,t,r,n,a){var i=t.tree.root,o=Mq(i,e),s=o.source,l=o.sourceLayout,u=t.getItemGraphicEl(e.dataIndex);if(u){var c=t.getItemGraphicEl(s.dataIndex),d=c.__edge,f=u.__edge||(s.isExpand===!1||s.children.length===1?d:void 0),p=n.get("edgeShape"),h=n.get("layout"),v=n.get("orient"),g=n.get(["lineStyle","curveness"]);f&&(p==="curve"?lu(f,{shape:$6(h,v,g,l,l),style:{opacity:0}},n,{cb:function(){r.remove(f)},removeOpt:a}):p==="polyline"&&n.get("layout")==="orthogonal"&&lu(f,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},n,{cb:function(){r.remove(f)},removeOpt:a}))}}function Mq(e,t){for(var r=t.parentNode===e?t:t.parentNode||t,n;n=r.getLayout(),n==null;)r=r.parentNode===e?r:r.parentNode||r;return{source:r,sourceLayout:n}}function eN(e,t,r,n,a){var i=e.tree.getNodeByDataIndex(t),o=e.tree.root,s=Mq(o,i).sourceLayout,l={duration:a.get("animationDurationUpdate"),easing:a.get("animationEasingUpdate")};lu(r,{x:s.x+1,y:s.y+1},a,{cb:function(){n.remove(r),e.setItemGraphicEl(t,null)},removeOpt:l}),r.fadeOut(null,e.hostModel,{fadeLabel:!0,animation:l}),i.children.forEach(function(u){JO(u,e,n,a,l)}),JO(i,e,n,a,l)}function $6(e,t,r,n,a){var i,o,s,l,u,c,d,f;if(e==="radial"){u=n.rawX,d=n.rawY,c=a.rawX,f=a.rawY;var p=nv(u,d),h=nv(u,d+(f-d)*r),v=nv(c,f+(d-f)*r),g=nv(c,f);return{x1:p.x||0,y1:p.y||0,x2:g.x||0,y2:g.y||0,cpx1:h.x||0,cpy1:h.y||0,cpx2:v.x||0,cpy2:v.y||0}}else u=n.x,d=n.y,c=a.x,f=a.y,(t==="LR"||t==="RL")&&(i=u+(c-u)*r,o=d,s=c+(u-c)*r,l=f),(t==="TB"||t==="BT")&&(i=u,o=d+(f-d)*r,s=c,l=f+(d-f)*r);return{x1:u,y1:d,x2:c,y2:f,cpx1:i,cpy1:o,cpx2:s,cpy2:l}}const Pvt=Ovt;var Ti=Zt();function Lq(e){var t=e.mainData,r=e.datas;r||(r={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,Dq(t,r,e),G(r,function(n){G(t.TRANSFERABLE_METHODS,function(a){n.wrapMethod(a,Rt($vt,e))})}),t.wrapMethod("cloneShallow",Rt(Fvt,e)),G(t.CHANGABLE_METHODS,function(n){t.wrapMethod(n,Rt(Bvt,e))}),da(r[t.dataType]===t)}function $vt(e,t){if(Hvt(this)){var r=Me({},Ti(this).datas);r[this.dataType]=t,Dq(t,r,e)}else JA(t,this.dataType,Ti(this).mainData,e);return t}function Bvt(e,t){return e.struct&&e.struct.update(),t}function Fvt(e,t){return G(Ti(t).datas,function(r,n){r!==t&&JA(r.cloneShallow(),n,t,e)}),t}function zvt(e){var t=Ti(this).mainData;return e==null||t==null?t:Ti(t).datas[e]}function Vvt(){var e=Ti(this).mainData;return e==null?[{data:e}]:Pe(Wt(Ti(e).datas),function(t){return{type:t,data:Ti(e).datas[t]}})}function Hvt(e){return Ti(e).mainData===e}function Dq(e,t,r){Ti(e).datas={},G(t,function(n,a){JA(n,a,e,r)})}function JA(e,t,r,n){Ti(r).datas[t]=e,Ti(e).mainData=r,e.dataType=t,n.struct&&(e[n.structAttr]=n.struct,n.struct[n.datasAttr[t]]=e),e.getLinkedData=zvt,e.getLinkedDataAll=Vvt}var Uvt=function(){function e(t,r){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=r}return e.prototype.isRemoved=function(){return this.dataIndex<0},e.prototype.eachNode=function(t,r,n){ft(t)&&(n=r,r=t,t=null),t=t||{},et(t)&&(t={order:t});var a=t.order||"preorder",i=this[t.attr||"children"],o;a==="preorder"&&(o=r.call(n,this));for(var s=0;!o&&s<i.length;s++)i[s].eachNode(t,r,n);a==="postorder"&&r.call(n,this)},e.prototype.updateDepthAndHeight=function(t){var r=0;this.depth=t;for(var n=0;n<this.children.length;n++){var a=this.children[n];a.updateDepthAndHeight(t+1),a.height>r&&(r=a.height)}this.height=r+1},e.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var r=0,n=this.children,a=n.length;r<a;r++){var i=n[r].getNodeById(t);if(i)return i}},e.prototype.contains=function(t){if(t===this)return!0;for(var r=0,n=this.children,a=n.length;r<a;r++){var i=n[r].contains(t);if(i)return i}},e.prototype.getAncestors=function(t){for(var r=[],n=t?this:this.parentNode;n;)r.push(n),n=n.parentNode;return r.reverse(),r},e.prototype.getAncestorsIndices=function(){for(var t=[],r=this;r;)t.push(r.dataIndex),r=r.parentNode;return t.reverse(),t},e.prototype.getDescendantIndices=function(){var t=[];return this.eachNode(function(r){t.push(r.dataIndex)}),t},e.prototype.getValue=function(t){var r=this.hostTree.data;return r.getStore().get(r.getDimensionIndex(t||"value"),this.dataIndex)},e.prototype.setLayout=function(t,r){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,r)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(t){if(!(this.dataIndex<0)){var r=this.hostTree,n=r.data.getItemModel(this.dataIndex);return n.getModel(t)}},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(t,r){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,r)},e.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,r=0;r<t.length;++r)if(t[r]===this)return r;return-1}return-1},e.prototype.isAncestorOf=function(t){for(var r=t.parentNode;r;){if(r===this)return!0;r=r.parentNode}return!1},e.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},e}(),Gvt=function(){function e(t){this.type="tree",this._nodes=[],this.hostModel=t}return e.prototype.eachNode=function(t,r,n){this.root.eachNode(t,r,n)},e.prototype.getNodeByDataIndex=function(t){var r=this.data.getRawIndex(t);return this._nodes[r]},e.prototype.getNodeById=function(t){return this.root.getNodeById(t)},e.prototype.update=function(){for(var t=this.data,r=this._nodes,n=0,a=r.length;n<a;n++)r[n].dataIndex=-1;for(var n=0,a=t.count();n<a;n++)r[t.getRawIndex(n)].dataIndex=n},e.prototype.clearLayouts=function(){this.data.clearItemLayouts()},e.createTree=function(t,r,n){var a=new e(r),i=[],o=1;s(t);function s(c,d){var f=c.value;o=Math.max(o,Ne(f)?f.length:1),i.push(c);var p=new Uvt(ln(c.name,""),a);d?Wvt(p,d):a.root=p,a._nodes.push(p);var h=c.children;if(h)for(var v=0;v<h.length;v++)s(h[v],p)}a.root.updateDepthAndHeight(0);var l=Lm(i,{coordDimensions:["value"],dimensionsCount:o}).dimensions,u=new oa(l,r);return u.initData(i),n&&n(u),Lq({mainData:u,struct:a,structAttr:"tree"}),a.update(),a},e}();function Wvt(e,t){var r=t.children;e.parentNode!==t&&(r.push(e),e.parentNode=t)}const e8=Gvt;function qg(e,t,r){if(e&&Bt(t,e.type)>=0){var n=r.getData().tree.root,a=e.targetNode;if(et(a)&&(a=n.getNodeById(a)),a&&n.contains(a))return{node:a};var i=e.targetNodeId;if(i!=null&&(a=n.getNodeById(i)))return{node:a}}}function Oq(e){for(var t=[];e;)e=e.parentNode,e&&t.push(e);return t.reverse()}function t8(e,t){var r=Oq(e);return Bt(r,t)>=0}function Eb(e,t){for(var r=[];e;){var n=e.dataIndex;r.push({name:e.name,dataIndex:n,value:t.getRawValue(n)}),e=e.parentNode}return r.reverse(),r}var Kvt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.hasSymbolVisual=!0,r.ignoreStyleOnData=!0,r}return t.prototype.getInitialData=function(r){var n={name:r.name,children:r.data},a=r.leaves||{},i=new br(a,this,this.ecModel),o=e8.createTree(n,this,s);function s(d){d.wrapMethod("getItemModel",function(f,p){var h=o.getNodeByDataIndex(p);return h&&h.children.length&&h.isExpand||(f.parentModel=i),f})}var l=0;o.eachNode("preorder",function(d){d.depth>l&&(l=d.depth)});var u=r.expandAndCollapse,c=u&&r.initialTreeDepth>=0?r.initialTreeDepth:l;return o.root.eachNode("preorder",function(d){var f=d.hostTree.data.getRawDataItem(d.dataIndex);d.isExpand=f&&f.collapsed!=null?!f.collapsed:d.depth<=c}),o.data},t.prototype.getOrient=function(){var r=this.get("orient");return r==="horizontal"?r="LR":r==="vertical"&&(r="TB"),r},t.prototype.setZoom=function(r){this.option.zoom=r},t.prototype.setCenter=function(r){this.option.center=r},t.prototype.formatTooltip=function(r,n,a){for(var i=this.getData().tree,o=i.root.children[0],s=i.getNodeByDataIndex(r),l=s.getValue(),u=s.name;s&&s!==o;)u=s.parentNode.name+"."+u,s=s.parentNode;return gn("nameValue",{name:u,value:l,noValue:isNaN(l)||l==null})},t.prototype.getDataParams=function(r){var n=e.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(r);return n.treeAncestors=Eb(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}(Rr);const Yvt=Kvt;function qvt(e,t,r){for(var n=[e],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,r)}function Oh(e,t){for(var r=[e],n;n=r.pop();)if(t(n),n.isExpand){var a=n.children;if(a.length)for(var i=a.length-1;i>=0;i--)r.push(a[i])}}function jvt(e,t){e.eachSeriesByType("tree",function(r){Xvt(r,t)})}function Xvt(e,t){var r=xvt(e,t);e.layoutInfo=r;var n=e.get("layout"),a=0,i=0,o=null;n==="radial"?(a=2*Math.PI,i=Math.min(r.height,r.width)/2,o=XO(function(_,w){return(_.parentNode===w.parentNode?1:2)/_.depth})):(a=r.width,i=r.height,o=XO());var s=e.getData().tree.root,l=s.children[0];if(l){Evt(s),qvt(l,Cvt,o),s.hierNode.modifier=-l.hierNode.prelim,Oh(l,Tvt);var u=l,c=l,d=l;Oh(l,function(_){var w=_.getLayout().x;w<u.getLayout().x&&(u=_),w>c.getLayout().x&&(c=_),_.depth>d.depth&&(d=_)});var f=u===c?1:o(u,c)/2,p=f-u.getLayout().x,h=0,v=0,g=0,m=0;if(n==="radial")h=a/(c.getLayout().x+f+p),v=i/(d.depth-1||1),Oh(l,function(_){g=(_.getLayout().x+p)*h,m=(_.depth-1)*v;var w=nv(g,m);_.setLayout({x:w.x,y:w.y,rawX:g,rawY:m},!0)});else{var y=e.getOrient();y==="RL"||y==="LR"?(v=i/(c.getLayout().x+f+p),h=a/(d.depth-1||1),Oh(l,function(_){m=(_.getLayout().x+p)*v,g=y==="LR"?(_.depth-1)*h:a-(_.depth-1)*h,_.setLayout({x:g,y:m},!0)})):(y==="TB"||y==="BT")&&(h=a/(c.getLayout().x+f+p),v=i/(d.depth-1||1),Oh(l,function(_){g=(_.getLayout().x+p)*h,m=y==="TB"?(_.depth-1)*v:i-(_.depth-1)*v,_.setLayout({x:g,y:m},!0)}))}}}function Zvt(e){e.eachSeriesByType("tree",function(t){var r=t.getData(),n=r.tree;n.eachNode(function(a){var i=a.getModel(),o=i.getModel("itemStyle").getItemStyle(),s=r.ensureUniqueItemVisual(a.dataIndex,"style");Me(s,o)})})}function Qvt(e){e.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,r){r.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})}),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,r,n){r.eachComponent({mainType:"series",subType:"tree",query:t},function(a){var i=a.coordinateSystem,o=QA(i,t,void 0,n);a.setCenter&&a.setCenter(o.center),a.setZoom&&a.setZoom(o.zoom)})})}function Jvt(e){e.registerChartView(Pvt),e.registerSeriesModel(Yvt),e.registerLayout(jvt),e.registerVisual(Zvt),Qvt(e)}var tN=["treemapZoomToNode","treemapRender","treemapMove"];function egt(e){for(var t=0;t<tN.length;t++)e.registerAction({type:tN[t],update:"updateView"},qr);e.registerAction({type:"treemapRootToNode",update:"updateView"},function(r,n){n.eachComponent({mainType:"series",subType:"treemap",query:r},a);function a(i,o){var s=["treemapZoomToNode","treemapRootToNode"],l=qg(r,s,i);if(l){var u=i.getViewRoot();u&&(r.direction=t8(u,l.node)?"rollUp":"drillDown"),i.resetViewRoot(l.node)}}})}function Nq(e){var t=e.getData(),r=t.tree,n={};r.eachNode(function(a){for(var i=a;i&&i.depth>1;)i=i.parentNode;var o=f6(e.ecModel,i.name||i.dataIndex+"",n);a.setVisual("decal",o)})}var tgt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.preventUsingHoverLayer=!0,r}return t.prototype.getInitialData=function(r,n){var a={name:r.name,children:r.data};Pq(a);var i=r.levels||[],o=this.designatedVisualItemStyle={},s=new br({itemStyle:o},this,n);i=r.levels=rgt(i,n);var l=Pe(i||[],function(d){return new br(d,s,n)},this),u=e8.createTree(a,this,c);function c(d){d.wrapMethod("getItemModel",function(f,p){var h=u.getNodeByDataIndex(p),v=h?l[h.depth]:null;return f.parentModel=v||s,f})}return u.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(r,n,a){var i=this.getData(),o=this.getRawValue(r),s=i.getName(r);return gn("nameValue",{name:s,value:o})},t.prototype.getDataParams=function(r){var n=e.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(r);return n.treeAncestors=Eb(a,this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(r){this.layoutInfo=this.layoutInfo||{},Me(this.layoutInfo,r)},t.prototype.mapIdToIndex=function(r){var n=this._idIndexMap;n||(n=this._idIndexMap=lt(),this._idIndexMapCount=0);var a=n.get(r);return a==null&&n.set(r,a=this._idIndexMapCount++),a},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(r){r?this._viewRoot=r:r=this._viewRoot;var n=this.getRawData().tree.root;(!r||r!==n&&!n.contains(r))&&(this._viewRoot=n)},t.prototype.enableAriaDecal=function(){Nq(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,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}(Rr);function Pq(e){var t=0;G(e.children,function(n){Pq(n);var a=n.value;Ne(a)&&(a=a[0]),t+=a});var r=e.value;Ne(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=t),r<0&&(r=0),Ne(e.value)?e.value[0]=r:e.value=r}function rgt(e,t){var r=fr(t.get("color")),n=fr(t.get(["aria","decal","decals"]));if(r){e=e||[];var a,i;G(e,function(s){var l=new br(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=e[0]||(e[0]={});return a||(o.color=r.slice()),!i&&n&&(o.decal=n.slice()),e}}const ngt=tgt;var agt=8,rN=8,KS=5,igt=function(){function e(t){this.group=new wt,t.add(this.group)}return e.prototype.render=function(t,r,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"]),d={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:r.getWidth(),height:r.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,d,u),this._renderContent(t,d,s,l,u,c,a),cb(o,d.pos,d.box)}},e.prototype._prepare=function(t,r,n){for(var a=t;a;a=a.parentNode){var i=ln(a.getModel().get("name"),""),o=n.getTextRect(i),s=Math.max(o.width+agt*2,r.emptyItemWidth);r.totalWidth+=s+rN,r.renderList.push({node:a,text:i,width:s})}},e.prototype._renderContent=function(t,r,n,a,i,o,s){for(var l=0,u=r.emptyItemWidth,c=t.get(["breadcrumb","height"]),d=mst(r.pos,r.box),f=r.totalWidth,p=r.renderList,h=a.getModel("itemStyle").getItemStyle(),v=p.length-1;v>=0;v--){var g=p[v],m=g.node,y=g.width,_=g.text;f>d.width&&(f-=y-u,y=u,_=null);var w=new Pa({shape:{points:ogt(l,0,y,c,v===p.length-1,v===0)},style:ht(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new er({style:_r(i,{text:_})}),textConfig:{position:"inside"},z2:Up*1e4,onclick:Rt(s,m)});w.disableLabelAnimation=!0,w.getTextContent().ensureState("emphasis").style=_r(o,{text:_}),w.ensureState("emphasis").style=h,Pr(w,a.get("focus"),a.get("blurScope"),a.get("disabled")),this.group.add(w),sgt(w,t,m),l+=y+rN}},e.prototype.remove=function(){this.group.removeAll()},e}();function ogt(e,t,r,n,a,i){var o=[[a?e:e-KS,t],[e+r,t],[e+r,t+n],[a?e:e-KS,t+n]];return!i&&o.splice(2,0,[e+r+KS,t+n/2]),!a&&o.push([e,t+n/2]),o}function sgt(e,t,r){kt(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:r&&r.dataIndex,name:r&&r.name},treePathInfo:r&&Eb(r,t)}}const lgt=igt;var ugt=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(t,r,n,a,i){return this._elExistsMap[t.id]?!1:(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:r,duration:n,delay:a,easing:i}),!0)},e.prototype.finished=function(t){return this._finishedCallback=t,this},e.prototype.start=function(){for(var t=this,r=this._storage.length,n=function(){r--,r<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},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},e}();function cgt(){return new ugt}var B6=wt,nN=Xt,aN=3,iN="label",oN="upperLabel",dgt=Up*10,fgt=Up*2,pgt=Up*3,oc=vd([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),sN=function(e){var t=oc(e);return t.stroke=t.fill=t.lineWidth=null,t},N2=Zt(),hgt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._state="ready",r._storage=Nh(),r}return t.prototype.render=function(r,n,a,i){var o=n.findComponents({mainType:"series",subType:"treemap",query:i});if(!(Bt(o,r)<0)){this.seriesModel=r,this.api=a,this.ecModel=n;var s=["treemapZoomToNode","treemapRootToNode"],l=qg(i,s,r),u=i&&i.type,c=r.layoutInfo,d=!this._oldTree,f=this._storage,p=u==="treemapRootToNode"&&l&&f?{rootNodeGroup:f.nodeGroup[l.node.getRawIndex()],direction:i.direction}:null,h=this._giveContainerGroup(c),v=r.get("animation"),g=this._doRender(h,r,p);v&&!d&&(!u||u==="treemapZoomToNode"||u==="treemapRootToNode")?this._doAnimation(h,g,r,p):g.renderFinally(),this._resetController(a),this._renderBreadcrumb(r,a,l)}},t.prototype._giveContainerGroup=function(r){var n=this._containerGroup;return n||(n=this._containerGroup=new B6,this._initEvents(n),this.group.add(n)),n.x=r.x,n.y=r.y,n},t.prototype._doRender=function(r,n,a){var i=n.getData().tree,o=this._oldTree,s=Nh(),l=Nh(),u=this._storage,c=[];function d(g,m,y,_){return vgt(n,l,u,a,s,c,g,m,y,_)}p(i.root?[i.root]:[],o&&o.root?[o.root]:[],r,i===o||!o,0);var f=h(u);return this._oldTree=i,this._storage=l,{lastsForAnimation:s,willDeleteEls:f,renderFinally:v};function p(g,m,y,_,w){_?(m=g,G(g,function(C,T){!C.isRemoved()&&S(T,T)})):new Hs(m,g,E,E).add(S).update(S).remove(Rt(S,null)).execute();function E(C){return C.getId()}function S(C,T){var x=C!=null?g[C]:null,A=T!=null?m[T]:null,k=d(x,A,y,w);k&&p(x&&x.viewChildren||[],A&&A.viewChildren||[],k,_,w+1)}}function h(g){var m=Nh();return g&&G(g,function(y,_){var w=m[_];G(y,function(E){E&&(w.push(E),N2(E).willDelete=!0)})}),m}function v(){G(f,function(g){G(g,function(m){m.parent&&m.parent.remove(m)})}),G(c,function(g){g.invisible=!0,g.dirty()})}},t.prototype._doAnimation=function(r,n,a,i){var o=a.get("animationDurationUpdate"),s=a.get("animationEasing"),l=(ft(o)?0:o)||0,u=(ft(s)?null:s)||"cubicOut",c=cgt();G(n.willDeleteEls,function(d,f){G(d,function(p,h){if(!p.invisible){var v=p.parent,g,m=N2(v);if(i&&i.direction==="drillDown")g=v===i.rootNodeGroup?{shape:{x:0,y:0,width:m.nodeWidth,height:m.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var y=0,_=0;m.willDelete||(y=m.nodeWidth/2,_=m.nodeHeight/2),g=f==="nodeGroup"?{x:y,y:_,style:{opacity:0}}:{shape:{x:y,y:_,width:0,height:0},style:{opacity:0}}}g&&c.add(p,g,l,0,u)}})}),G(this._storage,function(d,f){G(d,function(p,h){var v=n.lastsForAnimation[f][h],g={};v&&(p instanceof wt?v.oldX!=null&&(g.x=p.x,g.y=p.y,p.x=v.oldX,p.y=v.oldY):(v.oldShape&&(g.shape=Me({},p.shape),p.setShape(v.oldShape)),v.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(rt(function(){this._state="ready",n.renderFinally()},this)).start()},t.prototype._resetController=function(r){var n=this._controller;n||(n=this._controller=new zm(r.getZr()),n.enable(this.seriesModel.get("roam")),n.on("pan",rt(this._onPan,this)),n.on("zoom",rt(this._onZoom,this)));var a=new Pt(0,0,r.getWidth(),r.getHeight());n.setPointerChecker(function(i,o,s){return a.contain(o,s)})},t.prototype._clearController=function(){var r=this._controller;r&&(r.dispose(),r=null)},t.prototype._onPan=function(r){if(this._state!=="animating"&&(Math.abs(r.dx)>aN||Math.abs(r.dy)>aN)){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+r.dx,y:a.y+r.dy,width:a.width,height:a.height}})}},t.prototype._onZoom=function(r){var n=r.originX,a=r.originY;if(this._state!=="animating"){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var s=new Pt(o.x,o.y,o.width,o.height),l=this.seriesModel.layoutInfo;n-=l.x,a-=l.y;var u=Ni();Zo(u,u,[-n,-a]),Ux(u,u,[r.scale,r.scale]),Zo(u,u,[n,a]),s.applyTransform(u),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},t.prototype._initEvents=function(r){var n=this;r.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&&y2(u,c)}}}}},this)},t.prototype._renderBreadcrumb=function(r,n,a){var i=this;a||(a=r.get("leafDepth",!0)!=null?{node:r.getViewRoot()}:this.findTarget(n.getWidth()/2,n.getHeight()/2),a||(a={node:r.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new lgt(this.group))).render(r,n,a.node,function(o){i._state!=="animating"&&(t8(r.getViewRoot(),o)?i._rootToNode({node:o}):i._zoomToNode({node:o}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=Nh(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(r){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:r.node})},t.prototype._rootToNode=function(r){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:r.node})},t.prototype.findTarget=function(r,n){var 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(r,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}(wr);function Nh(){return{nodeGroup:[],background:[],content:[]}}function vgt(e,t,r,n,a,i,o,s,l,u){if(!o)return;var c=o.getLayout(),d=e.getData(),f=o.getModel();if(d.setItemGraphicEl(o.dataIndex,null),!c||!c.isInView)return;var p=c.width,h=c.height,v=c.borderWidth,g=c.invisible,m=o.getRawIndex(),y=s&&s.getRawIndex(),_=o.viewChildren,w=c.upperHeight,E=_&&_.length,S=f.getModel("itemStyle"),C=f.getModel(["emphasis","itemStyle"]),T=f.getModel(["blur","itemStyle"]),x=f.getModel(["select","itemStyle"]),A=S.get("borderRadius")||0,k=J("nodeGroup",B6);if(!k)return;if(l.add(k),k.x=c.x||0,k.y=c.y||0,k.markRedraw(),N2(k).nodeWidth=p,N2(k).nodeHeight=h,c.isAboveViewRoot)return k;var R=J("background",nN,u,fgt);R&&D(k,R,E&&c.upperLabelHeight);var M=f.getModel("emphasis"),O=M.get("focus"),z=M.get("blurScope"),B=M.get("disabled"),P=O==="ancestor"?o.getAncestorsIndices():O==="descendant"?o.getDescendantIndices():O;if(E)Ng(k)&&Ic(k,!1),R&&(Ic(R,!B),d.setItemGraphicEl(o.dataIndex,R),a6(R,P,z));else{var F=J("content",nN,u,pgt);F&&H(k,F),R.disableMorphing=!0,R&&Ng(R)&&Ic(R,!1),Ic(k,!B),d.setItemGraphicEl(o.dataIndex,k),a6(k,P,z)}return k;function D(q,j,ae){var ne=kt(j);if(ne.dataIndex=o.dataIndex,ne.seriesIndex=e.seriesIndex,j.setShape({x:0,y:0,width:p,height:h,r:A}),g)K(j);else{j.invisible=!1;var le=o.getVisual("style"),W=le.stroke,Z=sN(S);Z.fill=W;var ie=oc(C);ie.fill=C.get("borderColor");var me=oc(T);me.fill=T.get("borderColor");var be=oc(x);if(be.fill=x.get("borderColor"),ae){var ge=p-2*v;Y(j,W,le.opacity,{x:v,y:0,width:ge,height:w})}else j.removeTextContent();j.setStyle(Z),j.ensureState("emphasis").style=ie,j.ensureState("blur").style=me,j.ensureState("select").style=be,gd(j)}q.add(j)}function H(q,j){var ae=kt(j);ae.dataIndex=o.dataIndex,ae.seriesIndex=e.seriesIndex;var ne=Math.max(p-2*v,0),le=Math.max(h-2*v,0);if(j.culling=!0,j.setShape({x:v,y:v,width:ne,height:le,r:A}),g)K(j);else{j.invisible=!1;var W=o.getVisual("style"),Z=W.fill,ie=sN(S);ie.fill=Z,ie.decal=W.decal;var me=oc(C),be=oc(T),ge=oc(x);Y(j,Z,W.opacity,null),j.setStyle(ie),j.ensureState("emphasis").style=me,j.ensureState("blur").style=be,j.ensureState("select").style=ge,gd(j)}q.add(j)}function K(q){!q.invisible&&i.push(q)}function Y(q,j,ae,ne){var le=f.getModel(ne?oN:iN),W=ln(f.get("name"),null),Z=le.getShallow("show");Pn(q,vn(f,ne?oN:iN),{defaultText:Z?W:null,inheritColor:j,defaultOpacity:ae,labelFetcher:e,labelDataIndex:o.dataIndex});var ie=q.getTextContent();if(ie){var me=ie.style,be=zx(me.padding||0);ne&&(q.setTextConfig({layoutRect:ne}),ie.disableLabelLayout=!0),ie.beforeUpdate=function(){var Re=Math.max((ne?ne.width:q.shape.width)-be[1]-be[3],0),Ce=Math.max((ne?ne.height:q.shape.height)-be[0]-be[2],0);(me.width!==Re||me.height!==Ce)&&ie.setStyle({width:Re,height:Ce})},me.truncateMinChar=2,me.lineOverflow="truncate",X(me,ne,c);var ge=ie.getState("emphasis");X(ge?ge.style:null,ne,c)}}function X(q,j,ae){var ne=q?q.text:null;if(!j&&ae.isLeafRoot&&ne!=null){var le=e.get("drillDownIcon",!0);q.text=le?le+" "+ne:ne}}function J(q,j,ae,ne){var le=y!=null&&r[q][y],W=a[q];return le?(r[q][y]=null,fe(W,le)):g||(le=new j,le instanceof Pi&&(le.z2=ggt(ae,ne)),se(W,le)),t[q][m]=le}function fe(q,j){var ae=q[m]={};j instanceof B6?(ae.oldX=j.x,ae.oldY=j.y):ae.oldShape=Me({},j.shape)}function se(q,j){var ae=q[m]={},ne=o.parentNode,le=j instanceof wt;if(ne&&(!n||n.direction==="drillDown")){var W=0,Z=0,ie=a.background[ne.getRawIndex()];!n&&ie&&ie.oldShape&&(W=ie.oldShape.width,Z=ie.oldShape.height),le?(ae.oldX=0,ae.oldY=Z):ae.oldShape={x:W,y:Z,width:0,height:0}}ae.fadein=!le}}function ggt(e,t){return e*dgt+t}const mgt=hgt;var jg=G,ygt=vt,P2=-1,r8=function(){function e(t){var r=t.mappingMethod,n=t.type,a=this.option=_t(t);this.type=n,this.mappingMethod=r,this._normalizeData=wgt[r];var i=e.visualHandlers[n];this.applyVisual=i.applyVisual,this.getColorMapper=i.getColorMapper,this._normalizedToVisual=i._normalizedToVisual[r],r==="piecewise"?(YS(a),_gt(a)):r==="category"?a.categories?bgt(a):YS(a,!0):(da(r!=="linear"||a.dataExtent),YS(a))}return e.prototype.mapValueToVisual=function(t){var r=this._normalizeData(t);return this._normalizedToVisual(r,t)},e.prototype.getNormalizer=function(){return rt(this._normalizeData,this)},e.listVisualTypes=function(){return Wt(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(t,r,n){vt(t)?G(t,r,n):r.call(n,t)},e.mapVisual=function(t,r,n){var a,i=Ne(t)?[]:vt(t)?{}:(a=!0,null);return e.eachVisual(t,function(o,s){var l=r.call(n,o,s);a?i=l:i[s]=l}),i},e.retrieveVisuals=function(t){var r={},n;return t&&jg(e.visualHandlers,function(a,i){t.hasOwnProperty(i)&&(r[i]=t[i],n=!0)}),n?r:null},e.prepareVisualTypes=function(t){if(Ne(t))t=t.slice();else if(ygt(t)){var r=[];jg(t,function(n,a){r.push(a)}),t=r}else return[];return t.sort(function(n,a){return a==="color"&&n!=="color"&&n.indexOf("color")===0?1:-1}),t},e.dependsOn=function(t,r){return r==="color"?!!(t&&t.indexOf(r)===0):t===r},e.findPieceIndex=function(t,r,n){for(var a,i=1/0,o=0,s=r.length;o<s;o++){var l=r[o].value;if(l!=null){if(l===t||et(l)&&l===t+"")return o;n&&f(l,o)}}for(var o=0,s=r.length;o<s;o++){var u=r[o],c=u.interval,d=u.close;if(c){if(c[0]===-1/0){if(ay(d[1],t,c[1]))return o}else if(c[1]===1/0){if(ay(d[0],c[0],t))return o}else if(ay(d[0],c[0],t)&&ay(d[1],t,c[1]))return o;n&&f(c[0],o),n&&f(c[1],o)}}if(n)return t===1/0?r.length-1:t===-1/0?0:a;function f(p,h){var v=Math.abs(p-t);v<i&&(i=v,a=h)}},e.visualHandlers={color:{applyVisual:Ph("color"),getColorMapper:function(){var t=this.option;return rt(t.mappingMethod==="category"?function(r,n){return!n&&(r=this._normalizeData(r)),av.call(this,r)}:function(r,n,a){var i=!!a;return!n&&(r=this._normalizeData(r)),a=kw(r,t.parsedVisual,a),i?a:ks(a,"rgba")},this)},_normalizedToVisual:{linear:function(t){return ks(kw(t,this.option.parsedVisual),"rgba")},category:av,piecewise:function(t,r){var n=z6.call(this,r);return n==null&&(n=ks(kw(t,this.option.parsedVisual),"rgba")),n},fixed:sc}},colorHue:ny(function(t,r){return xv(t,r)}),colorSaturation:ny(function(t,r){return xv(t,null,r)}),colorLightness:ny(function(t,r){return xv(t,null,null,r)}),colorAlpha:ny(function(t,r){return i2(t,r)}),decal:{applyVisual:Ph("decal"),_normalizedToVisual:{linear:null,category:av,piecewise:null,fixed:null}},opacity:{applyVisual:Ph("opacity"),_normalizedToVisual:F6([0,1])},liftZ:{applyVisual:Ph("liftZ"),_normalizedToVisual:{linear:sc,category:sc,piecewise:sc,fixed:sc}},symbol:{applyVisual:function(t,r,n){var a=this.mapValueToVisual(t);n("symbol",a)},_normalizedToVisual:{linear:lN,category:av,piecewise:function(t,r){var n=z6.call(this,r);return n==null&&(n=lN.call(this,t)),n},fixed:sc}},symbolSize:{applyVisual:Ph("symbolSize"),_normalizedToVisual:F6([0,1])}},e}();function _gt(e){var t=e.pieceList;e.hasSpecialVisual=!1,G(t,function(r,n){r.originIndex=n,r.visual!=null&&(e.hasSpecialVisual=!0)})}function bgt(e){var t=e.categories,r=e.categoryMap={},n=e.visual;if(jg(t,function(o,s){r[o]=s}),!Ne(n)){var a=[];vt(n)?jg(n,function(o,s){var l=r[s];a[l??P2]=o}):a[P2]=n,n=$q(e,a)}for(var i=t.length-1;i>=0;i--)n[i]==null&&(delete r[t[i]],t.pop())}function YS(e,t){var r=e.visual,n=[];vt(r)?jg(r,function(i){n.push(i)}):r!=null&&n.push(r);var a={color:1,symbol:1};!t&&n.length===1&&!a.hasOwnProperty(e.type)&&(n[1]=n[0]),$q(e,n)}function ny(e){return{applyVisual:function(t,r,n){var a=this.mapValueToVisual(t);n("color",e(r("color"),a))},_normalizedToVisual:F6([0,1])}}function lN(e){var t=this.option.visual;return t[Math.round(lr(e,[0,1],[0,t.length-1],!0))]||{}}function Ph(e){return function(t,r,n){n(e,this.mapValueToVisual(t))}}function av(e){var t=this.option.visual;return t[this.option.loop&&e!==P2?e%t.length:e]}function sc(){return this.option.visual[0]}function F6(e){return{linear:function(t){return lr(t,e,this.option.visual,!0)},category:av,piecewise:function(t,r){var n=z6.call(this,r);return n==null&&(n=lr(t,e,this.option.visual,!0)),n},fixed:sc}}function z6(e){var t=this.option,r=t.pieceList;if(t.hasSpecialVisual){var n=r8.findPieceIndex(e,r),a=r[n];if(a&&a.visual)return a.visual[this.type]}}function $q(e,t){return e.visual=t,e.type==="color"&&(e.parsedVisual=Pe(t,function(r){var n=Za(r);return n||[0,0,0,1]})),t}var wgt={linear:function(e){return lr(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,r=r8.findPieceIndex(e,t,!0);if(r!=null)return lr(r,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return t??P2},fixed:qr};function ay(e,t,r){return e?t<=r:t<r}const Dn=r8;var Sgt="itemStyle",Bq=Zt();const Egt={seriesType:"treemap",reset:function(e){var t=e.getData().tree,r=t.root;r.isRemoved()||Fq(r,{},e.getViewRoot().getAncestors(),e)}};function Fq(e,t,r,n){var a=e.getModel(),i=e.getLayout(),o=e.hostTree.data;if(!(!i||i.invisible||!i.isInView)){var s=a.getModel(Sgt),l=Cgt(s,t,n),u=o.ensureUniqueItemVisual(e.dataIndex,"style"),c=s.get("borderColor"),d=s.get("borderColorSaturation"),f;d!=null&&(f=uN(l),c=Tgt(d,f)),u.stroke=c;var p=e.viewChildren;if(!p||!p.length)f=uN(l),u.fill=f;else{var h=xgt(e,a,i,s,l,p);G(p,function(v,g){if(v.depth>=r.length||v===r[v.depth]){var m=Agt(a,l,v,g,h,n);Fq(v,m,r,n)}})}}}function Cgt(e,t,r){var n=Me({},t),a=r.designatedVisualItemStyle;return G(["color","colorAlpha","colorSaturation"],function(i){a[i]=t[i];var o=e.get(i);a[i]=null,o!=null&&(n[i]=o)}),n}function uN(e){var t=qS(e,"color");if(t){var r=qS(e,"colorAlpha"),n=qS(e,"colorSaturation");return n&&(t=xv(t,null,null,n)),r&&(t=i2(t,r)),t}}function Tgt(e,t){return t!=null?xv(t,null,null,e):null}function qS(e,t){var r=e[t];if(r!=null&&r!=="none")return r}function xgt(e,t,r,n,a,i){if(!(!i||!i.length)){var o=jS(t,"color")||a.color!=null&&a.color!=="none"&&(jS(t,"colorAlpha")||jS(t,"colorSaturation"));if(o){var s=t.get("visualMin"),l=t.get("visualMax"),u=r.dataExtent.slice();s!=null&&s<u[0]&&(u[0]=s),l!=null&&l>u[1]&&(u[1]=l);var c=t.get("colorMappingBy"),d={type:o.name,dataExtent:u,visual:o.range};d.type==="color"&&(c==="index"||c==="id")?(d.mappingMethod="category",d.loop=!0):d.mappingMethod="linear";var f=new Dn(d);return Bq(f).drColorMappingBy=c,f}}}function jS(e,t){var r=e.get(t);return Ne(r)&&r.length?{name:t,range:r}:null}function Agt(e,t,r,n,a,i){var o=Me({},t);if(a){var s=a.type,l=s==="color"&&Bq(a).drColorMappingBy,u=l==="index"?n:l==="id"?i.mapIdToIndex(r.getId()):r.getValue(e.get("visualDimension"));o[s]=a.mapValueToVisual(u)}return o}var Xg=Math.max,$2=Math.min,cN=wn,n8=G,zq=["itemStyle","borderWidth"],kgt=["itemStyle","gapWidth"],Igt=["upperLabel","show"],Rgt=["upperLabel","height"];const Mgt={seriesType:"treemap",reset:function(e,t,r,n){var a=r.getWidth(),i=r.getHeight(),o=e.option,s=cn(e.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()}),l=o.size||[],u=Ze(cN(s.width,l[0]),a),c=Ze(cN(s.height,l[1]),i),d=n&&n.type,f=["treemapZoomToNode","treemapRootToNode"],p=qg(n,f,e),h=d==="treemapRender"||d==="treemapMove"?n.rootRect:null,v=e.getViewRoot(),g=Oq(v);if(d!=="treemapMove"){var m=d==="treemapZoomToNode"?$gt(e,p,v,u,c):h?[h.width,h.height]:[u,c],y=o.sort;y&&y!=="asc"&&y!=="desc"&&(y="desc");var _={squareRatio:o.squareRatio,sort:y,leafDepth:o.leafDepth};v.hostTree.clearLayouts();var w={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};v.setLayout(w),Vq(v,_,!1,0),w=v.getLayout(),n8(g,function(S,C){var T=(g[C+1]||v).getValue();S.setLayout(Me({dataExtent:[T,T],borderWidth:0,upperHeight:0},w))})}var E=e.getData().tree.root;E.setLayout(Bgt(s,h,p),!0),e.setLayoutInfo(s),Hq(E,new Pt(-s.x,-s.y,a,i),g,v,0)}};function Vq(e,t,r,n){var a,i;if(!e.isRemoved()){var o=e.getLayout();a=o.width,i=o.height;var s=e.getModel(),l=s.get(zq),u=s.get(kgt)/2,c=Uq(s),d=Math.max(l,c),f=l-u,p=d-u;e.setLayout({borderWidth:l,upperHeight:d,upperLabelHeight:c},!0),a=Xg(a-2*f,0),i=Xg(i-f-p,0);var h=a*i,v=Lgt(e,s,h,t,r,n);if(v.length){var g={x:f,y:p,width:a,height:i},m=$2(a,i),y=1/0,_=[];_.area=0;for(var w=0,E=v.length;w<E;){var S=v[w];_.push(S),_.area+=S.getLayout().area;var C=Pgt(_,m,t.squareRatio);C<=y?(w++,y=C):(_.area-=_.pop().getLayout().area,dN(_,m,g,u,!1),m=$2(g.width,g.height),_.length=_.area=0,y=1/0)}if(_.length&&dN(_,m,g,u,!0),!r){var T=s.get("childrenVisibleMin");T!=null&&h<T&&(r=!0)}for(var w=0,E=v.length;w<E;w++)Vq(v[w],t,r,n+1)}}}function Lgt(e,t,r,n,a,i){var o=e.children||[],s=n.sort;s!=="asc"&&s!=="desc"&&(s=null);var l=n.leafDepth!=null&&n.leafDepth<=i;if(a&&!l)return e.viewChildren=[];o=ur(o,function(p){return!p.isRemoved()}),Ogt(o,s);var u=Ngt(t,o,s);if(u.sum===0)return e.viewChildren=[];if(u.sum=Dgt(t,r,u.sum,s,o),u.sum===0)return e.viewChildren=[];for(var c=0,d=o.length;c<d;c++){var f=o[c].getValue()/u.sum*r;o[c].setLayout({area:f})}return l&&(o.length&&e.setLayout({isLeafRoot:!0},!0),o.length=0),e.viewChildren=o,e.setLayout({dataExtent:u.dataExtent},!0),o}function Dgt(e,t,r,n,a){if(!n)return r;for(var i=e.get("visibleMin"),o=a.length,s=o,l=o-1;l>=0;l--){var u=a[n==="asc"?o-l-1:l].getValue();u/r*t<i&&(s=l,r-=u)}return n==="asc"?a.splice(0,o-s):a.splice(s,o-s),r}function Ogt(e,t){return t&&e.sort(function(r,n){var a=t==="asc"?r.getValue()-n.getValue():n.getValue()-r.getValue();return a===0?t==="asc"?r.dataIndex-n.dataIndex:n.dataIndex-r.dataIndex:a}),e}function Ngt(e,t,r){for(var n=0,a=0,i=t.length;a<i;a++)n+=t[a].getValue();var o=e.get("visualDimension"),s;return!t||!t.length?s=[NaN,NaN]:o==="value"&&r?(s=[t[t.length-1].getValue(),t[0].getValue()],r==="asc"&&s.reverse()):(s=[1/0,-1/0],n8(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 Pgt(e,t,r){for(var n=0,a=1/0,i=0,o=void 0,s=e.length;i<s;i++)o=e[i].getLayout().area,o&&(o<a&&(a=o),o>n&&(n=o));var l=e.area*e.area,u=t*t*r;return l?Xg(u*n/l,l/(u*a)):1/0}function dN(e,t,r,n,a){var i=t===r.width?0:1,o=1-i,s=["x","y"],l=["width","height"],u=r[s[i]],c=t?e.area/t:0;(a||c>r[l[o]])&&(c=r[l[o]]);for(var d=0,f=e.length;d<f;d++){var p=e[d],h={},v=c?p.getLayout().area/c:0,g=h[l[o]]=Xg(c-2*n,0),m=r[s[i]]+r[l[i]]-u,y=d===f-1||m<v?m:v,_=h[l[i]]=Xg(y-2*n,0);h[s[o]]=r[s[o]]+$2(n,g/2),h[s[i]]=u+$2(n,_/2),u+=y,p.setLayout(h,!0)}r[s[o]]+=c,r[l[o]]-=c}function $gt(e,t,r,n,a){var i=(t||{}).node,o=[n,a];if(!i||i===r)return o;for(var s,l=n*a,u=l*e.option.zoomToNodeRatio;s=i.parentNode;){for(var c=0,d=s.children,f=0,p=d.length;f<p;f++)c+=d[f].getValue();var h=i.getValue();if(h===0)return o;u*=c/h;var v=s.getModel(),g=v.get(zq),m=Math.max(g,Uq(v));u+=4*g*g+(3*g+m)*Math.pow(u,.5),u>SL&&(u=SL),i=s}u<l&&(u=l);var y=Math.pow(u/l,.5);return[n*y,a*y]}function Bgt(e,t,r){if(t)return{x:t.x,y:t.y};var n={x:0,y:0};if(!r)return n;var a=r.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:e.width/2-o[0],y:e.height/2-o[1]}}function Hq(e,t,r,n,a){var i=e.getLayout(),o=r[a],s=o&&o===e;if(!(o&&!s||a===r.length&&e!==n)){e.setLayout({isInView:!0,invisible:!s&&!t.intersect(i),isAboveViewRoot:s},!0);var l=new Pt(t.x-i.x,t.y-i.y,t.width,t.height);n8(e.viewChildren||[],function(u){Hq(u,l,r,n,a+1)})}}function Uq(e){return e.get(Igt)?e.get(Rgt):0}function Fgt(e){e.registerSeriesModel(ngt),e.registerChartView(mgt),e.registerVisual(Egt),e.registerLayout(Mgt),egt(e)}function zgt(e){var t=e.findComponents({mainType:"legend"});!t||!t.length||e.eachSeriesByType("graph",function(r){var n=r.getCategoriesData(),a=r.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){tr(u)&&(u=o[u]);for(var c=0;c<t.length;c++)if(!t[c].isSelected(u))return!1}return!0})})}function Vgt(e){var t={};e.eachSeriesByType("graph",function(r){var n=r.getCategoriesData(),a=r.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=r.getColorFromPalette(s,t)),n.setItemVisual(o,"style",u);for(var c=["symbol","symbolSize","symbolKeepAspect"],d=0;d<c.length;d++){var f=l.getShallow(c[d],!0);f!=null&&n.setItemVisual(o,c[d],f)}}),n.count()&&a.each(function(o){var s=a.getItemModel(o),l=s.getShallow("category");if(l!=null){et(l)&&(l=i["ec-"+l]);var u=n.getItemVisual(l,"style"),c=a.ensureUniqueItemVisual(o,"style");Me(c,u);for(var d=["symbol","symbolSize","symbolKeepAspect"],f=0;f<d.length;f++)a.setItemVisual(o,d[f],n.getItemVisual(l,d[f]))}})})}function iy(e){return e instanceof Array||(e=[e,e]),e}function Hgt(e){e.eachSeriesByType("graph",function(t){var r=t.getGraph(),n=t.getEdgeData(),a=iy(t.get("edgeSymbol")),i=iy(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=r.getEdgeByIndex(o),u=iy(s.getShallow("symbol",!0)),c=iy(s.getShallow("symbolSize",!0)),d=s.getModel("lineStyle").getLineStyle(),f=n.ensureUniqueItemVisual(o,"style");switch(Me(f,d),f.stroke){case"source":{var p=l.node1.getVisual("style");f.stroke=p&&p.fill;break}case"target":{var p=l.node2.getVisual("style");f.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 V6="-->",Cb=function(e){return e.get("autoCurveness")||null},Gq=function(e,t){var r=Cb(e),n=20,a=[];if(tr(r))n=r;else if(Ne(r)){e.__curvenessList=r;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));e.__curvenessList=a},Zg=function(e,t,r){var n=[e.id,e.dataIndex].join("."),a=[t.id,t.dataIndex].join(".");return[r.uid,n,a].join(V6)},Wq=function(e){var t=e.split(V6);return[t[0],t[2],t[1]].join(V6)},Ugt=function(e,t){var r=Zg(e.node1,e.node2,t);return t.__edgeMap[r]},Ggt=function(e,t){var r=H6(Zg(e.node1,e.node2,t),t),n=H6(Zg(e.node2,e.node1,t),t);return r+n},H6=function(e,t){var r=t.__edgeMap;return r[e]?r[e].length:0};function Wgt(e){Cb(e)&&(e.__curvenessList=[],e.__edgeMap={},Gq(e))}function Kgt(e,t,r,n){if(Cb(r)){var a=Zg(e,t,r),i=r.__edgeMap,o=i[Wq(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 a8(e,t,r,n){var a=Cb(t),i=Ne(a);if(!a)return null;var o=Ugt(e,t);if(!o)return null;for(var s=-1,l=0;l<o.length;l++)if(o[l]===r){s=l;break}var u=Ggt(e,t);Gq(t,u),e.lineStyle=e.lineStyle||{};var c=Zg(e.node1,e.node2,t),d=t.__curvenessList,f=i||u%2?0:1;if(o.isForward)return d[f+s];var p=Wq(c),h=H6(p,t),v=d[s+h+f];return n?i?a&&a[0]===0?(h+f)%2?v:-v:((h%2?0:1)+f)%2?v:-v:(h+f)%2?v:-v:d[s+h+f]}function Kq(e){var t=e.coordinateSystem;if(!(t&&t.type!=="view")){var r=e.getGraph();r.eachNode(function(n){var a=n.getModel();n.setLayout([+a.get("x"),+a.get("y")])}),i8(r,e)}}function i8(e,t){e.eachEdge(function(r,n){var a=Ho(r.getModel().get(["lineStyle","curveness"]),-a8(r,t,n,!0),0),i=xs(r.node1.getLayout()),o=xs(r.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]),r.setLayout(s)})}function Ygt(e,t){e.eachSeriesByType("graph",function(r){var n=r.get("layout"),a=r.coordinateSystem;if(a&&a.type!=="view"){var i=r.getData(),o=[];G(a.dimensions,function(f){o=o.concat(i.mapDimensionsAll(f))});for(var s=0;s<i.count();s++){for(var l=[],u=!1,c=0;c<o.length;c++){var d=i.get(o[c],s);isNaN(d)||(u=!0),l.push(d)}u?i.setItemLayout(s,a.dataToPoint(l)):i.setItemLayout(s,[NaN,NaN])}i8(i.graph,r)}else(!n||n==="none")&&Kq(r)})}function iv(e){var t=e.coordinateSystem;if(t.type!=="view")return 1;var r=e.option.nodeScaleRatio,n=t.scaleX,a=t.getZoom(),i=(a-1)*r+1;return i/n}function ov(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var fN=Math.PI,XS=[];function o8(e,t,r,n){var a=e.coordinateSystem;if(!(a&&a.type!=="view")){var i=a.getBoundingRect(),o=e.getData(),s=o.graph,l=i.width/2+i.x,u=i.height/2+i.y,c=Math.min(i.width,i.height)/2,d=o.count();if(o.setLayout({cx:l,cy:u}),!!d){if(r){var f=a.pointToData(n),p=f[0],h=f[1],v=[p-l,h-u];zp(v,v),Jy(v,v,c),r.setLayout([l+v[0],u+v[1]],!0);var g=e.get(["circular","rotateLabel"]);Yq(r,g,l,u)}qgt[t](e,s,o,c,l,u,d),s.eachEdge(function(m,y){var _=Ho(m.getModel().get(["lineStyle","curveness"]),a8(m,e,y),0),w=xs(m.node1.getLayout()),E=xs(m.node2.getLayout()),S,C=(w[0]+E[0])/2,T=(w[1]+E[1])/2;+_&&(_*=3,S=[l*_+C*(1-_),u*_+T*(1-_)]),m.setLayout([w,E,S])})}}}var qgt={value:function(e,t,r,n,a,i,o){var s=0,l=r.getSum("value"),u=Math.PI*2/(l||o);t.eachNode(function(c){var d=c.getValue("value"),f=u*(l?d:1)/2;s+=f,c.setLayout([n*Math.cos(s)+a,n*Math.sin(s)+i]),s+=f})},symbolSize:function(e,t,r,n,a,i,o){var s=0;XS.length=o;var l=iv(e);t.eachNode(function(d){var f=ov(d);isNaN(f)&&(f=2),f<0&&(f=0),f*=l;var p=Math.asin(f/2/n);isNaN(p)&&(p=fN/2),XS[d.dataIndex]=p,s+=p*2});var u=(2*fN-s)/o/2,c=0;t.eachNode(function(d){var f=u+XS[d.dataIndex];c+=f,(!d.getLayout()||!d.getLayout().fixed)&&d.setLayout([n*Math.cos(c)+a,n*Math.sin(c)+i]),c+=f})}};function Yq(e,t,r,n){var a=e.getGraphicEl();if(a){var i=e.getModel(),o=i.get(["label","rotate"])||0,s=a.getSymbolPath();if(t){var l=e.getLayout(),u=Math.atan2(l[1]-n,l[0]-r);u<0&&(u=Math.PI*2+u);var c=l[0]<r;c&&(u=u-Math.PI);var d=c?"left":"right";s.setTextConfig({rotation:-u,position:d,origin:"center"});var f=s.ensureState("emphasis");Me(f.textConfig||(f.textConfig={}),{position:d})}else s.setTextConfig({rotation:o*=Math.PI/180})}}function jgt(e){e.eachSeriesByType("graph",function(t){t.get("layout")==="circular"&&o8(t,"symbolSize")})}var tf=RE;function Xgt(e,t,r){for(var n=e,a=t,i=r.rect,o=i.width,s=i.height,l=[i.x+o/2,i.y+s/2],u=r.gravity==null?.1:r.gravity,c=0;c<n.length;c++){var d=n[c];d.p||(d.p=kd(o*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),d.pp=xs(d.p),d.edges=null}var f=r.friction==null?.6:r.friction,p=f,h,v;return{warmUp:function(){p=f*.8},setFixed:function(g){n[g].fixed=!0},setUnfixed:function(g){n[g].fixed=!1},beforeStep:function(g){h=g},afterStep:function(g){v=g},step:function(g){h&&h(n,a);for(var m=[],y=n.length,_=0;_<a.length;_++){var w=a[_];if(!w.ignoreForceLayout){var E=w.n1,S=w.n2;Ac(m,S.p,E.p);var C=ME(m)-w.d,T=S.w/(E.w+S.w);isNaN(T)&&(T=0),zp(m,m),!E.fixed&&tf(E.p,E.p,m,T*C*p),!S.fixed&&tf(S.p,S.p,m,-(1-T)*C*p)}}for(var _=0;_<y;_++){var x=n[_];x.fixed||(Ac(m,l,x.p),tf(x.p,x.p,m,u*p))}for(var _=0;_<y;_++)for(var E=n[_],A=_+1;A<y;A++){var S=n[A];Ac(m,S.p,E.p);var C=ME(m);C===0&&(ont(m,Math.random()-.5,Math.random()-.5),C=1);var k=(E.rep+S.rep)/C/C;!E.fixed&&tf(E.pp,E.pp,m,k),!S.fixed&&tf(S.pp,S.pp,m,-k)}for(var R=[],_=0;_<y;_++){var x=n[_];x.fixed||(Ac(R,x.p,x.pp),tf(x.p,x.p,R,p),ea(x.pp,x.p))}p=p*.992;var M=p<.01;v&&v(n,a,M),g&&g(M)}}}function Zgt(e){e.eachSeriesByType("graph",function(t){var r=t.coordinateSystem;if(!(r&&r.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(_){var w=i.getId(_);i.setItemLayout(_,n[w]||[NaN,NaN])}):!l||l==="none"?Kq(t):l==="circular"&&o8(t,"value");var u=i.getDataExtent("value"),c=o.getDataExtent("value"),d=s.get("repulsion"),f=s.get("edgeLength"),p=Ne(d)?d:[d,d],h=Ne(f)?f:[f,f];h=[h[1],h[0]];var v=i.mapArray("value",function(_,w){var E=i.getItemLayout(w),S=lr(_,u,p);return isNaN(S)&&(S=(p[0]+p[1])/2),{w:S,rep:S,fixed:i.getItemModel(w).get("fixed"),p:!E||isNaN(E[0])||isNaN(E[1])?null:E}}),g=o.mapArray("value",function(_,w){var E=a.getEdgeByIndex(w),S=lr(_,c,h);isNaN(S)&&(S=(h[0]+h[1])/2);var C=E.getModel(),T=Ho(E.getModel().get(["lineStyle","curveness"]),-a8(E,t,w,!0),0);return{n1:v[E.node1.dataIndex],n2:v[E.node2.dataIndex],d:S,curveness:T,ignoreForceLayout:C.get("ignoreForceLayout")}}),m=r.getBoundingRect(),y=Xgt(v,g,{rect:m,gravity:s.get("gravity"),friction:s.get("friction")});y.beforeStep(function(_,w){for(var E=0,S=_.length;E<S;E++)_[E].fixed&&ea(_[E].p,a.getNodeByIndex(E).getLayout())}),y.afterStep(function(_,w,E){for(var S=0,C=_.length;S<C;S++)_[S].fixed||a.getNodeByIndex(S).setLayout(_[S].p),n[i.getId(S)]=_[S].p;for(var S=0,C=w.length;S<C;S++){var T=w[S],x=a.getEdgeByIndex(S),A=T.n1.p,k=T.n2.p,R=x.getLayout();R=R?R.slice():[],R[0]=R[0]||[],R[1]=R[1]||[],ea(R[0],A),ea(R[1],k),+T.curveness&&(R[2]=[(A[0]+k[0])/2-(A[1]-k[1])*T.curveness,(A[1]+k[1])/2-(k[0]-A[0])*T.curveness]),x.setLayout(R)}}),t.forceLayout=y,t.preservedPoints=n,y.step()}else t.forceLayout=null})}function Qgt(e,t,r){var n=Me(e.getBoxLayoutParams(),{aspect:r});return cn(n,{width:t.getWidth(),height:t.getHeight()})}function Jgt(e,t){var r=[];return e.eachSeriesByType("graph",function(n){var a=n.get("coordinateSystem");if(!a||a==="view"){var i=n.getData(),o=i.mapArray(function(g){var m=i.getItemModel(g);return[+m.get("x"),+m.get("y")]}),s=[],l=[];Z_(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=Qgt(n,t,u);isNaN(u)&&(s=[c.x,c.y],l=[c.x+c.width,c.y+c.height]);var d=l[0]-s[0],f=l[1]-s[1],p=c.width,h=c.height,v=n.coordinateSystem=new Vm;v.zoomLimit=n.get("scaleLimit"),v.setBoundingRect(s[0],s[1],d,f),v.setViewRect(c.x,c.y,p,h),v.setCenter(n.get("center"),t),v.setZoom(n.get("zoom")),r.push(v)}}),r}var pN=Sn.prototype,ZS=tb.prototype,qq=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}();(function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t})(qq);function QS(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var emt=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-line",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new qq},t.prototype.buildPath=function(r,n){QS(n)?pN.buildPath.call(this,r,n):ZS.buildPath.call(this,r,n)},t.prototype.pointAt=function(r){return QS(this.shape)?pN.pointAt.call(this,r):ZS.pointAt.call(this,r)},t.prototype.tangentAt=function(r){var n=this.shape,a=QS(n)?[n.x2-n.x1,n.y2-n.y1]:ZS.tangentAt.call(this,r);return zp(a,a)},t}(Vt);const tmt=emt;var JS=["fromSymbol","toSymbol"];function hN(e){return"_"+e+"Type"}function vN(e,t,r){var n=t.getItemVisual(r,e);if(!n||n==="none")return n;var a=t.getItemVisual(r,e+"Size"),i=t.getItemVisual(r,e+"Rotate"),o=t.getItemVisual(r,e+"Offset"),s=t.getItemVisual(r,e+"KeepAspect"),l=eh(a),u=Md(o||0,l);return n+l+u+(i||"")+(s||"")}function gN(e,t,r){var n=t.getItemVisual(r,e);if(!(!n||n==="none")){var a=t.getItemVisual(r,e+"Size"),i=t.getItemVisual(r,e+"Rotate"),o=t.getItemVisual(r,e+"Offset"),s=t.getItemVisual(r,e+"KeepAspect"),l=eh(a),u=Md(o||0,l),c=an(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=e,c}}function rmt(e){var t=new tmt({name:"line",subPixelOptimize:!0});return U6(t.shape,e),t}function U6(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var r=t[2];r?(e.cpx1=r[0],e.cpy1=r[1]):(e.cpx1=NaN,e.cpy1=NaN)}var nmt=function(e){ye(t,e);function t(r,n,a){var i=e.call(this)||this;return i._createLine(r,n,a),i}return t.prototype._createLine=function(r,n,a){var i=r.hostModel,o=r.getItemLayout(n),s=rmt(o);s.shape.percent=0,Ar(s,{shape:{percent:1}},i,n),this.add(s),G(JS,function(l){var u=gN(l,r,n);this.add(u),this[hN(l)]=vN(l,r,n)},this),this._updateCommonStl(r,n,a)},t.prototype.updateData=function(r,n,a){var i=r.hostModel,o=this.childOfName("line"),s=r.getItemLayout(n),l={shape:{}};U6(l.shape,s),rr(o,l,i,n),G(JS,function(u){var c=vN(u,r,n),d=hN(u);if(this[d]!==c){this.remove(this.childOfName(u));var f=gN(u,r,n);this.add(f)}this[d]=c},this),this._updateCommonStl(r,n,a)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(r,n,a){var i=r.hostModel,o=this.childOfName("line"),s=a&&a.emphasisLineStyle,l=a&&a.blurLineStyle,u=a&&a.selectLineStyle,c=a&&a.labelStatesModels,d=a&&a.emphasisDisabled,f=a&&a.focus,p=a&&a.blurScope;if(!a||r.hasItemOption){var h=r.getItemModel(n),v=h.getModel("emphasis");s=v.getModel("lineStyle").getLineStyle(),l=h.getModel(["blur","lineStyle"]).getLineStyle(),u=h.getModel(["select","lineStyle"]).getLineStyle(),d=v.get("disabled"),f=v.get("focus"),p=v.get("blurScope"),c=vn(h)}var g=r.getItemVisual(n,"style"),m=g.stroke;o.useStyle(g),o.style.fill=null,o.style.strokeNoScale=!0,o.ensureState("emphasis").style=s,o.ensureState("blur").style=l,o.ensureState("select").style=u,G(JS,function(S){var C=this.childOfName(S);if(C){C.setColor(m),C.style.opacity=g.opacity;for(var T=0;T<fa.length;T++){var x=fa[T],A=o.getState(x);if(A){var k=A.style||{},R=C.ensureState(x),M=R.style||(R.style={});k.stroke!=null&&(M[C.__isEmptyBrush?"stroke":"fill"]=k.stroke),k.opacity!=null&&(M.opacity=k.opacity)}}C.markRedraw()}},this);var y=i.getRawValue(n);Pn(this,c,{labelDataIndex:n,labelFetcher:{getFormattedLabel:function(S,C){return i.getFormattedLabel(S,C,r.dataType)}},inheritColor:m||"#000",defaultOpacity:g.opacity,defaultText:(y==null?r.getName(n):isFinite(y)?Vr(y):y)+""});var _=this.getTextContent();if(_){var w=c.normal;_.__align=_.style.align,_.__verticalAlign=_.style.verticalAlign,_.__position=w.get("position")||"middle";var E=w.get("distance");Ne(E)||(E=[E,E]),_.__labelDistance=E}this.setTextConfig({position:null,local:!0,inside:!1}),Pr(this,f,p,d)},t.prototype.highlight=function(){zs(this)},t.prototype.downplay=function(){Vs(this)},t.prototype.updateLayout=function(r,n){this.setLinePoints(r.getItemLayout(n))},t.prototype.setLinePoints=function(r){var n=this.childOfName("line");U6(n.shape,r),n.dirty()},t.prototype.beforeUpdate=function(){var r=this,n=r.childOfName("fromSymbol"),a=r.childOfName("toSymbol"),i=r.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=r.childOfName("line");if(!this.__dirty&&!l.__dirty)return;var u=l.shape.percent,c=l.pointAt(0),d=l.pointAt(u),f=Ac([],d,c);zp(f,f);function p(A,k){var R=A.__specifiedRotation;if(R==null){var M=l.tangentAt(k);A.attr("rotation",(k===1?-1:1)*Math.PI/2-Math.atan2(M[1],M[0]))}else A.attr("rotation",R)}if(n&&(n.setPosition(c),p(n,0),n.scaleX=n.scaleY=o*u,n.markRedraw()),a&&(a.setPosition(d),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 h=void 0,v=void 0,g=i.__labelDistance,m=g[0]*o,y=g[1]*o,_=u/2,w=l.tangentAt(_),E=[w[1],-w[0]],S=l.pointAt(_);E[1]>0&&(E[0]=-E[0],E[1]=-E[1]);var C=w[0]<0?-1:1;if(i.__position!=="start"&&i.__position!=="end"){var T=-Math.atan2(w[1],w[0]);d[0]<c[0]&&(T=Math.PI+T),i.rotation=T}var x=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":x=-y,v="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":x=y,v="top";break;default:x=0,v="middle"}switch(i.__position){case"end":i.x=f[0]*m+d[0],i.y=f[1]*y+d[1],h=f[0]>.8?"left":f[0]<-.8?"right":"center",v=f[1]>.8?"top":f[1]<-.8?"bottom":"middle";break;case"start":i.x=-f[0]*m+c[0],i.y=-f[1]*y+c[1],h=f[0]>.8?"right":f[0]<-.8?"left":"center",v=f[1]>.8?"bottom":f[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=m*C+c[0],i.y=c[1]+x,h=w[0]<0?"right":"left",i.originX=-m*C,i.originY=-x;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=S[0],i.y=S[1]+x,h="center",i.originY=-x;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-m*C+d[0],i.y=d[1]+x,h=w[0]>=0?"right":"left",i.originX=m*C,i.originY=-x;break}i.scaleX=i.scaleY=o,i.setStyle({verticalAlign:i.__verticalAlign||v,align:i.__align||h})}},t}(wt);const s8=nmt;var amt=function(){function e(t){this.group=new wt,this._LineCtor=t||s8}return e.prototype.updateData=function(t){var r=this;this._progressiveEls=null;var n=this,a=n.group,i=n._lineData;n._lineData=t,i||a.removeAll();var o=mN(t);t.diff(i).add(function(s){r._doAdd(t,s,o)}).update(function(s,l){r._doUpdate(i,t,l,s,o)}).remove(function(s){a.remove(i.getItemGraphicEl(s))}).execute()},e.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(r,n){r.updateLayout(t,n)},this)},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=mN(t),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,r){this._progressiveEls=[];function n(s){!s.isGroup&&!imt(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var a=t.start;a<t.end;a++){var i=r.getItemLayout(a);if(e4(i)){var o=new this._LineCtor(r,a,this._seriesScope);o.traverse(n),this.group.add(o),r.setItemGraphicEl(a,o),this._progressiveEls.push(o)}}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(t){wu(this._progressiveEls||this.group,t)},e.prototype._doAdd=function(t,r,n){var a=t.getItemLayout(r);if(e4(a)){var i=new this._LineCtor(t,r,n);t.setItemGraphicEl(r,i),this.group.add(i)}},e.prototype._doUpdate=function(t,r,n,a,i){var o=t.getItemGraphicEl(n);if(!e4(r.getItemLayout(a))){this.group.remove(o);return}o?o.updateData(r,a,i):o=new this._LineCtor(r,a,i),r.setItemGraphicEl(a,o),this.group.add(o)},e}();function imt(e){return e.animators&&e.animators.length>0}function mN(e){var t=e.hostModel,r=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:r.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:r.get("disabled"),blurScope:r.get("blurScope"),focus:r.get("focus"),labelStatesModels:vn(t)}}function yN(e){return isNaN(e[0])||isNaN(e[1])}function e4(e){return e&&!yN(e[0])&&!yN(e[1])}const l8=amt;var t4=[],r4=[],n4=[],rf=yn,a4=Kc,_N=Math.abs;function bN(e,t,r){for(var n=e[0],a=e[1],i=e[2],o=1/0,s,l=r*r,u=.1,c=.1;c<=.9;c+=.1){t4[0]=rf(n[0],a[0],i[0],c),t4[1]=rf(n[1],a[1],i[1],c);var d=_N(a4(t4,t)-l);d<o&&(o=d,s=c)}for(var f=0;f<32;f++){var p=s+u;r4[0]=rf(n[0],a[0],i[0],s),r4[1]=rf(n[1],a[1],i[1],s),n4[0]=rf(n[0],a[0],i[0],p),n4[1]=rf(n[1],a[1],i[1],p);var d=a4(r4,t)-l;if(_N(d)<.01)break;var h=a4(n4,t)-l;u/=2,d<0?h>=0?s=s+u:s=s-u:h>=0?s=s-u:s=s+u}return s}function i4(e,t){var r=[],n=Ig,a=[[],[],[]],i=[[],[]],o=[];t/=2,e.eachEdge(function(s,l){var u=s.getLayout(),c=s.getVisual("fromSymbol"),d=s.getVisual("toSymbol");u.__original||(u.__original=[xs(u[0]),xs(u[1])],u[2]&&u.__original.push(xs(u[2])));var f=u.__original;if(u[2]!=null){if(ea(a[0],f[0]),ea(a[1],f[2]),ea(a[2],f[1]),c&&c!=="none"){var p=ov(s.node1),h=bN(a,f[0],p*t);n(a[0][0],a[1][0],a[2][0],h,r),a[0][0]=r[3],a[1][0]=r[4],n(a[0][1],a[1][1],a[2][1],h,r),a[0][1]=r[3],a[1][1]=r[4]}if(d&&d!=="none"){var p=ov(s.node2),h=bN(a,f[1],p*t);n(a[0][0],a[1][0],a[2][0],h,r),a[1][0]=r[1],a[2][0]=r[2],n(a[0][1],a[1][1],a[2][1],h,r),a[1][1]=r[1],a[2][1]=r[2]}ea(u[0],a[0]),ea(u[1],a[2]),ea(u[2],a[1])}else{if(ea(i[0],f[0]),ea(i[1],f[1]),Ac(o,i[1],i[0]),zp(o,o),c&&c!=="none"){var p=ov(s.node1);RE(i[0],i[0],o,p*t)}if(d&&d!=="none"){var p=ov(s.node2);RE(i[1],i[1],o,-p*t)}ea(u[0],i[0]),ea(u[1],i[1])}})}function wN(e){return e.type==="view"}var omt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n){var a=new Pm,i=new l8,o=this.group;this._controller=new zm(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(r,n,a){var i=this,o=r.coordinateSystem;this._model=r;var s=this._symbolDraw,l=this._lineDraw,u=this.group;if(wN(o)){var c={x:o.x,y:o.y,scaleX:o.scaleX,scaleY:o.scaleY};this._firstRender?u.attr(c):rr(u,c,r)}i4(r.getGraph(),iv(r));var d=r.getData();s.updateData(d);var f=r.getEdgeData();l.updateData(f),this._updateNodeAndLinkScale(),this._updateController(r,n,a),clearTimeout(this._layoutTimeout);var p=r.forceLayout,h=r.get(["force","layoutAnimation"]);p&&this._startForceLayoutIteration(p,h);var v=r.get("layout");d.graph.eachNode(function(_){var w=_.dataIndex,E=_.getGraphicEl(),S=_.getModel();if(E){E.off("drag").off("dragend");var C=S.get("draggable");C&&E.on("drag",function(x){switch(v){case"force":p.warmUp(),!i._layouting&&i._startForceLayoutIteration(p,h),p.setFixed(w),d.setItemLayout(w,[E.x,E.y]);break;case"circular":d.setItemLayout(w,[E.x,E.y]),_.setLayout({fixed:!0},!0),o8(r,"symbolSize",_,[x.offsetX,x.offsetY]),i.updateLayout(r);break;case"none":default:d.setItemLayout(w,[E.x,E.y]),i8(r.getGraph(),r),i.updateLayout(r);break}}).on("dragend",function(){p&&p.setUnfixed(w)}),E.setDraggable(C,!!S.get("cursor"));var T=S.get(["emphasis","focus"]);T==="adjacency"&&(kt(E).focus=_.getAdjacentDataIndices())}}),d.graph.eachEdge(function(_){var w=_.getGraphicEl(),E=_.getModel().get(["emphasis","focus"]);w&&E==="adjacency"&&(kt(w).focus={edge:[_.dataIndex],node:[_.node1.dataIndex,_.node2.dataIndex]})});var g=r.get("layout")==="circular"&&r.get(["circular","rotateLabel"]),m=d.getLayout("cx"),y=d.getLayout("cy");d.graph.eachNode(function(_){Yq(_,g,m,y)}),this._firstRender=!1},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(r,n){var a=this;(function i(){r.step(function(o){a.updateLayout(a._model),(a._layouting=!o)&&(n?a._layoutTimeout=setTimeout(i,16):i())})})()},t.prototype._updateController=function(r,n,a){var i=this,o=this._controller,s=this._controllerHost,l=this.group;if(o.setPointerChecker(function(u,c,d){var f=l.getBoundingRect();return f.applyTransform(l.transform),f.contain(c,d)&&!wb(u,a,r)}),!wN(r.coordinateSystem)){o.disable();return}o.enable(r.get("roam")),s.zoomLimit=r.get("scaleLimit"),s.zoom=r.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(u){jA(s,u.dx,u.dy),a.dispatchAction({seriesId:r.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){XA(s,u.scale,u.originX,u.originY),a.dispatchAction({seriesId:r.id,type:"graphRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),i._updateNodeAndLinkScale(),i4(r.getGraph(),iv(r)),i._lineDraw.updateLayout(),a.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(){var r=this._model,n=r.getData(),a=iv(r);n.eachItemGraphicEl(function(i,o){i&&i.setSymbolScale(a)})},t.prototype.updateLayout=function(r){i4(r.getGraph(),iv(r)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(r,n){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(wr);const smt=omt;function nf(e){return"_EC_"+e}var lmt=function(){function e(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(t,r){t=t==null?""+r:""+t;var n=this._nodesMap;if(!n[nf(t)]){var a=new lc(t,r);return a.hostGraph=this,this.nodes.push(a),n[nf(t)]=a,a}},e.prototype.getNodeByIndex=function(t){var r=this.data.getRawIndex(t);return this.nodes[r]},e.prototype.getNodeById=function(t){return this._nodesMap[nf(t)]},e.prototype.addEdge=function(t,r,n){var a=this._nodesMap,i=this._edgesMap;if(tr(t)&&(t=this.nodes[t]),tr(r)&&(r=this.nodes[r]),t instanceof lc||(t=a[nf(t)]),r instanceof lc||(r=a[nf(r)]),!(!t||!r)){var o=t.id+"-"+r.id,s=new jq(t,r,n);return s.hostGraph=this,this._directed&&(t.outEdges.push(s),r.inEdges.push(s)),t.edges.push(s),t!==r&&r.edges.push(s),this.edges.push(s),i[o]=s,s}},e.prototype.getEdgeByIndex=function(t){var r=this.edgeData.getRawIndex(t);return this.edges[r]},e.prototype.getEdge=function(t,r){t instanceof lc&&(t=t.id),r instanceof lc&&(r=r.id);var n=this._edgesMap;return this._directed?n[t+"-"+r]:n[t+"-"+r]||n[r+"-"+t]},e.prototype.eachNode=function(t,r){for(var n=this.nodes,a=n.length,i=0;i<a;i++)n[i].dataIndex>=0&&t.call(r,n[i],i)},e.prototype.eachEdge=function(t,r){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(r,n[i],i)},e.prototype.breadthFirstTraverse=function(t,r,n,a){if(r instanceof lc||(r=this._nodesMap[nf(r)]),!!r){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,r,null))for(var s=[r];s.length;)for(var l=s.shift(),u=l[i],o=0;o<u.length;o++){var c=u[o],d=c.node1===l?c.node2:c.node1;if(!d.__visited){if(t.call(a,d,l))return;s.push(d),d.__visited=!0}}}},e.prototype.update=function(){for(var t=this.data,r=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;r.filterSelf(function(s){var l=a[r.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=r.count();i<o;i++)a[r.getRawIndex(i)].dataIndex=i},e.prototype.clone=function(){for(var t=new e(this._directed),r=this.nodes,n=this.edges,a=0;a<r.length;a++)t.addNode(r[a].id,r[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},e}(),lc=function(){function e(t,r){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=t??"",this.dataIndex=r??-1}return e.prototype.degree=function(){return this.edges.length},e.prototype.inDegree=function(){return this.inEdges.length},e.prototype.outDegree=function(){return this.outEdges.length},e.prototype.getModel=function(t){if(!(this.dataIndex<0)){var r=this.hostGraph,n=r.data.getItemModel(this.dataIndex);return n.getModel(t)}},e.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},r=0;r<this.edges.length;r++){var n=this.edges[r];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},e.prototype.getTrajectoryDataIndices=function(){for(var t=lt(),r=lt(),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++,r.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++,r.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:r.keys()}},e}(),jq=function(){function e(t,r,n){this.dataIndex=-1,this.node1=t,this.node2=r,this.dataIndex=n??-1}return e.prototype.getModel=function(t){if(!(this.dataIndex<0)){var r=this.hostGraph,n=r.edgeData.getItemModel(this.dataIndex);return n.getModel(t)}},e.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},e.prototype.getTrajectoryDataIndices=function(){var t=lt(),r=lt();t.set(this.dataIndex,!0);for(var n=[this.node1],a=[this.node2],i=0;i<n.length;){var o=n[i];i++,r.set(o.dataIndex,!0);for(var s=0;s<o.inEdges.length;s++)t.set(o.inEdges[s].dataIndex,!0),n.push(o.inEdges[s].node1)}for(i=0;i<a.length;){var l=a[i];i++,r.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:r.keys()}},e}();function Xq(e,t){return{getValue:function(r){var n=this[e][t];return n.getStore().get(n.getDimensionIndex(r||"value"),this.dataIndex)},setVisual:function(r,n){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,r,n)},getVisual:function(r){return this[e][t].getItemVisual(this.dataIndex,r)},setLayout:function(r,n){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,r,n)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}on(lc,Xq("hostGraph","data"));on(jq,Xq("hostGraph","edgeData"));const umt=lmt;function Zq(e,t,r,n,a){for(var i=new umt(n),o=0;o<e.length;o++)i.addNode(wn(e[o].id,e[o].name,o),o);for(var s=[],l=[],u=0,o=0;o<t.length;o++){var c=t[o],d=c.source,f=c.target;i.addEdge(d,f,u)&&(l.push(c),s.push(wn(ln(c.id,null),d+" > "+f)),u++)}var p=r.get("coordinateSystem"),h;if(p==="cartesian2d"||p==="polar")h=el(e,r);else{var v=Rm.get(p),g=v?v.dimensions||[]:[];Bt(g,"value")<0&&g.concat(["value"]);var m=Lm(e,{coordDimensions:g,encodeDefine:r.getEncode()}).dimensions;h=new oa(m,r),h.initData(e)}var y=new oa(["value"],r);return y.initData(l,s),a&&a(h,y),Lq({mainData:h,struct:i,structAttr:"graph",datas:{node:h,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),i.update(),i}var cmt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.init=function(r){e.prototype.init.apply(this,arguments);var n=this;function a(){return n._categoriesData}this.legendVisualProvider=new Fm(a,a),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},t.prototype.mergeOption=function(r){e.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(r){e.prototype.mergeDefaultAndTheme.apply(this,arguments),pd(r,"edgeLabel",["show"])},t.prototype.getInitialData=function(r,n){var a=r.edges||r.links||[],i=r.data||r.nodes||[],o=this;if(i&&a){Wgt(this);var s=Zq(i,a,this,!0,l);return G(s.edges,function(u){Kgt(u.node1,u.node2,this,u.dataIndex)},this),s.data}function l(u,c){u.wrapMethod("getItemModel",function(h){var v=o._categoriesModels,g=h.getShallow("category"),m=v[g];return m&&(m.parentModel=h.parentModel,h.parentModel=m),h});var d=br.prototype.getModel;function f(h,v){var g=d.call(this,h,v);return g.resolveParentPath=p,g}c.wrapMethod("getItemModel",function(h){return h.resolveParentPath=p,h.getModel=f,h});function p(h){if(h&&(h[0]==="label"||h[1]==="label")){var v=h.slice();return h[0]==="label"?v[0]="edgeLabel":h[1]==="label"&&(v[1]="edgeLabel"),v}return h}}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(r,n,a){if(a==="edge"){var i=this.getData(),o=this.getDataParams(r,a),s=i.graph.getEdgeByIndex(r),l=i.getName(s.node1.dataIndex),u=i.getName(s.node2.dataIndex),c=[];return l!=null&&c.push(l),u!=null&&c.push(u),gn("nameValue",{name:c.join(" > "),value:o.value,noValue:o.value==null})}var d=yK({series:this,dataIndex:r,multipleSeries:n});return d},t.prototype._updateCategoriesData=function(){var r=Pe(this.option.categories||[],function(a){return a.value!=null?a:Me({value:0},a)}),n=new oa(["value"],this);n.initData(r),this._categoriesData=n,this._categoriesModels=n.mapArray(function(a){return n.getItemModel(a)})},t.prototype.setZoom=function(r){this.option.zoom=r},t.prototype.setCenter=function(r){this.option.center=r},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(Rr);const dmt=cmt;var fmt={type:"graphRoam",event:"graphRoam",update:"none"};function pmt(e){e.registerChartView(smt),e.registerSeriesModel(dmt),e.registerProcessor(zgt),e.registerVisual(Vgt),e.registerVisual(Hgt),e.registerLayout(Ygt),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,jgt),e.registerLayout(Zgt),e.registerCoordinateSystem("graphView",{dimensions:Vm.dimensions,create:Jgt}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},qr),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},qr),e.registerAction(fmt,function(t,r,n){r.eachComponent({mainType:"series",query:t},function(a){var i=a.coordinateSystem,o=QA(i,t,void 0,n);a.setCenter&&a.setCenter(o.center),a.setZoom&&a.setZoom(o.zoom)})})}var hmt=function(){function e(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return e}(),vmt=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;return n.type="pointer",n}return t.prototype.getDefaultShape=function(){return new hmt},t.prototype.buildPath=function(r,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,r.moveTo(u,c),r.lineTo(n.x+a(l)*s,n.y+i(l)*s),r.lineTo(n.x+a(n.angle)*o,n.y+i(n.angle)*o),r.lineTo(n.x-a(l)*s,n.y-i(l)*s),r.lineTo(u,c)},t}(Vt);const gmt=vmt;function mmt(e,t){var r=e.get("center"),n=t.getWidth(),a=t.getHeight(),i=Math.min(n,a),o=Ze(r[0],t.getWidth()),s=Ze(r[1],t.getHeight()),l=Ze(e.get("radius"),i/2);return{cx:o,cy:s,r:l}}function oy(e,t){var r=e==null?"":e+"";return t&&(et(t)?r=t.replace("{value}",r):ft(t)&&(r=t(e))),r}var ymt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){this.group.removeAll();var i=r.get(["axisLine","lineStyle","color"]),o=mmt(r,a);this._renderMain(r,n,a,i,o),this._data=r.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(r,n,a,i,o){var s=this.group,l=r.get("clockwise"),u=-r.get("startAngle")/180*Math.PI,c=-r.get("endAngle")/180*Math.PI,d=r.getModel("axisLine"),f=d.get("roundCap"),p=f?L2:Na,h=d.get("show"),v=d.getModel("lineStyle"),g=v.get("width"),m=[u,c];kG(m,!l),u=m[0],c=m[1];for(var y=c-u,_=u,w=[],E=0;h&&E<i.length;E++){var S=Math.min(Math.max(i[E][0],0),1);c=u+y*S;var C=new p({shape:{startAngle:_,endAngle:c,cx:o.cx,cy:o.cy,clockwise:l,r0:o.r-g,r:o.r},silent:!0});C.setStyle({fill:i[E][1]}),C.setStyle(v.getLineStyle(["color","width"])),w.push(C),_=c}w.reverse(),G(w,function(x){return s.add(x)});var T=function(x){if(x<=0)return i[0][1];var A;for(A=0;A<i.length;A++)if(i[A][0]>=x&&(A===0?0:i[A-1][0])<x)return i[A][1];return i[A-1][1]};this._renderTicks(r,n,a,T,o,u,c,l,g),this._renderTitleAndDetail(r,n,a,T,o),this._renderAnchor(r,o),this._renderPointer(r,n,a,T,o,u,c,l,g)},t.prototype._renderTicks=function(r,n,a,i,o,s,l,u,c){for(var d=this.group,f=o.cx,p=o.cy,h=o.r,v=+r.get("min"),g=+r.get("max"),m=r.getModel("splitLine"),y=r.getModel("axisTick"),_=r.getModel("axisLabel"),w=r.get("splitNumber"),E=y.get("splitNumber"),S=Ze(m.get("length"),h),C=Ze(y.get("length"),h),T=s,x=(l-s)/w,A=x/E,k=m.getModel("lineStyle").getLineStyle(),R=y.getModel("lineStyle").getLineStyle(),M=m.get("distance"),O,z,B=0;B<=w;B++){if(O=Math.cos(T),z=Math.sin(T),m.get("show")){var P=M?M+c:c,F=new Sn({shape:{x1:O*(h-P)+f,y1:z*(h-P)+p,x2:O*(h-S-P)+f,y2:z*(h-S-P)+p},style:k,silent:!0});k.stroke==="auto"&&F.setStyle({stroke:i(B/w)}),d.add(F)}if(_.get("show")){var P=_.get("distance")+M,D=oy(Vr(B/w*(g-v)+v),_.get("formatter")),H=i(B/w),K=O*(h-S-P)+f,Y=z*(h-S-P)+p,X=_.get("rotate"),J=0;X==="radial"?(J=-T+2*Math.PI,J>Math.PI/2&&(J+=Math.PI)):X==="tangential"?J=-T-Math.PI/2:tr(X)&&(J=X*Math.PI/180),J===0?d.add(new er({style:_r(_,{text:D,x:K,y:Y,verticalAlign:z<-.8?"top":z>.8?"bottom":"middle",align:O<-.4?"left":O>.4?"right":"center"},{inheritColor:H}),silent:!0})):d.add(new er({style:_r(_,{text:D,x:K,y:Y,verticalAlign:"middle",align:"center"},{inheritColor:H}),silent:!0,originX:K,originY:Y,rotation:J}))}if(y.get("show")&&B!==w){var P=y.get("distance");P=P?P+c:c;for(var fe=0;fe<=E;fe++){O=Math.cos(T),z=Math.sin(T);var se=new Sn({shape:{x1:O*(h-P)+f,y1:z*(h-P)+p,x2:O*(h-C-P)+f,y2:z*(h-C-P)+p},silent:!0,style:R});R.stroke==="auto"&&se.setStyle({stroke:i((B+fe/E)/w)}),d.add(se),T+=A}T-=A}else T+=x}},t.prototype._renderPointer=function(r,n,a,i,o,s,l,u,c){var d=this.group,f=this._data,p=this._progressEls,h=[],v=r.get(["pointer","show"]),g=r.getModel("progress"),m=g.get("show"),y=r.getData(),_=y.mapDimension("value"),w=+r.get("min"),E=+r.get("max"),S=[w,E],C=[s,l];function T(A,k){var R=y.getItemModel(A),M=R.getModel("pointer"),O=Ze(M.get("width"),o.r),z=Ze(M.get("length"),o.r),B=r.get(["pointer","icon"]),P=M.get("offsetCenter"),F=Ze(P[0],o.r),D=Ze(P[1],o.r),H=M.get("keepAspect"),K;return B?K=an(B,F-O/2,D-z,O,z,null,H):K=new gmt({shape:{angle:-Math.PI/2,width:O,r:z,x:F,y:D}}),K.rotation=-(k+Math.PI/2),K.x=o.cx,K.y=o.cy,K}function x(A,k){var R=g.get("roundCap"),M=R?L2:Na,O=g.get("overlap"),z=O?g.get("width"):c/y.count(),B=O?o.r-z:o.r-(A+1)*z,P=O?o.r:o.r-A*z,F=new M({shape:{startAngle:s,endAngle:k,cx:o.cx,cy:o.cy,clockwise:u,r0:B,r:P}});return O&&(F.z2=E-y.get(_,A)%E),F}(m||v)&&(y.diff(f).add(function(A){var k=y.get(_,A);if(v){var R=T(A,s);Ar(R,{rotation:-((isNaN(+k)?C[0]:lr(k,S,C,!0))+Math.PI/2)},r),d.add(R),y.setItemGraphicEl(A,R)}if(m){var M=x(A,s),O=g.get("clip");Ar(M,{shape:{endAngle:lr(k,S,C,O)}},r),d.add(M),t6(r.seriesIndex,y.dataType,A,M),h[A]=M}}).update(function(A,k){var R=y.get(_,A);if(v){var M=f.getItemGraphicEl(k),O=M?M.rotation:s,z=T(A,O);z.rotation=O,rr(z,{rotation:-((isNaN(+R)?C[0]:lr(R,S,C,!0))+Math.PI/2)},r),d.add(z),y.setItemGraphicEl(A,z)}if(m){var B=p[k],P=B?B.shape.endAngle:s,F=x(A,P),D=g.get("clip");rr(F,{shape:{endAngle:lr(R,S,C,D)}},r),d.add(F),t6(r.seriesIndex,y.dataType,A,F),h[A]=F}}).execute(),y.each(function(A){var k=y.getItemModel(A),R=k.getModel("emphasis"),M=R.get("focus"),O=R.get("blurScope"),z=R.get("disabled");if(v){var B=y.getItemGraphicEl(A),P=y.getItemVisual(A,"style"),F=P.fill;if(B instanceof $n){var D=B.style;B.useStyle(Me({image:D.image,x:D.x,y:D.y,width:D.width,height:D.height},P))}else B.useStyle(P),B.type!=="pointer"&&B.setColor(F);B.setStyle(k.getModel(["pointer","itemStyle"]).getItemStyle()),B.style.fill==="auto"&&B.setStyle("fill",i(lr(y.get(_,A),S,[0,1],!0))),B.z2EmphasisLift=0,Nn(B,k),Pr(B,M,O,z)}if(m){var H=h[A];H.useStyle(y.getItemVisual(A,"style")),H.setStyle(k.getModel(["progress","itemStyle"]).getItemStyle()),H.z2EmphasisLift=0,Nn(H,k),Pr(H,M,O,z)}}),this._progressEls=h)},t.prototype._renderAnchor=function(r,n){var a=r.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=an(s,n.cx-o/2+Ze(l[0],n.r),n.cy-o/2+Ze(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(r,n,a,i,o){var s=this,l=r.getData(),u=l.mapDimension("value"),c=+r.get("min"),d=+r.get("max"),f=new wt,p=[],h=[],v=r.isAnimationEnabled(),g=r.get(["pointer","showAbove"]);l.diff(this._data).add(function(m){p[m]=new er({silent:!0}),h[m]=new er({silent:!0})}).update(function(m,y){p[m]=s._titleEls[y],h[m]=s._detailEls[y]}).execute(),l.each(function(m){var y=l.getItemModel(m),_=l.get(u,m),w=new wt,E=i(lr(_,[c,d],[0,1],!0)),S=y.getModel("title");if(S.get("show")){var C=S.get("offsetCenter"),T=o.cx+Ze(C[0],o.r),x=o.cy+Ze(C[1],o.r),A=p[m];A.attr({z2:g?0:2,style:_r(S,{x:T,y:x,text:l.getName(m),align:"center",verticalAlign:"middle"},{inheritColor:E})}),w.add(A)}var k=y.getModel("detail");if(k.get("show")){var R=k.get("offsetCenter"),M=o.cx+Ze(R[0],o.r),O=o.cy+Ze(R[1],o.r),z=Ze(k.get("width"),o.r),B=Ze(k.get("height"),o.r),P=r.get(["progress","show"])?l.getItemVisual(m,"style").fill:E,A=h[m],F=k.get("formatter");A.attr({z2:g?0:2,style:_r(k,{x:M,y:O,text:oy(_,F),width:isNaN(z)?null:z,height:isNaN(B)?null:B,align:"center",verticalAlign:"middle"},{inheritColor:P})}),bW(A,{normal:k},_,function(H){return oy(H,F)}),v&&wW(A,m,l,r,{getFormattedLabel:function(H,K,Y,X,J,fe){return oy(fe?fe.interpolatedValue:_,F)}}),w.add(A)}f.add(w)}),this.group.add(f),this._titleEls=p,this._detailEls=h},t.type="gauge",t}(wr);const _mt=ymt;var bmt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.visualStyleAccessPath="itemStyle",r}return t.prototype.getInitialData=function(r,n){return th(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}(Rr);const wmt=bmt;function Smt(e){e.registerChartView(_mt),e.registerSeriesModel(wmt)}var Emt=["itemStyle","opacity"],Cmt=function(e){ye(t,e);function t(r,n){var a=e.call(this)||this,i=a,o=new Ba,s=new er;return i.setTextContent(s),a.setTextGuideLine(o),a.updateData(r,n,!0),a}return t.prototype.updateData=function(r,n,a){var i=this,o=r.hostModel,s=r.getItemModel(n),l=r.getItemLayout(n),u=s.getModel("emphasis"),c=s.get(Emt);c=c??1,a||co(i),i.useStyle(r.getItemVisual(n,"style")),i.style.lineJoin="round",a?(i.setShape({points:l.points}),i.style.opacity=0,Ar(i,{style:{opacity:c}},o,n)):rr(i,{style:{opacity:c},shape:{points:l.points}},o,n),Nn(i,s),this._updateLabel(r,n),Pr(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(r,n){var a=this,i=this.getTextGuideLine(),o=a.getTextContent(),s=r.hostModel,l=r.getItemModel(n),u=r.getItemLayout(n),c=u.label,d=r.getItemVisual(n,"style"),f=d.fill;Pn(o,vn(l),{labelFetcher:r.hostModel,labelDataIndex:n,defaultOpacity:d.opacity,defaultText:r.getName(n)},{normal:{align:c.textAlign,verticalAlign:c.verticalAlign}}),a.setTextConfig({local:!0,inside:!!c.inside,insideStroke:f,outsideFill:f});var p=c.linePoints;i.setShape({points:p}),a.textGuideLineConfig={anchor:p?new Lt(p[0][0],p[0][1]):null},rr(o,{style:{x:c.x,y:c.y}},s,n),o.attr({rotation:c.rotation,originX:c.x,originY:c.y,z2:10}),zA(a,VA(l),{stroke:f})},t}(Pa),Tmt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.ignoreLabelLineUpdate=!0,r}return t.prototype.render=function(r,n,a){var i=r.getData(),o=this._data,s=this.group;i.diff(o).add(function(l){var u=new Cmt(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);Pg(u,r,l)}).execute(),this._data=i},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(wr);const xmt=Tmt;var Amt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Fm(rt(this.getData,this),rt(this.getRawData,this)),this._defaultLabelLine(r)},t.prototype.getInitialData=function(r,n){return th(this,{coordDimensions:["value"],encodeDefaulter:Rt(gA,this)})},t.prototype._defaultLabelLine=function(r){pd(r,"labelLine",["show"]);var n=r.labelLine,a=r.emphasis.labelLine;n.show=n.show&&r.label.show,a.show=a.show&&r.emphasis.label.show},t.prototype.getDataParams=function(r){var n=this.getData(),a=e.prototype.getDataParams.call(this,r),i=n.mapDimension("value"),o=n.getSum(i);return a.percent=o?+(n.get(i,r)/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}(Rr);const kmt=Amt;function Imt(e,t){return cn(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Rmt(e,t){for(var r=e.mapDimension("value"),n=e.mapArray(r,function(l){return l}),a=[],i=t==="ascending",o=0,s=e.count();o<s;o++)a[o]=o;return ft(t)?a.sort(t):t!=="none"&&a.sort(function(l,u){return i?n[l]-n[u]:n[u]-n[l]}),a}function Mmt(e){var t=e.hostModel,r=t.get("orient");e.each(function(n){var a=e.getItemModel(n),i=a.getModel("label"),o=i.get("position"),s=a.getModel("labelLine"),l=e.getItemLayout(n),u=l.points,c=o==="inner"||o==="inside"||o==="center"||o==="insideLeft"||o==="insideRight",d,f,p,h;if(c)o==="insideLeft"?(f=(u[0][0]+u[3][0])/2+5,p=(u[0][1]+u[3][1])/2,d="left"):o==="insideRight"?(f=(u[1][0]+u[2][0])/2-5,p=(u[1][1]+u[2][1])/2,d="right"):(f=(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,d="center"),h=[[f,p],[f,p]];else{var v=void 0,g=void 0,m=void 0,y=void 0,_=s.get("length");o==="left"?(v=(u[3][0]+u[0][0])/2,g=(u[3][1]+u[0][1])/2,m=v-_,f=m-5,d="right"):o==="right"?(v=(u[1][0]+u[2][0])/2,g=(u[1][1]+u[2][1])/2,m=v+_,f=m+5,d="left"):o==="top"?(v=(u[3][0]+u[0][0])/2,g=(u[3][1]+u[0][1])/2,y=g-_,p=y-5,d="center"):o==="bottom"?(v=(u[1][0]+u[2][0])/2,g=(u[1][1]+u[2][1])/2,y=g+_,p=y+5,d="center"):o==="rightTop"?(v=r==="horizontal"?u[3][0]:u[1][0],g=r==="horizontal"?u[3][1]:u[1][1],r==="horizontal"?(y=g-_,p=y-5,d="center"):(m=v+_,f=m+5,d="top")):o==="rightBottom"?(v=u[2][0],g=u[2][1],r==="horizontal"?(y=g+_,p=y+5,d="center"):(m=v+_,f=m+5,d="bottom")):o==="leftTop"?(v=u[0][0],g=r==="horizontal"?u[0][1]:u[1][1],r==="horizontal"?(y=g-_,p=y-5,d="center"):(m=v-_,f=m-5,d="right")):o==="leftBottom"?(v=r==="horizontal"?u[1][0]:u[3][0],g=r==="horizontal"?u[1][1]:u[2][1],r==="horizontal"?(y=g+_,p=y+5,d="center"):(m=v-_,f=m-5,d="right")):(v=(u[1][0]+u[2][0])/2,g=(u[1][1]+u[2][1])/2,r==="horizontal"?(y=g+_,p=y+5,d="center"):(m=v+_,f=m+5,d="left")),r==="horizontal"?(m=v,f=m):(y=g,p=y),h=[[v,g],[m,y]]}l.label={linePoints:h,x:f,y:p,verticalAlign:"middle",textAlign:d,inside:c}})}function Lmt(e,t){e.eachSeriesByType("funnel",function(r){var n=r.getData(),a=n.mapDimension("value"),i=r.get("sort"),o=Imt(r,t),s=r.get("orient"),l=o.width,u=o.height,c=Rmt(n,i),d=o.x,f=o.y,p=s==="horizontal"?[Ze(r.get("minSize"),u),Ze(r.get("maxSize"),u)]:[Ze(r.get("minSize"),l),Ze(r.get("maxSize"),l)],h=n.getDataExtent(a),v=r.get("min"),g=r.get("max");v==null&&(v=Math.min(h[0],0)),g==null&&(g=h[1]);var m=r.get("funnelAlign"),y=r.get("gap"),_=s==="horizontal"?l:u,w=(_-y*(n.count()-1))/n.count(),E=function(O,z){if(s==="horizontal"){var B=n.get(a,O)||0,P=lr(B,[v,g],p,!0),F=void 0;switch(m){case"top":F=f;break;case"center":F=f+(u-P)/2;break;case"bottom":F=f+(u-P);break}return[[z,F],[z,F+P]]}var D=n.get(a,O)||0,H=lr(D,[v,g],p,!0),K;switch(m){case"left":K=d;break;case"center":K=d+(l-H)/2;break;case"right":K=d+l-H;break}return[[K,z],[K+H,z]]};i==="ascending"&&(w=-w,y=-y,s==="horizontal"?d+=l:f+=u,c=c.reverse());for(var S=0;S<c.length;S++){var C=c[S],T=c[S+1],x=n.getItemModel(C);if(s==="horizontal"){var A=x.get(["itemStyle","width"]);A==null?A=w:(A=Ze(A,l),i==="ascending"&&(A=-A));var k=E(C,d),R=E(T,d+A);d+=A+y,n.setItemLayout(C,{points:k.concat(R.slice().reverse())})}else{var M=x.get(["itemStyle","height"]);M==null?M=w:(M=Ze(M,u),i==="ascending"&&(M=-M));var k=E(C,f),R=E(T,f+M);f+=M+y,n.setItemLayout(C,{points:k.concat(R.slice().reverse())})}}Mmt(n)})}function Dmt(e){e.registerChartView(xmt),e.registerSeriesModel(kmt),e.registerLayout(Lmt),e.registerProcessor(Bm("funnel"))}var Omt=.3,Nmt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._dataGroup=new wt,r._initialized=!1,r}return t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(r,n,a,i){this._progressiveEls=null;var o=this._dataGroup,s=r.getData(),l=this._data,u=r.coordinateSystem,c=u.dimensions,d=EN(r);s.diff(l).add(f).update(p).remove(h).execute();function f(g){var m=SN(s,o,g,c,u);o4(m,s,g,d)}function p(g,m){var y=l.getItemGraphicEl(m),_=Qq(s,g,c,u);s.setItemGraphicEl(g,y),rr(y,{shape:{points:_}},r,g),co(y),o4(y,s,g,d)}function h(g){var m=l.getItemGraphicEl(g);o.remove(m)}if(!this._initialized){this._initialized=!0;var v=Pmt(u,r,function(){setTimeout(function(){o.removeClipPath()})});o.setClipPath(v)}this._data=s},t.prototype.incrementalPrepareRender=function(r,n,a){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(r,n,a){for(var i=n.getData(),o=n.coordinateSystem,s=o.dimensions,l=EN(n),u=this._progressiveEls=[],c=r.start;c<r.end;c++){var d=SN(i,this._dataGroup,c,s,o);d.incremental=!0,o4(d,i,c,l),u.push(d)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(wr);function Pmt(e,t,r){var n=e.model,a=e.getRect(),i=new Xt({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),Ar(i,{shape:{width:a.width,height:a.height}},t,r),i}function Qq(e,t,r,n){for(var a=[],i=0;i<r.length;i++){var o=r[i],s=e.get(e.mapDimension(o),t);$mt(s,n.getAxis(o).type)||a.push(n.dataToPoint(s,o))}return a}function SN(e,t,r,n,a){var i=Qq(e,r,n,a),o=new Ba({shape:{points:i},z2:10});return t.add(o),e.setItemGraphicEl(r,o),o}function EN(e){var t=e.get("smooth",!0);return t===!0&&(t=Omt),t=Fs(t),kg(t)&&(t=0),{smooth:t}}function o4(e,t,r,n){e.useStyle(t.getItemVisual(r,"style")),e.style.fill=null,e.setShape("smooth",n.smooth);var a=t.getItemModel(r),i=a.getModel("emphasis");Nn(e,a,"lineStyle"),Pr(e,i.get("focus"),i.get("blurScope"),i.get("disabled"))}function $mt(e,t){return t==="category"?e==null:e==null||isNaN(e)}const Bmt=Nmt;var Fmt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.visualStyleAccessPath="lineStyle",r.visualDrawType="stroke",r}return t.prototype.getInitialData=function(r,n){return el(null,this,{useEncodeDefaulter:rt(zmt,null,this)})},t.prototype.getRawIndicesByActiveState=function(r){var n=this.coordinateSystem,a=this.getData(),i=[];return n.eachActiveState(a,function(o,s){r===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}(Rr);function zmt(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var r={};return G(t.dimensions,function(n){var a=Vmt(n);r[n]=a}),r}}function Vmt(e){return+e.replace("dim","")}const Hmt=Fmt;var Umt=["lineStyle","opacity"],Gmt={seriesType:"parallel",reset:function(e,t){var r=e.coordinateSystem,n={normal:e.get(["lineStyle","opacity"]),active:e.get("activeOpacity"),inactive:e.get("inactiveOpacity")};return{progress:function(a,i){r.eachActiveState(i,function(o,s){var l=n[o];if(o==="normal"&&i.hasItemOption){var u=i.getItemModel(s).get(Umt,!0);u!=null&&(l=u)}var c=i.ensureUniqueItemVisual(s,"style");c.opacity=l},a.start,a.end)}}}};const Wmt=Gmt;function Kmt(e){Ymt(e),qmt(e)}function Ymt(e){if(!e.parallel){var t=!1;G(e.series,function(r){r&&r.type==="parallel"&&(t=!0)}),t&&(e.parallel=[{}])}}function qmt(e){var t=fr(e.parallelAxis);G(t,function(r){if(vt(r)){var n=r.parallelIndex||0,a=fr(e.parallel)[n];a&&a.parallelAxisDefault&&Nt(r,a.parallelAxisDefault,!1)}})}var jmt=5,Xmt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){this._model=r,this._api=a,this._handlers||(this._handlers={},G(Zmt,function(i,o){a.getZr().on(o,this._handlers[o]=rt(i,this))},this)),Jp(this,"_throttledDispatchExpand",r.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(r,n){Vg(this,"_throttledDispatchExpand"),G(this._handlers,function(a,i){n.getZr().off(i,a)}),this._handlers=null},t.prototype._throttledDispatchExpand=function(r){this._dispatchExpand(r)},t.prototype._dispatchExpand=function(r){r&&this._api.dispatchAction(Me({type:"parallelAxisExpand"},r))},t.type="parallel",t}($r),Zmt={mousedown:function(e){s4(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(s4(this,"click")&&t){var r=[e.offsetX,e.offsetY],n=Math.pow(t[0]-r[0],2)+Math.pow(t[1]-r[1],2);if(n>jmt)return;var a=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);a.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:a.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!(this._mouseDownPoint||!s4(this,"mousemove"))){var t=this._model,r=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),n=r.behavior;n==="jump"&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand(n==="none"?null:{axisExpandWindow:r.axisExpandWindow,animation:n==="jump"?null:{duration:0}})}}};function s4(e,t){var r=e._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===t}const Qmt=Xmt;var Jmt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(r){var n=this.option;r&&Nt(n,r,!0),this._initDimensions()},t.prototype.contains=function(r,n){var a=r.get("parallelIndex");return a!=null&&n.getComponent("parallel",a)===this},t.prototype.setAxisExpand=function(r){G(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(n){r.hasOwnProperty(n)&&(this.option[n]=r[n])},this)},t.prototype._initDimensions=function(){var r=this.dimensions=[],n=this.parallelAxisIndex=[],a=ur(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(i){return(i.get("parallelIndex")||0)===this.componentIndex},this);G(a,function(i){r.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}(Qt);const e0t=Jmt;var t0t=function(e){ye(t,e);function t(r,n,a,i,o){var s=e.call(this,r,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}(mo);const r0t=t0t;function Nd(e,t,r,n,a,i){e=e||0;var o=r[1]-r[0];if(a!=null&&(a=af(a,[0,o])),i!=null&&(i=Math.max(i,a??0)),n==="all"){var s=Math.abs(t[1]-t[0]);s=af(s,[0,o]),a=i=af(s,[a,i]),n=0}t[0]=af(t[0],r),t[1]=af(t[1],r);var l=l4(t,n);t[n]+=e;var u=a||0,c=r.slice();l.sign<0?c[0]+=u:c[1]-=u,t[n]=af(t[n],c);var d;return d=l4(t,n),a!=null&&(d.sign!==l.sign||d.span<a)&&(t[1-n]=t[n]+l.sign*a),d=l4(t,n),i!=null&&d.span>i&&(t[1-n]=t[n]+d.sign*i),t}function l4(e,t){var r=e[t]-e[1-t];return{span:Math.abs(r),sign:r>0?-1:r<0?1:t?-1:1}}function af(e,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,e))}var u4=G,Jq=Math.min,ej=Math.max,CN=Math.floor,n0t=Math.ceil,TN=Vr,a0t=Math.PI,i0t=function(){function e(t,r,n){this.type="parallel",this._axesMap=lt(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,r,n)}return e.prototype._init=function(t,r,n){var a=t.dimensions,i=t.parallelAxisIndex;u4(a,function(o,s){var l=i[s],u=r.getComponent("parallelAxis",l),c=this._axesMap.set(o,new r0t(o,yb(u),[0,0],u.get("type"),l)),d=c.type==="category";c.onBand=d&&u.get("boundaryGap"),c.inverse=u.get("inverse"),u.axis=c,c.model=u,c.coordinateSystem=u.coordinateSystem=this},this)},e.prototype.update=function(t,r){this._updateAxesFromSeries(this._model,t)},e.prototype.containPoint=function(t){var r=this._makeLayoutInfo(),n=r.axisBase,a=r.layoutBase,i=r.pixelDimIndex,o=t[1-i],s=t[i];return o>=n&&o<=n+r.axisLength&&s>=a&&s<=a+r.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(t,r){r.eachSeries(function(n){if(t.contains(n,r)){var a=n.getData();u4(this.dimensions,function(i){var o=this._axesMap.get(i);o.scale.unionExtentFromData(a,a.mapDimension(i)),Cp(o.scale,o.model)},this)}},this)},e.prototype.resize=function(t,r){this._rect=cn(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var t=this._model,r=this._rect,n=["x","y"],a=["width","height"],i=t.get("layout"),o=i==="horizontal"?0:1,s=r[a[o]],l=[0,s],u=this.dimensions.length,c=sy(t.get("axisExpandWidth"),l),d=sy(t.get("axisExpandCount")||0,[0,u]),f=t.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,p=t.get("axisExpandWindow"),h;if(p)h=sy(p[1]-p[0],l),p[1]=p[0]+h;else{h=sy(c*(d-1),l);var v=t.get("axisExpandCenter")||CN(u/2);p=[c*v-h/2],p[1]=p[0]+h}var g=(s-h)/(u-d);g<3&&(g=0);var m=[CN(TN(p[0]/c,1))+1,n0t(TN(p[1]/c,1))-1],y=g/c*p[0];return{layout:i,pixelDimIndex:o,layoutBase:r[n[o]],layoutLength:s,axisBase:r[n[1-o]],axisLength:r[a[1-o]],axisExpandable:f,axisExpandWidth:c,axisCollapseWidth:g,axisExpandWindow:p,axisCount:u,winInnerIndices:m,axisExpandWindow0Pos:y}},e.prototype._layoutAxes=function(){var t=this._rect,r=this._axesMap,n=this.dimensions,a=this._makeLayoutInfo(),i=a.layout;r.each(function(o){var s=[0,a.axisLength],l=o.inverse?1:0;o.setExtent(s[l],s[1-l])}),u4(n,function(o,s){var l=(a.axisExpandable?s0t:o0t)(s,a),u={horizontal:{x:l.position,y:a.axisLength},vertical:{x:0,y:l.position}},c={horizontal:a0t/2,vertical:0},d=[u[i].x+t.x,u[i].y+t.y],f=c[i],p=Ni();Id(p,p,f),Zo(p,p,d),this._axesLayout[o]={position:d,rotation:f,transform:p,axisNameAvailableWidth:l.axisNameAvailableWidth,axisLabelShow:l.axisLabelShow,nameTruncateMaxWidth:l.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},e.prototype.getAxis=function(t){return this._axesMap.get(t)},e.prototype.dataToPoint=function(t,r){return this.axisCoordToPoint(this._axesMap.get(r).dataToCoord(t),r)},e.prototype.eachActiveState=function(t,r,n,a){n==null&&(n=0),a==null&&(a=t.count());var i=this._axesMap,o=this.dimensions,s=[],l=[];G(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 d=void 0;if(!u)d="normal";else{d="active";for(var f=t.getValues(s,c),p=0,h=o.length;p<h;p++){var v=l[p].getActiveState(f[p]);if(v==="inactive"){d="inactive";break}}}r(d,c)}},e.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,r=this._axesMap,n=!1,a=0,i=t.length;a<i;a++)r.get(t[a]).model.getActiveState()!=="normal"&&(n=!0);return n},e.prototype.axisCoordToPoint=function(t,r){var n=this._axesLayout[r];return oo([t,0],n.transform)},e.prototype.getAxisLayout=function(t){return _t(this._axesLayout[t])},e.prototype.getSlidedAxisExpandWindow=function(t){var r=this._makeLayoutInfo(),n=r.pixelDimIndex,a=r.axisExpandWindow.slice(),i=a[1]-a[0],o=[0,r.axisExpandWidth*(r.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:a};var s=t[n]-r.layoutBase-r.axisExpandWindow0Pos,l,u="slide",c=r.axisCollapseWidth,d=this._model.get("axisExpandSlideTriggerArea"),f=d[0]!=null;if(c)f&&c&&s<i*d[0]?(u="jump",l=s-i*d[2]):f&&c&&s>i*(1-d[0])?(u="jump",l=s-i*(1-d[2])):(l=s-i*d[1])>=0&&(l=s-i*(1-d[1]))<=0&&(l=0),l*=r.axisExpandWidth/c,l?Nd(l,a,o,"all"):u="none";else{var p=a[1]-a[0],h=o[1]*s/p;a=[ej(0,h-p/2)],a[1]=Jq(o[1],a[0]+p),a[0]=a[1]-p}return{axisExpandWindow:a,behavior:u}},e}();function sy(e,t){return Jq(ej(e,t[0]),t[1])}function o0t(e,t){var r=t.layoutLength/(t.axisCount-1);return{position:r*e,axisNameAvailableWidth:r,axisLabelShow:!0}}function s0t(e,t){var r=t.layoutLength,n=t.axisExpandWidth,a=t.axisCount,i=t.axisCollapseWidth,o=t.winInnerIndices,s,l=i,u=!1,c;return e<o[0]?(s=e*i,c=i):e<=o[1]?(s=t.axisExpandWindow0Pos+e*n-t.axisExpandWindow[0],l=n,u=!0):(s=r-(a-1-e)*i,c=i),{position:s,axisNameAvailableWidth:l,axisLabelShow:u,nameTruncateMaxWidth:c}}const l0t=i0t;function u0t(e,t){var r=[];return e.eachComponent("parallel",function(n,a){var i=new l0t(n,e,t);i.name="parallel_"+a,i.resize(n,t),n.coordinateSystem=i,i.model=n,r.push(i)}),e.eachSeries(function(n){if(n.get("coordinateSystem")==="parallel"){var a=n.getReferringComponents("parallel",en).models[0];n.coordinateSystem=a.coordinateSystem}}),r}var c0t={create:u0t};const d0t=c0t;var tj=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.activeIntervals=[],r}return t.prototype.getAreaSelectStyle=function(){return vd([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(r){var n=this.activeIntervals=_t(r);if(n)for(var a=n.length-1;a>=0;a--)Si(n[a])},t.prototype.getActiveState=function(r){var n=this.activeIntervals;if(!n.length)return"normal";if(r==null||isNaN(+r))return"inactive";if(n.length===1){var a=n[0];if(a[0]<=r&&r<=a[1])return"active"}else for(var i=0,o=n.length;i<o;i++)if(n[i][0]<=r&&r<=n[i][1])return"active";return"inactive"},t}(Qt);on(tj,Om);const xN=tj;var yd=!0,Qg=Math.min,Ap=Math.max,f0t=Math.pow,p0t=1e4,h0t=6,v0t=6,AN="globalPan",g0t={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},m0t={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},kN={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},y0t=0,_0t=function(e){ye(t,e);function t(r){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=r,n.group=new wt,n._uid="brushController_"+y0t++,G(x0t,function(a,i){this._handlers[i]=rt(a,this)},n),n}return t.prototype.enableBrush=function(r){return this._brushType&&this._doDisableBrush(),r.brushType&&this._doEnableBrush(r),this},t.prototype._doEnableBrush=function(r){var n=this._zr;this._enableGlobalPan||Iht(n,AN,this._uid),G(this._handlers,function(a,i){n.on(i,a)}),this._brushType=r.brushType,this._brushOption=Nt(_t(kN),r,!0)},t.prototype._doDisableBrush=function(){var r=this._zr;Rht(r,AN,this._uid),G(this._handlers,function(n,a){r.off(a,n)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(r){if(r&&r.length){var n=this._panels={};G(r,function(a){n[a.panelId]=_t(a)})}else this._panels=null;return this},t.prototype.mount=function(r){r=r||{},this._enableGlobalPan=r.enableGlobalPan;var n=this.group;return this._zr.add(n),n.attr({x:r.x||0,y:r.y||0,rotation:r.rotation||0,scaleX:r.scaleX||1,scaleY:r.scaleY||1}),this._transform=n.getLocalTransform(),this},t.prototype.updateCovers=function(r){r=Pe(r,function(f){return Nt(_t(kN),f,!0)});var n="\0-brush-index-",a=this._covers,i=this._covers=[],o=this,s=this._creatingCover;return new Hs(a,r,u,l).add(c).update(c).remove(d).execute(),this;function l(f,p){return(f.id!=null?f.id:n+p)+"-"+f.brushType}function u(f,p){return l(f.__brushOption,p)}function c(f,p){var h=r[f];if(p!=null&&a[p]===s)i[f]=a[p];else{var v=i[f]=p!=null?(a[p].__brushOption=h,a[p]):nj(o,rj(o,h));u8(o,v)}}function d(f){a[f]!==s&&o.group.remove(a[f])}},t.prototype.unmount=function(){return this.enableBrush(!1),G6(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}($i);function rj(e,t){var r=Tb[t.brushType].createCover(e,t);return r.__brushOption=t,ij(r,t),e.group.add(r),r}function nj(e,t){var r=c8(t);return r.endCreating&&(r.endCreating(e,t),ij(t,t.__brushOption)),t}function aj(e,t){var r=t.__brushOption;c8(t).updateCoverShape(e,t,r.range,r)}function ij(e,t){var r=t.z;r==null&&(r=p0t),e.traverse(function(n){n.z=r,n.z2=r})}function u8(e,t){c8(t).updateCommon(e,t),aj(e,t)}function c8(e){return Tb[e.__brushOption.brushType]}function d8(e,t,r){var n=e._panels;if(!n)return yd;var a,i=e._transform;return G(n,function(o){o.isTargetByCursor(t,r,i)&&(a=o)}),a}function oj(e,t){var r=e._panels;if(!r)return yd;var n=t.__brushOption.panelId;return n!=null?r[n]:yd}function G6(e){var t=e._covers,r=t.length;return G(t,function(n){e.group.remove(n)},e),t.length=0,!!r}function _d(e,t){var r=Pe(e._covers,function(n){var a=n.__brushOption,i=_t(a.range);return{brushType:a.brushType,panelId:a.panelId,range:i}});e.trigger("brush",{areas:r,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function b0t(e){var t=e._track;if(!t.length)return!1;var r=t[t.length-1],n=t[0],a=r[0]-n[0],i=r[1]-n[1],o=f0t(a*a+i*i,.5);return o>h0t}function sj(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function lj(e,t,r,n){var a=new wt;return a.add(new Xt({name:"main",style:f8(r),silent:!0,draggable:!0,cursor:"move",drift:Rt(IN,e,t,a,["n","s","w","e"]),ondragend:Rt(_d,t,{isEnd:!0})})),G(n,function(i){a.add(new Xt({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Rt(IN,e,t,a,i),ondragend:Rt(_d,t,{isEnd:!0})}))}),a}function uj(e,t,r,n){var a=n.brushStyle.lineWidth||0,i=Ap(a,v0t),o=r[0][0],s=r[1][0],l=o-a/2,u=s-a/2,c=r[0][1],d=r[1][1],f=c-i+a/2,p=d-i+a/2,h=c-o,v=d-s,g=h+a,m=v+a;cs(e,t,"main",o,s,h,v),n.transformable&&(cs(e,t,"w",l,u,i,m),cs(e,t,"e",f,u,i,m),cs(e,t,"n",l,u,g,i),cs(e,t,"s",l,p,g,i),cs(e,t,"nw",l,u,i,i),cs(e,t,"ne",f,u,i,i),cs(e,t,"sw",l,p,i,i),cs(e,t,"se",f,p,i,i))}function W6(e,t){var r=t.__brushOption,n=r.transformable,a=t.childAt(0);a.useStyle(f8(r)),a.attr({silent:!n,cursor:n?"move":"default"}),G([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(i){var o=t.childOfName(i.join("")),s=i.length===1?K6(e,i[0]):S0t(e,i);o&&o.attr({silent:!n,invisible:!n,cursor:n?m0t[s]+"-resize":null})})}function cs(e,t,r,n,a,i,o){var s=t.childOfName(r);s&&s.setShape(C0t(p8(e,t,[[n,a],[n+i,a+o]])))}function f8(e){return ht({strokeNoScale:!0},e.brushStyle)}function cj(e,t,r,n){var a=[Qg(e,r),Qg(t,n)],i=[Ap(e,r),Ap(t,n)];return[[a[0],i[0]],[a[1],i[1]]]}function w0t(e){return Zc(e.group)}function K6(e,t){var r={w:"left",e:"right",n:"top",s:"bottom"},n={left:"w",right:"e",top:"n",bottom:"s"},a=nb(r[t],w0t(e));return n[a]}function S0t(e,t){var r=[K6(e,t[0]),K6(e,t[1])];return(r[0]==="e"||r[0]==="w")&&r.reverse(),r.join("")}function IN(e,t,r,n,a,i){var o=r.__brushOption,s=e.toRectRange(o.range),l=dj(t,a,i);G(n,function(u){var c=g0t[u];s[c[0]][c[1]]+=l[c[0]]}),o.range=e.fromRectRange(cj(s[0][0],s[1][0],s[0][1],s[1][1])),u8(t,r),_d(t,{isEnd:!1})}function E0t(e,t,r,n){var a=t.__brushOption.range,i=dj(e,r,n);G(a,function(o){o[0]+=i[0],o[1]+=i[1]}),u8(e,t),_d(e,{isEnd:!1})}function dj(e,t,r){var n=e.group,a=n.transformCoordToLocal(t,r),i=n.transformCoordToLocal(0,0);return[a[0]-i[0],a[1]-i[1]]}function p8(e,t,r){var n=oj(e,t);return n&&n!==yd?n.clipPath(r,e._transform):_t(r)}function C0t(e){var t=Qg(e[0][0],e[1][0]),r=Qg(e[0][1],e[1][1]),n=Ap(e[0][0],e[1][0]),a=Ap(e[0][1],e[1][1]);return{x:t,y:r,width:n-t,height:a-r}}function T0t(e,t,r){if(!(!e._brushType||A0t(e,t.offsetX,t.offsetY))){var n=e._zr,a=e._covers,i=d8(e,t,r);if(!e._dragging)for(var o=0;o<a.length;o++){var s=a[o].__brushOption;if(i&&(i===yd||s.panelId===i.panelId)&&Tb[s.brushType].contain(a[o],r[0],r[1]))return}i&&n.setCursorStyle("crosshair")}}function Y6(e){var t=e.event;t.preventDefault&&t.preventDefault()}function q6(e,t,r){return e.childOfName("main").contain(t,r)}function fj(e,t,r,n){var a=e._creatingCover,i=e._creatingPanel,o=e._brushOption,s;if(e._track.push(r.slice()),b0t(e)||a){if(i&&!a){o.brushMode==="single"&&G6(e);var l=_t(o);l.brushType=RN(l.brushType,i),l.panelId=i===yd?null:i.panelId,a=e._creatingCover=rj(e,l),e._covers.push(a)}if(a){var u=Tb[RN(e._brushType,i)],c=a.__brushOption;c.range=u.getCreatingRange(p8(e,a,e._track)),n&&(nj(e,a),u.updateCommon(e,a)),aj(e,a),s={isEnd:n}}}else n&&o.brushMode==="single"&&o.removeOnClick&&d8(e,t,r)&&G6(e)&&(s={isEnd:n,removeOnClick:!0});return s}function RN(e,t){return e==="auto"?t.defaultBrushType:e}var x0t={mousedown:function(e){if(this._dragging)MN(this,e);else if(!e.target||!e.target.draggable){Y6(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var r=this._creatingPanel=d8(this,e,t);r&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,r=e.offsetY,n=this.group.transformCoordToLocal(t,r);if(T0t(this,e,n),this._dragging){Y6(e);var a=fj(this,e,n,!1);a&&_d(this,a)}},mouseup:function(e){MN(this,e)}};function MN(e,t){if(e._dragging){Y6(t);var r=t.offsetX,n=t.offsetY,a=e.group.transformCoordToLocal(r,n),i=fj(e,t,a,!0);e._dragging=!1,e._track=[],e._creatingCover=null,i&&_d(e,i)}}function A0t(e,t,r){var n=e._zr;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}var Tb={lineX:LN(0),lineY:LN(1),rect:{createCover:function(e,t){function r(n){return n}return lj({toRectRange:r,fromRectRange:r},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=sj(e);return cj(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,r,n){uj(e,t,r,n)},updateCommon:W6,contain:q6},polygon:{createCover:function(e,t){var r=new wt;return r.add(new Ba({name:"main",style:f8(t),silent:!0})),r},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Pa({name:"main",draggable:!0,drift:Rt(E0t,e,t),ondragend:Rt(_d,e,{isEnd:!0})}))},updateCoverShape:function(e,t,r,n){t.childAt(0).setShape({points:p8(e,t,r)})},updateCommon:W6,contain:q6}};function LN(e){return{createCover:function(t,r){return lj({toRectRange:function(n){var a=[n,[0,100]];return e&&a.reverse(),a},fromRectRange:function(n){return n[e]}},t,r,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var r=sj(t),n=Qg(r[0][e],r[1][e]),a=Ap(r[0][e],r[1][e]);return[n,a]},updateCoverShape:function(t,r,n,a){var i,o=oj(t,r);if(o!==yd&&o.getLinearBrushOtherExtent)i=o.getLinearBrushOtherExtent(e);else{var s=t._zr;i=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[n,i];e&&l.reverse(),uj(t,r,l,a)},updateCommon:W6,contain:q6}}const h8=_0t;function pj(e){return e=v8(e),function(t){return gW(t,e)}}function hj(e,t){return e=v8(e),function(r){var n=t??r,a=n?e.width:e.height,i=n?e.x:e.y;return[i,i+(a||0)]}}function vj(e,t,r){var n=v8(e);return function(a,i){return n.contain(i[0],i[1])&&!wb(a,t,r)}}function v8(e){return Pt.create(e)}var k0t=["axisLine","axisTickLabel","axisName"],I0t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n){e.prototype.init.apply(this,arguments),(this._brushController=new h8(n.getZr())).on("brush",rt(this._onBrush,this))},t.prototype.render=function(r,n,a,i){if(!R0t(r,n,i)){this.axisModel=r,this.api=a,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new wt,this.group.add(this._axisGroup),!!r.get("show")){var s=L0t(r,n),l=s.coordinateSystem,u=r.getAreaSelectStyle(),c=u.width,d=r.axis.dim,f=l.getAxisLayout(d),p=Me({strokeContainThreshold:c},f),h=new Us(r,p);G(k0t,h.add,h),this._axisGroup.add(h.getGroup()),this._refreshBrushController(p,u,r,s,c,a),Am(o,this._axisGroup,r)}}},t.prototype._refreshBrushController=function(r,n,a,i,o,s){var l=a.axis.getExtent(),u=l[1]-l[0],c=Math.min(30,Math.abs(u)*.1),d=Pt.create({x:l[0],y:-o/2,width:u,height:o});d.x-=c,d.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:r.rotation,x:r.position[0],y:r.position[1]}).setPanels([{panelId:"pl",clipPath:pj(d),isTargetByCursor:vj(d,s,i),getLinearBrushOtherExtent:hj(d,0)}]).enableBrush({brushType:"lineX",brushStyle:n,removeOnClick:!0}).updateCovers(M0t(a))},t.prototype._onBrush=function(r){var n=r.areas,a=this.axisModel,i=a.axis,o=Pe(n,function(s){return[i.coordToData(s.range[0],!0),i.coordToData(s.range[1],!0)]});(!a.option.realtime===r.isEnd||r.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:a.id,intervals:o})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}($r);function R0t(e,t,r){return r&&r.type==="axisAreaSelect"&&t.findComponents({mainType:"parallelAxis",query:r})[0]===e}function M0t(e){var t=e.axis;return Pe(e.activeIntervals,function(r){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(r[0],!0),t.dataToCoord(r[1],!0)]}})}function L0t(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}const D0t=I0t;var O0t={type:"axisAreaSelect",event:"axisAreaSelected"};function N0t(e){e.registerAction(O0t,function(t,r){r.eachComponent({mainType:"parallelAxis",query:t},function(n){n.axis.model.setActiveIntervals(t.intervals)})}),e.registerAction("parallelAxisExpand",function(t,r){r.eachComponent({mainType:"parallel",query:t},function(n){n.setAxisExpand(t)})})}var P0t={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function gj(e){e.registerComponentView(Qmt),e.registerComponentModel(e0t),e.registerCoordinateSystem("parallel",d0t),e.registerPreprocessor(Kmt),e.registerComponentModel(xN),e.registerComponentView(D0t),xp(e,"parallel",xN,P0t),N0t(e)}function $0t(e){Ft(gj),e.registerChartView(Bmt),e.registerSeriesModel(Hmt),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,Wmt)}var B0t=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return e}(),F0t=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new B0t},t.prototype.buildPath=function(r,n){var a=n.extent;r.moveTo(n.x1,n.y1),r.bezierCurveTo(n.cpx1,n.cpy1,n.cpx2,n.cpy2,n.x2,n.y2),n.orient==="vertical"?(r.lineTo(n.x2+a,n.y2),r.bezierCurveTo(n.cpx2+a,n.cpy2,n.cpx1+a,n.cpy1,n.x1+a,n.y1)):(r.lineTo(n.x2,n.y2+a),r.bezierCurveTo(n.cpx2,n.cpy2+a,n.cpx1,n.cpy1+a,n.x1,n.y1+a)),r.closePath()},t.prototype.highlight=function(){zs(this)},t.prototype.downplay=function(){Vs(this)},t}(Vt),z0t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._focusAdjacencyDisabled=!1,r}return t.prototype.render=function(r,n,a){var i=this,o=r.getGraph(),s=this.group,l=r.layoutInfo,u=l.width,c=l.height,d=r.getData(),f=r.getData("edge"),p=r.get("orient");this._model=r,s.removeAll(),s.x=l.x,s.y=l.y,o.eachEdge(function(h){var v=new F0t,g=kt(v);g.dataIndex=h.dataIndex,g.seriesIndex=r.seriesIndex,g.dataType="edge";var m=h.getModel(),y=m.getModel("lineStyle"),_=y.get("curveness"),w=h.node1.getLayout(),E=h.node1.getModel(),S=E.get("localX"),C=E.get("localY"),T=h.node2.getLayout(),x=h.node2.getModel(),A=x.get("localX"),k=x.get("localY"),R=h.getLayout(),M,O,z,B,P,F,D,H;v.shape.extent=Math.max(1,R.dy),v.shape.orient=p,p==="vertical"?(M=(S!=null?S*u:w.x)+R.sy,O=(C!=null?C*c:w.y)+w.dy,z=(A!=null?A*u:T.x)+R.ty,B=k!=null?k*c:T.y,P=M,F=O*(1-_)+B*_,D=z,H=O*_+B*(1-_)):(M=(S!=null?S*u:w.x)+w.dx,O=(C!=null?C*c:w.y)+R.sy,z=A!=null?A*u:T.x,B=(k!=null?k*c:T.y)+R.ty,P=M*(1-_)+z*_,F=O,D=M*_+z*(1-_),H=B),v.setShape({x1:M,y1:O,x2:z,y2:B,cpx1:P,cpy1:F,cpx2:D,cpy2:H}),v.useStyle(y.getItemStyle()),DN(v.style,p,h);var K=""+m.get("value"),Y=vn(m,"edgeLabel");Pn(v,Y,{labelFetcher:{getFormattedLabel:function(fe,se,q,j,ae,ne){return r.getFormattedLabel(fe,se,"edge",j,Ho(ae,Y.normal&&Y.normal.get("formatter"),K),ne)}},labelDataIndex:h.dataIndex,defaultText:K}),v.setTextConfig({position:"inside"});var X=m.getModel("emphasis");Nn(v,m,"lineStyle",function(fe){var se=fe.getItemStyle();return DN(se,p,h),se}),s.add(v),f.setItemGraphicEl(h.dataIndex,v);var J=X.get("focus");Pr(v,J==="adjacency"?h.getAdjacentDataIndices():J==="trajectory"?h.getTrajectoryDataIndices():J,X.get("blurScope"),X.get("disabled"))}),o.eachNode(function(h){var v=h.getLayout(),g=h.getModel(),m=g.get("localX"),y=g.get("localY"),_=g.getModel("emphasis"),w=new Xt({shape:{x:m!=null?m*u:v.x,y:y!=null?y*c:v.y,width:v.dx,height:v.dy},style:g.getModel("itemStyle").getItemStyle(),z2:10});Pn(w,vn(g),{labelFetcher:{getFormattedLabel:function(S,C){return r.getFormattedLabel(S,C,"node")}},labelDataIndex:h.dataIndex,defaultText:h.id}),w.disableLabelAnimation=!0,w.setStyle("fill",h.getVisual("color")),w.setStyle("decal",h.getVisual("style").decal),Nn(w,g),s.add(w),d.setItemGraphicEl(h.dataIndex,w),kt(w).dataType="node";var E=_.get("focus");Pr(w,E==="adjacency"?h.getAdjacentDataIndices():E==="trajectory"?h.getTrajectoryDataIndices():E,_.get("blurScope"),_.get("disabled"))}),d.eachItemGraphicEl(function(h,v){var g=d.getItemModel(v);g.get("draggable")&&(h.drift=function(m,y){i._focusAdjacencyDisabled=!0,this.shape.x+=m,this.shape.y+=y,this.dirty(),a.dispatchAction({type:"dragNode",seriesId:r.id,dataIndex:d.getRawIndex(v),localX:this.shape.x/u,localY:this.shape.y/c})},h.ondragend=function(){i._focusAdjacencyDisabled=!1},h.draggable=!0,h.cursor="move")}),!this._data&&r.isAnimationEnabled()&&s.setClipPath(V0t(s.getBoundingRect(),r,function(){s.removeClipPath()})),this._data=r.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(wr);function DN(e,t,r){switch(e.fill){case"source":e.fill=r.node1.getVisual("color"),e.decal=r.node1.getVisual("style").decal;break;case"target":e.fill=r.node2.getVisual("color"),e.decal=r.node2.getVisual("style").decal;break;case"gradient":var n=r.node1.getVisual("color"),a=r.node2.getVisual("color");et(n)&&et(a)&&(e.fill=new xm(0,0,+(t==="horizontal"),+(t==="vertical"),[{color:n,offset:0},{color:a,offset:1}]))}}function V0t(e,t,r){var n=new Xt({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Ar(n,{shape:{width:e.width+20}},t,r),n}const H0t=z0t;var U0t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.getInitialData=function(r,n){var a=r.edges||r.links,i=r.data||r.nodes,o=r.levels;this.levelModels=[];for(var s=this.levelModels,l=0;l<o.length;l++)o[l].depth!=null&&o[l].depth>=0&&(s[o[l].depth]=new br(o[l],this,n));if(i&&a){var u=Zq(i,a,this,!0,c);return u.data}function c(d,f){d.wrapMethod("getItemModel",function(p,h){var v=p.parentModel,g=v.getData().getItemLayout(h);if(g){var m=g.depth,y=v.levelModels[m];y&&(p.parentModel=y)}return p}),f.wrapMethod("getItemModel",function(p,h){var v=p.parentModel,g=v.getGraph().getEdgeByIndex(h),m=g.node1.getLayout();if(m){var y=m.depth,_=v.levelModels[y];_&&(p.parentModel=_)}return p})}},t.prototype.setNodePosition=function(r,n){var a=this.option.data||this.option.nodes,i=a[r];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(r,n,a){function i(p){return isNaN(p)||p==null}if(a==="edge"){var o=this.getDataParams(r,a),s=o.data,l=o.value,u=s.source+" -- "+s.target;return gn("nameValue",{name:u,value:l,noValue:i(l)})}else{var c=this.getGraph().getNodeByIndex(r),d=c.getLayout().value,f=this.getDataParams(r,a).data.name;return gn("nameValue",{name:f!=null?f+"":null,value:d,noValue:i(d)})}},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(r,n){var a=e.prototype.getDataParams.call(this,r,n);if(a.value==null&&n==="node"){var i=this.getGraph().getNodeByIndex(r),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}(Rr);const G0t=U0t;function W0t(e,t){e.eachSeriesByType("sankey",function(r){var n=r.get("nodeWidth"),a=r.get("nodeGap"),i=K0t(r,t);r.layoutInfo=i;var o=i.width,s=i.height,l=r.getGraph(),u=l.nodes,c=l.edges;q0t(u);var d=ur(u,function(v){return v.getLayout().value===0}),f=d.length!==0?0:r.get("layoutIterations"),p=r.get("orient"),h=r.get("nodeAlign");Y0t(u,c,n,a,o,s,f,p,h)})}function K0t(e,t){return cn(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Y0t(e,t,r,n,a,i,o,s,l){j0t(e,t,r,a,i,s,l),J0t(e,t,i,a,n,o,s),lyt(e,s)}function q0t(e){G(e,function(t){var r=Xl(t.outEdges,B2),n=Xl(t.inEdges,B2),a=t.getValue()||0,i=Math.max(r,n,a);t.setLayout({value:i},!0)})}function j0t(e,t,r,n,a,i,o){for(var s=[],l=[],u=[],c=[],d=0,f=0;f<t.length;f++)s[f]=1;for(var f=0;f<e.length;f++)l[f]=e[f].inEdges.length,l[f]===0&&u.push(e[f]);for(var p=-1;u.length;){for(var h=0;h<u.length;h++){var v=u[h],g=v.hostGraph.data.getRawDataItem(v.dataIndex),m=g.depth!=null&&g.depth>=0;m&&g.depth>p&&(p=g.depth),v.setLayout({depth:m?g.depth:d},!0),i==="vertical"?v.setLayout({dy:r},!0):v.setLayout({dx:r},!0);for(var y=0;y<v.outEdges.length;y++){var _=v.outEdges[y],w=t.indexOf(_);s[w]=0;var E=_.node2,S=e.indexOf(E);--l[S]===0&&c.indexOf(E)<0&&c.push(E)}}++d,u=c,c=[]}for(var f=0;f<s.length;f++)if(s[f]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var C=p>d-1?p:d-1;o&&o!=="left"&&X0t(e,o,i,C);var T=i==="vertical"?(a-r)/C:(n-r)/C;Q0t(e,T,i)}function mj(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return t.depth!=null&&t.depth>=0}function X0t(e,t,r,n){if(t==="right"){for(var a=[],i=e,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}G(e,function(d){mj(d)||d.setLayout({depth:Math.max(0,n-d.getLayout().skNodeHeight)},!0)})}else t==="justify"&&Z0t(e,n)}function Z0t(e,t){G(e,function(r){!mj(r)&&!r.outEdges.length&&r.setLayout({depth:t},!0)})}function Q0t(e,t,r){G(e,function(n){var a=n.getLayout().depth*t;r==="vertical"?n.setLayout({y:a},!0):n.setLayout({x:a},!0)})}function J0t(e,t,r,n,a,i,o){var s=eyt(e,o);tyt(s,t,r,n,a,o),c4(s,a,r,n,o);for(var l=1;i>0;i--)l*=.99,ryt(s,l,o),c4(s,a,r,n,o),syt(s,l,o),c4(s,a,r,n,o)}function eyt(e,t){var r=[],n=t==="vertical"?"y":"x",a=ZE(e,function(i){return i.getLayout()[n]});return a.keys.sort(function(i,o){return i-o}),G(a.keys,function(i){r.push(a.buckets.get(i))}),r}function tyt(e,t,r,n,a,i){var o=1/0;G(e,function(s){var l=s.length,u=0;G(s,function(d){u+=d.getLayout().value});var c=i==="vertical"?(n-(l-1)*a)/u:(r-(l-1)*a)/u;c<o&&(o=c)}),G(e,function(s){G(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))})}),G(t,function(s){var l=+s.getValue()*o;s.setLayout({dy:l},!0)})}function c4(e,t,r,n,a){var i=a==="vertical"?"x":"y";G(e,function(o){o.sort(function(v,g){return v.getLayout()[i]-g.getLayout()[i]});for(var s,l,u,c=0,d=o.length,f=a==="vertical"?"dx":"dy",p=0;p<d;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()[f]+t;var h=a==="vertical"?n:r;if(u=c-t-h,u>0){s=l.getLayout()[i]-u,a==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0),c=s;for(var p=d-2;p>=0;--p)l=o[p],u=l.getLayout()[i]+l.getLayout()[f]+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 ryt(e,t,r){G(e.slice().reverse(),function(n){G(n,function(a){if(a.outEdges.length){var i=Xl(a.outEdges,nyt,r)/Xl(a.outEdges,B2);if(isNaN(i)){var o=a.outEdges.length;i=o?Xl(a.outEdges,ayt,r)/o:0}if(r==="vertical"){var s=a.getLayout().x+(i-fu(a,r))*t;a.setLayout({x:s},!0)}else{var l=a.getLayout().y+(i-fu(a,r))*t;a.setLayout({y:l},!0)}}})})}function nyt(e,t){return fu(e.node2,t)*e.getValue()}function ayt(e,t){return fu(e.node2,t)}function iyt(e,t){return fu(e.node1,t)*e.getValue()}function oyt(e,t){return fu(e.node1,t)}function fu(e,t){return t==="vertical"?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function B2(e){return e.getValue()}function Xl(e,t,r){for(var n=0,a=e.length,i=-1;++i<a;){var o=+t(e[i],r);isNaN(o)||(n+=o)}return n}function syt(e,t,r){G(e,function(n){G(n,function(a){if(a.inEdges.length){var i=Xl(a.inEdges,iyt,r)/Xl(a.inEdges,B2);if(isNaN(i)){var o=a.inEdges.length;i=o?Xl(a.inEdges,oyt,r)/o:0}if(r==="vertical"){var s=a.getLayout().x+(i-fu(a,r))*t;a.setLayout({x:s},!0)}else{var l=a.getLayout().y+(i-fu(a,r))*t;a.setLayout({y:l},!0)}}})})}function lyt(e,t){var r=t==="vertical"?"x":"y";G(e,function(n){n.outEdges.sort(function(a,i){return a.node2.getLayout()[r]-i.node2.getLayout()[r]}),n.inEdges.sort(function(a,i){return a.node1.getLayout()[r]-i.node1.getLayout()[r]})}),G(e,function(n){var a=0,i=0;G(n.outEdges,function(o){o.setLayout({sy:a},!0),a+=o.getLayout().dy}),G(n.inEdges,function(o){o.setLayout({ty:i},!0),i+=o.getLayout().dy})})}function uyt(e){e.eachSeriesByType("sankey",function(t){var r=t.getGraph(),n=r.nodes,a=r.edges;if(n.length){var i=1/0,o=-1/0;G(n,function(s){var l=s.getLayout().value;l<i&&(i=l),l>o&&(o=l)}),G(n,function(s){var l=new Dn({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&&G(a,function(s){var l=s.getModel().get("lineStyle");s.setVisual("style",l)})})}function cyt(e){e.registerChartView(H0t),e.registerSeriesModel(G0t),e.registerLayout(W0t),e.registerVisual(uyt),e.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,r){r.eachComponent({mainType:"series",subType:"sankey",query:t},function(n){n.setNodePosition(t.dataIndex,[t.localX,t.localY])})})}var yj=function(){function e(){}return e.prototype.getInitialData=function(t,r){var n,a=r.getComponent("xAxis",this.get("xAxisIndex")),i=r.getComponent("yAxis",this.get("yAxisIndex")),o=a.get("type"),s=i.get("type"),l;o==="category"?(t.layout="horizontal",n=a.getOrdinalMeta(),l=!0):s==="category"?(t.layout="vertical",n=i.getOrdinalMeta(),l=!0):t.layout=t.layout||"horizontal";var u=["x","y"],c=t.layout==="horizontal"?0:1,d=this._baseAxisDim=u[c],f=u[1-c],p=[a,i],h=p[c].get("type"),v=p[1-c].get("type"),g=t.data;if(g&&l){var m=[];G(g,function(w,E){var S;Ne(w)?(S=w.slice(),w.unshift(E)):Ne(w.value)?(S=Me({},w),S.value=S.value.slice(),w.value.unshift(E)):S=w,m.push(S)}),t.data=m}var y=this.defaultValueDimensions,_=[{name:d,type:x2(h),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:f,type:x2(v),dimsDef:y.slice()}];return th(this,{coordDimensions:_,dimensionsCount:y.length+1,encodeDefaulter:Rt(UW,_,this)})},e.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},e}(),_j=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],r.visualDrawType="stroke",r}return t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t}(Rr);on(_j,yj,!0);const dyt=_j;var fyt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){var i=r.getData(),o=this.group,s=this._data;this._data||o.removeAll();var l=r.get("layout")==="horizontal"?1:0;i.diff(s).add(function(u){if(i.hasValue(u)){var c=i.getItemLayout(u),d=ON(c,i,u,l,!0);i.setItemGraphicEl(u,d),o.add(d)}}).update(function(u,c){var d=s.getItemGraphicEl(c);if(!i.hasValue(u)){o.remove(d);return}var f=i.getItemLayout(u);d?(co(d),bj(f,d,i,u)):d=ON(f,i,u,l),o.add(d),i.setItemGraphicEl(u,d)}).remove(function(u){var c=s.getItemGraphicEl(u);c&&o.remove(c)}).execute(),this._data=i},t.prototype.remove=function(r){var n=this.group,a=this._data;this._data=null,a&&a.eachItemGraphicEl(function(i){i&&n.remove(i)})},t.type="boxplot",t}(wr),pyt=function(){function e(){}return e}(),hyt=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;return n.type="boxplotBoxPath",n}return t.prototype.getDefaultShape=function(){return new pyt},t.prototype.buildPath=function(r,n){var a=n.points,i=0;for(r.moveTo(a[i][0],a[i][1]),i++;i<4;i++)r.lineTo(a[i][0],a[i][1]);for(r.closePath();i<a.length;i++)r.moveTo(a[i][0],a[i][1]),i++,r.lineTo(a[i][0],a[i][1])},t}(Vt);function ON(e,t,r,n,a){var i=e.ends,o=new hyt({shape:{points:a?vyt(i,n,e):i}});return bj(e,o,t,r,a),o}function bj(e,t,r,n,a){var i=r.hostModel,o=Im[a?"initProps":"updateProps"];o(t,{shape:{points:e.ends}},i,n),t.useStyle(r.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.z2=100;var s=r.getItemModel(n),l=s.getModel("emphasis");Nn(t,s),Pr(t,l.get("focus"),l.get("blurScope"),l.get("disabled"))}function vyt(e,t,r){return Pe(e,function(n){return n=n.slice(),n[t]=r.initBaseline,n})}const gyt=fyt;var Fv=G;function myt(e){var t=yyt(e);Fv(t,function(r){var n=r.seriesModels;n.length&&(_yt(r),Fv(n,function(a,i){byt(a,r.boxOffsetList[i],r.boxWidthList[i])}))})}function yyt(e){var t=[],r=[];return e.eachSeriesByType("boxplot",function(n){var a=n.getBaseAxis(),i=Bt(r,a);i<0&&(i=r.length,r[i]=a,t[i]={axis:a,seriesModels:[]}),t[i].seriesModels.push(n)}),t}function _yt(e){var t=e.axis,r=e.seriesModels,n=r.length,a=e.boxWidthList=[],i=e.boxOffsetList=[],o=[],s;if(t.type==="category")s=t.getBandWidth();else{var l=0;Fv(r,function(h){l=Math.max(l,h.getData().count())});var u=t.getExtent();s=Math.abs(u[1]-u[0])/l}Fv(r,function(h){var v=h.get("boxWidth");Ne(v)||(v=[v,v]),o.push([Ze(v[0],s)||0,Ze(v[1],s)||0])});var c=s*.8-2,d=c/n*.3,f=(c-d*(n-1))/n,p=f/2-c/2;Fv(r,function(h,v){i.push(p),p+=d+f,a.push(Math.min(Math.max(f,o[v][0]),o[v][1]))})}function byt(e,t,r){var n=e.coordinateSystem,a=e.getData(),i=r/2,o=e.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 d=0;d<a.count();d++){var f=a.get(u,d),p=_(f,c[2],d),h=_(f,c[0],d),v=_(f,c[1],d),g=_(f,c[3],d),m=_(f,c[4],d),y=[];w(y,v,!1),w(y,g,!0),y.push(h,v,m,g),E(y,h),E(y,m),E(y,p),a.setItemLayout(d,{initBaseline:p[s],ends:y})}function _(S,C,T){var x=a.get(C,T),A=[];A[o]=S,A[s]=x;var k;return isNaN(S)||isNaN(x)?k=[NaN,NaN]:(k=n.dataToPoint(A),k[o]+=t),k}function w(S,C,T){var x=C.slice(),A=C.slice();x[o]+=i,A[o]-=i,T?S.push(x,A):S.push(A,x)}function E(S,C){var T=C.slice(),x=C.slice();T[o]-=i,x[o]+=i,S.push(T,x)}}function wyt(e,t){t=t||{};for(var r=[],n=[],a=t.boundIQR,i=a==="none"||a===0,o=0;o<e.length;o++){var s=Si(e[o].slice()),l=zw(s,.25),u=zw(s,.5),c=zw(s,.75),d=s[0],f=s[s.length-1],p=(a??1.5)*(c-l),h=i?d:Math.max(d,l-p),v=i?f:Math.min(f,c+p),g=t.itemNameFormatter,m=ft(g)?g({value:o}):et(g)?g.replace("{value}",o+""):o+"";r.push([m,h,l,u,c,v]);for(var y=0;y<s.length;y++){var _=s[y];if(_<h||_>v){var w=[m,_];n.push(w)}}}return{boxData:r,outliers:n}}var Syt={type:"echarts:boxplot",transform:function(t){var r=t.upstream;if(r.sourceFormat!==jn){var n="";ar(n)}var a=wyt(r.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:a.boxData},{data:a.outliers}]}};function Eyt(e){e.registerSeriesModel(dyt),e.registerChartView(gyt),e.registerLayout(myt),e.registerTransform(Syt)}var Cyt=["color","borderColor"],Tyt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(r),this._isLargeDraw?this._renderLarge(r):this._renderNormal(r)},t.prototype.incrementalPrepareRender=function(r,n,a){this._clear(),this._updateDrawMode(r)},t.prototype.incrementalRender=function(r,n,a,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(r,n):this._incrementalRenderNormal(r,n)},t.prototype.eachRendered=function(r){wu(this._progressiveEls||this.group,r)},t.prototype._updateDrawMode=function(r){var n=r.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.prototype._renderNormal=function(r){var n=r.getData(),a=this._data,i=this.group,o=n.getLayout("isSimpleBox"),s=r.get("clip",!0),l=r.coordinateSystem,u=l.getArea&&l.getArea();this._data||i.removeAll(),n.diff(a).add(function(c){if(n.hasValue(c)){var d=n.getItemLayout(c);if(s&&NN(u,d))return;var f=d4(d,c,!0);Ar(f,{shape:{points:d.ends}},r,c),f4(f,n,c,o),i.add(f),n.setItemGraphicEl(c,f)}}).update(function(c,d){var f=a.getItemGraphicEl(d);if(!n.hasValue(c)){i.remove(f);return}var p=n.getItemLayout(c);if(s&&NN(u,p)){i.remove(f);return}f?(rr(f,{shape:{points:p.ends}},r,c),co(f)):f=d4(p),f4(f,n,c,o),i.add(f),n.setItemGraphicEl(c,f)}).remove(function(c){var d=a.getItemGraphicEl(c);d&&i.remove(d)}).execute(),this._data=n},t.prototype._renderLarge=function(r){this._clear(),PN(r,this.group);var n=r.get("clip",!0)?bb(r.coordinateSystem,!1,r):null;n?this.group.setClipPath(n):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(r,n){for(var a=n.getData(),i=a.getLayout("isSimpleBox"),o;(o=r.next())!=null;){var s=a.getItemLayout(o),l=d4(s);f4(l,a,o,i),l.incremental=!0,this.group.add(l),this._progressiveEls.push(l)}},t.prototype._incrementalRenderLarge=function(r,n){PN(n,this.group,this._progressiveEls,!0)},t.prototype.remove=function(r){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(wr),xyt=function(){function e(){}return e}(),Ayt=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;return n.type="normalCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new xyt},t.prototype.buildPath=function(r,n){var a=n.points;this.__simpleBox?(r.moveTo(a[4][0],a[4][1]),r.lineTo(a[6][0],a[6][1])):(r.moveTo(a[0][0],a[0][1]),r.lineTo(a[1][0],a[1][1]),r.lineTo(a[2][0],a[2][1]),r.lineTo(a[3][0],a[3][1]),r.closePath(),r.moveTo(a[4][0],a[4][1]),r.lineTo(a[5][0],a[5][1]),r.moveTo(a[6][0],a[6][1]),r.lineTo(a[7][0],a[7][1]))},t}(Vt);function d4(e,t,r){var n=e.ends;return new Ayt({shape:{points:r?kyt(n,e):n},z2:100})}function NN(e,t){for(var r=!0,n=0;n<t.ends.length;n++)if(e.contain(t.ends[n][0],t.ends[n][1])){r=!1;break}return r}function f4(e,t,r,n){var a=t.getItemModel(r);e.useStyle(t.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.__simpleBox=n,Nn(e,a)}function kyt(e,t){return Pe(e,function(r){return r=r.slice(),r[1]=t.initBaseline,r})}var Iyt=function(){function e(){}return e}(),p4=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;return n.type="largeCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new Iyt},t.prototype.buildPath=function(r,n){for(var a=n.points,i=0;i<a.length;)if(this.__sign===a[i++]){var o=a[i++];r.moveTo(o,a[i++]),r.lineTo(o,a[i++])}else i+=3},t}(Vt);function PN(e,t,r,n){var a=e.getData(),i=a.getLayout("largePoints"),o=new p4({shape:{points:i},__sign:1,ignoreCoarsePointer:!0});t.add(o);var s=new p4({shape:{points:i},__sign:-1,ignoreCoarsePointer:!0});t.add(s);var l=new p4({shape:{points:i},__sign:0,ignoreCoarsePointer:!0});t.add(l),h4(1,o,e),h4(-1,s,e),h4(0,l,e),n&&(o.incremental=!0,s.incremental=!0),r&&r.push(o,s)}function h4(e,t,r,n){var a=r.get(["itemStyle",e>0?"borderColor":"borderColor0"])||r.get(["itemStyle",e>0?"color":"color0"]);e===0&&(a=r.get(["itemStyle","borderColorDoji"]));var i=r.getModel("itemStyle").getItemStyle(Cyt);t.useStyle(i),t.style.fill=null,t.style.stroke=a}const Ryt=Tyt;var wj=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],r}return t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(r,n,a){var i=n.getItemLayout(r);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:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(Rr);on(wj,yj,!0);const Myt=wj;function Lyt(e){!e||!Ne(e.series)||G(e.series,function(t){vt(t)&&t.type==="k"&&(t.type="candlestick")})}var Dyt=["itemStyle","borderColor"],Oyt=["itemStyle","borderColor0"],Nyt=["itemStyle","borderColorDoji"],Pyt=["itemStyle","color"],$yt=["itemStyle","color0"],Byt={seriesType:"candlestick",plan:Qp(),performRawSeries:!0,reset:function(e,t){function r(i,o){return o.get(i>0?Pyt:$yt)}function n(i,o){return o.get(i===0?Nyt:i>0?Dyt:Oyt)}if(!t.isSeriesFiltered(e)){var a=e.pipelineContext.large;return!a&&{progress:function(i,o){for(var s;(s=i.next())!=null;){var l=o.getItemModel(s),u=o.getItemLayout(s).sign,c=l.getItemStyle();c.fill=r(u,l),c.stroke=n(u,l)||c.fill;var d=o.ensureUniqueItemVisual(s,"style");Me(d,c)}}}}}};const Fyt=Byt;var zyt={seriesType:"candlestick",plan:Qp(),reset:function(e){var t=e.coordinateSystem,r=e.getData(),n=Vyt(e,r),a=0,i=1,o=["x","y"],s=r.getDimensionIndex(r.mapDimension(o[a])),l=Pe(r.mapDimensionsAll(o[i]),r.getDimensionIndex,r),u=l[0],c=l[1],d=l[2],f=l[3];if(r.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),s<0||l.length<4)return;return{progress:e.pipelineContext.large?h:p};function p(v,g){for(var m,y=g.getStore();(m=v.next())!=null;){var _=y.get(s,m),w=y.get(u,m),E=y.get(c,m),S=y.get(d,m),C=y.get(f,m),T=Math.min(w,E),x=Math.max(w,E),A=P(T,_),k=P(x,_),R=P(S,_),M=P(C,_),O=[];F(O,k,0),F(O,A,1),O.push(H(M),H(k),H(R),H(A));var z=g.getItemModel(m),B=!!z.get(["itemStyle","borderColorDoji"]);g.setItemLayout(m,{sign:$N(y,m,w,E,c,B),initBaseline:w>E?k[i]:A[i],ends:O,brushRect:D(S,C,_)})}function P(K,Y){var X=[];return X[a]=Y,X[i]=K,isNaN(Y)||isNaN(K)?[NaN,NaN]:t.dataToPoint(X)}function F(K,Y,X){var J=Y.slice(),fe=Y.slice();J[a]=u1(J[a]+n/2,1,!1),fe[a]=u1(fe[a]-n/2,1,!0),X?K.push(J,fe):K.push(fe,J)}function D(K,Y,X){var J=P(K,X),fe=P(Y,X);return J[a]-=n/2,fe[a]-=n/2,{x:J[0],y:J[1],width:n,height:fe[1]-J[1]}}function H(K){return K[a]=u1(K[a],1),K}}function h(v,g){for(var m=Bo(v.count*4),y=0,_,w=[],E=[],S,C=g.getStore(),T=!!e.get(["itemStyle","borderColorDoji"]);(S=v.next())!=null;){var x=C.get(s,S),A=C.get(u,S),k=C.get(c,S),R=C.get(d,S),M=C.get(f,S);if(isNaN(x)||isNaN(R)||isNaN(M)){m[y++]=NaN,y+=3;continue}m[y++]=$N(C,S,A,k,c,T),w[a]=x,w[i]=R,_=t.dataToPoint(w,null,E),m[y++]=_?_[0]:NaN,m[y++]=_?_[1]:NaN,w[i]=M,_=t.dataToPoint(w,null,E),m[y++]=_?_[1]:NaN}g.setLayout("largePoints",m)}}};function $N(e,t,r,n,a,i){var o;return r>n?o=-1:r<n?o=1:o=i?0:t>0?e.get(a,t-1)<=n?1:-1:1,o}function Vyt(e,t){var r=e.getBaseAxis(),n,a=r.type==="category"?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),i=Ze(Dt(e.get("barMaxWidth"),a),a),o=Ze(Dt(e.get("barMinWidth"),1),a),s=e.get("barWidth");return s!=null?Ze(s,a):Math.max(Math.min(a/2,i),o)}const Hyt=zyt;function Uyt(e){e.registerChartView(Ryt),e.registerSeriesModel(Myt),e.registerPreprocessor(Lyt),e.registerVisual(Fyt),e.registerLayout(Hyt)}function BN(e,t){var r=t.rippleEffectColor||t.color;e.eachChild(function(n){n.attr({z:t.z,zlevel:t.zlevel,style:{stroke:t.brushType==="stroke"?r:null,fill:t.brushType==="fill"?r:null}})})}var Gyt=function(e){ye(t,e);function t(r,n){var a=e.call(this)||this,i=new Nm(r,n),o=new wt;return a.add(i),a.add(o),a.updateData(r,n),a}return t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(r){for(var n=r.symbolType,a=r.color,i=r.rippleNumber,o=this.childAt(1),s=0;s<i;s++){var l=an(n,-1,-1,2,2,a);l.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var u=-s/i*r.period+r.effectOffset;l.animate("",!0).when(r.period,{scaleX:r.rippleScale/2,scaleY:r.rippleScale/2}).delay(u).start(),l.animateStyle(!0).when(r.period,{opacity:0}).delay(u).start(),o.add(l)}BN(o,r)},t.prototype.updateEffectAnimation=function(r){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]!==r[s]){this.stopEffectAnimation(),this.startEffectAnimation(r);return}}BN(a,r)},t.prototype.highlight=function(){zs(this)},t.prototype.downplay=function(){Vs(this)},t.prototype.getSymbolType=function(){var r=this.childAt(0);return r&&r.getSymbolType()},t.prototype.updateData=function(r,n){var a=this,i=r.hostModel;this.childAt(0).updateData(r,n);var o=this.childAt(1),s=r.getItemModel(n),l=r.getItemVisual(n,"symbol"),u=eh(r.getItemVisual(n,"symbolSize")),c=r.getItemVisual(n,"style"),d=c&&c.fill,f=s.getModel("emphasis");o.setScale(u),o.traverse(function(g){g.setStyle("fill",d)});var p=Md(r.getItemVisual(n,"symbolOffset"),u);p&&(o.x=p[0],o.y=p[1]);var h=r.getItemVisual(n,"symbolRotate");o.rotation=(h||0)*Math.PI/180||0;var v={};v.showEffectOn=i.get("showEffectOn"),v.rippleScale=s.get(["rippleEffect","scale"]),v.brushType=s.get(["rippleEffect","brushType"]),v.period=s.get(["rippleEffect","period"])*1e3,v.effectOffset=n/r.count(),v.z=i.getShallow("z")||0,v.zlevel=i.getShallow("zlevel")||0,v.symbolType=l,v.color=d,v.rippleEffectColor=s.get(["rippleEffect","color"]),v.rippleNumber=s.get(["rippleEffect","number"]),v.showEffectOn==="render"?(this._effectCfg?this.updateEffectAnimation(v):this.startEffectAnimation(v),this._effectCfg=v):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(g){g==="emphasis"?v.showEffectOn!=="render"&&a.startEffectAnimation(v):g==="normal"&&v.showEffectOn!=="render"&&a.stopEffectAnimation()}),this._effectCfg=v,Pr(this,f.get("focus"),f.get("blurScope"),f.get("disabled"))},t.prototype.fadeOut=function(r){r&&r()},t}(wt);const Wyt=Gyt;var Kyt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(){this._symbolDraw=new Pm(Wyt)},t.prototype.render=function(r,n,a){var i=r.getData(),o=this._symbolDraw;o.updateData(i,{clipShape:this._getClipShape(r)}),this.group.add(o.group)},t.prototype._getClipShape=function(r){var n=r.coordinateSystem,a=n&&n.getArea&&n.getArea();return r.get("clip",!0)?a:null},t.prototype.updateTransform=function(r,n,a){var i=r.getData();this.group.dirty();var o=$m("").reset(r,n,a);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(r){var n=r.coordinateSystem;n&&n.getRoamTransform&&(this.group.transform=Cnt(n.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(r,n){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(wr);const Yyt=Kyt;var qyt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.getInitialData=function(r,n){return el(null,this,{useEncodeDefaulter:!0})},t.prototype.brushSelector=function(r,n,a){return a.point(n.getItemLayout(r))},t.type="series.effectScatter",t.dependencies=["grid","polar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},t}(Rr);const jyt=qyt;function Xyt(e){e.registerChartView(Yyt),e.registerSeriesModel(jyt),e.registerLayout($m("effectScatter"))}var Zyt=function(e){ye(t,e);function t(r,n,a){var i=e.call(this)||this;return i.add(i.createLine(r,n,a)),i._updateEffectSymbol(r,n),i}return t.prototype.createLine=function(r,n,a){return new s8(r,n,a)},t.prototype._updateEffectSymbol=function(r,n){var a=r.getItemModel(n),i=a.getModel("effect"),o=i.get("symbolSize"),s=i.get("symbol");Ne(o)||(o=[o,o]);var l=r.getItemVisual(n,"style"),u=i.get("color")||l&&l.stroke,c=this.childAt(1);this._symbolType!==s&&(this.remove(c),c=an(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(r,i,n))},t.prototype._updateEffectAnimation=function(r,n,a){var i=this.childAt(1);if(i){var o=r.getItemLayout(a),s=n.get("period")*1e3,l=n.get("loop"),u=n.get("roundTrip"),c=n.get("constantSpeed"),d=wn(n.get("delay"),function(p){return p/r.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 f=void 0;ft(d)?f=d(a):f=d,i.__t>0&&(f=-s*i.__t),this._animateSymbol(i,s,f,l,u)}this._period=s,this._loop=l,this._roundTrip=u}},t.prototype._animateSymbol=function(r,n,a,i,o){if(n>0){r.__t=0;var s=this,l=r.animate("",i).when(o?n*2:n,{__t:o?2:1}).delay(a).during(function(){s._updateSymbolPosition(r)});i||l.done(function(){s.remove(r)}),l.start()}},t.prototype._getLineLength=function(r){return Dl(r.__p1,r.__cp1)+Dl(r.__cp1,r.__p2)},t.prototype._updateAnimationPoints=function(r,n){r.__p1=n[0],r.__p2=n[1],r.__cp1=n[2]||[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2]},t.prototype.updateData=function(r,n,a){this.childAt(0).updateData(r,n,a),this._updateEffectSymbol(r,n)},t.prototype._updateSymbolPosition=function(r){var n=r.__p1,a=r.__p2,i=r.__cp1,o=r.__t<1?r.__t:2-r.__t,s=[r.x,r.y],l=s.slice(),u=yn,c=BE;s[0]=u(n[0],i[0],a[0],o),s[1]=u(n[1],i[1],a[1],o);var d=r.__t<1?c(n[0],i[0],a[0],o):c(a[0],i[0],n[0],1-o),f=r.__t<1?c(n[1],i[1],a[1],o):c(a[1],i[1],n[1],1-o);r.rotation=-Math.atan2(f,d)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(r.__lastT!==void 0&&r.__lastT<r.__t?(r.scaleY=Dl(l,s)*1.05,o===1&&(s[0]=l[0]+(s[0]-l[0])/2,s[1]=l[1]+(s[1]-l[1])/2)):r.__lastT===1?r.scaleY=2*Dl(n,s):r.scaleY=this._symbolScale[1]),r.__lastT=r.__t,r.ignore=!1,r.x=s[0],r.y=s[1]},t.prototype.updateLayout=function(r,n){this.childAt(0).updateLayout(r,n);var a=r.getItemModel(n).getModel("effect");this._updateEffectAnimation(r,a,n)},t}(wt);const Sj=Zyt;var Qyt=function(e){ye(t,e);function t(r,n,a){var i=e.call(this)||this;return i._createPolyline(r,n,a),i}return t.prototype._createPolyline=function(r,n,a){var i=r.getItemLayout(n),o=new Ba({shape:{points:i}});this.add(o),this._updateCommonStl(r,n,a)},t.prototype.updateData=function(r,n,a){var i=r.hostModel,o=this.childAt(0),s={shape:{points:r.getItemLayout(n)}};rr(o,s,i,n),this._updateCommonStl(r,n,a)},t.prototype._updateCommonStl=function(r,n,a){var i=this.childAt(0),o=r.getItemModel(n),s=a&&a.emphasisLineStyle,l=a&&a.focus,u=a&&a.blurScope,c=a&&a.emphasisDisabled;if(!a||r.hasItemOption){var d=o.getModel("emphasis");s=d.getModel("lineStyle").getLineStyle(),c=d.get("disabled"),l=d.get("focus"),u=d.get("blurScope")}i.useStyle(r.getItemVisual(n,"style")),i.style.fill=null,i.style.strokeNoScale=!0;var f=i.ensureState("emphasis");f.style=s,Pr(this,l,u,c)},t.prototype.updateLayout=function(r,n){var a=this.childAt(0);a.setShape("points",r.getItemLayout(n))},t}(wt);const Ej=Qyt;var Jyt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._lastFrame=0,r._lastFramePercent=0,r}return t.prototype.createLine=function(r,n,a){return new Ej(r,n,a)},t.prototype._updateAnimationPoints=function(r,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+=Dl(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(r){var n=r.__t<1?r.__t:2-r.__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]),d=a[l],f=a[l+1];r.x=d[0]*(1-c)+c*f[0],r.y=d[1]*(1-c)+c*f[1];var p=r.__t<1?f[0]-d[0]:d[0]-f[0],h=r.__t<1?f[1]-d[1]:d[1]-f[1];r.rotation=-Math.atan2(h,p)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=n,r.ignore=!1}},t}(Sj);const e1t=Jyt;var t1t=function(){function e(){this.polyline=!1,this.curveness=0,this.segs=[]}return e}(),r1t=function(e){ye(t,e);function t(r){var n=e.call(this,r)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new t1t},t.prototype.buildPath=function(r,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){r.moveTo(a[o++],a[o++]);for(var l=1;l<s;l++)r.lineTo(a[o++],a[o++])}}else for(o=this._off;o<a.length;){var u=a[o++],c=a[o++],d=a[o++],f=a[o++];if(r.moveTo(u,c),i>0){var p=(u+d)/2-(c-f)*i,h=(c+f)/2-(d-u)*i;r.quadraticCurveTo(p,h,d,f)}else r.lineTo(d,f)}this.incremental&&(this._off=o,this.notClear=!0)},t.prototype.findDataIndex=function(r,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 d=i[u++],f=i[u++],p=1;p<c;p++){var h=i[u++],v=i[u++];if(Cl(d,f,h,v,s,r,n))return l}l++}else for(var l=0,u=0;u<i.length;){var d=i[u++],f=i[u++],h=i[u++],v=i[u++];if(o>0){var g=(d+h)/2-(f-v)*o,m=(f+v)/2-(h-d)*o;if(IG(d,f,g,m,h,v,s,r,n))return l}else if(Cl(d,f,h,v,s,r,n))return l;l++}return-1},t.prototype.contain=function(r,n){var a=this.transformCoordToLocal(r,n),i=this.getBoundingRect();if(r=a[0],n=a[1],i.contain(r,n)){var o=this.hoverDataIdx=this.findDataIndex(r,n);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var r=this._rect;if(!r){for(var n=this.shape,a=n.segs,i=1/0,o=1/0,s=-1/0,l=-1/0,u=0;u<a.length;){var c=a[u++],d=a[u++];i=Math.min(c,i),s=Math.max(c,s),o=Math.min(d,o),l=Math.max(d,l)}r=this._rect=new Pt(i,o,s,l)}return r},t}(Vt),n1t=function(){function e(){this.group=new wt}return e.prototype.updateData=function(t){this._clear();var r=this._create();r.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(r,t)},e.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},e.prototype.incrementalUpdate=function(t,r){var n=this._newAdded[0],a=r.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,r),l.__startIndex=t.start}},e.prototype.remove=function(){this._clear()},e.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},e.prototype._create=function(){var t=new r1t({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},e.prototype._setCommon=function(t,r,n){var a=r.hostModel;t.setShape({polyline:a.get("polyline"),curveness:a.get(["lineStyle","curveness"])}),t.useStyle(a.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var i=r.getVisual("style");i&&i.stroke&&t.setStyle("stroke",i.stroke),t.setStyle("fill",null);var o=kt(t);o.seriesIndex=a.seriesIndex,t.on("mousemove",function(s){o.dataIndex=null;var l=t.hoverDataIdx;l>0&&(o.dataIndex=l+t.__startIndex)})},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}();const a1t=n1t;var i1t={seriesType:"lines",plan:Qp(),reset:function(e){var t=e.coordinateSystem;if(t){var r=e.get("polyline"),n=e.pipelineContext.large;return{progress:function(a,i){var o=[];if(n){var s=void 0,l=a.end-a.start;if(r){for(var u=0,c=a.start;c<a.end;c++)u+=e.getLineCoordsCount(c);s=new Float32Array(l+u*2)}else s=new Float32Array(l*4);for(var d=0,f=[],c=a.start;c<a.end;c++){var p=e.getLineCoords(c,o);r&&(s[d++]=p);for(var h=0;h<p;h++)f=t.dataToPoint(o[h],!1,f),s[d++]=f[0],s[d++]=f[1]}i.setLayout("linesPoints",s)}else for(var c=a.start;c<a.end;c++){var v=i.getItemModel(c),p=e.getLineCoords(c,o),g=[];if(r)for(var m=0;m<p;m++)g.push(t.dataToPoint(o[m]));else{g[0]=t.dataToPoint(o[0]),g[1]=t.dataToPoint(o[1]);var y=v.get(["lineStyle","curveness"]);+y&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*y,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*y])}i.setItemLayout(c,g)}}}}}};const Cj=i1t;var o1t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){var i=r.getData(),o=this._updateLineDraw(i,r),s=r.get("zlevel"),l=r.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(r)&&l>0&&(c||u.configLayer(s,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(l/10+.9,1),0)})),o.updateData(i);var d=r.get("clip",!0)&&bb(r.coordinateSystem,!1,r);d?this.group.setClipPath(d):this.group.removeClipPath(),this._lastZlevel=s,this._finished=!0},t.prototype.incrementalPrepareRender=function(r,n,a){var i=r.getData(),o=this._updateLineDraw(i,r);o.incrementalPrepareUpdate(i),this._clearLayer(a),this._finished=!1},t.prototype.incrementalRender=function(r,n,a){this._lineDraw.incrementalUpdate(r,n.getData()),this._finished=r.end===n.getData().count()},t.prototype.eachRendered=function(r){this._lineDraw&&this._lineDraw.eachRendered(r)},t.prototype.updateTransform=function(r,n,a){var i=r.getData(),o=r.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var s=Cj.reset(r,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(r,n){var a=this._lineDraw,i=this._showEffect(n),o=!!n.get("polyline"),s=n.pipelineContext,l=s.large;return(!a||i!==this._hasEffet||o!==this._isPolyline||l!==this._isLargeDraw)&&(a&&a.remove(),a=this._lineDraw=l?new a1t:new l8(o?i?e1t:Ej:i?Sj:s8),this._hasEffet=i,this._isPolyline=o,this._isLargeDraw=l),this.group.add(a.group),a},t.prototype._showEffect=function(r){return!!r.get(["effect","show"])},t.prototype._clearLayer=function(r){var n=r.getZr(),a=n.painter.getType()==="svg";!a&&this._lastZlevel!=null&&n.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(r,n){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(n)},t.prototype.dispose=function(r,n){this.remove(r,n)},t.type="lines",t}(wr);const s1t=o1t;var l1t=typeof Uint32Array>"u"?Array:Uint32Array,u1t=typeof Float64Array>"u"?Array:Float64Array;function FN(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=Pe(t,function(r){var n=[r[0].coord,r[1].coord],a={coords:n};return r[0].name&&(a.fromName=r[0].name),r[1].name&&(a.toName=r[1].name),Bx([a,r[0],r[1]])}))}var c1t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.visualStyleAccessPath="lineStyle",r.visualDrawType="stroke",r}return t.prototype.init=function(r){r.data=r.data||[],FN(r);var n=this._processFlatCoordsArray(r.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(r.data=new Float32Array(n.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(r){if(FN(r),r.data){var n=this._processFlatCoordsArray(r.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(r.data=new Float32Array(n.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(r){var n=this._processFlatCoordsArray(r.data);n.flatCoords&&(this._flatCoords?(this._flatCoords=r2(this._flatCoords,n.flatCoords),this._flatCoordsOffset=r2(this._flatCoordsOffset,n.flatCoordsOffset)):(this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset),r.data=new Float32Array(n.count)),this.getRawData().appendData(r.data)},t.prototype._getCoordsFromItemModel=function(r){var n=this.getData().getItemModel(r),a=n.option instanceof Array?n.option:n.getShallow("coords");return a},t.prototype.getLineCoordsCount=function(r){return this._flatCoordsOffset?this._flatCoordsOffset[r*2+1]:this._getCoordsFromItemModel(r).length},t.prototype.getLineCoords=function(r,n){if(this._flatCoordsOffset){for(var a=this._flatCoordsOffset[r*2],i=this._flatCoordsOffset[r*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(r),o=0;o<s.length;o++)n[o]=n[o]||[],n[o][0]=s[o][0],n[o][1]=s[o][1];return s.length}},t.prototype._processFlatCoordsArray=function(r){var n=0;if(this._flatCoords&&(n=this._flatCoords.length),tr(r[0])){for(var a=r.length,i=new l1t(a),o=new u1t(a),s=0,l=0,u=0,c=0;c<a;){u++;var d=r[c++];i[l++]=s+n,i[l++]=d;for(var f=0;f<d;f++){var p=r[c++],h=r[c++];o[s++]=p,o[s++]=h}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,l),flatCoords:o,count:u}}return{flatCoordsOffset:null,flatCoords:null,count:r.length}},t.prototype.getInitialData=function(r,n){var a=new oa(["value"],this);return a.hasItemOption=!1,a.initData(r.data,[],function(i,o,s,l){if(i instanceof Array)return NaN;a.hasItemOption=!0;var u=i.value;if(u!=null)return u instanceof Array?u[l]:u}),a},t.prototype.formatTooltip=function(r,n,a){var i=this.getData(),o=i.getItemModel(r),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),gn("nameValue",{name:c.join(" > ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var r=this.option.progressive;return r??(this.option.large?1e4:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var r=this.option.progressiveThreshold;return r??(this.option.large?2e4:this.get("progressiveThreshold"))},t.prototype.getZLevelKey=function(){var r=this.getModel("effect"),n=r.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:r.get("show")&&n>0?n+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(Rr);const d1t=c1t;function ly(e){return e instanceof Array||(e=[e,e]),e}var f1t={seriesType:"lines",reset:function(e){var t=ly(e.get("symbol")),r=ly(e.get("symbolSize")),n=e.getData();n.setVisual("fromSymbol",t&&t[0]),n.setVisual("toSymbol",t&&t[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]);function a(i,o){var s=i.getItemModel(o),l=ly(s.getShallow("symbol",!0)),u=ly(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}}};const p1t=f1t;function h1t(e){e.registerChartView(s1t),e.registerSeriesModel(d1t),e.registerLayout(Cj),e.registerVisual(p1t)}var v1t=256,g1t=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=ou.createCanvas();this.canvas=t}return e.prototype.update=function(t,r,n,a,i,o){var s=this._getBrush(),l=this._getGradient(i,"inRange"),u=this._getGradient(i,"outOfRange"),c=this.pointSize+this.blurSize,d=this.canvas,f=d.getContext("2d"),p=t.length;d.width=r,d.height=n;for(var h=0;h<p;++h){var v=t[h],g=v[0],m=v[1],y=v[2],_=a(y);f.globalAlpha=_,f.drawImage(s,g-c,m-c)}if(!d.width||!d.height)return d;for(var w=f.getImageData(0,0,d.width,d.height),E=w.data,S=0,C=E.length,T=this.minOpacity,x=this.maxOpacity,A=x-T;S<C;){var _=E[S+3]/256,k=Math.floor(_*(v1t-1))*4;if(_>0){var R=o(_)?l:u;_>0&&(_=_*A+T),E[S++]=R[k],E[S++]=R[k+1],E[S++]=R[k+2],E[S++]=R[k+3]*_*256}else S+=4}return f.putImageData(w,0,0),d},e.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=ou.createCanvas()),r=this.pointSize+this.blurSize,n=r*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(-r,r,this.pointSize,0,Math.PI*2,!0),a.closePath(),a.fill(),t},e.prototype._getGradient=function(t,r){for(var n=this._gradientPixels,a=n[r]||(n[r]=new Uint8ClampedArray(256*4)),i=[0,0,0,0],o=0,s=0;s<256;s++)t[r](s/255,!0,i),a[o++]=i[0],a[o++]=i[1],a[o++]=i[2],a[o++]=i[3];return a},e}();const m1t=g1t;function y1t(e,t,r){var n=e[1]-e[0];t=Pe(t,function(o){return{interval:[(o.interval[0]-e[0])/n,(o.interval[1]-e[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&&r[s]}}function _1t(e,t){var r=e[1]-e[0];return t=[(t[0]-e[0])/r,(t[1]-e[0])/r],function(n){return n>=t[0]&&n<=t[1]}}function zN(e){var t=e.dimensions;return t[0]==="lng"&&t[1]==="lat"}var b1t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){var i;n.eachComponent("visualMap",function(s){s.eachTargetSeries(function(l){l===r&&(i=s)})}),this._progressiveEls=null,this.group.removeAll();var o=r.coordinateSystem;o.type==="cartesian2d"||o.type==="calendar"?this._renderOnCartesianAndCalendar(r,a,0,r.getData().count()):zN(o)&&this._renderOnGeo(o,r,i,a)},t.prototype.incrementalPrepareRender=function(r,n,a){this.group.removeAll()},t.prototype.incrementalRender=function(r,n,a,i){var o=n.coordinateSystem;o&&(zN(o)?this.render(n,a,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(n,i,r.start,r.end,!0)))},t.prototype.eachRendered=function(r){wu(this._progressiveEls||this.group,r)},t.prototype._renderOnCartesianAndCalendar=function(r,n,a,i,o){var s=r.coordinateSystem,l=Dd(s,"cartesian2d"),u,c,d,f;if(l){var p=s.getAxis("x"),h=s.getAxis("y");u=p.getBandWidth()+.5,c=h.getBandWidth()+.5,d=p.scale.getExtent(),f=h.scale.getExtent()}for(var v=this.group,g=r.getData(),m=r.getModel(["emphasis","itemStyle"]).getItemStyle(),y=r.getModel(["blur","itemStyle"]).getItemStyle(),_=r.getModel(["select","itemStyle"]).getItemStyle(),w=r.get(["itemStyle","borderRadius"]),E=vn(r),S=r.getModel("emphasis"),C=S.get("focus"),T=S.get("blurScope"),x=S.get("disabled"),A=l?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],k=a;k<i;k++){var R=void 0,M=g.getItemVisual(k,"style");if(l){var O=g.get(A[0],k),z=g.get(A[1],k);if(isNaN(g.get(A[2],k))||isNaN(O)||isNaN(z)||O<d[0]||O>d[1]||z<f[0]||z>f[1])continue;var B=s.dataToPoint([O,z]);R=new Xt({shape:{x:B[0]-u/2,y:B[1]-c/2,width:u,height:c},style:M})}else{if(isNaN(g.get(A[1],k)))continue;R=new Xt({z2:1,shape:s.dataToRect([g.get(A[0],k)]).contentShape,style:M})}if(g.hasItemOption){var P=g.getItemModel(k),F=P.getModel("emphasis");m=F.getModel("itemStyle").getItemStyle(),y=P.getModel(["blur","itemStyle"]).getItemStyle(),_=P.getModel(["select","itemStyle"]).getItemStyle(),w=P.get(["itemStyle","borderRadius"]),C=F.get("focus"),T=F.get("blurScope"),x=F.get("disabled"),E=vn(P)}R.shape.r=w;var D=r.getRawValue(k),H="-";D&&D[2]!=null&&(H=D[2]+""),Pn(R,E,{labelFetcher:r,labelDataIndex:k,defaultOpacity:M.opacity,defaultText:H}),R.ensureState("emphasis").style=m,R.ensureState("blur").style=y,R.ensureState("select").style=_,Pr(R,C,T,x),R.incremental=o,o&&(R.states.emphasis.hoverLayer=!0),v.add(R),g.setItemGraphicEl(k,R),this._progressiveEls&&this._progressiveEls.push(R)}},t.prototype._renderOnGeo=function(r,n,a,i){var o=a.targetVisuals.inRange,s=a.targetVisuals.outOfRange,l=n.getData(),u=this._hmLayer||this._hmLayer||new m1t;u.blurSize=n.get("blurSize"),u.pointSize=n.get("pointSize"),u.minOpacity=n.get("minOpacity"),u.maxOpacity=n.get("maxOpacity");var c=r.getViewRect().clone(),d=r.getRoamTransform();c.applyTransform(d);var f=Math.max(c.x,0),p=Math.max(c.y,0),h=Math.min(c.width+c.x,i.getWidth()),v=Math.min(c.height+c.y,i.getHeight()),g=h-f,m=v-p,y=[l.mapDimension("lng"),l.mapDimension("lat"),l.mapDimension("value")],_=l.mapArray(y,function(C,T,x){var A=r.dataToPoint([C,T]);return A[0]-=f,A[1]-=p,A.push(x),A}),w=a.getExtent(),E=a.type==="visualMap.continuous"?_1t(w,a.option.range):y1t(w,a.getPieceList(),a.option.selected);u.update(_,g,m,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:s.color.getColorMapper()},E);var S=new $n({style:{width:g,height:m,x:f,y:p,image:u.canvas},silent:!0});this.group.add(S)},t.type="heatmap",t}(wr);const w1t=b1t;var S1t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.getInitialData=function(r,n){return el(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var r=Rm.get(this.get("coordinateSystem"));if(r&&r.dimensions)return r.dimensions[0]==="lng"&&r.dimensions[1]==="lat"},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(Rr);const E1t=S1t;function C1t(e){e.registerChartView(w1t),e.registerSeriesModel(E1t)}var T1t=["itemStyle","borderWidth"],VN=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],v4=new ts,x1t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){var i=this.group,o=r.getData(),s=this._data,l=r.coordinateSystem,u=l.getBaseAxis(),c=u.isHorizontal(),d=l.master.getRect(),f={ecSize:{width:a.getWidth(),height:a.getHeight()},seriesModel:r,coordSys:l,coordSysExtent:[[d.x,d.x+d.width],[d.y,d.y+d.height]],isHorizontal:c,valueDim:VN[+c],categoryDim:VN[1-+c]};return o.diff(s).add(function(p){if(o.hasValue(p)){var h=UN(o,p),v=HN(o,p,h,f),g=GN(o,f,v);o.setItemGraphicEl(p,g),i.add(g),KN(g,f,v)}}).update(function(p,h){var v=s.getItemGraphicEl(h);if(!o.hasValue(p)){i.remove(v);return}var g=UN(o,p),m=HN(o,p,g,f),y=Rj(o,m);v&&y!==v.__pictorialShapeStr&&(i.remove(v),o.setItemGraphicEl(p,null),v=null),v?D1t(v,f,m):v=GN(o,f,m,!0),o.setItemGraphicEl(p,v),v.__pictorialSymbolMeta=m,i.add(v),KN(v,f,m)}).remove(function(p){var h=s.getItemGraphicEl(p);h&&WN(s,p,h.__pictorialSymbolMeta.animationModel,h)}).execute(),this._data=o,this.group},t.prototype.remove=function(r,n){var a=this.group,i=this._data;r.get("animation")?i&&i.eachItemGraphicEl(function(o){WN(i,kt(o).dataIndex,r,o)}):a.removeAll()},t.type="pictorialBar",t}(wr);function HN(e,t,r,n){var a=e.getItemLayout(t),i=r.get("symbolRepeat"),o=r.get("symbolClip"),s=r.get("symbolPosition")||"start",l=r.get("symbolRotate"),u=(l||0)*Math.PI/180||0,c=r.get("symbolPatternSize")||2,d=r.isAnimationEnabled(),f={dataIndex:t,layout:a,itemModel:r,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:o,symbolRepeat:i,symbolRepeatDirection:r.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:d?r:null,hoverScale:d&&r.get(["emphasis","scale"]),z2:r.getShallow("z",!0)||0};A1t(r,i,a,n,f),k1t(e,t,a,i,o,f.boundingLength,f.pxSign,c,n,f),I1t(r,f.symbolScale,u,n,f);var p=f.symbolSize,h=Md(r.get("symbolOffset"),p);return R1t(r,p,a,i,o,h,s,f.valueLineWidth,f.boundingLength,f.repeatCutLength,n,f),f}function A1t(e,t,r,n,a){var i=n.valueDim,o=e.get("symbolBoundingData"),s=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=1-+(r[i.wh]<=0),c;if(Ne(o)){var d=[g4(s,o[0])-l,g4(s,o[1])-l];d[1]<d[0]&&d.reverse(),c=d[u]}else o!=null?c=g4(s,o)-l:t?c=n.coordSysExtent[i.index][u]-l:c=r[i.wh];a.boundingLength=c,t&&(a.repeatCutLength=r[i.wh]),a.pxSign=c>0?1:-1}function g4(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function k1t(e,t,r,n,a,i,o,s,l,u){var c=l.valueDim,d=l.categoryDim,f=Math.abs(r[d.wh]),p=e.getItemVisual(t,"symbolSize"),h;Ne(p)?h=p.slice():p==null?h=["100%","100%"]:h=[p,p],h[d.index]=Ze(h[d.index],f),h[c.index]=Ze(h[c.index],n?f:Math.abs(i)),u.symbolSize=h;var v=u.symbolScale=[h[0]/s,h[1]/s];v[c.index]*=(l.isHorizontal?-1:1)*o}function I1t(e,t,r,n,a){var i=e.get(T1t)||0;i&&(v4.attr({scaleX:t[0],scaleY:t[1],rotation:r}),v4.updateTransform(),i/=v4.getLineScale(),i*=t[n.valueDim.index]),a.valueLineWidth=i||0}function R1t(e,t,r,n,a,i,o,s,l,u,c,d){var f=c.categoryDim,p=c.valueDim,h=d.pxSign,v=Math.max(t[p.index]+s,0),g=v;if(n){var m=Math.abs(l),y=wn(e.get("symbolMargin"),"15%")+"",_=!1;y.lastIndexOf("!")===y.length-1&&(_=!0,y=y.slice(0,y.length-1));var w=Ze(y,t[p.index]),E=Math.max(v+w*2,0),S=_?0:w*2,C=hG(n),T=C?n:YN((m+S)/E),x=m-T*v;w=x/2/(_?T:Math.max(T-1,1)),E=v+w*2,S=_?0:w*2,!C&&n!=="fixed"&&(T=u?YN((Math.abs(u)+S)/E):0),g=T*E-S,d.repeatTimes=T,d.symbolMargin=w}var A=h*(g/2),k=d.pathPosition=[];k[f.index]=r[f.wh]/2,k[p.index]=o==="start"?A:o==="end"?l-A:l/2,i&&(k[0]+=i[0],k[1]+=i[1]);var R=d.bundlePosition=[];R[f.index]=r[f.xy],R[p.index]=r[p.xy];var M=d.barRectShape=Me({},r);M[p.wh]=h*Math.max(Math.abs(r[p.wh]),Math.abs(k[p.index]+A)),M[f.wh]=r[f.wh];var O=d.clipShape={};O[f.xy]=-r[f.xy],O[f.wh]=c.ecSize[f.wh],O[p.xy]=0,O[p.wh]=r[p.wh]}function Tj(e){var t=e.symbolPatternSize,r=an(e.symbolType,-t/2,-t/2,t,t);return r.attr({culling:!0}),r.type!=="image"&&r.setStyle({strokeNoScale:!0}),r}function xj(e,t,r,n){var a=e.__pictorialBundle,i=r.symbolSize,o=r.valueLineWidth,s=r.pathPosition,l=t.valueDim,u=r.repeatTimes||0,c=0,d=i[t.valueDim.index]+o+r.symbolMargin*2;for(g8(e,function(v){v.__pictorialAnimationIndex=c,v.__pictorialRepeatTimes=u,c<u?Yf(v,null,h(c),r,n):Yf(v,null,{scaleX:0,scaleY:0},r,n,function(){a.remove(v)}),c++});c<u;c++){var f=Tj(r);f.__pictorialAnimationIndex=c,f.__pictorialRepeatTimes=u,a.add(f);var p=h(c);Yf(f,{x:p.x,y:p.y,scaleX:0,scaleY:0},{scaleX:p.scaleX,scaleY:p.scaleY,rotation:p.rotation},r,n)}function h(v){var g=s.slice(),m=r.pxSign,y=v;return(r.symbolRepeatDirection==="start"?m>0:m<0)&&(y=u-1-v),g[l.index]=d*(y-u/2+.5)+s[l.index],{x:g[0],y:g[1],scaleX:r.symbolScale[0],scaleY:r.symbolScale[1],rotation:r.rotation}}}function Aj(e,t,r,n){var a=e.__pictorialBundle,i=e.__pictorialMainPath;i?Yf(i,null,{x:r.pathPosition[0],y:r.pathPosition[1],scaleX:r.symbolScale[0],scaleY:r.symbolScale[1],rotation:r.rotation},r,n):(i=e.__pictorialMainPath=Tj(r),a.add(i),Yf(i,{x:r.pathPosition[0],y:r.pathPosition[1],scaleX:0,scaleY:0,rotation:r.rotation},{scaleX:r.symbolScale[0],scaleY:r.symbolScale[1]},r,n))}function kj(e,t,r){var n=Me({},t.barRectShape),a=e.__pictorialBarRect;a?Yf(a,null,{shape:n},t,r):(a=e.__pictorialBarRect=new Xt({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),a.disableMorphing=!0,e.add(a))}function Ij(e,t,r,n){if(r.symbolClip){var a=e.__pictorialClipPath,i=Me({},r.clipShape),o=t.valueDim,s=r.animationModel,l=r.dataIndex;if(a)rr(a,{shape:i},s,l);else{i[o.wh]=0,a=new Xt({shape:i}),e.__pictorialBundle.setClipPath(a),e.__pictorialClipPath=a;var u={};u[o.wh]=r.clipShape[o.wh],Im[n?"updateProps":"initProps"](a,{shape:u},s,l)}}}function UN(e,t){var r=e.getItemModel(t);return r.getAnimationDelayParams=M1t,r.isAnimationEnabled=L1t,r}function M1t(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function L1t(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function GN(e,t,r,n){var a=new wt,i=new wt;return a.add(i),a.__pictorialBundle=i,i.x=r.bundlePosition[0],i.y=r.bundlePosition[1],r.symbolRepeat?xj(a,t,r):Aj(a,t,r),kj(a,r,n),Ij(a,t,r,n),a.__pictorialShapeStr=Rj(e,r),a.__pictorialSymbolMeta=r,a}function D1t(e,t,r){var n=r.animationModel,a=r.dataIndex,i=e.__pictorialBundle;rr(i,{x:r.bundlePosition[0],y:r.bundlePosition[1]},n,a),r.symbolRepeat?xj(e,t,r,!0):Aj(e,t,r,!0),kj(e,r,!0),Ij(e,t,r,!0)}function WN(e,t,r,n){var a=n.__pictorialBarRect;a&&a.removeTextContent();var i=[];g8(n,function(o){i.push(o)}),n.__pictorialMainPath&&i.push(n.__pictorialMainPath),n.__pictorialClipPath&&(r=null),G(i,function(o){lu(o,{scaleX:0,scaleY:0},r,t,function(){n.parent&&n.parent.remove(n)})}),e.setItemGraphicEl(t,null)}function Rj(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function g8(e,t,r){G(e.__pictorialBundle.children(),function(n){n!==e.__pictorialBarRect&&t.call(r,n)})}function Yf(e,t,r,n,a,i){t&&e.attr(t),n.symbolClip&&!a?r&&e.attr(r):r&&Im[a?"updateProps":"initProps"](e,r,n.animationModel,n.dataIndex,i)}function KN(e,t,r){var n=r.dataIndex,a=r.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"),d=i.get("blurScope"),f=i.get("scale");g8(e,function(v){if(v instanceof $n){var g=v.style;v.useStyle(Me({image:g.image,x:g.x,y:g.y,width:g.width,height:g.height},r.style))}else v.useStyle(r.style);var m=v.ensureState("emphasis");m.style=o,f&&(m.scaleX=v.scaleX*1.1,m.scaleY=v.scaleY*1.1),v.ensureState("blur").style=s,v.ensureState("select").style=l,u&&(v.cursor=u),v.z2=r.z2});var p=t.valueDim.posDesc[+(r.boundingLength>0)],h=e.__pictorialBarRect;Pn(h,vn(a),{labelFetcher:t.seriesModel,labelDataIndex:n,defaultText:Tp(t.seriesModel.getData(),n),inheritColor:r.style.fill,defaultOpacity:r.style.opacity,defaultOutsidePosition:p}),Pr(e,c,d,i.get("disabled"))}function YN(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}const O1t=x1t;var N1t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r.defaultSymbol="roundRect",r}return t.prototype.getInitialData=function(r){return r.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=Su(M2.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%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(M2);const P1t=N1t;function $1t(e){e.registerChartView(O1t),e.registerSeriesModel(P1t),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Rt(dY,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,fY("pictorialBar"))}var B1t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._layers=[],r}return t.prototype.render=function(r,n,a){var i=r.getData(),o=this,s=this.group,l=r.getLayerSeries(),u=i.getLayout("layoutInfo"),c=u.rect,d=u.boundaryGap;s.x=0,s.y=c.y+d[0];function f(g){return g.name}var p=new Hs(this._layersSeries||[],l,f,f),h=[];p.add(rt(v,this,"add")).update(rt(v,this,"update")).remove(rt(v,this,"remove")).execute();function v(g,m,y){var _=o._layers;if(g==="remove"){s.remove(_[m]);return}for(var w=[],E=[],S,C=l[m].indices,T=0;T<C.length;T++){var x=i.getItemLayout(C[T]),A=x.x,k=x.y0,R=x.y;w.push(A,k),E.push(A,k+R),S=i.getItemVisual(C[T],"style")}var M,O=i.getItemLayout(C[0]),z=r.getModel("label"),B=z.get("margin"),P=r.getModel("emphasis");if(g==="add"){var F=h[m]=new wt;M=new eq({shape:{points:w,stackedOnPoints:E,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),F.add(M),s.add(F),r.isAnimationEnabled()&&M.setClipPath(F1t(M.getBoundingRect(),r,function(){M.removeClipPath()}))}else{var F=_[y];M=F.childAt(0),s.add(F),h[m]=F,rr(M,{shape:{points:w,stackedOnPoints:E}},r),co(M)}Pn(M,vn(r),{labelDataIndex:C[T-1],defaultText:i.getName(C[T-1]),inheritColor:S.fill},{normal:{verticalAlign:"middle"}}),M.setTextConfig({position:null,local:!0});var D=M.getTextContent();D&&(D.x=O.x-B,D.y=O.y0+O.y/2),M.useStyle(S),i.setItemGraphicEl(m,M),Nn(M,r),Pr(M,P.get("focus"),P.get("blurScope"),P.get("disabled"))}this._layersSeries=l,this._layers=h},t.type="themeRiver",t}(wr);function F1t(e,t,r){var n=new Xt({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Ar(n,{shape:{x:e.x-50,width:e.width+100,height:e.height+20}},t,r),n}const z1t=B1t;var m4=2,V1t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Fm(rt(this.getData,this),rt(this.getRawData,this))},t.prototype.fixData=function(r){var n=r.length,a={},i=ZE(r,function(f){return a.hasOwnProperty(f[0]+"")||(a[f[0]+""]=-1),f[2]}),o=[];i.buckets.each(function(f,p){o.push({name:p,dataList:f})});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 d=o[l].dataList[c][0]+"";a[d]=l}for(var d in a)a.hasOwnProperty(d)&&a[d]!==l&&(a[d]=l,r[n]=[d,0,u],n++)}return r},t.prototype.getInitialData=function(r,n){for(var a=this.getReferringComponents("singleAxis",en).models[0],i=a.get("type"),o=ur(r.data,function(h){return h[2]!==void 0}),s=this.fixData(o||[]),l=[],u=this.nameMap=lt(),c=0,d=0;d<s.length;++d)l.push(s[d][m4]),u.get(s[d][m4])||(u.set(s[d][m4],c),c++);var f=Lm(s,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:x2(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,p=new oa(f,this);return p.initData(s),p},t.prototype.getLayerSeries=function(){for(var r=this.getData(),n=r.count(),a=[],i=0;i<n;++i)a[i]=i;var o=r.mapDimension("single"),s=ZE(a,function(u){return r.get("name",u)}),l=[];return s.buckets.each(function(u,c){u.sort(function(d,f){return r.get(o,d)-r.get(o,f)}),l.push({name:c,indices:u})}),l},t.prototype.getAxisTooltipData=function(r,n,a){Ne(r)||(r=r?[r]:[]);for(var i=this.getData(),o=this.getLayerSeries(),s=[],l=o.length,u,c=0;c<l;++c){for(var d=Number.MAX_VALUE,f=-1,p=o[c].indices.length,h=0;h<p;++h){var v=i.get(r[0],o[c].indices[h]),g=Math.abs(v-n);g<=d&&(u=v,d=g,f=o[c].indices[h])}s.push(f)}return{dataIndices:s,nestestValue:u}},t.prototype.formatTooltip=function(r,n,a){var i=this.getData(),o=i.getName(r),s=i.get(i.mapDimension("value"),r);return gn("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}(Rr);const H1t=V1t;function U1t(e,t){e.eachSeriesByType("themeRiver",function(r){var n=r.getData(),a=r.coordinateSystem,i={},o=a.getRect();i.rect=o;var s=r.get("boundaryGap"),l=a.getAxis();if(i.boundaryGap=s,l.orient==="horizontal"){s[0]=Ze(s[0],o.height),s[1]=Ze(s[1],o.height);var u=o.height-s[0]-s[1];qN(n,r,u)}else{s[0]=Ze(s[0],o.width),s[1]=Ze(s[1],o.width);var c=o.width-s[0]-s[1];qN(n,r,c)}n.setLayout("layoutInfo",i)})}function qN(e,t,r){if(e.count())for(var n=t.coordinateSystem,a=t.getLayerSeries(),i=e.mapDimension("single"),o=e.mapDimension("value"),s=Pe(a,function(g){return Pe(g.indices,function(m){var y=n.dataToPoint(e.get(i,m));return y[1]=e.get(o,m),y})}),l=G1t(s),u=l.y0,c=r/l.max,d=a.length,f=a[0].indices.length,p,h=0;h<f;++h){p=u[h]*c,e.setItemLayout(a[0].indices[h],{layerIndex:0,x:s[0][h][0],y0:p,y:s[0][h][1]*c});for(var v=1;v<d;++v)p+=s[v-1][h][1]*c,e.setItemLayout(a[v].indices[h],{layerIndex:v,x:s[v][h][0],y0:p,y:s[v][h][1]*c})}}function G1t(e){for(var t=e.length,r=e[0].length,n=[],a=[],i=0,o=0;o<r;++o){for(var s=0,l=0;l<t;++l)s+=e[l][o][1];s>i&&(i=s),n.push(s)}for(var u=0;u<r;++u)a[u]=(i-n[u])/2;i=0;for(var c=0;c<r;++c){var d=n[c]+a[c];d>i&&(i=d)}return{y0:a,max:i}}function W1t(e){e.registerChartView(z1t),e.registerSeriesModel(H1t),e.registerLayout(U1t),e.registerProcessor(Bm("themeRiver"))}var K1t=2,Y1t=4,q1t=function(e){ye(t,e);function t(r,n,a,i){var o=e.call(this)||this;o.z2=K1t,o.textConfig={inside:!0},kt(o).seriesIndex=n.seriesIndex;var s=new er({z2:Y1t,silent:r.getModel().get(["label","silent"])});return o.setTextContent(s),o.updateData(!0,r,n,a,i),o}return t.prototype.updateData=function(r,n,a,i,o){this.node=n,n.piece=this,a=a||this._seriesModel,i=i||this._ecModel;var s=this;kt(s).dataIndex=n.dataIndex;var l=n.getModel(),u=l.getModel("emphasis"),c=n.getLayout(),d=Me({},c);d.label=null;var f=n.getVisual("style");f.lineJoin="bevel";var p=n.getVisual("decal");p&&(f.decal=Ep(p,o));var h=Oc(l.getModel("itemStyle"),d,!0);Me(d,h),G(fa,function(y){var _=s.ensureState(y),w=l.getModel([y,"itemStyle"]);_.style=w.getItemStyle();var E=Oc(w,d);E&&(_.shape=E)}),r?(s.setShape(d),s.shape.r=c.r0,Ar(s,{shape:{r:c.r}},a,n.dataIndex)):(rr(s,{shape:d},a),co(s)),s.useStyle(f),this._updateLabel(a);var v=l.getShallow("cursor");v&&s.attr("cursor",v),this._seriesModel=a||this._seriesModel,this._ecModel=i||this._ecModel;var g=u.get("focus"),m=g==="ancestor"?n.getAncestorsIndices():g==="descendant"?n.getDescendantIndices():g;Pr(this,m,u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(r){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),d=this,f=d.getTextContent(),p=this.node.dataIndex,h=i.get("minAngle")/180*Math.PI,v=i.get("show")&&!(h!=null&&Math.abs(s)<h);f.ignore=!v,G(Og,function(m){var y=m==="normal"?a.getModel("label"):a.getModel([m,"label"]),_=m==="normal",w=_?f:f.ensureState(m),E=r.getFormattedLabel(p,m);_&&(E=E||n.node.name),w.style=_r(y,{},null,m!=="normal",!0),E&&(w.style.text=E);var S=y.get("show");S!=null&&!_&&(w.ignore=!S);var C=g(y,"position"),T=_?d:d.states[m],x=T.style.fill;T.textConfig={outsideFill:y.get("color")==="inherit"?x:null,inside:C!=="outside"};var A,k=g(y,"distance")||0,R=g(y,"align");C==="outside"?(A=o.r+k,R=l>Math.PI/2?"right":"left"):!R||R==="center"?(s===2*Math.PI&&o.r0===0?A=0:A=(o.r+o.r0)/2,R="center"):R==="left"?(A=o.r0+k,l>Math.PI/2&&(R="right")):R==="right"&&(A=o.r-k,l>Math.PI/2&&(R="left")),w.style.align=R,w.style.verticalAlign=g(y,"verticalAlign")||"middle",w.x=A*u+o.cx,w.y=A*c+o.cy;var M=g(y,"rotate"),O=0;M==="radial"?(O=to(-l),O>Math.PI/2&&O<Math.PI*1.5&&(O+=Math.PI)):M==="tangential"?(O=Math.PI/2-l,O>Math.PI/2?O-=Math.PI:O<-Math.PI/2&&(O+=Math.PI)):tr(M)&&(O=M*Math.PI/180),w.rotation=to(O)});function g(m,y){var _=m.get(y);return _??i.get(y)}f.dirtyStyle()},t}(Na);const jN=q1t;var j6="sunburstRootToNode",XN="sunburstHighlight",j1t="sunburstUnhighlight";function X1t(e){e.registerAction({type:j6,update:"updateView"},function(t,r){r.eachComponent({mainType:"series",subType:"sunburst",query:t},n);function n(a,i){var o=qg(t,[j6],a);if(o){var s=a.getViewRoot();s&&(t.direction=t8(s,o.node)?"rollUp":"drillDown"),a.resetViewRoot(o.node)}}}),e.registerAction({type:XN,update:"none"},function(t,r,n){t=Me({},t),r.eachComponent({mainType:"series",subType:"sunburst",query:t},a);function a(i){var o=qg(t,[XN],i);o&&(t.dataIndex=o.node.dataIndex)}n.dispatchAction(Me(t,{type:"highlight"}))}),e.registerAction({type:j1t,update:"updateView"},function(t,r,n){t=Me({},t),n.dispatchAction(Me(t,{type:"downplay"}))})}var Z1t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a,i){var o=this;this.seriesModel=r,this.api=a,this.ecModel=n;var s=r.getData(),l=s.tree.root,u=r.getViewRoot(),c=this.group,d=r.get("renderLabelForZeroData"),f=[];u.eachNode(function(y){f.push(y)});var p=this._oldChildren||[];h(f,p),m(l,u),this._initEvents(),this._oldChildren=f;function h(y,_){if(y.length===0&&_.length===0)return;new Hs(_,y,w,w).add(E).update(E).remove(Rt(E,null)).execute();function w(S){return S.getId()}function E(S,C){var T=S==null?null:y[S],x=C==null?null:_[C];v(T,x)}}function v(y,_){if(!d&&y&&!y.getValue()&&(y=null),y!==l&&_!==l){if(_&&_.piece)y?(_.piece.updateData(!1,y,r,n,a),s.setItemGraphicEl(y.dataIndex,_.piece)):g(_);else if(y){var w=new jN(y,r,n,a);c.add(w),s.setItemGraphicEl(y.dataIndex,w)}}}function g(y){y&&y.piece&&(c.remove(y.piece),y.piece=null)}function m(y,_){_.depth>0?(o.virtualPiece?o.virtualPiece.updateData(!1,y,r,n,a):(o.virtualPiece=new jN(y,r,n,a),c.add(o.virtualPiece)),_.piece.off("click"),o.virtualPiece.on("click",function(w){o._rootToNode(_.parentNode)})):o.virtualPiece&&(c.remove(o.virtualPiece),o.virtualPiece=null)}},t.prototype._initEvents=function(){var r=this;this.group.off("click"),this.group.on("click",function(n){var a=!1,i=r.seriesModel.getViewRoot();i.eachNode(function(o){if(!a&&o.piece&&o.piece===n.target){var s=o.getModel().get("nodeClick");if(s==="rootToNode")r._rootToNode(o);else if(s==="link"){var l=o.getModel(),u=l.get("link");if(u){var c=l.get("target",!0)||"_blank";y2(u,c)}}a=!0}})})},t.prototype._rootToNode=function(r){r!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:j6,from:this.uid,seriesId:this.seriesModel.id,targetNode:r})},t.prototype.containPoint=function(r,n){var a=n.getData(),i=a.getItemLayout(0);if(i){var o=r[0]-i.cx,s=r[1]-i.cy,l=Math.sqrt(o*o+s*s);return l<=i.r&&l>=i.r0}},t.type="sunburst",t}(wr);const Q1t=Z1t;var J1t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.ignoreStyleOnData=!0,r}return t.prototype.getInitialData=function(r,n){var a={name:r.name,children:r.data};Mj(a);var i=this._levelModels=Pe(r.levels||[],function(l){return new br(l,this,n)},this),o=e8.createTree(a,this,s);function s(l){l.wrapMethod("getItemModel",function(u,c){var d=o.getNodeByDataIndex(c),f=i[d.depth];return f&&(u.parentModel=f),u})}return o.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(r){var n=e.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(r);return n.treePathInfo=Eb(a,this),n},t.prototype.getLevelModel=function(r){return this._levelModels&&this._levelModels[r.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(r){r?this._viewRoot=r:r=this._viewRoot;var n=this.getRawData().tree.root;(!r||r!==n&&!n.contains(r))&&(this._viewRoot=n)},t.prototype.enableAriaDecal=function(){Nq(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}(Rr);function Mj(e){var t=0;G(e.children,function(n){Mj(n);var a=n.value;Ne(a)&&(a=a[0]),t+=a});var r=e.value;Ne(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=t),r<0&&(r=0),Ne(e.value)?e.value[0]=r:e.value=r}const e2t=J1t;var ZN=Math.PI/180;function t2t(e,t,r){t.eachSeriesByType(e,function(n){var a=n.get("center"),i=n.get("radius");Ne(i)||(i=[0,i]),Ne(a)||(a=[a,a]);var o=r.getWidth(),s=r.getHeight(),l=Math.min(o,s),u=Ze(a[0],o),c=Ze(a[1],s),d=Ze(i[0],l/2),f=Ze(i[1],l/2),p=-n.get("startAngle")*ZN,h=n.get("minAngle")*ZN,v=n.getData().tree.root,g=n.getViewRoot(),m=g.depth,y=n.get("sort");y!=null&&Lj(g,y);var _=0;G(g.children,function(B){!isNaN(B.getValue())&&_++});var w=g.getValue(),E=Math.PI/(w||_)*2,S=g.depth>0,C=g.height-(S?-1:1),T=(f-d)/(C||1),x=n.get("clockwise"),A=n.get("stillShowZeroSum"),k=x?1:-1,R=function(B,P){if(B){var F=P;if(B!==v){var D=B.getValue(),H=w===0&&A?E:D*E;H<h&&(H=h),F=P+k*H;var K=B.depth-m-(S?-1:1),Y=d+T*K,X=d+T*(K+1),J=n.getLevelModel(B);if(J){var fe=J.get("r0",!0),se=J.get("r",!0),q=J.get("radius",!0);q!=null&&(fe=q[0],se=q[1]),fe!=null&&(Y=Ze(fe,l/2)),se!=null&&(X=Ze(se,l/2))}B.setLayout({angle:H,startAngle:P,endAngle:F,clockwise:x,cx:u,cy:c,r0:Y,r:X})}if(B.children&&B.children.length){var j=0;G(B.children,function(ae){j+=R(ae,P+j)})}return F-P}};if(S){var M=d,O=d+T,z=Math.PI*2;v.setLayout({angle:z,startAngle:p,endAngle:p+z,clockwise:x,cx:u,cy:c,r0:M,r:O})}R(g,p)})}function Lj(e,t){var r=e.children||[];e.children=r2t(r,t),r.length&&G(e.children,function(n){Lj(n,t)})}function r2t(e,t){if(ft(t)){var r=Pe(e,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 r.sort(function(a,i){return t(a.params,i.params)}),Pe(r,function(a){return e[a.index]})}else{var n=t==="asc";return e.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 n2t(e){var t={};function r(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&&et(s)&&(s=VE(s,(n.depth-1)/(i-1)*.5)),s}e.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=r(o,n,i.root.height));var u=a.ensureUniqueItemVisual(o.dataIndex,"style");Me(u,l)})})}function a2t(e){e.registerChartView(Q1t),e.registerSeriesModel(e2t),e.registerLayout(Rt(t2t,"sunburst")),e.registerProcessor(Rt(Bm,"sunburst")),e.registerVisual(n2t),X1t(e)}var QN={color:"fill",borderColor:"stroke"},i2t={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},Is=Zt(),o2t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(r,n){return el(null,this)},t.prototype.getDataParams=function(r,n,a){var i=e.prototype.getDataParams.call(this,r,n);return a&&(i.info=Is(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}(Rr);const s2t=o2t;function l2t(e,t){return t=t||[0,0],Pe(["x","y"],function(r,n){var a=this.getAxis(r),i=t[n],o=e[n]/2;return a.type==="category"?a.getBandWidth():Math.abs(a.dataToCoord(i-o)-a.dataToCoord(i+o))},this)}function u2t(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(r){return e.dataToPoint(r)},size:rt(l2t,e)}}}function c2t(e,t){return t=t||[0,0],Pe([0,1],function(r){var n=t[r],a=e[r]/2,i=[],o=[];return i[r]=n-a,o[r]=n+a,i[1-r]=o[1-r]=t[1-r],Math.abs(this.dataToPoint(i)[r]-this.dataToPoint(o)[r])},this)}function d2t(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(r){return e.dataToPoint(r)},size:rt(c2t,e)}}}function f2t(e,t){var r=this.getAxis(),n=t instanceof Array?t[0]:t,a=(e instanceof Array?e[0]:e)/2;return r.type==="category"?r.getBandWidth():Math.abs(r.dataToCoord(n-a)-r.dataToCoord(n+a))}function p2t(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(r){return e.dataToPoint(r)},size:rt(f2t,e)}}}function h2t(e,t){return t=t||[0,0],Pe(["Radius","Angle"],function(r,n){var a="get"+r+"Axis",i=this[a](),o=t[n],s=e[n]/2,l=i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(o-s)-i.dataToCoord(o+s));return r==="Angle"&&(l=l*Math.PI/180),l},this)}function v2t(e){var t=e.getRadiusAxis(),r=e.getAngleAxis(),n=t.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:n[1],r0:n[0]},api:{coord:function(a){var i=t.dataToRadius(a[0]),o=r.dataToAngle(a[1]),s=e.coordToPoint([i,o]);return s.push(i,o*Math.PI/180),s},size:rt(h2t,e)}}}function g2t(e){var t=e.getRect(),r=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:r.start,end:r.end,weeks:r.weeks,dayCount:r.allDay}},api:{coord:function(n,a){return e.dataToPoint(n,a)}}}}function Dj(e,t,r,n){return e&&(e.legacy||e.legacy!==!1&&!r&&!n&&t!=="tspan"&&(t==="text"||nt(e,"text")))}function Oj(e,t,r){var n=e,a,i,o;if(t==="text")o=n;else{o={},nt(n,"text")&&(o.text=n.text),nt(n,"rich")&&(o.rich=n.rich),nt(n,"textFill")&&(o.fill=n.textFill),nt(n,"textStroke")&&(o.stroke=n.textStroke),nt(n,"fontFamily")&&(o.fontFamily=n.fontFamily),nt(n,"fontSize")&&(o.fontSize=n.fontSize),nt(n,"fontStyle")&&(o.fontStyle=n.fontStyle),nt(n,"fontWeight")&&(o.fontWeight=n.fontWeight),i={type:"text",style:o,silent:!0},a={};var s=nt(n,"textPosition");r?a.position=s?n.textPosition:"inside":s&&(a.position=n.textPosition),nt(n,"textPosition")&&(a.position=n.textPosition),nt(n,"textOffset")&&(a.offset=n.textOffset),nt(n,"textRotation")&&(a.rotation=n.textRotation),nt(n,"textDistance")&&(a.distance=n.textDistance)}return JN(o,e),G(o.rich,function(l){JN(l,l)}),{textConfig:a,textContent:i}}function JN(e,t){t&&(t.font=t.textFont||t.font,nt(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),nt(t,"textAlign")&&(e.align=t.textAlign),nt(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),nt(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),nt(t,"textWidth")&&(e.width=t.textWidth),nt(t,"textHeight")&&(e.height=t.textHeight),nt(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),nt(t,"textPadding")&&(e.padding=t.textPadding),nt(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),nt(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),nt(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),nt(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),nt(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),nt(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),nt(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function eP(e,t,r){var n=e;n.textPosition=n.textPosition||r.position||"inside",r.offset!=null&&(n.textOffset=r.offset),r.rotation!=null&&(n.textRotation=r.rotation),r.distance!=null&&(n.textDistance=r.distance);var a=n.textPosition.indexOf("inside")>=0,i=e.fill||"#000";tP(n,t);var o=n.textFill==null;return a?o&&(n.textFill=r.insideFill||"#fff",!n.textStroke&&r.insideStroke&&(n.textStroke=r.insideStroke),!n.textStroke&&(n.textStroke=i),n.textStrokeWidth==null&&(n.textStrokeWidth=2)):(o&&(n.textFill=e.fill||r.outsideFill||"#000"),!n.textStroke&&r.outsideStroke&&(n.textStroke=r.outsideStroke)),n.text=t.text,n.rich=t.rich,G(t.rich,function(s){tP(s,s)}),n}function tP(e,t){t&&(nt(t,"fill")&&(e.textFill=t.fill),nt(t,"stroke")&&(e.textStroke=t.fill),nt(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),nt(t,"font")&&(e.font=t.font),nt(t,"fontStyle")&&(e.fontStyle=t.fontStyle),nt(t,"fontWeight")&&(e.fontWeight=t.fontWeight),nt(t,"fontSize")&&(e.fontSize=t.fontSize),nt(t,"fontFamily")&&(e.fontFamily=t.fontFamily),nt(t,"align")&&(e.textAlign=t.align),nt(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),nt(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),nt(t,"width")&&(e.textWidth=t.width),nt(t,"height")&&(e.textHeight=t.height),nt(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),nt(t,"padding")&&(e.textPadding=t.padding),nt(t,"borderColor")&&(e.textBorderColor=t.borderColor),nt(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),nt(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),nt(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),nt(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),nt(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),nt(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),nt(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),nt(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),nt(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),nt(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var Nj={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},rP=Wt(Nj);Xo(Qo,function(e,t){return e[t]=1,e},{});Qo.join(", ");var F2=["","style","shape","extra"],kp=Zt();function m8(e,t,r,n,a){var i=e+"Animation",o=Gp(e,n,a)||{},s=kp(t).userDuring;return o.duration>0&&(o.during=s?rt(w2t,{el:t,userDuring:s}):null,o.setToFinal=!0,o.scope=e),Me(o,r[i]),o}function v1(e,t,r,n){n=n||{};var a=n.dataIndex,i=n.isInit,o=n.clearStyle,s=r.isAnimationEnabled(),l=kp(e),u=t.style;l.userDuring=t.during;var c={},d={};if(E2t(e,t,d),aP("shape",t,d),aP("extra",t,d),!i&&s&&(S2t(e,t,c),nP("shape",e,t,c),nP("extra",e,t,c),C2t(e,t,u,c)),d.style=u,m2t(e,d,o),_2t(e,t),s)if(i){var f={};G(F2,function(h){var v=h?t[h]:t;v&&v.enterFrom&&(h&&(f[h]=f[h]||{}),Me(h?f[h]:f,v.enterFrom))});var p=m8("enter",e,t,r,a);p.duration>0&&e.animateFrom(f,p)}else y2t(e,t,a||0,r,c);Pj(e,t),u?e.dirty():e.markRedraw()}function Pj(e,t){for(var r=kp(e).leaveToProps,n=0;n<F2.length;n++){var a=F2[n],i=a?t[a]:t;i&&i.leaveTo&&(r||(r=kp(e).leaveToProps={}),a&&(r[a]=r[a]||{}),Me(a?r[a]:r,i.leaveTo))}}function xb(e,t,r,n){if(e){var a=e.parent,i=kp(e).leaveToProps;if(i){var o=m8("update",e,t,r,0);o.done=function(){a.remove(e),n&&n()},e.animateTo(i,o)}else a.remove(e),n&&n()}}function td(e){return e==="all"}function m2t(e,t,r){var n=t.style;if(!e.isGroup&&n){if(r){e.useStyle({});for(var a=e.animators,i=0;i<a.length;i++){var o=a[i];o.targetName==="style"&&o.changeTarget(e.style)}}e.setStyle(n)}t&&(t.style=null,t&&e.attr(t),t.style=n)}function y2t(e,t,r,n,a){if(a){var i=m8("update",e,t,n,r);i.duration>0&&e.animateFrom(a,i)}}function _2t(e,t){nt(t,"silent")&&(e.silent=t.silent),nt(t,"ignore")&&(e.ignore=t.ignore),e instanceof Pi&&nt(t,"invisible")&&(e.invisible=t.invisible),e instanceof Vt&&nt(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var Co={},b2t={setTransform:function(e,t){return Co.el[e]=t,this},getTransform:function(e){return Co.el[e]},setShape:function(e,t){var r=Co.el,n=r.shape||(r.shape={});return n[e]=t,r.dirtyShape&&r.dirtyShape(),this},getShape:function(e){var t=Co.el.shape;if(t)return t[e]},setStyle:function(e,t){var r=Co.el,n=r.style;return n&&(n[e]=t,r.dirtyStyle&&r.dirtyStyle()),this},getStyle:function(e){var t=Co.el.style;if(t)return t[e]},setExtra:function(e,t){var r=Co.el.extra||(Co.el.extra={});return r[e]=t,this},getExtra:function(e){var t=Co.el.extra;if(t)return t[e]}};function w2t(){var e=this,t=e.el;if(t){var r=kp(t).userDuring,n=e.userDuring;if(r!==n){e.el=e.userDuring=null;return}Co.el=t,n(b2t)}}function nP(e,t,r,n){var a=r[e];if(a){var i=t[e],o;if(i){var s=r.transition,l=a.transition;if(l)if(!o&&(o=n[e]={}),td(l))Me(o,i);else for(var u=fr(l),c=0;c<u.length;c++){var d=u[c],f=i[d];o[d]=f}else if(td(s)||Bt(s,e)>=0){!o&&(o=n[e]={});for(var p=Wt(i),c=0;c<p.length;c++){var d=p[c],f=i[d];T2t(a[d],f)&&(o[d]=f)}}}}}function aP(e,t,r){var n=t[e];if(n)for(var a=r[e]={},i=Wt(n),o=0;o<i.length;o++){var s=i[o];a[s]=Av(n[s])}}function S2t(e,t,r){for(var n=t.transition,a=td(n)?Qo:fr(n||[]),i=0;i<a.length;i++){var o=a[i];if(!(o==="style"||o==="shape"||o==="extra")){var s=e[o];r[o]=s}}}function E2t(e,t,r){for(var n=0;n<rP.length;n++){var a=rP[n],i=Nj[a],o=t[a];o&&(r[i[0]]=o[0],r[i[1]]=o[1])}for(var n=0;n<Qo.length;n++){var s=Qo[n];t[s]!=null&&(r[s]=t[s])}}function C2t(e,t,r,n){if(r){var a=e.style,i;if(a){var o=r.transition,s=t.transition;if(o&&!td(o)){var l=fr(o);!i&&(i=n.style={});for(var u=0;u<l.length;u++){var c=l[u],d=a[c];i[c]=d}}else if(e.getAnimationStyleProps&&(td(s)||td(o)||Bt(s,"style")>=0)){var f=e.getAnimationStyleProps(),p=f?f.style:null;if(p){!i&&(i=n.style={});for(var h=Wt(r),u=0;u<h.length;u++){var c=h[u];if(p[c]){var d=a[c];i[c]=d}}}}}}}function T2t(e,t){return qn(e)?e!==t:e!=null&&isFinite(e)}var $j=Zt(),x2t=["percent","easing","shape","style","extra"];function Bj(e){e.stopAnimation("keyframe"),e.attr($j(e))}function z2(e,t,r){if(!(!r.isAnimationEnabled()||!t)){if(Ne(t)){G(t,function(s){z2(e,s,r)});return}var n=t.keyframes,a=t.duration;if(r&&a==null){var i=Gp("enter",r,0);a=i&&i.duration}if(!(!n||!a)){var o=$j(e);G(F2,function(s){if(!(s&&!e[s])){var l;n.sort(function(u,c){return u.percent-c.percent}),G(n,function(u){var c=e.animators,d=s?u[s]:u;if(d){var f=Wt(d);if(s||(f=ur(f,function(v){return Bt(x2t,v)<0})),!!f.length){l||(l=e.animate(s,t.loop,!0),l.scope="keyframe");for(var p=0;p<c.length;p++)c[p]!==l&&c[p].targetName===l.targetName&&c[p].stopTracks(f);s&&(o[s]=o[s]||{});var h=s?o[s]:o;G(f,function(v){h[v]=((s?e[s]:e)||{})[v]}),l.whenWithKeys(a*u.percent,d,f,u.easing)}}}),l&&l.delay(t.delay||0).duration(a).start(t.easing)}})}}}var Rs="emphasis",zl="normal",y8="blur",_8="select",pu=[zl,Rs,y8,_8],y4={normal:["itemStyle"],emphasis:[Rs,"itemStyle"],blur:[y8,"itemStyle"],select:[_8,"itemStyle"]},_4={normal:["label"],emphasis:[Rs,"label"],blur:[y8,"label"],select:[_8,"label"]},A2t=["x","y"],k2t="e\0\0",ii={normal:{},emphasis:{},blur:{},select:{}},I2t={cartesian2d:u2t,geo:d2t,single:p2t,polar:v2t,calendar:g2t};function X6(e){return e instanceof Vt}function Z6(e){return e instanceof Pi}function R2t(e,t){t.copyTransform(e),Z6(t)&&Z6(e)&&(t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel,t.invisible=e.invisible,t.ignore=e.ignore,X6(t)&&X6(e)&&t.setShape(e.shape))}var M2t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a,i){this._progressiveEls=null;var o=this._data,s=r.getData(),l=this.group,u=iP(r,s,n,a);o||l.removeAll(),s.diff(o).add(function(d){b4(a,null,d,u(d,i),r,l,s)}).remove(function(d){var f=o.getItemGraphicEl(d);f&&xb(f,Is(f).option,r)}).update(function(d,f){var p=o.getItemGraphicEl(f);b4(a,p,d,u(d,i),r,l,s)}).execute();var c=r.get("clip",!0)?bb(r.coordinateSystem,!1,r):null;c?l.setClipPath(c):l.removeClipPath(),this._data=s},t.prototype.incrementalPrepareRender=function(r,n,a){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(r,n,a,i,o){var s=n.getData(),l=iP(n,s,a,i),u=this._progressiveEls=[];function c(p){p.isGroup||(p.incremental=!0,p.ensureState("emphasis").hoverLayer=!0)}for(var d=r.start;d<r.end;d++){var f=b4(null,null,d,l(d,o),n,this.group,s);f&&(f.traverse(c),u.push(f))}},t.prototype.eachRendered=function(r){wu(this._progressiveEls||this.group,r)},t.prototype.filterForExposedEvent=function(r,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}(wr);const L2t=M2t;function b8(e){var t=e.type,r;if(t==="path"){var n=e.shape,a=n.width!=null&&n.height!=null?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,i=Vj(n);r=rb(i,null,a,n.layout||"center"),Is(r).customPathData=i}else if(t==="image")r=new $n({}),Is(r).customImagePath=e.style.image;else if(t==="text")r=new er({});else if(t==="group")r=new wt;else{if(t==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var o=uA(t);if(!o){var s="";ar(s)}r=new o}return Is(r).customGraphicType=t,r.name=e.name,r.z2EmphasisLift=1,r.z2SelectLift=1,r}function w8(e,t,r,n,a,i,o){Bj(t);var s=a&&a.normal.cfg;s&&t.setTextConfig(s),n&&n.transition==null&&(n.transition=A2t);var l=n&&n.style;if(l){if(t.type==="text"){var u=l;nt(u,"textFill")&&(u.fill=u.textFill),nt(u,"textStroke")&&(u.stroke=u.textStroke)}var c=void 0,d=X6(t)?l.decal:null;e&&d&&(d.dirty=!0,c=Ep(d,e)),l.__decalPattern=c}if(Z6(t)&&l){var c=l.__decalPattern;c&&(l.decal=c)}v1(t,n,i,{dataIndex:r,isInit:o,clearStyle:!0}),z2(t,n.keyframeAnimation,i)}function Fj(e,t,r,n,a){var i=t.isGroup?null:t,o=a&&a[e].cfg;if(i){var s=i.ensureState(e);if(n===!1){var l=i.getState(e);l&&(l.style=null)}else s.style=n||null;o&&(s.textConfig=o),gd(i)}}function D2t(e,t,r){if(!e.isGroup){var n=e,a=r.currentZ,i=r.currentZLevel;n.z=a,n.zlevel=i;var o=t.z2;o!=null&&(n.z2=o||0);for(var s=0;s<pu.length;s++)O2t(n,t,pu[s])}}function O2t(e,t,r){var n=r===zl,a=n?t:V2(t,r),i=a?a.z2:null,o;i!=null&&(o=n?e:e.ensureState(r),o.z2=i||0)}function iP(e,t,r,n){var a=e.get("renderItem"),i=e.coordinateSystem,o={};i&&(o=i.prepareCustoms?i.prepareCustoms(i):I2t[i.type](i));for(var s=ht({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:w,style:S,ordinalRawValue:E,styleEmphasis:C,visual:A,barLayout:k,currentSeriesIndices:R,font:M},o.api||{}),l={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:o.coordSys,dataInsideLength:t.count(),encode:N2t(e.getData())},u,c,d={},f={},p={},h={},v=0;v<pu.length;v++){var g=pu[v];p[g]=e.getModel(y4[g]),h[g]=e.getModel(_4[g])}function m(O){return O===u?c||(c=t.getItemModel(O)):t.getItemModel(O)}function y(O,z){return t.hasItemOption?O===u?d[z]||(d[z]=m(O).getModel(y4[z])):m(O).getModel(y4[z]):p[z]}function _(O,z){return t.hasItemOption?O===u?f[z]||(f[z]=m(O).getModel(_4[z])):m(O).getModel(_4[z]):h[z]}return function(O,z){return u=O,c=null,d={},f={},a&&a(ht({dataIndexInside:O,dataIndex:t.getRawIndex(O),actionType:z?z.type:null},l),s)};function w(O,z){return z==null&&(z=u),t.getStore().get(t.getDimensionIndex(O||0),z)}function E(O,z){z==null&&(z=u),O=O||0;var B=t.getDimensionInfo(O);if(!B){var P=t.getDimensionIndex(O);return P>=0?t.getStore().get(P,z):void 0}var F=t.get(B.name,z),D=B&&B.ordinalMeta;return D?D.categories[F]:F}function S(O,z){z==null&&(z=u);var B=t.getItemVisual(z,"style"),P=B&&B.fill,F=B&&B.opacity,D=y(z,zl).getItemStyle();P!=null&&(D.fill=P),F!=null&&(D.opacity=F);var H={inheritColor:et(P)?P:"#000"},K=_(z,zl),Y=_r(K,null,H,!1,!0);Y.text=K.getShallow("show")?Dt(e.getFormattedLabel(z,zl),Tp(t,z)):null;var X=g2(K,H,!1);return x(O,D),D=eP(D,Y,X),O&&T(D,O),D.legacy=!0,D}function C(O,z){z==null&&(z=u);var B=y(z,Rs).getItemStyle(),P=_(z,Rs),F=_r(P,null,null,!0,!0);F.text=P.getShallow("show")?Ho(e.getFormattedLabel(z,Rs),e.getFormattedLabel(z,zl),Tp(t,z)):null;var D=g2(P,null,!0);return x(O,B),B=eP(B,F,D),O&&T(B,O),B.legacy=!0,B}function T(O,z){for(var B in z)nt(z,B)&&(O[B]=z[B])}function x(O,z){O&&(O.textFill&&(z.textFill=O.textFill),O.textPosition&&(z.textPosition=O.textPosition))}function A(O,z){if(z==null&&(z=u),nt(QN,O)){var B=t.getItemVisual(z,"style");return B?B[QN[O]]:null}if(nt(i2t,O))return t.getItemVisual(z,O)}function k(O){if(i.type==="cartesian2d"){var z=i.getBaseAxis();return $ct(ht({axis:z},O))}}function R(){return r.getCurrentSeriesIndices()}function M(O){return _W(O,r)}}function N2t(e){var t={};return G(e.dimensions,function(r){var n=e.getDimensionInfo(r);if(!n.isExtraCoord){var a=n.coordDim,i=t[a]=t[a]||[];i[n.coordDimIndex]=e.getDimensionIndex(r)}}),t}function b4(e,t,r,n,a,i,o){if(!n){i.remove(t);return}var s=S8(e,t,r,n,a,i);return s&&o.setItemGraphicEl(r,s),s&&Pr(s,n.focus,n.blurScope,n.emphasisDisabled),s}function S8(e,t,r,n,a,i){var o=-1,s=t;t&&zj(t,n,a)&&(o=Bt(i.childrenRef(),t),t=null);var l=!t,u=t;u?u.clearStates():(u=b8(n),s&&R2t(s,u)),n.morph===!1?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),ii.normal.cfg=ii.normal.conOpt=ii.emphasis.cfg=ii.emphasis.conOpt=ii.blur.cfg=ii.blur.conOpt=ii.select.cfg=ii.select.conOpt=null,ii.isLegacy=!1,$2t(u,r,n,a,l,ii),P2t(u,r,n,a,l),w8(e,u,r,n,ii,a,l),nt(n,"info")&&(Is(u).info=n.info);for(var c=0;c<pu.length;c++){var d=pu[c];if(d!==zl){var f=V2(n,d),p=E8(n,f,d);Fj(d,u,f,p,ii)}}return D2t(u,n,a),n.type==="group"&&B2t(e,u,r,n,a),o>=0?i.replaceAt(u,o):i.add(u),u}function zj(e,t,r){var n=Is(e),a=t.type,i=t.shape,o=t.style;return r.isUniversalTransitionEnabled()||a!=null&&a!==n.customGraphicType||a==="path"&&H2t(i)&&Vj(i)!==n.customPathData||a==="image"&&nt(o,"image")&&o.image!==n.customImagePath}function P2t(e,t,r,n,a){var i=r.clipPath;if(i===!1)e&&e.getClipPath()&&e.removeClipPath();else if(i){var o=e.getClipPath();o&&zj(o,i,n)&&(o=null),o||(o=b8(i),e.setClipPath(o)),w8(null,o,t,i,null,n,a)}}function $2t(e,t,r,n,a,i){if(!e.isGroup){oP(r,null,i),oP(r,Rs,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=e.getTextContent();if(o===!1)c&&e.removeTextContent();else{o=i.normal.conOpt=o||{type:"text"},c?c.clearStates():(c=b8(o),e.setTextContent(c)),w8(null,c,t,o,null,n,a);for(var d=o&&o.style,f=0;f<pu.length;f++){var p=pu[f];if(p!==zl){var h=i[p].conOpt;Fj(p,c,h,E8(o,h,p),null)}}d?c.dirty():c.markRedraw()}}}}function oP(e,t,r){var n=t?V2(e,t):e,a=t?E8(e,n,Rs):e.style,i=e.type,o=n?n.textConfig:null,s=e.textContent,l=s?t?V2(s,t):s:null;if(a&&(r.isLegacy||Dj(a,i,!!o,!!l))){r.isLegacy=!0;var u=Oj(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")}var d=t?r[t]:r.normal;d.cfg=o,d.conOpt=l}function V2(e,t){return t?e?e[t]:null:e}function E8(e,t,r){var n=t&&t.style;return n==null&&r===Rs&&e&&(n=e.styleEmphasis),n}function B2t(e,t,r,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){z2t({api:e,oldChildren:t.children()||[],newChildren:i||[],dataIndex:r,seriesModel:a,group:t});return}u&&t.removeAll();for(var c=0;c<o;c++){var d=i[c],f=t.childAt(c);d?(d.ignore==null&&(d.ignore=!1),S8(e,f,r,d,a,t)):f.ignore=!0}for(var p=t.childCount()-1;p>=c;p--){var h=t.childAt(p);F2t(t,h,a)}}}function F2t(e,t,r){t&&xb(t,Is(e).option,r)}function z2t(e){new Hs(e.oldChildren,e.newChildren,sP,sP,e).add(lP).update(lP).remove(V2t).execute()}function sP(e,t){var r=e&&e.name;return r??k2t+t}function lP(e,t){var r=this.context,n=e!=null?r.newChildren[e]:null,a=t!=null?r.oldChildren[t]:null;S8(r.api,a,r.dataIndex,n,r.seriesModel,r.group)}function V2t(e){var t=this.context,r=t.oldChildren[e];r&&xb(r,Is(r).option,t.seriesModel)}function Vj(e){return e&&(e.pathData||e.d)}function H2t(e){return e&&(nt(e,"pathData")||nt(e,"d"))}function U2t(e){e.registerChartView(L2t),e.registerSeriesModel(s2t)}var mc=Zt(),uP=_t,w4=rt,G2t=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(t,r,n,a){var i=r.get("value"),o=r.get("status");if(this._axisModel=t,this._axisPointerModel=r,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,r,n);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var d=this._moveAnimation=this.determineAnimation(t,r);if(!s)s=this._group=new wt,this.createPointerEl(s,u,t,r),this.createLabelEl(s,u,t,r),n.getZr().add(s);else{var f=Rt(cP,r,d);this.updatePointerEl(s,u,f),this.updateLabelEl(s,u,f,r)}fP(s,r,!0),this._renderHandle(i)}},e.prototype.remove=function(t){this.clear(t)},e.prototype.dispose=function(t){this.clear(t)},e.prototype.determineAnimation=function(t,r){var n=r.get("animation"),a=t.axis,i=a.type==="category",o=r.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=YA(t).seriesDataCount,u=a.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return n===!0},e.prototype.makeElOption=function(t,r,n,a,i){},e.prototype.createPointerEl=function(t,r,n,a){var i=r.pointer;if(i){var o=mc(t).pointerEl=new Im[i.type](uP(r.pointer));t.add(o)}},e.prototype.createLabelEl=function(t,r,n,a){if(r.label){var i=mc(t).labelEl=new er(uP(r.label));t.add(i),dP(i,a)}},e.prototype.updatePointerEl=function(t,r,n){var a=mc(t).pointerEl;a&&r.pointer&&(a.setStyle(r.pointer.style),n(a,{shape:r.pointer.shape}))},e.prototype.updateLabelEl=function(t,r,n,a){var i=mc(t).labelEl;i&&(i.setStyle(r.label.style),n(i,{x:r.label.x,y:r.label.y}),dP(i,a))},e.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var r=this._axisPointerModel,n=this._api.getZr(),a=this._handle,i=r.getModel("handle"),o=r.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=km(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){Bs(u.event)},onmousedown:w4(this._onHandleDragMove,this,0,0),drift:w4(this._onHandleDragMove,this),ondragend:w4(this._onHandleDragEnd,this)}),n.add(a)),fP(a,r,!1),a.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=i.get("size");Ne(l)||(l=[l,l]),a.scaleX=l[0]/2,a.scaleY=l[1]/2,Jp(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},e.prototype._moveHandleToValue=function(t,r){cP(this._axisPointerModel,!r&&this._moveAnimation,this._handle,S4(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(t,r){var n=this._handle;if(n){this._dragging=!0;var a=this.updateHandleTransform(S4(n),[t,r],this._axisModel,this._axisPointerModel);this._payloadInfo=a,n.stopAnimation(),n.attr(S4(a)),mc(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var r=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:r.cursorPoint[0],y:r.cursorPoint[1],tooltipOption:r.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var r=this._axisPointerModel.get("value");this._moveHandleToValue(r),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var r=t.getZr(),n=this._group,a=this._handle;r&&n&&(this._lastGraphicKey=null,n&&r.remove(n),a&&r.remove(a),this._group=null,this._handle=null,this._payloadInfo=null),Vg(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(t,r,n){return n=n||0,{x:t[n],y:t[1-n],width:r[n],height:r[1-n]}},e}();function cP(e,t,r,n){Hj(mc(r).lastProp,n)||(mc(r).lastProp=n,t?rr(r,n,e):(r.stopAnimation(),r.attr(n)))}function Hj(e,t){if(vt(e)&&vt(t)){var r=!0;return G(t,function(n,a){r=r&&Hj(e[a],n)}),!!r}else return e===t}function dP(e,t){e[t.get(["label","show"])?"show":"hide"]()}function S4(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function fP(e,t,r){var n=t.get("z"),a=t.get("zlevel");e&&e.traverse(function(i){i.type!=="group"&&(n!=null&&(i.z=n),a!=null&&(i.zlevel=a),i.silent=r)})}const C8=G2t;function T8(e){var t=e.get("type"),r=e.getModel(t+"Style"),n;return t==="line"?(n=r.getLineStyle(),n.fill=null):t==="shadow"&&(n=r.getAreaStyle(),n.stroke=null),n}function Uj(e,t,r,n,a){var i=r.get("value"),o=Gj(i,t.axis,t.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),s=r.getModel("label"),l=qp(s.get("padding")||0),u=s.getFont(),c=Em(o,u),d=a.position,f=c.width+l[1]+l[3],p=c.height+l[0]+l[2],h=a.align;h==="right"&&(d[0]-=f),h==="center"&&(d[0]-=f/2);var v=a.verticalAlign;v==="bottom"&&(d[1]-=p),v==="middle"&&(d[1]-=p/2),W2t(d,f,p,n);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=t.get(["axisLine","lineStyle","color"])),e.label={x:d[0],y:d[1],style:_r(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function W2t(e,t,r,n){var a=n.getWidth(),i=n.getHeight();e[0]=Math.min(e[0]+t,a)-t,e[1]=Math.min(e[1]+r,i)-r,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function Gj(e,t,r,n,a){e=t.scale.parse(e);var i=t.scale.getLabel({value:e},{precision:a.precision}),o=a.formatter;if(o){var s={value:BA(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};G(n,function(l){var u=r.getSeriesByIndex(l.seriesIndex),c=l.dataIndexInside,d=u&&u.getDataParams(c);d&&s.seriesData.push(d)}),et(o)?i=o.replace("{value}",i):ft(o)&&(i=o(s))}return i}function x8(e,t,r){var n=Ni();return Id(n,n,r.rotation),Zo(n,n,r.position),oo([e.dataToCoord(t),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}function Wj(e,t,r,n,a,i){var o=Us.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=a.get(["label","margin"]),Uj(t,n,a,i,{position:x8(n.axis,e,r),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function A8(e,t,r){return r=r||0,{x1:e[r],y1:e[1-r],x2:t[r],y2:t[1-r]}}function Kj(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}}function pP(e,t,r,n,a,i){return{cx:e,cy:t,r0:r,r:n,startAngle:a,endAngle:i,clockwise:!0}}var K2t=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(r,n,a,i,o){var s=a.axis,l=s.grid,u=i.get("type"),c=hP(l,s).getOtherAxis(s).getGlobalExtent(),d=s.toGlobalCoord(s.dataToCoord(n,!0));if(u&&u!=="none"){var f=T8(i),p=Y2t[u](s,d,c);p.style=f,r.graphicKey=p.type,r.pointer=p}var h=D6(l.model,a);Wj(n,r,h,a,i,o)},t.prototype.getHandleTransform=function(r,n,a){var i=D6(n.axis.grid.model,n,{labelInside:!1});i.labelMargin=a.get(["handle","margin"]);var o=x8(n.axis,r,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(r,n,a,i){var o=a.axis,s=o.grid,l=o.getGlobalExtent(!0),u=hP(s,o).getOtherAxis(o).getGlobalExtent(),c=o.dim==="x"?0:1,d=[r.x,r.y];d[c]+=n[c],d[c]=Math.min(l[1],d[c]),d[c]=Math.max(l[0],d[c]);var f=(u[1]+u[0])/2,p=[f,f];p[c]=d[c];var h=[{verticalAlign:"middle"},{align:"center"}];return{x:d[0],y:d[1],rotation:r.rotation,cursorPoint:p,tooltipOption:h[c]}},t}(C8);function hP(e,t){var r={};return r[t.dim+"AxisIndex"]=t.index,e.getCartesian(r)}var Y2t={line:function(e,t,r){var n=A8([t,r[0]],[t,r[1]],vP(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,t,r){var n=Math.max(1,e.getBandWidth()),a=r[1]-r[0];return{type:"Rect",shape:Kj([t-n/2,r[0]],[n,a],vP(e))}}};function vP(e){return e.dim==="x"?0:1}const q2t=K2t;var j2t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(Qt);const X2t=j2t;var Ss=Zt(),Z2t=G;function Yj(e,t,r){if(!Jt.node){var n=t.getZr();Ss(n).records||(Ss(n).records={}),Q2t(n,t);var a=Ss(n).records[e]||(Ss(n).records[e]={});a.handler=r}}function Q2t(e,t){if(Ss(e).initialized)return;Ss(e).initialized=!0,r("click",Rt(gP,"click")),r("mousemove",Rt(gP,"mousemove")),r("globalout",e_t);function r(n,a){e.on(n,function(i){var o=t_t(t);Z2t(Ss(e).records,function(s){s&&a(s,i,o.dispatchAction)}),J2t(o.pendings,t)})}}function J2t(e,t){var r=e.showTip.length,n=e.hideTip.length,a;r?a=e.showTip[r-1]:n&&(a=e.hideTip[n-1]),a&&(a.dispatchAction=null,t.dispatchAction(a))}function e_t(e,t,r){e.handler("leave",null,r)}function gP(e,t,r,n){t.handler(e,r,n)}function t_t(e){var t={showTip:[],hideTip:[]},r=function(n){var a=t[n.type];a?a.push(n):(n.dispatchAction=r,e.dispatchAction(n))};return{dispatchAction:r,pendings:t}}function Q6(e,t){if(!Jt.node){var r=t.getZr(),n=(Ss(r).records||{})[e];n&&(Ss(r).records[e]=null)}}var r_t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){var i=n.getComponent("tooltip"),o=r.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";Yj("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(r,n){Q6("axisPointer",n)},t.prototype.dispose=function(r,n){Q6("axisPointer",n)},t.type="axisPointer",t}($r);const n_t=r_t;function qj(e,t){var r=[],n=e.seriesIndex,a;if(n==null||!(a=t.getSeriesByIndex(n)))return{point:[]};var i=a.getData(),o=hd(i,e);if(o==null||o<0||Ne(o))return{point:[]};var s=i.getItemGraphicEl(o),l=a.coordinateSystem;if(a.getTooltipPosition)r=a.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(e.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u),d=c.dim,f=u.dim,p=d==="x"||d==="radius"?1:0,h=i.mapDimension(f),v=[];v[p]=i.get(h,o),v[1-p]=i.get(i.getCalculationInfo("stackResultDimension"),o),r=l.dataToPoint(v)||[]}else r=l.dataToPoint(i.getValues(Pe(l.dimensions,function(m){return i.mapDimension(m)}),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),r=[g.x+g.width/2,g.y+g.height/2]}return{point:r,el:s}}var mP=Zt();function a_t(e,t,r){var n=e.currTrigger,a=[e.x,e.y],i=e,o=e.dispatchAction||rt(r.dispatchAction,r),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){g1(a)&&(a=qj({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},t).point);var l=g1(a),u=i.axesInfo,c=s.axesInfo,d=n==="leave"||g1(a),f={},p={},h={list:[],map:{}},v={showPointer:Rt(o_t,p),showTooltip:Rt(s_t,h)};G(s.coordSysMap,function(m,y){var _=l||m.containPoint(a);G(s.coordSysAxesInfo[y],function(w,E){var S=w.axis,C=d_t(u,w);if(!d&&_&&(!u||C)){var T=C&&C.value;T==null&&!l&&(T=S.pointToData(a)),T!=null&&yP(w,T,v,!1,f)}})});var g={};return G(c,function(m,y){var _=m.linkGroup;_&&!p[y]&&G(_.axesInfo,function(w,E){var S=p[E];if(w!==m&&S){var C=S.value;_.mapper&&(C=m.axis.scale.parse(_.mapper(C,_P(w),_P(m)))),g[m.key]=C}})}),G(g,function(m,y){yP(c[y],m,v,!0,f)}),l_t(p,c,f),u_t(h,a,e,o),c_t(c,o,r),f}}function yP(e,t,r,n,a){var i=e.axis;if(!(i.scale.isBlank()||!i.containData(t))){if(!e.involveSeries){r.showPointer(e,t);return}var o=i_t(t,e),s=o.payloadBatch,l=o.snapToValue;s[0]&&a.seriesIndex==null&&Me(a,s[0]),!n&&e.snap&&i.containData(l)&&l!=null&&(t=l),r.showPointer(e,t,s),r.showTooltip(e,o,l)}}function i_t(e,t){var r=t.axis,n=r.dim,a=e,i=[],o=Number.MAX_VALUE,s=-1;return G(t.seriesModels,function(l,u){var c=l.getData().mapDimensionsAll(n),d,f;if(l.getAxisTooltipData){var p=l.getAxisTooltipData(c,e,r);f=p.dataIndices,d=p.nestestValue}else{if(f=l.getData().indicesOfNearest(c[0],e,r.type==="category"?.5:null),!f.length)return;d=l.getData().get(c[0],f[0])}if(!(d==null||!isFinite(d))){var h=e-d,v=Math.abs(h);v<=o&&((v<o||h>=0&&s<0)&&(o=v,s=h,a=d,i.length=0),G(f,function(g){i.push({seriesIndex:l.seriesIndex,dataIndexInside:g,dataIndex:l.getData().getRawIndex(g)})}))}}),{payloadBatch:i,snapToValue:a}}function o_t(e,t,r,n){e[t.key]={value:r,payloadBatch:n}}function s_t(e,t,r,n){var a=r.payloadBatch,i=t.axis,o=i.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!a.length)){var l=t.coordSys.model,u=Yg(l),c=e.map[u];c||(c=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.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 l_t(e,t,r){var n=r.axesInfo=[];G(t,function(a,i){var o=a.axisPointerModel.option,s=e[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 u_t(e,t,r,n){if(g1(t)||!e.list.length){n({type:"hideTip"});return}var a=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:e.list})}function c_t(e,t,r){var n=r.getZr(),a="axisPointerLastHighlights",i=mP(n)[a]||{},o=mP(n)[a]={};G(e,function(u,c){var d=u.axisPointerModel.option;d.status==="show"&&u.triggerEmphasis&&G(d.seriesDataIndices,function(f){var p=f.seriesIndex+" | "+f.dataIndex;o[p]=f})});var s=[],l=[];G(i,function(u,c){!o[c]&&l.push(u)}),G(o,function(u,c){!i[c]&&s.push(u)}),l.length&&r.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&r.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function d_t(e,t){for(var r=0;r<(e||[]).length;r++){var n=e[r];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function _P(e){var t=e.axis.model,r={},n=r.axisDim=e.axis.dim;return r.axisIndex=r[n+"AxisIndex"]=t.componentIndex,r.axisName=r[n+"AxisName"]=t.name,r.axisId=r[n+"AxisId"]=t.id,r}function g1(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function Hm(e){Od.registerAxisPointerClass("CartesianAxisPointer",q2t),e.registerComponentModel(X2t),e.registerComponentView(n_t),e.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var r=t.axisPointer.link;r&&!Ne(r)&&(t.axisPointer.link=[r])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(t,r){t.getComponent("axisPointer").coordSysAxesInfo=Qpt(t,r)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},a_t)}function f_t(e){Ft(bq),Ft(Hm)}var p_t=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(r,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(),d=s.dataToCoord(n),f=i.get("type");if(f&&f!=="none"){var p=T8(i),h=v_t[f](s,l,d,c);h.style=p,r.graphicKey=h.type,r.pointer=h}var v=i.get(["label","margin"]),g=h_t(n,a,i,l,v);Uj(r,a,i,o,g)},t}(C8);function h_t(e,t,r,n,a){var i=t.axis,o=i.dataToCoord(e),s=n.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l=n.getRadiusAxis().getExtent(),u,c,d;if(i.dim==="radius"){var f=Ni();Id(f,f,s),Zo(f,f,[n.cx,n.cy]),u=oo([o,-a],f);var p=t.getModel("axisLabel").get("rotate")||0,h=Us.innerTextLayout(s,p*Math.PI/180,-1);c=h.textAlign,d=h.textVerticalAlign}else{var v=l[1];u=n.coordToPoint([v+a,o]);var g=n.cx,m=n.cy;c=Math.abs(u[0]-g)/v<.3?"center":u[0]>g?"left":"right",d=Math.abs(u[1]-m)/v<.3?"middle":u[1]>m?"top":"bottom"}return{position:u,align:c,verticalAlign:d}}var v_t={line:function(e,t,r,n){return e.dim==="angle"?{type:"Line",shape:A8(t.coordToPoint([n[0],r]),t.coordToPoint([n[1],r]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r}}},shadow:function(e,t,r,n){var a=Math.max(1,e.getBandWidth()),i=Math.PI/180;return e.dim==="angle"?{type:"Sector",shape:pP(t.cx,t.cy,n[0],n[1],(-r-a/2)*i,(-r+a/2)*i)}:{type:"Sector",shape:pP(t.cx,t.cy,r-a/2,r+a/2,0,Math.PI*2)}}};const g_t=p_t;var m_t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.findAxisModel=function(r){var n,a=this.ecModel;return a.eachComponent(r,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}(Qt);const y_t=m_t;var k8=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",en).models[0]},t.type="polarAxis",t}(Qt);on(k8,Om);var __t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="angleAxis",t}(k8),b_t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="radiusAxis",t}(k8),I8=function(e){ye(t,e);function t(r,n){return e.call(this,"radius",r,n)||this}return t.prototype.pointToData=function(r,n){return this.polar.pointToData(r,n)[this.dim==="radius"?0:1]},t}(mo);I8.prototype.dataToRadius=mo.prototype.dataToCoord;I8.prototype.radiusToData=mo.prototype.coordToData;const w_t=I8;var S_t=Zt(),R8=function(e){ye(t,e);function t(r,n){return e.call(this,"angle",r,n||[0,360])||this}return t.prototype.pointToData=function(r,n){return this.polar.pointToData(r,n)[this.dim==="radius"?0:1]},t.prototype.calculateCategoryInterval=function(){var r=this,n=r.getLabelModel(),a=r.scale,i=a.getExtent(),o=a.count();if(i[1]-i[0]<1)return 0;var s=i[0],l=r.dataToCoord(s+1)-r.dataToCoord(s),u=Math.abs(l),c=Em(s==null?"":s+"",n.getFont(),"center","top"),d=Math.max(c.height,7),f=d/u;isNaN(f)&&(f=1/0);var p=Math.max(0,Math.floor(f)),h=S_t(r.model),v=h.lastAutoInterval,g=h.lastTickCount;return v!=null&&g!=null&&Math.abs(v-p)<=1&&Math.abs(g-o)<=1&&v>p?p=v:(h.lastTickCount=o,h.lastAutoInterval=p),p},t}(mo);R8.prototype.dataToAngle=mo.prototype.dataToCoord;R8.prototype.angleToData=mo.prototype.coordToData;const E_t=R8;var jj=["radius","angle"],C_t=function(){function e(t){this.dimensions=jj,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new w_t,this._angleAxis=new E_t,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(t){var r=this.pointToCoord(t);return this._radiusAxis.contain(r[0])&&this._angleAxis.contain(r[1])},e.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},e.prototype.getAxis=function(t){var r="_"+t+"Axis";return this[r]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(t){var r=[],n=this._angleAxis,a=this._radiusAxis;return n.scale.type===t&&r.push(n),a.scale.type===t&&r.push(a),r},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(t){var r=this._angleAxis;return t===r?this._radiusAxis:r},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(t){var r=t!=null&&t!=="auto"?this.getAxis(t):this.getBaseAxis();return{baseAxes:[r],otherAxes:[this.getOtherAxis(r)]}},e.prototype.dataToPoint=function(t,r){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],r),this._angleAxis.dataToAngle(t[1],r)])},e.prototype.pointToData=function(t,r){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],r),this._angleAxis.angleToData(n[1],r)]},e.prototype.pointToCoord=function(t){var r=t[0]-this.cx,n=t[1]-this.cy,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(r*r+n*n);r/=l,n/=l;for(var u=Math.atan2(-n,r)/Math.PI*180,c=u<o?1:-1;u<o||u>s;)u+=c*360;return[l,u]},e.prototype.coordToPoint=function(t){var r=t[0],n=t[1]/180*Math.PI,a=Math.cos(n)*r+this.cx,i=-Math.sin(n)*r+this.cy;return[a,i]},e.prototype.getArea=function(){var t=this.getAngleAxis(),r=this.getRadiusAxis(),n=r.getExtent().slice();n[0]>n[1]&&n.reverse();var a=t.getExtent(),i=Math.PI/180;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(o,s){var l=o-this.cx,u=s-this.cy,c=l*l+u*u-1e-4,d=this.r,f=this.r0;return c<=d*d&&c>=f*f}}},e.prototype.convertToPixel=function(t,r,n){var a=bP(r);return a===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,r,n){var a=bP(r);return a===this?this.pointToData(n):null},e}();function bP(e){var t=e.seriesModel,r=e.polarModel;return r&&r.coordinateSystem||t&&t.coordinateSystem}const T_t=C_t;function x_t(e,t,r){var n=t.get("center"),a=r.getWidth(),i=r.getHeight();e.cx=Ze(n[0],a),e.cy=Ze(n[1],i);var o=e.getRadiusAxis(),s=Math.min(a,i)/2,l=t.get("radius");l==null?l=[0,"100%"]:Ne(l)||(l=[0,l]);var u=[Ze(l[0],s),Ze(l[1],s)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}function A_t(e,t){var r=this,n=r.getAngleAxis(),a=r.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),e.eachSeries(function(s){if(s.coordinateSystem===r){var l=s.getData();G(A2(l,"radius"),function(u){a.scale.unionExtentFromData(l,u)}),G(A2(l,"angle"),function(u){n.scale.unionExtentFromData(l,u)})}}),Cp(n.scale,n.model),Cp(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 k_t(e){return e.mainType==="angleAxis"}function wP(e,t){if(e.type=t.get("type"),e.scale=yb(t),e.onBand=t.get("boundaryGap")&&e.type==="category",e.inverse=t.get("inverse"),k_t(t)){e.inverse=e.inverse!==t.get("clockwise");var r=t.get("startAngle");e.setExtent(r,r+(e.inverse?-360:360))}t.axis=e,e.model=t}var I_t={dimensions:jj,create:function(e,t){var r=[];return e.eachComponent("polar",function(n,a){var i=new T_t(a+"");i.update=A_t;var o=i.getRadiusAxis(),s=i.getAngleAxis(),l=n.findAxisModel("radiusAxis"),u=n.findAxisModel("angleAxis");wP(o,l),wP(s,u),x_t(i,n,t),r.push(i),n.coordinateSystem=i,i.model=n}),e.eachSeries(function(n){if(n.get("coordinateSystem")==="polar"){var a=n.getReferringComponents("polar",en).models[0];n.coordinateSystem=a.coordinateSystem}}),r}};const R_t=I_t;var M_t=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function uy(e,t,r){t[1]>t[0]&&(t=t.slice().reverse());var n=e.coordToPoint([t[0],r]),a=e.coordToPoint([t[1],r]);return{x1:n[0],y1:n[1],x2:a[0],y2:a[1]}}function cy(e){var t=e.getRadiusAxis();return t.inverse?0:1}function SP(e){var t=e[0],r=e[e.length-1];t&&r&&Math.abs(Math.abs(t.coord-r.coord)-360)<1e-4&&e.pop()}var L_t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="PolarAxisPointer",r}return t.prototype.render=function(r,n){if(this.group.removeAll(),!!r.get("show")){var a=r.axis,i=a.polar,o=i.getRadiusAxis().getExtent(),s=a.getTicksCoords(),l=a.getMinorTicksCoords(),u=Pe(a.getViewLabels(),function(c){c=_t(c);var d=a.scale,f=d.type==="ordinal"?d.getRawOrdinalNumber(c.tickValue):c.tickValue;return c.coord=a.dataToCoord(f),c});SP(u),SP(s),G(M_t,function(c){r.get([c,"show"])&&(!a.scale.isBlank()||c==="axisLine")&&D_t[c](this.group,r,i,s,l,o,u)},this)}},t.type="angleAxis",t}(Od),D_t={axisLine:function(e,t,r,n,a,i){var o=t.getModel(["axisLine","lineStyle"]),s=cy(r),l=s?0:1,u;i[l]===0?u=new ts({shape:{cx:r.cx,cy:r.cy,r:i[s]},style:o.getLineStyle(),z2:1,silent:!0}):u=new eb({shape:{cx:r.cx,cy:r.cy,r:i[s],r0:i[l]},style:o.getLineStyle(),z2:1,silent:!0}),u.style.fill=null,e.add(u)},axisTick:function(e,t,r,n,a,i){var o=t.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=i[cy(r)],u=Pe(n,function(c){return new Sn({shape:uy(r,[l,l+s],c.coord)})});e.add(mi(u,{style:ht(o.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,r,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[cy(r)],c=[],d=0;d<a.length;d++)for(var f=0;f<a[d].length;f++)c.push(new Sn({shape:uy(r,[u,u+l],a[d][f].coord)}));e.add(mi(c,{style:ht(s.getModel("lineStyle").getLineStyle(),ht(o.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(e,t,r,n,a,i,o){var s=t.getCategories(!0),l=t.getModel("axisLabel"),u=l.get("margin"),c=t.get("triggerEvent");G(o,function(d,f){var p=l,h=d.tickValue,v=i[cy(r)],g=r.coordToPoint([v+u,d.coord]),m=r.cx,y=r.cy,_=Math.abs(g[0]-m)/v<.3?"center":g[0]>m?"left":"right",w=Math.abs(g[1]-y)/v<.3?"middle":g[1]>y?"top":"bottom";if(s&&s[h]){var E=s[h];vt(E)&&E.textStyle&&(p=new br(E.textStyle,l,l.ecModel))}var S=new er({silent:Us.isLabelSilent(t),style:_r(p,{x:g[0],y:g[1],fill:p.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:d.formattedLabel,align:_,verticalAlign:w})});if(e.add(S),c){var C=Us.makeAxisEventDataBase(t);C.targetType="axisLabel",C.value=d.rawLabel,kt(S).eventData=C}},this)},splitLine:function(e,t,r,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=[],d=0;d<n.length;d++){var f=u++%l.length;c[f]=c[f]||[],c[f].push(new Sn({shape:uy(r,i,n[d].coord)}))}for(var d=0;d<c.length;d++)e.add(mi(c[d],{style:ht({stroke:l[d%l.length]},s.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(e,t,r,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 Sn({shape:uy(r,i,a[u][c].coord)}));e.add(mi(l,{style:s.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(e,t,r,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=[],d=Math.PI/180,f=-n[0].coord*d,p=Math.min(i[0],i[1]),h=Math.max(i[0],i[1]),v=t.get("clockwise"),g=1,m=n.length;g<=m;g++){var y=g===m?n[0].coord:n[g].coord,_=u++%l.length;c[_]=c[_]||[],c[_].push(new Na({shape:{cx:r.cx,cy:r.cy,r0:p,r:h,startAngle:f,endAngle:-y*d,clockwise:v},silent:!0})),f=-y*d}for(var g=0;g<c.length;g++)e.add(mi(c[g],{style:ht({fill:l[g%l.length]},s.getAreaStyle()),silent:!0}))}}};const O_t=L_t;var N_t=["axisLine","axisTickLabel","axisName"],P_t=["splitLine","splitArea","minorSplitLine"],$_t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="PolarAxisPointer",r}return t.prototype.render=function(r,n){if(this.group.removeAll(),!!r.get("show")){var a=this._axisGroup,i=this._axisGroup=new wt;this.group.add(i);var o=r.axis,s=o.polar,l=s.getAngleAxis(),u=o.getTicksCoords(),c=o.getMinorTicksCoords(),d=l.getExtent()[0],f=o.getExtent(),p=F_t(s,r,d),h=new Us(r,p);G(N_t,h.add,h),i.add(h.getGroup()),Am(a,i,r),G(P_t,function(v){r.get([v,"show"])&&!o.scale.isBlank()&&B_t[v](this.group,r,s,d,f,u,c)},this)}},t.type="radiusAxis",t}(Od),B_t={splitLine:function(e,t,r,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=[],d=0;d<i.length;d++){var f=u++%l.length;c[f]=c[f]||[],c[f].push(new ts({shape:{cx:r.cx,cy:r.cy,r:Math.max(i[d].coord,0)}}))}for(var d=0;d<c.length;d++)e.add(mi(c[d],{style:ht({stroke:l[d%l.length],fill:null},s.getLineStyle()),silent:!0}))},minorSplitLine:function(e,t,r,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 d=0;d<o[c].length;d++)u.push(new ts({shape:{cx:r.cx,cy:r.cy,r:o[c][d].coord}}));e.add(mi(u,{style:ht({fill:null},l.getLineStyle()),silent:!0}))}},splitArea:function(e,t,r,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=[],d=i[0].coord,f=1;f<i.length;f++){var p=u++%l.length;c[p]=c[p]||[],c[p].push(new Na({shape:{cx:r.cx,cy:r.cy,r0:d,r:i[f].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),d=i[f].coord}for(var f=0;f<c.length;f++)e.add(mi(c[f],{style:ht({fill:l[f%l.length]},s.getAreaStyle()),silent:!0}))}}};function F_t(e,t,r){return{position:[e.cx,e.cy],rotation:r/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}const z_t=$_t;function Xj(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function Zj(e,t){return t.dim+e.model.componentIndex}function V_t(e,t,r){var n={},a=H_t(ur(t.getSeriesByType(e),function(i){return!t.isSeriesFiltered(i)&&i.coordinateSystem&&i.coordinateSystem.type==="polar"}));t.eachSeriesByType(e,function(i){if(i.coordinateSystem.type==="polar"){var o=i.getData(),s=i.coordinateSystem,l=s.getBaseAxis(),u=Zj(s,l),c=Xj(i),d=a[u][c],f=d.offset,p=d.width,h=s.getOtherAxis(l),v=i.coordinateSystem.cx,g=i.coordinateSystem.cy,m=i.get("barMinHeight")||0,y=i.get("barMinAngle")||0;n[c]=n[c]||[];for(var _=o.mapDimension(h.dim),w=o.mapDimension(l.dim),E=cu(o,_),S=l.dim!=="radius"||!i.get("roundCap",!0),C=h.dataToCoord(0),T=0,x=o.count();T<x;T++){var A=o.get(_,T),k=o.get(w,T),R=A>=0?"p":"n",M=C;E&&(n[c][k]||(n[c][k]={p:C,n:C}),M=n[c][k][R]);var O=void 0,z=void 0,B=void 0,P=void 0;if(h.dim==="radius"){var F=h.dataToCoord(A)-C,D=l.dataToCoord(k);Math.abs(F)<m&&(F=(F<0?-1:1)*m),O=M,z=M+F,B=D-f,P=B-p,E&&(n[c][k][R]=z)}else{var H=h.dataToCoord(A,S)-C,K=l.dataToCoord(k);Math.abs(H)<y&&(H=(H<0?-1:1)*y),O=K+f,z=O+p,B=M,P=M+H,E&&(n[c][k][R]=P)}o.setItemLayout(T,{cx:v,cy:g,r0:O,r:z,startAngle:-B*Math.PI/180,endAngle:-P*Math.PI/180,clockwise:B>=P})}}})}function H_t(e){var t={};G(e,function(n,a){var i=n.getData(),o=n.coordinateSystem,s=o.getBaseAxis(),l=Zj(o,s),u=s.getExtent(),c=s.type==="category"?s.getBandWidth():Math.abs(u[1]-u[0])/i.count(),d=t[l]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=d.stacks;t[l]=d;var p=Xj(n);f[p]||d.autoWidthCount++,f[p]=f[p]||{width:0,maxWidth:0};var h=Ze(n.get("barWidth"),c),v=Ze(n.get("barMaxWidth"),c),g=n.get("barGap"),m=n.get("barCategoryGap");h&&!f[p].width&&(h=Math.min(d.remainedWidth,h),f[p].width=h,d.remainedWidth-=h),v&&(f[p].maxWidth=v),g!=null&&(d.gap=g),m!=null&&(d.categoryGap=m)});var r={};return G(t,function(n,a){r[a]={};var i=n.stacks,o=n.bandWidth,s=Ze(n.categoryGap,o),l=Ze(n.gap,1),u=n.remainedWidth,c=n.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),G(i,function(v,g){var m=v.maxWidth;m&&m<d&&(m=Math.min(m,u),v.width&&(m=Math.min(m,v.width)),u-=m,v.width=m,c--)}),d=(u-s)/(c+(c-1)*l),d=Math.max(d,0);var f=0,p;G(i,function(v,g){v.width||(v.width=d),p=v,f+=v.width*(1+l)}),p&&(f-=p.width*l);var h=-f/2;G(i,function(v,g){r[a][g]=r[a][g]||{offset:h,width:v.width},h+=v.width*(1+l)})}),r}var U_t={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},G_t={splitNumber:5},W_t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="polar",t}($r);function K_t(e){Ft(Hm),Od.registerAxisPointerClass("PolarAxisPointer",g_t),e.registerCoordinateSystem("polar",R_t),e.registerComponentModel(y_t),e.registerComponentView(W_t),xp(e,"angle",__t,U_t),xp(e,"radius",b_t,G_t),e.registerComponentView(O_t),e.registerComponentView(z_t),e.registerLayout(Rt(V_t,"bar"))}function J6(e,t){t=t||{};var r=e.coordinateSystem,n=e.axis,a={},i=n.position,o=n.orient,s=r.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 d={top:-1,bottom:1,right:1,left:-1};a.labelDirection=a.tickDirection=a.nameDirection=d[i],e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),wn(t.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var f=t.rotate;return f==null&&(f=e.get(["axisLabel","rotate"])),a.labelRotation=i==="top"?-f:f,a.z2=1,a}var Y_t=["axisLine","axisTickLabel","axisName"],q_t=["splitArea","splitLine"],j_t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="SingleAxisPointer",r}return t.prototype.render=function(r,n,a,i){var o=this.group;o.removeAll();var s=this._axisGroup;this._axisGroup=new wt;var l=J6(r),u=new Us(r,l);G(Y_t,u.add,u),o.add(this._axisGroup),o.add(u.getGroup()),G(q_t,function(c){r.get([c,"show"])&&X_t[c](this,this.group,this._axisGroup,r)},this),Am(s,this._axisGroup,r),e.prototype.render.call(this,r,n,a,i)},t.prototype.remove=function(){mq(this)},t.type="singleAxis",t}(Od),X_t={splitLine:function(e,t,r,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(),d=[],f=0,p=a.getTicksCoords({tickModel:i}),h=[],v=[],g=0;g<p.length;++g){var m=a.toGlobalCoord(p[g].coord);c?(h[0]=m,h[1]=u.y,v[0]=m,v[1]=u.y+u.height):(h[0]=u.x,h[1]=m,v[0]=u.x+u.width,v[1]=m);var y=new Sn({shape:{x1:h[0],y1:h[1],x2:v[0],y2:v[1]},silent:!0});wp(y.shape,l);var _=f++%s.length;d[_]=d[_]||[],d[_].push(y)}for(var w=o.getLineStyle(["color"]),g=0;g<d.length;++g)t.add(mi(d[g],{style:ht({stroke:s[g%s.length]},w),silent:!0}))}},splitArea:function(e,t,r,n){gq(e,r,n,n)}};const Z_t=j_t;var Qj=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.getCoordSysModel=function(){return this},t.type="singleAxis",t.layoutMode="box",t.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},t}(Qt);on(Qj,Om.prototype);const E4=Qj;var Q_t=function(e){ye(t,e);function t(r,n,a,i,o){var s=e.call(this,r,n,a)||this;return s.type=i||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var r=this.position;return r==="top"||r==="bottom"},t.prototype.pointToData=function(r,n){return this.coordinateSystem.pointToData(r)[0]},t}(mo);const J_t=Q_t;var Jj=["single"],ebt=function(){function e(t,r,n){this.type="single",this.dimension="single",this.dimensions=Jj,this.axisPointerEnabled=!0,this.model=t,this._init(t,r,n)}return e.prototype._init=function(t,r,n){var a=this.dimension,i=new J_t(a,yb(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},e.prototype.update=function(t,r){t.eachSeries(function(n){if(n.coordinateSystem===this){var a=n.getData();G(a.mapDimensionsAll(this.dimension),function(i){this._axis.scale.unionExtentFromData(a,i)},this),Cp(this._axis.scale,this._axis.model)}},this)},e.prototype.resize=function(t,r){this._rect=cn({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:r.getWidth(),height:r.getHeight()}),this._adjustAxis()},e.prototype.getRect=function(){return this._rect},e.prototype._adjustAxis=function(){var t=this._rect,r=this._axis,n=r.isHorizontal(),a=n?[0,t.width]:[0,t.height],i=r.inverse?1:0;r.setExtent(a[i],a[1-i]),this._updateAxisTransform(r,n?t.x:t.y)},e.prototype._updateAxisTransform=function(t,r){var n=t.getExtent(),a=n[0]+n[1],i=t.isHorizontal();t.toGlobalCoord=i?function(o){return o+r}:function(o){return a-o+r},t.toLocalCoord=i?function(o){return o-r}:function(o){return a-o+r}},e.prototype.getAxis=function(){return this._axis},e.prototype.getBaseAxis=function(){return this._axis},e.prototype.getAxes=function(){return[this._axis]},e.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},e.prototype.containPoint=function(t){var r=this.getRect(),n=this.getAxis(),a=n.orient;return a==="horizontal"?n.contain(n.toLocalCoord(t[0]))&&t[1]>=r.y&&t[1]<=r.y+r.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=r.y&&t[0]<=r.y+r.height},e.prototype.pointToData=function(t){var r=this.getAxis();return[r.coordToData(r.toLocalCoord(t[r.orient==="horizontal"?0:1]))]},e.prototype.dataToPoint=function(t){var r=this.getAxis(),n=this.getRect(),a=[],i=r.orient==="horizontal"?0:1;return t instanceof Array&&(t=t[0]),a[i]=r.toGlobalCoord(r.dataToCoord(+t)),a[1-i]=i===0?n.y+n.height/2:n.x+n.width/2,a},e.prototype.convertToPixel=function(t,r,n){var a=EP(r);return a===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,r,n){var a=EP(r);return a===this?this.pointToData(n):null},e}();function EP(e){var t=e.seriesModel,r=e.singleAxisModel;return r&&r.coordinateSystem||t&&t.coordinateSystem}function tbt(e,t){var r=[];return e.eachComponent("singleAxis",function(n,a){var i=new ebt(n,e,t);i.name="single_"+a,i.resize(n,t),n.coordinateSystem=i,r.push(i)}),e.eachSeries(function(n){if(n.get("coordinateSystem")==="singleAxis"){var a=n.getReferringComponents("singleAxis",en).models[0];n.coordinateSystem=a&&a.coordinateSystem}}),r}var rbt={create:tbt,dimensions:Jj};const nbt=rbt;var CP=["x","y"],abt=["width","height"],ibt=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(r,n,a,i,o){var s=a.axis,l=s.coordinateSystem,u=C4(l,1-H2(s)),c=l.dataToPoint(n)[0],d=i.get("type");if(d&&d!=="none"){var f=T8(i),p=obt[d](s,c,u);p.style=f,r.graphicKey=p.type,r.pointer=p}var h=J6(a);Wj(n,r,h,a,i,o)},t.prototype.getHandleTransform=function(r,n,a){var i=J6(n,{labelInside:!1});i.labelMargin=a.get(["handle","margin"]);var o=x8(n.axis,r,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(r,n,a,i){var o=a.axis,s=o.coordinateSystem,l=H2(o),u=C4(s,l),c=[r.x,r.y];c[l]+=n[l],c[l]=Math.min(u[1],c[l]),c[l]=Math.max(u[0],c[l]);var d=C4(s,1-l),f=(d[1]+d[0])/2,p=[f,f];return p[l]=c[l],{x:c[0],y:c[1],rotation:r.rotation,cursorPoint:p,tooltipOption:{verticalAlign:"middle"}}},t}(C8),obt={line:function(e,t,r){var n=A8([t,r[0]],[t,r[1]],H2(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,t,r){var n=e.getBandWidth(),a=r[1]-r[0];return{type:"Rect",shape:Kj([t-n/2,r[0]],[n,a],H2(e))}}};function H2(e){return e.isHorizontal()?0:1}function C4(e,t){var r=e.getRect();return[r[CP[t]],r[CP[t]]+r[abt[t]]]}const sbt=ibt;var lbt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="single",t}($r);function ubt(e){Ft(Hm),Od.registerAxisPointerClass("SingleAxisPointer",sbt),e.registerComponentView(lbt),e.registerComponentView(Z_t),e.registerComponentModel(E4),xp(e,"single",E4,E4.defaultOption),e.registerCoordinateSystem("single",nbt)}var cbt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n,a){var i=jp(r);e.prototype.init.apply(this,arguments),TP(r,i)},t.prototype.mergeOption=function(r){e.prototype.mergeOption.apply(this,arguments),TP(this.option,r)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t}(Qt);function TP(e,t){var r=e.cellSize,n;Ne(r)?n=r:n=e.cellSize=[r,r],n.length===1&&(n[1]=n[0]);var a=Pe([0,1],function(i){return yst(t,i)&&(n[i]="auto"),n[i]!=null&&n[i]!=="auto"});uu(e,t,{type:"box",ignoreSize:a})}const dbt=cbt;var fbt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){var i=this.group;i.removeAll();var o=r.coordinateSystem,s=o.getRangeInfo(),l=o.getOrient(),u=n.getLocaleModel();this._renderDayRect(r,s,i),this._renderLines(r,s,l,i),this._renderYearText(r,s,l,i),this._renderMonthText(r,u,l,i),this._renderWeekText(r,u,s,l,i)},t.prototype._renderDayRect=function(r,n,a){for(var i=r.coordinateSystem,o=r.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,d=new Xt({shape:{x:c[0],y:c[1],width:s,height:l},cursor:"default",style:o});a.add(d)}},t.prototype._renderLines=function(r,n,a,i){var o=this,s=r.coordinateSystem,l=r.getModel(["splitLine","lineStyle"]).getLineStyle(),u=r.get(["splitLine","show"]),c=l.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var d=n.start,f=0;d.time<=n.end.time;f++){h(d.formatedDate),f===0&&(d=s.getDateInfo(n.start.y+"-"+n.start.m));var p=d.date;p.setMonth(p.getMonth()+1),d=s.getDateInfo(p)}h(s.getNextNDay(n.end.time,1).formatedDate);function h(v){o._firstDayOfMonth.push(s.getDateInfo(v)),o._firstDayPoints.push(s.dataToRect([v],!1).tl);var g=o._getLinePointsOfOneWeek(r,v,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(r,n,a){var i=[r[0].slice(),r[r.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(r,n,a){var i=new Ba({z2:20,shape:{points:r},style:n});a.add(i)},t.prototype._getLinePointsOfOneWeek=function(r,n,a){for(var i=r.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(r,n){return et(r)&&r?vst(r,n):ft(r)?r(n):n.nameMap},t.prototype._yearTextPositionControl=function(r,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(r,n,a,i){var o=r.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,d=(u[0][1]+u[1][1])/2,f=a==="horizontal"?0:1,p={top:[c,u[f][1]],bottom:[c,u[1-f][1]],left:[u[1-f][0],d],right:[u[f][0],d]},h=n.start.y;+n.end.y>+n.start.y&&(h=h+"-"+n.end.y);var v=o.get("formatter"),g={start:n.start.y,end:n.end.y,nameMap:h},m=this._formatterLabel(v,g),y=new er({z2:30,style:_r(o,{text:m})});y.attr(this._yearTextPositionControl(y,p[l],a,l,s)),i.add(y)}},t.prototype._monthTextPositionControl=function(r,n,a,i,o){var s="left",l="top",u=r[0],c=r[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(r,n,a,i){var o=r.getModel("monthLabel");if(o.get("show")){var s=o.get("nameMap"),l=o.get("margin"),u=o.get("position"),c=o.get("align"),d=[this._tlpoints,this._blpoints];(!s||et(s))&&(s&&(n=u6(s)||n),s=n.get(["time","monthAbbr"])||[]);var f=u==="start"?0:1,p=a==="horizontal"?0:1;l=u==="start"?-l:l;for(var h=c==="center",v=0;v<d[f].length-1;v++){var g=d[f][v].slice(),m=this._firstDayOfMonth[v];if(h){var y=this._firstDayPoints[v];g[p]=(y[p]+d[0][v+1][p])/2}var _=o.get("formatter"),w=s[+m.m-1],E={yyyy:m.y,yy:(m.y+"").slice(2),MM:m.m,M:+m.m,nameMap:w},S=this._formatterLabel(_,E),C=new er({z2:30,style:Me(_r(o,{text:S}),this._monthTextPositionControl(g,h,a,u,l))});i.add(C)}}},t.prototype._weekTextPositionControl=function(r,n,a,i,o){var s="center",l="middle",u=r[0],c=r[1],d=a==="start";return n==="horizontal"?(u=u+i+(d?1:-1)*o[0]/2,s=d?"right":"left"):(c=c+i+(d?1:-1)*o[1]/2,l=d?"bottom":"top"),{x:u,y:c,align:s,verticalAlign:l}},t.prototype._renderWeekText=function(r,n,a,i,o){var s=r.getModel("dayLabel");if(s.get("show")){var l=r.coordinateSystem,u=s.get("position"),c=s.get("nameMap"),d=s.get("margin"),f=l.getFirstDayOfWeek();if(!c||et(c)){c&&(n=u6(c)||n);var p=n.get(["time","dayOfWeekShort"]);c=p||Pe(n.get(["time","dayOfWeekAbbr"]),function(E){return E[0]})}var h=l.getNextNDay(a.end.time,7-a.lweek).time,v=[l.getCellWidth(),l.getCellHeight()];d=Ze(d,Math.min(v[1],v[0])),u==="start"&&(h=l.getNextNDay(a.start.time,-(7+a.fweek)).time,d=-d);for(var g=0;g<7;g++){var m=l.getNextNDay(h,g),y=l.dataToRect([m.time],!1).center,_=g;_=Math.abs((g+f)%7);var w=new er({z2:30,style:Me(_r(s,{text:c[_]}),this._weekTextPositionControl(y,i,u,d,v))});o.add(w)}}},t.type="calendar",t}($r);const pbt=fbt;var T4=864e5,hbt=function(){function e(t,r,n){this.type="calendar",this.dimensions=e.dimensions,this.getDimensionsInfo=e.getDimensionsInfo,this._model=t}return e.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},e.prototype.getRangeInfo=function(){return this._rangeInfo},e.prototype.getModel=function(){return this._model},e.prototype.getRect=function(){return this._rect},e.prototype.getCellWidth=function(){return this._sw},e.prototype.getCellHeight=function(){return this._sh},e.prototype.getOrient=function(){return this._orient},e.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},e.prototype.getDateInfo=function(t){t=Jo(t);var r=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:r+"",m:a,d:o,day:s,time:t.getTime(),formatedDate:r+"-"+a+"-"+o,date:t}},e.prototype.getNextNDay=function(t,r){return r=r||0,r===0?this.getDateInfo(t):(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+r),this.getDateInfo(t))},e.prototype.update=function(t,r){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,a=["width","height"],i=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),s=this._orient==="horizontal"?[n,7]:[7,n];G([0,1],function(d){c(i,d)&&(o[a[d]]=i[d]*s[d])});var l={width:r.getWidth(),height:r.getHeight()},u=this._rect=cn(o,l);G([0,1],function(d){c(i,d)||(i[d]=u[a[d]]/s[d])});function c(d,f){return d[f]!=null&&d[f]!=="auto"}this._sw=i[0],this._sh=i[1]},e.prototype.dataToPoint=function(t,r){Ne(t)&&(t=t[0]),r==null&&(r=!0);var n=this.getDateInfo(t),a=this._rangeInfo,i=n.formatedDate;if(r&&!(n.time>=a.start.time&&n.time<a.end.time+T4))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]},e.prototype.pointToData=function(t){var r=this.pointToDate(t);return r&&r.time},e.prototype.dataToRect=function(t,r){var n=this.dataToPoint(t,r);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},e.prototype.pointToDate=function(t){var r=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,a=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(n,r-1,a):this._getDateByWeeksAndDay(r,n-1,a)},e.prototype.convertToPixel=function(t,r,n){var a=xP(r);return a===this?a.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,r,n){var a=xP(r);return a===this?a.pointToData(n):null},e.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},e.prototype._initRangeOption=function(){var t=this._model.get("range"),r;if(Ne(t)&&t.length===1&&(t=t[0]),Ne(t))r=t;else{var n=t.toString();if(/^\d{4}$/.test(n)&&(r=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var a=this.getDateInfo(n),i=a.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);r=[a.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(r=[n,n])}if(!r)return t;var s=this._getRangeInfo(r);return s.start.time>s.end.time&&r.reverse(),r},e.prototype._getRangeInfo=function(t){var r=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],n;r[0].time>r[1].time&&(n=!0,r.reverse());var a=Math.floor(r[1].time/T4)-Math.floor(r[0].time/T4)+1,i=new Date(r[0].time),o=i.getDate(),s=r[1].date.getDate();i.setDate(o+a-1);var l=i.getDate();if(l!==s)for(var u=i.getTime()-r[1].time>0?1:-1;(l=i.getDate())!==s&&(i.getTime()-r[1].time)*u>0;)a-=u,i.setDate(l-u);var c=Math.floor((a+r[0].day+6)/7),d=n?-c+1:c-1;return n&&r.reverse(),{range:[r[0].formatedDate,r[1].formatedDate],start:r[0],end:r[1],allDay:a,weeks:c,nthWeek:d,fweek:r[0].day,lweek:r[1].day}},e.prototype._getDateByWeeksAndDay=function(t,r,n){var a=this._getRangeInfo(n);if(t>a.weeks||t===0&&r<a.fweek||t===a.weeks&&r>a.lweek)return null;var i=(t-1)*7-a.fweek+r,o=new Date(a.start.time);return o.setDate(+a.start.d+i),this.getDateInfo(o)},e.create=function(t,r){var n=[];return t.eachComponent("calendar",function(a){var i=new e(a);n.push(i),a.coordinateSystem=i}),t.eachSeries(function(a){a.get("coordinateSystem")==="calendar"&&(a.coordinateSystem=n[a.get("calendarIndex")||0])}),n},e.dimensions=["time","value"],e}();function xP(e){var t=e.calendarModel,r=e.seriesModel,n=t?t.coordinateSystem:r?r.coordinateSystem:null;return n}const vbt=hbt;function gbt(e){e.registerComponentModel(dbt),e.registerComponentView(pbt),e.registerCoordinateSystem("calendar",vbt)}function mbt(e,t){var r=e.existing;if(t.id=e.keyInfo.id,!t.type&&r&&(t.type=r.type),t.parentId==null){var n=t.parentOption;n?t.parentId=n.id:r&&(t.parentId=r.parentId)}t.parentOption=null}function AP(e,t){var r;return G(t,function(n){e[n]!=null&&e[n]!=="auto"&&(r=!0)}),r}function ybt(e,t,r){var n=Me({},r),a=e[t],i=r.$action||"merge";i==="merge"?a?(Nt(a,n,!0),uu(a,n,{ignoreSize:!0}),BW(r,a),dy(r,a),dy(r,a,"shape"),dy(r,a,"style"),dy(r,a,"extra"),r.clipPath=a.clipPath):e[t]=n:i==="replace"?e[t]=n:i==="remove"&&a&&(e[t]=null)}var eX=["transition","enterFrom","leaveTo"],_bt=eX.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function dy(e,t,r){if(r&&(!e[r]&&t[r]&&(e[r]={}),e=e[r],t=t[r]),!(!e||!t))for(var n=r?eX:_bt,a=0;a<n.length;a++){var i=n[a];e[i]==null&&t[i]!=null&&(e[i]=t[i])}}function bbt(e,t){if(e&&(e.hv=t.hv=[AP(t,["left","right"]),AP(t,["top","bottom"])],e.type==="group")){var r=e,n=t;r.width==null&&(r.width=n.width=0),r.height==null&&(r.height=n.height=0)}}var wbt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.preventAutoZ=!0,r}return t.prototype.mergeOption=function(r,n){var a=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,r,n),this.option.elements=a},t.prototype.optionUpdated=function(r,n){var a=this.option,i=(n?a:r).elements,o=a.elements=n?[]:a.elements,s=[];this._flatten(i,s,null);var l=_G(o,s,"normalMerge"),u=this._elOptionsToUpdate=[];G(l,function(c,d){var f=c.newOption;f&&(u.push(f),mbt(c,f),ybt(o,d,f),bbt(o[d],f))},this),a.elements=ur(o,function(c){return c&&delete c.$action,c!=null})},t.prototype._flatten=function(r,n,a){G(r,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 r=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,r},t.type="graphic",t.defaultOption={elements:[]},t}(Qt),kP={path:null,compoundPath:null,group:wt,image:$n,text:er},pi=Zt(),Sbt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(){this._elMap=lt()},t.prototype.render=function(r,n,a){r!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=r,this._updateElements(r),this._relocate(r,a)},t.prototype._updateElements=function(r){var n=r.useElOptionsToUpdate();if(n){var a=this._elMap,i=this.group,o=r.get("z"),s=r.get("zlevel");G(n,function(l){var u=ln(l.id,null),c=u!=null?a.get(u):null,d=ln(l.parentId,null),f=d!=null?a.get(d):i,p=l.type,h=l.style;p==="text"&&h&&l.hv&&l.hv[1]&&(h.textVerticalAlign=h.textBaseline=h.verticalAlign=h.align=null);var v=l.textContent,g=l.textConfig;if(h&&Dj(h,p,!!g,!!v)){var m=Oj(h,p,!0);!g&&m.textConfig&&(g=l.textConfig=m.textConfig),!v&&m.textContent&&(v=m.textContent)}var y=Ebt(l),_=l.$action||"merge",w=_==="merge",E=_==="replace";if(w){var S=!c,C=c;S?C=IP(u,f,l.type,a):(C&&(pi(C).isNew=!1),Bj(C)),C&&(v1(C,y,r,{isInit:S}),RP(C,l,o,s))}else if(E){m1(c,l,a,r);var T=IP(u,f,l.type,a);T&&(v1(T,y,r,{isInit:!0}),RP(T,l,o,s))}else _==="remove"&&(Pj(c,l),m1(c,l,a,r));var x=a.get(u);if(x&&v)if(w){var A=x.getTextContent();A?A.attr(v):x.setTextContent(new er(v))}else E&&x.setTextContent(new er(v));if(x){var k=l.clipPath;if(k){var R=k.type,M=void 0,S=!1;if(w){var O=x.getClipPath();S=!O||pi(O).type!==R,M=S?eC(R):O}else E&&(S=!0,M=eC(R));x.setClipPath(M),v1(M,k,r,{isInit:S}),z2(M,k.keyframeAnimation,r)}var z=pi(x);x.setTextConfig(g),z.option=l,Cbt(x,r,l),Wp({el:x,componentModel:r,itemName:x.name,itemTooltipOption:l.tooltip}),z2(x,l.keyframeAnimation,r)}})}},t.prototype._relocate=function(r,n){for(var a=r.option.elements,i=this.group,o=this._elMap,s=n.getWidth(),l=n.getHeight(),u=["x","y"],c=0;c<a.length;c++){var d=a[c],f=ln(d.id,null),p=f!=null?o.get(f):null;if(!(!p||!p.isGroup)){var h=p.parent,v=h===i,g=pi(p),m=pi(h);g.width=Ze(g.option.width,v?s:m.width)||0,g.height=Ze(g.option.height,v?l:m.height)||0}}for(var c=a.length-1;c>=0;c--){var d=a[c],f=ln(d.id,null),p=f!=null?o.get(f):null;if(p){var h=p.parent,m=pi(h),y=h===i?{width:s,height:l}:{width:m.width,height:m.height},_={},w=cb(p,d,y,null,{hv:d.hv,boundingMode:d.bounding},_);if(!pi(p).isNew&&w){for(var E=d.transition,S={},C=0;C<u.length;C++){var T=u[C],x=_[T];E&&(td(E)||Bt(E,T)>=0)?S[T]=x:p[T]=x}rr(p,S,r,0)}else p.attr(_)}}},t.prototype._clear=function(){var r=this,n=this._elMap;n.each(function(a){m1(a,pi(a).option,n,r._lastGraphicModel)}),this._elMap=lt()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}($r);function eC(e){var t=nt(kP,e)?kP[e]:uA(e),r=new t({});return pi(r).type=e,r}function IP(e,t,r,n){var a=eC(r);return t.add(a),n.set(e,a),pi(a).id=e,pi(a).isNew=!0,a}function m1(e,t,r,n){var a=e&&e.parent;a&&(e.type==="group"&&e.traverse(function(i){m1(i,t,r,n)}),xb(e,t,n),r.removeKey(pi(e).id))}function RP(e,t,r,n){e.isGroup||G([["cursor",Pi.prototype.cursor],["zlevel",n||0],["z",r||0],["z2",0]],function(a){var i=a[0];nt(t,i)?e[i]=Dt(t[i],a[1]):e[i]==null&&(e[i]=a[1])}),G(Wt(t),function(a){if(a.indexOf("on")===0){var i=t[a];e[a]=ft(i)?i:null}}),nt(t,"draggable")&&(e.draggable=t.draggable),t.name!=null&&(e.name=t.name),t.id!=null&&(e.id=t.id)}function Ebt(e){return e=Me({},e),G(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat($W),function(t){delete e[t]}),e}function Cbt(e,t,r){var n=kt(e).eventData;!e.silent&&!e.ignore&&!n&&(n=kt(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),n&&(n.info=r.info)}function Tbt(e){e.registerComponentModel(wbt),e.registerComponentView(Sbt),e.registerPreprocessor(function(t){var r=t.graphic;Ne(r)?!r[0]||!r[0].elements?t.graphic=[{elements:r}]:t.graphic=[t.graphic[0]]:r&&!r.elements&&(t.graphic=[{elements:[r]}])})}var MP=["x","y","radius","angle","single"],xbt=["cartesian2d","polar","singleAxis"];function Abt(e){var t=e.get("coordinateSystem");return Bt(xbt,t)>=0}function Vl(e){return e+"Axis"}function kbt(e,t){var r=lt(),n=[],a=lt();e.eachComponent({mainType:"dataZoom",query:t},function(c){a.get(c.uid)||s(c)});var i;do i=!1,e.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 d=!1;return c.eachTargetAxis(function(f,p){var h=r.get(f);h&&h[p]&&(d=!0)}),d}function u(c){c.eachTargetAxis(function(d,f){(r.get(d)||r.set(d,[]))[f]=!0})}return n}function tX(e){var t=e.ecModel,r={infoList:[],infoMap:lt()};return e.eachTargetAxis(function(n,a){var i=t.getComponent(Vl(n),a);if(i){var o=i.getCoordSysModel();if(o){var s=o.uid,l=r.infoMap.get(s);l||(l={model:o,axisModels:[]},r.infoList.push(l),r.infoMap.set(s,l)),l.axisModels.push(i)}}}),r}var x4=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},e}(),Ibt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._autoThrottle=!0,r._noTarget=!0,r._rangePropMode=["percent","percent"],r}return t.prototype.init=function(r,n,a){var i=LP(r);this.settledOption=i,this.mergeDefaultAndTheme(r,a),this._doInit(i)},t.prototype.mergeOption=function(r){var n=LP(r);Nt(this.option,r,!0),Nt(this.settledOption,n,!0),this._doInit(n)},t.prototype._doInit=function(r){var n=this.option;this._setDefaultThrottle(r),this._updateRangeUse(r);var a=this.settledOption;G([["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 r=this.get("orient",!0),n=this._targetAxisInfoMap=lt(),a=this._fillSpecifiedTargetAxis(n);a?this._orient=r||this._makeAutoOrientByTargetAxis():(this._orient=r||"horizontal",this._fillAutoTargetAxisByOrient(n,this._orient)),this._noTarget=!0,n.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(r){var n=!1;return G(MP,function(a){var i=this.getReferringComponents(Vl(a),qat);if(i.specified){n=!0;var o=new x4;G(i.models,function(s){o.add(s.componentIndex)}),r.set(a,o)}},this),n},t.prototype._fillAutoTargetAxisByOrient=function(r,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 d=u[0];if(d){var f=new x4;if(f.add(d.componentIndex),r.set(c,f),i=!1,c==="x"||c==="y"){var p=d.getReferringComponents("grid",en).models[0];p&&G(u,function(h){d.componentIndex!==h.componentIndex&&p===h.getReferringComponents("grid",en).models[0]&&f.add(h.componentIndex)})}}}i&&G(MP,function(u){if(i){var c=a.findComponents({mainType:Vl(u),filter:function(f){return f.get("type",!0)==="category"}});if(c[0]){var d=new x4;d.add(c[0].componentIndex),r.set(u,d),i=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var r;return this.eachTargetAxis(function(n){!r&&(r=n)},this),r==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(r){if(r.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var n=this.ecModel.option;this.option.throttle=n.animation&&n.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(r){var n=this._rangePropMode,a=this.get("rangeMode");G([["start","startValue"],["end","endValue"]],function(i,o){var s=r[i[0]]!=null,l=r[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 r;return this.eachTargetAxis(function(n,a){r==null&&(r=this.ecModel.getComponent(Vl(n),a))},this),r},t.prototype.eachTargetAxis=function(r,n){this._targetAxisInfoMap.each(function(a,i){G(a.indexList,function(o){r.call(n,i,o)})})},t.prototype.getAxisProxy=function(r,n){var a=this.getAxisModel(r,n);if(a)return a.__dzAxisProxy},t.prototype.getAxisModel=function(r,n){var a=this._targetAxisInfoMap.get(r);if(a&&a.indexMap[n])return this.ecModel.getComponent(Vl(r),n)},t.prototype.setRawRange=function(r){var n=this.option,a=this.settledOption;G([["start","startValue"],["end","endValue"]],function(i){(r[i[0]]!=null||r[i[1]]!=null)&&(n[i[0]]=a[i[0]]=r[i[0]],n[i[1]]=a[i[1]]=r[i[1]])},this),this._updateRangeUse(r)},t.prototype.setCalculatedRange=function(r){var n=this.option;G(["start","startValue","end","endValue"],function(a){n[a]=r[a]})},t.prototype.getPercentRange=function(){var r=this.findRepresentativeAxisProxy();if(r)return r.getDataPercentWindow()},t.prototype.getValueRange=function(r,n){if(r==null&&n==null){var a=this.findRepresentativeAxisProxy();if(a)return a.getDataValueWindow()}else return this.getAxisProxy(r,n).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(r){if(r)return r.__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 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}(Qt);function LP(e){var t={};return G(["start","end","startValue","endValue","throttle"],function(r){e.hasOwnProperty(r)&&(t[r]=e[r])}),t}const Jg=Ibt;var Rbt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="dataZoom.select",t}(Jg);const Mbt=Rbt;var Lbt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a,i){this.dataZoomModel=r,this.ecModel=n,this.api=a},t.type="dataZoom",t}($r);const M8=Lbt;var Dbt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="dataZoom.select",t}(M8);const Obt=Dbt;var yf=G,DP=Si,Nbt=function(){function e(t,r,n,a){this._dimName=t,this._axisIndex=r,this.ecModel=a,this._dataZoomModel=n}return e.prototype.hostedBy=function(t){return this._dataZoomModel===t},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(r){if(Abt(r)){var n=Vl(this._dimName),a=r.getReferringComponents(n,en).models[0];a&&this._axisIndex===a.componentIndex&&t.push(r)}},this),t},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return _t(this._minMaxSpan)},e.prototype.calculateDataWindow=function(t){var r=this._dataExtent,n=this.getAxisModel(),a=n.axis.scale,i=this._dataZoomModel.getRangePropMode(),o=[0,100],s=[],l=[],u;yf(["start","end"],function(f,p){var h=t[f],v=t[f+"Value"];i[p]==="percent"?(h==null&&(h=o[p]),v=a.parse(lr(h,o,r))):(u=!0,v=v==null?r[p]:a.parse(v),h=lr(v,r,o)),l[p]=v==null||isNaN(v)?r[p]:v,s[p]=h==null||isNaN(h)?o[p]:h}),DP(l),DP(s);var c=this._minMaxSpan;u?d(l,s,r,o,!1):d(s,l,o,r,!0);function d(f,p,h,v,g){var m=g?"Span":"ValueSpan";Nd(0,f,h,"all",c["min"+m],c["max"+m]);for(var y=0;y<2;y++)p[y]=lr(f[y],h,v,!0),g&&(p[y]=a.parse(p[y]))}return{valueWindow:l,percentWindow:s}},e.prototype.reset=function(t){if(t===this._dataZoomModel){var r=this.getTargetSeriesModels();this._dataExtent=Pbt(this,this._dimName,r),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(t,r){if(t!==this._dataZoomModel)return;var n=this._dimName,a=this.getTargetSeriesModels(),i=t.get("filterMode"),o=this._valueWindow;if(i==="none")return;yf(a,function(l){var u=l.getData(),c=u.mapDimensionsAll(n);if(c.length){if(i==="weakFilter"){var d=u.getStore(),f=Pe(c,function(p){return u.getDimensionIndex(p)},u);u.filterSelf(function(p){for(var h,v,g,m=0;m<c.length;m++){var y=d.get(f[m],p),_=!isNaN(y),w=y<o[0],E=y>o[1];if(_&&!w&&!E)return!0;_&&(g=!0),w&&(h=!0),E&&(v=!0)}return g&&h&&v})}else yf(c,function(p){if(i==="empty")l.setData(u=u.map(p,function(v){return s(v)?v:NaN}));else{var h={};h[p]=o,u.selectRange(h)}});yf(c,function(p){u.setApproximateExtent(o,p)})}});function s(l){return l>=o[0]&&l<=o[1]}},e.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},r=this._dataZoomModel,n=this._dataExtent;yf(["min","max"],function(a){var i=r.get(a+"Span"),o=r.get(a+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?i=lr(n[0]+o,n,[0,100],!0):i!=null&&(o=lr(i,[0,100],n,!0)-n[0]),t[a+"Span"]=i,t[a+"ValueSpan"]=o},this)},e.prototype._setAxisModel=function(){var t=this.getAxisModel(),r=this._percentWindow,n=this._valueWindow;if(r){var a=dG(n,[0,500]);a=Math.min(a,20);var i=t.axis.scale.rawExtentInfo;r[0]!==0&&i.setDeterminedMinMax("min",+n[0].toFixed(a)),r[1]!==100&&i.setDeterminedMinMax("max",+n[1].toFixed(a)),i.freeze()}},e}();function Pbt(e,t,r){var n=[1/0,-1/0];yf(r,function(o){odt(n,o.getData(),t)});var a=e.getAxisModel(),i=yY(a.axis.scale,a,n).calculate();return[i.min,i.max]}const $bt=Nbt;var Bbt={getTargetSeries:function(e){function t(a){e.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(o,s){var l=e.getComponent(Vl(o),s);a(o,s,l,i)})})}t(function(a,i,o,s){o.__dzAxisProxy=null});var r=[];t(function(a,i,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new $bt(a,i,s,e),r.push(o.__dzAxisProxy))});var n=lt();return G(r,function(a){G(a.getTargetSeriesModels(),function(i){n.set(i.uid,i)})}),n},overallReset:function(e,t){e.eachComponent("dataZoom",function(r){r.eachTargetAxis(function(n,a){r.getAxisProxy(n,a).reset(r)}),r.eachTargetAxis(function(n,a){r.getAxisProxy(n,a).filterData(r,t)})}),e.eachComponent("dataZoom",function(r){var n=r.findRepresentativeAxisProxy();if(n){var a=n.getDataPercentWindow(),i=n.getDataValueWindow();r.setCalculatedRange({start:a[0],end:a[1],startValue:i[0],endValue:i[1]})}})}};const Fbt=Bbt;function zbt(e){e.registerAction("dataZoom",function(t,r){var n=kbt(r,t);G(n,function(a){a.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var OP=!1;function L8(e){OP||(OP=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,Fbt),zbt(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function Vbt(e){e.registerComponentModel(Mbt),e.registerComponentView(Obt),L8(e)}var vi=function(){function e(){}return e}(),rX={};function _f(e,t){rX[e]=t}function nX(e){return rX[e]}var Hbt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var r=this.ecModel;G(this.option.feature,function(n,a){var i=nX(a);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(r)),Nt(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}(Qt);const Ubt=Hbt;function Gbt(e,t,r){var n=t.getBoxLayoutParams(),a=t.get("padding"),i={width:r.getWidth(),height:r.getHeight()},o=cn(n,i,a);Qc(t.get("orient"),e,t.get("itemGap"),o.width,o.height),cb(e,n,i,a)}function aX(e,t){var r=qp(t.get("padding")),n=t.getItemStyle(["color","opacity"]);return n.fill=t.get("backgroundColor"),e=new Xt({shape:{x:e.x-r[3],y:e.y-r[0],width:e.width+r[1]+r[3],height:e.height+r[0]+r[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1}),e}var Wbt=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(r,n,a,i){var o=this.group;if(o.removeAll(),!r.get("show"))return;var s=+r.get("itemSize"),l=r.get("orient")==="vertical",u=r.get("feature")||{},c=this._features||(this._features={}),d=[];G(u,function(h,v){d.push(v)}),new Hs(this._featureNames||[],d).add(f).update(f).remove(Rt(f,null)).execute(),this._featureNames=d;function f(h,v){var g=d[h],m=d[v],y=u[g],_=new br(y,r,r.ecModel),w;if(i&&i.newTitle!=null&&i.featureName===g&&(y.title=i.newTitle),g&&!m){if(Kbt(g))w={onclick:_.option.onclick,featureName:g};else{var E=nX(g);if(!E)return;w=new E}c[g]=w}else if(w=c[m],!w)return;w.uid=Yp("toolbox-feature"),w.model=_,w.ecModel=n,w.api=a;var S=w instanceof vi;if(!g&&m){S&&w.dispose&&w.dispose(n,a);return}if(!_.get("show")||S&&w.unusable){S&&w.remove&&w.remove(n,a);return}p(_,w,g),_.setIconStatus=function(C,T){var x=this.option,A=this.iconPaths;x.iconStatus=x.iconStatus||{},x.iconStatus[C]=T,A[C]&&(T==="emphasis"?zs:Vs)(A[C])},w instanceof vi&&w.render&&w.render(_,n,a,i)}function p(h,v,g){var m=h.getModel("iconStyle"),y=h.getModel(["emphasis","iconStyle"]),_=v instanceof vi&&v.getIcons?v.getIcons():h.get("icon"),w=h.get("title")||{},E,S;et(_)?(E={},E[g]=_):E=_,et(w)?(S={},S[g]=w):S=w;var C=h.iconPaths={};G(E,function(T,x){var A=km(T,{},{x:-s/2,y:-s/2,width:s,height:s});A.setStyle(m.getItemStyle());var k=A.ensureState("emphasis");k.style=y.getItemStyle();var R=new er({style:{text:S[x],align:y.get("textAlign"),borderRadius:y.get("textBorderRadius"),padding:y.get("textPadding"),fill:null},ignore:!0});A.setTextContent(R),Wp({el:A,componentModel:r,itemName:x,formatterParamsExtra:{title:S[x]}}),A.__title=S[x],A.on("mouseover",function(){var M=y.getItemStyle(),O=l?r.get("right")==null&&r.get("left")!=="right"?"right":"left":r.get("bottom")==null&&r.get("top")!=="bottom"?"bottom":"top";R.setStyle({fill:y.get("textFill")||M.fill||M.stroke||"#000",backgroundColor:y.get("textBackgroundColor")}),A.setTextConfig({position:y.get("textPosition")||O}),R.ignore=!r.get("showTitle"),a.enterEmphasis(this)}).on("mouseout",function(){h.get(["iconStatus",x])!=="emphasis"&&a.leaveEmphasis(this),R.hide()}),(h.get(["iconStatus",x])==="emphasis"?zs:Vs)(A),o.add(A),A.on("click",rt(v.onclick,v,n,a,x)),C[x]=A})}Gbt(o,r,a),o.add(aX(o.getBoundingRect(),r)),l||o.eachChild(function(h){var v=h.__title,g=h.ensureState("emphasis"),m=g.textConfig||(g.textConfig={}),y=h.getTextContent(),_=y&&y.ensureState("emphasis");if(_&&!ft(_)&&v){var w=_.style||(_.style={}),E=Em(v,er.makeFont(w)),S=h.x+o.x,C=h.y+o.y+s,T=!1;C+E.height>a.getHeight()&&(m.position="top",T=!0);var x=T?-5-E.height:s+10;S+E.width/2>a.getWidth()?(m.position=["100%",x],w.align="right"):S-E.width/2<0&&(m.position=[0,x],w.align="left")}})},t.prototype.updateView=function(r,n,a,i){G(this._features,function(o){o instanceof vi&&o.updateView&&o.updateView(o.model,n,a,i)})},t.prototype.remove=function(r,n){G(this._features,function(a){a instanceof vi&&a.remove&&a.remove(r,n)}),this.group.removeAll()},t.prototype.dispose=function(r,n){G(this._features,function(a){a instanceof vi&&a.dispose&&a.dispose(r,n)})},t.type="toolbox",t}($r);function Kbt(e){return e.indexOf("my")===0}const Ybt=Wbt;var qbt=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(r,n){var a=this.model,i=a.get("name")||r.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)||r.get("backgroundColor")||"#fff",connectedBackgroundColor:a.get("connectedBackgroundColor"),excludeComponents:a.get("excludeComponents"),pixelRatio:a.get("pixelRatio")}),u=Jt.browser;if(ft(MouseEvent)&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=i+"."+s,c.target="_blank",c.href=l;var d=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(d)}else if(window.navigator.msSaveOrOpenBlob||o){var f=l.split(","),p=f[0].indexOf("base64")>-1,h=o?decodeURIComponent(f[1]):f[1];p&&(h=window.atob(h));var v=i+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var g=h.length,m=new Uint8Array(g);g--;)m[g]=h.charCodeAt(g);var y=new Blob([m]);window.navigator.msSaveOrOpenBlob(y,v)}else{var _=document.createElement("iframe");document.body.appendChild(_);var w=_.contentWindow,E=w.document;E.open("image/svg+xml","replace"),E.write(h),E.close(),w.focus(),E.execCommand("SaveAs",!0,v),document.body.removeChild(_)}}else{var S=a.get("lang"),C='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(S&&S[0]||"")+'" /></body>',T=window.open();T.document.write(C),T.document.title=i}},t.getDefaultOption=function(r){var n={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:r.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:r.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return n},t}(vi);const jbt=qbt;var NP="__ec_magicType_stack__",Xbt=[["line","bar"],["stack"]],Zbt=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getIcons=function(){var r=this.model,n=r.get("icon"),a={};return G(r.get("type"),function(i){n[i]&&(a[i]=n[i])}),a},t.getDefaultOption=function(r){var n={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:r.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return n},t.prototype.onclick=function(r,n,a){var i=this.model,o=i.get(["seriesIndex",a]);if(PP[a]){var s={series:[]},l=function(d){var f=d.subType,p=d.id,h=PP[a](f,p,d,i);h&&(ht(h,d.option),s.series.push(h));var v=d.coordinateSystem;if(v&&v.type==="cartesian2d"&&(a==="line"||a==="bar")){var g=v.getAxesByScale("ordinal")[0];if(g){var m=g.dim,y=m+"Axis",_=d.getReferringComponents(y,en).models[0],w=_.componentIndex;s[y]=s[y]||[];for(var E=0;E<=w;E++)s[y][w]=s[y][w]||{};s[y][w].boundaryGap=a==="bar"}}};G(Xbt,function(d){Bt(d,a)>=0&&G(d,function(f){i.setIconStatus(f,"normal")})}),i.setIconStatus(a,"emphasis"),r.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},l);var u,c=a;a==="stack"&&(u=Nt({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}(vi),PP={line:function(e,t,r,n){if(e==="bar")return Nt({id:t,type:"line",data:r.get("data"),stack:r.get("stack"),markPoint:r.get("markPoint"),markLine:r.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(e,t,r,n){if(e==="line")return Nt({id:t,type:"bar",data:r.get("data"),stack:r.get("stack"),markPoint:r.get("markPoint"),markLine:r.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(e,t,r,n){var a=r.get("stack")===NP;if(e==="line"||e==="bar")return n.setIconStatus("stack",a?"normal":"emphasis"),Nt({id:t,stack:a?"":NP},n.get(["option","stack"])||{},!0)}};is({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});const Qbt=Zbt;var Ab=new Array(60).join("-"),Ip="	";function Jbt(e){var t={},r=[],n=[];return e.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 r.push(a)}else r.push(a)}),{seriesGroupByCategoryAxis:t,other:r,meta:n}}function ewt(e){var t=[];return G(e,function(r,n){var a=r.categoryAxis,i=r.valueAxis,o=i.dim,s=[" "].concat(Pe(r.series,function(p){return p.name})),l=[a.model.getCategories()];G(r.series,function(p){var h=p.getRawData();l.push(p.getRawData().mapArray(h.mapDimension(o),function(v){return v}))});for(var u=[s.join(Ip)],c=0;c<l[0].length;c++){for(var d=[],f=0;f<l.length;f++)d.push(l[f][c]);u.push(d.join(Ip))}t.push(u.join(`
`))}),t.join(`

`+Ab+`

`)}function twt(e){return Pe(e,function(t){var r=t.getRawData(),n=[t.name],a=[];return r.each(r.dimensions,function(){for(var i=arguments.length,o=arguments[i-1],s=r.getName(o),l=0;l<i-1;l++)a[l]=arguments[l];n.push((s?s+Ip:"")+a.join(Ip))}),n.join(`
`)}).join(`

`+Ab+`

`)}function rwt(e){var t=Jbt(e);return{value:ur([ewt(t.seriesGroupByCategoryAxis),twt(t.other)],function(r){return!!r.replace(/[\n\t\s]/g,"")}).join(`

`+Ab+`

`),meta:t.meta}}function U2(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function nwt(e){var t=e.slice(0,e.indexOf(`
`));if(t.indexOf(Ip)>=0)return!0}var tC=new RegExp("["+Ip+"]+","g");function awt(e){for(var t=e.split(/\n+/g),r=U2(t.shift()).split(tC),n=[],a=Pe(r,function(l){return{name:l,data:[]}}),i=0;i<t.length;i++){var o=U2(t[i]).split(tC);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 iwt(e){for(var t=e.split(/\n+/g),r=U2(t.shift()),n=[],a=0;a<t.length;a++){var i=U2(t[a]);if(i){var o=i.split(tC),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:r,data:n}}function owt(e,t){var r=e.split(new RegExp(`
*`+Ab+`
*`,"g")),n={series:[]};return G(r,function(a,i){if(nwt(a)){var o=awt(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=iwt(a);n.series.push(o)}}),n}var swt=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(r,n){setTimeout(function(){n.dispatchAction({type:"hideTip"})});var 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 d=i.get("optionToContent"),f=i.get("contentToOption"),p=rwt(r);if(ft(d)){var h=d(n.getOption());et(h)?u.innerHTML=h:Ag(h)&&u.appendChild(h)}else{c.readOnly=i.get("readOnly");var v=c.style;v.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",v.color=i.get("textColor"),v.borderColor=i.get("textareaBorderColor"),v.backgroundColor=i.get("textareaColor"),c.value=p.value,u.appendChild(c)}var g=p.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:5px;left:0;right:0";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",_=document.createElement("div"),w=document.createElement("div");y+=";background-color:"+i.get("buttonColor"),y+=";color:"+i.get("buttonTextColor");var E=this;function S(){a.removeChild(o),E._dom=null}PE(_,"click",S),PE(w,"click",function(){if(f==null&&d!=null||f!=null&&d==null){S();return}var C;try{ft(f)?C=f(u,n.getOption()):C=owt(c.value,g)}catch(T){throw S(),new Error("Data view format error "+T)}C&&n.dispatchAction({type:"changeDataView",newOption:C}),S()}),_.innerHTML=l[1],w.innerHTML=l[2],w.style.cssText=_.style.cssText=y,!i.get("readOnly")&&m.appendChild(w),m.appendChild(_),o.appendChild(s),o.appendChild(u),o.appendChild(m),u.style.height=a.clientHeight-80+"px",a.appendChild(o),this._dom=o},t.prototype.remove=function(r,n){this._dom&&n.getDom().removeChild(this._dom)},t.prototype.dispose=function(r,n){this.remove(r,n)},t.getDefaultOption=function(r){var n={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:r.getLocaleModel().get(["toolbox","dataView","title"]),lang:r.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return n},t}(vi);function lwt(e,t){return Pe(e,function(r,n){var a=t&&t[n];if(vt(a)&&!Ne(a)){var i=vt(r)&&!Ne(r);i||(r={value:r});var o=a.name!=null&&r.name==null;return r=ht(r,a),o&&delete r.name,r}else return r})}is({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(e,t){var r=[];G(e.newOption.series,function(n){var a=t.getSeriesByName(n.name)[0];if(!a)r.push(Me({type:"scatter"},n));else{var i=a.get("data");r.push({name:n.name,data:lwt(n.data,i)})}}),t.mergeOption(ht({series:r},e.newOption))});const uwt=swt;var iX=G,oX=Zt();function cwt(e,t){var r=D8(e);iX(t,function(n,a){for(var i=r.length-1;i>=0;i--){var o=r[i];if(o[a])break}if(i<0){var s=e.queryComponents({mainType:"dataZoom",subType:"select",id:a})[0];if(s){var l=s.getPercentRange();r[0][a]={dataZoomId:a,start:l[0],end:l[1]}}}}),r.push(t)}function dwt(e){var t=D8(e),r=t[t.length-1];t.length>1&&t.pop();var n={};return iX(r,function(a,i){for(var o=t.length-1;o>=0;o--)if(a=t[o][i],a){n[i]=a;break}}),n}function fwt(e){oX(e).snapshots=null}function pwt(e){return D8(e).length}function D8(e){var t=oX(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var hwt=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(r,n){fwt(r),n.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(r){var n={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:r.getLocaleModel().get(["toolbox","restore","title"])};return n},t}(vi);is({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});const vwt=hwt;var gwt=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],mwt=function(){function e(t,r,n){var a=this;this._targetInfoList=[];var i=$P(r,t);G(ywt,function(o,s){(!n||!n.include||Bt(n.include,s)>=0)&&o(i,a._targetInfoList)})}return e.prototype.setOutputRanges=function(t,r){return this.matchOutputRanges(t,r,function(n,a,i){if((n.coordRanges||(n.coordRanges=[])).push(a),!n.coordRange){n.coordRange=a;var o=A4[n.brushType](0,i,a);n.__rangeOffset={offset:VP[n.brushType](o.values,n.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},e.prototype.matchOutputRanges=function(t,r,n){G(t,function(a){var i=this.findTargetInfo(a,r);i&&i!==!0&&G(i.coordSyses,function(o){var s=A4[a.brushType](1,o,a.range,!0);n(a,s.values,o,r)})},this)},e.prototype.setInputRanges=function(t,r){G(t,function(n){var a=this.findTargetInfo(n,r);if(n.range=n.range||[],a&&a!==!0){n.panelId=a.panelId;var i=A4[n.brushType](0,a.coordSys,n.coordRange),o=n.__rangeOffset;n.range=o?VP[n.brushType](i.values,o.offset,_wt(i.xyMinMax,o.xyMinMax)):i.values}},this)},e.prototype.makePanelOpts=function(t,r){return Pe(this._targetInfoList,function(n){var a=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:r?r(n):null,clipPath:pj(a),isTargetByCursor:vj(a,t,n.coordSysModel),getLinearBrushOtherExtent:hj(a)}})},e.prototype.controlSeries=function(t,r,n){var a=this.findTargetInfo(t,n);return a===!0||a&&Bt(a.coordSyses,r.coordinateSystem)>=0},e.prototype.findTargetInfo=function(t,r){for(var n=this._targetInfoList,a=$P(r,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<BP.length;l++)if(BP[l](a,o))return o}return!0},e}();function rC(e){return e[0]>e[1]&&e.reverse(),e}function $P(e,t){return Iv(e,t,{includeMainTypes:gwt})}var ywt={grid:function(e,t){var r=e.xAxisModels,n=e.yAxisModels,a=e.gridModels,i=lt(),o={},s={};!r&&!n&&!a||(G(r,function(l){var u=l.axis.grid.model;i.set(u.id,u),o[u.id]=!0}),G(n,function(l){var u=l.axis.grid.model;i.set(u.id,u),s[u.id]=!0}),G(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=[];G(u.getCartesians(),function(d,f){(Bt(r,d.getAxis("x").model)>=0||Bt(n,d.getAxis("y").model)>=0)&&c.push(d)}),t.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:c[0],coordSyses:c,getPanelRect:FP.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(e,t){G(e.geoModels,function(r){var n=r.coordinateSystem;t.push({panelId:"geo--"+r.id,geoModel:r,coordSysModel:r,coordSys:n,coordSyses:[n],getPanelRect:FP.geo})})}},BP=[function(e,t){var r=e.xAxisModel,n=e.yAxisModel,a=e.gridModel;return!a&&r&&(a=r.axis.grid.model),!a&&n&&(a=n.axis.grid.model),a&&a===t.gridModel},function(e,t){var r=e.geoModel;return r&&r===t.geoModel}],FP={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Zc(e)),t}},A4={lineX:Rt(zP,0),lineY:Rt(zP,1),rect:function(e,t,r,n){var a=e?t.pointToData([r[0][0],r[1][0]],n):t.dataToPoint([r[0][0],r[1][0]],n),i=e?t.pointToData([r[0][1],r[1][1]],n):t.dataToPoint([r[0][1],r[1][1]],n),o=[rC([a[0],i[0]]),rC([a[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,r,n){var a=[[1/0,-1/0],[1/0,-1/0]],i=Pe(r,function(o){var s=e?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 zP(e,t,r,n){var a=r.getAxis(["x","y"][e]),i=rC(Pe([0,1],function(s){return t?a.coordToData(a.toLocalCoord(n[s]),!0):a.toGlobalCoord(a.dataToCoord(n[s]))})),o=[];return o[e]=i,o[1-e]=[NaN,NaN],{values:i,xyMinMax:o}}var VP={lineX:Rt(HP,0),lineY:Rt(HP,1),rect:function(e,t,r){return[[e[0][0]-r[0]*t[0][0],e[0][1]-r[0]*t[0][1]],[e[1][0]-r[1]*t[1][0],e[1][1]-r[1]*t[1][1]]]},polygon:function(e,t,r){return Pe(e,function(n,a){return[n[0]-r[0]*t[a][0],n[1]-r[1]*t[a][1]]})}};function HP(e,t,r,n){return[t[0]-n[e]*r[0],t[1]-n[e]*r[1]]}function _wt(e,t){var r=UP(e),n=UP(t),a=[r[0]/n[0],r[1]/n[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function UP(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}const O8=mwt;var nC=G,bwt=Uat("toolbox-dataZoom_"),wwt=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(r,n,a,i){this._brushController||(this._brushController=new h8(a.getZr()),this._brushController.on("brush",rt(this._onBrush,this)).mount()),Cwt(r,n,this,i,a),Ewt(r,n)},t.prototype.onclick=function(r,n,a){Swt[a].call(this)},t.prototype.remove=function(r,n){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(r,n){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(r){var n=r.areas;if(!r.isEnd||!n.length)return;var a={},i=this.ecModel;this._brushController.updateCovers([]);var o=new O8(N8(this.model),i,{include:["grid"]});o.matchOutputRanges(n,i,function(u,c,d){if(d.type==="cartesian2d"){var f=u.brushType;f==="rect"?(s("x",d,c[0]),s("y",d,c[1])):s({lineX:"x",lineY:"y"}[f],d,c)}}),cwt(i,a),this._dispatchZoomAction(a);function s(u,c,d){var f=c.getAxis(u),p=f.model,h=l(u,p,i),v=h.findRepresentativeAxisProxy(p).getMinMaxSpan();(v.minValueSpan!=null||v.maxValueSpan!=null)&&(d=Nd(0,d.slice(),f.scale.getExtent(),0,v.minValueSpan,v.maxValueSpan)),h&&(a[h.id]={dataZoomId:h.id,startValue:d[0],endValue:d[1]})}function l(u,c,d){var f;return d.eachComponent({mainType:"dataZoom",subType:"select"},function(p){var h=p.getAxisModel(u,c.componentIndex);h&&(f=p)}),f}},t.prototype._dispatchZoomAction=function(r){var n=[];nC(r,function(a,i){n.push(_t(a))}),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},t.getDefaultOption=function(r){var n={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:r.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return n},t}(vi),Swt={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(dwt(this.ecModel))}};function N8(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function Ewt(e,t){e.setIconStatus("back",pwt(t)>1?"emphasis":"normal")}function Cwt(e,t,r,n,a){var i=r._isZoomActive;n&&n.type==="takeGlobalCursor"&&(i=n.key==="dataZoomSelect"?n.dataZoomSelectActive:!1),r._isZoomActive=i,e.setIconStatus("zoom",i?"emphasis":"normal");var o=new O8(N8(e),t,{include:["grid"]}),s=o.makePanelOpts(a,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});r._brushController.setPanels(s).enableBrush(i&&s.length?{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()}:!1)}Cst("dataZoom",function(e){var t=e.getComponent("toolbox",0),r=["feature","dataZoom"];if(!t||t.get(r)==null)return;var n=t.getModel(r),a=[],i=N8(n),o=Iv(e,i);nC(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),nC(o.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,c){var d=l.componentIndex,f={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:bwt+u+d};f[c]=d,a.push(f)}return a});const Twt=wwt;function xwt(e){e.registerComponentModel(Ubt),e.registerComponentView(Ybt),_f("saveAsImage",jbt),_f("magicType",Qbt),_f("dataView",uwt),_f("dataZoom",Twt),_f("restore",vwt),Ft(Vbt)}var Awt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(Qt);const kwt=Awt;function sX(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function lX(e){if(Jt.domSupported){for(var t=document.documentElement.style,r=0,n=e.length;r<n;r++)if(e[r]in t)return e[r]}}var uX=lX(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Iwt=lX(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function cX(e,t){if(!e)return t;t=NW(t,!0);var r=e.indexOf(t);return e=r===-1?t:"-"+e.slice(0,r)+"-"+t,e.toLowerCase()}function Rwt(e,t){var r=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return r?t?r[t]:r:null}var Mwt=cX(Iwt,"transition"),P8=cX(uX,"transform"),Lwt="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Jt.transform3dSupported?"will-change:transform;":"");function Dwt(e){return e=e==="left"?"right":e==="right"?"left":e==="top"?"bottom":"top",e}function Owt(e,t,r){if(!et(r)||r==="inside")return"";var n=e.get("backgroundColor"),a=e.get("borderWidth");t=md(t);var i=Dwt(r),o=Math.max(Math.round(a)*1.5,6),s="",l=P8+":",u;Bt(["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,d=o+a,f=d*Math.abs(Math.cos(c))+d*Math.abs(Math.sin(c)),p=Math.round(((f-Math.SQRT2*a)/2+Math.SQRT2*a-(f-d)/2)*100)/100;s+=";"+i+":-"+p+"px";var h=t+" solid "+a+"px;",v=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+l+";","border-bottom:"+h,"border-right:"+h,"background-color:"+n+";"];return'<div style="'+v.join("")+'"></div>'}function Nwt(e,t){var r="cubic-bezier(0.23,1,0.32,1)",n=" "+e/2+"s "+r,a="opacity"+n+",visibility"+n;return t||(n=" "+e+"s "+r,a+=Jt.transformSupported?","+P8+n:",left"+n+",top"+n),Mwt+":"+a}function GP(e,t,r){var n=e.toFixed(0)+"px",a=t.toFixed(0)+"px";if(!Jt.transformSupported)return r?"top:"+a+";left:"+n+";":[["top",a],["left",n]];var i=Jt.transform3dSupported,o="translate"+(i?"3d":"")+"("+n+","+a+(i?",0":"")+")";return r?"top:0;left:0;"+P8+":"+o+";":[["top",0],["left",0],[uX,o]]}function Pwt(e){var t=[],r=e.get("fontSize"),n=e.getTextColor();n&&t.push("color:"+n),t.push("font:"+e.getFont()),r&&t.push("line-height:"+Math.round(r*3/2)+"px");var a=e.get("textShadowColor"),i=e.get("textShadowBlur")||0,o=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return a&&i&&t.push("text-shadow:"+o+"px "+s+"px "+i+"px "+a),G(["decoration","align"],function(l){var u=e.get(l);u&&t.push("text-"+l+":"+u)}),t.join(";")}function $wt(e,t,r){var n=[],a=e.get("transitionDuration"),i=e.get("backgroundColor"),o=e.get("shadowBlur"),s=e.get("shadowColor"),l=e.get("shadowOffsetX"),u=e.get("shadowOffsetY"),c=e.getModel("textStyle"),d=mK(e,"html"),f=l+"px "+u+"px "+o+"px "+s;return n.push("box-shadow:"+f),t&&a&&n.push(Nwt(a,r)),i&&n.push("background-color:"+i),G(["width","color","radius"],function(p){var h="border-"+p,v=NW(h),g=e.get(v);g!=null&&n.push(h+":"+g+(p==="color"?"":"px"))}),n.push(Pwt(c)),d!=null&&n.push("padding:"+qp(d).join("px ")+"px"),n.join(";")+";"}function WP(e,t,r,n,a){var i=t&&t.painter;if(r){var o=i&&i.getViewportRoot();o&&pnt(e,o,document.body,n,a)}else{e[0]=n,e[1]=a;var s=i&&i.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var Bwt=function(){function e(t,r,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Jt.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var i=this._zr=r.getZr(),o=this._appendToBody=n&&n.appendToBody;WP(this._styleCoord,i,o,r.getWidth()/2,r.getHeight()/2),o?document.body.appendChild(a):t.appendChild(a),this._container=t;var s=this;a.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},a.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=i.handler,c=i.painter.getViewportRoot();ui(c,l,!0),u.dispatch("mousemove",l)}},a.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return e.prototype.update=function(t){var r=this._container,n=Rwt(r,"position"),a=r.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")||""},e.prototype.show=function(t,r){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,a=n.style,i=this._styleCoord;n.innerHTML?a.cssText=Lwt+$wt(t,!this._firstShow,this._longHide)+GP(i[0],i[1],!0)+("border-color:"+md(r)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):a.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,r,n,a,i){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(et(i)&&n.get("trigger")==="item"&&!sX(n)&&(s=Owt(n,a,i)),et(t))o.innerHTML=t+s;else if(t){o.innerHTML="",Ne(t)||(t=[t]);for(var l=0;l<t.length;l++)Ag(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)}}},e.prototype.setEnterable=function(t){this._enterable=t},e.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},e.prototype.moveTo=function(t,r){var n=this._styleCoord;if(WP(n,this._zr,this._appendToBody,t,r),n[0]!=null&&n[1]!=null){var a=this.el.style,i=GP(n[0],n[1]);G(i,function(o){a[o[0]]=o[1]})}},e.prototype._moveIfResized=function(){var t=this._styleCoord[2],r=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),r*this._zr.getHeight())},e.prototype.hide=function(){var t=this,r=this.el.style;r.visibility="hidden",r.opacity="0",Jt.transform3dSupported&&(r.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},e.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(rt(this.hide,this),t)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},e}();const Fwt=Bwt;var zwt=function(){function e(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),YP(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return e.prototype.update=function(t){var r=t.get("alwaysShowContent");r&&this._moveIfResized(),this._alwaysShowContent=r},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(t,r,n,a,i){var o=this;vt(t)&&ar(""),this.el&&this._zr.remove(this.el);var s=n.getModel("textStyle");this.el=new er({style:{rich:r.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:a,textShadowColor:s.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:mK(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),G(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(u){o.el.style[u]=n.get(u)}),G(["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})},e.prototype.setEnterable=function(t){this._enterable=t},e.prototype.getSize=function(){var t=this.el,r=this.el.getBoundingRect(),n=KP(t.style);return[r.width+n.left+n.right,r.height+n.top+n.bottom]},e.prototype.moveTo=function(t,r){var n=this.el;if(n){var a=this._styleCoord;YP(a,this._zr,t,r),t=a[0],r=a[1];var i=n.style,o=bl(i.borderWidth||0),s=KP(i);n.x=t+o+s.left,n.y=r+o+s.top,n.markRedraw()}},e.prototype._moveIfResized=function(){var t=this._styleCoord[2],r=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),r*this._zr.getHeight())},e.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},e.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(rt(this.hide,this),t)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function bl(e){return Math.max(0,e)}function KP(e){var t=bl(e.shadowBlur||0),r=bl(e.shadowOffsetX||0),n=bl(e.shadowOffsetY||0);return{left:bl(t-r),right:bl(t+r),top:bl(t-n),bottom:bl(t+n)}}function YP(e,t,r,n){e[0]=r,e[1]=n,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}const Vwt=zwt;var Hwt=new Xt({shape:{x:-1,y:-1,width:2,height:2}}),Uwt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n){if(!(Jt.node||!n.getDom())){var a=r.getComponent("tooltip"),i=this._renderMode=Xat(a.get("renderMode"));this._tooltipContent=i==="richText"?new Vwt(n):new Fwt(n.getDom(),n,{appendToBody:a.get("appendToBody",!0)})}},t.prototype.render=function(r,n,a){if(!(Jt.node||!a.getDom())){this.group.removeAll(),this._tooltipModel=r,this._ecModel=n,this._api=a;var i=this._tooltipContent;i.update(r),i.setEnterable(r.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&r.get("transitionDuration")?Jp(this,"_updatePosition",50,"fixRate"):Vg(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var r=this._tooltipModel,n=r.get("triggerOn");Yj("itemTooltip",this._api,rt(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 r=this._tooltipModel,n=this._ecModel,a=this._api,i=r.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(r,n,a,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(r,n,a,i){if(!(i.from===this.uid||Jt.node||!a.getDom())){var o=qP(i,a);this._ticket="";var s=i.dataByCoordSys,l=Ywt(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=Hwt;c.x=i.x,c.y=i.y,c.update(),kt(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(r,n,a,i))return;var d=qj(i,n),f=d.point[0],p=d.point[1];f!=null&&p!=null&&this._tryShow({offsetX:f,offsetY:p,target:d.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(r,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(qP(i,a))},t.prototype._manuallyAxisShowTip=function(r,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(),d=$h([c.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(d.get("trigger")==="axis")return a.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:i.position}),!0}}},t.prototype._tryShow=function(r,n){var a=r.target,i=this._tooltipModel;if(i){this._lastX=r.offsetX,this._lastY=r.offsetY;var o=r.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,r);else if(a){this._lastDataByCoordSys=null;var s,l;Mc(a,function(u){if(kt(u).dataIndex!=null)return s=u,!0;if(kt(u).tooltipConfig!=null)return l=u,!0},!0),s?this._showSeriesItemTooltip(r,s,n):l?this._showComponentItemTooltip(r,l,n):this._hide(n)}else this._lastDataByCoordSys=null,this._hide(n)}},t.prototype._showOrMove=function(r,n){var a=r.get("showDelay");n=rt(n,this),clearTimeout(this._showTimout),a>0?this._showTimout=setTimeout(n,a):n()},t.prototype._showAxisTooltip=function(r,n){var a=this._ecModel,i=this._tooltipModel,o=[n.offsetX,n.offsetY],s=$h([n.tooltipOption],i),l=this._renderMode,u=[],c=gn("section",{blocks:[],noHeader:!0}),d=[],f=new fS;G(r,function(y){G(y.dataByAxis,function(_){var w=a.getComponent(_.axisDim+"Axis",_.axisIndex),E=_.value;if(!(!w||E==null)){var S=Gj(E,w.axis,a,_.seriesDataIndices,_.valueLabelOpt),C=gn("section",{header:S,noHeader:!eo(S),sortBlocks:!0,blocks:[]});c.blocks.push(C),G(_.seriesDataIndices,function(T){var x=a.getSeriesByIndex(T.seriesIndex),A=T.dataIndexInside,k=x.getDataParams(A);if(!(k.dataIndex<0)){k.axisDim=_.axisDim,k.axisIndex=_.axisIndex,k.axisType=_.axisType,k.axisId=_.axisId,k.axisValue=BA(w.axis,{value:E}),k.axisValueLabel=S,k.marker=f.makeTooltipMarker("item",md(k.color),l);var R=DD(x.formatTooltip(A,!0,null)),M=R.frag;if(M){var O=$h([x],i).get("valueFormatter");C.blocks.push(O?Me({valueFormatter:O},M):M)}R.text&&d.push(R.text),u.push(k)}})}})}),c.blocks.reverse(),d.reverse();var p=n.position,h=s.get("order"),v=FD(c,f,l,h,a.get("useUTC"),s.get("textStyle"));v&&d.unshift(v);var g=l==="richText"?`

`:"<br/>",m=d.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,u)?this._updatePosition(s,p,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,m,u,Math.random()+"",o[0],o[1],p,null,f)})},t.prototype._showSeriesItemTooltip=function(r,n,a){var i=this._ecModel,o=kt(n),s=o.seriesIndex,l=i.getSeriesByIndex(s),u=o.dataModel||l,c=o.dataIndex,d=o.dataType,f=u.getData(d),p=this._renderMode,h=r.positionDefault,v=$h([f.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,h?{position:h}:null),g=v.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(c,d),y=new fS;m.marker=y.makeTooltipMarker("item",md(m.color),p);var _=DD(u.formatTooltip(c,!1,d)),w=v.get("order"),E=v.get("valueFormatter"),S=_.frag,C=S?FD(E?Me({valueFormatter:E},S):S,y,p,w,i.get("useUTC"),v.get("textStyle")):_.text,T="item_"+u.name+"_"+c;this._showOrMove(v,function(){this._showTooltipContent(v,C,m,T,r.offsetX,r.offsetY,r.position,r.target,y)}),a({type:"showTip",dataIndexInside:c,dataIndex:f.getRawIndex(c),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(r,n,a){var i=kt(n),o=i.tooltipConfig,s=o.option||{};if(et(s)){var l=s;s={content:l,formatter:l}}var u=[s],c=this._ecModel.getComponent(i.componentMainType,i.componentIndex);c&&u.push(c),u.push({formatter:s.content});var d=r.positionDefault,f=$h(u,this._tooltipModel,d?{position:d}:null),p=f.get("content"),h=Math.random()+"",v=new fS;this._showOrMove(f,function(){var g=_t(f.get("formatterParams")||{});this._showTooltipContent(f,p,g,h,r.offsetX,r.offsetY,r.position,n,v)}),a({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(r,n,a,i,o,s,l,u,c){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var d=this._tooltipContent;d.setEnterable(r.get("enterable"));var f=r.get("formatter");l=l||r.get("position");var p=n,h=this._getNearestPoint([o,s],a,r.get("trigger"),r.get("borderColor")),v=h.color;if(f)if(et(f)){var g=r.ecModel.get("useUTC"),m=Ne(a)?a[0]:a,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;p=f,y&&(p=ib(m.axisValue,p,g)),p=PW(p,a,!0)}else if(ft(f)){var _=rt(function(w,E){w===this._ticket&&(d.setContent(E,c,r,v,l),this._updatePosition(r,l,o,s,d,a,u))},this);this._ticket=i,p=f(a,i,_)}else p=f;d.setContent(p,c,r,v,l),d.show(r,v),this._updatePosition(r,l,o,s,d,a,u)}},t.prototype._getNearestPoint=function(r,n,a,i){if(a==="axis"||Ne(n))return{color:i||(this._renderMode==="html"?"#fff":"none")};if(!Ne(n))return{color:i||n.color||n.borderColor}},t.prototype._updatePosition=function(r,n,a,i,o,s,l){var u=this._api.getWidth(),c=this._api.getHeight();n=n||r.get("position");var d=o.getSize(),f=r.get("align"),p=r.get("verticalAlign"),h=l&&l.getBoundingRect().clone();if(l&&h.applyTransform(l.transform),ft(n)&&(n=n([a,i],s,o.el,h,{viewSize:[u,c],contentSize:d.slice()})),Ne(n))a=Ze(n[0],u),i=Ze(n[1],c);else if(vt(n)){var v=n;v.width=d[0],v.height=d[1];var g=cn(v,{width:u,height:c});a=g.x,i=g.y,f=null,p=null}else if(et(n)&&l){var m=Kwt(n,h,d,r.get("borderWidth"));a=m[0],i=m[1]}else{var m=Gwt(a,i,o,u,c,f?null:20,p?null:20);a=m[0],i=m[1]}if(f&&(a-=jP(f)?d[0]/2:f==="right"?d[0]:0),p&&(i-=jP(p)?d[1]/2:p==="bottom"?d[1]:0),sX(r)){var m=Wwt(a,i,o,u,c);a=m[0],i=m[1]}o.moveTo(a,i)},t.prototype._updateContentNotChangedOnAxis=function(r,n){var a=this._lastDataByCoordSys,i=this._cbParamsList,o=!!a&&a.length===r.length;return o&&G(a,function(s,l){var u=s.dataByAxis||[],c=r[l]||{},d=c.dataByAxis||[];o=o&&u.length===d.length,o&&G(u,function(f,p){var h=d[p]||{},v=f.seriesDataIndices||[],g=h.seriesDataIndices||[];o=o&&f.value===h.value&&f.axisType===h.axisType&&f.axisId===h.axisId&&v.length===g.length,o&&G(v,function(m,y){var _=g[y];o=o&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),i&&G(f.seriesDataIndices,function(m){var y=m.seriesIndex,_=n[y],w=i[y];_&&w&&w.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=n,!!o},t.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},t.prototype.dispose=function(r,n){Jt.node||!n.getDom()||(Vg(this,"_updatePosition"),this._tooltipContent.dispose(),Q6("itemTooltip",n))},t.type="tooltip",t}($r);function $h(e,t,r){var n=t.ecModel,a;r?(a=new br(r,n,n),a=new br(t.option,a,n)):a=t;for(var i=e.length-1;i>=0;i--){var o=e[i];o&&(o instanceof br&&(o=o.get("tooltip",!0)),et(o)&&(o={formatter:o}),o&&(a=new br(o,a,n)))}return a}function qP(e,t){return e.dispatchAction||rt(t.dispatchAction,t)}function Gwt(e,t,r,n,a,i,o){var s=r.getSize(),l=s[0],u=s[1];return i!=null&&(e+l+i+2>n?e-=l+i:e+=i),o!=null&&(t+u+o>a?t-=u+o:t+=o),[e,t]}function Wwt(e,t,r,n,a){var i=r.getSize(),o=i[0],s=i[1];return e=Math.min(e+o,n)-o,t=Math.min(t+s,a)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function Kwt(e,t,r,n){var a=r[0],i=r[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=t.width,c=t.height;switch(e){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 jP(e){return e==="center"||e==="middle"}function Ywt(e,t,r){var n=Xx(e).queryOptionMap,a=n.keys()[0];if(!(!a||a==="series")){var i=Cm(t,a,n.get(a),{useDefault:!1,enableAll:!1,enableNone:!1}),o=i.models[0];if(o){var s=r.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var c=kt(u).tooltipConfig;if(c&&c.name===e.name)return l=u,!0}),l)return{componentMainType:a,componentIndex:o.componentIndex,el:l}}}}const qwt=Uwt;function jwt(e){Ft(Hm),e.registerComponentModel(kwt),e.registerComponentView(qwt),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},qr),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},qr)}var Xwt=["rect","polygon","keep","clear"];function Zwt(e,t){var r=fr(e?e.brush:[]);if(r.length){var n=[];G(r,function(l){var u=l.hasOwnProperty("toolbox")?l.toolbox:[];u instanceof Array&&(n=n.concat(u))});var a=e&&e.toolbox;Ne(a)&&(a=a[0]),a||(a={feature:{}},e.toolbox=[a]);var i=a.feature||(a.feature={}),o=i.brush||(i.brush={}),s=o.type||(o.type=[]);s.push.apply(s,n),Qwt(s),t&&!s.length&&s.push.apply(s,Xwt)}}function Qwt(e){var t={};G(e,function(r){t[r]=1}),e.length=0,G(t,function(r,n){e.push(n)})}var XP=G;function ZP(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function aC(e,t,r){var n={};return XP(t,function(i){var o=n[i]=a();XP(e[i],function(s,l){if(Dn.isValidType(l)){var u={type:l,visual:s};r&&r(u,i),o[l]=new Dn(u),l==="opacity"&&(u=_t(u),u.type="colorAlpha",o.__hidden.__alphaForOpacity=new Dn(u))}})}),n;function a(){var i=function(){};i.prototype.__hidden=i.prototype;var o=new i;return o}}function dX(e,t,r){var n;G(r,function(a){t.hasOwnProperty(a)&&ZP(t[a])&&(n=!0)}),n&&G(r,function(a){t.hasOwnProperty(a)&&ZP(t[a])?e[a]=_t(t[a]):delete e[a]})}function Jwt(e,t,r,n,a,i){var o={};G(e,function(d){var f=Dn.prepareVisualTypes(t[d]);o[d]=f});var s;function l(d){return AA(r,s,d)}function u(d,f){AK(r,s,d,f)}i==null?r.each(c):r.each([i],c);function c(d,f){s=i==null?d:f;var p=r.getRawDataItem(s);if(!(p&&p.visualMap===!1))for(var h=n.call(a,d),v=t[h],g=o[h],m=0,y=g.length;m<y;m++){var _=g[m];v[_]&&v[_].applyVisual(d,l,u)}}}function eSt(e,t,r,n){var a={};return G(e,function(i){var o=Dn.prepareVisualTypes(t[i]);a[i]=o}),{progress:function(o,s){var l;n!=null&&(l=s.getDimensionIndex(n));function u(E){return AA(s,d,E)}function c(E,S){AK(s,d,E,S)}for(var d,f=s.getStore();(d=o.next())!=null;){var p=s.getRawDataItem(d);if(!(p&&p.visualMap===!1))for(var h=n!=null?f.get(l,d):d,v=r(h),g=t[v],m=a[v],y=0,_=m.length;y<_;y++){var w=m[y];g[w]&&g[w].applyVisual(h,u,c)}}}}}function tSt(e){var t=e.brushType,r={point:function(n){return QP[t].point(n,r,e)},rect:function(n){return QP[t].rect(n,r,e)}};return r}var QP={lineX:JP(0),lineY:JP(1),rect:{point:function(e,t,r){return e&&r.boundingRect.contain(e[0],e[1])},rect:function(e,t,r){return e&&r.boundingRect.intersect(e)}},polygon:{point:function(e,t,r){return e&&r.boundingRect.contain(e[0],e[1])&&vc(r.range,e[0],e[1])},rect:function(e,t,r){var n=r.range;if(!e||n.length<=1)return!1;var a=e.x,i=e.y,o=e.width,s=e.height,l=n[0];if(vc(n,a,i)||vc(n,a+o,i)||vc(n,a,i+s)||vc(n,a+o,i+s)||Pt.create(e).contain(l[0],l[1])||Jh(a,i,a+o,i,n)||Jh(a,i,a,i+s,n)||Jh(a+o,i,a+o,i+s,n)||Jh(a,i+s,a+o,i+s,n))return!0}}};function JP(e){var t=["x","y"],r=["width","height"];return{point:function(n,a,i){if(n){var o=i.range,s=n[e];return Bh(s,o)}},rect:function(n,a,i){if(n){var o=i.range,s=[n[t[e]],n[t[e]]+n[r[e]]];return s[1]<s[0]&&s.reverse(),Bh(s[0],o)||Bh(s[1],o)||Bh(o[0],s)||Bh(o[1],s)}}}}function Bh(e,t){return t[0]<=e&&e<=t[1]}var e9=["inBrush","outOfBrush"],k4="__ecBrushSelect",iC="__ecInBrushSelectEvent";function fX(e){e.eachComponent({mainType:"brush"},function(t){var r=t.brushTargetManager=new O8(t.option,e);r.setInputRanges(t.areas,e)})}function rSt(e,t,r){var n=[],a,i;e.eachComponent({mainType:"brush"},function(o){r&&r.type==="takeGlobalCursor"&&o.setBrushOption(r.key==="brush"?r.brushOption:{brushType:!1})}),fX(e),e.eachComponent({mainType:"brush"},function(o,s){var l={brushId:o.id,brushIndex:s,brushName:o.name,areas:_t(o.areas),selected:[]};n.push(l);var u=o.option,c=u.brushLink,d=[],f=[],p=[],h=!1;s||(a=u.throttleType,i=u.throttleDelay);var v=Pe(o.areas,function(E){var S=oSt[E.brushType],C=ht({boundingRect:S?S(E):void 0},E);return C.selectors=tSt(C),C}),g=aC(o.option,e9,function(E){E.mappingMethod="fixed"});Ne(c)&&G(c,function(E){d[E]=1});function m(E){return c==="all"||!!d[E]}function y(E){return!!E.length}e.eachSeries(function(E,S){var C=p[S]=[];E.subType==="parallel"?_(E,S):w(E,S,C)});function _(E,S){var C=E.coordinateSystem;h=h||C.hasAxisBrushed(),m(S)&&C.eachActiveState(E.getData(),function(T,x){T==="active"&&(f[x]=1)})}function w(E,S,C){if(!(!E.brushSelector||iSt(o,S))&&(G(v,function(x){o.brushTargetManager.controlSeries(x,E,e)&&C.push(x),h=h||y(C)}),m(S)&&y(C))){var T=E.getData();T.each(function(x){t9(E,C,T,x)&&(f[x]=1)})}}e.eachSeries(function(E,S){var C={seriesId:E.id,seriesIndex:S,seriesName:E.name,dataIndex:[]};l.selected.push(C);var T=p[S],x=E.getData(),A=m(S)?function(k){return f[k]?(C.dataIndex.push(x.getRawIndex(k)),"inBrush"):"outOfBrush"}:function(k){return t9(E,T,x,k)?(C.dataIndex.push(x.getRawIndex(k)),"inBrush"):"outOfBrush"};(m(S)?h:y(T))&&Jwt(e9,g,x,A)})}),nSt(t,a,i,n,r)}function nSt(e,t,r,n,a){if(a){var i=e.getZr();if(!i[iC]){i[k4]||(i[k4]=aSt);var o=Jp(i,k4,r,t);o(e,n)}}}function aSt(e,t){if(!e.isDisposed()){var r=e.getZr();r[iC]=!0,e.dispatchAction({type:"brushSelect",batch:t}),r[iC]=!1}}function t9(e,t,r,n){for(var a=0,i=t.length;a<i;a++){var o=t[a];if(e.brushSelector(n,r,o.selectors,o))return!0}}function iSt(e,t){var r=e.option.seriesIndex;return r!=null&&r!=="all"&&(Ne(r)?Bt(r,t)<0:t!==r)}var oSt={rect:function(e){return r9(e.range)},polygon:function(e){for(var t,r=e.range,n=0,a=r.length;n<a;n++){t=t||[[1/0,-1/0],[1/0,-1/0]];var i=r[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&&r9(t)}};function r9(e){return new Pt(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var sSt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n){this.ecModel=r,this.api=n,this.model,(this._brushController=new h8(n.getZr())).on("brush",rt(this._onBrush,this)).mount()},t.prototype.render=function(r,n,a,i){this.model=r,this._updateController(r,n,a,i)},t.prototype.updateTransform=function(r,n,a,i){fX(n),this._updateController(r,n,a,i)},t.prototype.updateVisual=function(r,n,a,i){this.updateTransform(r,n,a,i)},t.prototype.updateView=function(r,n,a,i){this._updateController(r,n,a,i)},t.prototype._updateController=function(r,n,a,i){(!i||i.$from!==r.id)&&this._brushController.setPanels(r.brushTargetManager.makePanelOpts(a)).enableBrush(r.brushOption).updateCovers(r.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(r){var n=this.model.id,a=this.model.brushTargetManager.setOutputRanges(r.areas,this.ecModel);(!r.isEnd||r.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:_t(a),$from:n}),r.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:_t(a),$from:n})},t.type="brush",t}($r);const lSt=sSt;var uSt="#ddd",cSt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.areas=[],r.brushOption={},r}return t.prototype.optionUpdated=function(r,n){var a=this.option;!n&&dX(a,r,["inBrush","outOfBrush"]);var i=a.inBrush=a.inBrush||{};a.outOfBrush=a.outOfBrush||{color:uSt},i.hasOwnProperty("liftZ")||(i.liftZ=5)},t.prototype.setAreas=function(r){r&&(this.areas=Pe(r,function(n){return n9(this.option,n)},this))},t.prototype.setBrushOption=function(r){this.brushOption=n9(this.option,r),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t}(Qt);function n9(e,t){return Nt({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new br(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}const dSt=cSt;var fSt=["rect","polygon","lineX","lineY","keep","clear"],pSt=function(e){ye(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(r,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,G(r.get("type",!0),function(l){r.setIconStatus(l,(l==="keep"?o==="multiple":l==="clear"?s:l===i)?"emphasis":"normal")})},t.prototype.updateView=function(r,n,a){this.render(r,n,a)},t.prototype.getIcons=function(){var r=this.model,n=r.get("icon",!0),a={};return G(r.get("type",!0),function(i){n[i]&&(a[i]=n[i])}),a},t.prototype.onclick=function(r,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(r){var n={show:!0,type:fSt.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:r.getLocaleModel().get(["toolbox","brush","title"])};return n},t}(vi);const hSt=pSt;function vSt(e){e.registerComponentView(lSt),e.registerComponentModel(dSt),e.registerPreprocessor(Zwt),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,rSt),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,r){r.eachComponent({mainType:"brush",query:t},function(n){n.setAreas(t.areas)})}),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},qr),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},qr),_f("brush",hSt)}var gSt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}return t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(Qt),mSt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,a){if(this.group.removeAll(),!!r.get("show")){var i=this.group,o=r.getModel("textStyle"),s=r.getModel("subtextStyle"),l=r.get("textAlign"),u=Dt(r.get("textBaseline"),r.get("textVerticalAlign")),c=new er({style:_r(o,{text:r.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),d=c.getBoundingRect(),f=r.get("subtext"),p=new er({style:_r(s,{text:f,fill:s.getTextColor(),y:d.height+r.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),h=r.get("link"),v=r.get("sublink"),g=r.get("triggerEvent",!0);c.silent=!h&&!g,p.silent=!v&&!g,h&&c.on("click",function(){y2(h,"_"+r.get("target"))}),v&&p.on("click",function(){y2(v,"_"+r.get("subtarget"))}),kt(c).eventData=kt(p).eventData=g?{componentType:"title",componentIndex:r.componentIndex}:null,i.add(c),f&&i.add(p);var m=i.getBoundingRect(),y=r.getBoxLayoutParams();y.width=m.width,y.height=m.height;var _=cn(y,{width:a.getWidth(),height:a.getHeight()},r.get("padding"));l||(l=r.get("left")||r.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),u||(u=r.get("top")||r.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),i.x=_.x,i.y=_.y,i.markRedraw();var w={align:l,verticalAlign:u};c.setStyle(w),p.setStyle(w),m=i.getBoundingRect();var E=_.margin,S=r.getItemStyle(["color","opacity"]);S.fill=r.get("backgroundColor");var C=new Xt({shape:{x:m.x-E[3],y:m.y-E[0],width:m.width+E[1]+E[3],height:m.height+E[0]+E[2],r:r.get("borderRadius")},style:S,subPixelOptimize:!0,silent:!0});i.add(C)}},t.type="title",t}($r);function ySt(e){e.registerComponentModel(gSt),e.registerComponentView(mSt)}var _St=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode="box",r}return t.prototype.init=function(r,n,a){this.mergeDefaultAndTheme(r,a),this._initData()},t.prototype.mergeOption=function(r){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(r){r==null&&(r=this.option.currentIndex);var n=this._data.count();this.option.loop?r=(r%n+n)%n:(r>=n&&(r=n-1),r<0&&(r=0)),this.option.currentIndex=r},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(r){this.option.autoPlay=!!r},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var r=this.option,n=r.data||[],a=r.axisType,i=this._names=[],o;a==="category"?(o=[],G(n,function(u,c){var d=ln(Hp(u),""),f;vt(u)?(f=_t(u),f.value=c):f=c,o.push(f),i.push(d)})):o=n;var s={category:"ordinal",time:"time",value:"number"}[a]||"number",l=this._data=new oa([{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}(Qt);const a9=_St;var pX=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="timeline.slider",t.defaultOption=Su(a9.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}(a9);on(pX,SA.prototype);const bSt=pX;var wSt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="timeline",t}($r);const SSt=wSt;var ESt=function(e){ye(t,e);function t(r,n,a,i){var o=e.call(this,r,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}(mo);const CSt=ESt;var I4=Math.PI,i9=Zt(),TSt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n){this.api=n},t.prototype.render=function(r,n,a){if(this.model=r,this.api=a,this.ecModel=n,this.group.removeAll(),r.get("show",!0)){var i=this._layout(r,a),o=this._createGroup("_mainGroup"),s=this._createGroup("_labelGroup"),l=this._axis=this._createAxis(i,r);r.formatTooltip=function(u){var c=l.scale.getLabel({value:u});return gn("nameValue",{noName:!0,value:c})},G(["AxisLine","AxisTick","Control","CurrentPointer"],function(u){this["_render"+u](i,o,l,r)},this),this._renderAxisLabel(i,s,l,r),this._position(i,r)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(r,n){var a=r.get(["label","position"]),i=r.get("orient"),o=ASt(r,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?"+":"-":et(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:I4/2},d=i==="vertical"?o.height:o.width,f=r.getModel("controlStyle"),p=f.get("show",!0),h=p?f.get("itemSize"):0,v=p?f.get("itemGap"):0,g=h+v,m=r.get(["label","rotate"])||0;m=m*I4/180;var y,_,w,E=f.get("position",!0),S=p&&f.get("showPlayBtn",!0),C=p&&f.get("showPrevBtn",!0),T=p&&f.get("showNextBtn",!0),x=0,A=d;E==="left"||E==="bottom"?(S&&(y=[0,0],x+=g),C&&(_=[x,0],x+=g),T&&(w=[A-h,0],A-=g)):(S&&(y=[A-h,0],A-=g),C&&(_=[0,0],x+=g),T&&(w=[A-h,0],A-=g));var k=[x,A];return r.get("inverse")&&k.reverse(),{viewRect:o,mainLength:d,orient:i,rotation:c[i],labelRotation:m,labelPosOpt:s,labelAlign:r.get(["label","align"])||l[i],labelBaseline:r.get(["label","verticalAlign"])||r.get(["label","baseline"])||u[i],playPosition:y,prevBtnPosition:_,nextBtnPosition:w,axisExtent:k,controlSize:h,controlGap:v}},t.prototype._position=function(r,n){var a=this._mainGroup,i=this._labelGroup,o=r.viewRect;if(r.orient==="vertical"){var s=Ni(),l=o.x,u=o.y+o.height;Zo(s,s,[-l,-u]),Id(s,s,-I4/2),Zo(s,s,[l,u]),o=o.clone(),o.applyTransform(s)}var c=y(o),d=y(a.getBoundingRect()),f=y(i.getBoundingRect()),p=[a.x,a.y],h=[i.x,i.y];h[0]=p[0]=c[0][0];var v=r.labelPosOpt;if(v==null||et(v)){var g=v==="+"?0:1;_(p,d,c,1,g),_(h,f,c,1,1-g)}else{var g=v>=0?0:1;_(p,d,c,1,g),h[1]=p[1]+v}a.setPosition(p),i.setPosition(h),a.rotation=i.rotation=r.rotation,m(a),m(i);function m(w){w.originX=c[0][0]-w.x,w.originY=c[1][0]-w.y}function y(w){return[[w.x,w.x+w.width],[w.y,w.y+w.height]]}function _(w,E,S,C,T){w[C]+=S[C][T]-E[C][T]}},t.prototype._createAxis=function(r,n){var a=n.getData(),i=n.get("axisType"),o=xSt(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 CSt("value",o,r.axisExtent,i);return l.model=n,l},t.prototype._createGroup=function(r){var n=this[r]=new wt;return this.group.add(n),n},t.prototype._renderAxisLine=function(r,n,a,i){var o=a.getExtent();if(i.get(["lineStyle","show"])){var s=new Sn({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:Me({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});n.add(s);var l=this._progressLine=new Sn({shape:{x1:o[0],x2:this._currentPointer?this._currentPointer.x:o[0],y1:0,y2:0},style:ht({lineCap:"round",lineWidth:s.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});n.add(l)}},t.prototype._renderAxisTick=function(r,n,a,i){var o=this,s=i.getData(),l=a.scale.getTicks();this._tickSymbols=[],G(l,function(u){var c=a.dataToCoord(u.value),d=s.getItemModel(u.value),f=d.getModel("itemStyle"),p=d.getModel(["emphasis","itemStyle"]),h=d.getModel(["progress","itemStyle"]),v={x:c,y:0,onclick:rt(o._changeTimeline,o,u.value)},g=o9(d,f,n,v);g.ensureState("emphasis").style=p.getItemStyle(),g.ensureState("progress").style=h.getItemStyle(),Xc(g);var m=kt(g);d.get("tooltip")?(m.dataIndex=u.value,m.dataModel=i):m.dataIndex=m.dataModel=null,o._tickSymbols.push(g)})},t.prototype._renderAxisLabel=function(r,n,a,i){var o=this,s=a.getLabelModel();if(s.get("show")){var l=i.getData(),u=a.getViewLabels();this._tickLabels=[],G(u,function(c){var d=c.tickValue,f=l.getItemModel(d),p=f.getModel("label"),h=f.getModel(["emphasis","label"]),v=f.getModel(["progress","label"]),g=a.dataToCoord(c.tickValue),m=new er({x:g,y:0,rotation:r.labelRotation-r.rotation,onclick:rt(o._changeTimeline,o,d),silent:!1,style:_r(p,{text:c.formattedLabel,align:r.labelAlign,verticalAlign:r.labelBaseline})});m.ensureState("emphasis").style=_r(h),m.ensureState("progress").style=_r(v),n.add(m),Xc(m),i9(m).dataIndex=d,o._tickLabels.push(m)})}},t.prototype._renderControl=function(r,n,a,i){var o=r.controlSize,s=r.rotation,l=i.getModel("controlStyle").getItemStyle(),u=i.getModel(["emphasis","controlStyle"]).getItemStyle(),c=i.getPlayState(),d=i.get("inverse",!0);f(r.nextBtnPosition,"next",rt(this._changeTimeline,this,d?"-":"+")),f(r.prevBtnPosition,"prev",rt(this._changeTimeline,this,d?"+":"-")),f(r.playPosition,c?"stop":"play",rt(this._handlePlayClick,this,!c),!0);function f(p,h,v,g){if(p){var m=uo(Dt(i.get(["controlStyle",h+"BtnSize"]),o),o),y=[0,-m/2,m,m],_=kSt(i,h+"Icon",y,{x:p[0],y:p[1],originX:o/2,originY:0,rotation:g?-s:0,rectHover:!0,style:l,onclick:v});_.ensureState("emphasis").style=u,n.add(_),Xc(_)}}},t.prototype._renderCurrentPointer=function(r,n,a,i){var o=i.getData(),s=i.getCurrentIndex(),l=o.getItemModel(s).getModel("checkpointStyle"),u=this,c={onCreate:function(d){d.draggable=!0,d.drift=rt(u._handlePointerDrag,u),d.ondragend=rt(u._handlePointerDragend,u),s9(d,u._progressLine,s,a,i,!0)},onUpdate:function(d){s9(d,u._progressLine,s,a,i)}};this._currentPointer=o9(l,l,this._mainGroup,{},this._currentPointer,c)},t.prototype._handlePlayClick=function(r){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:r,from:this.uid})},t.prototype._handlePointerDrag=function(r,n,a){this._clearTimer(),this._pointerChangeTimeline([a.offsetX,a.offsetY])},t.prototype._handlePointerDragend=function(r){this._pointerChangeTimeline([r.offsetX,r.offsetY],!0)},t.prototype._pointerChangeTimeline=function(r,n){var a=this._toAxisCoord(r)[0],i=this._axis,o=Si(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 r=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(function(){var n=r.model;r._changeTimeline(n.getCurrentIndex()+(n.get("rewind",!0)?-1:1))},this.model.get("playInterval")))},t.prototype._toAxisCoord=function(r){var n=this._mainGroup.getLocalTransform();return oo(r,n,!0)},t.prototype._findNearestTick=function(r){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-r);c<a&&(a=c,i=l)}),i},t.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},t.prototype._changeTimeline=function(r){var n=this.model.getCurrentIndex();r==="+"?r=n+1:r==="-"&&(r=n-1),this.api.dispatchAction({type:"timelineChange",currentIndex:r,from:this.uid})},t.prototype._updateTicksStatus=function(){var r=this.model.getCurrentIndex(),n=this._tickSymbols,a=this._tickLabels;if(n)for(var i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",i<r);if(a)for(var i=0;i<a.length;i++)a&&a[i]&&a[i].toggleState("progress",i9(a[i]).dataIndex<=r)},t.type="timeline.slider",t}(SSt);function xSt(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new OA({ordinalMeta:e.getCategories(),extent:[1/0,-1/0]});case"time":return new gY({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new du}}function ASt(e,t){return cn(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function kSt(e,t,r,n){var a=n.style,i=km(e.get(["controlStyle",t]),n||{},new Pt(r[0],r[1],r[2],r[3]));return a&&i.setStyle(a),i}function o9(e,t,r,n,a,i){var o=t.get("color");if(a)a.setColor(o),r.add(a),i&&i.onUpdate(a);else{var s=e.get("symbol");a=an(s,-1,-1,2,2,o),a.setStyle("strokeNoScale",!0),r.add(a),i&&i.onCreate(a)}var l=t.getItemStyle(["color"]);a.setStyle(l),n=Nt({rectHover:!0,z2:100},n,!0);var u=eh(e.get("symbolSize"));n.scaleX=u[0]/2,n.scaleY=u[1]/2;var c=Md(e.get("symbolOffset"),u);c&&(n.x=(n.x||0)+c[0],n.y=(n.y||0)+c[1]);var d=e.get("symbolRotate");return n.rotation=(d||0)*Math.PI/180||0,a.attr(n),a.updateTransform(),a}function s9(e,t,r,n,a,i){if(!e.dragging){var o=a.getModel("checkpointStyle"),s=n.dataToCoord(a.getData().get("value",r));if(i||!o.get("animation",!0))e.attr({x:s,y:0}),t&&t.attr({shape:{x2:s}});else{var l={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};e.stopAnimation(null,!0),e.animateTo({x:s,y:0},l),t&&t.animateTo({shape:{x2:s}},l)}}}const ISt=TSt;function RSt(e){e.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,r,n){var a=r.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}))),r.resetOption("timeline",{replaceMerge:a.get("replaceMerge",!0)}),ht({currentIndex:a.option.currentIndex},t)}),e.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,r){var n=r.getComponent("timeline");n&&t.playState!=null&&n.setPlayState(t.playState)})}function MSt(e){var t=e&&e.timeline;Ne(t)||(t=t?[t]:[]),G(t,function(r){r&&LSt(r)})}function LSt(e){var t=e.type,r={number:"value",time:"time"};if(r[t]&&(e.axisType=r[t],delete e.type),l9(e),yc(e,"controlPosition")){var n=e.controlStyle||(e.controlStyle={});yc(n,"position")||(n.position=e.controlPosition),n.position==="none"&&!yc(n,"show")&&(n.show=!1,delete n.position),delete e.controlPosition}G(e.data||[],function(a){vt(a)&&!Ne(a)&&(!yc(a,"value")&&yc(a,"name")&&(a.value=a.name),l9(a))})}function l9(e){var t=e.itemStyle||(e.itemStyle={}),r=t.emphasis||(t.emphasis={}),n=e.label||e.label||{},a=n.normal||(n.normal={}),i={normal:1,emphasis:1};G(n,function(o,s){!i[s]&&!yc(a,s)&&(a[s]=o)}),r.label&&!yc(n,"emphasis")&&(n.emphasis=r.label,delete r.label)}function yc(e,t){return e.hasOwnProperty(t)}function DSt(e){e.registerComponentModel(bSt),e.registerComponentView(ISt),e.registerSubTypeDefaulter("timeline",function(){return"slider"}),RSt(e),e.registerPreprocessor(MSt)}function $8(e,t){if(!e)return!1;for(var r=Ne(e)?e:[e],n=0;n<r.length;n++)if(r[n]&&r[n][t])return!0;return!1}function fy(e){pd(e,"label",["show"])}var py=Zt(),hX=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.createdBySelf=!1,r}return t.prototype.init=function(r,n,a){this.mergeDefaultAndTheme(r,a),this._mergeOption(r,a,!1,!0)},t.prototype.isAnimationEnabled=function(){if(Jt.node)return!1;var r=this.__hostSeries;return this.getShallow("animation")&&r&&r.isAnimationEnabled()},t.prototype.mergeOption=function(r,n){this._mergeOption(r,n,!1,!1)},t.prototype._mergeOption=function(r,n,a,i){var o=this.mainType;a||n.eachSeries(function(s){var l=s.get(this.mainType,!0),u=py(s)[o];if(!l||!l.data){py(s)[o]=null;return}u?u._mergeOption(l,n,!0):(i&&fy(l),G(l.data,function(c){c instanceof Array?(fy(c[0]),fy(c[1])):fy(c)}),u=this.createMarkerModelFromSeries(l,this,n),Me(u,{mainType:this.mainType,seriesIndex:s.seriesIndex,name:s.name,createdBySelf:!0}),u.__hostSeries=s),py(s)[o]=u},this)},t.prototype.formatTooltip=function(r,n,a){var i=this.getData(),o=this.getRawValue(r),s=i.getName(r);return gn("section",{header:this.name,blocks:[gn("nameValue",{name:s,value:o,noName:!s,noValue:o==null})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(r){this._data=r},t.getMarkerModelFromSeries=function(r,n){return py(r)[n]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(Qt);on(hX,SA.prototype);const hu=hX;var OSt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.createMarkerModelFromSeries=function(r,n,a){return new t(r,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}(hu);const NSt=OSt;function oC(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function PSt(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function hy(e,t,r,n,a,i){var o=[],s=cu(t,n),l=s?t.getCalculationInfo("stackResultDimension"):n,u=B8(t,l,e),c=t.indicesOfNearest(l,u)[0];o[a]=t.get(r,c),o[i]=t.get(l,c);var d=t.get(n,c),f=Po(t.get(n,c));return f=Math.min(f,20),f>=0&&(o[i]=+o[i].toFixed(f)),[o,d]}var R4={min:Rt(hy,"min"),max:Rt(hy,"max"),average:Rt(hy,"average"),median:Rt(hy,"median")};function em(e,t){if(t){var r=e.getData(),n=e.coordinateSystem,a=n&&n.dimensions;if(!PSt(t)&&!Ne(t.coord)&&Ne(a)){var i=vX(t,r,n,e);if(t=_t(t),t.type&&R4[t.type]&&i.baseAxis&&i.valueAxis){var o=Bt(a,i.baseAxis.dim),s=Bt(a,i.valueAxis.dim),l=R4[t.type](r,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||!Ne(a))t.coord=[];else for(var u=t.coord,c=0;c<2;c++)R4[u[c]]&&(u[c]=B8(r,r.mapDimension(a[c]),u[c]));return t}}function vX(e,t,r,n){var a={};return e.valueIndex!=null||e.valueDim!=null?(a.valueDataDim=e.valueIndex!=null?t.getDimension(e.valueIndex):e.valueDim,a.valueAxis=r.getAxis($St(n,a.valueDataDim)),a.baseAxis=r.getOtherAxis(a.valueAxis),a.baseDataDim=t.mapDimension(a.baseAxis.dim)):(a.baseAxis=n.getBaseAxis(),a.valueAxis=r.getOtherAxis(a.baseAxis),a.baseDataDim=t.mapDimension(a.baseAxis.dim),a.valueDataDim=t.mapDimension(a.valueAxis.dim)),a}function $St(e,t){var r=e.getData().getDimensionInfo(t);return r&&r.coordDim}function tm(e,t){return e&&e.containData&&t.coord&&!oC(t)?e.containData(t.coord):!0}function BSt(e,t,r){return e&&e.containZone&&t.coord&&r.coord&&!oC(t)&&!oC(r)?e.containZone(t.coord,r.coord):!0}function gX(e,t){return e?function(r,n,a,i){var o=i<2?r.coord&&r.coord[i]:r.value;return jl(o,t[i])}:function(r,n,a,i){return jl(r.value,t[i])}}function B8(e,t,r){if(r==="average"){var n=0,a=0;return e.each(t,function(i,o){isNaN(i)||(n+=i,a++)}),n/a}else return r==="median"?e.getMedian(t):e.getDataExtent(t)[r==="max"?1:0]}var M4=Zt(),FSt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(){this.markerGroupMap=lt()},t.prototype.render=function(r,n,a){var i=this,o=this.markerGroupMap;o.each(function(s){M4(s).keep=!1}),n.eachSeries(function(s){var l=hu.getMarkerModelFromSeries(s,i.type);l&&i.renderSeries(s,l,n,a)}),o.each(function(s){!M4(s).keep&&i.group.remove(s.group)})},t.prototype.markKeep=function(r){M4(r).keep=!0},t.prototype.toggleBlurSeries=function(r,n){var a=this;G(r,function(i){var o=hu.getMarkerModelFromSeries(i,a.type);if(o){var s=o.getData();s.eachItemGraphicEl(function(l){l&&(n?UG(l):rA(l))})}})},t.type="marker",t}($r);const F8=FSt;function u9(e,t,r){var n=t.coordinateSystem;e.each(function(a){var i=e.getItemModel(a),o,s=Ze(i.get("x"),r.getWidth()),l=Ze(i.get("y"),r.getHeight());if(!isNaN(s)&&!isNaN(l))o=[s,l];else if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,a));else if(n){var u=e.get(n.dimensions[0],a),c=e.get(n.dimensions[1],a);o=n.dataToPoint([u,c])}isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),e.setItemLayout(a,o)})}var zSt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.updateTransform=function(r,n,a){n.eachSeries(function(i){var o=hu.getMarkerModelFromSeries(i,"markPoint");o&&(u9(o.getData(),i,a),this.markerGroupMap.get(i.id).updateLayout())},this)},t.prototype.renderSeries=function(r,n,a,i){var o=r.coordinateSystem,s=r.id,l=r.getData(),u=this.markerGroupMap,c=u.get(s)||u.set(s,new Pm),d=VSt(o,r,n);n.setData(d),u9(n.getData(),r,i),d.each(function(f){var p=d.getItemModel(f),h=p.getShallow("symbol"),v=p.getShallow("symbolSize"),g=p.getShallow("symbolRotate"),m=p.getShallow("symbolOffset"),y=p.getShallow("symbolKeepAspect");if(ft(h)||ft(v)||ft(g)||ft(m)){var _=n.getRawValue(f),w=n.getDataParams(f);ft(h)&&(h=h(_,w)),ft(v)&&(v=v(_,w)),ft(g)&&(g=g(_,w)),ft(m)&&(m=m(_,w))}var E=p.getModel("itemStyle").getItemStyle(),S=Mm(l,"color");E.fill||(E.fill=S),d.setItemVisual(f,{symbol:h,symbolSize:v,symbolRotate:g,symbolOffset:m,symbolKeepAspect:y,style:E})}),c.updateData(d),this.group.add(c.group),d.eachItemGraphicEl(function(f){f.traverse(function(p){kt(p).dataModel=n})}),this.markKeep(c),c.group.silent=n.get("silent")||r.get("silent")},t.type="markPoint",t}(F8);function VSt(e,t,r){var n;e?n=Pe(e&&e.dimensions,function(s){var l=t.getData().getDimensionInfo(t.getData().mapDimension(s))||{};return Me(Me({},l),{name:s,ordinalMeta:null})}):n=[{name:"value",type:"float"}];var a=new oa(n,r),i=Pe(r.get("data"),Rt(em,t));e&&(i=ur(i,Rt(tm,e)));var o=gX(!!e,n);return a.initData(i,null,o),a}const HSt=zSt;function USt(e){e.registerComponentModel(NSt),e.registerComponentView(HSt),e.registerPreprocessor(function(t){$8(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}var GSt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.createMarkerModelFromSeries=function(r,n,a){return new t(r,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}(hu);const WSt=GSt;var vy=Zt(),KSt=function(e,t,r,n){var a=e.getData(),i;if(Ne(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=wn(n.yAxis,n.xAxis);else{var u=vX(n,a,t,e);s=u.valueAxis;var c=rY(a,u.valueDataDim);l=B8(a,c,o)}var d=s.dim==="x"?0:1,f=1-d,p=_t(n),h={coord:[]};p.type=null,p.coord=[],p.coord[f]=-1/0,h.coord[f]=1/0;var v=r.get("precision");v>=0&&tr(l)&&(l=+l.toFixed(Math.min(v,20))),p.coord[d]=h.coord[d]=l,i=[p,h,{type:o,valueIndex:n.valueIndex,value:l}]}else i=[]}var g=[em(e,i[0]),em(e,i[1]),Me({},i[2])];return g[2].type=g[2].type||null,Nt(g[2],g[0]),Nt(g[2],g[1]),g};function G2(e){return!isNaN(e)&&!isFinite(e)}function c9(e,t,r,n){var a=1-e,i=n.dimensions[e];return G2(t[a])&&G2(r[a])&&t[e]===r[e]&&n.getAxis(i).containData(t[e])}function YSt(e,t){if(e.type==="cartesian2d"){var r=t[0].coord,n=t[1].coord;if(r&&n&&(c9(1,r,n,e)||c9(0,r,n,e)))return!0}return tm(e,t[0])&&tm(e,t[1])}function L4(e,t,r,n,a){var i=n.coordinateSystem,o=e.getItemModel(t),s,l=Ze(o.get("x"),a.getWidth()),u=Ze(o.get("y"),a.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(n.getMarkerPosition)s=n.getMarkerPosition(e.getValues(e.dimensions,t));else{var c=i.dimensions,d=e.get(c[0],t),f=e.get(c[1],t);s=i.dataToPoint([d,f])}if(Dd(i,"cartesian2d")){var p=i.getAxis("x"),h=i.getAxis("y"),c=i.dimensions;G2(e.get(c[0],t))?s[0]=p.toGlobalCoord(p.getExtent()[r?0:1]):G2(e.get(c[1],t))&&(s[1]=h.toGlobalCoord(h.getExtent()[r?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}e.setItemLayout(t,s)}var qSt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.updateTransform=function(r,n,a){n.eachSeries(function(i){var o=hu.getMarkerModelFromSeries(i,"markLine");if(o){var s=o.getData(),l=vy(o).from,u=vy(o).to;l.each(function(c){L4(l,c,!0,i,a),L4(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(r,n,a,i){var o=r.coordinateSystem,s=r.id,l=r.getData(),u=this.markerGroupMap,c=u.get(s)||u.set(s,new l8);this.group.add(c.group);var d=jSt(o,r,n),f=d.from,p=d.to,h=d.line;vy(n).from=f,vy(n).to=p,n.setData(h);var v=n.get("symbol"),g=n.get("symbolSize"),m=n.get("symbolRotate"),y=n.get("symbolOffset");Ne(v)||(v=[v,v]),Ne(g)||(g=[g,g]),Ne(m)||(m=[m,m]),Ne(y)||(y=[y,y]),d.from.each(function(w){_(f,w,!0),_(p,w,!1)}),h.each(function(w){var E=h.getItemModel(w).getModel("lineStyle").getLineStyle();h.setItemLayout(w,[f.getItemLayout(w),p.getItemLayout(w)]),E.stroke==null&&(E.stroke=f.getItemVisual(w,"style").fill),h.setItemVisual(w,{fromSymbolKeepAspect:f.getItemVisual(w,"symbolKeepAspect"),fromSymbolOffset:f.getItemVisual(w,"symbolOffset"),fromSymbolRotate:f.getItemVisual(w,"symbolRotate"),fromSymbolSize:f.getItemVisual(w,"symbolSize"),fromSymbol:f.getItemVisual(w,"symbol"),toSymbolKeepAspect:p.getItemVisual(w,"symbolKeepAspect"),toSymbolOffset:p.getItemVisual(w,"symbolOffset"),toSymbolRotate:p.getItemVisual(w,"symbolRotate"),toSymbolSize:p.getItemVisual(w,"symbolSize"),toSymbol:p.getItemVisual(w,"symbol"),style:E})}),c.updateData(h),d.line.eachItemGraphicEl(function(w){kt(w).dataModel=n,w.traverse(function(E){kt(E).dataModel=n})});function _(w,E,S){var C=w.getItemModel(E);L4(w,E,S,r,i);var T=C.getModel("itemStyle").getItemStyle();T.fill==null&&(T.fill=Mm(l,"color")),w.setItemVisual(E,{symbolKeepAspect:C.get("symbolKeepAspect"),symbolOffset:Dt(C.get("symbolOffset",!0),y[S?0:1]),symbolRotate:Dt(C.get("symbolRotate",!0),m[S?0:1]),symbolSize:Dt(C.get("symbolSize"),g[S?0:1]),symbol:Dt(C.get("symbol",!0),v[S?0:1]),style:T})}this.markKeep(c),c.group.silent=n.get("silent")||r.get("silent")},t.type="markLine",t}(F8);function jSt(e,t,r){var n;e?n=Pe(e&&e.dimensions,function(u){var c=t.getData().getDimensionInfo(t.getData().mapDimension(u))||{};return Me(Me({},c),{name:u,ordinalMeta:null})}):n=[{name:"value",type:"float"}];var a=new oa(n,r),i=new oa(n,r),o=new oa([],r),s=Pe(r.get("data"),Rt(KSt,t,e,r));e&&(s=ur(s,Rt(YSt,e)));var l=gX(!!e,n);return a.initData(Pe(s,function(u){return u[0]}),null,l),i.initData(Pe(s,function(u){return u[1]}),null,l),o.initData(Pe(s,function(u){return u[2]})),o.hasItemOption=!0,{from:a,to:i,line:o}}const XSt=qSt;function ZSt(e){e.registerComponentModel(WSt),e.registerComponentView(XSt),e.registerPreprocessor(function(t){$8(t.series,"markLine")&&(t.markLine=t.markLine||{})})}var QSt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.createMarkerModelFromSeries=function(r,n,a){return new t(r,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}(hu);const JSt=QSt;var gy=Zt(),e4t=function(e,t,r,n){var a=n[0],i=n[1];if(!(!a||!i)){var o=em(e,a),s=em(e,i),l=o.coord,u=s.coord;l[0]=wn(l[0],-1/0),l[1]=wn(l[1],-1/0),u[0]=wn(u[0],1/0),u[1]=wn(u[1],1/0);var c=Bx([{},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 W2(e){return!isNaN(e)&&!isFinite(e)}function d9(e,t,r,n){var a=1-e;return W2(t[a])&&W2(r[a])}function t4t(e,t){var r=t.coord[0],n=t.coord[1],a={coord:r,x:t.x0,y:t.y0},i={coord:n,x:t.x1,y:t.y1};return Dd(e,"cartesian2d")?r&&n&&(d9(1,r,n)||d9(0,r,n))?!0:BSt(e,a,i):tm(e,a)||tm(e,i)}function f9(e,t,r,n,a){var i=n.coordinateSystem,o=e.getItemModel(t),s,l=Ze(o.get(r[0]),a.getWidth()),u=Ze(o.get(r[1]),a.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(n.getMarkerPosition){var c=e.getValues(["x0","y0"],t),d=e.getValues(["x1","y1"],t),f=i.clampData(c),p=i.clampData(d),h=[];r[0]==="x0"?h[0]=f[0]>p[0]?d[0]:c[0]:h[0]=f[0]>p[0]?c[0]:d[0],r[1]==="y0"?h[1]=f[1]>p[1]?d[1]:c[1]:h[1]=f[1]>p[1]?c[1]:d[1],s=n.getMarkerPosition(h,r,!0)}else{var v=e.get(r[0],t),g=e.get(r[1],t),m=[v,g];i.clampData&&i.clampData(m,m),s=i.dataToPoint(m,!0)}if(Dd(i,"cartesian2d")){var y=i.getAxis("x"),_=i.getAxis("y"),v=e.get(r[0],t),g=e.get(r[1],t);W2(v)?s[0]=y.toGlobalCoord(y.getExtent()[r[0]==="x0"?0:1]):W2(g)&&(s[1]=_.toGlobalCoord(_.getExtent()[r[1]==="y0"?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}return s}var p9=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],r4t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.updateTransform=function(r,n,a){n.eachSeries(function(i){var o=hu.getMarkerModelFromSeries(i,"markArea");if(o){var s=o.getData();s.each(function(l){var u=Pe(p9,function(d){return f9(s,l,d,i,a)});s.setItemLayout(l,u);var c=s.getItemGraphicEl(l);c.setShape("points",u)})}},this)},t.prototype.renderSeries=function(r,n,a,i){var o=r.coordinateSystem,s=r.id,l=r.getData(),u=this.markerGroupMap,c=u.get(s)||u.set(s,{group:new wt});this.group.add(c.group),this.markKeep(c);var d=n4t(o,r,n);n.setData(d),d.each(function(f){var p=Pe(p9,function(T){return f9(d,f,T,r,i)}),h=o.getAxis("x").scale,v=o.getAxis("y").scale,g=h.getExtent(),m=v.getExtent(),y=[h.parse(d.get("x0",f)),h.parse(d.get("x1",f))],_=[v.parse(d.get("y0",f)),v.parse(d.get("y1",f))];Si(y),Si(_);var w=!(g[0]>y[1]||g[1]<y[0]||m[0]>_[1]||m[1]<_[0]),E=!w;d.setItemLayout(f,{points:p,allClipped:E});var S=d.getItemModel(f).getModel("itemStyle").getItemStyle(),C=Mm(l,"color");S.fill||(S.fill=C,et(S.fill)&&(S.fill=i2(S.fill,.4))),S.stroke||(S.stroke=C),d.setItemVisual(f,"style",S)}),d.diff(gy(c).data).add(function(f){var p=d.getItemLayout(f);if(!p.allClipped){var h=new Pa({shape:{points:p.points}});d.setItemGraphicEl(f,h),c.group.add(h)}}).update(function(f,p){var h=gy(c).data.getItemGraphicEl(p),v=d.getItemLayout(f);v.allClipped?h&&c.group.remove(h):(h?rr(h,{shape:{points:v.points}},n,f):h=new Pa({shape:{points:v.points}}),d.setItemGraphicEl(f,h),c.group.add(h))}).remove(function(f){var p=gy(c).data.getItemGraphicEl(f);c.group.remove(p)}).execute(),d.eachItemGraphicEl(function(f,p){var h=d.getItemModel(p),v=d.getItemVisual(p,"style");f.useStyle(d.getItemVisual(p,"style")),Pn(f,vn(h),{labelFetcher:n,labelDataIndex:p,defaultText:d.getName(p)||"",inheritColor:et(v.fill)?i2(v.fill,1):"#000"}),Nn(f,h),Pr(f,null,null,h.get(["emphasis","disabled"])),kt(f).dataModel=n}),gy(c).data=d,c.group.silent=n.get("silent")||r.get("silent")},t.type="markArea",t}(F8);function n4t(e,t,r){var n,a,i=["x0","y0","x1","y1"];if(e){var o=Pe(e&&e.dimensions,function(u){var c=t.getData(),d=c.getDimensionInfo(c.mapDimension(u))||{};return Me(Me({},d),{name:u,ordinalMeta:null})});a=Pe(i,function(u,c){return{name:u,type:o[c%2].type}}),n=new oa(a,r)}else a=[{name:"value",type:"float"}],n=new oa(a,r);var s=Pe(r.get("data"),Rt(e4t,t,e,r));e&&(s=ur(s,Rt(t4t,e)));var l=e?function(u,c,d,f){var p=u.coord[Math.floor(f/2)][f%2];return jl(p,a[f])}:function(u,c,d,f){return jl(u.value,a[f])};return n.initData(s,null,l),n.hasItemOption=!0,n}const a4t=r4t;function i4t(e){e.registerComponentModel(JSt),e.registerComponentView(a4t),e.registerPreprocessor(function(t){$8(t.series,"markArea")&&(t.markArea=t.markArea||{})})}var o4t=function(e,t){if(t==="all")return{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}},s4t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}return t.prototype.init=function(r,n,a){this.mergeDefaultAndTheme(r,a),r.selected=r.selected||{},this._updateSelector(r)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),this._updateSelector(r)},t.prototype._updateSelector=function(r){var n=r.selector,a=this.ecModel;n===!0&&(n=r.selector=["all","inverse"]),Ne(n)&&G(n,function(i,o){et(i)&&(i={type:i}),n[o]=Nt(i,o4t(a,i.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var r=this._data;if(r[0]&&this.get("selectedMode")==="single"){for(var n=!1,a=0;a<r.length;a++){var i=r[a].get("name");if(this.isSelected(i)){this.select(i),n=!0;break}}!n&&this.select(r[0].get("name"))}},t.prototype._updateData=function(r){var n=[],a=[];r.eachRawSeries(function(l){var u=l.name;a.push(u);var c;if(l.legendVisualProvider){var d=l.legendVisualProvider,f=d.getAllNames();r.isSeriesFiltered(l)||(a=a.concat(f)),f.length?n=n.concat(f):c=!0}else c=!0;c&&jx(l)&&n.push(l.name)}),this._availableNames=a;var i=this.get("data")||n,o=lt(),s=Pe(i,function(l){return(et(l)||tr(l))&&(l={name:l}),o.get(l.name)?null:(o.set(l.name,!0),new br(l,this,this.ecModel))},this);this._data=ur(s,function(l){return!!l})},t.prototype.getData=function(){return this._data},t.prototype.select=function(r){var n=this.option.selected,a=this.get("selectedMode");if(a==="single"){var i=this._data;G(i,function(o){n[o.get("name")]=!1})}n[r]=!0},t.prototype.unSelect=function(r){this.get("selectedMode")!=="single"&&(this.option.selected[r]=!1)},t.prototype.toggleSelected=function(r){var n=this.option.selected;n.hasOwnProperty(r)||(n[r]=!0),this[n[r]?"unSelect":"select"](r)},t.prototype.allSelect=function(){var r=this._data,n=this.option.selected;G(r,function(a){n[a.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var r=this._data,n=this.option.selected;G(r,function(a){var i=a.get("name",!0);n.hasOwnProperty(i)||(n[i]=!0),n[i]=!n[i]})},t.prototype.isSelected=function(r){var n=this.option.selected;return!(n.hasOwnProperty(r)&&!n[r])&&Bt(this._availableNames,r)>=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(Qt);const sC=s4t;var of=Rt,lC=G,my=wt,l4t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!1,r}return t.prototype.init=function(){this.group.add(this._contentGroup=new my),this.group.add(this._selectorGroup=new my),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(r,n,a){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!r.get("show",!0)){var o=r.get("align"),s=r.get("orient");(!o||o==="auto")&&(o=r.get("left")==="right"&&s==="vertical"?"right":"left");var l=r.get("selector",!0),u=r.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,r,n,a,l,s,u);var c=r.getBoxLayoutParams(),d={width:a.getWidth(),height:a.getHeight()},f=r.get("padding"),p=cn(c,d,f),h=this.layoutInner(r,o,p,i,l,u),v=cn(ht({width:h.width,height:h.height},c),d,f);this.group.x=v.x-h.x,this.group.y=v.y-h.y,this.group.markRedraw(),this.group.add(this._backgroundEl=aX(h,r))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(r,n,a,i,o,s,l){var u=this.getContentGroup(),c=lt(),d=n.get("selectedMode"),f=[];a.eachRawSeries(function(p){!p.get("legendHoverLink")&&f.push(p.id)}),lC(n.getData(),function(p,h){var v=p.get("name");if(!this.newlineDisabled&&(v===""||v===`
`)){var g=new my;g.newline=!0,u.add(g);return}var m=a.getSeriesByName(v)[0];if(!c.get(v))if(m){var y=m.getData(),_=y.getVisual("legendLineStyle")||{},w=y.getVisual("legendIcon"),E=y.getVisual("style"),S=this._createItem(m,v,h,p,n,r,_,E,w,d,i);S.on("click",of(h9,v,null,i,f)).on("mouseover",of(uC,m.name,null,i,f)).on("mouseout",of(cC,m.name,null,i,f)),c.set(v,!0)}else a.eachRawSeries(function(C){if(!c.get(v)&&C.legendVisualProvider){var T=C.legendVisualProvider;if(!T.containName(v))return;var x=T.indexOfName(v),A=T.getItemVisual(x,"style"),k=T.getItemVisual(x,"legendIcon"),R=Za(A.fill);R&&R[3]===0&&(R[3]=.2,A=Me(Me({},A),{fill:ks(R,"rgba")}));var M=this._createItem(C,v,h,p,n,r,{},A,k,d,i);M.on("click",of(h9,null,v,i,f)).on("mouseover",of(uC,null,v,i,f)).on("mouseout",of(cC,null,v,i,f)),c.set(v,!0)}},this)},this),o&&this._createSelector(o,n,i,s,l)},t.prototype._createSelector=function(r,n,a,i,o){var s=this.getSelectorGroup();lC(r,function(u){var c=u.type,d=new er({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){a.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(d);var f=n.getModel("selectorLabel"),p=n.getModel(["emphasis","selectorLabel"]);Pn(d,{normal:f,emphasis:p},{defaultText:u.title}),Xc(d)})},t.prototype._createItem=function(r,n,a,i,o,s,l,u,c,d,f){var p=r.visualDrawType,h=o.get("itemWidth"),v=o.get("itemHeight"),g=o.isSelected(n),m=i.get("symbolRotate"),y=i.get("symbolKeepAspect"),_=i.get("icon");c=_||c||"roundRect";var w=u4t(c,i,l,u,p,g,f),E=new my,S=i.getModel("textStyle");if(ft(r.getLegendIcon)&&(!_||_==="inherit"))E.add(r.getLegendIcon({itemWidth:h,itemHeight:v,icon:c,iconRotate:m,itemStyle:w.itemStyle,lineStyle:w.lineStyle,symbolKeepAspect:y}));else{var C=_==="inherit"&&r.getData().getVisual("symbol")?m==="inherit"?r.getData().getVisual("symbolRotate"):m:0;E.add(c4t({itemWidth:h,itemHeight:v,icon:c,iconRotate:C,itemStyle:w.itemStyle,lineStyle:w.lineStyle,symbolKeepAspect:y}))}var T=s==="left"?h+5:-5,x=s,A=o.get("formatter"),k=n;et(A)&&A?k=A.replace("{name}",n??""):ft(A)&&(k=A(n));var R=g?S.getTextColor():i.get("inactiveColor");E.add(new er({style:_r(S,{text:k,x:T,y:v/2,fill:R,align:x,verticalAlign:"middle"},{inheritColor:R})}));var M=new Xt({shape:E.getBoundingRect(),invisible:!0}),O=i.getModel("tooltip");return O.get("show")&&Wp({el:M,componentModel:o,itemName:n,itemTooltipOption:O.option}),E.add(M),E.eachChild(function(z){z.silent=!0}),M.silent=!d,this.getContentGroup().add(E),Xc(E),E.__legendDataIndex=a,E},t.prototype.layoutInner=function(r,n,a,i,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Qc(r.get("orient"),l,r.get("itemGap"),a.width,a.height);var c=l.getBoundingRect(),d=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),o){Qc("horizontal",u,r.get("selectorItemGap",!0));var f=u.getBoundingRect(),p=[-f.x,-f.y],h=r.get("selectorButtonGap",!0),v=r.getOrient().index,g=v===0?"width":"height",m=v===0?"height":"width",y=v===0?"y":"x";s==="end"?p[v]+=c[g]+h:d[v]+=f[g]+h,p[1-v]+=c[m]/2-f[m]/2,u.x=p[0],u.y=p[1],l.x=d[0],l.y=d[1];var _={x:0,y:0};return _[g]=c[g]+h+f[g],_[m]=Math.max(c[m],f[m]),_[y]=Math.min(0,f[y]+p[1-v]),_}else return l.x=d[0],l.y=d[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}($r);function u4t(e,t,r,n,a,i,o){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),lC(g,function(y,_){g[_]==="inherit"&&(g[_]=m[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",d=l.getShallow("decal");u.decal=!d||d==="inherit"?n.decal:Ep(d,o),u.fill==="inherit"&&(u.fill=n[a]),u.stroke==="inherit"&&(u.stroke=n[c]),u.opacity==="inherit"&&(u.opacity=(a==="fill"?n:r).opacity),s(u,n);var f=t.getModel("lineStyle"),p=f.getLineStyle();if(s(p,r),u.fill==="auto"&&(u.fill=n.fill),u.stroke==="auto"&&(u.stroke=n.fill),p.stroke==="auto"&&(p.stroke=n.fill),!i){var h=t.get("inactiveBorderWidth"),v=u[c];u.lineWidth=h==="auto"?n.lineWidth>0&&v?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),p.stroke=f.get("inactiveColor"),p.lineWidth=f.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}function c4t(e){var t=e.icon||"roundRect",r=an(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return r.setStyle(e.itemStyle),r.rotation=(e.iconRotate||0)*Math.PI/180,r.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r}function h9(e,t,r,n){cC(e,t,r,n),r.dispatchAction({type:"legendToggleSelect",name:e??t}),uC(e,t,r,n)}function mX(e){for(var t=e.getZr().storage.getDisplayList(),r,n=0,a=t.length;n<a&&!(r=t[n].states.emphasis);)n++;return r&&r.hoverLayer}function uC(e,t,r,n){mX(r)||r.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:n})}function cC(e,t,r,n){mX(r)||r.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:n})}const yX=l4t;function d4t(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(r){for(var n=0;n<t.length;n++)if(!t[n].isSelected(r.name))return!1;return!0})}function Fh(e,t,r){var n={},a=e==="toggleSelected",i;return r.eachComponent("legend",function(o){a&&i!=null?o[i?"select":"unSelect"](t.name):e==="allSelect"||e==="inverseSelect"?o[e]():(o[e](t.name),i=o.isSelected(t.name));var s=o.getData();G(s,function(l){var u=l.get("name");if(!(u===`
`||u==="")){var c=o.isSelected(u);n.hasOwnProperty(u)?n[u]=n[u]&&c:n[u]=c}})}),e==="allSelect"||e==="inverseSelect"?{selected:n}:{name:t.name,selected:n}}function f4t(e){e.registerAction("legendToggleSelect","legendselectchanged",Rt(Fh,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Rt(Fh,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Rt(Fh,"inverseSelect")),e.registerAction("legendSelect","legendselected",Rt(Fh,"select")),e.registerAction("legendUnSelect","legendunselected",Rt(Fh,"unSelect"))}function _X(e){e.registerComponentModel(sC),e.registerComponentView(yX),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,d4t),e.registerSubTypeDefaulter("legend",function(){return"plain"}),f4t(e)}var p4t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.setScrollDataIndex=function(r){this.option.scrollDataIndex=r},t.prototype.init=function(r,n,a){var i=jp(r);e.prototype.init.call(this,r,n,a),v9(this,r,i)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),v9(this,this.option,r)},t.type="legend.scroll",t.defaultOption=Su(sC.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}(sC);function v9(e,t,r){var n=e.getOrient(),a=[1,1];a[n.index]=0,uu(t,r,{type:"box",ignoreSize:!!a})}const h4t=p4t;var g9=wt,D4=["width","height"],O4=["x","y"],v4t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!0,r._currentIndex=0,r}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new g9),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new g9)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(r,n,a,i,o,s,l){var u=this;e.prototype.renderInner.call(this,r,n,a,i,o,s,l);var c=this._controllerGroup,d=n.get("pageIconSize",!0),f=Ne(d)?d:[d,d];h("pagePrev",0);var p=n.getModel("pageTextStyle");c.add(new er({name:"pageText",style:{text:"xx/xx",fill:p.getTextColor(),font:p.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),h("pageNext",1);function h(v,g){var m=v+"DataIndex",y=km(n.get("pageIcons",!0)[n.getOrient().name][g],{onclick:rt(u._pageGo,u,m,n,i)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});y.name=v,c.add(y)}},t.prototype.layoutInner=function(r,n,a,i,o,s){var l=this.getSelectorGroup(),u=r.getOrient().index,c=D4[u],d=O4[u],f=D4[1-u],p=O4[1-u];o&&Qc("horizontal",l,r.get("selectorItemGap",!0));var h=r.get("selectorButtonGap",!0),v=l.getBoundingRect(),g=[-v.x,-v.y],m=_t(a);o&&(m[c]=a[c]-v[c]-h);var y=this._layoutContentAndController(r,i,m,u,c,f,p,d);if(o){if(s==="end")g[u]+=y[c]+h;else{var _=v[c]+h;g[u]-=_,y[d]-=_}y[c]+=v[c]+h,g[1-u]+=y[p]+y[f]/2-v[f]/2,y[f]=Math.max(y[f],v[f]),y[p]=Math.min(y[p],v[p]+g[1-u]),l.x=g[0],l.y=g[1],l.markRedraw()}return y},t.prototype._layoutContentAndController=function(r,n,a,i,o,s,l,u){var c=this.getContentGroup(),d=this._containerGroup,f=this._controllerGroup;Qc(r.get("orient"),c,r.get("itemGap"),i?a.width:null,i?null:a.height),Qc("horizontal",f,r.get("pageButtonItemGap",!0));var p=c.getBoundingRect(),h=f.getBoundingRect(),v=this._showController=p[o]>a[o],g=[-p.x,-p.y];n||(g[i]=c[u]);var m=[0,0],y=[-h.x,-h.y],_=Dt(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(v){var w=r.get("pageButtonPosition",!0);w==="end"?y[i]+=a[o]-h[o]:m[i]+=h[o]+_}y[1-i]+=p[s]/2-h[s]/2,c.setPosition(g),d.setPosition(m),f.setPosition(y);var E={x:0,y:0};if(E[o]=v?a[o]:p[o],E[s]=Math.max(p[s],h[s]),E[l]=Math.min(0,h[l]+y[1-i]),d.__rectSize=a[o],v){var S={x:0,y:0};S[o]=Math.max(a[o]-h[o]-_,0),S[s]=E[s],d.setClipPath(new Xt({shape:S})),d.__rectSize=S[o]}else f.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var C=this._getPageInfo(r);return C.pageIndex!=null&&rr(c,{x:C.contentPosition[0],y:C.contentPosition[1]},v?r:null),this._updatePageInfoView(r,C),E},t.prototype._pageGo=function(r,n,a){var i=this._getPageInfo(n)[r];i!=null&&a.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:n.id})},t.prototype._updatePageInfoView=function(r,n){var a=this._controllerGroup;G(["pagePrev","pageNext"],function(c){var d=c+"DataIndex",f=n[d]!=null,p=a.childOfName(c);p&&(p.setStyle("fill",f?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),p.cursor=f?"pointer":"default")});var i=a.childOfName("pageText"),o=r.get("pageFormatter"),s=n.pageIndex,l=s!=null?s+1:0,u=n.pageCount;i&&o&&i.setStyle("text",et(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},t.prototype._getPageInfo=function(r){var n=r.get("scrollDataIndex",!0),a=this.getContentGroup(),i=this._containerGroup.__rectSize,o=r.getOrient().index,s=D4[o],l=O4[o],u=this._findTargetItemIndex(n),c=a.children(),d=c[u],f=c.length,p=f?1:0,h={contentPosition:[a.x,a.y],pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!d)return h;var v=w(d);h.contentPosition[o]=-v.s;for(var g=u+1,m=v,y=v,_=null;g<=f;++g)_=w(c[g]),(!_&&y.e>m.s+i||_&&!E(_,m.s))&&(y.i>m.i?m=y:m=_,m&&(h.pageNextDataIndex==null&&(h.pageNextDataIndex=m.i),++h.pageCount)),y=_;for(var g=u-1,m=v,y=v,_=null;g>=-1;--g)_=w(c[g]),(!_||!E(y,_.s))&&m.i<y.i&&(y=m,h.pagePrevDataIndex==null&&(h.pagePrevDataIndex=m.i),++h.pageCount,++h.pageIndex),m=_;return h;function w(S){if(S){var C=S.getBoundingRect(),T=C[l]+S[l];return{s:T,e:T+C[s],i:S.__legendDataIndex}}}function E(S,C){return S.e>=C&&S.s<=C+i}},t.prototype._findTargetItemIndex=function(r){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===r&&(n=s)}),n??i},t.type="legend.scroll",t}(yX);const g4t=v4t;function m4t(e){e.registerAction("legendScroll","legendscroll",function(t,r){var n=t.scrollDataIndex;n!=null&&r.eachComponent({mainType:"legend",subType:"scroll",query:t},function(a){a.setScrollDataIndex(n)})})}function y4t(e){Ft(_X),e.registerComponentModel(h4t),e.registerComponentView(g4t),m4t(e)}function _4t(e){Ft(_X),Ft(y4t)}var b4t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="dataZoom.inside",t.defaultOption=Su(Jg.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(Jg);const w4t=b4t;var z8=Zt();function S4t(e,t,r){z8(e).coordSysRecordMap.each(function(n){var a=n.dataZoomInfoMap.get(t.uid);a&&(a.getRange=r)})}function E4t(e,t){for(var r=z8(e).coordSysRecordMap,n=r.keys(),a=0;a<n.length;a++){var i=n[a],o=r.get(i),s=o.dataZoomInfoMap;if(s){var l=t.uid,u=s.get(l);u&&(s.removeKey(l),s.keys().length||bX(r,o))}}}function bX(e,t){if(t){e.removeKey(t.model.uid);var r=t.controller;r&&r.dispose()}}function C4t(e,t){var r={model:t,containsPoint:Rt(x4t,t),dispatchAction:Rt(T4t,e),dataZoomInfoMap:null,controller:null},n=r.controller=new zm(e.getZr());return G(["pan","zoom","scrollMove"],function(a){n.on(a,function(i){var o=[];r.dataZoomInfoMap.each(function(s){if(i.isAvailableBehavior(s.model.option)){var l=(s.getRange||{})[a],u=l&&l(s.dzReferCoordSysInfo,r.model.mainType,r.controller,i);!s.model.get("disabled",!0)&&u&&o.push({dataZoomId:s.model.id,start:u[0],end:u[1]})}}),o.length&&r.dispatchAction(o)})}),r}function T4t(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function x4t(e,t,r,n){return e.coordinateSystem.containPoint([r,n])}function A4t(e){var t,r="type_",n={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0;return e.each(function(i){var o=i.model,s=o.get("disabled",!0)?!1:o.get("zoomLock",!0)?"move":!0;n[r+s]>n[r+t]&&(t=s),a=a&&o.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a}}}function k4t(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,function(t,r){var n=z8(r),a=n.coordSysRecordMap||(n.coordSysRecordMap=lt());a.each(function(i){i.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var o=tX(i);G(o.infoList,function(s){var l=s.model.uid,u=a.get(l)||a.set(l,C4t(r,s.model)),c=u.dataZoomInfoMap||(u.dataZoomInfoMap=lt());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){bX(a,i);return}var c=A4t(l);o.enable(c.controlType,c.opt),o.setPointerChecker(i.containsPoint),Jp(i,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var I4t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="dataZoom.inside",r}return t.prototype.render=function(r,n,a){if(e.prototype.render.apply(this,arguments),r.noTarget()){this._clear();return}this.range=r.getPercentRange(),S4t(a,r,{pan:rt(N4.pan,this),zoom:rt(N4.zoom,this),scrollMove:rt(N4.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){E4t(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(M8),N4={zoom:function(e,t,r,n){var a=this.range,i=a.slice(),o=e.axisModels[0];if(o){var s=P4[t](null,[n.originX,n.originY],o,r,e),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(Nd(0,i,[0,100],0,c.minSpan,c.maxSpan),this.range=i,a[0]!==i[0]||a[1]!==i[1])return i}},pan:m9(function(e,t,r,n,a,i){var o=P4[n]([i.oldX,i.oldY],[i.newX,i.newY],t,a,r);return o.signal*(e[1]-e[0])*o.pixel/o.pixelLength}),scrollMove:m9(function(e,t,r,n,a,i){var o=P4[n]([0,0],[i.scrollDelta,i.scrollDelta],t,a,r);return o.signal*(e[1]-e[0])*i.scrollDelta})};function m9(e){return function(t,r,n,a){var i=this.range,o=i.slice(),s=t.axisModels[0];if(s){var l=e(o,s,t,r,n,a);if(Nd(l,o,[0,100],"all"),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}}}var P4={grid:function(e,t,r,n,a){var i=r.axis,o={},s=a.model.coordinateSystem.getRect();return e=e||[0,0],i.dim==="x"?(o.pixel=t[0]-e[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=i.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=i.inverse?-1:1),o},polar:function(e,t,r,n,a){var i=r.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),r.mainType==="radiusAxis"?(o.pixel=t[0]-e[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=i.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=i.inverse?-1:1),o},singleAxis:function(e,t,r,n,a){var i=r.axis,o=a.model.coordinateSystem.getRect(),s={};return e=e||[0,0],i.orient==="horizontal"?(s.pixel=t[0]-e[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=i.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=i.inverse?-1:1),s}};const R4t=I4t;function wX(e){L8(e),e.registerComponentModel(w4t),e.registerComponentView(R4t),k4t(e)}var M4t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=Su(Jg.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:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(Jg);const L4t=M4t;var zh=Xt,y9=7,D4t=1,$4=30,O4t=7,Vh="horizontal",_9="vertical",N4t=5,P4t=["line","bar","candlestick","scatter"],$4t={easing:"cubicOut",duration:100,delay:0},B4t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._displayables={},r}return t.prototype.init=function(r,n){this.api=n,this._onBrush=rt(this._onBrush,this),this._onBrushEnd=rt(this._onBrushEnd,this)},t.prototype.render=function(r,n,a,i){if(e.prototype.render.apply(this,arguments),Jp(this,"_dispatchZoomAction",r.get("throttle"),"fixRate"),this._orient=r.getOrient(),r.get("show")===!1){this.group.removeAll();return}if(r.noTarget()){this._clear(),this.group.removeAll();return}(!i||i.type!=="dataZoom"||i.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){Vg(this,"_dispatchZoomAction");var r=this.api.getZr();r.off("mousemove",this._onBrush),r.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var r=this.group;r.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var n=this._displayables.sliderGroup=new wt;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),r.add(n),this._positionGroup()},t.prototype._resetLocation=function(){var r=this.dataZoomModel,n=this.api,a=r.get("brushSelect"),i=a?O4t:0,o=this._findCoordRect(),s={width:n.getWidth(),height:n.getHeight()},l=this._orient===Vh?{right:s.width-o.x-o.width,top:s.height-$4-y9-i,width:o.width,height:$4}:{right:y9,top:o.y,width:$4,height:o.height},u=jp(r.option);G(["right","top","width","height"],function(d){u[d]==="ph"&&(u[d]=l[d])});var c=cn(u,s);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],this._orient===_9&&this._size.reverse()},t.prototype._positionGroup=function(){var r=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===Vh&&!o?{scaleY:l?1:-1,scaleX:1}:a===Vh&&o?{scaleY:l?1:-1,scaleX:-1}:a===_9&&!o?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=r.getBoundingRect([s]);r.x=n.x-u.x,r.y=n.y-u.y,r.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var r=this.dataZoomModel,n=this._size,a=this._displayables.sliderGroup,i=r.get("brushSelect");a.add(new zh({silent:!0,shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:r.get("backgroundColor")},z2:-40}));var o=new zh({shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:"transparent"},z2:0,onclick:rt(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 r=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!r)return;var n=this._size,a=this._shadowSize||[],i=r.series,o=i.getRawData(),s=i.getShadowDim&&i.getShadowDim(),l=s&&o.getDimensionInfo(s)?i.getShadowDim():r.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 d=o.getDataExtent(l),f=(d[1]-d[0])*.3;d=[d[0]-f,d[1]+f];var p=[0,n[1]],h=[0,n[0]],v=[[n[0],0],[0,0]],g=[],m=h[1]/(o.count()-1),y=0,_=Math.round(o.count()/n[0]),w;o.each([l],function(x,A){if(_>0&&A%_){y+=m;return}var k=x==null||isNaN(x)||x==="",R=k?0:lr(x,d,p,!0);k&&!w&&A?(v.push([v[v.length-1][0],0]),g.push([g[g.length-1][0],0])):!k&&w&&(v.push([y,0]),g.push([y,0])),v.push([y,R]),g.push([y,R]),y+=m,w=k}),u=this._shadowPolygonPts=v,c=this._shadowPolylinePts=g}this._shadowData=o,this._shadowDim=l,this._shadowSize=[n[0],n[1]];var E=this.dataZoomModel;function S(x){var A=E.getModel(x?"selectedDataBackground":"dataBackground"),k=new wt,R=new Pa({shape:{points:u},segmentIgnoreThreshold:1,style:A.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),M=new Ba({shape:{points:c},segmentIgnoreThreshold:1,style:A.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return k.add(R),k.add(M),k}for(var C=0;C<3;C++){var T=S(C===1);this._displayables.sliderGroup.add(T),this._displayables.dataShadowSegs.push(T)}},t.prototype._prepareDataShadowInfo=function(){var r=this.dataZoomModel,n=r.get("showDataShadow");if(n!==!1){var a,i=this.ecModel;return r.eachTargetAxis(function(o,s){var l=r.getAxisProxy(o,s).getTargetSeriesModels();G(l,function(u){if(!a&&!(n!==!0&&Bt(P4t,u.get("type"))<0)){var c=i.getComponent(Vl(o),s).axis,d=F4t(o),f,p=u.coordinateSystem;d!=null&&p.getOtherAxis&&(f=p.getOtherAxis(c).inverse),d=u.getData().mapDimension(d),a={thisAxis:c,series:u,thisDim:o,otherDim:d,otherAxisInverse:f}}},this)},this),a}},t.prototype._renderHandle=function(){var r=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,d=l.get("brushSelect"),f=n.filler=new zh({silent:d,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});o.add(f),o.add(new zh({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:D4t,fill:"rgba(0,0,0,0)"}})),G([0,1],function(_){var w=l.get("handleIcon");!w2[w]&&w.indexOf("path://")<0&&w.indexOf("image://")<0&&(w="path://"+w);var E=an(w,-1,0,2,2,null,!0);E.attr({cursor:b9(this._orient),draggable:!0,drift:rt(this._onDragMove,this,_),ondragend:rt(this._onDragEnd,this),onmouseover:rt(this._showDataInfo,this,!0),onmouseout:rt(this._showDataInfo,this,!1),z2:5});var S=E.getBoundingRect(),C=l.get("handleSize");this._handleHeight=Ze(C,this._size[1]),this._handleWidth=S.width/S.height*this._handleHeight,E.setStyle(l.getModel("handleStyle").getItemStyle()),E.style.strokeNoScale=!0,E.rectHover=!0,E.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),Xc(E);var T=l.get("handleColor");T!=null&&(E.style.fill=T),o.add(a[_]=E);var x=l.getModel("textStyle");r.add(i[_]=new er({silent:!0,invisible:!0,style:_r(x,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:x.getTextColor(),font:x.getFont()}),z2:10}))},this);var p=f;if(d){var h=Ze(l.get("moveHandleSize"),s[1]),v=n.moveHandle=new Xt({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:h}}),g=h*.8,m=n.moveHandleIcon=an(l.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);m.silent=!0,m.y=s[1]+h/2-.5,v.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(s[1]/2,Math.max(h,10));p=n.moveZone=new Xt({invisible:!0,shape:{y:s[1]-y,height:h+y}}),p.on("mouseover",function(){u.enterEmphasis(v)}).on("mouseout",function(){u.leaveEmphasis(v)}),o.add(v),o.add(m),o.add(p)}p.attr({draggable:!0,cursor:b9(this._orient),drift:rt(this._onDragMove,this,"all"),ondragstart:rt(this._showDataInfo,this,!0),ondragend:rt(this._onDragEnd,this),onmouseover:rt(this._showDataInfo,this,!0),onmouseout:rt(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var r=this._range=this.dataZoomModel.getPercentRange(),n=this._getViewExtent();this._handleEnds=[lr(r[0],[0,100],n,!0),lr(r[1],[0,100],n,!0)]},t.prototype._updateInterval=function(r,n){var a=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),s=a.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];Nd(n,i,o,a.get("zoomLock")?"all":r,s.minSpan!=null?lr(s.minSpan,l,o,!0):null,s.maxSpan!=null?lr(s.maxSpan,l,o,!0):null);var u=this._range,c=this._range=Si([lr(i[0],o,l,!0),lr(i[1],o,l,!0)]);return!u||u[0]!==c[0]||u[1]!==c[1]},t.prototype._updateView=function(r){var n=this._displayables,a=this._handleEnds,i=Si(a.slice()),o=this._size;G([0,1],function(p){var h=n.handles[p],v=this._handleHeight;h.attr({scaleX:v/2,scaleY:v/2,x:a[p]+(p?-1:1),y:o[1]/2-v/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 d=l[c],f=d.getClipPath();f||(f=new Xt,d.setClipPath(f)),f.setShape({x:u[c],y:0,width:u[c+1]-u[c],height:o[1]})}this._updateDataInfo(r)},t.prototype._updateDataInfo=function(r){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,d=r?l.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:l.getDataValueWindow();s=[this._formatLabel(d[0],u),this._formatLabel(d[1],u)]}}var f=Si(this._handleEnds.slice());p.call(this,0),p.call(this,1);function p(h){var v=Zc(a.handles[h].parent,this.group),g=nb(h===0?"right":"left",v),m=this._handleWidth/2+N4t,y=oo([f[h]+(h===0?-m:m),this._size[1]/2],v);i[h].setStyle({x:y[0],y:y[1],verticalAlign:o===Vh?"middle":g,align:o===Vh?g:"center",text:s[h]})}},t.prototype._formatLabel=function(r,n){var a=this.dataZoomModel,i=a.get("labelFormatter"),o=a.get("labelPrecision");(o==null||o==="auto")&&(o=n.getPixelPrecision());var s=r==null||isNaN(r)?"":n.type==="category"||n.type==="time"?n.scale.getLabel({value:Math.round(r)}):r.toFixed(Math.min(o,20));return ft(i)?i(r,s):et(i)?i.replace("{value}",s):s},t.prototype._showDataInfo=function(r){r=this._dragging||r;var n=this._displayables,a=n.handleLabels;a[0].attr("invisible",!r),a[1].attr("invisible",!r),n.moveHandle&&this.api[r?"enterEmphasis":"leaveEmphasis"](n.moveHandle,1)},t.prototype._onDragMove=function(r,n,a,i){this._dragging=!0,Bs(i.event);var o=this._displayables.sliderGroup.getLocalTransform(),s=oo([n,a],o,!0),l=this._updateInterval(r,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 r=this.dataZoomModel.get("realtime");!r&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(r){var n=this._size,a=this._displayables.sliderGroup.transformCoordToLocal(r.offsetX,r.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(r){var n=r.offsetX,a=r.offsetY;this._brushStart=new Lt(n,a),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(r){if(this._brushing){var n=this._displayables.brushRect;if(this._brushing=!1,!!n){n.attr("ignore",!0);var 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=Si([lr(a.x,o,s,!0),lr(a.x+a.width,o,s,!0)]),this._handleEnds=[a.x,a.x+a.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(r){this._brushing&&(Bs(r.event),this._updateBrushRect(r.offsetX,r.offsetY))},t.prototype._updateBrushRect=function(r,n){var a=this._displayables,i=this.dataZoomModel,o=a.brushRect;o||(o=a.brushRect=new zh({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(r,n),c=l.transformCoordToLocal(s.x,s.y),d=this._size;u[0]=Math.max(Math.min(d[0],u[0]),0),o.setShape({x:c[0],y:0,width:u[0]-c[0],height:d[1]})},t.prototype._dispatchZoomAction=function(r){var n=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:r?$4t:null,start:n[0],end:n[1]})},t.prototype._findCoordRect=function(){var r,n=tX(this.dataZoomModel).infoList;if(!r&&n.length){var a=n[0].model.coordinateSystem;r=a.getRect&&a.getRect()}if(!r){var i=this.api.getWidth(),o=this.api.getHeight();r={x:i*.2,y:o*.2,width:i*.6,height:o*.6}}return r},t.type="dataZoom.slider",t}(M8);function F4t(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function b9(e){return e==="vertical"?"ns-resize":"ew-resize"}const z4t=B4t;function SX(e){e.registerComponentModel(L4t),e.registerComponentView(z4t),L8(e)}function V4t(e){Ft(wX),Ft(SX)}var H4t={get:function(e,t,r){var n=_t((U4t[e]||{})[t]);return r&&Ne(n)?n[n.length-1]:n}},U4t={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const EX=H4t;var w9=Dn.mapVisual,G4t=Dn.eachVisual,W4t=Ne,S9=G,K4t=Si,Y4t=lr,q4t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.stateList=["inRange","outOfRange"],r.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],r.layoutMode={type:"box",ignoreSize:!0},r.dataBound=[-1/0,1/0],r.targetVisuals={},r.controllerVisuals={},r}return t.prototype.init=function(r,n,a){this.mergeDefaultAndTheme(r,a)},t.prototype.optionUpdated=function(r,n){var a=this.option;!n&&dX(a,r,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(r){var n=this.stateList;r=rt(r,this),this.controllerVisuals=aC(this.option.controller,n,r),this.targetVisuals=aC(this.option.target,n,r)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var r=this.option.seriesIndex,n=[];return r==null||r==="all"?this.ecModel.eachSeries(function(a,i){n.push(i)}):n=fr(r),n},t.prototype.eachTargetSeries=function(r,n){G(this.getTargetSeriesIndices(),function(a){var i=this.ecModel.getSeriesByIndex(a);i&&r.call(n,i)},this)},t.prototype.isTargetSeries=function(r){var n=!1;return this.eachTargetSeries(function(a){a===r&&(n=!0)}),n},t.prototype.formatValueText=function(r,n,a){var i=this.option,o=i.precision,s=this.dataBound,l=i.formatter,u;a=a||["<",">"],Ne(r)&&(r=r.slice(),u=!0);var c=n?r:u?[d(r[0]),d(r[1])]:d(r);if(et(l))return l.replace("{value}",u?c[0]:c).replace("{value2}",u?c[1]:c);if(ft(l))return u?l(r[0],r[1]):l(r);if(u)return r[0]===s[0]?a[0]+" "+c[1]:r[1]===s[1]?a[1]+" "+c[0]:c[0]+" - "+c[1];return c;function d(f){return f===s[0]?"min":f===s[1]?"max":(+f).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var r=this.option,n=K4t([r.min,r.max]);this._dataExtent=n},t.prototype.getDataDimensionIndex=function(r){var n=this.option.dimension;if(n!=null)return r.getDimensionIndex(n);for(var a=r.dimensions,i=a.length-1;i>=0;i--){var o=a[i],s=r.getDimensionInfo(o);if(!s.isCalculationCoord)return s.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var r=this.ecModel,n=this.option,a={inRange:n.inRange,outOfRange:n.outOfRange},i=n.target||(n.target={}),o=n.controller||(n.controller={});Nt(i,a),Nt(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(d){W4t(n.color)&&!d.inRange&&(d.inRange={color:n.color.slice().reverse()}),d.inRange=d.inRange||{color:r.get("gradientColor")}}function u(d,f,p){var h=d[f],v=d[p];h&&!v&&(v=d[p]={},S9(h,function(g,m){if(Dn.isValidType(m)){var y=EX.get(m,"inactive",s);y!=null&&(v[m]=y,m==="color"&&!v.hasOwnProperty("opacity")&&!v.hasOwnProperty("colorAlpha")&&(v.opacity=[0,0]))}}))}function c(d){var f=(d.inRange||{}).symbol||(d.outOfRange||{}).symbol,p=(d.inRange||{}).symbolSize||(d.outOfRange||{}).symbolSize,h=this.get("inactiveColor"),v=this.getItemSymbol(),g=v||"roundRect";S9(this.stateList,function(m){var y=this.itemSize,_=d[m];_||(_=d[m]={color:s?h:[h]}),_.symbol==null&&(_.symbol=f&&_t(f)||(s?g:[g])),_.symbolSize==null&&(_.symbolSize=p&&_t(p)||(s?y[0]:[y[0],y[0]])),_.symbol=w9(_.symbol,function(S){return S==="none"?g:S});var w=_.symbolSize;if(w!=null){var E=-1/0;G4t(w,function(S){S>E&&(E=S)}),_.symbolSize=w9(w,function(S){return Y4t(S,[0,E],[0,y[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(r){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(r){return null},t.prototype.getVisualMeta=function(r){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(Qt);const K2=q4t;var E9=[20,140],j4t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.optionUpdated=function(r,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(a){a.mappingMethod="linear",a.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var r=this.itemSize;(r[0]==null||isNaN(r[0]))&&(r[0]=E9[0]),(r[1]==null||isNaN(r[1]))&&(r[1]=E9[1])},t.prototype._resetRange=function(){var r=this.getExtent(),n=this.option.range;!n||n.auto?(r.auto=1,this.option.range=r):Ne(n)&&(n[0]>n[1]&&n.reverse(),n[0]=Math.max(n[0],r[0]),n[1]=Math.min(n[1],r[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),G(this.stateList,function(r){var n=this.option.controller[r].symbolSize;n&&n[0]!==n[1]&&(n[0]=n[1]/3)},this)},t.prototype.setSelected=function(r){this.option.range=r.slice(),this._resetRange()},t.prototype.getSelected=function(){var r=this.getExtent(),n=Si((this.get("range")||[]).slice());return n[0]>r[1]&&(n[0]=r[1]),n[1]>r[1]&&(n[1]=r[1]),n[0]<r[0]&&(n[0]=r[0]),n[1]<r[0]&&(n[1]=r[0]),n},t.prototype.getValueState=function(r){var n=this.option.range,a=this.getExtent();return(n[0]<=a[0]||n[0]<=r)&&(n[1]>=a[1]||r<=n[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(r){var n=[];return this.eachTargetSeries(function(a){var i=[],o=a.getData();o.each(this.getDataDimensionIndex(o),function(s,l){r[0]<=s&&s<=r[1]&&i.push(l)},this),n.push({seriesId:a.id,dataIndex:i})},this),n},t.prototype.getVisualMeta=function(r){var n=C9(this,"outOfRange",this.getExtent()),a=C9(this,"inRange",this.option.range.slice()),i=[];function o(p,h){i.push({value:p,color:r(p,h)})}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 d=1;s<u;s++,d=0)d&&i.length&&o(a[s],"outOfRange"),o(a[s],"inRange");for(var d=1;l<c;l++)(!a.length||a[a.length-1]<n[l])&&(d&&(i.length&&o(i[i.length-1].value,"outOfRange"),d=0),o(n[l],"outOfRange"));var f=i.length;return{stops:i,outerColors:[f?i[0].color:"transparent",f?i[f-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=Su(K2.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}(K2);function C9(e,t,r){if(r[0]===r[1])return r.slice();for(var n=200,a=(r[1]-r[0])/n,i=r[0],o=[],s=0;s<=n&&i<r[1];s++)o.push(i),i+=a;return o.push(r[1]),o}const X4t=j4t;var Z4t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.autoPositionValues={left:1,right:1,top:1,bottom:1},r}return t.prototype.init=function(r,n){this.ecModel=r,this.api=n},t.prototype.render=function(r,n,a,i){if(this.visualMapModel=r,r.get("show")===!1){this.group.removeAll();return}this.doRender(r,n,a,i)},t.prototype.renderBackground=function(r){var n=this.visualMapModel,a=qp(n.get("padding")||0),i=r.getBoundingRect();r.add(new Xt({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(r,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,h){s[p]=h}var d=o.controllerVisuals[i||o.getValueState(r)],f=Dn.prepareVisualTypes(d);return G(f,function(p){var h=d[p];a.convertOpacityToAlpha&&p==="opacity"&&(p="colorAlpha",h=d.__alphaForOpacity),Dn.dependsOn(p,n)&&h&&h.applyVisual(r,u,c)}),s[n]},t.prototype.positionGroup=function(r){var n=this.visualMapModel,a=this.api;cb(r,n.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})},t.prototype.doRender=function(r,n,a,i){},t.type="visualMap",t}($r);const CX=Z4t;var T9=[["left","right","width"],["top","bottom","height"]];function TX(e,t,r){var n=e.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=T9[o],l=[0,null,10],u={},c=0;c<3;c++)u[T9[1-o][c]]=l[c],u[s[c]]=c===2?r[0]:n[s[c]];var d=[["x","width",3],["y","height",0]][o],f=cn(u,i,n.padding);return s[(f.margin[d[2]]||0)+f[d[0]]+f[d[1]]*.5<i[d[1]]*.5?0:1]}function y1(e,t){return G(e||[],function(r){r.dataIndex!=null&&(r.dataIndexInside=r.dataIndex,r.dataIndex=null),r.highlightKey="visualMap"+(t?t.componentIndex:"")}),e}var To=lr,Q4t=G,x9=Math.min,B4=Math.max,J4t=12,e3t=6,t3t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._shapes={},r._dataInterval=[],r._handleEnds=[],r._hoverLinkDataIndices=[],r}return t.prototype.doRender=function(r,n,a,i){this._api=a,(!i||i.type!=="selectDataRange"||i.from!==this.uid)&&this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var r=this.visualMapModel,n=this.group;this._orient=r.get("orient"),this._useHandle=r.get("calculable"),this._resetInterval(),this._renderBar(n);var a=r.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(r,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),d=this._applyTransform(a===0?"bottom":"top",u),f=this._orient,p=this.visualMapModel.textStyleModel;this.group.add(new er({style:_r(p,{x:c[0],y:c[1],verticalAlign:f==="horizontal"?"middle":d,align:f==="horizontal"?d:"center",text:i})}))}},t.prototype._renderBar=function(r){var n=this.visualMapModel,a=this._shapes,i=n.itemSize,o=this._orient,s=this._useHandle,l=TX(n,this.api,i),u=a.mainGroup=this._createBarGroup(l),c=new wt;u.add(c),c.add(a.outOfRange=A9()),c.add(a.inRange=A9(null,s?I9(this._orient):null,rt(this._dragHandle,this,"all",!1),rt(this._dragHandle,this,"all",!0))),c.setClipPath(new Xt({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var d=n.textStyleModel.getTextRect("国"),f=B4(d.width,d.height);s&&(a.handleThumbs=[],a.handleLabels=[],a.handleLabelPoints=[],this._createHandle(n,u,0,i,f,o),this._createHandle(n,u,1,i,f,o)),this._createIndicator(n,u,i,f,o),r.add(u)},t.prototype._createHandle=function(r,n,a,i,o,s){var l=rt(this._dragHandle,this,a,!1),u=rt(this._dragHandle,this,a,!0),c=uo(r.get("handleSize"),i[0]),d=an(r.get("handleIcon"),-c/2,-c/2,c,c,null,!0),f=I9(this._orient);d.attr({cursor:f,draggable:!0,drift:l,ondragend:u,onmousemove:function(m){Bs(m.event)}}),d.x=i[0]/2,d.useStyle(r.getModel("handleStyle").getItemStyle()),d.setStyle({strokeNoScale:!0,strokeFirst:!0}),d.style.lineWidth*=2,d.ensureState("emphasis").style=r.getModel(["emphasis","handleStyle"]).getItemStyle(),Ic(d,!0),n.add(d);var p=this.visualMapModel.textStyleModel,h=new er({cursor:f,draggable:!0,drift:l,onmousemove:function(m){Bs(m.event)},ondragend:u,style:_r(p,{x:0,y:0,text:""})});h.ensureState("blur").style={opacity:.1},h.stateTransition={duration:200},this.group.add(h);var v=[c,0],g=this._shapes;g.handleThumbs[a]=d,g.handleLabelPoints[a]=v,g.handleLabels[a]=h},t.prototype._createIndicator=function(r,n,a,i,o){var s=uo(r.get("indicatorSize"),a[0]),l=an(r.get("indicatorIcon"),-s/2,-s/2,s,s,null,!0);l.attr({cursor:"move",invisible:!0,silent:!0,x:a[0]/2});var u=r.getModel("indicatorStyle").getItemStyle();if(l instanceof $n){var c=l.style;l.useStyle(Me({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},u))}else l.useStyle(u);n.add(l);var d=this.visualMapModel.textStyleModel,f=new er({silent:!0,invisible:!0,style:_r(d,{x:0,y:0,text:""})});this.group.add(f);var p=[(o==="horizontal"?i/2:e3t)+a[0]/2,0],h=this._shapes;h.indicator=l,h.indicatorLabel=f,h.indicatorLabelPoint=p,this._firstShowIndicator=!0},t.prototype._dragHandle=function(r,n,a,i){if(this._useHandle){if(this._dragging=!n,!n){var o=this._applyTransform([a,i],this._shapes.mainGroup,!0);this._updateInterval(r,o[1]),this._hideIndicator(),this._updateView()}n===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),n?!this._hovering&&this._clearHoverLinkToSeries():k9(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[r],!1)}},t.prototype._resetInterval=function(){var r=this.visualMapModel,n=this._dataInterval=r.getSelected(),a=r.getExtent(),i=[0,r.itemSize[1]];this._handleEnds=[To(n[0],a,i,!0),To(n[1],a,i,!0)]},t.prototype._updateInterval=function(r,n){n=n||0;var a=this.visualMapModel,i=this._handleEnds,o=[0,a.itemSize[1]];Nd(n,i,o,r,0);var s=a.getExtent();this._dataInterval=[To(i[0],o,s,!0),To(i[1],o,s,!0)]},t.prototype._updateView=function(r){var n=this.visualMapModel,a=n.getExtent(),i=this._shapes,o=[0,n.itemSize[1]],s=r?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(r,n,a,i){var o={forceState:i,convertOpacityToAlpha:!0},s=this._makeColorGradient(r,o),l=[this.getControllerVisual(r[0],"symbolSize",o),this.getControllerVisual(r[1],"symbolSize",o)],u=this._createBarPoints(a,l);return{barColor:new xm(0,0,0,1,s),barPoints:u,handlesColor:[s[0].color,s[s.length-1].color]}},t.prototype._makeColorGradient=function(r,n){var a=100,i=[],o=(r[1]-r[0])/a;i.push({color:this.getControllerVisual(r[0],"color",n),offset:0});for(var s=1;s<a;s++){var l=r[0]+o*s;if(l>r[1])break;i.push({color:this.getControllerVisual(l,"color",n),offset:s/a})}return i.push({color:this.getControllerVisual(r[1],"color",n),offset:1}),i},t.prototype._createBarPoints=function(r,n){var a=this.visualMapModel.itemSize;return[[a[0]-n[0],r[0]],[a[0],r[0]],[a[0],r[1]],[a[0]-n[1],r[1]]]},t.prototype._createBarGroup=function(r){var n=this._orient,a=this.visualMapModel.get("inverse");return new wt(n==="horizontal"&&!a?{scaleX:r==="bottom"?1:-1,rotation:Math.PI/2}:n==="horizontal"&&a?{scaleX:r==="bottom"?-1:1,rotation:-Math.PI/2}:n==="vertical"&&!a?{scaleX:r==="left"?1:-1,scaleY:-1}:{scaleX:r==="left"?1:-1})},t.prototype._updateHandle=function(r,n){if(this._useHandle){var a=this._shapes,i=this.visualMapModel,o=a.handleThumbs,s=a.handleLabels,l=i.itemSize,u=i.getExtent();Q4t([0,1],function(c){var d=o[c];d.setStyle("fill",n.handlesColor[c]),d.y=r[c];var f=To(r[c],[0,l[1]],u,!0),p=this.getControllerVisual(f,"symbolSize");d.scaleX=d.scaleY=p/l[0],d.x=l[0]-p/2;var h=oo(a.handleLabelPoints[c],Zc(d,this.group));s[c].setStyle({x:h[0],y:h[1],text:i.formatValueText(this._dataInterval[c]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",a.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(r,n,a,i){var o=this.visualMapModel,s=o.getExtent(),l=o.itemSize,u=[0,l[1]],c=this._shapes,d=c.indicator;if(d){d.attr("invisible",!1);var f={convertOpacityToAlpha:!0},p=this.getControllerVisual(r,"color",f),h=this.getControllerVisual(r,"symbolSize"),v=To(r,s,u,!0),g=l[0]-h/2,m={x:d.x,y:d.y};d.y=v,d.x=g;var y=oo(c.indicatorLabelPoint,Zc(d,this.group)),_=c.indicatorLabel;_.attr("invisible",!1);var w=this._applyTransform("left",c.mainGroup),E=this._orient,S=E==="horizontal";_.setStyle({text:(a||"")+o.formatValueText(n),verticalAlign:S?w:"middle",align:S?"center":w});var C={x:g,y:v,style:{fill:p}},T={style:{x:y[0],y:y[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var x={duration:100,easing:"cubicInOut",additive:!0};d.x=m.x,d.y=m.y,d.animateTo(C,x),_.animateTo(T,x)}else d.attr(C),_.attr(T);this._firstShowIndicator=!1;var A=this._shapes.handleLabels;if(A)for(var k=0;k<A.length;k++)this._api.enterBlur(A[k])}},t.prototype._enableHoverLinkToSeries=function(){var r=this;this._shapes.mainGroup.on("mousemove",function(n){if(r._hovering=!0,!r._dragging){var a=r.visualMapModel.itemSize,i=r._applyTransform([n.offsetX,n.offsetY],r._shapes.mainGroup,!0,!0);i[1]=x9(B4(0,i[1]),a[1]),r._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=a[0])}}).on("mouseout",function(){r._hovering=!1,!r._dragging&&r._clearHoverLinkToSeries()})},t.prototype._enableHoverLinkFromSeries=function(){var r=this.api.getZr();this.visualMapModel.option.hoverLink?(r.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),r.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(r,n){var a=this.visualMapModel,i=a.itemSize;if(a.option.hoverLink){var o=[0,i[1]],s=a.getExtent();r=x9(B4(o[0],r),o[1]);var l=r3t(a,s,o),u=[r-l,r+l],c=To(r,o,s,!0),d=[To(u[0],o,s,!0),To(u[1],o,s,!0)];u[0]<o[0]&&(d[0]=-1/0),u[1]>o[1]&&(d[1]=1/0),n&&(d[0]===-1/0?this._showIndicator(c,d[1],"< ",l):d[1]===1/0?this._showIndicator(c,d[0],"> ",l):this._showIndicator(c,c,"≈ ",l));var f=this._hoverLinkDataIndices,p=[];(n||k9(a))&&(p=this._hoverLinkDataIndices=a.findTargetDataIndices(d));var h=Kat(f,p);this._dispatchHighDown("downplay",y1(h[0],a)),this._dispatchHighDown("highlight",y1(h[1],a))}},t.prototype._hoverLinkFromSeriesMouseOver=function(r){var n;if(Mc(r.target,function(l){var u=kt(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 r=this._shapes;r.indicator&&r.indicator.attr("invisible",!0),r.indicatorLabel&&r.indicatorLabel.attr("invisible",!0);var n=this._shapes.handleLabels;if(n)for(var a=0;a<n.length;a++)this._api.leaveBlur(n[a])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var r=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",y1(r,this.visualMapModel)),r.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var r=this.api.getZr();r.off("mouseover",this._hoverLinkFromSeriesMouseOver),r.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(r,n,a,i){var o=Zc(n,i?null:this.group);return Ne(r)?oo(r,o,a):nb(r,o,a)},t.prototype._dispatchHighDown=function(r,n){n&&n.length&&this.api.dispatchAction({type:r,batch:n})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(CX);function A9(e,t,r,n){return new Pa({shape:{points:e},draggable:!!r,cursor:t,drift:r,onmousemove:function(a){Bs(a.event)},ondragend:n})}function r3t(e,t,r){var n=J4t/2,a=e.get("hoverLinkDataSize");return a&&(n=To(a,t,r,!0)/2),n}function k9(e){var t=e.get("hoverLinkOnHandle");return!!(t??e.get("realtime"))}function I9(e){return e==="vertical"?"ns-resize":"ew-resize"}const n3t=t3t;var a3t={type:"selectDataRange",event:"dataRangeSelected",update:"update"},i3t=function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(r){r.setSelected(e.selected)})},o3t=[{createOnAllSeries:!0,reset:function(e,t){var r=[];return t.eachComponent("visualMap",function(n){var a=e.pipelineContext;!n.isTargetSeries(e)||a&&a.large||r.push(eSt(n.stateList,n.targetVisuals,rt(n.getValueState,n),n.getDataDimensionIndex(e.getData())))}),r}},{createOnAllSeries:!0,reset:function(e,t){var r=e.getData(),n=[];t.eachComponent("visualMap",function(a){if(a.isTargetSeries(e)){var i=a.getVisualMeta(rt(s3t,null,e,a))||{stops:[],outerColors:[]},o=a.getDataDimensionIndex(r);o>=0&&(i.dimension=o,n.push(i))}}),e.getData().setVisual("visualMeta",n)}}];function s3t(e,t,r,n){for(var a=t.targetVisuals[n],i=Dn.prepareVisualTypes(a),o={color:Mm(e.getData(),"color")},s=0,l=i.length;s<l;s++){var u=i[s],c=a[u==="opacity"?"__alphaForOpacity":u];c&&c.applyVisual(r,d,f)}return o.color;function d(p){return o[p]}function f(p,h){o[p]=h}}var R9=G;function l3t(e){var t=e&&e.visualMap;Ne(t)||(t=t?[t]:[]),R9(t,function(r){if(r){sf(r,"splitList")&&!sf(r,"pieces")&&(r.pieces=r.splitList,delete r.splitList);var n=r.pieces;n&&Ne(n)&&R9(n,function(a){vt(a)&&(sf(a,"start")&&!sf(a,"min")&&(a.min=a.start),sf(a,"end")&&!sf(a,"max")&&(a.max=a.end))})}})}function sf(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var M9=!1;function xX(e){M9||(M9=!0,e.registerSubTypeDefaulter("visualMap",function(t){return!t.categories&&(!(t.pieces?t.pieces.length>0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),e.registerAction(a3t,i3t),G(o3t,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(l3t))}function AX(e){e.registerComponentModel(X4t),e.registerComponentView(n3t),xX(e)}var u3t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._pieceList=[],r}return t.prototype.optionUpdated=function(r,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var a=this._mode=this._determineMode();this._pieceList=[],c3t[this._mode].call(this,this._pieceList),this._resetSelected(r,n);var i=this.option.categories;this.resetVisual(function(o,s){a==="categories"?(o.mappingMethod="category",o.categories=_t(i)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=Pe(this._pieceList,function(l){return l=_t(l),s!=="inRange"&&(l.visual=null),l}))})},t.prototype.completeVisualOption=function(){var r=this.option,n={},a=Dn.listVisualTypes(),i=this.isCategory();G(r.pieces,function(s){G(a,function(l){s.hasOwnProperty(l)&&(n[l]=1)})}),G(n,function(s,l){var u=!1;G(this.stateList,function(c){u=u||o(r,c,l)||o(r.target,c,l)},this),!u&&G(this.stateList,function(c){(r[c]||(r[c]={}))[l]=EX.get(l,c==="inRange"?"active":"inactive",i)})},this);function o(s,l,u){return s&&s[l]&&s[l].hasOwnProperty(u)}e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(r,n){var a=this.option,i=this._pieceList,o=(n?a:r).selected||{};if(a.selected=o,G(i,function(l,u){var c=this.getSelectedMapKey(l);o.hasOwnProperty(c)||(o[c]=!0)},this),a.selectedMode==="single"){var s=!1;G(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(r){return this._mode==="categories"?r.value+"":r.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var r=this.option;return r.pieces&&r.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(r){this.option.selected=_t(r)},t.prototype.getValueState=function(r){var n=Dn.findPieceIndex(r,this._pieceList);return n!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[n])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(r){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=Dn.findPieceIndex(l,a);c===r&&o.push(u)},this),n.push({seriesId:i.id,dataIndex:o})},this),n},t.prototype.getRepresentValue=function(r){var n;if(this.isCategory())n=r.value;else if(r.value!=null)n=r.value;else{var a=r.interval||[];n=a[0]===-1/0&&a[1]===1/0?0:(a[0]+a[1])/2}return n},t.prototype.getVisualMeta=function(r){if(this.isCategory())return;var n=[],a=["",""],i=this;function o(c,d){var f=i.getRepresentValue({interval:c});d||(d=i.getValueState(f));var p=r(f,d);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 G(s,function(c){var d=c.interval;d&&(d[0]>u&&o([u,d[0]],"outOfRange"),o(d.slice()),u=d[1])},this),{stops:n,outerColors:a}},t.type="visualMap.piecewise",t.defaultOption=Su(K2.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}(K2),c3t={splitNumber:function(e){var t=this.option,r=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(r)!==i&&r<5;)r++;t.precision=r,i=+i.toFixed(r),t.minOpen&&e.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;e.push({interval:[s,l],close:[1,1]})}t.maxOpen&&e.push({interval:[n[1],1/0],close:[0,0]}),EL(e),G(e,function(u,c){u.index=c,u.text=this.formatValueText(u.interval)},this)},categories:function(e){var t=this.option;G(t.categories,function(r){e.push({text:this.formatValueText(r,!0),value:r})},this),L9(t,e)},pieces:function(e){var t=this.option;G(t.pieces,function(r,n){vt(r)||(r={value:r});var a={text:"",index:n};if(r.label!=null&&(a.text=r.label),r.hasOwnProperty("value")){var i=a.value=r.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=[],d=0;d<2;d++){for(var f=[["gte","gt","min"],["lte","lt","max"]][d],p=0;p<3&&o[d]==null;p++)o[d]=r[f[p]],s[d]=l[p],c[d]=p===2;o[d]==null&&(o[d]=u[d])}c[0]&&o[1]===1/0&&(s[0]=0),c[1]&&o[0]===-1/0&&(s[1]=0),o[0]===o[1]&&s[0]&&s[1]&&(a.value=o[0])}a.visual=Dn.retrieveVisuals(r),e.push(a)},this),L9(t,e),EL(e),G(e,function(r){var n=r.close,a=[["<","≤"][n[1]],[">","≥"][n[0]]];r.text=r.text||this.formatValueText(r.value!=null?r.value:r.interval,!1,a)},this)}};function L9(e,t){var r=e.inverse;(e.orient==="vertical"?!r:r)&&t.reverse()}const d3t=u3t;var f3t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.doRender=function(){var r=this.group;r.removeAll();var n=this.visualMapModel,a=n.get("textGap"),i=n.textStyleModel,o=i.getFont(),s=i.getTextColor(),l=this._getItemAlign(),u=n.itemSize,c=this._getViewData(),d=c.endsText,f=wn(n.get("showLabel",!0),!d);d&&this._renderEndsText(r,d[0],u,f,l),G(c.viewPieceList,function(p){var h=p.piece,v=new wt;v.onclick=rt(this._onItemClick,this,h),this._enableHoverLink(v,p.indexInModelPieceList);var g=n.getRepresentValue(h);if(this._createItemSymbol(v,g,[0,0,u[0],u[1]]),f){var m=this.visualMapModel.getValueState(g);v.add(new er({style:{x:l==="right"?-a:u[0]+a,y:u[1]/2,text:h.text,verticalAlign:"middle",align:l,font:o,fill:s,opacity:m==="outOfRange"?.5:1}}))}r.add(v)},this),d&&this._renderEndsText(r,d[1],u,f,l),Qc(n.get("orient"),r,n.get("itemGap")),this.renderBackground(r),this.positionGroup(r)},t.prototype._enableHoverLink=function(r,n){var a=this;r.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:y1(s.findTargetDataIndices(n),s)})}},t.prototype._getItemAlign=function(){var r=this.visualMapModel,n=r.option;if(n.orient==="vertical")return TX(r,this.api,r.itemSize);var a=n.align;return(!a||a==="auto")&&(a="left"),a},t.prototype._renderEndsText=function(r,n,a,i,o){if(n){var s=new wt,l=this.visualMapModel.textStyleModel;s.add(new er({style:_r(l,{x:i?o==="right"?a[0]:0:a[0]/2,y:a[1]/2,verticalAlign:"middle",align:i?o:"center",text:n})})),r.add(s)}},t.prototype._getViewData=function(){var r=this.visualMapModel,n=Pe(r.getPieceList(),function(s,l){return{piece:s,indexInModelPieceList:l}}),a=r.get("text"),i=r.get("orient"),o=r.get("inverse");return(i==="horizontal"?o:!o)?n.reverse():a&&(a=a.slice().reverse()),{viewPieceList:n,endsText:a}},t.prototype._createItemSymbol=function(r,n,a){r.add(an(this.getControllerVisual(n,"symbol"),a[0],a[1],a[2],a[3],this.getControllerVisual(n,"color")))},t.prototype._onItemClick=function(r){var n=this.visualMapModel,a=n.option,i=a.selectedMode;if(i){var o=_t(a.selected),s=n.getSelectedMapKey(r);i==="single"||i===!0?(o[s]=!0,G(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}(CX);const p3t=f3t;function kX(e){e.registerComponentModel(d3t),e.registerComponentView(p3t),xX(e)}function h3t(e){Ft(AX),Ft(kX)}var v3t={label:{enabled:!0},decal:{show:!1}},D9=Zt(),g3t={};function m3t(e,t){var r=e.getModel("aria");if(!r.get("enabled"))return;var n=_t(v3t);Nt(n.label,e.getLocaleModel().get("aria"),!1),Nt(r.option,n,!1),a(),i();function a(){var u=r.getModel("decal"),c=u.get("show");if(c){var d=lt();e.eachSeries(function(f){if(!f.isColorBySeries()){var p=d.get(f.type);p||(p={},d.set(f.type,p)),D9(f).scope=p}}),e.eachRawSeries(function(f){if(e.isSeriesFiltered(f))return;if(ft(f.enableAriaDecal)){f.enableAriaDecal();return}var p=f.getData();if(f.isColorBySeries()){var y=f6(f.ecModel,f.name,g3t,e.getSeriesCount()),_=p.getVisual("decal");p.setVisual("decal",w(_,y))}else{var h=f.getRawData(),v={},g=D9(f).scope;p.each(function(E){var S=p.getRawIndex(E);v[S]=E});var m=h.count();h.each(function(E){var S=v[E],C=h.getName(E)||E+"",T=f6(f.ecModel,C,g,m),x=p.getItemVisual(S,"decal");p.setItemVisual(S,"decal",w(x,T))})}function w(E,S){var C=E?Me(Me({},S),E):S;return C.dirty=!0,C}})}}function i(){var u=e.getLocaleModel().get("aria"),c=r.getModel("label");if(c.option=ht(c.option,u),!!c.get("enabled")){var d=t.getZr().dom;if(c.get("description")){d.setAttribute("aria-label",c.get("description"));return}var f=e.getSeriesCount(),p=c.get(["data","maxCount"])||10,h=c.get(["series","maxCount"])||10,v=Math.min(f,h),g;if(!(f<1)){var m=s();if(m){var y=c.get(["general","withTitle"]);g=o(y,{title:m})}else g=c.get(["general","withoutTitle"]);var _=[],w=f>1?c.get(["series","multiple","prefix"]):c.get(["series","single","prefix"]);g+=o(w,{seriesCount:f}),e.eachSeries(function(T,x){if(x<v){var A=void 0,k=T.get("name"),R=k?"withName":"withoutName";A=f>1?c.get(["series","multiple",R]):c.get(["series","single",R]),A=o(A,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:l(T.subType)});var M=T.getData();if(M.count()>p){var O=c.get(["data","partialData"]);A+=o(O,{displayCnt:p})}else A+=c.get(["data","allData"]);for(var z=c.get(["data","separator","middle"]),B=c.get(["data","separator","end"]),P=[],F=0;F<M.count();F++)if(F<p){var D=M.getName(F),H=M.getValues(F),K=c.get(["data",D?"withName":"withoutName"]);P.push(o(K,{name:D,value:H.join(z)}))}A+=P.join(z)+B,_.push(A)}});var E=c.getModel(["series","multiple","separator"]),S=E.get("middle"),C=E.get("end");g+=_.join(S)+C,d.setAttribute("aria-label",g)}}}function o(u,c){if(!et(u))return u;var d=u;return G(c,function(f,p){d=d.replace(new RegExp("\\{\\s*"+p+"\\s*\\}","g"),f)}),d}function s(){var u=e.get("title");return u&&u.length&&(u=u[0]),u&&u.text}function l(u){return e.getLocaleModel().get(["series","typeNames"])[u]||"自定义图"}}function y3t(e){if(!(!e||!e.aria)){var t=e.aria;t.show!=null&&(t.enabled=t.show),t.label=t.label||{},G(["description","general","series","data"],function(r){t[r]!=null&&(t.label[r]=t[r])})}}function _3t(e){e.registerPreprocessor(y3t),e.registerVisual(e.PRIORITY.VISUAL.ARIA,m3t)}var O9={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},b3t=function(){function e(t){var r=this._condVal=et(t)?new RegExp(t):rnt(t)?t:null;if(r==null){var n="";ar(n)}}return e.prototype.evaluate=function(t){var r=typeof t;return et(r)?this._condVal.test(t):tr(r)?this._condVal.test(t+""):!1},e}(),w3t=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),S3t=function(){function e(){}return e.prototype.evaluate=function(){for(var t=this.children,r=0;r<t.length;r++)if(!t[r].evaluate())return!1;return!0},e}(),E3t=function(){function e(){}return e.prototype.evaluate=function(){for(var t=this.children,r=0;r<t.length;r++)if(t[r].evaluate())return!0;return!1},e}(),C3t=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),T3t=function(){function e(){}return e.prototype.evaluate=function(){for(var t=!!this.valueParser,r=this.getValue,n=r(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},e}();function V8(e,t){if(e===!0||e===!1){var r=new w3t;return r.value=e,r}var n="";return IX(e)||ar(n),e.and?N9("and",e,t):e.or?N9("or",e,t):e.not?x3t(e,t):A3t(e,t)}function N9(e,t,r){var n=t[e],a="";Ne(n)||ar(a),n.length||ar(a);var i=e==="and"?new S3t:new E3t;return i.children=Pe(n,function(o){return V8(o,r)}),i.children.length||ar(a),i}function x3t(e,t){var r=e.not,n="";IX(r)||ar(n);var a=new C3t;return a.child=V8(r,t),a.child||ar(n),a}function A3t(e,t){for(var r="",n=t.prepareGetValue(e),a=[],i=Wt(e),o=e.parser,s=o?aK(o):null,l=0;l<i.length;l++){var u=i[l];if(!(u==="parser"||t.valueGetterAttrMap.get(u))){var c=nt(O9,u)?O9[u]:u,d=e[u],f=s?s(d):d,p=llt(c,f)||c==="reg"&&new b3t(f);p||ar(r),a.push(p)}}a.length||ar(r);var h=new T3t;return h.valueGetterParam=n,h.valueParser=s,h.getValue=t.getValue,h.subCondList=a,h}function IX(e){return vt(e)&&!qn(e)}var k3t=function(){function e(t,r){this._cond=V8(t,r)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}();function I3t(e,t){return new k3t(e,t)}var R3t={type:"echarts:filter",transform:function(e){for(var t=e.upstream,r,n=I3t(e.config,{valueGetterAttrMap:lt({dimension:!0}),prepareGetValue:function(s){var l="",u=s.dimension;nt(s,"dimension")||ar(l);var c=t.getDimensionInfo(u);return c||ar(l),{dimIdx:c.index}},getValue:function(s){return t.retrieveValueFromItem(r,s.dimIdx)}}),a=[],i=0,o=t.count();i<o;i++)r=t.getRawDataItem(i),n.evaluate()&&a.push(r);return{data:a}}},M3t={type:"echarts:sort",transform:function(e){var t=e.upstream,r=e.config,n="",a=fr(r);a.length||ar(n);var i=[];G(a,function(c){var d=c.dimension,f=c.order,p=c.parser,h=c.incomparable;if(d==null&&ar(n),f!=="asc"&&f!=="desc"&&ar(n),h&&h!=="min"&&h!=="max"){var v="";ar(v)}if(f!=="asc"&&f!=="desc"){var g="";ar(g)}var m=t.getDimensionInfo(d);m||ar(n);var y=p?aK(p):null;p&&!y&&ar(n),i.push({dimIdx:m.index,parser:y,comparator:new oK(f,h)})});var o=t.sourceFormat;o!==jn&&o!==Fi&&ar(n);for(var s=[],l=0,u=t.count();l<u;l++)s.push(t.getRawDataItem(l));return s.sort(function(c,d){for(var f=0;f<i.length;f++){var p=i[f],h=t.retrieveValueFromItem(c,p.dimIdx),v=t.retrieveValueFromItem(d,p.dimIdx);p.parser&&(h=p.parser(h),v=p.parser(v));var g=p.comparator.evaluate(h,v);if(g!==0)return g}return 0}),{data:s}}};function L3t(e){e.registerTransform(R3t),e.registerTransform(M3t)}var D3t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="dataset",r}return t.prototype.init=function(r,n,a){e.prototype.init.call(this,r,n,a),this._sourceManager=new cK(this),$D(this)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),$D(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:Uo},t}(Qt),O3t=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="dataset",r}return t.type="dataset",t}($r);function N3t(e){e.registerComponentModel(D3t),e.registerComponentView(O3t)}var Eo=es.CMD;function If(e,t){return Math.abs(e-t)<1e-5}function dC(e){var t=e.data,r=e.len(),n=[],a,i=0,o=0,s=0,l=0;function u(M,O){a&&a.length>2&&n.push(a),a=[M,O]}function c(M,O,z,B){If(M,z)&&If(O,B)||a.push(M,O,z,B,z,B)}function d(M,O,z,B,P,F){var D=Math.abs(O-M),H=Math.tan(D/4)*4/3,K=O<M?-1:1,Y=Math.cos(M),X=Math.sin(M),J=Math.cos(O),fe=Math.sin(O),se=Y*P+z,q=X*F+B,j=J*P+z,ae=fe*F+B,ne=P*H*K,le=F*H*K;a.push(se-ne*X,q+le*Y,j+ne*fe,ae-le*J,j,ae)}for(var f,p,h,v,g=0;g<r;){var m=t[g++],y=g===1;switch(y&&(i=t[g],o=t[g+1],s=i,l=o,(m===Eo.L||m===Eo.C||m===Eo.Q)&&(a=[s,l])),m){case Eo.M:i=s=t[g++],o=l=t[g++],u(s,l);break;case Eo.L:f=t[g++],p=t[g++],c(i,o,f,p),i=f,o=p;break;case Eo.C:a.push(t[g++],t[g++],t[g++],t[g++],i=t[g++],o=t[g++]);break;case Eo.Q:f=t[g++],p=t[g++],h=t[g++],v=t[g++],a.push(i+2/3*(f-i),o+2/3*(p-o),h+2/3*(f-h),v+2/3*(p-v),h,v),i=h,o=v;break;case Eo.A:var _=t[g++],w=t[g++],E=t[g++],S=t[g++],C=t[g++],T=t[g++]+C;g+=1;var x=!t[g++];f=Math.cos(C)*E+_,p=Math.sin(C)*S+w,y?(s=f,l=p,u(s,l)):c(i,o,f,p),i=Math.cos(T)*E+_,o=Math.sin(T)*S+w;for(var A=(x?-1:1)*Math.PI/2,k=C;x?k>T:k<T;k+=A){var R=x?Math.max(k+A,T):Math.min(k+A,T);d(k,R,_,w,E,S)}break;case Eo.R:s=i=t[g++],l=o=t[g++],f=s+t[g++],p=l+t[g++],u(f,l),c(f,l,f,p),c(f,p,s,p),c(s,p,s,l),c(s,l,f,l);break;case Eo.Z:a&&c(i,o,s,l),i=s,o=l;break}}return a&&a.length>2&&n.push(a),n}function fC(e,t,r,n,a,i,o,s,l,u){if(If(e,r)&&If(t,n)&&If(a,o)&&If(i,s)){l.push(o,s);return}var c=2/u,d=c*c,f=o-e,p=s-t,h=Math.sqrt(f*f+p*p);f/=h,p/=h;var v=r-e,g=n-t,m=a-o,y=i-s,_=v*v+g*g,w=m*m+y*y;if(_<d&&w<d){l.push(o,s);return}var E=f*v+p*g,S=-f*m-p*y,C=_-E*E,T=w-S*S;if(C<d&&E>=0&&T<d&&S>=0){l.push(o,s);return}var x=[],A=[];su(e,r,a,o,.5,x),su(t,n,i,s,.5,A),fC(x[0],A[0],x[1],A[1],x[2],A[2],x[3],A[3],l,u),fC(x[4],A[4],x[5],A[5],x[6],A[6],x[7],A[7],l,u)}function P3t(e,t){var r=dC(e),n=[];t=t||1;for(var a=0;a<r.length;a++){var i=r[a],o=[],s=i[0],l=i[1];o.push(s,l);for(var u=2;u<i.length;){var c=i[u++],d=i[u++],f=i[u++],p=i[u++],h=i[u++],v=i[u++];fC(s,l,c,d,f,p,h,v,o,t),s=h,l=v}n.push(o)}return n}function RX(e,t,r){var n=e[t],a=e[1-t],i=Math.abs(n/a),o=Math.ceil(Math.sqrt(i*r)),s=Math.floor(r/o);s===0&&(s=1,o=r);for(var l=[],u=0;u<o;u++)l.push(s);var c=o*s,d=r-c;if(d>0)for(var u=0;u<d;u++)l[u%o]+=1;return l}function P9(e,t,r){for(var n=e.r0,a=e.r,i=e.startAngle,o=e.endAngle,s=Math.abs(o-i),l=s*a,u=a-n,c=l>Math.abs(u),d=RX([l,u],c?0:1,t),f=(c?s:u)/d.length,p=0;p<d.length;p++)for(var h=(c?u:s)/d[p],v=0;v<d[p];v++){var g={};c?(g.startAngle=i+f*p,g.endAngle=i+f*(p+1),g.r0=n+h*v,g.r=n+h*(v+1)):(g.startAngle=i+h*v,g.endAngle=i+h*(v+1),g.r0=n+f*p,g.r=n+f*(p+1)),g.clockwise=e.clockwise,g.cx=e.cx,g.cy=e.cy,r.push(g)}}function $3t(e,t,r){for(var n=e.width,a=e.height,i=n>a,o=RX([n,a],i?0:1,t),s=i?"width":"height",l=i?"height":"width",u=i?"x":"y",c=i?"y":"x",d=e[s]/o.length,f=0;f<o.length;f++)for(var p=e[l]/o[f],h=0;h<o[f];h++){var v={};v[u]=f*d,v[c]=h*p,v[s]=d,v[l]=p,v.x+=e.x,v.y+=e.y,r.push(v)}}function $9(e,t,r,n){return e*n-r*t}function B3t(e,t,r,n,a,i,o,s){var l=r-e,u=n-t,c=o-a,d=s-i,f=$9(c,d,l,u);if(Math.abs(f)<1e-6)return null;var p=e-a,h=t-i,v=$9(p,h,c,d)/f;return v<0||v>1?null:new Lt(v*l+e,v*u+t)}function F3t(e,t,r){var n=new Lt;Lt.sub(n,r,t),n.normalize();var a=new Lt;Lt.sub(a,e,t);var i=a.dot(n);return i}function lf(e,t){var r=e[e.length-1];r&&r[0]===t[0]&&r[1]===t[1]||e.push(t)}function z3t(e,t,r){for(var n=e.length,a=[],i=0;i<n;i++){var o=e[i],s=e[(i+1)%n],l=B3t(o[0],o[1],s[0],s[1],t.x,t.y,r.x,r.y);l&&a.push({projPt:F3t(l,t,r),pt:l,idx:i})}if(a.length<2)return[{points:e},{points:e}];a.sort(function(g,m){return g.projPt-m.projPt});var u=a[0],c=a[a.length-1];if(c.idx<u.idx){var d=u;u=c,c=d}for(var f=[u.pt.x,u.pt.y],p=[c.pt.x,c.pt.y],h=[f],v=[p],i=u.idx+1;i<=c.idx;i++)lf(h,e[i].slice());lf(h,p),lf(h,f);for(var i=c.idx+1;i<=u.idx+n;i++)lf(v,e[i%n].slice());return lf(v,f),lf(v,p),[{points:h},{points:v}]}function B9(e){var t=e.points,r=[],n=[];Z_(t,r,n);var a=new Pt(r[0],r[1],n[0]-r[0],n[1]-r[1]),i=a.width,o=a.height,s=a.x,l=a.y,u=new Lt,c=new Lt;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),z3t(t,u,c)}function Y2(e,t,r,n){if(r===1)n.push(t);else{var a=Math.floor(r/2),i=e(t);Y2(e,i[0],a,n),Y2(e,i[1],r-a,n)}return n}function V3t(e,t){for(var r=[],n=0;n<t;n++)r.push(aA(e));return r}function H3t(e,t){t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel}function U3t(e){for(var t=[],r=0;r<e.length;)t.push([e[r++],e[r++]]);return t}function G3t(e,t){var r=[],n=e.shape,a;switch(e.type){case"rect":$3t(n,t,r),a=Xt;break;case"sector":P9(n,t,r),a=Na;break;case"circle":P9({r0:0,r:n.r,startAngle:0,endAngle:Math.PI*2,cx:n.cx,cy:n.cy},t,r),a=Na;break;default:var i=e.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=Pe(P3t(e.getUpdatedPathProxy(),o),function(m){return U3t(m)}),l=s.length;if(l===0)Y2(B9,{points:s[0]},t,r);else if(l===t)for(var u=0;u<l;u++)r.push({points:s[u]});else{var c=0,d=Pe(s,function(m){var y=[],_=[];Z_(m,y,_);var w=(_[1]-y[1])*(_[0]-y[0]);return c+=w,{poly:m,area:w}});d.sort(function(m,y){return y.area-m.area});for(var f=t,u=0;u<l;u++){var p=d[u];if(f<=0)break;var h=u===l-1?f:Math.ceil(p.area/c*t);h<0||(Y2(B9,{points:p.poly},h,r),f-=h)}}a=Pa;break}if(!a)return V3t(e,t);for(var v=[],u=0;u<r.length;u++){var g=new a;g.setShape(r[u]),H3t(e,g),v.push(g)}return v}function W3t(e,t){var r=e.length,n=t.length;if(r===n)return[e,t];for(var a=[],i=[],o=r<n?e:t,s=Math.min(r,n),l=Math.abs(n-r)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,d=[o[0],o[1]],f=l,p=2;p<s;){var h=o[p-2],v=o[p-1],g=o[p++],m=o[p++],y=o[p++],_=o[p++],w=o[p++],E=o[p++];if(f<=0){d.push(g,m,y,_,w,E);continue}for(var S=Math.min(f,c-1)+1,C=1;C<=S;C++){var T=C/S;su(h,g,y,w,T,a),su(v,m,_,E,T,i),h=a[3],v=i[3],d.push(a[1],i[1],a[2],i[2],h,v),g=a[5],m=i[5],y=a[6],_=i[6]}f-=S-1}return o===e?[d,t]:[e,d]}function F9(e,t){for(var r=e.length,n=e[r-2],a=e[r-1],i=[],o=0;o<t.length;)i[o++]=n,i[o++]=a;return i}function K3t(e,t){for(var r,n,a,i=[],o=[],s=0;s<Math.max(e.length,t.length);s++){var l=e[s],u=t[s],c=void 0,d=void 0;l?u?(r=W3t(l,u),c=r[0],d=r[1],n=c,a=d):(d=F9(a||l,l),c=l):(c=F9(n||u,u),d=u),i.push(c),o.push(d)}return[i,o]}function z9(e){for(var t=0,r=0,n=0,a=e.length,i=0,o=a-2;i<a;o=i,i+=2){var s=e[o],l=e[o+1],u=e[i],c=e[i+1],d=s*c-u*l;t+=d,r+=(s+u)*d,n+=(l+c)*d}return t===0?[e[0]||0,e[1]||0]:[r/t/3,n/t/3,t]}function Y3t(e,t,r,n){for(var a=(e.length-2)/6,i=1/0,o=0,s=e.length,l=s-2,u=0;u<a;u++){for(var c=u*6,d=0,f=0;f<s;f+=2){var p=f===0?c:(c+f-2)%l+2,h=e[p]-r[0],v=e[p+1]-r[1],g=t[f]-n[0],m=t[f+1]-n[1],y=g-h,_=m-v;d+=y*y+_*_}d<i&&(i=d,o=u)}return o}function q3t(e){for(var t=[],r=e.length,n=0;n<r;n+=2)t[n]=e[r-n-2],t[n+1]=e[r-n-1];return t}function j3t(e,t,r,n){for(var a=[],i,o=0;o<e.length;o++){var s=e[o],l=t[o],u=z9(s),c=z9(l);i==null&&(i=u[2]<0!=c[2]<0);var d=[],f=[],p=0,h=1/0,v=[],g=s.length;i&&(s=q3t(s));for(var m=Y3t(s,l,u,c)*6,y=g-2,_=0;_<y;_+=2){var w=(m+_)%y+2;d[_+2]=s[w]-u[0],d[_+3]=s[w+1]-u[1]}if(d[0]=s[m]-u[0],d[1]=s[m+1]-u[1],r>0)for(var E=n/r,S=-n/2;S<=n/2;S+=E){for(var C=Math.sin(S),T=Math.cos(S),x=0,_=0;_<s.length;_+=2){var A=d[_],k=d[_+1],R=l[_]-c[0],M=l[_+1]-c[1],O=R*T-M*C,z=R*C+M*T;v[_]=O,v[_+1]=z;var B=O-A,P=z-k;x+=B*B+P*P}if(x<h){h=x,p=S;for(var F=0;F<v.length;F++)f[F]=v[F]}}else for(var D=0;D<g;D+=2)f[D]=l[D]-c[0],f[D+1]=l[D+1]-c[1];a.push({from:d,to:f,fromCp:u,toCp:c,rotation:-p})}return a}function q2(e){return e.__isCombineMorphing}var MX="__mOriginal_";function j2(e,t,r){var n=MX+t,a=e[n]||e[t];e[n]||(e[n]=e[t]);var i=r.replace,o=r.after,s=r.before;e[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 zv(e,t){var r=MX+t;e[r]&&(e[t]=e[r],e[r]=null)}function V9(e,t){for(var r=0;r<e.length;r++)for(var n=e[r],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 LX(e,t){var r=e.getUpdatedPathProxy(),n=t.getUpdatedPathProxy(),a=K3t(dC(r),dC(n)),i=a[0],o=a[1],s=e.getComputedTransform(),l=t.getComputedTransform();function u(){this.transform=null}s&&V9(i,s),l&&V9(o,l),j2(t,"updateTransform",{replace:u}),t.transform=null;var c=j3t(i,o,10,Math.PI),d=[];j2(t,"buildPath",{replace:function(f){for(var p=t.__morphT,h=1-p,v=[],g=0;g<c.length;g++){var m=c[g],y=m.from,_=m.to,w=m.rotation*p,E=m.fromCp,S=m.toCp,C=Math.sin(w),T=Math.cos(w);e1(v,E,S,p);for(var x=0;x<y.length;x+=2){var A=y[x],k=y[x+1],R=_[x],M=_[x+1],O=A*h+R*p,z=k*h+M*p;d[x]=O*T-z*C+v[0],d[x+1]=O*C+z*T+v[1]}var B=d[0],P=d[1];f.moveTo(B,P);for(var x=2;x<y.length;){var R=d[x++],M=d[x++],F=d[x++],D=d[x++],H=d[x++],K=d[x++];B===R&&P===M&&F===H&&D===K?f.lineTo(H,K):f.bezierCurveTo(R,M,F,D,H,K),B=H,P=K}}}})}function H8(e,t,r){if(!e||!t)return t;var n=r.done,a=r.during;LX(e,t),t.__morphT=0;function i(){zv(t,"buildPath"),zv(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape()}return t.animateTo({__morphT:1},ht({during:function(o){t.dirtyShape(),a&&a(o)},done:function(){i(),n&&n()}},r)),t}function X3t(e,t,r,n,a,i){var o=16;e=a===r?0:Math.round(32767*(e-r)/(a-r)),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,d=0;(e&u)>0&&(c=1),(t&u)>0&&(d=1),s+=u*u*(3*c^d),d===0&&(c===1&&(e=u-1-e,t=u-1-t),l=e,e=t,t=l)}return s}function X2(e){var t=1/0,r=1/0,n=-1/0,a=-1/0,i=Pe(e,function(s){var l=s.getBoundingRect(),u=s.getComputedTransform(),c=l.x+l.width/2+(u?u[4]:0),d=l.y+l.height/2+(u?u[5]:0);return t=Math.min(c,t),r=Math.min(d,r),n=Math.max(c,n),a=Math.max(d,a),[c,d]}),o=Pe(i,function(s,l){return{cp:s,z:X3t(s[0],s[1],t,r,n,a),path:e[l]}});return o.sort(function(s,l){return s.z-l.z}).map(function(s){return s.path})}function DX(e){return G3t(e.path,e.count)}function pC(){return{fromIndividuals:[],toIndividuals:[],count:0}}function Z3t(e,t,r){var n=[];function a(E){for(var S=0;S<E.length;S++){var C=E[S];q2(C)?a(C.childrenRef()):C instanceof Vt&&n.push(C)}}a(e);var i=n.length;if(!i)return pC();var o=r.dividePath||DX,s=o({path:t,count:i});if(s.length!==i)return console.error("Invalid morphing: unmatched splitted path"),pC();n=X2(n),s=X2(s);for(var l=r.done,u=r.during,c=r.individualDelay,d=new ws,f=0;f<i;f++){var p=n[f],h=s[f];h.parent=t,h.copyTransform(d),c||LX(p,h)}t.__isCombineMorphing=!0,t.childrenRef=function(){return s};function v(E){for(var S=0;S<s.length;S++)s[S].addSelfToZr(E)}j2(t,"addSelfToZr",{after:function(E){v(E)}}),j2(t,"removeSelfFromZr",{after:function(E){for(var S=0;S<s.length;S++)s[S].removeSelfFromZr(E)}});function g(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,zv(t,"addSelfToZr"),zv(t,"removeSelfFromZr")}var m=s.length;if(c)for(var y=m,_=function(){y--,y===0&&(g(),l&&l())},f=0;f<m;f++){var w=c?ht({delay:(r.delay||0)+c(f,m,n[f],s[f]),done:_},r):r;H8(n[f],s[f],w)}else t.__morphT=0,t.animateTo({__morphT:1},ht({during:function(E){for(var S=0;S<m;S++){var C=s[S];C.__morphT=t.__morphT,C.dirtyShape()}u&&u(E)},done:function(){g();for(var E=0;E<e.length;E++)zv(e[E],"updateTransform");l&&l()}},r));return t.__zr&&v(t.__zr),{fromIndividuals:n,toIndividuals:s,count:m}}function Q3t(e,t,r){var n=t.length,a=[],i=r.dividePath||DX;function o(p){for(var h=0;h<p.length;h++){var v=p[h];q2(v)?o(v.childrenRef()):v instanceof Vt&&a.push(v)}}if(q2(e)){o(e.childrenRef());var s=a.length;if(s<n)for(var l=0,u=s;u<n;u++)a.push(aA(a[l++%s]));a.length=n}else{a=i({path:e,count:n});for(var c=e.getComputedTransform(),u=0;u<a.length;u++)a[u].setLocalTransform(c);if(a.length!==n)return console.error("Invalid morphing: unmatched splitted path"),pC()}a=X2(a),t=X2(t);for(var d=r.individualDelay,u=0;u<n;u++){var f=d?ht({delay:(r.delay||0)+d(u,n,a[u],t[u])},r):r;H8(a[u],t[u],f)}return{fromIndividuals:a,toIndividuals:t,count:t.length}}function H9(e){return Ne(e[0])}function U9(e,t){for(var r=[],n=e.length,a=0;a<n;a++)r.push({one:e[a],many:[]});for(var a=0;a<t.length;a++){var i=t[a].length,o=void 0;for(o=0;o<i;o++)r[o%n].many.push(t[a][o])}for(var s=0,a=n-1;a>=0;a--)if(!r[a].many.length){var l=r[s].many;if(l.length<=1)if(s)s=0;else return r;var i=l.length,u=Math.ceil(i/2);r[a].many=l.slice(u,i),r[s].many=l.slice(0,u),s++}return r}var J3t={clone:function(e){for(var t=[],r=1-Math.pow(1-e.path.style.opacity,1/e.count),n=0;n<e.count;n++){var a=aA(e.path);a.setStyle("opacity",r),t.push(a)}return t},split:null};function F4(e,t,r,n,a,i){if(!e.length||!t.length)return;var o=Gp("update",n,a);if(!(o&&o.duration>0))return;var s=n.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},o),u,c;H9(e)&&(u=e,c=t),H9(t)&&(u=t,c=e);function d(m,y,_,w,E){var S=m.many,C=m.one;if(S.length===1&&!E){var T=y?S[0]:C,x=y?C:S[0];if(q2(T))d({many:[T],one:x},!0,_,w,!0);else{var A=s?ht({delay:s(_,w)},l):l;H8(T,x,A),i(T,x,T,x,A)}}else for(var k=ht({dividePath:J3t[r],individualDelay:s&&function(P,F,D,H){return s(P+_,w)}},l),R=y?Z3t(S,C,k):Q3t(C,S,k),M=R.fromIndividuals,O=R.toIndividuals,z=M.length,B=0;B<z;B++){var A=s?ht({delay:s(B,z)},l):l;i(M[B],O[B],y?S[B]:m.one,y?m.one:S[B],A)}}for(var f=u?u===e:e.length>t.length,p=u?U9(c,u):U9(f?t:e,[f?e:t]),h=0,v=0;v<p.length;v++)h+=p[v].many.length;for(var g=0,v=0;v<p.length;v++)d(p[v],f,g,h),g+=p[v].many.length}function uc(e){if(!e)return[];if(Ne(e)){for(var t=[],r=0;r<e.length;r++)t.push(uc(e[r]));return t}var n=[];return e.traverse(function(a){a instanceof Vt&&!a.disableMorphing&&!a.invisible&&!a.ignore&&n.push(a)}),n}var OX=1e4,eEt=Zt();function tEt(e){for(var t=e.dimensions,r=0;r<t.length;r++){var n=e.getDimensionInfo(t[r]);if(n&&n.otherDims.itemGroupId===0)return t[r]}}function G9(e){var t=[];return G(e,function(r){var n=r.data;if(!(n.count()>OX))for(var a=n.getIndices(),i=tEt(n),o=0;o<a.length;o++)t.push({dataGroupId:r.dataGroupId,data:n,dim:r.dim||i,divide:r.divide,dataIndex:o})}),t}function z4(e,t,r){e.traverse(function(n){n instanceof Vt&&Ar(n,{style:{opacity:0}},t,{dataIndex:r,isFrom:!0})})}function V4(e){if(e.parent){var t=e.getComputedTransform();e.setLocalTransform(t),e.parent.remove(e)}}function uf(e){e.stopAnimation(),e.isGroup&&e.traverse(function(t){t.stopAnimation()})}function rEt(e,t,r){var n=Gp("update",r,t);n&&e.traverse(function(a){if(a instanceof Pi){var i=Vot(a);i&&a.animateFrom({style:i},n)}})}function nEt(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++){var a=e[n],i=t[n];if(a.data.getId(a.dataIndex)!==i.data.getId(i.dataIndex))return!1}return!0}function NX(e,t,r){var n=G9(e),a=G9(t);function i(m,y,_,w,E){(_||m)&&y.animateFrom({style:_&&_!==m?Me(Me({},_.style),m.style):m.style},E)}function o(m){for(var y=0;y<m.length;y++)if(m[y].dim)return m[y].dim}var s=o(n),l=o(a),u=!1;function c(m,y){return function(_){var w=_.data,E=_.dataIndex;if(y)return w.getId(E);var S=_.dataGroupId,C=m?s||l:l||s,T=C&&w.getDimensionInfo(C),x=T&&T.ordinalMeta;if(T){var A=w.get(T.name,E);return x&&x.categories[A]||A+""}var k=w.getRawDataItem(E);return k&&k.groupId?k.groupId+"":S||w.getId(E)}}var d=nEt(n,a),f={};if(!d)for(var p=0;p<a.length;p++){var h=a[p],v=h.data.getItemGraphicEl(h.dataIndex);v&&(f[v.id]=!0)}function g(m,y){var _=n[y],w=a[m],E=w.data.hostModel,S=_.data.getItemGraphicEl(_.dataIndex),C=w.data.getItemGraphicEl(w.dataIndex);if(S===C){C&&rEt(C,w.dataIndex,E);return}S&&f[S.id]||C&&(uf(C),S?(uf(S),V4(S),u=!0,F4(uc(S),uc(C),w.divide,E,m,i)):z4(C,E,m))}new Hs(n,a,c(!0,d),c(!1,d),null,"multiple").update(g).updateManyToOne(function(m,y){var _=a[m],w=_.data,E=w.hostModel,S=w.getItemGraphicEl(_.dataIndex),C=ur(Pe(y,function(T){return n[T].data.getItemGraphicEl(n[T].dataIndex)}),function(T){return T&&T!==S&&!f[T.id]});S&&(uf(S),C.length?(G(C,function(T){uf(T),V4(T)}),u=!0,F4(uc(C),uc(S),_.divide,E,m,i)):z4(S,E,_.dataIndex))}).updateOneToMany(function(m,y){var _=n[y],w=_.data.getItemGraphicEl(_.dataIndex);if(!(w&&f[w.id])){var E=ur(Pe(m,function(C){return a[C].data.getItemGraphicEl(a[C].dataIndex)}),function(C){return C&&C!==w}),S=a[m[0]].data.hostModel;E.length&&(G(E,function(C){return uf(C)}),w?(uf(w),V4(w),u=!0,F4(uc(w),uc(E),_.divide,S,m[0],i)):G(E,function(C){return z4(C,S,m[0])}))}}).updateManyToMany(function(m,y){new Hs(y,m,function(_){return n[_].data.getId(n[_].dataIndex)},function(_){return a[_].data.getId(a[_].dataIndex)}).update(function(_,w){g(m[_],y[w])}).execute()}).execute(),u&&G(t,function(m){var y=m.data,_=y.hostModel,w=_&&r.getViewOfSeriesModel(_),E=Gp("update",_,0);w&&_.isAnimationEnabled()&&E&&E.duration>0&&w.group.traverse(function(S){S instanceof Vt&&!S.animators.length&&S.animateFrom({style:{opacity:0}},E)})})}function W9(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function K9(e){return Ne(e)?e.sort().join(","):e}function Tl(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function aEt(e,t){var r=lt(),n=lt(),a=lt();return G(e.oldSeries,function(i,o){var s=e.oldDataGroupIds[o],l=e.oldData[o],u=W9(i),c=K9(u);n.set(c,{dataGroupId:s,data:l}),Ne(u)&&G(u,function(d){a.set(d,{key:c,dataGroupId:s,data:l})})}),G(t.updatedSeries,function(i){if(i.isUniversalTransitionEnabled()&&i.isAnimationEnabled()){var o=i.get("dataGroupId"),s=i.getData(),l=W9(i),u=K9(l),c=n.get(u);if(c)r.set(u,{oldSeries:[{dataGroupId:c.dataGroupId,divide:Tl(c.data),data:c.data}],newSeries:[{dataGroupId:o,divide:Tl(s),data:s}]});else if(Ne(l)){var d=[];G(l,function(h){var v=n.get(h);v.data&&d.push({dataGroupId:v.dataGroupId,divide:Tl(v.data),data:v.data})}),d.length&&r.set(u,{oldSeries:d,newSeries:[{dataGroupId:o,data:s,divide:Tl(s)}]})}else{var f=a.get(l);if(f){var p=r.get(f.key);p||(p={oldSeries:[{dataGroupId:f.dataGroupId,data:f.data,divide:Tl(f.data)}],newSeries:[]},r.set(f.key,p)),p.newSeries.push({dataGroupId:o,data:s,divide:Tl(s)})}}}}),r}function Y9(e,t){for(var r=0;r<e.length;r++){var n=t.seriesIndex!=null&&t.seriesIndex===e[r].seriesIndex||t.seriesId!=null&&t.seriesId===e[r].id;if(n)return r}}function iEt(e,t,r,n){var a=[],i=[];G(fr(e.from),function(o){var s=Y9(t.oldSeries,o);s>=0&&a.push({dataGroupId:t.oldDataGroupIds[s],data:t.oldData[s],divide:Tl(t.oldData[s]),dim:o.dimension})}),G(fr(e.to),function(o){var s=Y9(r.updatedSeries,o);if(s>=0){var l=r.updatedSeries[s].getData();i.push({dataGroupId:t.oldDataGroupIds[s],data:l,divide:Tl(l),dim:o.dimension})}}),a.length>0&&i.length>0&&NX(a,i,n)}function oEt(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,r,n){G(fr(n.seriesTransition),function(a){G(fr(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][f1]=!0)})})}),e.registerUpdateLifecycle("series:transition",function(t,r,n){var a=eEt(r);if(a.oldSeries&&n.updatedSeries&&n.optionChanged){var i=n.seriesTransition;if(i)G(fr(i),function(p){iEt(p,a,n,r)});else{var o=aEt(a,n);G(o.keys(),function(p){var h=o.get(p);NX(h.oldSeries,h.newSeries,r)})}G(n.updatedSeries,function(p){p[f1]&&(p[f1]=!1)})}for(var s=t.getSeries(),l=a.oldSeries=[],u=a.oldDataGroupIds=[],c=a.oldData=[],d=0;d<s.length;d++){var f=s[d].getData();f.count()<OX&&(l.push(s[d]),u.push(s[d].get("dataGroupId")),c.push(f))}})}Ft([Eft]);Ft([gft]);Ft([Yft,dpt,Cpt,dht,kht,Svt,Jvt,Fgt,pmt,Smt,Dmt,$0t,cyt,Eyt,Uyt,Xyt,h1t,C1t,$1t,W1t,a2t,U2t]);Ft(f_t);Ft(K_t);Ft(Rq);Ft(ubt);Ft(gj);Ft(gbt);Ft(Tbt);Ft(xwt);Ft(jwt);Ft(Hm);Ft(vSt);Ft(ySt);Ft(DSt);Ft(USt);Ft(ZSt);Ft(i4t);Ft(_4t);Ft(V4t);Ft(wX);Ft(SX);Ft(h3t);Ft(AX);Ft(kX);Ft(_3t);Ft(L3t);Ft(N3t);Ft(oEt);Ft(Pdt);export{gt as A,R$ as B,Ks as C,vr as D,cEt as E,je as F,gu as G,Kt as H,pe as I,Yv as J,Se as K,Mn as L,bet as M,KJe as N,Gt as O,yEt as P,Hr as Q,Stt as R,_Et as S,eB as T,tt as U,qe as V,vEt as a,$ as b,gEt as c,te as d,N as e,uEt as f,U as g,L as h,pt as i,Q as j,oe as k,ct as l,Brt as m,ue as n,I as o,lEt as p,iJ as q,Ot as r,hEt as s,Oe as t,b as u,BC as v,Te as w,mEt as x,V as y,o_ as z};