@vitejs/devtools-vite-task 0.0.0-stage → 0.9.0

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.
@@ -0,0 +1,9 @@
1
+ //# allFunctionsCalledOnLoad
2
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DqYxEvp1.js","./BmP83cE4.js","./pages.C_kMLYzW.css","./DRtVqEVl.js","./error-404.XnEn7jPM.css","./B-6mOsud.js","./error-500.C9m9hXLI.css"])))=>i.map(i=>d[i]);
3
+ (function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>S(e)===`[object Map]`,p=e=>S(e)===`[object Set]`,m=e=>S(e)===`[object Date]`,h=e=>S(e)===`[object RegExp]`,g=e=>typeof e==`function`,_=e=>typeof e==`string`,v=e=>typeof e==`symbol`,y=e=>typeof e==`object`&&!!e,b=e=>(y(e)||g(e))&&g(e.then)&&g(e.catch),x=Object.prototype.toString,S=e=>x.call(e),C=e=>S(e).slice(8,-1),w=e=>S(e)===`[object Object]`,T=e=>_(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,E=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),D=1e4,O=e=>{let t=Object.create(null),n=0;return(r=>{let i=t[r];return i===void 0?(++n>D&&(t=Object.create(null),n=1),t[r]=e(r)):i})},ee=/-\w/g,k=O(e=>e.replace(ee,e=>e.slice(1).toUpperCase())),A=/\B([A-Z])/g,j=O(e=>e.replace(A,`-$1`).toLowerCase()),te=O(e=>e.charAt(0).toUpperCase()+e.slice(1)),ne=O(e=>e?`on${te(e)}`:``),M=(e,t)=>!Object.is(e,t),re=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ie=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ae=e=>{let t=parseFloat(e);return isNaN(t)?e:t},oe=e=>{let t=_(e)?Number(e):NaN;return isNaN(t)?e:t},se,ce=()=>se||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof globalThis<`u`?globalThis:{};function le(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=_(r)?pe(r):le(r);if(i)for(let e in i)t[e]=i[e]}return t}if(_(e)||y(e))return e}var ue=/;(?![^(]*\))/g,de=/:([^]+)/,fe=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function pe(e){let t={};return e.replace(fe,e=>e.startsWith(`/*`)?``:e).split(ue).forEach(e=>{if(e){let n=e.split(de);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function me(e){let t=``;if(_(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=me(e[n]);r&&(t+=r+` `)}else if(y(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function he(e){if(!e)return null;let{class:t,style:n}=e;return t&&!_(t)&&(e.class=me(t)),n&&(e.style=le(n)),e}var ge=e(`itemscope,allowfullscreen,disablepictureinpicture,disableremoteplayback,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`);function _e(e){return!!e||e===``}function ve(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=Se(e[i],t[i],n);return r}function ye(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&Se(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function be(e,t,n){let r=f(e),i=f(t);if(r||i||(r=p(e),i=p(t),r||i))return r&&i?ye(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=u(e,r),a=u(t,r);if(i&&!a||!i&&a||!Se(e[r],t[r],n))return!1}return we(e)===we(t)}function xe(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function Se(e,t,n){if(e===t)return!0;let r=m(e),i=m(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=v(e),i=v(t),r||i?e===t:(r=d(e),i=d(t),r||i?r&&i?xe(e,t,n,ve):!1:(r=y(e),i=y(t),r||i?!r||!i?!1:xe(e,t,n,be):String(e)===String(t))))}function Ce(e,t){return e.findIndex(e=>Se(e,t))}function we(e){return Object.getPrototypeOf(e)===null&&e[Symbol.toPrimitive]==null&&typeof e.toString!=`function`&&typeof e.valueOf!=`function`?S(e):String(e)}var Te=e=>!!(e&&e.__v_isRef===!0),Ee=e=>_(e)?e:e==null?``:d(e)||y(e)&&(e.toString===x||!g(e.toString))?Te(e)?Ee(e.value):JSON.stringify(e,De,2):String(e),De=(e,t)=>Te(t)?De(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Oe(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Oe(e))}:v(t)?Oe(t):y(t)&&!d(t)&&!w(t)?String(t):t,Oe=(e,t=``)=>v(e)?`Symbol(${e.description??t})`:e,N,ke=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&N&&(N.active?(this.parent=N,this.index=(N.scopes||(N.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=N;try{return N=this,e()}finally{N=t}}}on(){++this._on===1&&(this.prevScope=N,N=this)}off(){if(this._on>0&&--this._on===0){if(N===this)N=this.prevScope;else{let e=N;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Ae(e){return new ke(e)}function je(){return N}function Me(e,t=!1){N&&(N.active?N.cleanups.push(e):e())}var P,Ne=new WeakSet,Pe=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,N&&(N.active?N.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ne.has(this)&&(Ne.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Re(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ze(this),Ve(this);let e=P,t=qe;P=this,qe=!0;try{return this.fn()}finally{He(this),P=e,qe=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Ge(e);this.deps=this.depsTail=void 0,Ze(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ne.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ue(this)&&this.run()}get dirty(){return Ue(this)}},Fe=0,Ie,Le;function Re(e,t=!1){e.flags|=8,t?(e.next=Le,Le=e):(e.next=Ie,Ie=e)}function ze(){Fe++}function Be(){if(--Fe>0)return;if(Le){let e=Le;for(Le=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ie;){let t=Ie;for(Ie=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Ve(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function He(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Ge(r),Ke(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Ue(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(We(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function We(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Qe)||(e.globalVersion=Qe,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ue(e))))return;e.flags|=2;let t=e.dep,n=P,r=qe;P=e,qe=!0;try{Ve(e);let n=e.fn(e._value);(t.version===0||M(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{P=n,qe=r,He(e),e.flags&=-3}}function Ge(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Ge(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ke(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var qe=!0,Je=[];function Ye(){Je.push(qe),qe=!1}function Xe(){let e=Je.pop();qe=e===void 0||e}function Ze(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=P;P=void 0;try{t()}finally{P=e}}}var Qe=0,$e=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},et=class{constructor(e){this.computed=e,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(e){if(!P||!qe||P===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==P)t=this.activeLink=new $e(P,this),P.deps?(t.prevDep=P.depsTail,P.depsTail.nextDep=t,P.depsTail=t):P.deps=P.depsTail=t,tt(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=P.depsTail,t.nextDep=void 0,P.depsTail.nextDep=t,P.depsTail=t,P.deps===t&&(P.deps=e)}return t}trigger(e){this.version++,Qe++,this.notify(e)}notify(e){ze();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Be()}}};function tt(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)tt(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var nt=new WeakMap,rt=Symbol(``),it=Symbol(``),at=Symbol(``);function ot(e,t,n){if(qe&&P){let t=nt.get(e);t||nt.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new et),r.map=t,r.key=n),r.track()}}function st(e,t,n,r,i,a){let o=nt.get(e);if(!o){Qe++;return}let s=e=>{e&&e.trigger()};if(ze(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&T(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===at||!v(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(at)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(rt)),f(e)&&s(o.get(it)));break;case`delete`:i||(s(o.get(rt)),f(e)&&s(o.get(it)));break;case`set`:f(e)&&s(o.get(rt))}}Be()}function ct(e,t){let n=nt.get(e);return n&&n.get(t)}function lt(e){let t=F(e);return t===e||(ot(t,`iterate`,at),Qt(e))?t:Zt(e)?Xt(e)?t.map(e=>nn(tn(e))):t.map(nn):t.map(tn)}function ut(e){return ot(e=F(e),`iterate`,at),e}function dt(e,t){return Zt(e)?nn(Xt(e)?tn(t):t):tn(t)}var ft={__proto__:null,[Symbol.iterator](){return pt(this,Symbol.iterator,e=>dt(this,e))},concat(...e){return lt(this).concat(...e.map(e=>d(e)?lt(e):e))},entries(){return pt(this,`entries`,e=>(e[1]=dt(this,e[1]),e))},every(e,t){return gt(this,`every`,e,t,void 0,arguments)},filter(e,t){return gt(this,`filter`,e,t,e=>e.map(e=>dt(this,e)),arguments)},find(e,t){return gt(this,`find`,e,t,e=>dt(this,e),arguments)},findIndex(e,t){return gt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return gt(this,`findLast`,e,t,e=>dt(this,e),arguments)},findLastIndex(e,t){return gt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return gt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return vt(this,`includes`,e)},indexOf(...e){return vt(this,`indexOf`,e)},join(e){return lt(this).join(e)},lastIndexOf(...e){return vt(this,`lastIndexOf`,e)},map(e,t){return gt(this,`map`,e,t,void 0,arguments)},pop(){return yt(this,`pop`)},push(...e){return yt(this,`push`,e)},reduce(e,...t){return _t(this,`reduce`,e,t)},reduceRight(e,...t){return _t(this,`reduceRight`,e,t)},shift(){return yt(this,`shift`)},some(e,t){return gt(this,`some`,e,t,void 0,arguments)},splice(...e){return yt(this,`splice`,e)},toReversed(){return lt(this).toReversed()},toSorted(e){return lt(this).toSorted(e)},toSpliced(...e){return lt(this).toSpliced(...e)},unshift(...e){return yt(this,`unshift`,e)},values(){return pt(this,`values`,e=>dt(this,e))}};function pt(e,t,n){let r=ut(e),i=r[t],a=i.call(r);if(r!==e&&!Qt(e)){if(a[Symbol.toStringTag]===`Array Iterator`){let e=Object.create(Object.getPrototypeOf(a));return e.next=()=>mt(a.next(),n),i!==ht[t]&&Object.defineProperties(e,{return:{get(){let e=a.return;return typeof e==`function`?e.bind(a):e}},throw:{get(){let e=a.throw;return typeof e==`function`?e.bind(a):e}}}),e}a._next=a.next,a.next=()=>mt(a._next(),n)}return a}function mt(e,t){return e.done||(e.value=t(e.value)),e}var ht=Array.prototype;function gt(e,t,n,r,i,a){let o=ut(e),s=o!==e&&!Qt(e),c=o[t];if(c!==ht[t]){let t=c.apply(e,a);return s?tn(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,dt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function _t(e,t,n,r){let i=ut(e),a=i!==e&&!Qt(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=dt(e,t)),n.call(this,t,dt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?dt(e,c):c}function vt(e,t,n){let r=F(e);ot(r,`iterate`,at);let i=r[t](...n);return(i===-1||i===!1)&&$t(n[0])?(n[0]=F(n[0]),r[t](...n)):i}function yt(e,t,n=[]){Ye(),ze();let r=F(e)[t].apply(e,n);return Be(),Xe(),r}var bt=e(`__proto__,__v_isRef,__isVue`),xt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(v));function St(e){v(e)||(e=String(e));let t=F(this);return ot(t,`has`,e),t.hasOwnProperty(e)}var Ct=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Ut:Ht:i?Vt:Bt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=ft[t]))return e;if(t===`hasOwnProperty`)return St}let o=Reflect.get(e,t,I(e)?e:n);if((v(t)?xt.has(t):bt(t))||(r||ot(e,`get`,t),i))return o;if(I(o)){let e=a&&T(t)?o:o.value;return r&&y(e)?qt(e):e}return y(o)?r?qt(o):Gt(o):o}},wt=class extends Ct{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&T(t);if(!this._isShallow){let e=Zt(i);if(!Qt(n)&&!Zt(n)&&(i=F(i),n=F(n)),!a&&I(i)&&!I(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:u(e,t),s=Reflect.set(e,t,n,I(e)?e:r);return e===F(r)&&s&&(o?M(n,i)&&st(e,`set`,t,n,i):st(e,`add`,t,n)),s}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&st(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return v(t)&&xt.has(t)||ot(e,`has`,t),n}ownKeys(e){return ot(e,`iterate`,d(e)?`length`:rt),Reflect.ownKeys(e)}},Tt=class extends Ct{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Et=new wt,Dt=new Tt,Ot=new wt(!0),kt=new Tt(!0),At=e=>e,jt=e=>Reflect.getPrototypeOf(e);function Mt(e,t,n){return function(...r){let i=this.__v_raw,a=F(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?At:t?nn:tn;return!t&&ot(a,`iterate`,l?it:rt),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function Nt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Pt(e,t){let n={get(n){let r=this.__v_raw,i=F(r),a=F(n);e||(M(n,a)&&ot(i,`get`,n),ot(i,`get`,a));let{has:o}=jt(i),s=t?At:e?nn:tn;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&ot(F(t),`iterate`,rt),t.size},has(t){let n=this.__v_raw,r=F(n),i=F(t);return e||(M(t,i)&&ot(r,`has`,t),ot(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=F(a),s=t?At:e?nn:tn;return!e&&ot(o,`iterate`,rt),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:Nt(`add`),set:Nt(`set`),delete:Nt(`delete`),clear:Nt(`clear`)}:{add(e){let n=F(this),r=jt(n),i=F(e),a=!t&&!Qt(e)&&!Zt(e)?i:e;return r.has.call(n,a)||M(e,a)&&r.has.call(n,e)||M(i,a)&&r.has.call(n,i)||(n.add(a),st(n,`add`,a,a)),this},set(e,n){t||Qt(n)||Zt(n)||(n=F(n));let r=F(this),{has:i,get:a}=jt(r),o=i.call(r,e);o||=(e=F(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?M(n,s)&&st(r,`set`,e,n,s):st(r,`add`,e,n),this},delete(e){let t=F(this),{has:n,get:r}=jt(t),i=n.call(t,e);i||=(e=F(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&st(t,`delete`,e,void 0,a),o},clear(){let e=F(this),t=e.size!==0,n=e.clear();return t&&st(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Mt(r,e,t)}),n}function Ft(e,t){let n=Pt(e,t);return(r,i,a)=>i===`__v_isReactive`?!e:i===`__v_isReadonly`?e:i===`__v_isShallow`?t:i===`__v_raw`?r:Reflect.get(u(n,i)&&i in r?n:r,i,a)}var It={get:Ft(!1,!1)},Lt={get:Ft(!1,!0)},Rt={get:Ft(!0,!1)},zt={get:Ft(!0,!0)},Bt=new WeakMap,Vt=new WeakMap,Ht=new WeakMap,Ut=new WeakMap;function Wt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Gt(e){return Zt(e)?e:Yt(e,!1,Et,It,Bt)}function Kt(e){return Yt(e,!1,Ot,Lt,Vt)}function qt(e){return Yt(e,!0,Dt,Rt,Ht)}function Jt(e){return Yt(e,!0,kt,zt,Ut)}function Yt(e,t,n,r,i){if(!y(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Wt(C(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Xt(e){return Zt(e)?Xt(e.__v_raw):!!(e&&e.__v_isReactive)}function Zt(e){return!!(e&&e.__v_isReadonly)}function Qt(e){return!!(e&&e.__v_isShallow)}function $t(e){return e?!!e.__v_raw:!1}function F(e){let t=e&&e.__v_raw;return t?F(t):e}function en(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&ie(e,`__v_skip`,!0),e}var tn=e=>y(e)?Gt(e):e,nn=e=>y(e)?qt(e):e;function I(e){return e?e.__v_isRef===!0:!1}function rn(e){return on(e,!1)}function an(e){return on(e,!0)}function on(e,t){return I(e)?e:new sn(e,t)}var sn=class{constructor(e,t){this.dep=new et,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:F(e),this._value=t?e:tn(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||Qt(e)||Zt(e);e=n?e:F(e),M(e,t)&&(this._rawValue=e,this._value=n?e:tn(e),this.dep.trigger())}};function L(e){return I(e)?e.value:e}function cn(e){return g(e)?e():L(e)}var ln={get:(e,t,n)=>t===`__v_raw`?e:L(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return I(i)&&!I(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function un(e){return Xt(e)?e:new Proxy(e,ln)}var dn=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new et,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function fn(e){return new dn(e)}var pn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=v(t)?t:String(t),this._raw=F(e);let r=!0,i=e;if(!d(e)||v(this._key)||!T(this._key))do r=!$t(i)||Qt(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=L(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&I(this._raw[this._key])){let t=this._object[this._key];if(I(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return ct(this._raw,this._key)}},mn=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function hn(e,t,n){return I(e)?e:g(e)?new mn(e):y(e)&&arguments.length>1?gn(e,t,n):rn(e)}function gn(e,t,n){return new pn(e,t,n)}var _n=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new et(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qe-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&P!==this)return Re(this,!0),!0}get value(){let e=this.dep.track();return We(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function vn(e,t,n=!1){let r,i;return g(e)?r=e:(r=e.get,i=e.set),new _n(r,i,n)}var yn={},bn=new WeakMap,xn=void 0;function Sn(e,t=!1,n=xn){if(n){let t=bn.get(n);t||bn.set(n,t=[]),t.push(e)}}function Cn(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:Qt(e)||o===!1||o===0?wn(e,1):wn(e),m,h,_,v,y=!1,b=!1;if(I(e)?(h=()=>e.value,y=Qt(e)):Xt(e)?(h=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>Xt(e)||Qt(e)),h=()=>e.map(e=>{if(I(e))return e.value;if(Xt(e))return p(e);if(g(e))return f?f(e,2):e()})):h=g(e)?n?f?()=>f(e,2):e:()=>{if(_){Ye();try{_()}finally{Xe()}}let t=xn;xn=m;try{return f?f(e,3,[v]):e(v)}finally{xn=t}}:r,n&&o){let e=h,t=o===!0?1/0:o;h=()=>wn(e(),t)}let x=je(),S=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{try{return e(...t)}finally{S()}}}let C=b?Array(e.length).fill(yn):yn,w=e=>{if(m.flags&1&&(m.dirty||e)){if(n){let t=m.run();if(e||o||y||(b?t.some((e,t)=>M(e,C[t])):M(t,C))){let e=xn;Ye();try{_&&_(),xn=m;let e=[t,C===yn?void 0:b&&C[0]===yn?[]:C,v];C=t,f?f(n,3,e):n(...e)}finally{xn=e,Xe()}}}else m.run()}};return u&&u(w),m=new Pe(h),m.scheduler=l?()=>l(w,!1):w,v=e=>Sn(e,!1,m),_=m.onStop=()=>{let e=bn.get(m);if(e){if(f)f(e,4);else for(let t of e)t();bn.delete(m)}},n?a?w(!0):C=m.run():l?l(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function wn(e,t=1/0,n){if(t<=0||!y(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,I(e))wn(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)wn(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{wn(e,t,n)});else if(w(e)){for(let r in e)wn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&wn(e[r],t,n)}return e}function Tn(e,t,n,r){try{return r?e(...r):e()}catch(e){Dn(e,t,n)}}function En(e,t,n,r){if(g(e)){let i=Tn(e,t,n,r);return i&&b(i)&&i.catch(e=>{Dn(e,t,n,void 0,!0)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(En(e[a],t,n,r));return i}}function Dn(e,n,r,i=!0,a=!1){let o=n?n.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:c}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,o=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n&&!t.isUnmounted&&(!a||t.scope.active)){for(let t=0;t<n.length;t++)if(n[t](e,i,o)===!1)return}t=t.parent}if(s){Ye(),Tn(s,null,10,[e,i,o]),Xe();return}}On(e,r,o,i,c)}function On(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var kn=[],An=-1,jn=[],Mn=null,Nn=0,Pn=Promise.resolve(),Fn=null;function In(e){let t=Fn||Pn;return e?t.then(this?e.bind(this):e):t}function Ln(e){let t=An+1,n=kn.length;for(;t<n;){let r=t+n>>>1,i=kn[r],a=Gn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function Rn(e){if(!(e.flags&1)){let t=Gn(e),n=kn[kn.length-1];!n||!(e.flags&2)&&t>=Gn(n)?kn.push(e):kn.splice(Ln(t),0,e),e.flags|=1,zn()}}function zn(){Fn||=Pn.then(Kn)}function Bn(e){if(!d(e))Mn&&e.id===-1?Mn.splice(Nn+1,0,e):e.flags&1||(jn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)jn.push(e[t]);zn()}function Vn(e,t,n,r=An+1){for(;r<kn.length;r++){let n=kn[r];if(n&&n.flags&2){if(e&&n.id!==e.uid||t!==void 0&&!(n.id>=t))continue;kn.splice(r,1),r=e?r-1:An,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Hn(e,t,n=0){if(jn.length){let e=jn,r=0;if(t){e=[];for(let i=0;i<jn.length;i++){let a=jn[i];(a.i===void 0?t.has(a):!a.i||a.i.uid<n)?jn[r++]=a:e.push(a)}}let i=[...new Set(e)].sort((e,t)=>Gn(e)-Gn(t));if(jn.length=r,Mn){for(let e=0;e<i.length;e++)Mn.push(i[e]);return}for(Mn=i,Nn=0;Nn<Mn.length;Nn++){let e=Mn[Nn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}Mn=null,Nn=0}}var Un=!1;function Wn(e,t){if(Un){e();return}let n=t===void 0?void 0:new Set(jn);e(),Un=!0;try{Vn(void 0,t),Hn(void 0,n,t)}finally{Un=!1}}var Gn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Kn(e){try{for(An=0;An<kn.length;An++){let e=kn[An];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Tn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;An<kn.length;An++){let e=kn[An];e&&(e.flags&=-2)}An=-1,kn.length=0,Hn(e),Fn=null,(kn.length||jn.length)&&Kn(e)}}var R=null,qn=null;function Jn(e){let t=R;return R=e,qn=e&&e.type.__scopeId||null,t}function Yn(e,t=R,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&_o(-1);let i=Jn(t),a=fo.length,o;try{o=e(...n)}finally{for(let e=fo.length;e>a;e--)ho();Jn(i),r._d&&_o(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Xn(e,n){if(R===null)return e;let r=$o(R),i=e.dirs||=[];for(let e=0;e<n.length;e++){let[a,o,s,c=t]=n[e];a&&(g(a)&&(a={mounted:a,updated:a}),a.deep&&wn(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function Zn(e,t,n,r){let i=e;if(r===`beforeMount`)e._mount=e;else if(r===`beforeUpdate`){let n=t&&t._mount;n&&(n._latest=e,e._mount=n)}else if(r===`mounted`){let t=e._latest;e._mount=e._latest=void 0,t&&(i=t,t._mount=void 0)}let a=i.dirs,o=t&&t.dirs;for(let c=0;c<a.length;c++){let l=a[c];o?l.oldValue=o[c].value:r===`mounted`&&l.oldValue!==void 0&&(l=s({},l,{oldValue:void 0}));let u=l.dir[r];u&&(Ye(),En(u,n,8,[e.el,l,i,t]),Xe())}}function Qn(e,t){if(W){let n=W.provides,r=W.parent&&W.parent.provides;r===n&&(n=W.provides=Object.create(r)),n[e]=t}}function z(e,t,n=!1){let r=G();if(r||na){let i=na?na._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&g(t)?t.call(r&&r.proxy):t}}function $n(){return!!(G()||na)}var er=Symbol.for(`v-scx`),tr=()=>z(er);function nr(e,t){return ar(e,null,t)}function rr(e,t){return ar(e,null,{flush:`sync`})}function ir(e,t,n){return ar(e,t,n)}function ar(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if(Go){if(c===`sync`){let e=tr();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=W;u.call=(e,t,n)=>En(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{e.i=p,B(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():Rn(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=Cn(e,n,u);return Go&&(f?f.push(h):d&&h()),h}function or(e,t,n){let r=this.proxy,i=_(e)?e.includes(`.`)?sr(r,e):()=>r[e]:e.bind(r,r),a;g(t)?a=t:(a=t.handler,n=t);let o=Ho(this),s=ar(i,a.bind(r),n);return o(),s}function sr(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var cr=Symbol(`_vte`),lr=e=>e.__isTeleport,ur=Symbol(`_leaveCb`),dr=Symbol(`_enterCb`);function fr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return si(()=>{e.isMounted=!0}),ui(()=>{e.isUnmounting=!0}),e}var pr=[Function,Array],mr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:pr,onEnter:pr,onAfterEnter:pr,onEnterCancelled:pr,onBeforeLeave:pr,onLeave:pr,onAfterLeave:pr,onLeaveCancelled:pr,onBeforeAppear:pr,onAppear:pr,onAfterAppear:pr,onAppearCancelled:pr},hr={name:`BaseTransition`,props:mr,setup(e,{slots:t}){let n=G(),r=fr();return()=>{let i=t.default&&Cr(t.default(),!0),a=i&&i.length?gr(i):n.subTree?Ao():void 0;if(!a)return;let o=F(e),{mode:s}=o;if(r.isLeaving)return br(a);let c=xr(a);if(!c)return br(a);let l=yr(c,o,r,n);c.type!==H&&Sr(c,l);let u=n.subTree&&xr(n.subTree);if(u&&u.type!==H&&!So(u,c)&&wr(n.subTree)){let e=yr(u,o,r,n);if(Sr(u,e),s===`out-in`&&c.type!==H)return r.isLeaving=!0,e.afterLeave=()=>{if(r.isLeaving=!1,!(n.job.flags&8)){if(n.effect.flags&2){let e=()=>{n.job.flags&8||n.update()};e.i=n,Rn(e)}else n.update()}delete e.afterLeave,u=void 0},br(a);s===`in-out`&&c.type!==H?e.delayLeave=(e,t,n)=>{let i=vr(r,u);i[String(u.key)]=u,e[ur]=()=>{t(),e[ur]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function gr(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==H){t=n;break}}return t}var _r=hr;function vr(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function yr(e,t,n,r){let{appear:i,mode:a,persisted:o=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:g,onAppear:_,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),x=vr(n,e),S=(e,t)=>{e&&En(e,r,9,t)},C=(e,t)=>{let n=t[1];S(e,t),d(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},w={mode:a,persisted:o,beforeEnter(t){let r=s;if(!n.isMounted){if(i)r=g||s;else return}t[ur]&&t[ur](!0);let a=x[b];if(a&&So(e,a)){let e=a.el[ur];if(!e){let t=wr(a);e=t&&t.el[ur]}e&&e()}S(r,[t])},enter(e){if(e[ur]){w.delayedLeave&&w.delayedLeave();return}let t=c,r=l,a=u;if(!n.isMounted){if(i)t=_||c,r=v||l,a=y||u;else return}let o=!1;e[dr]=t=>{o||(o=!0,S(t?a:r,[e]),w.delayedLeave&&w.delayedLeave(),e[dr]=void 0)};let s=e[dr].bind(null,!1);t?C(t,[e,s]):s()},leave(t,r){let i=String(e.key);if(t[dr]&&t[dr](!0),n.isUnmounting)return r();S(f,[t]);let a=!1;t[ur]=n=>{a||(a=!0,r(),S(n?h:m,[t]),t[ur]=void 0,x[i]===e&&delete x[i])};let o=t[ur].bind(null,!1);x[i]=e,p?C(p,[t,o]):o()},clone(e){let i=yr(e,t,n,r);return i.afterLeave=()=>{w.afterLeave&&w.afterLeave()},i.delayLeave=(e,t,n)=>{w.delayLeave?w.delayLeave(e,t,n):n()},i.delayedLeave=()=>{w.delayedLeave&&w.delayedLeave()},i}};return w}function br(e){if(Yr(e))return e=Oo(e),e.children=null,e}function xr(e){if(!Yr(e))return lr(e.type)&&e.children?gr(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&g(n.default))return n.default()}}function Sr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;Sr(lr(n.type)&&xr(n)||n,t)}else if(e.shapeFlag&128){let n=e.suspense;if(n){let e=n.isHydrating?n.pendingBranch:n.activeBranch;e&&Sr(e,t.clone(e))}else e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)}else if(e.transition=t,e.type===V&&d(e.children)){let n=ua(e.children,!1);n&&Sr(n,t)}}function Cr(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===V?(o.patchFlag&128&&i++,r=r.concat(Cr(o.children,t,s))):(t||o.type!==H)&&r.push(s==null?o:Oo(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function wr(e){if(e.component)return wr(e.component.subTree);if(e.type===V){let t=d(e.children)&&ua(e.children,!1);return t?wr(t):void 0}if(e.type!==H)return e}function Tr(e,t){return g(e)?s({name:e.name},t,{setup:e}):e}function Er(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function Dr(e){let n=G(),r=an(null);if(n){let i=n.refs===t?n.refs={}:n.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>r.value,set:e=>r.value=e})}return r}function Or(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var kr=new WeakMap;function Ar(e,n,r,a,o=!1){if(d(e)){e.forEach((e,t)=>Ar(e,n&&(d(n)?n[t]:n),r,a,o));return}if(Jr(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&Ar(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?$o(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,h=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=F(v),b=v===t?i:e=>!Or(h,e)&&u(y,e),x=(e,t)=>!(t&&Or(h,t));if(m!=null&&m!==p){if(jr(n),_(m))h[m]=null,b(m)&&(v[m]=null);else if(I(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(h[e.k]=null)}}if(g(p))Tn(p,f,12,[l,h]);else{let t=_(p),n=I(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:h[p]:x(p)||!e.k?p.value:h[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)h[p]=[s],b(p)&&(v[p]=h[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(h[e.k]=t)}}else t?(h[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(h[e.k]=l))};if(l){let t=()=>{i(),kr.delete(e)};t.id=-1,kr.set(e,t),B(t,r)}else jr(e),i()}}}function jr(e){let t=kr.get(e);t&&(t.flags|=8,kr.delete(e))}var Mr=!1,Nr=()=>{Mr||=(console.error(`Hydration completed but contains mismatches.`),!0)},Pr=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,Fr=e=>e.namespaceURI.includes(`MathML`),Ir=e=>{if(e.nodeType===1){if(Pr(e))return`svg`;if(Fr(e))return`mathml`}},Lr=e=>e.nodeType===8;function Rr(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:s,remove:c,insert:l,createComment:u}}=e,d=(e,t)=>{t.hasChildNodes()?(f(t.firstChild,e,null,null,null),Hn(),t._vnode=e):(n(null,e,t),Hn(),t._vnode=e)},f=(n,r,a,c,u,d=!1)=>{d||=!!r.dynamicChildren;let b=Lr(n)&&n.data===`[`,x=()=>g(n,r,a,c,u,b),{type:S,ref:C,shapeFlag:w,patchFlag:T}=r,E=n.nodeType;r.el=n,T===-2&&(d=!1,r.dynamicChildren=null);let D=null;switch(S){case lo:E===3?(n.data!==r.children&&(Nr(),n.data=r.children),D=o(n)):r.children===``?(l(r.el=i(``),s(n),n),D=n):D=x();break;case H:y(n)?(D=o(n),v(r.el=n.content.firstChild,n,a)):D=E!==8||b?x():o(n);break;case uo:if(b&&(n=o(n),E=n.nodeType),E===1||E===3){D=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=D.nodeType===1?D.outerHTML:D.data),t===r.staticCount-1&&(r.anchor=D),D=o(D);return b?o(D):D}x();break;case V:D=b?h(n,r,a,c,u,d):x();break;default:if(w&1)D=(E!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!y(n)?x():p(n,r,a,c,u,d);else if(w&6){r.slotScopeIds=u;let e=s(n);if(D=b?_(n):Lr(n)&&n.data===`teleport start`?_(n,n.data,`teleport end`):o(n),t(r,e,null,a,c,Ir(e),d),(Jr(r)||r.component.asyncDep)&&!r.component.subTree){let t;b?(t=U(uo),t.anchor=D?D.previousSibling:e.lastChild):t=n.nodeType===3?ko(``):U(n.nodeType===8?H:`div`),t.el=n,r.component.subTree=t}}else w&64?D=E===8?r.type.hydrate(n,r,a,c,u,d,e,m):x():w&128&&(D=r.type.hydrate(n,r,a,c,Ir(s(n)),u,d,e,f))}return C!=null&&Ar(C,null,c,r),D},p=(e,t,n,i,o,s)=>{s||=!!t.dynamicChildren;let{type:l,dynamicProps:u,props:d,patchFlag:f,shapeFlag:p,dirs:h,transition:g}=t,_=l===`input`||l===`option`,b=!!u;if(_||b||f!==-1){h&&Zn(t,null,n,`created`);let l=!1;if(y(e)){l=Ba(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(l){let e=r.getAttribute(`class`);e&&(r.$cls=e),g.beforeEnter(r)}v(r,e,n),t.el=e=r}if(p&16&&!(d&&(d.innerHTML||d.textContent))){let r=m(e.firstChild,t,e,n,i,o,s);for(r&&!Ur(e,1)&&Nr();r;){let e=r;r=r.nextSibling,c(e)}}else if(p&8){let n=t.children;n[0]===`
4
+ `&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
5
+ `)&&(Ur(e,0)||Nr(),e.textContent=t.children)}if(d){if(_||b||!s||f&48){let t=e.tagName.includes(`-`),i=e.namespaceURI.includes(`svg`)?`svg`:e.namespaceURI.includes(`MathML`)?`mathml`:void 0;for(let o in d)if(_&&(o.endsWith(`value`)||o===`indeterminate`)||a(o)&&!E(o)||o[0]===`.`||t&&!E(o)||u&&u.includes(o)){if(Br(e,o,d[o]))continue;r(e,o,null,d[o],i,n)}}else if(d.onClick)r(e,`onClick`,null,d.onClick,void 0,n);else if(f&4&&Xt(d.style))for(let e in d.style)d.style[e]}let x;(x=d&&d.onVnodeBeforeMount)&&Fo(x,n,t),h&&Zn(t,null,n,`beforeMount`),((x=d&&d.onVnodeMounted)||h||l)&&oo(()=>{x&&Fo(x,n,t),l&&g.enter(e),h&&Zn(t,null,n,`mounted`)},i)}return e.nextSibling},m=(e,t,r,a,s,c,u)=>{u||=!!t.dynamicChildren;let d=t.children,p=d.length,m=!1;for(let t=0;t<p;t++){let h=u?d[t]:d[t]=jo(d[t]),g=h.type===lo;e?(g&&!u&&t+1<p&&jo(d[t+1]).type===lo&&(l(i(e.data.slice(h.children.length)),r,o(e)),e.data=h.children),e=f(e,h,a,s,c,u)):g&&!h.children?l(h.el=i(``),r):(m||(m=!0,Ur(r,1)||Nr()),n(null,h,r,null,a,s,Ir(r),c))}return e},h=(e,t,n,r,i,a)=>{let{slotScopeIds:c}=t;c&&(i=i?i.concat(c):c);let d=s(e),f=m(o(e),t,d,n,r,i,a);return f&&Lr(f)&&f.data===`]`?o(t.anchor=f):(Nr(),l(t.anchor=u(`]`),d,f),f)},g=(e,t,r,i,a,l)=>{if(Gr(e,t)||Nr(),t.el=null,l){let t=_(e);for(;;){let n=o(e);if(n&&n!==t)c(n);else break}}let u=o(e),d=s(e);return c(e),n(null,t,d,u,r,i,Ir(d),a),r&&r.vnode.el===e&&(r.vnode.el=t.el,ga(r,t.el)),u},_=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=o(e),e&&Lr(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return o(e);r--}return e},v=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[d,f]}var zr=new Set([`src`,`srcset`,`href`,`poster`]);function Br(e,t,n){return zr.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}var Vr=`data-allow-mismatch`,Hr={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function Ur(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Vr);)e=e.parentElement;return Wr(e&&e.getAttribute(Vr),t)}function Wr(e,t){if(e==null)return!1;if(e===``)return!0;{let n=e.split(`,`);return t===0&&n.includes(`children`)?!0:n.includes(Hr[t])}}function Gr(e,t){return Ur(e.parentElement,1)||Kr(e)||qr(t)}function Kr(e){return e.nodeType===1&&Wr(e.getAttribute(Vr),1)}function qr({props:e}){let t=e&&e[Vr];return typeof t==`string`&&Wr(t,1)}ce().requestIdleCallback,ce().cancelIdleCallback;var Jr=e=>!!e.type.__asyncLoader,Yr=e=>e.type.__isKeepAlive,Xr={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=G(),r=n.ctx;if(!r.renderer)return()=>{let e=t.default&&t.default();return e&&e.length===1?e[0]:e};let i=new Map,a=new Set,o=null,s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=r,f=d(`div`);r.activate=(e,t,n,r,i)=>{let a=e.component;l(e,t,n,0,s),c(a.vnode,e,t,n,a,s,r,e.slotScopeIds,i),B(()=>{a.isDeactivated=!1,a.a&&re(a.a);let t=e.props&&e.props.onVnodeMounted;t&&Fo(t,a.parent,e)},s)},r.deactivate=e=>{let t=i.get(e.key==null?e.type:e.key);if(!t||t.component!==e.component)return!1;let n=e.component;return Wa(n.m),Wa(n.a),l(e,f,null,1,s),B(()=>{n.da&&re(n.da);let t=e.props&&e.props.onVnodeUnmounted;t&&Fo(t,n.parent,e),n.isDeactivated=!0},s),!0};function p(e){ni(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=es(Jr(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!So(t,o))?p(t):o&&(ni(o),t&&ni(t)),i.delete(e),a.delete(e)}ir(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>Zr(e,t)),t&&m(e=>!Zr(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{if(g!=null){if(Ka(n.subTree.type)){let e=()=>{let e=ri(n.subTree);e.component&&i.set(g,e)};n.subTree.suspense.pendingBranch?B(e,n.subTree.suspense):e()}else i.set(g,ri(n.subTree))}};return si(_),li(_),ui(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=ri(t);if(e.type===i.type&&e.key===i.key){ni(i);let e=i.component.da;e&&B(e,r)}else p(e)})}),()=>{if(g=null,!t.default)return o=null;let n=t.default(),r=n[0];if(n.length>1)return o=null,n;if(!xo(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=ri(r);if(s.type===H)return o=null,s;let c=s.type,l=es(Jr(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!Zr(u,l))||d&&l&&Zr(d,l))return s.shapeFlag&=-257,o=s,r;let p=s.key==null?c:s.key,m=i.get(p);return s.el&&(s=Oo(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&Sr(s,s.transition),s.shapeFlag|=512,a.delete(p),a.add(p)):(a.add(p),f&&a.size>parseInt(f,10)&&h(a.values().next().value)),s.shapeFlag|=256,o=s,Ka(r.type)?r:s}}};function Zr(e,t){return d(e)?e.some(e=>Zr(e,t)):_(e)?e.split(`,`).includes(t):h(e)?(e.lastIndex=0,e.test(t)):!1}function Qr(e,t){ei(e,`a`,t)}function $r(e,t){ei(e,`da`,t)}function ei(e,t,n=W){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(ii(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Yr(e.parent.vnode)&&ti(r,t,n,e),e=e.parent}}function ti(e,t,n,r){let i=ii(t,e,r,!0),a=ii(`um`,()=>c(r[t],i),n);a.flags=16}function ni(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ri(e){return e.shapeFlag&128?e.ssContent:e}function ii(e,t,n=W,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ye();let i=Ho(n),a=En(t,n,e,r);return i(),Xe(),a};return r?i.unshift(a):i.push(a),a}}var ai=e=>(t,n=W)=>{Go&&e!==`sp`||ii(e,(...e)=>t(...e),n)},oi=ai(`bm`),si=ai(`m`),ci=ai(`bu`),li=ai(`u`),ui=ai(`bum`),di=ai(`um`),fi=ai(`sp`),pi=ai(`rtg`),mi=ai(`rtc`);function hi(e,t=W){ii(`ec`,e,t)}var gi=`components`,_i=`directives`;function vi(e,t){return Si(gi,e,!0,t)||e}var yi=Symbol.for(`v-ndc`);function bi(e){return _(e)?Si(gi,e,!1)||e:e||yi}function xi(e){return Si(_i,e)}function Si(e,t,n=!0,r=!1){let i=R||W;if(i){let n=i.type;if(e===gi){let e=es(n,!1);if(e&&(e===t||e===k(t)||e===te(k(t))))return n}let a=Ci(i[e]||n[e],t)||Ci(i.appContext[e],t);return!a&&r?n:a}}function Ci(e,t){return e&&(e[t]||e[k(t)]||e[te(k(t))])}function wi(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||_(e)){let n=o&&Xt(e),r=!1,s=!1;n&&(r=!Qt(e),s=Zt(e),e=ut(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?nn(tn(e[n])):tn(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){if(!Number.isInteger(e)||e<0)i=[];else{i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}}else if(y(e)){if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}}else i=[];return n&&(n[r]=i),i}function Ti(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(d(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Ei(e,t,n,r,i,a){if(n??={},R.ce||R.parent&&Jr(R.parent)&&R.parent.ce){let e=a!=null&&n.key==null?s({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),mo(),bo(V,null,[U(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let c=fo.length;mo();let l;try{let i=o&&Di(o(n)),s=n.key||a||i&&i.key;l=bo(V,{key:(s&&!v(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=fo.length;e>c;e--)ho();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+`-s`]),l}function Di(e){return e.some(e=>!xo(e)||!(e.type===H||e.type===V&&!Di(e.children)))?e:null}var Oi=e=>e?Wo(e)?$o(e):Oi(e.parent):null,ki=s(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=>Oi(e.parent),$root:e=>Oi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ui(e),$forceUpdate:e=>e.f||=()=>{Rn(e.update)},$nextTick:e=>e.n||=In.bind(e.proxy),$watch:e=>or.bind(e)}),Ai=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),ji={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(Ai(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else Ri&&(s[n]=0)}let d=ki[n],f,p;if(d)return n===`$attrs`&&ot(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return Ai(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||Ai(n,c)||u(o,c)||u(i,c)||u(ki,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function Mi(){return Pi(`useSlots`).slots}function Ni(){return Pi(`useAttrs`).attrs}function Pi(e){let t=G();return t.setupContext||=Qo(t)}function Fi(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Ii(e,t){return!e||!t?e||t:d(e)&&d(t)?e.concat(t):s({},Fi(e),Fi(t))}function Li(e){let t=G(),n=Go,r=e();Uo(),n&&Vo(!1);let i=()=>{Ho(t),n&&Vo(!0)},a=()=>{G()!==t&&t.scope.off(),Uo(),n&&Vo(!1)};return b(r)&&(r=r.catch(e=>{throw i(),Promise.resolve().then(()=>Promise.resolve().then(a)),e})),[r,()=>{i(),Promise.resolve().then(a)}]}var Ri=!0;function zi(e){let t=Ui(e),n=e.proxy,i=e.ctx;Ri=!1,t.beforeCreate&&Vi(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:h,updated:_,activated:v,deactivated:b,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:T,renderTracked:E,renderTriggered:D,errorCaptured:O,serverPrefetch:ee,expose:k,inheritAttrs:A,components:j,directives:te,filters:ne}=t;if(u&&Bi(u,i,null),s)for(let e in s){let t=s[e];g(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);y(t)&&(e.data=Gt(t))}if(Ri=!0,o)for(let e in o){let t=o[e],a=K({get:g(t)?t.bind(n,n):g(t.get)?t.get.bind(n,n):r,set:!g(t)&&g(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)Hi(c[e],i,n,e);if(l){let e=g(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{Qn(t,e[t])})}f&&Vi(f,e,`c`);function M(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(M(oi,p),M(si,m),M(ci,h),M(li,_),M(Qr,v),M($r,b),M(hi,O),M(mi,E),M(pi,D),M(ui,S),M(di,w),M(fi,ee),d(k)){if(k.length){let t=e.exposed||={};k.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}T&&e.render===r&&(e.render=T),A!=null&&(e.inheritAttrs=A),j&&(e.components=j),te&&(e.directives=te),ee&&Er(e)}function Bi(e,t,n=r){d(e)&&(e=Ji(e));for(let n in e){let r=e[n],i;i=y(r)?`default`in r?z(r.from||n,r.default,!0):z(r.from||n):z(r),I(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Vi(e,t,n){En(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Hi(e,t,n,r){let i=r.includes(`.`)?sr(n,r):()=>n[r];if(_(e)){let n=t[e];g(n)&&ir(i,n)}else if(g(e))ir(i,e.bind(n));else if(y(e)){if(d(e))e.forEach(e=>Hi(e,t,n,r));else{let r=g(e.handler)?e.handler.bind(n):t[e.handler];g(r)&&ir(i,r,e)}}}function Ui(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>Wi(c,e,o,!0)),Wi(c,t,o)),y(t)&&a.set(t,c),c}function Wi(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&Wi(e,a,n,!0),i&&i.forEach(t=>Wi(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Gi[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Gi={data:Ki,props:Zi,emits:Zi,methods:Xi,computed:Xi,beforeCreate:Yi,created:Yi,beforeMount:Yi,mounted:Yi,beforeUpdate:Yi,updated:Yi,beforeDestroy:Yi,beforeUnmount:Yi,destroyed:Yi,unmounted:Yi,activated:Yi,deactivated:Yi,errorCaptured:Yi,serverPrefetch:Yi,components:Xi,directives:Xi,watch:Qi,provide:Ki,inject:qi};function Ki(e,t){return t?e?function(){return s(g(e)?e.call(this,this):e,g(t)?t.call(this,this):t)}:t:e}function qi(e,t){return Xi(Ji(e),Ji(t))}function Ji(e){if(d(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Yi(e,t){return e?[...new Set([].concat(e,t))]:t}function Xi(e,t){return e?s(Object.create(null),e,t):t}function Zi(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),Fi(e),Fi(t??{})):t}function Qi(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=Yi(e[r],t[r]);return n}function $i(){return{app:null,config:{isNativeTag:i,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}}var ea=0;function ta(e,t){return function(n,r=null){g(n)||(n=s({},n)),r!=null&&!y(r)&&(r=null);let i=$i(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:ea++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:ns,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&g(e.install)?(a.add(e),e.install(l,...t)):g(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||U(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,$o(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(En(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=na;na=l;try{return e()}finally{na=t}}};return l}}var na=null;function ra(e,n,r=t){let i=G(),a=k(n),o=j(n),s=ia(e,a),c=fn((s,c)=>{let l,u=t,d;return rr(()=>{let t=e[a];M(l,t)&&(l=t,c())}),{get(){return s(),r.get?r.get(l):l},set(e){let s=r.set?r.set(e):e;if(!M(s,l)&&!(u!==t&&M(e,u)))return;let f=i.vnode.props,p=!!(f&&(n in f||a in f||o in f)&&(`onUpdate:${n}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f));p||(l=e,c()),i.emit(`update:${n}`,s),M(e,u)&&(M(e,s)&&!M(s,d)||p&&u!==t&&!M(s,l))&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||t:c,done:!1}:{done:!0}}}},c}var ia=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${k(t)}Modifiers`]||e[`${j(t)}Modifiers`];function aa(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&ia(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>_(e)?e.trim():e)),s.number&&(a=a.map(ae)));let c,l=i[c=ne(n)]||i[c=ne(k(n))];!l&&o&&(l=i[c=ne(j(n))]),l&&En(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,En(u,e,6,a)}}var oa=new WeakMap;function sa(e,t,n=!1){let r=n?oa:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!g(e)){let r=e=>{let n=sa(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(y(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),y(e)&&r.set(e,o),o)}function ca(e,t){return!e||!a(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,j(t))||u(e,t))}function la(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Jn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=jo(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=jo(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:da(c)}}catch(t){fo.length=0,Dn(t,e,1),v=U(H)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=fa(y,a)),b=Oo(b,y,!1,!0))}return n.dirs&&(b=Oo(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Sr(lr(b.type)&&xr(b)||b,n.transition),v=b,Jn(_),v}function ua(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(xo(r)){if(r.type!==H||r.children===`v-if`){if(n)return;n=r}}else return}return n}var da=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},fa=(e,t)=>{let n={};for(let r in e)o(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function pa(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?ma(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(ha(o,r,n)&&!ca(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||ma(r,o,l):!!o;return!1}function ma(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(!u(e,a)||ha(t,e,a)&&!ca(n,a))return!0}return!1}function ha(e,t,n){let r=e[n],i=t[n];return n===`style`&&y(r)&&y(i)?!Se(r,i):r!==i}function ga({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var _a={},va=()=>Object.create(_a),ya=e=>Object.getPrototypeOf(e)===_a;function ba(e,t,n,r=!1){let i={},a=va();e.propsDefaults=Object.create(null),Sa(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:Kt(i):e.type.props?i:a,e.attrs=a}function xa(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=F(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(ca(e.emitsOptions,o))continue;let d=t[o];if(c){if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=k(o);i[t]=Ca(c,s,t,d,e,!1)}}else d!==a[o]&&(a[o]=d,l=!0)}}}else{Sa(e,t,i,a)&&(l=!0);let r;for(let a in s)t&&(u(t,a)||(r=j(a))!==a&&u(t,r))||(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Ca(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)t&&u(t,e)||(delete a[e],l=!0)}l&&st(e.attrs,`set`,``)}function Sa(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(E(t))continue;let l=n[t],d;a&&u(a,d=k(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:ca(e.emitsOptions,t)||t in i&&l===i[t]||(i[t]=l,s=!0)}if(o){let n=F(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=Ca(a,n,s,i[s],e,!u(i,s))}}return s}function Ca(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&g(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Ho(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===j(n))&&(r=!0))}return r}var wa=new WeakMap;function Ta(e,r,i=!1){let a=i?wa:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!g(e)){let t=e=>{p=!0;let[t,n]=Ta(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return y(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=k(c[e]);Ea(n)&&(l[n]=t)}else if(c)for(let e in c){let t=k(e);if(Ea(t)){let n=c[e],r=l[t]=d(n)||g(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=g(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=g(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return y(e)&&a.set(e,m),m}function Ea(e){return e[0]!==`$`&&!E(e)}var Da=e=>e===`_`||e===`_ctx`||e===`$stable`,Oa=e=>d(e)?e.map(jo):[jo(e)],ka=(e,t,n)=>{if(t._n)return t;let r=Yn((...e)=>Oa(t(...e)),n);return r._c=!1,r},Aa=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Da(n))continue;let i=e[n];if(g(i))t[n]=ka(n,i,r);else if(i!=null){let e=Oa(i);t[n]=()=>e}}},ja=(e,t)=>{let n=Oa(t);e.slots.default=()=>n},Ma=(e,t,n)=>{for(let r in t)(n||!Da(r))&&(e[r]=t[r])},Na=(e,t,n)=>{let r=e.slots=va();if(e.vnode.shapeFlag&32){let e=t._;e?(Ma(r,t,n),n&&ie(r,`_`,e,!0)):Aa(t,r)}else t&&ja(e,t)},Pa=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:Ma(a,n,r):(o=!n.$stable,Aa(n,a)),s=n}else n&&(ja(e,n),s={default:1});if(o)for(let e in a)!Da(e)&&s[e]==null&&delete a[e]},B=oo;function Fa(e){return La(e)}function Ia(e){return La(e,Rr)}function La(e,i){let a=ce();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=r,insertStaticContent:_}=e,v=(e,t,r,i=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!So(e,t)&&(i=ge(e),de(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===n&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case lo:y(e,t,r,i);break;case H:b(e,t,r,i);break;case uo:e??x(t,r,i,s);break;case V:j(e,t,r,i,a,o,s,c,l);break;default:f&1?w(e,t,r,i,a,o,s,c,l):f&6?te(e,t,r,i,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,r,i,a,o,s,c,l,ve)}d!=null&&a?Ar(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&Ar(e.ref,null,o,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)T(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ee(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},T=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&O(e.children,d,null,r,i,Ra(e,a),s,u),_&&Zn(e,null,r,`created`),D(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!E(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Fo(f,r,e)}_&&Zn(e,null,r,`beforeMount`);let v=Ba(i,g);v?g.beforeEnter(d):g&&!g.persisted&&(d[Ja]=!0),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&B(()=>{try{f&&Fo(f,r,e),v&&g.enter(d),_&&Zn(e,null,r,`mounted`)}finally{}},i)},D=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||Ka(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;D(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},O=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?Mo(e[l]):jo(e[l]);v(null,c,t,n,r,i,a,o,s)}},ee=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&za(r,!1),(g=h.onVnodeBeforeUpdate)&&Fo(g,r,n,e),f&&Zn(n,e,r,`beforeUpdate`),r&&za(r,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?k(e.dynamicChildren,d,l,r,i,Ra(n,a),o):s||oe(e,n,l,null,r,i,Ra(n,a),o,!1),u>0){if(u&16)A(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&p(l,n.children)}else!s&&d==null&&A(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&B(()=>{g&&Fo(g,r,n,e),f&&Zn(n,e,r,`updated`)},i)},k=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el||Ga(c),d=u&&(c.type===V||!So(c,l)||c.shapeFlag&198)?m(u):n;v(c,l,d,null,r,i,a,o,!0)}},A=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!E(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(E(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},j=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),O(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(k(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&Va(e,t,!0)):oe(e,t,n,f,i,a,s,c,l)},te=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):ne(t,n,r,i,a,o,c):M(e,t,c)},ne=(e,t,n,r,i,a,o)=>{let s=e.component=zo(e,r,i);if(Yr(e)&&(s.ctx.renderer=ve),Ko(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,ie,o,a),!e.el){let r=s.subTree=U(H);b(null,r,t,n),e.placeholder=r.el}}else ie(s,e,t,n,i,a,o)},M=(e,t,n)=>{let r=t.component=e.component;if(pa(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,t.placeholder=e.placeholder,ae(r,t,n);return}r.next=t,r.update()}else t.el=e.el,t.placeholder=e.placeholder,r.vnode=t},ie=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Ua(e);if(n){t&&(t.el=c.el,ae(e,t,o)),n.asyncDep.then(()=>{let t=()=>{e.job.flags&8||(i&&i.pendingBranch?B(t,i):l())};t.flags=48,B(t,i)});return}}let u=t,d;za(e,!1),t?(t.el=c.el,ae(e,t,o)):t=c,n&&re(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Fo(d,s,t,c),za(e,!0);let f=la(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el||Ga(p)),ge(p),e,i,a),t.el=f.el,u===null&&ga(e,f.el),r&&B(r,i),(d=t.props&&t.props.onVnodeUpdated)&&B(()=>Fo(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Jr(t);if(za(e,!1),l&&re(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Fo(o,d,t),za(e,!0),s&&be){let t=()=>{e.subTree=la(e),be(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=la(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&B(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;B(()=>Fo(o,d,e),i)}(t.shapeFlag&256||d&&Jr(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&B(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Pe(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>Rn(u),za(e,!0),l()},ae=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,xa(e,t.props,r,n),Pa(e,t.children,n),Ye(),Vn(e),Xe()},oe=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){le(l,d,n,r,i,a,o,s,c);return}if(f&256){se(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&he(l,i,a),d!==l&&p(n,d)):u&16?m&16?le(l,d,n,r,i,a,o,s,c):he(l,i,a,!0):(u&8&&p(n,``),m&16&&O(d,n,r,i,a,o,s,c))},se=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let n=t[p]=l?Mo(t[p]):jo(t[p]);v(e[p],n,r,null,a,o,s,c,l)}u>d?he(e,a,o,!0,!1,f):O(t,r,i,a,o,s,c,l,f)},le=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?Mo(t[u]):jo(t[u]);if(So(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?Mo(t[p]):jo(t[p]);if(So(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?Mo(t[u]):jo(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)de(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?Mo(t[u]):jo(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let n=e[u];if(y>=b){de(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&So(n,t[_])){i=_;break}i===void 0?de(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let w=x?Ha(C):n;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||Ga(f):i;C[u]===0?v(null,n,r,p,a,o,s,c,l):x&&(_<0||u!==w[_]?ue(n,r,p,2):_--)}}},ue=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6)ue(e.component.subTree,t,n,r);else if(d&128)e.suspense.move(t,n,r);else if(d&64)c.move(e,t,n,ve);else if(c===V){o(a,t,n);for(let e=0;e<u.length;e++)ue(u[e],t,n,r);o(e.anchor,t,n)}else if(c===uo)S(e,t,n);else if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[ur]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),B(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[ur];a._isLeaving&&a[ur](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},de=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&(Ye(),Ar(s,null,n,e,!0),Xe()),p==null||e.ctx&&e.ctx!==t||(t.renderCache[p]=void 0),u&256&&t.ctx.deactivate(e))return;let h=u&1&&f,g=!Jr(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Fo(_,t,e),u&6)me(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Zn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,ve,r):l&&!l.hasOnce&&(a!==V||d>0&&d&64)?he(l,t,n,!1,!0):(a===V&&d&384||!i&&u&16)&&he(c,t,n),r&&fe(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&B(()=>{_&&Fo(_,t,e),h&&Zn(e,null,t,`unmounted`),v&&(e.el=null)},n)},fe=e=>{let{type:t,el:n,anchor:r,transition:i}=e,a=t===V;if(a&&!i){pe(n,r);return}if(t===uo){C(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let o=a?wr(e):e,c=()=>{a?m(n)&&pe(n,r):s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(o&&o.shapeFlag&1&&i&&!i.persisted){let{leave:e,delayLeave:t}=i,n=o.el,r=()=>e(n,c);t?t(n,c,r):r()}else c()},pe=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},me=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Wa(c),Wa(l),r&&re(r),i.stop(),a?(a.flags|=8,de(o,e,t,n)):o&&(o.transition=e.vnode.transition,de(o,e,t,n)),s&&B(s,t);let u=()=>{e.isUnmounted=!0};u.flags=16,B(u,t)},he=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)de(e[o],t,n,r,i)},ge=e=>{if(e.shapeFlag&6)return ge(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[cr];return n?h(n):t},_e=(e,t,n)=>{Wn(()=>{e==null?t._vnode&&de(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e},e&&t._vnode?void 0:e&&e.component?e.component.uid:Ro())},ve={p:v,um:de,m:ue,r:fe,mt:ne,mc:O,pc:oe,pbc:k,n:ge,o:e},ye,be;return i&&([ye,be]=i(ve)),{render:_e,hydrate:ye,createApp:ta(_e,ye)}}function Ra({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 za({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ba(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Va(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=Mo(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Va(t,a)),a.type===lo&&(a.patchFlag===-1&&(a=i[e]=Mo(a)),a.el=t.el),a.type===H&&!a.el&&(a.el=t.el)}}function Ha(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function Ua(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ua(t)}function Wa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ga(e){if(e.placeholder)return e.placeholder;let t=e.component;if(t)return Ga(t.subTree);let n=e.suspense;return n&&n.activeBranch?Ga(n.activeBranch):null}var Ka=e=>e.__isSuspense,qa=0,Ja=Symbol(`_deferredEnter`),Ya={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)$a(t,n,r,i,a,o,s,c,l);else{let u=e.suspense;if(a&&a.deps>0&&!a.isHydrating){let n=u.parentComponent;if(n&&n.suspense===a&&n.suspenseId!==a.pendingId?a.pendingBranch&&!So(t.ssContent,u.pendingBranch||u.activeBranch):!u.isInFallback){t.suspense=u,u.vnode=t,t.el=e.el;return}}eo(e,t,n,r,i,o,s,c,l)}},hydrate:no,normalize:ro};function Xa(e,t){let n=e.props&&e.props[t];g(n)&&n()}function Za(e){let t=[];Qa(e,t,!0),t.length&&Bn(t)}function Qa(e,t,n){let{el:r,transition:i,children:a,shapeFlag:o}=e;if(o&6)Qa(e.component.subTree,t,n);else if(!(o&192)&&(o&1&&(!n&&r&&r[Ja]&&(r[Ja]=void 0,i&&!i.persisted&&(i.beforeEnter(r),t.push(()=>i.enter(r)))),n=!1),o&16))for(let e=0;e<a.length;e++)Qa(a[e],t,n)}function $a(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=to(e,i,r,t,d,n,a,o,s,c);l(null,f.pendingBranch=e.ssContent,d,null,r,f,a,o),f.deps>0?(Xa(e,`onPending`),Xa(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),so(f,e.ssFallback)):f.resolve(!1,!0)}function eo(e,t,n,r,i,a,o,s,{p:c,um:l,o:{createElement:u}}){let d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;let f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:_}=d;if(h)d.pendingBranch=f,So(h,f)?(d.deps++,c(h,f,_?n:d.hiddenContainer,null,i,d,a,o,s),d.deps--,d.deps<=0?d.resolve():g&&!_&&!d.isFallbackMountPending&&(c(m,p,n,r,i,null,a,o,s),so(d,p))):(d.pendingId=qa++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,ao(d),d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():d.isFallbackMountPending||(c(m,p,n,r,i,null,a,o,s),so(d,p))):m&&So(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&So(m,f))c(m,f,n,r,i,d,a,o,s),so(d,f);else if(Xa(t,`onPending`),d.pendingBranch=f,d.pendingId=qa++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e}=d;e>0?d.timeoutTimer=setTimeout(()=>{d.timeoutTimer=void 0,d.fallback(d.vnode.ssFallback)},e):e===0&&d.fallback(p)}}function to(e,t,n,r,i,a,o,s,c,l,u=!1){let{p:d,m:f,um:p,n:m,o:{parentNode:h,remove:g}}=l,_,v=co(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?oe(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:qa++,timeout:typeof y==`number`?y:-1,timeoutTimer:void 0,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:o,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=x,g=x.parent;for(;g&&!g.pendingBranch;)g=g.parent;let y=!1;if(x.isHydrating)x.isHydrating=!1;else if(!e){y=i&&o.transition&&o.transition.mode===`out-in`;let e=!1;y&&(i.transition.afterLeave=()=>{if(s===x.pendingId&&!x.isUnmounted){Za(o),f(o,u,a===b&&!e?m(i):a,0);let t=!1;if(g){let e=u,n;for(;n=h(e);)e=n;t=e===g.hiddenContainer}t||Bn(c),d&&r.ssFallback&&(r.ssFallback.el=null)}}),i&&!x.isFallbackMountPending&&(h(i.el||Ga(i))===u&&(a=m(i),e=!0),p(i,l,x,!0),!y&&d&&r.ssFallback&&B(()=>r.ssFallback.el=null,x)),y||(Za(o),f(o,u,a,0))}clearTimeout(x.timeoutTimer),x.timeoutTimer=void 0,x.isFallbackMountPending=!1,so(x,o),x.pendingBranch=null,x.isInFallback=!1;let S=0;for(let e=0;e<c.length;e++){let t=c[e];t.flags&32?Bn(t):c[S++]=t}if(c.length=S,g)for(let e=0;e<c.length;e++)g.effects.push(c[e]);else y||Bn(c);x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(_=void 0,t.deps--,t.deps===0&&!n&&t.resolve()),Xa(r,`onResolve`)},fallback(e){if(x.isUnmounted||!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;Xa(t,`onFallback`);let o=m(n),l=()=>{if(x.isFallbackMountPending=!1,x.isUnmounted||!x.isInFallback)return;let e=x.vnode.ssFallback;d(null,e,i,o,r,null,a,s,c),so(x,e)},u=e.transition&&e.transition.mode===`out-in`;u&&(x.isFallbackMountPending=!0,n.transition.afterLeave=l),x.isInFallback=!0,p(n,r,null,!0),u||l()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t,n,r){let i=!!x.pendingBranch;i&&x.deps++;let a=e.vnode.el,o=i=>{e.asyncResolved=!0;let{vnode:o}=e;Jo(e,i,!1),a&&(o.el=a);let s=!a&&e.subTree.el;t(e,o,h(a||e.subTree.el),a?null:m(e.subTree),x,r,n),s&&(o.placeholder=null,g(s)),ga(e,o.el)};e.asyncDep.catch(t=>(e.scope.active&&Dn(t,e,0,!1,!0),()=>null)).then(t=>{if(e.isUnmounted||x.isUnmounted)return;let n=i&&x.pendingId===e.suspenseId;if(Uo(),!e.scope.active)n&&--x.deps===0&&x.resolve();else if(!n&&x.pendingBranch){let n=()=>{e.isUnmounted||x.isUnmounted||!e.scope.active||(x.pendingBranch?oo(n,x):o(t))};n.flags=48,oo(n,x)}else o(t),n&&--x.deps===0&&x.resolve()})},unmount(e,t){if(x.isUnmounted=!0,clearTimeout(x.timeoutTimer),x.timeoutTimer=void 0,_!==void 0){let e=x.parent,t=_;_=void 0,Bn(()=>{e.pendingId===t&&!e.isUnmounted&&--e.deps===0&&e.resolve()})}x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&(p(x.pendingBranch,n,x,t),ao(x))}};return x}function no(e,t,n,r,i,a,o,s,c){let l=t.suspense=to(t,r,n,e.parentNode,document.createElement(`div`),null,i,a,o,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,a,o);return l.deps===0&&l.resolve(!1,!0),u}function ro(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=io(r?n.default:n),e.ssFallback=r?io(n.fallback):U(H)}function io(e){let t;if(g(e)){let n=go&&e._c;n&&(e._d=!1,mo()),e=e(),n&&(e._d=!0,t=po,ho())}return d(e)&&(e=ua(e)),e=jo(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function ao(e){let{effects:t}=e;for(let e=0;e<t.length;e++){let n=t[e];n.flags&16&&Bn(n)}t.length=0}function oo(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):Bn(e)}function so(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,ga(r,i))}function co(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}var V=Symbol.for(`v-fgt`),lo=Symbol.for(`v-txt`),H=Symbol.for(`v-cmt`),uo=Symbol.for(`v-stc`),fo=[],po=null;function mo(e=!1){fo.push(po=e?null:[])}function ho(){fo.pop(),po=fo[fo.length-1]||null}var go=1;function _o(e,t=!1){go+=e,e<0&&po&&t&&(po.hasOnce=!0)}function vo(e){return e.dynamicChildren=go>0?po||n:null,ho(),go>0&&po&&po.push(e),e}function yo(e,t,n,r,i,a){return vo(To(e,t,n,r,i,a,!0))}function bo(e,t,n,r,i){return vo(U(e,t,n,r,i,!0))}function xo(e){return e?e.__v_isVNode===!0:!1}function So(e,t){return e.type===t.type&&e.key===t.key}var Co=({key:e})=>e??null,wo=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:_(e)||I(e)||g(e)?{i:R,r:e,k:t,f:!!n}:e);function To(e,t=null,n=null,r=0,i=null,a=e===V?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Co(t),ref:t&&wo(t),scopeId:qn,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:R};return s?(No(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=_(n)?8:16),go>0&&!o&&po&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&po.push(c),c}var U=Eo;function Eo(e,t=null,n=null,r=0,i=null,a=!1){if(e&&e!==yi||(e=H),xo(e)){let r=Oo(e,t,!0);return n&&No(r,n),go>0&&!a&&po&&(r.shapeFlag&6?po[po.indexOf(e)]=r:po.push(r)),r.patchFlag=-2,r}if(ts(e)&&(e=e.__vccOpts),t){t=Do(t);let{class:e,style:n}=t;e&&!_(e)&&(t.class=me(e)),y(n)&&($t(n)&&!d(n)&&(n=s({},n)),t.style=le(n))}let o=_(e)?1:Ka(e)?128:lr(e)?64:y(e)?4:g(e)?2:0;return To(e,t,n,r,i,o,a,!0)}function Do(e){return e?$t(e)?s({},e):ya(e)?s({},e[Xo]||e):e:null}function Oo(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?Po(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Co(l),ref:t&&t.ref?n&&a?d(a)?a.concat(wo(t)):[a,wo(t)]:wo(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==V?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Oo(e.ssContent),ssFallback:e.ssFallback&&Oo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&Sr(u,c.clone(u)),u}function ko(e=` `,t=0){return U(lo,null,e,t)}function Ao(e=``,t=!1){return t?(mo(),bo(H,null,e)):U(H,null,e)}function jo(e){return e==null||typeof e==`boolean`?U(H):d(e)?U(V,null,e.slice()):xo(e)?Mo(e):U(lo,null,String(e))}function Mo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Oo(e)}function No(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),No(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!ya(t)?t._ctx=R:r===3&&R&&(R.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(g(t)){if(r&65){No(e,{default:t});return}t={default:t,_ctx:R},n=32}else t=String(t),r&64?(n=16,t=[ko(t)]):n=8;e.children=t,e.shapeFlag|=n}function Po(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=me([t.class,r.class]));else if(e===`style`)t.style=le([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!o(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Fo(e,t,n,r=null){En(e,t,7,[n,r])}var Io=$i(),Lo=0;function Ro(){return Lo}function zo(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||Io,o={uid:Lo++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ke(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ta(i,a),emitsOptions:sa(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=n?n.root:o,o.emit=aa.bind(null,o),e.ce&&e.ce(o),o}var W=null,G=()=>W||R,Bo,Vo;{let e=ce(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Bo=t(`__VUE_INSTANCE_SETTERS__`,e=>W=e),Vo=t(`__VUE_SSR_SETTERS__`,e=>Go=e)}var Ho=e=>{let t=W;return Bo(e),e.scope.on(),()=>{e.scope.off(),Bo(t)}},Uo=()=>{W&&W.scope.off(),Bo(null)};function Wo(e){return e.vnode.shapeFlag&4}var Go=!1;function Ko(e,t=!1,n=!1){t&&Vo(t);let{props:r,children:i}=e.vnode,a=Wo(e);ba(e,r,a,t),Na(e,i,n||t);let o=a?qo(e,t):void 0;return t&&Vo(!1),o}function qo(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ji);let{setup:r}=n;if(r){Ye();let n=e.setupContext=r.length>1?Qo(e):null,i=Ho(e),a=Tn(r,e,0,[e.props,n]),o=b(a);if(Xe(),i(),(o||e.sp)&&!Jr(e)&&Er(e),o){if(a.then(Uo,Uo),t)return a.then(n=>{Vo(!0);try{Jo(e,n,t)}finally{Vo(!1)}}).catch(t=>{Dn(t,e,0,void 0,!0),e.ssrRender=(e,t)=>t(`<!---->`)});e.asyncDep=a}else Jo(e,a,t)}else Yo(e,t)}function Jo(e,t,n){g(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:y(t)&&(e.setupState=un(t)),Yo(e,n)}function Yo(e,t,n){let i=e.type;e.render||=i.render||r;{let t=Ho(e);Ye();try{zi(e)}finally{Xe(),t()}}}var Xo=Symbol(),Zo={get(e,t){return ot(e,`get`,``),t===Xo?e:e[t]}};function Qo(e){return{attrs:new Proxy(e.attrs,Zo),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function $o(e){return e.exposed?e.exposeProxy||=new Proxy(un(en(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ki)return ki[n](e)},has(e,t){return t in e||t in ki}}):e.proxy}function es(e,t=!0){return g(e)?e.displayName||e.name:e.name||t&&e.__name}function ts(e){return g(e)&&`__vccOpts`in e}var K=(e,t)=>vn(e,t,Go);function q(e,t,n){try{_o(-1);let r=arguments.length;return r===2?y(t)&&!d(t)?xo(t)?U(e,null,[t]):U(e,t):U(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&xo(n)&&(n=[n]),U(e,t,n))}finally{_o(1)}}var ns=`3.5.46`,rs=void 0,is=typeof window<`u`&&window.trustedTypes;if(is)try{rs=is.createPolicy(`vue`,{createHTML:e=>e})}catch{}var as=rs?e=>rs.createHTML(e):e=>e,os=`http://www.w3.org/2000/svg`,ss=`http://www.w3.org/1998/Math/MathML`,cs=typeof document<`u`?document:null,ls=cs&&cs.createElement(`template`),us={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?cs.createElementNS(os,e):t===`mathml`?cs.createElementNS(ss,e):n?cs.createElement(e,{is:n}):cs.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>cs.createTextNode(e),createComment:e=>cs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>cs.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{ls.innerHTML=as(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=ls.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ds=`transition`,fs=`animation`,ps=Symbol(`_vtc`),ms={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},hs=s({},mr,ms),gs=(e=>(e.displayName=`Transition`,e.props=hs,e))((e,{slots:t})=>q(_r,ys(e),t)),_s=(e,t=[])=>{d(e)?e.forEach(e=>e(...t)):e&&e(...t)},vs=e=>e?d(e)?e.some(e=>e.length>1):e.length>1:!1;function ys(e){let t={};for(let n in e)n in ms||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:u=o,appearToClass:d=c,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=bs(i),g=h&&h[0],_=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=v,onAppear:w=y,onAppearCancelled:T=b}=t,E=(e,t,n,r)=>{e._enterResolve=void 0,e._enterCancelled=r,Cs(e,t?d:c),Cs(e,t?u:o),n&&n()},D=(e,t)=>{e._leaveResolve=void 0,e._isLeaving=!1,Cs(e,f),Cs(e,m),Cs(e,p),t&&t()},O=e=>(t,n)=>{let i=e?w:y,o=()=>{t._enterResolve===o&&E(t,e,n)};t._enterResolve=o,_s(i,[t,o]),ws(()=>{Cs(t,e?l:a),t._enterResolve===o&&(Ss(t,e?d:c),vs(i)||Es(t,r,g,o))})};return s(t,{onBeforeEnter(e){_s(v,[e]),Ss(e,a),Ss(e,o)},onBeforeAppear(e){_s(C,[e]),Ss(e,l),Ss(e,u)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>{e._leaveResolve===n&&D(e,t)};e._leaveResolve=n,Ss(e,f),e._enterCancelled?(Ss(e,p),As(e)):(As(e),Ss(e,p)),ws(()=>{e._leaveResolve===n&&(Cs(e,f),Ss(e,m),vs(x)||Es(e,r,_,n))}),_s(x,[e,n])},onEnterCancelled(e){E(e,!1,void 0,!0),_s(b,[e])},onAppearCancelled(e){E(e,!0,void 0,!0),_s(T,[e])},onLeaveCancelled(e){D(e),_s(S,[e])}})}function bs(e){if(e==null)return null;if(y(e))return[xs(e.enter),xs(e.leave)];{let t=xs(e);return[t,t]}}function xs(e){return oe(e)}function Ss(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[ps]||(e[ps]=new Set)).add(t)}function Cs(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[ps];n&&(n.delete(t),n.size||(e[ps]=void 0))}function ws(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var Ts=0;function Es(e,t,n,r){let i=e._endId=++Ts,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Ds(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function Ds(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${ds}Delay`),a=r(`${ds}Duration`),o=Os(i,a),s=r(`${fs}Delay`),c=r(`${fs}Duration`),l=Os(s,c),u=null,d=0,f=0;t===ds?o>0&&(u=ds,d=o,f=a.length):t===fs?l>0&&(u=fs,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?ds:fs:null,f=u?u===ds?a.length:c.length:0);let p=u===ds&&/\b(?:transform|all)(?:,|$)/.test(r(`${ds}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Os(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>ks(t)+ks(e[n])))}function ks(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function As(e){return(e?e.ownerDocument:document).body.offsetHeight}function js(e,t,n){let r=e[ps];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Ms=Symbol(`_vod`),Ns=Symbol(`_vsh`),Ps={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Ms]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Fs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Fs(e,!0),r.enter(e)):r.leave(e,()=>{Fs(e,!1)}):Fs(e,t))},beforeUnmount(e,{value:t}){Fs(e,t)}};function Fs(e,t){e.style.display=t?e[Ms]:`none`,e[Ns]=!t}var Is=Symbol(``),Ls=/(?:^|;)\s*display\s*:/;function Rs(e,t,n){let r=e.style,i=_(n),a=!1;if(n&&!i){if(t){if(_(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Bs(r,t,``)}else for(let e in t)n[e]??Bs(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?Bs(r,i,``):Ws(e,i,!_(t)&&t?t[i]:void 0,o)||Bs(r,i,o)}}else if(i){if(t!==n){let e=r[Is];e&&(n+=`;`+e),r.cssText=n,a=Ls.test(n)}}else t&&e.removeAttribute(`style`);Ms in e&&(i&&t===n||(e[Ms]=a?r.display:``),e[Ns]&&(r.display=`none`))}var zs=/\s*!important$/;function Bs(e,t,n){if(d(n))n.forEach(n=>Bs(e,t,n));else if(n??=``,t.startsWith(`--`))zs.test(n)?e.setProperty(t,n.replace(zs,``),`important`):e.setProperty(t,n);else{let r=Us(e,t);zs.test(n)?e.setProperty(j(r),n.replace(zs,``),`important`):e[r]=n}}var Vs=[`Webkit`,`Moz`,`ms`],Hs={};function Us(e,t){let n=Hs[t];if(n)return n;let r=k(t);if(r!==`filter`&&r in e)return Hs[t]=r;r=te(r);for(let n=0;n<Vs.length;n++){let i=Vs[n]+r;if(i in e)return Hs[t]=i}return t}function Ws(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&_(r)&&n===r}var Gs=`http://www.w3.org/1999/xlink`;function Ks(e,t,n,r,i,a=ge(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(Gs,t.slice(6,t.length)):e.setAttributeNS(Gs,t,n):n==null||a&&!_e(n)?e.removeAttribute(t):e.setAttribute(t,a?``:v(n)?String(n):n)}function qs(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?as(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);r===i&&`_value`in e||(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=_e(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Js(e,t,n,r){e.addEventListener(t,n,r)}function Ys(e,t,n,r){e.removeEventListener(t,n,r)}var Xs=Symbol(`_vei`);function Zs(e,t,n,r,i=null){let a=e[Xs]||(e[Xs]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=ec(t);r?Js(e,n,a[t]=ic(r,i),s):o&&(Ys(e,n,o,s),a[t]=void 0)}}var Qs=/(Once|Passive|Capture)$/,$s=/^on:?(?:Once|Passive|Capture)$/;function ec(e){let t,n;for(;(n=e.match(Qs))&&!$s.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):j(e.slice(2)),t]}var tc=0,nc=Promise.resolve(),rc=()=>tc||=(nc.then(()=>tc=0),Date.now());function ic(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(d(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&En(e,t,5,a)}}else En(r,t,5,[e])};return n.value=e,n.attached=rc(),n}var ac=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,oc=(e,t,n,r,i,s)=>{let c=i===`svg`;t===`class`?js(e,r,c):t===`style`?Rs(e,n,r):a(t)?o(t)||Zs(e,t,n,r,s):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):sc(e,t,r,c))?(qs(e,t,r),e.tagName.includes(`-`)||t!==`value`&&t!==`checked`&&t!==`selected`||Ks(e,t,r,c,s,t!==`value`)):e._isVueCE&&(cc(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!_(r)))?qs(e,k(t),r,s,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),Ks(e,t,r,c))};function sc(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&ac(t)&&g(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`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return ac(t)&&_(n)?!1:t in e}function cc(e,t){let n=e._def.props;if(!n)return!1;let r=k(t);return Array.isArray(n)?n.some(e=>k(e)===r):Object.keys(n).some(e=>k(e)===r)}var lc=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return d(t)?e=>re(t,e):t};function uc(e){e.target.composing=!0}function dc(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var fc=Symbol(`_assign`),pc=Symbol(`_initialValue`);function mc(e,t,n){return t&&(e=e.trim()),n&&(e=ae(e)),e}var hc={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type===`text`?e[pc]=e.defaultValue.replace(/[\r\n]/g,``):e.type===`textarea`&&(e[pc]=e.defaultValue.replace(/\r\n?/g,`
6
+ `))),e[fc]=lc(i);let a=r||i.props&&i.props.type===`number`;Js(e,t?`change`:`input`,t=>{t.target.composing||e[fc](mc(e.value,n,a))}),(n||a)&&Js(e,`change`,()=>{e.value=mc(e.value,n,a)}),t||(Js(e,`compositionstart`,uc),Js(e,`compositionend`,dc),Js(e,`change`,dc))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[pc];delete e[pc],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[fc](mc(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[fc]=lc(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?ae(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},gc={deep:!0,created(e,t,n){e[fc]=lc(n),Js(e,`change`,()=>{let t=e._modelValue,n=vc(e),r=e.checked,i=e[fc];if(d(t)){let e=Ce(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(p(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(yc(e,r))})},mounted:_c,beforeUpdate(e,t,n){e[fc]=lc(n),_c(e,t,n)}};function _c(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(d(t))i=Ce(t,r.props.value)>-1;else if(p(t))i=t.has(r.props.value);else{if(t===n)return;i=Se(t,yc(e,!0))}e.checked!==i&&(e.checked=i)}function vc(e){return`_value`in e?e._value:e.value}function yc(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var bc=[`ctrl`,`shift`,`alt`,`meta`],xc={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)=>bc.some(n=>e[`${n}Key`]&&!t.includes(n))},Sc=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=xc[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Cc={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},wc=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=j(n.key);if(t.some(e=>e===r||Cc[e]===r))return e(n)}))},Tc=s({patchProp:oc},us),Ec,Dc=!1;function Oc(){return Ec||=Fa(Tc)}function kc(){return Ec=Dc?Ec:Ia(Tc),Dc=!0,Ec}var Ac=((...e)=>{let t=Oc().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Nc(e);if(!r)return;let i=t._component;g(i)||i.render||i.template||(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Mc(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),jc=((...e)=>{let t=kc().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Nc(e);if(t)return n(t,!0,Mc(t))},t});function Mc(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Nc(e){return _(e)?document.querySelector(e):e}`global`in globalThis||(globalThis.global=globalThis);function Pc(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?Pc(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var Fc=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function Ic(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>Ic(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function Lc(e,t,n){if(e.length>0)return Ic(e,t,0,Fc(n))}function Rc(e,t,n){if(e.length>0){let r=Fc(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function zc(e,t){for(let n of[...e])n(t)}var Bc=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()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}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),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,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;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=Pc(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=Pc(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(Lc,e,t)}callHookParallel(e,...t){return this.callHookWith(Rc,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&zc(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&zc(this._after,r)}):(this._after&&r&&zc(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let 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){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function Vc(){return new Bc}var Hc=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(n&&n.length!==0)return Ic(n.slice(),t,0)}},Uc=globalThis.__nuxt_app_ctx__||={};function Wc(e){return Uc[e]||=(()=>{let e;return{use:()=>{if(e===void 0)throw Error(`Context is not available`);return e},tryUse:()=>e??null,set:t=>{e=t},unset:()=>{e=void 0},call:(t,n)=>(e=t,n()),callAsync:(t,n)=>(e=t,Promise.resolve(n()))}})()}function Gc(e,t){return Wc(e)}function Kc(e,...t){return typeof e==`function`?e(...t):e}var qc=Error.captureStackTrace,Jc=class e extends Error{get why(){return this.message}constructor(t,n=e){super(t.why,{cause:t.cause}),this.code=this.name=t.code,this.docs=t.docs,this.fix=t.fix,this.sources=t.sources,this.data=t.data,qc?.(this,n)}toJSON(){return{name:this.name,why:this.why,fix:this.fix,docs:this.docs,sources:this.sources,cause:this.cause,data:this.data,stack:this.stack}}};function Yc(e,t){return typeof e==`string`?`${e}/${t.toLowerCase()}`:e?.(t)}var Xc=e=>t=>t instanceof Jc&&e in t;function Zc(e){let t=e.reporters??[],n=Symbol(),r=Object.defineProperty({},"is",{value:Xc(n)}),{docsBase:i}=e;for(let a of Object.keys(e.codes)){let o=e.codes[a],s=o.docs===!1?void 0:o.docs||Yc(i,a),c=(e={},r={})=>{let i=new Jc({code:a,why:Kc(o.why,e),fix:Kc(o.fix,e),docs:s,cause:e.cause,sources:e.sources,data:Kc(o.data,e)},c);i[n]=1;for(let e of t)e(i,r);return i};c.is=e=>r.is(e)&&e.code===a,r[a]=c}return r}function Qc(e={}){let{docsBase:t,reporters:n=[]}=e,r=Symbol(),i=Xc(r),a=Object.defineProperty({},"is",{value:i});return new Proxy(a,{get(e,a){if(typeof a!=`string`||a===`toJSON`)return;if(a===`is`)return i;let o=(e={},i={})=>{let s=Yc(t,a),c=new Jc({code:a,why:s??``,docs:s,cause:e.cause,sources:e.sources},o);c[r]=1;for(let e of n)e(c,i);return c};return o.is=e=>i(e)&&e.code===a,o}})}function $c(e){return t=>{let n=`${e.bold(e.red(`[${t.name}]`))} ${t.message}`,r=[];return t.fix&&r.push(`${e.dim(`fix:`)} ${t.fix}`),t.sources?.length&&r.push(`${e.dim(`sources:`)} ${t.sources.join(`, `)}`),t.docs&&r.push(`${e.dim(`see:`)} ${e.cyan(t.docs)}`),r.length===0?n:[n,...r.map((t,n)=>`${e.dim(n<r.length-1?`├▶`:`╰▶`)} ${t}`)].join(`
7
+ `)}}function el(e){return`https://nuxt.com/docs/4.x/errors/${e.replace(`NUXT_`,``).toLowerCase()}`}var tl=[e=>{console.error(`[${e.name}]`)}],nl=Qc({docsBase:el,reporters:tl});String.fromCharCode;var rl=/%2f/gi;function il(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function al(e){return il(e.replace(rl,`%252F`))}var ol=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,sl=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,cl=/^([/\\]\s*){2,}[^/\\]/,ll=/^[\s\0]*(blob|data|javascript|vbscript):$/i,ul=/\/$|\/\?|\/#/,dl=/^\.?\//;function fl(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?ol.test(e):sl.test(e)||(t.acceptRelative?cl.test(e):!1)}function pl(e){return!!e&&ll.test(e)}function ml(e=``,t){return t?ul.test(e):e.endsWith(`/`)}function hl(e=``,t){if(!t)return(ml(e)?e.slice(0,-1):e)||`/`;if(!ml(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function gl(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(ml(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function _l(e,t){if(yl(t)||fl(e))return e;let n=hl(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return xl(n,e)}function vl(e,t){if(yl(t))return e;let n=hl(t);if(!e.startsWith(n))return e;let r=e[n.length];return r&&r!==`/`&&r!==`?`?e:`/`+e.slice(n.length).replace(/^\/+/,``)}function yl(e){return!e||e===`/`}function bl(e){return e&&e!==`/`}function xl(e,...t){let n=e||``;for(let e of t.filter(e=>bl(e)))if(n){let t=e.replace(dl,``);n=gl(n)+t}else n=e;return n}function Sl(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(e&&e!==`/`){for(let[n,a]of e.split(t).entries())if(a&&a!==`.`){if(a===`..`){if(r.length===1&&fl(r[0]))continue;r.pop(),i--}else n===1&&r[r.length-1]?.endsWith(`:/`)?r[r.length-1]+=`/`+a:(r.push(a),i++)}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function Cl(e,t){return il(hl(e))===il(hl(t))}var wl=Symbol.for(`ufo:protocolRelative`);function Tl(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!fl(e,{acceptRelative:!0}))return t?Tl(t+e):El(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=El(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[wl]:!r}}function El(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Dl(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[wl]?(e.protocol||``)+`//`:``)+i+a+t+n+r}var Ol=`https://a.invalid`,kl=`http://b.invalid`,Al=`${Ol}/probe/`,jl=`${kl}/probe/`;function Ml(e,t=Al){try{return new URL(e,t)}catch{return null}}function Nl(e){let t=Ml(e),n=Ml(e,jl);return!!t&&!!n&&(t.origin!==Ol||n.origin!==kl)}function Pl(e){return e[0]!==`/`||e[1]===`/`||e[1]===`\\`?!1:e[1]!==` `&&e[1]!==`
8
+ `&&e[1]!==`\r`||!Nl(e)}function Fl(e){return!!e&&!Pl(e)&&Nl(e)}function Il(e){if(!e||Pl(e))return null;let t=Ml(e.replace(/[\u0000-\u001F\u007F\s]+/g,``));for(;t?.protocol===`view-source:`;)t=Ml(t.pathname);return t?pl(t.protocol)?t.protocol:null:``}function Ll(e){return Il(e)===null?e:null}function Rl(e){return Array.isArray(e)?e:[e]}var zl=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function Bl(e){return zl.test(e)}var Vl={meta:[{name:`viewport`,content:`width=device-width,initial-scale=1`},{charset:`utf-8`},{name:`description`,content:`DevTools for Vite Task`}],link:[{rel:`icon`,type:`image/svg+xml`,href:`/favicon.svg`}],style:[],script:[],noscript:[],title:`Vite Task DevTools`,charset:`utf-8`,viewport:`width=device-width,initial-scale=1`,htmlAttrs:{lang:`en`,class:`bg-dots`}},Hl={id:`__nuxt-loader`},Ul={componentName:`NuxtLink`,prefetch:!0,prefetchOn:{visibility:!0}},Wl={noopener:!1},Gl=`#__nuxt`,Kl=36e5,ql=`vite:preloadError`;function Jl(e=`nuxt-app`){return Gc(e,{asyncContext:!1})}var Yl=`__nuxt_plugin`;function Xl(e){let t=0,n={_id:e.id||`nuxt-app`,_scope:Ae(),provide:void 0,versions:{get nuxt(){return`4.7.1`},get vue(){return n.vueApp.version}},payload:Kt({...e.ssrContext?.payload||{},data:Kt({}),state:Gt({}),once:new Set,_errors:Kt({})}),static:{data:{}},runWithContext(e){return n._scope.active&&!je()?n._scope.run(()=>eu(n,e)):eu(n,e)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let e=!1;return()=>{if(!e&&(e=!0,t--,t===0))return n.isHydrating=!1,n.callHook(`app:suspense:resolve`)}},_asyncDataPromises:Object.create(null),_asyncData:Kt(Object.create(null)),_state:Kt({}),_payloadRevivers:{},...e};{let e=window.__NUXT__;if(e)for(let t in e)switch(t){case`data`:case`state`:case`_errors`:Object.assign(n.payload[t],e[t]);break;default:n.payload[t]=e[t]}}n.hooks=Vc(),n.hook=n.hooks.hook;{let e=n.hooks.callHook;n.hooks.callHook=(t,...n)=>Promise.resolve().then(()=>e(t,...n))}n.callHook=n.hooks.callHook,n.provide=(e,t)=>{let r=`$`+e;ru(n,r,t),ru(n.vueApp.config.globalProperties,r,t)},ru(n.vueApp,`$nuxt`,n),ru(n.vueApp.config.globalProperties,`$nuxt`,n);{window.addEventListener(ql,e=>{n.callHook(`app:chunkError`,{error:e.payload}),e.payload?.message?.includes(`Unable to preload CSS`)&&e.preventDefault()}),window.useNuxtApp||=J,n.hooks.hook(`app:created`,()=>{n._appCreated=!0});let e=n.hook(`app:error`,(...e)=>{nl.NUXT_E1005({cause:e.length>1?e:e[0]})});n.hook(`app:mounted`,e)}let r=n.payload.config;return n.provide(`config`,r),n}async function Zl(e,t){if(typeof t==`function`){let{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n==`object`)for(let t in n)e.provide(t,n[t])}}async function Ql(e,t){let n;for(let r of t)try{await Zl(e,r)}catch(t){if(!e.payload.error)throw t;n||=t}if(n)throw e.payload.error||n}function $l(e){if(typeof e==`function`)return e;let t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Yl]:!0,_name:t})}function eu(e,t,n){return Jl(e._id).set(e),e.vueApp.runWithContext(()=>n?t(...n):t())}function tu(e){let t;return $n()&&(t=G()?.appContext.app.$nuxt),t||=Jl(e).tryUse(),t||null}function J(e){let t=tu(e);if(!t)throw nl.NUXT_E1001();return t}function nu(e){return J().$config}function ru(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function iu(e){if(typeof e!=`object`||!e)return!1;let 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 au(e,t,n=`.`,r){if(!iu(t))return au(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(i[t]=Array.isArray(a)&&Array.isArray(i[t])?[...a,...i[t]]:iu(a)&&iu(i[t])?au(a,i[t],(n?`${n}.`:``)+t.toString(),r):a))}return i}function ou(e){return(...t)=>t.reduce((t,n)=>au(t,n,``,e),{})}var su=ou();function cu(e,t){try{return t in e}catch{return!1}}var lu=class extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){let e={message:this.message,statusCode:mu(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=pu(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}};function uu(e){if(typeof e==`string`)return new lu(e);if(du(e))return e;let t=new lu(e.message??e.statusMessage??``,{cause:e.cause||e});if(cu(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=mu(e.statusCode,t.statusCode):e.status&&(t.statusCode=mu(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){let e=t.statusMessage;pu(t.statusMessage)!==e&&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 du(e){return e?.constructor?.__h3_error__===!0}var fu=/[^\u0009\u0020-\u007E]/g;function pu(e=``){return e.replace(fu,``)}function mu(e,t=200){return!e||(typeof e==`string`&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}globalThis.Headers,globalThis.Response;var hu=Symbol(`layout-meta`),gu=Symbol(`route`),_u=`__nuxt_error`,vu=e=>!!e&&typeof e==`object`&&`__nuxt_error`in e,yu=e=>{if(vu(e))return e;typeof e!=`string`&&e?.statusText&&(e.message??=e.statusText);let t=uu(e??{});return Object.defineProperty(t,_u,{value:!0,configurable:!1,writable:!1}),typeof t.status!=`number`&&(Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0})),t};function bu(e){return e instanceof Error&&e.constructor?.__h3_error__===!0}function xu(e,t){let n=yu(e);return n!==e&&!bu(e)&&(n.unhandled=!0),n}var Su=Qc({docsBase:el,reporters:tl}),Cu=e=>e.startsWith(`/`);function wu(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function Tu(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&wu(e.default)}var Y=Object.assign;function Eu(e,t){let n={};for(let r in t){let i=t[r];n[r]=Ou(i)?i.map(e):e(i)}return n}var Du=()=>{},Ou=Array.isArray;function ku(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var Au=Symbol(``),ju=function(e){return e[e.aborted=4]=`aborted`,e[e.cancelled=8]=`cancelled`,e[e.duplicated=16]=`duplicated`,e}({});function Mu(e,t){return Y(Error(),{type:e,[Au]:!0},t)}function Nu(e,t){return e instanceof Error&&Au in e&&(t==null||!!(e.type&t))}var Pu=Symbol(``),Fu=Symbol(``),Iu=Symbol(``),Lu=Symbol(``),Ru=Symbol(``),zu=Symbol(``),Bu=typeof document<`u`,Vu=/#/g,Hu=/&/g,Uu=/\//g,Wu=/=/g,Gu=/\?/g,Ku=/\+/g,qu=/'/g,Ju=/%5B/g,Yu=/%5D/g,Xu=/%5E/g,Zu=/%60/g,Qu=/%7B/g,$u=/%7C/g,ed=/%7D/g,td=/%20/g;function nd(e){return e==null?``:encodeURI(``+e).replace($u,`|`).replace(Ju,`[`).replace(Yu,`]`)}function rd(e){return nd(e).replace(Qu,`{`).replace(ed,`}`).replace(Xu,`^`)}function id(e){return nd(e).replace(Ku,`%2B`).replace(td,`+`).replace(Vu,`%23`).replace(Hu,`%26`).replace(qu,`%27`).replace(Zu,"`").replace(Qu,`{`).replace(ed,`}`).replace(Xu,`^`)}function ad(e){return id(e).replace(Wu,`%3D`)}function od(e){return nd(e).replace(Vu,`%23`).replace(Gu,`%3F`)}function sd(e){return od(e).replace(Uu,`%2F`)}function cd(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var ld=/\/$/,ud=e=>e.replace(ld,``);function dd(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r??=t.slice(0,s),o=t.slice(s,t.length)),r=yd(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:cd(o)}}function fd(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function pd(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function md(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&hd(t.matched[r],n.matched[i])&&gd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function hd(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!_d(e[n],t[n]))return!1;return!0}function _d(e,t){return Ou(e)?vd(e,t):Ou(t)?vd(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function vd(e,t){return Ou(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function yd(e,t){if(Cu(e))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`){if(s===`..`)a>1&&a--;else break}return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var bd={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0};function xd(e){let t={};for(let n in bd)Object.defineProperty(t,n,{get:()=>e.value[n],enumerable:!0});return Kt(t)}function Sd(e){return typeof e==`string`||e&&typeof e==`object`}function Cd(e){return typeof e==`string`||typeof e==`symbol`}function wd(e){let t=z(Iu),n=z(Lu),r=K(()=>{let n=L(e.to);return t.resolve(n)}),i=K(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(hd.bind(null,i));if(o>-1)return o;let s=Ad(e[t-2]);return t>1&&Ad(i)===s&&a[a.length-1].path!==s?a.findIndex(hd.bind(null,e[t-2])):o}),a=K(()=>i.value>-1&&kd(n.params,r.value.params)),o=K(()=>i.value>-1&&i.value===n.matched.length-1&&gd(n.params,r.value.params));function s(n={}){if(Od(n)){n.preventDefault?.();let r=t[L(e.replace)?`replace`:`push`](L(e.to)).catch(Du);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>r),r}return Promise.resolve()}return{route:r,href:K(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function Td(e){return e.length===1?e[0]:e}var Ed=Tr({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:wd,setup(e,{slots:t}){let n=Gt(wd(e)),{options:r}=z(Iu),i=K(()=>({[jd(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[jd(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&Td(t.default(n));return e.custom?r:q(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),Dd=/\b_blank\b/i;function Od(e,t=e.currentTarget){return!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||e.button||Dd.test(t?.getAttribute?.(`target`)||``))}function kd(e,t){for(let n in t){let r=t[n],i=e[n];if(Ou(r)){if(!Ou(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}else if(r!==i)return!1}return!0}function Ad(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var jd=(e,t,n)=>e??t??n;function Md(e){if(!e){if(Bu){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`}return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),ud(e)}var Nd=/^[^#]+#/;function Pd(e,t){return e.replace(Nd,`#`)+t}function Fd(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}function Id(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Fd(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}var Ld=`vue-router:scroll`;function Rd(){try{return Y({},JSON.parse(sessionStorage[Ld]))}catch{return{}}}var zd=Rd();function Bd(){try{sessionStorage[Ld]=JSON.stringify(zd)}catch{}}function Vd(e,t){return(history.state?history.state.position-t:-1)+e}function Hd(e,t=0){history.scrollRestoration===`manual`&&(zd[Vd(e,t)]={left:window.scrollX,top:window.scrollY},Bd())}function Ud(e){let t=Vd(e,0),n=zd[t];return delete zd[t],Bd(),n}function Wd(e,t=!1){for(let n in zd){let r=parseInt(n,10);(r===e||!t&&r>e)&&delete zd[n]}Bd()}function Gd(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(Ku,` `),i=r.indexOf(`=`),a=cd(i<0?r:r.slice(0,i)),o=i<0?null:cd(r.slice(i+1));if(a in t){let e=t[a];Ou(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Kd(e){let t=``;for(let n in e){let r=e[n];n=ad(n),r==null?r!==void 0&&(t+=(t.length?`&`:``)+n):(Ou(r)?r.map(e=>e&&id(e)):[r&&id(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function qd(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=Ou(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Jd(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Yd(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(Mu(4,{from:n,to:t})):e instanceof Error?c(e):Sd(e)?c(Mu(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r?r.instances[i]:void 0,t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Xd(e,t){return e.__vapor?void 0:(e.__vccOpts||e)[t]}function Zd(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(t===`beforeRouteEnter`||o.instances[e]){if(wu(s)){let c=Xd(s,t);c&&a.push(Yd(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=Tu(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=Xd(s,t);return c&&Yd(c,n,r,o,e,i)()}))}}}return a}function Qd(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>hd(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>hd(e,s))||i.push(s))}return[n,r,i]}var $d={name:{type:String,default:`default`},route:Object};function ef(e){let t=z(Ru),n=K(()=>e.route||t.value),r=z(Fu,0),i=K(()=>{let e=L(r),{matched:t}=n.value,i;for(;(i=t[e])&&!i.components;)e++;return e}),a=K(()=>n.value.matched[i.value]);Qn(Fu,K(()=>i.value+1)),Qn(Pu,a),Qn(Ru,n),Qn(Lu,xd(n));let o=new Set;Qn(zu,o);let s=an(),c=bd;return ir(()=>[s.value,a.value,e.name],([e,t,n],[r,i,a])=>{t&&i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards)),!e||!t||i&&hd(t,i)&&r||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),[n,a,s,e=>{if(c!==e&&n.value===e){let t=c;c=e;for(let n of o)n(e,t)}}]}var tf=Tr({name:`RouterView`,inheritAttrs:!1,props:$d,compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let[r,i,a,o,s]=ef(e),{app:c}=G().appContext;return()=>{let s=r.value,l=e.name,u=i.value,d=u&&u.components[l];if(!d)return nf(n.default,{Component:d,route:s});let f=e=>{u.instances[l]=a.value,In(()=>{for(;!e.el&&e.component;)e=e.component.subTree;e.el?.getRootNode()===c._container.getRootNode()&&o(s)})},p=u.props[l],m=q(d,Y({},p?p===!0?s.params:typeof p==`function`?p(s):p:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(u.instances[l]=null)},onVnodeMounted:f,onVnodeUpdated:f,ref:a}));return nf(n.default,{Component:m,route:s})||m}}});function nf(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var rf=tf;function af(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),pd(n,``)}return pd(n,e)+r+i}function of(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=af(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){Hd(n.value)}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),{pauseListeners:c,listen:l,destroy:d}}function sf(e,t,n,r=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length}}function cf(e){let{history:t,location:n}=window,r={value:af(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:`/.`+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){let o=Y({},t.state,sf(i.value.back,e,i.value.forward,!0),n,{position:i.value.position});a(e,o,!0),Wd(o.position,!0),r.value=e}function s(e,n){let o=Y({},i.value,t.state,{forward:e});a(o.current,o,!0),Wd(o.position),Hd(o.current),a(e,Y({},sf(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function lf(e){e=Md(e);let t=cf(e),n=of(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=Y({location:``,base:e,go:r,createHref:Pd.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}var uf={type:0,value:``},df=/[a-zA-Z0-9_]/;function ff(e){if(!e)return[[]];if(e===`/`)return[[uf]];if(!Cu(e))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){if(!l)return;let r=a[a.length-1];if(r?.type===1&&r.repeatable)throw SyntaxError(`Invalid path "${e}"`);if(n===0)a.push({type:0,value:l});else if(n===1||n===2||n===3){if(a.length&&(c===`*`||c===`+`))throw SyntaxError(`Invalid path "${e}"`);a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})}else t(`Invalid state to consume buffer`);l=``}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:df.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`)}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var pf=`[^/]+?`,mf={sensitive:!1,strict:!1,start:!0,end:!0},hf=/[.+*?^${}()[\]/\\|]/g;function gf(e,t){let n=Y({},mf,t),r=[],i=n.start?`^`:``,a=[],o=e.some(e=>e.some(e=>e.type===1&&/\\[1-9k]/.test(e.regexp||``)));for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let s=t[r],c=40+(n.sensitive?.25:0);if(s.type===0)r||(i+=`/`),i+=s.value.replace(hf,`\\$&`),c+=40;else if(s.type===1){let{value:e,repeatable:n,optional:l,regexp:u}=s;a.push({name:e,repeatable:n,optional:l});let d=u||pf;if(d!==pf){c+=10;try{RegExp(`(${d})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${d}): `+t.message)}}let f=n&&d!==`.+`&&d!==`.*`?`((?:${d})(?:/(?:${d}))*)`:`(${d})`,p=t[r+1],m=t[r+2];o||u||n||!m||m.type!==1||m.regexp||p.type!==0||(f=`([^/](?:(?!${p.value.replace(hf,`\\$&`)})[^/])*)`),r||(f=l&&t.length<2?`(?:/${f})`:`/`+f),l&&(f+=`?`),i+=f,c+=20,l&&(c+=-8),n&&(c+=-20),d===`.*`&&(c+=-50)}e.push(c)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let s=new RegExp(i,n.sensitive?``:`i`);function c(e){let t=e.match(s),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function l(t){let n=``,r=!1;for(let i of e){r&&n.endsWith(`/`)||(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(Ou(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=Ou(c)?c.join(`/`):c;if(!l){if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`)}n+=l}}return n||`/`}return{re:s,score:r,keys:a,parse:c,stringify:l}}function _f(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function vf(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=_f(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(yf(r))return 1;if(yf(i))return-1}return i.length-r.length}function yf(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var bf={strict:!1,end:!0,sensitive:!1};function xf(e,t,n){let r=Y(gf(ff(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Sf(e,t){let n=[],r=new Map;t=ku(bf,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=wf(e);s.aliasOf=r&&r.record;let l=ku(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(wf(Y({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&!Cu(u)){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=xf(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!Ef(d)&&o(e.name)),jf(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:Du}function o(e){if(Cd(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name)),e.children.forEach(o),e.alias.forEach(o)}}function s(){return n}function c(e){let t=kf(e,n);n.splice(t,0,e),e.record.name&&!Ef(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw Mu(1,{location:e});s=i.record.name;let n=Cf(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name));a=Y({},n,e.params&&Cf(e.params,i.keys.map(e=>e.name))),Of(i,a,n),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Mu(1,{location:e,currentLocation:t});s=i.record.name,a=Y({},t.params,e.params),Of(i,a,t.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:Df(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function Cf(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function wf(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Tf(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 Tf(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function Ef(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Df(e){return e.reduce((e,t)=>Y(e,t.meta),{})}function Of(e,t,n){for(let r in t)if(t[r]==null){let i=e.keys.find(e=>e.name===r);i&&!i.optional&&r in n?t[r]=n[r]:delete t[r]}}function kf(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;vf(e,t[i])<0?r=i:n=i+1}let i=Af(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function Af(e){let t=e;for(;t=t.parent;)if(jf(t)&&vf(e,t)===0)return t}function jf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Mf(e){let t=e.matcher||Sf(e.routes,e),n=e.parseQuery||Gd,r=e.stringifyQuery||Kd,i=e.history,a=Jd(),o=Jd(),s=Jd(),c=an(bd),l=an(0),u=bd;Bu&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let d=Eu.bind(null,e=>``+e),f=Eu.bind(null,e=>e==null?e:sd(e)),p=Eu.bind(null,cd);function m(e,n){let r,i;Cd(e)?(r=t.getRecordMatcher(e),i=n):i=e;let a=t.addRoute(i,r);return l.value++,()=>{a(),l.value++}}function h(e){let n=t.getRecordMatcher(e);n&&(t.removeRoute(n),l.value++)}function g(){t.clearRoutes(),l.value++}function _(){return t.getRoutes().map(e=>e.record)}function v(e){return!!t.getRecordMatcher(e)}function y(e,a){if(l.value,typeof e==`string`){a||=e.startsWith(`/`)?bd:c.value;let r=dd(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return Y(r,o,{params:p(o.params),redirectedFrom:void 0,href:s})}a=Y({},a||(e.path!=null&&e.path.startsWith(`/`)&&!(`name`in e&&e.name)?bd:c.value));let o;e.path==null?(o=Y({},e,{params:f(e.params)}),a.params=f(a.params)):o=Y({},e,{path:dd(n,e.path,a.path).path});let s=t.resolve(o,a),u=e.hash||``;s.params=d(p(s.params));let m=fd(r,Y({},e,{hash:rd(u),path:s.path})),h=i.createHref(m);return Y({fullPath:m,hash:u,query:r===Kd?qd(e.query):e.query||{}},s,{redirectedFrom:void 0,href:h})}function b(e){return typeof e==`string`?dd(n,e,c.value.path):Y({},e)}function x(e,t){if(u!==e)return Mu(8,{from:t,to:e})}function S(e){return T(e)}function C(e){return S(Y(b(e),{replace:!0}))}function w(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=b(i):{path:i},i.params={}),Y({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function T(e,t){let n=u=y(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,l=w(n,i);if(l)return T(Y(b(l),{state:typeof l==`object`?Y({},a,l.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&md(r,i,n)&&(f=Mu(16,{to:d,from:i}),oe(i,i)),(f?Promise.resolve(f):O(d,i)).catch(e=>Nu(e)?Nu(e,2)?e:ae(e):re(e,d,i)).then(e=>{if(e){if(Nu(e,2))return T(Y({replace:s},b(e.to),{state:typeof e.to==`object`?Y({},a,e.to.state):a,force:o}),t||d)}else e=k(d,i,!0,s,a);return ee(d,i,e),e})}function E(e,t){let n=x(e,t);return n?Promise.reject(n):Promise.resolve()}function D(e){let t=le.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function O(e,t){let n,[r,i,s]=Qd(e,t);n=Zd(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Yd(r,e,t))});let c=E.bind(null,e,t);return n.push(c),de(n).then(()=>{n=[];for(let r of a.list())n.push(Yd(r,e,t));return n.push(c),de(n)}).then(()=>{n=Zd(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Yd(r,e,t))});return n.push(c),de(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter){if(Ou(r.beforeEnter))for(let i of r.beforeEnter)n.push(Yd(i,e,t));else n.push(Yd(r.beforeEnter,e,t))}return n.push(c),de(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Zd(s,`beforeRouteEnter`,e,t,D),n.push(c),de(n))).then(()=>{n=[];for(let r of o.list())n.push(Yd(r,e,t));return n.push(c),de(n)}).catch(e=>Nu(e,8)?e:Promise.reject(e))}function ee(e,t,n){s.list().forEach(r=>D(()=>r(e,t,n)))}function k(e,t,n,r,a){let o=x(e,t);if(o)return o;let s=t===bd,l=Bu&&(s||!n)&&Ud(e.fullPath);n&&(r||s?i.replace(e.fullPath,a):i.push(e.fullPath,a)),c.value=e,oe(e,t,l),ae()}let A;function j(){A||=i.listen((e,t,n)=>{if(!ue.listening)return;let r=y(e),a=w(r,ue.currentRoute.value);if(a){T(Y(a,{replace:!0,force:!0}),r).catch(Du);return}u=r;let o=c.value;Bu&&n.delta&&Hd(o.fullPath,n.delta),O(r,o).catch(e=>Nu(e,12)?e:Nu(e,2)?(T(Y(b(e.to),{force:!0}),r).then(e=>{Nu(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(Du),Promise.reject()):(n.delta&&i.go(-n.delta,!1),re(e,r,o))).then(e=>{e||=k(r,o,!1),e&&(n.delta&&!Nu(e,8)?i.go(-n.delta,!1):n.type===`pop`&&Nu(e,20)&&i.go(-1,!1)),ee(r,o,e)}).catch(Du)})}let te=Jd(),ne=Jd(),M;function re(e,t,n){ae(e);let r=ne.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function ie(){return M&&c.value!==bd?Promise.resolve():new Promise((e,t)=>{te.add([e,t])})}function ae(e){return M||(M=!e,j(),te.list().forEach(([t,n])=>e?n(e):t()),te.reset()),e}function oe(t,n,r){let{scrollBehavior:i}=e;return!Bu||!i?Promise.resolve():In().then(()=>i(t,n,r||null)).then(e=>t===c.value&&e&&Id(e)).catch(e=>t===c.value&&re(e,t,n))}let se=e=>i.go(e),ce,le=new Set,ue={currentRoute:c,listening:!0,addRoute:m,removeRoute:h,clearRoutes:g,hasRoute:v,getRoutes:_,resolve:y,options:e,push:S,replace:C,go:se,back:()=>se(-1),forward:()=>se(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:ne.add,isReady:ie,install(e){e.vapor||(e.component(`RouterLink`,Ed),e.component(`RouterView`,rf)),e.config.globalProperties.$router=ue,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>L(c)}),Bu&&!ce&&c.value===bd&&(ce=!0,S(i.location).catch(e=>{})),e.provide(Iu,ue),e.provide(Lu,xd(c)),e.provide(Ru,c);let t=e.unmount;le.add(e),e.unmount=function(){le.delete(e),le.size<1&&(u=bd,A&&A(),A=null,c.value=bd,ce=!1,M=!1),t()}}};function de(e){return e.reduce((e,t)=>e.then(()=>D(t)),Promise.resolve())}return ue}var Nf=(e,t)=>({default:()=>e?q(gs,e===!0?{}:e,t):t.default?.()});function Pf(e){let t=e.meta.key??e.path;return typeof t==`function`?t(e):t}function Ff(e,t){return e===t||t===bd?!1:Pf(e)!==Pf(t)||!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default)}function If(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Rl(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Rl(n.onBeforeLeave):void 0});return su(...t)}function Lf(e){e[`~transitionPromise`]||=new Promise(t=>{e[`~transitionFinish`]=t})}function Rf(e){e[`~transitionFinish`]?.(),delete e[`~transitionFinish`],delete e[`~transitionPromise`]}var zf={scrollBehavior(e,t,n){let r=J(),i=Gf(),a=i.options?.scrollBehaviorType??`auto`;return t===bd&&!n&&!e.hash?!1:e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?n??{left:0,top:0}:e.hash?{el:e.hash,top:Bf(e.hash),behavior:a}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===bd?Vf(e,t,n,a):new Promise(o=>{let s=()=>{requestAnimationFrame(()=>{i.currentRoute.value.fullPath===e.fullPath?o(Vf(e,t,n,a)):o(!1)})};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(s):s()})})}};function Bf(e){let t=document.getElementById(e.slice(1));return t?(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0):0}function Vf(e,t,n,r){return n||(e.hash?{el:e.hash,top:Bf(e.hash),behavior:Ff(e,t)?r:`instant`}:{left:0,top:0})}var Hf={hashMode:!1,scrollBehaviorType:`auto`,sensitive:!1,...zf},Uf=e=>(Hf.parseQuery||Gd)(e[0]===`?`?e.slice(1):e),Wf=e=>(Hf.stringifyQuery||Kd)(e),Gf=(()=>J()?.$router);function Kf(e){let t=e;return t.parent??t.subs?.sub}function qf(e){let t=e.scope,n=je();for(;n;){if(n===t)return!0;n=Kf(n)}return!1}var Jf=(()=>{if($n()){let e=G();if(!e||qf(e))return z(gu,J()._route)}return J()._route});function Yf(e){return e}var Xf=()=>{try{if(J()._processingMiddleware)return!0}catch{return!1}return!1};function Zf(e,t){e||=`/`;let n=typeof e==`string`||`path`in e,r=typeof e==`string`?e:`path`in e?Qf(e):Gf().resolve(e).href;if(t?.open){let e=Il(r);if(e!==null)throw Su.NUXT_E2002({toPath:r,protocol:e});let i=n&&!Fl(r)&&!r.startsWith(`#`)?xl(nu().app.baseURL,r):r,{target:a=`_blank`,windowFeatures:o={}}=t.open,s=[];for(let[e,t]of Object.entries(o))t!==void 0&&s.push(`${e.toLowerCase()}=${t}`);return Wl.noopener&&o.noopener===void 0&&s.push(`noopener=true`),open(i,a,s.join(`, `)),Promise.resolve()}let i=Fl(r),a=t?.external||i;if(a){if(!t?.external)throw Su.NUXT_E2001({toPath:r});let e=Il(r);if(e!==null)throw Su.NUXT_E2002({toPath:r,protocol:e})}let o=Xf();if(!a&&o){if(t?.replace){if(typeof e==`string`){let{pathname:t,search:n,hash:r}=Tl(e);return{path:t,...n&&{query:Uf(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}let s=Gf(),c=J();if(a)return c._cookieWriters?.forEach(e=>e()),window.addEventListener(`pagehide`,e=>{e.persisted||c._scope.stop()},{once:!0}),t?.replace?location.replace(r):location.href=r,o?c.isHydrating?new Promise(()=>{}):!1:Promise.resolve();let l=typeof e==`string`?$f(e):e;return t?.replace?s.replace(l):s.push(l)}function Qf(e){let t=Tl(e.path||``),n=Wf({...t.search&&Uf(t.search),...e.query});return t.search=n&&`?`+n,Dl(t)+(e.hash||``)}function $f(e){let t=Tl(e);return op(al(t.pathname))+t.search+t.hash}var ep=/%7C/g,tp=/%5B/g,np=/%5D/g,rp=/%252F/gi,ip=/#/g,ap=/\?/g;function op(e){return encodeURI(e).replace(ep,`|`).replace(tp,`[`).replace(np,`]`).replace(ip,`%23`).replace(ap,`%3F`).replace(rp,`%2F`)}var sp=()=>hn(J().payload,`error`),cp=e=>{let t=yu(e);try{let e=sp();J().hooks.callHook(`app:error`,t),e.value||=t}catch{throw t}return t},lp=(e,t)=>{let n=e.callHook(`app:error`,xu(t));return nl.NUXT_E1012({userAgent:navigator.userAgent,cause:t}),n},up=(e,t,n,r)=>{let i=e.vueApp.config.errorHandler;if(i&&!i.__nuxt_default)try{i(t,n,r)}catch(e){console.error("[nuxt] Error in `app.config.errorHandler`",e)}},dp=async(e,t)=>{Bl(navigator.userAgent)?await lp(e,t):await e.runWithContext(()=>cp(xu(t)))},fp=async(e={})=>{let t=J(),n=sp();t.callHook(`app:error:cleared`,e),e.redirect&&await Gf().replace(e.redirect),n.value=void 0};function pp(){return document.visibilityState===`visible`?new Promise(e=>setTimeout(e)):Promise.resolve()}function mp(){return document.visibilityState===`visible`?new Promise(e=>{let t=setTimeout(e,100);requestAnimationFrame(()=>{clearTimeout(t),e(pp())})}):Promise.resolve()}function hp(){return window.performance.getEntriesByType(`paint`).length?pp():mp()}function gp(e,t){return t&&typeof e==`function`&&(e.key=t),e}var _p=/</g,vp=/%\w+(?:\.\w+)?/g,yp=/%(?![0-9a-f]{2})/i,bp=`%separator`;function xp(e,t,n){let r=t.indexOf(`.`),i=t===`s`||t===`pageTitle`?e.pageTitle:r===-1?e[t]:e[t.slice(0,r)]?.[t.slice(r+1)];if(i===void 0)return;let a=String(typeof i==`number`?i:i||``);return n?JSON.stringify(a).slice(1,-1).replace(_p,`\\u003C`):a}function Sp(e,t,n,r){if(typeof e!=`string`||!e.includes(`%`))return e;let i=e;if(!yp.test(e))try{i=decodeURI(e)}catch{}let a=i===e?void 0:i.match(vp);if(a===null)return e;let o=a!==void 0,s=e.replace(vp,e=>(o=!0,e===bp||a&&!a.includes(e)?e:xp(t,e.slice(1),r)??e));if(!o)return e;let c=s.trim();return e.includes(bp)?c.split(bp).map(e=>e.trim()).filter(Boolean).join(n?` ${n} `:` `):c}var Cp=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,wp=e=>e.includes(`:key`)?e:e.split(`:`).join(`:key:`),Tp=gp({key:`aliasSorting`,hooks:{"tags:resolve":e=>{let t=!1;for(let n of e.tags){let r=n.tagPriority;if(!r)continue;let i=String(r);if(i.startsWith(`before:`)){let r=wp(i.slice(7)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p-1,t=!0)}else if(i.startsWith(`after:`)){let r=wp(i.slice(6)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Cp))}}}),Ep=gp({key:`deprecations`,hooks:{"entries:normalize":({tags:e})=>{for(let t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),`body`in t.props&&(t.props.body&&(t.tagPosition=`bodyClose`),delete t.props.body),t.props.renderPriority!=null&&(t.tagPriority=t.props.renderPriority,delete t.props.renderPriority)}}});function Dp(e){return typeof e==`object`&&!!e&&typeof e.then==`function`}var Op=[],kp=0,Ap=0;function jp(e){let t=kp,n=Ap;Ap=t;try{return e()}finally{let e=kp>Ap?kp:Ap;for(let n=t;n<e;n++)Op[n]=void 0;kp=t,Ap=n}}function Mp(e){return jp(()=>Np(e))}function Np(e){if(typeof e!=`object`||!e)return e;if(typeof e.then==`function`)return Promise.resolve(e).then(Mp);if(Array.isArray(e)){let t=kp,n=!1;for(let t=0;t<e.length;t++){let r=e[t],i=r&&typeof r==`object`?Np(r):r;Op[kp++]=i,!n&&Dp(i)&&(n=!0)}let r=kp;return r>Ap&&(Ap=r),kp=t,n?Promise.all(Op.slice(t,r)):e}if(e.constructor===Object){let t=kp,n=!1;for(let t in e){if(!Object.hasOwn(e,t))continue;let r=e[t],i=r&&typeof r==`object`?Np(r):r;Op[kp++]=t,Op[kp++]=i,!n&&Dp(i)&&(n=!0)}let r=kp;if(r>Ap&&(Ap=r),kp=t,!n)return e;let i=[],a=[];for(let e=t;e<r;e+=2)i.push(Op[e]),a.push(Op[e+1]);return Promise.all(a).then(e=>Object.fromEntries(i.map((t,n)=>[t,e[n]])))}return e}var Pp=gp(e=>{let t=new WeakMap;return{key:`promises`,hooks:{"entries:resolve":n=>{jp(()=>{for(let r=n.entries.length-1;r>=0;r--){let i=n.entries[r],a=i.input;if(t.get(i)===a){n.entries.splice(r,1);continue}let o=Np(a);Dp(o)?(t.set(i,a),n.entries.splice(r,1),Promise.resolve(o).then(n=>{t.get(i)===a&&(t.delete(i),i.input=n,delete i._tags,e.invalidate?.())},()=>{t.get(i)===a&&t.delete(i)})):t.delete(i)}})}}}},`promises`),Fp={meta:`content`,link:`href`,htmlAttrs:`lang`},Ip=[`innerHTML`,`textContent`],Lp=e=>e.tag===`script`&&String(e.props.type).endsWith(`json`);function Rp(e){return e.tag===`meta`?!e.props[`http-equiv`]&&String(e.props.name).toLowerCase()!==`referrer`:e.tag===`title`||e.tag===`titleTemplate`||e.tag===`htmlAttrs`||Lp(e)}var zp=gp(e=>({key:`template-params`,hooks:{"tags:resolve":({tagMap:t,tags:n})=>{let r=t.get(`templateParams`)?.props||{},i=r.separator||`|`;delete r.separator;let a=!r.pageTitle&&e._titleSafe;r.pageTitle=Sp(r.pageTitle||e._title||``,r,i);let o=r;a&&(o={...r},delete o.pageTitle);for(let e of n){if(e.processTemplateParams===!1)continue;let t=Fp[e.tag];if(t&&typeof e.props[t]==`string`){if(e.props[t].includes(`%`)){let n=a&&!Rp(e)?o:r;e.props[t]=Sp(e.props[t],n,i)}}else if(e.processTemplateParams||e.tag===`titleTemplate`||e.tag===`title`){let t;for(let n of Ip){let s=e[n];typeof s==`string`&&s.includes(`%`)&&(t??=a&&!Rp(e)?o:r,e[n]=Sp(s,t,i,Lp(e)))}}}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{let n=t.get(`title`);typeof n?.textContent==`string`&&n.processTemplateParams!==!1&&n.textContent.includes(`%`)&&(n.textContent=Sp(n.textContent,e._templateParams,e._separator))}}}),`template-params`),Bp=new Set([`link`,`style`,`script`,`noscript`]),Vp=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),Hp=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),Up=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),Wp=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),Gp=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),Kp=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),qp=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),Jp={critical:-8,high:-1,low:2},Yp=e=>typeof e==`number`?Number.isFinite(e):e;function Xp(e){return e.endsWith(`json`)||e===`importmap`||e===`speculationrules`}function Zp(e){return e===`__proto__`||e===`constructor`||e===`prototype`}var Qp=e=>!e||typeof e!=`object`&&typeof e!=`function`;function $p(e,t,n,r=!t||!!t._static){if(n===`_resolver`)return e;typeof e==`function`&&n!==`titleTemplate`&&!n?.startsWith(`on`)&&(e=e());let i=t?t(n,e):e;if(!i||typeof i!=`object`)return i;if(Array.isArray(i)){let e;for(let n=0;n<i.length;n++){let a=i[n],o=r&&Qp(a)?a:$p(a,t,void 0,r);!e&&o!==a&&(e=i.slice(0,n)),e&&(e[n]=o)}return e||i}if(i.constructor===Object){let e;for(let n in i){let a=Zp(n),o=a?void 0:i[n],s=a?void 0:r&&Qp(o)?o:$p(o,t,n,r);if(!e&&(a||s!==o)){e={};for(let t in i){if(t===n)break;e[t]=i[t]}}e&&!a&&(e[n]=s)}return e||i}return i}var em=/[\s"'<>/=\x00-\x1F\x7F]/,tm=/[A-Z]/g,nm=/[^a-z0-9_:.@-]/,rm=/[\t\n\f\r ]+/;function im(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(typeof e==`string`){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(rm).forEach(e=>e&&r.add(e))}else if(Array.isArray(e))e.forEach(i);else if(e&&typeof e==`object`)for(let t in e){let a=e[t];a!==`false`&&(a||n&&a===0)&&(n?r.set(t.trim(),String(a)):i(t))}};return i(n&&typeof t==`string`?t.split(`;`):t),r}function am(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props={...t},e;let n=Hp.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(Zp(r))continue;let i=r.startsWith(`data-`),a=Gp.has(r),o=r;if(n&&!a&&(!r||nm.test(r))&&(i||(o=r.replace(tm,e=>e.toLowerCase())),!o||em.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=im(r,s);else if(a){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;Xp(n)&&(e.props.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=i||e.tag===`meta`&&o===`content`||e.tag===`script`&&typeof s==`string`&&(o===`type`||o===`language`);e.props[o]=t===`true`||t===``?!n||t:!s&&i&&t===`false`?`false`:s}}return e}function om(e,t){let n=t.length;if(!n)return $p(e);let r=n===1?t[0]:(e,r)=>{for(let i=0;i<n;i++)r=t[i](e,r);return r};return $p(r(void 0,e),r,void 0,t.every(e=>e._static))}function sm(e){let t={...e};return t.class instanceof Set&&(t.class=new Set(t.class)),t.style instanceof Map&&(t.style=new Map(t.style)),t}function cm(e,t,n){if(typeof n!=`object`&&t!==`templateParams`){e.push({tag:t,props:{},[t===`script`||t===`noscript`||t===`style`?`innerHTML`:`textContent`]:n});return}let r=am({tag:t,props:{}},typeof n==`object`?n:{textContent:n});if(r.key&&Bp.has(r.tag)&&(r.props[`data-hid`]=r._h=r.key),Array.isArray(r.props.content))for(let t of r.props.content){let n=sm(r.props);n.content=t,e.push({...r,props:n})}else e.push(r)}function lm(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=om(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)cm(n,t,e);else cm(n,t,r)}}return n}var um=[`twitter`,`fediverse`],dm=[`og`,`book`,`article`,`profile`,`fb`,`payment`],fm=[`ogImage`,`ogVideo`,`ogAudio`,`twitterImage`],pm=[`contentType`,`defaultStyle`,`xUaCompatible`,`refresh`,`contentSecurityPolicy`],mm=/([A-Z])/g,hm=/[-A-Z]/,gm=/^(?:og|twitter)/,_m=/^msapplication(?:Config|TileColor|TileImage)$/,vm=/^og(?:Audio|Image|Video)Url$/,ym=/^(?:article(?:Expiration|Modified|Published)Time|bookReleaseDate|fbAppId|og(?:SiteName|(?:Audio|Image|Video)SecureUrl)|payment(?:ExpiresAt|SuccessUrl)|profile(?:First|Last)Name)$/,bm={appleItunesApp:{entrySeparator:`, `,resolve:({key:e,value:t})=>`${Sm(e)}=${t}`},robots:{entrySeparator:`, `,resolve:({key:e,value:t})=>typeof t==`boolean`?Sm(e):`${Sm(e)}:${t}`},contentSecurityPolicy:{entrySeparator:`; `,resolve:({key:e,value:t})=>`${Sm(e)} ${t}`}},xm=new Map;function Sm(e){let t=xm.get(e);if(t!==void 0)return t;let n=e.search(hm),r;if(n===-1)r=e.toLowerCase();else{let t=e.slice(0,n).toLowerCase(),i=um.includes(t)||dm.includes(t)?`:$1`:`-$1`;r=e.replace(mm,i).toLowerCase()}return xm.size<256&&xm.set(e,r),r}function Cm(e,t){if(_m.test(e))return`msapplication-${e.slice(13)}`;if(vm.test(e))return t.slice(0,-4);if(ym.test(e)){let e=t.lastIndexOf(`:`);return`${t.slice(0,e)}_${t.slice(e+1)}`}return t}function wm(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>String(t)!==`false`&&e))}function Tm(e){if(e.index!==!1&&e.follow!==!1)return e;let t={...e};return t.index===!1&&(delete t.index,t.noindex===void 0&&(t.noindex=!0)),t.follow===!1&&(delete t.follow,t.nofollow===void 0&&(t.nofollow=!0)),t}function Em(e){return Array.isArray(e)?e.map(Em):!e||typeof e!=`object`?e:Object.fromEntries(Object.entries(e).map(([e,t])=>[Sm(e),Em(t)]))}function Dm(e,t={}){let{entrySeparator:n=``,keyValueSeparator:r=``,resolve:i}=t;return Object.entries(e).map(([e,n])=>{if(i){let t=i({key:e,value:n});if(t!==void 0)return t}let a=typeof n==`object`?Dm(n,t):typeof n==`number`?n.toString():n;return`${e}${r}${a}`}).join(n)}function Om(e,t){let n=wm(t),r=Sm(e),i=Am(r);return qp.has(r)?Mm(Object.fromEntries(Object.entries(n).map(([t,n])=>[`${e}${t===`url`?``:`${t[0].toUpperCase()}${t.slice(1)}`}`,n]))||{}).sort((e,t)=>(e[i]?.length||0)-(t[i]?.length||0)):[{[i]:r,...n}]}function km(e,t){if(pm.includes(e))return`http-equiv`;t??=Sm(e);let n=t.indexOf(`:`);return n===-1?`name`:dm.includes(t.slice(0,n))?`property`:`name`}function Am(e){return km(e)}function jm(e,t){return t===`refresh`?`${e.seconds};url=${e.url}`:Dm(Em(e),{keyValueSeparator:`=`,entrySeparator:`, `,resolve:({value:e,key:t})=>e===null?``:typeof e==`boolean`?t:void 0,...bm[t]})}function Mm(e){let t=[],n={};for(let r in e){if(!Object.hasOwn(e,r))continue;let i=e[r];if(Array.isArray(i)){if(r===`themeColor`){i.forEach(e=>{typeof e==`object`&&e&&t.push({name:`theme-color`,...e})});continue}for(let e of i)if(typeof e==`object`&&e){let n=[],i=[];for(let t in e){if(!Object.hasOwn(e,t))continue;let a=e[t],o=Mm({[`${r}${t===`url`?``:`:${t}`}`]:a});(t===`url`?n:i).push(...o)}t.push(...n,...i)}else t.push(...typeof e==`string`?Mm({[r]:e}):Om(r,e))}else if(typeof i==`object`&&i){if(fm.includes(r)){let e=r.startsWith(`twitter`)?`twitter`:`og`,n=r.replace(gm,``).toLowerCase(),a=e===`twitter`?`name`:`property`;i.url&&t.push({[a]:`${e}:${n}`,content:i.url}),i.secureUrl&&t.push({[a]:`${e}:${n}:secure_url`,content:i.secureUrl});for(let r in i)r!==`url`&&r!==`secureUrl`&&Object.hasOwn(i,r)&&t.push({[a]:`${e}:${n}:${r}`,content:i[r]})}else qp.has(Sm(r))?t.push(...Om(r,i)):n[r]=wm(r===`robots`?Tm(i):i)}else n[r]=i}for(let e in n){if(!Object.hasOwn(n,e))continue;let r=n[e];if(e===`charset`){t.push({charset:r===null?`_null`:r});continue}let i=Sm(e),a=km(e,i),o=Cm(e,i),s=r===null?null:typeof r==`object`?jm(r,e):typeof r==`number`?r.toString():r;t.push({[a]:o,content:s})}return t}var Nm=Object.prototype.hasOwnProperty;function Pm(e,t){return Nm.call(e,t)}var Fm=gp({key:`flatMeta`,hooks:{"entries:normalize":e=>{let t=e.tags,n,r;for(let e=0;e<t.length;e++){let i=t[e];if(i.tag!==`_flatMeta`)n?.push(i);else{n||(n=t.slice(0,e),r=[]);for(let e of Mm(i.props))r.push({...i,tag:`meta`,props:e})}}if(n){for(let e=0;e<r.length;e++)n.push(r[e]);e.tags=n}}}}),Im=/^(?:viewport|description|keywords|robots)$/,Lm=/^(?:(?:theme-color|google-site-verification|author|og:locale:alternate|(?:article|book):(?:author|tag))$|(?:og:(?:image|video|audio)|twitter:image)(?::|$))/;function Rm(e){let t=e.indexOf(`:`);return t!==-1&&Lm.test(e.slice(t+1))}function zm(e,t){let{props:n,tag:r,key:i}=e;if(Wp.has(r))return r;if(r===`link`){if(n.rel===`canonical`)return`canonical`;if(n.rel===`alternate`&&n.hreflang)return`alternate:${n.hreflang}`}if(n.charset)return`charset`;if(r===`meta`){let e=n.name===void 0?n.property===void 0?n[`http-equiv`]:n.property:n.name;if(e!==void 0)return i&&(typeof e!=`string`||!e.includes(`:`))&&!Im.test(e)?`meta:${e}:key:${i}`:`meta:${e}`}return i?`${r}:key:${i}`:n.id?`${r}:id:${n.id}`:r===`link`&&n.rel&&n.href?`link:${n.rel}:${n.href}`:!t&&Vp.has(r)&&(e.textContent||e.innerHTML)?`${r}:content:${e.textContent||e.innerHTML}`:void 0}function Bm(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return String(t);let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function Vm(e,t,n){let r=e.hooks?._hooks?.[t];if(r?.length){if(e.hooks?.callHook)return e.hooks.callHook(t,n);for(let e of[...r])e(n)}}var Hm=/</g,Um=/<\/script/g,Wm=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Gm=()=>100;function Km(e){for(let t in e)return!1;return!0}var qm=/^tags:|:render/;function Jm(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function Ym(e){for(let t in e)if(e[t]?.length&&qm.test(t))return!0;return!1}function Xm(e,t=0){for(let n=t;n<e.length;n++){let t=e[n];e[n]={...t,props:sm(t.props)}}}function Zm(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(Wm)}function Qm(e,t){let n=!1;for(let r of e.tags.sort(Wm)){let i=r._d||t?.(r)||Bm(r);if(!i)continue;let a=e.tagMap.get(i);if(!a)e.tagMap.set(i,r);else if((r.tagDuplicateStrategy||(Kp.has(r.tag)?`merge`:null)||(r.key&&r.key===a.key?`merge`:null))===`merge`){let t={...a.props};for(let e in r.props)t[e]=e===`style`?new Map([...a.props.style||[],...r.props[e]]):e===`class`?new Set([...a.props.class||[],...r.props[e]]):r.props[e];e.tagMap.set(i,{...r,props:t})}else r._p>>10==a._p>>10&&r.tag===`meta`&&Rm(i)?(e.tagMap.set(i,Object.assign([...Array.isArray(a)?a:[a],r],r)),n=!0):(r._w===a._w?r._p>a._p:r._w<a._w)&&e.tagMap.set(i,r)}return n}function $m(e,t,n=!1){let r=e.tagMap.get(`title`),i=e.tagMap.get(`titleTemplate`);if(t._title=r?.textContent,t._titleSafe=r?._safe,!i)return;let a=i.textContent;if(t._titleTemplate=a,!a)return;let o=typeof a==`function`?a(r?.textContent):a;typeof o==`string`&&!t.plugins.has(`template-params`)&&(o=o.replace(`%s`,r?.textContent||``)),r?o===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...r,textContent:o}):e.tagMap.set(`titleTemplate`,{...i,tag:`title`,textContent:o})}function eh(e,t=!1){let n=0;for(let r of e){let{innerHTML:i,tag:a,props:o}=r;if(Up.has(a)&&(!Km(o)||Yp(i)||Yp(r.textContent))&&(a!==`meta`||Yp(o.content)||o[`http-equiv`]||o.charset)){if(a===`script`&&(i||r.textContent)){let e=Xp(String(o.type)),n=t=>e?(typeof t==`string`?t:JSON.stringify(t)).replace(Hm,`\\u003C`):typeof t==`string`?t.replace(Um,`<\\/script`):t;r={...r},i&&(r.innerHTML=n(i)),r.textContent&&(r.textContent=n(r.textContent)),(r._d||!t)&&(r._d=zm(r))}e[n++]=r}}return e.length=n,e}function th(e,t,n=!1){let r=t?.tagWeight??e.resolvedOptions._tagWeight??Gm,i={tagMap:new Map,tags:[]},a=e.hooks?._hooks||{};Jm(e,a);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let o;e._h&&(o=[...e.entries.values()],Vm(e,`entries:resolve`,{entries:o,...i})),Jm(e,a);let s=e.ssr&&!e._stream&&!e._r&&Ym(a);s&&(e._r=!0,i.tags.length&&Xm(i.tags));for(let t of o||e.entries.values()){let n=t._tags,o=!1;if(!n&&(n=e.resolvedOptions._precomputed?.(t,r,a),!n)){if(n=lm(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!Km(t.options))for(let e of n)Object.assign(e,t.options);if(a[`entries:normalize`]?.length){let r={tags:n,entry:t};Vm(e,`entries:normalize`,r),n=r.tags}let i=e.resolvedOptions._contentKey;for(let e=0;e<n.length;e++){let a=n[e];a._w=r(a),a._p=(t._i<<10)+e,a._d=zm(a,!!i),!a._d&&!(i&&(a.textContent||a.innerHTML))&&(a._h=Bm(a))}s?o=!0:t._tags=n}let c=i.tags.length;i.tags.push(...n),s&&!o&&Xm(i.tags,c)}!s&&Ym(a)&&Xm(i.tags);let c=Qm(i,e.resolvedOptions._contentKey?.());return $m(i,e,!1),Zm(i,c),Vm(e,`tags:beforeResolve`,i),Vm(e,`tags:resolve`,i),Vm(e,`tags:afterResolve`,i),eh(i.tags,e.ssr)}var nh=`usehead`;function rh(){let e=$n()&&z(`usehead`);if(e)return e;throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function ih(e,t){e.config.globalProperties.$unhead=e.config.globalProperties.$head=t,e.provide(nh,t)}function ah(e){return t=>ih(t,e)}var oh=(e,t)=>L(t);function sh(e,t={}){let n=t.head||rh();if(n.ssr)return n.push(e||{},t);let r=je();if(r&&!r.active)return{patch(){},dispose(){},_i:-1};let i=rn(!1);if(t.onRendered&&r){let e=t.onRendered;t={...t,onRendered:t=>r.run(()=>e(t))}}let a;return nr(()=>{let r=i.value?{}:$p(e,oh);a?a.patch(r):a=n.push(r,t)}),G()?(ui(()=>{a.dispose()}),$r(()=>{i.value=!0}),Qr(()=>{i.value=!1})):r&&Me(()=>a.dispose()),a}function ch(e){if(e._flatMeta)return e;let t={};for(let n in e)Pm(e,n)&&n!==`title`&&n!==`titleTemplate`&&(t[n]=e[n]);return{title:e.title,titleTemplate:e.titleTemplate,_flatMeta:t}}function lh(e={},t={}){(t.head||rh()).use(Fm);let n=sh(ch(e),t),r=n.patch;return n.__patched||=(n.patch=e=>r(ch(e)),!0),n}function uh(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function dh(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>uh(i,e),push(e,t){let{head:a,onRendered:o,_index:s,...c}=t||{},l=s??i._entryCount++,u={_i:l,input:e,options:c};return r.set(l,u),{_i:l,dispose(){r.delete(l)},patch(e){n?(u.input=e,delete u._tags):u._pending=e,r.has(l)||r.set(l,u)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var fh={};function ph(e){return e[`~head`]||={paused:!0}}var mh=$l({name:`nuxt:head`,enforce:`pre`,setup(e){let t=ph(e),n=()=>{t.paused=!1,t.render?.()};e.hooks.hook(`page:start`,()=>{t.paused=!0}),e.hooks.hook(`page:finish`,()=>{e.isHydrating||n()}),e.hooks.hook(`app:error`,n),e.hooks.hook(`app:suspense:resolve`,n),e.hooks.hookOnce(`vue:setup`,()=>{t.rootSetup=!0,t.pushAppComponentHead?.()}),t.head||Object.defineProperty(e.vueApp._context.provides,nh,{configurable:!0,enumerable:!0,get:()=>fh.create?.(e),set(e){Object.defineProperty(this,nh,{configurable:!0,enumerable:!0,writable:!0,value:e})}})}}),hh=/(:\w+)\([^)]+\)/g,gh=/(:\w+)[?+*]/g,_h=/:\w+/g,vh=(e,t)=>t.path.replace(hh,`$1`).replace(gh,`$1`).replace(_h,t=>e.params[t.slice(1)]?.toString()||``),yh=(e,t)=>{let n=e.route.matched.find(t=>t.components?.default===e.Component.type),r=t??n?.meta.key??(n&&vh(e.route,n));return typeof r==`function`?r(e.route):r},bh=(e,t)=>({default:()=>e?q(Xr,e===!0?{}:e,t):t}),xh=Qc({docsBase:el,reporters:tl}),Sh=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,Ch=()=>Sh().app,wh=()=>Ch().buildAssetsDir,Th=(...e)=>Sl(Eh(),wh(),...e),Eh=(...e)=>{let t=Ch(),n=t.cdnURL||t.baseURL;return e.length?Sl(n,...e):n};globalThis.__buildAssetsURL=Th,globalThis.__publicAssetsURL=Eh;var Dh=(()=>{let e={prerender:!0},t={prerender:!1};return(n,r)=>{let i=[];r.charCodeAt(r.length-1)===47&&(r=r.slice(0,-1)),(r===``||r===`/200.html`||r===`/404.html`||r.charCodeAt(r.length-1)===47&&(r===`/`||r===`/200.html/`||r===`/404.html/`))&&i.push({data:e});let a=r.split(`/`);return a.length>1&&a[a.length-1]===``&&(a.pop(),r=r.slice(0,-1)),a.length,i.push({data:t,params:{_:r.slice(1)}}),i.reverse()}})(),Oh=function(e){if(!e.includes(`%`))return e;let t=e.indexOf(`?`),n=t===-1?e:e.slice(0,t);try{return t===-1?decodeURI(n):decodeURI(n)+e.slice(t)}catch{return e}},kh=function(e){let t=e.indexOf(`?`),n=t===-1?e:e.slice(0,t);if(!/(?:^|\/)(?:\.|%2e)/i.test(n))return e;let r=n.split(`/`),i=[],a=+!!n.startsWith(`/`);for(let[e,t]of r.entries()){let n=/^(?:\.|%2e)(\.|%2e)?$/i.exec(t);n?(n[1]&&i.length>a&&i.pop(),e===r.length-1&&i.push(``)):i.push(t)}let o=i.join(`/`);return t===-1?o:o+e.slice(t)},Ah=function(e){return e.replace(/[A-Z]+|[^\0-\x7F]/g,e=>{if(e.charCodeAt(0)<128)return e.toLowerCase();let t=e.toUpperCase();if(t.length!==1||t.charCodeAt(0)<128)return e;let n=t.toLowerCase();return n.length===1&&n.toUpperCase()===t?n:t})},jh=function(e,t){let n=e(t);if(typeof t!=`string`)return n;let r=e=>e.replace(/^[^?]*/,e=>e.replace(/\/{2,}/g,`/`)),i=t.replace(/^[^?]*/,e=>e.replace(/%2f/gi,`/`));for(let a of new Set([r(t),i,r(i)]))if(a!==t)for(let t of e(a))n.includes(t)||n.push(t);return n},Mh=(e,t)=>{if(typeof e!=`string`)return e;let n=Oh(kh(e));return t?Ah(n):n},Nh=e=>su({},...jh(e=>Dh(``,Mh(e,!0)).map(e=>e.data),e).reverse()),Ph=`modulepreload`,Fh=function(e,t){return new URL(e,t).href},Ih={},Lh={},Rh=function(e){return e.pathname.endsWith(`.css`)},zh=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw delete e[t],n});return e[t]=i,i},Bh=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=Fh(t,n);let r=s(t),i=Rh(r);return zh(Ih,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}let t=i?e.styles:e.all,n=i?Lh[r.href]:void 0;if(!n&&t.has(r.href))return;let o=document.createElement(`link`);if(o.rel=i?`stylesheet`:Ph,i||(o.as=`script`),o.crossOrigin=``,o.href=r.href,a&&o.setAttribute(`nonce`,a),n&&delete Lh[r.href],n?.isConnected?n.replaceWith(o):document.head.appendChild(o),i)return new Promise((e,t)=>{let n=i=>{o.removeEventListener(`load`,n),o.removeEventListener(`error`,n),i.type===`error`?(Lh[r.href]=o,t(Error(`Unable to preload CSS for ${r}`))):e(i)};o.addEventListener(`load`,n),o.addEventListener(`error`,n)})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function Vh(e){return Nh(e)}var Hh;function Uh(){let e;return e=fetch(Th(`builds/meta/${nu().app.buildId}.json`),{priority:`low`,keepalive:!0}).then(e=>{if(!e.ok){let t=Error(`[nuxt] Could not fetch app manifest: ${e.status} ${e.statusText}`);throw t.status=e.status,t}return e.json()}).then(e=>{if(!e||typeof e!=`object`||!Array.isArray(e.prerendered))throw xh.NUXT_E5004();return e}),Hh=e,e.catch(t=>{Hh===e&&(Hh=void 0),xh.NUXT_E5002({cause:t})}),e}function Wh(){return Hh||Uh()}function Gh(e){let t=typeof e==`string`?e:e.path;try{return Vh(t)}catch(e){return xh.NUXT_E5003({path:t,cause:e}),{}}}var Kh=[{name:`index`,path:`/`,component:()=>Bh(()=>import(`./DqYxEvp1.js`),__vite__mapDeps([0,1,2]),import.meta.url)}],qh=[Yf(async e=>{if(!e.meta?.validate)return;let t=await Promise.resolve(e.meta.validate(e));if(t!==!0)return yu({fatal:!0,status:t&&(t.status||t.statusCode)||404,statusText:(t?t.statusText??t.statusMessage:void 0)??`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})}),Yf(e=>{})],Jh={};function Yh(){return new URL(window.location.origin===`null`?document.baseURI:window.location.href)}var Xh=/\/(?=$|[?#])/;function Zh(e,t,n){let{pathname:r,search:i,hash:a}=t,o=e.indexOf(`#`);if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return n[0]!==`/`&&(n=`/`+n),vl(n,``)}let s=vl(r,e),c=!n||Cl(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var Qh=$l({name:`nuxt:router`,enforce:`pre`,async setup(e){let t=nu().app.baseURL,n=Hf.history?.(t)??lf(t),r=Hf.routes?await Hf.routes(Kh)??Kh:Kh,i,a=Mf({...Hf,scrollBehavior:(e,t,n)=>{if(t===bd)i=n;else if(Hf.scrollBehavior){if(a.options.scrollBehavior=Hf.scrollBehavior,`scrollRestoration`in window.history){let e=a.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return Hf.scrollBehavior(e,bd,i||n)}},history:n,routes:r,matcher:void 0});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(a);let o=an(a.currentRoute.value);a.afterEach((e,t)=>{o.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>o.value});let s=Zh(t,window.location,e.payload.path),c=vl(window.location.pathname,t),l=an(a.currentRoute.value),u=()=>{l.value=a.currentRoute.value};a.afterEach((e,t)=>{let n=e.matched.at(-1)?.components?.default,r=t.matched.at(-1)?.components?.default;n===r?yh({route:e,Component:{type:n}})===yh({route:t,Component:{type:r}})&&u():e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&u()});let d={sync:u};for(let e in l.value)Object.defineProperty(d,e,{get:()=>l.value[e],enumerable:!0});e._route=Kt(d),e._middleware||={global:[],named:Object.create(null)};let f=sp();function p(t){e._middlewareTo&&(e._middlewareTo.redirectedFrom??e._middlewareTo)===(t.redirectedFrom??t)&&delete e._middlewareTo}a.afterEach(async(t,n,r)=>{p(t),!e.isHydrating&&f.value&&!Nu(r,ju.aborted|ju.cancelled)&&await e.runWithContext(fp),r&&await e.callHook(`page:loading:end`)}),a.onError(async(t,n)=>{p(n),await e.callHook(`page:loading:end`)});try{await a.isReady()}catch(t){await dp(e,t)}let m=s===a.currentRoute.value.fullPath?a.currentRoute.value:a.resolve(s),h=a.currentRoute.value.fullPath,g=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&s.replace(Xh,``)!==e.payload.path.replace(Xh,``)&&Cl(a.currentRoute.value.path,e.payload.path);u();function _(r){!e.isHydrating&&r.fullPath!==Zh(t,window.location)&&n.push(r.fullPath)}a.beforeEach(t=>{if(!e.isHydrating&&Gh({path:t.path}).noScripts)return window.location.assign(a.resolve(t.fullPath).href),!1}),a.beforeResolve(e=>{if(e.matched.length||Cl(e.path,c))return;let n=Yh(),r=new URL(_l(e.fullPath,t),n);if(r.origin===n.origin)return window.location.assign(r),!1});let v=e.payload.state._layout,y=0;a.beforeEach(async(t,n)=>{y++;try{return await b(t,n)}finally{--y===0&&delete e._processingMiddleware}});async function b(t,n){await e.callHook(`page:loading:start`),t.meta=Gt(t.meta),e.isHydrating&&v&&!Zt(t.meta.layout)&&(t.meta.layout=v),e._processingMiddleware=!0,e._middlewareTo=t;{let r=new Set([...qh,...e._middleware.global]);for(let e of t.matched){let t=e.meta.middleware;if(t)for(let e of Rl(t))r.add(e)}let i=Gh({path:t.path});if(i.appMiddleware)for(let e in i.appMiddleware)i.appMiddleware[e]?r.add(e):r.delete(e);for(let i of r){let r=typeof i==`string`?e._middleware.named[i]||await Jh[i]?.().then(e=>e.default||e):i;if(!r)throw Su.NUXT_E2004({entry:String(i),validMiddleware:void 0});try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||yu({status:404,statusText:`Page Not Found: ${s}`});return await e.runWithContext(()=>cp(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return vu(i)&&i.fatal&&(await e.runWithContext(()=>cp(i)),_(t)),i}catch(n){let r=xu(n);return r.fatal&&(await e.runWithContext(()=>cp(r)),_(t)),r}}}}return a.afterEach((t,n,r)=>{if(t.matched.length===0&&!f.value&&!Nu(r,ju.aborted|ju.cancelled))return e.runWithContext(()=>cp(yu({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>{try{if(`name`in m&&(m.name=void 0),a.currentRoute.value.fullPath===h){if(g){let t=a.resolve(e.payload.path);`name`in t&&(t.name=void 0),await a.replace({...t,force:!0});let n=()=>{if(!e[`~restoreDeferredRoute`])return;e[`~restoreDeferredRoute`]=void 0;let t=a.currentRoute,n=a.resolve(s);n.matched.at(-1)===t.value.matched.at(-1)&&(n.meta=t.value.meta),t.value=n,u(),a.replace({...m,force:!0}).catch(()=>{})};e[`~restoreDeferredRoute`]=n,e.hooks.hookOnce(`app:suspense:resolve`,n)}else await a.replace({...m,force:!0})}a.options.scrollBehavior=Hf.scrollBehavior}catch(t){await dp(e,t)}}),{provide:{router:a}}}}),$h=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)});globalThis.cancelIdleCallback;var eg=(e,t)=>{if(t?.signal?.aborted)return;let n=J(),r=()=>{t?.signal?.aborted||n.runWithContext(e)};n.isHydrating?n.hooks.hookOnce(`app:suspense:resolve`,()=>{$h(r,t)}):$h(r,t)},tg=$l(e=>{let t=Gf();eg(()=>{t.beforeResolve(()=>mp())})}),ng=$l(e=>{let t;async function n(){let r;try{r=await Wh()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,Kl);try{let n=await fetch(Th(`builds/latest.json`)+`?${Date.now()}`,{priority:`low`});if(!n.ok)return;let i=await n.json();i.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,i),t&&clearTimeout(t))}catch{}}eg(()=>{t=setTimeout(n,Kl)})});function rg(e={}){let t=e.path||window.location.pathname,n=Yh(),r=new URL(t,n);if(r.origin!==n.origin)throw Su.NUXT_E2010({path:t});if(r.protocol&&pl(r.protocol))throw Su.NUXT_E2002({toPath:t,protocol:r.protocol});let i={};try{i=JSON.parse(sessionStorage.getItem(`nuxt:reload`)||`{}`)}catch{}if(e.force||i?.path!==t||i?.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:J().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}var ig=$l({name:`nuxt:chunk-reload-crawler`,setup(e){let t=!0;e.hooks.hookOnce(`app:suspense:resolve`,()=>{t=!1}),e.hook(`app:chunkError`,()=>{t&&Bl(navigator.userAgent)&&rg()})}}),ag=$l({name:`nuxt:chunk-reload`,setup(e){let t=Gf(),n=nu(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){rg({path:xl(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}}),og=/2g/;function sg(){let e=navigator.connection;return!e||!e.saveData&&!og.test(e.effectiveType||``)}function cg(e){let{pathname:t,search:n}=new URL(e,document.baseURI);return t+n}function lg(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}function ug(e){return Promise.all(e.map(e=>{let t=e.components?.default;return typeof t==`function`?Promise.resolve(t()).catch(()=>{}):void 0}))}function dg(e,t){let{fullPath:n,path:r,matched:i}=t.resolve(e);if(!i.length)return;let a=tu()?._prefetch;a?a.schedule({key:`route:${r}`,priority:`route`,scope:`navigation`,group:cg(n),run:e=>e.aborted?void 0:ug(i)}):ug(i)}function fg(e){return e[0]===`/`&&!e.includes(`?`)&&!e.includes(`#`)&&!e.includes(`%`)}var pg=/^:\w+\(\)$/,mg=new WeakMap;function hg(e,t){let n=e.matched,r=mg.get(n);if(r===void 0){r=[];for(let e of n){if(e.aliasOf||e.alias){r=null;break}let t=_g(e.path);for(let e of t)if(e.includes(`:`)?!pg.test(e):/[?*+()]/.test(e)){r=null;break}if(!r)break;r.push(t)}mg.set(n,r)}if(!r)return!0;let i=gg(t),a;outer:for(let e of r)if(e.length===i){a??=_g(t);for(let t=0;t<e.length;t++){let n=e[t],r=a[t];if(n[0]===`:`){if(!r)continue outer}else if(n.toLowerCase()!==r.toLowerCase())continue outer}return!0}return!1}function gg(e){let t=1;for(let n=e.indexOf(`/`);n!==-1;n=e.indexOf(`/`,n+1))t++;return t>1&&e.endsWith(`/`)?t-1:t}function _g(e){let t=e.split(`/`);return t.length>1&&t[t.length-1]===``&&t.pop(),t}var vg=(...e)=>e.find(e=>e!==void 0);function yg(e){let t=e.componentName||`NuxtLink`;function n(e){return typeof e==`string`&&e.startsWith(`#`)}function r(t,n,r){let i=r??e.trailingSlash;if(!t||i!==`append`&&i!==`remove`)return t;if(typeof t==`string`)return Ig(t,i);let a=`path`in t&&t.path!==void 0?t.path:n(t).path;return{...t,name:void 0,path:Ig(a,i)}}function i(t,i){let a=Gf(),o=nu(),s=a.options?.history?.createHref??(e=>xl(o.app.baseURL,e)),c=K(()=>!!L(t.target)&&L(t.target)!==`_self`),l=K(()=>{let e=L(t.to)||L(t.href)||``;return typeof e==`string`&&Fl(e)}),u=K(()=>i?.download!==void 0),d=K(()=>{if(L(t.external))return!0;let e=L(t.to)||L(t.href)||``;return typeof e==`object`?!1:e===``||l.value}),f=K(()=>{let e=L(t.to)||L(t.href)||``;return d.value?e:r(e,a.resolve,L(t.trailingSlash))}),p=K(()=>{let r=L(t.trailingSlash)??e.trailingSlash;if(!f.value||l.value||n(f.value)){let e=f.value;return typeof e==`string`?Ll(e):e}if(d.value){let e=typeof f.value==`object`&&`path`in f.value?Qf(f.value):f.value,t=typeof e==`object`?a.resolve(e).href:e,n=typeof t==`string`?Ll(t):t;return n===null?null:Ig(n,r)}return typeof f.value==`object`?a.resolve(f.value)?.href??null:u.value&&Pl(f.value)?xl(o.app.baseURL,f.value):Ig(Pl(f.value)?s(f.value):a.resolve(f.value).href,r)});return{to:f,hasTarget:c,isAbsoluteUrl:l,isExternal:d,download:u,href:p,async navigate(e){p.value!==null&&await Zf(p.value,{replace:L(t.replace),external:d.value||c.value})}}}function a(e){let t=Gf(),n=i(e),r=vi(`RouterLink`),a=r&&typeof r!=`string`?r.useLink:void 0,o=n.isExternal.value?void 0:a?.({...e,to:n.to,viewTransition:L(e.viewTransition)});return{...n,isActive:o?.isActive??K(()=>n.to.value===t.currentRoute.value.path),isExactActive:o?.isExactActive??K(()=>n.to.value===t.currentRoute.value.path),route:o?.route??K(()=>t.resolve(n.to.value))}}function o(t,n,i,a=n.currentRoute.value){let o,s,c=!1,l=!1;if(typeof i==`string`&&n.options.history&&fg(i)&&!t.trailingSlash&&!e.trailingSlash&&!hg(a,i))s=n.options.history.base+i;else{o=n.resolve(r(i,n.resolve,t.trailingSlash)),s=o.href;let e=Ng(o,a);c=e>-1&&Mg(a.params,o.params),l=e>-1&&e===a.matched.length-1&&Dg(a.params,o.params)}return new Og(n,i,o,s,c,l,t.replace)}function s(t,n){return[Fg(t.activeClass||e.activeClass,n.options.linkActiveClass,`router-link-active`),Fg(t.exactActiveClass||e.exactActiveClass,n.options.linkExactActiveClass,`router-link-exact-active`)]}function c(e,t,r=!1){return!(e.external||r||typeof t==`string`&&(t===``||Fl(t)))&&!n(t)&&(!e.target||e.target===`_self`)}let l=Tr({name:t,props:{to:{type:[String,Object],required:!1},href:{type:[String,Object],required:!1},target:{type:String,required:!1},rel:{type:String,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},prefetchedClass:{type:String,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,required:!1}},useLink:a,setup(t,{slots:r,attrs:a}){let o=Gf(),s=vi(`RouterLink`),{to:c,href:l,navigate:u,isExternal:d,hasTarget:f,isAbsoluteUrl:p,download:m}=i(t,a),h=an(!1),g=rn(null),_=e=>{g.value=t.custom?e?.$el?.nextElementSibling:e?.$el};function v(n){return typeof t.prefetchOn==`string`?t.prefetchOn===n:t.prefetchOn?.[n]??e.prefetchOn?.[n]}function y(){return!!((t.prefetch??e.prefetch)!==!1&&t.noPrefetch!==!0&&t.target!==`_blank`&&sg())}function b(e){return!!(!h.value&&v(e)&&y())}function x(){let e=typeof c.value==`string`?c.value:d.value?Qf(c.value):o.resolve(c.value).fullPath;return d.value?new URL(e,Yh()).href:e}function S(){h.value?d.value||J()._prefetch?.promote(cg(x())):v(`interaction`)&&C()}async function C(e=J()){if(m.value||h.value||l.value===null)return;h.value=!0;let t=x();await Promise.all([e.hooks.callHook(`link:prefetch`,t)?.catch(()=>{}),!d.value&&!f.value&&dg(c.value,o)])}if(!t.custom&&b(`visibility`)){let e=J(),t=null;si(()=>{g?.value?.tagName&&(t=Lg().observe(g.value,async()=>{t?.(),t=null,await C(e)},!0))}),ui(()=>{t?.(),t=null})}return()=>{let i=t.target||null,a=vg(t.noRel?``:t.rel,e.externalRelAttribute,p.value||f.value?`noopener noreferrer`:``)||null,x=e=>({navigate:u,get route(){if(!l.value)return;let e=new URL(l.value,Yh());return{path:e.pathname,fullPath:e.pathname,get query(){return e.search?Uf(e.search):{}},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:a,target:i,isExternal:d.value||f.value,isActive:!1,isExactActive:!1,...e,href:typeof e?.href==`string`?Ll(e.href):l.value,prefetch:C,prefetched:h.value,shouldPrefetch:b});if(!d.value&&!m.value&&!f.value&&!n(c.value)){let n={ref:_,to:c.value,activeClass:t.activeClass||e.activeClass,exactActiveClass:t.exactActiveClass||e.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||((v(`interaction`)||h.value)&&y()&&(n.onPointerenter=S,n.onFocus=S,n.onPointerdown=S),h.value&&(n.class=t.prefetchedClass||e.prefetchedClass),n.rel=t.rel||void 0),q(s,n,t.custom&&r.default?{default:e=>r.default(x(e))}:r.default)}return t.custom?r.default?r.default(x()):null:q(`a`,{ref:g,href:l.value||null,rel:a,target:i,onClick:async e=>{if(!(d.value||f.value||m.value)){e.preventDefault();try{let e=$f(l.value??``);return await(t.replace?o.replace(e):o.push(e))}finally{if(n(c.value)){let e=c.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},r.default?.())}}});return l.__inlineLink=u,l;function u(t,n,i){let a=t&&!e.prefetchedClass?jg(t):void 0,l=a?.to,u=n?.default;if(!a||!l||(typeof l==`object`?`state`in l||`force`in l||`replace`in l:typeof l!=`string`)||a.prefetchedClass||u&&!u._c||!c(a,l,a.attrs?.download!==void 0))return;let d=t=>typeof a.prefetchOn==`string`?a.prefetchOn===t:a.prefetchOn?.[t]??e.prefetchOn?.[t];if(d(`interaction`))return;let f=J(),p=f._inlineLinks??=bg(f);if(!p)return;let m=p.router,h=r(l,m.resolve,a.trailingSlash),g=o(a,m,l,z(gu,f._route));g.navigate=e=>e&&!Pg(e,e.currentTarget)?Promise.resolve():(e?.preventDefault(),m.push(h).then(()=>{},()=>{}));let[_,v]=s(a,m),y={key:a.key};g.isExactActive&&(y[`aria-current`]=a.ariaCurrentValue??`page`),g.href!==null&&(y.href=g.href);let b=g.isActive?me([{[_]:!0,[v]:g.isExactActive},a.class]):a.class&&me(a.class);b&&(y.class=b),a.style&&(y.style=le(a.style)),a.rel&&(y.rel=a.rel),a.attrs&&Object.assign(y,a.attrs);let x=typeof l==`object`?g.navigate:p.onClick;y.onClick=a.attrs?.onClick?[x].concat(a.attrs.onClick):x,d(`visibility`)&&e.prefetch!==!1&&(y.onVnodeMounted=p.observe,y.onVnodeBeforeUnmount=p.unobserve),i||mo(),u&&(u._d=!1);let S=u?.(g);return u&&(u._d=!0),yo(`a`,y,S,n?._===2?-2:16)}}function bg(e){let t=e.vueApp.component(`RouterLink`);if(!t||!(`useLink`in t))return!1;let n=e.$router,r=n.options.history.base,i=e=>{let t=e.getAttribute(`href`)||``;return(t.startsWith(r)?t.slice(r.length):t)||`/`},a,o=new WeakMap,s=new WeakSet,c=!1;function l(t){let n=t.target?.closest?.(`a`);n&&s.has(n)&&e._prefetch?.promote(cg(i(n)))}async function u(t){if(!sg())return;if(s.add(t),!c){c=!0;for(let e of[`pointerover`,`focusin`,`pointerdown`])document.addEventListener(e,l,{capture:!0,passive:!0})}let r=i(t);await Promise.all([e.hooks.callHook(`link:prefetch`,r)?.catch(()=>{}),dg(r,n)])}function d(e){let t=e.el;o.get(t)?.(),o.delete(t)}return{router:n,onClick(e){let t=e.currentTarget;Pg(e,t)&&(e.preventDefault(),n.push(i(t)).catch(()=>{}))},observe(t){let n=t.el;a||=e.runWithContext(()=>Lg()),o.set(n,a.observe(n,()=>(d(t),u(n)),!0))},unobserve:d}}var xg=yg(Ul);function Sg(e,t,n,r,i){return e.__inlineLink?.(t??null,n??null,!1)??U(e,t,n,r,i)}function Cg(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function wg(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}function Tg(e,t){return Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Eg(e,t){return Array.isArray(e)?Tg(e,t):Array.isArray(t)?Tg(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Dg(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(!Eg(e[n],t[n]))return!1;return!0}var Og=class{href;isActive;isExactActive;navigate;#e;#t;#n;constructor(e,t,n,r,i,a,o){this.href=Ll(r),this.isActive=i,this.isExactActive=a,this.navigate=async()=>{await Zf(r,{replace:o})},this.#e=e,this.#t=t,this.#n=n}get route(){return this.#n??=this.#e.resolve(this.#t)}},kg=new Set([`key`,`to`,`class`,`style`,`rel`,`activeClass`,`exactActiveClass`,`ariaCurrentValue`,`prefetchOn`,`prefetchedClass`]),Ag=new Set([`href`,`target`,`noRel`,`prefetch`,`noPrefetch`,`replace`,`external`,`custom`,`trailingSlash`,`viewTransition`,`ref`,`ref_for`,`ref_key`,`innerHTML`,`textContent`]);function jg(e){let t=e,n;for(let r in e){let i=r.includes(`-`)?k(r):r;if(kg.has(i))i!==r&&(t===e&&(t={...e}),t[i]=e[r]);else{if(Ag.has(i)||r.startsWith(`onVnode`))return;(n??={})[r]=e[r]}}return n&&(t===e&&(t={...e}),t.attrs=n),t}function Mg(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!Array.isArray(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Ng(e,t){let{matched:n}=e,{length:r}=n,i=n[r-1],a=t.matched;if(!i||!a.length)return-1;let o=a.findIndex(Cg.bind(null,i));if(o>-1)return o;let s=wg(n[r-2]);return r>1&&wg(i)===s&&a[a.length-1].path!==s?a.findIndex(Cg.bind(null,n[r-2])):o}function Pg(e,t){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||e.button!==void 0&&e.button!==0)return!1;if(t){let e=t.getAttribute(`target`);if(e&&/\b_blank\b/i.test(e))return!1}return!0}function Fg(e,t,n){return e??t??n}function Ig(e,t){if(t!==`append`&&t!==`remove`)return e;let n=t===`append`?gl:hl;return fl(e)&&!e.startsWith(`http`)?e:n(e,!0)}function Lg(){let e=J();if(e._observer)return e._observer;let t=null,n=new Map,r=new Set,i=!1,a=e=>{t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),t.observe(e)};return e._observer={observe:(o,s,c)=>(n.set(o,s),c?(r.add(o),i||(i=!0,e.runWithContext(()=>eg(()=>{i=!1,r.forEach(a),r.clear()})))):a(o),()=>{r.delete(o),n.delete(o),t?.unobserve(o),n.size===0&&(t?.disconnect(),t=null)})}}var Rg=$l({name:`nuxt:island-link-navigation`,setup(e){}}),zg=4,Bg=2e3,Vg=$l({name:`nuxt:deferred-prefetch`,setup(){eg(()=>{if(!sg())return;let e=new URL(Th(`/`),document.baseURI).href,t=document.head.querySelector(`template[data-nuxt-prefetch]`)?.content.querySelectorAll(`link[rel=prefetch][href]`)??[],n=0,r=i=>{let a=performance.now()+Math.max(i?.timeRemaining()??0,zg);do{let r=t[n++],i;try{i=new URL(r.getAttribute(`href`),document.baseURI).href}catch{continue}i.startsWith(e)&&document.head.appendChild(r)}while(n<t.length&&performance.now()<a);n<t.length&&$h(r,{timeout:Bg})};t.length&&r()},{timeout:Bg})}}),Hg=$l({name:`nuxt:global-components`}),Ug={},Wg=[`route`,`payload`,`island`,`hint`],Gg=12,Kg={route:8,payload:8,island:4,hint:8};function qg(e={}){let t={...Kg,...e.concurrency},n=e.total??Gg,r=e.canPrefetch,i=e.defer,a={route:[],payload:[],island:[],hint:[]},o=Wg.map(e=>a[e]),s=new WeakSet,c=new Map,l={route:0,payload:0,island:0,hint:0},u=0,d=new Map,f=new AbortController,p=new AbortController;p.abort();function m(e){c.get(e.key)===e&&c.delete(e.key)}function h(e){m(e),Promise.resolve().then(()=>e.run(p.signal,!1)).catch(()=>{})}function g(){if(o.some(e=>e.length)&&(!r||r()))for(;u<n;){let e=Wg.find(e=>a[e].length&&l[e]<t[e]);if(!e)return;let n=a[e].shift();_(n,s.delete(n))}}function _(e,t){let n=e.scope===`app`?f:new AbortController;e.scope===`navigation`&&d.set(e,n),l[e.priority]++,u++;let r=!1,a=()=>{r||(r=!0,l[e.priority]--,u--,d.delete(e),m(e),g())};n.signal.addEventListener(`abort`,a,{once:!0});let o=()=>Promise.resolve().then(()=>e.run(n.signal,t)).then(a,a);i?i(o,t,e.priority):o()}let v=(e,t)=>t!==void 0&&e.group===t&&e.priority!==`hint`;return{schedule(e){let t=[];for(let n of Array.isArray(e)?e:[e])c.has(n.key)?h(n):(c.set(n.key,n),t.push(n));for(let e=t.length-1;e>=0;e--)a[t[e].priority].unshift(t[e]);g()},promote(e){for(let t of o){let n=[],r=[];for(let i of t)i.group===e&&s.add(i),(i.group===e?n:r).push(i);t.length=0,t.push(...n,...r)}g()},reset(e){for(let t of o)for(let n=t.length-1;n>=0;n--){let r=t[n];r.scope===`navigation`&&!v(r,e)&&(t.splice(n,1),h(r))}for(let[t,n]of[...d])v(t,e)||n.abort();g()},resume:g}}var Jg=1e3;function Yg(e,t,n){if(t||n===`route`)return e();let r=globalThis.scheduler;r?.postTask?r.postTask(e,{priority:`background`}).catch(()=>{}):$h(e,{timeout:Jg})}function Xg(e=J()){if(e._prefetch)return e._prefetch;let t=!1,n=!1,r=qg({canPrefetch:()=>sg()?!t&&document.visibilityState!==`hidden`:(n||(n=!0,navigator.connection?.addEventListener?.(`change`,()=>r.resume())),!1),defer:Yg});e._prefetch=r,document.addEventListener(`visibilitychange`,()=>r.resume());let i=e.$router;return i.beforeEach(()=>{t=!0}),i.afterEach(e=>{t=!1,r.reset(cg(e.fullPath))}),i.onError(()=>{t=!1,r.resume()}),r}var Zg=$l({name:`nuxt:prefetch`,setup(e){let t=Gf();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;typeof t==`string`&&t in Ug&&await lg(Ug[t])})});let{schedule:n}=Xg(e);e.hooks.hook(`link:prefetch`,async e=>{if(fl(e))return;let r=t.resolve(e);if(!r)return;let i=r.meta.layout,a=Rl(r.meta.middleware).filter(e=>typeof e==`string`);n({key:`route:chunks:${e}`,priority:`route`,scope:`navigation`,group:cg(e),run:e=>{if(e.aborted)return;let t=[];for(let e of a){let n=Jh[e];typeof n==`function`&&t.push(n())}return typeof i==`string`&&i in Ug&&t.push(lg(Ug[i])),Promise.all(t).catch(()=>{})}})})}}),Qg=$l(()=>{}),$g=[`top`,`right`,`bottom`,`left`],e_=[`start`,`end`],t_=$g.reduce((e,t)=>e.concat(t,t+`-`+e_[0],t+`-`+e_[1]),[]),n_=Math.min,r_=Math.max,i_=Math.round,a_=e=>({x:e,y:e}),o_={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function s_(e,t,n){return r_(e,n_(t,n))}function c_(e,t){return typeof e==`function`?e(t):e}function l_(e){return e.split(`-`)[0]}function u_(e){return e.split(`-`)[1]}function d_(e){return e===`x`?`y`:`x`}function f_(e){return e===`y`?`height`:`width`}function p_(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function m_(e){return d_(p_(e))}function h_(e,t,n){n===void 0&&(n=!1);let r=u_(e),i=m_(e),a=f_(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=w_(o)),[o,w_(o)]}function g_(e){let t=w_(e);return[__(e),t,__(t)]}function __(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var v_=[`left`,`right`],y_=[`right`,`left`],b_=[`top`,`bottom`],x_=[`bottom`,`top`];function S_(e,t,n){switch(e){case`top`:case`bottom`:return n?t?y_:v_:t?v_:y_;case`left`:case`right`:return t?b_:x_;default:return[]}}function C_(e,t,n,r){let i=u_(e),a=S_(l_(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(__)))),a}function w_(e){let t=l_(e);return o_[t]+e.slice(t.length)}function T_(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function E_(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:T_(e)}function D_(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function O_(e,t,n){let{reference:r,floating:i}=e,a=p_(t),o=m_(t),s=f_(o),c=l_(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=u_(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function k_(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=c_(t,e),p=E_(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=D_(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=D_(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var A_=50,j_=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:k_},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=O_(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<A_&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=O_(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},M_=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=c_(e,t)||{};if(l==null)return{};let d=E_(u),f={x:n,y:r},p=m_(i),m=f_(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;C&&await(o.isElement==null?void 0:o.isElement(S))||(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=n_(d[_],T),D=n_(d[v],T),O=C-h[m]-D,ee=C/2-h[m]/2+w,k=s_(E,ee,O),A=!c.arrow&&u_(i)!=null&&ee!==k&&a.reference[m]/2-(ee<E?E:D)-h[m]/2<0,j=A?ee<E?ee-E:ee-O:0;return{[p]:f[p]+j,data:{[p]:k,centerOffset:ee-k-j,...A&&{alignmentOffset:j}},reset:A}}});function N_(e,t,n){return(e?[...n.filter(t=>u_(t)===e),...n.filter(t=>u_(t)!==e)]:n.filter(e=>l_(e)===e)).filter(n=>!e||u_(n)===e||(t?__(n)!==n:!1))}var P_=function(e){return e===void 0&&(e={}),{name:`autoPlacement`,options:e,async fn(t){let{rects:n,middlewareData:r,placement:i,platform:a,elements:o}=t,{crossAxis:s=!1,alignment:c,allowedPlacements:l=t_,autoAlignment:u=!0,...d}=c_(e,t),f=c!==void 0||l===t_?N_(c||null,u,l):l,p=r.autoPlacement?.index||0,m=f[p];if(m==null)return{};if(i!==m)return{reset:{placement:f[0]}};let h=await a.detectOverflow(t,d),g=h_(m,n,await(a.isRTL==null?void 0:a.isRTL(o.floating))),_=[h[l_(m)],h[g[0]],h[g[1]]],v=[...r.autoPlacement?.overflows||[],{placement:m,overflows:_}],y=f[p+1];if(y)return{data:{index:p+1,overflows:v},reset:{placement:y}};let b=v.map(e=>{let t=u_(e.placement);return[e.placement,t&&s?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),x=b.filter(e=>e[2].slice(0,u_(e[0])?2:3).every(e=>e<=0))[0]?.[0]||b[0][0];return x===i?{}:{data:{index:p+1,overflows:v},reset:{placement:x}}}}},F_=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=c_(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=l_(r),_=p_(o),v=l_(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[w_(o)]:g_(o)),x=p!==`none`;!d&&x&&b.push(...C_(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=h_(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===p_(t)||T.every(e=>p_(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=p_(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},I_=new Set([`left`,`top`]);async function L_(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=l_(n),s=u_(n),c=p_(n)===`y`,l=I_.has(o)?-1:1,u=a&&c?-1:1,d=c_(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var R_=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await L_(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},z_=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=c_(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=p_(i),p=d_(f),m=u[p],h=u[f],g=(e,t)=>s_(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},B_=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=c_(e,t),c=await i.detectOverflow(t,s),l=l_(n),u=u_(n),d=p_(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=n_(p-c[m],g),y=n_(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*r_(c.left,c.right):S=p-2*r_(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function V_(){return typeof window<`u`}function H_(e){return G_(e)?(e.nodeName||``).toLowerCase():`#document`}function U_(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function W_(e){return((G_(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function G_(e){return V_()?e instanceof Node||e instanceof U_(e).Node:!1}function K_(e){return V_()?e instanceof Element||e instanceof U_(e).Element:!1}function q_(e){return V_()?e instanceof HTMLElement||e instanceof U_(e).HTMLElement:!1}function J_(e){return!V_()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof U_(e).ShadowRoot}function Y_(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ov(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function X_(e){return/^(table|td|th)$/.test(H_(e))}function Z_(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Q_=/transform|translate|scale|rotate|perspective|filter/,$_=/paint|layout|strict|content/,ev=e=>!!e&&e!==`none`,tv;function nv(e){let t=K_(e)?ov(e):e;return ev(t.transform)||ev(t.translate)||ev(t.scale)||ev(t.rotate)||ev(t.perspective)||!iv()&&(ev(t.backdropFilter)||ev(t.filter))||Q_.test(t.willChange||``)||$_.test(t.contain||``)}function rv(e){let t=cv(e);for(;q_(t)&&!av(t);){if(nv(t))return t;if(Z_(t))return null;t=cv(t)}return null}function iv(){return tv??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),tv}function av(e){return/^(html|body|#document)$/.test(H_(e))}function ov(e){return U_(e).getComputedStyle(e)}function sv(e){return K_(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function cv(e){if(H_(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||J_(e)&&e.host||W_(e);return J_(t)?t.host:t}function lv(e){let t=cv(e);return av(t)?(e.ownerDocument||e).body:q_(t)&&Y_(t)?t:lv(t)}function uv(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=lv(e),i=r===e.ownerDocument?.body,a=U_(r);if(i){let e=dv(a);return t.concat(a,a.visualViewport||[],Y_(r)?r:[],e&&n?uv(e):[])}return t.concat(r,uv(r,[],n))}function dv(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fv(e){let t=ov(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=q_(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=i_(n)!==a||i_(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function pv(e){return K_(e)?e:e.contextElement}function mv(e){let t=pv(e);if(!q_(t))return a_(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=fv(t),o=(a?i_(n.width):n.width)/r,s=(a?i_(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}var hv=a_(0);function gv(e){let t=U_(e);return!iv()||!t.visualViewport?hv:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _v(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===U_(e)}function vv(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=pv(e),o=a_(1);t&&(r?K_(r)&&(o=mv(r)):o=mv(e));let s=_v(a,n,r)?gv(a):a_(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=U_(a),t=K_(r)?U_(r):r,n=e,i=dv(n);for(;i&&t!==n;){let e=mv(i),t=i.getBoundingClientRect(),r=ov(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=U_(i),i=dv(n)}}return D_({width:u,height:d,x:c,y:l})}function yv(e,t){let n=sv(e).scrollLeft;return t?t.left+n:vv(W_(e)).left+n}function bv(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-yv(e,n),y:n.top+t.scrollTop}}function xv(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=W_(r),s=t?Z_(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=a_(1),u=a_(0),d=q_(r);if((d||!a)&&((H_(r)!==`body`||Y_(o))&&(c=sv(r)),d)){let e=vv(r);l=mv(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?bv(o,c):a_(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Sv(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Cv(e){let t=sv(e),n=e.ownerDocument.body,r=r_(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=r_(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+yv(e),o=-t.scrollTop;return ov(n).direction===`rtl`&&(a+=r_(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var wv=25;function Tv(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=U_(e),a=W_(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!iv()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(yv(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=wv&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Ev(e,t){let n=vv(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=mv(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Dv(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Tv(e,n,t);else if(t===`document`)r=Cv(W_(e));else if(K_(t))r=Ev(t,n);else{let n=gv(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return D_(r)}function Ov(e,t){let n=t.get(e);if(n)return n;let r=uv(e,[],!1).filter(e=>K_(e)&&H_(e)!==`body`),i=null,a=ov(e).position===`fixed`,o=a?cv(e):e;for(;K_(o)&&!av(o);){let e=ov(o),t=nv(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=cv(o)}return t.set(e,r),r}function kv(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Z_(t)?[]:Ov(t,this._c):[].concat(n),r],o=Dv(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Dv(t,a[e],i);s=r_(n.top,s),c=n_(n.right,c),l=n_(n.bottom,l),u=r_(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Av(e){let{width:t,height:n}=fv(e);return{width:t,height:n}}function jv(e,t,n){let r=q_(t),i=W_(t),a=n===`fixed`,o=vv(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=a_(0);if((r||!a)&&((H_(t)!==`body`||Y_(i))&&(s=sv(t)),r)){let e=vv(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=yv(i));let l=i&&!r&&!a?bv(i,s):a_(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Mv(e){return ov(e).position===`static`}function Nv(e,t){if(!q_(e)||ov(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return W_(e)===n&&(n=n.ownerDocument.body),n}function Pv(e,t){let n=U_(e);if(Z_(e))return n;if(!q_(e)){let t=cv(e);for(;t&&!av(t);){if(K_(t)&&!Mv(t))return t;t=cv(t)}return n}let r=Nv(e,t);for(;r&&X_(r)&&Mv(r);)r=Nv(r,t);return r&&av(r)&&Mv(r)&&!nv(r)?n:r||rv(e)||n}var Fv=async function(e){let t=this.getOffsetParent||Pv,n=this.getDimensions,r=await n(e.floating);return{reference:jv(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Iv(e){return ov(e).direction===`rtl`}var Lv={convertOffsetParentRelativeRectToViewportRelativeRect:xv,getDocumentElement:W_,getClippingRect:kv,getOffsetParent:Pv,getElementRects:Fv,getClientRects:Sv,getDimensions:Av,getScale:mv,isElement:K_,isRTL:Iv},Rv=R_,zv=P_,Bv=z_,Vv=F_,Hv=B_,Uv=M_,Wv=(e,t,n)=>{let r=new Map,i=n??{},a={...Lv,...i.platform,_c:r};return j_(e,t,{...i,platform:a})},Gv=`5.4.0`;function Kv(e,t){for(let n in t)Object.hasOwn(t,n)&&(typeof t[n]==`object`&&e[n]?Kv(e[n],t[n]):e[n]=t[n])}var qv={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 Jv(e,t){let n=qv.themes[e]||{},r;do r=n[t],r===void 0?n.$extend?n=qv.themes[n.$extend]||{}:(n=null,r=qv[t]):n=null;while(n);return r}function Yv(e){let t=[e],n=qv.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=qv.themes[n.$extend]||{}):n=null;while(n);return t.map(e=>`v-popper--theme-${e}`)}function Xv(e){let t=[e],n=qv.themes[e]||{};do n.$extend?(t.push(n.$extend),n=qv.themes[n.$extend]||{}):n=null;while(n);return t}var Zv=(()=>{if(typeof window>`u`)return!1;let e=!1;try{let t=Object.defineProperty({},"passive",{get(){e=!0}});window.addEventListener(`test`,null,t)}catch{}return e})(),Qv=typeof window<`u`&&typeof navigator<`u`&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,$v=[`auto`,`top`,`bottom`,`left`,`right`].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),ey={hover:`mouseenter`,focus:`focus`,click:`click`,touch:`touchstart`,pointer:`pointerdown`},ty={hover:`mouseleave`,focus:`blur`,click:`click`,touch:`touchend`,pointer:`pointerup`};function ny(e,t){let n=e.indexOf(t);n!==-1&&e.splice(n,1)}function ry(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}var iy=[],ay=null,oy={};function sy(e){let t=oy[e];return t||=oy[e]=[],t}var cy=function(){};typeof window<`u`&&(cy=window.Element);function X(e){return function(t){return Jv(t.theme,e)}}var ly=`__floating-vue__popper`,uy=()=>Tr({name:`VPopper`,provide(){return{[ly]:{parentPopper:this}}},inject:{[ly]:{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:X(`disabled`)},positioningDisabled:{type:Boolean,default:X(`positioningDisabled`)},placement:{type:String,default:X(`placement`),validator:e=>$v.includes(e)},delay:{type:[String,Number,Object],default:X(`delay`)},distance:{type:[Number,String],default:X(`distance`)},skidding:{type:[Number,String],default:X(`skidding`)},triggers:{type:Array,default:X(`triggers`)},showTriggers:{type:[Array,Function],default:X(`showTriggers`)},hideTriggers:{type:[Array,Function],default:X(`hideTriggers`)},popperTriggers:{type:Array,default:X(`popperTriggers`)},popperShowTriggers:{type:[Array,Function],default:X(`popperShowTriggers`)},popperHideTriggers:{type:[Array,Function],default:X(`popperHideTriggers`)},container:{type:[String,Object,cy,Boolean],default:X(`container`)},boundary:{type:[String,cy],default:X(`boundary`)},strategy:{type:String,validator:e=>[`absolute`,`fixed`].includes(e),default:X(`strategy`)},autoHide:{type:[Boolean,Function],default:X(`autoHide`)},handleResize:{type:Boolean,default:X(`handleResize`)},instantMove:{type:Boolean,default:X(`instantMove`)},eagerMount:{type:Boolean,default:X(`eagerMount`)},popperClass:{type:[String,Array,Object],default:X(`popperClass`)},computeTransformOrigin:{type:Boolean,default:X(`computeTransformOrigin`)},autoMinSize:{type:Boolean,default:X(`autoMinSize`)},autoSize:{type:[Boolean,String],default:X(`autoSize`)},autoMaxSize:{type:Boolean,default:X(`autoMaxSize`)},autoBoundaryMaxSize:{type:Boolean,default:X(`autoBoundaryMaxSize`)},preventOverflow:{type:Boolean,default:X(`preventOverflow`)},overflowPadding:{type:[Number,String],default:X(`overflowPadding`)},arrowPadding:{type:[Number,String],default:X(`arrowPadding`)},arrowOverflow:{type:Boolean,default:X(`arrowOverflow`)},flip:{type:Boolean,default:X(`flip`)},shift:{type:Boolean,default:X(`shift`)},shiftCrossAxis:{type:Boolean,default:X(`shiftCrossAxis`)},noAutoFocus:{type:Boolean,default:X(`noAutoFocus`)},disposeTimeout:{type:Number,default:X(`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??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(){return this[ly]?.parentPopper},hasPopperShowTriggerHover(){return this.popperTriggers?.includes(`hover`)||this.popperShowTriggers?.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}={}){this.parentPopper?.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(this.parentPopper?.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}={}){this.$_hideInProgress||(this.shownChildren.size>0?this.pendingHide=!0:this.hasPopperShowTriggerHover&&this.$_isAimingPopper()?this.parentPopper&&(this.parentPopper.lockedChild=this,this.parentPopper.lockedChildTimer&&clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3)):(this.parentPopper?.lockedChild===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit(`hide`),this.$emit(`update:shown`,!1)))},init(){this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=this.referenceNode?.call(this)??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.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;let e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Rv({mainAxis:this.distance,crossAxis:this.skidding}));let t=this.placement.startsWith(`auto`);if(t?e.middleware.push(zv({alignment:this.placement.split(`-`)[1]??``})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Bv({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Vv({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Uv({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:`arrowOverflow`,fn:({placement:e,rects:t,middlewareData:n})=>{let r,{centerOffset:i}=n.arrow;return r=e.startsWith(`top`)||e.startsWith(`bottom`)?Math.abs(i)>t.reference.width/2:Math.abs(i)>t.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){let t=this.autoSize?this.autoSize:this.autoMinSize?`min`:null;e.middleware.push({name:`autoSize`,fn:({rects:e,placement:n,middlewareData:r})=>{if(r.autoSize?.skip)return{};let i,a;return n.startsWith(`top`)||n.startsWith(`bottom`)?i=e.reference.width:a=e.reference.height,this.$_innerNode.style[t===`min`?`minWidth`:t===`max`?`maxWidth`:`width`]=i==null?null:`${i}px`,this.$_innerNode.style[t===`min`?`minHeight`:t===`max`?`maxHeight`:`height`]=a==null?null:`${a}px`,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Hv({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:e,availableHeight:t})=>{this.$_innerNode.style.maxWidth=e==null?null:`${e}px`,this.$_innerNode.style.maxHeight=t==null?null:`${t}px`}})));let n=await Wv(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){this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),ay&&this.instantMove&&ay.instantMove&&ay!==this.parentPopper?(ay.$_applyHide(!0),this.$_applyShow(!0)):t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay(`show`))},$_scheduleHide(e,t=!1){this.shownChildren.size>0?this.pendingHide=!0:(this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,this.$_scheduleTimer&&clearTimeout(this.$_scheduleTimer),this.isShown&&(ay=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay(`hide`)))},$_computeDelay(e){let t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){this.$_disposeTimer&&clearTimeout(this.$_disposeTimer),this.$_scheduleTimer&&clearTimeout(this.$_scheduleTimer),this.skipTransition=e,this.isShown||(this.$_ensureTeleport(),await ry(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...uv(this.$_referenceNode),...uv(this.$_popperNode)],`scroll`,()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){let e=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(`.v-popper__wrapper`),n=t.parentNode.getBoundingClientRect(),r=e.x+e.width/2-(n.left+t.offsetLeft),i=e.y+e.height/2-(n.top+t.offsetTop);this.result.transformOrigin=`${r}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":``});let e=this.showGroup;if(e){let t;for(let n=0;n<iy.length;n++)t=iy[n],t.showGroup!==e&&(t.hide(),t.$emit(`close-group`))}iy.push(this),document.body.classList.add(`v-popper--some-open`);for(let e of Xv(this.theme))sy(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit(`apply-show`),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await ry(),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(this.$_scheduleTimer&&clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,ny(iy,this),iy.length===0&&document.body.classList.remove(`v-popper--some-open`);for(let e of Xv(this.theme)){let t=sy(e);ny(t,this),t.length===0&&document.body.classList.remove(`v-popper--some-open--${e}`)}ay===this&&(ay=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),this.$_disposeTimer&&clearTimeout(this.$_disposeTimer);let 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 ry(),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 Error(`No container for popover: ${this.container}`);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){let e=e=>{(!this.isShown||this.$_hideInProgress)&&(e.usedByTooltip=!0,!this.$_preventShow&&this.show({event:e}))};this.$_registerTriggerListeners(this.$_targetNodes,ey,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],ey,this.popperTriggers,this.popperShowTriggers,e);let t=e=>{e.usedByTooltip||this.hide({event:e})};this.$_registerTriggerListeners(this.$_targetNodes,ty,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],ty,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(e=>e.addEventListener(t,n,Zv?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,i){let a=n;r!=null&&(a=typeof r==`function`?r(a):r),a.forEach(n=>{let r=t[n];r&&this.$_registerEventListeners(e,r,i)})},$_removeEventListeners(e){let t=[];this.$_events.forEach(n=>{let{targetNodes:r,eventType:i,handler:a}=n;!e||e===i?r.forEach(e=>e.removeEventListener(i,a)):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(let n of this.$_targetNodes){let r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(let t of this.$_targetNodes)for(let n in e){let r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_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(){let e=this.$_referenceNode.getBoundingClientRect();if(yy>=e.left&&yy<=e.right&&by>=e.top&&by<=e.bottom){let e=this.$_popperNode.getBoundingClientRect(),t=yy-_y,n=by-vy,r=e.left+e.width/2-_y+(e.top+e.height/2)-vy+e.width+e.height,i=_y+t*r,a=vy+n*r;return xy(_y,vy,i,a,e.left,e.top,e.left,e.bottom)||xy(_y,vy,i,a,e.left,e.top,e.right,e.top)||xy(_y,vy,i,a,e.right,e.top,e.right,e.bottom)||xy(_y,vy,i,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<`u`&&typeof window<`u`){if(Qv){let e=!Zv||{passive:!0,capture:!0};document.addEventListener(`touchstart`,e=>dy(e,!0),e),document.addEventListener(`touchend`,e=>fy(e,!0),e)}else window.addEventListener(`mousedown`,e=>dy(e,!1),!0),window.addEventListener(`click`,e=>fy(e,!1),!0);window.addEventListener(`resize`,gy)}function dy(e,t){if(qv.autoHideOnMousedown)py(e,t);else for(let t=0;t<iy.length;t++){let n=iy[t];try{n.mouseDownContains=n.popperNode().contains(e.target)}catch{}}}function fy(e,t){qv.autoHideOnMousedown||py(e,t)}function py(e,t){let n={};for(let r=iy.length-1;r>=0;r--){let i=iy[r];try{let r=Array.from(i.shownChildren).some(t=>{let n=iy.find(e=>e.randomId===t);return n&&n.popperNode().contains(e.target)}),a=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(e.target)||r;i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&my(i,a,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&a){let e=i.parentPopper;for(;e;)n[e.randomId]=!0,e=e.parentPopper;return}let r=i.parentPopper;for(;r&&my(r,r.containsGlobalTarget,e);)r.$_handleGlobalClose(e,t),r=r.parentPopper}})}catch{}}}function my(e,t,n){return n.closeAllPopover||n.closePopover&&t||hy(e,n)&&!t}function hy(e,t){if(typeof e.autoHide==`function`){let n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function gy(){for(let e=0;e<iy.length;e++)iy[e].$_computePosition()}var _y=0,vy=0,yy=0,by=0;typeof window<`u`&&window.addEventListener(`mousemove`,e=>{_y=yy,vy=by,yy=e.clientX,by=e.clientY},Zv?{passive:!0}:void 0);function xy(e,t,n,r,i,a,o,s){let c=((o-i)*(t-a)-(s-a)*(e-i))/((s-a)*(n-e)-(o-i)*(r-t)),l=((n-e)*(t-a)-(r-t)*(e-i))/((s-a)*(n-e)-(o-i)*(r-t));return c>=0&&c<=1&&l>=0&&l<=1}var Sy=Tr({extends:uy(),render(){var e;return q(`div`,{ref:`reference`,class:[`v-popper`,{"v-popper--shown":this.slotData.isShown}]},(e=this.$slots).default?.call(e,this.slotData))}}),Cy=(e=`theme`)=>({computed:{themeClass(){return Yv(this[e])}}}),wy=Tr({name:`VPopperContent`,mixins:[Cy()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:[`hide`,`resize`],mounted(){this.handleResize&&(this.$_resizeObserver=new ResizeObserver(()=>this.$emit(`resize`)),this.$_resizeObserver.observe(this.$refs.inner))},beforeUnmount(){var e;(e=this.$_resizeObserver)==null||e.disconnect()},methods:{toPx(e){return e!=null&&!Number.isNaN(e)?`${e}px`:null}},render(){var e;let{autoHide:t,classes:n,result:r,shown:i}=this;return q(`div`,{id:this.popperId,ref:`popover`,"data-allow-mismatch":``,class:[`v-popper__popper`,this.themeClass,n.popperClass,{"v-popper__popper--shown":i,"v-popper__popper--hidden":!i,"v-popper__popper--show-from":n.showFrom,"v-popper__popper--show-to":n.showTo,"v-popper__popper--hide-from":n.hideFrom,"v-popper__popper--hide-to":n.hideTo,"v-popper__popper--skip-transition":this.skipTransition,"v-popper__popper--arrow-overflow":r&&r.arrow.overflow,"v-popper__popper--no-positioning":!r}],style:r?{position:r.strategy,transform:`translate3d(${Math.round(r.x)}px,${Math.round(r.y)}px,0)`}:void 0,"aria-hidden":i||t?`false`:`true`,tabindex:t?0:void 0,"data-popper-placement":r?r.placement:void 0,onKeyup:e=>{e.key===`Escape`&&t&&this.$emit(`hide`)}},[q(`div`,{class:`v-popper__backdrop`,onClick:()=>t&&this.$emit(`hide`)}),q(`div`,{class:`v-popper__wrapper`,style:r?{transformOrigin:r.transformOrigin}:void 0},[q(`div`,{ref:`inner`,class:`v-popper__inner`},this.mounted?[q(`div`,(e=this.$slots).default?.call(e))]:void 0),q(`div`,{ref:`arrow`,class:`v-popper__arrow-container`,style:r?{left:this.toPx(r.arrow.x),top:this.toPx(r.arrow.y)}:void 0},[q(`div`,{class:`v-popper__arrow-outer`}),q(`div`,{class:`v-popper__arrow-inner`})])])])}}),Ty={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)}}},Ey=function(){};typeof window<`u`&&(Ey=window.Element);var Dy=Tr({name:`VPopperWrapper`,mixins:[Ty,Cy(`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,Ey,Boolean],default:void 0},boundary:{type:[String,Ey],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)}},render(){return q(Sy,{ref:`popper`,...this.$props,theme:this.finalTheme,targetNodes:this.getTargetNodes,popperNode:()=>this.$refs.popperContent.$el,class:[this.themeClass],onShow:()=>this.$emit(`show`),onHide:()=>this.$emit(`hide`),"onUpdate:shown":e=>this.$emit(`update:shown`,e),onApplyShow:()=>this.$emit(`apply-show`),onApplyHide:()=>this.$emit(`apply-hide`),onCloseGroup:()=>this.$emit(`close-group`),onCloseDirective:()=>this.$emit(`close-directive`),onAutoHide:()=>this.$emit(`auto-hide`),onResize:()=>this.$emit(`resize`)},{default:({popperId:e,isShown:t,shouldMountContent:n,skipTransition:r,autoHide:i,show:a,hide:o,handleResize:s,onResize:c,classes:l,result:u})=>{var d;return[(d=this.$slots).default?.call(d,{shown:t,show:a,hide:o}),q(wy,{ref:`popperContent`,popperId:e,theme:this.finalTheme,shown:t,mounted:n,skipTransition:r,autoHide:i,handleResize:s,classes:l,result:u,onHide:o,onResize:c},{default:()=>{var e;return(e=this.$slots).popper?.call(e,{shown:t,hide:o})}})]}})}});function Oy(e,t){return{...Dy,name:e,vPopperTheme:t}}var ky=Oy(`VDropdown`,`dropdown`),Ay=Oy(`VMenu`,`menu`),jy=Oy(`VTooltip`,`tooltip`),My=uy(),Ny=Tr({name:`VTooltipDirective`,mixins:[Ty],inheritAttrs:!1,props:{theme:{type:String,default:`tooltip`},html:{type:Boolean,default:e=>Jv(e.theme,`html`)},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Jv(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;let e=++this.$_fetchId,t=this.content(this);t.then?t.then(t=>this.onResult(e,t)):this.onResult(e,t)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}},render(){return q(My,{ref:`popper`,...this.$attrs,theme:this.theme,targetNodes:this.targetNodes,popperNode:()=>this.$refs.popperContent.$el,onApplyShow:this.onShow,onApplyHide:this.onHide},{default:({popperId:e,isShown:t,shouldMountContent:n,skipTransition:r,autoHide:i,hide:a,handleResize:o,onResize:s,classes:c,result:l})=>q(wy,{ref:`popperContent`,class:{"v-popper--tooltip-loading":this.loading},popperId:e,theme:this.theme,shown:t,mounted:n,skipTransition:r,autoHide:i,handleResize:o,classes:c,result:l,onHide:a,onResize:s},{default:()=>this.html?q(`div`,{innerHTML:this.finalContent}):q(`div`,{textContent:this.finalContent})})})}}),Py=`v-popper--has-tooltip`;function Fy(e,t){let n=e.placement;if(!n&&t)for(let e of $v)t[e]&&(n=e);return n||=Jv(e.theme||`tooltip`,`placement`),n}function Iy(e,t,n){let r,i=typeof t;return r=i===`string`?{content:t}:t&&i===`object`?t:{content:!1},r.placement=Fy(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}var Ly,Ry,zy=0;function By(){if(Ly)return;Ry=rn([]),Ly=Ac({name:`VTooltipDirectiveApp`,setup(){return{directives:Ry}},render(){return this.directives.map(e=>q(Ny,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});let e=document.createElement(`div`);document.body.appendChild(e),Ly.mount(e)}function Vy(e,t,n){By();let r=rn(Iy(e,t,n)),i=rn(!1),a={id:zy++,options:r,shown:i};return Ry.value.push(a),e.classList&&e.classList.add(Py),e.$_popper={options:r,item:a,show(){i.value=!0},hide(){i.value=!1}}}function Hy(e){if(e.$_popper){let t=Ry.value.indexOf(e.$_popper.item);t!==-1&&Ry.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Py)}function Uy(e,{value:t,modifiers:n}){let r=Iy(e,t,n);if(!r.content||Jv(r.theme||`tooltip`,`disabled`))Hy(e);else{let i;e.$_popper?(i=e.$_popper,i.options.value=r):i=Vy(e,t,n),t.shown!==void 0&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?i.show():i.hide())}}var Wy={beforeMount:Uy,updated:Uy,beforeUnmount(e){Hy(e)}};function Gy(e){e.addEventListener(`mousedown`,qy),e.addEventListener(`click`,qy),e.addEventListener(`touchstart`,Jy,Zv?{passive:!0}:!1)}function Ky(e){e.removeEventListener(`mousedown`,qy),e.removeEventListener(`click`,qy),e.removeEventListener(`touchstart`,Jy),e.removeEventListener(`touchend`,Yy),e.removeEventListener(`touchcancel`,Xy)}function qy(e){let t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Jy(e){if(e.changedTouches.length===1){let t=e.currentTarget;t.$_vclosepopover_touch=!0,t.$_vclosepopover_touchPoint=e.changedTouches[0],t.addEventListener(`touchend`,Yy),t.addEventListener(`touchcancel`,Xy)}}function Yy(e){let t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){let n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Xy(e){let t=e.currentTarget;t.$_vclosepopover_touch=!1}var Zy={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(t===void 0||t)&&Gy(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(t===void 0||t?Gy(e):Ky(e))},beforeUnmount(e){Ky(e)}};function Qy(e,t={}){if(!e.$_vTooltipInstalled){e.$_vTooltipInstalled=!0,Kv(qv,t),e.directive(`tooltip`,Wy),e.directive(`close-popper`,Zy);for(let t of[jy,ky,Ay])e.component(t.name,t)}}var $y={version:Gv,install:Qy,options:qv};function eb(e){e.use($y,{overflowPadding:20})}var tb=[mh,Qh,tg,ng,ig,ag,Rg,Vg,Hg,Zg,Qg,$l(e=>{eb(e.vueApp)})];function nb(e=G()){let t=e;t&&!t.sp&&(t.sp=[])}var rb=(e=`RouteProvider`)=>Tr({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean,routeRecord:Object},setup(e){let t=e.renderKey,n=e.route,r={};for(let i in e.route)Object.defineProperty(r,i,{get:()=>t===e.renderKey?e.route[i]:n[i],enumerable:!0});return Qn(gu,Kt(r)),()=>e.vnode?q(e.vnode,{ref:e.vnodeRef}):e.vnode}}),ib=rb(),ab=new WeakMap,ob=Tr({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:r}){let i=J(),a=rn(),o=z(gu,null),s=new Set,c,l;r({pageRef:a});let u=z(hu,null),d,f=i.deferHydration(),p=!1,m=!1,h,g=0;if(i.isHydrating){let e=i.hooks.hookOnce(`app:error`,f),t=Gf().beforeEach(()=>{e(),t()})}e.pageKey&&ir(()=>e.pageKey,(e,t)=>{e!==t&&i.callHook(`page:loading:start`)});let _=!1;{let e=Gf().beforeResolve(()=>{_=!1});ui(()=>{e(),f()})}return()=>q(rf,{name:e.name,route:e.route,...t},{default:lb(t=>{let r=sb(o,t.route,t.Component),v=o&&o.matched.length===t.route.matched.length;if(!t.Component)return d&&!v&&!db(d)?d:(f(),e.transition??t.route.meta.pageTransition??!1?Nf(If([e.transition,t.route.meta.pageTransition,!1]),null).default():void 0);if(d&&u&&!db(d)&&!u.isCurrent(t.route))return d;if(r&&o&&(!u||u?.isCurrent(o)))return(v||d)&&!db(d)?d:null;let y=yh(t,e.pageKey),b=cb(o,t.route,t.Component);!i.isHydrating&&l!==t.route&&c===y&&!b&&In(()=>{!_&&!p&&(_=!0,i.callHook(`page:loading:end`))}),p&&c!==y&&m&&g++,c=y,l=t.route;let x=!!(e.transition??t.route.meta.pageTransition??!1),S=x&&If([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){Rf(i),i.callHook(`page:transition:finish`,t.Component)}}]),C=e.keepalive??t.route.meta.keepalive??!1,w=t.Component.type,T=w.name||w.__name;t.route.meta.keepalive&&T&&s.add(T);let E;if(s.size>0&&e.keepalive==null&&(!C||typeof C==`object`&&C&&C.include)){let e=typeof C==`object`&&C?{...C}:{},t=e.include?Array.isArray(e.include)?e.include:[e.include]:[];E={...e,include:Array.from(new Set([...t,...s]))}}else E=C;return d=Nf(x&&S,bh(E,q(Ya,{key:g,suspensible:!0,onPending:()=>{p=!0,x&&m&&Lf(i),h=i.callHook(`page:start`,t.Component)},onResolve:async()=>{p=!1,m=!0,i.isHydrating&&i[`~restoreDeferredRoute`]?.();try{await In(),i._route.sync?.(),await h,await i.callHook(`page:finish`,t.Component),!_&&!b&&(_=!0,await i.callHook(`page:loading:end`))}finally{f()}}},{default:()=>{let e={key:y||void 0,vnode:n.default?ub(n.default,t):t.Component,route:t.route,renderKey:y||void 0,trackRootNodes:x,vnodeRef:a,routeRecord:void 0};if(!E)return q(ib,e);let r=w,i=ab.get(r);return i||(i=rb(T),ab.set(r,i)),q(i,e)}}))).default(),d})})}});function sb(e,t,n){if(!e)return!1;let r=t.matched.findIndex(e=>e.components?.default===n?.type);if(r===-1)return!1;let i=t.matched.slice(0,r).filter(e=>e.components?.default);if(!i.length)return!1;let a=e.matched.filter(e=>e.components?.default);return i.some((e,t)=>e.components?.default!==a[t]?.components?.default)||n&&yh({route:t,Component:n})!==yh({route:e,Component:n})}function cb(e,t,n){return e?t.matched.findIndex(e=>e.components?.default===n?.type)<t.matched.length-1:!1}function lb(e){let t=(t=>{let n=e(t);return Array.isArray(n)?n:n==null||!xo(n)?[Ao()]:[n]});return t._n=!0,t}function ub(e,t){let n=e(t);return n.length===1?q(n[0]):q(V,void 0,n)}function db(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}function fb(e,t){return je()?(Me(e,t),!0):!1}var pb=new WeakMap,mb=(...e)=>{let t=e[0],n=G()?.proxy??je();if(n==null&&!$n())throw Error(`injectLocal must be called in setup`);return n&&pb.has(n)&&t in pb.get(n)?pb.get(n)[t]:z(...e)},hb=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var gb=e=>e!==void 0,_b=Object.prototype.toString,vb=e=>_b.call(e)===`[object Object]`,yb=()=>{},bb=xb();function xb(){var e,t;return hb&&!!((e=window)!=null&&(e=e.navigator)!=null&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Sb(...e){if(e.length!==1)return hn(...e);let t=e[0];return typeof t==`function`?qt(fn(()=>({get:t,set:yb}))):rn(t)}function Cb(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return`cancel`in e&&Object.assign(n,{cancel:e.cancel,flush:e.flush,isPending:e.isPending}),n}var wb=e=>e();function Tb(e=wb,t={}){let{initialState:n=`active`}=t,r=Sb(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:Jt(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function Eb(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function Db(e){return Array.isArray(e)?e:[e]}function Ob(e){return e||G()}function kb(e,t,n={}){let{eventFilter:r=wb,...i}=n;return ir(e,Cb(r,t),i)}function Ab(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=Tb(r,{initialState:i});return{stop:kb(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function jb(e,t=!0,n){Ob(n)?si(e,n):t?e():In(e)}function Mb(e,t,n){return ir(e,t,{...n,immediate:!0})}var Nb=hb?window:void 0;hb&&window.document,hb&&window.navigator,hb&&window.location;function Pb(e){let t=cn(e);return t?.$el??t}function Fb(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=K(()=>{let t=Db(cn(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return Mb(()=>[n.value?.map(e=>Pb(e))??[Nb].filter(e=>e!=null),Db(cn(n.value?e[1]:e[0])),Db(L(n.value?e[2]:e[1])),cn(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=vb(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var Ib=!1;function Lb(e,t,n={}){let{window:r=Nb,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:yb,cancel:yb,trigger:yb}:yb;if(bb&&!Ib){Ib=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,yb,e)),r.document.documentElement.addEventListener(`click`,yb,e)}let c=!0,l=e=>cn(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=Pb(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=cn(e);return t&&t.$.subTree.shapeFlag===16}function d(e,t){let n=cn(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let f=n=>{let r=Pb(e);n.target!=null&&(!(r instanceof Element)&&u(e)&&d(e,n)||r&&r!==n.target&&!n.composedPath().includes(r)&&(`detail`in n&&n.detail===0&&(c=!l(n)),c?t(n):c=!0))},p=!1,m=[Fb(r,`click`,e=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(e))},{passive:!0,capture:a}),Fb(r,`pointerdown`,t=>{let n=Pb(e);c=!l(t)&&!(!n||t.composedPath().includes(n))},{passive:!0}),o&&Fb(r,`blur`,n=>{setTimeout(()=>{let i=Pb(e),a=r.document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;a?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),h=()=>m.forEach(e=>e());return s?{stop:h,cancel:()=>{c=!1},trigger:e=>{c=!0,f(e),c=!1}}:h}function Rb(){let e=an(!1),t=G();return t&&si(()=>{e.value=!0},t),e}function zb(e){let t=Rb();return K(()=>(t.value,!!e()))}function Bb(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Vb(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=Nb,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=Bb(t);return Fb(i,a,e=>{e.repeat&&cn(s)||c(e)&&n(e)},o)}function Hb(e,t,n={}){return Vb(e,t,{...n,eventName:`keydown`})}function Ub(e,t,n={}){return Vb(e,t,{...n,eventName:`keypress`})}var Wb=Symbol(`vueuse-ssr-width`);function Gb(){let e=$n()?mb(Wb,null):null;return typeof e==`number`?e:void 0}function Kb(e,t={}){let{window:n=Nb,ssrWidth:r=Gb()}=t,i=zb(()=>n&&`matchMedia`in n&&typeof n.matchMedia==`function`),a=an(typeof r==`number`),o=an(),s=an(!1);return nr(()=>{if(a.value){a.value=!i.value;let t=cn(e).split(`,`);s.value=t.some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||i);return n&&a&&(a=r>=Eb(n[1])),i&&a&&(a=r<=Eb(i[1])),t?!a:a})}else i.value&&(o.value=n.matchMedia(cn(e)),s.value=o.value.matches)}),Fb(o,`change`,e=>{s.value=e.matches},{passive:!0}),K(()=>s.value)}function qb(e){return JSON.parse(JSON.stringify(e))}var Jb=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},Yb=`__vueuse_ssr_handlers__`,Xb=Zb();function Zb(){return Yb in Jb||(Jb[Yb]=Jb[Yb]||{}),Jb[Yb]}function Qb(e,t){return Xb[e]||t}function $b(e){return Kb(`(prefers-color-scheme: dark)`,e)}function ex(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`}var tx={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()}},nx=`vueuse-storage`;function rx(e,t,n,r={}){let{flush:i=`pre`,deep:a=!0,listenToStorageChanges:o=!0,writeDefaults:s=!0,mergeDefaults:c=!1,shallow:l,window:u=Nb,eventFilter:d,onError:f=e=>{console.error(e)},initOnMounted:p}=r,m=(l?an:rn)(typeof t==`function`?t():t),h=K(()=>cn(e));if(!n)try{n=Qb(`getDefaultStorage`,()=>Nb?.localStorage)()}catch(e){f(e)}if(!n)return m;let g=cn(t),_=ex(g),v=r.serializer??tx[_],{pause:y,resume:b}=Ab(m,e=>C(e),{flush:i,deep:a,eventFilter:d});ir(h,()=>T(),{flush:i});let x=!1;u&&o&&(n instanceof Storage?Fb(u,`storage`,e=>{(!p||x)&&T(e)},{passive:!0}):Fb(u,nx,e=>{(!p||x)&&E(e)})),p?jb(()=>{x=!0,T()}):T();function S(e,t){if(u){let r={key:h.value,oldValue:e,newValue:t,storageArea:n};u.dispatchEvent(n instanceof Storage?new StorageEvent(`storage`,r):new CustomEvent(nx,{detail:r}))}}function C(e){try{let t=n.getItem(h.value);if(e==null)S(t,null),n.removeItem(h.value);else{let r=v.write(e);t!==r&&(n.setItem(h.value,r),S(t,r))}}catch(e){f(e)}}function w(e){let t=e?e.newValue:n.getItem(h.value);if(t==null)return s&&g!=null&&n.setItem(h.value,v.write(g)),g;if(!e&&c){let e=v.read(t);return typeof c==`function`?c(e,g):_===`object`&&!Array.isArray(e)?{...g,...e}:e}return typeof t==`string`?v.read(t):t}function T(e){if(!(e&&e.storageArea!==n)){if(e&&e.key==null)m.value=g;else if(!(e&&e.key!==h.value)){y();try{let t=v.write(m.value);(e===void 0||e?.newValue!==t)&&(m.value=w(e))}catch(e){f(e)}finally{e?In(b):b()}}}}function E(e){T(e.detail)}return m}function ix(e,t,n={}){let{window:r=Nb,...i}=n,a,o=zb(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=ir(K(()=>{let t=cn(e);return Array.isArray(t)?t.map(e=>Pb(e)):[Pb(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t instanceof Element&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return fb(l),{isSupported:o,stop:l}}var ax={ctrl:`control`,command:`meta`,cmd:`meta`,option:`alt`,up:`arrowup`,down:`arrowdown`,left:`arrowleft`,right:`arrowright`};function ox(e={}){let{reactive:t=!1,target:n=Nb,aliasMap:r=ax,passive:i=!0,onEventFired:a=yb}=e,o=Gt(new Set),s={toJSON(){return{}},current:o},c=t?Gt(s):s,l=new Set,u=new Map([[`Meta`,l],[`Shift`,new Set],[`Alt`,new Set]]),d=new Set;function f(e,n){e in c&&(t?c[e]=n:c[e].value=n)}function p(){o.clear();for(let e of d)f(e,!1)}function m(e,t,n){if(e&&typeof t.getModifierState==`function`){for(let[e,r]of u)if(t.getModifierState(e)){n.forEach(e=>r.add(e));break}}}function h(e,t){if(e)return;let n=`${t[0].toUpperCase()}${t.slice(1)}`,r=u.get(n);if(![`shift`,`alt`].includes(t)||!r)return;let i=Array.from(r),a=i.indexOf(t);i.forEach((e,t)=>{t>=a&&(o.delete(e),f(e,!1))}),r.clear()}function g(e,t){let n=e.key?.toLowerCase(),r=[e.code?.toLowerCase(),n].filter(Boolean);if(n){n&&(t?o.add(n):o.delete(n));for(let e of r)d.add(e),f(e,t);m(t,e,[...o,...r]),h(t,n),n===`meta`&&!t&&(l.forEach(e=>{o.delete(e),f(e,!1)}),l.clear())}}Fb(n,`keydown`,e=>(g(e,!0),a(e)),{passive:i}),Fb(n,`keyup`,e=>(g(e,!1),a(e)),{passive:i}),Fb(`blur`,p,{passive:i}),Fb(`focus`,p,{passive:i});let _=new Proxy(c,{get(e,n,i){if(typeof n!=`string`)return Reflect.get(e,n,i);if(n=n.toLowerCase(),n in r&&(n=r[n]),!(n in c)){if(/[+_-]/.test(n)){let e=n.split(/[+_-]/g).map(e=>e.trim());c[n]=K(()=>e.map(e=>cn(_[e])).every(Boolean))}else c[n]=an(!1)}let a=Reflect.get(e,n,i);return t?cn(a):a}});return _}function sx(e,t,n,r={}){var i,a;let{clone:o=!1,passive:s=!1,eventName:c,deep:l=!1,defaultValue:u,shouldEmit:d}=r,f=G(),p=n||f?.emit||(f==null||(i=f.$emit)==null?void 0:i.bind(f))||(f==null||(a=f.proxy)==null||(a=a.$emit)==null?void 0:a.bind(f?.proxy)),m=c;t||=`modelValue`,m||=`update:${t.toString()}`;let h=e=>o?typeof o==`function`?o(e):qb(e):e,g=()=>gb(e[t])?h(e[t]):u,_=e=>{d?d(e)&&p(m,e):p(m,e)};if(s){let n=rn(g()),r=!1;return ir(()=>e[t],e=>{r||(r=!0,n.value=h(e),In(()=>r=!1))}),ir(n,n=>{!r&&(n!==e[t]||l)&&_(n)},{deep:l}),n}return K({get(){return g()},set(e){_(e)}})}var cx=rx(`vite-devtools-color-scheme`,`auto`),lx=$b(),ux=K({get:()=>cx.value===`auto`?lx.value:cx.value===`dark`,set:e=>{cx.value=e?`dark`:`light`}});function dx(){typeof document<`u`&&nr(()=>{let e=document.documentElement;e.classList.toggle(`dark`,ux.value),e.classList.toggle(`light`,!ux.value)})}function fx(e){let t=new Hc;for(let n in e||{})t.hook(n,e[n]);return t}function px(e,t){let n=e.push,r=e;r.ssr=!1,r.hooks=t,r.dirty=!!r.dirty;function i(){r.dirty=!0,t.callHook(`entries:updated`,r),r._b||r.render()}return r.invalidate=()=>{for(let e of r.entries.values())delete e._tags;i()},r.push=(a,o)=>{let s=o?.onRendered?t.hook(`dom:rendered`,o.onRendered):void 0,c=n(a,o),l=e.entries.get(c._i);return l&&(l._o=a),i(),{_i:c._i,patch(e){c.patch(e),i()},dispose(){s?.(),e.entries.has(c._i)&&(c.dispose(),r.invalidate())}}},r}function mx(e={}){return t=>vx(t,e)}function hx(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function gx(e){for(let t in e)e[t](),delete e[t]}function _x(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let t of e.entries.values())for(let e of[`bodyAttrs`,`htmlAttrs`]){let r=t._o?.[e]?.class;if(typeof r==`string`){let t=n._e.get(e);for(let i of r.split(rm))i&&(n._p[`${e}:attr:class:${i}`]=()=>t.classList.remove(i))}}return n}function vx(e,t={},n){let r=t.document||e.resolvedOptions.document,i=e._dom;if(!r||e._du||i&&i._d===r&&!e.dirty&&!hx(e))return!1;let a=r.defaultView;e._du=!0;try{let n=function(e,t,n){d._s[e]=n&&f[e]||t,delete f[e]},o=function(e,t,r,i,a,o){let s=`${e}:event:${t}`,c=d._l.get(s);if(c&&c[0]===o&&c[1]===i){n(s,c[2],!0);return}c?.[2]();let l=`data-${t}`,u=(e=>i.call(a,e)),f=()=>{o.removeEventListener(r,u),a.getAttribute(l)===``&&a.removeAttribute(l),d._l.get(s)?.[2]===f&&d._l.delete(s)};o.addEventListener(r,u),d._l.set(s,[o,i,f]),a.setAttribute(l,``),n(s,f)},s=function(e,t,r,i,a){a!=null&&a!==``&&(a!==t[r]&&(t[r]=a),n(`${e}:${i}`,()=>{t[r]===a&&(t[r]=``)}))},c=function({id:e,$el:t,tag:r}){d._e.set(e,t),r.tag.endsWith(`Attrs`)||(s(e,t,`textContent`,`text`,r.textContent),s(e,t,`innerHTML`,`html`,r.innerHTML),n(`${e}:el`,()=>{t.remove(),d._e.delete(e)},!0));for(let i in r.props){let s=r.props[i];if(i.startsWith(`on`)&&typeof s==`function`){let n=i.slice(2);t.dataset?.[`${i}fired`]&&s.call(t,new((a?.Event)||Event)(n)),o(e,i,n,s,t,r.tag===`bodyAttrs`&&a?a:t);continue}let c=`${e}:attr:${i}`;if(i===`class`&&s)for(let e of s)n(`${c}:${e}`,()=>t.classList.remove(e),!0),t.classList.contains(e)||t.classList.add(e);else if(i===`style`&&s)for(let[e,r]of s)n(`${c}:${e}`,()=>t.style.removeProperty(e),!0),t.style.setProperty(e,r);else if(s!==!1&&s!==null){{let e=s===!0?``:String(s);t.getAttribute(i)!==e&&t.setAttribute(i,e)}n(c,()=>t.removeAttribute(i),!0)}}},l={shouldRender:!0,tags:[]};if(Vm(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=i;u&&u._d!==r&&(gx(u._s),gx(u._p),u._e.clear(),u._l.clear(),u=void 0),u&&(u._p=u._s,u._s={});let d=u||_x(e,r),f=d._p,p=[],m={};e.dirty=!1;let h=th(e,t,!1),g=[],_={};for(let e of h){let t=_[e._d]||0,i=(t?`${e._d}:${t}`:e._d)||e._h,a={tag:e,id:i,shouldRender:!0};e.tag===`meta`&&e._d&&Rm(e._d)&&(_[e._d]=t+1),g.push(a),e.tag===`title`?(r.title=e.textContent,n(`title:`,()=>r.title=d._t,!0)):(a.$el=d._e.get(i),a.$el?c(a):Hp.has(e.tag)&&p.push(a))}if(p.length){let e=p.some(({id:e})=>e?.includes(`:content:`)),t=new Set;for(let[e,n]of d._e){let r=`${e}:el`;d._s[r]===void 0&&f[r]===void 0&&!n.isConnected?d._e.delete(e):t.add(n)}for(let n of[...r.body.children,...r.head.children]){if(t.has(n))continue;let r=n.tagName,i=r.toLowerCase();if(!Hp.has(i))continue;let a={};for(let e of n.getAttributeNames())a[e]=n.getAttribute(e);let o=r===`LINK`&&n.localName===`link`&&a.rel&&a.href&&a.hreflang!==``&&a.charset!==``&&a.id!==``,s={tag:i,props:o?a:{}};o||am(s,a),s.key=a[`data-hid`]||void 0;let c=zm(s);if(!c){if(a.innerHTML===void 0&&(s.innerHTML=n.innerHTML),c=zm(s),c&&!e)continue;c||=Bm(s)}let l=c,u=1;for(;d._e.has(l);)l=`${c}:${u++}`;d._e.set(l,n)}}for(let e of p){let t=d._e.get(e.id);e.$el=t||r.createElement(e.tag.tag),c(e),t||(m[e.tag.tagPosition||`head`]??=r.createDocumentFragment()).appendChild(e.$el)}m.head&&r.head.appendChild(m.head),m.bodyOpen&&r.body.insertBefore(m.bodyOpen,r.body.firstChild),m.bodyClose&&r.body.appendChild(m.bodyClose),gx(f),e._dom=d,Vm(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return(e.dirty||hx(e))&&vx(e,t),!0}var yx=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(Jp[e.tagPriority]||0);function bx(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=px(dh(e.render||mx({document:e.document}),{document:e.document,propResolvers:e.propResolvers,_tagWeight:yx,init:[]}),fx(e.hooks));return e.plugins?.forEach(e=>t.use(e)),e.init?.forEach(e=>e&&t.push(e)),t}function xx(e={}){let t=mx(),n,r=0;return n=bx({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=ah(n),n}var Sx={disableDefaults:!0,plugins:[Ep,Pp,zp,Tp]},Cx=[],wx=()=>xx(Sx);function Tx(e){let t=ph(e);return t.head||Ex(e,wx()),t.head}function Ex(e,t){let n=ph(e);n.head=t;let r=t.render;n.render=r,t.render=()=>!n.paused&&r(),t.push(Vl),n.pushAppComponentHead=()=>{for(let e of Cx)t.push(e)},n.rootSetup&&n.pushAppComponentHead(),delete e.vueApp._context?.provides[nh],e.vueApp.use(t),t.hooks?.hook(`dom:beforeRender`,e=>{e.shouldRender=!n.paused});let i=t.push.bind(t);t.push=((t,n)=>{let r=i(t,n),a=r.dispose.bind(r);return r.dispose=()=>{let t=e[`~transitionPromise`];t?t.finally(a):a()},r})}function Dx(e){let t=e||J();return t.runWithContext(()=>$n()?z(`usehead`,null):null)||Tx(t)}function Ox(e,t={}){return sh(e,{head:t.head||Dx(t.nuxt),...t})}function kx(e,t={}){return lh(e,{head:t.head||Dx(t.nuxt),...t})}var Ax=/^[\w+.-]{2,}:\/\//;function jx(e){return e.endsWith(`/`)?e:`${e}/`}function Mx(e){return(e.endsWith(`/`)?e.slice(0,-1):e)||`/`}function Nx(e,...t){let n=e;for(let e of t)e&&e!==`/`&&(n=n?jx(n)+e.replace(/^\.?\//,``):e);return n}function Px(e,t){if(!t||t===`/`||Ax.test(e))return e;let n=Mx(t);return e.startsWith(n)?e:Nx(n,e)}function Fx(e,t){let n=e.match(Ax);return t+(n?e.slice(n[0].length):e)}function Ix(e,t){let n=`\x1B[${e}m`,r=`\x1B[${t}m`;return((e,...t)=>{if(Array.isArray(e)&&`raw`in e){let i=e,a=``;for(let e=0;e<i.length;e++)a+=i[e],e<t.length&&(a+=String(t[e]));return`${n}${a}${r}`}return`${n}${String(e)}${r}`})}var Lx={blue:Ix(34,39),cyan:Ix(36,39),gray:Ix(90,39),green:Ix(32,39),red:Ix(31,39),yellow:Ix(33,39),bold:Ix(1,22),dim:Ix(2,22),reset:Ix(0,0),underline:Ix(4,24)},Z={bus:{agentManifestChanged:`agent:manifest:changed`,agentToolRegistered:`agent:tool:registered`,agentToolUnregistered:`agent:tool:unregistered`,agentResourceRegistered:`agent:resource:registered`,agentResourceUnregistered:`agent:resource:unregistered`},client:{isTrustedUpdated:`rpc:is-trusted:updated`,error:`rpc:error`,connectionStatus:`connection:status`,connectionError:`connection:error`},broadcast:{authRevoked:`devframe:auth:revoked`,cacheInvalidate:`devframe:rpc:cache:invalidate`,clientStateUpdated:`devframe:rpc:client-state:updated`,clientStatePatch:`devframe:rpc:client-state:patch`,streamingChunk:`devframe:streaming:chunk`,streamingEnd:`devframe:streaming:end`,streamingUploadCancel:`devframe:streaming:upload-cancel`},sharedState:{tracingChannels:`devframe:tracing:channels`},stream:{tracing:`devframe:tracing`},inPageChannel:{panelStateUpdated:`devframe:in-page:panel-state:updated`,panelStatePatch:`devframe:in-page:panel-state:patch`},postMessage:{remoteAssetsError:`devframe:remote-assets-error`,inPageChannel:`devframe:in-page-channel`}},Rx=$c(Lx);function zx(e,{method:t=`warn`}={}){console[t](Rx(e))}function Bx(e){return Zc({...e,reporters:[zx,...e.reporters??[]]})}function Vx(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var Hx=Math.random.bind(Math),Ux=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function Wx(e=21){let t=``,n=e;for(;n--;)t+=Ux[Hx()*64|0];return t}var Gx=6e4,Kx=e=>e,qx=Kx,{clearTimeout:Jx,setTimeout:Yx}=globalThis;function Xx(e,t){let{post:n,on:r,off:i=()=>{},eventNames:a=[],serialize:o=Kx,deserialize:s=qx,resolver:c,bind:l=`rpc`,timeout:u=Gx,proxify:d=!0}=t,f=!1,p=new Map,m,h;async function g(e,r,i,a){if(f)throw Error(`[birpc] rpc is closed, cannot call "${e}"`);let s={m:e,a:r,t:`q`};a&&(s.o=!0);let c=async e=>n(o(e));if(i){await c(s);return}if(m)try{await m}finally{m=void 0}let{promise:l,resolve:d,reject:g}=Vx(),_=Wx();s.i=_;let v;async function y(n=s){return u>=0&&(v=Yx(()=>{try{if(t.onTimeoutError?.call(h,e,r)!==!0)throw Error(`[birpc] timeout on calling "${e}"`)}catch(e){g(e)}p.delete(_)},u),typeof v==`object`&&(v=v.unref?.())),p.set(_,{resolve:d,reject:g,timeoutId:v,method:e}),await c(n),l}try{t.onRequest?await t.onRequest.call(h,s,y,d):await y()}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}finally{Jx(v),p.delete(_)}return l}let _={$call:(e,...t)=>g(e,t,!1),$callOptional:(e,...t)=>g(e,t,!1,!0),$callEvent:(e,...t)=>g(e,t,!0),$callRaw:e=>g(e.method,e.args,e.event,e.optional),$rejectPendingCalls:y,get $closed(){return f},get $meta(){return t.meta},$close:v,$functions:e};h=d?new Proxy({},{get(t,n){if(Object.hasOwn(_,n))return _[n];if(n===`then`&&!a.includes(`then`)&&!(`then`in e))return;let r=(...e)=>g(n,e,!0);if(a.includes(n))return r.asEvent=r,r;let i=(...e)=>g(n,e,!1);return i.asEvent=r,i}}):_;function v(e){f=!0,p.forEach(({reject:t,method:n})=>{let r=Error(`[birpc] rpc is closed, cannot call "${n}"`);if(e)return e.cause??=r,t(e);t(r)}),p.clear(),i(b)}function y(e){let t=Array.from(p.values()).map(({method:t,reject:n})=>e?e({method:t,reject:n}):n(Error(`[birpc]: rejected pending call "${t}".`)));return p.clear(),t}async function b(r,...i){let a;try{a=s(r)}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}if(a.t===`q`){let{m:r,a:s,o:u}=a,d,f,p=await(c?c.call(h,r,e[r]):e[r]);if(u&&(p||=()=>void 0),!p)f=Error(`[birpc] function "${r}" not found`);else try{d=await p.apply(l===`rpc`?h:e,s)}catch(e){f=e}if(a.i){if(f&&t.onFunctionError&&t.onFunctionError.call(h,f,r,s)===!0)return;if(!f)try{await n(o({t:`s`,i:a.i,r:d}),...i);return}catch(e){if(f=e,t.onGeneralError?.call(h,e,r,s)!==!0)throw e}try{await n(o({t:`s`,i:a.i,e:f}),...i)}catch(e){if(t.onGeneralError?.call(h,e,r,s)!==!0)throw e}}}else{let{i:e,r:t,e:n}=a,r=p.get(e);r&&(Jx(r.timeoutId),n?r.reject(n):r.resolve(t)),p.delete(e)}}return m=r(b),h}function Zx(e,t){return t.safety?t.safety:e===`static`||e===`query`||e==null?`read`:`action`}var Qx=Object.freeze({type:`object`,additionalProperties:!0});function $x(e){let t=e[`~standard`];if(t.jsonSchema)try{return t.jsonSchema.input({target:`draft-2020-12`})}catch{return Qx}return Qx}function eS(e){if(!e||e.length===0)return{type:`object`,properties:{}};let t={},n=[];for(let r=0;r<e.length;r++){let i=`arg${r}`;t[i]=$x(e[r]),n.push(i)}return{type:`object`,properties:t,required:n,additionalProperties:!1}}function tS(e,t){if(Array.isArray(e))return e;if(e==null)return[];if(typeof e!=`object`)return;let n=e;if(t!=null)return Array.from({length:t},(e,t)=>n[`arg${t}`]);if(`arg0`in n){let e=[];for(;`arg${e.length}`in n;)e.push(n[`arg${e.length}`]);return e}return Object.keys(n).length===0?[]:void 0}function nS(e,t){return tS(e,t)??[e]}function rS(e){return typeof e==`string`?`'${e}'`:new sS().serialize(e)}var iS=` _-,;:!?.'"()[]{}@*/\\&#%\`^+<=>|~$0123456789abcdefghijklmnopqrstuvwxyz`,aS=(function(){let e=new Uint8Array(128);for(let t=0;t<69;t++)e[iS.charCodeAt(t)]=t+1;for(let t=65;t<=90;t++)e[t]=e[t+32];return e})();function oS(e,t){if(e===t)return 0;let n=Math.min(e.length,t.length),r=0;for(let i=0;i<n;i++){let n=e.charCodeAt(i),a=t.charCodeAt(i);if(n===a)continue;let o=n<128&&aS[n]?aS[n]:n+128,s=a<128&&aS[a]?aS[a]:a+128;if(o!==s)return o<s?-1:1;r===0&&(r=n>a?-1:1)}return e.length===t.length?r:e.length<t.length?-1:1}var sS=(function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?oS(e,t):n===`number`&&r===`number`?e-t:oS(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(`toJSON`in e&&typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}let i=Object.keys(e).sort(oS),a=`${r}{`;for(let t=0;t<i.length;t++){let n=i[t];a+=`${n}:${this.serialize(e[n])}`,t<i.length-1&&(a+=`,`)}return a+`}`}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e})(),cS=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],lS=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],uS=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`,dS=[],fS=class{_data=new pS;_hash=new pS([...cS]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);let t=this._nDataBytes*8,n=this._data.sigBytes*8;return this._data.words[n>>>5]|=128<<24-n%32,this._data.words[(n+64>>>9<<4)+14]=Math.floor(t/4294967296),this._data.words[(n+64>>>9<<4)+15]=t,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,t){let n=this._hash.words,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7];for(let n=0;n<64;n++){if(n<16)dS[n]=e[t+n]|0;else{let e=dS[n-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,r=dS[n-2],i=(r<<15|r>>>17)^(r<<13|r>>>19)^r>>>10;dS[n]=t+dS[n-7]+i+dS[n-16]}let d=s&c^~s&l,f=r&i^r&a^i&a,p=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),m=(s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25),h=u+m+d+lS[n]+dS[n],g=p+f;u=l,l=c,c=s,s=o+h|0,o=a,a=i,i=r,r=h+g|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+l|0,n[7]=n[7]+u|0}_append(e){typeof e==`string`&&(e=pS.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let t,n=this._data.sigBytes/64;n=e?Math.ceil(n):Math.max((n|0)-this._minBufferSize,0);let r=n*16,i=Math.min(r*4,this._data.sigBytes);if(r){for(let e=0;e<r;e+=16)this._doProcessBlock(this._data.words,e);t=this._data.words.splice(0,r),this._data.sigBytes-=i}return new pS(t,i)}},pS=class e{words;sigBytes;constructor(e,t){e=this.words=e||[],this.sigBytes=t===void 0?e.length*4:t}static fromUtf8(t){let n=unescape(encodeURIComponent(t)),r=n.length,i=[];for(let e=0;e<r;e++)i[e>>>2]|=(n.charCodeAt(e)&255)<<24-e%4*8;return new e(i,r)}toBase64(){let e=[];for(let t=0;t<this.sigBytes;t+=3){let n=this.words[t>>>2]>>>24-t%4*8&255,r=this.words[t+1>>>2]>>>24-(t+1)%4*8&255,i=this.words[t+2>>>2]>>>24-(t+2)%4*8&255,a=n<<16|r<<8|i;for(let n=0;n<4&&t*8+n*6<this.sigBytes*8;n++)e.push(uS.charAt(a>>>6*(3-n)&63))}return e.join(``)}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let t=0;t<e.sigBytes;t++){let n=e.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=n<<24-(this.sigBytes+t)%4*8}else for(let t=0;t<e.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=e.words[t>>>2];this.sigBytes+=e.sigBytes}};function mS(e){return new fS().finalize(e).toBase64()}function hS(e){return mS(rS(e))}function gS(e){return hS(e)}function _S(){let e={};function t(t,...n){let r=e[t]||[];for(let e=0,t=r.length;e<t;e++){let t=r[e];t&&t(...n)}}function n(n,...r){t(n,...r),delete e[n]}function r(t,n){return(e[t]||=[]).push(n),()=>{e[t]=e[t]?.filter(e=>n!==e)}}function i(e,t){let n=r(e,((...e)=>(n(),t(...e))));return n}return{_listeners:e,emit:t,emitOnce:n,on:r,once:i}}var vS=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function yS(e=21){let t=``,n=e;for(;n--;)t+=vS[Math.random()*64|0];return t}var bS=Symbol.for(`immer-nothing`),xS=Symbol.for(`immer-draftable`),Q=Symbol.for(`immer-state`),SS=[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},`This object has been frozen and should not be mutated`,function(e){return`Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? `+e},`An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.`,`Immer forbids circular references`,"The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},`Object.defineProperty() cannot be used on an Immer draft`,`Object.setPrototypeOf() cannot be used on an Immer draft`,`Immer only supports deleting array indices`,`Immer only supports setting array indices and the 'length' property`,function(e){return`'original' expects a draft, got: ${e}`}];function $(e,...t){{let n=SS[e],r=KS(n)?n.apply(null,t):n;throw Error(`[Immer] ${r}`)}}var CS=Object,wS=CS.getPrototypeOf,TS=`constructor`,ES=`prototype`,DS=`configurable`,OS=`enumerable`,kS=`writable`,AS=`value`,jS=e=>!!e&&!!e[Q];function MS(e){return e?FS(e)||HS(e)||!!e[xS]||!!e[TS]?.[xS]||US(e)||WS(e):!1}var NS=CS[ES][TS].toString(),PS=new WeakMap;function FS(e){if(!e||!GS(e))return!1;let t=wS(e);if(t===null||t===CS[ES])return!0;let n=CS.hasOwnProperty.call(t,TS)&&t[TS];if(n===Object)return!0;if(!KS(n))return!1;let r=PS.get(n);return r===void 0&&(r=Function.toString.call(n),PS.set(n,r)),r===NS}function IS(e,t,n=!0){LS(e)===0?(n?Reflect.ownKeys(e):CS.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function LS(e){let t=e[Q];return t?t.type_:HS(e)?1:US(e)?2:WS(e)?3:0}var RS=(e,t,n=LS(e))=>n===2?e.has(t):CS[ES].hasOwnProperty.call(e,t),zS=(e,t,n=LS(e))=>n===2?e.get(t):e[t],BS=(e,t,n,r=LS(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function VS(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var HS=Array.isArray,US=e=>e instanceof Map,WS=e=>e instanceof Set,GS=e=>typeof e==`object`,KS=e=>typeof e==`function`,qS=e=>typeof e==`boolean`;function JS(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var YS=e=>GS(e)?e?.[Q]:null,XS=e=>e.copy_||e.base_,ZS=e=>e.modified_?e.copy_:e.base_;function QS(e,t){if(US(e))return new Map(e);if(WS(e))return new Set(e);if(HS(e))return Array[ES].slice.call(e);let n=FS(e);if(t===!0||t===`class_only`&&!n){let t=CS.getOwnPropertyDescriptors(e);delete t[Q];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[kS]===!1&&(a[kS]=!0,a[DS]=!0),(a.get||a.set)&&(t[i]={[DS]:!0,[kS]:!0,[OS]:a[OS],[AS]:e[i]})}return CS.create(wS(e),t)}{let t=wS(e);if(t!==null&&n)return{...e};let r=CS.create(t);return CS.assign(r,e)}}function $S(e,t=!1){return nC(e)||jS(e)||!MS(e)||(LS(e)>1&&CS.defineProperties(e,{set:tC,add:tC,clear:tC,delete:tC}),CS.freeze(e),t&&IS(e,(e,t)=>{$S(t,!0)},!1)),e}function eC(){$(2)}var tC={[AS]:eC};function nC(e){return e===null||!GS(e)||CS.isFrozen(e)}var rC=`MapSet`,iC=`Patches`,aC=`ArrayMethods`,oC={};function sC(e){let t=oC[e];return t||$(0,e),t}var cC=e=>!!oC[e];function lC(e,t){oC[e]||(oC[e]=t)}var uC,dC=()=>uC,fC=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:cC(rC)?sC(rC):void 0,arrayMethodsPlugin_:cC(aC)?sC(aC):void 0});function pC(e,t){t&&(e.patchPlugin_=sC(iC),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function mC(e){hC(e),e.drafts_.forEach(_C),e.drafts_=null}function hC(e){e===uC&&(uC=e.parent_)}var gC=e=>uC=fC(uC,e);function _C(e){let t=e[Q];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function vC(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[Q].modified_&&(mC(t),$(4)),MS(e)&&(e=yC(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[Q].base_,e,t)}else e=yC(t,n);return bC(t,e,!0),mC(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===bS?void 0:e}function yC(e,t){if(nC(t))return t;let n=t[Q];if(!n)return OC(t,e.handledSet_,e);if(!SC(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);EC(n,e)}return n.copy_}function bC(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&$S(t,n)}function xC(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var SC=(e,t)=>e.scope_===t,CC=[];function wC(e,t,n,r){let i=XS(e),a=e.type_;if(r!==void 0&&zS(i,r,a)===t){BS(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;IS(i,(e,n)=>{if(jS(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??CC;for(let e of o)BS(i,e,n,a)}function TC(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!SC(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=ZS(i);wC(e,i.draft_??i,a,n),EC(i,r)})}function EC(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}xC(e)}}function DC(e,t,n){let{scope_:r}=e;if(jS(n)){let i=n[Q];SC(i,r)&&i.callbacks_.push(function(){LC(e),wC(e,n,ZS(i),t)})}else MS(n)&&e.callbacks_.push(function(){let i=XS(e);e.type_===3?i.has(n)&&OC(n,r.handledSet_,r):zS(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&OC(zS(e.copy_,t,e.type_),r.handledSet_,r)})}function OC(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||jS(e)||t.has(e)||!MS(e)||nC(e)||(t.add(e),IS(e,(r,i)=>{if(jS(i)){let t=i[Q];SC(t,n)&&(BS(e,r,ZS(t),e.type_),xC(t))}else MS(i)&&OC(i,t,n)})),e}function kC(e,t){let n=HS(e),r={type_:+!!n,scope_:t?t.scope_:dC(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=AC;n&&(i=[r],a=jC);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var AC={get(e,t){if(t===Q)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=XS(e);if(!RS(i,t,e.type_))return PC(e,i,t);let a=i[t];if(e.finalized_||!MS(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&JS(t))return a;if(a===MC(e.base_,t)||NC(e,t,a)){LC(e);let n=e.type_===1?+t:t,r=zC(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in XS(e)},ownKeys(e){return Reflect.ownKeys(XS(e))},set(e,t,n){let r=FC(XS(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=MC(XS(e),t),i=r?.[Q];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.delete(t),!0;if(VS(n,r)&&(n!==void 0||RS(e.base_,t,e.type_)))return!0;LC(e),IC(e)}return e.copy_[t]===n&&(n!==void 0||RS(e.copy_,t,e.type_))||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_.set(t,!0),DC(e,t,n)),!0},deleteProperty(e,t){return LC(e),MC(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),IC(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=XS(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[kS]:!0,[DS]:e.type_!==1||t!==`length`,[OS]:r[OS],[AS]:n[t]}},defineProperty(){$(11)},getPrototypeOf(e){return wS(e.base_)},setPrototypeOf(){$(12)}},jC={};for(let e in AC){let t=AC[e];jC[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}jC.deleteProperty=function(e,t){return isNaN(parseInt(t))&&$(13),jC.set.call(this,e,t,void 0)},jC.set=function(e,t,n){return t!==`length`&&isNaN(parseInt(t))&&$(14),AC.set.call(this,e[0],t,n,e[0])};function MC(e,t){let n=e[Q];return(n?XS(n):e)[t]}function NC(e,t,n){return e.type_!==1||!e.allIndicesReassigned_||!MS(n)||n[Q]?!1:e.baseRefs_.has(n)}function PC(e,t,n){let r=FC(t,n);return r?AS in r?r[AS]:r.get?.call(e.draft_):void 0}function FC(e,t){if(!(t in e))return;let n=wS(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=wS(n)}}function IC(e){e.modified_||(e.modified_=!0,e.parent_&&IC(e.parent_))}function LC(e){e.copy_||=(e.assigned_=new Map,QS(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var RC=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(KS(e)&&!KS(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}KS(t)||$(6),n!==void 0&&!KS(n)&&$(7);let r;if(MS(e)){let i=gC(this),a=zC(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?mC(i):hC(i)}return pC(i,n),vC(r,i)}if(!e||!GS(e)){if(r=t(e),r===void 0&&(r=e),r===bS&&(r=void 0),this.autoFreeze_&&$S(r,!0),n){let t=[],i=[];sC(iC).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}$(1,e)},this.produceWithPatches=(e,t)=>{if(KS(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},qS(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze);let t=e?.useStrictShallowCopy;(qS(t)||t===`class_only`)&&this.setUseStrictShallowCopy(t),qS(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){MS(e)||$(8),jS(e)&&(e=BC(e));let t=gC(this),n=zC(t,e,void 0);return n[Q].isManual_=!0,hC(t),n}finishDraft(e,t){let n=e&&e[Q];n&&n.isManual_||$(9);let{scope_:r}=n;return pC(r,t),vC(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=sC(iC).applyPatches_;return jS(e)?r(e,t):this.produce(e,e=>r(e,t))}};function zC(e,t,n,r){let[i,a]=US(t)?sC(rC).proxyMap_(t,n):WS(t)?sC(rC).proxySet_(t,n):kC(t,n);return(n?.scope_??dC()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?TC(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function BC(e){return jS(e)||$(10,e),VC(e)}function VC(e){if(!MS(e)||nC(e))return e;let t=e[Q],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=QS(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=QS(e,!0);let i=n;return WS(n)&&(n=new Set),IS(i,(e,t)=>{BS(n,e,VC(t))},r),t&&(t.finalized_=!1),n}function HC(){SS.push(`Sets cannot have "replace" patches.`,function(e){return`Unsupported patch operation: `+e},function(e){return`Cannot apply patch, path doesn't resolve: `+e},`Patching reserved attributes like __proto__, prototype and constructor is not allowed`);function e(n,r=[]){if(n.key_!==void 0){let e=n.parent_.copy_??n.parent_.base_,t=YS(zS(e,n.key_)),i=zS(e,n.key_);if(i===void 0||i!==n.draft_&&i!==n.copy_||t!=null&&t.base_!==n.base_)return null;let a=n.parent_.type_===3,o;if(a){let e=n.parent_;o=Array.from(e.drafts_.keys()).indexOf(n.key_)}else o=n.key_;if(!(a&&e.size>o||RS(e,o))||n.parent_.type_===1&&n.parent_.allIndicesReassigned_)return null;r.push(o)}if(n.parent_)return e(n.parent_,r);r.reverse();try{t(n.copy_,r)}catch{return null}return r}function t(e,t){let n=e;for(let e=0;e<t.length-1;e++){let r=t[e];if(n=zS(n,r),!GS(n)||n===null)throw Error(`Cannot resolve path at '${t.join(`/`)}'`)}return n}let n=`replace`,r=`remove`;function i(e,t,n){if(e.scope_.processedForPatches_.has(e))return;e.scope_.processedForPatches_.add(e);let{patches_:r,inversePatches_:i}=n;switch(e.type_){case 0:case 2:return o(e,t,r,i);case 1:return a(e,t,r,i);case 3:return s(e,t,r,i)}}function a(e,t,i,a){let{base_:o,assigned_:s}=e,c=e.copy_;c.length<o.length&&([o,c]=[c,o],[i,a]=[a,i]);let l=e.allIndicesReassigned_===!0;for(let e=0;e<o.length;e++){let r=c[e],u=o[e];if((l||s?.get(e.toString()))&&r!==u){let o=r?.[Q];if(o&&o.modified_)continue;let s=t.concat([e]);i.push({op:n,path:s,value:d(r)}),a.push({op:n,path:s,value:d(u)})}}for(let e=o.length;e<c.length;e++){let n=t.concat([e]);i.push({op:`add`,path:n,value:d(c[e])})}for(let e=c.length-1;o.length<=e;--e){let n=t.concat([e]);a.push({op:r,path:n})}}function o(e,t,i,a){let{base_:o,copy_:s,type_:c}=e;IS(e.assigned_,(e,l)=>{let u=zS(o,e,c),f=zS(s,e,c),p=l?RS(o,e)?n:`add`:r;if(u===f&&p===n)return;let m=t.concat(e);i.push(p===r?{op:p,path:m}:{op:p,path:m,value:d(f)}),a.push(p===`add`?{op:r,path:m}:p===r?{op:`add`,path:m,value:d(u)}:{op:n,path:m,value:d(u)})})}function s(e,t,n,i){let{base_:a,copy_:o}=e,s=0;a.forEach(e=>{if(!o.has(e)){let a=t.concat([s]);n.push({op:r,path:a,value:e}),i.unshift({op:`add`,path:a,value:e})}s++}),s=0,o.forEach(e=>{if(!a.has(e)){let a=t.concat([s]);n.push({op:`add`,path:a,value:e}),i.unshift({op:r,path:a,value:e})}s++})}function c(e,t,r){let{patches_:i,inversePatches_:a}=r;i.push({op:n,path:[],value:t===bS?void 0:t}),a.push({op:n,path:[],value:e})}function l(e,t){return t.forEach(t=>{let{path:i,op:a}=t,o=e;for(let e=0;e<i.length-1;e++){let t=LS(o),n=i[e];typeof n!=`string`&&typeof n!=`number`&&(n=``+n),t!==0&&t!==1||n!==`__proto__`&&n!==TS||$(19),KS(o)&&n===ES&&$(19),o=zS(o,n),o!==null&&GS(o)||$(18,i.join(`/`))}let s=LS(o),c=u(t.value),l=i[i.length-1];switch(a){case n:switch(s){case 2:return o.set(l,c);case 3:$(16);default:return o[l]=c}case`add`:switch(s){case 1:return l===`-`?o.push(c):o.splice(l,0,c);case 2:return o.set(l,c);case 3:return o.add(c);default:return o[l]=c}case r:switch(s){case 1:return o.splice(l,1);case 2:return o.delete(l);case 3:return o.delete(t.value);default:return delete o[l]}default:$(17,a)}}),e}function u(e){if(!MS(e))return e;if(HS(e))return e.map(u);if(US(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,u(t)]));if(WS(e))return new Set(Array.from(e).map(u));let t=Object.create(wS(e));for(let n in e)t[n]=u(e[n]);return RS(e,xS)&&(t[xS]=e[xS]),t}function d(e){return jS(e)?u(e):e}lC(iC,{applyPatches_:l,generatePatches_:i,generateReplacementPatches_:c,getPath:e})}globalThis.Iterator?.from;var UC=new RC,WC=UC.produce,GC=UC.produceWithPatches.bind(UC),KC=UC.applyPatches.bind(UC),qC=1e3;function JC(e,t){if(e.add(t),e.size>qC){let t=e.values().next().value;t!==void 0&&e.delete(t)}}function YC(e){let{enablePatches:t=!1}=e;t&&HC();let n=_S(),r=e.initialValue,i=new Set;return{on:n.on,value:()=>r,patch:(e,t=yS())=>{i.has(t)||(HC(),r=KC(r,e),JC(i,t),n.emit(`updated`,r,void 0,t))},mutate:(e,a=yS())=>{if(!i.has(a)){if(JC(i,a),t){let[t,i]=GC(r,e);if(t===r)return;r=t,n.emit(`updated`,r,i,a)}else{let t=WC(r,e);if(t===r)return;r=t,n.emit(`updated`,r,void 0,a)}}},syncIds:i}}var XC=typeof self==`object`?self:globalThis,ZC=new Set([`Error`,`EvalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`,`AggregateError`]),QC=new Set([`Boolean`,`Number`,`String`,`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float16Array`,`Float32Array`,`Float64Array`,`BigInt64Array`,`BigUint64Array`]);function $C(e,t){let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o,r=ZC.has(e)?XC[e]:void 0;return n(new(r??XC.Error)(t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}if(typeof a==`string`&&QC.has(a))return n(new XC[a](o),i);throw TypeError(`unable to deserialize unsafe or unknown type: ${String(a)}`)};return r}function ew(e){return $C(new Map,e)(0)}var tw=``,{toString:nw}={},{keys:rw}=Object;function iw(e){let t=typeof e;if(t!==`object`||!e)return[0,t];let n=nw.call(e).slice(8,-1);switch(n){case`Array`:return[1,tw];case`Object`:return[2,tw];case`Date`:return[3,tw];case`RegExp`:return[4,tw];case`Map`:return[5,tw];case`Set`:return[6,tw];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]}function aw([e,t]){return e===0&&(t===`function`||t===`symbol`)}function ow(e,t,n,r){let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=iw(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize ${s}`);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return s===`DataView`?e=new Uint8Array(r.buffer):s===`ArrayBuffer`&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of rw(r))(e||!aw(iw(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(aw(iw(n))||aw(iw(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!aw(iw(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a}function sw(e,t={}){let n=[];return ow(!(t.json||t.lossy),!!t.json,new Map,n)(e),n}var{parse:cw,stringify:lw}=JSON,uw={json:!0,lossy:!0};function dw(e){return ew(cw(e))}function fw(e){return lw(sw(e,uw))}function pw(e){return ew(e)}function mw(e){return fw(e)}function hw(e){return dw(e)}var gw=256,_w=class extends Error{name=`StreamClosedError`};function vw(e={}){let t=e.id??yS(),n=Math.max(0,e.replayWindow??0),r=_S(),i=new AbortController,a=[],o=!1,s=0;function c(e){if(o)throw new _w(`Cannot write to a closed stream "${t}"`);s+=1,n>0&&(a.push({seq:s,chunk:e}),a.length>n&&(a.length-n===1?a.shift():a.splice(0,a.length-n))),r.emit(`chunk`,s,e)}function l(e){if(o)return;o=!0;let t=bw(e);i.abort(e),r.emit(`end`,t)}function u(){o||(o=!0,i.signal.aborted||i.abort(`stream closed`),r.emit(`end`,void 0))}function d(e){o||i.signal.aborted||i.abort(e??`aborted`)}let f=new WritableStream({write(e){c(e)},close(){u()},abort(e){l(e)}});return{id:t,signal:i.signal,get closed(){return o},get lastSeq(){return s},write:c,error:l,close:u,abort:d,writable:f,events:r,buffer:a}}function yw(e={}){let t=e.id??yS(),n=Math.max(1,e.highWaterMark??gw),r=[],i=0,a=!1,o=!1,s,c,l,u;function d(){if(c){if(r.length>0){let e=r.shift(),t=c;c=void 0,t.resolve({value:e,done:!1})}else if(a){let e=c;if(c=void 0,s){let t=Error(s.message);t.name=s.name,e.reject(t)}else e.resolve({value:void 0,done:!0})}}}function f(){if(l){for(;r.length>0;){let e=r.shift();try{l.enqueue(e)}catch{break}}if(a&&l){try{if(s){let e=Error(s.message);e.name=s.name,l.error(e)}else l.close()}catch{}l=void 0}}}function p(t,s){if(!(a||o)&&!(t<=i)){if(i=t,r.push(s),r.length>n){let t=r.length-n;r.splice(0,t),e.onOverflow?.(t)}d(),u&&f()}}function m(e){a||(a=!0,s=e,d(),u&&f())}function h(){o||a||(o=!0,e.onCancel?.(),m(void 0))}function g(){return u||(u=new ReadableStream({start(e){l=e,f()},cancel(){h()}}),u)}return{id:t,get cancelled(){return o},get done(){return a},get lastSeenSeq(){return i},get readable(){return g()},cancel:h,_push:p,_end:m,[Symbol.asyncIterator](){return{next(){if(r.length>0)return Promise.resolve({value:r.shift(),done:!1});if(a){if(s){let e=Error(s.message);return e.name=s.name,Promise.reject(e)}return Promise.resolve({value:void 0,done:!0})}return new Promise((e,t)=>{c={resolve:e,reject:t}})},return(){return h(),Promise.resolve({value:void 0,done:!0})}}}}}function bw(e){if(e instanceof Error)return{name:e.name||`Error`,message:e.message};if(typeof e==`string`)return{name:`Error`,message:e};try{return{name:`Error`,message:JSON.stringify(e)}}catch{return{name:`Error`,message:String(e)}}}var xw=128;function Sw(e){return e.replace(/[^\w-]+/g,`_`).slice(0,xw)}var Cw=`__connection.json`,ww=`__DEVFRAME_CONNECTION__`,Tw=`x-birpc-session`,Ew=`__rpc-dump/index.json`,Dw=`devframe:services`,Ow=`devframe_otp`,kw=`devframe_auth_token`;Z.postMessage.remoteAssetsError;var Aw=class{cacheMap=new Map;options;keySerializer;constructor(e){this.options=e,this.keySerializer=e.keySerializer||(e=>gS(e))}updateOptions(e){this.options={...this.options,...e}}cached(e,t){let n=this.cacheMap.get(e);if(n)return n.get(this.keySerializer(t))}has(e,t){return this.cacheMap.get(e)?.has(this.keySerializer(t))??!1}apply(e,t){let n=this.cacheMap.get(e.m)||new Map;n.set(this.keySerializer(e.a),t),this.cacheMap.set(e.m,n)}validate(e){return this.options.functions.includes(e)}clear(e){e?this.cacheMap.delete(e):this.cacheMap.clear()}},jw=Bx({docsBase:`https://devfra.me/errors`,codes:{DF0019:{why:e=>`RPC function "${e.name}" has \`agent\` set but \`jsonSerializable\` is \`false\`; MCP requires JSON-serializable data.`,fix:"Remove `jsonSerializable: false`, 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`."},DF0043:{why:e=>`RPC function "${e.name}" received an invalid argument at position ${e.index}: ${e.issues}`,fix:"Pass a value that satisfies the `args` schema declared for this function."},DF0044:{why:e=>`RPC function "${e.name}" returned a value that failed its \`returns\` schema: ${e.issues}`,fix:"Make the handler return a value that satisfies the `returns` schema, or relax the schema."}}});function Mw(e){if(e.agent&&e.jsonSerializable===!1)throw jw.DF0019({name:e.name});e.agent&&!e.jsonSerializable&&(e.jsonSerializable=!0)}async function Nw(e,t){let n=e[`~standard`].validate(t);return n instanceof Promise?await n:n}function Pw(e){return e.map(e=>{let t=e.path?.map(e=>typeof e==`object`?e.key:e).join(`.`);return t?`${t}: ${e.message}`:e.message}).join(`; `)}async function Fw(e,t,n){let r=n.slice();if(!t||t.length===0)return r;for(let r=0;r<t.length;r++){let i=t[r];if(!i)continue;let a=await Nw(i,n[r]);if(a.issues)throw jw.DF0043({name:e,index:r,issues:Pw(a.issues)})}return r}async function Iw(e,t,n){if(!t)return n;let r=await Nw(t,n);if(r.issues)throw jw.DF0044({name:e,issues:Pw(r.issues)});return n}async function Lw(e,t){if(!e.setup)return{};if(typeof t==`object`&&t){e.__cache??=new WeakMap;let n=e.__cache,r=n.get(t);return r||(r=Promise.resolve(e.setup(t)),r.catch(()=>{n.get(t)===r&&n.delete(t)}),n.set(t,r)),await r}if(!e.__promise){let n=Promise.resolve(e.setup(t));n.catch(()=>{e.__promise===n&&(e.__promise=void 0)}),e.__promise=n}return await e.__promise}async function Rw(e,t){let n=e.handler;if(!n){let r=await Lw(e,t);if(!r.handler)throw jw.DF0024({name:e.name});n=r.handler}let r=e.args,i=e.returns;if(!r&&!i)return n;let a=n;return async(...t)=>{let n=await Fw(e.name,r,t),o=await a(...n);return await Iw(e.name,i,o)}}var zw=class{context;definitions=new Map;functions;_onChanged=[];constructor(e){this.context=e;let t=this.definitions,n=this;this.functions=new Proxy({},{get(e,r){let i=t.get(r);if(i)return Rw(i,n.context)},has(e,n){return t.has(n)},getOwnPropertyDescriptor(e,n){return{value:t.get(n)?.handler,configurable:!0,enumerable:!0}},ownKeys(){return Array.from(t.keys())}})}register(e,t=!1){if(this.definitions.has(e.name)&&!t)throw jw.DF0021({name:e.name});Mw(e),this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}update(e,t=!1){if(!this.definitions.has(e.name)&&!t)throw jw.DF0022({name:e.name});Mw(e),this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}onChanged(e){return this._onChanged.push(e),()=>{let t=this._onChanged.indexOf(e);t!==-1&&this._onChanged.splice(t,1)}}async getHandler(e){return await Rw(this.definitions.get(e),this.context)}getSchema(e){let t=this.definitions.get(e);if(!t)throw jw.DF0023({name:String(e)});return{args:t.args,returns:t.returns}}has(e){return this.definitions.has(e)}get(e){return this.definitions.get(e)}list(){return Array.from(this.definitions.keys())}};function Bw(e,t=``){return JSON.stringify(e,function(e,n){let r=this,i=r==null?n:r[e];if(i===void 0){if(Array.isArray(r))throw Hw(t,`undefined`,r,e);return n}return i!==null&&Vw(i,r,e,t),n})}function Vw(e,t,n,r){if(typeof e==`bigint`)throw Hw(r,`BigInt`,t,n);if(typeof e!=`object`)return;if(e instanceof Map)throw Hw(r,`Map`,t,n);if(e instanceof Set)throw Hw(r,`Set`,t,n);if(e instanceof Date)throw Hw(r,`Date`,t,n);if(Array.isArray(e))return;let i=Object.getPrototypeOf(e);if(i!==null&&i!==Object.prototype)throw Hw(r,e.constructor?.name??`class instance`,t,n)}function Hw(e,t,n,r){let i=Uw(n,r);return jw.DF0020({name:e||`<anonymous>`,type:t,path:i})}function Uw(e,t){return Array.isArray(e)?`[${t}]`:t===``?`<root>`:t}var Ww=`__DEVFRAME_CONNECTION_META__`,Gw=`__DEVFRAME_CONNECTION_AUTH_TOKEN__`;function Kw(e){let t=[()=>window?.[e],()=>globalThis?.[e],()=>parent.window?.[e]];for(let e of t)try{let t=e();if(t)return t}catch{}}function qw(){return Kw(ww)}function Jw(){return Kw(Ww)}function Yw(e){if(e)return e;try{let e=localStorage.getItem(Gw);if(e)return e}catch{}return Kw(Gw)}function Xw(e){globalThis[ww]=e,globalThis[Ww]={...e.connectionMeta,baseUrl:e.metaBaseUrl},e.authToken&&Zw(e.authToken)}function Zw(e){try{localStorage.setItem(Gw,e)}catch{}globalThis[Gw]=e;let t=qw();t&&(globalThis[ww]={...t,authToken:e})}function Qw(e){let t=Px(Cw,e);try{return new URL(t,globalThis.location?.href).href}catch{return t}}function $w(e,t){return t&&t!==e.authToken?{...e,authToken:t}:e}function eT(){let e=qw();if(e)return $w(e,Yw()??e.authToken??e.connectionMeta.authToken);let t=Jw();if(t)return{connectionMeta:t,metaBaseUrl:t.baseUrl??Qw(`./`),authToken:Yw(t.authToken)}}async function tT(e={}){if(e.connection){let t=$w(e.connection,Yw(e.authToken??e.connection.authToken??e.connection.connectionMeta.authToken));return Xw(t),t}let t=Array.isArray(e.baseURL)?e.baseURL:[e.baseURL??`./`];if(e.connectionMeta){let n={connectionMeta:e.connectionMeta,metaBaseUrl:Qw(t[0]??`./`),authToken:Yw(e.authToken??e.connectionMeta.authToken)};return Xw(n),n}let n=eT();if(n){let t=$w(n,Yw(e.authToken??n.authToken??n.connectionMeta.authToken));return Xw(t),t}let r=[];for(let n of t){let t=Px(Cw,n),i=Qw(n);try{let n=await fetch(t);if(!n.ok)throw Error(`Failed to fetch connection meta from ${i}: ${n.status}`);let r=await n.json(),a=n.url||i,o={connectionMeta:r,metaBaseUrl:r.baseUrl?new URL(r.baseUrl,a).href:a,authToken:Yw(e.authToken??r.authToken)};return Xw(o),o}catch(e){r.push(e)}}throw Error(`Failed to get connection meta from ${t.join(`, `)}`,{cause:r})}var nT=class extends Error{name=`DevframeConnectionError`;kind;constructor(e,t,n){super(t,n),this.kind=e}};function rT(e=Ow){try{let t=globalThis.location?.hash?.replace(/^#/,``)??``;return new URLSearchParams(t).get(e)||void 0}catch{return}}function iT(e){try{let t=new URL(globalThis.location.href),n=new URLSearchParams(t.hash.replace(/^#/,``));if(!n.has(e))return;n.delete(e),t.hash=n.toString(),globalThis.history?.replaceState(globalThis.history.state,``,t.href)}catch{}}function aT(e=Ow){let t=rT(e);return t&&iT(e),t}async function oT(e,t={}){let n=aT(t.param??`devframe_otp`);return n?e.isTrusted?!0:e.requestTrustWithCode(n):!1}function sT(e){let t={},n=new WeakMap,r,i=()=>(r??=e.sharedState.get(Dw,{initialValue:{}}).then(e=>(t=e.value(),e.on(`updated`,e=>{t=e}),e)),r);return i(),{state:i,has:e=>e in t,keys:()=>Object.keys(t),get:r=>{let i=t[r];if(!i)return;let a=n.get(i);return a||(a={...i,rpc:e.scope(i.scope).rpc},n.set(i,a)),a}}}function cT(e){let t=new Map,n=new Map,r=new Map,i=new Set,a=e.connectionMeta.backend===`static`;function o(e,t){let n=r.get(e);return n&&typeof n==`object`&&!Array.isArray(n)&&typeof t==`object`&&!Array.isArray(t)?{...n,...t}:t}e.client.register({name:Z.broadcast.clientStateUpdated,type:`event`,handler:(e,n,r)=>{let i=t.get(e);i&&!i.syncIds.has(r)&&i.mutate(()=>o(e,n),r)}}),e.client.register({name:Z.broadcast.clientStatePatch,type:`event`,handler:(e,n,r)=>{let i=t.get(e);i&&!i.syncIds.has(r)&&i.patch(n,r)}});function s(t,n,r){let i=[];return i.push(n.on(`updated`,(n,i,o)=>{a||o===r||(i?e.callEvent(`devframe:rpc:server-state:patch`,t,i,o):e.callEvent(`devframe:rpc:server-state:set`,t,n,o))})),()=>{for(let e of i)e()}}return{keys:()=>Array.from(t.keys()),onKeyAdded(e){return i.add(e),()=>{i.delete(e)}},delete(e){let i=n.get(e);n.delete(e);let a=t.delete(e);return r.delete(e),i?.(),a},get:async(c,l)=>{if(l?.initialValue!==void 0&&r.set(c,l.initialValue),t.has(c))return t.get(c);let u=YC({initialValue:l?.initialValue,enablePatches:!1});async function d(){if(a||e.callEvent(`devframe:rpc:server-state:subscribe`,c),l?.initialValue!==void 0){t.set(c,u);for(let e of i)e(c);let r=!1,a=u.on(`updated`,()=>{r=!0}),l=yS();return e.call(`devframe:rpc:server-state:get`,c).then(e=>{e!==void 0&&t.get(c)===u&&!r&&u.mutate(()=>o(c,e),l)}).catch(e=>{console.error(`Error getting server state`,e)}).finally(a),n.set(c,s(c,u,l)),u}{let r=await e.call(`devframe:rpc:server-state:get`,c);u.mutate(()=>o(c,r)),t.set(c,u);for(let e of i)e(c);return n.set(c,s(c,u)),u}}return new Promise((t,n)=>{if(e.isTrusted)d().then(t,n);else{t(u);let n=!1;e.events.on(Z.client.isTrustedUpdated,e=>{e&&!n&&(n=!0,d())})}})}}}var lT=new Map;function uT(e=lT){let t=new Map;return{serialize:n=>{let r;return n.t===`q`?r=n.m:(r=t.get(n.i),t.delete(n.i)),!(n.t===`s`&&`e`in n)&&r&&e.get(r)?.jsonSerializable===!0?Bw(n,r??``):`s:${mw(n)}`},deserialize:e=>{let n=e.startsWith(`s:`)?hw(e.slice(2)):JSON.parse(e);return n.t===`q`&&n.i&&n.m&&t.set(n.i,n.m),n}}}function dT(){}function fT(e){let t=e.search(/\n\n|\r\n\r\n/);if(!(t<0))return{frame:e.slice(0,t),rest:e.slice(t+(e[t]===`\r`?4:2))}}function pT(e){let t=`message`,n=[];for(let r of e.split(/\r?\n/))r.startsWith(`:`)||(r.startsWith(`event:`)?t=r.slice(6).trimStart():r.startsWith(`data:`)&&n.push(r.slice(5).replace(/^ /,``)));return{event:t,data:n}}function mT(e){let{onConnected:t=dT,onError:n=dT,onDisconnected:r=dT,definitions:i,fetch:a=globalThis.fetch.bind(globalThis)}=e,o=e.url;e.authToken&&(o=`${o}${o.includes(`?`)?`&`:`?`}${kw}=${encodeURIComponent(e.authToken)}`);let s=uT(i),c=new AbortController,l=!1,u,d,f,p,m=new Promise((e,t)=>{f=e,p=t});m.catch(()=>{});function h(e){l||(l=!0,p(e),n(e),r())}function g(){l||(l=!0,p(Error(`Devframe SSE stream closed`)),r())}function _(e,n){e===`session`?(f(n),t()):u?.(n)}async function v(e){let t=e.getReader();d=t;let n=new TextDecoder,r=``;for(;;){let{done:e,value:i}=await t.read();if(e)break;for(r+=n.decode(i,{stream:!0});;){let e=fT(r);if(!e)break;r=e.rest;let{event:t,data:n}=pT(e.frame);n.length>0&&_(t,n.join(`
9
+ `))}}g()}return(async()=>{try{let e=await a(o,{headers:{accept:`text/event-stream`},signal:c.signal});if(!e.ok||!e.body)throw Error(`Devframe SSE stream request failed: ${e.status}`);await v(e.body)}catch(e){if(c.signal.aborted){g();return}h(e instanceof Error?e:Error(String(e)))}})(),{close:()=>{l=!0,c.abort(),d?.cancel().catch(()=>{})},on:e=>{u=e},post:async e=>{let t;try{t=await m}catch{return}if(l)n(Error(`Devframe SSE channel is closed; message dropped`));else try{let n=await a(o,{method:`POST`,headers:{"content-type":`text/plain; charset=utf-8`,[Tw]:t},body:e});if(n.status===200){let e=await n.text();e&&u?.(e);return}if(!n.ok)throw Error(`Devframe SSE POST failed: ${n.status}`)}catch(e){n(e instanceof Error?e:Error(String(e)))}},serialize:s.serialize,deserialize:s.deserialize}}function hT(e,t){let{channel:n,rpcOptions:r={}}=t;return Xx(e,{...n,timeout:-1,...r,proxify:!1})}function gT(e){let{transport:t,authToken:n,connectionMeta:r,events:i,clientRpc:a,rpcOptions:o={},callTimeout:s=0}=e,c=!1,l=`connecting`,u=null,d=Promise.withResolvers();function f(e,t=null){if(t?u=t:e===`connected`&&(u=null),e===l)return;let n=l;l=e,i.emit(Z.client.connectionStatus,e,n)}let p=new Set;function m(e){for(let t of[...p])t.reject(e)}function h(){return l===`disconnected`||l===`error`?new nT(`connection`,`[devframe] Not connected to the devframe server`,{cause:u??void 0}):l===`unauthorized`?new nT(`auth`,`[devframe] Not authorized by the devframe server`,{cause:u??void 0}):null}function g(e,t){return new Promise((n,r)=>{let a=!1,o,c={reject(e){a||(l(),i.emit(Z.client.error,e,t),r(e))}};function l(){a=!0,p.delete(c),o&&clearTimeout(o)}p.add(c),s>0&&(o=setTimeout(()=>{c.reject(new nT(`timeout`,`[devframe] RPC call "${t}" timed out after ${s}ms`))},s)),e.then(e=>{a||(l(),n(e))},e=>{if(a)return;l();let n=e instanceof Error?e:Error(String(e));i.emit(Z.client.error,n,t),r(n)})})}let _=new Map;for(let e of r.jsonSerializableMethods??[])_.set(e,{jsonSerializable:!0});let v=e.createChannel({definitions:_,onError(e){f(`error`,e),i.emit(Z.client.connectionError,e),m(new nT(`connection`,`[devframe] Connection to the devframe server failed`,{cause:e}))},onDisconnected(){l!==`error`&&f(`disconnected`),m(new nT(`connection`,`[devframe] Disconnected from the devframe server`,{cause:u??void 0}))}}),y=hT(a.functions,{channel:v,rpcOptions:o});a.register({name:Z.broadcast.authRevoked,type:`event`,handler:()=>{c=!1;let e=new nT(`auth`,`[devframe] The devframe server revoked this client's trust`);f(`unauthorized`,e),i.emit(Z.client.connectionError,e),m(e),i.emit(Z.client.isTrustedUpdated,!1)}});let b=n;async function x(e){b=e;let t=await y.$call(`anonymous:devframe:auth`,{authToken:e,ua:navigator.userAgent,origin:location.origin});if(c=t.isTrusted,c)d.resolve(!0),f(`connected`);else{let e=new nT(`auth`,`[devframe] The devframe server refused this client's credentials`);f(`unauthorized`,e),i.emit(Z.client.connectionError,e)}return i.emit(Z.client.isTrustedUpdated,c),t.isTrusted}async function S(e){let t=(await y.$call(`anonymous:devframe:auth:exchange`,{code:e,ua:navigator.userAgent,origin:location.origin}))?.authToken??null;return t&&(b=t,c=!0,d.resolve(!0),f(`connected`),i.emit(Z.client.isTrustedUpdated,!0)),t}async function C(e={}){await y.$call(`anonymous:devframe:auth:request-code`,{ua:navigator.userAgent,origin:location.origin,...e.reissue?{reissue:!0}:{}})}async function w(){return c?!0:x(b??``)}async function T(e=6e4){if(c&&d.resolve(!0),e<=0)return d.promise;let t;try{return await Promise.race([d.promise,new Promise((n,r)=>{t=setTimeout(()=>{r(Error(`[devframe] Timeout waiting for rpc to be trusted`))},e)})]),c}finally{clearTimeout(t)}}return{transport:t,get isTrusted(){return c},get status(){return l},get connectionError(){return u},requestTrust:w,requestTrustWithToken:x,requestTrustWithCode:S,requestAuthCode:C,ensureTrusted:T,call:(...e)=>{let t=String(e[0]),n=h();return n?(i.emit(Z.client.error,n,t),Promise.reject(n)):g(y.$call(...e),t)},callEvent:(...e)=>{let t=h();if(t)i.emit(Z.client.error,t,String(e[0]));else return y.$callEvent(...e)},callOptional:(...e)=>{let t=String(e[0]),n=h();return n?(i.emit(Z.client.error,n,t),Promise.reject(n)):g(y.$callOptional(...e),t)},close:()=>{v.close()}}}function _T(e,t,n){let r=(()=>{try{return new URL(t,n.href)}catch{return new URL(n.href)}})();if(e&&typeof e==`object`){if(e.host!=null||e.port!=null){let t=e.host??`${r.hostname}:${e.port}`;return new URL(e.path??`/`,`${r.protocol}//${t}`).href}return new URL(e.path??``,r).href}let i=e??``;return/^https?:\/\//i.test(i)?i:new URL(i,r).href}function vT(e){let{authToken:t,connectionMeta:n,metaBaseUrl:r,events:i,clientRpc:a,rpcOptions:o={},sseOptions:s={},callTimeout:c=0}=e,l=_T(n.sse,r??`./`,location);return gT({transport:`sse`,authToken:t,connectionMeta:n,events:i,clientRpc:a,rpcOptions:o,callTimeout:c,createChannel:e=>mT({url:l,authToken:t,definitions:e.definitions,...s,onConnected(){s.onConnected?.()},onError(t){e.onError(t),s.onError?.(t)},onDisconnected(){e.onDisconnected(),s.onDisconnected?.()}})})}function yT(e){let{name:t,message:n,cause:r,...i}=e,a=r instanceof Error?r:bT(r)?yT(r):r,o=a===void 0?Error(n):Error(n,{cause:a});return o.name=t,Object.assign(o,i),o}function bT(e){return typeof e==`object`&&!!e&&typeof e.message==`string`&&typeof e.name==`string`}function xT(e){return typeof e==`object`&&!!e&&e.type===`static`&&typeof e.path==`string`}function ST(e){return typeof e==`object`&&!!e&&e.type===`query`&&typeof e.records==`object`&&e.records!==null}function CT(e){return typeof e==`object`&&!!e&&(`output`in e||`error`in e)}function wT(e){if(e.error)throw yT(e.error);return e.output}function TT(e){return e.some(e=>e!=null)}function ET(e){return typeof e==`object`&&e&&`serialization`in e&&`data`in e?e.data:e}function DT(e,t){let n=new Map,r=new Map;function i(e,t){return t===`structured-clone`&&Array.isArray(e)?pw(e):e}function a(e,t){return i(ET(e),t)}async function o(e){n.has(e.path)||n.set(e.path,t(e.path).then(t=>a(t,e.serialization)));let r=await n.get(e.path);return CT(r)?wT(r):r}async function s(e,n){return r.has(e)||r.set(e,t(e).then(e=>a(e,n))),await r.get(e)}async function c(t,n){if(!(t in e))throw Error(`[devframe-rpc] Function "${t}" not found in dump store`);let r=e[t];if(xT(r)){if(TT(n))throw Error(`[devframe-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`);return await o(r)}if(ST(r)){let e=gS(n),i=r.records[e];if(i)return wT(await s(i,r.serialization));if(r.fallback)return wT(await s(r.fallback,r.serialization));throw Error(`[devframe-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}if(!TT(n))return r;throw Error(`[devframe-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}return{call:async(e,t)=>await c(e,t),callOptional:async(t,n)=>{if(t in e)return await c(t,n)},callEvent:async(e,t)=>{}}}async function OT(e){let t=DT(await e.fetchJsonFromBases(Ew),e.fetchJsonFromBases);return{transport:`static`,isTrusted:!0,status:`connected`,connectionError:null,requestTrust:async()=>!0,requestTrustWithToken:async()=>!0,requestTrustWithCode:async()=>null,requestAuthCode:async()=>{},ensureTrusted:async()=>!0,call:(...e)=>t.call(e[0],e.slice(1)),callEvent:(...e)=>t.callEvent(e[0],e.slice(1)),callOptional:(...e)=>t.callOptional(e[0],e.slice(1)),close:()=>{}}}var kT=``;function AT(e,t){return`${e}${kT}${t}`}function jT(e){let t=new Map,n=new Map;e.client.register({name:Z.broadcast.streamingChunk,type:`event`,handler(e,n,r,i){t.get(AT(e,n))?._push(r,i)}}),e.client.register({name:Z.broadcast.streamingEnd,type:`event`,handler(e,n,r){let i=AT(e,n),a=t.get(i);a&&(a._end(r),t.delete(i))}}),e.client.register({name:Z.broadcast.streamingUploadCancel,type:`event`,handler(e,t){let r=AT(e,t),i=n.get(r);i&&(i.abort(`server cancelled upload`),n.delete(r))}}),e.events.on(Z.client.isTrustedUpdated,n=>{if(n)for(let[n,r]of t){if(r.cancelled||r.done)continue;let t=n.indexOf(kT);if(t<0)continue;let i=n.slice(0,t),a=n.slice(t+1);e.callEvent(`devframe:streaming:subscribe`,i,a,{afterSeq:r.lastSeenSeq})}});function r(n,r,i={}){let a=AT(n,r),o=t.get(a);if(o)return o;let s=yw({id:r,highWaterMark:i.highWaterMark,onOverflow(e){console.warn(`[devframe] DF0029: Stream "${n}#${r}" dropped ${e} chunk(s) after exceeding the client high-water mark.`)},onCancel(){e.callEvent(`devframe:streaming:cancel`,n,r),t.delete(a)}});if(t.set(a,s),e.isTrusted)e.callEvent(`devframe:streaming:subscribe`,n,r,{afterSeq:0});else{let i=e.events.on(Z.client.isTrustedUpdated,o=>{o&&(i(),t.has(a)&&!s.cancelled&&!s.done&&e.callEvent(`devframe:streaming:subscribe`,n,r,{afterSeq:s.lastSeenSeq}))})}return s}function i(t,r){let i=AT(t,r),a=n.get(i);if(a)return a;let o=vw({id:r});return o.events.on(`chunk`,(n,i)=>{e.callEvent(`devframe:streaming:upload-chunk`,t,r,n,i)}),o.events.on(`end`,a=>{e.callEvent(`devframe:streaming:upload-end`,t,r,a),n.delete(i)}),n.set(i,o),o}return{subscribe:r,upload:i}}function MT(){}var NT=new Map;function PT(e){let t=e.url;e.authToken&&(t=`${t}?${kw}=${encodeURIComponent(e.authToken)}`);let n=new WebSocket(t),{onConnected:r=MT,onError:i=MT,onDisconnected:a=MT,definitions:o=NT}=e;n.addEventListener(`open`,e=>{r(e)}),n.addEventListener(`error`,e=>{let t=e instanceof Error?e:Error(e.type);i(t)}),n.addEventListener(`close`,e=>{a(e)});let s=uT(o);return{close:()=>{n.close()},on:e=>{n.addEventListener(`message`,t=>{e(t.data)})},post:e=>{if(n.readyState===WebSocket.OPEN)n.send(e);else if(n.readyState===WebSocket.CONNECTING){let t=()=>{i(),n.readyState===WebSocket.OPEN&&n.send(e)},r=()=>i();function i(){n.removeEventListener(`open`,t),n.removeEventListener(`close`,r)}n.addEventListener(`open`,t),n.addEventListener(`close`,r)}else i(Error(`Devframe WebSocket is not open; message dropped`))},serialize:s.serialize,deserialize:s.deserialize}}function FT(e,t,n){let r=(()=>{try{return new URL(t,n.href)}catch{return new URL(n.href)}})(),i=r.protocol===`https:`?`wss:`:`ws:`;if(e&&typeof e==`object`){if(e.host!=null||e.port!=null){let t=e.host??`${r.hostname}:${e.port}`,n=new URL(e.path??`/`,`${i}//${t}`);return n.protocol=i,n.href}let t=new URL(e.path??``,r);return t.protocol=i,t.href}if(typeof e==`number`)return`${i}//${r.hostname}:${e}`;let a=e??``;if(/^wss?:\/\//i.test(a))return a;if(/^https?:\/\//i.test(a))return Fx(a,/^https/i.test(a)?`wss://`:`ws://`);let o=new URL(a,r);return o.protocol=i,o.href}function IT(e){let{authToken:t,connectionMeta:n,metaBaseUrl:r,events:i,clientRpc:a,rpcOptions:o={},wsOptions:s={},callTimeout:c=0}=e,l=FT(n.websocket,r??`./`,location);return gT({transport:`websocket`,authToken:t,connectionMeta:n,events:i,clientRpc:a,rpcOptions:o,callTimeout:c,createChannel:e=>PT({url:l,authToken:t,definitions:e.definitions,...s,onConnected(e){s.onConnected?.(e)},onError(t){e.onError(t),s.onError?.(t)},onDisconnected(t){e.onDisconnected(),s.onDisconnected?.(t)}})})}function LT(e){return e.includes(`:`)}function RT(e,t){return LT(t)?t:`${e}:${t}`}function zT(e){return{async get(t){return(await e()).value()?.[t]},async set(t,n){(await e()).mutate(e=>{if(e===void 0)return{[t]:n};e[t]=n})},async delete(t){(await e()).mutate(e=>{e!==void 0&&delete e[t]})},async all(){return(await e()).value()??{}},async onChange(t){return(await e()).on(`updated`,e=>t(e??{}))}}}function BT(e,t,n){let r=`devframe:settings:${n}:${t}`,i;function a(){return i||=(async()=>(await e.ensureTrusted(),e.sharedState.get(r)))().catch(e=>{throw i=void 0,e}),i}return zT(a)}function VT(e,t){return{global:BT(e,t,`global`),project:BT(e,t,`project`)}}function HT(e,t){return{namespace:t,base:e,rpc:{namespace:t,register(n){if(LT(n.name))throw Error(`[devframe] Scoped client RPC registration for namespace "${t}" received an already-namespaced function name "${n.name}". Pass a bare name without a ":" separator.`);e.client.register({...n,name:`${t}:${n.name}`})},call:((n,...r)=>e.call(RT(t,n),...r)),callEvent:((n,...r)=>e.callEvent(RT(t,n),...r)),callOptional:((n,...r)=>e.callOptional(RT(t,n),...r)),sharedState:((n,r)=>e.sharedState.get(RT(t,n),r)),streaming:{subscribe:(n,r,i)=>e.streaming.subscribe(RT(t,n),r,i),upload:(n,r)=>e.streaming.upload(RT(t,n),r)}},settings:VT(e,t),scope:e.scope}}function UT(){if(typeof document<`u`){let e=document.modelContext;if(e)return e}if(typeof navigator<`u`){let e=navigator.modelContext;if(e)return e}}function WT(e,t={}){let n=t.modelContext??UT();if(!n)return()=>{};let r=n,i=new Map,a=new Map;function o(t,n){let o=Sw(t.name),s=a.get(o);if(s&&s!==t.name){console.warn(`[devframe] WebMCP tool name "${o}" (from "${t.name}") collides with "${s}"; keeping the first registration.`);return}let c=new AbortController,l=Zx(t.type,n),u=n.title??t.name,d=r.registerTool({name:o,title:u,description:n.description,inputSchema:eS(t.args),annotations:{title:u,readOnlyHint:l===`read`,consequentialHint:l===`destructive`,debugging:!0,destructiveHint:l===`destructive`},execute:(n,r)=>GT(t,e.context,n,r?.signal)},{signal:c.signal});d&&`then`in d&&d.then(()=>{},()=>{}),a.set(o,t.name),i.set(t.name,()=>{c.abort(),d&&`unregister`in d&&typeof d.unregister==`function`&&d.unregister(),a.delete(o)})}function s(t){let n=t?[t]:[...e.definitions.keys()];for(let t of n){i.get(t)?.(),i.delete(t);let n=e.definitions.get(t),r=n?.agent;n&&r&&o(n,r)}}s();let c=e.onChanged(e=>s(e));return()=>{c();for(let e of i.values())e();i.clear()}}async function GT(e,t,n,r){r?.throwIfAborted();try{let i=nS(n,e.args?.length),a=await Rw(e,t);return{content:[{type:`text`,text:qT(await KT(Promise.resolve(a(...i)),r))}]}}catch(e){if(r?.aborted&&e===r.reason)throw e;return{isError:!0,content:[{type:`text`,text:JT(e)}]}}}function KT(e,t){return t?t.aborted?Promise.reject(t.reason):new Promise((n,r)=>{let i=()=>r(t.reason);t.addEventListener(`abort`,i,{once:!0}),e.then(n,r).finally(()=>t.removeEventListener(`abort`,i))}):e}function qT(e){return e===void 0?`undefined`:typeof e==`string`?e:JSON.stringify(e,null,2)}function JT(e){if(!(e instanceof Error))return String(e);let t=e.cause instanceof Error?` (cause: ${e.cause.message})`:``;return`${e.name}: ${e.message}${t}`}function YT(e,t){if(t.backend===`static`)return`static`;let n=t.websocket!==void 0,r=t.sse!==void 0;if(e===`websocket`){if(!n)throw Error(`[devframe] transport: 'websocket' was requested, but this server does not advertise a WebSocket endpoint`);return`websocket`}if(e===`sse`){if(!r)throw Error(`[devframe] transport: 'sse' was requested, but this server does not advertise an SSE endpoint`);return`sse`}if(t.backend===`sse`&&r)return`sse`;if(n)return`websocket`;if(r)return`sse`;throw Error(`[devframe] This server advertises no RPC transport (backend "none"), so there is nothing to connect to. Enable the WebSocket or SSE endpoint on the server, or use its static/MCP surfaces instead.`)}async function XT(e={}){let{baseURL:t=`./`,rpcOptions:n={},cacheOptions:r=!1}=e,i=_S(),a=Array.isArray(t)?t:[t],o=await tT(e),{connectionMeta:s,metaBaseUrl:c,authToken:l}=o,u=a[0]??`./`;try{u=new URL(`.`,c).href}catch{}let d=new Aw({functions:[],...typeof e.cacheOptions==`object`?e.cacheOptions:{}}),f={rpc:void 0},p=new zw(f),m=e.webmcp===!1?void 0:WT(p),h,g=!1,_=0,v;function y(){_++,v=void 0,d.clear(),r===!0&&d.updateOptions({functions:[]})}r&&(p.register({name:Z.broadcast.cacheInvalidate,type:`event`,handler:y}),i.on(Z.client.connectionStatus,y),i.on(Z.client.isTrustedUpdated,y));async function b(e){let t=[u,...a.filter(e=>e!==u)].filter(e=>e!=null),n=[];for(let r of t)try{return await fetch(Px(e,r)).then(t=>{if(!t.ok)throw Error(`Failed to fetch ${e} from ${r}: ${t.status}`);return t.json()})}catch(e){n.push(e)}throw Error(`Failed to load ${e} from ${t.join(`, `)}`,{cause:n})}let x=e.callTimeout??0,S=x>0?x:1/0,C,w={authToken:l,connectionMeta:s,metaBaseUrl:c,events:i,clientRpc:p,callTimeout:e.callTimeout,rpcOptions:{...n,async onRequest(e,t,i){let a=performance.now()+S;if(await n.onRequest?.call(this,e,t,i),r===!0&&e.i&&C.isTrusted&&!e.m.startsWith(`anonymous:`)&&e.m!==`devframe:rpc:cacheable-functions`){function t(){if(performance.now()>=a)throw new nT(`timeout`,`[devframe] RPC call "${e.m}" timed out after ${x}ms`)}for(;!v&&(t(),!(g||C.status!==`connected`));){let e=_;v=C.callOptional(`devframe:rpc:cacheable-functions`).then(t=>{e===_&&d.updateOptions({functions:t??[]})}).catch(t=>{throw e===_&&(v=void 0),t}),await v}await v,t()}let o=_;if(r&&e.i&&!g&&C.isTrusted&&d.validate(e.m)){if(d.has(e.m,e.a))return i(d.cached(e.m,e.a));let n=await t(e);o===_&&!g&&d.apply(e,n)}else await t(e)}}},T=YT(e.transport??`auto`,s);C=T===`static`?await OT({fetchJsonFromBases:b}):T===`sse`?vT({...w,sseOptions:e.sseOptions}):IT({...w,wsOptions:e.wsOptions});let E;try{E=new BroadcastChannel(`devframe-auth`)}catch{}let D,O=!1;function ee(e){return((...t)=>O||!D?e(...t):D.then(()=>e(...t)))}function k(){g=!0,y();try{h?.(),m?.()}finally{try{E?.close()}finally{C.close?.()}}}let A={events:i,get isTrusted(){return C.isTrusted},get status(){return C.status},get connectionError(){return C.connectionError},get transport(){return C.transport??T},get connection(){return o},connectionMeta:s,ensureTrusted:C.ensureTrusted,requestTrust:C.requestTrust,requestTrustWithToken:async e=>(Zw(e),o={...o,authToken:e},C.requestTrustWithToken(e)),requestTrustWithCode:async e=>{let t=await C.requestTrustWithCode(e);if(!t)return!1;Zw(t),o={...o,authToken:t};try{E?.postMessage({type:`auth-update`,authToken:t})}catch{}return!0},requestAuthCode:e=>C.requestAuthCode(e),call:ee(C.call),callEvent:ee(C.callEvent),callOptional:ee(C.callOptional),client:p,sharedState:void 0,services:void 0,streaming:void 0,cacheManager:d,scope:void 0,close:k};A.sharedState=cT(A),A.streaming=jT(A),A.services=sT(A);let j=new Map;A.scope=(e=>{if(!e)return A;let t=j.get(e);return t||(t=HT(A,e),j.set(e,t)),t}),f.rpc=A;function te(){try{return typeof window<`u`&&window.self===window.top}catch{return!1}}async function ne(){if(e.simpleAuth!==!1&&te()&&typeof globalThis.prompt==`function`)for(await A.requestAuthCode().catch(()=>{});!A.isTrusted;){let e=globalThis.prompt(`devframe: enter the authentication code shown in your terminal`);if(e==null)return;let t=e.trim();if(t&&await A.requestTrustWithCode(t))return}}async function M(){let t=await C.requestTrust(),n=e.otpParam??`devframe_otp`,r=n?await oT(A,{param:n}):!1;t||r||A.isTrusted||await ne()}return D=M().then(()=>{O=!0},()=>{O=!0}),s.mcp&&Bh(async()=>{let{setupBrowserAgentRpcBridge:e}=await import(`./BD9RWFCr.js`);return{setupBrowserAgentRpcBridge:e}},[],import.meta.url).then(({setupBrowserAgentRpcBridge:e})=>{g||(h=e(A))}).catch(()=>{}),E&&(E.onmessage=e=>{e.data?.type===`auth-update`&&e.data.authToken&&A.requestTrustWithToken(e.data.authToken)}),A}async function ZT(e,t){if(!t)for(let t of e)try{let n=await fetch(`${t}__connection.json`);if(n.ok)return{connectionMeta:await n.json(),baseURL:[t,...e.filter(e=>e!==t)]}}catch{}return{baseURL:e,connectionMeta:t}}function QT(e={}){return XT({...e,simpleAuth:!1})}var $T=`/__devtools/`,eE=`devframes_plugin_terminals`,tE=Gt({connected:!1,error:null}),nE=an(void 0);async function rE(){let e=nu();try{nE.value=await QT({...await ZT([$T,e.app.baseURL],e.app.connection),cacheOptions:!1,wsOptions:{onConnected:()=>{tE.connected=!0},onError:e=>{tE.error=e},onDisconnected:()=>{tE.connected=!1}},rpcOptions:{onGeneralError:(e,t)=>{tE.error=e,console.error(`[vite-task-devtools] RPC error on executing "${t}":`)},onFunctionError:(e,t)=>{console.error(`[vite-task-devtools] RPC error on executing "${t}":`,e)}}}),tE.connected=!0}catch(e){tE.error=e}}function iE(){return nE}var aE={key:0,class:`of-auto h-screen max-h-screen relative bg-base color-base`},oE={key:1,role:`alert`,class:`text-red p4`},sE={key:2,role:`status`,class:`p4 op50`},cE=Tr({__name:`app`,setup(e){return dx(),kx({title:`Vite Task DevTools`}),rE(),(e,t)=>L(tE).connected?(mo(),yo(`div`,aE,[U(ob)])):L(tE).error?(mo(),yo(`div`,oE,Ee(L(tE).error),1)):(mo(),yo(`div`,sE,` Connecting... `))}}),lE={__name:`nuxt-error-page`,props:{error:Object},async setup(e){let t,n,r=e.error,i=Number(r.statusCode||500),a=i===404,o=r.statusMessage??(a?`Page Not Found`:`Internal Server Error`),s=r.message||o,c=(a?([t,n]=Li(()=>Bh(()=>import(`./DRtVqEVl.js`),__vite__mapDeps([3,1,4]),import.meta.url)),t=await t,n(),t):([t,n]=Li(()=>Bh(()=>import(`./B-6mOsud.js`),__vite__mapDeps([5,1,6]),import.meta.url)),t=await t,n(),t)).default;return(e,t)=>(mo(),bo(L(c),he(Do({status:L(i),statusText:L(o),statusCode:L(i),statusMessage:L(o),description:L(s),stack:L(void 0)})),null,16))}},uE=()=>null,dE={key:0},fE={__name:`nuxt-root`,setup(e){let t=J(),n=t.deferHydration();if(t.isHydrating){let e=t.hooks.hookOnce(`app:error`,n),r=Gf().beforeEach(()=>{e(),r()})}window.location.pathname,Qn(gu,Jf()),t.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`,[]);let r=sp();return hi((e,n,r)=>{if(t.hooks.callHook(`vue:error`,e,n,r)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),Bl(navigator.userAgent))return lp(t,e),!1;if(vu(e)&&(e.fatal||e.unhandled))return t.runWithContext(()=>cp(xu(e,{instance:n,route:t._route}))),nb(),up(t,e,n,r),!1}),(e,t)=>(mo(),bo(Ya,{onResolve:L(n)},{default:Yn(()=>[L(!1)?(mo(),yo(`div`,dE)):L(r)?(mo(),bo(L(lE),{key:1,error:L(r)},null,8,[`error`])):L(!1)?(mo(),bo(L(uE),{key:2,context:L(!1)},null,8,[`context`])):L(!1)?(mo(),bo(bi(L(!1)),{key:3})):(mo(),bo(L(cE),{key:4}))]),_:1},8,[`onResolve`]))}},pE;{let e;pE=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`);t&&await hp();let n=t?jc(fE):Ac(fE),r=Xl({vueApp:n});async function i(e){await r.callHook(`app:error`,e),r.payload.error||=xu(e,{route:r._route})}i.__nuxt_default=!0,n.config.errorHandler=i,r.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===i&&(n.config.errorHandler=void 0)}),!t&&Hl.id&&r.hook(`app:suspense:resolve`,()=>{document.getElementById(Hl.id)?.remove()});try{await Ql(r,tb)}catch(e){i(e)}t&&await pp();try{await r.hooks.callHook(`app:created`,n),await r.hooks.callHook(`app:beforeMount`,n),n.mount(Gl),await r.hooks.callHook(`app:mounted`,n),await In()}catch(e){i(e)}return n},e=pE().catch(e=>{throw nl.NUXT_E1009({cause:e}),e})}export{Ei as $,wc as A,U as B,Sg as C,gc as D,gs as E,bo as F,Ii as G,G as H,Ao as I,ui as J,Po as K,yo as L,V as M,K as N,hc as O,To as P,wi as Q,Ti as R,xg as S,Gf as T,q as U,Tr as V,z as W,mo as X,si as Y,Qn as Z,Vv as _,le as _t,ux as a,Dr as at,Hv as b,Ub as c,Xn as ct,Kb as d,Kt as dt,xi as et,ix as f,an as ft,Wv as g,he as gt,zv as h,me as ht,Ox as i,Mi as it,Sc as j,Ps as k,Fb as l,Gt as lt,Uv as m,L as mt,eE as n,Ni as nt,Lb as o,ir as ot,sx as p,cn as pt,In as q,yS as r,ra as rt,Hb as s,Yn as st,iE as t,bi as tt,ox as u,rn as ut,Rv as v,Ee as vt,Jf as w,uv as x,Bv as y,ko as z};