mysqlsyncr 1.1.12 → 1.2.1

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.
Files changed (62) hide show
  1. package/README.md +59 -0
  2. package/__tests__/acceptCurrent.test.js +117 -0
  3. package/__tests__/columnAttributes.test.js +101 -0
  4. package/__tests__/options.test.js +259 -0
  5. package/__tests__/parser.test.js +167 -166
  6. package/__tests__/parser2.test.js +155 -152
  7. package/__tests__/paths.test.js +21 -0
  8. package/__tests__/prompt.test.js +106 -0
  9. package/__tests__/sync.test.js +348 -0
  10. package/__tests__/templateDrift.test.js +72 -0
  11. package/__tests__/versions.test.js +138 -0
  12. package/dist/index.cjs +4059 -1733
  13. package/dist/index.js +4101 -1777
  14. package/package.json +66 -59
  15. package/rollup.config.js +2 -1
  16. package/src/DBStructureChecker.js +47 -0
  17. package/src/acceptCurrent.js +225 -0
  18. package/src/apply.js +254 -136
  19. package/src/cli.js +61 -34
  20. package/src/compare.js +106 -92
  21. package/src/differences.js +258 -212
  22. package/src/dump.js +63 -54
  23. package/src/getters.js +151 -139
  24. package/src/index.js +223 -169
  25. package/src/loggers.js +156 -139
  26. package/src/normalizers.js +28 -6
  27. package/src/options.js +133 -0
  28. package/src/parsers.js +82 -36
  29. package/src/paths.js +41 -0
  30. package/src/prompt.js +109 -0
  31. package/src/rebuild.js +106 -0
  32. package/src/rows.js +46 -0
  33. package/src/socketServer.js +106 -24
  34. package/src/templateDrift.js +93 -0
  35. package/src/versions.js +112 -0
  36. package/ui/README.md +55 -40
  37. package/ui/dist/spa/assets/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuYjalmUiAw-k1h7X_-h.woff +0 -0
  38. package/ui/dist/spa/assets/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuZtalmUiAw-B7du-70m.woff +0 -0
  39. package/ui/dist/spa/assets/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuaabVmUiAw-CoAZ_DKt.woff +0 -0
  40. package/ui/dist/spa/assets/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWub2bVmUiAw-D0406B4n.woff +0 -0
  41. package/ui/dist/spa/assets/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbFmUiAw-CnAg2DeQ.woff +0 -0
  42. package/ui/dist/spa/assets/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmUiAw-BG9VWE5v.woff +0 -0
  43. package/ui/dist/spa/assets/MainLayout-DLH1Kfg-.js +1 -0
  44. package/ui/dist/spa/assets/axios-2hQ_j_Tz.js +1 -0
  45. package/ui/dist/spa/assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNa-OUIwM9U8.woff +0 -0
  46. package/ui/dist/spa/assets/index-Cqrg985P.js +23 -0
  47. package/ui/dist/spa/assets/index-pOWtXlXQ.css +1 -0
  48. package/ui/dist/spa/index.html +2 -2
  49. package/ui/package.json +43 -42
  50. package/ui/src/components/DefinitionDiff.vue +169 -0
  51. package/ui/src/pages/MainComponent.vue +704 -78
  52. package/ui/dist/spa/assets/KFOkCnqEu92Fr1MmgVxIIzQ-Y2mpUUkw.woff +0 -0
  53. package/ui/dist/spa/assets/KFOlCnqEu92Fr1MmEU9fBBc--ViM7Ag4Q.woff +0 -0
  54. package/ui/dist/spa/assets/KFOlCnqEu92Fr1MmSU5fBBc--CrFzpgl6.woff +0 -0
  55. package/ui/dist/spa/assets/KFOlCnqEu92Fr1MmWUlfBBc--CW3_XjG_.woff +0 -0
  56. package/ui/dist/spa/assets/KFOlCnqEu92Fr1MmYUtfBBc--Dr8fnyGc.woff +0 -0
  57. package/ui/dist/spa/assets/KFOmCnqEu92Fr1Mu4mxM-DAYh6T4l.woff +0 -0
  58. package/ui/dist/spa/assets/MainLayout-CvQD3xKr.js +0 -1
  59. package/ui/dist/spa/assets/axios-C0XcclIb.js +0 -1
  60. package/ui/dist/spa/assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNa-Dr0goTwe.woff +0 -0
  61. package/ui/dist/spa/assets/index-CwWo8xmP.js +0 -40
  62. package/ui/dist/spa/assets/index-kXpA8n8r.css +0 -5
@@ -1,40 +0,0 @@
1
- const Mh=function(){const t=typeof document<"u"&&document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}(),Bh=function(e){return"/"+e},wa={},Ec=function(t,n,i){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=o?.nonce||o?.getAttribute("nonce");r=Promise.allSettled(n.map(a=>{if(a=Bh(a),a in wa)return;wa[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":Mh,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 l(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return r.then(o=>{for(const s of o||[])s.status==="rejected"&&l(s.reason);return t().catch(l)})};/**
2
- * @vue/shared v3.5.13
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function Cs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ie={},xi=[],an=()=>{},$h=()=>!1,El=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ks=e=>e.startsWith("onUpdate:"),ut=Object.assign,Es=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Nh=Object.prototype.hasOwnProperty,Me=(e,t)=>Nh.call(e,t),Se=Array.isArray,Ci=e=>ql(e)==="[object Map]",qc=e=>ql(e)==="[object Set]",Ce=e=>typeof e=="function",Ze=e=>typeof e=="string",Mn=e=>typeof e=="symbol",Ue=e=>e!==null&&typeof e=="object",Tc=e=>(Ue(e)||Ce(e))&&Ce(e.then)&&Ce(e.catch),Rc=Object.prototype.toString,ql=e=>Rc.call(e),Ih=e=>ql(e).slice(8,-1),Ac=e=>ql(e)==="[object Object]",qs=e=>Ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,er=Cs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Vh=/-(\w)/g,jt=Tl(e=>e.replace(Vh,(t,n)=>n?n.toUpperCase():"")),jh=/\B([A-Z])/g,Bn=Tl(e=>e.replace(jh,"-$1").toLowerCase()),Rl=Tl(e=>e.charAt(0).toUpperCase()+e.slice(1)),so=Tl(e=>e?`on${Rl(e)}`:""),On=(e,t)=>!Object.is(e,t),ao=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Pc=(e,t,n,i=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:n})},Hh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},zh=e=>{const t=Ze(e)?Number(e):NaN;return isNaN(t)?e:t};let _a;const Al=()=>_a||(_a=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ts(e){if(Se(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],r=Ze(i)?Qh(i):Ts(i);if(r)for(const l in r)t[l]=r[l]}return t}else if(Ze(e)||Ue(e))return e}const Uh=/;(?![^(]*\))/g,Kh=/:([^]+)/,Wh=/\/\*[^]*?\*\//g;function Qh(e){const t={};return e.replace(Wh,"").split(Uh).forEach(n=>{if(n){const i=n.split(Kh);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Pl(e){let t="";if(Ze(e))t=e;else if(Se(e))for(let n=0;n<e.length;n++){const i=Pl(e[n]);i&&(t+=i+" ")}else if(Ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Gh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Jh=Cs(Gh);function Oc(e){return!!e||e===""}const Fc=e=>!!(e&&e.__v_isRef===!0),nt=e=>Ze(e)?e:e==null?"":Se(e)||Ue(e)&&(e.toString===Rc||!Ce(e.toString))?Fc(e)?nt(e.value):JSON.stringify(e,Lc,2):String(e),Lc=(e,t)=>Fc(t)?Lc(e,t.value):Ci(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,r],l)=>(n[uo(i,l)+" =>"]=r,n),{})}:qc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>uo(n))}:Mn(t)?uo(t):Ue(t)&&!Se(t)&&!Ac(t)?String(t):t,uo=(e,t="")=>{var n;return Mn(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 Dt;class Dc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Dt,!t&&Dt&&(this.index=(Dt.scopes||(Dt.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=Dt;try{return Dt=this,t()}finally{Dt=n}}}on(){Dt=this}off(){Dt=this.parent}stop(t){if(this._active){this._active=!1;let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(this.effects.length=0,n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Xh(e){return new Dc(e)}function Yh(){return Dt}let He;const co=new WeakSet;class Mc{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,Dt&&Dt.active&&Dt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,co.has(this)&&(co.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||$c(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Sa(this),Nc(this);const t=He,n=Jt;He=this,Jt=!0;try{return this.fn()}finally{Ic(this),He=t,Jt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ps(t);this.deps=this.depsTail=void 0,Sa(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?co.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Uo(this)&&this.run()}get dirty(){return Uo(this)}}let Bc=0,tr,nr;function $c(e,t=!1){if(e.flags|=8,t){e.next=nr,nr=e;return}e.next=tr,tr=e}function Rs(){Bc++}function As(){if(--Bc>0)return;if(nr){let t=nr;for(nr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;tr;){let t=tr;for(tr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){e||(e=i)}t=n}}if(e)throw e}function Nc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ic(e){let t,n=e.depsTail,i=n;for(;i;){const r=i.prevDep;i.version===-1?(i===n&&(n=r),Ps(i),Zh(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=r}e.deps=t,e.depsTail=n}function Uo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Vc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Vc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===dr))return;e.globalVersion=dr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Uo(e)){e.flags&=-3;return}const n=He,i=Jt;He=e,Jt=!0;try{Nc(e);const r=e.fn(e._value);(t.version===0||On(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{He=n,Jt=i,Ic(e),e.flags&=-3}}function Ps(e,t=!1){const{dep:n,prevSub:i,nextSub:r}=e;if(i&&(i.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=i,e.nextSub=void 0),n.subs===e&&(n.subs=i,!i&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)Ps(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Zh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Jt=!0;const jc=[];function $n(){jc.push(Jt),Jt=!1}function Nn(){const e=jc.pop();Jt=e===void 0?!0:e}function Sa(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=He;He=void 0;try{t()}finally{He=n}}}let dr=0;class eg{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 Os{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||!Jt||He===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==He)n=this.activeLink=new eg(He,this),He.deps?(n.prevDep=He.depsTail,He.depsTail.nextDep=n,He.depsTail=n):He.deps=He.depsTail=n,Hc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const i=n.nextDep;i.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=i),n.prevDep=He.depsTail,n.nextDep=void 0,He.depsTail.nextDep=n,He.depsTail=n,He.deps===n&&(He.deps=i)}return n}trigger(t){this.version++,dr++,this.notify(t)}notify(t){Rs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{As()}}}function Hc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)Hc(i)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ko=new WeakMap,Yn=Symbol(""),Wo=Symbol(""),fr=Symbol("");function bt(e,t,n){if(Jt&&He){let i=Ko.get(e);i||Ko.set(e,i=new Map);let r=i.get(n);r||(i.set(n,r=new Os),r.map=i,r.key=n),r.track()}}function bn(e,t,n,i,r,l){const o=Ko.get(e);if(!o){dr++;return}const s=a=>{a&&a.trigger()};if(Rs(),t==="clear")o.forEach(s);else{const a=Se(e),c=a&&qs(n);if(a&&n==="length"){const u=Number(i);o.forEach((d,f)=>{(f==="length"||f===fr||!Mn(f)&&f>=u)&&s(d)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),c&&s(o.get(fr)),t){case"add":a?c&&s(o.get("length")):(s(o.get(Yn)),Ci(e)&&s(o.get(Wo)));break;case"delete":a||(s(o.get(Yn)),Ci(e)&&s(o.get(Wo)));break;case"set":Ci(e)&&s(o.get(Yn));break}}As()}function gi(e){const t=Ee(e);return t===e?t:(bt(t,"iterate",fr),It(e)?t:t.map(yt))}function Ol(e){return bt(e=Ee(e),"iterate",fr),e}const tg={__proto__:null,[Symbol.iterator](){return fo(this,Symbol.iterator,yt)},concat(...e){return gi(this).concat(...e.map(t=>Se(t)?gi(t):t))},entries(){return fo(this,"entries",e=>(e[1]=yt(e[1]),e))},every(e,t){return hn(this,"every",e,t,void 0,arguments)},filter(e,t){return hn(this,"filter",e,t,n=>n.map(yt),arguments)},find(e,t){return hn(this,"find",e,t,yt,arguments)},findIndex(e,t){return hn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return hn(this,"findLast",e,t,yt,arguments)},findLastIndex(e,t){return hn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return hn(this,"forEach",e,t,void 0,arguments)},includes(...e){return ho(this,"includes",e)},indexOf(...e){return ho(this,"indexOf",e)},join(e){return gi(this).join(e)},lastIndexOf(...e){return ho(this,"lastIndexOf",e)},map(e,t){return hn(this,"map",e,t,void 0,arguments)},pop(){return ji(this,"pop")},push(...e){return ji(this,"push",e)},reduce(e,...t){return xa(this,"reduce",e,t)},reduceRight(e,...t){return xa(this,"reduceRight",e,t)},shift(){return ji(this,"shift")},some(e,t){return hn(this,"some",e,t,void 0,arguments)},splice(...e){return ji(this,"splice",e)},toReversed(){return gi(this).toReversed()},toSorted(e){return gi(this).toSorted(e)},toSpliced(...e){return gi(this).toSpliced(...e)},unshift(...e){return ji(this,"unshift",e)},values(){return fo(this,"values",yt)}};function fo(e,t,n){const i=Ol(e),r=i[t]();return i!==e&&!It(e)&&(r._next=r.next,r.next=()=>{const l=r._next();return l.value&&(l.value=n(l.value)),l}),r}const ng=Array.prototype;function hn(e,t,n,i,r,l){const o=Ol(e),s=o!==e&&!It(e),a=o[t];if(a!==ng[t]){const d=a.apply(e,l);return s?yt(d):d}let c=n;o!==e&&(s?c=function(d,f){return n.call(this,yt(d),f,e)}:n.length>2&&(c=function(d,f){return n.call(this,d,f,e)}));const u=a.call(o,c,i);return s&&r?r(u):u}function xa(e,t,n,i){const r=Ol(e);let l=n;return r!==e&&(It(e)?n.length>3&&(l=function(o,s,a){return n.call(this,o,s,a,e)}):l=function(o,s,a){return n.call(this,o,yt(s),a,e)}),r[t](l,...i)}function ho(e,t,n){const i=Ee(e);bt(i,"iterate",fr);const r=i[t](...n);return(r===-1||r===!1)&&Ds(n[0])?(n[0]=Ee(n[0]),i[t](...n)):r}function ji(e,t,n=[]){$n(),Rs();const i=Ee(e)[t].apply(e,n);return As(),Nn(),i}const ig=Cs("__proto__,__v_isRef,__isVue"),zc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Mn));function rg(e){Mn(e)||(e=String(e));const t=Ee(this);return bt(t,"has",e),t.hasOwnProperty(e)}class Uc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,i){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return l;if(n==="__v_raw")return i===(r?l?gg:Gc:l?Qc:Wc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const o=Se(t);if(!r){let a;if(o&&(a=tg[n]))return a;if(n==="hasOwnProperty")return rg}const s=Reflect.get(t,n,_t(t)?t:i);return(Mn(n)?zc.has(n):ig(n))||(r||bt(t,"get",n),l)?s:_t(s)?o&&qs(n)?s:s.value:Ue(s)?r?Xc(s):Mi(s):s}}class Kc extends Uc{constructor(t=!1){super(!1,t)}set(t,n,i,r){let l=t[n];if(!this._isShallow){const a=ri(l);if(!It(i)&&!ri(i)&&(l=Ee(l),i=Ee(i)),!Se(t)&&_t(l)&&!_t(i))return a?!1:(l.value=i,!0)}const o=Se(t)&&qs(n)?Number(n)<t.length:Me(t,n),s=Reflect.set(t,n,i,_t(t)?t:r);return t===Ee(r)&&(o?On(i,l)&&bn(t,"set",n,i):bn(t,"add",n,i)),s}deleteProperty(t,n){const i=Me(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&i&&bn(t,"delete",n,void 0),r}has(t,n){const i=Reflect.has(t,n);return(!Mn(n)||!zc.has(n))&&bt(t,"has",n),i}ownKeys(t){return bt(t,"iterate",Se(t)?"length":Yn),Reflect.ownKeys(t)}}class lg extends Uc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const og=new Kc,sg=new lg,ag=new Kc(!0);const Qo=e=>e,Fr=e=>Reflect.getPrototypeOf(e);function ug(e,t,n){return function(...i){const r=this.__v_raw,l=Ee(r),o=Ci(l),s=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=r[e](...i),u=n?Qo:t?Go:yt;return!t&&bt(l,"iterate",a?Wo:Yn),{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 Lr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function cg(e,t){const n={get(r){const l=this.__v_raw,o=Ee(l),s=Ee(r);e||(On(r,s)&&bt(o,"get",r),bt(o,"get",s));const{has:a}=Fr(o),c=t?Qo:e?Go:yt;if(a.call(o,r))return c(l.get(r));if(a.call(o,s))return c(l.get(s));l!==o&&l.get(r)},get size(){const r=this.__v_raw;return!e&&bt(Ee(r),"iterate",Yn),Reflect.get(r,"size",r)},has(r){const l=this.__v_raw,o=Ee(l),s=Ee(r);return e||(On(r,s)&&bt(o,"has",r),bt(o,"has",s)),r===s?l.has(r):l.has(r)||l.has(s)},forEach(r,l){const o=this,s=o.__v_raw,a=Ee(s),c=t?Qo:e?Go:yt;return!e&&bt(a,"iterate",Yn),s.forEach((u,d)=>r.call(l,c(u),c(d),o))}};return ut(n,e?{add:Lr("add"),set:Lr("set"),delete:Lr("delete"),clear:Lr("clear")}:{add(r){!t&&!It(r)&&!ri(r)&&(r=Ee(r));const l=Ee(this);return Fr(l).has.call(l,r)||(l.add(r),bn(l,"add",r,r)),this},set(r,l){!t&&!It(l)&&!ri(l)&&(l=Ee(l));const o=Ee(this),{has:s,get:a}=Fr(o);let c=s.call(o,r);c||(r=Ee(r),c=s.call(o,r));const u=a.call(o,r);return o.set(r,l),c?On(l,u)&&bn(o,"set",r,l):bn(o,"add",r,l),this},delete(r){const l=Ee(this),{has:o,get:s}=Fr(l);let a=o.call(l,r);a||(r=Ee(r),a=o.call(l,r)),s&&s.call(l,r);const c=l.delete(r);return a&&bn(l,"delete",r,void 0),c},clear(){const r=Ee(this),l=r.size!==0,o=r.clear();return l&&bn(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=ug(r,e,t)}),n}function Fs(e,t){const n=cg(e,t);return(i,r,l)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?i:Reflect.get(Me(n,r)&&r in i?n:i,r,l)}const dg={get:Fs(!1,!1)},fg={get:Fs(!1,!0)},hg={get:Fs(!0,!1)};const Wc=new WeakMap,Qc=new WeakMap,Gc=new WeakMap,gg=new WeakMap;function mg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pg(e){return e.__v_skip||!Object.isExtensible(e)?0:mg(Ih(e))}function Mi(e){return ri(e)?e:Ls(e,!1,og,dg,Wc)}function Jc(e){return Ls(e,!1,ag,fg,Qc)}function Xc(e){return Ls(e,!0,sg,hg,Gc)}function Ls(e,t,n,i,r){if(!Ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=r.get(e);if(l)return l;const o=pg(e);if(o===0)return e;const s=new Proxy(e,o===2?i:n);return r.set(e,s),s}function ki(e){return ri(e)?ki(e.__v_raw):!!(e&&e.__v_isReactive)}function ri(e){return!!(e&&e.__v_isReadonly)}function It(e){return!!(e&&e.__v_isShallow)}function Ds(e){return e?!!e.__v_raw:!1}function Ee(e){const t=e&&e.__v_raw;return t?Ee(t):e}function Bi(e){return!Me(e,"__v_skip")&&Object.isExtensible(e)&&Pc(e,"__v_skip",!0),e}const yt=e=>Ue(e)?Mi(e):e,Go=e=>Ue(e)?Xc(e):e;function _t(e){return e?e.__v_isRef===!0:!1}function ce(e){return Yc(e,!1)}function vg(e){return Yc(e,!0)}function Yc(e,t){return _t(e)?e:new bg(e,t)}class bg{constructor(t,n){this.dep=new Os,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ee(t),this._value=n?t:yt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,i=this.__v_isShallow||It(t)||ri(t);t=i?t:Ee(t),On(t,n)&&(this._rawValue=t,this._value=i?t:yt(t),this.dep.trigger())}}function Zn(e){return _t(e)?e.value:e}const yg={get:(e,t,n)=>t==="__v_raw"?e:Zn(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const r=e[t];return _t(r)&&!_t(n)?(r.value=n,!0):Reflect.set(e,t,n,i)}};function Zc(e){return ki(e)?e:new Proxy(e,yg)}class wg{constructor(t,n,i){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Os(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=dr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&He!==this)return $c(this,!0),!0}get value(){const t=this.dep.track();return Vc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function _g(e,t,n=!1){let i,r;return Ce(e)?i=e:(i=e.get,r=e.set),new wg(i,r,n)}const Dr={},il=new WeakMap;let Wn;function Sg(e,t=!1,n=Wn){if(n){let i=il.get(n);i||il.set(n,i=[]),i.push(e)}}function xg(e,t,n=Ie){const{immediate:i,deep:r,once:l,scheduler:o,augmentJob:s,call:a}=n,c=q=>r?q:It(q)||r===!1||r===0?yn(q,1):yn(q);let u,d,f,h,g=!1,v=!1;if(_t(e)?(d=()=>e.value,g=It(e)):ki(e)?(d=()=>c(e),g=!0):Se(e)?(v=!0,g=e.some(q=>ki(q)||It(q)),d=()=>e.map(q=>{if(_t(q))return q.value;if(ki(q))return c(q);if(Ce(q))return a?a(q,2):q()})):Ce(e)?t?d=a?()=>a(e,2):e:d=()=>{if(f){$n();try{f()}finally{Nn()}}const q=Wn;Wn=u;try{return a?a(e,3,[h]):e(h)}finally{Wn=q}}:d=an,t&&r){const q=d,L=r===!0?1/0:r;d=()=>yn(q(),L)}const p=Yh(),T=()=>{u.stop(),p&&p.active&&Es(p.effects,u)};if(l&&t){const q=t;t=(...L)=>{q(...L),T()}}let S=v?new Array(e.length).fill(Dr):Dr;const E=q=>{if(!(!(u.flags&1)||!u.dirty&&!q))if(t){const L=u.run();if(r||g||(v?L.some((V,W)=>On(V,S[W])):On(L,S))){f&&f();const V=Wn;Wn=u;try{const W=[L,S===Dr?void 0:v&&S[0]===Dr?[]:S,h];a?a(t,3,W):t(...W),S=L}finally{Wn=V}}}else u.run()};return s&&s(E),u=new Mc(d),u.scheduler=o?()=>o(E,!1):E,h=q=>Sg(q,!1,u),f=u.onStop=()=>{const q=il.get(u);if(q){if(a)a(q,4);else for(const L of q)L();il.delete(u)}},t?i?E(!0):S=u.run():o?o(E.bind(null,!0),!0):u.run(),T.pause=u.pause.bind(u),T.resume=u.resume.bind(u),T.stop=T,T}function yn(e,t=1/0,n){if(t<=0||!Ue(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,_t(e))yn(e.value,t,n);else if(Se(e))for(let i=0;i<e.length;i++)yn(e[i],t,n);else if(qc(e)||Ci(e))e.forEach(i=>{yn(i,t,n)});else if(Ac(e)){for(const i in e)yn(e[i],t,n);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&yn(e[i],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 kr(e,t,n,i){try{return i?e(...i):e()}catch(r){Fl(r,t,n)}}function Xt(e,t,n,i){if(Ce(e)){const r=kr(e,t,n,i);return r&&Tc(r)&&r.catch(l=>{Fl(l,t,n)}),r}if(Se(e)){const r=[];for(let l=0;l<e.length;l++)r.push(Xt(e[l],t,n,i));return r}}function Fl(e,t,n,i=!0){const r=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Ie;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(l){$n(),kr(l,null,10,[e,a,c]),Nn();return}}Cg(e,n,r,i,o)}function Cg(e,t,n,i=!0,r=!1){if(r)throw e;console.error(e)}const Et=[];let ln=-1;const Ei=[];let kn=null,wi=0;const ed=Promise.resolve();let rl=null;function ze(e){const t=rl||ed;return e?t.then(this?e.bind(this):e):t}function kg(e){let t=ln+1,n=Et.length;for(;t<n;){const i=t+n>>>1,r=Et[i],l=hr(r);l<e||l===e&&r.flags&2?t=i+1:n=i}return t}function Ms(e){if(!(e.flags&1)){const t=hr(e),n=Et[Et.length-1];!n||!(e.flags&2)&&t>=hr(n)?Et.push(e):Et.splice(kg(t),0,e),e.flags|=1,td()}}function td(){rl||(rl=ed.then(id))}function Eg(e){Se(e)?Ei.push(...e):kn&&e.id===-1?kn.splice(wi+1,0,e):e.flags&1||(Ei.push(e),e.flags|=1),td()}function Ca(e,t,n=ln+1){for(;n<Et.length;n++){const i=Et[n];if(i&&i.flags&2){if(e&&i.id!==e.uid)continue;Et.splice(n,1),n--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function nd(e){if(Ei.length){const t=[...new Set(Ei)].sort((n,i)=>hr(n)-hr(i));if(Ei.length=0,kn){kn.push(...t);return}for(kn=t,wi=0;wi<kn.length;wi++){const n=kn[wi];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}kn=null,wi=0}}const hr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function id(e){try{for(ln=0;ln<Et.length;ln++){const t=Et[ln];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),kr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ln<Et.length;ln++){const t=Et[ln];t&&(t.flags&=-2)}ln=-1,Et.length=0,nd(),rl=null,(Et.length||Ei.length)&&id()}}let Ft=null,rd=null;function ll(e){const t=Ft;return Ft=e,rd=e&&e.type.__scopeId||null,t}function ue(e,t=Ft,n){if(!t||e._n)return e;const i=(...r)=>{i._d&&$a(-1);const l=ll(t);let o;try{o=e(...r)}finally{ll(l),i._d&&$a(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function Pn(e,t){if(Ft===null)return e;const n=Vl(Ft),i=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[l,o,s,a=Ie]=t[r];l&&(Ce(l)&&(l={mounted:l,updated:l}),l.deep&&yn(o),i.push({dir:l,instance:n,value:o,oldValue:void 0,arg:s,modifiers:a}))}return e}function jn(e,t,n,i){const r=e.dirs,l=t&&t.dirs;for(let o=0;o<r.length;o++){const s=r[o];l&&(s.oldValue=l[o].value);let a=s.dir[i];a&&($n(),Xt(a,n,8,[e.el,s,e,t]),Nn())}}const ld=Symbol("_vte"),od=e=>e.__isTeleport,ir=e=>e&&(e.disabled||e.disabled===""),ka=e=>e&&(e.defer||e.defer===""),Ea=e=>typeof SVGElement<"u"&&e instanceof SVGElement,qa=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Jo=(e,t)=>{const n=e&&e.to;return Ze(n)?t?t(n):null:n},sd={name:"Teleport",__isTeleport:!0,process(e,t,n,i,r,l,o,s,a,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:g,createText:v,createComment:p}}=c,T=ir(t.props);let{shapeFlag:S,children:E,dynamicChildren:q}=t;if(e==null){const L=t.el=v(""),V=t.anchor=v("");h(L,n,i),h(V,n,i);const W=(A,M)=>{S&16&&(r&&r.isCE&&(r.ce._teleportTarget=A),u(E,A,M,r,l,o,s,a))},Z=()=>{const A=t.target=Jo(t.props,g),M=ad(A,t,v,h);A&&(o!=="svg"&&Ea(A)?o="svg":o!=="mathml"&&qa(A)&&(o="mathml"),T||(W(A,M),Ur(t,!1)))};T&&(W(n,V),Ur(t,!0)),ka(t.props)?kt(()=>{Z(),t.el.__isMounted=!0},l):Z()}else{if(ka(t.props)&&!e.el.__isMounted){kt(()=>{sd.process(e,t,n,i,r,l,o,s,a,c),delete e.el.__isMounted},l);return}t.el=e.el,t.targetStart=e.targetStart;const L=t.anchor=e.anchor,V=t.target=e.target,W=t.targetAnchor=e.targetAnchor,Z=ir(e.props),A=Z?n:V,M=Z?L:W;if(o==="svg"||Ea(V)?o="svg":(o==="mathml"||qa(V))&&(o="mathml"),q?(f(e.dynamicChildren,q,A,r,l,o,s),js(e,t,!0)):a||d(e,t,A,M,r,l,o,s,!1),T)Z?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Mr(t,n,L,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=t.target=Jo(t.props,g);U&&Mr(t,U,null,c,0)}else Z&&Mr(t,V,W,c,1);Ur(t,T)}},remove(e,t,n,{um:i,o:{remove:r}},l){const{shapeFlag:o,children:s,anchor:a,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(r(c),r(u)),l&&r(a),o&16){const h=l||!ir(f);for(let g=0;g<s.length;g++){const v=s[g];i(v,t,n,h,!!v.dynamicChildren)}}},move:Mr,hydrate:qg};function Mr(e,t,n,{o:{insert:i},m:r},l=2){l===0&&i(e.targetAnchor,t,n);const{el:o,anchor:s,shapeFlag:a,children:c,props:u}=e,d=l===2;if(d&&i(o,t,n),(!d||ir(u))&&a&16)for(let f=0;f<c.length;f++)r(c[f],t,n,2);d&&i(s,t,n)}function qg(e,t,n,i,r,l,{o:{nextSibling:o,parentNode:s,querySelector:a,insert:c,createText:u}},d){const f=t.target=Jo(t.props,a);if(f){const h=ir(t.props),g=f._lpa||f.firstChild;if(t.shapeFlag&16)if(h)t.anchor=d(o(e),t,s(e),n,i,r,l),t.targetStart=g,t.targetAnchor=g&&o(g);else{t.anchor=o(e);let v=g;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")t.targetStart=v;else if(v.data==="teleport anchor"){t.targetAnchor=v,f._lpa=t.targetAnchor&&o(t.targetAnchor);break}}v=o(v)}t.targetAnchor||ad(f,t,u,c),d(g&&o(g),t,f,n,i,r,l)}Ur(t,h)}return t.anchor&&o(t.anchor)}const Tg=sd;function Ur(e,t){const n=e.ctx;if(n&&n.ut){let i,r;for(t?(i=e.el,r=e.anchor):(i=e.targetStart,r=e.targetAnchor);i&&i!==r;)i.nodeType===1&&i.setAttribute("data-v-owner",n.uid),i=i.nextSibling;n.ut()}}function ad(e,t,n,i){const r=t.targetStart=n(""),l=t.targetAnchor=n("");return r[ld]=l,e&&(i(r,e),i(l,e)),l}const En=Symbol("_leaveCb"),Br=Symbol("_enterCb");function ud(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Zt(()=>{e.isMounted=!0}),it(()=>{e.isUnmounting=!0}),e}const $t=[Function,Array],cd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$t,onEnter:$t,onAfterEnter:$t,onEnterCancelled:$t,onBeforeLeave:$t,onLeave:$t,onAfterLeave:$t,onLeaveCancelled:$t,onBeforeAppear:$t,onAppear:$t,onAfterAppear:$t,onAppearCancelled:$t},dd=e=>{const t=e.subTree;return t.component?dd(t.component):t},Rg={name:"BaseTransition",props:cd,setup(e,{slots:t}){const n=Ae(),i=ud();return()=>{const r=t.default&&Bs(t.default(),!0);if(!r||!r.length)return;const l=fd(r),o=Ee(e),{mode:s}=o;if(i.isLeaving)return go(l);const a=Ta(l);if(!a)return go(l);let c=gr(a,o,i,n,d=>c=d);a.type!==At&&li(a,c);let u=n.subTree&&Ta(n.subTree);if(u&&u.type!==At&&!Qn(a,u)&&dd(n).type!==At){let d=gr(u,o,i,n);if(li(u,d),s==="out-in"&&a.type!==At)return i.isLeaving=!0,d.afterLeave=()=>{i.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},go(l);s==="in-out"&&a.type!==At?d.delayLeave=(f,h,g)=>{const v=hd(i,u);v[String(u.key)]=u,f[En]=()=>{h(),f[En]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return l}}};function fd(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==At){t=n;break}}return t}const Ag=Rg;function hd(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function gr(e,t,n,i,r){const{appear:l,mode:o,persisted:s=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:g,onLeaveCancelled:v,onBeforeAppear:p,onAppear:T,onAfterAppear:S,onAppearCancelled:E}=t,q=String(e.key),L=hd(n,e),V=(A,M)=>{A&&Xt(A,i,9,M)},W=(A,M)=>{const U=M[1];V(A,M),Se(A)?A.every(C=>C.length<=1)&&U():A.length<=1&&U()},Z={mode:o,persisted:s,beforeEnter(A){let M=a;if(!n.isMounted)if(l)M=p||a;else return;A[En]&&A[En](!0);const U=L[q];U&&Qn(e,U)&&U.el[En]&&U.el[En](),V(M,[A])},enter(A){let M=c,U=u,C=d;if(!n.isMounted)if(l)M=T||c,U=S||u,C=E||d;else return;let J=!1;const N=A[Br]=le=>{J||(J=!0,le?V(C,[A]):V(U,[A]),Z.delayedLeave&&Z.delayedLeave(),A[Br]=void 0)};M?W(M,[A,N]):N()},leave(A,M){const U=String(e.key);if(A[Br]&&A[Br](!0),n.isUnmounting)return M();V(f,[A]);let C=!1;const J=A[En]=N=>{C||(C=!0,M(),N?V(v,[A]):V(g,[A]),A[En]=void 0,L[U]===e&&delete L[U])};L[U]=e,h?W(h,[A,J]):J()},clone(A){const M=gr(A,t,n,i,r);return r&&r(M),M}};return Z}function go(e){if(Ll(e))return e=Fn(e),e.children=null,e}function Ta(e){if(!Ll(e))return od(e.type)&&e.children?fd(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ce(n.default))return n.default()}}function li(e,t){e.shapeFlag&6&&e.component?(e.transition=t,li(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 Bs(e,t=!1,n){let i=[],r=0;for(let l=0;l<e.length;l++){let o=e[l];const s=n==null?o.key:String(n)+String(o.key!=null?o.key:l);o.type===Rt?(o.patchFlag&128&&r++,i=i.concat(Bs(o.children,t,s))):(t||o.type!==At)&&i.push(s!=null?Fn(o,{key:s}):o)}if(r>1)for(let l=0;l<i.length;l++)i[l].patchFlag=-2;return i}/*! #__NO_SIDE_EFFECTS__ */function $s(e,t){return Ce(e)?ut({name:e.name},t,{setup:e}):e}function gd(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ol(e,t,n,i,r=!1){if(Se(e)){e.forEach((g,v)=>ol(g,t&&(Se(t)?t[v]:t),n,i,r));return}if(rr(i)&&!r){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&ol(e,t,n,i.component.subTree);return}const l=i.shapeFlag&4?Vl(i.component):i.el,o=r?null:l,{i:s,r:a}=e,c=t&&t.r,u=s.refs===Ie?s.refs={}:s.refs,d=s.setupState,f=Ee(d),h=d===Ie?()=>!1:g=>Me(f,g);if(c!=null&&c!==a&&(Ze(c)?(u[c]=null,h(c)&&(d[c]=null)):_t(c)&&(c.value=null)),Ce(a))kr(a,s,12,[o,u]);else{const g=Ze(a),v=_t(a);if(g||v){const p=()=>{if(e.f){const T=g?h(a)?d[a]:u[a]:a.value;r?Se(T)&&Es(T,l):Se(T)?T.includes(l)||T.push(l):g?(u[a]=[l],h(a)&&(d[a]=u[a])):(a.value=[l],e.k&&(u[e.k]=a.value))}else g?(u[a]=o,h(a)&&(d[a]=o)):v&&(a.value=o,e.k&&(u[e.k]=o))};o?(p.id=-1,kt(p,n)):p()}}}Al().requestIdleCallback;Al().cancelIdleCallback;const rr=e=>!!e.type.__asyncLoader,Ll=e=>e.type.__isKeepAlive;function Dl(e,t){md(e,"a",t)}function $i(e,t){md(e,"da",t)}function md(e,t,n=mt){const i=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ml(t,i,n),n){let r=n.parent;for(;r&&r.parent;)Ll(r.parent.vnode)&&Pg(i,t,n,r),r=r.parent}}function Pg(e,t,n,i){const r=Ml(t,e,i,!0);Is(()=>{Es(i[t],r)},n)}function Ml(e,t,n=mt,i=!1){if(n){const r=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{$n();const s=Er(n),a=Xt(t,n,e,o);return s(),Nn(),a});return i?r.unshift(l):r.push(l),l}}const _n=e=>(t,n=mt)=>{(!pr||e==="sp")&&Ml(e,(...i)=>t(...i),n)},Bl=_n("bm"),Zt=_n("m"),$l=_n("bu"),Ns=_n("u"),it=_n("bum"),Is=_n("um"),Og=_n("sp"),Fg=_n("rtg"),Lg=_n("rtc");function Dg(e,t=mt){Ml("ec",e,t)}const Mg="components";function pd(e,t){return $g(Mg,e,!0,t)||e}const Bg=Symbol.for("v-ndc");function $g(e,t,n=!0,i=!1){const r=Ft||mt;if(r){const l=r.type;{const s=Cm(l,!1);if(s&&(s===t||s===jt(t)||s===Rl(jt(t))))return l}const o=Ra(r[e]||l[e],t)||Ra(r.appContext[e],t);return!o&&i?l:o}}function Ra(e,t){return e&&(e[t]||e[jt(t)]||e[Rl(jt(t))])}function vd(e,t,n,i){let r;const l=n,o=Se(e);if(o||Ze(e)){const s=o&&ki(e);let a=!1;s&&(a=!It(e),e=Ol(e)),r=new Array(e.length);for(let c=0,u=e.length;c<u;c++)r[c]=t(a?yt(e[c]):e[c],c,void 0,l)}else if(typeof e=="number"){r=new Array(e);for(let s=0;s<e;s++)r[s]=t(s+1,s,void 0,l)}else if(Ue(e))if(e[Symbol.iterator])r=Array.from(e,(s,a)=>t(s,a,void 0,l));else{const s=Object.keys(e);r=new Array(s.length);for(let a=0,c=s.length;a<c;a++){const u=s[a];r[a]=t(e[u],u,a,l)}}else r=[];return r}const Xo=e=>e?Bd(e)?Vl(e):Xo(e.parent):null,lr=ut(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=>Xo(e.parent),$root:e=>Xo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>yd(e),$forceUpdate:e=>e.f||(e.f=()=>{Ms(e.update)}),$nextTick:e=>e.n||(e.n=ze.bind(e.proxy)),$watch:e=>lm.bind(e)}),mo=(e,t)=>e!==Ie&&!e.__isScriptSetup&&Me(e,t),Ng={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:i,data:r,props:l,accessCache:o,type:s,appContext:a}=e;let c;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return i[t];case 2:return r[t];case 4:return n[t];case 3:return l[t]}else{if(mo(i,t))return o[t]=1,i[t];if(r!==Ie&&Me(r,t))return o[t]=2,r[t];if((c=e.propsOptions[0])&&Me(c,t))return o[t]=3,l[t];if(n!==Ie&&Me(n,t))return o[t]=4,n[t];Yo&&(o[t]=0)}}const u=lr[t];let d,f;if(u)return t==="$attrs"&&bt(e.attrs,"get",""),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Ie&&Me(n,t))return o[t]=4,n[t];if(f=a.config.globalProperties,Me(f,t))return f[t]},set({_:e},t,n){const{data:i,setupState:r,ctx:l}=e;return mo(r,t)?(r[t]=n,!0):i!==Ie&&Me(i,t)?(i[t]=n,!0):Me(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:r,propsOptions:l}},o){let s;return!!n[o]||e!==Ie&&Me(e,o)||mo(t,o)||(s=l[0])&&Me(s,o)||Me(i,o)||Me(lr,o)||Me(r.config.globalProperties,o)},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 Aa(e){return Se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Yo=!0;function Ig(e){const t=yd(e),n=e.proxy,i=e.ctx;Yo=!1,t.beforeCreate&&Pa(t.beforeCreate,e,"bc");const{data:r,computed:l,methods:o,watch:s,provide:a,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:g,activated:v,deactivated:p,beforeDestroy:T,beforeUnmount:S,destroyed:E,unmounted:q,render:L,renderTracked:V,renderTriggered:W,errorCaptured:Z,serverPrefetch:A,expose:M,inheritAttrs:U,components:C,directives:J,filters:N}=t;if(c&&Vg(c,i,null),o)for(const oe in o){const Q=o[oe];Ce(Q)&&(i[oe]=Q.bind(n))}if(r){const oe=r.call(n,n);Ue(oe)&&(e.data=Mi(oe))}if(Yo=!0,l)for(const oe in l){const Q=l[oe],ae=Ce(Q)?Q.bind(n,n):Ce(Q.get)?Q.get.bind(n,n):an,pe=!Ce(Q)&&Ce(Q.set)?Q.set.bind(n):an,P=y({get:ae,set:pe});Object.defineProperty(i,oe,{enumerable:!0,configurable:!0,get:()=>P.value,set:m=>P.value=m})}if(s)for(const oe in s)bd(s[oe],i,n,oe);if(a){const oe=Ce(a)?a.call(n):a;Reflect.ownKeys(oe).forEach(Q=>{Kr(Q,oe[Q])})}u&&Pa(u,e,"c");function te(oe,Q){Se(Q)?Q.forEach(ae=>oe(ae.bind(n))):Q&&oe(Q.bind(n))}if(te(Bl,d),te(Zt,f),te($l,h),te(Ns,g),te(Dl,v),te($i,p),te(Dg,Z),te(Lg,V),te(Fg,W),te(it,S),te(Is,q),te(Og,A),Se(M))if(M.length){const oe=e.exposed||(e.exposed={});M.forEach(Q=>{Object.defineProperty(oe,Q,{get:()=>n[Q],set:ae=>n[Q]=ae})})}else e.exposed||(e.exposed={});L&&e.render===an&&(e.render=L),U!=null&&(e.inheritAttrs=U),C&&(e.components=C),J&&(e.directives=J),A&&gd(e)}function Vg(e,t,n=an){Se(e)&&(e=Zo(e));for(const i in e){const r=e[i];let l;Ue(r)?"default"in r?l=Vt(r.from||i,r.default,!0):l=Vt(r.from||i):l=Vt(r),_t(l)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[i]=l}}function Pa(e,t,n){Xt(Se(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function bd(e,t,n,i){let r=i.includes(".")?Od(n,i):()=>n[i];if(Ze(e)){const l=t[e];Ce(l)&&ye(r,l)}else if(Ce(e))ye(r,e.bind(n));else if(Ue(e))if(Se(e))e.forEach(l=>bd(l,t,n,i));else{const l=Ce(e.handler)?e.handler.bind(n):t[e.handler];Ce(l)&&ye(r,l,e)}}function yd(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:r,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,s=l.get(t);let a;return s?a=s:!r.length&&!n&&!i?a=t:(a={},r.length&&r.forEach(c=>sl(a,c,o,!0)),sl(a,t,o)),Ue(t)&&l.set(t,a),a}function sl(e,t,n,i=!1){const{mixins:r,extends:l}=t;l&&sl(e,l,n,!0),r&&r.forEach(o=>sl(e,o,n,!0));for(const o in t)if(!(i&&o==="expose")){const s=jg[o]||n&&n[o];e[o]=s?s(e[o],t[o]):t[o]}return e}const jg={data:Oa,props:Fa,emits:Fa,methods:Yi,computed:Yi,beforeCreate:xt,created:xt,beforeMount:xt,mounted:xt,beforeUpdate:xt,updated:xt,beforeDestroy:xt,beforeUnmount:xt,destroyed:xt,unmounted:xt,activated:xt,deactivated:xt,errorCaptured:xt,serverPrefetch:xt,components:Yi,directives:Yi,watch:zg,provide:Oa,inject:Hg};function Oa(e,t){return t?e?function(){return ut(Ce(e)?e.call(this,this):e,Ce(t)?t.call(this,this):t)}:t:e}function Hg(e,t){return Yi(Zo(e),Zo(t))}function Zo(e){if(Se(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function xt(e,t){return e?[...new Set([].concat(e,t))]:t}function Yi(e,t){return e?ut(Object.create(null),e,t):t}function Fa(e,t){return e?Se(e)&&Se(t)?[...new Set([...e,...t])]:ut(Object.create(null),Aa(e),Aa(t??{})):t}function zg(e,t){if(!e)return t;if(!t)return e;const n=ut(Object.create(null),e);for(const i in t)n[i]=xt(e[i],t[i]);return n}function wd(){return{app:null,config:{isNativeTag:$h,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 Ug=0;function Kg(e,t){return function(i,r=null){Ce(i)||(i=ut({},i)),r!=null&&!Ue(r)&&(r=null);const l=wd(),o=new WeakSet,s=[];let a=!1;const c=l.app={_uid:Ug++,_component:i,_props:r,_container:null,_context:l,_instance:null,version:Em,get config(){return l.config},set config(u){},use(u,...d){return o.has(u)||(u&&Ce(u.install)?(o.add(u),u.install(c,...d)):Ce(u)&&(o.add(u),u(c,...d))),c},mixin(u){return l.mixins.includes(u)||l.mixins.push(u),c},component(u,d){return d?(l.components[u]=d,c):l.components[u]},directive(u,d){return d?(l.directives[u]=d,c):l.directives[u]},mount(u,d,f){if(!a){const h=c._ceVNode||ee(i,r);return h.appContext=l,f===!0?f="svg":f===!1&&(f=void 0),e(h,u,f),a=!0,c._container=u,u.__vue_app__=c,Vl(h.component)}},onUnmount(u){s.push(u)},unmount(){a&&(Xt(s,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,d){return l.provides[u]=d,c},runWithContext(u){const d=qi;qi=c;try{return u()}finally{qi=d}}};return c}}let qi=null;function Kr(e,t){if(mt){let n=mt.provides;const i=mt.parent&&mt.parent.provides;i===n&&(n=mt.provides=Object.create(i)),n[e]=t}}function Vt(e,t,n=!1){const i=mt||Ft;if(i||qi){const r=qi?qi._context.provides:i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&Ce(t)?t.call(i&&i.proxy):t}}const _d={},Sd=()=>Object.create(_d),xd=e=>Object.getPrototypeOf(e)===_d;function Wg(e,t,n,i=!1){const r={},l=Sd();e.propsDefaults=Object.create(null),Cd(e,t,r,l);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=i?r:Jc(r):e.type.props?e.props=r:e.props=l,e.attrs=l}function Qg(e,t,n,i){const{props:r,attrs:l,vnode:{patchFlag:o}}=e,s=Ee(r),[a]=e.propsOptions;let c=!1;if((i||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(Nl(e.emitsOptions,f))continue;const h=t[f];if(a)if(Me(l,f))h!==l[f]&&(l[f]=h,c=!0);else{const g=jt(f);r[g]=es(a,s,g,h,e,!1)}else h!==l[f]&&(l[f]=h,c=!0)}}}else{Cd(e,t,r,l)&&(c=!0);let u;for(const d in s)(!t||!Me(t,d)&&((u=Bn(d))===d||!Me(t,u)))&&(a?n&&(n[d]!==void 0||n[u]!==void 0)&&(r[d]=es(a,s,d,void 0,e,!0)):delete r[d]);if(l!==s)for(const d in l)(!t||!Me(t,d))&&(delete l[d],c=!0)}c&&bn(e.attrs,"set","")}function Cd(e,t,n,i){const[r,l]=e.propsOptions;let o=!1,s;if(t)for(let a in t){if(er(a))continue;const c=t[a];let u;r&&Me(r,u=jt(a))?!l||!l.includes(u)?n[u]=c:(s||(s={}))[u]=c:Nl(e.emitsOptions,a)||(!(a in i)||c!==i[a])&&(i[a]=c,o=!0)}if(l){const a=Ee(n),c=s||Ie;for(let u=0;u<l.length;u++){const d=l[u];n[d]=es(r,a,d,c[d],e,!Me(c,d))}}return o}function es(e,t,n,i,r,l){const o=e[n];if(o!=null){const s=Me(o,"default");if(s&&i===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&Ce(a)){const{propsDefaults:c}=r;if(n in c)i=c[n];else{const u=Er(r);i=c[n]=a.call(null,t),u()}}else i=a;r.ce&&r.ce._setProp(n,i)}o[0]&&(l&&!s?i=!1:o[1]&&(i===""||i===Bn(n))&&(i=!0))}return i}const Gg=new WeakMap;function kd(e,t,n=!1){const i=n?Gg:t.propsCache,r=i.get(e);if(r)return r;const l=e.props,o={},s=[];let a=!1;if(!Ce(e)){const u=d=>{a=!0;const[f,h]=kd(d,t,!0);ut(o,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(!l&&!a)return Ue(e)&&i.set(e,xi),xi;if(Se(l))for(let u=0;u<l.length;u++){const d=jt(l[u]);La(d)&&(o[d]=Ie)}else if(l)for(const u in l){const d=jt(u);if(La(d)){const f=l[u],h=o[d]=Se(f)||Ce(f)?{type:f}:ut({},f),g=h.type;let v=!1,p=!0;if(Se(g))for(let T=0;T<g.length;++T){const S=g[T],E=Ce(S)&&S.name;if(E==="Boolean"){v=!0;break}else E==="String"&&(p=!1)}else v=Ce(g)&&g.name==="Boolean";h[0]=v,h[1]=p,(v||Me(h,"default"))&&s.push(d)}}const c=[o,s];return Ue(e)&&i.set(e,c),c}function La(e){return e[0]!=="$"&&!er(e)}const Ed=e=>e[0]==="_"||e==="$stable",Vs=e=>Se(e)?e.map(on):[on(e)],Jg=(e,t,n)=>{if(t._n)return t;const i=ue((...r)=>Vs(t(...r)),n);return i._c=!1,i},qd=(e,t,n)=>{const i=e._ctx;for(const r in e){if(Ed(r))continue;const l=e[r];if(Ce(l))t[r]=Jg(r,l,i);else if(l!=null){const o=Vs(l);t[r]=()=>o}}},Td=(e,t)=>{const n=Vs(t);e.slots.default=()=>n},Rd=(e,t,n)=>{for(const i in t)(n||i!=="_")&&(e[i]=t[i])},Xg=(e,t,n)=>{const i=e.slots=Sd();if(e.vnode.shapeFlag&32){const r=t._;r?(Rd(i,t,n),n&&Pc(i,"_",r,!0)):qd(t,i)}else t&&Td(e,t)},Yg=(e,t,n)=>{const{vnode:i,slots:r}=e;let l=!0,o=Ie;if(i.shapeFlag&32){const s=t._;s?n&&s===1?l=!1:Rd(r,t,n):(l=!t.$stable,qd(t,r)),o=t}else t&&(Td(e,t),o={default:1});if(l)for(const s in r)!Ed(s)&&o[s]==null&&delete r[s]},kt=fm;function Zg(e){return em(e)}function em(e,t){const n=Al();n.__VUE__=!0;const{insert:i,remove:r,patchProp:l,createElement:o,createText:s,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=an,insertStaticContent:g}=e,v=(w,_,R,j=null,z=null,B=null,X=void 0,re=null,ne=!!_.dynamicChildren)=>{if(w===_)return;w&&!Qn(w,_)&&(j=x(w),m(w,z,B,!0),w=null),_.patchFlag===-2&&(ne=!1,_.dynamicChildren=null);const{type:G,ref:ge,shapeFlag:se}=_;switch(G){case Il:p(w,_,R,j);break;case At:T(w,_,R,j);break;case vo:w==null&&S(_,R,j,X);break;case Rt:C(w,_,R,j,z,B,X,re,ne);break;default:se&1?L(w,_,R,j,z,B,X,re,ne):se&6?J(w,_,R,j,z,B,X,re,ne):(se&64||se&128)&&G.process(w,_,R,j,z,B,X,re,ne,Y)}ge!=null&&z&&ol(ge,w&&w.ref,B,_||w,!_)},p=(w,_,R,j)=>{if(w==null)i(_.el=s(_.children),R,j);else{const z=_.el=w.el;_.children!==w.children&&c(z,_.children)}},T=(w,_,R,j)=>{w==null?i(_.el=a(_.children||""),R,j):_.el=w.el},S=(w,_,R,j)=>{[w.el,w.anchor]=g(w.children,_,R,j,w.el,w.anchor)},E=({el:w,anchor:_},R,j)=>{let z;for(;w&&w!==_;)z=f(w),i(w,R,j),w=z;i(_,R,j)},q=({el:w,anchor:_})=>{let R;for(;w&&w!==_;)R=f(w),r(w),w=R;r(_)},L=(w,_,R,j,z,B,X,re,ne)=>{_.type==="svg"?X="svg":_.type==="math"&&(X="mathml"),w==null?V(_,R,j,z,B,X,re,ne):A(w,_,z,B,X,re,ne)},V=(w,_,R,j,z,B,X,re)=>{let ne,G;const{props:ge,shapeFlag:se,transition:me,dirs:ve}=w;if(ne=w.el=o(w.type,B,ge&&ge.is,ge),se&8?u(ne,w.children):se&16&&Z(w.children,ne,null,j,z,po(w,B),X,re),ve&&jn(w,null,j,"created"),W(ne,w,w.scopeId,X,j),ge){for(const Oe in ge)Oe!=="value"&&!er(Oe)&&l(ne,Oe,null,ge[Oe],B,j);"value"in ge&&l(ne,"value",null,ge.value,B),(G=ge.onVnodeBeforeMount)&&tn(G,j,w)}ve&&jn(w,null,j,"beforeMount");const qe=tm(z,me);qe&&me.beforeEnter(ne),i(ne,_,R),((G=ge&&ge.onVnodeMounted)||qe||ve)&&kt(()=>{G&&tn(G,j,w),qe&&me.enter(ne),ve&&jn(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||Ld(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,re,ne=0)=>{for(let G=ne;G<w.length;G++){const ge=w[G]=re?qn(w[G]):on(w[G]);v(null,ge,_,R,j,z,B,X,re)}},A=(w,_,R,j,z,B,X)=>{const re=_.el=w.el;let{patchFlag:ne,dynamicChildren:G,dirs:ge}=_;ne|=w.patchFlag&16;const se=w.props||Ie,me=_.props||Ie;let ve;if(R&&Hn(R,!1),(ve=me.onVnodeBeforeUpdate)&&tn(ve,R,_,w),ge&&jn(_,w,R,"beforeUpdate"),R&&Hn(R,!0),(se.innerHTML&&me.innerHTML==null||se.textContent&&me.textContent==null)&&u(re,""),G?M(w.dynamicChildren,G,re,R,j,po(_,z),B):X||Q(w,_,re,null,R,j,po(_,z),B,!1),ne>0){if(ne&16)U(re,se,me,R,z);else if(ne&2&&se.class!==me.class&&l(re,"class",null,me.class,z),ne&4&&l(re,"style",se.style,me.style,z),ne&8){const qe=_.dynamicProps;for(let Oe=0;Oe<qe.length;Oe++){const Fe=qe[Oe],ct=se[Fe],Ve=me[Fe];(Ve!==ct||Fe==="value")&&l(re,Fe,ct,Ve,z,R)}}ne&1&&w.children!==_.children&&u(re,_.children)}else!X&&G==null&&U(re,se,me,R,z);((ve=me.onVnodeUpdated)||ge)&&kt(()=>{ve&&tn(ve,R,_,w),ge&&jn(_,w,R,"updated")},j)},M=(w,_,R,j,z,B,X)=>{for(let re=0;re<_.length;re++){const ne=w[re],G=_[re],ge=ne.el&&(ne.type===Rt||!Qn(ne,G)||ne.shapeFlag&70)?d(ne.el):R;v(ne,G,ge,null,j,z,B,X,!0)}},U=(w,_,R,j,z)=>{if(_!==R){if(_!==Ie)for(const B in _)!er(B)&&!(B in R)&&l(w,B,_[B],null,z,j);for(const B in R){if(er(B))continue;const X=R[B],re=_[B];X!==re&&B!=="value"&&l(w,B,re,X,z,j)}"value"in R&&l(w,"value",_.value,R.value,z)}},C=(w,_,R,j,z,B,X,re,ne)=>{const G=_.el=w?w.el:s(""),ge=_.anchor=w?w.anchor:s("");let{patchFlag:se,dynamicChildren:me,slotScopeIds:ve}=_;ve&&(re=re?re.concat(ve):ve),w==null?(i(G,R,j),i(ge,R,j),Z(_.children||[],R,ge,z,B,X,re,ne)):se>0&&se&64&&me&&w.dynamicChildren?(M(w.dynamicChildren,me,R,z,B,X,re),(_.key!=null||z&&_===z.subTree)&&js(w,_,!0)):Q(w,_,R,ge,z,B,X,re,ne)},J=(w,_,R,j,z,B,X,re,ne)=>{_.slotScopeIds=re,w==null?_.shapeFlag&512?z.ctx.activate(_,R,j,X,ne):N(_,R,j,z,B,X,ne):le(w,_,ne)},N=(w,_,R,j,z,B,X)=>{const re=w.component=ym(w,j,z);if(Ll(w)&&(re.ctx.renderer=Y),wm(re,!1,X),re.asyncDep){if(z&&z.registerDep(re,te,X),!w.el){const ne=re.subTree=ee(At);T(null,ne,_,R)}}else te(re,w,_,R,z,B,X)},le=(w,_,R)=>{const j=_.component=w.component;if(cm(w,_,R))if(j.asyncDep&&!j.asyncResolved){oe(j,_,R);return}else j.next=_,j.update();else _.el=w.el,j.vnode=_},te=(w,_,R,j,z,B,X)=>{const re=()=>{if(w.isMounted){let{next:se,bu:me,u:ve,parent:qe,vnode:Oe}=w;{const Xe=Ad(w);if(Xe){se&&(se.el=Oe.el,oe(w,se,X)),Xe.asyncDep.then(()=>{w.isUnmounted||re()});return}}let Fe=se,ct;Hn(w,!1),se?(se.el=Oe.el,oe(w,se,X)):se=Oe,me&&ao(me),(ct=se.props&&se.props.onVnodeBeforeUpdate)&&tn(ct,qe,se,Oe),Hn(w,!0);const Ve=Ma(w),Ke=w.subTree;w.subTree=Ve,v(Ke,Ve,d(Ke.el),x(Ke),w,z,B),se.el=Ve.el,Fe===null&&dm(w,Ve.el),ve&&kt(ve,z),(ct=se.props&&se.props.onVnodeUpdated)&&kt(()=>tn(ct,qe,se,Oe),z)}else{let se;const{el:me,props:ve}=_,{bm:qe,m:Oe,parent:Fe,root:ct,type:Ve}=w,Ke=rr(_);Hn(w,!1),qe&&ao(qe),!Ke&&(se=ve&&ve.onVnodeBeforeMount)&&tn(se,Fe,_),Hn(w,!0);{ct.ce&&ct.ce._injectChildStyle(Ve);const Xe=w.subTree=Ma(w);v(null,Xe,R,j,w,z,B),_.el=Xe.el}if(Oe&&kt(Oe,z),!Ke&&(se=ve&&ve.onVnodeMounted)){const Xe=_;kt(()=>tn(se,Fe,Xe),z)}(_.shapeFlag&256||Fe&&rr(Fe.vnode)&&Fe.vnode.shapeFlag&256)&&w.a&&kt(w.a,z),w.isMounted=!0,_=R=j=null}};w.scope.on();const ne=w.effect=new Mc(re);w.scope.off();const G=w.update=ne.run.bind(ne),ge=w.job=ne.runIfDirty.bind(ne);ge.i=w,ge.id=w.uid,ne.scheduler=()=>Ms(ge),Hn(w,!0),G()},oe=(w,_,R)=>{_.component=w;const j=w.vnode.props;w.vnode=_,w.next=null,Qg(w,_.props,j,R),Yg(w,_.children,R),$n(),Ca(w),Nn()},Q=(w,_,R,j,z,B,X,re,ne=!1)=>{const G=w&&w.children,ge=w?w.shapeFlag:0,se=_.children,{patchFlag:me,shapeFlag:ve}=_;if(me>0){if(me&128){pe(G,se,R,j,z,B,X,re,ne);return}else if(me&256){ae(G,se,R,j,z,B,X,re,ne);return}}ve&8?(ge&16&&F(G,z,B),se!==G&&u(R,se)):ge&16?ve&16?pe(G,se,R,j,z,B,X,re,ne):F(G,z,B,!0):(ge&8&&u(R,""),ve&16&&Z(se,R,j,z,B,X,re,ne))},ae=(w,_,R,j,z,B,X,re,ne)=>{w=w||xi,_=_||xi;const G=w.length,ge=_.length,se=Math.min(G,ge);let me;for(me=0;me<se;me++){const ve=_[me]=ne?qn(_[me]):on(_[me]);v(w[me],ve,R,null,z,B,X,re,ne)}G>ge?F(w,z,B,!0,!1,se):Z(_,R,j,z,B,X,re,ne,se)},pe=(w,_,R,j,z,B,X,re,ne)=>{let G=0;const ge=_.length;let se=w.length-1,me=ge-1;for(;G<=se&&G<=me;){const ve=w[G],qe=_[G]=ne?qn(_[G]):on(_[G]);if(Qn(ve,qe))v(ve,qe,R,null,z,B,X,re,ne);else break;G++}for(;G<=se&&G<=me;){const ve=w[se],qe=_[me]=ne?qn(_[me]):on(_[me]);if(Qn(ve,qe))v(ve,qe,R,null,z,B,X,re,ne);else break;se--,me--}if(G>se){if(G<=me){const ve=me+1,qe=ve<ge?_[ve].el:j;for(;G<=me;)v(null,_[G]=ne?qn(_[G]):on(_[G]),R,qe,z,B,X,re,ne),G++}}else if(G>me)for(;G<=se;)m(w[G],z,B,!0),G++;else{const ve=G,qe=G,Oe=new Map;for(G=qe;G<=me;G++){const st=_[G]=ne?qn(_[G]):on(_[G]);st.key!=null&&Oe.set(st.key,G)}let Fe,ct=0;const Ve=me-qe+1;let Ke=!1,Xe=0;const cn=new Array(Ve);for(G=0;G<Ve;G++)cn[G]=0;for(G=ve;G<=se;G++){const st=w[G];if(ct>=Ve){m(st,z,B,!0);continue}let St;if(st.key!=null)St=Oe.get(st.key);else for(Fe=qe;Fe<=me;Fe++)if(cn[Fe-qe]===0&&Qn(st,_[Fe])){St=Fe;break}St===void 0?m(st,z,B,!0):(cn[St-qe]=G+1,St>=Xe?Xe=St:Ke=!0,v(st,_[St],R,null,z,B,X,re,ne),ct++)}const dn=Ke?nm(cn):xi;for(Fe=dn.length-1,G=Ve-1;G>=0;G--){const st=qe+G,St=_[st],fn=st+1<ge?_[st+1].el:j;cn[G]===0?v(null,St,R,fn,z,B,X,re,ne):Ke&&(Fe<0||G!==dn[Fe]?P(St,R,fn,2):Fe--)}}},P=(w,_,R,j,z=null)=>{const{el:B,type:X,transition:re,children:ne,shapeFlag:G}=w;if(G&6){P(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===Rt){i(B,_,R);for(let se=0;se<ne.length;se++)P(ne[se],_,R,j);i(w.anchor,_,R);return}if(X===vo){E(w,_,R);return}if(j!==2&&G&1&&re)if(j===0)re.beforeEnter(B),i(B,_,R),kt(()=>re.enter(B),z);else{const{leave:se,delayLeave:me,afterLeave:ve}=re,qe=()=>i(B,_,R),Oe=()=>{se(B,()=>{qe(),ve&&ve()})};me?me(B,qe,Oe):Oe()}else i(B,_,R)},m=(w,_,R,j=!1,z=!1)=>{const{type:B,props:X,ref:re,children:ne,dynamicChildren:G,shapeFlag:ge,patchFlag:se,dirs:me,cacheIndex:ve}=w;if(se===-2&&(z=!1),re!=null&&ol(re,null,R,w,!0),ve!=null&&(_.renderCache[ve]=void 0),ge&256){_.ctx.deactivate(w);return}const qe=ge&1&&me,Oe=!rr(w);let Fe;if(Oe&&(Fe=X&&X.onVnodeBeforeUnmount)&&tn(Fe,_,w),ge&6)ie(w.component,R,j);else{if(ge&128){w.suspense.unmount(R,j);return}qe&&jn(w,null,_,"beforeUnmount"),ge&64?w.type.remove(w,_,R,Y,j):G&&!G.hasOnce&&(B!==Rt||se>0&&se&64)?F(G,_,R,!1,!0):(B===Rt&&se&384||!z&&ge&16)&&F(ne,_,R),j&&$(w)}(Oe&&(Fe=X&&X.onVnodeUnmounted)||qe)&&kt(()=>{Fe&&tn(Fe,_,w),qe&&jn(w,null,_,"unmounted")},R)},$=w=>{const{type:_,el:R,anchor:j,transition:z}=w;if(_===Rt){D(R,j);return}if(_===vo){q(w);return}const B=()=>{r(R),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(w.shapeFlag&1&&z&&!z.persisted){const{leave:X,delayLeave:re}=z,ne=()=>X(R,B);re?re(w.el,B,ne):ne()}else B()},D=(w,_)=>{let R;for(;w!==_;)R=f(w),r(w),w=R;r(_)},ie=(w,_,R)=>{const{bum:j,scope:z,job:B,subTree:X,um:re,m:ne,a:G}=w;Da(ne),Da(G),j&&ao(j),z.stop(),B&&(B.flags|=8,m(X,w,_,R)),re&&kt(re,_),kt(()=>{w.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},F=(w,_,R,j=!1,z=!1,B=0)=>{for(let X=B;X<w.length;X++)m(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=_&&_[ld];return R?f(R):_};let K=!1;const O=(w,_,R)=>{w==null?_._vnode&&m(_._vnode,null,null,!0):v(_._vnode||null,w,_,null,null,null,R),_._vnode=w,K||(K=!0,Ca(),nd(),K=!1)},Y={p:v,um:m,m:P,r:$,mt:N,mc:Z,pc:Q,pbc:M,n:x,o:e};return{render:O,hydrate:void 0,createApp:Kg(O)}}function po({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 Hn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function tm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function js(e,t,n=!1){const i=e.children,r=t.children;if(Se(i)&&Se(r))for(let l=0;l<i.length;l++){const o=i[l];let s=r[l];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=r[l]=qn(r[l]),s.el=o.el),!n&&s.patchFlag!==-2&&js(o,s)),s.type===Il&&(s.el=o.el)}}function nm(e){const t=e.slice(),n=[0];let i,r,l,o,s;const a=e.length;for(i=0;i<a;i++){const c=e[i];if(c!==0){if(r=n[n.length-1],e[r]<c){t[i]=r,n.push(i);continue}for(l=0,o=n.length-1;l<o;)s=l+o>>1,e[n[s]]<c?l=s+1:o=s;c<e[n[l]]&&(l>0&&(t[i]=n[l-1]),n[l]=i)}}for(l=n.length,o=n[l-1];l-- >0;)n[l]=o,o=t[o];return n}function Ad(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ad(t)}function Da(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const im=Symbol.for("v-scx"),rm=()=>Vt(im);function ye(e,t,n){return Pd(e,t,n)}function Pd(e,t,n=Ie){const{immediate:i,deep:r,flush:l,once:o}=n,s=ut({},n),a=t&&i||!t&&l!=="post";let c;if(pr){if(l==="sync"){const h=rm();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=an,h.resume=an,h.pause=an,h}}const u=mt;s.call=(h,g,v)=>Xt(h,u,g,v);let d=!1;l==="post"?s.scheduler=h=>{kt(h,u&&u.suspense)}:l!=="sync"&&(d=!0,s.scheduler=(h,g)=>{g?h():Ms(h)}),s.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const f=xg(e,t,s);return pr&&(c?c.push(f):a&&f()),f}function lm(e,t,n){const i=this.proxy,r=Ze(e)?e.includes(".")?Od(i,e):()=>i[e]:e.bind(i,i);let l;Ce(t)?l=t:(l=t.handler,n=t);const o=Er(this),s=Pd(r,l.bind(i),n);return o(),s}function Od(e,t){const n=t.split(".");return()=>{let i=e;for(let r=0;r<n.length&&i;r++)i=i[n[r]];return i}}const om=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${jt(t)}Modifiers`]||e[`${Bn(t)}Modifiers`];function sm(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||Ie;let r=n;const l=t.startsWith("update:"),o=l&&om(i,t.slice(7));o&&(o.trim&&(r=n.map(u=>Ze(u)?u.trim():u)),o.number&&(r=n.map(Hh)));let s,a=i[s=so(t)]||i[s=so(jt(t))];!a&&l&&(a=i[s=so(Bn(t))]),a&&Xt(a,e,6,r);const c=i[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Xt(c,e,6,r)}}function Fd(e,t,n=!1){const i=t.emitsCache,r=i.get(e);if(r!==void 0)return r;const l=e.emits;let o={},s=!1;if(!Ce(e)){const a=c=>{const u=Fd(c,t,!0);u&&(s=!0,ut(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!l&&!s?(Ue(e)&&i.set(e,null),null):(Se(l)?l.forEach(a=>o[a]=null):ut(o,l),Ue(e)&&i.set(e,o),o)}function Nl(e,t){return!e||!El(t)?!1:(t=t.slice(2).replace(/Once$/,""),Me(e,t[0].toLowerCase()+t.slice(1))||Me(e,Bn(t))||Me(e,t))}function Ma(e){const{type:t,vnode:n,proxy:i,withProxy:r,propsOptions:[l],slots:o,attrs:s,emit:a,render:c,renderCache:u,props:d,data:f,setupState:h,ctx:g,inheritAttrs:v}=e,p=ll(e);let T,S;try{if(n.shapeFlag&4){const q=r||i,L=q;T=on(c.call(L,q,u,d,h,f,g)),S=s}else{const q=t;T=on(q.length>1?q(d,{attrs:s,slots:o,emit:a}):q(d,null)),S=t.props?s:am(s)}}catch(q){or.length=0,Fl(q,e,1),T=ee(At)}let E=T;if(S&&v!==!1){const q=Object.keys(S),{shapeFlag:L}=E;q.length&&L&7&&(l&&q.some(ks)&&(S=um(S,l)),E=Fn(E,S,!1,!0))}return n.dirs&&(E=Fn(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&li(E,n.transition),T=E,ll(p),T}const am=e=>{let t;for(const n in e)(n==="class"||n==="style"||El(n))&&((t||(t={}))[n]=e[n]);return t},um=(e,t)=>{const n={};for(const i in e)(!ks(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function cm(e,t,n){const{props:i,children:r,component:l}=e,{props:o,children:s,patchFlag:a}=t,c=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return i?Ba(i,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(o[f]!==i[f]&&!Nl(c,f))return!0}}}else return(r||s)&&(!s||!s.$stable)?!0:i===o?!1:i?o?Ba(i,o,c):!0:!!o;return!1}function Ba(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let r=0;r<i.length;r++){const l=i[r];if(t[l]!==e[l]&&!Nl(n,l))return!0}return!1}function dm({vnode:e,parent:t},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ld=e=>e.__isSuspense;function fm(e,t){t&&t.pendingBranch?Se(e)?t.effects.push(...e):t.effects.push(e):Eg(e)}const Rt=Symbol.for("v-fgt"),Il=Symbol.for("v-txt"),At=Symbol.for("v-cmt"),vo=Symbol.for("v-stc"),or=[];let Mt=null;function Le(e=!1){or.push(Mt=e?null:[])}function hm(){or.pop(),Mt=or[or.length-1]||null}let mr=1;function $a(e,t=!1){mr+=e,e<0&&Mt&&t&&(Mt.hasOnce=!0)}function Dd(e){return e.dynamicChildren=mr>0?Mt||xi:null,hm(),mr>0&&Mt&&Mt.push(e),e}function Kt(e,t,n,i,r,l){return Dd(_e(e,t,n,i,r,l,!0))}function Ye(e,t,n,i,r){return Dd(ee(e,t,n,i,r,!0))}function al(e){return e?e.__v_isVNode===!0:!1}function Qn(e,t){return e.type===t.type&&e.key===t.key}const Md=({key:e})=>e??null,Wr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ze(e)||_t(e)||Ce(e)?{i:Ft,r:e,k:t,f:!!n}:e:null);function _e(e,t=null,n=null,i=0,r=null,l=e===Rt?0:1,o=!1,s=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Md(t),ref:t&&Wr(t),scopeId:rd,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:l,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ft};return s?(Hs(a,n),l&128&&e.normalize(a)):n&&(a.shapeFlag|=Ze(n)?8:16),mr>0&&!o&&Mt&&(a.patchFlag>0||l&6)&&a.patchFlag!==32&&Mt.push(a),a}const ee=gm;function gm(e,t=null,n=null,i=0,r=null,l=!1){if((!e||e===Bg)&&(e=At),al(e)){const s=Fn(e,t,!0);return n&&Hs(s,n),mr>0&&!l&&Mt&&(s.shapeFlag&6?Mt[Mt.indexOf(e)]=s:Mt.push(s)),s.patchFlag=-2,s}if(km(e)&&(e=e.__vccOpts),t){t=mm(t);let{class:s,style:a}=t;s&&!Ze(s)&&(t.class=Pl(s)),Ue(a)&&(Ds(a)&&!Se(a)&&(a=ut({},a)),t.style=Ts(a))}const o=Ze(e)?1:Ld(e)?128:od(e)?64:Ue(e)?4:Ce(e)?2:0;return _e(e,t,n,i,r,o,l,!0)}function mm(e){return e?Ds(e)||xd(e)?ut({},e):e:null}function Fn(e,t,n=!1,i=!1){const{props:r,ref:l,patchFlag:o,children:s,transition:a}=e,c=t?pm(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Md(c),ref:t&&t.ref?n&&l?Se(l)?l.concat(Wr(t)):[l,Wr(t)]:Wr(t):l,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!==Rt?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Fn(e.ssContent),ssFallback:e.ssFallback&&Fn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&i&&li(u,a.clone(u)),u}function Ct(e=" ",t=0){return ee(Il,null,e,t)}function lt(e="",t=!1){return t?(Le(),Ye(At,null,e)):ee(At,null,e)}function on(e){return e==null||typeof e=="boolean"?ee(At):Se(e)?ee(Rt,null,e.slice()):al(e)?qn(e):ee(Il,null,String(e))}function qn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Fn(e)}function Hs(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(Se(t))n=16;else if(typeof t=="object")if(i&65){const r=t.default;r&&(r._c&&(r._d=!1),Hs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!xd(t)?t._ctx=Ft:r===3&&Ft&&(Ft.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ce(t)?(t={default:t,_ctx:Ft},n=32):(t=String(t),i&64?(n=16,t=[Ct(t)]):n=8);e.children=t,e.shapeFlag|=n}function pm(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const r in i)if(r==="class")t.class!==i.class&&(t.class=Pl([t.class,i.class]));else if(r==="style")t.style=Ts([t.style,i.style]);else if(El(r)){const l=t[r],o=i[r];o&&l!==o&&!(Se(l)&&l.includes(o))&&(t[r]=l?[].concat(l,o):o)}else r!==""&&(t[r]=i[r])}return t}function tn(e,t,n,i=null){Xt(e,t,7,[n,i])}const vm=wd();let bm=0;function ym(e,t,n){const i=e.type,r=(t?t.appContext:e.appContext)||vm,l={uid:bm++,vnode:e,type:i,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Dc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:kd(i,r),emitsOptions:Fd(i,r),emit:null,emitted:null,propsDefaults:Ie,inheritAttrs:i.inheritAttrs,ctx:Ie,data:Ie,props:Ie,attrs:Ie,slots:Ie,refs:Ie,setupState:Ie,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 l.ctx={_:l},l.root=t?t.root:l,l.emit=sm.bind(null,l),e.ce&&e.ce(l),l}let mt=null;const Ae=()=>mt||Ft;let ul,ts;{const e=Al(),t=(n,i)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(i),l=>{r.length>1?r.forEach(o=>o(l)):r[0](l)}};ul=t("__VUE_INSTANCE_SETTERS__",n=>mt=n),ts=t("__VUE_SSR_SETTERS__",n=>pr=n)}const Er=e=>{const t=mt;return ul(e),e.scope.on(),()=>{e.scope.off(),ul(t)}},Na=()=>{mt&&mt.scope.off(),ul(null)};function Bd(e){return e.vnode.shapeFlag&4}let pr=!1;function wm(e,t=!1,n=!1){t&&ts(t);const{props:i,children:r}=e.vnode,l=Bd(e);Wg(e,i,l,t),Xg(e,r,n);const o=l?_m(e,t):void 0;return t&&ts(!1),o}function _m(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ng);const{setup:i}=n;if(i){$n();const r=e.setupContext=i.length>1?xm(e):null,l=Er(e),o=kr(i,e,0,[e.props,r]),s=Tc(o);if(Nn(),l(),(s||e.sp)&&!rr(e)&&gd(e),s){if(o.then(Na,Na),t)return o.then(a=>{Ia(e,a)}).catch(a=>{Fl(a,e,0)});e.asyncDep=o}else Ia(e,o)}else $d(e)}function Ia(e,t,n){Ce(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ue(t)&&(e.setupState=Zc(t)),$d(e)}function $d(e,t,n){const i=e.type;e.render||(e.render=i.render||an);{const r=Er(e);$n();try{Ig(e)}finally{Nn(),r()}}}const Sm={get(e,t){return bt(e,"get",""),e[t]}};function xm(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Sm),slots:e.slots,emit:e.emit,expose:t}}function Vl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zc(Bi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in lr)return lr[n](e)},has(t,n){return n in t||n in lr}})):e.proxy}function Cm(e,t=!0){return Ce(e)?e.displayName||e.name:e.name||t&&e.__name}function km(e){return Ce(e)&&"__vccOpts"in e}const y=(e,t)=>_g(e,t,pr);function b(e,t,n){const i=arguments.length;return i===2?Ue(t)&&!Se(t)?al(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&al(n)&&(n=[n]),ee(e,t,n))}const Em="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 ns;const Va=typeof window<"u"&&window.trustedTypes;if(Va)try{ns=Va.createPolicy("vue",{createHTML:e=>e})}catch{}const Nd=ns?e=>ns.createHTML(e):e=>e,qm="http://www.w3.org/2000/svg",Tm="http://www.w3.org/1998/Math/MathML",mn=typeof document<"u"?document:null,ja=mn&&mn.createElement("template"),Rm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const r=t==="svg"?mn.createElementNS(qm,e):t==="mathml"?mn.createElementNS(Tm,e):n?mn.createElement(e,{is:n}):mn.createElement(e);return e==="select"&&i&&i.multiple!=null&&r.setAttribute("multiple",i.multiple),r},createText:e=>mn.createTextNode(e),createComment:e=>mn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>mn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,r,l){const o=n?n.previousSibling:t.lastChild;if(r&&(r===l||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===l||!(r=r.nextSibling)););else{ja.innerHTML=Nd(i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e);const s=ja.content;if(i==="svg"||i==="mathml"){const a=s.firstChild;for(;a.firstChild;)s.appendChild(a.firstChild);s.removeChild(a)}t.insertBefore(s,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Sn="transition",Hi="animation",Ai=Symbol("_vtc"),Id={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},Vd=ut({},cd,Id),Am=e=>(e.displayName="Transition",e.props=Vd,e),Ln=Am((e,{slots:t})=>b(Ag,jd(e),t)),zn=(e,t=[])=>{Se(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ha=e=>e?Se(e)?e.some(t=>t.length>1):e.length>1:!1;function jd(e){const t={};for(const C in e)C in Id||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:i,duration:r,enterFromClass:l=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:a=l,appearActiveClass:c=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=Pm(r),v=g&&g[0],p=g&&g[1],{onBeforeEnter:T,onEnter:S,onEnterCancelled:E,onLeave:q,onLeaveCancelled:L,onBeforeAppear:V=T,onAppear:W=S,onAppearCancelled:Z=E}=t,A=(C,J,N,le)=>{C._enterCancelled=le,Cn(C,J?u:s),Cn(C,J?c:o),N&&N()},M=(C,J)=>{C._isLeaving=!1,Cn(C,d),Cn(C,h),Cn(C,f),J&&J()},U=C=>(J,N)=>{const le=C?W:S,te=()=>A(J,C,N);zn(le,[J,te]),za(()=>{Cn(J,C?a:l),rn(J,C?u:s),Ha(le)||Ua(J,i,v,te)})};return ut(t,{onBeforeEnter(C){zn(T,[C]),rn(C,l),rn(C,o)},onBeforeAppear(C){zn(V,[C]),rn(C,a),rn(C,c)},onEnter:U(!1),onAppear:U(!0),onLeave(C,J){C._isLeaving=!0;const N=()=>M(C,J);rn(C,d),C._enterCancelled?(rn(C,f),is()):(is(),rn(C,f)),za(()=>{C._isLeaving&&(Cn(C,d),rn(C,h),Ha(q)||Ua(C,i,p,N))}),zn(q,[C,N])},onEnterCancelled(C){A(C,!1,void 0,!0),zn(E,[C])},onAppearCancelled(C){A(C,!0,void 0,!0),zn(Z,[C])},onLeaveCancelled(C){M(C),zn(L,[C])}})}function Pm(e){if(e==null)return null;if(Ue(e))return[bo(e.enter),bo(e.leave)];{const t=bo(e);return[t,t]}}function bo(e){return zh(e)}function rn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ai]||(e[Ai]=new Set)).add(t)}function Cn(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const n=e[Ai];n&&(n.delete(t),n.size||(e[Ai]=void 0))}function za(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Om=0;function Ua(e,t,n,i){const r=e._endId=++Om,l=()=>{r===e._endId&&i()};if(n!=null)return setTimeout(l,n);const{type:o,timeout:s,propCount:a}=Hd(e,t);if(!o)return i();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,f),l()},f=h=>{h.target===e&&++u>=a&&d()};setTimeout(()=>{u<a&&d()},s+1),e.addEventListener(c,f)}function Hd(e,t){const n=window.getComputedStyle(e),i=g=>(n[g]||"").split(", "),r=i(`${Sn}Delay`),l=i(`${Sn}Duration`),o=Ka(r,l),s=i(`${Hi}Delay`),a=i(`${Hi}Duration`),c=Ka(s,a);let u=null,d=0,f=0;t===Sn?o>0&&(u=Sn,d=o,f=l.length):t===Hi?c>0&&(u=Hi,d=c,f=a.length):(d=Math.max(o,c),u=d>0?o>c?Sn:Hi:null,f=u?u===Sn?l.length:a.length:0);const h=u===Sn&&/\b(transform|all)(,|$)/.test(i(`${Sn}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function Ka(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,i)=>Wa(n)+Wa(e[i])))}function Wa(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function is(){return document.body.offsetHeight}function Fm(e,t,n){const i=e[Ai];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const cl=Symbol("_vod"),zd=Symbol("_vsh"),Lm={beforeMount(e,{value:t},{transition:n}){e[cl]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):zi(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),zi(e,!0),i.enter(e)):i.leave(e,()=>{zi(e,!1)}):zi(e,t))},beforeUnmount(e,{value:t}){zi(e,t)}};function zi(e,t){e.style.display=t?e[cl]:"none",e[zd]=!t}const Dm=Symbol(""),Mm=/(^|;)\s*display\s*:/;function Bm(e,t,n){const i=e.style,r=Ze(n);let l=!1;if(n&&!r){if(t)if(Ze(t))for(const o of t.split(";")){const s=o.slice(0,o.indexOf(":")).trim();n[s]==null&&Qr(i,s,"")}else for(const o in t)n[o]==null&&Qr(i,o,"");for(const o in n)o==="display"&&(l=!0),Qr(i,o,n[o])}else if(r){if(t!==n){const o=i[Dm];o&&(n+=";"+o),i.cssText=n,l=Mm.test(n)}}else t&&e.removeAttribute("style");cl in e&&(e[cl]=l?i.display:"",e[zd]&&(i.display="none"))}const Qa=/\s*!important$/;function Qr(e,t,n){if(Se(n))n.forEach(i=>Qr(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=$m(e,t);Qa.test(n)?e.setProperty(Bn(i),n.replace(Qa,""),"important"):e[i]=n}}const Ga=["Webkit","Moz","ms"],yo={};function $m(e,t){const n=yo[t];if(n)return n;let i=jt(t);if(i!=="filter"&&i in e)return yo[t]=i;i=Rl(i);for(let r=0;r<Ga.length;r++){const l=Ga[r]+i;if(l in e)return yo[t]=l}return t}const Ja="http://www.w3.org/1999/xlink";function Xa(e,t,n,i,r,l=Jh(t)){i&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ja,t.slice(6,t.length)):e.setAttributeNS(Ja,t,n):n==null||l&&!Oc(n)?e.removeAttribute(t):e.setAttribute(t,l?"":Mn(n)?String(n):n)}function Ya(e,t,n,i,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Nd(n):n);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const s=l==="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 o=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=Oc(n):n==null&&s==="string"?(n="",o=!0):s==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function Nm(e,t,n,i){e.addEventListener(t,n,i)}function Im(e,t,n,i){e.removeEventListener(t,n,i)}const Za=Symbol("_vei");function Vm(e,t,n,i,r=null){const l=e[Za]||(e[Za]={}),o=l[t];if(i&&o)o.value=i;else{const[s,a]=jm(t);if(i){const c=l[t]=Um(i,r);Nm(e,s,c,a)}else o&&(Im(e,s,o,a),l[t]=void 0)}}const eu=/(?:Once|Passive|Capture)$/;function jm(e){let t;if(eu.test(e)){t={};let i;for(;i=e.match(eu);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Bn(e.slice(2)),t]}let wo=0;const Hm=Promise.resolve(),zm=()=>wo||(Hm.then(()=>wo=0),wo=Date.now());function Um(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Xt(Km(i,n.value),t,5,[i])};return n.value=e,n.attached=zm(),n}function Km(e,t){if(Se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>r=>!r._stopped&&i&&i(r))}else return t}const tu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wm=(e,t,n,i,r,l)=>{const o=r==="svg";t==="class"?Fm(e,i,o):t==="style"?Bm(e,n,i):El(t)?ks(t)||Vm(e,t,n,i,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Qm(e,t,i,o))?(Ya(e,t,i),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Xa(e,t,i,o,l,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ze(i))?Ya(e,jt(t),i,l,t):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),Xa(e,t,i,o))};function Qm(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&tu(t)&&Ce(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return tu(t)&&Ze(n)?!1:t in e}const Ud=new WeakMap,Kd=new WeakMap,dl=Symbol("_moveCb"),nu=Symbol("_enterCb"),Gm=e=>(delete e.props.mode,e),Jm=Gm({name:"TransitionGroup",props:ut({},Vd,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ae(),i=ud();let r,l;return Ns(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!tp(r[0].el,n.vnode.el,o))return;r.forEach(Ym),r.forEach(Zm);const s=r.filter(ep);is(),s.forEach(a=>{const c=a.el,u=c.style;rn(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[dl]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[dl]=null,Cn(c,o))};c.addEventListener("transitionend",d)})}),()=>{const o=Ee(e),s=jd(o);let a=o.tag||Rt;if(r=[],l)for(let c=0;c<l.length;c++){const u=l[c];u.el&&u.el instanceof Element&&(r.push(u),li(u,gr(u,s,i,n)),Ud.set(u,u.el.getBoundingClientRect()))}l=t.default?Bs(t.default()):[];for(let c=0;c<l.length;c++){const u=l[c];u.key!=null&&li(u,gr(u,s,i,n))}return ee(a,null,l)}}}),Xm=Jm;function Ym(e){const t=e.el;t[dl]&&t[dl](),t[nu]&&t[nu]()}function Zm(e){Kd.set(e,e.el.getBoundingClientRect())}function ep(e){const t=Ud.get(e),n=Kd.get(e),i=t.left-n.left,r=t.top-n.top;if(i||r){const l=e.el.style;return l.transform=l.webkitTransform=`translate(${i}px,${r}px)`,l.transitionDuration="0s",e}}function tp(e,t,n){const i=e.cloneNode(),r=e[Ai];r&&r.forEach(s=>{s.split(/\s+/).forEach(a=>a&&i.classList.remove(a))}),n.split(/\s+/).forEach(s=>s&&i.classList.add(s)),i.style.display="none";const l=t.nodeType===1?t:t.parentNode;l.appendChild(i);const{hasTransform:o}=Hd(i);return l.removeChild(i),o}const np=["ctrl","shift","alt","meta"],ip={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)=>np.some(n=>e[`${n}Key`]&&!t.includes(n))},iu=(e,t)=>{const n=e._withMods||(e._withMods={}),i=t.join(".");return n[i]||(n[i]=(r,...l)=>{for(let o=0;o<t.length;o++){const s=ip[t[o]];if(s&&s(r,t))return}return e(r,...l)})},rp={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},lp=(e,t)=>{const n=e._withKeys||(e._withKeys={}),i=t.join(".");return n[i]||(n[i]=r=>{if(!("key"in r))return;const l=Bn(r.key);if(t.some(o=>o===l||rp[o]===l))return e(r)})},op=ut({patchProp:Wm},Rm);let ru;function sp(){return ru||(ru=Zg(op))}const Wd=(...e)=>{const t=sp().createApp(...e),{mount:n}=t;return t.mount=i=>{const r=up(i);if(!r)return;const l=t._component;!Ce(l)&&!l.render&&!l.template&&(l.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,ap(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function ap(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function up(e){return Ze(e)?document.querySelector(e):e}function Pt(e,t,n,i){return Object.defineProperty(e,t,{get:n,set:i,enumerable:!0}),e}function cp(e,t){for(const n in t)Pt(e,n,t[n]);return e}const Dn=ce(!1);let rs;function dp(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 fp(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 Qd="ontouchstart"in window||window.navigator.maxTouchPoints>0;function hp(e){const t=e.toLowerCase(),n=fp(t),i=dp(t,n),r={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};i.browser&&(r[i.browser]=!0,r.version=i.version,r.versionNumber=parseInt(i.version,10)),i.platform&&(r[i.platform]=!0);const l=r.android||r.ios||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r["windows phone"];if(l===!0||t.indexOf("mobile")!==-1?r.mobile=!0:r.desktop=!0,r["windows phone"]&&(r.winphone=!0,delete r["windows phone"]),r.edga||r.edgios||r.edg?(r.edge=!0,i.browser="edge"):r.crios?(r.chrome=!0,i.browser="chrome"):r.fxios&&(r.firefox=!0,i.browser="firefox"),(r.ipod||r.ipad||r.iphone)&&(r.ios=!0),r.vivaldi&&(i.browser="vivaldi",r.vivaldi=!0),(r.chrome||r.opr||r.safari||r.vivaldi||r.mobile===!0&&r.ios!==!0&&l!==!0)&&(r.webkit=!0),r.opr&&(i.browser="opera",r.opera=!0),r.safari&&(r.blackberry||r.bb?(i.browser="blackberry",r.blackberry=!0):r.playbook?(i.browser="playbook",r.playbook=!0):r.android?(i.browser="android",r.android=!0):r.kindle?(i.browser="kindle",r.kindle=!0):r.silk&&(i.browser="silk",r.silk=!0)),r.name=i.browser,r.platform=i.platform,t.indexOf("electron")!==-1)r.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)r.bex=!0;else{if(window.Capacitor!==void 0?(r.capacitor=!0,r.nativeMobile=!0,r.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(r.cordova=!0,r.nativeMobile=!0,r.nativeMobileWrapper="cordova"),Dn.value===!0&&(rs={is:{...r}}),Qd===!0&&r.mac===!0&&(r.desktop===!0&&r.safari===!0||r.nativeMobile===!0&&r.android!==!0&&r.ios!==!0&&r.ipad!==!0)){delete r.mac,delete r.desktop;const o=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(r,{mobile:!0,ios:!0,platform:o,[o]:!0})}r.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete r.desktop,r.mobile=!0)}return r}const lu=navigator.userAgent||navigator.vendor||window.opera,gp={has:{touch:!1,webStorage:!1},within:{iframe:!1}},ot={userAgent:lu,is:hp(lu),has:{touch:Qd},within:{iframe:window.self!==window.top}},fl={install(e){const{$q:t}=e;Dn.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,ot),Dn.value=!1}),t.platform=Mi(this)):t.platform=this}};{let e;Pt(ot.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(fl,ot),Dn.value===!0&&(Object.assign(fl,rs,gp),rs=null)}function Pe(e){return Bi($s(e))}function Gd(e){return Bi(e)}const qr=(e,t)=>{const n=Mi(e);for(const i in e)Pt(t,i,()=>n[i],r=>{n[i]=r});return t},gt={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(gt,{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 Pi(){}function Jd(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 mp(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 sn(e){e.stopPropagation()}function Qt(e){e.cancelable!==!1&&e.preventDefault()}function Qe(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function vr(e,t,n){const i=`__q_${t}_evt`;e[i]=e[i]!==void 0?e[i].concat(n):n,n.forEach(r=>{r[0].addEventListener(r[1],e[r[2]],gt[r[3]])})}function hl(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(i=>{i[0].removeEventListener(i[1],e[i[2]],gt[i[3]])}),e[n]=void 0)}function zs(e,t=250,n){let i=null;function r(){const l=arguments,o=()=>{i=null,e.apply(this,l)};i!==null&&clearTimeout(i),i=setTimeout(o,t)}return r.cancel=()=>{i!==null&&clearTimeout(i)},r}const _o=["sm","md","lg","xl"],{passive:ou}=gt,pp=qr({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:Pi,setDebounce:Pi,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,i=n||window,r=document.scrollingElement||document.documentElement,l=n===void 0||ot.is.mobile===!0?()=>[Math.max(window.innerWidth,r.clientWidth),Math.max(window.innerHeight,r.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-r.clientWidth,n.height*n.scale+window.innerHeight-r.clientHeight],o=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=d=>{const[f,h]=l();if(h!==this.height&&(this.height=h),f!==this.width)this.width=f;else if(d!==!0)return;let g=this.sizes;this.gt.xs=f>=g.sm,this.gt.sm=f>=g.md,this.gt.md=f>=g.lg,this.gt.lg=f>=g.xl,this.lt.sm=f<g.sm,this.lt.md=f<g.md,this.lt.lg=f<g.lg,this.lt.xl=f<g.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,g=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",g!==this.name&&(o===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${g}`)),this.name=g)};let s,a={},c=16;this.setSizes=d=>{_o.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")&&_o.forEach(f=>{this.sizes[f]=parseInt(d.getPropertyValue(`--q-size-${f}`),10)}),this.setSizes=f=>{_o.forEach(h=>{f[h]&&(this.sizes[h]=f[h])}),this.__update(!0)},this.setDebounce=f=>{s!==void 0&&i.removeEventListener("resize",s,ou),s=f>0?zs(this.__update,f):this.__update,i.addEventListener("resize",s,ou)},this.setDebounce(c),Object.keys(a).length!==0?(this.setSizes(a),a=void 0):this.__update(),o===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};Dn.value===!0?t.push(u):u()}}),vt=qr({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 vp(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 Xd=!1;function bp(e){Xd=e.isComposing===!0}function jl(e){return Xd===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function wn(e,t){return jl(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Yd(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function yp({is:e,has:t,within:n},i){const r=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const l=Yd(e);l!==void 0&&r.push("platform-"+l)}if(e.nativeMobile===!0){const l=e.nativeMobileWrapper;r.push(l),r.push("native-mobile"),e.ios===!0&&(i[l]===void 0||i[l].iosStatusBarPadding!==!1)&&r.push("q-ios-padding")}else e.electron===!0?r.push("electron"):e.bex===!0&&r.push("bex");return n.iframe===!0&&r.push("within-iframe"),r}function wp(){const{is:e}=ot,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 r=Yd(e);r!==void 0&&n.add(`platform-${r}`)}}ot.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),ot.within.iframe===!0&&n.add("within-iframe");const i=Array.from(n).join(" ");t!==i&&(document.body.className=i)}function _p(e){for(const t in e)vp(t,e[t])}const Sp={install(e){if(this.__installed!==!0){if(Dn.value===!0)wp();else{const{$q:t}=e;t.config.brand!==void 0&&_p(t.config.brand);const n=yp(ot,t.config);document.body.classList.add.apply(document.body.classList,n)}ot.is.ios===!0&&document.body.addEventListener("touchstart",Pi),window.addEventListener("keydown",bp,!0)}}},Zd=()=>!0;function xp(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Cp(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 kp(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Zd;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(xp).map(Cp)),()=>t.includes(window.location.hash)}const br={__history:[],add:Pi,remove:Pi,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=ot.is;if(t!==!0&&n!==!0)return;const i=e.config[t===!0?"cordova":"capacitor"];if(i!==void 0&&i.backButton===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=o=>{o.condition===void 0&&(o.condition=Zd),this.__history.push(o)},this.remove=o=>{const s=this.__history.indexOf(o);s>=0&&this.__history.splice(s,1)};const r=kp(Object.assign({backButtonExit:!0},i)),l=()=>{if(this.__history.length){const o=this.__history[this.__history.length-1];o.condition()===!0&&(this.__history.pop(),o.handler())}else r()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",l,!1)}):window.Capacitor.Plugins.App.addListener("backButton",l)}},su={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 au(){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 Tn=qr({__qLang:{}},{getLocale:au,set(e=su,t){const n={...e,rtl:e.rtl===!0,getLocale:au};{if(n.set=Tn.set,Tn.__langConfig===void 0||Tn.__langConfig.noHtmlAttrs!==!0){const i=document.documentElement;i.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),i.setAttribute("lang",n.isoName)}Object.assign(Tn.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=Tn.__qLang,Tn.__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(i){return Reflect.ownKeys(i).filter(r=>r!=="set"&&r!=="getLocale")}}),this.set(t||su))}}),Ep={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"}},gl=qr({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=gl.set,Object.assign(gl.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,Pt(e,"iconMapFn",()=>this.iconMapFn,i=>{this.iconMapFn=i}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(i){return Reflect.ownKeys(i).filter(r=>r!=="set")}}),this.set(t||Ep))}}),qp="_q_",Tp="_q_l_",Rp="_q_pc_",Ap="_q_fo_";function mi(){}const ml={};let ef=!1;function Pp(){ef=!0}function An(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,i;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(i=n;i--!==0;)if(An(e[i],t[i])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let l=e.entries();for(i=l.next();i.done!==!0;){if(t.has(i.value[0])!==!0)return!1;i=l.next()}for(l=e.entries(),i=l.next();i.done!==!0;){if(An(i.value[1],t.get(i.value[0]))!==!0)return!1;i=l.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const l=e.entries();for(i=l.next();i.done!==!0;){if(t.has(i.value[0])!==!0)return!1;i=l.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(i=n;i--!==0;)if(e[i]!==t[i])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 r=Object.keys(e).filter(l=>e[l]!==void 0);if(n=r.length,n!==Object.keys(t).filter(l=>t[l]!==void 0).length)return!1;for(i=n;i--!==0;){const l=r[i];if(An(e[l],t[l])!==!0)return!1}return!0}return e!==e&&t!==t}function Ot(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function uu(e){return Object.prototype.toString.call(e)==="[object Date]"}function ls(e){return typeof e=="number"&&isFinite(e)}const cu=[fl,Sp,vt,pp,br,Tn,gl];function Us(e,t){const n=Wd(e);n.config.globalProperties=t.config.globalProperties;const{reload:i,...r}=t._context;return Object.assign(n._context,r),n}function du(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function Op(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(qp,n.$q),du(n,cu),t.components!==void 0&&Object.values(t.components).forEach(i=>{Ot(i)===!0&&i.name!==void 0&&e.component(i.name,i)}),t.directives!==void 0&&Object.values(t.directives).forEach(i=>{Ot(i)===!0&&i.name!==void 0&&e.directive(i.name,i)}),t.plugins!==void 0&&du(n,Object.values(t.plugins).filter(i=>typeof i.install=="function"&&cu.includes(i)===!1)),Dn.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(i=>{i()}),n.$q.onSSRHydrated=()=>{}})}const Fp=function(e,t={}){const n={version:"2.17.6"};ef===!1?(t.config!==void 0&&Object.assign(ml,t.config),n.config={...ml},Pp()):n.config=t.config||{},Op(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},Lp={name:"Quasar",version:"2.17.6",install:Fp,lang:Tn,iconSet:gl},Dp={__name:"App",setup(e){return(t,n)=>{const i=pd("router-view");return Le(),Ye(i)}}},Ks=e=>e,BS=Ks,Mp=Ks,Bp=Ks;/*!
18
- * pinia v2.3.0
19
- * (c) 2024 Eduardo San Martin Morote
20
- * @license MIT
21
- */const $p=Symbol();var fu;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(fu||(fu={}));function Np(){const e=Xh(!0),t=e.run(()=>ce({}));let n=[],i=[];const r=Bi({install(l){r._a=l,l.provide($p,r),l.config.globalProperties.$pinia=r,i.forEach(o=>n.push(o)),i=[]},use(l){return this._a?n.push(l):i.push(l),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const So=Bp(()=>Np());/*!
22
- * vue-router v4.5.0
23
- * (c) 2024 Eduardo San Martin Morote
24
- * @license MIT
25
- */const _i=typeof document<"u";function tf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ip(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&tf(e.default)}const De=Object.assign;function xo(e,t){const n={};for(const i in t){const r=t[i];n[i]=Yt(r)?r.map(e):e(r)}return n}const sr=()=>{},Yt=Array.isArray,nf=/#/g,Vp=/&/g,jp=/\//g,Hp=/=/g,zp=/\?/g,rf=/\+/g,Up=/%5B/g,Kp=/%5D/g,lf=/%5E/g,Wp=/%60/g,of=/%7B/g,Qp=/%7C/g,sf=/%7D/g,Gp=/%20/g;function Ws(e){return encodeURI(""+e).replace(Qp,"|").replace(Up,"[").replace(Kp,"]")}function Jp(e){return Ws(e).replace(of,"{").replace(sf,"}").replace(lf,"^")}function os(e){return Ws(e).replace(rf,"%2B").replace(Gp,"+").replace(nf,"%23").replace(Vp,"%26").replace(Wp,"`").replace(of,"{").replace(sf,"}").replace(lf,"^")}function Xp(e){return os(e).replace(Hp,"%3D")}function Yp(e){return Ws(e).replace(nf,"%23").replace(zp,"%3F")}function Zp(e){return e==null?"":Yp(e).replace(jp,"%2F")}function yr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ev=/\/$/,tv=e=>e.replace(ev,"");function Co(e,t,n="/"){let i,r={},l="",o="";const s=t.indexOf("#");let a=t.indexOf("?");return s<a&&s>=0&&(a=-1),a>-1&&(i=t.slice(0,a),l=t.slice(a+1,s>-1?s:t.length),r=e(l)),s>-1&&(i=i||t.slice(0,s),o=t.slice(s,t.length)),i=lv(i??t,n),{fullPath:i+(l&&"?")+l+o,path:i,query:r,hash:yr(o)}}function nv(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function hu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function iv(e,t,n){const i=t.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&Oi(t.matched[i],n.matched[r])&&af(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Oi(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function af(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!rv(e[n],t[n]))return!1;return!0}function rv(e,t){return Yt(e)?gu(e,t):Yt(t)?gu(t,e):e===t}function gu(e,t){return Yt(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function lv(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/"),r=i[i.length-1];(r===".."||r===".")&&i.push("");let l=n.length-1,o,s;for(o=0;o<i.length;o++)if(s=i[o],s!==".")if(s==="..")l>1&&l--;else break;return n.slice(0,l).join("/")+"/"+i.slice(o).join("/")}const xn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var wr;(function(e){e.pop="pop",e.push="push"})(wr||(wr={}));var ar;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ar||(ar={}));function ov(e){if(!e)if(_i){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),tv(e)}const sv=/^[^#]+#/;function av(e,t){return e.replace(sv,"#")+t}function uv(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const Hl=()=>({left:window.scrollX,top:window.scrollY});function cv(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=uv(r,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 mu(e,t){return(history.state?history.state.position-t:-1)+e}const ss=new Map;function dv(e,t){ss.set(e,t)}function fv(e){const t=ss.get(e);return ss.delete(e),t}let hv=()=>location.protocol+"//"+location.host;function uf(e,t){const{pathname:n,search:i,hash:r}=t,l=e.indexOf("#");if(l>-1){let s=r.includes(e.slice(l))?e.slice(l).length:1,a=r.slice(s);return a[0]!=="/"&&(a="/"+a),hu(a,"")}return hu(n,e)+i+r}function gv(e,t,n,i){let r=[],l=[],o=null;const s=({state:f})=>{const h=uf(e,location),g=n.value,v=t.value;let p=0;if(f){if(n.value=h,t.value=f,o&&o===g){o=null;return}p=v?f.position-v.position:0}else i(h);r.forEach(T=>{T(n.value,g,{delta:p,type:wr.pop,direction:p?p>0?ar.forward:ar.back:ar.unknown})})};function a(){o=n.value}function c(f){r.push(f);const h=()=>{const g=r.indexOf(f);g>-1&&r.splice(g,1)};return l.push(h),h}function u(){const{history:f}=window;f.state&&f.replaceState(De({},f.state,{scroll:Hl()}),"")}function d(){for(const f of l)f();l=[],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 pu(e,t,n,i=!1,r=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:r?Hl():null}}function mv(e){const{history:t,location:n}=window,i={value:uf(e,n)},r={value:t.state};r.value||l(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function l(a,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:hv()+e+a;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function o(a,c){const u=De({},t.state,pu(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});l(a,u,!0),i.value=a}function s(a,c){const u=De({},r.value,t.state,{forward:a,scroll:Hl()});l(u.current,u,!0);const d=De({},pu(i.value,a,null),{position:u.position+1},c);l(a,d,!1),i.value=a}return{location:i,state:r,push:s,replace:o}}function pv(e){e=ov(e);const t=mv(e),n=gv(e,t.state,t.location,t.replace);function i(l,o=!0){o||n.pauseListeners(),history.go(l)}const r=De({location:"",base:e,go:i,createHref:av.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function vv(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),pv(e)}function bv(e){return typeof e=="string"||e&&typeof e=="object"}function cf(e){return typeof e=="string"||typeof e=="symbol"}const df=Symbol("");var vu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(vu||(vu={}));function Fi(e,t){return De(new Error,{type:e,[df]:!0},t)}function gn(e,t){return e instanceof Error&&df in e&&(t==null||!!(e.type&t))}const bu="[^/]+?",yv={sensitive:!1,strict:!1,start:!0,end:!0},wv=/[.+*?^${}()[\]/\\]/g;function _v(e,t){const n=De({},yv,t),i=[];let r=n.start?"^":"";const l=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;d<c.length;d++){const f=c[d];let h=40+(n.sensitive?.25:0);if(f.type===0)d||(r+="/"),r+=f.value.replace(wv,"\\$&"),h+=40;else if(f.type===1){const{value:g,repeatable:v,optional:p,regexp:T}=f;l.push({name:g,repeatable:v,optional:p});const S=T||bu;if(S!==bu){h+=10;try{new RegExp(`(${S})`)}catch(q){throw new Error(`Invalid custom RegExp for param "${g}" (${S}): `+q.message)}}let E=v?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;d||(E=p&&c.length<2?`(?:/${E})`:"/"+E),p&&(E+="?"),r+=E,h+=20,p&&(h+=-8),v&&(h+=-20),S===".*"&&(h+=-50)}u.push(h)}i.push(u)}if(n.strict&&n.end){const c=i.length-1;i[c][i[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function s(c){const u=c.match(o),d={};if(!u)return null;for(let f=1;f<u.length;f++){const h=u[f]||"",g=l[f-1];d[g.name]=h&&g.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:g,repeatable:v,optional:p}=h,T=g in c?c[g]:"";if(Yt(T)&&!v)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const S=Yt(T)?T.join("/"):T;if(!S)if(p)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${g}"`);u+=S}}return u||"/"}return{re:o,score:i,keys:l,parse:s,stringify:a}}function Sv(e,t){let n=0;for(;n<e.length&&n<t.length;){const i=t[n]-e[n];if(i)return i;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 ff(e,t){let n=0;const i=e.score,r=t.score;for(;n<i.length&&n<r.length;){const l=Sv(i[n],r[n]);if(l)return l;n++}if(Math.abs(r.length-i.length)===1){if(yu(i))return 1;if(yu(r))return-1}return r.length-i.length}function yu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const xv={type:0,value:""},Cv=/[a-zA-Z0-9_]/;function kv(e){if(!e)return[[]];if(e==="/")return[[xv]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,i=n;const r=[];let l;function o(){l&&r.push(l),l=[]}let s=0,a,c="",u="";function d(){c&&(n===0?l.push({type:0,value:c}):n===1||n===2||n===3?(l.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),l.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){i=n,n=4;continue}switch(n){case 0:a==="/"?(c&&d(),o()):a===":"?(d(),n=1):f();break;case 4:f(),n=i;break;case 1:a==="("?n=2:Cv.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(),o(),r}function Ev(e,t,n){const i=_v(kv(e.path),n),r=De(i,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function qv(e,t){const n=[],i=new Map;t=xu({strict:!1,end:!0,sensitive:!1},t);function r(d){return i.get(d)}function l(d,f,h){const g=!h,v=_u(d);v.aliasOf=h&&h.record;const p=xu(t,d),T=[v];if("alias"in d){const q=typeof d.alias=="string"?[d.alias]:d.alias;for(const L of q)T.push(_u(De({},v,{components:h?h.record.components:v.components,path:L,aliasOf:h?h.record:v})))}let S,E;for(const q of T){const{path:L}=q;if(f&&L[0]!=="/"){const V=f.record.path,W=V[V.length-1]==="/"?"":"/";q.path=f.record.path+(L&&W+L)}if(S=Ev(q,f,p),h?h.alias.push(S):(E=E||S,E!==S&&E.alias.push(S),g&&d.name&&!Su(S)&&o(d.name)),hf(S)&&a(S),v.children){const V=v.children;for(let W=0;W<V.length;W++)l(V[W],S,h&&h.children[W])}h=h||S}return E?()=>{o(E)}:sr}function o(d){if(cf(d)){const f=i.get(d);f&&(i.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&i.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function s(){return n}function a(d){const f=Av(d,n);n.splice(f,0,d),d.record.name&&!Su(d)&&i.set(d.record.name,d)}function c(d,f){let h,g={},v,p;if("name"in d&&d.name){if(h=i.get(d.name),!h)throw Fi(1,{location:d});p=h.record.name,g=De(wu(f.params,h.keys.filter(E=>!E.optional).concat(h.parent?h.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),d.params&&wu(d.params,h.keys.map(E=>E.name))),v=h.stringify(g)}else if(d.path!=null)v=d.path,h=n.find(E=>E.re.test(v)),h&&(g=h.parse(v),p=h.record.name);else{if(h=f.name?i.get(f.name):n.find(E=>E.re.test(f.path)),!h)throw Fi(1,{location:d,currentLocation:f});p=h.record.name,g=De({},f.params,d.params),v=h.stringify(g)}const T=[];let S=h;for(;S;)T.unshift(S.record),S=S.parent;return{name:p,path:v,params:g,matched:T,meta:Rv(T)}}e.forEach(d=>l(d));function u(){n.length=0,i.clear()}return{addRoute:l,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:r}}function wu(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function _u(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Tv(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 Tv(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="object"?n[i]:n;return t}function Su(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Rv(e){return e.reduce((t,n)=>De(t,n.meta),{})}function xu(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function Av(e,t){let n=0,i=t.length;for(;n!==i;){const l=n+i>>1;ff(e,t[l])<0?i=l:n=l+1}const r=Pv(e);return r&&(i=t.lastIndexOf(r,i-1)),i}function Pv(e){let t=e;for(;t=t.parent;)if(hf(t)&&ff(e,t)===0)return t}function hf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ov(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<i.length;++r){const l=i[r].replace(rf," "),o=l.indexOf("="),s=yr(o<0?l:l.slice(0,o)),a=o<0?null:yr(l.slice(o+1));if(s in t){let c=t[s];Yt(c)||(c=t[s]=[c]),c.push(a)}else t[s]=a}return t}function Cu(e){let t="";for(let n in e){const i=e[n];if(n=Xp(n),i==null){i!==void 0&&(t+=(t.length?"&":"")+n);continue}(Yt(i)?i.map(l=>l&&os(l)):[i&&os(i)]).forEach(l=>{l!==void 0&&(t+=(t.length?"&":"")+n,l!=null&&(t+="="+l))})}return t}function Fv(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=Yt(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return t}const Lv=Symbol(""),ku=Symbol(""),Qs=Symbol(""),gf=Symbol(""),as=Symbol("");function Ui(){let e=[];function t(i){return e.push(i),()=>{const r=e.indexOf(i);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Rn(e,t,n,i,r,l=o=>o()){const o=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((s,a)=>{const c=f=>{f===!1?a(Fi(4,{from:n,to:t})):f instanceof Error?a(f):bv(f)?a(Fi(2,{from:t,to:f})):(o&&i.enterCallbacks[r]===o&&typeof f=="function"&&o.push(f),s())},u=l(()=>e.call(i&&i.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>a(f))})}function ko(e,t,n,i,r=l=>l()){const l=[];for(const o of e)for(const s in o.components){let a=o.components[s];if(!(t!=="beforeRouteEnter"&&!o.instances[s]))if(tf(a)){const u=(a.__vccOpts||a)[t];u&&l.push(Rn(u,n,i,o,s,r))}else{let c=a();l.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${s}" at "${o.path}"`);const d=Ip(u)?u.default:u;o.mods[s]=u,o.components[s]=d;const h=(d.__vccOpts||d)[t];return h&&Rn(h,n,i,o,s,r)()}))}}return l}function Eu(e){const t=Vt(Qs),n=Vt(gf),i=y(()=>{const a=Zn(e.to);return t.resolve(a)}),r=y(()=>{const{matched:a}=i.value,{length:c}=a,u=a[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(Oi.bind(null,u));if(f>-1)return f;const h=qu(a[c-2]);return c>1&&qu(u)===h&&d[d.length-1].path!==h?d.findIndex(Oi.bind(null,a[c-2])):f}),l=y(()=>r.value>-1&&Nv(n.params,i.value.params)),o=y(()=>r.value>-1&&r.value===n.matched.length-1&&af(n.params,i.value.params));function s(a={}){if($v(a)){const c=t[Zn(e.replace)?"replace":"push"](Zn(e.to)).catch(sr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:i,href:y(()=>i.value.href),isActive:l,isExactActive:o,navigate:s}}function Dv(e){return e.length===1?e[0]:e}const Mv=$s({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:Eu,setup(e,{slots:t}){const n=Mi(Eu(e)),{options:i}=Vt(Qs),r=y(()=>({[Tu(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Tu(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const l=t.default&&Dv(t.default(n));return e.custom?l:b("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},l)}}}),Bv=Mv;function $v(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 Nv(e,t){for(const n in t){const i=t[n],r=e[n];if(typeof i=="string"){if(i!==r)return!1}else if(!Yt(r)||r.length!==i.length||i.some((l,o)=>l!==r[o]))return!1}return!0}function qu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Tu=(e,t,n)=>e??t??n,Iv=$s({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=Vt(as),r=y(()=>e.route||i.value),l=Vt(ku,0),o=y(()=>{let c=Zn(l);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=y(()=>r.value.matched[o.value]);Kr(ku,y(()=>o.value+1)),Kr(Lv,s),Kr(as,r);const a=ce();return ye(()=>[a.value,s.value,e.name],([c,u,d],[f,h,g])=>{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||!Oi(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=s.value,f=d&&d.components[u];if(!f)return Ru(n.default,{Component:f,route:c});const h=d.props[u],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,p=b(f,De({},g,t,{onVnodeUnmounted:T=>{T.component.isUnmounted&&(d.instances[u]=null)},ref:a}));return Ru(n.default,{Component:p,route:c})||p}}});function Ru(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Vv=Iv;function jv(e){const t=qv(e.routes,e),n=e.parseQuery||Ov,i=e.stringifyQuery||Cu,r=e.history,l=Ui(),o=Ui(),s=Ui(),a=vg(xn);let c=xn;_i&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=xo.bind(null,x=>""+x),d=xo.bind(null,Zp),f=xo.bind(null,yr);function h(x,K){let O,Y;return cf(x)?(O=t.getRecordMatcher(x),Y=K):Y=x,t.addRoute(Y,O)}function g(x){const K=t.getRecordMatcher(x);K&&t.removeRoute(K)}function v(){return t.getRoutes().map(x=>x.record)}function p(x){return!!t.getRecordMatcher(x)}function T(x,K){if(K=De({},K||a.value),typeof x=="string"){const R=Co(n,x,K.path),j=t.resolve({path:R.path},K),z=r.createHref(R.fullPath);return De(R,j,{params:f(j.params),hash:yr(R.hash),redirectedFrom:void 0,href:z})}let O;if(x.path!=null)O=De({},x,{path:Co(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),xe=x.hash||"";Y.params=u(f(Y.params));const w=nv(i,De({},x,{hash:Jp(xe),path:Y.path})),_=r.createHref(w);return De({fullPath:w,hash:xe,query:i===Cu?Fv(x.query):x.query||{}},Y,{redirectedFrom:void 0,href:_})}function S(x){return typeof x=="string"?Co(n,x,a.value.path):De({},x)}function E(x,K){if(c!==x)return Fi(8,{from:K,to:x})}function q(x){return W(x)}function L(x){return q(De(S(x),{replace:!0}))}function V(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=T(x),Y=a.value,xe=x.state,w=x.force,_=x.replace===!0,R=V(O);if(R)return W(De(S(R),{state:typeof R=="object"?De({},xe,R.state):xe,force:w,replace:_}),K||O);const j=O;j.redirectedFrom=K;let z;return!w&&iv(i,Y,O)&&(z=Fi(16,{to:j,from:Y}),P(Y,Y,!0,!1)),(z?Promise.resolve(z):M(j,Y)).catch(B=>gn(B)?gn(B,2)?B:pe(B):Q(B,j,Y)).then(B=>{if(B){if(gn(B,2))return W(De({replace:_},S(B.to),{state:typeof B.to=="object"?De({},xe,B.to.state):xe,force:w}),K||j)}else B=C(j,Y,!0,_,xe);return U(j,Y,B),B})}function Z(x,K){const O=E(x,K);return O?Promise.reject(O):Promise.resolve()}function A(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,xe,w]=Hv(x,K);O=ko(Y.reverse(),"beforeRouteLeave",x,K);for(const R of Y)R.leaveGuards.forEach(j=>{O.push(Rn(j,x,K))});const _=Z.bind(null,x,K);return O.push(_),F(O).then(()=>{O=[];for(const R of l.list())O.push(Rn(R,x,K));return O.push(_),F(O)}).then(()=>{O=ko(xe,"beforeRouteUpdate",x,K);for(const R of xe)R.updateGuards.forEach(j=>{O.push(Rn(j,x,K))});return O.push(_),F(O)}).then(()=>{O=[];for(const R of w)if(R.beforeEnter)if(Yt(R.beforeEnter))for(const j of R.beforeEnter)O.push(Rn(j,x,K));else O.push(Rn(R.beforeEnter,x,K));return O.push(_),F(O)}).then(()=>(x.matched.forEach(R=>R.enterCallbacks={}),O=ko(w,"beforeRouteEnter",x,K,A),O.push(_),F(O))).then(()=>{O=[];for(const R of o.list())O.push(Rn(R,x,K));return O.push(_),F(O)}).catch(R=>gn(R,8)?R:Promise.reject(R))}function U(x,K,O){s.list().forEach(Y=>A(()=>Y(x,K,O)))}function C(x,K,O,Y,xe){const w=E(x,K);if(w)return w;const _=K===xn,R=_i?history.state:{};O&&(Y||_?r.replace(x.fullPath,De({scroll:_&&R&&R.scroll},xe)):r.push(x.fullPath,xe)),a.value=x,P(x,K,O,_),pe()}let J;function N(){J||(J=r.listen((x,K,O)=>{if(!ie.listening)return;const Y=T(x),xe=V(Y);if(xe){W(De(xe,{replace:!0,force:!0}),Y).catch(sr);return}c=Y;const w=a.value;_i&&dv(mu(w.fullPath,O.delta),Hl()),M(Y,w).catch(_=>gn(_,12)?_:gn(_,2)?(W(De(S(_.to),{force:!0}),Y).then(R=>{gn(R,20)&&!O.delta&&O.type===wr.pop&&r.go(-1,!1)}).catch(sr),Promise.reject()):(O.delta&&r.go(-O.delta,!1),Q(_,Y,w))).then(_=>{_=_||C(Y,w,!1),_&&(O.delta&&!gn(_,8)?r.go(-O.delta,!1):O.type===wr.pop&&gn(_,20)&&r.go(-1,!1)),U(Y,w,_)}).catch(sr)}))}let le=Ui(),te=Ui(),oe;function Q(x,K,O){pe(x);const Y=te.list();return Y.length?Y.forEach(xe=>xe(x,K,O)):console.error(x),Promise.reject(x)}function ae(){return oe&&a.value!==xn?Promise.resolve():new Promise((x,K)=>{le.add([x,K])})}function pe(x){return oe||(oe=!x,N(),le.list().forEach(([K,O])=>x?O(x):K()),le.reset()),x}function P(x,K,O,Y){const{scrollBehavior:xe}=e;if(!_i||!xe)return Promise.resolve();const w=!O&&fv(mu(x.fullPath,0))||(Y||!O)&&history.state&&history.state.scroll||null;return ze().then(()=>xe(x,K,w)).then(_=>_&&cv(_)).catch(_=>Q(_,x,K))}const m=x=>r.go(x);let $;const D=new Set,ie={currentRoute:a,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:p,getRoutes:v,resolve:T,options:e,push:q,replace:L,go:m,back:()=>m(-1),forward:()=>m(1),beforeEach:l.add,beforeResolve:o.add,afterEach:s.add,onError:te.add,isReady:ae,install(x){const K=this;x.component("RouterLink",Bv),x.component("RouterView",Vv),x.config.globalProperties.$router=K,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>Zn(a)}),_i&&!$&&a.value===xn&&($=!0,q(r.location).catch(xe=>{}));const O={};for(const xe in xn)Object.defineProperty(O,xe,{get:()=>a.value[xe],enumerable:!0});x.provide(Qs,K),x.provide(gf,Jc(O)),x.provide(as,a);const Y=x.unmount;D.add(x),x.unmount=function(){D.delete(x),D.size<1&&(c=xn,J&&J(),J=null,a.value=xn,$=!1,oe=!1),Y()}}};function F(x){return x.reduce((K,O)=>K.then(()=>A(O)),Promise.resolve())}return ie}function Hv(e,t){const n=[],i=[],r=[],l=Math.max(t.matched.length,e.matched.length);for(let o=0;o<l;o++){const s=t.matched[o];s&&(e.matched.find(c=>Oi(c,s))?i.push(s):n.push(s));const a=e.matched[o];a&&(t.matched.find(c=>Oi(c,a))||r.push(a))}return[n,i,r]}const us={xs:18,sm:24,md:32,lg:38,xl:46},si={size:String};function ai(e,t=us){return y(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function Je(e,t){return e!==void 0&&e()||t}function mf(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function Gt(e,t){return e!==void 0?t.concat(e()):t}function pf(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function zv(e,t,n,i,r,l){t.key=i+r;const o=b(e,t,n);return r===!0?Pn(o,l()):o}const Au="0 0 24 24",Pu=e=>e,Eo=e=>`ionicons ${e}`,vf={"mdi-":e=>`mdi ${e}`,"icon-":Pu,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Eo,"ion-ios":Eo,"ion-logo":Eo,"iconfont ":Pu,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},bf={o_:"-outlined",r_:"-round",s_:"-sharp"},yf={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Uv=new RegExp("^("+Object.keys(vf).join("|")+")"),Kv=new RegExp("^("+Object.keys(bf).join("|")+")"),Ou=new RegExp("^("+Object.keys(yf).join("|")+")"),Wv=/^[Mm]\s?[-+]?\.?\d/,Qv=/^img:/,Gv=/^svguse:/,Jv=/^ion-/,Xv=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,$e=Pe({name:"QIcon",props:{...si,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=Ae(),i=ai(e),r=y(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),l=y(()=>{let o,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(Wv.test(s)===!0){const[u,d=Au]=s.split("|");return{svg:!0,viewBox:d,nodes:u.split("&&").map(f=>{const[h,g,v]=f.split("@@");return b("path",{style:g,d:h,transform:v})})}}if(Qv.test(s)===!0)return{img:!0,src:s.substring(4)};if(Gv.test(s)===!0){const[u,d=Au]=s.split("|");return{svguse:!0,src:u.substring(7),viewBox:d}}let a=" ";const c=s.match(Uv);if(c!==null)o=vf[c[1]](s);else if(Xv.test(s)===!0)o=s;else if(Jv.test(s)===!0)o=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(Ou.test(s)===!0){o="notranslate material-symbols";const u=s.match(Ou);u!==null&&(s=s.substring(6),o+=yf[u[1]]),a=s}else{o="notranslate material-icons";const u=s.match(Kv);u!==null&&(s=s.substring(2),o+=bf[u[1]]),a=s}return{cls:o,content:a}});return()=>{const o={class:r.value,style:i.value,"aria-hidden":"true",role:"presentation"};return l.value.none===!0?b(e.tag,o,Je(t.default)):l.value.img===!0?b(e.tag,o,Gt(t.default,[b("img",{src:l.value.src})])):l.value.svg===!0?b(e.tag,o,Gt(t.default,[b("svg",{viewBox:l.value.viewBox||"0 0 24 24"},l.value.nodes)])):l.value.svguse===!0?b(e.tag,o,Gt(t.default,[b("svg",{viewBox:l.value.viewBox},[b("use",{"xlink:href":l.value.src})])])):(l.value.cls!==void 0&&(o.class+=" "+l.value.cls),b(e.tag,o,Gt(t.default,[l.value.content])))}}}),Yv={size:{type:[String,Number],default:"1em"},color:String};function Zv(e){return{cSize:y(()=>e.size in us?`${us[e.size]}px`:e.size),classes:y(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const un=Pe({name:"QSpinner",props:{...Yv,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=Zv(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 cs(e,t){const n=e.style;for(const i in t)n[i]=t[i]}function eb(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=Zn(e);if(t)return t.$el||t}function wf(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 tb(e,t=250){let n=!1,i;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),i=e.apply(this,arguments)),i}}function Fu(e,t,n,i){n.modifiers.stop===!0&&sn(e);const r=n.modifiers.color;let l=n.modifiers.center;l=l===!0||i===!0;const o=document.createElement("span"),s=document.createElement("span"),a=Jd(e),{left:c,top:u,width:d,height:f}=t.getBoundingClientRect(),h=Math.sqrt(d*d+f*f),g=h/2,v=`${(d-h)/2}px`,p=l?v:`${a.left-c-g}px`,T=`${(f-h)/2}px`,S=l?T:`${a.top-u-g}px`;s.className="q-ripple__inner",cs(s,{height:`${h}px`,width:`${h}px`,transform:`translate3d(${p},${S},0) scale3d(.2,.2,1)`,opacity:0}),o.className=`q-ripple${r?" text-"+r:""}`,o.setAttribute("dir","ltr"),o.appendChild(s),t.appendChild(o);const E=()=>{o.remove(),clearTimeout(q)};n.abort.push(E);let q=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${v},${T},0) scale3d(1,1,1)`,s.style.opacity=.2,q=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,q=setTimeout(()=>{o.remove(),n.abort.splice(n.abort.indexOf(E),1)},275)},250)},50)}function Lu(e,{modifiers:t,value:n,arg:i}){const r=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:r.early===!0,stop:r.stop===!0,center:r.center===!0,color:r.color||i,keyCodes:[].concat(r.keyCodes||13)}}const Gs=Gd({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const i={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(r){i.enabled===!0&&r.qSkipRipple!==!0&&r.type===(i.modifiers.early===!0?"pointerdown":"click")&&Fu(r,e,i,r.qKeyEvent===!0)},keystart:tb(r=>{i.enabled===!0&&r.qSkipRipple!==!0&&wn(r,i.modifiers.keyCodes)===!0&&r.type===`key${i.modifiers.early===!0?"down":"up"}`&&Fu(r,e,i,!0)},300)};Lu(i,t),e.__qripple=i,vr(i,"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&&Lu(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),hl(t,"main"),delete e._qripple)}}),_f={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},nb=Object.keys(_f),Sf={align:{type:String,validator:e=>nb.includes(e)}};function xf(e){return y(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${_f[t]}`})}function Gr(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 Js(e){return e.appContext.config.globalProperties.$router!==void 0}function Cf(e){return e.isUnmounted===!0||e.isDeactivated===!0}function Du(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function Mu(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ib(e,t){for(const n in t){const i=t[n],r=e[n];if(typeof i=="string"){if(i!==r)return!1}else if(Array.isArray(r)===!1||r.length!==i.length||i.some((l,o)=>l!==r[o]))return!1}return!0}function Bu(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function rb(e,t){return Array.isArray(e)===!0?Bu(e,t):Array.isArray(t)===!0?Bu(t,e):e===t}function lb(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(rb(e[n],t[n])===!1)return!1;return!0}const kf={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},ob={...kf,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function Ef({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=Ae(),{props:i,proxy:r,emit:l}=n,o=Js(n),s=y(()=>i.disable!==!0&&i.href!==void 0),a=y(t===!0?()=>o===!0&&i.disable!==!0&&s.value!==!0&&i.to!==void 0&&i.to!==null&&i.to!=="":()=>o===!0&&s.value!==!0&&i.to!==void 0&&i.to!==null&&i.to!==""),c=y(()=>a.value===!0?S(i.to):null),u=y(()=>c.value!==null),d=y(()=>s.value===!0||u.value===!0),f=y(()=>i.type==="a"||d.value===!0?"a":i.tag||e||"div"),h=y(()=>s.value===!0?{href:i.href,target:i.target}:u.value===!0?{href:c.value.href,target:i.target}:{}),g=y(()=>{if(u.value===!1)return-1;const{matched:L}=c.value,{length:V}=L,W=L[V-1];if(W===void 0)return-1;const Z=r.$route.matched;if(Z.length===0)return-1;const A=Z.findIndex(Mu.bind(null,W));if(A!==-1)return A;const M=Du(L[V-2]);return V>1&&Du(W)===M&&Z[Z.length-1].path!==M?Z.findIndex(Mu.bind(null,L[V-2])):A}),v=y(()=>u.value===!0&&g.value!==-1&&ib(r.$route.params,c.value.params)),p=y(()=>v.value===!0&&g.value===r.$route.matched.length-1&&lb(r.$route.params,c.value.params)),T=y(()=>u.value===!0?p.value===!0?` ${i.exactActiveClass} ${i.activeClass}`:i.exact===!0?"":v.value===!0?` ${i.activeClass}`:"":"");function S(L){try{return r.$router.resolve(L)}catch{}return null}function E(L,{returnRouterError:V,to:W=i.to,replace:Z=i.replace}={}){if(i.disable===!0)return L.preventDefault(),Promise.resolve(!1);if(L.metaKey||L.altKey||L.ctrlKey||L.shiftKey||L.button!==void 0&&L.button!==0||i.target==="_blank")return Promise.resolve(!1);L.preventDefault();const A=r.$router[Z===!0?"replace":"push"](W);return V===!0?A:A.then(()=>{}).catch(()=>{})}function q(L){if(u.value===!0){const V=W=>E(L,W);l("click",L,V),L.defaultPrevented!==!0&&V()}else l("click",L)}return{hasRouterLink:u,hasHrefLink:s,hasLink:d,linkTag:f,resolvedLink:c,linkIsActive:v,linkIsExactActive:p,linkClass:T,linkAttrs:h,getLink:S,navigateToRouterLink:E,navigateOnClick:q}}const $u={none:0,xs:4,sm:8,md:16,lg:24,xl:32},sb={xs:8,sm:10,md:14,lg:20,xl:24},ab=["button","submit","reset"],ub=/[^\s]\/[^\s]/,cb=["flat","outline","push","unelevated"];function db(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const fb={...si,...kf,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...cb.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:{...Sf.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},hb={...fb,round:Boolean};function gb(e){const t=ai(e,sb),n=xf(e),{hasRouterLink:i,hasLink:r,linkTag:l,linkAttrs:o,navigateOnClick:s}=Ef({fallbackTag:"button"}),a=y(()=>{const p=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},p,{padding:e.padding.split(/\s+/).map(T=>T in $u?$u[T]+"px":T).join(" "),minWidth:"0",minHeight:"0"}):p}),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(()=>db(e,"standard")),h=y(()=>{const p={tabindex:d.value};return r.value===!0?Object.assign(p,o.value):ab.includes(e.type)===!0&&(p.type=e.type),l.value==="a"?(e.disable===!0?p["aria-disabled"]="true":p.href===void 0&&(p.role="button"),i.value!==!0&&ub.test(e.type)===!0&&(p.type=e.type)):e.disable===!0&&(p.disabled="",p["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(p,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),p}),g=y(()=>{let p;e.color!==void 0?e.flat===!0||e.outline===!0?p=`text-${e.textColor||e.color}`:p=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(p=`text-${e.textColor}`);const T=e.round===!0?"round":`rectangle${c.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${f.value} q-btn--${T}`+(p!==void 0?" "+p:"")+(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":"")}),v=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:g,style:a,innerClasses:v,attributes:h,hasLink:r,linkTag:l,navigateOnClick:s,isActionable:u}}const{passiveCapture:Nt}=gt;let pi=null,vi=null,bi=null;const Be=Pe({name:"QBtn",props:{...hb,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:i}=Ae(),{classes:r,style:l,innerClasses:o,attributes:s,hasLink:a,linkTag:c,navigateOnClick:u,isActionable:d}=gb(e),f=ce(null),h=ce(null);let g=null,v,p=null;const T=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})),q=y(()=>{const N=Math.max(0,Math.min(100,e.percentage));return N>0?{transition:"transform 0.6s",transform:`translateX(${N-100}%)`}:{}}),L=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(i.$q.platform.has.touch===!0){const le=e.onTouchstart!==void 0?"":"Passive";N[`onTouchstart${le}`]=A}return N}return{onClick:Qe}}),V=y(()=>({ref:f,class:"q-btn q-btn-item non-selectable no-outline "+r.value,style:l.value,...s.value,...L.value}));function W(N){if(f.value!==null){if(N!==void 0){if(N.defaultPrevented===!0)return;const le=document.activeElement;if(e.type==="submit"&&le!==document.body&&f.value.contains(le)===!1&&le.contains(f.value)===!1){f.value.focus();const te=()=>{document.removeEventListener("keydown",Qe,!0),document.removeEventListener("keyup",te,Nt),f.value!==null&&f.value.removeEventListener("blur",te,Nt)};document.addEventListener("keydown",Qe,!0),document.addEventListener("keyup",te,Nt),f.value.addEventListener("blur",te,Nt)}}u(N)}}function Z(N){f.value!==null&&(n("keydown",N),wn(N,[13,32])===!0&&vi!==f.value&&(vi!==null&&C(),N.defaultPrevented!==!0&&(f.value.focus(),vi=f.value,f.value.classList.add("q-btn--active"),document.addEventListener("keyup",U,!0),f.value.addEventListener("blur",U,Nt)),Qe(N)))}function A(N){f.value!==null&&(n("touchstart",N),N.defaultPrevented!==!0&&(pi!==f.value&&(pi!==null&&C(),pi=f.value,g=N.target,g.addEventListener("touchcancel",U,Nt),g.addEventListener("touchend",U,Nt)),v=!0,p!==null&&clearTimeout(p),p=setTimeout(()=>{p=null,v=!1},200)))}function M(N){f.value!==null&&(N.qSkipRipple=v===!0,n("mousedown",N),N.defaultPrevented!==!0&&bi!==f.value&&(bi!==null&&C(),bi=f.value,f.value.classList.add("q-btn--active"),document.addEventListener("mouseup",U,Nt)))}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(vi===f.value&&wn(N,[13,32])===!0){const le=new MouseEvent("click",N);le.qKeyEvent=!0,N.defaultPrevented===!0&&Qt(le),N.cancelBubble===!0&&sn(le),f.value.dispatchEvent(le),Qe(N),N.qKeyEvent=!0}n("keyup",N)}C()}}function C(N){const le=h.value;N!==!0&&(pi===f.value||bi===f.value)&&le!==null&&le!==document.activeElement&&(le.setAttribute("tabindex",-1),le.focus()),pi===f.value&&(g!==null&&(g.removeEventListener("touchcancel",U,Nt),g.removeEventListener("touchend",U,Nt)),pi=g=null),bi===f.value&&(document.removeEventListener("mouseup",U,Nt),bi=null),vi===f.value&&(document.removeEventListener("keyup",U,!0),f.value!==null&&f.value.removeEventListener("blur",U,Nt),vi=null),f.value!==null&&f.value.classList.remove("q-btn--active")}function J(N){Qe(N),N.qSkipRipple=!0}return it(()=>{C(!0)}),Object.assign(i,{click:N=>{d.value===!0&&W(N)}}),()=>{let N=[];e.icon!==void 0&&N.push(b($e,{name:e.icon,left:e.stack!==!0&&T.value===!0,role:"img"})),T.value===!0&&N.push(b("span",{class:"block"},[e.label])),N=Gt(t.default,N),e.iconRight!==void 0&&e.round===!1&&N.push(b($e,{name:e.iconRight,right:e.stack!==!0&&T.value===!0,role:"img"}));const le=[b("span",{class:"q-focus-helper",ref:h})];return e.loading===!0&&e.percentage!==void 0&&le.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:q.value})])),le.push(b("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+o.value},N)),e.loading!==null&&le.push(b(Ln,{name:"q-transition--fade"},()=>e.loading===!0?[b("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[b(un)])]:null)),Pn(b(c.value,V.value,le),[[Gs,S.value,void 0,E.value]])}}}),zl=Pe({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:n}}=Ae(),i=Vt(Tp,mi);if(i===mi)return console.error("QPage needs to be a deep child of QLayout"),mi;if(Vt(Rp,mi)===mi)return console.error("QPage needs to be child of QPageContainer"),mi;const l=y(()=>{const s=(i.header.space===!0?i.header.size:0)+(i.footer.space===!0?i.footer.size:0);if(typeof e.styleFn=="function"){const a=i.isContainer.value===!0?i.containerHeight.value:n.screen.height;return e.styleFn(s,a)}return{minHeight:i.isContainer.value===!0?i.containerHeight.value-s+"px":n.screen.height===0?s!==0?`calc(100vh - ${s}px)`:"100vh":n.screen.height-s+"px"}}),o=y(()=>`q-page${e.padding===!0?" q-layout-padding":""}`);return()=>b("main",{class:o.value,style:l.value},Je(t.default))}});function qf(e,t){return function(){return e.apply(t,arguments)}}const{toString:mb}=Object.prototype,{getPrototypeOf:Xs}=Object,Ul=(e=>t=>{const n=mb.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),en=e=>(e=e.toLowerCase(),t=>Ul(t)===e),Kl=e=>t=>typeof t===e,{isArray:Ni}=Array,_r=Kl("undefined");function pb(e){return e!==null&&!_r(e)&&e.constructor!==null&&!_r(e.constructor)&&Bt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Tf=en("ArrayBuffer");function vb(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Tf(e.buffer),t}const bb=Kl("string"),Bt=Kl("function"),Rf=Kl("number"),Wl=e=>e!==null&&typeof e=="object",yb=e=>e===!0||e===!1,Jr=e=>{if(Ul(e)!=="object")return!1;const t=Xs(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},wb=en("Date"),_b=en("File"),Sb=en("Blob"),xb=en("FileList"),Cb=e=>Wl(e)&&Bt(e.pipe),kb=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Bt(e.append)&&((t=Ul(e))==="formdata"||t==="object"&&Bt(e.toString)&&e.toString()==="[object FormData]"))},Eb=en("URLSearchParams"),[qb,Tb,Rb,Ab]=["ReadableStream","Request","Response","Headers"].map(en),Pb=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Tr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,r;if(typeof e!="object"&&(e=[e]),Ni(e))for(i=0,r=e.length;i<r;i++)t.call(null,e[i],i,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),o=l.length;let s;for(i=0;i<o;i++)s=l[i],t.call(null,e[s],s,e)}}function Af(e,t){t=t.toLowerCase();const n=Object.keys(e);let i=n.length,r;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const Gn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Pf=e=>!_r(e)&&e!==Gn;function ds(){const{caseless:e}=Pf(this)&&this||{},t={},n=(i,r)=>{const l=e&&Af(t,r)||r;Jr(t[l])&&Jr(i)?t[l]=ds(t[l],i):Jr(i)?t[l]=ds({},i):Ni(i)?t[l]=i.slice():t[l]=i};for(let i=0,r=arguments.length;i<r;i++)arguments[i]&&Tr(arguments[i],n);return t}const Ob=(e,t,n,{allOwnKeys:i}={})=>(Tr(t,(r,l)=>{n&&Bt(r)?e[l]=qf(r,n):e[l]=r},{allOwnKeys:i}),e),Fb=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Lb=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Db=(e,t,n,i)=>{let r,l,o;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),l=r.length;l-- >0;)o=r[l],(!i||i(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Xs(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Mb=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},Bb=e=>{if(!e)return null;if(Ni(e))return e;let t=e.length;if(!Rf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},$b=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xs(Uint8Array)),Nb=(e,t)=>{const i=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=i.next())&&!r.done;){const l=r.value;t.call(e,l[0],l[1])}},Ib=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},Vb=en("HTMLFormElement"),jb=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,r){return i.toUpperCase()+r}),Nu=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Hb=en("RegExp"),Of=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Tr(n,(r,l)=>{let o;(o=t(r,l,e))!==!1&&(i[l]=o||r)}),Object.defineProperties(e,i)},zb=e=>{Of(e,(t,n)=>{if(Bt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if(Bt(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ub=(e,t)=>{const n={},i=r=>{r.forEach(l=>{n[l]=!0})};return Ni(e)?i(e):i(String(e).split(t)),n},Kb=()=>{},Wb=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,qo="abcdefghijklmnopqrstuvwxyz",Iu="0123456789",Ff={DIGIT:Iu,ALPHA:qo,ALPHA_DIGIT:qo+qo.toUpperCase()+Iu},Qb=(e=16,t=Ff.ALPHA_DIGIT)=>{let n="";const{length:i}=t;for(;e--;)n+=t[Math.random()*i|0];return n};function Gb(e){return!!(e&&Bt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Jb=e=>{const t=new Array(10),n=(i,r)=>{if(Wl(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[r]=i;const l=Ni(i)?[]:{};return Tr(i,(o,s)=>{const a=n(o,r+1);!_r(a)&&(l[s]=a)}),t[r]=void 0,l}}return i};return n(e,0)},Xb=en("AsyncFunction"),Yb=e=>e&&(Wl(e)||Bt(e))&&Bt(e.then)&&Bt(e.catch),Lf=((e,t)=>e?setImmediate:t?((n,i)=>(Gn.addEventListener("message",({source:r,data:l})=>{r===Gn&&l===n&&i.length&&i.shift()()},!1),r=>{i.push(r),Gn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Bt(Gn.postMessage)),Zb=typeof queueMicrotask<"u"?queueMicrotask.bind(Gn):typeof process<"u"&&process.nextTick||Lf,I={isArray:Ni,isArrayBuffer:Tf,isBuffer:pb,isFormData:kb,isArrayBufferView:vb,isString:bb,isNumber:Rf,isBoolean:yb,isObject:Wl,isPlainObject:Jr,isReadableStream:qb,isRequest:Tb,isResponse:Rb,isHeaders:Ab,isUndefined:_r,isDate:wb,isFile:_b,isBlob:Sb,isRegExp:Hb,isFunction:Bt,isStream:Cb,isURLSearchParams:Eb,isTypedArray:$b,isFileList:xb,forEach:Tr,merge:ds,extend:Ob,trim:Pb,stripBOM:Fb,inherits:Lb,toFlatObject:Db,kindOf:Ul,kindOfTest:en,endsWith:Mb,toArray:Bb,forEachEntry:Nb,matchAll:Ib,isHTMLForm:Vb,hasOwnProperty:Nu,hasOwnProp:Nu,reduceDescriptors:Of,freezeMethods:zb,toObjectSet:Ub,toCamelCase:jb,noop:Kb,toFiniteNumber:Wb,findKey:Af,global:Gn,isContextDefined:Pf,ALPHABET:Ff,generateString:Qb,isSpecCompliantForm:Gb,toJSONObject:Jb,isAsyncFn:Xb,isThenable:Yb,setImmediate:Lf,asap:Zb};function ke(e,t,n,i,r){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),i&&(this.request=i),r&&(this.response=r,this.status=r.status?r.status:null)}I.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:I.toJSONObject(this.config),code:this.code,status:this.status}}});const Df=ke.prototype,Mf={};["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=>{Mf[e]={value:e}});Object.defineProperties(ke,Mf);Object.defineProperty(Df,"isAxiosError",{value:!0});ke.from=(e,t,n,i,r,l)=>{const o=Object.create(Df);return I.toFlatObject(e,o,function(a){return a!==Error.prototype},s=>s!=="isAxiosError"),ke.call(o,e.message,t,n,i,r),o.cause=e,o.name=e.name,l&&Object.assign(o,l),o};const ey=null;function fs(e){return I.isPlainObject(e)||I.isArray(e)}function Bf(e){return I.endsWith(e,"[]")?e.slice(0,-2):e}function Vu(e,t,n){return e?e.concat(t).map(function(r,l){return r=Bf(r),!n&&l?"["+r+"]":r}).join(n?".":""):t}function ty(e){return I.isArray(e)&&!e.some(fs)}const ny=I.toFlatObject(I,{},null,function(t){return/^is[A-Z]/.test(t)});function Ql(e,t,n){if(!I.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=I.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,p){return!I.isUndefined(p[v])});const i=n.metaTokens,r=n.visitor||u,l=n.dots,o=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&I.isSpecCompliantForm(t);if(!I.isFunction(r))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(I.isDate(g))return g.toISOString();if(!a&&I.isBlob(g))throw new ke("Blob is not supported. Use a Buffer instead.");return I.isArrayBuffer(g)||I.isTypedArray(g)?a&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,v,p){let T=g;if(g&&!p&&typeof g=="object"){if(I.endsWith(v,"{}"))v=i?v:v.slice(0,-2),g=JSON.stringify(g);else if(I.isArray(g)&&ty(g)||(I.isFileList(g)||I.endsWith(v,"[]"))&&(T=I.toArray(g)))return v=Bf(v),T.forEach(function(E,q){!(I.isUndefined(E)||E===null)&&t.append(o===!0?Vu([v],q,l):o===null?v:v+"[]",c(E))}),!1}return fs(g)?!0:(t.append(Vu(p,v,l),c(g)),!1)}const d=[],f=Object.assign(ny,{defaultVisitor:u,convertValue:c,isVisitable:fs});function h(g,v){if(!I.isUndefined(g)){if(d.indexOf(g)!==-1)throw Error("Circular reference detected in "+v.join("."));d.push(g),I.forEach(g,function(T,S){(!(I.isUndefined(T)||T===null)&&r.call(t,T,I.isString(S)?S.trim():S,v,f))===!0&&h(T,v?v.concat(S):[S])}),d.pop()}}if(!I.isObject(e))throw new TypeError("data must be an object");return h(e),t}function ju(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function Ys(e,t){this._pairs=[],e&&Ql(e,this,t)}const $f=Ys.prototype;$f.append=function(t,n){this._pairs.push([t,n])};$f.toString=function(t){const n=t?function(i){return t.call(this,i,ju)}:ju;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function iy(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Nf(e,t,n){if(!t)return e;const i=n&&n.encode||iy;I.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let l;if(r?l=r(t,n):l=I.isURLSearchParams(t)?t.toString():new Ys(t,n).toString(i),l){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Hu{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){I.forEach(this.handlers,function(i){i!==null&&t(i)})}}const If={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ry=typeof URLSearchParams<"u"?URLSearchParams:Ys,ly=typeof FormData<"u"?FormData:null,oy=typeof Blob<"u"?Blob:null,sy={isBrowser:!0,classes:{URLSearchParams:ry,FormData:ly,Blob:oy},protocols:["http","https","file","blob","url","data"]},Zs=typeof window<"u"&&typeof document<"u",hs=typeof navigator=="object"&&navigator||void 0,ay=Zs&&(!hs||["ReactNative","NativeScript","NS"].indexOf(hs.product)<0),uy=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",cy=Zs&&window.location.href||"http://localhost",dy=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zs,hasStandardBrowserEnv:ay,hasStandardBrowserWebWorkerEnv:uy,navigator:hs,origin:cy},Symbol.toStringTag,{value:"Module"})),wt={...dy,...sy};function fy(e,t){return Ql(e,new wt.classes.URLSearchParams,Object.assign({visitor:function(n,i,r,l){return wt.isNode&&I.isBuffer(n)?(this.append(i,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function hy(e){return I.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function gy(e){const t={},n=Object.keys(e);let i;const r=n.length;let l;for(i=0;i<r;i++)l=n[i],t[l]=e[l];return t}function Vf(e){function t(n,i,r,l){let o=n[l++];if(o==="__proto__")return!0;const s=Number.isFinite(+o),a=l>=n.length;return o=!o&&I.isArray(r)?r.length:o,a?(I.hasOwnProp(r,o)?r[o]=[r[o],i]:r[o]=i,!s):((!r[o]||!I.isObject(r[o]))&&(r[o]=[]),t(n,i,r[o],l)&&I.isArray(r[o])&&(r[o]=gy(r[o])),!s)}if(I.isFormData(e)&&I.isFunction(e.entries)){const n={};return I.forEachEntry(e,(i,r)=>{t(hy(i),r,n,0)}),n}return null}function my(e,t,n){if(I.isString(e))try{return(t||JSON.parse)(e),I.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(0,JSON.stringify)(e)}const Rr={transitional:If,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const i=n.getContentType()||"",r=i.indexOf("application/json")>-1,l=I.isObject(t);if(l&&I.isHTMLForm(t)&&(t=new FormData(t)),I.isFormData(t))return r?JSON.stringify(Vf(t)):t;if(I.isArrayBuffer(t)||I.isBuffer(t)||I.isStream(t)||I.isFile(t)||I.isBlob(t)||I.isReadableStream(t))return t;if(I.isArrayBufferView(t))return t.buffer;if(I.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(l){if(i.indexOf("application/x-www-form-urlencoded")>-1)return fy(t,this.formSerializer).toString();if((s=I.isFileList(t))||i.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Ql(s?{"files[]":t}:t,a&&new a,this.formSerializer)}}return l||r?(n.setContentType("application/json",!1),my(t)):t}],transformResponse:[function(t){const n=this.transitional||Rr.transitional,i=n&&n.forcedJSONParsing,r=this.responseType==="json";if(I.isResponse(t)||I.isReadableStream(t))return t;if(t&&I.isString(t)&&(i&&!this.responseType||r)){const o=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(o)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:wt.classes.FormData,Blob:wt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};I.forEach(["delete","get","head","post","put","patch"],e=>{Rr.headers[e]={}});const py=I.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"]),vy=e=>{const t={};let n,i,r;return e&&e.split(`
26
- `).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),i=o.substring(r+1).trim(),!(!n||t[n]&&py[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t},zu=Symbol("internals");function Ki(e){return e&&String(e).trim().toLowerCase()}function Xr(e){return e===!1||e==null?e:I.isArray(e)?e.map(Xr):String(e)}function by(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const yy=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function To(e,t,n,i,r){if(I.isFunction(i))return i.call(this,t,n);if(r&&(t=n),!!I.isString(t)){if(I.isString(i))return t.indexOf(i)!==-1;if(I.isRegExp(i))return i.test(t)}}function wy(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function _y(e,t){const n=I.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(r,l,o){return this[i].call(this,t,r,l,o)},configurable:!0})})}class Lt{constructor(t){t&&this.set(t)}set(t,n,i){const r=this;function l(s,a,c){const u=Ki(a);if(!u)throw new Error("header name must be a non-empty string");const d=I.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||a]=Xr(s))}const o=(s,a)=>I.forEach(s,(c,u)=>l(c,u,a));if(I.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(I.isString(t)&&(t=t.trim())&&!yy(t))o(vy(t),n);else if(I.isHeaders(t))for(const[s,a]of t.entries())l(a,s,i);else t!=null&&l(n,t,i);return this}get(t,n){if(t=Ki(t),t){const i=I.findKey(this,t);if(i){const r=this[i];if(!n)return r;if(n===!0)return by(r);if(I.isFunction(n))return n.call(this,r,i);if(I.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ki(t),t){const i=I.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||To(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let r=!1;function l(o){if(o=Ki(o),o){const s=I.findKey(i,o);s&&(!n||To(i,i[s],s,n))&&(delete i[s],r=!0)}}return I.isArray(t)?t.forEach(l):l(t),r}clear(t){const n=Object.keys(this);let i=n.length,r=!1;for(;i--;){const l=n[i];(!t||To(this,this[l],l,t,!0))&&(delete this[l],r=!0)}return r}normalize(t){const n=this,i={};return I.forEach(this,(r,l)=>{const o=I.findKey(i,l);if(o){n[o]=Xr(r),delete n[l];return}const s=t?wy(l):String(l).trim();s!==l&&delete n[l],n[s]=Xr(r),i[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return I.forEach(this,(i,r)=>{i!=null&&i!==!1&&(n[r]=t&&I.isArray(i)?i.join(", "):i)}),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 i=new this(t);return n.forEach(r=>i.set(r)),i}static accessor(t){const i=(this[zu]=this[zu]={accessors:{}}).accessors,r=this.prototype;function l(o){const s=Ki(o);i[s]||(_y(r,o),i[s]=!0)}return I.isArray(t)?t.forEach(l):l(t),this}}Lt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);I.reduceDescriptors(Lt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}});I.freezeMethods(Lt);function Ro(e,t){const n=this||Rr,i=t||n,r=Lt.from(i.headers);let l=i.data;return I.forEach(e,function(s){l=s.call(n,l,r.normalize(),t?t.status:void 0)}),r.normalize(),l}function jf(e){return!!(e&&e.__CANCEL__)}function Ii(e,t,n){ke.call(this,e??"canceled",ke.ERR_CANCELED,t,n),this.name="CanceledError"}I.inherits(Ii,ke,{__CANCEL__:!0});function Hf(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(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 Sy(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function xy(e,t){e=e||10;const n=new Array(e),i=new Array(e);let r=0,l=0,o;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=i[l];o||(o=c),n[r]=a,i[r]=c;let d=l,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===l&&(l=(l+1)%e),c-o<t)return;const h=u&&c-u;return h?Math.round(f*1e3/h):void 0}}function Cy(e,t){let n=0,i=1e3/t,r,l;const o=(c,u=Date.now())=>{n=u,r=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=i?o(c,u):(r=c,l||(l=setTimeout(()=>{l=null,o(r)},i-d)))},()=>r&&o(r)]}const pl=(e,t,n=3)=>{let i=0;const r=xy(50,250);return Cy(l=>{const o=l.loaded,s=l.lengthComputable?l.total:void 0,a=o-i,c=r(a),u=o<=s;i=o;const d={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&u?(s-o)/c:void 0,event:l,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},Uu=(e,t)=>{const n=e!=null;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},Ku=e=>(...t)=>I.asap(()=>e(...t)),ky=wt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,wt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(wt.origin),wt.navigator&&/(msie|trident)/i.test(wt.navigator.userAgent)):()=>!0,Ey=wt.hasStandardBrowserEnv?{write(e,t,n,i,r,l){const o=[e+"="+encodeURIComponent(t)];I.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),I.isString(i)&&o.push("path="+i),I.isString(r)&&o.push("domain="+r),l===!0&&o.push("secure"),document.cookie=o.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 qy(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ty(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function zf(e,t){return e&&!qy(t)?Ty(e,t):t}const Wu=e=>e instanceof Lt?{...e}:e;function oi(e,t){t=t||{};const n={};function i(c,u,d,f){return I.isPlainObject(c)&&I.isPlainObject(u)?I.merge.call({caseless:f},c,u):I.isPlainObject(u)?I.merge({},u):I.isArray(u)?u.slice():u}function r(c,u,d,f){if(I.isUndefined(u)){if(!I.isUndefined(c))return i(void 0,c,d,f)}else return i(c,u,d,f)}function l(c,u){if(!I.isUndefined(u))return i(void 0,u)}function o(c,u){if(I.isUndefined(u)){if(!I.isUndefined(c))return i(void 0,c)}else return i(void 0,u)}function s(c,u,d){if(d in t)return i(c,u);if(d in e)return i(void 0,c)}const a={url:l,method:l,data:l,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(c,u,d)=>r(Wu(c),Wu(u),d,!0)};return I.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=a[u]||r,f=d(e[u],t[u],u);I.isUndefined(f)&&d!==s||(n[u]=f)}),n}const Uf=e=>{const t=oi({},e);let{data:n,withXSRFToken:i,xsrfHeaderName:r,xsrfCookieName:l,headers:o,auth:s}=t;t.headers=o=Lt.from(o),t.url=Nf(zf(t.baseURL,t.url),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let a;if(I.isFormData(n)){if(wt.hasStandardBrowserEnv||wt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((a=o.getContentType())!==!1){const[c,...u]=a?a.split(";").map(d=>d.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...u].join("; "))}}if(wt.hasStandardBrowserEnv&&(i&&I.isFunction(i)&&(i=i(t)),i||i!==!1&&ky(t.url))){const c=r&&l&&Ey.read(l);c&&o.set(r,c)}return t},Ry=typeof XMLHttpRequest<"u",Ay=Ry&&function(e){return new Promise(function(n,i){const r=Uf(e);let l=r.data;const o=Lt.from(r.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:c}=r,u,d,f,h,g;function v(){h&&h(),g&&g(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let p=new XMLHttpRequest;p.open(r.method.toUpperCase(),r.url,!0),p.timeout=r.timeout;function T(){if(!p)return;const E=Lt.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),L={data:!s||s==="text"||s==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:E,config:e,request:p};Hf(function(W){n(W),v()},function(W){i(W),v()},L),p=null}"onloadend"in p?p.onloadend=T:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(T)},p.onabort=function(){p&&(i(new ke("Request aborted",ke.ECONNABORTED,e,p)),p=null)},p.onerror=function(){i(new ke("Network Error",ke.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let q=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const L=r.transitional||If;r.timeoutErrorMessage&&(q=r.timeoutErrorMessage),i(new ke(q,L.clarifyTimeoutError?ke.ETIMEDOUT:ke.ECONNABORTED,e,p)),p=null},l===void 0&&o.setContentType(null),"setRequestHeader"in p&&I.forEach(o.toJSON(),function(q,L){p.setRequestHeader(L,q)}),I.isUndefined(r.withCredentials)||(p.withCredentials=!!r.withCredentials),s&&s!=="json"&&(p.responseType=r.responseType),c&&([f,g]=pl(c,!0),p.addEventListener("progress",f)),a&&p.upload&&([d,h]=pl(a),p.upload.addEventListener("progress",d),p.upload.addEventListener("loadend",h)),(r.cancelToken||r.signal)&&(u=E=>{p&&(i(!E||E.type?new Ii(null,e,p):E),p.abort(),p=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const S=Sy(r.url);if(S&&wt.protocols.indexOf(S)===-1){i(new ke("Unsupported protocol "+S+":",ke.ERR_BAD_REQUEST,e));return}p.send(l||null)})},Py=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let i=new AbortController,r;const l=function(c){if(!r){r=!0,s();const u=c instanceof Error?c:this.reason;i.abort(u instanceof ke?u:new Ii(u instanceof Error?u.message:u))}};let o=t&&setTimeout(()=>{o=null,l(new ke(`timeout ${t} of ms exceeded`,ke.ETIMEDOUT))},t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(l):c.removeEventListener("abort",l)}),e=null)};e.forEach(c=>c.addEventListener("abort",l));const{signal:a}=i;return a.unsubscribe=()=>I.asap(s),a}},Oy=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let i=0,r;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},Fy=async function*(e,t){for await(const n of Ly(e))yield*Oy(n,t)},Ly=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:i}=await t.read();if(n)break;yield i}}finally{await t.cancel()}},Qu=(e,t,n,i)=>{const r=Fy(e,t);let l=0,o,s=a=>{o||(o=!0,i&&i(a))};return new ReadableStream({async pull(a){try{const{done:c,value:u}=await r.next();if(c){s(),a.close();return}let d=u.byteLength;if(n){let f=l+=d;n(f)}a.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(a){return s(a),r.return()}},{highWaterMark:2})},Gl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Kf=Gl&&typeof ReadableStream=="function",Dy=Gl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Wf=(e,...t)=>{try{return!!e(...t)}catch{return!1}},My=Kf&&Wf(()=>{let e=!1;const t=new Request(wt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Gu=64*1024,gs=Kf&&Wf(()=>I.isReadableStream(new Response("").body)),vl={stream:gs&&(e=>e.body)};Gl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!vl[t]&&(vl[t]=I.isFunction(e[t])?n=>n[t]():(n,i)=>{throw new ke(`Response type '${t}' is not supported`,ke.ERR_NOT_SUPPORT,i)})})})(new Response);const By=async e=>{if(e==null)return 0;if(I.isBlob(e))return e.size;if(I.isSpecCompliantForm(e))return(await new Request(wt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(I.isArrayBufferView(e)||I.isArrayBuffer(e))return e.byteLength;if(I.isURLSearchParams(e)&&(e=e+""),I.isString(e))return(await Dy(e)).byteLength},$y=async(e,t)=>{const n=I.toFiniteNumber(e.getContentLength());return n??By(t)},Ny=Gl&&(async e=>{let{url:t,method:n,data:i,signal:r,cancelToken:l,timeout:o,onDownloadProgress:s,onUploadProgress:a,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=Uf(e);c=c?(c+"").toLowerCase():"text";let h=Py([r,l&&l.toAbortSignal()],o),g;const v=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let p;try{if(a&&My&&n!=="get"&&n!=="head"&&(p=await $y(u,i))!==0){let L=new Request(t,{method:"POST",body:i,duplex:"half"}),V;if(I.isFormData(i)&&(V=L.headers.get("content-type"))&&u.setContentType(V),L.body){const[W,Z]=Uu(p,pl(Ku(a)));i=Qu(L.body,Gu,W,Z)}}I.isString(d)||(d=d?"include":"omit");const T="credentials"in Request.prototype;g=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:i,duplex:"half",credentials:T?d:void 0});let S=await fetch(g);const E=gs&&(c==="stream"||c==="response");if(gs&&(s||E&&v)){const L={};["status","statusText","headers"].forEach(A=>{L[A]=S[A]});const V=I.toFiniteNumber(S.headers.get("content-length")),[W,Z]=s&&Uu(V,pl(Ku(s),!0))||[];S=new Response(Qu(S.body,Gu,W,()=>{Z&&Z(),v&&v()}),L)}c=c||"text";let q=await vl[I.findKey(vl,c)||"text"](S,e);return!E&&v&&v(),await new Promise((L,V)=>{Hf(L,V,{data:q,headers:Lt.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:g})})}catch(T){throw v&&v(),T&&T.name==="TypeError"&&/fetch/i.test(T.message)?Object.assign(new ke("Network Error",ke.ERR_NETWORK,e,g),{cause:T.cause||T}):ke.from(T,T&&T.code,e,g)}}),ms={http:ey,xhr:Ay,fetch:Ny};I.forEach(ms,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ju=e=>`- ${e}`,Iy=e=>I.isFunction(e)||e===null||e===!1,Qf={getAdapter:e=>{e=I.isArray(e)?e:[e];const{length:t}=e;let n,i;const r={};for(let l=0;l<t;l++){n=e[l];let o;if(i=n,!Iy(n)&&(i=ms[(o=String(n)).toLowerCase()],i===void 0))throw new ke(`Unknown adapter '${o}'`);if(i)break;r[o||"#"+l]=i}if(!i){const l=Object.entries(r).map(([s,a])=>`adapter ${s} `+(a===!1?"is not supported by the environment":"is not available in the build"));let o=t?l.length>1?`since :
28
- `+l.map(Ju).join(`
29
- `):" "+Ju(l[0]):"as no adapter specified";throw new ke("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return i},adapters:ms};function Ao(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ii(null,e)}function Xu(e){return Ao(e),e.headers=Lt.from(e.headers),e.data=Ro.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Qf.getAdapter(e.adapter||Rr.adapter)(e).then(function(i){return Ao(e),i.data=Ro.call(e,e.transformResponse,i),i.headers=Lt.from(i.headers),i},function(i){return jf(i)||(Ao(e),i&&i.response&&(i.response.data=Ro.call(e,e.transformResponse,i.response),i.response.headers=Lt.from(i.response.headers))),Promise.reject(i)})}const Gf="1.7.9",Jl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Jl[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const Yu={};Jl.transitional=function(t,n,i){function r(l,o){return"[Axios v"+Gf+"] Transitional option '"+l+"'"+o+(i?". "+i:"")}return(l,o,s)=>{if(t===!1)throw new ke(r(o," has been removed"+(n?" in "+n:"")),ke.ERR_DEPRECATED);return n&&!Yu[o]&&(Yu[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,o,s):!0}};Jl.spelling=function(t){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};function Vy(e,t,n){if(typeof e!="object")throw new ke("options must be an object",ke.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let r=i.length;for(;r-- >0;){const l=i[r],o=t[l];if(o){const s=e[l],a=s===void 0||o(s,l,e);if(a!==!0)throw new ke("option "+l+" must be "+a,ke.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ke("Unknown option "+l,ke.ERR_BAD_OPTION)}}const Yr={assertOptions:Vy,validators:Jl},nn=Yr.validators;class ei{constructor(t){this.defaults=t,this.interceptors={request:new Hu,response:new Hu}}async request(t,n){try{return await this._request(t,n)}catch(i){if(i instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const l=r.stack?r.stack.replace(/^.+\n/,""):"";try{i.stack?l&&!String(i.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(i.stack+=`
30
- `+l):i.stack=l}catch{}}throw i}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=oi(this.defaults,n);const{transitional:i,paramsSerializer:r,headers:l}=n;i!==void 0&&Yr.assertOptions(i,{silentJSONParsing:nn.transitional(nn.boolean),forcedJSONParsing:nn.transitional(nn.boolean),clarifyTimeoutError:nn.transitional(nn.boolean)},!1),r!=null&&(I.isFunction(r)?n.paramsSerializer={serialize:r}:Yr.assertOptions(r,{encode:nn.function,serialize:nn.function},!0)),Yr.assertOptions(n,{baseUrl:nn.spelling("baseURL"),withXsrfToken:nn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=l&&I.merge(l.common,l[n.method]);l&&I.forEach(["delete","get","head","post","put","patch","common"],g=>{delete l[g]}),n.headers=Lt.concat(o,l);const s=[];let a=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(a=a&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,d=0,f;if(!a){const g=[Xu.bind(this),void 0];for(g.unshift.apply(g,s),g.push.apply(g,c),f=g.length,u=Promise.resolve(n);d<f;)u=u.then(g[d++],g[d++]);return u}f=s.length;let h=n;for(d=0;d<f;){const g=s[d++],v=s[d++];try{h=g(h)}catch(p){v.call(this,p);break}}try{u=Xu.call(this,h)}catch(g){return Promise.reject(g)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=oi(this.defaults,t);const n=zf(t.baseURL,t.url);return Nf(n,t.params,t.paramsSerializer)}}I.forEach(["delete","get","head","options"],function(t){ei.prototype[t]=function(n,i){return this.request(oi(i||{},{method:t,url:n,data:(i||{}).data}))}});I.forEach(["post","put","patch"],function(t){function n(i){return function(l,o,s){return this.request(oi(s||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:l,data:o}))}}ei.prototype[t]=n(),ei.prototype[t+"Form"]=n(!0)});class ea{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const i=this;this.promise.then(r=>{if(!i._listeners)return;let l=i._listeners.length;for(;l-- >0;)i._listeners[l](r);i._listeners=null}),this.promise.then=r=>{let l;const o=new Promise(s=>{i.subscribe(s),l=s}).then(r);return o.cancel=function(){i.unsubscribe(l)},o},t(function(l,o,s){i.reason||(i.reason=new Ii(l,o,s),n(i.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=i=>{t.abort(i)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ea(function(r){t=r}),cancel:t}}}function jy(e){return function(n){return e.apply(null,n)}}function Hy(e){return I.isObject(e)&&e.isAxiosError===!0}const ps={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(ps).forEach(([e,t])=>{ps[t]=e});function Jf(e){const t=new ei(e),n=qf(ei.prototype.request,t);return I.extend(n,ei.prototype,t,{allOwnKeys:!0}),I.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Jf(oi(e,r))},n}const et=Jf(Rr);et.Axios=ei;et.CanceledError=Ii;et.CancelToken=ea;et.isCancel=jf;et.VERSION=Gf;et.toFormData=Ql;et.AxiosError=ke;et.Cancel=et.CanceledError;et.all=function(t){return Promise.all(t)};et.spread=jy;et.isAxiosError=Hy;et.mergeConfig=oi;et.AxiosHeaders=Lt;et.formToJSON=e=>Vf(I.isHTMLForm(e)?new FormData(e):e);et.getAdapter=Qf.getAdapter;et.HttpStatusCode=ps;et.default=et;const Ar=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},zy={data(){return{loading:!1,message:""}},methods:{async dumpDatabase(){this.loading=!0;try{const e=await et.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}}}},Uy={key:1};function Ky(e,t,n,i,r,l){return Le(),Ye(zl,null,{default:ue(()=>[ee(Be,{onClick:l.dumpDatabase,label:"Dump Database",color:"primary"},null,8,["onClick"]),r.loading?(Le(),Ye(un,{key:0})):lt("",!0),r.message?(Le(),Kt("div",Uy,nt(r.message),1)):lt("",!0)]),_:1})}const Wy=Ar(zy,[["render",Ky]]),Qy=Pe({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const i=Ae(),{proxy:{$q:r}}=i,l=o=>{n("click",o)};return()=>{if(e.props===void 0)return b("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:l},Je(t.default));let o,s;const a=i.vnode.key;if(a){if(o=e.props.colsMap[a],o===void 0)return}else o=e.props.col;if(o.sortable===!0){const u=o.align==="right"?"unshift":"push";s=mf(t.default,[]),s[u](b($e,{class:o.__iconClass,name:r.iconSet.table.arrowUp}))}else s=Je(t.default);const c={class:o.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:o.headerStyle,onClick:u=>{o.sortable===!0&&e.props.sort(o),l(u)}};return b("th",c,s)}}}),qt={dark:{type:Boolean,default:null}};function Tt(e,t){return y(()=>e.dark===null?t.dark.isActive:e.dark)}const Gy={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},Po={xs:2,sm:4,md:8,lg:16,xl:24},vs=Pe({name:"QSeparator",props:{...qt,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=Ae(),n=Tt(e,t.proxy.$q),i=y(()=>e.vertical===!0?"vertical":"horizontal"),r=y(()=>` q-separator--${i.value}`),l=y(()=>e.inset!==!1?`${r.value}-${Gy[e.inset]}`:""),o=y(()=>`q-separator${r.value}${l.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?`${Po.md}px`:e.spaced in Po?`${Po[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:o.value,style:s.value,"aria-orientation":i.value})}}),Jy=["ul","ol"],Xf=Pe({name:"QList",props:{...qt,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=Ae(),i=Tt(e,n.proxy.$q),r=y(()=>Jy.includes(e.tag)?null:"list"),l=y(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(i.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>b(e.tag,{class:l.value,role:r.value},Je(t.default))}}),Xy=["horizontal","vertical","cell","none"],Yf=Pe({name:"QMarkupTable",props:{...qt,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>Xy.includes(e)}},setup(e,{slots:t}){const n=Ae(),i=Tt(e,n.proxy.$q),r=y(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(i.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:r.value},[b("table",{class:"q-table"},Je(t.default))])}});function Zf(e,t){return b("div",e,[b("table",{class:"q-table"},t)])}let bl=!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,bl=e.scrollLeft>=0,e.remove()}const Wt=1e3,Yy=["start","center","end","start-force","center-force","end-force"],eh=Array.prototype.filter,Zy=window.getComputedStyle(document.body).overflowAnchor===void 0?Pi: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||[];eh.call(n,r=>r.dataset&&r.dataset.qVsAnchor!==void 0).forEach(r=>{delete r.dataset.qVsAnchor});const i=n[t];i&&i.dataset&&(i.dataset.qVsAnchor="")}))};function Ti(e,t){return e+t}function Oo(e,t,n,i,r,l,o,s){const a=e===window?document.scrollingElement||document.documentElement:e,c=r===!0?"offsetWidth":"offsetHeight",u={scrollStart:0,scrollViewSize:-o-s,scrollMaxSize:0,offsetStart:-o,offsetEnd:-s};if(r===!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,l===!0&&(u.scrollStart=(bl===!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(i!==null)for(let d=i.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();r===!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 Zu(e,t,n,i){t==="end"&&(t=(e===window?document.body:e)[n===!0?"scrollWidth":"scrollHeight"]),e===window?n===!0?(i===!0&&(t=(bl===!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?(i===!0&&(t=(bl===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function Wi(e,t,n,i){if(n>=i)return 0;const r=t.length,l=Math.floor(n/Wt),o=Math.floor((i-1)/Wt)+1;let s=e.slice(l,o).reduce(Ti,0);return n%Wt!==0&&(s-=t.slice(l*Wt,n).reduce(Ti,0)),i%Wt!==0&&i!==r&&(s-=t.slice(i,o*Wt).reduce(Ti,0)),s}const th={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]},nh=Object.keys(th),bs={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...th};function ih({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:i}){const r=Ae(),{props:l,emit:o,proxy:s}=r,{$q:a}=s;let c,u,d,f=[],h;const g=ce(0),v=ce(0),p=ce({}),T=ce(null),S=ce(null),E=ce(null),q=ce({from:0,to:0}),L=y(()=>l.tableColspan!==void 0?l.tableColspan:100);i===void 0&&(i=y(()=>l.virtualScrollItemSize));const V=y(()=>i.value+";"+l.virtualScrollHorizontal),W=y(()=>V.value+";"+l.virtualScrollSliceRatioBefore+";"+l.virtualScrollSliceRatioAfter);ye(W,()=>{te()}),ye(V,Z);function Z(){le(u,!0)}function A(P){le(P===void 0?u:P)}function M(P,m){const $=t();if($==null||$.nodeType===8)return;const D=Oo($,n(),T.value,S.value,l.virtualScrollHorizontal,a.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd);d!==D.scrollViewSize&&te(D.scrollViewSize),C($,D,Math.min(e.value-1,Math.max(0,parseInt(P,10)||0)),0,Yy.indexOf(m)!==-1?m:u!==-1&&P>u?"end":"start")}function U(){const P=t();if(P==null||P.nodeType===8)return;const m=Oo(P,n(),T.value,S.value,l.virtualScrollHorizontal,a.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd),$=e.value-1,D=m.scrollMaxSize-m.offsetStart-m.offsetEnd-v.value;if(c===m.scrollStart)return;if(m.scrollMaxSize<=0){C(P,m,0,0);return}d!==m.scrollViewSize&&te(m.scrollViewSize),J(q.value.from);const ie=Math.floor(m.scrollMaxSize-Math.max(m.scrollViewSize,m.offsetEnd)-Math.min(h[$],m.scrollViewSize/2));if(ie>0&&Math.ceil(m.scrollStart)>=ie){C(P,m,$,m.scrollMaxSize-m.offsetEnd-f.reduce(Ti,0));return}let F=0,x=m.scrollStart-m.offsetStart,K=x;if(x<=D&&x+m.scrollViewSize>=g.value)x-=g.value,F=q.value.from,K=x;else for(let O=0;x>=f[O]&&F<$;O++)x-=f[O],F+=Wt;for(;x>0&&F<$;)x-=h[F],x>-m.scrollViewSize?(F++,K=x):K=h[F]+x;C(P,m,F,K)}function C(P,m,$,D,ie){const F=typeof ie=="string"&&ie.indexOf("-force")!==-1,x=F===!0?ie.replace("-force",""):ie,K=x!==void 0?x:"start";let O=Math.max(0,$-p.value[K]),Y=O+p.value.total;Y>e.value&&(Y=e.value,O=Math.max(0,Y-p.value.total)),c=m.scrollStart;const xe=O!==q.value.from||Y!==q.value.to;if(xe===!1&&x===void 0){Q($);return}const{activeElement:w}=document,_=E.value;xe===!0&&_!==null&&_!==w&&_.contains(w)===!0&&(_.addEventListener("focusout",N),setTimeout(()=>{_!==null&&_.removeEventListener("focusout",N)})),Zy(_,$-O);const R=x!==void 0?h.slice(O,$).reduce(Ti,0):0;if(xe===!0){const j=Y>=q.value.from&&O<=q.value.to?q.value.to:Y;q.value={from:O,to:j},g.value=Wi(f,h,0,O),v.value=Wi(f,h,Y,e.value),requestAnimationFrame(()=>{q.value.to!==Y&&c===m.scrollStart&&(q.value={from:q.value.from,to:Y},v.value=Wi(f,h,Y,e.value))})}requestAnimationFrame(()=>{if(c!==m.scrollStart)return;xe===!0&&J(O);const j=h.slice(O,$).reduce(Ti,0),z=j+m.offsetStart+g.value,B=z+h[$];let X=z+D;if(x!==void 0){const re=j-R,ne=m.scrollStart+re;X=F!==!0&&ne<z&&B<ne+m.scrollViewSize?ne:x==="end"?B-m.scrollViewSize:z-(x==="start"?0:Math.round((m.scrollViewSize-h[$])/2))}c=X,Zu(P,X,l.virtualScrollHorizontal,a.lang.rtl),Q($)})}function J(P){const m=E.value;if(m){const $=eh.call(m.children,O=>O.classList&&O.classList.contains("q-virtual-scroll--skip")===!1),D=$.length,ie=l.virtualScrollHorizontal===!0?O=>O.getBoundingClientRect().width:O=>O.offsetHeight;let F=P,x,K;for(let O=0;O<D;){for(x=ie($[O]),O++;O<D&&$[O].classList.contains("q-virtual-scroll--with-prev")===!0;)x+=ie($[O]),O++;K=x-h[F],K!==0&&(h[F]+=K,f[Math.floor(F/Wt)]+=K),F++}}}function N(){E.value!==null&&E.value!==void 0&&E.value.focus()}function le(P,m){const $=1*i.value;(m===!0||Array.isArray(h)===!1)&&(h=[]);const D=h.length;h.length=e.value;for(let F=e.value-1;F>=D;F--)h[F]=$;const ie=Math.floor((e.value-1)/Wt);f=[];for(let F=0;F<=ie;F++){let x=0;const K=Math.min((F+1)*Wt,e.value);for(let O=F*Wt;O<K;O++)x+=h[O];f.push(x)}u=-1,c=void 0,g.value=Wi(f,h,0,q.value.from),v.value=Wi(f,h,q.value.to,e.value),P>=0?(J(q.value.from),ze(()=>{M(P)})):ae()}function te(P){if(P===void 0&&typeof window<"u"){const x=t();x!=null&&x.nodeType!==8&&(P=Oo(x,n(),T.value,S.value,l.virtualScrollHorizontal,a.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd).scrollViewSize)}d=P;const m=parseFloat(l.virtualScrollSliceRatioBefore)||0,$=parseFloat(l.virtualScrollSliceRatioAfter)||0,D=1+m+$,ie=P===void 0||P<=0?1:Math.ceil(P/i.value),F=Math.max(1,ie,Math.ceil((l.virtualScrollSliceSize>0?l.virtualScrollSliceSize:10)/D));p.value={total:Math.ceil(F*D),start:Math.ceil(F*m),center:Math.ceil(F*(.5+m)),end:Math.ceil(F*(1+m)),view:ie}}function oe(P,m){const $=l.virtualScrollHorizontal===!0?"width":"height",D={["--q-virtual-scroll-item-"+$]:i.value+"px"};return[P==="tbody"?b(P,{class:"q-virtual-scroll__padding",key:"before",ref:T},[b("tr",[b("td",{style:{[$]:`${g.value}px`,...D},colspan:L.value})])]):b(P,{class:"q-virtual-scroll__padding",key:"before",ref:T,style:{[$]:`${g.value}px`,...D}}),b(P,{class:"q-virtual-scroll__content",key:"content",ref:E,tabindex:-1},m.flat()),P==="tbody"?b(P,{class:"q-virtual-scroll__padding",key:"after",ref:S},[b("tr",[b("td",{style:{[$]:`${v.value}px`,...D},colspan:L.value})])]):b(P,{class:"q-virtual-scroll__padding",key:"after",ref:S,style:{[$]:`${v.value}px`,...D}})]}function Q(P){u!==P&&(l.onVirtualScroll!==void 0&&o("virtualScroll",{index:P,from:q.value.from,to:q.value.to-1,direction:P<u?"decrease":"increase",ref:s}),u=P)}te();const ae=zs(U,a.platform.is.ios===!0?120:35);Bl(()=>{te()});let pe=!1;return $i(()=>{pe=!0}),Dl(()=>{if(pe!==!0)return;const P=t();c!==void 0&&P!==void 0&&P!==null&&P.nodeType!==8?Zu(P,c,l.virtualScrollHorizontal,a.lang.rtl):M(u)}),it(()=>{ae.cancel()}),Object.assign(s,{scrollTo:M,reset:Z,refresh:A}),{virtualScrollSliceRange:q,virtualScrollSliceSizeComputed:p,setVirtualScrollSize:te,onVirtualScrollEvt:ae,localResetVirtualScroll:le,padVirtualScroll:oe,scrollTo:M,reset:Z,refresh:A}}const ta=[Element,String],ew=[null,document,document.body,document.scrollingElement,document.documentElement];function na(e,t){let n=eb(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return ew.includes(n)?window:n}function tw(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function nw(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let $r;function iw(){if($r!==void 0)return $r;const e=document.createElement("p"),t=document.createElement("div");cs(e,{width:"100%",height:"200px"}),cs(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 i=e.offsetWidth;return n===i&&(i=t.clientWidth),t.remove(),$r=n-i,$r}function rw(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 lw={list:Xf,table:Yf},ow=["list","table","__qtable"],sw=Pe({name:"QVirtualScroll",props:{...bs,type:{type:String,default:"list",validator:e=>ow.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:ta},setup(e,{slots:t,attrs:n}){let i;const r=ce(null),l=y(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:o,localResetVirtualScroll:s,padVirtualScroll:a,onVirtualScrollEvt:c}=ih({virtualScrollLength:l,getVirtualScrollTarget:g,getVirtualScrollEl:h}),u=y(()=>{if(l.value===0)return[];const S=(E,q)=>({index:o.value.from+q,item:E});return e.itemsFn===void 0?e.items.slice(o.value.from,o.value.to).map(S):e.itemsFn(o.value.from,o.value.to-o.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(l,()=>{s()}),ye(()=>e.scrollTarget,()=>{p(),v()});function h(){return r.value.$el||r.value}function g(){return i}function v(){i=na(h(),e.scrollTarget),i.addEventListener("scroll",c,gt.passive)}function p(){i!==void 0&&(i.removeEventListener("scroll",c,gt.passive),i=void 0)}function T(){let S=a(e.type==="list"?"div":"tbody",u.value.map(t.default));return t.before!==void 0&&(S=t.before().concat(S)),Gt(t.after,S)}return Bl(()=>{s()}),Zt(()=>{v()}),Dl(()=>{v()}),$i(()=>{p()}),it(()=>{p()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?Zf({ref:r,class:"q-table__middle "+d.value},T()):b(lw[e.type],{...n,ref:r,class:[n.class,d.value],...f.value},T)}}});let Fo,Nr=0;const ht=new Array(256);for(let e=0;e<256;e++)ht[e]=(e+256).toString(16).substring(1);const aw=(()=>{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 i=t;i>0;i--)n.push(Math.floor(Math.random()*256));return n}})(),ec=4096;function ys(){(Fo===void 0||Nr+16>ec)&&(Nr=0,Fo=aw(ec));const e=Array.prototype.slice.call(Fo,Nr,Nr+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,ht[e[0]]+ht[e[1]]+ht[e[2]]+ht[e[3]]+"-"+ht[e[4]]+ht[e[5]]+"-"+ht[e[6]]+ht[e[7]]+"-"+ht[e[8]]+ht[e[9]]+"-"+ht[e[10]]+ht[e[11]]+ht[e[12]]+ht[e[13]]+ht[e[14]]+ht[e[15]]}function uw(e){return e??null}function tc(e,t){return e??(t===!0?`f_${ys()}`:null)}function cw({getValue:e,required:t=!0}={}){if(Dn.value===!0){const n=ce(e!==void 0?uw(e()):null);return t===!0&&n.value===null&&Zt(()=>{n.value=`f_${ys()}`}),e!==void 0&&ye(e,i=>{n.value=tc(i,t)}),n}return e!==void 0?y(()=>tc(e(),t)):ce(`f_${ys()}`)}const nc=/^on[A-Z]/;function dw(){const{attrs:e,vnode:t}=Ae(),n={listeners:ce({}),attributes:ce({})};function i(){const r={},l={};for(const o in e)o!=="class"&&o!=="style"&&nc.test(o)===!1&&(r[o]=e[o]);for(const o in t.props)nc.test(o)===!0&&(l[o]=t.props[o]);n.attributes.value=r,n.listeners.value=l}return $l(i),i(),n}function fw({validate:e,resetValidation:t,requiresQForm:n}){const i=Vt(Ap,!1);if(i!==!1){const{props:r,proxy:l}=Ae();Object.assign(l,{validate:e,resetValidation:t}),ye(()=>r.disable,o=>{o===!0?(typeof t=="function"&&t(),i.unbindComponent(l)):i.bindComponent(l)}),Zt(()=>{r.disable!==!0&&i.bindComponent(l)}),it(()=>{r.disable!==!0&&i.unbindComponent(l)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const ic=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,rc=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,lc=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Ir=/^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])\)$/,Vr=/^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)\)$/,Lo={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=>ic.test(e),hexaColor:e=>rc.test(e),hexOrHexaColor:e=>lc.test(e),rgbColor:e=>Ir.test(e),rgbaColor:e=>Vr.test(e),rgbOrRgbaColor:e=>Ir.test(e)||Vr.test(e),hexOrRgbColor:e=>ic.test(e)||Ir.test(e),hexaOrRgbaColor:e=>rc.test(e)||Vr.test(e),anyColor:e=>lc.test(e)||Ir.test(e)||Vr.test(e)},hw=[!0,!1,"ondemand"],gw={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>hw.includes(e)}};function mw(e,t){const{props:n,proxy:i}=Ae(),r=ce(!1),l=ce(null),o=ce(!1);fw({validate:v,resetValidation:g});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||r.value===!0),f=y(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:l.value);ye(()=>n.modelValue,()=>{o.value=!0,u.value===!0&&n.lazyRules===!1&&p()});function h(){n.lazyRules!=="ondemand"&&u.value===!0&&o.value===!0&&p()}ye(()=>n.reactiveRules,T=>{T===!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,T=>{T===!0?o.value=!0:u.value===!0&&n.lazyRules!=="ondemand"&&p()});function g(){s++,t.value=!1,o.value=!1,r.value=!1,l.value=null,p.cancel()}function v(T=n.modelValue){if(n.disable===!0||c.value===!1)return!0;const S=++s,E=t.value!==!0?()=>{o.value=!0}:()=>{},q=(V,W)=>{V===!0&&E(),r.value=V,l.value=W||null,t.value=!1},L=[];for(let V=0;V<n.rules.length;V++){const W=n.rules[V];let Z;if(typeof W=="function"?Z=W(T,Lo):typeof W=="string"&&Lo[W]!==void 0&&(Z=Lo[W](T)),Z===!1||typeof Z=="string")return q(!0,Z),!1;Z!==!0&&Z!==void 0&&L.push(Z)}return L.length===0?(q(!1),!0):(t.value=!0,Promise.all(L).then(V=>{if(V===void 0||Array.isArray(V)===!1||V.length===0)return S===s&&q(!1),!0;const W=V.find(Z=>Z===!1||typeof Z=="string");return S===s&&q(W!==void 0,W),W===void 0},V=>(S===s&&(console.error(V),q(!0)),!1)))}const p=zs(v,0);return it(()=>{a!==void 0&&a(),p.cancel()}),Object.assign(i,{resetValidation:g,validate:v}),Pt(i,"hasError",()=>d.value),{isDirtyModel:o,hasRules:c,hasError:d,errorMessage:f,validate:v,resetValidation:g}}let Jn=[],Sr=[];function rh(e){Sr=Sr.filter(t=>t!==e)}function pw(e){rh(e),Sr.push(e)}function oc(e){rh(e),Sr.length===0&&Jn.length!==0&&(Jn[Jn.length-1](),Jn=[])}function Xl(e){Sr.length===0?e():Jn.push(e)}function vw(e){Jn=Jn.filter(t=>t!==e)}function xr(e){return e!=null&&(""+e).length!==0}const bw={...qt,...gw,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},Yl={...bw,maxlength:[Number,String]},ia=["update:modelValue","clear","focus","blur"];function ra({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:i,proxy:r}=Ae(),l=Tt(i,r.$q),o=cw({required:e,getValue:()=>i.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?y(()=>i.tag):{value:"label"},isDark:l,editable:y(()=>i.disable!==!0&&i.readonly!==!0),innerLoading:ce(!1),focused:ce(!1),hasPopupOpen:!1,splitAttrs:dw(),targetUid:o,rootRef:ce(null),targetRef:ce(null),controlRef:ce(null)}}function la(e){const{props:t,emit:n,slots:i,attrs:r,proxy:l}=Ae(),{$q:o}=l;let s=null;e.hasValue===void 0&&(e.hasValue=y(()=>xr(t.modelValue))),e.emitValue===void 0&&(e.emitValue=Q=>{n("update:modelValue",Q)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:A,onFocusout:M}),Object.assign(e,{clearValue:U,onControlFocusin:A,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}=mw(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),g=y(()=>t.bottomSlots===!0||t.hint!==void 0||c.value===!0||t.counter===!0||t.error!==null),v=y(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),p=y(()=>`q-field row no-wrap items-start q-field--${v.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&&g.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),T=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}`:"")),q=y(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:h.value,modelValue:t.modelValue,emitValue:e.emitValue})),L=y(()=>{const Q={};return e.targetUid.value&&(Q.for=e.targetUid.value),t.disable===!0&&(Q["aria-disabled"]="true"),Q});function V(){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(){Xl(V)}function Z(){vw(V);const Q=document.activeElement;Q!==null&&e.rootRef.value.contains(Q)&&Q.blur()}function A(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){Qe(Q),o.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),ze(()=>{const ae=a.value;f(),a.value=ae})}function C(Q){[13,32].includes(Q.keyCode)&&U(Q)}function J(){const Q=[];return i.prepend!==void 0&&Q.push(b("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:Qt},i.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(te("error",[b($e,{name:o.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?Q.push(te("inner-loading-append",i.loading!==void 0?i.loading():[b(un,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&Q.push(te("inner-clearable-append",[b($e,{class:"q-field__focusable-action",name:t.clearIcon||o.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":o.lang.label.clear,onKeyup:C,onClick:U})])),i.append!==void 0&&Q.push(b("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:Qt},i.append())),e.getInnerAppend!==void 0&&Q.push(te("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()):i.rawControl!==void 0?Q.push(i.rawControl()):i.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},i.control(q.value))),S.value===!0&&Q.push(b("div",{class:E.value},Je(i.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(Je(i.default))}function le(){let Q,ae;u.value===!0?d.value!==null?(Q=[b("div",{role:"alert"},d.value)],ae=`q--slot-error-${d.value}`):(Q=Je(i.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=Je(i.hint),ae="q--slot-hint"));const pe=t.counter===!0||i.counter!==void 0;if(t.hideBottomSpace===!0&&pe===!1&&Q===void 0)return;const P=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:Qt},[t.hideBottomSpace===!0?P:b(Ln,{name:"q-transition--field-message"},()=>P),pe===!0?b("div",{class:"q-field__counter"},i.counter!==void 0?i.counter():e.computedCounter.value):null])}function te(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 oe=!1;return $i(()=>{oe=!0}),Dl(()=>{oe===!0&&t.autofocus===!0&&l.focus()}),t.autofocus===!0&&Zt(()=>{l.focus()}),it(()=>{s!==null&&clearTimeout(s)}),Object.assign(l,{focus:W,blur:Z}),function(){const ae=e.getControl===void 0&&i.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...L.value}:L.value;return b(e.tag.value,{ref:e.rootRef,class:[p.value,r.class],style:r.style,...ae},[i.before!==void 0?b("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:Qt},i.before()):null,b("div",{class:"q-field__inner relative-position col self-stretch"},[b("div",{ref:e.controlRef,class:T.value,tabindex:-1,...e.controlEvents},J()),g.value===!0?le():null]),i.after!==void 0?b("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:Qt},i.after()):null])}}const yw=Pe({name:"QField",inheritAttrs:!1,props:{...Yl,tag:{type:String,default:"label"}},emits:ia,setup(){return la(ra({tagProp:!0}))}}),ww={xs:8,sm:10,md:14,lg:20,xl:24},_w=Pe({name:"QChip",props:{...qt,...si,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:i}}=Ae(),r=Tt(e,i),l=ai(e,ww),o=y(()=>e.selected===!0||e.icon!==void 0),s=y(()=>e.selected===!0?e.iconSelected||i.iconSet.chip.selected:e.icon),a=y(()=>e.iconRemove||i.iconSet.chip.remove),c=y(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),u=y(()=>{const p=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}`:"")+(p?` text-${p} 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":"")+(r.value===!0?" q-chip--dark q-dark":"")}),d=y(()=>{const p=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},T={...p,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||i.lang.label.remove};return{chip:p,remove:T}});function f(p){p.keyCode===13&&h(p)}function h(p){e.disable||(n("update:selected",!e.selected),n("click",p))}function g(p){(p.keyCode===void 0||p.keyCode===13)&&(Qe(p),e.disable===!1&&(n("update:modelValue",!1),n("remove")))}function v(){const p=[];c.value===!0&&p.push(b("div",{class:"q-focus-helper"})),o.value===!0&&p.push(b($e,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const T=e.label!==void 0?[b("div",{class:"ellipsis"},[e.label])]:void 0;return p.push(b("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},pf(t.default,T))),e.iconRight&&p.push(b($e,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&p.push(b($e,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:a.value,...d.value.remove,onClick:g,onKeyup:g})),p}return()=>{if(e.modelValue===!1)return;const p={class:u.value,style:l.value};return c.value===!0&&Object.assign(p,d.value.chip,{onClick:h,onKeyup:f}),zv("div",p,v(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Gs,e.ripple]])}}}),lh=Pe({name:"QItem",props:{...qt,...ob,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:i}}=Ae(),r=Tt(e,i),{hasLink:l,linkAttrs:o,linkClass:s,linkTag:a,navigateOnClick:c}=Ef(),u=ce(null),d=ce(null),f=y(()=>e.clickable===!0||l.value===!0||e.tag==="label"),h=y(()=>e.disable!==!0&&f.value===!0),g=y(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(r.value===!0?" q-item--dark":"")+(l.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":""):"")),v=y(()=>e.insetLevel===void 0?null:{["padding"+(i.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function p(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 T(E){if(h.value===!0&&wn(E,[13,32])===!0){Qe(E),E.qKeyEvent=!0;const q=new MouseEvent("click",E);q.qKeyEvent=!0,u.value.dispatchEvent(q)}n("keyup",E)}function S(){const E=mf(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:g.value,style:v.value,role:"listitem",onClick:p,onKeyup:T};return h.value===!0?(E.tabindex=e.tabindex||"0",Object.assign(E,o.value)):f.value===!0&&(E["aria-disabled"]="true"),b(a.value,E,S())}}}),Zr=Pe({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},Je(t.default))}}),Sw=Pe({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=y(()=>parseInt(e.lines,10)),i=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":"")),r=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:r.value,class:i.value},Je(t.default))}});function ws(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),fl.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const oh={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},xw={...oh,contextMenu:Boolean};function sh({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:i,proxy:r,emit:l}=Ae(),o=ce(null);let s=null;function a(h){return o.value===null?!1:h===void 0||h.touches===void 0||h.touches.length<=1}const c={};n===void 0&&(Object.assign(c,{hide(h){r.hide(h)},toggle(h){r.toggle(h),h.qAnchorHandled=!0},toggleKey(h){wn(h,13)===!0&&c.toggle(h)},contextClick(h){r.hide(h),Qt(h),ze(()=>{r.show(h),h.qAnchorHandled=!0})},prevent:Qt,mobileTouch(h){if(c.mobileCleanup(h),a(h)!==!0)return;r.hide(h),o.value.classList.add("non-selectable");const g=h.target;vr(c,"anchor",[[g,"touchmove","mobileCleanup","passive"],[g,"touchend","mobileCleanup","passive"],[g,"touchcancel","mobileCleanup","passive"],[o.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,r.show(h),h.qAnchorHandled=!0},300)},mobileCleanup(h){o.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&h!==void 0&&ws()}}),n=function(h=i.contextMenu){if(i.noParentEvent===!0||o.value===null)return;let g;h===!0?r.$q.platform.is.mobile===!0?g=[[o.value,"touchstart","mobileTouch","passive"]]:g=[[o.value,"mousedown","hide","passive"],[o.value,"contextmenu","contextClick","notPassive"]]:g=[[o.value,"click","toggle","passive"],[o.value,"keyup","toggleKey","passive"]],vr(c,"anchor",g)});function u(){hl(c,"anchor")}function d(h){for(o.value=h;o.value.classList.contains("q-anchor--skip");)o.value=o.value.parentNode;n()}function f(){if(i.target===!1||i.target===""||r.$el.parentNode===null)o.value=null;else if(i.target===!0)d(r.$el.parentNode);else{let h=i.target;if(typeof i.target=="string")try{h=document.querySelector(i.target)}catch{h=void 0}h!=null?(o.value=h.$el||h,n()):(o.value=null,console.error(`Anchor: target "${i.target}" not found`))}}return ye(()=>i.contextMenu,h=>{o.value!==null&&(u(),n(h))}),ye(()=>i.target,()=>{o.value!==null&&u(),f()}),ye(()=>i.noParentEvent,h=>{o.value!==null&&(h===!0?u():n())}),Zt(()=>{f(),t!==!0&&i.modelValue===!0&&o.value===null&&l("update:modelValue",!1)}),it(()=>{s!==null&&clearTimeout(s),u()}),{anchorEl:o,canShow:a,anchorEvents:c}}function ah(e,t){const n=ce(null);let i;function r(s,a){const c=`${a!==void 0?"add":"remove"}EventListener`,u=a!==void 0?a:i;s!==window&&s[c]("scroll",u,gt.passive),window[c]("scroll",u,gt.passive),i=a}function l(){n.value!==null&&(r(n.value),n.value=null)}const o=ye(()=>e.noParentEvent,()=>{n.value!==null&&(l(),t())});return it(o),{localScrollTarget:n,unconfigureScrollTarget:l,changeScrollEvent:r}}const oa={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},sa=["beforeShow","show","beforeHide","hide"];function aa({showing:e,canShow:t,hideOnRouteChange:n,handleShow:i,handleHide:r,processOnMount:l}){const o=Ae(),{props:s,emit:a,proxy:c}=o;let u;function d(S){e.value===!0?g(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,ze(()=>{u===S&&(u=void 0)})),(s.modelValue===null||E===!1)&&h(S)}function h(S){e.value!==!0&&(e.value=!0,a("beforeShow",S),i!==void 0?i(S):a("show",S))}function g(S){if(s.disable===!0)return;const E=s["onUpdate:modelValue"]!==void 0;E===!0&&(a("update:modelValue",!1),u=S,ze(()=>{u===S&&(u=void 0)})),(s.modelValue===null||E===!1)&&v(S)}function v(S){e.value!==!1&&(e.value=!1,a("beforeHide",S),r!==void 0?r(S):a("hide",S))}function p(S){s.disable===!0&&S===!0?s["onUpdate:modelValue"]!==void 0&&a("update:modelValue",!1):S===!0!==e.value&&(S===!0?h:v)(u)}ye(()=>s.modelValue,p),n!==void 0&&Js(o)===!0&&ye(()=>c.$route.fullPath,()=>{n.value===!0&&e.value===!0&&g()}),l===!0&&Zt(()=>{p(s.modelValue)});const T={show:f,hide:g,toggle:d};return Object.assign(c,T),T}let Cw=1,kw=document.body;function Zl(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${Cw++}`:e,ml.globalNodes!==void 0){const i=ml.globalNodes.class;i!==void 0&&(n.className=i)}return kw.appendChild(n),n}function ua(e){e.remove()}const Ri=[];function Ew(e){return Ri.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function uh(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Gr(e)}else if(e.__qPortal===!0){const n=Gr(e);return n!==void 0&&n.$options.name==="QPopupProxy"?(e.hide(t),n):e}e=Gr(e)}while(e!=null)}function qw(e,t,n){for(;n!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(n--,e.$options.name==="QMenu"){e=uh(e,t);continue}e.hide(t)}e=Gr(e)}}const Tw=Pe({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function Rw(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 ca(e,t,n,i){const r=ce(!1),l=ce(!1);let o=null;const s={},a=i==="dialog"&&Rw(e);function c(d){if(d===!0){oc(s),l.value=!0;return}l.value=!1,r.value===!1&&(a===!1&&o===null&&(o=Zl(!1,i)),r.value=!0,Ri.push(e.proxy),pw(s))}function u(d){if(l.value=!1,d!==!0)return;oc(s),r.value=!1;const f=Ri.indexOf(e.proxy);f!==-1&&Ri.splice(f,1),o!==null&&(ua(o),o=null)}return Is(()=>{u(!0)}),e.proxy.__qPortal=!0,Pt(e.proxy,"contentEl",()=>t.value),{showPortal:c,hidePortal:u,portalIsActive:r,portalIsAccessible:l,renderPortal:()=>a===!0?n():r.value===!0?[b(Tg,{to:o},b(Tw,n))]:void 0}}const ur={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function da(e,t=()=>{},n=()=>{}){return{transitionProps:y(()=>{const i=`q-transition--${e.transitionShow||t()}`,r=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${i}-enter-from`,enterActiveClass:`${i}-enter-active`,enterToClass:`${i}-enter-to`,leaveFromClass:`${r}-leave-from`,leaveActiveClass:`${r}-leave-active`,leaveToClass:`${r}-leave-to`}}),transitionStyle:y(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function fa(){let e;const t=Ae();function n(){e=void 0}return $i(n),it(n),{removeTick:n,registerTick(i){e=i,ze(()=>{e===i&&(Cf(t)===!1&&e(),e=void 0)})}}}function ha(){let e=null;const t=Ae();function n(){e!==null&&(clearTimeout(e),e=null)}return $i(n),it(n),{removeTimeout:n,registerTimeout(i,r){n(),Cf(t)===!1&&(e=setTimeout(()=>{e=null,i()},r))}}}const ti=[];let Li;function Aw(e){Li=e.keyCode===27}function Pw(){Li===!0&&(Li=!1)}function Ow(e){Li===!0&&(Li=!1,wn(e,27)===!0&&ti[ti.length-1](e))}function ch(e){window[e]("keydown",Aw),window[e]("blur",Pw),window[e]("keyup",Ow),Li=!1}function dh(e){ot.is.desktop===!0&&(ti.push(e),ti.length===1&&ch("addEventListener"))}function yl(e){const t=ti.indexOf(e);t!==-1&&(ti.splice(t,1),ti.length===0&&ch("removeEventListener"))}const ni=[];function fh(e){ni[ni.length-1](e)}function hh(e){ot.is.desktop===!0&&(ni.push(e),ni.length===1&&document.body.addEventListener("focusin",fh))}function _s(e){const t=ni.indexOf(e);t!==-1&&(ni.splice(t,1),ni.length===0&&document.body.removeEventListener("focusin",fh))}const{notPassiveCapture:wl}=gt,ii=[];function _l(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let n=Ri.length-1;for(;n>=0;){const i=Ri[n].$;if(i.type.name==="QTooltip"){n--;continue}if(i.type.name!=="QDialog")break;if(i.props.seamless!==!0)return;n--}for(let i=ii.length-1;i>=0;i--){const r=ii[i];if((r.anchorEl.value===null||r.anchorEl.value.contains(t)===!1)&&(t===document.body||r.innerRef.value!==null&&r.innerRef.value.contains(t)===!1))e.qClickOutside=!0,r.onClickOutside(e);else return}}function gh(e){ii.push(e),ii.length===1&&(document.addEventListener("mousedown",_l,wl),document.addEventListener("touchstart",_l,wl))}function Sl(e){const t=ii.findIndex(n=>n===e);t!==-1&&(ii.splice(t,1),ii.length===0&&(document.removeEventListener("mousedown",_l,wl),document.removeEventListener("touchstart",_l,wl)))}let sc,ac;function xl(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 mh(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const Ss={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Ss[`${e}#ltr`]=e,Ss[`${e}#rtl`]=e});function Cl(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:Ss[`${n[1]}#${t===!0?"rtl":"ltr"}`]}}function Fw(e,t){let{top:n,left:i,right:r,bottom:l,width:o,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],i-=t[0],l+=t[1],r+=t[0],o+=t[0],s+=t[1]),{top:n,bottom:l,height:s,left:i,right:r,width:o,middle:i+(r-i)/2,center:n+(l-n)/2}}function Lw(e,t,n){let{top:i,left:r}=e.getBoundingClientRect();return i+=t.top,r+=t.left,n!==void 0&&(i+=n[1],r+=n[0]),{top:i,bottom:i+1,height:1,left:r,right:r+1,width:1,middle:r,center:i}}function Dw(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function uc(e,t,n,i){return{top:e[n.vertical]-t[i.vertical],left:e[n.horizontal]-t[i.horizontal]}}function ga(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{ga(e,t+1)},10);return}const{targetEl:n,offset:i,anchorEl:r,anchorOrigin:l,selfOrigin:o,absoluteOffset:s,fit:a,cover:c,maxHeight:u,maxWidth:d}=e;if(ot.is.ios===!0&&window.visualViewport!==void 0){const V=document.body.style,{offsetLeft:W,offsetTop:Z}=window.visualViewport;W!==sc&&(V.setProperty("--q-pe-left",W+"px"),sc=W),Z!==ac&&(V.setProperty("--q-pe-top",Z+"px"),ac=Z)}const{scrollLeft:f,scrollTop:h}=n,g=s===void 0?Fw(r,c===!0?[0,0]:i):Lw(r,s,i);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:d,maxHeight:u,visibility:"visible"});const{offsetWidth:v,offsetHeight:p}=n,{elWidth:T,elHeight:S}=a===!0||c===!0?{elWidth:Math.max(g.width,v),elHeight:c===!0?Math.max(g.height,p):p}:{elWidth:v,elHeight:p};let E={maxWidth:d,maxHeight:u};(a===!0||c===!0)&&(E.minWidth=g.width+"px",c===!0&&(E.minHeight=g.height+"px")),Object.assign(n.style,E);const q=Dw(T,S);let L=uc(g,q,l,o);if(s===void 0||i===void 0)Do(L,g,q,l,o);else{const{top:V,left:W}=L;Do(L,g,q,l,o);let Z=!1;if(L.top!==V){Z=!0;const A=2*i[1];g.center=g.top-=A,g.bottom-=A+2}if(L.left!==W){Z=!0;const A=2*i[0];g.middle=g.left-=A,g.right-=A+2}Z===!0&&(L=uc(g,q,l,o),Do(L,g,q,l,o))}E={top:L.top+"px",left:L.left+"px"},L.maxHeight!==void 0&&(E.maxHeight=L.maxHeight+"px",g.height>L.maxHeight&&(E.minHeight=E.maxHeight)),L.maxWidth!==void 0&&(E.maxWidth=L.maxWidth+"px",g.width>L.maxWidth&&(E.minWidth=E.maxWidth)),Object.assign(n.style,E),n.scrollTop!==h&&(n.scrollTop=h),n.scrollLeft!==f&&(n.scrollLeft=f)}function Do(e,t,n,i,r){const l=n.bottom,o=n.right,s=iw(),a=window.innerHeight-s,c=document.body.clientWidth;if(e.top<0||e.top+l>a)if(r.vertical==="center")e.top=t[i.vertical]>a/2?Math.max(0,a-l):0,e.maxHeight=Math.min(l,a);else if(t[i.vertical]>a/2){const u=Math.min(a,i.vertical==="center"?t.center:i.vertical===r.vertical?t.bottom:t.top);e.maxHeight=Math.min(l,u),e.top=Math.max(0,u-l)}else e.top=Math.max(0,i.vertical==="center"?t.center:i.vertical===r.vertical?t.top:t.bottom),e.maxHeight=Math.min(l,a-e.top);if(e.left<0||e.left+o>c)if(e.maxWidth=Math.min(o,c),r.horizontal==="middle")e.left=t[i.horizontal]>c/2?Math.max(0,c-o):0;else if(t[i.horizontal]>c/2){const u=Math.min(c,i.horizontal==="middle"?t.middle:i.horizontal===r.horizontal?t.right:t.left);e.maxWidth=Math.min(o,u),e.left=Math.max(0,u-e.maxWidth)}else e.left=Math.max(0,i.horizontal==="middle"?t.middle:i.horizontal===r.horizontal?t.left:t.right),e.maxWidth=Math.min(o,c-e.left)}const Mw=Pe({name:"QMenu",inheritAttrs:!1,props:{...xw,...oa,...qt,...ur,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:xl},self:{type:String,validator:xl},offset:{type:Array,validator:mh},scrollTarget:ta,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...sa,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:i}){let r=null,l,o,s;const a=Ae(),{proxy:c}=a,{$q:u}=c,d=ce(null),f=ce(!1),h=y(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),g=Tt(e,u),{registerTick:v,removeTick:p}=fa(),{registerTimeout:T}=ha(),{transitionProps:S,transitionStyle:E}=da(e),{localScrollTarget:q,changeScrollEvent:L,unconfigureScrollTarget:V}=ah(e,$),{anchorEl:W,canShow:Z}=sh({showing:f}),{hide:A}=aa({showing:f,canShow:Z,handleShow:pe,handleHide:P,hideOnRouteChange:h,processOnMount:!0}),{showPortal:M,hidePortal:U,renderPortal:C}=ca(a,d,K,"menu"),J={anchorEl:W,innerRef:d,onClickOutside(O){if(e.persistent!==!0&&f.value===!0)return A(O),(O.type==="touchstart"||O.target.classList.contains("q-dialog__backdrop"))&&Qe(O),!0}},N=y(()=>Cl(e.anchor||(e.cover===!0?"center middle":"bottom start"),u.lang.rtl)),le=y(()=>e.cover===!0?N.value:Cl(e.self||"top start",u.lang.rtl)),te=y(()=>(e.square===!0?" q-menu--square":"")+(g.value===!0?" q-menu--dark q-dark":"")),oe=y(()=>e.autoClose===!0?{onClick:D}:{}),Q=y(()=>f.value===!0&&e.persistent!==!0);ye(Q,O=>{O===!0?(dh(F),gh(J)):(yl(F),Sl(J))});function ae(){Xl(()=>{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 pe(O){if(r=e.noRefocus===!1?document.activeElement:null,hh(ie),M(),$(),l=void 0,O!==void 0&&(e.touchPosition||e.contextMenu)){const Y=Jd(O);if(Y.left!==void 0){const{top:xe,left:w}=W.value.getBoundingClientRect();l={left:Y.left-w,top:Y.top-xe}}}o===void 0&&(o=ye(()=>u.screen.width+"|"+u.screen.height+"|"+e.self+"|"+e.anchor+"|"+u.lang.rtl,x)),e.noFocus!==!0&&document.activeElement.blur(),v(()=>{x(),e.noFocus!==!0&&ae()}),T(()=>{u.platform.is.ios===!0&&(s=e.autoClose,d.value.click()),x(),M(!0),n("show",O)},e.transitionDuration)}function P(O){p(),U(),m(!0),r!==null&&(O===void 0||O.qClickOutside!==!0)&&(((O&&O.type.indexOf("key")===0?r.closest('[tabindex]:not([tabindex^="-"])'):void 0)||r).focus(),r=null),T(()=>{U(!0),n("hide",O)},e.transitionDuration)}function m(O){l=void 0,o!==void 0&&(o(),o=void 0),(O===!0||f.value===!0)&&(_s(ie),V(),Sl(J),yl(F)),O!==!0&&(r=null)}function $(){(W.value!==null||e.scrollTarget!==void 0)&&(q.value=na(W.value,e.scrollTarget),L(q.value,x))}function D(O){s!==!0?(uh(c,O),n("click",O)):s=!1}function ie(O){Q.value===!0&&e.noFocus!==!0&&wf(d.value,O.target)!==!0&&ae()}function F(O){n("escapeKey"),A(O)}function x(){ga({targetEl:d.value,offset:e.offset,anchorEl:W.value,anchorOrigin:N.value,selfOrigin:le.value,absoluteOffset:l,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function K(){return b(Ln,S.value,()=>f.value===!0?b("div",{role:"menu",...i,ref:d,tabindex:-1,class:["q-menu q-position-engine scroll"+te.value,i.class],style:[i.style,E.value],...oe.value},Je(t.default)):null)}return it(m),Object.assign(c,{focus:ae,updatePosition:x}),C}});function Bw(e,t,n){let i;function r(){i!==void 0&&(br.remove(i),i=void 0)}return it(()=>{e.value===!0&&r()}),{removeFromHistory:r,addToHistory(){i={condition:()=>n.value===!0,handler:t},br.add(i)}}}let Qi=0,Mo,Bo,Zi,$o=!1,cc,dc,fc,Un=null;function $w(e){Nw(e)&&Qe(e)}function Nw(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=mp(e),n=e.shiftKey&&!e.deltaX,i=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),r=n||i?e.deltaY:e.deltaX;for(let l=0;l<t.length;l++){const o=t[l];if(rw(o,i))return i?r<0&&o.scrollTop===0?!0:r>0&&o.scrollTop+o.clientHeight===o.scrollHeight:r<0&&o.scrollLeft===0?!0:r>0&&o.scrollLeft+o.clientWidth===o.scrollWidth}return!0}function hc(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function jr(e){$o!==!0&&($o=!0,requestAnimationFrame(()=>{$o=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:i}=document.scrollingElement;(Zi===void 0||t!==window.innerHeight)&&(Zi=n-t,document.scrollingElement.scrollTop=i),i>Zi&&(document.scrollingElement.scrollTop-=Math.ceil((i-Zi)/8))}))}function gc(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:i,overflowX:r}=window.getComputedStyle(t);Mo=nw(window),Bo=tw(window),cc=t.style.left,dc=t.style.top,fc=window.location.href,t.style.left=`-${Mo}px`,t.style.top=`-${Bo}px`,r!=="hidden"&&(r==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),i!=="hidden"&&(i==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,ot.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",jr,gt.passiveCapture),window.visualViewport.addEventListener("scroll",jr,gt.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",hc,gt.passiveCapture))}ot.is.desktop===!0&&ot.is.mac===!0&&window[`${e}EventListener`]("wheel",$w,gt.notPassive),e==="remove"&&(ot.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",jr,gt.passiveCapture),window.visualViewport.removeEventListener("scroll",jr,gt.passiveCapture)):window.removeEventListener("scroll",hc,gt.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=cc,t.style.top=dc,window.location.href===fc&&window.scrollTo(Mo,Bo),Zi=void 0)}function xs(e){let t="add";if(e===!0){if(Qi++,Un!==null){clearTimeout(Un),Un=null;return}if(Qi>1)return}else{if(Qi===0||(Qi--,Qi>0))return;if(t="remove",ot.is.ios===!0&&ot.is.nativeMobile===!0){Un!==null&&clearTimeout(Un),Un=setTimeout(()=>{gc(t),Un=null},100);return}}gc(t)}function Iw(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,xs(t))}}}let Hr=0;const Vw={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"},mc={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Di=Pe({name:"QDialog",inheritAttrs:!1,props:{...oa,...ur,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:[...sa,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:i}){const r=Ae(),l=ce(null),o=ce(!1),s=ce(!1);let a=null,c=null,u,d;const f=y(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:h}=Iw(),{registerTimeout:g}=ha(),{registerTick:v,removeTick:p}=fa(),{transitionProps:T,transitionStyle:S}=da(e,()=>mc[e.position][0],()=>mc[e.position][1]),E=y(()=>S.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:q,hidePortal:L,portalIsAccessible:V,renderPortal:W}=ca(r,l,ie,"dialog"),{hide:Z}=aa({showing:o,hideOnRouteChange:f,handleShow:le,handleHide:te,processOnMount:!0}),{addToHistory:A,removeFromHistory:M}=Bw(o,Z,f),U=y(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${Vw[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(()=>o.value===!0&&e.seamless!==!0),J=y(()=>e.autoClose===!0?{onClick:m}:{}),N=y(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${C.value===!0?"modal":"seamless"}`,i.class]);ye(()=>e.maximized,F=>{o.value===!0&&P(F)}),ye(C,F=>{h(F),F===!0?(hh(D),dh(ae)):(_s(D),yl(ae))});function le(F){A(),c=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,P(e.maximized),q(),s.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),v(oe)):p(),g(()=>{if(r.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,l.value.click(),d=!1}q(!0),s.value=!1,n("show",F)},e.transitionDuration)}function te(F){p(),M(),pe(!0),s.value=!0,L(),c!==null&&(((F&&F.type.indexOf("key")===0?c.closest('[tabindex]:not([tabindex^="-"])'):void 0)||c).focus(),c=null),g(()=>{L(!0),s.value=!1,n("hide",F)},e.transitionDuration)}function oe(F){Xl(()=>{let x=l.value;if(x!==null){if(F!==void 0){const K=x.querySelector(F);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(F){F&&typeof F.focus=="function"?F.focus({preventScroll:!0}):oe(),n("shake");const x=l.value;x!==null&&(x.classList.remove("q-animate--scale"),x.classList.add("q-animate--scale"),a!==null&&clearTimeout(a),a=setTimeout(()=>{a=null,l.value!==null&&(x.classList.remove("q-animate--scale"),oe())},170))}function ae(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&Q():(n("escapeKey"),Z()))}function pe(F){a!==null&&(clearTimeout(a),a=null),(F===!0||o.value===!0)&&(P(!1),e.seamless!==!0&&(h(!1),_s(D),yl(ae))),F!==!0&&(c=null)}function P(F){F===!0?u!==!0&&(Hr<1&&document.body.classList.add("q-body--dialog"),Hr++,u=!0):u===!0&&(Hr<2&&document.body.classList.remove("q-body--dialog"),Hr--,u=!1)}function m(F){d!==!0&&(Z(F),n("click",F))}function $(F){e.persistent!==!0&&e.noBackdropDismiss!==!0?Z(F):e.noShake!==!0&&Q()}function D(F){e.allowFocusOutside!==!0&&V.value===!0&&wf(l.value,F.target)!==!0&&oe('[tabindex]:not([tabindex="-1"])')}Object.assign(r.proxy,{focus:oe,shake:Q,__updateRefocusTarget(F){c=F||null}}),it(pe);function ie(){return b("div",{role:"dialog","aria-modal":C.value===!0?"true":"false",...i,class:N.value},[b(Ln,{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(Ln,T.value,()=>o.value===!0?b("div",{ref:l,class:U.value,style:S.value,tabindex:-1,...J.value},Je(t.default)):null)])}return W}}),eo={name:String};function ph(e={}){return(t,n,i)=>{t[n](b("input",{class:"hidden"+(i||""),...e.value}))}}function vh(e){return y(()=>e.name||e.for)}const jw=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,Hw=/[\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,zw=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,Uw=/[a-z0-9_ -]$/i;function bh(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"&&(ot.is.firefox===!0?Uw.test(n.data)===!1:jw.test(n.data)===!0||Hw.test(n.data)===!0||zw.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}function pc(e,t,n){if(n<=t)return t;const i=n-t+1;let r=t+(e-t)%i;return r<t&&(r=i+r),r===0?0:r}const vc=e=>["add","add-unique","toggle"].includes(e),Kw=".*+?^${}()|[]\\",Ww=Object.keys(Yl);function No(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return i=>i!==null&&typeof i=="object"&&n in i?i[n]:i}const Qw=Pe({name:"QSelect",inheritAttrs:!1,props:{...bs,...eo,...Yl,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:vc},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:bs.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...ia,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:i}=Ae(),{$q:r}=i,l=ce(!1),o=ce(!1),s=ce(-1),a=ce(""),c=ce(!1),u=ce(!1);let d=null,f=null,h,g,v,p=null,T,S,E,q;const L=ce(null),V=ce(null),W=ce(null),Z=ce(null),A=ce(null),M=vh(e),U=bh(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:le,localResetVirtualScroll:te,padVirtualScroll:oe,onVirtualScrollEvt:Q,scrollTo:ae,setVirtualScrollSize:pe}=ih({virtualScrollLength:C,getVirtualScrollTarget:to,getVirtualScrollEl:Pr,virtualScrollItemSizeComputed:J}),P=ra(),m=y(()=>{const k=e.mapOptions===!0&&e.multiple!==!0,fe=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 he=e.mapOptions===!0&&h!==void 0?h:[],Re=fe.map(je=>cn(je,he));return e.modelValue===null&&k===!0?Re.filter(je=>je!==null):Re}return fe}),$=y(()=>{const k={};return Ww.forEach(fe=>{const he=e[fe];he!==void 0&&(k[fe]=he)}),k}),D=y(()=>e.optionsDark===null?P.isDark.value:e.optionsDark),ie=y(()=>xr(m.value)),F=y(()=>{let k="q-field__input q-placeholder col";return e.hideSelected===!0||m.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(()=>m.value.map(k=>ge.value(k)).join(", ")),Y=y(()=>e.displayValue!==void 0?e.displayValue:O.value),xe=y(()=>e.optionsHtml===!0?()=>!0:k=>k!=null&&k.html===!0),w=y(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||m.value.some(xe.value))),_=y(()=>P.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":l.value===!0?"true":"false","aria-controls":`${P.targetUid.value}_lb`};return s.value>=0&&(k["aria-activedescendant"]=`${P.targetUid.value}_${s.value}`),k}),j=y(()=>({id:`${P.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),z=y(()=>m.value.map((k,fe)=>({index:fe,opt:k,html:xe.value(k),selected:!0,removeAtIndex:Fe,toggleOption:Ve,tabindex:_.value}))),B=y(()=>{if(C.value===0)return[];const{from:k,to:fe}=N.value;return e.options.slice(k,fe).map((he,Re)=>{const je=se.value(he)===!0,Ne=dn(he)===!0,ft=k+Re,tt={clickable:!0,active:Ne,activeClass:ne.value,manualFocus:!0,focused:!1,disable:je,tabindex:-1,dense:e.optionsDense,dark:D.value,role:"option","aria-selected":Ne===!0?"true":"false",id:`${P.targetUid.value}_${ft}`,onClick:()=>{Ve(he)}};return je!==!0&&(s.value===ft&&(tt.focused=!0),r.platform.is.desktop===!0&&(tt.onMousemove=()=>{l.value===!0&&Ke(ft)})),{index:ft,opt:he,html:xe.value(he),label:ge.value(he),selected:tt.active,focused:tt.focused,toggleOption:Ve,setOptionIndex:Ke,itemProps:tt}})}),X=y(()=>e.dropdownIcon!==void 0?e.dropdownIcon:r.iconSet.arrow.dropdown),re=y(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),ne=y(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),G=y(()=>No(e.optionValue,"value")),ge=y(()=>No(e.optionLabel,"label")),se=y(()=>No(e.optionDisable,"disable")),me=y(()=>m.value.map(G.value)),ve=y(()=>{const k={onInput:H,onChange:U,onKeydown:In,onKeyup:fn,onKeypress:Vi,onFocus:st,onClick(fe){g===!0&&sn(fe)}};return k.onCompositionstart=k.onCompositionupdate=k.onCompositionend=U,k});ye(m,k=>{h=k,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&P.innerLoading.value!==!0&&(o.value!==!0&&l.value!==!0||ie.value!==!0)&&(v!==!0&&hi(),(o.value===!0||l.value===!0)&&we(""))},{immediate:!0}),ye(()=>e.fillInput,hi),ye(l,lo),ye(C,Dh);function qe(k){return e.emitValue===!0?G.value(k):k}function Oe(k){if(k!==-1&&k<m.value.length)if(e.multiple===!0){const fe=e.modelValue.slice();n("remove",{index:k,value:fe.splice(k,1)[0]}),n("update:modelValue",fe)}else n("update:modelValue",null)}function Fe(k){Oe(k),P.focus()}function ct(k,fe){const he=qe(k);if(e.multiple!==!0){e.fillInput===!0&&be(ge.value(k),!0,!0),n("update:modelValue",he);return}if(m.value.length===0){n("add",{index:0,value:he}),n("update:modelValue",e.multiple===!0?[he]:he);return}if(fe===!0&&dn(k)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const Re=e.modelValue.slice();n("add",{index:Re.length,value:he}),Re.push(he),n("update:modelValue",Re)}function Ve(k,fe){if(P.editable.value!==!0||k===void 0||se.value(k)===!0)return;const he=G.value(k);if(e.multiple!==!0){fe!==!0&&(be(e.fillInput===!0?ge.value(k):"",!0,!0),Vn()),V.value!==null&&V.value.focus(),(m.value.length===0||An(G.value(m.value[0]),he)!==!0)&&n("update:modelValue",e.emitValue===!0?he:k);return}if((g!==!0||c.value===!0)&&P.focus(),st(),m.value.length===0){const Ne=e.emitValue===!0?he: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=>An(Ne,he));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?he:k;n("add",{index:Re.length,value:Ne}),Re.push(Ne)}n("update:modelValue",Re)}function Ke(k){if(r.platform.is.desktop!==!0)return;const fe=k!==-1&&k<C.value?k:-1;s.value!==fe&&(s.value=fe)}function Xe(k=1,fe){if(l.value===!0){let he=s.value;do he=pc(he+k,-1,C.value-1);while(he!==-1&&he!==s.value&&se.value(e.options[he])===!0);s.value!==he&&(Ke(he),ae(he),fe!==!0&&e.useInput===!0&&e.fillInput===!0&&de(he>=0?ge.value(e.options[he]):T,!0))}}function cn(k,fe){const he=Re=>An(G.value(Re),k);return e.options.find(he)||fe.find(he)||k}function dn(k){const fe=G.value(k);return me.value.find(he=>An(he,fe))!==void 0}function st(k){e.useInput===!0&&V.value!==null&&(k===void 0||V.value===k.target&&k.target.value===O.value)&&V.value.select()}function St(k){wn(k,27)===!0&&l.value===!0&&(sn(k),Vn(),hi()),n("keyup",k)}function fn(k){const{value:fe}=k.target;if(k.keyCode!==void 0){St(k);return}if(k.target.value="",d!==null&&(clearTimeout(d),d=null),f!==null&&(clearTimeout(f),f=null),hi(),typeof fe=="string"&&fe.length!==0){const he=fe.toLocaleLowerCase(),Re=Ne=>{const ft=e.options.find(tt=>String(Ne.value(tt)).toLocaleLowerCase()===he);return ft===void 0?!1:(m.value.indexOf(ft)===-1?Ve(ft):Vn(),!0)},je=Ne=>{Re(G)!==!0&&Ne!==!0&&Re(ge)!==!0&&we(fe,!0,()=>je(!0))};je()}else P.clearValue(k)}function Vi(k){n("keypress",k)}function In(k){if(n("keydown",k),jl(k)===!0)return;const fe=a.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),he=k.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(s.value!==-1||fe===!0);if(k.keyCode===27){Qt(k);return}if(k.keyCode===9&&he===!1){di();return}if(k.target===void 0||k.target.id!==P.targetUid.value||P.editable.value!==!0)return;if(k.keyCode===40&&P.innerLoading.value!==!0&&l.value===!1){Qe(k),fi();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)&&(Qe(k),s.value=-1,Xe(k.keyCode===36?1:-1,e.multiple)),(k.keyCode===33||k.keyCode===34)&&le.value!==void 0&&(Qe(k),s.value=Math.max(-1,Math.min(C.value,s.value+(k.keyCode===33?-1:1)*le.value.view)),Xe(k.keyCode===33?1:-1,e.multiple)),(k.keyCode===38||k.keyCode===40)&&(Qe(k),Xe(k.keyCode===38?-1:1,e.multiple));const Re=C.value;if((E===void 0||q<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)){l.value!==!0&&fi(k);const je=k.key.toLocaleLowerCase(),Ne=E.length===1&&E[0]===je;q=Date.now()+1500,Ne===!1&&(Qe(k),E+=je);const ft=new RegExp("^"+E.split("").map(oo=>Kw.indexOf(oo)!==-1?"\\"+oo:oo).join(".*"),"i");let tt=s.value;if(Ne===!0||tt<0||ft.test(ge.value(e.options[tt]))!==!0)do tt=pc(tt+1,-1,Re-1);while(tt!==s.value&&(se.value(e.options[tt])===!0||ft.test(ge.value(e.options[tt]))!==!0));s.value!==tt&&ze(()=>{Ke(tt),ae(tt),tt>=0&&e.useInput===!0&&e.fillInput===!0&&de(ge.value(e.options[tt]),!0)});return}if(!(k.keyCode!==13&&(k.keyCode!==32||e.useInput===!0||E!=="")&&(k.keyCode!==9||he===!1))){if(k.keyCode!==9&&Qe(k),s.value!==-1&&s.value<Re){Ve(e.options[s.value]);return}if(fe===!0){const je=(Ne,ft)=>{if(ft){if(vc(ft)!==!0)return}else ft=e.newValueMode;if(be("",e.multiple!==!0,!0),Ne==null)return;(ft==="toggle"?Ve:ct)(Ne,ft==="add-unique"),e.multiple!==!0&&(V.value!==null&&V.value.focus(),Vn())};if(e.onNewValue!==void 0?n("newValue",a.value,je):je(a.value),e.multiple!==!0)return}l.value===!0?di():P.innerLoading.value!==!0&&fi()}}function Pr(){return g===!0?A.value:W.value!==null&&W.value.contentEl!==null?W.value.contentEl:void 0}function to(){return Pr()}function no(){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,fe)=>b(_w,{key:"option-"+fe,removable:P.editable.value===!0&&se.value(k.opt)!==!0,dense:!0,textColor:e.color,tabindex:_.value,onRemove(){k.removeAtIndex(fe)}},()=>b("span",{class:"ellipsis",[k.html===!0?"innerHTML":"textContent"]:ge.value(k.opt)}))):[b("span",{[w.value===!0?"innerHTML":"textContent"]:Y.value})]}function Or(){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:he=>b(lh,{key:he.index,...he.itemProps},()=>b(Zr,()=>b(Sw,()=>b("span",{[he.html===!0?"innerHTML":"textContent"]:he.label}))));let fe=oe("div",B.value.map(k));return t["before-options"]!==void 0&&(fe=t["before-options"]().concat(fe)),Gt(t["after-options"],fe)}function io(k,fe){const he=fe===!0?{...R.value,...P.splitAttrs.attributes.value}:void 0,Re={ref:fe===!0?V:void 0,key:"i_t",class:F.value,style:e.inputStyle,value:a.value!==void 0?a.value:"",type:"search",...he,id:fe===!0?P.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,...ve.value};return k!==!0&&g===!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)&&(de(k.target.value||""),v=!0,T=a.value,P.focused.value!==!0&&(g!==!0||c.value===!0)&&P.focus(),e.onFilter!==void 0&&(d=setTimeout(()=>{d=null,we(a.value)},e.inputDebounce)))}function de(k,fe){a.value!==k&&(a.value=k,fe===!0||e.inputDebounce===0||e.inputDebounce==="0"?n("inputValue",k):f=setTimeout(()=>{f=null,n("inputValue",k)},e.inputDebounce))}function be(k,fe,he){v=he!==!0,e.useInput===!0&&(de(k,!0),(fe===!0||he!==!0)&&(T=k),fe!==!0&&we(k))}function we(k,fe,he){if(e.onFilter===void 0||fe!==!0&&P.focused.value!==!0)return;P.innerLoading.value===!0?n("filterAbort"):(P.innerLoading.value=!0,u.value=!0),k!==""&&e.multiple!==!0&&m.value.length!==0&&v!==!0&&k===ge.value(m.value[0])&&(k="");const Re=setTimeout(()=>{l.value===!0&&(l.value=!1)},10);p!==null&&clearTimeout(p),p=Re,n("filter",k,(je,Ne)=>{(fe===!0||P.focused.value===!0)&&p===Re&&(clearTimeout(p),typeof je=="function"&&je(),u.value=!1,ze(()=>{P.innerLoading.value=!1,P.editable.value===!0&&(fe===!0?l.value===!0&&Vn():l.value===!0?lo(!0):l.value=!0),typeof Ne=="function"&&ze(()=>{Ne(i)}),typeof he=="function"&&ze(()=>{he(i)})}))},()=>{P.focused.value===!0&&p===Re&&(clearTimeout(p),P.innerLoading.value=!1,u.value=!1),l.value===!0&&(l.value=!1)})}function Te(){return b(Mw,{ref:W,class:x.value,style:e.popupContentStyle,modelValue:l.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:re.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...j.value,onScrollPassive:Q,onBeforeShow:va,onBeforeHide:Ge,onShow:We},Or)}function Ge(k){ba(k),di()}function We(){pe()}function Ht(k){sn(k),V.value!==null&&V.value.focus(),c.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function pt(k){sn(k),ze(()=>{c.value=!1})}function ui(){const k=[b(yw,{class:`col-auto ${P.fieldClass.value}`,...$.value,for:P.targetUid.value,dark:D.value,square:!0,loading:u.value,itemAligned:!1,filled:!0,stackLabel:a.value.length!==0,...P.splitAttrs.listeners.value,onFocus:Ht,onBlur:pt},{...t,rawControl:()=>P.getControl(!0),before:void 0,after:void 0})];return l.value===!0&&k.push(b("div",{ref:A,class:x.value+" scroll",style:e.popupContentStyle,...j.value,onClick:Qt,onScrollPassive:Q},Or())),b(Di,{ref:Z,modelValue:o.value,position:e.useInput===!0?"top":void 0,transitionShow:S,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:va,onBeforeHide:ci,onHide:ro,onShow:Lh},()=>b("div",{class:"q-select__dialog"+(D.value===!0?" q-select__dialog--dark q-dark":"")+(c.value===!0?" q-select__dialog--focused":"")},k))}function ci(k){ba(k),Z.value!==null&&Z.value.__updateRefocusTarget(P.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),P.focused.value=!1}function ro(k){Vn(),P.focused.value===!1&&n("blur",k),hi()}function Lh(){const k=document.activeElement;(k===null||k.id!==P.targetUid.value)&&V.value!==null&&V.value!==k&&V.value.focus(),pe()}function di(){o.value!==!0&&(s.value=-1,l.value===!0&&(l.value=!1),P.focused.value===!1&&(p!==null&&(clearTimeout(p),p=null),P.innerLoading.value===!0&&(n("filterAbort"),P.innerLoading.value=!1,u.value=!1)))}function fi(k){P.editable.value===!0&&(g===!0?(P.onControlFocusin(k),o.value=!0,ze(()=>{P.focus()})):P.focus(),e.onFilter!==void 0?we(a.value):(K.value!==!0||t["no-option"]!==void 0)&&(l.value=!0))}function Vn(){o.value=!1,di()}function hi(){e.useInput===!0&&be(e.multiple!==!0&&e.fillInput===!0&&m.value.length!==0&&ge.value(m.value[0])||"",!0,!0)}function lo(k){let fe=-1;if(k===!0){if(m.value.length!==0){const he=G.value(m.value[0]);fe=e.options.findIndex(Re=>An(G.value(Re),he))}te(fe)}Ke(fe)}function Dh(k,fe){l.value===!0&&P.innerLoading.value===!1&&(te(-1,!0),ze(()=>{l.value===!0&&P.innerLoading.value===!1&&(k>fe?te():lo(!0))}))}function pa(){o.value===!1&&W.value!==null&&W.value.updatePosition()}function va(k){k!==void 0&&sn(k),n("popupShow",k),P.hasPopupOpen=!0,P.onControlFocusin(k)}function ba(k){k!==void 0&&sn(k),n("popupHide",k),P.hasPopupOpen=!1,P.onControlFocusout(k)}function ya(){g=r.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=r.platform.is.ios===!0&&g===!0&&e.useInput===!0?"fade":e.transitionShow}return $l(ya),Ns(pa),ya(),it(()=>{d!==null&&clearTimeout(d),f!==null&&clearTimeout(f)}),Object.assign(i,{showPopup:fi,hidePopup:Vn,removeAtIndex:Oe,add:ct,toggleOption:Ve,getOptionIndex:()=>s.value,setOptionIndex:Ke,moveOptionSelection:Xe,filter:we,updateMenuPosition:pa,updateInputValue:be,isOptionSelected:dn,getEmittingOptionValue:qe,isOptionDisabled:(...k)=>se.value.apply(null,k)===!0,getOptionValue:(...k)=>G.value.apply(null,k),getOptionLabel:(...k)=>ge.value.apply(null,k)}),Object.assign(P,{innerValue:m,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:L,targetRef:V,hasValue:ie,showPopup:fi,floatingLabel:y(()=>e.hideSelected!==!0&&ie.value===!0||typeof a.value=="number"||a.value.length!==0||xr(e.displayValue)),getControlChild:()=>{if(P.editable.value!==!1&&(o.value===!0||K.value!==!0||t["no-option"]!==void 0))return g===!0?ui():Te();P.hasPopupOpen===!0&&(P.hasPopupOpen=!1)},controlEvents:{onFocusin(k){P.onControlFocusin(k)},onFocusout(k){P.onControlFocusout(k,()=>{hi(),di()})},onClick(k){if(Qt(k),g!==!0&&l.value===!0){di(),V.value!==null&&V.value.focus();return}fi(k)}},getControl:k=>{const fe=no(),he=k===!0||o.value!==!0||g!==!0;if(e.useInput===!0)fe.push(io(k,he));else if(P.editable.value===!0){const je=he===!0?R.value:void 0;fe.push(b("input",{ref:he===!0?V:void 0,key:"d_t",class:"q-select__focus-target",id:he===!0?P.targetUid.value:void 0,value:Y.value,readonly:!0,"data-autofocus":k===!0||e.autofocus===!0||void 0,...je,onKeydown:In,onKeyup:St,onKeypress:Vi})),he===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&fe.push(b("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:fn}))}if(M.value!==void 0&&e.disable!==!0&&me.value.length!==0){const je=me.value.map(Ne=>b("option",{value:Ne,selected:!0}));fe.push(b("select",{class:"hidden",name:M.value,multiple:e.multiple},je))}const Re=e.useInput===!0||he!==!0?void 0:P.splitAttrs.attributes.value;return b("div",{class:"q-field__native row items-center",...Re,...P.splitAttrs.listeners.value},fe)},getInnerAppend:()=>e.loading!==!0&&u.value!==!0&&e.hideDropdownIcon!==!0?[b($e,{class:"q-select__dropdown-icon"+(l.value===!0?" rotate-180":""),name:X.value})]:null}),la(P)}}),Gw={xs:2,sm:4,md:6,lg:10,xl:14};function bc(e,t,n){return{transform:t===!0?`translateX(${n.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const Jw=Pe({name:"QLinearProgress",props:{...qt,...si,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}=Ae(),i=Tt(e,n.$q),r=ai(e,Gw),l=y(()=>e.indeterminate===!0||e.query===!0),o=y(()=>e.reverse!==e.query),s=y(()=>({...r.value!==null?r.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(()=>bc(e.buffer!==void 0?e.buffer:1,o.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--${i.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),f=y(()=>bc(l.value===!0?1:e.value,o.value,n.$q)),h=y(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${u.value} q-linear-progress__model--${l.value===!0?"in":""}determinate`),g=y(()=>({width:`${e.value*100}%`})),v=y(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${u.value}`);return()=>{const p=[b("div",{class:d.value,style:c.value}),b("div",{class:h.value,style:f.value})];return e.stripe===!0&&l.value===!1&&p.push(b("div",{class:v.value,style:g.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},Gt(t.default,p))}}});function yh(e,t){const n=ce(null),i=y(()=>e.disable===!0?null:b("span",{ref:n,class:"no-outline",tabindex:-1}));function r(l){const o=t.value;l!==void 0&&l.type.indexOf("key")===0?o!==null&&document.activeElement!==o&&o.contains(document.activeElement)===!0&&o.focus():n.value!==null&&(l===void 0||o!==null&&o.contains(l.target)===!0)&&n.value.focus()}return{refocusTargetEl:i,refocusTarget:r}}const wh={xs:30,sm:35,md:40,lg:50,xl:60},_h={...qt,...si,...eo,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]},Sh=["update:modelValue"];function xh(e,t){const{props:n,slots:i,emit:r,proxy:l}=Ae(),{$q:o}=l,s=Tt(n,o),a=ce(null),{refocusTargetEl:c,refocusTarget:u}=yh(n,a),d=ai(n,wh),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}),g=y(()=>f.value===!0?h.value!==-1:Ee(n.modelValue)===Ee(n.trueValue)),v=y(()=>f.value===!0?h.value===-1:Ee(n.modelValue)===Ee(n.falseValue)),p=y(()=>g.value===!1&&v.value===!1),T=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=g.value===!0?"truthy":v.value===!0?"falsy":"indet",J=n.color!==void 0&&(n.keepColor===!0||(e==="toggle"?g.value===!0:v.value!==!0))?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${C}${J}`}),q=y(()=>{const C={type:"checkbox"};return n.name!==void 0&&Object.assign(C,{".checked":g.value,"^checked":g.value===!0?"checked":void 0,name:n.name,value:f.value===!0?n.val:n.trueValue}),C}),L=ph(q),V=y(()=>{const C={tabindex:T.value,role:e==="toggle"?"switch":"checkbox","aria-label":n.label,"aria-checked":p.value===!0?"mixed":g.value===!0?"true":"false"};return n.disable===!0&&(C["aria-disabled"]="true"),C});function W(C){C!==void 0&&(Qe(C),u(C)),n.disable!==!0&&r("update:modelValue",Z(),C)}function Z(){if(f.value===!0){if(g.value===!0){const C=n.modelValue.slice();return C.splice(h.value,1),C}return n.modelValue.concat([n.val])}if(g.value===!0){if(n.toggleOrder!=="ft"||n.toggleIndeterminate===!1)return n.falseValue}else if(v.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 A(C){(C.keyCode===13||C.keyCode===32)&&Qe(C)}function M(C){(C.keyCode===13||C.keyCode===32)&&W(C)}const U=t(g,p);return Object.assign(l,{toggle:W}),()=>{const C=U();n.disable!==!0&&L(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?Gt(i.default,[n.label]):Je(i.default);return N!==void 0&&J.push(b("div",{class:`q-${e}__label q-anchor--skip`},N)),b("div",{ref:a,class:S.value,...V.value,onClick:W,onKeydown:A,onKeyup:M},J)}}const Xw=()=>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"})])]),cr=Pe({name:"QCheckbox",props:_h,emits:Sh,setup(e){const t=Xw();function n(i,r){const l=y(()=>(i.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>l.value!==null?[b("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[b($e,{class:"q-checkbox__icon",name:l.value})])]:[t]}return xh("checkbox",n)}});let Gi=0;const Yw={fullscreen:Boolean,noRouteFullscreenExit:Boolean},Zw=["update:fullscreen","fullscreen"];function e_(){const e=Ae(),{props:t,emit:n,proxy:i}=e;let r,l,o;const s=ce(!1);Js(e)===!0&&ye(()=>i.$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,o=i.$el.parentNode,o.replaceChild(l,i.$el),document.body.appendChild(i.$el),Gi++,Gi===1&&document.body.classList.add("q-body--fullscreen-mixin"),r={handler:u},br.add(r))}function u(){s.value===!0&&(r!==void 0&&(br.remove(r),r=void 0),o.replaceChild(i.$el,l),s.value=!1,Gi=Math.max(0,Gi-1),Gi===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),i.$el.scrollIntoView!==void 0&&setTimeout(()=>{i.$el.scrollIntoView()})))}return Bl(()=>{l=document.createElement("span")}),Zt(()=>{t.fullscreen===!0&&c()}),it(u),Object.assign(i,{toggleFullscreen:a,setFullscreen:c,exitFullscreen:u}),{inFullscreen:s,toggleFullscreen:a}}function t_(e,t){return new Date(e)-new Date(t)}const n_={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function i_(e,t,n,i){const r=y(()=>{const{sortBy:s}=t.value;return s&&n.value.find(a=>a.name===s)||null}),l=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,g)=>{let v=f(h),p=f(g);return u.rawSort!==void 0?u.rawSort(v,p,h,g)*d:v==null?-1*d:p==null?1*d:u.sort!==void 0?u.sort(v,p,h,g)*d:ls(v)===!0&&ls(p)===!0?(v-p)*d:uu(v)===!0&&uu(p)===!0?t_(v,p)*d:typeof v=="boolean"&&typeof p=="boolean"?(v-p)*d:([v,p]=[v,p].map(T=>(T+"").toLocaleString().toLowerCase()),v<p?-1*d:v===p?0:d)})});function o(s){let a=e.columnSortOrder;if(Ot(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,i({sortBy:c,descending:u,page:1})}return{columnToSort:r,computedSortMethod:l,sort:o}}const r_={filter:[String,Object],filterMethod:Function};function l_(e,t){const n=y(()=>e.filterMethod!==void 0?e.filterMethod:(i,r,l,o)=>{const s=r?r.toLowerCase():"";return i.filter(a=>l.some(c=>{const u=o(c,a)+"";return(u==="undefined"||u==="null"?"":u.toLowerCase()).indexOf(s)!==-1}))});return ye(()=>e.filter,()=>{ze(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:n}}function o_(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function yc(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const s_={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function a_(e,t){const{props:n,emit:i}=e,r=ce(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length!==0?n.rowsPerPageOptions[0]:5},n.pagination)),l=y(()=>{const u=n["onUpdate:pagination"]!==void 0?{...r.value,...n.pagination}:r.value;return yc(u)}),o=y(()=>l.value.rowsNumber!==void 0);function s(u){a({pagination:u,filter:n.filter})}function a(u={}){ze(()=>{i("request",{pagination:u.pagination||l.value,filter:u.filter||n.filter,getCellValue:t})})}function c(u,d){const f=yc({...l.value,...u});if(o_(l.value,f)===!0){o.value===!0&&d===!0&&s(f);return}if(o.value===!0){s(f);return}n.pagination!==void 0&&n["onUpdate:pagination"]!==void 0?i("update:pagination",f):r.value=f}return{innerPagination:r,computedPagination:l,isServerSide:o,requestServerInteraction:a,setPagination:c}}function u_(e,t,n,i,r,l){const{props:o,emit:s,proxy:{$q:a}}=e,c=y(()=>i.value===!0?n.value.rowsNumber||0:l.value),u=y(()=>{const{page:q,rowsPerPage:L}=n.value;return(q-1)*L}),d=y(()=>{const{page:q,rowsPerPage:L}=n.value;return q*L}),f=y(()=>n.value.page===1),h=y(()=>n.value.rowsPerPage===0?1:Math.max(1,Math.ceil(c.value/n.value.rowsPerPage))),g=y(()=>d.value===0?!0:n.value.page>=h.value),v=y(()=>(o.rowsPerPageOptions.includes(t.value.rowsPerPage)?o.rowsPerPageOptions:[t.value.rowsPerPage].concat(o.rowsPerPageOptions)).map(L=>({label:L===0?a.lang.table.allRows:""+L,value:L})));ye(h,(q,L)=>{if(q===L)return;const V=n.value.page;q&&!V?r({page:1}):q<V&&r({page:q})});function p(){r({page:1})}function T(){const{page:q}=n.value;q>1&&r({page:q-1})}function S(){const{page:q,rowsPerPage:L}=n.value;d.value>0&&q*L<c.value&&r({page:q+1})}function E(){r({page:h.value})}return o["onUpdate:pagination"]!==void 0&&s("update:pagination",{...n.value}),{firstRowIndex:u,lastRowIndex:d,isFirstPage:f,isLastPage:g,pagesNumber:h,computedRowsPerPageOptions:v,computedRowsNumber:c,firstPage:p,prevPage:T,nextPage:S,lastPage:E}}const c_={selection:{type:String,default:"none",validator:e=>["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},d_=["update:selected","selection"];function f_(e,t,n,i){const r=y(()=>{const g={};return e.selected.map(i.value).forEach(v=>{g[v]=!0}),g}),l=y(()=>e.selection!=="none"),o=y(()=>e.selection==="single"),s=y(()=>e.selection==="multiple"),a=y(()=>n.value.length!==0&&n.value.every(g=>r.value[i.value(g)]===!0)),c=y(()=>a.value!==!0&&n.value.some(g=>r.value[i.value(g)]===!0)),u=y(()=>e.selected.length);function d(g){return r.value[g]===!0}function f(){t("update:selected",[])}function h(g,v,p,T){t("selection",{rows:v,added:p,keys:g,evt:T});const S=o.value===!0?p===!0?v:[]:p===!0?e.selected.concat(v):e.selected.filter(E=>g.includes(i.value(E))===!1);t("update:selected",S)}return{hasSelectionMode:l,singleSelection:o,multipleSelection:s,allRowsSelected:a,someRowsSelected:c,rowsSelectedNumber:u,isRowSelected:d,clearSelection:f,updateSelection:h}}function wc(e){return Array.isArray(e)?e.slice():[]}const h_={expanded:Array},g_=["update:expanded"];function m_(e,t){const n=ce(wc(e.expanded));ye(()=>e.expanded,o=>{n.value=wc(o)});function i(o){return n.value.includes(o)}function r(o){e.expanded!==void 0?t("update:expanded",o):n.value=o}function l(o,s){const a=n.value.slice(),c=a.indexOf(o);s===!0?c===-1&&(a.push(o),r(a)):c!==-1&&(a.splice(c,1),r(a))}return{isRowExpanded:i,setExpanded:r,updateExpanded:l}}const p_={visibleColumns:Array};function v_(e,t,n){const i=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:ls(s[a])?"right":"left",sortable:!0})):[]}),r=y(()=>{const{sortBy:s,descending:a}=t.value;return(e.visibleColumns!==void 0?i.value.filter(u=>u.required===!0||e.visibleColumns.includes(u.name)===!0):i.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}})}),l=y(()=>{const s={};return r.value.forEach(a=>{s[a.name]=a}),s}),o=y(()=>e.tableColspan!==void 0?e.tableColspan:r.value.length+(n.value===!0?1:0));return{colList:i,computedCols:r,computedColsMap:l,computedColspan:o}}const zr="q-table__bottom row items-center",Ch={};nh.forEach(e=>{Ch[e]={}});const kh=Pe({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:{},...Ch,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,...qt,...Yw,...p_,...r_,...s_,...h_,...c_,...n_},emits:["request","virtualScroll",...Zw,...g_,...d_],setup(e,{slots:t,emit:n}){const i=Ae(),{proxy:{$q:r}}=i,l=Tt(e,r),{inFullscreen:o,toggleFullscreen:s}=e_(),a=y(()=>typeof e.rowKey=="function"?e.rowKey:H=>H[e.rowKey]),c=ce(null),u=ce(null),d=y(()=>e.grid!==!0&&e.virtualScroll===!0),f=y(()=>" q-table__card"+(l.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)+(l.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(o.value===!0?" fullscreen scroll":"")),g=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:v,computedPagination:p,isServerSide:T,requestServerInteraction:S,setPagination:E}=a_(i,Ke),{computedFilterMethod:q}=l_(e,E),{isRowExpanded:L,setExpanded:V,updateExpanded:W}=m_(e,n),Z=y(()=>{let H=e.rows;if(T.value===!0||H.length===0)return H;const{sortBy:de,descending:be}=p.value;return e.filter&&(H=q.value(H,e.filter,P.value,Ke)),D.value!==null&&(H=ie.value(e.rows===H?H.slice():H,de,be)),H}),A=y(()=>Z.value.length),M=y(()=>{let H=Z.value;if(T.value===!0)return H;const{rowsPerPage:de}=p.value;return de!==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:le,rowsSelectedNumber:te,isRowSelected:oe,clearSelection:Q,updateSelection:ae}=f_(e,n,M,a),{colList:pe,computedCols:P,computedColsMap:m,computedColspan:$}=v_(e,p,U),{columnToSort:D,computedSortMethod:ie,sort:F}=i_(e,p,pe,E),{firstRowIndex:x,lastRowIndex:K,isFirstPage:O,isLastPage:Y,pagesNumber:xe,computedRowsPerPageOptions:w,computedRowsNumber:_,firstPage:R,prevPage:j,nextPage:z,lastPage:B}=u_(i,v,p,T,E,A),X=y(()=>M.value.length===0),re=y(()=>{const H={};return nh.forEach(de=>{H[de]=e[de]}),H.virtualScrollItemSize===void 0&&(H.virtualScrollItemSize=e.dense===!0?28:48),H});function ne(){d.value===!0&&u.value.reset()}function G(){if(e.grid===!0)return io();const H=e.hideHeader!==!0?st:null;if(d.value===!0){const be=t["top-row"],we=t["bottom-row"],Te={default:Ge=>ve(Ge.item,t.body,Ge.index)};if(be!==void 0){const Ge=b("tbody",be({cols:P.value}));Te.before=H===null?()=>Ge:()=>[H()].concat(Ge)}else H!==null&&(Te.before=H);return we!==void 0&&(Te.after=()=>b("tbody",we({cols:P.value}))),b(sw,{ref:u,class:e.tableClass,style:e.tableStyle,...re.value,scrollTarget:e.virtualScrollTarget,items:M.value,type:"__qtable",tableColspan:$.value,onVirtualScroll:se},Te)}const de=[qe()];return H!==null&&de.unshift(H()),Zf({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},de)}function ge(H,de){if(u.value!==null){u.value.scrollTo(H,de);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"),Te=be.offsetTop-e.virtualScrollStickySizeStart,Ge=Te<we.scrollTop?"decrease":"increase";we.scrollTop=Te,n("virtualScroll",{index:H,from:0,to:v.value.rowsPerPage-1,direction:Ge})}}function se(H){n("virtualScroll",H)}function me(){return[b(Jw,{class:"q-table__linear-progress",color:e.color,dark:l.value,indeterminate:!0,trackColor:"transparent"})]}function ve(H,de,be){const we=a.value(H),Te=oe(we);if(de!==void 0)return de(Oe({key:we,row:H,pageIndex:be,__trClass:Te?"selected":""}));const Ge=t["body-cell"],We=P.value.map(pt=>{const ui=t[`body-cell-${pt.name}`],ci=ui!==void 0?ui:Ge;return ci!==void 0?ci(Fe({key:we,row:H,pageIndex:be,col:pt})):b("td",{class:pt.__tdClass(H),style:pt.__tdStyle(H)},Ke(pt,H))});if(U.value===!0){const pt=t["body-selection"],ui=pt!==void 0?pt(ct({key:we,row:H,pageIndex:be})):[b(cr,{modelValue:Te,color:e.color,dark:l.value,dense:e.dense,"onUpdate:modelValue":(ci,ro)=>{ae([we],[H],ci,ro)}})];We.unshift(b("td",{class:"q-table--col-auto-width"},ui))}const Ht={key:we,class:{selected:Te}};return e.onRowClick!==void 0&&(Ht.class["cursor-pointer"]=!0,Ht.onClick=pt=>{n("rowClick",pt,H,be)}),e.onRowDblclick!==void 0&&(Ht.class["cursor-pointer"]=!0,Ht.onDblclick=pt=>{n("rowDblclick",pt,H,be)}),e.onRowContextmenu!==void 0&&(Ht.class["cursor-pointer"]=!0,Ht.onContextmenu=pt=>{n("rowContextmenu",pt,H,be)}),b("tr",Ht,We)}function qe(){const H=t.body,de=t["top-row"],be=t["bottom-row"];let we=M.value.map((Te,Ge)=>ve(Te,H,Ge));return de!==void 0&&(we=de({cols:P.value}).concat(we)),be!==void 0&&(we=we.concat(be({cols:P.value}))),b("tbody",we)}function Oe(H){return Ve(H),H.cols=H.cols.map(de=>Pt({...de},"value",()=>Ke(de,H.row))),H}function Fe(H){return Ve(H),Pt(H,"value",()=>Ke(H.col,H.row)),H}function ct(H){return Ve(H),H}function Ve(H){Object.assign(H,{cols:P.value,colsMap:m.value,sort:F,rowIndex:x.value+H.pageIndex,color:e.color,dark:l.value,dense:e.dense}),U.value===!0&&Pt(H,"selected",()=>oe(H.key),(de,be)=>{ae([H.key],[H.row],de,be)}),Pt(H,"expand",()=>L(H.key),de=>{W(H.key,de)})}function Ke(H,de){const be=typeof H.field=="function"?H.field(de):de[H.field];return H.format!==void 0?H.format(be,de):be}const Xe=y(()=>({pagination:p.value,pagesNumber:xe.value,isFirstPage:O.value,isLastPage:Y.value,firstPage:R,prevPage:j,nextPage:z,lastPage:B,inFullscreen:o.value,toggleFullscreen:s}));function cn(){const H=t.top,de=t["top-left"],be=t["top-right"],we=t["top-selection"],Te=U.value===!0&&we!==void 0&&te.value>0,Ge="q-table__top relative-position row items-center";if(H!==void 0)return b("div",{class:Ge},[H(Xe.value)]);let We;if(Te===!0?We=we(Xe.value).slice():(We=[],de!==void 0?We.push(b("div",{class:"q-table__control"},[de(Xe.value)])):e.title&&We.push(b("div",{class:"q-table__control"},[b("div",{class:["q-table__title",e.titleClass]},e.title)]))),be!==void 0&&(We.push(b("div",{class:"q-table__separator col"})),We.push(b("div",{class:"q-table__control"},[be(Xe.value)]))),We.length!==0)return b("div",{class:Ge},We)}const dn=y(()=>le.value===!0?null:N.value);function st(){const H=St();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 St(){const H=t.header,de=t["header-cell"];if(H!==void 0)return H(fn({header:!0})).slice();const be=P.value.map(we=>{const Te=t[`header-cell-${we.name}`],Ge=Te!==void 0?Te:de,We=fn({col:we});return Ge!==void 0?Ge(We):b(Qy,{key:we.name,props:We},()=>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"],Te=we!==void 0?we(fn({})):[b(cr,{color:e.color,modelValue:dn.value,dark:l.value,dense:e.dense,"onUpdate:modelValue":Vi})];be.unshift(b("th",{class:"q-table--col-auto-width"},Te))}return[b("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},be)]}function fn(H){return Object.assign(H,{cols:P.value,sort:F,colsMap:m.value,color:e.color,dark:l.value,dense:e.dense}),J.value===!0&&Pt(H,"selected",()=>dn.value,Vi),H}function Vi(H){le.value===!0&&(H=!1),ae(M.value.map(a.value),M.value,H)}const In=y(()=>{const H=[e.iconFirstPage||r.iconSet.table.firstPage,e.iconPrevPage||r.iconSet.table.prevPage,e.iconNextPage||r.iconSet.table.nextPage,e.iconLastPage||r.iconSet.table.lastPage];return r.lang.rtl===!0?H.reverse():H});function Pr(){if(e.hideBottom===!0)return;if(X.value===!0){if(e.hideNoData===!0)return;const be=e.loading===!0?e.loadingLabel||r.lang.table.loading:e.filter?e.noResultsLabel||r.lang.table.noResults:e.noDataLabel||r.lang.table.noData,we=t["no-data"],Te=we!==void 0?[we({message:be,icon:r.iconSet.table.warning,filter:e.filter})]:[b($e,{class:"q-table__bottom-nodata-icon",name:r.iconSet.table.warning}),be];return b("div",{class:zr+" q-table__bottom--nodata"},Te)}const H=t.bottom;if(H!==void 0)return b("div",{class:zr},[H(Xe.value)]);const de=e.hideSelectedBanner!==!0&&U.value===!0&&te.value>0?[b("div",{class:"q-table__control"},[b("div",[(e.selectedRowsLabel||r.lang.table.selectedRecords)(te.value)])])]:[];if(e.hidePagination!==!0)return b("div",{class:zr+" justify-end"},no(de));if(de.length!==0)return b("div",{class:zr},de)}function to(H){E({page:1,rowsPerPage:H.value})}function no(H){let de;const{rowsPerPage:be}=p.value,we=e.paginationLabel||r.lang.table.pagination,Te=t.pagination,Ge=e.rowsPerPageOptions.length>1;if(H.push(b("div",{class:"q-table__separator col"})),Ge===!0&&H.push(b("div",{class:"q-table__control"},[b("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||r.lang.table.recordsPerPage]),b(Qw,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:be,options:w.value,displayValue:be===0?r.lang.table.allRows:be,dark:l.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":to})])),Te!==void 0)de=Te(Xe.value);else if(de=[b("span",be!==0?{class:"q-table__bottom-item"}:{},[be?we(x.value+1,Math.min(K.value,_.value),_.value):we(1,A.value,_.value)])],be!==0&&xe.value>1){const We={color:e.color,round:!0,dense:!0,flat:!0};e.dense===!0&&(We.size="sm"),xe.value>2&&de.push(b(Be,{key:"pgFirst",...We,icon:In.value[0],disable:O.value,onClick:R})),de.push(b(Be,{key:"pgPrev",...We,icon:In.value[1],disable:O.value,onClick:j}),b(Be,{key:"pgNext",...We,icon:In.value[2],disable:Y.value,onClick:z})),xe.value>2&&de.push(b(Be,{key:"pgLast",...We,icon:In.value[3],disable:Y.value,onClick:B}))}return H.push(b("div",{class:"q-table__control"},de)),H}function Or(){const H=e.gridHeader===!0?[b("table",{class:"q-table"},[st()])]:e.loading===!0&&t.loading===void 0?me():void 0;return b("div",{class:"q-table__middle"},H)}function io(){const H=t.item!==void 0?t.item:de=>{const be=de.cols.map(Te=>b("div",{class:"q-table__grid-item-row"},[b("div",{class:"q-table__grid-item-title"},[Te.label]),b("div",{class:"q-table__grid-item-value"},[Te.value])]));if(U.value===!0){const Te=t["body-selection"],Ge=Te!==void 0?Te(de):[b(cr,{modelValue:de.selected,color:e.color,dark:l.value,dense:e.dense,"onUpdate:modelValue":(We,Ht)=>{ae([de.key],[de.row],We,Ht)}})];be.unshift(b("div",{class:"q-table__grid-item-row"},Ge),b(vs,{dark:l.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=Te=>{n("RowClick",Te,de.row,de.pageIndex)}),e.onRowDblclick!==void 0&&(we.onDblclick=Te=>{n("RowDblclick",Te,de.row,de.pageIndex)})),b("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(de.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((de,be)=>H(Oe({key:a.value(de),row:de,pageIndex:be}))))}return Object.assign(i.proxy,{requestServerInteraction:S,setPagination:E,firstPage:R,prevPage:j,nextPage:z,lastPage:B,isRowSelected:oe,clearSelection:Q,isRowExpanded:L,setExpanded:V,sort:F,resetVirtualScroll:ne,scrollTo:ge,getCellValue:Ke}),cp(i.proxy,{filteredSortedRows:()=>Z.value,computedRows:()=>M.value,computedRowsNumber:()=>_.value}),()=>{const H=[cn()],de={ref:c,class:g.value};return e.grid===!0?H.push(Or()):Object.assign(de,{class:[de.class,e.cardClass],style:e.cardStyle}),H.push(G(),Pr()),e.loading===!0&&t.loading!==void 0&&H.push(t.loading()),b("div",de,H)}}}),b_={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 et.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)}}},y_={key:2};function w_(e,t,n,i,r,l){return Le(),Ye(zl,null,{default:ue(()=>[ee(Be,{onClick:l.compareDatabases,label:"Compare Databases",color:"primary"},null,8,["onClick"]),r.differences.length?(Le(),Ye(kh,{key:0,rows:r.differences,columns:r.columns},null,8,["rows","columns"])):lt("",!0),r.loading?(Le(),Ye(un,{key:1})):lt("",!0),r.message?(Le(),Kt("div",y_,nt(r.message),1)):lt("",!0)]),_:1})}const __=Ar(b_,[["render",w_]]),S_={data(){return{loading:!1,message:""}},methods:{async applyChanges(){this.loading=!0;try{const e=await et.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[]}}},x_={key:1};function C_(e,t,n,i,r,l){return Le(),Ye(zl,null,{default:ue(()=>[ee(Be,{onClick:l.applyChanges,label:"Apply Changes",color:"primary"},null,8,["onClick"]),r.loading?(Le(),Ye(un,{key:0})):lt("",!0),r.message?(Le(),Kt("div",x_,nt(r.message),1)):lt("",!0)]),_:1})}const k_=Ar(S_,[["render",C_]]),at=Pe({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},Je(t.default))}}),pn=Pe({name:"QCard",props:{...qt,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=Ae(),i=Tt(e,n),r=y(()=>"q-card"+(i.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:r.value},Je(t.default))}}),E_=["top","middle","bottom"],Io=Pe({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=>E_.includes(e)}},setup(e,{slots:t}){const n=y(()=>e.align!==void 0?{verticalAlign:e.align}:null),i=y(()=>{const r=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}`:"")+(r!==void 0?` text-${r}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>b("div",{class:i.value,style:n.value,role:"status","aria-label":e.label},Gt(t.default,e.label!==void 0?[e.label]:[]))}}),Ji=Pe({name:"QTooltip",inheritAttrs:!1,props:{...oh,...oa,...ur,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...ur.transitionShow,default:"jump-down"},transitionHide:{...ur.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:xl},self:{type:String,default:"top middle",validator:xl},offset:{type:Array,default:()=>[14,14],validator:mh},scrollTarget:ta,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...sa],setup(e,{slots:t,emit:n,attrs:i}){let r,l;const o=Ae(),{proxy:{$q:s}}=o,a=ce(null),c=ce(!1),u=y(()=>Cl(e.anchor,s.lang.rtl)),d=y(()=>Cl(e.self,s.lang.rtl)),f=y(()=>e.persistent!==!0),{registerTick:h,removeTick:g}=fa(),{registerTimeout:v}=ha(),{transitionProps:p,transitionStyle:T}=da(e),{localScrollTarget:S,changeScrollEvent:E,unconfigureScrollTarget:q}=ah(e,pe),{anchorEl:L,canShow:V,anchorEvents:W}=sh({showing:c,configureAnchorEl:ae}),{show:Z,hide:A}=aa({showing:c,canShow:V,handleShow:J,handleHide:N,hideOnRouteChange:f,processOnMount:!0});Object.assign(W,{delayShow:oe,delayHide:Q});const{showPortal:M,hidePortal:U,renderPortal:C}=ca(o,a,m,"tooltip");if(s.platform.is.mobile===!0){const $={anchorEl:L,innerRef:a,onClickOutside(ie){return A(ie),ie.target.classList.contains("q-dialog__backdrop")&&Qe(ie),!0}},D=y(()=>e.modelValue===null&&e.persistent!==!0&&c.value===!0);ye(D,ie=>{(ie===!0?gh:Sl)($)}),it(()=>{Sl($)})}function J($){M(),h(()=>{l=new MutationObserver(()=>te()),l.observe(a.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),te(),pe()}),r===void 0&&(r=ye(()=>s.screen.width+"|"+s.screen.height+"|"+e.self+"|"+e.anchor+"|"+s.lang.rtl,te)),v(()=>{M(!0),n("show",$)},e.transitionDuration)}function N($){g(),U(),le(),v(()=>{U(!0),n("hide",$)},e.transitionDuration)}function le(){l!==void 0&&(l.disconnect(),l=void 0),r!==void 0&&(r(),r=void 0),q(),hl(W,"tooltipTemp")}function te(){ga({targetEl:a.value,offset:e.offset,anchorEl:L.value,anchorOrigin:u.value,selfOrigin:d.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function oe($){if(s.platform.is.mobile===!0){ws(),document.body.classList.add("non-selectable");const D=L.value,ie=["touchmove","touchcancel","touchend","click"].map(F=>[D,F,"delayHide","passiveCapture"]);vr(W,"tooltipTemp",ie)}v(()=>{Z($)},e.delay)}function Q($){s.platform.is.mobile===!0&&(hl(W,"tooltipTemp"),ws(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),v(()=>{A($)},e.hideDelay)}function ae(){if(e.noParentEvent===!0||L.value===null)return;const $=s.platform.is.mobile===!0?[[L.value,"touchstart","delayShow","passive"]]:[[L.value,"mouseenter","delayShow","passive"],[L.value,"mouseleave","delayHide","passive"]];vr(W,"anchor",$)}function pe(){if(L.value!==null||e.scrollTarget!==void 0){S.value=na(L.value,e.scrollTarget);const $=e.noParentEvent===!0?te:A;E(S.value,$)}}function P(){return c.value===!0?b("div",{...i,ref:a,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",i.class],style:[i.style,T.value],role:"tooltip"},Je(t.default)):null}function m(){return b(Ln,p.value,P)}return it(le),Object.assign(o.proxy,{updatePosition:te}),C}}),q_=Pe({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(e,{slots:t,emit:n}){let i=!1,r,l,o=null,s=null,a,c;function u(){r&&r(),r=null,i=!1,o!==null&&(clearTimeout(o),o=null),s!==null&&(clearTimeout(s),s=null),l!==void 0&&l.removeEventListener("transitionend",a),a=null}function d(v,p,T){p!==void 0&&(v.style.height=`${p}px`),v.style.transition=`height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`,i=!0,r=T}function f(v,p){v.style.overflowY=null,v.style.height=null,v.style.transition=null,u(),p!==c&&n(p)}function h(v,p){let T=0;l=v,i===!0?(u(),T=v.offsetHeight===v.scrollHeight?0:void 0):(c="hide",v.style.overflowY="hidden"),d(v,T,p),o=setTimeout(()=>{o=null,v.style.height=`${v.scrollHeight}px`,a=S=>{s=null,(Object(S)!==S||S.target===v)&&f(v,"show")},v.addEventListener("transitionend",a),s=setTimeout(a,e.duration*1.1)},100)}function g(v,p){let T;l=v,i===!0?u():(c="show",v.style.overflowY="hidden",T=v.scrollHeight),d(v,T,p),o=setTimeout(()=>{o=null,v.style.height=0,a=S=>{s=null,(Object(S)!==S||S.target===v)&&f(v,"hide")},v.addEventListener("transitionend",a),s=setTimeout(a,e.duration*1.1)},100)}return it(()=>{i===!0&&u()}),()=>b(Ln,{css:!1,appear:e.appear,onEnter:h,onLeave:g},t.default)}}),T_=["none","strict","leaf","leaf-filtered"],R_=Pe({name:"QTree",props:{...qt,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=>T_.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:i}=Ae(),{$q:r}=i,l=Tt(e,r),o=ce({}),s=ce(e.ticked||[]),a=ce(e.expanded||[]);let c={};$l(()=>{c={}});const u=y(()=>`q-tree q-tree--${e.dense===!0?"dense":"standard"}`+(e.noConnectors===!0?" q-tree--no-connectors":"")+(l.value===!0?" q-tree--dark":"")+(e.color!==void 0?` text-${e.color}`:"")),d=y(()=>e.selected!==void 0),f=y(()=>e.icon||r.iconSet.tree.icon),h=y(()=>e.controlColor||e.color),g=y(()=>e.textColor!==void 0?` text-${e.textColor}`:""),v=y(()=>{const m=e.selectedColor||e.color;return m?` text-${m}`:""}),p=y(()=>e.filterMethod!==void 0?e.filterMethod:(m,$)=>{const D=$.toLowerCase();return m[e.labelKey]&&m[e.labelKey].toLowerCase().indexOf(D)!==-1}),T=y(()=>{const m={},$=(D,ie)=>{const F=D.tickStrategy||(ie?ie.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,xe=F!=="none",w=F==="strict",_=F==="leaf-filtered",R=F==="leaf"||F==="leaf-filtered";let j=D.disabled!==!0&&D.tickable!==!1;R===!0&&j===!0&&ie&&ie.tickable!==!0&&(j=!1);let z=D.lazy;z===!0&&o.value[x]!==void 0&&Array.isArray(D[e.childrenKey])===!0&&(z=o.value[x]);const B={key:x,parent:ie,isParent:K,lazy:z,disabled:D.disabled,link:D.disabled!==!0&&(O===!0||Y===!0&&(K===!0||z===!0)),children:[],matchesFilter:e.filter?p.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:F,hasTicking:xe,strictTicking:w,leafFilteredTicking:_,leafTicking:R,ticked:w===!0?s.value.includes(x):K===!0?!1:s.value.includes(x)};if(m[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((re,ne)=>ne.ticked===!0?re+1:re,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)),m});ye(()=>e.ticked,m=>{s.value=m}),ye(()=>e.expanded,m=>{a.value=m});function S(m){const $=[].reduce,D=(ie,F)=>{if(ie||!F)return ie;if(Array.isArray(F)===!0)return $.call(Object(F),D,ie);if(F[e.nodeKey]===m)return F;if(F[e.childrenKey])return D(null,F[e.childrenKey])};return D(null,e.nodes)}function E(){return s.value.map(m=>S(m))}function q(){return a.value.map(m=>S(m))}function L(m){return m&&T.value[m]?T.value[m].expanded:!1}function V(){e.expanded!==void 0?n("update:expanded",[]):a.value=[]}function W(){const m=[],$=D=>{D[e.childrenKey]&&D[e.childrenKey].length!==0&&D.expandable!==!1&&D.disabled!==!0&&(m.push(D[e.nodeKey]),D[e.childrenKey].forEach($))};e.nodes.forEach($),e.expanded!==void 0?n("update:expanded",m):a.value=m}function Z(m,$,D=S(m),ie=T.value[m]){if(ie.lazy&&ie.lazy!=="loaded"){if(ie.lazy==="loading")return;o.value[m]="loading",Array.isArray(D[e.childrenKey])!==!0&&(D[e.childrenKey]=[]),n("lazyLoad",{node:D,key:m,done:F=>{o.value[m]="loaded",D[e.childrenKey]=Array.isArray(F)===!0?F:[],ze(()=>{const x=T.value[m];x&&x.isParent===!0&&A(m,!0)})},fail:()=>{delete o.value[m],D[e.childrenKey].length===0&&delete D[e.childrenKey]}})}else ie.isParent===!0&&ie.expandable===!0&&A(m,$)}function A(m,$){let D=a.value;const ie=e.expanded!==void 0;if(ie===!0&&(D=D.slice()),$){if(e.accordion&&T.value[m]){const F=[];T.value[m].parent?T.value[m].parent.children.forEach(x=>{x.key!==m&&x.expandable===!0&&F.push(x.key)}):e.nodes.forEach(x=>{const K=x[e.nodeKey];K!==m&&F.push(K)}),F.length!==0&&(D=D.filter(x=>F.includes(x)===!1))}D=D.concat([m]).filter((F,x,K)=>K.indexOf(F)===x)}else D=D.filter(F=>F!==m);ie===!0?n("update:expanded",D):a.value=D}function M(m){return m&&T.value[m]?T.value[m].ticked:!1}function U(m,$){let D=s.value;const ie=e.ticked!==void 0;ie===!0&&(D=D.slice()),$?D=D.concat(m).filter((F,x,K)=>K.indexOf(F)===x):D=D.filter(F=>m.includes(F)===!1),ie===!0&&n("update:ticked",D)}function C(m,$,D){const ie={tree:i,node:m,key:D,color:e.color,dark:l.value};return Pt(ie,"expanded",()=>$.expanded,F=>{F!==$.expanded&&Z(D,F)}),Pt(ie,"ticked",()=>$.ticked,F=>{F!==$.ticked&&U([D],F)}),ie}function J(m){return(e.filter?m.filter($=>T.value[$[e.nodeKey]].matchesFilter):m).map($=>oe($))}function N(m){if(m.icon!==void 0)return b($e,{class:"q-tree__icon q-mr-sm",name:m.icon,color:m.iconColor});const $=m.img||m.avatar;if($)return b("img",{class:`q-tree__${m.img?"img":"avatar"} q-mr-sm`,src:$})}function le(){n("afterShow")}function te(){n("afterHide")}function oe(m){const $=m[e.nodeKey],D=T.value[$],ie=m.header&&t[`header-${m.header}`]||t["default-header"],F=D.isParent===!0?J(m[e.childrenKey]):[],x=F.length!==0||D.lazy&&D.lazy!=="loaded";let K=m.body&&t[`body-${m.body}`]||t["default-body"];const O=ie!==void 0||K!==void 0?C(m,D,$):null;return K!==void 0&&(K=b("div",{class:"q-tree__node-body relative-position"},[b("div",{class:g.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:F.length>0?D.expanded:null,role:"treeitem",onClick:Y=>{ae(m,D,Y)},onKeypress(Y){jl(Y)!==!0&&(Y.keyCode===13?ae(m,D,Y,!0):Y.keyCode===32&&pe(m,D,Y,!0))}},[b("div",{class:"q-focus-helper",tabindex:-1,ref:Y=>{c[D.key]=Y}}),D.lazy==="loading"?b(un,{class:"q-tree__spinner",color:h.value}):x===!0?b($e,{class:"q-tree__arrow"+(D.expanded===!0?" q-tree__arrow--rotate":""),name:f.value,onClick(Y){pe(m,D,Y)}}):null,D.hasTicking===!0&&D.noTick!==!0?b(cr,{class:"q-tree__tickbox",modelValue:D.indeterminate===!0?null:D.ticked,color:h.value,dark:l.value,dense:!0,keepColor:!0,disable:D.tickable!==!0,onKeydown:Qe,"onUpdate:modelValue":Y=>{P(D,Y)}}):null,b("div",{class:"q-tree__node-header-content col row no-wrap items-center"+(D.selected===!0?v.value:g.value)},[ie?ie(O):[N(m),b("div",m[e.labelKey])]])]),x===!0?e.noTransition===!0?D.expanded===!0?b("div",{class:"q-tree__node-collapsible"+g.value,key:`${$}__q`},[K,b("div",{class:"q-tree__children"+(D.disabled===!0?" q-tree__node--disabled":""),role:"group"},F)]):null:b(q_,{duration:e.duration,onShow:le,onHide:te},()=>Pn(b("div",{class:"q-tree__node-collapsible"+g.value,key:`${$}__q`},[K,b("div",{class:"q-tree__children"+(D.disabled===!0?" q-tree__node--disabled":""),role:"group"},F)]),[[Lm,D.expanded]])):K])}function Q(m){const $=c[m];$&&$.focus()}function ae(m,$,D,ie){ie!==!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):pe(m,$,D,ie),typeof m.handler=="function"&&m.handler(m)}function pe(m,$,D,ie){D!==void 0&&Qe(D),ie!==!0&&$.selectable!==!1&&Q($.key),Z($.key,!$.expanded,m,$)}function P(m,$){if(m.indeterminate===!0&&($=m.indeterminateNextState),m.strictTicking)U([m.key],$);else if(m.leafTicking){const D=[],ie=F=>{F.isParent?($!==!0&&F.noTick!==!0&&F.tickable===!0&&D.push(F.key),F.leafTicking===!0&&F.children.forEach(ie)):F.noTick!==!0&&F.tickable===!0&&(F.leafFilteredTicking!==!0||F.matchesFilter===!0)&&D.push(F.key)};ie(m),U(D,$)}}return e.defaultExpandAll===!0&&W(),Object.assign(i,{getNodeByKey:S,getTickedNodes:E,getExpandedNodes:q,isExpanded:L,collapseAll:V,expandAll:W,setExpanded:Z,isTicked:M,setTicked:U}),()=>{const m=J(e.nodes);return b("div",{class:u.value,role:"tree"},m.length===0?e.filter?e.noResultsLabel||r.lang.tree.noResults:e.noNodesLabel||r.lang.tree.noNodes:m)}}}),_c={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},kl={"#":{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()}},Eh=Object.keys(kl);Eh.forEach(e=>{kl[e].regex=new RegExp(kl[e].pattern)});const A_=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+Eh.join("")+"])|(.)","g"),Sc=/[.*+?^${}()|[\]\\]/g,rt="",P_={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function O_(e,t,n,i){let r,l,o,s,a,c;const u=ce(null),d=ce(h());function f(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}ye(()=>e.type+e.autogrow,v),ye(()=>e.mask,A=>{if(A!==void 0)p(d.value,!0);else{const M=W(d.value);v(),e.modelValue!==M&&t("update:modelValue",M)}}),ye(()=>e.fillMask+e.reverseFillMask,()=>{u.value===!0&&p(d.value,!0)}),ye(()=>e.unmaskedValue,()=>{u.value===!0&&p(d.value)});function h(){if(v(),u.value===!0){const A=L(W(e.modelValue));return e.fillMask!==!1?Z(A):A}return e.modelValue}function g(A){if(A<r.length)return r.slice(-A);let M="",U=r;const C=U.indexOf(rt);if(C!==-1){for(let J=A-U.length;J>0;J--)M+=rt;U=U.slice(0,C)+M+U.slice(C)}return U}function v(){if(u.value=e.mask!==void 0&&e.mask.length!==0&&f(),u.value===!1){s=void 0,r="",l="";return}const A=_c[e.mask]===void 0?e.mask:_c[e.mask],M=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",U=M.replace(Sc,"\\$&"),C=[],J=[],N=[];let le=e.reverseFillMask===!0,te="",oe="";A.replace(A_,(P,m,$,D,ie)=>{if(D!==void 0){const F=kl[D];N.push(F),oe=F.negate,le===!0&&(J.push("(?:"+oe+"+)?("+F.pattern+"+)?(?:"+oe+"+)?("+F.pattern+"+)?"),le=!1),J.push("(?:"+oe+"+)?("+F.pattern+")?")}else if($!==void 0)te="\\"+($==="\\"?"":$),N.push($),C.push("([^"+te+"]+)?"+te+"?");else{const F=m!==void 0?m:ie;te=F==="\\"?"\\\\\\\\":F.replace(Sc,"\\\\$&"),N.push(F),C.push("([^"+te+"]+)?"+te+"?")}});const Q=new RegExp("^"+C.join("")+"("+(te===""?".":"[^"+te+"]")+"+)?"+(te===""?"":"["+te+"]*")+"$"),ae=J.length-1,pe=J.map((P,m)=>m===0&&e.reverseFillMask===!0?new RegExp("^"+U+"*"+P):m===ae?new RegExp("^"+P+"("+(oe===""?".":oe)+"+)?"+(e.reverseFillMask===!0?"$":U+"*")):new RegExp("^"+P));o=N,s=P=>{const m=Q.exec(e.reverseFillMask===!0?P:P.slice(0,N.length+1));m!==null&&(P=m.slice(1).join(""));const $=[],D=pe.length;for(let ie=0,F=P;ie<D;ie++){const x=pe[ie].exec(F);if(x===null)break;F=F.slice(x.shift().length),$.push(...x)}return $.length!==0?$.join(""):P},r=N.map(P=>typeof P=="string"?P:rt).join(""),l=r.split(rt).join(M)}function p(A,M,U){const C=i.value,J=C.selectionEnd,N=C.value.length-J,le=W(A);M===!0&&v();const te=L(le),oe=e.fillMask!==!1?Z(te):te,Q=d.value!==oe;C.value!==oe&&(C.value=oe),Q===!0&&(d.value=oe),document.activeElement===C&&ze(()=>{if(oe===l){const pe=e.reverseFillMask===!0?l.length:0;C.setSelectionRange(pe,pe,"forward");return}if(U==="insertFromPaste"&&e.reverseFillMask!==!0){const pe=C.selectionEnd;let P=J-1;for(let m=a;m<=P&&m<pe;m++)r[m]!==rt&&P++;S.right(C,P);return}if(["deleteContentBackward","deleteContentForward"].indexOf(U)!==-1){const pe=e.reverseFillMask===!0?J===0?oe.length>te.length?1:0:Math.max(0,oe.length-(oe===l?0:Math.min(te.length,N)+1))+1:J;C.setSelectionRange(pe,pe,"forward");return}if(e.reverseFillMask===!0)if(Q===!0){const pe=Math.max(0,oe.length-(oe===l?0:Math.min(te.length,N+1)));pe===1&&J===1?C.setSelectionRange(pe,pe,"forward"):S.rightReverse(C,pe)}else{const pe=oe.length-N;C.setSelectionRange(pe,pe,"backward")}else if(Q===!0){const pe=Math.max(0,r.indexOf(rt),Math.min(te.length,J)-1);S.right(C,pe)}else{const pe=J-1;S.right(C,pe)}});const ae=e.unmaskedValue===!0?W(oe):oe;String(e.modelValue)!==ae&&(e.modelValue!==null||ae!=="")&&n(ae,!0)}function T(A,M,U){const C=L(W(A.value));M=Math.max(0,r.indexOf(rt),Math.min(C.length,M)),a=M,A.setSelectionRange(M,U,"forward")}const S={left(A,M){const U=r.slice(M-1).indexOf(rt)===-1;let C=Math.max(0,M-1);for(;C>=0;C--)if(r[C]===rt){M=C,U===!0&&M++;break}if(C<0&&r[M]!==void 0&&r[M]!==rt)return S.right(A,0);M>=0&&A.setSelectionRange(M,M,"backward")},right(A,M){const U=A.value.length;let C=Math.min(U,M+1);for(;C<=U;C++)if(r[C]===rt){M=C;break}else r[C-1]===rt&&(M=C);if(C>U&&r[M-1]!==void 0&&r[M-1]!==rt)return S.left(A,U);A.setSelectionRange(M,M,"forward")},leftReverse(A,M){const U=g(A.value.length);let C=Math.max(0,M-1);for(;C>=0;C--)if(U[C-1]===rt){M=C;break}else if(U[C]===rt&&(M=C,C===0))break;if(C<0&&U[M]!==void 0&&U[M]!==rt)return S.rightReverse(A,0);M>=0&&A.setSelectionRange(M,M,"backward")},rightReverse(A,M){const U=A.value.length,C=g(U),J=C.slice(0,M+1).indexOf(rt)===-1;let N=Math.min(U,M+1);for(;N<=U;N++)if(C[N-1]===rt){M=N,M>0&&J===!0&&M--;break}if(N>U&&C[M-1]!==void 0&&C[M-1]!==rt)return S.leftReverse(A,U);A.setSelectionRange(M,M,"forward")}};function E(A){t("click",A),c=void 0}function q(A){if(t("keydown",A),jl(A)===!0||A.altKey===!0)return;const M=i.value,U=M.selectionStart,C=M.selectionEnd;if(A.shiftKey||(c=void 0),A.keyCode===37||A.keyCode===39){A.shiftKey&&c===void 0&&(c=M.selectionDirection==="forward"?U:C);const J=S[(A.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(A.preventDefault(),J(M,c===U?C:U),A.shiftKey){const N=M.selectionStart;M.setSelectionRange(Math.min(c,N),Math.max(c,N),"forward")}}else A.keyCode===8&&e.reverseFillMask!==!0&&U===C?(S.left(M,U),M.setSelectionRange(M.selectionStart,C,"backward")):A.keyCode===46&&e.reverseFillMask===!0&&U===C&&(S.rightReverse(M,C),M.setSelectionRange(U,M.selectionEnd,"forward"))}function L(A){if(A==null||A==="")return"";if(e.reverseFillMask===!0)return V(A);const M=o;let U=0,C="";for(let J=0;J<M.length;J++){const N=A[U],le=M[J];if(typeof le=="string")C+=le,N===le&&U++;else if(N!==void 0&&le.regex.test(N))C+=le.transform!==void 0?le.transform(N):N,U++;else return C}return C}function V(A){const M=o,U=r.indexOf(rt);let C=A.length-1,J="";for(let N=M.length-1;N>=0&&C!==-1;N--){const le=M[N];let te=A[C];if(typeof le=="string")J=le+J,te===le&&C--;else if(te!==void 0&&le.regex.test(te))do J=(le.transform!==void 0?le.transform(te):te)+J,C--,te=A[C];while(U===N&&te!==void 0&&le.regex.test(te));else return J}return J}function W(A){return typeof A!="string"||s===void 0?typeof A=="number"?s(""+A):A:s(A)}function Z(A){return l.length-A.length<=0?A:e.reverseFillMask===!0&&A.length!==0?l.slice(0,-A.length)+A:A+l.slice(A.length)}return{innerValue:d,hasMask:u,moveCursorForPaste:T,updateMaskValue:p,onMaskedKeydown:q,onMaskedClick:E}}function F_(e,t){function n(){const i=e.modelValue;try{const r="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(i)===i&&("length"in i?Array.from(i):[i]).forEach(l=>{r.items.add(l)}),{files:r.files}}catch{return{files:void 0}}}return y(()=>{if(e.type==="file")return n()})}const vn=Pe({name:"QInput",inheritAttrs:!1,props:{...Yl,...P_,...eo,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:[...ia,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:i}=Ae(),{$q:r}=i,l={};let o=NaN,s,a,c=null,u;const d=ce(null),f=vh(e),{innerValue:h,hasMask:g,moveCursorForPaste:v,updateMaskValue:p,onMaskedKeydown:T,onMaskedClick:S}=O_(e,t,te,d),E=F_(e),q=y(()=>xr(h.value)),L=bh(N),V=ra({changeEvent:!0}),W=y(()=>e.type==="textarea"||e.autogrow===!0),Z=y(()=>W.value===!0||["text","search","url","tel","password"].includes(e.type)),A=y(()=>{const m={...V.splitAttrs.listeners.value,onInput:N,onPaste:J,onChange:Q,onBlur:ae,onFocus:sn};return m.onCompositionstart=m.onCompositionupdate=m.onCompositionend=L,g.value===!0&&(m.onKeydown=T,m.onClick=S),e.autogrow===!0&&(m.onAnimationend=le),m}),M=y(()=>{const m={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:f.value,...V.splitAttrs.attributes.value,id:V.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return W.value===!1&&(m.type=e.type),e.autogrow===!0&&(m.rows=1),m});ye(()=>e.type,()=>{d.value&&(d.value.value=e.modelValue)}),ye(()=>e.modelValue,m=>{if(g.value===!0){if(a===!0&&(a=!1,String(m)===o))return;p(m)}else h.value!==m&&(h.value=m,e.type==="number"&&l.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete l.value));e.autogrow===!0&&ze(oe)}),ye(()=>e.autogrow,m=>{m===!0?ze(oe):d.value!==null&&n.rows>0&&(d.value.style.height="auto")}),ye(()=>e.dense,()=>{e.autogrow===!0&&ze(oe)});function U(){Xl(()=>{const m=document.activeElement;d.value!==null&&d.value!==m&&(m===null||m.id!==V.targetUid.value)&&d.value.focus({preventScroll:!0})})}function C(){d.value!==null&&d.value.select()}function J(m){if(g.value===!0&&e.reverseFillMask!==!0){const $=m.target;v($,$.selectionStart,$.selectionEnd)}t("paste",m)}function N(m){if(!m||!m.target)return;if(e.type==="file"){t("update:modelValue",m.target.files);return}const $=m.target.value;if(m.target.qComposing===!0){l.value=$;return}if(g.value===!0)p($,!1,m.inputType);else if(te($),Z.value===!0&&m.target===document.activeElement){const{selectionStart:D,selectionEnd:ie}=m.target;D!==void 0&&ie!==void 0&&ze(()=>{m.target===document.activeElement&&$.indexOf(m.target.value)===0&&m.target.setSelectionRange(D,ie)})}e.autogrow===!0&&oe()}function le(m){t("animationend",m),oe()}function te(m,$){u=()=>{c=null,e.type!=="number"&&l.hasOwnProperty("value")===!0&&delete l.value,e.modelValue!==m&&o!==m&&(o=m,$===!0&&(a=!0),t("update:modelValue",m),ze(()=>{o===m&&(o=NaN)})),u=void 0},e.type==="number"&&(s=!0,l.value=m),e.debounce!==void 0?(c!==null&&clearTimeout(c),l.value=m,c=setTimeout(u,e.debounce)):u()}function oe(){requestAnimationFrame(()=>{const m=d.value;if(m!==null){const $=m.parentNode.style,{scrollTop:D}=m,{overflowY:ie,maxHeight:F}=r.platform.is.firefox===!0?{}:window.getComputedStyle(m),x=ie!==void 0&&ie!=="scroll";x===!0&&(m.style.overflowY="hidden"),$.marginBottom=m.scrollHeight-1+"px",m.style.height="1px",m.style.height=m.scrollHeight+"px",x===!0&&(m.style.overflowY=parseInt(F,10)<m.scrollHeight?"auto":"hidden"),$.marginBottom="",m.scrollTop=D}})}function Q(m){L(m),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),t("change",m.target.value)}function ae(m){m!==void 0&&sn(m),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),s=!1,a=!1,delete l.value,e.type!=="file"&&setTimeout(()=>{d.value!==null&&(d.value.value=h.value!==void 0?h.value:"")})}function pe(){return l.hasOwnProperty("value")===!0?l.value:h.value!==void 0?h.value:""}it(()=>{ae()}),Zt(()=>{e.autogrow===!0&&oe()}),Object.assign(V,{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:te,hasValue:q,floatingLabel:y(()=>q.value===!0&&(e.type!=="number"||isNaN(h.value)===!1)||xr(e.displayValue)),getControl:()=>b(W.value===!0?"textarea":"input",{ref:d,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...M.value,...A.value,...e.type!=="file"?{value:pe()}: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"},pe()),b("span",e.shadowText)])});const P=la(V);return Object.assign(i,{focus:U,select:C,getNativeElement:()=>d.value}),Pt(i,"nativeEl",()=>d.value),P}}),Cr=Pe({name:"QCardActions",props:{...Sf,vertical:Boolean},setup(e,{slots:t}){const n=xf(e),i=y(()=>`q-card__actions ${n.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>b("div",{class:i.value},Je(t.default))}}),Vo=Pe({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=Ae(),i=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:i.value},Je(t.default));const r=n.vnode.key,l=(e.props.colsMap!==void 0?e.props.colsMap[r]:null)||e.props.col;if(l===void 0)return;const{row:o}=e.props;return b("td",{class:i.value+l.__tdClass(o),style:l.__tdStyle(o)},Je(t.default))}}}),L_=Pe({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},Je(t.default))}});function xc(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 el=Gd({name:"close-popup",beforeMount(e,{value:t}){const n={depth:xc(t),handler(i){n.depth!==0&&setTimeout(()=>{const r=Ew(e);r!==void 0&&qw(r,i,n.depth)})},handlerKey(i){wn(i,13)===!0&&n.handler(i)}};e.__qclosepopup=n,e.addEventListener("click",n.handler),e.addEventListener("keyup",n.handlerKey)},updated(e,{value:t,oldValue:n}){t!==n&&(e.__qclosepopup.depth=xc(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}}),D_={name:"FolderBrowser",props:{modelValue:{type:Boolean,required:!0},initialPath:{type:String,default:""}},data(){return{currentPath:"",items:[],newFolderDialog:!1,newFolderName:""}},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 this.$api.post("/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"},promptNewFolder(){this.newFolderName="",this.newFolderDialog=!0},async createNewFolder(){if(this.newFolderName.trim()){const e=`${this.currentPath}/${this.newFolderName}`;try{await this.$api.post("/api/create-folder",{folderPath:e}),await this.loadFolderContents(this.currentPath),this.newFolderDialog=!1,this.$q.notify({type:"positive",message:"Folder created successfully"})}catch(t){console.error("Error creating folder:",t),this.$q.notify({type:"negative",message:"Error creating folder"})}}}},async mounted(){await this.loadFolderContents(this.initialPath||"./")}},M_={class:"path-section"};function B_(e,t,n,i,r,l){return Le(),Kt(Rt,null,[ee(Di,{modelValue:l.isOpen,"onUpdate:modelValue":t[1]||(t[1]=o=>l.isOpen=o),persistent:""},{default:ue(()=>[ee(pn,{class:"folder-browser-card"},{default:ue(()=>[ee(at,{class:"header-section row items-center justify-between"},{default:ue(()=>[t[4]||(t[4]=_e("div",{class:"text-h6 text-white"},"Select Folder",-1)),Pn(ee(Be,{icon:"close",flat:"",round:"",dense:"",class:"text-white"},null,512),[[el]])]),_:1}),ee(at,null,{default:ue(()=>[_e("div",M_,[t[5]||(t[5]=_e("div",{class:"text-subtitle2 q-mb-sm"},"Current Path:",-1)),ee(vn,{modelValue:r.currentPath,"onUpdate:modelValue":t[0]||(t[0]=o=>r.currentPath=o),dense:"",readonly:"",filled:"",class:"current-path-input","bg-color":"grey-2"},{prepend:ue(()=>[ee($e,{name:"folder",color:"primary"})]),_:1},8,["modelValue"]),ee(Be,{flat:"",color:"primary",icon:"create_new_folder",label:"New Folder",class:"q-mt-sm",onClick:l.promptNewFolder},null,8,["onClick"])]),ee(Xf,{bordered:"",separator:"",class:"directory-list"},{default:ue(()=>[(Le(!0),Kt(Rt,null,vd(l.sortedItems,o=>Pn((Le(),Ye(lh,{key:o.path,clickable:"",onClick:s=>o.isDirectory?l.navigateToFolder(o.path):null,class:"directory-item"},{default:ue(()=>[ee(Zr,{avatar:""},{default:ue(()=>[ee($e,{name:l.getItemIcon(o),color:l.getItemColor(o),size:"sm"},null,8,["name","color"])]),_:2},1024),ee(Zr,null,{default:ue(()=>[Ct(nt(o.name),1)]),_:2},1024),o.isDirectory?(Le(),Ye(Zr,{key:0,side:""},{default:ue(()=>[ee($e,{name:"chevron_right",color:"grey-6",size:"xs"})]),_:1})):lt("",!0)]),_:2},1032,["onClick"])),[[Gs]])),128))]),_:1})]),_:1}),ee(Cr,{align:"right",class:"action-buttons"},{default:ue(()=>[Pn(ee(Be,{flat:"",label:"Cancel",color:"grey-7",class:"q-px-md"},null,512),[[el]]),ee(Be,{unelevated:"",label:"Select",color:"primary",onClick:l.selectCurrentFolder,class:"q-px-md q-ml-sm"},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),ee(Di,{modelValue:r.newFolderDialog,"onUpdate:modelValue":t[3]||(t[3]=o=>r.newFolderDialog=o),persistent:""},{default:ue(()=>[ee(pn,{style:{"min-width":"300px"}},{default:ue(()=>[ee(at,{class:"row items-center"},{default:ue(()=>t[6]||(t[6]=[_e("div",{class:"text-h6"},"Create New Folder",-1)])),_:1}),ee(at,null,{default:ue(()=>[ee(vn,{modelValue:r.newFolderName,"onUpdate:modelValue":t[2]||(t[2]=o=>r.newFolderName=o),label:"Folder Name",dense:"",autofocus:"",onKeyup:lp(l.createNewFolder,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),ee(Cr,{align:"right"},{default:ue(()=>[Pn(ee(Be,{flat:"",label:"Cancel",color:"grey-7"},null,512),[[el]]),ee(Be,{flat:"",label:"Create",color:"primary",onClick:l.createNewFolder},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const $_=Ar(D_,[["render",B_],["__scopeId","data-v-a0df885b"]]),N_={components:{FolderBrowser:$_},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:"",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,isFixingAll:!1,currentFixProgress:0}},computed:{totalIssueCount(){return Object.values(this.differences).reduce((e,t)=>e+t.length,0)}},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 this.$api.post("/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 this.$api.post("/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]||[],i=n.length;return console.log(`Database ${e} differences ${i}:`,n),{id:`db-${e}`,label:e,type:"database",lazy:!0,icon:i>0?"warning":"check_circle",iconColor:i>0?"negative":"positive",diffCount:i||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 i=e.dbData,r=this.differences[e.dbName]||[],l=r.filter(c=>c.type.includes("table")||c.type.includes("field")||c.type.includes("index")||c.type.includes("trigger"));console.log("Table issues:",l);const o=r.filter(c=>c.type.includes("procedure")),s=r.filter(c=>c.type.includes("view")),a=[{id:`${e.dbName}-tables`,label:"Tables",type:"category",lazy:!0,icon:l.length>0?"warning":"check_circle",iconColor:l.length>0?"negative":"positive",diffCount:l.length||null},i.procedures&&{id:`${e.dbName}-procedures`,label:"Procedures",type:"category",lazy:!0,icon:o.length>0?"warning":"check_circle",iconColor:o.length>0?"negative":"positive",diffCount:o.length||null},i.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 i=e.id.split("-")[0],r=this.differences[i]||[];if(e.id.includes("-tables")){const l=r.filter(a=>a.type.includes("table")||a.type.includes("field")||a.type.includes("index")||a.type.includes("trigger"));console.log("Table category issues:",l);const o=[],s=this.existingDatabases[i].tables;console.log("Tables:",s),o.push(...Object.entries(s).map(([a,c])=>{const u=l.filter(f=>f.tableName===a);console.log(`Issues for table ${a}:`,u);const d=u.length>0;return{id:`${i}-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:",o),t(o)}else if(e.id.includes("-procedures")){const l=[],o=this.existingDatabases[i].procedures;l.push(...Object.entries(o).map(([s,a])=>{const c=a.Name,u=r.filter(f=>f.type.includes("procedure")&&f.Name===c);console.log(`Issues for procedure ${c}:`,u);const d=u.length>0;return{id:`${i}-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(l)}else if(e.id.includes("-views")){const l=[],o=this.existingDatabases[i].views;console.log("Views:",o),l.push(...Object.entries(o).map(([s,a])=>({id:`${i}-view-${s}`,label:s,type:"view",lazy:!1,view:a}))),t(l)}}else if(e.type==="table"){console.log("Loading table children for:",e.id);const i=e.tableData;if(console.log("Table data:",i),!i){console.error("No table data found for node:",e),t([]);return}const r=[];i.columns?.length>0&&r.push({id:`${e.id}-columns`,label:`Columns (${i.columns.length})`,type:"subcategory",lazy:!1,children:i.columns.map(l=>{let o=[];return l.AutoIncrement&&o.push("AUTO_INCREMENT"),l.NotNull&&o.push("NOT NULL"),l.Default!==void 0&&o.push(`DEFAULT ${l.Default}`),{id:`${e.id}-column-${l.Field}`,label:`${l.Field} (${l.Type})${o.length?" "+o.join(", "):""}`,type:"column",expandable:!1,columnData:l}})}),i.indexes?.length>0&&r.push({id:`${e.id}-indexes`,label:`Indexes (${i.indexes.length})`,type:"subcategory",lazy:!1,children:i.indexes.map(l=>({id:`${e.id}-index-${l.Name}`,label:`${l.Name}${l.Primary?" (PRIMARY)":""} [${l.ColumnName.join(", ")}]`,type:"index",expandable:!1,indexData:l}))}),console.log("Table children:",r),t(r)}}catch(i){console.error("Error in lazy loading:",i),n()}},createTableIssueGroups(e,t){const n=t.reduce((i,r)=>{const l=r.type;return i[l]=i[l]||{count:0,items:[]},i[l].count++,i[l].items.push(r),i},{});return Object.entries(n).map(([i,r])=>({id:`${e}-tables-${i}`,label:i.split("_").map(l=>l.charAt(0).toUpperCase()+l.slice(1)).join(" "),type:"issue-group",icon:"warning",iconColor:"negative",diffCount:r.count,children:r.items.map(l=>({id:`${e}-tables-${i}-${l.tableName||l.Name}`,label:l.tableName||l.Name,type:"issue",icon:"warning",iconColor:"negative",expandable:!1,issueData:l}))}))},async fetchAllDifferences(){try{const e=await this.$api.post("/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)}catch(e){throw console.error("Error fetching all differences:",e),this.$q.notify({type:"negative",message:e.response?.data?.message||"Error fetching all differences",position:"top"}),e}},async fetchDifferencesForSelectedDb(){if(Object.keys(this.existingDatabases).length>0){const e=Object.keys(this.existingDatabases)[0];try{const t=await this.$api.post("/api/compare",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder,database:e}});this.differences=t.data}catch(t){console.error("Error fetching differences for selected db:",t)}}},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),await this.getDatabasesFromExistingDumps(),await this.fetchAllDifferences()});return}this.$q.loading.show({message:"Creating new dump...",spinnerColor:"primary",backgroundColor:"grey-1",spinnerSize:80,messageColor:"primary",customClass:"custom-loading"});try{let t=await this.$api.post("/api/dump",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder}});t.data.message&&this.$q.notify({type:"positive",message:t.data.message,position:"top"}),this.$q.loading.show({message:"Loading databases...",spinnerColor:"primary",backgroundColor:"grey-1",spinnerSize:80,messageColor:"primary",customClass:"custom-loading"}),await this.getDatabasesFromExistingDumps(),this.$q.loading.show({message:"Fetching differences...",spinnerColor:"primary",backgroundColor:"grey-1",spinnerSize:80,messageColor:"primary",customClass:"custom-loading"}),await this.fetchAllDifferences()}catch(t){this.$q.loading.hide(),this.$q.notify({type:"negative",message:t.response?.data?.message||"Error creating dump",position:"top"}),console.error("Error creating new dump:",t)}finally{this.$q.loading.hide()}},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 this.$api.post("/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||!e.id)&&(e=this.selectedNode),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(i=>i.type==="issue").map(i=>i.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 i=e.id.split("-")[1];const r=this.differences[n];console.log("DB Differences:",r),i==="tables"?(console.log("Collecting table issues"),console.log("DB Differences:",r),t.push(...r.filter(l=>l.type.includes("table")||l.tableName))):i==="views"?(console.log("Collecting view issues"),t.push(...r.filter(l=>l.type.includes("view")))):i==="procedures"?(console.log("Collecting procedure issues"),t.push(...r.filter(l=>l.type.includes("procedure")))):console.error("Unknown type:",i)}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))},async fixAllIssues(){if(!this.isFixingAll)try{this.isFixingAll=!0,this.currentFixProgress=0;let e=0;const t=this.$q.dialog({title:"Fixing Database Issues",message:`<div class="text-h6">Iteration: 1/6</div>
31
- <div class="text-subtitle2">Remaining issues: ${this.totalIssueCount}</div>
32
- <div class="text-caption">Preparing...</div>`,html:!0,progress:{spinner:!0,color:"primary"},persistent:!0,ok:!1});for(;e<6&&this.totalIssueCount>0;){e++,t.update({message:`<div class="text-h6">Iteration: ${e}/6</div>
33
- <div class="text-subtitle2">Remaining issues: ${this.totalIssueCount}</div>
34
- <div class="text-caption">Starting fixes...</div>`,html:!0});for(const n of Object.keys(this.differences))if(this.differences[n].length>0){const i={id:`db-${n}`,type:"database"};t.update({message:`<div class="text-h6">Iteration: ${e}/6</div>
35
- <div class="text-subtitle2">Remaining issues: ${this.totalIssueCount}</div>
36
- <div class="text-caption q-mt-sm">Currently fixing: <span class="text-weight-bold">${n}</span></div>`,html:!0}),await this.fixNodeIssues(i)}if(await this.fetchAllDifferences(),this.totalIssueCount===0){await t.hide(),this.$q.dialog({title:"Success!",message:`<div class="text-h6 text-positive">All issues have been fixed!</div>
37
- <div class="text-subtitle2">Completed in ${e} iterations</div>`,html:!0,ok:!0,persistent:!1});break}}e>=6&&this.totalIssueCount>0&&(await t.hide(),this.$q.dialog({title:"Process Complete",message:`<div class="text-h6 text-warning">Maximum iterations reached</div>
38
- <div class="text-subtitle2">${this.totalIssueCount} issues remaining</div>
39
- <div class="text-caption">Completed all 6 iterations</div>`,html:!0,ok:!0,persistent:!1}))}catch(e){console.error("Error fixing all issues:",e),this.$q.dialog({title:"Error",message:`<div class="text-negative">An error occurred while fixing issues</div>
40
- <div class="text-caption">${e.message}</div>`,html:!0,ok:!0,persistent:!1})}finally{this.isFixingAll=!1,this.currentFixProgress=0}}},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()}}},I_={class:"row q-col-gutter-md q-mb-lg"},V_={class:"col-auto"},j_={class:"col-auto"},H_={class:"text-h6"},z_={class:"row items-center justify-between"},U_={class:"row items-center"},K_={class:"row items-center"},W_={class:"row items-center full-width"},Q_=["onClick"],G_={class:"text-weight-medium"},J_={class:"row q-col-gutter-lg justify-center"},X_={class:"col-12 col-sm-10"},Y_={class:"row q-col-gutter-md"},Z_={class:"col-12 col-sm-6"},eS={class:"col-12 col-sm-6"},tS={class:"col-12 col-sm-6"},nS={class:"col-12 col-sm-6"},iS={class:"col-12 col-sm-6"},rS={class:"col-12 col-sm-6"},lS={class:"text-subtitle2 q-mb-sm"},oS={class:"text-subtitle2 q-mb-sm"},sS={key:0,class:"q-mb-sm"},aS={key:1,class:"q-mt-md"},uS={class:"sql-code"},cS={key:2,class:"q-mt-md"},dS={class:"sql-code"},fS={key:3,class:"q-mt-md"};function hS(e,t,n,i,r,l){const o=pd("FolderBrowser");return Le(),Ye(zl,{class:"q-pa-md"},{default:ue(()=>[_e("div",I_,[_e("div",V_,[ee(Be,{onClick:l.openSettings,icon:"settings",label:"Settings",color:"primary"},null,8,["onClick"])]),_e("div",j_,[ee(Be,{onClick:t[0]||(t[0]=s=>Object.keys(r.existingDatabases).length===0?l.createNewDump():l.createNewDump(!0)),icon:Object.keys(r.existingDatabases).length===0?"download":"refresh",label:Object.keys(r.existingDatabases).length===0?"Get New Dump":"Refresh Dump",color:"secondary"},null,8,["icon","label"])])]),r.isDbSetup?lt("",!0):(Le(),Ye(pn,{key:0,class:"q-mb-lg bg-warning text-white"},{default:ue(()=>[ee(at,null,{default:ue(()=>[_e("div",H_,[ee($e,{name:"warning",class:"q-mr-sm"}),t[14]||(t[14]=Ct(" Database Not Set Up "))]),t[15]||(t[15]=_e("div",{class:"q-mt-sm"},"Please configure your database settings to get started.",-1)),ee(Be,{onClick:l.openSettings,label:"Open Settings",color:"white","text-color":"warning",class:"q-mt-sm",unelevated:""},null,8,["onClick"])]),_:1})]),_:1})),Object.keys(r.existingDatabases).length>0?(Le(),Ye(pn,{key:1,class:"q-mb-lg"},{default:ue(()=>[ee(at,{class:"bg-primary text-white"},{default:ue(()=>[_e("div",z_,[_e("div",U_,[ee($e,{name:"account_tree",class:"q-mr-sm"}),t[16]||(t[16]=_e("div",{class:"text-h6"},"Database Structure",-1)),l.totalIssueCount>0?(Le(),Ye(Io,{key:0,color:"negative",class:"q-ml-sm"},{default:ue(()=>[Ct(nt(l.totalIssueCount),1)]),_:1})):lt("",!0)]),l.totalIssueCount>0?(Le(),Ye(Be,{key:0,flat:"",dense:"",color:"white",loading:r.isFixingAll,onClick:l.fixAllIssues,icon:"build",class:"q-ml-md"},{loading:ue(()=>[_e("span",K_," Fixing... ("+nt(r.currentFixProgress)+"/"+nt(l.totalIssueCount)+") ",1)]),default:ue(()=>[ee(Ji,null,{default:ue(()=>[Ct("Fix All Issues ("+nt(l.totalIssueCount)+")",1)]),_:1})]),_:1},8,["loading","onClick"])):lt("",!0)])]),_:1}),ee(at,null,{default:ue(()=>[ee(R_,{nodes:r.databaseTree,"node-key":"id",expanded:r.expandedNodes,"onUpdate:expanded":t[1]||(t[1]=s=>r.expandedNodes=s),onLazyLoad:l.onLazyLoad,class:"database-tree"},{"default-header":ue(s=>[_e("div",W_,[_e("div",{class:"row items-center flex-grow-1 cursor-pointer",onClick:iu(a=>!["category","database","subcategory"].includes(s.node.type)&&s.node.diffCount&&l.showIssueDetails(s.node.issueData,s.node),["stop"])},[s.node.icon?(Le(),Ye($e,{key:0,name:s.node.icon,color:s.node.iconColor,size:"sm",class:"q-mr-sm"},null,8,["name","color"])):lt("",!0),_e("div",G_,nt(s.node.label),1),s.node.diffCount?(Le(),Ye(Io,{key:1,color:"negative",class:"q-ml-sm"},{default:ue(()=>[Ct(nt(s.node.diffCount),1)]),_:2},1024)):lt("",!0)],8,Q_),["issue-group","issues","category","database"].includes(s.node.type)&&s.node.diffCount?(Le(),Ye(Be,{key:0,flat:"",dense:"",color:"primary",loading:r.isNodeFixing[s.node.id],onClick:iu(a=>l.fixNodeIssues(s.node),["stop"]),icon:"build",size:"sm",class:"q-ml-md"},{default:ue(()=>[ee(Ji,null,{default:ue(()=>t[17]||(t[17]=[Ct("Fix All Issues")])),_:1})]),_:2},1032,["loading","onClick"])):lt("",!0)])]),_:1},8,["nodes","expanded","onLazyLoad"])]),_:1})]),_:1})):lt("",!0),ee(Di,{modelValue:r.settingsDialog,"onUpdate:modelValue":t[9]||(t[9]=s=>r.settingsDialog=s),persistent:""},{default:ue(()=>[ee(pn,{style:{width:"90vw","max-width":"1200px"}},{default:ue(()=>[ee(at,{class:"bg-primary text-white"},{default:ue(()=>t[18]||(t[18]=[_e("div",{class:"text-h5"},"Database Settings",-1),_e("div",{class:"text-subtitle2"},"Configure your database connection parameters",-1)])),_:1}),ee(at,{class:"q-pa-lg col scroll"},{default:ue(()=>[_e("div",J_,[_e("div",X_,[_e("div",Y_,[_e("div",Z_,[ee(vn,{modelValue:r.host,"onUpdate:modelValue":t[2]||(t[2]=s=>r.host=s),label:"Database Host",default:"127.0.0.1",filled:"",class:"q-mb-md",required:""},{prepend:ue(()=>[ee($e,{name:"dns"})]),_:1},8,["modelValue"])]),_e("div",eS,[ee(vn,{modelValue:r.port,"onUpdate:modelValue":t[3]||(t[3]=s=>r.port=s),label:"Database Port",default:"3306",type:"number",filled:"",class:"q-mb-md",required:""},{prepend:ue(()=>[ee($e,{name:"settings_ethernet"})]),_:1},8,["modelValue"])]),_e("div",tS,[ee(vn,{modelValue:r.user,"onUpdate:modelValue":t[4]||(t[4]=s=>r.user=s),label:"Database User",default:"root",filled:"",class:"q-mb-md",required:""},{prepend:ue(()=>[ee($e,{name:"person"})]),_:1},8,["modelValue"])]),_e("div",nS,[ee(vn,{modelValue:r.password,"onUpdate:modelValue":t[5]||(t[5]=s=>r.password=s),label:"Database Password",type:"password",filled:"",class:"q-mb-md",required:"",autocomplete:"off"},{prepend:ue(()=>[ee($e,{name:"lock"})]),_:1},8,["modelValue"])]),_e("div",iS,[ee(vn,{modelValue:r.database,"onUpdate:modelValue":t[6]||(t[6]=s=>r.database=s),label:"Database Name",filled:"",class:"q-mb-md",required:""},{prepend:ue(()=>[ee($e,{name:"database"})]),_:1},8,["modelValue"])]),_e("div",rS,[ee(vn,{modelValue:r.dbFolder,"onUpdate:modelValue":t[8]||(t[8]=s=>r.dbFolder=s),label:"Database Folder",default:"",filled:"",class:"q-mb-md",required:""},{prepend:ue(()=>[ee($e,{name:"folder"})]),append:ue(()=>[ee(Be,{flat:"",dense:"",icon:"folder_open",onClick:t[7]||(t[7]=s=>r.showFolderBrowser=!0)},{default:ue(()=>[ee(Ji,null,{default:ue(()=>t[19]||(t[19]=[Ct("Browse")])),_:1})]),_:1})]),_:1},8,["modelValue"])])])])])]),_:1}),ee(Cr,{align:"right",class:"bg-white q-pa-md"},{default:ue(()=>[ee(Be,{onClick:l.closeSettings,label:"Cancel",color:"grey-7",flat:"",class:"q-px-md"},null,8,["onClick"]),ee(Be,{onClick:l.saveSettings,label:"Save Settings",color:"primary",unelevated:"",class:"q-px-md q-ml-sm"},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),ee(Di,{modelValue:r.issueDialog,"onUpdate:modelValue":t[12]||(t[12]=s=>r.issueDialog=s)},{default:ue(()=>[ee(pn,{style:{"min-width":"800px",width:"90vw","max-width":"1200px"}},{default:ue(()=>[ee(at,null,{default:ue(()=>t[20]||(t[20]=[_e("div",{class:"text-h6"},"Issue Details",-1)])),_:1}),r.selectedIssues.length===1?(Le(),Ye(at,{key:0,class:"q-pt-none"},{default:ue(()=>[_e("div",lS,[t[21]||(t[21]=Ct(" Issue Type: ")),ee(Io,{color:"negative"},{default:ue(()=>[Ct(nt(r.selectedIssues[0].type?.replace(/_/g," ")),1)]),_:1})]),_e("div",oS,"Name: "+nt(r.selectedIssues[0].Name),1),r.selectedIssues[0].tableName?(Le(),Kt("div",sS,[t[22]||(t[22]=_e("strong",null,"Table:",-1)),Ct(" "+nt(r.selectedIssues[0].tableName),1)])):lt("",!0),r.selectedIssues[0].createSQL?(Le(),Kt("div",aS,[t[23]||(t[23]=_e("div",{class:"text-subtitle2 q-mb-sm"},"SQL Definition:",-1)),ee(pn,{class:"bg-grey-2"},{default:ue(()=>[ee(at,{class:"q-pa-md"},{default:ue(()=>[_e("pre",uS,nt(r.selectedIssues[0].createSQL),1)]),_:1})]),_:1})])):lt("",!0),r.selectedIssues[0].Definition?(Le(),Kt("div",cS,[t[24]||(t[24]=_e("div",{class:"text-subtitle2 q-mb-sm"},"Definition:",-1)),ee(pn,{class:"bg-grey-2"},{default:ue(()=>[ee(at,{class:"q-pa-md"},{default:ue(()=>[_e("pre",dS,nt(r.selectedIssues[0].Definition),1)]),_:1})]),_:1})])):lt("",!0),r.selectedIssues[0].currentField?(Le(),Kt("div",fS,[t[26]||(t[26]=_e("div",{class:"text-subtitle2 q-mb-sm"},"Field Comparison:",-1)),ee(Yf,{flat:"",bordered:""},{default:ue(()=>[t[25]||(t[25]=_e("thead",null,[_e("tr",null,[_e("th",{class:"text-left"},"Property"),_e("th",{class:"text-left"},"Current"),_e("th",{class:"text-left"},"Expected")])],-1)),_e("tbody",null,[(Le(!0),Kt(Rt,null,vd(r.selectedIssues[0].currentField,(s,a)=>(Le(),Kt("tr",{key:a},[_e("td",null,nt(a),1),_e("td",null,nt(s),1),_e("td",{class:Pl({"text-negative":s!==r.selectedIssues[0].field?.[a]})},nt(r.selectedIssues[0].field?.[a]),3)]))),128))])]),_:1})])):lt("",!0),ee(Be,{onClick:t[10]||(t[10]=s=>l.fixNodeIssues(this.selectedNode)),loading:r.isNodeFixing["single-issue"],color:"primary",class:"q-mt-md",label:"Fix Issue"},null,8,["loading"])]),_:1})):(Le(),Ye(at,{key:1,class:"q-pt-none"},{default:ue(()=>[ee(kh,{rows:r.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:ue(s=>[ee(L_,{props:s},{default:ue(()=>[ee(Vo,{key:"type"},{default:ue(()=>[Ct(nt(s.row.type?.replace(/_/g," ")),1)]),_:2},1024),ee(Vo,{key:"tableName"},{default:ue(()=>[Ct(nt(s.row.tableName),1)]),_:2},1024),ee(Vo,{key:"actions"},{default:ue(()=>[ee(Be,{flat:"",dense:"",color:"primary",icon:"visibility",onClick:a=>l.showSingleIssue(s.row)},{default:ue(()=>[ee(Ji,null,{default:ue(()=>t[27]||(t[27]=[Ct("View Details")])),_:1})]),_:2},1032,["onClick"]),ee(Be,{flat:"",dense:"",color:"positive",icon:"build",loading:r.isNodeFixing[`issue-${s.rowIndex}`],onClick:a=>l.fixNodeIssues({type:"issue",id:this.selectedNode.id,issueData:s.row})},{default:ue(()=>[ee(Ji,null,{default:ue(()=>t[28]||(t[28]=[Ct("Fix Issue")])),_:1})]),_:2},1032,["loading","onClick"])]),_:2},1024)]),_:2},1032,["props"])]),_:1},8,["rows","columns"]),ee(Be,{onClick:t[11]||(t[11]=s=>l.fixNodeIssues(this.selectedNode)),loading:r.isNodeFixing["all-issues"],color:"primary",class:"q-mt-md",label:"Fix All Issues"},null,8,["loading"])]),_:1})),ee(Cr,{align:"right"},{default:ue(()=>[Pn(ee(Be,{flat:"",label:"Close",color:"primary"},null,512),[[el]])]),_:1})]),_:1})]),_:1},8,["modelValue"]),r.showFolderBrowser?(Le(),Ye(o,{key:2,modelValue:r.showFolderBrowser,"onUpdate:modelValue":t[13]||(t[13]=s=>r.showFolderBrowser=s),"initial-path":r.dbFolder,onFolderSelected:l.onFolderSelected},null,8,["modelValue","initial-path","onFolderSelected"])):lt("",!0)]),_:1})}const gS=Ar(N_,[["render",hS]]),mS=[{path:"/",component:()=>Ec(()=>import("./MainLayout-CvQD3xKr.js"),[]),children:[{path:"",component:gS},{path:"/dump",component:Wy},{path:"/compare",component:__},{path:"/apply",component:k_}]}],jo=Mp(function(){return jv({scrollBehavior:()=>({left:0,top:0}),routes:mS,history:vv("/")})});async function pS(e,t){const n=e(Dp);n.use(Lp,t);const i=typeof So=="function"?await So({}):So;n.use(i);const r=Bi(typeof jo=="function"?await jo({store:i}):jo);return i.use(({store:l})=>{l.router=r}),{app:n,store:i,router:r}}const vS=Pe({name:"QAvatar",props:{...si,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=ai(e),i=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":"")),r=y(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{const l=e.icon!==void 0?[b($e,{name:e.icon})]:void 0;return b("div",{class:i.value,style:n.value},[b("div",{class:"q-avatar__content row flex-center overflow-hidden",style:r.value},pf(t.default,l))])}}});let bS=0;const tl={},nl={},Ut={},qh={},yS=/^\s*$/,Th=[],wS=[void 0,null,!0,!1,""],ma=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],_S=["top-left","top-right","bottom-left","bottom-right"],Si={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 Rh(e,t,n){if(!e)return Xi("parameter required");let i;const r={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(r,tl),Ot(e)===!1&&(r.type&&Object.assign(r,Si[r.type]),e={message:e}),Object.assign(r,Si[e.type||r.type],e),typeof r.icon=="function"&&(r.icon=r.icon(t)),r.spinner?(r.spinner===!0&&(r.spinner=un),r.spinner=Bi(r.spinner)):r.spinner=!1,r.meta={hasMedia:!!(r.spinner!==!1||r.icon||r.avatar),hasText:Cc(r.message)||Cc(r.caption)},r.position){if(ma.includes(r.position)===!1)return Xi("wrong position",e)}else r.position="bottom";if(wS.includes(r.timeout)===!0)r.timeout=5e3;else{const a=Number(r.timeout);if(isNaN(a)||a<0)return Xi("wrong timeout",e);r.timeout=Number.isFinite(a)?a:0}r.timeout===0?r.progress=!1:r.progress===!0&&(r.meta.progressClass="q-notification__progress"+(r.progressClass?` ${r.progressClass}`:""),r.meta.progressStyle={animationDuration:`${r.timeout+1e3}ms`});const l=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(tl.actions)===!0?tl.actions:[]).concat(Si[e.type]!==void 0&&Array.isArray(Si[e.type].actions)===!0?Si[e.type].actions:[]),{closeBtn:o}=r;if(o&&l.push({label:typeof o=="string"?o:t.lang.label.close}),r.actions=l.map(({handler:a,noDismiss:c,...u})=>({flat:!0,...u,onClick:typeof a=="function"?()=>{a(),c!==!0&&s()}:()=>{s()}})),r.multiLine===void 0&&(r.multiLine=r.actions.length>1),Object.assign(r.meta,{class:`q-notification row items-stretch q-notification--${r.multiLine===!0?"multi-line":"standard"}`+(r.color!==void 0?` bg-${r.color}`:"")+(r.textColor!==void 0?` text-${r.textColor}`:"")+(r.classes!==void 0?` ${r.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(r.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(r.multiLine===!0?"":" col"),leftClass:r.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...r.attrs}}),r.group===!1?(r.group=void 0,r.meta.group=void 0):((r.group===void 0||r.group===!0)&&(r.group=[r.message,r.caption,r.multiline].concat(r.actions.map(a=>`${a.label}*${a.icon}`)).join("|")),r.meta.group=r.group+"|"+r.position),r.actions.length===0?r.actions=void 0:r.meta.actionsClass="q-notification__actions row items-center "+(r.multiLine===!0?"justify-end":"col-auto")+(r.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),r.meta.uid=n.notif.meta.uid;const a=Ut[r.position].value.indexOf(n.notif);Ut[r.position].value[a]=r}else{const a=nl[r.meta.group];if(a===void 0){if(r.meta.uid=bS++,r.meta.badge=1,["left","right","center"].indexOf(r.position)!==-1)Ut[r.position].value.splice(Math.floor(Ut[r.position].value.length/2),0,r);else{const c=r.position.indexOf("top")!==-1?"unshift":"push";Ut[r.position].value[c](r)}r.group!==void 0&&(nl[r.meta.group]=r)}else{if(a.meta.timer&&(clearTimeout(a.meta.timer),a.meta.timer=void 0),r.badgePosition!==void 0){if(_S.includes(r.badgePosition)===!1)return Xi("wrong badgePosition",e)}else r.badgePosition=`top-${r.position.indexOf("left")!==-1?"right":"left"}`;r.meta.uid=a.meta.uid,r.meta.badge=a.meta.badge+1,r.meta.badgeClass=`q-notification__badge q-notification__badge--${r.badgePosition}`+(r.badgeColor!==void 0?` bg-${r.badgeColor}`:"")+(r.badgeTextColor!==void 0?` text-${r.badgeTextColor}`:"")+(r.badgeClass?` ${r.badgeClass}`:"");const c=Ut[r.position].value.indexOf(a);Ut[r.position].value[c]=nl[r.meta.group]=r}}const s=()=>{SS(r),i=void 0};if(r.timeout>0&&(r.meta.timer=setTimeout(()=>{r.meta.timer=void 0,s()},r.timeout+1e3)),r.group!==void 0)return a=>{a!==void 0?Xi("trying to update a grouped one which is forbidden",e):s()};if(i={dismiss:s,config:e,notif:r},n!==void 0){Object.assign(n,i);return}return a=>{if(i!==void 0)if(a===void 0)i.dismiss();else{const c=Object.assign({},i.config,a,{group:!1,position:r.position});Rh(c,t,i)}}}function SS(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const t=Ut[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete nl[e.meta.group];const n=Th[""+e.meta.uid];if(n){const{width:i,height:r}=getComputedStyle(n);n.style.left=`${n.offsetLeft}px`,n.style.width=i,n.style.height=r}Ut[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function Cc(e){return e!=null&&yS.test(e)!==!0}function Xi(e,t){return console.error(`Notify: ${e}`,t),!1}function xS(){return Pe({name:"QNotifications",devtools:{hide:!0},setup(){return()=>b("div",{class:"q-notifications"},ma.map(e=>b(Xm,{key:e,class:qh[e],tag:"div",name:`q-notification--${e}`},()=>Ut[e].value.map(t=>{const n=t.meta,i=[];if(n.hasMedia===!0&&(t.spinner!==!1?i.push(b(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+n.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?i.push(b($e,{class:"q-notification__icon q-notification__icon--"+n.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&i.push(b(vS,{class:"q-notification__avatar q-notification__avatar--"+n.leftClass},()=>b("img",{src:t.avatar,"aria-hidden":"true"})))),n.hasText===!0){let l;const o={class:"q-notification__message col"};if(t.html===!0)o.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{const s=[t.message];l=t.caption?[b("div",s),b("div",{class:"q-notification__caption"},[t.caption])]:s}i.push(b("div",o,l))}const r=[b("div",{class:n.contentClass},i)];return t.progress===!0&&r.push(b("div",{key:`${n.uid}|p|${n.badge}`,class:n.progressClass,style:n.progressStyle})),t.actions!==void 0&&r.push(b("div",{class:n.actionsClass},t.actions.map(l=>b(Be,l)))),n.badge>1&&r.push(b("div",{key:`${n.uid}|${n.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[n.badge])),b("div",{ref:l=>{Th[""+n.uid]=l},key:n.uid,class:n.class,...n.attrs},[b("div",{class:n.wrapperClass},r)])}))))}})}const CS={setDefaults(e){Ot(e)===!0&&Object.assign(tl,e)},registerType(e,t){Ot(t)===!0&&(Si[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=n=>Rh(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){ma.forEach(i=>{Ut[i]=ce([]);const r=["left","center","right"].includes(i)===!0?"center":i.indexOf("top")!==-1?"top":"bottom",l=i.indexOf("left")!==-1?"start":i.indexOf("right")!==-1?"end":"center",o=["left","right"].includes(i)?`items-${i==="left"?"start":"end"} justify-center`:i==="center"?"flex-center":`items-${l}`;qh[i]=`q-notifications__list q-notifications__list--${r} fixed column no-wrap ${o}`});const n=Zl("q-notify");Us(xS(),t).mount(n)}}},kS=()=>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"})]),ES=Pe({name:"QRadio",props:{...qt,...si,...eo,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:i}=Ae(),r=Tt(e,i.$q),l=ai(e,wh),o=ce(null),{refocusTargetEl:s,refocusTarget:a}=yh(e,o),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":"")+(r.value===!0?" q-radio--dark":"")+(e.dense===!0?" q-radio--dense":"")+(e.leftLabel===!0?" reverse":"")),d=y(()=>{const q=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"}${q}`}),f=y(()=>(c.value===!0?e.checkedIcon:e.uncheckedIcon)||null),h=y(()=>e.disable===!0?-1:e.tabindex||0),g=y(()=>{const q={type:"radio"};return e.name!==void 0&&Object.assign(q,{".checked":c.value===!0,"^checked":c.value===!0?"checked":void 0,name:e.name,value:e.val}),q}),v=ph(g);function p(q){q!==void 0&&(Qe(q),a(q)),e.disable!==!0&&c.value!==!0&&n("update:modelValue",e.val,q)}function T(q){(q.keyCode===13||q.keyCode===32)&&Qe(q)}function S(q){(q.keyCode===13||q.keyCode===32)&&p(q)}Object.assign(i,{set:p});const E=kS();return()=>{const q=f.value!==null?[b("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[b($e,{class:"q-radio__icon",name:f.value})])]:[E];e.disable!==!0&&v(q,"unshift"," q-radio__native q-ma-none q-pa-none");const L=[b("div",{class:d.value,style:l.value,"aria-hidden":"true"},q)];s.value!==null&&L.push(s.value);const V=e.label!==void 0?Gt(t.default,[e.label]):Je(t.default);return V!==void 0&&L.push(b("div",{class:"q-radio__label q-anchor--skip"},V)),b("div",{ref:o,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:p,onKeydown:T,onKeyup:S},L)}}}),qS=Pe({name:"QToggle",props:{..._h,icon:String,iconColor:String},emits:Sh,setup(e){function t(n,i){const r=y(()=>(n.value===!0?e.checkedIcon:i.value===!0?e.indeterminateIcon:e.uncheckedIcon)||e.icon),l=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"},r.value!==void 0?[b($e,{name:r.value,color:l.value})]:void 0)]}return xh("toggle",t)}}),Ah={radio:ES,checkbox:cr,toggle:qS},TS=Object.keys(Ah);function Ho(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return i=>i[n]}const RS=Pe({name:"QOptionGroup",props:{...qt,modelValue:{required:!0},options:{type:Array,validator:e=>e.every(Ot),default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],name:String,type:{type:String,default:"radio",validator:e=>TS.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:i}}=Ae(),r=Array.isArray(e.modelValue);e.type==="radio"?r===!0&&console.error("q-option-group: model should not be array"):r===!1&&console.error("q-option-group: model should be array in your case");const l=Tt(e,i),o=y(()=>Ah[e.type]),s=y(()=>Ho(e.optionValue,"value")),a=y(()=>Ho(e.optionLabel,"label")),c=y(()=>Ho(e.optionDisable,"disable")),u=y(()=>e.options.map(g=>({val:s.value(g),name:g.name===void 0?e.name:g.name,disable:e.disable||c.value(g),leftLabel:g.leftLabel===void 0?e.leftLabel:g.leftLabel,color:g.color===void 0?e.color:g.color,checkedIcon:g.checkedIcon,uncheckedIcon:g.uncheckedIcon,dark:g.dark===void 0?l.value:g.dark,size:g.size===void 0?e.size:g.size,dense:e.dense,keepColor:g.keepColor===void 0?e.keepColor:g.keepColor}))),d=y(()=>"q-option-group q-gutter-x-sm"+(e.inline===!0?" q-option-group--inline":"")),f=y(()=>{const g={role:"group"};return e.type==="radio"&&(g.role="radiogroup",e.disable===!0&&(g["aria-disabled"]="true")),g});function h(g){t("update:modelValue",g)}return()=>b("div",{class:d.value,...f.value},e.options.map((g,v)=>{const p=n["label-"+v]!==void 0?()=>n["label-"+v](g):n.label!==void 0?()=>n.label(g):void 0;return b("div",[b(o.value,{label:p===void 0?a.value(g):null,modelValue:e.modelValue,"onUpdate:modelValue":h,...u.value[v]},p)])}))}}),AS=Pe({name:"DialogPluginComponent",props:{...qt,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}=Ae(),{$q:i}=n,r=Tt(e,i),l=ce(null),o=ce(e.prompt!==void 0?e.prompt.model:e.options!==void 0?e.options.model:void 0),s=y(()=>"q-dialog-plugin"+(r.value===!0?" q-dialog-plugin--dark q-dark":"")+(e.progress!==!1?" q-dialog-plugin--progress":"")),a=y(()=>e.color||(r.value===!0?"amber":"primary")),c=y(()=>e.progress===!1?null:Ot(e.progress)===!0?{component:e.progress.spinner||un,props:{color:e.progress.color||a.value}}:{component:un,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:le,items:te,...oe}=e.prompt!==void 0?e.prompt:e.options;return oe}),f=y(()=>Ot(e.ok)===!0||e.ok===!0?i.lang.label.ok:e.ok),h=y(()=>Ot(e.cancel)===!0||e.cancel===!0?i.lang.label.cancel:e.cancel),g=y(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(o.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(o.value)!==!0:!1),v=y(()=>({color:a.value,label:f.value,ripple:!1,disable:g.value,...Ot(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&u.value!==!0||void 0,onClick:E})),p=y(()=>({color:a.value,label:h.value,ripple:!1,...Ot(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&u.value!==!0||void 0,onClick:q}));ye(()=>e.prompt&&e.prompt.model,V),ye(()=>e.options&&e.options.model,V);function T(){l.value.show()}function S(){l.value.hide()}function E(){t("ok",Ee(o.value)),S()}function q(){S()}function L(){t("hide")}function V(N){o.value=N}function W(N){g.value!==!0&&e.prompt.type!=="textarea"&&wn(N,13)===!0&&E()}function Z(N,le){return e.html===!0?b(at,{class:N,innerHTML:le}):b(at,{class:N},()=>le)}function A(){return[b(vn,{color:a.value,dense:!0,autofocus:!0,dark:r.value,...d.value,modelValue:o.value,"onUpdate:modelValue":V,onKeyup:W})]}function M(){return[b(RS,{color:a.value,options:e.options.items,dark:r.value,...d.value,modelValue:o.value,"onUpdate:modelValue":V})]}function U(){const N=[];return e.cancel&&N.push(b(Be,p.value)),e.ok&&N.push(b(Be,v.value)),b(Cr,{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(at,{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(at,{class:"scroll q-dialog-plugin__form"},A)):e.options!==void 0&&N.push(b(vs,{dark:r.value}),b(at,{class:"scroll q-dialog-plugin__form"},M),b(vs,{dark:r.value})),(e.ok||e.cancel)&&N.push(U()),N}function J(){return[b(pn,{class:[s.value,e.cardClass],style:e.cardStyle,dark:r.value},C)]}return Object.assign(n,{show:T,hide:S}),()=>b(Di,{ref:l,onHide:L},J)}});function Ph(e,t){for(const n in t)n!=="spinner"&&Object(t[n])===t[n]?(e[n]=Object(e[n])!==e[n]?{}:{...e[n]},Ph(e[n],t[n])):e[n]=t[n]}function PS(e,t,n){return i=>{let r,l;const o=i.component!==void 0;if(o===!0){const{component:S,componentProps:E}=i;r=typeof S=="string"?n.component(S):S,l=E||{}}else{const{class:S,style:E,...q}=i;r=e,l=q,S!==void 0&&(q.cardClass=S),E!==void 0&&(q.cardStyle=E)}let s,a=!1;const c=ce(null),u=Zl(!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=[],g={onOk(S){return f.push(S),g},onCancel(S){return h.push(S),g},onDismiss(S){return f.push(S),h.push(S),g},hide(){return d("hide"),g},update(S){if(s!==null){if(o===!0)Object.assign(l,S);else{const{class:E,style:q,...L}=S;E!==void 0&&(L.cardClass=E),q!==void 0&&(L.cardStyle=q),Ph(l,L)}s.$forceUpdate()}return g}},v=S=>{a=!0,f.forEach(E=>{E(S)})},p=()=>{T.unmount(u),ua(u),T=null,s=null,a!==!0&&h.forEach(S=>{S()})};let T=Us({name:"QGlobalDialog",setup:()=>()=>b(r,{...l,ref:c,onOk:v,onHide:p,onVnodeMounted(...S){typeof l.onVnodeMounted=="function"&&l.onVnodeMounted(...S),ze(()=>d("show"))}})},n);return s=T.mount(u),g}}const OS={install({$q:e,parentApp:t}){e.dialog=this.create=PS(AS,!0,t)}};let yi,zo,kc=0,Kn=null,dt={},Xn={};const Oh={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:un,customClass:""},Fh={...Oh};function FS(e){if(e&&e.group!==void 0&&Xn[e.group]!==void 0)return Object.assign(Xn[e.group],e);const t=Ot(e)===!0&&e.ignoreDefaults===!0?{...Oh,...e}:{...Fh,...e};return Xn[t.group]=t,t}const zt=qr({isActive:!1},{show(e){dt=FS(e);const{group:t}=dt;return zt.isActive=!0,yi!==void 0?(dt.uid=kc,zo.$forceUpdate()):(dt.uid=++kc,Kn!==null&&clearTimeout(Kn),Kn=setTimeout(()=>{Kn=null;const n=Zl("q-loading");yi=Us({name:"QLoading",setup(){Zt(()=>{xs(!0)});function i(){zt.isActive!==!0&&yi!==void 0&&(xs(!1),yi.unmount(n),ua(n),yi=void 0,zo=void 0)}function r(){if(zt.isActive!==!0)return null;const l=[b(dt.spinner,{class:"q-loading__spinner",color:dt.spinnerColor,size:dt.spinnerSize})];return dt.message&&l.push(b("div",{class:"q-loading__message"+(dt.messageColor?` text-${dt.messageColor}`:""),[dt.html===!0?"innerHTML":"textContent"]:dt.message})),b("div",{class:"q-loading fullscreen flex flex-center z-max "+dt.customClass.trim(),key:dt.uid},[b("div",{class:"q-loading__backdrop"+(dt.backgroundColor?` bg-${dt.backgroundColor}`:"")}),b("div",{class:"q-loading__box column items-center "+dt.boxClass},l)])}return()=>b(Ln,{name:"q-transition--fade",appear:!0,onAfterLeave:i},r)}},zt.__parentApp),zo=yi.mount(n)},dt.delay)),n=>{if(n===void 0||Object(n)!==n){zt.hide(t);return}zt.show({...n,group:t})}},hide(e){if(zt.isActive===!0){if(e===void 0)Xn={};else{if(Xn[e]===void 0)return;{delete Xn[e];const t=Object.keys(Xn);if(t.length!==0){const n=t[t.length-1];zt.show({group:n});return}}}Kn!==null&&(clearTimeout(Kn),Kn=null),zt.isActive=!1}},setDefaults(e){Ot(e)===!0&&Object.assign(Fh,e)},install({$q:e,parentApp:t}){e.loading=this,zt.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}}),LS={config:{},plugins:{Notify:CS,Dialog:OS,Loading:zt}},DS="/";async function MS({app:e,router:t,store:n},i){let r=!1;const l=a=>{try{return t.resolve(a).href}catch{}return Object(a)===a?null:a},o=a=>{if(r=!0,typeof a=="string"&&/^https?:\/\//.test(a)){window.location.href=a;return}const c=l(a);c!==null&&(window.location.href=c,window.location.reload())},s=window.location.href.replace(window.location.origin,"");for(let a=0;r===!1&&a<i.length;a++)try{await i[a]({app:e,router:t,store:n,ssrContext:null,redirect:o,urlPath:s,publicPath:DS})}catch(c){if(c&&c.url){o(c.url);return}console.error("[Quasar] boot error:",c);return}r!==!0&&(e.use(t),e.mount("#q-app"))}pS(Wd,LS).then(e=>{const[t,n]=Promise.allSettled!==void 0?["allSettled",i=>i.map(r=>{if(r.status==="rejected"){console.error("[Quasar] boot error:",r.reason);return}return r.value.default})]:["all",i=>i.map(r=>r.default)];return Promise[t]([Ec(()=>import("./axios-C0XcclIb.js"),[])]).then(i=>{const r=n(i).filter(l=>typeof l=="function");MS(e,r)})});export{Is as A,Gt as B,pd as C,Le as D,Ye as E,ue as F,ee as G,Ar as _,et as a,y as b,Pe as c,BS as d,mi as e,Je as f,Ae as g,b as h,Vt as i,Rp as j,na as k,Tp as l,it as m,Pi as n,Zt as o,Kr as p,gt as q,tw as r,ta as s,nw as t,ce as u,Dn as v,ye as w,ze as x,iw as y,Mi as z};