From d6127974a1ffc89bb637a42411c0a427ad32dc45 Mon Sep 17 00:00:00 2001 From: yiruzu Date: Sun, 15 Dec 2024 15:08:30 +0100 Subject: [PATCH] feat(ui/config): add customizable currency symbol --- client/client.lua | 2 +- shared/sh_config.lua | 1 + web/assets/{index--yX-t8g3.js => index-CW-Wi0KY.js} | 10 +++++----- web/index.html | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) rename web/assets/{index--yX-t8g3.js => index-CW-Wi0KY.js} (84%) diff --git a/client/client.lua b/client/client.lua index c7d6964..9afa77b 100644 --- a/client/client.lua +++ b/client/client.lua @@ -270,7 +270,7 @@ RegisterNuiCallback("shop:fetchData", function(data, cb) cb(success) end, initShopData = function() - cb({ locales = Locales.UI, imagePath = Config.ImagePath }) + cb({ locales = Locales.UI, imagePath = Config.ImagePath, currencySymbol = Config.CurrencySymbol }) end, payCart = function() DebugPrint("[NUI:payCart] Payment Type:", data.type, "Cart Array:", json.encode(data.cart)) diff --git a/shared/sh_config.lua b/shared/sh_config.lua index 83b376c..2f81d3d 100644 --- a/shared/sh_config.lua +++ b/shared/sh_config.lua @@ -10,6 +10,7 @@ return { WeaponAsItem = true, -- Treat weapons as inventory items (only supported inventorys) OxInventory = true, -- Uses ox_inventory exports if true ImagePath = "item_images/", -- Use "nui://{YOUR_RESOURCE}/{IMAGE_DIRECTORY}" to use images from another resource (e.g., "nui://ox_inventory/web/images/" for ox_inventory) + CurrencySymbol = "$", --[[ INTERACTION CONFIGURATION ]] diff --git a/web/assets/index--yX-t8g3.js b/web/assets/index-CW-Wi0KY.js similarity index 84% rename from web/assets/index--yX-t8g3.js rename to web/assets/index-CW-Wi0KY.js index 3a461e0..256c344 100644 --- a/web/assets/index--yX-t8g3.js +++ b/web/assets/index-CW-Wi0KY.js @@ -2,17 +2,17 @@ * @vue/shared v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function _s(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const z={},gt=[],je=()=>{},_o=()=>!1,gn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vs=e=>e.startsWith("onUpdate:"),re=Object.assign,xs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vo=Object.prototype.hasOwnProperty,K=(e,t)=>vo.call(e,t),L=Array.isArray,mt=e=>mn(e)==="[object Map]",Ur=e=>mn(e)==="[object Set]",R=e=>typeof e=="function",ne=e=>typeof e=="string",Je=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Kr=e=>(X(e)||R(e))&&R(e.then)&&R(e.catch),Wr=Object.prototype.toString,mn=e=>Wr.call(e),xo=e=>mn(e).slice(8,-1),qr=e=>mn(e)==="[object Object]",ws=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ot=_s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wo=/-(\w)/g,Ie=yn(e=>e.replace(wo,(t,n)=>n?n.toUpperCase():"")),Co=/\B([A-Z])/g,ut=yn(e=>e.replace(Co,"-$1").toLowerCase()),bn=yn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ln=yn(e=>e?`on${bn(e)}`:""),ct=(e,t)=>!Object.is(e,t),en=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Yn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},So=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Gs;const _n=()=>Gs||(Gs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cs(e){if(L(e)){const t={};for(let n=0;n{if(n){const s=n.split(Io);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function vn(e){let t="";if(ne(e))t=e;else if(L(e))for(let n=0;n!!(e&&e.__v_isRef===!0),ue=e=>ne(e)?e:e==null?"":L(e)||X(e)&&(e.toString===Wr||!R(e.toString))?Qr(e)?ue(e.value):JSON.stringify(e,Jr,2):String(e),Jr=(e,t)=>Qr(t)?Jr(e,t.value):mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Fn(s,i)+" =>"]=r,n),{})}:Ur(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Fn(n))}:Je(t)?Fn(t):X(t)&&!L(t)&&!qr(t)?String(t):t,Fn=(e,t="")=>{var n;return Je(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function _s(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const z={},gt=[],je=()=>{},_o=()=>!1,gn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vs=e=>e.startsWith("onUpdate:"),re=Object.assign,xs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vo=Object.prototype.hasOwnProperty,K=(e,t)=>vo.call(e,t),L=Array.isArray,mt=e=>mn(e)==="[object Map]",Ur=e=>mn(e)==="[object Set]",R=e=>typeof e=="function",ne=e=>typeof e=="string",Je=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Kr=e=>(X(e)||R(e))&&R(e.then)&&R(e.catch),Wr=Object.prototype.toString,mn=e=>Wr.call(e),xo=e=>mn(e).slice(8,-1),qr=e=>mn(e)==="[object Object]",ws=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ot=_s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wo=/-(\w)/g,Ie=yn(e=>e.replace(wo,(t,n)=>n?n.toUpperCase():"")),So=/\B([A-Z])/g,ut=yn(e=>e.replace(So,"-$1").toLowerCase()),bn=yn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ln=yn(e=>e?`on${bn(e)}`:""),ct=(e,t)=>!Object.is(e,t),en=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Yn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Co=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Gs;const _n=()=>Gs||(Gs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ss(e){if(L(e)){const t={};for(let n=0;n{if(n){const s=n.split(Io);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function vn(e){let t="";if(ne(e))t=e;else if(L(e))for(let n=0;n!!(e&&e.__v_isRef===!0),ue=e=>ne(e)?e:e==null?"":L(e)||X(e)&&(e.toString===Wr||!R(e.toString))?Qr(e)?ue(e.value):JSON.stringify(e,Jr,2):String(e),Jr=(e,t)=>Qr(t)?Jr(e,t.value):mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Fn(s,i)+" =>"]=r,n),{})}:Ur(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Fn(n))}:Je(t)?Fn(t):X(t)&&!L(t)&&!qr(t)?String(t):t,Fn=(e,t="")=>{var n;return Je(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let we;class Mo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Mt){let t=Mt;for(Mt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Pt;){let t=Pt;for(Pt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ei(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ti(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Is(s),Fo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Xn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ni(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ni(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Rt))return;e.globalVersion=Rt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Xn(e)){e.flags&=-3;return}const n=Y,s=Oe;Y=e,Oe=!0;try{ei(e);const r=e.fn(e._value);(t.version===0||ct(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Y=n,Oe=s,ti(e),e.flags&=-3}}function Is(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Is(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Fo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Oe=!0;const si=[];function Ye(){si.push(Oe),Oe=!1}function Xe(){const e=si.pop();Oe=e===void 0?!0:e}function zs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Y;Y=void 0;try{t()}finally{Y=n}}}let Rt=0;class Do{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ri{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Y||!Oe||Y===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Y)n=this.activeLink=new Do(Y,this),Y.deps?(n.prevDep=Y.depsTail,Y.depsTail.nextDep=n,Y.depsTail=n):Y.deps=Y.depsTail=n,ii(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Y.depsTail,n.nextDep=void 0,Y.depsTail.nextDep=n,Y.depsTail=n,Y.deps===n&&(Y.deps=s)}return n}trigger(t){this.version++,Rt++,this.notify(t)}notify(t){Ss();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ts()}}}function ii(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ii(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Zn=new WeakMap,ft=Symbol(""),es=Symbol(""),jt=Symbol("");function ae(e,t,n){if(Oe&&Y){let s=Zn.get(e);s||Zn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new ri),r.map=s,r.key=n),r.track()}}function Be(e,t,n,s,r,i){const o=Zn.get(e);if(!o){Rt++;return}const l=c=>{c&&c.trigger()};if(Ss(),t==="clear")o.forEach(l);else{const c=L(e),u=c&&ws(n);if(c&&n==="length"){const a=Number(s);o.forEach((h,g)=>{(g==="length"||g===jt||!Je(g)&&g>=a)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(jt)),t){case"add":c?u&&l(o.get("length")):(l(o.get(ft)),mt(e)&&l(o.get(es)));break;case"delete":c||(l(o.get(ft)),mt(e)&&l(o.get(es)));break;case"set":mt(e)&&l(o.get(ft));break}}Ts()}function dt(e){const t=q(e);return t===e?t:(ae(t,"iterate",jt),Pe(e)?t:t.map(ge))}function xn(e){return ae(e=q(e),"iterate",jt),e}const No={__proto__:null,[Symbol.iterator](){return Nn(this,Symbol.iterator,ge)},concat(...e){return dt(this).concat(...e.map(t=>L(t)?dt(t):t))},entries(){return Nn(this,"entries",e=>(e[1]=ge(e[1]),e))},every(e,t){return He(this,"every",e,t,void 0,arguments)},filter(e,t){return He(this,"filter",e,t,n=>n.map(ge),arguments)},find(e,t){return He(this,"find",e,t,ge,arguments)},findIndex(e,t){return He(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return He(this,"findLast",e,t,ge,arguments)},findLastIndex(e,t){return He(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return He(this,"forEach",e,t,void 0,arguments)},includes(...e){return Rn(this,"includes",e)},indexOf(...e){return Rn(this,"indexOf",e)},join(e){return dt(this).join(e)},lastIndexOf(...e){return Rn(this,"lastIndexOf",e)},map(e,t){return He(this,"map",e,t,void 0,arguments)},pop(){return St(this,"pop")},push(...e){return St(this,"push",e)},reduce(e,...t){return Qs(this,"reduce",e,t)},reduceRight(e,...t){return Qs(this,"reduceRight",e,t)},shift(){return St(this,"shift")},some(e,t){return He(this,"some",e,t,void 0,arguments)},splice(...e){return St(this,"splice",e)},toReversed(){return dt(this).toReversed()},toSorted(e){return dt(this).toSorted(e)},toSpliced(...e){return dt(this).toSpliced(...e)},unshift(...e){return St(this,"unshift",e)},values(){return Nn(this,"values",ge)}};function Nn(e,t,n){const s=xn(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const Ro=Array.prototype;function He(e,t,n,s,r,i){const o=xn(e),l=o!==e&&!Pe(e),c=o[t];if(c!==Ro[t]){const h=c.apply(e,i);return l?ge(h):h}let u=n;o!==e&&(l?u=function(h,g){return n.call(this,ge(h),g,e)}:n.length>2&&(u=function(h,g){return n.call(this,h,g,e)}));const a=c.call(o,u,s);return l&&r?r(a):a}function Qs(e,t,n,s){const r=xn(e);let i=n;return r!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ge(l),c,e)}),r[t](i,...s)}function Rn(e,t,n){const s=q(e);ae(s,"iterate",jt);const r=s[t](...n);return(r===-1||r===!1)&&Ps(n[0])?(n[0]=q(n[0]),s[t](...n)):r}function St(e,t,n=[]){Ye(),Ss();const s=q(e)[t].apply(e,n);return Ts(),Xe(),s}const jo=_s("__proto__,__v_isRef,__isVue"),oi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Je));function Ho(e){Je(e)||(e=String(e));const t=q(this);return ae(t,"has",e),t.hasOwnProperty(e)}class li{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?zo:ui:i?ai:fi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=L(t);if(!r){let c;if(o&&(c=No[n]))return c;if(n==="hasOwnProperty")return Ho}const l=Reflect.get(t,n,pe(t)?t:s);return(Je(n)?oi.has(n):jo(n))||(r||ae(t,"get",n),i)?l:pe(l)?o&&ws(n)?l:l.value:X(l)?r?di(l):As(l):l}}class ci extends li{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=vt(i);if(!Pe(s)&&!vt(s)&&(i=q(i),s=q(s)),!L(t)&&pe(i)&&!pe(s))return c?!1:(i.value=s,!0)}const o=L(t)&&ws(n)?Number(n)e,Qt=e=>Reflect.getPrototypeOf(e);function Uo(e,t,n){return function(...s){const r=this.__v_raw,i=q(r),o=mt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),a=n?ts:t?ns:ge;return!t&&ae(i,"iterate",c?es:ft),{next(){const{value:h,done:g}=u.next();return g?{value:h,done:g}:{value:l?[a(h[0]),a(h[1])]:a(h),done:g}},[Symbol.iterator](){return this}}}}function Jt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ko(e,t){const n={get(r){const i=this.__v_raw,o=q(i),l=q(r);e||(ct(r,l)&&ae(o,"get",r),ae(o,"get",l));const{has:c}=Qt(o),u=t?ts:e?ns:ge;if(c.call(o,r))return u(i.get(r));if(c.call(o,l))return u(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ae(q(r),"iterate",ft),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=q(i),l=q(r);return e||(ct(r,l)&&ae(o,"has",r),ae(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=q(l),u=t?ts:e?ns:ge;return!e&&ae(c,"iterate",ft),l.forEach((a,h)=>r.call(i,u(a),u(h),o))}};return re(n,e?{add:Jt("add"),set:Jt("set"),delete:Jt("delete"),clear:Jt("clear")}:{add(r){!t&&!Pe(r)&&!vt(r)&&(r=q(r));const i=q(this);return Qt(i).has.call(i,r)||(i.add(r),Be(i,"add",r,r)),this},set(r,i){!t&&!Pe(i)&&!vt(i)&&(i=q(i));const o=q(this),{has:l,get:c}=Qt(o);let u=l.call(o,r);u||(r=q(r),u=l.call(o,r));const a=c.call(o,r);return o.set(r,i),u?ct(i,a)&&Be(o,"set",r,i):Be(o,"add",r,i),this},delete(r){const i=q(this),{has:o,get:l}=Qt(i);let c=o.call(i,r);c||(r=q(r),c=o.call(i,r)),l&&l.call(i,r);const u=i.delete(r);return c&&Be(i,"delete",r,void 0),u},clear(){const r=q(this),i=r.size!==0,o=r.clear();return i&&Be(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Uo(r,e,t)}),n}function Es(e,t){const n=Ko(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(K(n,r)&&r in s?n:s,r,i)}const Wo={get:Es(!1,!1)},qo={get:Es(!1,!0)},Go={get:Es(!0,!1)};const fi=new WeakMap,ai=new WeakMap,ui=new WeakMap,zo=new WeakMap;function Qo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Jo(e){return e.__v_skip||!Object.isExtensible(e)?0:Qo(xo(e))}function As(e){return vt(e)?e:Os(e,!1,Vo,Wo,fi)}function Yo(e){return Os(e,!1,$o,qo,ai)}function di(e){return Os(e,!0,Bo,Go,ui)}function Os(e,t,n,s,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Jo(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function yt(e){return vt(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Ps(e){return e?!!e.__v_raw:!1}function q(e){const t=e&&e.__v_raw;return t?q(t):e}function Xo(e){return!K(e,"__v_skip")&&Object.isExtensible(e)&&Gr(e,"__v_skip",!0),e}const ge=e=>X(e)?As(e):e,ns=e=>X(e)?di(e):e;function pe(e){return e?e.__v_isRef===!0:!1}function Zo(e){return pe(e)?e.value:e}const el={get:(e,t,n)=>t==="__v_raw"?e:Zo(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return pe(r)&&!pe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function hi(e){return yt(e)?e:new Proxy(e,el)}class tl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ri(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Rt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Y!==this)return Zr(this,!0),!0}get value(){const t=this.dep.track();return ni(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function nl(e,t,n=!1){let s,r;return R(e)?s=e:(s=e.get,r=e.set),new tl(s,r,n)}const Yt={},cn=new WeakMap;let ot;function sl(e,t=!1,n=ot){if(n){let s=cn.get(n);s||cn.set(n,s=[]),s.push(e)}}function rl(e,t,n=z){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,u=T=>r?T:Pe(T)||r===!1||r===0?$e(T,1):$e(T);let a,h,g,v,P=!1,E=!1;if(pe(e)?(h=()=>e.value,P=Pe(e)):yt(e)?(h=()=>u(e),P=!0):L(e)?(E=!0,P=e.some(T=>yt(T)||Pe(T)),h=()=>e.map(T=>{if(pe(T))return T.value;if(yt(T))return u(T);if(R(T))return c?c(T,2):T()})):R(e)?t?h=c?()=>c(e,2):e:h=()=>{if(g){Ye();try{g()}finally{Xe()}}const T=ot;ot=a;try{return c?c(e,3,[v]):e(v)}finally{ot=T}}:h=je,t&&r){const T=h,U=r===!0?1/0:r;h=()=>$e(T(),U)}const I=Lo(),H=()=>{a.stop(),I&&xs(I.effects,a)};if(i&&t){const T=t;t=(...U)=>{T(...U),H()}}let B=E?new Array(e.length).fill(Yt):Yt;const k=T=>{if(!(!(a.flags&1)||!a.dirty&&!T))if(t){const U=a.run();if(r||P||(E?U.some((N,G)=>ct(N,B[G])):ct(U,B))){g&&g();const N=ot;ot=a;try{const G=[U,B===Yt?void 0:E&&B[0]===Yt?[]:B,v];c?c(t,3,G):t(...G),B=U}finally{ot=N}}}else a.run()};return l&&l(k),a=new Yr(h),a.scheduler=o?()=>o(k,!1):k,v=T=>sl(T,!1,a),g=a.onStop=()=>{const T=cn.get(a);if(T){if(c)c(T,4);else for(const U of T)U();cn.delete(a)}},t?s?k(!0):B=a.run():o?o(k.bind(null,!0),!0):a.run(),H.pause=a.pause.bind(a),H.resume=a.resume.bind(a),H.stop=H,H}function $e(e,t=1/0,n){if(t<=0||!X(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,pe(e))$e(e.value,t,n);else if(L(e))for(let s=0;s{$e(s,t,n)});else if(qr(e)){for(const s in e)$e(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&$e(e[s],t,n)}return e}/** +**/let we;class Mo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Mt){let t=Mt;for(Mt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Pt;){let t=Pt;for(Pt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ei(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ti(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Is(s),Fo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Xn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ni(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ni(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Rt))return;e.globalVersion=Rt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Xn(e)){e.flags&=-3;return}const n=Y,s=Oe;Y=e,Oe=!0;try{ei(e);const r=e.fn(e._value);(t.version===0||ct(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Y=n,Oe=s,ti(e),e.flags&=-3}}function Is(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Is(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Fo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Oe=!0;const si=[];function Ye(){si.push(Oe),Oe=!1}function Xe(){const e=si.pop();Oe=e===void 0?!0:e}function zs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Y;Y=void 0;try{t()}finally{Y=n}}}let Rt=0;class Do{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ri{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Y||!Oe||Y===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Y)n=this.activeLink=new Do(Y,this),Y.deps?(n.prevDep=Y.depsTail,Y.depsTail.nextDep=n,Y.depsTail=n):Y.deps=Y.depsTail=n,ii(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Y.depsTail,n.nextDep=void 0,Y.depsTail.nextDep=n,Y.depsTail=n,Y.deps===n&&(Y.deps=s)}return n}trigger(t){this.version++,Rt++,this.notify(t)}notify(t){Cs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ts()}}}function ii(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ii(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Zn=new WeakMap,ft=Symbol(""),es=Symbol(""),jt=Symbol("");function ae(e,t,n){if(Oe&&Y){let s=Zn.get(e);s||Zn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new ri),r.map=s,r.key=n),r.track()}}function Be(e,t,n,s,r,i){const o=Zn.get(e);if(!o){Rt++;return}const l=c=>{c&&c.trigger()};if(Cs(),t==="clear")o.forEach(l);else{const c=L(e),u=c&&ws(n);if(c&&n==="length"){const a=Number(s);o.forEach((h,g)=>{(g==="length"||g===jt||!Je(g)&&g>=a)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(jt)),t){case"add":c?u&&l(o.get("length")):(l(o.get(ft)),mt(e)&&l(o.get(es)));break;case"delete":c||(l(o.get(ft)),mt(e)&&l(o.get(es)));break;case"set":mt(e)&&l(o.get(ft));break}}Ts()}function dt(e){const t=q(e);return t===e?t:(ae(t,"iterate",jt),Pe(e)?t:t.map(ge))}function xn(e){return ae(e=q(e),"iterate",jt),e}const No={__proto__:null,[Symbol.iterator](){return Nn(this,Symbol.iterator,ge)},concat(...e){return dt(this).concat(...e.map(t=>L(t)?dt(t):t))},entries(){return Nn(this,"entries",e=>(e[1]=ge(e[1]),e))},every(e,t){return He(this,"every",e,t,void 0,arguments)},filter(e,t){return He(this,"filter",e,t,n=>n.map(ge),arguments)},find(e,t){return He(this,"find",e,t,ge,arguments)},findIndex(e,t){return He(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return He(this,"findLast",e,t,ge,arguments)},findLastIndex(e,t){return He(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return He(this,"forEach",e,t,void 0,arguments)},includes(...e){return Rn(this,"includes",e)},indexOf(...e){return Rn(this,"indexOf",e)},join(e){return dt(this).join(e)},lastIndexOf(...e){return Rn(this,"lastIndexOf",e)},map(e,t){return He(this,"map",e,t,void 0,arguments)},pop(){return Ct(this,"pop")},push(...e){return Ct(this,"push",e)},reduce(e,...t){return Qs(this,"reduce",e,t)},reduceRight(e,...t){return Qs(this,"reduceRight",e,t)},shift(){return Ct(this,"shift")},some(e,t){return He(this,"some",e,t,void 0,arguments)},splice(...e){return Ct(this,"splice",e)},toReversed(){return dt(this).toReversed()},toSorted(e){return dt(this).toSorted(e)},toSpliced(...e){return dt(this).toSpliced(...e)},unshift(...e){return Ct(this,"unshift",e)},values(){return Nn(this,"values",ge)}};function Nn(e,t,n){const s=xn(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const Ro=Array.prototype;function He(e,t,n,s,r,i){const o=xn(e),l=o!==e&&!Pe(e),c=o[t];if(c!==Ro[t]){const h=c.apply(e,i);return l?ge(h):h}let u=n;o!==e&&(l?u=function(h,g){return n.call(this,ge(h),g,e)}:n.length>2&&(u=function(h,g){return n.call(this,h,g,e)}));const a=c.call(o,u,s);return l&&r?r(a):a}function Qs(e,t,n,s){const r=xn(e);let i=n;return r!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ge(l),c,e)}),r[t](i,...s)}function Rn(e,t,n){const s=q(e);ae(s,"iterate",jt);const r=s[t](...n);return(r===-1||r===!1)&&Ps(n[0])?(n[0]=q(n[0]),s[t](...n)):r}function Ct(e,t,n=[]){Ye(),Cs();const s=q(e)[t].apply(e,n);return Ts(),Xe(),s}const jo=_s("__proto__,__v_isRef,__isVue"),oi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Je));function Ho(e){Je(e)||(e=String(e));const t=q(this);return ae(t,"has",e),t.hasOwnProperty(e)}class li{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?zo:ui:i?ai:fi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=L(t);if(!r){let c;if(o&&(c=No[n]))return c;if(n==="hasOwnProperty")return Ho}const l=Reflect.get(t,n,pe(t)?t:s);return(Je(n)?oi.has(n):jo(n))||(r||ae(t,"get",n),i)?l:pe(l)?o&&ws(n)?l:l.value:X(l)?r?di(l):As(l):l}}class ci extends li{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=vt(i);if(!Pe(s)&&!vt(s)&&(i=q(i),s=q(s)),!L(t)&&pe(i)&&!pe(s))return c?!1:(i.value=s,!0)}const o=L(t)&&ws(n)?Number(n)e,Qt=e=>Reflect.getPrototypeOf(e);function Uo(e,t,n){return function(...s){const r=this.__v_raw,i=q(r),o=mt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),a=n?ts:t?ns:ge;return!t&&ae(i,"iterate",c?es:ft),{next(){const{value:h,done:g}=u.next();return g?{value:h,done:g}:{value:l?[a(h[0]),a(h[1])]:a(h),done:g}},[Symbol.iterator](){return this}}}}function Jt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ko(e,t){const n={get(r){const i=this.__v_raw,o=q(i),l=q(r);e||(ct(r,l)&&ae(o,"get",r),ae(o,"get",l));const{has:c}=Qt(o),u=t?ts:e?ns:ge;if(c.call(o,r))return u(i.get(r));if(c.call(o,l))return u(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ae(q(r),"iterate",ft),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=q(i),l=q(r);return e||(ct(r,l)&&ae(o,"has",r),ae(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=q(l),u=t?ts:e?ns:ge;return!e&&ae(c,"iterate",ft),l.forEach((a,h)=>r.call(i,u(a),u(h),o))}};return re(n,e?{add:Jt("add"),set:Jt("set"),delete:Jt("delete"),clear:Jt("clear")}:{add(r){!t&&!Pe(r)&&!vt(r)&&(r=q(r));const i=q(this);return Qt(i).has.call(i,r)||(i.add(r),Be(i,"add",r,r)),this},set(r,i){!t&&!Pe(i)&&!vt(i)&&(i=q(i));const o=q(this),{has:l,get:c}=Qt(o);let u=l.call(o,r);u||(r=q(r),u=l.call(o,r));const a=c.call(o,r);return o.set(r,i),u?ct(i,a)&&Be(o,"set",r,i):Be(o,"add",r,i),this},delete(r){const i=q(this),{has:o,get:l}=Qt(i);let c=o.call(i,r);c||(r=q(r),c=o.call(i,r)),l&&l.call(i,r);const u=i.delete(r);return c&&Be(i,"delete",r,void 0),u},clear(){const r=q(this),i=r.size!==0,o=r.clear();return i&&Be(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Uo(r,e,t)}),n}function Es(e,t){const n=Ko(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(K(n,r)&&r in s?n:s,r,i)}const Wo={get:Es(!1,!1)},qo={get:Es(!1,!0)},Go={get:Es(!0,!1)};const fi=new WeakMap,ai=new WeakMap,ui=new WeakMap,zo=new WeakMap;function Qo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Jo(e){return e.__v_skip||!Object.isExtensible(e)?0:Qo(xo(e))}function As(e){return vt(e)?e:Os(e,!1,Vo,Wo,fi)}function Yo(e){return Os(e,!1,$o,qo,ai)}function di(e){return Os(e,!0,Bo,Go,ui)}function Os(e,t,n,s,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Jo(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function yt(e){return vt(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Ps(e){return e?!!e.__v_raw:!1}function q(e){const t=e&&e.__v_raw;return t?q(t):e}function Xo(e){return!K(e,"__v_skip")&&Object.isExtensible(e)&&Gr(e,"__v_skip",!0),e}const ge=e=>X(e)?As(e):e,ns=e=>X(e)?di(e):e;function pe(e){return e?e.__v_isRef===!0:!1}function Zo(e){return pe(e)?e.value:e}const el={get:(e,t,n)=>t==="__v_raw"?e:Zo(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return pe(r)&&!pe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function hi(e){return yt(e)?e:new Proxy(e,el)}class tl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ri(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Rt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Y!==this)return Zr(this,!0),!0}get value(){const t=this.dep.track();return ni(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function nl(e,t,n=!1){let s,r;return R(e)?s=e:(s=e.get,r=e.set),new tl(s,r,n)}const Yt={},cn=new WeakMap;let ot;function sl(e,t=!1,n=ot){if(n){let s=cn.get(n);s||cn.set(n,s=[]),s.push(e)}}function rl(e,t,n=z){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,u=T=>r?T:Pe(T)||r===!1||r===0?$e(T,1):$e(T);let a,h,g,v,P=!1,E=!1;if(pe(e)?(h=()=>e.value,P=Pe(e)):yt(e)?(h=()=>u(e),P=!0):L(e)?(E=!0,P=e.some(T=>yt(T)||Pe(T)),h=()=>e.map(T=>{if(pe(T))return T.value;if(yt(T))return u(T);if(R(T))return c?c(T,2):T()})):R(e)?t?h=c?()=>c(e,2):e:h=()=>{if(g){Ye();try{g()}finally{Xe()}}const T=ot;ot=a;try{return c?c(e,3,[v]):e(v)}finally{ot=T}}:h=je,t&&r){const T=h,U=r===!0?1/0:r;h=()=>$e(T(),U)}const I=Lo(),H=()=>{a.stop(),I&&xs(I.effects,a)};if(i&&t){const T=t;t=(...U)=>{T(...U),H()}}let B=E?new Array(e.length).fill(Yt):Yt;const k=T=>{if(!(!(a.flags&1)||!a.dirty&&!T))if(t){const U=a.run();if(r||P||(E?U.some((N,G)=>ct(N,B[G])):ct(U,B))){g&&g();const N=ot;ot=a;try{const G=[U,B===Yt?void 0:E&&B[0]===Yt?[]:B,v];c?c(t,3,G):t(...G),B=U}finally{ot=N}}}else a.run()};return l&&l(k),a=new Yr(h),a.scheduler=o?()=>o(k,!1):k,v=T=>sl(T,!1,a),g=a.onStop=()=>{const T=cn.get(a);if(T){if(c)c(T,4);else for(const U of T)U();cn.delete(a)}},t?s?k(!0):B=a.run():o?o(k.bind(null,!0),!0):a.run(),H.pause=a.pause.bind(a),H.resume=a.resume.bind(a),H.stop=H,H}function $e(e,t=1/0,n){if(t<=0||!X(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,pe(e))$e(e.value,t,n);else if(L(e))for(let s=0;s{$e(s,t,n)});else if(qr(e)){for(const s in e)$e(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&$e(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Wt(e,t,n,s){try{return s?e(...s):e()}catch(r){wn(r,t,n)}}function Me(e,t,n,s){if(R(e)){const r=Wt(e,t,n,s);return r&&Kr(r)&&r.catch(i=>{wn(i,t,n)}),r}if(L(e)){const r=[];for(let i=0;i>>1,r=he[s],i=Ht(r);i=Ht(n)?he.push(e):he.splice(ll(t),0,e),e.flags|=1,gi()}}function gi(){fn||(fn=pi.then(yi))}function cl(e){L(e)?bt.push(...e):qe&&e.id===-1?qe.splice(ht+1,0,e):e.flags&1||(bt.push(e),e.flags|=1),gi()}function Js(e,t,n=Ne+1){for(;nHt(n)-Ht(s));if(bt.length=0,qe){qe.push(...t);return}for(qe=t,ht=0;hte.id==null?e.flags&2?-1:1/0:e.id;function yi(e){try{for(Ne=0;Ne{s._d&&or(-1);const i=an(t);let o;try{o=e(...r)}finally{an(i),s._d&&or(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function fl(e,t){if(ye===null)return e;const n=En(ye),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Ge=Symbol("_leaveCb"),Xt=Symbol("_enterCb");function ul(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ai(()=>{e.isMounted=!0}),Oi(()=>{e.isUnmounting=!0}),e}const Te=[Function,Array],xi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Te,onEnter:Te,onAfterEnter:Te,onEnterCancelled:Te,onBeforeLeave:Te,onLeave:Te,onAfterLeave:Te,onLeaveCancelled:Te,onBeforeAppear:Te,onAppear:Te,onAfterAppear:Te,onAppearCancelled:Te},wi=e=>{const t=e.subTree;return t.component?wi(t.component):t},dl={name:"BaseTransition",props:xi,setup(e,{slots:t}){const n=uc(),s=ul();return()=>{const r=t.default&&Ti(t.default(),!0);if(!r||!r.length)return;const i=Ci(r),o=q(e),{mode:l}=o;if(s.isLeaving)return jn(i);const c=Ys(i);if(!c)return jn(i);let u=ss(c,o,s,n,g=>u=g);c.type!==me&&kt(c,u);const a=n.subTree,h=a&&Ys(a);if(h&&h.type!==me&&!lt(c,h)&&wi(n).type!==me){const g=ss(h,o,s,n);if(kt(h,g),l==="out-in"&&c.type!==me)return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete g.afterLeave},jn(i);l==="in-out"&&c.type!==me&&(g.delayLeave=(v,P,E)=>{const I=Si(s,h);I[String(h.key)]=h,v[Ge]=()=>{P(),v[Ge]=void 0,delete u.delayedLeave},u.delayedLeave=E})}return i}}};function Ci(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==me){t=n;break}}return t}const hl=dl;function Si(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ss(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:g,onLeave:v,onAfterLeave:P,onLeaveCancelled:E,onBeforeAppear:I,onAppear:H,onAfterAppear:B,onAppearCancelled:k}=t,T=String(e.key),U=Si(n,e),N=(j,V)=>{j&&Me(j,s,9,V)},G=(j,V)=>{const ee=V[1];N(j,V),L(j)?j.every(A=>A.length<=1)&&ee():j.length<=1&&ee()},se={mode:o,persisted:l,beforeEnter(j){let V=c;if(!n.isMounted)if(i)V=I||c;else return;j[Ge]&&j[Ge](!0);const ee=U[T];ee&<(e,ee)&&ee.el[Ge]&&ee.el[Ge](),N(V,[j])},enter(j){let V=u,ee=a,A=h;if(!n.isMounted)if(i)V=H||u,ee=B||a,A=k||h;else return;let Z=!1;const ce=j[Xt]=Ze=>{Z||(Z=!0,Ze?N(A,[j]):N(ee,[j]),se.delayedLeave&&se.delayedLeave(),j[Xt]=void 0)};V?G(V,[j,ce]):ce()},leave(j,V){const ee=String(e.key);if(j[Xt]&&j[Xt](!0),n.isUnmounting)return V();N(g,[j]);let A=!1;const Z=j[Ge]=ce=>{A||(A=!0,V(),ce?N(E,[j]):N(P,[j]),j[Ge]=void 0,U[ee]===e&&delete U[ee])};U[ee]=e,v?G(v,[j,Z]):Z()},clone(j){const V=ss(j,t,n,s,r);return r&&r(V),V}};return se}function jn(e){if(Cn(e))return e=Qe(e),e.children=null,e}function Ys(e){if(!Cn(e))return vi(e.type)&&e.children?Ci(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&R(n.default))return n.default()}}function kt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,kt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ti(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;irs(P,t&&(L(t)?t[E]:t),n,s,r));return}if(Lt(s)&&!r)return;const i=s.shapeFlag&4?En(s.component):s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===z?l.refs={}:l.refs,h=l.setupState,g=q(h),v=h===z?()=>!1:P=>K(g,P);if(u!=null&&u!==c&&(ne(u)?(a[u]=null,v(u)&&(h[u]=null)):pe(u)&&(u.value=null)),R(c))Wt(c,l,12,[o,a]);else{const P=ne(c),E=pe(c);if(P||E){const I=()=>{if(e.f){const H=P?v(c)?h[c]:a[c]:c.value;r?L(H)&&xs(H,i):L(H)?H.includes(i)||H.push(i):P?(a[c]=[i],v(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else P?(a[c]=o,v(c)&&(h[c]=o)):E&&(c.value=o,e.k&&(a[e.k]=o))};o?(I.id=-1,xe(I,n)):I()}}}_n().requestIdleCallback;_n().cancelIdleCallback;const Lt=e=>!!e.type.__asyncLoader,Cn=e=>e.type.__isKeepAlive;function gl(e,t){Ei(e,"a",t)}function ml(e,t){Ei(e,"da",t)}function Ei(e,t,n=le){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Sn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Cn(r.parent.vnode)&&yl(s,t,n,r),r=r.parent}}function yl(e,t,n,s){const r=Sn(t,e,s,!0);Pi(()=>{xs(s[t],r)},n)}function Sn(e,t,n=le,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ye();const l=qt(n),c=Me(t,n,e,o);return l(),Xe(),c});return s?r.unshift(i):r.push(i),i}}const Ue=e=>(t,n=le)=>{(!Bt||e==="sp")&&Sn(e,(...s)=>t(...s),n)},bl=Ue("bm"),Ai=Ue("m"),_l=Ue("bu"),vl=Ue("u"),Oi=Ue("bum"),Pi=Ue("um"),xl=Ue("sp"),wl=Ue("rtg"),Cl=Ue("rtc");function Sl(e,t=le){Sn("ec",e,t)}const Tl="components";function Il(e,t){return Al(Tl,e,!0,t)||e}const El=Symbol.for("v-ndc");function Al(e,t,n=!0,s=!1){const r=ye||le;if(r){const i=r.type;{const l=mc(i,!1);if(l&&(l===t||l===Ie(t)||l===bn(Ie(t))))return i}const o=Xs(r[e]||i[e],t)||Xs(r.appContext[e],t);return!o&&s?i:o}}function Xs(e,t){return e&&(e[t]||e[Ie(t)]||e[bn(Ie(t))])}function Hn(e,t,n,s){let r;const i=n,o=L(e);if(o||ne(e)){const l=o&&yt(e);let c=!1;l&&(c=!Pe(e),e=xn(e)),r=new Array(e.length);for(let u=0,a=e.length;ut(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;ce?Yi(e)?En(e):is(e.parent):null,Ft=re(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>is(e.parent),$root:e=>is(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ls(e),$forceUpdate:e=>e.f||(e.f=()=>{Ms(e.update)}),$nextTick:e=>e.n||(e.n=ol.bind(e.proxy)),$watch:e=>Jl.bind(e)}),kn=(e,t)=>e!==z&&!e.__isScriptSetup&&K(e,t),Ol={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(kn(s,t))return o[t]=1,s[t];if(r!==z&&K(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&K(u,t))return o[t]=3,i[t];if(n!==z&&K(n,t))return o[t]=4,n[t];os&&(o[t]=0)}}const a=Ft[t];let h,g;if(a)return t==="$attrs"&&ae(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==z&&K(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,K(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return kn(r,t)?(r[t]=n,!0):s!==z&&K(s,t)?(s[t]=n,!0):K(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==z&&K(e,o)||kn(t,o)||(l=i[0])&&K(l,o)||K(s,o)||K(Ft,o)||K(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:K(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Zs(e){return L(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let os=!0;function Pl(e){const t=Ls(e),n=e.proxy,s=e.ctx;os=!1,t.beforeCreate&&er(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:a,beforeMount:h,mounted:g,beforeUpdate:v,updated:P,activated:E,deactivated:I,beforeDestroy:H,beforeUnmount:B,destroyed:k,unmounted:T,render:U,renderTracked:N,renderTriggered:G,errorCaptured:se,serverPrefetch:j,expose:V,inheritAttrs:ee,components:A,directives:Z,filters:ce}=t;if(u&&Ml(u,s,null),o)for(const te in o){const Q=o[te];R(Q)&&(s[te]=Q.bind(n))}if(r){const te=r.call(n,n);X(te)&&(e.data=As(te))}if(os=!0,i)for(const te in i){const Q=i[te],et=R(Q)?Q.bind(n,n):R(Q.get)?Q.get.bind(n,n):je,Gt=!R(Q)&&R(Q.set)?Q.set.bind(n):je,tt=bc({get:et,set:Gt});Object.defineProperty(s,te,{enumerable:!0,configurable:!0,get:()=>tt.value,set:Le=>tt.value=Le})}if(l)for(const te in l)Mi(l[te],s,n,te);if(c){const te=R(c)?c.call(n):c;Reflect.ownKeys(te).forEach(Q=>{jl(Q,te[Q])})}a&&er(a,e,"c");function oe(te,Q){L(Q)?Q.forEach(et=>te(et.bind(n))):Q&&te(Q.bind(n))}if(oe(bl,h),oe(Ai,g),oe(_l,v),oe(vl,P),oe(gl,E),oe(ml,I),oe(Sl,se),oe(Cl,N),oe(wl,G),oe(Oi,B),oe(Pi,T),oe(xl,j),L(V))if(V.length){const te=e.exposed||(e.exposed={});V.forEach(Q=>{Object.defineProperty(te,Q,{get:()=>n[Q],set:et=>n[Q]=et})})}else e.exposed||(e.exposed={});U&&e.render===je&&(e.render=U),ee!=null&&(e.inheritAttrs=ee),A&&(e.components=A),Z&&(e.directives=Z),j&&Ii(e)}function Ml(e,t,n=je){L(e)&&(e=ls(e));for(const s in e){const r=e[s];let i;X(r)?"default"in r?i=tn(r.from||s,r.default,!0):i=tn(r.from||s):i=tn(r),pe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function er(e,t,n){Me(L(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mi(e,t,n,s){let r=s.includes(".")?Wi(n,s):()=>n[s];if(ne(e)){const i=t[e];R(i)&&Bn(r,i)}else if(R(e))Bn(r,e.bind(n));else if(X(e))if(L(e))e.forEach(i=>Mi(i,t,n,s));else{const i=R(e.handler)?e.handler.bind(n):t[e.handler];R(i)&&Bn(r,i,e)}}function Ls(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>un(c,u,o,!0)),un(c,t,o)),X(t)&&i.set(t,c),c}function un(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&un(e,i,n,!0),r&&r.forEach(o=>un(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Ll[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ll={data:tr,props:nr,emits:nr,methods:Et,computed:Et,beforeCreate:de,created:de,beforeMount:de,mounted:de,beforeUpdate:de,updated:de,beforeDestroy:de,beforeUnmount:de,destroyed:de,unmounted:de,activated:de,deactivated:de,errorCaptured:de,serverPrefetch:de,components:Et,directives:Et,watch:Dl,provide:tr,inject:Fl};function tr(e,t){return t?e?function(){return re(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function Fl(e,t){return Et(ls(e),ls(t))}function ls(e){if(L(e)){const t={};for(let n=0;n1)return n&&R(t)?t.call(s&&s.proxy):t}}const Fi={},Di=()=>Object.create(Fi),Ni=e=>Object.getPrototypeOf(e)===Fi;function Hl(e,t,n,s=!1){const r={},i=Di();e.propsDefaults=Object.create(null),Ri(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Yo(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function kl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=q(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[g,v]=ji(h,t,!0);re(o,g),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return X(e)&&s.set(e,gt),gt;if(L(i))for(let a=0;ae[0]==="_"||e==="$stable",Fs=e=>L(e)?e.map(Re):[Re(e)],Bl=(e,t,n)=>{if(t._n)return t;const s=_i((...r)=>Fs(t(...r)),n);return s._c=!1,s},ki=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Hi(r))continue;const i=e[r];if(R(i))t[r]=Bl(r,i,s);else if(i!=null){const o=Fs(i);t[r]=()=>o}}},Vi=(e,t)=>{const n=Fs(t);e.slots.default=()=>n},Bi=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},$l=(e,t,n)=>{const s=e.slots=Di();if(e.vnode.shapeFlag&32){const r=t._;r?(Bi(s,t,n),n&&Gr(s,"_",r,!0)):ki(t,s)}else t&&Vi(e,t)},Ul=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=z;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Bi(r,t,n):(i=!t.$stable,ki(t,r)),o=t}else t&&(Vi(e,t),o={default:1});if(i)for(const l in r)!Hi(l)&&o[l]==null&&delete r[l]},xe=sc;function Kl(e){return Wl(e)}function Wl(e,t){const n=_n();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:a,parentNode:h,nextSibling:g,setScopeId:v=je,insertStaticContent:P}=e,E=(f,d,p,b=null,m=null,y=null,C=void 0,w=null,x=!!d.dynamicChildren)=>{if(f===d)return;f&&!lt(f,d)&&(b=zt(f),Le(f,m,y,!0),f=null),d.patchFlag===-2&&(x=!1,d.dynamicChildren=null);const{type:_,ref:M,shapeFlag:S}=d;switch(_){case In:I(f,d,p,b);break;case me:H(f,d,p,b);break;case Un:f==null&&B(d,p,b,C);break;case Ce:A(f,d,p,b,m,y,C,w,x);break;default:S&1?U(f,d,p,b,m,y,C,w,x):S&6?Z(f,d,p,b,m,y,C,w,x):(S&64||S&128)&&_.process(f,d,p,b,m,y,C,w,x,wt)}M!=null&&m&&rs(M,f&&f.ref,y,d||f,!d)},I=(f,d,p,b)=>{if(f==null)s(d.el=l(d.children),p,b);else{const m=d.el=f.el;d.children!==f.children&&u(m,d.children)}},H=(f,d,p,b)=>{f==null?s(d.el=c(d.children||""),p,b):d.el=f.el},B=(f,d,p,b)=>{[f.el,f.anchor]=P(f.children,d,p,b,f.el,f.anchor)},k=({el:f,anchor:d},p,b)=>{let m;for(;f&&f!==d;)m=g(f),s(f,p,b),f=m;s(d,p,b)},T=({el:f,anchor:d})=>{let p;for(;f&&f!==d;)p=g(f),r(f),f=p;r(d)},U=(f,d,p,b,m,y,C,w,x)=>{d.type==="svg"?C="svg":d.type==="math"&&(C="mathml"),f==null?N(d,p,b,m,y,C,w,x):j(f,d,m,y,C,w,x)},N=(f,d,p,b,m,y,C,w)=>{let x,_;const{props:M,shapeFlag:S,transition:O,dirs:D}=f;if(x=f.el=o(f.type,y,M&&M.is,M),S&8?a(x,f.children):S&16&&se(f.children,x,null,b,m,Vn(f,y),C,w),D&&nt(f,null,b,"created"),G(x,f,f.scopeId,C,b),M){for(const J in M)J!=="value"&&!Ot(J)&&i(x,J,null,M[J],y,b);"value"in M&&i(x,"value",null,M.value,y),(_=M.onVnodeBeforeMount)&&De(_,b,f)}D&&nt(f,null,b,"beforeMount");const $=ql(m,O);$&&O.beforeEnter(x),s(x,d,p),((_=M&&M.onVnodeMounted)||$||D)&&xe(()=>{_&&De(_,b,f),$&&O.enter(x),D&&nt(f,null,b,"mounted")},m)},G=(f,d,p,b,m)=>{if(p&&v(f,p),b)for(let y=0;y{for(let _=x;_{const w=d.el=f.el;let{patchFlag:x,dynamicChildren:_,dirs:M}=d;x|=f.patchFlag&16;const S=f.props||z,O=d.props||z;let D;if(p&&st(p,!1),(D=O.onVnodeBeforeUpdate)&&De(D,p,d,f),M&&nt(d,f,p,"beforeUpdate"),p&&st(p,!0),(S.innerHTML&&O.innerHTML==null||S.textContent&&O.textContent==null)&&a(w,""),_?V(f.dynamicChildren,_,w,p,b,Vn(d,m),y):C||Q(f,d,w,null,p,b,Vn(d,m),y,!1),x>0){if(x&16)ee(w,S,O,p,m);else if(x&2&&S.class!==O.class&&i(w,"class",null,O.class,m),x&4&&i(w,"style",S.style,O.style,m),x&8){const $=d.dynamicProps;for(let J=0;J<$.length;J++){const W=$[J],be=S[W],fe=O[W];(fe!==be||W==="value")&&i(w,W,be,fe,m,p)}}x&1&&f.children!==d.children&&a(w,d.children)}else!C&&_==null&&ee(w,S,O,p,m);((D=O.onVnodeUpdated)||M)&&xe(()=>{D&&De(D,p,d,f),M&&nt(d,f,p,"updated")},b)},V=(f,d,p,b,m,y,C)=>{for(let w=0;w{if(d!==p){if(d!==z)for(const y in d)!Ot(y)&&!(y in p)&&i(f,y,d[y],null,m,b);for(const y in p){if(Ot(y))continue;const C=p[y],w=d[y];C!==w&&y!=="value"&&i(f,y,w,C,m,b)}"value"in p&&i(f,"value",d.value,p.value,m)}},A=(f,d,p,b,m,y,C,w,x)=>{const _=d.el=f?f.el:l(""),M=d.anchor=f?f.anchor:l("");let{patchFlag:S,dynamicChildren:O,slotScopeIds:D}=d;D&&(w=w?w.concat(D):D),f==null?(s(_,p,b),s(M,p,b),se(d.children||[],p,M,m,y,C,w,x)):S>0&&S&64&&O&&f.dynamicChildren?(V(f.dynamicChildren,O,p,m,y,C,w),(d.key!=null||m&&d===m.subTree)&&$i(f,d,!0)):Q(f,d,p,M,m,y,C,w,x)},Z=(f,d,p,b,m,y,C,w,x)=>{d.slotScopeIds=w,f==null?d.shapeFlag&512?m.ctx.activate(d,p,b,C,x):ce(d,p,b,m,y,C,x):Ze(f,d,x)},ce=(f,d,p,b,m,y,C)=>{const w=f.component=ac(f,b,m);if(Cn(f)&&(w.ctx.renderer=wt),dc(w,!1,C),w.asyncDep){if(m&&m.registerDep(w,oe,C),!f.el){const x=w.subTree=ie(me);H(null,x,d,p)}}else oe(w,f,d,p,m,y,C)},Ze=(f,d,p)=>{const b=d.component=f.component;if(tc(f,d,p))if(b.asyncDep&&!b.asyncResolved){te(b,d,p);return}else b.next=d,b.update();else d.el=f.el,b.vnode=d},oe=(f,d,p,b,m,y,C)=>{const w=()=>{if(f.isMounted){let{next:S,bu:O,u:D,parent:$,vnode:J}=f;{const _e=Ui(f);if(_e){S&&(S.el=J.el,te(f,S,C)),_e.asyncDep.then(()=>{f.isUnmounted||w()});return}}let W=S,be;st(f,!1),S?(S.el=J.el,te(f,S,C)):S=J,O&&en(O),(be=S.props&&S.props.onVnodeBeforeUpdate)&&De(be,$,S,J),st(f,!0);const fe=$n(f),Ee=f.subTree;f.subTree=fe,E(Ee,fe,h(Ee.el),zt(Ee),f,m,y),S.el=fe.el,W===null&&nc(f,fe.el),D&&xe(D,m),(be=S.props&&S.props.onVnodeUpdated)&&xe(()=>De(be,$,S,J),m)}else{let S;const{el:O,props:D}=d,{bm:$,m:J,parent:W,root:be,type:fe}=f,Ee=Lt(d);if(st(f,!1),$&&en($),!Ee&&(S=D&&D.onVnodeBeforeMount)&&De(S,W,d),st(f,!0),O&&Ks){const _e=()=>{f.subTree=$n(f),Ks(O,f.subTree,f,m,null)};Ee&&fe.__asyncHydrate?fe.__asyncHydrate(O,f,_e):_e()}else{be.ce&&be.ce._injectChildStyle(fe);const _e=f.subTree=$n(f);E(null,_e,p,b,f,m,y),d.el=_e.el}if(J&&xe(J,m),!Ee&&(S=D&&D.onVnodeMounted)){const _e=d;xe(()=>De(S,W,_e),m)}(d.shapeFlag&256||W&&Lt(W.vnode)&&W.vnode.shapeFlag&256)&&f.a&&xe(f.a,m),f.isMounted=!0,d=p=b=null}};f.scope.on();const x=f.effect=new Yr(w);f.scope.off();const _=f.update=x.run.bind(x),M=f.job=x.runIfDirty.bind(x);M.i=f,M.id=f.uid,x.scheduler=()=>Ms(M),st(f,!0),_()},te=(f,d,p)=>{d.component=f;const b=f.vnode.props;f.vnode=d,f.next=null,kl(f,d.props,b,p),Ul(f,d.children,p),Ye(),Js(f),Xe()},Q=(f,d,p,b,m,y,C,w,x=!1)=>{const _=f&&f.children,M=f?f.shapeFlag:0,S=d.children,{patchFlag:O,shapeFlag:D}=d;if(O>0){if(O&128){Gt(_,S,p,b,m,y,C,w,x);return}else if(O&256){et(_,S,p,b,m,y,C,w,x);return}}D&8?(M&16&&xt(_,m,y),S!==_&&a(p,S)):M&16?D&16?Gt(_,S,p,b,m,y,C,w,x):xt(_,m,y,!0):(M&8&&a(p,""),D&16&&se(S,p,b,m,y,C,w,x))},et=(f,d,p,b,m,y,C,w,x)=>{f=f||gt,d=d||gt;const _=f.length,M=d.length,S=Math.min(_,M);let O;for(O=0;OM?xt(f,m,y,!0,!1,S):se(d,p,b,m,y,C,w,x,S)},Gt=(f,d,p,b,m,y,C,w,x)=>{let _=0;const M=d.length;let S=f.length-1,O=M-1;for(;_<=S&&_<=O;){const D=f[_],$=d[_]=x?ze(d[_]):Re(d[_]);if(lt(D,$))E(D,$,p,null,m,y,C,w,x);else break;_++}for(;_<=S&&_<=O;){const D=f[S],$=d[O]=x?ze(d[O]):Re(d[O]);if(lt(D,$))E(D,$,p,null,m,y,C,w,x);else break;S--,O--}if(_>S){if(_<=O){const D=O+1,$=DO)for(;_<=S;)Le(f[_],m,y,!0),_++;else{const D=_,$=_,J=new Map;for(_=$;_<=O;_++){const ve=d[_]=x?ze(d[_]):Re(d[_]);ve.key!=null&&J.set(ve.key,_)}let W,be=0;const fe=O-$+1;let Ee=!1,_e=0;const Ct=new Array(fe);for(_=0;_=fe){Le(ve,m,y,!0);continue}let Fe;if(ve.key!=null)Fe=J.get(ve.key);else for(W=$;W<=O;W++)if(Ct[W-$]===0&<(ve,d[W])){Fe=W;break}Fe===void 0?Le(ve,m,y,!0):(Ct[Fe-$]=_+1,Fe>=_e?_e=Fe:Ee=!0,E(ve,d[Fe],p,null,m,y,C,w,x),be++)}const Ws=Ee?Gl(Ct):gt;for(W=Ws.length-1,_=fe-1;_>=0;_--){const ve=$+_,Fe=d[ve],qs=ve+1{const{el:y,type:C,transition:w,children:x,shapeFlag:_}=f;if(_&6){tt(f.component.subTree,d,p,b);return}if(_&128){f.suspense.move(d,p,b);return}if(_&64){C.move(f,d,p,wt);return}if(C===Ce){s(y,d,p);for(let S=0;Sw.enter(y),m);else{const{leave:S,delayLeave:O,afterLeave:D}=w,$=()=>s(y,d,p),J=()=>{S(y,()=>{$(),D&&D()})};O?O(y,$,J):J()}else s(y,d,p)},Le=(f,d,p,b=!1,m=!1)=>{const{type:y,props:C,ref:w,children:x,dynamicChildren:_,shapeFlag:M,patchFlag:S,dirs:O,cacheIndex:D}=f;if(S===-2&&(m=!1),w!=null&&rs(w,null,p,f,!0),D!=null&&(d.renderCache[D]=void 0),M&256){d.ctx.deactivate(f);return}const $=M&1&&O,J=!Lt(f);let W;if(J&&(W=C&&C.onVnodeBeforeUnmount)&&De(W,d,f),M&6)bo(f.component,p,b);else{if(M&128){f.suspense.unmount(p,b);return}$&&nt(f,null,d,"beforeUnmount"),M&64?f.type.remove(f,d,p,wt,b):_&&!_.hasOnce&&(y!==Ce||S>0&&S&64)?xt(_,d,p,!1,!0):(y===Ce&&S&384||!m&&M&16)&&xt(x,d,p),b&&Bs(f)}(J&&(W=C&&C.onVnodeUnmounted)||$)&&xe(()=>{W&&De(W,d,f),$&&nt(f,null,d,"unmounted")},p)},Bs=f=>{const{type:d,el:p,anchor:b,transition:m}=f;if(d===Ce){yo(p,b);return}if(d===Un){T(f);return}const y=()=>{r(p),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(f.shapeFlag&1&&m&&!m.persisted){const{leave:C,delayLeave:w}=m,x=()=>C(p,y);w?w(f.el,y,x):x()}else y()},yo=(f,d)=>{let p;for(;f!==d;)p=g(f),r(f),f=p;r(d)},bo=(f,d,p)=>{const{bum:b,scope:m,job:y,subTree:C,um:w,m:x,a:_}=f;rr(x),rr(_),b&&en(b),m.stop(),y&&(y.flags|=8,Le(C,f,d,p)),w&&xe(w,d),xe(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},xt=(f,d,p,b=!1,m=!1,y=0)=>{for(let C=y;C{if(f.shapeFlag&6)return zt(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const d=g(f.anchor||f.el),p=d&&d[al];return p?g(p):d};let Mn=!1;const $s=(f,d,p)=>{f==null?d._vnode&&Le(d._vnode,null,null,!0):E(d._vnode||null,f,d,null,null,null,p),d._vnode=f,Mn||(Mn=!0,Js(),mi(),Mn=!1)},wt={p:E,um:Le,m:tt,r:Bs,mt:ce,mc:se,pc:Q,pbc:V,n:zt,o:e};let Us,Ks;return{render:$s,hydrate:Us,createApp:Rl($s,Us)}}function Vn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function st({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ql(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $i(e,t,n=!1){const s=e.children,r=t.children;if(L(s)&&L(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Ui(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ui(t)}function rr(e){if(e)for(let t=0;ttn(zl);function Bn(e,t,n){return Ki(e,t,n)}function Ki(e,t,n=z){const{immediate:s,deep:r,flush:i,once:o}=n,l=re({},n),c=t&&s||!t&&i!=="post";let u;if(Bt){if(i==="sync"){const v=Ql();u=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=je,v.resume=je,v.pause=je,v}}const a=le;l.call=(v,P,E)=>Me(v,a,P,E);let h=!1;i==="post"?l.scheduler=v=>{xe(v,a&&a.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(v,P)=>{P?v():Ms(v)}),l.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const g=rl(e,t,l);return Bt&&(u?u.push(g):c&&g()),g}function Jl(e,t,n){const s=this.proxy,r=ne(e)?e.includes(".")?Wi(s,e):()=>s[e]:e.bind(s,s);let i;R(t)?i=t:(i=t.handler,n=t);const o=qt(this),l=Ki(r,i.bind(s),n);return o(),l}function Wi(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ie(t)}Modifiers`]||e[`${ut(t)}Modifiers`];function Xl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||z;let r=n;const i=t.startsWith("update:"),o=i&&Yl(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>ne(a)?a.trim():a)),o.number&&(r=n.map(Yn)));let l,c=s[l=Ln(t)]||s[l=Ln(Ie(t))];!c&&i&&(c=s[l=Ln(ut(t))]),c&&Me(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Me(u,e,6,r)}}function qi(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!R(e)){const c=u=>{const a=qi(u,t,!0);a&&(l=!0,re(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(X(e)&&s.set(e,null),null):(L(i)?i.forEach(c=>o[c]=null):re(o,i),X(e)&&s.set(e,o),o)}function Tn(e,t){return!e||!gn(t)?!1:(t=t.slice(2).replace(/Once$/,""),K(e,t[0].toLowerCase()+t.slice(1))||K(e,ut(t))||K(e,t))}function $n(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:a,props:h,data:g,setupState:v,ctx:P,inheritAttrs:E}=e,I=an(e);let H,B;try{if(n.shapeFlag&4){const T=r||s,U=T;H=Re(u.call(U,T,a,h,v,g,P)),B=l}else{const T=t;H=Re(T.length>1?T(h,{attrs:l,slots:o,emit:c}):T(h,null)),B=t.props?l:Zl(l)}}catch(T){Dt.length=0,wn(T,e,1),H=ie(me)}let k=H;if(B&&E!==!1){const T=Object.keys(B),{shapeFlag:U}=k;T.length&&U&7&&(i&&T.some(vs)&&(B=ec(B,i)),k=Qe(k,B,!1,!0))}return n.dirs&&(k=Qe(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&kt(k,n.transition),H=k,an(I),H}const Zl=e=>{let t;for(const n in e)(n==="class"||n==="style"||gn(n))&&((t||(t={}))[n]=e[n]);return t},ec=(e,t)=>{const n={};for(const s in e)(!vs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function tc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ir(s,o,u):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function sc(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):cl(e)}const Ce=Symbol.for("v-fgt"),In=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),Un=Symbol.for("v-stc"),Dt=[];let Se=null;function Ae(e=!1){Dt.push(Se=e?null:[])}function rc(){Dt.pop(),Se=Dt[Dt.length-1]||null}let Vt=1;function or(e){Vt+=e,e<0&&Se&&(Se.hasOnce=!0)}function zi(e){return e.dynamicChildren=Vt>0?Se||gt:null,rc(),Vt>0&&Se&&Se.push(e),e}function ke(e,t,n,s,r,i){return zi(F(e,t,n,s,r,i,!0))}function Qi(e,t,n,s,r){return zi(ie(e,t,n,s,r,!0))}function dn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const Ji=({key:e})=>e??null,nn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||pe(e)||R(e)?{i:ye,r:e,k:t,f:!!n}:e:null);function F(e,t=null,n=null,s=0,r=null,i=e===Ce?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ji(t),ref:t&&nn(t),scopeId:bi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ye};return l?(Ds(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ne(n)?8:16),Vt>0&&!o&&Se&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Se.push(c),c}const ie=ic;function ic(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===El)&&(e=me),dn(e)){const l=Qe(e,t,!0);return n&&Ds(l,n),Vt>0&&!i&&Se&&(l.shapeFlag&6?Se[Se.indexOf(e)]=l:Se.push(l)),l.patchFlag=-2,l}if(yc(e)&&(e=e.__vccOpts),t){t=oc(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=vn(l)),X(c)&&(Ps(c)&&!L(c)&&(c=re({},c)),t.style=Cs(c))}const o=ne(e)?1:Gi(e)?128:vi(e)?64:X(e)?4:R(e)?2:0;return F(e,t,n,s,r,o,i,!0)}function oc(e){return e?Ps(e)||Ni(e)?re({},e):e:null}function Qe(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?lc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ji(u),ref:t&&t.ref?n&&i?L(i)?i.concat(nn(t)):[i,nn(t)]:nn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qe(e.ssContent),ssFallback:e.ssFallback&&Qe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&kt(a,c.clone(a)),a}function At(e=" ",t=0){return ie(In,null,e,t)}function Kn(e="",t=!1){return t?(Ae(),Qi(me,null,e)):ie(me,null,e)}function Re(e){return e==null||typeof e=="boolean"?ie(me):L(e)?ie(Ce,null,e.slice()):dn(e)?ze(e):ie(In,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qe(e)}function Ds(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(L(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ds(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ni(t)?t._ctx=ye:r===3&&ye&&(ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else R(t)?(t={default:t,_ctx:ye},n=32):(t=String(t),s&64?(n=16,t=[At(t)]):n=8);e.children=t,e.shapeFlag|=n}function lc(...e){const t={};for(let n=0;nle||ye;let hn,fs;{const e=_n(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};hn=t("__VUE_INSTANCE_SETTERS__",n=>le=n),fs=t("__VUE_SSR_SETTERS__",n=>Bt=n)}const qt=e=>{const t=le;return hn(e),e.scope.on(),()=>{e.scope.off(),hn(t)}},lr=()=>{le&&le.scope.off(),hn(null)};function Yi(e){return e.vnode.shapeFlag&4}let Bt=!1;function dc(e,t=!1,n=!1){t&&fs(t);const{props:s,children:r}=e.vnode,i=Yi(e);Hl(e,s,i,t),$l(e,r,n);const o=i?hc(e,t):void 0;return t&&fs(!1),o}function hc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ol);const{setup:s}=n;if(s){Ye();const r=e.setupContext=s.length>1?gc(e):null,i=qt(e),o=Wt(s,e,0,[e.props,r]),l=Kr(o);if(Xe(),i(),(l||e.sp)&&!Lt(e)&&Ii(e),l){if(o.then(lr,lr),t)return o.then(c=>{cr(e,c,t)}).catch(c=>{wn(c,e,0)});e.asyncDep=o}else cr(e,o,t)}else Xi(e,t)}function cr(e,t,n){R(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=hi(t)),Xi(e,n)}let fr;function Xi(e,t,n){const s=e.type;if(!e.render){if(!t&&fr&&!s.render){const r=s.template||Ls(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=re(re({isCustomElement:i,delimiters:l},o),c);s.render=fr(r,u)}}e.render=s.render||je}{const r=qt(e);Ye();try{Pl(e)}finally{Xe(),r()}}}const pc={get(e,t){return ae(e,"get",""),e[t]}};function gc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,pc),slots:e.slots,emit:e.emit,expose:t}}function En(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(hi(Xo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ft)return Ft[n](e)},has(t,n){return n in t||n in Ft}})):e.proxy}function mc(e,t=!0){return R(e)?e.displayName||e.name:e.name||t&&e.__name}function yc(e){return R(e)&&"__vccOpts"in e}const bc=(e,t)=>nl(e,t,Bt);function as(e,t,n){const s=arguments.length;return s===2?X(t)&&!L(t)?dn(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&dn(n)&&(n=[n]),ie(e,t,n))}const _c="3.5.12";/** +**/function Wt(e,t,n,s){try{return s?e(...s):e()}catch(r){wn(r,t,n)}}function Me(e,t,n,s){if(R(e)){const r=Wt(e,t,n,s);return r&&Kr(r)&&r.catch(i=>{wn(i,t,n)}),r}if(L(e)){const r=[];for(let i=0;i>>1,r=he[s],i=Ht(r);i=Ht(n)?he.push(e):he.splice(ll(t),0,e),e.flags|=1,gi()}}function gi(){fn||(fn=pi.then(yi))}function cl(e){L(e)?bt.push(...e):qe&&e.id===-1?qe.splice(ht+1,0,e):e.flags&1||(bt.push(e),e.flags|=1),gi()}function Js(e,t,n=Ne+1){for(;nHt(n)-Ht(s));if(bt.length=0,qe){qe.push(...t);return}for(qe=t,ht=0;hte.id==null?e.flags&2?-1:1/0:e.id;function yi(e){try{for(Ne=0;Ne{s._d&&or(-1);const i=an(t);let o;try{o=e(...r)}finally{an(i),s._d&&or(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function fl(e,t){if(ye===null)return e;const n=En(ye),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Ge=Symbol("_leaveCb"),Xt=Symbol("_enterCb");function ul(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ai(()=>{e.isMounted=!0}),Oi(()=>{e.isUnmounting=!0}),e}const Te=[Function,Array],xi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Te,onEnter:Te,onAfterEnter:Te,onEnterCancelled:Te,onBeforeLeave:Te,onLeave:Te,onAfterLeave:Te,onLeaveCancelled:Te,onBeforeAppear:Te,onAppear:Te,onAfterAppear:Te,onAppearCancelled:Te},wi=e=>{const t=e.subTree;return t.component?wi(t.component):t},dl={name:"BaseTransition",props:xi,setup(e,{slots:t}){const n=uc(),s=ul();return()=>{const r=t.default&&Ti(t.default(),!0);if(!r||!r.length)return;const i=Si(r),o=q(e),{mode:l}=o;if(s.isLeaving)return jn(i);const c=Ys(i);if(!c)return jn(i);let u=ss(c,o,s,n,g=>u=g);c.type!==me&&kt(c,u);const a=n.subTree,h=a&&Ys(a);if(h&&h.type!==me&&!lt(c,h)&&wi(n).type!==me){const g=ss(h,o,s,n);if(kt(h,g),l==="out-in"&&c.type!==me)return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete g.afterLeave},jn(i);l==="in-out"&&c.type!==me&&(g.delayLeave=(v,P,E)=>{const I=Ci(s,h);I[String(h.key)]=h,v[Ge]=()=>{P(),v[Ge]=void 0,delete u.delayedLeave},u.delayedLeave=E})}return i}}};function Si(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==me){t=n;break}}return t}const hl=dl;function Ci(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ss(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:g,onLeave:v,onAfterLeave:P,onLeaveCancelled:E,onBeforeAppear:I,onAppear:H,onAfterAppear:B,onAppearCancelled:k}=t,T=String(e.key),U=Ci(n,e),N=(j,V)=>{j&&Me(j,s,9,V)},G=(j,V)=>{const ee=V[1];N(j,V),L(j)?j.every(A=>A.length<=1)&&ee():j.length<=1&&ee()},se={mode:o,persisted:l,beforeEnter(j){let V=c;if(!n.isMounted)if(i)V=I||c;else return;j[Ge]&&j[Ge](!0);const ee=U[T];ee&<(e,ee)&&ee.el[Ge]&&ee.el[Ge](),N(V,[j])},enter(j){let V=u,ee=a,A=h;if(!n.isMounted)if(i)V=H||u,ee=B||a,A=k||h;else return;let Z=!1;const ce=j[Xt]=Ze=>{Z||(Z=!0,Ze?N(A,[j]):N(ee,[j]),se.delayedLeave&&se.delayedLeave(),j[Xt]=void 0)};V?G(V,[j,ce]):ce()},leave(j,V){const ee=String(e.key);if(j[Xt]&&j[Xt](!0),n.isUnmounting)return V();N(g,[j]);let A=!1;const Z=j[Ge]=ce=>{A||(A=!0,V(),ce?N(E,[j]):N(P,[j]),j[Ge]=void 0,U[ee]===e&&delete U[ee])};U[ee]=e,v?G(v,[j,Z]):Z()},clone(j){const V=ss(j,t,n,s,r);return r&&r(V),V}};return se}function jn(e){if(Sn(e))return e=Qe(e),e.children=null,e}function Ys(e){if(!Sn(e))return vi(e.type)&&e.children?Si(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&R(n.default))return n.default()}}function kt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,kt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ti(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;irs(P,t&&(L(t)?t[E]:t),n,s,r));return}if(Lt(s)&&!r)return;const i=s.shapeFlag&4?En(s.component):s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===z?l.refs={}:l.refs,h=l.setupState,g=q(h),v=h===z?()=>!1:P=>K(g,P);if(u!=null&&u!==c&&(ne(u)?(a[u]=null,v(u)&&(h[u]=null)):pe(u)&&(u.value=null)),R(c))Wt(c,l,12,[o,a]);else{const P=ne(c),E=pe(c);if(P||E){const I=()=>{if(e.f){const H=P?v(c)?h[c]:a[c]:c.value;r?L(H)&&xs(H,i):L(H)?H.includes(i)||H.push(i):P?(a[c]=[i],v(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else P?(a[c]=o,v(c)&&(h[c]=o)):E&&(c.value=o,e.k&&(a[e.k]=o))};o?(I.id=-1,xe(I,n)):I()}}}_n().requestIdleCallback;_n().cancelIdleCallback;const Lt=e=>!!e.type.__asyncLoader,Sn=e=>e.type.__isKeepAlive;function gl(e,t){Ei(e,"a",t)}function ml(e,t){Ei(e,"da",t)}function Ei(e,t,n=le){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Cn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Sn(r.parent.vnode)&&yl(s,t,n,r),r=r.parent}}function yl(e,t,n,s){const r=Cn(t,e,s,!0);Pi(()=>{xs(s[t],r)},n)}function Cn(e,t,n=le,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ye();const l=qt(n),c=Me(t,n,e,o);return l(),Xe(),c});return s?r.unshift(i):r.push(i),i}}const Ue=e=>(t,n=le)=>{(!Bt||e==="sp")&&Cn(e,(...s)=>t(...s),n)},bl=Ue("bm"),Ai=Ue("m"),_l=Ue("bu"),vl=Ue("u"),Oi=Ue("bum"),Pi=Ue("um"),xl=Ue("sp"),wl=Ue("rtg"),Sl=Ue("rtc");function Cl(e,t=le){Cn("ec",e,t)}const Tl="components";function Il(e,t){return Al(Tl,e,!0,t)||e}const El=Symbol.for("v-ndc");function Al(e,t,n=!0,s=!1){const r=ye||le;if(r){const i=r.type;{const l=mc(i,!1);if(l&&(l===t||l===Ie(t)||l===bn(Ie(t))))return i}const o=Xs(r[e]||i[e],t)||Xs(r.appContext[e],t);return!o&&s?i:o}}function Xs(e,t){return e&&(e[t]||e[Ie(t)]||e[bn(Ie(t))])}function Hn(e,t,n,s){let r;const i=n,o=L(e);if(o||ne(e)){const l=o&&yt(e);let c=!1;l&&(c=!Pe(e),e=xn(e)),r=new Array(e.length);for(let u=0,a=e.length;ut(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;ce?Yi(e)?En(e):is(e.parent):null,Ft=re(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>is(e.parent),$root:e=>is(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ls(e),$forceUpdate:e=>e.f||(e.f=()=>{Ms(e.update)}),$nextTick:e=>e.n||(e.n=ol.bind(e.proxy)),$watch:e=>Jl.bind(e)}),kn=(e,t)=>e!==z&&!e.__isScriptSetup&&K(e,t),Ol={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(kn(s,t))return o[t]=1,s[t];if(r!==z&&K(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&K(u,t))return o[t]=3,i[t];if(n!==z&&K(n,t))return o[t]=4,n[t];os&&(o[t]=0)}}const a=Ft[t];let h,g;if(a)return t==="$attrs"&&ae(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==z&&K(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,K(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return kn(r,t)?(r[t]=n,!0):s!==z&&K(s,t)?(s[t]=n,!0):K(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==z&&K(e,o)||kn(t,o)||(l=i[0])&&K(l,o)||K(s,o)||K(Ft,o)||K(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:K(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Zs(e){return L(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let os=!0;function Pl(e){const t=Ls(e),n=e.proxy,s=e.ctx;os=!1,t.beforeCreate&&er(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:a,beforeMount:h,mounted:g,beforeUpdate:v,updated:P,activated:E,deactivated:I,beforeDestroy:H,beforeUnmount:B,destroyed:k,unmounted:T,render:U,renderTracked:N,renderTriggered:G,errorCaptured:se,serverPrefetch:j,expose:V,inheritAttrs:ee,components:A,directives:Z,filters:ce}=t;if(u&&Ml(u,s,null),o)for(const te in o){const Q=o[te];R(Q)&&(s[te]=Q.bind(n))}if(r){const te=r.call(n,n);X(te)&&(e.data=As(te))}if(os=!0,i)for(const te in i){const Q=i[te],et=R(Q)?Q.bind(n,n):R(Q.get)?Q.get.bind(n,n):je,Gt=!R(Q)&&R(Q.set)?Q.set.bind(n):je,tt=bc({get:et,set:Gt});Object.defineProperty(s,te,{enumerable:!0,configurable:!0,get:()=>tt.value,set:Le=>tt.value=Le})}if(l)for(const te in l)Mi(l[te],s,n,te);if(c){const te=R(c)?c.call(n):c;Reflect.ownKeys(te).forEach(Q=>{jl(Q,te[Q])})}a&&er(a,e,"c");function oe(te,Q){L(Q)?Q.forEach(et=>te(et.bind(n))):Q&&te(Q.bind(n))}if(oe(bl,h),oe(Ai,g),oe(_l,v),oe(vl,P),oe(gl,E),oe(ml,I),oe(Cl,se),oe(Sl,N),oe(wl,G),oe(Oi,B),oe(Pi,T),oe(xl,j),L(V))if(V.length){const te=e.exposed||(e.exposed={});V.forEach(Q=>{Object.defineProperty(te,Q,{get:()=>n[Q],set:et=>n[Q]=et})})}else e.exposed||(e.exposed={});U&&e.render===je&&(e.render=U),ee!=null&&(e.inheritAttrs=ee),A&&(e.components=A),Z&&(e.directives=Z),j&&Ii(e)}function Ml(e,t,n=je){L(e)&&(e=ls(e));for(const s in e){const r=e[s];let i;X(r)?"default"in r?i=tn(r.from||s,r.default,!0):i=tn(r.from||s):i=tn(r),pe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function er(e,t,n){Me(L(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mi(e,t,n,s){let r=s.includes(".")?Wi(n,s):()=>n[s];if(ne(e)){const i=t[e];R(i)&&Bn(r,i)}else if(R(e))Bn(r,e.bind(n));else if(X(e))if(L(e))e.forEach(i=>Mi(i,t,n,s));else{const i=R(e.handler)?e.handler.bind(n):t[e.handler];R(i)&&Bn(r,i,e)}}function Ls(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>un(c,u,o,!0)),un(c,t,o)),X(t)&&i.set(t,c),c}function un(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&un(e,i,n,!0),r&&r.forEach(o=>un(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Ll[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ll={data:tr,props:nr,emits:nr,methods:Et,computed:Et,beforeCreate:de,created:de,beforeMount:de,mounted:de,beforeUpdate:de,updated:de,beforeDestroy:de,beforeUnmount:de,destroyed:de,unmounted:de,activated:de,deactivated:de,errorCaptured:de,serverPrefetch:de,components:Et,directives:Et,watch:Dl,provide:tr,inject:Fl};function tr(e,t){return t?e?function(){return re(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function Fl(e,t){return Et(ls(e),ls(t))}function ls(e){if(L(e)){const t={};for(let n=0;n1)return n&&R(t)?t.call(s&&s.proxy):t}}const Fi={},Di=()=>Object.create(Fi),Ni=e=>Object.getPrototypeOf(e)===Fi;function Hl(e,t,n,s=!1){const r={},i=Di();e.propsDefaults=Object.create(null),Ri(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Yo(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function kl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=q(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[g,v]=ji(h,t,!0);re(o,g),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return X(e)&&s.set(e,gt),gt;if(L(i))for(let a=0;ae[0]==="_"||e==="$stable",Fs=e=>L(e)?e.map(Re):[Re(e)],Bl=(e,t,n)=>{if(t._n)return t;const s=_i((...r)=>Fs(t(...r)),n);return s._c=!1,s},ki=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Hi(r))continue;const i=e[r];if(R(i))t[r]=Bl(r,i,s);else if(i!=null){const o=Fs(i);t[r]=()=>o}}},Vi=(e,t)=>{const n=Fs(t);e.slots.default=()=>n},Bi=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},$l=(e,t,n)=>{const s=e.slots=Di();if(e.vnode.shapeFlag&32){const r=t._;r?(Bi(s,t,n),n&&Gr(s,"_",r,!0)):ki(t,s)}else t&&Vi(e,t)},Ul=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=z;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Bi(r,t,n):(i=!t.$stable,ki(t,r)),o=t}else t&&(Vi(e,t),o={default:1});if(i)for(const l in r)!Hi(l)&&o[l]==null&&delete r[l]},xe=sc;function Kl(e){return Wl(e)}function Wl(e,t){const n=_n();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:a,parentNode:h,nextSibling:g,setScopeId:v=je,insertStaticContent:P}=e,E=(f,d,p,b=null,m=null,y=null,S=void 0,w=null,x=!!d.dynamicChildren)=>{if(f===d)return;f&&!lt(f,d)&&(b=zt(f),Le(f,m,y,!0),f=null),d.patchFlag===-2&&(x=!1,d.dynamicChildren=null);const{type:_,ref:M,shapeFlag:C}=d;switch(_){case In:I(f,d,p,b);break;case me:H(f,d,p,b);break;case Un:f==null&&B(d,p,b,S);break;case Se:A(f,d,p,b,m,y,S,w,x);break;default:C&1?U(f,d,p,b,m,y,S,w,x):C&6?Z(f,d,p,b,m,y,S,w,x):(C&64||C&128)&&_.process(f,d,p,b,m,y,S,w,x,wt)}M!=null&&m&&rs(M,f&&f.ref,y,d||f,!d)},I=(f,d,p,b)=>{if(f==null)s(d.el=l(d.children),p,b);else{const m=d.el=f.el;d.children!==f.children&&u(m,d.children)}},H=(f,d,p,b)=>{f==null?s(d.el=c(d.children||""),p,b):d.el=f.el},B=(f,d,p,b)=>{[f.el,f.anchor]=P(f.children,d,p,b,f.el,f.anchor)},k=({el:f,anchor:d},p,b)=>{let m;for(;f&&f!==d;)m=g(f),s(f,p,b),f=m;s(d,p,b)},T=({el:f,anchor:d})=>{let p;for(;f&&f!==d;)p=g(f),r(f),f=p;r(d)},U=(f,d,p,b,m,y,S,w,x)=>{d.type==="svg"?S="svg":d.type==="math"&&(S="mathml"),f==null?N(d,p,b,m,y,S,w,x):j(f,d,m,y,S,w,x)},N=(f,d,p,b,m,y,S,w)=>{let x,_;const{props:M,shapeFlag:C,transition:O,dirs:D}=f;if(x=f.el=o(f.type,y,M&&M.is,M),C&8?a(x,f.children):C&16&&se(f.children,x,null,b,m,Vn(f,y),S,w),D&&nt(f,null,b,"created"),G(x,f,f.scopeId,S,b),M){for(const J in M)J!=="value"&&!Ot(J)&&i(x,J,null,M[J],y,b);"value"in M&&i(x,"value",null,M.value,y),(_=M.onVnodeBeforeMount)&&De(_,b,f)}D&&nt(f,null,b,"beforeMount");const $=ql(m,O);$&&O.beforeEnter(x),s(x,d,p),((_=M&&M.onVnodeMounted)||$||D)&&xe(()=>{_&&De(_,b,f),$&&O.enter(x),D&&nt(f,null,b,"mounted")},m)},G=(f,d,p,b,m)=>{if(p&&v(f,p),b)for(let y=0;y{for(let _=x;_{const w=d.el=f.el;let{patchFlag:x,dynamicChildren:_,dirs:M}=d;x|=f.patchFlag&16;const C=f.props||z,O=d.props||z;let D;if(p&&st(p,!1),(D=O.onVnodeBeforeUpdate)&&De(D,p,d,f),M&&nt(d,f,p,"beforeUpdate"),p&&st(p,!0),(C.innerHTML&&O.innerHTML==null||C.textContent&&O.textContent==null)&&a(w,""),_?V(f.dynamicChildren,_,w,p,b,Vn(d,m),y):S||Q(f,d,w,null,p,b,Vn(d,m),y,!1),x>0){if(x&16)ee(w,C,O,p,m);else if(x&2&&C.class!==O.class&&i(w,"class",null,O.class,m),x&4&&i(w,"style",C.style,O.style,m),x&8){const $=d.dynamicProps;for(let J=0;J<$.length;J++){const W=$[J],be=C[W],fe=O[W];(fe!==be||W==="value")&&i(w,W,be,fe,m,p)}}x&1&&f.children!==d.children&&a(w,d.children)}else!S&&_==null&&ee(w,C,O,p,m);((D=O.onVnodeUpdated)||M)&&xe(()=>{D&&De(D,p,d,f),M&&nt(d,f,p,"updated")},b)},V=(f,d,p,b,m,y,S)=>{for(let w=0;w{if(d!==p){if(d!==z)for(const y in d)!Ot(y)&&!(y in p)&&i(f,y,d[y],null,m,b);for(const y in p){if(Ot(y))continue;const S=p[y],w=d[y];S!==w&&y!=="value"&&i(f,y,w,S,m,b)}"value"in p&&i(f,"value",d.value,p.value,m)}},A=(f,d,p,b,m,y,S,w,x)=>{const _=d.el=f?f.el:l(""),M=d.anchor=f?f.anchor:l("");let{patchFlag:C,dynamicChildren:O,slotScopeIds:D}=d;D&&(w=w?w.concat(D):D),f==null?(s(_,p,b),s(M,p,b),se(d.children||[],p,M,m,y,S,w,x)):C>0&&C&64&&O&&f.dynamicChildren?(V(f.dynamicChildren,O,p,m,y,S,w),(d.key!=null||m&&d===m.subTree)&&$i(f,d,!0)):Q(f,d,p,M,m,y,S,w,x)},Z=(f,d,p,b,m,y,S,w,x)=>{d.slotScopeIds=w,f==null?d.shapeFlag&512?m.ctx.activate(d,p,b,S,x):ce(d,p,b,m,y,S,x):Ze(f,d,x)},ce=(f,d,p,b,m,y,S)=>{const w=f.component=ac(f,b,m);if(Sn(f)&&(w.ctx.renderer=wt),dc(w,!1,S),w.asyncDep){if(m&&m.registerDep(w,oe,S),!f.el){const x=w.subTree=ie(me);H(null,x,d,p)}}else oe(w,f,d,p,m,y,S)},Ze=(f,d,p)=>{const b=d.component=f.component;if(tc(f,d,p))if(b.asyncDep&&!b.asyncResolved){te(b,d,p);return}else b.next=d,b.update();else d.el=f.el,b.vnode=d},oe=(f,d,p,b,m,y,S)=>{const w=()=>{if(f.isMounted){let{next:C,bu:O,u:D,parent:$,vnode:J}=f;{const _e=Ui(f);if(_e){C&&(C.el=J.el,te(f,C,S)),_e.asyncDep.then(()=>{f.isUnmounted||w()});return}}let W=C,be;st(f,!1),C?(C.el=J.el,te(f,C,S)):C=J,O&&en(O),(be=C.props&&C.props.onVnodeBeforeUpdate)&&De(be,$,C,J),st(f,!0);const fe=$n(f),Ee=f.subTree;f.subTree=fe,E(Ee,fe,h(Ee.el),zt(Ee),f,m,y),C.el=fe.el,W===null&&nc(f,fe.el),D&&xe(D,m),(be=C.props&&C.props.onVnodeUpdated)&&xe(()=>De(be,$,C,J),m)}else{let C;const{el:O,props:D}=d,{bm:$,m:J,parent:W,root:be,type:fe}=f,Ee=Lt(d);if(st(f,!1),$&&en($),!Ee&&(C=D&&D.onVnodeBeforeMount)&&De(C,W,d),st(f,!0),O&&Ks){const _e=()=>{f.subTree=$n(f),Ks(O,f.subTree,f,m,null)};Ee&&fe.__asyncHydrate?fe.__asyncHydrate(O,f,_e):_e()}else{be.ce&&be.ce._injectChildStyle(fe);const _e=f.subTree=$n(f);E(null,_e,p,b,f,m,y),d.el=_e.el}if(J&&xe(J,m),!Ee&&(C=D&&D.onVnodeMounted)){const _e=d;xe(()=>De(C,W,_e),m)}(d.shapeFlag&256||W&&Lt(W.vnode)&&W.vnode.shapeFlag&256)&&f.a&&xe(f.a,m),f.isMounted=!0,d=p=b=null}};f.scope.on();const x=f.effect=new Yr(w);f.scope.off();const _=f.update=x.run.bind(x),M=f.job=x.runIfDirty.bind(x);M.i=f,M.id=f.uid,x.scheduler=()=>Ms(M),st(f,!0),_()},te=(f,d,p)=>{d.component=f;const b=f.vnode.props;f.vnode=d,f.next=null,kl(f,d.props,b,p),Ul(f,d.children,p),Ye(),Js(f),Xe()},Q=(f,d,p,b,m,y,S,w,x=!1)=>{const _=f&&f.children,M=f?f.shapeFlag:0,C=d.children,{patchFlag:O,shapeFlag:D}=d;if(O>0){if(O&128){Gt(_,C,p,b,m,y,S,w,x);return}else if(O&256){et(_,C,p,b,m,y,S,w,x);return}}D&8?(M&16&&xt(_,m,y),C!==_&&a(p,C)):M&16?D&16?Gt(_,C,p,b,m,y,S,w,x):xt(_,m,y,!0):(M&8&&a(p,""),D&16&&se(C,p,b,m,y,S,w,x))},et=(f,d,p,b,m,y,S,w,x)=>{f=f||gt,d=d||gt;const _=f.length,M=d.length,C=Math.min(_,M);let O;for(O=0;OM?xt(f,m,y,!0,!1,C):se(d,p,b,m,y,S,w,x,C)},Gt=(f,d,p,b,m,y,S,w,x)=>{let _=0;const M=d.length;let C=f.length-1,O=M-1;for(;_<=C&&_<=O;){const D=f[_],$=d[_]=x?ze(d[_]):Re(d[_]);if(lt(D,$))E(D,$,p,null,m,y,S,w,x);else break;_++}for(;_<=C&&_<=O;){const D=f[C],$=d[O]=x?ze(d[O]):Re(d[O]);if(lt(D,$))E(D,$,p,null,m,y,S,w,x);else break;C--,O--}if(_>C){if(_<=O){const D=O+1,$=DO)for(;_<=C;)Le(f[_],m,y,!0),_++;else{const D=_,$=_,J=new Map;for(_=$;_<=O;_++){const ve=d[_]=x?ze(d[_]):Re(d[_]);ve.key!=null&&J.set(ve.key,_)}let W,be=0;const fe=O-$+1;let Ee=!1,_e=0;const St=new Array(fe);for(_=0;_=fe){Le(ve,m,y,!0);continue}let Fe;if(ve.key!=null)Fe=J.get(ve.key);else for(W=$;W<=O;W++)if(St[W-$]===0&<(ve,d[W])){Fe=W;break}Fe===void 0?Le(ve,m,y,!0):(St[Fe-$]=_+1,Fe>=_e?_e=Fe:Ee=!0,E(ve,d[Fe],p,null,m,y,S,w,x),be++)}const Ws=Ee?Gl(St):gt;for(W=Ws.length-1,_=fe-1;_>=0;_--){const ve=$+_,Fe=d[ve],qs=ve+1{const{el:y,type:S,transition:w,children:x,shapeFlag:_}=f;if(_&6){tt(f.component.subTree,d,p,b);return}if(_&128){f.suspense.move(d,p,b);return}if(_&64){S.move(f,d,p,wt);return}if(S===Se){s(y,d,p);for(let C=0;Cw.enter(y),m);else{const{leave:C,delayLeave:O,afterLeave:D}=w,$=()=>s(y,d,p),J=()=>{C(y,()=>{$(),D&&D()})};O?O(y,$,J):J()}else s(y,d,p)},Le=(f,d,p,b=!1,m=!1)=>{const{type:y,props:S,ref:w,children:x,dynamicChildren:_,shapeFlag:M,patchFlag:C,dirs:O,cacheIndex:D}=f;if(C===-2&&(m=!1),w!=null&&rs(w,null,p,f,!0),D!=null&&(d.renderCache[D]=void 0),M&256){d.ctx.deactivate(f);return}const $=M&1&&O,J=!Lt(f);let W;if(J&&(W=S&&S.onVnodeBeforeUnmount)&&De(W,d,f),M&6)bo(f.component,p,b);else{if(M&128){f.suspense.unmount(p,b);return}$&&nt(f,null,d,"beforeUnmount"),M&64?f.type.remove(f,d,p,wt,b):_&&!_.hasOnce&&(y!==Se||C>0&&C&64)?xt(_,d,p,!1,!0):(y===Se&&C&384||!m&&M&16)&&xt(x,d,p),b&&Bs(f)}(J&&(W=S&&S.onVnodeUnmounted)||$)&&xe(()=>{W&&De(W,d,f),$&&nt(f,null,d,"unmounted")},p)},Bs=f=>{const{type:d,el:p,anchor:b,transition:m}=f;if(d===Se){yo(p,b);return}if(d===Un){T(f);return}const y=()=>{r(p),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(f.shapeFlag&1&&m&&!m.persisted){const{leave:S,delayLeave:w}=m,x=()=>S(p,y);w?w(f.el,y,x):x()}else y()},yo=(f,d)=>{let p;for(;f!==d;)p=g(f),r(f),f=p;r(d)},bo=(f,d,p)=>{const{bum:b,scope:m,job:y,subTree:S,um:w,m:x,a:_}=f;rr(x),rr(_),b&&en(b),m.stop(),y&&(y.flags|=8,Le(S,f,d,p)),w&&xe(w,d),xe(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},xt=(f,d,p,b=!1,m=!1,y=0)=>{for(let S=y;S{if(f.shapeFlag&6)return zt(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const d=g(f.anchor||f.el),p=d&&d[al];return p?g(p):d};let Mn=!1;const $s=(f,d,p)=>{f==null?d._vnode&&Le(d._vnode,null,null,!0):E(d._vnode||null,f,d,null,null,null,p),d._vnode=f,Mn||(Mn=!0,Js(),mi(),Mn=!1)},wt={p:E,um:Le,m:tt,r:Bs,mt:ce,mc:se,pc:Q,pbc:V,n:zt,o:e};let Us,Ks;return{render:$s,hydrate:Us,createApp:Rl($s,Us)}}function Vn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function st({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ql(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $i(e,t,n=!1){const s=e.children,r=t.children;if(L(s)&&L(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Ui(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ui(t)}function rr(e){if(e)for(let t=0;ttn(zl);function Bn(e,t,n){return Ki(e,t,n)}function Ki(e,t,n=z){const{immediate:s,deep:r,flush:i,once:o}=n,l=re({},n),c=t&&s||!t&&i!=="post";let u;if(Bt){if(i==="sync"){const v=Ql();u=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=je,v.resume=je,v.pause=je,v}}const a=le;l.call=(v,P,E)=>Me(v,a,P,E);let h=!1;i==="post"?l.scheduler=v=>{xe(v,a&&a.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(v,P)=>{P?v():Ms(v)}),l.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const g=rl(e,t,l);return Bt&&(u?u.push(g):c&&g()),g}function Jl(e,t,n){const s=this.proxy,r=ne(e)?e.includes(".")?Wi(s,e):()=>s[e]:e.bind(s,s);let i;R(t)?i=t:(i=t.handler,n=t);const o=qt(this),l=Ki(r,i.bind(s),n);return o(),l}function Wi(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ie(t)}Modifiers`]||e[`${ut(t)}Modifiers`];function Xl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||z;let r=n;const i=t.startsWith("update:"),o=i&&Yl(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>ne(a)?a.trim():a)),o.number&&(r=n.map(Yn)));let l,c=s[l=Ln(t)]||s[l=Ln(Ie(t))];!c&&i&&(c=s[l=Ln(ut(t))]),c&&Me(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Me(u,e,6,r)}}function qi(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!R(e)){const c=u=>{const a=qi(u,t,!0);a&&(l=!0,re(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(X(e)&&s.set(e,null),null):(L(i)?i.forEach(c=>o[c]=null):re(o,i),X(e)&&s.set(e,o),o)}function Tn(e,t){return!e||!gn(t)?!1:(t=t.slice(2).replace(/Once$/,""),K(e,t[0].toLowerCase()+t.slice(1))||K(e,ut(t))||K(e,t))}function $n(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:a,props:h,data:g,setupState:v,ctx:P,inheritAttrs:E}=e,I=an(e);let H,B;try{if(n.shapeFlag&4){const T=r||s,U=T;H=Re(u.call(U,T,a,h,v,g,P)),B=l}else{const T=t;H=Re(T.length>1?T(h,{attrs:l,slots:o,emit:c}):T(h,null)),B=t.props?l:Zl(l)}}catch(T){Dt.length=0,wn(T,e,1),H=ie(me)}let k=H;if(B&&E!==!1){const T=Object.keys(B),{shapeFlag:U}=k;T.length&&U&7&&(i&&T.some(vs)&&(B=ec(B,i)),k=Qe(k,B,!1,!0))}return n.dirs&&(k=Qe(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&kt(k,n.transition),H=k,an(I),H}const Zl=e=>{let t;for(const n in e)(n==="class"||n==="style"||gn(n))&&((t||(t={}))[n]=e[n]);return t},ec=(e,t)=>{const n={};for(const s in e)(!vs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function tc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ir(s,o,u):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function sc(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):cl(e)}const Se=Symbol.for("v-fgt"),In=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),Un=Symbol.for("v-stc"),Dt=[];let Ce=null;function Ae(e=!1){Dt.push(Ce=e?null:[])}function rc(){Dt.pop(),Ce=Dt[Dt.length-1]||null}let Vt=1;function or(e){Vt+=e,e<0&&Ce&&(Ce.hasOnce=!0)}function zi(e){return e.dynamicChildren=Vt>0?Ce||gt:null,rc(),Vt>0&&Ce&&Ce.push(e),e}function ke(e,t,n,s,r,i){return zi(F(e,t,n,s,r,i,!0))}function Qi(e,t,n,s,r){return zi(ie(e,t,n,s,r,!0))}function dn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const Ji=({key:e})=>e??null,nn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||pe(e)||R(e)?{i:ye,r:e,k:t,f:!!n}:e:null);function F(e,t=null,n=null,s=0,r=null,i=e===Se?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ji(t),ref:t&&nn(t),scopeId:bi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ye};return l?(Ds(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ne(n)?8:16),Vt>0&&!o&&Ce&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ce.push(c),c}const ie=ic;function ic(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===El)&&(e=me),dn(e)){const l=Qe(e,t,!0);return n&&Ds(l,n),Vt>0&&!i&&Ce&&(l.shapeFlag&6?Ce[Ce.indexOf(e)]=l:Ce.push(l)),l.patchFlag=-2,l}if(yc(e)&&(e=e.__vccOpts),t){t=oc(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=vn(l)),X(c)&&(Ps(c)&&!L(c)&&(c=re({},c)),t.style=Ss(c))}const o=ne(e)?1:Gi(e)?128:vi(e)?64:X(e)?4:R(e)?2:0;return F(e,t,n,s,r,o,i,!0)}function oc(e){return e?Ps(e)||Ni(e)?re({},e):e:null}function Qe(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?lc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ji(u),ref:t&&t.ref?n&&i?L(i)?i.concat(nn(t)):[i,nn(t)]:nn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qe(e.ssContent),ssFallback:e.ssFallback&&Qe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&kt(a,c.clone(a)),a}function At(e=" ",t=0){return ie(In,null,e,t)}function Kn(e="",t=!1){return t?(Ae(),Qi(me,null,e)):ie(me,null,e)}function Re(e){return e==null||typeof e=="boolean"?ie(me):L(e)?ie(Se,null,e.slice()):dn(e)?ze(e):ie(In,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qe(e)}function Ds(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(L(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ds(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ni(t)?t._ctx=ye:r===3&&ye&&(ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else R(t)?(t={default:t,_ctx:ye},n=32):(t=String(t),s&64?(n=16,t=[At(t)]):n=8);e.children=t,e.shapeFlag|=n}function lc(...e){const t={};for(let n=0;nle||ye;let hn,fs;{const e=_n(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};hn=t("__VUE_INSTANCE_SETTERS__",n=>le=n),fs=t("__VUE_SSR_SETTERS__",n=>Bt=n)}const qt=e=>{const t=le;return hn(e),e.scope.on(),()=>{e.scope.off(),hn(t)}},lr=()=>{le&&le.scope.off(),hn(null)};function Yi(e){return e.vnode.shapeFlag&4}let Bt=!1;function dc(e,t=!1,n=!1){t&&fs(t);const{props:s,children:r}=e.vnode,i=Yi(e);Hl(e,s,i,t),$l(e,r,n);const o=i?hc(e,t):void 0;return t&&fs(!1),o}function hc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ol);const{setup:s}=n;if(s){Ye();const r=e.setupContext=s.length>1?gc(e):null,i=qt(e),o=Wt(s,e,0,[e.props,r]),l=Kr(o);if(Xe(),i(),(l||e.sp)&&!Lt(e)&&Ii(e),l){if(o.then(lr,lr),t)return o.then(c=>{cr(e,c,t)}).catch(c=>{wn(c,e,0)});e.asyncDep=o}else cr(e,o,t)}else Xi(e,t)}function cr(e,t,n){R(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=hi(t)),Xi(e,n)}let fr;function Xi(e,t,n){const s=e.type;if(!e.render){if(!t&&fr&&!s.render){const r=s.template||Ls(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=re(re({isCustomElement:i,delimiters:l},o),c);s.render=fr(r,u)}}e.render=s.render||je}{const r=qt(e);Ye();try{Pl(e)}finally{Xe(),r()}}}const pc={get(e,t){return ae(e,"get",""),e[t]}};function gc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,pc),slots:e.slots,emit:e.emit,expose:t}}function En(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(hi(Xo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ft)return Ft[n](e)},has(t,n){return n in t||n in Ft}})):e.proxy}function mc(e,t=!0){return R(e)?e.displayName||e.name:e.name||t&&e.__name}function yc(e){return R(e)&&"__vccOpts"in e}const bc=(e,t)=>nl(e,t,Bt);function as(e,t,n){const s=arguments.length;return s===2?X(t)&&!L(t)?dn(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&dn(n)&&(n=[n]),ie(e,t,n))}const _c="3.5.12";/** * @vue/runtime-dom v3.5.12 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let us;const ar=typeof window<"u"&&window.trustedTypes;if(ar)try{us=ar.createPolicy("vue",{createHTML:e=>e})}catch{}const Zi=us?e=>us.createHTML(e):e=>e,vc="http://www.w3.org/2000/svg",xc="http://www.w3.org/1998/Math/MathML",Ve=typeof document<"u"?document:null,ur=Ve&&Ve.createElement("template"),wc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Ve.createElementNS(vc,e):t==="mathml"?Ve.createElementNS(xc,e):n?Ve.createElement(e,{is:n}):Ve.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ve.createTextNode(e),createComment:e=>Ve.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ve.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ur.innerHTML=Zi(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=ur.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ke="transition",Tt="animation",$t=Symbol("_vtc"),eo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Cc=re({},xi,eo),Sc=e=>(e.displayName="Transition",e.props=Cc,e),Tc=Sc((e,{slots:t})=>as(hl,Ic(e),t)),rt=(e,t=[])=>{L(e)?e.forEach(n=>n(...t)):e&&e(...t)},dr=e=>e?L(e)?e.some(t=>t.length>1):e.length>1:!1;function Ic(e){const t={};for(const A in e)A in eo||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,P=Ec(r),E=P&&P[0],I=P&&P[1],{onBeforeEnter:H,onEnter:B,onEnterCancelled:k,onLeave:T,onLeaveCancelled:U,onBeforeAppear:N=H,onAppear:G=B,onAppearCancelled:se=k}=t,j=(A,Z,ce)=>{it(A,Z?a:l),it(A,Z?u:o),ce&&ce()},V=(A,Z)=>{A._isLeaving=!1,it(A,h),it(A,v),it(A,g),Z&&Z()},ee=A=>(Z,ce)=>{const Ze=A?G:B,oe=()=>j(Z,A,ce);rt(Ze,[Z,oe]),hr(()=>{it(Z,A?c:i),We(Z,A?a:l),dr(Ze)||pr(Z,s,E,oe)})};return re(t,{onBeforeEnter(A){rt(H,[A]),We(A,i),We(A,o)},onBeforeAppear(A){rt(N,[A]),We(A,c),We(A,u)},onEnter:ee(!1),onAppear:ee(!0),onLeave(A,Z){A._isLeaving=!0;const ce=()=>V(A,Z);We(A,h),We(A,g),Pc(),hr(()=>{A._isLeaving&&(it(A,h),We(A,v),dr(T)||pr(A,s,I,ce))}),rt(T,[A,ce])},onEnterCancelled(A){j(A,!1),rt(k,[A])},onAppearCancelled(A){j(A,!0),rt(se,[A])},onLeaveCancelled(A){V(A),rt(U,[A])}})}function Ec(e){if(e==null)return null;if(X(e))return[Wn(e.enter),Wn(e.leave)];{const t=Wn(e);return[t,t]}}function Wn(e){return So(e)}function We(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$t]||(e[$t]=new Set)).add(t)}function it(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[$t];n&&(n.delete(t),n.size||(e[$t]=void 0))}function hr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ac=0;function pr(e,t,n,s){const r=e._endId=++Ac,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Oc(e,t);if(!o)return s();const u=o+"end";let a=0;const h=()=>{e.removeEventListener(u,g),i()},g=v=>{v.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[P]||"").split(", "),r=s(`${Ke}Delay`),i=s(`${Ke}Duration`),o=gr(r,i),l=s(`${Tt}Delay`),c=s(`${Tt}Duration`),u=gr(l,c);let a=null,h=0,g=0;t===Ke?o>0&&(a=Ke,h=o,g=i.length):t===Tt?u>0&&(a=Tt,h=u,g=c.length):(h=Math.max(o,u),a=h>0?o>u?Ke:Tt:null,g=a?a===Ke?i.length:c.length:0);const v=a===Ke&&/\b(transform|all)(,|$)/.test(s(`${Ke}Property`).toString());return{type:a,timeout:h,propCount:g,hasTransform:v}}function gr(e,t){for(;e.lengthmr(n)+mr(e[s])))}function mr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Pc(){return document.body.offsetHeight}function Mc(e,t,n){const s=e[$t];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const yr=Symbol("_vod"),Lc=Symbol("_vsh"),Fc=Symbol(""),Dc=/(^|;)\s*display\s*:/;function Nc(e,t,n){const s=e.style,r=ne(n);let i=!1;if(n&&!r){if(t)if(ne(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&sn(s,l,"")}else for(const o in t)n[o]==null&&sn(s,o,"");for(const o in n)o==="display"&&(i=!0),sn(s,o,n[o])}else if(r){if(t!==n){const o=s[Fc];o&&(n+=";"+o),s.cssText=n,i=Dc.test(n)}}else t&&e.removeAttribute("style");yr in e&&(e[yr]=i?s.display:"",e[Lc]&&(s.display="none"))}const br=/\s*!important$/;function sn(e,t,n){if(L(n))n.forEach(s=>sn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Rc(e,t);br.test(n)?e.setProperty(ut(s),n.replace(br,""),"important"):e[s]=n}}const _r=["Webkit","Moz","ms"],qn={};function Rc(e,t){const n=qn[t];if(n)return n;let s=Ie(t);if(s!=="filter"&&s in e)return qn[t]=s;s=bn(s);for(let r=0;r<_r.length;r++){const i=_r[r]+s;if(i in e)return qn[t]=i}return t}const vr="http://www.w3.org/1999/xlink";function xr(e,t,n,s,r,i=Po(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(vr,t.slice(6,t.length)):e.setAttributeNS(vr,t,n):n==null||i&&!zr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Je(n)?String(n):n)}function wr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Zi(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=zr(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function pt(e,t,n,s){e.addEventListener(t,n,s)}function jc(e,t,n,s){e.removeEventListener(t,n,s)}const Cr=Symbol("_vei");function Hc(e,t,n,s,r=null){const i=e[Cr]||(e[Cr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=kc(t);if(s){const u=i[t]=$c(s,r);pt(e,l,u,c)}else o&&(jc(e,l,o,c),i[t]=void 0)}}const Sr=/(?:Once|Passive|Capture)$/;function kc(e){let t;if(Sr.test(e)){t={};let s;for(;s=e.match(Sr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ut(e.slice(2)),t]}let Gn=0;const Vc=Promise.resolve(),Bc=()=>Gn||(Vc.then(()=>Gn=0),Gn=Date.now());function $c(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Me(Uc(s,n.value),t,5,[s])};return n.value=e,n.attached=Bc(),n}function Uc(e,t){if(L(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Tr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Kc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Mc(e,s,o):t==="style"?Nc(e,n,s):gn(t)?vs(t)||Hc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wc(e,t,s,o))?(wr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ne(s))?wr(e,Ie(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),xr(e,t,s,o))};function Wc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Tr(t)&&R(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Tr(t)&&ne(n)?!1:t in e}const Ir=e=>{const t=e.props["onUpdate:modelValue"]||!1;return L(t)?n=>en(t,n):t};function qc(e){e.target.composing=!0}function Er(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const zn=Symbol("_assign"),Gc={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[zn]=Ir(r);const i=s||r.props&&r.props.type==="number";pt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Yn(l)),e[zn](l)}),n&&pt(e,"change",()=>{e.value=e.value.trim()}),t||(pt(e,"compositionstart",qc),pt(e,"compositionend",Er),pt(e,"change",Er))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[zn]=Ir(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Yn(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},zc=re({patchProp:Kc},wc);let Ar;function Qc(){return Ar||(Ar=Kl(zc))}const Jc=(...e)=>{const t=Qc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Xc(s);if(!r)return;const i=t._component;!R(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Yc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Yc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Xc(e){return ne(e)?document.querySelector(e):e}const Nt=/^[a-z0-9]+(-[a-z0-9]+)*$/,An=(e,t,n,s="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;s=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const l=r.pop(),c=r.pop(),u={provider:r.length>0?r[0]:s,prefix:c,name:l};return t&&!rn(u)?null:u}const i=r[0],o=i.split("-");if(o.length>1){const l={provider:s,prefix:o.shift(),name:o.join("-")};return t&&!rn(l)?null:l}if(n&&s===""){const l={provider:s,prefix:"",name:i};return t&&!rn(l,n)?null:l}return null},rn=(e,t)=>e?!!((e.provider===""||e.provider.match(Nt))&&(t&&e.prefix===""||e.prefix.match(Nt))&&e.name.match(Nt)):!1,to=Object.freeze({left:0,top:0,width:16,height:16}),pn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),On=Object.freeze({...to,...pn}),ds=Object.freeze({...On,body:"",hidden:!1});function Zc(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(n.rotate=s),n}function Or(e,t){const n=Zc(e,t);for(const s in ds)s in pn?s in e&&!(s in n)&&(n[s]=pn[s]):s in t?n[s]=t[s]:s in e&&(n[s]=e[s]);return n}function ef(e,t){const n=e.icons,s=e.aliases||Object.create(null),r=Object.create(null);function i(o){if(n[o])return r[o]=[];if(!(o in r)){r[o]=null;const l=s[o]&&s[o].parent,c=l&&i(l);c&&(r[o]=[l].concat(c))}return r[o]}return Object.keys(n).concat(Object.keys(s)).forEach(i),r}function tf(e,t,n){const s=e.icons,r=e.aliases||Object.create(null);let i={};function o(l){i=Or(s[l]||r[l],i)}return o(t),n.forEach(o),Or(e,i)}function no(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const s=ef(e);for(const r in s){const i=s[r];i&&(t(r,tf(e,r,i)),n.push(r))}return n}const nf={provider:"",aliases:{},not_found:{},...to};function Qn(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function so(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Qn(e,nf))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(Nt)||typeof i.body!="string"||!Qn(i,ds))return null}const s=t.aliases||Object.create(null);for(const r in s){const i=s[r],o=i.parent;if(!r.match(Nt)||typeof o!="string"||!n[o]&&!s[o]||!Qn(i,ds))return null}return t}const Pr=Object.create(null);function sf(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function at(e,t){const n=Pr[e]||(Pr[e]=Object.create(null));return n[t]||(n[t]=sf(e,t))}function Ns(e,t){return so(t)?no(t,(n,s)=>{s?e.icons[n]=s:e.missing.add(n)}):[]}function rf(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ut=!1;function ro(e){return typeof e=="boolean"&&(Ut=e),Ut}function of(e){const t=typeof e=="string"?An(e,!0,Ut):e;if(t){const n=at(t.provider,t.prefix),s=t.name;return n.icons[s]||(n.missing.has(s)?null:void 0)}}function lf(e,t){const n=An(e,!0,Ut);if(!n)return!1;const s=at(n.provider,n.prefix);return rf(s,n.name,t)}function cf(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ut&&!t&&!e.prefix){let r=!1;return so(e)&&(e.prefix="",no(e,(i,o)=>{o&&lf(i,o)&&(r=!0)})),r}const n=e.prefix;if(!rn({provider:t,prefix:n,name:"a"}))return!1;const s=at(t,n);return!!Ns(s,e)}const io=Object.freeze({width:null,height:null}),oo=Object.freeze({...io,...pn}),ff=/(-?[0-9.]*[0-9]+[0-9.]*)/g,af=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Mr(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const s=e.split(ff);if(s===null||!s.length)return e;const r=[];let i=s.shift(),o=af.test(i);for(;;){if(o){const l=parseFloat(i);isNaN(l)?r.push(i):r.push(Math.ceil(l*t*n)/n)}else r.push(i);if(i=s.shift(),i===void 0)return r.join("");o=!o}}function uf(e,t="defs"){let n="";const s=e.indexOf("<"+t);for(;s>=0;){const r=e.indexOf(">",s),i=e.indexOf("",i);if(o===-1)break;n+=e.slice(r+1,i).trim(),e=e.slice(0,s).trim()+e.slice(o+1)}return{defs:n,content:e}}function df(e,t){return e?""+e+""+t:t}function hf(e,t,n){const s=uf(e);return df(s.defs,t+s.content+n)}const pf=e=>e==="unset"||e==="undefined"||e==="none";function gf(e,t){const n={...On,...e},s={...oo,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,s].forEach(E=>{const I=[],H=E.hFlip,B=E.vFlip;let k=E.rotate;H?B?k+=2:(I.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),I.push("scale(-1 1)"),r.top=r.left=0):B&&(I.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),I.push("scale(1 -1)"),r.top=r.left=0);let T;switch(k<0&&(k-=Math.floor(k/4)*4),k=k%4,k){case 1:T=r.height/2+r.top,I.unshift("rotate(90 "+T.toString()+" "+T.toString()+")");break;case 2:I.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:T=r.width/2+r.left,I.unshift("rotate(-90 "+T.toString()+" "+T.toString()+")");break}k%2===1&&(r.left!==r.top&&(T=r.left,r.left=r.top,r.top=T),r.width!==r.height&&(T=r.width,r.width=r.height,r.height=T)),I.length&&(i=hf(i,'',""))});const o=s.width,l=s.height,c=r.width,u=r.height;let a,h;o===null?(h=l===null?"1em":l==="auto"?u:l,a=Mr(h,c/u)):(a=o==="auto"?c:o,h=l===null?Mr(a,u/c):l==="auto"?u:l);const g={},v=(E,I)=>{pf(I)||(g[E]=I.toString())};v("width",a),v("height",h);const P=[r.left,r.top,c,u];return g.viewBox=P.join(" "),{attributes:g,viewBox:P,body:i}}const mf=/\sid="(\S+)"/g,yf="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let bf=0;function _f(e,t=yf){const n=[];let s;for(;s=mf.exec(e);)n.push(s[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const o=typeof t=="function"?t(i):t+(bf++).toString(),l=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const hs=Object.create(null);function vf(e,t){hs[e]=t}function ps(e){return hs[e]||hs[""]}function Rs(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const js=Object.create(null),It=["https://api.simplesvg.com","https://api.unisvg.com"],on=[];for(;It.length>0;)It.length===1||Math.random()>.5?on.push(It.shift()):on.push(It.pop());js[""]=Rs({resources:["https://api.iconify.design"].concat(on)});function xf(e,t){const n=Rs(t);return n===null?!1:(js[e]=n,!0)}function Hs(e){return js[e]}const wf=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Lr=wf();function Cf(e,t){const n=Hs(e);if(!n)return 0;let s;if(!n.maxURL)s=0;else{let r=0;n.resources.forEach(o=>{r=Math.max(r,o.length)});const i=t+".json?icons=";s=n.maxURL-r-n.path.length-i.length}return s}function Sf(e){return e===404}const Tf=(e,t,n)=>{const s=[],r=Cf(e,t),i="icons";let o={type:i,provider:e,prefix:t,icons:[]},l=0;return n.forEach((c,u)=>{l+=c.length+1,l>=r&&u>0&&(s.push(o),o={type:i,provider:e,prefix:t,icons:[]},l=c.length),o.icons.push(c)}),s.push(o),s};function If(e){if(typeof e=="string"){const t=Hs(e);if(t)return t.path}return"/"}const Ef=(e,t,n)=>{if(!Lr){n("abort",424);return}let s=If(t.provider);switch(t.type){case"icons":{const i=t.prefix,l=t.icons.join(","),c=new URLSearchParams({icons:l});s+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;s+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let r=503;Lr(e+s).then(i=>{const o=i.status;if(o!==200){setTimeout(()=>{n(Sf(o)?"abort":"next",o)});return}return r=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",r)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",r)})},Af={prepare:Tf,send:Ef};function Of(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,i)=>r.provider!==i.provider?r.provider.localeCompare(i.provider):r.prefix!==i.prefix?r.prefix.localeCompare(i.prefix):r.name.localeCompare(i.name));let s={provider:"",prefix:"",name:""};return e.forEach(r=>{if(s.name===r.name&&s.prefix===r.prefix&&s.provider===r.provider)return;s=r;const i=r.provider,o=r.prefix,l=r.name,c=n[i]||(n[i]=Object.create(null)),u=c[o]||(c[o]=at(i,o));let a;l in u.icons?a=t.loaded:o===""||u.missing.has(l)?a=t.missing:a=t.pending;const h={provider:i,prefix:o,name:l};a.push(h)}),t}function lo(e,t){e.forEach(n=>{const s=n.loaderCallbacks;s&&(n.loaderCallbacks=s.filter(r=>r.id!==t))})}function Pf(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const s=e.provider,r=e.prefix;t.forEach(i=>{const o=i.icons,l=o.pending.length;o.pending=o.pending.filter(c=>{if(c.prefix!==r)return!0;const u=c.name;if(e.icons[u])o.loaded.push({provider:s,prefix:r,name:u});else if(e.missing.has(u))o.missing.push({provider:s,prefix:r,name:u});else return n=!0,!0;return!1}),o.pending.length!==l&&(n||lo([e],i.id),i.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),i.abort))})}))}let Mf=0;function Lf(e,t,n){const s=Mf++,r=lo.bind(null,n,s);if(!t.pending.length)return r;const i={id:s,icons:t,callback:e,abort:r};return n.forEach(o=>{(o.loaderCallbacks||(o.loaderCallbacks=[])).push(i)}),r}function Ff(e,t=!0,n=!1){const s=[];return e.forEach(r=>{const i=typeof r=="string"?An(r,t,n):r;i&&s.push(i)}),s}var Df={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Nf(e,t,n,s){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let o;if(e.random){let N=e.resources.slice(0);for(o=[];N.length>1;){const G=Math.floor(Math.random()*N.length);o.push(N[G]),N=N.slice(0,G).concat(N.slice(G+1))}o=o.concat(N)}else o=e.resources.slice(i).concat(e.resources.slice(0,i));const l=Date.now();let c="pending",u=0,a,h=null,g=[],v=[];typeof s=="function"&&v.push(s);function P(){h&&(clearTimeout(h),h=null)}function E(){c==="pending"&&(c="aborted"),P(),g.forEach(N=>{N.status==="pending"&&(N.status="aborted")}),g=[]}function I(N,G){G&&(v=[]),typeof N=="function"&&v.push(N)}function H(){return{startTime:l,payload:t,status:c,queriesSent:u,queriesPending:g.length,subscribe:I,abort:E}}function B(){c="failed",v.forEach(N=>{N(void 0,a)})}function k(){g.forEach(N=>{N.status==="pending"&&(N.status="aborted")}),g=[]}function T(N,G,se){const j=G!=="success";switch(g=g.filter(V=>V!==N),c){case"pending":break;case"failed":if(j||!e.dataAfterTimeout)return;break;default:return}if(G==="abort"){a=se,B();return}if(j){a=se,g.length||(o.length?U():B());return}if(P(),k(),!e.random){const V=e.resources.indexOf(N.resource);V!==-1&&V!==e.index&&(e.index=V)}c="completed",v.forEach(V=>{V(se)})}function U(){if(c!=="pending")return;P();const N=o.shift();if(N===void 0){if(g.length){h=setTimeout(()=>{P(),c==="pending"&&(k(),B())},e.timeout);return}B();return}const G={status:"pending",resource:N,callback:(se,j)=>{T(G,se,j)}};g.push(G),u++,h=setTimeout(U,e.rotate),n(N,t,G.callback)}return setTimeout(U),H}function co(e){const t={...Df,...e};let n=[];function s(){n=n.filter(l=>l().status==="pending")}function r(l,c,u){const a=Nf(t,l,c,(h,g)=>{s(),u&&u(h,g)});return n.push(a),a}function i(l){return n.find(c=>l(c))||null}return{query:r,find:i,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:s}}function Fr(){}const Jn=Object.create(null);function Rf(e){if(!Jn[e]){const t=Hs(e);if(!t)return;const n=co(t),s={config:t,redundancy:n};Jn[e]=s}return Jn[e]}function jf(e,t,n){let s,r;if(typeof e=="string"){const i=ps(e);if(!i)return n(void 0,424),Fr;r=i.send;const o=Rf(e);o&&(s=o.redundancy)}else{const i=Rs(e);if(i){s=co(i);const o=e.resources?e.resources[0]:"",l=ps(o);l&&(r=l.send)}}return!s||!r?(n(void 0,424),Fr):s.query(t,r,n)().abort}const Dr="iconify2",Kt="iconify",fo=Kt+"-count",Nr=Kt+"-version",ao=36e5,Hf=168,kf=50;function gs(e,t){try{return e.getItem(t)}catch{}}function ks(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Rr(e,t){try{e.removeItem(t)}catch{}}function ms(e,t){return ks(e,fo,t.toString())}function ys(e){return parseInt(gs(e,fo))||0}const Pn={local:!0,session:!0},uo={local:new Set,session:new Set};let Vs=!1;function Vf(e){Vs=e}let Zt=typeof window>"u"?{}:window;function ho(e){const t=e+"Storage";try{if(Zt&&Zt[t]&&typeof Zt[t].length=="number")return Zt[t]}catch{}Pn[e]=!1}function po(e,t){const n=ho(e);if(!n)return;const s=gs(n,Nr);if(s!==Dr){if(s){const l=ys(n);for(let c=0;c{const c=Kt+l.toString(),u=gs(n,c);if(typeof u=="string"){try{const a=JSON.parse(u);if(typeof a=="object"&&typeof a.cached=="number"&&a.cached>r&&typeof a.provider=="string"&&typeof a.data=="object"&&typeof a.data.prefix=="string"&&t(a,l))return!0}catch{}Rr(n,c)}};let o=ys(n);for(let l=o-1;l>=0;l--)i(l)||(l===o-1?(o--,ms(n,o)):uo[e].add(l))}function go(){if(!Vs){Vf(!0);for(const e in Pn)po(e,t=>{const n=t.data,s=t.provider,r=n.prefix,i=at(s,r);if(!Ns(i,n).length)return!1;const o=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,o):o,!0})}}function Bf(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const s in Pn)po(s,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function $f(e,t){Vs||go();function n(s){let r;if(!Pn[s]||!(r=ho(s)))return;const i=uo[s];let o;if(i.size)i.delete(o=Array.from(i).shift());else if(o=ys(r),o>=kf||!ms(r,o+1))return;const l={cached:Math.floor(Date.now()/ao),provider:e.provider,data:t};return ks(r,Kt+o.toString(),JSON.stringify(l))}t.lastModified&&!Bf(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function jr(){}function Uf(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Pf(e)}))}function Kf(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:s}=e,r=e.iconsToLoad;delete e.iconsToLoad;let i;if(!r||!(i=ps(n)))return;i.prepare(n,s,r).forEach(l=>{jf(n,l,c=>{if(typeof c!="object")l.icons.forEach(u=>{e.missing.add(u)});else try{const u=Ns(e,c);if(!u.length)return;const a=e.pendingIcons;a&&u.forEach(h=>{a.delete(h)}),$f(e,c)}catch(u){console.error(u)}Uf(e)})})}))}const Wf=(e,t)=>{const n=Ff(e,!0,ro()),s=Of(n);if(!s.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(s.loaded,s.missing,s.pending,jr)}),()=>{c=!1}}const r=Object.create(null),i=[];let o,l;return s.pending.forEach(c=>{const{provider:u,prefix:a}=c;if(a===l&&u===o)return;o=u,l=a,i.push(at(u,a));const h=r[u]||(r[u]=Object.create(null));h[a]||(h[a]=[])}),s.pending.forEach(c=>{const{provider:u,prefix:a,name:h}=c,g=at(u,a),v=g.pendingIcons||(g.pendingIcons=new Set);v.has(h)||(v.add(h),r[u][a].push(h))}),i.forEach(c=>{const{provider:u,prefix:a}=c;r[u][a].length&&Kf(c,r[u][a])}),t?Lf(t,s,i):jr};function qf(e,t){const n={...e};for(const s in t){const r=t[s],i=typeof r;s in io?(r===null||r&&(i==="string"||i==="number"))&&(n[s]=r):i===typeof n[s]&&(n[s]=s==="rotate"?r%4:r)}return n}const Gf=/[\s,]+/;function zf(e,t){t.split(Gf).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Qf(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function s(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:s(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/r,i%1===0?s(i):0)}}return t}function Jf(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in t)n+=" "+s+'="'+t[s]+'"';return'"+e+""}function Yf(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function Xf(e){return"data:image/svg+xml,"+Yf(e)}function Zf(e){return'url("'+Xf(e)+'")'}const Hr={...oo,inline:!1},ea={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},ta={display:"inline-block"},bs={backgroundColor:"currentColor"},mo={backgroundColor:"transparent"},kr={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Vr={webkitMask:bs,mask:bs,background:mo};for(const e in Vr){const t=Vr[e];for(const n in kr)t[e+n]=kr[n]}const ln={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ln[e+"-flip"]=t,ln[e.slice(0,1)+"-flip"]=t,ln[e+"Flip"]=t});function Br(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const $r=(e,t)=>{const n=qf(Hr,t),s={...ea},r=t.mode||"svg",i={},o=t.style,l=typeof o=="object"&&!(o instanceof Array)?o:{};for(let E in t){const I=t[E];if(I!==void 0)switch(E){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[E]=I===!0||I==="true"||I===1;break;case"flip":typeof I=="string"&&zf(n,I);break;case"color":i.color=I;break;case"rotate":typeof I=="string"?n[E]=Qf(I):typeof I=="number"&&(n[E]=I);break;case"ariaHidden":case"aria-hidden":I!==!0&&I!=="true"&&delete s["aria-hidden"];break;default:{const H=ln[E];H?(I===!0||I==="true"||I===1)&&(n[H]=!0):Hr[E]===void 0&&(s[E]=I)}}}const c=gf(e,n),u=c.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),r==="svg"){s.style={...i,...l},Object.assign(s,u);let E=0,I=t.id;return typeof I=="string"&&(I=I.replace(/-/g,"_")),s.innerHTML=_f(c.body,I?()=>I+"ID"+E++:"iconifyVue"),as("svg",s)}const{body:a,width:h,height:g}=e,v=r==="mask"||(r==="bg"?!1:a.indexOf("currentColor")!==-1),P=Jf(a,{...u,width:h+"",height:g+""});return s.style={...i,"--svg":Zf(P),width:Br(u.width),height:Br(u.height),...ta,...v?bs:mo,...l},as("span",s)};ro(!0);vf("",Af);if(typeof document<"u"&&typeof window<"u"){go();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(s=>{try{(typeof s!="object"||s===null||s instanceof Array||typeof s.icons!="object"||typeof s.prefix!="string"||!cf(s))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const s="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;xf(n,r)||console.error(s)}catch{console.error(s)}}}}const na={...On,body:""},sa=pl({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=An(e,!1,!0))===null)return this.abortLoading(),null;const s=of(n);if(!s)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",s!==null&&(this._loadingIcon={name:e,abort:Wf([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:s,classes:r}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad):null;if(!t)return $r(na,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),$r({...On,...t.data},n)}}),ra=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},ia={data(){return{showShop:!1,debugMode:!1,imagePath:"item_images/",locales:{mainTitle:"Market",mainTag:"24/7",mainDescription:`Welcome to your local 24/7, where we're always here for you, day or night! -Explore a curated selection of premium goods, tailored to meet your every need.`,cartTitle:"Shopping",cartTag:"Cart",cartDescription:"Review your chosen items and proceed to secure, easy checkout with multiple payment options.",addCart:"Add To Cart",paymentTitle:"Payment",payBank:"Bank",payCash:"Cash"},selectedCategory:"all",categories:[],items:[],cart:[]}},components:{Icon:sa},computed:{filteredItems(){return this.items.filter(e=>this.selectedCategory==="all"||e.category===this.selectedCategory)},totalPrice(){return this.cart.reduce((e,t)=>e+t.price*t.quantity,0)}},methods:{handleMessage(e){const{action:t,...n}=e.data,s={toggleShop:()=>{this.showShop=n.showShop},setShopData:()=>{this.locales={...this.locales,...n.locales},this.cart=[],this.categories=n.categories,this.selectedCategory="all",this.scrollIntoView(),this.items=n.items,this.items.forEach(r=>{r.count=0})}};s[t]&&s[t]()},handleKeyup(e){e.key==="Escape"&&this.fetchData({label:"closeShop"})},async fetchData(e){try{const t=await fetch(`https://${GetParentResourceName()}/shop:fetchData`,{method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify(e)});if(!t)throw new Error("Network response returned false");return await t.json()}catch(t){console.error("Error fetching data:",t)}},async initShopData(){const e=await this.fetchData({label:"initShopData"});e&&(this.locales=e.locales,this.imagePath=e.imagePath)},async payCart(e){if(this.cart.length===0)return;const t={label:"payCart",type:e,cart:this.cart};await this.fetchData(t)===!0&&this.clearCart()},formatPrice(e){return typeof e!="number"?e:e.toLocaleString("de-DE")},getImageSrc(e){return!e||typeof e!="string"?null:`${this.imagePath}${encodeURIComponent(e)}.png`},addToCart(e){const t=this.items.find(n=>n.name===e);if(t){const n=this.cart.findIndex(s=>s.name===t.name);n!==-1?this.cart[n].quantity+=1:this.cart.push({label:t.label,name:t.name,price:t.price,quantity:1,category:t.category}),t.count=0}},clearCart(){this.cart.length!=0&&(this.cart=[])},decrementQuantity(e){this.cart[e].quantity>0&&(this.cart[e].quantity--,this.cart[e].quantity===0&&this.cart.splice(e,1))},incrementQuantity(e){this.cart[e].quantity<999&&this.cart[e].quantity++},validateNumberInput(e){const t=e.key,n=["Backspace","Tab","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","Delete"],s=e.ctrlKey&&t==="a";/^[0-9]$/.test(t)||n.includes(t)||s||e.preventDefault()},validateQuantityInput(e){const t=this.cart[e].quantity;t===0?this.cart.splice(e,1):!t||t<0?this.cart[e].quantity=1:t>999&&(this.cart[e].quantity=999)},selectCategory(e){this.selectedCategory=e,this.scrollIntoView()},scrollIntoView(){this.$nextTick(()=>{const e=this.$refs.categorySlide,t=e.querySelector(".selected"),n=this.categories.length-2;if(this.selectedCategory==="all"&&e)e.scrollTo({left:0,behavior:"smooth"});else if(t){const s={behavior:"smooth",block:"nearest",inline:"center"};t.scrollIntoView(s),this.selectedCategory===this.categories[n].type&&e&&e.scrollTo({left:e.scrollWidth,behavior:"smooth"})}})}},mounted(){window.addEventListener("message",this.handleMessage),window.addEventListener("keyup",this.handleKeyup),this.initShopData()},unmounted(){window.removeEventListener("message",this.handleMessage),window.removeEventListener("keyup",this.handleKeyup)}},oa={key:0,id:"app"},la={class:"shop"},ca={class:"container"},fa={class:"left"},aa={class:"top"},ua={class:"header"},da={class:"title"},ha={class:"tag"},pa=["innerHTML"],ga={class:"categories"},ma={class:"category-slide",ref:"categorySlide"},ya=["onClick"],ba={class:"icon-holder"},_a={class:"name-holder"},va={class:"category-name"},xa={class:"items"},wa={key:0,class:"item"},Ca={class:"front"},Sa={class:"image-wrapper"},Ta=["src"],Ia={class:"info"},Ea={class:"item-label"},Aa={class:"item-price"},Oa=["onClick"],Pa={class:"right"},Ma={class:"cart"},La={class:"header"},Fa={class:"title"},Da={class:"tag"},Na=["innerHTML"],Ra={class:"cart-items"},ja={key:0,class:"no-cart"},Ha={class:"item-list"},ka={class:"front"},Va=["src"],Ba={class:"text-container"},$a={class:"item-label"},Ua={class:"item-price"},Ka={class:"button-container"},Wa=["onClick"],qa=["placeholder","onUpdate:modelValue","onBlur"],Ga=["onClick"],za={class:"payment"},Qa={class:"payment-title"},Ja={class:"price"},Ya={class:"pay"};function Xa(e,t,n,s,r,i){const o=Il("Icon");return Ae(),Qi(Tc,{name:"fade"},{default:_i(()=>[r.showShop||r.debugMode?(Ae(),ke("div",oa,[F("div",la,[F("div",ca,[F("div",fa,[F("div",aa,[F("div",ua,[F("div",da,[At(ue(r.locales.mainTitle)+" ",1),F("span",ha,ue(r.locales.mainTag),1)]),F("p",{class:"description",innerHTML:r.locales.mainDescription},null,8,pa)]),F("div",ga,[F("div",ma,[(Ae(!0),ke(Ce,null,Hn(r.categories,(l,c)=>(Ae(),ke("div",{key:c,class:vn(["category",{selected:r.selectedCategory===l.type}]),onClick:u=>i.selectCategory(l.type)},[F("div",ba,[ie(o,{icon:l.icon},null,8,["icon"])]),F("div",_a,[F("p",va,ue(l.name),1)])],10,ya))),128))],512)])]),F("div",xa,[(Ae(!0),ke(Ce,null,Hn(i.filteredItems,l=>(Ae(),ke("div",{key:l.name},[r.selectedCategory==="all"||r.selectedCategory===l.category?(Ae(),ke("div",wa,[F("div",Ca,[F("div",Sa,[F("img",{src:i.getImageSrc(l.name),draggable:"false"},null,8,Ta)]),F("div",Ia,[F("p",Ea,ue(l.label),1),F("div",Aa,"$"+ue(i.formatPrice(l.price)),1)]),F("div",{class:"add-to-cart",onClick:c=>i.addToCart(l.name)},ue(r.locales.addCart),9,Oa)])])):Kn("",!0)]))),128))])]),F("div",Pa,[F("div",Ma,[F("div",La,[F("div",Fa,[At(ue(r.locales.cartTitle)+" ",1),F("span",Da,ue(r.locales.cartTag),1)]),F("p",{class:"description",innerHTML:r.locales.cartDescription},null,8,Na)]),F("div",Ra,[r.cart.length===0?(Ae(),ke("div",ja,[ie(o,{icon:"mdi:shopping-basket-off"})])):Kn("",!0),F("div",Ha,[(Ae(!0),ke(Ce,null,Hn(r.cart,(l,c)=>(Ae(),ke("div",{key:l.name,class:"item"},[F("div",ka,[F("img",{src:i.getImageSrc(l.name),draggable:"false"},null,8,Va),F("div",Ba,[F("p",$a,ue(l.label),1),F("span",Ua,"$"+ue(i.formatPrice(l.price)),1)]),F("div",Ka,[F("div",{class:"decrement",onClick:u=>i.decrementQuantity(c)},[ie(o,{class:"icon",icon:"typcn:minus"})],8,Wa),fl(F("input",{class:"counter",type:"text",minlength:"1",maxlength:"3",placeholder:l.quantity,"onUpdate:modelValue":u=>l.quantity=u,onKeydown:t[0]||(t[0]=(...u)=>i.validateNumberInput&&i.validateNumberInput(...u)),onBlur:u=>i.validateQuantityInput(c)},null,40,qa),[[Gc,l.quantity,void 0,{number:!0}]]),F("div",{class:"increment",onClick:u=>i.incrementQuantity(c)},[ie(o,{class:"icon",icon:"typcn:plus"})],8,Ga)])])]))),128))])]),F("div",za,[F("p",Qa,ue(r.locales.paymentTitle),1),F("span",Ja,"$ "+ue(i.formatPrice(i.totalPrice)),1),F("div",Ya,[F("button",{class:"button",onClick:t[1]||(t[1]=l=>i.payCart("bank"))},[ie(o,{icon:"mingcute:bank-card-fill"}),At(" "+ue(r.locales.payBank),1)]),F("button",{class:"button",onClick:t[2]||(t[2]=l=>i.payCart("cash"))},[ie(o,{icon:"mdi:wallet"}),At(" "+ue(r.locales.payCash),1)])])])])])])])])):Kn("",!0)]),_:1})}const Za=ra(ia,[["render",Xa]]);Jc(Za).mount("#app"); +**/let us;const ar=typeof window<"u"&&window.trustedTypes;if(ar)try{us=ar.createPolicy("vue",{createHTML:e=>e})}catch{}const Zi=us?e=>us.createHTML(e):e=>e,vc="http://www.w3.org/2000/svg",xc="http://www.w3.org/1998/Math/MathML",Ve=typeof document<"u"?document:null,ur=Ve&&Ve.createElement("template"),wc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Ve.createElementNS(vc,e):t==="mathml"?Ve.createElementNS(xc,e):n?Ve.createElement(e,{is:n}):Ve.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ve.createTextNode(e),createComment:e=>Ve.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ve.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ur.innerHTML=Zi(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=ur.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ke="transition",Tt="animation",$t=Symbol("_vtc"),eo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Sc=re({},xi,eo),Cc=e=>(e.displayName="Transition",e.props=Sc,e),Tc=Cc((e,{slots:t})=>as(hl,Ic(e),t)),rt=(e,t=[])=>{L(e)?e.forEach(n=>n(...t)):e&&e(...t)},dr=e=>e?L(e)?e.some(t=>t.length>1):e.length>1:!1;function Ic(e){const t={};for(const A in e)A in eo||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,P=Ec(r),E=P&&P[0],I=P&&P[1],{onBeforeEnter:H,onEnter:B,onEnterCancelled:k,onLeave:T,onLeaveCancelled:U,onBeforeAppear:N=H,onAppear:G=B,onAppearCancelled:se=k}=t,j=(A,Z,ce)=>{it(A,Z?a:l),it(A,Z?u:o),ce&&ce()},V=(A,Z)=>{A._isLeaving=!1,it(A,h),it(A,v),it(A,g),Z&&Z()},ee=A=>(Z,ce)=>{const Ze=A?G:B,oe=()=>j(Z,A,ce);rt(Ze,[Z,oe]),hr(()=>{it(Z,A?c:i),We(Z,A?a:l),dr(Ze)||pr(Z,s,E,oe)})};return re(t,{onBeforeEnter(A){rt(H,[A]),We(A,i),We(A,o)},onBeforeAppear(A){rt(N,[A]),We(A,c),We(A,u)},onEnter:ee(!1),onAppear:ee(!0),onLeave(A,Z){A._isLeaving=!0;const ce=()=>V(A,Z);We(A,h),We(A,g),Pc(),hr(()=>{A._isLeaving&&(it(A,h),We(A,v),dr(T)||pr(A,s,I,ce))}),rt(T,[A,ce])},onEnterCancelled(A){j(A,!1),rt(k,[A])},onAppearCancelled(A){j(A,!0),rt(se,[A])},onLeaveCancelled(A){V(A),rt(U,[A])}})}function Ec(e){if(e==null)return null;if(X(e))return[Wn(e.enter),Wn(e.leave)];{const t=Wn(e);return[t,t]}}function Wn(e){return Co(e)}function We(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$t]||(e[$t]=new Set)).add(t)}function it(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[$t];n&&(n.delete(t),n.size||(e[$t]=void 0))}function hr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ac=0;function pr(e,t,n,s){const r=e._endId=++Ac,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Oc(e,t);if(!o)return s();const u=o+"end";let a=0;const h=()=>{e.removeEventListener(u,g),i()},g=v=>{v.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[P]||"").split(", "),r=s(`${Ke}Delay`),i=s(`${Ke}Duration`),o=gr(r,i),l=s(`${Tt}Delay`),c=s(`${Tt}Duration`),u=gr(l,c);let a=null,h=0,g=0;t===Ke?o>0&&(a=Ke,h=o,g=i.length):t===Tt?u>0&&(a=Tt,h=u,g=c.length):(h=Math.max(o,u),a=h>0?o>u?Ke:Tt:null,g=a?a===Ke?i.length:c.length:0);const v=a===Ke&&/\b(transform|all)(,|$)/.test(s(`${Ke}Property`).toString());return{type:a,timeout:h,propCount:g,hasTransform:v}}function gr(e,t){for(;e.lengthmr(n)+mr(e[s])))}function mr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Pc(){return document.body.offsetHeight}function Mc(e,t,n){const s=e[$t];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const yr=Symbol("_vod"),Lc=Symbol("_vsh"),Fc=Symbol(""),Dc=/(^|;)\s*display\s*:/;function Nc(e,t,n){const s=e.style,r=ne(n);let i=!1;if(n&&!r){if(t)if(ne(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&sn(s,l,"")}else for(const o in t)n[o]==null&&sn(s,o,"");for(const o in n)o==="display"&&(i=!0),sn(s,o,n[o])}else if(r){if(t!==n){const o=s[Fc];o&&(n+=";"+o),s.cssText=n,i=Dc.test(n)}}else t&&e.removeAttribute("style");yr in e&&(e[yr]=i?s.display:"",e[Lc]&&(s.display="none"))}const br=/\s*!important$/;function sn(e,t,n){if(L(n))n.forEach(s=>sn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Rc(e,t);br.test(n)?e.setProperty(ut(s),n.replace(br,""),"important"):e[s]=n}}const _r=["Webkit","Moz","ms"],qn={};function Rc(e,t){const n=qn[t];if(n)return n;let s=Ie(t);if(s!=="filter"&&s in e)return qn[t]=s;s=bn(s);for(let r=0;r<_r.length;r++){const i=_r[r]+s;if(i in e)return qn[t]=i}return t}const vr="http://www.w3.org/1999/xlink";function xr(e,t,n,s,r,i=Po(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(vr,t.slice(6,t.length)):e.setAttributeNS(vr,t,n):n==null||i&&!zr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Je(n)?String(n):n)}function wr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Zi(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=zr(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function pt(e,t,n,s){e.addEventListener(t,n,s)}function jc(e,t,n,s){e.removeEventListener(t,n,s)}const Sr=Symbol("_vei");function Hc(e,t,n,s,r=null){const i=e[Sr]||(e[Sr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=kc(t);if(s){const u=i[t]=$c(s,r);pt(e,l,u,c)}else o&&(jc(e,l,o,c),i[t]=void 0)}}const Cr=/(?:Once|Passive|Capture)$/;function kc(e){let t;if(Cr.test(e)){t={};let s;for(;s=e.match(Cr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ut(e.slice(2)),t]}let Gn=0;const Vc=Promise.resolve(),Bc=()=>Gn||(Vc.then(()=>Gn=0),Gn=Date.now());function $c(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Me(Uc(s,n.value),t,5,[s])};return n.value=e,n.attached=Bc(),n}function Uc(e,t){if(L(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Tr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Kc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Mc(e,s,o):t==="style"?Nc(e,n,s):gn(t)?vs(t)||Hc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wc(e,t,s,o))?(wr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ne(s))?wr(e,Ie(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),xr(e,t,s,o))};function Wc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Tr(t)&&R(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Tr(t)&&ne(n)?!1:t in e}const Ir=e=>{const t=e.props["onUpdate:modelValue"]||!1;return L(t)?n=>en(t,n):t};function qc(e){e.target.composing=!0}function Er(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const zn=Symbol("_assign"),Gc={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[zn]=Ir(r);const i=s||r.props&&r.props.type==="number";pt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Yn(l)),e[zn](l)}),n&&pt(e,"change",()=>{e.value=e.value.trim()}),t||(pt(e,"compositionstart",qc),pt(e,"compositionend",Er),pt(e,"change",Er))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[zn]=Ir(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Yn(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},zc=re({patchProp:Kc},wc);let Ar;function Qc(){return Ar||(Ar=Kl(zc))}const Jc=(...e)=>{const t=Qc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Xc(s);if(!r)return;const i=t._component;!R(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Yc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Yc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Xc(e){return ne(e)?document.querySelector(e):e}const Nt=/^[a-z0-9]+(-[a-z0-9]+)*$/,An=(e,t,n,s="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;s=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const l=r.pop(),c=r.pop(),u={provider:r.length>0?r[0]:s,prefix:c,name:l};return t&&!rn(u)?null:u}const i=r[0],o=i.split("-");if(o.length>1){const l={provider:s,prefix:o.shift(),name:o.join("-")};return t&&!rn(l)?null:l}if(n&&s===""){const l={provider:s,prefix:"",name:i};return t&&!rn(l,n)?null:l}return null},rn=(e,t)=>e?!!((e.provider===""||e.provider.match(Nt))&&(t&&e.prefix===""||e.prefix.match(Nt))&&e.name.match(Nt)):!1,to=Object.freeze({left:0,top:0,width:16,height:16}),pn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),On=Object.freeze({...to,...pn}),ds=Object.freeze({...On,body:"",hidden:!1});function Zc(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(n.rotate=s),n}function Or(e,t){const n=Zc(e,t);for(const s in ds)s in pn?s in e&&!(s in n)&&(n[s]=pn[s]):s in t?n[s]=t[s]:s in e&&(n[s]=e[s]);return n}function ef(e,t){const n=e.icons,s=e.aliases||Object.create(null),r=Object.create(null);function i(o){if(n[o])return r[o]=[];if(!(o in r)){r[o]=null;const l=s[o]&&s[o].parent,c=l&&i(l);c&&(r[o]=[l].concat(c))}return r[o]}return Object.keys(n).concat(Object.keys(s)).forEach(i),r}function tf(e,t,n){const s=e.icons,r=e.aliases||Object.create(null);let i={};function o(l){i=Or(s[l]||r[l],i)}return o(t),n.forEach(o),Or(e,i)}function no(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const s=ef(e);for(const r in s){const i=s[r];i&&(t(r,tf(e,r,i)),n.push(r))}return n}const nf={provider:"",aliases:{},not_found:{},...to};function Qn(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function so(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Qn(e,nf))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(Nt)||typeof i.body!="string"||!Qn(i,ds))return null}const s=t.aliases||Object.create(null);for(const r in s){const i=s[r],o=i.parent;if(!r.match(Nt)||typeof o!="string"||!n[o]&&!s[o]||!Qn(i,ds))return null}return t}const Pr=Object.create(null);function sf(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function at(e,t){const n=Pr[e]||(Pr[e]=Object.create(null));return n[t]||(n[t]=sf(e,t))}function Ns(e,t){return so(t)?no(t,(n,s)=>{s?e.icons[n]=s:e.missing.add(n)}):[]}function rf(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ut=!1;function ro(e){return typeof e=="boolean"&&(Ut=e),Ut}function of(e){const t=typeof e=="string"?An(e,!0,Ut):e;if(t){const n=at(t.provider,t.prefix),s=t.name;return n.icons[s]||(n.missing.has(s)?null:void 0)}}function lf(e,t){const n=An(e,!0,Ut);if(!n)return!1;const s=at(n.provider,n.prefix);return rf(s,n.name,t)}function cf(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ut&&!t&&!e.prefix){let r=!1;return so(e)&&(e.prefix="",no(e,(i,o)=>{o&&lf(i,o)&&(r=!0)})),r}const n=e.prefix;if(!rn({provider:t,prefix:n,name:"a"}))return!1;const s=at(t,n);return!!Ns(s,e)}const io=Object.freeze({width:null,height:null}),oo=Object.freeze({...io,...pn}),ff=/(-?[0-9.]*[0-9]+[0-9.]*)/g,af=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Mr(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const s=e.split(ff);if(s===null||!s.length)return e;const r=[];let i=s.shift(),o=af.test(i);for(;;){if(o){const l=parseFloat(i);isNaN(l)?r.push(i):r.push(Math.ceil(l*t*n)/n)}else r.push(i);if(i=s.shift(),i===void 0)return r.join("");o=!o}}function uf(e,t="defs"){let n="";const s=e.indexOf("<"+t);for(;s>=0;){const r=e.indexOf(">",s),i=e.indexOf("",i);if(o===-1)break;n+=e.slice(r+1,i).trim(),e=e.slice(0,s).trim()+e.slice(o+1)}return{defs:n,content:e}}function df(e,t){return e?""+e+""+t:t}function hf(e,t,n){const s=uf(e);return df(s.defs,t+s.content+n)}const pf=e=>e==="unset"||e==="undefined"||e==="none";function gf(e,t){const n={...On,...e},s={...oo,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,s].forEach(E=>{const I=[],H=E.hFlip,B=E.vFlip;let k=E.rotate;H?B?k+=2:(I.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),I.push("scale(-1 1)"),r.top=r.left=0):B&&(I.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),I.push("scale(1 -1)"),r.top=r.left=0);let T;switch(k<0&&(k-=Math.floor(k/4)*4),k=k%4,k){case 1:T=r.height/2+r.top,I.unshift("rotate(90 "+T.toString()+" "+T.toString()+")");break;case 2:I.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:T=r.width/2+r.left,I.unshift("rotate(-90 "+T.toString()+" "+T.toString()+")");break}k%2===1&&(r.left!==r.top&&(T=r.left,r.left=r.top,r.top=T),r.width!==r.height&&(T=r.width,r.width=r.height,r.height=T)),I.length&&(i=hf(i,'',""))});const o=s.width,l=s.height,c=r.width,u=r.height;let a,h;o===null?(h=l===null?"1em":l==="auto"?u:l,a=Mr(h,c/u)):(a=o==="auto"?c:o,h=l===null?Mr(a,u/c):l==="auto"?u:l);const g={},v=(E,I)=>{pf(I)||(g[E]=I.toString())};v("width",a),v("height",h);const P=[r.left,r.top,c,u];return g.viewBox=P.join(" "),{attributes:g,viewBox:P,body:i}}const mf=/\sid="(\S+)"/g,yf="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let bf=0;function _f(e,t=yf){const n=[];let s;for(;s=mf.exec(e);)n.push(s[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const o=typeof t=="function"?t(i):t+(bf++).toString(),l=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const hs=Object.create(null);function vf(e,t){hs[e]=t}function ps(e){return hs[e]||hs[""]}function Rs(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const js=Object.create(null),It=["https://api.simplesvg.com","https://api.unisvg.com"],on=[];for(;It.length>0;)It.length===1||Math.random()>.5?on.push(It.shift()):on.push(It.pop());js[""]=Rs({resources:["https://api.iconify.design"].concat(on)});function xf(e,t){const n=Rs(t);return n===null?!1:(js[e]=n,!0)}function Hs(e){return js[e]}const wf=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Lr=wf();function Sf(e,t){const n=Hs(e);if(!n)return 0;let s;if(!n.maxURL)s=0;else{let r=0;n.resources.forEach(o=>{r=Math.max(r,o.length)});const i=t+".json?icons=";s=n.maxURL-r-n.path.length-i.length}return s}function Cf(e){return e===404}const Tf=(e,t,n)=>{const s=[],r=Sf(e,t),i="icons";let o={type:i,provider:e,prefix:t,icons:[]},l=0;return n.forEach((c,u)=>{l+=c.length+1,l>=r&&u>0&&(s.push(o),o={type:i,provider:e,prefix:t,icons:[]},l=c.length),o.icons.push(c)}),s.push(o),s};function If(e){if(typeof e=="string"){const t=Hs(e);if(t)return t.path}return"/"}const Ef=(e,t,n)=>{if(!Lr){n("abort",424);return}let s=If(t.provider);switch(t.type){case"icons":{const i=t.prefix,l=t.icons.join(","),c=new URLSearchParams({icons:l});s+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;s+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let r=503;Lr(e+s).then(i=>{const o=i.status;if(o!==200){setTimeout(()=>{n(Cf(o)?"abort":"next",o)});return}return r=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",r)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",r)})},Af={prepare:Tf,send:Ef};function Of(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,i)=>r.provider!==i.provider?r.provider.localeCompare(i.provider):r.prefix!==i.prefix?r.prefix.localeCompare(i.prefix):r.name.localeCompare(i.name));let s={provider:"",prefix:"",name:""};return e.forEach(r=>{if(s.name===r.name&&s.prefix===r.prefix&&s.provider===r.provider)return;s=r;const i=r.provider,o=r.prefix,l=r.name,c=n[i]||(n[i]=Object.create(null)),u=c[o]||(c[o]=at(i,o));let a;l in u.icons?a=t.loaded:o===""||u.missing.has(l)?a=t.missing:a=t.pending;const h={provider:i,prefix:o,name:l};a.push(h)}),t}function lo(e,t){e.forEach(n=>{const s=n.loaderCallbacks;s&&(n.loaderCallbacks=s.filter(r=>r.id!==t))})}function Pf(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const s=e.provider,r=e.prefix;t.forEach(i=>{const o=i.icons,l=o.pending.length;o.pending=o.pending.filter(c=>{if(c.prefix!==r)return!0;const u=c.name;if(e.icons[u])o.loaded.push({provider:s,prefix:r,name:u});else if(e.missing.has(u))o.missing.push({provider:s,prefix:r,name:u});else return n=!0,!0;return!1}),o.pending.length!==l&&(n||lo([e],i.id),i.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),i.abort))})}))}let Mf=0;function Lf(e,t,n){const s=Mf++,r=lo.bind(null,n,s);if(!t.pending.length)return r;const i={id:s,icons:t,callback:e,abort:r};return n.forEach(o=>{(o.loaderCallbacks||(o.loaderCallbacks=[])).push(i)}),r}function Ff(e,t=!0,n=!1){const s=[];return e.forEach(r=>{const i=typeof r=="string"?An(r,t,n):r;i&&s.push(i)}),s}var Df={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Nf(e,t,n,s){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let o;if(e.random){let N=e.resources.slice(0);for(o=[];N.length>1;){const G=Math.floor(Math.random()*N.length);o.push(N[G]),N=N.slice(0,G).concat(N.slice(G+1))}o=o.concat(N)}else o=e.resources.slice(i).concat(e.resources.slice(0,i));const l=Date.now();let c="pending",u=0,a,h=null,g=[],v=[];typeof s=="function"&&v.push(s);function P(){h&&(clearTimeout(h),h=null)}function E(){c==="pending"&&(c="aborted"),P(),g.forEach(N=>{N.status==="pending"&&(N.status="aborted")}),g=[]}function I(N,G){G&&(v=[]),typeof N=="function"&&v.push(N)}function H(){return{startTime:l,payload:t,status:c,queriesSent:u,queriesPending:g.length,subscribe:I,abort:E}}function B(){c="failed",v.forEach(N=>{N(void 0,a)})}function k(){g.forEach(N=>{N.status==="pending"&&(N.status="aborted")}),g=[]}function T(N,G,se){const j=G!=="success";switch(g=g.filter(V=>V!==N),c){case"pending":break;case"failed":if(j||!e.dataAfterTimeout)return;break;default:return}if(G==="abort"){a=se,B();return}if(j){a=se,g.length||(o.length?U():B());return}if(P(),k(),!e.random){const V=e.resources.indexOf(N.resource);V!==-1&&V!==e.index&&(e.index=V)}c="completed",v.forEach(V=>{V(se)})}function U(){if(c!=="pending")return;P();const N=o.shift();if(N===void 0){if(g.length){h=setTimeout(()=>{P(),c==="pending"&&(k(),B())},e.timeout);return}B();return}const G={status:"pending",resource:N,callback:(se,j)=>{T(G,se,j)}};g.push(G),u++,h=setTimeout(U,e.rotate),n(N,t,G.callback)}return setTimeout(U),H}function co(e){const t={...Df,...e};let n=[];function s(){n=n.filter(l=>l().status==="pending")}function r(l,c,u){const a=Nf(t,l,c,(h,g)=>{s(),u&&u(h,g)});return n.push(a),a}function i(l){return n.find(c=>l(c))||null}return{query:r,find:i,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:s}}function Fr(){}const Jn=Object.create(null);function Rf(e){if(!Jn[e]){const t=Hs(e);if(!t)return;const n=co(t),s={config:t,redundancy:n};Jn[e]=s}return Jn[e]}function jf(e,t,n){let s,r;if(typeof e=="string"){const i=ps(e);if(!i)return n(void 0,424),Fr;r=i.send;const o=Rf(e);o&&(s=o.redundancy)}else{const i=Rs(e);if(i){s=co(i);const o=e.resources?e.resources[0]:"",l=ps(o);l&&(r=l.send)}}return!s||!r?(n(void 0,424),Fr):s.query(t,r,n)().abort}const Dr="iconify2",Kt="iconify",fo=Kt+"-count",Nr=Kt+"-version",ao=36e5,Hf=168,kf=50;function gs(e,t){try{return e.getItem(t)}catch{}}function ks(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Rr(e,t){try{e.removeItem(t)}catch{}}function ms(e,t){return ks(e,fo,t.toString())}function ys(e){return parseInt(gs(e,fo))||0}const Pn={local:!0,session:!0},uo={local:new Set,session:new Set};let Vs=!1;function Vf(e){Vs=e}let Zt=typeof window>"u"?{}:window;function ho(e){const t=e+"Storage";try{if(Zt&&Zt[t]&&typeof Zt[t].length=="number")return Zt[t]}catch{}Pn[e]=!1}function po(e,t){const n=ho(e);if(!n)return;const s=gs(n,Nr);if(s!==Dr){if(s){const l=ys(n);for(let c=0;c{const c=Kt+l.toString(),u=gs(n,c);if(typeof u=="string"){try{const a=JSON.parse(u);if(typeof a=="object"&&typeof a.cached=="number"&&a.cached>r&&typeof a.provider=="string"&&typeof a.data=="object"&&typeof a.data.prefix=="string"&&t(a,l))return!0}catch{}Rr(n,c)}};let o=ys(n);for(let l=o-1;l>=0;l--)i(l)||(l===o-1?(o--,ms(n,o)):uo[e].add(l))}function go(){if(!Vs){Vf(!0);for(const e in Pn)po(e,t=>{const n=t.data,s=t.provider,r=n.prefix,i=at(s,r);if(!Ns(i,n).length)return!1;const o=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,o):o,!0})}}function Bf(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const s in Pn)po(s,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function $f(e,t){Vs||go();function n(s){let r;if(!Pn[s]||!(r=ho(s)))return;const i=uo[s];let o;if(i.size)i.delete(o=Array.from(i).shift());else if(o=ys(r),o>=kf||!ms(r,o+1))return;const l={cached:Math.floor(Date.now()/ao),provider:e.provider,data:t};return ks(r,Kt+o.toString(),JSON.stringify(l))}t.lastModified&&!Bf(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function jr(){}function Uf(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Pf(e)}))}function Kf(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:s}=e,r=e.iconsToLoad;delete e.iconsToLoad;let i;if(!r||!(i=ps(n)))return;i.prepare(n,s,r).forEach(l=>{jf(n,l,c=>{if(typeof c!="object")l.icons.forEach(u=>{e.missing.add(u)});else try{const u=Ns(e,c);if(!u.length)return;const a=e.pendingIcons;a&&u.forEach(h=>{a.delete(h)}),$f(e,c)}catch(u){console.error(u)}Uf(e)})})}))}const Wf=(e,t)=>{const n=Ff(e,!0,ro()),s=Of(n);if(!s.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(s.loaded,s.missing,s.pending,jr)}),()=>{c=!1}}const r=Object.create(null),i=[];let o,l;return s.pending.forEach(c=>{const{provider:u,prefix:a}=c;if(a===l&&u===o)return;o=u,l=a,i.push(at(u,a));const h=r[u]||(r[u]=Object.create(null));h[a]||(h[a]=[])}),s.pending.forEach(c=>{const{provider:u,prefix:a,name:h}=c,g=at(u,a),v=g.pendingIcons||(g.pendingIcons=new Set);v.has(h)||(v.add(h),r[u][a].push(h))}),i.forEach(c=>{const{provider:u,prefix:a}=c;r[u][a].length&&Kf(c,r[u][a])}),t?Lf(t,s,i):jr};function qf(e,t){const n={...e};for(const s in t){const r=t[s],i=typeof r;s in io?(r===null||r&&(i==="string"||i==="number"))&&(n[s]=r):i===typeof n[s]&&(n[s]=s==="rotate"?r%4:r)}return n}const Gf=/[\s,]+/;function zf(e,t){t.split(Gf).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Qf(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function s(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:s(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/r,i%1===0?s(i):0)}}return t}function Jf(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in t)n+=" "+s+'="'+t[s]+'"';return'"+e+""}function Yf(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function Xf(e){return"data:image/svg+xml,"+Yf(e)}function Zf(e){return'url("'+Xf(e)+'")'}const Hr={...oo,inline:!1},ea={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},ta={display:"inline-block"},bs={backgroundColor:"currentColor"},mo={backgroundColor:"transparent"},kr={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Vr={webkitMask:bs,mask:bs,background:mo};for(const e in Vr){const t=Vr[e];for(const n in kr)t[e+n]=kr[n]}const ln={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ln[e+"-flip"]=t,ln[e.slice(0,1)+"-flip"]=t,ln[e+"Flip"]=t});function Br(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const $r=(e,t)=>{const n=qf(Hr,t),s={...ea},r=t.mode||"svg",i={},o=t.style,l=typeof o=="object"&&!(o instanceof Array)?o:{};for(let E in t){const I=t[E];if(I!==void 0)switch(E){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[E]=I===!0||I==="true"||I===1;break;case"flip":typeof I=="string"&&zf(n,I);break;case"color":i.color=I;break;case"rotate":typeof I=="string"?n[E]=Qf(I):typeof I=="number"&&(n[E]=I);break;case"ariaHidden":case"aria-hidden":I!==!0&&I!=="true"&&delete s["aria-hidden"];break;default:{const H=ln[E];H?(I===!0||I==="true"||I===1)&&(n[H]=!0):Hr[E]===void 0&&(s[E]=I)}}}const c=gf(e,n),u=c.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),r==="svg"){s.style={...i,...l},Object.assign(s,u);let E=0,I=t.id;return typeof I=="string"&&(I=I.replace(/-/g,"_")),s.innerHTML=_f(c.body,I?()=>I+"ID"+E++:"iconifyVue"),as("svg",s)}const{body:a,width:h,height:g}=e,v=r==="mask"||(r==="bg"?!1:a.indexOf("currentColor")!==-1),P=Jf(a,{...u,width:h+"",height:g+""});return s.style={...i,"--svg":Zf(P),width:Br(u.width),height:Br(u.height),...ta,...v?bs:mo,...l},as("span",s)};ro(!0);vf("",Af);if(typeof document<"u"&&typeof window<"u"){go();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(s=>{try{(typeof s!="object"||s===null||s instanceof Array||typeof s.icons!="object"||typeof s.prefix!="string"||!cf(s))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const s="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;xf(n,r)||console.error(s)}catch{console.error(s)}}}}const na={...On,body:""},sa=pl({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=An(e,!1,!0))===null)return this.abortLoading(),null;const s=of(n);if(!s)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",s!==null&&(this._loadingIcon={name:e,abort:Wf([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:s,classes:r}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad):null;if(!t)return $r(na,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),$r({...On,...t.data},n)}}),ra=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},ia={data(){return{showShop:!1,debugMode:!1,imagePath:"item_images/",currencySymbol:"$",locales:{mainTitle:"Market",mainTag:"24/7",mainDescription:`Welcome to your local 24/7, where we're always here for you, day or night! +Explore a curated selection of premium goods, tailored to meet your every need.`,cartTitle:"Shopping",cartTag:"Cart",cartDescription:"Review your chosen items and proceed to secure, easy checkout with multiple payment options.",addCart:"Add To Cart",paymentTitle:"Payment",payBank:"Bank",payCash:"Cash"},selectedCategory:"all",categories:[],items:[],cart:[]}},components:{Icon:sa},computed:{filteredItems(){return this.items.filter(e=>this.selectedCategory==="all"||e.category===this.selectedCategory)},totalPrice(){return this.cart.reduce((e,t)=>e+t.price*t.quantity,0)}},methods:{handleMessage(e){const{action:t,...n}=e.data,s={toggleShop:()=>{this.showShop=n.showShop},setShopData:()=>{this.locales={...this.locales,...n.locales},this.cart=[],this.categories=n.categories,this.selectedCategory="all",this.scrollIntoView(),this.items=n.items,this.items.forEach(r=>{r.count=0})}};s[t]&&s[t]()},handleKeyup(e){e.key==="Escape"&&this.fetchData({label:"closeShop"})},async fetchData(e){try{const t=await fetch(`https://${GetParentResourceName()}/shop:fetchData`,{method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify(e)});if(!t)throw new Error("Network response returned false");return await t.json()}catch(t){console.error("Error fetching data:",t)}},async initShopData(){const e=await this.fetchData({label:"initShopData"});e&&(this.locales=e.locales,this.imagePath=e.imagePath,this.currencySymbol=e.currencySymbol)},async payCart(e){if(this.cart.length===0)return;const t={label:"payCart",type:e,cart:this.cart};await this.fetchData(t)===!0&&this.clearCart()},formatPrice(e){return typeof e!="number"?e:`${this.currencySymbol||"$"} ${e.toLocaleString("de-DE")}`},getImageSrc(e){return!e||typeof e!="string"?null:`${this.imagePath}${encodeURIComponent(e)}.png`},addToCart(e){const t=this.items.find(n=>n.name===e);if(t){const n=this.cart.findIndex(s=>s.name===t.name);n!==-1?this.cart[n].quantity+=1:this.cart.push({label:t.label,name:t.name,price:t.price,quantity:1,category:t.category}),t.count=0}},clearCart(){this.cart.length!=0&&(this.cart=[])},decrementQuantity(e){this.cart[e].quantity>0&&(this.cart[e].quantity--,this.cart[e].quantity===0&&this.cart.splice(e,1))},incrementQuantity(e){this.cart[e].quantity<999&&this.cart[e].quantity++},validateNumberInput(e){const t=e.key,n=["Backspace","Tab","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","Delete"],s=e.ctrlKey&&t==="a";/^[0-9]$/.test(t)||n.includes(t)||s||e.preventDefault()},validateQuantityInput(e){const t=this.cart[e].quantity;t===0?this.cart.splice(e,1):!t||t<0?this.cart[e].quantity=1:t>999&&(this.cart[e].quantity=999)},selectCategory(e){this.selectedCategory=e,this.scrollIntoView()},scrollIntoView(){this.$nextTick(()=>{const e=this.$refs.categorySlide,t=e.querySelector(".selected"),n=this.categories.length-2;if(this.selectedCategory==="all"&&e)e.scrollTo({left:0,behavior:"smooth"});else if(t){const s={behavior:"smooth",block:"nearest",inline:"center"};t.scrollIntoView(s),this.selectedCategory===this.categories[n].type&&e&&e.scrollTo({left:e.scrollWidth,behavior:"smooth"})}})}},mounted(){window.addEventListener("message",this.handleMessage),window.addEventListener("keyup",this.handleKeyup),this.initShopData()},unmounted(){window.removeEventListener("message",this.handleMessage),window.removeEventListener("keyup",this.handleKeyup)}},oa={key:0,id:"app"},la={class:"shop"},ca={class:"container"},fa={class:"left"},aa={class:"top"},ua={class:"header"},da={class:"title"},ha={class:"tag"},pa=["innerHTML"],ga={class:"categories"},ma={class:"category-slide",ref:"categorySlide"},ya=["onClick"],ba={class:"icon-holder"},_a={class:"name-holder"},va={class:"category-name"},xa={class:"items"},wa={key:0,class:"item"},Sa={class:"front"},Ca={class:"image-wrapper"},Ta=["src"],Ia={class:"info"},Ea={class:"item-label"},Aa={class:"item-price"},Oa=["onClick"],Pa={class:"right"},Ma={class:"cart"},La={class:"header"},Fa={class:"title"},Da={class:"tag"},Na=["innerHTML"],Ra={class:"cart-items"},ja={key:0,class:"no-cart"},Ha={class:"item-list"},ka={class:"front"},Va=["src"],Ba={class:"text-container"},$a={class:"item-label"},Ua={class:"item-price"},Ka={class:"button-container"},Wa=["onClick"],qa=["placeholder","onUpdate:modelValue","onBlur"],Ga=["onClick"],za={class:"payment"},Qa={class:"payment-title"},Ja={class:"price"},Ya={class:"pay"};function Xa(e,t,n,s,r,i){const o=Il("Icon");return Ae(),Qi(Tc,{name:"fade"},{default:_i(()=>[r.showShop||r.debugMode?(Ae(),ke("div",oa,[F("div",la,[F("div",ca,[F("div",fa,[F("div",aa,[F("div",ua,[F("div",da,[At(ue(r.locales.mainTitle)+" ",1),F("span",ha,ue(r.locales.mainTag),1)]),F("p",{class:"description",innerHTML:r.locales.mainDescription},null,8,pa)]),F("div",ga,[F("div",ma,[(Ae(!0),ke(Se,null,Hn(r.categories,(l,c)=>(Ae(),ke("div",{key:c,class:vn(["category",{selected:r.selectedCategory===l.type}]),onClick:u=>i.selectCategory(l.type)},[F("div",ba,[ie(o,{icon:l.icon},null,8,["icon"])]),F("div",_a,[F("p",va,ue(l.name),1)])],10,ya))),128))],512)])]),F("div",xa,[(Ae(!0),ke(Se,null,Hn(i.filteredItems,l=>(Ae(),ke("div",{key:l.name},[r.selectedCategory==="all"||r.selectedCategory===l.category?(Ae(),ke("div",wa,[F("div",Sa,[F("div",Ca,[F("img",{src:i.getImageSrc(l.name),draggable:"false"},null,8,Ta)]),F("div",Ia,[F("p",Ea,ue(l.label),1),F("div",Aa,ue(i.formatPrice(l.price)),1)]),F("div",{class:"add-to-cart",onClick:c=>i.addToCart(l.name)},ue(r.locales.addCart),9,Oa)])])):Kn("",!0)]))),128))])]),F("div",Pa,[F("div",Ma,[F("div",La,[F("div",Fa,[At(ue(r.locales.cartTitle)+" ",1),F("span",Da,ue(r.locales.cartTag),1)]),F("p",{class:"description",innerHTML:r.locales.cartDescription},null,8,Na)]),F("div",Ra,[r.cart.length===0?(Ae(),ke("div",ja,[ie(o,{icon:"mdi:shopping-basket-off"})])):Kn("",!0),F("div",Ha,[(Ae(!0),ke(Se,null,Hn(r.cart,(l,c)=>(Ae(),ke("div",{key:l.name,class:"item"},[F("div",ka,[F("img",{src:i.getImageSrc(l.name),draggable:"false"},null,8,Va),F("div",Ba,[F("p",$a,ue(l.label),1),F("span",Ua,ue(i.formatPrice(l.price)),1)]),F("div",Ka,[F("div",{class:"decrement",onClick:u=>i.decrementQuantity(c)},[ie(o,{class:"icon",icon:"typcn:minus"})],8,Wa),fl(F("input",{class:"counter",type:"text",minlength:"1",maxlength:"3",placeholder:l.quantity,"onUpdate:modelValue":u=>l.quantity=u,onKeydown:t[0]||(t[0]=(...u)=>i.validateNumberInput&&i.validateNumberInput(...u)),onBlur:u=>i.validateQuantityInput(c)},null,40,qa),[[Gc,l.quantity,void 0,{number:!0}]]),F("div",{class:"increment",onClick:u=>i.incrementQuantity(c)},[ie(o,{class:"icon",icon:"typcn:plus"})],8,Ga)])])]))),128))])]),F("div",za,[F("p",Qa,ue(r.locales.paymentTitle),1),F("span",Ja,ue(i.formatPrice(i.totalPrice)),1),F("div",Ya,[F("button",{class:"button",onClick:t[1]||(t[1]=l=>i.payCart("bank"))},[ie(o,{icon:"mingcute:bank-card-fill"}),At(" "+ue(r.locales.payBank),1)]),F("button",{class:"button",onClick:t[2]||(t[2]=l=>i.payCart("cash"))},[ie(o,{icon:"mdi:wallet"}),At(" "+ue(r.locales.payCash),1)])])])])])])])])):Kn("",!0)]),_:1})}const Za=ra(ia,[["render",Xa]]);Jc(Za).mount("#app"); diff --git a/web/index.html b/web/index.html index 1e4c094..39df317 100644 --- a/web/index.html +++ b/web/index.html @@ -4,7 +4,7 @@ Cloud Shop - +