mysqlsyncr 1.0.17 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/socketServer.js +21 -1
- package/ui/dist/spa/assets/{MainLayout-IHjlnAD2.js → MainLayout-xct47WgG.js} +1 -1
- package/ui/dist/spa/assets/{axios-HfQssU4f.js → axios-Cl-4MTw5.js} +1 -1
- package/ui/dist/spa/assets/{index-DSdhKCc_.css → index-C3SFaSRt.css} +1 -1
- package/ui/dist/spa/assets/index-i-I_hjUd.js +30 -0
- package/ui/dist/spa/index.html +2 -2
- package/ui/quasar.config.js +2 -1
- package/ui/src/components/FolderBrowser.vue +67 -1
- package/ui/src/pages/MainComponent.vue +50 -32
- package/ui/dist/spa/assets/index-6FSvQhVE.js +0 -30
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const Eh=function(){const t=typeof document<"u"&&document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}(),Th=function(e){return"/"+e},ca={},vc=function(t,n,o){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),s=l?.nonce||l?.getAttribute("nonce");i=Promise.allSettled(n.map(a=>{if(a=Th(a),a in ca)return;ca[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":Eh,c||(d.as="script"),d.crossOrigin="",d.href=a,s&&d.setAttribute("nonce",s),document.head.appendChild(d),c)return new Promise((f,h)=>{d.addEventListener("load",f),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}function r(l){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=l,window.dispatchEvent(s),!s.defaultPrevented)throw l}return i.then(l=>{for(const s of l||[])s.status==="rejected"&&r(s.reason);return t().catch(r)})};/**
|
|
2
|
-
* @vue/shared v3.5.13
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**//*! #__NO_SIDE_EFFECTS__ */function gs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ve={},yo=[],rn=()=>{},qh=()=>!1,wr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vs=e=>e.startsWith("onUpdate:"),lt=Object.assign,ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Rh=Object.prototype.hasOwnProperty,Me=(e,t)=>Rh.call(e,t),_e=Array.isArray,wo=e=>_r(e)==="[object Map]",pc=e=>_r(e)==="[object Set]",xe=e=>typeof e=="function",Ze=e=>typeof e=="string",On=e=>typeof e=="symbol",Ke=e=>e!==null&&typeof e=="object",bc=e=>(Ke(e)||xe(e))&&xe(e.then)&&xe(e.catch),yc=Object.prototype.toString,_r=e=>yc.call(e),Ph=e=>_r(e).slice(8,-1),wc=e=>_r(e)==="[object Object]",bs=e=>Ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qo=gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Sr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ah=/-(\w)/g,It=Sr(e=>e.replace(Ah,(t,n)=>n?n.toUpperCase():"")),Oh=/\B([A-Z])/g,no=Sr(e=>e.replace(Oh,"-$1").toLowerCase()),xr=Sr(e=>e.charAt(0).toUpperCase()+e.slice(1)),tl=Sr(e=>e?`on${xr(e)}`:""),Rn=(e,t)=>!Object.is(e,t),nl=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},_c=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Lh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Fh=e=>{const t=Ze(e)?Number(e):NaN;return isNaN(t)?e:t};let da;const Cr=()=>da||(da=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ys(e){if(_e(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],i=Ze(o)?$h(o):ys(o);if(i)for(const r in i)t[r]=i[r]}return t}else if(Ze(e)||Ke(e))return e}const Dh=/;(?![^(]*\))/g,Mh=/:([^]+)/,Bh=/\/\*[^]*?\*\//g;function $h(e){const t={};return e.replace(Bh,"").split(Dh).forEach(n=>{if(n){const o=n.split(Mh);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function kr(e){let t="";if(Ze(e))t=e;else if(_e(e))for(let n=0;n<e.length;n++){const o=kr(e[n]);o&&(t+=o+" ")}else if(Ke(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Nh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Vh=gs(Nh);function Sc(e){return!!e||e===""}const xc=e=>!!(e&&e.__v_isRef===!0),dt=e=>Ze(e)?e:e==null?"":_e(e)||Ke(e)&&(e.toString===yc||!xe(e.toString))?xc(e)?dt(e.value):JSON.stringify(e,Cc,2):String(e),Cc=(e,t)=>xc(t)?Cc(e,t.value):wo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,i],r)=>(n[ol(o,r)+" =>"]=i,n),{})}:pc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ol(n))}:On(t)?ol(t):Ke(t)&&!_e(t)&&!wc(t)?String(t):t,ol=(e,t="")=>{var n;return On(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
-
* @vue/reactivity v3.5.13
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/let Ot;class kc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ot,!t&&Ot&&(this.index=(Ot.scopes||(Ot.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=Ot;try{return Ot=this,t()}finally{Ot=n}}}on(){Ot=this}off(){Ot=this.parent}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(this.effects.length=0,n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Ih(e){return new kc(e)}function jh(){return Ot}let He;const il=new WeakSet;class Ec{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,Ot&&Ot.active&&Ot.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,il.has(this)&&(il.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||qc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,fa(this),Rc(this);const t=He,n=Wt;He=this,Wt=!0;try{return this.fn()}finally{Pc(this),He=t,Wt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ss(t);this.deps=this.depsTail=void 0,fa(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?il.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ml(this)&&this.run()}get dirty(){return Ml(this)}}let Tc=0,Go,Jo;function qc(e,t=!1){if(e.flags|=8,t){e.next=Jo,Jo=e;return}e.next=Go,Go=e}function ws(){Tc++}function _s(){if(--Tc>0)return;if(Jo){let t=Jo;for(Jo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Go;){let t=Go;for(Go=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function Rc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Pc(e){let t,n=e.depsTail,o=n;for(;o;){const i=o.prevDep;o.version===-1?(o===n&&(n=i),Ss(o),Hh(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=i}e.deps=t,e.depsTail=n}function Ml(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ac(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ac(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ri))return;e.globalVersion=ri;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ml(e)){e.flags&=-3;return}const n=He,o=Wt;He=e,Wt=!0;try{Rc(e);const i=e.fn(e._value);(t.version===0||Rn(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{He=n,Wt=o,Pc(e),e.flags&=-3}}function Ss(e,t=!1){const{dep:n,prevSub:o,nextSub:i}=e;if(o&&(o.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Ss(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Hh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Wt=!0;const Oc=[];function Ln(){Oc.push(Wt),Wt=!1}function Fn(){const e=Oc.pop();Wt=e===void 0?!0:e}function fa(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=He;He=void 0;try{t()}finally{He=n}}}let ri=0;class zh{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 xs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!He||!Wt||He===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==He)n=this.activeLink=new zh(He,this),He.deps?(n.prevDep=He.depsTail,He.depsTail.nextDep=n,He.depsTail=n):He.deps=He.depsTail=n,Lc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=He.depsTail,n.nextDep=void 0,He.depsTail.nextDep=n,He.depsTail=n,He.deps===n&&(He.deps=o)}return n}trigger(t){this.version++,ri++,this.notify(t)}notify(t){ws();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{_s()}}}function Lc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Lc(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Bl=new WeakMap,Un=Symbol(""),$l=Symbol(""),li=Symbol("");function pt(e,t,n){if(Wt&&He){let o=Bl.get(e);o||Bl.set(e,o=new Map);let i=o.get(n);i||(o.set(n,i=new xs),i.map=o,i.key=n),i.track()}}function hn(e,t,n,o,i,r){const l=Bl.get(e);if(!l){ri++;return}const s=a=>{a&&a.trigger()};if(ws(),t==="clear")l.forEach(s);else{const a=_e(e),c=a&&bs(n);if(a&&n==="length"){const u=Number(o);l.forEach((d,f)=>{(f==="length"||f===li||!On(f)&&f>=u)&&s(d)})}else switch((n!==void 0||l.has(void 0))&&s(l.get(n)),c&&s(l.get(li)),t){case"add":a?c&&s(l.get("length")):(s(l.get(Un)),wo(e)&&s(l.get($l)));break;case"delete":a||(s(l.get(Un)),wo(e)&&s(l.get($l)));break;case"set":wo(e)&&s(l.get(Un));break}}_s()}function co(e){const t=Ee(e);return t===e?t:(pt(t,"iterate",li),Nt(e)?t:t.map(bt))}function Er(e){return pt(e=Ee(e),"iterate",li),e}const Uh={__proto__:null,[Symbol.iterator](){return rl(this,Symbol.iterator,bt)},concat(...e){return co(this).concat(...e.map(t=>_e(t)?co(t):t))},entries(){return rl(this,"entries",e=>(e[1]=bt(e[1]),e))},every(e,t){return cn(this,"every",e,t,void 0,arguments)},filter(e,t){return cn(this,"filter",e,t,n=>n.map(bt),arguments)},find(e,t){return cn(this,"find",e,t,bt,arguments)},findIndex(e,t){return cn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return cn(this,"findLast",e,t,bt,arguments)},findLastIndex(e,t){return cn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return cn(this,"forEach",e,t,void 0,arguments)},includes(...e){return ll(this,"includes",e)},indexOf(...e){return ll(this,"indexOf",e)},join(e){return co(this).join(e)},lastIndexOf(...e){return ll(this,"lastIndexOf",e)},map(e,t){return cn(this,"map",e,t,void 0,arguments)},pop(){return Bo(this,"pop")},push(...e){return Bo(this,"push",e)},reduce(e,...t){return ha(this,"reduce",e,t)},reduceRight(e,...t){return ha(this,"reduceRight",e,t)},shift(){return Bo(this,"shift")},some(e,t){return cn(this,"some",e,t,void 0,arguments)},splice(...e){return Bo(this,"splice",e)},toReversed(){return co(this).toReversed()},toSorted(e){return co(this).toSorted(e)},toSpliced(...e){return co(this).toSpliced(...e)},unshift(...e){return Bo(this,"unshift",e)},values(){return rl(this,"values",bt)}};function rl(e,t,n){const o=Er(e),i=o[t]();return o!==e&&!Nt(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.value&&(r.value=n(r.value)),r}),i}const Kh=Array.prototype;function cn(e,t,n,o,i,r){const l=Er(e),s=l!==e&&!Nt(e),a=l[t];if(a!==Kh[t]){const d=a.apply(e,r);return s?bt(d):d}let c=n;l!==e&&(s?c=function(d,f){return n.call(this,bt(d),f,e)}:n.length>2&&(c=function(d,f){return n.call(this,d,f,e)}));const u=a.call(l,c,o);return s&&i?i(u):u}function ha(e,t,n,o){const i=Er(e);let r=n;return i!==e&&(Nt(e)?n.length>3&&(r=function(l,s,a){return n.call(this,l,s,a,e)}):r=function(l,s,a){return n.call(this,l,bt(s),a,e)}),i[t](r,...o)}function ll(e,t,n){const o=Ee(e);pt(o,"iterate",li);const i=o[t](...n);return(i===-1||i===!1)&&Es(n[0])?(n[0]=Ee(n[0]),o[t](...n)):i}function Bo(e,t,n=[]){Ln(),ws();const o=Ee(e)[t].apply(e,n);return _s(),Fn(),o}const Wh=gs("__proto__,__v_isRef,__isVue"),Fc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(On));function Qh(e){On(e)||(e=String(e));const t=Ee(this);return pt(t,"has",e),t.hasOwnProperty(e)}class Dc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return o===(i?r?im:Nc:r?$c:Bc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const l=_e(t);if(!i){let a;if(l&&(a=Uh[n]))return a;if(n==="hasOwnProperty")return Qh}const s=Reflect.get(t,n,wt(t)?t:o);return(On(n)?Fc.has(n):Wh(n))||(i||pt(t,"get",n),r)?s:wt(s)?l&&bs(n)?s:s.value:Ke(s)?i?Ic(s):Ao(s):s}}class Mc extends Dc{constructor(t=!1){super(!1,t)}set(t,n,o,i){let r=t[n];if(!this._isShallow){const a=Yn(r);if(!Nt(o)&&!Yn(o)&&(r=Ee(r),o=Ee(o)),!_e(t)&&wt(r)&&!wt(o))return a?!1:(r.value=o,!0)}const l=_e(t)&&bs(n)?Number(n)<t.length:Me(t,n),s=Reflect.set(t,n,o,wt(t)?t:i);return t===Ee(i)&&(l?Rn(o,r)&&hn(t,"set",n,o):hn(t,"add",n,o)),s}deleteProperty(t,n){const o=Me(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&o&&hn(t,"delete",n,void 0),i}has(t,n){const o=Reflect.has(t,n);return(!On(n)||!Fc.has(n))&&pt(t,"has",n),o}ownKeys(t){return pt(t,"iterate",_e(t)?"length":Un),Reflect.ownKeys(t)}}class Gh extends Dc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Jh=new Mc,Xh=new Gh,Yh=new Mc(!0);const Nl=e=>e,Ei=e=>Reflect.getPrototypeOf(e);function Zh(e,t,n){return function(...o){const i=this.__v_raw,r=Ee(i),l=wo(r),s=e==="entries"||e===Symbol.iterator&&l,a=e==="keys"&&l,c=i[e](...o),u=n?Nl:t?Vl:bt;return!t&&pt(r,"iterate",a?$l:Un),{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}},[Symbol.iterator](){return this}}}}function Ti(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function em(e,t){const n={get(i){const r=this.__v_raw,l=Ee(r),s=Ee(i);e||(Rn(i,s)&&pt(l,"get",i),pt(l,"get",s));const{has:a}=Ei(l),c=t?Nl:e?Vl:bt;if(a.call(l,i))return c(r.get(i));if(a.call(l,s))return c(r.get(s));r!==l&&r.get(i)},get size(){const i=this.__v_raw;return!e&&pt(Ee(i),"iterate",Un),Reflect.get(i,"size",i)},has(i){const r=this.__v_raw,l=Ee(r),s=Ee(i);return e||(Rn(i,s)&&pt(l,"has",i),pt(l,"has",s)),i===s?r.has(i):r.has(i)||r.has(s)},forEach(i,r){const l=this,s=l.__v_raw,a=Ee(s),c=t?Nl:e?Vl:bt;return!e&&pt(a,"iterate",Un),s.forEach((u,d)=>i.call(r,c(u),c(d),l))}};return lt(n,e?{add:Ti("add"),set:Ti("set"),delete:Ti("delete"),clear:Ti("clear")}:{add(i){!t&&!Nt(i)&&!Yn(i)&&(i=Ee(i));const r=Ee(this);return Ei(r).has.call(r,i)||(r.add(i),hn(r,"add",i,i)),this},set(i,r){!t&&!Nt(r)&&!Yn(r)&&(r=Ee(r));const l=Ee(this),{has:s,get:a}=Ei(l);let c=s.call(l,i);c||(i=Ee(i),c=s.call(l,i));const u=a.call(l,i);return l.set(i,r),c?Rn(r,u)&&hn(l,"set",i,r):hn(l,"add",i,r),this},delete(i){const r=Ee(this),{has:l,get:s}=Ei(r);let a=l.call(r,i);a||(i=Ee(i),a=l.call(r,i)),s&&s.call(r,i);const c=r.delete(i);return a&&hn(r,"delete",i,void 0),c},clear(){const i=Ee(this),r=i.size!==0,l=i.clear();return r&&hn(i,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Zh(i,e,t)}),n}function Cs(e,t){const n=em(e,t);return(o,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?o:Reflect.get(Me(n,i)&&i in o?n:o,i,r)}const tm={get:Cs(!1,!1)},nm={get:Cs(!1,!0)},om={get:Cs(!0,!1)};const Bc=new WeakMap,$c=new WeakMap,Nc=new WeakMap,im=new WeakMap;function rm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lm(e){return e.__v_skip||!Object.isExtensible(e)?0:rm(Ph(e))}function Ao(e){return Yn(e)?e:ks(e,!1,Jh,tm,Bc)}function Vc(e){return ks(e,!1,Yh,nm,$c)}function Ic(e){return ks(e,!0,Xh,om,Nc)}function ks(e,t,n,o,i){if(!Ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const l=lm(e);if(l===0)return e;const s=new Proxy(e,l===2?o:n);return i.set(e,s),s}function _o(e){return Yn(e)?_o(e.__v_raw):!!(e&&e.__v_isReactive)}function Yn(e){return!!(e&&e.__v_isReadonly)}function Nt(e){return!!(e&&e.__v_isShallow)}function Es(e){return e?!!e.__v_raw:!1}function Ee(e){const t=e&&e.__v_raw;return t?Ee(t):e}function Oo(e){return!Me(e,"__v_skip")&&Object.isExtensible(e)&&_c(e,"__v_skip",!0),e}const bt=e=>Ke(e)?Ao(e):e,Vl=e=>Ke(e)?Ic(e):e;function wt(e){return e?e.__v_isRef===!0:!1}function ue(e){return jc(e,!1)}function sm(e){return jc(e,!0)}function jc(e,t){return wt(e)?e:new am(e,t)}class am{constructor(t,n){this.dep=new xs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ee(t),this._value=n?t:bt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||Nt(t)||Yn(t);t=o?t:Ee(t),Rn(t,n)&&(this._rawValue=t,this._value=o?t:bt(t),this.dep.trigger())}}function Kn(e){return wt(e)?e.value:e}const um={get:(e,t,n)=>t==="__v_raw"?e:Kn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return wt(i)&&!wt(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function Hc(e){return _o(e)?e:new Proxy(e,um)}class cm{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new xs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ri-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&He!==this)return qc(this,!0),!0}get value(){const t=this.dep.track();return Ac(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function dm(e,t,n=!1){let o,i;return xe(e)?o=e:(o=e.get,i=e.set),new cm(o,i,n)}const qi={},Ji=new WeakMap;let In;function fm(e,t=!1,n=In){if(n){let o=Ji.get(n);o||Ji.set(n,o=[]),o.push(e)}}function hm(e,t,n=Ve){const{immediate:o,deep:i,once:r,scheduler:l,augmentJob:s,call:a}=n,c=T=>i?T:Nt(T)||i===!1||i===0?mn(T,1):mn(T);let u,d,f,h,m=!1,p=!1;if(wt(e)?(d=()=>e.value,m=Nt(e)):_o(e)?(d=()=>c(e),m=!0):_e(e)?(p=!0,m=e.some(T=>_o(T)||Nt(T)),d=()=>e.map(T=>{if(wt(T))return T.value;if(_o(T))return c(T);if(xe(T))return a?a(T,2):T()})):xe(e)?t?d=a?()=>a(e,2):e:d=()=>{if(f){Ln();try{f()}finally{Fn()}}const T=In;In=u;try{return a?a(e,3,[h]):e(h)}finally{In=T}}:d=rn,t&&i){const T=d,F=i===!0?1/0:i;d=()=>mn(T(),F)}const v=jh(),q=()=>{u.stop(),v&&v.active&&ps(v.effects,u)};if(r&&t){const T=t;t=(...F)=>{T(...F),q()}}let S=p?new Array(e.length).fill(qi):qi;const E=T=>{if(!(!(u.flags&1)||!u.dirty&&!T))if(t){const F=u.run();if(i||m||(p?F.some((I,W)=>Rn(I,S[W])):Rn(F,S))){f&&f();const I=In;In=u;try{const W=[F,S===qi?void 0:p&&S[0]===qi?[]:S,h];a?a(t,3,W):t(...W),S=F}finally{In=I}}}else u.run()};return s&&s(E),u=new Ec(d),u.scheduler=l?()=>l(E,!1):E,h=T=>fm(T,!1,u),f=u.onStop=()=>{const T=Ji.get(u);if(T){if(a)a(T,4);else for(const F of T)F();Ji.delete(u)}},t?o?E(!0):S=u.run():l?l(E.bind(null,!0),!0):u.run(),q.pause=u.pause.bind(u),q.resume=u.resume.bind(u),q.stop=q,q}function mn(e,t=1/0,n){if(t<=0||!Ke(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,wt(e))mn(e.value,t,n);else if(_e(e))for(let o=0;o<e.length;o++)mn(e[o],t,n);else if(pc(e)||wo(e))e.forEach(o=>{mn(o,t,n)});else if(wc(e)){for(const o in e)mn(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&mn(e[o],t,n)}return e}/**
|
|
10
|
-
* @vue/runtime-core v3.5.13
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/function yi(e,t,n,o){try{return o?e(...o):e()}catch(i){Tr(i,t,n)}}function Qt(e,t,n,o){if(xe(e)){const i=yi(e,t,n,o);return i&&bc(i)&&i.catch(r=>{Tr(r,t,n)}),i}if(_e(e)){const i=[];for(let r=0;r<e.length;r++)i.push(Qt(e[r],t,n,o));return i}}function Tr(e,t,n,o=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||Ve;if(t){let s=t.parent;const a=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,a,c)===!1)return}s=s.parent}if(r){Ln(),yi(r,null,10,[e,a,c]),Fn();return}}mm(e,n,i,o,l)}function mm(e,t,n,o=!0,i=!1){if(i)throw e;console.error(e)}const Ct=[];let en=-1;const So=[];let _n=null,vo=0;const zc=Promise.resolve();let Xi=null;function Ue(e){const t=Xi||zc;return e?t.then(this?e.bind(this):e):t}function gm(e){let t=en+1,n=Ct.length;for(;t<n;){const o=t+n>>>1,i=Ct[o],r=si(i);r<e||r===e&&i.flags&2?t=o+1:n=o}return t}function Ts(e){if(!(e.flags&1)){const t=si(e),n=Ct[Ct.length-1];!n||!(e.flags&2)&&t>=si(n)?Ct.push(e):Ct.splice(gm(t),0,e),e.flags|=1,Uc()}}function Uc(){Xi||(Xi=zc.then(Wc))}function vm(e){_e(e)?So.push(...e):_n&&e.id===-1?_n.splice(vo+1,0,e):e.flags&1||(So.push(e),e.flags|=1),Uc()}function ma(e,t,n=en+1){for(;n<Ct.length;n++){const o=Ct[n];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;Ct.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function Kc(e){if(So.length){const t=[...new Set(So)].sort((n,o)=>si(n)-si(o));if(So.length=0,_n){_n.push(...t);return}for(_n=t,vo=0;vo<_n.length;vo++){const n=_n[vo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_n=null,vo=0}}const si=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Wc(e){try{for(en=0;en<Ct.length;en++){const t=Ct[en];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),yi(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;en<Ct.length;en++){const t=Ct[en];t&&(t.flags&=-2)}en=-1,Ct.length=0,Kc(),Xi=null,(Ct.length||So.length)&&Wc()}}let Pt=null,Qc=null;function Yi(e){const t=Pt;return Pt=e,Qc=e&&e.type.__scopeId||null,t}function ge(e,t=Pt,n){if(!t||e._n)return e;const o=(...i)=>{o._d&&qa(-1);const r=Yi(t);let l;try{l=e(...i)}finally{Yi(r),o._d&&qa(1)}return l};return o._n=!0,o._c=!0,o._d=!0,o}function Wn(e,t){if(Pt===null)return e;const n=Dr(Pt),o=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,l,s,a=Ve]=t[i];r&&(xe(r)&&(r={mounted:r,updated:r}),r.deep&&mn(l),o.push({dir:r,instance:n,value:l,oldValue:void 0,arg:s,modifiers:a}))}return e}function Bn(e,t,n,o){const i=e.dirs,r=t&&t.dirs;for(let l=0;l<i.length;l++){const s=i[l];r&&(s.oldValue=r[l].value);let a=s.dir[o];a&&(Ln(),Qt(a,n,8,[e.el,s,e,t]),Fn())}}const Gc=Symbol("_vte"),Jc=e=>e.__isTeleport,Xo=e=>e&&(e.disabled||e.disabled===""),ga=e=>e&&(e.defer||e.defer===""),va=e=>typeof SVGElement<"u"&&e instanceof SVGElement,pa=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Il=(e,t)=>{const n=e&&e.to;return Ze(n)?t?t(n):null:n},Xc={name:"Teleport",__isTeleport:!0,process(e,t,n,o,i,r,l,s,a,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:m,createText:p,createComment:v}}=c,q=Xo(t.props);let{shapeFlag:S,children:E,dynamicChildren:T}=t;if(e==null){const F=t.el=p(""),I=t.anchor=p("");h(F,n,o),h(I,n,o);const W=(P,M)=>{S&16&&(i&&i.isCE&&(i.ce._teleportTarget=P),u(E,P,M,i,r,l,s,a))},Z=()=>{const P=t.target=Il(t.props,m),M=Yc(P,t,p,h);P&&(l!=="svg"&&va(P)?l="svg":l!=="mathml"&&pa(P)&&(l="mathml"),q||(W(P,M),Ni(t,!1)))};q&&(W(n,I),Ni(t,!0)),ga(t.props)?xt(()=>{Z(),t.el.__isMounted=!0},r):Z()}else{if(ga(t.props)&&!e.el.__isMounted){xt(()=>{Xc.process(e,t,n,o,i,r,l,s,a,c),delete e.el.__isMounted},r);return}t.el=e.el,t.targetStart=e.targetStart;const F=t.anchor=e.anchor,I=t.target=e.target,W=t.targetAnchor=e.targetAnchor,Z=Xo(e.props),P=Z?n:I,M=Z?F:W;if(l==="svg"||va(I)?l="svg":(l==="mathml"||pa(I))&&(l="mathml"),T?(f(e.dynamicChildren,T,P,i,r,l,s),Ls(e,t,!0)):a||d(e,t,P,M,i,r,l,s,!1),q)Z?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ri(t,n,F,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=t.target=Il(t.props,m);U&&Ri(t,U,null,c,0)}else Z&&Ri(t,I,W,c,1);Ni(t,q)}},remove(e,t,n,{um:o,o:{remove:i}},r){const{shapeFlag:l,children:s,anchor:a,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(i(c),i(u)),r&&i(a),l&16){const h=r||!Xo(f);for(let m=0;m<s.length;m++){const p=s[m];o(p,t,n,h,!!p.dynamicChildren)}}},move:Ri,hydrate:pm};function Ri(e,t,n,{o:{insert:o},m:i},r=2){r===0&&o(e.targetAnchor,t,n);const{el:l,anchor:s,shapeFlag:a,children:c,props:u}=e,d=r===2;if(d&&o(l,t,n),(!d||Xo(u))&&a&16)for(let f=0;f<c.length;f++)i(c[f],t,n,2);d&&o(s,t,n)}function pm(e,t,n,o,i,r,{o:{nextSibling:l,parentNode:s,querySelector:a,insert:c,createText:u}},d){const f=t.target=Il(t.props,a);if(f){const h=Xo(t.props),m=f._lpa||f.firstChild;if(t.shapeFlag&16)if(h)t.anchor=d(l(e),t,s(e),n,o,i,r),t.targetStart=m,t.targetAnchor=m&&l(m);else{t.anchor=l(e);let p=m;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,f._lpa=t.targetAnchor&&l(t.targetAnchor);break}}p=l(p)}t.targetAnchor||Yc(f,t,u,c),d(m&&l(m),t,f,n,o,i,r)}Ni(t,h)}return t.anchor&&l(t.anchor)}const bm=Xc;function Ni(e,t){const n=e.ctx;if(n&&n.ut){let o,i;for(t?(o=e.el,i=e.anchor):(o=e.targetStart,i=e.targetAnchor);o&&o!==i;)o.nodeType===1&&o.setAttribute("data-v-owner",n.uid),o=o.nextSibling;n.ut()}}function Yc(e,t,n,o){const i=t.targetStart=n(""),r=t.targetAnchor=n("");return i[Gc]=r,e&&(o(i,e),o(r,e)),r}const Sn=Symbol("_leaveCb"),Pi=Symbol("_enterCb");function Zc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ln(()=>{e.isMounted=!0}),nt(()=>{e.isUnmounting=!0}),e}const Mt=[Function,Array],ed={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Mt,onEnter:Mt,onAfterEnter:Mt,onEnterCancelled:Mt,onBeforeLeave:Mt,onLeave:Mt,onAfterLeave:Mt,onLeaveCancelled:Mt,onBeforeAppear:Mt,onAppear:Mt,onAfterAppear:Mt,onAppearCancelled:Mt},td=e=>{const t=e.subTree;return t.component?td(t.component):t},ym={name:"BaseTransition",props:ed,setup(e,{slots:t}){const n=Pe(),o=Zc();return()=>{const i=t.default&&qs(t.default(),!0);if(!i||!i.length)return;const r=nd(i),l=Ee(e),{mode:s}=l;if(o.isLeaving)return sl(r);const a=ba(r);if(!a)return sl(r);let c=ai(a,l,o,n,d=>c=d);a.type!==qt&&Zn(a,c);let u=n.subTree&&ba(n.subTree);if(u&&u.type!==qt&&!jn(a,u)&&td(n).type!==qt){let d=ai(u,l,o,n);if(Zn(u,d),s==="out-in"&&a.type!==qt)return o.isLeaving=!0,d.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},sl(r);s==="in-out"&&a.type!==qt?d.delayLeave=(f,h,m)=>{const p=od(o,u);p[String(u.key)]=u,f[Sn]=()=>{h(),f[Sn]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function nd(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==qt){t=n;break}}return t}const wm=ym;function od(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function ai(e,t,n,o,i){const{appear:r,mode:l,persisted:s=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:m,onLeaveCancelled:p,onBeforeAppear:v,onAppear:q,onAfterAppear:S,onAppearCancelled:E}=t,T=String(e.key),F=od(n,e),I=(P,M)=>{P&&Qt(P,o,9,M)},W=(P,M)=>{const U=M[1];I(P,M),_e(P)?P.every(C=>C.length<=1)&&U():P.length<=1&&U()},Z={mode:l,persisted:s,beforeEnter(P){let M=a;if(!n.isMounted)if(r)M=v||a;else return;P[Sn]&&P[Sn](!0);const U=F[T];U&&jn(e,U)&&U.el[Sn]&&U.el[Sn](),I(M,[P])},enter(P){let M=c,U=u,C=d;if(!n.isMounted)if(r)M=q||c,U=S||u,C=E||d;else return;let J=!1;const N=P[Pi]=re=>{J||(J=!0,re?I(C,[P]):I(U,[P]),Z.delayedLeave&&Z.delayedLeave(),P[Pi]=void 0)};M?W(M,[P,N]):N()},leave(P,M){const U=String(e.key);if(P[Pi]&&P[Pi](!0),n.isUnmounting)return M();I(f,[P]);let C=!1;const J=P[Sn]=N=>{C||(C=!0,M(),N?I(p,[P]):I(m,[P]),P[Sn]=void 0,F[U]===e&&delete F[U])};F[U]=e,h?W(h,[P,J]):J()},clone(P){const M=ai(P,t,n,o,i);return i&&i(M),M}};return Z}function sl(e){if(qr(e))return e=Pn(e),e.children=null,e}function ba(e){if(!qr(e))return Jc(e.type)&&e.children?nd(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&xe(n.default))return n.default()}}function Zn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Zn(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 qs(e,t=!1,n){let o=[],i=0;for(let r=0;r<e.length;r++){let l=e[r];const s=n==null?l.key:String(n)+String(l.key!=null?l.key:r);l.type===Lt?(l.patchFlag&128&&i++,o=o.concat(qs(l.children,t,s))):(t||l.type!==qt)&&o.push(s!=null?Pn(l,{key:s}):l)}if(i>1)for(let r=0;r<o.length;r++)o[r].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function Rs(e,t){return xe(e)?lt({name:e.name},t,{setup:e}):e}function id(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Zi(e,t,n,o,i=!1){if(_e(e)){e.forEach((m,p)=>Zi(m,t&&(_e(t)?t[p]:t),n,o,i));return}if(Yo(o)&&!i){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&Zi(e,t,n,o.component.subTree);return}const r=o.shapeFlag&4?Dr(o.component):o.el,l=i?null:r,{i:s,r:a}=e,c=t&&t.r,u=s.refs===Ve?s.refs={}:s.refs,d=s.setupState,f=Ee(d),h=d===Ve?()=>!1:m=>Me(f,m);if(c!=null&&c!==a&&(Ze(c)?(u[c]=null,h(c)&&(d[c]=null)):wt(c)&&(c.value=null)),xe(a))yi(a,s,12,[l,u]);else{const m=Ze(a),p=wt(a);if(m||p){const v=()=>{if(e.f){const q=m?h(a)?d[a]:u[a]:a.value;i?_e(q)&&ps(q,r):_e(q)?q.includes(r)||q.push(r):m?(u[a]=[r],h(a)&&(d[a]=u[a])):(a.value=[r],e.k&&(u[e.k]=a.value))}else m?(u[a]=l,h(a)&&(d[a]=l)):p&&(a.value=l,e.k&&(u[e.k]=l))};l?(v.id=-1,xt(v,n)):v()}}}Cr().requestIdleCallback;Cr().cancelIdleCallback;const Yo=e=>!!e.type.__asyncLoader,qr=e=>e.type.__isKeepAlive;function Rr(e,t){rd(e,"a",t)}function Lo(e,t){rd(e,"da",t)}function rd(e,t,n=mt){const o=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Pr(t,o,n),n){let i=n.parent;for(;i&&i.parent;)qr(i.parent.vnode)&&_m(o,t,n,i),i=i.parent}}function _m(e,t,n,o){const i=Pr(t,e,o,!0);As(()=>{ps(o[t],i)},n)}function Pr(e,t,n=mt,o=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...l)=>{Ln();const s=wi(n),a=Qt(t,n,e,l);return s(),Fn(),a});return o?i.unshift(r):i.push(r),r}}const pn=e=>(t,n=mt)=>{(!ci||e==="sp")&&Pr(e,(...o)=>t(...o),n)},Ar=pn("bm"),ln=pn("m"),Or=pn("bu"),Ps=pn("u"),nt=pn("bum"),As=pn("um"),Sm=pn("sp"),xm=pn("rtg"),Cm=pn("rtc");function km(e,t=mt){Pr("ec",e,t)}const Em="components";function ld(e,t){return qm(Em,e,!0,t)||e}const Tm=Symbol.for("v-ndc");function qm(e,t,n=!0,o=!1){const i=Pt||mt;if(i){const r=i.type;{const s=mg(r,!1);if(s&&(s===t||s===It(t)||s===xr(It(t))))return r}const l=ya(i[e]||r[e],t)||ya(i.appContext[e],t);return!l&&o?r:l}}function ya(e,t){return e&&(e[t]||e[It(t)]||e[xr(It(t))])}function sd(e,t,n,o){let i;const r=n,l=_e(e);if(l||Ze(e)){const s=l&&_o(e);let a=!1;s&&(a=!Nt(e),e=Er(e)),i=new Array(e.length);for(let c=0,u=e.length;c<u;c++)i[c]=t(a?bt(e[c]):e[c],c,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let s=0;s<e;s++)i[s]=t(s+1,s,void 0,r)}else if(Ke(e))if(e[Symbol.iterator])i=Array.from(e,(s,a)=>t(s,a,void 0,r));else{const s=Object.keys(e);i=new Array(s.length);for(let a=0,c=s.length;a<c;a++){const u=s[a];i[a]=t(e[u],u,a,r)}}else i=[];return i}const jl=e=>e?Td(e)?Dr(e):jl(e.parent):null,Zo=lt(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=>jl(e.parent),$root:e=>jl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ud(e),$forceUpdate:e=>e.f||(e.f=()=>{Ts(e.update)}),$nextTick:e=>e.n||(e.n=Ue.bind(e.proxy)),$watch:e=>Gm.bind(e)}),al=(e,t)=>e!==Ve&&!e.__isScriptSetup&&Me(e,t),Rm={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:i,props:r,accessCache:l,type:s,appContext:a}=e;let c;if(t[0]!=="$"){const h=l[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(al(o,t))return l[t]=1,o[t];if(i!==Ve&&Me(i,t))return l[t]=2,i[t];if((c=e.propsOptions[0])&&Me(c,t))return l[t]=3,r[t];if(n!==Ve&&Me(n,t))return l[t]=4,n[t];Hl&&(l[t]=0)}}const u=Zo[t];let d,f;if(u)return t==="$attrs"&&pt(e.attrs,"get",""),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Ve&&Me(n,t))return l[t]=4,n[t];if(f=a.config.globalProperties,Me(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:i,ctx:r}=e;return al(i,t)?(i[t]=n,!0):o!==Ve&&Me(o,t)?(o[t]=n,!0):Me(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:r}},l){let s;return!!n[l]||e!==Ve&&Me(e,l)||al(t,l)||(s=r[0])&&Me(s,l)||Me(o,l)||Me(Zo,l)||Me(i.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Me(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function wa(e){return _e(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Hl=!0;function Pm(e){const t=ud(e),n=e.proxy,o=e.ctx;Hl=!1,t.beforeCreate&&_a(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:l,watch:s,provide:a,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:m,activated:p,deactivated:v,beforeDestroy:q,beforeUnmount:S,destroyed:E,unmounted:T,render:F,renderTracked:I,renderTriggered:W,errorCaptured:Z,serverPrefetch:P,expose:M,inheritAttrs:U,components:C,directives:J,filters:N}=t;if(c&&Am(c,o,null),l)for(const le in l){const Q=l[le];xe(Q)&&(o[le]=Q.bind(n))}if(i){const le=i.call(n,n);Ke(le)&&(e.data=Ao(le))}if(Hl=!0,r)for(const le in r){const Q=r[le],ae=xe(Q)?Q.bind(n,n):xe(Q.get)?Q.get.bind(n,n):rn,ve=!xe(Q)&&xe(Q.set)?Q.set.bind(n):rn,A=y({get:ae,set:ve});Object.defineProperty(o,le,{enumerable:!0,configurable:!0,get:()=>A.value,set:g=>A.value=g})}if(s)for(const le in s)ad(s[le],o,n,le);if(a){const le=xe(a)?a.call(n):a;Reflect.ownKeys(le).forEach(Q=>{Vi(Q,le[Q])})}u&&_a(u,e,"c");function ee(le,Q){_e(Q)?Q.forEach(ae=>le(ae.bind(n))):Q&&le(Q.bind(n))}if(ee(Ar,d),ee(ln,f),ee(Or,h),ee(Ps,m),ee(Rr,p),ee(Lo,v),ee(km,Z),ee(Cm,I),ee(xm,W),ee(nt,S),ee(As,T),ee(Sm,P),_e(M))if(M.length){const le=e.exposed||(e.exposed={});M.forEach(Q=>{Object.defineProperty(le,Q,{get:()=>n[Q],set:ae=>n[Q]=ae})})}else e.exposed||(e.exposed={});F&&e.render===rn&&(e.render=F),U!=null&&(e.inheritAttrs=U),C&&(e.components=C),J&&(e.directives=J),P&&id(e)}function Am(e,t,n=rn){_e(e)&&(e=zl(e));for(const o in e){const i=e[o];let r;Ke(i)?"default"in i?r=Vt(i.from||o,i.default,!0):r=Vt(i.from||o):r=Vt(i),wt(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function _a(e,t,n){Qt(_e(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function ad(e,t,n,o){let i=o.includes(".")?Sd(n,o):()=>n[o];if(Ze(e)){const r=t[e];xe(r)&&ye(i,r)}else if(xe(e))ye(i,e.bind(n));else if(Ke(e))if(_e(e))e.forEach(r=>ad(r,t,n,o));else{const r=xe(e.handler)?e.handler.bind(n):t[e.handler];xe(r)&&ye(i,r,e)}}function ud(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:l}}=e.appContext,s=r.get(t);let a;return s?a=s:!i.length&&!n&&!o?a=t:(a={},i.length&&i.forEach(c=>er(a,c,l,!0)),er(a,t,l)),Ke(t)&&r.set(t,a),a}function er(e,t,n,o=!1){const{mixins:i,extends:r}=t;r&&er(e,r,n,!0),i&&i.forEach(l=>er(e,l,n,!0));for(const l in t)if(!(o&&l==="expose")){const s=Om[l]||n&&n[l];e[l]=s?s(e[l],t[l]):t[l]}return e}const Om={data:Sa,props:xa,emits:xa,methods:Ko,computed:Ko,beforeCreate:St,created:St,beforeMount:St,mounted:St,beforeUpdate:St,updated:St,beforeDestroy:St,beforeUnmount:St,destroyed:St,unmounted:St,activated:St,deactivated:St,errorCaptured:St,serverPrefetch:St,components:Ko,directives:Ko,watch:Fm,provide:Sa,inject:Lm};function Sa(e,t){return t?e?function(){return lt(xe(e)?e.call(this,this):e,xe(t)?t.call(this,this):t)}:t:e}function Lm(e,t){return Ko(zl(e),zl(t))}function zl(e){if(_e(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function St(e,t){return e?[...new Set([].concat(e,t))]:t}function Ko(e,t){return e?lt(Object.create(null),e,t):t}function xa(e,t){return e?_e(e)&&_e(t)?[...new Set([...e,...t])]:lt(Object.create(null),wa(e),wa(t??{})):t}function Fm(e,t){if(!e)return t;if(!t)return e;const n=lt(Object.create(null),e);for(const o in t)n[o]=St(e[o],t[o]);return n}function cd(){return{app:null,config:{isNativeTag:qh,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 Dm=0;function Mm(e,t){return function(o,i=null){xe(o)||(o=lt({},o)),i!=null&&!Ke(i)&&(i=null);const r=cd(),l=new WeakSet,s=[];let a=!1;const c=r.app={_uid:Dm++,_component:o,_props:i,_container:null,_context:r,_instance:null,version:vg,get config(){return r.config},set config(u){},use(u,...d){return l.has(u)||(u&&xe(u.install)?(l.add(u),u.install(c,...d)):xe(u)&&(l.add(u),u(c,...d))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,d){return d?(r.components[u]=d,c):r.components[u]},directive(u,d){return d?(r.directives[u]=d,c):r.directives[u]},mount(u,d,f){if(!a){const h=c._ceVNode||ie(o,i);return h.appContext=r,f===!0?f="svg":f===!1&&(f=void 0),e(h,u,f),a=!0,c._container=u,u.__vue_app__=c,Dr(h.component)}},onUnmount(u){s.push(u)},unmount(){a&&(Qt(s,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,d){return r.provides[u]=d,c},runWithContext(u){const d=xo;xo=c;try{return u()}finally{xo=d}}};return c}}let xo=null;function Vi(e,t){if(mt){let n=mt.provides;const o=mt.parent&&mt.parent.provides;o===n&&(n=mt.provides=Object.create(o)),n[e]=t}}function Vt(e,t,n=!1){const o=mt||Pt;if(o||xo){const i=xo?xo._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&xe(t)?t.call(o&&o.proxy):t}}const dd={},fd=()=>Object.create(dd),hd=e=>Object.getPrototypeOf(e)===dd;function Bm(e,t,n,o=!1){const i={},r=fd();e.propsDefaults=Object.create(null),md(e,t,i,r);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);n?e.props=o?i:Vc(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function $m(e,t,n,o){const{props:i,attrs:r,vnode:{patchFlag:l}}=e,s=Ee(i),[a]=e.propsOptions;let c=!1;if((o||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(Lr(e.emitsOptions,f))continue;const h=t[f];if(a)if(Me(r,f))h!==r[f]&&(r[f]=h,c=!0);else{const m=It(f);i[m]=Ul(a,s,m,h,e,!1)}else h!==r[f]&&(r[f]=h,c=!0)}}}else{md(e,t,i,r)&&(c=!0);let u;for(const d in s)(!t||!Me(t,d)&&((u=no(d))===d||!Me(t,u)))&&(a?n&&(n[d]!==void 0||n[u]!==void 0)&&(i[d]=Ul(a,s,d,void 0,e,!0)):delete i[d]);if(r!==s)for(const d in r)(!t||!Me(t,d))&&(delete r[d],c=!0)}c&&hn(e.attrs,"set","")}function md(e,t,n,o){const[i,r]=e.propsOptions;let l=!1,s;if(t)for(let a in t){if(Qo(a))continue;const c=t[a];let u;i&&Me(i,u=It(a))?!r||!r.includes(u)?n[u]=c:(s||(s={}))[u]=c:Lr(e.emitsOptions,a)||(!(a in o)||c!==o[a])&&(o[a]=c,l=!0)}if(r){const a=Ee(n),c=s||Ve;for(let u=0;u<r.length;u++){const d=r[u];n[d]=Ul(i,a,d,c[d],e,!Me(c,d))}}return l}function Ul(e,t,n,o,i,r){const l=e[n];if(l!=null){const s=Me(l,"default");if(s&&o===void 0){const a=l.default;if(l.type!==Function&&!l.skipFactory&&xe(a)){const{propsDefaults:c}=i;if(n in c)o=c[n];else{const u=wi(i);o=c[n]=a.call(null,t),u()}}else o=a;i.ce&&i.ce._setProp(n,o)}l[0]&&(r&&!s?o=!1:l[1]&&(o===""||o===no(n))&&(o=!0))}return o}const Nm=new WeakMap;function gd(e,t,n=!1){const o=n?Nm:t.propsCache,i=o.get(e);if(i)return i;const r=e.props,l={},s=[];let a=!1;if(!xe(e)){const u=d=>{a=!0;const[f,h]=gd(d,t,!0);lt(l,f),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return Ke(e)&&o.set(e,yo),yo;if(_e(r))for(let u=0;u<r.length;u++){const d=It(r[u]);Ca(d)&&(l[d]=Ve)}else if(r)for(const u in r){const d=It(u);if(Ca(d)){const f=r[u],h=l[d]=_e(f)||xe(f)?{type:f}:lt({},f),m=h.type;let p=!1,v=!0;if(_e(m))for(let q=0;q<m.length;++q){const S=m[q],E=xe(S)&&S.name;if(E==="Boolean"){p=!0;break}else E==="String"&&(v=!1)}else p=xe(m)&&m.name==="Boolean";h[0]=p,h[1]=v,(p||Me(h,"default"))&&s.push(d)}}const c=[l,s];return Ke(e)&&o.set(e,c),c}function Ca(e){return e[0]!=="$"&&!Qo(e)}const vd=e=>e[0]==="_"||e==="$stable",Os=e=>_e(e)?e.map(nn):[nn(e)],Vm=(e,t,n)=>{if(t._n)return t;const o=ge((...i)=>Os(t(...i)),n);return o._c=!1,o},pd=(e,t,n)=>{const o=e._ctx;for(const i in e){if(vd(i))continue;const r=e[i];if(xe(r))t[i]=Vm(i,r,o);else if(r!=null){const l=Os(r);t[i]=()=>l}}},bd=(e,t)=>{const n=Os(t);e.slots.default=()=>n},yd=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},Im=(e,t,n)=>{const o=e.slots=fd();if(e.vnode.shapeFlag&32){const i=t._;i?(yd(o,t,n),n&&_c(o,"_",i,!0)):pd(t,o)}else t&&bd(e,t)},jm=(e,t,n)=>{const{vnode:o,slots:i}=e;let r=!0,l=Ve;if(o.shapeFlag&32){const s=t._;s?n&&s===1?r=!1:yd(i,t,n):(r=!t.$stable,pd(t,i)),l=t}else t&&(bd(e,t),l={default:1});if(r)for(const s in i)!vd(s)&&l[s]==null&&delete i[s]},xt=ng;function Hm(e){return zm(e)}function zm(e,t){const n=Cr();n.__VUE__=!0;const{insert:o,remove:i,patchProp:r,createElement:l,createText:s,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=rn,insertStaticContent:m}=e,p=(w,_,R,j=null,z=null,B=null,X=void 0,oe=null,te=!!_.dynamicChildren)=>{if(w===_)return;w&&!jn(w,_)&&(j=x(w),g(w,z,B,!0),w=null),_.patchFlag===-2&&(te=!1,_.dynamicChildren=null);const{type:G,ref:he,shapeFlag:se}=_;switch(G){case Fr:v(w,_,R,j);break;case qt:q(w,_,R,j);break;case cl:w==null&&S(_,R,j,X);break;case Lt:C(w,_,R,j,z,B,X,oe,te);break;default:se&1?F(w,_,R,j,z,B,X,oe,te):se&6?J(w,_,R,j,z,B,X,oe,te):(se&64||se&128)&&G.process(w,_,R,j,z,B,X,oe,te,Y)}he!=null&&z&&Zi(he,w&&w.ref,B,_||w,!_)},v=(w,_,R,j)=>{if(w==null)o(_.el=s(_.children),R,j);else{const z=_.el=w.el;_.children!==w.children&&c(z,_.children)}},q=(w,_,R,j)=>{w==null?o(_.el=a(_.children||""),R,j):_.el=w.el},S=(w,_,R,j)=>{[w.el,w.anchor]=m(w.children,_,R,j,w.el,w.anchor)},E=({el:w,anchor:_},R,j)=>{let z;for(;w&&w!==_;)z=f(w),o(w,R,j),w=z;o(_,R,j)},T=({el:w,anchor:_})=>{let R;for(;w&&w!==_;)R=f(w),i(w),w=R;i(_)},F=(w,_,R,j,z,B,X,oe,te)=>{_.type==="svg"?X="svg":_.type==="math"&&(X="mathml"),w==null?I(_,R,j,z,B,X,oe,te):P(w,_,z,B,X,oe,te)},I=(w,_,R,j,z,B,X,oe)=>{let te,G;const{props:he,shapeFlag:se,transition:me,dirs:pe}=w;if(te=w.el=l(w.type,B,he&&he.is,he),se&8?u(te,w.children):se&16&&Z(w.children,te,null,j,z,ul(w,B),X,oe),pe&&Bn(w,null,j,"created"),W(te,w,w.scopeId,X,j),he){for(const Oe in he)Oe!=="value"&&!Qo(Oe)&&r(te,Oe,null,he[Oe],B,j);"value"in he&&r(te,"value",null,he.value,B),(G=he.onVnodeBeforeMount)&&Xt(G,j,w)}pe&&Bn(w,null,j,"beforeMount");const Te=Um(z,me);Te&&me.beforeEnter(te),o(te,_,R),((G=he&&he.onVnodeMounted)||Te||pe)&&xt(()=>{G&&Xt(G,j,w),Te&&me.enter(te),pe&&Bn(w,null,j,"mounted")},z)},W=(w,_,R,j,z)=>{if(R&&h(w,R),j)for(let B=0;B<j.length;B++)h(w,j[B]);if(z){let B=z.subTree;if(_===B||Cd(B.type)&&(B.ssContent===_||B.ssFallback===_)){const X=z.vnode;W(w,X,X.scopeId,X.slotScopeIds,z.parent)}}},Z=(w,_,R,j,z,B,X,oe,te=0)=>{for(let G=te;G<w.length;G++){const he=w[G]=oe?xn(w[G]):nn(w[G]);p(null,he,_,R,j,z,B,X,oe)}},P=(w,_,R,j,z,B,X)=>{const oe=_.el=w.el;let{patchFlag:te,dynamicChildren:G,dirs:he}=_;te|=w.patchFlag&16;const se=w.props||Ve,me=_.props||Ve;let pe;if(R&&$n(R,!1),(pe=me.onVnodeBeforeUpdate)&&Xt(pe,R,_,w),he&&Bn(_,w,R,"beforeUpdate"),R&&$n(R,!0),(se.innerHTML&&me.innerHTML==null||se.textContent&&me.textContent==null)&&u(oe,""),G?M(w.dynamicChildren,G,oe,R,j,ul(_,z),B):X||Q(w,_,oe,null,R,j,ul(_,z),B,!1),te>0){if(te&16)U(oe,se,me,R,z);else if(te&2&&se.class!==me.class&&r(oe,"class",null,me.class,z),te&4&&r(oe,"style",se.style,me.style,z),te&8){const Te=_.dynamicProps;for(let Oe=0;Oe<Te.length;Oe++){const Le=Te[Oe],st=se[Le],Ie=me[Le];(Ie!==st||Le==="value")&&r(oe,Le,st,Ie,z,R)}}te&1&&w.children!==_.children&&u(oe,_.children)}else!X&&G==null&&U(oe,se,me,R,z);((pe=me.onVnodeUpdated)||he)&&xt(()=>{pe&&Xt(pe,R,_,w),he&&Bn(_,w,R,"updated")},j)},M=(w,_,R,j,z,B,X)=>{for(let oe=0;oe<_.length;oe++){const te=w[oe],G=_[oe],he=te.el&&(te.type===Lt||!jn(te,G)||te.shapeFlag&70)?d(te.el):R;p(te,G,he,null,j,z,B,X,!0)}},U=(w,_,R,j,z)=>{if(_!==R){if(_!==Ve)for(const B in _)!Qo(B)&&!(B in R)&&r(w,B,_[B],null,z,j);for(const B in R){if(Qo(B))continue;const X=R[B],oe=_[B];X!==oe&&B!=="value"&&r(w,B,oe,X,z,j)}"value"in R&&r(w,"value",_.value,R.value,z)}},C=(w,_,R,j,z,B,X,oe,te)=>{const G=_.el=w?w.el:s(""),he=_.anchor=w?w.anchor:s("");let{patchFlag:se,dynamicChildren:me,slotScopeIds:pe}=_;pe&&(oe=oe?oe.concat(pe):pe),w==null?(o(G,R,j),o(he,R,j),Z(_.children||[],R,he,z,B,X,oe,te)):se>0&&se&64&&me&&w.dynamicChildren?(M(w.dynamicChildren,me,R,z,B,X,oe),(_.key!=null||z&&_===z.subTree)&&Ls(w,_,!0)):Q(w,_,R,he,z,B,X,oe,te)},J=(w,_,R,j,z,B,X,oe,te)=>{_.slotScopeIds=oe,w==null?_.shapeFlag&512?z.ctx.activate(_,R,j,X,te):N(_,R,j,z,B,X,te):re(w,_,te)},N=(w,_,R,j,z,B,X)=>{const oe=w.component=ug(w,j,z);if(qr(w)&&(oe.ctx.renderer=Y),cg(oe,!1,X),oe.asyncDep){if(z&&z.registerDep(oe,ee,X),!w.el){const te=oe.subTree=ie(qt);q(null,te,_,R)}}else ee(oe,w,_,R,z,B,X)},re=(w,_,R)=>{const j=_.component=w.component;if(eg(w,_,R))if(j.asyncDep&&!j.asyncResolved){le(j,_,R);return}else j.next=_,j.update();else _.el=w.el,j.vnode=_},ee=(w,_,R,j,z,B,X)=>{const oe=()=>{if(w.isMounted){let{next:se,bu:me,u:pe,parent:Te,vnode:Oe}=w;{const Ye=wd(w);if(Ye){se&&(se.el=Oe.el,le(w,se,X)),Ye.asyncDep.then(()=>{w.isUnmounted||oe()});return}}let Le=se,st;$n(w,!1),se?(se.el=Oe.el,le(w,se,X)):se=Oe,me&&nl(me),(st=se.props&&se.props.onVnodeBeforeUpdate)&&Xt(st,Te,se,Oe),$n(w,!0);const Ie=Ea(w),We=w.subTree;w.subTree=Ie,p(We,Ie,d(We.el),x(We),w,z,B),se.el=Ie.el,Le===null&&tg(w,Ie.el),pe&&xt(pe,z),(st=se.props&&se.props.onVnodeUpdated)&&xt(()=>Xt(st,Te,se,Oe),z)}else{let se;const{el:me,props:pe}=_,{bm:Te,m:Oe,parent:Le,root:st,type:Ie}=w,We=Yo(_);$n(w,!1),Te&&nl(Te),!We&&(se=pe&&pe.onVnodeBeforeMount)&&Xt(se,Le,_),$n(w,!0);{st.ce&&st.ce._injectChildStyle(Ie);const Ye=w.subTree=Ea(w);p(null,Ye,R,j,w,z,B),_.el=Ye.el}if(Oe&&xt(Oe,z),!We&&(se=pe&&pe.onVnodeMounted)){const Ye=_;xt(()=>Xt(se,Le,Ye),z)}(_.shapeFlag&256||Le&&Yo(Le.vnode)&&Le.vnode.shapeFlag&256)&&w.a&&xt(w.a,z),w.isMounted=!0,_=R=j=null}};w.scope.on();const te=w.effect=new Ec(oe);w.scope.off();const G=w.update=te.run.bind(te),he=w.job=te.runIfDirty.bind(te);he.i=w,he.id=w.uid,te.scheduler=()=>Ts(he),$n(w,!0),G()},le=(w,_,R)=>{_.component=w;const j=w.vnode.props;w.vnode=_,w.next=null,$m(w,_.props,j,R),jm(w,_.children,R),Ln(),ma(w),Fn()},Q=(w,_,R,j,z,B,X,oe,te=!1)=>{const G=w&&w.children,he=w?w.shapeFlag:0,se=_.children,{patchFlag:me,shapeFlag:pe}=_;if(me>0){if(me&128){ve(G,se,R,j,z,B,X,oe,te);return}else if(me&256){ae(G,se,R,j,z,B,X,oe,te);return}}pe&8?(he&16&&L(G,z,B),se!==G&&u(R,se)):he&16?pe&16?ve(G,se,R,j,z,B,X,oe,te):L(G,z,B,!0):(he&8&&u(R,""),pe&16&&Z(se,R,j,z,B,X,oe,te))},ae=(w,_,R,j,z,B,X,oe,te)=>{w=w||yo,_=_||yo;const G=w.length,he=_.length,se=Math.min(G,he);let me;for(me=0;me<se;me++){const pe=_[me]=te?xn(_[me]):nn(_[me]);p(w[me],pe,R,null,z,B,X,oe,te)}G>he?L(w,z,B,!0,!1,se):Z(_,R,j,z,B,X,oe,te,se)},ve=(w,_,R,j,z,B,X,oe,te)=>{let G=0;const he=_.length;let se=w.length-1,me=he-1;for(;G<=se&&G<=me;){const pe=w[G],Te=_[G]=te?xn(_[G]):nn(_[G]);if(jn(pe,Te))p(pe,Te,R,null,z,B,X,oe,te);else break;G++}for(;G<=se&&G<=me;){const pe=w[se],Te=_[me]=te?xn(_[me]):nn(_[me]);if(jn(pe,Te))p(pe,Te,R,null,z,B,X,oe,te);else break;se--,me--}if(G>se){if(G<=me){const pe=me+1,Te=pe<he?_[pe].el:j;for(;G<=me;)p(null,_[G]=te?xn(_[G]):nn(_[G]),R,Te,z,B,X,oe,te),G++}}else if(G>me)for(;G<=se;)g(w[G],z,B,!0),G++;else{const pe=G,Te=G,Oe=new Map;for(G=Te;G<=me;G++){const rt=_[G]=te?xn(_[G]):nn(_[G]);rt.key!=null&&Oe.set(rt.key,G)}let Le,st=0;const Ie=me-Te+1;let We=!1,Ye=0;const sn=new Array(Ie);for(G=0;G<Ie;G++)sn[G]=0;for(G=pe;G<=se;G++){const rt=w[G];if(st>=Ie){g(rt,z,B,!0);continue}let _t;if(rt.key!=null)_t=Oe.get(rt.key);else for(Le=Te;Le<=me;Le++)if(sn[Le-Te]===0&&jn(rt,_[Le])){_t=Le;break}_t===void 0?g(rt,z,B,!0):(sn[_t-Te]=G+1,_t>=Ye?Ye=_t:We=!0,p(rt,_[_t],R,null,z,B,X,oe,te),st++)}const an=We?Km(sn):yo;for(Le=an.length-1,G=Ie-1;G>=0;G--){const rt=Te+G,_t=_[rt],un=rt+1<he?_[rt+1].el:j;sn[G]===0?p(null,_t,R,un,z,B,X,oe,te):We&&(Le<0||G!==an[Le]?A(_t,R,un,2):Le--)}}},A=(w,_,R,j,z=null)=>{const{el:B,type:X,transition:oe,children:te,shapeFlag:G}=w;if(G&6){A(w.component.subTree,_,R,j);return}if(G&128){w.suspense.move(_,R,j);return}if(G&64){X.move(w,_,R,Y);return}if(X===Lt){o(B,_,R);for(let se=0;se<te.length;se++)A(te[se],_,R,j);o(w.anchor,_,R);return}if(X===cl){E(w,_,R);return}if(j!==2&&G&1&&oe)if(j===0)oe.beforeEnter(B),o(B,_,R),xt(()=>oe.enter(B),z);else{const{leave:se,delayLeave:me,afterLeave:pe}=oe,Te=()=>o(B,_,R),Oe=()=>{se(B,()=>{Te(),pe&&pe()})};me?me(B,Te,Oe):Oe()}else o(B,_,R)},g=(w,_,R,j=!1,z=!1)=>{const{type:B,props:X,ref:oe,children:te,dynamicChildren:G,shapeFlag:he,patchFlag:se,dirs:me,cacheIndex:pe}=w;if(se===-2&&(z=!1),oe!=null&&Zi(oe,null,R,w,!0),pe!=null&&(_.renderCache[pe]=void 0),he&256){_.ctx.deactivate(w);return}const Te=he&1&&me,Oe=!Yo(w);let Le;if(Oe&&(Le=X&&X.onVnodeBeforeUnmount)&&Xt(Le,_,w),he&6)ne(w.component,R,j);else{if(he&128){w.suspense.unmount(R,j);return}Te&&Bn(w,null,_,"beforeUnmount"),he&64?w.type.remove(w,_,R,Y,j):G&&!G.hasOnce&&(B!==Lt||se>0&&se&64)?L(G,_,R,!1,!0):(B===Lt&&se&384||!z&&he&16)&&L(te,_,R),j&&$(w)}(Oe&&(Le=X&&X.onVnodeUnmounted)||Te)&&xt(()=>{Le&&Xt(Le,_,w),Te&&Bn(w,null,_,"unmounted")},R)},$=w=>{const{type:_,el:R,anchor:j,transition:z}=w;if(_===Lt){D(R,j);return}if(_===cl){T(w);return}const B=()=>{i(R),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(w.shapeFlag&1&&z&&!z.persisted){const{leave:X,delayLeave:oe}=z,te=()=>X(R,B);oe?oe(w.el,B,te):te()}else B()},D=(w,_)=>{let R;for(;w!==_;)R=f(w),i(w),w=R;i(_)},ne=(w,_,R)=>{const{bum:j,scope:z,job:B,subTree:X,um:oe,m:te,a:G}=w;ka(te),ka(G),j&&nl(j),z.stop(),B&&(B.flags|=8,g(X,w,_,R)),oe&&xt(oe,_),xt(()=>{w.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},L=(w,_,R,j=!1,z=!1,B=0)=>{for(let X=B;X<w.length;X++)g(w[X],_,R,j,z)},x=w=>{if(w.shapeFlag&6)return x(w.component.subTree);if(w.shapeFlag&128)return w.suspense.next();const _=f(w.anchor||w.el),R=_&&_[Gc];return R?f(R):_};let K=!1;const O=(w,_,R)=>{w==null?_._vnode&&g(_._vnode,null,null,!0):p(_._vnode||null,w,_,null,null,null,R),_._vnode=w,K||(K=!0,ma(),Kc(),K=!1)},Y={p,um:g,m:A,r:$,mt:N,mc:Z,pc:Q,pbc:M,n:x,o:e};return{render:O,hydrate:void 0,createApp:Mm(O)}}function ul({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 $n({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Um(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ls(e,t,n=!1){const o=e.children,i=t.children;if(_e(o)&&_e(i))for(let r=0;r<o.length;r++){const l=o[r];let s=i[r];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=i[r]=xn(i[r]),s.el=l.el),!n&&s.patchFlag!==-2&&Ls(l,s)),s.type===Fr&&(s.el=l.el)}}function Km(e){const t=e.slice(),n=[0];let o,i,r,l,s;const a=e.length;for(o=0;o<a;o++){const c=e[o];if(c!==0){if(i=n[n.length-1],e[i]<c){t[o]=i,n.push(o);continue}for(r=0,l=n.length-1;r<l;)s=r+l>>1,e[n[s]]<c?r=s+1:l=s;c<e[n[r]]&&(r>0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,l=n[r-1];r-- >0;)n[r]=l,l=t[l];return n}function wd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:wd(t)}function ka(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Wm=Symbol.for("v-scx"),Qm=()=>Vt(Wm);function ye(e,t,n){return _d(e,t,n)}function _d(e,t,n=Ve){const{immediate:o,deep:i,flush:r,once:l}=n,s=lt({},n),a=t&&o||!t&&r!=="post";let c;if(ci){if(r==="sync"){const h=Qm();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=rn,h.resume=rn,h.pause=rn,h}}const u=mt;s.call=(h,m,p)=>Qt(h,u,m,p);let d=!1;r==="post"?s.scheduler=h=>{xt(h,u&&u.suspense)}:r!=="sync"&&(d=!0,s.scheduler=(h,m)=>{m?h():Ts(h)}),s.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const f=hm(e,t,s);return ci&&(c?c.push(f):a&&f()),f}function Gm(e,t,n){const o=this.proxy,i=Ze(e)?e.includes(".")?Sd(o,e):()=>o[e]:e.bind(o,o);let r;xe(t)?r=t:(r=t.handler,n=t);const l=wi(this),s=_d(i,r.bind(o),n);return l(),s}function Sd(e,t){const n=t.split(".");return()=>{let o=e;for(let i=0;i<n.length&&o;i++)o=o[n[i]];return o}}const Jm=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${It(t)}Modifiers`]||e[`${no(t)}Modifiers`];function Xm(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Ve;let i=n;const r=t.startsWith("update:"),l=r&&Jm(o,t.slice(7));l&&(l.trim&&(i=n.map(u=>Ze(u)?u.trim():u)),l.number&&(i=n.map(Lh)));let s,a=o[s=tl(t)]||o[s=tl(It(t))];!a&&r&&(a=o[s=tl(no(t))]),a&&Qt(a,e,6,i);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Qt(c,e,6,i)}}function xd(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(i!==void 0)return i;const r=e.emits;let l={},s=!1;if(!xe(e)){const a=c=>{const u=xd(c,t,!0);u&&(s=!0,lt(l,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!s?(Ke(e)&&o.set(e,null),null):(_e(r)?r.forEach(a=>l[a]=null):lt(l,r),Ke(e)&&o.set(e,l),l)}function Lr(e,t){return!e||!wr(t)?!1:(t=t.slice(2).replace(/Once$/,""),Me(e,t[0].toLowerCase()+t.slice(1))||Me(e,no(t))||Me(e,t))}function Ea(e){const{type:t,vnode:n,proxy:o,withProxy:i,propsOptions:[r],slots:l,attrs:s,emit:a,render:c,renderCache:u,props:d,data:f,setupState:h,ctx:m,inheritAttrs:p}=e,v=Yi(e);let q,S;try{if(n.shapeFlag&4){const T=i||o,F=T;q=nn(c.call(F,T,u,d,h,f,m)),S=s}else{const T=t;q=nn(T.length>1?T(d,{attrs:s,slots:l,emit:a}):T(d,null)),S=t.props?s:Ym(s)}}catch(T){ei.length=0,Tr(T,e,1),q=ie(qt)}let E=q;if(S&&p!==!1){const T=Object.keys(S),{shapeFlag:F}=E;T.length&&F&7&&(r&&T.some(vs)&&(S=Zm(S,r)),E=Pn(E,S,!1,!0))}return n.dirs&&(E=Pn(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Zn(E,n.transition),q=E,Yi(v),q}const Ym=e=>{let t;for(const n in e)(n==="class"||n==="style"||wr(n))&&((t||(t={}))[n]=e[n]);return t},Zm=(e,t)=>{const n={};for(const o in e)(!vs(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function eg(e,t,n){const{props:o,children:i,component:r}=e,{props:l,children:s,patchFlag:a}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return o?Ta(o,l,c):!!l;if(a&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(l[f]!==o[f]&&!Lr(c,f))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:o===l?!1:o?l?Ta(o,l,c):!0:!!l;return!1}function Ta(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let i=0;i<o.length;i++){const r=o[i];if(t[r]!==e[r]&&!Lr(n,r))return!0}return!1}function tg({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const Cd=e=>e.__isSuspense;function ng(e,t){t&&t.pendingBranch?_e(e)?t.effects.push(...e):t.effects.push(e):vm(e)}const Lt=Symbol.for("v-fgt"),Fr=Symbol.for("v-txt"),qt=Symbol.for("v-cmt"),cl=Symbol.for("v-stc"),ei=[];let Ft=null;function Fe(e=!1){ei.push(Ft=e?null:[])}function og(){ei.pop(),Ft=ei[ei.length-1]||null}let ui=1;function qa(e,t=!1){ui+=e,e<0&&Ft&&t&&(Ft.hasOnce=!0)}function kd(e){return e.dynamicChildren=ui>0?Ft||yo:null,og(),ui>0&&Ft&&Ft.push(e),e}function tn(e,t,n,o,i,r){return kd(Ce(e,t,n,o,i,r,!0))}function tt(e,t,n,o,i){return kd(ie(e,t,n,o,i,!0))}function tr(e){return e?e.__v_isVNode===!0:!1}function jn(e,t){return e.type===t.type&&e.key===t.key}const Ed=({key:e})=>e??null,Ii=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ze(e)||wt(e)||xe(e)?{i:Pt,r:e,k:t,f:!!n}:e:null);function Ce(e,t=null,n=null,o=0,i=null,r=e===Lt?0:1,l=!1,s=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ed(t),ref:t&&Ii(t),scopeId:Qc,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:r,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Pt};return s?(Fs(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=Ze(n)?8:16),ui>0&&!l&&Ft&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Ft.push(a),a}const ie=ig;function ig(e,t=null,n=null,o=0,i=null,r=!1){if((!e||e===Tm)&&(e=qt),tr(e)){const s=Pn(e,t,!0);return n&&Fs(s,n),ui>0&&!r&&Ft&&(s.shapeFlag&6?Ft[Ft.indexOf(e)]=s:Ft.push(s)),s.patchFlag=-2,s}if(gg(e)&&(e=e.__vccOpts),t){t=rg(t);let{class:s,style:a}=t;s&&!Ze(s)&&(t.class=kr(s)),Ke(a)&&(Es(a)&&!_e(a)&&(a=lt({},a)),t.style=ys(a))}const l=Ze(e)?1:Cd(e)?128:Jc(e)?64:Ke(e)?4:xe(e)?2:0;return Ce(e,t,n,o,i,l,r,!0)}function rg(e){return e?Es(e)||hd(e)?lt({},e):e:null}function Pn(e,t,n=!1,o=!1){const{props:i,ref:r,patchFlag:l,children:s,transition:a}=e,c=t?lg(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ed(c),ref:t&&t.ref?n&&r?_e(r)?r.concat(Ii(t)):[r,Ii(t)]:Ii(t):r,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!==Lt?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pn(e.ssContent),ssFallback:e.ssFallback&&Pn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&o&&Zn(u,a.clone(u)),u}function Tt(e=" ",t=0){return ie(Fr,null,e,t)}function at(e="",t=!1){return t?(Fe(),tt(qt,null,e)):ie(qt,null,e)}function nn(e){return e==null||typeof e=="boolean"?ie(qt):_e(e)?ie(Lt,null,e.slice()):tr(e)?xn(e):ie(Fr,null,String(e))}function xn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pn(e)}function Fs(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(_e(t))n=16;else if(typeof t=="object")if(o&65){const i=t.default;i&&(i._c&&(i._d=!1),Fs(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!hd(t)?t._ctx=Pt:i===3&&Pt&&(Pt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else xe(t)?(t={default:t,_ctx:Pt},n=32):(t=String(t),o&64?(n=16,t=[Tt(t)]):n=8);e.children=t,e.shapeFlag|=n}function lg(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const i in o)if(i==="class")t.class!==o.class&&(t.class=kr([t.class,o.class]));else if(i==="style")t.style=ys([t.style,o.style]);else if(wr(i)){const r=t[i],l=o[i];l&&r!==l&&!(_e(r)&&r.includes(l))&&(t[i]=r?[].concat(r,l):l)}else i!==""&&(t[i]=o[i])}return t}function Xt(e,t,n,o=null){Qt(e,t,7,[n,o])}const sg=cd();let ag=0;function ug(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||sg,r={uid:ag++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new kc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:gd(o,i),emitsOptions:xd(o,i),emit:null,emitted:null,propsDefaults:Ve,inheritAttrs:o.inheritAttrs,ctx:Ve,data:Ve,props:Ve,attrs:Ve,slots:Ve,refs:Ve,setupState:Ve,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=Xm.bind(null,r),e.ce&&e.ce(r),r}let mt=null;const Pe=()=>mt||Pt;let nr,Kl;{const e=Cr(),t=(n,o)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(o),r=>{i.length>1?i.forEach(l=>l(r)):i[0](r)}};nr=t("__VUE_INSTANCE_SETTERS__",n=>mt=n),Kl=t("__VUE_SSR_SETTERS__",n=>ci=n)}const wi=e=>{const t=mt;return nr(e),e.scope.on(),()=>{e.scope.off(),nr(t)}},Ra=()=>{mt&&mt.scope.off(),nr(null)};function Td(e){return e.vnode.shapeFlag&4}let ci=!1;function cg(e,t=!1,n=!1){t&&Kl(t);const{props:o,children:i}=e.vnode,r=Td(e);Bm(e,o,r,t),Im(e,i,n);const l=r?dg(e,t):void 0;return t&&Kl(!1),l}function dg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Rm);const{setup:o}=n;if(o){Ln();const i=e.setupContext=o.length>1?hg(e):null,r=wi(e),l=yi(o,e,0,[e.props,i]),s=bc(l);if(Fn(),r(),(s||e.sp)&&!Yo(e)&&id(e),s){if(l.then(Ra,Ra),t)return l.then(a=>{Pa(e,a)}).catch(a=>{Tr(a,e,0)});e.asyncDep=l}else Pa(e,l)}else qd(e)}function Pa(e,t,n){xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ke(t)&&(e.setupState=Hc(t)),qd(e)}function qd(e,t,n){const o=e.type;e.render||(e.render=o.render||rn);{const i=wi(e);Ln();try{Pm(e)}finally{Fn(),i()}}}const fg={get(e,t){return pt(e,"get",""),e[t]}};function hg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,fg),slots:e.slots,emit:e.emit,expose:t}}function Dr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Hc(Oo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Zo)return Zo[n](e)},has(t,n){return n in t||n in Zo}})):e.proxy}function mg(e,t=!0){return xe(e)?e.displayName||e.name:e.name||t&&e.__name}function gg(e){return xe(e)&&"__vccOpts"in e}const y=(e,t)=>dm(e,t,ci);function b(e,t,n){const o=arguments.length;return o===2?Ke(t)&&!_e(t)?tr(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&tr(n)&&(n=[n]),ie(e,t,n))}const vg="3.5.13";/**
|
|
14
|
-
* @vue/runtime-dom v3.5.13
|
|
15
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
-
* @license MIT
|
|
17
|
-
**/let Wl;const Aa=typeof window<"u"&&window.trustedTypes;if(Aa)try{Wl=Aa.createPolicy("vue",{createHTML:e=>e})}catch{}const Rd=Wl?e=>Wl.createHTML(e):e=>e,pg="http://www.w3.org/2000/svg",bg="http://www.w3.org/1998/Math/MathML",fn=typeof document<"u"?document:null,Oa=fn&&fn.createElement("template"),yg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const i=t==="svg"?fn.createElementNS(pg,e):t==="mathml"?fn.createElementNS(bg,e):n?fn.createElement(e,{is:n}):fn.createElement(e);return e==="select"&&o&&o.multiple!=null&&i.setAttribute("multiple",o.multiple),i},createText:e=>fn.createTextNode(e),createComment:e=>fn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>fn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,i,r){const l=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Oa.innerHTML=Rd(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const s=Oa.content;if(o==="svg"||o==="mathml"){const a=s.firstChild;for(;a.firstChild;)s.appendChild(a.firstChild);s.removeChild(a)}t.insertBefore(s,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},bn="transition",$o="animation",Eo=Symbol("_vtc"),Pd={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},Ad=lt({},ed,Pd),wg=e=>(e.displayName="Transition",e.props=Ad,e),eo=wg((e,{slots:t})=>b(wm,Od(e),t)),Nn=(e,t=[])=>{_e(e)?e.forEach(n=>n(...t)):e&&e(...t)},La=e=>e?_e(e)?e.some(t=>t.length>1):e.length>1:!1;function Od(e){const t={};for(const C in e)C in Pd||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:o,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:c=l,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=_g(i),p=m&&m[0],v=m&&m[1],{onBeforeEnter:q,onEnter:S,onEnterCancelled:E,onLeave:T,onLeaveCancelled:F,onBeforeAppear:I=q,onAppear:W=S,onAppearCancelled:Z=E}=t,P=(C,J,N,re)=>{C._enterCancelled=re,wn(C,J?u:s),wn(C,J?c:l),N&&N()},M=(C,J)=>{C._isLeaving=!1,wn(C,d),wn(C,h),wn(C,f),J&&J()},U=C=>(J,N)=>{const re=C?W:S,ee=()=>P(J,C,N);Nn(re,[J,ee]),Fa(()=>{wn(J,C?a:r),Zt(J,C?u:s),La(re)||Da(J,o,p,ee)})};return lt(t,{onBeforeEnter(C){Nn(q,[C]),Zt(C,r),Zt(C,l)},onBeforeAppear(C){Nn(I,[C]),Zt(C,a),Zt(C,c)},onEnter:U(!1),onAppear:U(!0),onLeave(C,J){C._isLeaving=!0;const N=()=>M(C,J);Zt(C,d),C._enterCancelled?(Zt(C,f),Ql()):(Ql(),Zt(C,f)),Fa(()=>{C._isLeaving&&(wn(C,d),Zt(C,h),La(T)||Da(C,o,v,N))}),Nn(T,[C,N])},onEnterCancelled(C){P(C,!1,void 0,!0),Nn(E,[C])},onAppearCancelled(C){P(C,!0,void 0,!0),Nn(Z,[C])},onLeaveCancelled(C){M(C),Nn(F,[C])}})}function _g(e){if(e==null)return null;if(Ke(e))return[dl(e.enter),dl(e.leave)];{const t=dl(e);return[t,t]}}function dl(e){return Fh(e)}function Zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Eo]||(e[Eo]=new Set)).add(t)}function wn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Eo];n&&(n.delete(t),n.size||(e[Eo]=void 0))}function Fa(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Sg=0;function Da(e,t,n,o){const i=e._endId=++Sg,r=()=>{i===e._endId&&o()};if(n!=null)return setTimeout(r,n);const{type:l,timeout:s,propCount:a}=Ld(e,t);if(!l)return o();const c=l+"end";let u=0;const d=()=>{e.removeEventListener(c,f),r()},f=h=>{h.target===e&&++u>=a&&d()};setTimeout(()=>{u<a&&d()},s+1),e.addEventListener(c,f)}function Ld(e,t){const n=window.getComputedStyle(e),o=m=>(n[m]||"").split(", "),i=o(`${bn}Delay`),r=o(`${bn}Duration`),l=Ma(i,r),s=o(`${$o}Delay`),a=o(`${$o}Duration`),c=Ma(s,a);let u=null,d=0,f=0;t===bn?l>0&&(u=bn,d=l,f=r.length):t===$o?c>0&&(u=$o,d=c,f=a.length):(d=Math.max(l,c),u=d>0?l>c?bn:$o:null,f=u?u===bn?r.length:a.length:0);const h=u===bn&&/\b(transform|all)(,|$)/.test(o(`${bn}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function Ma(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>Ba(n)+Ba(e[o])))}function Ba(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ql(){return document.body.offsetHeight}function xg(e,t,n){const o=e[Eo];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const or=Symbol("_vod"),Fd=Symbol("_vsh"),Cg={beforeMount(e,{value:t},{transition:n}){e[or]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):No(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),No(e,!0),o.enter(e)):o.leave(e,()=>{No(e,!1)}):No(e,t))},beforeUnmount(e,{value:t}){No(e,t)}};function No(e,t){e.style.display=t?e[or]:"none",e[Fd]=!t}const kg=Symbol(""),Eg=/(^|;)\s*display\s*:/;function Tg(e,t,n){const o=e.style,i=Ze(n);let r=!1;if(n&&!i){if(t)if(Ze(t))for(const l of t.split(";")){const s=l.slice(0,l.indexOf(":")).trim();n[s]==null&&ji(o,s,"")}else for(const l in t)n[l]==null&&ji(o,l,"");for(const l in n)l==="display"&&(r=!0),ji(o,l,n[l])}else if(i){if(t!==n){const l=o[kg];l&&(n+=";"+l),o.cssText=n,r=Eg.test(n)}}else t&&e.removeAttribute("style");or in e&&(e[or]=r?o.display:"",e[Fd]&&(o.display="none"))}const $a=/\s*!important$/;function ji(e,t,n){if(_e(n))n.forEach(o=>ji(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=qg(e,t);$a.test(n)?e.setProperty(no(o),n.replace($a,""),"important"):e[o]=n}}const Na=["Webkit","Moz","ms"],fl={};function qg(e,t){const n=fl[t];if(n)return n;let o=It(t);if(o!=="filter"&&o in e)return fl[t]=o;o=xr(o);for(let i=0;i<Na.length;i++){const r=Na[i]+o;if(r in e)return fl[t]=r}return t}const Va="http://www.w3.org/1999/xlink";function Ia(e,t,n,o,i,r=Vh(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Va,t.slice(6,t.length)):e.setAttributeNS(Va,t,n):n==null||r&&!Sc(n)?e.removeAttribute(t):e.setAttribute(t,r?"":On(n)?String(n):n)}function ja(e,t,n,o,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Rd(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const s=r==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(s!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=Sc(n):n==null&&s==="string"?(n="",l=!0):s==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(i||t)}function Rg(e,t,n,o){e.addEventListener(t,n,o)}function Pg(e,t,n,o){e.removeEventListener(t,n,o)}const Ha=Symbol("_vei");function Ag(e,t,n,o,i=null){const r=e[Ha]||(e[Ha]={}),l=r[t];if(o&&l)l.value=o;else{const[s,a]=Og(t);if(o){const c=r[t]=Dg(o,i);Rg(e,s,c,a)}else l&&(Pg(e,s,l,a),r[t]=void 0)}}const za=/(?:Once|Passive|Capture)$/;function Og(e){let t;if(za.test(e)){t={};let o;for(;o=e.match(za);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):no(e.slice(2)),t]}let hl=0;const Lg=Promise.resolve(),Fg=()=>hl||(Lg.then(()=>hl=0),hl=Date.now());function Dg(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Qt(Mg(o,n.value),t,5,[o])};return n.value=e,n.attached=Fg(),n}function Mg(e,t){if(_e(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>i=>!i._stopped&&o&&o(i))}else return t}const Ua=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Bg=(e,t,n,o,i,r)=>{const l=i==="svg";t==="class"?xg(e,o,l):t==="style"?Tg(e,n,o):wr(t)?vs(t)||Ag(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):$g(e,t,o,l))?(ja(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ia(e,t,o,l,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ze(o))?ja(e,It(t),o,r,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Ia(e,t,o,l))};function $g(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ua(t)&&xe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Ua(t)&&Ze(n)?!1:t in e}const Dd=new WeakMap,Md=new WeakMap,ir=Symbol("_moveCb"),Ka=Symbol("_enterCb"),Ng=e=>(delete e.props.mode,e),Vg=Ng({name:"TransitionGroup",props:lt({},Ad,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Pe(),o=Zc();let i,r;return Ps(()=>{if(!i.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!Ug(i[0].el,n.vnode.el,l))return;i.forEach(jg),i.forEach(Hg);const s=i.filter(zg);Ql(),s.forEach(a=>{const c=a.el,u=c.style;Zt(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[ir]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[ir]=null,wn(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=Ee(e),s=Od(l);let a=l.tag||Lt;if(i=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(i.push(u),Zn(u,ai(u,s,o,n)),Dd.set(u,u.el.getBoundingClientRect()))}r=t.default?qs(t.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&Zn(u,ai(u,s,o,n))}return ie(a,null,r)}}}),Ig=Vg;function jg(e){const t=e.el;t[ir]&&t[ir](),t[Ka]&&t[Ka]()}function Hg(e){Md.set(e,e.el.getBoundingClientRect())}function zg(e){const t=Dd.get(e),n=Md.get(e),o=t.left-n.left,i=t.top-n.top;if(o||i){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${o}px,${i}px)`,r.transitionDuration="0s",e}}function Ug(e,t,n){const o=e.cloneNode(),i=e[Eo];i&&i.forEach(s=>{s.split(/\s+/).forEach(a=>a&&o.classList.remove(a))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:l}=Ld(o);return r.removeChild(o),l}const Kg=["ctrl","shift","alt","meta"],Wg={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)=>Kg.some(n=>e[`${n}Key`]&&!t.includes(n))},Wa=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(i,...r)=>{for(let l=0;l<t.length;l++){const s=Wg[t[l]];if(s&&s(i,t))return}return e(i,...r)})},Qg=lt({patchProp:Bg},yg);let Qa;function Gg(){return Qa||(Qa=Hm(Qg))}const Bd=(...e)=>{const t=Gg().createApp(...e),{mount:n}=t;return t.mount=o=>{const i=Xg(o);if(!i)return;const r=t._component;!xe(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const l=n(i,!1,Jg(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t};function Jg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Xg(e){return Ze(e)?document.querySelector(e):e}function Rt(e,t,n,o){return Object.defineProperty(e,t,{get:n,set:o,enumerable:!0}),e}function Yg(e,t){for(const n in t)Rt(e,n,t[n]);return e}const An=ue(!1);let Gl;function Zg(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[4]||n[2]||"0",platform:t[0]||""}}function ev(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const $d="ontouchstart"in window||window.navigator.maxTouchPoints>0;function tv(e){const t=e.toLowerCase(),n=ev(t),o=Zg(t,n),i={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};o.browser&&(i[o.browser]=!0,i.version=o.version,i.versionNumber=parseInt(o.version,10)),o.platform&&(i[o.platform]=!0);const r=i.android||i.ios||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"];if(r===!0||t.indexOf("mobile")!==-1?i.mobile=!0:i.desktop=!0,i["windows phone"]&&(i.winphone=!0,delete i["windows phone"]),i.edga||i.edgios||i.edg?(i.edge=!0,o.browser="edge"):i.crios?(i.chrome=!0,o.browser="chrome"):i.fxios&&(i.firefox=!0,o.browser="firefox"),(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i.vivaldi&&(o.browser="vivaldi",i.vivaldi=!0),(i.chrome||i.opr||i.safari||i.vivaldi||i.mobile===!0&&i.ios!==!0&&r!==!0)&&(i.webkit=!0),i.opr&&(o.browser="opera",i.opera=!0),i.safari&&(i.blackberry||i.bb?(o.browser="blackberry",i.blackberry=!0):i.playbook?(o.browser="playbook",i.playbook=!0):i.android?(o.browser="android",i.android=!0):i.kindle?(o.browser="kindle",i.kindle=!0):i.silk&&(o.browser="silk",i.silk=!0)),i.name=o.browser,i.platform=o.platform,t.indexOf("electron")!==-1)i.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)i.bex=!0;else{if(window.Capacitor!==void 0?(i.capacitor=!0,i.nativeMobile=!0,i.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(i.cordova=!0,i.nativeMobile=!0,i.nativeMobileWrapper="cordova"),An.value===!0&&(Gl={is:{...i}}),$d===!0&&i.mac===!0&&(i.desktop===!0&&i.safari===!0||i.nativeMobile===!0&&i.android!==!0&&i.ios!==!0&&i.ipad!==!0)){delete i.mac,delete i.desktop;const l=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(i,{mobile:!0,ios:!0,platform:l,[l]:!0})}i.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete i.desktop,i.mobile=!0)}return i}const Ga=navigator.userAgent||navigator.vendor||window.opera,nv={has:{touch:!1,webStorage:!1},within:{iframe:!1}},it={userAgent:Ga,is:tv(Ga),has:{touch:$d},within:{iframe:window.self!==window.top}},rr={install(e){const{$q:t}=e;An.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,it),An.value=!1}),t.platform=Ao(this)):t.platform=this}};{let e;Rt(it.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(rr,it),An.value===!0&&(Object.assign(rr,Gl,nv),Gl=null)}function Ae(e){return Oo(Rs(e))}function Nd(e){return Oo(e)}const Mr=(e,t)=>{const n=Ao(e);for(const o in e)Rt(t,o,()=>n[o],i=>{n[o]=i});return t},ht={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(ht,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function To(){}function Vd(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function ov(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),n.tagName==="HTML")return t.push(document),t.push(window),t;n=n.parentElement}}function on(e){e.stopPropagation()}function Ut(e){e.cancelable!==!1&&e.preventDefault()}function Ge(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function di(e,t,n){const o=`__q_${t}_evt`;e[o]=e[o]!==void 0?e[o].concat(n):n,n.forEach(i=>{i[0].addEventListener(i[1],e[i[2]],ht[i[3]])})}function lr(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(o=>{o[0].removeEventListener(o[1],e[o[2]],ht[o[3]])}),e[n]=void 0)}function Ds(e,t=250,n){let o=null;function i(){const r=arguments,l=()=>{o=null,e.apply(this,r)};o!==null&&clearTimeout(o),o=setTimeout(l,t)}return i.cancel=()=>{o!==null&&clearTimeout(o)},i}const ml=["sm","md","lg","xl"],{passive:Ja}=ht,iv=Mr({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:To,setDebounce:To,install({$q:e,onSSRHydrated:t}){if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:n}=window,o=n||window,i=document.scrollingElement||document.documentElement,r=n===void 0||it.is.mobile===!0?()=>[Math.max(window.innerWidth,i.clientWidth),Math.max(window.innerHeight,i.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-i.clientWidth,n.height*n.scale+window.innerHeight-i.clientHeight],l=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=d=>{const[f,h]=r();if(h!==this.height&&(this.height=h),f!==this.width)this.width=f;else if(d!==!0)return;let m=this.sizes;this.gt.xs=f>=m.sm,this.gt.sm=f>=m.md,this.gt.md=f>=m.lg,this.gt.lg=f>=m.xl,this.lt.sm=f<m.sm,this.lt.md=f<m.md,this.lt.lg=f<m.lg,this.lt.xl=f<m.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,m=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",m!==this.name&&(l===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${m}`)),this.name=m)};let s,a={},c=16;this.setSizes=d=>{ml.forEach(f=>{d[f]!==void 0&&(a[f]=d[f])})},this.setDebounce=d=>{c=d};const u=()=>{const d=getComputedStyle(document.body);d.getPropertyValue("--q-size-sm")&&ml.forEach(f=>{this.sizes[f]=parseInt(d.getPropertyValue(`--q-size-${f}`),10)}),this.setSizes=f=>{ml.forEach(h=>{f[h]&&(this.sizes[h]=f[h])}),this.__update(!0)},this.setDebounce=f=>{s!==void 0&&o.removeEventListener("resize",s,Ja),s=f>0?Ds(this.__update,f):this.__update,o.addEventListener("resize",s,Ja)},this.setDebounce(c),Object.keys(a).length!==0?(this.setSizes(a),a=void 0):this.__update(),l===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};An.value===!0?t.push(u):u()}}),vt=Mr({isActive:!1,mode:!1},{__media:void 0,set(e){vt.mode=e,e==="auto"?(vt.__media===void 0&&(vt.__media=window.matchMedia("(prefers-color-scheme: dark)"),vt.__updateMedia=()=>{vt.set("auto")},vt.__media.addListener(vt.__updateMedia)),e=vt.__media.matches):vt.__media!==void 0&&(vt.__media.removeListener(vt.__updateMedia),vt.__media=void 0),vt.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){vt.set(vt.isActive===!1)},install({$q:e,ssrContext:t}){const{dark:n}=e.config;e.dark=this,this.__installed!==!0&&this.set(n!==void 0?n:!1)}});function rv(e,t,n=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let Id=!1;function lv(e){Id=e.isComposing===!0}function Br(e){return Id===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function gn(e,t){return Br(e)===!0?!1:[].concat(t).includes(e.keyCode)}function jd(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function sv({is:e,has:t,within:n},o){const i=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const r=jd(e);r!==void 0&&i.push("platform-"+r)}if(e.nativeMobile===!0){const r=e.nativeMobileWrapper;i.push(r),i.push("native-mobile"),e.ios===!0&&(o[r]===void 0||o[r].iosStatusBarPadding!==!1)&&i.push("q-ios-padding")}else e.electron===!0?i.push("electron"):e.bex===!0&&i.push("bex");return n.iframe===!0&&i.push("within-iframe"),i}function av(){const{is:e}=it,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(e.mobile===!0){n.delete("desktop"),n.add("mobile"),n.delete("platform-ios"),n.delete("platform-android");const i=jd(e);i!==void 0&&n.add(`platform-${i}`)}}it.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),it.within.iframe===!0&&n.add("within-iframe");const o=Array.from(n).join(" ");t!==o&&(document.body.className=o)}function uv(e){for(const t in e)rv(t,e[t])}const cv={install(e){if(this.__installed!==!0){if(An.value===!0)av();else{const{$q:t}=e;t.config.brand!==void 0&&uv(t.config.brand);const n=sv(it,t.config);document.body.classList.add.apply(document.body.classList,n)}it.is.ios===!0&&document.body.addEventListener("touchstart",To),window.addEventListener("keydown",lv,!0)}}},Hd=()=>!0;function dv(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function fv(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function hv(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Hd;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(dv).map(fv)),()=>t.includes(window.location.hash)}const fi={__history:[],add:To,remove:To,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=it.is;if(t!==!0&&n!==!0)return;const o=e.config[t===!0?"cordova":"capacitor"];if(o!==void 0&&o.backButton===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=l=>{l.condition===void 0&&(l.condition=Hd),this.__history.push(l)},this.remove=l=>{const s=this.__history.indexOf(l);s>=0&&this.__history.splice(s,1)};const i=hv(Object.assign({backButtonExit:!0},o)),r=()=>{if(this.__history.length){const l=this.__history[this.__history.length-1];l.condition()===!0&&(this.__history.pop(),l.handler())}else i()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",r,!1)}):window.Capacitor.Plugins.App.addListener("backButton",r)}},Xa={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function Ya(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,n)=>n===0?t.toLowerCase():n>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const Cn=Mr({__qLang:{}},{getLocale:Ya,set(e=Xa,t){const n={...e,rtl:e.rtl===!0,getLocale:Ya};{if(n.set=Cn.set,Cn.__langConfig===void 0||Cn.__langConfig.noHtmlAttrs!==!0){const o=document.documentElement;o.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),o.setAttribute("lang",n.isoName)}Object.assign(Cn.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=Cn.__qLang,Cn.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(i=>i!=="set"&&i!=="getLocale")}}),this.set(t||Xa))}}),mv={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}},sr=Mr({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=sr.set,Object.assign(sr.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,Rt(e,"iconMapFn",()=>this.iconMapFn,o=>{this.iconMapFn=o}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(i=>i!=="set")}}),this.set(t||mv))}}),gv="_q_",vv="_q_l_",pv="_q_pc_",bv="_q_fo_";function fo(){}const ar={};let zd=!1;function yv(){zd=!0}function qn(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,o;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(qn(e[o],t[o])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let r=e.entries();for(o=r.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=r.next()}for(r=e.entries(),o=r.next();o.done!==!0;){if(qn(o.value[1],t.get(o.value[0]))!==!0)return!1;o=r.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const r=e.entries();for(o=r.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=r.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const i=Object.keys(e).filter(r=>e[r]!==void 0);if(n=i.length,n!==Object.keys(t).filter(r=>t[r]!==void 0).length)return!1;for(o=n;o--!==0;){const r=i[o];if(qn(e[r],t[r])!==!0)return!1}return!0}return e!==e&&t!==t}function $t(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Za(e){return Object.prototype.toString.call(e)==="[object Date]"}function Jl(e){return typeof e=="number"&&isFinite(e)}const eu=[rr,cv,vt,iv,fi,Cn,sr];function Ud(e,t){const n=Bd(e);n.config.globalProperties=t.config.globalProperties;const{reload:o,...i}=t._context;return Object.assign(n._context,i),n}function tu(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function wv(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(gv,n.$q),tu(n,eu),t.components!==void 0&&Object.values(t.components).forEach(o=>{$t(o)===!0&&o.name!==void 0&&e.component(o.name,o)}),t.directives!==void 0&&Object.values(t.directives).forEach(o=>{$t(o)===!0&&o.name!==void 0&&e.directive(o.name,o)}),t.plugins!==void 0&&tu(n,Object.values(t.plugins).filter(o=>typeof o.install=="function"&&eu.includes(o)===!1)),An.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(o=>{o()}),n.$q.onSSRHydrated=()=>{}})}const _v=function(e,t={}){const n={version:"2.17.5"};zd===!1?(t.config!==void 0&&Object.assign(ar,t.config),n.config={...ar},yv()):n.config=t.config||{},wv(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},Sv={name:"Quasar",version:"2.17.5",install:_v,lang:Cn,iconSet:sr},xv={__name:"App",setup(e){return(t,n)=>{const o=ld("router-view");return Fe(),tt(o)}}},Ms=e=>e,C_=Ms,Cv=Ms,kv=Ms;var Ev=!1;/*!
|
|
18
|
-
* pinia v2.3.0
|
|
19
|
-
* (c) 2024 Eduardo San Martin Morote
|
|
20
|
-
* @license MIT
|
|
21
|
-
*/const Tv=Symbol();var nu;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(nu||(nu={}));function qv(){const e=Ih(!0),t=e.run(()=>ue({}));let n=[],o=[];const i=Oo({install(r){i._a=r,r.provide(Tv,i),r.config.globalProperties.$pinia=i,o.forEach(l=>n.push(l)),o=[]},use(r){return!this._a&&!Ev?o.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const gl=kv(()=>qv());/*!
|
|
22
|
-
* vue-router v4.5.0
|
|
23
|
-
* (c) 2024 Eduardo San Martin Morote
|
|
24
|
-
* @license MIT
|
|
25
|
-
*/const po=typeof document<"u";function Kd(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Rv(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Kd(e.default)}const De=Object.assign;function vl(e,t){const n={};for(const o in t){const i=t[o];n[o]=Gt(i)?i.map(e):e(i)}return n}const ti=()=>{},Gt=Array.isArray,Wd=/#/g,Pv=/&/g,Av=/\//g,Ov=/=/g,Lv=/\?/g,Qd=/\+/g,Fv=/%5B/g,Dv=/%5D/g,Gd=/%5E/g,Mv=/%60/g,Jd=/%7B/g,Bv=/%7C/g,Xd=/%7D/g,$v=/%20/g;function Bs(e){return encodeURI(""+e).replace(Bv,"|").replace(Fv,"[").replace(Dv,"]")}function Nv(e){return Bs(e).replace(Jd,"{").replace(Xd,"}").replace(Gd,"^")}function Xl(e){return Bs(e).replace(Qd,"%2B").replace($v,"+").replace(Wd,"%23").replace(Pv,"%26").replace(Mv,"`").replace(Jd,"{").replace(Xd,"}").replace(Gd,"^")}function Vv(e){return Xl(e).replace(Ov,"%3D")}function Iv(e){return Bs(e).replace(Wd,"%23").replace(Lv,"%3F")}function jv(e){return e==null?"":Iv(e).replace(Av,"%2F")}function hi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Hv=/\/$/,zv=e=>e.replace(Hv,"");function pl(e,t,n="/"){let o,i={},r="",l="";const s=t.indexOf("#");let a=t.indexOf("?");return s<a&&s>=0&&(a=-1),a>-1&&(o=t.slice(0,a),r=t.slice(a+1,s>-1?s:t.length),i=e(r)),s>-1&&(o=o||t.slice(0,s),l=t.slice(s,t.length)),o=Qv(o??t,n),{fullPath:o+(r&&"?")+r+l,path:o,query:i,hash:hi(l)}}function Uv(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ou(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Kv(e,t,n){const o=t.matched.length-1,i=n.matched.length-1;return o>-1&&o===i&&qo(t.matched[o],n.matched[i])&&Yd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function qo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Yd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Wv(e[n],t[n]))return!1;return!0}function Wv(e,t){return Gt(e)?iu(e,t):Gt(t)?iu(t,e):e===t}function iu(e,t){return Gt(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function Qv(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),i=o[o.length-1];(i===".."||i===".")&&o.push("");let r=n.length-1,l,s;for(l=0;l<o.length;l++)if(s=o[l],s!==".")if(s==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+o.slice(l).join("/")}const yn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var mi;(function(e){e.pop="pop",e.push="push"})(mi||(mi={}));var ni;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ni||(ni={}));function Gv(e){if(!e)if(po){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),zv(e)}const Jv=/^[^#]+#/;function Xv(e,t){return e.replace(Jv,"#")+t}function Yv(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const $r=()=>({left:window.scrollX,top:window.scrollY});function Zv(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Yv(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ru(e,t){return(history.state?history.state.position-t:-1)+e}const Yl=new Map;function ep(e,t){Yl.set(e,t)}function tp(e){const t=Yl.get(e);return Yl.delete(e),t}let np=()=>location.protocol+"//"+location.host;function Zd(e,t){const{pathname:n,search:o,hash:i}=t,r=e.indexOf("#");if(r>-1){let s=i.includes(e.slice(r))?e.slice(r).length:1,a=i.slice(s);return a[0]!=="/"&&(a="/"+a),ou(a,"")}return ou(n,e)+o+i}function op(e,t,n,o){let i=[],r=[],l=null;const s=({state:f})=>{const h=Zd(e,location),m=n.value,p=t.value;let v=0;if(f){if(n.value=h,t.value=f,l&&l===m){l=null;return}v=p?f.position-p.position:0}else o(h);i.forEach(q=>{q(n.value,m,{delta:v,type:mi.pop,direction:v?v>0?ni.forward:ni.back:ni.unknown})})};function a(){l=n.value}function c(f){i.push(f);const h=()=>{const m=i.indexOf(f);m>-1&&i.splice(m,1)};return r.push(h),h}function u(){const{history:f}=window;f.state&&f.replaceState(De({},f.state,{scroll:$r()}),"")}function d(){for(const f of r)f();r=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:d}}function lu(e,t,n,o=!1,i=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:i?$r():null}}function ip(e){const{history:t,location:n}=window,o={value:Zd(e,n)},i={value:t.state};i.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(a,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:np()+e+a;try{t[u?"replaceState":"pushState"](c,"",f),i.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function l(a,c){const u=De({},t.state,lu(i.value.back,a,i.value.forward,!0),c,{position:i.value.position});r(a,u,!0),o.value=a}function s(a,c){const u=De({},i.value,t.state,{forward:a,scroll:$r()});r(u.current,u,!0);const d=De({},lu(o.value,a,null),{position:u.position+1},c);r(a,d,!1),o.value=a}return{location:o,state:i,push:s,replace:l}}function rp(e){e=Gv(e);const t=ip(e),n=op(e,t.state,t.location,t.replace);function o(r,l=!0){l||n.pauseListeners(),history.go(r)}const i=De({location:"",base:e,go:o,createHref:Xv.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function lp(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),rp(e)}function sp(e){return typeof e=="string"||e&&typeof e=="object"}function ef(e){return typeof e=="string"||typeof e=="symbol"}const tf=Symbol("");var su;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(su||(su={}));function Ro(e,t){return De(new Error,{type:e,[tf]:!0},t)}function dn(e,t){return e instanceof Error&&tf in e&&(t==null||!!(e.type&t))}const au="[^/]+?",ap={sensitive:!1,strict:!1,start:!0,end:!0},up=/[.+*?^${}()[\]/\\]/g;function cp(e,t){const n=De({},ap,t),o=[];let i=n.start?"^":"";const r=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let d=0;d<c.length;d++){const f=c[d];let h=40+(n.sensitive?.25:0);if(f.type===0)d||(i+="/"),i+=f.value.replace(up,"\\$&"),h+=40;else if(f.type===1){const{value:m,repeatable:p,optional:v,regexp:q}=f;r.push({name:m,repeatable:p,optional:v});const S=q||au;if(S!==au){h+=10;try{new RegExp(`(${S})`)}catch(T){throw new Error(`Invalid custom RegExp for param "${m}" (${S}): `+T.message)}}let E=p?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;d||(E=v&&c.length<2?`(?:/${E})`:"/"+E),v&&(E+="?"),i+=E,h+=20,v&&(h+=-8),p&&(h+=-20),S===".*"&&(h+=-50)}u.push(h)}o.push(u)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const l=new RegExp(i,n.sensitive?"":"i");function s(c){const u=c.match(l),d={};if(!u)return null;for(let f=1;f<u.length;f++){const h=u[f]||"",m=r[f-1];d[m.name]=h&&m.repeatable?h.split("/"):h}return d}function a(c){let u="",d=!1;for(const f of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of f)if(h.type===0)u+=h.value;else if(h.type===1){const{value:m,repeatable:p,optional:v}=h,q=m in c?c[m]:"";if(Gt(q)&&!p)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const S=Gt(q)?q.join("/"):q;if(!S)if(v)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${m}"`);u+=S}}return u||"/"}return{re:l,score:o,keys:r,parse:s,stringify:a}}function dp(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function nf(e,t){let n=0;const o=e.score,i=t.score;for(;n<o.length&&n<i.length;){const r=dp(o[n],i[n]);if(r)return r;n++}if(Math.abs(i.length-o.length)===1){if(uu(o))return 1;if(uu(i))return-1}return i.length-o.length}function uu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const fp={type:0,value:""},hp=/[a-zA-Z0-9_]/;function mp(e){if(!e)return[[]];if(e==="/")return[[fp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,o=n;const i=[];let r;function l(){r&&i.push(r),r=[]}let s=0,a,c="",u="";function d(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;s<e.length;){if(a=e[s++],a==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:a==="/"?(c&&d(),l()):a===":"?(d(),n=1):f();break;case 4:f(),n=o;break;case 1:a==="("?n=2:hp.test(a)?f():(d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&s--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&s--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),l(),i}function gp(e,t,n){const o=cp(mp(e.path),n),i=De(o,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function vp(e,t){const n=[],o=new Map;t=hu({strict:!1,end:!0,sensitive:!1},t);function i(d){return o.get(d)}function r(d,f,h){const m=!h,p=du(d);p.aliasOf=h&&h.record;const v=hu(t,d),q=[p];if("alias"in d){const T=typeof d.alias=="string"?[d.alias]:d.alias;for(const F of T)q.push(du(De({},p,{components:h?h.record.components:p.components,path:F,aliasOf:h?h.record:p})))}let S,E;for(const T of q){const{path:F}=T;if(f&&F[0]!=="/"){const I=f.record.path,W=I[I.length-1]==="/"?"":"/";T.path=f.record.path+(F&&W+F)}if(S=gp(T,f,v),h?h.alias.push(S):(E=E||S,E!==S&&E.alias.push(S),m&&d.name&&!fu(S)&&l(d.name)),of(S)&&a(S),p.children){const I=p.children;for(let W=0;W<I.length;W++)r(I[W],S,h&&h.children[W])}h=h||S}return E?()=>{l(E)}:ti}function l(d){if(ef(d)){const f=o.get(d);f&&(o.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(l),f.alias.forEach(l))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&o.delete(d.record.name),d.children.forEach(l),d.alias.forEach(l))}}function s(){return n}function a(d){const f=yp(d,n);n.splice(f,0,d),d.record.name&&!fu(d)&&o.set(d.record.name,d)}function c(d,f){let h,m={},p,v;if("name"in d&&d.name){if(h=o.get(d.name),!h)throw Ro(1,{location:d});v=h.record.name,m=De(cu(f.params,h.keys.filter(E=>!E.optional).concat(h.parent?h.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),d.params&&cu(d.params,h.keys.map(E=>E.name))),p=h.stringify(m)}else if(d.path!=null)p=d.path,h=n.find(E=>E.re.test(p)),h&&(m=h.parse(p),v=h.record.name);else{if(h=f.name?o.get(f.name):n.find(E=>E.re.test(f.path)),!h)throw Ro(1,{location:d,currentLocation:f});v=h.record.name,m=De({},f.params,d.params),p=h.stringify(m)}const q=[];let S=h;for(;S;)q.unshift(S.record),S=S.parent;return{name:v,path:p,params:m,matched:q,meta:bp(q)}}e.forEach(d=>r(d));function u(){n.length=0,o.clear()}return{addRoute:r,resolve:c,removeRoute:l,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function cu(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function du(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:pp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function pp(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function fu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bp(e){return e.reduce((t,n)=>De(t,n.meta),{})}function hu(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function yp(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;nf(e,t[r])<0?o=r:n=r+1}const i=wp(e);return i&&(o=t.lastIndexOf(i,o-1)),o}function wp(e){let t=e;for(;t=t.parent;)if(of(t)&&nf(e,t)===0)return t}function of({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function _p(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<o.length;++i){const r=o[i].replace(Qd," "),l=r.indexOf("="),s=hi(l<0?r:r.slice(0,l)),a=l<0?null:hi(r.slice(l+1));if(s in t){let c=t[s];Gt(c)||(c=t[s]=[c]),c.push(a)}else t[s]=a}return t}function mu(e){let t="";for(let n in e){const o=e[n];if(n=Vv(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(Gt(o)?o.map(r=>r&&Xl(r)):[o&&Xl(o)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Sp(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Gt(o)?o.map(i=>i==null?null:""+i):o==null?o:""+o)}return t}const xp=Symbol(""),gu=Symbol(""),$s=Symbol(""),rf=Symbol(""),Zl=Symbol("");function Vo(){let e=[];function t(o){return e.push(o),()=>{const i=e.indexOf(o);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function kn(e,t,n,o,i,r=l=>l()){const l=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise((s,a)=>{const c=f=>{f===!1?a(Ro(4,{from:n,to:t})):f instanceof Error?a(f):sp(f)?a(Ro(2,{from:t,to:f})):(l&&o.enterCallbacks[i]===l&&typeof f=="function"&&l.push(f),s())},u=r(()=>e.call(o&&o.instances[i],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>a(f))})}function bl(e,t,n,o,i=r=>r()){const r=[];for(const l of e)for(const s in l.components){let a=l.components[s];if(!(t!=="beforeRouteEnter"&&!l.instances[s]))if(Kd(a)){const u=(a.__vccOpts||a)[t];u&&r.push(kn(u,n,o,l,s,i))}else{let c=a();r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${s}" at "${l.path}"`);const d=Rv(u)?u.default:u;l.mods[s]=u,l.components[s]=d;const h=(d.__vccOpts||d)[t];return h&&kn(h,n,o,l,s,i)()}))}}return r}function vu(e){const t=Vt($s),n=Vt(rf),o=y(()=>{const a=Kn(e.to);return t.resolve(a)}),i=y(()=>{const{matched:a}=o.value,{length:c}=a,u=a[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(qo.bind(null,u));if(f>-1)return f;const h=pu(a[c-2]);return c>1&&pu(u)===h&&d[d.length-1].path!==h?d.findIndex(qo.bind(null,a[c-2])):f}),r=y(()=>i.value>-1&&qp(n.params,o.value.params)),l=y(()=>i.value>-1&&i.value===n.matched.length-1&&Yd(n.params,o.value.params));function s(a={}){if(Tp(a)){const c=t[Kn(e.replace)?"replace":"push"](Kn(e.to)).catch(ti);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:o,href:y(()=>o.value.href),isActive:r,isExactActive:l,navigate:s}}function Cp(e){return e.length===1?e[0]:e}const kp=Rs({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:vu,setup(e,{slots:t}){const n=Ao(vu(e)),{options:o}=Vt($s),i=y(()=>({[bu(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[bu(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&Cp(t.default(n));return e.custom?r:b("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),Ep=kp;function Tp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function qp(e,t){for(const n in t){const o=t[n],i=e[n];if(typeof o=="string"){if(o!==i)return!1}else if(!Gt(i)||i.length!==o.length||o.some((r,l)=>r!==i[l]))return!1}return!0}function pu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const bu=(e,t,n)=>e??t??n,Rp=Rs({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Vt(Zl),i=y(()=>e.route||o.value),r=Vt(gu,0),l=y(()=>{let c=Kn(r);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=y(()=>i.value.matched[l.value]);Vi(gu,y(()=>l.value+1)),Vi(xp,s),Vi(Zl,i);const a=ue();return ye(()=>[a.value,s.value,e.name],([c,u,d],[f,h,m])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!qo(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,d=s.value,f=d&&d.components[u];if(!f)return yu(n.default,{Component:f,route:c});const h=d.props[u],m=h?h===!0?c.params:typeof h=="function"?h(c):h:null,v=b(f,De({},m,t,{onVnodeUnmounted:q=>{q.component.isUnmounted&&(d.instances[u]=null)},ref:a}));return yu(n.default,{Component:v,route:c})||v}}});function yu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Pp=Rp;function Ap(e){const t=vp(e.routes,e),n=e.parseQuery||_p,o=e.stringifyQuery||mu,i=e.history,r=Vo(),l=Vo(),s=Vo(),a=sm(yn);let c=yn;po&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=vl.bind(null,x=>""+x),d=vl.bind(null,jv),f=vl.bind(null,hi);function h(x,K){let O,Y;return ef(x)?(O=t.getRecordMatcher(x),Y=K):Y=x,t.addRoute(Y,O)}function m(x){const K=t.getRecordMatcher(x);K&&t.removeRoute(K)}function p(){return t.getRoutes().map(x=>x.record)}function v(x){return!!t.getRecordMatcher(x)}function q(x,K){if(K=De({},K||a.value),typeof x=="string"){const R=pl(n,x,K.path),j=t.resolve({path:R.path},K),z=i.createHref(R.fullPath);return De(R,j,{params:f(j.params),hash:hi(R.hash),redirectedFrom:void 0,href:z})}let O;if(x.path!=null)O=De({},x,{path:pl(n,x.path,K.path).path});else{const R=De({},x.params);for(const j in R)R[j]==null&&delete R[j];O=De({},x,{params:d(R)}),K.params=d(K.params)}const Y=t.resolve(O,K),Se=x.hash||"";Y.params=u(f(Y.params));const w=Uv(o,De({},x,{hash:Nv(Se),path:Y.path})),_=i.createHref(w);return De({fullPath:w,hash:Se,query:o===mu?Sp(x.query):x.query||{}},Y,{redirectedFrom:void 0,href:_})}function S(x){return typeof x=="string"?pl(n,x,a.value.path):De({},x)}function E(x,K){if(c!==x)return Ro(8,{from:K,to:x})}function T(x){return W(x)}function F(x){return T(De(S(x),{replace:!0}))}function I(x){const K=x.matched[x.matched.length-1];if(K&&K.redirect){const{redirect:O}=K;let Y=typeof O=="function"?O(x):O;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=S(Y):{path:Y},Y.params={}),De({query:x.query,hash:x.hash,params:Y.path!=null?{}:x.params},Y)}}function W(x,K){const O=c=q(x),Y=a.value,Se=x.state,w=x.force,_=x.replace===!0,R=I(O);if(R)return W(De(S(R),{state:typeof R=="object"?De({},Se,R.state):Se,force:w,replace:_}),K||O);const j=O;j.redirectedFrom=K;let z;return!w&&Kv(o,Y,O)&&(z=Ro(16,{to:j,from:Y}),A(Y,Y,!0,!1)),(z?Promise.resolve(z):M(j,Y)).catch(B=>dn(B)?dn(B,2)?B:ve(B):Q(B,j,Y)).then(B=>{if(B){if(dn(B,2))return W(De({replace:_},S(B.to),{state:typeof B.to=="object"?De({},Se,B.to.state):Se,force:w}),K||j)}else B=C(j,Y,!0,_,Se);return U(j,Y,B),B})}function Z(x,K){const O=E(x,K);return O?Promise.reject(O):Promise.resolve()}function P(x){const K=D.values().next().value;return K&&typeof K.runWithContext=="function"?K.runWithContext(x):x()}function M(x,K){let O;const[Y,Se,w]=Op(x,K);O=bl(Y.reverse(),"beforeRouteLeave",x,K);for(const R of Y)R.leaveGuards.forEach(j=>{O.push(kn(j,x,K))});const _=Z.bind(null,x,K);return O.push(_),L(O).then(()=>{O=[];for(const R of r.list())O.push(kn(R,x,K));return O.push(_),L(O)}).then(()=>{O=bl(Se,"beforeRouteUpdate",x,K);for(const R of Se)R.updateGuards.forEach(j=>{O.push(kn(j,x,K))});return O.push(_),L(O)}).then(()=>{O=[];for(const R of w)if(R.beforeEnter)if(Gt(R.beforeEnter))for(const j of R.beforeEnter)O.push(kn(j,x,K));else O.push(kn(R.beforeEnter,x,K));return O.push(_),L(O)}).then(()=>(x.matched.forEach(R=>R.enterCallbacks={}),O=bl(w,"beforeRouteEnter",x,K,P),O.push(_),L(O))).then(()=>{O=[];for(const R of l.list())O.push(kn(R,x,K));return O.push(_),L(O)}).catch(R=>dn(R,8)?R:Promise.reject(R))}function U(x,K,O){s.list().forEach(Y=>P(()=>Y(x,K,O)))}function C(x,K,O,Y,Se){const w=E(x,K);if(w)return w;const _=K===yn,R=po?history.state:{};O&&(Y||_?i.replace(x.fullPath,De({scroll:_&&R&&R.scroll},Se)):i.push(x.fullPath,Se)),a.value=x,A(x,K,O,_),ve()}let J;function N(){J||(J=i.listen((x,K,O)=>{if(!ne.listening)return;const Y=q(x),Se=I(Y);if(Se){W(De(Se,{replace:!0,force:!0}),Y).catch(ti);return}c=Y;const w=a.value;po&&ep(ru(w.fullPath,O.delta),$r()),M(Y,w).catch(_=>dn(_,12)?_:dn(_,2)?(W(De(S(_.to),{force:!0}),Y).then(R=>{dn(R,20)&&!O.delta&&O.type===mi.pop&&i.go(-1,!1)}).catch(ti),Promise.reject()):(O.delta&&i.go(-O.delta,!1),Q(_,Y,w))).then(_=>{_=_||C(Y,w,!1),_&&(O.delta&&!dn(_,8)?i.go(-O.delta,!1):O.type===mi.pop&&dn(_,20)&&i.go(-1,!1)),U(Y,w,_)}).catch(ti)}))}let re=Vo(),ee=Vo(),le;function Q(x,K,O){ve(x);const Y=ee.list();return Y.length?Y.forEach(Se=>Se(x,K,O)):console.error(x),Promise.reject(x)}function ae(){return le&&a.value!==yn?Promise.resolve():new Promise((x,K)=>{re.add([x,K])})}function ve(x){return le||(le=!x,N(),re.list().forEach(([K,O])=>x?O(x):K()),re.reset()),x}function A(x,K,O,Y){const{scrollBehavior:Se}=e;if(!po||!Se)return Promise.resolve();const w=!O&&tp(ru(x.fullPath,0))||(Y||!O)&&history.state&&history.state.scroll||null;return Ue().then(()=>Se(x,K,w)).then(_=>_&&Zv(_)).catch(_=>Q(_,x,K))}const g=x=>i.go(x);let $;const D=new Set,ne={currentRoute:a,listening:!0,addRoute:h,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:p,resolve:q,options:e,push:T,replace:F,go:g,back:()=>g(-1),forward:()=>g(1),beforeEach:r.add,beforeResolve:l.add,afterEach:s.add,onError:ee.add,isReady:ae,install(x){const K=this;x.component("RouterLink",Ep),x.component("RouterView",Pp),x.config.globalProperties.$router=K,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>Kn(a)}),po&&!$&&a.value===yn&&($=!0,T(i.location).catch(Se=>{}));const O={};for(const Se in yn)Object.defineProperty(O,Se,{get:()=>a.value[Se],enumerable:!0});x.provide($s,K),x.provide(rf,Vc(O)),x.provide(Zl,a);const Y=x.unmount;D.add(x),x.unmount=function(){D.delete(x),D.size<1&&(c=yn,J&&J(),J=null,a.value=yn,$=!1,le=!1),Y()}}};function L(x){return x.reduce((K,O)=>K.then(()=>P(O)),Promise.resolve())}return ne}function Op(e,t){const n=[],o=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let l=0;l<r;l++){const s=t.matched[l];s&&(e.matched.find(c=>qo(c,s))?o.push(s):n.push(s));const a=e.matched[l];a&&(t.matched.find(c=>qo(c,a))||i.push(a))}return[n,o,i]}const es={xs:18,sm:24,md:32,lg:38,xl:46},oo={size:String};function io(e,t=es){return y(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function Xe(e,t){return e!==void 0&&e()||t}function lf(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function Kt(e,t){return e!==void 0?t.concat(e()):t}function sf(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Lp(e,t,n,o,i,r){t.key=o+i;const l=b(e,t,n);return i===!0?Wn(l,r()):l}const wu="0 0 24 24",_u=e=>e,yl=e=>`ionicons ${e}`,af={"mdi-":e=>`mdi ${e}`,"icon-":_u,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":yl,"ion-ios":yl,"ion-logo":yl,"iconfont ":_u,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},uf={o_:"-outlined",r_:"-round",s_:"-sharp"},cf={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Fp=new RegExp("^("+Object.keys(af).join("|")+")"),Dp=new RegExp("^("+Object.keys(uf).join("|")+")"),Su=new RegExp("^("+Object.keys(cf).join("|")+")"),Mp=/^[Mm]\s?[-+]?\.?\d/,Bp=/^img:/,$p=/^svguse:/,Np=/^ion-/,Vp=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Be=Ae({name:"QIcon",props:{...oo,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=Pe(),o=io(e),i=y(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),r=y(()=>{let l,s=e.name;if(s==="none"||!s)return{none:!0};if(n.iconMapFn!==null){const u=n.iconMapFn(s);if(u!==void 0)if(u.icon!==void 0){if(s=u.icon,s==="none"||!s)return{none:!0}}else return{cls:u.cls,content:u.content!==void 0?u.content:" "}}if(Mp.test(s)===!0){const[u,d=wu]=s.split("|");return{svg:!0,viewBox:d,nodes:u.split("&&").map(f=>{const[h,m,p]=f.split("@@");return b("path",{style:m,d:h,transform:p})})}}if(Bp.test(s)===!0)return{img:!0,src:s.substring(4)};if($p.test(s)===!0){const[u,d=wu]=s.split("|");return{svguse:!0,src:u.substring(7),viewBox:d}}let a=" ";const c=s.match(Fp);if(c!==null)l=af[c[1]](s);else if(Vp.test(s)===!0)l=s;else if(Np.test(s)===!0)l=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(Su.test(s)===!0){l="notranslate material-symbols";const u=s.match(Su);u!==null&&(s=s.substring(6),l+=cf[u[1]]),a=s}else{l="notranslate material-icons";const u=s.match(Dp);u!==null&&(s=s.substring(2),l+=uf[u[1]]),a=s}return{cls:l,content:a}});return()=>{const l={class:i.value,style:o.value,"aria-hidden":"true",role:"presentation"};return r.value.none===!0?b(e.tag,l,Xe(t.default)):r.value.img===!0?b(e.tag,l,Kt(t.default,[b("img",{src:r.value.src})])):r.value.svg===!0?b(e.tag,l,Kt(t.default,[b("svg",{viewBox:r.value.viewBox||"0 0 24 24"},r.value.nodes)])):r.value.svguse===!0?b(e.tag,l,Kt(t.default,[b("svg",{viewBox:r.value.viewBox},[b("use",{"xlink:href":r.value.src})])])):(r.value.cls!==void 0&&(l.class+=" "+r.value.cls),b(e.tag,l,Kt(t.default,[r.value.content])))}}}),Ip={size:{type:[String,Number],default:"1em"},color:String};function jp(e){return{cSize:y(()=>e.size in es?`${es[e.size]}px`:e.size),classes:y(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const vn=Ae({name:"QSpinner",props:{...Ip,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=jp(e);return()=>b("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[b("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function ts(e,t){const n=e.style;for(const o in t)n[o]=t[o]}function Hp(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=Kn(e);if(t)return t.$el||t}function df(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}function zp(e,t=250){let n=!1,o;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),o=e.apply(this,arguments)),o}}function xu(e,t,n,o){n.modifiers.stop===!0&&on(e);const i=n.modifiers.color;let r=n.modifiers.center;r=r===!0||o===!0;const l=document.createElement("span"),s=document.createElement("span"),a=Vd(e),{left:c,top:u,width:d,height:f}=t.getBoundingClientRect(),h=Math.sqrt(d*d+f*f),m=h/2,p=`${(d-h)/2}px`,v=r?p:`${a.left-c-m}px`,q=`${(f-h)/2}px`,S=r?q:`${a.top-u-m}px`;s.className="q-ripple__inner",ts(s,{height:`${h}px`,width:`${h}px`,transform:`translate3d(${v},${S},0) scale3d(.2,.2,1)`,opacity:0}),l.className=`q-ripple${i?" text-"+i:""}`,l.setAttribute("dir","ltr"),l.appendChild(s),t.appendChild(l);const E=()=>{l.remove(),clearTimeout(T)};n.abort.push(E);let T=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${p},${q},0) scale3d(1,1,1)`,s.style.opacity=.2,T=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,T=setTimeout(()=>{l.remove(),n.abort.splice(n.abort.indexOf(E),1)},275)},250)},50)}function Cu(e,{modifiers:t,value:n,arg:o}){const i=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:i.early===!0,stop:i.stop===!0,center:i.center===!0,color:i.color||o,keyCodes:[].concat(i.keyCodes||13)}}const Ns=Nd({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const o={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(i){o.enabled===!0&&i.qSkipRipple!==!0&&i.type===(o.modifiers.early===!0?"pointerdown":"click")&&xu(i,e,o,i.qKeyEvent===!0)},keystart:zp(i=>{o.enabled===!0&&i.qSkipRipple!==!0&&gn(i,o.modifiers.keyCodes)===!0&&i.type===`key${o.modifiers.early===!0?"down":"up"}`&&xu(i,e,o,!0)},300)};Cu(o,t),e.__qripple=o,di(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n!==void 0&&(n.enabled=t.value!==!1,n.enabled===!0&&Object(t.value)===t.value&&Cu(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),lr(t,"main"),delete e._qripple)}}),ff={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Up=Object.keys(ff),hf={align:{type:String,validator:e=>Up.includes(e)}};function mf(e){return y(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${ff[t]}`})}function Hi(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function Vs(e){return e.appContext.config.globalProperties.$router!==void 0}function gf(e){return e.isUnmounted===!0||e.isDeactivated===!0}function ku(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function Eu(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Kp(e,t){for(const n in t){const o=t[n],i=e[n];if(typeof o=="string"){if(o!==i)return!1}else if(Array.isArray(i)===!1||i.length!==o.length||o.some((r,l)=>r!==i[l]))return!1}return!0}function Tu(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function Wp(e,t){return Array.isArray(e)===!0?Tu(e,t):Array.isArray(t)===!0?Tu(t,e):e===t}function Qp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(Wp(e[n],t[n])===!1)return!1;return!0}const vf={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Gp={...vf,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function pf({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=Pe(),{props:o,proxy:i,emit:r}=n,l=Vs(n),s=y(()=>o.disable!==!0&&o.href!==void 0),a=y(t===!0?()=>l===!0&&o.disable!==!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!=="":()=>l===!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""),c=y(()=>a.value===!0?S(o.to):null),u=y(()=>c.value!==null),d=y(()=>s.value===!0||u.value===!0),f=y(()=>o.type==="a"||d.value===!0?"a":o.tag||e||"div"),h=y(()=>s.value===!0?{href:o.href,target:o.target}:u.value===!0?{href:c.value.href,target:o.target}:{}),m=y(()=>{if(u.value===!1)return-1;const{matched:F}=c.value,{length:I}=F,W=F[I-1];if(W===void 0)return-1;const Z=i.$route.matched;if(Z.length===0)return-1;const P=Z.findIndex(Eu.bind(null,W));if(P!==-1)return P;const M=ku(F[I-2]);return I>1&&ku(W)===M&&Z[Z.length-1].path!==M?Z.findIndex(Eu.bind(null,F[I-2])):P}),p=y(()=>u.value===!0&&m.value!==-1&&Kp(i.$route.params,c.value.params)),v=y(()=>p.value===!0&&m.value===i.$route.matched.length-1&&Qp(i.$route.params,c.value.params)),q=y(()=>u.value===!0?v.value===!0?` ${o.exactActiveClass} ${o.activeClass}`:o.exact===!0?"":p.value===!0?` ${o.activeClass}`:"":"");function S(F){try{return i.$router.resolve(F)}catch{}return null}function E(F,{returnRouterError:I,to:W=o.to,replace:Z=o.replace}={}){if(o.disable===!0)return F.preventDefault(),Promise.resolve(!1);if(F.metaKey||F.altKey||F.ctrlKey||F.shiftKey||F.button!==void 0&&F.button!==0||o.target==="_blank")return Promise.resolve(!1);F.preventDefault();const P=i.$router[Z===!0?"replace":"push"](W);return I===!0?P:P.then(()=>{}).catch(()=>{})}function T(F){if(u.value===!0){const I=W=>E(F,W);r("click",F,I),F.defaultPrevented!==!0&&I()}else r("click",F)}return{hasRouterLink:u,hasHrefLink:s,hasLink:d,linkTag:f,resolvedLink:c,linkIsActive:p,linkIsExactActive:v,linkClass:q,linkAttrs:h,getLink:S,navigateToRouterLink:E,navigateOnClick:T}}const qu={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Jp={xs:8,sm:10,md:14,lg:20,xl:24},Xp=["button","submit","reset"],Yp=/[^\s]\/[^\s]/,Zp=["flat","outline","push","unelevated"];function eb(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const tb={...oo,...vf,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Zp.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...hf.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},nb={...tb,round:Boolean};function ob(e){const t=io(e,Jp),n=mf(e),{hasRouterLink:o,hasLink:i,linkTag:r,linkAttrs:l,navigateOnClick:s}=pf({fallbackTag:"button"}),a=y(()=>{const v=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},v,{padding:e.padding.split(/\s+/).map(q=>q in qu?qu[q]+"px":q).join(" "),minWidth:"0",minHeight:"0"}):v}),c=y(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),u=y(()=>e.disable!==!0&&e.loading!==!0),d=y(()=>u.value===!0?e.tabindex||0:-1),f=y(()=>eb(e,"standard")),h=y(()=>{const v={tabindex:d.value};return i.value===!0?Object.assign(v,l.value):Xp.includes(e.type)===!0&&(v.type=e.type),r.value==="a"?(e.disable===!0?v["aria-disabled"]="true":v.href===void 0&&(v.role="button"),o.value!==!0&&Yp.test(e.type)===!0&&(v.type=e.type)):e.disable===!0&&(v.disabled="",v["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(v,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),v}),m=y(()=>{let v;e.color!==void 0?e.flat===!0||e.outline===!0?v=`text-${e.textColor||e.color}`:v=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(v=`text-${e.textColor}`);const q=e.round===!0?"round":`rectangle${c.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${f.value} q-btn--${q}`+(v!==void 0?" "+v:"")+(u.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),p=y(()=>n.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:m,style:a,innerClasses:p,attributes:h,hasLink:i,linkTag:r,navigateOnClick:s,isActionable:u}}const{passiveCapture:Bt}=ht;let ho=null,mo=null,go=null;const ze=Ae({name:"QBtn",props:{...nb,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:o}=Pe(),{classes:i,style:r,innerClasses:l,attributes:s,hasLink:a,linkTag:c,navigateOnClick:u,isActionable:d}=ob(e),f=ue(null),h=ue(null);let m=null,p,v=null;const q=y(()=>e.label!==void 0&&e.label!==null&&e.label!==""),S=y(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:a.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),E=y(()=>({center:e.round})),T=y(()=>{const N=Math.max(0,Math.min(100,e.percentage));return N>0?{transition:"transform 0.6s",transform:`translateX(${N-100}%)`}:{}}),F=y(()=>{if(e.loading===!0)return{onMousedown:J,onTouchstart:J,onClick:J,onKeydown:J,onKeyup:J};if(d.value===!0){const N={onClick:W,onKeydown:Z,onMousedown:M};if(o.$q.platform.has.touch===!0){const re=e.onTouchstart!==void 0?"":"Passive";N[`onTouchstart${re}`]=P}return N}return{onClick:Ge}}),I=y(()=>({ref:f,class:"q-btn q-btn-item non-selectable no-outline "+i.value,style:r.value,...s.value,...F.value}));function W(N){if(f.value!==null){if(N!==void 0){if(N.defaultPrevented===!0)return;const re=document.activeElement;if(e.type==="submit"&&re!==document.body&&f.value.contains(re)===!1&&re.contains(f.value)===!1){f.value.focus();const ee=()=>{document.removeEventListener("keydown",Ge,!0),document.removeEventListener("keyup",ee,Bt),f.value!==null&&f.value.removeEventListener("blur",ee,Bt)};document.addEventListener("keydown",Ge,!0),document.addEventListener("keyup",ee,Bt),f.value.addEventListener("blur",ee,Bt)}}u(N)}}function Z(N){f.value!==null&&(n("keydown",N),gn(N,[13,32])===!0&&mo!==f.value&&(mo!==null&&C(),N.defaultPrevented!==!0&&(f.value.focus(),mo=f.value,f.value.classList.add("q-btn--active"),document.addEventListener("keyup",U,!0),f.value.addEventListener("blur",U,Bt)),Ge(N)))}function P(N){f.value!==null&&(n("touchstart",N),N.defaultPrevented!==!0&&(ho!==f.value&&(ho!==null&&C(),ho=f.value,m=N.target,m.addEventListener("touchcancel",U,Bt),m.addEventListener("touchend",U,Bt)),p=!0,v!==null&&clearTimeout(v),v=setTimeout(()=>{v=null,p=!1},200)))}function M(N){f.value!==null&&(N.qSkipRipple=p===!0,n("mousedown",N),N.defaultPrevented!==!0&&go!==f.value&&(go!==null&&C(),go=f.value,f.value.classList.add("q-btn--active"),document.addEventListener("mouseup",U,Bt)))}function U(N){if(f.value!==null&&!(N!==void 0&&N.type==="blur"&&document.activeElement===f.value)){if(N!==void 0&&N.type==="keyup"){if(mo===f.value&&gn(N,[13,32])===!0){const re=new MouseEvent("click",N);re.qKeyEvent=!0,N.defaultPrevented===!0&&Ut(re),N.cancelBubble===!0&&on(re),f.value.dispatchEvent(re),Ge(N),N.qKeyEvent=!0}n("keyup",N)}C()}}function C(N){const re=h.value;N!==!0&&(ho===f.value||go===f.value)&&re!==null&&re!==document.activeElement&&(re.setAttribute("tabindex",-1),re.focus()),ho===f.value&&(m!==null&&(m.removeEventListener("touchcancel",U,Bt),m.removeEventListener("touchend",U,Bt)),ho=m=null),go===f.value&&(document.removeEventListener("mouseup",U,Bt),go=null),mo===f.value&&(document.removeEventListener("keyup",U,!0),f.value!==null&&f.value.removeEventListener("blur",U,Bt),mo=null),f.value!==null&&f.value.classList.remove("q-btn--active")}function J(N){Ge(N),N.qSkipRipple=!0}return nt(()=>{C(!0)}),Object.assign(o,{click:N=>{d.value===!0&&W(N)}}),()=>{let N=[];e.icon!==void 0&&N.push(b(Be,{name:e.icon,left:e.stack!==!0&&q.value===!0,role:"img"})),q.value===!0&&N.push(b("span",{class:"block"},[e.label])),N=Kt(t.default,N),e.iconRight!==void 0&&e.round===!1&&N.push(b(Be,{name:e.iconRight,right:e.stack!==!0&&q.value===!0,role:"img"}));const re=[b("span",{class:"q-focus-helper",ref:h})];return e.loading===!0&&e.percentage!==void 0&&re.push(b("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[b("span",{class:"q-btn__progress-indicator fit block",style:T.value})])),re.push(b("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+l.value},N)),e.loading!==null&&re.push(b(eo,{name:"q-transition--fade"},()=>e.loading===!0?[b("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[b(vn)])]:null)),Wn(b(c.value,I.value,re),[[Ns,S.value,void 0,E.value]])}}}),Nr=Ae({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:n}}=Pe(),o=Vt(vv,fo);if(o===fo)return console.error("QPage needs to be a deep child of QLayout"),fo;if(Vt(pv,fo)===fo)return console.error("QPage needs to be child of QPageContainer"),fo;const r=y(()=>{const s=(o.header.space===!0?o.header.size:0)+(o.footer.space===!0?o.footer.size:0);if(typeof e.styleFn=="function"){const a=o.isContainer.value===!0?o.containerHeight.value:n.screen.height;return e.styleFn(s,a)}return{minHeight:o.isContainer.value===!0?o.containerHeight.value-s+"px":n.screen.height===0?s!==0?`calc(100vh - ${s}px)`:"100vh":n.screen.height-s+"px"}}),l=y(()=>`q-page${e.padding===!0?" q-layout-padding":""}`);return()=>b("main",{class:l.value,style:r.value},Xe(t.default))}});function bf(e,t){return function(){return e.apply(t,arguments)}}const{toString:ib}=Object.prototype,{getPrototypeOf:Is}=Object,Vr=(e=>t=>{const n=ib.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Jt=e=>(e=e.toLowerCase(),t=>Vr(t)===e),Ir=e=>t=>typeof t===e,{isArray:Fo}=Array,gi=Ir("undefined");function rb(e){return e!==null&&!gi(e)&&e.constructor!==null&&!gi(e.constructor)&&Dt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const yf=Jt("ArrayBuffer");function lb(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&yf(e.buffer),t}const sb=Ir("string"),Dt=Ir("function"),wf=Ir("number"),jr=e=>e!==null&&typeof e=="object",ab=e=>e===!0||e===!1,zi=e=>{if(Vr(e)!=="object")return!1;const t=Is(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ub=Jt("Date"),cb=Jt("File"),db=Jt("Blob"),fb=Jt("FileList"),hb=e=>jr(e)&&Dt(e.pipe),mb=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Dt(e.append)&&((t=Vr(e))==="formdata"||t==="object"&&Dt(e.toString)&&e.toString()==="[object FormData]"))},gb=Jt("URLSearchParams"),[vb,pb,bb,yb]=["ReadableStream","Request","Response","Headers"].map(Jt),wb=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function _i(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,i;if(typeof e!="object"&&(e=[e]),Fo(e))for(o=0,i=e.length;o<i;o++)t.call(null,e[o],o,e);else{const r=n?Object.getOwnPropertyNames(e):Object.keys(e),l=r.length;let s;for(o=0;o<l;o++)s=r[o],t.call(null,e[s],s,e)}}function _f(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length,i;for(;o-- >0;)if(i=n[o],t===i.toLowerCase())return i;return null}const Hn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Sf=e=>!gi(e)&&e!==Hn;function ns(){const{caseless:e}=Sf(this)&&this||{},t={},n=(o,i)=>{const r=e&&_f(t,i)||i;zi(t[r])&&zi(o)?t[r]=ns(t[r],o):zi(o)?t[r]=ns({},o):Fo(o)?t[r]=o.slice():t[r]=o};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&_i(arguments[o],n);return t}const _b=(e,t,n,{allOwnKeys:o}={})=>(_i(t,(i,r)=>{n&&Dt(i)?e[r]=bf(i,n):e[r]=i},{allOwnKeys:o}),e),Sb=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),xb=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Cb=(e,t,n,o)=>{let i,r,l;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),r=i.length;r-- >0;)l=i[r],(!o||o(l,e,t))&&!s[l]&&(t[l]=e[l],s[l]=!0);e=n!==!1&&Is(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kb=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},Eb=e=>{if(!e)return null;if(Fo(e))return e;let t=e.length;if(!wf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Tb=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Is(Uint8Array)),qb=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=o.next())&&!i.done;){const r=i.value;t.call(e,r[0],r[1])}},Rb=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},Pb=Jt("HTMLFormElement"),Ab=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,i){return o.toUpperCase()+i}),Ru=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ob=Jt("RegExp"),xf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};_i(n,(i,r)=>{let l;(l=t(i,r,e))!==!1&&(o[r]=l||i)}),Object.defineProperties(e,o)},Lb=e=>{xf(e,(t,n)=>{if(Dt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(Dt(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Fb=(e,t)=>{const n={},o=i=>{i.forEach(r=>{n[r]=!0})};return Fo(e)?o(e):o(String(e).split(t)),n},Db=()=>{},Mb=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,wl="abcdefghijklmnopqrstuvwxyz",Pu="0123456789",Cf={DIGIT:Pu,ALPHA:wl,ALPHA_DIGIT:wl+wl.toUpperCase()+Pu},Bb=(e=16,t=Cf.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function $b(e){return!!(e&&Dt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Nb=e=>{const t=new Array(10),n=(o,i)=>{if(jr(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[i]=o;const r=Fo(o)?[]:{};return _i(o,(l,s)=>{const a=n(l,i+1);!gi(a)&&(r[s]=a)}),t[i]=void 0,r}}return o};return n(e,0)},Vb=Jt("AsyncFunction"),Ib=e=>e&&(jr(e)||Dt(e))&&Dt(e.then)&&Dt(e.catch),kf=((e,t)=>e?setImmediate:t?((n,o)=>(Hn.addEventListener("message",({source:i,data:r})=>{i===Hn&&r===n&&o.length&&o.shift()()},!1),i=>{o.push(i),Hn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Dt(Hn.postMessage)),jb=typeof queueMicrotask<"u"?queueMicrotask.bind(Hn):typeof process<"u"&&process.nextTick||kf,V={isArray:Fo,isArrayBuffer:yf,isBuffer:rb,isFormData:mb,isArrayBufferView:lb,isString:sb,isNumber:wf,isBoolean:ab,isObject:jr,isPlainObject:zi,isReadableStream:vb,isRequest:pb,isResponse:bb,isHeaders:yb,isUndefined:gi,isDate:ub,isFile:cb,isBlob:db,isRegExp:Ob,isFunction:Dt,isStream:hb,isURLSearchParams:gb,isTypedArray:Tb,isFileList:fb,forEach:_i,merge:ns,extend:_b,trim:wb,stripBOM:Sb,inherits:xb,toFlatObject:Cb,kindOf:Vr,kindOfTest:Jt,endsWith:kb,toArray:Eb,forEachEntry:qb,matchAll:Rb,isHTMLForm:Pb,hasOwnProperty:Ru,hasOwnProp:Ru,reduceDescriptors:xf,freezeMethods:Lb,toObjectSet:Fb,toCamelCase:Ab,noop:Db,toFiniteNumber:Mb,findKey:_f,global:Hn,isContextDefined:Sf,ALPHABET:Cf,generateString:Bb,isSpecCompliantForm:$b,toJSONObject:Nb,isAsyncFn:Vb,isThenable:Ib,setImmediate:kf,asap:jb};function ke(e,t,n,o,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),i&&(this.response=i,this.status=i.status?i.status:null)}V.inherits(ke,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:V.toJSONObject(this.config),code:this.code,status:this.status}}});const Ef=ke.prototype,Tf={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Tf[e]={value:e}});Object.defineProperties(ke,Tf);Object.defineProperty(Ef,"isAxiosError",{value:!0});ke.from=(e,t,n,o,i,r)=>{const l=Object.create(Ef);return V.toFlatObject(e,l,function(a){return a!==Error.prototype},s=>s!=="isAxiosError"),ke.call(l,e.message,t,n,o,i),l.cause=e,l.name=e.name,r&&Object.assign(l,r),l};const Hb=null;function os(e){return V.isPlainObject(e)||V.isArray(e)}function qf(e){return V.endsWith(e,"[]")?e.slice(0,-2):e}function Au(e,t,n){return e?e.concat(t).map(function(i,r){return i=qf(i),!n&&r?"["+i+"]":i}).join(n?".":""):t}function zb(e){return V.isArray(e)&&!e.some(os)}const Ub=V.toFlatObject(V,{},null,function(t){return/^is[A-Z]/.test(t)});function Hr(e,t,n){if(!V.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=V.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,v){return!V.isUndefined(v[p])});const o=n.metaTokens,i=n.visitor||u,r=n.dots,l=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&V.isSpecCompliantForm(t);if(!V.isFunction(i))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(V.isDate(m))return m.toISOString();if(!a&&V.isBlob(m))throw new ke("Blob is not supported. Use a Buffer instead.");return V.isArrayBuffer(m)||V.isTypedArray(m)?a&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,p,v){let q=m;if(m&&!v&&typeof m=="object"){if(V.endsWith(p,"{}"))p=o?p:p.slice(0,-2),m=JSON.stringify(m);else if(V.isArray(m)&&zb(m)||(V.isFileList(m)||V.endsWith(p,"[]"))&&(q=V.toArray(m)))return p=qf(p),q.forEach(function(E,T){!(V.isUndefined(E)||E===null)&&t.append(l===!0?Au([p],T,r):l===null?p:p+"[]",c(E))}),!1}return os(m)?!0:(t.append(Au(v,p,r),c(m)),!1)}const d=[],f=Object.assign(Ub,{defaultVisitor:u,convertValue:c,isVisitable:os});function h(m,p){if(!V.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(m),V.forEach(m,function(q,S){(!(V.isUndefined(q)||q===null)&&i.call(t,q,V.isString(S)?S.trim():S,p,f))===!0&&h(q,p?p.concat(S):[S])}),d.pop()}}if(!V.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Ou(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function js(e,t){this._pairs=[],e&&Hr(e,this,t)}const Rf=js.prototype;Rf.append=function(t,n){this._pairs.push([t,n])};Rf.toString=function(t){const n=t?function(o){return t.call(this,o,Ou)}:Ou;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Kb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Pf(e,t,n){if(!t)return e;const o=n&&n.encode||Kb;V.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let r;if(i?r=i(t,n):r=V.isURLSearchParams(t)?t.toString():new js(t,n).toString(o),r){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class Lu{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){V.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Af={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Wb=typeof URLSearchParams<"u"?URLSearchParams:js,Qb=typeof FormData<"u"?FormData:null,Gb=typeof Blob<"u"?Blob:null,Jb={isBrowser:!0,classes:{URLSearchParams:Wb,FormData:Qb,Blob:Gb},protocols:["http","https","file","blob","url","data"]},Hs=typeof window<"u"&&typeof document<"u",is=typeof navigator=="object"&&navigator||void 0,Xb=Hs&&(!is||["ReactNative","NativeScript","NS"].indexOf(is.product)<0),Yb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Zb=Hs&&window.location.href||"http://localhost",ey=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Hs,hasStandardBrowserEnv:Xb,hasStandardBrowserWebWorkerEnv:Yb,navigator:is,origin:Zb},Symbol.toStringTag,{value:"Module"})),yt={...ey,...Jb};function ty(e,t){return Hr(e,new yt.classes.URLSearchParams,Object.assign({visitor:function(n,o,i,r){return yt.isNode&&V.isBuffer(n)?(this.append(o,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function ny(e){return V.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function oy(e){const t={},n=Object.keys(e);let o;const i=n.length;let r;for(o=0;o<i;o++)r=n[o],t[r]=e[r];return t}function Of(e){function t(n,o,i,r){let l=n[r++];if(l==="__proto__")return!0;const s=Number.isFinite(+l),a=r>=n.length;return l=!l&&V.isArray(i)?i.length:l,a?(V.hasOwnProp(i,l)?i[l]=[i[l],o]:i[l]=o,!s):((!i[l]||!V.isObject(i[l]))&&(i[l]=[]),t(n,o,i[l],r)&&V.isArray(i[l])&&(i[l]=oy(i[l])),!s)}if(V.isFormData(e)&&V.isFunction(e.entries)){const n={};return V.forEachEntry(e,(o,i)=>{t(ny(o),i,n,0)}),n}return null}function iy(e,t,n){if(V.isString(e))try{return(t||JSON.parse)(e),V.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(0,JSON.stringify)(e)}const Si={transitional:Af,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",i=o.indexOf("application/json")>-1,r=V.isObject(t);if(r&&V.isHTMLForm(t)&&(t=new FormData(t)),V.isFormData(t))return i?JSON.stringify(Of(t)):t;if(V.isArrayBuffer(t)||V.isBuffer(t)||V.isStream(t)||V.isFile(t)||V.isBlob(t)||V.isReadableStream(t))return t;if(V.isArrayBufferView(t))return t.buffer;if(V.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(r){if(o.indexOf("application/x-www-form-urlencoded")>-1)return ty(t,this.formSerializer).toString();if((s=V.isFileList(t))||o.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Hr(s?{"files[]":t}:t,a&&new a,this.formSerializer)}}return r||i?(n.setContentType("application/json",!1),iy(t)):t}],transformResponse:[function(t){const n=this.transitional||Si.transitional,o=n&&n.forcedJSONParsing,i=this.responseType==="json";if(V.isResponse(t)||V.isReadableStream(t))return t;if(t&&V.isString(t)&&(o&&!this.responseType||i)){const l=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(l)throw s.name==="SyntaxError"?ke.from(s,ke.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yt.classes.FormData,Blob:yt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};V.forEach(["delete","get","head","post","put","patch"],e=>{Si.headers[e]={}});const ry=V.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ly=e=>{const t={};let n,o,i;return e&&e.split(`
|
|
26
|
-
`).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),o=l.substring(i+1).trim(),!(!n||t[n]&&ry[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Fu=Symbol("internals");function Io(e){return e&&String(e).trim().toLowerCase()}function Ui(e){return e===!1||e==null?e:V.isArray(e)?e.map(Ui):String(e)}function sy(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const ay=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function _l(e,t,n,o,i){if(V.isFunction(o))return o.call(this,t,n);if(i&&(t=n),!!V.isString(t)){if(V.isString(o))return t.indexOf(o)!==-1;if(V.isRegExp(o))return o.test(t)}}function uy(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function cy(e,t){const n=V.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(i,r,l){return this[o].call(this,t,i,r,l)},configurable:!0})})}class At{constructor(t){t&&this.set(t)}set(t,n,o){const i=this;function r(s,a,c){const u=Io(a);if(!u)throw new Error("header name must be a non-empty string");const d=V.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||a]=Ui(s))}const l=(s,a)=>V.forEach(s,(c,u)=>r(c,u,a));if(V.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(V.isString(t)&&(t=t.trim())&&!ay(t))l(ly(t),n);else if(V.isHeaders(t))for(const[s,a]of t.entries())r(a,s,o);else t!=null&&r(n,t,o);return this}get(t,n){if(t=Io(t),t){const o=V.findKey(this,t);if(o){const i=this[o];if(!n)return i;if(n===!0)return sy(i);if(V.isFunction(n))return n.call(this,i,o);if(V.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Io(t),t){const o=V.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||_l(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let i=!1;function r(l){if(l=Io(l),l){const s=V.findKey(o,l);s&&(!n||_l(o,o[s],s,n))&&(delete o[s],i=!0)}}return V.isArray(t)?t.forEach(r):r(t),i}clear(t){const n=Object.keys(this);let o=n.length,i=!1;for(;o--;){const r=n[o];(!t||_l(this,this[r],r,t,!0))&&(delete this[r],i=!0)}return i}normalize(t){const n=this,o={};return V.forEach(this,(i,r)=>{const l=V.findKey(o,r);if(l){n[l]=Ui(i),delete n[r];return}const s=t?uy(r):String(r).trim();s!==r&&delete n[r],n[s]=Ui(i),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return V.forEach(this,(o,i)=>{o!=null&&o!==!1&&(n[i]=t&&V.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
27
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(i=>o.set(i)),o}static accessor(t){const o=(this[Fu]=this[Fu]={accessors:{}}).accessors,i=this.prototype;function r(l){const s=Io(l);o[s]||(cy(i,l),o[s]=!0)}return V.isArray(t)?t.forEach(r):r(t),this}}At.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);V.reduceDescriptors(At.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});V.freezeMethods(At);function Sl(e,t){const n=this||Si,o=t||n,i=At.from(o.headers);let r=o.data;return V.forEach(e,function(s){r=s.call(n,r,i.normalize(),t?t.status:void 0)}),i.normalize(),r}function Lf(e){return!!(e&&e.__CANCEL__)}function Do(e,t,n){ke.call(this,e??"canceled",ke.ERR_CANCELED,t,n),this.name="CanceledError"}V.inherits(Do,ke,{__CANCEL__:!0});function Ff(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new ke("Request failed with status code "+n.status,[ke.ERR_BAD_REQUEST,ke.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function dy(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fy(e,t){e=e||10;const n=new Array(e),o=new Array(e);let i=0,r=0,l;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=o[r];l||(l=c),n[i]=a,o[i]=c;let d=r,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===r&&(r=(r+1)%e),c-l<t)return;const h=u&&c-u;return h?Math.round(f*1e3/h):void 0}}function hy(e,t){let n=0,o=1e3/t,i,r;const l=(c,u=Date.now())=>{n=u,i=null,r&&(clearTimeout(r),r=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=o?l(c,u):(i=c,r||(r=setTimeout(()=>{r=null,l(i)},o-d)))},()=>i&&l(i)]}const ur=(e,t,n=3)=>{let o=0;const i=fy(50,250);return hy(r=>{const l=r.loaded,s=r.lengthComputable?r.total:void 0,a=l-o,c=i(a),u=l<=s;o=l;const d={loaded:l,total:s,progress:s?l/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&u?(s-l)/c:void 0,event:r,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},Du=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},Mu=e=>(...t)=>V.asap(()=>e(...t)),my=yt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,yt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(yt.origin),yt.navigator&&/(msie|trident)/i.test(yt.navigator.userAgent)):()=>!0,gy=yt.hasStandardBrowserEnv?{write(e,t,n,o,i,r){const l=[e+"="+encodeURIComponent(t)];V.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),V.isString(o)&&l.push("path="+o),V.isString(i)&&l.push("domain="+i),r===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function vy(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function py(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Df(e,t){return e&&!vy(t)?py(e,t):t}const Bu=e=>e instanceof At?{...e}:e;function to(e,t){t=t||{};const n={};function o(c,u,d,f){return V.isPlainObject(c)&&V.isPlainObject(u)?V.merge.call({caseless:f},c,u):V.isPlainObject(u)?V.merge({},u):V.isArray(u)?u.slice():u}function i(c,u,d,f){if(V.isUndefined(u)){if(!V.isUndefined(c))return o(void 0,c,d,f)}else return o(c,u,d,f)}function r(c,u){if(!V.isUndefined(u))return o(void 0,u)}function l(c,u){if(V.isUndefined(u)){if(!V.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function s(c,u,d){if(d in t)return o(c,u);if(d in e)return o(void 0,c)}const a={url:r,method:r,data:r,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s,headers:(c,u,d)=>i(Bu(c),Bu(u),d,!0)};return V.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=a[u]||i,f=d(e[u],t[u],u);V.isUndefined(f)&&d!==s||(n[u]=f)}),n}const Mf=e=>{const t=to({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:r,headers:l,auth:s}=t;t.headers=l=At.from(l),t.url=Pf(Df(t.baseURL,t.url),e.params,e.paramsSerializer),s&&l.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let a;if(V.isFormData(n)){if(yt.hasStandardBrowserEnv||yt.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((a=l.getContentType())!==!1){const[c,...u]=a?a.split(";").map(d=>d.trim()).filter(Boolean):[];l.setContentType([c||"multipart/form-data",...u].join("; "))}}if(yt.hasStandardBrowserEnv&&(o&&V.isFunction(o)&&(o=o(t)),o||o!==!1&&my(t.url))){const c=i&&r&&gy.read(r);c&&l.set(i,c)}return t},by=typeof XMLHttpRequest<"u",yy=by&&function(e){return new Promise(function(n,o){const i=Mf(e);let r=i.data;const l=At.from(i.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:c}=i,u,d,f,h,m;function p(){h&&h(),m&&m(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function q(){if(!v)return;const E=At.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),F={data:!s||s==="text"||s==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:E,config:e,request:v};Ff(function(W){n(W),p()},function(W){o(W),p()},F),v=null}"onloadend"in v?v.onloadend=q:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(q)},v.onabort=function(){v&&(o(new ke("Request aborted",ke.ECONNABORTED,e,v)),v=null)},v.onerror=function(){o(new ke("Network Error",ke.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const F=i.transitional||Af;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),o(new ke(T,F.clarifyTimeoutError?ke.ETIMEDOUT:ke.ECONNABORTED,e,v)),v=null},r===void 0&&l.setContentType(null),"setRequestHeader"in v&&V.forEach(l.toJSON(),function(T,F){v.setRequestHeader(F,T)}),V.isUndefined(i.withCredentials)||(v.withCredentials=!!i.withCredentials),s&&s!=="json"&&(v.responseType=i.responseType),c&&([f,m]=ur(c,!0),v.addEventListener("progress",f)),a&&v.upload&&([d,h]=ur(a),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=E=>{v&&(o(!E||E.type?new Do(null,e,v):E),v.abort(),v=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const S=dy(i.url);if(S&&yt.protocols.indexOf(S)===-1){o(new ke("Unsupported protocol "+S+":",ke.ERR_BAD_REQUEST,e));return}v.send(r||null)})},wy=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,i;const r=function(c){if(!i){i=!0,s();const u=c instanceof Error?c:this.reason;o.abort(u instanceof ke?u:new Do(u instanceof Error?u.message:u))}};let l=t&&setTimeout(()=>{l=null,r(new ke(`timeout ${t} of ms exceeded`,ke.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),e=null)};e.forEach(c=>c.addEventListener("abort",r));const{signal:a}=o;return a.unsubscribe=()=>V.asap(s),a}},_y=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0,i;for(;o<n;)i=o+t,yield e.slice(o,i),o=i},Sy=async function*(e,t){for await(const n of xy(e))yield*_y(n,t)},xy=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},$u=(e,t,n,o)=>{const i=Sy(e,t);let r=0,l,s=a=>{l||(l=!0,o&&o(a))};return new ReadableStream({async pull(a){try{const{done:c,value:u}=await i.next();if(c){s(),a.close();return}let d=u.byteLength;if(n){let f=r+=d;n(f)}a.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(a){return s(a),i.return()}},{highWaterMark:2})},zr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Bf=zr&&typeof ReadableStream=="function",Cy=zr&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),$f=(e,...t)=>{try{return!!e(...t)}catch{return!1}},ky=Bf&&$f(()=>{let e=!1;const t=new Request(yt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Nu=64*1024,rs=Bf&&$f(()=>V.isReadableStream(new Response("").body)),cr={stream:rs&&(e=>e.body)};zr&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!cr[t]&&(cr[t]=V.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new ke(`Response type '${t}' is not supported`,ke.ERR_NOT_SUPPORT,o)})})})(new Response);const Ey=async e=>{if(e==null)return 0;if(V.isBlob(e))return e.size;if(V.isSpecCompliantForm(e))return(await new Request(yt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(V.isArrayBufferView(e)||V.isArrayBuffer(e))return e.byteLength;if(V.isURLSearchParams(e)&&(e=e+""),V.isString(e))return(await Cy(e)).byteLength},Ty=async(e,t)=>{const n=V.toFiniteNumber(e.getContentLength());return n??Ey(t)},qy=zr&&(async e=>{let{url:t,method:n,data:o,signal:i,cancelToken:r,timeout:l,onDownloadProgress:s,onUploadProgress:a,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=Mf(e);c=c?(c+"").toLowerCase():"text";let h=wy([i,r&&r.toAbortSignal()],l),m;const p=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let v;try{if(a&&ky&&n!=="get"&&n!=="head"&&(v=await Ty(u,o))!==0){let F=new Request(t,{method:"POST",body:o,duplex:"half"}),I;if(V.isFormData(o)&&(I=F.headers.get("content-type"))&&u.setContentType(I),F.body){const[W,Z]=Du(v,ur(Mu(a)));o=$u(F.body,Nu,W,Z)}}V.isString(d)||(d=d?"include":"omit");const q="credentials"in Request.prototype;m=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:q?d:void 0});let S=await fetch(m);const E=rs&&(c==="stream"||c==="response");if(rs&&(s||E&&p)){const F={};["status","statusText","headers"].forEach(P=>{F[P]=S[P]});const I=V.toFiniteNumber(S.headers.get("content-length")),[W,Z]=s&&Du(I,ur(Mu(s),!0))||[];S=new Response($u(S.body,Nu,W,()=>{Z&&Z(),p&&p()}),F)}c=c||"text";let T=await cr[V.findKey(cr,c)||"text"](S,e);return!E&&p&&p(),await new Promise((F,I)=>{Ff(F,I,{data:T,headers:At.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:m})})}catch(q){throw p&&p(),q&&q.name==="TypeError"&&/fetch/i.test(q.message)?Object.assign(new ke("Network Error",ke.ERR_NETWORK,e,m),{cause:q.cause||q}):ke.from(q,q&&q.code,e,m)}}),ls={http:Hb,xhr:yy,fetch:qy};V.forEach(ls,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Vu=e=>`- ${e}`,Ry=e=>V.isFunction(e)||e===null||e===!1,Nf={getAdapter:e=>{e=V.isArray(e)?e:[e];const{length:t}=e;let n,o;const i={};for(let r=0;r<t;r++){n=e[r];let l;if(o=n,!Ry(n)&&(o=ls[(l=String(n)).toLowerCase()],o===void 0))throw new ke(`Unknown adapter '${l}'`);if(o)break;i[l||"#"+r]=o}if(!o){const r=Object.entries(i).map(([s,a])=>`adapter ${s} `+(a===!1?"is not supported by the environment":"is not available in the build"));let l=t?r.length>1?`since :
|
|
28
|
-
`+r.map(Vu).join(`
|
|
29
|
-
`):" "+Vu(r[0]):"as no adapter specified";throw new ke("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return o},adapters:ls};function xl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Do(null,e)}function Iu(e){return xl(e),e.headers=At.from(e.headers),e.data=Sl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Nf.getAdapter(e.adapter||Si.adapter)(e).then(function(o){return xl(e),o.data=Sl.call(e,e.transformResponse,o),o.headers=At.from(o.headers),o},function(o){return Lf(o)||(xl(e),o&&o.response&&(o.response.data=Sl.call(e,e.transformResponse,o.response),o.response.headers=At.from(o.response.headers))),Promise.reject(o)})}const Vf="1.7.9",Ur={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ur[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const ju={};Ur.transitional=function(t,n,o){function i(r,l){return"[Axios v"+Vf+"] Transitional option '"+r+"'"+l+(o?". "+o:"")}return(r,l,s)=>{if(t===!1)throw new ke(i(l," has been removed"+(n?" in "+n:"")),ke.ERR_DEPRECATED);return n&&!ju[l]&&(ju[l]=!0,console.warn(i(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,l,s):!0}};Ur.spelling=function(t){return(n,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function Py(e,t,n){if(typeof e!="object")throw new ke("options must be an object",ke.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let i=o.length;for(;i-- >0;){const r=o[i],l=t[r];if(l){const s=e[r],a=s===void 0||l(s,r,e);if(a!==!0)throw new ke("option "+r+" must be "+a,ke.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ke("Unknown option "+r,ke.ERR_BAD_OPTION)}}const Ki={assertOptions:Py,validators:Ur},Yt=Ki.validators;class Qn{constructor(t){this.defaults=t,this.interceptors={request:new Lu,response:new Lu}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const r=i.stack?i.stack.replace(/^.+\n/,""):"";try{o.stack?r&&!String(o.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(o.stack+=`
|
|
30
|
-
`+r):o.stack=r}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=to(this.defaults,n);const{transitional:o,paramsSerializer:i,headers:r}=n;o!==void 0&&Ki.assertOptions(o,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean)},!1),i!=null&&(V.isFunction(i)?n.paramsSerializer={serialize:i}:Ki.assertOptions(i,{encode:Yt.function,serialize:Yt.function},!0)),Ki.assertOptions(n,{baseUrl:Yt.spelling("baseURL"),withXsrfToken:Yt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=r&&V.merge(r.common,r[n.method]);r&&V.forEach(["delete","get","head","post","put","patch","common"],m=>{delete r[m]}),n.headers=At.concat(l,r);const s=[];let a=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(a=a&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,f;if(!a){const m=[Iu.bind(this),void 0];for(m.unshift.apply(m,s),m.push.apply(m,c),f=m.length,u=Promise.resolve(n);d<f;)u=u.then(m[d++],m[d++]);return u}f=s.length;let h=n;for(d=0;d<f;){const m=s[d++],p=s[d++];try{h=m(h)}catch(v){p.call(this,v);break}}try{u=Iu.call(this,h)}catch(m){return Promise.reject(m)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=to(this.defaults,t);const n=Df(t.baseURL,t.url);return Pf(n,t.params,t.paramsSerializer)}}V.forEach(["delete","get","head","options"],function(t){Qn.prototype[t]=function(n,o){return this.request(to(o||{},{method:t,url:n,data:(o||{}).data}))}});V.forEach(["post","put","patch"],function(t){function n(o){return function(r,l,s){return this.request(to(s||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:r,data:l}))}}Qn.prototype[t]=n(),Qn.prototype[t+"Form"]=n(!0)});class zs{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const o=this;this.promise.then(i=>{if(!o._listeners)return;let r=o._listeners.length;for(;r-- >0;)o._listeners[r](i);o._listeners=null}),this.promise.then=i=>{let r;const l=new Promise(s=>{o.subscribe(s),r=s}).then(i);return l.cancel=function(){o.unsubscribe(r)},l},t(function(r,l,s){o.reason||(o.reason=new Do(r,l,s),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new zs(function(i){t=i}),cancel:t}}}function Ay(e){return function(n){return e.apply(null,n)}}function Oy(e){return V.isObject(e)&&e.isAxiosError===!0}const ss={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ss).forEach(([e,t])=>{ss[t]=e});function If(e){const t=new Qn(e),n=bf(Qn.prototype.request,t);return V.extend(n,Qn.prototype,t,{allOwnKeys:!0}),V.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return If(to(e,i))},n}const $e=If(Si);$e.Axios=Qn;$e.CanceledError=Do;$e.CancelToken=zs;$e.isCancel=Lf;$e.VERSION=Vf;$e.toFormData=Hr;$e.AxiosError=ke;$e.Cancel=$e.CanceledError;$e.all=function(t){return Promise.all(t)};$e.spread=Ay;$e.isAxiosError=Oy;$e.mergeConfig=to;$e.AxiosHeaders=At;$e.formToJSON=e=>Of(V.isHTMLForm(e)?new FormData(e):e);$e.getAdapter=Nf.getAdapter;$e.HttpStatusCode=ss;$e.default=$e;const xi=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},Ly={data(){return{loading:!1,message:""}},methods:{async dumpDatabase(){this.loading=!0;try{const e=await $e.post("http://localhost:3000/api/dump",{config:{host:this.$store.state.db.host,port:this.$store.state.db.port,user:this.$store.state.db.user,password:this.$store.state.db.password},database:this.$store.state.db.database});this.message=e.data.message}catch(e){this.message=e.response.data.message}finally{this.loading=!1}}}},Fy={key:1};function Dy(e,t,n,o,i,r){return Fe(),tt(Nr,null,{default:ge(()=>[ie(ze,{onClick:r.dumpDatabase,label:"Dump Database",color:"primary"},null,8,["onClick"]),i.loading?(Fe(),tt(vn,{key:0})):at("",!0),i.message?(Fe(),tn("div",Fy,dt(i.message),1)):at("",!0)]),_:1})}const My=xi(Ly,[["render",Dy]]),By=Ae({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const o=Pe(),{proxy:{$q:i}}=o,r=l=>{n("click",l)};return()=>{if(e.props===void 0)return b("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:r},Xe(t.default));let l,s;const a=o.vnode.key;if(a){if(l=e.props.colsMap[a],l===void 0)return}else l=e.props.col;if(l.sortable===!0){const u=l.align==="right"?"unshift":"push";s=lf(t.default,[]),s[u](b(Be,{class:l.__iconClass,name:i.iconSet.table.arrowUp}))}else s=Xe(t.default);const c={class:l.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:l.headerStyle,onClick:u=>{l.sortable===!0&&e.props.sort(l),r(u)}};return b("th",c,s)}}}),kt={dark:{type:Boolean,default:null}};function Et(e,t){return y(()=>e.dark===null?t.dark.isActive:e.dark)}const $y={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},Cl={xs:2,sm:4,md:8,lg:16,xl:24},as=Ae({name:"QSeparator",props:{...kt,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=Pe(),n=Et(e,t.proxy.$q),o=y(()=>e.vertical===!0?"vertical":"horizontal"),i=y(()=>` q-separator--${o.value}`),r=y(()=>e.inset!==!1?`${i.value}-${$y[e.inset]}`:""),l=y(()=>`q-separator${i.value}${r.value}`+(e.color!==void 0?` bg-${e.color}`:"")+(n.value===!0?" q-separator--dark":"")),s=y(()=>{const a={};if(e.size!==void 0&&(a[e.vertical===!0?"width":"height"]=e.size),e.spaced!==!1){const c=e.spaced===!0?`${Cl.md}px`:e.spaced in Cl?`${Cl[e.spaced]}px`:e.spaced,u=e.vertical===!0?["Left","Right"]:["Top","Bottom"];a[`margin${u[0]}`]=a[`margin${u[1]}`]=c}return a});return()=>b("hr",{class:l.value,style:s.value,"aria-orientation":o.value})}}),Ny=["ul","ol"],jf=Ae({name:"QList",props:{...kt,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=Pe(),o=Et(e,n.proxy.$q),i=y(()=>Ny.includes(e.tag)?null:"list"),r=y(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(o.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>b(e.tag,{class:r.value,role:i.value},Xe(t.default))}}),Vy=["horizontal","vertical","cell","none"],Hf=Ae({name:"QMarkupTable",props:{...kt,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>Vy.includes(e)}},setup(e,{slots:t}){const n=Pe(),o=Et(e,n.proxy.$q),i=y(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(o.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(e.dense===!0?" q-table--dense":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")+(e.square===!0?" q-table--square":"")+(e.wrapCells===!1?" q-table--no-wrap":""));return()=>b("div",{class:i.value},[b("table",{class:"q-table"},Xe(t.default))])}});function zf(e,t){return b("div",e,[b("table",{class:"q-table"},t)])}let dr=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,dr=e.scrollLeft>=0,e.remove()}const zt=1e3,Iy=["start","center","end","start-force","center-force","end-force"],Uf=Array.prototype.filter,jy=window.getComputedStyle(document.body).overflowAnchor===void 0?To:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const n=e.children||[];Uf.call(n,i=>i.dataset&&i.dataset.qVsAnchor!==void 0).forEach(i=>{delete i.dataset.qVsAnchor});const o=n[t];o&&o.dataset&&(o.dataset.qVsAnchor="")}))};function Co(e,t){return e+t}function kl(e,t,n,o,i,r,l,s){const a=e===window?document.scrollingElement||document.documentElement:e,c=i===!0?"offsetWidth":"offsetHeight",u={scrollStart:0,scrollViewSize:-l-s,scrollMaxSize:0,offsetStart:-l,offsetEnd:-s};if(i===!0?(e===window?(u.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,u.scrollViewSize+=document.documentElement.clientWidth):(u.scrollStart=a.scrollLeft,u.scrollViewSize+=a.clientWidth),u.scrollMaxSize=a.scrollWidth,r===!0&&(u.scrollStart=(dr===!0?u.scrollMaxSize-u.scrollViewSize:0)-u.scrollStart)):(e===window?(u.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,u.scrollViewSize+=document.documentElement.clientHeight):(u.scrollStart=a.scrollTop,u.scrollViewSize+=a.clientHeight),u.scrollMaxSize=a.scrollHeight),n!==null)for(let d=n.previousElementSibling;d!==null;d=d.previousElementSibling)d.classList.contains("q-virtual-scroll--skip")===!1&&(u.offsetStart+=d[c]);if(o!==null)for(let d=o.nextElementSibling;d!==null;d=d.nextElementSibling)d.classList.contains("q-virtual-scroll--skip")===!1&&(u.offsetEnd+=d[c]);if(t!==e){const d=a.getBoundingClientRect(),f=t.getBoundingClientRect();i===!0?(u.offsetStart+=f.left-d.left,u.offsetEnd-=f.width):(u.offsetStart+=f.top-d.top,u.offsetEnd-=f.height),e!==window&&(u.offsetStart+=u.scrollStart),u.offsetEnd+=u.scrollMaxSize-u.offsetStart}return u}function Hu(e,t,n,o){t==="end"&&(t=(e===window?document.body:e)[n===!0?"scrollWidth":"scrollHeight"]),e===window?n===!0?(o===!0&&(t=(dr===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):n===!0?(o===!0&&(t=(dr===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function jo(e,t,n,o){if(n>=o)return 0;const i=t.length,r=Math.floor(n/zt),l=Math.floor((o-1)/zt)+1;let s=e.slice(r,l).reduce(Co,0);return n%zt!==0&&(s-=t.slice(r*zt,n).reduce(Co,0)),o%zt!==0&&o!==i&&(s-=t.slice(o,l*zt).reduce(Co,0)),s}const Kf={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},Wf=Object.keys(Kf),us={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Kf};function Qf({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:o}){const i=Pe(),{props:r,emit:l,proxy:s}=i,{$q:a}=s;let c,u,d,f=[],h;const m=ue(0),p=ue(0),v=ue({}),q=ue(null),S=ue(null),E=ue(null),T=ue({from:0,to:0}),F=y(()=>r.tableColspan!==void 0?r.tableColspan:100);o===void 0&&(o=y(()=>r.virtualScrollItemSize));const I=y(()=>o.value+";"+r.virtualScrollHorizontal),W=y(()=>I.value+";"+r.virtualScrollSliceRatioBefore+";"+r.virtualScrollSliceRatioAfter);ye(W,()=>{ee()}),ye(I,Z);function Z(){re(u,!0)}function P(A){re(A===void 0?u:A)}function M(A,g){const $=t();if($==null||$.nodeType===8)return;const D=kl($,n(),q.value,S.value,r.virtualScrollHorizontal,a.lang.rtl,r.virtualScrollStickySizeStart,r.virtualScrollStickySizeEnd);d!==D.scrollViewSize&&ee(D.scrollViewSize),C($,D,Math.min(e.value-1,Math.max(0,parseInt(A,10)||0)),0,Iy.indexOf(g)!==-1?g:u!==-1&&A>u?"end":"start")}function U(){const A=t();if(A==null||A.nodeType===8)return;const g=kl(A,n(),q.value,S.value,r.virtualScrollHorizontal,a.lang.rtl,r.virtualScrollStickySizeStart,r.virtualScrollStickySizeEnd),$=e.value-1,D=g.scrollMaxSize-g.offsetStart-g.offsetEnd-p.value;if(c===g.scrollStart)return;if(g.scrollMaxSize<=0){C(A,g,0,0);return}d!==g.scrollViewSize&&ee(g.scrollViewSize),J(T.value.from);const ne=Math.floor(g.scrollMaxSize-Math.max(g.scrollViewSize,g.offsetEnd)-Math.min(h[$],g.scrollViewSize/2));if(ne>0&&Math.ceil(g.scrollStart)>=ne){C(A,g,$,g.scrollMaxSize-g.offsetEnd-f.reduce(Co,0));return}let L=0,x=g.scrollStart-g.offsetStart,K=x;if(x<=D&&x+g.scrollViewSize>=m.value)x-=m.value,L=T.value.from,K=x;else for(let O=0;x>=f[O]&&L<$;O++)x-=f[O],L+=zt;for(;x>0&&L<$;)x-=h[L],x>-g.scrollViewSize?(L++,K=x):K=h[L]+x;C(A,g,L,K)}function C(A,g,$,D,ne){const L=typeof ne=="string"&&ne.indexOf("-force")!==-1,x=L===!0?ne.replace("-force",""):ne,K=x!==void 0?x:"start";let O=Math.max(0,$-v.value[K]),Y=O+v.value.total;Y>e.value&&(Y=e.value,O=Math.max(0,Y-v.value.total)),c=g.scrollStart;const Se=O!==T.value.from||Y!==T.value.to;if(Se===!1&&x===void 0){Q($);return}const{activeElement:w}=document,_=E.value;Se===!0&&_!==null&&_!==w&&_.contains(w)===!0&&(_.addEventListener("focusout",N),setTimeout(()=>{_!==null&&_.removeEventListener("focusout",N)})),jy(_,$-O);const R=x!==void 0?h.slice(O,$).reduce(Co,0):0;if(Se===!0){const j=Y>=T.value.from&&O<=T.value.to?T.value.to:Y;T.value={from:O,to:j},m.value=jo(f,h,0,O),p.value=jo(f,h,Y,e.value),requestAnimationFrame(()=>{T.value.to!==Y&&c===g.scrollStart&&(T.value={from:T.value.from,to:Y},p.value=jo(f,h,Y,e.value))})}requestAnimationFrame(()=>{if(c!==g.scrollStart)return;Se===!0&&J(O);const j=h.slice(O,$).reduce(Co,0),z=j+g.offsetStart+m.value,B=z+h[$];let X=z+D;if(x!==void 0){const oe=j-R,te=g.scrollStart+oe;X=L!==!0&&te<z&&B<te+g.scrollViewSize?te:x==="end"?B-g.scrollViewSize:z-(x==="start"?0:Math.round((g.scrollViewSize-h[$])/2))}c=X,Hu(A,X,r.virtualScrollHorizontal,a.lang.rtl),Q($)})}function J(A){const g=E.value;if(g){const $=Uf.call(g.children,O=>O.classList&&O.classList.contains("q-virtual-scroll--skip")===!1),D=$.length,ne=r.virtualScrollHorizontal===!0?O=>O.getBoundingClientRect().width:O=>O.offsetHeight;let L=A,x,K;for(let O=0;O<D;){for(x=ne($[O]),O++;O<D&&$[O].classList.contains("q-virtual-scroll--with-prev")===!0;)x+=ne($[O]),O++;K=x-h[L],K!==0&&(h[L]+=K,f[Math.floor(L/zt)]+=K),L++}}}function N(){E.value!==null&&E.value!==void 0&&E.value.focus()}function re(A,g){const $=1*o.value;(g===!0||Array.isArray(h)===!1)&&(h=[]);const D=h.length;h.length=e.value;for(let L=e.value-1;L>=D;L--)h[L]=$;const ne=Math.floor((e.value-1)/zt);f=[];for(let L=0;L<=ne;L++){let x=0;const K=Math.min((L+1)*zt,e.value);for(let O=L*zt;O<K;O++)x+=h[O];f.push(x)}u=-1,c=void 0,m.value=jo(f,h,0,T.value.from),p.value=jo(f,h,T.value.to,e.value),A>=0?(J(T.value.from),Ue(()=>{M(A)})):ae()}function ee(A){if(A===void 0&&typeof window<"u"){const x=t();x!=null&&x.nodeType!==8&&(A=kl(x,n(),q.value,S.value,r.virtualScrollHorizontal,a.lang.rtl,r.virtualScrollStickySizeStart,r.virtualScrollStickySizeEnd).scrollViewSize)}d=A;const g=parseFloat(r.virtualScrollSliceRatioBefore)||0,$=parseFloat(r.virtualScrollSliceRatioAfter)||0,D=1+g+$,ne=A===void 0||A<=0?1:Math.ceil(A/o.value),L=Math.max(1,ne,Math.ceil((r.virtualScrollSliceSize>0?r.virtualScrollSliceSize:10)/D));v.value={total:Math.ceil(L*D),start:Math.ceil(L*g),center:Math.ceil(L*(.5+g)),end:Math.ceil(L*(1+g)),view:ne}}function le(A,g){const $=r.virtualScrollHorizontal===!0?"width":"height",D={["--q-virtual-scroll-item-"+$]:o.value+"px"};return[A==="tbody"?b(A,{class:"q-virtual-scroll__padding",key:"before",ref:q},[b("tr",[b("td",{style:{[$]:`${m.value}px`,...D},colspan:F.value})])]):b(A,{class:"q-virtual-scroll__padding",key:"before",ref:q,style:{[$]:`${m.value}px`,...D}}),b(A,{class:"q-virtual-scroll__content",key:"content",ref:E,tabindex:-1},g.flat()),A==="tbody"?b(A,{class:"q-virtual-scroll__padding",key:"after",ref:S},[b("tr",[b("td",{style:{[$]:`${p.value}px`,...D},colspan:F.value})])]):b(A,{class:"q-virtual-scroll__padding",key:"after",ref:S,style:{[$]:`${p.value}px`,...D}})]}function Q(A){u!==A&&(r.onVirtualScroll!==void 0&&l("virtualScroll",{index:A,from:T.value.from,to:T.value.to-1,direction:A<u?"decrease":"increase",ref:s}),u=A)}ee();const ae=Ds(U,a.platform.is.ios===!0?120:35);Ar(()=>{ee()});let ve=!1;return Lo(()=>{ve=!0}),Rr(()=>{if(ve!==!0)return;const A=t();c!==void 0&&A!==void 0&&A!==null&&A.nodeType!==8?Hu(A,c,r.virtualScrollHorizontal,a.lang.rtl):M(u)}),nt(()=>{ae.cancel()}),Object.assign(s,{scrollTo:M,reset:Z,refresh:P}),{virtualScrollSliceRange:T,virtualScrollSliceSizeComputed:v,setVirtualScrollSize:ee,onVirtualScrollEvt:ae,localResetVirtualScroll:re,padVirtualScroll:le,scrollTo:M,reset:Z,refresh:P}}const Us=[Element,String],Hy=[null,document,document.body,document.scrollingElement,document.documentElement];function Ks(e,t){let n=Hp(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return Hy.includes(n)?window:n}function zy(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function Uy(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let Ai;function Ky(){if(Ai!==void 0)return Ai;const e=document.createElement("p"),t=document.createElement("div");ts(e,{width:"100%",height:"200px"}),ts(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let o=e.offsetWidth;return n===o&&(o=t.clientWidth),t.remove(),Ai=n-o,Ai}function Wy(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"]))}const Qy={list:jf,table:Hf},Gy=["list","table","__qtable"],Jy=Ae({name:"QVirtualScroll",props:{...us,type:{type:String,default:"list",validator:e=>Gy.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:Us},setup(e,{slots:t,attrs:n}){let o;const i=ue(null),r=y(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:l,localResetVirtualScroll:s,padVirtualScroll:a,onVirtualScrollEvt:c}=Qf({virtualScrollLength:r,getVirtualScrollTarget:m,getVirtualScrollEl:h}),u=y(()=>{if(r.value===0)return[];const S=(E,T)=>({index:l.value.from+T,item:E});return e.itemsFn===void 0?e.items.slice(l.value.from,l.value.to).map(S):e.itemsFn(l.value.from,l.value.to-l.value.from).map(S)}),d=y(()=>"q-virtual-scroll q-virtual-scroll"+(e.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(e.scrollTarget!==void 0?"":" scroll")),f=y(()=>e.scrollTarget!==void 0?{}:{tabindex:0});ye(r,()=>{s()}),ye(()=>e.scrollTarget,()=>{v(),p()});function h(){return i.value.$el||i.value}function m(){return o}function p(){o=Ks(h(),e.scrollTarget),o.addEventListener("scroll",c,ht.passive)}function v(){o!==void 0&&(o.removeEventListener("scroll",c,ht.passive),o=void 0)}function q(){let S=a(e.type==="list"?"div":"tbody",u.value.map(t.default));return t.before!==void 0&&(S=t.before().concat(S)),Kt(t.after,S)}return Ar(()=>{s()}),ln(()=>{p()}),Rr(()=>{p()}),Lo(()=>{v()}),nt(()=>{v()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?zf({ref:i,class:"q-table__middle "+d.value},q()):b(Qy[e.type],{...n,ref:i,class:[n.class,d.value],...f.value},q)}}});let El,Oi=0;const ct=new Array(256);for(let e=0;e<256;e++)ct[e]=(e+256).toString(16).substring(1);const Xy=(()=>{const e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return t=>{const n=[];for(let o=t;o>0;o--)n.push(Math.floor(Math.random()*256));return n}})(),zu=4096;function cs(){(El===void 0||Oi+16>zu)&&(Oi=0,El=Xy(zu));const e=Array.prototype.slice.call(El,Oi,Oi+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,ct[e[0]]+ct[e[1]]+ct[e[2]]+ct[e[3]]+"-"+ct[e[4]]+ct[e[5]]+"-"+ct[e[6]]+ct[e[7]]+"-"+ct[e[8]]+ct[e[9]]+"-"+ct[e[10]]+ct[e[11]]+ct[e[12]]+ct[e[13]]+ct[e[14]]+ct[e[15]]}function Yy(e){return e??null}function Uu(e,t){return e??(t===!0?`f_${cs()}`:null)}function Zy({getValue:e,required:t=!0}={}){if(An.value===!0){const n=ue(e!==void 0?Yy(e()):null);return t===!0&&n.value===null&&ln(()=>{n.value=`f_${cs()}`}),e!==void 0&&ye(e,o=>{n.value=Uu(o,t)}),n}return e!==void 0?y(()=>Uu(e(),t)):ue(`f_${cs()}`)}const Ku=/^on[A-Z]/;function e0(){const{attrs:e,vnode:t}=Pe(),n={listeners:ue({}),attributes:ue({})};function o(){const i={},r={};for(const l in e)l!=="class"&&l!=="style"&&Ku.test(l)===!1&&(i[l]=e[l]);for(const l in t.props)Ku.test(l)===!0&&(r[l]=t.props[l]);n.attributes.value=i,n.listeners.value=r}return Or(o),o(),n}function t0({validate:e,resetValidation:t,requiresQForm:n}){const o=Vt(bv,!1);if(o!==!1){const{props:i,proxy:r}=Pe();Object.assign(r,{validate:e,resetValidation:t}),ye(()=>i.disable,l=>{l===!0?(typeof t=="function"&&t(),o.unbindComponent(r)):o.bindComponent(r)}),ln(()=>{i.disable!==!0&&o.bindComponent(r)}),nt(()=>{i.disable!==!0&&o.unbindComponent(r)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const Wu=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Qu=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Gu=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Li=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,Fi=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,Tl={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>Wu.test(e),hexaColor:e=>Qu.test(e),hexOrHexaColor:e=>Gu.test(e),rgbColor:e=>Li.test(e),rgbaColor:e=>Fi.test(e),rgbOrRgbaColor:e=>Li.test(e)||Fi.test(e),hexOrRgbColor:e=>Wu.test(e)||Li.test(e),hexaOrRgbaColor:e=>Qu.test(e)||Fi.test(e),anyColor:e=>Gu.test(e)||Li.test(e)||Fi.test(e)},n0=[!0,!1,"ondemand"],o0={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>n0.includes(e)}};function i0(e,t){const{props:n,proxy:o}=Pe(),i=ue(!1),r=ue(null),l=ue(!1);t0({validate:p,resetValidation:m});let s=0,a;const c=y(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),u=y(()=>n.disable!==!0&&c.value===!0&&t.value===!1),d=y(()=>n.error===!0||i.value===!0),f=y(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:r.value);ye(()=>n.modelValue,()=>{l.value=!0,u.value===!0&&n.lazyRules===!1&&v()});function h(){n.lazyRules!=="ondemand"&&u.value===!0&&l.value===!0&&v()}ye(()=>n.reactiveRules,q=>{q===!0?a===void 0&&(a=ye(()=>n.rules,h,{immediate:!0,deep:!0})):a!==void 0&&(a(),a=void 0)},{immediate:!0}),ye(()=>n.lazyRules,h),ye(e,q=>{q===!0?l.value=!0:u.value===!0&&n.lazyRules!=="ondemand"&&v()});function m(){s++,t.value=!1,l.value=!1,i.value=!1,r.value=null,v.cancel()}function p(q=n.modelValue){if(n.disable===!0||c.value===!1)return!0;const S=++s,E=t.value!==!0?()=>{l.value=!0}:()=>{},T=(I,W)=>{I===!0&&E(),i.value=I,r.value=W||null,t.value=!1},F=[];for(let I=0;I<n.rules.length;I++){const W=n.rules[I];let Z;if(typeof W=="function"?Z=W(q,Tl):typeof W=="string"&&Tl[W]!==void 0&&(Z=Tl[W](q)),Z===!1||typeof Z=="string")return T(!0,Z),!1;Z!==!0&&Z!==void 0&&F.push(Z)}return F.length===0?(T(!1),!0):(t.value=!0,Promise.all(F).then(I=>{if(I===void 0||Array.isArray(I)===!1||I.length===0)return S===s&&T(!1),!0;const W=I.find(Z=>Z===!1||typeof Z=="string");return S===s&&T(W!==void 0,W),W===void 0},I=>(S===s&&(console.error(I),T(!0)),!1)))}const v=Ds(p,0);return nt(()=>{a!==void 0&&a(),v.cancel()}),Object.assign(o,{resetValidation:m,validate:p}),Rt(o,"hasError",()=>d.value),{isDirtyModel:l,hasRules:c,hasError:d,errorMessage:f,validate:p,resetValidation:m}}let zn=[],vi=[];function Gf(e){vi=vi.filter(t=>t!==e)}function r0(e){Gf(e),vi.push(e)}function Ju(e){Gf(e),vi.length===0&&zn.length!==0&&(zn[zn.length-1](),zn=[])}function Kr(e){vi.length===0?e():zn.push(e)}function l0(e){zn=zn.filter(t=>t!==e)}function pi(e){return e!=null&&(""+e).length!==0}const s0={...kt,...o0,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},Wr={...s0,maxlength:[Number,String]},Ws=["update:modelValue","clear","focus","blur"];function Qs({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:o,proxy:i}=Pe(),r=Et(o,i.$q),l=Zy({required:e,getValue:()=>o.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?y(()=>o.tag):{value:"label"},isDark:r,editable:y(()=>o.disable!==!0&&o.readonly!==!0),innerLoading:ue(!1),focused:ue(!1),hasPopupOpen:!1,splitAttrs:e0(),targetUid:l,rootRef:ue(null),targetRef:ue(null),controlRef:ue(null)}}function Gs(e){const{props:t,emit:n,slots:o,attrs:i,proxy:r}=Pe(),{$q:l}=r;let s=null;e.hasValue===void 0&&(e.hasValue=y(()=>pi(t.modelValue))),e.emitValue===void 0&&(e.emitValue=Q=>{n("update:modelValue",Q)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:P,onFocusout:M}),Object.assign(e,{clearValue:U,onControlFocusin:P,onControlFocusout:M,focus:W}),e.computedCounter===void 0&&(e.computedCounter=y(()=>{if(t.counter!==!1){const Q=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,ae=t.maxlength!==void 0?t.maxlength:t.maxValues;return Q+(ae!==void 0?" / "+ae:"")}}));const{isDirtyModel:a,hasRules:c,hasError:u,errorMessage:d,resetValidation:f}=i0(e.focused,e.innerLoading),h=e.floatingLabel!==void 0?y(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):y(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),m=y(()=>t.bottomSlots===!0||t.hint!==void 0||c.value===!0||t.counter===!0||t.error!==null),p=y(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),v=y(()=>`q-field row no-wrap items-start q-field--${p.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(h.value===!0?" q-field--float":"")+(S.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(u.value===!0?" q-field--error":"")+(u.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&m.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),q=y(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(u.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),S=y(()=>t.labelSlot===!0||t.label!==void 0),E=y(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&u.value!==!0?` text-${t.labelColor}`:"")),T=y(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:h.value,modelValue:t.modelValue,emitValue:e.emitValue})),F=y(()=>{const Q={};return e.targetUid.value&&(Q.for=e.targetUid.value),t.disable===!0&&(Q["aria-disabled"]="true"),Q});function I(){const Q=document.activeElement;let ae=e.targetRef!==void 0&&e.targetRef.value;ae&&(Q===null||Q.id!==e.targetUid.value)&&(ae.hasAttribute("tabindex")===!0||(ae=ae.querySelector("[tabindex]")),ae&&ae!==Q&&ae.focus({preventScroll:!0}))}function W(){Kr(I)}function Z(){l0(I);const Q=document.activeElement;Q!==null&&e.rootRef.value.contains(Q)&&Q.blur()}function P(Q){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",Q))}function M(Q,ae){s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,n("blur",Q)),ae!==void 0&&ae())})}function U(Q){Ge(Q),l.platform.is.mobile!==!0?(e.targetRef!==void 0&&e.targetRef.value||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),t.type==="file"&&(e.inputRef.value.value=null),n("update:modelValue",null),e.changeEvent===!0&&n("change",null),n("clear",t.modelValue),Ue(()=>{const ae=a.value;f(),a.value=ae})}function C(Q){[13,32].includes(Q.keyCode)&&U(Q)}function J(){const Q=[];return o.prepend!==void 0&&Q.push(b("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:Ut},o.prepend())),Q.push(b("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},N())),u.value===!0&&t.noErrorIcon===!1&&Q.push(ee("error",[b(Be,{name:l.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?Q.push(ee("inner-loading-append",o.loading!==void 0?o.loading():[b(vn,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&Q.push(ee("inner-clearable-append",[b(Be,{class:"q-field__focusable-action",name:t.clearIcon||l.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":l.lang.label.clear,onKeyup:C,onClick:U})])),o.append!==void 0&&Q.push(b("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:Ut},o.append())),e.getInnerAppend!==void 0&&Q.push(ee("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&Q.push(e.getControlChild()),Q}function N(){const Q=[];return t.prefix!==void 0&&t.prefix!==null&&Q.push(b("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&Q.push(e.getShadowControl()),e.getControl!==void 0?Q.push(e.getControl()):o.rawControl!==void 0?Q.push(o.rawControl()):o.control!==void 0&&Q.push(b("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},o.control(T.value))),S.value===!0&&Q.push(b("div",{class:E.value},Xe(o.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&Q.push(b("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),Q.concat(Xe(o.default))}function re(){let Q,ae;u.value===!0?d.value!==null?(Q=[b("div",{role:"alert"},d.value)],ae=`q--slot-error-${d.value}`):(Q=Xe(o.error),ae="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(Q=[b("div",t.hint)],ae=`q--slot-hint-${t.hint}`):(Q=Xe(o.hint),ae="q--slot-hint"));const ve=t.counter===!0||o.counter!==void 0;if(t.hideBottomSpace===!0&&ve===!1&&Q===void 0)return;const A=b("div",{key:ae,class:"q-field__messages col"},Q);return b("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:Ut},[t.hideBottomSpace===!0?A:b(eo,{name:"q-transition--field-message"},()=>A),ve===!0?b("div",{class:"q-field__counter"},o.counter!==void 0?o.counter():e.computedCounter.value):null])}function ee(Q,ae){return ae===null?null:b("div",{key:Q,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},ae)}let le=!1;return Lo(()=>{le=!0}),Rr(()=>{le===!0&&t.autofocus===!0&&r.focus()}),t.autofocus===!0&&ln(()=>{r.focus()}),nt(()=>{s!==null&&clearTimeout(s)}),Object.assign(r,{focus:W,blur:Z}),function(){const ae=e.getControl===void 0&&o.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...F.value}:F.value;return b(e.tag.value,{ref:e.rootRef,class:[v.value,i.class],style:i.style,...ae},[o.before!==void 0?b("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:Ut},o.before()):null,b("div",{class:"q-field__inner relative-position col self-stretch"},[b("div",{ref:e.controlRef,class:q.value,tabindex:-1,...e.controlEvents},J()),m.value===!0?re():null]),o.after!==void 0?b("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:Ut},o.after()):null])}}const a0=Ae({name:"QField",inheritAttrs:!1,props:{...Wr,tag:{type:String,default:"label"}},emits:Ws,setup(){return Gs(Qs({tagProp:!0}))}}),u0={xs:8,sm:10,md:14,lg:20,xl:24},c0=Ae({name:"QChip",props:{...kt,...oo,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=Pe(),i=Et(e,o),r=io(e,u0),l=y(()=>e.selected===!0||e.icon!==void 0),s=y(()=>e.selected===!0?e.iconSelected||o.iconSet.chip.selected:e.icon),a=y(()=>e.iconRemove||o.iconSet.chip.remove),c=y(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),u=y(()=>{const v=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(v?` text-${v} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(c.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(i.value===!0?" q-chip--dark q-dark":"")}),d=y(()=>{const v=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},q={...v,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||o.lang.label.remove};return{chip:v,remove:q}});function f(v){v.keyCode===13&&h(v)}function h(v){e.disable||(n("update:selected",!e.selected),n("click",v))}function m(v){(v.keyCode===void 0||v.keyCode===13)&&(Ge(v),e.disable===!1&&(n("update:modelValue",!1),n("remove")))}function p(){const v=[];c.value===!0&&v.push(b("div",{class:"q-focus-helper"})),l.value===!0&&v.push(b(Be,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const q=e.label!==void 0?[b("div",{class:"ellipsis"},[e.label])]:void 0;return v.push(b("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},sf(t.default,q))),e.iconRight&&v.push(b(Be,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&v.push(b(Be,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:a.value,...d.value.remove,onClick:m,onKeyup:m})),v}return()=>{if(e.modelValue===!1)return;const v={class:u.value,style:r.value};return c.value===!0&&Object.assign(v,d.value.chip,{onClick:h,onKeyup:f}),Lp("div",v,p(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Ns,e.ripple]])}}}),Jf=Ae({name:"QItem",props:{...kt,...Gp,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=Pe(),i=Et(e,o),{hasLink:r,linkAttrs:l,linkClass:s,linkTag:a,navigateOnClick:c}=pf(),u=ue(null),d=ue(null),f=y(()=>e.clickable===!0||r.value===!0||e.tag==="label"),h=y(()=>e.disable!==!0&&f.value===!0),m=y(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(i.value===!0?" q-item--dark":"")+(r.value===!0&&e.active===null?s.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(h.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),p=y(()=>e.insetLevel===void 0?null:{["padding"+(o.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function v(E){h.value===!0&&(d.value!==null&&(E.qKeyEvent!==!0&&document.activeElement===u.value?d.value.focus():document.activeElement===d.value&&u.value.focus()),c(E))}function q(E){if(h.value===!0&&gn(E,[13,32])===!0){Ge(E),E.qKeyEvent=!0;const T=new MouseEvent("click",E);T.qKeyEvent=!0,u.value.dispatchEvent(T)}n("keyup",E)}function S(){const E=lf(t.default,[]);return h.value===!0&&E.unshift(b("div",{class:"q-focus-helper",tabindex:-1,ref:d})),E}return()=>{const E={ref:u,class:m.value,style:p.value,role:"listitem",onClick:v,onKeyup:q};return h.value===!0?(E.tabindex=e.tabindex||"0",Object.assign(E,l.value)):f.value===!0&&(E["aria-disabled"]="true"),b(a.value,E,S())}}}),Wi=Ae({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=y(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>b("div",{class:n.value},Xe(t.default))}}),d0=Ae({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=y(()=>parseInt(e.lines,10)),o=y(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(n.value===1?" ellipsis":"")),i=y(()=>e.lines!==void 0&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null);return()=>b("div",{style:i.value,class:o.value},Xe(t.default))}});function ds(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),rr.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const Xf={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},f0={...Xf,contextMenu:Boolean};function Yf({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:o,proxy:i,emit:r}=Pe(),l=ue(null);let s=null;function a(h){return l.value===null?!1:h===void 0||h.touches===void 0||h.touches.length<=1}const c={};n===void 0&&(Object.assign(c,{hide(h){i.hide(h)},toggle(h){i.toggle(h),h.qAnchorHandled=!0},toggleKey(h){gn(h,13)===!0&&c.toggle(h)},contextClick(h){i.hide(h),Ut(h),Ue(()=>{i.show(h),h.qAnchorHandled=!0})},prevent:Ut,mobileTouch(h){if(c.mobileCleanup(h),a(h)!==!0)return;i.hide(h),l.value.classList.add("non-selectable");const m=h.target;di(c,"anchor",[[m,"touchmove","mobileCleanup","passive"],[m,"touchend","mobileCleanup","passive"],[m,"touchcancel","mobileCleanup","passive"],[l.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,i.show(h),h.qAnchorHandled=!0},300)},mobileCleanup(h){l.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&h!==void 0&&ds()}}),n=function(h=o.contextMenu){if(o.noParentEvent===!0||l.value===null)return;let m;h===!0?i.$q.platform.is.mobile===!0?m=[[l.value,"touchstart","mobileTouch","passive"]]:m=[[l.value,"mousedown","hide","passive"],[l.value,"contextmenu","contextClick","notPassive"]]:m=[[l.value,"click","toggle","passive"],[l.value,"keyup","toggleKey","passive"]],di(c,"anchor",m)});function u(){lr(c,"anchor")}function d(h){for(l.value=h;l.value.classList.contains("q-anchor--skip");)l.value=l.value.parentNode;n()}function f(){if(o.target===!1||o.target===""||i.$el.parentNode===null)l.value=null;else if(o.target===!0)d(i.$el.parentNode);else{let h=o.target;if(typeof o.target=="string")try{h=document.querySelector(o.target)}catch{h=void 0}h!=null?(l.value=h.$el||h,n()):(l.value=null,console.error(`Anchor: target "${o.target}" not found`))}}return ye(()=>o.contextMenu,h=>{l.value!==null&&(u(),n(h))}),ye(()=>o.target,()=>{l.value!==null&&u(),f()}),ye(()=>o.noParentEvent,h=>{l.value!==null&&(h===!0?u():n())}),ln(()=>{f(),t!==!0&&o.modelValue===!0&&l.value===null&&r("update:modelValue",!1)}),nt(()=>{s!==null&&clearTimeout(s),u()}),{anchorEl:l,canShow:a,anchorEvents:c}}function Zf(e,t){const n=ue(null);let o;function i(s,a){const c=`${a!==void 0?"add":"remove"}EventListener`,u=a!==void 0?a:o;s!==window&&s[c]("scroll",u,ht.passive),window[c]("scroll",u,ht.passive),o=a}function r(){n.value!==null&&(i(n.value),n.value=null)}const l=ye(()=>e.noParentEvent,()=>{n.value!==null&&(r(),t())});return nt(l),{localScrollTarget:n,unconfigureScrollTarget:r,changeScrollEvent:i}}const Js={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},Xs=["beforeShow","show","beforeHide","hide"];function Ys({showing:e,canShow:t,hideOnRouteChange:n,handleShow:o,handleHide:i,processOnMount:r}){const l=Pe(),{props:s,emit:a,proxy:c}=l;let u;function d(S){e.value===!0?m(S):f(S)}function f(S){if(s.disable===!0||S!==void 0&&S.qAnchorHandled===!0||t!==void 0&&t(S)!==!0)return;const E=s["onUpdate:modelValue"]!==void 0;E===!0&&(a("update:modelValue",!0),u=S,Ue(()=>{u===S&&(u=void 0)})),(s.modelValue===null||E===!1)&&h(S)}function h(S){e.value!==!0&&(e.value=!0,a("beforeShow",S),o!==void 0?o(S):a("show",S))}function m(S){if(s.disable===!0)return;const E=s["onUpdate:modelValue"]!==void 0;E===!0&&(a("update:modelValue",!1),u=S,Ue(()=>{u===S&&(u=void 0)})),(s.modelValue===null||E===!1)&&p(S)}function p(S){e.value!==!1&&(e.value=!1,a("beforeHide",S),i!==void 0?i(S):a("hide",S))}function v(S){s.disable===!0&&S===!0?s["onUpdate:modelValue"]!==void 0&&a("update:modelValue",!1):S===!0!==e.value&&(S===!0?h:p)(u)}ye(()=>s.modelValue,v),n!==void 0&&Vs(l)===!0&&ye(()=>c.$route.fullPath,()=>{n.value===!0&&e.value===!0&&m()}),r===!0&&ln(()=>{v(s.modelValue)});const q={show:f,hide:m,toggle:d};return Object.assign(c,q),q}let h0=1,m0=document.body;function Zs(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${h0++}`:e,ar.globalNodes!==void 0){const o=ar.globalNodes.class;o!==void 0&&(n.className=o)}return m0.appendChild(n),n}function eh(e){e.remove()}const ko=[];function g0(e){return ko.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function th(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Hi(e)}else if(e.__qPortal===!0){const n=Hi(e);return n!==void 0&&n.$options.name==="QPopupProxy"?(e.hide(t),n):e}e=Hi(e)}while(e!=null)}function v0(e,t,n){for(;n!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(n--,e.$options.name==="QMenu"){e=th(e,t);continue}e.hide(t)}e=Hi(e)}}const p0=Ae({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function b0(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function ea(e,t,n,o){const i=ue(!1),r=ue(!1);let l=null;const s={},a=o==="dialog"&&b0(e);function c(d){if(d===!0){Ju(s),r.value=!0;return}r.value=!1,i.value===!1&&(a===!1&&l===null&&(l=Zs(!1,o)),i.value=!0,ko.push(e.proxy),r0(s))}function u(d){if(r.value=!1,d!==!0)return;Ju(s),i.value=!1;const f=ko.indexOf(e.proxy);f!==-1&&ko.splice(f,1),l!==null&&(eh(l),l=null)}return As(()=>{u(!0)}),e.proxy.__qPortal=!0,Rt(e.proxy,"contentEl",()=>t.value),{showPortal:c,hidePortal:u,portalIsActive:i,portalIsAccessible:r,renderPortal:()=>a===!0?n():i.value===!0?[b(bm,{to:l},b(p0,n))]:void 0}}const oi={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function ta(e,t=()=>{},n=()=>{}){return{transitionProps:y(()=>{const o=`q-transition--${e.transitionShow||t()}`,i=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}}),transitionStyle:y(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function na(){let e;const t=Pe();function n(){e=void 0}return Lo(n),nt(n),{removeTick:n,registerTick(o){e=o,Ue(()=>{e===o&&(gf(t)===!1&&e(),e=void 0)})}}}function oa(){let e=null;const t=Pe();function n(){e!==null&&(clearTimeout(e),e=null)}return Lo(n),nt(n),{removeTimeout:n,registerTimeout(o,i){n(),gf(t)===!1&&(e=setTimeout(()=>{e=null,o()},i))}}}const Gn=[];let Po;function y0(e){Po=e.keyCode===27}function w0(){Po===!0&&(Po=!1)}function _0(e){Po===!0&&(Po=!1,gn(e,27)===!0&&Gn[Gn.length-1](e))}function nh(e){window[e]("keydown",y0),window[e]("blur",w0),window[e]("keyup",_0),Po=!1}function oh(e){it.is.desktop===!0&&(Gn.push(e),Gn.length===1&&nh("addEventListener"))}function fr(e){const t=Gn.indexOf(e);t!==-1&&(Gn.splice(t,1),Gn.length===0&&nh("removeEventListener"))}const Jn=[];function ih(e){Jn[Jn.length-1](e)}function rh(e){it.is.desktop===!0&&(Jn.push(e),Jn.length===1&&document.body.addEventListener("focusin",ih))}function fs(e){const t=Jn.indexOf(e);t!==-1&&(Jn.splice(t,1),Jn.length===0&&document.body.removeEventListener("focusin",ih))}const{notPassiveCapture:hr}=ht,Xn=[];function mr(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let n=ko.length-1;for(;n>=0;){const o=ko[n].$;if(o.type.name==="QTooltip"){n--;continue}if(o.type.name!=="QDialog")break;if(o.props.seamless!==!0)return;n--}for(let o=Xn.length-1;o>=0;o--){const i=Xn[o];if((i.anchorEl.value===null||i.anchorEl.value.contains(t)===!1)&&(t===document.body||i.innerRef.value!==null&&i.innerRef.value.contains(t)===!1))e.qClickOutside=!0,i.onClickOutside(e);else return}}function lh(e){Xn.push(e),Xn.length===1&&(document.addEventListener("mousedown",mr,hr),document.addEventListener("touchstart",mr,hr))}function gr(e){const t=Xn.findIndex(n=>n===e);t!==-1&&(Xn.splice(t,1),Xn.length===0&&(document.removeEventListener("mousedown",mr,hr),document.removeEventListener("touchstart",mr,hr)))}let Xu,Yu;function vr(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function sh(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const hs={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{hs[`${e}#ltr`]=e,hs[`${e}#rtl`]=e});function pr(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:hs[`${n[1]}#${t===!0?"rtl":"ltr"}`]}}function S0(e,t){let{top:n,left:o,right:i,bottom:r,width:l,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],o-=t[0],r+=t[1],i+=t[0],l+=t[0],s+=t[1]),{top:n,bottom:r,height:s,left:o,right:i,width:l,middle:o+(i-o)/2,center:n+(r-n)/2}}function x0(e,t,n){let{top:o,left:i}=e.getBoundingClientRect();return o+=t.top,i+=t.left,n!==void 0&&(o+=n[1],i+=n[0]),{top:o,bottom:o+1,height:1,left:i,right:i+1,width:1,middle:i,center:o}}function C0(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Zu(e,t,n,o){return{top:e[n.vertical]-t[o.vertical],left:e[n.horizontal]-t[o.horizontal]}}function ia(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{ia(e,t+1)},10);return}const{targetEl:n,offset:o,anchorEl:i,anchorOrigin:r,selfOrigin:l,absoluteOffset:s,fit:a,cover:c,maxHeight:u,maxWidth:d}=e;if(it.is.ios===!0&&window.visualViewport!==void 0){const I=document.body.style,{offsetLeft:W,offsetTop:Z}=window.visualViewport;W!==Xu&&(I.setProperty("--q-pe-left",W+"px"),Xu=W),Z!==Yu&&(I.setProperty("--q-pe-top",Z+"px"),Yu=Z)}const{scrollLeft:f,scrollTop:h}=n,m=s===void 0?S0(i,c===!0?[0,0]:o):x0(i,s,o);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:d,maxHeight:u,visibility:"visible"});const{offsetWidth:p,offsetHeight:v}=n,{elWidth:q,elHeight:S}=a===!0||c===!0?{elWidth:Math.max(m.width,p),elHeight:c===!0?Math.max(m.height,v):v}:{elWidth:p,elHeight:v};let E={maxWidth:d,maxHeight:u};(a===!0||c===!0)&&(E.minWidth=m.width+"px",c===!0&&(E.minHeight=m.height+"px")),Object.assign(n.style,E);const T=C0(q,S);let F=Zu(m,T,r,l);if(s===void 0||o===void 0)ql(F,m,T,r,l);else{const{top:I,left:W}=F;ql(F,m,T,r,l);let Z=!1;if(F.top!==I){Z=!0;const P=2*o[1];m.center=m.top-=P,m.bottom-=P+2}if(F.left!==W){Z=!0;const P=2*o[0];m.middle=m.left-=P,m.right-=P+2}Z===!0&&(F=Zu(m,T,r,l),ql(F,m,T,r,l))}E={top:F.top+"px",left:F.left+"px"},F.maxHeight!==void 0&&(E.maxHeight=F.maxHeight+"px",m.height>F.maxHeight&&(E.minHeight=E.maxHeight)),F.maxWidth!==void 0&&(E.maxWidth=F.maxWidth+"px",m.width>F.maxWidth&&(E.minWidth=E.maxWidth)),Object.assign(n.style,E),n.scrollTop!==h&&(n.scrollTop=h),n.scrollLeft!==f&&(n.scrollLeft=f)}function ql(e,t,n,o,i){const r=n.bottom,l=n.right,s=Ky(),a=window.innerHeight-s,c=document.body.clientWidth;if(e.top<0||e.top+r>a)if(i.vertical==="center")e.top=t[o.vertical]>a/2?Math.max(0,a-r):0,e.maxHeight=Math.min(r,a);else if(t[o.vertical]>a/2){const u=Math.min(a,o.vertical==="center"?t.center:o.vertical===i.vertical?t.bottom:t.top);e.maxHeight=Math.min(r,u),e.top=Math.max(0,u-r)}else e.top=Math.max(0,o.vertical==="center"?t.center:o.vertical===i.vertical?t.top:t.bottom),e.maxHeight=Math.min(r,a-e.top);if(e.left<0||e.left+l>c)if(e.maxWidth=Math.min(l,c),i.horizontal==="middle")e.left=t[o.horizontal]>c/2?Math.max(0,c-l):0;else if(t[o.horizontal]>c/2){const u=Math.min(c,o.horizontal==="middle"?t.middle:o.horizontal===i.horizontal?t.right:t.left);e.maxWidth=Math.min(l,u),e.left=Math.max(0,u-e.maxWidth)}else e.left=Math.max(0,o.horizontal==="middle"?t.middle:o.horizontal===i.horizontal?t.left:t.right),e.maxWidth=Math.min(l,c-e.left)}const k0=Ae({name:"QMenu",inheritAttrs:!1,props:{...f0,...Js,...kt,...oi,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:vr},self:{type:String,validator:vr},offset:{type:Array,validator:sh},scrollTarget:Us,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...Xs,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){let i=null,r,l,s;const a=Pe(),{proxy:c}=a,{$q:u}=c,d=ue(null),f=ue(!1),h=y(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),m=Et(e,u),{registerTick:p,removeTick:v}=na(),{registerTimeout:q}=oa(),{transitionProps:S,transitionStyle:E}=ta(e),{localScrollTarget:T,changeScrollEvent:F,unconfigureScrollTarget:I}=Zf(e,$),{anchorEl:W,canShow:Z}=Yf({showing:f}),{hide:P}=Ys({showing:f,canShow:Z,handleShow:ve,handleHide:A,hideOnRouteChange:h,processOnMount:!0}),{showPortal:M,hidePortal:U,renderPortal:C}=ea(a,d,K,"menu"),J={anchorEl:W,innerRef:d,onClickOutside(O){if(e.persistent!==!0&&f.value===!0)return P(O),(O.type==="touchstart"||O.target.classList.contains("q-dialog__backdrop"))&&Ge(O),!0}},N=y(()=>pr(e.anchor||(e.cover===!0?"center middle":"bottom start"),u.lang.rtl)),re=y(()=>e.cover===!0?N.value:pr(e.self||"top start",u.lang.rtl)),ee=y(()=>(e.square===!0?" q-menu--square":"")+(m.value===!0?" q-menu--dark q-dark":"")),le=y(()=>e.autoClose===!0?{onClick:D}:{}),Q=y(()=>f.value===!0&&e.persistent!==!0);ye(Q,O=>{O===!0?(oh(L),lh(J)):(fr(L),gr(J))});function ae(){Kr(()=>{let O=d.value;O&&O.contains(document.activeElement)!==!0&&(O=O.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||O.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||O.querySelector("[autofocus], [data-autofocus]")||O,O.focus({preventScroll:!0}))})}function ve(O){if(i=e.noRefocus===!1?document.activeElement:null,rh(ne),M(),$(),r=void 0,O!==void 0&&(e.touchPosition||e.contextMenu)){const Y=Vd(O);if(Y.left!==void 0){const{top:Se,left:w}=W.value.getBoundingClientRect();r={left:Y.left-w,top:Y.top-Se}}}l===void 0&&(l=ye(()=>u.screen.width+"|"+u.screen.height+"|"+e.self+"|"+e.anchor+"|"+u.lang.rtl,x)),e.noFocus!==!0&&document.activeElement.blur(),p(()=>{x(),e.noFocus!==!0&&ae()}),q(()=>{u.platform.is.ios===!0&&(s=e.autoClose,d.value.click()),x(),M(!0),n("show",O)},e.transitionDuration)}function A(O){v(),U(),g(!0),i!==null&&(O===void 0||O.qClickOutside!==!0)&&(((O&&O.type.indexOf("key")===0?i.closest('[tabindex]:not([tabindex^="-"])'):void 0)||i).focus(),i=null),q(()=>{U(!0),n("hide",O)},e.transitionDuration)}function g(O){r=void 0,l!==void 0&&(l(),l=void 0),(O===!0||f.value===!0)&&(fs(ne),I(),gr(J),fr(L)),O!==!0&&(i=null)}function $(){(W.value!==null||e.scrollTarget!==void 0)&&(T.value=Ks(W.value,e.scrollTarget),F(T.value,x))}function D(O){s!==!0?(th(c,O),n("click",O)):s=!1}function ne(O){Q.value===!0&&e.noFocus!==!0&&df(d.value,O.target)!==!0&&ae()}function L(O){n("escapeKey"),P(O)}function x(){ia({targetEl:d.value,offset:e.offset,anchorEl:W.value,anchorOrigin:N.value,selfOrigin:re.value,absoluteOffset:r,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function K(){return b(eo,S.value,()=>f.value===!0?b("div",{role:"menu",...o,ref:d,tabindex:-1,class:["q-menu q-position-engine scroll"+ee.value,o.class],style:[o.style,E.value],...le.value},Xe(t.default)):null)}return nt(g),Object.assign(c,{focus:ae,updatePosition:x}),C}});function E0(e,t,n){let o;function i(){o!==void 0&&(fi.remove(o),o=void 0)}return nt(()=>{e.value===!0&&i()}),{removeFromHistory:i,addToHistory(){o={condition:()=>n.value===!0,handler:t},fi.add(o)}}}let Ho=0,Rl,Pl,Wo,Al=!1,ec,tc,nc,Vn=null;function T0(e){q0(e)&&Ge(e)}function q0(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=ov(e),n=e.shiftKey&&!e.deltaX,o=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=n||o?e.deltaY:e.deltaX;for(let r=0;r<t.length;r++){const l=t[r];if(Wy(l,o))return o?i<0&&l.scrollTop===0?!0:i>0&&l.scrollTop+l.clientHeight===l.scrollHeight:i<0&&l.scrollLeft===0?!0:i>0&&l.scrollLeft+l.clientWidth===l.scrollWidth}return!0}function oc(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function Di(e){Al!==!0&&(Al=!0,requestAnimationFrame(()=>{Al=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;(Wo===void 0||t!==window.innerHeight)&&(Wo=n-t,document.scrollingElement.scrollTop=o),o>Wo&&(document.scrollingElement.scrollTop-=Math.ceil((o-Wo)/8))}))}function ic(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:o,overflowX:i}=window.getComputedStyle(t);Rl=Uy(window),Pl=zy(window),ec=t.style.left,tc=t.style.top,nc=window.location.href,t.style.left=`-${Rl}px`,t.style.top=`-${Pl}px`,i!=="hidden"&&(i==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),o!=="hidden"&&(o==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,it.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",Di,ht.passiveCapture),window.visualViewport.addEventListener("scroll",Di,ht.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",oc,ht.passiveCapture))}it.is.desktop===!0&&it.is.mac===!0&&window[`${e}EventListener`]("wheel",T0,ht.notPassive),e==="remove"&&(it.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",Di,ht.passiveCapture),window.visualViewport.removeEventListener("scroll",Di,ht.passiveCapture)):window.removeEventListener("scroll",oc,ht.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=ec,t.style.top=tc,window.location.href===nc&&window.scrollTo(Rl,Pl),Wo=void 0)}function R0(e){let t="add";if(e===!0){if(Ho++,Vn!==null){clearTimeout(Vn),Vn=null;return}if(Ho>1)return}else{if(Ho===0||(Ho--,Ho>0))return;if(t="remove",it.is.ios===!0&&it.is.nativeMobile===!0){Vn!==null&&clearTimeout(Vn),Vn=setTimeout(()=>{ic(t),Vn=null},100);return}}ic(t)}function P0(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,R0(t))}}}let Mi=0;const A0={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},rc={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},bi=Ae({name:"QDialog",inheritAttrs:!1,props:{...Js,...oi,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...Xs,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){const i=Pe(),r=ue(null),l=ue(!1),s=ue(!1);let a=null,c=null,u,d;const f=y(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:h}=P0(),{registerTimeout:m}=oa(),{registerTick:p,removeTick:v}=na(),{transitionProps:q,transitionStyle:S}=ta(e,()=>rc[e.position][0],()=>rc[e.position][1]),E=y(()=>S.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:T,hidePortal:F,portalIsAccessible:I,renderPortal:W}=ea(i,r,ne,"dialog"),{hide:Z}=Ys({showing:l,hideOnRouteChange:f,handleShow:re,handleHide:ee,processOnMount:!0}),{addToHistory:P,removeFromHistory:M}=E0(l,Z,f),U=y(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${A0[e.position]}`+(s.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),C=y(()=>l.value===!0&&e.seamless!==!0),J=y(()=>e.autoClose===!0?{onClick:g}:{}),N=y(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${C.value===!0?"modal":"seamless"}`,o.class]);ye(()=>e.maximized,L=>{l.value===!0&&A(L)}),ye(C,L=>{h(L),L===!0?(rh(D),oh(ae)):(fs(D),fr(ae))});function re(L){P(),c=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,A(e.maximized),T(),s.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),p(le)):v(),m(()=>{if(i.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:x,bottom:K}=document.activeElement.getBoundingClientRect(),{innerHeight:O}=window,Y=window.visualViewport!==void 0?window.visualViewport.height:O;x>0&&K>Y/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-Y,K>=O?1/0:Math.ceil(document.scrollingElement.scrollTop+K-Y/2))),document.activeElement.scrollIntoView()}d=!0,r.value.click(),d=!1}T(!0),s.value=!1,n("show",L)},e.transitionDuration)}function ee(L){v(),M(),ve(!0),s.value=!0,F(),c!==null&&(((L&&L.type.indexOf("key")===0?c.closest('[tabindex]:not([tabindex^="-"])'):void 0)||c).focus(),c=null),m(()=>{F(!0),s.value=!1,n("hide",L)},e.transitionDuration)}function le(L){Kr(()=>{let x=r.value;if(x!==null){if(L!==void 0){const K=x.querySelector(L);if(K!==null){K.focus({preventScroll:!0});return}}x.contains(document.activeElement)!==!0&&(x=x.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||x.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||x.querySelector("[autofocus], [data-autofocus]")||x,x.focus({preventScroll:!0}))}})}function Q(L){L&&typeof L.focus=="function"?L.focus({preventScroll:!0}):le(),n("shake");const x=r.value;x!==null&&(x.classList.remove("q-animate--scale"),x.classList.add("q-animate--scale"),a!==null&&clearTimeout(a),a=setTimeout(()=>{a=null,r.value!==null&&(x.classList.remove("q-animate--scale"),le())},170))}function ae(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&Q():(n("escapeKey"),Z()))}function ve(L){a!==null&&(clearTimeout(a),a=null),(L===!0||l.value===!0)&&(A(!1),e.seamless!==!0&&(h(!1),fs(D),fr(ae))),L!==!0&&(c=null)}function A(L){L===!0?u!==!0&&(Mi<1&&document.body.classList.add("q-body--dialog"),Mi++,u=!0):u===!0&&(Mi<2&&document.body.classList.remove("q-body--dialog"),Mi--,u=!1)}function g(L){d!==!0&&(Z(L),n("click",L))}function $(L){e.persistent!==!0&&e.noBackdropDismiss!==!0?Z(L):e.noShake!==!0&&Q()}function D(L){e.allowFocusOutside!==!0&&I.value===!0&&df(r.value,L.target)!==!0&&le('[tabindex]:not([tabindex="-1"])')}Object.assign(i.proxy,{focus:le,shake:Q,__updateRefocusTarget(L){c=L||null}}),nt(ve);function ne(){return b("div",{role:"dialog","aria-modal":C.value===!0?"true":"false",...o,class:N.value},[b(eo,{name:"q-transition--fade",appear:!0},()=>C.value===!0?b("div",{class:"q-dialog__backdrop fixed-full",style:E.value,"aria-hidden":"true",tabindex:-1,onClick:$}):null),b(eo,q.value,()=>l.value===!0?b("div",{ref:r,class:U.value,style:S.value,tabindex:-1,...J.value},Xe(t.default)):null)])}return W}}),Qr={name:String};function ah(e={}){return(t,n,o)=>{t[n](b("input",{class:"hidden"+(o||""),...e.value}))}}function uh(e){return y(()=>e.name||e.for)}const O0=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,L0=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,F0=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,D0=/[a-z0-9_ -]$/i;function ch(e){return function(n){if(n.type==="compositionend"||n.type==="change"){if(n.target.qComposing!==!0)return;n.target.qComposing=!1,e(n)}else n.type==="compositionupdate"&&n.target.qComposing!==!0&&typeof n.data=="string"&&(it.is.firefox===!0?D0.test(n.data)===!1:O0.test(n.data)===!0||L0.test(n.data)===!0||F0.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}function lc(e,t,n){if(n<=t)return t;const o=n-t+1;let i=t+(e-t)%o;return i<t&&(i=o+i),i===0?0:i}const sc=e=>["add","add-unique","toggle"].includes(e),M0=".*+?^${}()|[]\\",B0=Object.keys(Wr);function Ol(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return o=>o!==null&&typeof o=="object"&&n in o?o[n]:o}const $0=Ae({name:"QSelect",inheritAttrs:!1,props:{...us,...Qr,...Wr,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:sc},mapOptions:Boolean,emitValue:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:us.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...Ws,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:o}=Pe(),{$q:i}=o,r=ue(!1),l=ue(!1),s=ue(-1),a=ue(""),c=ue(!1),u=ue(!1);let d=null,f=null,h,m,p,v=null,q,S,E,T;const F=ue(null),I=ue(null),W=ue(null),Z=ue(null),P=ue(null),M=uh(e),U=ch(H),C=y(()=>Array.isArray(e.options)?e.options.length:0),J=y(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:N,virtualScrollSliceSizeComputed:re,localResetVirtualScroll:ee,padVirtualScroll:le,onVirtualScrollEvt:Q,scrollTo:ae,setVirtualScrollSize:ve}=Qf({virtualScrollLength:C,getVirtualScrollTarget:Gr,getVirtualScrollEl:Ci,virtualScrollItemSizeComputed:J}),A=Qs(),g=y(()=>{const k=e.mapOptions===!0&&e.multiple!==!0,de=e.modelValue!==void 0&&(e.modelValue!==null||k===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const fe=e.mapOptions===!0&&h!==void 0?h:[],Re=de.map(je=>sn(je,fe));return e.modelValue===null&&k===!0?Re.filter(je=>je!==null):Re}return de}),$=y(()=>{const k={};return B0.forEach(de=>{const fe=e[de];fe!==void 0&&(k[de]=fe)}),k}),D=y(()=>e.optionsDark===null?A.isDark.value:e.optionsDark),ne=y(()=>pi(g.value)),L=y(()=>{let k="q-field__input q-placeholder col";return e.hideSelected===!0||g.value.length===0?[k,e.inputClass]:(k+=" q-field__input--padding",e.inputClass===void 0?k:[k,e.inputClass])}),x=y(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),K=y(()=>C.value===0),O=y(()=>g.value.map(k=>he.value(k)).join(", ")),Y=y(()=>e.displayValue!==void 0?e.displayValue:O.value),Se=y(()=>e.optionsHtml===!0?()=>!0:k=>k!=null&&k.html===!0),w=y(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||g.value.some(Se.value))),_=y(()=>A.focused.value===!0?e.tabindex:-1),R=y(()=>{const k={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":r.value===!0?"true":"false","aria-controls":`${A.targetUid.value}_lb`};return s.value>=0&&(k["aria-activedescendant"]=`${A.targetUid.value}_${s.value}`),k}),j=y(()=>({id:`${A.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),z=y(()=>g.value.map((k,de)=>({index:de,opt:k,html:Se.value(k),selected:!0,removeAtIndex:Le,toggleOption:Ie,tabindex:_.value}))),B=y(()=>{if(C.value===0)return[];const{from:k,to:de}=N.value;return e.options.slice(k,de).map((fe,Re)=>{const je=se.value(fe)===!0,Ne=an(fe)===!0,ut=k+Re,et={clickable:!0,active:Ne,activeClass:te.value,manualFocus:!0,focused:!1,disable:je,tabindex:-1,dense:e.optionsDense,dark:D.value,role:"option","aria-selected":Ne===!0?"true":"false",id:`${A.targetUid.value}_${ut}`,onClick:()=>{Ie(fe)}};return je!==!0&&(s.value===ut&&(et.focused=!0),i.platform.is.desktop===!0&&(et.onMousemove=()=>{r.value===!0&&We(ut)})),{index:ut,opt:fe,html:Se.value(fe),label:he.value(fe),selected:et.active,focused:et.focused,toggleOption:Ie,setOptionIndex:We,itemProps:et}})}),X=y(()=>e.dropdownIcon!==void 0?e.dropdownIcon:i.iconSet.arrow.dropdown),oe=y(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),te=y(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),G=y(()=>Ol(e.optionValue,"value")),he=y(()=>Ol(e.optionLabel,"label")),se=y(()=>Ol(e.optionDisable,"disable")),me=y(()=>g.value.map(G.value)),pe=y(()=>{const k={onInput:H,onChange:U,onKeydown:Dn,onKeyup:un,onKeypress:Mo,onFocus:rt,onClick(de){m===!0&&on(de)}};return k.onCompositionstart=k.onCompositionupdate=k.onCompositionend=U,k});ye(g,k=>{h=k,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&A.innerLoading.value!==!0&&(l.value!==!0&&r.value!==!0||ne.value!==!0)&&(p!==!0&&uo(),(l.value===!0||r.value===!0)&&we(""))},{immediate:!0}),ye(()=>e.fillInput,uo),ye(r,Zr),ye(C,kh);function Te(k){return e.emitValue===!0?G.value(k):k}function Oe(k){if(k!==-1&&k<g.value.length)if(e.multiple===!0){const de=e.modelValue.slice();n("remove",{index:k,value:de.splice(k,1)[0]}),n("update:modelValue",de)}else n("update:modelValue",null)}function Le(k){Oe(k),A.focus()}function st(k,de){const fe=Te(k);if(e.multiple!==!0){e.fillInput===!0&&be(he.value(k),!0,!0),n("update:modelValue",fe);return}if(g.value.length===0){n("add",{index:0,value:fe}),n("update:modelValue",e.multiple===!0?[fe]:fe);return}if(de===!0&&an(k)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const Re=e.modelValue.slice();n("add",{index:Re.length,value:fe}),Re.push(fe),n("update:modelValue",Re)}function Ie(k,de){if(A.editable.value!==!0||k===void 0||se.value(k)===!0)return;const fe=G.value(k);if(e.multiple!==!0){de!==!0&&(be(e.fillInput===!0?he.value(k):"",!0,!0),Mn()),I.value!==null&&I.value.focus(),(g.value.length===0||qn(G.value(g.value[0]),fe)!==!0)&&n("update:modelValue",e.emitValue===!0?fe:k);return}if((m!==!0||c.value===!0)&&A.focus(),rt(),g.value.length===0){const Ne=e.emitValue===!0?fe:k;n("add",{index:0,value:Ne}),n("update:modelValue",e.multiple===!0?[Ne]:Ne);return}const Re=e.modelValue.slice(),je=me.value.findIndex(Ne=>qn(Ne,fe));if(je!==-1)n("remove",{index:je,value:Re.splice(je,1)[0]});else{if(e.maxValues!==void 0&&Re.length>=e.maxValues)return;const Ne=e.emitValue===!0?fe:k;n("add",{index:Re.length,value:Ne}),Re.push(Ne)}n("update:modelValue",Re)}function We(k){if(i.platform.is.desktop!==!0)return;const de=k!==-1&&k<C.value?k:-1;s.value!==de&&(s.value=de)}function Ye(k=1,de){if(r.value===!0){let fe=s.value;do fe=lc(fe+k,-1,C.value-1);while(fe!==-1&&fe!==s.value&&se.value(e.options[fe])===!0);s.value!==fe&&(We(fe),ae(fe),de!==!0&&e.useInput===!0&&e.fillInput===!0&&ce(fe>=0?he.value(e.options[fe]):q,!0))}}function sn(k,de){const fe=Re=>qn(G.value(Re),k);return e.options.find(fe)||de.find(fe)||k}function an(k){const de=G.value(k);return me.value.find(fe=>qn(fe,de))!==void 0}function rt(k){e.useInput===!0&&I.value!==null&&(k===void 0||I.value===k.target&&k.target.value===O.value)&&I.value.select()}function _t(k){gn(k,27)===!0&&r.value===!0&&(on(k),Mn(),uo()),n("keyup",k)}function un(k){const{value:de}=k.target;if(k.keyCode!==void 0){_t(k);return}if(k.target.value="",d!==null&&(clearTimeout(d),d=null),f!==null&&(clearTimeout(f),f=null),uo(),typeof de=="string"&&de.length!==0){const fe=de.toLocaleLowerCase(),Re=Ne=>{const ut=e.options.find(et=>String(Ne.value(et)).toLocaleLowerCase()===fe);return ut===void 0?!1:(g.value.indexOf(ut)===-1?Ie(ut):Mn(),!0)},je=Ne=>{Re(G)!==!0&&Ne!==!0&&Re(he)!==!0&&we(de,!0,()=>je(!0))};je()}else A.clearValue(k)}function Mo(k){n("keypress",k)}function Dn(k){if(n("keydown",k),Br(k)===!0)return;const de=a.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),fe=k.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(s.value!==-1||de===!0);if(k.keyCode===27){Ut(k);return}if(k.keyCode===9&&fe===!1){so();return}if(k.target===void 0||k.target.id!==A.targetUid.value||A.editable.value!==!0)return;if(k.keyCode===40&&A.innerLoading.value!==!0&&r.value===!1){Ge(k),ao();return}if(k.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&a.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?Oe(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&n("update:modelValue",null);return}(k.keyCode===35||k.keyCode===36)&&(typeof a.value!="string"||a.value.length===0)&&(Ge(k),s.value=-1,Ye(k.keyCode===36?1:-1,e.multiple)),(k.keyCode===33||k.keyCode===34)&&re.value!==void 0&&(Ge(k),s.value=Math.max(-1,Math.min(C.value,s.value+(k.keyCode===33?-1:1)*re.value.view)),Ye(k.keyCode===33?1:-1,e.multiple)),(k.keyCode===38||k.keyCode===40)&&(Ge(k),Ye(k.keyCode===38?-1:1,e.multiple));const Re=C.value;if((E===void 0||T<Date.now())&&(E=""),Re>0&&e.useInput!==!0&&k.key!==void 0&&k.key.length===1&&k.altKey===!1&&k.ctrlKey===!1&&k.metaKey===!1&&(k.keyCode!==32||E.length!==0)){r.value!==!0&&ao(k);const je=k.key.toLocaleLowerCase(),Ne=E.length===1&&E[0]===je;T=Date.now()+1500,Ne===!1&&(Ge(k),E+=je);const ut=new RegExp("^"+E.split("").map(el=>M0.indexOf(el)!==-1?"\\"+el:el).join(".*"),"i");let et=s.value;if(Ne===!0||et<0||ut.test(he.value(e.options[et]))!==!0)do et=lc(et+1,-1,Re-1);while(et!==s.value&&(se.value(e.options[et])===!0||ut.test(he.value(e.options[et]))!==!0));s.value!==et&&Ue(()=>{We(et),ae(et),et>=0&&e.useInput===!0&&e.fillInput===!0&&ce(he.value(e.options[et]),!0)});return}if(!(k.keyCode!==13&&(k.keyCode!==32||e.useInput===!0||E!=="")&&(k.keyCode!==9||fe===!1))){if(k.keyCode!==9&&Ge(k),s.value!==-1&&s.value<Re){Ie(e.options[s.value]);return}if(de===!0){const je=(Ne,ut)=>{if(ut){if(sc(ut)!==!0)return}else ut=e.newValueMode;if(be("",e.multiple!==!0,!0),Ne==null)return;(ut==="toggle"?Ie:st)(Ne,ut==="add-unique"),e.multiple!==!0&&(I.value!==null&&I.value.focus(),Mn())};if(e.onNewValue!==void 0?n("newValue",a.value,je):je(a.value),e.multiple!==!0)return}r.value===!0?so():A.innerLoading.value!==!0&&ao()}}function Ci(){return m===!0?P.value:W.value!==null&&W.value.contentEl!==null?W.value.contentEl:void 0}function Gr(){return Ci()}function Jr(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?z.value.map(k=>t["selected-item"](k)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?z.value.map((k,de)=>b(c0,{key:"option-"+de,removable:A.editable.value===!0&&se.value(k.opt)!==!0,dense:!0,textColor:e.color,tabindex:_.value,onRemove(){k.removeAtIndex(de)}},()=>b("span",{class:"ellipsis",[k.html===!0?"innerHTML":"textContent"]:he.value(k.opt)}))):[b("span",{[w.value===!0?"innerHTML":"textContent"]:Y.value})]}function ki(){if(K.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:a.value}):void 0;const k=t.option!==void 0?t.option:fe=>b(Jf,{key:fe.index,...fe.itemProps},()=>b(Wi,()=>b(d0,()=>b("span",{[fe.html===!0?"innerHTML":"textContent"]:fe.label}))));let de=le("div",B.value.map(k));return t["before-options"]!==void 0&&(de=t["before-options"]().concat(de)),Kt(t["after-options"],de)}function Xr(k,de){const fe=de===!0?{...R.value,...A.splitAttrs.attributes.value}:void 0,Re={ref:de===!0?I:void 0,key:"i_t",class:L.value,style:e.inputStyle,value:a.value!==void 0?a.value:"",type:"search",...fe,id:de===!0?A.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":k===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...pe.value};return k!==!0&&m===!0&&(Array.isArray(Re.class)===!0?Re.class=[...Re.class,"no-pointer-events"]:Re.class+=" no-pointer-events"),b("input",Re)}function H(k){d!==null&&(clearTimeout(d),d=null),f!==null&&(clearTimeout(f),f=null),!(k&&k.target&&k.target.qComposing===!0)&&(ce(k.target.value||""),p=!0,q=a.value,A.focused.value!==!0&&(m!==!0||c.value===!0)&&A.focus(),e.onFilter!==void 0&&(d=setTimeout(()=>{d=null,we(a.value)},e.inputDebounce)))}function ce(k,de){a.value!==k&&(a.value=k,de===!0||e.inputDebounce===0||e.inputDebounce==="0"?n("inputValue",k):f=setTimeout(()=>{f=null,n("inputValue",k)},e.inputDebounce))}function be(k,de,fe){p=fe!==!0,e.useInput===!0&&(ce(k,!0),(de===!0||fe!==!0)&&(q=k),de!==!0&&we(k))}function we(k,de,fe){if(e.onFilter===void 0||de!==!0&&A.focused.value!==!0)return;A.innerLoading.value===!0?n("filterAbort"):(A.innerLoading.value=!0,u.value=!0),k!==""&&e.multiple!==!0&&g.value.length!==0&&p!==!0&&k===he.value(g.value[0])&&(k="");const Re=setTimeout(()=>{r.value===!0&&(r.value=!1)},10);v!==null&&clearTimeout(v),v=Re,n("filter",k,(je,Ne)=>{(de===!0||A.focused.value===!0)&&v===Re&&(clearTimeout(v),typeof je=="function"&&je(),u.value=!1,Ue(()=>{A.innerLoading.value=!1,A.editable.value===!0&&(de===!0?r.value===!0&&Mn():r.value===!0?Zr(!0):r.value=!0),typeof Ne=="function"&&Ue(()=>{Ne(o)}),typeof fe=="function"&&Ue(()=>{fe(o)})}))},()=>{A.focused.value===!0&&v===Re&&(clearTimeout(v),A.innerLoading.value=!1,u.value=!1),r.value===!0&&(r.value=!1)})}function qe(){return b(k0,{ref:W,class:x.value,style:e.popupContentStyle,modelValue:r.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&K.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:D.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:oe.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...j.value,onScrollPassive:Q,onBeforeShow:sa,onBeforeHide:Je,onShow:Qe},ki)}function Je(k){aa(k),so()}function Qe(){ve()}function jt(k){on(k),I.value!==null&&I.value.focus(),c.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function gt(k){on(k),Ue(()=>{c.value=!1})}function ro(){const k=[b(a0,{class:`col-auto ${A.fieldClass.value}`,...$.value,for:A.targetUid.value,dark:D.value,square:!0,loading:u.value,itemAligned:!1,filled:!0,stackLabel:a.value.length!==0,...A.splitAttrs.listeners.value,onFocus:jt,onBlur:gt},{...t,rawControl:()=>A.getControl(!0),before:void 0,after:void 0})];return r.value===!0&&k.push(b("div",{ref:P,class:x.value+" scroll",style:e.popupContentStyle,...j.value,onClick:Ut,onScrollPassive:Q},ki())),b(bi,{ref:Z,modelValue:l.value,position:e.useInput===!0?"top":void 0,transitionShow:S,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:sa,onBeforeHide:lo,onHide:Yr,onShow:Ch},()=>b("div",{class:"q-select__dialog"+(D.value===!0?" q-select__dialog--dark q-dark":"")+(c.value===!0?" q-select__dialog--focused":"")},k))}function lo(k){aa(k),Z.value!==null&&Z.value.__updateRefocusTarget(A.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),A.focused.value=!1}function Yr(k){Mn(),A.focused.value===!1&&n("blur",k),uo()}function Ch(){const k=document.activeElement;(k===null||k.id!==A.targetUid.value)&&I.value!==null&&I.value!==k&&I.value.focus(),ve()}function so(){l.value!==!0&&(s.value=-1,r.value===!0&&(r.value=!1),A.focused.value===!1&&(v!==null&&(clearTimeout(v),v=null),A.innerLoading.value===!0&&(n("filterAbort"),A.innerLoading.value=!1,u.value=!1)))}function ao(k){A.editable.value===!0&&(m===!0?(A.onControlFocusin(k),l.value=!0,Ue(()=>{A.focus()})):A.focus(),e.onFilter!==void 0?we(a.value):(K.value!==!0||t["no-option"]!==void 0)&&(r.value=!0))}function Mn(){l.value=!1,so()}function uo(){e.useInput===!0&&be(e.multiple!==!0&&e.fillInput===!0&&g.value.length!==0&&he.value(g.value[0])||"",!0,!0)}function Zr(k){let de=-1;if(k===!0){if(g.value.length!==0){const fe=G.value(g.value[0]);de=e.options.findIndex(Re=>qn(G.value(Re),fe))}ee(de)}We(de)}function kh(k,de){r.value===!0&&A.innerLoading.value===!1&&(ee(-1,!0),Ue(()=>{r.value===!0&&A.innerLoading.value===!1&&(k>de?ee():Zr(!0))}))}function la(){l.value===!1&&W.value!==null&&W.value.updatePosition()}function sa(k){k!==void 0&&on(k),n("popupShow",k),A.hasPopupOpen=!0,A.onControlFocusin(k)}function aa(k){k!==void 0&&on(k),n("popupHide",k),A.hasPopupOpen=!1,A.onControlFocusout(k)}function ua(){m=i.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||K.value===!1:!0),S=i.platform.is.ios===!0&&m===!0&&e.useInput===!0?"fade":e.transitionShow}return Or(ua),Ps(la),ua(),nt(()=>{d!==null&&clearTimeout(d),f!==null&&clearTimeout(f)}),Object.assign(o,{showPopup:ao,hidePopup:Mn,removeAtIndex:Oe,add:st,toggleOption:Ie,getOptionIndex:()=>s.value,setOptionIndex:We,moveOptionSelection:Ye,filter:we,updateMenuPosition:la,updateInputValue:be,isOptionSelected:an,getEmittingOptionValue:Te,isOptionDisabled:(...k)=>se.value.apply(null,k)===!0,getOptionValue:(...k)=>G.value.apply(null,k),getOptionLabel:(...k)=>he.value.apply(null,k)}),Object.assign(A,{innerValue:g,fieldClass:y(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:F,targetRef:I,hasValue:ne,showPopup:ao,floatingLabel:y(()=>e.hideSelected!==!0&&ne.value===!0||typeof a.value=="number"||a.value.length!==0||pi(e.displayValue)),getControlChild:()=>{if(A.editable.value!==!1&&(l.value===!0||K.value!==!0||t["no-option"]!==void 0))return m===!0?ro():qe();A.hasPopupOpen===!0&&(A.hasPopupOpen=!1)},controlEvents:{onFocusin(k){A.onControlFocusin(k)},onFocusout(k){A.onControlFocusout(k,()=>{uo(),so()})},onClick(k){if(Ut(k),m!==!0&&r.value===!0){so(),I.value!==null&&I.value.focus();return}ao(k)}},getControl:k=>{const de=Jr(),fe=k===!0||l.value!==!0||m!==!0;if(e.useInput===!0)de.push(Xr(k,fe));else if(A.editable.value===!0){const je=fe===!0?R.value:void 0;de.push(b("input",{ref:fe===!0?I:void 0,key:"d_t",class:"q-select__focus-target",id:fe===!0?A.targetUid.value:void 0,value:Y.value,readonly:!0,"data-autofocus":k===!0||e.autofocus===!0||void 0,...je,onKeydown:Dn,onKeyup:_t,onKeypress:Mo})),fe===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&de.push(b("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:un}))}if(M.value!==void 0&&e.disable!==!0&&me.value.length!==0){const je=me.value.map(Ne=>b("option",{value:Ne,selected:!0}));de.push(b("select",{class:"hidden",name:M.value,multiple:e.multiple},je))}const Re=e.useInput===!0||fe!==!0?void 0:A.splitAttrs.attributes.value;return b("div",{class:"q-field__native row items-center",...Re,...A.splitAttrs.listeners.value},de)},getInnerAppend:()=>e.loading!==!0&&u.value!==!0&&e.hideDropdownIcon!==!0?[b(Be,{class:"q-select__dropdown-icon"+(r.value===!0?" rotate-180":""),name:X.value})]:null}),Gs(A)}}),N0={xs:2,sm:4,md:6,lg:10,xl:14};function ac(e,t,n){return{transform:t===!0?`translateX(${n.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const V0=Ae({name:"QLinearProgress",props:{...kt,...oo,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:n}=Pe(),o=Et(e,n.$q),i=io(e,N0),r=y(()=>e.indeterminate===!0||e.query===!0),l=y(()=>e.reverse!==e.query),s=y(()=>({...i.value!==null?i.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`})),a=y(()=>"q-linear-progress"+(e.color!==void 0?` text-${e.color}`:"")+(e.reverse===!0||e.query===!0?" q-linear-progress--reverse":"")+(e.rounded===!0?" rounded-borders":"")),c=y(()=>ac(e.buffer!==void 0?e.buffer:1,l.value,n.$q)),u=y(()=>`with${e.instantFeedback===!0?"out":""}-transition`),d=y(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${u.value} q-linear-progress__track--${o.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),f=y(()=>ac(r.value===!0?1:e.value,l.value,n.$q)),h=y(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${u.value} q-linear-progress__model--${r.value===!0?"in":""}determinate`),m=y(()=>({width:`${e.value*100}%`})),p=y(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${u.value}`);return()=>{const v=[b("div",{class:d.value,style:c.value}),b("div",{class:h.value,style:f.value})];return e.stripe===!0&&r.value===!1&&v.push(b("div",{class:p.value,style:m.value})),b("div",{class:a.value,style:s.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":e.indeterminate===!0?void 0:e.value},Kt(t.default,v))}}});function dh(e,t){const n=ue(null),o=y(()=>e.disable===!0?null:b("span",{ref:n,class:"no-outline",tabindex:-1}));function i(r){const l=t.value;r!==void 0&&r.type.indexOf("key")===0?l!==null&&document.activeElement!==l&&l.contains(document.activeElement)===!0&&l.focus():n.value!==null&&(r===void 0||l!==null&&l.contains(r.target)===!0)&&n.value.focus()}return{refocusTargetEl:o,refocusTarget:i}}const fh={xs:30,sm:35,md:40,lg:50,xl:60},hh={...kt,...oo,...Qr,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>e==="tf"||e==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},mh=["update:modelValue"];function gh(e,t){const{props:n,slots:o,emit:i,proxy:r}=Pe(),{$q:l}=r,s=Et(n,l),a=ue(null),{refocusTargetEl:c,refocusTarget:u}=dh(n,a),d=io(n,fh),f=y(()=>n.val!==void 0&&Array.isArray(n.modelValue)),h=y(()=>{const C=Ee(n.val);return f.value===!0?n.modelValue.findIndex(J=>Ee(J)===C):-1}),m=y(()=>f.value===!0?h.value!==-1:Ee(n.modelValue)===Ee(n.trueValue)),p=y(()=>f.value===!0?h.value===-1:Ee(n.modelValue)===Ee(n.falseValue)),v=y(()=>m.value===!1&&p.value===!1),q=y(()=>n.disable===!0?-1:n.tabindex||0),S=y(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(n.disable===!0?" disabled":"")+(s.value===!0?` q-${e}--dark`:"")+(n.dense===!0?` q-${e}--dense`:"")+(n.leftLabel===!0?" reverse":"")),E=y(()=>{const C=m.value===!0?"truthy":p.value===!0?"falsy":"indet",J=n.color!==void 0&&(n.keepColor===!0||(e==="toggle"?m.value===!0:p.value!==!0))?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${C}${J}`}),T=y(()=>{const C={type:"checkbox"};return n.name!==void 0&&Object.assign(C,{".checked":m.value,"^checked":m.value===!0?"checked":void 0,name:n.name,value:f.value===!0?n.val:n.trueValue}),C}),F=ah(T),I=y(()=>{const C={tabindex:q.value,role:e==="toggle"?"switch":"checkbox","aria-label":n.label,"aria-checked":v.value===!0?"mixed":m.value===!0?"true":"false"};return n.disable===!0&&(C["aria-disabled"]="true"),C});function W(C){C!==void 0&&(Ge(C),u(C)),n.disable!==!0&&i("update:modelValue",Z(),C)}function Z(){if(f.value===!0){if(m.value===!0){const C=n.modelValue.slice();return C.splice(h.value,1),C}return n.modelValue.concat([n.val])}if(m.value===!0){if(n.toggleOrder!=="ft"||n.toggleIndeterminate===!1)return n.falseValue}else if(p.value===!0){if(n.toggleOrder==="ft"||n.toggleIndeterminate===!1)return n.trueValue}else return n.toggleOrder!=="ft"?n.trueValue:n.falseValue;return n.indeterminateValue}function P(C){(C.keyCode===13||C.keyCode===32)&&Ge(C)}function M(C){(C.keyCode===13||C.keyCode===32)&&W(C)}const U=t(m,v);return Object.assign(r,{toggle:W}),()=>{const C=U();n.disable!==!0&&F(C,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const J=[b("div",{class:E.value,style:d.value,"aria-hidden":"true"},C)];c.value!==null&&J.push(c.value);const N=n.label!==void 0?Kt(o.default,[n.label]):Xe(o.default);return N!==void 0&&J.push(b("div",{class:`q-${e}__label q-anchor--skip`},N)),b("div",{ref:a,class:S.value,...I.value,onClick:W,onKeydown:P,onKeyup:M},J)}}const I0=()=>b("div",{key:"svg",class:"q-checkbox__bg absolute"},[b("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[b("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),b("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),ii=Ae({name:"QCheckbox",props:hh,emits:mh,setup(e){const t=I0();function n(o,i){const r=y(()=>(o.value===!0?e.checkedIcon:i.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>r.value!==null?[b("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[b(Be,{class:"q-checkbox__icon",name:r.value})])]:[t]}return gh("checkbox",n)}});let zo=0;const j0={fullscreen:Boolean,noRouteFullscreenExit:Boolean},H0=["update:fullscreen","fullscreen"];function z0(){const e=Pe(),{props:t,emit:n,proxy:o}=e;let i,r,l;const s=ue(!1);Vs(e)===!0&&ye(()=>o.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&u()}),ye(()=>t.fullscreen,d=>{s.value!==d&&a()}),ye(s,d=>{n("update:fullscreen",d),n("fullscreen",d)});function a(){s.value===!0?u():c()}function c(){s.value!==!0&&(s.value=!0,l=o.$el.parentNode,l.replaceChild(r,o.$el),document.body.appendChild(o.$el),zo++,zo===1&&document.body.classList.add("q-body--fullscreen-mixin"),i={handler:u},fi.add(i))}function u(){s.value===!0&&(i!==void 0&&(fi.remove(i),i=void 0),l.replaceChild(o.$el,r),s.value=!1,zo=Math.max(0,zo-1),zo===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),o.$el.scrollIntoView!==void 0&&setTimeout(()=>{o.$el.scrollIntoView()})))}return Ar(()=>{r=document.createElement("span")}),ln(()=>{t.fullscreen===!0&&c()}),nt(u),Object.assign(o,{toggleFullscreen:a,setFullscreen:c,exitFullscreen:u}),{inFullscreen:s,toggleFullscreen:a}}function U0(e,t){return new Date(e)-new Date(t)}const K0={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function W0(e,t,n,o){const i=y(()=>{const{sortBy:s}=t.value;return s&&n.value.find(a=>a.name===s)||null}),r=y(()=>e.sortMethod!==void 0?e.sortMethod:(s,a,c)=>{const u=n.value.find(h=>h.name===a);if(u===void 0||u.field===void 0)return s;const d=c===!0?-1:1,f=typeof u.field=="function"?h=>u.field(h):h=>h[u.field];return s.sort((h,m)=>{let p=f(h),v=f(m);return u.rawSort!==void 0?u.rawSort(p,v,h,m)*d:p==null?-1*d:v==null?1*d:u.sort!==void 0?u.sort(p,v,h,m)*d:Jl(p)===!0&&Jl(v)===!0?(p-v)*d:Za(p)===!0&&Za(v)===!0?U0(p,v)*d:typeof p=="boolean"&&typeof v=="boolean"?(p-v)*d:([p,v]=[p,v].map(q=>(q+"").toLocaleString().toLowerCase()),p<v?-1*d:p===v?0:d)})});function l(s){let a=e.columnSortOrder;if($t(s)===!0)s.sortOrder&&(a=s.sortOrder),s=s.name;else{const d=n.value.find(f=>f.name===s);d!==void 0&&d.sortOrder&&(a=d.sortOrder)}let{sortBy:c,descending:u}=t.value;c!==s?(c=s,u=a==="da"):e.binaryStateSort===!0?u=!u:u===!0?a==="ad"?c=null:u=!1:a==="ad"?u=!0:c=null,o({sortBy:c,descending:u,page:1})}return{columnToSort:i,computedSortMethod:r,sort:l}}const Q0={filter:[String,Object],filterMethod:Function};function G0(e,t){const n=y(()=>e.filterMethod!==void 0?e.filterMethod:(o,i,r,l)=>{const s=i?i.toLowerCase():"";return o.filter(a=>r.some(c=>{const u=l(c,a)+"";return(u==="undefined"||u==="null"?"":u.toLowerCase()).indexOf(s)!==-1}))});return ye(()=>e.filter,()=>{Ue(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:n}}function J0(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function uc(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const X0={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function Y0(e,t){const{props:n,emit:o}=e,i=ue(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length!==0?n.rowsPerPageOptions[0]:5},n.pagination)),r=y(()=>{const u=n["onUpdate:pagination"]!==void 0?{...i.value,...n.pagination}:i.value;return uc(u)}),l=y(()=>r.value.rowsNumber!==void 0);function s(u){a({pagination:u,filter:n.filter})}function a(u={}){Ue(()=>{o("request",{pagination:u.pagination||r.value,filter:u.filter||n.filter,getCellValue:t})})}function c(u,d){const f=uc({...r.value,...u});if(J0(r.value,f)===!0){l.value===!0&&d===!0&&s(f);return}if(l.value===!0){s(f);return}n.pagination!==void 0&&n["onUpdate:pagination"]!==void 0?o("update:pagination",f):i.value=f}return{innerPagination:i,computedPagination:r,isServerSide:l,requestServerInteraction:a,setPagination:c}}function Z0(e,t,n,o,i,r){const{props:l,emit:s,proxy:{$q:a}}=e,c=y(()=>o.value===!0?n.value.rowsNumber||0:r.value),u=y(()=>{const{page:T,rowsPerPage:F}=n.value;return(T-1)*F}),d=y(()=>{const{page:T,rowsPerPage:F}=n.value;return T*F}),f=y(()=>n.value.page===1),h=y(()=>n.value.rowsPerPage===0?1:Math.max(1,Math.ceil(c.value/n.value.rowsPerPage))),m=y(()=>d.value===0?!0:n.value.page>=h.value),p=y(()=>(l.rowsPerPageOptions.includes(t.value.rowsPerPage)?l.rowsPerPageOptions:[t.value.rowsPerPage].concat(l.rowsPerPageOptions)).map(F=>({label:F===0?a.lang.table.allRows:""+F,value:F})));ye(h,(T,F)=>{if(T===F)return;const I=n.value.page;T&&!I?i({page:1}):T<I&&i({page:T})});function v(){i({page:1})}function q(){const{page:T}=n.value;T>1&&i({page:T-1})}function S(){const{page:T,rowsPerPage:F}=n.value;d.value>0&&T*F<c.value&&i({page:T+1})}function E(){i({page:h.value})}return l["onUpdate:pagination"]!==void 0&&s("update:pagination",{...n.value}),{firstRowIndex:u,lastRowIndex:d,isFirstPage:f,isLastPage:m,pagesNumber:h,computedRowsPerPageOptions:p,computedRowsNumber:c,firstPage:v,prevPage:q,nextPage:S,lastPage:E}}const ew={selection:{type:String,default:"none",validator:e=>["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},tw=["update:selected","selection"];function nw(e,t,n,o){const i=y(()=>{const m={};return e.selected.map(o.value).forEach(p=>{m[p]=!0}),m}),r=y(()=>e.selection!=="none"),l=y(()=>e.selection==="single"),s=y(()=>e.selection==="multiple"),a=y(()=>n.value.length!==0&&n.value.every(m=>i.value[o.value(m)]===!0)),c=y(()=>a.value!==!0&&n.value.some(m=>i.value[o.value(m)]===!0)),u=y(()=>e.selected.length);function d(m){return i.value[m]===!0}function f(){t("update:selected",[])}function h(m,p,v,q){t("selection",{rows:p,added:v,keys:m,evt:q});const S=l.value===!0?v===!0?p:[]:v===!0?e.selected.concat(p):e.selected.filter(E=>m.includes(o.value(E))===!1);t("update:selected",S)}return{hasSelectionMode:r,singleSelection:l,multipleSelection:s,allRowsSelected:a,someRowsSelected:c,rowsSelectedNumber:u,isRowSelected:d,clearSelection:f,updateSelection:h}}function cc(e){return Array.isArray(e)?e.slice():[]}const ow={expanded:Array},iw=["update:expanded"];function rw(e,t){const n=ue(cc(e.expanded));ye(()=>e.expanded,l=>{n.value=cc(l)});function o(l){return n.value.includes(l)}function i(l){e.expanded!==void 0?t("update:expanded",l):n.value=l}function r(l,s){const a=n.value.slice(),c=a.indexOf(l);s===!0?c===-1&&(a.push(l),i(a)):c!==-1&&(a.splice(c,1),i(a))}return{isRowExpanded:o,setExpanded:i,updateExpanded:r}}const lw={visibleColumns:Array};function sw(e,t,n){const o=y(()=>{if(e.columns!==void 0)return e.columns;const s=e.rows[0];return s!==void 0?Object.keys(s).map(a=>({name:a,label:a.toUpperCase(),field:a,align:Jl(s[a])?"right":"left",sortable:!0})):[]}),i=y(()=>{const{sortBy:s,descending:a}=t.value;return(e.visibleColumns!==void 0?o.value.filter(u=>u.required===!0||e.visibleColumns.includes(u.name)===!0):o.value).map(u=>{const d=u.align||"right",f=`text-${d}`;return{...u,align:d,__iconClass:`q-table__sort-icon q-table__sort-icon--${d}`,__thClass:f+(u.headerClasses!==void 0?" "+u.headerClasses:"")+(u.sortable===!0?" sortable":"")+(u.name===s?` sorted ${a===!0?"sort-desc":""}`:""),__tdStyle:u.style!==void 0?typeof u.style!="function"?()=>u.style:u.style:()=>null,__tdClass:u.classes!==void 0?typeof u.classes!="function"?()=>f+" "+u.classes:h=>f+" "+u.classes(h):()=>f}})}),r=y(()=>{const s={};return i.value.forEach(a=>{s[a.name]=a}),s}),l=y(()=>e.tableColspan!==void 0?e.tableColspan:i.value.length+(n.value===!0?1:0));return{colList:o,computedCols:i,computedColsMap:r,computedColspan:l}}const Bi="q-table__bottom row items-center",vh={};Wf.forEach(e=>{vh[e]={}});const ph=Ae({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...vh,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...kt,...j0,...lw,...Q0,...X0,...ow,...ew,...K0},emits:["request","virtualScroll",...H0,...iw,...tw],setup(e,{slots:t,emit:n}){const o=Pe(),{proxy:{$q:i}}=o,r=Et(e,i),{inFullscreen:l,toggleFullscreen:s}=z0(),a=y(()=>typeof e.rowKey=="function"?e.rowKey:H=>H[e.rowKey]),c=ue(null),u=ue(null),d=y(()=>e.grid!==!0&&e.virtualScroll===!0),f=y(()=>" q-table__card"+(r.value===!0?" q-table__card--dark q-dark":"")+(e.square===!0?" q-table--square":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")),h=y(()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(e.grid===!0?" q-table--grid":f.value)+(r.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(l.value===!0?" fullscreen scroll":"")),m=y(()=>h.value+(e.loading===!0?" q-table--loading":""));ye(()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+h.value,()=>{d.value===!0&&u.value!==null&&u.value.reset()});const{innerPagination:p,computedPagination:v,isServerSide:q,requestServerInteraction:S,setPagination:E}=Y0(o,We),{computedFilterMethod:T}=G0(e,E),{isRowExpanded:F,setExpanded:I,updateExpanded:W}=rw(e,n),Z=y(()=>{let H=e.rows;if(q.value===!0||H.length===0)return H;const{sortBy:ce,descending:be}=v.value;return e.filter&&(H=T.value(H,e.filter,A.value,We)),D.value!==null&&(H=ne.value(e.rows===H?H.slice():H,ce,be)),H}),P=y(()=>Z.value.length),M=y(()=>{let H=Z.value;if(q.value===!0)return H;const{rowsPerPage:ce}=v.value;return ce!==0&&(x.value===0&&e.rows!==H?H.length>K.value&&(H=H.slice(0,K.value)):H=H.slice(x.value,K.value)),H}),{hasSelectionMode:U,singleSelection:C,multipleSelection:J,allRowsSelected:N,someRowsSelected:re,rowsSelectedNumber:ee,isRowSelected:le,clearSelection:Q,updateSelection:ae}=nw(e,n,M,a),{colList:ve,computedCols:A,computedColsMap:g,computedColspan:$}=sw(e,v,U),{columnToSort:D,computedSortMethod:ne,sort:L}=W0(e,v,ve,E),{firstRowIndex:x,lastRowIndex:K,isFirstPage:O,isLastPage:Y,pagesNumber:Se,computedRowsPerPageOptions:w,computedRowsNumber:_,firstPage:R,prevPage:j,nextPage:z,lastPage:B}=Z0(o,p,v,q,E,P),X=y(()=>M.value.length===0),oe=y(()=>{const H={};return Wf.forEach(ce=>{H[ce]=e[ce]}),H.virtualScrollItemSize===void 0&&(H.virtualScrollItemSize=e.dense===!0?28:48),H});function te(){d.value===!0&&u.value.reset()}function G(){if(e.grid===!0)return Xr();const H=e.hideHeader!==!0?rt:null;if(d.value===!0){const be=t["top-row"],we=t["bottom-row"],qe={default:Je=>pe(Je.item,t.body,Je.index)};if(be!==void 0){const Je=b("tbody",be({cols:A.value}));qe.before=H===null?()=>Je:()=>[H()].concat(Je)}else H!==null&&(qe.before=H);return we!==void 0&&(qe.after=()=>b("tbody",we({cols:A.value}))),b(Jy,{ref:u,class:e.tableClass,style:e.tableStyle,...oe.value,scrollTarget:e.virtualScrollTarget,items:M.value,type:"__qtable",tableColspan:$.value,onVirtualScroll:se},qe)}const ce=[Te()];return H!==null&&ce.unshift(H()),zf({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},ce)}function he(H,ce){if(u.value!==null){u.value.scrollTo(H,ce);return}H=parseInt(H,10);const be=c.value.querySelector(`tbody tr:nth-of-type(${H+1})`);if(be!==null){const we=c.value.querySelector(".q-table__middle.scroll"),qe=be.offsetTop-e.virtualScrollStickySizeStart,Je=qe<we.scrollTop?"decrease":"increase";we.scrollTop=qe,n("virtualScroll",{index:H,from:0,to:p.value.rowsPerPage-1,direction:Je})}}function se(H){n("virtualScroll",H)}function me(){return[b(V0,{class:"q-table__linear-progress",color:e.color,dark:r.value,indeterminate:!0,trackColor:"transparent"})]}function pe(H,ce,be){const we=a.value(H),qe=le(we);if(ce!==void 0)return ce(Oe({key:we,row:H,pageIndex:be,__trClass:qe?"selected":""}));const Je=t["body-cell"],Qe=A.value.map(gt=>{const ro=t[`body-cell-${gt.name}`],lo=ro!==void 0?ro:Je;return lo!==void 0?lo(Le({key:we,row:H,pageIndex:be,col:gt})):b("td",{class:gt.__tdClass(H),style:gt.__tdStyle(H)},We(gt,H))});if(U.value===!0){const gt=t["body-selection"],ro=gt!==void 0?gt(st({key:we,row:H,pageIndex:be})):[b(ii,{modelValue:qe,color:e.color,dark:r.value,dense:e.dense,"onUpdate:modelValue":(lo,Yr)=>{ae([we],[H],lo,Yr)}})];Qe.unshift(b("td",{class:"q-table--col-auto-width"},ro))}const jt={key:we,class:{selected:qe}};return e.onRowClick!==void 0&&(jt.class["cursor-pointer"]=!0,jt.onClick=gt=>{n("rowClick",gt,H,be)}),e.onRowDblclick!==void 0&&(jt.class["cursor-pointer"]=!0,jt.onDblclick=gt=>{n("rowDblclick",gt,H,be)}),e.onRowContextmenu!==void 0&&(jt.class["cursor-pointer"]=!0,jt.onContextmenu=gt=>{n("rowContextmenu",gt,H,be)}),b("tr",jt,Qe)}function Te(){const H=t.body,ce=t["top-row"],be=t["bottom-row"];let we=M.value.map((qe,Je)=>pe(qe,H,Je));return ce!==void 0&&(we=ce({cols:A.value}).concat(we)),be!==void 0&&(we=we.concat(be({cols:A.value}))),b("tbody",we)}function Oe(H){return Ie(H),H.cols=H.cols.map(ce=>Rt({...ce},"value",()=>We(ce,H.row))),H}function Le(H){return Ie(H),Rt(H,"value",()=>We(H.col,H.row)),H}function st(H){return Ie(H),H}function Ie(H){Object.assign(H,{cols:A.value,colsMap:g.value,sort:L,rowIndex:x.value+H.pageIndex,color:e.color,dark:r.value,dense:e.dense}),U.value===!0&&Rt(H,"selected",()=>le(H.key),(ce,be)=>{ae([H.key],[H.row],ce,be)}),Rt(H,"expand",()=>F(H.key),ce=>{W(H.key,ce)})}function We(H,ce){const be=typeof H.field=="function"?H.field(ce):ce[H.field];return H.format!==void 0?H.format(be,ce):be}const Ye=y(()=>({pagination:v.value,pagesNumber:Se.value,isFirstPage:O.value,isLastPage:Y.value,firstPage:R,prevPage:j,nextPage:z,lastPage:B,inFullscreen:l.value,toggleFullscreen:s}));function sn(){const H=t.top,ce=t["top-left"],be=t["top-right"],we=t["top-selection"],qe=U.value===!0&&we!==void 0&&ee.value>0,Je="q-table__top relative-position row items-center";if(H!==void 0)return b("div",{class:Je},[H(Ye.value)]);let Qe;if(qe===!0?Qe=we(Ye.value).slice():(Qe=[],ce!==void 0?Qe.push(b("div",{class:"q-table__control"},[ce(Ye.value)])):e.title&&Qe.push(b("div",{class:"q-table__control"},[b("div",{class:["q-table__title",e.titleClass]},e.title)]))),be!==void 0&&(Qe.push(b("div",{class:"q-table__separator col"})),Qe.push(b("div",{class:"q-table__control"},[be(Ye.value)]))),Qe.length!==0)return b("div",{class:Je},Qe)}const an=y(()=>re.value===!0?null:N.value);function rt(){const H=_t();return e.loading===!0&&t.loading===void 0&&H.push(b("tr",{class:"q-table__progress"},[b("th",{class:"relative-position",colspan:$.value},me())])),b("thead",H)}function _t(){const H=t.header,ce=t["header-cell"];if(H!==void 0)return H(un({header:!0})).slice();const be=A.value.map(we=>{const qe=t[`header-cell-${we.name}`],Je=qe!==void 0?qe:ce,Qe=un({col:we});return Je!==void 0?Je(Qe):b(By,{key:we.name,props:Qe},()=>we.label)});if(C.value===!0&&e.grid!==!0)be.unshift(b("th",{class:"q-table--col-auto-width"}," "));else if(J.value===!0){const we=t["header-selection"],qe=we!==void 0?we(un({})):[b(ii,{color:e.color,modelValue:an.value,dark:r.value,dense:e.dense,"onUpdate:modelValue":Mo})];be.unshift(b("th",{class:"q-table--col-auto-width"},qe))}return[b("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},be)]}function un(H){return Object.assign(H,{cols:A.value,sort:L,colsMap:g.value,color:e.color,dark:r.value,dense:e.dense}),J.value===!0&&Rt(H,"selected",()=>an.value,Mo),H}function Mo(H){re.value===!0&&(H=!1),ae(M.value.map(a.value),M.value,H)}const Dn=y(()=>{const H=[e.iconFirstPage||i.iconSet.table.firstPage,e.iconPrevPage||i.iconSet.table.prevPage,e.iconNextPage||i.iconSet.table.nextPage,e.iconLastPage||i.iconSet.table.lastPage];return i.lang.rtl===!0?H.reverse():H});function Ci(){if(e.hideBottom===!0)return;if(X.value===!0){if(e.hideNoData===!0)return;const be=e.loading===!0?e.loadingLabel||i.lang.table.loading:e.filter?e.noResultsLabel||i.lang.table.noResults:e.noDataLabel||i.lang.table.noData,we=t["no-data"],qe=we!==void 0?[we({message:be,icon:i.iconSet.table.warning,filter:e.filter})]:[b(Be,{class:"q-table__bottom-nodata-icon",name:i.iconSet.table.warning}),be];return b("div",{class:Bi+" q-table__bottom--nodata"},qe)}const H=t.bottom;if(H!==void 0)return b("div",{class:Bi},[H(Ye.value)]);const ce=e.hideSelectedBanner!==!0&&U.value===!0&&ee.value>0?[b("div",{class:"q-table__control"},[b("div",[(e.selectedRowsLabel||i.lang.table.selectedRecords)(ee.value)])])]:[];if(e.hidePagination!==!0)return b("div",{class:Bi+" justify-end"},Jr(ce));if(ce.length!==0)return b("div",{class:Bi},ce)}function Gr(H){E({page:1,rowsPerPage:H.value})}function Jr(H){let ce;const{rowsPerPage:be}=v.value,we=e.paginationLabel||i.lang.table.pagination,qe=t.pagination,Je=e.rowsPerPageOptions.length>1;if(H.push(b("div",{class:"q-table__separator col"})),Je===!0&&H.push(b("div",{class:"q-table__control"},[b("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||i.lang.table.recordsPerPage]),b($0,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:be,options:w.value,displayValue:be===0?i.lang.table.allRows:be,dark:r.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":Gr})])),qe!==void 0)ce=qe(Ye.value);else if(ce=[b("span",be!==0?{class:"q-table__bottom-item"}:{},[be?we(x.value+1,Math.min(K.value,_.value),_.value):we(1,P.value,_.value)])],be!==0&&Se.value>1){const Qe={color:e.color,round:!0,dense:!0,flat:!0};e.dense===!0&&(Qe.size="sm"),Se.value>2&&ce.push(b(ze,{key:"pgFirst",...Qe,icon:Dn.value[0],disable:O.value,onClick:R})),ce.push(b(ze,{key:"pgPrev",...Qe,icon:Dn.value[1],disable:O.value,onClick:j}),b(ze,{key:"pgNext",...Qe,icon:Dn.value[2],disable:Y.value,onClick:z})),Se.value>2&&ce.push(b(ze,{key:"pgLast",...Qe,icon:Dn.value[3],disable:Y.value,onClick:B}))}return H.push(b("div",{class:"q-table__control"},ce)),H}function ki(){const H=e.gridHeader===!0?[b("table",{class:"q-table"},[rt()])]:e.loading===!0&&t.loading===void 0?me():void 0;return b("div",{class:"q-table__middle"},H)}function Xr(){const H=t.item!==void 0?t.item:ce=>{const be=ce.cols.map(qe=>b("div",{class:"q-table__grid-item-row"},[b("div",{class:"q-table__grid-item-title"},[qe.label]),b("div",{class:"q-table__grid-item-value"},[qe.value])]));if(U.value===!0){const qe=t["body-selection"],Je=qe!==void 0?qe(ce):[b(ii,{modelValue:ce.selected,color:e.color,dark:r.value,dense:e.dense,"onUpdate:modelValue":(Qe,jt)=>{ae([ce.key],[ce.row],Qe,jt)}})];be.unshift(b("div",{class:"q-table__grid-item-row"},Je),b(as,{dark:r.value}))}const we={class:["q-table__grid-item-card"+f.value,e.cardClass],style:e.cardStyle};return(e.onRowClick!==void 0||e.onRowDblclick!==void 0)&&(we.class[0]+=" cursor-pointer",e.onRowClick!==void 0&&(we.onClick=qe=>{n("RowClick",qe,ce.row,ce.pageIndex)}),e.onRowDblclick!==void 0&&(we.onDblclick=qe=>{n("RowDblclick",qe,ce.row,ce.pageIndex)})),b("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(ce.selected===!0?" q-table__grid-item--selected":"")},[b("div",we,be)])};return b("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},M.value.map((ce,be)=>H(Oe({key:a.value(ce),row:ce,pageIndex:be}))))}return Object.assign(o.proxy,{requestServerInteraction:S,setPagination:E,firstPage:R,prevPage:j,nextPage:z,lastPage:B,isRowSelected:le,clearSelection:Q,isRowExpanded:F,setExpanded:I,sort:L,resetVirtualScroll:te,scrollTo:he,getCellValue:We}),Yg(o.proxy,{filteredSortedRows:()=>Z.value,computedRows:()=>M.value,computedRowsNumber:()=>_.value}),()=>{const H=[sn()],ce={ref:c,class:m.value};return e.grid===!0?H.push(ki()):Object.assign(ce,{class:[ce.class,e.cardClass],style:e.cardStyle}),H.push(G(),Ci()),e.loading===!0&&t.loading!==void 0&&H.push(t.loading()),b("div",ce,H)}}}),aw={data(){return{loading:!1,message:"",differences:[],columns:[{name:"table",label:"Table",align:"left",field:"table"},{name:"difference",label:"Difference",align:"left",field:"difference"},{name:"action",label:"Action",align:"center",field:"action",sortable:!1}]}},methods:{async compareDatabases(){this.loading=!0;try{const e=await $e.post("http://localhost:3000/api/compare",{config:{host:this.$store.state.db.host,port:this.$store.state.db.port,user:this.$store.state.db.user,password:this.$store.state.db.password},database:this.$store.state.db.database,output:"outputDir"});this.differences=e.data.map(t=>({table:t.table,difference:t.difference,action:"Apply"}))}catch(e){this.message=e.response.data.message}finally{this.loading=!1}},applyDifference(e){console.log("Applying difference:",e)}}},uw={key:2};function cw(e,t,n,o,i,r){return Fe(),tt(Nr,null,{default:ge(()=>[ie(ze,{onClick:r.compareDatabases,label:"Compare Databases",color:"primary"},null,8,["onClick"]),i.differences.length?(Fe(),tt(ph,{key:0,rows:i.differences,columns:i.columns},null,8,["rows","columns"])):at("",!0),i.loading?(Fe(),tt(vn,{key:1})):at("",!0),i.message?(Fe(),tn("div",uw,dt(i.message),1)):at("",!0)]),_:1})}const dw=xi(aw,[["render",cw]]),fw={data(){return{loading:!1,message:""}},methods:{async applyChanges(){this.loading=!0;try{const e=await $e.post("http://localhost:3000/api/apply",{config:{host:this.$store.state.db.host,port:this.$store.state.db.port,user:this.$store.state.db.user,password:this.$store.state.db.password},database:this.$store.state.db.database,diffs:this.getSelectedDiffs()});this.message=e.data.message}catch(e){this.message=e.response.data.message}finally{this.loading=!1}},getSelectedDiffs(){return[]}}},hw={key:1};function mw(e,t,n,o,i,r){return Fe(),tt(Nr,null,{default:ge(()=>[ie(ze,{onClick:r.applyChanges,label:"Apply Changes",color:"primary"},null,8,["onClick"]),i.loading?(Fe(),tt(vn,{key:0})):at("",!0),i.message?(Fe(),tn("div",hw,dt(i.message),1)):at("",!0)]),_:1})}const gw=xi(fw,[["render",mw]]),ft=Ae({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=y(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>b(e.tag,{class:n.value},Xe(t.default))}}),En=Ae({name:"QCard",props:{...kt,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=Pe(),o=Et(e,n),i=y(()=>"q-card"+(o.value===!0?" q-card--dark q-dark":"")+(e.bordered===!0?" q-card--bordered":"")+(e.square===!0?" q-card--square no-border-radius":"")+(e.flat===!0?" q-card--flat no-shadow":""));return()=>b(e.tag,{class:i.value},Xe(t.default))}}),vw=["top","middle","bottom"],dc=Ae({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>vw.includes(e)}},setup(e,{slots:t}){const n=y(()=>e.align!==void 0?{verticalAlign:e.align}:null),o=y(()=>{const i=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(i!==void 0?` text-${i}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>b("div",{class:o.value,style:n.value,role:"status","aria-label":e.label},Kt(t.default,e.label!==void 0?[e.label]:[]))}}),$i=Ae({name:"QTooltip",inheritAttrs:!1,props:{...Xf,...Js,...oi,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...oi.transitionShow,default:"jump-down"},transitionHide:{...oi.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:vr},self:{type:String,default:"top middle",validator:vr},offset:{type:Array,default:()=>[14,14],validator:sh},scrollTarget:Us,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...Xs],setup(e,{slots:t,emit:n,attrs:o}){let i,r;const l=Pe(),{proxy:{$q:s}}=l,a=ue(null),c=ue(!1),u=y(()=>pr(e.anchor,s.lang.rtl)),d=y(()=>pr(e.self,s.lang.rtl)),f=y(()=>e.persistent!==!0),{registerTick:h,removeTick:m}=na(),{registerTimeout:p}=oa(),{transitionProps:v,transitionStyle:q}=ta(e),{localScrollTarget:S,changeScrollEvent:E,unconfigureScrollTarget:T}=Zf(e,ve),{anchorEl:F,canShow:I,anchorEvents:W}=Yf({showing:c,configureAnchorEl:ae}),{show:Z,hide:P}=Ys({showing:c,canShow:I,handleShow:J,handleHide:N,hideOnRouteChange:f,processOnMount:!0});Object.assign(W,{delayShow:le,delayHide:Q});const{showPortal:M,hidePortal:U,renderPortal:C}=ea(l,a,g,"tooltip");if(s.platform.is.mobile===!0){const $={anchorEl:F,innerRef:a,onClickOutside(ne){return P(ne),ne.target.classList.contains("q-dialog__backdrop")&&Ge(ne),!0}},D=y(()=>e.modelValue===null&&e.persistent!==!0&&c.value===!0);ye(D,ne=>{(ne===!0?lh:gr)($)}),nt(()=>{gr($)})}function J($){M(),h(()=>{r=new MutationObserver(()=>ee()),r.observe(a.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),ee(),ve()}),i===void 0&&(i=ye(()=>s.screen.width+"|"+s.screen.height+"|"+e.self+"|"+e.anchor+"|"+s.lang.rtl,ee)),p(()=>{M(!0),n("show",$)},e.transitionDuration)}function N($){m(),U(),re(),p(()=>{U(!0),n("hide",$)},e.transitionDuration)}function re(){r!==void 0&&(r.disconnect(),r=void 0),i!==void 0&&(i(),i=void 0),T(),lr(W,"tooltipTemp")}function ee(){ia({targetEl:a.value,offset:e.offset,anchorEl:F.value,anchorOrigin:u.value,selfOrigin:d.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function le($){if(s.platform.is.mobile===!0){ds(),document.body.classList.add("non-selectable");const D=F.value,ne=["touchmove","touchcancel","touchend","click"].map(L=>[D,L,"delayHide","passiveCapture"]);di(W,"tooltipTemp",ne)}p(()=>{Z($)},e.delay)}function Q($){s.platform.is.mobile===!0&&(lr(W,"tooltipTemp"),ds(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),p(()=>{P($)},e.hideDelay)}function ae(){if(e.noParentEvent===!0||F.value===null)return;const $=s.platform.is.mobile===!0?[[F.value,"touchstart","delayShow","passive"]]:[[F.value,"mouseenter","delayShow","passive"],[F.value,"mouseleave","delayHide","passive"]];di(W,"anchor",$)}function ve(){if(F.value!==null||e.scrollTarget!==void 0){S.value=Ks(F.value,e.scrollTarget);const $=e.noParentEvent===!0?ee:P;E(S.value,$)}}function A(){return c.value===!0?b("div",{...o,ref:a,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",o.class],style:[o.style,q.value],role:"tooltip"},Xe(t.default)):null}function g(){return b(eo,v.value,A)}return nt(re),Object.assign(l.proxy,{updatePosition:ee}),C}}),pw=Ae({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(e,{slots:t,emit:n}){let o=!1,i,r,l=null,s=null,a,c;function u(){i&&i(),i=null,o=!1,l!==null&&(clearTimeout(l),l=null),s!==null&&(clearTimeout(s),s=null),r!==void 0&&r.removeEventListener("transitionend",a),a=null}function d(p,v,q){v!==void 0&&(p.style.height=`${v}px`),p.style.transition=`height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`,o=!0,i=q}function f(p,v){p.style.overflowY=null,p.style.height=null,p.style.transition=null,u(),v!==c&&n(v)}function h(p,v){let q=0;r=p,o===!0?(u(),q=p.offsetHeight===p.scrollHeight?0:void 0):(c="hide",p.style.overflowY="hidden"),d(p,q,v),l=setTimeout(()=>{l=null,p.style.height=`${p.scrollHeight}px`,a=S=>{s=null,(Object(S)!==S||S.target===p)&&f(p,"show")},p.addEventListener("transitionend",a),s=setTimeout(a,e.duration*1.1)},100)}function m(p,v){let q;r=p,o===!0?u():(c="show",p.style.overflowY="hidden",q=p.scrollHeight),d(p,q,v),l=setTimeout(()=>{l=null,p.style.height=0,a=S=>{s=null,(Object(S)!==S||S.target===p)&&f(p,"hide")},p.addEventListener("transitionend",a),s=setTimeout(a,e.duration*1.1)},100)}return nt(()=>{o===!0&&u()}),()=>b(eo,{css:!1,appear:e.appear,onEnter:h,onLeave:m},t.default)}}),bw=["none","strict","leaf","leaf-filtered"],yw=Ae({name:"QTree",props:{...kt,nodes:{type:Array,required:!0},nodeKey:{type:String,required:!0},labelKey:{type:String,default:"label"},childrenKey:{type:String,default:"children"},dense:Boolean,color:String,controlColor:String,textColor:String,selectedColor:String,icon:String,tickStrategy:{type:String,default:"none",validator:e=>bw.includes(e)},ticked:Array,expanded:Array,selected:{},noSelectionUnset:Boolean,defaultExpandAll:Boolean,accordion:Boolean,filter:String,filterMethod:Function,duration:{},noConnectors:Boolean,noTransition:Boolean,noNodesLabel:String,noResultsLabel:String},emits:["update:expanded","update:ticked","update:selected","lazyLoad","afterShow","afterHide"],setup(e,{slots:t,emit:n}){const{proxy:o}=Pe(),{$q:i}=o,r=Et(e,i),l=ue({}),s=ue(e.ticked||[]),a=ue(e.expanded||[]);let c={};Or(()=>{c={}});const u=y(()=>`q-tree q-tree--${e.dense===!0?"dense":"standard"}`+(e.noConnectors===!0?" q-tree--no-connectors":"")+(r.value===!0?" q-tree--dark":"")+(e.color!==void 0?` text-${e.color}`:"")),d=y(()=>e.selected!==void 0),f=y(()=>e.icon||i.iconSet.tree.icon),h=y(()=>e.controlColor||e.color),m=y(()=>e.textColor!==void 0?` text-${e.textColor}`:""),p=y(()=>{const g=e.selectedColor||e.color;return g?` text-${g}`:""}),v=y(()=>e.filterMethod!==void 0?e.filterMethod:(g,$)=>{const D=$.toLowerCase();return g[e.labelKey]&&g[e.labelKey].toLowerCase().indexOf(D)!==-1}),q=y(()=>{const g={},$=(D,ne)=>{const L=D.tickStrategy||(ne?ne.tickStrategy:e.tickStrategy),x=D[e.nodeKey],K=D[e.childrenKey]&&Array.isArray(D[e.childrenKey])&&D[e.childrenKey].length!==0,O=D.disabled!==!0&&d.value===!0&&D.selectable!==!1,Y=D.disabled!==!0&&D.expandable!==!1,Se=L!=="none",w=L==="strict",_=L==="leaf-filtered",R=L==="leaf"||L==="leaf-filtered";let j=D.disabled!==!0&&D.tickable!==!1;R===!0&&j===!0&&ne&&ne.tickable!==!0&&(j=!1);let z=D.lazy;z===!0&&l.value[x]!==void 0&&Array.isArray(D[e.childrenKey])===!0&&(z=l.value[x]);const B={key:x,parent:ne,isParent:K,lazy:z,disabled:D.disabled,link:D.disabled!==!0&&(O===!0||Y===!0&&(K===!0||z===!0)),children:[],matchesFilter:e.filter?v.value(D,e.filter):!0,selected:x===e.selected&&O===!0,selectable:O,expanded:K===!0?a.value.includes(x):!1,expandable:Y,noTick:D.noTick===!0||w!==!0&&z&&z!=="loaded",tickable:j,tickStrategy:L,hasTicking:Se,strictTicking:w,leafFilteredTicking:_,leafTicking:R,ticked:w===!0?s.value.includes(x):K===!0?!1:s.value.includes(x)};if(g[x]=B,K===!0&&(B.children=D[e.childrenKey].map(X=>$(X,B)),e.filter&&(B.matchesFilter!==!0?B.matchesFilter=B.children.some(X=>X.matchesFilter):B.noTick!==!0&&B.disabled!==!0&&B.tickable===!0&&_===!0&&B.children.every(X=>X.matchesFilter!==!0||X.noTick===!0||X.tickable!==!0)===!0&&(B.tickable=!1)),B.matchesFilter===!0&&(B.noTick!==!0&&w!==!0&&B.children.every(X=>X.noTick)===!0&&(B.noTick=!0),R))){if(B.ticked=!1,B.indeterminate=B.children.some(X=>X.indeterminate===!0),B.tickable=B.tickable===!0&&B.children.some(X=>X.tickable),B.indeterminate!==!0){const X=B.children.reduce((oe,te)=>te.ticked===!0?oe+1:oe,0);X===B.children.length?B.ticked=!0:X>0&&(B.indeterminate=!0)}B.indeterminate===!0&&(B.indeterminateNextState=B.children.every(X=>X.tickable!==!0||X.ticked!==!0))}return B};return e.nodes.forEach(D=>$(D,null)),g});ye(()=>e.ticked,g=>{s.value=g}),ye(()=>e.expanded,g=>{a.value=g});function S(g){const $=[].reduce,D=(ne,L)=>{if(ne||!L)return ne;if(Array.isArray(L)===!0)return $.call(Object(L),D,ne);if(L[e.nodeKey]===g)return L;if(L[e.childrenKey])return D(null,L[e.childrenKey])};return D(null,e.nodes)}function E(){return s.value.map(g=>S(g))}function T(){return a.value.map(g=>S(g))}function F(g){return g&&q.value[g]?q.value[g].expanded:!1}function I(){e.expanded!==void 0?n("update:expanded",[]):a.value=[]}function W(){const g=[],$=D=>{D[e.childrenKey]&&D[e.childrenKey].length!==0&&D.expandable!==!1&&D.disabled!==!0&&(g.push(D[e.nodeKey]),D[e.childrenKey].forEach($))};e.nodes.forEach($),e.expanded!==void 0?n("update:expanded",g):a.value=g}function Z(g,$,D=S(g),ne=q.value[g]){if(ne.lazy&&ne.lazy!=="loaded"){if(ne.lazy==="loading")return;l.value[g]="loading",Array.isArray(D[e.childrenKey])!==!0&&(D[e.childrenKey]=[]),n("lazyLoad",{node:D,key:g,done:L=>{l.value[g]="loaded",D[e.childrenKey]=Array.isArray(L)===!0?L:[],Ue(()=>{const x=q.value[g];x&&x.isParent===!0&&P(g,!0)})},fail:()=>{delete l.value[g],D[e.childrenKey].length===0&&delete D[e.childrenKey]}})}else ne.isParent===!0&&ne.expandable===!0&&P(g,$)}function P(g,$){let D=a.value;const ne=e.expanded!==void 0;if(ne===!0&&(D=D.slice()),$){if(e.accordion&&q.value[g]){const L=[];q.value[g].parent?q.value[g].parent.children.forEach(x=>{x.key!==g&&x.expandable===!0&&L.push(x.key)}):e.nodes.forEach(x=>{const K=x[e.nodeKey];K!==g&&L.push(K)}),L.length!==0&&(D=D.filter(x=>L.includes(x)===!1))}D=D.concat([g]).filter((L,x,K)=>K.indexOf(L)===x)}else D=D.filter(L=>L!==g);ne===!0?n("update:expanded",D):a.value=D}function M(g){return g&&q.value[g]?q.value[g].ticked:!1}function U(g,$){let D=s.value;const ne=e.ticked!==void 0;ne===!0&&(D=D.slice()),$?D=D.concat(g).filter((L,x,K)=>K.indexOf(L)===x):D=D.filter(L=>g.includes(L)===!1),ne===!0&&n("update:ticked",D)}function C(g,$,D){const ne={tree:o,node:g,key:D,color:e.color,dark:r.value};return Rt(ne,"expanded",()=>$.expanded,L=>{L!==$.expanded&&Z(D,L)}),Rt(ne,"ticked",()=>$.ticked,L=>{L!==$.ticked&&U([D],L)}),ne}function J(g){return(e.filter?g.filter($=>q.value[$[e.nodeKey]].matchesFilter):g).map($=>le($))}function N(g){if(g.icon!==void 0)return b(Be,{class:"q-tree__icon q-mr-sm",name:g.icon,color:g.iconColor});const $=g.img||g.avatar;if($)return b("img",{class:`q-tree__${g.img?"img":"avatar"} q-mr-sm`,src:$})}function re(){n("afterShow")}function ee(){n("afterHide")}function le(g){const $=g[e.nodeKey],D=q.value[$],ne=g.header&&t[`header-${g.header}`]||t["default-header"],L=D.isParent===!0?J(g[e.childrenKey]):[],x=L.length!==0||D.lazy&&D.lazy!=="loaded";let K=g.body&&t[`body-${g.body}`]||t["default-body"];const O=ne!==void 0||K!==void 0?C(g,D,$):null;return K!==void 0&&(K=b("div",{class:"q-tree__node-body relative-position"},[b("div",{class:m.value},[K(O)])])),b("div",{key:$,class:`q-tree__node relative-position q-tree__node--${x===!0?"parent":"child"}`},[b("div",{class:"q-tree__node-header relative-position row no-wrap items-center"+(D.link===!0?" q-tree__node--link q-hoverable q-focusable":"")+(D.selected===!0?" q-tree__node--selected":"")+(D.disabled===!0?" q-tree__node--disabled":""),tabindex:D.link===!0?0:-1,ariaExpanded:L.length>0?D.expanded:null,role:"treeitem",onClick:Y=>{ae(g,D,Y)},onKeypress(Y){Br(Y)!==!0&&(Y.keyCode===13?ae(g,D,Y,!0):Y.keyCode===32&&ve(g,D,Y,!0))}},[b("div",{class:"q-focus-helper",tabindex:-1,ref:Y=>{c[D.key]=Y}}),D.lazy==="loading"?b(vn,{class:"q-tree__spinner",color:h.value}):x===!0?b(Be,{class:"q-tree__arrow"+(D.expanded===!0?" q-tree__arrow--rotate":""),name:f.value,onClick(Y){ve(g,D,Y)}}):null,D.hasTicking===!0&&D.noTick!==!0?b(ii,{class:"q-tree__tickbox",modelValue:D.indeterminate===!0?null:D.ticked,color:h.value,dark:r.value,dense:!0,keepColor:!0,disable:D.tickable!==!0,onKeydown:Ge,"onUpdate:modelValue":Y=>{A(D,Y)}}):null,b("div",{class:"q-tree__node-header-content col row no-wrap items-center"+(D.selected===!0?p.value:m.value)},[ne?ne(O):[N(g),b("div",g[e.labelKey])]])]),x===!0?e.noTransition===!0?D.expanded===!0?b("div",{class:"q-tree__node-collapsible"+m.value,key:`${$}__q`},[K,b("div",{class:"q-tree__children"+(D.disabled===!0?" q-tree__node--disabled":""),role:"group"},L)]):null:b(pw,{duration:e.duration,onShow:re,onHide:ee},()=>Wn(b("div",{class:"q-tree__node-collapsible"+m.value,key:`${$}__q`},[K,b("div",{class:"q-tree__children"+(D.disabled===!0?" q-tree__node--disabled":""),role:"group"},L)]),[[Cg,D.expanded]])):K])}function Q(g){const $=c[g];$&&$.focus()}function ae(g,$,D,ne){ne!==!0&&$.selectable!==!1&&Q($.key),d.value&&$.selectable?e.noSelectionUnset===!1?n("update:selected",$.key!==e.selected?$.key:null):$.key!==e.selected&&n("update:selected",$.key===void 0?null:$.key):ve(g,$,D,ne),typeof g.handler=="function"&&g.handler(g)}function ve(g,$,D,ne){D!==void 0&&Ge(D),ne!==!0&&$.selectable!==!1&&Q($.key),Z($.key,!$.expanded,g,$)}function A(g,$){if(g.indeterminate===!0&&($=g.indeterminateNextState),g.strictTicking)U([g.key],$);else if(g.leafTicking){const D=[],ne=L=>{L.isParent?($!==!0&&L.noTick!==!0&&L.tickable===!0&&D.push(L.key),L.leafTicking===!0&&L.children.forEach(ne)):L.noTick!==!0&&L.tickable===!0&&(L.leafFilteredTicking!==!0||L.matchesFilter===!0)&&D.push(L.key)};ne(g),U(D,$)}}return e.defaultExpandAll===!0&&W(),Object.assign(o,{getNodeByKey:S,getTickedNodes:E,getExpandedNodes:T,isExpanded:F,collapseAll:I,expandAll:W,setExpanded:Z,isTicked:M,setTicked:U}),()=>{const g=J(e.nodes);return b("div",{class:u.value,role:"tree"},g.length===0?e.filter?e.noResultsLabel||i.lang.tree.noResults:e.noNodesLabel||i.lang.tree.noNodes:g)}}}),fc={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},br={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},bh=Object.keys(br);bh.forEach(e=>{br[e].regex=new RegExp(br[e].pattern)});const ww=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+bh.join("")+"])|(.)","g"),hc=/[.*+?^${}()|[\]\\]/g,ot="",_w={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function Sw(e,t,n,o){let i,r,l,s,a,c;const u=ue(null),d=ue(h());function f(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}ye(()=>e.type+e.autogrow,p),ye(()=>e.mask,P=>{if(P!==void 0)v(d.value,!0);else{const M=W(d.value);p(),e.modelValue!==M&&t("update:modelValue",M)}}),ye(()=>e.fillMask+e.reverseFillMask,()=>{u.value===!0&&v(d.value,!0)}),ye(()=>e.unmaskedValue,()=>{u.value===!0&&v(d.value)});function h(){if(p(),u.value===!0){const P=F(W(e.modelValue));return e.fillMask!==!1?Z(P):P}return e.modelValue}function m(P){if(P<i.length)return i.slice(-P);let M="",U=i;const C=U.indexOf(ot);if(C!==-1){for(let J=P-U.length;J>0;J--)M+=ot;U=U.slice(0,C)+M+U.slice(C)}return U}function p(){if(u.value=e.mask!==void 0&&e.mask.length!==0&&f(),u.value===!1){s=void 0,i="",r="";return}const P=fc[e.mask]===void 0?e.mask:fc[e.mask],M=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",U=M.replace(hc,"\\$&"),C=[],J=[],N=[];let re=e.reverseFillMask===!0,ee="",le="";P.replace(ww,(A,g,$,D,ne)=>{if(D!==void 0){const L=br[D];N.push(L),le=L.negate,re===!0&&(J.push("(?:"+le+"+)?("+L.pattern+"+)?(?:"+le+"+)?("+L.pattern+"+)?"),re=!1),J.push("(?:"+le+"+)?("+L.pattern+")?")}else if($!==void 0)ee="\\"+($==="\\"?"":$),N.push($),C.push("([^"+ee+"]+)?"+ee+"?");else{const L=g!==void 0?g:ne;ee=L==="\\"?"\\\\\\\\":L.replace(hc,"\\\\$&"),N.push(L),C.push("([^"+ee+"]+)?"+ee+"?")}});const Q=new RegExp("^"+C.join("")+"("+(ee===""?".":"[^"+ee+"]")+"+)?"+(ee===""?"":"["+ee+"]*")+"$"),ae=J.length-1,ve=J.map((A,g)=>g===0&&e.reverseFillMask===!0?new RegExp("^"+U+"*"+A):g===ae?new RegExp("^"+A+"("+(le===""?".":le)+"+)?"+(e.reverseFillMask===!0?"$":U+"*")):new RegExp("^"+A));l=N,s=A=>{const g=Q.exec(e.reverseFillMask===!0?A:A.slice(0,N.length+1));g!==null&&(A=g.slice(1).join(""));const $=[],D=ve.length;for(let ne=0,L=A;ne<D;ne++){const x=ve[ne].exec(L);if(x===null)break;L=L.slice(x.shift().length),$.push(...x)}return $.length!==0?$.join(""):A},i=N.map(A=>typeof A=="string"?A:ot).join(""),r=i.split(ot).join(M)}function v(P,M,U){const C=o.value,J=C.selectionEnd,N=C.value.length-J,re=W(P);M===!0&&p();const ee=F(re),le=e.fillMask!==!1?Z(ee):ee,Q=d.value!==le;C.value!==le&&(C.value=le),Q===!0&&(d.value=le),document.activeElement===C&&Ue(()=>{if(le===r){const ve=e.reverseFillMask===!0?r.length:0;C.setSelectionRange(ve,ve,"forward");return}if(U==="insertFromPaste"&&e.reverseFillMask!==!0){const ve=C.selectionEnd;let A=J-1;for(let g=a;g<=A&&g<ve;g++)i[g]!==ot&&A++;S.right(C,A);return}if(["deleteContentBackward","deleteContentForward"].indexOf(U)!==-1){const ve=e.reverseFillMask===!0?J===0?le.length>ee.length?1:0:Math.max(0,le.length-(le===r?0:Math.min(ee.length,N)+1))+1:J;C.setSelectionRange(ve,ve,"forward");return}if(e.reverseFillMask===!0)if(Q===!0){const ve=Math.max(0,le.length-(le===r?0:Math.min(ee.length,N+1)));ve===1&&J===1?C.setSelectionRange(ve,ve,"forward"):S.rightReverse(C,ve)}else{const ve=le.length-N;C.setSelectionRange(ve,ve,"backward")}else if(Q===!0){const ve=Math.max(0,i.indexOf(ot),Math.min(ee.length,J)-1);S.right(C,ve)}else{const ve=J-1;S.right(C,ve)}});const ae=e.unmaskedValue===!0?W(le):le;String(e.modelValue)!==ae&&(e.modelValue!==null||ae!=="")&&n(ae,!0)}function q(P,M,U){const C=F(W(P.value));M=Math.max(0,i.indexOf(ot),Math.min(C.length,M)),a=M,P.setSelectionRange(M,U,"forward")}const S={left(P,M){const U=i.slice(M-1).indexOf(ot)===-1;let C=Math.max(0,M-1);for(;C>=0;C--)if(i[C]===ot){M=C,U===!0&&M++;break}if(C<0&&i[M]!==void 0&&i[M]!==ot)return S.right(P,0);M>=0&&P.setSelectionRange(M,M,"backward")},right(P,M){const U=P.value.length;let C=Math.min(U,M+1);for(;C<=U;C++)if(i[C]===ot){M=C;break}else i[C-1]===ot&&(M=C);if(C>U&&i[M-1]!==void 0&&i[M-1]!==ot)return S.left(P,U);P.setSelectionRange(M,M,"forward")},leftReverse(P,M){const U=m(P.value.length);let C=Math.max(0,M-1);for(;C>=0;C--)if(U[C-1]===ot){M=C;break}else if(U[C]===ot&&(M=C,C===0))break;if(C<0&&U[M]!==void 0&&U[M]!==ot)return S.rightReverse(P,0);M>=0&&P.setSelectionRange(M,M,"backward")},rightReverse(P,M){const U=P.value.length,C=m(U),J=C.slice(0,M+1).indexOf(ot)===-1;let N=Math.min(U,M+1);for(;N<=U;N++)if(C[N-1]===ot){M=N,M>0&&J===!0&&M--;break}if(N>U&&C[M-1]!==void 0&&C[M-1]!==ot)return S.leftReverse(P,U);P.setSelectionRange(M,M,"forward")}};function E(P){t("click",P),c=void 0}function T(P){if(t("keydown",P),Br(P)===!0||P.altKey===!0)return;const M=o.value,U=M.selectionStart,C=M.selectionEnd;if(P.shiftKey||(c=void 0),P.keyCode===37||P.keyCode===39){P.shiftKey&&c===void 0&&(c=M.selectionDirection==="forward"?U:C);const J=S[(P.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(P.preventDefault(),J(M,c===U?C:U),P.shiftKey){const N=M.selectionStart;M.setSelectionRange(Math.min(c,N),Math.max(c,N),"forward")}}else P.keyCode===8&&e.reverseFillMask!==!0&&U===C?(S.left(M,U),M.setSelectionRange(M.selectionStart,C,"backward")):P.keyCode===46&&e.reverseFillMask===!0&&U===C&&(S.rightReverse(M,C),M.setSelectionRange(U,M.selectionEnd,"forward"))}function F(P){if(P==null||P==="")return"";if(e.reverseFillMask===!0)return I(P);const M=l;let U=0,C="";for(let J=0;J<M.length;J++){const N=P[U],re=M[J];if(typeof re=="string")C+=re,N===re&&U++;else if(N!==void 0&&re.regex.test(N))C+=re.transform!==void 0?re.transform(N):N,U++;else return C}return C}function I(P){const M=l,U=i.indexOf(ot);let C=P.length-1,J="";for(let N=M.length-1;N>=0&&C!==-1;N--){const re=M[N];let ee=P[C];if(typeof re=="string")J=re+J,ee===re&&C--;else if(ee!==void 0&&re.regex.test(ee))do J=(re.transform!==void 0?re.transform(ee):ee)+J,C--,ee=P[C];while(U===N&&ee!==void 0&&re.regex.test(ee));else return J}return J}function W(P){return typeof P!="string"||s===void 0?typeof P=="number"?s(""+P):P:s(P)}function Z(P){return r.length-P.length<=0?P:e.reverseFillMask===!0&&P.length!==0?r.slice(0,-P.length)+P:P+r.slice(P.length)}return{innerValue:d,hasMask:u,moveCursorForPaste:q,updateMaskValue:v,onMaskedKeydown:T,onMaskedClick:E}}function xw(e,t){function n(){const o=e.modelValue;try{const i="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(o)===o&&("length"in o?Array.from(o):[o]).forEach(r=>{i.items.add(r)}),{files:i.files}}catch{return{files:void 0}}}return y(()=>{if(e.type==="file")return n()})}const Tn=Ae({name:"QInput",inheritAttrs:!1,props:{...Wr,..._w,...Qr,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...Ws,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:o}=Pe(),{$q:i}=o,r={};let l=NaN,s,a,c=null,u;const d=ue(null),f=uh(e),{innerValue:h,hasMask:m,moveCursorForPaste:p,updateMaskValue:v,onMaskedKeydown:q,onMaskedClick:S}=Sw(e,t,ee,d),E=xw(e),T=y(()=>pi(h.value)),F=ch(N),I=Qs({changeEvent:!0}),W=y(()=>e.type==="textarea"||e.autogrow===!0),Z=y(()=>W.value===!0||["text","search","url","tel","password"].includes(e.type)),P=y(()=>{const g={...I.splitAttrs.listeners.value,onInput:N,onPaste:J,onChange:Q,onBlur:ae,onFocus:on};return g.onCompositionstart=g.onCompositionupdate=g.onCompositionend=F,m.value===!0&&(g.onKeydown=q,g.onClick=S),e.autogrow===!0&&(g.onAnimationend=re),g}),M=y(()=>{const g={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:f.value,...I.splitAttrs.attributes.value,id:I.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return W.value===!1&&(g.type=e.type),e.autogrow===!0&&(g.rows=1),g});ye(()=>e.type,()=>{d.value&&(d.value.value=e.modelValue)}),ye(()=>e.modelValue,g=>{if(m.value===!0){if(a===!0&&(a=!1,String(g)===l))return;v(g)}else h.value!==g&&(h.value=g,e.type==="number"&&r.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete r.value));e.autogrow===!0&&Ue(le)}),ye(()=>e.autogrow,g=>{g===!0?Ue(le):d.value!==null&&n.rows>0&&(d.value.style.height="auto")}),ye(()=>e.dense,()=>{e.autogrow===!0&&Ue(le)});function U(){Kr(()=>{const g=document.activeElement;d.value!==null&&d.value!==g&&(g===null||g.id!==I.targetUid.value)&&d.value.focus({preventScroll:!0})})}function C(){d.value!==null&&d.value.select()}function J(g){if(m.value===!0&&e.reverseFillMask!==!0){const $=g.target;p($,$.selectionStart,$.selectionEnd)}t("paste",g)}function N(g){if(!g||!g.target)return;if(e.type==="file"){t("update:modelValue",g.target.files);return}const $=g.target.value;if(g.target.qComposing===!0){r.value=$;return}if(m.value===!0)v($,!1,g.inputType);else if(ee($),Z.value===!0&&g.target===document.activeElement){const{selectionStart:D,selectionEnd:ne}=g.target;D!==void 0&&ne!==void 0&&Ue(()=>{g.target===document.activeElement&&$.indexOf(g.target.value)===0&&g.target.setSelectionRange(D,ne)})}e.autogrow===!0&&le()}function re(g){t("animationend",g),le()}function ee(g,$){u=()=>{c=null,e.type!=="number"&&r.hasOwnProperty("value")===!0&&delete r.value,e.modelValue!==g&&l!==g&&(l=g,$===!0&&(a=!0),t("update:modelValue",g),Ue(()=>{l===g&&(l=NaN)})),u=void 0},e.type==="number"&&(s=!0,r.value=g),e.debounce!==void 0?(c!==null&&clearTimeout(c),r.value=g,c=setTimeout(u,e.debounce)):u()}function le(){requestAnimationFrame(()=>{const g=d.value;if(g!==null){const $=g.parentNode.style,{scrollTop:D}=g,{overflowY:ne,maxHeight:L}=i.platform.is.firefox===!0?{}:window.getComputedStyle(g),x=ne!==void 0&&ne!=="scroll";x===!0&&(g.style.overflowY="hidden"),$.marginBottom=g.scrollHeight-1+"px",g.style.height="1px",g.style.height=g.scrollHeight+"px",x===!0&&(g.style.overflowY=parseInt(L,10)<g.scrollHeight?"auto":"hidden"),$.marginBottom="",g.scrollTop=D}})}function Q(g){F(g),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),t("change",g.target.value)}function ae(g){g!==void 0&&on(g),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),s=!1,a=!1,delete r.value,e.type!=="file"&&setTimeout(()=>{d.value!==null&&(d.value.value=h.value!==void 0?h.value:"")})}function ve(){return r.hasOwnProperty("value")===!0?r.value:h.value!==void 0?h.value:""}nt(()=>{ae()}),ln(()=>{e.autogrow===!0&&le()}),Object.assign(I,{innerValue:h,fieldClass:y(()=>`q-${W.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:y(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:d,emitValue:ee,hasValue:T,floatingLabel:y(()=>T.value===!0&&(e.type!=="number"||isNaN(h.value)===!1)||pi(e.displayValue)),getControl:()=>b(W.value===!0?"textarea":"input",{ref:d,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...M.value,...P.value,...e.type!=="file"?{value:ve()}:E.value}),getShadowControl:()=>b("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(W.value===!0?"":" text-no-wrap")},[b("span",{class:"invisible"},ve()),b("span",e.shadowText)])});const A=Gs(I);return Object.assign(o,{focus:U,select:C,getNativeElement:()=>d.value}),Rt(o,"nativeEl",()=>d.value),A}}),yr=Ae({name:"QCardActions",props:{...hf,vertical:Boolean},setup(e,{slots:t}){const n=mf(e),o=y(()=>`q-card__actions ${n.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>b("div",{class:o.value},Xe(t.default))}}),Ll=Ae({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=Pe(),o=y(()=>"q-td"+(e.autoWidth===!0?" q-table--col-auto-width":"")+(e.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(e.props===void 0)return b("td",{class:o.value},Xe(t.default));const i=n.vnode.key,r=(e.props.colsMap!==void 0?e.props.colsMap[i]:null)||e.props.col;if(r===void 0)return;const{row:l}=e.props;return b("td",{class:o.value+r.__tdClass(l),style:r.__tdStyle(l)},Xe(t.default))}}}),Cw=Ae({name:"QTr",props:{props:Object,noHover:Boolean},setup(e,{slots:t}){const n=y(()=>"q-tr"+(e.props===void 0||e.props.header===!0?"":" "+e.props.__trClass)+(e.noHover===!0?" q-tr--no-hover":""));return()=>b("tr",{class:n.value},Xe(t.default))}});function mc(e){if(e===!1)return 0;if(e===!0||e===void 0)return 1;const t=parseInt(e,10);return isNaN(t)?0:t}const ms=Nd({name:"close-popup",beforeMount(e,{value:t}){const n={depth:mc(t),handler(o){n.depth!==0&&setTimeout(()=>{const i=g0(e);i!==void 0&&v0(i,o,n.depth)})},handlerKey(o){gn(o,13)===!0&&n.handler(o)}};e.__qclosepopup=n,e.addEventListener("click",n.handler),e.addEventListener("keyup",n.handlerKey)},updated(e,{value:t,oldValue:n}){t!==n&&(e.__qclosepopup.depth=mc(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}}),kw={name:"FolderBrowser",props:{modelValue:{type:Boolean,required:!0},initialPath:{type:String,default:""}},data(){return{currentPath:"",items:[]}},computed:{isOpen:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}},sortedItems(){return this.items}},methods:{async navigateToFolder(e){await this.loadFolderContents(e)},async loadFolderContents(e){try{const t=await $e.post("http://localhost:3000/api/browse-folders",{currentPath:e});t.data&&(this.currentPath=t.data.currentPath,this.items=t.data.items||[])}catch(t){console.error("Error loading folder contents:",t),this.$q.notify({type:"negative",message:"Error loading folder contents"})}},selectCurrentFolder(){this.$emit("folder-selected",this.currentPath),this.isOpen=!1},getItemIcon(e){return e.isParent?"reply":e.isDirectory?"folder":"insert_drive_file"},getItemColor(e){return e.isParent?"grey-7":e.isDirectory?"primary":"grey-6"}},async mounted(){await this.loadFolderContents(this.initialPath||process.cwd())}},Ew={class:"path-section"};function Tw(e,t,n,o,i,r){return Fe(),tt(bi,{modelValue:r.isOpen,"onUpdate:modelValue":t[1]||(t[1]=l=>r.isOpen=l),persistent:""},{default:ge(()=>[ie(En,{class:"folder-browser-card"},{default:ge(()=>[ie(ft,{class:"header-section row items-center justify-between"},{default:ge(()=>[t[2]||(t[2]=Ce("div",{class:"text-h6 text-white"},"Select Folder",-1)),Wn(ie(ze,{icon:"close",flat:"",round:"",dense:"",class:"text-white"},null,512),[[ms]])]),_:1}),ie(ft,null,{default:ge(()=>[Ce("div",Ew,[t[3]||(t[3]=Ce("div",{class:"text-subtitle2 q-mb-sm"},"Current Path:",-1)),ie(Tn,{modelValue:i.currentPath,"onUpdate:modelValue":t[0]||(t[0]=l=>i.currentPath=l),dense:"",readonly:"",filled:"",class:"current-path-input","bg-color":"grey-2"},{prepend:ge(()=>[ie(Be,{name:"folder",color:"primary"})]),_:1},8,["modelValue"])]),ie(jf,{bordered:"",separator:"",class:"directory-list"},{default:ge(()=>[(Fe(!0),tn(Lt,null,sd(r.sortedItems,l=>Wn((Fe(),tt(Jf,{key:l.path,clickable:"",onClick:s=>l.isDirectory?r.navigateToFolder(l.path):null,class:"directory-item"},{default:ge(()=>[ie(Wi,{avatar:""},{default:ge(()=>[ie(Be,{name:r.getItemIcon(l),color:r.getItemColor(l),size:"sm"},null,8,["name","color"])]),_:2},1024),ie(Wi,null,{default:ge(()=>[Tt(dt(l.name),1)]),_:2},1024),l.isDirectory?(Fe(),tt(Wi,{key:0,side:""},{default:ge(()=>[ie(Be,{name:"chevron_right",color:"grey-6",size:"xs"})]),_:1})):at("",!0)]),_:2},1032,["onClick"])),[[Ns]])),128))]),_:1})]),_:1}),ie(yr,{align:"right",class:"action-buttons"},{default:ge(()=>[Wn(ie(ze,{flat:"",label:"Cancel",color:"grey-7",class:"q-px-md"},null,512),[[ms]]),ie(ze,{unelevated:"",label:"Select",color:"primary",onClick:r.selectCurrentFolder,class:"q-px-md q-ml-sm"},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const qw=xi(kw,[["render",Tw],["__scopeId","data-v-f10fc6a5"]]),Rw={components:{FolderBrowser:qw},data(){return{isDbSetup:!1,differences:{},columns:[{name:"table",label:"Table",align:"left",field:"table"},{name:"difference",label:"Difference",align:"left",field:"difference"}],settingsDialog:!1,host:"127.0.0.1",port:3306,user:"root",password:"",database:"",dbFolder:"db-dump",existingDatabases:[],databaseColumns:[{name:"name",label:"Database Name",align:"left",field:"name"},{name:"size",label:"Size",align:"left",field:"size"}],databaseTree:[],expandedNodes:[],issueDialog:!1,selectedIssues:[],selectedNode:null,isNodeFixing:{},showFolderBrowser:!1}},methods:{openSettings(){this.settingsDialog=!0},closeSettings(){this.settingsDialog=!1},saveSettings(){const e={host:this.host,port:this.port,user:this.user,password:this.password,database:this.database,output:this.dbFolder};localStorage.setItem("dbConfig",JSON.stringify(e)),this.isDbSetup=!0,this.closeSettings(),this.getDatabasesFromExistingDumps(),this.fetchAllDifferences()},async refreshDifferences(){if(this.isDbSetup)try{const e=await $e.post("http://localhost:3000/api/compare",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder,database:this.database}});this.differences=e.data}catch(e){console.error("Error fetching differences:",e)}},async getDatabasesFromExistingDumps(){try{const e=await $e.post("http://localhost:3000/api/getDatabasesFromExistingDumps",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder}});e.data&&typeof e.data=="object"&&(this.existingDatabases=e.data,this.buildDatabaseTree())}catch(e){console.error("Error fetching databases from existing dumps:",e)}},async buildDatabaseTree(){Object.keys(this.differences).length===0&&await this.fetchAllDifferences(),this.databaseTree=Object.entries(this.existingDatabases).map(([e,t])=>{console.log("Building database tree for:",e,this.differences);const n=this.differences[e]||[],o=n.length;return console.log(`Database ${e} differences ${o}:`,n),{id:`db-${e}`,label:e,type:"database",lazy:!0,icon:o>0?"warning":"check_circle",iconColor:o>0?"negative":"positive",diffCount:o||null,dbData:t,dbName:e}}),console.log("Database tree:",this.databaseTree),this.expandedNodes=[]},onLazyLoad({node:e,done:t,fail:n}){console.log("Lazy loading node:",e);try{if(e.type==="database"){console.log("Loading database children for:",e.dbName);const o=e.dbData,i=this.differences[e.dbName]||[],r=i.filter(c=>c.type.includes("table")||c.type.includes("field")||c.type.includes("index")||c.type.includes("trigger"));console.log("Table issues:",r);const l=i.filter(c=>c.type.includes("procedure")),s=i.filter(c=>c.type.includes("view")),a=[{id:`${e.dbName}-tables`,label:"Tables",type:"category",lazy:!0,icon:r.length>0?"warning":"check_circle",iconColor:r.length>0?"negative":"positive",diffCount:r.length||null},o.procedures&&{id:`${e.dbName}-procedures`,label:"Procedures",type:"category",lazy:!0,icon:l.length>0?"warning":"check_circle",iconColor:l.length>0?"negative":"positive",diffCount:l.length||null},o.views&&{id:`${e.dbName}-views`,label:"Views",type:"category",lazy:!0,icon:s.length>0?"warning":"check_circle",iconColor:s.length>0?"negative":"positive",diffCount:s.length||null}].filter(Boolean);console.log("Database children:",a),t(a)}else if(e.type==="category"){console.log("Loading category children for:",e.id);const o=e.id.split("-")[0],i=this.differences[o]||[];if(e.id.includes("-tables")){const r=i.filter(a=>a.type.includes("table")||a.type.includes("field")||a.type.includes("index")||a.type.includes("trigger"));console.log("Table category issues:",r);const l=[],s=this.existingDatabases[o].tables;console.log("Tables:",s),l.push(...Object.entries(s).map(([a,c])=>{const u=r.filter(f=>f.tableName===a);console.log(`Issues for table ${a}:`,u);const d=u.length>0;return{id:`${o}-table-${a}`,label:a,type:"table",lazy:!0,icon:d?"warning":"check_circle",iconColor:d?"negative":"positive",diffCount:d?u.length:null,tableData:c,issueData:u}})),console.log("Category children:",l),t(l)}else if(e.id.includes("-procedures")){const r=[],l=this.existingDatabases[o].procedures;r.push(...Object.entries(l).map(([s,a])=>{const c=a.Name,u=i.filter(f=>f.type.includes("procedure")&&f.Name===c);console.log(`Issues for procedure ${c}:`,u);const d=u.length>0;return{id:`${o}-procedure-${c}`,label:c,index:s,type:"procedure",lazy:!1,icon:d?"warning":"check_circle",iconColor:d?"negative":"positive",diffCount:d?u.length:null,procedureData:a,issueData:u}})),t(r)}else if(e.id.includes("-views")){const r=[],l=this.existingDatabases[o].views;console.log("Views:",l),r.push(...Object.entries(l).map(([s,a])=>({id:`${o}-view-${s}`,label:s,type:"view",lazy:!1,view:a}))),t(r)}}else if(e.type==="table"){console.log("Loading table children for:",e.id);const o=e.tableData;if(console.log("Table data:",o),!o){console.error("No table data found for node:",e),t([]);return}const i=[];o.columns?.length>0&&i.push({id:`${e.id}-columns`,label:`Columns (${o.columns.length})`,type:"subcategory",lazy:!1,children:o.columns.map(r=>{let l=[];return r.AutoIncrement&&l.push("AUTO_INCREMENT"),r.NotNull&&l.push("NOT NULL"),r.Default!==void 0&&l.push(`DEFAULT ${r.Default}`),{id:`${e.id}-column-${r.Field}`,label:`${r.Field} (${r.Type})${l.length?" "+l.join(", "):""}`,type:"column",expandable:!1,columnData:r}})}),o.indexes?.length>0&&i.push({id:`${e.id}-indexes`,label:`Indexes (${o.indexes.length})`,type:"subcategory",lazy:!1,children:o.indexes.map(r=>({id:`${e.id}-index-${r.Name}`,label:`${r.Name}${r.Primary?" (PRIMARY)":""} [${r.ColumnName.join(", ")}]`,type:"index",expandable:!1,indexData:r}))}),console.log("Table children:",i),t(i)}}catch(o){console.error("Error in lazy loading:",o),n()}},createTableIssueGroups(e,t){const n=t.reduce((o,i)=>{const r=i.type;return o[r]=o[r]||{count:0,items:[]},o[r].count++,o[r].items.push(i),o},{});return Object.entries(n).map(([o,i])=>({id:`${e}-tables-${o}`,label:o.split("_").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" "),type:"issue-group",icon:"warning",iconColor:"negative",diffCount:i.count,children:i.items.map(r=>({id:`${e}-tables-${o}-${r.tableName||r.Name}`,label:r.tableName||r.Name,type:"issue",icon:"warning",iconColor:"negative",expandable:!1,issueData:r}))}))},async fetchAllDifferences(){const e=await $e.post("http://localhost:3000/api/compare",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder}});this.differences=e.data,console.log("Differences in fetchAllDifferences:",this.differences)},async fetchDifferencesForSelectedDb(){if(Object.keys(this.existingDatabases).length>0){const e=Object.keys(this.existingDatabases)[0],t=await $e.post("http://localhost:3000/api/compare",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder,database:e}});this.differences=t.data}},async createNewDump(e=!1){if(console.log("Creating a new dump..."),e){this.$q.dialog({title:"Overwrite",message:"Are you sure you want to overwrite the existing dump?",ok:"Overwrite",cancel:"Cancel"}).onOk(async()=>{console.log("Overwriting existing dump"),await this.createNewDump(!1)});return}let t=await $e.post("http://localhost:3000/api/dump",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder}}).catch(n=>{n.response.data.message&&this.$q.dialog({title:"Error",message:n.response.data.message}),console.error("Error creating new dump:",n)});t&&(t.data.message&&this.$q.dialog({title:"Error",message:t.data.message}),this.differences=await this.fetchAllDifferences(),console.log("Differences in createNewDump:",this.differences),t.data&&typeof t.data=="object"&&Object.keys(t.data).length>0?(this.existingDatabases=t.data,this.buildDatabaseTree()):(this.existingDatabases={},this.$q.notify({message:"Error creating new dump",color:"red"})))},showIssueDetails(e,t){console.log("Showing issue details:",e,"from node:",t),this.selectedIssues=Array.isArray(e)?e:[e],this.selectedNode=t,this.issueDialog=!0},showSingleIssue(e,t){this.selectedIssues=[e],this.selectedIssueDbName=t,this.issueDialog=!0},async fixNodeIssues(e){if(e)try{let t=[],n=null;if(this.isNodeFixing[e.id]=!0,this.isNodeFixing={...this.isNodeFixing},e.issueData?t=Array.isArray(e.issueData)?e.issueData:[e.issueData]:t=await this.collectIssuesForNode(e),n=this.getDbNameFromNode(e),!t.length){console.error("No issues found to fix",e);return}(await $e.post("http://localhost:3000/api/apply",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder},database:n,diffs:t})).data.message&&(this.$q.notify({type:"positive",message:`Fixed ${t.length} issue(s) successfully`,position:"top"}),await this.fetchAllDifferences(),await this.buildDatabaseTree())}catch(t){console.error("Error fixing issues:",t),this.$q.notify({type:"negative",message:t.response?.data?.message||"Error fixing issues",position:"top"})}finally{this.isNodeFixing[e.id]=!1,this.isNodeFixing={...this.isNodeFixing}}},getDbNameFromNode(e){return e.id.startsWith("db-")?e.id.split("-")[1]:e.id?(console.log("Node ID:",e.id),e.id.split("-")[0]):console.error("Node ID is required to get db name",e)},async collectIssuesForNode(e){const t=[];switch(console.log("Collecting issues for node:",e),e.type){case"database":console.log("Collecting issues for database:",this.getDbNameFromNode(e)),t.push(...this.differences[this.getDbNameFromNode(e)]);break;case"issue":e.issueData&&t.push(e.issueData);break;case"issue-group":e.children&&t.push(...e.children.filter(n=>n.type==="issue").map(n=>n.issueData).filter(Boolean));break;case"issues":case"category":if(e.children)for(const n of e.children)n.type==="issue-group"&&n.children?t.push(...n.children.filter(o=>o.type==="issue").map(o=>o.issueData).filter(Boolean)):n.issueData&&(Array.isArray(n.issueData)?t.push(...n.issueData):n.issueData.type?t.push(n.issueData):console.error("Unknown issue data:",n.issueData));else{const n=this.getDbNameFromNode(e);console.log("Selected DB Name:",n);let o=e.id.split("-")[1];const i=this.differences[n];console.log("DB Differences:",i),o==="tables"?t.push(...i.filter(r=>r.type.includes("table"))):o==="views"?t.push(...i.filter(r=>r.type.includes("view"))):o==="procedures"?t.push(...i.filter(r=>r.type.includes("procedure"))):console.error("Unknown type:",o)}break}return t},async applyFix(){if(this.selectedIssues.length)try{this.isApplying=!0,await this.fixNodeIssues(this.selectedNode),this.issueDialog=!1}finally{this.isApplying=!1}},onFolderSelected(e){this.dbFolder=e;const t={host:this.host,port:this.port,user:this.user,password:this.password,database:this.database,output:this.dbFolder};localStorage.setItem("dbConfig",JSON.stringify(t))}},mounted(){const e=localStorage.getItem("dbConfig");if(e){const t=JSON.parse(e);this.host=t.host,this.port=t.port,this.user=t.user,this.password=t.password,this.database=t.database,this.dbFolder=t.output,this.isDbSetup=!0,this.getDatabasesFromExistingDumps(),this.fetchAllDifferences()}}},Pw={class:"row q-col-gutter-md q-mb-lg"},Aw={class:"col-auto"},Ow={class:"col-auto"},Lw={class:"text-h6"},Fw={class:"text-h6"},Dw={class:"row items-center full-width"},Mw=["onClick"],Bw={class:"text-weight-medium"},$w={class:"row q-col-gutter-lg justify-center"},Nw={class:"col-12 col-sm-10"},Vw={class:"row q-col-gutter-md"},Iw={class:"col-12 col-sm-6"},jw={class:"col-12 col-sm-6"},Hw={class:"col-12 col-sm-6"},zw={class:"col-12 col-sm-6"},Uw={class:"col-12 col-sm-6"},Kw={class:"col-12 col-sm-6"},Ww={class:"text-subtitle2 q-mb-sm"},Qw={class:"text-subtitle2 q-mb-sm"},Gw={key:0,class:"q-mb-sm"},Jw={key:1,class:"q-mt-md"},Xw={class:"sql-code"},Yw={key:2,class:"q-mt-md"},Zw={class:"sql-code"},e_={key:3,class:"q-mt-md"};function t_(e,t,n,o,i,r){const l=ld("FolderBrowser");return Fe(),tt(Nr,{class:"q-pa-md"},{default:ge(()=>[Ce("div",Pw,[Ce("div",Aw,[ie(ze,{onClick:r.openSettings,icon:"settings",label:"Settings",color:"primary"},null,8,["onClick"])]),Ce("div",Ow,[ie(ze,{onClick:t[0]||(t[0]=s=>Object.keys(i.existingDatabases).length===0?r.createNewDump():r.createNewDump(!0)),icon:Object.keys(i.existingDatabases).length===0?"download":"refresh",label:Object.keys(i.existingDatabases).length===0?"Get New Dump":"Refresh Dump",color:"secondary"},null,8,["icon","label"])])]),i.isDbSetup?at("",!0):(Fe(),tt(En,{key:0,class:"q-mb-lg bg-warning text-white"},{default:ge(()=>[ie(ft,null,{default:ge(()=>[Ce("div",Lw,[ie(Be,{name:"warning",class:"q-mr-sm"}),t[14]||(t[14]=Tt(" Database Not Set Up "))]),t[15]||(t[15]=Ce("div",{class:"q-mt-sm"},"Please configure your database settings to get started.",-1)),ie(ze,{onClick:r.openSettings,label:"Open Settings",color:"white","text-color":"warning",class:"q-mt-sm",unelevated:""},null,8,["onClick"])]),_:1})]),_:1})),Object.keys(i.existingDatabases).length>0?(Fe(),tt(En,{key:1,class:"q-mb-lg"},{default:ge(()=>[ie(ft,{class:"bg-primary text-white"},{default:ge(()=>[Ce("div",Fw,[ie(Be,{name:"account_tree",class:"q-mr-sm"}),t[16]||(t[16]=Tt(" Database Structure "))])]),_:1}),ie(ft,null,{default:ge(()=>[ie(yw,{nodes:i.databaseTree,"node-key":"id",expanded:i.expandedNodes,"onUpdate:expanded":t[1]||(t[1]=s=>i.expandedNodes=s),onLazyLoad:r.onLazyLoad,class:"database-tree"},{"default-header":ge(s=>[Ce("div",Dw,[Ce("div",{class:"row items-center flex-grow-1 cursor-pointer",onClick:Wa(a=>!["category","database","subcategory"].includes(s.node.type)&&s.node.diffCount&&r.showIssueDetails(s.node.issueData,s.node),["stop"])},[s.node.icon?(Fe(),tt(Be,{key:0,name:s.node.icon,color:s.node.iconColor,size:"sm",class:"q-mr-sm"},null,8,["name","color"])):at("",!0),Ce("div",Bw,dt(s.node.label),1),s.node.diffCount?(Fe(),tt(dc,{key:1,color:"negative",class:"q-ml-sm"},{default:ge(()=>[Tt(dt(s.node.diffCount),1)]),_:2},1024)):at("",!0)],8,Mw),["issue-group","issues","category","database"].includes(s.node.type)&&s.node.diffCount?(Fe(),tt(ze,{key:0,flat:"",dense:"",color:"primary",loading:i.isNodeFixing[s.node.id],onClick:Wa(a=>r.fixNodeIssues(s.node),["stop"]),icon:"build",size:"sm",class:"q-ml-md"},{default:ge(()=>[ie($i,null,{default:ge(()=>t[17]||(t[17]=[Tt("Fix All Issues")])),_:1})]),_:2},1032,["loading","onClick"])):at("",!0)])]),_:1},8,["nodes","expanded","onLazyLoad"])]),_:1})]),_:1})):at("",!0),ie(bi,{modelValue:i.settingsDialog,"onUpdate:modelValue":t[9]||(t[9]=s=>i.settingsDialog=s),persistent:""},{default:ge(()=>[ie(En,{style:{width:"90vw","max-width":"1200px"}},{default:ge(()=>[ie(ft,{class:"bg-primary text-white"},{default:ge(()=>t[18]||(t[18]=[Ce("div",{class:"text-h5"},"Database Settings",-1),Ce("div",{class:"text-subtitle2"},"Configure your database connection parameters",-1)])),_:1}),ie(ft,{class:"q-pa-lg col scroll"},{default:ge(()=>[Ce("div",$w,[Ce("div",Nw,[Ce("div",Vw,[Ce("div",Iw,[ie(Tn,{modelValue:i.host,"onUpdate:modelValue":t[2]||(t[2]=s=>i.host=s),label:"Database Host",default:"127.0.0.1",filled:"",class:"q-mb-md",required:""},{prepend:ge(()=>[ie(Be,{name:"dns"})]),_:1},8,["modelValue"])]),Ce("div",jw,[ie(Tn,{modelValue:i.port,"onUpdate:modelValue":t[3]||(t[3]=s=>i.port=s),label:"Database Port",default:"3306",type:"number",filled:"",class:"q-mb-md",required:""},{prepend:ge(()=>[ie(Be,{name:"settings_ethernet"})]),_:1},8,["modelValue"])]),Ce("div",Hw,[ie(Tn,{modelValue:i.user,"onUpdate:modelValue":t[4]||(t[4]=s=>i.user=s),label:"Database User",default:"root",filled:"",class:"q-mb-md",required:""},{prepend:ge(()=>[ie(Be,{name:"person"})]),_:1},8,["modelValue"])]),Ce("div",zw,[ie(Tn,{modelValue:i.password,"onUpdate:modelValue":t[5]||(t[5]=s=>i.password=s),label:"Database Password",type:"password",filled:"",class:"q-mb-md",required:"",autocomplete:"off"},{prepend:ge(()=>[ie(Be,{name:"lock"})]),_:1},8,["modelValue"])]),Ce("div",Uw,[ie(Tn,{modelValue:i.database,"onUpdate:modelValue":t[6]||(t[6]=s=>i.database=s),label:"Database Name",filled:"",class:"q-mb-md",required:""},{prepend:ge(()=>[ie(Be,{name:"database"})]),_:1},8,["modelValue"])]),Ce("div",Kw,[ie(Tn,{modelValue:i.dbFolder,"onUpdate:modelValue":t[8]||(t[8]=s=>i.dbFolder=s),label:"Database Folder",default:"db-dump",filled:"",class:"q-mb-md",required:""},{prepend:ge(()=>[ie(Be,{name:"folder"})]),append:ge(()=>[ie(ze,{flat:"",dense:"",icon:"folder_open",onClick:t[7]||(t[7]=s=>i.showFolderBrowser=!0)},{default:ge(()=>[ie($i,null,{default:ge(()=>t[19]||(t[19]=[Tt("Browse")])),_:1})]),_:1})]),_:1},8,["modelValue"])])])])])]),_:1}),ie(yr,{align:"right",class:"bg-white q-pa-md"},{default:ge(()=>[ie(ze,{onClick:r.closeSettings,label:"Cancel",color:"grey-7",flat:"",class:"q-px-md"},null,8,["onClick"]),ie(ze,{onClick:r.saveSettings,label:"Save Settings",color:"primary",unelevated:"",class:"q-px-md q-ml-sm"},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),ie(bi,{modelValue:i.issueDialog,"onUpdate:modelValue":t[12]||(t[12]=s=>i.issueDialog=s)},{default:ge(()=>[ie(En,{style:{"min-width":"800px",width:"90vw","max-width":"1200px"}},{default:ge(()=>[ie(ft,null,{default:ge(()=>t[20]||(t[20]=[Ce("div",{class:"text-h6"},"Issue Details",-1)])),_:1}),i.selectedIssues.length===1?(Fe(),tt(ft,{key:0,class:"q-pt-none"},{default:ge(()=>[Ce("div",Ww,[t[21]||(t[21]=Tt(" Issue Type: ")),ie(dc,{color:"negative"},{default:ge(()=>[Tt(dt(i.selectedIssues[0].type?.replace(/_/g," ")),1)]),_:1})]),Ce("div",Qw,"Name: "+dt(i.selectedIssues[0].Name),1),i.selectedIssues[0].tableName?(Fe(),tn("div",Gw,[t[22]||(t[22]=Ce("strong",null,"Table:",-1)),Tt(" "+dt(i.selectedIssues[0].tableName),1)])):at("",!0),i.selectedIssues[0].createSQL?(Fe(),tn("div",Jw,[t[23]||(t[23]=Ce("div",{class:"text-subtitle2 q-mb-sm"},"SQL Definition:",-1)),ie(En,{class:"bg-grey-2"},{default:ge(()=>[ie(ft,{class:"q-pa-md"},{default:ge(()=>[Ce("pre",Xw,dt(i.selectedIssues[0].createSQL),1)]),_:1})]),_:1})])):at("",!0),i.selectedIssues[0].Definition?(Fe(),tn("div",Yw,[t[24]||(t[24]=Ce("div",{class:"text-subtitle2 q-mb-sm"},"Definition:",-1)),ie(En,{class:"bg-grey-2"},{default:ge(()=>[ie(ft,{class:"q-pa-md"},{default:ge(()=>[Ce("pre",Zw,dt(i.selectedIssues[0].Definition),1)]),_:1})]),_:1})])):at("",!0),i.selectedIssues[0].currentField?(Fe(),tn("div",e_,[t[26]||(t[26]=Ce("div",{class:"text-subtitle2 q-mb-sm"},"Field Comparison:",-1)),ie(Hf,{flat:"",bordered:""},{default:ge(()=>[t[25]||(t[25]=Ce("thead",null,[Ce("tr",null,[Ce("th",{class:"text-left"},"Property"),Ce("th",{class:"text-left"},"Current"),Ce("th",{class:"text-left"},"Expected")])],-1)),Ce("tbody",null,[(Fe(!0),tn(Lt,null,sd(i.selectedIssues[0].currentField,(s,a)=>(Fe(),tn("tr",{key:a},[Ce("td",null,dt(a),1),Ce("td",null,dt(s),1),Ce("td",{class:kr({"text-negative":s!==i.selectedIssues[0].field?.[a]})},dt(i.selectedIssues[0].field?.[a]),3)]))),128))])]),_:1})])):at("",!0),ie(ze,{onClick:t[10]||(t[10]=s=>r.fixNodeIssues(this.selectedNode)),loading:i.isNodeFixing["single-issue"],color:"primary",class:"q-mt-md",label:"Fix Issue"},null,8,["loading"])]),_:1})):(Fe(),tt(ft,{key:1,class:"q-pt-none"},{default:ge(()=>[ie(ph,{rows:i.selectedIssues,columns:[{name:"type",label:"Type",field:s=>s.type?.replace(/_/g," ")},{name:"tableName",label:"Table",field:"tableName"},{name:"actions",label:"Actions",field:"actions"}],"row-key":"id",dense:""},{body:ge(s=>[ie(Cw,{props:s},{default:ge(()=>[ie(Ll,{key:"type"},{default:ge(()=>[Tt(dt(s.row.type?.replace(/_/g," ")),1)]),_:2},1024),ie(Ll,{key:"tableName"},{default:ge(()=>[Tt(dt(s.row.tableName),1)]),_:2},1024),ie(Ll,{key:"actions"},{default:ge(()=>[ie(ze,{flat:"",dense:"",color:"primary",icon:"visibility",onClick:a=>r.showSingleIssue(s.row)},{default:ge(()=>[ie($i,null,{default:ge(()=>t[27]||(t[27]=[Tt("View Details")])),_:1})]),_:2},1032,["onClick"]),ie(ze,{flat:"",dense:"",color:"positive",icon:"build",loading:i.isNodeFixing[`issue-${s.rowIndex}`],onClick:a=>r.fixNodeIssues({type:"issue",id:this.selectedNode.id,issueData:s.row})},{default:ge(()=>[ie($i,null,{default:ge(()=>t[28]||(t[28]=[Tt("Fix Issue")])),_:1})]),_:2},1032,["loading","onClick"])]),_:2},1024)]),_:2},1032,["props"])]),_:1},8,["rows","columns"]),ie(ze,{onClick:t[11]||(t[11]=s=>r.fixNodeIssues({type:"issues",children:i.selectedIssues})),loading:i.isNodeFixing["all-issues"],color:"primary",class:"q-mt-md",label:"Fix All Issues"},null,8,["loading"])]),_:1})),ie(yr,{align:"right"},{default:ge(()=>[Wn(ie(ze,{flat:"",label:"Close",color:"primary"},null,512),[[ms]])]),_:1})]),_:1})]),_:1},8,["modelValue"]),i.showFolderBrowser?(Fe(),tt(l,{key:2,modelValue:i.showFolderBrowser,"onUpdate:modelValue":t[13]||(t[13]=s=>i.showFolderBrowser=s),"initial-path":i.dbFolder,onFolderSelected:r.onFolderSelected},null,8,["modelValue","initial-path","onFolderSelected"])):at("",!0)]),_:1})}const n_=xi(Rw,[["render",t_]]),o_=[{path:"/",component:()=>vc(()=>import("./MainLayout-IHjlnAD2.js"),[]),children:[{path:"",component:n_},{path:"/dump",component:My},{path:"/compare",component:dw},{path:"/apply",component:gw}]}],Fl=Cv(function(){return Ap({scrollBehavior:()=>({left:0,top:0}),routes:o_,history:lp("/")})});async function i_(e,t){const n=e(xv);n.use(Sv,t);const o=typeof gl=="function"?await gl({}):gl;n.use(o);const i=Oo(typeof Fl=="function"?await Fl({store:o}):Fl);return o.use(({store:r})=>{r.router=i}),{app:n,store:o,router:i}}const r_=Ae({name:"QAvatar",props:{...oo,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=io(e),o=y(()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(e.square===!0?" q-avatar--square":e.rounded===!0?" rounded-borders":"")),i=y(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{const r=e.icon!==void 0?[b(Be,{name:e.icon})]:void 0;return b("div",{class:o.value,style:n.value},[b("div",{class:"q-avatar__content row flex-center overflow-hidden",style:i.value},sf(t.default,r))])}}});let l_=0;const Qi={},Gi={},Ht={},yh={},s_=/^\s*$/,wh=[],a_=[void 0,null,!0,!1,""],ra=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],u_=["top-left","top-right","bottom-left","bottom-right"],bo={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function _h(e,t,n){if(!e)return Uo("parameter required");let o;const i={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(i,Qi),$t(e)===!1&&(i.type&&Object.assign(i,bo[i.type]),e={message:e}),Object.assign(i,bo[e.type||i.type],e),typeof i.icon=="function"&&(i.icon=i.icon(t)),i.spinner?(i.spinner===!0&&(i.spinner=vn),i.spinner=Oo(i.spinner)):i.spinner=!1,i.meta={hasMedia:!!(i.spinner!==!1||i.icon||i.avatar),hasText:gc(i.message)||gc(i.caption)},i.position){if(ra.includes(i.position)===!1)return Uo("wrong position",e)}else i.position="bottom";if(a_.includes(i.timeout)===!0)i.timeout=5e3;else{const a=Number(i.timeout);if(isNaN(a)||a<0)return Uo("wrong timeout",e);i.timeout=Number.isFinite(a)?a:0}i.timeout===0?i.progress=!1:i.progress===!0&&(i.meta.progressClass="q-notification__progress"+(i.progressClass?` ${i.progressClass}`:""),i.meta.progressStyle={animationDuration:`${i.timeout+1e3}ms`});const r=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(Qi.actions)===!0?Qi.actions:[]).concat(bo[e.type]!==void 0&&Array.isArray(bo[e.type].actions)===!0?bo[e.type].actions:[]),{closeBtn:l}=i;if(l&&r.push({label:typeof l=="string"?l:t.lang.label.close}),i.actions=r.map(({handler:a,noDismiss:c,...u})=>({flat:!0,...u,onClick:typeof a=="function"?()=>{a(),c!==!0&&s()}:()=>{s()}})),i.multiLine===void 0&&(i.multiLine=i.actions.length>1),Object.assign(i.meta,{class:`q-notification row items-stretch q-notification--${i.multiLine===!0?"multi-line":"standard"}`+(i.color!==void 0?` bg-${i.color}`:"")+(i.textColor!==void 0?` text-${i.textColor}`:"")+(i.classes!==void 0?` ${i.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(i.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(i.multiLine===!0?"":" col"),leftClass:i.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...i.attrs}}),i.group===!1?(i.group=void 0,i.meta.group=void 0):((i.group===void 0||i.group===!0)&&(i.group=[i.message,i.caption,i.multiline].concat(i.actions.map(a=>`${a.label}*${a.icon}`)).join("|")),i.meta.group=i.group+"|"+i.position),i.actions.length===0?i.actions=void 0:i.meta.actionsClass="q-notification__actions row items-center "+(i.multiLine===!0?"justify-end":"col-auto")+(i.meta.hasMedia===!0?" q-notification__actions--with-media":""),n!==void 0){n.notif.meta.timer&&(clearTimeout(n.notif.meta.timer),n.notif.meta.timer=void 0),i.meta.uid=n.notif.meta.uid;const a=Ht[i.position].value.indexOf(n.notif);Ht[i.position].value[a]=i}else{const a=Gi[i.meta.group];if(a===void 0){if(i.meta.uid=l_++,i.meta.badge=1,["left","right","center"].indexOf(i.position)!==-1)Ht[i.position].value.splice(Math.floor(Ht[i.position].value.length/2),0,i);else{const c=i.position.indexOf("top")!==-1?"unshift":"push";Ht[i.position].value[c](i)}i.group!==void 0&&(Gi[i.meta.group]=i)}else{if(a.meta.timer&&(clearTimeout(a.meta.timer),a.meta.timer=void 0),i.badgePosition!==void 0){if(u_.includes(i.badgePosition)===!1)return Uo("wrong badgePosition",e)}else i.badgePosition=`top-${i.position.indexOf("left")!==-1?"right":"left"}`;i.meta.uid=a.meta.uid,i.meta.badge=a.meta.badge+1,i.meta.badgeClass=`q-notification__badge q-notification__badge--${i.badgePosition}`+(i.badgeColor!==void 0?` bg-${i.badgeColor}`:"")+(i.badgeTextColor!==void 0?` text-${i.badgeTextColor}`:"")+(i.badgeClass?` ${i.badgeClass}`:"");const c=Ht[i.position].value.indexOf(a);Ht[i.position].value[c]=Gi[i.meta.group]=i}}const s=()=>{c_(i),o=void 0};if(i.timeout>0&&(i.meta.timer=setTimeout(()=>{i.meta.timer=void 0,s()},i.timeout+1e3)),i.group!==void 0)return a=>{a!==void 0?Uo("trying to update a grouped one which is forbidden",e):s()};if(o={dismiss:s,config:e,notif:i},n!==void 0){Object.assign(n,o);return}return a=>{if(o!==void 0)if(a===void 0)o.dismiss();else{const c=Object.assign({},o.config,a,{group:!1,position:i.position});_h(c,t,o)}}}function c_(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const t=Ht[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete Gi[e.meta.group];const n=wh[""+e.meta.uid];if(n){const{width:o,height:i}=getComputedStyle(n);n.style.left=`${n.offsetLeft}px`,n.style.width=o,n.style.height=i}Ht[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function gc(e){return e!=null&&s_.test(e)!==!0}function Uo(e,t){return console.error(`Notify: ${e}`,t),!1}function d_(){return Ae({name:"QNotifications",devtools:{hide:!0},setup(){return()=>b("div",{class:"q-notifications"},ra.map(e=>b(Ig,{key:e,class:yh[e],tag:"div",name:`q-notification--${e}`},()=>Ht[e].value.map(t=>{const n=t.meta,o=[];if(n.hasMedia===!0&&(t.spinner!==!1?o.push(b(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+n.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?o.push(b(Be,{class:"q-notification__icon q-notification__icon--"+n.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&o.push(b(r_,{class:"q-notification__avatar q-notification__avatar--"+n.leftClass},()=>b("img",{src:t.avatar,"aria-hidden":"true"})))),n.hasText===!0){let r;const l={class:"q-notification__message col"};if(t.html===!0)l.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{const s=[t.message];r=t.caption?[b("div",s),b("div",{class:"q-notification__caption"},[t.caption])]:s}o.push(b("div",l,r))}const i=[b("div",{class:n.contentClass},o)];return t.progress===!0&&i.push(b("div",{key:`${n.uid}|p|${n.badge}`,class:n.progressClass,style:n.progressStyle})),t.actions!==void 0&&i.push(b("div",{class:n.actionsClass},t.actions.map(r=>b(ze,r)))),n.badge>1&&i.push(b("div",{key:`${n.uid}|${n.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[n.badge])),b("div",{ref:r=>{wh[""+n.uid]=r},key:n.uid,class:n.class,...n.attrs},[b("div",{class:n.wrapperClass},i)])}))))}})}const f_={setDefaults(e){$t(e)===!0&&Object.assign(Qi,e)},registerType(e,t){$t(t)===!0&&(bo[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=n=>_h(n,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){ra.forEach(o=>{Ht[o]=ue([]);const i=["left","center","right"].includes(o)===!0?"center":o.indexOf("top")!==-1?"top":"bottom",r=o.indexOf("left")!==-1?"start":o.indexOf("right")!==-1?"end":"center",l=["left","right"].includes(o)?`items-${o==="left"?"start":"end"} justify-center`:o==="center"?"flex-center":`items-${r}`;yh[o]=`q-notifications__list q-notifications__list--${i} fixed column no-wrap ${l}`});const n=Zs("q-notify");Ud(d_(),t).mount(n)}}},h_=()=>b("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[b("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),b("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]),m_=Ae({name:"QRadio",props:{...kt,...oo,...Qr,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:o}=Pe(),i=Et(e,o.$q),r=io(e,fh),l=ue(null),{refocusTargetEl:s,refocusTarget:a}=dh(e,l),c=y(()=>Ee(e.modelValue)===Ee(e.val)),u=y(()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(e.disable===!0?" disabled":"")+(i.value===!0?" q-radio--dark":"")+(e.dense===!0?" q-radio--dense":"")+(e.leftLabel===!0?" reverse":"")),d=y(()=>{const T=e.color!==void 0&&(e.keepColor===!0||c.value===!0)?` text-${e.color}`:"";return`q-radio__inner relative-position q-radio__inner--${c.value===!0?"truthy":"falsy"}${T}`}),f=y(()=>(c.value===!0?e.checkedIcon:e.uncheckedIcon)||null),h=y(()=>e.disable===!0?-1:e.tabindex||0),m=y(()=>{const T={type:"radio"};return e.name!==void 0&&Object.assign(T,{".checked":c.value===!0,"^checked":c.value===!0?"checked":void 0,name:e.name,value:e.val}),T}),p=ah(m);function v(T){T!==void 0&&(Ge(T),a(T)),e.disable!==!0&&c.value!==!0&&n("update:modelValue",e.val,T)}function q(T){(T.keyCode===13||T.keyCode===32)&&Ge(T)}function S(T){(T.keyCode===13||T.keyCode===32)&&v(T)}Object.assign(o,{set:v});const E=h_();return()=>{const T=f.value!==null?[b("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[b(Be,{class:"q-radio__icon",name:f.value})])]:[E];e.disable!==!0&&p(T,"unshift"," q-radio__native q-ma-none q-pa-none");const F=[b("div",{class:d.value,style:r.value,"aria-hidden":"true"},T)];s.value!==null&&F.push(s.value);const I=e.label!==void 0?Kt(t.default,[e.label]):Xe(t.default);return I!==void 0&&F.push(b("div",{class:"q-radio__label q-anchor--skip"},I)),b("div",{ref:l,class:u.value,tabindex:h.value,role:"radio","aria-label":e.label,"aria-checked":c.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:v,onKeydown:q,onKeyup:S},F)}}}),g_=Ae({name:"QToggle",props:{...hh,icon:String,iconColor:String},emits:mh,setup(e){function t(n,o){const i=y(()=>(n.value===!0?e.checkedIcon:o.value===!0?e.indeterminateIcon:e.uncheckedIcon)||e.icon),r=y(()=>n.value===!0?e.iconColor:null);return()=>[b("div",{class:"q-toggle__track"}),b("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},i.value!==void 0?[b(Be,{name:i.value,color:r.value})]:void 0)]}return gh("toggle",t)}}),Sh={radio:m_,checkbox:ii,toggle:g_},v_=Object.keys(Sh);function Dl(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return o=>o[n]}const p_=Ae({name:"QOptionGroup",props:{...kt,modelValue:{required:!0},options:{type:Array,validator:e=>e.every($t),default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],name:String,type:{type:String,default:"radio",validator:e=>v_.includes(e)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{proxy:{$q:o}}=Pe(),i=Array.isArray(e.modelValue);e.type==="radio"?i===!0&&console.error("q-option-group: model should not be array"):i===!1&&console.error("q-option-group: model should be array in your case");const r=Et(e,o),l=y(()=>Sh[e.type]),s=y(()=>Dl(e.optionValue,"value")),a=y(()=>Dl(e.optionLabel,"label")),c=y(()=>Dl(e.optionDisable,"disable")),u=y(()=>e.options.map(m=>({val:s.value(m),name:m.name===void 0?e.name:m.name,disable:e.disable||c.value(m),leftLabel:m.leftLabel===void 0?e.leftLabel:m.leftLabel,color:m.color===void 0?e.color:m.color,checkedIcon:m.checkedIcon,uncheckedIcon:m.uncheckedIcon,dark:m.dark===void 0?r.value:m.dark,size:m.size===void 0?e.size:m.size,dense:e.dense,keepColor:m.keepColor===void 0?e.keepColor:m.keepColor}))),d=y(()=>"q-option-group q-gutter-x-sm"+(e.inline===!0?" q-option-group--inline":"")),f=y(()=>{const m={role:"group"};return e.type==="radio"&&(m.role="radiogroup",e.disable===!0&&(m["aria-disabled"]="true")),m});function h(m){t("update:modelValue",m)}return()=>b("div",{class:d.value,...f.value},e.options.map((m,p)=>{const v=n["label-"+p]!==void 0?()=>n["label-"+p](m):n.label!==void 0?()=>n.label(m):void 0;return b("div",[b(l.value,{label:v===void 0?a.value(m):null,modelValue:e.modelValue,"onUpdate:modelValue":h,...u.value[p]},v)])}))}}),b_=Ae({name:"DialogPluginComponent",props:{...kt,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){const{proxy:n}=Pe(),{$q:o}=n,i=Et(e,o),r=ue(null),l=ue(e.prompt!==void 0?e.prompt.model:e.options!==void 0?e.options.model:void 0),s=y(()=>"q-dialog-plugin"+(i.value===!0?" q-dialog-plugin--dark q-dark":"")+(e.progress!==!1?" q-dialog-plugin--progress":"")),a=y(()=>e.color||(i.value===!0?"amber":"primary")),c=y(()=>e.progress===!1?null:$t(e.progress)===!0?{component:e.progress.spinner||vn,props:{color:e.progress.color||a.value}}:{component:vn,props:{color:a.value}}),u=y(()=>e.prompt!==void 0||e.options!==void 0),d=y(()=>{if(u.value!==!0)return{};const{model:N,isValid:re,items:ee,...le}=e.prompt!==void 0?e.prompt:e.options;return le}),f=y(()=>$t(e.ok)===!0||e.ok===!0?o.lang.label.ok:e.ok),h=y(()=>$t(e.cancel)===!0||e.cancel===!0?o.lang.label.cancel:e.cancel),m=y(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(l.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(l.value)!==!0:!1),p=y(()=>({color:a.value,label:f.value,ripple:!1,disable:m.value,...$t(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&u.value!==!0||void 0,onClick:E})),v=y(()=>({color:a.value,label:h.value,ripple:!1,...$t(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&u.value!==!0||void 0,onClick:T}));ye(()=>e.prompt&&e.prompt.model,I),ye(()=>e.options&&e.options.model,I);function q(){r.value.show()}function S(){r.value.hide()}function E(){t("ok",Ee(l.value)),S()}function T(){S()}function F(){t("hide")}function I(N){l.value=N}function W(N){m.value!==!0&&e.prompt.type!=="textarea"&&gn(N,13)===!0&&E()}function Z(N,re){return e.html===!0?b(ft,{class:N,innerHTML:re}):b(ft,{class:N},()=>re)}function P(){return[b(Tn,{color:a.value,dense:!0,autofocus:!0,dark:i.value,...d.value,modelValue:l.value,"onUpdate:modelValue":I,onKeyup:W})]}function M(){return[b(p_,{color:a.value,options:e.options.items,dark:i.value,...d.value,modelValue:l.value,"onUpdate:modelValue":I})]}function U(){const N=[];return e.cancel&&N.push(b(ze,v.value)),e.ok&&N.push(b(ze,p.value)),b(yr,{class:e.stackButtons===!0?"items-end":"",vertical:e.stackButtons,align:"right"},()=>N)}function C(){const N=[];return e.title&&N.push(Z("q-dialog__title",e.title)),e.progress!==!1&&N.push(b(ft,{class:"q-dialog__progress"},()=>b(c.value.component,c.value.props))),e.message&&N.push(Z("q-dialog__message",e.message)),e.prompt!==void 0?N.push(b(ft,{class:"scroll q-dialog-plugin__form"},P)):e.options!==void 0&&N.push(b(as,{dark:i.value}),b(ft,{class:"scroll q-dialog-plugin__form"},M),b(as,{dark:i.value})),(e.ok||e.cancel)&&N.push(U()),N}function J(){return[b(En,{class:[s.value,e.cardClass],style:e.cardStyle,dark:i.value},C)]}return Object.assign(n,{show:q,hide:S}),()=>b(bi,{ref:r,onHide:F},J)}});function xh(e,t){for(const n in t)n!=="spinner"&&Object(t[n])===t[n]?(e[n]=Object(e[n])!==e[n]?{}:{...e[n]},xh(e[n],t[n])):e[n]=t[n]}function y_(e,t,n){return o=>{let i,r;const l=o.component!==void 0;if(l===!0){const{component:S,componentProps:E}=o;i=typeof S=="string"?n.component(S):S,r=E||{}}else{const{class:S,style:E,...T}=o;i=e,r=T,S!==void 0&&(T.cardClass=S),E!==void 0&&(T.cardStyle=E)}let s,a=!1;const c=ue(null),u=Zs(!1,"dialog"),d=S=>{if(c.value!==null&&c.value[S]!==void 0){c.value[S]();return}const E=s.$.subTree;if(E&&E.component){if(E.component.proxy&&E.component.proxy[S]){E.component.proxy[S]();return}if(E.component.subTree&&E.component.subTree.component&&E.component.subTree.component.proxy&&E.component.subTree.component.proxy[S]){E.component.subTree.component.proxy[S]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},f=[],h=[],m={onOk(S){return f.push(S),m},onCancel(S){return h.push(S),m},onDismiss(S){return f.push(S),h.push(S),m},hide(){return d("hide"),m},update(S){if(s!==null){if(l===!0)Object.assign(r,S);else{const{class:E,style:T,...F}=S;E!==void 0&&(F.cardClass=E),T!==void 0&&(F.cardStyle=T),xh(r,F)}s.$forceUpdate()}return m}},p=S=>{a=!0,f.forEach(E=>{E(S)})},v=()=>{q.unmount(u),eh(u),q=null,s=null,a!==!0&&h.forEach(S=>{S()})};let q=Ud({name:"QGlobalDialog",setup:()=>()=>b(i,{...r,ref:c,onOk:p,onHide:v,onVnodeMounted(...S){typeof r.onVnodeMounted=="function"&&r.onVnodeMounted(...S),Ue(()=>d("show"))}})},n);return s=q.mount(u),m}}const w_={install({$q:e,parentApp:t}){e.dialog=this.create=y_(b_,!0,t)}},__={config:{},plugins:{Notify:f_,Dialog:w_}},S_="/";async function x_({app:e,router:t,store:n},o){let i=!1;const r=a=>{try{return t.resolve(a).href}catch{}return Object(a)===a?null:a},l=a=>{if(i=!0,typeof a=="string"&&/^https?:\/\//.test(a)){window.location.href=a;return}const c=r(a);c!==null&&(window.location.href=c,window.location.reload())},s=window.location.href.replace(window.location.origin,"");for(let a=0;i===!1&&a<o.length;a++)try{await o[a]({app:e,router:t,store:n,ssrContext:null,redirect:l,urlPath:s,publicPath:S_})}catch(c){if(c&&c.url){l(c.url);return}console.error("[Quasar] boot error:",c);return}i!==!0&&(e.use(t),e.mount("#q-app"))}i_(Bd,__).then(e=>{const[t,n]=Promise.allSettled!==void 0?["allSettled",o=>o.map(i=>{if(i.status==="rejected"){console.error("[Quasar] boot error:",i.reason);return}return i.value.default})]:["all",o=>o.map(i=>i.default)];return Promise[t]([vc(()=>import("./axios-HfQssU4f.js"),[])]).then(o=>{const i=n(o).filter(r=>typeof r=="function");x_(e,i)})});export{As as A,Kt as B,ld as C,Fe as D,tt as E,ge as F,ie as G,xi as _,$e as a,y as b,Ae as c,C_ as d,fo as e,Xe as f,Pe as g,b as h,Vt as i,pv as j,Ks as k,vv as l,nt as m,To as n,ln as o,Vi as p,ht as q,zy as r,Us as s,Uy as t,ue as u,An as v,ye as w,Ue as x,Ky as y,Ao as z};
|