@ghfs/cli 0.2.0 → 0.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 (46) hide show
  1. package/README.md +1 -1
  2. package/dist/cli.mjs +201 -36
  3. package/dist/ui/200.html +1 -1
  4. package/dist/ui/404.html +1 -1
  5. package/dist/ui/_nuxt/1bK2R2pL.js +1 -0
  6. package/dist/ui/_nuxt/{DWbelWgw.js → BKH9P1wN.js} +1 -1
  7. package/dist/ui/_nuxt/BNh5okZH.js +4 -0
  8. package/dist/ui/_nuxt/BNzF7F9w.js +1 -0
  9. package/dist/ui/_nuxt/{Dl1uYT3n.js → BWLewmBT.js} +5 -5
  10. package/dist/ui/_nuxt/BbwaKnwL.js +1 -0
  11. package/dist/ui/_nuxt/BqmRGtwl.js +1 -0
  12. package/dist/ui/_nuxt/C2jkTI5u.js +2 -0
  13. package/dist/ui/_nuxt/{ka8bt-K2.js → C8o6ovMK.js} +1 -1
  14. package/dist/ui/_nuxt/{BvOdM423.js → CBU7sHLx.js} +1 -1
  15. package/dist/ui/_nuxt/CQja-oog.js +1 -0
  16. package/dist/ui/_nuxt/D4R7-XZQ.js +1 -0
  17. package/dist/ui/_nuxt/D4yIuA0F.js +64 -0
  18. package/dist/ui/_nuxt/DHH7xZXJ.js +11 -0
  19. package/dist/ui/_nuxt/{DRcdqDVD.js → DK734mxh.js} +1 -1
  20. package/dist/ui/_nuxt/DVC3GhaL.js +1 -0
  21. package/dist/ui/_nuxt/DWBdeKmR.js +1 -0
  22. package/dist/ui/_nuxt/Da-Y9lY6.js +1 -0
  23. package/dist/ui/_nuxt/DeX2bcSG.js +1 -0
  24. package/dist/ui/_nuxt/builds/latest.json +1 -1
  25. package/dist/ui/_nuxt/builds/meta/f935488c-a544-4bf6-9a65-b421d02508c1.json +1 -0
  26. package/dist/ui/_nuxt/cards.DYf8w2uL.css +1 -0
  27. package/dist/ui/_nuxt/entry.COcGUqGv.css +1 -0
  28. package/dist/ui/{hub/queue → cards}/index.html +1 -1
  29. package/dist/ui/hub/index.html +1 -1
  30. package/dist/ui/hub/recent/index.html +1 -1
  31. package/dist/ui/index.html +1 -1
  32. package/dist/ui/recent/index.html +1 -1
  33. package/dist/ui/{queue → todo}/index.html +1 -1
  34. package/package.json +4 -5
  35. package/dist/ui/_nuxt/3t-6YNGz.js +0 -1
  36. package/dist/ui/_nuxt/BO53GVu8.js +0 -1
  37. package/dist/ui/_nuxt/CrQuFoFY.js +0 -1
  38. package/dist/ui/_nuxt/D0jeqgqx.js +0 -1
  39. package/dist/ui/_nuxt/DCJHYwE6.js +0 -67
  40. package/dist/ui/_nuxt/DS2KJUFh.js +0 -1
  41. package/dist/ui/_nuxt/Dc-i7Zfu.js +0 -1
  42. package/dist/ui/_nuxt/DiuiI0_S.js +0 -1
  43. package/dist/ui/_nuxt/builds/meta/283a6ae8-b1fa-4a56-aab5-927ed1779674.json +0 -1
  44. package/dist/ui/_nuxt/entry.DnCs62PI.css +0 -1
  45. package/dist/ui/_nuxt/ivQhLDHX.js +0 -11
  46. package/dist/ui/_nuxt/zinMudAE.js +0 -1
@@ -1,11 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Dc-i7Zfu.js","./DiuiI0_S.js","./CrQuFoFY.js","./D0jeqgqx.js","./DCJHYwE6.js","./Project.BMA756E4.css","./DlAUqK2U.js","./BO53GVu8.js","./3t-6YNGz.js","./DS2KJUFh.js","./Dl1uYT3n.js","./index.C3E0NnSu.css","./DRcdqDVD.js","./error-404.CiGdHkfa.css","./DWbelWgw.js","./error-500.DrZuPeVU.css"])))=>i.map(i=>d[i]);
2
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function o(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();function qa(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ge={},co=[],Bt=()=>{},lf=()=>!1,ms=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Cr=e=>e.startsWith("onUpdate:"),je=Object.assign,Wa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Uh=Object.prototype.hasOwnProperty,be=(e,t)=>Uh.call(e,t),ne=Array.isArray,uo=e=>Co(e)==="[object Map]",cf=e=>Co(e)==="[object Set]",Ol=e=>Co(e)==="[object Date]",qh=e=>Co(e)==="[object RegExp]",re=e=>typeof e=="function",Te=e=>typeof e=="string",pt=e=>typeof e=="symbol",ye=e=>e!==null&&typeof e=="object",uf=e=>(ye(e)||re(e))&&re(e.then)&&re(e.catch),ff=Object.prototype.toString,Co=e=>ff.call(e),Wh=e=>Co(e).slice(8,-1),df=e=>Co(e)==="[object Object]",Tr=e=>Te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Wn=qa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ar=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Vh=/-\w/g,Je=Ar(e=>e.replace(Vh,t=>t.slice(1).toUpperCase())),zh=/\B([A-Z])/g,fn=Ar(e=>e.replace(zh,"-$1").toLowerCase()),$r=Ar(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qs=Ar(e=>e?`on${$r(e)}`:""),Ze=(e,t)=>!Object.is(e,t),fo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},pf=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Va=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hf=e=>{const t=Te(e)?Number(e):NaN;return isNaN(t)?e:t};let Rl;const kr=()=>Rl||(Rl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ut(e){if(ne(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],s=Te(o)?Jh(o):Ut(o);if(s)for(const r in s)t[r]=s[r]}return t}else if(Te(e)||ye(e))return e}const Kh=/;(?![^(]*\))/g,Gh=/:([^]+)/,Qh=/\/\*[^]*?\*\//g;function Jh(e){const t={};return e.replace(Qh,"").split(Kh).forEach(n=>{if(n){const o=n.split(Gh);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Ce(e){let t="";if(Te(e))t=e;else if(ne(e))for(let n=0;n<e.length;n++){const o=Ce(e[n]);o&&(t+=o+" ")}else if(ye(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function za(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Te(t)&&(e.class=Ce(t)),n&&(e.style=Ut(n)),e}const Yh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xh=qa(Yh);function mf(e){return!!e||e===""}function Zh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=Ka(e[o],t[o]);return n}function Ka(e,t){if(e===t)return!0;let n=Ol(e),o=Ol(t);if(n||o)return n&&o?e.getTime()===t.getTime():!1;if(n=pt(e),o=pt(t),n||o)return e===t;if(n=ne(e),o=ne(t),n||o)return n&&o?Zh(e,t):!1;if(n=ye(e),o=ye(t),n||o){if(!n||!o)return!1;const s=Object.keys(e).length,r=Object.keys(t).length;if(s!==r)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Ka(e[i],t[i]))return!1}}return String(e)===String(t)}const gf=e=>!!(e&&e.__v_isRef===!0),Ee=e=>Te(e)?e:e==null?"":ne(e)||ye(e)&&(e.toString===ff||!re(e.toString))?gf(e)?Ee(e.value):JSON.stringify(e,yf,2):String(e),yf=(e,t)=>gf(t)?yf(e,t.value):uo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s],r)=>(n[si(o,r)+" =>"]=s,n),{})}:cf(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>si(n))}:pt(t)?si(t):ye(t)&&!ne(t)&&!df(t)?String(t):t,si=(e,t="")=>{var n;return pt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Fe;class vf{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Fe&&(Fe.active?(this.parent=Fe,this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!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=Fe;try{return Fe=this,t()}finally{Fe=n}}}on(){++this._on===1&&(this.prevScope=Fe,Fe=this)}off(){if(this._on>0&&--this._on===0){if(Fe===this)Fe=this.prevScope;else{let t=Fe;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(this.effects.length=0,n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Ga(e){return new vf(e)}function Pr(){return Fe}function em(e,t=!1){Fe&&Fe.cleanups.push(e)}let $e;const ri=new WeakSet;class bf{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,Fe&&(Fe.active?Fe.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ri.has(this)&&(ri.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||_f(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Il(this),Ef(this);const t=$e,n=$t;$e=this,$t=!0;try{return this.fn()}finally{Sf(this),$e=t,$t=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ya(t);this.deps=this.depsTail=void 0,Il(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ri.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Yi(this)&&this.run()}get dirty(){return Yi(this)}}let wf=0,Vo,zo;function _f(e,t=!1){if(e.flags|=8,t){e.next=zo,zo=e;return}e.next=Vo,Vo=e}function Qa(){wf++}function Ja(){if(--wf>0)return;if(zo){let t=zo;for(zo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vo;){let t=Vo;for(Vo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function Ef(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Sf(e){let t,n=e.depsTail,o=n;for(;o;){const s=o.prevDep;o.version===-1?(o===n&&(n=s),Ya(o),tm(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=s}e.deps=t,e.depsTail=n}function Yi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xf(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xf(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===os)||(e.globalVersion=os,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Yi(e))))return;e.flags|=2;const t=e.dep,n=$e,o=$t;$e=e,$t=!0;try{Ef(e);const s=e.fn(e._value);(t.version===0||Ze(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{$e=n,$t=o,Sf(e),e.flags&=-3}}function Ya(e,t=!1){const{dep:n,prevSub:o,nextSub:s}=e;if(o&&(o.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Ya(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function tm(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let $t=!0;const Cf=[];function cn(){Cf.push($t),$t=!1}function un(){const e=Cf.pop();$t=e===void 0?!0:e}function Il(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=$e;$e=void 0;try{t()}finally{$e=n}}}let os=0;class nm{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 Or{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!$e||!$t||$e===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==$e)n=this.activeLink=new nm($e,this),$e.deps?(n.prevDep=$e.depsTail,$e.depsTail.nextDep=n,$e.depsTail=n):$e.deps=$e.depsTail=n,Tf(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=$e.depsTail,n.nextDep=void 0,$e.depsTail.nextDep=n,$e.depsTail=n,$e.deps===n&&($e.deps=o)}return n}trigger(t){this.version++,os++,this.notify(t)}notify(t){Qa();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ja()}}}function Tf(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Tf(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const nr=new WeakMap,Vn=Symbol(""),Xi=Symbol(""),ss=Symbol("");function et(e,t,n){if($t&&$e){let o=nr.get(e);o||nr.set(e,o=new Map);let s=o.get(n);s||(o.set(n,s=new Or),s.map=o,s.key=n),s.track()}}function nn(e,t,n,o,s,r){const i=nr.get(e);if(!i){os++;return}const a=l=>{l&&l.trigger()};if(Qa(),t==="clear")i.forEach(a);else{const l=ne(e),u=l&&Tr(n);if(l&&n==="length"){const c=Number(o);i.forEach((f,d)=>{(d==="length"||d===ss||!pt(d)&&d>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(ss)),t){case"add":l?u&&a(i.get("length")):(a(i.get(Vn)),uo(e)&&a(i.get(Xi)));break;case"delete":l||(a(i.get(Vn)),uo(e)&&a(i.get(Xi)));break;case"set":uo(e)&&a(i.get(Vn));break}}Ja()}function om(e,t){const n=nr.get(e);return n&&n.get(t)}function Zn(e){const t=me(e);return t===e?t:(et(t,"iterate",ss),dt(e)?t:t.map(Ot))}function Rr(e){return et(e=me(e),"iterate",ss),e}function Ht(e,t){return zt(e)?yo(xn(e)?Ot(t):t):Ot(t)}const sm={__proto__:null,[Symbol.iterator](){return ii(this,Symbol.iterator,e=>Ht(this,e))},concat(...e){return Zn(this).concat(...e.map(t=>ne(t)?Zn(t):t))},entries(){return ii(this,"entries",e=>(e[1]=Ht(this,e[1]),e))},every(e,t){return Yt(this,"every",e,t,void 0,arguments)},filter(e,t){return Yt(this,"filter",e,t,n=>n.map(o=>Ht(this,o)),arguments)},find(e,t){return Yt(this,"find",e,t,n=>Ht(this,n),arguments)},findIndex(e,t){return Yt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Yt(this,"findLast",e,t,n=>Ht(this,n),arguments)},findLastIndex(e,t){return Yt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Yt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ai(this,"includes",e)},indexOf(...e){return ai(this,"indexOf",e)},join(e){return Zn(this).join(e)},lastIndexOf(...e){return ai(this,"lastIndexOf",e)},map(e,t){return Yt(this,"map",e,t,void 0,arguments)},pop(){return Po(this,"pop")},push(...e){return Po(this,"push",e)},reduce(e,...t){return Ml(this,"reduce",e,t)},reduceRight(e,...t){return Ml(this,"reduceRight",e,t)},shift(){return Po(this,"shift")},some(e,t){return Yt(this,"some",e,t,void 0,arguments)},splice(...e){return Po(this,"splice",e)},toReversed(){return Zn(this).toReversed()},toSorted(e){return Zn(this).toSorted(e)},toSpliced(...e){return Zn(this).toSpliced(...e)},unshift(...e){return Po(this,"unshift",e)},values(){return ii(this,"values",e=>Ht(this,e))}};function ii(e,t,n){const o=Rr(e),s=o[t]();return o!==e&&!dt(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.done||(r.value=n(r.value)),r}),s}const rm=Array.prototype;function Yt(e,t,n,o,s,r){const i=Rr(e),a=i!==e&&!dt(e),l=i[t];if(l!==rm[t]){const f=l.apply(e,r);return a?Ot(f):f}let u=n;i!==e&&(a?u=function(f,d){return n.call(this,Ht(e,f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(i,u,o);return a&&s?s(c):c}function Ml(e,t,n,o){const s=Rr(e),r=s!==e&&!dt(e);let i=n,a=!1;s!==e&&(r?(a=o.length===0,i=function(u,c,f){return a&&(a=!1,u=Ht(e,u)),n.call(this,u,Ht(e,c),f,e)}):n.length>3&&(i=function(u,c,f){return n.call(this,u,c,f,e)}));const l=s[t](i,...o);return a?Ht(e,l):l}function ai(e,t,n){const o=me(e);et(o,"iterate",ss);const s=o[t](...n);return(s===-1||s===!1)&&Nr(n[0])?(n[0]=me(n[0]),o[t](...n)):s}function Po(e,t,n=[]){cn(),Qa();const o=me(e)[t].apply(e,n);return Ja(),un(),o}const im=qa("__proto__,__v_isRef,__isVue"),Af=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pt));function am(e){pt(e)||(e=String(e));const t=me(this);return et(t,"has",e),t.hasOwnProperty(e)}class $f{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return o===(s?r?Mf:If:r?Rf:Of).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=ne(t);if(!s){let l;if(i&&(l=sm[n]))return l;if(n==="hasOwnProperty")return am}const a=Reflect.get(t,n,Oe(t)?t:o);if((pt(n)?Af.has(n):im(n))||(s||et(t,"get",n),r))return a;if(Oe(a)){const l=i&&Tr(n)?a:a.value;return s&&ye(l)?or(l):l}return ye(a)?s?or(a):Et(a):a}}class kf extends $f{constructor(t=!1){super(!1,t)}set(t,n,o,s){let r=t[n];const i=ne(t)&&Tr(n);if(!this._isShallow){const u=zt(r);if(!dt(o)&&!zt(o)&&(r=me(r),o=me(o)),!i&&Oe(r)&&!Oe(o))return u||(r.value=o),!0}const a=i?Number(n)<t.length:be(t,n),l=Reflect.set(t,n,o,Oe(t)?t:s);return t===me(s)&&(a?Ze(o,r)&&nn(t,"set",n,o):nn(t,"add",n,o)),l}deleteProperty(t,n){const o=be(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&o&&nn(t,"delete",n,void 0),s}has(t,n){const o=Reflect.has(t,n);return(!pt(n)||!Af.has(n))&&et(t,"has",n),o}ownKeys(t){return et(t,"iterate",ne(t)?"length":Vn),Reflect.ownKeys(t)}}class Pf extends $f{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const lm=new kf,cm=new Pf,um=new kf(!0),fm=new Pf(!0),Zi=e=>e,Ss=e=>Reflect.getPrototypeOf(e);function dm(e,t,n){return function(...o){const s=this.__v_raw,r=me(s),i=uo(r),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...o),c=n?Zi:t?yo:Ot;return!t&&et(r,"iterate",l?Xi:Vn),je(Object.create(u),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}}})}}function xs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function pm(e,t){const n={get(s){const r=this.__v_raw,i=me(r),a=me(s);e||(Ze(s,a)&&et(i,"get",s),et(i,"get",a));const{has:l}=Ss(i),u=t?Zi:e?yo:Ot;if(l.call(i,s))return u(r.get(s));if(l.call(i,a))return u(r.get(a));r!==i&&r.get(s)},get size(){const s=this.__v_raw;return!e&&et(me(s),"iterate",Vn),s.size},has(s){const r=this.__v_raw,i=me(r),a=me(s);return e||(Ze(s,a)&&et(i,"has",s),et(i,"has",a)),s===a?r.has(s):r.has(s)||r.has(a)},forEach(s,r){const i=this,a=i.__v_raw,l=me(a),u=t?Zi:e?yo:Ot;return!e&&et(l,"iterate",Vn),a.forEach((c,f)=>s.call(r,u(c),u(f),i))}};return je(n,e?{add:xs("add"),set:xs("set"),delete:xs("delete"),clear:xs("clear")}:{add(s){const r=me(this),i=Ss(r),a=me(s),l=!t&&!dt(s)&&!zt(s)?a:s;return i.has.call(r,l)||Ze(s,l)&&i.has.call(r,s)||Ze(a,l)&&i.has.call(r,a)||(r.add(l),nn(r,"add",l,l)),this},set(s,r){!t&&!dt(r)&&!zt(r)&&(r=me(r));const i=me(this),{has:a,get:l}=Ss(i);let u=a.call(i,s);u||(s=me(s),u=a.call(i,s));const c=l.call(i,s);return i.set(s,r),u?Ze(r,c)&&nn(i,"set",s,r):nn(i,"add",s,r),this},delete(s){const r=me(this),{has:i,get:a}=Ss(r);let l=i.call(r,s);l||(s=me(s),l=i.call(r,s)),a&&a.call(r,s);const u=r.delete(s);return l&&nn(r,"delete",s,void 0),u},clear(){const s=me(this),r=s.size!==0,i=s.clear();return r&&nn(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=dm(s,e,t)}),n}function Ir(e,t){const n=pm(e,t);return(o,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(be(n,s)&&s in o?n:o,s,r)}const hm={get:Ir(!1,!1)},mm={get:Ir(!1,!0)},gm={get:Ir(!0,!1)},ym={get:Ir(!0,!0)},Of=new WeakMap,Rf=new WeakMap,If=new WeakMap,Mf=new WeakMap;function vm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bm(e){return e.__v_skip||!Object.isExtensible(e)?0:vm(Wh(e))}function Et(e){return zt(e)?e:Mr(e,!1,lm,hm,Of)}function Ft(e){return Mr(e,!1,um,mm,Rf)}function or(e){return Mr(e,!0,cm,gm,If)}function wm(e){return Mr(e,!0,fm,ym,Mf)}function Mr(e,t,n,o,s){if(!ye(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=bm(e);if(r===0)return e;const i=s.get(e);if(i)return i;const a=new Proxy(e,r===2?o:n);return s.set(e,a),a}function xn(e){return zt(e)?xn(e.__v_raw):!!(e&&e.__v_isReactive)}function zt(e){return!!(e&&e.__v_isReadonly)}function dt(e){return!!(e&&e.__v_isShallow)}function Nr(e){return e?!!e.__v_raw:!1}function me(e){const t=e&&e.__v_raw;return t?me(t):e}function _m(e){return!be(e,"__v_skip")&&Object.isExtensible(e)&&pf(e,"__v_skip",!0),e}const Ot=e=>ye(e)?Et(e):e,yo=e=>ye(e)?or(e):e;function Oe(e){return e?e.__v_isRef===!0:!1}function z(e){return Nf(e,!1)}function Ye(e){return Nf(e,!0)}function Nf(e,t){return Oe(e)?e:new Em(e,t)}class Em{constructor(t,n){this.dep=new Or,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:me(t),this._value=n?t:Ot(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||dt(t)||zt(t);t=o?t:me(t),Ze(t,n)&&(this._rawValue=t,this._value=o?t:Ot(t),this.dep.trigger())}}function Sm(e){e.dep&&e.dep.trigger()}function R(e){return Oe(e)?e.value:e}function Se(e){return re(e)?e():R(e)}const xm={get:(e,t,n)=>t==="__v_raw"?e:R(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return Oe(s)&&!Oe(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function Df(e){return xn(e)?e:new Proxy(e,xm)}class Cm{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Or,{get:o,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Lf(e){return new Cm(e)}function jf(e){const t=ne(e)?new Array(e.length):{};for(const n in e)t[n]=Ff(e,n);return t}class Tm{constructor(t,n,o){this._object=t,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0,this._key=pt(n)?n:String(n),this._raw=me(t);let s=!0,r=t;if(!ne(t)||pt(this._key)||!Tr(this._key))do s=!Nr(r)||dt(r);while(s&&(r=r.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=R(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Oe(this._raw[this._key])){const n=this._object[this._key];if(Oe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return om(this._raw,this._key)}}class Am{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Hf(e,t,n){return Oe(e)?e:re(e)?new Am(e):ye(e)&&arguments.length>1?Ff(e,t,n):z(e)}function Ff(e,t,n){return new Tm(e,t,n)}class $m{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Or(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=os-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&$e!==this)return _f(this,!0),!0}get value(){const t=this.dep.track();return xf(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function km(e,t,n=!1){let o,s;return re(e)?o=e:(o=e.get,s=e.set),new $m(o,s,n)}const Cs={},sr=new WeakMap;let Hn;function Pm(e,t=!1,n=Hn){if(n){let o=sr.get(n);o||sr.set(n,o=[]),o.push(e)}}function Om(e,t,n=ge){const{immediate:o,deep:s,once:r,scheduler:i,augmentJob:a,call:l}=n,u=v=>s?v:dt(v)||s===!1||s===0?on(v,1):on(v);let c,f,d,p,m=!1,h=!1;if(Oe(e)?(f=()=>e.value,m=dt(e)):xn(e)?(f=()=>u(e),m=!0):ne(e)?(h=!0,m=e.some(v=>xn(v)||dt(v)),f=()=>e.map(v=>{if(Oe(v))return v.value;if(xn(v))return u(v);if(re(v))return l?l(v,2):v()})):re(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){cn();try{d()}finally{un()}}const v=Hn;Hn=c;try{return l?l(e,3,[p]):e(p)}finally{Hn=v}}:f=Bt,t&&s){const v=f,_=s===!0?1/0:s;f=()=>on(v(),_)}const b=Pr(),w=()=>{c.stop(),b&&b.active&&Wa(b.effects,c)};if(r&&t){const v=t;t=(..._)=>{v(..._),w()}}let g=h?new Array(e.length).fill(Cs):Cs;const y=v=>{if(!(!(c.flags&1)||!c.dirty&&!v))if(t){const _=c.run();if(s||m||(h?_.some((C,x)=>Ze(C,g[x])):Ze(_,g))){d&&d();const C=Hn;Hn=c;try{const x=[_,g===Cs?void 0:h&&g[0]===Cs?[]:g,p];g=_,l?l(t,3,x):t(...x)}finally{Hn=C}}}else c.run()};return a&&a(y),c=new bf(f),c.scheduler=i?()=>i(y,!1):y,p=v=>Pm(v,!1,c),d=c.onStop=()=>{const v=sr.get(c);if(v){if(l)l(v,4);else for(const _ of v)_();sr.delete(c)}},t?o?y(!0):g=c.run():i?i(y.bind(null,!0),!0):c.run(),w.pause=c.pause.bind(c),w.resume=c.resume.bind(c),w.stop=w,w}function on(e,t=1/0,n){if(t<=0||!ye(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Oe(e))on(e.value,t,n);else if(ne(e))for(let o=0;o<e.length;o++)on(e[o],t,n);else if(cf(e)||uo(e))e.forEach(o=>{on(o,t,n)});else if(df(e)){for(const o in e)on(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&on(e[o],t,n)}return e}function gs(e,t,n,o){try{return o?e(...o):e()}catch(s){To(s,t,n)}}function Rt(e,t,n,o){if(re(e)){const s=gs(e,t,n,o);return s&&uf(s)&&s.catch(r=>{To(r,t,n)}),s}if(ne(e)){const s=[];for(let r=0;r<e.length;r++)s.push(Rt(e[r],t,n,o));return s}}function To(e,t,n,o=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ge;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(r){cn(),gs(r,null,10,[e,l,u]),un();return}}Rm(e,n,s,o,i)}function Rm(e,t,n,o=!0,s=!1){if(s)throw e;console.error(e)}const st=[];let Dt=-1;const po=[];let wn=null,so=0;const Bf=Promise.resolve();let rr=null;function Xe(e){const t=rr||Bf;return e?t.then(this?e.bind(this):e):t}function Im(e){let t=Dt+1,n=st.length;for(;t<n;){const o=t+n>>>1,s=st[o],r=rs(s);r<e||r===e&&s.flags&2?t=o+1:n=o}return t}function Xa(e){if(!(e.flags&1)){const t=rs(e),n=st[st.length-1];!n||!(e.flags&2)&&t>=rs(n)?st.push(e):st.splice(Im(t),0,e),e.flags|=1,Uf()}}function Uf(){rr||(rr=Bf.then(qf))}function ea(e){ne(e)?po.push(...e):wn&&e.id===-1?wn.splice(so+1,0,e):e.flags&1||(po.push(e),e.flags|=1),Uf()}function Nl(e,t,n=Dt+1){for(;n<st.length;n++){const o=st[n];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;st.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function ir(e){if(po.length){const t=[...new Set(po)].sort((n,o)=>rs(n)-rs(o));if(po.length=0,wn){wn.push(...t);return}for(wn=t,so=0;so<wn.length;so++){const n=wn[so];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}wn=null,so=0}}const rs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function qf(e){try{for(Dt=0;Dt<st.length;Dt++){const t=st[Dt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),gs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Dt<st.length;Dt++){const t=st[Dt];t&&(t.flags&=-2)}Dt=-1,st.length=0,ir(),rr=null,(st.length||po.length)&&qf()}}let Ge=null,Dr=null;function ar(e){const t=Ge;return Ge=e,Dr=e&&e.type.__scopeId||null,t}function Mm(e){Dr=e}function Nm(){Dr=null}const Dm=e=>le;function le(e,t=Ge,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&pr(-1);const r=ar(t);let i;try{i=e(...s)}finally{ar(r),o._d&&pr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Wf(e,t){if(Ge===null)return e;const n=qr(Ge),o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[r,i,a,l=ge]=t[s];r&&(re(r)&&(r={mounted:r,updated:r}),r.deep&&on(i),o.push({dir:r,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Lt(e,t,n,o){const s=e.dirs,r=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];r&&(a.oldValue=r[i].value);let l=a.dir[o];l&&(cn(),Rt(l,n,8,[e.el,a,e,t]),un())}}function zn(e,t){if(Ke){let n=Ke.provides;const o=Ke.parent&&Ke.parent.provides;o===n&&(n=Ke.provides=Object.create(o)),n[e]=t}}function tt(e,t,n=!1){const o=We();if(o||Kn){let s=Kn?Kn._context.provides:o?o.parent==null||o.ce?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&re(t)?t.call(o&&o.proxy):t}}function Ao(){return!!(We()||Kn)}const Lm=Symbol.for("v-scx"),jm=()=>tt(Lm);function $n(e,t){return Lr(e,null,t)}function Hm(e,t){return Lr(e,null,{flush:"sync"})}function Re(e,t,n){return Lr(e,t,n)}function Lr(e,t,n=ge){const{immediate:o,deep:s,flush:r,once:i}=n,a=je({},n),l=t&&o||!t&&r!=="post";let u;if(wo){if(r==="sync"){const p=jm();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Bt,p.resume=Bt,p.pause=Bt,p}}const c=Ke;a.call=(p,m,h)=>Rt(p,c,m,h);let f=!1;r==="post"?a.scheduler=p=>{Le(p,c&&c.suspense)}:r!=="sync"&&(f=!0,a.scheduler=(p,m)=>{m?p():Xa(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const d=Om(e,t,a);return wo&&(u?u.push(d):l&&d()),d}function Fm(e,t,n){const o=this.proxy,s=Te(e)?e.includes(".")?Vf(o,e):()=>o[e]:e.bind(o,o);let r;re(t)?r=t:(r=t.handler,n=t);const i=vs(this),a=Lr(s,r.bind(o),n);return i(),a}function Vf(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s<n.length&&o;s++)o=o[n[s]];return o}}const gn=new WeakMap,zf=Symbol("_vte"),Kf=e=>e.__isTeleport,Un=e=>e&&(e.disabled||e.disabled===""),Bm=e=>e&&(e.defer||e.defer===""),Dl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ll=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ta=(e,t)=>{const n=e&&e.to;return Te(n)?t?t(n):null:n},Um={name:"Teleport",__isTeleport:!0,process(e,t,n,o,s,r,i,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:p,querySelector:m,createText:h,createComment:b,parentNode:w}}=u,g=Un(t.props);let{dynamicChildren:y}=t;const v=(x,T,A)=>{x.shapeFlag&16&&c(x.children,T,A,s,r,i,a,l)},_=(x=t)=>{const T=Un(x.props),A=x.target=ta(x.props,m),P=na(A,x,h,p);A&&(i!=="svg"&&Dl(A)?i="svg":i!=="mathml"&&Ll(A)&&(i="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(A),T||(v(x,A,P),Bo(x,!1)))},C=x=>{const T=()=>{if(gn.get(x)===T){if(gn.delete(x),Un(x.props)){const A=w(x.el)||n;v(x,A,x.anchor),Bo(x,!0)}_(x)}};gn.set(x,T),Le(T,r)};if(e==null){const x=t.el=h(""),T=t.anchor=h("");if(p(x,n,o),p(T,n,o),Bm(t.props)||r&&r.pendingBranch){C(t);return}g&&(v(t,n,T),Bo(t,!0)),_()}else{t.el=e.el;const x=t.anchor=e.anchor,T=gn.get(e);if(T){T.flags|=8,gn.delete(e),C(t);return}t.targetStart=e.targetStart;const A=t.target=e.target,P=t.targetAnchor=e.targetAnchor,F=Un(e.props),O=F?n:A,U=F?x:P;if(i==="svg"||Dl(A)?i="svg":(i==="mathml"||Ll(A))&&(i="mathml"),y?(d(e.dynamicChildren,y,O,s,r,i,a),rl(e,t,!0)):l||f(e,t,O,U,s,r,i,a,!1),g)F?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ts(t,n,x,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const k=t.target=ta(t.props,m);k&&Ts(t,k,null,u,0)}else F&&Ts(t,A,P,u,1);Bo(t,g)}},remove(e,t,n,{um:o,o:{remove:s}},r){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;let p=r||!Un(d);const m=gn.get(e);if(m&&(m.flags|=8,gn.delete(e),p=!1),f&&(s(u),s(c)),r&&s(l),i&16)for(let h=0;h<a.length;h++){const b=a[h];o(b,t,n,p,!!b.dynamicChildren)}},move:Ts,hydrate:qm};function Ts(e,t,n,{o:{insert:o},m:s},r=2){r===0&&o(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:c}=e,f=r===2;if(f&&o(i,t,n),!gn.has(e)&&(!f||Un(c))&&l&16)for(let d=0;d<u.length;d++)s(u[d],t,n,2);f&&o(a,t,n)}function qm(e,t,n,o,s,r,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:c}},f){function d(b,w){let g=w;for(;g;){if(g&&g.nodeType===8){if(g.data==="teleport start anchor")t.targetStart=g;else if(g.data==="teleport anchor"){t.targetAnchor=g,b._lpa=t.targetAnchor&&i(t.targetAnchor);break}}g=i(g)}}function p(b,w){w.anchor=f(i(b),w,a(b),n,o,s,r)}const m=t.target=ta(t.props,l),h=Un(t.props);if(m){const b=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),d(m,b),t.targetAnchor||na(m,t,c,u,a(e)===m?e:null)):(t.anchor=i(e),d(m,b),t.targetAnchor||na(m,t,c,u),f(b&&i(b),t,m,n,o,s,r))),Bo(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const Wm=Um;function Bo(e,t){const n=e.ctx;if(n&&n.ut){let o,s;for(t?(o=e.el,s=e.anchor):(o=e.targetStart,s=e.targetAnchor);o&&o!==s;)o.nodeType===1&&o.setAttribute("data-v-owner",n.uid),o=o.nextSibling;n.ut()}}function na(e,t,n,o,s=null){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[zf]=i,e&&(o(r,e,s),o(i,e,s)),i}const jt=Symbol("_leaveCb"),Oo=Symbol("_enterCb");function Vm(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Pn(()=>{e.isMounted=!0}),$o(()=>{e.isUnmounting=!0}),e}const yt=[Function,Array],Gf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yt,onEnter:yt,onAfterEnter:yt,onEnterCancelled:yt,onBeforeLeave:yt,onLeave:yt,onAfterLeave:yt,onLeaveCancelled:yt,onBeforeAppear:yt,onAppear:yt,onAfterAppear:yt,onAppearCancelled:yt},Qf=e=>{const t=e.subTree;return t.component?Qf(t.component):t},zm={name:"BaseTransition",props:Gf,setup(e,{slots:t}){const n=We(),o=Vm();return()=>{const s=t.default&&Xf(t.default(),!0),r=s&&s.length?Jf(s):n.subTree?Me():void 0;if(!r)return;const i=me(e),{mode:a}=i;if(o.isLeaving)return li(r);const l=jl(r);if(!l)return li(r);let u=oa(l,i,o,n,f=>u=f);l.type!==Ne&&vo(l,u);let c=n.subTree&&jl(n.subTree);if(c&&c.type!==Ne&&!Ct(c,l)&&Qf(n).type!==Ne){let f=oa(c,i,o,n);if(vo(c,f),a==="out-in"&&l.type!==Ne)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},li(r);a==="in-out"&&l.type!==Ne?f.delayLeave=(d,p,m)=>{const h=Yf(o,c);h[String(c.key)]=c,d[jt]=()=>{p(),d[jt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{m(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return r}}};function Jf(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ne){t=n;break}}return t}const Km=zm;function Yf(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function oa(e,t,n,o,s){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:b,onAppear:w,onAfterAppear:g,onAppearCancelled:y}=t,v=String(e.key),_=Yf(n,e),C=(A,P)=>{A&&Rt(A,o,9,P)},x=(A,P)=>{const F=P[1];C(A,P),ne(A)?A.every(O=>O.length<=1)&&F():A.length<=1&&F()},T={mode:i,persisted:a,beforeEnter(A){let P=l;if(!n.isMounted)if(r)P=b||l;else return;A[jt]&&A[jt](!0);const F=_[v];F&&Ct(e,F)&&F.el[jt]&&F.el[jt](),C(P,[A])},enter(A){if(_[v]===e)return;let P=u,F=c,O=f;if(!n.isMounted)if(r)P=w||u,F=g||c,O=y||f;else return;let U=!1;A[Oo]=W=>{U||(U=!0,W?C(O,[A]):C(F,[A]),T.delayedLeave&&T.delayedLeave(),A[Oo]=void 0)};const k=A[Oo].bind(null,!1);P?x(P,[A,k]):k()},leave(A,P){const F=String(e.key);if(A[Oo]&&A[Oo](!0),n.isUnmounting)return P();C(d,[A]);let O=!1;A[jt]=k=>{O||(O=!0,P(),k?C(h,[A]):C(m,[A]),A[jt]=void 0,_[F]===e&&delete _[F])};const U=A[jt].bind(null,!1);_[F]=e,p?x(p,[A,U]):U()},clone(A){const P=oa(A,t,n,o,s);return s&&s(P),P}};return T}function li(e){if(ys(e))return e=Kt(e),e.children=null,e}function jl(e){if(!ys(e))return Kf(e.type)&&e.children?Jf(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&re(n.default))return n.default()}}function vo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,vo(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 Xf(e,t=!1,n){let o=[],s=0;for(let r=0;r<e.length;r++){let i=e[r];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===_e?(i.patchFlag&128&&s++,o=o.concat(Xf(i.children,t,a))):(t||i.type!==Ne)&&o.push(a!=null?Kt(i,{key:a}):i)}if(s>1)for(let r=0;r<o.length;r++)o[r].patchFlag=-2;return o}function de(e,t){return re(e)?je({name:e.name},t,{setup:e}):e}function Gm(){const e=We();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Za(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Hl(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const lr=new WeakMap;function ho(e,t,n,o,s=!1){if(ne(e)){e.forEach((h,b)=>ho(h,t&&(ne(t)?t[b]:t),n,o,s));return}if(an(o)&&!s){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&ho(e,t,n,o.component.subTree);return}const r=o.shapeFlag&4?qr(o.component):o.el,i=s?null:r,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ge?a.refs={}:a.refs,f=a.setupState,d=me(f),p=f===ge?lf:h=>Hl(c,h)?!1:be(d,h),m=(h,b)=>!(b&&Hl(c,b));if(u!=null&&u!==l){if(Fl(t),Te(u))c[u]=null,p(u)&&(f[u]=null);else if(Oe(u)){const h=t;m(u,h.k)&&(u.value=null),h.k&&(c[h.k]=null)}}if(re(l))gs(l,a,12,[i,c]);else{const h=Te(l),b=Oe(l);if(h||b){const w=()=>{if(e.f){const g=h?p(l)?f[l]:c[l]:m()||!e.k?l.value:c[e.k];if(s)ne(g)&&Wa(g,r);else if(ne(g))g.includes(r)||g.push(r);else if(h)c[l]=[r],p(l)&&(f[l]=c[l]);else{const y=[r];m(l,e.k)&&(l.value=y),e.k&&(c[e.k]=y)}}else h?(c[l]=i,p(l)&&(f[l]=i)):b&&(m(l,e.k)&&(l.value=i),e.k&&(c[e.k]=i))};if(i){const g=()=>{w(),lr.delete(e)};g.id=-1,lr.set(e,g),Le(g,n)}else Fl(e),w()}}}function Fl(e){const t=lr.get(e);t&&(t.flags|=8,lr.delete(e))}let Bl=!1;const eo=()=>{Bl||(console.error("Hydration completed but contains mismatches."),Bl=!0)},Qm=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Jm=e=>e.namespaceURI.includes("MathML"),As=e=>{if(e.nodeType===1){if(Qm(e))return"svg";if(Jm(e))return"mathml"}},ao=e=>e.nodeType===8;function Ym(e){const{mt:t,p:n,o:{patchProp:o,createText:s,nextSibling:r,parentNode:i,remove:a,insert:l,createComment:u}}=e,c=(y,v)=>{if(!v.hasChildNodes()){n(null,y,v),ir(),v._vnode=y;return}f(v.firstChild,y,null,null,null),ir(),v._vnode=y},f=(y,v,_,C,x,T=!1)=>{T=T||!!v.dynamicChildren;const A=ao(y)&&y.data==="[",P=()=>h(y,v,_,C,x,A),{type:F,ref:O,shapeFlag:U,patchFlag:k}=v;let W=y.nodeType;v.el=y,k===-2&&(T=!1,v.dynamicChildren=null);let B=null;switch(F){case Gn:W!==3?v.children===""?(l(v.el=s(""),i(y),y),B=y):B=P():(y.data!==v.children&&(eo(),y.data=v.children),B=r(y));break;case Ne:g(y)?(B=r(y),w(v.el=y.content.firstChild,y,_)):W!==8||A?B=P():B=r(y);break;case Js:if(A&&(y=r(y),W=y.nodeType),W===1||W===3){B=y;const Y=!v.children.length;for(let V=0;V<v.staticCount;V++)Y&&(v.children+=B.nodeType===1?B.outerHTML:B.data),V===v.staticCount-1&&(v.anchor=B),B=r(B);return A?r(B):B}else P();break;case _e:A?B=m(y,v,_,C,x,T):B=P();break;default:if(U&1)(W!==1||v.type.toLowerCase()!==y.tagName.toLowerCase())&&!g(y)?B=P():B=d(y,v,_,C,x,T);else if(U&6){v.slotScopeIds=x;const Y=i(y);if(A?B=b(y):ao(y)&&y.data==="teleport start"?B=b(y,y.data,"teleport end"):B=r(y),t(v,Y,null,_,C,As(Y),T),an(v)&&!v.type.__asyncResolved){let V;A?(V=ce(_e),V.anchor=B?B.previousSibling:Y.lastChild):V=y.nodeType===3?wt(""):ce("div"),V.el=y,v.component.subTree=V}}else U&64?W!==8?B=P():B=v.type.hydrate(y,v,_,C,x,T,e,p):U&128&&(B=v.type.hydrate(y,v,_,C,As(i(y)),x,T,e,f))}return O!=null&&ho(O,null,C,v),B},d=(y,v,_,C,x,T)=>{T=T||!!v.dynamicChildren;const{type:A,props:P,patchFlag:F,shapeFlag:O,dirs:U,transition:k}=v,W=A==="input"||A==="option";if(W||F!==-1){U&&Lt(v,null,_,"created");let B=!1;if(g(y)){B=_d(null,k)&&_&&_.vnode.props&&_.vnode.props.appear;const V=y.content.firstChild;if(B){const ie=V.getAttribute("class");ie&&(V.$cls=ie),k.beforeEnter(V)}w(V,y,_),v.el=y=V}if(O&16&&!(P&&(P.innerHTML||P.textContent))){let V=p(y.firstChild,v,y,_,C,x,T);for(;V;){$s(y,1)||eo();const ie=V;V=V.nextSibling,a(ie)}}else if(O&8){let V=v.children;V[0]===`
3
- `&&(y.tagName==="PRE"||y.tagName==="TEXTAREA")&&(V=V.slice(1));const{textContent:ie}=y;ie!==V&&ie!==V.replace(/\r\n|\r/g,`
4
- `)&&($s(y,0)||eo(),y.textContent=v.children)}if(P){if(W||!T||F&48){const V=y.tagName.includes("-");for(const ie in P)(W&&(ie.endsWith("value")||ie==="indeterminate")||ms(ie)&&!Wn(ie)||ie[0]==="."||V&&!Wn(ie))&&o(y,ie,null,P[ie],void 0,_)}else if(P.onClick)o(y,"onClick",null,P.onClick,void 0,_);else if(F&4&&xn(P.style))for(const V in P.style)P.style[V]}let Y;(Y=P&&P.onVnodeBeforeMount)&&it(Y,_,v),U&&Lt(v,null,_,"beforeMount"),((Y=P&&P.onVnodeMounted)||U||B)&&Td(()=>{Y&&it(Y,_,v),B&&k.enter(y),U&&Lt(v,null,_,"mounted")},C)}return y.nextSibling},p=(y,v,_,C,x,T,A)=>{A=A||!!v.dynamicChildren;const P=v.children,F=P.length;for(let O=0;O<F;O++){const U=A?P[O]:P[O]=ft(P[O]),k=U.type===Gn;y?(k&&!A&&O+1<F&&ft(P[O+1]).type===Gn&&(l(s(y.data.slice(U.children.length)),_,r(y)),y.data=U.children),y=f(y,U,C,x,T,A)):k&&!U.children?l(U.el=s(""),_):($s(_,1)||eo(),n(null,U,_,null,C,x,As(_),T))}return y},m=(y,v,_,C,x,T)=>{const{slotScopeIds:A}=v;A&&(x=x?x.concat(A):A);const P=i(y),F=p(r(y),v,P,_,C,x,T);return F&&ao(F)&&F.data==="]"?r(v.anchor=F):(eo(),l(v.anchor=u("]"),P,F),F)},h=(y,v,_,C,x,T)=>{if($s(y.parentElement,1)||eo(),v.el=null,T){const F=b(y);for(;;){const O=r(y);if(O&&O!==F)a(O);else break}}const A=r(y),P=i(y);return a(y),n(null,v,P,A,_,C,As(P),x),_&&(_.vnode.el=v.el,Br(_,v.el)),A},b=(y,v="[",_="]")=>{let C=0;for(;y;)if(y=r(y),y&&ao(y)&&(y.data===v&&C++,y.data===_)){if(C===0)return r(y);C--}return y},w=(y,v,_)=>{const C=v.parentNode;C&&C.replaceChild(y,v);let x=_;for(;x;)x.vnode.el===v&&(x.vnode.el=x.subTree.el=y),x=x.parent},g=y=>y.nodeType===1&&y.tagName==="TEMPLATE";return[c,f]}const Ul="data-allow-mismatch",Xm={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function $s(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ul);)e=e.parentElement;const n=e&&e.getAttribute(Ul);if(n==null)return!1;if(n==="")return!0;{const o=n.split(",");return t===0&&o.includes("children")?!0:o.includes(Xm[t])}}kr().requestIdleCallback;kr().cancelIdleCallback;function Zm(e,t){if(ao(e)&&e.data==="["){let n=1,o=e.nextSibling;for(;o;){if(o.nodeType===1){if(t(o)===!1)break}else if(ao(o))if(o.data==="]"){if(--n===0)break}else o.data==="["&&n++;o=o.nextSibling}}else t(e)}const an=e=>!!e.type.__asyncLoader;function ql(e){re(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:s=200,hydrate:r,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const d=()=>(f++,u=null,p()),p=()=>{let m;return u||(m=u=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),l)return new Promise((b,w)=>{l(h,()=>b(d()),()=>w(h),f+1)});throw h}).then(h=>m!==u&&u?u:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return de({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(m,h,b){let w=!1;(h.bu||(h.bu=[])).push(()=>w=!0);const g=()=>{w||b()},y=r?()=>{const v=r(g,_=>Zm(m,_));v&&(h.bum||(h.bum=[])).push(v)}:g;c?y():p().then(()=>!h.isUnmounted&&y())},get __asyncResolved(){return c},setup(){const m=Ke;if(Za(m),c)return()=>ks(c,m);const h=y=>{u=null,To(y,m,13,!o)};if(a&&m.suspense||wo)return p().then(y=>()=>ks(y,m)).catch(y=>(h(y),()=>o?ce(o,{error:y}):null));const b=z(!1),w=z(),g=z(!!s);return s&&setTimeout(()=>{g.value=!1},s),i!=null&&setTimeout(()=>{if(!b.value&&!w.value){const y=new Error(`Async component timed out after ${i}ms.`);h(y),w.value=y}},i),p().then(()=>{b.value=!0,m.parent&&ys(m.parent.vnode)&&m.parent.update()}).catch(y=>{h(y),w.value=y}),()=>{if(b.value&&c)return ks(c,m);if(w.value&&o)return ce(o,{error:w.value});if(n&&!g.value)return ks(n,m)}}})}function ks(e,t){const{ref:n,props:o,children:s,ce:r}=t.vnode,i=ce(e,o,s);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const ys=e=>e.type.__isKeepAlive,eg={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=We(),o=n.ctx;if(!o.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const s=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=o,d=f("div");o.activate=(g,y,v,_,C)=>{const x=g.component;u(g,y,v,0,a),l(x.vnode,g,y,v,x,a,_,g.slotScopeIds,C),Le(()=>{x.isDeactivated=!1,x.a&&fo(x.a);const T=g.props&&g.props.onVnodeMounted;T&&it(T,x.parent,g)},a)},o.deactivate=g=>{const y=g.component;fr(y.m),fr(y.a),u(g,d,null,1,a),Le(()=>{y.da&&fo(y.da);const v=g.props&&g.props.onVnodeUnmounted;v&&it(v,y.parent,g),y.isDeactivated=!0},a)};function p(g){ci(g),c(g,n,a,!0)}function m(g){s.forEach((y,v)=>{const _=pa(an(y)?y.type.__asyncResolved||{}:y.type);_&&!g(_)&&h(v)})}function h(g){const y=s.get(g);y&&(!i||!Ct(y,i))?p(y):i&&ci(i),s.delete(g),r.delete(g)}Re(()=>[e.include,e.exclude],([g,y])=>{g&&m(v=>Uo(g,v)),y&&m(v=>!Uo(y,v))},{flush:"post",deep:!0});let b=null;const w=()=>{b!=null&&(dr(n.subTree.type)?Le(()=>{s.set(b,Ps(n.subTree))},n.subTree.suspense):s.set(b,Ps(n.subTree)))};return Pn(w),el(w),$o(()=>{s.forEach(g=>{const{subTree:y,suspense:v}=n,_=Ps(y);if(g.type===_.type&&g.key===_.key){ci(_);const C=_.component.da;C&&Le(C,v);return}p(g)})}),()=>{if(b=null,!t.default)return i=null;const g=t.default(),y=g[0];if(g.length>1)return i=null,g;if(!Jn(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let v=Ps(y);if(v.type===Ne)return i=null,v;const _=v.type,C=pa(an(v)?v.type.__asyncResolved||{}:_),{include:x,exclude:T,max:A}=e;if(x&&(!C||!Uo(x,C))||T&&C&&Uo(T,C))return v.shapeFlag&=-257,i=v,y;const P=v.key==null?_:v.key,F=s.get(P);return v.el&&(v=Kt(v),y.shapeFlag&128&&(y.ssContent=v)),b=P,F?(v.el=F.el,v.component=F.component,v.transition&&vo(v,v.transition),v.shapeFlag|=512,r.delete(P),r.add(P)):(r.add(P),A&&r.size>parseInt(A,10)&&h(r.values().next().value)),v.shapeFlag|=256,i=v,dr(y.type)?y:v}}},tg=eg;function Uo(e,t){return ne(e)?e.some(n=>Uo(n,t)):Te(e)?e.split(",").includes(t):qh(e)?(e.lastIndex=0,e.test(t)):!1}function Zf(e,t){td(e,"a",t)}function ed(e,t){td(e,"da",t)}function td(e,t,n=Ke){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(jr(t,o,n),n){let s=n.parent;for(;s&&s.parent;)ys(s.parent.vnode)&&ng(o,t,n,s),s=s.parent}}function ng(e,t,n,o){const s=jr(t,e,o,!0);Hr(()=>{Wa(o[t],s)},n)}function ci(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ps(e){return e.shapeFlag&128?e.ssContent:e}function jr(e,t,n=Ke,o=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{cn();const a=vs(n),l=Rt(t,n,e,i);return a(),un(),l});return o?s.unshift(r):s.push(r),r}}const dn=e=>(t,n=Ke)=>{(!wo||e==="sp")&&jr(e,(...o)=>t(...o),n)},og=dn("bm"),Pn=dn("m"),sg=dn("bu"),el=dn("u"),$o=dn("bum"),Hr=dn("um"),rg=dn("sp"),ig=dn("rtg"),ag=dn("rtc");function nd(e,t=Ke){jr("ec",e,t)}const tl="components",lg="directives";function is(e,t){return nl(tl,e,!0,t)||e}const od=Symbol.for("v-ndc");function sa(e){return Te(e)?nl(tl,e,!1)||e:e||od}function $A(e){return nl(lg,e)}function nl(e,t,n=!0,o=!1){const s=Ge||Ke;if(s){const r=s.type;if(e===tl){const a=pa(r,!1);if(a&&(a===t||a===Je(t)||a===$r(Je(t))))return r}const i=Wl(s[e]||r[e],t)||Wl(s.appContext[e],t);return!i&&o?r:i}}function Wl(e,t){return e&&(e[t]||e[Je(t)]||e[$r(Je(t))])}function qt(e,t,n,o){let s;const r=n,i=ne(e);if(i||Te(e)){const a=i&&xn(e);let l=!1,u=!1;a&&(l=!dt(e),u=zt(e),e=Rr(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(l?u?yo(Ot(e[c])):Ot(e[c]):e[c],c,void 0,r)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,r)}else if(ye(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,r));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];s[l]=t(e[c],c,l,r)}}else s=[];return s}function we(e,t,n={},o,s){if(Ge.ce||Ge.parent&&an(Ge.parent)&&Ge.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),D(),ue(_e,null,[ce("slot",n,o&&o())],u?-2:64)}let r=e[t];r&&r._c&&(r._d=!1),D();const i=r&&sd(r(n)),a=n.key||i&&i.key,l=ue(_e,{key:(a&&!pt(a)?a:`_${t}`)+(!i&&o?"_fb":"")},i||(o?o():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function sd(e){return e.some(t=>Jn(t)?!(t.type===Ne||t.type===_e&&!sd(t.children)):!0)?e:null}const ra=e=>e?Pd(e)?qr(e):ra(e.parent):null,Ko=je(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=>ra(e.parent),$root:e=>ra(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>id(e),$forceUpdate:e=>e.f||(e.f=()=>{Xa(e.update)}),$nextTick:e=>e.n||(e.n=Xe.bind(e.proxy)),$watch:e=>Fm.bind(e)}),ui=(e,t)=>e!==ge&&!e.__isScriptSetup&&be(e,t),cg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:r,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(ui(o,t))return i[t]=1,o[t];if(s!==ge&&be(s,t))return i[t]=2,s[t];if(be(r,t))return i[t]=3,r[t];if(n!==ge&&be(n,t))return i[t]=4,n[t];ia&&(i[t]=0)}}const u=Ko[t];let c,f;if(u)return t==="$attrs"&&et(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==ge&&be(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,be(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:s,ctx:r}=e;return ui(s,t)?(s[t]=n,!0):o!==ge&&be(o,t)?(o[t]=n,!0):be(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,props:r,type:i}},a){let l;return!!(n[a]||e!==ge&&a[0]!=="$"&&be(e,a)||ui(t,a)||be(r,a)||be(o,a)||be(Ko,a)||be(s.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:be(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function kA(){return ug().slots}function ug(e){const t=We();return t.setupContext||(t.setupContext=Rd(t))}function cr(e){return ne(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function fg(e,t){return!e||!t?e||t:ne(e)&&ne(t)?e.concat(t):je({},cr(e),cr(t))}let ia=!0;function dg(e){const t=id(e),n=e.proxy,o=e.ctx;ia=!1,t.beforeCreate&&Vl(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:p,updated:m,activated:h,deactivated:b,beforeDestroy:w,beforeUnmount:g,destroyed:y,unmounted:v,render:_,renderTracked:C,renderTriggered:x,errorCaptured:T,serverPrefetch:A,expose:P,inheritAttrs:F,components:O,directives:U,filters:k}=t;if(u&&pg(u,o,null),i)for(const Y in i){const V=i[Y];re(V)&&(o[Y]=V.bind(n))}if(s){const Y=s.call(n,n);ye(Y)&&(e.data=Et(Y))}if(ia=!0,r)for(const Y in r){const V=r[Y],ie=re(V)?V.bind(n,n):re(V.get)?V.get.bind(n,n):Bt,lt=!re(V)&&re(V.set)?V.set.bind(n):Bt,mt=q({get:ie,set:lt});Object.defineProperty(o,Y,{enumerable:!0,configurable:!0,get:()=>mt.value,set:Ve=>mt.value=Ve})}if(a)for(const Y in a)rd(a[Y],o,n,Y);if(l){const Y=re(l)?l.call(n):l;Reflect.ownKeys(Y).forEach(V=>{zn(V,Y[V])})}c&&Vl(c,e,"c");function B(Y,V){ne(V)?V.forEach(ie=>Y(ie.bind(n))):V&&Y(V.bind(n))}if(B(og,f),B(Pn,d),B(sg,p),B(el,m),B(Zf,h),B(ed,b),B(nd,T),B(ag,C),B(ig,x),B($o,g),B(Hr,v),B(rg,A),ne(P))if(P.length){const Y=e.exposed||(e.exposed={});P.forEach(V=>{Object.defineProperty(Y,V,{get:()=>n[V],set:ie=>n[V]=ie,enumerable:!0})})}else e.exposed||(e.exposed={});_&&e.render===Bt&&(e.render=_),F!=null&&(e.inheritAttrs=F),O&&(e.components=O),U&&(e.directives=U),A&&Za(e)}function pg(e,t,n=Bt){ne(e)&&(e=aa(e));for(const o in e){const s=e[o];let r;ye(s)?"default"in s?r=tt(s.from||o,s.default,!0):r=tt(s.from||o):r=tt(s),Oe(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[o]=r}}function Vl(e,t,n){Rt(ne(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function rd(e,t,n,o){let s=o.includes(".")?Vf(n,o):()=>n[o];if(Te(e)){const r=t[e];re(r)&&Re(s,r)}else if(re(e))Re(s,e.bind(n));else if(ye(e))if(ne(e))e.forEach(r=>rd(r,t,n,o));else{const r=re(e.handler)?e.handler.bind(n):t[e.handler];re(r)&&Re(s,r,e)}}function id(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let l;return a?l=a:!s.length&&!n&&!o?l=t:(l={},s.length&&s.forEach(u=>ur(l,u,i,!0)),ur(l,t,i)),ye(t)&&r.set(t,l),l}function ur(e,t,n,o=!1){const{mixins:s,extends:r}=t;r&&ur(e,r,n,!0),s&&s.forEach(i=>ur(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const a=hg[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const hg={data:zl,props:Kl,emits:Kl,methods:qo,computed:qo,beforeCreate:nt,created:nt,beforeMount:nt,mounted:nt,beforeUpdate:nt,updated:nt,beforeDestroy:nt,beforeUnmount:nt,destroyed:nt,unmounted:nt,activated:nt,deactivated:nt,errorCaptured:nt,serverPrefetch:nt,components:qo,directives:qo,watch:gg,provide:zl,inject:mg};function zl(e,t){return t?e?function(){return je(re(e)?e.call(this,this):e,re(t)?t.call(this,this):t)}:t:e}function mg(e,t){return qo(aa(e),aa(t))}function aa(e){if(ne(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function nt(e,t){return e?[...new Set([].concat(e,t))]:t}function qo(e,t){return e?je(Object.create(null),e,t):t}function Kl(e,t){return e?ne(e)&&ne(t)?[...new Set([...e,...t])]:je(Object.create(null),cr(e),cr(t??{})):t}function gg(e,t){if(!e)return t;if(!t)return e;const n=je(Object.create(null),e);for(const o in t)n[o]=nt(e[o],t[o]);return n}function ad(){return{app:null,config:{isNativeTag:lf,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 yg=0;function vg(e,t){return function(o,s=null){re(o)||(o=je({},o)),s!=null&&!ye(s)&&(s=null);const r=ad(),i=new WeakSet,a=[];let l=!1;const u=r.app={_uid:yg++,_component:o,_props:s,_container:null,_context:r,_instance:null,version:Gg,get config(){return r.config},set config(c){},use(c,...f){return i.has(c)||(c&&re(c.install)?(i.add(c),c.install(u,...f)):re(c)&&(i.add(c),c(u,...f))),u},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),u},component(c,f){return f?(r.components[c]=f,u):r.components[c]},directive(c,f){return f?(r.directives[c]=f,u):r.directives[c]},mount(c,f,d){if(!l){const p=u._ceVNode||ce(o,s);return p.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(p,c):e(p,c,d),l=!0,u._container=c,c.__vue_app__=u,qr(p.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Rt(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return r.provides[c]=f,u},runWithContext(c){const f=Kn;Kn=u;try{return c()}finally{Kn=f}}};return u}}let Kn=null;function ld(e,t,n=ge){const o=We(),s=Je(t),r=fn(t),i=cd(e,s),a=Lf((l,u)=>{let c,f=ge,d;return Hm(()=>{const p=e[s];Ze(c,p)&&(c=p,u())}),{get(){return l(),n.get?n.get(c):c},set(p){const m=n.set?n.set(p):p;if(!Ze(m,c)&&!(f!==ge&&Ze(p,f)))return;const h=o.vnode.props;h&&(t in h||s in h||r in h)&&(`onUpdate:${t}`in h||`onUpdate:${s}`in h||`onUpdate:${r}`in h)||(c=p,u()),o.emit(`update:${t}`,m),Ze(p,m)&&Ze(p,f)&&!Ze(m,d)&&u(),f=p,d=m}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||ge:a,done:!1}:{done:!0}}}},a}const cd=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Je(t)}Modifiers`]||e[`${fn(t)}Modifiers`];function bg(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||ge;let s=n;const r=t.startsWith("update:"),i=r&&cd(o,t.slice(7));i&&(i.trim&&(s=n.map(c=>Te(c)?c.trim():c)),i.number&&(s=n.map(Va)));let a,l=o[a=Qs(t)]||o[a=Qs(Je(t))];!l&&r&&(l=o[a=Qs(fn(t))]),l&&Rt(l,e,6,s);const u=o[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Rt(u,e,6,s)}}const wg=new WeakMap;function ud(e,t,n=!1){const o=n?wg:t.emitsCache,s=o.get(e);if(s!==void 0)return s;const r=e.emits;let i={},a=!1;if(!re(e)){const l=u=>{const c=ud(u,t,!0);c&&(a=!0,je(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(ye(e)&&o.set(e,null),null):(ne(r)?r.forEach(l=>i[l]=null):je(i,r),ye(e)&&o.set(e,i),i)}function Fr(e,t){return!e||!ms(t)?!1:(t=t.slice(2).replace(/Once$/,""),be(e,t[0].toLowerCase()+t.slice(1))||be(e,fn(t))||be(e,t))}function fi(e){const{type:t,vnode:n,proxy:o,withProxy:s,propsOptions:[r],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:p,ctx:m,inheritAttrs:h}=e,b=ar(e);let w,g;try{if(n.shapeFlag&4){const v=s||o,_=v;w=ft(u.call(_,v,c,f,p,d,m)),g=a}else{const v=t;w=ft(v.length>1?v(f,{attrs:a,slots:i,emit:l}):v(f,null)),g=t.props?a:Eg(a)}}catch(v){Go.length=0,To(v,e,1),w=ce(Ne)}let y=w;if(g&&h!==!1){const v=Object.keys(g),{shapeFlag:_}=y;v.length&&_&7&&(r&&v.some(Cr)&&(g=Sg(g,r)),y=Kt(y,g,!1,!0))}return n.dirs&&(y=Kt(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&vo(y,n.transition),w=y,ar(b),w}function _g(e,t=!0){let n;for(let o=0;o<e.length;o++){const s=e[o];if(Jn(s)){if(s.type!==Ne||s.children==="v-if"){if(n)return;n=s}}else return}return n}const Eg=e=>{let t;for(const n in e)(n==="class"||n==="style"||ms(n))&&((t||(t={}))[n]=e[n]);return t},Sg=(e,t)=>{const n={};for(const o in e)(!Cr(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function xg(e,t,n){const{props:o,children:s,component:r}=e,{props:i,children:a,patchFlag:l}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Gl(o,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(fd(i,o,d)&&!Fr(u,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:o===i?!1:o?i?Gl(o,i,u):!0:!!i;return!1}function Gl(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let s=0;s<o.length;s++){const r=o[s];if(fd(t,e,r)&&!Fr(n,r))return!0}return!1}function fd(e,t,n){const o=e[n],s=t[n];return n==="style"&&ye(o)&&ye(s)?!Ka(o,s):o!==s}function Br({vnode:e,parent:t,suspense:n},o){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=o,e=s),s===e)(e=t.vnode).el=o,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=o)}const dd={},pd=()=>Object.create(dd),hd=e=>Object.getPrototypeOf(e)===dd;function Cg(e,t,n,o=!1){const s={},r=pd();e.propsDefaults=Object.create(null),md(e,t,s,r);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=o?s:Ft(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function Tg(e,t,n,o){const{props:s,attrs:r,vnode:{patchFlag:i}}=e,a=me(s),[l]=e.propsOptions;let u=!1;if((o||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(Fr(e.emitsOptions,d))continue;const p=t[d];if(l)if(be(r,d))p!==r[d]&&(r[d]=p,u=!0);else{const m=Je(d);s[m]=la(l,a,m,p,e,!1)}else p!==r[d]&&(r[d]=p,u=!0)}}}else{md(e,t,s,r)&&(u=!0);let c;for(const f in a)(!t||!be(t,f)&&((c=fn(f))===f||!be(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=la(l,a,f,void 0,e,!0)):delete s[f]);if(r!==a)for(const f in r)(!t||!be(t,f))&&(delete r[f],u=!0)}u&&nn(e.attrs,"set","")}function md(e,t,n,o){const[s,r]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Wn(l))continue;const u=t[l];let c;s&&be(s,c=Je(l))?!r||!r.includes(c)?n[c]=u:(a||(a={}))[c]=u:Fr(e.emitsOptions,l)||(!(l in o)||u!==o[l])&&(o[l]=u,i=!0)}if(r){const l=me(n),u=a||ge;for(let c=0;c<r.length;c++){const f=r[c];n[f]=la(s,l,f,u[f],e,!be(u,f))}}return i}function la(e,t,n,o,s,r){const i=e[n];if(i!=null){const a=be(i,"default");if(a&&o===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&re(l)){const{propsDefaults:u}=s;if(n in u)o=u[n];else{const c=vs(s);o=u[n]=l.call(null,t),c()}}else o=l;s.ce&&s.ce._setProp(n,o)}i[0]&&(r&&!a?o=!1:i[1]&&(o===""||o===fn(n))&&(o=!0))}return o}const Ag=new WeakMap;function gd(e,t,n=!1){const o=n?Ag:t.propsCache,s=o.get(e);if(s)return s;const r=e.props,i={},a=[];let l=!1;if(!re(e)){const c=f=>{l=!0;const[d,p]=gd(f,t,!0);je(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!l)return ye(e)&&o.set(e,co),co;if(ne(r))for(let c=0;c<r.length;c++){const f=Je(r[c]);Ql(f)&&(i[f]=ge)}else if(r)for(const c in r){const f=Je(c);if(Ql(f)){const d=r[c],p=i[f]=ne(d)||re(d)?{type:d}:je({},d),m=p.type;let h=!1,b=!0;if(ne(m))for(let w=0;w<m.length;++w){const g=m[w],y=re(g)&&g.name;if(y==="Boolean"){h=!0;break}else y==="String"&&(b=!1)}else h=re(m)&&m.name==="Boolean";p[0]=h,p[1]=b,(h||be(p,"default"))&&a.push(f)}}const u=[i,a];return ye(e)&&o.set(e,u),u}function Ql(e){return e[0]!=="$"&&!Wn(e)}const ol=e=>e==="_"||e==="_ctx"||e==="$stable",sl=e=>ne(e)?e.map(ft):[ft(e)],$g=(e,t,n)=>{if(t._n)return t;const o=le((...s)=>sl(t(...s)),n);return o._c=!1,o},yd=(e,t,n)=>{const o=e._ctx;for(const s in e){if(ol(s))continue;const r=e[s];if(re(r))t[s]=$g(s,r,o);else if(r!=null){const i=sl(r);t[s]=()=>i}}},vd=(e,t)=>{const n=sl(t);e.slots.default=()=>n},bd=(e,t,n)=>{for(const o in t)(n||!ol(o))&&(e[o]=t[o])},kg=(e,t,n)=>{const o=e.slots=pd();if(e.vnode.shapeFlag&32){const s=t._;s?(bd(o,t,n),n&&pf(o,"_",s,!0)):yd(t,o)}else t&&vd(e,t)},Pg=(e,t,n)=>{const{vnode:o,slots:s}=e;let r=!0,i=ge;if(o.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:bd(s,t,n):(r=!t.$stable,yd(t,s)),i=t}else t&&(vd(e,t),i={default:1});if(r)for(const a in s)!ol(a)&&i[a]==null&&delete s[a]},Le=Td;function Og(e){return wd(e)}function Rg(e){return wd(e,Ym)}function wd(e,t){const n=kr();n.__VUE__=!0;const{insert:o,remove:s,patchProp:r,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:p=Bt,insertStaticContent:m}=e,h=(E,S,$,L=null,M=null,j=null,Q=void 0,G=null,K=!!S.dynamicChildren)=>{if(E===S)return;E&&!Ct(E,S)&&(L=N(E),Ve(E,M,j,!0),E=null),S.patchFlag===-2&&(K=!1,S.dynamicChildren=null);const{type:H,ref:se,shapeFlag:X}=S;switch(H){case Gn:b(E,S,$,L);break;case Ne:w(E,S,$,L);break;case Js:E==null&&g(S,$,L,Q);break;case _e:O(E,S,$,L,M,j,Q,G,K);break;default:X&1?_(E,S,$,L,M,j,Q,G,K):X&6?U(E,S,$,L,M,j,Q,G,K):(X&64||X&128)&&H.process(E,S,$,L,M,j,Q,G,K,oe)}se!=null&&M?ho(se,E&&E.ref,j,S||E,!S):se==null&&E&&E.ref!=null&&ho(E.ref,null,j,E,!0)},b=(E,S,$,L)=>{if(E==null)o(S.el=a(S.children),$,L);else{const M=S.el=E.el;S.children!==E.children&&u(M,S.children)}},w=(E,S,$,L)=>{E==null?o(S.el=l(S.children||""),$,L):S.el=E.el},g=(E,S,$,L)=>{[E.el,E.anchor]=m(E.children,S,$,L,E.el,E.anchor)},y=({el:E,anchor:S},$,L)=>{let M;for(;E&&E!==S;)M=d(E),o(E,$,L),E=M;o(S,$,L)},v=({el:E,anchor:S})=>{let $;for(;E&&E!==S;)$=d(E),s(E),E=$;s(S)},_=(E,S,$,L,M,j,Q,G,K)=>{if(S.type==="svg"?Q="svg":S.type==="math"&&(Q="mathml"),E==null)C(S,$,L,M,j,Q,G,K);else{const H=E.el&&E.el._isVueCE?E.el:null;try{H&&H._beginPatch(),A(E,S,M,j,Q,G,K)}finally{H&&H._endPatch()}}},C=(E,S,$,L,M,j,Q,G)=>{let K,H;const{props:se,shapeFlag:X,transition:te,dirs:ae}=E;if(K=E.el=i(E.type,j,se&&se.is,se),X&8?c(K,E.children):X&16&&T(E.children,K,null,L,M,di(E,j),Q,G),ae&&Lt(E,null,L,"created"),x(K,E,E.scopeId,Q,L),se){for(const xe in se)xe!=="value"&&!Wn(xe)&&r(K,xe,null,se[xe],j,L);"value"in se&&r(K,"value",null,se.value,j),(H=se.onVnodeBeforeMount)&&it(H,L,E)}ae&&Lt(E,null,L,"beforeMount");const he=_d(M,te);he&&te.beforeEnter(K),o(K,S,$),((H=se&&se.onVnodeMounted)||he||ae)&&Le(()=>{H&&it(H,L,E),he&&te.enter(K),ae&&Lt(E,null,L,"mounted")},M)},x=(E,S,$,L,M)=>{if($&&p(E,$),L)for(let j=0;j<L.length;j++)p(E,L[j]);if(M){let j=M.subTree;if(S===j||dr(j.type)&&(j.ssContent===S||j.ssFallback===S)){const Q=M.vnode;x(E,Q,Q.scopeId,Q.slotScopeIds,M.parent)}}},T=(E,S,$,L,M,j,Q,G,K=0)=>{for(let H=K;H<E.length;H++){const se=E[H]=G?tn(E[H]):ft(E[H]);h(null,se,S,$,L,M,j,Q,G)}},A=(E,S,$,L,M,j,Q)=>{const G=S.el=E.el;let{patchFlag:K,dynamicChildren:H,dirs:se}=S;K|=E.patchFlag&16;const X=E.props||ge,te=S.props||ge;let ae;if($&&Mn($,!1),(ae=te.onVnodeBeforeUpdate)&&it(ae,$,S,E),se&&Lt(S,E,$,"beforeUpdate"),$&&Mn($,!0),(X.innerHTML&&te.innerHTML==null||X.textContent&&te.textContent==null)&&c(G,""),H?P(E.dynamicChildren,H,G,$,L,di(S,M),j):Q||V(E,S,G,null,$,L,di(S,M),j,!1),K>0){if(K&16)F(G,X,te,$,M);else if(K&2&&X.class!==te.class&&r(G,"class",null,te.class,M),K&4&&r(G,"style",X.style,te.style,M),K&8){const he=S.dynamicProps;for(let xe=0;xe<he.length;xe++){const Ae=he[xe],De=X[Ae],He=te[Ae];(He!==De||Ae==="value")&&r(G,Ae,De,He,M,$)}}K&1&&E.children!==S.children&&c(G,S.children)}else!Q&&H==null&&F(G,X,te,$,M);((ae=te.onVnodeUpdated)||se)&&Le(()=>{ae&&it(ae,$,S,E),se&&Lt(S,E,$,"updated")},L)},P=(E,S,$,L,M,j,Q)=>{for(let G=0;G<S.length;G++){const K=E[G],H=S[G],se=K.el&&(K.type===_e||!Ct(K,H)||K.shapeFlag&198)?f(K.el):$;h(K,H,se,null,L,M,j,Q,!0)}},F=(E,S,$,L,M)=>{if(S!==$){if(S!==ge)for(const j in S)!Wn(j)&&!(j in $)&&r(E,j,S[j],null,M,L);for(const j in $){if(Wn(j))continue;const Q=$[j],G=S[j];Q!==G&&j!=="value"&&r(E,j,G,Q,M,L)}"value"in $&&r(E,"value",S.value,$.value,M)}},O=(E,S,$,L,M,j,Q,G,K)=>{const H=S.el=E?E.el:a(""),se=S.anchor=E?E.anchor:a("");let{patchFlag:X,dynamicChildren:te,slotScopeIds:ae}=S;ae&&(G=G?G.concat(ae):ae),E==null?(o(H,$,L),o(se,$,L),T(S.children||[],$,se,M,j,Q,G,K)):X>0&&X&64&&te&&E.dynamicChildren&&E.dynamicChildren.length===te.length?(P(E.dynamicChildren,te,$,M,j,Q,G),(S.key!=null||M&&S===M.subTree)&&rl(E,S,!0)):V(E,S,$,se,M,j,Q,G,K)},U=(E,S,$,L,M,j,Q,G,K)=>{S.slotScopeIds=G,E==null?S.shapeFlag&512?M.ctx.activate(S,$,L,Q,K):k(S,$,L,M,j,Q,K):W(E,S,K)},k=(E,S,$,L,M,j,Q)=>{const G=E.component=qg(E,L,M);if(ys(E)&&(G.ctx.renderer=oe),Wg(G,!1,Q),G.asyncDep){if(M&&M.registerDep(G,B,Q),!E.el){const K=G.subTree=ce(Ne);w(null,K,S,$),E.placeholder=K.el}}else B(G,E,S,$,M,j,Q)},W=(E,S,$)=>{const L=S.component=E.component;if(xg(E,S,$))if(L.asyncDep&&!L.asyncResolved){Y(L,S,$);return}else L.next=S,L.update();else S.el=E.el,L.vnode=S},B=(E,S,$,L,M,j,Q)=>{const G=()=>{if(E.isMounted){let{next:X,bu:te,u:ae,parent:he,vnode:xe}=E;{const ct=Ed(E);if(ct){X&&(X.el=xe.el,Y(E,X,Q)),ct.asyncDep.then(()=>{Le(()=>{E.isUnmounted||H()},M)});return}}let Ae=X,De;Mn(E,!1),X?(X.el=xe.el,Y(E,X,Q)):X=xe,te&&fo(te),(De=X.props&&X.props.onVnodeBeforeUpdate)&&it(De,he,X,xe),Mn(E,!0);const He=fi(E),St=E.subTree;E.subTree=He,h(St,He,f(St.el),N(St),E,M,j),X.el=He.el,Ae===null&&Br(E,He.el),ae&&Le(ae,M),(De=X.props&&X.props.onVnodeUpdated)&&Le(()=>it(De,he,X,xe),M)}else{let X;const{el:te,props:ae}=S,{bm:he,m:xe,parent:Ae,root:De,type:He}=E,St=an(S);if(Mn(E,!1),he&&fo(he),!St&&(X=ae&&ae.onVnodeBeforeMount)&&it(X,Ae,S),Mn(E,!0),te&&ke){const ct=()=>{E.subTree=fi(E),ke(te,E.subTree,E,M,null)};St&&He.__asyncHydrate?He.__asyncHydrate(te,E,ct):ct()}else{De.ce&&De.ce._hasShadowRoot()&&De.ce._injectChildStyle(He,E.parent?E.parent.type:void 0);const ct=E.subTree=fi(E);h(null,ct,$,L,E,M,j),S.el=ct.el}if(xe&&Le(xe,M),!St&&(X=ae&&ae.onVnodeMounted)){const ct=S;Le(()=>it(X,Ae,ct),M)}(S.shapeFlag&256||Ae&&an(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&E.a&&Le(E.a,M),E.isMounted=!0,S=$=L=null}};E.scope.on();const K=E.effect=new bf(G);E.scope.off();const H=E.update=K.run.bind(K),se=E.job=K.runIfDirty.bind(K);se.i=E,se.id=E.uid,K.scheduler=()=>Xa(se),Mn(E,!0),H()},Y=(E,S,$)=>{S.component=E;const L=E.vnode.props;E.vnode=S,E.next=null,Tg(E,S.props,L,$),Pg(E,S.children,$),cn(),Nl(E),un()},V=(E,S,$,L,M,j,Q,G,K=!1)=>{const H=E&&E.children,se=E?E.shapeFlag:0,X=S.children,{patchFlag:te,shapeFlag:ae}=S;if(te>0){if(te&128){lt(H,X,$,L,M,j,Q,G,K);return}else if(te&256){ie(H,X,$,L,M,j,Q,G,K);return}}ae&8?(se&16&&gt(H,M,j),X!==H&&c($,X)):se&16?ae&16?lt(H,X,$,L,M,j,Q,G,K):gt(H,M,j,!0):(se&8&&c($,""),ae&16&&T(X,$,L,M,j,Q,G,K))},ie=(E,S,$,L,M,j,Q,G,K)=>{E=E||co,S=S||co;const H=E.length,se=S.length,X=Math.min(H,se);let te;for(te=0;te<X;te++){const ae=S[te]=K?tn(S[te]):ft(S[te]);h(E[te],ae,$,null,M,j,Q,G,K)}H>se?gt(E,M,j,!0,!1,X):T(S,$,L,M,j,Q,G,K,X)},lt=(E,S,$,L,M,j,Q,G,K)=>{let H=0;const se=S.length;let X=E.length-1,te=se-1;for(;H<=X&&H<=te;){const ae=E[H],he=S[H]=K?tn(S[H]):ft(S[H]);if(Ct(ae,he))h(ae,he,$,null,M,j,Q,G,K);else break;H++}for(;H<=X&&H<=te;){const ae=E[X],he=S[te]=K?tn(S[te]):ft(S[te]);if(Ct(ae,he))h(ae,he,$,null,M,j,Q,G,K);else break;X--,te--}if(H>X){if(H<=te){const ae=te+1,he=ae<se?S[ae].el:L;for(;H<=te;)h(null,S[H]=K?tn(S[H]):ft(S[H]),$,he,M,j,Q,G,K),H++}}else if(H>te)for(;H<=X;)Ve(E[H],M,j,!0),H++;else{const ae=H,he=H,xe=new Map;for(H=he;H<=te;H++){const ut=S[H]=K?tn(S[H]):ft(S[H]);ut.key!=null&&xe.set(ut.key,H)}let Ae,De=0;const He=te-he+1;let St=!1,ct=0;const ko=new Array(He);for(H=0;H<He;H++)ko[H]=0;for(H=ae;H<=X;H++){const ut=E[H];if(De>=He){Ve(ut,M,j,!0);continue}let Mt;if(ut.key!=null)Mt=xe.get(ut.key);else for(Ae=he;Ae<=te;Ae++)if(ko[Ae-he]===0&&Ct(ut,S[Ae])){Mt=Ae;break}Mt===void 0?Ve(ut,M,j,!0):(ko[Mt-he]=H+1,Mt>=ct?ct=Mt:St=!0,h(ut,S[Mt],$,null,M,j,Q,G,K),De++)}const $l=St?Ig(ko):co;for(Ae=$l.length-1,H=He-1;H>=0;H--){const ut=he+H,Mt=S[ut],kl=S[ut+1],Pl=ut+1<se?kl.el||Sd(kl):L;ko[H]===0?h(null,Mt,$,Pl,M,j,Q,G,K):St&&(Ae<0||H!==$l[Ae]?mt(Mt,$,Pl,2):Ae--)}}},mt=(E,S,$,L,M=null)=>{const{el:j,type:Q,transition:G,children:K,shapeFlag:H}=E;if(H&6){mt(E.component.subTree,S,$,L);return}if(H&128){E.suspense.move(S,$,L);return}if(H&64){Q.move(E,S,$,oe);return}if(Q===_e){o(j,S,$);for(let X=0;X<K.length;X++)mt(K[X],S,$,L);o(E.anchor,S,$);return}if(Q===Js){y(E,S,$);return}if(L!==2&&H&1&&G)if(L===0)G.beforeEnter(j),o(j,S,$),Le(()=>G.enter(j),M);else{const{leave:X,delayLeave:te,afterLeave:ae}=G,he=()=>{E.ctx.isUnmounted?s(j):o(j,S,$)},xe=()=>{j._isLeaving&&j[jt](!0),X(j,()=>{he(),ae&&ae()})};te?te(j,he,xe):xe()}else o(j,S,$)},Ve=(E,S,$,L=!1,M=!1)=>{const{type:j,props:Q,ref:G,children:K,dynamicChildren:H,shapeFlag:se,patchFlag:X,dirs:te,cacheIndex:ae,memo:he}=E;if(X===-2&&(M=!1),G!=null&&(cn(),ho(G,null,$,E,!0),un()),ae!=null&&(S.renderCache[ae]=void 0),se&256){S.ctx.deactivate(E);return}const xe=se&1&&te,Ae=!an(E);let De;if(Ae&&(De=Q&&Q.onVnodeBeforeUnmount)&&it(De,S,E),se&6)In(E.component,$,L);else{if(se&128){E.suspense.unmount($,L);return}xe&&Lt(E,null,S,"beforeUnmount"),se&64?E.type.remove(E,S,$,oe,L):H&&!H.hasOnce&&(j!==_e||X>0&&X&64)?gt(H,S,$,!1,!0):(j===_e&&X&384||!M&&se&16)&&gt(K,S,$),L&&pn(E)}const He=he!=null&&ae==null;(Ae&&(De=Q&&Q.onVnodeUnmounted)||xe||He)&&Le(()=>{De&&it(De,S,E),xe&&Lt(E,null,S,"unmounted"),He&&(E.el=null)},$)},pn=E=>{const{type:S,el:$,anchor:L,transition:M}=E;if(S===_e){Xn($,L);return}if(S===Js){v(E);return}const j=()=>{s($),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(E.shapeFlag&1&&M&&!M.persisted){const{leave:Q,delayLeave:G}=M,K=()=>Q($,j);G?G(E.el,j,K):K()}else j()},Xn=(E,S)=>{let $;for(;E!==S;)$=d(E),s(E),E=$;s(S)},In=(E,S,$)=>{const{bum:L,scope:M,job:j,subTree:Q,um:G,m:K,a:H}=E;fr(K),fr(H),L&&fo(L),M.stop(),j&&(j.flags|=8,Ve(Q,E,S,$)),G&&Le(G,S),Le(()=>{E.isUnmounted=!0},S)},gt=(E,S,$,L=!1,M=!1,j=0)=>{for(let Q=j;Q<E.length;Q++)Ve(E[Q],S,$,L,M)},N=E=>{if(E.shapeFlag&6)return N(E.component.subTree);if(E.shapeFlag&128)return E.suspense.next();const S=d(E.anchor||E.el),$=S&&S[zf];return $?d($):S};let Z=!1;const J=(E,S,$)=>{let L;E==null?S._vnode&&(Ve(S._vnode,null,null,!0),L=S._vnode.component):h(S._vnode||null,E,S,null,null,null,$),S._vnode=E,Z||(Z=!0,Nl(L),ir(),Z=!1)},oe={p:h,um:Ve,m:mt,r:pn,mt:k,mc:T,pc:V,pbc:P,n:N,o:e};let fe,ke;return t&&([fe,ke]=t(oe)),{render:J,hydrate:fe,createApp:vg(J,fe)}}function di({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 Mn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function _d(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rl(e,t,n=!1){const o=e.children,s=t.children;if(ne(o)&&ne(s))for(let r=0;r<o.length;r++){const i=o[r];let a=s[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[r]=tn(s[r]),a.el=i.el),!n&&a.patchFlag!==-2&&rl(i,a)),a.type===Gn&&(a.patchFlag===-1&&(a=s[r]=tn(a)),a.el=i.el),a.type===Ne&&!a.el&&(a.el=i.el)}}function Ig(e){const t=e.slice(),n=[0];let o,s,r,i,a;const l=e.length;for(o=0;o<l;o++){const u=e[o];if(u!==0){if(s=n[n.length-1],e[s]<u){t[o]=s,n.push(o);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<u?r=a+1:i=a;u<e[n[r]]&&(r>0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function Ed(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ed(t)}function fr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Sd(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Sd(t.subTree):null}const dr=e=>e.__isSuspense;let ca=0;const Mg={name:"Suspense",__isSuspense:!0,process(e,t,n,o,s,r,i,a,l,u){if(e==null)Ng(t,n,o,s,r,i,a,l,u);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Dg(e,t,n,o,s,i,a,l,u)}},hydrate:Lg,normalize:jg},xd=Mg;function as(e,t){const n=e.props&&e.props[t];re(n)&&n()}function Ng(e,t,n,o,s,r,i,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=Cd(e,s,o,t,f,n,r,i,a,l);u(null,d.pendingBranch=e.ssContent,f,null,o,d,r,i),d.deps>0?(as(e,"onPending"),as(e,"onFallback"),u(null,e.ssFallback,t,n,o,null,r,i),mo(d,e.ssFallback)):d.resolve(!1,!0)}function Dg(e,t,n,o,s,r,i,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:b,isHydrating:w}=f;if(h)f.pendingBranch=d,Ct(h,d)?(l(h,d,f.hiddenContainer,null,s,f,r,i,a),f.deps<=0?f.resolve():b&&(w||(l(m,p,n,o,s,null,r,i,a),mo(f,p)))):(f.pendingId=ca++,w?(f.isHydrating=!1,f.activeBranch=h):u(h,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),b?(l(null,d,f.hiddenContainer,null,s,f,r,i,a),f.deps<=0?f.resolve():(l(m,p,n,o,s,null,r,i,a),mo(f,p))):m&&Ct(m,d)?(l(m,d,n,o,s,f,r,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,s,f,r,i,a),f.deps<=0&&f.resolve()));else if(m&&Ct(m,d))l(m,d,n,o,s,f,r,i,a),mo(f,d);else if(as(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=ca++,l(null,d,f.hiddenContainer,null,s,f,r,i,a),f.deps<=0)f.resolve();else{const{timeout:g,pendingId:y}=f;g>0?setTimeout(()=>{f.pendingId===y&&f.fallback(p)},g):g===0&&f.fallback(p)}}function Cd(e,t,n,o,s,r,i,a,l,u,c=!1){const{p:f,m:d,um:p,n:m,o:{parentNode:h,remove:b}}=u;let w;const g=Hg(e);g&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const y=e.props?hf(e.props.timeout):void 0,v=r,_={vnode:e,parent:t,parentComponent:n,namespace:i,container:o,hiddenContainer:s,deps:0,pendingId:ca++,timeout:typeof y=="number"?y:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(C=!1,x=!1){const{vnode:T,activeBranch:A,pendingBranch:P,pendingId:F,effects:O,parentComponent:U,container:k,isInFallback:W}=_;let B=!1;if(_.isHydrating)_.isHydrating=!1;else if(!C){B=A&&P.transition&&P.transition.mode==="out-in";let ie=!1;B&&(A.transition.afterLeave=()=>{F===_.pendingId&&(d(P,k,r===v&&!ie?m(A):r,0),ea(O),W&&T.ssFallback&&(T.ssFallback.el=null))}),A&&!_.isFallbackMountPending&&(h(A.el)===k&&(r=m(A),ie=!0),p(A,U,_,!0),!B&&W&&T.ssFallback&&Le(()=>T.ssFallback.el=null,_)),B||d(P,k,r,0)}_.isFallbackMountPending=!1,mo(_,P),_.pendingBranch=null,_.isInFallback=!1;let Y=_.parent,V=!1;for(;Y;){if(Y.pendingBranch){Y.effects.push(...O),V=!0;break}Y=Y.parent}!V&&!B&&ea(O),_.effects=[],g&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!x&&t.resolve()),as(T,"onResolve")},fallback(C){if(!_.pendingBranch)return;const{vnode:x,activeBranch:T,parentComponent:A,container:P,namespace:F}=_;as(x,"onFallback");const O=m(T),U=()=>{_.isFallbackMountPending=!1,_.isInFallback&&(f(null,C,P,O,A,null,F,a,l),mo(_,C))},k=C.transition&&C.transition.mode==="out-in";k&&(_.isFallbackMountPending=!0,T.transition.afterLeave=U),_.isInFallback=!0,p(T,A,null,!0),k||U()},move(C,x,T){_.activeBranch&&d(_.activeBranch,C,x,T),_.container=C},next(){return _.activeBranch&&m(_.activeBranch)},registerDep(C,x,T){const A=!!_.pendingBranch;A&&_.deps++;const P=C.vnode.el;C.asyncDep.catch(F=>{To(F,C,0)}).then(F=>{if(C.isUnmounted||_.isUnmounted||_.pendingId!==C.suspenseId)return;fa(),C.asyncResolved=!0;const{vnode:O}=C;da(C,F),P&&(O.el=P);const U=!P&&C.subTree.el;x(C,O,h(P||C.subTree.el),P?null:m(C.subTree),_,i,T),U&&(O.placeholder=null,b(U)),Br(C,O.el),A&&--_.deps===0&&_.resolve()})},unmount(C,x){_.isUnmounted=!0,_.activeBranch&&p(_.activeBranch,n,C,x),_.pendingBranch&&p(_.pendingBranch,n,C,x)}};return _}function Lg(e,t,n,o,s,r,i,a,l){const u=t.suspense=Cd(t,o,n,e.parentNode,document.createElement("div"),null,s,r,i,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,r,i);return u.deps===0&&u.resolve(!1,!0),c}function jg(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=Jl(o?n.default:n),e.ssFallback=o?Jl(n.fallback):ce(Ne)}function Jl(e){let t;if(re(e)){const n=bo&&e._c;n&&(e._d=!1,D()),e=e(),n&&(e._d=!0,t=at,Ad())}return ne(e)&&(e=_g(e)),e=ft(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Td(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):ea(e)}function mo(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,o&&o.subTree===n&&(o.vnode.el=s,Br(o,s))}function Hg(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const _e=Symbol.for("v-fgt"),Gn=Symbol.for("v-txt"),Ne=Symbol.for("v-cmt"),Js=Symbol.for("v-stc"),Go=[];let at=null;function D(e=!1){Go.push(at=e?null:[])}function Ad(){Go.pop(),at=Go[Go.length-1]||null}let bo=1;function pr(e,t=!1){bo+=e,e<0&&at&&t&&(at.hasOnce=!0)}function $d(e){return e.dynamicChildren=bo>0?at||co:null,Ad(),bo>0&&at&&at.push(e),e}function ee(e,t,n,o,s,r){return $d(I(e,t,n,o,s,r,!0))}function ue(e,t,n,o,s){return $d(ce(e,t,n,o,s,!0))}function Jn(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const kd=({key:e})=>e??null,Ys=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Te(e)||Oe(e)||re(e)?{i:Ge,r:e,k:t,f:!!n}:e:null);function I(e,t=null,n=null,o=0,s=null,r=e===_e?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kd(t),ref:t&&Ys(t),scopeId:Dr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ge};return a?(il(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Te(n)?8:16),bo>0&&!i&&at&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&at.push(l),l}const ce=Fg;function Fg(e,t=null,n=null,o=0,s=null,r=!1){if((!e||e===od)&&(e=Ne),Jn(e)){const a=Kt(e,t,!0);return n&&il(a,n),bo>0&&!r&&at&&(a.shapeFlag&6?at[at.indexOf(e)]=a:at.push(a)),a.patchFlag=-2,a}if(Kg(e)&&(e=e.__vccOpts),t){t=Ur(t);let{class:a,style:l}=t;a&&!Te(a)&&(t.class=Ce(a)),ye(l)&&(Nr(l)&&!ne(l)&&(l=je({},l)),t.style=Ut(l))}const i=Te(e)?1:dr(e)?128:Kf(e)?64:ye(e)?4:re(e)?2:0;return I(e,t,n,o,s,i,r,!0)}function Ur(e){return e?Nr(e)||hd(e)?je({},e):e:null}function Kt(e,t,n=!1,o=!1){const{props:s,ref:r,patchFlag:i,children:a,transition:l}=e,u=t?rt(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&kd(u),ref:t&&t.ref?n&&r?ne(r)?r.concat(Ys(t)):[r,Ys(t)]:Ys(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kt(e.ssContent),ssFallback:e.ssFallback&&Kt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&vo(c,l.clone(c)),c}function wt(e=" ",t=0){return ce(Gn,null,e,t)}function Me(e="",t=!1){return t?(D(),ue(Ne,null,e)):ce(Ne,null,e)}function ft(e){return e==null||typeof e=="boolean"?ce(Ne):ne(e)?ce(_e,null,e.slice()):Jn(e)?tn(e):ce(Gn,null,String(e))}function tn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kt(e)}function il(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ne(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),il(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!hd(t)?t._ctx=Ge:s===3&&Ge&&(Ge.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else re(t)?(t={default:t,_ctx:Ge},n=32):(t=String(t),o&64?(n=16,t=[wt(t)]):n=8);e.children=t,e.shapeFlag|=n}function rt(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const s in o)if(s==="class")t.class!==o.class&&(t.class=Ce([t.class,o.class]));else if(s==="style")t.style=Ut([t.style,o.style]);else if(ms(s)){const r=t[s],i=o[s];i&&r!==i&&!(ne(r)&&r.includes(i))?t[s]=r?[].concat(r,i):i:i==null&&r==null&&!Cr(s)&&(t[s]=i)}else s!==""&&(t[s]=o[s])}return t}function it(e,t,n,o=null){Rt(e,t,7,[n,o])}const Bg=ad();let Ug=0;function qg(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||Bg,r={uid:Ug++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new vf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:gd(o,s),emitsOptions:ud(o,s),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:o.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=bg.bind(null,r),e.ce&&e.ce(r),r}let Ke=null;const We=()=>Ke||Ge;let hr,ua;{const e=kr(),t=(n,o)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(o),r=>{s.length>1?s.forEach(i=>i(r)):s[0](r)}};hr=t("__VUE_INSTANCE_SETTERS__",n=>Ke=n),ua=t("__VUE_SSR_SETTERS__",n=>wo=n)}const vs=e=>{const t=Ke;return hr(e),e.scope.on(),()=>{e.scope.off(),hr(t)}},fa=()=>{Ke&&Ke.scope.off(),hr(null)};function Pd(e){return e.vnode.shapeFlag&4}let wo=!1;function Wg(e,t=!1,n=!1){t&&ua(t);const{props:o,children:s}=e.vnode,r=Pd(e);Cg(e,o,r,t),kg(e,s,n||t);const i=r?Vg(e,t):void 0;return t&&ua(!1),i}function Vg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,cg);const{setup:o}=n;if(o){cn();const s=e.setupContext=o.length>1?Rd(e):null,r=vs(e),i=gs(o,e,0,[e.props,s]),a=uf(i);if(un(),r(),(a||e.sp)&&!an(e)&&Za(e),a){if(i.then(fa,fa),t)return i.then(l=>{da(e,l)}).catch(l=>{To(l,e,0)});e.asyncDep=i}else da(e,i)}else Od(e)}function da(e,t,n){re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ye(t)&&(e.setupState=Df(t)),Od(e)}function Od(e,t,n){const o=e.type;e.render||(e.render=o.render||Bt);{const s=vs(e);cn();try{dg(e)}finally{un(),s()}}}const zg={get(e,t){return et(e,"get",""),e[t]}};function Rd(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,zg),slots:e.slots,emit:e.emit,expose:t}}function qr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Df(_m(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ko)return Ko[n](e)},has(t,n){return n in t||n in Ko}})):e.proxy}function pa(e,t=!0){return re(e)?e.displayName||e.name:e.name||t&&e.__name}function Kg(e){return re(e)&&"__vccOpts"in e}const q=(e,t)=>km(e,t,wo);function Qe(e,t,n){try{pr(-1);const o=arguments.length;return o===2?ye(t)&&!ne(t)?Jn(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Jn(n)&&(n=[n]),ce(e,t,n))}finally{pr(1)}}const Gg="3.5.34";let ha;const Yl=typeof window<"u"&&window.trustedTypes;if(Yl)try{ha=Yl.createPolicy("vue",{createHTML:e=>e})}catch{}const Id=ha?e=>ha.createHTML(e):e=>e,Qg="http://www.w3.org/2000/svg",Jg="http://www.w3.org/1998/Math/MathML",en=typeof document<"u"?document:null,Xl=en&&en.createElement("template"),Yg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t==="svg"?en.createElementNS(Qg,e):t==="mathml"?en.createElementNS(Jg,e):n?en.createElement(e,{is:n}):en.createElement(e);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>en.createTextNode(e),createComment:e=>en.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>en.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,r){const i=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{Xl.innerHTML=Id(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const a=Xl.content;if(o==="svg"||o==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},hn="transition",Ro="animation",ls=Symbol("_vtc"),Md={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},Xg=je({},Gf,Md),Zg=e=>(e.displayName="Transition",e.props=Xg,e),Nd=Zg((e,{slots:t})=>Qe(Km,ey(e),t)),Nn=(e,t=[])=>{ne(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zl=e=>e?ne(e)?e.some(t=>t.length>1):e.length>1:!1;function ey(e){const t={};for(const O in e)O in Md||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:o,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=ty(s),h=m&&m[0],b=m&&m[1],{onBeforeEnter:w,onEnter:g,onEnterCancelled:y,onLeave:v,onLeaveCancelled:_,onBeforeAppear:C=w,onAppear:x=g,onAppearCancelled:T=y}=t,A=(O,U,k,W)=>{O._enterCancelled=W,Dn(O,U?c:a),Dn(O,U?u:i),k&&k()},P=(O,U)=>{O._isLeaving=!1,Dn(O,f),Dn(O,p),Dn(O,d),U&&U()},F=O=>(U,k)=>{const W=O?x:g,B=()=>A(U,O,k);Nn(W,[U,B]),ec(()=>{Dn(U,O?l:r),Xt(U,O?c:a),Zl(W)||tc(U,o,h,B)})};return je(t,{onBeforeEnter(O){Nn(w,[O]),Xt(O,r),Xt(O,i)},onBeforeAppear(O){Nn(C,[O]),Xt(O,l),Xt(O,u)},onEnter:F(!1),onAppear:F(!0),onLeave(O,U){O._isLeaving=!0;const k=()=>P(O,U);Xt(O,f),O._enterCancelled?(Xt(O,d),sc(O)):(sc(O),Xt(O,d)),ec(()=>{O._isLeaving&&(Dn(O,f),Xt(O,p),Zl(v)||tc(O,o,b,k))}),Nn(v,[O,k])},onEnterCancelled(O){A(O,!1,void 0,!0),Nn(y,[O])},onAppearCancelled(O){A(O,!0,void 0,!0),Nn(T,[O])},onLeaveCancelled(O){P(O),Nn(_,[O])}})}function ty(e){if(e==null)return null;if(ye(e))return[pi(e.enter),pi(e.leave)];{const t=pi(e);return[t,t]}}function pi(e){return hf(e)}function Xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ls]||(e[ls]=new Set)).add(t)}function Dn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ls];n&&(n.delete(t),n.size||(e[ls]=void 0))}function ec(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ny=0;function tc(e,t,n,o){const s=e._endId=++ny,r=()=>{s===e._endId&&o()};if(n!=null)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=oy(e,t);if(!i)return o();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),r()},d=p=>{p.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,d)}function oy(e,t){const n=window.getComputedStyle(e),o=m=>(n[m]||"").split(", "),s=o(`${hn}Delay`),r=o(`${hn}Duration`),i=nc(s,r),a=o(`${Ro}Delay`),l=o(`${Ro}Duration`),u=nc(a,l);let c=null,f=0,d=0;t===hn?i>0&&(c=hn,f=i,d=r.length):t===Ro?u>0&&(c=Ro,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?hn:Ro:null,d=c?c===hn?r.length:l.length:0);const p=c===hn&&/\b(?:transform|all)(?:,|$)/.test(o(`${hn}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function nc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>oc(n)+oc(e[o])))}function oc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function sc(e){return(e?e.ownerDocument:document).body.offsetHeight}function sy(e,t,n){const o=e[ls];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const rc=Symbol("_vod"),ry=Symbol("_vsh"),iy=Symbol(""),ay=/(?:^|;)\s*display\s*:/;function ly(e,t,n){const o=e.style,s=Te(n);let r=!1;if(n&&!s){if(t)if(Te(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Wo(o,a,"")}else for(const i in t)n[i]==null&&Wo(o,i,"");for(const i in n){i==="display"&&(r=!0);const a=n[i];a!=null?uy(e,i,!Te(t)&&t?t[i]:void 0,a)||Wo(o,i,a):Wo(o,i,"")}}else if(s){if(t!==n){const i=o[iy];i&&(n+=";"+i),o.cssText=n,r=ay.test(n)}}else t&&e.removeAttribute("style");rc in e&&(e[rc]=r?o.display:"",e[ry]&&(o.display="none"))}const ic=/\s*!important$/;function Wo(e,t,n){if(ne(n))n.forEach(o=>Wo(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=cy(e,t);ic.test(n)?e.setProperty(fn(o),n.replace(ic,""),"important"):e[o]=n}}const ac=["Webkit","Moz","ms"],hi={};function cy(e,t){const n=hi[t];if(n)return n;let o=Je(t);if(o!=="filter"&&o in e)return hi[t]=o;o=$r(o);for(let s=0;s<ac.length;s++){const r=ac[s]+o;if(r in e)return hi[t]=r}return t}function uy(e,t,n,o){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Te(o)&&n===o}const lc="http://www.w3.org/1999/xlink";function cc(e,t,n,o,s,r=Xh(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(lc,t.slice(6,t.length)):e.setAttributeNS(lc,t,n):n==null||r&&!mf(n)?e.removeAttribute(t):e.setAttribute(t,r?"":pt(n)?String(n):n)}function uc(e,t,n,o,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Id(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const a=r==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=mf(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function ro(e,t,n,o){e.addEventListener(t,n,o)}function fy(e,t,n,o){e.removeEventListener(t,n,o)}const fc=Symbol("_vei");function dy(e,t,n,o,s=null){const r=e[fc]||(e[fc]={}),i=r[t];if(o&&i)i.value=o;else{const[a,l]=py(t);if(o){const u=r[t]=gy(o,s);ro(e,a,u,l)}else i&&(fy(e,a,i,l),r[t]=void 0)}}const dc=/(?:Once|Passive|Capture)$/;function py(e){let t;if(dc.test(e)){t={};let o;for(;o=e.match(dc);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):fn(e.slice(2)),t]}let mi=0;const hy=Promise.resolve(),my=()=>mi||(hy.then(()=>mi=0),mi=Date.now());function gy(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Rt(yy(o,n.value),t,5,[o])};return n.value=e,n.attached=my(),n}function yy(e,t){if(ne(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>s=>!s._stopped&&o&&o(s))}else return t}const pc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,vy=(e,t,n,o,s,r)=>{const i=s==="svg";t==="class"?sy(e,o,i):t==="style"?ly(e,n,o):ms(t)?Cr(t)||dy(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):by(e,t,o,i))?(uc(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&cc(e,t,o,i,r,t!=="value")):e._isVueCE&&(wy(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Te(o)))?uc(e,Je(t),o,r,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),cc(e,t,o,i))};function by(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&pc(t)&&re(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return pc(t)&&Te(n)?!1:t in e}function wy(e,t){const n=e._def.props;if(!n)return!1;const o=Je(t);return Array.isArray(n)?n.some(s=>Je(s)===o):Object.keys(n).some(s=>Je(s)===o)}const hc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ne(t)?n=>fo(t,n):t};function _y(e){e.target.composing=!0}function mc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const gi=Symbol("_assign");function gc(e,t,n){return t&&(e=e.trim()),n&&(e=Va(e)),e}const Dd={created(e,{modifiers:{lazy:t,trim:n,number:o}},s){e[gi]=hc(s);const r=o||s.props&&s.props.type==="number";ro(e,t?"change":"input",i=>{i.target.composing||e[gi](gc(e.value,n,r))}),(n||r)&&ro(e,"change",()=>{e.value=gc(e.value,n,r)}),t||(ro(e,"compositionstart",_y),ro(e,"compositionend",mc),ro(e,"change",mc))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:s,number:r}},i){if(e[gi]=hc(i),e.composing)return;const a=(r||e.type==="number")&&!/^0\d/.test(e.value)?Va(e.value):e.value,l=t??"";if(a===l)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(o&&t===n||s&&e.value.trim()===l)||(e.value=l)}},Ey=["ctrl","shift","alt","meta"],Sy={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)=>Ey.some(n=>e[`${n}Key`]&&!t.includes(n))},PA=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=((s,...r)=>{for(let i=0;i<t.length;i++){const a=Sy[t[i]];if(a&&a(s,t))return}return e(s,...r)}))},xy={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ld=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=(s=>{if(!("key"in s))return;const r=fn(s.key);if(t.some(i=>i===r||xy[i]===r))return e(s)}))},jd=je({patchProp:vy},Yg);let Qo,yc=!1;function Cy(){return Qo||(Qo=Og(jd))}function Ty(){return Qo=yc?Qo:Rg(jd),yc=!0,Qo}const Hd=((...e)=>{const t=Cy().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=Bd(o);if(!s)return;const r=t._component;!re(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Fd(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),Ay=((...e)=>{const t=Ty().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=Bd(o);if(s)return n(s,!0,Fd(s))},t});function Fd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Bd(e){return Te(e)?document.querySelector(e):e}const $y=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,ky=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Py=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Oy(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ry(e);return}return t}function Ry(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Iy(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Py.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if($y.test(e)||ky.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Oy)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}const My=/#/g,Ny=/&/g,Dy=/\//g,Ly=/=/g,al=/\+/g,jy=/%5e/gi,Hy=/%60/gi,Fy=/%7c/gi,By=/%20/gi;function Uy(e){return encodeURI(""+e).replace(Fy,"|")}function ma(e){return Uy(typeof e=="string"?e:JSON.stringify(e)).replace(al,"%2B").replace(By,"+").replace(My,"%23").replace(Ny,"%26").replace(Hy,"`").replace(jy,"^").replace(Dy,"%2F")}function yi(e){return ma(e).replace(Ly,"%3D")}function Ud(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function qy(e){return Ud(e.replace(al," "))}function Wy(e){return Ud(e.replace(al," "))}function Vy(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const s=qy(o[1]);if(s==="__proto__"||s==="constructor")continue;const r=Wy(o[2]||"");t[s]===void 0?t[s]=r:Array.isArray(t[s])?t[s].push(r):t[s]=[t[s],r]}return t}function zy(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${yi(e)}=${ma(n)}`).join("&"):`${yi(e)}=${ma(t)}`:yi(e)}function Ky(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>zy(t,e[t])).filter(Boolean).join("&")}const Gy=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Qy=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Jy=/^([/\\]\s*){2,}[^/\\]/,Yy=/^\.?\//;function qd(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Gy.test(e):Qy.test(e)||(t.acceptRelative?Jy.test(e):!1)}function Xy(e="",t){return e.endsWith("/")}function Zy(e="",t){return(Xy(e)?e.slice(0,-1):e)||"/"}function ev(e="",t){return e.endsWith("/")?e:e+"/"}function tv(e,t){if(ov(t)||qd(e))return e;const n=Zy(t);if(e.startsWith(n)){const o=e[n.length];if(!o||o==="/"||o==="?")return e}return rv(n,e)}function nv(e,t){const n=iv(e),o={...Vy(n.search),...t};return n.search=Ky(o),av(n)}function ov(e){return!e||e==="/"}function sv(e){return e&&e!=="/"}function rv(e,...t){let n=e||"";for(const o of t.filter(s=>sv(s)))if(n){const s=o.replace(Yy,"");n=ev(n)+s}else n=o;return n}const Wd=Symbol.for("ufo:protocolRelative");function iv(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!qd(e,{acceptRelative:!0}))return vc(e);const[,o="",s,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=r.match(/([^#/?]*)(.*)?/)||[];o==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=vc(a);return{protocol:o.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:u,hash:c,[Wd]:!o}}function vc(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function av(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",s=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[Wd]?(e.protocol||"")+"//":"")+s+r+t+n+o}class lv extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function cv(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",o=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(o)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${r}${t?` ${t}`:""}`,a=new lv(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[u]}});return a}const uv=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function bc(e="GET"){return uv.has(e.toUpperCase())}function fv(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const dv=new Set(["image/svg","application/xml","application/xhtml","application/html"]),pv=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function hv(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return pv.test(t)?"json":t==="text/event-stream"?"stream":dv.has(t)||t.startsWith("text/")?"text":"blob"}function mv(e,t,n,o){const s=gv(t?.headers??e?.headers,n?.headers,o);let r;return(n?.query||n?.params||t?.params||t?.query)&&(r={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:r,params:r,headers:s}}function gv(e,t,n){if(!t)return new n(e);const o=new n(t);if(e)for(const[s,r]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))o.set(s,r);return o}async function Os(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const yv=new Set([408,409,425,429,500,502,503,504]),vv=new Set([101,204,205,304]);function Vd(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=bc(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):yv.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),r(a.request,{...a.options,retry:c-1})}}const u=cv(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,r),u}const r=async function(l,u={}){const c={request:l,options:mv(l,u,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await Os(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=tv(c.request,c.options.baseURL)),c.options.query&&(c.request=nv(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&bc(c.options.method))if(fv(c.options.body)){const p=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=p==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),p||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let f;if(!c.options.signal&&c.options.timeout){const p=new o;f=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,p.abort(m)},c.options.timeout),c.options.signal=p.signal}try{c.response=await t(c.request,c.options)}catch(p){return c.error=p,c.options.onRequestError&&await Os(c,c.options.onRequestError),await s(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!vv.has(c.response.status)&&c.options.method!=="HEAD"){const p=(c.options.parseResponse?"json":c.options.responseType)||hv(c.response.headers.get("content-type")||"");switch(p){case"json":{const m=await c.response.text(),h=c.options.parseResponse||Iy;c.response._data=h(m);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[p]()}}return c.options.onResponse&&await Os(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Os(c,c.options.onResponseError),await s(c)):c.response},i=async function(l,u){return(await r(l,u))._data};return i.raw=r,i.native=(...a)=>t(...a),i.create=(a={},l={})=>Vd({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const mr=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),bv=mr.fetch?(...e)=>mr.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),wv=mr.Headers,_v=mr.AbortController,Ev=Vd({fetch:bv,Headers:wv,AbortController:_v}),Sv=Ev,zd=/#/g,Kd=/&/g,xv=/\//g,Cv=/=/g,Tv=/\?/g,Wr=/\+/g,Av=/%5e/gi,$v=/%60/gi,kv=/%7c/gi,Pv=/%20/gi,Ov=/%2f/gi,Rv=/%252f/gi;function Gd(e){return encodeURI(""+e).replace(kv,"|")}function ga(e){return Gd(typeof e=="string"?e:JSON.stringify(e)).replace(Wr,"%2B").replace(Pv,"+").replace(zd,"%23").replace(Kd,"%26").replace($v,"`").replace(Av,"^").replace(xv,"%2F")}function vi(e){return ga(e).replace(Cv,"%3D")}function Iv(e){return Gd(e).replace(zd,"%23").replace(Tv,"%3F").replace(Rv,"%2F").replace(Kd,"%26").replace(Wr,"%2B")}function cs(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Mv(e){return cs(e.replace(Ov,"%252F"))}function Nv(e){return cs(e.replace(Wr," "))}function Dv(e){return cs(e.replace(Wr," "))}function Qd(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const s=Nv(o[1]);if(s==="__proto__"||s==="constructor")continue;const r=Dv(o[2]||"");t[s]===void 0?t[s]=r:Array.isArray(t[s])?t[s].push(r):t[s]=[t[s],r]}return t}function Lv(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${vi(e)}=${ga(n)}`).join("&"):`${vi(e)}=${ga(t)}`:vi(e)}function jv(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Lv(t,e[t])).filter(Boolean).join("&")}const Hv=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Fv=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Bv=/^([/\\]\s*){2,}[^/\\]/,Uv=/^[\s\0]*(blob|data|javascript|vbscript):$/i,qv=/\/$|\/\?|\/#/,Wv=/^\.?\//;function bs(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Hv.test(e):Fv.test(e)||(t.acceptRelative?Bv.test(e):!1)}function Vv(e){return!!e&&Uv.test(e)}function ya(e="",t){return t?qv.test(e):e.endsWith("/")}function va(e="",t){if(!t)return(ya(e)?e.slice(0,-1):e)||"/";if(!ya(e,!0))return e||"/";let n=e,o="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),o=e.slice(s));const[r,...i]=n.split("?");return((r.endsWith("/")?r.slice(0,-1):r)||"/")+(i.length>0?`?${i.join("?")}`:"")+o}function zv(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ya(e,!0))return e||"/";let n=e,o="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),o=e.slice(s),!n))return o;const[r,...i]=n.split("?");return r+"/"+(i.length>0?`?${i.join("?")}`:"")+o}function wc(e,t){if(Gv(t))return e;const n=va(t);if(!e.startsWith(n))return e;const o=e[n.length];return o&&o!=="/"&&o!=="?"?e:"/"+e.slice(n.length).replace(/^\/+/,"")}function Kv(e,t){const n=Vr(e),o={...Qd(n.search),...t};return n.search=jv(o),Yv(n)}function Gv(e){return!e||e==="/"}function Qv(e){return e&&e!=="/"}function Jv(e,...t){let n=e||"";for(const o of t.filter(s=>Qv(s)))if(n){const s=o.replace(Wv,"");n=zv(n)+s}else n=o;return n}function Jd(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),o=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[a,l]of i.split(t).entries())if(!(!l||l===".")){if(l===".."){if(o.length===1&&bs(o[0]))continue;o.pop(),s--;continue}if(a===1&&o[o.length-1]?.endsWith(":/")){o[o.length-1]+="/"+l;continue}o.push(l),s++}}let r=o.join("/");return s>=0?n[0]?.startsWith("/")&&!r.startsWith("/")?r="/"+r:n[0]?.startsWith("./")&&!r.startsWith("./")&&(r="./"+r):r="../".repeat(-1*s)+r,n[n.length-1]?.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function Yd(e,t){return cs(va(e))===cs(va(t))}const Xd=Symbol.for("ufo:protocolRelative");function Vr(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!bs(e,{acceptRelative:!0}))return t?Vr(t+e):_c(e);const[,o="",s,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=r.match(/([^#/?]*)(.*)?/)||[];o==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=_c(a);return{protocol:o.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:u,hash:c,[Xd]:!o}}function _c(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function Yv(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",s=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[Xd]?(e.protocol||"")+"//":"")+s+r+t+n+o}const Xv=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,ll=()=>Xv().app,Zv=()=>ll().baseURL,eb=()=>ll().buildAssetsDir,cl=(...e)=>Jd(Zd(),eb(),...e),Zd=(...e)=>{const t=ll(),n=t.cdnURL||t.baseURL;return e.length?Jd(n,...e):n};globalThis.__buildAssetsURL=cl,globalThis.__publicAssetsURL=Zd;globalThis.$fetch||(globalThis.$fetch=Sv.create({baseURL:Zv()}));"global"in globalThis||(globalThis.global=globalThis);function ba(e,t={},n){for(const o in e){const s=e[o],r=n?`${n}:${o}`:o;typeof s=="object"&&s!==null?ba(s,t,r):typeof s=="function"&&(t[r]=s)}return t}const ep=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function tp(e,t,n,o){for(let s=n;s<e.length;s+=1)try{const r=o?o.run(()=>e[s](...t)):e[s](...t);if(r&&typeof r.then=="function")return Promise.resolve(r).then(()=>tp(e,t,s+1,o))}catch(r){return Promise.reject(r)}}function tb(e,t,n){if(e.length>0)return tp(e,t,0,ep(n))}function nb(e,t,n){if(e.length>0){const o=ep(n);return Promise.all(e.map(s=>o.run(()=>s(...t))))}}function bi(e,t){for(const n of[...e])n(t)}var ob=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const o=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let r=s.message;r||(r=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(r)||(console.warn(r),this._deprecatedMessages.add(r))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,o=(...s)=>(typeof n=="function"&&n(),n=void 0,o=void 0,t(...s));return n=this.hook(e,o),n}removeHook(e,t){const n=this._hooks[e];if(n){const o=n.indexOf(t);o!==-1&&n.splice(o,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const o of n)this.hook(e,o)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=ba(e),n=Object.keys(t).map(o=>this.hook(o,t[o]));return()=>{for(const o of n)o();n.length=0}}removeHooks(e){const t=ba(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(tb,e,t)}callHookParallel(e,...t){return this.callHookWith(nb,e,t)}callHookWith(e,t,n){const o=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&bi(this._before,o);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&o&&bi(this._after,o)}):(this._after&&o&&bi(this._after,o),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function np(){return new ob}function sb(e={}){let t,n=!1;const o=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const r=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=r();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>r(),set:(i,a)=>{a||o(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{o(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},u=()=>t===i?l:void 0;wa.add(u);try{const c=s?s.run(i,a):a();return n||(t=void 0),await c}finally{wa.delete(u)}}}}function rb(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=sb({...e,...o})),t[n]}}}const gr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ec="__unctx__",ib=gr[Ec]||(gr[Ec]=rb()),ab=(e,t={})=>ib.get(e,t),Sc="__unctx_async_handlers__",wa=gr[Sc]||(gr[Sc]=new Set);function Jo(e){const t=[];for(const s of wa){const r=s();r&&t.push(r)}const n=()=>{for(const s of t)s()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(s=>{throw n(),s})),[o,n]}const xc=!1,lb=!1,Cc={id:"__nuxt-loader"},OA={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},cb="#__nuxt",op="nuxt-app",Tc=36e5,ub="vite:preloadError";function sp(e=op){return ab(e,{asyncContext:!1})}const fb="__nuxt_plugin";function db(e){let t=0;const n={_id:e.id||op||"nuxt-app",_scope:Ga(),provide:void 0,versions:{get nuxt(){return"4.4.6"},get vue(){return n.vueApp.version}},payload:Ft({...e.ssrContext?.payload||{},data:Ft({}),state:Et({}),once:new Set,_errors:Ft({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!Pr()?n._scope.run(()=>Ac(n,s)):Ac(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Ft({}),_state:Ft({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const r in s)switch(r){case"data":case"state":case"_errors":Object.assign(n.payload[r],s[r]);break;default:n.payload[r]=s[r]}}n.hooks=np(),n.hook=n.hooks.hook;{const s=n.hooks.callHook;n.hooks.callHook=(r,...i)=>Promise.resolve().then(()=>s(r,...i))}n.callHook=n.hooks.callHook,n.provide=(s,r)=>{const i="$"+s;Rs(n,i,r),Rs(n.vueApp.config.globalProperties,i,r)},Rs(n.vueApp,"$nuxt",n),Rs(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(ub,r=>{n.callHook("app:chunkError",{error:r.payload}),r.payload.message.includes("Unable to preload CSS")&&r.preventDefault()}),window.useNuxtApp||=qe;const s=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",s)}const o=n.payload.config;return n.provide("config",o),n}function pb(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function hb(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function mb(e,t){const n=new Set,o=[],s=[];let r,i=0;async function a(l){const u=l.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!n.has(c))??[];if(u.length>0)o.push([new Set(u),l]);else{const c=hb(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(o.map(async([f,d])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await a(d)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;r||=f});l.parallel?s.push(c):await c}}for(const l of t)pb(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(r)throw e.payload.error||r}function Qt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[fb]:!0,_name:t})}function Ac(e,t,n){const o=()=>t();return sp(e._id).set(e),e.vueApp.runWithContext(o)}function gb(e){let t;return Ao()&&(t=We()?.appContext.app.$nuxt),t||=sp(e).tryUse(),t||null}function qe(e){const t=gb(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function ul(e){return qe().$config}function Rs(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function wi(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function _a(e,t,n=".",o){if(!wi(t))return _a(e,{},n,o);const s={...t};for(const r of Object.keys(e)){if(r==="__proto__"||r==="constructor")continue;const i=e[r];i!=null&&(o&&o(s,r,i,n)||(Array.isArray(i)&&Array.isArray(s[r])?s[r]=[...i,...s[r]]:wi(i)&&wi(s[r])?s[r]=_a(i,s[r],(n?`${n}.`:"")+r.toString(),o):s[r]=i))}return s}function yb(e){return(...t)=>t.reduce((n,o)=>_a(n,o,"",e),{})}const fl=yb();function vb(e,t){try{return t in e}catch{return!1}}class $c extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ea(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=rp(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function bb(e){if(typeof e=="string")return new $c(e);if(wb(e))return e;const t=new $c(e.message??e.statusMessage??"",{cause:e.cause||e});if(vb(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Ea(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ea(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;rp(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function wb(e){return e?.constructor?.__h3_error__===!0}const _b=/[^\u0009\u0020-\u007E]/g;function rp(e=""){return e.replace(_b,"")}function Ea(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Eb=Symbol("layout-meta"),zr=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const ht=()=>qe()?.$router,dl=()=>Ao()?tt(zr,qe()._route):qe()._route;const Sb=()=>{try{if(qe()._processingMiddleware)return!0}catch{return!1}return!1},xb=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?Cb(e):ht().resolve(e).href;if(t?.open){const{target:u="_blank",windowFeatures:c={}}=t.open,f=[];for(const[d,p]of Object.entries(c))p!==void 0&&f.push(`${d.toLowerCase()}=${p}`);return open(n,u,f.join(", ")),Promise.resolve()}const o=bs(n,{acceptRelative:!0}),s=t?.external||o;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:u}=new URL(n,window.location.href);if(u&&Vv(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const r=Sb();if(!s&&r){if(t?.replace){if(typeof e=="string"){const{pathname:u,search:c,hash:f}=Vr(e);return{path:u,...c&&{query:Qd(c)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const i=ht(),a=qe();if(s)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,r?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const l=typeof e=="string"?Tb(e):e;return t?.replace?i.replace(l):i.push(l)};function Cb(e){return Kv(e.path||"",e.query||{})+(e.hash||"")}function Tb(e){const t=Vr(e);return Iv(Mv(t.pathname))+t.search+t.hash}const ip="__nuxt_error",Kr=()=>Hf(qe().payload,"error"),Fn=e=>{const t=Qn(e);try{const n=Kr();qe().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},Ab=async(e={})=>{const t=qe(),n=Kr();t.callHook("app:error:cleared",e),e.redirect&&await ht().replace(e.redirect),n.value=void 0},ap=e=>!!e&&typeof e=="object"&&ip in e,Qn=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=bb(e);return Object.defineProperty(t,ip,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t},$b=-1,kb=-2,Pb=-3,Ob=-4,Rb=-5,Ib=-6,Mb=-7,lp=2**32-1,Sa=lp-1;function Nb(e){return!(!Number.isInteger(e)||e<0||e>Sa)}function Db(e){return!(!Number.isInteger(e)||e<0||e>lp)}function Lb(e){return Uint8Array.fromBase64(e).buffer}function jb(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Hb(e){const t=atob(e),n=t.length,o=new Uint8Array(n);for(let s=0;s<n;s++)o[s]=t.charCodeAt(s);return o.buffer}const Fb=typeof Uint8Array.fromBase64=="function",Bb=typeof process=="object"&&process.versions?.node!==void 0,Ub=Fb?Lb:Bb?jb:Hb;function qb(e,t){return Wb(JSON.parse(e),t)}function Wb(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);let s=null;function r(i,a=!1){if(i===$b)return;if(i===Pb)return NaN;if(i===Ob)return 1/0;if(i===Rb)return-1/0;if(i===Ib)return-0;if(a||typeof i!="number")throw new Error("Invalid input");if(i in o)return o[i];const l=n[i];if(!l||typeof l!="object")o[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const u=l[0],c=t&&Object.hasOwn(t,u)?t[u]:void 0;if(c){let f=l[1];if(typeof f!="number"&&(f=n.push(l[1])-1),s??=new Set,s.has(f))throw new Error("Invalid circular reference");return s.add(f),o[i]=c(r(f)),s.delete(f),o[i]}switch(u){case"Date":o[i]=new Date(l[1]);break;case"Set":const f=new Set;o[i]=f;for(let m=1;m<l.length;m+=1)f.add(r(l[m]));break;case"Map":const d=new Map;o[i]=d;for(let m=1;m<l.length;m+=2)d.set(r(l[m]),r(l[m+1]));break;case"RegExp":o[i]=new RegExp(l[1],l[2]);break;case"Object":{const m=l[1];if(typeof n[m]=="object"&&n[m][0]!=="BigInt")throw new Error("Invalid input");o[i]=Object(r(m));break}case"BigInt":o[i]=BigInt(l[1]);break;case"null":const p=Object.create(null);o[i]=p;for(let m=1;m<l.length;m+=2){if(l[m]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");p[l[m]]=r(l[m+1])}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(n[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const m=globalThis[u],h=r(l[1]);o[i]=l[2]!==void 0?new m(h,l[2],l[3]):new m(h);break}case"ArrayBuffer":{const m=l[1];if(typeof m!="string")throw new Error("Invalid ArrayBuffer encoding");const h=Ub(m);o[i]=h;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const m=u.slice(9);o[i]=Temporal[m].from(l[1]);break}case"URL":{const m=new URL(l[1]);o[i]=m;break}case"URLSearchParams":{const m=new URLSearchParams(l[1]);o[i]=m;break}default:throw new Error(`Unknown type ${u}`)}}else if(l[0]===Mb){const u=l[1];if(!Db(u))throw new Error("Invalid input");const c=[];o[i]=c,c[Sa]=void 0,delete c[Sa];for(let f=2;f<l.length;f+=2){const d=l[f];if(!Nb(d)||d>=u)throw new Error("Invalid input");c[d]=r(l[f+1])}c.length=u}else{const u=new Array(l.length);o[i]=u;for(let c=0;c<l.length;c+=1){const f=l[c];f!==kb&&(u[c]=r(f))}}else{const u={};o[i]=u;for(const c of Object.keys(l)){if(c==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=l[c];u[c]=r(f)}}return o[i]}return r(0)}const Vb=new Set(["link","style","script","noscript"]),zb=new Set(["title","titleTemplate","script","style","noscript"]),xa=new Set(["base","meta","link","style","script","noscript"]),Kb=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Gb=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Qb=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Jb=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Yb=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Xb=["name","property","http-equiv"],Zb=new Set(["viewport","description","keywords","robots"]);function cp(e){const t=e.split(":");return t.length?Yb.has(t[1]):!1}function Ca(e){const{props:t,tag:n}=e;if(Gb.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||""}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const o of Xb)if(t[o]!==void 0){const s=t[o],r=s&&typeof s=="string"&&s.includes(":"),i=s&&Zb.has(s),l=!(r||i)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(zb.has(n)){const o=e.textContent||e.innerHTML;if(o)return`${n}:content:${o}`}}function up(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([o,s])=>`${o}:${String(s)}`).join(",")}`}function yr(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(r=>yr(r,t));if(s?.constructor===Object){const r={};for(const i of Object.keys(s))r[i]=yr(s[i],t,i);return r}return s}function ew(e,t){const n=e==="style"?new Map:new Set;function o(s){if(s==null||s===void 0)return;const r=String(s).trim();if(r)if(e==="style"){const[i,...a]=r.split(":").map(l=>l?l.trim():"");i&&a.length&&n.set(i,a.join(":"))}else r.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(o):o(t):Array.isArray(t)?t.forEach(s=>o(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,r])=>{r&&r!=="false"&&(e==="style"?n.set(String(s).trim(),String(r)):o(s))}),n}function fp(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=xa.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([o,s])=>{if(o==="__proto__"||o==="constructor"||o==="prototype")return;if(s===null){e.props[o]=null;return}if(o==="class"||o==="style"){e.props[o]=ew(o,s);return}if(Qb.has(o)){if((o==="textContent"||o==="innerHTML")&&typeof s=="object"){let u=t.type;if(t.type||(u="application/json"),!u?.endsWith("json")&&u!=="speculationrules")return;t.type=u,e.props.type=u,e[o]=JSON.stringify(s)}else e[o]=s;return}const r=o.startsWith("data-"),i=n&&!r?o.toLowerCase():o,a=String(s),l=e.tag==="meta"&&i==="content";a==="true"||a===""?e.props[i]=r||l?a:!0:!s&&r&&a==="false"?e.props[i]="false":s!==void 0&&(e.props[i]=s)}),e}function tw(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},o=fp({tag:e,props:{}},n);return o.key&&Vb.has(o.tag)&&(o.props["data-hid"]=o._h=o.key),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(s=>({...o,props:{...o.props,content:s}})):o}function nw(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,r)=>{for(let i=0;i<t.length;i++)r=t[i](s,r);return r};e=n(void 0,e);const o=[];return e=yr(e,n),Object.entries(e||{}).forEach(([s,r])=>{if(r!==void 0)for(const i of Array.isArray(r)?r:[r])o.push(tw(s,i))}),o.flat()}const kc=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Pc={base:-10,title:10},ow={critical:-8,high:-1,low:2},Oc={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},sw=/@import/,Io=e=>e===""||e===!0;function rw(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const o=ow[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Oc;if(t.tag in Pc)n=Pc[t.tag];else if(t.tag==="meta"){const r=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;r&&(n=Oc.meta[r])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const r=String(t.props.type);Io(t.props.async)?n=s.script.async:t.props.src&&!Io(t.props.defer)&&!Io(t.props.async)&&r!=="module"&&!r.endsWith("json")||t.innerHTML&&!r.endsWith("json")?n=s.script.sync:(Io(t.props.defer)&&t.props.src&&!Io(t.props.async)||r==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&sw.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+o}function Rc(e,t){const n=typeof t=="function"?t(e):t,o=n.key||String(e.plugins.size+1);e.plugins.get(o)||(e.plugins.set(o,n),e.hooks.addHooks(n.hooks||{}))}function iw(e={}){const t=np();t.addHooks(e.hooks||{});const n=!e.document,o=new Map,s=new Map,r=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:o,headEntries(){return[...o.values()]},use:a=>Rc(i,a),push(a,l){const u={...l||{}};delete u.head;const c=u._index??i._entryCount++,f={_i:c,input:a,options:u},d={_poll(p=!1){i.dirty=!0,!p&&r.add(c),t.callHook("entries:updated",i)},dispose(){o.delete(c)&&i.invalidate()},patch(p){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=p,o.set(c,f),d._poll())}};return d.patch(a),d},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);r.size;){const d=r.values().next().value;r.delete(d);const p=o.get(d);if(p){const m={tags:nw(p.input,e.propResolvers||[]).map(h=>Object.assign(h,p.options)),entry:p};await t.callHook("entries:normalize",m),p._tags=m.tags.map((h,b)=>(h._w=rw(i,h),h._p=(p._i<<10)+b,h._d=Ca(h),h._d||(h._h=up(h)),h))}}let l=!1;a.entries.flatMap(d=>(d._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(kc).reduce((d,p)=>{const m=p._d||p._h;if(!d.has(m))return d.set(m,p);const h=d.get(m);if((p?.tagDuplicateStrategy||(Jb.has(p.tag)?"merge":null)||(p.key&&p.key===h.key?"merge":null))==="merge"){const w={...h.props};Object.entries(p.props).forEach(([g,y])=>w[g]=g==="style"?new Map([...h.props.style||new Map,...y]):g==="class"?new Set([...h.props.class||new Set,...y]):y),d.set(m,{...p,props:w})}else p._p>>10===h._p>>10&&p.tag==="meta"&&cp(m)?(d.set(m,Object.assign([...Array.isArray(h)?h:[h],p],p)),l=!0):(p._w===h._w?p._p>h._p:p?._w<h?._w)&&d.set(m,p);return d},a.tagMap);const u=a.tagMap.get("title"),c=a.tagMap.get("titleTemplate");if(i._title=u?.textContent,c){const d=c?.textContent;if(i._titleTemplate=d,d){let p=typeof d=="function"?d(u?.textContent):d;typeof p=="string"&&!i.plugins.has("template-params")&&(p=p.replace("%s",u?.textContent||"")),u?p===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:p}):(c.tag="title",c.textContent=p)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(kc)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const d of a.tags){const{innerHTML:p,tag:m,props:h}=d;if(Kb.has(m)&&!(Object.keys(h).length===0&&!d.innerHTML&&!d.textContent)&&!(m==="meta"&&!h.content&&!h["http-equiv"]&&!h.charset)){if(m==="script"&&p){if(String(h.type).endsWith("json")){const b=typeof p=="string"?p:JSON.stringify(p);d.innerHTML=b.replace(/</g,"\\u003C")}else typeof p=="string"&&(d.innerHTML=p.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));d._d=Ca(d)}f.push(d)}}return f},invalidate(){for(const a of o.values())r.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(a=>Rc(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const aw=(e,t)=>Oe(t)?Se(t):t,pl="usehead";function lw(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(pl,e)}}.install}function cw(){if(Ao()){const e=tt(pl);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function uw(e,t={}){const n=t.head||cw();return n.ssr?n.push(e||{},t):fw(n,e,t)}function fw(e,t,n={}){const o=z(!1);let s;return $n(()=>{const i=o.value?{}:yr(t,aw);s?s.patch(i):s=e.push(i,n)}),We()&&($o(()=>{s.dispose()}),ed(()=>{o.value=!0}),Zf(()=>{o.value=!1})),s}function dw(e){const t=e||qe();return t.ssrContext?.head||t.runWithContext(()=>{if(Ao()){const n=tt(pl);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function pw(e,t={}){const n=t.head||dw(t.nuxt);return uw(e,{head:n,...t})}const hw=(e,t)=>[],mw=e=>fl({},...hw().map(t=>t.data).reverse()),gw=mw;let Xs;function yw(){let e;return e=$fetch(cl(`builds/meta/${ul().app.buildId}.json`),{responseType:"json"}).then(t=>{if(!t||typeof t!="object"||!Array.isArray(t.prerendered))throw new Error("[nuxt] Received malformed app manifest. Ensure that `builds/meta/*.json` is served as JSON by your hosting/proxy and not rewritten to an HTML fallback.");return t}),Xs=e,e.catch(t=>{Xs===e&&(Xs=void 0),console.error("[nuxt] Error fetching app manifest.",t)}),e}function vw(){return Xs||yw()}function dp(e){const t=typeof e=="string"?e:e.path;try{return gw(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function bw(e){return null}let Ln=null;async function ww(){if(Ln)return Ln;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await _w(e.textContent||""),n=e.dataset.src?await bw(e.dataset.src):void 0;return Ln={...t,...n,...window.__NUXT__},Ln.config?.public&&(Ln.config.public=Et(Ln.config.public)),Ln}async function _w(e){return await qb(e,qe()._payloadRevivers)}function Ew(e,t){qe()._payloadRevivers[e]=t}function Ic(e){try{return JSON.parse(e)}catch{return e}}const Sw=[["NuxtError",e=>Qn(e)],["EmptyShallowRef",e=>Ye(e==="_"?void 0:e==="0n"?BigInt(0):Ic(e))],["EmptyRef",e=>z(e==="_"?void 0:e==="0n"?BigInt(0):Ic(e))],["ShallowRef",e=>Ye(e)],["ShallowReactive",e=>Ft(e)],["Ref",e=>z(e)],["Reactive",e=>Et(e)]],xw=Qt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[o,s]of Sw)Ew(o,s);Object.assign(e.payload,([t,n]=Jo(()=>e.runWithContext(ww)),t=await t,n(),t)),delete window.__NUXT__}});async function hl(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const r=new Map,i=new Promise(p=>{e.resolveTags().then(m=>{p(m.map(h=>{const b=r.get(h._d)||0,w={tag:h,id:(b?`${h._d}:${b}`:h._d)||h._h,shouldRender:!0};return h._d&&cp(h._d)&&r.set(h._d,b+1),w}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const p of["body","head"]){const m=n[p]?.children;for(const h of m){const b=h.tagName.toLowerCase();if(!xa.has(b))continue;const w=fp({tag:b,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((g,y)=>(g[y]=h.getAttribute(y),g),{})||{}});if(w.key=h.getAttribute("data-hid")||void 0,w._d=Ca(w)||up(w),a.elMap.has(w._d)){let g=1,y=w._d;for(;a.elMap.has(y);)y=`${w._d}:${g++}`;a.elMap.set(y,h)}else a.elMap.set(w._d,h)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(p,m,h){const b=`${p}:${m}`;a.sideEffects[b]=h,delete a.pendingSideEffects[b]}function u({id:p,$el:m,tag:h}){const b=h.tag.endsWith("Attrs");a.elMap.set(p,m),b||(h.textContent&&h.textContent!==m.textContent&&(m.textContent=h.textContent),h.innerHTML&&h.innerHTML!==m.innerHTML&&(m.innerHTML=h.innerHTML),l(p,"el",()=>{m?.remove(),a.elMap.delete(p)}));for(const w in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,w))continue;const g=h.props[w];if(w.startsWith("on")&&typeof g=="function"){const v=m?.dataset;if(v&&v[`${w}fired`]){const _=w.slice(0,-5);g.call(m,new Event(_.substring(2)))}m.getAttribute(`data-${w}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:m).addEventListener(w.substring(2),g.bind(m)),m.setAttribute(`data-${w}`,""));continue}const y=`attr:${w}`;if(w==="class"){if(!g)continue;for(const v of g)b&&l(p,`${y}:${v}`,()=>m.classList.remove(v)),!m.classList.contains(v)&&m.classList.add(v)}else if(w==="style"){if(!g)continue;for(const[v,_]of g)l(p,`${y}:${v}`,()=>{m.style.removeProperty(v)}),m.style.setProperty(v,_)}else g!==!1&&g!==null&&(m.getAttribute(w)!==g&&m.setAttribute(w,g===!0?"":String(g)),b&&l(p,y,()=>m.removeAttribute(w)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const p of d){const{tag:m,shouldRender:h,id:b}=p;if(h){if(m.tag==="title"){n.title=m.textContent,l("title","",()=>n.title=a.title);continue}p.$el=p.$el||a.elMap.get(b),p.$el?u(p):xa.has(m.tag)&&c.push(p)}}for(const p of c){const m=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),u(p),f[m]=f[m]||n.createDocumentFragment(),f[m].appendChild(p.$el)}for(const p of d)await e.hooks.callHook("dom:renderTag",p,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const p in a.pendingSideEffects)a.pendingSideEffects[p]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Cw(e={}){const t=e.domOptions?.render||hl;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return iw({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Tw(e,t){let n=0;return()=>{const o=++n;t(()=>{n===o&&e()})}}function Aw(e={}){const t=Cw({domOptions:{render:Tw(()=>hl(t),n=>setTimeout(n,0))},...e});return t.install=lw(t),t}const $w={disableDefaults:!0},kw=Qt({name:"nuxt:head",enforce:"pre",setup(e){const t=Aw($w);e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await hl(t)};t.hooks.hook("dom:beforeRender",r=>{r.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o);const s=t.push.bind(t);t.push=((r,i)=>{const a=s(r,i),l=a.dispose.bind(a);return a.dispose=()=>{const u=e["~transitionPromise"];u?u.then(l):l()},a})}}});const io=typeof document<"u";function pp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Pw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&pp(e.default)}const ve=Object.assign;function _i(e,t){const n={};for(const o in t){const s=t[o];n[o]=It(s)?s.map(e):e(s)}return n}const Yo=()=>{},It=Array.isArray;function Mc(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}let Ie=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const hp=Symbol("");Ie.MATCHER_NOT_FOUND+"",Ie.NAVIGATION_GUARD_REDIRECT+"",Ie.NAVIGATION_ABORTED+"",Ie.NAVIGATION_CANCELLED+"",Ie.NAVIGATION_DUPLICATED+"";function _o(e,t){return ve(new Error,{type:e,[hp]:!0},t)}function Zt(e,t){return e instanceof Error&&hp in e&&(t==null||!!(e.type&t))}const Ow=["params","query","hash"];function Rw(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Ow)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const Iw=Symbol(""),Nc=Symbol(""),ml=Symbol(""),mp=Symbol(""),Ta=Symbol("");const gp=/#/g,Mw=/&/g,Nw=/\//g,Dw=/=/g,Lw=/\?/g,yp=/\+/g,jw=/%5B/g,Hw=/%5D/g,vp=/%5E/g,Fw=/%60/g,bp=/%7B/g,Bw=/%7C/g,wp=/%7D/g,Uw=/%20/g;function gl(e){return e==null?"":encodeURI(""+e).replace(Bw,"|").replace(jw,"[").replace(Hw,"]")}function qw(e){return gl(e).replace(bp,"{").replace(wp,"}").replace(vp,"^")}function Aa(e){return gl(e).replace(yp,"%2B").replace(Uw,"+").replace(gp,"%23").replace(Mw,"%26").replace(Fw,"`").replace(bp,"{").replace(wp,"}").replace(vp,"^")}function Ww(e){return Aa(e).replace(Dw,"%3D")}function Vw(e){return gl(e).replace(gp,"%23").replace(Lw,"%3F")}function zw(e){return Vw(e).replace(Nw,"%2F")}function vr(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Kw=/\/$/,Gw=e=>e.replace(Kw,"");function Ei(e,t,n="/"){let o,s={},r="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(o=t.slice(0,l),r=t.slice(l,a>0?a:t.length),s=e(r.slice(1))),a>=0&&(o=o||t.slice(0,a),i=t.slice(a,t.length)),o=Xw(o??t,n),{fullPath:o+r+i,path:o,query:s,hash:vr(i)}}function Qw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Dc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Jw(e,t,n){const o=t.matched.length-1,s=n.matched.length-1;return o>-1&&o===s&&Eo(t.matched[o],n.matched[s])&&_p(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Eo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _p(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Yw(e[n],t[n]))return!1;return!0}function Yw(e,t){return It(e)?Lc(e,t):It(t)?Lc(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Lc(e,t){return It(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function Xw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),s=o[o.length-1];(s===".."||s===".")&&o.push("");let r=n.length-1,i,a;for(i=0;i<o.length;i++)if(a=o[i],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+o.slice(i).join("/")}const bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let $a=(function(e){return e.pop="pop",e.push="push",e})({}),Si=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Zw(e){if(!e)if(io){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Gw(e)}const e_=/^[^#]+#/;function t_(e,t){return e.replace(e_,"#")+t}function n_(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Gr=()=>({left:window.scrollX,top:window.scrollY});function o_(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=n_(s,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 jc(e,t){return(history.state?history.state.position-t:-1)+e}const ka=new Map;function s_(e,t){ka.set(e,t)}function r_(e){const t=ka.get(e);return ka.delete(e),t}function i_(e){return typeof e=="string"||e&&typeof e=="object"}function Ep(e){return typeof e=="string"||typeof e=="symbol"}function a_(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const s=n[o].replace(yp," "),r=s.indexOf("="),i=vr(r<0?s:s.slice(0,r)),a=r<0?null:vr(s.slice(r+1));if(i in t){let l=t[i];It(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function Hc(e){let t="";for(let n in e){const o=e[n];if(n=Ww(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(It(o)?o.map(s=>s&&Aa(s)):[o&&Aa(o)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function l_(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=It(o)?o.map(s=>s==null?null:""+s):o==null?o:""+o)}return t}function Mo(){let e=[];function t(o){return e.push(o),()=>{const s=e.indexOf(o);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function _n(e,t,n,o,s,r=i=>i()){const i=o&&(o.enterCallbacks[s]=o.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(_o(Ie.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):i_(d)?l(_o(Ie.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(i&&o.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},c=r(()=>e.call(o&&o.instances[s],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function xi(e,t,n,o,s=r=>r()){const r=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(pp(l)){const u=(l.__vccOpts||l)[t];u&&r.push(_n(u,n,o,i,a,s))}else{let u=l();r.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=Pw(c)?c.default:c;i.mods[a]=c,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&_n(d,n,o,i,a,s)()}))}}return r}function c_(e,t){const n=[],o=[],s=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const a=t.matched[i];a&&(e.matched.find(u=>Eo(u,a))?o.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>Eo(u,l))||s.push(l))}return[n,o,s]}let u_=()=>location.protocol+"//"+location.host;function Sp(e,t){const{pathname:n,search:o,hash:s}=t,r=e.indexOf("#");if(r>-1){let i=s.includes(e.slice(r))?e.slice(r).length:1,a=s.slice(i);return a[0]!=="/"&&(a="/"+a),Dc(a,"")}return Dc(n,e)+o+s}function f_(e,t,n,o){let s=[],r=[],i=null;const a=({state:d})=>{const p=Sp(e,location),m=n.value,h=t.value;let b=0;if(d){if(n.value=p,t.value=d,i&&i===m){i=null;return}b=h?d.position-h.position:0}else o(p);s.forEach(w=>{w(n.value,m,{delta:b,type:$a.pop,direction:b?b>0?Si.forward:Si.back:Si.unknown})})};function l(){i=n.value}function u(d){s.push(d);const p=()=>{const m=s.indexOf(d);m>-1&&s.splice(m,1)};return r.push(p),p}function c(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(ve({},d.state,{scroll:Gr()}),"")}}function f(){for(const d of r)d();r=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function Fc(e,t,n,o=!1,s=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:s?Gr():null}}function d_(e){const{history:t,location:n}=window,o={value:Sp(e,n)},s={value:t.state};s.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:u_()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function i(l,u){r(l,ve({},t.state,Fc(s.value.back,l,s.value.forward,!0),u,{position:s.value.position}),!0),o.value=l}function a(l,u){const c=ve({},s.value,t.state,{forward:l,scroll:Gr()});r(c.current,c,!0),r(l,ve({},Fc(o.value,l,null),{position:c.position+1},u),!1),o.value=l}return{location:o,state:s,push:a,replace:i}}function p_(e){e=Zw(e);const t=d_(e),n=f_(e,t.state,t.location,t.replace);function o(r,i=!0){i||n.pauseListeners(),history.go(r)}const s=ve({location:"",base:e,go:o,createHref:t_.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let qn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Be=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Be||{});const h_={type:qn.Static,value:""},m_=/[a-zA-Z0-9_]/;function g_(e){if(!e)return[[]];if(e==="/")return[[h_]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=Be.Static,o=n;const s=[];let r;function i(){r&&s.push(r),r=[]}let a=0,l,u="",c="";function f(){u&&(n===Be.Static?r.push({type:qn.Static,value:u}):n===Be.Param||n===Be.ParamRegExp||n===Be.ParamRegExpEnd?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),r.push({type:qn.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;)switch(l=e[a++],n){case Be.Static:l==="\\"?(o=n,n=Be.EscapeNext):l==="/"?(u&&f(),i()):l===":"?(f(),n=Be.Param):d();break;case Be.EscapeNext:d(),n=o;break;case Be.Param:l==="("?n=Be.ParamRegExp:m_.test(l)?d():(f(),n=Be.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case Be.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=Be.ParamRegExpEnd:c+=l;break;case Be.ParamRegExpEnd:f(),n=Be.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}return n===Be.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),s}const Bc="[^/]+?",y_={sensitive:!1,strict:!1,start:!0,end:!0};var ot=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(ot||{});const v_=/[.+*?^${}()[\]/\\]/g;function b_(e,t){const n=ve({},y_,t),o=[];let s=n.start?"^":"";const r=[];for(const u of e){const c=u.length?[]:[ot.Root];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const d=u[f];let p=ot.Segment+(n.sensitive?ot.BonusCaseSensitive:0);if(d.type===qn.Static)f||(s+="/"),s+=d.value.replace(v_,"\\$&"),p+=ot.Static;else if(d.type===qn.Param){const{value:m,repeatable:h,optional:b,regexp:w}=d;r.push({name:m,repeatable:h,optional:b});const g=w||Bc;if(g!==Bc){p+=ot.BonusCustomRegExp;try{new RegExp(`(${g})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${m}" (${g}): `+v.message)}}let y=h?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;f||(y=b&&u.length<2?`(?:/${y})`:"/"+y),b&&(y+="?"),s+=y,p+=ot.Dynamic,b&&(p+=ot.BonusOptional),h&&(p+=ot.BonusRepeatable),g===".*"&&(p+=ot.BonusWildcard)}c.push(p)}o.push(c)}if(n.strict&&n.end){const u=o.length-1;o[u][o[u].length-1]+=ot.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(u){const c=u.match(i),f={};if(!c)return null;for(let d=1;d<c.length;d++){const p=c[d]||"",m=r[d-1];f[m.name]=p&&m.repeatable?p.split("/"):p}return f}function l(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const p of d)if(p.type===qn.Static)c+=p.value;else if(p.type===qn.Param){const{value:m,repeatable:h,optional:b}=p,w=m in u?u[m]:"";if(It(w)&&!h)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const g=It(w)?w.join("/"):w;if(!g)if(b)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);c+=g}}return c||"/"}return{re:i,score:o,keys:r,parse:a,stringify:l}}function w_(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===ot.Static+ot.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===ot.Static+ot.Segment?1:-1:0}function xp(e,t){let n=0;const o=e.score,s=t.score;for(;n<o.length&&n<s.length;){const r=w_(o[n],s[n]);if(r)return r;n++}if(Math.abs(s.length-o.length)===1){if(Uc(o))return 1;if(Uc(s))return-1}return s.length-o.length}function Uc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const __={strict:!1,end:!0,sensitive:!1};function E_(e,t,n){const o=b_(g_(e.path),n),s=ve(o,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function S_(e,t){const n=[],o=new Map;t=Mc(__,t);function s(f){return o.get(f)}function r(f,d,p){const m=!p,h=Wc(f);h.aliasOf=p&&p.record;const b=Mc(t,f),w=[h];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const _ of v)w.push(Wc(ve({},h,{components:p?p.record.components:h.components,path:_,aliasOf:p?p.record:h})))}let g,y;for(const v of w){const{path:_}=v;if(d&&_[0]!=="/"){const C=d.record.path,x=C[C.length-1]==="/"?"":"/";v.path=d.record.path+(_&&x+_)}if(g=E_(v,d,b),p?p.alias.push(g):(y=y||g,y!==g&&y.alias.push(g),m&&f.name&&!Vc(g)&&i(f.name)),Cp(g)&&l(g),h.children){const C=h.children;for(let x=0;x<C.length;x++)r(C[x],g,p&&p.children[x])}p=p||g}return y?()=>{i(y)}:Yo}function i(f){if(Ep(f)){const d=o.get(f);d&&(o.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&o.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=T_(f,n);n.splice(d,0,f),f.record.name&&!Vc(f)&&o.set(f.record.name,f)}function u(f,d){let p,m={},h,b;if("name"in f&&f.name){if(p=o.get(f.name),!p)throw _o(Ie.MATCHER_NOT_FOUND,{location:f});b=p.record.name,m=ve(qc(d.params,p.keys.filter(y=>!y.optional).concat(p.parent?p.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&qc(f.params,p.keys.map(y=>y.name))),h=p.stringify(m)}else if(f.path!=null)h=f.path,p=n.find(y=>y.re.test(h)),p&&(m=p.parse(h),b=p.record.name,p.keys.forEach(y=>{y.optional&&!m[y.name]&&delete m[y.name]}));else{if(p=d.name?o.get(d.name):n.find(y=>y.re.test(d.path)),!p)throw _o(Ie.MATCHER_NOT_FOUND,{location:f,currentLocation:d});b=p.record.name,m=ve({},d.params,f.params),h=p.stringify(m)}const w=[];let g=p;for(;g;)w.unshift(g.record),g=g.parent;return{name:b,path:h,params:m,matched:w,meta:C_(w)}}e.forEach(f=>r(f));function c(){n.length=0,o.clear()}return{addRoute:r,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:s}}function qc(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Wc(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:x_(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 x_(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Vc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function C_(e){return e.reduce((t,n)=>ve(t,n.meta),{})}function T_(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;xp(e,t[r])<0?o=r:n=r+1}const s=A_(e);return s&&(o=t.lastIndexOf(s,o-1)),o}function A_(e){let t=e;for(;t=t.parent;)if(Cp(t)&&xp(e,t)===0)return t}function Cp({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function zc(e){const t=tt(ml),n=tt(mp),o=q(()=>{const l=R(e.to);return t.resolve(l)}),s=q(()=>{const{matched:l}=o.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Eo.bind(null,c));if(d>-1)return d;const p=Kc(l[u-2]);return u>1&&Kc(c)===p&&f[f.length-1].path!==p?f.findIndex(Eo.bind(null,l[u-2])):d}),r=q(()=>s.value>-1&&R_(n.params,o.value.params)),i=q(()=>s.value>-1&&s.value===n.matched.length-1&&_p(n.params,o.value.params));function a(l={}){if(O_(l)){const u=t[R(e.replace)?"replace":"push"](R(e.to)).catch(Yo);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:o,href:q(()=>o.value.href),isActive:r,isExactActive:i,navigate:a}}function $_(e){return e.length===1?e[0]:e}const k_=de({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"},viewTransition:Boolean},useLink:zc,setup(e,{slots:t}){const n=Et(zc(e)),{options:o}=tt(ml),s=q(()=>({[Gc(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Gc(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&$_(t.default(n));return e.custom?r:Qe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},r)}}}),P_=k_;function O_(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 R_(e,t){for(const n in t){const o=t[n],s=e[n];if(typeof o=="string"){if(o!==s)return!1}else if(!It(s)||s.length!==o.length||o.some((r,i)=>r.valueOf()!==s[i].valueOf()))return!1}return!0}function Kc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Gc=(e,t,n)=>e??t??n,I_=de({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=tt(Ta),s=q(()=>e.route||o.value),r=tt(Nc,0),i=q(()=>{let u=R(r);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=q(()=>s.value.matched[i.value]);zn(Nc,q(()=>i.value+1)),zn(Iw,a),zn(Ta,s);const l=z();return Re(()=>[l.value,a.value,e.name],([u,c,f],[d,p,m])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!Eo(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(h=>h(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Qc(n.default,{Component:d,route:u});const p=f.props[c],m=p?p===!0?u.params:typeof p=="function"?p(u):p:null,b=Qe(d,ve({},m,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Qc(n.default,{Component:b,route:u})||b}}});function Qc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Tp=I_;function M_(e){const t=S_(e.routes,e),n=e.parseQuery||a_,o=e.stringifyQuery||Hc,s=e.history,r=Mo(),i=Mo(),a=Mo(),l=Ye(bt);let u=bt;io&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=_i.bind(null,N=>""+N),f=_i.bind(null,zw),d=_i.bind(null,vr);function p(N,Z){let J,oe;return Ep(N)?(J=t.getRecordMatcher(N),oe=Z):oe=N,t.addRoute(oe,J)}function m(N){const Z=t.getRecordMatcher(N);Z&&t.removeRoute(Z)}function h(){return t.getRoutes().map(N=>N.record)}function b(N){return!!t.getRecordMatcher(N)}function w(N,Z){if(Z=ve({},Z||l.value),typeof N=="string"){const S=Ei(n,N,Z.path),$=t.resolve({path:S.path},Z),L=s.createHref(S.fullPath);return ve(S,$,{params:d($.params),redirectedFrom:void 0,href:L})}let J;if(N.path!=null)J=ve({},N,{path:Ei(n,N.path,Z.path).path});else{const S=ve({},N.params);for(const $ in S)S[$]==null&&delete S[$];J=ve({},N,{params:f(S)}),Z.params=f(Z.params)}const oe=t.resolve(J,Z),fe=N.hash||"";oe.params=c(d(oe.params));const ke=Qw(o,ve({},N,{hash:qw(fe),path:oe.path})),E=s.createHref(ke);return ve({fullPath:ke,hash:fe,query:o===Hc?l_(N.query):N.query||{}},oe,{redirectedFrom:void 0,href:E})}function g(N){return typeof N=="string"?Ei(n,N,l.value.path):ve({},N)}function y(N,Z){if(u!==N)return _o(Ie.NAVIGATION_CANCELLED,{from:Z,to:N})}function v(N){return x(N)}function _(N){return v(ve(g(N),{replace:!0}))}function C(N,Z){const J=N.matched[N.matched.length-1];if(J&&J.redirect){const{redirect:oe}=J;let fe=typeof oe=="function"?oe(N,Z):oe;return typeof fe=="string"&&(fe=fe.includes("?")||fe.includes("#")?fe=g(fe):{path:fe},fe.params={}),ve({query:N.query,hash:N.hash,params:fe.path!=null?{}:N.params},fe)}}function x(N,Z){const J=u=w(N),oe=l.value,fe=N.state,ke=N.force,E=N.replace===!0,S=C(J,oe);if(S)return x(ve(g(S),{state:typeof S=="object"?ve({},fe,S.state):fe,force:ke,replace:E}),Z||J);const $=J;$.redirectedFrom=Z;let L;return!ke&&Jw(o,oe,J)&&(L=_o(Ie.NAVIGATION_DUPLICATED,{to:$,from:oe}),mt(oe,oe,!0,!1)),(L?Promise.resolve(L):P($,oe)).catch(M=>Zt(M)?Zt(M,Ie.NAVIGATION_GUARD_REDIRECT)?M:lt(M):V(M,$,oe)).then(M=>{if(M){if(Zt(M,Ie.NAVIGATION_GUARD_REDIRECT))return x(ve({replace:E},g(M.to),{state:typeof M.to=="object"?ve({},fe,M.to.state):fe,force:ke}),Z||$)}else M=O($,oe,!0,E,fe);return F($,oe,M),M})}function T(N,Z){const J=y(N,Z);return J?Promise.reject(J):Promise.resolve()}function A(N){const Z=Xn.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(N):N()}function P(N,Z){let J;const[oe,fe,ke]=c_(N,Z);J=xi(oe.reverse(),"beforeRouteLeave",N,Z);for(const S of oe)S.leaveGuards.forEach($=>{J.push(_n($,N,Z))});const E=T.bind(null,N,Z);return J.push(E),gt(J).then(()=>{J=[];for(const S of r.list())J.push(_n(S,N,Z));return J.push(E),gt(J)}).then(()=>{J=xi(fe,"beforeRouteUpdate",N,Z);for(const S of fe)S.updateGuards.forEach($=>{J.push(_n($,N,Z))});return J.push(E),gt(J)}).then(()=>{J=[];for(const S of ke)if(S.beforeEnter)if(It(S.beforeEnter))for(const $ of S.beforeEnter)J.push(_n($,N,Z));else J.push(_n(S.beforeEnter,N,Z));return J.push(E),gt(J)}).then(()=>(N.matched.forEach(S=>S.enterCallbacks={}),J=xi(ke,"beforeRouteEnter",N,Z,A),J.push(E),gt(J))).then(()=>{J=[];for(const S of i.list())J.push(_n(S,N,Z));return J.push(E),gt(J)}).catch(S=>Zt(S,Ie.NAVIGATION_CANCELLED)?S:Promise.reject(S))}function F(N,Z,J){a.list().forEach(oe=>A(()=>oe(N,Z,J)))}function O(N,Z,J,oe,fe){const ke=y(N,Z);if(ke)return ke;const E=Z===bt,S=io?history.state:{};J&&(oe||E?s.replace(N.fullPath,ve({scroll:E&&S&&S.scroll},fe)):s.push(N.fullPath,fe)),l.value=N,mt(N,Z,J,E),lt()}let U;function k(){U||(U=s.listen((N,Z,J)=>{if(!In.listening)return;const oe=w(N),fe=C(oe,In.currentRoute.value);if(fe){x(ve(fe,{replace:!0,force:!0}),oe).catch(Yo);return}u=oe;const ke=l.value;io&&s_(jc(ke.fullPath,J.delta),Gr()),P(oe,ke).catch(E=>Zt(E,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_CANCELLED)?E:Zt(E,Ie.NAVIGATION_GUARD_REDIRECT)?(x(ve(g(E.to),{force:!0}),oe).then(S=>{Zt(S,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_DUPLICATED)&&!J.delta&&J.type===$a.pop&&s.go(-1,!1)}).catch(Yo),Promise.reject()):(J.delta&&s.go(-J.delta,!1),V(E,oe,ke))).then(E=>{E=E||O(oe,ke,!1),E&&(J.delta&&!Zt(E,Ie.NAVIGATION_CANCELLED)?s.go(-J.delta,!1):J.type===$a.pop&&Zt(E,Ie.NAVIGATION_ABORTED|Ie.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),F(oe,ke,E)}).catch(Yo)}))}let W=Mo(),B=Mo(),Y;function V(N,Z,J){lt(N);const oe=B.list();return oe.length?oe.forEach(fe=>fe(N,Z,J)):console.error(N),Promise.reject(N)}function ie(){return Y&&l.value!==bt?Promise.resolve():new Promise((N,Z)=>{W.add([N,Z])})}function lt(N){return Y||(Y=!N,k(),W.list().forEach(([Z,J])=>N?J(N):Z()),W.reset()),N}function mt(N,Z,J,oe){const{scrollBehavior:fe}=e;if(!io||!fe)return Promise.resolve();const ke=!J&&r_(jc(N.fullPath,0))||(oe||!J)&&history.state&&history.state.scroll||null;return Xe().then(()=>fe(N,Z,ke)).then(E=>E&&o_(E)).catch(E=>V(E,N,Z))}const Ve=N=>s.go(N);let pn;const Xn=new Set,In={currentRoute:l,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:h,resolve:w,options:e,push:v,replace:_,go:Ve,back:()=>Ve(-1),forward:()=>Ve(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:B.add,isReady:ie,install(N){N.component("RouterLink",P_),N.component("RouterView",Tp),N.config.globalProperties.$router=In,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>R(l)}),io&&!pn&&l.value===bt&&(pn=!0,v(s.location).catch(oe=>{}));const Z={};for(const oe in bt)Object.defineProperty(Z,oe,{get:()=>l.value[oe],enumerable:!0});N.provide(ml,In),N.provide(mp,Ft(Z)),N.provide(Ta,l);const J=N.unmount;Xn.add(N),N.unmount=function(){Xn.delete(N),Xn.size<1&&(u=bt,U&&U(),U=null,l.value=bt,pn=!1,Y=!1),J()}}};function gt(N){return N.reduce((Z,J)=>Z.then(()=>A(J)),Promise.resolve())}return In}const N_=/(:\w+)\([^)]+\)/g,D_=/(:\w+)[?+*]/g,L_=/:\w+/g,j_=(e,t)=>t.path.replace(N_,"$1").replace(D_,"$1").replace(L_,n=>e.params[n.slice(1)]?.toString()||""),Pa=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),o=t??n?.meta.key??(n&&j_(e.route,n));return typeof o=="function"?o(e.route):o},H_=(e,t)=>({default:()=>e?Qe(tg,e===!0?{}:e,t):t});function Ap(e){return Array.isArray(e)?e:[e]}const F_="modulepreload",B_=function(e,t){return new URL(e,t).href},Jc={},Sn=function(t,n,o){let s=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");s=u(n.map(c=>{if(c=B_(c,o),c in Jc)return;Jc[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(o)for(let m=i.length-1;m>=0;m--){const h=i[m];if(h.href===c&&(!f||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":F_,f||(p.as="script"),p.crossOrigin="",p.href=c,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((m,h)=>{p.addEventListener("load",m),p.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&r(a.reason);return t().catch(r)})},U_={key:e=>`/${e.params.owner}/${e.params.repo}`},Ci=[{name:"queue",path:"/queue",component:()=>Sn(()=>import("./Dc-i7Zfu.js"),__vite__mapDeps([0,1,2]),import.meta.url)},{name:"recent",path:"/recent",component:()=>Sn(()=>import("./D0jeqgqx.js"),__vite__mapDeps([3,1,2,4,5,6]),import.meta.url)},{name:"owner-repo-number",path:"/:owner()/:repo()/:number?",meta:U_||{},component:()=>Sn(()=>import("./BO53GVu8.js"),__vite__mapDeps([7,8,1,2,4,5]),import.meta.url)},{name:"number",path:"/:number()",component:()=>Sn(()=>import("./DS2KJUFh.js"),__vite__mapDeps([9,8,1,2,4,5]),import.meta.url)},{name:"index",path:"/",component:()=>Sn(()=>import("./Dl1uYT3n.js").then(e=>e.i),__vite__mapDeps([10,1,2,4,5,8,11]),import.meta.url)},{path:"/hub",name:"hub-redirect",redirect:"/"},{path:"/hub/recent",name:"hub-recent-redirect",redirect:"/recent"},{path:"/hub/queue",name:"hub-queue-redirect",redirect:"/queue"}],q_=(e,t)=>({default:()=>e?Qe(Nd,e===!0?{}:e,t):t.default?.()}),W_=/(:\w+)\([^)]+\)/g,V_=/(:\w+)[?+*]/g,z_=/:\w+/g;function Yc(e){const t=e?.meta.key??e.path.replace(W_,"$1").replace(V_,"$1").replace(z_,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function K_(e,t){return e===t||t===bt?!1:Yc(e)!==Yc(t)?!0:!e.matched.every((o,s)=>o.components&&o.components.default===t.matched[s]?.components?.default)}function Xc(e){return Array.isArray(e)?e:[e]}function G_(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Xc(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Xc(n.onBeforeLeave):void 0});return fl(...t)}const Q_={scrollBehavior(e,t,n){const o=qe(),s=ht().options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:$p(e.hash),behavior:s}:!1:(typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===bt?Zc(e,t,n,s):new Promise(i=>{const a=()=>{requestAnimationFrame(()=>i(Zc(e,t,n,s)))};o.hooks.hookOnce("page:loading:end",()=>{const l=o["~transitionPromise"];l?l.then(a):a()})})}};function $p(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function Zc(e,t,n,o){return n||(e.hash?{el:e.hash,top:$p(e.hash),behavior:K_(e,t)?o:"instant"}:{left:0,top:0})}const J_={hashMode:!1,scrollBehaviorType:"auto"},mn={...J_,...Q_},Y_=async(e,t)=>{let n,o;if(!e.meta?.validate)return;const s=([n,o]=Jo(()=>Promise.resolve(e.meta.validate(e))),n=await n,o(),n);if(s===!0)return;const r=Qn({fatal:!0,status:s&&(s.status||s.statusCode)||404,statusText:s&&(s.statusText||s.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),r},X_=e=>{const t=e.path.match(/^\/([^/]+)\/([^/]+)\/(?:issues|pull|pulls)\/(\d+)\/?$/);if(t)return xb(`/${t[1]}/${t[2]}/${t[3]}`,{replace:!0})},Z_=e=>{const t=dp({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return bs(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},e0=[Y_,X_,Z_],Oa={};function t0(e,t,n){const{pathname:o,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){const u=r.includes(e.slice(i))?e.slice(i).length:1;let c=r.slice(u);return c[0]!=="/"&&(c="/"+c),wc(c,"")}const a=wc(o,e),l=!n||Yd(a,n)?a:n;return l+(l.includes("?")?"":s)+r}const n0=Qt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,o=ul().app.baseURL;const s=mn.history?.(o)??p_(o),r=mn.routes?([t,n]=Jo(()=>mn.routes(Ci)),t=await t,n(),t??Ci):Ci;let i;const a=M_({...mn,scrollBehavior:(w,g,y)=>{if(g===bt){i=y;return}if(mn.scrollBehavior){if(a.options.scrollBehavior=mn.scrollBehavior,"scrollRestoration"in window.history){const v=a.beforeEach(()=>{v(),window.history.scrollRestoration="manual"})}return mn.scrollBehavior(w,bt,i||y)}},history:s,routes:r});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=Ye(a.currentRoute.value);a.afterEach((w,g)=>{l.value=g}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=t0(o,window.location,e.payload.path),c=Ye(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};a.afterEach((w,g)=>{const y=w.matched.at(-1)?.components?.default,v=g.matched.at(-1)?.components?.default;if(y===v){f();return}w.matched.length<g.matched.length&&w.matched.every((_,C)=>_.components?.default===g.matched[C]?.components?.default)&&f()});const d={sync:f};for(const w in c.value)Object.defineProperty(d,w,{get:()=>c.value[w],enumerable:!0});e._route=Ft(d),e._middleware||={global:[],named:{}};const p=Kr();a.afterEach(async(w,g,y)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(Ab),y&&await e.callHook("page:loading:end")});try{[t,n]=Jo(()=>a.isReady()),await t,n()}catch(w){[t,n]=Jo(()=>e.runWithContext(()=>Fn(w))),await t,n()}const m=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value,h=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&u!==e.payload.path&&Yd(a.currentRoute.value.path,e.payload.path);f();const b=e.payload.state._layout;return a.beforeEach(async(w,g)=>{await e.callHook("page:loading:start"),w.meta=Et(w.meta),e.isHydrating&&b&&!zt(w.meta.layout)&&(w.meta.layout=b),e._processingMiddleware=!0;{const y=new Set([...e0,...e._middleware.global]);for(const _ of w.matched){const C=_.meta.middleware;if(C)for(const x of Ap(C))y.add(x)}const v=dp({path:w.path});if(v.appMiddleware)for(const _ in v.appMiddleware)v.appMiddleware[_]?y.add(_):y.delete(_);for(const _ of y){const C=typeof _=="string"?e._middleware.named[_]||await Oa[_]?.().then(x=>x.default||x):_;if(!C)throw new Error(`Unknown route middleware: '${_}'.`);try{const x=await e.runWithContext(()=>C(w,g));if(!e.payload.serverRendered&&e.isHydrating&&(x===!1||x instanceof Error)){const T=x||Qn({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>Fn(T)),!1}if(x===!0)continue;if(x===!1)return x;if(x)return ap(x)&&x.fatal&&await e.runWithContext(()=>Fn(x)),x}catch(x){const T=Qn(x);return T.fatal&&await e.runWithContext(()=>Fn(T)),T}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(w=>{if(w.matched.length===0&&!p.value)return e.runWithContext(()=>Fn(Qn({status:404,fatal:!1,statusText:`Page not found: ${w.fullPath}`,data:{path:w.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{if("name"in m&&(m.name=void 0),h){const w=a.resolve(e.payload.path);"name"in w&&(w.name=void 0),await a.replace({...w,force:!0}),e.hooks.hookOnce("app:suspense:resolve",async()=>{await a.replace({...m,force:!0})})}else await a.replace({...m,force:!0});a.options.scrollBehavior=mn.scrollBehavior}catch(w){await e.runWithContext(()=>Fn(w))}}),{provide:{router:a}}}}),eu=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),RA=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),kp=e=>{const t=qe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{eu(()=>e())}):eu(()=>e())},o0=Qt(()=>{const e=ht();kp(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),s0=Qt(e=>{let t;async function n(){let o;try{o=await vw()}catch(s){const r=s;if(!("status"in r&&(r.status===404||r.status===403)))throw r}t&&clearTimeout(t),t=setTimeout(n,Tc);try{const s=await $fetch(cl("builds/latest.json")+`?${Date.now()}`);s.id!==o?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}kp(()=>{t=setTimeout(n,Tc)})});function r0(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:qe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const i0=Qt({name:"nuxt:chunk-reload",setup(e){const t=ht(),n=ul(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:r})=>{o.add(r)});function s(r){const i=Jv(n.app.baseURL,r.fullPath);r0({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((r,i)=>{o.has(r)&&s(i)})}}),a0=Qt({name:"nuxt:global-components"}),Is={};function l0(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function c0(e,t=ht()){const{path:n,matched:o}=t.resolve(e);if(!o.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>c0(e,t));t._routePreloaded.add(n);for(const r of o){const i=r.components?.default;if(typeof i!="function")continue;const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a),1));s.push(a)}await Promise.all(s)}const u0=Qt({name:"nuxt:prefetch",setup(e){const t=ht();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const o=n?.meta?.layout;o&&typeof Is[o]=="function"&&await Is[o]()})}),e.hooks.hook("link:prefetch",n=>{if(bs(n))return;const o=t.resolve(n);if(!o)return;const s=o.meta.layout;let r=Ap(o.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof Oa[i]=="function"&&Oa[i]();typeof s=="string"&&s in Is&&l0(Is[s])})}}),f0=Qt(()=>{}),d0=["top","right","bottom","left"],tu=["start","end"],nu=d0.reduce((e,t)=>e.concat(t,t+"-"+tu[0],t+"-"+tu[1]),[]),us=Math.min,Bn=Math.max,p0={left:"right",right:"left",bottom:"top",top:"bottom"};function Ra(e,t,n){return Bn(e,us(t,n))}function Yn(e,t){return typeof e=="function"?e(t):e}function Gt(e){return e.split("-")[0]}function kt(e){return e.split("-")[1]}function Pp(e){return e==="x"?"y":"x"}function yl(e){return e==="y"?"height":"width"}function sn(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function vl(e){return Pp(sn(e))}function Op(e,t,n){n===void 0&&(n=!1);const o=kt(e),s=vl(e),r=yl(s);let i=s==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(i=wr(i)),[i,wr(i)]}function h0(e){const t=wr(e);return[br(e),t,br(t)]}function br(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const ou=["left","right"],su=["right","left"],m0=["top","bottom"],g0=["bottom","top"];function y0(e,t,n){switch(e){case"top":case"bottom":return n?t?su:ou:t?ou:su;case"left":case"right":return t?m0:g0;default:return[]}}function v0(e,t,n,o){const s=kt(e);let r=y0(Gt(e),n==="start",o);return s&&(r=r.map(i=>i+"-"+s),t&&(r=r.concat(r.map(br)))),r}function wr(e){const t=Gt(e);return p0[t]+e.slice(t.length)}function b0(e){return{top:0,right:0,bottom:0,left:0,...e}}function Rp(e){return typeof e!="number"?b0(e):{top:e,right:e,bottom:e,left:e}}function Xo(e){const{x:t,y:n,width:o,height:s}=e;return{width:o,height:s,top:n,left:t,right:t+o,bottom:n+s,x:t,y:n}}function ru(e,t,n){let{reference:o,floating:s}=e;const r=sn(t),i=vl(t),a=yl(i),l=Gt(t),u=r==="y",c=o.x+o.width/2-s.width/2,f=o.y+o.height/2-s.height/2,d=o[a]/2-s[a]/2;let p;switch(l){case"top":p={x:c,y:o.y-s.height};break;case"bottom":p={x:c,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:f};break;case"left":p={x:o.x-s.width,y:f};break;default:p={x:o.x,y:o.y}}switch(kt(t)){case"start":p[i]-=d*(n&&u?-1:1);break;case"end":p[i]+=d*(n&&u?-1:1);break}return p}async function w0(e,t){var n;t===void 0&&(t={});const{x:o,y:s,platform:r,rects:i,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=Yn(t,e),m=Rp(p),b=a[d?f==="floating"?"reference":"floating":f],w=Xo(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(b)))==null||n?b:b.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),g=f==="floating"?{x:o,y:s,width:i.floating.width,height:i.floating.height}:i.reference,y=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a.floating)),v=await(r.isElement==null?void 0:r.isElement(y))?await(r.getScale==null?void 0:r.getScale(y))||{x:1,y:1}:{x:1,y:1},_=Xo(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:y,strategy:l}):g);return{top:(w.top-_.top+m.top)/v.y,bottom:(_.bottom-w.bottom+m.bottom)/v.y,left:(w.left-_.left+m.left)/v.x,right:(_.right-w.right+m.right)/v.x}}const _0=50,E0=async(e,t,n)=>{const{placement:o="bottom",strategy:s="absolute",middleware:r=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:w0},l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:c,y:f}=ru(u,o,l),d=o,p=0;const m={};for(let h=0;h<r.length;h++){const b=r[h];if(!b)continue;const{name:w,fn:g}=b,{x:y,y:v,data:_,reset:C}=await g({x:c,y:f,initialPlacement:o,placement:d,strategy:s,middlewareData:m,rects:u,platform:a,elements:{reference:e,floating:t}});c=y??c,f=v??f,m[w]={...m[w],..._},C&&p<_0&&(p++,typeof C=="object"&&(C.placement&&(d=C.placement),C.rects&&(u=C.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):C.rects),{x:c,y:f}=ru(u,d,l)),h=-1)}return{x:c,y:f,placement:d,strategy:s,middlewareData:m}},S0=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:s,rects:r,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=Yn(e,t)||{};if(u==null)return{};const f=Rp(c),d={x:n,y:o},p=vl(s),m=yl(p),h=await i.getDimensions(u),b=p==="y",w=b?"top":"left",g=b?"bottom":"right",y=b?"clientHeight":"clientWidth",v=r.reference[m]+r.reference[p]-d[p]-r.floating[m],_=d[p]-r.reference[p],C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let x=C?C[y]:0;(!x||!await(i.isElement==null?void 0:i.isElement(C)))&&(x=a.floating[y]||r.floating[m]);const T=v/2-_/2,A=x/2-h[m]/2-1,P=us(f[w],A),F=us(f[g],A),O=P,U=x-h[m]-F,k=x/2-h[m]/2+T,W=Ra(O,k,U),B=!l.arrow&&kt(s)!=null&&k!==W&&r.reference[m]/2-(k<O?P:F)-h[m]/2<0,Y=B?k<O?k-O:k-U:0;return{[p]:d[p]+Y,data:{[p]:W,centerOffset:k-W-Y,...B&&{alignmentOffset:Y}},reset:B}}});function x0(e,t,n){return(e?[...n.filter(s=>kt(s)===e),...n.filter(s=>kt(s)!==e)]:n.filter(s=>Gt(s)===s)).filter(s=>e?kt(s)===e||(t?br(s)!==s:!1):!0)}const C0=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,s;const{rects:r,middlewareData:i,placement:a,platform:l,elements:u}=t,{crossAxis:c=!1,alignment:f,allowedPlacements:d=nu,autoAlignment:p=!0,...m}=Yn(e,t),h=f!==void 0||d===nu?x0(f||null,p,d):d,b=await l.detectOverflow(t,m),w=((n=i.autoPlacement)==null?void 0:n.index)||0,g=h[w];if(g==null)return{};const y=Op(g,r,await(l.isRTL==null?void 0:l.isRTL(u.floating)));if(a!==g)return{reset:{placement:h[0]}};const v=[b[Gt(g)],b[y[0]],b[y[1]]],_=[...((o=i.autoPlacement)==null?void 0:o.overflows)||[],{placement:g,overflows:v}],C=h[w+1];if(C)return{data:{index:w+1,overflows:_},reset:{placement:C}};const x=_.map(P=>{const F=kt(P.placement);return[P.placement,F&&c?P.overflows.slice(0,2).reduce((O,U)=>O+U,0):P.overflows[0],P.overflows]}).sort((P,F)=>P[1]-F[1]),A=((s=x.filter(P=>P[2].slice(0,kt(P[0])?2:3).every(F=>F<=0))[0])==null?void 0:s[0])||x[0][0];return A!==a?{data:{index:w+1,overflows:_},reset:{placement:A}}:{}}}},T0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:s,middlewareData:r,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...b}=Yn(e,t);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const w=Gt(s),g=sn(a),y=Gt(a)===a,v=await(l.isRTL==null?void 0:l.isRTL(u.floating)),_=d||(y||!h?[wr(a)]:h0(a)),C=m!=="none";!d&&C&&_.push(...v0(a,h,m,v));const x=[a,..._],T=await l.detectOverflow(t,b),A=[];let P=((o=r.flip)==null?void 0:o.overflows)||[];if(c&&A.push(T[w]),f){const k=Op(s,i,v);A.push(T[k[0]],T[k[1]])}if(P=[...P,{placement:s,overflows:A}],!A.every(k=>k<=0)){var F,O;const k=(((F=r.flip)==null?void 0:F.index)||0)+1,W=x[k];if(W&&(!(f==="alignment"?g!==sn(W):!1)||P.every(V=>sn(V.placement)===g?V.overflows[0]>0:!0)))return{data:{index:k,overflows:P},reset:{placement:W}};let B=(O=P.filter(Y=>Y.overflows[0]<=0).sort((Y,V)=>Y.overflows[1]-V.overflows[1])[0])==null?void 0:O.placement;if(!B)switch(p){case"bestFit":{var U;const Y=(U=P.filter(V=>{if(C){const ie=sn(V.placement);return ie===g||ie==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(ie=>ie>0).reduce((ie,lt)=>ie+lt,0)]).sort((V,ie)=>V[1]-ie[1])[0])==null?void 0:U[0];Y&&(B=Y);break}case"initialPlacement":B=a;break}if(s!==B)return{reset:{placement:B}}}return{}}}},A0=new Set(["left","top"]);async function $0(e,t){const{placement:n,platform:o,elements:s}=e,r=await(o.isRTL==null?void 0:o.isRTL(s.floating)),i=Gt(n),a=kt(n),l=sn(n)==="y",u=A0.has(i)?-1:1,c=r&&l?-1:1,f=Yn(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof m=="number"&&(p=a==="end"?m*-1:m),l?{x:p*c,y:d*u}:{x:d*u,y:p*c}}const k0=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:s,y:r,placement:i,middlewareData:a}=t,l=await $0(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:s+l.x,y:r+l.y,data:{...l,placement:i}}}}},P0=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:s,platform:r}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:w=>{let{x:g,y}=w;return{x:g,y}}},...u}=Yn(e,t),c={x:n,y:o},f=await r.detectOverflow(t,u),d=sn(Gt(s)),p=Pp(d);let m=c[p],h=c[d];if(i){const w=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=m+f[w],v=m-f[g];m=Ra(y,m,v)}if(a){const w=d==="y"?"top":"left",g=d==="y"?"bottom":"right",y=h+f[w],v=h-f[g];h=Ra(y,h,v)}const b=l.fn({...t,[p]:m,[d]:h});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[p]:i,[d]:a}}}}}},O0=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:s,rects:r,platform:i,elements:a}=t,{apply:l=()=>{},...u}=Yn(e,t),c=await i.detectOverflow(t,u),f=Gt(s),d=kt(s),p=sn(s)==="y",{width:m,height:h}=r.floating;let b,w;f==="top"||f==="bottom"?(b=f,w=d===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(w=f,b=d==="end"?"top":"bottom");const g=h-c.top-c.bottom,y=m-c.left-c.right,v=us(h-c[b],g),_=us(m-c[w],y),C=!t.middlewareData.shift;let x=v,T=_;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=y),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(x=g),C&&!d){const P=Bn(c.left,0),F=Bn(c.right,0),O=Bn(c.top,0),U=Bn(c.bottom,0);p?T=m-2*(P!==0||F!==0?P+F:Bn(c.left,c.right)):x=h-2*(O!==0||U!==0?O+U:Bn(c.top,c.bottom))}await l({...t,availableWidth:T,availableHeight:x});const A=await i.getDimensions(a.floating);return m!==A.width||h!==A.height?{reset:{rects:!0}}:{}}}};function _t(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wt(e){return _t(e).getComputedStyle(e)}const iu=Math.min,Zo=Math.max,_r=Math.round;function Ip(e){const t=Wt(e);let n=parseFloat(t.width),o=parseFloat(t.height);const s=e.offsetWidth,r=e.offsetHeight,i=_r(n)!==s||_r(o)!==r;return i&&(n=s,o=r),{width:n,height:o,fallback:i}}function kn(e){return Np(e)?(e.nodeName||"").toLowerCase():""}let Ms;function Mp(){if(Ms)return Ms;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Ms=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),Ms):navigator.userAgent}function Vt(e){return e instanceof _t(e).HTMLElement}function Cn(e){return e instanceof _t(e).Element}function Np(e){return e instanceof _t(e).Node}function au(e){return typeof ShadowRoot>"u"?!1:e instanceof _t(e).ShadowRoot||e instanceof ShadowRoot}function Qr(e){const{overflow:t,overflowX:n,overflowY:o,display:s}=Wt(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(s)}function R0(e){return["table","td","th"].includes(kn(e))}function Ia(e){const t=/firefox/i.test(Mp()),n=Wt(e),o=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!o&&o!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some((s=>n.willChange.includes(s)))||["paint","layout","strict","content"].some((s=>{const r=n.contain;return r!=null&&r.includes(s)}))}function Dp(){return!/^((?!chrome|android).)*safari/i.test(Mp())}function bl(e){return["html","body","#document"].includes(kn(e))}function Lp(e){return Cn(e)?e:e.contextElement}const jp={x:1,y:1};function go(e){const t=Lp(e);if(!Vt(t))return jp;const n=t.getBoundingClientRect(),{width:o,height:s,fallback:r}=Ip(t);let i=(r?_r(n.width):n.width)/o,a=(r?_r(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function fs(e,t,n,o){var s,r;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Lp(e);let l=jp;t&&(o?Cn(o)&&(l=go(o)):l=go(e));const u=a?_t(a):window,c=!Dp()&&n;let f=(i.left+(c&&((s=u.visualViewport)==null?void 0:s.offsetLeft)||0))/l.x,d=(i.top+(c&&((r=u.visualViewport)==null?void 0:r.offsetTop)||0))/l.y,p=i.width/l.x,m=i.height/l.y;if(a){const h=_t(a),b=o&&Cn(o)?_t(o):o;let w=h.frameElement;for(;w&&o&&b!==h;){const g=go(w),y=w.getBoundingClientRect(),v=getComputedStyle(w);y.x+=(w.clientLeft+parseFloat(v.paddingLeft))*g.x,y.y+=(w.clientTop+parseFloat(v.paddingTop))*g.y,f*=g.x,d*=g.y,p*=g.x,m*=g.y,f+=y.x,d+=y.y,w=_t(w).frameElement}}return{width:p,height:m,top:d,right:f+p,bottom:d+m,left:f,x:f,y:d}}function Tn(e){return((Np(e)?e.ownerDocument:e.document)||window.document).documentElement}function Jr(e){return Cn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Hp(e){return fs(Tn(e)).left+Jr(e).scrollLeft}function ds(e){if(kn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||au(e)&&e.host||Tn(e);return au(t)?t.host:t}function Fp(e){const t=ds(e);return bl(t)?t.ownerDocument.body:Vt(t)&&Qr(t)?t:Fp(t)}function Er(e,t){var n;t===void 0&&(t=[]);const o=Fp(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),r=_t(o);return s?t.concat(r,r.visualViewport||[],Qr(o)?o:[]):t.concat(o,Er(o))}function lu(e,t,n){return t==="viewport"?Xo((function(o,s){const r=_t(o),i=Tn(o),a=r.visualViewport;let l=i.clientWidth,u=i.clientHeight,c=0,f=0;if(a){l=a.width,u=a.height;const d=Dp();(d||!d&&s==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}return{width:l,height:u,x:c,y:f}})(e,n)):Cn(t)?Xo((function(o,s){const r=fs(o,!0,s==="fixed"),i=r.top+o.clientTop,a=r.left+o.clientLeft,l=Vt(o)?go(o):{x:1,y:1};return{width:o.clientWidth*l.x,height:o.clientHeight*l.y,x:a*l.x,y:i*l.y}})(t,n)):Xo((function(o){const s=Tn(o),r=Jr(o),i=o.ownerDocument.body,a=Zo(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),l=Zo(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let u=-r.scrollLeft+Hp(o);const c=-r.scrollTop;return Wt(i).direction==="rtl"&&(u+=Zo(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:u,y:c}})(Tn(e)))}function cu(e){return Vt(e)&&Wt(e).position!=="fixed"?e.offsetParent:null}function uu(e){const t=_t(e);let n=cu(e);for(;n&&R0(n)&&Wt(n).position==="static";)n=cu(n);return n&&(kn(n)==="html"||kn(n)==="body"&&Wt(n).position==="static"&&!Ia(n))?t:n||(function(o){let s=ds(o);for(;Vt(s)&&!bl(s);){if(Ia(s))return s;s=ds(s)}return null})(e)||t}function I0(e,t,n){const o=Vt(t),s=Tn(t),r=fs(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&n!=="fixed")if((kn(t)!=="body"||Qr(s))&&(i=Jr(t)),Vt(t)){const l=fs(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=Hp(s));return{x:r.left+i.scrollLeft-a.x,y:r.top+i.scrollTop-a.y,width:r.width,height:r.height}}const M0={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:s}=e;const r=n==="clippingAncestors"?(function(u,c){const f=c.get(u);if(f)return f;let d=Er(u).filter((b=>Cn(b)&&kn(b)!=="body")),p=null;const m=Wt(u).position==="fixed";let h=m?ds(u):u;for(;Cn(h)&&!bl(h);){const b=Wt(h),w=Ia(h);(m?w||p:w||b.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=b:d=d.filter((g=>g!==h)),h=ds(h)}return c.set(u,d),d})(t,this._c):[].concat(n),i=[...r,o],a=i[0],l=i.reduce(((u,c)=>{const f=lu(t,c,s);return u.top=Zo(f.top,u.top),u.right=iu(f.right,u.right),u.bottom=iu(f.bottom,u.bottom),u.left=Zo(f.left,u.left),u}),lu(t,a,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const s=Vt(n),r=Tn(n);if(n===r)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((s||!s&&o!=="fixed")&&((kn(n)!=="body"||Qr(r))&&(i=Jr(n)),Vt(n))){const u=fs(n);a=go(n),l.x=u.x+n.clientLeft,l.y=u.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+l.x,y:t.y*a.y-i.scrollTop*a.y+l.y}},isElement:Cn,getDimensions:function(e){return Vt(e)?Ip(e):e.getBoundingClientRect()},getOffsetParent:uu,getDocumentElement:Tn,getScale:go,async getElementRects(e){let{reference:t,floating:n,strategy:o}=e;const s=this.getOffsetParent||uu,r=this.getDimensions;return{reference:I0(t,await s(n),o),floating:{x:0,y:0,...await r(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Wt(e).direction==="rtl"},N0=(e,t,n)=>{const o=new Map,s={platform:M0,...n},r={...s.platform,_c:o};return E0(e,t,{...s,platform:r})};function Bp(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Bp(e[n],t[n]):e[n]=t[n])}const Pt={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function ps(e,t){let n=Pt.themes[e]||{},o;do o=n[t],typeof o>"u"?n.$extend?n=Pt.themes[n.$extend]||{}:(n=null,o=Pt[t]):n=null;while(n);return o}function D0(e){const t=[e];let n=Pt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Pt.themes[n.$extend]||{}):n=null;while(n);return t.map(o=>`v-popper--theme-${o}`)}function fu(e){const t=[e];let n=Pt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Pt.themes[n.$extend]||{}):n=null;while(n);return t}let So=!1;if(typeof window<"u"){So=!1;try{const e=Object.defineProperty({},"passive",{get(){So=!0}});window.addEventListener("test",null,e)}catch{}}let Up=!1;typeof window<"u"&&typeof navigator<"u"&&(Up=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const qp=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),du={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},pu={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function hu(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Ti(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Tt=[];let jn=null;const mu={};function gu(e){let t=mu[e];return t||(t=mu[e]=[]),t}let Ma=function(){};typeof window<"u"&&(Ma=window.Element);function pe(e){return function(t){return ps(t.theme,e)}}const Ai="__floating-vue__popper",Wp=()=>de({name:"VPopper",provide(){return{[Ai]:{parentPopper:this}}},inject:{[Ai]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:pe("disabled")},positioningDisabled:{type:Boolean,default:pe("positioningDisabled")},placement:{type:String,default:pe("placement"),validator:e=>qp.includes(e)},delay:{type:[String,Number,Object],default:pe("delay")},distance:{type:[Number,String],default:pe("distance")},skidding:{type:[Number,String],default:pe("skidding")},triggers:{type:Array,default:pe("triggers")},showTriggers:{type:[Array,Function],default:pe("showTriggers")},hideTriggers:{type:[Array,Function],default:pe("hideTriggers")},popperTriggers:{type:Array,default:pe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:pe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:pe("popperHideTriggers")},container:{type:[String,Object,Ma,Boolean],default:pe("container")},boundary:{type:[String,Ma],default:pe("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:pe("strategy")},autoHide:{type:[Boolean,Function],default:pe("autoHide")},handleResize:{type:Boolean,default:pe("handleResize")},instantMove:{type:Boolean,default:pe("instantMove")},eagerMount:{type:Boolean,default:pe("eagerMount")},popperClass:{type:[String,Array,Object],default:pe("popperClass")},computeTransformOrigin:{type:Boolean,default:pe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:pe("autoMinSize")},autoSize:{type:[Boolean,String],default:pe("autoSize")},autoMaxSize:{type:Boolean,default:pe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:pe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:pe("preventOverflow")},overflowPadding:{type:[Number,String],default:pe("overflowPadding")},arrowPadding:{type:[Number,String],default:pe("arrowPadding")},arrowOverflow:{type:Boolean,default:pe("arrowOverflow")},flip:{type:Boolean,default:pe("flip")},shift:{type:Boolean,default:pe("shift")},shiftCrossAxis:{type:Boolean,default:pe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:pe("noAutoFocus")},disposeTimeout:{type:Number,default:pe("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Ai])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var o,s;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(k0({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(C0({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(P0({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(T0({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(S0({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:o,rects:s,middlewareData:r})=>{let i;const{centerOffset:a}=r.arrow;return o.startsWith("top")||o.startsWith("bottom")?i=Math.abs(a)>s.reference.width/2:i=Math.abs(a)>s.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const o=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:r,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let l,u;return r.startsWith("top")||r.startsWith("bottom")?l=s.reference.width:u=s.reference.height,this.$_innerNode.style[o==="min"?"minWidth":o==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[o==="min"?"minHeight":o==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(O0({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:o,availableHeight:s})=>{this.$_innerNode.style.maxWidth=o!=null?`${o}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await N0(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),jn&&this.instantMove&&jn.instantMove&&jn!==this.parentPopper){jn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(jn=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Ti(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Er(this.$_referenceNode),...Er(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),o=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(o.left+n.offsetLeft),r=t.y+t.height/2-(o.top+n.offsetTop);this.result.transformOrigin=`${s}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<Tt.length;n++)t=Tt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Tt.push(this),document.body.classList.add("v-popper--some-open");for(const t of fu(this.theme))gu(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Ti(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,hu(Tt,this),Tt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of fu(this.theme)){const o=gu(n);hu(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}jn===this&&(jn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Ti(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,du,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],du,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,pu,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],pu,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(o=>o.addEventListener(t,n,So?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,o,s){let r=n;o!=null&&(r=typeof o=="function"?o(r):o),r.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:o,eventType:s,handler:r}=n;!e||e===s?o.forEach(i=>i.removeEventListener(s,r)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const o=n.getAttribute(e);o&&(n.removeAttribute(e),n.setAttribute(t,o))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const o=e[n];o==null?t.removeAttribute(n):t.setAttribute(n,o)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(es>=e.left&&es<=e.right&&ts>=e.top&&ts<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=es-yn,o=ts-vn,s=t.left+t.width/2-yn+(t.top+t.height/2)-vn+t.width+t.height,r=yn+n*s,i=vn+o*s;return Ns(yn,vn,r,i,t.left,t.top,t.left,t.bottom)||Ns(yn,vn,r,i,t.left,t.top,t.right,t.top)||Ns(yn,vn,r,i,t.right,t.top,t.right,t.bottom)||Ns(yn,vn,r,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Up){const e=So?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>yu(t,!0),e),document.addEventListener("touchend",t=>vu(t,!0),e)}else window.addEventListener("mousedown",e=>yu(e,!1),!0),window.addEventListener("click",e=>vu(e,!1),!0);window.addEventListener("resize",j0)}function yu(e,t){if(Pt.autoHideOnMousedown)Vp(e,t);else for(let n=0;n<Tt.length;n++){const o=Tt[n];try{o.mouseDownContains=o.popperNode().contains(e.target)}catch{}}}function vu(e,t){Pt.autoHideOnMousedown||Vp(e,t)}function Vp(e,t){const n={};for(let o=Tt.length-1;o>=0;o--){const s=Tt[o];try{const r=s.containsGlobalTarget=s.mouseDownContains||s.popperNode().contains(e.target);s.pendingHide=!1,requestAnimationFrame(()=>{if(s.pendingHide=!1,!n[s.randomId]&&bu(s,r,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=s.parentPopper;for(;i&&bu(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function bu(e,t,n){return n.closeAllPopover||n.closePopover&&t||L0(e,n)&&!t}function L0(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function j0(){for(let e=0;e<Tt.length;e++)Tt[e].$_computePosition()}let yn=0,vn=0,es=0,ts=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{yn=es,vn=ts,es=e.clientX,ts=e.clientY},So?{passive:!0}:void 0);function Ns(e,t,n,o,s,r,i,a){const l=((i-s)*(t-r)-(a-r)*(e-s))/((a-r)*(n-e)-(i-s)*(o-t)),u=((n-e)*(t-r)-(o-t)*(e-s))/((a-r)*(n-e)-(i-s)*(o-t));return l>=0&&l<=1&&u>=0&&u<=1}const H0={extends:Wp()},Yr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n};function F0(e,t,n,o,s,r){return D(),ee("div",{ref:"reference",class:Ce(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[we(e.$slots,"default",za(Ur(e.slotData)))],2)}const B0=Yr(H0,[["render",F0]]);function U0(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var o=e.indexOf("rv:");return parseInt(e.substring(o+3,e.indexOf(".",o)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let Zs;function Na(){Na.init||(Na.init=!0,Zs=U0()!==-1)}var Xr={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Na(),Xe(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Zs&&this.$el.appendChild(e),e.data="about:blank",Zs||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Zs&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const q0=Dm();Mm("data-v-b329ee4c");const W0={class:"resize-observer",tabindex:"-1"};Nm();const V0=q0((e,t,n,o,s,r)=>(D(),ue("div",W0)));Xr.render=V0;Xr.__scopeId="data-v-b329ee4c";Xr.__file="src/components/ResizeObserver.vue";const zp=(e="theme")=>({computed:{themeClass(){return D0(this[e])}}}),z0=de({name:"VPopperContent",components:{ResizeObserver:Xr},mixins:[zp()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),K0=["id","aria-hidden","tabindex","data-popper-placement"],G0={ref:"inner",class:"v-popper__inner"},Q0=I("div",{class:"v-popper__arrow-outer"},null,-1),J0=I("div",{class:"v-popper__arrow-inner"},null,-1),Y0=[Q0,J0];function X0(e,t,n,o,s,r){const i=is("ResizeObserver");return D(),ee("div",{id:e.popperId,ref:"popover",class:Ce(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Ut(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Ld(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[I("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),I("div",{class:"v-popper__wrapper",style:Ut(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[I("div",G0,[e.mounted?(D(),ee(_e,{key:0},[I("div",null,[we(e.$slots,"default")]),e.handleResize?(D(),ue(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Me("",!0)],64)):Me("",!0)],512),I("div",{ref:"arrow",class:"v-popper__arrow-container",style:Ut(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Y0,4)],4)],46,K0)}const Kp=Yr(z0,[["render",X0]]),Gp={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Da=function(){};typeof window<"u"&&(Da=window.Element);const Z0=de({name:"VPopperWrapper",components:{Popper:B0,PopperContent:Kp},mixins:[Gp,zp("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Da,Boolean],default:void 0},boundary:{type:[String,Da],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function eE(e,t,n,o,s,r){const i=is("PopperContent"),a=is("Popper");return D(),ue(a,rt({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:le(({popperId:l,isShown:u,shouldMountContent:c,skipTransition:f,autoHide:d,show:p,hide:m,handleResize:h,onResize:b,classes:w,result:g})=>[we(e.$slots,"default",{shown:u,show:p,hide:m}),ce(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:u,mounted:c,"skip-transition":f,"auto-hide":d,"handle-resize":h,classes:w,result:g,onHide:m,onResize:b},{default:le(()=>[we(e.$slots,"popper",{shown:u,hide:m})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const wl=Yr(Z0,[["render",eE]]),Qp={...wl,name:"VDropdown",vPopperTheme:"dropdown"},tE={...wl,name:"VMenu",vPopperTheme:"menu"},Jp={...wl,name:"VTooltip",vPopperTheme:"tooltip"},nE=de({name:"VTooltipDirective",components:{Popper:Wp(),PopperContent:Kp},mixins:[Gp],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ps(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ps(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(o=>this.onResult(t,o)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),oE=["innerHTML"],sE=["textContent"];function rE(e,t,n,o,s,r){const i=is("PopperContent"),a=is("Popper");return D(),ue(a,rt({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:le(({popperId:l,isShown:u,shouldMountContent:c,skipTransition:f,autoHide:d,hide:p,handleResize:m,onResize:h,classes:b,result:w})=>[ce(i,{ref:"popperContent",class:Ce({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:u,mounted:c,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:b,result:w,onHide:p,onResize:h},{default:le(()=>[e.html?(D(),ee("div",{key:0,innerHTML:e.finalContent},null,8,oE)):(D(),ee("div",{key:1,textContent:Ee(e.finalContent)},null,8,sE))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const iE=Yr(nE,[["render",rE]]),Yp="v-popper--has-tooltip";function aE(e,t){let n=e.placement;if(!n&&t)for(const o of qp)t[o]&&(n=o);return n||(n=ps(e.theme||"tooltip","placement")),n}function Xp(e,t,n){let o;const s=typeof t;return s==="string"?o={content:t}:t&&s==="object"?o=t:o={content:!1},o.placement=aE(o,n),o.targetNodes=()=>[e],o.referenceNode=()=>e,o}let $i,hs,lE=0;function cE(){if($i)return;hs=z([]),$i=Hd({name:"VTooltipDirectiveApp",setup(){return{directives:hs}},render(){return this.directives.map(t=>Qe(iE,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),$i.mount(e)}function uE(e,t,n){cE();const o=z(Xp(e,t,n)),s=z(!1),r={id:lE++,options:o,shown:s};return hs.value.push(r),e.classList&&e.classList.add(Yp),e.$_popper={options:o,item:r,show(){s.value=!0},hide(){s.value=!1}}}function Zp(e){if(e.$_popper){const t=hs.value.indexOf(e.$_popper.item);t!==-1&&hs.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Yp)}function wu(e,{value:t,modifiers:n}){const o=Xp(e,t,n);if(!o.content||ps(o.theme||"tooltip","disabled"))Zp(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=o):s=uE(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const fE={beforeMount:wu,updated:wu,beforeUnmount(e){Zp(e)}};function _u(e){e.addEventListener("mousedown",Sr),e.addEventListener("click",Sr),e.addEventListener("touchstart",eh,So?{passive:!0}:!1)}function Eu(e){e.removeEventListener("mousedown",Sr),e.removeEventListener("click",Sr),e.removeEventListener("touchstart",eh),e.removeEventListener("touchend",th),e.removeEventListener("touchcancel",nh)}function Sr(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function eh(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",th),t.addEventListener("touchcancel",nh)}}function th(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],o=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-o.screenY)<20&&Math.abs(n.screenX-o.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function nh(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const dE={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&_u(e)},updated(e,{value:t,oldValue:n,modifiers:o}){e.$_closePopoverModifiers=o,t!==n&&(typeof t>"u"||t?_u(e):Eu(e))},beforeUnmount(e){Eu(e)}},IA=Qp,pE=Jp;function hE(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Bp(Pt,t),e.directive("tooltip",fE),e.directive("close-popper",dE),e.component("VTooltip",Jp),e.component("VDropdown",Qp),e.component("VMenu",tE))}const mE={version:"5.2.2",install:hE,options:Pt},gE=Qt(e=>{e.vueApp.use(mE,{overflowPadding:20})}),yE=[xw,kw,n0,o0,s0,i0,a0,u0,f0,gE],oh=(e="RouteProvider")=>de({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,o=t.route,s={};for(const r in t.route)Object.defineProperty(s,r,{get:()=>n===t.renderKey?t.route[r]:o[r],enumerable:!0});return zn(zr,Ft(s)),()=>t.vnode?Qe(t.vnode,{ref:t.vnodeRef}):t.vnode}}),vE=oh(),Su=new WeakMap,bE=de({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:o}){const s=qe(),r=z(),i=tt(zr,null);let a;o({pageRef:r});const l=tt(Eb,null);let u;const c=s.deferHydration();let f=!1,d=!1,p=0;if(s.isHydrating){const h=s.hooks.hookOnce("app:error",c),b=ht().beforeEach(()=>{h(),b()})}e.pageKey&&Re(()=>e.pageKey,(h,b)=>{h!==b&&s.callHook("page:loading:start")});let m=!1;{const h=ht().beforeResolve(()=>{m=!1});$o(()=>{h(),c()})}return()=>Qe(Tp,{name:e.name,route:e.route,...t},{default:h=>{const b=wE(i,h.route,h.Component),w=i&&i.matched.length===h.route.matched.length;if(!h.Component){if(u&&!w&&!ki(u))return u;c();return}if(u&&l&&!ki(u)&&!l.isCurrent(h.route))return u;if(b&&i&&(!l||l?.isCurrent(i)))return(w||u)&&!ki(u)?u:null;const g=Pa(h,e.pageKey),y=_E(i,h.route,h.Component);!s.isHydrating&&a===g&&!y&&Xe(()=>{m||(m=!0,s.callHook("page:loading:end"))}),f&&a!==g&&d&&p++,a=g;const v=!!(e.transition??h.route.meta.pageTransition??xc),_=v&&G_([e.transition,h.route.meta.pageTransition,xc,{onAfterLeave(){s["~transitionFinish"]?.(),delete s["~transitionFinish"],delete s["~transitionPromise"],s.callHook("page:transition:finish",h.Component)}}]),C=e.keepalive??h.route.meta.keepalive??lb;return u=q_(v&&_,H_(C,Qe(xd,{key:p,suspensible:!0,onPending:()=>{f=!0,v&&!s["~transitionPromise"]&&(s["~transitionPromise"]=new Promise(x=>{s["~transitionFinish"]=x})),s.callHook("page:start",h.Component)},onResolve:async()=>{f=!1,d=!0;try{await Xe(),s._route.sync?.(),await s.callHook("page:finish",h.Component),!m&&!y&&(m=!0,await s.callHook("page:loading:end"))}finally{c()}}},{default:()=>{const x={key:g||void 0,vnode:n.default?EE(n.default,h):h.Component,route:h.route,renderKey:g||void 0,trackRootNodes:v,vnodeRef:r};if(!C)return Qe(vE,x);const T=h.Component.type,A=T;let P=Su.get(A);return P||(P=oh(T.name||T.__name),Su.set(A,P)),Qe(P,x)}}))).default(),u}})}});function wE(e,t,n){if(!e)return!1;const o=t.matched.findIndex(i=>i.components?.default===n?.type);if(o===-1)return!1;const s=t.matched.slice(0,o).filter(i=>i.components?.default);if(!s.length)return!1;const r=e.matched.filter(i=>i.components?.default);return s.some((i,a)=>i.components?.default!==r[a]?.components?.default)||n&&Pa({route:t,Component:n})!==Pa({route:e,Component:n})}function _E(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function EE(e,t){const n=e(t);return n.length===1?Qe(n[0]):Qe(_e,void 0,n)}function ki(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}const Pi=new WeakMap,SE=(...e)=>{var t;const n=e[0],o=(t=We())===null||t===void 0?void 0:t.proxy,s=o??Pr();if(s==null&&!Ao())throw new Error("injectLocal must be called in setup");return s&&Pi.has(s)&&n in Pi.get(s)?Pi.get(s)[n]:tt(...e)},sh=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const xE=Object.prototype.toString,CE=e=>xE.call(e)==="[object Object]",xt=()=>{},TE=AE();function AE(){var e,t,n;return sh&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function rh(...e){if(e.length!==1)return Hf(...e);const t=e[0];return typeof t=="function"?or(Lf(()=>({get:t,set:xt}))):z(t)}function _l(e,t){function n(...o){return new Promise((s,r)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(s).catch(r)})}return n}const ih=e=>e();function $E(e,t={}){let n,o,s=xt;const r=l=>{clearTimeout(l),s(),s=xt};let i;return l=>{const u=Se(e),c=Se(t.maxWait);return n&&r(n),u<=0||c!==void 0&&c<=0?(o&&(r(o),o=void 0),Promise.resolve(l())):new Promise((f,d)=>{s=t.rejectOnCancel?d:f,i=l,c&&!o&&(o=setTimeout(()=>{n&&r(n),o=void 0,f(i())},c)),n=setTimeout(()=>{o&&r(o),o=void 0,f(l())},u)})}}function kE(...e){let t=0,n,o=!0,s=xt,r,i,a,l,u;!Oe(e[0])&&typeof e[0]=="object"?{delay:i,trailing:a=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[i,a=!0,l=!0,u=!1]=e;const c=()=>{n&&(clearTimeout(n),n=void 0,s(),s=xt)};return d=>{const p=Se(i),m=Date.now()-t,h=()=>r=d();return c(),p<=0?(t=Date.now(),h()):(m>p?(t=Date.now(),(l||!o)&&h()):a&&(r=new Promise((b,w)=>{s=u?w:b,n=setTimeout(()=>{t=Date.now(),o=!0,b(h()),c()},Math.max(0,p-m))})),!l&&!n&&(n=setTimeout(()=>o=!0,p)),o=!1,r)}}function PE(e=ih,t={}){const{initialState:n="active"}=t,o=rh(n==="active");function s(){o.value=!1}function r(){o.value=!0}return{isActive:wm(o),pause:s,resume:r,eventFilter:(...a)=>{o.value&&e(...a)}}}function xu(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Oi(e){return Array.isArray(e)?e:[e]}function OE(e){return We()}function RE(e,t=200,n={}){return _l($E(t,n),e)}function IE(e,t=200,n=!1,o=!0,s=!1){return _l(kE(t,n,o,s),e)}function ah(e,t=200,n=!0,o=!0){if(t<=0)return e;const s=z(Se(e)),r=IE(()=>{s.value=e.value},t,n,o);return Re(e,()=>r()),s}function ME(e,t,n={}){const{eventFilter:o=ih,...s}=n;return Re(e,_l(o,t),s)}function NE(e,t,n={}){const{eventFilter:o,initialState:s="active",...r}=n,{eventFilter:i,pause:a,resume:l,isActive:u}=PE(o,{initialState:s});return{stop:ME(e,t,{...r,eventFilter:i}),pause:a,resume:l,isActive:u}}function lh(e,t=!0,n){OE()?Pn(e,n):t?e():Xe(e)}function DE(e,t,n){return Re(e,t,{...n,immediate:!0})}const rn=sh?window:void 0;function lo(e){var t;const n=Se(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function ln(...e){const t=(o,s,r,i)=>(o.addEventListener(s,r,i),()=>o.removeEventListener(s,r,i)),n=q(()=>{const o=Oi(Se(e[0])).filter(s=>s!=null);return o.every(s=>typeof s!="string")?o:void 0});return DE(()=>{var o,s;return[(o=(s=n.value)===null||s===void 0?void 0:s.map(r=>lo(r)))!==null&&o!==void 0?o:[rn].filter(r=>r!=null),Oi(Se(n.value?e[1]:e[0])),Oi(R(n.value?e[2]:e[1])),Se(n.value?e[3]:e[2])]},([o,s,r,i],a,l)=>{if(!o?.length||!s?.length||!r?.length)return;const u=CE(i)?{...i}:i,c=o.flatMap(f=>s.flatMap(d=>r.map(p=>t(f,d,p,u))));l(()=>{c.forEach(f=>f())})},{flush:"post"})}let Cu=!1;function MA(e,t,n={}){const{window:o=rn,ignore:s=[],capture:r=!0,detectIframe:i=!1,controls:a=!1}=n;if(!o)return a?{stop:xt,cancel:xt,trigger:xt}:xt;if(TE&&!Cu){Cu=!0;const b={passive:!0};Array.from(o.document.body.children).forEach(w=>w.addEventListener("click",xt,b)),o.document.documentElement.addEventListener("click",xt,b)}let l=!0;const u=b=>Se(s).some(w=>{if(typeof w=="string")return Array.from(o.document.querySelectorAll(w)).some(g=>g===b.target||b.composedPath().includes(g));{const g=lo(w);return g&&(b.target===g||b.composedPath().includes(g))}});function c(b){const w=Se(b);return w&&w.$.subTree.shapeFlag===16}function f(b,w){const g=Se(b),y=g.$.subTree&&g.$.subTree.children;return y==null||!Array.isArray(y)?!1:y.some(v=>v.el===w.target||w.composedPath().includes(v.el))}const d=b=>{const w=lo(e);if(b.target!=null&&!(!(w instanceof Element)&&c(e)&&f(e,b))&&!(!w||w===b.target||b.composedPath().includes(w))){if("detail"in b&&b.detail===0&&(l=!u(b)),!l){l=!0;return}t(b)}};let p=!1;const m=[ln(o,"click",b=>{p||(p=!0,setTimeout(()=>{p=!1},0),d(b))},{passive:!0,capture:r}),ln(o,"pointerdown",b=>{const w=lo(e);l=!u(b)&&!!(w&&!b.composedPath().includes(w))},{passive:!0}),i&&ln(o,"blur",b=>{setTimeout(()=>{const w=lo(e);let g=o.document.activeElement;for(;g?.shadowRoot;)g=g.shadowRoot.activeElement;g?.tagName==="IFRAME"&&!w?.contains(o.document.activeElement)&&t(b)},0)},{passive:!0})].filter(Boolean),h=()=>m.forEach(b=>b());return a?{stop:h,cancel:()=>{l=!1},trigger:b=>{l=!0,d(b),l=!1}}:h}function LE(){const e=Ye(!1),t=We();return t&&Pn(()=>{e.value=!0},t),e}function jE(e){const t=LE();return q(()=>(t.value,!!e()))}const HE=Symbol("vueuse-ssr-width");function FE(){const e=Ao()?SE(HE,null):null;return typeof e=="number"?e:void 0}function BE(e,t={}){const{window:n=rn,ssrWidth:o=FE()}=t,s=jE(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),r=Ye(typeof o=="number"),i=Ye(),a=Ye(!1),l=u=>{a.value=u.matches};return $n(()=>{if(r.value){r.value=!s.value,a.value=Se(e).split(",").some(u=>{const c=u.includes("not all"),f=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||d);return f&&p&&(p=o>=xu(f[1])),d&&p&&(p=o<=xu(d[1])),c?!p:p});return}s.value&&(i.value=n.matchMedia(Se(e)),a.value=i.value.matches)}),ln(i,"change",l,{passive:!0}),q(()=>a.value)}const Ds=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ls="__vueuse_ssr_handlers__",UE=qE();function qE(){return Ls in Ds||(Ds[Ls]=Ds[Ls]||{}),Ds[Ls]}function ch(e,t){return UE[e]||t}function WE(e){return BE("(prefers-color-scheme: dark)",e)}function VE(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const zE={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Tu="vueuse-storage";function uh(e,t,n,o={}){var s;const{flush:r="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:f=rn,eventFilter:d,onError:p=k=>{console.error(k)},initOnMounted:m}=o,h=(c?Ye:z)(typeof t=="function"?t():t),b=q(()=>Se(e));if(!n)try{n=ch("getDefaultStorage",()=>rn?.localStorage)()}catch(k){p(k)}if(!n)return h;const w=Se(t),g=VE(w),y=(s=o.serializer)!==null&&s!==void 0?s:zE[g],{pause:v,resume:_}=NE(h,k=>P(k),{flush:r,deep:i,eventFilter:d});Re(b,()=>O(),{flush:r});let C=!1;const x=k=>{m&&!C||O(k)},T=k=>{m&&!C||U(k)};f&&a&&(n instanceof Storage?ln(f,"storage",x,{passive:!0}):ln(f,Tu,T)),m?lh(()=>{C=!0,O()}):O();function A(k,W){if(f){const B={key:b.value,oldValue:k,newValue:W,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",B):new CustomEvent(Tu,{detail:B}))}}function P(k){try{const W=n.getItem(b.value);if(k==null)A(W,null),n.removeItem(b.value);else{const B=y.write(k);W!==B&&(n.setItem(b.value,B),A(W,B))}}catch(W){p(W)}}function F(k){const W=k?k.newValue:n.getItem(b.value);if(W==null)return l&&w!=null&&n.setItem(b.value,y.write(w)),w;if(!k&&u){const B=y.read(W);return typeof u=="function"?u(B,w):g==="object"&&!Array.isArray(B)?{...w,...B}:B}else return typeof W!="string"?W:y.read(W)}function O(k){if(!(k&&k.storageArea!==n)){if(k&&k.key==null){h.value=w;return}if(!(k&&k.key!==b.value)){v();try{const W=y.write(h.value);(k===void 0||k?.newValue!==W)&&(h.value=F(k))}catch(W){p(W)}finally{k?Xe(_):_()}}}}function U(k){O(k.detail)}return h}const KE="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function GE(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:s=rn,storage:r,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:u,disableTransition:c=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},d=WE({window:s}),p=q(()=>d.value?"dark":"light"),m=l||(i==null?rh(o):uh(i,o,r,{window:s,listenToStorageChanges:a})),h=q(()=>m.value==="auto"?p.value:m.value),b=ch("updateHTMLAttrs",(v,_,C)=>{const x=typeof v=="string"?s?.document.querySelector(v):lo(v);if(!x)return;const T=new Set,A=new Set;let P=null;if(_==="class"){const O=C.split(/\s/g);Object.values(f).flatMap(U=>(U||"").split(/\s/g)).filter(Boolean).forEach(U=>{O.includes(U)?T.add(U):A.add(U)})}else P={key:_,value:C};if(T.size===0&&A.size===0&&P===null)return;let F;c&&(F=s.document.createElement("style"),F.appendChild(document.createTextNode(KE)),s.document.head.appendChild(F));for(const O of T)x.classList.add(O);for(const O of A)x.classList.remove(O);P&&x.setAttribute(P.key,P.value),c&&(s.getComputedStyle(F).opacity,document.head.removeChild(F))});function w(v){var _;b(t,n,(_=f[v])!==null&&_!==void 0?_:v)}function g(v){e.onChanged?e.onChanged(v,w):w(v)}Re(h,g,{flush:"post",immediate:!0}),lh(()=>g(h.value));const y=q({get(){return u?m.value:h.value},set(v){m.value=v}});return Object.assign(y,{store:m,system:p,state:h})}function fh(e={}){const{valueDark:t="dark",valueLight:n=""}=e,o=GE({...e,onChanged:(r,i)=>{var a;e.onChanged?(a=e.onChanged)===null||a===void 0||a.call(e,r==="dark",i,r):i(r)},modes:{dark:t,light:n}}),s=q(()=>o.system.value);return q({get(){return o.value==="dark"},set(r){const i=r?"dark":"light";s.value===i?o.value="auto":o.value=i}})}function QE(e,t,n={}){const{window:o=rn}=n;return uh(e,t,o?.localStorage,n)}const Ri=z(!1);let Au=!1;function $u(e){return!e||!(e instanceof HTMLElement)?!1:e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}function dh(){return typeof document<"u"&&!Au&&(Au=!0,ln(document,"focusin",e=>{Ri.value=$u(e.target)}),ln(document,"focusout",e=>{Ri.value=$u(e.relatedTarget)})),Ri}const JE=["===","!==","==","!=","<=",">=","&&","||","<",">","+","-","*","/","%","!"],YE=/[a-z_$]/i,XE=/[\w$.:]/,js=/\d/,ZE=/\s/;function eS(e){const t=[];let n=0;for(;n<e.length;){const o=e[n];if(ZE.test(o)){n++;continue}if(o==="("){t.push({type:"lparen"}),n++;continue}if(o===")"){t.push({type:"rparen"}),n++;continue}let s=!1;for(const r of JE)if(e.startsWith(r,n)){t.push({type:"op",value:r}),n+=r.length,s=!0;break}if(!s){if(js.test(o)){let r=n;for(;r<e.length&&js.test(e[r]);)r++;if(e[r]==="."&&r+1<e.length&&js.test(e[r+1]))for(r++;r<e.length&&js.test(e[r]);)r++;t.push({type:"number",value:Number(e.slice(n,r))}),n=r;continue}if(o==='"'||o==="'"){const r=o;let i=n+1,a="";for(;i<e.length&&e[i]!==r;)if(e[i]==="\\"&&i+1<e.length){const l=e[i+1];a+=l==="n"?`
5
- `:l==="t"?" ":l,i+=2}else a+=e[i],i++;if(i>=e.length)throw new Error(`Unterminated string literal at position ${n}`);i++,t.push({type:"string",value:a}),n=i;continue}if(YE.test(o)){let r=n;for(;r<e.length&&XE.test(e[r]);)r++;const i=e.slice(n,r);i==="true"?t.push({type:"bool",value:!0}):i==="false"?t.push({type:"bool",value:!1}):t.push({type:"ident",value:i}),n=r;continue}throw new Error(`Unexpected character "${o}" at position ${n}`)}}return t.push({type:"eof"}),t}function tS(e){const t=eS(e);let n=0;const o=()=>t[n],s=()=>t[n++],r=g=>{const y=o();return y.type==="op"&&y.value===g},i=()=>{const g=s();if(g.type!=="op")throw new Error(`internal: expected operator token, got ${No(g)}`);return g.value};function a(){let g=l();for(;r("||");)s(),g={type:"binary",op:"||",left:g,right:l()};return g}function l(){let g=u();for(;r("&&");)s(),g={type:"binary",op:"&&",left:g,right:u()};return g}function u(){let g=c();for(;r("===")||r("!==")||r("==")||r("!=");){const y=i(),v=y==="=="||y==="!="?h():c();g={type:"binary",op:y,left:g,right:v}}return g}function c(){let g=f();for(;r("<=")||r(">=")||r("<")||r(">");)g={type:"binary",op:i(),left:g,right:f()};return g}function f(){let g=d();for(;r("+")||r("-");)g={type:"binary",op:i(),left:g,right:d()};return g}function d(){let g=p();for(;r("*")||r("/")||r("%");)g={type:"binary",op:i(),left:g,right:p()};return g}function p(){return r("!")||r("-")||r("+")?{type:"unary",op:i(),operand:p()}:m()}function m(){const g=o();if(g.type==="number"||g.type==="string"||g.type==="bool")return s(),{type:"literal",value:g.value};if(g.type==="ident")return s(),{type:"key",key:g.value};if(g.type==="lparen"){s();const y=a(),v=o();if(v.type!=="rparen")throw new Error(`Expected ")" but got ${No(v)}`);return s(),y}throw new Error(`Unexpected token: ${No(g)}`)}function h(){const g=o();if(g.type==="string")return s(),{type:"literal",value:g.value};if(g.type==="number")return s(),{type:"literal",value:String(g.value)};if(g.type==="bool")return s(),{type:"literal",value:String(g.value)};if(g.type==="ident")return s(),{type:"literal",value:g.value};throw new Error(`Expected value literal or identifier on right side of equality, got ${No(g)}`)}const b=a(),w=o();if(w.type!=="eof")throw new Error(`Unexpected token: ${No(w)}`);return b}function No(e){switch(e.type){case"eof":return"end of expression";case"lparen":return'"("';case"rparen":return'")"';case"op":case"ident":case"string":return`"${e.value}"`;case"number":case"bool":return`"${String(e.value)}"`}}function nS(e,t,n={}){const{strict:o=!1}=n;return!!En(e,t,o)}function En(e,t,n){switch(e.type){case"literal":return e.value;case"key":return rS(e.key,t,n);case"unary":return oS(e.op,En(e.operand,t,n));case"binary":return sS(e,t,n)}}function oS(e,t){switch(e){case"!":return!t;case"-":return-t;case"+":return+t}}function sS(e,t,n){const{op:o}=e;if(o==="&&"){const i=En(e.left,t,n);return i&&En(e.right,t,n)}if(o==="||")return En(e.left,t,n)||En(e.right,t,n);const s=En(e.left,t,n),r=En(e.right,t,n);switch(o){case"==":return String(s)===String(r);case"!=":return String(s)!==String(r);case"===":return s===r;case"!==":return s!==r;case"<":return s<r;case">":return s>r;case"<=":return s<=r;case">=":return s>=r;case"+":return s+r;case"-":return s-r;case"*":return s*r;case"/":return s/r;case"%":return s%r}}function rS(e,t,n){const{found:o,value:s}=iS(e,t);if(!o&&n)throw new Error(`Unknown context key: "${e}"`);return s}function iS(e,t){if(e in t)return{found:!0,value:t[e]};const n=e.includes(".")?".":e.includes(":")?":":null;if(n){const o=e.split(n);let s=t;for(const r of o){if(s==null||typeof s!="object")return{found:!1,value:void 0};const i=s;if(!(r in i))return{found:!1,value:void 0};s=i[r]}return{found:!0,value:s}}return{found:!1,value:void 0}}const ku=new Map,ph=z(null);function El(){return ph}function aS(){return{payload:Ye(null),syncing:z(!1),executing:z(!1),progress:Ye(null),queueOpen:z(!1),executeConfirmOpen:z(!1),selectedNumber:z(null),lastError:z(null),filters:Et({kind:"issue",search:""})}}function lS(e){let t=ku.get(e);return t||(t=aS(),ku.set(e,t)),t}function ze(e){const t=e??ph.value??"__default__",n=lS(t);return{payload:n.payload,syncing:n.syncing,executing:n.executing,progress:n.progress,queueOpen:n.queueOpen,executeConfirmOpen:n.executeConfirmOpen,selectedNumber:n.selectedNumber,lastError:n.lastError,filters:n.filters,setPayload(o){n.payload.value=o},patchSyncState(o){n.payload.value&&(n.payload.value={...n.payload.value,syncState:o})},patchQueue(o){n.payload.value&&(n.payload.value={...n.payload.value,queue:o})},patchRemote(o){n.payload.value&&(n.payload.value={...n.payload.value,remote:o})},setSyncing(o){n.syncing.value=o},setExecuting(o){n.executing.value=o},setProgress(o){n.progress.value=o},setError(o){n.lastError.value=o},selectItem(o){n.selectedNumber.value=o},openQueue(){n.queueOpen.value=!0},closeQueue(){n.queueOpen.value=!1},askExecute(){n.queueOpen.value=!0,n.executeConfirmOpen.value=!0}}}function Pu(e,...t){return typeof e=="function"?e(...t):e}function cS(e){const t=`[${e.name}] ${e.message}`,n=[];return e.fix&&n.push(`fix: ${e.fix}`),e.sources?.length&&n.push(`sources: ${e.sources.join(", ")}`),e.docs&&n.push(`see: ${e.docs}`),n.length===0?t:[t,...n.map((o,s)=>`${s<n.length-1?"├▶":"╰▶"} ${o}`)].join(`
6
- `)}function uS(e,{method:t="warn"}={}){console[t](cS(e))}const fS=Error.captureStackTrace;function dS(e){return e.split(`
7
- `).filter(t=>!t.trimStart().startsWith("at ")||!t.includes("/node_modules/")&&!t.includes("(node:")).join(`
8
- `)}var pS=class hh extends Error{name="Diagnostic";docs;fix;sources;get why(){return this.message}constructor(t,n=hh){super(t.why,{cause:t.cause}),this.fix=t.fix,this.docs=t.docs,this.sources=t.sources,fS?.(this,n),this.stack&&(this.stack=dS(this.stack))}toJSON(){return{name:this.name,why:this.why,fix:this.fix,docs:this.docs,sources:this.sources,cause:this.cause}}devOnly};function mh(e){const t=e.reporters??[],n={},{docsBase:o}=e;for(const s of Object.keys(e.codes)){const r=e.codes[s],i=r.docs===!1?void 0:r.docs||(typeof o=="string"?`${o}/${s.toLowerCase()}`:o?.(s)),a=(l={},u={})=>{const c=new pS({why:Pu(r.why,l),fix:Pu(r.fix,l),docs:i,cause:l.cause,sources:l.sources},a);c.name=s;for(const f of t)f(c,u);return c};n[s]=a}return n}const hS=e=>{console.warn("[nostics]: import.meta.hot.send() is not available. This must be running on Vite.")},mS=e=>uS(e,{method:"error"}),xr=mh({docsBase:e=>`https://github.com/antfu/ghfs/blob/main/docs/errors/${e.toLowerCase()}.md`,codes:{GHFS0900:{why:e=>`saveUiState failed: ${e.detail}`},GHFS0901:{why:e=>`shortcut ${e.shortcut} failed: ${e.detail}`},GHFS0950:{why:e=>`uiState hydrate skipped: ${e.detail}`}},reporters:[mS,hS]}),Ou="q",Ru="s";function gS(){let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),resolve:e,reject:t}}const yS=Math.random.bind(Math),vS="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function bS(e=21){let t="",n=e;for(;n--;)t+=vS[yS()*64|0];return t}const wS=6e4,gh=e=>e,_S=gh,{clearTimeout:Iu,setTimeout:ES}=globalThis;function SS(e,t){const{post:n,on:o,off:s=()=>{},eventNames:r=[],serialize:i=gh,deserialize:a=_S,resolver:l,bind:u="rpc",timeout:c=wS,proxify:f=!0}=t;let d=!1;const p=new Map;let m,h;async function b(_,C,x,T){if(d)throw new Error(`[birpc] rpc is closed, cannot call "${_}"`);const A={m:_,a:C,t:Ou};T&&(A.o=!0);const P=async Y=>n(i(Y));if(x){await P(A);return}if(m)try{await m}finally{m=void 0}let{promise:F,resolve:O,reject:U}=gS();const k=bS();A.i=k;let W;async function B(Y=A){return c>=0&&(W=ES(()=>{try{if(t.onTimeoutError?.call(h,_,C)!==!0)throw new Error(`[birpc] timeout on calling "${_}"`)}catch(V){U(V)}p.delete(k)},c),typeof W=="object"&&(W=W.unref?.())),p.set(k,{resolve:O,reject:U,timeoutId:W,method:_}),await P(Y),F}try{t.onRequest?await t.onRequest.call(h,A,B,O):await B()}catch(Y){if(t.onGeneralError?.call(h,Y)!==!0)throw Y;return}finally{Iu(W),p.delete(k)}return F}const w={$call:(_,...C)=>b(_,C,!1),$callOptional:(_,...C)=>b(_,C,!1,!0),$callEvent:(_,...C)=>b(_,C,!0),$callRaw:_=>b(_.method,_.args,_.event,_.optional),$rejectPendingCalls:y,get $closed(){return d},get $meta(){return t.meta},$close:g,$functions:e};f?h=new Proxy({},{get(_,C){if(Object.prototype.hasOwnProperty.call(w,C))return w[C];if(C==="then"&&!r.includes("then")&&!("then"in e))return;const x=(...A)=>b(C,A,!0);if(r.includes(C))return x.asEvent=x,x;const T=(...A)=>b(C,A,!1);return T.asEvent=x,T}}):h=w;function g(_){d=!0,p.forEach(({reject:C,method:x})=>{const T=new Error(`[birpc] rpc is closed, cannot call "${x}"`);if(_)return _.cause??=T,C(_);C(T)}),p.clear(),s(v)}function y(_){const C=Array.from(p.values()).map(({method:x,reject:T})=>_?_({method:x,reject:T}):T(new Error(`[birpc]: rejected pending call "${x}".`)));return p.clear(),C}async function v(_,...C){let x;try{x=a(_)}catch(T){if(t.onGeneralError?.call(h,T)!==!0)throw T;return}if(x.t===Ou){const{m:T,a:A,o:P}=x;let F,O,U=await(l?l.call(h,T,e[T]):e[T]);if(P&&(U||=()=>{}),!U)O=new Error(`[birpc] function "${T}" not found`);else try{F=await U.apply(u==="rpc"?h:e,A)}catch(k){O=k}if(x.i){if(O&&t.onFunctionError&&t.onFunctionError.call(h,O,T,A)===!0)return;if(!O)try{await n(i({t:Ru,i:x.i,r:F}),...C);return}catch(k){if(O=k,t.onGeneralError?.call(h,k,T,A)!==!0)throw k}try{await n(i({t:Ru,i:x.i,e:O}),...C)}catch(k){if(t.onGeneralError?.call(h,k,T,A)!==!0)throw k}}}else{const{i:T,r:A,e:P}=x,F=p.get(T);F&&(Iu(F.timeoutId),P?F.reject(P):F.resolve(A)),p.delete(T)}}return m=o(v),h}function xS(e,t){const{channel:n,rpcOptions:o={}}=t;return SS(e,{...n,timeout:-1,...o,proxify:!1})}function CS(e){return t=>{const n=`${e.bold(e.red(`[${t.name}]`))} ${t.message}`,o=[];return t.fix&&o.push(`${e.dim("fix:")} ${t.fix}`),t.sources?.length&&o.push(`${e.dim("sources:")} ${t.sources.join(", ")}`),t.docs&&o.push(`${e.dim("see:")} ${e.cyan(t.docs)}`),o.length===0?n:[n,...o.map((s,r)=>`${e.dim(r<o.length-1?"├▶":"╰▶")} ${s}`)].join(`
9
- `)}}function Nt(e,t){const n=`\x1B[${e}m`,o=`\x1B[${t}m`;return((s,...r)=>{if(Array.isArray(s)&&"raw"in s){const i=s;let a="";for(let l=0;l<i.length;l++)a+=i[l],l<r.length&&(a+=String(r[l]));return`${n}${a}${o}`}return`${n}${String(s)}${o}`})}const TS={blue:Nt(34,39),cyan:Nt(36,39),gray:Nt(90,39),green:Nt(32,39),red:Nt(31,39),yellow:Nt(33,39),bold:Nt(1,22),dim:Nt(2,22),reset:Nt(0,0),underline:Nt(4,24)},AS=CS(TS);function $S(e,{method:t="warn"}={}){console[t](AS(e))}const kS=mh({docsBase:"https://devfra.me/errors",reporters:[$S],codes:{DF0019:{why:e=>`RPC function "${e.name}" has \`agent\` set but \`jsonSerializable\` is not \`true\` — MCP requires JSON-serializable data.`,fix:"Set `jsonSerializable: true` if the payload is JSON-safe, or remove `agent` to keep it RPC-only."},DF0020:{why:e=>`RPC function "${e.name}" declares \`jsonSerializable: true\` but the value at "${e.path}" is a ${e.type}.`,fix:"Either drop `jsonSerializable: true` (falls back to structured-clone) or change the value to a JSON-safe shape."},DF0021:{why:e=>`RPC function "${e.name}" is already registered`,fix:"Use the `force` parameter to overwrite an existing registration."},DF0022:{why:e=>`RPC function "${e.name}" is not registered. Use register() to add new functions.`},DF0023:{why:e=>`RPC function "${e.name}" is not registered`},DF0024:{why:e=>`Either handler or setup function must be provided for RPC function "${e.name}"`},DF0025:{why:e=>`Function "${e.name}" not found in dump store`},DF0026:{why:e=>`No dump match for "${e.name}" with args: ${e.args}`},DF0027:{why:e=>`Function "${e.name}" with type "${e.type}" cannot have dump configuration. Only "static" and "query" types support dumps.`},DF0028:{why:e=>`Function "${e.name}" with type "${e.type}" cannot use \`snapshot: true\`. Only "query" functions support this sugar; "static" functions have equivalent default behavior already.`,fix:"Remove `snapshot: true`, or change the function type to `query`."}}});function PS(e,t=""){return JSON.stringify(e,function(o,s){const r=this,i=r!=null?r[o]:s;if(i===void 0){if(Array.isArray(r))throw to(t,"undefined",r,o);return s}if(i===null)return s;if(typeof i=="bigint")throw to(t,"BigInt",r,o);if(typeof i=="object"){if(i instanceof Map)throw to(t,"Map",r,o);if(i instanceof Set)throw to(t,"Set",r,o);if(i instanceof Date)throw to(t,"Date",r,o);if(Array.isArray(i))return s;const a=Object.getPrototypeOf(i);if(a!==null&&a!==Object.prototype)throw to(t,i.constructor?.name??"class instance",r,o)}return s})}function to(e,t,n,o){const s=OS(n,o);return kS.DF0020({name:e||"<anonymous>",type:t,path:s})}function OS(e,t){return Array.isArray(e)?`[${t}]`:t===""?"<root>":t}const Mu=typeof self=="object"?self:globalThis;function RS(e,t){const n=(s,r)=>(e.set(r,s),s),o=s=>{if(e.has(s))return e.get(s);const[r,i]=t[s];switch(r){case 0:case-1:return n(i,s);case 1:{const a=n([],s);for(const l of i)a.push(o(l));return a}case 2:{const a=n({},s);for(const[l,u]of i)a[o(l)]=o(u);return a}case 3:return n(new Date(i),s);case 4:{const{source:a,flags:l}=i;return n(new RegExp(a,l),s)}case 5:{const a=n(new Map,s);for(const[l,u]of i)a.set(o(l),o(u));return a}case 6:{const a=n(new Set,s);for(const l of i)a.add(o(l));return a}case 7:{const{name:a,message:l}=i;return n(new Mu[a](l),s)}case 8:return n(BigInt(i),s);case"BigInt":return n(Object(BigInt(i)),s);case"ArrayBuffer":return n(new Uint8Array(i).buffer,i);case"DataView":{const{buffer:a}=new Uint8Array(i);return n(new DataView(a),i)}}return n(new Mu[r](i),s)};return o}function IS(e){return RS(new Map,e)(0)}const no="",{toString:MS}={},{keys:NS}=Object;function Do(e){const t=typeof e;if(t!=="object"||!e)return[0,t];const n=MS.call(e).slice(8,-1);switch(n){case"Array":return[1,no];case"Object":return[2,no];case"Date":return[3,no];case"RegExp":return[4,no];case"Map":return[5,no];case"Set":return[6,no];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]}function Hs([e,t]){return e===0&&(t==="function"||t==="symbol")}function DS(e,t,n,o){const s=(i,a)=>{const l=o.push(i)-1;return n.set(a,l),l},r=i=>{if(n.has(i))return n.get(i);let[a,l]=Do(i);switch(a){case 0:{let c=i;switch(l){case"bigint":a=8,c=i.toString();break;case"function":case"symbol":if(e)throw new TypeError(`unable to serialize ${l}`);c=null;break;case"undefined":return s([-1],i)}return s([a,c],i)}case 1:{if(l){let d=i;return l==="DataView"?d=new Uint8Array(i.buffer):l==="ArrayBuffer"&&(d=new Uint8Array(i)),s([l,[...d]],i)}const c=[],f=s([a,c],i);for(const d of i)c.push(r(d));return f}case 2:{if(l)switch(l){case"BigInt":return s([l,i.toString()],i);case"Boolean":case"Number":case"String":return s([l,i.valueOf()],i)}if(t&&"toJSON"in i)return r(i.toJSON());const c=[],f=s([a,c],i);for(const d of NS(i))(e||!Hs(Do(i[d])))&&c.push([r(d),r(i[d])]);return f}case 3:return s([a,i.toISOString()],i);case 4:{const{source:c,flags:f}=i;return s([a,{source:c,flags:f}],i)}case 5:{const c=[],f=s([a,c],i);for(const[d,p]of i)(e||!(Hs(Do(d))||Hs(Do(p))))&&c.push([r(d),r(p)]);return f}case 6:{const c=[],f=s([a,c],i);for(const d of i)(e||!Hs(Do(d)))&&c.push(r(d));return f}}const{message:u}=i;return s([a,{name:l,message:u}],i)};return r}function LS(e,t={}){const n=[];return DS(!(t.json||t.lossy),!!t.json,new Map,n)(e),n}const{parse:jS,stringify:HS}=JSON,FS={json:!0,lossy:!0};function BS(e){return IS(jS(e))}function US(e){return HS(LS(e,FS))}function qS(e){return US(e)}function WS(e){return BS(e)}function Ii(){}const VS=new Map;function zS(e){let t=e.url;e.authToken&&(t=`${t}?vite_devtools_auth_token=${encodeURIComponent(e.authToken)}`);const n=new WebSocket(t),{onConnected:o=Ii,onError:s=Ii,onDisconnected:r=Ii,definitions:i=VS}=e;n.addEventListener("open",l=>{o(l)}),n.addEventListener("error",l=>{s(l instanceof Error?l:new Error(l.type))}),n.addEventListener("close",l=>{r(l)});const a=new Map;return{on:l=>{n.addEventListener("message",u=>{l(u.data)})},post:l=>{if(n.readyState===WebSocket.OPEN)n.send(l);else{let u=function(){n.send(l),n.removeEventListener("open",u)};n.addEventListener("open",u)}},serialize:l=>{let u;return l.t==="q"?u=l.m:(u=a.get(l.i),a.delete(l.i)),!(l.t==="s"&&"e"in l)&&u&&i.get(u)?.jsonSerializable===!0?PS(l,u??""):`s:${qS(l)}`},deserialize:l=>{const u=l.startsWith("s:")?WS(l.slice(2)):JSON.parse(l);return u.t==="q"&&u.i&&u.m&&a.set(u.i,u.m),u}}}const Lo=Ye(null),Mi=Ye([]),Nu=z([]),Du=z(null),Lu=z(!0),ju=z(!1);function Hu(e){return[...e].sort((t,n)=>{const o=t.lastActivityAt??t.lastSyncedAt,s=n.lastActivityAt??n.lastSyncedAt;return o&&s?o===s?t.repo.localeCompare(n.repo):s.localeCompare(o):o?-1:s?1:t.repo.localeCompare(n.repo)})}function At(){return{capabilities:Lo,projects:Mi,hubRoots:Nu,launchCwd:Du,launchCwdInRoots:Lu,loading:ju,setCapabilities(e){Lo.value=e,Mi.value=Hu(e.projects)},setProjects(e){const t=Hu(e);Mi.value=t,Lo.value&&(Lo.value={...Lo.value,projects:t})},setHubInfo(e){Nu.value=e.roots,Du.value=e.launchCwd,Lu.value=e.launchCwdInRoots},setLoading(e){ju.value=e}}}const La=new Map,Fs=new Set,KS=60;function NA(e,t=KS){const n=q(()=>Se(e)??null);function o(a){let l=La.get(a);return l||(l=z(null),La.set(a,l)),l}async function s(a){if(!Fs.has(a)){Fs.add(a);try{const l=await Ue().$call("ghfs:project-activity",a,t);o(a).value=l}catch{}finally{Fs.delete(a)}}}const r=q(()=>{const a=n.value;if(!a)return null;const l=o(a);return l.value==null&&!Fs.has(a)&&s(a),l.value});function i(){const a=n.value;a&&s(a)}return{data:r,refresh:i}}function GS(e){const t=La.get(e);t&&(t.value=null)}const er=z(null);let Bs=!1;function DA(e=90){async function t(){if(!Bs){Bs=!0;try{er.value=await Ue().$call("ghfs:hub-activity",e)}catch{}finally{Bs=!1}}}const n=q(()=>(er.value==null&&!Bs&&t(),er.value));function o(){t()}return{data:n,refresh:o}}function QS(){er.value=null}const Fu=z([]),Bu=z(!1),jo=z(null);let Uu=!1;function JS(e){return e.queue.entries.filter(t=>t.source!=="per-item").length}function Zr(){!Uu&&typeof window<"u"&&(Uu=!0,e());async function e(){try{const r=await Ue().$call("ghfs:hub-queue");Fu.value=r,Bu.value=!0}catch{}}async function t(r){jo.value=r;try{await Ue().$call("ghfs:hub-execute-queue",{projectId:r})}finally{jo.value=null,await e()}}async function n(){jo.value="all";try{await Ue().$call("ghfs:hub-execute-queue",{})}finally{jo.value=null,await e()}}const o=q(()=>Fu.value.map(r=>({...r,total:JS(r)})).filter(r=>r.total>0)),s=q(()=>o.value.reduce((r,i)=>r+i.total,0));return{groups:o,totalCount:s,executing:jo,loaded:Bu,load:e,executeProject:t,executeAll:n}}let Ni=null;function YS(){const e=window.location.protocol==="https:"?"wss:":"ws:",t=window.location.hostname,n=window.location.port;return`${e}//${t}${n?`:${n}`:""}/__ws`}function Ue(){return Ni||(Ni=typeof window>"u"?ex():XS()),Ni}function XS(){const e=zS({url:YS(),onDisconnected:()=>{},onError:()=>{}});return xS(ZS(),{channel:e,rpcOptions:{timeout:12e4}})}function ZS(){return{"ghfs:onSyncStageStart":e=>{const t=ze(e.projectId);t.setSyncing(!0),t.setProgress({kind:"sync",stage:e.stage,message:e.message})},"ghfs:onSyncProgress":e=>{const t=ze(e.projectId),n=e.snapshot.selected||e.snapshot.scanned,o=n>0?Math.min(1,e.snapshot.processed/n):void 0;t.setProgress({kind:"sync",stage:e.stage,message:e.message,processed:e.snapshot.processed,total:e.snapshot.selected,percent:o})},"ghfs:onSyncStageEnd":()=>{},"ghfs:onSyncComplete":e=>{const t=ze(e.projectId);t.setProgress(null),t.setSyncing(!1);const n=At();n.capabilities.value?.mode==="hub"&&Ue().$call("ghfs:list-projects").then(o=>n.setProjects(o)).catch(()=>{})},"ghfs:onSyncError":e=>{const t=ze(e.projectId);t.setError(`Sync failed: ${e.message}`),t.setProgress(null),t.setSyncing(!1)},"ghfs:onExecuteStart":e=>{const t=ze(e.projectId);t.setExecuting(!0),t.setProgress({kind:"execute",message:e.planned>0?`Executing ${e.planned} ops…`:"Executing…",processed:0,total:e.planned,percent:0})},"ghfs:onExecuteProgress":e=>{ze(e.projectId).setProgress({kind:"execute",message:e.detail?.message,processed:e.completed,total:e.planned,percent:e.planned>0?e.completed/e.planned:void 0})},"ghfs:onExecuteComplete":e=>{const t=ze(e.projectId);t.setProgress(null),t.setExecuting(!1)},"ghfs:onExecuteError":e=>{const t=ze(e.projectId);t.setError(`Execute failed: ${e.message}`),t.setProgress(null),t.setExecuting(!1)},"ghfs:onSyncStateChange":e=>{ze(e.projectId).patchSyncState(e.state),GS(e.projectId),QS()},"ghfs:onQueueChange":e=>{ze(e.projectId).patchQueue(e.queue),At().capabilities.value?.mode==="hub"&&Zr().load()},"ghfs:onRemoteStatusChange":e=>{ze(e.projectId).patchRemote(e.status)},"ghfs:onProjectsChange":()=>{Ue().$call("ghfs:list-projects").then(e=>{At().setProjects(e)}).catch(()=>{})},"ghfs:onHubInfoChange":e=>{At().setHubInfo(e)}}}function ex(){const e=()=>Promise.reject(new Error("RPC not available (SSR)"));return new Proxy({},{get(t,n){return n==="$closed"?!0:n==="$functions"?{}:n==="$close"||n==="$rejectPendingCalls"?()=>{}:e}})}const Pe=Et({drafts:{}}),tx=z(!1),nx=z(!1);let yh=!1,Di=null,ja=null;function Ho(){if(Di)return Di;const e=Ue(),t=RE(()=>{!yh||!ja||e.$call("ghfs:save-ui-state",ja,{drafts:{...Pe.drafts},listPaneSize:Pe.listPaneSize,lastPrTab:Pe.lastPrTab,userOverride:Pe.userOverride?{...Pe.userOverride}:void 0,autoSyncIntervalMs:Pe.autoSyncIntervalMs}).catch(n=>{xr.GHFS0900({detail:String(n?.message??n),cause:n})})},700);return Di=t,t}function ox(e){if(e==="conversation"||e==="commits"||e==="changes")return e}function qu(e){if(!e||typeof e!="object")return;const t={};return typeof e.login=="string"&&e.login.trim()&&(t.login=e.login.trim()),typeof e.name=="string"&&e.name.trim()&&(t.name=e.name.trim()),typeof e.avatarUrl=="string"&&e.avatarUrl.startsWith("https://")&&(t.avatarUrl=e.avatarUrl.trim()),Object.keys(t).length>0?t:void 0}function ws(){function e(l,u){ja=l;const c=u&&typeof u=="object"&&u.drafts&&typeof u.drafts=="object"?{...u.drafts}:{};Pe.drafts=c,Pe.listPaneSize=typeof u?.listPaneSize=="number"?u.listPaneSize:void 0,Pe.lastPrTab=ox(u?.lastPrTab),Pe.userOverride=qu(u?.userOverride),Pe.autoSyncIntervalMs=typeof u?.autoSyncIntervalMs=="number"?u.autoSyncIntervalMs:void 0,yh=!0}function t(l){const u=l?qu(l):void 0;Pe.userOverride=u,Ho()()}function n(l){return l==null?"":Pe.drafts[String(l)]??""}function o(l,u){const c=String(l);if(u===""){if(!(c in Pe.drafts))return;delete Pe.drafts[c]}else{if(Pe.drafts[c]===u)return;Pe.drafts[c]=u}Ho()()}function s(l){o(l,"")}function r(l){const u=Math.round(l*10)/10;Pe.listPaneSize!==u&&(Pe.listPaneSize=u,Ho()())}function i(l){Pe.lastPrTab!==l&&(Pe.lastPrTab=l,Ho()())}function a(l){const u=typeof l=="number"&&l>=6e4&&l<=36e5?Math.round(l):void 0;Pe.autoSyncIntervalMs!==u&&(Pe.autoSyncIntervalMs=u,Ho()())}return{uiState:Pe,helpOpen:tx,labelEditorOpen:nx,hydrate:e,getDraft:n,setDraft:o,clearDraft:s,setListPaneSize:r,setLastPrTab:i,setUserOverride:t,setAutoSyncIntervalMs:a}}const Li=z(!1),ji=z(!1),Hi=z(!1),Wu=z(!1);function _s(){return{pickerOpen:Li,settingsOpen:ji,queueDrawerOpen:Hi,syncingAll:Wu,openPicker(){Li.value=!0},closePicker(){Li.value=!1},openSettings(){ji.value=!0},closeSettings(){ji.value=!1},openQueueDrawer(){Hi.value=!0},closeQueueDrawer(){Hi.value=!1},setSyncingAll(e){Wu.value=e}}}async function sx(){const e=At(),t=Ue(),n=_s();if(n.syncingAll.value)return;const o=e.projects.value.filter(s=>s.hasToken);if(o.length!==0){n.setSyncingAll(!0);try{await Promise.allSettled(o.map(s=>t.$call("ghfs:trigger-sync",s.id,{})));try{const s=await t.$call("ghfs:list-projects");e.setProjects(s)}catch{}}finally{n.setSyncingAll(!1)}}}function Fi(e,t=[]){if(!e)return!1;if(e.endsWith("[bot]"))return!0;const n=e.toLowerCase();return t.some(o=>o.toLowerCase()===n)}function Vu(e,t=[]){const n=e.data;let o;const s=r=>{r&&(!o||r>o)&&(o=r)};for(const r of n.comments??[])Fi(r.author,t)||(s(r.updatedAt),s(r.createdAt));for(const r of n.timeline??[])Fi(r.actor,t)||s(r.createdAt);for(const r of n.commits??[])Fi(r.committerLogin,t)||s(r.committerDate??r.authorDate);return o??n.item.updatedAt}function vh(e){return`${e.projectId}-${e.kind}-${e.number}`}function rx(e,t,n){const o=e.data.item;return{key:vh({projectId:t,kind:o.kind,number:o.number}),projectId:t,repo:n,kind:o.kind,number:o.number,title:o.title,author:o.author,authorAvatarUrl:o.authorAvatarUrl,updatedAt:o.updatedAt,labels:o.labels,state:o.state,body:o.body??void 0,assignees:o.assignees,reactionsTotal:o.reactions?.totalCount,url:o.url,raw:e}}function ix(e,t){const n=t?.(e.projectId)??e.repo;return{key:vh({projectId:e.projectId,kind:e.kind,number:e.number}),projectId:e.projectId,repo:n,kind:e.kind,number:e.number,title:e.title,author:e.author,authorAvatarUrl:e.authorAvatarUrl,updatedAt:e.updatedAt,labels:e.labels,state:e.state}}function bh(){const e=ze(),t=q(()=>{const r=e.payload.value;if(!r)return[];const i=r.projectId,a=r.repo.repo,l=r.bots??[],u=Object.values(r.syncState.items);return u.sort((c,f)=>Vu(f,l).localeCompare(Vu(c,l))),u.map(c=>rx(c,i,a))}),n=ah(q(()=>e.filters.search),150,!0),o=q(()=>{const r=n.value.trim().toLowerCase(),i=r.length>0;return t.value.filter(a=>{if(a.state!=="open"||!i&&e.filters.kind!==a.kind)return!1;if(i){const l=a.body??"",u=(a.labels??[]).join(" "),c=(a.assignees??[]).join(" ");if(!`${a.number} ${a.title} ${u} ${c} ${a.author??""} ${l}`.toLowerCase().includes(r))return!1}return!0})}),s=q(()=>{let r=0,i=0;for(const a of t.value)a.state==="open"&&(a.kind==="issue"?r+=1:i+=1);return{issues:r,pulls:i}});return{allItems:t,filteredItems:o,counts:s}}const Ha=z(!1),Fa=z(null);let Fo=null;async function zu(e,t={}){const n=ze(e);if(!(!t.force&&n.payload.value)){Ha.value=!0,Fa.value=null,Fo=e;try{const o=await Ue().$call("ghfs:initial-payload",e);if(Fo!==e)return;n.setPayload(o),ws().hydrate(e,o.uiState)}catch(o){if(Fo!==e)return;Fa.value=o.message}finally{Fo===e&&(Ha.value=!1,Fo=null)}}}function ax(){return{loading:q(()=>Ha.value),error:q(()=>Fa.value),loadInitial(e){return zu(e,{force:!0})},ensureLoaded(e){return zu(e,{force:!1})}}}const Ku=z([]),Bi=z(!1),Ui=z(null),qi=z(null);function lx(e){return`${e.projectId}-${e.kind}-${e.number}`}function wh(){const e=ax();async function t(o=100){Bi.value=!0,Ui.value=null;try{const s=await Ue().$call("ghfs:hub-recent-items",o);Ku.value=s??[]}catch(s){Ui.value=s.message}finally{Bi.value=!1}}async function n(o){qi.value=lx(o),El().value=o.projectId,await e.ensureLoaded(o.projectId),ze(o.projectId).selectItem(o.number)}return{items:q(()=>Ku.value),loading:q(()=>Bi.value),error:q(()=>Ui.value),selectedKey:qi,selectKey(o){qi.value=o},selectItem:n,load:t}}const Gu=z("");function _h(){const e=wh(),t=At(),n=q(()=>{const i=new Map;for(const a of t.projects.value)i.set(a.id,a.repo);return i}),o=q(()=>{const i=n.value;return e.items.value.map(a=>ix(a,l=>i.get(l)))}),s=ah(Gu,150,!0),r=q(()=>{const i=s.value.trim().toLowerCase();return i?o.value.filter(a=>{const l=(a.labels??[]).join(" ");return`${a.number} ${a.title} ${a.repo} ${l} ${a.author??""}`.toLowerCase().includes(i)}):o.value});return{items:o,filteredItems:r,search:Gu}}function Eh(){const e=ze(),t=q(()=>(e.payload.value?.queue.entries??[]).filter(s=>s.source!=="per-item")),n=q(()=>t.value.length);return{entries:t,upCount:n}}const Wi=z(!1),Us=z(""),qs=z(0);function ei(){function e(){Us.value="",qs.value=0,Wi.value=!0}function t(){Wi.value=!1}function n(s){Us.value!==s&&(Us.value=s,qs.value=0)}function o(s){qs.value=s}return{paletteOpen:Wi,query:Us,selectedIndex:qs,open:e,close:t,setQuery:n,setSelectedIndex:o}}function ti(){const e=El(),t=q(()=>ze(e.value??void 0)),n=ws(),o=At(),s=_s(),r=dl(),{filteredItems:i}=bh(),{filteredItems:a}=_h(),{upCount:l}=Eh(),u=dh(),c=ei();return q(()=>{const f=t.value.selectedNumber.value,d=f==null?null:t.value.payload.value?.syncState.items[String(f)]?.data.item??null,p=o.capabilities.value?.mode==="hub",m=n.helpOpen.value,h=n.labelEditorOpen.value,b=t.value.queueOpen.value,w=t.value.executeConfirmOpen.value,g=s.pickerOpen.value,y=s.settingsOpen.value,v=s.queueDrawerOpen.value,_=r.path==="/recent";return{route:r.path,hubMode:p,hubHome:p&&r.path==="/",hasActiveItem:!!d,activeItemKind:d?.kind??null,activeItemState:d?.state??null,hasEntries:_?a.value.length>0:i.value.length>0,searching:t.value.filters.search.trim().length>0,hasToken:t.value.payload.value?.repo.hasToken??!1,hasSyncableProjects:o.projects.value.some(C=>C.hasToken),syncing:t.value.syncing.value,syncingAll:s.syncingAll.value,executing:t.value.executing.value,queueUpCount:l.value,inputFocused:u.value,paletteOpen:c.paletteOpen.value,helpOpen:m,labelEditorOpen:h,queueOpen:b,executeConfirmOpen:w,hubPickerOpen:g,hubSettingsOpen:y,hubQueueDrawerOpen:v,hubProjectsCount:o.projects.value.length,hasActiveProjectId:!!e.value,anyOverlayOpen:m||h||b||w||g||y||v}})}const cx=/Mac|iPhone|iPad|iPod/i;function Sh(){if(typeof navigator>"u")return!1;const e=navigator.platform||navigator.userAgent;return cx.test(e)}const ux={mod:"modPlaceholder",cmd:"meta",command:"meta",meta:"meta",win:"meta",super:"meta",ctrl:"ctrl",control:"ctrl",alt:"alt",option:"alt",opt:"alt",shift:"shift"},fx={esc:"Escape",escape:"Escape",return:"Enter",enter:"Enter",space:" ",spacebar:" ",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",arrowup:"ArrowUp",arrowdown:"ArrowDown",arrowleft:"ArrowLeft",arrowright:"ArrowRight",tab:"Tab",backspace:"Backspace",delete:"Delete",home:"Home",end:"End",pageup:"PageUp",pagedown:"PageDown"},Ba=["ctrl","alt","shift","meta"];function dx(e){const t=e.split("+").map(r=>r.trim()).filter(Boolean);if(t.length===0)return{modifiers:[],key:""};const n=new Set;let o="";for(let r=0;r<t.length;r++){const i=t[r],a=i.toLowerCase(),l=ux[a];if(l&&r!==t.length-1){n.add(l==="modPlaceholder"?Sh()?"meta":"ctrl":l);continue}/^[a-z]$/i.test(i)?(i!==i.toLowerCase()&&n.add("shift"),o=i.toLowerCase()):o=fx[a]??i}return{modifiers:Ba.filter(r=>n.has(r)),key:o}}function xh(e){return e.trim().split(/\s+/).map(dx)}function px(e){return e.key?[...e.modifiers,e.key].join("+"):""}function hx(e){const t=e.key;if(!t||t==="Shift"||t==="Control"||t==="Alt"||t==="Meta")return"";const n=/^[a-z]$/i.test(t),o=n?t.toLowerCase():t,s=[];return e.ctrlKey&&s.push("ctrl"),e.altKey&&s.push("alt"),e.shiftKey&&(t.length>1||n)&&s.push("shift"),e.metaKey&&s.push("meta"),s.sort((r,i)=>Ba.indexOf(r)-Ba.indexOf(i)),[...s,o].join("+")}function Qu(e){const t=Sh(),n=[];for(const o of e.modifiers)o==="meta"?n.push(t?"⌘":"Win"):o==="ctrl"?n.push(t?"⌃":"Ctrl"):o==="alt"?n.push(t?"⌥":"Alt"):o==="shift"&&n.push("⇧");return n.push(mx(e.key)),n}function mx(e){return e==="Escape"?"Esc":e==="Enter"?"↵":e==="ArrowUp"?"↑":e==="ArrowDown"?"↓":e==="ArrowLeft"?"←":e==="ArrowRight"?"→":e===" "?"Space":e==="Tab"?"Tab":e}function Sl(e){const t=xh(e);if(t.length===1)return Qu(t[0]);const n=[];for(const o of t)n.push(...Qu(o));return n}const Ch=Ye([]),ni=Ye([]),ns=new Map;function Vi(e){if(!e)return null;try{return tS(e)}catch(t){return typeof console<"u"&&console.warn(`[commands] failed to parse when expression: ${e}`,t),null}}function gx(e){ns.clear();const t=[],n=[];for(const o of e){if(ns.has(o.id)){typeof console<"u"&&console.warn(`[commands] duplicate command id: ${o.id}`);continue}const s={command:o,whenNode:Vi(o.when),helpNode:typeof o.help=="string"?Vi(o.help):null};if(t.push(s),ns.set(o.id,s),o.keybindings)for(const r of o.keybindings){const i=typeof r=="string"?{key:r}:r,a=i.when??o.when;n.push({command:o,key:i.key,whenNode:Vi(a),label:i.label})}}Ch.value=t,ni.value=n}function Th(e){const t=[];for(const n of ni.value)n.command.id===e&&t.push({command:n.command,key:n.key,when:typeof n.command.when=="string"?n.command.when:void 0,label:n.label});return t}function xo(e,t){if(!e)return!0;try{return nS(e,t)}catch(n){return typeof console<"u"&&console.warn("[commands] when evaluation failed",n),!1}}function Ah(){return Ch.value}function yx(){return ni.value}function $h(e){const t=ti(),n=q(()=>ns.get(e)?.command),o=q(()=>ni.value.filter(l=>l.command.id===e)),s=q(()=>{const l=o.value[0];return l?l.label?l.label:Sl(l.key):[]}),r=q(()=>o.value[0]?.key??""),i=q(()=>o.value.length>0),a=q(()=>{const l=ns.get(e);return l?xo(l.whenNode,t.value):!1});return{command:n,label:s,key:r,active:a,hasKey:i}}const vx=de({__name:"Kbd",props:{command:{},keys:{},active:{type:Boolean,default:!0},tone:{default:"default"}},setup(e){const t=e,n=dh(),o=q(()=>t.command?$h(t.command):null),s=q(()=>o.value?o.value.label.value:Array.isArray(t.keys)?t.keys:t.keys?[t.keys]:[]),r=q(()=>o.value?o.value.active.value:t.active),i=q(()=>!r.value||n.value?"op30":t.tone==="muted"?"op60":"");return(a,l)=>R(s).length?(D(),ee("span",{key:0,class:Ce(["inline-flex items-center gap-0.5 align-middle transition-opacity",R(i)])},[(D(!0),ee(_e,null,qt(R(s),(u,c)=>(D(),ee("kbd",{key:c,class:"kbd"},Ee(u),1))),128))],2)):Me("",!0)}}),bx=Object.assign(vx,{__name:"UiKbd"}),wx=de({inheritAttrs:!1,__name:"WithCommand",props:{command:{},tone:{},placement:{default:"inline"}},setup(e){const n=$h(e.command),o=q(()=>!n.active.value);function s(){if(o.value)return;const r=n.command.value;r&&r.run()}return(r,i)=>{const a=bx;return r.$slots.default?e.placement==="badge"?(D(),ee("span",rt({key:1,class:"relative inline-flex align-middle"},r.$attrs),[we(r.$slots,"default",{execute:s,disabled:R(o)}),ce(a,{command:e.command,tone:e.tone,class:"absolute -bottom-1 -right-1 pointer-events-none"},null,8,["command","tone"])],16)):(D(),ee("span",rt({key:2,class:"inline-flex items-center gap-1 align-middle"},r.$attrs),[we(r.$slots,"default",{execute:s,disabled:R(o)}),ce(a,{command:e.command,tone:e.tone},null,8,["command","tone"])],16)):(D(),ue(a,rt({key:0,command:e.command,tone:e.tone},r.$attrs),null,16,["command","tone"]))}}}),kh=Object.assign(wx,{__name:"UiWithCommand"});function Ph(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(n);return[i=>{const a=tt(o,i);if(a||a===null)return a;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},i=>(zn(o,i),i)]}function An(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function Oh(e,t,n){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(s)}function _x(e){return e==null}function Ex(e,t){return Pr()?(em(e,t),!0):!1}function Sx(e){let t=!1,n;const o=Ga(!0);return((...s)=>(t||(n=o.run(()=>e(...s)),t=!0),n))}const On=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const xx=e=>typeof e<"u",Cx=Object.prototype.toString,Tx=e=>Cx.call(e)==="[object Object]",Ju=Ax();function Ax(){var e,t,n;return On&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function zi(e){return Array.isArray(e)?e:[e]}function $x(e){return We()}function kx(e){if(!On)return e;let t=0,n,o;const s=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return((...r)=>(t+=1,o||(o=Ga(!0),n=o.run(()=>e(...r))),Ex(s),n))}function Px(e,t){$x()&&$o(e,t)}function Ox(e,t,n){return Re(e,t,{...n,immediate:!0})}const xl=On?window:void 0;function oi(e){var t;const n=Se(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Rh(...e){const t=(o,s,r,i)=>(o.addEventListener(s,r,i),()=>o.removeEventListener(s,r,i)),n=q(()=>{const o=zi(Se(e[0])).filter(s=>s!=null);return o.every(s=>typeof s!="string")?o:void 0});return Ox(()=>{var o,s;return[(o=(s=n.value)===null||s===void 0?void 0:s.map(r=>oi(r)))!==null&&o!==void 0?o:[xl].filter(r=>r!=null),zi(Se(n.value?e[1]:e[0])),zi(R(n.value?e[2]:e[1])),Se(n.value?e[3]:e[2])]},([o,s,r,i],a,l)=>{if(!o?.length||!s?.length||!r?.length)return;const u=Tx(i)?{...i}:i,c=o.flatMap(f=>s.flatMap(d=>r.map(p=>t(f,d,p,u))));l(()=>{c.forEach(f=>f())})},{flush:"post"})}function Rx(){const e=Ye(!1),t=We();return t&&Pn(()=>{e.value=!0},t),e}function Ix(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Mx(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=xl,eventName:r="keydown",passive:i=!1,dedupe:a=!1}=o,l=Ix(t);return Rh(s,r,c=>{c.repeat&&Se(a)||l(c)&&n(c)},i)}function Nx(e){return JSON.parse(JSON.stringify(e))}function Dx(e,t,n,o={}){var s,r;const{clone:i=!1,passive:a=!1,eventName:l,deep:u=!1,defaultValue:c,shouldEmit:f}=o,d=We(),p=n||d?.emit||(d==null||(s=d.$emit)===null||s===void 0?void 0:s.bind(d))||(d==null||(r=d.proxy)===null||r===void 0||(r=r.$emit)===null||r===void 0?void 0:r.bind(d?.proxy));let m=l;t||(t="modelValue"),m=m||`update:${t.toString()}`;const h=g=>i?typeof i=="function"?i(g):Nx(g):g,b=()=>xx(e[t])?h(e[t]):c,w=g=>{f?f(g)&&p(m,g):p(m,g)};if(a){const g=z(b());let y=!1;return Re(()=>e[t],v=>{y||(y=!0,g.value=h(v),Xe(()=>y=!1))}),Re(g,v=>{!y&&(v!==e[t]||u)&&w(v)},{deep:u}),g}else return q({get(){return b()},set(g){w(g)}})}function Cl(e){return e?e.flatMap(t=>t.type===_e?Cl(t.children):[t]):[]}const[Lx]=Ph("ConfigProvider"),jx=kx(()=>{const e=z(new Map),t=z(),n=q(()=>{for(const i of e.value.values())if(i)return!0;return!1}),o=Lx({scrollBody:z(!0)});let s=null;const r=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",Ju&&s?.(),t.value=void 0};return Re(n,(i,a)=>{if(!On)return;if(!i){a&&r();return}t.value===void 0&&(t.value=document.body.style.overflow);const l=window.innerWidth-document.documentElement.clientWidth,u={padding:l,margin:0},c=o.scrollBody?.value?typeof o.scrollBody.value=="object"?fl({padding:o.scrollBody.value.padding===!0?l:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?l:o.scrollBody.value.margin},u):u:{padding:0,margin:0};l>0&&(document.body.style.paddingRight=typeof c.padding=="number"?`${c.padding}px`:String(c.padding),document.body.style.marginRight=typeof c.margin=="number"?`${c.margin}px`:String(c.margin),document.documentElement.style.setProperty("--scrollbar-width",`${l}px`),document.body.style.overflow="hidden"),Ju&&(s=Rh(document,"touchmove",f=>Fx(f),{passive:!1})),Xe(()=>{n.value&&(document.body.style.pointerEvents="none",document.body.style.overflow="hidden")})},{immediate:!0,flush:"sync"}),e});function Hx(e){const t=Math.random().toString(36).substring(2,7),n=jx();n.value.set(t,e);const o=q({get:()=>n.value.get(t)??!1,set:s=>n.value.set(t,s)});return Px(()=>{n.value.delete(t)}),o}function Ih(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:Ih(n)}}function Fx(e){const t=e||window.event,n=t.target;return n instanceof Element&&Ih(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function Tl(e){const t=We(),n=t?.type.emits,o={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(s=>{o[Qs(Je(s))]=(...r)=>e(s,...r)}),o}function Jt(){const e=We(),t=z(),n=q(()=>o());el(()=>{n.value!==o()&&Sm(t)});function o(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:oi(t)}const s=Object.assign({},e.exposed),r={};for(const a in e.props)Object.defineProperty(r,a,{enumerable:!0,configurable:!0,get:()=>e.props[a]});if(Object.keys(s).length>0)for(const a in s)Object.defineProperty(r,a,{enumerable:!0,configurable:!0,get:()=>s[a]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=r;function i(a){if(t.value=a,!!a&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>a instanceof Element?a:a.$el}),!(a instanceof Element)&&!Object.hasOwn(a,"$el"))){const l=a.$.exposed,u=Object.assign({},r);for(const c in l)Object.defineProperty(u,c,{enumerable:!0,configurable:!0,get:()=>l[c]});e.exposed=u}}return{forwardRef:i,currentRef:t,currentElement:n}}var Bx=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},oo=new WeakMap,Ws=new WeakMap,Vs={},Ki=0,Mh=function(e){return e&&(e.host||Mh(e.parentNode))},Ux=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=Mh(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},qx=function(e,t,n,o){var s=Ux(t,Array.isArray(e)?e:[e]);Vs[n]||(Vs[n]=new WeakMap);var r=Vs[n],i=[],a=new Set,l=new Set(s),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};s.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(d){if(a.has(d))c(d);else try{var p=d.getAttribute(o),m=p!==null&&p!=="false",h=(oo.get(d)||0)+1,b=(r.get(d)||0)+1;oo.set(d,h),r.set(d,b),i.push(d),h===1&&m&&Ws.set(d,!0),b===1&&d.setAttribute(n,"true"),m||d.setAttribute(o,"true")}catch(w){console.error("aria-hidden: cannot operate on ",d,w)}})};return c(t),a.clear(),Ki++,function(){i.forEach(function(f){var d=oo.get(f)-1,p=r.get(f)-1;oo.set(f,d),r.set(f,p),d||(Ws.has(f)||f.removeAttribute(o),Ws.delete(f)),p||f.removeAttribute(n)}),Ki--,Ki||(oo=new WeakMap,oo=new WeakMap,Ws=new WeakMap,Vs={})}},Wx=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),s=Bx(e);return s?(o.push.apply(o,Array.from(s.querySelectorAll("[aria-live], script"))),qx(o,s,n,"aria-hidden")):function(){return null}};function Vx(e){let t;Re(()=>oi(e),n=>{let o=!1;try{o=!!n?.closest("[popover]:not(:popover-open)")}catch{}n&&!o?t=Wx(n):t&&t()}),Hr(()=>{t&&t()})}function Yu(e,t="reka"){let n;return n=Gm?.(),t?`${t}-${n}`:n}function zx(e,t){const n=z(e);function o(r){return t[n.value][r]??n.value}return{state:n,dispatch:r=>{n.value=o(r)}}}function Kx(e,t){const n=z({}),o=z("none"),s=z(e),r=e.value?"mounted":"unmounted";let i;const a=t.value?.ownerDocument.defaultView??xl,{state:l,dispatch:u}=zx(r,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=b=>{if(On){const w=new CustomEvent(b,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(w)}};Re(e,async(b,w)=>{const g=w!==b;if(await Xe(),g){const y=o.value,v=zs(t.value);b?(u("MOUNT"),c("enter"),v==="none"&&c("after-enter")):v==="none"||v==="undefined"||n.value?.display==="none"?(u("UNMOUNT"),c("leave"),c("after-leave")):w&&y!==v?(u("ANIMATION_OUT"),c("leave")):(u("UNMOUNT"),c("after-leave"))}},{immediate:!0});const f=b=>{const w=zs(t.value),g=w.includes(CSS.escape(b.animationName)),y=l.value==="mounted"?"enter":"leave";if(b.target===t.value&&g&&(c(`after-${y}`),u("ANIMATION_END"),!s.value)){const v=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",i=a?.setTimeout(()=>{t.value?.style.animationFillMode==="forwards"&&(t.value.style.animationFillMode=v)})}b.target===t.value&&w==="none"&&u("ANIMATION_END")},d=b=>{b.target===t.value&&(o.value=zs(t.value))},p=Re(t,(b,w)=>{b?(n.value=getComputedStyle(b),b.addEventListener("animationstart",d),b.addEventListener("animationcancel",f),b.addEventListener("animationend",f)):(u("ANIMATION_END"),i!==void 0&&a?.clearTimeout(i),w?.removeEventListener("animationstart",d),w?.removeEventListener("animationcancel",f),w?.removeEventListener("animationend",f))},{immediate:!0}),m=Re(l,()=>{const b=zs(t.value);o.value=l.value==="mounted"?b:"none"});return Hr(()=>{p(),m()}),{isPresent:q(()=>["mounted","unmountSuspended"].includes(l.value))}}function zs(e){return e&&getComputedStyle(e).animationName||"none"}var Nh=de({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){const{present:o,forceMount:s}=jf(e),r=z(),{isPresent:i}=Kx(o,r);n({present:i});let a=t.default({present:i.value});a=Cl(a||[]);const l=We();if(a&&a?.length>1){const u=l?.parent?.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(c=>` - ${c}`).join(`
10
- `)].join(`
11
- `))}return()=>s.value||o.value||i.value?Qe(t.default({present:i.value})[0],{ref:u=>{const c=oi(u);return typeof c?.hasAttribute>"u"||(c?.hasAttribute("data-reka-popper-content-wrapper")?r.value=c.firstElementChild:r.value=c),c}}):null}});const Gx=de({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;const o=Cl(n.default()),s=o.findIndex(l=>l.type!==Ne);if(s===-1)return o;const r=o[s];delete r.props?.ref;const i=r.props?rt(t,r.props):t,a=Kt({...r,props:{}},i);return o.length===1?a:(o[s]=a,o)}}}),Qx=["area","img","input"],Es=de({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const o=e.asChild?"template":e.as;return typeof o=="string"&&Qx.includes(o)?()=>Qe(o,t):o!=="template"?()=>Qe(e.as,t,{default:n.default}):()=>Qe(Gx,t,{default:n.default})}}),[Rn,Jx]=Ph("DialogRoot");var Yx=de({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,s=Dx(n,"open",t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),r=z(),i=z(),{modal:a}=jf(n);return Jx({open:s,modal:a,openModal:()=>{s.value=!0},onOpenChange:l=>{s.value=l},onOpenToggle:()=>{s.value=!s.value},contentId:"",titleId:"",descriptionId:"",triggerElement:r,contentElement:i}),(l,u)=>we(l.$slots,"default",{open:R(s),close:()=>s.value=!1})}}),Xx=Yx;const Zx="dismissableLayer.pointerDownOutside",eC="dismissableLayer.focusOutside";function Dh(e,t){if(!(t instanceof Element))return!1;const n=t.closest("[data-dismissable-layer]"),o=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),s=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(o===n||s.indexOf(o)<s.indexOf(n)))}function tC(e,t,n=!0){const o=t?.value?.ownerDocument??globalThis?.document,s=z(!1),r=z(()=>{});return $n(i=>{if(!On||!Se(n))return;const a=async u=>{const c=u.target;if(!(!t?.value||!c)){if(Dh(t.value,c)){s.value=!1;return}if(u.target&&!s.value){let d=function(){Oh(Zx,e,f)};const f={originalEvent:u};u.pointerType==="touch"?(o.removeEventListener("click",r.value),r.value=d,o.addEventListener("click",r.value,{once:!0})):d()}else o.removeEventListener("click",r.value);s.value=!1}},l=window.setTimeout(()=>{o.addEventListener("pointerdown",a)},0);i(()=>{window.clearTimeout(l),o.removeEventListener("pointerdown",a),o.removeEventListener("click",r.value)})}),{onPointerDownCapture:()=>{Se(n)&&(s.value=!0)}}}function nC(e,t,n=!0){const o=t?.value?.ownerDocument??globalThis?.document,s=z(!1);return $n(r=>{if(!On||!Se(n))return;const i=async a=>{if(!t?.value)return;await Xe(),await Xe();const l=a.target;!t.value||!l||Dh(t.value,l)||a.target&&!s.value&&Oh(eC,e,{originalEvent:a})};o.addEventListener("focusin",i),r(()=>o.removeEventListener("focusin",i))}),{onFocusCapture:()=>{Se(n)&&(s.value=!0)},onBlurCapture:()=>{Se(n)&&(s.value=!1)}}}const vt=Et({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var oC=de({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:s,currentElement:r}=Jt(),i=q(()=>r.value?.ownerDocument??globalThis.document),a=q(()=>vt.layersRoot),l=q(()=>r.value?Array.from(a.value).indexOf(r.value):-1),u=q(()=>vt.layersWithOutsidePointerEventsDisabled.size>0),c=q(()=>{const p=Array.from(a.value),[m]=[...vt.layersWithOutsidePointerEventsDisabled].slice(-1),h=p.indexOf(m);return l.value>=h}),f=tC(async p=>{const m=[...vt.branches].some(h=>h?.contains(p.target));!c.value||m||(o("pointerDownOutside",p),o("interactOutside",p),await Xe(),p.defaultPrevented||o("dismiss"))},r),d=nC(p=>{[...vt.branches].some(h=>h?.contains(p.target))||(o("focusOutside",p),o("interactOutside",p),p.defaultPrevented||o("dismiss"))},r);return Mx("Escape",p=>{l.value===a.value.size-1&&(o("escapeKeyDown",p),p.defaultPrevented||o("dismiss"))}),$n(p=>{r.value&&(n.disableOutsidePointerEvents&&(vt.layersWithOutsidePointerEventsDisabled.size===0&&(vt.originalBodyPointerEvents=i.value.body.style.pointerEvents,i.value.body.style.pointerEvents="none"),vt.layersWithOutsidePointerEventsDisabled.add(r.value)),a.value.add(r.value),p(()=>{n.disableOutsidePointerEvents&&vt.layersWithOutsidePointerEventsDisabled.size===1&&!_x(vt.originalBodyPointerEvents)&&(i.value.body.style.pointerEvents=vt.originalBodyPointerEvents)}))}),$n(p=>{p(()=>{r.value&&(a.value.delete(r.value),vt.layersWithOutsidePointerEventsDisabled.delete(r.value))})}),(p,m)=>(D(),ue(R(Es),{ref:R(s),"as-child":p.asChild,as:p.as,"data-dismissable-layer":"",style:Ut({pointerEvents:u.value?c.value?"auto":"none":void 0}),onFocusCapture:R(d).onFocusCapture,onBlurCapture:R(d).onBlurCapture,onPointerdownCapture:R(f).onPointerDownCapture},{default:le(()=>[we(p.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),sC=oC;const rC=Sx(()=>z([]));function iC(){const e=rC();return{add(t){const n=e.value[0];t!==n&&n?.pause(),e.value=Xu(e.value,t),e.value.unshift(t)},remove(t){e.value=Xu(e.value,t),e.value[0]?.resume()}}}function Xu(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}const Gi="focusScope.autoFocusOnMount",Qi="focusScope.autoFocusOnUnmount",Zu={bubbles:!1,cancelable:!0};function aC(e,{select:t=!1}={}){const n=An();for(const o of e)if(bn(o,{select:t}),An()!==n)return!0}function lC(e){const t=Lh(e),n=ef(t,e),o=ef(t.reverse(),e);return[n,o]}function Lh(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const s=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||s?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ef(e,t){for(const n of e)if(!cC(n,{upTo:t}))return n}function cC(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function uC(e){return e instanceof HTMLInputElement&&"select"in e}function bn(e,{select:t=!1}={}){if(e&&e.focus){const n=An();e.focus({preventScroll:!0}),e!==n&&uC(e)&&t&&e.select()}}var fC=de({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,o=t,{currentRef:s,currentElement:r}=Jt(),i=z(null),a=iC(),l=Et({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});$n(c=>{if(!On)return;const f=r.value;if(!n.trapped)return;function d(b){if(l.paused||!f)return;const w=b.target;f.contains(w)?i.value=w:bn(i.value,{select:!0})}function p(b){if(l.paused||!f)return;const w=b.relatedTarget;w!==null&&(f.contains(w)||bn(i.value,{select:!0}))}function m(b){const w=i.value;if(w===null||!b.some(v=>v.removedNodes.length>0))return;f.contains(w)||bn(f)}document.addEventListener("focusin",d),document.addEventListener("focusout",p);const h=new MutationObserver(m);f&&h.observe(f,{childList:!0,subtree:!0}),c(()=>{document.removeEventListener("focusin",d),document.removeEventListener("focusout",p),h.disconnect()})}),$n(async c=>{const f=r.value;if(await Xe(),!f)return;a.add(l);const d=An();if(!f.contains(d)){const m=new CustomEvent(Gi,Zu);f.addEventListener(Gi,h=>o("mountAutoFocus",h)),f.dispatchEvent(m),m.defaultPrevented||(aC(Lh(f),{select:!0}),An()===d&&bn(f))}c(()=>{f.removeEventListener(Gi,b=>o("mountAutoFocus",b));const m=new CustomEvent(Qi,Zu),h=b=>{o("unmountAutoFocus",b)};f.addEventListener(Qi,h),f.dispatchEvent(m),setTimeout(()=>{m.defaultPrevented||bn(d??document.body,{select:!0}),f.removeEventListener(Qi,h),a.remove(l)},0)})});function u(c){if(!n.loop&&!n.trapped||l.paused)return;const f=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,d=An();if(f&&d){const p=c.currentTarget,[m,h]=lC(p);m&&h?!c.shiftKey&&d===h?(c.preventDefault(),n.loop&&bn(m,{select:!0})):c.shiftKey&&d===m&&(c.preventDefault(),n.loop&&bn(h,{select:!0})):d===p&&c.preventDefault()}}return(c,f)=>(D(),ue(R(Es),{ref_key:"currentRef",ref:s,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:u},{default:le(()=>[we(c.$slots,"default")]),_:3},8,["as-child","as"]))}}),dC=fC;function pC(e){return e?"open":"closed"}var hC=de({__name:"DialogContentImpl",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,s=Rn(),{forwardRef:r,currentElement:i}=Jt();return s.titleId||=Yu(void 0,"reka-dialog-title"),s.descriptionId||=Yu(void 0,"reka-dialog-description"),Pn(()=>{s.contentElement=i,An()!==document.body&&(s.triggerElement.value=An())}),(a,l)=>(D(),ue(R(dC),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:l[5]||(l[5]=u=>o("openAutoFocus",u)),onUnmountAutoFocus:l[6]||(l[6]=u=>o("closeAutoFocus",u))},{default:le(()=>[ce(R(sC),rt({id:R(s).contentId,ref:R(r),as:a.as,"as-child":a.asChild,"disable-outside-pointer-events":a.disableOutsidePointerEvents,role:"dialog","aria-describedby":R(s).descriptionId,"aria-labelledby":R(s).titleId,"data-state":R(pC)(R(s).open.value)},a.$attrs,{onDismiss:l[0]||(l[0]=u=>R(s).onOpenChange(!1)),onEscapeKeyDown:l[1]||(l[1]=u=>o("escapeKeyDown",u)),onFocusOutside:l[2]||(l[2]=u=>o("focusOutside",u)),onInteractOutside:l[3]||(l[3]=u=>o("interactOutside",u)),onPointerDownOutside:l[4]||(l[4]=u=>o("pointerDownOutside",u))}),{default:le(()=>[we(a.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),jh=hC,mC=de({__name:"DialogContentModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,s=Rn(),r=Tl(o),{forwardRef:i,currentElement:a}=Jt();return Vx(a),(l,u)=>(D(),ue(jh,rt({...n,...R(r)},{ref:R(i),"trap-focus":R(s).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:u[0]||(u[0]=c=>{c.defaultPrevented||(c.preventDefault(),R(s).triggerElement.value?.focus())}),onPointerDownOutside:u[1]||(u[1]=c=>{const f=c.detail.originalEvent,d=f.button===0&&f.ctrlKey===!0;(f.button===2||d)&&c.preventDefault()}),onFocusOutside:u[2]||(u[2]=c=>{c.preventDefault()})}),{default:le(()=>[we(l.$slots,"default")]),_:3},16,["trap-focus"]))}}),gC=mC,yC=de({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,s=Tl(t);Jt();const r=Rn(),i=z(!1),a=z(!1);return(l,u)=>(D(),ue(jh,rt({...n,...R(s)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:u[0]||(u[0]=c=>{c.defaultPrevented||(i.value||R(r).triggerElement.value?.focus(),c.preventDefault()),i.value=!1,a.value=!1}),onInteractOutside:u[1]||(u[1]=c=>{c.defaultPrevented||(i.value=!0,c.detail.originalEvent.type==="pointerdown"&&(a.value=!0));const f=c.target;R(r).triggerElement.value?.contains(f)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&a.value&&c.preventDefault()})}),{default:le(()=>[we(l.$slots,"default")]),_:3},16))}}),vC=yC,bC=de({__name:"DialogContent",props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,s=Rn(),r=Tl(o),{forwardRef:i}=Jt();return(a,l)=>(D(),ue(R(Nh),{present:a.forceMount||R(s).open.value},{default:le(()=>[R(s).modal.value?(D(),ue(gC,rt({key:0,ref:R(i)},{...n,...R(r),...a.$attrs}),{default:le(()=>[we(a.$slots,"default")]),_:3},16)):(D(),ue(vC,rt({key:1,ref:R(i)},{...n,...R(r),...a.$attrs}),{default:le(()=>[we(a.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),wC=bC,_C=de({__name:"DialogDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"p"}},setup(e){const t=e;Jt();const n=Rn();return(o,s)=>(D(),ue(R(Es),rt(t,{id:R(n).descriptionId}),{default:le(()=>[we(o.$slots,"default")]),_:3},16,["id"]))}}),EC=_C,SC=de({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=Rn();return Hx(!0),Jt(),(n,o)=>(D(),ue(R(Es),{as:n.as,"as-child":n.asChild,"data-state":R(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:le(()=>[we(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),xC=SC,CC=de({__name:"DialogOverlay",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=Rn(),{forwardRef:n}=Jt();return(o,s)=>R(t)?.modal.value?(D(),ue(R(Nh),{key:0,present:o.forceMount||R(t).open.value},{default:le(()=>[ce(xC,rt(o.$attrs,{ref:R(n),as:o.as,"as-child":o.asChild}),{default:le(()=>[we(o.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):Me("v-if",!0)}}),TC=CC,AC=de({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=Rx();return(n,o)=>R(t)||n.forceMount?(D(),ue(Wm,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[we(n.$slots,"default")],8,["to","disabled","defer"])):Me("v-if",!0)}}),$C=AC,kC=de({__name:"DialogPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,o)=>(D(),ue(R($C),za(Ur(t)),{default:le(()=>[we(n.$slots,"default")]),_:3},16))}}),PC=kC,OC=de({__name:"DialogTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h2"}},setup(e){const t=e,n=Rn();return Jt(),(o,s)=>(D(),ue(R(Es),rt(t,{id:R(n).titleId}),{default:le(()=>[we(o.$slots,"default")]),_:3},16,["id"]))}}),RC=OC;const IC=de({__name:"IconButton",props:{icon:{},tooltip:{},ariaLabel:{},size:{default:"md"},active:{type:Boolean},disabled:{type:Boolean},as:{default:"button"},href:{},target:{},rel:{},type:{default:"button"},dataTestid:{},spinning:{type:Boolean},tooltipSide:{default:"bottom"}},setup(e){const t=e,n=q(()=>t.size==="sm"?"w-6 h-6 text-sm":t.size==="lg"?"w-10 h-10":"w-9 h-9"),o=q(()=>`${n.value} rounded-full transition flex items-center justify-center outline-none focus-visible:ring-2 focus-visible:ring-primary-500/40 disabled:pointer-events-none disabled:op30`),s=q(()=>t.active?"op100 color-active bg-active":"op-fade hover:op100 hover:bg-active");return(r,i)=>e.tooltip?(D(),ue(R(pE),{key:0,placement:e.tooltipSide,distance:10,class:"inline-flex"},{popper:le(()=>[wt(Ee(e.tooltip),1)]),default:le(()=>[(D(),ue(sa(e.as),{type:e.as==="button"?e.type:void 0,disabled:e.as==="button"?e.disabled:void 0,href:e.as==="a"?e.href:void 0,target:e.as==="a"?e.target:void 0,rel:e.as==="a"?e.rel:void 0,"aria-label":e.ariaLabel??e.tooltip,"data-testid":e.dataTestid,class:Ce([o.value,s.value,"relative"])},{default:le(()=>[e.icon?(D(),ee("span",{key:0,class:Ce([e.icon,e.spinning?"animate-spin":""])},null,2)):Me("",!0),we(r.$slots,"default"),we(r.$slots,"badge")]),_:3},8,["type","disabled","href","target","rel","aria-label","data-testid","class"]))]),_:3},8,["placement"])):(D(),ue(sa(e.as),{key:1,type:e.as==="button"?e.type:void 0,disabled:e.as==="button"?e.disabled:void 0,href:e.as==="a"?e.href:void 0,target:e.as==="a"?e.target:void 0,rel:e.as==="a"?e.rel:void 0,"aria-label":e.ariaLabel,"data-testid":e.dataTestid,class:Ce([o.value,s.value,"relative"])},{default:le(()=>[e.icon?(D(),ee("span",{key:0,class:Ce([e.icon,e.spinning?"animate-spin":""])},null,2)):Me("",!0),we(r.$slots,"default"),we(r.$slots,"badge")]),_:3},8,["type","disabled","href","target","rel","aria-label","data-testid","class"]))}}),Hh=Object.assign(IC,{__name:"UiIconButton"}),MC={key:0,class:"px-5 py-3 border-b border-base flex items-center gap-2"},NC={class:"flex-1 overflow-y-auto"},DC={key:2,class:"px-5 py-3 border-t border-base flex items-center justify-end gap-2"},LC=de({__name:"Modal",props:fg({title:{},icon:{},description:{},width:{default:"w-[min(92vw,32rem)]"},maxHeight:{default:"max-h-[80vh]"},dataTestid:{},closeOnBackdrop:{type:Boolean,default:!0},closeOnEscape:{type:Boolean,default:!0},hideClose:{type:Boolean}},{open:{type:Boolean,required:!0},openModifiers:{}}),emits:["update:open"],setup(e){const t=ld(e,"open");function n(r){t.value&&!r.defaultPrevented&&r.cancelable}function o(r){t.value&&r.key==="Escape"&&!r.defaultPrevented&&(t.value=!1)}function s(){t.value=!1}return(r,i)=>{const a=TC,l=RC,u=Hh,c=EC,f=wC,d=PC,p=Xx;return D(),ue(p,{open:t.value,"onUpdate:open":i[3]||(i[3]=m=>t.value=m)},{default:le(()=>[ce(d,null,{default:le(()=>[ce(a,{class:"fixed inset-0 bg-black/40 z-modal-backdrop",onClick:i[0]||(i[0]=m=>e.closeOnBackdrop?s():null)}),ce(f,{"data-testid":e.dataTestid,class:Ce(["fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 panel-card shadow-xl z-modal-content flex flex-col overflow-hidden",[e.width,e.maxHeight]]),onEscapeKeyDown:i[1]||(i[1]=m=>e.closeOnEscape?null:o(m)),onPointerDownOutside:i[2]||(i[2]=m=>e.closeOnBackdrop?null:h=>h.preventDefault()),onInteractOutside:n},{default:le(()=>[e.title||r.$slots.header||r.$slots.actions?(D(),ee("header",MC,[we(r.$slots,"header",{},()=>[e.icon?(D(),ee("span",{key:0,class:Ce([e.icon,"color-active shrink-0"])},null,2)):Me("",!0),ce(l,{class:"font-medium text-sm"},{default:le(()=>[wt(Ee(e.title),1)]),_:1})]),i[4]||(i[4]=I("div",{class:"flex-1"},null,-1)),we(r.$slots,"actions"),e.hideClose?Me("",!0):(D(),ue(u,{key:0,icon:"i-ph-x",size:"sm","aria-label":"Close",onClick:s}))])):Me("",!0),e.description?(D(),ue(c,{key:1,class:"sr-only"},{default:le(()=>[wt(Ee(e.description),1)]),_:1})):Me("",!0),I("div",NC,[we(r.$slots,"default")]),r.$slots.footer?(D(),ee("footer",DC,[we(r.$slots,"footer")])):Me("",!0)]),_:3},8,["data-testid","class"])]),_:3})]),_:3},8,["open"])}}}),Al=Object.assign(LC,{__name:"UiModal"});function jC(){return QE("kyoto:collapse-bot-comments",!0)}const Ks=z(null),Ji=z(!1);function HC(){async function e(){try{const n=await Ue().$call("ghfs:hub-settings");Ks.value=n,Ji.value=!0}catch{Ks.value={},Ji.value=!0}}async function t(n){const o={autoSyncIntervalMs:n},s=await Ue().$call("ghfs:hub-set-settings",o);Ks.value=s}return{settings:q(()=>Ks.value),hydrated:q(()=>Ji.value),load:e,setAutoSyncIntervalMs:t}}const FC={class:"px-5 py-4 flex flex-col gap-6"},BC={key:0,class:"flex flex-col gap-2"},UC=["disabled","onClick"],qC={key:1,class:"flex flex-col gap-2"},WC={key:0,class:"flex flex-col gap-1 border border-base rounded bg-base/40","data-testid":"settings-hub-roots-list"},VC=["data-path"],zC=["title"],KC=["disabled"],GC=["disabled","onClick"],QC=["aria-label","onClick"],JC={key:1,class:"text-xs color-muted italic"},YC={class:"flex gap-2"},XC=["disabled"],ZC={key:2,class:"text-xs color-yellow-700 dark:color-yellow-300 flex items-start gap-1.5"},eT={class:"flex flex-col gap-2"},tT={class:"text-xs color-muted"},nT={class:"flex items-center gap-2"},oT=["value"],sT={class:"text-xs color-muted","data-testid":"settings-auto-sync-display"},rT={class:"flex flex-col gap-2"},iT={class:"flex items-center justify-between gap-3 text-sm"},aT={class:"flex items-center justify-between gap-3 text-sm"},lT=de({__name:"Settings",props:{open:{type:Boolean,required:!0},openModifiers:{}},emits:["update:open"],setup(e){const t=ld(e,"open"),n=fh(),o=jC(),s=At(),r=HC(),i=ws(),a=q(()=>s.capabilities.value?.mode==="hub"?"hub":"project"),l=z(""),u=z(null),c=z(!1),f=z(null),d=z(null),p=z(0);Re(t,async v=>{if(!v){f.value=null;return}if(u.value=null,l.value="",a.value==="hub"){await r.load();const _=r.settings.value?.autoSyncIntervalMs;p.value=_?Math.round(_/6e4):0}else{const _=i.uiState.autoSyncIntervalMs;p.value=_?Math.round(_/6e4):0}});async function m(){const v=l.value.trim();if(!(!v||c.value)){c.value=!0,u.value=null;try{const C=await Ue().$call("ghfs:hub-add-root",v);s.setHubInfo(C),l.value=""}catch(_){u.value=_.message}finally{c.value=!1}}}function h(v){f.value=v}function b(){f.value=null}async function w(v){if(!d.value){d.value=v,u.value=null;try{const C=await Ue().$call("ghfs:hub-remove-root",v);s.setHubInfo(C),f.value=null}catch(_){u.value=_.message}finally{d.value=null}}}async function g(v){const _=Math.max(0,Math.round(v));p.value=_;const C=_===0?void 0:Math.min(Math.max(_*6e4,6e4),36e5);a.value==="hub"?await r.setAutoSyncIntervalMs(C):i.setAutoSyncIntervalMs(C)}const y=q(()=>p.value<=0?"Off — sync only when triggered manually.":p.value===1?"Every minute.":`Every ${p.value} minutes.`);return(v,_)=>{const C=kh,x=Al;return D(),ue(x,{open:t.value,"onUpdate:open":_[5]||(_[5]=T=>t.value=T),title:"Settings",icon:"i-ph-gear-six-duotone",width:"w-[min(92vw,36rem)]","data-testid":"settings-dialog"},{footer:le(()=>[I("button",{type:"button",class:"btn-action-sm",onClick:_[4]||(_[4]=T=>t.value=!1)}," Close ")]),default:le(()=>[I("div",FC,[R(a)==="hub"?(D(),ee("section",BC,[_[7]||(_[7]=I("header",{class:"flex items-center gap-1.5"},[I("span",{class:"i-ph-sliders-duotone color-active text-sm"}),I("h3",{class:"text-sm font-medium"},"Projects")],-1)),_[8]||(_[8]=I("p",{class:"text-xs color-muted"},"Choose which scanned repositories appear in the hub.",-1)),I("div",null,[ce(C,{command:"hub.manage"},{default:le(({execute:T,disabled:A})=>[I("button",{type:"button",class:"btn-action-sm","data-testid":"settings-manage-projects",disabled:A,onClick:T},[..._[6]||(_[6]=[I("span",{class:"i-ph-sliders-duotone"},null,-1),I("span",null,"Manage projects",-1)])],8,UC)]),_:1})])])):Me("",!0),R(a)==="hub"?(D(),ee("section",qC,[_[14]||(_[14]=I("header",{class:"flex items-center gap-1.5"},[I("span",{class:"i-ph-folder-duotone color-active text-sm"}),I("h3",{class:"text-sm font-medium"},"Hub roots")],-1)),_[15]||(_[15]=I("p",{class:"text-xs color-muted"},"Directories the hub scans for projects. Add as many as you like — all of their enabled projects appear together on the hub home.",-1)),R(s).hubRoots.value.length>0?(D(),ee("ul",WC,[(D(!0),ee(_e,null,qt(R(s).hubRoots.value,T=>(D(),ee("li",{key:T,class:"flex items-center gap-2 px-2.5 py-1.5 border-b border-base last:border-b-0","data-testid":"settings-hub-root-row","data-path":T},[_[11]||(_[11]=I("span",{class:"i-ph-folder-duotone color-muted shrink-0 text-sm"},null,-1)),I("span",{class:"flex-1 truncate text-xs font-mono",title:T},Ee(T),9,zC),R(f)===T?(D(),ee(_e,{key:0},[I("button",{type:"button",class:"btn-action-sm text-xs","data-testid":"settings-hub-root-remove-cancel",disabled:R(d)===T,onClick:b}," Cancel ",8,KC),I("button",{type:"button",class:"btn-action-sm text-xs color-yellow-700 dark:color-yellow-300","data-testid":"settings-hub-root-remove-confirm",disabled:R(d)===T,onClick:A=>w(T)},[I("span",{class:Ce(R(d)===T?"i-octicon-sync-16 animate-spin":"i-ph-trash-duotone")},null,2),_[9]||(_[9]=I("span",null,"Confirm",-1))],8,GC)],64)):(D(),ee("button",{key:1,type:"button",class:"btn-action-sm text-xs","data-testid":"settings-hub-root-remove","aria-label":`Remove ${T}`,onClick:A=>h(T)},[..._[10]||(_[10]=[I("span",{class:"i-ph-x-bold"},null,-1),I("span",null,"Remove",-1)])],8,QC))],8,VC))),128))])):(D(),ee("p",JC," No hub roots configured. Add one to start scanning for projects. ")),I("div",YC,[Wf(I("input",{"onUpdate:modelValue":_[0]||(_[0]=T=>Oe(l)?l.value=T:null),type:"text",class:"flex-1 border border-base rounded bg-base px-2.5 py-1.5 text-sm font-mono outline-none focus:border-active focus:ring-2 focus:ring-primary-500/30",placeholder:"/Users/me/projects","data-testid":"settings-hub-root-add-input",onKeydown:Ld(m,["enter"])},null,544),[[Dd,R(l)]]),I("button",{type:"button",class:"btn-action-sm","data-testid":"settings-hub-root-add",disabled:R(c)||!R(l).trim(),onClick:m},[I("span",{class:Ce(R(c)?"i-octicon-sync-16 animate-spin":"i-ph-plus-bold")},null,2),_[12]||(_[12]=I("span",null,"Add",-1))],8,XC)]),R(u)?(D(),ee("p",ZC,[_[13]||(_[13]=I("span",{class:"i-ph-warning-duotone mt-0.5 shrink-0"},null,-1)),I("span",null,Ee(R(u)),1)])):Me("",!0)])):Me("",!0),I("section",eT,[_[18]||(_[18]=I("header",{class:"flex items-center gap-1.5"},[I("span",{class:"i-octicon-sync-16 color-active text-sm"}),I("h3",{class:"text-sm font-medium"},"Auto-sync")],-1)),I("p",tT,Ee(R(a)==="hub"?"Re-sync every project with a token on a fixed interval.":"Re-sync this project on a fixed interval."),1),I("div",nT,[I("input",{value:R(p),type:"number",min:"0",max:"60",step:"1",class:"w-20 border border-base rounded bg-base px-2.5 py-1.5 text-sm font-mono tabular-nums outline-none focus:border-active focus:ring-2 focus:ring-primary-500/30","data-testid":"settings-auto-sync-input",onChange:_[1]||(_[1]=T=>g(Number(T.target.value)))},null,40,oT),_[16]||(_[16]=I("span",{class:"text-sm color-muted"},"min",-1)),_[17]||(_[17]=I("span",{class:"text-xs color-faint"},"·",-1)),I("span",sT,Ee(R(y)),1)]),_[19]||(_[19]=I("p",{class:"text-[11px] color-faint"},"Range: 1–60 minutes. Set to 0 to disable.",-1))]),I("section",rT,[_[22]||(_[22]=I("header",{class:"flex items-center gap-1.5"},[I("span",{class:"i-ph-paint-brush-duotone color-active text-sm"}),I("h3",{class:"text-sm font-medium"},"UI")],-1)),I("label",iT,[_[20]||(_[20]=I("span",{class:"color-muted"},"Theme",-1)),I("button",{type:"button",class:"btn-action-sm","data-testid":"settings-theme-toggle",onClick:_[2]||(_[2]=T=>n.value=!R(n))},[I("span",{class:Ce(R(n)?"i-ph-moon-duotone":"i-ph-sun-duotone")},null,2),I("span",null,Ee(R(n)?"Dark":"Light"),1)])]),I("label",aT,[_[21]||(_[21]=I("span",{class:"color-muted"},"Collapse bot comments",-1)),I("button",{type:"button",class:"btn-action-sm","data-testid":"settings-collapse-bot-comments-toggle",onClick:_[3]||(_[3]=T=>o.value=!R(o))},[I("span",{class:Ce(R(o)?"i-ph-toggle-right-fill color-active":"i-ph-toggle-left-fill color-muted")},null,2),I("span",null,Ee(R(o)?"On":"Off"),1)])])])])]),_:1},8,["open"])}}}),cT=Object.assign(lT,{__name:"PanelSettings"}),uT={key:2,class:"text-sm max-w-sm op-fade"},fT=de({__name:"EmptyState",props:{title:{},message:{},icon:{},color:{default:"gray"},size:{default:"md"}},setup(e){return(t,n)=>(D(),ee("div",{class:Ce(["flex flex-col items-center justify-center text-center color-muted",e.size==="sm"?"py-6 gap-2":e.size==="lg"?"py-20 gap-4":"py-12 gap-3"])},[e.icon?(D(),ee("div",{key:0,class:Ce(["op-mute",[e.icon,e.size==="sm"?"text-2xl":e.size==="lg"?"text-5xl":"text-4xl"]])},null,2)):Me("",!0),e.title?(D(),ee("div",{key:1,class:Ce(["font-medium color-base",e.size==="sm"?"text-sm":"text-base"])},Ee(e.title),3)):Me("",!0),e.message?(D(),ee("p",uT,Ee(e.message),1)):Me("",!0),we(t.$slots,"hint"),we(t.$slots,"default")],2))}}),dT=Object.assign(fT,{__name:"UiEmptyState"}),Fh=new Map,Ua=new Map;function pT(e){let t=Ua.get(e);if(t)return t;const n=Fh.get(e);return t=z(n??{pending:!0}),Ua.set(e,t),n||hT(e),t}async function hT(e){let t;try{t={pending:!1,dataUrl:await Ue().$call("ghfs:get-project-icon",e)}}catch{t={pending:!1,dataUrl:null}}Fh.set(e,t);const n=Ua.get(e);n&&(n.value=t)}function mT(e){return q(()=>{const t=Se(e);return t?pT(t).value:{pending:!1,dataUrl:null}})}const gT=["src","alt","width","height"],yT=["src","alt","width","height"],vT=["src","alt","width","height"],bT=de({__name:"ProjectIcon",props:{project:{},size:{default:20},fallbackClass:{default:"color-muted"},iconDataUrl:{default:null}},setup(e){const t=e,n=mT(()=>t.project.id),o=q(()=>t.project.repo.split("/")[0]??""),s=q(()=>o.value?`https://avatars.githubusercontent.com/${o.value}`:""),r=z(!1),i=z(!1),a=z(!1);Re(()=>t.project.id,()=>{r.value=!1,i.value=!1}),Re(()=>t.iconDataUrl,()=>{a.value=!1});const l=q(()=>!!t.iconDataUrl&&!a.value),u=q(()=>!l.value&&!n.value.pending&&!!n.value.dataUrl&&!r.value),c=q(()=>!l.value&&!u.value&&!!s.value&&!i.value);return(f,d)=>(D(),ee("span",{style:Ut({width:`${e.size}px`,height:`${e.size}px`}),class:"inline-flex shrink-0 items-center justify-center rounded-md overflow-hidden bg-#8881 align-middle"},[R(l)?(D(),ee("img",{key:0,src:e.iconDataUrl,alt:e.project.repo,width:e.size,height:e.size,loading:"lazy",class:"h-full w-full object-contain",onError:d[0]||(d[0]=p=>a.value=!0)},null,40,gT)):R(u)?(D(),ee("img",{key:1,src:R(n).dataUrl,alt:e.project.repo,width:e.size,height:e.size,loading:"lazy",class:"h-full w-full object-contain",onError:d[1]||(d[1]=p=>r.value=!0)},null,40,yT)):R(c)?(D(),ee("img",{key:2,src:R(s),alt:R(o),width:e.size,height:e.size,loading:"lazy",class:"h-full w-full object-cover",onError:d[2]||(d[2]=p=>i.value=!0)},null,40,vT)):(D(),ee("span",{key:3,class:Ce(["i-octicon-repo-16",e.fallbackClass])},null,2))],4))}}),wT=Object.assign(bT,{__name:"DisplayProjectIcon"}),Bh=["close","close-with-comment","reopen","set-title","set-body","add-comment","add-labels","remove-labels","set-labels","add-assignees","remove-assignees","set-assignees","set-milestone","clear-milestone","lock","unlock","request-reviewers","remove-reviewers","mark-ready-for-review","convert-to-draft","add-reaction","remove-reaction"],_T={open:"reopen",closes:"close","close-comment":"close-with-comment","comment-close":"close-with-comment","close-and-comment":"close-with-comment","comment-and-close":"close-with-comment",label:"add-labels",labels:"add-labels",tag:"add-labels",tags:"add-labels","add-tag":"add-labels",assign:"add-assignees",assignee:"add-assignees",assignees:"add-assignees",body:"set-body",title:"set-title",retitle:"set-title",ready:"mark-ready-for-review",undraft:"mark-ready-for-review",draft:"convert-to-draft",comment:"add-comment"},ET={close:"#ef4444","close-with-comment":"#fb7185",reopen:"#22c55e","set-title":"#3b82f6","set-body":"#06b6d4","add-comment":"#f97316","add-labels":"#84cc16","remove-labels":"#f43f5e","set-labels":"#eab308","add-assignees":"#10b981","remove-assignees":"#fb7185","set-assignees":"#0ea5e9","set-milestone":"#6366f1","clear-milestone":"#f59e0b",lock:"#a855f7",unlock:"#14b8a6","request-reviewers":"#38bdf8","remove-reviewers":"#e879f9","mark-ready-for-review":"#34d399","convert-to-draft":"#f472b6","add-reaction":"#fbbf24","remove-reaction":"#fb923c"};new Set(Bh);const ST=Object.keys(_T);[...Bh,...ST];const LA=["+1","-1","laugh","hooray","confused","heart","rocket","eyes"],xT={"+1":"👍","-1":"👎",laugh:"😄",hooray:"🎉",confused:"😕",heart:"❤️",rocket:"🚀",eyes:"👀"},CT={"+1":"plusOne","-1":"minusOne",laugh:"laugh",hooray:"hooray",confused:"confused",heart:"heart",rocket:"rocket",eyes:"eyes"};function jA(e){return CT[e]}function TT(e){const t=[];if("labels"in e&&Array.isArray(e.labels)&&t.push(e.labels.join(", ")),"assignees"in e&&Array.isArray(e.assignees)&&t.push(e.assignees.map(n=>`@${n}`).join(", ")),"title"in e&&typeof e.title=="string"&&t.push(`"${e.title}"`),"body"in e&&typeof e.body=="string"&&t.push(`"${e.body.slice(0,60)}${e.body.length>60?"…":""}"`),"milestone"in e&&e.milestone!=null&&t.push(String(e.milestone)),"reaction"in e&&typeof e.reaction=="string"){const n=xT[e.reaction];t.push(n?`${n} ${e.reaction}`:e.reaction)}if("target"in e&&e.target&&typeof e.target=="object"){const n=e.target;n.kind==="comment"&&n.commentId!=null?t.push(`on comment ${n.commentId}`):n.kind==="review"&&n.reviewId&&t.push("on review")}return t.join(" ")}const AT={key:1,class:"flex flex-col gap-4"},$T=["data-project-id"],kT={class:"flex items-center gap-2 px-4 py-2 border-b border-base bg-#8881 dark:bg-#fff1"},PT={class:"font-mono text-sm font-medium"},OT={class:"color-muted text-xs font-mono tabular-nums"},RT=["disabled","onClick"],IT={class:"flex flex-col divide-y divide-#8882"},MT=["onClick"],NT={class:"font-mono text-xs color-muted tabular-nums flex-none"},DT={class:"text-xs color-muted truncate flex-1"},LT=de({__name:"QueueList",setup(e){const t=Zr(),n=ht();function o(r){return ET[r]??"#6b7280"}function s(r,i){n.push(`/${r}/${i}`)}return(r,i)=>{const a=dT,l=wT;return R(t).groups.value.length===0?(D(),ue(a,{key:0,icon:"i-octicon-inbox-16",title:"No queued operations across any project",message:"Open an item in any project and use the footer actions to queue close/reopen/comment."})):(D(),ee("div",AT,[(D(!0),ee(_e,null,qt(R(t).groups.value,u=>(D(),ee("section",{key:u.projectId,class:"panel-card overflow-hidden","data-testid":"hub-queue-group","data-project-id":u.projectId},[I("header",kT,[ce(l,{project:{id:u.projectId,repo:u.repo},size:16},null,8,["project"]),I("span",PT,Ee(u.repo),1),I("span",OT,Ee(u.total),1),i[1]||(i[1]=I("div",{class:"flex-1"},null,-1)),I("button",{type:"button",class:"btn-primary text-xs flex items-center gap-1.5",disabled:R(t).executing.value===u.projectId||R(t).executing.value==="all","data-testid":"hub-queue-execute-project",onClick:c=>R(t).executeProject(u.projectId)},[I("span",{class:Ce(R(t).executing.value===u.projectId?"i-octicon-sync-16 animate-spin":"i-ph-play-duotone")},null,2),i[0]||(i[0]=I("span",null,"Execute",-1))],8,RT)]),I("ul",IT,[(D(!0),ee(_e,null,qt(u.queue.entries.filter(c=>c.source!=="per-item"),c=>(D(),ee("li",{key:c.id,class:"flex items-start gap-2 px-4 py-2 hover:bg-active transition cursor-pointer",onClick:f=>s(u.repo,c.op.number)},[I("span",{class:"badge font-mono text-xs flex-none",style:Ut({backgroundColor:`${o(c.op.action)}22`,color:o(c.op.action)})},Ee(c.op.action),5),I("span",NT,"#"+Ee(c.op.number),1),I("span",DT,Ee(R(TT)(c.op)),1)],8,MT))),128))])],8,$T))),128))]))}}}),jT=Object.assign(LT,{__name:"HubQueueList"}),HT={key:0,class:"fixed top-18 right-4 bottom-4 w-[32rem] max-w-[calc(100vw-2rem)] panel-floating rounded-xl z-drawer-content flex flex-col overflow-hidden","data-testid":"hub-queue-drawer"},FT={class:"flex items-center gap-2 px-4 py-3 border-b border-base"},BT={class:"color-muted text-sm font-mono tabular-nums"},UT=["onClick"],qT={class:"flex-1 overflow-y-auto p-3"},WT={class:"border-t border-base px-4 py-3 bg-#8881 flex items-center gap-2"},VT=["disabled","onClick"],zT=de({__name:"QueueDrawer",setup(e){const t=_s(),n=At(),o=Zr(),s=q(()=>n.capabilities.value?.mode==="hub");return(r,i)=>{const a=kh,l=Hh,u=jT;return D(),ue(Nd,{"enter-active-class":"transition duration-300 ease-[cubic-bezier(0.22,0.61,0.36,1)]","enter-from-class":"op0 translate-x-4","enter-to-class":"op100 translate-x-0","leave-active-class":"transition duration-200 ease-[cubic-bezier(0.22,0.61,0.36,1)]","leave-from-class":"op100 translate-x-0","leave-to-class":"op0 translate-x-4"},{default:le(()=>[R(s)&&R(t).queueDrawerOpen.value?(D(),ee("aside",HT,[I("header",FT,[i[1]||(i[1]=I("span",{class:"i-octicon-list-unordered-16 color-active"},null,-1)),i[2]||(i[2]=I("h2",{class:"font-medium"},"Queue",-1)),I("span",BT,Ee(R(o).totalCount.value),1),i[3]||(i[3]=I("div",{class:"flex-1"},null,-1)),ce(a,{command:"hub.queue-page"},{default:le(({execute:c})=>[I("button",{type:"button",class:"btn-action-sm","data-testid":"hub-queue-open-page",onClick:c},[...i[0]||(i[0]=[I("span",{class:"i-ph-arrows-out-duotone"},null,-1),I("span",null,"Open",-1)])],8,UT)]),_:1}),ce(a,{command:"action.queue"},{default:le(({execute:c})=>[ce(l,{icon:"i-ph-x",tooltip:"Close panel",onClick:c},null,8,["onClick"])]),_:1})]),I("div",qT,[ce(u)]),I("footer",WT,[i[5]||(i[5]=I("div",{class:"text-xs color-muted flex-1"}," Each project's queue executes independently. ",-1)),ce(a,{command:"hub.execute-all"},{default:le(({execute:c})=>[I("button",{type:"button",class:"btn-primary text-sm",disabled:R(o).totalCount.value===0||R(o).executing.value!==null,"data-testid":"hub-queue-execute-all",onClick:c},[I("span",{class:Ce(R(o).executing.value==="all"?"i-octicon-sync-16 animate-spin":"i-ph-play-duotone")},null,2),i[4]||(i[4]=I("span",null,"Execute all",-1))],8,VT)]),_:1})])])):Me("",!0)]),_:1})}}}),KT=Object.assign(zT,{__name:"HubQueueDrawer"}),GT={class:"flex items-center gap-2 w-full"},QT={key:0,class:"px-3 py-6 text-center color-muted text-sm"},JT={class:"px-3 pt-1 pb-1 text-xs color-muted uppercase tracking-wide font-medium"},YT=["data-selected","data-testid","onMousemove"],XT={key:1,class:"w-4 h-4 shrink-0","aria-hidden":"true"},ZT={class:"flex-1 min-w-0 truncate"},eA={class:"shrink-0 text-xs color-muted"},tA={key:2,class:"inline-flex items-center gap-0.5 shrink-0"},nA=de({__name:"CommandPalette",setup(e){const t=ei(),n=ti(),o=q({get:()=>t.paletteOpen.value,set:h=>t.paletteOpen.value=h}),s=q(()=>{const h=Ah(),b=n.value,w=[];for(const g of h){if(!xo(g.whenNode,b))continue;const v=Th(g.command.id)[0],_=v?v.label??Sl(v.key):[];w.push({command:g.command,score:0,keyLabel:_})}return w}),r=q(()=>{const h=t.query.value.trim().toLowerCase();if(!h)return s.value.map(w=>({...w,score:1}));const b=[];for(const w of s.value){const g=m(w.command,h);g>0&&b.push({...w,score:g})}return b.sort((w,g)=>g.score-w.score),b}),i=q(()=>r.value),a=q(()=>{const h=new Map;for(const g of r.value){const y=g.command.category||"Other",v=h.get(y)??[];v.push(g),h.set(y,v)}let b=0;const w=[];for(const[g,y]of h)w.push({title:g,entries:y,startIndex:b}),b+=y.length;return w});Re(r,h=>{if(h.length===0){t.setSelectedIndex(0);return}t.selectedIndex.value>=h.length&&t.setSelectedIndex(0)});function l(h){const b=i.value.length;if(b===0)return;const w=(t.selectedIndex.value+h+b)%b;t.setSelectedIndex(w),p()}function u(h){const b=i.value.length;b!==0&&t.setSelectedIndex(Math.max(0,Math.min(b-1,h)))}function c(h){if(h.key==="ArrowDown"){h.preventDefault(),l(1);return}if(h.key==="ArrowUp"){h.preventDefault(),l(-1);return}if(h.key==="Home"){h.preventDefault(),u(0),p();return}if(h.key==="End"){h.preventDefault(),u(i.value.length-1),p();return}h.key==="Enter"&&(h.preventDefault(),f())}async function f(){const h=i.value[t.selectedIndex.value];if(h){t.close();try{await h.command.run()}catch(b){xr.GHFS0901({shortcut:h.command.id,detail:String(b?.message??b),cause:b})}}}const d=z(null);function p(){Xe(()=>{d.value?.querySelector('[data-selected="true"]')?.scrollIntoView({block:"nearest"})})}Re(o,h=>{h&&Xe(()=>{document.querySelector('[data-testid="command-palette-input"]')?.focus()})});function m(h,b){const w=h.title.toLowerCase(),g=h.category.toLowerCase();let y=0;return w.startsWith(b)?y+=100:w.includes(b)&&(y+=50),g.startsWith(b)?y+=20:g.includes(b)&&(y+=10),w.split(/\s+/).map(_=>_[0]??"").join("").startsWith(b)&&(y+=30),w.split(/\s+/).some(_=>_.startsWith(b))&&(y+=15),y}return(h,b)=>{const w=Al;return D(),ue(w,{open:R(o),"onUpdate:open":b[1]||(b[1]=g=>Oe(o)?o.value=g:null),width:"w-[min(92vw,40rem)]","max-height":"max-h-[70vh]","hide-close":"","data-testid":"command-palette",onKeydown:c},{header:le(()=>[I("div",GT,[b[2]||(b[2]=I("span",{class:"i-ph-magnifying-glass-duotone color-active shrink-0"},null,-1)),Wf(I("input",{"onUpdate:modelValue":b[0]||(b[0]=g=>R(t).query.value=g),type:"text",placeholder:"Type a command…","aria-label":"Command palette","data-testid":"command-palette-input",autofocus:"",class:"bg-transparent outline-none w-full font-sans text-sm color-base"},null,512),[[Dd,R(t).query.value]]),b[3]||(b[3]=I("span",{class:"text-xs color-muted"},[I("span",{class:"kbd"},"↑"),wt(),I("span",{class:"kbd"},"↓"),wt(" navigate · "),I("span",{class:"kbd"},"↵"),wt(" run · "),I("span",{class:"kbd"},"Esc"),wt(" close ")],-1))])]),default:le(()=>[I("div",{ref_key:"listRef",ref:d,class:"px-2 py-2"},[R(i).length===0?(D(),ee("div",QT," No matching commands. ")):(D(!0),ee(_e,{key:1},qt(R(a),g=>(D(),ee("section",{key:g.title,class:"mb-3 last:mb-0"},[I("h3",JT,Ee(g.title),1),I("ul",null,[(D(!0),ee(_e,null,qt(g.entries,(y,v)=>(D(),ee("li",{key:y.command.id,"data-selected":g.startIndex+v===R(t).selectedIndex.value,"data-testid":`command-palette-row-${y.command.id}`,class:Ce(["flex items-center gap-2 px-3 py-1.5 rounded text-sm cursor-pointer",g.startIndex+v===R(t).selectedIndex.value?"bg-active color-base":"color-base hover:bg-active"]),onMousemove:_=>u(g.startIndex+v),onClick:f},[y.command.icon?(D(),ee("span",{key:0,class:Ce([y.command.icon,"shrink-0 color-muted"])},null,2)):(D(),ee("span",XT)),I("span",ZT,Ee(y.command.title),1),I("span",eA,Ee(y.command.category),1),y.keyLabel.length?(D(),ee("span",tA,[(D(!0),ee(_e,null,qt(y.keyLabel,(_,C)=>(D(),ee("kbd",{key:C,class:"kbd"},Ee(_),1))),128))])):Me("",!0)],42,YT))),128))])]))),128))],512)]),_:1},8,["open"])}}}),oA=Object.assign(nA,{__name:"PanelCommandPalette"}),sA={class:"px-6 py-4 grid grid-cols-2 gap-x-6 gap-y-4"},rA={class:"text-xs color-muted uppercase tracking-wide font-medium mb-2"},iA={class:"flex flex-col gap-1.5"},aA={class:"flex-1 min-w-0"},lA={key:0,class:"inline-flex items-center gap-0.5 shrink-0"},cA={key:1,class:"color-faint text-xs"},uA={key:0,class:"flex items-center gap-3 text-sm"},fA=de({__name:"Help",setup(e){const t=ws(),n=ti(),o=q(()=>{const s=n.value,r=[],i=new Map;for(const a of Ah()){const l=a.command;if(l.help===!1||typeof l.help=="string"&&!xo(a.helpNode,s))continue;const u=l.category||"Other";i.has(u)||(i.set(u,[]),r.push(u));const f=Th(l.id)[0],d=f?f.label??Sl(f.key):[];i.get(u).push({command:l,active:xo(a.whenNode,s),keys:d})}return r.map(a=>({title:a,rows:i.get(a)}))});return(s,r)=>{const i=Al;return D(),ue(i,{open:R(t).helpOpen.value,"onUpdate:open":r[0]||(r[0]=a=>R(t).helpOpen.value=a),title:"Keyboard shortcuts",icon:"i-ph-question-duotone",width:"w-[min(92vw,42rem)]","data-testid":"help-overlay"},{actions:le(()=>[...r[1]||(r[1]=[I("span",{class:"text-xs color-muted"},[wt(" Press "),I("span",{class:"kbd"},"?"),wt(" anytime · "),I("span",{class:"kbd"},"Esc"),wt(" to close ")],-1)])]),default:le(()=>[I("div",sA,[(D(!0),ee(_e,null,qt(R(o),a=>(D(),ee("section",{key:a.title},[I("h3",rA,Ee(a.title),1),I("ul",iA,[(D(!0),ee(_e,null,qt(a.rows,l=>(D(),ee("li",{key:l.command.id,class:Ce(["flex items-center gap-3 text-sm",{op40:!l.active}])},[I("span",aA,Ee(l.command.title),1),l.keys.length?(D(),ee("span",lA,[(D(!0),ee(_e,null,qt(l.keys,(u,c)=>(D(),ee("kbd",{key:c,class:"kbd"},Ee(u),1))),128))])):(D(),ee("span",cA,"—"))],2))),128)),a.title==="Item"?(D(),ee("li",uA,[...r[2]||(r[2]=[I("span",{class:"flex-1 min-w-0"},"Submit comment",-1),I("span",{class:"inline-flex items-center gap-0.5 shrink-0"},[I("kbd",{class:"kbd"},"⌘"),I("kbd",{class:"kbd"},"↵")],-1)])])):Me("",!0)])]))),128))])]),_:1},8,["open"])}}}),dA=Object.assign(fA,{__name:"PanelHelp"}),tf=120;function nf(e){if(typeof document>"u")return;const t=document.querySelector('[data-scroll="detail"]');t&&t.scrollBy({top:e,behavior:"smooth"})}function of(e){if(typeof document>"u")return;const t=document.querySelector('[data-scroll="detail"]');if(!t)return;const n=Array.from(t.querySelectorAll("[data-comment-id]"));if(n.length===0)return;const o=t.getBoundingClientRect().top;let s=-1;for(let l=0;l<n.length&&n[l].getBoundingClientRect().top-o<=8;l++)s=l;let r;if(e>0)r=s<0?0:Math.min(n.length-1,s+e);else{if(s<0)return;r=Math.max(0,s+e)}if(r===s)return;const a=n[r].getBoundingClientRect().top-o;t.scrollBy({top:a-8,behavior:"smooth"})}function pA(){const e=El(),t=q(()=>ze(e.value??void 0)),n=Ue(),o=fh(),s=ws(),r=At(),i=_s(),a=Zr(),l=ht(),{filteredItems:u}=bh(),{upCount:c}=Eh(),f=ei();function d(){document.querySelector('[data-testid="hub-project-card"]')?.focus()}const p=q(()=>{const k=t.value.selectedNumber.value;return k==null?null:t.value.payload.value?.syncState.items[String(k)]?.data.item??null}),m=dl(),h=wh(),{filteredItems:b}=_h(),w=q(()=>m.path==="/recent");function g(k){if(w.value){const ie=b.value;if(!ie.length)return;const lt=h.selectedKey.value==null?-1:ie.findIndex(pn=>pn.key===h.selectedKey.value),mt=lt<0?k>0?0:ie.length-1:Math.max(0,Math.min(ie.length-1,lt+k)),Ve=ie[mt];Ve&&h.selectItem(Ve);return}const W=u.value;if(!W.length)return;const B=t.value.selectedNumber.value==null?-1:W.findIndex(ie=>ie.number===t.value.selectedNumber.value),Y=B<0?k>0?0:W.length-1:Math.max(0,Math.min(W.length-1,B+k)),V=W[Y];V&&t.value.selectItem(V.number)}function y(){if(w.value){const W=b.value[0];W&&h.selectItem(W);return}const k=u.value[0];k&&t.value.selectItem(k.number)}function v(){if(w.value){const W=b.value,B=W[W.length-1];B&&h.selectItem(B);return}const k=u.value[u.value.length-1];k&&t.value.selectItem(k.number)}function _(){const k=document.querySelector('[data-shortcut="search"]');k&&(k.focus(),k.select())}function C(){const k=document.querySelector('[data-shortcut="comment-draft"]');k&&k.focus()}async function x(){if(!t.value.syncing.value){t.value.setSyncing(!0),t.value.setError(null);try{await n.$call("ghfs:trigger-sync",e.value??"__default__",{})}catch(k){t.value.setError(`Sync failed: ${k.message}`),t.value.setSyncing(!1)}}}function T(){t.value.executing.value||c.value!==0&&t.value.askExecute()}function A(){if(r.capabilities.value?.mode==="hub"){i.queueDrawerOpen.value?i.closeQueueDrawer():i.openQueueDrawer();return}t.value.queueOpen.value?t.value.closeQueue():t.value.openQueue()}async function P(){const k=p.value?.number;if(k==null)return;const W=s.getDraft(k).trim();try{W?(await n.$call("ghfs:add-queue-op",e.value??"__default__",{action:"close-with-comment",number:k,body:W}),s.clearDraft(k)):await n.$call("ghfs:add-queue-op",e.value??"__default__",{action:"close",number:k})}catch(B){t.value.setError(B.message)}}async function F(){const k=p.value?.number;if(k!=null)try{await n.$call("ghfs:add-queue-op",e.value??"__default__",{action:"reopen",number:k})}catch(W){t.value.setError(W.message)}}function O(){if(s.helpOpen.value){s.helpOpen.value=!1;return}if(s.labelEditorOpen.value){s.labelEditorOpen.value=!1;return}if(t.value.executeConfirmOpen.value){t.value.executeConfirmOpen.value=!1;return}if(i.settingsOpen.value){i.closeSettings();return}if(i.pickerOpen.value){i.closePicker();return}if(i.queueDrawerOpen.value){i.closeQueueDrawer();return}t.value.queueOpen.value&&t.value.closeQueue()}function U(k){const W=r.projects.value;if(W.length===0)return;const B=W.findIndex(ie=>ie.id===e.value),Y=B<0?0:(B+k+W.length)%W.length,V=W[Y];V&&l.push(`/${V.repo}`)}return[{id:"palette.open",title:"Open command palette",category:"Palette",icon:"i-ph-magnifying-glass-duotone",keybindings:[{key:"mod+k"},{key:"mod+shift+p"}],when:"!paletteOpen",run:()=>f.open()},{id:"nav.down",title:"Next item",category:"Navigate",keybindings:["j"],when:"hasEntries",run:()=>g(1)},{id:"nav.up",title:"Previous item",category:"Navigate",keybindings:["k"],when:"hasEntries",run:()=>g(-1)},{id:"nav.next-tab",title:"Next item (Tab)",category:"Navigate",keybindings:[{key:"Tab",label:["Tab"]}],when:"hasEntries",run:()=>g(1)},{id:"nav.prev-tab",title:"Previous item (Shift+Tab)",category:"Navigate",keybindings:[{key:"shift+Tab",label:["⇧","Tab"]}],when:"hasEntries",run:()=>g(-1)},{id:"detail.scroll-down",title:"Scroll detail down",category:"Navigate",keybindings:["ArrowDown"],run:()=>nf(tf)},{id:"detail.scroll-up",title:"Scroll detail up",category:"Navigate",keybindings:["ArrowUp"],run:()=>nf(-tf)},{id:"comment.next",title:"Next comment",category:"Navigate",keybindings:["J"],when:"hasActiveItem",run:()=>of(1)},{id:"comment.prev",title:"Previous comment",category:"Navigate",keybindings:["K"],when:"hasActiveItem",run:()=>of(-1)},{id:"list.first",title:"First item",category:"List",keybindings:["g g"],when:"hasEntries",run:y},{id:"list.last",title:"Last item",category:"List",keybindings:["G"],when:"hasEntries",run:v},{id:"list.open",title:"Open on GitHub",category:"List",icon:"i-octicon-link-external-16",keybindings:["g"],when:"hasActiveItem",run:()=>{const k=p.value?.url;k&&window.open(k,"_blank","noreferrer")}},{id:"tab.issues",title:"Issues tab",category:"Tabs",icon:"i-octicon-issue-opened-16",keybindings:["i"],when:"!searching",run:()=>{t.value.filters.kind="issue"}},{id:"tab.pulls",title:"Pull requests tab",category:"Tabs",icon:"i-octicon-git-pull-request-16",keybindings:["p"],when:"!searching",run:()=>{t.value.filters.kind="pull"}},{id:"search.focus",title:"Focus search",category:"Search",icon:"i-octicon-search-16",keybindings:["/"],run:_},{id:"action.sync",title:"Sync from GitHub",category:"Action",icon:"i-octicon-sync-16",keybindings:["s"],when:"hasToken && !syncing",run:x},{id:"action.queue",title:"Toggle queue",category:"Action",icon:"i-octicon-checklist-16",keybindings:["q"],run:A},{id:"action.execute",title:"Execute queue",category:"Action",icon:"i-octicon-play-16",keybindings:["x"],when:"hasToken && queueUpCount > 0 && !executing",run:T},{id:"action.theme",title:"Toggle theme",category:"Action",icon:"i-ph-circle-half-tilt-duotone",keybindings:["d"],run:()=>{o.value=!o.value}},{id:"item.close",title:"Queue: Close item",category:"Item",icon:"i-octicon-issue-closed-16",keybindings:["c"],when:'hasActiveItem && activeItemState == "open"',run:P},{id:"item.reopen",title:"Queue: Reopen item",category:"Item",icon:"i-octicon-issue-reopened-16",keybindings:["r"],when:'hasActiveItem && activeItemState == "closed"',run:F},{id:"item.labels",title:"Edit labels",category:"Item",icon:"i-octicon-tag-16",keybindings:["l"],when:"hasActiveItem",run:()=>{s.labelEditorOpen.value=!0}},{id:"comment.focus",title:"Focus comment",category:"Item",icon:"i-octicon-comment-16",keybindings:["n"],when:"hasActiveItem",run:C},{id:"pr.tab.conversation",title:"PR: Conversation tab",category:"PR detail",keybindings:["v"],when:'activeItemKind == "pull"',run:()=>s.setLastPrTab("conversation")},{id:"pr.tab.commits",title:"PR: Commits tab",category:"PR detail",keybindings:["m"],when:'activeItemKind == "pull"',run:()=>s.setLastPrTab("commits")},{id:"pr.tab.changes",title:"PR: Changes tab",category:"PR detail",keybindings:["f"],when:'activeItemKind == "pull"',run:()=>s.setLastPrTab("changes")},{id:"panel.close",title:"Close overlay",category:"Overlay",keybindings:["Escape"],when:"anyOverlayOpen",run:O},{id:"help.open",title:"Show keyboard shortcuts",category:"Help",icon:"i-ph-question-duotone",keybindings:["?"],run:()=>{s.helpOpen.value=!0}},{id:"settings.open",title:"Open settings",category:"Help",icon:"i-ph-gear-duotone",keybindings:[","],when:"!hubSettingsOpen",run:()=>i.openSettings()},{id:"hub.recent",title:"Hub: Recent activity",category:"Hub",icon:"i-ph-clock-counter-clockwise-duotone",keybindings:["u"],when:'hubMode && route != "/recent"',help:"hubMode",run:()=>{l.push("/recent")}},{id:"hub.queue-page",title:"Hub: Open queue page",category:"Hub",icon:"i-octicon-checklist-16",keybindings:["Q"],when:'hubMode && route != "/queue"',help:"hubMode",run:()=>{i.closeQueueDrawer(),l.push("/queue")}},{id:"hub.home",title:"Hub: Open home",category:"Hub",icon:"i-octicon-organization-16",when:'hubMode && route != "/"',help:"hubMode",run:()=>{l.push("/")}},{id:"hub.execute-all",title:"Hub: Execute all queues",category:"Hub",icon:"i-ph-play-duotone",when:"hubMode",help:"hubMode",run:()=>{a.executeAll()}},{id:"hub.prev-project",title:"Hub: Previous project",category:"Hub",keybindings:["["],when:'hubMode && hubProjectsCount > 1 && hasActiveProjectId && route != "/recent"',help:"hubMode",run:()=>U(-1)},{id:"hub.next-project",title:"Hub: Next project",category:"Hub",keybindings:["]"],when:'hubMode && hubProjectsCount > 1 && hasActiveProjectId && route != "/recent"',help:"hubMode",run:()=>U(1)},{id:"hub.back",title:"Hub: Back to home",category:"Hub",icon:"i-ph-arrow-left-duotone",keybindings:["b"],when:"hubMode && hasActiveProjectId",help:"hubMode",run:()=>{l.push("/")}},{id:"hub.sync-all",title:"Hub: Sync all projects",category:"Hub",icon:"i-octicon-sync-16",keybindings:["s"],when:"hubHome && hasSyncableProjects && !syncingAll",help:"hubMode",run:()=>{sx()}},{id:"hub.manage",title:"Hub: Manage projects",category:"Hub",icon:"i-ph-folder-duotone",keybindings:[{key:"m",when:"hubHome"}],when:"hubMode && !hubPickerOpen",help:"hubMode",run:()=>{i.closeSettings(),i.openPicker()}},{id:"hub.focus-first",title:"Hub: Focus first project card",category:"Hub",keybindings:["j"],when:"hubHome && hubProjectsCount > 0",help:"hubMode",run:d}]}function hA(e){const t=e;return!!t&&(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function mA(){if(typeof document>"u")return;const e=ti(),t=ei(),n=[];let o=null;ln(document,"keydown",s=>{const r=hA(s.target),i=s.ctrlKey||s.metaKey||s.altKey;if(r&&s.key==="Escape"){s.target.blur();return}if(r&&s.key==="Tab")s.target.blur();else if(r&&!i)return;if(t.paletteOpen.value)return;const a=hx(s);if(!a)return;const l=yx(),u=e.value,c=[];for(const d of l){const p=xh(d.key),m=p.map(px),h=p.some(b=>b.modifiers.length>0);c.push({command:d.command,tokens:m,whenNode:d.whenNode,hasModifier:h})}if(i){for(const d of c)if(d.hasModifier&&d.tokens.length===1&&d.tokens[0]===a&&xo(d.whenNode,u)){s.preventDefault(),n.length=0,sf(d.command);return}return}n.push(a),n.length>8&&n.shift(),o&&clearTimeout(o),o=setTimeout(()=>{n.length=0},800);const f=c.filter(d=>!d.hasModifier).sort((d,p)=>p.tokens.length-d.tokens.length);for(const d of f)if(gA(n,d.tokens)&&xo(d.whenNode,u)){s.preventDefault(),n.length=0,sf(d.command);return}})}function gA(e,t){if(t.length>e.length)return!1;const n=e.length-t.length;for(let o=0;o<t.length;o++)if(e[n+o]!==t[o])return!1;return!0}function sf(e){try{const t=e.run();t&&typeof t=="object"&&"catch"in t&&t.catch(n=>{xr.GHFS0901({shortcut:e.id,detail:String(n?.message??n),cause:n})})}catch(t){xr.GHFS0901({shortcut:e.id,detail:String(t?.message??t),cause:t})}}const yA=["bash","shell","diff","json","yaml","toml","html","css","scss","vue","javascript","typescript","tsx","jsx","python","rust","go","ruby","java","kotlin","markdown","sql"];let tr=null,Gs=null;const vA=z(0);function HA(){return tr}async function bA(){return tr||Gs||(Gs=(async()=>{const{createHighlighter:e}=await Sn(async()=>{const{createHighlighter:n}=await import("./ka8bt-K2.js");return{createHighlighter:n}},[],import.meta.url),t=await e({themes:["github-light","github-dark"],langs:[...yA]});return tr=t,vA.value+=1,t})(),Gs)}function wA(){typeof window<"u"&&bA()}const _A={class:"h-screen w-screen bg-base color-base font-sans overflow-hidden"},EA={key:0,class:"flex flex-col items-center justify-center h-full color-muted"},SA={class:"text-sm"},xA={key:1,class:"flex flex-col items-center justify-center h-full color-muted"},CA=de({__name:"app",setup(e){pw({htmlAttrs:{lang:"en"},title:"ghfs"});const t=Ue(),n=At();gx(pA()),mA(),wA();const o=_s(),s=q({get:()=>o.settingsOpen.value,set:a=>o.settingsOpen.value=a}),r=z(!1),i=z(null);return Pn(async()=>{try{const a=await t.$call("ghfs:capabilities");n.setCapabilities(a),r.value=!0}catch(a){i.value=a.message}}),(a,l)=>{const u=bE,c=cT,f=KT,d=oA,p=dA;return D(),ee("div",_A,[R(i)?(D(),ee("div",EA,[I("p",SA,Ee(R(i)),1)])):R(r)?(D(),ue(u,{key:2})):(D(),ee("div",xA,[...l[1]||(l[1]=[I("span",{class:"i-octicon-sync-16 animate-spin text-2xl mb-3 color-active"},null,-1),I("p",{class:"text-sm"},"Connecting…",-1)])])),ce(c,{open:R(s),"onUpdate:open":l[0]||(l[0]=m=>Oe(s)?s.value=m:null)},null,8,["open"]),ce(f),ce(d),ce(p)])}}}),TA={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,o=Number(n.statusCode||500),s=o===404,r=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,c=s?ql(()=>Sn(()=>import("./DRcdqDVD.js"),__vite__mapDeps([12,2,6,13]),import.meta.url)):ql(()=>Sn(()=>import("./DWbelWgw.js"),__vite__mapDeps([14,6,15]),import.meta.url));return(f,d)=>(D(),ue(R(c),za(Ur({status:R(o),statusText:R(r),statusCode:R(o),statusMessage:R(r),description:R(i),stack:R(a)})),null,16))}},AA={key:0},rf={__name:"nuxt-root",setup(e){const t=()=>null,n=qe(),o=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",o),f=ht().beforeEach(()=>{c(),f()})}const s=!1;zn(zr,dl()),n.hooks.callHookWith(c=>c.map(f=>f()),"vue:setup",[]);const r=Kr(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function l(c,f,d){const p=n.vueApp.config.errorHandler;if(p&&!p.__nuxt_default)try{p(c,f,d)}catch(m){console.error("[nuxt] Error in `app.config.errorHandler`",m)}}nd((c,f,d)=>{if(n.hooks.callHook("vue:error",c,f,d)?.catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",c),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,c),!1;if(ap(c)&&(c.fatal||c.unhandled))return n.runWithContext(()=>Fn(c)),l(c,f,d),!1});const u=!1;return(c,f)=>(D(),ue(xd,{onResolve:R(o)},{default:le(()=>[R(i)?(D(),ee("div",AA)):R(r)?(D(),ue(R(TA),{key:1,error:R(r)},null,8,["error"])):R(u)?(D(),ue(R(t),{key:2,context:R(u)},null,8,["context"])):R(s)?(D(),ue(sa(R(s)),{key:3})):(D(),ue(R(CA),{key:4}))]),_:1},8,["onResolve"]))}};let af;{let e;af=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),o=n?Ay(rf):Hd(rf),s=db({vueApp:o});async function r(i){await s.callHook("app:error",i),s.payload.error||=Qn(i)}r.__nuxt_default=!0,o.config.errorHandler=r,s.hook("app:suspense:resolve",()=>{o.config.errorHandler===r&&(o.config.errorHandler=void 0)}),!n&&Cc.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(Cc.id)?.remove()});try{await mb(s,yE)}catch(i){r(i)}try{await s.hooks.callHook("app:created",o),await s.hooks.callHook("app:beforeMount",o),o.mount(cb),await s.hooks.callHook("app:mounted",o),await Xe()}catch(i){r(i)}return o},e=af().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{ax as $,z as A,qt as B,we as C,Xe as D,$o as E,_e as F,jf as G,Re as H,za as I,Ur as J,Ut as K,ql as L,Sn as M,Ye as N,ze as O,wT as P,NA as Q,Ue as R,Al as S,Hh as T,kh as U,xb as V,_s as W,DA as X,Se as Y,bh as Z,jT as _,I as a,Lx as a0,oi as a1,tt as a2,_m as a3,Qe as a4,Gx as a5,zn as a6,An as a7,Dx as a8,Es as a9,bx as aA,Eh as aB,Nd as aC,ET as aD,TT as aE,kA as aF,We as aG,fg as aH,MA as aI,qe as aJ,kp as aK,is as aL,Qd as aM,Tb as aN,Cb as aO,c0 as aP,Jv as aQ,bs as aR,ul as aS,zv as aT,va as aU,eu as aV,RA as aW,OA as aX,Hf as aY,Ph as aa,Yu as ab,Hr as ac,Jt as ad,Nh as ae,Ld as af,PA as ag,fh as ah,rt as ai,sa as aj,$A as ak,Wf as al,vA as am,HA as an,Sm as ao,em as ap,xT as aq,IA as ar,LA as as,jA as at,ws as au,jC as av,Fi as aw,Et as ax,ld as ay,Dd as az,ce as b,ee as c,wt as d,de as e,Zr as f,R as g,_h as h,Pn as i,ue as j,dT as k,wh as l,El as m,Ce as n,D as o,dl as p,ht as q,q as r,At as s,Ee as t,pw as u,$n as v,le as w,Me as x,Oe as y,me as z};