2026-04-14 15:54:53 +02:00

18 lines
104 KiB
JavaScript

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&s(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();/**
* @vue/shared v3.5.32
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function us(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const te={},Mt=[],Qe=()=>{},vi=()=>!1,kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$n=e=>e.startsWith("onUpdate:"),ge=Object.assign,fs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Mo=Object.prototype.hasOwnProperty,J=(e,t)=>Mo.call(e,t),R=Array.isArray,It=e=>sn(e)==="[object Map]",yi=e=>sn(e)==="[object Set]",Ms=e=>sn(e)==="[object Date]",H=e=>typeof e=="function",ae=e=>typeof e=="string",Ve=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",bi=e=>(Z(e)||H(e))&&H(e.then)&&H(e.catch),_i=Object.prototype.toString,sn=e=>_i.call(e),Io=e=>sn(e).slice(8,-1),xi=e=>sn(e)==="[object Object]",ds=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kt=us(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Sn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Oo=/-\w/g,Fe=Sn(e=>e.replace(Oo,t=>t.slice(1).toUpperCase())),Lo=/\B([A-Z])/g,gt=Sn(e=>e.replace(Lo,"-$1").toLowerCase()),wi=Sn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vn=Sn(e=>e?`on${wi(e)}`:""),Xe=(e,t)=>!Object.is(e,t),fn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ci=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},hs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bo=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let Is;const An=()=>Is||(Is=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pt(e){if(R(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=ae(s)?Vo(s):pt(s);if(i)for(const o in i)t[o]=i[o]}return t}else if(ae(e)||Z(e))return e}const Ro=/;(?![^(]*\))/g,Fo=/:([^]+)/,No=/\/\*[^]*?\*\//g;function Vo(e){const t={};return e.replace(No,"").split(Ro).forEach(n=>{if(n){const s=n.split(Fo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function rt(e){let t="";if(ae(e))t=e;else if(R(e))for(let n=0;n<e.length;n++){const s=rt(e[n]);s&&(t+=s+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Do="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ho=us(Do);function ki(e){return!!e||e===""}function jo(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=ps(e[s],t[s]);return n}function ps(e,t){if(e===t)return!0;let n=Ms(e),s=Ms(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ve(e),s=Ve(t),n||s)return e===t;if(n=R(e),s=R(t),n||s)return n&&s?jo(e,t):!1;if(n=Z(e),s=Z(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const l in e){const r=e.hasOwnProperty(l),c=t.hasOwnProperty(l);if(r&&!c||!r&&c||!ps(e[l],t[l]))return!1}}return String(e)===String(t)}const $i=e=>!!(e&&e.__v_isRef===!0),A=e=>ae(e)?e:e==null?"":R(e)||Z(e)&&(e.toString===_i||!H(e.toString))?$i(e)?A(e.value):JSON.stringify(e,Si,2):String(e),Si=(e,t)=>$i(t)?Si(e,t.value):It(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],o)=>(n[Dn(s,o)+" =>"]=i,n),{})}:yi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Dn(n))}:Ve(t)?Dn(t):Z(t)&&!R(t)&&!xi(t)?String(t):t,Dn=(e,t="")=>{var n;return Ve(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.32
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Te;class Ko{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Te,!t&&Te&&(this.index=(Te.scopes||(Te.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;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Te;try{return Te=this,t()}finally{Te=n}}}on(){++this._on===1&&(this.prevScope=Te,Te=this)}off(){this._on>0&&--this._on===0&&(Te=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Wo(){return Te}let oe;const Hn=new WeakSet;class Ai{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Te&&Te.active&&Te.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Hn.has(this)&&(Hn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Pi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Os(this),Ei(this);const t=oe,n=Ne;oe=this,Ne=!0;try{return this.fn()}finally{Mi(this),oe=t,Ne=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)vs(t);this.deps=this.depsTail=void 0,Os(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Hn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Xn(this)&&this.run()}get dirty(){return Xn(this)}}let Ti=0,Wt,Ut;function Pi(e,t=!1){if(e.flags|=8,t){e.next=Ut,Ut=e;return}e.next=Wt,Wt=e}function ms(){Ti++}function gs(){if(--Ti>0)return;if(Ut){let t=Ut;for(Ut=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Wt;){let t=Wt;for(Wt=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 Mi(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),vs(s),Uo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}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&&(Ii(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ii(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Jt)||(e.globalVersion=Jt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Xn(e))))return;e.flags|=2;const t=e.dep,n=oe,s=Ne;oe=e,Ne=!0;try{Ei(e);const i=e.fn(e._value);(t.version===0||Xe(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{oe=n,Ne=s,Mi(e),e.flags&=-3}}function vs(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)vs(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Uo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const Oi=[];function ct(){Oi.push(Ne),Ne=!1}function at(){const e=Oi.pop();Ne=e===void 0?!0:e}function Os(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=oe;oe=void 0;try{t()}finally{oe=n}}}let Jt=0;class zo{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 ys{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,this.__v_skip=!0}track(t){if(!oe||!Ne||oe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==oe)n=this.activeLink=new zo(oe,this),oe.deps?(n.prevDep=oe.depsTail,oe.depsTail.nextDep=n,oe.depsTail=n):oe.deps=oe.depsTail=n,Li(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=oe.depsTail,n.nextDep=void 0,oe.depsTail.nextDep=n,oe.depsTail=n,oe.deps===n&&(oe.deps=s)}return n}trigger(t){this.version++,Jt++,this.notify(t)}notify(t){ms();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{gs()}}}function Li(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)Li(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Qn=new WeakMap,Ct=Symbol(""),es=Symbol(""),Yt=Symbol("");function be(e,t,n){if(Ne&&oe){let s=Qn.get(e);s||Qn.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new ys),i.map=s,i.key=n),i.track()}}function ot(e,t,n,s,i,o){const l=Qn.get(e);if(!l){Jt++;return}const r=c=>{c&&c.trigger()};if(ms(),t==="clear")l.forEach(r);else{const c=R(e),d=c&&ds(n);if(c&&n==="length"){const a=Number(s);l.forEach((p,w)=>{(w==="length"||w===Yt||!Ve(w)&&w>=a)&&r(p)})}else switch((n!==void 0||l.has(void 0))&&r(l.get(n)),d&&r(l.get(Yt)),t){case"add":c?d&&r(l.get("length")):(r(l.get(Ct)),It(e)&&r(l.get(es)));break;case"delete":c||(r(l.get(Ct)),It(e)&&r(l.get(es)));break;case"set":It(e)&&r(l.get(Ct));break}}gs()}function Tt(e){const t=G(e);return t===e?t:(be(t,"iterate",Yt),Le(e)?t:t.map(De))}function Tn(e){return be(e=G(e),"iterate",Yt),e}function Ye(e,t){return ut(e)?Rt(kt(e)?De(t):t):De(t)}const qo={__proto__:null,[Symbol.iterator](){return jn(this,Symbol.iterator,e=>Ye(this,e))},concat(...e){return Tt(this).concat(...e.map(t=>R(t)?Tt(t):t))},entries(){return jn(this,"entries",e=>(e[1]=Ye(this,e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,n=>n.map(s=>Ye(this,s)),arguments)},find(e,t){return tt(this,"find",e,t,n=>Ye(this,n),arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,n=>Ye(this,n),arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Kn(this,"includes",e)},indexOf(...e){return Kn(this,"indexOf",e)},join(e){return Tt(this).join(e)},lastIndexOf(...e){return Kn(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return Vt(this,"pop")},push(...e){return Vt(this,"push",e)},reduce(e,...t){return Ls(this,"reduce",e,t)},reduceRight(e,...t){return Ls(this,"reduceRight",e,t)},shift(){return Vt(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return Vt(this,"splice",e)},toReversed(){return Tt(this).toReversed()},toSorted(e){return Tt(this).toSorted(e)},toSpliced(...e){return Tt(this).toSpliced(...e)},unshift(...e){return Vt(this,"unshift",e)},values(){return jn(this,"values",e=>Ye(this,e))}};function jn(e,t,n){const s=Tn(e),i=s[t]();return s!==e&&!Le(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=n(o.value)),o}),i}const Go=Array.prototype;function tt(e,t,n,s,i,o){const l=Tn(e),r=l!==e&&!Le(e),c=l[t];if(c!==Go[t]){const p=c.apply(e,o);return r?De(p):p}let d=n;l!==e&&(r?d=function(p,w){return n.call(this,Ye(e,p),w,e)}:n.length>2&&(d=function(p,w){return n.call(this,p,w,e)}));const a=c.call(l,d,s);return r&&i?i(a):a}function Ls(e,t,n,s){const i=Tn(e),o=i!==e&&!Le(e);let l=n,r=!1;i!==e&&(o?(r=s.length===0,l=function(d,a,p){return r&&(r=!1,d=Ye(e,d)),n.call(this,d,Ye(e,a),p,e)}):n.length>3&&(l=function(d,a,p){return n.call(this,d,a,p,e)}));const c=i[t](l,...s);return r?Ye(e,c):c}function Kn(e,t,n){const s=G(e);be(s,"iterate",Yt);const i=s[t](...n);return(i===-1||i===!1)&&ws(n[0])?(n[0]=G(n[0]),s[t](...n)):i}function Vt(e,t,n=[]){ct(),ms();const s=G(e)[t].apply(e,n);return gs(),at(),s}const Jo=us("__proto__,__v_isRef,__isVue"),Bi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ve));function Yo(e){Ve(e)||(e=String(e));const t=G(this);return be(t,"has",e),t.hasOwnProperty(e)}class Ri{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(i?o?ll:Di:o?Vi:Ni).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const l=R(t);if(!i){let c;if(l&&(c=qo[n]))return c;if(n==="hasOwnProperty")return Yo}const r=Reflect.get(t,n,Ce(t)?t:s);if((Ve(n)?Bi.has(n):Jo(n))||(i||be(t,"get",n),o))return r;if(Ce(r)){const c=l&&ds(n)?r:r.value;return i&&Z(c)?ns(c):c}return Z(r)?i?ns(r):_s(r):r}}class Fi extends Ri{constructor(t=!1){super(!1,t)}set(t,n,s,i){let o=t[n];const l=R(t)&&ds(n);if(!this._isShallow){const d=ut(o);if(!Le(s)&&!ut(s)&&(o=G(o),s=G(s)),!l&&Ce(o)&&!Ce(s))return d||(o.value=s),!0}const r=l?Number(n)<t.length:J(t,n),c=Reflect.set(t,n,s,Ce(t)?t:i);return t===G(i)&&(r?Xe(s,o)&&ot(t,"set",n,s):ot(t,"add",n,s)),c}deleteProperty(t,n){const s=J(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&s&&ot(t,"delete",n,void 0),i}has(t,n){const s=Reflect.has(t,n);return(!Ve(n)||!Bi.has(n))&&be(t,"has",n),s}ownKeys(t){return be(t,"iterate",R(t)?"length":Ct),Reflect.ownKeys(t)}}class Zo extends Ri{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Xo=new Fi,Qo=new Zo,el=new Fi(!0);const ts=e=>e,cn=e=>Reflect.getPrototypeOf(e);function tl(e,t,n){return function(...s){const i=this.__v_raw,o=G(i),l=It(o),r=e==="entries"||e===Symbol.iterator&&l,c=e==="keys"&&l,d=i[e](...s),a=n?ts:t?Rt:De;return!t&&be(o,"iterate",c?es:Ct),ge(Object.create(d),{next(){const{value:p,done:w}=d.next();return w?{value:p,done:w}:{value:r?[a(p[0]),a(p[1])]:a(p),done:w}}})}}function an(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function nl(e,t){const n={get(i){const o=this.__v_raw,l=G(o),r=G(i);e||(Xe(i,r)&&be(l,"get",i),be(l,"get",r));const{has:c}=cn(l),d=t?ts:e?Rt:De;if(c.call(l,i))return d(o.get(i));if(c.call(l,r))return d(o.get(r));o!==l&&o.get(i)},get size(){const i=this.__v_raw;return!e&&be(G(i),"iterate",Ct),i.size},has(i){const o=this.__v_raw,l=G(o),r=G(i);return e||(Xe(i,r)&&be(l,"has",i),be(l,"has",r)),i===r?o.has(i):o.has(i)||o.has(r)},forEach(i,o){const l=this,r=l.__v_raw,c=G(r),d=t?ts:e?Rt:De;return!e&&be(c,"iterate",Ct),r.forEach((a,p)=>i.call(o,d(a),d(p),l))}};return ge(n,e?{add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear")}:{add(i){const o=G(this),l=cn(o),r=G(i),c=!t&&!Le(i)&&!ut(i)?r:i;return l.has.call(o,c)||Xe(i,c)&&l.has.call(o,i)||Xe(r,c)&&l.has.call(o,r)||(o.add(c),ot(o,"add",c,c)),this},set(i,o){!t&&!Le(o)&&!ut(o)&&(o=G(o));const l=G(this),{has:r,get:c}=cn(l);let d=r.call(l,i);d||(i=G(i),d=r.call(l,i));const a=c.call(l,i);return l.set(i,o),d?Xe(o,a)&&ot(l,"set",i,o):ot(l,"add",i,o),this},delete(i){const o=G(this),{has:l,get:r}=cn(o);let c=l.call(o,i);c||(i=G(i),c=l.call(o,i)),r&&r.call(o,i);const d=o.delete(i);return c&&ot(o,"delete",i,void 0),d},clear(){const i=G(this),o=i.size!==0,l=i.clear();return o&&ot(i,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=tl(i,e,t)}),n}function bs(e,t){const n=nl(e,t);return(s,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(J(n,i)&&i in s?n:s,i,o)}const sl={get:bs(!1,!1)},il={get:bs(!1,!0)},ol={get:bs(!0,!1)};const Ni=new WeakMap,Vi=new WeakMap,Di=new WeakMap,ll=new WeakMap;function rl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cl(e){return e.__v_skip||!Object.isExtensible(e)?0:rl(Io(e))}function _s(e){return ut(e)?e:xs(e,!1,Xo,sl,Ni)}function al(e){return xs(e,!1,el,il,Vi)}function ns(e){return xs(e,!0,Qo,ol,Di)}function xs(e,t,n,s,i){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=cl(e);if(o===0)return e;const l=i.get(e);if(l)return l;const r=new Proxy(e,o===2?s:n);return i.set(e,r),r}function kt(e){return ut(e)?kt(e.__v_raw):!!(e&&e.__v_isReactive)}function ut(e){return!!(e&&e.__v_isReadonly)}function Le(e){return!!(e&&e.__v_isShallow)}function ws(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function ul(e){return!J(e,"__v_skip")&&Object.isExtensible(e)&&Ci(e,"__v_skip",!0),e}const De=e=>Z(e)?_s(e):e,Rt=e=>Z(e)?ns(e):e;function Ce(e){return e?e.__v_isRef===!0:!1}function le(e){return fl(e,!1)}function fl(e,t){return Ce(e)?e:new dl(e,t)}class dl{constructor(t,n){this.dep=new ys,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:G(t),this._value=n?t:De(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Le(t)||ut(t);t=s?t:G(t),Xe(t,n)&&(this._rawValue=t,this._value=s?t:De(t),this.dep.trigger())}}function hl(e){return Ce(e)?e.value:e}const pl={get:(e,t,n)=>t==="__v_raw"?e:hl(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Ce(i)&&!Ce(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Hi(e){return kt(e)?e:new Proxy(e,pl)}class ml{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ys(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Jt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&oe!==this)return Pi(this,!0),!0}get value(){const t=this.dep.track();return Ii(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function gl(e,t,n=!1){let s,i;return H(e)?s=e:(s=e.get,i=e.set),new ml(s,i,n)}const un={},vn=new WeakMap;let xt;function vl(e,t=!1,n=xt){if(n){let s=vn.get(n);s||vn.set(n,s=[]),s.push(e)}}function yl(e,t,n=te){const{immediate:s,deep:i,once:o,scheduler:l,augmentJob:r,call:c}=n,d=O=>i?O:Le(O)||i===!1||i===0?lt(O,1):lt(O);let a,p,w,T,I=!1,C=!1;if(Ce(e)?(p=()=>e.value,I=Le(e)):kt(e)?(p=()=>d(e),I=!0):R(e)?(C=!0,I=e.some(O=>kt(O)||Le(O)),p=()=>e.map(O=>{if(Ce(O))return O.value;if(kt(O))return d(O);if(H(O))return c?c(O,2):O()})):H(e)?t?p=c?()=>c(e,2):e:p=()=>{if(w){ct();try{w()}finally{at()}}const O=xt;xt=a;try{return c?c(e,3,[T]):e(T)}finally{xt=O}}:p=Qe,t&&i){const O=p,U=i===!0?1/0:i;p=()=>lt(O(),U)}const K=Wo(),V=()=>{a.stop(),K&&K.active&&fs(K.effects,a)};if(o&&t){const O=t;t=(...U)=>{O(...U),V()}}let j=C?new Array(e.length).fill(un):un;const W=O=>{if(!(!(a.flags&1)||!a.dirty&&!O))if(t){const U=a.run();if(i||I||(C?U.some((ne,ve)=>Xe(ne,j[ve])):Xe(U,j))){w&&w();const ne=xt;xt=a;try{const ve=[U,j===un?void 0:C&&j[0]===un?[]:j,T];j=U,c?c(t,3,ve):t(...ve)}finally{xt=ne}}}else a.run()};return r&&r(W),a=new Ai(p),a.scheduler=l?()=>l(W,!1):W,T=O=>vl(O,!1,a),w=a.onStop=()=>{const O=vn.get(a);if(O){if(c)c(O,4);else for(const U of O)U();vn.delete(a)}},t?s?W(!0):j=a.run():l?l(W.bind(null,!0),!0):a.run(),V.pause=a.pause.bind(a),V.resume=a.resume.bind(a),V.stop=V,V}function lt(e,t=1/0,n){if(t<=0||!Z(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ce(e))lt(e.value,t,n);else if(R(e))for(let s=0;s<e.length;s++)lt(e[s],t,n);else if(yi(e)||It(e))e.forEach(s=>{lt(s,t,n)});else if(xi(e)){for(const s in e)lt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&lt(e[s],t,n)}return e}/**
* @vue/runtime-core v3.5.32
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function on(e,t,n,s){try{return s?e(...s):e()}catch(i){Pn(i,t,n)}}function He(e,t,n,s){if(H(e)){const i=on(e,t,n,s);return i&&bi(i)&&i.catch(o=>{Pn(o,t,n)}),i}if(R(e)){const i=[];for(let o=0;o<e.length;o++)i.push(He(e[o],t,n,s));return i}}function Pn(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||te;if(t){let r=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const a=r.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,c,d)===!1)return}r=r.parent}if(o){ct(),on(o,null,10,[e,c,d]),at();return}}bl(e,n,i,s,l)}function bl(e,t,n,s=!0,i=!1){if(i)throw e;console.error(e)}const $e=[];let Ge=-1;const Ot=[];let ht=null,Pt=0;const ji=Promise.resolve();let yn=null;function _l(e){const t=yn||ji;return e?t.then(this?e.bind(this):e):t}function xl(e){let t=Ge+1,n=$e.length;for(;t<n;){const s=t+n>>>1,i=$e[s],o=Zt(i);o<e||o===e&&i.flags&2?t=s+1:n=s}return t}function Cs(e){if(!(e.flags&1)){const t=Zt(e),n=$e[$e.length-1];!n||!(e.flags&2)&&t>=Zt(n)?$e.push(e):$e.splice(xl(t),0,e),e.flags|=1,Ki()}}function Ki(){yn||(yn=ji.then(Ui))}function wl(e){R(e)?Ot.push(...e):ht&&e.id===-1?ht.splice(Pt+1,0,e):e.flags&1||(Ot.push(e),e.flags|=1),Ki()}function Bs(e,t,n=Ge+1){for(;n<$e.length;n++){const s=$e[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;$e.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Wi(e){if(Ot.length){const t=[...new Set(Ot)].sort((n,s)=>Zt(n)-Zt(s));if(Ot.length=0,ht){ht.push(...t);return}for(ht=t,Pt=0;Pt<ht.length;Pt++){const n=ht[Pt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ht=null,Pt=0}}const Zt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ui(e){try{for(Ge=0;Ge<$e.length;Ge++){const t=$e[Ge];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),on(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ge<$e.length;Ge++){const t=$e[Ge];t&&(t.flags&=-2)}Ge=-1,$e.length=0,Wi(),yn=null,($e.length||Ot.length)&&Ui()}}let xe=null,zi=null;function bn(e){const t=xe;return xe=e,zi=e&&e.type.__scopeId||null,t}function dn(e,t=xe,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&wn(-1);const o=bn(t);let l;try{l=e(...i)}finally{bn(o),s._d&&wn(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function En(e,t){if(xe===null)return e;const n=Rn(xe),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,l,r,c=te]=t[i];o&&(H(o)&&(o={mounted:o,updated:o}),o.deep&&lt(l),s.push({dir:o,instance:n,value:l,oldValue:void 0,arg:r,modifiers:c}))}return e}function vt(e,t,n,s){const i=e.dirs,o=t&&t.dirs;for(let l=0;l<i.length;l++){const r=i[l];o&&(r.oldValue=o[l].value);let c=r.dir[s];c&&(ct(),He(c,n,8,[e.el,r,e,t]),at())}}function Cl(e,t){if(Se){let n=Se.provides;const s=Se.parent&&Se.parent.provides;s===n&&(n=Se.provides=Object.create(s)),n[e]=t}}function hn(e,t,n=!1){const s=$o();if(s||Bt){let i=Bt?Bt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&H(t)?t.call(s&&s.proxy):t}}const kl=Symbol.for("v-scx"),$l=()=>hn(kl);function Wn(e,t,n){return qi(e,t,n)}function qi(e,t,n=te){const{immediate:s,deep:i,flush:o,once:l}=n,r=ge({},n),c=t&&s||!t&&o!=="post";let d;if(tn){if(o==="sync"){const T=$l();d=T.__watcherHandles||(T.__watcherHandles=[])}else if(!c){const T=()=>{};return T.stop=Qe,T.resume=Qe,T.pause=Qe,T}}const a=Se;r.call=(T,I,C)=>He(T,a,I,C);let p=!1;o==="post"?r.scheduler=T=>{Ae(T,a&&a.suspense)}:o!=="sync"&&(p=!0,r.scheduler=(T,I)=>{I?T():Cs(T)}),r.augmentJob=T=>{t&&(T.flags|=4),p&&(T.flags|=2,a&&(T.id=a.uid,T.i=a))};const w=yl(e,t,r);return tn&&(d?d.push(w):c&&w()),w}function Sl(e,t,n){const s=this.proxy,i=ae(e)?e.includes(".")?Gi(s,e):()=>s[e]:e.bind(s,s);let o;H(t)?o=t:(o=t.handler,n=t);const l=rn(this),r=qi(i,o.bind(s),n);return l(),r}function Gi(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const Al=Symbol("_vte"),Ji=e=>e.__isTeleport,Je=Symbol("_leaveCb"),Dt=Symbol("_enterCb");function Tl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ln(()=>{e.isMounted=!0}),so(()=>{e.isUnmounting=!0}),e}const Oe=[Function,Array],Yi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Oe,onEnter:Oe,onAfterEnter:Oe,onEnterCancelled:Oe,onBeforeLeave:Oe,onLeave:Oe,onAfterLeave:Oe,onLeaveCancelled:Oe,onBeforeAppear:Oe,onAppear:Oe,onAfterAppear:Oe,onAppearCancelled:Oe},Zi=e=>{const t=e.subTree;return t.component?Zi(t.component):t},Pl={name:"BaseTransition",props:Yi,setup(e,{slots:t}){const n=$o(),s=Tl();return()=>{const i=t.default&&eo(t.default(),!0);if(!i||!i.length)return;const o=Xi(i),l=G(e),{mode:r}=l;if(s.isLeaving)return Un(o);const c=Rs(o);if(!c)return Un(o);let d=ss(c,l,s,n,p=>d=p);c.type!==_e&&Xt(c,d);let a=n.subTree&&Rs(n.subTree);if(a&&a.type!==_e&&!wt(a,c)&&Zi(n).type!==_e){let p=ss(a,l,s,n);if(Xt(a,p),r==="out-in"&&c.type!==_e)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave,a=void 0},Un(o);r==="in-out"&&c.type!==_e?p.delayLeave=(w,T,I)=>{const C=Qi(s,a);C[String(a.key)]=a,w[Je]=()=>{T(),w[Je]=void 0,delete d.delayedLeave,a=void 0},d.delayedLeave=()=>{I(),delete d.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return o}}};function Xi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==_e){t=n;break}}return t}const El=Pl;function Qi(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,i){const{appear:o,mode:l,persisted:r=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:a,onEnterCancelled:p,onBeforeLeave:w,onLeave:T,onAfterLeave:I,onLeaveCancelled:C,onBeforeAppear:K,onAppear:V,onAfterAppear:j,onAppearCancelled:W}=t,O=String(e.key),U=Qi(n,e),ne=(D,q)=>{D&&He(D,s,9,q)},ve=(D,q)=>{const re=q[1];ne(D,q),R(D)?D.every(M=>M.length<=1)&&re():D.length<=1&&re()},he={mode:l,persisted:r,beforeEnter(D){let q=c;if(!n.isMounted)if(o)q=K||c;else return;D[Je]&&D[Je](!0);const re=U[O];re&&wt(e,re)&&re.el[Je]&&re.el[Je](),ne(q,[D])},enter(D){if(U[O]===e)return;let q=d,re=a,M=p;if(!n.isMounted)if(o)q=V||d,re=j||a,M=W||p;else return;let se=!1;D[Dt]=Be=>{se||(se=!0,Be?ne(M,[D]):ne(re,[D]),he.delayedLeave&&he.delayedLeave(),D[Dt]=void 0)};const pe=D[Dt].bind(null,!1);q?ve(q,[D,pe]):pe()},leave(D,q){const re=String(e.key);if(D[Dt]&&D[Dt](!0),n.isUnmounting)return q();ne(w,[D]);let M=!1;D[Je]=pe=>{M||(M=!0,q(),pe?ne(C,[D]):ne(I,[D]),D[Je]=void 0,U[re]===e&&delete U[re])};const se=D[Je].bind(null,!1);U[re]=e,T?ve(T,[D,se]):se()},clone(D){const q=ss(D,t,n,s,i);return i&&i(q),q}};return he}function Un(e){if(Mn(e))return e=mt(e),e.children=null,e}function Rs(e){if(!Mn(e))return Ji(e.type)&&e.children?Xi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&H(n.default))return n.default()}}function Xt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Xt(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 eo(e,t=!1,n){let s=[],i=0;for(let o=0;o<e.length;o++){let l=e[o];const r=n==null?l.key:String(n)+String(l.key!=null?l.key:o);l.type===Y?(l.patchFlag&128&&i++,s=s.concat(eo(l.children,t,r))):(t||l.type!==_e)&&s.push(r!=null?mt(l,{key:r}):l)}if(i>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function to(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Fs(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const _n=new WeakMap;function zt(e,t,n,s,i=!1){if(R(e)){e.forEach((C,K)=>zt(C,t&&(R(t)?t[K]:t),n,s,i));return}if(Lt(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&zt(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Rn(s.component):s.el,l=i?null:o,{i:r,r:c}=e,d=t&&t.r,a=r.refs===te?r.refs={}:r.refs,p=r.setupState,w=G(p),T=p===te?vi:C=>Fs(a,C)?!1:J(w,C),I=(C,K)=>!(K&&Fs(a,K));if(d!=null&&d!==c){if(Ns(t),ae(d))a[d]=null,T(d)&&(p[d]=null);else if(Ce(d)){const C=t;I(d,C.k)&&(d.value=null),C.k&&(a[C.k]=null)}}if(H(c))on(c,r,12,[l,a]);else{const C=ae(c),K=Ce(c);if(C||K){const V=()=>{if(e.f){const j=C?T(c)?p[c]:a[c]:I()||!e.k?c.value:a[e.k];if(i)R(j)&&fs(j,o);else if(R(j))j.includes(o)||j.push(o);else if(C)a[c]=[o],T(c)&&(p[c]=a[c]);else{const W=[o];I(c,e.k)&&(c.value=W),e.k&&(a[e.k]=W)}}else C?(a[c]=l,T(c)&&(p[c]=l)):K&&(I(c,e.k)&&(c.value=l),e.k&&(a[e.k]=l))};if(l){const j=()=>{V(),_n.delete(e)};j.id=-1,_n.set(e,j),Ae(j,n)}else Ns(e),V()}}}function Ns(e){const t=_n.get(e);t&&(t.flags|=8,_n.delete(e))}An().requestIdleCallback;An().cancelIdleCallback;const Lt=e=>!!e.type.__asyncLoader,Mn=e=>e.type.__isKeepAlive;function Ml(e,t){no(e,"a",t)}function Il(e,t){no(e,"da",t)}function no(e,t,n=Se){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(In(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Mn(i.parent.vnode)&&Ol(s,t,n,i),i=i.parent}}function Ol(e,t,n,s){const i=In(t,e,s,!0);On(()=>{fs(s[t],i)},n)}function In(e,t,n=Se,s=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...l)=>{ct();const r=rn(n),c=He(t,n,e,l);return r(),at(),c});return s?i.unshift(o):i.push(o),o}}const ft=e=>(t,n=Se)=>{(!tn||e==="sp")&&In(e,(...s)=>t(...s),n)},Ll=ft("bm"),ln=ft("m"),Bl=ft("bu"),Rl=ft("u"),so=ft("bum"),On=ft("um"),Fl=ft("sp"),Nl=ft("rtg"),Vl=ft("rtc");function Dl(e,t=Se){In("ec",e,t)}const Hl=Symbol.for("v-ndc");function $t(e,t,n,s){let i;const o=n,l=R(e);if(l||ae(e)){const r=l&&kt(e);let c=!1,d=!1;r&&(c=!Le(e),d=ut(e),e=Tn(e)),i=new Array(e.length);for(let a=0,p=e.length;a<p;a++)i[a]=t(c?d?Rt(De(e[a])):De(e[a]):e[a],a,void 0,o)}else if(typeof e=="number"){i=new Array(e);for(let r=0;r<e;r++)i[r]=t(r+1,r,void 0,o)}else if(Z(e))if(e[Symbol.iterator])i=Array.from(e,(r,c)=>t(r,c,void 0,o));else{const r=Object.keys(e);i=new Array(r.length);for(let c=0,d=r.length;c<d;c++){const a=r[c];i[c]=t(e[a],a,c,o)}}else i=[];return i}function jl(e,t,n={},s,i){if(xe.ce||xe.parent&&Lt(xe.parent)&&xe.parent.ce){const d=Object.keys(n).length>0;return g(),Me(Y,null,[me("slot",n,s)],d?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),g();const l=o&&io(o(n)),r=n.key||l&&l.key,c=Me(Y,{key:(r&&!Ve(r)?r:`_${t}`)+(!l&&s?"_fb":"")},l||[],l&&e._===1?64:-2);return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),o&&o._c&&(o._d=!0),c}function io(e){return e.some(t=>en(t)?!(t.type===_e||t.type===Y&&!io(t.children)):!0)?e:null}const is=e=>e?So(e)?Rn(e):is(e.parent):null,qt=ge(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=>lo(e),$forceUpdate:e=>e.f||(e.f=()=>{Cs(e.update)}),$nextTick:e=>e.n||(e.n=_l.bind(e.proxy)),$watch:e=>Sl.bind(e)}),zn=(e,t)=>e!==te&&!e.__isScriptSetup&&J(e,t),Kl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:o,accessCache:l,type:r,appContext:c}=e;if(t[0]!=="$"){const w=l[t];if(w!==void 0)switch(w){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(zn(s,t))return l[t]=1,s[t];if(i!==te&&J(i,t))return l[t]=2,i[t];if(J(o,t))return l[t]=3,o[t];if(n!==te&&J(n,t))return l[t]=4,n[t];os&&(l[t]=0)}}const d=qt[t];let a,p;if(d)return t==="$attrs"&&be(e.attrs,"get",""),d(e);if((a=r.__cssModules)&&(a=a[t]))return a;if(n!==te&&J(n,t))return l[t]=4,n[t];if(p=c.config.globalProperties,J(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:o}=e;return zn(i,t)?(i[t]=n,!0):s!==te&&J(s,t)?(s[t]=n,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:o,type:l}},r){let c;return!!(n[r]||e!==te&&r[0]!=="$"&&J(e,r)||zn(t,r)||J(o,r)||J(s,r)||J(qt,r)||J(i.config.globalProperties,r)||(c=l.__cssModules)&&c[r])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vs(e){return R(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let os=!0;function Wl(e){const t=lo(e),n=e.proxy,s=e.ctx;os=!1,t.beforeCreate&&Ds(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:l,watch:r,provide:c,inject:d,created:a,beforeMount:p,mounted:w,beforeUpdate:T,updated:I,activated:C,deactivated:K,beforeDestroy:V,beforeUnmount:j,destroyed:W,unmounted:O,render:U,renderTracked:ne,renderTriggered:ve,errorCaptured:he,serverPrefetch:D,expose:q,inheritAttrs:re,components:M,directives:se,filters:pe}=t;if(d&&Ul(d,s,null),l)for(const ce in l){const Q=l[ce];H(Q)&&(s[ce]=Q.bind(n))}if(i){const ce=i.call(n,n);Z(ce)&&(e.data=_s(ce))}if(os=!0,o)for(const ce in o){const Q=o[ce],et=H(Q)?Q.bind(n,n):H(Q.get)?Q.get.bind(n,n):Qe,St=!H(Q)&&H(Q.set)?Q.set.bind(n):Qe,je=de({get:et,set:St});Object.defineProperty(s,ce,{enumerable:!0,configurable:!0,get:()=>je.value,set:Pe=>je.value=Pe})}if(r)for(const ce in r)oo(r[ce],s,n,ce);if(c){const ce=H(c)?c.call(n):c;Reflect.ownKeys(ce).forEach(Q=>{Cl(Q,ce[Q])})}a&&Ds(a,e,"c");function ue(ce,Q){R(Q)?Q.forEach(et=>ce(et.bind(n))):Q&&ce(Q.bind(n))}if(ue(Ll,p),ue(ln,w),ue(Bl,T),ue(Rl,I),ue(Ml,C),ue(Il,K),ue(Dl,he),ue(Vl,ne),ue(Nl,ve),ue(so,j),ue(On,O),ue(Fl,D),R(q))if(q.length){const ce=e.exposed||(e.exposed={});q.forEach(Q=>{Object.defineProperty(ce,Q,{get:()=>n[Q],set:et=>n[Q]=et,enumerable:!0})})}else e.exposed||(e.exposed={});U&&e.render===Qe&&(e.render=U),re!=null&&(e.inheritAttrs=re),M&&(e.components=M),se&&(e.directives=se),D&&to(e)}function Ul(e,t,n=Qe){R(e)&&(e=ls(e));for(const s in e){const i=e[s];let o;Z(i)?"default"in i?o=hn(i.from||s,i.default,!0):o=hn(i.from||s):o=hn(i),Ce(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[s]=o}}function Ds(e,t,n){He(R(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function oo(e,t,n,s){let i=s.includes(".")?Gi(n,s):()=>n[s];if(ae(e)){const o=t[e];H(o)&&Wn(i,o)}else if(H(e))Wn(i,e.bind(n));else if(Z(e))if(R(e))e.forEach(o=>oo(o,t,n,s));else{const o=H(e.handler)?e.handler.bind(n):t[e.handler];H(o)&&Wn(i,o,e)}}function lo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,r=o.get(t);let c;return r?c=r:!i.length&&!n&&!s?c=t:(c={},i.length&&i.forEach(d=>xn(c,d,l,!0)),xn(c,t,l)),Z(t)&&o.set(t,c),c}function xn(e,t,n,s=!1){const{mixins:i,extends:o}=t;o&&xn(e,o,n,!0),i&&i.forEach(l=>xn(e,l,n,!0));for(const l in t)if(!(s&&l==="expose")){const r=zl[l]||n&&n[l];e[l]=r?r(e[l],t[l]):t[l]}return e}const zl={data:Hs,props:js,emits:js,methods:jt,computed:jt,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:jt,directives:jt,watch:Gl,provide:Hs,inject:ql};function Hs(e,t){return t?e?function(){return ge(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function ql(e,t){return jt(ls(e),ls(t))}function ls(e){if(R(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ke(e,t){return e?[...new Set([].concat(e,t))]:t}function jt(e,t){return e?ge(Object.create(null),e,t):t}function js(e,t){return e?R(e)&&R(t)?[...new Set([...e,...t])]:ge(Object.create(null),Vs(e),Vs(t??{})):t}function Gl(e,t){if(!e)return t;if(!t)return e;const n=ge(Object.create(null),e);for(const s in t)n[s]=ke(e[s],t[s]);return n}function ro(){return{app:null,config:{isNativeTag:vi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Jl=0;function Yl(e,t){return function(s,i=null){H(s)||(s=ge({},s)),i!=null&&!Z(i)&&(i=null);const o=ro(),l=new WeakSet,r=[];let c=!1;const d=o.app={_uid:Jl++,_component:s,_props:i,_container:null,_context:o,_instance:null,version:Pr,get config(){return o.config},set config(a){},use(a,...p){return l.has(a)||(a&&H(a.install)?(l.add(a),a.install(d,...p)):H(a)&&(l.add(a),a(d,...p))),d},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),d},component(a,p){return p?(o.components[a]=p,d):o.components[a]},directive(a,p){return p?(o.directives[a]=p,d):o.directives[a]},mount(a,p,w){if(!c){const T=d._ceVNode||me(s,i);return T.appContext=o,w===!0?w="svg":w===!1&&(w=void 0),e(T,a,w),c=!0,d._container=a,a.__vue_app__=d,Rn(T.component)}},onUnmount(a){r.push(a)},unmount(){c&&(He(r,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,p){return o.provides[a]=p,d},runWithContext(a){const p=Bt;Bt=d;try{return a()}finally{Bt=p}}};return d}}let Bt=null;const Zl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Fe(t)}Modifiers`]||e[`${gt(t)}Modifiers`];function Xl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||te;let i=n;const o=t.startsWith("update:"),l=o&&Zl(s,t.slice(7));l&&(l.trim&&(i=n.map(a=>ae(a)?a.trim():a)),l.number&&(i=n.map(hs)));let r,c=s[r=Vn(t)]||s[r=Vn(Fe(t))];!c&&o&&(c=s[r=Vn(gt(t))]),c&&He(c,e,6,i);const d=s[r+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,He(d,e,6,i)}}const Ql=new WeakMap;function co(e,t,n=!1){const s=n?Ql:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const o=e.emits;let l={},r=!1;if(!H(e)){const c=d=>{const a=co(d,t,!0);a&&(r=!0,ge(l,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!r?(Z(e)&&s.set(e,null),null):(R(o)?o.forEach(c=>l[c]=null):ge(l,o),Z(e)&&s.set(e,l),l)}function Ln(e,t){return!e||!kn(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,gt(t))||J(e,t))}function Ks(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[o],slots:l,attrs:r,emit:c,render:d,renderCache:a,props:p,data:w,setupState:T,ctx:I,inheritAttrs:C}=e,K=bn(e);let V,j;try{if(n.shapeFlag&4){const O=i||s,U=O;V=Ze(d.call(U,O,a,p,T,w,I)),j=r}else{const O=t;V=Ze(O.length>1?O(p,{attrs:r,slots:l,emit:c}):O(p,null)),j=t.props?r:er(r)}}catch(O){Gt.length=0,Pn(O,e,1),V=me(_e)}let W=V;if(j&&C!==!1){const O=Object.keys(j),{shapeFlag:U}=W;O.length&&U&7&&(o&&O.some($n)&&(j=tr(j,o)),W=mt(W,j,!1,!0))}return n.dirs&&(W=mt(W,null,!1,!0),W.dirs=W.dirs?W.dirs.concat(n.dirs):n.dirs),n.transition&&Xt(W,n.transition),V=W,bn(K),V}const er=e=>{let t;for(const n in e)(n==="class"||n==="style"||kn(n))&&((t||(t={}))[n]=e[n]);return t},tr=(e,t)=>{const n={};for(const s in e)(!$n(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function nr(e,t,n){const{props:s,children:i,component:o}=e,{props:l,children:r,patchFlag:c}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Ws(s,l,d):!!l;if(c&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const w=a[p];if(ao(l,s,w)&&!Ln(d,w))return!0}}}else return(i||r)&&(!r||!r.$stable)?!0:s===l?!1:s?l?Ws(s,l,d):!0:!!l;return!1}function Ws(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const o=s[i];if(ao(t,e,o)&&!Ln(n,o))return!0}return!1}function ao(e,t,n){const s=e[n],i=t[n];return n==="style"&&Z(s)&&Z(i)?!ps(s,i):s!==i}function sr({vnode:e,parent:t,suspense:n},s){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=s,e=i),i===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const uo={},fo=()=>Object.create(uo),ho=e=>Object.getPrototypeOf(e)===uo;function ir(e,t,n,s=!1){const i={},o=fo();e.propsDefaults=Object.create(null),po(e,t,i,o);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);n?e.props=s?i:al(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function or(e,t,n,s){const{props:i,attrs:o,vnode:{patchFlag:l}}=e,r=G(i),[c]=e.propsOptions;let d=!1;if((s||l>0)&&!(l&16)){if(l&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let w=a[p];if(Ln(e.emitsOptions,w))continue;const T=t[w];if(c)if(J(o,w))T!==o[w]&&(o[w]=T,d=!0);else{const I=Fe(w);i[I]=rs(c,r,I,T,e,!1)}else T!==o[w]&&(o[w]=T,d=!0)}}}else{po(e,t,i,o)&&(d=!0);let a;for(const p in r)(!t||!J(t,p)&&((a=gt(p))===p||!J(t,a)))&&(c?n&&(n[p]!==void 0||n[a]!==void 0)&&(i[p]=rs(c,r,p,void 0,e,!0)):delete i[p]);if(o!==r)for(const p in o)(!t||!J(t,p))&&(delete o[p],d=!0)}d&&ot(e.attrs,"set","")}function po(e,t,n,s){const[i,o]=e.propsOptions;let l=!1,r;if(t)for(let c in t){if(Kt(c))continue;const d=t[c];let a;i&&J(i,a=Fe(c))?!o||!o.includes(a)?n[a]=d:(r||(r={}))[a]=d:Ln(e.emitsOptions,c)||(!(c in s)||d!==s[c])&&(s[c]=d,l=!0)}if(o){const c=G(n),d=r||te;for(let a=0;a<o.length;a++){const p=o[a];n[p]=rs(i,c,p,d[p],e,!J(d,p))}}return l}function rs(e,t,n,s,i,o){const l=e[n];if(l!=null){const r=J(l,"default");if(r&&s===void 0){const c=l.default;if(l.type!==Function&&!l.skipFactory&&H(c)){const{propsDefaults:d}=i;if(n in d)s=d[n];else{const a=rn(i);s=d[n]=c.call(null,t),a()}}else s=c;i.ce&&i.ce._setProp(n,s)}l[0]&&(o&&!r?s=!1:l[1]&&(s===""||s===gt(n))&&(s=!0))}return s}const lr=new WeakMap;function mo(e,t,n=!1){const s=n?lr:t.propsCache,i=s.get(e);if(i)return i;const o=e.props,l={},r=[];let c=!1;if(!H(e)){const a=p=>{c=!0;const[w,T]=mo(p,t,!0);ge(l,w),T&&r.push(...T)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return Z(e)&&s.set(e,Mt),Mt;if(R(o))for(let a=0;a<o.length;a++){const p=Fe(o[a]);Us(p)&&(l[p]=te)}else if(o)for(const a in o){const p=Fe(a);if(Us(p)){const w=o[a],T=l[p]=R(w)||H(w)?{type:w}:ge({},w),I=T.type;let C=!1,K=!0;if(R(I))for(let V=0;V<I.length;++V){const j=I[V],W=H(j)&&j.name;if(W==="Boolean"){C=!0;break}else W==="String"&&(K=!1)}else C=H(I)&&I.name==="Boolean";T[0]=C,T[1]=K,(C||J(T,"default"))&&r.push(p)}}const d=[l,r];return Z(e)&&s.set(e,d),d}function Us(e){return e[0]!=="$"&&!Kt(e)}const ks=e=>e==="_"||e==="_ctx"||e==="$stable",$s=e=>R(e)?e.map(Ze):[Ze(e)],rr=(e,t,n)=>{if(t._n)return t;const s=dn((...i)=>$s(t(...i)),n);return s._c=!1,s},go=(e,t,n)=>{const s=e._ctx;for(const i in e){if(ks(i))continue;const o=e[i];if(H(o))t[i]=rr(i,o,s);else if(o!=null){const l=$s(o);t[i]=()=>l}}},vo=(e,t)=>{const n=$s(t);e.slots.default=()=>n},yo=(e,t,n)=>{for(const s in t)(n||!ks(s))&&(e[s]=t[s])},cr=(e,t,n)=>{const s=e.slots=fo();if(e.vnode.shapeFlag&32){const i=t._;i?(yo(s,t,n),n&&Ci(s,"_",i,!0)):go(t,s)}else t&&vo(e,t)},ar=(e,t,n)=>{const{vnode:s,slots:i}=e;let o=!0,l=te;if(s.shapeFlag&32){const r=t._;r?n&&r===1?o=!1:yo(i,t,n):(o=!t.$stable,go(t,i)),l=t}else t&&(vo(e,t),l={default:1});if(o)for(const r in i)!ks(r)&&l[r]==null&&delete i[r]},Ae=pr;function ur(e){return fr(e)}function fr(e,t){const n=An();n.__VUE__=!0;const{insert:s,remove:i,patchProp:o,createElement:l,createText:r,createComment:c,setText:d,setElementText:a,parentNode:p,nextSibling:w,setScopeId:T=Qe,insertStaticContent:I}=e,C=(u,f,m,x=null,y=null,b=null,P=void 0,S=null,$=!!f.dynamicChildren)=>{if(u===f)return;u&&!wt(u,f)&&(x=At(u),Pe(u,y,b,!0),u=null),f.patchFlag===-2&&($=!1,f.dynamicChildren=null);const{type:_,ref:B,shapeFlag:E}=f;switch(_){case Bn:K(u,f,m,x);break;case _e:V(u,f,m,x);break;case pn:u==null&&j(f,m,x,P);break;case Y:M(u,f,m,x,y,b,P,S,$);break;default:E&1?U(u,f,m,x,y,b,P,S,$):E&6?se(u,f,m,x,y,b,P,S,$):(E&64||E&128)&&_.process(u,f,m,x,y,b,P,S,$,Ft)}B!=null&&y?zt(B,u&&u.ref,b,f||u,!f):B==null&&u&&u.ref!=null&&zt(u.ref,null,b,u,!0)},K=(u,f,m,x)=>{if(u==null)s(f.el=r(f.children),m,x);else{const y=f.el=u.el;f.children!==u.children&&d(y,f.children)}},V=(u,f,m,x)=>{u==null?s(f.el=c(f.children||""),m,x):f.el=u.el},j=(u,f,m,x)=>{[u.el,u.anchor]=I(u.children,f,m,x,u.el,u.anchor)},W=({el:u,anchor:f},m,x)=>{let y;for(;u&&u!==f;)y=w(u),s(u,m,x),u=y;s(f,m,x)},O=({el:u,anchor:f})=>{let m;for(;u&&u!==f;)m=w(u),i(u),u=m;i(f)},U=(u,f,m,x,y,b,P,S,$)=>{if(f.type==="svg"?P="svg":f.type==="math"&&(P="mathml"),u==null)ne(f,m,x,y,b,P,S,$);else{const _=u.el&&u.el._isVueCE?u.el:null;try{_&&_._beginPatch(),D(u,f,y,b,P,S,$)}finally{_&&_._endPatch()}}},ne=(u,f,m,x,y,b,P,S)=>{let $,_;const{props:B,shapeFlag:E,transition:L,dirs:N}=u;if($=u.el=l(u.type,b,B&&B.is,B),E&8?a($,u.children):E&16&&he(u.children,$,null,x,y,qn(u,b),P,S),N&&vt(u,null,x,"created"),ve($,u,u.scopeId,P,x),B){for(const ee in B)ee!=="value"&&!Kt(ee)&&o($,ee,null,B[ee],b,x);"value"in B&&o($,"value",null,B.value,b),(_=B.onVnodeBeforeMount)&&qe(_,x,u)}N&&vt(u,null,x,"beforeMount");const z=dr(y,L);z&&L.beforeEnter($),s($,f,m),((_=B&&B.onVnodeMounted)||z||N)&&Ae(()=>{try{_&&qe(_,x,u),z&&L.enter($),N&&vt(u,null,x,"mounted")}finally{}},y)},ve=(u,f,m,x,y)=>{if(m&&T(u,m),x)for(let b=0;b<x.length;b++)T(u,x[b]);if(y){let b=y.subTree;if(f===b||wo(b.type)&&(b.ssContent===f||b.ssFallback===f)){const P=y.vnode;ve(u,P,P.scopeId,P.slotScopeIds,y.parent)}}},he=(u,f,m,x,y,b,P,S,$=0)=>{for(let _=$;_<u.length;_++){const B=u[_]=S?it(u[_]):Ze(u[_]);C(null,B,f,m,x,y,b,P,S)}},D=(u,f,m,x,y,b,P)=>{const S=f.el=u.el;let{patchFlag:$,dynamicChildren:_,dirs:B}=f;$|=u.patchFlag&16;const E=u.props||te,L=f.props||te;let N;if(m&&yt(m,!1),(N=L.onVnodeBeforeUpdate)&&qe(N,m,f,u),B&&vt(f,u,m,"beforeUpdate"),m&&yt(m,!0),(E.innerHTML&&L.innerHTML==null||E.textContent&&L.textContent==null)&&a(S,""),_?q(u.dynamicChildren,_,S,m,x,qn(f,y),b):P||Q(u,f,S,null,m,x,qn(f,y),b,!1),$>0){if($&16)re(S,E,L,m,y);else if($&2&&E.class!==L.class&&o(S,"class",null,L.class,y),$&4&&o(S,"style",E.style,L.style,y),$&8){const z=f.dynamicProps;for(let ee=0;ee<z.length;ee++){const ie=z[ee],fe=E[ie],ye=L[ie];(ye!==fe||ie==="value")&&o(S,ie,fe,ye,y,m)}}$&1&&u.children!==f.children&&a(S,f.children)}else!P&&_==null&&re(S,E,L,m,y);((N=L.onVnodeUpdated)||B)&&Ae(()=>{N&&qe(N,m,f,u),B&&vt(f,u,m,"updated")},x)},q=(u,f,m,x,y,b,P)=>{for(let S=0;S<f.length;S++){const $=u[S],_=f[S],B=$.el&&($.type===Y||!wt($,_)||$.shapeFlag&198)?p($.el):m;C($,_,B,null,x,y,b,P,!0)}},re=(u,f,m,x,y)=>{if(f!==m){if(f!==te)for(const b in f)!Kt(b)&&!(b in m)&&o(u,b,f[b],null,y,x);for(const b in m){if(Kt(b))continue;const P=m[b],S=f[b];P!==S&&b!=="value"&&o(u,b,S,P,y,x)}"value"in m&&o(u,"value",f.value,m.value,y)}},M=(u,f,m,x,y,b,P,S,$)=>{const _=f.el=u?u.el:r(""),B=f.anchor=u?u.anchor:r("");let{patchFlag:E,dynamicChildren:L,slotScopeIds:N}=f;N&&(S=S?S.concat(N):N),u==null?(s(_,m,x),s(B,m,x),he(f.children||[],m,B,y,b,P,S,$)):E>0&&E&64&&L&&u.dynamicChildren&&u.dynamicChildren.length===L.length?(q(u.dynamicChildren,L,m,y,b,P,S),(f.key!=null||y&&f===y.subTree)&&bo(u,f,!0)):Q(u,f,m,B,y,b,P,S,$)},se=(u,f,m,x,y,b,P,S,$)=>{f.slotScopeIds=S,u==null?f.shapeFlag&512?y.ctx.activate(f,m,x,P,$):pe(f,m,x,y,b,P,$):Be(u,f,$)},pe=(u,f,m,x,y,b,P)=>{const S=u.component=wr(u,x,y);if(Mn(u)&&(S.ctx.renderer=Ft),Cr(S,!1,P),S.asyncDep){if(y&&y.registerDep(S,ue,P),!u.el){const $=S.subTree=me(_e);V(null,$,f,m),u.placeholder=$.el}}else ue(S,u,f,m,y,b,P)},Be=(u,f,m)=>{const x=f.component=u.component;if(nr(u,f,m))if(x.asyncDep&&!x.asyncResolved){ce(x,f,m);return}else x.next=f,x.update();else f.el=u.el,x.vnode=f},ue=(u,f,m,x,y,b,P)=>{const S=()=>{if(u.isMounted){let{next:E,bu:L,u:N,parent:z,vnode:ee}=u;{const Ue=_o(u);if(Ue){E&&(E.el=ee.el,ce(u,E,P)),Ue.asyncDep.then(()=>{Ae(()=>{u.isUnmounted||_()},y)});return}}let ie=E,fe;yt(u,!1),E?(E.el=ee.el,ce(u,E,P)):E=ee,L&&fn(L),(fe=E.props&&E.props.onVnodeBeforeUpdate)&&qe(fe,z,E,ee),yt(u,!0);const ye=Ks(u),We=u.subTree;u.subTree=ye,C(We,ye,p(We.el),At(We),u,y,b),E.el=ye.el,ie===null&&sr(u,ye.el),N&&Ae(N,y),(fe=E.props&&E.props.onVnodeUpdated)&&Ae(()=>qe(fe,z,E,ee),y)}else{let E;const{el:L,props:N}=f,{bm:z,m:ee,parent:ie,root:fe,type:ye}=u,We=Lt(f);yt(u,!1),z&&fn(z),!We&&(E=N&&N.onVnodeBeforeMount)&&qe(E,ie,f),yt(u,!0);{fe.ce&&fe.ce._hasShadowRoot()&&fe.ce._injectChildStyle(ye,u.parent?u.parent.type:void 0);const Ue=u.subTree=Ks(u);C(null,Ue,m,x,u,y,b),f.el=Ue.el}if(ee&&Ae(ee,y),!We&&(E=N&&N.onVnodeMounted)){const Ue=f;Ae(()=>qe(E,ie,Ue),y)}(f.shapeFlag&256||ie&&Lt(ie.vnode)&&ie.vnode.shapeFlag&256)&&u.a&&Ae(u.a,y),u.isMounted=!0,f=m=x=null}};u.scope.on();const $=u.effect=new Ai(S);u.scope.off();const _=u.update=$.run.bind($),B=u.job=$.runIfDirty.bind($);B.i=u,B.id=u.uid,$.scheduler=()=>Cs(B),yt(u,!0),_()},ce=(u,f,m)=>{f.component=u;const x=u.vnode.props;u.vnode=f,u.next=null,or(u,f.props,x,m),ar(u,f.children,m),ct(),Bs(u),at()},Q=(u,f,m,x,y,b,P,S,$=!1)=>{const _=u&&u.children,B=u?u.shapeFlag:0,E=f.children,{patchFlag:L,shapeFlag:N}=f;if(L>0){if(L&128){St(_,E,m,x,y,b,P,S,$);return}else if(L&256){et(_,E,m,x,y,b,P,S,$);return}}N&8?(B&16&&Ke(_,y,b),E!==_&&a(m,E)):B&16?N&16?St(_,E,m,x,y,b,P,S,$):Ke(_,y,b,!0):(B&8&&a(m,""),N&16&&he(E,m,x,y,b,P,S,$))},et=(u,f,m,x,y,b,P,S,$)=>{u=u||Mt,f=f||Mt;const _=u.length,B=f.length,E=Math.min(_,B);let L;for(L=0;L<E;L++){const N=f[L]=$?it(f[L]):Ze(f[L]);C(u[L],N,m,null,y,b,P,S,$)}_>B?Ke(u,y,b,!0,!1,E):he(f,m,x,y,b,P,S,$,E)},St=(u,f,m,x,y,b,P,S,$)=>{let _=0;const B=f.length;let E=u.length-1,L=B-1;for(;_<=E&&_<=L;){const N=u[_],z=f[_]=$?it(f[_]):Ze(f[_]);if(wt(N,z))C(N,z,m,null,y,b,P,S,$);else break;_++}for(;_<=E&&_<=L;){const N=u[E],z=f[L]=$?it(f[L]):Ze(f[L]);if(wt(N,z))C(N,z,m,null,y,b,P,S,$);else break;E--,L--}if(_>E){if(_<=L){const N=L+1,z=N<B?f[N].el:x;for(;_<=L;)C(null,f[_]=$?it(f[_]):Ze(f[_]),m,z,y,b,P,S,$),_++}}else if(_>L)for(;_<=E;)Pe(u[_],y,b,!0),_++;else{const N=_,z=_,ee=new Map;for(_=z;_<=L;_++){const Ee=f[_]=$?it(f[_]):Ze(f[_]);Ee.key!=null&&ee.set(Ee.key,_)}let ie,fe=0;const ye=L-z+1;let We=!1,Ue=0;const Nt=new Array(ye);for(_=0;_<ye;_++)Nt[_]=0;for(_=N;_<=E;_++){const Ee=u[_];if(fe>=ye){Pe(Ee,y,b,!0);continue}let ze;if(Ee.key!=null)ze=ee.get(Ee.key);else for(ie=z;ie<=L;ie++)if(Nt[ie-z]===0&&wt(Ee,f[ie])){ze=ie;break}ze===void 0?Pe(Ee,y,b,!0):(Nt[ze-z]=_+1,ze>=Ue?Ue=ze:We=!0,C(Ee,f[ze],m,null,y,b,P,S,$),fe++)}const Ts=We?hr(Nt):Mt;for(ie=Ts.length-1,_=ye-1;_>=0;_--){const Ee=z+_,ze=f[Ee],Ps=f[Ee+1],Es=Ee+1<B?Ps.el||xo(Ps):x;Nt[_]===0?C(null,ze,m,Es,y,b,P,S,$):We&&(ie<0||_!==Ts[ie]?je(ze,m,Es,2):ie--)}}},je=(u,f,m,x,y=null)=>{const{el:b,type:P,transition:S,children:$,shapeFlag:_}=u;if(_&6){je(u.component.subTree,f,m,x);return}if(_&128){u.suspense.move(f,m,x);return}if(_&64){P.move(u,f,m,Ft);return}if(P===Y){s(b,f,m);for(let E=0;E<$.length;E++)je($[E],f,m,x);s(u.anchor,f,m);return}if(P===pn){W(u,f,m);return}if(x!==2&&_&1&&S)if(x===0)S.beforeEnter(b),s(b,f,m),Ae(()=>S.enter(b),y);else{const{leave:E,delayLeave:L,afterLeave:N}=S,z=()=>{u.ctx.isUnmounted?i(b):s(b,f,m)},ee=()=>{b._isLeaving&&b[Je](!0),E(b,()=>{z(),N&&N()})};L?L(b,z,ee):ee()}else s(b,f,m)},Pe=(u,f,m,x=!1,y=!1)=>{const{type:b,props:P,ref:S,children:$,dynamicChildren:_,shapeFlag:B,patchFlag:E,dirs:L,cacheIndex:N,memo:z}=u;if(E===-2&&(y=!1),S!=null&&(ct(),zt(S,null,m,u,!0),at()),N!=null&&(f.renderCache[N]=void 0),B&256){f.ctx.deactivate(u);return}const ee=B&1&&L,ie=!Lt(u);let fe;if(ie&&(fe=P&&P.onVnodeBeforeUnmount)&&qe(fe,f,u),B&6)Re(u.component,m,x);else{if(B&128){u.suspense.unmount(m,x);return}ee&&vt(u,null,f,"beforeUnmount"),B&64?u.type.remove(u,f,m,Ft,x):_&&!_.hasOnce&&(b!==Y||E>0&&E&64)?Ke(_,f,m,!1,!0):(b===Y&&E&384||!y&&B&16)&&Ke($,f,m),x&&k(u)}const ye=z!=null&&N==null;(ie&&(fe=P&&P.onVnodeUnmounted)||ee||ye)&&Ae(()=>{fe&&qe(fe,f,u),ee&&vt(u,null,f,"unmounted"),ye&&(u.el=null)},m)},k=u=>{const{type:f,el:m,anchor:x,transition:y}=u;if(f===Y){F(m,x);return}if(f===pn){O(u);return}const b=()=>{i(m),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(u.shapeFlag&1&&y&&!y.persisted){const{leave:P,delayLeave:S}=y,$=()=>P(m,b);S?S(u.el,b,$):$()}else b()},F=(u,f)=>{let m;for(;u!==f;)m=w(u),i(u),u=m;i(f)},Re=(u,f,m)=>{const{bum:x,scope:y,job:b,subTree:P,um:S,m:$,a:_}=u;zs($),zs(_),x&&fn(x),y.stop(),b&&(b.flags|=8,Pe(P,u,f,m)),S&&Ae(S,f),Ae(()=>{u.isUnmounted=!0},f)},Ke=(u,f,m,x=!1,y=!1,b=0)=>{for(let P=b;P<u.length;P++)Pe(u[P],f,m,x,y)},At=u=>{if(u.shapeFlag&6)return At(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=w(u.anchor||u.el),m=f&&f[Al];return m?w(m):f};let Nn=!1;const As=(u,f,m)=>{let x;u==null?f._vnode&&(Pe(f._vnode,null,null,!0),x=f._vnode.component):C(f._vnode||null,u,f,null,null,null,m),f._vnode=u,Nn||(Nn=!0,Bs(x),Wi(),Nn=!1)},Ft={p:C,um:Pe,m:je,r:k,mt:pe,mc:he,pc:Q,pbc:q,n:At,o:e};return{render:As,hydrate:void 0,createApp:Yl(As)}}function qn({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 yt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function dr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function bo(e,t,n=!1){const s=e.children,i=t.children;if(R(s)&&R(i))for(let o=0;o<s.length;o++){const l=s[o];let r=i[o];r.shapeFlag&1&&!r.dynamicChildren&&((r.patchFlag<=0||r.patchFlag===32)&&(r=i[o]=it(i[o]),r.el=l.el),!n&&r.patchFlag!==-2&&bo(l,r)),r.type===Bn&&(r.patchFlag===-1&&(r=i[o]=it(r)),r.el=l.el),r.type===_e&&!r.el&&(r.el=l.el)}}function hr(e){const t=e.slice(),n=[0];let s,i,o,l,r;const c=e.length;for(s=0;s<c;s++){const d=e[s];if(d!==0){if(i=n[n.length-1],e[i]<d){t[s]=i,n.push(s);continue}for(o=0,l=n.length-1;o<l;)r=o+l>>1,e[n[r]]<d?o=r+1:l=r;d<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,l=n[o-1];o-- >0;)n[o]=l,l=t[l];return n}function _o(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:_o(t)}function zs(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function xo(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?xo(t.subTree):null}const wo=e=>e.__isSuspense;function pr(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):wl(e)}const Y=Symbol.for("v-fgt"),Bn=Symbol.for("v-txt"),_e=Symbol.for("v-cmt"),pn=Symbol.for("v-stc"),Gt=[];let Ie=null;function g(e=!1){Gt.push(Ie=e?null:[])}function mr(){Gt.pop(),Ie=Gt[Gt.length-1]||null}let Qt=1;function wn(e,t=!1){Qt+=e,e<0&&Ie&&t&&(Ie.hasOnce=!0)}function Co(e){return e.dynamicChildren=Qt>0?Ie||Mt:null,mr(),Qt>0&&Ie&&Ie.push(e),e}function v(e,t,n,s,i,o){return Co(h(e,t,n,s,i,o,!0))}function Me(e,t,n,s,i){return Co(me(e,t,n,s,i,!0))}function en(e){return e?e.__v_isVNode===!0:!1}function wt(e,t){return e.type===t.type&&e.key===t.key}const ko=({key:e})=>e??null,mn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||Ce(e)||H(e)?{i:xe,r:e,k:t,f:!!n}:e:null);function h(e,t=null,n=null,s=0,i=null,o=e===Y?0:1,l=!1,r=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ko(t),ref:t&&mn(t),scopeId:zi,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:o,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:xe};return r?(Ss(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ae(n)?8:16),Qt>0&&!l&&Ie&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ie.push(c),c}const me=gr;function gr(e,t=null,n=null,s=0,i=null,o=!1){if((!e||e===Hl)&&(e=_e),en(e)){const r=mt(e,t,!0);return n&&Ss(r,n),Qt>0&&!o&&Ie&&(r.shapeFlag&6?Ie[Ie.indexOf(e)]=r:Ie.push(r)),r.patchFlag=-2,r}if(Ar(e)&&(e=e.__vccOpts),t){t=vr(t);let{class:r,style:c}=t;r&&!ae(r)&&(t.class=rt(r)),Z(c)&&(ws(c)&&!R(c)&&(c=ge({},c)),t.style=pt(c))}const l=ae(e)?1:wo(e)?128:Ji(e)?64:Z(e)?4:H(e)?2:0;return h(e,t,n,s,i,l,o,!0)}function vr(e){return e?ws(e)||ho(e)?ge({},e):e:null}function mt(e,t,n=!1,s=!1){const{props:i,ref:o,patchFlag:l,children:r,transition:c}=e,d=t?br(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&ko(d),ref:t&&t.ref?n&&o?R(o)?o.concat(mn(t)):[o,mn(t)]:mn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Y?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Xt(a,c.clone(a)),a}function we(e=" ",t=0){return me(Bn,null,e,t)}function yr(e,t){const n=me(pn,null,e);return n.staticCount=t,n}function X(e="",t=!1){return t?(g(),Me(_e,null,e)):me(_e,null,e)}function Ze(e){return e==null||typeof e=="boolean"?me(_e):R(e)?me(Y,null,e.slice()):en(e)?it(e):me(Bn,null,String(e))}function it(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mt(e)}function Ss(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(R(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),Ss(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!ho(t)?t._ctx=xe:i===3&&xe&&(xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:xe},n=32):(t=String(t),s&64?(n=16,t=[we(t)]):n=8);e.children=t,e.shapeFlag|=n}function br(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=rt([t.class,s.class]));else if(i==="style")t.style=pt([t.style,s.style]);else if(kn(i)){const o=t[i],l=s[i];l&&o!==l&&!(R(o)&&o.includes(l))?t[i]=o?[].concat(o,l):l:l==null&&o==null&&!$n(i)&&(t[i]=l)}else i!==""&&(t[i]=s[i])}return t}function qe(e,t,n,s=null){He(e,t,7,[n,s])}const _r=ro();let xr=0;function wr(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||_r,o={uid:xr++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ko(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:mo(s,i),emitsOptions:co(s,i),emit:null,emitted:null,propsDefaults:te,inheritAttrs:s.inheritAttrs,ctx:te,data:te,props:te,attrs:te,slots:te,refs:te,setupState:te,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Xl.bind(null,o),e.ce&&e.ce(o),o}let Se=null;const $o=()=>Se||xe;let Cn,cs;{const e=An(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),o=>{i.length>1?i.forEach(l=>l(o)):i[0](o)}};Cn=t("__VUE_INSTANCE_SETTERS__",n=>Se=n),cs=t("__VUE_SSR_SETTERS__",n=>tn=n)}const rn=e=>{const t=Se;return Cn(e),e.scope.on(),()=>{e.scope.off(),Cn(t)}},qs=()=>{Se&&Se.scope.off(),Cn(null)};function So(e){return e.vnode.shapeFlag&4}let tn=!1;function Cr(e,t=!1,n=!1){t&&cs(t);const{props:s,children:i}=e.vnode,o=So(e);ir(e,s,o,t),cr(e,i,n||t);const l=o?kr(e,t):void 0;return t&&cs(!1),l}function kr(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kl);const{setup:s}=n;if(s){ct();const i=e.setupContext=s.length>1?Sr(e):null,o=rn(e),l=on(s,e,0,[e.props,i]),r=bi(l);if(at(),o(),(r||e.sp)&&!Lt(e)&&to(e),r){if(l.then(qs,qs),t)return l.then(c=>{Gs(e,c)}).catch(c=>{Pn(c,e,0)});e.asyncDep=l}else Gs(e,l)}else Ao(e)}function Gs(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=Hi(t)),Ao(e)}function Ao(e,t,n){const s=e.type;e.render||(e.render=s.render||Qe);{const i=rn(e);ct();try{Wl(e)}finally{at(),i()}}}const $r={get(e,t){return be(e,"get",""),e[t]}};function Sr(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,$r),slots:e.slots,emit:e.emit,expose:t}}function Rn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Hi(ul(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in qt)return qt[n](e)},has(t,n){return n in t||n in qt}})):e.proxy}function Ar(e){return H(e)&&"__vccOpts"in e}const de=(e,t)=>gl(e,t,tn);function Tr(e,t,n){try{wn(-1);const s=arguments.length;return s===2?Z(t)&&!R(t)?en(t)?me(e,null,[t]):me(e,t):me(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&en(n)&&(n=[n]),me(e,t,n))}finally{wn(1)}}const Pr="3.5.32";/**
* @vue/runtime-dom v3.5.32
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let as;const Js=typeof window<"u"&&window.trustedTypes;if(Js)try{as=Js.createPolicy("vue",{createHTML:e=>e})}catch{}const To=as?e=>as.createHTML(e):e=>e,Er="http://www.w3.org/2000/svg",Mr="http://www.w3.org/1998/Math/MathML",st=typeof document<"u"?document:null,Ys=st&&st.createElement("template"),Ir={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 i=t==="svg"?st.createElementNS(Er,e):t==="mathml"?st.createElementNS(Mr,e):n?st.createElement(e,{is:n}):st.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,o){const l=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{Ys.innerHTML=To(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const r=Ys.content;if(s==="svg"||s==="mathml"){const c=r.firstChild;for(;c.firstChild;)r.appendChild(c.firstChild);r.removeChild(c)}t.insertBefore(r,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},dt="transition",Ht="animation",nn=Symbol("_vtc"),Po={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},Or=ge({},Yi,Po),Lr=e=>(e.displayName="Transition",e.props=Or,e),Zs=Lr((e,{slots:t})=>Tr(El,Br(e),t)),bt=(e,t=[])=>{R(e)?e.forEach(n=>n(...t)):e&&e(...t)},Xs=e=>e?R(e)?e.some(t=>t.length>1):e.length>1:!1;function Br(e){const t={};for(const M in e)M in Po||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:r=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:d=l,appearToClass:a=r,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:w=`${n}-leave-active`,leaveToClass:T=`${n}-leave-to`}=e,I=Rr(i),C=I&&I[0],K=I&&I[1],{onBeforeEnter:V,onEnter:j,onEnterCancelled:W,onLeave:O,onLeaveCancelled:U,onBeforeAppear:ne=V,onAppear:ve=j,onAppearCancelled:he=W}=t,D=(M,se,pe,Be)=>{M._enterCancelled=Be,_t(M,se?a:r),_t(M,se?d:l),pe&&pe()},q=(M,se)=>{M._isLeaving=!1,_t(M,p),_t(M,T),_t(M,w),se&&se()},re=M=>(se,pe)=>{const Be=M?ve:j,ue=()=>D(se,M,pe);bt(Be,[se,ue]),Qs(()=>{_t(se,M?c:o),nt(se,M?a:r),Xs(Be)||ei(se,s,C,ue)})};return ge(t,{onBeforeEnter(M){bt(V,[M]),nt(M,o),nt(M,l)},onBeforeAppear(M){bt(ne,[M]),nt(M,c),nt(M,d)},onEnter:re(!1),onAppear:re(!0),onLeave(M,se){M._isLeaving=!0;const pe=()=>q(M,se);nt(M,p),M._enterCancelled?(nt(M,w),si(M)):(si(M),nt(M,w)),Qs(()=>{M._isLeaving&&(_t(M,p),nt(M,T),Xs(O)||ei(M,s,K,pe))}),bt(O,[M,pe])},onEnterCancelled(M){D(M,!1,void 0,!0),bt(W,[M])},onAppearCancelled(M){D(M,!0,void 0,!0),bt(he,[M])},onLeaveCancelled(M){q(M),bt(U,[M])}})}function Rr(e){if(e==null)return null;if(Z(e))return[Gn(e.enter),Gn(e.leave)];{const t=Gn(e);return[t,t]}}function Gn(e){return Bo(e)}function nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[nn]||(e[nn]=new Set)).add(t)}function _t(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[nn];n&&(n.delete(t),n.size||(e[nn]=void 0))}function Qs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Fr=0;function ei(e,t,n,s){const i=e._endId=++Fr,o=()=>{i===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:l,timeout:r,propCount:c}=Nr(e,t);if(!l)return s();const d=l+"end";let a=0;const p=()=>{e.removeEventListener(d,w),o()},w=T=>{T.target===e&&++a>=c&&p()};setTimeout(()=>{a<c&&p()},r+1),e.addEventListener(d,w)}function Nr(e,t){const n=window.getComputedStyle(e),s=I=>(n[I]||"").split(", "),i=s(`${dt}Delay`),o=s(`${dt}Duration`),l=ti(i,o),r=s(`${Ht}Delay`),c=s(`${Ht}Duration`),d=ti(r,c);let a=null,p=0,w=0;t===dt?l>0&&(a=dt,p=l,w=o.length):t===Ht?d>0&&(a=Ht,p=d,w=c.length):(p=Math.max(l,d),a=p>0?l>d?dt:Ht:null,w=a?a===dt?o.length:c.length:0);const T=a===dt&&/\b(?:transform|all)(?:,|$)/.test(s(`${dt}Property`).toString());return{type:a,timeout:p,propCount:w,hasTransform:T}}function ti(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>ni(n)+ni(e[s])))}function ni(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function si(e){return(e?e.ownerDocument:document).body.offsetHeight}function Vr(e,t,n){const s=e[nn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ii=Symbol("_vod"),Dr=Symbol("_vsh"),Hr=Symbol(""),jr=/(?:^|;)\s*display\s*:/;function Kr(e,t,n){const s=e.style,i=ae(n);let o=!1;if(n&&!i){if(t)if(ae(t))for(const l of t.split(";")){const r=l.slice(0,l.indexOf(":")).trim();n[r]==null&&gn(s,r,"")}else for(const l in t)n[l]==null&&gn(s,l,"");for(const l in n)l==="display"&&(o=!0),gn(s,l,n[l])}else if(i){if(t!==n){const l=s[Hr];l&&(n+=";"+l),s.cssText=n,o=jr.test(n)}}else t&&e.removeAttribute("style");ii in e&&(e[ii]=o?s.display:"",e[Dr]&&(s.display="none"))}const oi=/\s*!important$/;function gn(e,t,n){if(R(n))n.forEach(s=>gn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Wr(e,t);oi.test(n)?e.setProperty(gt(s),n.replace(oi,""),"important"):e[s]=n}}const li=["Webkit","Moz","ms"],Jn={};function Wr(e,t){const n=Jn[t];if(n)return n;let s=Fe(t);if(s!=="filter"&&s in e)return Jn[t]=s;s=wi(s);for(let i=0;i<li.length;i++){const o=li[i]+s;if(o in e)return Jn[t]=o}return t}const ri="http://www.w3.org/1999/xlink";function ci(e,t,n,s,i,o=Ho(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ri,t.slice(6,t.length)):e.setAttributeNS(ri,t,n):n==null||o&&!ki(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Ve(n)?String(n):n)}function ai(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?To(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const r=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(r!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const r=typeof e[t];r==="boolean"?n=ki(n):n==null&&r==="string"?(n="",l=!0):r==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(i||t)}function Et(e,t,n,s){e.addEventListener(t,n,s)}function Ur(e,t,n,s){e.removeEventListener(t,n,s)}const ui=Symbol("_vei");function zr(e,t,n,s,i=null){const o=e[ui]||(e[ui]={}),l=o[t];if(s&&l)l.value=s;else{const[r,c]=qr(t);if(s){const d=o[t]=Yr(s,i);Et(e,r,d,c)}else l&&(Ur(e,r,l,c),o[t]=void 0)}}const fi=/(?:Once|Passive|Capture)$/;function qr(e){let t;if(fi.test(e)){t={};let s;for(;s=e.match(fi);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):gt(e.slice(2)),t]}let Yn=0;const Gr=Promise.resolve(),Jr=()=>Yn||(Gr.then(()=>Yn=0),Yn=Date.now());function Yr(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(Zr(s,n.value),t,5,[s])};return n.value=e,n.attached=Jr(),n}function Zr(e,t){if(R(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const di=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Xr=(e,t,n,s,i,o)=>{const l=i==="svg";t==="class"?Vr(e,s,l):t==="style"?Kr(e,n,s):kn(t)?$n(t)||zr(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Qr(e,t,s,l))?(ai(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ci(e,t,s,l,o,t!=="value")):e._isVueCE&&(ec(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ae(s)))?ai(e,Fe(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ci(e,t,s,l))};function Qr(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&di(t)&&H(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return di(t)&&ae(n)?!1:t in e}function ec(e,t){const n=e._def.props;if(!n)return!1;const s=Fe(t);return Array.isArray(n)?n.some(i=>Fe(i)===s):Object.keys(n).some(i=>Fe(i)===s)}const hi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?n=>fn(t,n):t};function tc(e){e.target.composing=!0}function pi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Zn=Symbol("_assign");function mi(e,t,n){return t&&(e=e.trim()),n&&(e=hs(e)),e}const Fn={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[Zn]=hi(i);const o=s||i.props&&i.props.type==="number";Et(e,t?"change":"input",l=>{l.target.composing||e[Zn](mi(e.value,n,o))}),(n||o)&&Et(e,"change",()=>{e.value=mi(e.value,n,o)}),t||(Et(e,"compositionstart",tc),Et(e,"compositionend",pi),Et(e,"change",pi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:o}},l){if(e[Zn]=hi(l),e.composing)return;const r=(o||e.type==="number")&&!/^0\d/.test(e.value)?hs(e.value):e.value,c=t??"";if(r===c)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===c)||(e.value=c)}},nc=["ctrl","shift","alt","meta"],sc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>nc.some(n=>e[`${n}Key`]&&!t.includes(n))},ic=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...o)=>{for(let l=0;l<t.length;l++){const r=sc[t[l]];if(r&&r(i,t))return}return e(i,...o)})},oc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},lc=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const o=gt(i.key);if(t.some(l=>l===o||oc[l]===o))return e(i)})},rc=ge({patchProp:Xr},Ir);let gi;function cc(){return gi||(gi=ur(rc))}const ac=(...e)=>{const t=cc().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=fc(s);if(!i)return;const o=t._component;!H(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const l=n(i,!1,uc(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t};function uc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function fc(e){return ae(e)?document.querySelector(e):e}const dc={class:"cs-header"},hc={class:"header-left"},pc={class:"shop-name"},mc={key:0,class:"admin-badge"},gc={class:"header-center"},vc={class:"coin-balance"},yc={class:"coin-info"},bc={class:"coin-amount"},_c={key:0,class:"playtime-timer"},xc={class:"header-right"},wc={key:0,class:"redeem-section"},Cc={class:"redeem-input-wrap"},kc={class:"redeem-label"},$c=["disabled"],Sc=["disabled"],Ac={__name:"ShopHeader",props:{shopName:{type:String,default:"VIP SHOP"},coins:{type:Number,default:0},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})},playtimeBonus:{type:Object,default:null},tebexEnabled:{type:Boolean,default:!1}},emits:["close","redeem"],setup(e,{expose:t,emit:n}){const s=e,i=n,o=le(""),l=le(!1),r=le(0);let c=null;function d(){s.playtimeBonus&&(r.value=s.playtimeBonus.intervalMinutes*60,c&&clearInterval(c),c=setInterval(()=>{r.value>0&&r.value--},1e3))}const a=de(()=>{const I=Math.floor(r.value/60),C=r.value%60;return`${String(I).padStart(2,"0")}:${String(C).padStart(2,"0")}`});function p(){s.playtimeBonus&&(r.value=s.playtimeBonus.intervalMinutes*60)}function w(I){return I.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}function T(){const I=o.value.trim();!I||l.value||(l.value=!0,i("redeem",I),setTimeout(()=>{l.value=!1,o.value=""},3e3))}return ln(()=>{d()}),On(()=>{c&&clearInterval(c)}),t({resetTimer:p}),(I,C)=>(g(),v("div",dc,[h("div",hc,[h("h1",pc,A(e.shopName),1),e.isAdmin?(g(),v("span",mc,[...C[2]||(C[2]=[h("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})],-1),we(" ADMIN ",-1)])])):X("",!0)]),h("div",gc,[h("div",vc,[C[3]||(C[3]=h("div",{class:"coin-icon"},"C",-1)),h("div",yc,[h("span",bc,A(w(e.coins)),1)])]),e.playtimeBonus?(g(),v("div",_c,[C[4]||(C[4]=h("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("circle",{cx:"12",cy:"12",r:"10"}),h("polyline",{points:"12 6 12 12 16 14"})],-1)),h("span",null,"+"+A(e.playtimeBonus.coins)+" Coins in "+A(a.value),1)])):X("",!0)]),h("div",xc,[e.tebexEnabled?(g(),v("div",wc,[h("div",Cc,[h("span",kc,A(e.locale.redeemPlaceholder||"Code / Tebex Payment Id"),1),En(h("input",{"onUpdate:modelValue":C[0]||(C[0]=K=>o.value=K),class:"redeem-input",type:"text",placeholder:"tbx-",disabled:l.value,onKeydown:lc(T,["enter"])},null,40,$c),[[Fn,o.value]])]),h("button",{class:"redeem-btn",disabled:!o.value.trim()||l.value,onClick:T},A(e.locale.redeem||"Redeem"),9,Sc)])):X("",!0),h("button",{class:"close-btn",onClick:C[1]||(C[1]=K=>I.$emit("close"))},[...C[5]||(C[5]=[h("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},[h("path",{d:"M1 1l12 12M13 1L1 13",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)])])])]))}},Tc={class:"home-grid-container"},Pc={class:"home-grid"},Ec=["onClick"],Mc={key:0,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Ic={key:1,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Oc={key:2,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Lc={key:3,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Bc={key:4,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Rc={key:5,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Fc={key:6,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Nc={class:"tile-content"},Vc={class:"tile-icon"},Dc={key:0,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Hc={key:1,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},jc={key:2,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Kc={key:3,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Wc={key:4,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Uc={key:5,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},zc={key:6,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},qc={class:"tile-label"},Gc={key:0,class:"tile-count"},Jc={class:"tile-content"},Yc={class:"tile-label"},Zc={__name:"HomeGrid",props:{categories:{type:Array,default:()=>[]},locale:{type:Object,default:()=>({})}},emits:["select"],setup(e){function t(i){const o={};return i.color&&(o["--tile-color"]=i.color,o["--tile-glow"]=i.color+"40"),o}function n(i){return i.image?{backgroundImage:`url(${i.image})`}:{}}function s(i){const o=i.color||"#f59e0b";return{background:`radial-gradient(ellipse at 70% 30%, ${o}18 0%, transparent 60%), linear-gradient(135deg, ${o}10 0%, rgba(10,10,14,0.95) 100%)`}}return(i,o)=>(g(),v("div",Tc,[h("div",Pc,[(g(!0),v(Y,null,$t(e.categories,l=>(g(),v("div",{key:l.id,class:rt(["category-tile",[l.gridSize||"small",{"has-image":!!l.image}]]),style:pt(t(l)),onClick:r=>i.$emit("select",l.id)},[h("div",{class:"tile-bg",style:pt(n(l))},null,4),l.image?X("",!0):(g(),v("div",{key:0,class:"tile-gradient",style:pt(s(l))},null,4)),l.image?X("",!0):(g(),v("div",{key:1,class:"tile-fallback-icon",style:pt({color:l.color||"var(--accent)"})},[l.icon==="gun"?(g(),v("svg",Mc,[...o[1]||(o[1]=[h("path",{d:"M14 4h6v6h-2v2h2v2H8l-4 4V8h2V4h4v4h4V4z"},null,-1)])])):l.icon==="package"?(g(),v("svg",Ic,[...o[2]||(o[2]=[h("path",{d:"M16.5 9.4l-9-5.19M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"},null,-1),h("polyline",{points:"3.27 6.96 12 12.01 20.73 6.96"},null,-1),h("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"},null,-1)])])):l.icon==="car"?(g(),v("svg",Oc,[...o[3]||(o[3]=[h("path",{d:"M5 17h14M5 17a2 2 0 01-2-2v-4l2.72-4.08A2 2 0 017.39 6h9.22a2 2 0 011.67.92L21 11v4a2 2 0 01-2 2M5 17a2 2 0 002 2h1a2 2 0 002-2M14 17a2 2 0 002 2h1a2 2 0 002-2"},null,-1)])])):l.icon==="plate"?(g(),v("svg",Lc,[...o[4]||(o[4]=[h("rect",{x:"2",y:"6",width:"20",height:"12",rx:"2"},null,-1),h("text",{x:"12",y:"14","text-anchor":"middle","font-size":"6",fill:"currentColor",stroke:"none"},"ABC",-1)])])):l.icon==="pack"?(g(),v("svg",Bc,[...o[5]||(o[5]=[yr('<path d="M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"></path><path d="M7.5 4.21l4.5 2.6 4.5-2.6"></path><path d="M7.5 19.79V14.6L3 12"></path><path d="M21 12l-4.5 2.6v5.19"></path><path d="M3.27 6.96L12 12.01l8.73-5.05"></path><line x1="12" y1="22.08" x2="12" y2="12"></line>',6)])])):l.icon==="star"?(g(),v("svg",Rc,[...o[6]||(o[6]=[h("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"},null,-1)])])):(g(),v("svg",Fc,[...o[7]||(o[7]=[h("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"},null,-1)])]))],4)),h("div",Nc,[h("div",Vc,[l.icon==="gun"?(g(),v("svg",Dc,[...o[8]||(o[8]=[h("path",{d:"M14 4h6v6h-2v2h2v2H8l-4 4V8h2V4h4v4h4V4z"},null,-1)])])):l.icon==="package"?(g(),v("svg",Hc,[...o[9]||(o[9]=[h("path",{d:"M16.5 9.4l-9-5.19M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"},null,-1),h("polyline",{points:"3.27 6.96 12 12.01 20.73 6.96"},null,-1),h("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"},null,-1)])])):l.icon==="car"?(g(),v("svg",jc,[...o[10]||(o[10]=[h("path",{d:"M5 17h14M5 17a2 2 0 01-2-2v-4l2.72-4.08A2 2 0 017.39 6h9.22a2 2 0 011.67.92L21 11v4a2 2 0 01-2 2M5 17a2 2 0 002 2h1a2 2 0 002-2M14 17a2 2 0 002 2h1a2 2 0 002-2"},null,-1)])])):l.icon==="plate"?(g(),v("svg",Kc,[...o[11]||(o[11]=[h("rect",{x:"2",y:"6",width:"20",height:"12",rx:"2"},null,-1),h("text",{x:"12",y:"14","text-anchor":"middle","font-size":"6",fill:"currentColor",stroke:"none"},"ABC",-1)])])):l.icon==="pack"?(g(),v("svg",Wc,[...o[12]||(o[12]=[h("path",{d:"M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"},null,-1),h("path",{d:"M3.27 6.96L12 12.01l8.73-5.05"},null,-1),h("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"},null,-1)])])):l.icon==="star"?(g(),v("svg",Uc,[...o[13]||(o[13]=[h("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"},null,-1)])])):(g(),v("svg",zc,[...o[14]||(o[14]=[h("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"},null,-1)])]))]),h("span",qc,A(l.label),1),l.items&&l.items.length>0?(g(),v("span",Gc,A(l.items.length),1)):X("",!0)])],14,Ec))),128)),h("div",{class:"category-tile small history-tile",style:{"--tile-color":"#71717a","--tile-glow":"rgba(113,113,122,0.25)"},onClick:o[0]||(o[0]=l=>i.$emit("select","_history"))},[o[16]||(o[16]=h("div",{class:"tile-bg",style:{"background-image":"url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=600&q=80')"}},null,-1)),h("div",Jc,[o[15]||(o[15]=h("div",{class:"tile-icon",style:{color:"var(--text-muted)"}},[h("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("circle",{cx:"12",cy:"12",r:"10"}),h("polyline",{points:"12 6 12 12 16 14"})])],-1)),h("span",Yc,A(e.locale.history||"Kaufhistorie"),1)])])])]))}},Xc={class:"category-view"},Qc={class:"category-header"},ea={class:"category-title"},ta={class:"category-body"},na={__name:"CategoryView",props:{title:{type:String,default:""},locale:{type:Object,default:()=>({})}},emits:["back"],setup(e){return(t,n)=>(g(),v("div",Xc,[h("div",Qc,[h("button",{class:"back-btn",onClick:n[0]||(n[0]=s=>t.$emit("back"))},[n[1]||(n[1]=h("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[h("path",{d:"M19 12H5M12 19l-7-7 7-7"})],-1)),we(" "+A(e.locale.backToHome||"Zurueck"),1)]),h("h2",ea,A(e.title),1)]),h("div",ta,[jl(t.$slots,"default")])]))}},sa={class:"item-card-image"},ia=["src","alt"],oa={key:1,class:"fallback-icon"},la={key:0,width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5"},ra={key:1,width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5"},ca={key:2,class:"item-badge owned-badge"},aa={key:3,class:"item-badge sold-out-badge"},ua={key:4,class:"item-badge weekly"},fa={key:5,class:"item-badge limited"},da={class:"item-card-body"},ha={class:"item-card-name"},pa={key:0,class:"item-card-desc"},ma={key:1,class:"item-card-amount"},ga={class:"item-card-price"},va={class:"price-amount"},ya={key:0,class:"price-original"},ba={key:1,class:"discount-tag"},_a={key:2,class:"stock-info"},xa=["disabled"],Eo={__name:"ItemCard",props:{item:{type:Object,required:!0},coins:{type:Number,default:0},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})},type:{type:String,default:"vehicle"}},emits:["buy"],setup(e){const t=e,n=le(!1),s=de(()=>n.value?null:t.item.image?t.item.image:t.type==="item"&&t.item.item?`https://cfx-nui-codem-inventory/html/itemimages/${t.item.item.replace(/\.png$/i,"")}.png`:null);function i(d){n.value=!0,d.target.style.display="none"}const o=de(()=>t.item.discountedPrice!==void 0&&t.item.discountedPrice<t.item.price?t.item.discountedPrice:t.item.price),l=de(()=>t.item.limited&&t.item.maxStock>0&&(t.item.soldCount||0)>=t.item.maxStock),r=de(()=>t.item.owned||l.value?!1:t.isAdmin?!0:t.coins>=o.value);function c(d){return d.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}return(d,a)=>(g(),v("div",{class:rt(["item-card",{"sold-out":l.value,owned:e.item.owned}])},[h("div",sa,[s.value?(g(),v("img",{key:0,src:s.value,alt:e.item.label,onError:i},null,40,ia)):X("",!0),n.value&&!e.item.image?(g(),v("span",oa,[e.type==="vehicle"?(g(),v("svg",la,[...a[1]||(a[1]=[h("path",{d:"M5 17h14M5 17a2 2 0 01-2-2v-4l2.72-4.08A2 2 0 017.39 6h9.22a2 2 0 011.67.92L21 11v4a2 2 0 01-2 2M5 17a2 2 0 002 2h1a2 2 0 002-2M14 17a2 2 0 002 2h1a2 2 0 002-2"},null,-1)])])):(g(),v("svg",ra,[...a[2]||(a[2]=[h("path",{d:"M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"},null,-1),h("polyline",{points:"3.27 6.96 12 12.01 20.73 6.96"},null,-1),h("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"},null,-1)])]))])):X("",!0),e.item.owned?(g(),v("span",ca,A(e.locale.owned||"Im Besitz"),1)):l.value?(g(),v("span",aa,A(e.locale.soldOut||"Ausverkauft"),1)):e.item.isWeekly?(g(),v("span",ua,A(e.locale.weeklyDeal||"Wochen-Angebot"),1)):e.item.limited?(g(),v("span",fa,A(e.locale.limited||"Limitiert"),1)):X("",!0)]),h("div",da,[h("div",ha,A(e.item.label),1),e.item.description?(g(),v("div",pa,A(e.item.description),1)):X("",!0),e.type==="item"&&e.item.amount>1?(g(),v("div",ma,"x"+A(e.item.amount),1)):X("",!0),h("div",ga,[a[3]||(a[3]=h("span",{class:"price-coin"},"C",-1)),h("span",va,A(c(o.value)),1),e.item.discountedPrice&&e.item.discountedPrice<e.item.price?(g(),v("span",ya,A(c(e.item.price)),1)):X("",!0),e.item.discount&&e.item.discount>0?(g(),v("span",ba,"-"+A(e.item.discount)+"%",1)):X("",!0)]),e.item.limited&&e.item.maxStock>0&&!e.item.owned?(g(),v("div",_a,A(e.item.maxStock-(e.item.soldCount||0))+"/"+A(e.item.maxStock)+" verfuegbar ",1)):X("",!0),h("button",{class:"cs-btn",disabled:!r.value,onClick:a[0]||(a[0]=p=>d.$emit("buy",e.item))},[e.isAdmin&&!e.item.owned?(g(),v(Y,{key:0},[we(A(e.locale.adminFree||"Kostenlos (Admin)"),1)],64)):e.item.owned?(g(),v(Y,{key:1},[we(A(e.locale.owned||"Im Besitz"),1)],64)):(g(),v(Y,{key:2},[we(A(e.locale.buy||"Kaufen"),1)],64))],8,xa)])],2))}},wa={key:0,class:"search-bar"},Ca=["placeholder"],ka={key:1,class:"item-grid"},$a={key:2,class:"empty-state"},Sa={__name:"VehiclesTab",props:{items:{type:Array,default:()=>[]},coins:{type:Number,default:0},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})},isWeekly:{type:Boolean,default:!1}},emits:["buy"],setup(e){const t=e,n=le(""),s=de(()=>{if(!n.value)return t.items;const i=n.value.toLowerCase();return t.items.filter(o=>o.label.toLowerCase().includes(i)||o.description&&o.description.toLowerCase().includes(i))});return(i,o)=>(g(),v("div",null,[e.items.length>3?(g(),v("div",wa,[o[2]||(o[2]=h("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[h("circle",{cx:"11",cy:"11",r:"8"}),h("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})],-1)),En(h("input",{"onUpdate:modelValue":o[0]||(o[0]=l=>n.value=l),type:"text",placeholder:e.locale.search||"Suchen..."},null,8,Ca),[[Fn,n.value]])])):X("",!0),s.value.length>0?(g(),v("div",ka,[(g(!0),v(Y,null,$t(s.value,l=>(g(),Me(Eo,{key:l.model,item:l,coins:e.coins,isAdmin:e.isAdmin,locale:e.locale,onBuy:o[1]||(o[1]=r=>i.$emit("buy",r))},null,8,["item","coins","isAdmin","locale"]))),128))])):(g(),v("div",$a,A(e.locale.noVehicles||"Keine Fahrzeuge vorhanden"),1))]))}},Aa={class:"items-tab"},Ta={key:0,class:"search-bar"},Pa=["placeholder"],Ea={class:"item-grid four-col"},Ma={key:1,class:"empty-state"},Ia={__name:"ItemsTab",props:{items:{type:Array,default:()=>[]},coins:{type:Number,default:0},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})}},emits:["buy"],setup(e){const t=e,n=le(""),s=de(()=>{if(!n.value)return t.items;const i=n.value.toLowerCase();return t.items.filter(o=>(o.label||"").toLowerCase().includes(i)||(o.description||"").toLowerCase().includes(i))});return(i,o)=>(g(),v("div",Aa,[e.items.length>3?(g(),v("div",Ta,[o[1]||(o[1]=h("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("circle",{cx:"11",cy:"11",r:"8"}),h("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})],-1)),En(h("input",{"onUpdate:modelValue":o[0]||(o[0]=l=>n.value=l),type:"text",placeholder:e.locale.search||"Suchen..."},null,8,Pa),[[Fn,n.value]])])):X("",!0),h("div",Ea,[(g(!0),v(Y,null,$t(s.value,l=>(g(),Me(Eo,{key:l.item,item:l,coins:e.coins,isAdmin:e.isAdmin,locale:e.locale,type:"item",onBuy:r=>i.$emit("buy",l)},null,8,["item","coins","isAdmin","locale","onBuy"]))),128))]),s.value.length===0?(g(),v("div",Ma,A(e.locale.noHistory||"Keine Items gefunden"),1)):X("",!0)]))}},Oa={class:"packs-tab"},La={class:"item-grid four-col"},Ba={class:"pack-card-image"},Ra=["src","alt"],Fa={key:1,class:"fallback-icon"},Na={key:2,class:"item-badge limited"},Va={key:3,class:"item-badge sold-out-badge"},Da={class:"pack-card-body"},Ha={class:"pack-card-name"},ja={key:0,class:"pack-card-desc"},Ka={key:1,class:"pack-contents"},Wa={class:"pack-contents-label"},Ua={class:"pack-contents-list"},za={key:0,width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},qa={key:1,width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Ga={class:"item-card-price"},Ja={class:"price-amount"},Ya={key:2,class:"stock-info"},Za=["disabled","onClick"],Xa={key:0,class:"empty-state"},Qa={__name:"PacksTab",props:{items:{type:Array,default:()=>[]},coins:{type:Number,default:0},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})}},emits:["buy"],setup(e){function t(s){return s.limited&&s.maxStock>0&&(s.soldCount||0)>=s.maxStock}function n(s){return s.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}return(s,i)=>(g(),v("div",Oa,[h("div",La,[(g(!0),v(Y,null,$t(e.items,o=>(g(),v("div",{key:o.index,class:rt(["pack-card",{"sold-out":t(o)}])},[h("div",Ba,[o.image?(g(),v("img",{key:0,src:o.image,alt:o.label},null,8,Ra)):(g(),v("div",Fa,[...i[0]||(i[0]=[h("svg",{width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5"},[h("path",{d:"M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"}),h("path",{d:"M3.27 6.96L12 12.01l8.73-5.05"}),h("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"})],-1)])])),o.limited?(g(),v("span",Na,A(e.locale.limited||"Limitiert"),1)):X("",!0),t(o)?(g(),v("span",Va,A(e.locale.soldOut||"Ausverkauft"),1)):X("",!0)]),h("div",Da,[h("div",Ha,A(o.label),1),o.description?(g(),v("div",ja,A(o.description),1)):X("",!0),o.contents&&o.contents.length>0?(g(),v("div",Ka,[h("span",Wa,A(e.locale.packContents||"Enthaelt:"),1),h("div",Ua,[(g(!0),v(Y,null,$t(o.contents,(l,r)=>(g(),v("span",{key:r,class:"pack-content-item"},[l.type==="vehicle"?(g(),v("svg",za,[...i[1]||(i[1]=[h("path",{d:"M5 17h14"},null,-1)])])):(g(),v("svg",qa,[...i[2]||(i[2]=[h("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"},null,-1)])])),we(" "+A(l.amount?l.amount+"x ":"")+A(l.label||l.model||l.item),1)]))),128))])])):X("",!0),h("div",Ga,[i[3]||(i[3]=h("span",{class:"price-coin"},"C",-1)),h("span",Ja,A(n(o.price)),1)]),o.limited&&o.maxStock>0?(g(),v("div",Ya,A(o.maxStock-(o.soldCount||0)+"/"+o.maxStock)+" verfuegbar ",1)):X("",!0),h("button",{class:"cs-btn",disabled:t(o)||!e.isAdmin&&e.coins<o.price,onClick:l=>s.$emit("buy",o)},[t(o)?(g(),v(Y,{key:0},[we(A(e.locale.soldOut||"Ausverkauft"),1)],64)):e.isAdmin?(g(),v(Y,{key:1},[we(A(e.locale.adminFree||"Kostenlos (Admin)"),1)],64)):(g(),v(Y,{key:2},[we(A(e.locale.buy||"Kaufen"),1)],64))],8,Za)])],2))),128))]),e.items.length===0?(g(),v("div",Xa," Keine Packs verfuegbar ")):X("",!0)]))}},eu={class:"plates-tab"},tu={key:0,class:"plates-vehicle-select"},nu={class:"step-label"},su={key:0,class:"plates-vehicle-grid"},iu=["onClick"],ou={class:"plates-vehicle-plate"},lu={class:"plates-vehicle-name"},ru={key:1,class:"empty-state"},cu={key:2,class:"empty-state"},au={key:1,class:"plates-editor-view"},uu={class:"plates-editor-content"},fu={class:"plates-current"},du={class:"plate-visual"},hu={class:"plate-visual-inner"},pu={class:"plate-visual-text"},mu={class:"plates-vehicle-info"},gu={class:"plates-new"},vu={class:"step-label"},yu={class:"plate-visual-inner"},bu={key:0,class:"plate-visual-text"},_u={key:1,class:"plate-visual-text empty"},xu=["placeholder","maxlength"],wu={class:"plates-buy-section"},Cu={class:"item-card-price"},ku={class:"price-amount"},$u={style:{"font-size":"11px",color:"var(--text-muted)","margin-left":"4px"}},Su=["disabled"],Au={__name:"PlatesTab",props:{config:{type:Object,default:()=>({})},coins:{type:Number,default:0},vehicles:{type:Array,default:()=>[]},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})}},emits:["buy","loadVehicles"],setup(e,{emit:t}){const n=e,s=t,i=le(null),o=le(""),l=le(""),r=le(!0);ln(()=>{s("loadVehicles"),setTimeout(()=>{r.value=!1},3e3)});function c(I){i.value=I,o.value="",l.value=""}function d(I){const C=I.target.value.toUpperCase();l.value=C,o.value=C.trim()}const a=de(()=>{if(!o.value)return!1;try{return new RegExp(n.config.allowedPattern||"^[A-Z0-9 ]+$").test(o.value)&&o.value.length<=(n.config.maxLength||8)}catch{return!0}}),p=de(()=>!i.value||!o.value||!a.value?!1:n.isAdmin?!0:n.coins>=(n.config.price||200));function w(){p.value&&(s("buy",{vehiclePlate:i.value.plate,newPlate:o.value.trim()}),o.value="",l.value="")}function T(I){return I.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}return(I,C)=>(g(),v("div",eu,[i.value?(g(),v("div",au,[h("button",{class:"back-btn",onClick:C[0]||(C[0]=K=>{i.value=null,o.value=""})},[C[2]||(C[2]=h("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[h("path",{d:"M19 12H5M12 19l-7-7 7-7"})],-1)),we(" "+A(e.locale.backToHome||"Zurueck"),1)]),h("div",uu,[h("div",fu,[C[3]||(C[3]=h("div",{class:"step-label"},"Aktuelles Kennzeichen",-1)),h("div",du,[h("div",hu,[h("span",pu,A(i.value.plate),1)])]),h("div",mu,A(i.value.label),1)]),C[4]||(C[4]=h("div",{class:"plates-arrow"},[h("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[h("path",{d:"M5 12h14M12 5l7 7-7 7"})])],-1)),h("div",gu,[h("div",vu,A(e.locale.newPlate||"Neues Kennzeichen"),1),h("div",{class:rt(["plate-visual editable",{valid:o.value&&a.value,error:o.value&&!a.value}])},[h("div",yu,[o.value?(g(),v("span",bu,A(o.value),1)):(g(),v("span",_u,A(e.locale.enterPlate||"EINGEBEN"),1))])],2),En(h("input",{class:"cs-input plate-input",type:"text",placeholder:e.locale.enterPlate||"Wunschkennzeichen eingeben","onUpdate:modelValue":C[1]||(C[1]=K=>l.value=K),onInput:d,maxlength:e.config.maxLength||8,autofocus:""},null,40,xu),[[Fn,l.value]]),h("div",{class:rt(["char-counter",{valid:o.value&&a.value,error:o.value&&!a.value,neutral:!o.value}])},A((o.value||"").length)+"/"+A(e.config.maxLength||8)+" Zeichen ",3)])]),h("div",wu,[h("div",Cu,[C[5]||(C[5]=h("span",{class:"price-coin"},"C",-1)),h("span",ku,A(T(e.config.price||200)),1),h("span",$u,A(e.locale.coins||"Coins"),1)]),h("button",{class:"cs-btn plate-buy-btn",disabled:!p.value,onClick:w},[e.isAdmin?(g(),v(Y,{key:0},[we(A(e.locale.adminFree||"Kostenlos (Admin)"),1)],64)):(g(),v(Y,{key:1},[we(A(e.locale.buy||"Kaufen"),1)],64))],8,Su)])])):(g(),v("div",tu,[h("div",nu,A(e.locale.selectVehicle||"Fahrzeug auswaehlen"),1),e.vehicles.length>0?(g(),v("div",su,[(g(!0),v(Y,null,$t(e.vehicles,K=>(g(),v("div",{key:K.plate,class:"plates-vehicle-card",onClick:V=>c(K)},[h("div",ou,A(K.plate),1),h("div",lu,A(K.label),1)],8,iu))),128))])):r.value?(g(),v("div",ru,"Fahrzeuge werden geladen...")):(g(),v("div",cu,A(e.locale.noVehicles||"Keine Fahrzeuge vorhanden"),1))]))]))}},Tu={key:1,class:"history-list"},Pu={key:0,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Eu={key:1,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Mu={key:2,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Iu={key:3,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},Ou={class:"history-info"},Lu={class:"history-name"},Bu={class:"history-meta"},Ru={key:0,class:"history-price"},Fu={key:1,class:"history-price",style:{color:"var(--success)"}},Nu={key:2,class:"empty-state"},Vu={__name:"HistoryTab",props:{history:{type:Array,default:()=>[]},locale:{type:Object,default:()=>({})}},emits:["load"],setup(e,{emit:t}){const n=t,s=le(!1);function i(){s.value=!0,n("load")}function o(c){return c==="vehicle"?"vehicle":c==="plate"?"plate":c==="tebex_credit"?"tebex":c==="item"?"item":c==="pack"?"pack":"admin"}function l(c){return c.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}function r(c){return c?new Date(c).toLocaleDateString("de-DE",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}):""}return(c,d)=>(g(),v("div",null,[s.value?X("",!0):(g(),v("button",{key:0,class:"cs-btn ghost",onClick:i,style:{"margin-bottom":"12px"}},[d[0]||(d[0]=h("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[h("polyline",{points:"1 4 1 10 7 10"}),h("path",{d:"M3.51 15a9 9 0 1 0 2.13-9.36L1 10"})],-1)),we(" "+A(e.locale.loadHistory||"Historie laden"),1)])),s.value&&e.history.length>0?(g(),v("div",Tu,[(g(!0),v(Y,null,$t(e.history,(a,p)=>(g(),v("div",{key:p,class:"history-row"},[h("div",{class:rt(["history-icon",o(a.type)])},[a.type==="vehicle"?(g(),v("svg",Pu,[...d[1]||(d[1]=[h("rect",{x:"1",y:"3",width:"15",height:"13"},null,-1),h("polygon",{points:"16 8 20 8 23 11 23 16 16 16 16 8"},null,-1),h("circle",{cx:"5.5",cy:"18.5",r:"2.5"},null,-1),h("circle",{cx:"18.5",cy:"18.5",r:"2.5"},null,-1)])])):a.type==="plate"?(g(),v("svg",Eu,[...d[2]||(d[2]=[h("rect",{x:"2",y:"6",width:"20",height:"12",rx:"2"},null,-1),h("line",{x1:"12",y1:"10",x2:"12",y2:"14"},null,-1)])])):a.type==="tebex_credit"?(g(),v("svg",Mu,[...d[3]||(d[3]=[h("line",{x1:"12",y1:"1",x2:"12",y2:"23"},null,-1),h("path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"},null,-1)])])):(g(),v("svg",Iu,[...d[4]||(d[4]=[h("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"},null,-1)])]))],2),h("div",Ou,[h("div",Lu,A(a.item_name),1),h("div",Bu,A(r(a.created_at)),1)]),a.price>0?(g(),v("div",Ru," -"+A(l(a.price))+" C ",1)):(g(),v("div",Fu,A(a.item_name),1))]))),128))])):X("",!0),s.value&&e.history.length===0?(g(),v("div",Nu,A(e.locale.noHistory||"Keine Kaeufe vorhanden"),1)):X("",!0)]))}},Du={class:"confirm-box"},Hu={class:"confirm-item"},ju={class:"confirm-item-image"},Ku=["src","alt"],Wu={key:1,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",style:{color:"var(--text-ghost)"}},Uu={class:"confirm-item-info"},zu={class:"confirm-item-name"},qu={class:"confirm-item-price"},Gu={key:0,class:"confirm-summary"},Ju={class:"confirm-row"},Yu={class:"label"},Zu={class:"value"},Xu={class:"confirm-row"},Qu={class:"label"},ef={class:"value after"},tf={key:1,class:"confirm-summary"},nf={class:"confirm-row"},sf={class:"value admin-free"},of={class:"confirm-actions"},lf={__name:"ConfirmModal",props:{item:{type:Object,required:!0},coins:{type:Number,default:0},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})}},emits:["confirm","cancel"],setup(e){const t=e,n=de(()=>t.item.image?t.item.image:t.item.purchaseType==="item"&&t.item.item?`https://cfx-nui-codem-inventory/html/itemimages/${t.item.item.replace(/\.png$/i,"")}.png`:null),s=de(()=>t.item.discountedPrice!==void 0&&t.item.discountedPrice<t.item.price?t.item.discountedPrice:t.item.price);function i(o){return o.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}return(o,l)=>(g(),v("div",{class:"confirm-overlay",onClick:l[3]||(l[3]=ic(r=>o.$emit("cancel"),["self"]))},[h("div",Du,[h("h3",null,A(e.locale.confirmTitle||"Kauf bestaetigen"),1),h("div",Hu,[h("div",ju,[n.value?(g(),v("img",{key:0,src:n.value,alt:e.item.label,onError:l[0]||(l[0]=r=>r.target.style.display="none")},null,40,Ku)):(g(),v("svg",Wu,[...l[4]||(l[4]=[h("rect",{x:"1",y:"3",width:"15",height:"13"},null,-1),h("polygon",{points:"16 8 20 8 23 11 23 16 16 16 16 8"},null,-1),h("circle",{cx:"5.5",cy:"18.5",r:"2.5"},null,-1),h("circle",{cx:"18.5",cy:"18.5",r:"2.5"},null,-1)])]))]),h("div",Uu,[h("div",zu,A(e.item.label),1),h("div",qu,[e.isAdmin?(g(),v(Y,{key:0},[we(A(e.locale.adminFree||"Kostenlos (Admin)"),1)],64)):(g(),v(Y,{key:1},[we(A(i(s.value))+" "+A(e.locale.coins||"Coins"),1)],64))])])]),e.isAdmin?(g(),v("div",tf,[h("div",nf,[l[5]||(l[5]=h("span",{class:"label"},"Modus",-1)),h("span",sf,A(e.locale.adminMode||"Admin-Modus"),1)])])):(g(),v("div",Gu,[h("div",Ju,[h("span",Yu,A(e.locale.balance||"Guthaben"),1),h("span",Zu,A(i(e.coins))+" C",1)]),h("div",Xu,[h("span",Qu,A(e.locale.balanceAfter||"Guthaben danach"),1),h("span",ef,A(i(Math.max(0,e.coins-s.value)))+" C",1)])])),h("div",of,[h("button",{class:"cs-btn small ghost",onClick:l[1]||(l[1]=r=>o.$emit("cancel"))},A(e.locale.cancel||"Abbrechen"),1),h("button",{class:"cs-btn small",onClick:l[2]||(l[2]=r=>o.$emit("confirm"))},A(e.locale.confirm||"Bestaetigen"),1)])])]))}},rf={class:"cs-main"},cf={key:"home",class:"home-view"},af={__name:"App",setup(e){const t=le(!1),n=le([]),s=le("home"),i=le(0),o=le([]),l=le([]),r=le(null),c=le({}),d=le({}),a=le(!0),p=le(!1),w=le("VIP SHOP"),T=le(null),I=le(!1),C=le(null);function K(){return window.GetParentResourceName?window.GetParentResourceName():"mercy-coinshop"}function V(k,F={}){return fetch(`https://${K()}/${k}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(F)})}const j=de(()=>{const k=d.value,F={};return k.accent&&(F["--accent"]=k.accent,F["--accent-dim"]=W(k.accent,.12),F["--accent-subtle"]=W(k.accent,.05),F["--border-accent"]=W(k.accent,.15)),k.accentLight&&(F["--accent-light"]=k.accentLight),k.surfaceBase&&(F["--surface-base"]=k.surfaceBase),F});function W(k,F){if(!k||!k.startsWith("#"))return k;const Re=parseInt(k.slice(1,3),16),Ke=parseInt(k.slice(3,5),16),At=parseInt(k.slice(5,7),16);return`rgba(${Re}, ${Ke}, ${At}, ${F})`}const O=de(()=>n.value),U=de(()=>n.value.find(k=>k.id===s.value)),ne=de(()=>{var k;return s.value==="_history"?"history":((k=U.value)==null?void 0:k.type)||""}),ve=de(()=>{var k;return s.value==="_history"?c.value.history||"Kaufhistorie":((k=U.value)==null?void 0:k.label)||""}),he=de(()=>{var k;return((k=U.value)==null?void 0:k.items)||[]}),D=de(()=>{const k=U.value;return!k||k.type!=="plate"?{}:{price:k.price||200,maxLength:k.maxLength||8,allowedPattern:k.allowedPattern||"^[A-Z0-9 ]+$"}});function q(){t.value=!1,V("close")}function re(k){s.value=k}function M(k){a.value&&!p.value?r.value={...k,purchaseType:"vehicle"}:V("buyVehicle",{model:k.model,isWeekly:k.isWeekly||!1})}function se(k){a.value&&!p.value?r.value={...k,purchaseType:"vehicle",isWeekly:!0}:V("buyVehicle",{model:k.model,isWeekly:!0})}function pe(k){const F=U.value;F&&(a.value&&!p.value?r.value={...k,purchaseType:"item",categoryId:F.id,itemIndex:k.index}:V("buyItem",{categoryId:F.id,itemIndex:k.index}))}function Be(k){const F=U.value;F&&(a.value&&!p.value?r.value={...k,purchaseType:"pack",categoryId:F.id,itemIndex:k.index}:V("buyPack",{categoryId:F.id,itemIndex:k.index}))}function ue(k){const F=D.value.price;a.value&&!p.value?r.value={label:k.vehiclePlate+" → "+k.newPlate,price:F,purchaseType:"plate",vehiclePlate:k.vehiclePlate,newPlate:k.newPlate}:V("buyPlate",{vehiclePlate:k.vehiclePlate,newPlate:k.newPlate})}function ce(){const k=r.value;k&&(k.purchaseType==="vehicle"?V("buyVehicle",{model:k.model,isWeekly:k.isWeekly||!1}):k.purchaseType==="item"?V("buyItem",{categoryId:k.categoryId,itemIndex:k.itemIndex}):k.purchaseType==="pack"?V("buyPack",{categoryId:k.categoryId,itemIndex:k.itemIndex}):k.purchaseType==="plate"&&V("buyPlate",{vehiclePlate:k.vehiclePlate,newPlate:k.newPlate}),r.value=null)}function Q(k){V("redeemCode",{code:k})}function et(){V("getHistory")}function St(){V("getPlayerVehicles")}function je(k){const F=k.data;switch(F.type){case"open":t.value=!0,s.value="home",i.value=F.coins||0,n.value=F.categories||[],d.value=F.theme||{},c.value=F.locale||{},a.value=F.confirmPopup!==!1,p.value=F.isAdmin||!1,w.value=F.shopName||"VIP SHOP",T.value=F.playtimeBonus||null,I.value=F.tebexEnabled||!1,o.value=[],l.value=[],r.value=null;break;case"close":t.value=!1;break;case"updateCoins":i.value=F.coins||0;break;case"updateHistory":o.value=F.history||[];break;case"updatePlayerVehicles":l.value=F.vehicles||[];break;case"purchaseSuccess":if(F.model){for(const Re of n.value)if(Re.items)for(const Ke of Re.items)Ke.model===F.model&&(Ke.owned=!0)}break;case"redeemResult":break;case"playtimeReset":C.value&&C.value.resetTimer();break}}function Pe(k){k.key==="Escape"&&(r.value?r.value=null:s.value!=="home"?s.value="home":t.value&&q())}return ln(()=>{window.addEventListener("message",je),window.addEventListener("keydown",Pe)}),On(()=>{window.removeEventListener("message",je),window.removeEventListener("keydown",Pe)}),(k,F)=>(g(),Me(Zs,{name:"overlay"},{default:dn(()=>[t.value?(g(),v("div",{key:0,class:"cs-overlay",style:pt(j.value)},[me(Ac,{ref_key:"headerRef",ref:C,shopName:w.value,coins:i.value,isAdmin:p.value,locale:c.value,playtimeBonus:T.value,tebexEnabled:I.value,onClose:q,onRedeem:Q},null,8,["shopName","coins","isAdmin","locale","playtimeBonus","tebexEnabled"]),h("div",rf,[me(Zs,{name:"fade",mode:"out-in"},{default:dn(()=>[s.value==="home"?(g(),v("div",cf,[me(Zc,{categories:O.value,locale:c.value,onSelect:re},null,8,["categories","locale"])])):(g(),Me(na,{key:s.value,title:ve.value,locale:c.value,onBack:F[1]||(F[1]=Re=>s.value="home")},{default:dn(()=>[ne.value==="vehicle"||ne.value==="weekly"?(g(),Me(Sa,{key:0,items:he.value,coins:i.value,isAdmin:p.value,locale:c.value,isWeekly:ne.value==="weekly",onBuy:F[0]||(F[0]=Re=>ne.value==="weekly"?se(Re):M(Re))},null,8,["items","coins","isAdmin","locale","isWeekly"])):ne.value==="item"?(g(),Me(Ia,{key:1,items:he.value,coins:i.value,isAdmin:p.value,locale:c.value,onBuy:pe},null,8,["items","coins","isAdmin","locale"])):ne.value==="pack"?(g(),Me(Qa,{key:2,items:he.value,coins:i.value,isAdmin:p.value,locale:c.value,onBuy:Be},null,8,["items","coins","isAdmin","locale"])):ne.value==="plate"?(g(),Me(Au,{key:3,config:D.value,coins:i.value,vehicles:l.value,isAdmin:p.value,locale:c.value,onBuy:ue,onLoadVehicles:St},null,8,["config","coins","vehicles","isAdmin","locale"])):s.value==="_history"?(g(),Me(Vu,{key:4,history:o.value,locale:c.value,onLoad:et},null,8,["history","locale"])):X("",!0)]),_:1},8,["title","locale"]))]),_:1})]),r.value?(g(),Me(lf,{key:0,item:r.value,coins:i.value,isAdmin:p.value,locale:c.value,onConfirm:ce,onCancel:F[2]||(F[2]=Re=>r.value=null)},null,8,["item","coins","isAdmin","locale"])):X("",!0)],4)):X("",!0)]),_:1}))}};ac(af).mount("#app");