Files
tensors/tensors/server/static/assets/index-Dd0b3iAi.js
T
Adam Ladachowski c2f915c59c 💬 Commit message: Update 2026-02-14 07:10:06, 4 files, 12 lines
📁 Files changed: 4
📝 Lines changed: 12

  • index-D2fa7i11.css
  • index-Dd0b3iAi.js
  • index.html
  • GenerateView.vue
2026-02-14 07:10:06 +01:00

16 lines
314 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))l(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&l(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function l(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();function No(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const $e={},pl=[],an=()=>{},Ou=()=>!1,ci=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ho=e=>e.startsWith("onUpdate:"),Ze=Object.assign,Wo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vv=Object.prototype.hasOwnProperty,Te=(e,t)=>vv.call(e,t),me=Array.isArray,bl=e=>ga(e)==="[object Map]",Mu=e=>ga(e)==="[object Set]",Fs=e=>ga(e)==="[object Date]",ye=e=>typeof e=="function",Ke=e=>typeof e=="string",on=e=>typeof e=="symbol",Ee=e=>e!==null&&typeof e=="object",Lu=e=>(Ee(e)||ye(e))&&ye(e.then)&&ye(e.catch),Du=Object.prototype.toString,ga=e=>Du.call(e),mv=e=>ga(e).slice(8,-1),$u=e=>ga(e)==="[object Object]",di=e=>Ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,jl=No(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fi=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},gv=/-\w/g,dt=fi(e=>e.replace(gv,t=>t.slice(1).toUpperCase())),hv=/\B([A-Z])/g,Hn=fi(e=>e.replace(hv,"-$1").toLowerCase()),En=fi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Di=fi(e=>e?`on${En(e)}`:""),Rn=(e,t)=>!Object.is(e,t),$i=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Fu=(e,t,n,l=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:l,value:n})},yv=e=>{const t=parseFloat(e);return isNaN(t)?e:t},pv=e=>{const t=Ke(e)?Number(e):NaN;return isNaN(t)?e:t};let Bs;const vi=()=>Bs||(Bs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xe(e){if(me(e)){const t={};for(let n=0;n<e.length;n++){const l=e[n],a=Ke(l)?Cv(l):xe(l);if(a)for(const i in a)t[i]=a[i]}return t}else if(Ke(e)||Ee(e))return e}const bv=/;(?![^(]*\))/g,Sv=/:([^]+)/,wv=/\/\*[^]*?\*\//g;function Cv(e){const t={};return e.replace(wv,"").split(bv).forEach(n=>{if(n){const l=n.split(Sv);l.length>1&&(t[l[0].trim()]=l[1].trim())}}),t}function ue(e){let t="";if(Ke(e))t=e;else if(me(e))for(let n=0;n<e.length;n++){const l=ue(e[n]);l&&(t+=l+" ")}else if(Ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const xv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_v=No(xv);function Bu(e){return!!e||e===""}function kv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let l=0;n&&l<e.length;l++)n=jo(e[l],t[l]);return n}function jo(e,t){if(e===t)return!0;let n=Fs(e),l=Fs(t);if(n||l)return n&&l?e.getTime()===t.getTime():!1;if(n=on(e),l=on(t),n||l)return e===t;if(n=me(e),l=me(t),n||l)return n&&l?kv(e,t):!1;if(n=Ee(e),l=Ee(t),n||l){if(!n||!l)return!1;const a=Object.keys(e).length,i=Object.keys(t).length;if(a!==i)return!1;for(const o in e){const s=e.hasOwnProperty(o),r=t.hasOwnProperty(o);if(s&&!r||!s&&r||!jo(e[o],t[o]))return!1}}return String(e)===String(t)}const Ru=e=>!!(e&&e.__v_isRef===!0),Re=e=>Ke(e)?e:e==null?"":me(e)||Ee(e)&&(e.toString===Du||!ye(e.toString))?Ru(e)?Re(e.value):JSON.stringify(e,Nu,2):String(e),Nu=(e,t)=>Ru(t)?Nu(e,t.value):bl(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[l,a],i)=>(n[Fi(l,i)+" =>"]=a,n),{})}:Mu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Fi(n))}:on(t)?Fi(t):Ee(t)&&!me(t)&&!$u(t)?String(t):t,Fi=(e,t="")=>{var n;return on(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let at;class Hu{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=at,!t&&at&&(this.index=(at.scopes||(at.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=at;try{return at=this,t()}finally{at=n}}}on(){++this._on===1&&(this.prevScope=at,at=this)}off(){this._on>0&&--this._on===0&&(at=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,l;for(n=0,l=this.effects.length;n<l;n++)this.effects[n].stop();for(this.effects.length=0,n=0,l=this.cleanups.length;n<l;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,l=this.scopes.length;n<l;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0}}}function al(e){return new Hu(e)}function zo(){return at}function Je(e,t=!1){at&&at.cleanups.push(e)}let Be;const Bi=new WeakSet;class Wu{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,at&&at.active&&at.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Bi.has(this)&&(Bi.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||zu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Rs(this),Uu(this);const t=Be,n=jt;Be=this,jt=!0;try{return this.fn()}finally{Ku(this),Be=t,jt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Go(t);this.deps=this.depsTail=void 0,Rs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Bi.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){so(this)&&this.run()}get dirty(){return so(this)}}let ju=0,zl,Ul;function zu(e,t=!1){if(e.flags|=8,t){e.next=Ul,Ul=e;return}e.next=zl,zl=e}function Uo(){ju++}function Ko(){if(--ju>0)return;if(Ul){let t=Ul;for(Ul=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;zl;){let t=zl;for(zl=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(l){e||(e=l)}t=n}}if(e)throw e}function Uu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ku(e){let t,n=e.depsTail,l=n;for(;l;){const a=l.prevDep;l.version===-1?(l===n&&(n=a),Go(l),Av(l)):t=l,l.dep.activeLink=l.prevActiveLink,l.prevActiveLink=void 0,l=a}e.deps=t,e.depsTail=n}function so(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Gu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Gu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ta)||(e.globalVersion=ta,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!so(e))))return;e.flags|=2;const t=e.dep,n=Be,l=jt;Be=e,jt=!0;try{Uu(e);const a=e.fn(e._value);(t.version===0||Rn(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{Be=n,jt=l,Ku(e),e.flags&=-3}}function Go(e,t=!1){const{dep:n,prevSub:l,nextSub:a}=e;if(l&&(l.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=l,e.nextSub=void 0),n.subs===e&&(n.subs=l,!l&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Go(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Av(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let jt=!0;const Yu=[];function xn(){Yu.push(jt),jt=!1}function _n(){const e=Yu.pop();jt=e===void 0?!0:e}function Rs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Be;Be=void 0;try{t()}finally{Be=n}}}let ta=0;class Iv{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 Yo{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(!Be||!jt||Be===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Be)n=this.activeLink=new Iv(Be,this),Be.deps?(n.prevDep=Be.depsTail,Be.depsTail.nextDep=n,Be.depsTail=n):Be.deps=Be.depsTail=n,qu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const l=n.nextDep;l.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=l),n.prevDep=Be.depsTail,n.nextDep=void 0,Be.depsTail.nextDep=n,Be.depsTail=n,Be.deps===n&&(Be.deps=l)}return n}trigger(t){this.version++,ta++,this.notify(t)}notify(t){Uo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ko()}}}function qu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let l=t.deps;l;l=l.nextDep)qu(l)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ra=new WeakMap,Qn=Symbol(""),ro=Symbol(""),na=Symbol("");function it(e,t,n){if(jt&&Be){let l=Ra.get(e);l||Ra.set(e,l=new Map);let a=l.get(n);a||(l.set(n,a=new Yo),a.map=l,a.key=n),a.track()}}function Sn(e,t,n,l,a,i){const o=Ra.get(e);if(!o){ta++;return}const s=r=>{r&&r.trigger()};if(Uo(),t==="clear")o.forEach(s);else{const r=me(e),c=r&&di(n);if(r&&n==="length"){const u=Number(l);o.forEach((d,f)=>{(f==="length"||f===na||!on(f)&&f>=u)&&s(d)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),c&&s(o.get(na)),t){case"add":r?c&&s(o.get("length")):(s(o.get(Qn)),bl(e)&&s(o.get(ro)));break;case"delete":r||(s(o.get(Qn)),bl(e)&&s(o.get(ro)));break;case"set":bl(e)&&s(o.get(Qn));break}}Ko()}function Vv(e,t){const n=Ra.get(e);return n&&n.get(t)}function cl(e){const t=fe(e);return t===e?t:(it(t,"iterate",na),kt(e)?t:t.map(Ut))}function mi(e){return it(e=fe(e),"iterate",na),e}function Dn(e,t){return kn(e)?Cl(Cn(e)?Ut(t):t):Ut(t)}const Ev={__proto__:null,[Symbol.iterator](){return Ri(this,Symbol.iterator,e=>Dn(this,e))},concat(...e){return cl(this).concat(...e.map(t=>me(t)?cl(t):t))},entries(){return Ri(this,"entries",e=>(e[1]=Dn(this,e[1]),e))},every(e,t){return hn(this,"every",e,t,void 0,arguments)},filter(e,t){return hn(this,"filter",e,t,n=>n.map(l=>Dn(this,l)),arguments)},find(e,t){return hn(this,"find",e,t,n=>Dn(this,n),arguments)},findIndex(e,t){return hn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return hn(this,"findLast",e,t,n=>Dn(this,n),arguments)},findLastIndex(e,t){return hn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return hn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ni(this,"includes",e)},indexOf(...e){return Ni(this,"indexOf",e)},join(e){return cl(this).join(e)},lastIndexOf(...e){return Ni(this,"lastIndexOf",e)},map(e,t){return hn(this,"map",e,t,void 0,arguments)},pop(){return Fl(this,"pop")},push(...e){return Fl(this,"push",e)},reduce(e,...t){return Ns(this,"reduce",e,t)},reduceRight(e,...t){return Ns(this,"reduceRight",e,t)},shift(){return Fl(this,"shift")},some(e,t){return hn(this,"some",e,t,void 0,arguments)},splice(...e){return Fl(this,"splice",e)},toReversed(){return cl(this).toReversed()},toSorted(e){return cl(this).toSorted(e)},toSpliced(...e){return cl(this).toSpliced(...e)},unshift(...e){return Fl(this,"unshift",e)},values(){return Ri(this,"values",e=>Dn(this,e))}};function Ri(e,t,n){const l=mi(e),a=l[t]();return l!==e&&!kt(e)&&(a._next=a.next,a.next=()=>{const i=a._next();return i.done||(i.value=n(i.value)),i}),a}const Tv=Array.prototype;function hn(e,t,n,l,a,i){const o=mi(e),s=o!==e&&!kt(e),r=o[t];if(r!==Tv[t]){const d=r.apply(e,i);return s?Ut(d):d}let c=n;o!==e&&(s?c=function(d,f){return n.call(this,Dn(e,d),f,e)}:n.length>2&&(c=function(d,f){return n.call(this,d,f,e)}));const u=r.call(o,c,l);return s&&a?a(u):u}function Ns(e,t,n,l){const a=mi(e);let i=n;return a!==e&&(kt(e)?n.length>3&&(i=function(o,s,r){return n.call(this,o,s,r,e)}):i=function(o,s,r){return n.call(this,o,Dn(e,s),r,e)}),a[t](i,...l)}function Ni(e,t,n){const l=fe(e);it(l,"iterate",na);const a=l[t](...n);return(a===-1||a===!1)&&gi(n[0])?(n[0]=fe(n[0]),l[t](...n)):a}function Fl(e,t,n=[]){xn(),Uo();const l=fe(e)[t].apply(e,n);return Ko(),_n(),l}const Pv=No("__proto__,__v_isRef,__isVue"),Xu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(on));function Ov(e){on(e)||(e=String(e));const t=fe(this);return it(t,"has",e),t.hasOwnProperty(e)}class Zu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,l){if(n==="__v_skip")return t.__v_skip;const a=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return i;if(n==="__v_raw")return l===(a?i?Wv:tc:i?ec:Qu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(l)?t:void 0;const o=me(t);if(!a){let r;if(o&&(r=Ev[n]))return r;if(n==="hasOwnProperty")return Ov}const s=Reflect.get(t,n,He(t)?t:l);if((on(n)?Xu.has(n):Pv(n))||(a||it(t,"get",n),i))return s;if(He(s)){const r=o&&di(n)?s:s.value;return a&&Ee(r)?il(r):r}return Ee(s)?a?il(s):et(s):s}}class Ju extends Zu{constructor(t=!1){super(!1,t)}set(t,n,l,a){let i=t[n];const o=me(t)&&di(n);if(!this._isShallow){const c=kn(i);if(!kt(l)&&!kn(l)&&(i=fe(i),l=fe(l)),!o&&He(i)&&!He(l))return c||(i.value=l),!0}const s=o?Number(n)<t.length:Te(t,n),r=Reflect.set(t,n,l,He(t)?t:a);return t===fe(a)&&(s?Rn(l,i)&&Sn(t,"set",n,l):Sn(t,"add",n,l)),r}deleteProperty(t,n){const l=Te(t,n);t[n];const a=Reflect.deleteProperty(t,n);return a&&l&&Sn(t,"delete",n,void 0),a}has(t,n){const l=Reflect.has(t,n);return(!on(n)||!Xu.has(n))&&it(t,"has",n),l}ownKeys(t){return it(t,"iterate",me(t)?"length":Qn),Reflect.ownKeys(t)}}class Mv extends Zu{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Lv=new Ju,Dv=new Mv,$v=new Ju(!0);const uo=e=>e,Aa=e=>Reflect.getPrototypeOf(e);function Fv(e,t,n){return function(...l){const a=this.__v_raw,i=fe(a),o=bl(i),s=e==="entries"||e===Symbol.iterator&&o,r=e==="keys"&&o,c=a[e](...l),u=n?uo:t?Cl:Ut;return!t&&it(i,"iterate",r?ro:Qn),Ze(Object.create(c),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:s?[u(d[0]),u(d[1])]:u(d),done:f}}})}}function Ia(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Bv(e,t){const n={get(a){const i=this.__v_raw,o=fe(i),s=fe(a);e||(Rn(a,s)&&it(o,"get",a),it(o,"get",s));const{has:r}=Aa(o),c=t?uo:e?Cl:Ut;if(r.call(o,a))return c(i.get(a));if(r.call(o,s))return c(i.get(s));i!==o&&i.get(a)},get size(){const a=this.__v_raw;return!e&&it(fe(a),"iterate",Qn),a.size},has(a){const i=this.__v_raw,o=fe(i),s=fe(a);return e||(Rn(a,s)&&it(o,"has",a),it(o,"has",s)),a===s?i.has(a):i.has(a)||i.has(s)},forEach(a,i){const o=this,s=o.__v_raw,r=fe(s),c=t?uo:e?Cl:Ut;return!e&&it(r,"iterate",Qn),s.forEach((u,d)=>a.call(i,c(u),c(d),o))}};return Ze(n,e?{add:Ia("add"),set:Ia("set"),delete:Ia("delete"),clear:Ia("clear")}:{add(a){!t&&!kt(a)&&!kn(a)&&(a=fe(a));const i=fe(this);return Aa(i).has.call(i,a)||(i.add(a),Sn(i,"add",a,a)),this},set(a,i){!t&&!kt(i)&&!kn(i)&&(i=fe(i));const o=fe(this),{has:s,get:r}=Aa(o);let c=s.call(o,a);c||(a=fe(a),c=s.call(o,a));const u=r.call(o,a);return o.set(a,i),c?Rn(i,u)&&Sn(o,"set",a,i):Sn(o,"add",a,i),this},delete(a){const i=fe(this),{has:o,get:s}=Aa(i);let r=o.call(i,a);r||(a=fe(a),r=o.call(i,a)),s&&s.call(i,a);const c=i.delete(a);return r&&Sn(i,"delete",a,void 0),c},clear(){const a=fe(this),i=a.size!==0,o=a.clear();return i&&Sn(a,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=Fv(a,e,t)}),n}function qo(e,t){const n=Bv(e,t);return(l,a,i)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?l:Reflect.get(Te(n,a)&&a in l?n:l,a,i)}const Rv={get:qo(!1,!1)},Nv={get:qo(!1,!0)},Hv={get:qo(!0,!1)};const Qu=new WeakMap,ec=new WeakMap,tc=new WeakMap,Wv=new WeakMap;function jv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zv(e){return e.__v_skip||!Object.isExtensible(e)?0:jv(mv(e))}function et(e){return kn(e)?e:Xo(e,!1,Lv,Rv,Qu)}function Uv(e){return Xo(e,!1,$v,Nv,ec)}function il(e){return Xo(e,!0,Dv,Hv,tc)}function Xo(e,t,n,l,a){if(!Ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=zv(e);if(i===0)return e;const o=a.get(e);if(o)return o;const s=new Proxy(e,i===2?l:n);return a.set(e,s),s}function Cn(e){return kn(e)?Cn(e.__v_raw):!!(e&&e.__v_isReactive)}function kn(e){return!!(e&&e.__v_isReadonly)}function kt(e){return!!(e&&e.__v_isShallow)}function gi(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Zo(e){return!Te(e,"__v_skip")&&Object.isExtensible(e)&&Fu(e,"__v_skip",!0),e}const Ut=e=>Ee(e)?et(e):e,Cl=e=>Ee(e)?il(e):e;function He(e){return e?e.__v_isRef===!0:!1}function Z(e){return nc(e,!1)}function ae(e){return nc(e,!0)}function nc(e,t){return He(e)?e:new Kv(e,t)}class Kv{constructor(t,n){this.dep=new Yo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:fe(t),this._value=n?t:Ut(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,l=this.__v_isShallow||kt(t)||kn(t);t=l?t:fe(t),Rn(t,n)&&(this._rawValue=t,this._value=l?t:Ut(t),this.dep.trigger())}}function Ae(e){return He(e)?e.value:e}function nt(e){return ye(e)?e():Ae(e)}const Gv={get:(e,t,n)=>t==="__v_raw"?e:Ae(Reflect.get(e,t,n)),set:(e,t,n,l)=>{const a=e[t];return He(a)&&!He(n)?(a.value=n,!0):Reflect.set(e,t,n,l)}};function lc(e){return Cn(e)?e:new Proxy(e,Gv)}function Jo(e){const t=me(e)?new Array(e.length):{};for(const n in e)t[n]=ac(e,n);return t}class Yv{constructor(t,n,l){this._object=t,this._key=n,this._defaultValue=l,this.__v_isRef=!0,this._value=void 0,this._raw=fe(t);let a=!0,i=t;if(!me(t)||!di(String(n)))do a=!gi(i)||kt(i);while(a&&(i=i.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=Ae(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&He(this._raw[this._key])){const n=this._object[this._key];if(He(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Vv(this._raw,this._key)}}class qv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function M(e,t,n){return He(e)?e:ye(e)?new qv(e):Ee(e)&&arguments.length>1?ac(e,t,n):Z(e)}function ac(e,t,n){return new Yv(e,t,n)}class Xv{constructor(t,n,l){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Yo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ta-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=l}notify(){if(this.flags|=16,!(this.flags&8)&&Be!==this)return zu(this,!0),!0}get value(){const t=this.dep.track();return Gu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Zv(e,t,n=!1){let l,a;return ye(e)?l=e:(l=e.get,a=e.set),new Xv(l,a,n)}const Va={},Na=new WeakMap;let qn;function Jv(e,t=!1,n=qn){if(n){let l=Na.get(n);l||Na.set(n,l=[]),l.push(e)}}function Qv(e,t,n=$e){const{immediate:l,deep:a,once:i,scheduler:o,augmentJob:s,call:r}=n,c=C=>a?C:kt(C)||a===!1||a===0?wn(C,1):wn(C);let u,d,f,v,g=!1,m=!1;if(He(e)?(d=()=>e.value,g=kt(e)):Cn(e)?(d=()=>c(e),g=!0):me(e)?(m=!0,g=e.some(C=>Cn(C)||kt(C)),d=()=>e.map(C=>{if(He(C))return C.value;if(Cn(C))return c(C);if(ye(C))return r?r(C,2):C()})):ye(e)?t?d=r?()=>r(e,2):e:d=()=>{if(f){xn();try{f()}finally{_n()}}const C=qn;qn=u;try{return r?r(e,3,[v]):e(v)}finally{qn=C}}:d=an,t&&a){const C=d,E=a===!0?1/0:a;d=()=>wn(C(),E)}const k=zo(),S=()=>{u.stop(),k&&k.active&&Wo(k.effects,u)};if(i&&t){const C=t;t=(...E)=>{C(...E),S()}}let w=m?new Array(e.length).fill(Va):Va;const b=C=>{if(!(!(u.flags&1)||!u.dirty&&!C))if(t){const E=u.run();if(a||g||(m?E.some((A,V)=>Rn(A,w[V])):Rn(E,w))){f&&f();const A=qn;qn=u;try{const V=[E,w===Va?void 0:m&&w[0]===Va?[]:w,v];w=E,r?r(t,3,V):t(...V)}finally{qn=A}}}else u.run()};return s&&s(b),u=new Wu(d),u.scheduler=o?()=>o(b,!1):b,v=C=>Jv(C,!1,u),f=u.onStop=()=>{const C=Na.get(u);if(C){if(r)r(C,4);else for(const E of C)E();Na.delete(u)}},t?l?b(!0):w=u.run():o?o(b.bind(null,!0),!0):u.run(),S.pause=u.pause.bind(u),S.resume=u.resume.bind(u),S.stop=S,S}function wn(e,t=1/0,n){if(t<=0||!Ee(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,He(e))wn(e.value,t,n);else if(me(e))for(let l=0;l<e.length;l++)wn(e[l],t,n);else if(Mu(e)||bl(e))e.forEach(l=>{wn(l,t,n)});else if($u(e)){for(const l in e)wn(e[l],t,n);for(const l of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,l)&&wn(e[l],t,n)}return e}function ha(e,t,n,l){try{return l?e(...l):e()}catch(a){hi(a,t,n)}}function Kt(e,t,n,l){if(ye(e)){const a=ha(e,t,n,l);return a&&Lu(a)&&a.catch(i=>{hi(i,t,n)}),a}if(me(e)){const a=[];for(let i=0;i<e.length;i++)a.push(Kt(e[i],t,n,l));return a}}function hi(e,t,n,l=!0){const a=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||$e;if(t){let s=t.parent;const r=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const u=s.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,r,c)===!1)return}s=s.parent}if(i){xn(),ha(i,null,10,[e,r,c]),_n();return}}em(e,n,a,l,o)}function em(e,t,n,l=!0,a=!1){if(a)throw e;console.error(e)}const ct=[];let Qt=-1;const Sl=[];let $n=null,hl=0;const ic=Promise.resolve();let Ha=null;function Ue(e){const t=Ha||ic;return e?t.then(this?e.bind(this):e):t}function tm(e){let t=Qt+1,n=ct.length;for(;t<n;){const l=t+n>>>1,a=ct[l],i=la(a);i<e||i===e&&a.flags&2?t=l+1:n=l}return t}function Qo(e){if(!(e.flags&1)){const t=la(e),n=ct[ct.length-1];!n||!(e.flags&2)&&t>=la(n)?ct.push(e):ct.splice(tm(t),0,e),e.flags|=1,oc()}}function oc(){Ha||(Ha=ic.then(rc))}function nm(e){me(e)?Sl.push(...e):$n&&e.id===-1?$n.splice(hl+1,0,e):e.flags&1||(Sl.push(e),e.flags|=1),oc()}function Hs(e,t,n=Qt+1){for(;n<ct.length;n++){const l=ct[n];if(l&&l.flags&2){if(e&&l.id!==e.uid)continue;ct.splice(n,1),n--,l.flags&4&&(l.flags&=-2),l(),l.flags&4||(l.flags&=-2)}}}function sc(e){if(Sl.length){const t=[...new Set(Sl)].sort((n,l)=>la(n)-la(l));if(Sl.length=0,$n){$n.push(...t);return}for($n=t,hl=0;hl<$n.length;hl++){const n=$n[hl];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}$n=null,hl=0}}const la=e=>e.id==null?e.flags&2?-1:1/0:e.id;function rc(e){try{for(Qt=0;Qt<ct.length;Qt++){const t=ct[Qt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ha(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Qt<ct.length;Qt++){const t=ct[Qt];t&&(t.flags&=-2)}Qt=-1,ct.length=0,sc(),Ha=null,(ct.length||Sl.length)&&rc()}}let xt=null,uc=null;function Wa(e){const t=xt;return xt=e,uc=e&&e.type.__scopeId||null,t}function le(e,t=xt,n){if(!t||e._n)return e;const l=(...a)=>{l._d&&Ua(-1);const i=Wa(t);let o;try{o=e(...a)}finally{Wa(i),l._d&&Ua(1)}return o};return l._n=!0,l._c=!0,l._d=!0,l}function It(e,t){if(xt===null)return e;const n=Si(xt),l=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[i,o,s,r=$e]=t[a];i&&(ye(i)&&(i={mounted:i,updated:i}),i.deep&&wn(o),l.push({dir:i,instance:n,value:o,oldValue:void 0,arg:s,modifiers:r}))}return e}function zn(e,t,n,l){const a=e.dirs,i=t&&t.dirs;for(let o=0;o<a.length;o++){const s=a[o];i&&(s.oldValue=i[o].value);let r=s.dir[l];r&&(xn(),Kt(r,n,8,[e.el,s,e,t]),_n())}}function ft(e,t){if(st){let n=st.provides;const l=st.parent&&st.parent.provides;l===n&&(n=st.provides=Object.create(l)),n[e]=t}}function Me(e,t,n=!1){const l=Pl();if(l||el){let a=el?el._context.provides:l?l.parent==null||l.ce?l.vnode.appContext&&l.vnode.appContext.provides:l.parent.provides:void 0;if(a&&e in a)return a[e];if(arguments.length>1)return n&&ye(t)?t.call(l&&l.proxy):t}}function lm(){return!!(Pl()||el)}const am=Symbol.for("v-scx"),im=()=>Me(am);function ht(e,t){return es(e,null,t)}function oe(e,t,n){return es(e,t,n)}function es(e,t,n=$e){const{immediate:l,deep:a,flush:i,once:o}=n,s=Ze({},n),r=t&&l||!t&&i!=="post";let c;if(sa){if(i==="sync"){const v=im();c=v.__watcherHandles||(v.__watcherHandles=[])}else if(!r){const v=()=>{};return v.stop=an,v.resume=an,v.pause=an,v}}const u=st;s.call=(v,g,m)=>Kt(v,u,g,m);let d=!1;i==="post"?s.scheduler=v=>{lt(v,u&&u.suspense)}:i!=="sync"&&(d=!0,s.scheduler=(v,g)=>{g?v():Qo(v)}),s.augmentJob=v=>{t&&(v.flags|=4),d&&(v.flags|=2,u&&(v.id=u.uid,v.i=u))};const f=Qv(e,t,s);return sa&&(c?c.push(f):r&&f()),f}function om(e,t,n){const l=this.proxy,a=Ke(e)?e.includes(".")?cc(l,e):()=>l[e]:e.bind(l,l);let i;ye(t)?i=t:(i=t.handler,n=t);const o=ba(this),s=es(a,i.bind(l),n);return o(),s}function cc(e,t){const n=t.split(".");return()=>{let l=e;for(let a=0;a<n.length&&l;a++)l=l[n[a]];return l}}const dc=Symbol("_vte"),fc=e=>e.__isTeleport,Kl=e=>e&&(e.disabled||e.disabled===""),Ws=e=>e&&(e.defer||e.defer===""),js=e=>typeof SVGElement<"u"&&e instanceof SVGElement,zs=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,co=(e,t)=>{const n=e&&e.to;return Ke(n)?t?t(n):null:n},vc={name:"Teleport",__isTeleport:!0,process(e,t,n,l,a,i,o,s,r,c){const{mc:u,pc:d,pbc:f,o:{insert:v,querySelector:g,createText:m,createComment:k}}=c,S=Kl(t.props);let{shapeFlag:w,children:b,dynamicChildren:C}=t;if(e==null){const E=t.el=m(""),A=t.anchor=m("");v(E,n,l),v(A,n,l);const V=(_,L)=>{w&16&&u(b,_,L,a,i,o,s,r)},p=()=>{const _=t.target=co(t.props,g),L=fo(_,t,m,v);_&&(o!=="svg"&&js(_)?o="svg":o!=="mathml"&&zs(_)&&(o="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(_),S||(V(_,L),La(t,!1)))};S&&(V(n,A),La(t,!0)),Ws(t.props)?(t.el.__isMounted=!1,lt(()=>{p(),delete t.el.__isMounted},i)):p()}else{if(Ws(t.props)&&e.el.__isMounted===!1){lt(()=>{vc.process(e,t,n,l,a,i,o,s,r,c)},i);return}t.el=e.el,t.targetStart=e.targetStart;const E=t.anchor=e.anchor,A=t.target=e.target,V=t.targetAnchor=e.targetAnchor,p=Kl(e.props),_=p?n:A,L=p?E:V;if(o==="svg"||js(A)?o="svg":(o==="mathml"||zs(A))&&(o="mathml"),C?(f(e.dynamicChildren,C,_,a,i,o,s),os(e,t,!0)):r||d(e,t,_,L,a,i,o,s,!1),S)p?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ea(t,n,E,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const F=t.target=co(t.props,g);F&&Ea(t,F,null,c,0)}else p&&Ea(t,A,V,c,1);La(t,S)}},remove(e,t,n,{um:l,o:{remove:a}},i){const{shapeFlag:o,children:s,anchor:r,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(a(c),a(u)),i&&a(r),o&16){const v=i||!Kl(f);for(let g=0;g<s.length;g++){const m=s[g];l(m,t,n,v,!!m.dynamicChildren)}}},move:Ea,hydrate:sm};function Ea(e,t,n,{o:{insert:l},m:a},i=2){i===0&&l(e.targetAnchor,t,n);const{el:o,anchor:s,shapeFlag:r,children:c,props:u}=e,d=i===2;if(d&&l(o,t,n),(!d||Kl(u))&&r&16)for(let f=0;f<c.length;f++)a(c[f],t,n,2);d&&l(s,t,n)}function sm(e,t,n,l,a,i,{o:{nextSibling:o,parentNode:s,querySelector:r,insert:c,createText:u}},d){function f(k,S){let w=S;for(;w;){if(w&&w.nodeType===8){if(w.data==="teleport start anchor")t.targetStart=w;else if(w.data==="teleport anchor"){t.targetAnchor=w,k._lpa=t.targetAnchor&&o(t.targetAnchor);break}}w=o(w)}}function v(k,S){S.anchor=d(o(k),S,s(k),n,l,a,i)}const g=t.target=co(t.props,r),m=Kl(t.props);if(g){const k=g._lpa||g.firstChild;t.shapeFlag&16&&(m?(v(e,t),f(g,k),t.targetAnchor||fo(g,t,u,c,s(e)===g?e:null)):(t.anchor=o(e),f(g,k),t.targetAnchor||fo(g,t,u,c),d(k&&o(k),t,g,n,l,a,i))),La(t,m)}else m&&t.shapeFlag&16&&(v(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const rm=vc;function La(e,t){const n=e.ctx;if(n&&n.ut){let l,a;for(t?(l=e.el,a=e.anchor):(l=e.targetStart,a=e.targetAnchor);l&&l!==a;)l.nodeType===1&&l.setAttribute("data-v-owner",n.uid),l=l.nextSibling;n.ut()}}function fo(e,t,n,l,a=null){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[dc]=o,e&&(l(i,e,a),l(o,e,a)),o}const en=Symbol("_leaveCb"),Bl=Symbol("_enterCb");function mc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Dt(()=>{e.isMounted=!0}),yt(()=>{e.isUnmounting=!0}),e}const Et=[Function,Array],gc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Et,onEnter:Et,onAfterEnter:Et,onEnterCancelled:Et,onBeforeLeave:Et,onLeave:Et,onAfterLeave:Et,onLeaveCancelled:Et,onBeforeAppear:Et,onAppear:Et,onAfterAppear:Et,onAppearCancelled:Et},hc=e=>{const t=e.subTree;return t.component?hc(t.component):t},um={name:"BaseTransition",props:gc,setup(e,{slots:t}){const n=Pl(),l=mc();return()=>{const a=t.default&&ts(t.default(),!0);if(!a||!a.length)return;const i=yc(a),o=fe(e),{mode:s}=o;if(l.isLeaving)return Hi(i);const r=Us(i);if(!r)return Hi(i);let c=aa(r,o,l,n,d=>c=d);r.type!==ot&&ol(r,c);let u=n.subTree&&Us(n.subTree);if(u&&u.type!==ot&&!Xn(u,r)&&hc(n).type!==ot){let d=aa(u,o,l,n);if(ol(u,d),s==="out-in"&&r.type!==ot)return l.isLeaving=!0,d.afterLeave=()=>{l.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},Hi(i);s==="in-out"&&r.type!==ot?d.delayLeave=(f,v,g)=>{const m=pc(l,u);m[String(u.key)]=u,f[en]=()=>{v(),f[en]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function yc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ot){t=n;break}}return t}const cm=um;function pc(e,t){const{leavingVNodes:n}=e;let l=n.get(t.type);return l||(l=Object.create(null),n.set(t.type,l)),l}function aa(e,t,n,l,a){const{appear:i,mode:o,persisted:s=!1,onBeforeEnter:r,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:v,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:k,onAppear:S,onAfterAppear:w,onAppearCancelled:b}=t,C=String(e.key),E=pc(n,e),A=(_,L)=>{_&&Kt(_,l,9,L)},V=(_,L)=>{const F=L[1];A(_,L),me(_)?_.every(O=>O.length<=1)&&F():_.length<=1&&F()},p={mode:o,persisted:s,beforeEnter(_){let L=r;if(!n.isMounted)if(i)L=k||r;else return;_[en]&&_[en](!0);const F=E[C];F&&Xn(e,F)&&F.el[en]&&F.el[en](),A(L,[_])},enter(_){let L=c,F=u,O=d;if(!n.isMounted)if(i)L=S||c,F=w||u,O=b||d;else return;let $=!1;_[Bl]=G=>{$||($=!0,G?A(O,[_]):A(F,[_]),p.delayedLeave&&p.delayedLeave(),_[Bl]=void 0)};const H=_[Bl].bind(null,!1);L?V(L,[_,H]):H()},leave(_,L){const F=String(e.key);if(_[Bl]&&_[Bl](!0),n.isUnmounting)return L();A(f,[_]);let O=!1;_[en]=H=>{O||(O=!0,L(),H?A(m,[_]):A(g,[_]),_[en]=void 0,E[F]===e&&delete E[F])};const $=_[en].bind(null,!1);E[F]=e,v?V(v,[_,$]):$()},clone(_){const L=aa(_,t,n,l,a);return a&&a(L),L}};return p}function Hi(e){if(yi(e))return e=An(e),e.children=null,e}function Us(e){if(!yi(e))return fc(e.type)&&e.children?yc(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&&ye(n.default))return n.default()}}function ol(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ol(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 ts(e,t=!1,n){let l=[],a=0;for(let i=0;i<e.length;i++){let o=e[i];const s=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Se?(o.patchFlag&128&&a++,l=l.concat(ts(o.children,t,s))):(t||o.type!==ot)&&l.push(s!=null?An(o,{key:s}):o)}if(a>1)for(let i=0;i<l.length;i++)l[i].patchFlag=-2;return l}function Tl(e,t){return ye(e)?Ze({name:e.name},t,{setup:e}):e}function rn(){const e=Pl();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function bc(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ks(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ja=new WeakMap;function Gl(e,t,n,l,a=!1){if(me(e)){e.forEach((m,k)=>Gl(m,t&&(me(t)?t[k]:t),n,l,a));return}if(Yl(l)&&!a){l.shapeFlag&512&&l.type.__asyncResolved&&l.component.subTree.component&&Gl(e,t,n,l.component.subTree);return}const i=l.shapeFlag&4?Si(l.component):l.el,o=a?null:i,{i:s,r}=e,c=t&&t.r,u=s.refs===$e?s.refs={}:s.refs,d=s.setupState,f=fe(d),v=d===$e?Ou:m=>Ks(u,m)?!1:Te(f,m),g=(m,k)=>!(k&&Ks(u,k));if(c!=null&&c!==r){if(Gs(t),Ke(c))u[c]=null,v(c)&&(d[c]=null);else if(He(c)){const m=t;g(c,m.k)&&(c.value=null),m.k&&(u[m.k]=null)}}if(ye(r))ha(r,s,12,[o,u]);else{const m=Ke(r),k=He(r);if(m||k){const S=()=>{if(e.f){const w=m?v(r)?d[r]:u[r]:g()||!e.k?r.value:u[e.k];if(a)me(w)&&Wo(w,i);else if(me(w))w.includes(i)||w.push(i);else if(m)u[r]=[i],v(r)&&(d[r]=u[r]);else{const b=[i];g(r,e.k)&&(r.value=b),e.k&&(u[e.k]=b)}}else m?(u[r]=o,v(r)&&(d[r]=o)):k&&(g(r,e.k)&&(r.value=o),e.k&&(u[e.k]=o))};if(o){const w=()=>{S(),ja.delete(e)};w.id=-1,ja.set(e,w),lt(w,n)}else Gs(e),S()}}}function Gs(e){const t=ja.get(e);t&&(t.flags|=8,ja.delete(e))}vi().requestIdleCallback;vi().cancelIdleCallback;const Yl=e=>!!e.type.__asyncLoader,yi=e=>e.type.__isKeepAlive;function Sc(e,t){wc(e,"a",t)}function ns(e,t){wc(e,"da",t)}function wc(e,t,n=st){const l=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(pi(t,l,n),n){let a=n.parent;for(;a&&a.parent;)yi(a.parent.vnode)&&dm(l,t,n,a),a=a.parent}}function dm(e,t,n,l){const a=pi(t,e,l,!0);Cc(()=>{Wo(l[t],a)},n)}function pi(e,t,n=st,l=!1){if(n){const a=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{xn();const s=ba(n),r=Kt(t,n,e,o);return s(),_n(),r});return l?a.unshift(i):a.push(i),i}}const Tn=e=>(t,n=st)=>{(!sa||e==="sp")&&pi(e,(...l)=>t(...l),n)},ya=Tn("bm"),Dt=Tn("m"),fm=Tn("bu"),ls=Tn("u"),yt=Tn("bum"),Cc=Tn("um"),vm=Tn("sp"),mm=Tn("rtg"),gm=Tn("rtc");function hm(e,t=st){pi("ec",e,t)}const ym="components",pm=Symbol.for("v-ndc");function bm(e){return Ke(e)&&Sm(ym,e,!1)||e}function Sm(e,t,n=!0,l=!1){const a=xt||st;if(a){const i=a.type;{const s=lg(i,!1);if(s&&(s===t||s===dt(t)||s===En(dt(t))))return i}const o=Ys(a[e]||i[e],t)||Ys(a.appContext[e],t);return!o&&l?i:o}}function Ys(e,t){return e&&(e[t]||e[dt(t)]||e[En(dt(t))])}function nn(e,t,n,l){let a;const i=n,o=me(e);if(o||Ke(e)){const s=o&&Cn(e);let r=!1,c=!1;s&&(r=!kt(e),c=kn(e),e=mi(e)),a=new Array(e.length);for(let u=0,d=e.length;u<d;u++)a[u]=t(r?c?Cl(Ut(e[u])):Ut(e[u]):e[u],u,void 0,i)}else if(typeof e=="number"){a=new Array(e);for(let s=0;s<e;s++)a[s]=t(s+1,s,void 0,i)}else if(Ee(e))if(e[Symbol.iterator])a=Array.from(e,(s,r)=>t(s,r,void 0,i));else{const s=Object.keys(e);a=new Array(s.length);for(let r=0,c=s.length;r<c;r++){const u=s[r];a[r]=t(e[u],u,r,i)}}else a=[];return a}const vo=e=>e?Hc(e)?Si(e):vo(e.parent):null,ql=Ze(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=>vo(e.parent),$root:e=>vo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>_c(e),$forceUpdate:e=>e.f||(e.f=()=>{Qo(e.update)}),$nextTick:e=>e.n||(e.n=Ue.bind(e.proxy)),$watch:e=>om.bind(e)}),Wi=(e,t)=>e!==$e&&!e.__isScriptSetup&&Te(e,t),wm={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:l,data:a,props:i,accessCache:o,type:s,appContext:r}=e;if(t[0]!=="$"){const f=o[t];if(f!==void 0)switch(f){case 1:return l[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if(Wi(l,t))return o[t]=1,l[t];if(a!==$e&&Te(a,t))return o[t]=2,a[t];if(Te(i,t))return o[t]=3,i[t];if(n!==$e&&Te(n,t))return o[t]=4,n[t];mo&&(o[t]=0)}}const c=ql[t];let u,d;if(c)return t==="$attrs"&&it(e.attrs,"get",""),c(e);if((u=s.__cssModules)&&(u=u[t]))return u;if(n!==$e&&Te(n,t))return o[t]=4,n[t];if(d=r.config.globalProperties,Te(d,t))return d[t]},set({_:e},t,n){const{data:l,setupState:a,ctx:i}=e;return Wi(a,t)?(a[t]=n,!0):l!==$e&&Te(l,t)?(l[t]=n,!0):Te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:l,appContext:a,props:i,type:o}},s){let r;return!!(n[s]||e!==$e&&s[0]!=="$"&&Te(e,s)||Wi(t,s)||Te(i,s)||Te(l,s)||Te(ql,s)||Te(a.config.globalProperties,s)||(r=o.__cssModules)&&r[s])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function qs(e){return me(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let mo=!0;function Cm(e){const t=_c(e),n=e.proxy,l=e.ctx;mo=!1,t.beforeCreate&&Xs(t.beforeCreate,e,"bc");const{data:a,computed:i,methods:o,watch:s,provide:r,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:v,updated:g,activated:m,deactivated:k,beforeDestroy:S,beforeUnmount:w,destroyed:b,unmounted:C,render:E,renderTracked:A,renderTriggered:V,errorCaptured:p,serverPrefetch:_,expose:L,inheritAttrs:F,components:O,directives:$,filters:H}=t;if(c&&xm(c,l,null),o)for(const Q in o){const ee=o[Q];ye(ee)&&(l[Q]=ee.bind(n))}if(a){const Q=a.call(n,n);Ee(Q)&&(e.data=et(Q))}if(mo=!0,i)for(const Q in i){const ee=i[Q],pe=ye(ee)?ee.bind(n,n):ye(ee.get)?ee.get.bind(n,n):an,j=!ye(ee)&&ye(ee.set)?ee.set.bind(n):an,ie=T({get:pe,set:j});Object.defineProperty(l,Q,{enumerable:!0,configurable:!0,get:()=>ie.value,set:R=>ie.value=R})}if(s)for(const Q in s)xc(s[Q],l,n,Q);if(r){const Q=ye(r)?r.call(n):r;Reflect.ownKeys(Q).forEach(ee=>{ft(ee,Q[ee])})}u&&Xs(u,e,"c");function te(Q,ee){me(ee)?ee.forEach(pe=>Q(pe.bind(n))):ee&&Q(ee.bind(n))}if(te(ya,d),te(Dt,f),te(fm,v),te(ls,g),te(Sc,m),te(ns,k),te(hm,p),te(gm,A),te(mm,V),te(yt,w),te(Cc,C),te(vm,_),me(L))if(L.length){const Q=e.exposed||(e.exposed={});L.forEach(ee=>{Object.defineProperty(Q,ee,{get:()=>n[ee],set:pe=>n[ee]=pe,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===an&&(e.render=E),F!=null&&(e.inheritAttrs=F),O&&(e.components=O),$&&(e.directives=$),_&&bc(e)}function xm(e,t,n=an){me(e)&&(e=go(e));for(const l in e){const a=e[l];let i;Ee(a)?"default"in a?i=Me(a.from||l,a.default,!0):i=Me(a.from||l):i=Me(a),He(i)?Object.defineProperty(t,l,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[l]=i}}function Xs(e,t,n){Kt(me(e)?e.map(l=>l.bind(t.proxy)):e.bind(t.proxy),t,n)}function xc(e,t,n,l){let a=l.includes(".")?cc(n,l):()=>n[l];if(Ke(e)){const i=t[e];ye(i)&&oe(a,i)}else if(ye(e))oe(a,e.bind(n));else if(Ee(e))if(me(e))e.forEach(i=>xc(i,t,n,l));else{const i=ye(e.handler)?e.handler.bind(n):t[e.handler];ye(i)&&oe(a,i,e)}}function _c(e){const t=e.type,{mixins:n,extends:l}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,s=i.get(t);let r;return s?r=s:!a.length&&!n&&!l?r=t:(r={},a.length&&a.forEach(c=>za(r,c,o,!0)),za(r,t,o)),Ee(t)&&i.set(t,r),r}function za(e,t,n,l=!1){const{mixins:a,extends:i}=t;i&&za(e,i,n,!0),a&&a.forEach(o=>za(e,o,n,!0));for(const o in t)if(!(l&&o==="expose")){const s=_m[o]||n&&n[o];e[o]=s?s(e[o],t[o]):t[o]}return e}const _m={data:Zs,props:Js,emits:Js,methods:Wl,computed:Wl,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:Wl,directives:Wl,watch:Am,provide:Zs,inject:km};function Zs(e,t){return t?e?function(){return Ze(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function km(e,t){return Wl(go(e),go(t))}function go(e){if(me(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ut(e,t){return e?[...new Set([].concat(e,t))]:t}function Wl(e,t){return e?Ze(Object.create(null),e,t):t}function Js(e,t){return e?me(e)&&me(t)?[...new Set([...e,...t])]:Ze(Object.create(null),qs(e),qs(t??{})):t}function Am(e,t){if(!e)return t;if(!t)return e;const n=Ze(Object.create(null),e);for(const l in t)n[l]=ut(e[l],t[l]);return n}function kc(){return{app:null,config:{isNativeTag:Ou,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 Im=0;function Vm(e,t){return function(l,a=null){ye(l)||(l=Ze({},l)),a!=null&&!Ee(a)&&(a=null);const i=kc(),o=new WeakSet,s=[];let r=!1;const c=i.app={_uid:Im++,_component:l,_props:a,_container:null,_context:i,_instance:null,version:ig,get config(){return i.config},set config(u){},use(u,...d){return o.has(u)||(u&&ye(u.install)?(o.add(u),u.install(c,...d)):ye(u)&&(o.add(u),u(c,...d))),c},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),c},component(u,d){return d?(i.components[u]=d,c):i.components[u]},directive(u,d){return d?(i.directives[u]=d,c):i.directives[u]},mount(u,d,f){if(!r){const v=c._ceVNode||y(l,a);return v.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),e(v,u,f),r=!0,c._container=u,u.__vue_app__=c,Si(v.component)}},onUnmount(u){s.push(u)},unmount(){r&&(Kt(s,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,d){return i.provides[u]=d,c},runWithContext(u){const d=el;el=c;try{return u()}finally{el=d}}};return c}}let el=null;const Em=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${dt(t)}Modifiers`]||e[`${Hn(t)}Modifiers`];function Tm(e,t,...n){if(e.isUnmounted)return;const l=e.vnode.props||$e;let a=n;const i=t.startsWith("update:"),o=i&&Em(l,t.slice(7));o&&(o.trim&&(a=n.map(u=>Ke(u)?u.trim():u)),o.number&&(a=n.map(yv)));let s,r=l[s=Di(t)]||l[s=Di(dt(t))];!r&&i&&(r=l[s=Di(Hn(t))]),r&&Kt(r,e,6,a);const c=l[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Kt(c,e,6,a)}}const Pm=new WeakMap;function Ac(e,t,n=!1){const l=n?Pm:t.emitsCache,a=l.get(e);if(a!==void 0)return a;const i=e.emits;let o={},s=!1;if(!ye(e)){const r=c=>{const u=Ac(c,t,!0);u&&(s=!0,Ze(o,u))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!i&&!s?(Ee(e)&&l.set(e,null),null):(me(i)?i.forEach(r=>o[r]=null):Ze(o,i),Ee(e)&&l.set(e,o),o)}function bi(e,t){return!e||!ci(t)?!1:(t=t.slice(2).replace(/Once$/,""),Te(e,t[0].toLowerCase()+t.slice(1))||Te(e,Hn(t))||Te(e,t))}function Qs(e){const{type:t,vnode:n,proxy:l,withProxy:a,propsOptions:[i],slots:o,attrs:s,emit:r,render:c,renderCache:u,props:d,data:f,setupState:v,ctx:g,inheritAttrs:m}=e,k=Wa(e);let S,w;try{if(n.shapeFlag&4){const C=a||l,E=C;S=tn(c.call(E,C,u,d,v,f,g)),w=s}else{const C=t;S=tn(C.length>1?C(d,{attrs:s,slots:o,emit:r}):C(d,null)),w=t.props?s:Om(s)}}catch(C){Xl.length=0,hi(C,e,1),S=y(ot)}let b=S;if(w&&m!==!1){const C=Object.keys(w),{shapeFlag:E}=b;C.length&&E&7&&(i&&C.some(Ho)&&(w=Mm(w,i)),b=An(b,w,!1,!0))}return n.dirs&&(b=An(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&ol(b,n.transition),S=b,Wa(k),S}const Om=e=>{let t;for(const n in e)(n==="class"||n==="style"||ci(n))&&((t||(t={}))[n]=e[n]);return t},Mm=(e,t)=>{const n={};for(const l in e)(!Ho(l)||!(l.slice(9)in t))&&(n[l]=e[l]);return n};function Lm(e,t,n){const{props:l,children:a,component:i}=e,{props:o,children:s,patchFlag:r}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&r>=0){if(r&1024)return!0;if(r&16)return l?er(l,o,c):!!o;if(r&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(Ic(o,l,f)&&!bi(c,f))return!0}}}else return(a||s)&&(!s||!s.$stable)?!0:l===o?!1:l?o?er(l,o,c):!0:!!o;return!1}function er(e,t,n){const l=Object.keys(t);if(l.length!==Object.keys(e).length)return!0;for(let a=0;a<l.length;a++){const i=l[a];if(Ic(t,e,i)&&!bi(n,i))return!0}return!1}function Ic(e,t,n){const l=e[n],a=t[n];return n==="style"&&Ee(l)&&Ee(a)?!jo(l,a):l!==a}function Dm({vnode:e,parent:t},n){for(;t;){const l=t.subTree;if(l.suspense&&l.suspense.activeBranch===e&&(l.el=e.el),l===e)(e=t.vnode).el=n,t=t.parent;else break}}const Vc={},Ec=()=>Object.create(Vc),Tc=e=>Object.getPrototypeOf(e)===Vc;function $m(e,t,n,l=!1){const a={},i=Ec();e.propsDefaults=Object.create(null),Pc(e,t,a,i);for(const o in e.propsOptions[0])o in a||(a[o]=void 0);n?e.props=l?a:Uv(a):e.type.props?e.props=a:e.props=i,e.attrs=i}function Fm(e,t,n,l){const{props:a,attrs:i,vnode:{patchFlag:o}}=e,s=fe(a),[r]=e.propsOptions;let c=!1;if((l||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(bi(e.emitsOptions,f))continue;const v=t[f];if(r)if(Te(i,f))v!==i[f]&&(i[f]=v,c=!0);else{const g=dt(f);a[g]=ho(r,s,g,v,e,!1)}else v!==i[f]&&(i[f]=v,c=!0)}}}else{Pc(e,t,a,i)&&(c=!0);let u;for(const d in s)(!t||!Te(t,d)&&((u=Hn(d))===d||!Te(t,u)))&&(r?n&&(n[d]!==void 0||n[u]!==void 0)&&(a[d]=ho(r,s,d,void 0,e,!0)):delete a[d]);if(i!==s)for(const d in i)(!t||!Te(t,d))&&(delete i[d],c=!0)}c&&Sn(e.attrs,"set","")}function Pc(e,t,n,l){const[a,i]=e.propsOptions;let o=!1,s;if(t)for(let r in t){if(jl(r))continue;const c=t[r];let u;a&&Te(a,u=dt(r))?!i||!i.includes(u)?n[u]=c:(s||(s={}))[u]=c:bi(e.emitsOptions,r)||(!(r in l)||c!==l[r])&&(l[r]=c,o=!0)}if(i){const r=fe(n),c=s||$e;for(let u=0;u<i.length;u++){const d=i[u];n[d]=ho(a,r,d,c[d],e,!Te(c,d))}}return o}function ho(e,t,n,l,a,i){const o=e[n];if(o!=null){const s=Te(o,"default");if(s&&l===void 0){const r=o.default;if(o.type!==Function&&!o.skipFactory&&ye(r)){const{propsDefaults:c}=a;if(n in c)l=c[n];else{const u=ba(a);l=c[n]=r.call(null,t),u()}}else l=r;a.ce&&a.ce._setProp(n,l)}o[0]&&(i&&!s?l=!1:o[1]&&(l===""||l===Hn(n))&&(l=!0))}return l}const Bm=new WeakMap;function Oc(e,t,n=!1){const l=n?Bm:t.propsCache,a=l.get(e);if(a)return a;const i=e.props,o={},s=[];let r=!1;if(!ye(e)){const u=d=>{r=!0;const[f,v]=Oc(d,t,!0);Ze(o,f),v&&s.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!r)return Ee(e)&&l.set(e,pl),pl;if(me(i))for(let u=0;u<i.length;u++){const d=dt(i[u]);tr(d)&&(o[d]=$e)}else if(i)for(const u in i){const d=dt(u);if(tr(d)){const f=i[u],v=o[d]=me(f)||ye(f)?{type:f}:Ze({},f),g=v.type;let m=!1,k=!0;if(me(g))for(let S=0;S<g.length;++S){const w=g[S],b=ye(w)&&w.name;if(b==="Boolean"){m=!0;break}else b==="String"&&(k=!1)}else m=ye(g)&&g.name==="Boolean";v[0]=m,v[1]=k,(m||Te(v,"default"))&&s.push(d)}}const c=[o,s];return Ee(e)&&l.set(e,c),c}function tr(e){return e[0]!=="$"&&!jl(e)}const as=e=>e==="_"||e==="_ctx"||e==="$stable",is=e=>me(e)?e.map(tn):[tn(e)],Rm=(e,t,n)=>{if(t._n)return t;const l=le((...a)=>is(t(...a)),n);return l._c=!1,l},Mc=(e,t,n)=>{const l=e._ctx;for(const a in e){if(as(a))continue;const i=e[a];if(ye(i))t[a]=Rm(a,i,l);else if(i!=null){const o=is(i);t[a]=()=>o}}},Lc=(e,t)=>{const n=is(t);e.slots.default=()=>n},Dc=(e,t,n)=>{for(const l in t)(n||!as(l))&&(e[l]=t[l])},Nm=(e,t,n)=>{const l=e.slots=Ec();if(e.vnode.shapeFlag&32){const a=t._;a?(Dc(l,t,n),n&&Fu(l,"_",a,!0)):Mc(t,l)}else t&&Lc(e,t)},Hm=(e,t,n)=>{const{vnode:l,slots:a}=e;let i=!0,o=$e;if(l.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:Dc(a,t,n):(i=!t.$stable,Mc(t,a)),o=t}else t&&(Lc(e,t),o={default:1});if(i)for(const s in a)!as(s)&&o[s]==null&&delete a[s]},lt=Km;function Wm(e){return jm(e)}function jm(e,t){const n=vi();n.__VUE__=!0;const{insert:l,remove:a,patchProp:i,createElement:o,createText:s,createComment:r,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:v=an,insertStaticContent:g}=e,m=(h,x,P,N=null,D=null,B=null,U=void 0,X=null,K=!!x.dynamicChildren)=>{if(h===x)return;h&&!Xn(h,x)&&(N=q(h),R(h,D,B,!0),h=null),x.patchFlag===-2&&(K=!1,x.dynamicChildren=null);const{type:W,ref:ve,shapeFlag:ne}=x;switch(W){case pa:k(h,x,P,N);break;case ot:S(h,x,P,N);break;case zi:h==null&&w(x,P,N,U);break;case Se:O(h,x,P,N,D,B,U,X,K);break;default:ne&1?E(h,x,P,N,D,B,U,X,K):ne&6?$(h,x,P,N,D,B,U,X,K):(ne&64||ne&128)&&W.process(h,x,P,N,D,B,U,X,K,We)}ve!=null&&D?Gl(ve,h&&h.ref,B,x||h,!x):ve==null&&h&&h.ref!=null&&Gl(h.ref,null,B,h,!0)},k=(h,x,P,N)=>{if(h==null)l(x.el=s(x.children),P,N);else{const D=x.el=h.el;x.children!==h.children&&c(D,x.children)}},S=(h,x,P,N)=>{h==null?l(x.el=r(x.children||""),P,N):x.el=h.el},w=(h,x,P,N)=>{[h.el,h.anchor]=g(h.children,x,P,N,h.el,h.anchor)},b=({el:h,anchor:x},P,N)=>{let D;for(;h&&h!==x;)D=f(h),l(h,P,N),h=D;l(x,P,N)},C=({el:h,anchor:x})=>{let P;for(;h&&h!==x;)P=f(h),a(h),h=P;a(x)},E=(h,x,P,N,D,B,U,X,K)=>{if(x.type==="svg"?U="svg":x.type==="math"&&(U="mathml"),h==null)A(x,P,N,D,B,U,X,K);else{const W=h.el&&h.el._isVueCE?h.el:null;try{W&&W._beginPatch(),_(h,x,D,B,U,X,K)}finally{W&&W._endPatch()}}},A=(h,x,P,N,D,B,U,X)=>{let K,W;const{props:ve,shapeFlag:ne,transition:de,dirs:be}=h;if(K=h.el=o(h.type,B,ve&&ve.is,ve),ne&8?u(K,h.children):ne&16&&p(h.children,K,null,N,D,ji(h,B),U,X),be&&zn(h,null,N,"created"),V(K,h,h.scopeId,U,N),ve){for(const Fe in ve)Fe!=="value"&&!jl(Fe)&&i(K,Fe,null,ve[Fe],B,N);"value"in ve&&i(K,"value",null,ve.value,B),(W=ve.onVnodeBeforeMount)&&Zt(W,N,h)}be&&zn(h,null,N,"beforeMount");const Ie=zm(D,de);Ie&&de.beforeEnter(K),l(K,x,P),((W=ve&&ve.onVnodeMounted)||Ie||be)&&lt(()=>{W&&Zt(W,N,h),Ie&&de.enter(K),be&&zn(h,null,N,"mounted")},D)},V=(h,x,P,N,D)=>{if(P&&v(h,P),N)for(let B=0;B<N.length;B++)v(h,N[B]);if(D){let B=D.subTree;if(x===B||Bc(B.type)&&(B.ssContent===x||B.ssFallback===x)){const U=D.vnode;V(h,U,U.scopeId,U.slotScopeIds,D.parent)}}},p=(h,x,P,N,D,B,U,X,K=0)=>{for(let W=K;W<h.length;W++){const ve=h[W]=X?bn(h[W]):tn(h[W]);m(null,ve,x,P,N,D,B,U,X)}},_=(h,x,P,N,D,B,U)=>{const X=x.el=h.el;let{patchFlag:K,dynamicChildren:W,dirs:ve}=x;K|=h.patchFlag&16;const ne=h.props||$e,de=x.props||$e;let be;if(P&&Un(P,!1),(be=de.onVnodeBeforeUpdate)&&Zt(be,P,x,h),ve&&zn(x,h,P,"beforeUpdate"),P&&Un(P,!0),(ne.innerHTML&&de.innerHTML==null||ne.textContent&&de.textContent==null)&&u(X,""),W?L(h.dynamicChildren,W,X,P,N,ji(x,D),B):U||ee(h,x,X,null,P,N,ji(x,D),B,!1),K>0){if(K&16)F(X,ne,de,P,D);else if(K&2&&ne.class!==de.class&&i(X,"class",null,de.class,D),K&4&&i(X,"style",ne.style,de.style,D),K&8){const Ie=x.dynamicProps;for(let Fe=0;Fe<Ie.length;Fe++){const Pe=Ie[Fe],vt=ne[Pe],mt=de[Pe];(mt!==vt||Pe==="value")&&i(X,Pe,vt,mt,D,P)}}K&1&&h.children!==x.children&&u(X,x.children)}else!U&&W==null&&F(X,ne,de,P,D);((be=de.onVnodeUpdated)||ve)&&lt(()=>{be&&Zt(be,P,x,h),ve&&zn(x,h,P,"updated")},N)},L=(h,x,P,N,D,B,U)=>{for(let X=0;X<x.length;X++){const K=h[X],W=x[X],ve=K.el&&(K.type===Se||!Xn(K,W)||K.shapeFlag&198)?d(K.el):P;m(K,W,ve,null,N,D,B,U,!0)}},F=(h,x,P,N,D)=>{if(x!==P){if(x!==$e)for(const B in x)!jl(B)&&!(B in P)&&i(h,B,x[B],null,D,N);for(const B in P){if(jl(B))continue;const U=P[B],X=x[B];U!==X&&B!=="value"&&i(h,B,X,U,D,N)}"value"in P&&i(h,"value",x.value,P.value,D)}},O=(h,x,P,N,D,B,U,X,K)=>{const W=x.el=h?h.el:s(""),ve=x.anchor=h?h.anchor:s("");let{patchFlag:ne,dynamicChildren:de,slotScopeIds:be}=x;be&&(X=X?X.concat(be):be),h==null?(l(W,P,N),l(ve,P,N),p(x.children||[],P,ve,D,B,U,X,K)):ne>0&&ne&64&&de&&h.dynamicChildren&&h.dynamicChildren.length===de.length?(L(h.dynamicChildren,de,P,D,B,U,X),(x.key!=null||D&&x===D.subTree)&&os(h,x,!0)):ee(h,x,P,ve,D,B,U,X,K)},$=(h,x,P,N,D,B,U,X,K)=>{x.slotScopeIds=X,h==null?x.shapeFlag&512?D.ctx.activate(x,P,N,U,K):H(x,P,N,D,B,U,K):G(h,x,K)},H=(h,x,P,N,D,B,U)=>{const X=h.component=Jm(h,N,D);if(yi(h)&&(X.ctx.renderer=We),Qm(X,!1,U),X.asyncDep){if(D&&D.registerDep(X,te,U),!h.el){const K=X.subTree=y(ot);S(null,K,x,P),h.placeholder=K.el}}else te(X,h,x,P,D,B,U)},G=(h,x,P)=>{const N=x.component=h.component;if(Lm(h,x,P))if(N.asyncDep&&!N.asyncResolved){Q(N,x,P);return}else N.next=x,N.update();else x.el=h.el,N.vnode=x},te=(h,x,P,N,D,B,U)=>{const X=()=>{if(h.isMounted){let{next:ne,bu:de,u:be,parent:Ie,vnode:Fe}=h;{const qt=$c(h);if(qt){ne&&(ne.el=Fe.el,Q(h,ne,U)),qt.asyncDep.then(()=>{lt(()=>{h.isUnmounted||W()},D)});return}}let Pe=ne,vt;Un(h,!1),ne?(ne.el=Fe.el,Q(h,ne,U)):ne=Fe,de&&$i(de),(vt=ne.props&&ne.props.onVnodeBeforeUpdate)&&Zt(vt,Ie,ne,Fe),Un(h,!0);const mt=Qs(h),Yt=h.subTree;h.subTree=mt,m(Yt,mt,d(Yt.el),q(Yt),h,D,B),ne.el=mt.el,Pe===null&&Dm(h,mt.el),be&&lt(be,D),(vt=ne.props&&ne.props.onVnodeUpdated)&&lt(()=>Zt(vt,Ie,ne,Fe),D)}else{let ne;const{el:de,props:be}=x,{bm:Ie,m:Fe,parent:Pe,root:vt,type:mt}=h,Yt=Yl(x);Un(h,!1),Ie&&$i(Ie),!Yt&&(ne=be&&be.onVnodeBeforeMount)&&Zt(ne,Pe,x),Un(h,!0);{vt.ce&&vt.ce._hasShadowRoot()&&vt.ce._injectChildStyle(mt);const qt=h.subTree=Qs(h);m(null,qt,P,N,h,D,B),x.el=qt.el}if(Fe&&lt(Fe,D),!Yt&&(ne=be&&be.onVnodeMounted)){const qt=x;lt(()=>Zt(ne,Pe,qt),D)}(x.shapeFlag&256||Pe&&Yl(Pe.vnode)&&Pe.vnode.shapeFlag&256)&&h.a&&lt(h.a,D),h.isMounted=!0,x=P=N=null}};h.scope.on();const K=h.effect=new Wu(X);h.scope.off();const W=h.update=K.run.bind(K),ve=h.job=K.runIfDirty.bind(K);ve.i=h,ve.id=h.uid,K.scheduler=()=>Qo(ve),Un(h,!0),W()},Q=(h,x,P)=>{x.component=h;const N=h.vnode.props;h.vnode=x,h.next=null,Fm(h,x.props,N,P),Hm(h,x.children,P),xn(),Hs(h),_n()},ee=(h,x,P,N,D,B,U,X,K=!1)=>{const W=h&&h.children,ve=h?h.shapeFlag:0,ne=x.children,{patchFlag:de,shapeFlag:be}=x;if(de>0){if(de&128){j(W,ne,P,N,D,B,U,X,K);return}else if(de&256){pe(W,ne,P,N,D,B,U,X,K);return}}be&8?(ve&16&&_e(W,D,B),ne!==W&&u(P,ne)):ve&16?be&16?j(W,ne,P,N,D,B,U,X,K):_e(W,D,B,!0):(ve&8&&u(P,""),be&16&&p(ne,P,N,D,B,U,X,K))},pe=(h,x,P,N,D,B,U,X,K)=>{h=h||pl,x=x||pl;const W=h.length,ve=x.length,ne=Math.min(W,ve);let de;for(de=0;de<ne;de++){const be=x[de]=K?bn(x[de]):tn(x[de]);m(h[de],be,P,null,D,B,U,X,K)}W>ve?_e(h,D,B,!0,!1,ne):p(x,P,N,D,B,U,X,K,ne)},j=(h,x,P,N,D,B,U,X,K)=>{let W=0;const ve=x.length;let ne=h.length-1,de=ve-1;for(;W<=ne&&W<=de;){const be=h[W],Ie=x[W]=K?bn(x[W]):tn(x[W]);if(Xn(be,Ie))m(be,Ie,P,null,D,B,U,X,K);else break;W++}for(;W<=ne&&W<=de;){const be=h[ne],Ie=x[de]=K?bn(x[de]):tn(x[de]);if(Xn(be,Ie))m(be,Ie,P,null,D,B,U,X,K);else break;ne--,de--}if(W>ne){if(W<=de){const be=de+1,Ie=be<ve?x[be].el:N;for(;W<=de;)m(null,x[W]=K?bn(x[W]):tn(x[W]),P,Ie,D,B,U,X,K),W++}}else if(W>de)for(;W<=ne;)R(h[W],D,B,!0),W++;else{const be=W,Ie=W,Fe=new Map;for(W=Ie;W<=de;W++){const wt=x[W]=K?bn(x[W]):tn(x[W]);wt.key!=null&&Fe.set(wt.key,W)}let Pe,vt=0;const mt=de-Ie+1;let Yt=!1,qt=0;const $l=new Array(mt);for(W=0;W<mt;W++)$l[W]=0;for(W=be;W<=ne;W++){const wt=h[W];if(vt>=mt){R(wt,D,B,!0);continue}let Xt;if(wt.key!=null)Xt=Fe.get(wt.key);else for(Pe=Ie;Pe<=de;Pe++)if($l[Pe-Ie]===0&&Xn(wt,x[Pe])){Xt=Pe;break}Xt===void 0?R(wt,D,B,!0):($l[Xt-Ie]=W+1,Xt>=qt?qt=Xt:Yt=!0,m(wt,x[Xt],P,null,D,B,U,X,K),vt++)}const Ls=Yt?Um($l):pl;for(Pe=Ls.length-1,W=mt-1;W>=0;W--){const wt=Ie+W,Xt=x[wt],Ds=x[wt+1],$s=wt+1<ve?Ds.el||Fc(Ds):N;$l[W]===0?m(null,Xt,P,$s,D,B,U,X,K):Yt&&(Pe<0||W!==Ls[Pe]?ie(Xt,P,$s,2):Pe--)}}},ie=(h,x,P,N,D=null)=>{const{el:B,type:U,transition:X,children:K,shapeFlag:W}=h;if(W&6){ie(h.component.subTree,x,P,N);return}if(W&128){h.suspense.move(x,P,N);return}if(W&64){U.move(h,x,P,We);return}if(U===Se){l(B,x,P);for(let ne=0;ne<K.length;ne++)ie(K[ne],x,P,N);l(h.anchor,x,P);return}if(U===zi){b(h,x,P);return}if(N!==2&&W&1&&X)if(N===0)X.beforeEnter(B),l(B,x,P),lt(()=>X.enter(B),D);else{const{leave:ne,delayLeave:de,afterLeave:be}=X,Ie=()=>{h.ctx.isUnmounted?a(B):l(B,x,P)},Fe=()=>{B._isLeaving&&B[en](!0),ne(B,()=>{Ie(),be&&be()})};de?de(B,Ie,Fe):Fe()}else l(B,x,P)},R=(h,x,P,N=!1,D=!1)=>{const{type:B,props:U,ref:X,children:K,dynamicChildren:W,shapeFlag:ve,patchFlag:ne,dirs:de,cacheIndex:be}=h;if(ne===-2&&(D=!1),X!=null&&(xn(),Gl(X,null,P,h,!0),_n()),be!=null&&(x.renderCache[be]=void 0),ve&256){x.ctx.deactivate(h);return}const Ie=ve&1&&de,Fe=!Yl(h);let Pe;if(Fe&&(Pe=U&&U.onVnodeBeforeUnmount)&&Zt(Pe,x,h),ve&6)J(h.component,P,N);else{if(ve&128){h.suspense.unmount(P,N);return}Ie&&zn(h,null,x,"beforeUnmount"),ve&64?h.type.remove(h,x,P,We,N):W&&!W.hasOnce&&(B!==Se||ne>0&&ne&64)?_e(W,x,P,!1,!0):(B===Se&&ne&384||!D&&ve&16)&&_e(K,x,P),N&&Y(h)}(Fe&&(Pe=U&&U.onVnodeUnmounted)||Ie)&&lt(()=>{Pe&&Zt(Pe,x,h),Ie&&zn(h,null,x,"unmounted")},P)},Y=h=>{const{type:x,el:P,anchor:N,transition:D}=h;if(x===Se){ge(P,N);return}if(x===zi){C(h);return}const B=()=>{a(P),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(h.shapeFlag&1&&D&&!D.persisted){const{leave:U,delayLeave:X}=D,K=()=>U(P,B);X?X(h.el,B,K):K()}else B()},ge=(h,x)=>{let P;for(;h!==x;)P=f(h),a(h),h=P;a(x)},J=(h,x,P)=>{const{bum:N,scope:D,job:B,subTree:U,um:X,m:K,a:W}=h;nr(K),nr(W),N&&$i(N),D.stop(),B&&(B.flags|=8,R(U,h,x,P)),X&&lt(X,x),lt(()=>{h.isUnmounted=!0},x)},_e=(h,x,P,N=!1,D=!1,B=0)=>{for(let U=B;U<h.length;U++)R(h[U],x,P,N,D)},q=h=>{if(h.shapeFlag&6)return q(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const x=f(h.anchor||h.el),P=x&&x[dc];return P?f(P):x};let ke=!1;const Qe=(h,x,P)=>{let N;h==null?x._vnode&&(R(x._vnode,null,null,!0),N=x._vnode.component):m(x._vnode||null,h,x,null,null,null,P),x._vnode=h,ke||(ke=!0,Hs(N),sc(),ke=!1)},We={p:m,um:R,m:ie,r:Y,mt:H,mc:p,pc:ee,pbc:L,n:q,o:e};return{render:Qe,hydrate:void 0,createApp:Vm(Qe)}}function ji({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 Un({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function zm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function os(e,t,n=!1){const l=e.children,a=t.children;if(me(l)&&me(a))for(let i=0;i<l.length;i++){const o=l[i];let s=a[i];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=a[i]=bn(a[i]),s.el=o.el),!n&&s.patchFlag!==-2&&os(o,s)),s.type===pa&&(s.patchFlag===-1&&(s=a[i]=bn(s)),s.el=o.el),s.type===ot&&!s.el&&(s.el=o.el)}}function Um(e){const t=e.slice(),n=[0];let l,a,i,o,s;const r=e.length;for(l=0;l<r;l++){const c=e[l];if(c!==0){if(a=n[n.length-1],e[a]<c){t[l]=a,n.push(l);continue}for(i=0,o=n.length-1;i<o;)s=i+o>>1,e[n[s]]<c?i=s+1:o=s;c<e[n[i]]&&(i>0&&(t[l]=n[i-1]),n[i]=l)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function $c(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:$c(t)}function nr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Fc(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Fc(t.subTree):null}const Bc=e=>e.__isSuspense;function Km(e,t){t&&t.pendingBranch?me(e)?t.effects.push(...e):t.effects.push(e):nm(e)}const Se=Symbol.for("v-fgt"),pa=Symbol.for("v-txt"),ot=Symbol.for("v-cmt"),zi=Symbol.for("v-stc"),Xl=[];let _t=null;function he(e=!1){Xl.push(_t=e?null:[])}function Gm(){Xl.pop(),_t=Xl[Xl.length-1]||null}let ia=1;function Ua(e,t=!1){ia+=e,e<0&&_t&&t&&(_t.hasOnce=!0)}function Rc(e){return e.dynamicChildren=ia>0?_t||pl:null,Gm(),ia>0&&_t&&_t.push(e),e}function je(e,t,n,l,a,i){return Rc(I(e,t,n,l,a,i,!0))}function Ge(e,t,n,l,a){return Rc(y(e,t,n,l,a,!0))}function oa(e){return e?e.__v_isVNode===!0:!1}function Xn(e,t){return e.type===t.type&&e.key===t.key}const Nc=({key:e})=>e??null,Da=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ke(e)||He(e)||ye(e)?{i:xt,r:e,k:t,f:!!n}:e:null);function I(e,t=null,n=null,l=0,a=null,i=e===Se?0:1,o=!1,s=!1){const r={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nc(t),ref:t&&Da(t),scopeId:uc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:l,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:xt};return s?(ss(r,n),i&128&&e.normalize(r)):n&&(r.shapeFlag|=Ke(n)?8:16),ia>0&&!o&&_t&&(r.patchFlag>0||i&6)&&r.patchFlag!==32&&_t.push(r),r}const y=Ym;function Ym(e,t=null,n=null,l=0,a=null,i=!1){if((!e||e===pm)&&(e=ot),oa(e)){const s=An(e,t,!0);return n&&ss(s,n),ia>0&&!i&&_t&&(s.shapeFlag&6?_t[_t.indexOf(e)]=s:_t.push(s)),s.patchFlag=-2,s}if(ag(e)&&(e=e.__vccOpts),t){t=qm(t);let{class:s,style:r}=t;s&&!Ke(s)&&(t.class=ue(s)),Ee(r)&&(gi(r)&&!me(r)&&(r=Ze({},r)),t.style=xe(r))}const o=Ke(e)?1:Bc(e)?128:fc(e)?64:Ee(e)?4:ye(e)?2:0;return I(e,t,n,l,a,o,i,!0)}function qm(e){return e?gi(e)||Tc(e)?Ze({},e):e:null}function An(e,t,n=!1,l=!1){const{props:a,ref:i,patchFlag:o,children:s,transition:r}=e,c=t?ce(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Nc(c),ref:t&&t.ref?n&&i?me(i)?i.concat(Da(t)):[i,Da(t)]:Da(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:r,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&An(e.ssContent),ssFallback:e.ssFallback&&An(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return r&&l&&ol(u,r.clone(u)),u}function Oe(e=" ",t=0){return y(pa,null,e,t)}function Nt(e="",t=!1){return t?(he(),Ge(ot,null,e)):y(ot,null,e)}function tn(e){return e==null||typeof e=="boolean"?y(ot):me(e)?y(Se,null,e.slice()):oa(e)?bn(e):y(pa,null,String(e))}function bn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:An(e)}function ss(e,t){let n=0;const{shapeFlag:l}=e;if(t==null)t=null;else if(me(t))n=16;else if(typeof t=="object")if(l&65){const a=t.default;a&&(a._c&&(a._d=!1),ss(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!Tc(t)?t._ctx=xt:a===3&&xt&&(xt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ye(t)?(t={default:t,_ctx:xt},n=32):(t=String(t),l&64?(n=16,t=[Oe(t)]):n=8);e.children=t,e.shapeFlag|=n}function ce(...e){const t={};for(let n=0;n<e.length;n++){const l=e[n];for(const a in l)if(a==="class")t.class!==l.class&&(t.class=ue([t.class,l.class]));else if(a==="style")t.style=xe([t.style,l.style]);else if(ci(a)){const i=t[a],o=l[a];o&&i!==o&&!(me(i)&&i.includes(o))&&(t[a]=i?[].concat(i,o):o)}else a!==""&&(t[a]=l[a])}return t}function Zt(e,t,n,l=null){Kt(e,t,7,[n,l])}const Xm=kc();let Zm=0;function Jm(e,t,n){const l=e.type,a=(t?t.appContext:e.appContext)||Xm,i={uid:Zm++,vnode:e,type:l,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Hu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Oc(l,a),emitsOptions:Ac(l,a),emit:null,emitted:null,propsDefaults:$e,inheritAttrs:l.inheritAttrs,ctx:$e,data:$e,props:$e,attrs:$e,slots:$e,refs:$e,setupState:$e,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=Tm.bind(null,i),e.ce&&e.ce(i),i}let st=null;const Pl=()=>st||xt;let Ka,yo;{const e=vi(),t=(n,l)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(l),i=>{a.length>1?a.forEach(o=>o(i)):a[0](i)}};Ka=t("__VUE_INSTANCE_SETTERS__",n=>st=n),yo=t("__VUE_SSR_SETTERS__",n=>sa=n)}const ba=e=>{const t=st;return Ka(e),e.scope.on(),()=>{e.scope.off(),Ka(t)}},lr=()=>{st&&st.scope.off(),Ka(null)};function Hc(e){return e.vnode.shapeFlag&4}let sa=!1;function Qm(e,t=!1,n=!1){t&&yo(t);const{props:l,children:a}=e.vnode,i=Hc(e);$m(e,l,i,t),Nm(e,a,n||t);const o=i?eg(e,t):void 0;return t&&yo(!1),o}function eg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,wm);const{setup:l}=n;if(l){xn();const a=e.setupContext=l.length>1?ng(e):null,i=ba(e),o=ha(l,e,0,[e.props,a]),s=Lu(o);if(_n(),i(),(s||e.sp)&&!Yl(e)&&bc(e),s){if(o.then(lr,lr),t)return o.then(r=>{ar(e,r)}).catch(r=>{hi(r,e,0)});e.asyncDep=o}else ar(e,o)}else Wc(e)}function ar(e,t,n){ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ee(t)&&(e.setupState=lc(t)),Wc(e)}function Wc(e,t,n){const l=e.type;e.render||(e.render=l.render||an);{const a=ba(e);xn();try{Cm(e)}finally{_n(),a()}}}const tg={get(e,t){return it(e,"get",""),e[t]}};function ng(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,tg),slots:e.slots,emit:e.emit,expose:t}}function Si(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(lc(Zo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ql)return ql[n](e)},has(t,n){return n in t||n in ql}})):e.proxy}function lg(e,t=!0){return ye(e)?e.displayName||e.name:e.name||t&&e.__name}function ag(e){return ye(e)&&"__vccOpts"in e}const T=(e,t)=>Zv(e,t,sa);function Wn(e,t,n){try{Ua(-1);const l=arguments.length;return l===2?Ee(t)&&!me(t)?oa(t)?y(e,null,[t]):y(e,t):y(e,null,t):(l>3?n=Array.prototype.slice.call(arguments,2):l===3&&oa(n)&&(n=[n]),y(e,t,n))}finally{Ua(1)}}const ig="3.5.28";let po;const ir=typeof window<"u"&&window.trustedTypes;if(ir)try{po=ir.createPolicy("vue",{createHTML:e=>e})}catch{}const jc=po?e=>po.createHTML(e):e=>e,og="http://www.w3.org/2000/svg",sg="http://www.w3.org/1998/Math/MathML",pn=typeof document<"u"?document:null,or=pn&&pn.createElement("template"),rg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,l)=>{const a=t==="svg"?pn.createElementNS(og,e):t==="mathml"?pn.createElementNS(sg,e):n?pn.createElement(e,{is:n}):pn.createElement(e);return e==="select"&&l&&l.multiple!=null&&a.setAttribute("multiple",l.multiple),a},createText:e=>pn.createTextNode(e),createComment:e=>pn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,l,a,i){const o=n?n.previousSibling:t.lastChild;if(a&&(a===i||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===i||!(a=a.nextSibling)););else{or.innerHTML=jc(l==="svg"?`<svg>${e}</svg>`:l==="mathml"?`<math>${e}</math>`:e);const s=or.content;if(l==="svg"||l==="mathml"){const r=s.firstChild;for(;r.firstChild;)s.appendChild(r.firstChild);s.removeChild(r)}t.insertBefore(s,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},On="transition",Rl="animation",xl=Symbol("_vtc"),zc={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},Uc=Ze({},gc,zc),ug=e=>(e.displayName="Transition",e.props=Uc,e),Nn=ug((e,{slots:t})=>Wn(cm,Kc(e),t)),Kn=(e,t=[])=>{me(e)?e.forEach(n=>n(...t)):e&&e(...t)},sr=e=>e?me(e)?e.some(t=>t.length>1):e.length>1:!1;function Kc(e){const t={};for(const O in e)O in zc||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:l,duration:a,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:r=i,appearActiveClass:c=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,g=cg(a),m=g&&g[0],k=g&&g[1],{onBeforeEnter:S,onEnter:w,onEnterCancelled:b,onLeave:C,onLeaveCancelled:E,onBeforeAppear:A=S,onAppear:V=w,onAppearCancelled:p=b}=t,_=(O,$,H,G)=>{O._enterCancelled=G,Mn(O,$?u:s),Mn(O,$?c:o),H&&H()},L=(O,$)=>{O._isLeaving=!1,Mn(O,d),Mn(O,v),Mn(O,f),$&&$()},F=O=>($,H)=>{const G=O?V:w,te=()=>_($,O,H);Kn(G,[$,te]),rr(()=>{Mn($,O?r:i),Jt($,O?u:s),sr(G)||ur($,l,m,te)})};return Ze(t,{onBeforeEnter(O){Kn(S,[O]),Jt(O,i),Jt(O,o)},onBeforeAppear(O){Kn(A,[O]),Jt(O,r),Jt(O,c)},onEnter:F(!1),onAppear:F(!0),onLeave(O,$){O._isLeaving=!0;const H=()=>L(O,$);Jt(O,d),O._enterCancelled?(Jt(O,f),bo(O)):(bo(O),Jt(O,f)),rr(()=>{O._isLeaving&&(Mn(O,d),Jt(O,v),sr(C)||ur(O,l,k,H))}),Kn(C,[O,H])},onEnterCancelled(O){_(O,!1,void 0,!0),Kn(b,[O])},onAppearCancelled(O){_(O,!0,void 0,!0),Kn(p,[O])},onLeaveCancelled(O){L(O),Kn(E,[O])}})}function cg(e){if(e==null)return null;if(Ee(e))return[Ui(e.enter),Ui(e.leave)];{const t=Ui(e);return[t,t]}}function Ui(e){return pv(e)}function Jt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[xl]||(e[xl]=new Set)).add(t)}function Mn(e,t){t.split(/\s+/).forEach(l=>l&&e.classList.remove(l));const n=e[xl];n&&(n.delete(t),n.size||(e[xl]=void 0))}function rr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let dg=0;function ur(e,t,n,l){const a=e._endId=++dg,i=()=>{a===e._endId&&l()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:s,propCount:r}=Gc(e,t);if(!o)return l();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=v=>{v.target===e&&++u>=r&&d()};setTimeout(()=>{u<r&&d()},s+1),e.addEventListener(c,f)}function Gc(e,t){const n=window.getComputedStyle(e),l=g=>(n[g]||"").split(", "),a=l(`${On}Delay`),i=l(`${On}Duration`),o=cr(a,i),s=l(`${Rl}Delay`),r=l(`${Rl}Duration`),c=cr(s,r);let u=null,d=0,f=0;t===On?o>0&&(u=On,d=o,f=i.length):t===Rl?c>0&&(u=Rl,d=c,f=r.length):(d=Math.max(o,c),u=d>0?o>c?On:Rl:null,f=u?u===On?i.length:r.length:0);const v=u===On&&/\b(?:transform|all)(?:,|$)/.test(l(`${On}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:v}}function cr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,l)=>dr(n)+dr(e[l])))}function dr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function bo(e){return(e?e.ownerDocument:document).body.offsetHeight}function fg(e,t,n){const l=e[xl];l&&(t=(t?[t,...l]:[...l]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ga=Symbol("_vod"),Yc=Symbol("_vsh"),Ol={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ga]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Nl(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:l}){!t!=!n&&(l?t?(l.beforeEnter(e),Nl(e,!0),l.enter(e)):l.leave(e,()=>{Nl(e,!1)}):Nl(e,t))},beforeUnmount(e,{value:t}){Nl(e,t)}};function Nl(e,t){e.style.display=t?e[Ga]:"none",e[Yc]=!t}const vg=Symbol(""),mg=/(?:^|;)\s*display\s*:/;function gg(e,t,n){const l=e.style,a=Ke(n);let i=!1;if(n&&!a){if(t)if(Ke(t))for(const o of t.split(";")){const s=o.slice(0,o.indexOf(":")).trim();n[s]==null&&$a(l,s,"")}else for(const o in t)n[o]==null&&$a(l,o,"");for(const o in n)o==="display"&&(i=!0),$a(l,o,n[o])}else if(a){if(t!==n){const o=l[vg];o&&(n+=";"+o),l.cssText=n,i=mg.test(n)}}else t&&e.removeAttribute("style");Ga in e&&(e[Ga]=i?l.display:"",e[Yc]&&(l.display="none"))}const fr=/\s*!important$/;function $a(e,t,n){if(me(n))n.forEach(l=>$a(e,t,l));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const l=hg(e,t);fr.test(n)?e.setProperty(Hn(l),n.replace(fr,""),"important"):e[l]=n}}const vr=["Webkit","Moz","ms"],Ki={};function hg(e,t){const n=Ki[t];if(n)return n;let l=dt(t);if(l!=="filter"&&l in e)return Ki[t]=l;l=En(l);for(let a=0;a<vr.length;a++){const i=vr[a]+l;if(i in e)return Ki[t]=i}return t}const mr="http://www.w3.org/1999/xlink";function gr(e,t,n,l,a,i=_v(t)){l&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(mr,t.slice(6,t.length)):e.setAttributeNS(mr,t,n):n==null||i&&!Bu(n)?e.removeAttribute(t):e.setAttribute(t,i?"":on(n)?String(n):n)}function hr(e,t,n,l,a){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?jc(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const s=i==="OPTION"?e.getAttribute("value")||"":e.value,r=n==null?e.type==="checkbox"?"on":"":String(n);(s!==r||!("_value"in e))&&(e.value=r),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=Bu(n):n==null&&s==="string"?(n="",o=!0):s==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(a||t)}function yg(e,t,n,l){e.addEventListener(t,n,l)}function pg(e,t,n,l){e.removeEventListener(t,n,l)}const yr=Symbol("_vei");function bg(e,t,n,l,a=null){const i=e[yr]||(e[yr]={}),o=i[t];if(l&&o)o.value=l;else{const[s,r]=Sg(t);if(l){const c=i[t]=xg(l,a);yg(e,s,c,r)}else o&&(pg(e,s,o,r),i[t]=void 0)}}const pr=/(?:Once|Passive|Capture)$/;function Sg(e){let t;if(pr.test(e)){t={};let l;for(;l=e.match(pr);)e=e.slice(0,e.length-l[0].length),t[l[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Hn(e.slice(2)),t]}let Gi=0;const wg=Promise.resolve(),Cg=()=>Gi||(wg.then(()=>Gi=0),Gi=Date.now());function xg(e,t){const n=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=n.attached)return;Kt(_g(l,n.value),t,5,[l])};return n.value=e,n.attached=Cg(),n}function _g(e,t){if(me(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(l=>a=>!a._stopped&&l&&l(a))}else return t}const br=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,kg=(e,t,n,l,a,i)=>{const o=a==="svg";t==="class"?fg(e,l,o):t==="style"?gg(e,n,l):ci(t)?Ho(t)||bg(e,t,n,l,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ag(e,t,l,o))?(hr(e,t,l),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&gr(e,t,l,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ke(l))?hr(e,dt(t),l,i,t):(t==="true-value"?e._trueValue=l:t==="false-value"&&(e._falseValue=l),gr(e,t,l,o))};function Ag(e,t,n,l){if(l)return!!(t==="innerHTML"||t==="textContent"||t in e&&br(t)&&ye(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 a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return br(t)&&Ke(n)?!1:t in e}const qc=new WeakMap,Xc=new WeakMap,Ya=Symbol("_moveCb"),Sr=Symbol("_enterCb"),Ig=e=>(delete e.props.mode,e),Vg=Ig({name:"TransitionGroup",props:Ze({},Uc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Pl(),l=mc();let a,i;return ls(()=>{if(!a.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Og(a[0].el,n.vnode.el,o)){a=[];return}a.forEach(Eg),a.forEach(Tg);const s=a.filter(Pg);bo(n.vnode.el),s.forEach(r=>{const c=r.el,u=c.style;Jt(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[Ya]=f=>{f&&f.target!==c||(!f||f.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[Ya]=null,Mn(c,o))};c.addEventListener("transitionend",d)}),a=[]}),()=>{const o=fe(e),s=Kc(o);let r=o.tag||Se;if(a=[],i)for(let c=0;c<i.length;c++){const u=i[c];u.el&&u.el instanceof Element&&(a.push(u),ol(u,aa(u,s,l,n)),qc.set(u,Zc(u.el)))}i=t.default?ts(t.default()):[];for(let c=0;c<i.length;c++){const u=i[c];u.key!=null&&ol(u,aa(u,s,l,n))}return y(r,null,i)}}}),rs=Vg;function Eg(e){const t=e.el;t[Ya]&&t[Ya](),t[Sr]&&t[Sr]()}function Tg(e){Xc.set(e,Zc(e.el))}function Pg(e){const t=qc.get(e),n=Xc.get(e),l=t.left-n.left,a=t.top-n.top;if(l||a){const i=e.el,o=i.style,s=i.getBoundingClientRect();let r=1,c=1;return i.offsetWidth&&(r=s.width/i.offsetWidth),i.offsetHeight&&(c=s.height/i.offsetHeight),(!Number.isFinite(r)||r===0)&&(r=1),(!Number.isFinite(c)||c===0)&&(c=1),Math.abs(r-1)<.01&&(r=1),Math.abs(c-1)<.01&&(c=1),o.transform=o.webkitTransform=`translate(${l/r}px,${a/c}px)`,o.transitionDuration="0s",e}}function Zc(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function Og(e,t,n){const l=e.cloneNode(),a=e[xl];a&&a.forEach(s=>{s.split(/\s+/).forEach(r=>r&&l.classList.remove(r))}),n.split(/\s+/).forEach(s=>s&&l.classList.add(s)),l.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(l);const{hasTransform:o}=Gc(l);return i.removeChild(l),o}const Mg=["ctrl","shift","alt","meta"],Lg={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)=>Mg.some(n=>e[`${n}Key`]&&!t.includes(n))},Dg=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),l=t.join(".");return n[l]||(n[l]=((a,...i)=>{for(let o=0;o<t.length;o++){const s=Lg[t[o]];if(s&&s(a,t))return}return e(a,...i)}))},$g={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Jc=(e,t)=>{const n=e._withKeys||(e._withKeys={}),l=t.join(".");return n[l]||(n[l]=(a=>{if(!("key"in a))return;const i=Hn(a.key);if(t.some(o=>o===i||$g[o]===i))return e(a)}))},Fg=Ze({patchProp:kg},rg);let wr;function Bg(){return wr||(wr=Wm(Fg))}const Rg=((...e)=>{const t=Bg().createApp(...e),{mount:n}=t;return t.mount=l=>{const a=Hg(l);if(!a)return;const i=t._component;!ye(i)&&!i.render&&!i.template&&(i.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const o=n(a,!1,Ng(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),o},t});function Ng(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Hg(e){return Ke(e)?document.querySelector(e):e}let Qc;const wi=e=>Qc=e,ed=Symbol();function So(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Zl;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Zl||(Zl={}));function Wg(){const e=al(!0),t=e.run(()=>Z({}));let n=[],l=[];const a=Zo({install(i){wi(a),a._a=i,i.provide(ed,a),i.config.globalProperties.$pinia=a,l.forEach(o=>n.push(o)),l=[]},use(i){return this._a?n.push(i):l.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}const td=()=>{};function Cr(e,t,n,l=td){e.add(t);const a=()=>{e.delete(t)&&l()};return!n&&zo()&&Je(a),a}function dl(e,...t){e.forEach(n=>{n(...t)})}const jg=e=>e(),xr=Symbol(),Yi=Symbol();function wo(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,l)=>e.set(l,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const l=t[n],a=e[n];So(a)&&So(l)&&e.hasOwnProperty(n)&&!He(l)&&!Cn(l)?e[n]=wo(a,l):e[n]=l}return e}const zg=Symbol();function Ug(e){return!So(e)||!Object.prototype.hasOwnProperty.call(e,zg)}const{assign:Ln}=Object;function Kg(e){return!!(He(e)&&e.effect)}function Gg(e,t,n,l){const{state:a,actions:i,getters:o}=t,s=n.state.value[e];let r;function c(){s||(n.state.value[e]=a?a():{});const u=Jo(n.state.value[e]);return Ln(u,i,Object.keys(o||{}).reduce((d,f)=>(d[f]=Zo(T(()=>{wi(n);const v=n._s.get(e);return o[f].call(v,v)})),d),{}))}return r=nd(e,c,t,n,l,!0),r}function nd(e,t,n={},l,a,i){let o;const s=Ln({actions:{}},n),r={deep:!0};let c,u,d=new Set,f=new Set,v;const g=l.state.value[e];!i&&!g&&(l.state.value[e]={});let m;function k(p){let _;c=u=!1,typeof p=="function"?(p(l.state.value[e]),_={type:Zl.patchFunction,storeId:e,events:v}):(wo(l.state.value[e],p),_={type:Zl.patchObject,payload:p,storeId:e,events:v});const L=m=Symbol();Ue().then(()=>{m===L&&(c=!0)}),u=!0,dl(d,_,l.state.value[e])}const S=i?function(){const{state:_}=n,L=_?_():{};this.$patch(F=>{Ln(F,L)})}:td;function w(){o.stop(),d.clear(),f.clear(),l._s.delete(e)}const b=(p,_="")=>{if(xr in p)return p[Yi]=_,p;const L=function(){wi(l);const F=Array.from(arguments),O=new Set,$=new Set;function H(Q){O.add(Q)}function G(Q){$.add(Q)}dl(f,{args:F,name:L[Yi],store:E,after:H,onError:G});let te;try{te=p.apply(this&&this.$id===e?this:E,F)}catch(Q){throw dl($,Q),Q}return te instanceof Promise?te.then(Q=>(dl(O,Q),Q)).catch(Q=>(dl($,Q),Promise.reject(Q))):(dl(O,te),te)};return L[xr]=!0,L[Yi]=_,L},C={_p:l,$id:e,$onAction:Cr.bind(null,f),$patch:k,$reset:S,$subscribe(p,_={}){const L=Cr(d,p,_.detached,()=>F()),F=o.run(()=>oe(()=>l.state.value[e],O=>{(_.flush==="sync"?u:c)&&p({storeId:e,type:Zl.direct,events:v},O)},Ln({},r,_)));return L},$dispose:w},E=et(C);l._s.set(e,E);const V=(l._a&&l._a.runWithContext||jg)(()=>l._e.run(()=>(o=al()).run(()=>t({action:b}))));for(const p in V){const _=V[p];if(He(_)&&!Kg(_)||Cn(_))i||(g&&Ug(_)&&(He(_)?_.value=g[p]:wo(_,g[p])),l.state.value[e][p]=_);else if(typeof _=="function"){const L=b(_,p);V[p]=L,s.actions[p]=_}}return Ln(E,V),Ln(fe(E),V),Object.defineProperty(E,"$state",{get:()=>l.state.value[e],set:p=>{k(_=>{Ln(_,p)})}}),l._p.forEach(p=>{Ln(E,o.run(()=>p({store:E,app:l._a,pinia:l,options:s})))}),g&&i&&n.hydrate&&n.hydrate(E.$state,g),c=!0,u=!0,E}function Yg(e,t,n){let l;const a=typeof t=="function";l=a?n:t;function i(o,s){const r=lm();return o=o||(r?Me(ed,null):null),o&&wi(o),o=Qc,o._s.has(e)||(a?nd(e,t,l,o):Gg(e,l,o)),o._s.get(e)}return i.$id=e,i}const ld="";async function un(e,t){const n=await fetch(`${ld}${e}`,{...t,headers:{"Content-Type":"application/json",...t?.headers}});if(!n.ok){const l=await n.json().catch(()=>({error:n.statusText}));throw new Error(l.error||n.statusText)}return n.json()}async function qg(){return un("/api/models")}async function Xg(){return un("/api/models/active")}async function Zg(e){return un("/api/models/switch",{method:"POST",body:JSON.stringify({model:e})})}async function Jg(){return un("/api/models/loras")}async function Qg(e){return un("/api/generate",{method:"POST",body:JSON.stringify(e)})}async function eh(e=100){return un(`/api/images?limit=${e}`)}async function th(e){await un(`/api/images/${e}`,{method:"DELETE"})}function Co(e){return`${ld}/api/images/${e}`}async function nh(e){const t=new URLSearchParams;return e.query&&t.set("query",e.query),e.types&&t.set("types",e.types),e.baseModels&&t.set("baseModels",e.baseModels),e.sort&&t.set("sort",e.sort),t.set("limit",String(e.limit)),un(`/api/civitai/search?${t}`)}async function lh(e){return un(`/api/civitai/model/${e}`)}async function ah(e,t){return un("/api/download",{method:"POST",body:JSON.stringify({model_id:e,version_id:t})})}const ad=Yg("app",()=>{const e=Z("generate"),t=Z([]),n=Z([]),l=Z(null),a=Z(""),i=Z(""),o=Z(.8),s=Z("768-3:4"),r=Z(20),c=Z(1),u=[{id:"512-3:4",ratio:"3:4",width:384,height:512,label:"384×512"},{id:"512-1:1",ratio:"1:1",width:512,height:512,label:"512×512"},{id:"512-4:3",ratio:"4:3",width:512,height:384,label:"512×384"},{id:"768-3:4",ratio:"3:4",width:576,height:768,label:"576×768"},{id:"768-1:1",ratio:"1:1",width:768,height:768,label:"768×768"},{id:"768-4:3",ratio:"4:3",width:768,height:576,label:"768×576"},{id:"1024-3:4",ratio:"3:4",width:768,height:1024,label:"768×1024"},{id:"1024-1:1",ratio:"1:1",width:1024,height:1024,label:"1024×1024"},{id:"1024-4:3",ratio:"4:3",width:1024,height:768,label:"1024×768"}],d=T(()=>{const S=u.find(w=>w.id===s.value);return S?{width:S.width,height:S.height}:{width:768,height:1024}}),f=[{label:"low",presets:u.filter(S=>S.id.startsWith("512-"))},{label:"mid",presets:u.filter(S=>S.id.startsWith("768-"))},{label:"high",presets:u.filter(S=>S.id.startsWith("1024-"))}],v=Z(!1),g=Z(!1);async function m(){v.value=!0;try{const[S,w,b]=await Promise.all([qg(),Jg(),Xg()]);t.value=S.models,n.value=w.loras,l.value=b.model,b.model&&(a.value=b.model)}catch(S){console.error("Failed to load models:",S)}finally{v.value=!1}}async function k(S){if(S!==l.value){g.value=!0;try{await Zg(S),l.value=S,a.value=S}catch(w){throw console.error("Failed to switch model:",w),w}finally{g.value=!1}}}return{currentView:e,models:t,loras:n,activeModel:l,selectedModel:a,selectedLora:i,loraWeight:o,selectedPreset:s,resolutionPresets:u,presetGroups:f,steps:r,batchSize:c,resolution:d,loadingModels:v,switchingModel:g,loadModels:m,switchModel:k}});function id(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const Le=typeof window<"u",us=Le&&"IntersectionObserver"in window,ih=Le&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),od=Le&&"matchMedia"in window&&typeof window.matchMedia=="function",_l=()=>od&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function _r(e,t,n){oh(e,t),t.set(e,n)}function oh(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function kr(e,t,n){return e.set(sd(e,t),n),n}function yn(e,t){return e.get(sd(e,t))}function sd(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function rd(e,t,n){const l=t.length-1;if(l<0)return e===void 0?n:e;for(let a=0;a<l;a++){if(e==null)return n;e=e[t[a]]}return e==null||e[t[l]]===void 0?n:e[t[l]]}function xo(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),rd(e,t.split("."),n))}function Ht(e,t,n){if(t===!0)return e===void 0?n:e;if(t==null||typeof t=="boolean")return n;if(e!==Object(e)){if(typeof t!="function")return n;const a=t(e,n);return typeof a>"u"?n:a}if(typeof t=="string")return xo(e,t,n);if(Array.isArray(t))return rd(e,t,n);if(typeof t!="function")return n;const l=t(e,n);return typeof l>"u"?n:l}function ud(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,l)=>t+l)}function se(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(e==null||e==="")return;const n=Number(e);return isNaN(n)?String(e):isFinite(n)?`${n}${t}`:void 0}function _o(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Ar(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function cd(e){if(e&&"$el"in e){const t=e.$el;return t?.nodeType===Node.TEXT_NODE?t.nextElementSibling:t}return e}function qi(e,t){return t.every(n=>e.hasOwnProperty(n))}function Ci(e,t){const n={};for(const l of t)Object.prototype.hasOwnProperty.call(e,l)&&(n[l]=e[l]);return n}function Ir(e,t,n){const l=Object.create(null),a=Object.create(null);for(const i in e)t.some(o=>o instanceof RegExp?o.test(i):o===i)?l[i]=e[i]:a[i]=e[i];return[l,a]}function $t(e,t){const n={...e};return t.forEach(l=>delete n[l]),n}const dd=/^on[^a-z]/,fd=e=>dd.test(e),sh=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function vd(e){const[t,n]=Ir(e,[dd]),l=$t(t,sh),[a,i]=Ir(n,["class","style","id","inert",/^data-/]);return Object.assign(a,t),Object.assign(i,l),[a,i]}function zt(e){return e==null?[]:Array.isArray(e)?e:[e]}function rh(e,t){let n=0;const l=function(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];clearTimeout(n),n=setTimeout(()=>e(...i),Ae(t))};return l.clear=()=>{clearTimeout(n)},l.immediate=e,l}function At(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function Vr(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function Er(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function uh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let l=0;for(;l<e.length;)n.push(e.substr(l,t)),l+=t;return n}function rt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const l={};for(const a in e)l[a]=e[a];for(const a in t){const i=e[a],o=t[a];if(Ar(i)&&Ar(o)){l[a]=rt(i,o,n);continue}if(n&&Array.isArray(i)&&Array.isArray(o)){l[a]=n(i,o);continue}l[a]=o}return l}function md(e){return e.map(t=>t.type===Se?md(t.children):t).flat()}function tl(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(tl.cache.has(e))return tl.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return tl.cache.set(e,t),t}tl.cache=new Map;function yl(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>yl(e,n)).flat(1);if(t.suspense)return yl(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>yl(e,n)).flat(1);if(t.component){if(Object.getOwnPropertyDescriptor(t.component.provides,e))return[t.component];if(t.component.subTree)return yl(e,t.component.subTree).flat(1)}return[]}var fl=new WeakMap,Gn=new WeakMap;class gd{constructor(t){_r(this,fl,[]),_r(this,Gn,0),this.size=t}get isFull(){return yn(fl,this).length===this.size}push(t){yn(fl,this)[yn(Gn,this)]=t,kr(Gn,this,(yn(Gn,this)+1)%this.size)}values(){return yn(fl,this).slice(yn(Gn,this)).concat(yn(fl,this).slice(0,yn(Gn,this)))}clear(){yn(fl,this).length=0,kr(Gn,this,0)}}function cs(e){const t=et({});ht(()=>{const l=e();for(const a in l)t[a]=l[a]},{flush:"sync"});const n={};for(const l in t)n[l]=M(()=>t[l]);return n}function qa(e,t){return e.includes(t)}function hd(e){return e[2].toLowerCase()+e.slice(3)}const gt=()=>[Function,Array];function Tr(e,t){return t="on"+En(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function yd(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),l=1;l<t;l++)n[l-1]=arguments[l];if(Array.isArray(e))for(const a of e)a(...n);else typeof e=="function"&&e(...n)}function nl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","details:not(:has(> summary))","details > summary","[tabindex]",'[contenteditable]:not([contenteditable="false"])',"audio[controls]","video[controls]"].map(a=>`${a}${t?':not([tabindex="-1"])':""}:not([disabled], [inert])`).join(", ");let l;try{l=[...e.querySelectorAll(n)]}catch{return[]}return l.filter(a=>!a.closest("[inert]")).filter(a=>!!a.offsetParent||a.getClientRects().length>0).filter(a=>!a.parentElement?.closest("details:not([open])")||a.tagName==="SUMMARY"&&a.parentElement?.tagName==="DETAILS")}function pd(e,t,n){let l,a=e.indexOf(document.activeElement);const i=t==="next"?1:-1;do a+=i,l=e[a];while((!l||l.offsetParent==null||!(n?.(l)??!0))&&a<e.length&&a>=0);return l}function Jl(e,t){const n=nl(e);if(t==null)(e===document.activeElement||!e.contains(document.activeElement))&&n[0]?.focus();else if(t==="first")n[0]?.focus();else if(t==="last")n.at(-1)?.focus();else if(typeof t=="number")n[t]?.focus();else{const l=pd(n,t);l?l.focus():Jl(e,t==="next"?"first":"last")}}function Xa(e,t){if(!(Le&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function bd(e){return e.some(t=>oa(t)?t.type===ot?!1:t.type!==Se||bd(t.children):!0)?e:null}function ch(e,t){if(!Le||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}function dh(e,t){const n=e.clientX,l=e.clientY,a=t.getBoundingClientRect(),i=a.left,o=a.top,s=a.right,r=a.bottom;return n>=i&&n<=s&&l>=o&&l<=r}function ko(){const e=ae(),t=n=>{e.value=n};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:n=>e.value=n}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>cd(e.value)}),t}function Pr(e){const t=e.key.length===1,n=!e.ctrlKey&&!e.metaKey&&!e.altKey;return t&&n}function sl(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="bigint"}function fh(e){const t={};for(const n in e)t[dt(n)]=e[n];return t}function vh(e){const t=["checked","disabled"];return Object.fromEntries(Object.entries(e).filter(n=>{let[l,a]=n;return t.includes(l)?!!a:a!==void 0}))}const Sd=["top","bottom"],mh=["start","end","left","right"];function Ao(e,t){let[n,l]=e.split(" ");return l||(l=qa(Sd,n)?"start":qa(mh,n)?"top":"center"),{side:Io(n,t),align:Io(l,t)}}function Io(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function Xi(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function Zi(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function Or(e){return{side:e.align,align:e.side}}function Mr(e){return qa(Sd,e.side)?"y":"x"}class Pt{constructor(t){const n=document.body.currentCSSZoom??1,l=t instanceof Element,a=l?1+(1-n)/n:1,{x:i,y:o,width:s,height:r}=l?t.getBoundingClientRect():t;this.x=i*a,this.y=o*a,this.width=s*a,this.height=r*a}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Lr(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function wd(e){if(Array.isArray(e)){const t=document.body.currentCSSZoom??1,n=1+(1-t)/t;return new Pt({x:e[0]*n,y:e[1]*n,width:0*n,height:0*n})}else return new Pt(e)}function gh(e){if(e===document.documentElement)if(visualViewport){const t=document.body.currentCSSZoom??1;return new Pt({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale/t,height:visualViewport.height*visualViewport.scale/t})}else return new Pt({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});else return new Pt(e)}function ds(e){const t=new Pt(e),n=getComputedStyle(e),l=n.transform;if(l){let a,i,o,s,r;if(l.startsWith("matrix3d("))a=l.slice(9,-1).split(/, /),i=Number(a[0]),o=Number(a[5]),s=Number(a[12]),r=Number(a[13]);else if(l.startsWith("matrix("))a=l.slice(7,-1).split(/, /),i=Number(a[0]),o=Number(a[3]),s=Number(a[4]),r=Number(a[5]);else return new Pt(t);const c=n.transformOrigin,u=t.x-s-(1-i)*parseFloat(c),d=t.y-r-(1-o)*parseFloat(c.slice(c.indexOf(" ")+1)),f=i?t.width/i:e.offsetWidth+1,v=o?t.height/o:e.offsetHeight+1;return new Pt({x:u,y:d,width:f,height:v})}else return new Pt(t)}function Fn(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let l;try{l=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof l.finished>"u"&&(l.finished=new Promise(a=>{l.onfinish=()=>{a(l)}})),l}const Fa=new WeakMap;function hh(e,t){Object.keys(t).forEach(n=>{if(fd(n)){const l=hd(n),a=Fa.get(e);if(t[n]==null)a?.forEach(i=>{const[o,s]=i;o===l&&(e.removeEventListener(l,s),a.delete(i))});else if(!a||![...a].some(i=>i[0]===l&&i[1]===t[n])){e.addEventListener(l,t[n]);const i=a||new Set;i.add([l,t[n]]),Fa.has(e)||Fa.set(e,i)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function yh(e,t){Object.keys(t).forEach(n=>{if(fd(n)){const l=hd(n),a=Fa.get(e);a?.forEach(i=>{const[o,s]=i;o===l&&(e.removeEventListener(l,s),a.delete(i))})}else e.removeAttribute(n)})}const vl=2.4,Dr=.2126729,$r=.7151522,Fr=.072175,ph=.55,bh=.58,Sh=.57,wh=.62,Ta=.03,Br=1.45,Ch=5e-4,xh=1.25,_h=1.25,Rr=.078,Nr=12.82051282051282,Pa=.06,Hr=.001;function Wr(e,t){const n=(e.r/255)**vl,l=(e.g/255)**vl,a=(e.b/255)**vl,i=(t.r/255)**vl,o=(t.g/255)**vl,s=(t.b/255)**vl;let r=n*Dr+l*$r+a*Fr,c=i*Dr+o*$r+s*Fr;if(r<=Ta&&(r+=(Ta-r)**Br),c<=Ta&&(c+=(Ta-c)**Br),Math.abs(c-r)<Ch)return 0;let u;if(c>r){const d=(c**ph-r**bh)*xh;u=d<Hr?0:d<Rr?d-d*Nr*Pa:d-Pa}else{const d=(c**wh-r**Sh)*_h;u=d>-Hr?0:d>-Rr?d-d*Nr*Pa:d+Pa}return u*100}const Za=.20689655172413793,kh=e=>e>Za**3?Math.cbrt(e):e/(3*Za**2)+4/29,Ah=e=>e>Za?e**3:3*Za**2*(e-4/29);function Cd(e){const t=kh,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function xd(e){const t=Ah,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const Ih=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],Vh=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,Eh=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],Th=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function _d(e){const t=Array(3),n=Vh,l=Ih;for(let a=0;a<3;++a)t[a]=Math.round(At(n(l[a][0]*e[0]+l[a][1]*e[1]+l[a][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function fs(e){let{r:t,g:n,b:l}=e;const a=[0,0,0],i=Th,o=Eh;t=i(t/255),n=i(n/255),l=i(l/255);for(let s=0;s<3;++s)a[s]=o[s][0]*t+o[s][1]*n+o[s][2]*l;return a}function Vo(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function Ph(e){return Vo(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const jr=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,Oh={rgb:(e,t,n,l)=>({r:e,g:t,b:n,a:l}),rgba:(e,t,n,l)=>({r:e,g:t,b:n,a:l}),hsl:(e,t,n,l)=>zr({h:e,s:t,l:n,a:l}),hsla:(e,t,n,l)=>zr({h:e,s:t,l:n,a:l}),hsv:(e,t,n,l)=>ra({h:e,s:t,v:n,a:l}),hsva:(e,t,n,l)=>ra({h:e,s:t,v:n,a:l})};function ln(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&jr.test(e)){const{groups:t}=e.match(jr),{fn:n,values:l}=t,a=l.split(/,\s*|\s*\/\s*|\s+/).map((i,o)=>i.endsWith("%")||o>0&&o<3&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(i)/100:parseFloat(i));return Oh[n](...a)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),Lh(t)}else if(typeof e=="object"){if(qi(e,["r","g","b"]))return e;if(qi(e,["h","s","l"]))return ra(kd(e));if(qi(e,["h","s","v"]))return ra(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name}
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function ra(e){const{h:t,s:n,v:l,a}=e,i=s=>{const r=(s+t/60)%6;return l-l*n*Math.max(Math.min(r,4-r,1),0)},o=[i(5),i(3),i(1)].map(s=>Math.round(s*255));return{r:o[0],g:o[1],b:o[2],a}}function zr(e){return ra(kd(e))}function kd(e){const{h:t,s:n,l,a}=e,i=l+n*Math.min(l,1-l),o=i===0?0:2-2*l/i;return{h:t,s:o,v:i,a}}function Oa(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function Mh(e){let{r:t,g:n,b:l,a}=e;return`#${[Oa(t),Oa(n),Oa(l),a!==void 0?Oa(Math.round(a*255)):""].join("")}`}function Lh(e){e=Dh(e);let[t,n,l,a]=uh(e,2).map(i=>parseInt(i,16));return a=a===void 0?a:a/255,{r:t,g:n,b:l,a}}function Dh(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=Vr(Vr(e,6),8,"F")),e}function $h(e,t){const n=Cd(fs(e));return n[0]=n[0]+t*10,_d(xd(n))}function Fh(e,t){const n=Cd(fs(e));return n[0]=n[0]-t*10,_d(xd(n))}function Bh(e){const t=ln(e);return fs(t)[1]}function Ad(e){const t=Math.abs(Wr(ln(0),ln(e)));return Math.abs(Wr(ln(16777215),ln(e)))>Math.min(t,50)?"#fff":"#000"}function z(e,t){return n=>Object.keys(e).reduce((l,a)=>{const o=typeof e[a]=="object"&&e[a]!=null&&!Array.isArray(e[a])?e[a]:{type:e[a]};return n&&a in n?l[a]={...o,default:n[a]}:l[a]=o,t&&!l[a].source&&(l[a].source=t),l},{})}const Ce=z({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function Xe(e,t){const n=Pl();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function cn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=Xe(e).type;return tl(t?.aliasName||t?.name)}function Rh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Xe("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}const kl=Symbol.for("vuetify:defaults");function Nh(e){return Z(e)}function vs(){const e=Me(kl);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function jn(e,t){const n=vs(),l=Z(e),a=T(()=>{if(Ae(t?.disabled))return n.value;const o=Ae(t?.scoped),s=Ae(t?.reset),r=Ae(t?.root);if(l.value==null&&!(o||s||r))return n.value;let c=rt(l.value,{prev:n.value});if(o)return c;if(s||r){const u=Number(s||1/0);for(let d=0;d<=u&&!(!c||!("prev"in c));d++)c=c.prev;return c&&typeof r=="string"&&r in c&&(c=rt(rt(c,{prev:c}),c[r])),c}return c.prev?rt(c.prev,c):c});return ft(kl,a),a}function Hh(e,t){return e.props&&(typeof e.props[t]<"u"||typeof e.props[tl(t)]<"u")}function Wh(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:vs();const l=Xe("useDefaults");if(t=t??l.type.name??l.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const a=T(()=>n.value?.[e._as??t]),i=new Proxy(e,{get(r,c){const u=Reflect.get(r,c);if(c==="class"||c==="style")return[a.value?.[c],u].filter(v=>v!=null);if(Hh(l.vnode,c))return u;const d=a.value?.[c];if(d!==void 0)return d;const f=n.value?.global?.[c];return f!==void 0?f:u}}),o=ae();ht(()=>{if(a.value){const r=Object.entries(a.value).filter(c=>{let[u]=c;return u.startsWith(u[0].toUpperCase())});o.value=r.length?Object.fromEntries(r):void 0}else o.value=void 0});function s(){const r=Rh(kl,l);ft(kl,T(()=>o.value?rt(r?.value??{},o.value):r?.value))}return{props:i,provideSubDefaults:s}}function Ml(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=z(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(l){return Ci(l,t)},e.props._as=String,e.setup=function(l,a){const i=vs();if(!i.value)return e._setup(l,a);const{props:o,provideSubDefaults:s}=Wh(l,l._as??e.name,i),r=e._setup(o,a);return s(),r}}return e}function re(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?Ml:Tl)(t)}function xi(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return re()({name:n??En(dt(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...Ce()},setup(l,a){let{slots:i}=a;return()=>Wn(l.tag,{class:[e,l.class],style:l.style},i.default?.())}})}function jh(e,t,n,l){if(!n||sl(e)||sl(t))return;const a=n.get(e);if(a)a.set(t,l);else{const i=new WeakMap;i.set(t,l),n.set(e,i)}}function zh(e,t,n){if(!n||sl(e)||sl(t))return null;const l=n.get(e)?.get(t);if(typeof l=="boolean")return l;const a=n.get(t)?.get(e);return typeof a=="boolean"?a:null}function Ot(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new WeakMap;if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const l=Object.keys(e);if(l.length!==Object.keys(t).length)return!1;const a=zh(e,t,n);return a||(jh(e,t,n,!0),l.every(i=>Ot(e[i],t[i],n)))}function Id(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const Ja="cubic-bezier(0.4, 0, 0.2, 1)",Ur="cubic-bezier(0.0, 0, 0.2, 1)",Kr="cubic-bezier(0.4, 0, 1, 1)",Uh={linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5,instant:e=>1};function Vd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?Kh(e):ms(e))return e;e=e.parentElement}return document.scrollingElement}function Qa(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(ms(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function ms(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e),n=t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight,l=t.overflowX==="scroll"||t.overflowX==="auto"&&e.scrollWidth>e.clientWidth;return n||l}function Kh(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function Gh(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function we(e){const t=Xe("useRender");t.render=e}function Yh(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{leading:!0,trailing:!0},l=0,a=0,i=!1,o=0;function s(){clearTimeout(l),i=!1,o=0}const r=function(){for(var c=arguments.length,u=new Array(c),d=0;d<c;d++)u[d]=arguments[d];clearTimeout(l);const f=Date.now();o||(o=f);const v=f-Math.max(o,a);function g(){a=Date.now(),l=setTimeout(s,t),e(...u)}i?v>=t?g():n.trailing&&(l=setTimeout(g,t-v)):(i=!0,n.leading&&g())};return r.clear=s,r.immediate=e,r}const qh=xi("v-alert-title"),dn=z({border:[Boolean,Number,String]},"border");function fn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();return{borderClasses:T(()=>{const l=e.border;return l===!0||l===""?`${t}--border`:typeof l=="string"||l===0?String(l).split(" ").map(a=>`border-${a}`):[]})}}const Xh=[null,"default","comfortable","compact"],Gt=z({density:{type:String,default:"default",validator:e=>Xh.includes(e)}},"density");function vn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();return{densityClasses:M(()=>`${t}--density-${e.density}`)}}const mn=z({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function gn(e){return{elevationClasses:M(()=>{const n=He(e)?e.value:e.elevation;return n==null?[]:[`elevation-${n}`]})}}const pt=z({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function bt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();return{roundedClasses:T(()=>{const l=He(e)?e.value:e.rounded,a=He(e)?!1:e.tile,i=[];if(a||l===!1)i.push("rounded-0");else if(l===!0||l==="")i.push(`${t}--rounded`);else if(typeof l=="string"||l===0)for(const o of String(l).split(" "))i.push(`rounded-${o}`);return i})}}const De=z({tag:{type:[String,Object,Function],default:"div"}},"tag"),ua=Symbol.for("vuetify:theme"),Ye=z({theme:String},"theme");function Gr(){return{defaultTheme:"light",prefix:"v-",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,unimportant:!1,utilities:!0}}function Zh(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gr();const t=Gr();if(!e)return{...t,isDisabled:!0};const n={};for(const[l,a]of Object.entries(e.themes??{})){const i=a.dark||l==="dark"?t.themes?.dark:t.themes?.light;n[l]=rt(i,a)}return rt(t,{...e,themes:n})}function Yn(e,t,n,l){e.push(`${ty(t,l)} {
`,...n.map(a=>` ${a};
`),`}
`)}function Yr(e,t){const n=e.dark?2:1,l=e.dark?1:2,a=[];for(const[i,o]of Object.entries(e.colors)){const s=ln(o);a.push(`--${t}theme-${i}: ${s.r},${s.g},${s.b}`),i.startsWith("on-")||a.push(`--${t}theme-${i}-overlay-multiplier: ${Bh(o)>.18?n:l}`)}for(const[i,o]of Object.entries(e.variables)){const s=typeof o=="string"&&o.startsWith("#")?ln(o):void 0,r=s?`${s.r}, ${s.g}, ${s.b}`:void 0;a.push(`--${t}${i}: ${r??o}`)}return a}function Jh(e,t,n){const l={};if(n)for(const a of["lighten","darken"]){const i=a==="lighten"?$h:Fh;for(const o of ud(n[a],1))l[`${e}-${a}-${o}`]=Mh(i(ln(t),o))}return l}function Qh(e,t){if(!t)return{};let n={};for(const l of t.colors){const a=e[l];a&&(n={...n,...Jh(l,a,t)})}return n}function ey(e){const t={};for(const n of Object.keys(e)){if(n.startsWith("on-")||e[`on-${n}`])continue;const l=`on-${n}`,a=ln(e[n]);t[l]=Ad(a)}return t}function ty(e,t){if(!t)return e;const n=`:where(${t})`;return e===":root"?n:`${n} ${e}`}function ny(e,t,n){const l=ly(e,t);l&&(l.innerHTML=n)}function ly(e,t){if(!Le)return null;let n=document.getElementById(e);return n||(n=document.createElement("style"),n.id=e,n.type="text/css",t&&n.setAttribute("nonce",t),document.head.appendChild(n)),n}function ay(e){const t=Zh(e),n=ae(t.defaultTheme),l=Z(t.themes),a=ae("light"),i=T({get(){return n.value==="system"?a.value:n.value},set(w){n.value=w}}),o=T(()=>{const w={};for(const[b,C]of Object.entries(l.value)){const E={...C.colors,...Qh(C.colors,t.variations)};w[b]={...C,colors:{...E,...ey(E)}}}return w}),s=M(()=>o.value[i.value]),r=M(()=>n.value==="system"),c=T(()=>{const w=[],b=t.unimportant?"":" !important",C=t.scoped?t.prefix:"";s.value?.dark&&Yn(w,":root",["color-scheme: dark"],t.scope),Yn(w,":root",Yr(s.value,t.prefix),t.scope);for(const[A,V]of Object.entries(o.value))Yn(w,`.${t.prefix}theme--${A}`,[`color-scheme: ${V.dark?"dark":"normal"}`,...Yr(V,t.prefix)],t.scope);if(t.utilities){const A=[],V=[],p=new Set(Object.values(o.value).flatMap(_=>Object.keys(_.colors)));for(const _ of p)_.startsWith("on-")?Yn(V,`.${_}`,[`color: rgb(var(--${t.prefix}theme-${_}))${b}`],t.scope):(Yn(A,`.${C}bg-${_}`,[`--${t.prefix}theme-overlay-multiplier: var(--${t.prefix}theme-${_}-overlay-multiplier)`,`background-color: rgb(var(--${t.prefix}theme-${_}))${b}`,`color: rgb(var(--${t.prefix}theme-on-${_}))${b}`],t.scope),Yn(V,`.${C}text-${_}`,[`color: rgb(var(--${t.prefix}theme-${_}))${b}`],t.scope),Yn(V,`.${C}border-${_}`,[`--${t.prefix}border-color: var(--${t.prefix}theme-${_})`],t.scope));t.layers?w.push(`@layer background {
`,...A.map(_=>` ${_}`),`}
`,`@layer foreground {
`,...V.map(_=>` ${_}`),`}
`):w.push(...A,...V)}let E=w.map((A,V)=>V===0?A:` ${A}`).join("");return t.layers&&(E=`@layer vuetify.theme {
`+w.map(A=>` ${A}`).join("")+`
}`),E}),u=M(()=>t.isDisabled?void 0:`${t.prefix}theme--${i.value}`),d=M(()=>Object.keys(o.value));if(od){let b=function(){a.value=w.matches?"dark":"light"};var S=b;const w=window.matchMedia("(prefers-color-scheme: dark)");b(),w.addEventListener("change",b,{passive:!0}),zo()&&Je(()=>{w.removeEventListener("change",b)})}function f(w){if(t.isDisabled)return;const b=w._context.provides.usehead;if(b){let A=function(){return{style:[{textContent:c.value,id:t.stylesheetId,nonce:t.cspNonce||!1}]}};var C=A;if(b.push){const V=b.push(A);Le&&oe(c,()=>{V.patch(A)})}else Le?(b.addHeadObjs(M(A)),ht(()=>b.updateDOM())):b.addHeadObjs(A())}else{let A=function(){ny(t.stylesheetId,t.cspNonce,c.value)};var E=A;Le?oe(c,A,{immediate:!0}):A()}}function v(w){w!=="system"&&!d.value.includes(w)||(i.value=w)}function g(){let w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d.value;const b=w.indexOf(i.value),C=b===-1?0:(b+1)%w.length;v(w[C])}function m(){let w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["light","dark"];g(w)}const k=new Proxy(i,{get(w,b){return Reflect.get(w,b)},set(w,b,C){return b==="value"&&id(`theme.global.name.value = ${C}`,`theme.change('${C}')`),Reflect.set(w,b,C)}});return{install:f,change:v,cycle:g,toggle:m,isDisabled:t.isDisabled,isSystem:r,name:i,themes:l,current:s,computedThemes:o,prefix:t.prefix,themeClasses:u,styles:c,global:{name:k,current:s}}}function tt(e){Xe("provideTheme");const t=Me(ua,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=M(()=>e.theme??t.name.value),i={...t,name:n,current:M(()=>t.themes.value[n.value]),themeClasses:M(()=>t.isDisabled?void 0:`${t.prefix}theme--${n.value}`)};return ft(ua,i),i}function iy(){Xe("useTheme");const e=Me(ua,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function gs(e){return cs(()=>{const{class:t,style:n}=oy(e);return{colorClasses:t,colorStyles:n}})}function sn(e){const{colorClasses:t,colorStyles:n}=gs(()=>({text:nt(e)}));return{textColorClasses:t,textColorStyles:n}}function Mt(e){const{colorClasses:t,colorStyles:n}=gs(()=>({background:nt(e)}));return{backgroundColorClasses:t,backgroundColorStyles:n}}function oy(e){const t=nt(e),n=[],l={};if(t.background)if(Vo(t.background)){if(l.backgroundColor=t.background,!t.text&&Ph(t.background)){const a=ln(t.background);if(a.a==null||a.a===1){const i=Ad(a);l.color=i,l.caretColor=i}}}else n.push(`bg-${t.background}`);return t.text&&(Vo(t.text)?(l.color=t.text,l.caretColor=t.text):n.push(`text-${t.text}`)),{class:n,style:l}}const sy=["elevated","flat","tonal","outlined","text","plain"];function Ll(e,t){return I(Se,null,[e&&I("span",{key:"overlay",class:ue(`${t}__overlay`)},null),I("span",{key:"underlay",class:ue(`${t}__underlay`)},null)])}const Pn=z({color:String,variant:{type:String,default:"elevated",validator:e=>sy.includes(e)}},"variant");function Dl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();const n=M(()=>{const{variant:i}=nt(e);return`${t}--variant-${i}`}),{colorClasses:l,colorStyles:a}=gs(()=>{const{variant:i,color:o}=nt(e);return{[["elevated","flat"].includes(i)?"background":"text"]:o}});return{colorClasses:l,colorStyles:a,variantClasses:n}}const Ed=z({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...dn(),...Ce(),...Gt(),...mn(),...pt(),...De(),...Ye(),...Pn()},"VBtnGroup"),qr=re()({name:"VBtnGroup",props:Ed(),setup(e,t){let{slots:n}=t;const{themeClasses:l}=tt(e),{densityClasses:a}=vn(e),{borderClasses:i}=fn(e),{elevationClasses:o}=gn(e),{roundedClasses:s}=bt(e);jn({VBtn:{height:M(()=>e.direction==="horizontal"?"auto":null),baseColor:M(()=>e.baseColor),color:M(()=>e.color),density:M(()=>e.density),flat:!0,variant:M(()=>e.variant)}}),we(()=>y(e.tag,{class:ue(["v-btn-group",`v-btn-group--${e.direction}`,{"v-btn-group--divided":e.divided},l.value,i.value,a.value,o.value,s.value,e.class]),style:xe(e.style)},n))}});function Lt(e,t){let n;function l(){n=al(),n.run(()=>t.length?t(()=>{n?.stop(),l()}):t())}oe(e,a=>{a&&!n?l():a||(n?.stop(),n=void 0)},{immediate:!0}),Je(()=>{n?.stop()})}function qe(e,t,n){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const i=Xe("useProxiedModel"),o=Z(e[t]!==void 0?e[t]:n),s=tl(t),c=T(s!==t?()=>(e[t],!!((i.vnode.props?.hasOwnProperty(t)||i.vnode.props?.hasOwnProperty(s))&&(i.vnode.props?.hasOwnProperty(`onUpdate:${t}`)||i.vnode.props?.hasOwnProperty(`onUpdate:${s}`)))):()=>(e[t],!!(i.vnode.props?.hasOwnProperty(t)&&i.vnode.props?.hasOwnProperty(`onUpdate:${t}`))));Lt(()=>!c.value,()=>{oe(()=>e[t],d=>{o.value=d})});const u=T({get(){const d=e[t];return l(c.value?d:o.value)},set(d){const f=a(d),v=fe(c.value?e[t]:o.value);v===f||l(v)===d||(o.value=f,i?.emit(`update:${t}`,f))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?e[t]:o.value}),u}const hs=z({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Td=z({value:null,disabled:Boolean,selectedClass:String},"group-item");function Eo(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const l=Xe("useGroupItem");if(!l)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=rn();ft(Symbol.for(`${t.description}:id`),a);const i=Me(t,null);if(!i){if(!n)return i;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const o=M(()=>e.value),s=T(()=>!!(i.disabled.value||e.disabled));function r(){i?.register({id:a,value:o,disabled:s},l)}function c(){i?.unregister(a)}r(),yt(()=>c());const u=T(()=>i.isSelected(a)),d=T(()=>i.items.value[0].id===a),f=T(()=>i.items.value[i.items.value.length-1].id===a),v=T(()=>u.value&&[i.selectedClass.value,e.selectedClass]);return oe(u,g=>{l.emit("group:selected",{value:g})},{flush:"sync"}),{id:a,isSelected:u,isFirst:d,isLast:f,toggle:()=>i.select(a,!u.value),select:g=>i.select(a,g),selectedClass:v,value:o,disabled:s,group:i,register:r,unregister:c}}function ys(e,t){let n=!1;const l=et([]),a=qe(e,"modelValue",[],f=>f===void 0?[]:Pd(l,f===null?[null]:zt(f)),f=>{const v=uy(l,f);return e.multiple?v:v[0]}),i=Xe("useGroup");function o(f,v){const g=f,m=Symbol.for(`${t.description}:id`),S=yl(m,i?.vnode).indexOf(v);Ae(g.value)===void 0&&(g.value=S,g.useIndexAsValue=!0),S>-1?l.splice(S,0,g):l.push(g)}function s(f){if(n)return;r();const v=l.findIndex(g=>g.id===f);l.splice(v,1)}function r(){const f=l.find(v=>!v.disabled);f&&e.mandatory==="force"&&!a.value.length&&(a.value=[f.id])}Dt(()=>{r()}),yt(()=>{n=!0}),ls(()=>{for(let f=0;f<l.length;f++)l[f].useIndexAsValue&&(l[f].value=f)});function c(f,v){const g=l.find(m=>m.id===f);if(!(v&&g?.disabled))if(e.multiple){const m=a.value.slice(),k=m.findIndex(w=>w===f),S=~k;if(v=v??!S,S&&e.mandatory&&m.length<=1||!S&&e.max!=null&&m.length+1>e.max)return;k<0&&v?m.push(f):k>=0&&!v&&m.splice(k,1),a.value=m}else{const m=a.value.includes(f);if(e.mandatory&&m||!m&&!v)return;a.value=v??!m?[f]:[]}}function u(f){if(e.multiple,a.value.length){const v=a.value[0],g=l.findIndex(S=>S.id===v);let m=(g+f)%l.length,k=l[m];for(;k.disabled&&m!==g;)m=(m+f)%l.length,k=l[m];if(k.disabled)return;a.value=[l[m].id]}else{const v=l.find(g=>!g.disabled);v&&(a.value=[v.id])}}const d={register:o,unregister:s,selected:a,select:c,disabled:M(()=>e.disabled),prev:()=>u(l.length-1),next:()=>u(1),isSelected:f=>a.value.includes(f),selectedClass:M(()=>e.selectedClass),items:M(()=>l),getItemIndex:f=>ry(l,f)};return ft(t,d),d}function ry(e,t){const n=Pd(e,[t]);return n.length?e.findIndex(l=>l.id===n[0]):-1}function Pd(e,t){const n=[];return t.forEach(l=>{const a=e.find(o=>Ot(l,o.value)),i=e[l];a?.value!==void 0?n.push(a.id):i?.useIndexAsValue&&n.push(i.id)}),n}function uy(e,t){const n=[];return t.forEach(l=>{const a=e.findIndex(i=>i.id===l);if(~a){const i=e[a];n.push(i.value!==void 0?i.value:a)}}),n}const Od=Symbol.for("vuetify:v-btn-toggle"),cy=z({...Ed(),...hs()},"VBtnToggle"),dy=re()({name:"VBtnToggle",props:cy(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:l,next:a,prev:i,select:o,selected:s}=ys(e,Od);return we(()=>{const r=qr.filterProps(e);return y(qr,ce({class:["v-btn-toggle",e.class]},r,{style:e.style}),{default:()=>[n.default?.({isSelected:l,next:a,prev:i,select:o,selected:s})]})}),{next:a,prev:i,select:o}}}),fy=z({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ze=re(!1)({name:"VDefaultsProvider",props:fy(),setup(e,t){let{slots:n}=t;const{defaults:l,disabled:a,reset:i,root:o,scoped:s}=Jo(e);return jn(l,{reset:i,root:o,scoped:s,disabled:a}),()=>n.default?.()}}),Ve=[String,Function,Object,Array],To=Symbol.for("vuetify:icons"),_i=z({icon:{type:Ve},tag:{type:[String,Object,Function],required:!0}},"icon"),Xr=re()({name:"VComponentIcon",props:_i(),setup(e,t){let{slots:n}=t;return()=>{const l=e.icon;return y(e.tag,null,{default:()=>[e.icon?y(l,null,null):n.default?.()]})}}}),Md=Ml({name:"VSvgIcon",inheritAttrs:!1,props:_i(),setup(e,t){let{attrs:n}=t;return()=>y(e.tag,ce(n,{style:null}),{default:()=>[I("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(l=>Array.isArray(l)?I("path",{d:l[0],"fill-opacity":l[1]},null):I("path",{d:l},null)):I("path",{d:e.icon},null)])]})}});Ml({name:"VLigatureIcon",props:_i(),setup(e){return()=>y(e.tag,null,{default:()=>[e.icon]})}});const Ld=Ml({name:"VClassIcon",props:_i(),setup(e){return()=>y(e.tag,{class:ue(e.icon)},null)}}),vy=e=>{const t=Me(To);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:T(()=>{const l=nt(e);if(!l)return{component:Xr};let a=l;if(typeof a=="string"&&(a=a.trim(),a.startsWith("$")&&(a=t.aliases?.[a.slice(1)])),Array.isArray(a))return{component:Md,icon:a};if(typeof a!="string")return{component:Xr,icon:a};const i=Object.keys(t.sets).find(r=>typeof a=="string"&&a.startsWith(`${r}:`)),o=i?a.slice(i.length+1):a;return{component:t.sets[i??t.defaultSet].component,icon:o}})}},my=["x-small","small","default","large","x-large"],Sa=z({size:{type:[String,Number],default:"default"}},"size");function wa(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();return cs(()=>{const n=e.size;let l,a;return qa(my,n)?l=`${t}--size-${n}`:n&&(a={width:se(n),height:se(n)}),{sizeClasses:l,sizeStyles:a}})}const gy=z({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:Ve,opacity:[String,Number],...Ce(),...Sa(),...De({tag:"i"}),...Ye()},"VIcon"),Ne=re()({name:"VIcon",props:gy(),setup(e,t){let{attrs:n,slots:l}=t;const a=ae(),{themeClasses:i}=iy(),{iconData:o}=vy(()=>a.value||e.icon),{sizeClasses:s}=wa(e),{textColorClasses:r,textColorStyles:c}=sn(()=>e.color);return we(()=>{const u=l.default?.();u&&(a.value=md(u).filter(f=>f.type===pa&&f.children&&typeof f.children=="string")[0]?.children);const d=!!(n.onClick||n.onClickOnce);return y(o.value.component,{tag:e.tag,icon:o.value.icon,class:ue(["v-icon","notranslate",i.value,s.value,r.value,{"v-icon--clickable":d,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class]),style:xe([{"--v-icon-opacity":e.opacity},s.value?void 0:{fontSize:se(e.size),height:se(e.size),width:se(e.size)},c.value,e.style]),role:d?"button":void 0,"aria-hidden":!d,tabindex:d?e.disabled?-1:0:void 0},{default:()=>[u]})}),{}}});function Dd(e,t){const n=Z(),l=ae(!1);if(us){const a=new IntersectionObserver(i=>{l.value=!!i.find(o=>o.isIntersecting)},t);Je(()=>{a.disconnect()}),oe(n,(i,o)=>{o&&(a.unobserve(o),l.value=!1),i&&a.observe(i)},{flush:"post"})}return{intersectionRef:n,isIntersecting:l}}function rl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=ko(),l=Z();if(Le){const a=new ResizeObserver(i=>{e?.(i,a),i.length&&(t==="content"?l.value=i[0].contentRect:l.value=i[0].target.getBoundingClientRect())});yt(()=>{a.disconnect()}),oe(()=>n.el,(i,o)=>{o&&(a.unobserve(o),l.value=void 0),i&&a.observe(i)},{flush:"post"})}return{resizeRef:n,contentRect:il(l)}}const hy=z({bgColor:String,color:String,indeterminate:[Boolean,String],rounded:Boolean,modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Ce(),...Sa(),...De({tag:"div"}),...Ye()},"VProgressCircular"),Al=re()({name:"VProgressCircular",props:hy(),setup(e,t){let{slots:n}=t;const l=20,a=2*Math.PI*l,i=Z(),{themeClasses:o}=tt(e),{sizeClasses:s,sizeStyles:r}=wa(e),{textColorClasses:c,textColorStyles:u}=sn(()=>e.color),{textColorClasses:d,textColorStyles:f}=sn(()=>e.bgColor),{intersectionRef:v,isIntersecting:g}=Dd(),{resizeRef:m,contentRect:k}=rl(),S=M(()=>At(parseFloat(e.modelValue),0,100)),w=M(()=>Number(e.width)),b=M(()=>r.value?Number(e.size):k.value?k.value.width:Math.max(w.value,32)),C=M(()=>l/(1-w.value/b.value)*2),E=M(()=>w.value/b.value*C.value),A=M(()=>{const p=(100-S.value)/100*a;return e.rounded&&S.value>0&&S.value<100?se(Math.min(a-.01,p+E.value)):se(p)}),V=T(()=>{const p=Number(e.rotate);return e.rounded?p+E.value/2/a*360:p});return ht(()=>{v.value=i.value,m.value=i.value}),we(()=>y(e.tag,{ref:i,class:ue(["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":g.value,"v-progress-circular--disable-shrink":e.indeterminate&&(e.indeterminate==="disable-shrink"||_l())},o.value,s.value,c.value,e.class]),style:xe([r.value,u.value,e.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:S.value},{default:()=>[I("svg",{style:{transform:`rotate(calc(-90deg + ${V.value}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${C.value} ${C.value}`},[I("circle",{class:ue(["v-progress-circular__underlay",d.value]),style:xe(f.value),fill:"transparent",cx:"50%",cy:"50%",r:l,"stroke-width":E.value,"stroke-dasharray":a,"stroke-dashoffset":0},null),I("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:l,"stroke-width":E.value,"stroke-dasharray":a,"stroke-dashoffset":A.value,"stroke-linecap":e.rounded?"round":void 0},null)]),n.default&&I("div",{class:"v-progress-circular__content"},[n.default({value:S.value})])]})),{}}}),Ft=z({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Bt(e){return{dimensionStyles:T(()=>{const n={},l=se(e.height),a=se(e.maxHeight),i=se(e.maxWidth),o=se(e.minHeight),s=se(e.minWidth),r=se(e.width);return l!=null&&(n.height=l),a!=null&&(n.maxHeight=a),i!=null&&(n.maxWidth=i),o!=null&&(n.minHeight=o),s!=null&&(n.minWidth=s),r!=null&&(n.width=r),n})}}const yy={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"},ariaLabel:{previousMonth:"Previous month",nextMonth:"Next month",selectYear:"Select year",previousYear:"Previous year",nextYear:"Next year",selectMonth:"Select month",selectDate:"{0}",currentDate:"Today, {0}"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},fileUpload:{title:"Drag and drop files here",divider:"or",browse:"Browse Files"},timePicker:{am:"AM",pm:"PM",title:"Select Time",hour:"Hour",minute:"Minute",second:"Second"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}",or:"or"},video:{play:"Play",pause:"Pause",seek:"Seek",volume:"Volume",showVolume:"Show volume control",mute:"Mute",unmute:"Unmute",enterFullscreen:"Full screen",exitFullscreen:"Exit full screen"},colorPicker:{ariaLabel:{eyedropper:"Select color with eyedropper",hueSlider:"Hue",alphaSlider:"Alpha",redInput:"Red value",greenInput:"Green value",blueInput:"Blue value",alphaInput:"Alpha value",hueInput:"Hue value",saturationInput:"Saturation value",lightnessInput:"Lightness value",hexInput:"HEX value",hexaInput:"HEX with alpha value",changeFormat:"Change color format"}}},Zr="$vuetify.",Jr=(e,t)=>e.replace(/\{(\d+)\}/g,(n,l)=>String(t[Number(l)])),$d=(e,t,n)=>function(l){for(var a=arguments.length,i=new Array(a>1?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];if(!l.startsWith(Zr))return Jr(l,i);const s=l.replace(Zr,""),r=e.value&&n.value[e.value],c=t.value&&n.value[t.value];let u=xo(r,s,null);return u||(`${l}${e.value}`,u=xo(c,s,null)),u||(u=l),typeof u!="string"&&(u=l),Jr(u,i)};function ps(e,t){return(n,l)=>new Intl.NumberFormat([e.value,t.value],l).format(n)}function Fd(e,t){return ps(e,t)(.1).includes(",")?",":"."}function Ji(e,t,n){const l=qe(e,t,e[t]??n.value);return l.value=e[t]??n.value,oe(n,a=>{e[t]==null&&(l.value=n.value)}),l}function Bd(e){return t=>{const n=Ji(t,"locale",e.current),l=Ji(t,"fallback",e.fallback),a=Ji(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:l,messages:a,decimalSeparator:M(()=>Fd(n,l)),t:$d(n,l,a),n:ps(n,l),provide:Bd({current:n,fallback:l,messages:a})}}}function py(e){const t=ae(e?.locale??"en"),n=ae(e?.fallback??"en"),l=Z({en:yy,...e?.messages});return{name:"vuetify",current:t,fallback:n,messages:l,decimalSeparator:M(()=>e?.decimalSeparator??Fd(t,n)),t:$d(t,n,l),n:ps(t,n),provide:Bd({current:t,fallback:n,messages:l})}}const ei=Symbol.for("vuetify:locale");function by(e){return e.name!=null}function Sy(e){const t=e?.adapter&&by(e?.adapter)?e?.adapter:py(e),n=Cy(t,e);return{...t,...n}}function ki(){const e=Me(ei);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function wy(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function Cy(e,t){const n=Z(t?.rtl??wy()),l=T(()=>n.value[e.current.value]??!1);return{isRtl:l,rtl:n,rtlClasses:M(()=>`v-locale--is-${l.value?"rtl":"ltr"}`)}}function Rt(){const e=Me(ei);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const Qr={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Ca=z({location:String},"location");function xa(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:l}=Rt();return{locationStyles:T(()=>{if(!e.location)return{};const{side:i,align:o}=Ao(e.location.split(" ").length>1?e.location:`${e.location} center`,l.value);function s(c){return n?n(c):0}const r={};return i!=="center"&&(t?r[Qr[i]]=`calc(100% - ${s(i)}px)`:r[i]=0),o!=="center"?t?r[Qr[o]]=`calc(100% - ${s(o)}px)`:r[o]=0:(i==="center"?r.top=r.left="50%":r[{top:"left",bottom:"left",left:"top",right:"top"}[i]]="50%",r.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[i]),r})}}const xy=z({chunkCount:{type:[Number,String],default:null},chunkWidth:{type:[Number,String],default:null},chunkGap:{type:[Number,String],default:4}},"chunks");function _y(e,t){const n=M(()=>!!e.chunkCount||!!e.chunkWidth),l=T(()=>{const s=nt(t);if(!s)return 0;if(!e.chunkCount)return Number(e.chunkWidth);const r=Number(e.chunkCount);return(s-Number(e.chunkGap)*(r-1))/r}),a=M(()=>Number(e.chunkGap)),i=T(()=>{if(!n.value)return{};const s=se(a.value),r=se(l.value);return{maskRepeat:"repeat-x",maskImage:`linear-gradient(90deg, #000, #000 ${r}, transparent ${r}, transparent)`,maskSize:`calc(${r} + ${s}) 100%`}});function o(s){const r=nt(t);if(!r)return s;const c=100*a.value/r,u=100*(l.value+a.value)/r,d=Math.floor((s+c)/u);return At(0,d*u-c/2,100)}return{hasChunks:n,chunksMaskStyles:i,snapValueToChunk:o}}const ky=z({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...xy(),...Ce(),...Ca({location:"top"}),...pt(),...De(),...Ye()},"VProgressLinear"),Ay=re()({name:"VProgressLinear",props:ky(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const l=Z(),a=qe(e,"modelValue"),{isRtl:i,rtlClasses:o}=Rt(),{themeClasses:s}=tt(e),{locationStyles:r}=xa(e),{textColorClasses:c,textColorStyles:u}=sn(()=>e.color),{backgroundColorClasses:d,backgroundColorStyles:f}=Mt(()=>e.bgColor||e.color),{backgroundColorClasses:v,backgroundColorStyles:g}=Mt(()=>e.bufferColor||e.bgColor||e.color),{backgroundColorClasses:m,backgroundColorStyles:k}=Mt(()=>e.color),{roundedClasses:S}=bt(e),{intersectionRef:w,isIntersecting:b}=Dd(),C=T(()=>parseFloat(e.max)),E=T(()=>parseFloat(e.height)),A=T(()=>At(parseFloat(e.bufferValue)/C.value*100,0,100)),V=T(()=>At(parseFloat(a.value)/C.value*100,0,100)),p=T(()=>i.value!==e.reverse),_=T(()=>e.indeterminate?"fade-transition":"slide-x-transition"),L=ae(0),{hasChunks:F,chunksMaskStyles:O,snapValueToChunk:$}=_y(e,L);Lt(F,()=>{const{resizeRef:Q}=rl(ee=>L.value=ee[0].contentRect.width);ht(()=>Q.value=l.value)});const H=T(()=>F.value?$(A.value):A.value),G=T(()=>F.value?$(V.value):V.value);function te(Q){if(!w.value)return;const{left:ee,right:pe,width:j}=w.value.getBoundingClientRect(),ie=p.value?j-Q.clientX+(pe-j):Q.clientX-ee;a.value=Math.round(ie/j*C.value)}return ht(()=>{w.value=l.value}),we(()=>y(e.tag,{ref:l,class:ue(["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&b.value,"v-progress-linear--reverse":p.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped,"v-progress-linear--clickable":e.clickable},S.value,s.value,o.value,e.class]),style:xe([{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?se(E.value):0,"--v-progress-linear-height":se(E.value),...e.absolute?r.value:{}},O.value,e.style]),role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:Math.min(parseFloat(a.value),C.value),onClick:e.clickable&&te},{default:()=>[e.stream&&I("div",{key:"stream",class:ue(["v-progress-linear__stream",c.value]),style:{...u.value,[p.value?"left":"right"]:se(-E.value),borderTop:`${se(E.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${se(E.value/4)})`,width:se(100-A.value,"%"),"--v-progress-linear-stream-to":se(E.value*(p.value?1:-1))}},null),I("div",{class:ue(["v-progress-linear__background",d.value]),style:xe([f.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}])},null),I("div",{class:ue(["v-progress-linear__buffer",v.value]),style:xe([g.value,{opacity:parseFloat(e.bufferOpacity),width:se(H.value,"%")}])},null),y(Nn,{name:_.value},{default:()=>[e.indeterminate?I("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(Q=>I("div",{key:Q,class:ue(["v-progress-linear__indeterminate",Q,m.value]),style:xe(k.value)},null))]):I("div",{class:ue(["v-progress-linear__determinate",m.value]),style:xe([k.value,{width:se(G.value,"%")}])},null)]}),n.default&&I("div",{class:"v-progress-linear__content"},[n.default({value:V.value,buffer:A.value})])]})),{}}}),bs=z({loading:[Boolean,String]},"loader");function Ss(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();return{loaderClasses:M(()=>({[`${t}--loading`]:e.loading}))}}function Rd(e,t){let{slots:n}=t;return I("div",{class:ue(`${e.name}__loader`)},[n.default?.({color:e.color,isActive:e.active})||y(Ay,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const Iy=["static","relative","fixed","absolute","sticky"],Ai=z({position:{type:String,validator:e=>Iy.includes(e)}},"position");function Ii(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();return{positionClasses:M(()=>e.position?`${t}--${e.position}`:void 0)}}function Vy(){const e=Xe("useRoute");return T(()=>e?.proxy?.$route)}function Nd(){return Xe("useRouter")?.proxy?.$router}function Vi(e,t){const n=bm("RouterLink"),l=M(()=>!!(e.href||e.to)),a=T(()=>l?.value||Tr(t,"click")||Tr(e,"click"));if(typeof n=="string"||!("useLink"in n)){const d=M(()=>e.href);return{isLink:l,isRouterLink:M(()=>!1),isClickable:a,href:d,linkProps:et({href:d})}}const i=n.useLink({to:M(()=>e.to||""),replace:M(()=>e.replace)}),o=T(()=>e.to?i:void 0),s=Vy(),r=T(()=>o.value?e.exact?s.value?o.value.isExactActive?.value&&Ot(o.value.route.value.query,s.value.query):o.value.isExactActive?.value??!1:o.value.isActive?.value??!1:!1),c=T(()=>e.to?o.value?.route.value.href:e.href);return{isLink:l,isRouterLink:M(()=>!!e.to),isClickable:a,isActive:r,route:o.value?.route,navigate:o.value?.navigate,href:c,linkProps:et({href:c,"aria-current":M(()=>r.value?"page":void 0),"aria-disabled":M(()=>e.disabled&&l.value?"true":void 0),tabindex:M(()=>e.disabled&&l.value?"-1":void 0)})}}const Ei=z({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Qi=!1;function Ey(e,t){let n=!1,l,a;Le&&e?.beforeEach&&(Ue(()=>{window.addEventListener("popstate",i),l=e.beforeEach((o,s,r)=>{Qi?n?t(r):r():setTimeout(()=>n?t(r):r()),Qi=!0}),a=e?.afterEach(()=>{Qi=!1})}),Je(()=>{window.removeEventListener("popstate",i),l?.(),a?.()}));function i(o){o.state?.replaced||(n=!0,setTimeout(()=>n=!1))}}function Ty(e,t){oe(()=>e.isActive?.value,n=>{e.isLink.value&&n!=null&&t&&Ue(()=>{t(n)})},{immediate:!0})}const Po=Symbol("rippleStop"),Py=80;function eu(e,t){e.style.transform=t,e.style.webkitTransform=t}function Oo(e){return e.constructor.name==="TouchEvent"}function Hd(e){return e.constructor.name==="KeyboardEvent"}const Oy=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=0,a=0;if(!Hd(e)){const d=t.getBoundingClientRect(),f=Oo(e)?e.touches[e.touches.length-1]:e;l=f.clientX-d.left,a=f.clientY-d.top}let i=0,o=.3;t._ripple?.circle?(o=.15,i=t.clientWidth/2,i=n.center?i:i+Math.sqrt((l-i)**2+(a-i)**2)/4):i=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const s=`${(t.clientWidth-i*2)/2}px`,r=`${(t.clientHeight-i*2)/2}px`,c=n.center?s:`${l-i}px`,u=n.center?r:`${a-i}px`;return{radius:i,scale:o,x:c,y:u,centerX:s,centerY:r}},ti={show(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t?._ripple?.enabled)return;const l=document.createElement("span"),a=document.createElement("span");l.appendChild(a),l.className="v-ripple__container",n.class&&(l.className+=` ${n.class}`);const{radius:i,scale:o,x:s,y:r,centerX:c,centerY:u}=Oy(e,t,n),d=`${i*2}px`;a.className="v-ripple__animation",a.style.width=d,a.style.height=d,t.appendChild(l);const f=window.getComputedStyle(t);f&&f.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),eu(a,`translate(${s}, ${r}) scale3d(${o},${o},${o})`),a.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),eu(a,`translate(${c}, ${u}) scale3d(1,1,1)`)})})},hide(e){if(!e?._ripple?.enabled)return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=Array.from(t).findLast(i=>!i.dataset.isHiding);if(n)n.dataset.isHiding="true";else return;const l=performance.now()-Number(n.dataset.activated),a=Math.max(250-l,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),n.parentNode?.parentNode===e&&e.removeChild(n.parentNode)},300)},a)}};function Wd(e){return typeof e>"u"||!!e}function ca(e){const t={},n=e.currentTarget;if(!(!n?._ripple||n._ripple.touched||e[Po])){if(e[Po]=!0,Oo(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||Hd(e),n._ripple.class&&(t.class=n._ripple.class),Oo(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{ti.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{n?._ripple?.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},Py)}else ti.show(e,n,t)}}function ni(e){e[Po]=!0}function Ct(e){const t=e.currentTarget;if(t?._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{Ct(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),ti.hide(t)}}function jd(e){const t=e.currentTarget;t?._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let da=!1;function My(e,t){!da&&t.includes(e.key)&&(da=!0,ca(e))}function zd(e){da=!1,Ct(e)}function Ud(e){da&&(da=!1,Ct(e))}function Kd(e,t,n){const{value:l,modifiers:a}=t,i=Wd(l);i||ti.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=i,e._ripple.centered=a.center,e._ripple.circle=a.circle;const o=_o(l)?l:{};o.class&&(e._ripple.class=o.class);const s=o.keys??["Enter","Space"];if(e._ripple.keyDownHandler=r=>My(r,s),i&&!n){if(a.stop){e.addEventListener("touchstart",ni,{passive:!0}),e.addEventListener("mousedown",ni);return}e.addEventListener("touchstart",ca,{passive:!0}),e.addEventListener("touchend",Ct,{passive:!0}),e.addEventListener("touchmove",jd,{passive:!0}),e.addEventListener("touchcancel",Ct),e.addEventListener("mousedown",ca),e.addEventListener("mouseup",Ct),e.addEventListener("mouseleave",Ct),e.addEventListener("keydown",e._ripple.keyDownHandler),e.addEventListener("keyup",zd),e.addEventListener("blur",Ud),e.addEventListener("dragstart",Ct,{passive:!0})}else!i&&n&&Gd(e)}function Gd(e){e.removeEventListener("touchstart",ni),e.removeEventListener("mousedown",ni),e.removeEventListener("touchstart",ca),e.removeEventListener("touchend",Ct),e.removeEventListener("touchmove",jd),e.removeEventListener("touchcancel",Ct),e.removeEventListener("mousedown",ca),e.removeEventListener("mouseup",Ct),e.removeEventListener("mouseleave",Ct),e._ripple?.keyDownHandler&&e.removeEventListener("keydown",e._ripple.keyDownHandler),e.removeEventListener("keyup",zd),e.removeEventListener("blur",Ud),e.removeEventListener("dragstart",Ct)}function Ly(e,t){Kd(e,t,!1)}function Dy(e){Gd(e),delete e._ripple}function $y(e,t){if(t.value===t.oldValue)return;const n=Wd(t.oldValue);Kd(e,t,n)}const In={mounted:Ly,unmounted:Dy,updated:$y},Fy=z({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:Od},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Ve,appendIcon:Ve,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,spaced:String,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...dn(),...Ce(),...Gt(),...Ft(),...mn(),...Td(),...bs(),...Ca(),...Ai(),...pt(),...Ei(),...Sa(),...De({tag:"button"}),...Ye(),...Pn({variant:"elevated"})},"VBtn"),Wt=re()({name:"VBtn",props:Fy(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:l}=t;const{themeClasses:a}=tt(e),{borderClasses:i}=fn(e),{densityClasses:o}=vn(e),{dimensionStyles:s}=Bt(e),{elevationClasses:r}=gn(e),{loaderClasses:c}=Ss(e),{locationStyles:u}=xa(e),{positionClasses:d}=Ii(e),{roundedClasses:f}=bt(e),{sizeClasses:v,sizeStyles:g}=wa(e),m=Eo(e,e.symbol,!1),k=Vi(e,n),S=T(()=>e.active!==void 0?e.active:k.isRouterLink.value?k.isActive?.value:m?.isSelected.value),w=M(()=>S.value?e.activeColor??e.color:e.color),b=T(()=>({color:m?.isSelected.value&&(!k.isLink.value||k.isActive?.value)||!m||k.isActive?.value?w.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:C,colorStyles:E,variantClasses:A}=Dl(b),V=T(()=>m?.disabled.value||e.disabled),p=M(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),_=T(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function L(F){V.value||k.isLink.value&&(F.metaKey||F.ctrlKey||F.shiftKey||F.button!==0||n.target==="_blank")||(k.isRouterLink.value?k.navigate?.(F):m?.toggle())}return Ty(k,m?.select),we(()=>{const F=k.isLink.value?"a":e.tag,O=!!(e.prependIcon||l.prepend),$=!!(e.appendIcon||l.append),H=!!(e.icon&&e.icon!==!0);return It(y(F,ce(k.linkProps,{type:F==="a"?void 0:"button",class:["v-btn",m?.selectedClass.value,{"v-btn--active":S.value,"v-btn--block":e.block,"v-btn--disabled":V.value,"v-btn--elevated":p.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},e.spaced?["v-btn--spaced",`v-btn--spaced-${e.spaced}`]:[],a.value,i.value,C.value,o.value,r.value,c.value,d.value,f.value,v.value,A.value,e.class],style:[E.value,s.value,u.value,g.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:V.value&&F!=="a"||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:L,value:_.value}),{default:()=>[Ll(!0,"v-btn"),!e.icon&&O&&I("span",{key:"prepend",class:"v-btn__prepend"},[l.prepend?y(ze,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},l.prepend):y(Ne,{key:"prepend-icon",icon:e.prependIcon},null)]),I("span",{class:"v-btn__content","data-no-activator":""},[!l.default&&H?y(Ne,{key:"content-icon",icon:e.icon},null):y(ze,{key:"content-defaults",disabled:!H,defaults:{VIcon:{icon:e.icon}}},{default:()=>[l.default?.()??Re(e.text)]})]),!e.icon&&$&&I("span",{key:"append",class:"v-btn__append"},[l.append?y(ze,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},l.append):y(Ne,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&I("span",{key:"loader",class:"v-btn__loader"},[l.loader?.()??y(Al,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}),[[In,!V.value&&e.ripple,"",{center:!!e.icon}]])}),{group:m}}}),By=z({iconSize:[Number,String],iconSizes:{type:Array,default:()=>[["x-small",10],["small",16],["default",24],["large",28],["x-large",32]]}},"iconSize");function Ry(e,t){return{iconSize:T(()=>{const l=new Map(e.iconSizes),a=e.iconSize??t()??"default";return l.has(a)?l.get(a):a})}}const Ny=["success","info","warning","error"],Hy=z({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:Ve,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>Ny.includes(e)},...Ce(),...Gt(),...Ft(),...mn(),...By(),...Ca(),...Ai(),...pt(),...De(),...Ye(),...Pn({variant:"flat"})},"VAlert"),Wy=re()({name:"VAlert",props:Hy(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{emit:n,slots:l}=t;const a=qe(e,"modelValue"),i=M(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),{iconSize:o}=Ry(e,()=>e.prominent?44:void 0),{themeClasses:s}=tt(e),{colorClasses:r,colorStyles:c,variantClasses:u}=Dl(()=>({color:e.color??e.type,variant:e.variant})),{densityClasses:d}=vn(e),{dimensionStyles:f}=Bt(e),{elevationClasses:v}=gn(e),{locationStyles:g}=xa(e),{positionClasses:m}=Ii(e),{roundedClasses:k}=bt(e),{textColorClasses:S,textColorStyles:w}=sn(()=>e.borderColor),{t:b}=ki(),C=M(()=>({"aria-label":b(e.closeLabel),onClick(E){a.value=!1,n("click:close",E)}}));return()=>{const E=!!(l.prepend||i.value),A=!!(l.title||e.title),V=!!(l.close||e.closable),p={density:e.density,icon:i.value,size:e.iconSize||e.prominent?o.value:void 0};return a.value&&y(e.tag,{class:ue(["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},s.value,r.value,d.value,v.value,m.value,k.value,u.value,e.class]),style:xe([c.value,f.value,g.value,e.style]),role:"alert"},{default:()=>[Ll(!1,"v-alert"),e.border&&I("div",{key:"border",class:ue(["v-alert__border",S.value]),style:xe(w.value)},null),E&&I("div",{key:"prepend",class:"v-alert__prepend"},[l.prepend?y(ze,{key:"prepend-defaults",disabled:!i.value,defaults:{VIcon:{...p}}},l.prepend):y(Ne,ce({key:"prepend-icon"},p),null)]),I("div",{class:"v-alert__content"},[A&&y(qh,{key:"title"},{default:()=>[l.title?.()??e.title]}),l.text?.()??e.text,l.default?.()]),l.append&&I("div",{key:"append",class:"v-alert__append"},[l.append()]),V&&I("div",{key:"close",class:"v-alert__close"},[l.close?y(ze,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>[l.close?.({props:C.value})]}):y(Wt,ce({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},C.value),null)])]})}}}),jy=z({...Ce(),...De()},"VCardActions"),Yd=re()({name:"VCardActions",props:jy(),setup(e,t){let{slots:n}=t;return jn({VBtn:{slim:!0,variant:"text"}}),we(()=>y(e.tag,{class:ue(["v-card-actions",e.class]),style:xe(e.style)},n)),{}}}),zy=z({opacity:[Number,String],...Ce(),...De()},"VCardSubtitle"),Uy=re()({name:"VCardSubtitle",props:zy(),setup(e,t){let{slots:n}=t;return we(()=>y(e.tag,{class:ue(["v-card-subtitle",e.class]),style:xe([{"--v-card-subtitle-opacity":e.opacity},e.style])},n)),{}}}),qd=xi("v-card-title");function Ky(e){return{aspectStyles:T(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const Xd=z({aspectRatio:[String,Number],contentClass:null,inline:Boolean,...Ce(),...Ft()},"VResponsive"),tu=re()({name:"VResponsive",props:Xd(),setup(e,t){let{slots:n}=t;const{aspectStyles:l}=Ky(e),{dimensionStyles:a}=Bt(e);return we(()=>I("div",{class:ue(["v-responsive",{"v-responsive--inline":e.inline},e.class]),style:xe([a.value,e.style])},[I("div",{class:"v-responsive__sizer",style:xe(l.value)},null),n.additional?.(),n.default&&I("div",{class:ue(["v-responsive__content",e.contentClass])},[n.default()])])),{}}}),_a=z({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),Bn=(e,t)=>{let{slots:n}=t;const{transition:l,disabled:a,group:i,...o}=e,{component:s=i?rs:Nn,...r}=_o(l)?l:{};let c;return _o(l)?c=ce(r,vh({disabled:a,group:i}),o):c=ce({name:a||!l?"":l},o),Wn(s,c,n)};function Gy(e,t){if(!us)return;const n=t.modifiers||{},l=t.value,{handler:a,options:i}=typeof l=="object"?l:{handler:l,options:{}},o=new IntersectionObserver(function(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0;const c=e._observe?.[t.instance.$.uid];if(!c)return;const u=s.some(d=>d.isIntersecting);a&&(!n.quiet||c.init)&&(!n.once||u||c.init)&&a(u,s,r),u&&n.once?Zd(e,t):c.init=!0},i);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:o},o.observe(e)}function Zd(e,t){const n=e._observe?.[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const li={mounted:Gy,unmounted:Zd},Yy=z({absolute:Boolean,alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...Xd(),...Ce(),...pt(),..._a()},"VImg"),Vn=re()({name:"VImg",directives:{vIntersect:li},props:Yy(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:l}=t;const{backgroundColorClasses:a,backgroundColorStyles:i}=Mt(()=>e.color),{roundedClasses:o}=bt(e),s=Xe("VImg"),r=ae(""),c=Z(),u=ae(e.eager?"loading":"idle"),d=ae(),f=ae(),v=T(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),g=T(()=>v.value.aspect||d.value/f.value||0);oe(()=>e.src,()=>{m(u.value!=="idle")}),oe(g,(O,$)=>{!O&&$&&c.value&&C(c.value)}),ya(()=>m());function m(O){if(!(e.eager&&O)&&!(us&&!O&&!e.eager)){if(u.value="loading",v.value.lazySrc){const $=new Image;$.src=v.value.lazySrc,C($,null)}v.value.src&&Ue(()=>{n("loadstart",c.value?.currentSrc||v.value.src),setTimeout(()=>{if(!s.isUnmounted)if(c.value?.complete){if(c.value.naturalWidth||S(),u.value==="error")return;g.value||C(c.value,null),u.value==="loading"&&k()}else g.value||C(c.value),w()})})}}function k(){s.isUnmounted||(w(),C(c.value),u.value="loaded",n("load",c.value?.currentSrc||v.value.src))}function S(){s.isUnmounted||(u.value="error",n("error",c.value?.currentSrc||v.value.src))}function w(){const O=c.value;O&&(r.value=O.currentSrc||O.src)}let b=-1;yt(()=>{clearTimeout(b)});function C(O){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const H=()=>{if(clearTimeout(b),s.isUnmounted)return;const{naturalHeight:G,naturalWidth:te}=O;G||te?(d.value=te,f.value=G):!O.complete&&u.value==="loading"&&$!=null?b=window.setTimeout(H,$):(O.currentSrc.endsWith(".svg")||O.currentSrc.startsWith("data:image/svg+xml"))&&(d.value=1,f.value=1)};H()}const E=M(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),A=()=>{if(!v.value.src||u.value==="idle")return null;const O=I("img",{class:ue(["v-img__img",E.value]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:v.value.src,srcset:v.value.srcset,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:c,onLoad:k,onError:S},null),$=l.sources?.();return y(Bn,{transition:e.transition,appear:!0},{default:()=>[It($?I("picture",{class:"v-img__picture"},[$,O]):O,[[Ol,u.value==="loaded"]])]})},V=()=>y(Bn,{transition:e.transition},{default:()=>[v.value.lazySrc&&u.value!=="loaded"&&I("img",{class:ue(["v-img__img","v-img__img--preload",E.value]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:v.value.lazySrc,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),p=()=>l.placeholder?y(Bn,{transition:e.transition,appear:!0},{default:()=>[(u.value==="loading"||u.value==="error"&&!l.error)&&I("div",{class:"v-img__placeholder"},[l.placeholder()])]}):null,_=()=>l.error?y(Bn,{transition:e.transition,appear:!0},{default:()=>[u.value==="error"&&I("div",{class:"v-img__error"},[l.error()])]}):null,L=()=>e.gradient?I("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,F=ae(!1);{const O=oe(g,$=>{$&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{F.value=!0})}),O())})}return we(()=>{const O=tu.filterProps(e);return It(y(tu,ce({class:["v-img",{"v-img--absolute":e.absolute,"v-img--booting":!F.value},a.value,o.value,e.class],style:[{width:se(e.width==="auto"?d.value:e.width)},i.value,e.style]},O,{aspectRatio:g.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>I(Se,null,[y(A,null,null),y(V,null,null),y(L,null,null),y(p,null,null),y(_,null,null)]),default:l.default}),[[li,{handler:m,options:e.options},null,{once:!0}]])}),{currentSrc:r,image:c,state:u,naturalWidth:d,naturalHeight:f}}}),qy=z({start:Boolean,end:Boolean,icon:Ve,image:String,text:String,...dn(),...Ce(),...Gt(),...pt(),...Sa(),...De(),...Ye(),...Pn({variant:"flat"})},"VAvatar"),ul=re()({name:"VAvatar",props:qy(),setup(e,t){let{slots:n}=t;const{themeClasses:l}=tt(e),{borderClasses:a}=fn(e),{colorClasses:i,colorStyles:o,variantClasses:s}=Dl(e),{densityClasses:r}=vn(e),{roundedClasses:c}=bt(e),{sizeClasses:u,sizeStyles:d}=wa(e);return we(()=>y(e.tag,{class:ue(["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},l.value,a.value,i.value,r.value,c.value,u.value,s.value,e.class]),style:xe([o.value,d.value,e.style])},{default:()=>[n.default?y(ze,{key:"content-defaults",defaults:{VImg:{cover:!0,src:e.image},VIcon:{icon:e.icon}}},{default:()=>[n.default()]}):e.image?y(Vn,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?y(Ne,{key:"icon",icon:e.icon},null):e.text,Ll(!1,"v-avatar")]})),{}}}),Xy=z({appendAvatar:String,appendIcon:Ve,prependAvatar:String,prependIcon:Ve,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...Ce(),...Gt(),...De()},"VCardItem"),Zy=re()({name:"VCardItem",props:Xy(),setup(e,t){let{slots:n}=t;return we(()=>{const l=!!(e.prependAvatar||e.prependIcon),a=!!(l||n.prepend),i=!!(e.appendAvatar||e.appendIcon),o=!!(i||n.append),s=!!(e.title!=null||n.title),r=!!(e.subtitle!=null||n.subtitle);return y(e.tag,{class:ue(["v-card-item",e.class]),style:xe(e.style)},{default:()=>[a&&I("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?y(ze,{key:"prepend-defaults",disabled:!l,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},n.prepend):I(Se,null,[e.prependAvatar&&y(ul,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&y(Ne,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),I("div",{class:"v-card-item__content"},[s&&y(qd,{key:"title"},{default:()=>[n.title?.()??Re(e.title)]}),r&&y(Uy,{key:"subtitle"},{default:()=>[n.subtitle?.()??Re(e.subtitle)]}),n.default?.()]),o&&I("div",{key:"append",class:"v-card-item__append"},[n.append?y(ze,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},n.append):I(Se,null,[e.appendIcon&&y(Ne,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&y(ul,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])]})}),{}}}),Jy=z({opacity:[Number,String],...Ce(),...De()},"VCardText"),Mo=re()({name:"VCardText",props:Jy(),setup(e,t){let{slots:n}=t;return we(()=>y(e.tag,{class:ue(["v-card-text",e.class]),style:xe([{"--v-card-text-opacity":e.opacity},e.style])},n)),{}}}),Qy=z({appendAvatar:String,appendIcon:Ve,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Ve,ripple:{type:[Boolean,Object],default:!0},subtitle:{type:[String,Number,Boolean],default:void 0},text:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...dn(),...Ce(),...Gt(),...Ft(),...mn(),...bs(),...Ca(),...Ai(),...pt(),...Ei(),...De(),...Ye(),...Pn({variant:"elevated"})},"VCard"),Il=re()({name:"VCard",directives:{vRipple:In},props:Qy(),setup(e,t){let{attrs:n,slots:l}=t;const{themeClasses:a}=tt(e),{borderClasses:i}=fn(e),{colorClasses:o,colorStyles:s,variantClasses:r}=Dl(e),{densityClasses:c}=vn(e),{dimensionStyles:u}=Bt(e),{elevationClasses:d}=gn(e),{loaderClasses:f}=Ss(e),{locationStyles:v}=xa(e),{positionClasses:g}=Ii(e),{roundedClasses:m}=bt(e),k=Vi(e,n),S=ae(void 0);return oe(()=>e.loading,(w,b)=>{S.value=!w&&typeof b=="string"?b:typeof w=="boolean"?void 0:w},{immediate:!0}),we(()=>{const w=e.link!==!1&&k.isLink.value,b=!e.disabled&&e.link!==!1&&(e.link||k.isClickable.value),C=w?"a":e.tag,E=!!(l.title||e.title!=null),A=!!(l.subtitle||e.subtitle!=null),V=E||A,p=!!(l.append||e.appendAvatar||e.appendIcon),_=!!(l.prepend||e.prependAvatar||e.prependIcon),L=!!(l.image||e.image),F=V||_||p,O=!!(l.text||e.text!=null);return It(y(C,ce(k.linkProps,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":b},a.value,i.value,o.value,c.value,d.value,f.value,g.value,m.value,r.value,e.class],style:[s.value,u.value,v.value,e.style],onClick:b&&k.navigate,tabindex:e.disabled?-1:void 0}),{default:()=>[L&&I("div",{key:"image",class:"v-card__image"},[l.image?y(ze,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},l.image):y(Vn,{key:"image-img",cover:!0,src:e.image},null)]),y(Rd,{name:"v-card",active:!!e.loading,color:S.value},{default:l.loader}),F&&y(Zy,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:l.item,prepend:l.prepend,title:l.title,subtitle:l.subtitle,append:l.append}),O&&y(Mo,{key:"text"},{default:()=>[l.text?.()??e.text]}),l.default?.(),l.actions&&y(Yd,null,{default:l.actions}),Ll(b,"v-card")]}),[[In,b&&e.ripple]])}),{}}}),ep=z({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Vt(e,t,n){return re()({name:e,props:ep({mode:n,origin:t}),setup(l,a){let{slots:i}=a;const o={onBeforeEnter(s){l.origin&&(s.style.transformOrigin=l.origin)},onLeave(s){if(l.leaveAbsolute){const{offsetTop:r,offsetLeft:c,offsetWidth:u,offsetHeight:d}=s;s._transitionInitialStyles={position:s.style.position,top:s.style.top,left:s.style.left,width:s.style.width,height:s.style.height},s.style.position="absolute",s.style.top=`${r}px`,s.style.left=`${c}px`,s.style.width=`${u}px`,s.style.height=`${d}px`}l.hideOnLeave&&s.style.setProperty("display","none","important")},onAfterLeave(s){if(l.leaveAbsolute&&s?._transitionInitialStyles){const{position:r,top:c,left:u,width:d,height:f}=s._transitionInitialStyles;delete s._transitionInitialStyles,s.style.position=r||"",s.style.top=c||"",s.style.left=u||"",s.style.width=d||"",s.style.height=f||""}}};return()=>{const s=l.group?rs:Nn;return Wn(s,{name:l.disabled?"":e,css:!l.disabled,...l.group?void 0:{mode:l.mode},...l.disabled?{}:o},i.default)}}})}function Jd(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return re()({name:e,props:{mode:{type:String,default:n},disabled:{type:Boolean,default:_l()},group:Boolean},setup(l,a){let{slots:i}=a;const o=l.group?rs:Nn;return()=>Wn(o,{name:l.disabled?"":e,css:!l.disabled,...l.disabled?{}:t},i.default)}})}function Qd(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",l=dt(`offset-${n}`);return{onBeforeEnter(o){o._parent=o.parentNode,o._initialStyle={transition:o.style.transition,overflow:o.style.overflow,[n]:o.style[n]}},onEnter(o){const s=o._initialStyle;if(!s)return;o.style.setProperty("transition","none","important"),o.style.overflow="hidden";const r=`${o[l]}px`;o.style[n]="0",o.offsetHeight,o.style.transition=s.transition,e&&o._parent&&o._parent.classList.add(e),requestAnimationFrame(()=>{o.style[n]=r})},onAfterEnter:i,onEnterCancelled:i,onLeave(o){o._initialStyle={transition:"",overflow:o.style.overflow,[n]:o.style[n]},o.style.overflow="hidden",o.style[n]=`${o[l]}px`,o.offsetHeight,requestAnimationFrame(()=>o.style[n]="0")},onAfterLeave:a,onLeaveCancelled:a};function a(o){e&&o._parent&&o._parent.classList.remove(e),i(o)}function i(o){if(!o._initialStyle)return;const s=o._initialStyle[n];o.style.overflow=o._initialStyle.overflow,s!=null&&(o.style[n]=s),delete o._initialStyle}}const tp=z({target:[Object,Array]},"v-dialog-transition"),eo=new WeakMap,ws=re()({name:"VDialogTransition",props:tp(),setup(e,t){let{slots:n}=t;const l={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,i){await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),a.style.visibility="";const o=lu(e.target,a),{x:s,y:r,sx:c,sy:u,speed:d}=o;if(eo.set(a,o),_l())Fn(a,[{opacity:0},{}],{duration:125*d,easing:Ur}).finished.then(()=>i());else{const f=Fn(a,[{transform:`translate(${s}px, ${r}px) scale(${c}, ${u})`,opacity:0},{}],{duration:225*d,easing:Ur});nu(a)?.forEach(v=>{Fn(v,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*d,easing:Ja})}),f.finished.then(()=>i())}},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,i){await new Promise(f=>requestAnimationFrame(f));let o;!eo.has(a)||Array.isArray(e.target)||e.target.offsetParent||e.target.getClientRects().length?o=lu(e.target,a):o=eo.get(a);const{x:s,y:r,sx:c,sy:u,speed:d}=o;_l()?Fn(a,[{},{opacity:0}],{duration:85*d,easing:Kr}).finished.then(()=>i()):(Fn(a,[{},{transform:`translate(${s}px, ${r}px) scale(${c}, ${u})`,opacity:0}],{duration:125*d,easing:Kr}).finished.then(()=>i()),nu(a)?.forEach(v=>{Fn(v,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*d,easing:Ja})}))},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>e.target?y(Nn,ce({name:"dialog-transition"},l,{css:!1}),n):y(Nn,{name:"dialog-transition"},n)}});function nu(e){const t=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")?.children;return t&&[...t]}function lu(e,t){const n=wd(e),l=ds(t),[a,i]=getComputedStyle(t).transformOrigin.split(" ").map(S=>parseFloat(S)),[o,s]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let r=n.left+n.width/2;o==="left"||s==="left"?r-=n.width/2:(o==="right"||s==="right")&&(r+=n.width/2);let c=n.top+n.height/2;o==="top"||s==="top"?c-=n.height/2:(o==="bottom"||s==="bottom")&&(c+=n.height/2);const u=n.width/l.width,d=n.height/l.height,f=Math.max(1,u,d),v=u/f||0,g=d/f||0,m=l.width*l.height/(window.innerWidth*window.innerHeight),k=m>.12?Math.min(1.5,(m-.12)*10+1):1;return{x:r-(a+l.left),y:c-(i+l.top),sx:v,sy:g,speed:k}}Vt("fab-transition","center center","out-in");Vt("dialog-bottom-transition");Vt("dialog-top-transition");const au=Vt("fade-transition");Vt("scale-transition");Vt("scroll-x-transition");Vt("scroll-x-reverse-transition");Vt("scroll-y-transition");Vt("scroll-y-reverse-transition");Vt("slide-x-transition");Vt("slide-x-reverse-transition");const ef=Vt("slide-y-transition");Vt("slide-y-reverse-transition");const tf=Jd("expand-transition",Qd()),nf=Jd("expand-x-transition",Qd("",!0)),Ti=["sm","md","lg","xl","xxl"],Lo=Symbol.for("vuetify:display"),iu={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},np=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:iu;return rt(iu,e)};function ou(e){return Le&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function su(e){return Le&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function ru(e){const t=Le&&!e?window.navigator.userAgent:"ssr";function n(g){return!!t.match(g)}const l=n(/android/i),a=n(/iphone|ipad|ipod/i),i=n(/cordova/i),o=n(/electron/i),s=n(/chrome/i),r=n(/edge/i),c=n(/firefox/i),u=n(/opera/i),d=n(/win/i),f=n(/mac/i),v=n(/linux/i);return{android:l,ios:a,cordova:i,electron:o,chrome:s,edge:r,firefox:c,opera:u,win:d,mac:f,linux:v,touch:ih,ssr:t==="ssr"}}function lp(e,t){const{thresholds:n,mobileBreakpoint:l}=np(e),a=ae(su(t)),i=ae(ru(t)),o=et({}),s=ae(ou(t));function r(){a.value=su(),s.value=ou()}function c(){r(),i.value=ru()}return ht(()=>{const u=s.value<n.sm,d=s.value<n.md&&!u,f=s.value<n.lg&&!(d||u),v=s.value<n.xl&&!(f||d||u),g=s.value<n.xxl&&!(v||f||d||u),m=s.value>=n.xxl,k=u?"xs":d?"sm":f?"md":v?"lg":g?"xl":"xxl",S=typeof l=="number"?l:n[l],w=s.value<S;o.xs=u,o.sm=d,o.md=f,o.lg=v,o.xl=g,o.xxl=m,o.smAndUp=!u,o.mdAndUp=!(u||d),o.lgAndUp=!(u||d||f),o.xlAndUp=!(u||d||f||v),o.smAndDown=!(f||v||g||m),o.mdAndDown=!(v||g||m),o.lgAndDown=!(g||m),o.xlAndDown=!m,o.name=k,o.height=a.value,o.width=s.value,o.mobile=w,o.mobileBreakpoint=l,o.platform=i.value,o.thresholds=n}),Le&&(window.addEventListener("resize",r,{passive:!0}),Je(()=>{window.removeEventListener("resize",r)},!0)),{...Jo(o),update:c,ssr:!!t}}const lf=z({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function Pi(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mobile:null},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();const n=Me(Lo);if(!n)throw new Error("Could not find Vuetify display injection");const l=T(()=>e.mobile?!0:typeof e.mobileBreakpoint=="number"?n.width.value<e.mobileBreakpoint:e.mobileBreakpoint?n.width.value<n.thresholds.value[e.mobileBreakpoint]:e.mobile===null?n.mobile.value:!1);return{...n,displayClasses:M(()=>t?{[`${t}--mobile`]:l.value}:{}),mobile:l}}const af=Symbol.for("vuetify:goto");function of(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:Uh}}function ap(e){return Cs(e)??(document.scrollingElement||document.body)}function Cs(e){return typeof e=="string"?document.querySelector(e):cd(e)}function to(e,t,n){if(typeof e=="number")return t&&n?-e:e;let l=Cs(e),a=0;for(;l;)a+=t?l.offsetLeft:l.offsetTop,l=l.offsetParent;return a}function ip(e,t){return{rtl:t.isRtl,options:rt(of(),e)}}async function uu(e,t,n,l){const a=n?"scrollLeft":"scrollTop",i=rt(l?.options??of(),t),o=l?.rtl.value,s=(typeof e=="number"?e:Cs(e))??0,r=i.container==="parent"&&s instanceof HTMLElement?s.parentElement:ap(i.container),c=_l()?i.patterns.instant:typeof i.easing=="function"?i.easing:i.patterns[i.easing];if(!c)throw new TypeError(`Easing function "${i.easing}" not found.`);let u;if(typeof s=="number")u=to(s,n,o);else if(u=to(s,n,o)-to(r,n,o),i.layout){const g=window.getComputedStyle(s).getPropertyValue("--v-layout-top");g&&(u-=parseInt(g,10))}u+=i.offset,u=sp(r,u,!!o,!!n);const d=r[a]??0;if(u===d)return Promise.resolve(u);const f=performance.now();return new Promise(v=>requestAnimationFrame(function g(m){const S=(m-f)/i.duration,w=Math.floor(d+(u-d)*c(At(S,0,1)));if(r[a]=w,S>=1&&Math.abs(w-r[a])<10)return v(u);if(S>2)return v(r[a]);requestAnimationFrame(g)}))}function op(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=Me(af),{isRtl:n}=Rt();if(!t)throw new Error("[Vuetify] Could not find injected goto instance");const l={...t,rtl:M(()=>t.rtl.value||n.value)};async function a(i,o){return uu(i,rt(e,o),!1,l)}return a.horizontal=async(i,o)=>uu(i,rt(e,o),!0,l),a}function sp(e,t,n,l){const{scrollWidth:a,scrollHeight:i}=e,[o,s]=e===document.scrollingElement?[window.innerWidth,window.innerHeight]:[e.offsetWidth,e.offsetHeight];let r,c;return l?n?(r=-(a-o),c=0):(r=0,c=a-o):(r=0,c=i+-s),At(t,r,c)}function rp(e){let{selectedElement:t,containerElement:n,isRtl:l,isHorizontal:a}=e;const i=fa(a,n),o=sf(a,l,n),s=fa(a,t),r=rf(a,t),c=s*.4;return o>r?r-c:o+i<r+s?r-i+s+c:o}function up(e){let{selectedElement:t,containerElement:n,isHorizontal:l}=e;const a=fa(l,n),i=rf(l,t),o=fa(l,t);return i-a/2+o/2}function cu(e,t){return t?.[e?"scrollWidth":"scrollHeight"]||0}function cp(e,t){return t?.[e?"clientWidth":"clientHeight"]||0}function sf(e,t,n){if(!n)return 0;const{scrollLeft:l,offsetWidth:a,scrollWidth:i}=n;return e?t?i-a+l:l:n.scrollTop}function fa(e,t){return t?.[e?"offsetWidth":"offsetHeight"]||0}function rf(e,t){return t?.[e?"offsetLeft":"offsetTop"]||0}const uf=Symbol.for("vuetify:v-slide-group"),cf=z({centerActive:Boolean,scrollToActive:{type:Boolean,default:!0},contentClass:null,direction:{type:String,default:"horizontal"},symbol:{type:null,default:uf},nextIcon:{type:Ve,default:"$next"},prevIcon:{type:Ve,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["always","desktop","mobile","never"].includes(e)},...Ce(),...lf({mobile:null}),...De(),...hs({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),du=re()({name:"VSlideGroup",props:cf(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isRtl:l}=Rt(),{displayClasses:a,mobile:i}=Pi(e),o=ys(e,e.symbol),s=ae(!1),r=ae(0),c=ae(0),u=ae(0),d=T(()=>e.direction==="horizontal"),{resizeRef:f,contentRect:v}=rl(),{resizeRef:g,contentRect:m}=rl(),k=op(),S=T(()=>({container:f.el,duration:200,easing:"easeOutQuart"})),w=T(()=>o.selected.value.length?o.items.value.findIndex(R=>R.id===o.selected.value[0]):-1),b=T(()=>o.selected.value.length?o.items.value.findIndex(R=>R.id===o.selected.value[o.selected.value.length-1]):-1);if(Le){let R=-1;oe(()=>[o.selected.value,v.value,m.value,d.value],()=>{cancelAnimationFrame(R),R=requestAnimationFrame(()=>{if(v.value&&m.value){const Y=d.value?"width":"height";c.value=v.value[Y],u.value=m.value[Y],s.value=c.value+1<u.value}if(e.scrollToActive&&w.value>=0&&g.el){const Y=g.el.children[b.value];E(Y,e.centerActive)}})})}const C=ae(!1);function E(R,Y){let ge=0;Y?ge=up({containerElement:f.el,isHorizontal:d.value,selectedElement:R}):ge=rp({containerElement:f.el,isHorizontal:d.value,isRtl:l.value,selectedElement:R}),A(ge)}function A(R){if(!Le||!f.el)return;const Y=fa(d.value,f.el),ge=sf(d.value,l.value,f.el);if(!(cu(d.value,f.el)<=Y||Math.abs(R-ge)<16)){if(d.value&&l.value&&f.el){const{scrollWidth:_e,offsetWidth:q}=f.el;R=_e-q-R}d.value?k.horizontal(R,S.value):k(R,S.value)}}function V(R){const{scrollTop:Y,scrollLeft:ge}=R.target;r.value=d.value?ge:Y}function p(R){if(C.value=!0,!(!s.value||!g.el)){for(const Y of R.composedPath())for(const ge of g.el.children)if(ge===Y){E(ge);return}}}function _(R){C.value=!1}let L=!1;function F(R){!L&&!C.value&&!(R.relatedTarget&&g.el?.contains(R.relatedTarget))&&G(),L=!1}function O(){L=!0}function $(R){if(!g.el)return;function Y(ge){R.preventDefault(),G(ge)}d.value?R.key==="ArrowRight"?Y(l.value?"prev":"next"):R.key==="ArrowLeft"&&Y(l.value?"next":"prev"):R.key==="ArrowDown"?Y("next"):R.key==="ArrowUp"&&Y("prev"),R.key==="Home"?Y("first"):R.key==="End"&&Y("last")}function H(R,Y){if(!R)return;let ge=R;do ge=ge?.[Y==="next"?"nextElementSibling":"previousElementSibling"];while(ge?.hasAttribute("disabled"));return ge}function G(R){if(!g.el)return;let Y;if(!R)Y=nl(g.el)[0];else if(R==="next"){if(Y=H(g.el.querySelector(":focus"),R),!Y)return G("first")}else if(R==="prev"){if(Y=H(g.el.querySelector(":focus"),R),!Y)return G("last")}else R==="first"?(Y=g.el.firstElementChild,Y?.hasAttribute("disabled")&&(Y=H(Y,"next"))):R==="last"&&(Y=g.el.lastElementChild,Y?.hasAttribute("disabled")&&(Y=H(Y,"prev")));Y&&Y.focus({preventScroll:!0})}function te(R){const Y=d.value&&l.value?-1:1,ge=(R==="prev"?-Y:Y)*c.value;let J=r.value+ge;if(d.value&&l.value&&f.el){const{scrollWidth:_e,offsetWidth:q}=f.el;J+=_e-q}A(J)}const Q=T(()=>({next:o.next,prev:o.prev,select:o.select,isSelected:o.isSelected})),ee=T(()=>s.value||Math.abs(r.value)>0),pe=T(()=>{switch(e.showArrows){case"never":return!1;case"always":return!0;case"desktop":return!i.value;case!0:return ee.value;case"mobile":return i.value||ee.value;default:return!i.value&&ee.value}}),j=T(()=>Math.abs(r.value)>1),ie=T(()=>{if(!f.value||!ee.value)return!1;const R=cu(d.value,f.el),Y=cp(d.value,f.el);return R-Y-Math.abs(r.value)>1});return we(()=>y(e.tag,{class:ue(["v-slide-group",{"v-slide-group--vertical":!d.value,"v-slide-group--has-affixes":pe.value,"v-slide-group--is-overflowing":s.value},a.value,e.class]),style:xe(e.style),tabindex:C.value||o.selected.value.length?-1:0,onFocus:F},{default:()=>[pe.value&&I("div",{key:"prev",class:ue(["v-slide-group__prev",{"v-slide-group__prev--disabled":!j.value}]),onMousedown:O,onClick:()=>j.value&&te("prev")},[n.prev?.(Q.value)??y(au,null,{default:()=>[y(Ne,{icon:l.value?e.nextIcon:e.prevIcon},null)]})]),I("div",{key:"container",ref:f,class:ue(["v-slide-group__container",e.contentClass]),onScroll:V},[I("div",{ref:g,class:"v-slide-group__content",onFocusin:p,onFocusout:_,onKeydown:$},[n.default?.(Q.value)])]),pe.value&&I("div",{key:"next",class:ue(["v-slide-group__next",{"v-slide-group__next--disabled":!ie.value}]),onMousedown:O,onClick:()=>ie.value&&te("next")},[n.next?.(Q.value)??y(au,null,{default:()=>[y(Ne,{icon:l.value?e.prevIcon:e.nextIcon},null)]})])]})),{selected:o.selected,scrollTo:te,scrollOffset:r,focus:G,hasPrev:j,hasNext:ie}}}),df=Symbol.for("vuetify:v-chip-group"),dp=z({baseColor:String,column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Ot},...cf({scrollToActive:!1}),...Ce(),...hs({selectedClass:"v-chip--selected"}),...De(),...Ye(),...Pn({variant:"tonal"})},"VChipGroup");re()({name:"VChipGroup",props:dp(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:l}=tt(e),{isSelected:a,select:i,next:o,prev:s,selected:r}=ys(e,df);return jn({VChip:{baseColor:M(()=>e.baseColor),color:M(()=>e.color),disabled:M(()=>e.disabled),filter:M(()=>e.filter),variant:M(()=>e.variant)}}),we(()=>{const c=du.filterProps(e);return y(du,ce(c,{class:["v-chip-group",{"v-chip-group--column":e.column},l.value,e.class],style:e.style}),{default:()=>[n.default?.({isSelected:a,select:i,next:o,prev:s,selected:r.value})]})}),{}}});const fp=z({activeClass:String,appendAvatar:String,appendIcon:Ve,baseColor:String,closable:Boolean,closeIcon:{type:Ve,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:Ve,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:Ve,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},modelValue:{type:Boolean,default:!0},onClick:gt(),onClickOnce:gt(),...dn(),...Ce(),...Gt(),...mn(),...Td(),...pt(),...Ei(),...Sa(),...De({tag:"span"}),...Ye(),...Pn({variant:"tonal"})},"VChip"),Zn=re()({name:"VChip",directives:{vRipple:In},props:fp(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,t){let{attrs:n,emit:l,slots:a}=t;const{t:i}=ki(),{borderClasses:o}=fn(e),{densityClasses:s}=vn(e),{elevationClasses:r}=gn(e),{roundedClasses:c}=bt(e),{sizeClasses:u}=wa(e),{themeClasses:d}=tt(e),f=qe(e,"modelValue"),v=Eo(e,df,!1),g=Eo(e,uf,!1),m=Vi(e,n),k=M(()=>e.link!==!1&&m.isLink.value),S=T(()=>!e.disabled&&e.link!==!1&&(!!v||e.link||m.isClickable.value)),w=M(()=>({"aria-label":i(e.closeLabel),disabled:e.disabled,onClick(p){p.preventDefault(),p.stopPropagation(),f.value=!1,l("click:close",p)}}));oe(f,p=>{p?(v?.register(),g?.register()):(v?.unregister(),g?.unregister())});const{colorClasses:b,colorStyles:C,variantClasses:E}=Dl(()=>({color:!v||v.isSelected.value?e.color??e.baseColor:e.baseColor,variant:e.variant}));function A(p){l("click",p),S.value&&(m.navigate?.(p),v?.toggle())}function V(p){(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),A(p))}return()=>{const p=m.isLink.value?"a":e.tag,_=!!(e.appendIcon||e.appendAvatar),L=!!(_||a.append),F=!!(a.close||e.closable),O=!!(a.filter||e.filter)&&v,$=!!(e.prependIcon||e.prependAvatar),H=!!($||a.prepend);return f.value&&It(y(p,ce(m.linkProps,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":S.value,"v-chip--filter":O,"v-chip--pill":e.pill,[`${e.activeClass}`]:e.activeClass&&m.isActive?.value},d.value,o.value,b.value,s.value,r.value,c.value,u.value,E.value,v?.selectedClass.value,e.class],style:[C.value,e.style],disabled:e.disabled||void 0,draggable:e.draggable,tabindex:S.value?0:void 0,onClick:A,onKeydown:S.value&&!k.value&&V}),{default:()=>[Ll(S.value,"v-chip"),O&&y(nf,{key:"filter"},{default:()=>[It(I("div",{class:"v-chip__filter"},[a.filter?y(ze,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},a.filter):y(Ne,{key:"filter-icon",icon:e.filterIcon},null)]),[[Ol,v.isSelected.value]])]}),H&&I("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?y(ze,{key:"prepend-defaults",disabled:!$,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},a.prepend):I(Se,null,[e.prependIcon&&y(Ne,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&y(ul,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),I("div",{class:"v-chip__content","data-no-activator":""},[a.default?.({isSelected:v?.isSelected.value,selectedClass:v?.selectedClass.value,select:v?.select,toggle:v?.toggle,value:v?.value.value,disabled:e.disabled})??Re(e.text)]),L&&I("div",{key:"append",class:"v-chip__append"},[a.append?y(ze,{key:"append-defaults",disabled:!_,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},a.append):I(Se,null,[e.appendIcon&&y(Ne,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&y(ul,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),F&&I("button",ce({key:"close",class:"v-chip__close",type:"button","data-testid":"close-chip"},w.value),[a.close?y(ze,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},a.close):y(Ne,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}),[[In,S.value&&e.ripple,null]])}}}),vp=z({fluid:{type:Boolean,default:!1},...Ce(),...Ft(),...De()},"VContainer"),Vl=re()({name:"VContainer",props:vp(),setup(e,t){let{slots:n}=t;const{rtlClasses:l}=Rt(),{dimensionStyles:a}=Bt(e);return we(()=>y(e.tag,{class:ue(["v-container",{"v-container--fluid":e.fluid},l.value,e.class]),style:xe([a.value,e.style])},n)),{}}}),ff=Ti.reduce((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e),{}),vf=Ti.reduce((e,t)=>{const n="offset"+En(t);return e[n]={type:[String,Number],default:null},e},{}),mf=Ti.reduce((e,t)=>{const n="order"+En(t);return e[n]={type:[String,Number],default:null},e},{}),fu={col:Object.keys(ff),offset:Object.keys(vf),order:Object.keys(mf)};function mp(e,t,n){let l=e;if(!(n==null||n===!1)){if(t){const a=t.replace(e,"");l+=`-${a}`}return e==="col"&&(l="v-"+l),e==="col"&&(n===""||n===!0)||(l+=`-${n}`),l.toLowerCase()}}const gp=["auto","start","end","center","baseline","stretch"],hp=z({cols:{type:[Boolean,String,Number],default:!1},...ff,offset:{type:[String,Number],default:null},...vf,order:{type:[String,Number],default:null},...mf,alignSelf:{type:String,default:null,validator:e=>gp.includes(e)},...Ce(),...De()},"VCol"),gf=re()({name:"VCol",props:hp(),setup(e,t){let{slots:n}=t;const l=T(()=>{const a=[];let i;for(i in fu)fu[i].forEach(s=>{const r=e[s],c=mp(i,s,r);c&&a.push(c)});const o=a.some(s=>s.startsWith("v-col-"));return a.push({"v-col":!o||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),a});return()=>Wn(e.tag,{class:[l.value,e.class],style:e.style},n.default?.())}}),xs=["start","end","center"],hf=["space-between","space-around","space-evenly"];function _s(e,t){return Ti.reduce((n,l)=>{const a=e+En(l);return n[a]=t(),n},{})}const yp=[...xs,"baseline","stretch"],yf=e=>yp.includes(e),pf=_s("align",()=>({type:String,default:null,validator:yf})),pp=[...xs,...hf],bf=e=>pp.includes(e),Sf=_s("justify",()=>({type:String,default:null,validator:bf})),bp=[...xs,...hf,"stretch"],wf=e=>bp.includes(e),Cf=_s("alignContent",()=>({type:String,default:null,validator:wf})),vu={align:Object.keys(pf),justify:Object.keys(Sf),alignContent:Object.keys(Cf)},Sp={align:"align",justify:"justify",alignContent:"align-content"};function wp(e,t,n){let l=Sp[e];if(n!=null){if(t){const a=t.replace(e,"");l+=`-${a}`}return l+=`-${n}`,l.toLowerCase()}}const Cp=z({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:yf},...pf,justify:{type:String,default:null,validator:bf},...Sf,alignContent:{type:String,default:null,validator:wf},...Cf,...Ce(),...De()},"VRow"),xf=re()({name:"VRow",props:Cp(),setup(e,t){let{slots:n}=t;const l=T(()=>{const a=[];let i;for(i in vu)vu[i].forEach(o=>{const s=e[o],r=wp(i,o,s);r&&a.push(r)});return a.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),a});return()=>Wn(e.tag,{class:["v-row",l.value,e.class],style:e.style},n.default?.())}}),Do=xi("v-spacer","div","VSpacer"),xp=z({text:String,onClick:gt(),...Ce(),...Ye()},"VLabel"),_f=re()({name:"VLabel",props:xp(),setup(e,t){let{slots:n}=t;return we(()=>I("label",{class:ue(["v-label",{"v-label--clickable":!!e.onClick},e.class]),style:xe(e.style),onClick:e.onClick},[e.text,n.default?.()])),{}}}),kf=Symbol.for("vuetify:selection-control-group"),Af=z({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:Ve,trueIcon:Ve,ripple:{type:[Boolean,Object],default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:Ot},...Ce(),...Gt(),...Ye()},"SelectionControlGroup"),_p=z({...Af({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");re()({name:"VSelectionControlGroup",props:_p(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const l=qe(e,"modelValue"),a=rn(),i=M(()=>e.id||`v-selection-control-group-${a}`),o=M(()=>e.name||i.value),s=new Set;return ft(kf,{modelValue:l,forceUpdate:()=>{s.forEach(r=>r())},onForceUpdate:r=>{s.add(r),Je(()=>{s.delete(r)})}}),jn({[e.defaultsTarget]:{color:M(()=>e.color),disabled:M(()=>e.disabled),density:M(()=>e.density),error:M(()=>e.error),inline:M(()=>e.inline),modelValue:l,multiple:M(()=>!!e.multiple||e.multiple==null&&Array.isArray(l.value)),name:o,falseIcon:M(()=>e.falseIcon),trueIcon:M(()=>e.trueIcon),readonly:M(()=>e.readonly),ripple:M(()=>e.ripple),type:M(()=>e.type),valueComparator:M(()=>e.valueComparator)}}),we(()=>I("div",{class:ue(["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class]),style:xe(e.style),role:e.type==="radio"?"radiogroup":void 0},[n.default?.()])),{}}});const If=z({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...Ce(),...Af()},"VSelectionControl");function kp(e){const t=Me(kf,void 0),{densityClasses:n}=vn(e),l=qe(e,"modelValue"),a=T(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),i=T(()=>e.falseValue!==void 0?e.falseValue:!1),o=T(()=>!!e.multiple||e.multiple==null&&Array.isArray(l.value)),s=T({get(){const v=t?t.modelValue.value:l.value;return o.value?zt(v).some(g=>e.valueComparator(g,a.value)):e.valueComparator(v,a.value)},set(v){if(e.readonly)return;const g=v?a.value:i.value;let m=g;o.value&&(m=v?[...zt(l.value),g]:zt(l.value).filter(k=>!e.valueComparator(k,a.value))),t?t.modelValue.value=m:l.value=m}}),{textColorClasses:r,textColorStyles:c}=sn(()=>{if(!(e.error||e.disabled))return s.value?e.color:e.baseColor}),{backgroundColorClasses:u,backgroundColorStyles:d}=Mt(()=>s.value&&!e.error&&!e.disabled?e.color:e.baseColor),f=T(()=>s.value?e.trueIcon:e.falseIcon);return{group:t,densityClasses:n,trueValue:a,falseValue:i,model:s,textColorClasses:r,textColorStyles:c,backgroundColorClasses:u,backgroundColorStyles:d,icon:f}}const mu=re()({name:"VSelectionControl",directives:{vRipple:In},inheritAttrs:!1,props:If(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:l}=t;const{group:a,densityClasses:i,icon:o,model:s,textColorClasses:r,textColorStyles:c,backgroundColorClasses:u,backgroundColorStyles:d,trueValue:f}=kp(e),v=rn(),g=ae(!1),m=ae(!1),k=Z(),S=M(()=>e.id||`input-${v}`),w=M(()=>!e.disabled&&!e.readonly);a?.onForceUpdate(()=>{k.value&&(k.value.checked=s.value)});function b(V){w.value&&(g.value=!0,Xa(V.target,":focus-visible")!==!1&&(m.value=!0))}function C(){g.value=!1,m.value=!1}function E(V){V.stopPropagation()}function A(V){if(!w.value){k.value&&(k.value.checked=s.value);return}e.readonly&&a&&Ue(()=>a.forceUpdate()),s.value=V.target.checked}return we(()=>{const V=l.label?l.label({label:e.label,props:{for:S.value}}):e.label,[p,_]=vd(n),L=I("input",ce({ref:k,checked:s.value,disabled:!!e.disabled,id:S.value,onBlur:C,onFocus:b,onInput:A,"aria-disabled":!!e.disabled,"aria-label":e.label,type:e.type,value:f.value,name:e.name,"aria-checked":e.type==="checkbox"?s.value:void 0},_),null);return I("div",ce({class:["v-selection-control",{"v-selection-control--dirty":s.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":m.value,"v-selection-control--inline":e.inline},i.value,e.class]},p,{style:e.style}),[I("div",{class:ue(["v-selection-control__wrapper",r.value]),style:xe(c.value)},[l.default?.({backgroundColorClasses:u,backgroundColorStyles:d}),It(I("div",{class:ue(["v-selection-control__input"])},[l.input?.({model:s,textColorClasses:r,textColorStyles:c,backgroundColorClasses:u,backgroundColorStyles:d,inputNode:L,icon:o.value,props:{onFocus:b,onBlur:C,id:S.value}})??I(Se,null,[o.value&&y(Ne,{key:"icon",icon:o.value},null),L])]),[[In,!e.disabled&&!e.readonly&&e.ripple,null,{center:!0,circle:!0}]])]),V&&y(_f,{for:S.value,onClick:E},{default:()=>[V]})])}),{isFocused:g,input:k}}}),Ap=z({indeterminate:Boolean,indeterminateIcon:{type:Ve,default:"$checkboxIndeterminate"},...If({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),Ip=re()({name:"VCheckboxBtn",props:Ap(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,t){let{slots:n}=t;const l=qe(e,"indeterminate"),a=qe(e,"modelValue");function i(r){l.value&&(l.value=!1)}const o=M(()=>l.value?e.indeterminateIcon:e.falseIcon),s=M(()=>l.value?e.indeterminateIcon:e.trueIcon);return we(()=>{const r=$t(mu.filterProps(e),["modelValue"]);return y(mu,ce(r,{modelValue:a.value,"onUpdate:modelValue":[c=>a.value=c,i],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:o.value,trueIcon:s.value,"aria-checked":l.value?"mixed":void 0}),n)}),{}}});function ks(e){const{t}=ki();function n(l){let{name:a,color:i,...o}=l;const s={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[a],r=e[`onClick:${a}`];function c(d){d.key!=="Enter"&&d.key!==" "||(d.preventDefault(),d.stopPropagation(),yd(r,new PointerEvent("click",d)))}const u=r&&s?t(`$vuetify.input.${s}`,e.label??""):void 0;return y(Ne,ce({icon:e[`${a}Icon`],"aria-label":u,onClick:r,onKeydown:c,color:i},o),null)}return{InputIcon:n}}const Vp=z({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Ce(),..._a({transition:{component:ef,leaveAbsolute:!0,group:!0}})},"VMessages"),Ep=re()({name:"VMessages",props:Vp(),setup(e,t){let{slots:n}=t;const l=T(()=>zt(e.messages)),{textColorClasses:a,textColorStyles:i}=sn(()=>e.color);return we(()=>y(Bn,{transition:e.transition,tag:"div",class:ue(["v-messages",a.value,e.class]),style:xe([i.value,e.style])},{default:()=>[e.active&&l.value.map((o,s)=>I("div",{class:"v-messages__message",key:`${s}-${l.value}`},[n.message?n.message({message:o}):o]))]})),{}}}),Vf=z({focused:Boolean,"onUpdate:focused":gt()},"focus");function Ef(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();const n=qe(e,"focused"),l=M(()=>({[`${t}--focused`]:n.value}));function a(){n.value=!0}function i(){n.value=!1}return{focusClasses:l,isFocused:n,focus:a,blur:i}}const Tp=Symbol.for("vuetify:form");function Tf(e){const t=Me(Tp,null);return{...t,isReadonly:T(()=>!!(e?.readonly??t?.isReadonly.value)),isDisabled:T(()=>!!(e?.disabled??t?.isDisabled.value))}}const Pp=Symbol.for("vuetify:rules");function Op(e){const t=Me(Pp,null);if(!e){if(!t)throw new Error("Could not find Vuetify rules injection");return t.aliases}return t?.resolve(e)??M(e)}const Mp=z({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...Vf()},"validation");function Lp(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn(),n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:rn();const l=qe(e,"modelValue"),a=T(()=>e.validationValue===void 0?l.value:e.validationValue),i=Tf(e),o=Op(()=>e.rules),s=Z([]),r=ae(!0),c=T(()=>!!(zt(l.value===""?null:l.value).length||zt(a.value===""?null:a.value).length)),u=T(()=>e.errorMessages?.length?zt(e.errorMessages).concat(s.value).slice(0,Math.max(0,Number(e.maxErrors))):s.value),d=T(()=>{let C=(e.validateOn??i.validateOn?.value)||"input";C==="lazy"&&(C="input lazy"),C==="eager"&&(C="input eager");const E=new Set(C?.split(" ")??[]);return{input:E.has("input"),blur:E.has("blur")||E.has("input")||E.has("invalid-input"),invalidInput:E.has("invalid-input"),lazy:E.has("lazy"),eager:E.has("eager")}}),f=T(()=>e.error||e.errorMessages?.length?!1:e.rules.length?r.value?s.value.length||d.value.lazy?null:!0:!s.value.length:!0),v=ae(!1),g=T(()=>({[`${t}--error`]:f.value===!1,[`${t}--dirty`]:c.value,[`${t}--disabled`]:i.isDisabled.value,[`${t}--readonly`]:i.isReadonly.value})),m=Xe("validation"),k=T(()=>e.name??Ae(n));ya(()=>{i.register?.({id:k.value,vm:m,validate:b,reset:S,resetValidation:w})}),yt(()=>{i.unregister?.(k.value)}),Dt(async()=>{d.value.lazy||await b(!d.value.eager),i.update?.(k.value,f.value,u.value)}),Lt(()=>d.value.input||d.value.invalidInput&&f.value===!1,()=>{oe(a,()=>{if(a.value!=null)b();else if(e.focused){const C=oe(()=>e.focused,E=>{E||b(),C()})}})}),Lt(()=>d.value.blur,()=>{oe(()=>e.focused,C=>{C||b()})}),oe([f,u],()=>{i.update?.(k.value,f.value,u.value)});async function S(){l.value=null,await Ue(),await w()}async function w(){r.value=!0,d.value.lazy?s.value=[]:await b(!d.value.eager)}async function b(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const E=[];v.value=!0;for(const A of o.value){if(E.length>=Number(e.maxErrors??1))break;const p=await(typeof A=="function"?A:()=>A)(a.value);if(p!==!0){if(p!==!1&&typeof p!="string"){console.warn(`${p} is not a valid value. Rule functions must return boolean true or a string.`);continue}E.push(p||"")}}return s.value=E,v.value=!1,r.value=C,s.value}return{errorMessages:u,isDirty:c,isDisabled:i.isDisabled,isReadonly:i.isReadonly,isPristine:r,isValid:f,isValidating:v,reset:S,resetValidation:w,validate:b,validationClasses:g}}const Pf=z({id:String,appendIcon:Ve,baseColor:String,centerAffix:{type:Boolean,default:!0},color:String,glow:Boolean,iconColor:[Boolean,String],prependIcon:Ve,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":gt(),"onClick:append":gt(),...Ce(),...Gt(),...Ci(Ft(),["maxWidth","minWidth","width"]),...Ye(),...Mp()},"VInput"),gu=re()({name:"VInput",props:{...Pf()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:l,emit:a}=t;const{densityClasses:i}=vn(e),{dimensionStyles:o}=Bt(e),{themeClasses:s}=tt(e),{rtlClasses:r}=Rt(),{InputIcon:c}=ks(e),u=rn(),d=T(()=>e.id||`input-${u}`),{errorMessages:f,isDirty:v,isDisabled:g,isReadonly:m,isPristine:k,isValid:S,isValidating:w,reset:b,resetValidation:C,validate:E,validationClasses:A}=Lp(e,"v-input",d),V=T(()=>e.errorMessages?.length||!k.value&&f.value.length?f.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages),p=M(()=>V.value.length>0),_=M(()=>!e.hideDetails||e.hideDetails==="auto"&&(p.value||!!l.details)),L=T(()=>_.value?`${d.value}-messages`:void 0),F=T(()=>({id:d,messagesId:L,isDirty:v,isDisabled:g,isReadonly:m,isPristine:k,isValid:S,isValidating:w,hasDetails:_,reset:b,resetValidation:C,validate:E})),O=M(()=>e.error||e.disabled?void 0:e.focused?e.color:e.baseColor),$=M(()=>{if(e.iconColor)return e.iconColor===!0?O.value:e.iconColor});return we(()=>{const H=!!(l.prepend||e.prependIcon),G=!!(l.append||e.appendIcon);return I("div",{class:ue(["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--focused":e.focused,"v-input--glow":e.glow,"v-input--hide-spin-buttons":e.hideSpinButtons},i.value,s.value,r.value,A.value,e.class]),style:xe([o.value,e.style])},[H&&I("div",{key:"prepend",class:"v-input__prepend"},[l.prepend?l.prepend(F.value):e.prependIcon&&y(c,{key:"prepend-icon",name:"prepend",color:$.value},null)]),l.default&&I("div",{class:"v-input__control"},[l.default?.(F.value)]),G&&I("div",{key:"append",class:"v-input__append"},[l.append?l.append(F.value):e.appendIcon&&y(c,{key:"append-icon",name:"append",color:$.value},null)]),_.value&&I("div",{id:L.value,class:"v-input__details",role:"alert","aria-live":"polite"},[y(Ep,{active:p.value,messages:V.value},{message:l.message}),l.details?.(F.value)])])}),{reset:b,resetValidation:C,validate:E,isValid:S,errorMessages:f}}}),no=Symbol("Forwarded refs");function lo(e,t){let n=e;for(;n;){const l=Reflect.getOwnPropertyDescriptor(n,t);if(l)return l;n=Object.getPrototypeOf(n)}}function Oi(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),l=1;l<t;l++)n[l-1]=arguments[l];return e[no]=n,new Proxy(e,{get(a,i){if(Reflect.has(a,i))return Reflect.get(a,i);if(!(typeof i=="symbol"||i.startsWith("$")||i.startsWith("__"))){for(const o of n)if(o.value&&Reflect.has(o.value,i)){const s=Reflect.get(o.value,i);return typeof s=="function"?s.bind(o.value):s}}},has(a,i){if(Reflect.has(a,i))return!0;if(typeof i=="symbol"||i.startsWith("$")||i.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,i))return!0;return!1},set(a,i,o){if(Reflect.has(a,i))return Reflect.set(a,i,o);if(typeof i=="symbol"||i.startsWith("$")||i.startsWith("__"))return!1;for(const s of n)if(s.value&&Reflect.has(s.value,i))return Reflect.set(s.value,i,o);return!1},getOwnPropertyDescriptor(a,i){const o=Reflect.getOwnPropertyDescriptor(a,i);if(o)return o;if(!(typeof i=="symbol"||i.startsWith("$")||i.startsWith("__"))){for(const s of n){if(!s.value)continue;const r=lo(s.value,i)??("_"in s.value?lo(s.value._?.setupState,i):void 0);if(r)return r}for(const s of n){const r=s.value&&s.value[no];if(!r)continue;const c=r.slice();for(;c.length;){const u=c.shift(),d=lo(u.value,i);if(d)return d;const f=u.value&&u.value[no];f&&c.push(...f)}}}}})}const Dp=["dotted","dashed","solid","double"],$p=z({color:String,contentOffset:[Number,String,Array],gradient:Boolean,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,variant:{type:String,default:"solid",validator:e=>Dp.includes(e)},...Ce(),...Ye()},"VDivider"),As=re()({name:"VDivider",props:$p(),setup(e,t){let{attrs:n,slots:l}=t;const{themeClasses:a}=tt(e),{textColorClasses:i,textColorStyles:o}=sn(()=>e.color),s=T(()=>{const c={};return e.length&&(c[e.vertical?"height":"width"]=se(e.length)),e.thickness&&(c[e.vertical?"borderRightWidth":"borderTopWidth"]=se(e.thickness)),c}),r=M(()=>{const c=Array.isArray(e.contentOffset)?e.contentOffset[0]:e.contentOffset,u=Array.isArray(e.contentOffset)?e.contentOffset[1]:0;return{marginBlock:e.vertical&&c?se(c):void 0,marginInline:!e.vertical&&c?se(c):void 0,transform:u?`translate${e.vertical?"X":"Y"}(${se(u)})`:void 0}});return we(()=>{const c=I("hr",{class:ue([{"v-divider":!0,"v-divider--gradient":e.gradient&&!l.default,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},a.value,i.value,e.class]),style:xe([s.value,o.value,{"--v-border-opacity":e.opacity},{"border-style":e.variant},e.style]),"aria-orientation":!n.role||n.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${n.role||"separator"}`},null);return l.default?I("div",{class:ue(["v-divider__wrapper",{"v-divider__wrapper--gradient":e.gradient,"v-divider__wrapper--inset":e.inset,"v-divider__wrapper--vertical":e.vertical}])},[c,I("div",{class:"v-divider__content",style:xe(r.value)},[l.default()]),c]):c}),{}}}),$o=Symbol.for("vuetify:list");function Of(){let{filterable:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{filterable:!1};const t=Me($o,{filterable:!1,hasPrepend:ae(!1),updateHasPrepend:()=>null}),n={filterable:t.filterable||e,hasPrepend:ae(!1),updateHasPrepend:l=>{l&&(n.hasPrepend.value=l)}};return ft($o,n),t}function Mf(){return Me($o,null)}const Is=e=>{const t={activate:n=>{let{id:l,value:a,activated:i}=n;return l=fe(l),e&&!a&&i.size===1&&i.has(l)||(a?i.add(l):i.delete(l)),i},in:(n,l,a)=>{let i=new Set;if(n!=null)for(const o of zt(n))i=t.activate({id:o,value:!0,activated:new Set(i),children:l,parents:a});return i},out:n=>Array.from(n)};return t},Lf=e=>{const t=Is(e);return{activate:l=>{let{activated:a,id:i,...o}=l;i=fe(i);const s=a.has(i)?new Set([i]):new Set;return t.activate({...o,id:i,activated:s})},in:(l,a,i)=>{let o=new Set;if(l!=null){const s=zt(l);s.length&&(o=t.in(s.slice(0,1),a,i))}return o},out:(l,a,i)=>t.out(l,a,i)}},Fp=e=>{const t=Is(e);return{activate:l=>{let{id:a,activated:i,children:o,...s}=l;return a=fe(a),o.has(a)?i:t.activate({id:a,activated:i,children:o,...s})},in:t.in,out:t.out}},Bp=e=>{const t=Lf(e);return{activate:l=>{let{id:a,activated:i,children:o,...s}=l;return a=fe(a),o.has(a)?i:t.activate({id:a,activated:i,children:o,...s})},in:t.in,out:t.out}},Rp={open:e=>{let{id:t,value:n,opened:l,parents:a}=e;if(n){const i=new Set;i.add(t);let o=a.get(t);for(;o!=null;)i.add(o),o=a.get(o);return i}else return l.delete(t),l},select:()=>null},Df={open:e=>{let{id:t,value:n,opened:l,parents:a}=e;if(n){let i=a.get(t);for(l.add(t);i!=null&&i!==t;)l.add(i),i=a.get(i);return l}else l.delete(t);return l},select:()=>null},Np={open:Df.open,select:e=>{let{id:t,value:n,opened:l,parents:a}=e;if(!n)return l;const i=[];let o=a.get(t);for(;o!=null;)i.push(o),o=a.get(o);return new Set(i)}},Vs=e=>{const t={select:n=>{let{id:l,value:a,selected:i}=n;if(l=fe(l),e&&!a){const o=Array.from(i.entries()).reduce((s,r)=>{let[c,u]=r;return u==="on"&&s.push(c),s},[]);if(o.length===1&&o[0]===l)return i}return i.set(l,a?"on":"off"),i},in:(n,l,a,i)=>{const o=new Map;for(const s of n||[])t.select({id:s,value:!0,selected:o,children:l,parents:a,disabled:i});return o},out:n=>{const l=[];for(const[a,i]of n.entries())i==="on"&&l.push(a);return l}};return t},$f=e=>{const t=Vs(e);return{select:l=>{let{selected:a,id:i,...o}=l;i=fe(i);const s=a.has(i)?new Map([[i,a.get(i)]]):new Map;return t.select({...o,id:i,selected:s})},in:(l,a,i,o)=>l?.length?t.in(l.slice(0,1),a,i,o):new Map,out:(l,a,i)=>t.out(l,a,i)}},Hp=e=>{const t=Vs(e);return{select:l=>{let{id:a,selected:i,children:o,...s}=l;return a=fe(a),o.has(a)?i:t.select({id:a,selected:i,children:o,...s})},in:t.in,out:t.out}},Wp=e=>{const t=$f(e);return{select:l=>{let{id:a,selected:i,children:o,...s}=l;return a=fe(a),o.has(a)?i:t.select({id:a,selected:i,children:o,...s})},in:t.in,out:t.out}},Ff=e=>{const t={select:n=>{let{id:l,value:a,selected:i,children:o,parents:s,disabled:r}=n;l=fe(l);const c=new Map(i),u=[l];for(;u.length;){const f=u.shift();r.has(f)||i.set(fe(f),a?"on":"off"),o.has(f)&&u.push(...o.get(f))}let d=fe(s.get(l));for(;d;){let f=!0,v=!0;for(const g of o.get(d)){const m=fe(g);if(!r.has(m)&&(i.get(m)!=="on"&&(f=!1),i.has(m)&&i.get(m)!=="off"&&(v=!1),!f&&!v))break}i.set(d,f?"on":v?"off":"indeterminate"),d=fe(s.get(d))}return e&&!a&&Array.from(i.entries()).reduce((v,g)=>{let[m,k]=g;return k==="on"&&v.push(m),v},[]).length===0?c:i},in:(n,l,a)=>{let i=new Map;for(const o of n||[])i=t.select({id:o,value:!0,selected:i,children:l,parents:a,disabled:new Set});return i},out:(n,l)=>{const a=[];for(const[i,o]of n.entries())o==="on"&&!l.has(i)&&a.push(i);return a}};return t},jp=e=>{const t=Ff(e);return{select:t.select,in:t.in,out:(l,a,i)=>{const o=[];for(const[s,r]of l.entries())if(r==="on"){if(i.has(s)){const c=i.get(s);if(l.get(c)==="on")continue}o.push(s)}return o}}},El=Symbol.for("vuetify:nested"),Bf={id:ae(),root:{itemsRegistration:Z("render"),register:()=>null,unregister:()=>null,updateDisabled:()=>null,children:Z(new Map),parents:Z(new Map),disabled:Z(new Set),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:Z(!1),selectable:Z(!1),opened:Z(new Set),activated:Z(new Set),selected:Z(new Map),selectedValues:Z([]),getPath:()=>[]}},zp=z({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function,Object],selectStrategy:[String,Function,Object],openStrategy:[String,Object],opened:null,activated:null,selected:null,mandatory:Boolean,itemsRegistration:{type:String,default:"render"}},"nested"),Up=(e,t,n)=>{let l=!1;const a=ae(new Map),i=ae(new Map),o=ae(new Set),s=qe(e,"opened",e.opened,b=>new Set(Array.isArray(b)?b.map(C=>fe(C)):b),b=>[...b.values()]),r=T(()=>{if(typeof e.activeStrategy=="object")return e.activeStrategy;if(typeof e.activeStrategy=="function")return e.activeStrategy(e.mandatory);switch(e.activeStrategy){case"leaf":return Fp(e.mandatory);case"single-leaf":return Bp(e.mandatory);case"independent":return Is(e.mandatory);default:return Lf(e.mandatory)}}),c=T(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;if(typeof e.selectStrategy=="function")return e.selectStrategy(e.mandatory);switch(e.selectStrategy){case"single-leaf":return Wp(e.mandatory);case"leaf":return Hp(e.mandatory);case"independent":return Vs(e.mandatory);case"single-independent":return $f(e.mandatory);case"trunk":return jp(e.mandatory);default:return Ff(e.mandatory)}}),u=T(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return Np;case"single":return Rp;default:return Df}}),d=qe(e,"activated",e.activated,b=>r.value.in(b,a.value,i.value),b=>r.value.out(b,a.value,i.value)),f=qe(e,"selected",e.selected,b=>c.value.in(b,a.value,i.value,o.value),b=>c.value.out(b,a.value,i.value));yt(()=>{l=!0});function v(b){const C=[];let E=fe(b);for(;E!==void 0;)C.unshift(E),E=i.value.get(E);return C}const g=Xe("nested"),m=new Set,k=Yh(()=>{Ue(()=>{a.value=new Map(a.value),i.value=new Map(i.value)})},100);oe(()=>[t.value,nt(n)],()=>{e.itemsRegistration==="props"&&S()},{immediate:!0});function S(){const b=new Map,C=new Map,E=new Set,A=nt(n)?_=>fe(_.raw):_=>_.value,V=[...t.value];let p=0;for(;p<V.length;){const _=V[p++],L=A(_);if(_.children){const F=[];for(const O of _.children){const $=A(O);b.set($,L),F.push($),V.push(O)}C.set(L,F)}_.props.disabled&&E.add(L)}a.value=C,i.value=b,o.value=E}const w={id:ae(),root:{opened:s,activatable:M(()=>e.activatable),selectable:M(()=>e.selectable),activated:d,selected:f,selectedValues:T(()=>{const b=[];for(const[C,E]of f.value.entries())E==="on"&&b.push(C);return b}),itemsRegistration:M(()=>e.itemsRegistration),register:(b,C,E,A)=>{if(m.has(b)){v(b).map(String).join(" -> "),v(C).concat(b).map(String).join(" -> ");return}else m.add(b);C&&b!==C&&i.value.set(b,C),E&&o.value.add(b),A&&a.value.set(b,[]),C!=null&&a.value.set(C,[...a.value.get(C)||[],b]),k()},unregister:b=>{if(l)return;m.delete(b),a.value.delete(b),o.value.delete(b);const C=i.value.get(b);if(C){const E=a.value.get(C)??[];a.value.set(C,E.filter(A=>A!==b))}i.value.delete(b),k()},updateDisabled:(b,C)=>{C?o.value.add(b):o.value.delete(b)},open:(b,C,E)=>{g.emit("click:open",{id:b,value:C,path:v(b),event:E});const A=u.value.open({id:b,value:C,opened:new Set(s.value),children:a.value,parents:i.value,event:E});A&&(s.value=A)},openOnSelect:(b,C,E)=>{const A=u.value.select({id:b,value:C,selected:new Map(f.value),opened:new Set(s.value),children:a.value,parents:i.value,event:E});A&&(s.value=A)},select:(b,C,E)=>{g.emit("click:select",{id:b,value:C,path:v(b),event:E});const A=c.value.select({id:b,value:C,selected:new Map(f.value),children:a.value,parents:i.value,disabled:o.value,event:E});A&&(f.value=A),w.root.openOnSelect(b,C,E)},activate:(b,C,E)=>{if(!e.activatable)return w.root.select(b,!0,E);g.emit("click:activate",{id:b,value:C,path:v(b),event:E});const A=r.value.activate({id:b,value:C,activated:new Set(d.value),children:a.value,parents:i.value,event:E});if(A.size!==d.value.size)d.value=A;else{for(const V of A)if(!d.value.has(V)){d.value=A;return}for(const V of d.value)if(!A.has(V)){d.value=A;return}}},children:a,parents:i,disabled:o,getPath:v}};return ft(El,w),w.root},Rf=(e,t,n)=>{const l=Me(El,Bf),a=Symbol("nested item"),i=T(()=>{const s=fe(nt(e));return s!==void 0?s:a}),o={...l,id:i,open:(s,r)=>l.root.open(i.value,s,r),openOnSelect:(s,r)=>l.root.openOnSelect(i.value,s,r),isOpen:T(()=>l.root.opened.value.has(i.value)),parent:T(()=>l.root.parents.value.get(i.value)),activate:(s,r)=>l.root.activate(i.value,s,r),isActivated:T(()=>l.root.activated.value.has(i.value)),select:(s,r)=>l.root.select(i.value,s,r),isSelected:T(()=>l.root.selected.value.get(i.value)==="on"),isIndeterminate:T(()=>l.root.selected.value.get(i.value)==="indeterminate"),isLeaf:T(()=>!l.root.children.value.get(i.value)),isGroupActivator:l.isGroupActivator};return ya(()=>{l.isGroupActivator||l.root.itemsRegistration.value==="props"||Ue(()=>{l.root.register(i.value,l.id.value,nt(t),n)})}),yt(()=>{l.isGroupActivator||l.root.itemsRegistration.value==="props"||l.root.unregister(i.value)}),oe(i,(s,r)=>{l.isGroupActivator||l.root.itemsRegistration.value==="props"||(l.root.unregister(r),Ue(()=>{l.root.register(s,l.id.value,nt(t),n)}))}),oe(()=>nt(t),s=>{l.root.updateDisabled(i.value,s)}),n&&ft(El,o),o},Kp=()=>{const e=Me(El,Bf);ft(El,{...e,isGroupActivator:!0})};function Es(){const e=ae(!1);return Dt(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:M(()=>e.value?void 0:{transition:"none !important"}),isBooted:il(e)}}const Gp=Ml({name:"VListGroupActivator",setup(e,t){let{slots:n}=t;return Kp(),()=>n.default?.()}}),Yp=z({activeColor:String,baseColor:String,color:String,collapseIcon:{type:Ve,default:"$collapse"},disabled:Boolean,expandIcon:{type:Ve,default:"$expand"},rawId:[String,Number],prependIcon:Ve,appendIcon:Ve,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Ce(),...De()},"VListGroup"),hu=re()({name:"VListGroup",props:Yp(),setup(e,t){let{slots:n}=t;const{isOpen:l,open:a,id:i}=Rf(()=>e.value,()=>e.disabled,!0),o=T(()=>`v-list-group--id-${String(e.rawId??i.value)}`),s=Mf(),{isBooted:r}=Es(),c=Me(El),u=M(()=>c?.root?.itemsRegistration.value==="render");function d(m){["INPUT","TEXTAREA"].includes(m.target?.tagName)||a(!l.value,m)}const f=T(()=>({onClick:d,class:"v-list-group__header",id:o.value})),v=T(()=>l.value?e.collapseIcon:e.expandIcon),g=T(()=>({VListItem:{activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&v.value,appendIcon:e.appendIcon||!e.subgroup&&v.value,title:e.title,value:e.value}}));return we(()=>y(e.tag,{class:ue(["v-list-group",{"v-list-group--prepend":s?.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":l.value},e.class]),style:xe(e.style)},{default:()=>[n.activator&&y(ze,{defaults:g.value},{default:()=>[y(Gp,null,{default:()=>[n.activator({props:f.value,isOpen:l.value})]})]}),y(Bn,{transition:{component:tf},disabled:!r.value},{default:()=>[u.value?It(I("div",{class:"v-list-group__items",role:"group","aria-labelledby":o.value},[n.default?.()]),[[Ol,l.value]]):l.value&&I("div",{class:"v-list-group__items",role:"group","aria-labelledby":o.value},[n.default?.()])]})]})),{isOpen:l}}}),qp=z({opacity:[Number,String],...Ce(),...De()},"VListItemSubtitle"),Nf=re()({name:"VListItemSubtitle",props:qp(),setup(e,t){let{slots:n}=t;return we(()=>y(e.tag,{class:ue(["v-list-item-subtitle",e.class]),style:xe([{"--v-list-item-subtitle-opacity":e.opacity},e.style])},n)),{}}}),Hf=xi("v-list-item-title"),Xp=z({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Ve,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Ve,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,prependGap:[Number,String],subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},value:null,onClick:gt(),onClickOnce:gt(),...dn(),...Ce(),...Gt(),...Ft(),...mn(),...pt(),...Ei(),...De(),...Ye(),...Pn({variant:"text"})},"VListItem"),Tt=re()({name:"VListItem",directives:{vRipple:In},props:Xp(),emits:{click:e=>!0},setup(e,t){let{attrs:n,slots:l,emit:a}=t;const i=Vi(e,n),o=T(()=>e.value===void 0?i.href.value:e.value),{activate:s,isActivated:r,select:c,isOpen:u,isSelected:d,isIndeterminate:f,isGroupActivator:v,root:g,parent:m,openOnSelect:k,id:S}=Rf(o,()=>e.disabled,!1),w=Mf(),b=T(()=>e.active!==!1&&(e.active||i.isActive?.value||(g.activatable.value?r.value:d.value))),C=M(()=>e.link!==!1&&i.isLink.value),E=T(()=>!!w&&(g.selectable.value||g.activatable.value||e.value!=null)),A=T(()=>!e.disabled&&e.link!==!1&&(e.link||i.isClickable.value||E.value)),V=T(()=>w?C.value?"link":E.value?"option":"listitem":void 0),p=T(()=>{if(E.value)return g.activatable.value?r.value:g.selectable.value?d.value:b.value}),_=M(()=>e.rounded||e.nav),L=M(()=>e.color??e.activeColor),F=M(()=>({color:b.value?L.value??e.baseColor:e.baseColor,variant:e.variant}));oe(()=>i.isActive?.value,q=>{q&&O()}),ya(()=>{i.isActive?.value&&Ue(()=>O())});function O(){m.value!=null&&g.open(m.value,!0),k(!0)}const{themeClasses:$}=tt(e),{borderClasses:H}=fn(e),{colorClasses:G,colorStyles:te,variantClasses:Q}=Dl(F),{densityClasses:ee}=vn(e),{dimensionStyles:pe}=Bt(e),{elevationClasses:j}=gn(e),{roundedClasses:ie}=bt(_),R=M(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),Y=M(()=>e.ripple!==void 0&&e.ripple&&w?.filterable?{keys:["Enter"]}:e.ripple),ge=T(()=>({isActive:b.value,select:c,isOpen:u.value,isSelected:d.value,isIndeterminate:f.value}));function J(q){a("click",q),!["INPUT","TEXTAREA"].includes(q.target?.tagName)&&A.value&&(i.navigate?.(q),!v&&(g.activatable.value?s(!r.value,q):(g.selectable.value||e.value!=null&&!C.value)&&c(!d.value,q)))}function _e(q){const ke=q.target;["INPUT","TEXTAREA"].includes(ke.tagName)||(q.key==="Enter"||q.key===" "&&!w?.filterable)&&(q.preventDefault(),q.stopPropagation(),q.target.dispatchEvent(new MouseEvent("click",q)))}return we(()=>{const q=C.value?"a":e.tag,ke=l.title||e.title!=null,Qe=l.subtitle||e.subtitle!=null,We=!!(e.appendAvatar||e.appendIcon),St=!!(We||l.append),h=!!(e.prependAvatar||e.prependIcon),x=!!(h||l.prepend);return w?.updateHasPrepend(x),e.activeColor&&id("active-color",["color","base-color"]),It(y(q,ce(i.linkProps,{class:["v-list-item",{"v-list-item--active":b.value,"v-list-item--disabled":e.disabled,"v-list-item--link":A.value,"v-list-item--nav":e.nav,"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&b.value},$.value,H.value,G.value,ee.value,j.value,R.value,ie.value,Q.value,e.class],style:[{"--v-list-prepend-gap":se(e.prependGap)},te.value,pe.value,e.style],tabindex:A.value?w?-2:0:void 0,"aria-selected":p.value,role:V.value,onClick:J,onKeydown:A.value&&!C.value&&_e}),{default:()=>[Ll(A.value||b.value,"v-list-item"),x&&I("div",{key:"prepend",class:"v-list-item__prepend"},[l.prepend?y(ze,{key:"prepend-defaults",disabled:!h,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>[l.prepend?.(ge.value)]}):I(Se,null,[e.prependAvatar&&y(ul,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&y(Ne,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),I("div",{class:"v-list-item__spacer"},null)]),I("div",{class:"v-list-item__content","data-no-activator":""},[ke&&y(Hf,{key:"title"},{default:()=>[l.title?.({title:e.title})??Re(e.title)]}),Qe&&y(Nf,{key:"subtitle"},{default:()=>[l.subtitle?.({subtitle:e.subtitle})??Re(e.subtitle)]}),l.default?.(ge.value)]),St&&I("div",{key:"append",class:"v-list-item__append"},[l.append?y(ze,{key:"append-defaults",disabled:!We,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>[l.append?.(ge.value)]}):I(Se,null,[e.appendIcon&&y(Ne,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&y(ul,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),I("div",{class:"v-list-item__spacer"},null)])]}),[[In,A.value&&Y.value]])}),{activate:s,isActivated:r,isGroupActivator:v,isSelected:d,list:w,select:c,root:g,id:S,link:i}}}),Zp=z({color:String,inset:Boolean,sticky:Boolean,title:String,...Ce(),...De()},"VListSubheader"),Wf=re()({name:"VListSubheader",props:Zp(),setup(e,t){let{slots:n}=t;const{textColorClasses:l,textColorStyles:a}=sn(()=>e.color);return we(()=>{const i=!!(n.default||e.title);return y(e.tag,{class:ue(["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},l.value,e.class]),style:xe([{textColorStyles:a},e.style])},{default:()=>[i&&I("div",{class:"v-list-subheader__text"},[n.default?.()??e.title])]})}),{}}}),Jp=z({items:Array,returnObject:Boolean},"VListChildren"),jf=re()({name:"VListChildren",props:Jp(),setup(e,t){let{slots:n}=t;return Of(),()=>n.default?.()??e.items?.map(l=>{let{children:a,props:i,type:o,raw:s}=l;if(o==="divider")return n.divider?.({props:i})??y(As,i,null);if(o==="subheader")return n.subheader?.({props:i})??y(Wf,i,null);const r={subtitle:n.subtitle?u=>n.subtitle?.({...u,item:s}):void 0,prepend:n.prepend?u=>n.prepend?.({...u,item:s}):void 0,append:n.append?u=>n.append?.({...u,item:s}):void 0,title:n.title?u=>n.title?.({...u,item:s}):void 0},c=hu.filterProps(i);return a?y(hu,ce(c,{value:e.returnObject?s:i?.value,rawId:i?.value}),{activator:u=>{let{props:d}=u;const f=ce(i,d,{value:e.returnObject?s:i.value});return n.header?n.header({props:f}):y(Tt,f,r)},default:()=>y(jf,{items:a,returnObject:e.returnObject},n)}):n.item?n.item({props:i}):y(Tt,ce(i,{value:e.returnObject?s:i.value}),r)})}}),zf=z({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},itemType:{type:[Boolean,String,Array,Function],default:"type"},returnObject:Boolean,valueComparator:Function},"list-items"),Qp=new Set(["item","divider","subheader"]);function wl(e,t){const n=Ht(t,e.itemTitle,t),l=Ht(t,e.itemValue,n),a=Ht(t,e.itemChildren),i=e.itemProps===!0?typeof t=="object"&&t!=null&&!Array.isArray(t)?"children"in t?$t(t,["children"]):t:void 0:Ht(t,e.itemProps);let o=Ht(t,e.itemType,"item");Qp.has(o)||(o="item");const s={title:n,value:l,...i};return{type:o,title:String(s.title??""),value:s.value,props:s,children:o==="item"&&Array.isArray(a)?Uf(e,a):void 0,raw:t}}wl.neededProps=["itemTitle","itemValue","itemChildren","itemProps","itemType"];function Uf(e,t){const n=Ci(e,wl.neededProps),l=[];for(const a of t)l.push(wl(n,a));return l}function eb(e){const t=T(()=>Uf(e,e.items)),n=T(()=>t.value.some(s=>s.value===null)),l=ae(new Map),a=ae([]);ht(()=>{const s=t.value,r=new Map,c=[];for(let u=0;u<s.length;u++){const d=s[u];if(sl(d.value)||d.value===null){let f=r.get(d.value);f||(f=[],r.set(d.value,f)),f.push(d)}else c.push(d)}l.value=r,a.value=c});function i(s){const r=l.value,c=t.value,u=a.value,d=n.value,f=e.returnObject,v=!!e.valueComparator,g=e.valueComparator||Ot,m=Ci(e,wl.neededProps),k=[];e:for(const S of s){if(!d&&S===null)continue;if(f&&typeof S=="string"){k.push(wl(m,S));continue}const w=r.get(S);if(v||!w){for(const b of v?c:u)if(g(S,b.value)){k.push(b);continue e}k.push(wl(m,S));continue}k.push(...w)}return k}function o(s){return e.returnObject?s.map(r=>{let{raw:c}=r;return c}):s.map(r=>{let{value:c}=r;return c})}return{items:t,transformIn:i,transformOut:o}}const tb=new Set(["item","divider","subheader"]);function nb(e,t){const n=sl(t)?t:Ht(t,e.itemTitle),l=sl(t)?t:Ht(t,e.itemValue,void 0),a=Ht(t,e.itemChildren),i=e.itemProps===!0?$t(t,["children"]):Ht(t,e.itemProps);let o=Ht(t,e.itemType,"item");tb.has(o)||(o="item");const s={title:n,value:l,...i};return{type:o,title:s.title,value:s.value,props:s,children:o==="item"&&a?Kf(e,a):void 0,raw:t}}function Kf(e,t){const n=[];for(const l of t)n.push(nb(e,l));return n}function lb(e){return{items:T(()=>Kf(e,e.items))}}const ab=z({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,filterable:Boolean,expandIcon:Ve,collapseIcon:Ve,lines:{type:[Boolean,String],default:"one"},slim:Boolean,prependGap:[Number,String],indent:[Number,String],nav:Boolean,"onClick:open":gt(),"onClick:select":gt(),"onUpdate:opened":gt(),...zp({selectStrategy:"single-leaf",openStrategy:"list"}),...dn(),...Ce(),...Gt(),...Ft(),...mn(),...zf(),...pt(),...De(),...Ye(),...Pn({variant:"text"})},"VList"),ai=re()({name:"VList",props:ab(),emits:{"update:selected":e=>!0,"update:activated":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:activate":e=>!0,"click:select":e=>!0},setup(e,t){let{slots:n}=t;const{items:l}=lb(e),{themeClasses:a}=tt(e),{backgroundColorClasses:i,backgroundColorStyles:o}=Mt(()=>e.bgColor),{borderClasses:s}=fn(e),{densityClasses:r}=vn(e),{dimensionStyles:c}=Bt(e),{elevationClasses:u}=gn(e),{roundedClasses:d}=bt(e),{children:f,open:v,parents:g,select:m,getPath:k}=Up(e,l,()=>e.returnObject),S=M(()=>e.lines?`v-list--${e.lines}-line`:void 0),w=M(()=>e.activeColor),b=M(()=>e.baseColor),C=M(()=>e.color),E=M(()=>e.selectable||e.activatable);Of({filterable:e.filterable}),jn({VListGroup:{activeColor:w,baseColor:b,color:C,expandIcon:M(()=>e.expandIcon),collapseIcon:M(()=>e.collapseIcon)},VListItem:{activeClass:M(()=>e.activeClass),activeColor:w,baseColor:b,color:C,density:M(()=>e.density),disabled:M(()=>e.disabled),lines:M(()=>e.lines),nav:M(()=>e.nav),slim:M(()=>e.slim),variant:M(()=>e.variant)}});const A=ae(!1),V=Z();function p(H){A.value=!0}function _(H){A.value=!1}function L(H){!A.value&&!(H.relatedTarget&&V.value?.contains(H.relatedTarget))&&$()}function F(H){const G=H.target;if(!(!V.value||G.tagName==="INPUT"&&["Home","End"].includes(H.key)||G.tagName==="TEXTAREA")){if(H.key==="ArrowDown")$("next");else if(H.key==="ArrowUp")$("prev");else if(H.key==="Home")$("first");else if(H.key==="End")$("last");else return;H.preventDefault()}}function O(H){A.value=!0}function $(H){if(V.value)return Jl(V.value,H)}return we(()=>{const H=e.indent??(e.prependGap?Number(e.prependGap)+24:void 0);return y(e.tag,{ref:V,class:ue(["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav,"v-list--slim":e.slim},a.value,i.value,s.value,r.value,u.value,S.value,d.value,e.class]),style:xe([{"--v-list-indent":se(H),"--v-list-group-prepend":H?"0px":void 0,"--v-list-prepend-gap":se(e.prependGap)},o.value,c.value,e.style]),tabindex:e.disabled?-1:0,role:E.value?"listbox":"list","aria-activedescendant":void 0,onFocusin:p,onFocusout:_,onFocus:L,onKeydown:F,onMousedown:O},{default:()=>[y(jf,{items:l.value,returnObject:e.returnObject},n)]})}),{open:v,select:m,focus:$,children:f,parents:g,getPath:k}}});function ao(e,t){return{x:e.x+t.x,y:e.y+t.y}}function ib(e,t){return{x:e.x-t.x,y:e.y-t.y}}function yu(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:l}=e,a=l==="left"?0:l==="center"?t.width/2:l==="right"?t.width:l,i=n==="top"?0:n==="bottom"?t.height:n;return ao({x:a,y:i},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:l}=e,a=n==="left"?0:n==="right"?t.width:n,i=l==="top"?0:l==="center"?t.height/2:l==="bottom"?t.height:l;return ao({x:a,y:i},t)}return ao({x:t.width/2,y:t.height/2},t)}const Gf={static:rb,connected:cb},ob=z({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in Gf},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array],stickToTarget:Boolean,viewportMargin:{type:[Number,String],default:12}},"VOverlay-location-strategies");function sb(e,t){const n=Z({}),l=Z();Le&&Lt(()=>!!(t.isActive.value&&e.locationStrategy),s=>{oe(()=>e.locationStrategy,s),Je(()=>{window.removeEventListener("resize",a),visualViewport?.removeEventListener("resize",i),visualViewport?.removeEventListener("scroll",o),l.value=void 0}),window.addEventListener("resize",a,{passive:!0}),visualViewport?.addEventListener("resize",i,{passive:!0}),visualViewport?.addEventListener("scroll",o,{passive:!0}),typeof e.locationStrategy=="function"?l.value=e.locationStrategy(t,e,n)?.updateLocation:l.value=Gf[e.locationStrategy](t,e,n)?.updateLocation});function a(s){l.value?.(s)}function i(s){l.value?.(s)}function o(s){l.value?.(s)}return{contentStyles:n,updateLocation:l}}function rb(){}function ub(e,t){const n=ds(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function cb(e,t,n){(Array.isArray(e.target.value)||Gh(e.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:a,preferredOrigin:i}=cs(()=>{const S=Ao(t.location,e.isRtl.value),w=t.origin==="overlap"?S:t.origin==="auto"?Xi(S):Ao(t.origin,e.isRtl.value);return S.side===w.side&&S.align===Zi(w).align?{preferredAnchor:Or(S),preferredOrigin:Or(w)}:{preferredAnchor:S,preferredOrigin:w}}),[o,s,r,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(S=>T(()=>{const w=parseFloat(t[S]);return isNaN(w)?1/0:w})),u=T(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const S=t.offset.split(" ").map(parseFloat);return S.length<2&&S.push(0),S}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let d=!1,f=-1;const v=new gd(4),g=new ResizeObserver(()=>{if(!d)return;if(requestAnimationFrame(w=>{w!==f&&v.clear(),requestAnimationFrame(b=>{f=b})}),v.isFull){const w=v.values();if(Ot(w.at(-1),w.at(-3))&&!Ot(w.at(-1),w.at(-2)))return}const S=k();S&&v.push(S.flipped)});let m=new Pt({x:0,y:0,width:0,height:0});oe(e.target,(S,w)=>{w&&!Array.isArray(w)&&g.unobserve(w),Array.isArray(S)?Ot(S,w)||k():S&&g.observe(S)},{immediate:!0}),oe(e.contentEl,(S,w)=>{w&&g.unobserve(w),S&&g.observe(S)},{immediate:!0}),Je(()=>{g.disconnect()});function k(){if(d=!1,requestAnimationFrame(()=>d=!0),!e.target.value||!e.contentEl.value)return;(Array.isArray(e.target.value)||e.target.value.offsetParent||e.target.value.getClientRects().length)&&(m=wd(e.target.value));const S=ub(e.contentEl.value,e.isRtl.value),w=Qa(e.contentEl.value),b=Number(t.viewportMargin);w.length||(w.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(S.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),S.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const C=w.reduce(($,H)=>{const G=gh(H);return $?new Pt({x:Math.max($.left,G.left),y:Math.max($.top,G.top),width:Math.min($.right,G.right)-Math.max($.left,G.left),height:Math.min($.bottom,G.bottom)-Math.max($.top,G.top)}):G},void 0);t.stickToTarget?(C.x+=Math.min(b,m.x),C.y+=Math.min(b,m.y),C.width=Math.max(C.width-b*2,m.x+m.width-b),C.height=Math.max(C.height-b*2,m.y+m.height-b)):(C.x+=b,C.y+=b,C.width-=b*2,C.height-=b*2);let E={anchor:a.value,origin:i.value};function A($){const H=new Pt(S),G=yu($.anchor,m),te=yu($.origin,H);let{x:Q,y:ee}=ib(G,te);switch($.anchor.side){case"top":ee-=u.value[0];break;case"bottom":ee+=u.value[0];break;case"left":Q-=u.value[0];break;case"right":Q+=u.value[0];break}switch($.anchor.align){case"top":ee-=u.value[1];break;case"bottom":ee+=u.value[1];break;case"left":Q-=u.value[1];break;case"right":Q+=u.value[1];break}return H.x+=Q,H.y+=ee,H.width=Math.min(H.width,r.value),H.height=Math.min(H.height,c.value),{overflows:Lr(H,C),x:Q,y:ee}}let V=0,p=0;const _={x:0,y:0},L={x:!1,y:!1};let F=-1;for(;!(F++>10);){const{x:$,y:H,overflows:G}=A(E);V+=$,p+=H,S.x+=$,S.y+=H;{const te=Mr(E.anchor),Q=G.x.before||G.x.after,ee=G.y.before||G.y.after;let pe=!1;if(["x","y"].forEach(j=>{if(j==="x"&&Q&&!L.x||j==="y"&&ee&&!L.y){const ie={anchor:{...E.anchor},origin:{...E.origin}},R=j==="x"?te==="y"?Zi:Xi:te==="y"?Xi:Zi;ie.anchor=R(ie.anchor),ie.origin=R(ie.origin);const{overflows:Y}=A(ie);(Y[j].before<=G[j].before&&Y[j].after<=G[j].after||Y[j].before+Y[j].after<(G[j].before+G[j].after)/2)&&(E=ie,pe=L[j]=!0)}}),pe)continue}G.x.before&&(V+=G.x.before,S.x+=G.x.before),G.x.after&&(V-=G.x.after,S.x-=G.x.after),G.y.before&&(p+=G.y.before,S.y+=G.y.before),G.y.after&&(p-=G.y.after,S.y-=G.y.after);{const te=Lr(S,C);_.x=C.width-te.x.before-te.x.after,_.y=C.height-te.y.before-te.y.after,V+=te.x.before,S.x+=te.x.before,p+=te.y.before,S.y+=te.y.before}break}const O=Mr(E.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${E.anchor.side} ${E.anchor.align}`,transformOrigin:`${E.origin.side} ${E.origin.align}`,top:se(io(p)),left:e.isRtl.value?void 0:se(io(V)),right:e.isRtl.value?se(io(-V)):void 0,minWidth:se(O==="y"?Math.min(o.value,m.width):o.value),maxWidth:se(pu(At(_.x,o.value===1/0?0:o.value,r.value))),maxHeight:se(pu(At(_.y,s.value===1/0?0:s.value,c.value)))}),{available:_,contentBox:S,flipped:L}}return oe(()=>[a.value,i.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>k()),Ue(()=>{const S=k();if(!S)return;const{available:w,contentBox:b}=S;b.height>w.y&&requestAnimationFrame(()=>{k(),requestAnimationFrame(()=>{k()})})}),{updateLocation:k}}function io(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function pu(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let Fo=!0;const ii=[];function db(e){!Fo||ii.length?(ii.push(e),Bo()):(Fo=!1,e(),Bo())}let bu=-1;function Bo(){cancelAnimationFrame(bu),bu=requestAnimationFrame(()=>{const e=ii.shift();e&&e(),ii.length?Bo():Fo=!0})}const Yf={none:null,close:mb,block:gb,reposition:hb},fb=z({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Yf}},"VOverlay-scroll-strategies");function vb(e,t){if(!Le)return;let n;ht(async()=>{n?.stop(),t.isActive.value&&e.scrollStrategy&&(n=al(),await new Promise(l=>setTimeout(l)),n.active&&n.run(()=>{typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):Yf[e.scrollStrategy]?.(t,e,n)}))}),Je(()=>{n?.stop()})}function mb(e){function t(n){e.isActive.value=!1}qf(Ts(e.target.value,e.contentEl.value),t)}function gb(e,t){const n=e.root.value?.offsetParent,l=Ts(e.target.value,e.contentEl.value),a=[...new Set([...Qa(l,t.contained?n:void 0),...Qa(e.contentEl.value,t.contained?n:void 0)])].filter(s=>!s.classList.contains("v-overlay-scroll-blocked")),i=window.innerWidth-document.documentElement.offsetWidth,o=(s=>ms(s)&&s)(n||document.documentElement);o&&e.root.value.classList.add("v-overlay--scroll-blocked"),a.forEach((s,r)=>{s.style.setProperty("--v-body-scroll-x",se(-s.scrollLeft)),s.style.setProperty("--v-body-scroll-y",se(-s.scrollTop)),s!==document.documentElement&&s.style.setProperty("--v-scrollbar-offset",se(i)),s.classList.add("v-overlay-scroll-blocked")}),Je(()=>{a.forEach((s,r)=>{const c=parseFloat(s.style.getPropertyValue("--v-body-scroll-x")),u=parseFloat(s.style.getPropertyValue("--v-body-scroll-y")),d=s.style.scrollBehavior;s.style.scrollBehavior="auto",s.style.removeProperty("--v-body-scroll-x"),s.style.removeProperty("--v-body-scroll-y"),s.style.removeProperty("--v-scrollbar-offset"),s.classList.remove("v-overlay-scroll-blocked"),s.scrollLeft=-c,s.scrollTop=-u,s.style.scrollBehavior=d}),o&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function hb(e,t,n){let l=!1,a=-1,i=-1;function o(s){db(()=>{const r=performance.now();e.updateLocation.value?.(s),l=(performance.now()-r)/(1e3/60)>2})}i=(typeof requestIdleCallback>"u"?s=>s():requestIdleCallback)(()=>{n.run(()=>{qf(Ts(e.target.value,e.contentEl.value),s=>{l?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{o(s)})})):o(s)})})}),Je(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(i),cancelAnimationFrame(a)})}function Ts(e,t){return Array.isArray(e)?document.elementsFromPoint(...e).find(n=>!t?.contains(n)):e??t}function qf(e,t){const n=[document,...Qa(e)];n.forEach(l=>{l.addEventListener("scroll",t,{passive:!0})}),Je(()=>{n.forEach(l=>{l.removeEventListener("scroll",t)})})}const Ro=Symbol.for("vuetify:v-menu"),Xf=z({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function Zf(e,t){let n=()=>{};function l(o,s){n?.();const r=o?e.openDelay:e.closeDelay,c=Math.max(s?.minDelay??0,Number(r??0));return new Promise(u=>{n=ch(c,()=>{t?.(o),u(o)})})}function a(){return l(!0)}function i(o){return l(!1,o)}return{clearDelay:n,runOpenDelay:a,runCloseDelay:i}}const yb=z({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Xf()},"VOverlay-activator");function pb(e,t){let{isActive:n,isTop:l,contentEl:a}=t;const i=Xe("useActivator"),o=Z();let s=!1,r=!1,c=!0;const u=T(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),d=T(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!u.value),{runOpenDelay:f,runCloseDelay:v}=Zf(e,p=>{p===(e.openOnHover&&s||u.value&&r)&&!(e.openOnHover&&n.value&&!l.value)&&(n.value!==p&&(c=!0),n.value=p)}),g=Z(),m={onClick:p=>{p.stopPropagation(),o.value=p.currentTarget||p.target,n.value||(g.value=[p.clientX,p.clientY]),n.value=!n.value},onMouseenter:p=>{s=!0,o.value=p.currentTarget||p.target,f()},onMouseleave:p=>{s=!1,v()},onFocus:p=>{Xa(p.target,":focus-visible")!==!1&&(r=!0,p.stopPropagation(),o.value=p.currentTarget||p.target,f())},onBlur:p=>{r=!1,p.stopPropagation(),v({minDelay:1})}},k=T(()=>{const p={};return d.value&&(p.onClick=m.onClick),e.openOnHover&&(p.onMouseenter=m.onMouseenter,p.onMouseleave=m.onMouseleave),u.value&&(p.onFocus=m.onFocus,p.onBlur=m.onBlur),p}),S=T(()=>{const p={};if(e.openOnHover&&(p.onMouseenter=()=>{s=!0,f()},p.onMouseleave=()=>{s=!1,v()}),u.value&&(p.onFocusin=_=>{_.target.matches(":focus-visible")&&(r=!0,f())},p.onFocusout=()=>{r=!1,v({minDelay:1})}),e.closeOnContentClick){const _=Me(Ro,null);p.onClick=()=>{n.value=!1,_?.closeParents()}}return p}),w=T(()=>{const p={};return e.openOnHover&&(p.onMouseenter=()=>{c&&(s=!0,c=!1,f())},p.onMouseleave=()=>{s=!1,v()}),p});oe(l,p=>{p&&(e.openOnHover&&!s&&(!u.value||!r)||u.value&&!r&&(!e.openOnHover||!s))&&!a.value?.contains(document.activeElement)&&(n.value=!1)}),oe(n,p=>{p||setTimeout(()=>{g.value=void 0})},{flush:"post"});const b=ko();ht(()=>{b.value&&Ue(()=>{o.value=b.el})});const C=ko(),E=T(()=>e.target==="cursor"&&g.value?g.value:C.value?C.el:Jf(e.target,i)||o.value),A=T(()=>Array.isArray(E.value)?void 0:E.value);let V;return oe(()=>!!e.activator,p=>{p&&Le?(V=al(),V.run(()=>{bb(e,i,{activatorEl:o,activatorEvents:k})})):V&&V.stop()},{flush:"post",immediate:!0}),Je(()=>{V?.stop()}),{activatorEl:o,activatorRef:b,target:E,targetEl:A,targetRef:C,activatorEvents:k,contentEvents:S,scrimEvents:w}}function bb(e,t,n){let{activatorEl:l,activatorEvents:a}=n;oe(()=>e.activator,(r,c)=>{if(c&&r!==c){const u=s(c);u&&o(u)}r&&Ue(()=>i())},{immediate:!0}),oe(()=>e.activatorProps,()=>{i()}),Je(()=>{o()});function i(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;r&&hh(r,ce(a.value,c))}function o(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;r&&yh(r,ce(a.value,c))}function s(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const c=Jf(r,t);return l.value=c?.nodeType===Node.ELEMENT_NODE?c:void 0,l.value}}function Jf(e,t){if(!e)return;let n;if(e==="parent"){let l=t?.proxy?.$el?.parentNode;for(;l?.hasAttribute("data-no-activator");)l=l.parentNode;n=l}else typeof e=="string"?n=document.querySelector(e):"$el"in e?n=e.$el:n=e;return n}const Qf=z({retainFocus:Boolean,captureFocus:Boolean,disableInitialFocus:Boolean},"focusTrap"),Ba=new Map;let Su=0;function wu(e){const t=document.activeElement;if(e.key!=="Tab"||!t)return;const n=Array.from(Ba.values()).filter(c=>{let{isActive:u,contentEl:d}=c;return u.value&&d.value?.contains(t)}).map(c=>c.contentEl.value);let l,a=t.parentElement;for(;a;){if(n.includes(a)){l=a;break}a=a.parentElement}if(!l)return;const i=nl(l).filter(c=>c.tabIndex>=0);if(!i.length)return;const o=document.activeElement;if(i.length===1&&i[0].classList.contains("v-list")&&i[0].contains(o)){e.preventDefault();return}const s=i[0],r=i[i.length-1];e.shiftKey&&(o===s||s.classList.contains("v-list")&&s.contains(o))&&(e.preventDefault(),r.focus()),!e.shiftKey&&(o===r||r.classList.contains("v-list")&&r.contains(o))&&(e.preventDefault(),s.focus())}function ev(e,t){let{isActive:n,localTop:l,activatorEl:a,contentEl:i}=t;const o=Symbol("trap");let s=!1,r=-1;async function c(){s=!0,r=window.setTimeout(()=>{s=!1},100)}async function u(v){const g=v.relatedTarget,m=v.target;document.removeEventListener("pointerdown",c),document.removeEventListener("keydown",d),await Ue(),n.value&&!s&&g!==m&&i.value&&nt(l)&&![document,i.value].includes(m)&&!i.value.contains(m)&&nl(i.value)[0]?.focus()}function d(v){if(v.key==="Tab"&&(document.removeEventListener("keydown",d),n.value&&i.value&&v.target&&!i.value.contains(v.target))){const g=nl(document.documentElement);if(v.shiftKey&&v.target===g.at(0)||!v.shiftKey&&v.target===g.at(-1)){const m=nl(i.value);m.length>0&&(v.preventDefault(),m[0].focus())}}}const f=M(()=>n.value&&e.captureFocus&&!e.disableInitialFocus);Le&&(oe(()=>e.retainFocus,v=>{v?Ba.set(o,{isActive:n,contentEl:i}):Ba.delete(o)},{immediate:!0}),oe(f,v=>{v?(document.addEventListener("pointerdown",c),document.addEventListener("focusin",u,{once:!0}),document.addEventListener("keydown",d)):(document.removeEventListener("pointerdown",c),document.removeEventListener("focusin",u),document.removeEventListener("keydown",d))},{immediate:!0}),Su++<1&&document.addEventListener("keydown",wu)),Je(()=>{Ba.delete(o),clearTimeout(r),document.removeEventListener("pointerdown",c),document.removeEventListener("focusin",u),document.removeEventListener("keydown",d),--Su<1&&document.removeEventListener("keydown",wu)})}function Sb(){if(!Le)return ae(!1);const{ssr:e}=Pi();if(e){const t=ae(!1);return Dt(()=>{t.value=!0}),t}else return ae(!0)}const wb=z({eager:Boolean},"lazy");function Cb(e,t){const n=ae(!1),l=M(()=>n.value||e.eager||t.value);oe(t,()=>n.value=!0);function a(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:l,onAfterLeave:a}}function Mi(){const t=Xe("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const Cu=Symbol.for("vuetify:stack"),Hl=et([]);function xb(e,t,n){const l=Xe("useStack"),a=!n,i=Me(Cu,void 0),o=et({activeChildren:new Set});ft(Cu,o);const s=ae(Number(nt(t)));Lt(e,()=>{const u=Hl.at(-1)?.[1];s.value=u?u+10:Number(nt(t)),a&&Hl.push([l.uid,s.value]),i?.activeChildren.add(l.uid),Je(()=>{if(a){const d=fe(Hl).findIndex(f=>f[0]===l.uid);Hl.splice(d,1)}i?.activeChildren.delete(l.uid)})});const r=ae(!0);return a&&ht(()=>{const u=Hl.at(-1)?.[0]===l.uid;setTimeout(()=>r.value=u)}),{globalTop:il(r),localTop:M(()=>!o.activeChildren.size),stackStyles:M(()=>({zIndex:s.value}))}}function _b(e){return{teleportTarget:T(()=>{const n=e();if(n===!0||!Le)return;const l=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(l==null)return;let a=[...l.children].find(i=>i.matches(".v-overlay-container"));return a||(a=document.createElement("div"),a.className="v-overlay-container",l.appendChild(a)),a})}}function kb(){return!0}function tv(e,t,n){if(!e||nv(e,n)===!1)return!1;const l=Id(t);if(typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&l.host===e.target)return!1;const a=(typeof n.value=="object"&&n.value.include||(()=>[]))();return a.push(t),!a.some(i=>i?.contains(e.target))}function nv(e,t){return(typeof t.value=="object"&&t.value.closeConditional||kb)(e)}function Ab(e,t,n){const l=typeof n.value=="function"?n.value:n.value.handler;e.shadowTarget=e.target,t._clickOutside.lastMousedownWasOutside&&tv(e,t,n)&&setTimeout(()=>{nv(e,n)&&l&&l(e)},0)}function xu(e,t){const n=Id(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const _u={mounted(e,t){const n=a=>Ab(a,e,t),l=a=>{e._clickOutside.lastMousedownWasOutside=tv(a,e,t)};xu(e,a=>{a.addEventListener("click",n,!0),a.addEventListener("mousedown",l,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:l}},beforeUnmount(e,t){e._clickOutside&&(xu(e,n=>{if(!n||!e._clickOutside?.[t.instance.$.uid])return;const{onClick:l,onMousedown:a}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",l,!0),n.removeEventListener("mousedown",a,!0)}),delete e._clickOutside[t.instance.$.uid])}};function Ib(e){const{modelValue:t,color:n,...l}=e;return y(Nn,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&I("div",ce({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},l),null)]})}const Ps=z({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...yb(),...Ce(),...Ft(),...wb(),...ob(),...fb(),...Qf(),...Ye(),..._a()},"VOverlay"),oi=re()({name:"VOverlay",directives:{vClickOutside:_u},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...$t(Ps(),["disableInitialFocus"])},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,keydown:e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:l,emit:a}=t;const i=Xe("VOverlay"),o=Z(),s=Z(),r=Z(),c=qe(e,"modelValue"),u=T({get:()=>c.value,set:q=>{q&&e.disabled||(c.value=q)}}),{themeClasses:d}=tt(e),{rtlClasses:f,isRtl:v}=Rt(),{hasContent:g,onAfterLeave:m}=Cb(e,u),k=Mt(()=>typeof e.scrim=="string"?e.scrim:null),{globalTop:S,localTop:w,stackStyles:b}=xb(u,()=>e.zIndex,e._disableGlobalStack),{activatorEl:C,activatorRef:E,target:A,targetEl:V,targetRef:p,activatorEvents:_,contentEvents:L,scrimEvents:F}=pb(e,{isActive:u,isTop:w,contentEl:r}),{teleportTarget:O}=_b(()=>{const q=e.attach||e.contained;if(q)return q;const ke=C?.value?.getRootNode()||i.proxy?.$el?.getRootNode();return ke instanceof ShadowRoot?ke:!1}),{dimensionStyles:$}=Bt(e),H=Sb(),{scopeId:G}=Mi();oe(()=>e.disabled,q=>{q&&(u.value=!1)});const{contentStyles:te,updateLocation:Q}=sb(e,{isRtl:v,contentEl:r,target:A,isActive:u});vb(e,{root:o,contentEl:r,targetEl:V,target:A,isActive:u,updateLocation:Q});function ee(q){a("click:outside",q),e.persistent?ge():u.value=!1}function pe(q){return u.value&&w.value&&(!e.scrim||q.target===s.value||q instanceof MouseEvent&&q.shadowTarget===s.value)}ev(e,{isActive:u,localTop:w,contentEl:r,activatorEl:C}),Le&&oe(u,q=>{q?window.addEventListener("keydown",j):window.removeEventListener("keydown",j)},{immediate:!0}),yt(()=>{Le&&window.removeEventListener("keydown",j)});function j(q){q.key==="Escape"&&S.value&&(r.value?.contains(document.activeElement)||a("keydown",q),e.persistent?ge():(u.value=!1,r.value?.contains(document.activeElement)&&C.value?.focus()))}function ie(q){q.key==="Escape"&&!S.value||a("keydown",q)}const R=Nd();Lt(()=>e.closeOnBack,()=>{Ey(R,q=>{S.value&&u.value?(q(!1),e.persistent?ge():u.value=!1):q()})});const Y=Z();oe(()=>u.value&&(e.absolute||e.contained)&&O.value==null,q=>{if(q){const ke=Vd(o.value);ke&&ke!==document.scrollingElement&&(Y.value=ke.scrollTop)}});function ge(){e.noClickAnimation||r.value&&Fn(r.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Ja})}function J(){a("afterEnter")}function _e(){m(),a("afterLeave")}return we(()=>I(Se,null,[n.activator?.({isActive:u.value,targetRef:p,props:ce({ref:E},_.value,e.activatorProps)}),H.value&&g.value&&y(rm,{disabled:!O.value,to:O.value},{default:()=>[I("div",ce({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":u.value,"v-overlay--contained":e.contained},d.value,f.value,e.class],style:[b.value,{"--v-overlay-opacity":e.opacity,top:se(Y.value)},e.style],ref:o,onKeydown:ie},G,l),[y(Ib,ce({color:k,modelValue:u.value&&!!e.scrim,ref:s},F.value),null),y(Bn,{appear:!0,persisted:!0,transition:e.transition,target:A.value,onAfterEnter:J,onAfterLeave:_e},{default:()=>[It(I("div",ce({ref:r,class:["v-overlay__content",e.contentClass],style:[$.value,te.value]},L.value,e.contentProps),[n.default?.({isActive:u})]),[[Ol,u.value],[_u,{handler:ee,closeConditional:pe,include:()=>[C.value]}]])]})])]})])),{activatorEl:C,scrimEl:s,target:A,animateClick:ge,contentEl:r,rootEl:o,globalTop:S,localTop:w,updateLocation:Q}}}),Vb=z({id:String,submenu:Boolean,...$t(Ps({captureFocus:!0,closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",location:void 0,openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:ws}}),["absolute"])},"VMenu"),Eb=re()({name:"VMenu",props:Vb(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const l=qe(e,"modelValue"),{scopeId:a}=Mi(),{isRtl:i}=Rt(),o=rn(),s=M(()=>e.id||`v-menu-${o}`),r=Z(),c=Me(Ro,null),u=ae(new Set);ft(Ro,{register(){u.value.add(o)},unregister(){u.value.delete(o)},closeParents(m){setTimeout(()=>{!u.value.size&&!e.persistent&&(m==null||r.value?.contentEl&&!dh(m,r.value.contentEl))&&(l.value=!1,c?.closeParents())},40)}}),yt(()=>c?.unregister()),ns(()=>l.value=!1),oe(l,m=>{m?c?.register():c?.unregister()},{immediate:!0});function d(m){c?.closeParents(m)}function f(m){if(!e.disabled)if(m.key==="Tab"||m.key==="Enter"&&!e.closeOnContentClick){if(m.key==="Enter"&&(m.target instanceof HTMLTextAreaElement||m.target instanceof HTMLInputElement&&m.target.closest("form")))return;m.key==="Enter"&&m.preventDefault(),!pd(nl(r.value?.contentEl,!1),m.shiftKey?"prev":"next",S=>S.tabIndex>=0)&&!e.retainFocus&&(l.value=!1,r.value?.activatorEl?.focus())}else e.submenu&&m.key===(i.value?"ArrowRight":"ArrowLeft")&&(l.value=!1,r.value?.activatorEl?.focus())}function v(m){if(e.disabled)return;const k=r.value?.contentEl;k&&l.value?m.key==="ArrowDown"?(m.preventDefault(),m.stopImmediatePropagation(),Jl(k,"next")):m.key==="ArrowUp"?(m.preventDefault(),m.stopImmediatePropagation(),Jl(k,"prev")):e.submenu&&(m.key===(i.value?"ArrowRight":"ArrowLeft")?l.value=!1:m.key===(i.value?"ArrowLeft":"ArrowRight")&&(m.preventDefault(),Jl(k,"first"))):(e.submenu?m.key===(i.value?"ArrowLeft":"ArrowRight"):["ArrowDown","ArrowUp"].includes(m.key))&&(l.value=!0,m.preventDefault(),setTimeout(()=>setTimeout(()=>v(m))))}const g=T(()=>ce({"aria-haspopup":"menu","aria-expanded":String(l.value),"aria-controls":s.value,"aria-owns":s.value,onKeydown:v},e.activatorProps));return we(()=>{const m=oi.filterProps(e);return y(oi,ce({ref:r,id:s.value,class:["v-menu",e.class],style:e.style},m,{modelValue:l.value,"onUpdate:modelValue":k=>l.value=k,absolute:!0,activatorProps:g.value,location:e.location??(e.submenu?"end":"bottom"),"onClick:outside":d,onKeydown:f},a),{activator:n.activator,default:function(){for(var k=arguments.length,S=new Array(k),w=0;w<k;w++)S[w]=arguments[w];return y(ze,{root:"VMenu"},{default:()=>[n.default?.(...S)]})}})}),Oi({id:s,ΨopenChildren:u},r)}}),Tb=z({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Ce(),..._a({transition:{component:ef}})},"VCounter"),Pb=re()({name:"VCounter",functional:!0,props:Tb(),setup(e,t){let{slots:n}=t;const l=M(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return we(()=>y(Bn,{transition:e.transition},{default:()=>[It(I("div",{class:ue(["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class]),style:xe(e.style)},[n.default?n.default({counter:l.value,max:e.max,value:e.value}):l.value]),[[Ol,e.active]])]})),{}}}),Ob=z({floating:Boolean,...Ce()},"VFieldLabel"),Ma=re()({name:"VFieldLabel",props:Ob(),setup(e,t){let{slots:n}=t;return we(()=>y(_f,{class:ue(["v-field-label",{"v-field-label--floating":e.floating},e.class]),style:xe(e.style)},n)),{}}}),Mb=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],lv=z({appendInnerIcon:Ve,bgColor:String,clearable:Boolean,clearIcon:{type:Ve,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},glow:Boolean,error:Boolean,flat:Boolean,iconColor:[Boolean,String],label:String,persistentClear:Boolean,prependInnerIcon:Ve,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>Mb.includes(e)},"onClick:clear":gt(),"onClick:appendInner":gt(),"onClick:prependInner":gt(),...Ce(),...bs(),...pt(),...Ye()},"VField"),ku=re()({name:"VField",inheritAttrs:!1,props:{id:String,details:Boolean,labelId:String,...Vf(),...lv()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:l,slots:a}=t;const{themeClasses:i}=tt(e),{loaderClasses:o}=Ss(e),{focusClasses:s,isFocused:r,focus:c,blur:u}=Ef(e),{InputIcon:d}=ks(e),{roundedClasses:f}=bt(e),{rtlClasses:v}=Rt(),g=M(()=>e.dirty||e.active),m=M(()=>!!(e.label||a.label)),k=M(()=>!e.singleLine&&m.value),S=rn(),w=T(()=>e.id||`input-${S}`),b=M(()=>e.details?`${w.value}-messages`:void 0),C=Z(),E=Z(),A=Z(),V=T(()=>["plain","underlined"].includes(e.variant)),p=T(()=>e.error||e.disabled?void 0:g.value&&r.value?e.color:e.baseColor),_=T(()=>{if(!(!e.iconColor||e.glow&&!r.value))return e.iconColor===!0?p.value:e.iconColor}),{backgroundColorClasses:L,backgroundColorStyles:F}=Mt(()=>e.bgColor),{textColorClasses:O,textColorStyles:$}=sn(p);oe(g,ee=>{if(k.value&&!_l()){const pe=C.value.$el,j=E.value.$el;requestAnimationFrame(()=>{const ie=ds(pe),R=j.getBoundingClientRect(),Y=R.x-ie.x,ge=R.y-ie.y-(ie.height/2-R.height/2),J=R.width/.75,_e=Math.abs(J-ie.width)>1?{maxWidth:se(J)}:void 0,q=getComputedStyle(pe),ke=getComputedStyle(j),Qe=parseFloat(q.transitionDuration)*1e3||150,We=parseFloat(ke.getPropertyValue("--v-field-label-scale")),St=ke.getPropertyValue("color");pe.style.visibility="visible",j.style.visibility="hidden",Fn(pe,{transform:`translate(${Y}px, ${ge}px) scale(${We})`,color:St,..._e},{duration:Qe,easing:Ja,direction:ee?"normal":"reverse"}).finished.then(()=>{pe.style.removeProperty("visibility"),j.style.removeProperty("visibility")})})}},{flush:"post"});const H=T(()=>({isActive:g,isFocused:r,controlRef:A,iconColor:_,blur:u,focus:c})),G=M(()=>{const ee=!g.value;return{"aria-hidden":ee,for:ee?void 0:w.value}}),te=M(()=>{const ee=k.value&&g.value;return{"aria-hidden":ee,for:ee?void 0:w.value}});function Q(ee){ee.target!==document.activeElement&&ee.preventDefault()}return we(()=>{const ee=e.variant==="outlined",pe=!!(a["prepend-inner"]||e.prependInnerIcon),j=!!(e.clearable||a.clear)&&!e.disabled,ie=!!(a["append-inner"]||e.appendInnerIcon||j),R=()=>a.label?a.label({...H.value,label:e.label,props:{for:w.value}}):e.label;return I("div",ce({class:["v-field",{"v-field--active":g.value,"v-field--appended":ie,"v-field--center-affix":e.centerAffix??!V.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--glow":e.glow,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":pe,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!R(),[`v-field--variant-${e.variant}`]:!0},i.value,L.value,s.value,o.value,f.value,v.value,e.class],style:[F.value,e.style],onClick:Q},n),[I("div",{class:"v-field__overlay"},null),y(Rd,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:a.loader}),pe&&I("div",{key:"prepend",class:"v-field__prepend-inner"},[a["prepend-inner"]?a["prepend-inner"](H.value):e.prependInnerIcon&&y(d,{key:"prepend-icon",name:"prependInner",color:_.value},null)]),I("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&k.value&&y(Ma,ce({key:"floating-label",ref:E,class:[O.value],floating:!0},G.value,{style:$.value}),{default:()=>[R()]}),m.value&&y(Ma,ce({key:"label",ref:C,id:e.labelId},te.value),{default:()=>[R()]}),a.default?.({...H.value,props:{id:w.value,class:"v-field__input","aria-describedby":b.value},focus:c,blur:u})??I("div",{id:w.value,class:"v-field__input","aria-describedby":b.value},null)]),j&&y(nf,{key:"clear"},{default:()=>[It(I("div",{class:"v-field__clearable",onMousedown:Y=>{Y.preventDefault(),Y.stopPropagation()}},[y(ze,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[a.clear?a.clear({...H.value,props:{onFocus:c,onBlur:u,onClick:e["onClick:clear"],tabindex:-1}}):y(d,{name:"clear",onFocus:c,onBlur:u,tabindex:-1},null)]})]),[[Ol,e.dirty]])]}),ie&&I("div",{key:"append",class:"v-field__append-inner"},[a["append-inner"]?a["append-inner"](H.value):e.appendInnerIcon&&y(d,{key:"append-icon",name:"appendInner",color:_.value},null)]),I("div",{class:ue(["v-field__outline",O.value]),style:xe($.value)},[ee&&I(Se,null,[I("div",{class:"v-field__outline__start"},null),k.value&&I("div",{class:"v-field__outline__notch"},[y(Ma,ce({ref:E,floating:!0},G.value),{default:()=>[R()]})]),I("div",{class:"v-field__outline__end"},null)]),V.value&&k.value&&y(Ma,ce({ref:E,floating:!0},G.value),{default:()=>[R()]})])])}),{controlRef:A,fieldIconColor:_}}}),Lb=z({autocomplete:String},"autocomplete");function av(e){const t=rn(),n=ae(0),l=M(()=>e.autocomplete==="suppress");return{isSuppressing:l,fieldAutocomplete:M(()=>l.value?"off":e.autocomplete),fieldName:M(()=>{if(e.name)return l.value?`${e.name}-${t}-${n.value}`:e.name}),update:()=>n.value=new Date().getTime()}}function Db(e){function t(n,l){if(!e.autofocus||!n)return;const a=l[0].target;(a.matches("input,textarea")?a:a.querySelector("input,textarea"))?.focus()}return{onIntersect:t}}const $b=["color","file","time","date","datetime-local","week","month"],iv=z({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...Lb(),...$t(Pf(),["direction"]),...lv()},"VTextField"),Jn=re()({name:"VTextField",directives:{vIntersect:li},inheritAttrs:!1,props:iv(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:l,slots:a}=t;const i=qe(e,"modelValue"),{isFocused:o,focus:s,blur:r}=Ef(e),{onIntersect:c}=Db(e),u=T(()=>typeof e.counterValue=="function"?e.counterValue(i.value):typeof e.counterValue=="number"?e.counterValue:(i.value??"").toString().length),d=T(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),f=T(()=>["plain","underlined"].includes(e.variant)),v=Z(),g=Z(),m=Z(),k=av(e),S=T(()=>$b.includes(e.type)||e.persistentPlaceholder||o.value||e.active);function w(){k.isSuppressing.value&&k.update(),o.value||s(),Ue(()=>{m.value!==document.activeElement&&m.value?.focus()})}function b(V){l("mousedown:control",V),V.target!==m.value&&(w(),V.preventDefault())}function C(V){l("click:control",V)}function E(V,p){V.stopPropagation(),w(),Ue(()=>{p(),yd(e["onClick:clear"],V)})}function A(V){const p=V.target;if(!(e.modelModifiers?.trim&&["text","search","password","tel","url"].includes(e.type))){i.value=p.value;return}const _=p.value,L=p.selectionStart,F=p.selectionEnd;i.value=_,Ue(()=>{let O=0;_.trimStart().length===p.value.length&&(O=_.length-p.value.length),L!=null&&(p.selectionStart=L-O),F!=null&&(p.selectionEnd=F-O)})}return we(()=>{const V=!!(a.counter||e.counter!==!1&&e.counter!=null),p=!!(V||a.details),[_,L]=vd(n),{modelValue:F,...O}=gu.filterProps(e),$=ku.filterProps(e);return y(gu,ce({ref:v,modelValue:i.value,"onUpdate:modelValue":H=>i.value=H,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":f.value},e.class],style:e.style},_,O,{centerAffix:!f.value,focused:o.value}),{...a,default:H=>{let{id:G,isDisabled:te,isDirty:Q,isReadonly:ee,isValid:pe,hasDetails:j,reset:ie}=H;return y(ku,ce({ref:g,onMousedown:b,onClick:C,"onClick:clear":R=>E(R,ie),role:e.role},$t($,["onClick:clear"]),{id:G.value,labelId:`${G.value}-label`,active:S.value||Q.value,dirty:Q.value||e.dirty,disabled:te.value,focused:o.value,details:j.value,error:pe.value===!1}),{...a,default:R=>{let{props:{class:Y,...ge},controlRef:J}=R;const _e=I("input",ce({ref:q=>m.value=J.value=q,value:i.value,onInput:A,autofocus:e.autofocus,readonly:ee.value,disabled:te.value,name:k.fieldName.value,autocomplete:k.fieldAutocomplete.value,placeholder:e.placeholder,size:1,role:e.role,type:e.type,onFocus:s,onBlur:r,"aria-labelledby":`${G.value}-label`},ge,L),null);return I(Se,null,[e.prefix&&I("span",{class:"v-text-field__prefix"},[I("span",{class:"v-text-field__prefix__text"},[e.prefix])]),It(a.default?I("div",{class:ue(Y),"data-no-activator":""},[a.default({id:G}),_e]):An(_e,{class:Y}),[[li,c,null,{once:!0}]]),e.suffix&&I("span",{class:"v-text-field__suffix"},[I("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:p?H=>I(Se,null,[a.details?.(H),V&&I(Se,null,[I("span",null,null),y(Pb,{active:e.persistentCounter||o.value,value:u.value,max:d.value,disabled:e.disabled},a.counter)])]):void 0})}),Oi({},v,g,m)}}),Fb=z({renderless:Boolean,...Ce()},"VVirtualScrollItem"),Bb=re()({name:"VVirtualScrollItem",inheritAttrs:!1,props:Fb(),emits:{"update:height":e=>!0},setup(e,t){let{attrs:n,emit:l,slots:a}=t;const{resizeRef:i,contentRect:o}=rl(void 0,"border");oe(()=>o.value?.height,s=>{s!=null&&l("update:height",s)}),we(()=>e.renderless?I(Se,null,[a.default?.({itemRef:i})]):I("div",ce({ref:i,class:["v-virtual-scroll__item",e.class],style:e.style},n),[a.default?.()]))}}),Rb=-1,Nb=1,oo=100,Hb=z({itemHeight:{type:[Number,String],default:null},itemKey:{type:[String,Array,Function],default:null},height:[Number,String]},"virtual");function Wb(e,t){const n=Pi(),l=ae(0);ht(()=>{l.value=parseFloat(e.itemHeight||0)});const a=ae(0),i=ae(Math.ceil((parseInt(e.height)||n.height.value)/(l.value||16))||1),o=ae(0),s=ae(0),r=Z(),c=Z();let u=0;const{resizeRef:d,contentRect:f}=rl();ht(()=>{d.value=r.value});const v=T(()=>r.value===document.documentElement?n.height.value:f.value?.height||parseInt(e.height)||0),g=T(()=>!!(r.value&&c.value&&v.value&&l.value));let m=Array.from({length:t.value.length}),k=Array.from({length:t.value.length});const S=ae(0);let w=-1;function b(j){return m[j]||l.value}const C=rh(()=>{const j=performance.now();k[0]=0;const ie=t.value.length;for(let R=1;R<=ie;R++)k[R]=(k[R-1]||0)+b(R-1);S.value=Math.max(S.value,performance.now()-j)},S),E=oe(g,j=>{j&&(E(),u=c.value.offsetTop,C.immediate(),te(),~w&&Ue(()=>{Le&&window.requestAnimationFrame(()=>{ee(w),w=-1})}))});Je(()=>{C.clear()});function A(j,ie){const R=m[j],Y=l.value;l.value=Y?Math.min(l.value,ie):ie,(R!==ie||Y!==l.value)&&(m[j]=ie,C())}function V(j){j=At(j,0,t.value.length);const ie=Math.floor(j),R=j%1,Y=ie+1,ge=k[ie]||0,J=k[Y]||ge;return ge+(J-ge)*R}function p(j){return jb(k,j)}let _=0,L=0,F=0;oe(v,(j,ie)=>{te(),j<ie&&requestAnimationFrame(()=>{L=0,te()})});let O=-1;function $(){if(!r.value||!c.value)return;const j=r.value.scrollTop,ie=performance.now();ie-F>500?(L=Math.sign(j-_),u=c.value.offsetTop):L=j-_,_=j,F=ie,window.clearTimeout(O),O=window.setTimeout(H,500),te()}function H(){!r.value||!c.value||(L=0,F=0,window.clearTimeout(O),te())}let G=-1;function te(){cancelAnimationFrame(G),G=requestAnimationFrame(Q)}function Q(){if(!r.value||!v.value||!l.value)return;const j=_-u,ie=Math.sign(L),R=Math.max(0,j-oo),Y=At(p(R),0,t.value.length),ge=j+v.value+oo,J=At(p(ge)+1,Y+1,t.value.length);if((ie!==Rb||Y<a.value)&&(ie!==Nb||J>i.value)){const _e=V(a.value)-V(Y),q=V(J)-V(i.value);Math.max(_e,q)>oo?(a.value=Y,i.value=J):(Y<=0&&(a.value=Y),J>=t.value.length&&(i.value=J))}o.value=V(a.value),s.value=V(t.value.length)-V(i.value)}function ee(j){const ie=V(j);!r.value||j&&!ie?w=j:r.value.scrollTop=ie}const pe=T(()=>t.value.slice(a.value,i.value).map((j,ie)=>{const R=ie+a.value;return{raw:j,index:R,key:Ht(j,e.itemKey,R)}}));return oe(t,()=>{m=Array.from({length:t.value.length}),k=Array.from({length:t.value.length}),C.immediate(),te()},{deep:1}),{calculateVisibleItems:te,containerRef:r,markerRef:c,computedItems:pe,paddingTop:o,paddingBottom:s,scrollToIndex:ee,handleScroll:$,handleScrollend:H,handleItemResize:A}}function jb(e,t){let n=e.length-1,l=0,a=0,i=null,o=-1;if(e[n]<t)return n;for(;l<=n;)if(a=l+n>>1,i=e[a],i>t)n=a-1;else if(i<t)o=a,l=a+1;else return i===t?a:l;return o}const zb=z({items:{type:Array,default:()=>[]},renderless:Boolean,...Hb(),...Ce(),...Ft()},"VVirtualScroll"),Ub=re()({name:"VVirtualScroll",props:zb(),setup(e,t){let{slots:n}=t;const l=Xe("VVirtualScroll"),{dimensionStyles:a}=Bt(e),{calculateVisibleItems:i,containerRef:o,markerRef:s,handleScroll:r,handleScrollend:c,handleItemResize:u,scrollToIndex:d,paddingTop:f,paddingBottom:v,computedItems:g}=Wb(e,M(()=>e.items));return Lt(()=>e.renderless,()=>{function m(){const S=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)?"addEventListener":"removeEventListener";o.value===document.documentElement?(document[S]("scroll",r,{passive:!0}),document[S]("scrollend",c)):(o.value?.[S]("scroll",r,{passive:!0}),o.value?.[S]("scrollend",c))}Dt(()=>{o.value=Vd(l.vnode.el,!0),m(!0)}),Je(m)}),we(()=>{const m=g.value.map(k=>y(Bb,{key:k.key,renderless:e.renderless,"onUpdate:height":S=>u(k.index,S)},{default:S=>n.default?.({item:k.raw,index:k.index,...S})}));return e.renderless?I(Se,null,[I("div",{ref:s,class:"v-virtual-scroll__spacer",style:{paddingTop:se(f.value)}},null),m,I("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:se(v.value)}},null)]):I("div",{ref:o,class:ue(["v-virtual-scroll",e.class]),onScrollPassive:r,onScrollend:c,style:xe([a.value,e.style])},[I("div",{ref:s,class:"v-virtual-scroll__container",style:{paddingTop:se(f.value),paddingBottom:se(v.value)}},[m])])}),{calculateVisibleItems:i,scrollToIndex:d}}});function Kb(e,t){const n=ae(!1);let l;function a(s){cancelAnimationFrame(l),n.value=!0,l=requestAnimationFrame(()=>{l=requestAnimationFrame(()=>{n.value=!1})})}async function i(){await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>requestAnimationFrame(s)),await new Promise(s=>{if(n.value){const r=oe(n,()=>{r(),s()})}else s()})}async function o(s){if(s.key==="Tab"&&t.value?.focus(),!["PageDown","PageUp","Home","End"].includes(s.key))return;const r=e.value?.$el;if(!r)return;(s.key==="Home"||s.key==="End")&&r.scrollTo({top:s.key==="Home"?0:r.scrollHeight,behavior:"smooth"}),await i();const c=r.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(s.key==="PageDown"||s.key==="Home"){const u=r.getBoundingClientRect().top;for(const d of c)if(d.getBoundingClientRect().top>=u){d.focus();break}}else{const u=r.getBoundingClientRect().bottom;for(const d of[...c].reverse())if(d.getBoundingClientRect().bottom<=u){d.focus();break}}}return{onScrollPassive:a,onKeydown:o}}const Gb=z({closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"}},"autocomplete");function Yb(e,t){const n=rn(),l=T(()=>`menu-${n}`);return{menuId:l,ariaExpanded:M(()=>nt(t)),ariaControls:M(()=>l.value)}}const qb=z({chips:Boolean,closableChips:Boolean,eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,listProps:{type:Object},menu:Boolean,menuIcon:{type:Ve,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,noAutoScroll:Boolean,...Gb(),...zf({itemChildren:!1})},"Select"),Xb=z({...qb(),...$t(iv({modelValue:null,role:"combobox"}),["validationValue","dirty"]),..._a({transition:{component:ws}})},"VSelect"),Ql=re()({name:"VSelect",props:Xb(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:n}=t;const{t:l}=ki(),a=Z(),i=Z(),o=Z(),{items:s,transformIn:r,transformOut:c}=eb(e),u=qe(e,"modelValue",[],J=>r(J===null?[null]:zt(J)),J=>{const _e=c(J);return e.multiple?_e:_e[0]??null}),d=T(()=>typeof e.counterValue=="function"?e.counterValue(u.value):typeof e.counterValue=="number"?e.counterValue:u.value.length),f=Tf(e),v=av(e),g=T(()=>u.value.map(J=>J.value)),m=ae(!1),k=M(()=>e.closableChips&&!f.isReadonly.value&&!f.isDisabled.value),{InputIcon:S}=ks(e);let w="",b=0,C;const E=T(()=>e.hideSelected?s.value.filter(J=>!u.value.some(_e=>(e.valueComparator||Ot)(_e,J))):s.value),A=T(()=>e.hideNoData&&!E.value.length||f.isReadonly.value||f.isDisabled.value),V=qe(e,"menu"),p=T({get:()=>V.value,set:J=>{V.value&&!J&&i.value?.ΨopenChildren.size||J&&A.value||(V.value=J)}}),{menuId:_,ariaExpanded:L,ariaControls:F}=Yb(e,p),O=T(()=>({...e.menuProps,activatorProps:{...e.menuProps?.activatorProps||{},"aria-haspopup":"listbox"}})),$=Z(),H=Kb($,a);function G(J){e.openOnClear&&(p.value=!0)}function te(){A.value||(p.value=!p.value)}function Q(J){Pr(J)&&ee(J)}function ee(J){if(!J.key||f.isReadonly.value)return;if(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(J.key)&&J.preventDefault(),["Enter","ArrowDown"," "].includes(J.key)&&(p.value=!0),["Escape","Tab"].includes(J.key)&&(p.value=!1),e.clearable&&J.key==="Backspace"){J.preventDefault(),u.value=[],G();return}J.key==="Home"?$.value?.focus("first"):J.key==="End"&&$.value?.focus("last");const _e=1e3;if(!Pr(J))return;const q=performance.now();q-C>_e&&(w="",b=0),w+=J.key.toLowerCase(),C=q;const ke=E.value;function Qe(){let P=We();return P||w.at(-1)===w.at(-2)&&(w=w.slice(0,-1),b++,P=We(),P)||(b=0,P=We(),P)?P:(w=J.key.toLowerCase(),We())}function We(){for(let P=b;P<ke.length;P++){const N=ke[P];if(N.title.toLowerCase().startsWith(w))return[N,P]}}const St=Qe();if(!St)return;const[h,x]=St;b=x,$.value?.focus(x),e.multiple||(u.value=[h])}function pe(J){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!J.props.disabled)if(e.multiple){const q=u.value.findIndex(Qe=>(e.valueComparator||Ot)(Qe.value,J.value)),ke=_e??!~q;if(~q){const Qe=ke?[...u.value,J]:[...u.value];Qe.splice(q,1),u.value=Qe}else ke&&(u.value=[...u.value,J])}else{const q=_e!==!1;u.value=q?[J]:[],Ue(()=>{p.value=!1})}}function j(J){$.value?.$el.contains(J.relatedTarget)||(p.value=!1)}function ie(){e.eager&&o.value?.calculateVisibleItems()}function R(){m.value&&a.value?.focus()}function Y(J){m.value=!0}function ge(J){if(J==null)u.value=[];else if(Xa(a.value,":autofill")||Xa(a.value,":-webkit-autofill")){const _e=s.value.find(q=>q.title===J);_e&&pe(_e)}else a.value&&(a.value.value="")}return oe(p,()=>{if(!e.hideSelected&&p.value&&u.value.length){const J=E.value.findIndex(_e=>u.value.some(q=>(e.valueComparator||Ot)(q.value,_e.value)));Le&&!e.noAutoScroll&&window.requestAnimationFrame(()=>{J>=0&&o.value?.scrollToIndex(J)})}}),oe(s,(J,_e)=>{p.value||m.value&&e.hideNoData&&!_e.length&&J.length&&(p.value=!0)}),we(()=>{const J=!!(e.chips||n.chip),_e=!!(!e.hideNoData||E.value.length||n["prepend-item"]||n["append-item"]||n["no-data"]),q=u.value.length>0,ke=Jn.filterProps(e),Qe=q||!m.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return y(Jn,ce({ref:a},ke,{modelValue:u.value.map(We=>We.props.title).join(", "),name:void 0,"onUpdate:modelValue":ge,focused:m.value,"onUpdate:focused":We=>m.value=We,validationValue:u.externalValue,counterValue:d.value,dirty:q,class:["v-select",{"v-select--active-menu":p.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":u.value.length,"v-select--selection-slot":!!n.selection},e.class],style:e.style,inputmode:"none",placeholder:Qe,"onClick:clear":G,"onMousedown:control":te,onBlur:j,onKeydown:ee,"aria-expanded":L.value,"aria-controls":F.value}),{...n,default:We=>{let{id:St}=We;return I(Se,null,[I("select",{hidden:!0,multiple:e.multiple,name:v.fieldName.value},[s.value.map(h=>I("option",{key:h.value,value:h.value,selected:g.value.includes(h.value)},null))]),y(Eb,ce({id:_.value,ref:i,modelValue:p.value,"onUpdate:modelValue":h=>p.value=h,activator:"parent",contentClass:"v-select__content",disabled:A.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterEnter:ie,onAfterLeave:R},O.value),{default:()=>[_e&&y(ai,ce({ref:$,selected:g.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:h=>h.preventDefault(),onKeydown:Q,onFocusin:Y,tabindex:"-1",selectable:!!E.value.length,"aria-live":"polite","aria-labelledby":`${St.value}-label`,"aria-multiselectable":e.multiple,color:e.itemColor??e.color},H,e.listProps),{default:()=>[n["prepend-item"]?.(),!E.value.length&&!e.hideNoData&&(n["no-data"]?.()??y(Tt,{key:"no-data",title:l(e.noDataText)},null)),y(Ub,{ref:o,renderless:!0,items:E.value,itemKey:"value"},{default:h=>{let{item:x,index:P,itemRef:N}=h;const D=fh(x.props),B=ce(x.props,{ref:N,key:x.value,onClick:()=>pe(x,null),"aria-posinset":P+1,"aria-setsize":E.value.length});return x.type==="divider"?n.divider?.({props:x.raw,index:P})??y(As,ce(x.props,{key:`divider-${P}`}),null):x.type==="subheader"?n.subheader?.({props:x.raw,index:P})??y(Wf,ce(x.props,{key:`subheader-${P}`}),null):n.item?.({item:x,index:P,props:B})??y(Tt,ce(B,{role:"option"}),{prepend:U=>{let{isSelected:X}=U;return I(Se,null,[e.multiple&&!e.hideSelected?y(Ip,{key:x.value,modelValue:X,ripple:!1,tabindex:"-1","aria-hidden":!0,onClick:K=>K.preventDefault()},null):void 0,D.prependAvatar&&y(ul,{image:D.prependAvatar},null),D.prependIcon&&y(Ne,{icon:D.prependIcon},null)])}})}}),n["append-item"]?.()]})]}),u.value.map((h,x)=>{function P(U){U.stopPropagation(),U.preventDefault(),pe(h,!1)}const N=ce(Zn.filterProps(h.props),{"onClick:close":P,onKeydown(U){U.key!=="Enter"&&U.key!==" "||(U.preventDefault(),U.stopPropagation(),P(U))},onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0}),D=J?!!n.chip:!!n.selection,B=D?bd(J?n.chip({item:h,index:x,props:N}):n.selection({item:h,index:x})):void 0;if(!(D&&!B))return I("div",{key:h.value,class:"v-select__selection"},[J?n.chip?y(ze,{key:"chip-defaults",defaults:{VChip:{closable:k.value,size:"small",text:h.title}}},{default:()=>[B]}):y(Zn,ce({key:"chip",closable:k.value,size:"small",text:h.title,disabled:h.props.disabled},N),null):B??I("span",{class:"v-select__selection-text"},[h.title,e.multiple&&x<u.value.length-1&&I("span",{class:"v-select__selection-comma"},[Oe(",")])])])})])},"append-inner":function(){for(var We=arguments.length,St=new Array(We),h=0;h<We;h++)St[h]=arguments[h];return I(Se,null,[n["append-inner"]?.(...St),e.menuIcon?y(Ne,{class:"v-select__menu-icon",color:a.value?.fieldIconColor,icon:e.menuIcon,"aria-hidden":!0},null):void 0,e.appendInnerIcon&&y(S,{key:"append-icon",name:"appendInner",color:St[0].iconColor.value},null)])}})}),Oi({isFocused:m,menu:p,select:pe},a)}}),Zb=z({color:String,...dn(),...Ce(),...Ft(),...mn(),...Ca(),...Ai(),...pt(),...De(),...Ye()},"VSheet"),ov=re()({name:"VSheet",props:Zb(),setup(e,t){let{slots:n}=t;const{themeClasses:l}=tt(e),{backgroundColorClasses:a,backgroundColorStyles:i}=Mt(()=>e.color),{borderClasses:o}=fn(e),{dimensionStyles:s}=Bt(e),{elevationClasses:r}=gn(e),{locationStyles:c}=xa(e),{positionClasses:u}=Ii(e),{roundedClasses:d}=bt(e);return we(()=>y(e.tag,{class:ue(["v-sheet",l.value,a.value,o.value,r.value,u.value,d.value,e.class]),style:xe([i.value,s.value,c.value,e.style])},n)),{}}}),Jb={key:0,class:"text-center text-grey mt-16"},Qb={class:"font-weight-medium"},e0={class:"text-grey ml-2 text-caption"},t0={class:"d-flex flex-wrap ga-3"},n0={class:"d-flex flex-wrap align-center justify-center ga-4 mb-3"},l0={class:"d-flex align-center ga-2"},a0={class:"d-flex align-center ga-2"},i0={class:"resolution-grid rounded border pa-2"},o0={class:"text-caption text-grey text-uppercase resolution-label"},s0={class:"d-flex align-center ga-2"},r0={class:"d-flex align-center ga-2"},u0={class:"d-flex ga-3 mx-auto",style:{"max-width":"800px"}},c0=Tl({__name:"GenerateView",setup(e){const t=ad(),n=Z(""),l=Z(!1),a=Z([]),i=T(()=>t.models.map(c=>({title:c.name,value:c.path}))),o=T(()=>[{title:"None",value:""},...t.loras.map(c=>({title:c.name,value:c.path}))]);async function s(c){if(c&&c!==t.activeModel)try{await t.switchModel(c)}catch(u){console.error(u)}}async function r(){if(!n.value.trim()||l.value)return;const c=n.value.trim();n.value="",l.value=!0;let u=c;if(t.selectedLora){const m=t.loras.find(k=>k.path===t.selectedLora)?.name;m&&(u=`<lora:${m}:${t.loraWeight}> ${c}`)}const{width:d,height:f}=t.resolution,v=`${d}×${f}, ${t.steps} steps${t.batchSize>1?`, batch ${t.batchSize}`:""}${t.selectedLora?", +LoRA":""}`,g=et({prompt:c,params:v,images:[],loading:!0});a.value.push(g);try{for(let m=0;m<t.batchSize;m++){const k=await Qg({prompt:u,width:d,height:f,steps:t.steps,seed:-1,save_to_gallery:!0});g.images.push(...k.images)}}catch(m){console.error("Generate error:",m),g.error=m.message||"Generation failed"}finally{g.loading=!1,l.value=!1}}return(c,u)=>(he(),Ge(Vl,{fluid:"",class:"fill-height pa-0 d-flex flex-column"},{default:le(()=>[y(Vl,{fluid:"",class:"flex-grow-1 overflow-y-auto pa-4"},{default:le(()=>[a.value.length===0?(he(),je("div",Jb,[y(Ne,{size:"64",color:"grey-darken-1"},{default:le(()=>[...u[7]||(u[7]=[Oe("mdi-auto-fix",-1)])]),_:1}),u[8]||(u[8]=I("p",{class:"mt-4"},"Enter a prompt to generate images",-1))])):Nt("",!0),(he(!0),je(Se,null,nn(a.value,(d,f)=>(he(),je("div",{key:f,class:"mb-6"},[y(Zn,{color:"primary",variant:"tonal",class:"mb-3"},{default:le(()=>[I("span",Qb,Re(d.prompt),1),I("span",e0,"["+Re(d.params)+"]",1)]),_:2},1024),I("div",t0,[d.loading?(he(!0),je(Se,{key:0},nn(Ae(t).batchSize-d.images.length,v=>(he(),Ge(Il,{key:"loading-"+v,width:"200",height:"200",class:"d-flex align-center justify-center"},{default:le(()=>[y(Al,{indeterminate:"",color:"primary"})]),_:1}))),128)):Nt("",!0),(he(!0),je(Se,null,nn(d.images,v=>(he(),Ge(Il,{key:v.id,width:"200",height:"200",class:"overflow-hidden"},{default:le(()=>[y(Vn,{src:Co(v.id),cover:"",height:"200"},null,8,["src"])]),_:2},1024))),128)),d.error?(he(),Ge(Wy,{key:1,type:"error",density:"compact"},{default:le(()=>[Oe(Re(d.error),1)]),_:2},1024)):Nt("",!0)])]))),128))]),_:1}),y(ov,{class:"border-t px-4 py-3"},{default:le(()=>[I("div",n0,[I("div",l0,[u[9]||(u[9]=I("span",{class:"text-caption text-grey text-uppercase"},"Model",-1)),y(Ql,{modelValue:Ae(t).selectedModel,"onUpdate:modelValue":[u[0]||(u[0]=d=>Ae(t).selectedModel=d),s],items:i.value,loading:Ae(t).switchingModel,disabled:Ae(t).switchingModel||l.value,density:"compact","hide-details":"",style:{width:"200px"}},null,8,["modelValue","items","loading","disabled"])]),I("div",a0,[u[10]||(u[10]=I("span",{class:"text-caption text-grey text-uppercase"},"LoRA",-1)),y(Ql,{modelValue:Ae(t).selectedLora,"onUpdate:modelValue":u[1]||(u[1]=d=>Ae(t).selectedLora=d),items:o.value,disabled:l.value,density:"compact","hide-details":"",style:{width:"150px"}},null,8,["modelValue","items","disabled"]),y(Jn,{modelValue:Ae(t).loraWeight,"onUpdate:modelValue":u[2]||(u[2]=d=>Ae(t).loraWeight=d),modelModifiers:{number:!0},type:"number",min:"0",max:"2",step:"0.1",density:"compact","hide-details":"",style:{width:"70px"},disabled:!Ae(t).selectedLora||l.value},null,8,["modelValue","disabled"])]),I("div",i0,[(he(!0),je(Se,null,nn(Ae(t).presetGroups,d=>(he(),je("div",{key:d.label,class:"d-flex align-center ga-2"},[I("span",o0,Re(d.label),1),y(dy,{modelValue:Ae(t).selectedPreset,"onUpdate:modelValue":u[3]||(u[3]=f=>Ae(t).selectedPreset=f),mandatory:"",density:"compact",disabled:l.value,class:"resolution-row"},{default:le(()=>[(he(!0),je(Se,null,nn(d.presets,f=>(he(),Ge(Wt,{key:f.id,value:f.id,size:"small",class:"resolution-btn"},{default:le(()=>[Oe(Re(f.label),1)]),_:2},1032,["value"]))),128))]),_:2},1032,["modelValue","disabled"])]))),128))]),I("div",s0,[u[11]||(u[11]=I("span",{class:"text-caption text-grey text-uppercase"},"Steps",-1)),y(Jn,{modelValue:Ae(t).steps,"onUpdate:modelValue":u[4]||(u[4]=d=>Ae(t).steps=d),modelModifiers:{number:!0},type:"number",min:"1",max:"50",density:"compact","hide-details":"",style:{width:"70px"},disabled:l.value},null,8,["modelValue","disabled"])]),I("div",r0,[u[12]||(u[12]=I("span",{class:"text-caption text-grey text-uppercase"},"Batch",-1)),y(Jn,{modelValue:Ae(t).batchSize,"onUpdate:modelValue":u[5]||(u[5]=d=>Ae(t).batchSize=d),modelModifiers:{number:!0},type:"number",min:"1",max:"8",density:"compact","hide-details":"",style:{width:"70px"},disabled:l.value},null,8,["modelValue","disabled"])])]),I("div",u0,[y(Jn,{modelValue:n.value,"onUpdate:modelValue":u[6]||(u[6]=d=>n.value=d),placeholder:"Describe what you want to generate...",density:"comfortable","hide-details":"",disabled:l.value,onKeydown:Jc(r,["enter"])},null,8,["modelValue","disabled"]),y(Wt,{color:"secondary",size:"large",loading:l.value,disabled:!n.value.trim(),onClick:r},{default:le(()=>[...u[13]||(u[13]=[Oe(" Generate ",-1)])]),_:1},8,["loading","disabled"])])]),_:1})]),_:1}))}}),Li=(e,t)=>{const n=e.__vccOpts||e;for(const[l,a]of t)n[l]=a;return n},d0=Li(c0,[["__scopeId","data-v-9139c51c"]]),f0=z({fullscreen:Boolean,scrollable:Boolean,...$t(Ps({captureFocus:!0,origin:"center center",scrollStrategy:"block",transition:{component:ws},zIndex:2400,retainFocus:!0}),["disableInitialFocus"])},"VDialog"),sv=re()({name:"VDialog",props:f0(),emits:{"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{emit:n,slots:l}=t;const a=qe(e,"modelValue"),{scopeId:i}=Mi(),o=Z();function s(){n("afterEnter"),(e.scrim||e.retainFocus)&&o.value?.contentEl&&!o.value.contentEl.contains(document.activeElement)&&o.value.contentEl.focus({preventScroll:!0})}function r(){n("afterLeave")}return oe(a,async c=>{c||(await Ue(),o.value.activatorEl?.focus({preventScroll:!0}))}),we(()=>{const c=oi.filterProps(e),u=ce({"aria-haspopup":"dialog"},e.activatorProps),d=ce({tabindex:-1},e.contentProps);return y(oi,ce({ref:o,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},c,{modelValue:a.value,"onUpdate:modelValue":f=>a.value=f,"aria-modal":"true",activatorProps:u,contentProps:d,height:e.fullscreen?void 0:e.height,width:e.fullscreen?void 0:e.width,maxHeight:e.fullscreen?void 0:e.maxHeight,maxWidth:e.fullscreen?void 0:e.maxWidth,role:"dialog",onAfterEnter:s,onAfterLeave:r},i),{activator:l.activator,default:function(){for(var f=arguments.length,v=new Array(f),g=0;g<f;g++)v[g]=arguments[g];return y(ze,{root:"VDialog"},{default:()=>[l.default?.(...v)]})}})}),Oi({},o)}}),v0={class:"d-flex align-center justify-center fill-height"},m0={class:"text-body-1 font-weight-medium mb-2 text-truncate-2"},g0={class:"d-flex flex-wrap ga-1 mb-2"},h0={class:"d-flex ga-3 text-caption text-grey"},y0={class:"d-flex align-center ga-1"},p0={class:"d-flex align-center ga-1"},b0={class:"text-caption text-grey"},S0={key:0,class:"text-center py-8"},w0={key:0,class:"mb-4"},C0={class:"d-flex ga-2 overflow-x-auto pb-2"},x0={key:1,class:"mt-4"},_0={key:2,class:"mt-4"},k0=Tl({__name:"ModelCard",props:{model:{}},setup(e){const t=e,n=Z(!1),l=Z(!1),a=Z(null),i=T(()=>t.model.modelVersions?.[0]?.images?.[0]?.url||""),o=T(()=>t.model.modelVersions?.[0]?.baseModel||""),s=T(()=>a.value?.modelVersions?.[0]?.trainedWords||[]);function r(d){return d>=1e6?(d/1e6).toFixed(1)+"M":d>=1e3?(d/1e3).toFixed(1)+"K":String(d)}async function c(){n.value=!0,l.value=!0;try{a.value=await lh(t.model.id)}catch(d){console.error("Failed to load model details:",d)}finally{l.value=!1}}async function u(d){if(confirm(`Download "${t.model.name}" to the server?`))try{await ah(void 0,d),alert("Download started! Check server for progress.")}catch(f){alert("Download failed: "+f.message)}}return(d,f)=>(he(),je(Se,null,[y(Il,{class:"model-card",onClick:c},{default:le(()=>[y(Vn,{src:i.value,height:"180",cover:"",class:"bg-grey-darken-3"},{placeholder:le(()=>[I("div",v0,[y(Ne,{size:"48",color:"grey"},{default:le(()=>[...f[3]||(f[3]=[Oe("mdi-image",-1)])]),_:1})])]),_:1},8,["src"]),y(Mo,{class:"pb-2"},{default:le(()=>[I("h4",m0,Re(e.model.name),1),I("div",g0,[y(Zn,{size:"x-small",color:"primary",variant:"flat"},{default:le(()=>[Oe(Re(e.model.type),1)]),_:1}),o.value?(he(),Ge(Zn,{key:0,size:"x-small",variant:"outlined"},{default:le(()=>[Oe(Re(o.value),1)]),_:1})):Nt("",!0),e.model.nsfw?(he(),Ge(Zn,{key:1,size:"x-small",color:"error",variant:"flat"},{default:le(()=>[...f[4]||(f[4]=[Oe(" NSFW ",-1)])]),_:1})):Nt("",!0)]),I("div",h0,[I("span",y0,[y(Ne,{size:"14"},{default:le(()=>[...f[5]||(f[5]=[Oe("mdi-download",-1)])]),_:1}),Oe(" "+Re(r(e.model.stats?.downloadCount||0)),1)]),I("span",p0,[y(Ne,{size:"14"},{default:le(()=>[...f[6]||(f[6]=[Oe("mdi-thumb-up",-1)])]),_:1}),Oe(" "+Re(r(e.model.stats?.thumbsUpCount||0)),1)])])]),_:1}),y(As),y(Yd,{class:"px-3"},{default:le(()=>[I("span",b0," by "+Re(e.model.creator?.username||"Unknown"),1),y(Do),y(Wt,{size:"small",color:"primary",variant:"flat",onClick:f[0]||(f[0]=Dg(v=>u(e.model.modelVersions?.[0]?.id||0),["stop"]))},{default:le(()=>[...f[7]||(f[7]=[Oe(" Download ",-1)])]),_:1})]),_:1})]),_:1}),y(sv,{modelValue:n.value,"onUpdate:modelValue":f[2]||(f[2]=v=>n.value=v),"max-width":"600"},{default:le(()=>[y(Il,null,{default:le(()=>[y(qd,{class:"d-flex align-center"},{default:le(()=>[Oe(Re(e.model.name)+" ",1),y(Do),y(Wt,{icon:"mdi-close",variant:"text",onClick:f[1]||(f[1]=v=>n.value=!1)})]),_:1}),y(Mo,null,{default:le(()=>[l.value?(he(),je("div",S0,[y(Al,{indeterminate:"",color:"primary"})])):a.value?(he(),je(Se,{key:1},[a.value.modelVersions?.[0]?.images?.length?(he(),je("div",w0,[I("div",C0,[(he(!0),je(Se,null,nn(a.value.modelVersions[0].images.slice(0,6),(v,g)=>(he(),Ge(Vn,{key:g,src:v.url,width:"120",height:"120",cover:"",class:"rounded flex-shrink-0"},null,8,["src"]))),128))])])):Nt("",!0),y(ai,{density:"compact"},{default:le(()=>[y(Tt,null,{prepend:le(()=>[...f[8]||(f[8]=[I("span",{class:"text-grey mr-4"},"Type",-1)])]),default:le(()=>[Oe(" "+Re(a.value.type),1)]),_:1}),y(Tt,null,{prepend:le(()=>[...f[9]||(f[9]=[I("span",{class:"text-grey mr-4"},"Creator",-1)])]),default:le(()=>[Oe(" "+Re(a.value.creator?.username||"Unknown"),1)]),_:1}),y(Tt,null,{prepend:le(()=>[...f[10]||(f[10]=[I("span",{class:"text-grey mr-4"},"Downloads",-1)])]),default:le(()=>[Oe(" "+Re(r(a.value.stats?.downloadCount||0)),1)]),_:1}),y(Tt,null,{prepend:le(()=>[...f[11]||(f[11]=[I("span",{class:"text-grey mr-4"},"Rating",-1)])]),default:le(()=>[Oe(" "+Re(r(a.value.stats?.thumbsUpCount||0))+" likes ",1)]),_:1})]),_:1}),s.value.length?(he(),je("div",x0,[f[12]||(f[12]=I("h4",{class:"text-caption text-grey mb-2"},"TRIGGER WORDS",-1)),(he(!0),je(Se,null,nn(s.value,v=>(he(),Ge(Zn,{key:v,size:"small",class:"mr-1 mb-1"},{default:le(()=>[Oe(Re(v),1)]),_:2},1024))),128))])):Nt("",!0),a.value.modelVersions?.length?(he(),je("div",_0,[f[14]||(f[14]=I("h4",{class:"text-caption text-grey mb-2"},"VERSIONS",-1)),y(ai,{density:"compact",class:"bg-transparent"},{default:le(()=>[(he(!0),je(Se,null,nn(a.value.modelVersions.slice(0,5),v=>(he(),Ge(Tt,{key:v.id,class:"px-0"},{append:le(()=>[y(Wt,{size:"small",color:"primary",variant:"flat",onClick:g=>u(v.id)},{default:le(()=>[...f[13]||(f[13]=[Oe(" Download ",-1)])]),_:1},8,["onClick"])]),default:le(()=>[y(Hf,null,{default:le(()=>[Oe(Re(v.name),1)]),_:2},1024),y(Nf,null,{default:le(()=>[Oe(Re(v.baseModel),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})])):Nt("",!0)],64)):Nt("",!0)]),_:1})]),_:1})]),_:1},8,["modelValue"])],64))}}),A0=Li(k0,[["__scopeId","data-v-6090ce59"]]),I0={class:"d-flex flex-wrap align-center justify-center ga-3 mx-auto",style:{"max-width":"1000px"}},V0={key:0,class:"text-center text-grey mt-16"},E0={key:1,class:"text-center mt-16"},T0={key:2,class:"text-center text-grey mt-16"},P0=Tl({__name:"SearchView",setup(e){const t=Z(""),n=Z(""),l=Z(""),a=Z("Most Downloaded"),i=Z(!1),o=Z([]),s=Z(!1),r=[{title:"All Types",value:""},{title:"Checkpoint",value:"Checkpoint"},{title:"LoRA",value:"LORA"},{title:"LoCon",value:"LoCon"},{title:"Embedding",value:"TextualInversion"},{title:"VAE",value:"VAE"},{title:"ControlNet",value:"Controlnet"}],c=[{title:"All Base Models",value:""},{title:"SD 1.5",value:"SD 1.5"},{title:"SDXL",value:"SDXL 1.0"},{title:"Pony",value:"Pony"},{title:"Illustrious",value:"Illustrious"},{title:"Flux",value:"Flux.1 D"}],u=[{title:"Most Downloaded",value:"Most Downloaded"},{title:"Highest Rated",value:"Highest Rated"},{title:"Newest",value:"Newest"}];async function d(){i.value=!0,s.value=!0;try{const f=await nh({query:t.value||void 0,types:n.value||void 0,baseModels:l.value||void 0,sort:a.value,limit:24});o.value=f.items||[]}catch(f){console.error("Search failed:",f),o.value=[]}finally{i.value=!1}}return(f,v)=>(he(),Ge(Vl,{fluid:"",class:"fill-height pa-0 d-flex flex-column"},{default:le(()=>[y(ov,{class:"border-b pa-4"},{default:le(()=>[I("div",I0,[y(Jn,{modelValue:t.value,"onUpdate:modelValue":v[0]||(v[0]=g=>t.value=g),placeholder:"Search CivitAI models...","prepend-inner-icon":"mdi-magnify",density:"compact","hide-details":"",clearable:"",style:{"min-width":"250px",flex:"1"},onKeydown:Jc(d,["enter"])},null,8,["modelValue"]),y(Ql,{modelValue:n.value,"onUpdate:modelValue":v[1]||(v[1]=g=>n.value=g),items:r,density:"compact","hide-details":"",style:{"min-width":"140px"}},null,8,["modelValue"]),y(Ql,{modelValue:l.value,"onUpdate:modelValue":v[2]||(v[2]=g=>l.value=g),items:c,density:"compact","hide-details":"",style:{"min-width":"150px"}},null,8,["modelValue"]),y(Ql,{modelValue:a.value,"onUpdate:modelValue":v[3]||(v[3]=g=>a.value=g),items:u,density:"compact","hide-details":"",style:{"min-width":"160px"}},null,8,["modelValue"]),y(Wt,{color:"primary",loading:i.value,onClick:d},{default:le(()=>[...v[4]||(v[4]=[Oe(" Search ",-1)])]),_:1},8,["loading"])])]),_:1}),y(Vl,{fluid:"",class:"flex-grow-1 overflow-y-auto pa-4"},{default:le(()=>[s.value?i.value?(he(),je("div",E0,[y(Al,{indeterminate:"",color:"primary",size:"64"}),v[7]||(v[7]=I("p",{class:"mt-4 text-grey"},"Searching...",-1))])):o.value.length===0?(he(),je("div",T0,[y(Ne,{size:"64",color:"grey-darken-1"},{default:le(()=>[...v[8]||(v[8]=[Oe("mdi-magnify-close",-1)])]),_:1}),v[9]||(v[9]=I("p",{class:"mt-4"},"No models found",-1))])):(he(),Ge(xf,{key:3},{default:le(()=>[(he(!0),je(Se,null,nn(o.value,g=>(he(),Ge(gf,{key:g.id,cols:"12",sm:"6",md:"4",lg:"3"},{default:le(()=>[y(A0,{model:g},null,8,["model"])]),_:2},1024))),128))]),_:1})):(he(),je("div",V0,[y(Ne,{size:"64",color:"grey-darken-1"},{default:le(()=>[...v[5]||(v[5]=[Oe("mdi-magnify",-1)])]),_:1}),v[6]||(v[6]=I("p",{class:"mt-4"},"Search for models on CivitAI",-1))]))]),_:1})]),_:1}))}}),O0=Li(P0,[["__scopeId","data-v-7bf82d18"]]),M0=z({text:String,...Ce(),...De()},"VToolbarTitle"),L0=re()({name:"VToolbarTitle",props:M0(),setup(e,t){let{slots:n}=t;return we(()=>{const l=!!(n.default||n.text||e.text);return y(e.tag,{class:ue(["v-toolbar-title",e.class]),style:xe(e.style)},{default:()=>[l&&I("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():e.text,n.default?.()])]})}),{}}}),D0=[null,"prominent","default","comfortable","compact"],$0=z({absolute:Boolean,collapse:Boolean,collapsePosition:{type:String,default:"start"},color:String,density:{type:String,default:"default",validator:e=>D0.includes(e)},extended:{type:Boolean,default:null},extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...dn(),...Ce(),...mn(),...pt(),...De({tag:"header"}),...Ye()},"VToolbar"),F0=re()({name:"VToolbar",props:$0(),setup(e,t){let{slots:n}=t;const{backgroundColorClasses:l,backgroundColorStyles:a}=Mt(()=>e.color),{borderClasses:i}=fn(e),{elevationClasses:o}=gn(e),{roundedClasses:s}=bt(e),{themeClasses:r}=tt(e),{rtlClasses:c}=Rt(),u=ae(e.extended===null?!!n.extension?.():e.extended),d=T(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),f=T(()=>u.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return jn({VBtn:{variant:"text"}}),we(()=>{const v=!!(e.title||n.title),g=!!(n.image||e.image),m=n.extension?.();return u.value=e.extended===null?!!m:e.extended,y(e.tag,{class:ue(["v-toolbar",`v-toolbar--collapse-${e.collapsePosition}`,{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},l.value,i.value,o.value,s.value,r.value,c.value,e.class]),style:xe([a.value,e.style])},{default:()=>[g&&I("div",{key:"image",class:"v-toolbar__image"},[n.image?y(ze,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},n.image):y(Vn,{key:"image-img",cover:!0,src:e.image},null)]),y(ze,{defaults:{VTabs:{height:se(d.value)}}},{default:()=>[I("div",{class:"v-toolbar__content",style:{height:se(d.value)}},[n.prepend&&I("div",{class:"v-toolbar__prepend"},[n.prepend?.()]),v&&y(L0,{key:"title",text:e.title},{text:n.title}),n.default?.(),n.append&&I("div",{class:"v-toolbar__append"},[n.append?.()])])]}),y(ze,{defaults:{VTabs:{height:se(f.value)}}},{default:()=>[y(tf,null,{default:()=>[u.value&&I("div",{class:"v-toolbar__extension",style:{height:se(f.value)}},[m])]})]})]})}),{contentHeight:d,extensionHeight:f}}}),B0={key:0,class:"d-flex align-center justify-center fill-height w-100"},R0={key:1,class:"d-flex flex-column align-center justify-center fill-height w-100 text-grey"},N0={class:"d-flex align-center justify-center fill-height"},H0={class:"flex-grow-1 d-flex align-center justify-center position-relative"},W0=Tl({__name:"GalleryView",setup(e){const t=Z([]),n=Z(!0),l=Z(null),a=Z(!1);async function i(){n.value=!0;try{const u=await eh(100);t.value=u.images||[]}catch(u){console.error("Failed to load gallery:",u)}finally{n.value=!1}}function o(u){l.value=u,a.value=!0}function s(){a.value=!1,l.value=null}function r(u){if(!l.value)return;const d=t.value.findIndex(v=>v.id===l.value);if(d===-1)return;let f;u==="prev"?f=d>0?d-1:t.value.length-1:f=d<t.value.length-1?d+1:0,l.value=t.value[f]?.id??null}async function c(u){if(confirm("Delete this image?"))try{await th(u),t.value=t.value.filter(d=>d.id!==u),l.value===u&&s()}catch(d){alert("Failed to delete: "+d.message)}}return Dt(i),(u,d)=>(he(),Ge(Vl,{fluid:"",class:"fill-height pa-0"},{default:le(()=>[n.value?(he(),je("div",B0,[y(Al,{indeterminate:"",color:"primary",size:"64"})])):t.value.length===0?(he(),je("div",R0,[y(Ne,{size:"64",color:"grey-darken-1"},{default:le(()=>[...d[4]||(d[4]=[Oe("mdi-image-multiple",-1)])]),_:1}),d[5]||(d[5]=I("p",{class:"mt-4"},"No images yet",-1))])):(he(),Ge(Vl,{key:2,fluid:"",class:"pa-4 overflow-y-auto"},{default:le(()=>[y(xf,null,{default:le(()=>[(he(!0),je(Se,null,nn(t.value,f=>(he(),Ge(gf,{key:f.id,cols:"6",sm:"4",md:"3",lg:"2"},{default:le(()=>[y(Il,{class:"gallery-card",onClick:v=>o(f.id)},{default:le(()=>[y(Vn,{src:Co(f.id),"aspect-ratio":"1",cover:"",class:"bg-grey-darken-3"},{placeholder:le(()=>[I("div",N0,[y(Al,{indeterminate:"",color:"primary",size:"24"})])]),_:1},8,["src"])]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1})]),_:1})),y(sv,{modelValue:a.value,"onUpdate:modelValue":d[3]||(d[3]=f=>a.value=f),fullscreen:"",transition:"fade-transition"},{default:le(()=>[y(Il,{class:"bg-black d-flex flex-column"},{default:le(()=>[y(F0,{color:"transparent",density:"compact"},{default:le(()=>[y(Do),y(Wt,{icon:"mdi-delete",variant:"text",onClick:d[0]||(d[0]=f=>l.value&&c(l.value))}),y(Wt,{icon:"mdi-close",variant:"text",onClick:s})]),_:1}),I("div",H0,[y(Wt,{icon:"mdi-chevron-left",variant:"text",size:"x-large",class:"position-absolute",style:{left:"16px"},onClick:d[1]||(d[1]=f=>r("prev"))}),l.value?(he(),Ge(Vn,{key:0,src:Co(l.value),"max-height":"90vh","max-width":"90vw",contain:""},null,8,["src"])):Nt("",!0),y(Wt,{icon:"mdi-chevron-right",variant:"text",size:"x-large",class:"position-absolute",style:{right:"16px"},onClick:d[2]||(d[2]=f=>r("next"))})])]),_:1})]),_:1},8,["modelValue"])]),_:1}))}}),j0=Li(W0,[["__scopeId","data-v-4a8eaf25"]]),si=Symbol.for("vuetify:layout"),rv=Symbol.for("vuetify:layout-item"),Au=1e3,z0=z({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),U0=z({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function K0(){const e=Me(si);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function G0(e){const t=Me(si);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${rn()}`,l=Xe("useLayoutItem");ft(rv,{id:n});const a=ae(!1);ns(()=>a.value=!0),Sc(()=>a.value=!1);const{layoutItemStyles:i,layoutItemScrimStyles:o}=t.register(l,{...e,active:T(()=>a.value?!1:e.active.value),id:n});return yt(()=>t.unregister(n)),{layoutItemStyles:i,layoutRect:t.layoutRect,layoutItemScrimStyles:o}}const Y0=(e,t,n,l)=>{let a={top:0,left:0,right:0,bottom:0};const i=[{id:"",layer:{...a}}];for(const o of e){const s=t.get(o),r=n.get(o),c=l.get(o);if(!s||!r||!c)continue;const u={...a,[s.value]:parseInt(a[s.value],10)+(c.value?parseInt(r.value,10):0)};i.push({id:o,layer:u}),a=u}return i};function q0(e){const t=Me(si,null),n=T(()=>t?t.rootZIndex.value-100:Au),l=Z([]),a=et(new Map),i=et(new Map),o=et(new Map),s=et(new Map),r=et(new Map),{resizeRef:c,contentRect:u}=rl(),d=T(()=>{const A=new Map,V=e.overlaps??[];for(const p of V.filter(_=>_.includes(":"))){const[_,L]=p.split(":");if(!l.value.includes(_)||!l.value.includes(L))continue;const F=a.get(_),O=a.get(L),$=i.get(_),H=i.get(L);!F||!O||!$||!H||(A.set(L,{position:F.value,amount:parseInt($.value,10)}),A.set(_,{position:O.value,amount:-parseInt(H.value,10)}))}return A}),f=T(()=>{const A=[...new Set([...o.values()].map(p=>p.value))].sort((p,_)=>p-_),V=[];for(const p of A){const _=l.value.filter(L=>o.get(L)?.value===p);V.push(..._)}return Y0(V,a,i,s)}),v=T(()=>!Array.from(r.values()).some(A=>A.value)),g=T(()=>f.value[f.value.length-1].layer),m=M(()=>({"--v-layout-left":se(g.value.left),"--v-layout-right":se(g.value.right),"--v-layout-top":se(g.value.top),"--v-layout-bottom":se(g.value.bottom),...v.value?void 0:{transition:"none"}})),k=T(()=>f.value.slice(1).map((A,V)=>{let{id:p}=A;const{layer:_}=f.value[V],L=i.get(p),F=a.get(p);return{id:p,..._,size:Number(L.value),position:F.value}})),S=A=>k.value.find(V=>V.id===A),w=Xe("createLayout"),b=ae(!1);return Dt(()=>{b.value=!0}),ft(si,{register:(A,V)=>{let{id:p,order:_,position:L,layoutSize:F,elementSize:O,active:$,disableTransitions:H,absolute:G}=V;o.set(p,_),a.set(p,L),i.set(p,F),s.set(p,$),H&&r.set(p,H);const Q=yl(rv,w?.vnode).indexOf(A);Q>-1?l.value.splice(Q,0,p):l.value.push(p);const ee=T(()=>k.value.findIndex(R=>R.id===p)),pe=T(()=>n.value+f.value.length*2-ee.value*2),j=T(()=>{const R=L.value==="left"||L.value==="right",Y=L.value==="right",ge=L.value==="bottom",J=O.value??F.value,_e=J===0?"%":"px",q={[L.value]:0,zIndex:pe.value,transform:`translate${R?"X":"Y"}(${($.value?0:-(J===0?100:J))*(Y||ge?-1:1)}${_e})`,position:G.value||n.value!==Au?"absolute":"fixed",...v.value?void 0:{transition:"none"}};if(!b.value)return q;const ke=k.value[ee.value],Qe=d.value.get(p);return Qe&&(ke[Qe.position]+=Qe.amount),{...q,height:R?`calc(100% - ${ke.top}px - ${ke.bottom}px)`:O.value?`${O.value}px`:void 0,left:Y?void 0:`${ke.left}px`,right:Y?`${ke.right}px`:void 0,top:L.value!=="bottom"?`${ke.top}px`:void 0,bottom:L.value!=="top"?`${ke.bottom}px`:void 0,width:R?O.value?`${O.value}px`:void 0:`calc(100% - ${ke.left}px - ${ke.right}px)`}}),ie=T(()=>({zIndex:pe.value-1}));return{layoutItemStyles:j,layoutItemScrimStyles:ie,zIndex:pe}},unregister:A=>{o.delete(A),a.delete(A),i.delete(A),s.delete(A),r.delete(A),l.value=l.value.filter(V=>V!==A)},mainRect:g,mainStyles:m,getLayoutItem:S,items:k,layoutRect:u,rootZIndex:n}),{layoutClasses:M(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),layoutStyles:M(()=>({zIndex:t?n.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0})),getLayoutItem:S,items:k,layoutRect:u,layoutRef:c}}const X0=z({...Ce(),...$t(z0(),["fullHeight"]),...Ye()},"VApp"),Z0=re()({name:"VApp",props:X0(),setup(e,t){let{slots:n}=t;const l=tt(e),{layoutClasses:a,getLayoutItem:i,items:o,layoutRef:s}=q0({...e,fullHeight:!0}),{rtlClasses:r}=Rt();return we(()=>I("div",{ref:s,class:ue(["v-application",l.themeClasses.value,a.value,r.value,e.class]),style:xe([e.style])},[I("div",{class:"v-application__wrap"},[n.default?.()])])),{getLayoutItem:i,items:o,theme:l}}}),J0=z({scrollable:Boolean,...Ce(),...Ft(),...De({tag:"main"})},"VMain"),Q0=re()({name:"VMain",props:J0(),setup(e,t){let{slots:n}=t;const{dimensionStyles:l}=Bt(e),{mainStyles:a}=K0(),{ssrBootStyles:i}=Es();return we(()=>y(e.tag,{class:ue(["v-main",{"v-main--scrollable":e.scrollable},e.class]),style:xe([a.value,i.value,l.value,e.style])},{default:()=>[e.scrollable?I("div",{class:"v-main__scroller"},[n.default?.()]):n.default?.()]})),{}}});function eS(e){let{rootEl:t,isSticky:n,layoutItemStyles:l}=e;const a=ae(!1),i=ae(0),o=T(()=>{const c=typeof a.value=="boolean"?"top":a.value;return[n.value?{top:"auto",bottom:"auto",height:void 0}:void 0,a.value?{[c]:se(i.value)}:{top:l.value.top}]});Dt(()=>{oe(n,c=>{c?window.addEventListener("scroll",r,{passive:!0}):window.removeEventListener("scroll",r)},{immediate:!0})}),yt(()=>{window.removeEventListener("scroll",r)});let s=0;function r(){const c=s>window.scrollY?"up":"down",u=t.value.getBoundingClientRect(),d=parseFloat(l.value.top??0),f=window.scrollY-Math.max(0,i.value-d),v=u.height+Math.max(i.value,d)-window.scrollY-window.innerHeight,g=parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y"))||0;u.height<window.innerHeight-d?(a.value="top",i.value=d):c==="up"&&a.value==="bottom"||c==="down"&&a.value==="top"?(i.value=window.scrollY+u.top-g,a.value=!0):c==="down"&&v<=0?(i.value=0,a.value="bottom"):c==="up"&&f<=0&&(g?a.value!=="top"&&(i.value=-f+g+d,a.value="top"):(i.value=u.top+f,a.value="top")),s=window.scrollY}return{isStuck:a,stickyStyles:o}}const tS=100,nS=20;function Iu(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function Vu(e){if(e.length<2)return 0;if(e.length===2)return e[1].t===e[0].t?0:(e[1].d-e[0].d)/(e[1].t-e[0].t);let t=0;for(let n=e.length-1;n>0;n--){if(e[n].t===e[n-1].t)continue;const l=Iu(t),a=(e[n].d-e[n-1].d)/(e[n].t-e[n-1].t);t+=(a-l)*Math.abs(a),n===e.length-1&&(t*=.5)}return Iu(t)*1e3}function lS(){const e={};function t(a){Array.from(a.changedTouches).forEach(i=>{(e[i.identifier]??(e[i.identifier]=new gd(nS))).push([a.timeStamp,i])})}function n(a){Array.from(a.changedTouches).forEach(i=>{delete e[i.identifier]})}function l(a){const i=e[a]?.values().reverse();if(!i)throw new Error(`No samples for touch id ${a}`);const o=i[0],s=[],r=[];for(const c of i){if(o[0]-c[0]>tS)break;s.push({t:c[0],d:c[1].clientX}),r.push({t:c[0],d:c[1].clientY})}return{x:Vu(s),y:Vu(r),get direction(){const{x:c,y:u}=this,[d,f]=[Math.abs(c),Math.abs(u)];return d>f&&c>=0?"right":d>f&&c<=0?"left":f>d&&u>=0?"down":f>d&&u<=0?"up":aS()}}}return{addMovement:t,endTouch:n,getVelocity:l}}function aS(){throw new Error}function iS(e){let{el:t,isActive:n,isTemporary:l,width:a,touchless:i,position:o}=e;Dt(()=>{window.addEventListener("touchstart",w,{passive:!0}),window.addEventListener("touchmove",b,{passive:!1}),window.addEventListener("touchend",C,{passive:!0})}),yt(()=>{window.removeEventListener("touchstart",w),window.removeEventListener("touchmove",b),window.removeEventListener("touchend",C)});const s=T(()=>["left","right"].includes(o.value)),{addMovement:r,endTouch:c,getVelocity:u}=lS();let d=!1;const f=ae(!1),v=ae(0),g=ae(0);let m;function k(A,V){return(o.value==="left"?A:o.value==="right"?document.documentElement.clientWidth-A:o.value==="top"?A:o.value==="bottom"?document.documentElement.clientHeight-A:ml())-(V?a.value:0)}function S(A){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const p=o.value==="left"?(A-g.value)/a.value:o.value==="right"?(document.documentElement.clientWidth-A-g.value)/a.value:o.value==="top"?(A-g.value)/a.value:o.value==="bottom"?(document.documentElement.clientHeight-A-g.value)/a.value:ml();return V?At(p):p}function w(A){if(i.value)return;const V=A.changedTouches[0].clientX,p=A.changedTouches[0].clientY,_=25,L=o.value==="left"?V<_:o.value==="right"?V>document.documentElement.clientWidth-_:o.value==="top"?p<_:o.value==="bottom"?p>document.documentElement.clientHeight-_:ml(),F=n.value&&(o.value==="left"?V<a.value:o.value==="right"?V>document.documentElement.clientWidth-a.value:o.value==="top"?p<a.value:o.value==="bottom"?p>document.documentElement.clientHeight-a.value:ml());(L||F||n.value&&l.value)&&(m=[V,p],g.value=k(s.value?V:p,n.value),v.value=S(s.value?V:p),d=g.value>-20&&g.value<80,c(A),r(A))}function b(A){const V=A.changedTouches[0].clientX,p=A.changedTouches[0].clientY;if(d){if(!A.cancelable){d=!1;return}const L=Math.abs(V-m[0]),F=Math.abs(p-m[1]);(s.value?L>F&&L>3:F>L&&F>3)?(f.value=!0,d=!1):(s.value?F:L)>3&&(d=!1)}if(!f.value)return;A.preventDefault(),r(A);const _=S(s.value?V:p,!1);v.value=Math.max(0,Math.min(1,_)),_>1?g.value=k(s.value?V:p,!0):_<0&&(g.value=k(s.value?V:p,!1))}function C(A){if(d=!1,!f.value)return;r(A),f.value=!1;const V=u(A.changedTouches[0].identifier),p=Math.abs(V.x),_=Math.abs(V.y);(s.value?p>_&&p>400:_>p&&_>3)?n.value=V.direction===({left:"right",right:"left",top:"down",bottom:"up"}[o.value]||ml()):n.value=v.value>.5}const E=T(()=>f.value?{transform:o.value==="left"?`translateX(calc(-100% + ${v.value*a.value}px))`:o.value==="right"?`translateX(calc(100% - ${v.value*a.value}px))`:o.value==="top"?`translateY(calc(-100% + ${v.value*a.value}px))`:o.value==="bottom"?`translateY(calc(100% - ${v.value*a.value}px))`:ml(),transition:"none"}:void 0);return Lt(f,()=>{const A=t.value?.style.transform??null,V=t.value?.style.transition??null;ht(()=>{t.value?.style.setProperty("transform",E.value?.transform||"none"),t.value?.style.setProperty("transition",E.value?.transition||null)}),Je(()=>{t.value?.style.setProperty("transform",A),t.value?.style.setProperty("transition",V)})}),{isDragging:f,dragProgress:v,dragStyles:E}}function ml(){throw new Error}function ka(e){const t=e.slice(-2).toUpperCase();switch(!0){case e==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case e==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE
KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US
VE VI WS YE ZA ZW`.includes(t):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV
MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(t):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS
IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(t):return{firstDay:1,firstWeekSize:4};case"AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY".includes(t):return{firstDay:6,firstWeekSize:1};case t==="MV":return{firstDay:5,firstWeekSize:1};case t==="PT":return{firstDay:0,firstWeekSize:4};default:return null}}function oS(e,t,n){const l=[];let a=[];const i=uv(e),o=cv(e),s=n??ka(t)?.firstDay??0,r=(i.getDay()-s+7)%7,c=(o.getDay()-s+7)%7;for(let u=0;u<r;u++){const d=new Date(i);d.setDate(d.getDate()-(r-u)),a.push(d)}for(let u=1;u<=o.getDate();u++){const d=new Date(e.getFullYear(),e.getMonth(),u);a.push(d),a.length===7&&(l.push(a),a=[])}for(let u=1;u<7-c;u++){const d=new Date(o);d.setDate(d.getDate()+u),a.push(d)}return a.length>0&&l.push(a),l}function ea(e,t,n){let l=(n??ka(t)?.firstDay??0)%7;[0,1,2,3,4,5,6].includes(l)||(l=0);const a=new Date(e);for(;a.getDay()!==l;)a.setDate(a.getDate()-1);return a}function sS(e,t){const n=new Date(e),l=((ka(t)?.firstDay??0)+6)%7;for(;n.getDay()!==l;)n.setDate(n.getDate()+1);return n}function uv(e){return new Date(e.getFullYear(),e.getMonth(),1)}function cv(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function rS(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const uS=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function dv(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(uS.test(e))return rS(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const Eu=new Date(2e3,0,2);function cS(e,t,n){const l=t??ka(e)?.firstDay??0;return ud(7).map(a=>{const i=new Date(Eu);return i.setDate(Eu.getDate()+l+a),new Intl.DateTimeFormat(e,{weekday:n??"narrow"}).format(i)})}function dS(e,t,n,l){const a=dv(e)??new Date,i=l?.[t];if(typeof i=="function")return i(a,t,n);let o={};switch(t){case"fullDate":o={year:"numeric",month:"short",day:"numeric"};break;case"fullDateWithWeekday":o={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const s=a.getDate(),r=new Intl.DateTimeFormat(n,{month:"long"}).format(a);return`${s} ${r}`;case"normalDateWithWeekday":o={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":o={month:"short",day:"numeric"};break;case"year":o={year:"numeric"};break;case"month":o={month:"long"};break;case"monthShort":o={month:"short"};break;case"monthAndYear":o={month:"long",year:"numeric"};break;case"monthAndDate":o={month:"long",day:"numeric"};break;case"weekday":o={weekday:"long"};break;case"weekdayShort":o={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(a.getDate());case"hours12h":o={hour:"numeric",hour12:!0};break;case"hours24h":o={hour:"numeric",hour12:!1};break;case"minutes":o={minute:"numeric"};break;case"seconds":o={second:"numeric"};break;case"fullTime":o={hour:"numeric",minute:"numeric"};break;case"fullTime12h":o={hour:"numeric",minute:"numeric",hour12:!0};break;case"fullTime24h":o={hour:"numeric",minute:"numeric",hour12:!1};break;case"fullDateTime":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"};break;case"fullDateTime12h":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0};break;case"fullDateTime24h":o={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};break;case"keyboardDate":o={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"},new Intl.DateTimeFormat(n,o).format(a).replace(/, /g," ");case"keyboardDateTime12h":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!0},new Intl.DateTimeFormat(n,o).format(a).replace(/, /g," ");case"keyboardDateTime24h":return o={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!1},new Intl.DateTimeFormat(n,o).format(a).replace(/, /g," ");default:o=i??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,o).format(a)}function fS(e,t){const n=e.toJsDate(t),l=n.getFullYear(),a=Er(String(n.getMonth()+1),2,"0"),i=Er(String(n.getDate()),2,"0");return`${l}-${a}-${i}`}function vS(e){const[t,n,l]=e.split("-").map(Number);return new Date(t,n-1,l)}function mS(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function gS(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function ll(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function hS(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function yS(e,t){const n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function va(e){return e.getFullYear()}function pS(e){return e.getMonth()}function bS(e,t,n,l){const a=ka(t),i=n??a?.firstDay??0,o=a?.firstWeekSize??1;return l!==void 0?SS(e,t,i,l):wS(e,t,i,o)}function SS(e,t,n,l){const a=(7+l-n)%7,i=ea(e,t,n),o=ll(i,6);function s(f){return(7+new Date(f,0,1).getDay()-n)%7}let r=va(i);r<va(o)&&s(r+1)<=a&&r++;const c=new Date(r,0,1),u=s(r),d=u<=a?ll(c,-u):ll(c,7-u);return 1+ui(Os(i),ma(d),"weeks")}function wS(e,t,n,l){const a=ea(e,t,n),i=ll(ea(e,t,n),6);function o(d){const f=new Date(d,0,1);return 7-ui(f,ea(f,t,n),"days")}let s=va(a);s<va(i)&&o(s+1)>=l&&s++;const r=new Date(s,0,1),c=o(s),u=c>=l?ll(r,c-7):ll(r,c);return 1+ui(Os(a),ma(u),"weeks")}function CS(e){return e.getDate()}function xS(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function _S(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function kS(e){return e.getHours()}function AS(e){return e.getMinutes()}function IS(e){return new Date(e.getFullYear(),0,1)}function VS(e){return new Date(e.getFullYear(),11,31)}function ES(e,t){return ri(e,t[0])&&OS(e,t[1])}function TS(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function ri(e,t){return e.getTime()>t.getTime()}function PS(e,t){return ri(ma(e),ma(t))}function OS(e,t){return e.getTime()<t.getTime()}function Tu(e,t){return e.getTime()===t.getTime()}function MS(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function LS(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function DS(e,t){return e.getFullYear()===t.getFullYear()}function ui(e,t,n){const l=new Date(e),a=new Date(t);switch(n){case"years":return l.getFullYear()-a.getFullYear();case"quarters":return Math.floor((l.getMonth()-a.getMonth()+(l.getFullYear()-a.getFullYear())*12)/4);case"months":return l.getMonth()-a.getMonth()+(l.getFullYear()-a.getFullYear())*12;case"weeks":return Math.floor((l.getTime()-a.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((l.getTime()-a.getTime())/(1e3*60*60*24));case"hours":return Math.floor((l.getTime()-a.getTime())/(1e3*60*60));case"minutes":return Math.floor((l.getTime()-a.getTime())/(1e3*60));case"seconds":return Math.floor((l.getTime()-a.getTime())/1e3);default:return l.getTime()-a.getTime()}}function $S(e,t){const n=new Date(e);return n.setHours(t),n}function FS(e,t){const n=new Date(e);return n.setMinutes(t),n}function BS(e,t){const n=new Date(e);return n.setMonth(t),n}function RS(e,t){const n=new Date(e);return n.setDate(t),n}function NS(e,t){const n=new Date(e);return n.setFullYear(t),n}function ma(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)}function Os(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}class HS{constructor(t){this.locale=t.locale,this.formats=t.formats}date(t){return dv(t)}toJsDate(t){return t}toISO(t){return fS(this,t)}parseISO(t){return vS(t)}addMinutes(t,n){return mS(t,n)}addHours(t,n){return gS(t,n)}addDays(t,n){return ll(t,n)}addWeeks(t,n){return hS(t,n)}addMonths(t,n){return yS(t,n)}getWeekArray(t,n){const l=n!==void 0?Number(n):void 0;return oS(t,this.locale,l)}startOfWeek(t,n){const l=n!==void 0?Number(n):void 0;return ea(t,this.locale,l)}endOfWeek(t){return sS(t,this.locale)}startOfMonth(t){return uv(t)}endOfMonth(t){return cv(t)}format(t,n){return dS(t,n,this.locale,this.formats)}isEqual(t,n){return Tu(t,n)}isValid(t){return TS(t)}isWithinRange(t,n){return ES(t,n)}isAfter(t,n){return ri(t,n)}isAfterDay(t,n){return PS(t,n)}isBefore(t,n){return!ri(t,n)&&!Tu(t,n)}isSameDay(t,n){return MS(t,n)}isSameMonth(t,n){return LS(t,n)}isSameYear(t,n){return DS(t,n)}setMinutes(t,n){return FS(t,n)}setHours(t,n){return $S(t,n)}setMonth(t,n){return BS(t,n)}setDate(t,n){return RS(t,n)}setYear(t,n){return NS(t,n)}getDiff(t,n,l){return ui(t,n,l)}getWeekdays(t,n){const l=t!==void 0?Number(t):void 0;return cS(this.locale,l,n)}getYear(t){return va(t)}getMonth(t){return pS(t)}getWeek(t,n,l){const a=n!==void 0?Number(n):void 0,i=l!==void 0?Number(l):void 0;return bS(t,this.locale,a,i)}getDate(t){return CS(t)}getNextMonth(t){return xS(t)}getPreviousMonth(t){return _S(t)}getHours(t){return kS(t)}getMinutes(t){return AS(t)}startOfDay(t){return ma(t)}endOfDay(t){return Os(t)}startOfYear(t){return IS(t)}endOfYear(t){return VS(t)}}const WS=Symbol.for("vuetify:date-options"),Pu=Symbol.for("vuetify:date-adapter");function jS(e,t){const n=rt({adapter:HS,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},e);return{options:n,instance:zS(n,t)}}function zS(e,t){const n=et(typeof e.adapter=="function"?new e.adapter({locale:e.locale[t.current.value]??t.current.value,formats:e.formats}):e.adapter);return oe(t.current,l=>{n.locale=e.locale[l]??l??n.locale}),n}const US=["start","end","left","right","top","bottom"],KS=z({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,persistent:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>US.includes(e)},sticky:Boolean,...dn(),...Ce(),...Xf(),...lf({mobile:null}),...mn(),...U0(),...pt(),...$t(Qf(),["disableInitialFocus"]),...De({tag:"nav"}),...Ye()},"VNavigationDrawer"),GS=re()({name:"VNavigationDrawer",props:KS(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,t){let{attrs:n,emit:l,slots:a}=t;const{isRtl:i}=Rt(),{themeClasses:o}=tt(e),{borderClasses:s}=fn(e),{backgroundColorClasses:r,backgroundColorStyles:c}=Mt(()=>e.color),{elevationClasses:u}=gn(e),{displayClasses:d,mobile:f}=Pi(e),{roundedClasses:v}=bt(e),g=Nd(),m=qe(e,"modelValue",null,j=>!!j),{ssrBootStyles:k}=Es(),{scopeId:S}=Mi(),w=Z(),b=ae(!1),{runOpenDelay:C,runCloseDelay:E}=Zf(e,j=>{b.value=j}),A=T(()=>e.rail&&e.expandOnHover&&b.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),V=T(()=>Io(e.location,i.value)),p=M(()=>e.persistent),_=T(()=>!e.permanent&&(f.value||e.temporary)),L=T(()=>e.sticky&&!_.value&&V.value!=="bottom");ev(e,{isActive:m,localTop:_,contentEl:w}),Lt(()=>e.expandOnHover&&e.rail!=null,()=>{oe(b,j=>l("update:rail",!j))}),Lt(()=>!e.disableResizeWatcher,()=>{oe(_,j=>!e.permanent&&Ue(()=>m.value=!j))}),Lt(()=>!e.disableRouteWatcher&&!!g,()=>{oe(g.currentRoute,()=>_.value&&(m.value=!1))}),oe(()=>e.permanent,j=>{j&&(m.value=!0)}),e.modelValue==null&&!_.value&&(m.value=e.permanent||!f.value);const{isDragging:F,dragProgress:O}=iS({el:w,isActive:m,isTemporary:_,width:A,touchless:M(()=>e.touchless),position:V}),$=T(()=>{const j=_.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):A.value;return F.value?j*O.value:j}),{layoutItemStyles:H,layoutItemScrimStyles:G}=G0({id:e.name,order:T(()=>parseInt(e.order,10)),position:V,layoutSize:$,elementSize:A,active:il(m),disableTransitions:M(()=>F.value),absolute:T(()=>e.absolute||L.value&&typeof te.value!="string")}),{isStuck:te,stickyStyles:Q}=eS({rootEl:w,isSticky:L,layoutItemStyles:H}),ee=Mt(()=>typeof e.scrim=="string"?e.scrim:null),pe=T(()=>({...F.value?{opacity:O.value*.2,transition:"none"}:void 0,...G.value}));return jn({VList:{bgColor:"transparent"}}),we(()=>{const j=a.image||e.image;return I(Se,null,[y(e.tag,ce({ref:w,onMouseenter:C,onMouseleave:E,class:["v-navigation-drawer",`v-navigation-drawer--${V.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":b.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":_.value,"v-navigation-drawer--persistent":p.value,"v-navigation-drawer--active":m.value,"v-navigation-drawer--sticky":L.value},o.value,r.value,s.value,d.value,u.value,v.value,e.class],style:[c.value,H.value,k.value,Q.value,e.style],inert:!m.value},S,n),{default:()=>[j&&I("div",{key:"image",class:"v-navigation-drawer__img"},[a.image?y(ze,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{alt:"",cover:!0,height:"inherit",src:e.image}}},a.image):y(Vn,{key:"image-img",alt:"",cover:!0,height:"inherit",src:e.image},null)]),a.prepend&&I("div",{class:"v-navigation-drawer__prepend"},[a.prepend?.()]),I("div",{class:"v-navigation-drawer__content"},[a.default?.()]),a.append&&I("div",{class:"v-navigation-drawer__append"},[a.append?.()])]}),y(Nn,{name:"fade-transition"},{default:()=>[_.value&&(F.value||m.value)&&!!e.scrim&&I("div",ce({class:["v-navigation-drawer__scrim",ee.backgroundColorClasses.value],style:[pe.value,ee.backgroundColorStyles.value],onClick:()=>{p.value||(m.value=!1)}},S),null)]})])}),{isStuck:te}}}),YS=Tl({__name:"App",setup(e){const t=ad();return Dt(()=>{t.loadModels()}),(n,l)=>(he(),Ge(Z0,null,{default:le(()=>[y(GS,{permanent:"",rail:""},{default:le(()=>[y(ai,{density:"compact",nav:""},{default:le(()=>[y(Tt,{active:Ae(t).currentView==="generate",onClick:l[0]||(l[0]=a=>Ae(t).currentView="generate"),"prepend-icon":"mdi-auto-fix",title:"Generate"},null,8,["active"]),y(Tt,{active:Ae(t).currentView==="search",onClick:l[1]||(l[1]=a=>Ae(t).currentView="search"),"prepend-icon":"mdi-magnify",title:"Search"},null,8,["active"]),y(Tt,{active:Ae(t).currentView==="gallery",onClick:l[2]||(l[2]=a=>Ae(t).currentView="gallery"),"prepend-icon":"mdi-image-multiple",title:"Gallery"},null,8,["active"])]),_:1})]),_:1}),y(Q0,null,{default:le(()=>[Ae(t).currentView==="generate"?(he(),Ge(d0,{key:0})):Ae(t).currentView==="search"?(he(),Ge(O0,{key:1})):Ae(t).currentView==="gallery"?(he(),Ge(j0,{key:2})):Nt("",!0)]),_:1})]),_:1}))}}),qS={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",tableGroupCollapse:"mdi-chevron-down",tableGroupExpand:"mdi-chevron-right",eyeDropper:"mdi-eyedropper",upload:"mdi-cloud-upload",color:"mdi-palette",command:"mdi-apple-keyboard-command",ctrl:"mdi-apple-keyboard-control",space:"mdi-keyboard-space",shift:"mdi-apple-keyboard-shift",alt:"mdi-apple-keyboard-option",enter:"mdi-keyboard-return",arrowup:"mdi-arrow-up",arrowdown:"mdi-arrow-down",arrowleft:"mdi-arrow-left",arrowright:"mdi-arrow-right",backspace:"mdi-backspace",play:"mdi-play",pause:"mdi-pause",fullscreen:"mdi-fullscreen",fullscreenExit:"mdi-fullscreen-exit",volumeHigh:"mdi-volume-high",volumeMedium:"mdi-volume-medium",volumeLow:"mdi-volume-low",volumeOff:"mdi-volume-variant-off"},XS={component:e=>Wn(Ld,{...e,class:"mdi"})};function ZS(){return{svg:{component:Md},class:{component:Ld}}}function JS(e){const t=ZS(),n=e?.defaultSet??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=XS),rt({defaultSet:n,sets:t,aliases:{...qS,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},e)}function fv(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,l=rt(t,n),{aliases:a={},components:i={},directives:o={}}=l,s=al();return s.run(()=>{const r=Nh(l.defaults),c=lp(l.display,l.ssr),u=ay(l.theme),d=JS(l.icons),f=Sy(l.locale),v=jS(l.date,f),g=ip(l.goTo,f);function m(S){for(const b in o)S.directive(b,o[b]);for(const b in i)S.component(b,i[b]);for(const b in a)S.component(b,Ml({...a[b],name:b,aliasName:a[b].name}));const w=al();if(w.run(()=>{u.install(S)}),S.onUnmount(()=>w.stop()),S.provide(kl,r),S.provide(Lo,c),S.provide(ua,u),S.provide(To,d),S.provide(ei,f),S.provide(WS,v.options),S.provide(Pu,v.instance),S.provide(af,g),Le&&l.ssr)if(S.$nuxt)S.$nuxt.hook("app:suspense:resolve",()=>{c.update()});else{const{mount:b}=S;S.mount=function(){const C=b(...arguments);return Ue(()=>c.update()),S.mount=b,C}}S.mixin({computed:{$vuetify(){return et({defaults:gl.call(this,kl),display:gl.call(this,Lo),theme:gl.call(this,ua),icons:gl.call(this,To),locale:gl.call(this,ei),date:gl.call(this,Pu)})}}})}function k(){s.stop()}return{install:m,unmount:k,defaults:r,display:c,theme:u,icons:d,locale:f,date:v,goTo:g}})}const QS="3.11.8";fv.version=QS;function gl(e){const t=this.$,n=t.parent?.provides??t.vnode.appContext?.provides;if(n&&e in n)return n[e]}const ew=fv({theme:{defaultTheme:"dark",themes:{dark:{colors:{background:"#0f0f0f",surface:"#1a1a1a",primary:"#4ade80",secondary:"#dc2626",error:"#dc2626"}}}},defaults:{VBtn:{variant:"flat"},VTextField:{variant:"outlined",density:"comfortable"},VSelect:{variant:"outlined",density:"comfortable"}}}),Ms=Rg(YS);Ms.use(Wg());Ms.use(ew);Ms.mount("#app");