@ipa-community/element-plus 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,41 @@
1
+ "use strict";const l=require("vue");function pf(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const wa=pf(l);function _f(e){return l.getCurrentScope()?(l.onScopeDispose(e),!0):!1}const Sr=new WeakMap,mf=(...e)=>{var t;const n=e[0],r=(t=l.getCurrentInstance())==null?void 0:t.proxy;if(r==null&&!l.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&Sr.has(r)&&n in Sr.get(r)?Sr.get(r)[n]:l.inject(...e)},hf=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const gf=Object.prototype.toString,Ef=e=>gf.call(e)==="[object Object]",vf=()=>{};function uu(...e){if(e.length!==1)return l.toRef(...e);const t=e[0];return typeof t=="function"?l.readonly(l.customRef(()=>({get:t,set:vf}))):l.ref(t)}function yf(e,t){function n(...r){return new Promise((o,a)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(a)})}return n}const lu=e=>e();function bf(e=lu,t={}){const{initialState:n="active"}=t,r=uu(n==="active");function o(){r.value=!1}function a(){r.value=!0}const s=(...i)=>{r.value&&e(...i)};return{isActive:l.readonly(r),pause:o,resume:a,eventFilter:s}}function Da(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Nr(e){return Array.isArray(e)?e:[e]}function Of(e){return l.getCurrentInstance()}function Af(e,t,n={}){const{eventFilter:r=lu,...o}=n;return l.watch(e,yf(r,t),o)}function Tf(e,t,n={}){const{eventFilter:r,initialState:o="active",...a}=n,{eventFilter:s,pause:i,resume:u,isActive:c}=bf(r,{initialState:o});return{stop:Af(e,t,{...a,eventFilter:s}),pause:i,resume:u,isActive:c}}function cu(e,t=!0,n){Of()?l.onMounted(e,n):t?e():l.nextTick(e)}function Sf(e,t,n){return l.watch(e,t,{...n,immediate:!0})}const pn=hf?window:void 0;function fu(e){var t;const n=l.toValue(e);return(t=n?.$el)!=null?t:n}function Kr(...e){const t=[],n=()=>{t.forEach(i=>i()),t.length=0},r=(i,u,c,d)=>(i.addEventListener(u,c,d),()=>i.removeEventListener(u,c,d)),o=l.computed(()=>{const i=Nr(l.toValue(e[0])).filter(u=>u!=null);return i.every(u=>typeof u!="string")?i:void 0}),a=Sf(()=>{var i,u;return[(u=(i=o.value)==null?void 0:i.map(c=>fu(c)))!=null?u:[pn].filter(c=>c!=null),Nr(l.toValue(o.value?e[1]:e[0])),Nr(l.unref(o.value?e[2]:e[1])),l.toValue(o.value?e[3]:e[2])]},([i,u,c,d])=>{if(n(),!i?.length||!u?.length||!c?.length)return;const f=Ef(d)?{...d}:d;t.push(...i.flatMap(p=>u.flatMap(m=>c.map(b=>r(p,m,b,f)))))},{flush:"post"}),s=()=>{a(),n()};return _f(n),s}function Nf(){const e=l.shallowRef(!1),t=l.getCurrentInstance();return t&&l.onMounted(()=>{e.value=!0},t),e}function Cf(e){const t=Nf();return l.computed(()=>(t.value,!!e()))}const If=Symbol("vueuse-ssr-width");function wf(){const e=l.hasInjectionContext()?mf(If,null):null;return typeof e=="number"?e:void 0}function Df(e,t={}){const{window:n=pn,ssrWidth:r=wf()}=t,o=Cf(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),a=l.shallowRef(typeof r=="number"),s=l.shallowRef(),i=l.shallowRef(!1),u=c=>{i.value=c.matches};return l.watchEffect(()=>{if(a.value){a.value=!o.value;const c=l.toValue(e).split(",");i.value=c.some(d=>{const f=d.includes("not all"),p=d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),m=d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let b=!!(p||m);return p&&b&&(b=r>=Da(p[1])),m&&b&&(b=r<=Da(m[1])),f?!b:b});return}o.value&&(s.value=n.matchMedia(l.toValue(e)),i.value=s.value.matches)}),Kr(s,"change",u,{passive:!0}),l.computed(()=>i.value)}const wn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Dn="__vueuse_ssr_handlers__",kf=Pf();function Pf(){return Dn in wn||(wn[Dn]=wn[Dn]||{}),wn[Dn]}function du(e,t){return kf[e]||t}function Rf(e){return Df("(prefers-color-scheme: dark)",e)}function Lf(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const xf={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ka="vueuse-storage";function Vf(e,t,n,r={}){var o;const{flush:a="pre",deep:s=!0,listenToStorageChanges:i=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:d,window:f=pn,eventFilter:p,onError:m=U=>{console.error(U)},initOnMounted:b}=r,g=(d?l.shallowRef:l.ref)(typeof t=="function"?t():t),v=l.computed(()=>l.toValue(e));if(!n)try{n=du("getDefaultStorage",()=>{var U;return(U=pn)==null?void 0:U.localStorage})()}catch(U){m(U)}if(!n)return g;const _=l.toValue(t),h=Lf(_),O=(o=r.serializer)!=null?o:xf[h],{pause:A,resume:w}=Tf(g,U=>q(U),{flush:a,deep:s,eventFilter:p});l.watch(v,()=>W(),{flush:a});let D=!1;const N=U=>{b&&!D||W(U)},F=U=>{b&&!D||ae(U)};f&&i&&(n instanceof Storage?Kr(f,"storage",N,{passive:!0}):Kr(f,ka,F)),b?cu(()=>{D=!0,W()}):W();function B(U,te){if(f){const ne={key:v.value,oldValue:U,newValue:te,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",ne):new CustomEvent(ka,{detail:ne}))}}function q(U){try{const te=n.getItem(v.value);if(U==null)B(te,null),n.removeItem(v.value);else{const ne=O.write(U);te!==ne&&(n.setItem(v.value,ne),B(te,ne))}}catch(te){m(te)}}function oe(U){const te=U?U.newValue:n.getItem(v.value);if(te==null)return u&&_!=null&&n.setItem(v.value,O.write(_)),_;if(!U&&c){const ne=O.read(te);return typeof c=="function"?c(ne,_):h==="object"&&!Array.isArray(ne)?{..._,...ne}:ne}else return typeof te!="string"?te:O.read(te)}function W(U){if(!(U&&U.storageArea!==n)){if(U&&U.key==null){g.value=_;return}if(!(U&&U.key!==v.value)){A();try{const te=O.write(g.value);(U===void 0||U?.newValue!==te)&&(g.value=oe(U))}catch(te){m(te)}finally{U?l.nextTick(w):w()}}}}function ae(U){W(U.detail)}return g}const Mf="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Ff(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=pn,storage:a,storageKey:s="vueuse-color-scheme",listenToStorageChanges:i=!0,storageRef:u,emitAuto:c,disableTransition:d=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},p=Rf({window:o}),m=l.computed(()=>p.value?"dark":"light"),b=u||(s==null?uu(r):Vf(s,r,a,{window:o,listenToStorageChanges:i})),g=l.computed(()=>b.value==="auto"?m.value:b.value),v=du("updateHTMLAttrs",(A,w,D)=>{const N=typeof A=="string"?o?.document.querySelector(A):fu(A);if(!N)return;const F=new Set,B=new Set;let q=null;if(w==="class"){const W=D.split(/\s/g);Object.values(f).flatMap(ae=>(ae||"").split(/\s/g)).filter(Boolean).forEach(ae=>{W.includes(ae)?F.add(ae):B.add(ae)})}else q={key:w,value:D};if(F.size===0&&B.size===0&&q===null)return;let oe;d&&(oe=o.document.createElement("style"),oe.appendChild(document.createTextNode(Mf)),o.document.head.appendChild(oe));for(const W of F)N.classList.add(W);for(const W of B)N.classList.remove(W);q&&N.setAttribute(q.key,q.value),d&&(o.getComputedStyle(oe).opacity,document.head.removeChild(oe))});function _(A){var w;v(t,n,(w=f[A])!=null?w:A)}function h(A){e.onChanged?e.onChanged(A,_):_(A)}l.watch(g,h,{flush:"post",immediate:!0}),cu(()=>h(g.value));const O=l.computed({get(){return c?b.value:g.value},set(A){b.value=A}});return Object.assign(O,{store:b,system:m,state:g})}function Uf(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=Ff({...e,onChanged:(s,i)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,s==="dark",i,s):i(s)},modes:{dark:t,light:n}}),o=l.computed(()=>r.system.value);return l.computed({get(){return r.value==="dark"},set(s){const i=s?"dark":"light";o.value===i?r.value="auto":r.value=i}})}var $f=Object.create,pu=Object.defineProperty,Bf=Object.getOwnPropertyDescriptor,Bo=Object.getOwnPropertyNames,jf=Object.getPrototypeOf,Hf=Object.prototype.hasOwnProperty,Gf=(e,t)=>function(){return e&&(t=(0,e[Bo(e)[0]])(e=0)),t},Kf=(e,t)=>function(){return t||(0,e[Bo(e)[0]])((t={exports:{}}).exports,t),t.exports},Wf=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Bo(t))!Hf.call(e,o)&&o!==n&&pu(e,o,{get:()=>t[o],enumerable:!(r=Bf(t,o))||r.enumerable});return e},zf=(e,t,n)=>(n=e!=null?$f(jf(e)):{},Wf(pu(n,"default",{value:e,enumerable:!0}),e)),Nn=Gf({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),Yf=Kf({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){Nn(),t.exports=r;function n(a){return a instanceof Buffer?Buffer.from(a):new a.constructor(a.buffer.slice(),a.byteOffset,a.length)}function r(a){if(a=a||{},a.circles)return o(a);const s=new Map;if(s.set(Date,f=>new Date(f)),s.set(Map,(f,p)=>new Map(u(Array.from(f),p))),s.set(Set,(f,p)=>new Set(u(Array.from(f),p))),a.constructorHandlers)for(const f of a.constructorHandlers)s.set(f[0],f[1]);let i=null;return a.proto?d:c;function u(f,p){const m=Object.keys(f),b=new Array(m.length);for(let g=0;g<m.length;g++){const v=m[g],_=f[v];typeof _!="object"||_===null?b[v]=_:_.constructor!==Object&&(i=s.get(_.constructor))?b[v]=i(_,p):ArrayBuffer.isView(_)?b[v]=n(_):b[v]=p(_)}return b}function c(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return u(f,c);if(f.constructor!==Object&&(i=s.get(f.constructor)))return i(f,c);const p={};for(const m in f){if(Object.hasOwnProperty.call(f,m)===!1)continue;const b=f[m];typeof b!="object"||b===null?p[m]=b:b.constructor!==Object&&(i=s.get(b.constructor))?p[m]=i(b,c):ArrayBuffer.isView(b)?p[m]=n(b):p[m]=c(b)}return p}function d(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return u(f,d);if(f.constructor!==Object&&(i=s.get(f.constructor)))return i(f,d);const p={};for(const m in f){const b=f[m];typeof b!="object"||b===null?p[m]=b:b.constructor!==Object&&(i=s.get(b.constructor))?p[m]=i(b,d):ArrayBuffer.isView(b)?p[m]=n(b):p[m]=d(b)}return p}}function o(a){const s=[],i=[],u=new Map;if(u.set(Date,m=>new Date(m)),u.set(Map,(m,b)=>new Map(d(Array.from(m),b))),u.set(Set,(m,b)=>new Set(d(Array.from(m),b))),a.constructorHandlers)for(const m of a.constructorHandlers)u.set(m[0],m[1]);let c=null;return a.proto?p:f;function d(m,b){const g=Object.keys(m),v=new Array(g.length);for(let _=0;_<g.length;_++){const h=g[_],O=m[h];if(typeof O!="object"||O===null)v[h]=O;else if(O.constructor!==Object&&(c=u.get(O.constructor)))v[h]=c(O,b);else if(ArrayBuffer.isView(O))v[h]=n(O);else{const A=s.indexOf(O);A!==-1?v[h]=i[A]:v[h]=b(O)}}return v}function f(m){if(typeof m!="object"||m===null)return m;if(Array.isArray(m))return d(m,f);if(m.constructor!==Object&&(c=u.get(m.constructor)))return c(m,f);const b={};s.push(m),i.push(b);for(const g in m){if(Object.hasOwnProperty.call(m,g)===!1)continue;const v=m[g];if(typeof v!="object"||v===null)b[g]=v;else if(v.constructor!==Object&&(c=u.get(v.constructor)))b[g]=c(v,f);else if(ArrayBuffer.isView(v))b[g]=n(v);else{const _=s.indexOf(v);_!==-1?b[g]=i[_]:b[g]=f(v)}}return s.pop(),i.pop(),b}function p(m){if(typeof m!="object"||m===null)return m;if(Array.isArray(m))return d(m,p);if(m.constructor!==Object&&(c=u.get(m.constructor)))return c(m,p);const b={};s.push(m),i.push(b);for(const g in m){const v=m[g];if(typeof v!="object"||v===null)b[g]=v;else if(v.constructor!==Object&&(c=u.get(v.constructor)))b[g]=c(v,p);else if(ArrayBuffer.isView(v))b[g]=n(v);else{const _=s.indexOf(v);_!==-1?b[g]=i[_]:b[g]=p(v)}}return s.pop(),i.pop(),b}}}});Nn();Nn();Nn();var _u=typeof navigator<"u",x=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof x.chrome<"u"&&x.chrome.devtools;_u&&(x.self,x.top);var Pa;typeof navigator<"u"&&((Pa=navigator.userAgent)==null||Pa.toLowerCase().includes("electron"));Nn();var qf=zf(Yf()),Xf=/(?:^|[-_/])(\w)/g;function Jf(e,t){return t?t.toUpperCase():""}function Zf(e){return e&&`${e}`.replace(Xf,Jf)}function Qf(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const r=n.lastIndexOf("/"),o=n.substring(r+1);{const a=o.lastIndexOf(t);return o.substring(0,a)}}var Ra=(0,qf.default)({circles:!0});const ed={trailing:!0};function zt(e,t=25,n={}){if(n={...ed,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,a=[],s,i;const u=(c,d)=>(s=td(e,c,d),s.finally(()=>{if(s=null,n.trailing&&i&&!o){const f=u(c,i);return i=null,f}}),s);return function(...c){return s?(n.trailing&&(i=c),s):new Promise(d=>{const f=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const p=n.leading?r:u(this,c);for(const m of a)m(p);a=[]},t),f?(r=u(this,c),d(r)):a.push(d)})}}async function td(e,t,n){return await e.apply(t,n)}function Wr(e,t={},n){for(const r in e){const o=e[r],a=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Wr(o,t,a):typeof o=="function"&&(t[a]=o)}return t}const nd={run:e=>e()},rd=()=>nd,mu=typeof console.createTask<"u"?console.createTask:rd;function od(e,t){const n=t.shift(),r=mu(n);return e.reduce((o,a)=>o.then(()=>r.run(()=>a(...t))),Promise.resolve())}function ad(e,t){const n=t.shift(),r=mu(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Cr(e,t){for(const n of[...e])n(t)}class sd{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let a;for(;this._deprecatedHooks[t];)a=this._deprecatedHooks[t],t=a.to;if(a&&!r.allowDeprecated){let s=a.message;s||(s=`${o} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...a)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...a));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Wr(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Wr(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(od,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(ad,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Cr(this._before,o);const a=t(n in this._hooks?[...this._hooks[n]]:[],r);return a instanceof Promise?a.finally(()=>{this._after&&o&&Cr(this._after,o)}):(this._after&&o&&Cr(this._after,o),a)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function hu(){return new sd}var id=Object.create,gu=Object.defineProperty,ud=Object.getOwnPropertyDescriptor,jo=Object.getOwnPropertyNames,ld=Object.getPrototypeOf,cd=Object.prototype.hasOwnProperty,fd=(e,t)=>function(){return e&&(t=(0,e[jo(e)[0]])(e=0)),t},Eu=(e,t)=>function(){return t||(0,e[jo(e)[0]])((t={exports:{}}).exports,t),t.exports},dd=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of jo(t))!cd.call(e,o)&&o!==n&&gu(e,o,{get:()=>t[o],enumerable:!(r=ud(t,o))||r.enumerable});return e},pd=(e,t,n)=>(n=e!=null?id(ld(e)):{},dd(gu(n,"default",{value:e,enumerable:!0}),e)),C=fd({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),_d=Eu({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){C(),(function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},o=["်","ް"],a={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},s={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},i={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},u=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),d=[".","!","~","*","'","(",")"].join(""),f=function(v,_){var h="-",O="",A="",w=!0,D={},N,F,B,q,oe,W,ae,U,te,ne,j,Be,Ce,ge,Se="";if(typeof v!="string")return"";if(typeof _=="string"&&(h=_),ae=i.en,U=s.en,typeof _=="object"){N=_.maintainCase||!1,D=_.custom&&typeof _.custom=="object"?_.custom:D,B=+_.truncate>1&&_.truncate||!1,q=_.uric||!1,oe=_.uricNoSlash||!1,W=_.mark||!1,w=!(_.symbols===!1||_.lang===!1),h=_.separator||h,q&&(Se+=u),oe&&(Se+=c),W&&(Se+=d),ae=_.lang&&i[_.lang]&&w?i[_.lang]:w?i.en:{},U=_.lang&&s[_.lang]?s[_.lang]:_.lang===!1||_.lang===!0?{}:s.en,_.titleCase&&typeof _.titleCase.length=="number"&&Array.prototype.toString.call(_.titleCase)?(_.titleCase.forEach(function(ve){D[ve+""]=ve+""}),F=!0):F=!!_.titleCase,_.custom&&typeof _.custom.length=="number"&&Array.prototype.toString.call(_.custom)&&_.custom.forEach(function(ve){D[ve+""]=ve+""}),Object.keys(D).forEach(function(ve){var xe;ve.length>1?xe=new RegExp("\\b"+m(ve)+"\\b","gi"):xe=new RegExp(m(ve),"gi"),v=v.replace(xe,D[ve])});for(j in D)Se+=j}for(Se+=h,Se=m(Se),v=v.replace(/(^\s+|\s+$)/g,""),Ce=!1,ge=!1,ne=0,Be=v.length;ne<Be;ne++)j=v[ne],b(j,D)?Ce=!1:U[j]?(j=Ce&&U[j].match(/[A-Za-z0-9]/)?" "+U[j]:U[j],Ce=!1):j in r?(ne+1<Be&&o.indexOf(v[ne+1])>=0?(A+=j,j=""):ge===!0?(j=a[A]+r[j],A=""):j=Ce&&r[j].match(/[A-Za-z0-9]/)?" "+r[j]:r[j],Ce=!1,ge=!1):j in a?(A+=j,j="",ne===Be-1&&(j=a[A]),ge=!0):ae[j]&&!(q&&u.indexOf(j)!==-1)&&!(oe&&c.indexOf(j)!==-1)?(j=Ce||O.substr(-1).match(/[A-Za-z0-9]/)?h+ae[j]:ae[j],j+=v[ne+1]!==void 0&&v[ne+1].match(/[A-Za-z0-9]/)?h:"",Ce=!0):(ge===!0?(j=a[A]+j,A="",ge=!1):Ce&&(/[A-Za-z0-9]/.test(j)||O.substr(-1).match(/A-Za-z0-9]/))&&(j=" "+j),Ce=!1),O+=j.replace(new RegExp("[^\\w\\s"+Se+"_-]","g"),h);return F&&(O=O.replace(/(\w)(\S*)/g,function(ve,xe,Ke){var Re=xe.toUpperCase()+(Ke!==null?Ke:"");return Object.keys(D).indexOf(Re.toLowerCase())<0?Re:Re.toLowerCase()})),O=O.replace(/\s+/g,h).replace(new RegExp("\\"+h+"+","g"),h).replace(new RegExp("(^\\"+h+"+|\\"+h+"+$)","g"),""),B&&O.length>B&&(te=O.charAt(B)===h,O=O.slice(0,B),te||(O=O.slice(0,O.lastIndexOf(h)))),!N&&!F&&(O=O.toLowerCase()),O},p=function(v){return function(h){return f(h,v)}},m=function(v){return v.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},b=function(g,v){for(var _ in v)if(v[_]===g)return!0};if(typeof t<"u"&&t.exports)t.exports=f,t.exports.createSlug=p;else if(typeof define<"u"&&define.amd)define([],function(){return f});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=f,n.createSlug=p}catch{}})(e)}}),md=Eu({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){C(),t.exports=_d()}});C();C();C();C();C();C();C();C();function hd(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function gd(e){const t=e.__file;if(t)return Zf(Qf(t,".vue"))}function La(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function Ho(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function vu(e){var t,n;const r=(t=e.subTree)==null?void 0:t.type,o=Ho(e);return o?((n=o?.types)==null?void 0:n.Fragment)===r:!1}function ar(e){var t,n,r;const o=hd(e?.type||{});if(o)return o;if(e?.root===e)return"Root";for(const s in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[s]===e?.type)return La(e,s);for(const s in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[s]===e?.type)return La(e,s);const a=gd(e?.type||{});return a||"Anonymous Component"}function Ed(e){var t,n,r;const o=(r=(n=(t=e?.appContext)==null?void 0:t.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?r:0,a=e===e?.root?"root":e.uid;return`${o}:${a}`}function zr(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function vd(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var kn;function yd(e){return kn||(kn=document.createRange()),kn.selectNode(e),kn.getBoundingClientRect()}function bd(e){const t=vd();if(!e.children)return t;for(let n=0,r=e.children.length;n<r;n++){const o=e.children[n];let a;if(o.component)a=Pt(o.component);else if(o.el){const s=o.el;s.nodeType===1||s.getBoundingClientRect?a=s.getBoundingClientRect():s.nodeType===3&&s.data.trim()&&(a=yd(s))}a&&Od(t,a)}return t}function Od(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var xa={top:0,left:0,right:0,bottom:0,width:0,height:0};function Pt(e){const t=e.subTree.el;return typeof window>"u"?xa:vu(e)?bd(e.subTree):t?.nodeType===1?t?.getBoundingClientRect():e.subTree.component?Pt(e.subTree.component):xa}C();function Go(e){return vu(e)?Ad(e.subTree):e.subTree?[e.subTree.el]:[]}function Ad(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...Go(n.component)):n?.el&&t.push(n.el)}),t}var yu="__vue-devtools-component-inspector__",bu="__vue-devtools-component-inspector__card__",Ou="__vue-devtools-component-inspector__name__",Au="__vue-devtools-component-inspector__indicator__",Tu={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},Td={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},Sd={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function Qt(){return document.getElementById(yu)}function Nd(){return document.getElementById(bu)}function Cd(){return document.getElementById(Au)}function Id(){return document.getElementById(Ou)}function Ko(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function Wo(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:yu,Object.assign(n.style,{...Tu,...Ko(e.bounds),...e.style});const r=document.createElement("span");r.id=bu,Object.assign(r.style,{...Td,top:e.bounds.top<35?0:"-35px"});const o=document.createElement("span");o.id=Ou,o.innerHTML=`&lt;${e.name}&gt;&nbsp;&nbsp;`;const a=document.createElement("i");return a.id=Au,a.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(a.style,Sd),r.appendChild(o),r.appendChild(a),n.appendChild(r),document.body.appendChild(n),n}function zo(e){const t=Qt(),n=Nd(),r=Id(),o=Cd();t&&(Object.assign(t.style,{...Tu,...Ko(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),r.innerHTML=`&lt;${e.name}&gt;&nbsp;&nbsp;`,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function wd(e){const t=Pt(e);if(!t.width&&!t.height)return;const n=ar(e);Qt()?zo({bounds:t,name:n}):Wo({bounds:t,name:n})}function Su(){const e=Qt();e&&(e.style.display="none")}var Yr=null;function qr(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(Yr=n,n.vnode.el)){const o=Pt(n),a=ar(n);Qt()?zo({bounds:o,name:a}):Wo({bounds:o,name:a})}}}function Dd(e,t){if(e.preventDefault(),e.stopPropagation(),Yr){const n=Ed(Yr);t(n)}}var Yn=null;function kd(){Su(),window.removeEventListener("mouseover",qr),window.removeEventListener("click",Yn,!0),Yn=null}function Pd(){return window.addEventListener("mouseover",qr),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),Dd(n,r=>{window.removeEventListener("click",t,!0),Yn=null,window.removeEventListener("mouseover",qr);const o=Qt();o&&(o.style.display="none"),e(JSON.stringify({id:r}))})}Yn=t,window.addEventListener("click",t,!0)})}function Rd(e){const t=zr(Pe.value,e.id);if(t){const[n]=Go(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=Pt(t),o=document.createElement("div"),a={...Ko(r),position:"absolute"};Object.assign(o.style,a),document.body.appendChild(o),o.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(o)},2e3)}setTimeout(()=>{const r=Pt(t);if(r.width||r.height){const o=ar(t),a=Qt();a?zo({...e,name:o,bounds:r}):Wo({...e,name:o,bounds:r}),setTimeout(()=>{a&&(a.style.display="none")},1500)}},1200)}}C();var Va,Ma;(Ma=(Va=x).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(Va.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function Ld(e){let t=0;const n=setInterval(()=>{x.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function xd(){const e=x.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function Vd(){return new Promise(e=>{function t(){xd(),e(x.__VUE_INSPECTOR__)}x.__VUE_INSPECTOR__?t():Ld(()=>{t()})})}C();C();function Md(e){return!!(e&&e.__v_isReadonly)}function Nu(e){return Md(e)?Nu(e.__v_raw):!!(e&&e.__v_isReactive)}function Ir(e){return!!(e&&e.__v_isRef===!0)}function ln(e){const t=e&&e.__v_raw;return t?ln(t):e}var Fd=class{constructor(){this.refEditor=new Ud}set(e,t,n,r){const o=Array.isArray(t)?t:t.split(".");for(;o.length>1;){const i=o.shift();e instanceof Map?e=e.get(i):e instanceof Set?e=Array.from(e.values())[i]:e=e[i],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const a=o[0],s=this.refEditor.get(e)[a];r?r(e,a,n):this.refEditor.isRef(s)?this.refEditor.set(s,n):e[a]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let r=0;r<n.length;r++)if(e instanceof Map?e=e.get(n[r]):e=e[n[r]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const r=Array.isArray(t)?t.slice():t.split("."),o=n?2:1;for(;e&&r.length>o;){const a=r.shift();e=e[a],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,r[0])}createDefaultSetCallback(e){return(t,n,r)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):ln(t)instanceof Map?t.delete(n):ln(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const o=t[e.newKey||n];this.refEditor.isRef(o)?this.refEditor.set(o,r):ln(t)instanceof Map?t.set(e.newKey||n,r):ln(t)instanceof Set?t.add(r):t[e.newKey||n]=r}}}},Ud=class{set(e,t){if(Ir(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(o=>e.add(o));return}const n=Object.keys(t);if(e instanceof Map){const o=new Set(e.keys());n.forEach(a=>{e.set(a,Reflect.get(t,a)),o.delete(a)}),o.forEach(a=>e.delete(a));return}const r=new Set(Object.keys(e));n.forEach(o=>{Reflect.set(e,o,Reflect.get(t,o)),r.delete(o)}),r.forEach(o=>Reflect.deleteProperty(e,o))}}get(e){return Ir(e)?e.value:e}isRef(e){return Ir(e)||Nu(e)}};C();C();C();var $d="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function Bd(){if(typeof window>"u"||!_u||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=typeof localStorage.getItem<"u"?localStorage.getItem($d):null;return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}C();C();C();var Fa,Ua;(Ua=(Fa=x).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(Fa.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var jd=new Proxy(x.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function Hd(e,t){Oe.timelineLayersState[t.id]=!1,jd.push({...e,descriptorId:t.id,appRecord:Ho(t.app)})}var $a,Ba;(Ba=($a=x).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||($a.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var Yo=new Proxy(x.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),Cu=zt(()=>{en.hooks.callHook("sendInspectorToClient",Iu())});function Gd(e,t){var n,r;Yo.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(r=e.stateFilterPlaceholder)!=null?r:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:Ho(t.app)}),Cu()}function Iu(){return Yo.filter(e=>e.descriptor.app===Pe.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,r=e.options;return{id:r.id,label:r.label,logo:n.logo,icon:`custom-ic-baseline-${(t=r?.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function Un(e,t){return Yo.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function Kd(){const e=hu();e.hook("addInspector",({inspector:r,plugin:o})=>{Gd(r,o.descriptor)});const t=zt(async({inspectorId:r,plugin:o})=>{var a;if(!r||!((a=o?.descriptor)!=null&&a.app)||Oe.highPerfModeEnabled)return;const s=Un(r,o.descriptor.app),i={app:o.descriptor.app,inspectorId:r,filter:s?.treeFilter||"",rootNodes:[]};await new Promise(u=>{e.callHookWith(async c=>{await Promise.all(c.map(d=>d(i))),u()},"getInspectorTree")}),e.callHookWith(async u=>{await Promise.all(u.map(c=>c({inspectorId:r,rootNodes:i.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=zt(async({inspectorId:r,plugin:o})=>{var a;if(!r||!((a=o?.descriptor)!=null&&a.app)||Oe.highPerfModeEnabled)return;const s=Un(r,o.descriptor.app),i={app:o.descriptor.app,inspectorId:r,nodeId:s?.selectedNodeId||"",state:null},u={currentTab:`custom-inspector:${r}`};i.nodeId&&await new Promise(c=>{e.callHookWith(async d=>{await Promise.all(d.map(f=>f(i,u))),c()},"getInspectorState")}),e.callHookWith(async c=>{await Promise.all(c.map(d=>d({inspectorId:r,nodeId:i.nodeId,state:i.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:r,nodeId:o,plugin:a})=>{const s=Un(r,a.descriptor.app);s&&(s.selectedNodeId=o)}),e.hook("timelineLayerAdded",({options:r,plugin:o})=>{Hd(r,o.descriptor)}),e.hook("timelineEventAdded",({options:r,plugin:o})=>{var a;const s=["performance","component-event","keyboard","mouse"];Oe.highPerfModeEnabled||!((a=Oe.timelineLayersState)!=null&&a[o.descriptor.id])&&!s.includes(r.layerId)||e.callHookWith(async i=>{await Promise.all(i.map(u=>u(r)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:r})=>{const o=r.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!o)return null;const a=o.id.toString();return[...o.instanceMap].filter(([i])=>i.split(":")[0]===a).map(([,i])=>i)}),e.hook("getComponentBounds",async({instance:r})=>Pt(r)),e.hook("getComponentName",({instance:r})=>ar(r)),e.hook("componentHighlight",({uid:r})=>{const o=Pe.value.instanceMap.get(r);o&&wd(o)}),e.hook("componentUnhighlight",()=>{Su()}),e}var ja,Ha;(Ha=(ja=x).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(ja.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Ga,Ka;(Ka=(Ga=x).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Ga.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Wa,za;(za=(Wa=x).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Wa.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var Ya,qa;(qa=(Ya=x).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(Ya.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var Xa,Ja;(Ja=(Xa=x).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(Xa.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var It="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function Wd(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:Bd()}}var Za,Qa;(Qa=(Za=x)[It])!=null||(Za[It]=Wd());var zd=zt(e=>{en.hooks.callHook("devtoolsStateUpdated",{state:e})});zt((e,t)=>{en.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var sr=new Proxy(x.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?x.__VUE_DEVTOOLS_KIT_APP_RECORDS__:x.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),Pe=new Proxy(x.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?x.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?x.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:x.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function wu(){zd({...x[It],appRecords:sr.value,activeAppRecordId:Pe.id,tabs:x.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:x.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function Yd(e){x.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,wu()}function qd(e){x.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,wu()}var Oe=new Proxy(x[It],{get(e,t){return t==="appRecords"?sr:t==="activeAppRecordId"?Pe.id:t==="tabs"?x.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?x.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:x[It][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...x[It]},e[t]=n,x[It][t]=n,!0}});function Xd(e={}){var t,n,r;const{file:o,host:a,baseUrl:s=window.location.origin,line:i=0,column:u=0}=e;if(o){if(a==="chrome-extension"){const c=o.replace(/\\/g,"\\\\"),d=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${d}__open-in-editor?file=${encodeURI(o)}`).then(f=>{if(!f.ok){const p=`Opening component ${c} failed`;console.log(`%c${p}`,"color:red")}})}else if(Oe.vitePluginDetected){const c=(r=x.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?r:s;x.__VUE_INSPECTOR__.openInEditor(c,o,i,u)}}}C();C();C();C();C();var es,ts;(ts=(es=x).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(es.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var qo=new Proxy(x.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function Xr(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Xo(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function Jd(e){var t,n,r;const o=(n=(t=qo.find(a=>{var s;return a[0].id===e&&!!((s=a[0])!=null&&s.settings)}))==null?void 0:t[0])!=null?n:null;return(r=o?.settings)!=null?r:null}function Du(e,t){var n,r,o;const a=Xo(e);if(a){const s=localStorage.getItem(a);if(s)return JSON.parse(s)}if(e){const s=(r=(n=qo.find(i=>i[0].id===e))==null?void 0:n[0])!=null?r:null;return Xr((o=s?.settings)!=null?o:{})}return Xr(t)}function Zd(e,t){const n=Xo(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(Xr(t)))}function Qd(e,t,n){const r=Xo(e),o=localStorage.getItem(r),a=JSON.parse(o||"{}"),s={...a,[t]:n};localStorage.setItem(r,JSON.stringify(s)),en.hooks.callHookWith(i=>{i.forEach(u=>u({pluginId:e,key:t,oldValue:a[t],newValue:n,settings:s}))},"setPluginSettings")}C();C();C();C();C();C();C();C();C();C();C();var ns,rs,Fe=(rs=(ns=x).__VUE_DEVTOOLS_HOOK)!=null?rs:ns.__VUE_DEVTOOLS_HOOK=hu(),ep={vueAppInit(e){Fe.hook("app:init",e)},vueAppUnmount(e){Fe.hook("app:unmount",e)},vueAppConnected(e){Fe.hook("app:connected",e)},componentAdded(e){return Fe.hook("component:added",e)},componentEmit(e){return Fe.hook("component:emit",e)},componentUpdated(e){return Fe.hook("component:updated",e)},componentRemoved(e){return Fe.hook("component:removed",e)},setupDevtoolsPlugin(e){Fe.hook("devtools-plugin:setup",e)},perfStart(e){return Fe.hook("perf:start",e)},perfEnd(e){return Fe.hook("perf:end",e)}},ku={on:ep,setupDevToolsPlugin(e,t){return Fe.callHook("devtools-plugin:setup",e,t)}},tp=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(Oe.highPerfModeEnabled)return;const n=Iu().find(r=>r.packageName===this.plugin.descriptor.packageName);if(n?.id){if(e){const r=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];Fe.callHook("component:updated",...r)}else Fe.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&Zd(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){Oe.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){Oe.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return Oe.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){Oe.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return Du(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},np=tp;C();C();C();C();var rp="__vue_devtool_undefined__",op="__vue_devtool_infinity__",ap="__vue_devtool_negative_infinity__",sp="__vue_devtool_nan__";C();C();var ip={[rp]:"undefined",[sp]:"NaN",[op]:"Infinity",[ap]:"-Infinity"};Object.entries(ip).reduce((e,[t,n])=>(e[n]=t,e),{});C();C();C();C();C();var os,as;(as=(os=x).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(os.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function Pu(e,t){return ku.setupDevToolsPlugin(e,t)}function up(e,t){const[n,r]=e;if(n.app!==t)return;const o=new np({plugin:{setupFn:r,descriptor:n},ctx:en});n.packageName==="vuex"&&o.on.editInspectorState(a=>{o.sendInspectorState(a.inspectorId)}),r(o)}function Ru(e,t){x.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||Oe.highPerfModeEnabled&&!t?.inspectingComponent||(x.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),qo.forEach(n=>{up(n,e)}))}C();C();var _n="__VUE_DEVTOOLS_ROUTER__",Yt="__VUE_DEVTOOLS_ROUTER_INFO__",ss,is;(is=(ss=x)[Yt])!=null||(ss[Yt]={currentRoute:null,routes:[]});var us,ls;(ls=(us=x)[_n])!=null||(us[_n]={});new Proxy(x[Yt],{get(e,t){return x[Yt][t]}});new Proxy(x[_n],{get(e,t){if(t==="value")return x[_n]}});function lp(e){const t=new Map;return(e?.getRoutes()||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function Jo(e){return e.map(t=>{let{path:n,name:r,children:o,meta:a}=t;return o?.length&&(o=Jo(o)),{path:n,name:r,children:o,meta:a}})}function cp(e){if(e){const{fullPath:t,hash:n,href:r,path:o,name:a,matched:s,params:i,query:u}=e;return{fullPath:t,hash:n,href:r,path:o,name:a,params:i,query:u,matched:Jo(s)}}return e}function fp(e,t){function n(){var r;const o=(r=e.app)==null?void 0:r.config.globalProperties.$router,a=cp(o?.currentRoute.value),s=Jo(lp(o)),i=console.warn;console.warn=()=>{},x[Yt]={currentRoute:a?Ra(a):{},routes:Ra(s)},x[_n]=o,console.warn=i}n(),ku.on.componentUpdated(zt(()=>{var r;((r=t.value)==null?void 0:r.app)===e.app&&(n(),!Oe.highPerfModeEnabled&&en.hooks.callHook("routerInfoUpdated",{state:x[Yt]}))},200))}function dp(e){return{async getInspectorTree(t){const n={...t,app:Pe.value.app,rootNodes:[]};return await new Promise(r=>{e.callHookWith(async o=>{await Promise.all(o.map(a=>a(n))),r()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:Pe.value.app,state:null},r={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(o=>{e.callHookWith(async a=>{await Promise.all(a.map(s=>s(n,r))),o()},"getInspectorState")}),n.state},editInspectorState(t){const n=new Fd,r={...t,app:Pe.value.app,set:(o,a=t.path,s=t.state.value,i)=>{n.set(o,a,s,i||n.createDefaultSetCallback(t.state))}};e.callHookWith(o=>{o.forEach(a=>a(r))},"editInspectorState")},sendInspectorState(t){const n=Un(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return Pd()},cancelInspectComponentInspector(){return kd()},getComponentRenderCode(t){const n=zr(Pe.value,t);if(n)return typeof n?.type!="function"?n.render.toString():n.type.toString()},scrollToComponent(t){return Rd({id:t})},openInEditor:Xd,getVueInspector:Vd,toggleApp(t,n){const r=sr.value.find(o=>o.id===t);r&&(qd(t),Yd(r),fp(r,Pe),Cu(),Ru(r.app,n))},inspectDOM(t){const n=zr(Pe.value,t);if(n){const[r]=Go(n);r&&(x.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(t,n,r){Qd(t,n,r)},getPluginSettings(t){return{options:Jd(t),values:Du(t)}}}}C();var cs,fs;(fs=(cs=x).__VUE_DEVTOOLS_ENV__)!=null||(cs.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var ds=Kd(),ps,_s;(_s=(ps=x).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(ps.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:ds,get state(){return{...Oe,activeAppRecordId:Pe.id,activeAppRecord:Pe.value,appRecords:sr.value}},api:dp(ds)});var en=x.__VUE_DEVTOOLS_KIT_CONTEXT__;C();pd(md());var ms,hs;(hs=(ms=x).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(ms.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set});C();C();function pp(e){Oe.highPerfModeEnabled=e??!Oe.highPerfModeEnabled,!e&&Pe.value&&Ru(Pe.value.app)}C();C();C();function _p(e){Oe.devtoolsClientDetected={...Oe.devtoolsClientDetected,...e};const t=Object.values(Oe.devtoolsClientDetected).some(Boolean);pp(!t)}var gs,Es;(Es=(gs=x).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(gs.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=_p);C();C();C();C();C();C();C();var mp=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},Lu=class{constructor(e){this.generateIdentifier=e,this.kv=new mp}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},hp=class extends Lu{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};C();C();function gp(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function Ep(e,t){const n=gp(e);if("find"in n)return n.find(t);const r=n;for(let o=0;o<r.length;o++){const a=r[o];if(t(a))return a}}function qt(e,t){Object.entries(e).forEach(([n,r])=>t(r,n))}function $n(e,t){return e.indexOf(t)!==-1}function vs(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(t(r))return r}}var vp=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return Ep(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};C();C();var yp=e=>Object.prototype.toString.call(e).slice(8,-1),xu=e=>typeof e>"u",bp=e=>e===null,mn=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,Jr=e=>mn(e)&&Object.keys(e).length===0,vt=e=>Array.isArray(e),Op=e=>typeof e=="string",Ap=e=>typeof e=="number"&&!isNaN(e),Tp=e=>typeof e=="boolean",Sp=e=>e instanceof RegExp,hn=e=>e instanceof Map,gn=e=>e instanceof Set,Vu=e=>yp(e)==="Symbol",Np=e=>e instanceof Date&&!isNaN(e.valueOf()),Cp=e=>e instanceof Error,ys=e=>typeof e=="number"&&isNaN(e),Ip=e=>Tp(e)||bp(e)||xu(e)||Ap(e)||Op(e)||Vu(e),wp=e=>typeof e=="bigint",Dp=e=>e===1/0||e===-1/0,kp=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),Pp=e=>e instanceof URL;C();var Mu=e=>e.replace(/\./g,"\\."),wr=e=>e.map(String).map(Mu).join("."),cn=e=>{const t=[];let n="";for(let o=0;o<e.length;o++){let a=e.charAt(o);if(a==="\\"&&e.charAt(o+1)==="."){n+=".",o++;continue}if(a==="."){t.push(n),n="";continue}n+=a}const r=n;return t.push(r),t};C();function Je(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var Fu=[Je(xu,"undefined",()=>null,()=>{}),Je(wp,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),Je(Np,"Date",e=>e.toISOString(),e=>new Date(e)),Je(Cp,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n}),Je(Sp,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),Je(gn,"set",e=>[...e.values()],e=>new Set(e)),Je(hn,"map",e=>[...e.entries()],e=>new Map(e)),Je(e=>ys(e)||Dp(e),"number",e=>ys(e)?"NaN":e>0?"Infinity":"-Infinity",Number),Je(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),Je(Pp,"URL",e=>e.toString(),e=>new URL(e))];function ir(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var Uu=ir((e,t)=>Vu(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),Rp=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),$u=ir(kp,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=Rp[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function Bu(e,t){return e?.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var ju=ir(Bu,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(o=>{r[o]=e[o]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(r.prototype),e)}),Hu=ir((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),Lp=[ju,Uu,Hu,$u],bs=(e,t)=>{const n=vs(Lp,o=>o.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=vs(Fu,o=>o.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation}},Gu={};Fu.forEach(e=>{Gu[e.annotation]=e});var xp=(e,t,n)=>{if(vt(t))switch(t[0]){case"symbol":return Uu.untransform(e,t,n);case"class":return ju.untransform(e,t,n);case"custom":return Hu.untransform(e,t,n);case"typed-array":return $u.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const r=Gu[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}};C();var Kt=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function Ku(e){if($n(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if($n(e,"prototype"))throw new Error("prototype is not allowed as a property");if($n(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Vp=(e,t)=>{Ku(t);for(let n=0;n<t.length;n++){const r=t[n];if(gn(e))e=Kt(e,+r);else if(hn(e)){const o=+r,a=+t[++n]==0?"key":"value",s=Kt(e,o);switch(a){case"key":e=s;break;case"value":e=e.get(s);break}}else e=e[r]}return e},Zr=(e,t,n)=>{if(Ku(t),t.length===0)return n(e);let r=e;for(let a=0;a<t.length-1;a++){const s=t[a];if(vt(r)){const i=+s;r=r[i]}else if(mn(r))r=r[s];else if(gn(r)){const i=+s;r=Kt(r,i)}else if(hn(r)){if(a===t.length-2)break;const u=+s,c=+t[++a]==0?"key":"value",d=Kt(r,u);switch(c){case"key":r=d;break;case"value":r=r.get(d);break}}}const o=t[t.length-1];if(vt(r)?r[+o]=n(r[+o]):mn(r)&&(r[o]=n(r[o])),gn(r)){const a=Kt(r,+o),s=n(a);a!==s&&(r.delete(a),r.add(s))}if(hn(r)){const a=+t[t.length-2],s=Kt(r,a);switch(+o==0?"key":"value"){case"key":{const u=n(s);r.set(u,r.get(s)),u!==s&&r.delete(s);break}case"value":{r.set(s,n(r.get(s)));break}}}return e};function Qr(e,t,n=[]){if(!e)return;if(!vt(e)){qt(e,(a,s)=>Qr(a,t,[...n,...cn(s)]));return}const[r,o]=e;o&&qt(o,(a,s)=>{Qr(a,t,[...n,...cn(s)])}),t(r,n)}function Mp(e,t,n){return Qr(t,(r,o)=>{e=Zr(e,o,a=>xp(a,r,n))}),e}function Fp(e,t){function n(r,o){const a=Vp(e,cn(o));r.map(cn).forEach(s=>{e=Zr(e,s,()=>a)})}if(vt(t)){const[r,o]=t;r.forEach(a=>{e=Zr(e,cn(a),()=>e)}),o&&qt(o,n)}else qt(t,n);return e}var Up=(e,t)=>mn(e)||vt(e)||hn(e)||gn(e)||Bu(e,t);function $p(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}function Bp(e,t){const n={};let r;return e.forEach(o=>{if(o.length<=1)return;t||(o=o.map(i=>i.map(String)).sort((i,u)=>i.length-u.length));const[a,...s]=o;a.length===0?r=s.map(wr):n[wr(a)]=s.map(wr)}),r?Jr(n)?[r]:[r,n]:Jr(n)?void 0:n}var Wu=(e,t,n,r,o=[],a=[],s=new Map)=>{var i;const u=Ip(e);if(!u){$p(e,o,t);const b=s.get(e);if(b)return r?{transformedValue:null}:b}if(!Up(e,n)){const b=bs(e,n),g=b?{transformedValue:b.value,annotations:[b.type]}:{transformedValue:e};return u||s.set(e,g),g}if($n(a,e))return{transformedValue:null};const c=bs(e,n),d=(i=c?.value)!=null?i:e,f=vt(d)?[]:{},p={};qt(d,(b,g)=>{if(g==="__proto__"||g==="constructor"||g==="prototype")throw new Error(`Detected property ${g}. This is a prototype pollution risk, please remove it from your object.`);const v=Wu(b,t,n,r,[...o,g],[...a,e],s);f[g]=v.transformedValue,vt(v.annotations)?p[g]=v.annotations:mn(v.annotations)&&qt(v.annotations,(_,h)=>{p[Mu(g)+"."+h]=_})});const m=Jr(p)?{transformedValue:f,annotations:c?[c.type]:void 0}:{transformedValue:f,annotations:c?[c.type,p]:p};return u||s.set(e,m),m};C();C();function zu(e){return Object.prototype.toString.call(e).slice(8,-1)}function Os(e){return zu(e)==="Array"}function jp(e){if(zu(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function Hp(e,t,n,r,o){const a={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";a==="enumerable"&&(e[t]=n),o&&a==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function eo(e,t={}){if(Os(e))return e.map(o=>eo(o,t));if(!jp(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((o,a)=>{if(Os(t.props)&&!t.props.includes(a))return o;const s=e[a],i=eo(s,t);return Hp(o,a,i,e,t.nonenumerable),o},{})}var se=class{constructor({dedupe:e=!1}={}){this.classRegistry=new hp,this.symbolRegistry=new Lu(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new vp,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=Wu(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const o=Bp(t,this.dedupe);return o&&(r.meta={...r.meta,referentialEqualities:o}),r}deserialize(e){const{json:t,meta:n}=e;let r=eo(t);return n?.values&&(r=Mp(r,n.values,this)),n?.referentialEqualities&&(r=Fp(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};se.defaultInstance=new se;se.serialize=se.defaultInstance.serialize.bind(se.defaultInstance);se.deserialize=se.defaultInstance.deserialize.bind(se.defaultInstance);se.stringify=se.defaultInstance.stringify.bind(se.defaultInstance);se.parse=se.defaultInstance.parse.bind(se.defaultInstance);se.registerClass=se.defaultInstance.registerClass.bind(se.defaultInstance);se.registerSymbol=se.defaultInstance.registerSymbol.bind(se.defaultInstance);se.registerCustom=se.defaultInstance.registerCustom.bind(se.defaultInstance);se.allowErrorProps=se.defaultInstance.allowErrorProps.bind(se.defaultInstance);C();C();C();C();C();C();C();C();C();C();C();C();C();C();C();C();C();C();C();C();C();C();C();var As,Ts;(Ts=(As=x).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(As.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var Ss,Ns;(Ns=(Ss=x).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(Ss.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var Cs,Is;(Is=(Cs=x).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(Cs.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var ws,Ds;(Ds=(ws=x).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(ws.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var ks,Ps;(Ps=(ks=x).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(ks.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var Rs,Ls;(Ls=(Rs=x).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(Rs.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);C();C();C();C();C();C();C();const qn=typeof window<"u";let to;const Gp=e=>to=e;process.env.NODE_ENV;const no=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();var kt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(kt||(kt={}));const xs=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null};function Kp(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function Zo(e,t,n){const r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){Xu(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function Yu(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Bn(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{const n=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(n)}}const jn=typeof navigator=="object"?navigator:{userAgent:""},qu=/Macintosh/.test(jn.userAgent)&&/AppleWebKit/.test(jn.userAgent)&&!/Safari/.test(jn.userAgent),Xu=qn?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!qu?Wp:"msSaveOrOpenBlob"in jn?zp:Yp:()=>{};function Wp(e,t="download",n){const r=document.createElement("a");r.download=t,r.rel="noopener",typeof e=="string"?(r.href=e,r.origin!==location.origin?Yu(r.href)?Zo(e,t,n):(r.target="_blank",Bn(r)):Bn(r)):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){Bn(r)},0))}function zp(e,t="download",n){if(typeof e=="string")if(Yu(e))Zo(e,t,n);else{const r=document.createElement("a");r.href=e,r.target="_blank",setTimeout(function(){Bn(r)})}else navigator.msSaveOrOpenBlob(Kp(e,n),t)}function Yp(e,t,n,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),typeof e=="string")return Zo(e,t,n);const o=e.type==="application/octet-stream",a=/constructor/i.test(String(xs.HTMLElement))||"safari"in xs,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||o&&a||qu)&&typeof FileReader<"u"){const i=new FileReader;i.onloadend=function(){let u=i.result;if(typeof u!="string")throw r=null,new Error("Wrong reader.result type");u=s?u:u.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=u:location.assign(u),r=null},i.readAsDataURL(e)}else{const i=URL.createObjectURL(e);r?r.location.assign(i):location.href=i,r=null,setTimeout(function(){URL.revokeObjectURL(i)},4e4)}}function Ae(e,t){const n="🍍 "+e;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(n,t):t==="error"?console.error(n):t==="warn"?console.warn(n):console.log(n)}function Qo(e){return"_a"in e&&"install"in e}function Ju(){if(!("clipboard"in navigator))return Ae("Your browser doesn't support the Clipboard API","error"),!0}function Zu(e){return e instanceof Error&&e.message.toLowerCase().includes("document is not focused")?(Ae('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function qp(e){if(!Ju())try{await navigator.clipboard.writeText(JSON.stringify(e.state.value)),Ae("Global state copied to clipboard.")}catch(t){if(Zu(t))return;Ae("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}async function Xp(e){if(!Ju())try{Qu(e,JSON.parse(await navigator.clipboard.readText())),Ae("Global state pasted from clipboard.")}catch(t){if(Zu(t))return;Ae("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}async function Jp(e){try{Xu(new Blob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){Ae("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}let ot;function Zp(){ot||(ot=document.createElement("input"),ot.type="file",ot.accept=".json");function e(){return new Promise((t,n)=>{ot.onchange=async()=>{const r=ot.files;if(!r)return t(null);const o=r.item(0);return t(o?{text:await o.text(),file:o}:null)},ot.oncancel=()=>t(null),ot.onerror=n,ot.click()})}return e}async function Qp(e){try{const n=await Zp()();if(!n)return;const{text:r,file:o}=n;Qu(e,JSON.parse(r)),Ae(`Global state imported from "${o.name}".`)}catch(t){Ae("Failed to import the state from JSON. Check the console for more details.","error"),console.error(t)}}function Qu(e,t){for(const n in t){const r=e.state.value[n];r?Object.assign(r,t[n]):e.state.value[n]=t[n]}}function ze(e){return{_custom:{display:e}}}const el="🍍 Pinia (root)",Hn="_root";function e_(e){return Qo(e)?{id:Hn,label:el}:{id:e.$id,label:e.$id}}function t_(e){if(Qo(e)){const n=Array.from(e._s.keys()),r=e._s;return{state:n.map(a=>({editable:!0,key:a,value:e.state.value[a]})),getters:n.filter(a=>r.get(a)._getters).map(a=>{const s=r.get(a);return{editable:!1,key:a,value:s._getters.reduce((i,u)=>(i[u]=s[u],i),{})}})}}const t={state:Object.keys(e.$state).map(n=>({editable:!0,key:n,value:e.$state[n]}))};return e._getters&&e._getters.length&&(t.getters=e._getters.map(n=>({editable:!1,key:n,value:e[n]}))),e._customProperties.size&&(t.customProperties=Array.from(e._customProperties).map(n=>({editable:!0,key:n,value:e[n]}))),t}function n_(e){return e?Array.isArray(e)?e.reduce((t,n)=>(t.keys.push(n.key),t.operations.push(n.type),t.oldValue[n.key]=n.oldValue,t.newValue[n.key]=n.newValue,t),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:ze(e.type),key:ze(e.key),oldValue:e.oldValue,newValue:e.newValue}:{}}function r_(e){switch(e){case kt.direct:return"mutation";case kt.patchFunction:return"$patch";case kt.patchObject:return"$patch";default:return"unknown"}}let Wt=!0;const Gn=[],Ct="pinia:mutations",we="pinia",{assign:o_}=Object,Xn=e=>"🍍 "+e;function a_(e,t){Pu({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Gn,app:e},n=>{typeof n.now!="function"&&Ae("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:Ct,label:"Pinia 🍍",color:15064968}),n.addInspector({id:we,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{qp(t)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await Xp(t),n.sendInspectorTree(we),n.sendInspectorState(we)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{Jp(t)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await Qp(t),n.sendInspectorTree(we),n.sendInspectorState(we)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:r=>{const o=t._s.get(r);o?typeof o.$reset!="function"?Ae(`Cannot reset "${r}" store because it doesn't have a "$reset" method implemented.`,"warn"):(o.$reset(),Ae(`Store "${r}" reset.`)):Ae(`Cannot reset "${r}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent(r=>{const o=r.componentInstance&&r.componentInstance.proxy;if(o&&o._pStores){const a=r.componentInstance.proxy._pStores;Object.values(a).forEach(s=>{r.instanceData.state.push({type:Xn(s.$id),key:"state",editable:!0,value:s._isOptionsAPI?{_custom:{value:l.toRaw(s.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>s.$reset()}]}}:Object.keys(s.$state).reduce((i,u)=>(i[u]=s.$state[u],i),{})}),s._getters&&s._getters.length&&r.instanceData.state.push({type:Xn(s.$id),key:"getters",editable:!1,value:s._getters.reduce((i,u)=>{try{i[u]=s[u]}catch(c){i[u]=c}return i},{})})})}}),n.on.getInspectorTree(r=>{if(r.app===e&&r.inspectorId===we){let o=[t];o=o.concat(Array.from(t._s.values())),r.rootNodes=(r.filter?o.filter(a=>"$id"in a?a.$id.toLowerCase().includes(r.filter.toLowerCase()):el.toLowerCase().includes(r.filter.toLowerCase())):o).map(e_)}}),globalThis.$pinia=t,n.on.getInspectorState(r=>{if(r.app===e&&r.inspectorId===we){const o=r.nodeId===Hn?t:t._s.get(r.nodeId);if(!o)return;o&&(r.nodeId!==Hn&&(globalThis.$store=l.toRaw(o)),r.state=t_(o))}}),n.on.editInspectorState(r=>{if(r.app===e&&r.inspectorId===we){const o=r.nodeId===Hn?t:t._s.get(r.nodeId);if(!o)return Ae(`store "${r.nodeId}" not found`,"error");const{path:a}=r;Qo(o)?a.unshift("state"):(a.length!==1||!o._customProperties.has(a[0])||a[0]in o.$state)&&a.unshift("$state"),Wt=!1,r.set(o,a,r.state.value),Wt=!0}}),n.on.editComponentState(r=>{if(r.type.startsWith("🍍")){const o=r.type.replace(/^🍍\s*/,""),a=t._s.get(o);if(!a)return Ae(`store "${o}" not found`,"error");const{path:s}=r;if(s[0]!=="state")return Ae(`Invalid path for store "${o}":
2
+ ${s}
3
+ Only state can be modified.`);s[0]="$state",Wt=!1,r.set(a,s,r.state.value),Wt=!0}})})}function s_(e,t){Gn.includes(Xn(t.$id))||Gn.push(Xn(t.$id)),Pu({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Gn,app:e,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},n=>{const r=typeof n.now=="function"?n.now.bind(n):Date.now;t.$onAction(({after:s,onError:i,name:u,args:c})=>{const d=tl++;n.addTimelineEvent({layerId:Ct,event:{time:r(),title:"🛫 "+u,subtitle:"start",data:{store:ze(t.$id),action:ze(u),args:c},groupId:d}}),s(f=>{gt=void 0,n.addTimelineEvent({layerId:Ct,event:{time:r(),title:"🛬 "+u,subtitle:"end",data:{store:ze(t.$id),action:ze(u),args:c,result:f},groupId:d}})}),i(f=>{gt=void 0,n.addTimelineEvent({layerId:Ct,event:{time:r(),logType:"error",title:"💥 "+u,subtitle:"end",data:{store:ze(t.$id),action:ze(u),args:c,error:f},groupId:d}})})},!0),t._customProperties.forEach(s=>{l.watch(()=>l.unref(t[s]),(i,u)=>{n.notifyComponentUpdate(),n.sendInspectorState(we),Wt&&n.addTimelineEvent({layerId:Ct,event:{time:r(),title:"Change",subtitle:s,data:{newValue:i,oldValue:u},groupId:gt}})},{deep:!0})}),t.$subscribe(({events:s,type:i},u)=>{if(n.notifyComponentUpdate(),n.sendInspectorState(we),!Wt)return;const c={time:r(),title:r_(i),data:o_({store:ze(t.$id)},n_(s)),groupId:gt};i===kt.patchFunction?c.subtitle="⤵️":i===kt.patchObject?c.subtitle="🧩":s&&!Array.isArray(s)&&(c.subtitle=s.type),s&&(c.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:s}}),n.addTimelineEvent({layerId:Ct,event:c})},{detached:!0,flush:"sync"});const o=t._hotUpdate;t._hotUpdate=l.markRaw(s=>{o(s),n.addTimelineEvent({layerId:Ct,event:{time:r(),title:"🔥 "+t.$id,subtitle:"HMR update",data:{store:ze(t.$id),info:ze("HMR update")}}}),n.notifyComponentUpdate(),n.sendInspectorTree(we),n.sendInspectorState(we)});const{$dispose:a}=t;t.$dispose=()=>{a(),n.notifyComponentUpdate(),n.sendInspectorTree(we),n.sendInspectorState(we),n.getSettings().logStoreChanges&&Ae(`Disposed "${t.$id}" store 🗑`)},n.notifyComponentUpdate(),n.sendInspectorTree(we),n.sendInspectorState(we),n.getSettings().logStoreChanges&&Ae(`"${t.$id}" store installed 🆕`)})}let tl=0,gt;function Vs(e,t,n){const r=t.reduce((o,a)=>(o[a]=l.toRaw(e)[a],o),{});for(const o in r)e[o]=function(){const a=tl,s=n?new Proxy(e,{get(...u){return gt=a,Reflect.get(...u)},set(...u){return gt=a,Reflect.set(...u)}}):e;gt=a;const i=r[o].apply(s,arguments);return gt=void 0,i}}function i_({app:e,store:t,options:n}){if(!t.$id.startsWith("__hot:")){if(t._isOptionsAPI=!!n.state,!t._p._testing){Vs(t,Object.keys(n.actions),t._isOptionsAPI);const r=t._hotUpdate;l.toRaw(t)._hotUpdate=function(o){r.apply(this,arguments),Vs(t,Object.keys(o._hmrPayload.actions),!!t._isOptionsAPI)}}s_(e,t)}}function u_(){const e=l.effectScope(!0),t=e.run(()=>l.ref({}));let n=[],r=[];const o=l.markRaw({install(a){Gp(o),o._a=a,a.provide(no,o),a.config.globalProperties.$pinia=o,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&qn&&a_(a,o),r.forEach(s=>n.push(s)),r=[]},use(a){return this._a?n.push(a):r.push(a),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&qn&&typeof Proxy<"u"&&o.use(i_),o}process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function et(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ms={};function nl(e){Ms[e]||(Ms[e]=!0,et(e))}const Xe=typeof window<"u";let Ue,Rt;if(process.env.NODE_ENV!=="production"){const e=Xe&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Ue=t=>{e.mark(t)},Rt=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const l_=/\{([0-9a-zA-Z]+)\}/g;function ur(e,...t){return t.length===1&&X(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(l_,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const tt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),c_=(e,t,n)=>f_({l:e,k:t,s:n}),f_=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ee=e=>typeof e=="number"&&isFinite(e),d_=e=>ta(e)==="[object Date]",Jn=e=>ta(e)==="[object RegExp]",lr=e=>Y(e)&&Object.keys(e).length===0,Te=Object.assign,p_=Object.create,re=(e=null)=>p_(e);let Fs;const ea=()=>Fs||(Fs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:re());function Us(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function $s(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function __(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,o,a)=>`${o}="${$s(a)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,o,a)=>`${o}='${$s(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(process.env.NODE_ENV!=="production"&&et("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript&#58;")}),e}const m_=Object.prototype.hasOwnProperty;function qe(e,t){return m_.call(e,t)}const _e=Array.isArray,ue=e=>typeof e=="function",L=e=>typeof e=="string",de=e=>typeof e=="boolean",X=e=>e!==null&&typeof e=="object",h_=e=>X(e)&&ue(e.then)&&ue(e.catch),rl=Object.prototype.toString,ta=e=>rl.call(e),Y=e=>ta(e)==="[object Object]",g_=e=>e==null?"":_e(e)||Y(e)&&e.toString===rl?JSON.stringify(e,null,2):String(e);function na(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Bs=2;function E_(e,t=0,n=e.length){const r=e.split(/\r?\n/);let o=0;const a=[];for(let s=0;s<r.length;s++)if(o+=r[s].length+1,o>=t){for(let i=s-Bs;i<=s+Bs||n>o;i++){if(i<0||i>=r.length)continue;const u=i+1;a.push(`${u}${" ".repeat(3-String(u).length)}| ${r[i]}`);const c=r[i].length;if(i===s){const d=t-(o-c)+1,f=Math.max(1,n>o?c-d:n-t);a.push(" | "+" ".repeat(d)+"^".repeat(f))}else if(i>s){if(n>o){const d=Math.max(Math.min(n-o,c),1);a.push(" | "+"^".repeat(d))}o+=c+1}}break}return a.join(`
4
+ `)}function ol(){const e=new Map;return{events:e,on(n,r){const o=e.get(n);o&&o.push(r)||e.set(n,[r])},off(n,r){const o=e.get(n);o&&o.splice(o.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(o=>o(r)),(e.get("*")||[]).slice().map(o=>o(n,r))}}}const Pn=e=>!X(e)||_e(e);function Kn(e,t){if(Pn(e)||Pn(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(a=>{a!=="__proto__"&&(X(r[a])&&!X(o[a])&&(o[a]=Array.isArray(r[a])?[]:re()),Pn(o[a])||Pn(r[a])?o[a]=r[a]:n.push({src:r[a],des:o[a]}))})}}function v_(e,t,n){return{line:e,column:t,offset:n}}function ro(e,t,n){return{start:e,end:t}}const $={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},y_=17,b_={[$.EXPECTED_TOKEN]:"Expected token: '{0}'",[$.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[$.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[$.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[$.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[$.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[$.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[$.EMPTY_PLACEHOLDER]:"Empty placeholder",[$.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[$.INVALID_LINKED_FORMAT]:"Invalid linked format",[$.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[$.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[$.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[$.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[$.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[$.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function tn(e,t,n={}){const{domain:r,messages:o,args:a}=n,s=process.env.NODE_ENV!=="production"?ur((o||b_)[e]||"",...a||[]):e,i=new SyntaxError(String(s));return i.code=e,t&&(i.location=t),i.domain=r,i}function O_(e){throw e}const A_=/<\/?[\w\s="/.':;#-\/]+>/,T_=e=>A_.test(e),Ze=" ",S_="\r",Ie=`
5
+ `,N_="\u2028",C_="\u2029";function I_(e){const t=e;let n=0,r=1,o=1,a=0;const s=N=>t[N]===S_&&t[N+1]===Ie,i=N=>t[N]===Ie,u=N=>t[N]===C_,c=N=>t[N]===N_,d=N=>s(N)||i(N)||u(N)||c(N),f=()=>n,p=()=>r,m=()=>o,b=()=>a,g=N=>s(N)||u(N)||c(N)?Ie:t[N],v=()=>g(n),_=()=>g(n+a);function h(){return a=0,d(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}function O(){return s(n+a)&&a++,a++,t[n+a]}function A(){n=0,r=1,o=1,a=0}function w(N=0){a=N}function D(){const N=n+a;for(;N!==n;)h();a=0}return{index:f,line:p,column:m,peekOffset:b,charAt:g,currentChar:v,currentPeek:_,next:h,peek:O,reset:A,resetPeek:w,skipToPeek:D}}const at=void 0,w_=".",js="'",D_="tokenizer";function k_(e,t={}){const n=t.location!==!1,r=I_(e),o=()=>r.index(),a=()=>v_(r.line(),r.column(),r.index()),s=a(),i=o(),u={currentType:13,offset:i,startLoc:s,endLoc:s,lastType:13,lastOffset:i,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>u,{onError:d}=t;function f(E,y,I,...V){const ce=c();if(y.column+=I,y.offset+=I,d){const me=n?ro(ce.startLoc,y):null,J=tn(E,me,{domain:D_,args:V});d(J)}}function p(E,y,I){E.endLoc=a(),E.currentType=y;const V={type:y};return n&&(V.loc=ro(E.startLoc,E.endLoc)),I!=null&&(V.value=I),V}const m=E=>p(E,13);function b(E,y){return E.currentChar()===y?(E.next(),y):(f($.EXPECTED_TOKEN,a(),0,y),"")}function g(E){let y="";for(;E.currentPeek()===Ze||E.currentPeek()===Ie;)y+=E.currentPeek(),E.peek();return y}function v(E){const y=g(E);return E.skipToPeek(),y}function _(E){if(E===at)return!1;const y=E.charCodeAt(0);return y>=97&&y<=122||y>=65&&y<=90||y===95}function h(E){if(E===at)return!1;const y=E.charCodeAt(0);return y>=48&&y<=57}function O(E,y){const{currentType:I}=y;if(I!==2)return!1;g(E);const V=_(E.currentPeek());return E.resetPeek(),V}function A(E,y){const{currentType:I}=y;if(I!==2)return!1;g(E);const V=E.currentPeek()==="-"?E.peek():E.currentPeek(),ce=h(V);return E.resetPeek(),ce}function w(E,y){const{currentType:I}=y;if(I!==2)return!1;g(E);const V=E.currentPeek()===js;return E.resetPeek(),V}function D(E,y){const{currentType:I}=y;if(I!==7)return!1;g(E);const V=E.currentPeek()===".";return E.resetPeek(),V}function N(E,y){const{currentType:I}=y;if(I!==8)return!1;g(E);const V=_(E.currentPeek());return E.resetPeek(),V}function F(E,y){const{currentType:I}=y;if(!(I===7||I===11))return!1;g(E);const V=E.currentPeek()===":";return E.resetPeek(),V}function B(E,y){const{currentType:I}=y;if(I!==9)return!1;const V=()=>{const me=E.currentPeek();return me==="{"?_(E.peek()):me==="@"||me==="|"||me===":"||me==="."||me===Ze||!me?!1:me===Ie?(E.peek(),V()):oe(E,!1)},ce=V();return E.resetPeek(),ce}function q(E){g(E);const y=E.currentPeek()==="|";return E.resetPeek(),y}function oe(E,y=!0){const I=(ce=!1,me="")=>{const J=E.currentPeek();return J==="{"||J==="@"||!J?ce:J==="|"?!(me===Ze||me===Ie):J===Ze?(E.peek(),I(!0,Ze)):J===Ie?(E.peek(),I(!0,Ie)):!0},V=I();return y&&E.resetPeek(),V}function W(E,y){const I=E.currentChar();return I===at?at:y(I)?(E.next(),I):null}function ae(E){const y=E.charCodeAt(0);return y>=97&&y<=122||y>=65&&y<=90||y>=48&&y<=57||y===95||y===36}function U(E){return W(E,ae)}function te(E){const y=E.charCodeAt(0);return y>=97&&y<=122||y>=65&&y<=90||y>=48&&y<=57||y===95||y===36||y===45}function ne(E){return W(E,te)}function j(E){const y=E.charCodeAt(0);return y>=48&&y<=57}function Be(E){return W(E,j)}function Ce(E){const y=E.charCodeAt(0);return y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102}function ge(E){return W(E,Ce)}function Se(E){let y="",I="";for(;y=Be(E);)I+=y;return I}function ve(E){let y="";for(;;){const I=E.currentChar();if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I===Ze||I===Ie)if(oe(E))y+=I,E.next();else{if(q(E))break;y+=I,E.next()}else y+=I,E.next()}return y}function xe(E){v(E);let y="",I="";for(;y=ne(E);)I+=y;const V=E.currentChar();if(V&&V!=="}"&&V!==at&&V!==Ze&&V!==Ie&&V!==" "){const ce=M(E);return f($.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,I+ce),I+ce}return E.currentChar()===at&&f($.UNTERMINATED_CLOSING_BRACE,a(),0),I}function Ke(E){v(E);let y="";return E.currentChar()==="-"?(E.next(),y+=`-${Se(E)}`):y+=Se(E),E.currentChar()===at&&f($.UNTERMINATED_CLOSING_BRACE,a(),0),y}function Re(E){return E!==js&&E!==Ie}function rt(E){v(E),b(E,"'");let y="",I="";for(;y=W(E,Re);)y==="\\"?I+=T(E):I+=y;const V=E.currentChar();return V===Ie||V===at?(f($.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),V===Ie&&(E.next(),b(E,"'")),I):(b(E,"'"),I)}function T(E){const y=E.currentChar();switch(y){case"\\":case"'":return E.next(),`\\${y}`;case"u":return R(E,y,4);case"U":return R(E,y,6);default:return f($.UNKNOWN_ESCAPE_SEQUENCE,a(),0,y),""}}function R(E,y,I){b(E,y);let V="";for(let ce=0;ce<I;ce++){const me=ge(E);if(!me){f($.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${y}${V}${E.currentChar()}`);break}V+=me}return`\\${y}${V}`}function P(E){return E!=="{"&&E!=="}"&&E!==Ze&&E!==Ie}function M(E){v(E);let y="",I="";for(;y=W(E,P);)I+=y;return I}function H(E){let y="",I="";for(;y=U(E);)I+=y;return I}function le(E){const y=I=>{const V=E.currentChar();return V==="{"||V==="@"||V==="|"||V==="("||V===")"||!V||V===Ze?I:(I+=V,E.next(),y(I))};return y("")}function K(E){v(E);const y=b(E,"|");return v(E),y}function G(E,y){let I=null;switch(E.currentChar()){case"{":return y.braceNest>=1&&f($.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),E.next(),I=p(y,2,"{"),v(E),y.braceNest++,I;case"}":return y.braceNest>0&&y.currentType===2&&f($.EMPTY_PLACEHOLDER,a(),0),E.next(),I=p(y,3,"}"),y.braceNest--,y.braceNest>0&&v(E),y.inLinked&&y.braceNest===0&&(y.inLinked=!1),I;case"@":return y.braceNest>0&&f($.UNTERMINATED_CLOSING_BRACE,a(),0),I=ee(E,y)||m(y),y.braceNest=0,I;default:{let ce=!0,me=!0,J=!0;if(q(E))return y.braceNest>0&&f($.UNTERMINATED_CLOSING_BRACE,a(),0),I=p(y,1,K(E)),y.braceNest=0,y.inLinked=!1,I;if(y.braceNest>0&&(y.currentType===4||y.currentType===5||y.currentType===6))return f($.UNTERMINATED_CLOSING_BRACE,a(),0),y.braceNest=0,Ve(E,y);if(ce=O(E,y))return I=p(y,4,xe(E)),v(E),I;if(me=A(E,y))return I=p(y,5,Ke(E)),v(E),I;if(J=w(E,y))return I=p(y,6,rt(E)),v(E),I;if(!ce&&!me&&!J)return I=p(y,12,M(E)),f($.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,I.value),v(E),I;break}}return I}function ee(E,y){const{currentType:I}=y;let V=null;const ce=E.currentChar();switch((I===7||I===8||I===11||I===9)&&(ce===Ie||ce===Ze)&&f($.INVALID_LINKED_FORMAT,a(),0),ce){case"@":return E.next(),V=p(y,7,"@"),y.inLinked=!0,V;case".":return v(E),E.next(),p(y,8,".");case":":return v(E),E.next(),p(y,9,":");default:return q(E)?(V=p(y,1,K(E)),y.braceNest=0,y.inLinked=!1,V):D(E,y)||F(E,y)?(v(E),ee(E,y)):N(E,y)?(v(E),p(y,11,H(E))):B(E,y)?(v(E),ce==="{"?G(E,y)||V:p(y,10,le(E))):(I===7&&f($.INVALID_LINKED_FORMAT,a(),0),y.braceNest=0,y.inLinked=!1,Ve(E,y))}}function Ve(E,y){let I={type:13};if(y.braceNest>0)return G(E,y)||m(y);if(y.inLinked)return ee(E,y)||m(y);switch(E.currentChar()){case"{":return G(E,y)||m(y);case"}":return f($.UNBALANCED_CLOSING_BRACE,a(),0),E.next(),p(y,3,"}");case"@":return ee(E,y)||m(y);default:{if(q(E))return I=p(y,1,K(E)),y.braceNest=0,y.inLinked=!1,I;if(oe(E))return p(y,0,ve(E));break}}return I}function ye(){const{currentType:E,offset:y,startLoc:I,endLoc:V}=u;return u.lastType=E,u.lastOffset=y,u.lastStartLoc=I,u.lastEndLoc=V,u.offset=o(),u.startLoc=a(),r.currentChar()===at?p(u,13):Ve(r,u)}return{nextToken:ye,currentOffset:o,currentPosition:a,context:c}}const P_="parser",R_=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function L_(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function x_(e={}){const t=e.location!==!1,{onError:n}=e;function r(_,h,O,A,...w){const D=_.currentPosition();if(D.offset+=A,D.column+=A,n){const N=t?ro(O,D):null,F=tn(h,N,{domain:P_,args:w});n(F)}}function o(_,h,O){const A={type:_};return t&&(A.start=h,A.end=h,A.loc={start:O,end:O}),A}function a(_,h,O,A){t&&(_.end=h,_.loc&&(_.loc.end=O))}function s(_,h){const O=_.context(),A=o(3,O.offset,O.startLoc);return A.value=h,a(A,_.currentOffset(),_.currentPosition()),A}function i(_,h){const O=_.context(),{lastOffset:A,lastStartLoc:w}=O,D=o(5,A,w);return D.index=parseInt(h,10),_.nextToken(),a(D,_.currentOffset(),_.currentPosition()),D}function u(_,h){const O=_.context(),{lastOffset:A,lastStartLoc:w}=O,D=o(4,A,w);return D.key=h,_.nextToken(),a(D,_.currentOffset(),_.currentPosition()),D}function c(_,h){const O=_.context(),{lastOffset:A,lastStartLoc:w}=O,D=o(9,A,w);return D.value=h.replace(R_,L_),_.nextToken(),a(D,_.currentOffset(),_.currentPosition()),D}function d(_){const h=_.nextToken(),O=_.context(),{lastOffset:A,lastStartLoc:w}=O,D=o(8,A,w);return h.type!==11?(r(_,$.UNEXPECTED_EMPTY_LINKED_MODIFIER,O.lastStartLoc,0),D.value="",a(D,A,w),{nextConsumeToken:h,node:D}):(h.value==null&&r(_,$.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,Qe(h)),D.value=h.value||"",a(D,_.currentOffset(),_.currentPosition()),{node:D})}function f(_,h){const O=_.context(),A=o(7,O.offset,O.startLoc);return A.value=h,a(A,_.currentOffset(),_.currentPosition()),A}function p(_){const h=_.context(),O=o(6,h.offset,h.startLoc);let A=_.nextToken();if(A.type===8){const w=d(_);O.modifier=w.node,A=w.nextConsumeToken||_.nextToken()}switch(A.type!==9&&r(_,$.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Qe(A)),A=_.nextToken(),A.type===2&&(A=_.nextToken()),A.type){case 10:A.value==null&&r(_,$.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Qe(A)),O.key=f(_,A.value||"");break;case 4:A.value==null&&r(_,$.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Qe(A)),O.key=u(_,A.value||"");break;case 5:A.value==null&&r(_,$.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Qe(A)),O.key=i(_,A.value||"");break;case 6:A.value==null&&r(_,$.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Qe(A)),O.key=c(_,A.value||"");break;default:{r(_,$.UNEXPECTED_EMPTY_LINKED_KEY,h.lastStartLoc,0);const w=_.context(),D=o(7,w.offset,w.startLoc);return D.value="",a(D,w.offset,w.startLoc),O.key=D,a(O,w.offset,w.startLoc),{nextConsumeToken:A,node:O}}}return a(O,_.currentOffset(),_.currentPosition()),{node:O}}function m(_){const h=_.context(),O=h.currentType===1?_.currentOffset():h.offset,A=h.currentType===1?h.endLoc:h.startLoc,w=o(2,O,A);w.items=[];let D=null;do{const B=D||_.nextToken();switch(D=null,B.type){case 0:B.value==null&&r(_,$.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Qe(B)),w.items.push(s(_,B.value||""));break;case 5:B.value==null&&r(_,$.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Qe(B)),w.items.push(i(_,B.value||""));break;case 4:B.value==null&&r(_,$.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Qe(B)),w.items.push(u(_,B.value||""));break;case 6:B.value==null&&r(_,$.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,Qe(B)),w.items.push(c(_,B.value||""));break;case 7:{const q=p(_);w.items.push(q.node),D=q.nextConsumeToken||null;break}}}while(h.currentType!==13&&h.currentType!==1);const N=h.currentType===1?h.lastOffset:_.currentOffset(),F=h.currentType===1?h.lastEndLoc:_.currentPosition();return a(w,N,F),w}function b(_,h,O,A){const w=_.context();let D=A.items.length===0;const N=o(1,h,O);N.cases=[],N.cases.push(A);do{const F=m(_);D||(D=F.items.length===0),N.cases.push(F)}while(w.currentType!==13);return D&&r(_,$.MUST_HAVE_MESSAGES_IN_PLURAL,O,0),a(N,_.currentOffset(),_.currentPosition()),N}function g(_){const h=_.context(),{offset:O,startLoc:A}=h,w=m(_);return h.currentType===13?w:b(_,O,A,w)}function v(_){const h=k_(_,Te({},e)),O=h.context(),A=o(0,O.offset,O.startLoc);return t&&A.loc&&(A.loc.source=_),A.body=g(h),e.onCacheKey&&(A.cacheKey=e.onCacheKey(_)),O.currentType!==13&&r(h,$.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,_[O.offset]||""),a(A,h.currentOffset(),h.currentPosition()),A}return{parse:v}}function Qe(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function V_(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Hs(e,t){for(let n=0;n<e.length;n++)ra(e[n],t)}function ra(e,t){switch(e.type){case 1:Hs(e.cases,t),t.helper("plural");break;case 2:Hs(e.items,t);break;case 6:{ra(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function M_(e,t={}){const n=V_(e);n.helper("normalize"),e.body&&ra(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function F_(e){const t=e.body;return t.type===2?Gs(t):t.cases.forEach(n=>Gs(n)),e}function Gs(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=na(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const U_="minifier";function Gt(e){switch(e.t=e.type,e.type){case 0:{const t=e;Gt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Gt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Gt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Gt(t.key),t.k=t.key,delete t.key,t.modifier&&(Gt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw tn($.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:U_,args:[e.type]})}delete e.type}const $_="parser";function B_(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,a=t.location!==!1,s={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};a&&e.loc&&(s.source=e.loc.source);const i=()=>s;function u(g,v){s.code+=g}function c(g,v=!0){const _=v?r:"";u(o?_+" ".repeat(g):_)}function d(g=!0){const v=++s.indentLevel;g&&c(v)}function f(g=!0){const v=--s.indentLevel;g&&c(v)}function p(){c(s.indentLevel)}return{context:i,push:u,indent:d,deindent:f,newline:p,helper:g=>`_${g}`,needIndent:()=>s.needIndent}}function j_(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Xt(e,t.key),t.modifier?(e.push(", "),Xt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function H_(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let a=0;a<o&&(Xt(e,t.items[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function G_(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let a=0;a<o&&(Xt(e,t.cases[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function K_(e,t){t.body?Xt(e,t.body):e.push("null")}function Xt(e,t){const{helper:n}=e;switch(t.type){case 0:K_(e,t);break;case 1:G_(e,t);break;case 2:H_(e,t);break;case 6:j_(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw tn($.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:$_,args:[t.type]})}}const W_=(e,t={})=>{const n=L(t.mode)?t.mode:"normal",r=L(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
6
+ `,a=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],i=B_(e,{filename:r,breakLineCode:o,needIndent:a});i.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(a),s.length>0&&(i.push(`const { ${na(s.map(d=>`${d}: _${d}`),", ")} } = ctx`),i.newline()),i.push("return "),Xt(i,e),i.deindent(a),i.push("}"),delete e.helpers;const{code:u,map:c}=i.context();return{ast:e,code:u,map:c?c.toJSON():void 0}};function z_(e,t={}){const n=Te({},t),r=!!n.jit,o=!!n.minify,a=n.optimize==null?!0:n.optimize,i=x_(n).parse(e);return r?(a&&F_(i),o&&Gt(i),{ast:i,code:""}):(M_(i,n),W_(i,n))}function Y_(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ea().__INTLIFY_PROD_DEVTOOLS__=!1)}function He(e){return X(e)&&oa(e)===0&&(qe(e,"b")||qe(e,"body"))}const al=["b","body"];function q_(e){return Ot(e,al)}const sl=["c","cases"];function X_(e){return Ot(e,sl,[])}const il=["s","static"];function J_(e){return Ot(e,il)}const ul=["i","items"];function Z_(e){return Ot(e,ul,[])}const ll=["t","type"];function oa(e){return Ot(e,ll)}const cl=["v","value"];function Rn(e,t){const n=Ot(e,cl);if(n!=null)return n;throw En(t)}const fl=["m","modifier"];function Q_(e){return Ot(e,fl)}const dl=["k","key"];function em(e){const t=Ot(e,dl);if(t)return t;throw En(6)}function Ot(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(qe(e,o)&&e[o]!=null)return e[o]}return n}const pl=[...al,...sl,...il,...ul,...dl,...fl,...cl,...ll];function En(e){return new Error(`unhandled node type: ${e}`)}function Dr(e){return n=>tm(n,e)}function tm(e,t){const n=q_(t);if(n==null)throw En(0);if(oa(n)===1){const a=X_(n);return e.plural(a.reduce((s,i)=>[...s,Ks(e,i)],[]))}else return Ks(e,n)}function Ks(e,t){const n=J_(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Z_(t).reduce((o,a)=>[...o,oo(e,a)],[]);return e.normalize(r)}}function oo(e,t){const n=oa(t);switch(n){case 3:return Rn(t,n);case 9:return Rn(t,n);case 4:{const r=t;if(qe(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(qe(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw En(n)}case 5:{const r=t;if(qe(r,"i")&&Ee(r.i))return e.interpolate(e.list(r.i));if(qe(r,"index")&&Ee(r.index))return e.interpolate(e.list(r.index));throw En(n)}case 6:{const r=t,o=Q_(r),a=em(r);return e.linked(oo(e,a),o?oo(e,o):void 0,e.type)}case 7:return Rn(t,n);case 8:return Rn(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const nm="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function rm(e,t){t&&T_(e)&&et(ur(nm,{source:e}))}const om=e=>e;let Ln=re();function am(e,t={}){let n=!1;const r=t.onError||O_;return t.onError=o=>{n=!0,r(o)},{...z_(e,t),detectError:n}}function sm(e,t){if(L(e)){const n=de(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&rm(e,n);const o=(t.onCacheKey||om)(e),a=Ln[o];if(a)return a;const{ast:s,detectError:i}=am(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),u=Dr(s);return i?u:Ln[o]=u}else{if(process.env.NODE_ENV!=="production"&&!He(e))return et(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),(()=>e);const n=e.cacheKey;if(n){const r=Ln[n];return r||(Ln[n]=Dr(e))}else return Dr(e)}}let vn=null;function im(e){vn=e}function um(e,t,n){vn&&vn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const lm=cm("function:translate");function cm(e){return t=>vn&&vn.emit(e,t)}const De={INVALID_ARGUMENT:y_,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},fm=24;function lt(e){return tn(e,null,process.env.NODE_ENV!=="production"?{messages:dm}:void 0)}const dm={[De.INVALID_ARGUMENT]:"Invalid arguments",[De.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[De.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[De.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[De.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[De.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[De.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function aa(e,t){return t.locale!=null?Ws(t.locale):Ws(e.locale)}let kr;function Ws(e){if(L(e))return e;if(ue(e)){if(e.resolvedOnce&&kr!=null)return kr;if(e.constructor.name==="Function"){const t=e();if(h_(t))throw lt(De.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return kr=t}else throw lt(De.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw lt(De.NOT_SUPPORT_LOCALE_TYPE)}function pm(e,t,n){return[...new Set([n,..._e(t)?t:X(t)?Object.keys(t):L(t)?[t]:[n]])]}function _l(e,t,n){const r=L(n)?n:Zn,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(r);if(!a){a=[];let s=[n];for(;_e(s);)s=zs(a,s,t);const i=_e(t)||!Y(t)?t:t.default?t.default:null;s=L(i)?[i]:i,_e(s)&&zs(a,s,!1),o.__localeChainCache.set(r,a)}return a}function zs(e,t,n){let r=!0;for(let o=0;o<t.length&&de(r);o++){const a=t[o];L(a)&&(r=_m(e,t[o],n))}return r}function _m(e,t,n){let r;const o=t.split("-");do{const a=o.join("-");r=mm(e,a,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function mm(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(_e(n)||Y(n))&&n[o]&&(r=n[o])}return r}const At=[];At[0]={w:[0],i:[3,0],"[":[4],o:[7]};At[1]={w:[1],".":[2],"[":[4],o:[7]};At[2]={w:[2],i:[3,0],0:[3,0]};At[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};At[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};At[5]={"'":[4,0],o:8,l:[5,0]};At[6]={'"':[4,0],o:8,l:[6,0]};const hm=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function gm(e){return hm.test(e)}function Em(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function vm(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function ym(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:gm(t)?Em(t):"*"+t}function bm(e){const t=[];let n=-1,r=0,o=0,a,s,i,u,c,d,f;const p=[];p[0]=()=>{s===void 0?s=i:s+=i},p[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},p[2]=()=>{p[0](),o++},p[3]=()=>{if(o>0)o--,r=4,p[0]();else{if(o=0,s===void 0||(s=ym(s),s===!1))return!1;p[1]()}};function m(){const b=e[n+1];if(r===5&&b==="'"||r===6&&b==='"')return n++,i="\\"+b,p[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&m())){if(u=vm(a),f=At[r],c=f[u]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(d=p[c[1]],d&&(i=a,d()===!1))))return;if(r===7)return t}}const Ys=new Map;function Om(e,t){return X(e)?e[t]:null}function Am(e,t){if(!X(e))return null;let n=Ys.get(t);if(n||(n=bm(t),n&&Ys.set(t,n)),!n)return null;const r=n.length;let o=e,a=0;for(;a<r;){const s=n[a];if(pl.includes(s)&&He(o))return null;const i=o[s];if(i===void 0||ue(o))return null;o=i,a++}return o}const Le={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},Tm=8,Sm={[Le.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Le.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Le.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Le.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Le.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Le.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Le.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Lt(e,...t){return ur(Sm[e],...t)}const Nm="11.2.1",cr=-1,Zn="en-US",Qn="",qs=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Cm(){return{upper:(e,t)=>t==="text"&&L(e)?e.toUpperCase():t==="vnode"&&X(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&L(e)?e.toLowerCase():t==="vnode"&&X(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&L(e)?qs(e):t==="vnode"&&X(e)&&"__v_isVNode"in e?qs(e.children):e}}let ml;function Im(e){ml=e}let hl;function wm(e){hl=e}let gl;function Dm(e){gl=e}let El=null;const km=e=>{El=e},Pm=()=>El;let vl=null;const Xs=e=>{vl=e},Rm=()=>vl;let Js=0;function Lm(e={}){const t=ue(e.onWarn)?e.onWarn:et,n=L(e.version)?e.version:Nm,r=L(e.locale)||ue(e.locale)?e.locale:Zn,o=ue(r)?Zn:r,a=_e(e.fallbackLocale)||Y(e.fallbackLocale)||L(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,s=Y(e.messages)?e.messages:Pr(o),i=Y(e.datetimeFormats)?e.datetimeFormats:Pr(o),u=Y(e.numberFormats)?e.numberFormats:Pr(o),c=Te(re(),e.modifiers,Cm()),d=e.pluralRules||re(),f=ue(e.missing)?e.missing:null,p=de(e.missingWarn)||Jn(e.missingWarn)?e.missingWarn:!0,m=de(e.fallbackWarn)||Jn(e.fallbackWarn)?e.fallbackWarn:!0,b=!!e.fallbackFormat,g=!!e.unresolving,v=ue(e.postTranslation)?e.postTranslation:null,_=Y(e.processor)?e.processor:null,h=de(e.warnHtmlMessage)?e.warnHtmlMessage:!0,O=!!e.escapeParameter,A=ue(e.messageCompiler)?e.messageCompiler:ml;process.env.NODE_ENV!=="production"&&ue(e.messageCompiler)&&nl(Lt(Le.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const w=ue(e.messageResolver)?e.messageResolver:hl||Om,D=ue(e.localeFallbacker)?e.localeFallbacker:gl||pm,N=X(e.fallbackContext)?e.fallbackContext:void 0,F=e,B=X(F.__datetimeFormatters)?F.__datetimeFormatters:new Map,q=X(F.__numberFormatters)?F.__numberFormatters:new Map,oe=X(F.__meta)?F.__meta:{};Js++;const W={version:n,cid:Js,locale:r,fallbackLocale:a,messages:s,modifiers:c,pluralRules:d,missing:f,missingWarn:p,fallbackWarn:m,fallbackFormat:b,unresolving:g,postTranslation:v,processor:_,warnHtmlMessage:h,escapeParameter:O,messageCompiler:A,messageResolver:w,localeFallbacker:D,fallbackContext:N,onWarn:t,__meta:oe};return W.datetimeFormats=i,W.numberFormats=u,W.__datetimeFormatters=B,W.__numberFormatters=q,process.env.NODE_ENV!=="production"&&(W.__v_emitter=F.__v_emitter!=null?F.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&um(W,n,oe),W}const Pr=e=>({[e]:re()});function fr(e,t){return e instanceof RegExp?e.test(t):e}function yl(e,t){return e instanceof RegExp?e.test(t):e}function sa(e,t,n,r,o){const{missing:a,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const i=e.__v_emitter;i&&i.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(a!==null){const i=a(e,n,t,o);return L(i)?i:t}else return process.env.NODE_ENV!=="production"&&yl(r,t)&&s(Lt(Le.NOT_FOUND_KEY,{key:t,locale:n})),t}function on(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function bl(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function xm(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(bl(e,t[r]))return!0;return!1}const Zs=typeof Intl<"u",Ol={dateTimeFormat:Zs&&typeof Intl.DateTimeFormat<"u",numberFormat:Zs&&typeof Intl.NumberFormat<"u"};function Qs(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:s}=e,{__datetimeFormatters:i}=e;if(process.env.NODE_ENV!=="production"&&!Ol.dateTimeFormat)return a(Lt(Le.CANNOT_FORMAT_DATE)),Qn;const[u,c,d,f]=ao(...t),p=de(d.missingWarn)?d.missingWarn:e.missingWarn,m=de(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,b=!!d.part,g=aa(e,d),v=s(e,o,g);if(!L(u)||u==="")return new Intl.DateTimeFormat(g,f).format(c);let _={},h,O=null,A=g,w=null;const D="datetime format";for(let B=0;B<v.length;B++){if(h=w=v[B],process.env.NODE_ENV!=="production"&&g!==h&&fr(m,u)&&a(Lt(Le.FALLBACK_TO_DATE_FORMAT,{key:u,target:h})),process.env.NODE_ENV!=="production"&&g!==h){const q=e.__v_emitter;q&&q.emit("fallback",{type:D,key:u,from:A,to:w,groupId:`${D}:${u}`})}if(_=n[h]||{},O=_[u],Y(O))break;sa(e,u,h,p,D),A=w}if(!Y(O)||!L(h))return r?cr:u;let N=`${h}__${u}`;lr(f)||(N=`${N}__${JSON.stringify(f)}`);let F=i.get(N);return F||(F=new Intl.DateTimeFormat(h,Te({},O,f)),i.set(N,F)),b?F.formatToParts(c):F.format(c)}const Al=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function ao(...e){const[t,n,r,o]=e,a=re();let s=re(),i;if(L(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw lt(De.INVALID_ISO_DATE_ARGUMENT);const c=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();i=new Date(c);try{i.toISOString()}catch{throw lt(De.INVALID_ISO_DATE_ARGUMENT)}}else if(d_(t)){if(isNaN(t.getTime()))throw lt(De.INVALID_DATE_ARGUMENT);i=t}else if(Ee(t))i=t;else throw lt(De.INVALID_ARGUMENT);return L(n)?a.key=n:Y(n)&&Object.keys(n).forEach(u=>{Al.includes(u)?s[u]=n[u]:a[u]=n[u]}),L(r)?a.locale=r:Y(r)&&(s=r),Y(o)&&(s=o),[a.key||"",i,a,s]}function ei(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__datetimeFormatters.has(a)&&r.__datetimeFormatters.delete(a)}}function ti(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:s}=e,{__numberFormatters:i}=e;if(process.env.NODE_ENV!=="production"&&!Ol.numberFormat)return a(Lt(Le.CANNOT_FORMAT_NUMBER)),Qn;const[u,c,d,f]=so(...t),p=de(d.missingWarn)?d.missingWarn:e.missingWarn,m=de(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,b=!!d.part,g=aa(e,d),v=s(e,o,g);if(!L(u)||u==="")return new Intl.NumberFormat(g,f).format(c);let _={},h,O=null,A=g,w=null;const D="number format";for(let B=0;B<v.length;B++){if(h=w=v[B],process.env.NODE_ENV!=="production"&&g!==h&&fr(m,u)&&a(Lt(Le.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:h})),process.env.NODE_ENV!=="production"&&g!==h){const q=e.__v_emitter;q&&q.emit("fallback",{type:D,key:u,from:A,to:w,groupId:`${D}:${u}`})}if(_=n[h]||{},O=_[u],Y(O))break;sa(e,u,h,p,D),A=w}if(!Y(O)||!L(h))return r?cr:u;let N=`${h}__${u}`;lr(f)||(N=`${N}__${JSON.stringify(f)}`);let F=i.get(N);return F||(F=new Intl.NumberFormat(h,Te({},O,f)),i.set(N,F)),b?F.formatToParts(c):F.format(c)}const Tl=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function so(...e){const[t,n,r,o]=e,a=re();let s=re();if(!Ee(t))throw lt(De.INVALID_ARGUMENT);const i=t;return L(n)?a.key=n:Y(n)&&Object.keys(n).forEach(u=>{Tl.includes(u)?s[u]=n[u]:a[u]=n[u]}),L(r)?a.locale=r:Y(r)&&(s=r),Y(o)&&(s=o),[a.key||"",i,a,s]}function ni(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__numberFormatters.has(a)&&r.__numberFormatters.delete(a)}}const Vm=e=>e,Mm=e=>"",Fm="text",Um=e=>e.length===0?"":na(e),$m=g_;function ri(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Bm(e){const t=Ee(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ee(e.named.count)||Ee(e.named.n))?Ee(e.named.count)?e.named.count:Ee(e.named.n)?e.named.n:t:t}function jm(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Hm(e={}){const t=e.locale,n=Bm(e),r=X(e.pluralRules)&&L(t)&&ue(e.pluralRules[t])?e.pluralRules[t]:ri,o=X(e.pluralRules)&&L(t)&&ue(e.pluralRules[t])?ri:void 0,a=_=>_[r(n,_.length,o)],s=e.list||[],i=_=>s[_],u=e.named||re();Ee(e.pluralIndex)&&jm(n,u);const c=_=>u[_];function d(_,h){const O=ue(e.messages)?e.messages(_,!!h):X(e.messages)?e.messages[_]:!1;return O||(e.parent?e.parent.message(_):Mm)}const f=_=>e.modifiers?e.modifiers[_]:Vm,p=Y(e.processor)&&ue(e.processor.normalize)?e.processor.normalize:Um,m=Y(e.processor)&&ue(e.processor.interpolate)?e.processor.interpolate:$m,b=Y(e.processor)&&L(e.processor.type)?e.processor.type:Fm,v={list:i,named:c,plural:a,linked:(_,...h)=>{const[O,A]=h;let w="text",D="";h.length===1?X(O)?(D=O.modifier||D,w=O.type||w):L(O)&&(D=O||D):h.length===2&&(L(O)&&(D=O||D),L(A)&&(w=A||w));const N=d(_,!0)(v),F=w==="vnode"&&_e(N)&&D?N[0]:N;return D?f(D)(F,w):F},message:d,type:b,interpolate:m,normalize:p,values:Te(re(),s,u)};return v}const oi=()=>"",je=e=>ue(e);function ai(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:a,fallbackLocale:s,messages:i}=e,[u,c]=io(...t),d=de(c.missingWarn)?c.missingWarn:e.missingWarn,f=de(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,p=de(c.escapeParameter)?c.escapeParameter:e.escapeParameter,m=!!c.resolvedMessage,b=L(c.default)||de(c.default)?de(c.default)?a?u:()=>u:c.default:n?a?u:()=>u:null,g=n||b!=null&&(L(b)||ue(b)),v=aa(e,c);p&&Gm(c);let[_,h,O]=m?[u,v,i[v]||re()]:Sl(e,u,v,s,f,d),A=_,w=u;if(!m&&!(L(A)||He(A)||je(A))&&g&&(A=b,w=A),!m&&(!(L(A)||He(A)||je(A))||!L(h)))return o?cr:u;if(process.env.NODE_ENV!=="production"&&L(A)&&e.messageCompiler==null)return et(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`),u;let D=!1;const N=()=>{D=!0},F=je(A)?A:Nl(e,u,h,A,w,N);if(D)return A;const B=Ym(e,h,O,c),q=Hm(B),oe=Km(e,F,q);let W=r?r(oe,u):oe;if(p&&L(W)&&(W=__(W)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ae={timestamp:Date.now(),key:L(u)?u:je(A)?A.key:"",locale:h||(je(A)?A.locale:""),format:L(A)?A:je(A)?A.source:"",message:W};ae.meta=Te({},e.__meta,Pm()||{}),lm(ae)}return W}function Gm(e){_e(e.list)?e.list=e.list.map(t=>L(t)?Us(t):t):X(e.named)&&Object.keys(e.named).forEach(t=>{L(e.named[t])&&(e.named[t]=Us(e.named[t]))})}function Sl(e,t,n,r,o,a){const{messages:s,onWarn:i,messageResolver:u,localeFallbacker:c}=e,d=c(e,r,n);let f=re(),p,m=null,b=n,g=null;const v="translate";for(let _=0;_<d.length;_++){if(p=g=d[_],process.env.NODE_ENV!=="production"&&n!==p&&!bl(n,p)&&fr(o,t)&&i(Lt(Le.FALLBACK_TO_TRANSLATE,{key:t,target:p})),process.env.NODE_ENV!=="production"&&n!==p){const w=e.__v_emitter;w&&w.emit("fallback",{type:v,key:t,from:b,to:g,groupId:`${v}:${t}`})}f=s[p]||re();let h=null,O,A;if(process.env.NODE_ENV!=="production"&&Xe&&(h=window.performance.now(),O="intlify-message-resolve-start",A="intlify-message-resolve-end",Ue&&Ue(O)),(m=u(f,t))===null&&(m=f[t]),process.env.NODE_ENV!=="production"&&Xe){const w=window.performance.now(),D=e.__v_emitter;D&&h&&m&&D.emit("message-resolve",{type:"message-resolve",key:t,message:m,time:w-h,groupId:`${v}:${t}`}),O&&A&&Ue&&Rt&&(Ue(A),Rt("intlify message resolve",O,A))}if(L(m)||He(m)||je(m))break;if(!xm(p,d)){const w=sa(e,t,p,a,v);w!==t&&(m=w)}b=g}return[m,p,f]}function Nl(e,t,n,r,o,a){const{messageCompiler:s,warnHtmlMessage:i}=e;if(je(r)){const p=r;return p.locale=p.locale||n,p.key=p.key||t,p}if(s==null){const p=(()=>r);return p.locale=n,p.key=t,p}let u=null,c,d;process.env.NODE_ENV!=="production"&&Xe&&(u=window.performance.now(),c="intlify-message-compilation-start",d="intlify-message-compilation-end",Ue&&Ue(c));const f=s(r,Wm(e,n,o,r,i,a));if(process.env.NODE_ENV!=="production"&&Xe){const p=window.performance.now(),m=e.__v_emitter;m&&u&&m.emit("message-compilation",{type:"message-compilation",message:r,time:p-u,groupId:`translate:${t}`}),c&&d&&Ue&&Rt&&(Ue(d),Rt("intlify message compilation",c,d))}return f.locale=n,f.key=t,f.source=r,f}function Km(e,t,n){let r=null,o,a;process.env.NODE_ENV!=="production"&&Xe&&(r=window.performance.now(),o="intlify-message-evaluation-start",a="intlify-message-evaluation-end",Ue&&Ue(o));const s=t(n);if(process.env.NODE_ENV!=="production"&&Xe){const i=window.performance.now(),u=e.__v_emitter;u&&r&&u.emit("message-evaluation",{type:"message-evaluation",value:s,time:i-r,groupId:`translate:${t.key}`}),o&&a&&Ue&&Rt&&(Ue(a),Rt("intlify message evaluation",o,a))}return s}function io(...e){const[t,n,r]=e,o=re();if(!L(t)&&!Ee(t)&&!je(t)&&!He(t))throw lt(De.INVALID_ARGUMENT);const a=Ee(t)?String(t):(je(t),t);return Ee(n)?o.plural=n:L(n)?o.default=n:Y(n)&&!lr(n)?o.named=n:_e(n)&&(o.list=n),Ee(r)?o.plural=r:L(r)?o.default=r:Y(r)&&Te(o,r),[a,o]}function Wm(e,t,n,r,o,a){return{locale:t,key:n,warnHtmlMessage:o,onError:s=>{if(a&&a(s),process.env.NODE_ENV!=="production"){const i=zm(r),u=`Message compilation error: ${s.message}`,c=s.location&&i&&E_(i,s.location.start.offset,s.location.end.offset),d=e.__v_emitter;d&&i&&d.emit("compile-error",{message:i,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${u}
7
+ ${c}`:u)}else throw s},onCacheKey:s=>c_(t,n,s)}}function zm(e){if(L(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Ym(e,t,n,r){const{modifiers:o,pluralRules:a,messageResolver:s,fallbackLocale:i,fallbackWarn:u,missingWarn:c,fallbackContext:d}=e,p={locale:t,modifiers:o,pluralRules:a,messages:(m,b)=>{let g=s(n,m);if(g==null&&(d||b)){const[,,v]=Sl(d||e,m,t,i,u,c);g=s(v,m)}if(L(g)||He(g)){let v=!1;const h=Nl(e,m,t,g,m,()=>{v=!0});return v?oi:h}else return je(g)?g:oi}};return e.processor&&(p.processor=e.processor),r.list&&(p.list=r.list),r.named&&(p.named=r.named),Ee(r.plural)&&(p.pluralIndex=r.plural),p}Y_();function qm(){return Cl().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Cl(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Xm=typeof Proxy=="function",Jm="devtools-plugin:setup",Zm="plugin:settings:set";let jt,uo;function Qm(){var e;return jt!==void 0||(typeof window<"u"&&window.performance?(jt=!0,uo=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(jt=!0,uo=globalThis.perf_hooks.performance):jt=!1),jt}function eh(){return Qm()?uo.now():Date.now()}let th=class{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const s in t.settings){const i=t.settings[s];r[s]=i.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let a=Object.assign({},r);try{const s=localStorage.getItem(o),i=JSON.parse(s);Object.assign(a,i)}catch{}this.fallbacks={getSettings(){return a},setSettings(s){try{localStorage.setItem(o,JSON.stringify(s))}catch{}a=s},now(){return eh()}},n&&n.on(Zm,(s,i)=>{s===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(s,i)=>this.target?this.target.on[i]:(...u)=>{this.onQueue.push({method:i,args:u})}}),this.proxiedTarget=new Proxy({},{get:(s,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...u)=>(this.targetQueue.push({method:i,args:u,resolve:()=>{}}),this.fallbacks[i](...u)):(...u)=>new Promise(c=>{this.targetQueue.push({method:i,args:u,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}};function nh(e,t){const n=e,r=Cl(),o=qm(),a=Xm&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))o.emit(Jm,e,t);else{const s=a?new th(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}const rh="11.2.1";function oh(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ea().__INTLIFY_PROD_DEVTOOLS__=!1)}const fe={UNEXPECTED_RETURN_TYPE:fm,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Ge(e,...t){return tn(e,null,process.env.NODE_ENV!=="production"?{messages:ah,args:t}:void 0)}const ah={[fe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[fe.INVALID_ARGUMENT]:"Invalid argument",[fe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[fe.NOT_INSTALLED]:"Need to install with `app.use` function",[fe.UNEXPECTED_ERROR]:"Unexpected error",[fe.REQUIRED_VALUE]:"Required in value: {0}",[fe.INVALID_VALUE]:"Invalid value",[fe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[fe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[fe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[fe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},lo=tt("__translateVNode"),co=tt("__datetimeParts"),fo=tt("__numberParts"),yn=tt("__enableEmitter"),po=tt("__disableEmitter"),sh=tt("__setPluralRules"),ih=tt("__injectWithOption"),_o=tt("__dispose"),Ye={FALLBACK_TO_ROOT:Tm,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},uh={[Ye.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Ye.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Ye.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Ye.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
8
+ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[Ye.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[Ye.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function bn(e,...t){return ur(uh[e],...t)}function On(e){if(!X(e)||He(e))return e;for(const t in e)if(qe(e,t))if(!t.includes("."))X(e[t])&&On(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,a=!1;for(let s=0;s<r;s++){if(n[s]==="__proto__")throw new Error(`unsafe key: ${n[s]}`);if(n[s]in o||(o[n[s]]=re()),!X(o[n[s]])){process.env.NODE_ENV!=="production"&&et(bn(Ye.IGNORE_OBJ_FLATTEN,{key:n[s]})),a=!0;break}o=o[n[s]]}if(a||(He(o)?pl.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!He(o)){const s=o[n[r]];X(s)&&On(s)}}return e}function Il(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:a}=t,s=Y(n)?n:_e(r)?re():{[e]:re()};if(_e(r)&&r.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:u,resource:c}=i;u?(s[u]=s[u]||re(),Kn(c,s[u])):Kn(c,s)}else L(i)&&Kn(JSON.parse(i),s)}),o==null&&a)for(const i in s)qe(s,i)&&On(s[i]);return s}function wl(e){return e.type}function lh(e,t,n){let r=X(t.messages)?t.messages:re();"__i18nGlobal"in n&&(r=Il(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(X(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(X(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function si(e){return l.createVNode(l.Text,null,e,0)}function ia(){return wa.currentInstance||wa.getCurrentInstance()}const ii="__INTLIFY_META__",ui=()=>[],ch=()=>!1;let li=0;function ci(e){return((t,n,r,o)=>e(n,r,ia()||void 0,o))}const fh=()=>{const e=ia();let t=null;return e&&(t=wl(e)[ii])?{[ii]:t}:null};function Dl(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,a=Xe?l.ref:l.shallowRef;let s=de(e.inheritLocale)?e.inheritLocale:!0;const i=a(t&&s?t.locale.value:L(e.locale)?e.locale:Zn),u=a(t&&s?t.fallbackLocale.value:L(e.fallbackLocale)||_e(e.fallbackLocale)||Y(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),c=a(Il(i.value,e)),d=a(Y(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),f=a(Y(e.numberFormats)?e.numberFormats:{[i.value]:{}});let p=t?t.missingWarn:de(e.missingWarn)||Jn(e.missingWarn)?e.missingWarn:!0,m=t?t.fallbackWarn:de(e.fallbackWarn)||Jn(e.fallbackWarn)?e.fallbackWarn:!0,b=t?t.fallbackRoot:de(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,v=ue(e.missing)?e.missing:null,_=ue(e.missing)?ci(e.missing):null,h=ue(e.postTranslation)?e.postTranslation:null,O=t?t.warnHtmlMessage:de(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter;const w=t?t.modifiers:Y(e.modifiers)?e.modifiers:{};let D=e.pluralRules||t&&t.pluralRules,N;N=(()=>{r&&Xs(null);const S={version:rh,locale:i.value,fallbackLocale:u.value,messages:c.value,modifiers:w,pluralRules:D,missing:_===null?void 0:_,missingWarn:p,fallbackWarn:m,fallbackFormat:g,unresolving:!0,postTranslation:h===null?void 0:h,warnHtmlMessage:O,escapeParameter:A,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};S.datetimeFormats=d.value,S.numberFormats=f.value,S.__datetimeFormatters=Y(N)?N.__datetimeFormatters:void 0,S.__numberFormatters=Y(N)?N.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(S.__v_emitter=Y(N)?N.__v_emitter:void 0);const k=Lm(S);return r&&Xs(k),k})(),on(N,i.value,u.value);function B(){return[i.value,u.value,c.value,d.value,f.value]}const q=l.computed({get:()=>i.value,set:S=>{N.locale=S,i.value=S}}),oe=l.computed({get:()=>u.value,set:S=>{N.fallbackLocale=S,u.value=S,on(N,i.value,S)}}),W=l.computed(()=>c.value),ae=l.computed(()=>d.value),U=l.computed(()=>f.value);function te(){return ue(h)?h:null}function ne(S){h=S,N.postTranslation=S}function j(){return v}function Be(S){S!==null&&(_=ci(S)),v=S,N.missing=_}function Ce(S,k){return S!=="translate"||!k.resolvedMessage}const ge=(S,k,Q,he,Tt,In)=>{B();let Bt;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(N.fallbackContext=t?Rm():void 0),Bt=S(N)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(N.fallbackContext=void 0)}if(Q!=="translate exists"&&Ee(Bt)&&Bt===cr||Q==="translate exists"&&!Bt){const[St,df]=k();if(process.env.NODE_ENV!=="production"&&t&&L(St)&&Ce(Q,df)&&(b&&(fr(m,St)||yl(p,St))&&et(bn(Ye.FALLBACK_TO_ROOT,{key:St,type:Q})),process.env.NODE_ENV!=="production")){const{__v_emitter:Ia}=N;Ia&&b&&Ia.emit("fallback",{type:Q,key:St,to:"global",groupId:`${Q}:${St}`})}return t&&b?he(t):Tt(St)}else{if(In(Bt))return Bt;throw Ge(fe.UNEXPECTED_RETURN_TYPE)}};function Se(...S){return ge(k=>Reflect.apply(ai,null,[k,...S]),()=>io(...S),"translate",k=>Reflect.apply(k.t,k,[...S]),k=>k,k=>L(k))}function ve(...S){const[k,Q,he]=S;if(he&&!X(he))throw Ge(fe.INVALID_ARGUMENT);return Se(k,Q,Te({resolvedMessage:!0},he||{}))}function xe(...S){return ge(k=>Reflect.apply(Qs,null,[k,...S]),()=>ao(...S),"datetime format",k=>Reflect.apply(k.d,k,[...S]),()=>Qn,k=>L(k)||_e(k))}function Ke(...S){return ge(k=>Reflect.apply(ti,null,[k,...S]),()=>so(...S),"number format",k=>Reflect.apply(k.n,k,[...S]),()=>Qn,k=>L(k)||_e(k))}function Re(S){return S.map(k=>L(k)||Ee(k)||de(k)?si(String(k)):k)}const T={normalize:Re,interpolate:S=>S,type:"vnode"};function R(...S){return ge(k=>{let Q;const he=k;try{he.processor=T,Q=Reflect.apply(ai,null,[he,...S])}finally{he.processor=null}return Q},()=>io(...S),"translate",k=>k[lo](...S),k=>[si(k)],k=>_e(k))}function P(...S){return ge(k=>Reflect.apply(ti,null,[k,...S]),()=>so(...S),"number format",k=>k[fo](...S),ui,k=>L(k)||_e(k))}function M(...S){return ge(k=>Reflect.apply(Qs,null,[k,...S]),()=>ao(...S),"datetime format",k=>k[co](...S),ui,k=>L(k)||_e(k))}function H(S){D=S,N.pluralRules=D}function le(S,k){return ge(()=>{if(!S)return!1;const Q=L(k)?k:i.value,he=ee(Q),Tt=N.messageResolver(he,S);return He(Tt)||je(Tt)||L(Tt)},()=>[S],"translate exists",Q=>Reflect.apply(Q.te,Q,[S,k]),ch,Q=>de(Q))}function K(S){let k=null;const Q=_l(N,u.value,i.value);for(let he=0;he<Q.length;he++){const Tt=c.value[Q[he]]||{},In=N.messageResolver(Tt,S);if(In!=null){k=In;break}}return k}function G(S){const k=K(S);return k??(t?t.tm(S)||{}:{})}function ee(S){return c.value[S]||{}}function Ve(S,k){if(o){const Q={[S]:k};for(const he in Q)qe(Q,he)&&On(Q[he]);k=Q[S]}c.value[S]=k,N.messages=c.value}function ye(S,k){c.value[S]=c.value[S]||{};const Q={[S]:k};if(o)for(const he in Q)qe(Q,he)&&On(Q[he]);k=Q[S],Kn(k,c.value[S]),N.messages=c.value}function E(S){return d.value[S]||{}}function y(S,k){d.value[S]=k,N.datetimeFormats=d.value,ei(N,S,k)}function I(S,k){d.value[S]=Te(d.value[S]||{},k),N.datetimeFormats=d.value,ei(N,S,k)}function V(S){return f.value[S]||{}}function ce(S,k){f.value[S]=k,N.numberFormats=f.value,ni(N,S,k)}function me(S,k){f.value[S]=Te(f.value[S]||{},k),N.numberFormats=f.value,ni(N,S,k)}li++,t&&Xe&&(l.watch(t.locale,S=>{s&&(i.value=S,N.locale=S,on(N,i.value,u.value))}),l.watch(t.fallbackLocale,S=>{s&&(u.value=S,N.fallbackLocale=S,on(N,i.value,u.value))}));const J={id:li,locale:q,fallbackLocale:oe,get inheritLocale(){return s},set inheritLocale(S){s=S,S&&t&&(i.value=t.locale.value,u.value=t.fallbackLocale.value,on(N,i.value,u.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:W,get modifiers(){return w},get pluralRules(){return D||{}},get isGlobal(){return r},get missingWarn(){return p},set missingWarn(S){p=S,N.missingWarn=p},get fallbackWarn(){return m},set fallbackWarn(S){m=S,N.fallbackWarn=m},get fallbackRoot(){return b},set fallbackRoot(S){b=S},get fallbackFormat(){return g},set fallbackFormat(S){g=S,N.fallbackFormat=g},get warnHtmlMessage(){return O},set warnHtmlMessage(S){O=S,N.warnHtmlMessage=S},get escapeParameter(){return A},set escapeParameter(S){A=S,N.escapeParameter=S},t:Se,getLocaleMessage:ee,setLocaleMessage:Ve,mergeLocaleMessage:ye,getPostTranslationHandler:te,setPostTranslationHandler:ne,getMissingHandler:j,setMissingHandler:Be,[sh]:H};return J.datetimeFormats=ae,J.numberFormats=U,J.rt=ve,J.te=le,J.tm=G,J.d=xe,J.n=Ke,J.getDateTimeFormat=E,J.setDateTimeFormat=y,J.mergeDateTimeFormat=I,J.getNumberFormat=V,J.setNumberFormat=ce,J.mergeNumberFormat=me,J[ih]=n,J[lo]=R,J[co]=M,J[fo]=P,process.env.NODE_ENV!=="production"&&(J[yn]=S=>{N.__v_emitter=S},J[po]=()=>{N.__v_emitter=void 0}),J}const kl="vue-i18n: composer properties",Rr={"vue-devtools-plugin-vue-i18n":"Vue I18n DevTools","vue-i18n-resource-inspector":"Vue I18n DevTools","vue-i18n-timeline":"Vue I18n"},dh={"vue-i18n-resource-inspector":"Search for scopes ..."},ph={"vue-i18n-timeline":16764185};let mo;async function _h(e,t){return new Promise((n,r)=>{try{nh({id:"vue-devtools-plugin-vue-i18n",label:Rr["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[kl],app:e},o=>{mo=o,o.on.visitComponentTree(({componentInstance:s,treeNode:i})=>{mh(s,i,t)}),o.on.inspectComponent(({componentInstance:s,instanceData:i})=>{s.__VUE_I18N__&&i&&(t.mode==="legacy"?s.__VUE_I18N__!==t.global.__composer&&fi(i,s.__VUE_I18N__):fi(i,s.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:Rr["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:dh["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(s=>{s.app===e&&s.inspectorId==="vue-i18n-resource-inspector"&&yh(s,t)});const a=new Map;o.on.getInspectorState(async s=>{if(s.app===e&&s.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),Oh(s,t),s.nodeId==="global"){if(!a.has(s.app)){const[i]=await o.getComponentInstances(s.app);a.set(s.app,i)}o.highlightElement(a.get(s.app))}else{const i=bh(s.nodeId,t);i&&o.highlightElement(i)}}),o.on.editInspectorState(s=>{s.app===e&&s.inspectorId==="vue-i18n-resource-inspector"&&Th(s,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:Rr["vue-i18n-timeline"],color:ph["vue-i18n-timeline"]}),n(!0)})}catch(o){console.error(o),r(!1)}})}function Pl(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function mh(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.__VUE_I18N__&&e.__VUE_I18N__!==r){const o={label:`i18n (${Pl(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}function fi(e,t){const n=kl;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:ua(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function ua(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];ue(r)&&"source"in r?t[n]=vh(r):He(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:X(r)?t[n]=ua(r):t[n]=r}),t}const hh={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function gh(e){return e.replace(/[<>"&]/g,Eh)}function Eh(e){return hh[e]||e}function vh(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${gh(e.source)}")`:"(?)"}`}}}function yh(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,o]of t.__instances){const a=t.mode==="composition"?o:o.__composer;n!==a&&e.rootNodes.push({id:a.id.toString(),label:`${Pl(r)} Scope`})}}function bh(e,t){let n=null;if(e!=="global"){for(const[r,o]of t.__instances.entries())if(o.id.toString()===e){n=r;break}}return n}function Rl(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function Oh(e,t){const n=Rl(e.nodeId,t);return n&&(e.state=Ah(n)),null}function Ah(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const o="Locale messages info",a=[{type:o,key:"messages",editable:!1,value:ua(e.messages.value)}];t[o]=a;{const s="Datetime formats info",i=[{type:s,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[s]=i;const u="Datetime formats info",c=[{type:u,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[u]=c}return t}function ho(e,t){if(mo){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),mo.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function Th(e,t){const n=Rl(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&L(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(L(e.state.value)||_e(e.state.value)||X(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&de(e.state.value)&&(n.inheritLocale=e.state.value)}}const la={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Sh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===l.Fragment?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},re())}function Ll(){return l.Fragment}const Nh=l.defineComponent({name:"i18n-t",props:Te({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ee(e)||!isNaN(e)}},la),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||dr({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(f=>f[0]!=="_"),s=re();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=L(e.plural)?+e.plural:e.plural);const i=Sh(t,a),u=o[lo](e.keypath,i,s),c=Te(re(),r),d=L(e.tag)||X(e.tag)?e.tag:Ll();return l.h(d,c,u)}}}),di=Nh;function Ch(e){return _e(e)&&!L(e[0])}function xl(e,t,n,r){const{slots:o,attrs:a}=t;return()=>{const s={part:!0};let i=re();e.locale&&(s.locale=e.locale),L(e.format)?s.key=e.format:X(e.format)&&(L(e.format.key)&&(s.key=e.format.key),i=Object.keys(e.format).reduce((p,m)=>n.includes(m)?Te(re(),p,{[m]:e.format[m]}):p,re()));const u=r(e.value,s,i);let c=[s.key];_e(u)?c=u.map((p,m)=>{const b=o[p.type],g=b?b({[p.type]:p.value,index:m,parts:u}):[p.value];return Ch(g)&&(g[0].key=`${p.type}-${m}`),g}):L(u)&&(c=[u]);const d=Te(re(),a),f=L(e.tag)||X(e.tag)?e.tag:Ll();return l.h(f,d,c)}}const Ih=l.defineComponent({name:"i18n-n",props:Te({value:{type:Number,required:!0},format:{type:[String,Object]}},la),setup(e,t){const n=e.i18n||dr({useScope:e.scope,__useComponent:!0});return xl(e,t,Tl,(...r)=>n[fo](...r))}}),pi=Ih;function wh(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Dh(e){const t=s=>{process.env.NODE_ENV!=="production"&&nl(bn(Ye.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));const{instance:i,value:u}=s;if(!i||!i.$)throw Ge(fe.UNEXPECTED_ERROR);const c=wh(e,i.$),d=_i(u);return[Reflect.apply(c.t,c,[...mi(d)]),c]};return{created:(s,i)=>{const[u,c]=t(i);Xe&&e.global===c&&(s.__i18nWatcher=l.watch(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),s.__composer=c,s.textContent=u},unmounted:s=>{Xe&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:i})=>{if(s.__composer){const u=s.__composer,c=_i(i);s.textContent=Reflect.apply(u.t,u,[...mi(c)])}},getSSRProps:s=>{const[i]=t(s);return{textContent:i}}}}function _i(e){if(L(e))return{path:e};if(Y(e)){if(!("path"in e))throw Ge(fe.REQUIRED_VALUE,"path");return e}else throw Ge(fe.INVALID_VALUE)}function mi(e){const{path:t,locale:n,args:r,choice:o,plural:a}=e,s={},i=r||{};return L(n)&&(s.locale=n),Ee(o)&&(s.plural=o),Ee(a)&&(s.plural=a),[t,i,s]}function kh(e,t,...n){const r=Y(n[0])?n[0]:{};(de(r.globalInstall)?r.globalInstall:!0)&&([di.name,"I18nT"].forEach(a=>e.component(a,di)),[pi.name,"I18nN"].forEach(a=>e.component(a,pi)),[gi.name,"I18nD"].forEach(a=>e.component(a,gi))),e.directive("t",Dh(t))}const Ph=tt("global-vue-i18n");function Rh(e={}){process.env.NODE_ENV;const n=de(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,a]=Lh(e),s=tt(process.env.NODE_ENV!=="production"?"vue-i18n":"");function i(f){return r.get(f)||null}function u(f,p){r.set(f,p)}function c(f){r.delete(f)}const d={get mode(){return"composition"},async install(f,...p){if(process.env.NODE_ENV!=="production"&&(f.__VUE_I18N__=d),f.__VUE_I18N_SYMBOL__=s,f.provide(f.__VUE_I18N_SYMBOL__,d),Y(p[0])){const g=p[0];d.__composerExtend=g.__composerExtend,d.__vueI18nExtend=g.__vueI18nExtend}let m=null;n&&(m=jh(f,d.global)),kh(f,d,...p);const b=f.unmount;if(f.unmount=()=>{m&&m(),d.dispose(),b()},process.env.NODE_ENV!=="production"){if(!await _h(f,d))throw Ge(fe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const v=ol();{const _=a;_[yn]&&_[yn](v)}v.on("*",ho)}},get global(){return a},dispose(){o.stop()},__instances:r,__getInstance:i,__setInstance:u,__deleteInstance:c};return d}function dr(e={}){const t=ia();if(t==null)throw Ge(fe.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ge(fe.NOT_INSTALLED);const n=xh(t),r=Mh(n),o=wl(t),a=Vh(e,o);if(a==="global")return lh(r,e,o),r;if(a==="parent"){let u=Fh(n,t,e.__useComponent);return u==null&&(process.env.NODE_ENV!=="production"&&et(bn(Ye.NOT_FOUND_PARENT_SCOPE)),u=r),u}const s=n;let i=s.__getInstance(t);if(i==null){const u=Te({},e);"__i18n"in o&&(u.__i18n=o.__i18n),r&&(u.__root=r),i=Dl(u),s.__composerExtend&&(i[_o]=s.__composerExtend(i)),$h(s,t,i),s.__setInstance(t,i)}else process.env.NODE_ENV!=="production"&&a==="local"&&et(bn(Ye.DUPLICATE_USE_I18N_CALLING));return i}function Lh(e,t){const n=l.effectScope(),r=n.run(()=>Dl(e));if(r==null)throw Ge(fe.UNEXPECTED_ERROR);return[n,r]}function xh(e){const t=l.inject(e.isCE?Ph:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ge(e.isCE?fe.NOT_INSTALLED_WITH_PROVIDE:fe.UNEXPECTED_ERROR);return t}function Vh(e,t){return lr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Mh(e){return e.mode==="composition"?e.global:e.global.__composer}function Fh(e,t,n=!1){let r=null;const o=t.root;let a=Uh(t,n);for(;a!=null;){const s=e;if(e.mode==="composition"&&(r=s.__getInstance(a)),r!=null||o===a)break;a=a.parent}return r}function Uh(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function $h(e,t,n){let r=null;l.onMounted(()=>{if(process.env.NODE_ENV!=="production"){t.__VUE_I18N__=n,r=ol();const o=n;o[yn]&&o[yn](r),r.on("*",ho)}},t),l.onUnmounted(()=>{const o=n;process.env.NODE_ENV!=="production"&&(r&&r.off("*",ho),o[po]&&o[po](),delete t.__VUE_I18N__),e.__deleteInstance(t);const a=o[_o];a&&(a(),delete o[_o])},t)}const Bh=["locale","fallbackLocale","availableLocales"],hi=["t","rt","d","n","tm","te"];function jh(e,t){const n=Object.create(null);return Bh.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a)throw Ge(fe.UNEXPECTED_ERROR);const s=l.isRef(a.value)?{get(){return a.value.value},set(i){a.value.value=i}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,o,s)}),e.config.globalProperties.$i18n=n,hi.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a||!a.value)throw Ge(fe.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,a)}),()=>{delete e.config.globalProperties.$i18n,hi.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const Hh=l.defineComponent({name:"i18n-d",props:Te({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},la),setup(e,t){const n=e.i18n||dr({useScope:e.scope,__useComponent:!0});return xl(e,t,Al,(...r)=>n[co](...r))}}),gi=Hh;oh();Im(sm);wm(Am);Dm(_l);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=ea();e.__INTLIFY__=!0,im(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Lr=e=>e&&typeof e=="object"&&!Array.isArray(e),go=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Lr(e)&&Lr(n))for(const r in n)Lr(n[r])?(e[r]||Object.assign(e,{[r]:{}}),go(e[r],n[r])):Object.assign(e,{[r]:n[r]});return go(e,...t)},Gh=go({},{"zh-CN":{hello:{t:0,b:{t:2,i:[{t:3}],s:"你好"}}}});function Kh(){return Vl().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Vl(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Wh=typeof Proxy=="function",zh="devtools-plugin:setup",Yh="plugin:settings:set";let Ht,Eo;function qh(){var e;return Ht!==void 0||(typeof window<"u"&&window.performance?(Ht=!0,Eo=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Ht=!0,Eo=globalThis.perf_hooks.performance):Ht=!1),Ht}function Xh(){return qh()?Eo.now():Date.now()}class Jh{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const s in t.settings){const i=t.settings[s];r[s]=i.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let a=Object.assign({},r);try{const s=localStorage.getItem(o),i=JSON.parse(s);Object.assign(a,i)}catch{}this.fallbacks={getSettings(){return a},setSettings(s){try{localStorage.setItem(o,JSON.stringify(s))}catch{}a=s},now(){return Xh()}},n&&n.on(Yh,(s,i)=>{s===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(s,i)=>this.target?this.target.on[i]:(...u)=>{this.onQueue.push({method:i,args:u})}}),this.proxiedTarget=new Proxy({},{get:(s,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...u)=>(this.targetQueue.push({method:i,args:u,resolve:()=>{}}),this.fallbacks[i](...u)):(...u)=>new Promise(c=>{this.targetQueue.push({method:i,args:u,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Zh(e,t){const n=e,r=Vl(),o=Kh(),a=Wh&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))o.emit(zh,e,t);else{const s=a?new Jh(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}const ut=typeof document<"u";function Ml(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Qh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ml(e.default)}const Z=Object.assign;function xr(e,t){const n={};for(const r in t){const o=t[r];n[r]=$e(o)?o.map(e):e(o)}return n}const fn=()=>{},$e=Array.isArray;function Ei(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function z(e){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+e].concat(t))}const Fl=/#/g,e0=/&/g,t0=/\//g,n0=/=/g,r0=/\?/g,Ul=/\+/g,o0=/%5B/g,a0=/%5D/g,$l=/%5E/g,s0=/%60/g,Bl=/%7B/g,i0=/%7C/g,jl=/%7D/g,u0=/%20/g;function ca(e){return e==null?"":encodeURI(""+e).replace(i0,"|").replace(o0,"[").replace(a0,"]")}function l0(e){return ca(e).replace(Bl,"{").replace(jl,"}").replace($l,"^")}function vo(e){return ca(e).replace(Ul,"%2B").replace(u0,"+").replace(Fl,"%23").replace(e0,"%26").replace(s0,"`").replace(Bl,"{").replace(jl,"}").replace($l,"^")}function c0(e){return vo(e).replace(n0,"%3D")}function f0(e){return ca(e).replace(Fl,"%23").replace(r0,"%3F")}function d0(e){return f0(e).replace(t0,"%2F")}function Jt(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{process.env.NODE_ENV!=="production"&&z(`Error decoding "${e}". Using original value`)}return""+e}const p0=/\/$/,_0=e=>e.replace(p0,"");function Vr(e,t,n="/"){let r,o={},a="",s="";const i=t.indexOf("#");let u=t.indexOf("?");return u=i>=0&&u>i?-1:u,u>=0&&(r=t.slice(0,u),a=t.slice(u,i>0?i:t.length),o=e(a.slice(1))),i>=0&&(r=r||t.slice(0,i),s=t.slice(i,t.length)),r=g0(r??t,n),{fullPath:r+a+s,path:r,query:o,hash:Jt(s)}}function m0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function vi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function yi(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&yt(t.matched[r],n.matched[o])&&Hl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function yt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Hl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!h0(e[n],t[n]))return!1;return!0}function h0(e,t){return $e(e)?bi(e,t):$e(t)?bi(t,e):e===t}function bi(e,t){return $e(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function g0(e,t){if(e.startsWith("/"))return e;if(process.env.NODE_ENV!=="production"&&!t.startsWith("/"))return z(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`),e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let a=n.length-1,s,i;for(s=0;s<r.length;s++)if(i=r[s],i!==".")if(i==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+r.slice(s).join("/")}const _t={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let yo=(function(e){return e.pop="pop",e.push="push",e})({}),Mr=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function E0(e){if(!e)if(ut){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),_0(e)}const v0=/^[^#]+#/;function y0(e,t){return e.replace(v0,"#")+t}function b0(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const pr=()=>({left:window.scrollX,top:window.scrollY});function O0(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#");if(process.env.NODE_ENV!=="production"&&typeof e.el=="string"&&(!r||!document.getElementById(e.el.slice(1))))try{const a=document.querySelector(e.el);if(r&&a){z(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);return}}catch{z(`The selector "${e.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}const o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o){process.env.NODE_ENV!=="production"&&z(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);return}t=b0(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Oi(e,t){return(history.state?history.state.position-t:-1)+e}const bo=new Map;function A0(e,t){bo.set(e,t)}function T0(e){const t=bo.get(e);return bo.delete(e),t}function er(e){return typeof e=="string"||e&&typeof e=="object"}function Gl(e){return typeof e=="string"||typeof e=="symbol"}let pe=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Oo=Symbol(process.env.NODE_ENV!=="production"?"navigation failure":""),S0={[pe.MATCHER_NOT_FOUND]({location:e,currentLocation:t}){return`No match for
9
+ ${JSON.stringify(e)}${t?`
10
+ while being at
11
+ `+JSON.stringify(t):""}`},[pe.NAVIGATION_GUARD_REDIRECT]({from:e,to:t}){return`Redirected from "${e.fullPath}" to "${C0(t)}" via a navigation guard.`},[pe.NAVIGATION_ABORTED]({from:e,to:t}){return`Navigation aborted from "${e.fullPath}" to "${t.fullPath}" via a navigation guard.`},[pe.NAVIGATION_CANCELLED]({from:e,to:t}){return`Navigation cancelled from "${e.fullPath}" to "${t.fullPath}" with a new navigation.`},[pe.NAVIGATION_DUPLICATED]({from:e,to:t}){return`Avoided redundant navigation to current location: "${e.fullPath}".`}};function Zt(e,t){return process.env.NODE_ENV!=="production"?Z(new Error(S0[e](t)),{type:e,[Oo]:!0},t):Z(new Error,{type:e,[Oo]:!0},t)}function st(e,t){return e instanceof Error&&Oo in e&&(t==null||!!(e.type&t))}const N0=["params","query","hash"];function C0(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of N0)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function I0(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(Ul," "),a=o.indexOf("="),s=Jt(a<0?o:o.slice(0,a)),i=a<0?null:Jt(o.slice(a+1));if(s in t){let u=t[s];$e(u)||(u=t[s]=[u]),u.push(i)}else t[s]=i}return t}function Ai(e){let t="";for(let n in e){const r=e[n];if(n=c0(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}($e(r)?r.map(o=>o&&vo(o)):[r&&vo(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function w0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=$e(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const D0=Symbol(process.env.NODE_ENV!=="production"?"router view location matched":""),Ti=Symbol(process.env.NODE_ENV!=="production"?"router view depth":""),fa=Symbol(process.env.NODE_ENV!=="production"?"router":""),Kl=Symbol(process.env.NODE_ENV!=="production"?"route location":""),Ao=Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function an(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ht(e,t,n,r,o,a=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,u)=>{const c=p=>{p===!1?u(Zt(pe.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?u(p):er(p)?u(Zt(pe.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(s&&r.enterCallbacks[o]===s&&typeof p=="function"&&s.push(p),i())},d=a(()=>e.call(r&&r.instances[o],t,n,process.env.NODE_ENV!=="production"?k0(c,t,n):c));let f=Promise.resolve(d);if(e.length<3&&(f=f.then(c)),process.env.NODE_ENV!=="production"&&e.length>2){const p=`The "next" callback was never called inside of ${e.name?'"'+e.name+'"':""}:
12
+ ${e.toString()}
13
+ . If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof d=="object"&&"then"in d)f=f.then(m=>c._called?m:(z(p),Promise.reject(new Error("Invalid navigation guard"))));else if(d!==void 0&&!c._called){z(p),u(new Error("Invalid navigation guard"));return}}f.catch(p=>u(p))})}function k0(e,t,n){let r=0;return function(){r++===1&&z(`The "next" callback was called more than once in one navigation guard when going from "${n.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),e._called=!0,r===1&&e.apply(null,arguments)}}function Fr(e,t,n,r,o=a=>a()){const a=[];for(const s of e){process.env.NODE_ENV!=="production"&&!s.components&&s.children&&!s.children.length&&z(`Record with path "${s.path}" is either missing a "component(s)" or "children" property.`);for(const i in s.components){let u=s.components[i];if(process.env.NODE_ENV!=="production"){if(!u||typeof u!="object"&&typeof u!="function")throw z(`Component "${i}" in record with path "${s.path}" is not a valid component. Received "${String(u)}".`),new Error("Invalid route component");if("then"in u){z(`Component "${i}" in record with path "${s.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const c=u;u=()=>c}else u.__asyncLoader&&!u.__warnedDefineAsync&&(u.__warnedDefineAsync=!0,z(`Component "${i}" in record with path "${s.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Ml(u)){const c=(u.__vccOpts||u)[t];c&&a.push(ht(c,n,r,s,i,o))}else{let c=u();process.env.NODE_ENV!=="production"&&!("catch"in c)&&(z(`Component "${i}" in record with path "${s.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),c=Promise.resolve(c)),a.push(()=>c.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${i}" at "${s.path}"`);const f=Qh(d)?d.default:d;s.mods[i]=d,s.components[i]=f;const p=(f.__vccOpts||f)[t];return p&&ht(p,n,r,s,i,o)()}))}}}return a}function P0(e,t){const n=[],r=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let s=0;s<a;s++){const i=t.matched[s];i&&(e.matched.find(c=>yt(c,i))?r.push(i):n.push(i));const u=e.matched[s];u&&(t.matched.find(c=>yt(c,u))||o.push(u))}return[n,r,o]}function sn(e,t){const n=Z({},e,{matched:e.matched.map(r=>H0(r,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:n}}}function xn(e){return{_custom:{display:e}}}let R0=0;function L0(e,t,n){if(t.__hasDevtools)return;t.__hasDevtools=!0;const r=R0++;Zh({id:"org.vuejs.router"+(r?"."+r:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},o=>{typeof o.now!="function"&&z("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),o.on.inspectComponent((d,f)=>{d.instanceData&&d.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:sn(t.currentRoute.value,"Current Route")})}),o.on.visitComponentTree(({treeNode:d,componentInstance:f})=>{if(f.__vrv_devtools){const p=f.__vrv_devtools;d.tags.push({label:(p.name?`${p.name.toString()}: `:"")+p.path,textColor:0,tooltip:"This component is rendered by &lt;router-view&gt;",backgroundColor:Wl})}$e(f.__vrl_devtools)&&(f.__devtoolsApi=o,f.__vrl_devtools.forEach(p=>{let m=p.route.path,b=ql,g="",v=0;p.error?(m=p.error,b=U0,v=$0):p.isExactActive?(b=Yl,g="This is exactly active"):p.isActive&&(b=zl,g="This link is active"),d.tags.push({label:m,textColor:v,tooltip:g,backgroundColor:b})}))}),l.watch(t.currentRoute,()=>{u(),o.notifyComponentUpdate(),o.sendInspectorTree(i),o.sendInspectorState(i)});const a="router:navigations:"+r;o.addTimelineLayer({id:a,label:`Router${r?" "+r:""} Navigations`,color:4237508}),t.onError((d,f)=>{o.addTimelineEvent({layerId:a,event:{title:"Error during Navigation",subtitle:f.fullPath,logType:"error",time:o.now(),data:{error:d},groupId:f.meta.__navigationId}})});let s=0;t.beforeEach((d,f)=>{const p={guard:xn("beforeEach"),from:sn(f,"Current Location during this navigation"),to:sn(d,"Target location")};Object.defineProperty(d.meta,"__navigationId",{value:s++}),o.addTimelineEvent({layerId:a,event:{time:o.now(),title:"Start of navigation",subtitle:d.fullPath,data:p,groupId:d.meta.__navigationId}})}),t.afterEach((d,f,p)=>{const m={guard:xn("afterEach")};p?(m.failure={_custom:{type:Error,readOnly:!0,display:p?p.message:"",tooltip:"Navigation Failure",value:p}},m.status=xn("❌")):m.status=xn("✅"),m.from=sn(f,"Current Location during this navigation"),m.to=sn(d,"Target location"),o.addTimelineEvent({layerId:a,event:{title:"End of navigation",subtitle:d.fullPath,time:o.now(),data:m,logType:p?"warning":"default",groupId:d.meta.__navigationId}})});const i="router-inspector:"+r;o.addInspector({id:i,label:"Routes"+(r?" "+r:""),icon:"book",treeFilterPlaceholder:"Search routes"});function u(){if(!c)return;const d=c;let f=n.getRoutes().filter(p=>!p.parent||!p.parent.record.components);f.forEach(Zl),d.filter&&(f=f.filter(p=>To(p,d.filter.toLowerCase()))),f.forEach(p=>Jl(p,t.currentRoute.value)),d.rootNodes=f.map(Xl)}let c;o.on.getInspectorTree(d=>{c=d,d.app===e&&d.inspectorId===i&&u()}),o.on.getInspectorState(d=>{if(d.app===e&&d.inspectorId===i){const f=n.getRoutes().find(p=>p.record.__vd_id===d.nodeId);f&&(d.state={options:V0(f)})}}),o.sendInspectorTree(i),o.sendInspectorState(i)})}function x0(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function V0(e){const{record:t}=e,n=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&n.push({editable:!1,key:"name",value:t.name}),n.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(r=>`${r.name}${x0(r)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&n.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&n.push({editable:!1,key:"aliases",value:e.alias.map(r=>r.record.path)}),Object.keys(e.record.meta).length&&n.push({editable:!1,key:"meta",value:e.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(r=>r.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),n}const Wl=15485081,zl=2450411,Yl=8702998,M0=2282478,ql=16486972,F0=6710886,U0=16704226,$0=12131356;function Xl(e){const t=[],{record:n}=e;n.name!=null&&t.push({label:String(n.name),textColor:0,backgroundColor:M0}),n.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:ql}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:Wl}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:Yl}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:zl}),n.redirect&&t.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:F0});let r=n.__vd_id;return r==null&&(r=String(B0++),n.__vd_id=r),{id:r,label:n.path,tags:t,children:e.children.map(Xl)}}let B0=0;const j0=/^\/(.*)\/([a-z]*)$/;function Jl(e,t){const n=t.matched.length&&yt(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n,n||(e.__vd_active=t.matched.some(r=>yt(r,e.record))),e.children.forEach(r=>Jl(r,t))}function Zl(e){e.__vd_match=!1,e.children.forEach(Zl)}function To(e,t){const n=String(e.re).match(j0);if(e.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(t))return e.children.forEach(a=>To(a,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const r=e.record.path.toLowerCase(),o=Jt(r);return!t.startsWith("/")&&(o.includes(t)||r.includes(t))||o.startsWith(t)||r.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(a=>To(a,t))}function H0(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}let G0=()=>location.protocol+"//"+location.host;function Ql(e,t){const{pathname:n,search:r,hash:o}=t,a=e.indexOf("#");if(a>-1){let s=o.includes(e.slice(a))?e.slice(a).length:1,i=o.slice(s);return i[0]!=="/"&&(i="/"+i),vi(i,"")}return vi(n,e)+r+o}function K0(e,t,n,r){let o=[],a=[],s=null;const i=({state:p})=>{const m=Ql(e,location),b=n.value,g=t.value;let v=0;if(p){if(n.value=m,t.value=p,s&&s===b){s=null;return}v=g?p.position-g.position:0}else r(m);o.forEach(_=>{_(n.value,b,{delta:v,type:yo.pop,direction:v?v>0?Mr.forward:Mr.back:Mr.unknown})})};function u(){s=n.value}function c(p){o.push(p);const m=()=>{const b=o.indexOf(p);b>-1&&o.splice(b,1)};return a.push(m),m}function d(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Z({},p.state,{scroll:pr()}),"")}}function f(){for(const p of a)p();a=[],window.removeEventListener("popstate",i),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",i),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:u,listen:c,destroy:f}}function Si(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?pr():null}}function W0(e){const{history:t,location:n}=window,r={value:Ql(e,n)},o={value:t.state};o.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(u,c,d){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+u:G0()+e+u;try{t[d?"replaceState":"pushState"](c,"",p),o.value=c}catch(m){process.env.NODE_ENV!=="production"?z("Error with push/replace State",m):console.error(m),n[d?"replace":"assign"](p)}}function s(u,c){a(u,Z({},t.state,Si(o.value.back,u,o.value.forward,!0),c,{position:o.value.position}),!0),r.value=u}function i(u,c){const d=Z({},o.value,t.state,{forward:u,scroll:pr()});process.env.NODE_ENV!=="production"&&!t.state&&z(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
14
+
15
+ history.replaceState(history.state, '', url)
16
+
17
+ You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`),a(d.current,d,!0),a(u,Z({},Si(r.value,u,null),{position:d.position+1},c),!1),r.value=u}return{location:r,state:o,push:i,replace:s}}function z0(e){e=E0(e);const t=W0(e),n=K0(e,t.state,t.location,t.replace);function r(a,s=!0){s||n.pauseListeners(),history.go(a)}const o=Z({location:"",base:e,go:r,createHref:y0.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let wt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var be=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(be||{});const Y0={type:wt.Static,value:""},q0=/[a-zA-Z0-9_]/;function X0(e){if(!e)return[[]];if(e==="/")return[[Y0]];if(!e.startsWith("/"))throw new Error(process.env.NODE_ENV!=="production"?`Route paths should start with a "/": "${e}" should be "/${e}".`:`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=be.Static,r=n;const o=[];let a;function s(){a&&o.push(a),a=[]}let i=0,u,c="",d="";function f(){c&&(n===be.Static?a.push({type:wt.Static,value:c}):n===be.Param||n===be.ParamRegExp||n===be.ParamRegExpEnd?(a.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:wt.Param,value:c,regexp:d,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=u}for(;i<e.length;){if(u=e[i++],u==="\\"&&n!==be.ParamRegExp){r=n,n=be.EscapeNext;continue}switch(n){case be.Static:u==="/"?(c&&f(),s()):u===":"?(f(),n=be.Param):p();break;case be.EscapeNext:p(),n=r;break;case be.Param:u==="("?n=be.ParamRegExp:q0.test(u)?p():(f(),n=be.Static,u!=="*"&&u!=="?"&&u!=="+"&&i--);break;case be.ParamRegExp:u===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+u:n=be.ParamRegExpEnd:d+=u;break;case be.ParamRegExpEnd:f(),n=be.Static,u!=="*"&&u!=="?"&&u!=="+"&&i--,d="";break;default:t("Unknown state");break}}return n===be.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),s(),o}const Ni="[^/]+?",J0={sensitive:!1,strict:!1,start:!0,end:!0};var ke=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(ke||{});const Z0=/[.+*?^${}()[\]/\\]/g;function Q0(e,t){const n=Z({},J0,t),r=[];let o=n.start?"^":"";const a=[];for(const c of e){const d=c.length?[]:[ke.Root];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const p=c[f];let m=ke.Segment+(n.sensitive?ke.BonusCaseSensitive:0);if(p.type===wt.Static)f||(o+="/"),o+=p.value.replace(Z0,"\\$&"),m+=ke.Static;else if(p.type===wt.Param){const{value:b,repeatable:g,optional:v,regexp:_}=p;a.push({name:b,repeatable:g,optional:v});const h=_||Ni;if(h!==Ni){m+=ke.BonusCustomRegExp;try{`${h}`}catch(A){throw new Error(`Invalid custom RegExp for param "${b}" (${h}): `+A.message)}}let O=g?`((?:${h})(?:/(?:${h}))*)`:`(${h})`;f||(O=v&&c.length<2?`(?:/${O})`:"/"+O),v&&(O+="?"),o+=O,m+=ke.Dynamic,v&&(m+=ke.BonusOptional),g&&(m+=ke.BonusRepeatable),h===".*"&&(m+=ke.BonusWildcard)}d.push(m)}r.push(d)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=ke.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function i(c){const d=c.match(s),f={};if(!d)return null;for(let p=1;p<d.length;p++){const m=d[p]||"",b=a[p-1];f[b.name]=m&&b.repeatable?m.split("/"):m}return f}function u(c){let d="",f=!1;for(const p of e){(!f||!d.endsWith("/"))&&(d+="/"),f=!1;for(const m of p)if(m.type===wt.Static)d+=m.value;else if(m.type===wt.Param){const{value:b,repeatable:g,optional:v}=m,_=b in c?c[b]:"";if($e(_)&&!g)throw new Error(`Provided param "${b}" is an array but it is not repeatable (* or + modifiers)`);const h=$e(_)?_.join("/"):_;if(!h)if(v)p.length<2&&(d.endsWith("/")?d=d.slice(0,-1):f=!0);else throw new Error(`Missing required param "${b}"`);d+=h}}return d||"/"}return{re:s,score:r,keys:a,parse:i,stringify:u}}function eg(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===ke.Static+ke.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===ke.Static+ke.Segment?1:-1:0}function ec(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const a=eg(r[n],o[n]);if(a)return a;n++}if(Math.abs(o.length-r.length)===1){if(Ci(r))return 1;if(Ci(o))return-1}return o.length-r.length}function Ci(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const tg={strict:!1,end:!0,sensitive:!1};function ng(e,t,n){const r=Q0(X0(e.path),n);if(process.env.NODE_ENV!=="production"){const a=new Set;for(const s of r.keys)a.has(s.name)&&z(`Found duplicated params with name "${s.name}" for path "${e.path}". Only the last one will be available on "$route.params".`),a.add(s.name)}const o=Z(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function rg(e,t){const n=[],r=new Map;t=Ei(tg,t);function o(f){return r.get(f)}function a(f,p,m){const b=!m,g=wi(f);process.env.NODE_ENV!=="production"&&ig(g,p),g.aliasOf=m&&m.record;const v=Ei(t,f),_=[g];if("alias"in f){const A=typeof f.alias=="string"?[f.alias]:f.alias;for(const w of A)_.push(wi(Z({},g,{components:m?m.record.components:g.components,path:w,aliasOf:m?m.record:g})))}let h,O;for(const A of _){const{path:w}=A;if(p&&w[0]!=="/"){const D=p.record.path,N=D[D.length-1]==="/"?"":"/";A.path=p.record.path+(w&&N+w)}if(process.env.NODE_ENV!=="production"&&A.path==="*")throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
18
+ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);if(h=ng(A,p,v),process.env.NODE_ENV!=="production"&&p&&w[0]==="/"&&lg(h,p),m?(m.alias.push(h),process.env.NODE_ENV!=="production"&&sg(m,h)):(O=O||h,O!==h&&O.alias.push(h),b&&f.name&&!Di(h)&&(process.env.NODE_ENV!=="production"&&ug(f,p),s(f.name))),tc(h)&&u(h),g.children){const D=g.children;for(let N=0;N<D.length;N++)a(D[N],h,m&&m.children[N])}m=m||h}return O?()=>{s(O)}:fn}function s(f){if(Gl(f)){const p=r.get(f);p&&(r.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(s),p.alias.forEach(s))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function i(){return n}function u(f){const p=cg(f,n);n.splice(p,0,f),f.record.name&&!Di(f)&&r.set(f.record.name,f)}function c(f,p){let m,b={},g,v;if("name"in f&&f.name){if(m=r.get(f.name),!m)throw Zt(pe.MATCHER_NOT_FOUND,{location:f});if(process.env.NODE_ENV!=="production"){const O=Object.keys(f.params||{}).filter(A=>!m.keys.find(w=>w.name===A));O.length&&z(`Discarded invalid param(s) "${O.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}v=m.record.name,b=Z(Ii(p.params,m.keys.filter(O=>!O.optional).concat(m.parent?m.parent.keys.filter(O=>O.optional):[]).map(O=>O.name)),f.params&&Ii(f.params,m.keys.map(O=>O.name))),g=m.stringify(b)}else if(f.path!=null)g=f.path,process.env.NODE_ENV!=="production"&&!g.startsWith("/")&&z(`The Matcher cannot resolve relative paths but received "${g}". Unless you directly called \`matcher.resolve("${g}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),m=n.find(O=>O.re.test(g)),m&&(b=m.parse(g),v=m.record.name);else{if(m=p.name?r.get(p.name):n.find(O=>O.re.test(p.path)),!m)throw Zt(pe.MATCHER_NOT_FOUND,{location:f,currentLocation:p});v=m.record.name,b=Z({},p.params,f.params),g=m.stringify(b)}const _=[];let h=m;for(;h;)_.unshift(h.record),h=h.parent;return{name:v,path:g,params:b,matched:_,meta:ag(_)}}e.forEach(f=>a(f));function d(){n.length=0,r.clear()}return{addRoute:a,resolve:c,removeRoute:s,clearRoutes:d,getRoutes:i,getRecordMatcher:o}}function Ii(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function wi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:og(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function og(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Di(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ag(e){return e.reduce((t,n)=>Z(t,n.meta),{})}function So(e,t){return e.name===t.name&&e.optional===t.optional&&e.repeatable===t.repeatable}function sg(e,t){for(const n of e.keys)if(!n.optional&&!t.keys.find(So.bind(null,n)))return z(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);for(const n of t.keys)if(!n.optional&&!e.keys.find(So.bind(null,n)))return z(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`)}function ig(e,t){t&&t.record.name&&!e.name&&!e.path&&z(`The route named "${String(t.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`)}function ug(e,t){for(let n=t;n;n=n.parent)if(n.record.name===e.name)throw new Error(`A route named "${String(e.name)}" has been added as a ${t===n?"child":"descendant"} of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.`)}function lg(e,t){for(const n of t.keys)if(!e.keys.find(So.bind(null,n)))return z(`Absolute path "${e.record.path}" must have the exact same param named "${n.name}" as its parent "${t.record.path}".`)}function cg(e,t){let n=0,r=t.length;for(;n!==r;){const a=n+r>>1;ec(e,t[a])<0?r=a:n=a+1}const o=fg(e);return o&&(r=t.lastIndexOf(o,r-1),process.env.NODE_ENV!=="production"&&r<0&&z(`Finding ancestor route "${o.record.path}" failed for "${e.record.path}"`)),r}function fg(e){let t=e;for(;t=t.parent;)if(tc(t)&&ec(e,t)===0)return t}function tc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ki(e){const t=l.inject(fa),n=l.inject(Kl);let r=!1,o=null;const a=l.computed(()=>{const d=l.unref(e.to);return process.env.NODE_ENV!=="production"&&(!r||d!==o)&&(er(d)||(r?z(`Invalid value for prop "to" in useLink()
19
+ - to:`,d,`
20
+ - previous to:`,o,`
21
+ - props:`,e):z(`Invalid value for prop "to" in useLink()
22
+ - to:`,d,`
23
+ - props:`,e)),o=d,r=!0),t.resolve(d)}),s=l.computed(()=>{const{matched:d}=a.value,{length:f}=d,p=d[f-1],m=n.matched;if(!p||!m.length)return-1;const b=m.findIndex(yt.bind(null,p));if(b>-1)return b;const g=Pi(d[f-2]);return f>1&&Pi(p)===g&&m[m.length-1].path!==g?m.findIndex(yt.bind(null,d[f-2])):b}),i=l.computed(()=>s.value>-1&&hg(n.params,a.value.params)),u=l.computed(()=>s.value>-1&&s.value===n.matched.length-1&&Hl(n.params,a.value.params));function c(d={}){if(mg(d)){const f=t[l.unref(e.replace)?"replace":"push"](l.unref(e.to)).catch(fn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}if(process.env.NODE_ENV!=="production"&&ut){const d=l.getCurrentInstance();if(d){const f={route:a.value,isActive:i.value,isExactActive:u.value,error:null};d.__vrl_devtools=d.__vrl_devtools||[],d.__vrl_devtools.push(f),l.watchEffect(()=>{f.route=a.value,f.isActive=i.value,f.isExactActive=u.value,f.error=er(l.unref(e.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:a,href:l.computed(()=>a.value.href),isActive:i,isExactActive:u,navigate:c}}function dg(e){return e.length===1?e[0]:e}const pg=l.defineComponent({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"},viewTransition:Boolean},useLink:ki,setup(e,{slots:t}){const n=l.reactive(ki(e)),{options:r}=l.inject(fa),o=l.computed(()=>({[Ri(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ri(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&dg(t.default(n));return e.custom?a:l.h("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},a)}}}),_g=pg;function mg(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 hg(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!$e(o)||o.length!==r.length||r.some((a,s)=>a!==o[s]))return!1}return!0}function Pi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ri=(e,t,n)=>e??t??n,gg=l.defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){process.env.NODE_ENV!=="production"&&vg();const r=l.inject(Ao),o=l.computed(()=>e.route||r.value),a=l.inject(Ti,0),s=l.computed(()=>{let c=l.unref(a);const{matched:d}=o.value;let f;for(;(f=d[c])&&!f.components;)c++;return c}),i=l.computed(()=>o.value.matched[s.value]);l.provide(Ti,l.computed(()=>s.value+1)),l.provide(D0,i),l.provide(Ao,o);const u=l.ref();return l.watch(()=>[u.value,i.value,e.name],([c,d,f],[p,m,b])=>{d&&(d.instances[f]=c,m&&m!==d&&c&&c===p&&(d.leaveGuards.size||(d.leaveGuards=m.leaveGuards),d.updateGuards.size||(d.updateGuards=m.updateGuards))),c&&d&&(!m||!yt(d,m)||!p)&&(d.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=o.value,d=e.name,f=i.value,p=f&&f.components[d];if(!p)return Li(n.default,{Component:p,route:c});const m=f.props[d],b=m?m===!0?c.params:typeof m=="function"?m(c):m:null,g=_=>{_.component.isUnmounted&&(f.instances[d]=null)},v=l.h(p,Z({},b,t,{onVnodeUnmounted:g,ref:u}));if(process.env.NODE_ENV!=="production"&&ut&&v.ref){const _={depth:s.value,name:f.name,path:f.path,meta:f.meta};($e(v.ref)?v.ref.map(h=>h.i):[v.ref.i]).forEach(h=>{h.__vrv_devtools=_})}return Li(n.default,{Component:v,route:c})||v}}});function Li(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Eg=gg;function vg(){const e=l.getCurrentInstance(),t=e.parent&&e.parent.type.name,n=e.parent&&e.parent.subTree&&e.parent.subTree.type;if(t&&(t==="KeepAlive"||t.includes("Transition"))&&typeof n=="object"&&n.name==="RouterView"){const r=t==="KeepAlive"?"keep-alive":"transition";z(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
24
+ Use slot props instead:
25
+
26
+ <router-view v-slot="{ Component }">
27
+ <${r}>
28
+ <component :is="Component" />
29
+ </${r}>
30
+ </router-view>`)}}function yg(e){const t=rg(e.routes,e),n=e.parseQuery||I0,r=e.stringifyQuery||Ai,o=e.history;if(process.env.NODE_ENV!=="production"&&!o)throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');const a=an(),s=an(),i=an(),u=l.shallowRef(_t);let c=_t;ut&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=xr.bind(null,T=>""+T),f=xr.bind(null,d0),p=xr.bind(null,Jt);function m(T,R){let P,M;return Gl(T)?(P=t.getRecordMatcher(T),process.env.NODE_ENV!=="production"&&!P&&z(`Parent route "${String(T)}" not found when adding child route`,R),M=R):M=T,t.addRoute(M,P)}function b(T){const R=t.getRecordMatcher(T);R?t.removeRoute(R):process.env.NODE_ENV!=="production"&&z(`Cannot remove non-existent route "${String(T)}"`)}function g(){return t.getRoutes().map(T=>T.record)}function v(T){return!!t.getRecordMatcher(T)}function _(T,R){if(R=Z({},R||u.value),typeof T=="string"){const G=Vr(n,T,R.path),ee=t.resolve({path:G.path},R),Ve=o.createHref(G.fullPath);return process.env.NODE_ENV!=="production"&&(Ve.startsWith("//")?z(`Location "${T}" resolved to "${Ve}". A resolved location cannot start with multiple slashes.`):ee.matched.length||z(`No match found for location with path "${T}"`)),Z(G,ee,{params:p(ee.params),hash:Jt(G.hash),redirectedFrom:void 0,href:Ve})}if(process.env.NODE_ENV!=="production"&&!er(T))return z(`router.resolve() was passed an invalid location. This will fail in production.
31
+ - Location:`,T),_({});let P;if(T.path!=null)process.env.NODE_ENV!=="production"&&"params"in T&&!("name"in T)&&Object.keys(T.params).length&&z(`Path "${T.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),P=Z({},T,{path:Vr(n,T.path,R.path).path});else{const G=Z({},T.params);for(const ee in G)G[ee]==null&&delete G[ee];P=Z({},T,{params:f(G)}),R.params=f(R.params)}const M=t.resolve(P,R),H=T.hash||"";process.env.NODE_ENV!=="production"&&H&&!H.startsWith("#")&&z(`A \`hash\` should always start with the character "#". Replace "${H}" with "#${H}".`),M.params=d(p(M.params));const le=m0(r,Z({},T,{hash:l0(H),path:M.path})),K=o.createHref(le);return process.env.NODE_ENV!=="production"&&(K.startsWith("//")?z(`Location "${T}" resolved to "${K}". A resolved location cannot start with multiple slashes.`):M.matched.length||z(`No match found for location with path "${T.path!=null?T.path:T}"`)),Z({fullPath:le,hash:H,query:r===Ai?w0(T.query):T.query||{}},M,{redirectedFrom:void 0,href:K})}function h(T){return typeof T=="string"?Vr(n,T,u.value.path):Z({},T)}function O(T,R){if(c!==T)return Zt(pe.NAVIGATION_CANCELLED,{from:R,to:T})}function A(T){return N(T)}function w(T){return A(Z(h(T),{replace:!0}))}function D(T,R){const P=T.matched[T.matched.length-1];if(P&&P.redirect){const{redirect:M}=P;let H=typeof M=="function"?M(T,R):M;if(typeof H=="string"&&(H=H.includes("?")||H.includes("#")?H=h(H):{path:H},H.params={}),process.env.NODE_ENV!=="production"&&H.path==null&&!("name"in H))throw z(`Invalid redirect found:
32
+ ${JSON.stringify(H,null,2)}
33
+ when navigating to "${T.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return Z({query:T.query,hash:T.hash,params:H.path!=null?{}:T.params},H)}}function N(T,R){const P=c=_(T),M=u.value,H=T.state,le=T.force,K=T.replace===!0,G=D(P,M);if(G)return N(Z(h(G),{state:typeof G=="object"?Z({},H,G.state):H,force:le,replace:K}),R||P);const ee=P;ee.redirectedFrom=R;let Ve;return!le&&yi(r,M,P)&&(Ve=Zt(pe.NAVIGATION_DUPLICATED,{to:ee,from:M}),Se(M,M,!0,!1)),(Ve?Promise.resolve(Ve):q(ee,M)).catch(ye=>st(ye)?st(ye,pe.NAVIGATION_GUARD_REDIRECT)?ye:ge(ye):Be(ye,ee,M)).then(ye=>{if(ye){if(st(ye,pe.NAVIGATION_GUARD_REDIRECT))return process.env.NODE_ENV!=="production"&&yi(r,_(ye.to),ee)&&R&&(R._count=R._count?R._count+1:1)>30?(z(`Detected a possibly infinite redirection in a navigation guard when going from "${M.fullPath}" to "${ee.fullPath}". Aborting to avoid a Stack Overflow.
34
+ Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):N(Z({replace:K},h(ye.to),{state:typeof ye.to=="object"?Z({},H,ye.to.state):H,force:le}),R||ee)}else ye=W(ee,M,!0,K,H);return oe(ee,M,ye),ye})}function F(T,R){const P=O(T,R);return P?Promise.reject(P):Promise.resolve()}function B(T){const R=Ke.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(T):T()}function q(T,R){let P;const[M,H,le]=P0(T,R);P=Fr(M.reverse(),"beforeRouteLeave",T,R);for(const G of M)G.leaveGuards.forEach(ee=>{P.push(ht(ee,T,R))});const K=F.bind(null,T,R);return P.push(K),rt(P).then(()=>{P=[];for(const G of a.list())P.push(ht(G,T,R));return P.push(K),rt(P)}).then(()=>{P=Fr(H,"beforeRouteUpdate",T,R);for(const G of H)G.updateGuards.forEach(ee=>{P.push(ht(ee,T,R))});return P.push(K),rt(P)}).then(()=>{P=[];for(const G of le)if(G.beforeEnter)if($e(G.beforeEnter))for(const ee of G.beforeEnter)P.push(ht(ee,T,R));else P.push(ht(G.beforeEnter,T,R));return P.push(K),rt(P)}).then(()=>(T.matched.forEach(G=>G.enterCallbacks={}),P=Fr(le,"beforeRouteEnter",T,R,B),P.push(K),rt(P))).then(()=>{P=[];for(const G of s.list())P.push(ht(G,T,R));return P.push(K),rt(P)}).catch(G=>st(G,pe.NAVIGATION_CANCELLED)?G:Promise.reject(G))}function oe(T,R,P){i.list().forEach(M=>B(()=>M(T,R,P)))}function W(T,R,P,M,H){const le=O(T,R);if(le)return le;const K=R===_t,G=ut?history.state:{};P&&(M||K?o.replace(T.fullPath,Z({scroll:K&&G&&G.scroll},H)):o.push(T.fullPath,H)),u.value=T,Se(T,R,P,K),ge()}let ae;function U(){ae||(ae=o.listen((T,R,P)=>{if(!Re.listening)return;const M=_(T),H=D(M,Re.currentRoute.value);if(H){N(Z(H,{replace:!0,force:!0}),M).catch(fn);return}c=M;const le=u.value;ut&&A0(Oi(le.fullPath,P.delta),pr()),q(M,le).catch(K=>st(K,pe.NAVIGATION_ABORTED|pe.NAVIGATION_CANCELLED)?K:st(K,pe.NAVIGATION_GUARD_REDIRECT)?(N(Z(h(K.to),{force:!0}),M).then(G=>{st(G,pe.NAVIGATION_ABORTED|pe.NAVIGATION_DUPLICATED)&&!P.delta&&P.type===yo.pop&&o.go(-1,!1)}).catch(fn),Promise.reject()):(P.delta&&o.go(-P.delta,!1),Be(K,M,le))).then(K=>{K=K||W(M,le,!1),K&&(P.delta&&!st(K,pe.NAVIGATION_CANCELLED)?o.go(-P.delta,!1):P.type===yo.pop&&st(K,pe.NAVIGATION_ABORTED|pe.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),oe(M,le,K)}).catch(fn)}))}let te=an(),ne=an(),j;function Be(T,R,P){ge(T);const M=ne.list();return M.length?M.forEach(H=>H(T,R,P)):(process.env.NODE_ENV!=="production"&&z("uncaught error during route navigation:"),console.error(T)),Promise.reject(T)}function Ce(){return j&&u.value!==_t?Promise.resolve():new Promise((T,R)=>{te.add([T,R])})}function ge(T){return j||(j=!T,U(),te.list().forEach(([R,P])=>T?P(T):R()),te.reset()),T}function Se(T,R,P,M){const{scrollBehavior:H}=e;if(!ut||!H)return Promise.resolve();const le=!P&&T0(Oi(T.fullPath,0))||(M||!P)&&history.state&&history.state.scroll||null;return l.nextTick().then(()=>H(T,R,le)).then(K=>K&&O0(K)).catch(K=>Be(K,T,R))}const ve=T=>o.go(T);let xe;const Ke=new Set,Re={currentRoute:u,listening:!0,addRoute:m,removeRoute:b,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:_,options:e,push:A,replace:w,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:a.add,beforeResolve:s.add,afterEach:i.add,onError:ne.add,isReady:Ce,install(T){T.component("RouterLink",_g),T.component("RouterView",Eg),T.config.globalProperties.$router=Re,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>l.unref(u)}),ut&&!xe&&u.value===_t&&(xe=!0,A(o.location).catch(M=>{process.env.NODE_ENV!=="production"&&z("Unexpected error when starting the router:",M)}));const R={};for(const M in _t)Object.defineProperty(R,M,{get:()=>u.value[M],enumerable:!0});T.provide(fa,Re),T.provide(Kl,l.shallowReactive(R)),T.provide(Ao,u);const P=T.unmount;Ke.add(T),T.unmount=function(){Ke.delete(T),Ke.size<1&&(c=_t,ae&&ae(),ae=null,u.value=_t,xe=!1,j=!1),P()},process.env.NODE_ENV!=="production"&&ut&&L0(T,Re,t)}};function rt(T){return T.reduce((R,P)=>R.then(()=>B(P)),Promise.resolve())}return Re}const bg=[{path:"/",name:"/",component:()=>Promise.resolve().then(()=>require("./index-CUQIwkb8.cjs"))},{path:"/test",children:[{path:"table",name:"/test/table",component:()=>Promise.resolve().then(()=>require("./table-pPX_scdG.cjs"))}]}],nc=yg({history:z0(),routes:bg}),rc=u_(),oc=Rh({locale:"zh-CN",fallbackLocale:"en",messages:Gh}),Wn=Uf({valueLight:"light",valueDark:"dark"}),ac=()=>{Wn.value=!Wn.value,console.info("dark:",Wn.value)},Og=e=>{const t=l.createApp(e);return t.use(nc).use(oc).use(rc),t},Ag=l.ref(),Tg=e=>{e.value=e},sc=Symbol(),zn="el",Sg="is-",Nt=(e,t,n,r,o)=>{let a=`${e}-${t}`;return n&&(a+=`-${n}`),r&&(a+=`__${r}`),o&&(a+=`--${o}`),a},ic=Symbol("namespaceContextKey"),da=e=>{const t=e||(l.getCurrentInstance()?l.inject(ic,l.ref(zn)):l.ref(zn));return l.computed(()=>l.unref(t)||zn)},nn=(e,t)=>{const n=da(t);return{namespace:n,b:(g="")=>Nt(n.value,e,g,"",""),e:g=>g?Nt(n.value,e,"",g,""):"",m:g=>g?Nt(n.value,e,"","",g):"",be:(g,v)=>g&&v?Nt(n.value,e,g,v,""):"",em:(g,v)=>g&&v?Nt(n.value,e,"",g,v):"",bm:(g,v)=>g&&v?Nt(n.value,e,g,"",v):"",bem:(g,v,_)=>g&&v&&_?Nt(n.value,e,g,v,_):"",is:(g,...v)=>{const _=v.length>=1?v[0]:!0;return g&&_?`${Sg}${g}`:""},cssVar:g=>{const v={};for(const _ in g)g[_]&&(v[`--${n.value}-${_}`]=g[_]);return v},cssVarName:g=>`--${n.value}-${g}`,cssVarBlock:g=>{const v={};for(const _ in g)g[_]&&(v[`--${n.value}-${e}-${_}`]=g[_]);return v},cssVarBlockName:g=>`--${n.value}-${e}-${g}`}};process.env.NODE_ENV!=="production"&&Object.freeze({});process.env.NODE_ENV!=="production"&&Object.freeze([]);const uc=()=>{},Ng=Object.prototype.hasOwnProperty,No=(e,t)=>Ng.call(e,t),_r=Array.isArray,tr=e=>typeof e=="function",mr=e=>typeof e=="string",hr=e=>e!==null&&typeof e=="object",Cg=Object.prototype.toString,Ig=e=>Cg.call(e),wg=e=>Ig(e)==="[object Object]",lc=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Dg=/-\w/g,kg=lc(e=>e.replace(Dg,t=>t.slice(1).toUpperCase())),Pg=/\B([A-Z])/g,Rg=lc(e=>e.replace(Pg,"-$1").toLowerCase());var cc=typeof global=="object"&&global&&global.Object===Object&&global,Lg=typeof self=="object"&&self&&self.Object===Object&&self,nt=cc||Lg||Function("return this")(),ft=nt.Symbol,fc=Object.prototype,xg=fc.hasOwnProperty,Vg=fc.toString,un=ft?ft.toStringTag:void 0;function Mg(e){var t=xg.call(e,un),n=e[un];try{e[un]=void 0;var r=!0}catch{}var o=Vg.call(e);return r&&(t?e[un]=n:delete e[un]),o}var Fg=Object.prototype,Ug=Fg.toString;function $g(e){return Ug.call(e)}var Bg="[object Null]",jg="[object Undefined]",xi=ft?ft.toStringTag:void 0;function Mt(e){return e==null?e===void 0?jg:Bg:xi&&xi in Object(e)?Mg(e):$g(e)}function xt(e){return e!=null&&typeof e=="object"}var Hg="[object Symbol]";function gr(e){return typeof e=="symbol"||xt(e)&&Mt(e)==Hg}function dc(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var bt=Array.isArray,Vi=ft?ft.prototype:void 0,Mi=Vi?Vi.toString:void 0;function pc(e){if(typeof e=="string")return e;if(bt(e))return dc(e,pc)+"";if(gr(e))return Mi?Mi.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function An(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Gg="[object AsyncFunction]",Kg="[object Function]",Wg="[object GeneratorFunction]",zg="[object Proxy]";function pa(e){if(!An(e))return!1;var t=Mt(e);return t==Kg||t==Wg||t==Gg||t==zg}var Ur=nt["__core-js_shared__"],Fi=(function(){var e=/[^.]+$/.exec(Ur&&Ur.keys&&Ur.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Yg(e){return!!Fi&&Fi in e}var qg=Function.prototype,Xg=qg.toString;function Ft(e){if(e!=null){try{return Xg.call(e)}catch{}try{return e+""}catch{}}return""}var Jg=/[\\^$.*+?()[\]{}|]/g,Zg=/^\[object .+?Constructor\]$/,Qg=Function.prototype,eE=Object.prototype,tE=Qg.toString,nE=eE.hasOwnProperty,rE=RegExp("^"+tE.call(nE).replace(Jg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function oE(e){if(!An(e)||Yg(e))return!1;var t=pa(e)?rE:Zg;return t.test(Ft(e))}function aE(e,t){return e?.[t]}function Ut(e,t){var n=aE(e,t);return oE(n)?n:void 0}var Co=Ut(nt,"WeakMap"),Io=(function(){try{var e=Ut(Object,"defineProperty");return e({},"",{}),e}catch{}})(),sE=9007199254740991,iE=/^(?:0|[1-9]\d*)$/;function _a(e,t){var n=typeof e;return t=t??sE,!!t&&(n=="number"||n!="symbol"&&iE.test(e))&&e>-1&&e%1==0&&e<t}function _c(e,t,n){t=="__proto__"&&Io?Io(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Er(e,t){return e===t||e!==e&&t!==t}var uE=Object.prototype,lE=uE.hasOwnProperty;function mc(e,t,n){var r=e[t];(!(lE.call(e,t)&&Er(r,n))||n===void 0&&!(t in e))&&_c(e,t,n)}var cE=9007199254740991;function ma(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=cE}function hc(e){return e!=null&&ma(e.length)&&!pa(e)}var fE=Object.prototype;function gc(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||fE;return e===n}function dE(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var pE="[object Arguments]";function Ui(e){return xt(e)&&Mt(e)==pE}var Ec=Object.prototype,_E=Ec.hasOwnProperty,mE=Ec.propertyIsEnumerable,vc=Ui((function(){return arguments})())?Ui:function(e){return xt(e)&&_E.call(e,"callee")&&!mE.call(e,"callee")};function hE(){return!1}var yc=typeof exports=="object"&&exports&&!exports.nodeType&&exports,$i=yc&&typeof module=="object"&&module&&!module.nodeType&&module,gE=$i&&$i.exports===yc,Bi=gE?nt.Buffer:void 0,EE=Bi?Bi.isBuffer:void 0,nr=EE||hE,vE="[object Arguments]",yE="[object Array]",bE="[object Boolean]",OE="[object Date]",AE="[object Error]",TE="[object Function]",SE="[object Map]",NE="[object Number]",CE="[object Object]",IE="[object RegExp]",wE="[object Set]",DE="[object String]",kE="[object WeakMap]",PE="[object ArrayBuffer]",RE="[object DataView]",LE="[object Float32Array]",xE="[object Float64Array]",VE="[object Int8Array]",ME="[object Int16Array]",FE="[object Int32Array]",UE="[object Uint8Array]",$E="[object Uint8ClampedArray]",BE="[object Uint16Array]",jE="[object Uint32Array]",ie={};ie[LE]=ie[xE]=ie[VE]=ie[ME]=ie[FE]=ie[UE]=ie[$E]=ie[BE]=ie[jE]=!0;ie[vE]=ie[yE]=ie[PE]=ie[bE]=ie[RE]=ie[OE]=ie[AE]=ie[TE]=ie[SE]=ie[NE]=ie[CE]=ie[IE]=ie[wE]=ie[DE]=ie[kE]=!1;function HE(e){return xt(e)&&ma(e.length)&&!!ie[Mt(e)]}function bc(e){return function(t){return e(t)}}var Oc=typeof exports=="object"&&exports&&!exports.nodeType&&exports,dn=Oc&&typeof module=="object"&&module&&!module.nodeType&&module,GE=dn&&dn.exports===Oc,$r=GE&&cc.process,wo=(function(){try{var e=dn&&dn.require&&dn.require("util").types;return e||$r&&$r.binding&&$r.binding("util")}catch{}})(),ji=wo&&wo.isTypedArray,ha=ji?bc(ji):HE,KE=Object.prototype,WE=KE.hasOwnProperty;function Ac(e,t){var n=bt(e),r=!n&&vc(e),o=!n&&!r&&nr(e),a=!n&&!r&&!o&&ha(e),s=n||r||o||a,i=s?dE(e.length,String):[],u=i.length;for(var c in e)(t||WE.call(e,c))&&!(s&&(c=="length"||o&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||_a(c,u)))&&i.push(c);return i}function Tc(e,t){return function(n){return e(t(n))}}var zE=Tc(Object.keys,Object),YE=Object.prototype,qE=YE.hasOwnProperty;function Sc(e){if(!gc(e))return zE(e);var t=[];for(var n in Object(e))qE.call(e,n)&&n!="constructor"&&t.push(n);return t}function Nc(e){return hc(e)?Ac(e):Sc(e)}var XE=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,JE=/^\w*$/;function Cc(e,t){if(bt(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||gr(e)?!0:JE.test(e)||!XE.test(e)||t!=null&&e in Object(t)}var Tn=Ut(Object,"create");function ZE(){this.__data__=Tn?Tn(null):{},this.size=0}function QE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ev="__lodash_hash_undefined__",tv=Object.prototype,nv=tv.hasOwnProperty;function rv(e){var t=this.__data__;if(Tn){var n=t[e];return n===ev?void 0:n}return nv.call(t,e)?t[e]:void 0}var ov=Object.prototype,av=ov.hasOwnProperty;function sv(e){var t=this.__data__;return Tn?t[e]!==void 0:av.call(t,e)}var iv="__lodash_hash_undefined__";function uv(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Tn&&t===void 0?iv:t,this}function Vt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Vt.prototype.clear=ZE;Vt.prototype.delete=QE;Vt.prototype.get=rv;Vt.prototype.has=sv;Vt.prototype.set=uv;function lv(){this.__data__=[],this.size=0}function vr(e,t){for(var n=e.length;n--;)if(Er(e[n][0],t))return n;return-1}var cv=Array.prototype,fv=cv.splice;function dv(e){var t=this.__data__,n=vr(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():fv.call(t,n,1),--this.size,!0}function pv(e){var t=this.__data__,n=vr(t,e);return n<0?void 0:t[n][1]}function _v(e){return vr(this.__data__,e)>-1}function mv(e,t){var n=this.__data__,r=vr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function dt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}dt.prototype.clear=lv;dt.prototype.delete=dv;dt.prototype.get=pv;dt.prototype.has=_v;dt.prototype.set=mv;var Sn=Ut(nt,"Map");function hv(){this.size=0,this.__data__={hash:new Vt,map:new(Sn||dt),string:new Vt}}function gv(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function yr(e,t){var n=e.__data__;return gv(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Ev(e){var t=yr(this,e).delete(e);return this.size-=t?1:0,t}function vv(e){return yr(this,e).get(e)}function yv(e){return yr(this,e).has(e)}function bv(e,t){var n=yr(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function pt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}pt.prototype.clear=hv;pt.prototype.delete=Ev;pt.prototype.get=vv;pt.prototype.has=yv;pt.prototype.set=bv;var Ov="Expected a function";function br(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Ov);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var s=e.apply(this,r);return n.cache=a.set(o,s)||a,s};return n.cache=new(br.Cache||pt),n}br.Cache=pt;var Av=500;function Tv(e){var t=br(e,function(r){return n.size===Av&&n.clear(),r}),n=t.cache;return t}var Sv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nv=/\\(\\)?/g,Cv=Tv(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Sv,function(n,r,o,a){t.push(o?a.replace(Nv,"$1"):r||n)}),t});function Iv(e){return e==null?"":pc(e)}function ga(e,t){return bt(e)?e:Cc(e,t)?[e]:Cv(Iv(e))}function Ea(e){if(typeof e=="string"||gr(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Ic(e,t){t=ga(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Ea(t[n++])];return n&&n==r?e:void 0}function va(e,t,n){var r=e==null?void 0:Ic(e,t);return r===void 0?n:r}function wc(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function wv(){this.__data__=new dt,this.size=0}function Dv(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function kv(e){return this.__data__.get(e)}function Pv(e){return this.__data__.has(e)}var Rv=200;function Lv(e,t){var n=this.__data__;if(n instanceof dt){var r=n.__data__;if(!Sn||r.length<Rv-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new pt(r)}return n.set(e,t),this.size=n.size,this}function ct(e){var t=this.__data__=new dt(e);this.size=t.size}ct.prototype.clear=wv;ct.prototype.delete=Dv;ct.prototype.get=kv;ct.prototype.has=Pv;ct.prototype.set=Lv;function xv(e,t){for(var n=-1,r=e==null?0:e.length,o=0,a=[];++n<r;){var s=e[n];t(s,n,e)&&(a[o++]=s)}return a}function Dc(){return[]}var Vv=Object.prototype,Mv=Vv.propertyIsEnumerable,Hi=Object.getOwnPropertySymbols,kc=Hi?function(e){return e==null?[]:(e=Object(e),xv(Hi(e),function(t){return Mv.call(e,t)}))}:Dc;function Pc(e,t,n){var r=t(e);return bt(e)?r:wc(r,n(e))}function Gi(e){return Pc(e,Nc,kc)}var Do=Ut(nt,"DataView"),ko=Ut(nt,"Promise"),Po=Ut(nt,"Set"),Ki="[object Map]",Fv="[object Object]",Wi="[object Promise]",zi="[object Set]",Yi="[object WeakMap]",qi="[object DataView]",Uv=Ft(Do),$v=Ft(Sn),Bv=Ft(ko),jv=Ft(Po),Hv=Ft(Co);exports.getTag=Mt;(Do&&exports.getTag(new Do(new ArrayBuffer(1)))!=qi||Sn&&exports.getTag(new Sn)!=Ki||ko&&exports.getTag(ko.resolve())!=Wi||Po&&exports.getTag(new Po)!=zi||Co&&exports.getTag(new Co)!=Yi)&&(exports.getTag=function(e){var t=Mt(e),n=t==Fv?e.constructor:void 0,r=n?Ft(n):"";if(r)switch(r){case Uv:return qi;case $v:return Ki;case Bv:return Wi;case jv:return zi;case Hv:return Yi}return t});var Ro=nt.Uint8Array,Gv="__lodash_hash_undefined__";function Kv(e){return this.__data__.set(e,Gv),this}function Wv(e){return this.__data__.has(e)}function rr(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new pt;++t<n;)this.add(e[t])}rr.prototype.add=rr.prototype.push=Kv;rr.prototype.has=Wv;function zv(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Yv(e,t){return e.has(t)}var qv=1,Xv=2;function Rc(e,t,n,r,o,a){var s=n&qv,i=e.length,u=t.length;if(i!=u&&!(s&&u>i))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var f=-1,p=!0,m=n&Xv?new rr:void 0;for(a.set(e,t),a.set(t,e);++f<i;){var b=e[f],g=t[f];if(r)var v=s?r(g,b,f,t,e,a):r(b,g,f,e,t,a);if(v!==void 0){if(v)continue;p=!1;break}if(m){if(!zv(t,function(_,h){if(!Yv(m,h)&&(b===_||o(b,_,n,r,a)))return m.push(h)})){p=!1;break}}else if(!(b===g||o(b,g,n,r,a))){p=!1;break}}return a.delete(e),a.delete(t),p}function Jv(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function Zv(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Qv=1,e1=2,t1="[object Boolean]",n1="[object Date]",r1="[object Error]",o1="[object Map]",a1="[object Number]",s1="[object RegExp]",i1="[object Set]",u1="[object String]",l1="[object Symbol]",c1="[object ArrayBuffer]",f1="[object DataView]",Xi=ft?ft.prototype:void 0,Br=Xi?Xi.valueOf:void 0;function d1(e,t,n,r,o,a,s){switch(n){case f1:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case c1:return!(e.byteLength!=t.byteLength||!a(new Ro(e),new Ro(t)));case t1:case n1:case a1:return Er(+e,+t);case r1:return e.name==t.name&&e.message==t.message;case s1:case u1:return e==t+"";case o1:var i=Jv;case i1:var u=r&Qv;if(i||(i=Zv),e.size!=t.size&&!u)return!1;var c=s.get(e);if(c)return c==t;r|=e1,s.set(e,t);var d=Rc(i(e),i(t),r,o,a,s);return s.delete(e),d;case l1:if(Br)return Br.call(e)==Br.call(t)}return!1}var p1=1,_1=Object.prototype,m1=_1.hasOwnProperty;function h1(e,t,n,r,o,a){var s=n&p1,i=Gi(e),u=i.length,c=Gi(t),d=c.length;if(u!=d&&!s)return!1;for(var f=u;f--;){var p=i[f];if(!(s?p in t:m1.call(t,p)))return!1}var m=a.get(e),b=a.get(t);if(m&&b)return m==t&&b==e;var g=!0;a.set(e,t),a.set(t,e);for(var v=s;++f<u;){p=i[f];var _=e[p],h=t[p];if(r)var O=s?r(h,_,p,t,e,a):r(_,h,p,e,t,a);if(!(O===void 0?_===h||o(_,h,n,r,a):O)){g=!1;break}v||(v=p=="constructor")}if(g&&!v){var A=e.constructor,w=t.constructor;A!=w&&"constructor"in e&&"constructor"in t&&!(typeof A=="function"&&A instanceof A&&typeof w=="function"&&w instanceof w)&&(g=!1)}return a.delete(e),a.delete(t),g}var g1=1,Ji="[object Arguments]",Zi="[object Array]",Vn="[object Object]",E1=Object.prototype,Qi=E1.hasOwnProperty;function v1(e,t,n,r,o,a){var s=bt(e),i=bt(t),u=s?Zi:exports.getTag(e),c=i?Zi:exports.getTag(t);u=u==Ji?Vn:u,c=c==Ji?Vn:c;var d=u==Vn,f=c==Vn,p=u==c;if(p&&nr(e)){if(!nr(t))return!1;s=!0,d=!1}if(p&&!d)return a||(a=new ct),s||ha(e)?Rc(e,t,n,r,o,a):d1(e,t,u,n,r,o,a);if(!(n&g1)){var m=d&&Qi.call(e,"__wrapped__"),b=f&&Qi.call(t,"__wrapped__");if(m||b){var g=m?e.value():e,v=b?t.value():t;return a||(a=new ct),o(g,v,n,r,a)}}return p?(a||(a=new ct),h1(e,t,n,r,o,a)):!1}function ya(e,t,n,r,o){return e===t?!0:e==null||t==null||!xt(e)&&!xt(t)?e!==e&&t!==t:v1(e,t,n,r,ya,o)}function Lc(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}function xc(e,t){return ya(e,t)}function Vc(e){return e==null}function Mc(e,t,n,r){if(!An(e))return e;t=ga(t,e);for(var o=-1,a=t.length,s=a-1,i=e;i!=null&&++o<a;){var u=Ea(t[o]),c=n;if(u==="__proto__"||u==="constructor"||u==="prototype")return e;if(o!=s){var d=i[u];c=void 0,c===void 0&&(c=An(d)?d:_a(t[o+1])?[]:{})}mc(i,u,c),i=i[u]}return e}function y1(e,t,n){return e==null?e:Mc(e,t,n)}const b1=e=>e===void 0,O1=e=>typeof e=="boolean",ba=e=>typeof e=="number",A1=e=>!e&&e!==0||_r(e)&&e.length===0||hr(e)&&!Object.keys(e).length,T1=e=>typeof Element>"u"?!1:e instanceof Element,S1=e=>Vc(e),N1=e=>mr(e)?!Number.isNaN(Number(e)):!1;function Fc(e,t){var n;const r=l.shallowRef();return l.watchEffect(()=>{r.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),l.readonly(r)}function C1(e){return l.getCurrentScope()?(l.onScopeDispose(e),!0):!1}function Lo(e){return typeof e=="function"?e():l.unref(e)}const Cn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const I1=e=>e!=null,w1=Object.prototype.toString,D1=e=>w1.call(e)==="[object Object]",xo=()=>{},k1=P1();function P1(){var e,t;return Cn&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function R1(e,t){function n(...r){return new Promise((o,a)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(a)})}return n}function L1(e,t={}){let n,r,o=xo;const a=i=>{clearTimeout(i),o(),o=xo};return i=>{const u=Lo(e),c=Lo(t.maxWait);return n&&a(n),u<=0||c!==void 0&&c<=0?(r&&(a(r),r=null),Promise.resolve(i())):new Promise((d,f)=>{o=t.rejectOnCancel?f:d,c&&!r&&(r=setTimeout(()=>{n&&a(n),r=null,d(i())},c)),n=setTimeout(()=>{r&&a(r),r=null,d(i())},u)})}}function x1(e,t=200,n={}){return R1(L1(t,n),e)}class Uc extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function V1(e,t){throw new Uc(`[${e}] ${t}`)}function $t(e,t){if(process.env.NODE_ENV!=="production"){const n=mr(e)?new Uc(`[${e}] ${t}`):e;console.warn(n)}}const eu={current:0},tu=l.ref(0),$c=2e3,nu=Symbol("elZIndexContextKey"),Bc=Symbol("zIndexContextKey"),jc=e=>{const t=l.getCurrentInstance()?l.inject(nu,eu):eu,n=e||(l.getCurrentInstance()?l.inject(Bc,void 0):void 0),r=l.computed(()=>{const s=l.unref(n);return ba(s)?s:$c}),o=l.computed(()=>r.value+tu.value),a=()=>(t.current++,tu.value=t.current,o.value);return!Cn&&!l.inject(nu)&&$t("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
35
+ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:r,currentZIndex:o,nextZIndex:a}};var M1={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the 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",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const F1=e=>(t,n)=>U1(t,n,l.unref(e)),U1=(e,t,n)=>va(n,e,e).replace(/\{(\w+)\}/g,(r,o)=>{var a;return`${(a=t?.[o])!=null?a:`{${o}}`}`}),$1=e=>{const t=l.computed(()=>l.unref(e).name),n=l.isRef(e)?e:l.ref(e);return{lang:t,locale:n,t:F1(e)}},Hc=Symbol("localeContextKey"),Gc=e=>{const t=e||l.inject(Hc,l.ref());return $1(l.computed(()=>t.value||M1))},Kc="__epPropKey",rn=e=>e,B1=e=>hr(e)&&!!e[Kc],Oa=(e,t)=>{if(!hr(e)||B1(e))return e;const{values:n,required:r,default:o,type:a,validator:s}=e,u={type:a,required:!!r,validator:n||s?c=>{let d=!1,f=[];if(n&&(f=Array.from(n),No(e,"default")&&f.push(o),d||(d=f.includes(c))),s&&(d||(d=s(c))),!d&&f.length>0){const p=[...new Set(f)].map(m=>JSON.stringify(m)).join(", ");l.warn(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${p}], got value ${JSON.stringify(c)}.`)}return d}:void 0,[Kc]:!0};return No(e,"default")&&(u.default=o),u},Or=e=>Lc(Object.entries(e).map(([t,n])=>[t,Oa(n,t)])),Wc=["","default","small","large"],zc=Oa({type:String,values:Wc,required:!1}),Yc=Symbol("size"),qc=()=>{const e=l.inject(Yc,{});return l.computed(()=>l.unref(e.size)||"")},Xc=Symbol("emptyValuesContextKey"),j1="use-empty-values",H1=["",void 0,null],G1=void 0,K1=Or({emptyValues:Array,valueOnClear:{type:rn([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=tr(e)?e():e,_r(e)?e.every(t=>!t):!e)}}),W1=(e,t)=>{const n=l.getCurrentInstance()?l.inject(Xc,l.ref({})):l.ref({}),r=l.computed(()=>e.emptyValues||n.value.emptyValues||H1),o=l.computed(()=>tr(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:tr(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:G1),a=s=>{let i=!0;return _r(s)?i=r.value.some(u=>xc(s,u)):i=r.value.includes(s),i};return a(o.value)||$t(j1,"value-on-clear should be a value of empty-values"),{emptyValues:r,valueOnClear:o,isEmptyValue:a}},ru=e=>Object.keys(e),z1=(e,t,n)=>({get value(){return va(e,t,n)},set value(r){y1(e,t,r)}}),or=l.ref();function Aa(e,t=void 0){const n=l.getCurrentInstance()?l.inject(sc,or):or;return e?l.computed(()=>{var r,o;return(o=(r=n.value)==null?void 0:r[e])!=null?o:t}):n}function Y1(e,t){const n=Aa(),r=nn(e,l.computed(()=>{var i;return((i=n.value)==null?void 0:i.namespace)||zn})),o=Gc(l.computed(()=>{var i;return(i=n.value)==null?void 0:i.locale})),a=jc(l.computed(()=>{var i;return((i=n.value)==null?void 0:i.zIndex)||$c})),s=l.computed(()=>{var i;return l.unref(t)||((i=n.value)==null?void 0:i.size)||""});return q1(l.computed(()=>l.unref(n)||{})),{ns:r,locale:o,zIndex:a,size:s}}const q1=(e,t,n=!1)=>{var r;const o=!!l.getCurrentInstance(),a=o?Aa():void 0,s=(r=void 0)!=null?r:o?l.provide:void 0;if(!s){$t("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const i=l.computed(()=>{const u=l.unref(e);return a?.value?X1(a.value,u):u});return s(sc,i),s(Hc,l.computed(()=>i.value.locale)),s(ic,l.computed(()=>i.value.namespace)),s(Bc,l.computed(()=>i.value.zIndex)),s(Yc,{size:l.computed(()=>i.value.size||"")}),s(Xc,l.computed(()=>({emptyValues:i.value.emptyValues,valueOnClear:i.value.valueOnClear}))),(n||!or.value)&&(or.value=i.value),i},X1=(e,t)=>{const n=[...new Set([...ru(e),...ru(t)])],r={};for(const o of n)r[o]=t[o]!==void 0?t[o]:e[o];return r};var Ar=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const Ta=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},Jc=e=>(e.install=uc,e),J1="utils/dom/style",Zc=(e="")=>e.split(" ").filter(t=>!!t.trim()),Z1=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Q1=(e,t)=>{!e||!t.trim()||e.classList.add(...Zc(t))},ey=(e,t)=>{!e||!t.trim()||e.classList.remove(...Zc(t))},ty=(e,t)=>{var n;if(!Cn||!e||!t)return"";let r=kg(t);r==="float"&&(r="cssFloat");try{const o=e.style[r];if(o)return o;const a=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return a?a[r]:""}catch{return e.style[r]}};function Qc(e,t="px"){if(!e&&e!==0)return"";if(ba(e)||N1(e))return`${e}${t}`;if(mr(e))return e;$t(J1,"binding value must be a string or number")}const ny=Or({size:{type:rn([Number,String])},color:{type:String}}),ry=l.defineComponent({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:ny,setup(e){const t=e,n=nn("icon"),r=l.computed(()=>{const{size:o,color:a}=t,s=Qc(o);return!s&&!a?{}:{fontSize:s,"--color":a}});return(o,a)=>(l.openBlock(),l.createElementBlock("i",l.mergeProps({class:l.unref(n).b(),style:r.value},o.$attrs),[l.renderSlot(o.$slots,"default")],16))}});var oy=Ar(ry,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const Vo=Ta(oy);var ay=l.defineComponent({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 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.59 30.59 0 0 0-42.752 0z"})]))}}),sy=ay,iy=l.defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),uy=iy,ly=l.defineComponent({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 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"})]))}}),cy=ly,fy=l.defineComponent({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),dy=fy,py=l.defineComponent({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),l.createElementVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),_y=py,my=l.defineComponent({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),l.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),ef=my,hy=l.defineComponent({name:"Close",__name:"close",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),gy=hy,Ey=l.defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 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.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 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.672z"})]))}}),vy=Ey,yy=l.defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),by=yy,Oy=l.defineComponent({name:"Hide",__name:"hide",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-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 176S0 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.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 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.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-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-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),l.createElementVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),Ay=Oy,Ty=l.defineComponent({name:"Loading",__name:"loading",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.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.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),Sa=Ty,Sy=l.defineComponent({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),Ny=Sy,Cy=l.defineComponent({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),Iy=Cy,wy=l.defineComponent({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),Dy=wy,ky=l.defineComponent({name:"View",__name:"view",setup(e){return(t,n)=>(l.openBlock(),l.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[l.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),Py=ky;const Mo=rn([String,Object,Function]),Ry={validating:Sa,success:_y,error:ef},Fo={prefix:Math.floor(Math.random()*1e4),current:0},Ly=Symbol("elIdInjection"),tf=()=>l.getCurrentInstance()?l.inject(Ly,Fo):Fo,nf=e=>{const t=tf();!Cn&&t===Fo&&$t("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
36
+ usage: app.provide(ID_INJECTION_KEY, {
37
+ prefix: number,
38
+ current: number,
39
+ })`);const n=da();return Fc(()=>l.unref(e)||`${n.value}-id-${t.prefix}-${t.current++}`)},Tr=Symbol("formContextKey"),Na=Symbol("formItemContextKey"),rf=()=>{const e=l.inject(Tr,void 0),t=l.inject(Na,void 0);return{form:e,formItem:t}},xy=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=l.ref(!1)),r||(r=l.ref(!1));const o=l.getCurrentInstance(),a=()=>{let c=o?.parent;for(;c;){if(c.type.name==="ElFormItem")return!1;if(c.type.name==="ElLabelWrap")return!0;c=c.parent}return!1},s=l.ref();let i;const u=l.computed(()=>{var c;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((c=t.inputIds)==null?void 0:c.length)<=1)});return l.onMounted(()=>{i=l.watch([l.toRef(e,"id"),n],([c,d])=>{const f=c??(d?void 0:nf().value);f!==s.value&&(t?.removeInputId&&!a()&&(s.value&&t.removeInputId(s.value),!r?.value&&!d&&f&&t.addInputId(f)),s.value=f)},{immediate:!0})}),l.onUnmounted(()=>{i&&i(),t?.removeInputId&&s.value&&t.removeInputId(s.value)}),{isLabeledByFormItem:u,inputId:s}},of=e=>{const t=l.getCurrentInstance();return l.computed(()=>{var n,r;return(r=(n=t?.proxy)==null?void 0:n.$props)==null?void 0:r[e]})},af=(e,t={})=>{const n=l.ref(void 0),r=t.prop?n:of("size"),o=t.global?n:qc(),a=t.form?{size:void 0}:l.inject(Tr,void 0),s=t.formItem?{size:void 0}:l.inject(Na,void 0);return l.computed(()=>r.value||l.unref(e)||s?.size||a?.size||o.value||"")},Ca=e=>{const t=of("disabled"),n=l.inject(Tr,void 0);return l.computed(()=>{var r,o,a;return(a=(o=(r=t.value)!=null?r:l.unref(e))!=null?o:n?.disabled)!=null?a:!1})},sf=Symbol("buttonGroupContextKey"),uf=({from:e,replacement:t,scope:n,version:r,ref:o,type:a="API"},s)=>{l.watch(()=>l.unref(s),i=>{i&&$t(n,`[${a}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
40
+ For more detail, please visit: ${o}
41
+ `)},{immediate:!0})},Vy=(e,t)=>{uf({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},l.computed(()=>e.type==="text"));const n=l.inject(sf,void 0),r=Aa("button"),{form:o}=rf(),a=af(l.computed(()=>n?.size)),s=Ca(),i=l.ref(),u=l.useSlots(),c=l.computed(()=>{var _;return e.type||n?.type||((_=r.value)==null?void 0:_.type)||""}),d=l.computed(()=>{var _,h,O;return(O=(h=e.autoInsertSpace)!=null?h:(_=r.value)==null?void 0:_.autoInsertSpace)!=null?O:!1}),f=l.computed(()=>{var _,h,O;return(O=(h=e.plain)!=null?h:(_=r.value)==null?void 0:_.plain)!=null?O:!1}),p=l.computed(()=>{var _,h,O;return(O=(h=e.round)!=null?h:(_=r.value)==null?void 0:_.round)!=null?O:!1}),m=l.computed(()=>{var _,h,O;return(O=(h=e.text)!=null?h:(_=r.value)==null?void 0:_.text)!=null?O:!1}),b=l.computed(()=>e.tag==="button"?{ariaDisabled:s.value||e.loading,disabled:s.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),g=l.computed(()=>{var _;const h=(_=u.default)==null?void 0:_.call(u);if(d.value&&h?.length===1){const O=h[0];if(O?.type===l.Text){const A=O.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(A.trim())}}return!1});return{_disabled:s,_size:a,_type:c,_ref:i,_props:b,_plain:f,_round:p,_text:m,shouldAddSpace:g,handleClick:_=>{if(s.value||e.loading){_.stopPropagation();return}e.nativeType==="reset"&&o?.resetFields(),t("click",_)}}},My=["default","primary","success","warning","info","danger","text",""],Fy=["button","submit","reset"],Uo=Or({size:zc,disabled:{type:Boolean,default:void 0},type:{type:String,values:My,default:""},icon:{type:Mo},nativeType:{type:String,values:Fy,default:"button"},loading:Boolean,loadingIcon:{type:Mo,default:()=>Sa},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:rn([String,Object]),default:"button"}}),Uy={click:e=>e instanceof MouseEvent};function Ne(e,t){$y(e)&&(e="100%");var n=By(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(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 Mn(e){return Math.min(1,Math.max(0,e))}function $y(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function By(e){return typeof e=="string"&&e.indexOf("%")!==-1}function lf(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Fn(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Dt(e){return e.length===1?"0"+e:String(e)}function jy(e,t,n){return{r:Ne(e,255)*255,g:Ne(t,255)*255,b:Ne(n,255)*255}}function ou(e,t,n){e=Ne(e,255),t=Ne(t,255),n=Ne(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,s=0,i=(r+o)/2;if(r===o)s=0,a=0;else{var u=r-o;switch(s=i>.5?u/(2-r-o):u/(r+o),r){case e:a=(t-n)/u+(t<n?6:0);break;case t:a=(n-e)/u+2;break;case n:a=(e-t)/u+4;break}a/=6}return{h:a,s,l:i}}function jr(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Hy(e,t,n){var r,o,a;if(e=Ne(e,360),t=Ne(t,100),n=Ne(n,100),t===0)o=n,a=n,r=n;else{var s=n<.5?n*(1+t):n+t-n*t,i=2*n-s;r=jr(i,s,e+1/3),o=jr(i,s,e),a=jr(i,s,e-1/3)}return{r:r*255,g:o*255,b:a*255}}function au(e,t,n){e=Ne(e,255),t=Ne(t,255),n=Ne(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,s=r,i=r-o,u=r===0?0:i/r;if(r===o)a=0;else{switch(r){case e:a=(t-n)/i+(t<n?6:0);break;case t:a=(n-e)/i+2;break;case n:a=(e-t)/i+4;break}a/=6}return{h:a,s:u,v:s}}function Gy(e,t,n){e=Ne(e,360)*6,t=Ne(t,100),n=Ne(n,100);var r=Math.floor(e),o=e-r,a=n*(1-t),s=n*(1-o*t),i=n*(1-(1-o)*t),u=r%6,c=[n,s,a,a,i,n][u],d=[i,n,n,s,a,a][u],f=[a,a,i,n,n,s][u];return{r:c*255,g:d*255,b:f*255}}function su(e,t,n,r){var o=[Dt(Math.round(e).toString(16)),Dt(Math.round(t).toString(16)),Dt(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function Ky(e,t,n,r,o){var a=[Dt(Math.round(e).toString(16)),Dt(Math.round(t).toString(16)),Dt(Math.round(n).toString(16)),Dt(Wy(r))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function Wy(e){return Math.round(parseFloat(e)*255).toString(16)}function iu(e){return Me(e)/255}function Me(e){return parseInt(e,16)}function zy(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var $o={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 Yy(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,a=null,s=!1,i=!1;return typeof e=="string"&&(e=Jy(e)),typeof e=="object"&&(it(e.r)&&it(e.g)&&it(e.b)?(t=jy(e.r,e.g,e.b),s=!0,i=String(e.r).substr(-1)==="%"?"prgb":"rgb"):it(e.h)&&it(e.s)&&it(e.v)?(r=Fn(e.s),o=Fn(e.v),t=Gy(e.h,r,o),s=!0,i="hsv"):it(e.h)&&it(e.s)&&it(e.l)&&(r=Fn(e.s),a=Fn(e.l),t=Hy(e.h,r,a),s=!0,i="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=lf(n),{ok:s,format:e.format||i,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:n}}var qy="[-\\+]?\\d+%?",Xy="[-\\+]?\\d*\\.\\d+%?",Et="(?:".concat(Xy,")|(?:").concat(qy,")"),Hr="[\\s|\\(]+(".concat(Et,")[,|\\s]+(").concat(Et,")[,|\\s]+(").concat(Et,")\\s*\\)?"),Gr="[\\s|\\(]+(".concat(Et,")[,|\\s]+(").concat(Et,")[,|\\s]+(").concat(Et,")[,|\\s]+(").concat(Et,")\\s*\\)?"),We={CSS_UNIT:new RegExp(Et),rgb:new RegExp("rgb"+Hr),rgba:new RegExp("rgba"+Gr),hsl:new RegExp("hsl"+Hr),hsla:new RegExp("hsla"+Gr),hsv:new RegExp("hsv"+Hr),hsva:new RegExp("hsva"+Gr),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 Jy(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if($o[e])e=$o[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=We.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=We.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=We.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=We.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=We.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=We.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=We.hex8.exec(e),n?{r:Me(n[1]),g:Me(n[2]),b:Me(n[3]),a:iu(n[4]),format:t?"name":"hex8"}:(n=We.hex6.exec(e),n?{r:Me(n[1]),g:Me(n[2]),b:Me(n[3]),format:t?"name":"hex"}:(n=We.hex4.exec(e),n?{r:Me(n[1]+n[1]),g:Me(n[2]+n[2]),b:Me(n[3]+n[3]),a:iu(n[4]+n[4]),format:t?"name":"hex8"}:(n=We.hex3.exec(e),n?{r:Me(n[1]+n[1]),g:Me(n[2]+n[2]),b:Me(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function it(e){return!!We.CSS_UNIT.exec(String(e))}var Zy=(function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=zy(t)),this.originalInput=t;var o=Yy(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:o.format,this.gradientType=n.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=o.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(),n,r,o,a=t.r/255,s=t.g/255,i=t.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),s<=.03928?r=s/12.92:r=Math.pow((s+.055)/1.055,2.4),i<=.03928?o=i/12.92:o=Math.pow((i+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=lf(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=au(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=au(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=ou(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=ou(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),su(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),Ky(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),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ne(n,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(n){return Math.round(Ne(n,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="#"+su(this.r,this.g,this.b,!1),n=0,r=Object.entries($o);n<r.length;n++){var o=r[n],a=o[0],s=o[1];if(t===s)return a}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,o=this.a<1&&this.a>=0,a=!n&&o&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||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 n=this.toHsl();return n.l+=t/100,n.l=Mn(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Mn(n.l),new e(n)},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 n=this.toHsl();return n.s-=t/100,n.s=Mn(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Mn(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),a=n/100,s={r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a};return new e(s)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),o=360/n,a=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(new e(r));return a},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 n=this.toHsv(),r=n.h,o=n.s,a=n.v,s=[],i=1/t;t--;)s.push(new e({h:r,s:o,v:a})),a=(a+i)%1;return s},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],a=360/t,s=1;s<t;s++)o.push(new e({h:(r+s*a)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e})();function mt(e,t=20){return e.mix("#141414",t).toString()}function Qy(e){const t=Ca(),n=nn("button");return l.computed(()=>{let r={},o=e.color;if(o){const a=o.match(/var\((.*?)\)/);a&&(o=window.getComputedStyle(window.document.documentElement).getPropertyValue(a[1]));const s=new Zy(o),i=e.dark?s.tint(20).toString():mt(s,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?mt(s,90):s.tint(90).toString(),"text-color":o,"border-color":e.dark?mt(s,50):s.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?mt(s,90):s.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?mt(s,50):s.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?mt(s,80):s.tint(80).toString());else{const u=e.dark?mt(s,30):s.tint(30).toString(),c=s.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":o,"text-color":c,"border-color":o,"hover-bg-color":u,"hover-text-color":c,"hover-border-color":u,"active-bg-color":i,"active-border-color":i}),t.value){const d=e.dark?mt(s,50):s.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=d,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=d}}}return r})}const e2=l.defineComponent({name:"ElButton",__name:"button",props:Uo,emits:Uy,setup(e,{expose:t,emit:n}){const r=e,o=n,a=Qy(r),s=nn("button"),{_ref:i,_size:u,_type:c,_disabled:d,_props:f,_plain:p,_round:m,_text:b,shouldAddSpace:g,handleClick:v}=Vy(r,o),_=l.computed(()=>[s.b(),s.m(c.value),s.m(u.value),s.is("disabled",d.value),s.is("loading",r.loading),s.is("plain",p.value),s.is("round",m.value),s.is("circle",r.circle),s.is("text",b.value),s.is("link",r.link),s.is("has-bg",r.bg)]);return t({ref:i,size:u,type:c,disabled:d,shouldAddSpace:g}),(h,O)=>(l.openBlock(),l.createBlock(l.resolveDynamicComponent(h.tag),l.mergeProps({ref_key:"_ref",ref:i},l.unref(f),{class:_.value,style:l.unref(a),onClick:l.unref(v)}),{default:l.withCtx(()=>[h.loading?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[h.$slots.loading?l.renderSlot(h.$slots,"loading",{key:0}):(l.openBlock(),l.createBlock(l.unref(Vo),{key:1,class:l.normalizeClass(l.unref(s).is("loading"))},{default:l.withCtx(()=>[(l.openBlock(),l.createBlock(l.resolveDynamicComponent(h.loadingIcon)))]),_:1},8,["class"]))],64)):h.icon||h.$slots.icon?(l.openBlock(),l.createBlock(l.unref(Vo),{key:1},{default:l.withCtx(()=>[h.icon?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(h.icon),{key:0})):l.renderSlot(h.$slots,"icon",{key:1})]),_:3})):l.createCommentVNode("v-if",!0),h.$slots.default?(l.openBlock(),l.createElementBlock("span",{key:2,class:l.normalizeClass({[l.unref(s).em("text","expand")]:l.unref(g)})},[l.renderSlot(h.$slots,"default")],2)):l.createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var t2=Ar(e2,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const n2={size:Uo.size,type:Uo.type,direction:{type:rn(String),values:["horizontal","vertical"],default:"horizontal"}},r2=l.defineComponent({name:"ElButtonGroup",__name:"button-group",props:n2,setup(e){const t=e;l.provide(sf,l.reactive({size:l.toRef(t,"size"),type:l.toRef(t,"type")}));const n=nn("button");return(r,o)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass([l.unref(n).b("group"),l.unref(n).bm("group",t.direction)])},[l.renderSlot(r.$slots,"default")],2))}});var cf=Ar(r2,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const o2=Ta(t2,{ButtonGroup:cf});Jc(cf);const a2="/vite.svg",s2="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20aria-hidden='true'%20role='img'%20class='iconify%20iconify--logos'%20width='37.07'%20height='36'%20preserveAspectRatio='xMidYMid%20meet'%20viewBox='0%200%20256%20198'%3e%3cpath%20fill='%2341B883'%20d='M204.8%200H256L128%20220.8L0%200h97.92L128%2051.2L157.44%200h47.36Z'%3e%3c/path%3e%3cpath%20fill='%2341B883'%20d='m0%200l128%20220.8L256%200h-51.2L128%20132.48L50.56%200H0Z'%3e%3c/path%3e%3cpath%20fill='%2335495E'%20d='M50.56%200L128%20133.12L204.8%200h-47.36L128%2051.2L97.92%200H50.56Z'%3e%3c/path%3e%3c/svg%3e",i2={class:"text-center"},u2={class:"card"},l2=l.defineComponent({__name:"HelloWorld",props:{msg:{}},setup(e){const t=l.ref(0);return(n,r)=>{const o=o2;return l.openBlock(),l.createElementBlock("div",i2,[l.createVNode(o,{onClick:r[0]||(r[0]=a=>l.unref(ac)())},{default:l.withCtx(()=>[...r[2]||(r[2]=[l.createTextVNode("切换主题",-1)])]),_:1}),r[4]||(r[4]=l.createElementVNode("div",null,[l.createElementVNode("a",{href:"https://vite.dev",target:"_blank"},[l.createElementVNode("img",{src:a2,class:"logo",alt:"Vite logo"})]),l.createElementVNode("a",{href:"https://vuejs.org/",target:"_blank"},[l.createElementVNode("img",{src:s2,class:"logo vue",alt:"Vue logo"})])],-1)),l.createElementVNode("h1",null,l.toDisplayString(n.$t("hello")),1),l.createElementVNode("h1",null,l.toDisplayString(e.msg),1),l.createElementVNode("div",u2,[l.createElementVNode("button",{type:"button",onClick:r[1]||(r[1]=a=>t.value++)},"count is "+l.toDisplayString(t.value),1),r[3]||(r[3]=l.createElementVNode("p",null,[l.createTextVNode(" Edit "),l.createElementVNode("code",null,"components/HelloWorld.vue"),l.createTextVNode(" to test HMR ")],-1))])])}}}),ff=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},c2=ff(l2,[["__scopeId","data-v-b67d1597"]]),f2=l.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DpfpHOHg.cjs")));exports.ElIcon=Vo;exports.ElTablePlus=f2;exports.HelloWorld=c2;exports.NOOP=uc;exports.Stack=ct;exports.Symbol=ft;exports.Uint8Array=Ro;exports.ValidateComponentsMap=Ry;exports._export_sfc=Ar;exports._export_sfc$1=ff;exports.addClass=Q1;exports.addUnit=Qc;exports.arrayLikeKeys=Ac;exports.arrayMap=dc;exports.arrayPush=wc;exports.arrow_down_default=sy;exports.arrow_left_default=uy;exports.arrow_right_default=cy;exports.arrow_up_default=dy;exports.assignValue=mc;exports.baseAssignValue=_c;exports.baseGet=Ic;exports.baseGetAllKeys=Pc;exports.baseGetTag=Mt;exports.baseIsEqual=ya;exports.baseKeys=Sc;exports.baseSet=Mc;exports.baseUnary=bc;exports.buildProp=Oa;exports.buildProps=Or;exports.castPath=ga;exports.circle_close_default=ef;exports.close_default=gy;exports.componentSizes=Wc;exports.computedEager=Fc;exports.createApp=Og;exports.d_arrow_left_default=vy;exports.d_arrow_right_default=by;exports.debugWarn=$t;exports.definePropType=rn;exports.defineProperty=Io;exports.eq=Er;exports.formContextKey=Tr;exports.formItemContextKey=Na;exports.fromPairs=Lc;exports.get=va;exports.getProp=z1;exports.getStyle=ty;exports.getSymbols=kc;exports.hasClass=Z1;exports.hasOwn=No;exports.hide_default=Ay;exports.hyphenate=Rg;exports.i18n=oc;exports.iconPropType=Mo;exports.isArguments=vc;exports.isArray=bt;exports.isArray$1=_r;exports.isArrayLike=hc;exports.isBoolean=O1;exports.isBuffer=nr;exports.isClient=Cn;exports.isDark=Wn;exports.isElement=T1;exports.isEmpty=A1;exports.isEqual=xc;exports.isFunction=pa;exports.isFunction$1=tr;exports.isIOS=k1;exports.isIndex=_a;exports.isKey=Cc;exports.isLength=ma;exports.isNil=Vc;exports.isNumber=ba;exports.isObject=An;exports.isObject$1=D1;exports.isObject$2=hr;exports.isObjectLike=xt;exports.isPlainObject=wg;exports.isPropAbsent=S1;exports.isPrototype=gc;exports.isString=mr;exports.isSymbol=gr;exports.isTypedArray=ha;exports.isUndefined=b1;exports.keys=Nc;exports.loading_default=Sa;exports.locale=Ag;exports.memoize=br;exports.more_filled_default=Ny;exports.nodeUtil=wo;exports.noop=xo;exports.notNullish=I1;exports.overArg=Tc;exports.pinia=rc;exports.removeClass=ey;exports.root=nt;exports.router=nc;exports.sort_down_default=Iy;exports.sort_up_default=Dy;exports.stubArray=Dc;exports.throwError=V1;exports.toKey=Ea;exports.toValue=Lo;exports.toggleLocale=Tg;exports.toggleTheme=ac;exports.tryOnScopeDispose=C1;exports.useDebounceFn=x1;exports.useDeprecated=uf;exports.useEmptyValues=W1;exports.useEmptyValuesProps=K1;exports.useFormDisabled=Ca;exports.useFormItem=rf;exports.useFormItemInputId=xy;exports.useFormSize=af;exports.useGetDerivedNamespace=da;exports.useGlobalComponentSettings=Y1;exports.useGlobalSize=qc;exports.useI18n=dr;exports.useId=nf;exports.useIdInjection=tf;exports.useLocale=Gc;exports.useNamespace=nn;exports.useSizeProp=zc;exports.useZIndex=jc;exports.view_default=Py;exports.withInstall=Ta;exports.withNoopInstall=Jc;