PageSourceSearch

https://staybright.ai/_nuxt/BbWie7Ce.js

js staybright.ai collected 2026-10-04 14:30:05 UTC 388,376 bytes, 46 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DTfkFxOO.js","./BGRz0kGJ.js","./BT3pz5EI.js","./wvbZMDsL.js","./aipt.nO0DBlLJ.css","./mIrHlN7U.js","./DTBO2sEn.js","./BEHD0UYf.js","./lgWYz7eS.js","./B_xCX-tf.js","./nV-_IUTW.js","./BMPkIzVd.js","./C0VATcHb.js","./DpCzqy0I.js","./BDKVlhGF.js","./ho-u98wB.js","./TkYE4N5j.js","./C0frS0Dp.js","./DbrUsWDX.js","./D3GQ7eZT.js","./BtwVV-VB.js","./Bqesb2by.js","./about.RBRrOipN.css","./_e58v7kL.js","./DXuD8xrK.js","./COBOirNI.js","./Cb41GzHZ.js","./BGPR693l.js","./C0_7RhrN.js","./DtRASunn.js","./zvF8FQek.js","./nEjeUpCn.js","./CXUQ7Lq8.js","./Dw_ADdf1.js","./B5IqRkjt.js","./Yn41bEyr.js","./Z1u4Xffz.js","./akI89Xn-.js","./DXgXiZVY.js","./BkT6efBp.js","./DceRfxMW.js","./CEzRBHZY.js","./index.Ce5C8q5k.css","./DAG1cJ_i.js","./CZWZW85R.js","./BHelCH0N.js","./DZ2Qr5Ia.js","./AuthLayout.BwDwlJUr.css","./B7mBZxE2.js","./CAiOCVIE.js","./B5K7CM6-.js","./Dl4Gn6pn.js","./9Mzz7BA5.js","./DZSEF-0E.js","./BvS0z0ke.js","./BtIbpi9q.js","./aiquiz.C0EwN-tt.css","./ChENL80f.js","./Do9RbnSP.js","./38aPxjHT.js","./og-image.DBblRZrJ.css","./D1Q2xsOI.js","./CFizt9Fe.js","./CuJtXH6B.js","./wor
1kshop.qemyMNJV.css","./K8qfo5dP.js","./_slug_.BXY5bixk.css","./CFhDvhPO.js","./aiuncutgbg.DL6W_SzA.css","./CJtLoJE6.js","./xEdROVSL.js","./Dt31o6Xs.js","./CyK8SHL-.js","./workshop-ad.Cft13qeX.css","./CewR6c0c.js","./Dqq84N_A.js","./MgfTcPgZ.js","./C8rgCx3l.js","./DIlrikFZ.js","./C11pnh11.js","./COgmjI8B.js","./DlxDRf3V.js","./business-i-burk.V-4V_48F.css","./Cmr84vkK.js","./B7Bw5v5m.js","./Fo0TvUFz.js","./BPLSnQPH.js","./CXnszzL5.js","./dKjXEinF.js","./yj0quHwj.js","./3g-jlR_k.js","./D4Nabn3-.js","./xwR5XGZT.js","./B1dOA9ji.js","./DoMJJl4M.js","./BVxrTLR3.js","./EexG1j2y.js","./Dp-7cGF8.js","./CQcrRyKt.js","./DpIsAIIz.js","./BWmuZdHd.js","./0aeAhi0E.js","./BUgJzDle.js","./ivDTJoRn.js","./BfGnjNo5.js","./Cljc3zy-.js","./B1lZZ9ld.js","./CdbzHsTe.js","./B9BSIKbO.js","./DgS_YVQT.js","./CweTOBAO.js","./DRNoeK_R.js","./DUTAzXhl.js","./COj5izKF.js","./DCrgYN-1.js","./D3XPO2-o.js","./CDSZHrYa.js","./Cv4P8D6n.js","./-0cpM0vI.js","./workshop-23feb-tack.7-lAuHHt.css","./BZrKl1uI.js","./DTel7YSV.js","./Be3AzRTX.js","./BAFH-Bk9.js","./DA5og5Ep.js","./D-CKipdI.js","./C8KF9b37.js","./J1_Wp4Cy.js","./1EnTWSnr.js","./DPAHZ4nA.js","./VbjBqHNd.js","./CrM9_flK.js","./Bp9B5-E_.js","./TBnaqZcG.js","./CnMQBeCp.js","./B2D01jOG.js","./DwiA2Jqk.js","./BEZ1qn7L.js","./CdRptETQ.js","./DaRBHEWp.js","./D5gDPzxo.js","./DiWgHY3K.js","./DJ7ecIBc.js","./qYbkaJ9Y.js","./BXSZDsHs.js","./BrkAiRcc.js","./B9w_pxu4.js","./BxI4FiEf.js","./Bi8gphTC.js","./BIkYE9IV.js","./bR4Ktn7Y.js","./C9dhz9K7.js","./D_KNUqGf.js","./XYCYOEac.js","./0T6b3aWX.js","./hlcIwr92.js","./D8Ai1RRW.js","./DLsn28q7.js","./BTgAmUDN.js","./k8-t16xH.js","./DNcrjYFj.js","./Dv-XFa-n.js","./DU0cKe2d.js","./Cl4fJbxD.js","./dashboard.DMAj9ok3.css","./CW8TllTH.js","./DA-vNAf1.js"])))=>i.map(i=>d[i]);
2(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();/**
3* @vue/shared v3.5.18
4* (c) 2018-present Yuxi (Evan) You and Vue contributors
5* @license MIT
6**//*! #__NO_SIDE_EFFECTS__ */function Ha(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ce={},Sr=[],Xt=()=>{},Dp=()=>!1,Is=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ja=e=>e.startsWith("onUpdate:"),Je=Object.assign,qa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Fp=Object.prototype.hasOwnProperty,Se=(e,t)=>Fp.call(e,t),ee=Array.isArray,Er=e=>Qr(e)==="[object Map]",$o=e=>Qr(e)==="[object Set]",Il=e=>Qr(e)==="[object Date]",Up=e=>Qr(e)==="[object RegExp]",re=e=>typeof e=="function",Oe=e=>typeof e=="string",Ft=e=>typeof e=="symbol",Te=e=>e!==null&&typeof e=="object",Wa=e=>(Te(e)||re(e))&&re(e.then)&&re(e.catch),yf=Object.prototype.toString,Qr=e=>yf.call(e),Bp=e=>Qr(e).slice(8,-1),_f=e=>Qr(e)==="[object Object]",Qa=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cr=Ha(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Do=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Vp=/-(\w)/g,At=Do(e=>e.replace(Vp,(t,n)=>n?n.toUpperCase():"")),Hp=/\B([A-Z])/g,Fn=Do(e=>e.replace(Hp,"-$1").toLowerCase()),Fo=Do(e=>e.charAt(0).toUpperCase()+e.slice(1)),no=Do(e=>e?`on${Fo(e)}`:""),On=(e,t)=>!Object.is(e,t),kr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ji=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},lo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},bf=e=>{const t=Oe(e)?Number(e):NaN;return isNaN(t)?e:t};let Ml;const Uo=()=>Ml||(Ml=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Pn(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Oe(r)?Qp(r):Pn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Oe(e)||Te(e))return e}const jp=/;(?![^(]*\))/g,qp=/:([^]+)/,Wp=/\/\*[^]*?\*\//g;function Qp(e){const t={};return e.replace(Wp,"").split(jp).forEach(n=>{if(n){const r=n.split(qp);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function mt(e){let t="";if(Oe(e))t=e;else if(ee(e))for(let n=0;n<e.length;n++){const r=mt(e[n]);r&&(t+=r+" ")}else if(Te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Nl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Oe(t)&&(e.class=mt(t)),n&&(e.style=Pn(n)),e}const Kp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Gp=Ha(Kp);function vf(e){return!!e||e===""}function Yp(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Bo(e[r],t[r]);return n}function Bo(e,t){if(e===t)return!0;let n=Il(e),r=Il(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ft(e),r=Ft(t),n||r)return e===t;if(n=ee(e),r=ee(t),n||r)return n&&r?Yp(e,t):!1;if(n=Te(e),r=Te(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Bo(e[i],t[i]))return!1}}return String(e)===String(t)}function zp(e,t){return e.findIndex(n=>Bo(n,t))}const wf=e=>!!(e&&e.__v_isRef===!0),Yt=e=>Oe(e)?e:e==null?"":ee(e)||Te(e)&&(e.toString===yf||!re(e.toString))?wf(e)?Yt(e.value):JSON.stringify(e,Sf,2):String(e),Sf=(e,t)=>wf(t)?Sf(e,t.value):Er(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[fi(r,o)+" =>"]=s,n),{})}:$o(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>fi(n))}:Ft(t)?fi(t):Te(t)&&!ee(t)&&!_f(t)?String(t):t,fi=(e,t="")=>{var n;return Ft(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7* @vue/reactivity v3.5.18
8* (c) 2018-present Yuxi (Evan) You and Vue contributors
9* @license MIT
vendor: 5,587 bytes, line 10
10**/let st;class Ef{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=st,!t&&st&&(this.index=(st.scopes||(st.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=st;try{return st=this,t()}finally{st=n}}}on(){++this._on===1&&(this.prevScope=st,st=this)}off(){this._on>0&&--this._on===0&&(st=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Vo(e){return new Ef(e)}function Ho(){return st}function qi(e,t=!1){st&&st.cleanups.push(e)}let Ae;const di=new WeakSet;class Cf{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,st&&st.active&&st.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,di.has(this)&&(di.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Tf(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,$l(this),Rf(this);const t=Ae,n=Dt;Ae=this,Dt=!0;try{return this.fn()}finally{Af(this),Ae=t,Dt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ya(t);this.deps=this.depsTail=void 0,$l(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?di.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Wi(this)&&this.run()}get dirty(){return Wi(this)}}let kf=0,is,as;function Tf(e,t=!1){if(e.flags|=8,t){e.next=as,as=e;return}e.next=is,is=e}function Ka(){kf++}function Ga(){if(--kf>0)return;if(as){let t=as;for(as=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;is;){let t=is;for(is=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Rf(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Af(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Ya(r),Jp(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Wi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Lf(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Lf(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===_s)||(e.globalVersion=_s,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Wi(e))))return;e.flags|=2;const t=e.dep,n=Ae,r=Dt;Ae=e,Dt=!0;try{Rf(e);const s=e.fn(e._value);(t.version===0||On(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Ae=n,Dt=r,Af(e),e.flags&=-3}}function Ya(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Ya(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Jp(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Dt=!0;const Of=[];function hn(){Of.push(Dt),Dt=!1}function pn(){const e=Of.pop();Dt=e===void 0?!0:e}function $l(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ae;Ae=void 0;try{t()}finally{Ae=n}}}let _s=0;class Xp{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class jo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ae||!Dt||Ae===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ae)n=this.activeLink=new Xp(Ae,this),Ae.deps?(n.prevDep=Ae.depsTail,Ae.depsTail.nextDep=n,Ae.depsTail=n):Ae.deps=Ae.depsTail=n,Pf(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ae.depsTail,n.nextDep=void 0,Ae.depsTail.nextDep=n,Ae.depsTail=n,Ae.deps===n&&(Ae.deps=r)}return n}trigger(t){this.version++,_s++,this.notify(t)}notify(t){Ka();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ga()}}}function Pf(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Pf(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const co=new WeakMap,Jn=Symbol(""),Qi=Symbol(""),bs=Symbol("");function ot(e,t,n){if(Dt&&Ae){let r=co.get(e);r||co.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new jo),s.map=r,s.key=n),s.track()}}function an(e,t,n,r,s,o){const i=co.get(e);if(!i){_s++;return}const a=l=>{l&&l.trigger()};if(Ka(),t==="clear")i.forEach(a);else{const l=ee(e),u=l&&Qa(n);if(l&&n==="length"){const c=Number(r);
vendor: 4,277 bytes, line 10
10i.forEach((f,d)=>{(d==="length"||d===bs||!Ft(d)&&d>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(bs)),t){case"add":l?u&&a(i.get("length")):(a(i.get(Jn)),Er(e)&&a(i.get(Qi)));break;case"delete":l||(a(i.get(Jn)),Er(e)&&a(i.get(Qi)));break;case"set":Er(e)&&a(i.get(Jn));break}}Ga()}function Zp(e,t){const n=co.get(e);return n&&n.get(t)}function ur(e){const t=_e(e);return t===e?t:(ot(t,"iterate",bs),Rt(e)?t:t.map(Xe))}function qo(e){return ot(e=_e(e),"iterate",bs),e}const eg={__proto__:null,[Symbol.iterator](){return hi(this,Symbol.iterator,Xe)},concat(...e){return ur(this).concat(...e.map(t=>ee(t)?ur(t):t))},entries(){return hi(this,"entries",e=>(e[1]=Xe(e[1]),e))},every(e,t){return en(this,"every",e,t,void 0,arguments)},filter(e,t){return en(this,"filter",e,t,n=>n.map(Xe),arguments)},find(e,t){return en(this,"find",e,t,Xe,arguments)},findIndex(e,t){return en(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return en(this,"findLast",e,t,Xe,arguments)},findLastIndex(e,t){return en(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return en(this,"forEach",e,t,void 0,arguments)},includes(...e){return pi(this,"includes",e)},indexOf(...e){return pi(this,"indexOf",e)},join(e){return ur(this).join(e)},lastIndexOf(...e){return pi(this,"lastIndexOf",e)},map(e,t){return en(this,"map",e,t,void 0,arguments)},pop(){return Yr(this,"pop")},push(...e){return Yr(this,"push",e)},reduce(e,...t){return Dl(this,"reduce",e,t)},reduceRight(e,...t){return Dl(this,"reduceRight",e,t)},shift(){return Yr(this,"shift")},some(e,t){return en(this,"some",e,t,void 0,arguments)},splice(...e){return Yr(this,"splice",e)},toReversed(){return ur(this).toReversed()},toSorted(e){return ur(this).toSorted(e)},toSpliced(...e){return ur(this).toSpliced(...e)},unshift(...e){return Yr(this,"unshift",e)},values(){return hi(this,"values",Xe)}};function hi(e,t,n){const r=qo(e),s=r[t]();return r!==e&&!Rt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const tg=Array.prototype;function en(e,t,n,r,s,o){const i=qo(e),a=i!==e&&!Rt(e),l=i[t];if(l!==tg[t]){const f=l.apply(e,o);return a?Xe(f):f}let u=n;i!==e&&(a?u=function(f,d){return n.call(this,Xe(f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(i,u,r);return a&&s?s(c):c}function Dl(e,t,n,r){const s=qo(e);let o=n;return s!==e&&(Rt(e)?n.length>3&&(o=function(i,a,l){return n.call(this,i,a,l,e)}):o=function(i,a,l){return n.call(this,i,Xe(a),l,e)}),s[t](o,...r)}function pi(e,t,n){const r=_e(e);ot(r,"iterate",bs);const s=r[t](...n);return(s===-1||s===!1)&&za(n[0])?(n[0]=_e(n[0]),r[t](...n)):s}function Yr(e,t,n=[]){hn(),Ka();const r=_e(e)[t].apply(e,n);return Ga(),pn(),r}const ng=Ha("__proto__,__v_isRef,__isVue"),xf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ft));function rg(e){Ft(e)||(e=String(e));const t=_e(this);return ot(t,"has",e),t.hasOwnProperty(e)}class If{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Uf:Ff:o?Df:$f).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ee(t);if(!s){let l;if(i&&(l=eg[n]))return l;if(n==="hasOwnProperty")return rg}const a=Reflect.get(t,n,Ie(t)?t:r);return(Ft(n)?xf.has(n):ng(n))||(s||ot(t,"get",n),o)?a:Ie(a)?i&&Qa(n)?a:a.value:Te(a)?s?Bf(a):_n(a):a}}class Mf extends If{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=gn(o);if(!Rt(r)&&!gn(r)&&(o=_e(o),r=_e(r)),!ee(t)&&Ie(o)&&!Ie(r))return l?!1:(o.value=r,!0)}const i=ee(t)&&Qa(n)?Number(n)<t.length:Se(t,n),a=Reflect.set(t,n,r,Ie(t)?t:s);return t===_e(s)&&(i?On(r,o)&&an(t,"set",n,r):an(t,"add",n,r)),a}deleteProperty(t,n){const r=Se(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&an(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Ft(n)||!xf.has(n))&&ot(t,"has",n),r}ownKeys(t){return ot(t,"iterate",ee(t)?"length":Jn),Reflect.ownKeys(t)}}class Nf extends If{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}
vendor: 35,159 bytes, lines 10-15
10const sg=new Mf,og=new Nf,ig=new Mf(!0),ag=new Nf(!0),Ki=e=>e,Fs=e=>Reflect.getPrototypeOf(e);function lg(e,t,n){return function(...r){const s=this.__v_raw,o=_e(s),i=Er(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),c=n?Ki:t?uo:Xe;return!t&&ot(o,"iterate",l?Qi:Jn),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Us(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function cg(e,t){const n={get(s){const o=this.__v_raw,i=_e(o),a=_e(s);e||(On(s,a)&&ot(i,"get",s),ot(i,"get",a));const{has:l}=Fs(i),u=t?Ki:e?uo:Xe;if(l.call(i,s))return u(o.get(s));if(l.call(i,a))return u(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&ot(_e(s),"iterate",Jn),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=_e(o),a=_e(s);return e||(On(s,a)&&ot(i,"has",s),ot(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=_e(a),u=t?Ki:e?uo:Xe;return!e&&ot(l,"iterate",Jn),a.forEach((c,f)=>s.call(o,u(c),u(f),i))}};return Je(n,e?{add:Us("add"),set:Us("set"),delete:Us("delete"),clear:Us("clear")}:{add(s){!t&&!Rt(s)&&!gn(s)&&(s=_e(s));const o=_e(this);return Fs(o).has.call(o,s)||(o.add(s),an(o,"add",s,s)),this},set(s,o){!t&&!Rt(o)&&!gn(o)&&(o=_e(o));const i=_e(this),{has:a,get:l}=Fs(i);let u=a.call(i,s);u||(s=_e(s),u=a.call(i,s));const c=l.call(i,s);return i.set(s,o),u?On(o,c)&&an(i,"set",s,o):an(i,"add",s,o),this},delete(s){const o=_e(this),{has:i,get:a}=Fs(o);let l=i.call(o,s);l||(s=_e(s),l=i.call(o,s)),a&&a.call(o,s);const u=o.delete(s);return l&&an(o,"delete",s,void 0),u},clear(){const s=_e(this),o=s.size!==0,i=s.clear();return o&&an(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=lg(s,e,t)}),n}function Wo(e,t){const n=cg(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Se(n,s)&&s in r?n:r,s,o)}const ug={get:Wo(!1,!1)},fg={get:Wo(!1,!0)},dg={get:Wo(!0,!1)},hg={get:Wo(!0,!0)},$f=new WeakMap,Df=new WeakMap,Ff=new WeakMap,Uf=new WeakMap;function pg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gg(e){return e.__v_skip||!Object.isExtensible(e)?0:pg(Bp(e))}function _n(e){return gn(e)?e:Qo(e,!1,sg,ug,$f)}function Jt(e){return Qo(e,!1,ig,fg,Df)}function Bf(e){return Qo(e,!0,og,dg,Ff)}function SR(e){return Qo(e,!0,ag,hg,Uf)}function Qo(e,t,n,r,s){if(!Te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=gg(e);if(o===0)return e;const i=s.get(e);if(i)return i;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function Xn(e){return gn(e)?Xn(e.__v_raw):!!(e&&e.__v_isReactive)}function gn(e){return!!(e&&e.__v_isReadonly)}function Rt(e){return!!(e&&e.__v_isShallow)}function za(e){return e?!!e.__v_raw:!1}function _e(e){const t=e&&e.__v_raw;return t?_e(t):e}function Vf(e){return!Se(e,"__v_skip")&&Object.isExtensible(e)&&ji(e,"__v_skip",!0),e}const Xe=e=>Te(e)?_n(e):e,uo=e=>Te(e)?Bf(e):e;function Ie(e){return e?e.__v_isRef===!0:!1}function oe(e){return Hf(e,!1)}function Dn(e){return Hf(e,!0)}function Hf(e,t){return Ie(e)?e:new mg(e,t)}class mg{constructor(t,n){this.dep=new jo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:_e(t),this._value=n?t:Xe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Rt(t)||gn(t);t=r?t:_e(t),On(t,n)&&(this._rawValue=t,this._value=r?t:Xe(t),this.dep.trigger())}}function se(e){return Ie(e)?e.value:e}function cn(e){return re(e)?e():se(e)}const yg={get:(e,t,n)=>t==="__v_raw"?e:se(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ie(s)&&!Ie(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function jf(e){return Xn(e)?e:new Proxy(e,yg)}class _g{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new jo,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function bg(e){return new _g(e)}function ER(e){const t=ee(e)?new Array(e.length):{};for(const n in e)t[n]=Wf(e,n);return t}class vg{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Zp(_e(this._object),this._key)}}class wg{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function qf(e,t,n){return Ie(e)?e:re(e)?new wg(e):Te(e)&&arguments.length>1?Wf(e,t,n):oe(e)}function Wf(e,t,n){const r=e[t];return Ie(r)?r:new vg(e,t,n)}class Sg{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new jo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=_s-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ae!==this)return Tf(this,!0),!0}get value(){const t=this.dep.track();return Lf(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Eg(e,t,n=!1){let r,s;return re(e)?r=e:(r=e.get,s=e.set),new Sg(r,s,n)}const Bs={},fo=new WeakMap;let Qn;function Cg(e,t=!1,n=Qn){if(n){let r=fo.get(n);r||fo.set(n,r=[]),r.push(e)}}function kg(e,t,n=Ce){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,u=g=>s?g:Rt(g)||s===!1||s===0?ln(g,1):ln(g);let c,f,d,h,m=!1,y=!1;if(Ie(e)?(f=()=>e.value,m=Rt(e)):Xn(e)?(f=()=>u(e),m=!0):ee(e)?(y=!0,m=e.some(g=>Xn(g)||Rt(g)),f=()=>e.map(g=>{if(Ie(g))return g.value;if(Xn(g))return u(g);if(re(g))return l?l(g,2):g()})):re(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){hn();try{d()}finally{pn()}}const g=Qn;Qn=c;try{return l?l(e,3,[h]):e(h)}finally{Qn=g}}:f=Xt,t&&s){const g=f,E=s===!0?1/0:s;f=()=>ln(g(),E)}const k=Ho(),b=()=>{c.stop(),k&&k.active&&qa(k.effects,c)};if(o&&t){const g=t;t=(...E)=>{g(...E),b()}}let S=y?new Array(e.length).fill(Bs):Bs;const p=g=>{if(!(!(c.flags&1)||!c.dirty&&!g))if(t){const E=c.run();if(s||m||(y?E.some((R,A)=>On(R,S[A])):On(E,S))){d&&d();const R=Qn;Qn=c;try{const A=[E,S===Bs?void 0:y&&S[0]===Bs?[]:S,h];S=E,l?l(t,3,A):t(...A)}finally{Qn=R}}}else c.run()};return a&&a(p),c=new Cf(f),c.scheduler=i?()=>i(p,!1):p,h=g=>Cg(g,!1,c),d=c.onStop=()=>{const g=fo.get(c);if(g){if(l)l(g,4);else for(const E of g)E();fo.delete(c)}},t?r?p(!0):S=c.run():i?i(p.bind(null,!0),!0):c.run(),b.pause=c.pause.bind(c),b.resume=c.resume.bind(c),b.stop=b,b}function ln(e,t=1/0,n){if(t<=0||!Te(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ie(e))ln(e.value,t,n);else if(ee(e))for(let r=0;r<e.length;r++)ln(e[r],t,n);else if($o(e)||Er(e))e.forEach(r=>{ln(r,t,n)});else if(_f(e)){for(const r in e)ln(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&ln(e[r],t,n)}return e}/**
11* @vue/runtime-core v3.5.18
12* (c) 2018-present Yuxi (Evan) You and Vue contributors
13* @license MIT
14**/function Ms(e,t,n,r){try{return r?e(...r):e()}catch(s){Kr(s,t,n)}}function Ut(e,t,n,r){if(re(e)){const s=Ms(e,t,n,r);return s&&Wa(s)&&s.catch(o=>{Kr(o,t,n)}),s}if(ee(e)){const s=[];for(let o=0;o<e.length;o++)s.push(Ut(e[o],t,n,r));return s}}function Kr(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ce;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(o){hn(),Ms(o,null,10,[e,l,u]),pn();return}}Tg(e,n,s,r,i)}function Tg(e,t,n,r=!0,s=!1){if(s)throw e}const ft=[];let Kt=-1;const Tr=[];let Cn=null,gr=0;const Qf=Promise.resolve();let ho=null;function mn(e){const t=ho||Qf;return e?t.then(this?e.bind(this):e):t}function Rg(e){let t=Kt+1,n=ft.length;for(;t<n;){const r=t+n>>>1,s=ft[r],o=vs(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Ja(e){if(!(e.flags&1)){const t=vs(e),n=ft[ft.length-1];!n||!(e.flags&2)&&t>=vs(n)?ft.push(e):ft.splice(Rg(t),0,e),e.flags|=1,Kf()}}function Kf(){ho||(ho=Qf.then(Gf))}function Gi(e){ee(e)?Tr.push(...e):Cn&&e.id===-1?Cn.splice(gr+1,0,e):e.flags&1||(Tr.push(e),e.flags|=1),Kf()}function Fl(e,t,n=Kt+1){for(;n<ft.length;n++){const r=ft[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;ft.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function po(e){if(Tr.length){const t=[...new Set(Tr)].sort((n,r)=>vs(n)-vs(r));if(Tr.length=0,Cn){Cn.push(...t);return}for(Cn=t,gr=0;gr<Cn.length;gr++){const n=Cn[gr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Cn=null,gr=0}}const vs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Gf(e){try{for(Kt=0;Kt<ft.length;Kt++){const t=ft[Kt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ms(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Kt<ft.length;Kt++){const t=ft[Kt];t&&(t.flags&=-2)}Kt=-1,ft.length=0,po(),ho=null,(ft.length||Tr.length)&&Gf()}}let et=null,Yf=null;function go(e){const t=et;return et=e,Yf=e&&e.type.__scopeId||null,t}function on(e,t=et,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Xl(-1);const o=go(t);let i;try{i=e(...s)}finally{go(o),r._d&&Xl(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function CR(e,t){if(et===null)return e;const n=Jo(et),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=Ce]=t[s];o&&(re(o)&&(o={mounted:o,updated:o}),o.deep&&ln(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Gt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(hn(),Ut(l,n,8,[e.el,a,e,t]),pn())}}const zf=Symbol("_vte"),Jf=e=>e.__isTeleport,ls=e=>e&&(e.disabled||e.disabled===""),Ul=e=>e&&(e.defer||e.defer===""),Bl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Vl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Yi=(e,t)=>{const n=e&&e.to;return Oe(n)?t?t(n):null:n},Xf={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:m,createText:y,createComment:k}}=u,b=ls(t.props);let{shapeFlag:S,children:p,dynamicChildren:g}=t;if(e==null){const E=t.el=y(""),R=t.anchor=y("");h(E,n,r),h(R,n,r);const A=(M,U)=>{S&16&&(s&&s.isCE&&(s.ce._teleportTarget=M),c(p,M,U,s,o,i,a,l))},j=()=>{const M=t.target=Yi(t.props,m),U=Zf(M,t,y,h);M&&(i!=="svg"&&Bl(M)?i="svg":i!=="mathml"&&Vl(M)&&(i="mathml"),b||(A(M,U),ro(t,!1)))};b&&(A(n,R),ro(t,!0)),Ul(t.props)?(t.el.__isMounted=!1,Ke(()=>{j(),delete t.el.__isMounted},o)):j()}else{if(Ul(t.props)&&e.el.__isMounted===!1){Ke(()=>{Xf.process(e,t,n,r,s,o,i,a,l,u)},o);return}t.el=e.el,t.targetStart=e.targetStart;const E=t.anchor=e.anchor,R=t.target=e.target,A=t.targetAnchor=e.targetAnchor,j=ls(e.props),M=j?n:R,U=j?E:A;if(i==="svg"||Bl(R)?i="svg":(i==="mathml"||Vl(R))&&(i="mathml"),g?(d(e.dynamicChildren,g,M,s,o,i,a),rl(e,t,!0)):l||f(e,t,M,U,s,o,i,a,!1),b)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Vs(t,n,E,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Q=t.target=Yi(t.props,m);Q&&Vs(t,Q,null,u,0)}else j&&Vs(t,R,A,u,1);ro(t,b)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(s(u),s(c)),o&&s(l),i&16){const h=o||!ls(d);for(let m=0;m<a.length;m++){const y=a[m];r(y,t,n,h,!!y.dynamicChildren)}}},move:Vs,hydrate:Ag};function Vs(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:c}=e,f=o===2;if(f&&r(i,t,n),(!f||ls(c))&&l&16)for(let d=0;d<u.length;d++)s(u[d],t,n,2);f&&r(a,t,n)}function Ag(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:c}},f){const d=t.target=Yi(t.props,l);if(d){const h=ls(t.props),m=d._lpa||d.firstChild;if(t.shapeFlag&16)if(h)t.anchor=f(i(e),t,a(e),n,r,s,o),t.targetStart=m,t.targetAnchor=m&&i(m);else{t.anchor=i(e);let y=m;for(;y;){if(y&&y.nodeType===8){if(y.data==="teleport start anchor")t.targetStart=y;else if(y.data==="teleport anchor"){t.targetAnchor=y,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}y=i(y)}t.targetAnchor||Zf(d,t,c,u),f(m&&i(m),t,d,n,r,s,o)}ro(t,h)}return t.anchor&&i(t.anchor)}const kR=Xf;function ro(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Zf(e,t,n,r){const s=t.targetStart=n(""),o=t.targetAnchor=n("");return s[zf]=o,e&&(r(s,e),r(o,e)),o}const kn=Symbol("_leaveCb"),Hs=Symbol("_enterCb");function Lg(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xr(()=>{e.isMounted=!0}),Gr(()=>{e.isUnmounting=!0}),e}const wt=[Function,Array],ed={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wt,onEnter:wt,onAfterEnter:wt,onEnterCancelled:wt,onBeforeLeave:wt,onLeave:wt,onAfterLeave:wt,onLeaveCancelled:wt,onBeforeAppear:wt,onAppear:wt,onAfterAppear:wt,onAppearCancelled:wt},td=e=>{const t=e.subTree;return t.component?td(t.component):t},Og={name:"BaseTransition",props:ed,setup(e,{slots:t}){const n=_t(),r=Lg();return()=>{const s=t.default&&sd(t.default(),!0);if(!s||!s.length)return;const o=nd(s),i=_e(e),{mode:a}=i;if(r.isLeaving)return gi(o);const l=Hl(o);if(!l)return gi(o);let u=zi(l,i,r,n,f=>u=f);l.type!==qe&&Pr(l,u);let c=n.subTree&&Hl(n.subTree);if(c&&c.type!==qe&&!Mt(l,c)&&td(n).type!==qe){let f=zi(c,i,r,n);if(Pr(c,f),a==="out-in"&&l.type!==qe)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},gi(o);a==="in-out"&&l.type!==qe?f.delayLeave=(d,h,m)=>{const y=rd(r,c);y[String(c.key)]=c,d[kn]=()=>{h(),d[kn]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{m(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function nd(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==qe){t=n;break}}return t}const Pg=Og;function rd(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function zi(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:m,onLeaveCancelled:y,onBeforeAppear:k,onAppear:b,onAfterAppear:S,onAppearCancelled:p}=t,g=String(e.key),E=rd(n,e),R=(M,U)=>{M&&Ut(M,r,9,U)},A=(M,U)=>{const Q=U[1];R(M,U),ee(M)?M.every(D=>D.length<=1)&&Q():M.length<=1&&Q()},j={mode:i,persisted:a,beforeEnter(M){let U=l;if(!n.isMounted)if(o)U=k||l;else return;M[kn]&&M[kn](!0);const Q=E[g];Q&&Mt(e,Q)&&Q.el[kn]&&Q.el[kn](),R(U,[M])},enter(M){let U=u,Q=c,D=f;if(!n.isMounted)if(o)U=b||u,Q=S||c,D=p||f;else return;let J=!1;const ie=M[Hs]=ue=>{J||(J=!0,ue?R(D,[M]):R(Q,[M]),j.delayedLeave&&j.delayedLeave(),M[Hs]=void 0)};U?A(U,[M,ie]):ie()},leave(M,U){const Q=String(e.key);if(M[Hs]&&M[Hs](!0),n.isUnmounting)return U();R(d,[M]);let D=!1;const J=M[kn]=ie=>{D||(D=!0,U(),ie?R(y,[M]):R(m,[M]),M[kn]=void 0,E[Q]===e&&delete E[Q])};E[Q]=e,h?A(h,[M,J]):J()},clone(M){const U=zi(M,t,n,r,s);return s&&s(U),U}};return j}function gi(e){if(Ns(e))return e=yn(e),e.children=null,e}function Hl(e){if(!Ns(e))return Jf(e.type)&&e.children?nd(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&re(n.default))return n.default()}}function Pr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Pr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function sd(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Le?(i.patchFlag&128&&s++,r=r.concat(sd(i.children,t,a))):(t||i.type!==qe)&&r.push(a!=null?yn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function nt(e,t){return re(e)?Je({name:e.name},t,{setup:e}):e}function TR(){const e=_t();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Xa(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function RR(e){const t=_t(),n=Dn(null);if(t){const s=t.refs===Ce?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}return n}function Rr(e,t,n,r,s=!1){if(ee(e)){e.forEach((m,y)=>Rr(m,t&&(ee(t)?t[y]:t),n,r,s));return}if(xn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Rr(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Jo(r.component):r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Ce?a.refs={}:a.refs,f=a.setupState,d=_e(f),h=f===Ce?()=>!1:m=>Se(d,m);if(u!=null&&u!==l&&(Oe(u)?(c[u]=null,h(u)&&(f[u]=null)):Ie(u)&&(u.value=null)),re(l))Ms(l,a,12,[i,c]);else{const m=Oe(l),y=Ie(l);if(m||y){const k=()=>{if(e.f){const b=m?h(l)?f[l]:c[l]:l.value;s?ee(b)&&qa(b,o):ee(b)?b.includes(o)||b.push(o):m?(c[l]=[o],h(l)&&(f[l]=c[l])):(l.value=[o],e.k&&(c[e.k]=l.value))}else m?(c[l]=i,h(l)&&(f[l]=i)):y&&(l.value=i,e.k&&(c[e.k]=i))};i?(k.id=-1,Ke(k,n)):k()}}}let jl=!1;const fr=()=>{jl||(jl=!0)},xg=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Ig=e=>e.namespaceURI.includes("MathML"),js=e=>{if(e.nodeType===1){if(xg(e))return"svg";if(Ig(e))return"mathml"}},vr=e=>e.nodeType===8;function Mg(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:u}}=e,c=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),po(),g._vnode=p;return}f(g.firstChild,p,null,null,null),po(),g._vnode=p},f=(p,g,E,R,A,j=!1)=>{j=j||!!g.dynamicChildren;const M=vr(p)&&p.data==="[",U=()=>y(p,g,E,R,A,M),{type:Q,ref:D,shapeFlag:J,patchFlag:ie}=g;let ue=p.nodeType;g.el=p,ie===-2&&(j=!1,g.dynamicChildren=null);let z=null;switch(Q){case Mn:ue!==3?g.children===""?(l(g.el=s(""),i(p),p),z=p):z=U():(p.data!==g.children&&(fr(),p.data=g.children),z=o(p));break;case qe:S(p)?(z=o(p),b(g.el=p.content.firstChild,p,E)):ue!==8||M?z=U():z=o(p);break;case us:if(M&&(p=o(p),ue=p.nodeType),ue===1||ue===3){z=p;const ne=!g.children.length;for(let Y=0;Y<g.staticCount;Y++)ne&&(g.children+=z.nodeType===1?z.outerHTML:z.data),Y===g.staticCount-1&&(g.anchor=z),z=o(z);return M?o(z):z}else U();break;case Le:M?z=m(p,g,E,R,A,j):z=U();break;default:if(J&1)(ue!==1||g.type.toLowerCase()!==p.tagName.toLowerCase())&&!S(p)?z=U():z=d(p,g,E,R,A,j);else if(J&6){g.slotScopeIds=A;const ne=i(p);if(M?z=k(p):vr(p)&&p.data==="teleport start"?z=k(p,p.data,"teleport end"):z=o(p),t(g,ne,null,E,R,js(ne),j),xn(g)&&!g.type.__asyncResolved){let Y;M?(Y=be(Le),Y.anchor=z?z.previousSibling:ne.lastChild):Y=p.nodeType===3?Mr(""):be("div"),Y.el=p,g.component.subTree=Y}}else J&64?ue!==8?z=U():z=g.type.hydrate(p,g,E,R,A,j,e,h):J&128&&(z=g.type.hydrate(p,g,E,R,js(i(p)),A,j,e,f))}return D!=null&&Rr(D,null,R,g),z},d=(p,g,E,R,A,j)=>{j=j||!!g.dynamicChildren;const{type:M,props:U,patchFlag:Q,shapeFlag:D,dirs:J,transition:ie}=g,ue=M==="input"||M==="option";if(ue||Q!==-1){J&&Gt(g,null,E,"created");let z=!1;if(S(p)){z=Rd(null,ie)&&E&&E.vnode.props&&E.vnode.props.appear;const Y=p.content.firstChild;if(z){const ae=Y.getAttribute("class");ae&&(Y.$cls=ae),ie.beforeEnter(Y)}b(Y,p,E),g.el=p=Y}if(D&16&&!(U&&(U.innerHTML||U.textContent))){let Y=h(p.firstChild,g,p,E,R,A,j);for(;Y;){qs(p,1)||fr();const ae=Y;Y=Y.nextSibling,a(ae)}}else if(D&8){let Y=g.children;Y[0]===`
15`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(Y=Y.slice(1)),p.textContent!==Y&&(qs(p,0)||fr(),p.textContent=g.children)}if(U){if(ue||!j||Q&48){const Y=p.tagName.includes("-");for(const ae in U)(ue&&(ae.endsWith("value")||ae==="indeterminate")||Is(ae)&&!Cr(ae)||ae[0]==="."||Y)&&r(p,ae,null,U[ae],void 0,E)}else if(U.onClick)r(p,"onClick",null,U.onClick,void 0,E);else if(Q&4&&Xn(U.style))for(const Y in U.style)U.style[Y]}let ne;(ne=U&&U.onVnodeBeforeMount)&&dt(ne,E,g),J&&Gt(g,null,E,"beforeMount"),((ne=U&&U.onVnodeMounted)||J||z)&&xd(()=>{ne&&dt(ne,E,g),z&&ie.enter(p),J&&Gt(g,null,E,"mounted")},R)}return p.nextSibling},h=(p,g,E,R,A,j,M)=>{M=M||!!g.dynamicChildren;const U=g.children,Q=U.length;for(let D=0;D<Q;D++){const J=M?U[D]:U[D]=yt(U[D]),ie=J.type===Mn;p?(ie&&!M&&D+1<Q&&yt(U[D+1]).type===Mn&&(l(s(p.data.slice(J.children.length)),E,o(p)),p.data=J.children),p=f(p,J,R,A,j,M)):ie&&!J.children?l(J.el=s(""),E):(qs(E,1)||fr(),n(null,J,E,null,R,A,js(E),j))}return p},m=(p,g,E,R,A,j)=>{const{slotScopeIds:M}=g;M&&(A=A?A.concat(M):M);const U=i(p),Q=h(o(p),g,U,E,R,A,j);return Q&&vr(Q)&&Q.data==="]"?o(g.anchor=Q):(fr(),l(g.anchor=u("]"),U,Q),Q)},y=(p,g,E,R,A,j)=>{if(qs(p.parentElement,1)||fr(),g.el=null,j){const Q=k(p);for(;;){const D=o(p);if(D&&D!==Q)a(D);else break}}const M=o(p),U=i(p);return a(p),n(null,g,U,M,E,R,js(U),A),E&&(E.vnode.el=g.el,zo(E,g.el)),M},k=(p,g="[",E="]")=>{let R=0;for(;p;)if(p=o(p),p&&vr(p)&&(p.data===g&&R++,p.data===E)){if(R===0)return o(p);R--}return p},b=(p,g,E)=>{const R=g.parentNode;R&&R.replaceChild(p,g);let A=E;for(;A;)A.vnode.el===g&&(A.vnode.el=A.subTree.el=p),A=A.parent},S=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[c,f]}const ql="data-allow-mismatch",Ng={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function qs(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ql);)e=e.parentElement;const n=e&&e.getAttribute(ql);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(Ng[t])}}Uo().requestIdleCallback;Uo().cancelIdleCallback;function $g(e,t){if(vr(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(vr(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const xn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function mi(e){re(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const d=()=>(f++,u=null,h()),h=()=>{let m;return u||(m=u=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((k,b)=>{l(y,()=>k(d()),()=>b(y),f+1)});throw y}).then(y=>m!==u&&u?u:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),c=y,y)))};return nt({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(m,y,k){let b=!1;(y.bu||(y.bu=[])).push(()=>b=!0);const S=()=>{b||k()},p=o?()=>{const g=o(S,E=>$g(m,E));g&&(y.bum||(y.bum=[])).push(g)}:S;c?p():h().then(()=>!y.isUnmounted&&p())},get __asyncResolved(){return c},setup(){const m=Ze;if(Xa(m),c)return()=>yi(c,m);const y=p=>{u=null,Kr(p,m,13,!r)};if(a&&m.suspense||Nr)return h().then(p=>()=>yi(p,m)).catch(p=>(y(p),()=>r?be(r,{error:p}):null));const k=oe(!1),b=oe(),S=oe(!!s);return s&&setTimeout(()=>{S.value=!1},s),i!=null&&setTimeout(()=>{if(!k.value&&!b.value){const p=new Error(`Async component timed out after ${i}ms.`);y(p),b.value=p}},i),h().then(()=>{k.value=!0,m.parent&&Ns(m.parent.vnode)&&m.parent.update()}).catch(p=>{y(p),b.value=p}),()=>{if(k.value&&c)return yi(c,m);if(b.value&&r)return be(r,{error:b.value});if(n&&!S.value)return be(n)}}})}function yi(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=be(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Ns=e=>e.type.__isKeepAlive,Dg={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=_t(),r=n.ctx;if(!r.renderer)return()=>{const S=t.default&&t.default();return S&&S.length===1?S[0]:S};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(S,p,g,E,R)=>{const A=S.component;u(S,p,g,0,a),l(A.vnode,S,p,g,A,a,E,S.slotScopeIds,R),Ke(()=>{A.isDeactivated=!1,A.a&&kr(A.a);const j=S.props&&S.props.onVnodeMounted;j&&dt(j,A.parent,S)},a)},r.deactivate=S=>{const p=S.component;yo(p.m),yo(p.a),u(S,d,null,1,a),Ke(()=>{p.da&&kr(p.da);const g=S.props&&S.props.onVnodeUnmounted;g&&dt(g,p.parent,S),p.isDeactivated=!0},a)};function h(S){_i(S),c(S,n,a,!0)}function m(S){s.forEach((p,g)=>{const E=aa(p.type);E&&!S(E)&&y(g)})}function y(S){const p=s.get(S);p&&(!i||!Mt(p,i))?h(p):i&&_i(i),s.delete(S),o.delete(S)}$e(()=>[e.include,e.exclude],([S,p])=>{S&&m(g=>ns(S,g)),p&&m(g=>!ns(p,g))},{flush:"post",deep:!0});let k=null;const b=()=>{k!=null&&(_o(n.subTree.type)?Ke(()=>{s.set(k,Ws(n.subTree))},n.subTree.suspense):s.set(k,Ws(n.subTree)))};return xr(b),ld(b),Gr(()=>{s.forEach(S=>{const{subTree:p,suspense:g}=n,E=Ws(p);if(S.type===E.type&&S.key===E.key){_i(E);const R=E.component.da;R&&Ke(R,g);return}h(S)})}),()=>{if(k=null,!t.default)return i=null;const S=t.default(),p=S[0];if(S.length>1)return i=null,S;if(!rr(p)||!(p.shapeFlag&4)&&!(p.shapeFlag&128))return i=null,p;let g=Ws(p);if(g.type===qe)return i=null,g;const E=g.type,R=aa(xn(g)?g.type.__asyncResolved||{}:E),{include:A,exclude:j,max:M}=e;if(A&&(!R||!ns(A,R))||j&&R&&ns(j,R))return g.shapeFlag&=-257,i=g,p;const U=g.key==null?E:g.key,Q=s.get(U);return g.el&&(g=yn(g),p.shapeFlag&128&&(p.ssContent=g)),k=U,Q?(g.el=Q.el,g.component=Q.component,g.transition&&Pr(g,g.transition),g.shapeFlag|=512,o.delete(U),o.add(U)):(o.add(U),M&&o.size>parseInt(M,10)&&y(o.values().next().value)),g.shapeFlag|=256,i=g,_o(p.type)?p:g}}},Fg=Dg;function ns(e,t){return ee(e)?e.some(n=>ns(n,t)):Oe(e)?e.split(",").includes(t):Up(e)?(e.lastIndex=0,e.test(t)):!1}function od(e,t){ad(e,"a",t)}function id(e,t){ad(e,"da",t)}function ad(e,t,n=Ze){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ko(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ns(s.parent.vnode)&&Ug(r,t,n,s),s=s.parent}}function Ug(e,t,n,r){const s=Ko(t,e,r,!0);Za(()=>{qa(r[t],s)},n)}function _i(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ws(e){return e.shapeFlag&128?e.ssContent:e}function Ko(e,t,n=Ze,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{hn();const a=sr(n),l=Ut(t,n,e,i);return a(),pn(),l});return r?s.unshift(o):s.push(o),o}}const bn=e=>(t,n=Ze)=>{(!Nr||e==="sp")&&Ko(e,(...r)=>t(...r),n)},Bg=bn("bm"),xr=bn("m"),Vg=bn("bu"),ld=bn("u"),Gr=bn("bum"),Za=bn("um"),Hg=bn("sp"),jg=bn("rtg"),qg=bn("rtc");function cd(e,t=Ze){Ko("ec",e,t)}const ud="components";function AR(e,t){return dd(ud,e,!0,t)||e}const fd=Symbol.for("v-ndc");function mr(e){return Oe(e)?dd(ud,e,!1)||e:e||fd}function dd(e,t,n=!0,r=!1){const s=et||Ze;if(s){const o=s.type;{const a=aa(o,!1);if(a&&(a===t||a===At(t)||a===Fo(At(t))))return o}const i=Wl(s[e]||o[e],t)||Wl(s.appContext[e],t);return!i&&r?o:i}}function Wl(e,t){return e&&(e[t]||e[At(t)]||e[Fo(At(t))])}function Ji(e,t,n,r){let s;const o=n,i=ee(e);if(i||Oe(e)){const a=i&&Xn(e);let l=!1,u=!1;a&&(l=!Rt(e),u=gn(e),e=qo(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(l?u?uo(Xe(e[c])):Xe(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(Te(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];s[l]=t(e[c],c,l,o)}}else s=[];return s}function kt(e,t,n={},r,s){if(et.ce||et.parent&&xn(et.parent)&&et.parent.ce)return t!=="default"&&(n.name=t),ce(),it(Le,null,[be("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),ce();const i=o&&hd(o(n)),a=n.key||i&&i.key,l=it(Le,{key:(a&&!Ft(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function hd(e){return e.some(t=>rr(t)?!(t.type===qe||t.type===Le&&!hd(t.children)):!0)?e:null}function LR(e,t){const n={};for(const r in e)n[no(r)]=e[r];return n}const Xi=e=>e?$d(e)?Jo(e):Xi(e.parent):null,cs=Je(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Xi(e.parent),$root:e=>Xi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>md(e),$forceUpdate:e=>e.f||(e.f=()=>{Ja(e.update)}),$nextTick:e=>e.n||(e.n=mn.bind(e.proxy)),$watch:e=>fm.bind(e)}),bi=(e,t)=>e!==Ce&&!e.__isScriptSetup&&Se(e,t),Wg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(bi(r,t))return i[t]=1,r[t];if(s!==Ce&&Se(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&Se(u,t))return i[t]=3,o[t];if(n!==Ce&&Se(n,t))return i[t]=4,n[t];ea&&(i[t]=0)}}const c=cs[t];let f,d;if(c)return t==="$attrs"&&ot(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ce&&Se(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Se(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return bi(s,t)?(s[t]=n,!0):r!==Ce&&Se(r,t)?(r[t]=n,!0):Se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==Ce&&Se(e,i)||bi(t,i)||(a=o[0])&&Se(a,i)||Se(r,i)||Se(cs,i)||Se(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function OR(){return pd().slots}function Qg(){return pd().attrs}function pd(e){const t=_t();return t.setupContext||(t.setupContext=Fd(t))}function Zi(e){return ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function PR(e,t){const n=Zi(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?ee(s)||re(s)?s=n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(s=n[r]={default:t[r]}),s&&t[`__skip_${r}`]&&(s.skipFactory=!0)}return n}function xR(e){const t=_t();let n=e();return oa(),Wa(n)&&(n=n.catch(r=>{throw sr(t),r})),[n,()=>sr(t)]}let ea=!0;function Kg(e){const t=md(e),n=e.proxy,r=e.ctx;ea=!1,t.beforeCreate&&Ql(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:m,activated:y,deactivated:k,beforeDestroy:b,beforeUnmount:S,destroyed:p,unmounted:g,render:E,renderTracked:R,renderTriggered:A,errorCaptured:j,serverPrefetch:M,expose:U,inheritAttrs:Q,components:D,directives:J,filters:ie}=t;if(u&&Gg(u,r,null),i)for(const ne in i){const Y=i[ne];re(Y)&&(r[ne]=Y.bind(n))}if(s){const ne=s.call(n,n);Te(ne)&&(e.data=_n(ne))}if(ea=!0,o)for(const ne in o){const Y=o[ne],ae=re(Y)?Y.bind(n,n):re(Y.get)?Y.get.bind(n,n):Xt,Be=!re(Y)&&re(Y.set)?Y.set.bind(n):Xt,Ye=te({get:ae,set:Be});Object.defineProperty(r,ne,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Ve=>Ye.value=Ve})}if(a)for(const ne in a)gd(a[ne],r,n,ne);if(l){const ne=re(l)?l.call(n):l;Reflect.ownKeys(ne).forEach(Y=>{In(Y,ne[Y])})}c&&Ql(c,e,"c");function z(ne,Y){ee(Y)?Y.forEach(ae=>ne(ae.bind(n))):Y&&ne(Y.bind(n))}if(z(Bg,f),z(xr,d),z(Vg,h),z(ld,m),z(od,y),z(id,k),z(cd,j),z(qg,R),z(jg,A),z(Gr,S),z(Za,g),z(Hg,M),ee(U))if(U.length){const ne=e.exposed||(e.exposed={});U.forEach(Y=>{Object.defineProperty(ne,Y,{get:()=>n[Y],set:ae=>n[Y]=ae,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===Xt&&(e.render=E),Q!=null&&(e.inheritAttrs=Q),D&&(e.components=D),J&&(e.directives=J),M&&Xa(e)}function Gg(e,t,n=Xt){ee(e)&&(e=ta(e));for(const r in e){const s=e[r];let o;Te(s)?"default"in s?o=Ge(s.from||r,s.default,!0):o=Ge(s.from||r):o=Ge(s),Ie(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Ql(e,t,n){Ut(ee(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function gd(e,t,n,r){let s=r.includes(".")?Ld(n,r):()=>n[r];if(Oe(e)){const o=t[e];re(o)&&$e(s,o)}else if(re(e))$e(s,e.bind(n));else if(Te(e))if(ee(e))e.forEach(o=>gd(o,t,n,r));else{const o=re(e.handler)?e.handler.bind(n):t[e.handler];re(o)&&$e(s,o,e)}}function md(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>mo(l,u,i,!0)),mo(l,t,i)),Te(t)&&o.set(t,l),l}function mo(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&mo(e,o,n,!0),s&&s.forEach(i=>mo(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Yg[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Yg={data:Kl,props:Gl,emits:Gl,methods:rs,computed:rs,beforeCreate:ct,created:ct,beforeMount:ct,mounted:ct,beforeUpdate:ct,updated:ct,beforeDestroy:ct,beforeUnmount:ct,destroyed:ct,unmounted:ct,activated:ct,deactivated:ct,errorCaptured:ct,serverPrefetch:ct,components:rs,directives:rs,watch:Jg,provide:Kl,inject:zg};function Kl(e,t){return t?e?function(){return Je(re(e)?e.call(this,this):e,re(t)?t.call(this,this):t)}:t:e}function zg(e,t){return rs(ta(e),ta(t))}function ta(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ct(e,t){return e?[...new Set([].concat(e,t))]:t}function rs(e,t){return e?Je(Object.create(null),e,t):t}function Gl(e,t){return e?ee(e)&&ee(t)?[...new Set([...e,...t])]:Je(Object.create(null),Zi(e),Zi(t??{})):t}function Jg(e,t){if(!e)return t;if(!t)return e;const n=Je(Object.create(null),e);for(const r in t)n[r]=ct(e[r],t[r]);return n}function yd(){return{app:null,config:{isNativeTag:Dp,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Xg=0;function Zg(e,t){return function(r,s=null){re(r)||(r=Je({},r)),s!=null&&!Te(s)&&(s=null);const o=yd(),i=new WeakSet,a=[];let l=!1;const u=o.app={_uid:Xg++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Im,get config(){return o.config},set config(c){},use(c,...f){return i.has(c)||(c&&re(c.install)?(i.add(c),c.install(u,...f)):re(c)&&(i.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,d){if(!l){const h=u._ceVNode||be(r,s);return h.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(h,c):e(h,c,d),l=!0,u._container=c,c.__vue_app__=u,Jo(h.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Ut(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=Zn;Zn=u;try{return c()}finally{Zn=f}}};return u}}let Zn=null;function In(e,t){if(Ze){let n=Ze.provides;const r=Ze.parent&&Ze.parent.provides;r===n&&(n=Ze.provides=Object.create(r)),n[e]=t}}function Ge(e,t,n=!1){const r=_t();if(r||Zn){let s=Zn?Zn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&re(t)?t.call(r&&r.proxy):t}}function el(){return!!(_t()||Zn)}const _d={},bd=()=>Object.create(_d),vd=e=>Object.getPrototypeOf(e)===_d;function em(e,t,n,r=!1){const s={},o=bd();e.propsDefaults=Object.create(null),wd(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Jt(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function tm(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}
vendor: 4,435 bytes, line 15
15=e,a=_e(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(Yo(e.emitsOptions,d))continue;const h=t[d];if(l)if(Se(o,d))h!==o[d]&&(o[d]=h,u=!0);else{const m=At(d);s[m]=na(l,a,m,h,e,!1)}else h!==o[d]&&(o[d]=h,u=!0)}}}else{wd(e,t,s,o)&&(u=!0);let c;for(const f in a)(!t||!Se(t,f)&&((c=Fn(f))===f||!Se(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=na(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!Se(t,f))&&(delete o[f],u=!0)}u&&an(e.attrs,"set","")}function wd(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Cr(l))continue;const u=t[l];let c;s&&Se(s,c=At(l))?!o||!o.includes(c)?n[c]=u:(a||(a={}))[c]=u:Yo(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(o){const l=_e(n),u=a||Ce;for(let c=0;c<o.length;c++){const f=o[c];n[f]=na(s,l,f,u[f],e,!Se(u,f))}}return i}function na(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=Se(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&re(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=sr(s);r=u[n]=l.call(null,t),c()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===Fn(n))&&(r=!0))}return r}const nm=new WeakMap;function Sd(e,t,n=!1){const r=n?nm:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!re(e)){const c=f=>{l=!0;const[d,h]=Sd(f,t,!0);Je(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return Te(e)&&r.set(e,Sr),Sr;if(ee(o))for(let c=0;c<o.length;c++){const f=At(o[c]);Yl(f)&&(i[f]=Ce)}else if(o)for(const c in o){const f=At(c);if(Yl(f)){const d=o[c],h=i[f]=ee(d)||re(d)?{type:d}:Je({},d),m=h.type;let y=!1,k=!0;if(ee(m))for(let b=0;b<m.length;++b){const S=m[b],p=re(S)&&S.name;if(p==="Boolean"){y=!0;break}else p==="String"&&(k=!1)}else y=re(m)&&m.name==="Boolean";h[0]=y,h[1]=k,(y||Se(h,"default"))&&a.push(f)}}const u=[i,a];return Te(e)&&r.set(e,u),u}function Yl(e){return e[0]!=="$"&&!Cr(e)}const tl=e=>e==="_"||e==="__"||e==="_ctx"||e==="$stable",nl=e=>ee(e)?e.map(yt):[yt(e)],rm=(e,t,n)=>{if(t._n)return t;const r=on((...s)=>nl(t(...s)),n);return r._c=!1,r},Ed=(e,t,n)=>{const r=e._ctx;for(const s in e){if(tl(s))continue;const o=e[s];if(re(o))t[s]=rm(s,o,r);else if(o!=null){const i=nl(o);t[s]=()=>i}}},Cd=(e,t)=>{const n=nl(t);e.slots.default=()=>n},kd=(e,t,n)=>{for(const r in t)(n||!tl(r))&&(e[r]=t[r])},sm=(e,t,n)=>{const r=e.slots=bd();if(e.vnode.shapeFlag&32){const s=t.__;s&&ji(r,"__",s,!0);const o=t._;o?(kd(r,t,n),n&&ji(r,"_",o,!0)):Ed(t,r)}else t&&Cd(e,t)},om=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Ce;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:kd(s,t,n):(o=!t.$stable,Ed(t,s)),i=t}else t&&(Cd(e,t),i={default:1});if(o)for(const a in s)!tl(a)&&i[a]==null&&delete s[a]},Ke=xd;function im(e){return Td(e)}function am(e){return Td(e,Mg)}function Td(e,t){const n=Uo();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=Xt,insertStaticContent:m}=e,y=(v,C,O,B=null,$=null,_=null,w=void 0,L=null,x=!!C.dynamicChildren)=>{if(v===C)return;v&&!Mt(v,C)&&(B=I(v),Ve(v,$,_,!0),v=null),C.patchFlag===-2&&(x=!1,C.dynamicChildren=null);const{type:F,ref:H,shapeFlag:T}=C;switch(F){case Mn:k(v,C,O,B);break;case qe:b(v,C,O,B);break;case us:v==null&&S(C,O,B,w);break;case Le:D(v,C,O,B,$,_,w,L,x);break;default:T&1?E(v,C,O,B,$,_,w,L,x):T&6?J(v,C,O,B,$,_,w,L,x):(T&64||T&128)&&F.process(v,C,O,B,$,_,w,L,x,G)}H!=null&&$?Rr(H,v&&v.ref,_,C||v,!C):H==null&&v&&v.ref!=null&&Rr(v.ref,null,_,v,!0)},k=(v,C,O,B)=>{if(v==null)r(C.el=a(C.children),O,B);else{const $=C.el=v.el;C.children!==v.children&&u($,C.children)}},b=(v,C,O,B)=>{v==null?r(C.el=l(C.children||""),O,B):C.el=v.el},S=(v,C,O,B)=>{[v.el,v.anchor]=m(v.children,C,O,B,v.el,v.anchor)},p=({el:v,anchor:C},O,B)=>{let $;for(;v&&v!==C;)$=d(v),r(v,O,B),v=$;r(C,O,B)},g=({el:v,anchor:C})=>{let O;for(;v&&v!==C;)O=d(v),s(v),v=O;s(C)},E=(v,C,O,B,$,_,w,L,x)=>{C.type==="svg"?w="svg":C.type==="math"&&(w="mathml"),v==null?R(C,O,B,$,_,w,L,x):M(v,C,$,_,w,L,x)},R=(v,C,O,B,$,_,w,L)=>{let x,F;const{props:H,shapeFlag:T,transition:P,dirs:K}=v;if(x=v.el=i(v.type,_,H&&H.is,H),T&8?c(x,v.children):T&16&&j(v.children,x,null,B,$,vi(v,_),w,L),K&&Gt(v,null,B,"created"),A(x,v,v.scopeId,w,B),H){for(const he in H)he!=="value"&&!Cr
vendor: 21,821 bytes, line 15
15(he)&&o(x,he,null,H[he],_,B);"value"in H&&o(x,"value",null,H.value,_),(F=H.onVnodeBeforeMount)&&dt(F,B,v)}K&&Gt(v,null,B,"beforeMount");const Z=Rd($,P);Z&&P.beforeEnter(x),r(x,C,O),((F=H&&H.onVnodeMounted)||Z||K)&&Ke(()=>{F&&dt(F,B,v),Z&&P.enter(x),K&&Gt(v,null,B,"mounted")},$)},A=(v,C,O,B,$)=>{if(O&&h(v,O),B)for(let _=0;_<B.length;_++)h(v,B[_]);if($){let _=$.subTree;if(C===_||_o(_.type)&&(_.ssContent===C||_.ssFallback===C)){const w=$.vnode;A(v,w,w.scopeId,w.slotScopeIds,$.parent)}}},j=(v,C,O,B,$,_,w,L,x=0)=>{for(let F=x;F<v.length;F++){const H=v[F]=L?Tn(v[F]):yt(v[F]);y(null,H,C,O,B,$,_,w,L)}},M=(v,C,O,B,$,_,w)=>{const L=C.el=v.el;let{patchFlag:x,dynamicChildren:F,dirs:H}=C;x|=v.patchFlag&16;const T=v.props||Ce,P=C.props||Ce;let K;if(O&&Hn(O,!1),(K=P.onVnodeBeforeUpdate)&&dt(K,O,C,v),H&&Gt(C,v,O,"beforeUpdate"),O&&Hn(O,!0),(T.innerHTML&&P.innerHTML==null||T.textContent&&P.textContent==null)&&c(L,""),F?U(v.dynamicChildren,F,L,O,B,vi(C,$),_):w||Y(v,C,L,null,O,B,vi(C,$),_,!1),x>0){if(x&16)Q(L,T,P,O,$);else if(x&2&&T.class!==P.class&&o(L,"class",null,P.class,$),x&4&&o(L,"style",T.style,P.style,$),x&8){const Z=C.dynamicProps;for(let he=0;he<Z.length;he++){const pe=Z[he],Pe=T[pe],Ue=P[pe];(Ue!==Pe||pe==="value")&&o(L,pe,Pe,Ue,$,O)}}x&1&&v.children!==C.children&&c(L,C.children)}else!w&&F==null&&Q(L,T,P,O,$);((K=P.onVnodeUpdated)||H)&&Ke(()=>{K&&dt(K,O,C,v),H&&Gt(C,v,O,"updated")},B)},U=(v,C,O,B,$,_,w)=>{for(let L=0;L<C.length;L++){const x=v[L],F=C[L],H=x.el&&(x.type===Le||!Mt(x,F)||x.shapeFlag&198)?f(x.el):O;y(x,F,H,null,B,$,_,w,!0)}},Q=(v,C,O,B,$)=>{if(C!==O){if(C!==Ce)for(const _ in C)!Cr(_)&&!(_ in O)&&o(v,_,C[_],null,$,B);for(const _ in O){if(Cr(_))continue;const w=O[_],L=C[_];w!==L&&_!=="value"&&o(v,_,L,w,$,B)}"value"in O&&o(v,"value",C.value,O.value,$)}},D=(v,C,O,B,$,_,w,L,x)=>{const F=C.el=v?v.el:a(""),H=C.anchor=v?v.anchor:a("");let{patchFlag:T,dynamicChildren:P,slotScopeIds:K}=C;K&&(L=L?L.concat(K):K),v==null?(r(F,O,B),r(H,O,B),j(C.children||[],O,H,$,_,w,L,x)):T>0&&T&64&&P&&v.dynamicChildren?(U(v.dynamicChildren,P,O,$,_,w,L),(C.key!=null||$&&C===$.subTree)&&rl(v,C,!0)):Y(v,C,O,H,$,_,w,L,x)},J=(v,C,O,B,$,_,w,L,x)=>{C.slotScopeIds=L,v==null?C.shapeFlag&512?$.ctx.activate(C,O,B,w,x):ie(C,O,B,$,_,w,x):ue(v,C,x)},ie=(v,C,O,B,$,_,w)=>{const L=v.component=Am(v,B,$);if(Ns(v)&&(L.ctx.renderer=G),Lm(L,!1,w),L.asyncDep){if($&&$.registerDep(L,z,w),!v.el){const x=L.subTree=be(qe);b(null,x,C,O),v.placeholder=x.el}}else z(L,v,C,O,$,_,w)},ue=(v,C,O)=>{const B=C.component=v.component;if(ym(v,C,O))if(B.asyncDep&&!B.asyncResolved){ne(B,C,O);return}else B.next=C,B.update();else C.el=v.el,B.vnode=C},z=(v,C,O,B,$,_,w)=>{const L=()=>{if(v.isMounted){let{next:T,bu:P,u:K,parent:Z,vnode:he}=v;{const rt=Ad(v);if(rt){T&&(T.el=he.el,ne(v,T,w)),rt.asyncDep.then(()=>{v.isUnmounted||L()});return}}let pe=T,Pe;Hn(v,!1),T?(T.el=he.el,ne(v,T,w)):T=he,P&&kr(P),(Pe=T.props&&T.props.onVnodeBeforeUpdate)&&dt(Pe,Z,T,he),Hn(v,!0);const Ue=wi(v),at=v.subTree;v.subTree=Ue,y(at,Ue,f(at.el),I(at),v,$,_),T.el=Ue.el,pe===null&&zo(v,Ue.el),K&&Ke(K,$),(Pe=T.props&&T.props.onVnodeUpdated)&&Ke(()=>dt(Pe,Z,T,he),$)}else{let T;const{el:P,props:K}=C,{bm:Z,m:he,parent:pe,root:Pe,type:Ue}=v,at=xn(C);if(Hn(v,!1),Z&&kr(Z),!at&&(T=K&&K.onVnodeBeforeMount)&&dt(T,pe,C),Hn(v,!0),P&&me){const rt=()=>{v.subTree=wi(v),me(P,v.subTree,v,$,null)};at&&Ue.__asyncHydrate?Ue.__asyncHydrate(P,v,rt):rt()}else{Pe.ce&&Pe.ce._def.shadowRoot!==!1&&Pe.ce._injectChildStyle(Ue);const rt=v.subTree=wi(v);y(null,rt,O,B,v,$,_),C.el=rt.el}if(he&&Ke(he,$),!at&&(T=K&&K.onVnodeMounted)){const rt=C;Ke(()=>dt(T,pe,rt),$)}(C.shapeFlag&256||pe&&xn(pe.vnode)&&pe.vnode.shapeFlag&256)&&v.a&&Ke(v.a,$),v.isMounted=!0,C=O=B=null}};v.scope.on();const x=v.effect=new Cf(L);v.scope.off();const F=v.update=x.run.bind(x),H=v.job=x.runIfDirty.bind(x);H.i=v,H.id=v.uid,x.scheduler=()=>Ja(H),Hn(v,!0),F()},ne=(v,C,O)=>{C.component=v;const B=v.vnode.props;v.vnode=C,v.next=null,tm(v,C.props,B,O),om(v,C.children,O),hn(),Fl(v),pn()},Y=(v,C,O,B,$,_,w,L,x=!1)=>{const F=v&&v.children,H=v?v.shapeFlag:0,T=C.children,{patchFlag:P,shapeFlag:K}=C;if(P>0){if(P&128){Be(F,T,O,B,$,_,w,L,x);return}else if(P&256){ae(F,T,O,B,$,_,w,L,x);return}}K&8?(H&16&&le(F,$,_),T!==F&&c(O,T)):H&16?K&16?Be(F,T,O,B,$,_,w,L,x):le(F,$,_,!0):(H&8&&c(O,""),K&16&&j(T,O,B,$,_,w,L,x))},ae=(v,C,O,B,$,_,w,L,x)=>{v=v||Sr,C=C||Sr;const F=v.length,H=C.length,T=Math.min(F,H);let P;for(P=0;P<T;P++){const K=C[P]=x?Tn(C[P]):yt(C[P]);y(v[P],K,O,null,$,_,w,L,x)}F>H?le(v,$,_,!0,!1,T):j(C,O,B,$,_,w,L,x,T)},Be=(v,C,O,B,$,_,w,L,x)=>{let F=0;const H=C.length;let T=v.length-1,P=H-1;for(;F<=T&&F<=P;){const K=v[F],Z=C[F]=x?Tn(C[F]):yt(C[F]);if(Mt(K,Z))y(K,Z,O,null,$,_,w,L,x);else break;F++}for(;F<=T&&F<=P;){const K=v[T],Z=C[P]=x?Tn(C[P]):yt(C[P]);if(Mt(K,Z))y(K,Z,O,null,$,_,w,L,x);else break;T--,P--}if(F>T){if(F<=P){const K=P+1,Z=K<H?C[K].el:B;for(;F<=P;)y(null,C[F]=x?Tn(C[F]):yt(C[F]),O,Z,$,_,w,L,x),F++}}else if(F>P)for(;F<=T;)Ve(v[F],$,_,!0),F++;else{const K=F,Z=F,he=new Map;for(F=Z;F<=P;F++){const Qe=C[F]=x?Tn(C[F]):yt(C[F]);Qe.key!=null&&he.set(Qe.key,F)}let pe,Pe=0;const Ue=P-Z+1;let at=!1,rt=0;const Pt=new Array(Ue);for(F=0;F<Ue;F++)Pt[F]=0;for(F=K;F<=T;F++){const Qe=v[F];if(Pe>=Ue){Ve(Qe,$,_,!0);continue}let jt;if(Qe.key!=null)jt=he.get(Qe.key);else for(pe=Z;pe<=P;pe++)if(Pt[pe-Z]===0&&Mt(Qe,C[pe])){jt=pe;break}jt===void 0?Ve(Qe,$,_,!0):(Pt[jt-Z]=F+1,jt>=rt?rt=jt:at=!0,y(Qe,C[jt],O,null,$,_,w,L,x),Pe++)}const vn=at?lm(Pt):Sr;for(pe=vn.length-1,F=Ue-1;F>=0;F--){const Qe=Z+F,jt=C[Qe],Pl=C[Qe+1],xl=Qe+1<H?Pl.el||Pl.placeholder:B;Pt[F]===0?y(null,jt,O,xl,$,_,w,L,x):at&&(pe<0||F!==vn[pe]?Ye(jt,O,xl,2):pe--)}}},Ye=(v,C,O,B,$=null)=>{const{el:_,type:w,transition:L,children:x,shapeFlag:F}=v;if(F&6){Ye(v.component.subTree,C,O,B);return}if(F&128){v.suspense.move(C,O,B);return}if(F&64){w.move(v,C,O,G);return}if(w===Le){r(_,C,O);for(let T=0;T<x.length;T++)Ye(x[T],C,O,B);r(v.anchor,C,O);return}if(w===us){p(v,C,O);return}if(B!==2&&F&1&&L)if(B===0)L.beforeEnter(_),r(_,C,O),Ke(()=>L.enter(_),$);else{const{leave:T,delayLeave:P,afterLeave:K}=L,Z=()=>{v.ctx.isUnmounted?s(_):r(_,C,O)},he=()=>{T(_,()=>{Z(),K&&K()})};P?P(_,Z,he):he()}else r(_,C,O)},Ve=(v,C,O,B=!1,$=!1)=>{const{type:_,props:w,ref:L,children:x,dynamicChildren:F,shapeFlag:H,patchFlag:T,dirs:P,cacheIndex:K}=v;if(T===-2&&($=!1),L!=null&&(hn(),Rr(L,null,O,v,!0),pn()),K!=null&&(C.renderCache[K]=void 0),H&256){C.ctx.deactivate(v);return}const Z=H&1&&P,he=!xn(v);let pe;if(he&&(pe=w&&w.onVnodeBeforeUnmount)&&dt(pe,C,v),H&6)N(v.component,O,B);else{if(H&128){v.suspense.unmount(O,B);return}Z&&Gt(v,null,C,"beforeUnmount"),H&64?v.type.remove(v,C,O,G,B):F&&!F.hasOnce&&(_!==Le||T>0&&T&64)?le(F,C,O,!1,!0):(_===Le&&T&384||!$&&H&16)&&le(x,C,O),B&&bt(v)}(he&&(pe=w&&w.onVnodeUnmounted)||Z)&&Ke(()=>{pe&&dt(pe,C,v),Z&&Gt(v,null,C,"unmounted")},O)},bt=v=>{const{type:C,el:O,anchor:B,transition:$}=v;if(C===Le){vt(O,B);return}if(C===us){g(v);return}const _=()=>{s(O),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(v.shapeFlag&1&&$&&!$.persisted){const{leave:w,delayLeave:L}=$,x=()=>w(O,_);L?L(v.el,_,x):x()}else _()},vt=(v,C)=>{let O;for(;v!==C;)O=d(v),s(v),v=O;s(C)},N=(v,C,O)=>{const{bum:B,scope:$,job:_,subTree:w,um:L,m:x,a:F,parent:H,slots:{__:T}}=v;yo(x),yo(F),B&&kr(B),H&&ee(T)&&T.forEach(P=>{H.renderCache[P]=void 0}),$.stop(),_&&(_.flags|=8,Ve(w,v,C,O)),L&&Ke(L,C),Ke(()=>{v.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},le=(v,C,O,B=!1,$=!1,_=0)=>{for(let w=_;w<v.length;w++)Ve(v[w],C,O,B,$)},I=v=>{if(v.shapeFlag&6)return I(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const C=d(v.anchor||v.el),O=C&&C[zf];return O?d(O):C};let q=!1;const V=(v,C,O)=>{v==null?C._vnode&&Ve(C._vnode,null,null,!0):y(C._vnode||null,v,C,null,null,null,O),C._vnode=v,q||(q=!0,Fl(),po(),q=!1)},G={p:y,um:Ve,m:Ye,r:bt,mt:ie,mc:j,pc:Y,pbc:U,n:I,o:e};let fe,me;return t&&([fe,me]=t(G)),{render:V,hydrate:fe,createApp:Zg(V,fe)}}function vi({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Hn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Rd(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rl(e,t,n=!1){const r=e.children,s=t.children;if(ee(r)&&ee(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Tn(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&rl(i,a)),a.type===Mn&&(a.el=i.el),a.type===qe&&!a.el&&(a.el=i.el)}}function lm(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<u?o=a+1:i=a;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Ad(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ad(t)}function yo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const cm=Symbol.for("v-scx"),um=()=>Ge(cm);function zn(e,t){return Go(e,null,t)}function IR(e,t){return Go(e,null,{flush:"post"})}function $e(e,t,n){return Go(e,t,n)}function Go(e,t,n=Ce){const{immediate:r,deep:s,flush:o,once:i}=n,a=Je({},n),l=t&&r||!t&&o!=="post";let u;if(Nr){if(o==="sync"){const h=um();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=Xt,h.resume=Xt,h.pause=Xt,h}}const c=Ze;a.call=(h,m,y)=>Ut(h,c,m,y);let f=!1;o==="post"?a.scheduler=h=>{Ke(h,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(h,m)=>{m?h():Ja(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const d=kg(e,t,a);return Nr&&(u?u.push(d):l&&d()),d}function fm(e,t,n){const r=this.proxy,s=Oe(e)?e.includes(".")?Ld(r,e):()=>r[e]:e.bind(r,r);let o;re(t)?o=t:(o=t.handler,n=t);const i=sr(this),a=Go(s,o.bind(r),n);return i(),a}function Ld(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const dm=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${At(t)}Modifiers`]||e[`${Fn(t)}Modifiers`];function hm(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ce;let s=n;const o=t.startsWith("update:"),i=o&&dm(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>Oe(c)?c.trim():c)),i.number&&(s=n.map(lo)));let a,l=r[a=no(t)]||r[a=no(At(t))];!l&&o&&(l=r[a=no(Fn(t))]),l&&Ut(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ut(u,e,6,s)}}function Od(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!re(e)){const l=u=>{const c=Od(u,t,!0);c&&(a=!0,Je(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(Te(e)&&r.set(e,null),null):(ee(o)?o.forEach(l=>i[l]=null):Je(i,o),Te(e)&&r.set(e,i),i)}function Yo(e,t){return!e||!Is(t)?!1:(t=t.slice(2).replace(/Once$/,""),Se(e,t[0].toLowerCase()+t.slice(1))||Se(e,Fn(t))||Se(e,t))}function wi(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:m,inheritAttrs:y}=e,k=go(e);let b,S;try{if(n.shapeFlag&4){const g=s||r,E=g;b=yt(u.call(E,g,c,f,h,d,m)),S=a}else{const g=t;b=yt(g.length>1?g(f,{attrs:a,slots:i,emit:l}):g(f,null)),S=t.props?a:gm(a)}}catch(g){fs.length=0,Kr(g,e,1),b=be(qe)}let p=b;if(S&&y!==!1){const g=Object.keys(S),{shapeFlag:E}=p;g.length&&E&7&&(o&&g.some(ja)&&(S=mm(S,o)),p=yn(p,S,!1,!0))}return n.dirs&&(p=yn(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&Pr(p,n.transition),b=p,go(k),b}function pm(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(rr(s)){if(s.type!==qe||s.children==="v-if"){if(n)return;n=s}}else return}return n}const gm=e=>{let t;for(const n in e)(n==="class"||n==="style"||Is(n))&&((t||(t={}))[n]=e[n]);return t},mm=(e,t)=>{const n={};for(const r in e)(!ja(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ym(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?zl(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(i[d]!==r[d]&&!Yo(u,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?zl(r,i,u):!0:!!i;return!1}function zl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Yo(n,o))return!0}return!1}function zo({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const _o=e=>e.__isSuspense;let ra=0;const _m={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,u){if(e==null)bm(t,n,r,s,o,i,a,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}vm(e,t,n,r,s,i,a,l,u)}},hydrate:wm,normalize:Sm},sl=_m;function ws(e,t){const n=e.props&&e.props[t];re(n)&&n()}function bm(e,t,n,r,s,o,i,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=Pd(e,s,r,t,f,n,o,i,a,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>0?(ws(e,"onPending"),ws(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),Ar(d,e.ssFallback)):d.resolve(!1,!0)}function vm(e,t,n,r,s,o,i,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:m,pendingBranch:y,isInFallback:k,isHydrating:b}=f;if(y)f.pendingBranch=d,Mt(d,y)?(l(y,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():k&&(b||(l(m,h,n,r,s,null,o,i,a),Ar(f,h)))):(f.pendingId=ra++,b?(f.isHydrating=!1,f.activeBranch=y):u(y,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),k?(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(m,h,n,r,s,null,o,i,a),Ar(f,h))):m&&Mt(d,m)?(l(m,d,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(m&&Mt(d,m))l(m,d,n,r,s,f,o,i,a),Ar(f,d);else if(ws(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=ra++,l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:S,pendingId:p}=f;S>0?setTimeout(()=>{f.pendingId===p&&f.fallback(h)},S):S===0&&f.fallback(h)}}function Pd(e,t,n,r,s,o,i,a,l,u,c=!1){const{p:f,m:d,um:h,n:m,o:{parentNode:y,remove:k}}=u;let b;const S=Em(e);S&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const p=e.props?bf(e.props.timeout):void 0,g=o,E={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:ra++,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(R=!1,A=!1){const{vnode:j,activeBranch:M,pendingBranch:U,pendingId:Q,effects:D,parentComponent:J,container:ie}=E;let ue=!1;E.isHydrating?E.isHydrating=!1:R||(ue=M&&U.transition&&U.transition.mode==="out-in",ue&&(M.transition.afterLeave=()=>{Q===E.pendingId&&(d(U,ie,o===g?m(M):o,0),Gi(D))}),M&&(y(M.el)===ie&&(o=m(M)),h(M,J,E,!0)),ue||d(U,ie,o,0)),Ar(E,U),E.pendingBranch=null,E.isInFallback=!1;let z=E.parent,ne=!1;for(;z;){if(z.pendingBranch){z.effects.push(...D),ne=!0;break}z=z.parent}!ne&&!ue&&Gi(D),E.effects=[],S&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!A&&t.resolve()),ws(j,"onResolve")},fallback(R){if(!E.pendingBranch)return;const{vnode:A,activeBranch:j,parentComponent:M,container:U,namespace:Q}=E;ws(A,"onFallback");const D=m(j),J=()=>{E.isInFallback&&(f(null,R,U,D,M,null,Q,a,l),Ar(E,R))},ie=R.transition&&R.transition.mode==="out-in";ie&&(j.transition.afterLeave=J),E.isInFallback=!0,h(j,M,null,!0),ie||J()},move(R,A,j){E.activeBranch&&d(E.activeBranch,R,A,j),E.container=R},next(){return E.activeBranch&&m(E.activeBranch)},registerDep(R,A,j){const M=!!E.pendingBranch;M&&E.deps++;const U=R.vnode.el;R.asyncDep.catch(Q=>{Kr(Q,R,0)}).then(Q=>{if(R.isUnmounted||E.isUnmounted||E.pendingId!==R.suspenseId)return;R.asyncResolved=!0;const{vnode:D}=R;ia(R,Q),U&&(D.el=U);const J=!U&&R.subTree.el;A(R,D,y(U||R.subTree.el),U?null:m(R.subTree),E,i,j),J&&k(J),zo(R,D.el),M&&--E.deps===0&&E.resolve()})},unmount(R,A){E.isUnmounted=!0,E.activeBranch&&h(E.activeBranch,n,R,A),E.pendingBranch&&h(E.pendingBranch,n,R,A)}};return E}function wm(e,t,n,r,s,o,i,a,l){const u=t.suspense=Pd(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(!1,!0),c}function Sm(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Jl(r?n.default:n),e.ssFallback=r?Jl(n.fallback):be(qe)}function Jl(e){let t;if(re(e)){const n=Ir&&e._c;n&&(e._d=!1,ce()),e=e(),n&&(e._d=!0,t=pt,Id())}return ee(e)&&(e=pm(e)),e=yt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function xd(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):Gi(e)}function Ar(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,zo(r,s))}function Em(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Le=Symbol.for("v-fgt"),Mn=Symbol.for("v-txt"),qe=Symbol.for("v-cmt"),us=Symbol.for("v-stc"),fs=[];let pt=null;function ce(e=!1){fs.push(pt=e?null:[])}function Id(){fs.pop(),pt=fs[fs.length-1]||null}let Ir=1;function Xl(e,t=!1){Ir+=e,e<0&&pt&&t&&(pt.hasOnce=!0)}function Md(e){return e.dynamicChildren=Ir>0?pt||Sr:null,Id(),Ir>0&&pt&&pt.push(e),e}function xe(e,t,n,r,s,o){return Md(de(e,t,n,r,s,o,!0))}function it(e,t,n,r,s){return Md(be(e,t,n,r,s,!0))}function rr(e){return e?e.__v_isVNode===!0:!1}function Mt(e,t){return e.type===t.type&&e.key===t.key}const Nd=({key:e})=>e??null,so=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Oe(e)||Ie(e)||re(e)?{i:et,r:e,k:t,f:!!n}:e:null);function de(e,t=null,n=null,r=0,s=null,o=e===Le?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nd(t),ref:t&&so(t),scopeId:Yf,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:et};return a?(ol(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Oe(n)?8:16),Ir>0&&!i&&pt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&pt.push(l),l}const be=Cm;function Cm(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===fd)&&(e=qe),rr(e)){const a=yn(e,t,!0);return n&&ol(a,n),Ir>0&&!o&&pt&&(a.shapeFlag&6?pt[pt.indexOf(e)]=a:pt.push(a)),a.patchFlag=-2,a}if(xm(e)&&(e=e.__vccOpts),t){t=km(t);let{class:a,style:l}=t;a&&!Oe(a)&&(t.class=mt(a)),Te(l)&&(za(l)&&!ee(l)&&(l=Je({},l)),t.style=Pn(l))}const i=Oe(e)?1:_o(e)?128:Jf(e)?64:Te(e)?4:re(e)?2:0;return de(e,t,n,r,s,i,o,!0)}function km(e){return e?za(e)||vd(e)?Je({},e):e:null}function yn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,u=t?er(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Nd(u),ref:t&&t.ref?n&&o?ee(o)?o.concat(so(t)):[o,so(t)]:so(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yn(e.ssContent),ssFallback:e.ssFallback&&yn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Pr(c,l.clone(c)),c}function Mr(e=" ",t=0){return be(Mn,null,e,t)}function MR(e,t){const n=be(us,null,e);return n.staticCount=t,n}function dr(e="",t=!1){return t?(ce(),it(qe,null,e)):be(qe,null,e)}function yt(e){return e==null||typeof e=="boolean"?be(qe):ee(e)?be(Le,null,e.slice()):rr(e)?Tn(e):be(Mn,null,String(e))}function Tn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yn(e)}function ol(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ol(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!vd(t)?t._ctx=et:s===3&&et&&(et.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else re(t)?(t={default:t,_ctx:et},n=32):(t=String(t),r&64?(n=16,t=[Mr(t)]):n=8);e.children=t,e.shapeFlag|=n}function er(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=mt([t.class,r.class]));else if(s==="style")t.style=Pn([t.style,r.style]);else if(Is(s)){const o=t[s],i=r[s];i&&o!==i&&!(ee(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function dt(e,t,n,r=null){Ut(e,t,7,[n,r])}const Tm=yd();let Rm=0;function Am(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Tm,o={uid:Rm++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ef(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Sd(r,s),emitsOptions:Od(r,s),emit:null,emitted:null,propsDefaults:Ce,inheritAttrs:r.inheritAttrs,ctx:Ce,data:Ce,props:Ce,attrs:Ce,slots:Ce,refs:Ce,setupState:Ce,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,
vendor: 2,023 bytes, lines 15-18
15sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=hm.bind(null,o),e.ce&&e.ce(o),o}let Ze=null;const _t=()=>Ze||et;let bo,sa;{const e=Uo(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};bo=t("__VUE_INSTANCE_SETTERS__",n=>Ze=n),sa=t("__VUE_SSR_SETTERS__",n=>Nr=n)}const sr=e=>{const t=Ze;return bo(e),e.scope.on(),()=>{e.scope.off(),bo(t)}},oa=()=>{Ze&&Ze.scope.off(),bo(null)};function $d(e){return e.vnode.shapeFlag&4}let Nr=!1;function Lm(e,t=!1,n=!1){t&&sa(t);const{props:r,children:s}=e.vnode,o=$d(e);em(e,r,o,t),sm(e,s,n||t);const i=o?Om(e,t):void 0;return t&&sa(!1),i}function Om(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Wg);const{setup:r}=n;if(r){hn();const s=e.setupContext=r.length>1?Fd(e):null,o=sr(e),i=Ms(r,e,0,[e.props,s]),a=Wa(i);if(pn(),o(),(a||e.sp)&&!xn(e)&&Xa(e),a){if(i.then(oa,oa),t)return i.then(l=>{ia(e,l)}).catch(l=>{Kr(l,e,0)});e.asyncDep=i}else ia(e,i)}else Dd(e)}function ia(e,t,n){re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Te(t)&&(e.setupState=jf(t)),Dd(e)}function Dd(e,t,n){const r=e.type;e.render||(e.render=r.render||Xt);{const s=sr(e);hn();try{Kg(e)}finally{pn(),s()}}}const Pm={get(e,t){return ot(e,"get",""),e[t]}};function Fd(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Pm),slots:e.slots,emit:e.emit,expose:t}}function Jo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(jf(Vf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cs)return cs[n](e)},has(t,n){return n in t||n in cs}})):e.proxy}function aa(e,t=!0){return re(e)?e.displayName||e.name:e.name||t&&e.__name}function xm(e){return re(e)&&"__vccOpts"in e}const te=(e,t)=>Eg(e,t,Nr);function ze(e,t,n){const r=arguments.length;return r===2?Te(t)&&!ee(t)?rr(t)?be(e,null,[t]):be(e,t):be(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&rr(n)&&(n=[n]),be(e,t,n))}const Im="3.5.18";/**
16* @vue/runtime-dom v3.5.18
17* (c) 2018-present Yuxi (Evan) You and Vue contributors
18* @license MIT
19**/let la;const Zl=typeof window<"u"&&window.trustedTypes;if(Zl)try{la=Zl.createPolicy("vue",{createHTML:e=>e})}catch{}const Ud=la?e=>la.createHTML(e):e=>e,Mm="http://www.w3.org/2000/svg",Nm="http://www.w3.org/1998/Math/MathML",sn=typeof document<"u"?document:null,ec=sn&&sn.createElement("template"),$m={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?sn.createElementNS(Mm,e):t==="mathml"?sn.createElementNS(Nm,e):n?sn.createElement(e,{is:n}):sn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>sn.createTextNode(e),createComment:e=>sn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>sn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{ec.innerHTML=Ud(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=ec.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},wn="transition",zr="animation",Ss=Symbol("_vtc"),Bd={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},Dm=Je({},ed,Bd),Fm=e=>(e.displayName="Transition",e.props=Dm,e),Um=Fm((e,{slots:t})=>ze(Pg,Bm(e),t)),jn=(e,t=[])=>{ee(e)?e.forEach(n=>n(...t)):e&&e(...t)},tc=e=>e?ee(e)?e.some(t=>t.length>1):e.length>1:!1;function Bm(e){const t={};for(const D in e)D in Bd||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=Vm(s),y=m&&m[0],k=m&&m[1],{onBeforeEnter:b,onEnter:S,onEnterCancelled:p,onLeave:g,onLeaveCancelled:E,onBeforeAppear:R=b,onAppear:A=S,onAppearCancelled:j=p}=t,M=(D,J,ie,ue)=>{D._enterCancelled=ue,qn(D,J?c:a),qn(D,J?u:i),ie&&ie()},U=(D,J)=>{D._isLeaving=!1,qn(D,f),qn(D,h),qn(D,d),J&&J()},Q=D=>(J,ie)=>{const ue=D?A:S,z=()=>M(J,D,ie);jn(ue,[J,z]),nc(()=>{qn(J,D?l:o),tn(J,D?c:a),tc(ue)||rc(J,r,y,z)})};return Je(t,{onBeforeEnter(D){jn(b,[D]),tn(D,o),tn(D,i)},onBeforeAppear(D){jn(R,[D]),tn(D,l),tn(D,u)},onEnter:Q(!1),onAppear:Q(!0),onLeave(D,J){D._isLeaving=!0;const ie=()=>U(D,J);tn(D,f),D._enterCancelled?(tn(D,d),ic()):(ic(),tn(D,d)),nc(()=>{D._isLeaving&&(qn(D,f),tn(D,h),tc(g)||rc(D,r,k,ie))}),jn(g,[D,ie])},onEnterCancelled(D){M(D,!1,void 0,!0),jn(p,[D])},onAppearCancelled(D){M(D,!0,void 0,!0),jn(j,[D])},onLeaveCancelled(D){U(D),jn(E,[D])}})}function Vm(e){if(e==null)return null;if(Te(e))return[Si(e.enter),Si(e.leave)];{const t=Si(e);return[t,t]}}function Si(e){return bf(e)}function tn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ss]||(e[Ss]=new Set)).add(t)}function qn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ss];n&&(n.delete(t),n.size||(e[Ss]=void 0))}function nc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Hm=0;function rc(e,t,n,r){const s=e._endId=++Hm,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=jm(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),o()},d=h=>{h.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,d)}function jm(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),s=r(`${wn}Delay`),o=r(`${wn}Duration`),i=sc(s,o),a=r(`${zr}Delay`),l=r(`${zr}Duration`),u=sc(a,l);let c=null,f=0,d=0;t===wn?i>0&&(c=wn,f=i,d=o.length):t===zr?u>0&&(c=zr,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?wn:zr:null,d=c?c===wn?o.length:l.length:0);const h=c===wn&&/\b(transform|all)(,|$)/.test(r(`${wn}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function sc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>oc(n)+oc(e[r])))}function oc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ic(){return document.body.offsetHeight}function qm(e,t,n){const r=e[Ss];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const vo=Symbol("_vod"),Vd=Symbol("_vsh"),NR={beforeMount(e,{value:t},{transition:n}){e[vo]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Jr(e,t)}
vendor: 4,439 bytes, line 19
19,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),Jr(e,!0),r.enter(e)):r.leave(e,()=>{Jr(e,!1)}):Jr(e,t))},beforeUnmount(e,{value:t}){Jr(e,t)}};function Jr(e,t){e.style.display=t?e[vo]:"none",e[Vd]=!t}const Wm=Symbol(""),Qm=/(^|;)\s*display\s*:/;function Km(e,t,n){const r=e.style,s=Oe(n);let o=!1;if(n&&!s){if(t)if(Oe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&oo(r,a,"")}else for(const i in t)n[i]==null&&oo(r,i,"");for(const i in n)i==="display"&&(o=!0),oo(r,i,n[i])}else if(s){if(t!==n){const i=r[Wm];i&&(n+=";"+i),r.cssText=n,o=Qm.test(n)}}else t&&e.removeAttribute("style");vo in e&&(e[vo]=o?r.display:"",e[Vd]&&(r.display="none"))}const ac=/\s*!important$/;function oo(e,t,n){if(ee(n))n.forEach(r=>oo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Gm(e,t);ac.test(n)?e.setProperty(Fn(r),n.replace(ac,""),"important"):e[r]=n}}const lc=["Webkit","Moz","ms"],Ei={};function Gm(e,t){const n=Ei[t];if(n)return n;let r=At(t);if(r!=="filter"&&r in e)return Ei[t]=r;r=Fo(r);for(let s=0;s<lc.length;s++){const o=lc[s]+r;if(o in e)return Ei[t]=o}return t}const cc="http://www.w3.org/1999/xlink";function uc(e,t,n,r,s,o=Gp(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(cc,t.slice(6,t.length)):e.setAttributeNS(cc,t,n):n==null||o&&!vf(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Ft(n)?String(n):n)}function fc(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ud(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=vf(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function Yn(e,t,n,r){e.addEventListener(t,n,r)}function Ym(e,t,n,r){e.removeEventListener(t,n,r)}const dc=Symbol("_vei");function zm(e,t,n,r,s=null){const o=e[dc]||(e[dc]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=Jm(t);if(r){const u=o[t]=ey(r,s);Yn(e,a,u,l)}else i&&(Ym(e,a,i,l),o[t]=void 0)}}const hc=/(?:Once|Passive|Capture)$/;function Jm(e){let t;if(hc.test(e)){t={};let r;for(;r=e.match(hc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Fn(e.slice(2)),t]}let Ci=0;const Xm=Promise.resolve(),Zm=()=>Ci||(Xm.then(()=>Ci=0),Ci=Date.now());function ey(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ut(ty(r,n.value),t,5,[r])};return n.value=e,n.attached=Zm(),n}function ty(e,t){if(ee(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const pc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ny=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?qm(e,r,i):t==="style"?Km(e,n,r):Is(t)?ja(t)||zm(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ry(e,t,r,i))?(fc(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&uc(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Oe(r))?fc(e,At(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),uc(e,t,r,i))};function ry(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&pc(t)&&re(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return pc(t)&&Oe(n)?!1:t in e}const wo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ee(t)?n=>kr(t,n):t};function sy(e){e.target.composing=!0}function gc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Lr=Symbol("_assign"),$R={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Lr]=wo(s);const o=r||s.props&&s.props.type==="number";Yn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=lo(a)),e[Lr](a)}),n&&Yn(e,"change",()=>{e.value=e.value.trim()}),t||(Yn(e,"compositionstart",sy),Yn(e,"compositionend",gc),Yn(e,"change",gc)
19)},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Lr]=wo(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?lo(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},DR={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=$o(t);Yn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?lo(So(i)):So(i));e[Lr](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,mn(()=>{e._assigning=!1})}),e[Lr]=wo(r)},mounted(e,{value:t}){mc(e,t)},beforeUpdate(e,t,n){e[Lr]=wo(n)},updated(e,{value:t}){e._assigning||mc(e,t)}};function mc(e,t){const n=e.multiple,r=ee(t);if(!(n&&!r&&!$o(t))){for(let s=0,o=e.options.length;s<o;s++){const i=e.options[s],a=So(i);if(n)if(r){const l=typeof a;l==="string"||l==="number"?i.selected=t.some(u=>String(u)===String(a)):i.selected=zp(t,a)>-1}else i.selected=t.has(a);else if(Bo(So(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function So(e){return"_value"in e?e._value:e.value}const oy=["ctrl","shift","alt","meta"],iy={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)=>oy.some(n=>e[`${n}Key`]&&!t.includes(n))},FR=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i<t.length;i++){const a=iy[t[i]];if(a&&a(s,t))return}return e(s,...o)})},ay={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},UR=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Fn(s.key);if(t.some(i=>i===o||ay[i]===o))return e(s)})},Hd=Je({patchProp:ny},$m);let ds,yc=!1;function ly(){return ds||(ds=im(Hd))}function cy(){return ds=yc?ds:am(Hd),yc=!0,ds}const uy=(...e)=>{const t=ly().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=qd(r);if(!s)return;const o=t._component;!re(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,jd(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},fy=(...e)=>{const t=cy().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=qd(r);if(s)return n(s,!0,jd(s))},t};function jd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function qd(e){return Oe(e)?document.querySelector(e):e}const dy=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,hy=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,py=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function gy(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){return}return t}function $r(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!py.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(dy.test(e)||hy.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,gy)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const my=/#/g,yy=/&/g,_y=/\//g,by=/=/g,il=/\+/g,vy=/%5e/gi,wy=/%60/gi,Sy=/%7c/gi,Ey=/%20/gi;function Cy(e){return encodeURI(""+e).replace(Sy,"|")}function ca(e){return Cy(typeof e=="string"?e:JSON.stringify(e)).replace(il,"%2B").replace(Ey,"+").replace(my,"%23").replace(yy,"%26").replace(wy,"`").replace(vy,"^").replace(_y,"%2F")}function ki(e){return ca(e).replace(by,"%3D")}function Dr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ky(e){return Dr(e.replace(il," "))}function Ty(e){return Dr(e.replace(il," "))}function al(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=ky(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Ty(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function Ry(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ki(e)}=${ca(n)}`).join("&"):`${ki(e)}=${ca(t)}`:ki(e)}function Ay(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>
19Ry(t,e[t])).filter(Boolean).join("&")}const Ly=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Wd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Oy=/^([/\\]\s*){2,}[^/\\]/,Py=/^[\s\0]*(blob|data|javascript|vbscript):$/i,xy=/\/$|\/\?|\/#/,Iy=/^\.?\//;function Ht(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Ly.test(e):Wd.test(e)||(t.acceptRelative?Oy.test(e):!1)}function My(e){return!!e&&Py.test(e)}function ua(e="",t){return t?xy.test(e):e.endsWith("/")}function Fr(e="",t){if(!t)return(ua(e)?e.slice(0,-1):e)||"/";if(!ua(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Eo(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ua(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Ny(e=""){return e.startsWith("/")}function _c(e=""){return Ny(e)?e:"/"+e}function $y(e,t){if(Qd(t)||Ht(e))return e;const n=Fr(t);return e.startsWith(n)?e:cr(n,e)}function bc(e,t){if(Qd(t))return e;const n=Fr(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Xo(e,t){const n=Es(e),r={...al(n.search),...t};return n.search=Ay(r),Vy(n)}function Qd(e){return!e||e==="/"}function Dy(e){return e&&e!=="/"}function cr(e,...t){let n=e||"";for(const r of t.filter(s=>Dy(s)))if(n){const s=r.replace(Iy,"");n=Eo(n)+s}else n=r;return n}function Kd(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[a,l]of i.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&Ht(r[0]))continue;r.pop(),s--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),s++}}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function Fy(e){return Uy(e,"https://")}function Uy(e,t){let n=e.match(Wd);return n||(n=e.match(/^\/{2,}/)),n?t+e.slice(n[0].length):t+e}function By(e,t){return Dr(Fr(e))===Dr(Fr(t))}function vc(e,t,n={}){return n.trailingSlash||(e=Eo(e),t=Eo(t)),n.leadingSlash||(e=_c(e),t=_c(t)),n.encoding||(e=Dr(e),t=Dr(t)),e===t}const Gd=Symbol.for("ufo:protocolRelative");function Es(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Ht(e,{acceptRelative:!0}))return t?Es(t+e):fa(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=fa(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:u,hash:c,[Gd]:!r}}function fa(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Vy(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[Gd]?(e.protocol||"")+"//":"")+s+o+t+n+r}class Hy extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function jy(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new Hy(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[u]}});return a}const qy=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function wc(e="GET"){return qy.has(e.toUpperCase())}function Wy(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Qy=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Ky=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Gy(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Ky.test(t)?"json":Qy.has(t)||t.startsWith("text/")?"text":"blob"}function Yy(e,t,n,r){const s=zy(t?.headers??e?.headers,n?.headers,r);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:s}}function zy(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function Qs(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Jy=new Set([408,409,425,429,500,502,503,504]),Xy=new Set([101,204,205,304]);function Yd(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=wc(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Jy.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),o(a.request,{...a.options,retry:c-1})}}const u=jy(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,o),u}const o=async function(l,u={}){const c={request:l,options:Yy(l,u,e.defaults,n),response:void 0,error:void 0};c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&await Qs(c,c.options.onRequest),typeof c.request=="string"&&(c.options.baseURL&&(c.request=$y(c.request,c.options.baseURL)),c.options.query&&(c.request=Xo(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&wc(c.options.method)&&(Wy(c.options.body)?(c.options.body=typeof c.options.body=="str
19ing"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half")));let f;if(!c.options.signal&&c.options.timeout){const h=new r;f=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,h.abort(m)},c.options.timeout),c.options.signal=h.signal}try{c.response=await t(c.request,c.options)}catch(h){return c.error=h,c.options.onRequestError&&await Qs(c,c.options.onRequestError),await s(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!Xy.has(c.response.status)&&c.options.method!=="HEAD"){const h=(c.options.parseResponse?"json":c.options.responseType)||Gy(c.response.headers.get("content-type")||"");switch(h){case"json":{const m=await c.response.text(),y=c.options.parseResponse||$r;c.response._data=y(m);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[h]()}}return c.options.onResponse&&await Qs(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Qs(c,c.options.onResponseError),await s(c)):c.response},i=async function(l,u){return(await o(l,u))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},l={})=>Yd({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const Co=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Zy=Co.fetch?(...e)=>Co.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),e_=Co.Headers,t_=Co.AbortController,n_=Yd({fetch:Zy,Headers:e_,AbortController:t_}),r_=n_,s_=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,ll=()=>s_().app,o_=()=>ll().baseURL,i_=()=>ll().buildAssetsDir,cl=(...e)=>Kd(zd(),i_(),...e),zd=(...e)=>{const t=ll(),n=t.cdnURL||t.baseURL;return e.length?Kd(n,...e):n};globalThis.__buildAssetsURL=cl,globalThis.__publicAssetsURL=zd;globalThis.$fetch||(globalThis.$fetch=r_.create({baseURL:o_()}));"global"in globalThis||(globalThis.global=globalThis);function da(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?da(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const a_={run:e=>e()},l_=()=>a_,Jd=typeof console.createTask<"u"?console.createTask:l_;function c_(e,t){const n=t.shift(),r=Jd(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function u_(e,t){const n=t.shift(),r=Jd(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Ti(e,t){for(const n of[...e])n(t)}class f_{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(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||this._deprecatedMessages.add(i)}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=da(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=da(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(c_,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(u_,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;
19this._before&&Ti(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Ti(this._after,s)}):(this._after&&s&&Ti(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Xd(){return new f_}function d_(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i&&(s=new i)}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},u=()=>t===i?l:void 0;ha.add(u);try{const c=s?s.run(i,a):a();return n||(t=void 0),await c}finally{ha.delete(u)}}}}function h_(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=d_({...e,...r})),t[n]}}}const ko=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Sc="__unctx__",p_=ko[Sc]||(ko[Sc]=h_()),g_=(e,t={})=>p_.get(e,t),Ec="__unctx_async_handlers__",ha=ko[Ec]||(ko[Ec]=new Set);function Nt(e){const t=[];for(const s of ha){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const m_=!1,Cc=!1,y_=!1,kc={id:"__nuxt-loader"},BR={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},VR={deep:!1},HR={},__="#__nuxt",Zd="nuxt-app",Tc=36e5,b_="vite:preloadError";function eh(e=Zd){return g_(e,{asyncContext:!1})}const v_="__nuxt_plugin";function w_(e){let t=0;const n={_id:e.id||Zd||"nuxt-app",_scope:Vo(),provide:void 0,versions:{get nuxt(){return"4.0.1"},get vue(){return n.vueApp.version}},payload:Jt({...e.ssrContext?.payload||{},data:Jt({}),state:_n({}),once:new Set,_errors:Jt({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!Ho()?n._scope.run(()=>Rc(n,s)):Rc(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Jt({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=Xd(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Ks(n,i,o),Ks(n.vueApp.config.globalProperties,i,o)},Ks(n.vueApp,"$nuxt",n),Ks(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(b_,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=ve;const s=n.hook("app:error",(...o)=>{});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function S_(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function E_(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function C_(e,t){const n=new Set,r=[],s=[],o=[];let i=0;async function a(l){const u=l.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!n.has(c))??[];if(u.length>0)r.push([new Set(u),l]);else{const c=E_(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([f,d])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await a(d)))})))});l.parallel?s.push(c.catch(f=>o.push(f))):await c}}for(const l of t)S_(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(o.length)throw o[0]}function De(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[v_]:!0,_name:t})}const k_=De;function Rc(e,t,n){const r=()=>t();return eh(e._id).set(e),e.vueApp.runWithContext(r)}function T_(e){let t;
19return el()&&(t=_t()?.appContext.app.$nuxt),t||=eh(e).tryUse(),t||null}function ve(e){const t=T_(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Lt(e){return ve().$config}function Ks(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function R_(e,t){return{ctx:{table:e},matchAll:n=>nh(n,e)}}function th(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,th(s)])):new Map(Object.entries(e[n]));return t}function A_(e){return R_(th(e))}function nh(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of Ac(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of Ac(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...nh(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function Ac(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Ri(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function pa(e,t,n=".",r){if(!Ri(t))return pa(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:Ri(i)&&Ri(s[o])?s[o]=pa(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function L_(e){return(...t)=>t.reduce((n,r)=>pa(n,r,"",e),{})}const rh=L_();function O_(e,t){try{return t in e}catch{return!1}}class Lc extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:ga(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=sh(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function P_(e){if(typeof e=="string")return new Lc(e);if(x_(e))return e;const t=new Lc(e.message??e.statusMessage??"",{cause:e.cause||e});if(O_(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=ga(e.statusCode,t.statusCode):e.status&&(t.statusCode=ga(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage,r=sh(t.statusMessage)}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function x_(e){return e?.constructor?.__h3_error__===!0}const I_=/[^\u0009\u0020-\u007E]/g;function sh(e=""){return e.replace(I_,"")}function ga(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const oh=Symbol("layout-meta"),or=Symbol("route"),tt=()=>ve()?.$router,Zo=()=>el()?Ge(or,ve()._route):ve()._route;function jR(e){return e}const M_=(e,t,n={})=>{const r=ve(),s=n.global||typeof e!="string",o=t;o&&(s?r._middleware.global.push(o):r._middleware.named[e]=o)},N_=()=>{try{if(ve()._processingMiddleware)return!0}catch{return!1}return!1},Kn=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?$_(e):tt().resolve(e).href;if(t?.open){const{target:l="_blank",windowFeatures:u={}}=t.open,c=Object.entries(u).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,c),Promise.resolve()}const r=Ht(n,{acceptRelative:!0}),s=t?.external||r;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&My(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=N_();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:l,search:u,hash:c}=Es(e);return{path:l,...u&&{query:al(u)},...c&&{hash:c},replace:!0}}return{...e,replace:!0}}return e}const i=tt(),a=ve();return s?(a._scope.stop(),t?.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}
19):!1:Promise.resolve()):t?.replace?i.replace(e):i.push(e)};function $_(e){return Xo(e.path||"",e.query||{})+(e.hash||"")}const ih="__nuxt_error",ei=()=>qf(ve().payload,"error"),Gn=e=>{const t=tr(e);try{const n=ve(),r=ei();n.hooks.callHook("app:error",t),r.value||=t}catch{throw t}return t},ah=async(e={})=>{const t=ve(),n=ei();t.callHook("app:error:cleared",e),e.redirect&&await tt().replace(e.redirect),n.value=void 0},lh=e=>!!e&&typeof e=="object"&&ih in e,tr=e=>{const t=P_(e);return Object.defineProperty(t,ih,{value:!0,configurable:!1,writable:!1}),t};/*!
20 * pinia v3.0.3
21 * (c) 2025 Eduardo San Martin Morote
22 * @license MIT
23 */const D_=Symbol();var Oc;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Oc||(Oc={}));function F_(){const e=Vo(!0),t=e.run(()=>oe({}));let n=[],r=[];const s=Vf({install(o){s._a=o,o.provide(D_,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}function Pc(e){const t=B_(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const U_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function B_(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=U_.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const V_=-1,H_=-2,j_=-3,q_=-4,W_=-5,Q_=-6;function K_(e,t){return G_(JSON.parse(e),t)}function G_(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===V_)return;if(o===j_)return NaN;if(o===q_)return 1/0;if(o===W_)return-1/0;if(o===Q_)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],u=t?.[l];if(u)return r[o]=u(s(a[1]));switch(l){case"Date":r[o]=new Date(a[1]);break;case"Set":const c=new Set;r[o]=c;for(let h=1;h<a.length;h+=1)c.add(s(a[h]));break;case"Map":const f=new Map;r[o]=f;for(let h=1;h<a.length;h+=2)f.set(s(a[h]),s(a[h+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[o]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=s(a[h+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const h=globalThis[l],m=a[1],y=Pc(m),k=new h(y);r[o]=k;break}case"ArrayBuffer":{const h=a[1],m=Pc(h);r[o]=m;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[o]=l;for(let u=0;u<a.length;u+=1){const c=a[u];c!==H_&&(l[u]=s(c))}}else{const l={};r[o]=l;for(const u in a){const c=a[u];l[u]=s(c)}}return r[o]}return s(0)}const Y_=new Set(["link","style","script","noscript"]),z_=new Set(["title","titleTemplate","script","style","noscript"]),xc=new Set(["base","meta","link","style","script","noscript"]),J_=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),X_=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Z_=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),eb=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ul=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Cs={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},tb={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},ch={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${un(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?un(e):`${un(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${un(e)} ${t}`}},charset:{}};function un(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return n===-1?t:Cs.META.has(t.slice(0,n))||Cs.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function uh(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>String(n)!=="false"&&t))}function ma(e){return Array.isArray(e)?e.map(ma):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,n])=>[un(t),ma(n)]))}function fh(e,t={}){const{entrySeparator:n="",keyValueSeparator:r="",wrapValue:s,resolve:o}=t;return Object.entries(e).map(([i,a])=>{if(o){const u=o({key:i,value:a});if(u!==void 0)return u}const l=typeof a=="object"?fh(a,t):typeof a=="number"?a.toString():typeof a=="str
23ing"&&s?`${s}${a.replace(new RegExp(s,"g"),`\\${s}`)}${s}`:a;return`${i}${r}${l}`}).join(n)}function Ic(e,t){const n=uh(t),r=un(e),s=dh(r);if(!ul.has(r))return[{[s]:r,...n}];const o=Object.fromEntries(Object.entries(n).map(([i,a])=>[`${e}${i==="url"?"":`${i[0].toUpperCase()}${i.slice(1)}`}`,a]));return To(o||{}).sort((i,a)=>(i[s]?.length||0)-(a[s]?.length||0))}function dh(e){if(ch[e]?.metaKey==="http-equiv"||Cs.HTTP_EQUIV.has(e))return"http-equiv";const t=un(e),n=t.indexOf(":");return n===-1?"name":Cs.OG.has(t.slice(0,n))?"property":"name"}function nb(e){return tb[e]||un(e)}function rb(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:fh(ma(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:n,key:r})=>n===null?"":typeof n=="boolean"?r:void 0,...ch[t]?.unpack})}function To(e){const t=[],n={};for(const[s,o]of Object.entries(e)){if(Array.isArray(o)){if(s==="themeColor"){o.forEach(i=>{typeof i=="object"&&i!==null&&t.push({name:"theme-color",...i})});continue}for(const i of o)if(typeof i=="object"&&i!==null){const a=[],l=[];for(const[u,c]of Object.entries(i)){const f=`${s}${u==="url"?"":`:${u}`}`,d=To({[f]:c});(u==="url"?a:l).push(...d)}t.push(...a,...l)}else t.push(...typeof i=="string"?To({[s]:i}):Ic(s,i));continue}if(typeof o=="object"&&o)if(Cs.MEDIA.has(s)){const i=s.startsWith("twitter")?"twitter":"og",a=s.replace(/^(og|twitter)/,"").toLowerCase(),l=i==="twitter"?"name":"property";o.url&&t.push({[l]:`${i}:${a}`,content:o.url}),o.secureUrl&&t.push({[l]:`${i}:${a}:secure_url`,content:o.secureUrl});for(const[u,c]of Object.entries(o))u!=="url"&&u!=="secureUrl"&&t.push({[l]:`${i}:${a}:${u}`,content:c})}else ul.has(un(s))?t.push(...Ic(s,o)):n[s]=uh(o);else n[s]=o}const r=Object.entries(n).map(([s,o])=>{if(s==="charset")return{charset:o===null?"_null":o};const i=dh(s),a=nb(s),l=o===null?"_null":typeof o=="object"?rb(o,s):typeof o=="number"?o.toString():o;return i==="http-equiv"?{"http-equiv":a,content:l}:{[i]:a,content:l}});return[...t,...r].map(s=>"content"in s&&s.content==="_null"?{...s,content:null}:s)}const sb={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(n=>n.tag!=="_flatMeta"?n:(t.push(To(n.props).map(r=>({...n,tag:"meta",props:r}))),!1)).filter(Boolean).concat(...t)}}},ob=["name","property","http-equiv"],ib=new Set(["viewport","description","keywords","robots"]);function hh(e){const t=e.split(":");return t.length?ul.has(t[1]):!1}function ya(e){const{props:t,tag:n}=e;if(X_.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of ob)if(t[r]!==void 0){const s=t[r],o=s.includes(":"),i=ib.has(s),l=!(o||i)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(z_.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Mc(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function Ro(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let s;if(t&&(s=t(n,e)),Array.isArray(s))return s.map(o=>Ro(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=Ro(s[i],t,i);return o}return s}function ab(e,t){const n=e==="style"?new Map:new Set;function r(s){const o=s.trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>l.trim());i&&a.length&&n.set(i,a.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(s.trim(),o):r(s))}),n}function ph(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=ab(n,r);return}if(Z_.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let i=t.type;if(t.type||(i="application/json"),!i?.endsWith("json")&&i!=="speculationrules")return;t.type=i,e.props.type=i,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),o=n.startsWith("data-");s==="true"||s===""?e.props[n]=o?s:!0:!r&&o&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e}function lb(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=ph({tag:e,props:{}},n);return r.key&&Y_.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function cb(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=Ro(e,n),Object.entries(e||{}
23).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(lb(s,i))}),r.flat()}const Nc=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,$c={base:-10,title:10},ub={critical:-8,high:-1,low:2},Dc={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},fb=/@import/,Xr=e=>e===""||e===!0;function db(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=ub[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Dc;if(t.tag in $c)n=$c[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=Dc.meta[o])}else t.tag==="link"&&t.props.rel?n=s.link[t.props.rel]:t.tag==="script"?Xr(t.props.async)?n=s.script.async:t.props.src&&!Xr(t.props.defer)&&!Xr(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=s.script.sync:Xr(t.props.defer)&&t.props.src&&!Xr(t.props.async)&&(n=s.script.defer):t.tag==="style"&&(n=t.innerHTML&&fb.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function Fc(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function hb(e={}){const t=Xd();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>Fc(i,a),push(a,l){const u={...l||{}};delete u.head;const c=u._index??i._entryCount++,f={_i:c,input:a,options:u},d={_poll(h=!1){i.dirty=!0,!h&&o.add(c),t.callHook("entries:updated",i)},dispose(){r.delete(c)&&i.invalidate()},patch(h){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=h,r.set(c,f),d._poll())}};return d.patch(a),d},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);o.size;){const d=o.values().next().value;o.delete(d);const h=r.get(d);if(h){const m={tags:cb(h.input,e.propResolvers||[]).map(y=>Object.assign(y,h.options)),entry:h};await t.callHook("entries:normalize",m),h._tags=m.tags.map((y,k)=>(y._w=db(i,y),y._p=(h._i<<10)+k,y._d=ya(y),y))}}let l=!1;a.entries.flatMap(d=>(d._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(Nc).reduce((d,h)=>{const m=String(h._d||h._p);if(!d.has(m))return d.set(m,h);const y=d.get(m);if((h?.tagDuplicateStrategy||(eb.has(h.tag)?"merge":null)||(h.key&&h.key===y.key?"merge":null))==="merge"){const b={...y.props};Object.entries(h.props).forEach(([S,p])=>b[S]=S==="style"?new Map([...y.props.style||new Map,...p]):S==="class"?new Set([...y.props.class||new Set,...p]):p),d.set(m,{...h,props:b})}else h._p>>10===y._p>>10&&h.tag==="meta"&&hh(m)?(d.set(m,Object.assign([...Array.isArray(y)?y:[y],h],h)),l=!0):(h._w===y._w?h._p>y._p:h?._w<y?._w)&&d.set(m,h);return d},a.tagMap);const u=a.tagMap.get("title"),c=a.tagMap.get("titleTemplate");if(i._title=u?.textContent,c){const d=c?.textContent;if(i._titleTemplate=d,d){let h=typeof d=="function"?d(u?.textContent):d;typeof h=="string"&&!i.plugins.has("template-params")&&(h=h.replace("%s",u?.textContent||"")),u?h===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:h}):(c.tag="title",c.textContent=h)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(Nc)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const d of a.tags){const{innerHTML:h,tag:m,props:y}=d;if(J_.has(m)&&!(Object.keys(y).length===0&&!d.innerHTML&&!d.textContent)&&!(m==="meta"&&!y.content&&!y["http-equiv"]&&!y.charset)){if(m==="script"&&h){if(y.type?.endsWith("json")){const k=typeof h=="string"?h:JSON.stringify(h);d.innerHTML=k.replace(/</g,"\\u003C")}else typeof h=="string"&&(d.innerHTML=h.replace(new RegExp(`</${m}`,"g"),`<\\/${m}`));d._d=ya(d)}f.push(d)}}return f},invalidate(){for(const a of r.values())o.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};
23return(e?.plugins||[]).forEach(a=>Fc(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const pb=(e,t)=>Ie(t)?cn(t):t,gh="usehead";function gb(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(gh,e)}}.install}function mh(){if(el()){const e=Ge(gh);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function mb(e,t={}){const n=t.head||mh();return n.ssr?n.push(e||{},t):yb(n,e,t)}function yb(e,t,n={}){const r=oe(!1);let s;return zn(()=>{const i=r.value?{}:Ro(t,pb);s?s.patch(i):s=e.push(i,n)}),_t()&&(Gr(()=>{s.dispose()}),id(()=>{r.value=!0}),od(()=>{r.value=!1})),s}function qR(e={},t={}){(t.head||mh()).use(sb);const{title:r,titleTemplate:s,...o}=e;return mb({title:r,titleTemplate:s,_flatMeta:o},t)}const _b="modulepreload",bb=function(e,t){return new URL(e,t).href},Uc={},X=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");s=u(n.map(c=>{if(c=bb(c,r),c in Uc)return;Uc[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let y=i.length-1;y>=0;y--){const k=i[y];if(k.href===c&&(!f||k.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const m=document.createElement("link");if(m.rel=f?"stylesheet":_b,f||(m.as="script"),m.crossOrigin="",m.href=c,l&&m.setAttribute("nonce",l),document.head.appendChild(m),f)return new Promise((y,k)=>{m.addEventListener("load",y),m.addEventListener("error",()=>k(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};let io,_a;function vb(){return io=$fetch(cl(`builds/meta/${Lt().app.buildId}.json`),{responseType:"json"}),io.then(e=>{_a=A_(e.matcher)}).catch(e=>{}),io}function ti(){return io||vb()}async function fl(e){const t=typeof e=="string"?e:e.path;if(await ti(),!_a)return{};try{return rh({},..._a.matchAll(t).reverse())}catch{return{}}}async function Bc(e,t={}){if(!await _h(e))return null;const r=await Sb(e,t);return await yh(r)||null}const wb="_payload.json";async function Sb(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Ht(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Lt(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await _h(e)?o:r.app.baseURL;return cr(i,n.pathname,wb+(s?`?${s}`:""))}async function yh(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(bh));try{return await t}catch{}return null}async function _h(e=Zo().path){const t=ve();return e=Fr(e),(await ti()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await fl({path:e});return!!r.prerender&&!r.redirect})}let Wn=null;async function Eb(){if(Wn)return Wn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await bh(e.textContent||""),n=e.dataset.src?await yh(e.dataset.src):void 0;return Wn={...t,...n,...window.__NUXT__},Wn.config?.public&&(Wn.config.public=_n(Wn.config.public)),Wn}async function bh(e){return await K_(e,ve()._payloadRevivers)}function vh(e,t){ve()._payloadRevivers[e]=t}const Cb=k_(()=>{vh("skipHydrate",e=>{})}),wh=[["NuxtError",e=>tr(e)],["EmptyShallowRef",e=>Dn(e==="_"?void 0:e==="0n"?BigInt(0):$r(e))],["EmptyRef",e=>oe(e==="_"?void 0:e==="0n"?BigInt(0):$r(e))],["ShallowRef",e=>Dn(e)],["ShallowReactive",e=>Jt(e)],["Ref",e=>oe(e)],["Reactive",e=>_n(e)]];wh.push(["Island",({key:e,params:t,result:n})=>{const r=ve();return r.isHydrating||(r.payload.data[e]||=$fetch(`/__nuxt_island/${e}.json`,{responseType:"json",...t?{params:t}:{}}).then(s=>(r.payload.data[e]=s,s))),{html:"",...n}}]);const kb=De({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of wh)vh(r,s);Object.assign(e.payload,([t,n]=Nt(()=>e.runWithContext(Eb)),t=await t,n(),t)),delete window.__NUXT__}});async function dl(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const o=new Map,i=new Promise(h=>{e.resolveTags().then(m=>{h(m.map(y=>{const k=o.get(y._d)||0,b={tag:y,id:(k?`${y._d}:${k}`:y._d)||Mc(y),shouldRender:!0};return y._d&&hh(y._d)&&o.set(y._d,k+1),b}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const h of["body","head"]){const m=n[h]?.children;for(const y of m){const k=y.tagName.toLowerCase();if(!xc.has(k))continue;const b=ph({tag:k,props:{}},{innerHTML:y.innerHTML,...y.getAttributeNames().reduce((S,p)=>(S[p]=y.getAttribute(p),S),{})||{}});if(b.key=y.getAttribute("data-hid")||void 0,b._d=ya(b)||Mc(b),a.elMap.has(b._d)){let S=1,p=b._d;for(;
23a.elMap.has(p);)p=`${b._d}:${S++}`;a.elMap.set(p,y)}else a.elMap.set(b._d,y)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(h,m,y){const k=`${h}:${m}`;a.sideEffects[k]=y,delete a.pendingSideEffects[k]}function u({id:h,$el:m,tag:y}){const k=y.tag.endsWith("Attrs");a.elMap.set(h,m),k||(y.textContent&&y.textContent!==m.textContent&&(m.textContent=y.textContent),y.innerHTML&&y.innerHTML!==m.innerHTML&&(m.innerHTML=y.innerHTML),l(h,"el",()=>{m?.remove(),a.elMap.delete(h)}));for(const b in y.props){if(!Object.prototype.hasOwnProperty.call(y.props,b))continue;const S=y.props[b];if(b.startsWith("on")&&typeof S=="function"){const g=m?.dataset;if(g&&g[`${b}fired`]){const E=b.slice(0,-5);S.call(m,new Event(E.substring(2)))}m.getAttribute(`data-${b}`)!==""&&((y.tag==="bodyAttrs"?n.defaultView:m).addEventListener(b.substring(2),S.bind(m)),m.setAttribute(`data-${b}`,""));continue}const p=`attr:${b}`;if(b==="class"){if(!S)continue;for(const g of S)k&&l(h,`${p}:${g}`,()=>m.classList.remove(g)),!m.classList.contains(g)&&m.classList.add(g)}else if(b==="style"){if(!S)continue;for(const[g,E]of S)l(h,`${p}:${g}`,()=>{m.style.removeProperty(g)}),m.style.setProperty(g,E)}else S!==!1&&S!==null&&(m.getAttribute(b)!==S&&m.setAttribute(b,S===!0?"":String(S)),k&&l(h,p,()=>m.removeAttribute(b)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const h of d){const{tag:m,shouldRender:y,id:k}=h;if(y){if(m.tag==="title"){n.title=m.textContent,l("title","",()=>n.title=a.title);continue}h.$el=h.$el||a.elMap.get(k),h.$el?u(h):xc.has(m.tag)&&c.push(h)}}for(const h of c){const m=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),u(h),f[m]=f[m]||n.createDocumentFragment(),f[m].appendChild(h.$el)}for(const h of d)await e.hooks.callHook("dom:renderTag",h,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const h in a.pendingSideEffects)a.pendingSideEffects[h]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Tb(e={}){const t=e.domOptions?.render||dl;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return hb({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Rb(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function Ab(e={}){const t=Tb({domOptions:{render:Rb(()=>dl(t),n=>setTimeout(n,0))},...e});return t.install=gb(t),t}const Lb={disableDefaults:!0},Ob=De({name:"nuxt:head",enforce:"pre",setup(e){const t=Ab(Lb);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await dl(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*!
24  * vue-router v4.5.1
25  * (c) 2025 Eduardo San Martin Morote
26  * @license MIT
27  */const yr=typeof document<"u";function Sh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Pb(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Sh(e.default)}const we=Object.assign;function Ai(e,t){const n={};for(const r in t){const s=t[r];n[r]=Bt(s)?s.map(e):e(s)}return n}const hs=()=>{},Bt=Array.isArray,Eh=/#/g,xb=/&/g,Ib=/\//g,Mb=/=/g,Nb=/\?/g,Ch=/\+/g,$b=/%5B/g,Db=/%5D/g,kh=/%5E/g,Fb=/%60/g,Th=/%7B/g,Ub=/%7C/g,Rh=/%7D/g,Bb=/%20/g;function hl(e){return encodeURI(""+e).replace(Ub,"|").replace($b,"[").replace(Db,"]")}function Vb(e){return hl(e).replace(Th,"{").replace(Rh,"}").replace(kh,"^")}function ba(e){return hl(e).replace(Ch,"%2B").replace(Bb,"+").replace(Eh,"%23").replace(xb,"%26").replace(Fb,"`").replace(Th,"{").replace(Rh,"}").replace(kh,"^")}function Hb(e){return ba(e).replace(Mb,"%3D")}function jb(e){return hl(e).replace(Eh,"%23").replace(Nb,"%3F")}function qb(e){return e==null?"":jb(e).replace(Ib,"%2F")}function ks(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Wb=/\/$/,Qb=e=>e.replace(Wb,"");function Li(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=zb(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:ks(i)}}function Kb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Vc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Gb(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Ur(t.matched[r],n.matched[s])&&Ah(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ur(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ah(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Yb(e[n],t[n]))return!1;return!0}function Yb(e,t){return Bt(e)?Hc(e,t):Bt(t)?Hc(t,e):e===t}function Hc(e,t){return Bt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function zb(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;
vendor: 8,568 bytes, line 27
27i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Ct={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ts;(function(e){e.pop="pop",e.push="push"})(Ts||(Ts={}));var ps;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ps||(ps={}));function Jb(e){if(!e)if(yr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Qb(e)}const Xb=/^[^#]+#/;function Zb(e,t){return e.replace(Xb,"#")+t}function ev(e,t){const 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)}}const ni=()=>({left:window.scrollX,top:window.scrollY});function tv(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=ev(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function jc(e,t){return(history.state?history.state.position-t:-1)+e}const va=new Map;function nv(e,t){va.set(e,t)}function rv(e){const t=va.get(e);return va.delete(e),t}let sv=()=>location.protocol+"//"+location.host;function Lh(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Vc(l,"")}return Vc(n,e)+r+s}function ov(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const h=Lh(e,location),m=n.value,y=t.value;let k=0;if(d){if(n.value=h,t.value=d,i&&i===m){i=null;return}k=y?d.position-y.position:0}else r(h);s.forEach(b=>{b(n.value,m,{delta:k,type:Ts.pop,direction:k?k>0?ps.forward:ps.back:ps.unknown})})};function l(){i=n.value}function u(d){s.push(d);const h=()=>{const m=s.indexOf(d);m>-1&&s.splice(m,1)};return o.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(we({},d.state,{scroll:ni()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function qc(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ni():null}}function iv(e){const{history:t,location:n}=window,r={value:Lh(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:sv()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch{n[c?"replace":"assign"](d)}}function i(l,u){const c=we({},t.state,qc(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});o(l,c,!0),r.value=l}function a(l,u){const c=we({},s.value,t.state,{forward:l,scroll:ni()});o(c.current,c,!0);const f=we({},qc(r.value,l,null),{position:c.position+1},u);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function av(e){e=Jb(e);const t=iv(e),n=ov(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=we({location:"",base:e,go:r,createHref:Zb.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function lv(e){return typeof e=="string"||e&&typeof e=="object"}function Oh(e){return typeof e=="string"||typeof e=="symbol"}const Ph=Symbol("");var Wc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Wc||(Wc={}));function Br(e,t){return we(new Error,{type:e,[Ph]:!0},t)}function Qt(e,t){return e instanceof Error&&Ph in e&&(t==null||!!(e.type&t))}const Qc="[^/]+?",cv={sensitive:!1,strict:!1,start:!0,end:!0},uv=/[.+*?^${}()[\]/\\]/g;function fv(e,t){const n=we({},cv,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(s+="/"),s+=d.value.replace(uv,"\\$&"),h+=40;else if(d.type===1){const{value:m,repeatable:y,optional:k,regexp:b}=d;o.push({name:m,repeatable:y,optional:k});const S=b||Qc;if(S!==Qc){h+=10;try{new RegExp(`(${S})`)}catch(g){throw new Error(`Invalid custom RegExp for param "${m}" (${S}): `+g.message)}}let p=y?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;f||(p=k&&u.length<2?`(?:/${p})`:"/"+p),k&&(p+="?"),s+=p,h+=20,k&&(h+=-8),y&&(h+=-20),S===".*"&&(h+=-50)}c.push(h)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(u){const c=u.match(i),f={};if(!c)return null;for(let d=1;d<c.length;d++){const h=c[d]||"",m=o[d-1];f[m.name]=h&&m.repeatable?h.split("/"):h}return f}function l(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const h of d)if(h.type===0)c+=h.value;else if(h.type===1){const{value:m,repeatable:y,optional:k}=h,b=m in u?u[m]:"";if(Bt(b)&&!y)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const S=Bt(b)?b.join("/"):b;if(!S)if(k)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);c+=S}}return c||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function dv(e,t){let n=0;for(;n<e.length&&n<t.length;){const 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 xh(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=dv(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Kc(r))return 1;if(Kc(s))return-1}return s.length-r.length}function Kc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const hv={type:0,value:""},pv=/[a-zA-Z0-9_]/;function gv(e){if(!e)return[[]];if(e==="/")return[[hv]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,u="",c="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&f(),i()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:pv.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=3:c+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),s}function mv(e,t,n){const r=fv(gv(e.path),n),s=we(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function yv(e,t){const n=[],r=new Map;t=Jc({strict:!1,end:!0,sensitive:!1},t);function s(f){return r.get(f)}function o(f,d,h){const m=!h,y=Yc(f);y.aliasOf=h&&h.record;const k=Jc(t,f),b=[y];if("alias"in f){const g=typeof f.alias=="string"?[f.alias]:f.alias;for(const E of g)b.push(Yc(we({},y,{components:h?h.record.components:y.components,path:E,aliasOf:h?h.record:y})))}let S,p;for(const g of b){const{path:E}=g;if(d&&E[0]!=="/"){const R=d.record.path,A=R[R.length-1]==="/"?"":"/";g.path=d.record.path+(E&&A+E)}if(S=mv(g,d,k),h?h.alias.push(S):(p=p||S,p!==S&&p.alias.push(S),m&&f.name&&!zc(S)&&i(f.name)),Ih(S)&&l(S),y.children){const R=y.children;for(let A=0;A<R.length;A++)o(R[A],S,h&&h.children[A])}h=h||S}return p?()=>{i(p)}:hs}function i(f){if(Oh(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=vv(f,n);n.splice(d,0,f),f.record.name&&!zc(f)&&r.set(f.record.name,f)}function u(f,d){let h,m={},y,k;
vendor: 6,290 bytes, line 27
27if("name"in f&&f.name){if(h=r.get(f.name),!h)throw Br(1,{location:f});k=h.record.name,m=we(Gc(d.params,h.keys.filter(p=>!p.optional).concat(h.parent?h.parent.keys.filter(p=>p.optional):[]).map(p=>p.name)),f.params&&Gc(f.params,h.keys.map(p=>p.name))),y=h.stringify(m)}else if(f.path!=null)y=f.path,h=n.find(p=>p.re.test(y)),h&&(m=h.parse(y),k=h.record.name);else{if(h=d.name?r.get(d.name):n.find(p=>p.re.test(d.path)),!h)throw Br(1,{location:f,currentLocation:d});k=h.record.name,m=we({},d.params,f.params),y=h.stringify(m)}const b=[];let S=h;for(;S;)b.unshift(S.record),S=S.parent;return{name:k,path:y,params:m,matched:b,meta:bv(b)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:s}}function Gc(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Yc(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:_v(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 _v(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function zc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bv(e){return e.reduce((t,n)=>we(t,n.meta),{})}function Jc(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function vv(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;xh(e,t[o])<0?r=o:n=o+1}const s=wv(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function wv(e){let t=e;for(;t=t.parent;)if(Ih(t)&&xh(e,t)===0)return t}function Ih({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Sv(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Ch," "),i=o.indexOf("="),a=ks(i<0?o:o.slice(0,i)),l=i<0?null:ks(o.slice(i+1));if(a in t){let u=t[a];Bt(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function Xc(e){let t="";for(let n in e){const r=e[n];if(n=Hb(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Bt(r)?r.map(o=>o&&ba(o)):[r&&ba(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Ev(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Bt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Cv=Symbol(""),Zc=Symbol(""),ri=Symbol(""),pl=Symbol(""),wa=Symbol("");function Zr(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Rn(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(Br(4,{from:n,to:t})):d instanceof Error?l(d):lv(d)?l(Br(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},c=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function Oi(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Sh(l)){const c=(l.__vccOpts||l)[t];c&&o.push(Rn(c,n,r,i,a,s))}else{let u=l();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=Pb(c)?c.default:c;i.mods[a]=c,i.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&Rn(h,n,r,i,a,s)()}))}}return o}function eu(e){const t=Ge(ri),n=Ge(pl),r=te(()=>{const l=se(e.to);return t.resolve(l)}),s=te(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Ur.bind(null,c));if(d>-1)return d;const h=tu(l[u-2]);return u>1&&tu(c)===h&&f[f.length-1].path!==h?f.findIndex(Ur.bind(null,l[u-2])):d}),o=te(()=>s.value>-1&&Lv(n.params,r.value.params)),i=te(()=>s.value>-1&&s.value===n.matched.length-1&&Ah(n.params,r.value.params));function a(l={}){if(Av(l)){const u=t[se(e.replace)?"replace":"push"](se(e.to)).catch(hs);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:te(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function kv(e){return e.length===1?e[0]:e}const Tv=nt({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:eu,setup(e,{slots:t}){const n=_n(eu(e)),{options:r}=Ge(ri),s=te(()=>({[nu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[nu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&kv(t.default(n));return e.custom?o:ze("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Rv=Tv;function Av(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Lv(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Bt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function tu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const nu=(e,t,n)=>e??t??n,Ov=nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ge(wa),s=te(()=>e.route||r.value),o=Ge(Zc,0),i=te(()=>{let u=se(o);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=te(()=>s.value.matched[i.value]);In(Zc,te(()=>i.value+1)),In(Cv,a),In(wa,s);const l=oe();return $e(()=>[l.value,a.value,e.name],([u,c,f],[d,h,m])=>{c&&(c.instances[f]=u,h&&h!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!
vendor: 4,092 bytes, line 27
27h||!Ur(c,h)||!d)&&(c.enterCallbacks[f]||[]).forEach(y=>y(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return ru(n.default,{Component:d,route:u});const h=f.props[c],m=h?h===!0?u.params:typeof h=="function"?h(u):h:null,k=ze(d,we({},m,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return ru(n.default,{Component:k,route:u})||k}}});function ru(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Mh=Ov;function Pv(e){const t=yv(e.routes,e),n=e.parseQuery||Sv,r=e.stringifyQuery||Xc,s=e.history,o=Zr(),i=Zr(),a=Zr(),l=Dn(Ct);let u=Ct;yr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ai.bind(null,I=>""+I),f=Ai.bind(null,qb),d=Ai.bind(null,ks);function h(I,q){let V,G;return Oh(I)?(V=t.getRecordMatcher(I),G=q):G=I,t.addRoute(G,V)}function m(I){const q=t.getRecordMatcher(I);q&&t.removeRoute(q)}function y(){return t.getRoutes().map(I=>I.record)}function k(I){return!!t.getRecordMatcher(I)}function b(I,q){if(q=we({},q||l.value),typeof I=="string"){const C=Li(n,I,q.path),O=t.resolve({path:C.path},q),B=s.createHref(C.fullPath);return we(C,O,{params:d(O.params),hash:ks(C.hash),redirectedFrom:void 0,href:B})}let V;if(I.path!=null)V=we({},I,{path:Li(n,I.path,q.path).path});else{const C=we({},I.params);for(const O in C)C[O]==null&&delete C[O];V=we({},I,{params:f(C)}),q.params=f(q.params)}const G=t.resolve(V,q),fe=I.hash||"";G.params=c(d(G.params));const me=Kb(r,we({},I,{hash:Vb(fe),path:G.path})),v=s.createHref(me);return we({fullPath:me,hash:fe,query:r===Xc?Ev(I.query):I.query||{}},G,{redirectedFrom:void 0,href:v})}function S(I){return typeof I=="string"?Li(n,I,l.value.path):we({},I)}function p(I,q){if(u!==I)return Br(8,{from:q,to:I})}function g(I){return A(I)}function E(I){return g(we(S(I),{replace:!0}))}function R(I){const q=I.matched[I.matched.length-1];if(q&&q.redirect){const{redirect:V}=q;let G=typeof V=="function"?V(I):V;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=S(G):{path:G},G.params={}),we({query:I.query,hash:I.hash,params:G.path!=null?{}:I.params},G)}}function A(I,q){const V=u=b(I),G=l.value,fe=I.state,me=I.force,v=I.replace===!0,C=R(V);if(C)return A(we(S(C),{state:typeof C=="object"?we({},fe,C.state):fe,force:me,replace:v}),q||V);const O=V;O.redirectedFrom=q;let B;return!me&&Gb(r,G,V)&&(B=Br(16,{to:O,from:G}),Ye(G,G,!0,!1)),(B?Promise.resolve(B):U(O,G)).catch($=>Qt($)?Qt($,2)?$:Be($):Y($,O,G)).then($=>{if($){if(Qt($,2))return A(we({replace:v},S($.to),{state:typeof $.to=="object"?we({},fe,$.to.state):fe,force:me}),q||O)}else $=D(O,G,!0,v,fe);return Q(O,G,$),$})}function j(I,q){const V=p(I,q);return V?Promise.reject(V):Promise.resolve()}function M(I){const q=vt.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(I):I()}function U(I,q){let V;const[G,fe,me]=xv(I,q);V=Oi(G.reverse(),"beforeRouteLeave",I,q);for(const C of G)C.leaveGuards.forEach(O=>{V.push(Rn(O,I,q))});const v=j.bind(null,I,q);return V.push(v),le(V).then(()=>{V=[];for(const C of o.list())V.push(Rn(C,I,q));return V.push(v),le(V)}).then(()=>{V=Oi(fe,"beforeRouteUpdate",I,q);for(const C of fe)C.updateGuards.forEach(O=>{V.push(Rn(O,I,q))});return V.push(v),le(V)}).then(()=>{V=[];for(const C of me)if(C.beforeEnter)if(Bt(C.beforeEnter))for(const O of C.beforeEnter)V.push(Rn(O,I,q));else V.push(Rn(C.beforeEnter,I,q));return V.push(v),le(V)}).then(()=>(I.matched.forEach(C=>C.enterCallbacks={}),V=Oi(me,"beforeRouteEnter",I,q,M),V.push(v),le(V))).then(()=>{V=[];for(const C of i.list())V.push(Rn(C,I,q));return V.push(v),le(V)}).catch(C=>Qt(C,8)?C:Promise.reject(C))}function Q(I,q,V){a.list().forEach(G=>M(()=>G(I,q,V)))}function D(I,q,V,G,fe){const me=p(I,q);if(me)return me;const v=q===Ct,C=yr?history.state:{};V&&(G||v?s.replace(I.fullPath,we({scroll:v&&C&&C.scroll},fe)):s.push(I.fullPath,fe)),l.value=I,Ye(I,q,V,v),Be()}let J;function ie(){J||(J=s.listen((I,q,V)=>{if(!N.listening)return;const G=b(I),fe=R(G);if(fe){A(we(fe,{replace:!0,force:!0}),G).catch(hs);return}u=G;const me=l.value;
27yr&&nv(jc(me.fullPath,V.delta),ni()),U(G,me).catch(v=>Qt(v,12)?v:Qt(v,2)?(A(we(S(v.to),{force:!0}),G).then(C=>{Qt(C,20)&&!V.delta&&V.type===Ts.pop&&s.go(-1,!1)}).catch(hs),Promise.reject()):(V.delta&&s.go(-V.delta,!1),Y(v,G,me))).then(v=>{v=v||D(G,me,!1),v&&(V.delta&&!Qt(v,8)?s.go(-V.delta,!1):V.type===Ts.pop&&Qt(v,20)&&s.go(-1,!1)),Q(G,me,v)}).catch(hs)}))}let ue=Zr(),z=Zr(),ne;function Y(I,q,V){Be(I);const G=z.list();return G.length&&G.forEach(fe=>fe(I,q,V)),Promise.reject(I)}function ae(){return ne&&l.value!==Ct?Promise.resolve():new Promise((I,q)=>{ue.add([I,q])})}function Be(I){return ne||(ne=!I,ie(),ue.list().forEach(([q,V])=>I?V(I):q()),ue.reset()),I}function Ye(I,q,V,G){const{scrollBehavior:fe}=e;if(!yr||!fe)return Promise.resolve();const me=!V&&rv(jc(I.fullPath,0))||(G||!V)&&history.state&&history.state.scroll||null;return mn().then(()=>fe(I,q,me)).then(v=>v&&tv(v)).catch(v=>Y(v,I,q))}const Ve=I=>s.go(I);let bt;const vt=new Set,N={currentRoute:l,listening:!0,addRoute:h,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:k,getRoutes:y,resolve:b,options:e,push:g,replace:E,go:Ve,back:()=>Ve(-1),forward:()=>Ve(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:z.add,isReady:ae,install(I){const q=this;I.component("RouterLink",Rv),I.component("RouterView",Mh),I.config.globalProperties.$router=q,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>se(l)}),yr&&!bt&&l.value===Ct&&(bt=!0,g(s.location).catch(fe=>{}));const V={};for(const fe in Ct)Object.defineProperty(V,fe,{get:()=>l.value[fe],enumerable:!0});I.provide(ri,q),I.provide(pl,Jt(V)),I.provide(wa,l);const G=I.unmount;vt.add(I),I.unmount=function(){vt.delete(I),vt.size<1&&(u=Ct,J&&J(),J=null,l.value=Ct,bt=!1,ne=!1),G()}}};function le(I){return I.reduce((q,V)=>q.then(()=>M(V)),Promise.resolve())}return N}function xv(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(u=>Ur(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>Ur(u,l))||s.push(l))}return[n,r,s]}function WR(){return Ge(ri)}function Nh(e){return Ge(pl)}const Iv=/(:\w+)\([^)]+\)/g,Mv=/(:\w+)[?+*]/g,Nv=/:\w+/g,$v=(e,t)=>t.path.replace(Iv,"$1").replace(Mv,"$1").replace(Nv,n=>e.params[n.slice(1)]?.toString()||""),Sa=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&$v(e.route,n));return typeof r=="function"?r(e.route):r},Dv=(e,t)=>({default:()=>e?ze(Fg,e===!0?{}:e,t):t});function gl(e){return Array.isArray(e)?e:[e]}const Fv={layout:"workshop"},Uv={layout:"workshop"},Bv={layout:!1},Vv={layout:"workshop"},Hv={layout:!1},jv={layout:"workshop"},qv={layout:"workshop"},Wv={layout:"default"},Qv={layout:"dashboard",breadcrumb:"Shop"},Kv={layout:"default"},Gv={layout:"default"},Yv={layout:"dashboard",breadcrumb:void 0},zv={layout:"default"},Jv={layout:"dashboard",breadcrumb:"New Page"},Xv={layout:"dashboard",breadcrumb:"Edit Page"},Zv={layout:"dashboard",breadcrumb:"Settings"},ew={layout:"dashboard",breadcrumb:"CMS"},tw={layout:"dashboard",breadcrumb:"CRM"},nw={layout:"workshop"},rw={layout:"dashboard",breadcrumb:"Onboarding"},sw={layout:"dashboard",breadcrumb:"Workspaces"},ow={layout:"default"},iw={layout:"dashboard",breadcrumb:"Admin"},aw={layout:"dashboard",breadcrumb:"Users"},lw={layout:"dashboard",breadcrumb:"Leads"},cw={layout:"dashboard",breadcrumb:"CRM Notes"},uw={layout:"dashboard",breadcrumb:"Subscription"},fw={layout:"dashboard",breadcrumb:"Pricing Plans"},dw={layout:"dashboard",breadcrumb:"Support Admin"},hw={layout:"dashboard",breadcrumb:"Support"},pw={layout:"dashboard",breadcrumb:"Admin Settings"},gw={layout:"dashboard"},mw={layout:"dashboard",breadcrumb:"Kampanjer"},yw={layout:"dashboard",breadcrumb:"Workspace"},_w={layout:"dashboard",breadcrumb:"Ticket Details"},bw={layout:"dashboard",breadcrumb:"Stripe"},vw={layout:"dashboard",breadcrumb:"Notifications"},ww={layout:"dashboard",breadcrumb:"Cancelled"},Sw={layout:"dashboard",breadcrumb:"Workshop Leads"},Ew={layout:"dashboard",breadcrumb:"Success"},Cw={layout:"dashboard",breadcrumb:"Workspaces"},kw={layout:"dashboard",breadcrumb:"New Landing Page"},Tw={layout:"dashboard",breadcrumb:"Edit Landing Page"},Rw={layout:"dashboard",breadcrumb:"Landing Pages"},Pi=[{name:"aipt",path:"/aipt",meta:Fv||{},component:()=>X(()=>import("./DTfkFxOO.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)},{name:"about",path:"/about",component:()=>X(()=>import("./mIrHlN7U.js"),__vite__mapDeps([5,6,7,8,9,10,11,12,1,13,14,15,16,17,18,3,19,20,21,22]),import.meta.url)},{name:"index",path:"/",component:()=>X(()=>import("./_e58v7kL.js"),__vite__mapDeps([23,1,11,7,6,10,13,24,15,25,8,26,9,27,17,28,29,20,30,31,32,33,34,35,36,12,14,16,37,38,39,40,41,18,3,42]),import.meta.url)},{name:"login",path:"/login",component:()=>X(()=>import("./DAG1cJ_i.js"),__vite__mapDeps([43,44,11,7,6,15,14,1,45,8,26,46,9,2,47,48,49,50,18,3,51,52,53,54,36]),import.meta.url)},{name:"aiquiz",path:"/aiquiz",meta:Uv||{},component:()=>X(()=>import("./BtIbpi9q.js"),__vite__mapDeps([55,1,3,56]),import.meta.url)},{name:"pricing",path:"/pricing",component:()=>X(()=>import("./ChENL80f.js"),__vite__mapDeps([57,31,8,7,26,9,10,6,11,32,33,34,35,36,15,24,1,38,39,40,13,17,41,18,3]),import.meta.url)},{name:"og-image",path:"/og-image",meta:Bv||{},component:()=>X(()=>import("./Do9RbnSP.js"),__vite__mapDeps([58,59,3,60]),import.meta.url)},{name:"register",path:"/register",component:()=>X(()=>import("./D1Q2xsOI.js"),__vite__mapDeps([61,44,11,7,6,15,14,1,45,8,26,46,9,2,47,48,49,50,18,3,51,52,53,54,36]),import.meta.url)},{name:"workshop",path:"/workshop",meta:Vv||{},component:()=>X(()=>import("./CFizt9Fe.js"),__vite__mapDeps([62,63,3,64]),import.meta.url)},{name:"lp-slug",path:"/lp/:slug()",meta:Hv||{},component:()=>X(()=>import("./K8qfo5dP.js"),__vite__mapDeps([65,1,52,53,3,66]),import.meta.url)},{name:"aiuncutgbg",path:"/aiuncutgbg",meta:jv||{},component:()=>X(()=>import("./CFhDvhPO.js"),__vite__mapDeps([67,3,68]),import.meta.url)},{name:"blog",path:"/blog",component:()=>X(()=>import("./CJtLoJE6.js"),__vite__mapDeps([69,1,8,7,10,6,11,37,18,3,15,21,19,29,70,71,17,40]),import.meta.url)},{name:"workshop-ad",path:"/workshop-ad",meta:qv||{},component:()=>X(()=>import("./CyK8SHL-.js"),__vite__mapDeps([72,63,3,73]),import.meta.url)},{name:"cookie-policy",path:"/cookie-policy",meta:Wv||{},component:()=>X(()=>import("./CewR6c0c.js"),__vite__mapDeps([74,18,3]),import.meta.url)},{name:"dashboard-shop",path:"/dashboard/shop",meta:{...Qv||{},middleware:["auth"]},component:()=>X(()=>import("./Dqq84N_A.js"),__vite__mapDeps([75,8,7,26,9,11,6,76,34,18,3,24,15,36,77,78]),import.meta.url)},{name:"p-org-slug",path:"/p/:org()/:slug()",component:()=>X(()=>import("./C11pnh11.js"),__vite__mapDeps([79,3]),import.meta.url)},{name:"privacy-policy",path:"/privacy-policy",meta:Kv||{},component:()=>X(()=>import("./COgmjI8B.js"),__vite__mapDeps([80,18,3]),import.meta.url)},{name:"business-i-burk",path:"/business-i-burk",meta:Gv||{},component:()=>X(()=>import("./DlxDRf3V.js"),__vite__mapDeps([81,1,3,82]),import.meta.url)},{name:"dashboard",path:"/dashboard",meta:{...Yv||{},middleware:["auth"]},component:()=>X(()=>import("./Cmr84vkK.js"),__vite__mapDeps([83,1,8,7,26,9,10,6,11,18,3,84,15,85,86,29,17,87,77]),import.meta.url)},{name:"forgot-password",path:"/forgot-password",component:()=>X(()=>import("./dKjXEinF.js"),__vite__mapDeps([88,1,89,6,7,90,15,91,92,11,45,8,26,46,9,2,47,48,49,50,18,3,36]),import.meta.url)},{name:"terms-of-service",path:"/terms-of-service",meta:zv||{},component:()=>X(()=>import("./B1dOA9ji.js"),__vite__mapDeps([93,18,3]),import.meta.url)},{name:"dashboard-cms-new",path:"/dashboard/cms/new",meta:{...Jv||{},middleware:["auth"]},component:()=>X(()=>import("./DoMJJl4M.js"),__vite__mapDeps([94,1,33,8,7,26,9,11,6,48,49,50,95,96,40,15,24,97,98,18,3,36]),import.meta.url)},{name:"dashboard-cms-id",path:"/dashboard/cms/:id()",meta:{...Xv||{},middleware:["auth"]},component:()=>X(()=>import("./DpIsAIIz.js"),__vite__mapDeps([99,1,33,8,7,26,9,11,6,48,49,50,95,96,40,15,24,97,98,18,3,36]),import.meta.url)},{name:"dashboard-settings",path:"/dashboard/settings",meta:{...Zv||{},middleware:["auth"]},component:()=>X(()=>
27import("./BWmuZdHd.js"),__vite__mapDeps([100,101,11,7,6,102,15,33,8,26,9,48,49,50,32,10,103,89,90,91,92,104,105,106,18,3,36,107]),import.meta.url)},{name:"blog-10-nuxt-4-tips",path:"/blog/10-nuxt-4-tips",component:()=>X(()=>import("./B9BSIKbO.js"),__vite__mapDeps([108,8,7,26,9,76,6,37,11,109,1,110,15,18,3,70,71,111,19,14,16]),import.meta.url)},{name:"dashboard-cms",path:"/dashboard/cms",meta:{...ew||{},middleware:["auth"]},component:()=>X(()=>import("./DUTAzXhl.js"),__vite__mapDeps([112,1,33,8,7,26,9,11,6,10,97,98,18,3]),import.meta.url)},{name:"dashboard-crm",path:"/dashboard/crm",meta:{...tw||{},middleware:["auth"]},component:()=>X(()=>import("./COj5izKF.js"),__vite__mapDeps([113,11,7,6,48,49,50,95,8,103,89,90,15,91,92,33,71,114,115,96,40,24,116,104,117,36,18,3]),import.meta.url)},{name:"workshop-23feb-tack",path:"/workshop-23feb-tack",meta:nw||{},component:()=>X(()=>import("./-0cpM0vI.js"),__vite__mapDeps([118,3,119]),import.meta.url)},{name:"dashboard-onboarding",path:"/dashboard/onboarding",meta:{...rw||{},middleware:["auth"]},component:()=>X(()=>import("./BZrKl1uI.js"),__vite__mapDeps([120,8,7,11,6,48,49,50,95,96,40,15,24,121,52,53,33,18,3,36]),import.meta.url)},{name:"dashboard-orgs",path:"/dashboard/orgs",meta:{...sw||{},middleware:["auth"]},component:()=>X(()=>import("./Be3AzRTX.js"),__vite__mapDeps([122,33,8,7,26,9,11,6,48,49,50,18,3,97,36,15]),import.meta.url)},{name:"invite-token",path:"/invite/:token()",meta:ow||{},component:()=>X(()=>import("./BAFH-Bk9.js"),__vite__mapDeps([123,1,8,7,26,9,11,6,10,33,51,52,53,18,3,36,15]),import.meta.url)},{name:"dashboard-admin",path:"/dashboard/admin",meta:{...iw||{},middleware:["auth","admin"]},component:()=>X(()=>import("./DA5og5Ep.js"),__vite__mapDeps([124,8,7,26,9,18,3,20,15,85,86,125,87]),import.meta.url)},{name:"dashboard-admin-users",path:"/dashboard/admin/users",meta:{...aw||{},middleware:["auth","admin"]},component:()=>X(()=>import("./C8KF9b37.js"),__vite__mapDeps([126,11,7,6,48,49,103,96,40,15,24,33,127,18,3]),import.meta.url)},{name:"dashboard-leads",path:"/dashboard/leads",meta:{...lw||{},middleware:["auth"]},component:()=>X(()=>import("./1EnTWSnr.js"),__vite__mapDeps([128,11,7,6,50,96,40,15,24,89,90,91,92,104,33,36,27,48,49,95,129,8,103,116,117,18,3,130]),import.meta.url)},{name:"dashboard-crm-userId",path:"/dashboard/crm/:userId()",meta:{...cw||{},middleware:["auth"]},component:()=>X(()=>import("./CrM9_flK.js"),__vite__mapDeps([131,116,11,7,6,48,49,50,95,96,40,15,24,89,90,91,92,104,33,117,36,8,26,9,97,98,18,3]),import.meta.url)},{name:"dashboard-subscription",path:"/dashboard/subscription",meta:{...uw||{},middleware:["auth"]},component:()=>X(()=>import("./Bp9B5-E_.js"),__vite__mapDeps([132,11,7,6,8,26,46,9,31,10,32,33,34,35,36,15,24,18,3,51,52,53]),import.meta.url)},{name:"blog-modern-blog-nuxt-4",path:"/blog/modern-blog-nuxt-4",component:()=>X(()=>import("./TBnaqZcG.js"),__vite__mapDeps([133,8,7,26,9,76,6,37,11,109,1,110,15,70,71,111,19,14,16]),import.meta.url)},{name:"blog-nuxt-4-performance",path:"/blog/nuxt-4-performance",component:()=>X(()=>import("./CnMQBeCp.js"),__vite__mapDeps([134,8,7,26,9,76,6,37,11,109,1,110,15,70,71,111,19,14,16]),import.meta.url)},{name:"dashboard-admin-pricing",path:"/dashboard/admin/pricing",meta:{...fw||{},middleware:["auth","admin"]},component:()=>X(()=>import("./B2D01jOG.js"),__vite__mapDeps([135,33,8,7,26,9,11,6,48,49,50,10,32,95,89,90,15,91,92,39,40,96,24,136,35,18,3,36,130]),import.meta.url)},{name:"dashboard-admin-support",path:"/dashboard/admin/support",meta:{...dw||{},middleware:["auth"]},component:()=>X(()=>import("./BEZ1qn7L.js"),__vite__mapDeps([137,33,8,7,26,9,11,6,95,49,24,15,103,96,40,89,90,91,18,3]),import.meta.url)},{name:"dashboard-support",path:"/dashboard/support",meta:{...hw||{},middleware:["auth"]},component:()=>X(()=>import("./CdRptETQ.js"),__vite__mapDeps([138,1,33,8,7,26,9,11,6,48,49,95,89,90,15,91,92,96,40,24,18,3]),import.meta.url)},{name:"dashboard-admin-settings",path:"/dashboard/admin/settings",meta:{...pw||{},middleware:["auth","admin"]},component:()=>X(()=>import("./DaRBHEWp.js"),__vite__mapDeps([139,33,8,7,26,9,11,6,48,49,50,32,96,40,15,24,136,103,95,106,89,90,91,92,104,18,3,52,53,36]),import.meta.url)},{name:"dashboard-payment-cancel",path:"/dashboard/payment/cancel",meta:{...gw||{},middleware:["auth"]},component:()=>X(()=>import("./D5gDPzxo.js"),__vite__mapDeps([140,11,7,6,18,3]),import.meta.url)},{name:"dashboard-campaigns",path:"/dashboard/campaigns",meta:{...mw||{},middleware:["auth"]},component:()=>X(()=>import("./DiWgHY3K.js"),__vite__mapDeps([141,11,7,6,48,49,50,95,8,96,40,15,24,89,90,92,33,18,3,129,36,142,115,130]),import.meta.url)},{name:"dashboard-payment-success",path:"/dashboard/payment/success",meta:{middleware:["auth"]},component:()=>X(()=>import("./qYbkaJ9Y.js"),__vite__mapDeps([143,8,7,26,46,9,11,6,18,3,52,53]),import.meta.url)},{name:"dashboard-orgs-orgId",path:"/dashboard/orgs/:orgId()",meta:{...yw||{},middleware:["auth"]},component:()=>X(()=>import("./BXSZDsHs.js"),__vite__mapDeps([144,1,33,8,7,26,9,106,6,11,48,49,50,10,37,89,90,15,91,92,104,145,96,40,24,97,98,146,18,3,3
276,125]),import.meta.url)},{name:"dashboard-support-ticketId",path:"/dashboard/support/:ticketId()",meta:{..._w||{},middleware:["auth"]},component:()=>X(()=>import("./BxI4FiEf.js"),__vite__mapDeps([147,1,33,8,7,11,6,95,49,18,3]),import.meta.url)},{name:"dashboard-admin-subscriptions",path:"/dashboard/admin/subscriptions",meta:{...bw||{},middleware:["auth","admin"]},component:()=>X(()=>import("./Bi8gphTC.js"),__vite__mapDeps([148,8,7,26,9,10,6,103,106,18,3]),import.meta.url)},{name:"dashboard-notifications",path:"/dashboard/notifications",meta:{...vw||{},middleware:["auth"]},component:()=>X(()=>import("./BIkYE9IV.js"),__vite__mapDeps([149,8,7,26,9,11,6,10,33,18,3,36,15,114,107,78,150,125]),import.meta.url)},{name:"dashboard-payment-shop-cancel",path:"/dashboard/payment/shop/cancel",meta:{...ww||{},middleware:["auth"]},component:()=>X(()=>import("./C9dhz9K7.js"),__vite__mapDeps([151,8,7,26,46,9,11,6,18,3,15,152]),import.meta.url)},{name:"dashboard-admin-workshop-leads",path:"/dashboard/admin/workshop-leads",meta:{...Sw||{},middleware:["auth","admin"]},component:()=>X(()=>import("./XYCYOEac.js"),__vite__mapDeps([153,11,7,6,48,49,8,9,18,3,52,53,15,20,25,127]),import.meta.url)},{name:"dashboard-payment-shop-success",path:"/dashboard/payment/shop/success",meta:{...Ew||{},middleware:["auth"]},component:()=>X(()=>import("./0T6b3aWX.js"),__vite__mapDeps([154,8,7,26,46,9,11,6,18,3,36,15,78,150,85,70,152]),import.meta.url)},{name:"dashboard-admin-workspaces",path:"/dashboard/admin/workspaces",meta:{...Cw||{},middleware:["auth","admin"]},component:()=>X(()=>import("./hlcIwr92.js"),__vite__mapDeps([155,1,8,7,26,9,11,6,103,145,33,18,3]),import.meta.url)},{name:"dashboard-admin-landing-pages-new",path:"/dashboard/admin/landing-pages/new",meta:{...kw||{},middleware:["auth","admin"]},component:()=>X(()=>import("./D8Ai1RRW.js"),__vite__mapDeps([156,33,36,15]),import.meta.url)},{name:"dashboard-admin-landing-pages-id",path:"/dashboard/admin/landing-pages/:id()",meta:{...Tw||{},middleware:["auth","admin"]},component:()=>X(()=>import("./DLsn28q7.js"),__vite__mapDeps([157,1,33,11,7,6,18,3,152,15,117,36,84,142]),import.meta.url)},{name:"dashboard-admin-landing-pages",path:"/dashboard/admin/landing-pages",meta:{...Rw||{},middleware:["auth","admin"]},component:()=>X(()=>import("./BTgAmUDN.js"),__vite__mapDeps([158,1,33,8,7,26,9,11,6,10,18,3,129,15,36,159,54,117,111,130]),import.meta.url)}],$h=(e,t)=>({default:()=>e?ze(Um,e===!0?{}:e,t):t.default?.()}),Aw=/(:\w+)\([^)]+\)/g,Lw=/(:\w+)[?+*]/g,Ow=/:\w+/g;function su(e){const t=e?.meta.key??e.path.replace(Aw,"$1").replace(Lw,"$1").replace(Ow,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function Pw(e,t){return e===t||t===Ct?!1:su(e)!==su(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}const xw={scrollBehavior(e,t,n){const r=ve(),s=tt().options?.scrollBehaviorType??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Dh(e.hash),behavior:s}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const i=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(a=>{if(t===Ct){a(ou(e,t,n,s));return}r.hooks.hookOnce(i,()=>{requestAnimationFrame(()=>a(ou(e,t,n,s)))})})}};function Dh(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function ou(e,t,n,r){if(n)return n;const s=Pw(e,t);return e.hash?{el:e.hash,top:Dh(e.hash),behavior:s?r:"instant"}:{left:0,top:0}}const Iw={hashMode:!1,scrollBehaviorType:"auto"},Sn={...Iw,...xw},Mw=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const s=([n,r]=Nt(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const o=tr({fatal:!0,statusCode:s&&s.statusCode||404,statusMessage:s&&s.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),o};function es(e){return typeof e=="function"?e():se(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function iu(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function Ea(e,t=!1){function n(f,{flush:d="sync",deep:h=!1,timeout:m,throwOnTimeout:y}={}){let k=null;const S=[new Promise(p=>{k=$e(e,g=>{f(g)!==t&&(k?.(),p(g))},{flush:d,deep:h,immediate:!0})})];return m!=null&&S.push(iu(m,y).then(()=>es(e)).finally(()=>k?.())),Promise.race(S)}function r(f,d){if(!Ie(f))return n(g=>g===f,d);const{flush:h="sync",deep:m=!1,timeout:y,throwOnTimeout:k}=d??{};let b=null;const p=[new Promise(g=>{b=$e([e,f],([E,R])=>{t!==(E===R)&&(b?.(),g(E))},{flush:h,deep:m,immediate:!0})})];return y!=null&&p.push(iu(y,k).then(()=>es(e)).finally(()=>(b?.(),es(e)))),Promise.race(p)}function s(f){return n(d=>!!d,f)}function o(f){return r(null,f)}function i(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,d){return n(h=>{const m=Array.from(h);return m.includes(f)||m.includes(es(f))},d)}function u(f){return c(1,f)}function c(f=1,d){let h=-1;return n(()=>(h+=1,h>=f),d)}return Array.isArray(es(e))?{toMatch:n,toContains:l,changed:u,changedTimes:c,get not(){return Ea(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:u,changedTimes:c,get not(){return Ea(e,!t)}}}function Nw(e){return Ea(e)}const au="1.31.4";var zt=[],Et=[],$w=Uint8Array,xi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
27+/";for(var hr=0,Dw=xi.length;hr<Dw;++hr)zt[hr]=xi[hr],Et[xi.charCodeAt(hr)]=hr;Et[45]=62;Et[95]=63;function Fw(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function Uw(e,t,n){return(t+n)*3/4-n}function Rs(e){var t,n=Fw(e),r=n[0],s=n[1],o=new $w(Uw(e,r,s)),i=0,a=s>0?r-4:r,l;for(l=0;l<a;l+=4)t=Et[e.charCodeAt(l)]<<18|Et[e.charCodeAt(l+1)]<<12|Et[e.charCodeAt(l+2)]<<6|Et[e.charCodeAt(l+3)],o[i++]=t>>16&255,o[i++]=t>>8&255,o[i++]=t&255;return s===2&&(t=Et[e.charCodeAt(l)]<<2|Et[e.charCodeAt(l+1)]>>4,o[i++]=t&255),s===1&&(t=Et[e.charCodeAt(l)]<<10|Et[e.charCodeAt(l+1)]<<4|Et[e.charCodeAt(l+2)]>>2,o[i++]=t>>8&255,o[i++]=t&255),o}function Bw(e){return zt[e>>18&63]+zt[e>>12&63]+zt[e>>6&63]+zt[e&63]}function Vw(e,t,n){for(var r,s=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),s.push(Bw(r));return s.join("")}function As(e){for(var t,n=e.length,r=n%3,s=[],o=16383,i=0,a=n-r;i<a;i+=o)s.push(Vw(e,i,i+o>a?a:i+o));return r===1?(t=e[n-1],s.push(zt[t>>2]+zt[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],s.push(zt[t>>10]+zt[t>>4&63]+zt[t<<2&63]+"=")),s.join("")}function An(e){if(e===void 0)return{};if(!Uh(e))throw new Error(`The arguments to a Convex function must be an object. Received: ${e}`);return e}function Fh(e){if(typeof e>"u")throw new Error("Client created with undefined deployment address. If you used an environment variable, check that it's set.");if(typeof e!="string")throw new Error(`Invalid deployment address: found ${e}".`);if(!(e.startsWith("http:")||e.startsWith("https:")))throw new Error(`Invalid deployment address: Must start with "https://" or "http://". Found "${e}".`);try{new URL(e)}catch{throw new Error(`Invalid deployment address: "${e}" is not a valid URL. If you believe this URL is correct, use the \`skipConvexDeploymentUrlCheck\` option to bypass this.`)}if(e.endsWith(".convex.site"))throw new Error(`Invalid deployment address: "${e}" ends with .convex.site, which is used for HTTP Actions. Convex deployment URLs typically end with .convex.cloud? If you believe this URL is correct, use the \`skipConvexDeploymentUrlCheck\` option to bypass this.`)}function Uh(e){const t=typeof e=="object",n=Object.getPrototypeOf(e),r=n===null||n===Object.prototype||n?.constructor?.name==="Object";return t&&r}const Bh=!0,Vr=BigInt("-9223372036854775808"),ml=BigInt("9223372036854775807"),Ca=BigInt("0"),Hw=BigInt("8"),jw=BigInt("256");function Vh(e){return Number.isNaN(e)||!Number.isFinite(e)||Object.is(e,-0)}function qw(e){e<Ca&&(e-=Vr+Vr);let t=e.toString(16);t.length%2===1&&(t="0"+t);const n=new Uint8Array(new ArrayBuffer(8));let r=0;for(const s of t.match(/.{2}/g).reverse())n.set([parseInt(s,16)],r++),e>>=Hw;return As(n)}function Ww(e){const t=Rs(e);if(t.byteLength!==8)throw new Error(`Received ${t.byteLength} bytes, expected 8 for $integer`);let n=Ca,r=Ca;for(const s of t)n+=BigInt(s)*jw**r,r++;return n>ml&&(n+=Vr+Vr),n}function Qw(e){if(e<Vr||ml<e)throw new Error(`BigInt ${e} does not fit into a 64-bit signed integer.`);const t=new ArrayBuffer(8);return new DataView(t).setBigInt64(0,e,!0),As(new Uint8Array(t))}function Kw(e){const t=Rs(e);if(t.byteLength!==8)throw new Error(`Received ${t.byteLength} bytes, expected 8 for $integer`);return new DataView(t.buffer).getBigInt64(0,!0)}const Gw=DataView.prototype.setBigInt64?Qw:qw,Yw=DataView.prototype.getBigInt64?Kw:Ww,lu=1024;function Hh(e){if(e.length>lu)throw new Error(`Field name ${e} exceeds maximum field name length ${lu}.`);if(e.startsWith("$"))throw new Error(`Field name ${e} starts with a '$', which is reserved.`);for(let t=0;t<e.length;t+=1){const n=e.charCodeAt(t);if(n<32||n>=127)throw new Error(`Field name ${e} has invalid character '${e[t]}': Field names can only contain non-control ASCII characters`)}}function Hr(e){if(e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string")return e;if(Array.isArray(e))return e.map(r=>Hr(r));if(typeof e!="object")throw new Error(`Unexpected type of ${e}`);const t=Object.entries(e);if(t.length===1){const r=t[0][0];
27if(r==="$bytes"){if(typeof e.$bytes!="string")throw new Error(`Malformed $bytes field on ${e}`);return Rs(e.$bytes).buffer}if(r==="$integer"){if(typeof e.$integer!="string")throw new Error(`Malformed $integer field on ${e}`);return Yw(e.$integer)}if(r==="$float"){if(typeof e.$float!="string")throw new Error(`Malformed $float field on ${e}`);const s=Rs(e.$float);if(s.byteLength!==8)throw new Error(`Received ${s.byteLength} bytes, expected 8 for $float`);const i=new DataView(s.buffer).getFloat64(0,Bh);if(!Vh(i))throw new Error(`Float ${i} should be encoded as a number`);return i}if(r==="$set")throw new Error("Received a Set which is no longer supported as a Convex type.");if(r==="$map")throw new Error("Received a Map which is no longer supported as a Convex type.")}const n={};for(const[r,s]of Object.entries(e))Hh(r),n[r]=Hr(s);return n}const cu=16384;function gs(e){const t=JSON.stringify(e,(n,r)=>r===void 0?"undefined":typeof r=="bigint"?`${r.toString()}n`:r);if(t.length>cu){const n="[...truncated]";let r=cu-n.length;const s=t.codePointAt(r-1);return s!==void 0&&s>65535&&(r-=1),t.substring(0,r)+n}return t}function ka(e,t,n,r){if(e===void 0){const i=n&&` (present at path ${n} in original object ${gs(t)})`;throw new Error(`undefined is not a valid Convex value${i}. To learn about Convex's supported types, see https://docs.convex.dev/using/types.`)}if(e===null)return e;if(typeof e=="bigint"){if(e<Vr||ml<e)throw new Error(`BigInt ${e} does not fit into a 64-bit signed integer.`);return{$integer:Gw(e)}}if(typeof e=="number")if(Vh(e)){const i=new ArrayBuffer(8);return new DataView(i).setFloat64(0,e,Bh),{$float:As(new Uint8Array(i))}}else return e;if(typeof e=="boolean"||typeof e=="string")return e;if(e instanceof ArrayBuffer)return{$bytes:As(new Uint8Array(e))};if(Array.isArray(e))return e.map((i,a)=>ka(i,t,n+`[${a}]`));if(e instanceof Set)throw new Error(Ii(n,"Set",[...e],t));if(e instanceof Map)throw new Error(Ii(n,"Map",[...e],t));if(!Uh(e)){const i=e?.constructor?.name,a=i?`${i} `:"";throw new Error(Ii(n,a,e,t))}const s={},o=Object.entries(e);o.sort(([i,a],[l,u])=>i===l?0:i<l?-1:1);for(const[i,a]of o)a!==void 0&&(Hh(i),s[i]=ka(a,t,n+`.${i}`));return s}function Ii(e,t,n,r){return e?`${t}${gs(n)} is not a supported Convex type (present at path ${e} in original object ${gs(r)}). To learn about Convex's supported types, see https://docs.convex.dev/using/types.`:`${t}${gs(n)} is not a supported Convex type.`}function ir(e){return ka(e,e,"")}var zw=Object.defineProperty,Jw=(e,t,n)=>t in e?zw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mi=(e,t,n)=>Jw(e,typeof t!="symbol"?t+"":t,n),uu,fu;const Xw=Symbol.for("ConvexError");class Ta extends(fu=Error,uu=Xw,fu){constructor(t){super(typeof t=="string"?t:gs(t)),Mi(this,"name","ConvexError"),Mi(this,"data"),Mi(this,uu,!0),this.data=t}}const jh=()=>Array.from({length:4},()=>0);jh();jh();var Zw=Object.defineProperty,e0=(e,t,n)=>t in e?Zw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,du=(e,t,n)=>e0(e,typeof t!="symbol"?t+"":t,n);const t0="color:rgb(0, 145, 255)";function qh(e){switch(e){case"query":return"Q";case"mutation":return"M";case"action":return"A";case"any":return"?"}}class Wh{constructor(t){du(this,"_onLogLineFuncs"),du(this,"_verbose"),this._onLogLineFuncs={},this._verbose=t.verbose}addLogLineListener(t){let n=Math.random().toString(36).substring(2,15);for(let r=0;r<10&&this._onLogLineFuncs[n]!==void 0;r++)n=Math.random().toString(36).substring(2,15);return this._onLogLineFuncs[n]=t,()=>{delete this._onLogLineFuncs[n]}}logVerbose(...t){if(this._verbose)for(const n of Object.values(this._onLogLineFuncs))n("debug",`${new Date().toISOString()}`,...t)}log(...t){for(const n of Object.values(this._onLogLineFuncs))n("info",...t)}warn(...t){for(const n of Object.values(this._onLogLineFuncs))n("warn",...t)}error(...t){for(const n of Object.values(this._onLogLineFuncs))n("error",...t)}}function n0(e){const t=new Wh(e);return t.addLogLineListener((n,...r)=>{switch(n){case"debug":break;case"info":break;case"warn":break;case"error":break;default:}}),t}function r0(e){return new Wh(e)}
27function Ao(e,t,n,r,s){const o=qh(n);if(typeof s=="object"&&(s=`ConvexError ${JSON.stringify(s.errorData,null,2)}`),t==="info"){const i=s.match(/^\[.*?\] /);if(i===null){e.error(`[CONVEX ${o}(${r})] Could not parse console.log`);return}const a=s.slice(1,i[0].length-2),l=s.slice(i[0].length);e.log(`%c[CONVEX ${o}(${r})] [${a}]`,t0,l)}else e.error(`[CONVEX ${o}(${r})] ${s}`)}function s0(e,t){const n=`[CONVEX FATAL ERROR] ${t}`;return e.error(n),new Error(n)}function wr(e,t,n){return`[CONVEX ${qh(e)}(${t})] ${n.errorMessage}
28  Called by client`}function Ra(e,t){return t.data=e.errorData,t}function ar(e){const t=e.split(":");let n,r;return t.length===1?(n=t[0],r="default"):(n=t.slice(0,t.length-1).join(":"),r=t[t.length-1]),n.endsWith(".js")&&(n=n.slice(0,-3)),`${n}:${r}`}function nr(e,t){return JSON.stringify({udfPath:ar(e),args:ir(t)})}function hu(e,t,n){const{initialNumItems:r,id:s}=n;return JSON.stringify({type:"paginated",udfPath:ar(e),args:ir(t),options:ir({initialNumItems:r,id:s})})}function o0(e){return JSON.parse(e).type==="paginated"}var i0=Object.defineProperty,a0=(e,t,n)=>t in e?i0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qt=(e,t,n)=>a0(e,typeof t!="symbol"?t+"":t,n);class l0{constructor(){qt(this,"nextQueryId"),qt(this,"querySetVersion"),qt(this,"querySet"),qt(this,"queryIdToToken"),qt(this,"identityVersion"),qt(this,"auth"),qt(this,"outstandingQueriesOlderThanRestart"),qt(this,"outstandingAuthOlderThanRestart"),qt(this,"paused"),qt(this,"pendingQuerySetModifications"),this.nextQueryId=0,this.querySetVersion=0,this.identityVersion=0,this.querySet=new Map,this.queryIdToToken=new Map,this.outstandingQueriesOlderThanRestart=new Set,this.outstandingAuthOlderThanRestart=!1,this.paused=!1,this.pendingQuerySetModifications=new Map}hasSyncedPastLastReconnect(){return this.outstandingQueriesOlderThanRestart.size===0&&!this.outstandingAuthOlderThanRestart}markAuthCompletion(){this.outstandingAuthOlderThanRestart=!1}subscribe(t,n,r,s){const o=ar(t),i=nr(o,n),a=this.querySet.get(i);if(a!==void 0)return a.numSubscribers+=1,{queryToken:i,modification:null,unsubscribe:()=>this.removeSubscriber(i)};{const l=this.nextQueryId++,u={id:l,canonicalizedUdfPath:o,args:n,numSubscribers:1,journal:r,componentPath:s};this.querySet.set(i,u),this.queryIdToToken.set(l,i);const c=this.querySetVersion,f=this.querySetVersion+1,d={type:"Add",queryId:l,udfPath:o,args:[ir(n)],journal:r,componentPath:s};return this.paused?this.pendingQuerySetModifications.set(l,d):this.querySetVersion=f,{queryToken:i,modification:{type:"ModifyQuerySet",baseVersion:c,newVersion:f,modifications:[d]},unsubscribe:()=>this.removeSubscriber(i)}}}transition(t){for(const n of t.modifications)switch(n.type){case"QueryUpdated":case"QueryFailed":{this.outstandingQueriesOlderThanRestart.delete(n.queryId);const r=n.journal;if(r!==void 0){const s=this.queryIdToToken.get(n.queryId);s!==void 0&&(this.querySet.get(s).journal=r)}break}case"QueryRemoved":{this.outstandingQueriesOlderThanRestart.delete(n.queryId);break}default:throw new Error(`Invalid modification ${n.type}`)}}queryId(t,n){const r=ar(t),s=nr(r,n),o=this.querySet.get(s);return o!==void 0?o.id:null}isCurrentOrNewerAuthVersion(t){return t>=this.identityVersion}getAuth(){return this.auth}setAuth(t){this.auth={tokenType:"User",value:t};const n=this.identityVersion;return this.paused||(this.identityVersion=n+1),{type:"Authenticate",baseVersion:n,...this.auth}}setAdminAuth(t,n){const r={tokenType:"Admin",value:t,impersonating:n};this.auth=r;const s=this.identityVersion;return this.paused||(this.identityVersion=s+1),{type:"Authenticate",baseVersion:s,...r}}clearAuth(){this.auth=void 0,this.markAuthCompletion();const t=this.identityVersion;return this.paused||(this.identityVersion=t+1),{type:"Authenticate",tokenType:"None",baseVersion:t}}hasAuth(){return!!this.auth}isNewAuth(t){return this.auth?.value!==t}queryPath(t){const n=this.queryIdToToken.get(t);return n?this.querySet.get(n).canonicalizedUdfPath:null}queryArgs(t){const n=this.queryIdToToken.get(t);return n?this.querySet.get(n).args:null}queryToken(t){return this.queryIdToToken.get(t)??null}queryJournal(t){return this.querySet.get(t)?.journal}restart(t){this.unpause(),this.outstandingQueriesOlderThanRestart.clear();const n=[];for(const o of this.querySet.values()){const i={type:"Add",queryId:o.id,udfPath:o.canonicalizedUdfPath,args:[ir(o.args)],journal:o.journal,componentPath:o.componentPath};n.push(i),t.has(o.id)||this.outstandingQueriesOlderThanRestart.add(o.id)}this.querySetVersion=1;const r={type:"ModifyQuerySet",baseVersion:0,newVersion:1,modifications:n};if(!this.auth)return this.identityVersion=0,[r,void 0];this.outstandingAuthOlderThanRestart=!0;const s={type:"Authenticate",baseVersion:0,...this.auth};return this.identityVersion=1,[r,s]}pause(){this.paused=!0}resume(){const t=this.pendingQuerySetModifications.size>0?{type:"ModifyQuerySet",baseVersion:this.querySetVersion,newVersion:++this.querySetVersion,modifications:Array.from(this.pendingQuerySetModifications.values())}:void 0,n=this.auth!==void 0?{type:"Authenticate",baseVersion:this.identityVersion++,...this.auth}:void 0;return this.unpause(),[t,n]}unpause(){this.paused=!1,this.pendingQuerySetModifications.clear()}removeSubscriber(t){const n=this.querySet.get(t);if(n.numSubscribers>1)return n.numSubscribers-=1,null;{this.querySet.delete(t),this.queryIdToToken.delete(n.id),this.outstandingQueriesOlderThanRestart.delete(n.id);const r=this.querySetVersion,s=this.querySetVersion+1,o={type:"Remove",queryId:n.id};return this.paused?this.pendingQuerySetModifications.has(n.id)?this.pendingQuerySetModifications.delete(n.id):this.pendingQuerySetModifications.set(n.id,o):this.querySetVersion=s,{type:"ModifyQuerySet",baseVersion:r,newVersion:s,modifications:[o]}}}}var c0=Object.defineProperty,u0=(e,t,n)=>t in e?c0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gs=(e,t,n)=>u0(e,typeof t!="symbol"?t+"":t,n);class f0{constructor(t,n){this.logger=t,this.markConnectionStateDirty=n,Gs(this,"inflightRequests"),Gs(this,"requestsOlderThanRestart"),Gs(this,"inflightMutationsCount",0),Gs(this,"inflightActionsCount",0),this.inflightRequests=new Map,this.requestsOlderThanRestart=new Set}request(t,n){const r=new Promise(s=>{const o=n?"Requested":"NotSent";this.inflightRequests.set(t.requestId,{message:t,status:{status:o,requestedAt:new Date,onResult:s}}),t.type==="Mutation"?this.inflightMutationsCount++:t.type==="Action"&&this.inflightActionsCount++});return this.markConnectionStateDirty(),r}onResponse(t){const n=this.inflightRequests.get(t.requestId);if(n===void 0||n.status.status==="Completed")return null;const r=n.message.type==="Mutation"?"mutation":"action",s=n.message.udfPath;for(const l of t.logLines)Ao(this.logger,"info",r,s,l);const o=n.status;let i,a;if(t.success)i={success:!0,logLines:t.logLines,value:Hr(t.result)},a=()=>o.onResult(i);else{const l=t.result,{errorData:u}=t;Ao(this.logger,"error",r,s,l),i={success:!1,errorMessage:l,errorData:u!==void 0?Hr(u):void 0,logLines:t.logLines},a=()=>o.onResult(i)}return t.type==="ActionResponse"||!t.success?(a(),this.inflightRequests.delete(t.requestId),this.requestsOlderThanRestart.delete(t.requestId),n.message.type==="Action"?this.inflightActionsCount--:n.message.type==="Mutation"&&this.inflightMutationsCount--,this.markConnectionStateDirty(),{requestId:t.requestId,result:i}
28):(n.status={status:"Completed",result:i,ts:t.ts,onResolve:a},null)}removeCompleted(t){const n=new Map;for(const[r,s]of this.inflightRequests.entries()){const o=s.status;o.status==="Completed"&&o.ts.lessThanOrEqual(t)&&(o.onResolve(),n.set(r,o.result),s.message.type==="Mutation"?this.inflightMutationsCount--:s.message.type==="Action"&&this.inflightActionsCount--,this.inflightRequests.delete(r),this.requestsOlderThanRestart.delete(r))}return n.size>0&&this.markConnectionStateDirty(),n}restart(){this.requestsOlderThanRestart=new Set(this.inflightRequests.keys());const t=[];for(const[n,r]of this.inflightRequests){if(r.status.status==="NotSent"){r.status.status="Requested",t.push(r.message);continue}if(r.message.type==="Mutation")t.push(r.message);else if(r.message.type==="Action"){if(this.inflightRequests.delete(n),this.requestsOlderThanRestart.delete(n),this.inflightActionsCount--,r.status.status==="Completed")throw new Error("Action should never be in 'Completed' state");r.status.onResult({success:!1,errorMessage:"Connection lost while action was in flight",logLines:[]})}}return this.markConnectionStateDirty(),t}resume(){const t=[];for(const[,n]of this.inflightRequests)if(n.status.status==="NotSent"){n.status.status="Requested",t.push(n.message);continue}return t}hasIncompleteRequests(){for(const t of this.inflightRequests.values())if(t.status.status==="Requested")return!0;return!1}hasInflightRequests(){return this.inflightRequests.size>0}hasSyncedPastLastReconnect(){return this.requestsOlderThanRestart.size===0}timeOfOldestInflightRequest(){if(this.inflightRequests.size===0)return null;let t=Date.now();for(const n of this.inflightRequests.values())n.status.status!=="Completed"&&n.status.requestedAt.getTime()<t&&(t=n.status.requestedAt.getTime());return new Date(t)}inflightMutations(){return this.inflightMutationsCount}inflightActions(){return this.inflightActionsCount}}const Lo=Symbol.for("functionName"),d0=Symbol.for("toReferencePath");function h0(e){return e[d0]??null}function p0(e){return e.startsWith("function://")}function g0(e){let t;if(typeof e=="string")p0(e)?t={functionHandle:e}:t={name:e};else if(e[Lo])t={name:e[Lo]};else{const n=h0(e);if(!n)throw new Error(`${e} is not a functionReference`);t={reference:n}}return t}function It(e){const t=g0(e);if(t.name===void 0)throw t.functionHandle!==void 0?new Error(`Expected function reference like "api.file.func" or "internal.file.func", but received function handle ${t.functionHandle}`):t.reference!==void 0?new Error(`Expected function reference in the current component like "api.file.func" or "internal.file.func", but received reference ${t.reference}`):new Error(`Expected function reference like "api.file.func" or "internal.file.func", but received ${JSON.stringify(t)}`);if(typeof e=="string")return e;const n=e[Lo];if(!n)throw new Error(`${e} is not a functionReference`);return n}function Qh(e=[]){const t={get(n,r){if(typeof r=="string"){const s=[...e,r];return Qh(s)}else if(r===Lo){if(e.length<2){const i=["api",...e].join(".");throw new Error(`API path is expected to be of the form \`api.moduleName.functionName\`. Found: \`${i}\``)}const s=e.slice(0,-1).join("/"),o=e[e.length-1];return o==="default"?s:s+":"+o}else return r===Symbol.toStringTag?"FunctionReference":void 0}};return new Proxy({},t)}const m0=Qh();var y0=Object.defineProperty,_0=(e,t,n)=>t in e?y0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Oo=(e,t,n)=>_0(e,typeof t!="symbol"?t+"":t,n);class Ls{constructor(t){Oo(this,"queryResults"),Oo(this,"modifiedQueries"),this.queryResults=t,this.modifiedQueries=[]}getQuery(t,...n){const r=An(n[0]),s=It(t),o=this.queryResults.get(nr(s,r));if(o!==void 0)return Ls.queryValue(o.result)}getAllQueries(t){const n=[],r=It(t);for(const s of this.queryResults.values())s.udfPath===ar(r)&&n.push({args:s.args,value:Ls.queryValue(s.result)});return n}setQuery(t,n,r){const s=An(n),o=It(t),i=nr(o,s);let a;r===void 0?a=void 0:a={success:!0,value:r,logLines:[]};const l={udfPath:o,args:s,result:a};this.queryResults.set(i,l),this.modifiedQueries.push(i)}static queryValue(t){if(t!==void 0)return t.success?t.value:void 0}}class b0{constructor(){Oo(this,"queryResults"),Oo(this,"optimisticUpdates"),this.queryResults=new Map,this.optimisticUpdates=[]}ingestQueryResultsFromServer(t,n){this.optimisticUpdates=this.optimisticUpdates.filter(i=>!n.has(i.mutationId));const r=this.queryResults;this.queryResults=new Map(t);const s=new Ls(this.queryResults);for(const i of this.optimisticUpdates)i.update(s);const o=[];for(const[i,a]of this.queryResults){const l=r.get(i);(l===void 0||l.result!==a.result)&&o.push(i)}return o}
28applyOptimisticUpdate(t,n){this.optimisticUpdates.push({update:t,mutationId:n});const r=new Ls(this.queryResults);return t(r),r.modifiedQueries}rawQueryResult(t){const n=this.queryResults.get(t);if(n!==void 0)return n.result}queryResult(t){const n=this.queryResults.get(t);if(n===void 0)return;const r=n.result;if(r!==void 0){if(r.success)return r.value;throw r.errorData!==void 0?Ra(r,new Ta(wr("query",n.udfPath,r))):new Error(wr("query",n.udfPath,r))}}hasQueryResult(t){return this.queryResults.get(t)!==void 0}queryLogs(t){return this.queryResults.get(t)?.result?.logLines}}var v0=Object.defineProperty,w0=(e,t,n)=>t in e?v0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ni=(e,t,n)=>w0(e,typeof t!="symbol"?t+"":t,n);class ht{constructor(t,n){Ni(this,"low"),Ni(this,"high"),Ni(this,"__isUnsignedLong__"),this.low=t|0,this.high=n|0,this.__isUnsignedLong__=!0}static isLong(t){return(t&&t.__isUnsignedLong__)===!0}static fromBytesLE(t){return new ht(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24)}toBytesLE(){const t=this.high,n=this.low;return[n&255,n>>>8&255,n>>>16&255,n>>>24,t&255,t>>>8&255,t>>>16&255,t>>>24]}static fromNumber(t){return isNaN(t)||t<0?pu:t>=S0?E0:new ht(t%ms|0,t/ms|0)}toString(){return(BigInt(this.high)*BigInt(ms)+BigInt(this.low)).toString()}equals(t){return ht.isLong(t)||(t=ht.fromValue(t)),this.high>>>31===1&&t.high>>>31===1?!1:this.high===t.high&&this.low===t.low}notEquals(t){return!this.equals(t)}comp(t){return ht.isLong(t)||(t=ht.fromValue(t)),this.equals(t)?0:t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1}lessThanOrEqual(t){return this.comp(t)<=0}static fromValue(t){return typeof t=="number"?ht.fromNumber(t):new ht(t.low,t.high)}}const pu=new ht(0,0),gu=65536,ms=gu*gu,S0=ms*ms,E0=new ht(-1,-1);var C0=Object.defineProperty,k0=(e,t,n)=>t in e?C0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ys=(e,t,n)=>k0(e,typeof t!="symbol"?t+"":t,n);class mu{constructor(t,n){Ys(this,"version"),Ys(this,"remoteQuerySet"),Ys(this,"queryPath"),Ys(this,"logger"),this.version={querySet:0,ts:ht.fromNumber(0),identity:0},this.remoteQuerySet=new Map,this.queryPath=t,this.logger=n}transition(t){const n=t.startVersion;if(this.version.querySet!==n.querySet||this.version.ts.notEquals(n.ts)||this.version.identity!==n.identity)throw new Error(`Invalid start version: ${n.ts.toString()}:${n.querySet}:${n.identity}, transitioning from ${this.version.ts.toString()}:${this.version.querySet}:${this.version.identity}`);for(const r of t.modifications)switch(r.type){case"QueryUpdated":{const s=this.queryPath(r.queryId);if(s)for(const i of r.logLines)Ao(this.logger,"info","query",s,i);const o=Hr(r.value??null);this.remoteQuerySet.set(r.queryId,{success:!0,value:o,logLines:r.logLines});break}case"QueryFailed":{const s=this.queryPath(r.queryId);if(s)for(const i of r.logLines)Ao(this.logger,"info","query",s,i);const{errorData:o}=r;this.remoteQuerySet.set(r.queryId,{success:!1,errorMessage:r.errorMessage,errorData:o!==void 0?Hr(o):void 0,logLines:r.logLines});break}case"QueryRemoved":{this.remoteQuerySet.delete(r.queryId);break}default:throw new Error(`Invalid modification ${r.type}`)}this.version=t.endVersion}remoteQueryResults(){return this.remoteQuerySet}timestamp(){return this.version.ts}}function $i(e){const t=Rs(e);return ht.fromBytesLE(Array.from(t))}function T0(e){const t=new Uint8Array(e.toBytesLE());return As(t)}function yu(e){switch(e.type){case"FatalError":case"AuthError":case"ActionResponse":case"TransitionChunk":case"Ping":return{...e};case"MutationResponse":return e.success?{...e,ts:$i(e.ts)}:{...e};case"Transition":return{...e,startVersion:{...e.startVersion,ts:$i(e.startVersion.ts)},endVersion:{...e.endVersion,ts:$i(e.endVersion.ts)}}}}function R0(e){switch(e.type){case"Authenticate":case"ModifyQuerySet":case"Mutation":case"Action":case"Event":return{...e};case"Connect":return e.maxObservedTimestamp!==void 0?{...e,maxObservedTimestamp:T0(e.maxObservedTimestamp)}:{...e,maxObservedTimestamp:void 0}}}var A0=Object.defineProperty,L0=(e,t,n)=>t in e?A0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,He=(e,t,n)=>L0(e,typeof t!="symbol"?t+"":t,n);const O0=1e3,P0=1001,x0=1005,I0=4040;let ao;function _r(){return ao===void 0&&(ao=Date.now()),typeof performance>"u"||!performance.now?Date.now():Math.round(ao+performance.now())}function _u(){return`t=${Math.round((_r()-ao)/100)/10}s`}const Kh={InternalServerError:{timeout:1e3},SubscriptionsWorkerFullError:{timeout:3e3},TooManyConcurrentRequests:{timeout:3e3},CommitterFullError:{timeout:3e3},AwsTooManyRequestsException:{timeout:3e3},ExecuteFullError:{timeout:3e3},SystemTimeoutError:{timeout:3e3},ExpiredInQueue:{timeout:3e3},VectorIndexesUnavailable:{timeout:1e3},SearchIndexesUnavailable:{timeout:1e3},TableSummariesUnavailable:{timeout:1e3},VectorIndexTooLarge:{timeout:3e3},SearchIndexTooLarge:{timeout:3e3},TooManyWritesInTimePeriod:{timeout:3e3}};function M0(e){if(e===void 0)return"Unknown";
28for(const t of Object.keys(Kh))if(e.startsWith(t))return t;return"Unknown"}class N0{constructor(t,n,r,s,o,i){this.markConnectionStateDirty=o,this.debug=i,He(this,"socket"),He(this,"connectionCount"),He(this,"_hasEverConnected",!1),He(this,"lastCloseReason"),He(this,"transitionChunkBuffer",null),He(this,"defaultInitialBackoff"),He(this,"maxBackoff"),He(this,"retries"),He(this,"serverInactivityThreshold"),He(this,"reconnectDueToServerInactivityTimeout"),He(this,"scheduledReconnect",null),He(this,"networkOnlineHandler",null),He(this,"pendingNetworkRecoveryInfo",null),He(this,"uri"),He(this,"onOpen"),He(this,"onResume"),He(this,"onMessage"),He(this,"webSocketConstructor"),He(this,"logger"),He(this,"onServerDisconnectError"),this.webSocketConstructor=r,this.socket={state:"disconnected"},this.connectionCount=0,this.lastCloseReason="InitialConnect",this.defaultInitialBackoff=1e3,this.maxBackoff=16e3,this.retries=0,this.serverInactivityThreshold=6e4,this.reconnectDueToServerInactivityTimeout=null,this.uri=t,this.onOpen=n.onOpen,this.onResume=n.onResume,this.onMessage=n.onMessage,this.onServerDisconnectError=n.onServerDisconnectError,this.logger=s,this.setupNetworkListener(),this.connect()}setSocketState(t){this.socket=t,this._logVerbose(`socket state changed: ${this.socket.state}, paused: ${"paused"in this.socket?this.socket.paused:void 0}`),this.markConnectionStateDirty()}setupNetworkListener(){typeof window>"u"||typeof window.addEventListener!="function"||this.networkOnlineHandler===null&&(this.networkOnlineHandler=()=>{this._logVerbose("network online event detected"),this.tryReconnectImmediately()},window.addEventListener("online",this.networkOnlineHandler),this._logVerbose("network online event listener registered"))}cleanupNetworkListener(){this.networkOnlineHandler&&typeof window<"u"&&typeof window.removeEventListener=="function"&&(window.removeEventListener("online",this.networkOnlineHandler),this.networkOnlineHandler=null,this._logVerbose("network online event listener removed"))}assembleTransition(t){if(t.partNumber<0||t.partNumber>=t.totalParts||t.totalParts===0||this.transitionChunkBuffer&&(this.transitionChunkBuffer.totalParts!==t.totalParts||this.transitionChunkBuffer.transitionId!==t.transitionId))throw this.transitionChunkBuffer=null,new Error("Invalid TransitionChunk");if(this.transitionChunkBuffer===null&&(this.transitionChunkBuffer={chunks:[],totalParts:t.totalParts,transitionId:t.transitionId}),t.partNumber!==this.transitionChunkBuffer.chunks.length){const n=this.transitionChunkBuffer.chunks.length;throw this.transitionChunkBuffer=null,new Error(`TransitionChunk received out of order: expected part ${n}, got ${t.partNumber}`)}if(this.transitionChunkBuffer.chunks.push(t.chunk),this.transitionChunkBuffer.chunks.length===t.totalParts){const n=this.transitionChunkBuffer.chunks.join("");this.transitionChunkBuffer=null;const r=yu(JSON.parse(n));if(r.type!=="Transition")throw new Error(`Expected Transition, got ${r.type} after assembling chunks`);return r}return null}connect(){if(this.socket.state==="terminated")return;if(this.socket.state!=="disconnected"&&this.socket.state!=="stopped")throw new Error("Didn't start connection from disconnected state: "+this.socket.state);const t=new this.webSocketConstructor(this.uri);this._logVerbose("constructed WebSocket"),this.setSocketState({state:"connecting",ws:t,paused:"no"}),this.resetServerInactivityTimeout(),t.onopen=()=>{if(this.logger.logVerbose("begin ws.onopen"),this.socket.state!=="connecting")throw new Error("onopen called with socket not in connecting state");if(this.setSocketState({state:"ready",ws:t,paused:this.socket.paused==="yes"?"uninitialized":"no"}),this.resetServerInactivityTimeout(),this.socket.paused==="no"&&(this._hasEverConnected=!0,this.onOpen({connectionCount:this.connectionCount,lastCloseReason:this.lastCloseReason,clientTs:_r()})),this.lastCloseReason!=="InitialConnect"&&(this.lastCloseReason?this.logger.log("WebSocket reconnected at",_u(),"after disconnect due to",this.lastCloseReason):this.logger.log("WebSocket reconnected at",_u())),this.connectionCount+=1,this.lastCloseReason=null,this.pendingNetworkRecoveryInfo!==null){const{timeSavedMs:n}=this.pendingNetworkRecoveryInfo;this.pendingNetworkRecoveryInfo=null,this.sendMessage({type:"Event",eventType:"NetworkRecoveryReconnect",event:{timeSavedMs:n}}),this.logger.log(`Network recovery reconnect saved ~${Math.round(n/1e3)}s of waiting`)}},t.onerror=n=>{this.transitionChunkBuffer=null;const r=n.message;r&&this.logger.log(`WebSocket error message: ${r}`)},t.onmessage=n=>{this.resetServerInactivityTimeout();const r=n.data.length;let s=yu(JSON.parse(n.data));if(this._logVerbose(`received ws message with type ${s.type}`),s.type==="Ping")return;if(s.type==="TransitionChunk"){const i=this.assembleTransition(s);if(!i)return;s=i,this._logVerbose(`assembled full ws message of type ${s.type}`)}this.transitionChunkBuffer!==null&&(this.transitionChunkBuffer=null,this.logger.log(`Received unexpected ${s.type} while buffering TransitionChunks`)),s.type==="Transition"&&this.reportLargeTransition({messageLength:r,transition:s}),this.onMessage(s).hasSyncedPastLastReconnect&&(this.retries=0,this.markConnectionStateDirty())},t.onclose=n=>{if(this._logVerbose("begin ws.onclose"),this.transitionChunkBuffer=null,this.lastCloseReason===null&&(this.lastCloseReason=n.reason||`closed with code ${n.code}`),n.code!==O0&&n.code!==P0&&n.code!==x0&&n.code!==I0){let s=`WebSocket closed with code ${n.code}`;n.reason&&(s+=`: ${n.reason}`),this.logger.log(s),this.onServerDisconnectError&&n.reason&&this.onServerDisconnectError(s)}const r=M0(n.reason);this.scheduleReconnect(r)}}socketState(){return this.socket.state}sendMessage(t){const n={type:t.type,...t.type==="Authenticate"&&t.tokenType==="User"?{value:`...${t.value.slice(-7)}`}:{}};if(this.socket.state==="ready"&&this.socket.paused==="no"){const r=R0(t),s=JSON.stringify(r);let o=!1;try{this.socket.ws.send(s),o=!0}catch(i){this.logger.log(`Failed to send message on WebSocket, reconnecting: ${i}`),this.closeAndReconnect("FailedToSendMessage")}return this._logVerbose(`${o?"sent":"failed to send"} message with type ${t.type}: ${JSON.stringify(n)}`),!0}return this._logVerbose(`message not sent (socket state: ${this.socket.state}, paused: ${"paused"in this.socket?this.socket.paused:void 0}): ${JSON.stringify(n)}`),!1}resetServerInactivityTimeout(){this.socket.state!=="terminated"&&(this.reconnectDueToServerInactivityTimeout!==null&&(clearTimeout(this.reconnectDueToServerInactivityTimeout),this.reconnectDueToServerInactivityTimeout=null),this.reconnectDueToServerInactivityTimeout=setTimeout(()=>{this.closeAndReconnect("InactiveServer")},this.serverInactivityThreshold))}scheduleReconnect(t){this.scheduledReconnect&&(clearTimeout(this.scheduledReconnect.timeout),this.scheduledReconnect=null),this.socket={state:"disconnected"};const n=this.nextBackoff(t);this.markConnectionStateDirty(),this.logger.log(`Attempting reconnect in ${Math.round(n)}ms`);const r=_r(),s=setTimeout(()=>{this.scheduledReconnect?.timeout===s&&(this.scheduledReconnect=null,this.connect())},n);this.scheduledReconnect={timeout:s,scheduledAt:r,backoffMs:n}}closeAndReconnect(t){switch(this._logVerbose(`begin closeAndReconnect with reason ${t}`),this.socket.state){case"disconnected":case"terminated":case"stopped":return;case"connecting":case"ready":{this.lastCloseReason=t,this.close(),this.scheduleReconnect("client");return}default:this.socket}}close(){switch(this.transitionChunkBuffer=null,this.socket.state){case"disconnected":case"terminated":case"stopped":return Promise.resolve();case"connecting":{const t=this.socket.ws;return t.onmessage=n=>{this._logVerbose("Ignoring message received after close")},new Promise(n=>{t.onclose=()=>{this._logVerbose("Closed after connecting"),n()},t.onopen=()=>{this._logVerbose("Opened after connecting"),t.close()}})}case"ready":{this._logVerbose("ws.close called");const t=this.socket.ws;t.onmessage=r=>{this._logVerbose("Ignoring message received after close")};const n=new Promise(r=>{t.onclose=()=>{r()}});return t.close(),n}default:return this.socket,Promise.resolve()}}terminate(){switch(this.reconnectDueToServerInactivityTimeout&&clearTimeout(this.reconnectDueToServerInactivityTimeout),this.scheduledReconnect&&(clearTimeout(this.scheduledReconnect.timeout),this.scheduledReconnect=null),this.cleanupNetworkListener(),this.socket.state){case"terminated":case"stopped":case"disconnected":case"connecting":case"ready":{const t=this.close();return this.setSocketState({state:"terminated"}),t}default:throw this.socket,new Error(`Invalid websocket state: ${this.socket.state}`)}}stop(){switch(this.socket.state){case"terminated":return Promise.resolve();case"connecting":case"stopped":case"disconnected":case"ready":{this.cleanupNetworkListener();const t=this.close();return this.socket={state:"stopped"},t}default:return this.socket,Promise.resolve()}}tryRestart(){switch(this.socket.state){case"stopped":break;case"terminated":case"connecting":case"ready":case"disconnected":this.logger.logVerbose("Restart called without stopping first");return;default:this.socket}this.setupNetworkListener(),this.connect()}pause(){switch(this.socket.state){case"disconnected":case"stopped":case"terminated":return;case"connecting":case"ready":{this.socket={...this.socket,paused:"yes"};return}default:{this.socket;return}}}tryReconnectImmediately(){if(this._logVerbose("tryReconnectImmediately called"),this.socket.state!=="disconnected"){this._logVerbose(`tryReconnectImmediately called but socket state is ${this.socket.state}, no action taken`);return}let t=null;if(this.scheduledReconnect){const n=_r()-this.scheduledReconnect.scheduledAt;t=Math.max(0,this.scheduledReconnect.backoffMs-n),this._logVerbose(`would have waited ${Math.round(t)}ms more (backoff was ${Math.round(this.scheduledReconnect.backoffMs)}ms, elapsed ${Math.round(n)}ms)`),clearTimeout(this.scheduledReconnect.timeout),this.scheduledReconnect=null,this._logVerbose("canceled scheduled reconnect")}this.logger.log("Network recovery detected, reconnecting immediately"),this.pendingNetworkRecoveryInfo=t!==null?{timeSavedMs:t}:null,this.connect()}resume(){switch(this.socket.state){case"connecting":this.socket={...this.socket,paused:"no"};return;case"ready":this.socket.paused==="uninitialized"?(this.socket={...this.socket,paused:"no"},this.onOpen({connectionCount:this.connectionCount,lastCloseReason:this.lastCloseReason,clientTs:_r()})):this.socket.paused==="yes"&&(this.socket={...this.socket,paused:"no"},this.onResume());return;case"terminated":case"stopped":case"disconnected":return;default:this.socket}this.connect()}connectionState(){return{isConnected:this.socket.state==="ready",hasEverConnected:this._hasEverConnected,connectionCount:this.connectionCount,connectionRetries:this.retries}}_logVerbose(t){this.logger.logVerbose(t)}nextBackoff(t){const r=(t==="client"?100:t==="Unknown"?this.defaultInitialBackoff:Kh[t].timeout)*Math.pow(2,this.retries);this.retries+=1;const s=Math.min(r,this.maxBackoff),o=s*(Math.random()-.5);return s+o}reportLargeTransition({transition:t,messageLength:n}){if(t.clientClockSkew===void 0||t.serverTs===void 0)return;const r=_r()-t.clientClockSkew-t.serverTs/1e6,s=`${Math.round(r)}ms`,o=`${Math.round(n/1e4)/100}MB`,i=n/(r/1e3),a=`${Math.round(i/1e4)/100}MB per second`;this._logVerbose(`received ${o} transition in ${s} at ${a}`),n>2e7?this.logger.log(`received query results totaling more that 20MB (${o}
28) which will take a long time to download on slower connections`):r>2e4&&this.logger.log(`received query results totaling ${o} which took more than 20s to arrive (${s})`),this.debug&&this.sendMessage({type:"Event",eventType:"ClientReceivedTransition",event:{transitionTransitTime:r,messageLength:n}})}}function $0(){return D0()}function D0(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}class ss extends Error{}ss.prototype.name="InvalidTokenError";function F0(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function U0(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return F0(t)}catch{return atob(t)}}function Gh(e,t){if(typeof e!="string")throw new ss("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,r=e.split(".")[n];if(typeof r!="string")throw new ss(`Invalid token specified: missing part #${n+1}`);let s;try{s=U0(r)}catch(o){throw new ss(`Invalid token specified: invalid base64 for part #${n+1} (${o.message})`)}try{return JSON.parse(s)}catch(o){throw new ss(`Invalid token specified: invalid json for part #${n+1} (${o.message})`)}}var B0=Object.defineProperty,V0=(e,t,n)=>t in e?B0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,St=(e,t,n)=>V0(e,typeof t!="symbol"?t+"":t,n);const H0=480*60*60*1e3,bu=2;class j0{constructor(t,n,r){St(this,"authState",{state:"noAuth"}),St(this,"configVersion",0),St(this,"syncState"),St(this,"authenticate"),St(this,"stopSocket"),St(this,"tryRestartSocket"),St(this,"pauseSocket"),St(this,"resumeSocket"),St(this,"clearAuth"),St(this,"logger"),St(this,"refreshTokenLeewaySeconds"),St(this,"tokenConfirmationAttempts",0),this.syncState=t,this.authenticate=n.authenticate,this.stopSocket=n.stopSocket,this.tryRestartSocket=n.tryRestartSocket,this.pauseSocket=n.pauseSocket,this.resumeSocket=n.resumeSocket,this.clearAuth=n.clearAuth,this.logger=r.logger,this.refreshTokenLeewaySeconds=r.refreshTokenLeewaySeconds}async setConfig(t,n){this.resetAuthState(),this._logVerbose("pausing WS for auth token fetch"),this.pauseSocket();const r=await this.fetchTokenAndGuardAgainstRace(t,{forceRefreshToken:!1});r.isFromOutdatedConfig||(r.value?(this.setAuthState({state:"waitingForServerConfirmationOfCachedToken",config:{fetchToken:t,onAuthChange:n},hasRetried:!1}),this.authenticate(r.value)):(this.setAuthState({state:"initialRefetch",config:{fetchToken:t,onAuthChange:n}}),await this.refetchToken()),this._logVerbose("resuming WS after auth token fetch"),this.resumeSocket())}onTransition(t){if(this.syncState.isCurrentOrNewerAuthVersion(t.endVersion.identity)&&!(t.endVersion.identity<=t.startVersion.identity)){if(this.authState.state==="waitingForServerConfirmationOfCachedToken"){this._logVerbose("server confirmed auth token is valid"),this.refetchToken(),this.authState.config.onAuthChange(!0);return}this.authState.state==="waitingForServerConfirmationOfFreshToken"&&(this._logVerbose("server confirmed new auth token is valid"),this.scheduleTokenRefetch(this.authState.token),this.tokenConfirmationAttempts=0,this.authState.hadAuth||this.authState.config.onAuthChange(!0))}}onAuthError(t){if(t.authUpdateAttempted===!1&&(this.authState.state==="waitingForServerConfirmationOfFreshToken"||this.authState.state==="waitingForServerConfirmationOfCachedToken")){this._logVerbose("ignoring non-auth token expired error");return}const{baseVersion:n}=t;if(!this.syncState.isCurrentOrNewerAuthVersion(n+1)){this._logVerbose("ignoring auth error for previous auth attempt");return}this.tryToReauthenticate(t)}async tryToReauthenticate(t){if(this._logVerbose(`attempting to reauthenticate: ${t.error}`),this.authState.state==="noAuth"||this.authState.state==="waitingForServerConfirmationOfFreshToken"&&this.tokenConfirmationAttempts>=bu){this.logger.error(`Failed to authenticate: "${t.error}", check your server auth config`),this.syncState.hasAuth()&&this.syncState.clearAuth(),this.authState.state!=="noAuth"&&this.setAndReportAuthFailed(this.authState.config.onAuthChange);return}this.authState.state==="waitingForServerConfirmationOfFreshToken"&&(this.tokenConfirmationAttempts++,this._logVerbose(`retrying reauthentication, ${bu-this.tokenConfirmationAttempts} attempts remaining`)),await this.stopSocket();const n=await this.fetchTokenAndGuardAgainstRace(this.authState.config.fetchToken,{forceRefreshToken:!0});n.isFromOutdatedConfig||(n.value&&this.syncState.isNewAuth(n.value)?(this.authenticate(n.value),this.setAuthState({state:"waitingForServerConfirmationOfFreshToken",config:this.authState.config,token:n.value,hadAuth:this.authState.state==="notRefetching"||this.authState.state==="waitingForScheduledRefetch"})):(this._logVerbose("reauthentication failed, could not fetch a new token"),this.syncState.hasAuth()&&this.syncState.clearAuth(),this.setAndReportAuthFailed(this.authState.config.onAuthChange)),this.tryRestartSocket())}async refetchToken(){if(this.authState.state==="noAuth")return;this._logVerbose("refetching auth token");const t=await this.fetchTokenAndGuardAgainstRace(this.authState.config.fetchToken,{forceRefreshToken:!0});t.isFromOutdatedConfig||(t.value?this.syncState.isNewAuth(t.value)?(this.setAuthState({state:"waitingForServerConfirmationOfFreshToken",hadAuth:this.syncState.hasAuth(),token:t.value,config:this.authState.config}),this.authenticate(t.value)):this.setAuthState({state:"notRefetching",config:this.authState.config}):(this._logVerbose("refetching token failed"),this.syncState.hasAuth()&&this.clearAuth(),this.setAndReportAuthFailed(this.authState.config.onAuthChange)),this._logVerbose("restarting WS after auth token fetch (if currently stopped)"),this.tryRestartSocket())}scheduleTokenRefetch(t){if(this.authState.state==="noAuth")return;const n=this.decodeToken(t);if(!n){this.logger.error("Auth token is not a valid JWT, cannot refetch the token");return}const{iat:r,exp:s}=n;if(!r||!s){this.logger.error("Auth token does not have required fields, cannot refetch the token");return}const o=s-r;if(o<=2){this.logger.error("Auth token does not live long enough, cannot refetch the token");return}let i=Math.min(H0,(o-this.refreshTokenLeewaySeconds)*1e3);i<=0&&(this.logger.warn(`Refetching auth token immediately, configured leeway ${this.refreshTokenLeewaySeconds}s is larger than the token's lifetime ${o}s`),i=0);const a=setTimeout(()=>{this._logVerbose("running scheduled token refetch"),this.refetchToken()},i);this.setAuthState({state:"waitingForScheduledRefetch",refetchTokenTimeoutId:a,config:this.authState.config}),this._logVerbose(`scheduled preemptive auth token refetching in ${i}ms`)}async fetchTokenAndGuardAgainstRace(t,n){const r=++this.configVersion;this._logVerbose(`fetching token with config version ${r}`);const s=await t(n);
28return this.configVersion!==r?(this._logVerbose(`stale config version, expected ${r}, got ${this.configVersion}`),{isFromOutdatedConfig:!0}):{isFromOutdatedConfig:!1,value:s}}stop(){this.resetAuthState(),this.configVersion++,this._logVerbose(`config version bumped to ${this.configVersion}`)}setAndReportAuthFailed(t){t(!1),this.resetAuthState()}resetAuthState(){this.setAuthState({state:"noAuth"})}setAuthState(t){const n=t.state==="waitingForServerConfirmationOfFreshToken"?{hadAuth:t.hadAuth,state:t.state,token:`...${t.token.slice(-7)}`}:{state:t.state};switch(this._logVerbose(`setting auth state to ${JSON.stringify(n)}`),t.state){case"waitingForScheduledRefetch":case"notRefetching":case"noAuth":this.tokenConfirmationAttempts=0;break}this.authState.state==="waitingForScheduledRefetch"&&(clearTimeout(this.authState.refetchTokenTimeoutId),this.syncState.markAuthCompletion()),this.authState=t}decodeToken(t){try{return Gh(t)}catch(n){return this._logVerbose(`Error decoding token: ${n instanceof Error?n.message:"Unknown error"}`),null}}_logVerbose(t){this.logger.logVerbose(`${t} [v${this.configVersion}]`)}}const q0=["convexClientConstructed","convexWebSocketOpen","convexFirstMessageReceived"];function W0(e,t){const n={sessionId:t};typeof performance>"u"||!performance.mark||performance.mark(e,{detail:n})}function Q0(e){let t=e.name.slice(6);return t=t.charAt(0).toLowerCase()+t.slice(1),{name:t,startTime:e.startTime}}function K0(e){if(typeof performance>"u"||!performance.getEntriesByName)return[];const t=[];for(const n of q0){const r=performance.getEntriesByName(n).filter(s=>s.entryType==="mark").filter(s=>s.detail.sessionId===e);t.push(...r)}return t.map(Q0)}var G0=Object.defineProperty,Y0=(e,t,n)=>t in e?G0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,je=(e,t,n)=>Y0(e,typeof t!="symbol"?t+"":t,n);class z0{constructor(t,n,r){if(je(this,"address"),je(this,"state"),je(this,"requestManager"),je(this,"webSocketManager"),je(this,"authenticationManager"),je(this,"remoteQuerySet"),je(this,"optimisticQueryResults"),je(this,"_transitionHandlerCounter",0),je(this,"_nextRequestId"),je(this,"_onTransitionFns",new Map),je(this,"_sessionId"),je(this,"firstMessageReceived",!1),je(this,"debug"),je(this,"logger"),je(this,"maxObservedTimestamp"),je(this,"connectionStateSubscribers",new Map),je(this,"nextConnectionStateSubscriberId",0),je(this,"_lastPublishedConnectionState"),je(this,"markConnectionStateDirty",()=>{Promise.resolve().then(()=>{const h=this.connectionState();if(JSON.stringify(h)!==JSON.stringify(this._lastPublishedConnectionState)){this._lastPublishedConnectionState=h;for(const m of this.connectionStateSubscribers.values())m(h)}})}),je(this,"mark",h=>{this.debug&&W0(h,this.sessionId)}),typeof t=="object")throw new Error("Passing a ClientConfig object is no longer supported. Pass the URL of the Convex deployment as a string directly.");r?.skipConvexDeploymentUrlCheck!==!0&&Fh(t),r={...r};const s=r.authRefreshTokenLeewaySeconds??2;let o=r.webSocketConstructor;if(!o&&typeof WebSocket>"u")throw new Error("No WebSocket global variable defined! To use Convex in an environment without WebSocket try the HTTP client: https://docs.convex.dev/api/classes/browser.ConvexHttpClient");o=o||WebSocket,this.debug=r.reportDebugInfoToConvex??!1,this.address=t,this.logger=r.logger===!1?r0({verbose:r.verbose??!1}):r.logger!==!0&&r.logger?r.logger:n0({verbose:r.verbose??!1});const i=t.search("://");if(i===-1)throw new Error("Provided address was not an absolute URL.");const a=t.substring(i+3),l=t.substring(0,i);let u;if(l==="http")u="ws";else if(l==="https")u="wss";else throw new Error(`Unknown parent protocol ${l}`);const c=`${u}://${a}/api/${au}/sync`;this.state=new l0,this.remoteQuerySet=new mu(h=>this.state.queryPath(h),this.logger),this.requestManager=new f0(this.logger,this.markConnectionStateDirty);const f=()=>{this.webSocketManager.pause(),this.state.pause()};this.authenticationManager=new j0(this.state,{authenticate:h=>{const m=this.state.setAuth(h);return this.webSocketManager.sendMessage(m),m.baseVersion},stopSocket:()=>this.webSocketManager.stop(),tryRestartSocket:()=>this.webSocketManager.tryRestart(),pauseSocket:f,resumeSocket:()=>this.webSocketManager.resume(),clearAuth:()=>{this.clearAuth()}},{logger:this.logger,refreshTokenLeewaySeconds:s}),this.optimisticQueryResults=new b0,this.addOnTransitionHandler(h=>{n(h.queries.map(m=>m.token))}),this._nextRequestId=0,this._sessionId=$0();const{unsavedChangesWarning:d}=r;if(typeof window>"u"||typeof window.addEventListener>"u"){if(d===!0)throw new Error("unsavedChangesWarning requested, but window.addEventListener not found! Remove {unsavedChangesWarning: true} from Convex client options.")}else d!==!1&&window.addEventListener("beforeunload",h=>{if(this.requestManager.hasIncompleteRequests()){h.preventDefault();const m="Are you sure you want to leave? Your changes may not be saved.";return(h||window.event).returnValue=m,m}});this.webSocketManager=new N0(c,{onOpen:h=>{this.mark("convexWebSocketOpen"),this.webSocketManager.sendMessage({...h,type:"C
28onnect",sessionId:this._sessionId,maxObservedTimestamp:this.maxObservedTimestamp});const m=new Set(this.remoteQuerySet.remoteQueryResults().keys());this.remoteQuerySet=new mu(b=>this.state.queryPath(b),this.logger);const[y,k]=this.state.restart(m);k&&this.webSocketManager.sendMessage(k),this.webSocketManager.sendMessage(y);for(const b of this.requestManager.restart())this.webSocketManager.sendMessage(b)},onResume:()=>{const[h,m]=this.state.resume();m&&this.webSocketManager.sendMessage(m),h&&this.webSocketManager.sendMessage(h);for(const y of this.requestManager.resume())this.webSocketManager.sendMessage(y)},onMessage:h=>{switch(this.firstMessageReceived||(this.firstMessageReceived=!0,this.mark("convexFirstMessageReceived"),this.reportMarks()),h.type){case"Transition":{this.observedTimestamp(h.endVersion.ts),this.authenticationManager.onTransition(h),this.remoteQuerySet.transition(h),this.state.transition(h);const m=this.requestManager.removeCompleted(this.remoteQuerySet.timestamp());this.notifyOnQueryResultChanges(m);break}case"MutationResponse":{h.success&&this.observedTimestamp(h.ts);const m=this.requestManager.onResponse(h);m!==null&&this.notifyOnQueryResultChanges(new Map([[m.requestId,m.result]]));break}case"ActionResponse":{this.requestManager.onResponse(h);break}case"AuthError":{this.authenticationManager.onAuthError(h);break}case"FatalError":{const m=s0(this.logger,h.error);throw this.webSocketManager.terminate(),m}}return{hasSyncedPastLastReconnect:this.hasSyncedPastLastReconnect()}},onServerDisconnectError:r.onServerDisconnectError},o,this.logger,this.markConnectionStateDirty,this.debug),this.mark("convexClientConstructed"),r.expectAuth&&f()}hasSyncedPastLastReconnect(){return this.requestManager.hasSyncedPastLastReconnect()||this.state.hasSyncedPastLastReconnect()}observedTimestamp(t){(this.maxObservedTimestamp===void 0||this.maxObservedTimestamp.lessThanOrEqual(t))&&(this.maxObservedTimestamp=t)}getMaxObservedTimestamp(){return this.maxObservedTimestamp}notifyOnQueryResultChanges(t){const n=this.remoteQuerySet.remoteQueryResults(),r=new Map;for(const[o,i]of n){const a=this.state.queryToken(o);if(a!==null){const l={result:i,udfPath:this.state.queryPath(o),args:this.state.queryArgs(o)};r.set(a,l)}}const s=this.optimisticQueryResults.ingestQueryResultsFromServer(r,new Set(t.keys()));this.handleTransition({queries:s.map(o=>{const i=this.optimisticQueryResults.rawQueryResult(o);return{token:o,modification:{kind:"Updated",result:i}}}),reflectedMutations:Array.from(t).map(([o,i])=>({requestId:o,result:i})),timestamp:this.remoteQuerySet.timestamp()})}handleTransition(t){for(const n of this._onTransitionFns.values())n(t)}addOnTransitionHandler(t){const n=this._transitionHandlerCounter++;return this._onTransitionFns.set(n,t),()=>this._onTransitionFns.delete(n)}getCurrentAuthClaims(){const t=this.state.getAuth();let n={};if(t&&t.tokenType==="User")try{n=t?Gh(t.value):{}}catch{n={}}else return;return{token:t.value,decoded:n}}setAuth(t,n){this.authenticationManager.setConfig(t,n)}hasAuth(){return this.state.hasAuth()}setAdminAuth(t,n){const r=this.state.setAdminAuth(t,n);this.webSocketManager.sendMessage(r)}clearAuth(){const t=this.state.clearAuth();this.webSocketManager.sendMessage(t)}subscribe(t,n,r){const s=An(n),{modification:o,queryToken:i,unsubscribe:a}=this.state.subscribe(t,s,r?.journal,r?.componentPath);return o!==null&&this.webSocketManager.sendMessage(o),{queryToken:i,unsubscribe:()=>{const l=a();l&&this.webSocketManager.sendMessage(l)}}}localQueryResult(t,n){const r=An(n),s=nr(t,r);return this.optimisticQueryResults.queryResult(s)}localQueryResultByToken(t){return this.optimisticQueryResults.queryResult(t)}hasLocalQueryResultByToken(t){return this.optimisticQueryResults.hasQueryResult(t)}localQueryLogs(t,n){const r=An(n),s=nr(t,r);return this.optimisticQueryResults.queryLogs(s)}queryJournal(t,n){const r=An(n),s=nr(t,r);return this.state.queryJournal(s)}connectionState(){const t=this.webSocketManager.connectionState();return{hasInflightRequests:this.requestManager.hasInflightRequests(),isWebSocketConnected:t.isConnected,hasEverConnected:t.hasEverConnected,connectionCount:t.connectionCount,connectionRetries:t.connectionRetries,timeOfOldestInflightRequest:this.requestManager.timeOfOldestInflightRequest(),inflightMutations:this.requestManager.inflightMutations(),inflightActions:this.requestManager.inflightActions()}}subscribeToConnectionState(t){const n=this.nextConnectionStateSubscriberId++;
28return this.connectionStateSubscribers.set(n,t),()=>{this.connectionStateSubscribers.delete(n)}}async mutation(t,n,r){const s=await this.mutationInternal(t,n,r);if(!s.success)throw s.errorData!==void 0?Ra(s,new Ta(wr("mutation",t,s))):new Error(wr("mutation",t,s));return s.value}async mutationInternal(t,n,r,s){const{mutationPromise:o}=this.enqueueMutation(t,n,r,s);return o}enqueueMutation(t,n,r,s){const o=An(n);this.tryReportLongDisconnect();const i=this.nextRequestId;if(this._nextRequestId++,r!==void 0){const c=r.optimisticUpdate;if(c!==void 0){const f=m=>{c(m,o)instanceof Promise&&this.logger.warn("Optimistic update handler returned a Promise. Optimistic updates should be synchronous.")},h=this.optimisticQueryResults.applyOptimisticUpdate(f,i).map(m=>{const y=this.localQueryResultByToken(m);return{token:m,modification:{kind:"Updated",result:y===void 0?void 0:{success:!0,value:y,logLines:[]}}}});this.handleTransition({queries:h,reflectedMutations:[],timestamp:this.remoteQuerySet.timestamp()})}}const a={type:"Mutation",requestId:i,udfPath:t,componentPath:s,args:[ir(o)]},l=this.webSocketManager.sendMessage(a),u=this.requestManager.request(a,l);return{requestId:i,mutationPromise:u}}async action(t,n){const r=await this.actionInternal(t,n);if(!r.success)throw r.errorData!==void 0?Ra(r,new Ta(wr("action",t,r))):new Error(wr("action",t,r));return r.value}async actionInternal(t,n,r){const s=An(n),o=this.nextRequestId;this._nextRequestId++,this.tryReportLongDisconnect();const i={type:"Action",requestId:o,udfPath:t,componentPath:r,args:[ir(s)]},a=this.webSocketManager.sendMessage(i);return this.requestManager.request(i,a)}async close(){return this.authenticationManager.stop(),this.webSocketManager.terminate()}get url(){return this.address}get nextRequestId(){return this._nextRequestId}get sessionId(){return this._sessionId}reportMarks(){if(this.debug){const t=K0(this.sessionId);this.webSocketManager.sendMessage({type:"Event",eventType:"ClientConnect",event:t})}}tryReportLongDisconnect(){if(!this.debug)return;const t=this.connectionState().timeOfOldestInflightRequest;if(t===null||Date.now()-t.getTime()<=60*1e3)return;const n=`${this.address}/api/debug_event`;fetch(n,{method:"POST",headers:{"Content-Type":"application/json","Convex-Client":`npm-${au}`},body:JSON.stringify({event:"LongWebsocketDisconnect"})}).then(r=>{r.ok||this.logger.warn("Analytics request failed with response:",r.body)}).catch(r=>{this.logger.warn("Analytics response failed with error:",r)})}}function Di(e){if(typeof e!="object"||e===null||!Array.isArray(e.page)||typeof e.isDone!="boolean"||typeof e.continueCursor!="string")throw new Error(`Not a valid paginated query result: ${e?.toString()}`);return e}var J0=Object.defineProperty,X0=(e,t,n)=>t in e?J0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vu=(e,t,n)=>X0(e,typeof t!="symbol"?t+"":t,n);class Z0{constructor(t,n){this.client=t,this.onTransition=n,vu(this,"paginatedQuerySet",new Map),vu(this,"lastTransitionTs"),this.lastTransitionTs=ht.fromNumber(0),this.client.addOnTransitionHandler(r=>this.onBaseTransition(r))}subscribe(t,n,r){const s=ar(t),o=hu(s,n,r),i=()=>this.removePaginatedQuerySubscriber(o),a=this.paginatedQuerySet.get(o);return a?(a.numSubscribers+=1,{paginatedQueryToken:o,unsubscribe:i}):(this.paginatedQuerySet.set(o,{token:o,canonicalizedUdfPath:s,args:n,numSubscribers:1,options:{initialNumItems:r.initialNumItems},nextPageKey:0,pageKeys:[],pageKeyToQuery:new Map,ongoingSplits:new Map,skip:!1,id:r.id}),this.addPageToPaginatedQuery(o,null,r.initialNumItems),{paginatedQueryToken:o,unsubscribe:i})}localQueryResult(t,n,r){const s=ar(t),o=hu(s,n,r);return this.localQueryResultByToken(o)}localQueryResultByToken(t){const n=this.paginatedQuerySet.get(t);if(!n)return;const r=this.activePageQueryTokens(n);if(r.length===0)return{results:[],status:"LoadingFirstPage",loadMore:l=>this.loadMoreOfPaginatedQuery(t,l)};let s=[],o=!1,i=!1;for(const l of r){const u=this.client.localQueryResultByToken(l);if(u===void 0){o=!0,i=!1;continue}const c=Di(u);s=s.concat(c.page),i=!!c.isDone}let a;return o?a=s.length===0?"LoadingFirstPage":"LoadingMore":i?a="Exhausted":a="CanLoadMore",{results:s,status:a,loadM
28ore:l=>this.loadMoreOfPaginatedQuery(t,l)}}onBaseTransition(t){const n=t.queries.map(i=>i.token),r=this.queriesContainingTokens(n);let s=[];r.length>0&&(this.processPaginatedQuerySplits(r,i=>this.client.localQueryResultByToken(i)),s=r.map(i=>({token:i,modification:{kind:"Updated",result:this.localQueryResultByToken(i)}})));const o={...t,paginatedQueries:s};this.onTransition(o)}loadMoreOfPaginatedQuery(t,n){this.mustGetPaginatedQuery(t);const r=this.queryTokenForLastPageOfPaginatedQuery(t),s=this.client.localQueryResultByToken(r);if(!s)return!1;const o=Di(s);if(o.isDone)return!1;this.addPageToPaginatedQuery(t,o.continueCursor,n);const i={timestamp:this.lastTransitionTs,reflectedMutations:[],queries:[],paginatedQueries:[{token:t,modification:{kind:"Updated",result:this.localQueryResultByToken(t)}}]};return this.onTransition(i),!0}queriesContainingTokens(t){if(t.length===0)return[];const n=[],r=new Set(t);for(const[s,o]of this.paginatedQuerySet)for(const i of this.allQueryTokens(o))if(r.has(i)){n.push(s);break}return n}processPaginatedQuerySplits(t,n){for(const r of t){const s=this.mustGetPaginatedQuery(r),{ongoingSplits:o,pageKeyToQuery:i,pageKeys:a}=s;for(const[l,[u,c]]of o)n(i.get(u).queryToken)!==void 0&&n(i.get(c).queryToken)!==void 0&&this.completePaginatedQuerySplit(s,l,u,c);for(const l of a){if(o.has(l))continue;const u=i.get(l).queryToken,c=n(u);if(!c)continue;const f=Di(c);f.splitCursor&&(f.pageStatus==="SplitRecommended"||f.pageStatus==="SplitRequired"||f.page.length>s.options.initialNumItems*2)&&this.splitPaginatedQueryPage(s,l,f.splitCursor,f.continueCursor)}}}splitPaginatedQueryPage(t,n,r,s){const o=t.nextPageKey++,i=t.nextPageKey++,a={cursor:s,numItems:t.options.initialNumItems,id:t.id},l=this.client.subscribe(t.canonicalizedUdfPath,{...t.args,paginationOpts:{...a,cursor:null,endCursor:r}});t.pageKeyToQuery.set(o,l);const u=this.client.subscribe(t.canonicalizedUdfPath,{...t.args,paginationOpts:{...a,cursor:r,endCursor:s}});t.pageKeyToQuery.set(i,u),t.ongoingSplits.set(n,[o,i])}addPageToPaginatedQuery(t,n,r){const s=this.mustGetPaginatedQuery(t),o=s.nextPageKey++,i={cursor:n,numItems:r,id:s.id},a={...s.args,paginationOpts:i},l=this.client.subscribe(s.canonicalizedUdfPath,a);return s.pageKeys.push(o),s.pageKeyToQuery.set(o,l),l}removePaginatedQuerySubscriber(t){const n=this.paginatedQuerySet.get(t);if(n&&(n.numSubscribers-=1,!(n.numSubscribers>0))){for(const r of n.pageKeyToQuery.values())r.unsubscribe();this.paginatedQuerySet.delete(t)}}completePaginatedQuerySplit(t,n,r,s){const o=t.pageKeyToQuery.get(n);t.pageKeyToQuery.delete(n);const i=t.pageKeys.indexOf(n);t.pageKeys.splice(i,1,r,s),t.ongoingSplits.delete(n),o.unsubscribe()}activePageQueryTokens(t){return t.pageKeys.map(n=>t.pageKeyToQuery.get(n).queryToken)}allQueryTokens(t){return Array.from(t.pageKeyToQuery.values()).map(n=>n.queryToken)}queryTokenForLastPageOfPaginatedQuery(t){const n=this.mustGetPaginatedQuery(t),r=n.pageKeys[n.pageKeys.length-1];if(r===void 0)throw new Error(`No pages for paginated query ${t}`);return n.pageKeyToQuery.get(r).queryToken}mustGetPaginatedQuery(t){const n=this.paginatedQuerySet.get(t);if(!n)throw new Error("paginated query no longer exists for token "+t);return n}}var eS=Object.defineProperty,tS=(e,t,n)=>t in e?eS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pr=(e,t,n)=>tS(e,typeof t!="symbol"?t+"":t,n);class nS{constructor(t,n={}){pr(this,"listeners"),pr(this,"_client"),pr(this,"_paginatedClient"),pr(this,"callNewListenersWithCurrentValuesTimer"),pr(this,"_closed"),pr(this,"_disabled"),n.skipConvexDeploymentUrlCheck!==!0&&Fh(t);const{disabled:r,...s}=n;this._closed=!1,this._disabled=!!r,typeof window>"u"&&!("unsavedChangesWarning"in s)&&(s.unsavedChangesWarning=!1),this.disabled||(this._client=new z0(t,()=>{},s),this._paginatedClient=new Z0(this._client,o=>this._transition(o))),this.listeners=new Set}get closed(){return this._closed}get client(){if(this._client)return this._client;throw new Error("ConvexClient is disabled")}get paginatedClient(){if(this._paginatedClient)return this._paginatedClient;throw new Error("ConvexClient is disabled")}get disabled(){return this._disabled}onUpdate(t,n,r,s){if(this.disabled)return this.createDisabledUnsubscribe();const{queryToken:o,unsubscribe:i}=this.client.subscribe(It(t),n),a={queryToken:o,callback:r,onError:s,unsubscribe:i,hasEverRun:!1,query:t,args:n,paginationOptions:void 0};this.listeners.add(a),this.queryResultReady(o)&&this.callNewListenersWithCurrentValuesTimer===void 0&&(this.callNewListenersWithCurrentValuesTimer=setTimeout(()=>this.callNewListenersWithCurrentValues(),0));const l={unsubscribe:()=>{this.closed||(this.listeners.delete(a),i())},getCurrentValue:()=>this.client.localQueryResultByToken(o),getQueryLogs:()=>this.client.localQueryLogs(o)},u=l.unsubscribe;return Object.assign(u,l),u}onPaginatedUpdate_experimental(t,n,r,s,o){if(this.disabled)return this.createDisabledUnsubscribe();const i={initialNumItems:r.initialNumItems,id:-1},{paginatedQueryToken:a,unsubscribe:l}=this.paginatedClient.subscribe(It(t),n,i),u={queryToken:a,callback:s,onError:o,unsubscribe:l,hasEverRun:!1,query:t,args:n,paginationOptions:i};this.listeners.add(u),this.paginatedClient.localQueryResultByToken(a)&&this.callNewListenersWithCurrentValuesTimer===void 0&&(this.callNewListenersWithCurrentValuesTimer=setTimeout(()=>this.callNewListenersWithCurrentValues(),0));const c={unsubscribe:()=>{this.closed||(this.listeners.delete(u),l())},getCurrentValue:()=>this.paginatedClient.localQueryResult(It(t),n,i),getQueryLogs:()=>[]},f=c.unsubscribe;return Object.assign(f,c),f}callNewListenersWithCurrentValues(){this.callNewListenersWithCurrentValuesTimer=void 0,this._transition({queries:[],paginatedQueries:[]},!0)}queryResultReady(t){return this.client.hasLocalQueryResultByToken(t)}createDisabledUnsubscribe(){const t=()=>{};return Object.assign(t,{unsubscribe:t,getCurrentValue:()=>{},getQueryLogs:()=>{}}),t}async close(){if(!this.disabled)return this.listeners.clear(),this._closed=!0,this._paginatedClient&&(this._paginatedClient=void 0),this.client.close()}getAuth(){if(!this.disabled)return this.client.getCurrentAuthClaims()}setAuth(t,n){this.disabled||this.client.setAuth(t,n??(()=>{}))}setAdminAuth(t,n){if(this.closed)throw new Error("ConvexClient has already been closed.");this.disabled||this.client.setAdminAuth(t,n)}_transition({queries:t,paginatedQueries:n},r=!1){const s=[...t.map(o=>o.token),...n.map(o=>o.token)];for(const o of this.listeners){const{callback:i,queryToken:a,onError:l,hasEverRun:u}=o,c=o0(a),f=c?!!this.paginatedClient.localQueryResultByToken(a):this.client.hasLocalQueryResultByToken(a);if(s.includes(a)||r&&!u&&f){o.hasEverRun=!0;let d;try{c?d=this.paginatedClient.localQueryResultByToken(a):d=this.client.localQueryResultByToken(a)}catch(h){if(!(h instanceof Error))throw h;l?l(h,"Second argument to onUpdate onError is reserved for later use"):Promise.reject(h);continue}i(d,"Second argument to onUpdate callback is reserved for later use")}}}async mutation(t,n,r){if(this.disabled)throw new Error("ConvexClient is disabled");return await this.client.mutation(It(t),n,r)}async action(t,n){if(this.disabled)throw new Error("ConvexClient is disabled");return await this.client.action(It(t),n)}async query(t,n){if(this.disabled)throw new Error("ConvexClient is disabled");const r=this.client.localQueryResult(It(t),n);return r!==void 0?Promise.resolve(r):new Promise((s,o)=>{const{unsubscribe:i}=this.onUpdate(t,n,a=>{i(),s(a)},a=>{i(),o(a)})})}connectionState(){if(this.disabled)throw new Error("ConvexClient is disabled");return this.client.connectionState()}subscribeToConnectionState(t){return this.disabled?()=>{}:this.client.subscribeToConnectionState(t)}}class rS extends nS{async mutation(t,n,r){if(this.disabled)throw new Error("ConvexClient is disabled");return await this.client.mutation(It(t),n,{optimisticUpdate:r})}}const Yh=Symbol("convex-client"),sS=Symbol("convex-loaders"),oS=Symbol("convex-auth"),iS=({clientOptions:e,convexUrl:t,auth:n,routeLoaderMap:r})=>({install(s){const o=new rS(t,e);if(s.provide(Yh,o),s.config.globalProperties.$convex=o,r&&(s.provide(sS,r),s.config.globalProperties.$router.beforeEach(async(l,u,c)=>{if(!u.name)return c();l.matched.map(f=>{const d=f.meta.loader??r[typeof f.name=="string"?f.name:""];
28d&&Object.values(d).forEach(({query:h,args:m})=>{const y=o.onUpdate(h,m(f),()=>{y()})})}),c()})),!n)return;const i={isLoading:n.isLoading,isAuthenticated:n.isAuthenticated,getToken(l){return n.getToken(l)}};s.provide(oS,i),s.config.globalProperties.$convexAuth=i;const a=async()=>{if(n.isLoading.value){i.isLoading.value||(i.isLoading.value=!0);return}n.isAuthenticated.value?o.setAuth(n.getToken,l=>{i.isAuthenticated.value=l,i.isLoading.value=!1}):(o.client.clearAuth(),i.isAuthenticated.value=!1,i.isLoading.value=!1)};$e(n.isAuthenticated,a,{immediate:!0}),n.installNavigationGuard&&s.config.globalProperties.$router.beforeEach(async(l,u,c)=>{if(!n.needsAuth(l,u))return c();if(await Nw(i.isLoading).not.toBe(!0),!i.isAuthenticated.value)return c(n.redirectTo(l,u));c()})}}),aS=e=>{const t=Ge(e);if(t===void 0)throw new Error(`Your are trying to use ${e.toString()} outside of its provider.`);return t},yl=()=>aS(Yh);function lS(e,{onSuccess:t,onError:n}={}){const r=yl(),s=oe(!1),o=oe();return{isLoading:s,error:o,mutate:async i=>{try{s.value=!0;const a=await r.action(e,i);return t?.(a),a}catch(a){o.value=a,n?.(o.value)}finally{s.value=!1}}}}const cS=(e,t,n={enabled:!0})=>{const r=yl(),s=oe(r.client.localQueryResult(It(e),cn(t))),o=oe();let i;const a=te(()=>se(n.enabled)??!0);let l,u;const c=new Promise((d,h)=>{l=d,u=h}),f=()=>{i?.(),a.value&&(i=r.onUpdate(e,cn(t),d=>{s.value=d,l?.(d),o.value=null},d=>{s.value=null,u(d),o.value=d}))};return $e(a,f,{immediate:!0}),$e(()=>cn(t),f,{deep:!0}),{suspense:()=>c,data:s,error:o,isLoading:te(()=>s.value===void 0)}};function uS(e,{onSuccess:t,onError:n,optimisticUpdate:r}={}){const s=yl(),o=oe(!1),i=oe();return{isLoading:o,error:i,mutate:async a=>{try{o.value=!0;const l=await s.mutation(e,a,r);return t?.(l),l}catch(l){i.value=l,n?.(i.value)}finally{o.value=!1}}}}const fS=m0,dS=e=>e;dS({todos:{query:fS.todos.list,args:()=>({})}});const wu={users:{getByEmail:"users:getByEmail",getById:"users:getById",getByStripeCustomerId:"users:getByStripeCustomerId",getAdmins:"users:getAdmins",list:"users:list",listStripeCustomersForAdmin:"users:listStripeCustomersForAdmin",create:"users:create",updateStripeCustomerId:"users:updateStripeCustomerId",updateRole:"users:updateRole",updateAvatar:"users:updateAvatar",updatePassword:"users:updatePassword",updateCurrentOrg:"users:updateCurrentOrg",updateName:"users:updateName",getCurrent:"users:getCurrent",updateNameForCurrentUser:"users:updateNameForCurrentUser",updatePasswordForCurrentUser:"users:updatePasswordForCurrentUser",updateAvatarForCurrentUser:"users:updateAvatarForCurrentUser"},subscriptions:{getByUserId:"subscriptions:getByUserId",deleteByUserId:"subscriptions:deleteByUserId",create:"subscriptions:create",listAllForAdmin:"subscriptions:listAllForAdmin"},purchases:{getByUserId:"purchases:getByUserId",create:"purchases:create",listAllForAdmin:"purchases:listAllForAdmin"},orgs:{getById:"orgs:getById",getBySlug:"orgs:getBySlug",listMine:"orgs:listMine",listAll:"orgs:listAll",createForCurrentUser:"orgs:createForCurrentUser",switchCurrentOrg:"orgs:switchCurrentOrg",updateNameForCurrentOrg:"orgs:updateNameForCurrentOrg",updateSlugForCurrentOrg:"orgs:updateSlugForCurrentOrg",deleteForCurrentUser:"orgs:deleteForCurrentUser",deleteAdmin:"orgs:deleteAdmin"},memberships:{getByOrgAndUser:"memberships:getByOrgAndUser",listByOrg:"memberships:listByOrg",listByUser:"memberships:listByUser",listMine:"memberships:listMine",listForCurrentOrg:"memberships:listForCurrentOrg"},invites:{getByToken:"invites:getByToken",listByOrg:"invites:listByOrg",listForCurrentOrg:"invites:listForCurrentOrg",createForCurrentOrg:"invites:createForCurrentOrg",acceptByToken:"invites:acceptByToken",revoke:"invites:revoke"},auditLogs:{listForCurrentOrg:"auditLogs:listForCurrentOrg"},featureFlags:{listForCurrentOrg:"featureFlags:listForCurrentOrg",upsertForCurrentOrg:"featureFlags:upsertForCurrentOrg"},usage:{listForCurrentOrg:"usage:listForCurrentOrg"},notifications:{listForCurrentUser:"notifications:listForCurrentUser",markReadForCurrentUser:"notifications:markReadForCurrentUser",markAllReadForCurrentUser:"notifications:markAllReadForCurrentUser"},apiKeys:{listForCurrentOrg:"apiKeys:listForCurrentOrg",createForCurrentOrg:"apiKeys:createForCurrentOrg",revokeForCurrentOrg:"apiKeys:revokeForCurrentOrg"},webhooks:{listEndpointsForCurrentOrg:"webhooks:listEndpointsForCurrentOrg",createEndpointForCurrentOrg:"webhooks:createEndpointForCurrentOrg",updateEndpointForCurrentOrg:"webhooks:updateEndpointForCurrentOrg",deleteEndpointForCurrentOrg:"webhooks:deleteEndpointForCurrentOrg",listDeliveriesForCurrentOrg:"webhooks:listDeliveriesForCurrentOrg"},onboarding:{getForCurrentUser:"onboarding:getForCurrentUser",upsertForCurrentUser:"onboarding:upsertForCurrentUser"},cms:{listForCurrentOrg:"cms:listForCurrentOrg",getByIdForCurrentOrg:"cms:getByIdForCurrentOrg",getBySlugForCurrentOrg:"cms:getBySlugForCurrentOrg",getPublishedByOrgSlugAndSlug:"cms:getPublishedByOrgSlugAndSlug",listPublishedSummaries:"cms:listPublishedSummaries",upsertForCurrentOrg:"cms:upsertForCurrentOrg",deleteForCurrentOrg:"cms:deleteForCurrentOrg"},aiChat:{getPublicConfig:"aiChat:getPublicConfig",getAdminConfig:"aiChat:getAdminConfig",upsertAdminConfig:"aiChat:upsertAdminConfig",ask:"aiChat:ask"}
28,appSettings:{getPublic:"appSettings:getPublic",getAdmin:"appSettings:getAdmin",upsertAdmin:"appSettings:upsertAdmin"},crm:{listForCurrentOrg:"crm:listForCurrentOrg",upsertForCurrentOrg:"crm:upsertForCurrentOrg",addNoteForCurrentOrg:"crm:addNoteForCurrentOrg",listNotesForCurrentOrg:"crm:listNotesForCurrentOrg"},pricingPlans:{listActive:"pricingPlans:listActive",listAll:"pricingPlans:listAll",getById:"pricingPlans:getById",create:"pricingPlans:create",update:"pricingPlans:update",remove:"pricingPlans:remove"},stripe:{listProducts:"stripe:listProducts",listPrices:"stripe:listPrices",listPricesByProduct:"stripe:listPricesByProduct"},workshopLeads:{submitLead:"workshopLeads:submitLead",getLeads:"workshopLeads:getLeads"},supportTickets:{create:"supportTickets:create",listAll:"supportTickets:listAll",listForOrg:"supportTickets:listForOrg",listForCurrentUser:"supportTickets:listForCurrentUser",get:"supportTickets:get",markAsRead:"supportTickets:markAsRead",sendMessage:"supportTickets:sendMessage",update:"supportTickets:update",remove:"supportTickets:remove"},contracts:{create:"contracts:create",updateStatus:"contracts:updateStatus",listForCurrentOrg:"contracts:listForCurrentOrg",listForCustomer:"contracts:listForCustomer"},crmLeads:{list:"crmLeads:list",listWorkshopLeads:"crmLeads:listWorkshopLeads",create:"crmLeads:create",update:"crmLeads:update",remove:"crmLeads:remove",importBatch:"crmLeads:importBatch"},campaigns:{list:"campaigns:list",create:"campaigns:create",update:"campaigns:update",remove:"campaigns:remove"},leadActivities:{listForLead:"leadActivities:listForLead",create:"leadActivities:create",updateLeadStatus:"leadActivities:updateLeadStatus"}};function Su(...e){return cS(...e)}function QR(e){return uS(e)}function KR(e){return lS(e)}const hS="$s";function Nn(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=hS+n,o=ve(),i=qf(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(Ie(a))return o.payload.state[s]=a,a;i.value=a}return i}const pS=e=>{if(!(!e.path.startsWith("/dashboard")||e.path.startsWith("/dashboard/onboarding")||!Nn("convex-authenticated",()=>!1).value))try{const{data:n}=Su(wu.appSettings.getPublic,{}),{data:r,isLoading:s}=Su(wu.onboarding.getForCurrentUser,{});if(s.value||!(n.value?.onboardingEnabled??!0))return;if(!r.value?.completed)return Kn("/dashboard/onboarding")}catch{return}},gS=async e=>{let t,n;const r=([t,n]=Nt(()=>fl({path:e.path})),t=await t,n(),t);if(r.redirect)return Ht(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},mS=[Mw,pS,gS],Aa={admin:()=>X(()=>import("./Dytt3CHN.js"),[],import.meta.url),auth:()=>X(()=>import("./DNcrjYFj.js"),__vite__mapDeps([160,51,52,53]),import.meta.url)};function yS(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const u=o.includes(e.slice(i))?e.slice(i).length:1;let c=o.slice(u);return c[0]!=="/"&&(c="/"+c),bc(c,"")}const a=bc(r,e),l=!n||By(a,n)?a:n;return l+(l.includes("?")?"":s)+o}const _S=De({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Lt().app.baseURL;const s=Sn.history?.(r)??av(r),o=Sn.routes?([t,n]=Nt(()=>Sn.routes(Pi)),t=await t,n(),t??Pi):Pi;let i;const a=Pv({...Sn,scrollBehavior:(k,b,S)=>{if(b===Ct){i=S;return}if(Sn.scrollBehavior){if(a.options.scrollBehavior=Sn.scrollBehavior,"scrollRestoration"in window.history){const p=a.beforeEach(()=>{p(),window.history.scrollRestoration="manual"})}return Sn.scrollBehavior(k,Ct,i||S)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=Dn(a.currentRoute.value);a.afterEach((k,b)=>{l.value=b}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=yS(r,window.location,e.payload.path),c=Dn(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((k,b)=>{k.matched[0]?.components?.default===b.matched[0]?.components?.default&&f()});const d={};for(const k in c.value)Object.defineProperty(d,k,{get:()=>c.value[k],enumerable:!0});e._route=Jt(d),e._middleware||={global:[],named:{}};const h=ei();
28a.afterEach(async(k,b,S)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(ah),S&&await e.callHook("page:loading:end")});try{[t,n]=Nt(()=>a.isReady()),await t,n()}catch(k){[t,n]=Nt(()=>e.runWithContext(()=>Gn(k))),await t,n()}const m=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value;f();const y=e.payload.state._layout;return a.beforeEach(async(k,b)=>{await e.callHook("page:loading:start"),k.meta=_n(k.meta),e.isHydrating&&y&&!gn(k.meta.layout)&&(k.meta.layout=y),e._processingMiddleware=!0;{const S=new Set([...mS,...e._middleware.global]);for(const p of k.matched){const g=p.meta.middleware;if(g)for(const E of gl(g))S.add(E)}{const p=await e.runWithContext(()=>fl({path:k.path}));if(p.appMiddleware)for(const g in p.appMiddleware)p.appMiddleware[g]?S.add(g):S.delete(g)}for(const p of S){const g=typeof p=="string"?e._middleware.named[p]||await Aa[p]?.().then(E=>E.default||E):p;if(!g)throw new Error(`Unknown route middleware: '${p}'.`);try{const E=await e.runWithContext(()=>g(k,b));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const R=E||tr({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>Gn(R)),!1}if(E===!0)continue;if(E===!1)return E;if(E)return lh(E)&&E.fatal&&await e.runWithContext(()=>Gn(E)),E}catch(E){const R=tr(E);return R.fatal&&await e.runWithContext(()=>Gn(R)),R}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(k,b)=>{k.matched.length===0&&await e.runWithContext(()=>Gn(tr({statusCode:404,fatal:!1,statusMessage:`Page not found: ${k.fullPath}`,data:{path:k.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in m&&(m.name=void 0),await a.replace({...m,force:!0}),a.options.scrollBehavior=Sn.scrollBehavior}catch(k){await e.runWithContext(()=>Gn(k))}}),{provide:{router:a}}}});function Eu(e){return typeof e=="string"?`'${e}'`:new bS().serialize(e)}const bS=function(){class e{#e=new Map;compare(n,r){const s=typeof n,o=typeof r;return s==="string"&&o==="string"?n.localeCompare(r):s==="number"&&o==="number"?n-r:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(r,!0))}serialize(n,r){if(n===null)return"null";switch(typeof n){case"string":return r?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const r=Object.prototype.toString.call(n);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),n);const s=n.constructor,o=s===Object||s===void 0?"":s.name;if(o!==""&&globalThis[o]===s)return this.serializeBuiltInType(o,n);if(typeof n.toJSON=="function"){const i=n.toJSON();return o+(i!==null&&typeof i=="object"?this.$object(i):`(${this.serialize(i)})`)}return this.serializeObjectEntries(o,Object.entries(n))}serializeBuiltInType(n,r){const s=this["$"+n];if(s)return s.call(this,r);if(typeof r?.entries=="function")return this.serializeObjectEntries(n,r.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,r){const s=Array.from(r).sort((i,a)=>this.compare(i[0],a[0]));let o=`${n}{`;for(let i=0;i<s.length;i++){const[a,l]=s[i];o+=`${this.serialize(a,!0)}:${this.serialize(l)}`,i<s.length-1&&(o+=",")}return o+"}"}$object(n){let r=this.#e.get(n);return r===void 0&&(this.#e.set(n,`#${this.#e.size}`),r=this.serializeObject(n),this.#e.set(n,r)),r}$function(n){const r=Function.prototype.toString.call(n);return r.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(n){let r="[";for(let s=0;s<n.length;s++)r+=this.serialize(n[s]),s<n.length-1&&(r+=",");return r+"]"}$Date(n){try{return`Date(${n.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(n){return`ArrayBuffer[${new Uint8Array(n).join(",")}]`}$Set(n){return`Set${this.$Array(Array.from(n).sort((r,s)=>this.compare(r,s)))}`}
28$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e}();function vS(e,t){return e===t||Eu(e)===Eu(t)}const Cu=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),GR=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),_l=e=>{const t=ve();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Cu(()=>e())}):Cu(()=>e())};function wS(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=t||{},s=r.decode||SS;let o=0;for(;o<e.length;){const i=e.indexOf("=",o);if(i===-1)break;let a=e.indexOf(";",o);if(a===-1)a=e.length;else if(a<i){o=e.lastIndexOf(";",i-1)+1;continue}const l=e.slice(o,i).trim();if(r?.filter&&!r?.filter(l)){o=a+1;continue}if(n[l]===void 0){let u=e.slice(i+1,a).trim();u.codePointAt(0)===34&&(u=u.slice(1,-1)),n[l]=ES(u,s)}o=a+1}return n}function SS(e){return e.includes("%")?decodeURIComponent(e):e}function ES(e,t){try{return t(e)}catch{return e}}const zs=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function ku(e,t,n){const r=n||{},s=r.encode||encodeURIComponent;if(typeof s!="function")throw new TypeError("option encode is invalid");if(!zs.test(e))throw new TypeError("argument name is invalid");const o=s(t);if(o&&!zs.test(o))throw new TypeError("argument val is invalid");let i=e+"="+o;if(r.maxAge!==void 0&&r.maxAge!==null){const a=r.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(a)}if(r.domain){if(!zs.test(r.domain))throw new TypeError("option domain is invalid");i+="; Domain="+r.domain}if(r.path){if(!zs.test(r.path))throw new TypeError("option path is invalid");i+="; Path="+r.path}if(r.expires){if(!CS(r.expires)||Number.isNaN(r.expires.valueOf()))throw new TypeError("option expires is invali
28d");i+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():r.priority){case"low":{i+="; Priority=Low";break}case"medium":{i+="; Priority=Medium";break}case"high":{i+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:{i+="; SameSite=Strict";break}case"lax":{i+="; SameSite=Lax";break}case"strict":{i+="; SameSite=Strict";break}case"none":{i+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(i+="; Partitioned"),i}function CS(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function xt(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=xt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:xt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=xt(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=xt(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(xt(s))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(s,o){n.set(xt(o),xt(s))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(xt(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const kS={path:"/",watch:!0,decode:e=>$r(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},Js=window.cookieStore;function Po(e,t){const n={...kS,...t};n.filter??=u=>u===e;const r=Tu(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const o=s!==void 0&&s<=0,i=o||r[e]===void 0||r[e]===null,a=xt(o?void 0:r[e]??n.default?.()),l=s&&!o?AS(a,s,n.watch&&n.watch!=="shallow"):oe(a);{let u=null;try{!Js&&typeof BroadcastChannel<"u"&&(u=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const c=(m=!1)=>{!m&&(n.readonly||vS(l.value,r[e]))||(RS(e,l.value,n),r[e]=xt(l.value),u?.postMessage({value:n.encode(l.value)}))},f=m=>{const y=m.refresh?Tu(n)?.[e]:n.decode(m.value);d=!0,l.value=y,r[e]=xt(y),mn(()=>{d=!1})};let d=!1;const h=!!Ho();if(h&&qi(()=>{d=!0,c(),u?.close()}),Js){const m=y=>{const k=y.changed.find(S=>S.name===e),b=y.deleted.find(S=>S.name===e);k&&f({value:k.value}),b&&f({value:null})};Js.addEventListener("change",m),h&&qi(()=>Js.removeEventListener("change",m))}else u&&(u.onmessage=({data:m})=>f(m));n.watch&&$e(l,()=>{d||c()},{deep:n.watch!=="shallow"}),i&&c(i)}return l}function Tu(e={}){return wS(document.cookie,e)}function TS(e,t,n={}){return t==null?ku(e,t,{...n,maxAge:-1}):ku(e,t,n)}function RS(e,t,n={}){document.cookie=TS(e,t,n)}const Ru=2147483647;function AS(e,t,n){let r,s,o=0;const i=n?oe(e):{value:e};return Ho()&&qi(()=>{s?.(),clearTimeout(r)}),bg((a,l)=>{n&&(s=$e(i,l));function u(){o=0,clearTimeout(r);const c=t-o,f=c<Ru?c:Ru;r=setTimeout(()=>{if(o+=f,o<t)return u();i.value=void 0,l()},f)}return{get(){return a(),i.value},set(c){u(),i.value=c,l()}}})}function LS(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function OS(e,t=tt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>OS(e,t));t._routePreloaded.add(n);const o=r.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}function PS(e={}){const t=e.path||window.location.pathname;let n={};try{n=$r(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:ve().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}function xS(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Ht(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=Fy(String(e.url)));const t=Object.keys(e).sort((r,s)=>r.localeCompare(s)),n={};for(const r of t)n[r]=e[r];return n}function IS(e){const n=[];function r(o){if(!o||typeof o!="object"||Object.keys(o).length===0)return()=>{};o._context;const i={};for(const l in o){const u=o[l];typeof u<"u"&&u!==""&&(i[l]=u)}let a;return Object.keys(i).filter(l=>!l.startsWith("_")).length>0&&(a=n.push(i)),()=>{typeof a<"u"&&n.splice(a-1,1)}}function s(o){const i={};o?.debug&&(i._context={}),i._priority={};for(const a in n.sort((l,u)=>(l._priority||0)-(u._priority||0)))for(const l in n[a]){const u=l,c=o?.resolveRefs?cn(n[a][l]):n[a][l];!l.startsWith("_")&&typeof c<"u"&&c!==""&&(i[l]=c,typeof n[a]._priority<"u"&&n[a]._priority!==-1&&(i._priority[u]=n[a]._priority),o?.debug&&(i._context[u]=n[a]._context?.[u]||n[a]._context||"anonymous"))}return o?.skipNormalize?i:xS(i)}return{stack:n,push:r,get:s}}const MS=De({name:"nuxt-site-config:init",enforce:"pre",async setup(e){const t=IS(),n=Nn("site-config");{const r=n.value||window.__NUXT_SITE_CONFIG__||{};for(const s in r)s[0]!=="_"&&t.push({[s]:r[s],_priority:r._priority?.[s]||-1})}return{provide:{nuxtSiteConfig:t}}}}),NS=De({name:"nuxt:payload",setup(e){const t=new Set;
28tt().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await Bc(n.path);if(s){for(const o of t)delete e.static.data[o];for(const o in s.data)o in e.static.data||t.add(o),e.static.data[o]=s.data[o]}}),_l(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Bc(n).catch(()=>{})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(ti,1e3)})}}),$S=De(()=>{const e=tt();_l(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),DS=De(e=>{let t;async function n(){const r=await ti();t&&clearTimeout(t),t=setTimeout(n,Tc);try{const s=await $fetch(cl("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}_l(()=>{t=setTimeout(n,Tc)})}),FS=De({name:"nuxt:chunk-reload",setup(e){const t=tt(),n=Lt(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=cr(n.app.baseURL,o.fullPath);PS({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}});/*!
29  * shared v10.0.8
30  * (c) 2025 kazuya kawaguchi
31  * Released under the MIT License.
32  */function US(e,t){}const xo=typeof window<"u",Un=(e,t=!1)=>t?Symbol.for(e):Symbol(e),BS=(e,t,n)=>VS({l:e,k:t,s:n}),VS=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),We=e=>typeof e=="number"&&isFinite(e),HS=e=>oi(e)==="[object Date]",Io=e=>oi(e)==="[object RegExp]",si=e=>ge(e)&&Object.keys(e).length===0,Me=Object.assign,jS=Object.create,ke=(e=null)=>jS(e);let Au;const bl=()=>Au||(Au=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ke());function Lu(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function Ou(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function qS(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,s,o)=>`${s}="${Ou(o)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,s,o)=>`${s}='${Ou(o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript&#58;")}),e}const WS=Object.prototype.hasOwnProperty;function $t(e,t){return WS.call(e,t)}const Fe=Array.isArray,Re=e=>typeof e=="function",W=e=>typeof e=="string",Ne=e=>typeof e=="boolean",ye=e=>e!==null&&typeof e=="object",QS=e=>ye(e)&&Re(e.then)&&Re(e.catch),zh=Object.prototype.toString,oi=e=>zh.call(e),ge=e=>oi(e)==="[object Object]",KS=e=>e==null?"":Fe(e)||ge(e)&&e.toString===zh?JSON.stringify(e,null,2):String(e);function vl(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const Xs=e=>!ye(e)||Fe(e);function Or(e,t){if(Xs(e)||Xs(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{o!=="__proto__"&&(ye(r[o])&&!ye(s[o])&&(s[o]=Array.isArray(r[o])?[]:ke()),Xs(s[o])||Xs(r[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]}))})}}const $n=["en","sv"],La={en:[],sv:[]},GS=[],jr=[{code:"en",language:"en-US",name:"English",_hreflang:"en-US",_sitemap:"en-US",files:[]},{code:"sv",language:"sv-SE",name:"Svenska",_hreflang:"sv-SE",_sitemap:"sv-SE",files:[]}],YS="@nuxtjs/i18n",zS=!1,JS="i18n_redirected",XS="nuxtI18nInternal",Pu="nuxt-i18n-slp";function ii(e){return W(e)?e:e!=null?e.toString():"(null)"}function xu(e,t,n){const{defaultLocale:r,strategy:s,routesNameSeparator:o,defaultLocaleRouteNameSuffix:i,differentDomains:a}=n,l=s!=="no_prefix"||a,u=ii(e)+(l?o+t:"");return t===r&&s==="prefix_and_default"?u+o+i:u}function ZS(e,t){const n=[];for(const[r,s]of t.entries()){const o=e.find(i=>i.language?.toLowerCase()===s.toLowerCase());if(o){n.push({code:o.code,score:1-r/t.length});break}}for(const[r,s]of t.entries()){const o=s.split("-")[0].toLowerCase(),i=e.find(a=>a.language?.split("-")[0].toLowerCase()===o);if(i){n.push({code:i.code,score:.999-r/t.length});break}}return n}function eE(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function tE(e,t){const n=e.map(s=>({code:s.code,language:s.language||s.code})),r=ZS(n,t);return r.length===0?"":(r.length>1&&r.sort(eE),r[0].code)}function Jh(e){return new RegExp(`^/(${e.join("|")}
32)(?:/|$)`,"i")}const nE=`(${$n.join("|")})`,Oa=Jh($n);function rE(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=Lt().public.i18n,n=`(?:${e}${t})?`,r=new RegExp(`${e}${nE}${n}$`,"i");return s=>W(s)?s.match(Oa)?.[1]??"":s.name?ii(s.name).match(r)?.[1]??"":s.path?s.path.match(Oa)?.[1]??"":""}function sE(e){return e!=null&&"global"in e&&"mode"in e}function oE(e){return e!=null&&!("__composer"in e)&&"locale"in e&&Ie(e.locale)}function Xh(e){return e!=null&&"__composer"in e}function Mo(e){return sE(e)?e.global:e}function os(e){const t=Mo(e);return oE(t)?t:Xh(t)?t.__composer:t}function ai(){return window.location.host}function iE(e,t,n){const r=ai();if(!r)return r;const s=W(n)?n:n.path,o=e.filter(a=>a.domain?(Ht(a.domain)?a.domain.replace(/(http|https):\/\//,""):a.domain)===r:Fe(a?.domains)?a.domains.includes(r):!1);if(o.length===0)return"";if(o.length===1||t==="no_prefix")return o[0]?.code??"";if(n&&s){const a=s.match(Jh(o.map(l=>l.code)))?.at(1);if(a)return o.find(u=>u.code===a)?.code??""}return o.find(a=>a.defaultForDomains?.includes(r)??a.domainDefault)?.code??""}
32function Zh(e){ve();const t=ai(),{domainLocales:n}=Lt().public.i18n,r=jr.find(i=>i.code===e),s=n?.[e]?.domain||r?.domain||r?.domains?.find(i=>i===t);return s?Ht(s,{strict:!0})?s:new URL(window.location.origin).protocol+"//"+s:void 0}function aE(e,t){const{multiDomainLocales:n,strategy:r,routesNameSeparator:s,defaultLocaleRouteNameSuffix:o}=e;if(!n||!(r==="prefix_except_default"||r==="prefix_and_default"))return;const i=tt(),a=[s,o].join("");for(const l of i.getRoutes()){const u=ii(l.name);if(u.endsWith(a)){i.removeRoute(u);continue}const c=u.split(s)[1];c===t&&i.addRoute({...l,path:l.path===`/${c}`?"/":l.path.replace(`/${c}`,"")})}}function lE(e){const{locales:t,domainLocales:n,defaultLocale:r,multiDomainLocales:s}=e,o=ai();return s?t.some(i=>!W(i)&&i.defaultForDomains!=null)?t.find(a=>!W(a)&&!!a.defaultForDomains?.includes(o))?.code??"":r||"":jr.find(a=>{const l=W(a)?a:a.code,u=jr.find(f=>f.code===l);return(n?.[l]?.domain??u?.domain)===o})?.code??r??""}const ys=new Map;async function cE(e,t){const n={messages:{}};for(const r of e){const{default:s}=await r(),o=Re(s)?await t.runWithContext(()=>s()):s;Or(o,n)}return n}function ep(e,t){if(e===!1)return[];if(Fe(e))return e;let n=[];if(W(e))return t.every(s=>s!==e)&&n.push(e),n;const r=[...t,"default"];for(const s of r)s in e&&(n=[...n,...e[s].filter(Boolean)]);return n}const uE=e=>oi(e)==="[object Module]";async function fE(e,{key:t,load:n},r){let s=null;try{const o=await n().then(i=>uE(i)?i.default:i);Re(o)?s=await r.runWithContext(()=>o(e)):(s=o,s!=null&&ys&&ys.set(t,s))}catch{}return s}async function Pa(e,t,n,r){const s=t[e];if(s==null)return;const o={};for(const i of s){let a=null;ys&&ys.has(i.key)&&i.cache?a=ys.get(i.key):a=await r.runWithContext(()=>fE(e,i,r)),a!=null&&Or(a,o)}n(e,o)}function qr(e,t){const n=se(t),r=ye(n)?n?.name:n;if(!(n==null||!r))return ii(r).split(e.runtimeConfig.public.i18n.routesNameSeparator)[0]}function wl(e,t,n){if(W(t)&&Ht(t,{acceptRelative:!0}))return t;const r=Sl(e,t,n);return r==null?"":r.redirectedFrom?.fullPath||r.fullPath}function li(e,t,n){return Sl(e,t,n)??void 0}function dE(e){if(!W(e))return Me({},e);if(e[0]==="/"){const{pathname:t,search:n,hash:r}=fa(e);return{path:t,query:al(n),hash:r}}return{name:e}}const hE=e=>!!e.path&&!e.name;function pE(e,t,n){const r=e.runtimeConfig.public.i18n;if(hE(t)){const o=mE(e,t,n),i=qr(e,o);return i?(o.name=xu(i,n,r),o):(!r.differentDomains&&bE(n,r.defaultLocale,r.strategy)&&(t.path="/"+n+t.path),t.path=(r.trailingSlash?Eo:Fr)(t.path,!0),t)}t.name||=qr(e,e.router.currentRoute.value);const s=xu(t.name,n,r);return e.router.hasRoute(s)&&(t.name=s),t}function Sl(e,t,n){try{const r=n||se(Mo(e.i18n).locale),s=dE(t),o=e.router.resolve(pE(e,s,r));return o.name?o:e.router.resolve(t)}catch(r){if(Qt(r,1))return null}}function gE(e,t){if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return se(e.metaState.value);const n=t.meta||{};return se(n)?.[XS]||{}}function El(e,t,n){const r=n??e.router.currentRoute.value,s=qr(e,r);if(!s)return"";const o=gE(e,r)[t],i={name:s,params:Me({},r.params,o),fullPath:r.fullPath,query:r.query,hash:r.hash,path:r.path,meta:r.meta},a=wl(e,i,t);if(e.runtimeConfig.public.i18n.differentDomains){const l=Zh(t);return l&&cr(l,a)||a}return a}function mE(e,t,n){if(e.runtimeConfig.public.i18n.strategy==="no_prefix")return t;if(e.runtimeConfig.public.i18n.strategy!=="prefix")return e.router.resolve(t);const r=t.path.slice(1),s=t.path[0]+n+(r&&"/"+r),o=e.router.options.routes.find(i=>i.path===s);return o==null?t:e.router.resolve(Me({},t,o,{path:s}))}function tp(e){return{i18n:e??ve().$i18n,router:tt(),runtimeConfig:Lt(),metaState:Nn("nuxt-i18n-meta",()=>({}))}}async function np(e,t,n=!1){const{differentDomains:r,skipSettingLocaleOnNavigate:s}=e.$config.public.i18n,o=$s(e.$config.public.i18n),i=se(e.$i18n.locale),a=se(e.$i18n.localeCodes);function l(d=i){o===!1||!o.useCookie||s||e.$i18n.setLocaleCookie(d)}const u=await e.$i18n.onBeforeLanguageSwitch(i,t,n,e);if(u&&a.includes(u)){if(i===u)return l(),!1;t=u}if(!t||!n&&r||i===t)return l(),!1;const c=se(e.$i18n.fallbackLocale),f=e.$i18n.mergeLocaleMessage.bind(e.$i18n);if(c){const d=ep(c,[t]);await Promise.all(d.map(h=>Pa(h,La,f,e)))}
32return await Pa(t,La,f,e),s?!1:(l(t),e._vueI18n.__setLocale(t),await e.$i18n.onLanguageSwitched(i,t),!0)}function yE(e,t,n,r,s){const{strategy:o,defaultLocale:i,differentDomains:a,multiDomainLocales:l}=e.$config.public.i18n,u=$s(),c=kE(e,t,s,r);if(c.locale&&c.from!=null&&$n.includes(c.locale))return c.locale;let f="";a||l?f||=iE(jr,o,t):o!=="no_prefix"&&(f||=n);const d=($n.includes(c.locale)||s&&$n.includes(s))&&u&&u.useCookie&&s;return f||=d||r||i||"",f}function rp({to:e,nuxtApp:t,from:n,locale:r,routeLocale:s},o=!1){if(s===r||t.$i18n.strategy==="no_prefix")return"";const i=tp();let a=El(i,r,e);return o&&!a&&(a=wl(i,e.fullPath,r)),vc(a,e.fullPath)||n&&vc(a,n.fullPath)?"":a}const _E=()=>Nn(YS+":redirect",()=>"");async function sp({nuxt:e,locale:t,route:n,redirectPath:r},s=!1){const{rootRedirect:o,differentDomains:i,multiDomainLocales:a,skipSettingLocaleOnNavigate:l,locales:u,strategy:c}=e.$config.public.i18n;if(n.path==="/"&&o)return W(o)?r="/"+o:(r="/"+o.path,o.statusCode),r=e.$localePath(r,t),Kn(r,{});if(!(l&&(e._vueI18n.__pendingLocale=t,e._vueI18n.__pendingLocalePromise=new Promise(f=>{e._vueI18n.__resolvePendingLocalePromise=()=>f()}),!s))){if(a&&c==="prefix_except_default"){const f=ai(),d=u.find(m=>{if(!W(m))return m.defaultForDomains?.find(y=>y===f)}),h=W(d)?void 0:d?.code;if(n.path.startsWith(`/${h}`))return Kn(n.path.replace(`/${h}`,""));if(!n.path.startsWith(`/${t}`)&&t!==h){const m=e._vueI18n.__localeFromRoute(n.path);return Kn(m!==""?`/${t+n.path.replace(`/${m}`,"")}`:`/${t+(n.path==="/"?"":n.path)}`)}return r&&n.path!==r?Kn(r):void 0}if(i){const f=_E();f.value&&f.value!==r&&(f.value="",window.location.assign(r))}else if(r)return Kn(r)}}function bE(e,t,n){return n!=="no_prefix"&&!(e===t&&(n==="prefix_and_default"||n==="prefix_except_default"))}function vE(e){const{baseUrl:t,defaultLocale:n,differentDomains:r}=e.$config.public.i18n;if(Re(t))return()=>t(e);const s=Re(n)?n():n;return()=>{if(r&&s){const o=Zh(s);if(o)return o}return t??""}}function wE(e){return Fe(e)?e:[e]}function lr(e,t=tp()){return(...n)=>e(t,...n)}function SE(){const e=navigator.languages;return tE(jr,e)||void 0}function EE(){const e=$s(),t=e&&e.cookieKey||JS,n=new Date,r={path:"/",readonly:!1,expires:new Date(n.setDate(n.getDate()+365)),sameSite:e&&e.cookieCrossOrigin?"none":"lax",domain:e&&e.cookieDomain||void 0,secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return Po(t,r)}function CE(e,t,n){if(t===!1||!t.useCookie)return;const r=e.value??void 0;if(r!=null){if($n.includes(r))return r;if(n)return e.value=n,n;e.value=void 0}}function kE(e,t,n,r=""){const s=$s();if(!s)return{locale:"",error:"disabled"};const o=e.$i18n.strategy;if(!e._vueI18n.__firstAccess)return{locale:o==="no_prefix"?r:"",error:"first_access_only"};if(o!=="no_prefix"){const u=W(t)?t:t.path;if(s.redirectOn==="root"&&u!=="/")return{locale:"",error:"not_redirect_on_root"};if(s.redirectOn==="no prefix"&&!s.alwaysRedirect&&u.match(Oa))return{locale:"",error:"not_redirect_on_no_prefix"}}const a=s.useCookie&&n||void 0;if(a)return{locale:a,from:"cookie"};const l=e.$i18n.getBrowserLocale();return l?{locale:l,from:"navigator_or_header"}:{locale:s.fallbackLocale||"",from:"fallback"}}function $s(e=Lt().public.i18n){return e?.detectBrowserLanguage===!1?!1:e?.detectBrowserLanguage}function TE(e){const t=ve(),n=se(t.$i18n.locale),r=se(t.$i18n.locales).map(a=>W(a)?{code:a}:a),s=r.find(a=>a.code===n)||{code:n},o=cr(se(os(t.$i18n).baseUrl),t.$config.app.baseURL),i=t.$config.public.i18n;return{dir:e.dir,lang:e.lang,key:e.key,seo:e.seo,locale:n,locales:r,currentDir:s.dir||i.defaultDirection,currentLocale:s,currentLanguage:s.language,baseUrl:o,runtimeI18n:i}}function RE(e,{dir:t=!0,lang:n=!0,seo:r=!0,key:s="hid"}){return AE(e,{dir:t,lang:n,seo:r,key:s})}function AE(e,t){const n={htmlAttrs:{},link:[],meta:[]},r=TE(t);return r.baseUrl==null||(r.dir&&(n.htmlAttrs.dir=r.currentDir),r.lang&&r.currentLanguage&&(n.htmlAttrs.lang=r.currentLanguage),r.seo&&(n.link=n.link.concat(LE(e,r),OE(e,r)),n.meta=n.meta.concat(PE(e,r),xE(r),IE(r)))),n}function LE(e,t){const{defaultLocale:n,strategy:r,differentDomains:s}=t.runtimeI18n,o=[];if(r==="no_prefix"&&!s)return o;const i=new Map;
32for(const u of t.locales){if(!u.language)continue;const[c,f]=u.language.split("-");c&&f&&(u.isCatchallLocale||!i.has(c))&&i.set(c,u),i.set(u.language,u)}const a=t.runtimeI18n.experimental.alternateLinkCanonicalQueries===!0,l=a?e.router.resolve({query:{}}):void 0;!t.runtimeI18n.experimental.switchLocalePathLinkSSR&&a&&(l.meta=e.router.currentRoute.value.meta);for(const[u,c]of i.entries()){const f=El(e,c.code,l);if(!f)continue;const d=s&&c.domain?f:cr(t.baseUrl,f),h=Xo(d,a?ip(e,t):{});o.push({[t.key]:`i18n-alt-${u}`,rel:"alternate",href:h,hreflang:u}),n&&n===c.code&&o.unshift({[t.key]:"i18n-xd",rel:"alternate",href:h,hreflang:"x-default"})}return o}function op(e,t){const n=e.router.currentRoute.value,r=li(e,Me({},n,{path:void 0,name:qr(e,n)}));return r?Xo(cr(t.baseUrl,r.path),ip(e,t)):""}function OE(e,t){const n=op(e,t);return n?[{[t.key]:"i18n-can",rel:"canonical",href:n}]:[]}function ip(e,t){const n=e.router.currentRoute.value,r=li(e,Me({},n,{path:void 0,name:qr(e,n)})),s=ye(t.seo)&&t.seo?.canonicalQueries||[],o=r?.query||{},i={};for(const a of s.filter(l=>l in o)){i[a]??=[];for(const l of wE(o[a]))i[a].push(l||"")}return i}function PE(e,t){const n=op(e,t);return n?[{[t.key]:"i18n-og-url",property:"og:url",content:n}]:[]}function xE(e){return e.currentLanguage?[{[e.key]:"i18n-og",property:"og:locale",content:ap(e.currentLanguage)}]:[]}function IE(e){return e.locales.filter(n=>n.language&&n.language!==e.currentLanguage).map(n=>({[e.key]:`i18n-og-alt-${n.language}`,property:"og:locale:alternate",content:ap(n.language)}))}function ap(e=""){return e.replace(/-/g,"_")}/*!
33  * message-compiler v10.0.8
34  * (c) 2025 kazuya kawaguchi
35  * Released under the MIT License.
36  */function ME(e,t,n){return{line:e,column:t,offset:n}}function xa(e,t,n){return{start:e,end:t}}const Ee={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},NE=17;function ci(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function $E(e){throw e}const nn=" ",DE="\r",ut=`
37`,FE="\u2028",UE="\u2029";function BE(e){const t=e;let n=0,r=1,s=1,o=0;const i=A=>t[A]===DE&&t[A+1]===ut,a=A=>t[A]===ut,l=A=>t[A]===UE,u=A=>t[A]===FE,c=A=>i(A)||a(A)||l(A)||u(A),f=()=>n,d=()=>r,h=()=>s,m=()=>o,y=A=>i(A)||l(A)||u(A)?ut:t[A],k=()=>y(n),b=()=>y(n+o);function S(){return o=0,c(n)&&(r++,s=0),i(n)&&n++,n++,s++,t[n]}function p(){return i(n+o)&&o++,o++,t[n+o]}function g(){n=0,r=1,s=1,o=0}function E(A=0){o=A}function R(){const A=n+o;for(;A!==n;)S();o=0}return{index:f,line:d,column:h,peekOffset:m,charAt:y,currentChar:k,currentPeek:b,next:S,peek:p,reset:g,resetPeek:E,skipToPeek:R}}const En=void 0,VE=".",Iu="'",HE="tokenizer";function jE(e,t={}){const n=t.location!==!1,r=BE(e),s=()=>r.index(),o=()=>ME(r.line(),r.column(),r.index()),i=o(),a=s(),l={currentType:13,offset:a,startLoc:i,endLoc:i,lastType:13,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(_,w,L,...x){const F=u();if(w.column+=L,w.offset+=L,c){const H=n?xa(F.startLoc,w):null,T=ci(_,H,{domain:HE,args:x});c(T)}}function d(_,w,L){_.endLoc=o(),_.currentType=w;const x={type:w};return n&&(x.loc=xa(_.startLoc,_.endLoc)),L!=null&&(x.value=L),x}const h=_=>d(_,13);function m(_,w){return _.currentChar()===w?(_.next(),w):(f(Ee.EXPECTED_TOKEN,o(),0,w),"")}function y(_){let w="";for(;_.currentPeek()===nn||_.currentPeek()===ut;)w+=_.currentPeek(),_.peek();return w}function k(_){const w=y(_);return _.skipToPeek(),w}function b(_){if(_===En)return!1;const w=_.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w===95}function S(_){if(_===En)return!1;const w=_.charCodeAt(0);return w>=48&&w<=57}function p(_,w){const{currentType:L}=w;if(L!==2)return!1;y(_);const x=b(_.currentPeek());return _.resetPeek(),x}function g(_,w){const{currentType:L}=w;if(L!==2)return!1;y(_);const x=_.currentPeek()==="-"?_.peek():_.currentPeek(),F=S(x);return _.resetPeek(),F}function E(_,w){const{currentType:L}=w;if(L!==2)return!1;y(_);const x=_.currentPeek()===Iu;return _.resetPeek(),x}function R(_,w){const{currentType:L}=w;if(L!==7)return!1;y(_);const x=_.currentPeek()===".";return _.resetPeek(),x}function A(_,w){const{currentType:L}=w;if(L!==8)return!1;y(_);const x=b(_.currentPeek());return _.resetPeek(),x}function j(_,w){const{currentType:L}=w;
37if(!(L===7||L===11))return!1;y(_);const x=_.currentPeek()===":";return _.resetPeek(),x}function M(_,w){const{currentType:L}=w;if(L!==9)return!1;const x=()=>{const H=_.currentPeek();return H==="{"?b(_.peek()):H==="@"||H==="|"||H===":"||H==="."||H===nn||!H?!1:H===ut?(_.peek(),x()):Q(_,!1)},F=x();return _.resetPeek(),F}function U(_){y(_);const w=_.currentPeek()==="|";return _.resetPeek(),w}function Q(_,w=!0){const L=(F=!1,H="")=>{const T=_.currentPeek();return T==="{"||T==="@"||!T?F:T==="|"?!(H===nn||H===ut):T===nn?(_.peek(),L(!0,nn)):T===ut?(_.peek(),L(!0,ut)):!0},x=L();return w&&_.resetPeek(),x}function D(_,w){const L=_.currentChar();return L===En?En:w(L)?(_.next(),L):null}function J(_){const w=_.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36}function ie(_){return D(_,J)}function ue(_){const w=_.charCodeAt(0);return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===95||w===36||w===45}function z(_){return D(_,ue)}function ne(_){const w=_.charCodeAt(0);return w>=48&&w<=57}function Y(_){return D(_,ne)}function ae(_){const w=_.charCodeAt(0);return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102}function Be(_){return D(_,ae)}function Ye(_){let w="",L="";for(;w=Y(_);)L+=w;return L}function Ve(_){let w="";for(;;){const L=_.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L===nn||L===ut)if(Q(_))w+=L,_.next();else{if(U(_))break;w+=L,_.next()}else w+=L,_.next()}return w}function bt(_){k(_);let w="",L="";for(;w=z(_);)L+=w;return _.currentChar()===En&&f(Ee.UNTERMINATED_CLOSING_BRACE,o(),0),L}function vt(_){k(_);let w="";return _.currentChar()==="-"?(_.next(),w+=`-${Ye(_)}`):w+=Ye(_),_.currentChar()===En&&f(Ee.UNTERMINATED_CLOSING_BRACE,o(),0),w}function N(_){return _!==Iu&&_!==ut}function le(_){k(_),m(_,"'");let w="",L="";for(;w=D(_,N);)w==="\\"?L+=I(_):L+=w;const x=_.currentChar();return x===ut||x===En?(f(Ee.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),x===ut&&(_.next(),m(_,"'")),L):(m(_,"'"),L)}function I(_){const w=_.currentChar();switch(w){case"\\":case"'":return _.next(),`\\${w}`;case"u":return q(_,w,4);case"U":return q(_,w,6);default:return f(Ee.UNKNOWN_ESCAPE_SEQUENCE,o(),0,w),""}}function q(_,w,L){m(_,w);let x="";for(let F=0;F<L;F++){const H=Be(_);if(!H){f(Ee.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${w}${x}${_.currentChar()}`);break}x+=H}return`\\${w}${x}`}function V(_){return _!=="{"&&_!=="}"&&_!==nn&&_!==ut}function G(_){k(_);let w="",L="";for(;w=D(_,V);)L+=w;return L}function fe(_){let w="",L="";for(;w=ie(_);)L+=w;return L}function me(_){const w=L=>{const x=_.currentChar();return x==="{"||x==="@"||x==="|"||x==="("||x===")"||!x||x===nn?L:(L+=x,_.next(),w(L))};return w("")}function v(_){k(_);const w=m(_,"|");return k(_),w}function C(_,w){let L=null;switch(_.currentChar()){case"{":return w.braceNest>=1&&f(Ee.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),_.next(),L=d(w,2,"{"),k(_),w.braceNest++,L;case"}":return w.braceNest>0&&w.currentType===2&&f(Ee.EMPTY_PLACEHOLDER,o(),0),_.next(),L=d(w,3,"}"),w.braceNest--,w.braceNest>0&&k(_),w.inLinked&&w.braceNest===0&&(w.inLinked=!1),L;case"@":return w.braceNest>0&&f(Ee.UNTERMINATED_CLOSING_BRACE,o(),0),L=O(_,w)||h(w),w.braceNest=0,L;default:{let F=!0,H=!0,T=!0;if(U(_))return w.braceNest>0&&f(Ee.UNTERMINATED_CLOSING_BRACE,o(),0),L=d(w,1,v(_)),w.braceNest=0,w.inLinked=!1,L;if(w.braceNest>0&&(w.currentType===4||w.currentType===5||w.currentType===6))return f(Ee.UNTERMINATED_CLOSING_BRACE,o(),0),w.braceNest=0,B(_,w);if(F=p(_,w))return L=d(w,4,bt(_)),k(_),L;if(H=g(_,w))return L=d(w,5,vt(_)),k(_),L;if(T=E(_,w))return L=d(w,6,le(_)),k(_),L;
37if(!F&&!H&&!T)return L=d(w,12,G(_)),f(Ee.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,L.value),k(_),L;break}}return L}function O(_,w){const{currentType:L}=w;let x=null;const F=_.currentChar();switch((L===7||L===8||L===11||L===9)&&(F===ut||F===nn)&&f(Ee.INVALID_LINKED_FORMAT,o(),0),F){case"@":return _.next(),x=d(w,7,"@"),w.inLinked=!0,x;case".":return k(_),_.next(),d(w,8,".");case":":return k(_),_.next(),d(w,9,":");default:return U(_)?(x=d(w,1,v(_)),w.braceNest=0,w.inLinked=!1,x):R(_,w)||j(_,w)?(k(_),O(_,w)):A(_,w)?(k(_),d(w,11,fe(_))):M(_,w)?(k(_),F==="{"?C(_,w)||x:d(w,10,me(_))):(L===7&&f(Ee.INVALID_LINKED_FORMAT,o(),0),w.braceNest=0,w.inLinked=!1,B(_,w))}}function B(_,w){let L={type:13};if(w.braceNest>0)return C(_,w)||h(w);if(w.inLinked)return O(_,w)||h(w);switch(_.currentChar()){case"{":return C(_,w)||h(w);case"}":return f(Ee.UNBALANCED_CLOSING_BRACE,o(),0),_.next(),d(w,3,"}");case"@":return O(_,w)||h(w);default:{if(U(_))return L=d(w,1,v(_)),w.braceNest=0,w.inLinked=!1,L;if(Q(_))return d(w,0,Ve(_));break}}return L}function $(){const{currentType:_,offset:w,startLoc:L,endLoc:x}=l;return l.lastType=_,l.lastOffset=w,l.lastStartLoc=L,l.lastEndLoc=x,l.offset=s(),l.startLoc=o(),r.currentChar()===En?d(l,13):B(r,l)}return{nextToken:$,currentOffset:s,currentPosition:o,context:u}}const qE="parser",WE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function QE(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function KE(e={}){const t=e.location!==!1,{onError:n}=e;function r(b,S,p,g,...E){const R=b.currentPosition();if(R.offset+=g,R.column+=g,n){const A=t?xa(p,R):null,j=ci(S,A,{domain:qE,args:E}
37);n(j)}}function s(b,S,p){const g={type:b};return t&&(g.start=S,g.end=S,g.loc={start:p,end:p}),g}function o(b,S,p,g){t&&(b.end=S,b.loc&&(b.loc.end=p))}function i(b,S){const p=b.context(),g=s(3,p.offset,p.startLoc);return g.value=S,o(g,b.currentOffset(),b.currentPosition()),g}function a(b,S){const p=b.context(),{lastOffset:g,lastStartLoc:E}=p,R=s(5,g,E);return R.index=parseInt(S,10),b.nextToken(),o(R,b.currentOffset(),b.currentPosition()),R}function l(b,S){const p=b.context(),{lastOffset:g,lastStartLoc:E}=p,R=s(4,g,E);return R.key=S,b.nextToken(),o(R,b.currentOffset(),b.currentPosition()),R}function u(b,S){const p=b.context(),{lastOffset:g,lastStartLoc:E}=p,R=s(9,g,E);return R.value=S.replace(WE,QE),b.nextToken(),o(R,b.currentOffset(),b.currentPosition()),R}function c(b){const S=b.nextToken(),p=b.context(),{lastOffset:g,lastStartLoc:E}=p,R=s(8,g,E);return S.type!==11?(r(b,Ee.UNEXPECTED_EMPTY_LINKED_MODIFIER,p.lastStartLoc,0),R.value="",o(R,g,E),{nextConsumeToken:S,node:R}):(S.value==null&&r(b,Ee.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Wt(S)),R.value=S.value||"",o(R,b.currentOffset(),b.currentPosition()),{node:R})}function f(b,S){const p=b.context(),g=s(7,p.offset,p.startLoc);return g.value=S,o(g,b.currentOffset(),b.currentPosition()),g}function d(b){const S=b.context(),p=s(6,S.offset,S.startLoc);let g=b.nextToken();if(g.type===8){const E=c(b);p.modifier=E.node,g=E.nextConsumeToken||b.nextToken()}switch(g.type!==9&&r(b,Ee.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Wt(g)),g=b.nextToken(),g.type===2&&(g=b.nextToken()),g.type){case 10:g.value==null&&r(b,Ee.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Wt(g)),p.key=f(b,g.value||"");break;case 4:g.value==null&&r(b,Ee.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Wt(g)),p.key=l(b,g.value||"");break;case 5:g.value==null&&r(b,Ee.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Wt(g)),p.key=a(b,g.value||"");break;case 6:g.value==null&&r(b,Ee.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Wt(g)),p.key=u(b,g.value||"");break;default:{r(b,Ee.UNEXPECTED_EMPTY_LINKED_KEY,S.lastStartLoc,0);const E=b.context(),R=s(7,E.offset,E.startLoc);return R.value="",o(R,E.offset,E.startLoc),p.key=R,o(p,E.offset,E.startLoc),{nextConsumeToken:g,node:p}}}return o(p,b.currentOffset(),b.currentPosition()),{node:p}}function h(b){const S=b.context(),p=S.currentType===1?b.currentOffset():S.offset,g=S.currentType===1?S.endLoc:S.startLoc,E=s(2,p,g);E.items=[];let R=null;do{const M=R||b.nextToken();switch(R=null,M.type){case 0:M.value==null&&r(b,Ee.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Wt(M)),E.items.push(i(b,M.value||""));break;case 5:M.value==null&&r(b,Ee.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Wt(M)),E.items.push(a(b,M.value||""));break;case 4:M.value==null&&r(b,Ee.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Wt(M)),E.items.push(l(b,M.value||""));break;case 6:M.value==null&&r(b,Ee.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Wt(M)),E.items.push(u(b,M.value||""));break;case 7:{const U=d(b);E.items.push(U.node),R=U.nextConsumeToken||null;break}}}while(S.currentType!==13&&S.currentType!==1);const A=S.currentType===1?S.lastOffset:b.currentOffset(),j=S.currentType===1?S.lastEndLoc:b.currentPosition();return o(E,A,j),E}function m(b,S,p,g){const E=b.context();let R=g.items.length===0;const A=s(1,S,p);A.cases=[],A.cases.push(g);do{const j=h(b);R||(R=j.items.length===0),A.cases.push(j)}while(E.currentType!==13);return R&&r(b,Ee.MUST_HAVE_MESSAGES_IN_PLURAL,p,0),o(A,b.currentOffset(),b.currentPosition()),A}function y(b){const S=b.context(),{offset:p,startLoc:g}=S,E=h(b);return S.currentType===13?E:m(b,p,g,E)}function k(b){const S=jE(b,Me({},e)),p=S.context(),g=s(0,p.offset,p.startLoc);return t&&g.loc&&(g.loc.source=b),g.body=y(S),e.onCacheKey&&(g.cacheKey=e.onCacheKey(b)),p.currentType!==13&&r(S,Ee.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,b[p.offset]||""),o(g,S.currentOffset(),S.currentPosition()),g}return{parse:k}}function Wt(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function GE(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Mu(e,t){for(let n=0;n<e.length;n++)Cl(e[n],t)}function Cl(e,t){switch(e.type){case 1:Mu(e.cases,t),t.helper("plural");break;case 2:Mu(e.items,t);break;case 6:{Cl(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function YE(e,t={}){const n=GE(e);n.helper("normalize"),e.body&&Cl(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function zE(e){const t=e.body;
37return t.type===2?Nu(t):t.cases.forEach(n=>Nu(n)),e}function Nu(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=vl(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function br(e){switch(e.t=e.type,e.type){case 0:{const t=e;br(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)br(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)br(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;br(t.key),t.k=t.key,delete t.key,t.modifier&&(br(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function JE(e,t){const{filename:n,breakLineCode:r,needIndent:s}=t,o=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:s,indentLevel:0};o&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(y,k){i.code+=y}function u(y,k=!0){const b=k?r:"";l(s?b+"  ".repeat(y):b)}function c(y=!0){const k=++i.indentLevel;y&&u(k)}function f(y=!0){const k=--i.indentLevel;y&&u(k)}function d(){u(i.indentLevel)}return{context:a,push:l,indent:c,deindent:f,newline:d,helper:y=>`_${y}`,needIndent:()=>i.needIndent}}function XE(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Wr(e,t.key),t.modifier?(e.push(", "),Wr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function ZE(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o<s&&(Wr(e,t.items[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function eC(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o<s&&(Wr(e,t.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function tC(e,t){t.body?Wr(e,t.body):e.push("null")}function Wr(e,t){const{helper:n}=e;switch(t.type){case 0:tC(e,t);break;case 1:eC(e,t);break;case 2:ZE(e,t);break;case 6:XE(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const nC=(e,t={})=>{const n=W(t.mode)?t.mode:"normal",r=W(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
38`,o=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=JE(e,{filename:r,breakLineCode:s,needIndent:o});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(o),i.length>0&&(a.push(`const { ${vl(i.map(c=>`${c}: _${c}`),", ")} } = ctx`),a.newline()),a.push("return "),Wr(a,e),a.deindent(o),a.push("}"),delete e.helpers;const{code:l,map:u}=a.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function rC(e,t={}){const n=Me({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,a=KE(n).parse(e);return r?(o&&zE(a),s&&br(a),{ast:a,code:""}):(YE(a,n),nC(a,n))}/*!
39  * core-base v10.0.8
40  * (c) 2025 kazuya kawaguchi
41  * Released under the MIT License.
42  */function sC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(bl().__INTLIFY_PROD_DEVTOOLS__=!1)}function Zt(e){return ye(e)&&kl(e)===0&&($t(e,"b")||$t(e,"body"))}const lp=["b","body"];function oC(e){return Bn(e,lp)}const cp=["c","cases"];function iC(e){return Bn(e,cp,[])}const up=["s","static"];function aC(e){return Bn(e,up)}const fp=["i","items"];function lC(e){return Bn(e,fp,[])}const dp=["t","type"];function kl(e){return Bn(e,dp)}const hp=["v","value"];function Zs(e,t){const n=Bn(e,hp);if(n!=null)return n;throw Os(t)}const pp=["m","modifier"];function cC(e){return Bn(e,pp)}const gp=["k","key"];function uC(e){const t=Bn(e,gp);if(t)return t;throw Os(6)}function Bn(e,t,n){for(let r=0;r<t.length;r++){const s=t[r];
42if($t(e,s)&&e[s]!=null)return e[s]}return n}const mp=[...lp,...cp,...up,...fp,...gp,...pp,...hp,...dp];function Os(e){return new Error(`unhandled node type: ${e}`)}function Fi(e){return n=>fC(n,e)}function fC(e,t){const n=oC(t);if(n==null)throw Os(0);if(kl(n)===1){const o=iC(n);return e.plural(o.reduce((i,a)=>[...i,$u(e,a)],[]))}else return $u(e,n)}function $u(e,t){const n=aC(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=lC(t).reduce((s,o)=>[...s,Ia(e,o)],[]);return e.normalize(r)}}function Ia(e,t){const n=kl(t);switch(n){case 3:return Zs(t,n);case 9:return Zs(t,n);case 4:{const r=t;if($t(r,"k")&&r.k)return e.interpolate(e.named(r.k));if($t(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Os(n)}case 5:{const r=t;if($t(r,"i")&&We(r.i))return e.interpolate(e.list(r.i));if($t(r,"index")&&We(r.index))return e.interpolate(e.list(r.index));throw Os(n)}case 6:{const r=t,s=cC(r),o=uC(r);return e.linked(Ia(e,o),s?Ia(e,s):void 0,e.type)}case 7:return Zs(t,n);case 8:return Zs(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const dC=e=>e;let eo=ke();function hC(e,t={}){let n=!1;const r=t.onError||$E;return t.onError=s=>{n=!0,r(s)},{...rC(e,t),detectError:n}}function pC(e,t){if(W(e)){Ne(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||dC)(e),s=eo[r];if(s)return s;const{ast:o,detectError:i}=hC(e,{...t,location:!1,jit:!0}),a=Fi(o);return i?a:eo[r]=a}else{const n=e.cacheKey;if(n){const r=eo[n];return r||(eo[n]=Fi(e))}else return Fi(e)}}let Ps=null;function gC(e){Ps=e}function mC(e,t,n){Ps&&Ps.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const yC=_C("function:translate");function _C(e){return t=>Ps&&Ps.emit(e,t)}const fn={INVALID_ARGUMENT:NE,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},bC=24;function dn(e){return ci(e,null,void 0)}function Tl(e,t){return t.locale!=null?Du(t.locale):Du(e.locale)}let Ui;function Du(e){if(W(e))return e;if(Re(e)){if(e.resolvedOnce&&Ui!=null)return Ui;if(e.constructor.name==="Function"){const t=e();if(QS(t))throw dn(fn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ui=t}else throw dn(fn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw dn(fn.NOT_SUPPORT_LOCALE_TYPE)}function vC(e,t,n){return[...new Set([n,...Fe(t)?t:ye(t)?Object.keys(t):W(t)?[t]:[n]])]}function yp(e,t,n){const r=W(n)?n:No,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;Fe(i);)i=Fu(o,i,t);const a=Fe(t)||!ge(t)?t:t.default?t.default:null;i=W(a)?[a]:a,Fe(i)&&Fu(o,i,!1),s.__localeChainCache.set(r,o)}return o}function Fu(e,t,n){let r=!0;for(let s=0;s<t.length&&Ne(r);s++){const o=t[s];W(o)&&(r=wC(e,t[s],n))}return r}function wC(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=SC(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function SC(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(Fe(n)||ge(n))&&n[s]&&(r=n[s])}return r}const Vn=[];Vn[0]={w:[0],i:[3,0],"[":[4],o:[7]};Vn[1]={w:[1],".":[2],"[":[4],o:[7]};Vn[2]={w:[2],i:[3,0],0:[3,0]};Vn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Vn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Vn[5]={"'":[4,0],o:8,l:[5,0]};Vn[6]={'"':[4,0],o:8,l:[6,0]};const EC=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function CC(e){return EC.test(e)}function kC(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function TC(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function RC(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:CC(t)?kC(t):"*"+t}function AC(e){const t=[];let n=-1,r=0,s=0,o,i,a,l,u,c,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,r=4,d[0]();else{if(s=0,i===void 0||(i=RC(i),i===!1))return!1;d[1]()}};function h(){const m=e[n+1];if(r===5&&m==="'"||r===6&&m==='"')return n++,a="\\"+m,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&h())){if(l=TC(o),f=Vn[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(a=o,c()===!1))))return;if(r===7)return t}}const Uu=new Map;function LC(e,t){return ye(e)?e[t]:null}function OC(e,t){if(!ye(e))return null;let n=Uu.get(t);if(n||(n=AC(t),n&&Uu.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const i=n[o];if(mp.includes(i)&&Zt(s))return null;const a=s[i];if(a===void 0||Re(s))return null;s=a,o++}return s}const PC="10.0.8",ui=-1,No="en-US",Bu="",Vu=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function xC(){return{upper:(e,t)=>t==="text"&&W(e)?e.toUpperCase():t==="vnode"&&ye(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&W(e)?e.toLowerCase():t==="vnode"&&ye(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>
42t==="text"&&W(e)?Vu(e):t==="vnode"&&ye(e)&&"__v_isVNode"in e?Vu(e.children):e}}let _p;function IC(e){_p=e}let bp;function MC(e){bp=e}let vp;function NC(e){vp=e}let wp=null;const $C=e=>{wp=e},DC=()=>wp;let Sp=null;const Hu=e=>{Sp=e},FC=()=>Sp;let ju=0;function UC(e={}){const t=Re(e.onWarn)?e.onWarn:US,n=W(e.version)?e.version:PC,r=W(e.locale)||Re(e.locale)?e.locale:No,s=Re(r)?No:r,o=Fe(e.fallbackLocale)||ge(e.fallbackLocale)||W(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=ge(e.messages)?e.messages:Bi(s),a=ge(e.datetimeFormats)?e.datetimeFormats:Bi(s),l=ge(e.numberFormats)?e.numberFormats:Bi(s),u=Me(ke(),e.modifiers,xC()),c=e.pluralRules||ke(),f=Re(e.missing)?e.missing:null,d=Ne(e.missingWarn)||Io(e.missingWarn)?e.missingWarn:!0,h=Ne(e.fallbackWarn)||Io(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,y=!!e.unresolving,k=Re(e.postTranslation)?e.postTranslation:null,b=ge(e.processor)?e.processor:null,S=Ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,p=!!e.escapeParameter,g=Re(e.messageCompiler)?e.messageCompiler:_p,E=Re(e.messageResolver)?e.messageResolver:bp||LC,R=Re(e.localeFallbacker)?e.localeFallbacker:vp||vC,A=ye(e.fallbackContext)?e.fallbackContext:void 0,j=e,M=ye(j.__datetimeFormatters)?j.__datetimeFormatters:new Map,U=ye(j.__numberFormatters)?j.__numberFormatters:new Map,Q=ye(j.__meta)?j.__meta:{};ju++;const D={version:n,cid:ju,locale:r,fallbackLocale:o,messages:i,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:h,fallbackFormat:m,unresolving:y,postTranslation:k,processor:b,warnHtmlMessage:S,escapeParameter:p,messageCompiler:g,messageResolver:E,localeFallbacker:R,fallbackContext:A,onWarn:t,__meta:Q};return D.datetimeFormats=a,D.numberFormats=l,D.__datetimeFormatters=M,D.__numberFormatters=U,__INTLIFY_PROD_DEVTOOLS__&&mC(D,n,Q),D}const Bi=e=>({[e]:ke()});function Rl(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return W(a)?a:t}else return t}function ts(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function BC(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function VC(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(BC(e,t[r]))return!0;return!1}function qu(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,u,c,f]=Ma(...t),d=Ne(c.missingWarn)?c.missingWarn:e.missingWarn;Ne(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,m=Tl(e,c),y=i(e,s,m);if(!W(l)||l==="")return new Intl.DateTimeFormat(m,f).format(u);let k={},b,S=null;const p="datetime format";for(let R=0;R<y.length&&(b=y[R],k=n[b]||{},S=k[l],!ge(S));R++)Rl(e,l,b,d,p);if(!ge(S)||!W(b))return r?ui:l;let g=`${b}__${l}`;si(f)||(g=`${g}__${JSON.stringify(f)}`);let E=a.get(g);return E||(E=new Intl.DateTimeFormat(b,Me({},S,f)),a.set(g,E)),h?E.formatToParts(u):E.format(u)}const Ep=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ma(...e){const[t,n,r,s]=e,o=ke();let i=ke(),a;if(W(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw dn(fn.INVALID_ISO_DATE_ARGUMENT);const u=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(u);try{a.toISOString()}catch{throw dn(fn.INVALID_ISO_DATE_ARGUMENT)}}else if(HS(t)){if(isNaN(t.getTime()))throw dn(fn.INVALID_DATE_ARGUMENT);a=t}else if(We(t))a=t;else throw dn(fn.INVALID_ARGUMENT);return W(n)?o.key=n:ge(n)&&Object.keys(n).forEach(l=>{Ep.includes(l)?i[l]=n[l]:o[l]=n[l]}),W(r)?o.locale=r:ge(r)&&(i=r),ge(s)&&(i=s),[o.key||"",a,o,i]}function Wu(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Qu(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,u,c,f]=Na(...t),d=Ne(c.missingWarn)?c.missingWarn:e.missingWarn;Ne(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,m=Tl(e,c),y=i(e,s,m);if(!W(l)||l==="")return new Intl.NumberFormat(m,f).format(u);let k={},b,S=null;const p="number format";for(let R=0;R<y.length&&(b=y[R],k=n[b]||{},S=k[l],!ge(S));R++)Rl(e,l,b,d,p);if(!ge(S)||!W(b))return r?ui:l;let g=`${b}__${l}`;si(f)||(g=`${g}__${JSON.stringify(f)}`);let E=a.get(g);return E||(E=new Intl.NumberFormat(b,Me({},S,f)),a.set(g,E)),h?E.formatToParts(u):E.format(u)}const Cp=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Na(...e){const[t,n,r,s]=e,o=ke();let i=ke();if(!We(t))throw dn(fn.INVALID_ARGUMENT);const a=t;
42return W(n)?o.key=n:ge(n)&&Object.keys(n).forEach(l=>{Cp.includes(l)?i[l]=n[l]:o[l]=n[l]}),W(r)?o.locale=r:ge(r)&&(i=r),ge(s)&&(i=s),[o.key||"",a,o,i]}function Ku(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}const HC=e=>e,jC=e=>"",qC="text",WC=e=>e.length===0?"":vl(e),QC=KS;function Gu(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function KC(e){const t=We(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(We(e.named.count)||We(e.named.n))?We(e.named.count)?e.named.count:We(e.named.n)?e.named.n:t:t}function GC(e,t){t.count||(t.count=e),t.n||(t.n=e)}function YC(e={}){const t=e.locale,n=KC(e),r=ye(e.pluralRules)&&W(t)&&Re(e.pluralRules[t])?e.pluralRules[t]:Gu,s=ye(e.pluralRules)&&W(t)&&Re(e.pluralRules[t])?Gu:void 0,o=b=>b[r(n,b.length,s)],i=e.list||[],a=b=>i[b],l=e.named||ke();We(e.pluralIndex)&&GC(n,l);const u=b=>l[b];function c(b,S){const p=Re(e.messages)?e.messages(b,!!S):ye(e.messages)?e.messages[b]:!1;return p||(e.parent?e.parent.message(b):jC)}const f=b=>e.modifiers?e.modifiers[b]:HC,d=ge(e.processor)&&Re(e.processor.normalize)?e.processor.normalize:WC,h=ge(e.processor)&&Re(e.processor.interpolate)?e.processor.interpolate:QC,m=ge(e.processor)&&W(e.processor.type)?e.processor.type:qC,k={list:a,named:u,plural:o,linked:(b,...S)=>{const[p,g]=S;let E="text",R="";S.length===1?ye(p)?(R=p.modifier||R,E=p.type||E):W(p)&&(R=p||R):S.length===2&&(W(p)&&(R=p||R),W(g)&&(E=g||E));const A=c(b,!0)(k),j=E==="vnode"&&Fe(A)&&R?A[0]:A;return R?f(R)(j,E):j},message:c,type:m,interpolate:h,normalize:d,values:Me(ke(),i,l)};return k}const Yu=()=>"",Tt=e=>Re(e);function zu(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:a}=e,[l,u]=$a(...t),c=Ne(u.missingWarn)?u.missingWarn:e.missingWarn,f=Ne(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=Ne(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,m=W(u.default)||Ne(u.default)?Ne(u.default)?o?l:()=>l:u.default:n?o?l:()=>l:null,y=n||m!=null&&(W(m)||Re(m)),k=Tl(e,u);d&&zC(u);let[b,S,p]=h?[l,k,a[k]||ke()]:kp(e,l,k,i,f,c),g=b,E=l;if(!h&&!(W(g)||Zt(g)||Tt(g))&&y&&(g=m,E=g),!h&&(!(W(g)||Zt(g)||Tt(g))||!W(S)))return s?ui:l;let R=!1;const A=()=>{R=!0},j=Tt(g)?g:Tp(e,l,S,g,E,A);if(R)return g;const M=ZC(e,S,p,u),U=YC(M),Q=JC(e,j,U);let D=r?r(Q,l):Q;if(d&&W(D)&&(D=qS(D)),__INTLIFY_PROD_DEVTOOLS__){const J={timestamp:Date.now(),key:W(l)?l:Tt(g)?g.key:"",locale:S||(Tt(g)?g.locale:""),format:W(g)?g:Tt(g)?g.source:"",message:D};J.meta=Me({},e.__meta,DC()||{}),yC(J)}return D}function zC(e){Fe(e.list)?e.list=e.list.map(t=>W(t)?Lu(t):t):ye(e.named)&&Object.keys(e.named).forEach(t=>{W(e.named[t])&&(e.named[t]=Lu(e.named[t]))})}function kp(e,t,n,r,s,o){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f=ke(),d,h=null;const m="translate";for(let y=0;y<c.length&&(d=c[y],f=i[d]||ke(),(h=l(f,t))===null&&(h=f[t]),!(W(h)||Zt(h)||Tt(h)));y++)if(!VC(d,c)){const k=Rl(e,t,d,o,m);k!==t&&(h=k)}return[h,d,f]}function Tp(e,t,n,r,s,o){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Tt(r)){const u=r;return u.locale=u.locale||n,u.key=u.key||t,u}if(i==null){const u=()=>r;return u.locale=n,u.key=t,u}const l=i(r,XC(e,n,s,r,a,o));return l.locale=n,l.key=t,l.source=r,l}function JC(e,t,n){return t(n)}function $a(...e){const[t,n,r]=e,s=ke();if(!W(t)&&!We(t)&&!Tt(t)&&!Zt(t))throw dn(fn.INVALID_ARGUMENT);const o=We(t)?String(t):(Tt(t),t);return We(n)?s.plural=n:W(n)?s.default=n:ge(n)&&!si(n)?s.named=n:Fe(n)&&(s.list=n),We(r)?s.plural=r:W(r)?s.default=r:ge(r)&&Me(s,r),[o,s]}function XC(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>BS(t,n,i)}}function ZC(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:s,pluralRules:o,messages:(h,m)=>{let y=i(n,h);if(y==null&&(c||m)){const[,,k]=kp(c||e,h,t,a,l,u);y=i(k,h)}if(W(y)||Zt(y)){let k=!1;const S=Tp(e,h,t,y,h,()=>{k=!0});return k?Yu:S}else return Tt(y)?y:Yu}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),We(r.plural)&&(d.pluralIndex=r.plural),d}sC();/*!
43  * vue-i18n v10.0.8
44  * (c) 2025 kazuya kawaguchi
45  * Released under the MIT License.
46  */const ek="10.0.8";function tk(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(bl().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ot={UNEXPECTED_RETURN_TYPE:bC,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Vt(e,...t){return ci(e,null,void 0)}const Da=Un("__translateVNode"),Fa=Un("__datetimeParts"),Ua=Un("__numberParts"),nk=Un("__setPluralRules"),rk=Un("__injectWithOption"),Ba=Un("__dispose");function xs(e){if(!ye(e)||Zt(e))return e;for(const t in e)if($t(e,t))if(!t.includes("."))ye(e[t])&&xs(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let i=0;i<r;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in s||(s[n[i]]=ke()),!ye(s[n[i]])){o=!0;break}s=s[n[i]]}if(o||(Zt(s)?mp.includes(n[r])||delete e[t]:(s[n[r]]=e[t],delete e[t])),!Zt(s)){const i=s[n[r]];ye(i)&&xs(i)}}return e}function Rp(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,i=ge(n)?n:Fe(r)?ke():{[e]:ke()};if(Fe(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||ke(),Or(u,i[l])):Or(u,i)}else W(a)&&Or(JSON.parse(a),i)}),s==null&&o)for(const a in i)$t(i,a)&&xs(i[a]);return i}function Ap(e){return e.type}function sk(e,t,n){let r=ye(t.messages)?t.messages:ke();"__i18nGlobal"in n&&(r=Rp(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);
46s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(ye(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ye(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Ju(e){return be(Mn,null,e,0)}const Xu="__INTLIFY_META__",Zu=()=>[],ok=()=>!1;let ef=0;function tf(e){return(t,n,r,s)=>e(n,r,_t()||void 0,s)}const ik=()=>{const e=_t();let t=null;return e&&(t=Ap(e)[Xu])?{[Xu]:t}:null};function Lp(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,o=xo?oe:Dn;let i=Ne(e.inheritLocale)?e.inheritLocale:!0;const a=o(t&&i?t.locale.value:W(e.locale)?e.locale:No),l=o(t&&i?t.fallbackLocale.value:W(e.fallbackLocale)||Fe(e.fallbackLocale)||ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=o(Rp(a.value,e)),c=o(ge(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=o(ge(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:Ne(e.missingWarn)||Io(e.missingWarn)?e.missingWarn:!0,h=t?t.fallbackWarn:Ne(e.fallbackWarn)||Io(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:Ne(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,k=Re(e.missing)?e.missing:null,b=Re(e.missing)?tf(e.missing):null,S=Re(e.postTranslation)?e.postTranslation:null,p=t?t.warnHtmlMessage:Ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const E=t?t.modifiers:ge(e.modifiers)?e.modifiers:{};let R=e.pluralRules||t&&t.pluralRules,A;A=(()=>{r&&Hu(null);const T={version:ek,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:E,pluralRules:R,missing:b===null?void 0:b,missingWarn:d,fallbackWarn:h,fallbackFormat:y,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:p,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};T.datetimeFormats=c.value,T.numberFormats=f.value,T.__datetimeFormatters=ge(A)?A.__datetimeFormatters:void 0,T.__numberFormatters=ge(A)?A.__numberFormatters:void 0;const P=UC(T);return r&&Hu(P),P})(),ts(A,a.value,l.value);function M(){return[a.value,l.value,u.value,c.value,f.value]}const U=te({get:()=>a.value,set:T=>{a.value=T,A.locale=a.value}}),Q=te({get:()=>l.value,set:T=>{l.value=T,A.fallbackLocale=l.value,ts(A,a.value,T)}}),D=te(()=>u.value),J=te(()=>c.value),ie=te(()=>f.value);function ue(){return Re(S)?S:null}function z(T){S=T,A.postTranslation=T}function ne(){return k}function Y(T){T!==null&&(b=tf(T)),k=T,A.missing=b}const ae=(T,P,K,Z,he,pe)=>{M();let Pe;try{__INTLIFY_PROD_DEVTOOLS__,r||(A.fallbackContext=t?FC():void 0),Pe=T(A)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(A.fallbackContext=void 0)}if(K!=="translate exists"&&We(Pe)&&Pe===ui||K==="translate exists"&&!Pe){const[Ue,at]=P();return t&&m?Z(t):he(Ue)}else{if(pe(Pe))return Pe;throw Vt(Ot.UNEXPECTED_RETURN_TYPE)}};function Be(...T){return ae(P=>Reflect.apply(zu,null,[P,...T]),()=>$a(...T),"translate",P=>Reflect.apply(P.t,P,[...T]),P=>P,P=>W(P))}function Ye(...T){const[P,K,Z]=T;if(Z&&!ye(Z))throw Vt(Ot.INVALID_ARGUMENT);return Be(P,K,Me({resolvedMessage:!0},Z||{}))}function Ve(...T){return ae(P=>Reflect.apply(qu,null,[P,...T]),()=>Ma(...T),"datetime format",P=>Reflect.apply(P.d,P,[...T]),()=>Bu,P=>W(P))}function bt(...T){return ae(P=>Reflect.apply(Qu,null,[P,...T]),()=>Na(...T),"number format",P=>Reflect.apply(P.n,P,[...T]),()=>Bu,P=>W(P))}function vt(T){return T.map(P=>W(P)||We(P)||Ne(P)?Ju(String(P)):P)}const le={normalize:vt,interpolate:T=>T,type:"vnode"};function I(...T){return ae(P=>{let K;const Z=P;try{Z.processor=le,K=Reflect.apply(zu,null,[Z,...T])}finally{Z.processor=null}return K},()=>$a(...T),"translate",P=>P[Da](...T),P=>[Ju(P)],P=>Fe(P))}function q(...T){return ae(P=>Reflect.apply(Qu,null,[P,...T]),()=>Na(...T),"number format",P=>P[Ua](...T),Zu,P=>W(P)||Fe(P))}function V(...T){return ae(P=>Reflect.apply(qu,null,[P,...T]),()=>Ma(...T),"datetime format",P=>P[Fa](...T),Zu,P=>W(P)||Fe(P))}function G(T){R=T,A.pluralRules=R}function fe(T,P){return ae(()=>{if(!T)return!1;const K=W(P)?P:a.value,Z=C(K),he=A.messageResolver(Z,T);return Zt(he)||Tt(he)||W(he)},()=>[T],"translate exists",K=>Reflect.apply(K.te,K,[T,P]),ok,K=>Ne(K))}function me(T){let P=null;const K=yp(A,l.value,a.value);for(let Z=0;Z<K.length;Z++){const he=u.value[K[Z]]||{},pe=A.messageResolver(he,T);if(pe!=null){P=pe;break}}return P}function v(T){const P=me(T);return P??(t?t.tm(T)||{}:{})}function C(T){return u.value[T]||{}}function O(T,P){if(s){const K={[T]:P};for(const Z in K)$t(K,Z)&&xs(K[Z]);P=K[T]}u.value[T]=P,A.messages=u.value}function B(T,P){u.value[T]=u.value[T]||{};const K={[T]:P};if(s)for(const Z in K)$t(K,Z)&&xs(K[Z]);P=K[T],Or(P,u.value[T]),A.messages=u.value}function $(T){return c.value[T]||{}}function _(T,P){c.value[T]=P,A.datetimeFormats=c.value,Wu(A,T,P)}function w(T,P){c.value[T]=Me(c.value[T]||{},P),A.datetimeFormats=c.value,Wu(A,T,P)}function L(T){return f.value[T]||{}}function x(T,P){f.value[T]=P,A.numberFormats=f.value,Ku(A,T,P)}function F(T,P){f.value[T]=Me(f.value[T]||{},P),A.numberFormats=f.value,Ku(A,T,P)}ef++,t&&xo&&($e(t.locale,T=>{i&&(a.value=T,A.locale=T,ts(A,a.value,l.value))}),$e(t.fallbackLocale,T=>{i&&(l.value=T,A.fallbackLocale=T,ts(A,a.value,l.value))}));const H={id:ef,locale:U,fallbackLocale:Q,get inheritLocale(){return i},set inheritLocale(T){i=T,T&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,ts(A,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:D,get modifiers(){return E},get pluralRules(){return R||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(T){d=T,A.missingWarn=d},get fallbackWarn(){return h},set fallbackWarn(T){h=T,A.fallbackWarn=h},get fallbackRoot(){return m},set fallbackRoot(T){m=T},get fallbackFormat(){return y},set fallbackFormat(T){y=T,A.fallbackFormat=y},get warnHtmlMessage(){return p},set warnHtmlMessage(T){p=T,A.warnHtmlMessage=T},get escapeParameter(){return g},set escapeParameter(T){g=T,A.escapeParameter=T},t:Be,getLocaleMessage:C,setLocaleMessage:O,mergeLocaleMessage:B,getPostTranslationHandler:ue,setPostTranslationHandler:z,getMissingHandler:ne,setMissingHandler:Y,[nk]:G};return H.datetimeFormats=J,H.numberFormats=ie,H.rt=Ye,H.te=fe,H.tm=v,H.d=Ve,H.n=bt,H.getDateTimeFormat=$,H.setDateTimeFormat=_,H.mergeDateTimeFormat=w,H.getNumberFormat=L,H.setNumberFormat=x,H.mergeNumberFormat=F,H[rk]=n,H[Da]=I,H[Fa]=V,H[Ua]=q,H}const Al={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function ak({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===Le?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},ke())}function Op(){return Le}const lk=nt({name:"i18n-t",props:Me({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>We(e)||!isNaN(e)}},Al),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Ll({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i=ke();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=W(e.plural)?+e.plural:e.plural);const a=ak(t,o),l=s[Da](e.keypath,a,i),u=Me(ke(),r),c=W(e.tag)||ye(e.tag)?e.tag:Op();return ze(c,u,l)}}}),nf=lk;function ck(e){return Fe(e)&&!W(e[0])}function Pp(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a=ke();e.locale&&(i.locale=e.locale),W(e.format)?i.key=e.format:ye(e.format)&&(W(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,h)=>n.includes(h)?Me(ke(),d,{[h]:e.format[h]}):d,ke()));const l=r(e.value,i,a);let u=[i.key];Fe(l)?u=l.map((d,h)=>{const m=s[d.type],y=m?m({[d.type]:d.value,index:h,parts:l}):[d.value];return ck(y)&&(y[0].key=`${d.type}-${h}`),y}):W(l)&&(u=[l]);const c=Me(ke(),o),f=W(e.tag)||ye(e.tag)?e.tag:Op();return ze(f,c,u)}}const uk=nt({name:"i18n-n",props:Me({value:{type:Number,required:!0},format:{type:[String,Object]}},Al),setup(e,t){const n=e.i18n||Ll({useScope:e.scope,__useComponent:!0});return Pp(e,t,Cp,(...r)=>n[Ua](...r))}}),rf=uk,fk=nt({name:"i18n-d",props:Me({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Al),setup(e,t){const n=e.i18n||Ll({useScope:e.scope,__useComponent:!0});return Pp(e,t,Ep,(...r)=>n[Fa](...r))}}),sf=fk;function dk(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function hk(e){const t=i=>{const{instance:a,value:l}=i;if(!a||!a.$)throw Vt(Ot.UNEXPECTED_ERROR);const u=dk(e,a.$),c=of(l);return[Reflect.apply(u.t,u,[...af(c)]),u]};return{created:(i,a)=>{const[l,u]=t(a);xo&&e.global===u&&(i.__i18nWatcher=$e(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=u,i.textContent=l},unmounted:i=>{xo&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,u=of(a);i.textContent=Reflect.apply(l.t,l,[...af(u)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function of(e){if(W(e))return{path:e};if(ge(e)){if(!("path"in e))throw Vt(Ot.REQUIRED_VALUE,"path");return e}else throw Vt(Ot.INVALID_VALUE)}function af(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return W(n)&&(i.locale=n),We(s)&&(i.plural=s),We(o)&&(i.plural=o),[t,a,i]}function pk(e,t,...n){const r=ge(n[0])?n[0]:{};(Ne(r.globalInstall)?r.globalInstall:!0)&&([nf.name,"I18nT"].forEach(o=>e.component(o,nf)),[rf.name,"I18nN"].forEach(o=>e.component(o,rf)),[sf.name,"I18nD"].forEach(o=>e.component(o,sf))),e.directive("t",hk(t))}const gk=Un("global-vue-i18n");function mk(e={},t){const n=Ne(e.globalInjection)?e.globalInjection:!0,r=new Map,[s,o]=yk(e),i=Un("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function u(f){r.delete(f)}const c={get mode(){return"composition"}
46,async install(f,...d){if(f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,c),ge(d[0])){const y=d[0];c.__composerExtend=y.__composerExtend,c.__vueI18nExtend=y.__vueI18nExtend}let h=null;n&&(h=kk(f,c.global)),pk(f,c,...d);const m=f.unmount;f.unmount=()=>{h&&h(),c.dispose(),m()}},get global(){return o},dispose(){s.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:u};return c}function Ll(e={}){const t=_t();if(t==null)throw Vt(Ot.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Vt(Ot.NOT_INSTALLED);const n=_k(t),r=vk(n),s=Ap(t),o=bk(e,s);if(o==="global")return sk(r,e,s),r;if(o==="parent"){let l=wk(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Me({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=Lp(l),i.__composerExtend&&(a[Ba]=i.__composerExtend(a)),Ek(i,t,a),i.__setInstance(t,a)}return a}function yk(e,t,n){const r=Vo(),s=r.run(()=>Lp(e));if(s==null)throw Vt(Ot.UNEXPECTED_ERROR);return[r,s]}function _k(e){const t=Ge(e.isCE?gk:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Vt(e.isCE?Ot.NOT_INSTALLED_WITH_PROVIDE:Ot.UNEXPECTED_ERROR);return t}function bk(e,t){return si(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function vk(e){return e.mode==="composition"?e.global:e.global.__composer}function wk(e,t,n=!1){let r=null;const s=t.root;let o=Sk(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(o)),r!=null||s===o)break;o=o.parent}return r}function Sk(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ek(e,t,n){xr(()=>{},t),Za(()=>{const r=n;e.__deleteInstance(t);const s=r[Ba];s&&(s(),delete r[Ba])},t)}const Ck=["locale","fallbackLocale","availableLocales"],lf=["t","rt","d","n","tm","te"];function kk(e,t){const n=Object.create(null);return Ck.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw Vt(Ot.UNEXPECTED_ERROR);const i=Ie(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,lf.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw Vt(Ot.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,lf.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}tk();IC(pC);MC(OC);NC(yp);if(__INTLIFY_PROD_DEVTOOLS__){const e=bl();e.__INTLIFY__=!0,gC(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Tk(){return lr(qr)}function Rk(){return lr(wl)}function Ak(){return lr(li)}function Lk(){return lr(li)}function xp(){return lr(El)}const Ok=De({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){const t=ve(e._id);if(t.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const n=xp(),r=new RegExp([`<!--${Pu}-\\[(\\w+)\\]-->`,".+?",`<!--/${Pu}-->`].join(""),"g");t.hook("app:rendered",s=>{s.renderResult?.html!=null&&(s.renderResult.html=s.renderResult.html.replaceAll(r,(o,i)=>o.replace(/href="([^"]+)"/,`href="${encodeURI(n(i??""))}"`)))})}}),Pk=De({name:"i18n:plugin:route-locale-detect",dependsOn:["i18n:plugin"],async setup(e){let t,n;const r=ve(e._id),s=r.$router.currentRoute;async function o(a){let l=yE(r,a,r._vueI18n.__localeFromRoute(a),se(r.$i18n.locale),r.$i18n.getLocaleCookie());if(r._vueI18n.__firstAccess){r._vueI18n.__setLocale(l);
46const c=ep(se(r._vueI18n.global.fallbackLocale),[l]);await Promise.all(c.map(f=>r.$i18n.loadLocaleMessages(f))),await r.$i18n.loadLocaleMessages(l)}return await r.runWithContext(()=>np(r,l,r._vueI18n.__firstAccess))&&(l=se(r.$i18n.locale)),l}[t,n]=Nt(()=>o(s.value)),await t,n(),M_("locale-changing",async(a,l)=>{let u,c;const f=([u,c]=Nt(()=>r.runWithContext(()=>o(a))),u=await u,c(),u),d=([u,c]=Nt(()=>r.runWithContext(()=>rp({to:a,nuxtApp:r,from:l,locale:f,routeLocale:r._vueI18n.__localeFromRoute(a)},!0))),u=await u,c(),u);return r._vueI18n.__firstAccess=!1,[u,c]=Nt(()=>r.runWithContext(()=>sp({nuxt:r,redirectPath:d,locale:f,route:a}))),u=await u,c(),u},{global:!0})}});function xk(e,{extendComposer:t,extendComposerInstance:n}){const r=Vo(),s=e.install.bind(e);e.install=(o,...i)=>{const a=Me({},i[0]);a.__composerExtend=u=>(n(u,os(e)),()=>{}),e.mode==="legacy"&&(a.__vueI18nExtend=u=>(n(u,os(u)),()=>{})),Reflect.apply(s,e,[o,a]);const l=os(e);if(r.run(()=>{t(l),e.mode==="legacy"&&Xh(e.global)&&n(e.global,os(e.global))}),e.mode==="composition"&&o.config.globalProperties.$i18n!=null&&n(o.config.globalProperties.$i18n,l),o.unmount){const u=o.unmount.bind(o);o.unmount=()=>{r.stop(),u()}}}}const Ik=De({name:"i18n:plugin",parallel:zS,async setup(e){let t,n;const r=ve(e._id);Object.defineProperty(e.versions,"nuxtI18n",{get:()=>"9.5.6"});const s=r.$config.public.i18n,o=lE(s);aE(s,o),r.$config.public.i18n.defaultLocale=o;const i={...s,defaultLocale:o,baseUrl:vE(r)},a=([t,n]=Nt(()=>cE(GS,ve())),t=await t,n(),t);a.messages||={},a.fallbackLocale??=!1,o&&(a.locale=o);for(const f of $n)a.messages[f]??={};const l=mk(a);r._vueI18n=l,l.__localeFromRoute=rE(),l.__firstAccess=!0,l.__setLocale=f=>{const d=Mo(l);Ie(d.locale)?d.locale.value=f:d.locale=f};const u=EE(),c=$s();return xk(l,{extendComposer(f){const d=oe(i.locales);f.locales=te(()=>d.value);const h=oe($n);f.localeCodes=te(()=>h.value);const m=oe(i.baseUrl());f.baseUrl=te(()=>m.value),$e(f.locale,()=>m.value=i.baseUrl()),f.strategy=i.strategy,f.localeProperties=te(()=>jr.find(y=>y.code===f.locale.value)||{code:f.locale.value}),f.setLocale=async y=>{if(await np(r,y,l.__firstAccess),f.strategy==="no_prefix"){await f.loadLocaleMessages(y),l.__setLocale(y);return}const k=r.$router.currentRoute.value,b=await r.runWithContext(()=>rp({to:k,nuxtApp:r,locale:y,routeLocale:l.__localeFromRoute(k)}));await r.runWithContext(()=>sp({nuxt:r,redirectPath:b,locale:y,route:k},!0))},f.loadLocaleMessages=async y=>await Pa(y,La,f.mergeLocaleMessage.bind(f),r),f.differentDomains=i.differentDomains,f.defaultLocale=i.defaultLocale,f.getBrowserLocale=()=>SE(),f.getLocaleCookie=()=>CE(u,c,f.defaultLocale),f.setLocaleCookie=y=>{!c||!c.useCookie||(u.value=y)},f.onBeforeLanguageSwitch=(y,k,b,S)=>r.callHook("i18n:beforeLocaleSwitch",{oldLocale:y,newLocale:k,initialSetup:b,context:S}),f.onLanguageSwitched=(y,k)=>r.callHook("i18n:localeSwitched",{oldLocale:y,newLocale:k}),f.finalizePendingLocaleChange=async()=>{l.__pendingLocale&&(l.__setLocale(l.__pendingLocale),l.__resolvePendingLocalePromise?.(),l.__pendingLocale=void 0)},f.waitForPendingLocaleChange=async()=>{l.__pendingLocale&&l.__pendingLocalePromise&&await l.__pendingLocalePromise}},extendComposerInstance(f,d){const h=[["locales",()=>d.locales],["localeCodes",()=>d.localeCodes],["baseUrl",()=>d.baseUrl],["strategy",()=>d.strategy],["localeProperties",()=>d.localeProperties],["setLocale",()=>async m=>Reflect.apply(d.setLocale,d,[m])],["loadLocaleMessages",()=>async m=>Reflect.apply(d.loadLocaleMessages,d,[m])],["differentDomains",()=>d.differentDomains],["defaultLocale",()=>d.defaultLocale],["getBrowserLocale",()=>()=>Reflect.apply(d.getBrowserLocale,d,[])],["getLocaleCookie",()=>()=>Reflect.apply(d.getLocaleCookie,d,[])],["setLocaleCookie",()=>m=>Reflect.apply(d.setLocaleCookie,d,[m])],["onBeforeLanguageSwitch",()=>(m,y,k,b)=>Reflect.apply(d.onBeforeLanguageSwitch,d,[m,y,k,b])],["onLanguageSwitched",()=>(m,y)=>Reflect.apply(d.onLanguageSwitched,d,[m,y])],["finalizePendingLocaleChange",()=>()=>Reflect.apply(d.finalizePendingLocaleChange,d,[])],["waitForPendingLocaleChange",()=>()=>Reflect.apply(d.waitForPendingLocaleChange,d,[])]];for(const[m,y]of h)Object.defineProperty(f,m,{get:y})}}),r.vueApp.use(l),Object.defineProperty(r,"$i18n",{get:()=>Mo(l)}),{provide:{localeHead:lr(RE),localePath:Rk(),localeRoute:Ak(),getRouteBaseName:Tk(),switchLocalePath:xp(),resolveRoute:lr(Sl),localeLocation:Lk()}}}}),Mk=De({name:"pinia",setup(e){const t=F_();return e.vueApp.use(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),Nk=De({name:"nuxt:global-components"}),Ln={dashboard:mi(()=>X(()=>import("./Dv-XFa-n.js"),__vite__mapDeps([161,1,53,6,7,11,33,15,114,107,78,150,125,89,90,91,92,37,48,49,50,146,36,95,96,40,24,121,52,110,162,41,59,163,105,51,97,102,28,20,159,87,164]),import.meta.url).then(e=>e.default||e)),default:mi(()=>X(()=>import("./CW8TllTH.js"),__vite__mapDeps([165,1,96,6,7,40,15,24,101,11,102,59,163,90,51,52,53,30,48,49,14,16,17,162]),import.meta.url).then(e=>e.default||e)),workshop:mi(()=>X(()=>import("./DA-vNAf1.js"),__vite__mapDeps([166,162,1,53,11,7,6]),import.meta.url).then(e=>e.default||e))},$k=De({name:"nuxt:prefetch",setup(e){const t=tt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Ln[r]=="function"&&await Ln[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Ht(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=gl(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof Aa[i]=="function"&&Aa[i]();typeof s=="string"&&s in Ln&&LS(Ln[s])})}});function Dk(e,t){if(e==null)return;let n=e;for(let r=0;r<t.length;r++){if(n==null||n[t[r]]==null)return;n=n[t[r]]}return n}function Ol(e,t,n){if(n.length===0)return t;const r=n[0];return n.length>1&&(t=Ol(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,r)?Number.isInteger(Number(n[1]))?[]:{}:e[r],t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(r))&&Array.isArray(e)?e.slice()[r]:Object.assign({},e,{[r]:t})}function Ip(e,t){if(e==null||t.length===0)return e;if(t.length===1){if(e==null)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);const n={};for(const r in e)n[r]=e[r];return delete n[t[0]],n}if(e[t[0]]==null){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const n={};for(const r in e)n[r]=e[r];return n}return Ol(e,Ip(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function Mp(e,t){return t.map(n=>n.split(".")).map(n=>[n,Dk(e,n)]).filter(n=>n[1]!==void 0).reduce((n,r)=>Ol(n,r[1],r[0]),{})}function Np(e,t){return t.map(n=>n.split(".")).reduce((n,r)=>Ip(n,r),e)}function cf(e,{storage:t,serializer:n,key:r,debug:s,pick:o,omit:i,beforeHydrate:a,afterHydrate:l},u,c=!0){try{c&&a?.(u);const f=t.getItem(r);if(f){const d=n.deserialize(f),h=o?Mp(d,o):d,m=i?Np(h,i):h;e.$patch(m)}c&&l?.(u)}catch{}}function uf(e,{storage:t,serializer:n,key:r,debug:s,pick:o,omit:i}){try{const a=o?Mp(e,o):e,l=i?Np(a,i):a,u=n.serialize(l);t.setItem(r,u)}catch{}}function Fk(e,t,n){const{pinia:r,store:s,options:{persist:o=n}}=e;if(!o)return;if(!(s.$id in r.state.value)){const l=r._s.get(s.$id.replace("__hot:",""));l&&Promise.resolve().then(()=>l.$persist());return}const a=(Array.isArray(o)?o:o===!0?[{}]:[o]).map(t);s.$hydrate=({runHooks:l=!0}={})=>{a.forEach(u=>{cf(s,u,e,l)})},s.$persist=()=>{a.forEach(l=>{uf(s.$state,l)})},a.forEach(l=>{cf(s,l,e),s.$subscribe((u,c)=>uf(c,l),{detached:!0})})}function Uk(e){return{getItem:t=>Po(t,{...e??Lt().public.piniaPluginPersistedstate.cookieOptions??{},decode:e?.decode??decodeURIComponent,readonly:!0}
46).value,setItem:(t,n)=>Po(t,{...e??Lt().public.piniaPluginPersistedstate.cookieOptions??{},encode:e?.encode??encodeURIComponent}).value=n}}function Bk(){return{getItem:e=>window.localStorage.getItem(e),setItem:(e,t)=>window.localStorage.setItem(e,t)}}function Vk(){return{getItem:e=>window.sessionStorage.getItem(e),setItem:(e,t)=>window.sessionStorage.setItem(e,t)}}const Vi={cookies:Uk,localStorage:Bk,sessionStorage:Vk};function Hk(e){const n=Lt().public.piniaPluginPersistedstate;Fk(e,r=>({key:n.key?n.key.replace(/%id/g,r.key??e.store.$id):r.key??e.store.$id,debug:r.debug??n.debug??!1,serializer:r.serializer??{serialize:s=>JSON.stringify(s),deserialize:s=>$r(s)},storage:r.storage??(n.storage?n.storage==="cookies"?Vi.cookies(n.cookieOptions):Vi[n.storage]():Vi.cookies()),beforeHydrate:r.beforeHydrate,afterHydrate:r.afterHydrate,pick:r.pick,omit:r.omit}),n.auto??!1)}const jk=De({name:"pinia-plugin-persistedstate",setup({$pinia:e}){e.use(Hk)}}),qk=["i18n:plugin","i18n:plugin:ssg-detect","i18n:plugin:route-locale-detect"],Wk=De({name:"nuxt-site-config:i18n",dependsOn:qk,setup(e){const t=e.$i18n;if(!t)return;const n=ve().$nuxtSiteConfig,r=cn(t.baseUrl);if(r){const o=n.get({resolveRefs:!0}),i=o.url;if(i&&!i.includes("localhost")){const a=Es(r,"https://"),l=Es(i,"https://");a.host!==l.host&&o.env}}let s;$e(t.locale,()=>{s&&s();const o=te(()=>{const i=cn(t.locales).find(a=>a.code===t.defaultLocale);return i?.language||i?.iso||t.defaultLocale});s=n.push({_priority:-1,_context:"@nuxtjs/i18n",url:te(()=>cn(t.baseUrl)||void 0),defaultLocale:o,currentLocale:te(()=>{const i=cn(t.localeProperties);return i.language?i.language:o.value}),description:te(()=>t.te("nuxtSiteConfig.description")?t.t("nuxtSiteConfig.description"):void 0),name:te(()=>t.te("nuxtSiteConfig.name")?t.t("nuxtSiteConfig.name"):void 0)})},{immediate:!0})}}),Qk="__NUXT_COLOR_MODE__",Hi="nuxt-color-mode",Kk="localStorage",rn=window[Qk]||{},Gk=De(e=>{const t=Nn("color-mode",()=>_n({preference:rn.preference,value:rn.value,unknown:!1,forced:!1})).value;tt().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(t.forced=!1,t.value=t.preference==="system"?rn.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=rn.getColorScheme())}))}function s(o,i){switch(o){case"cookie":window.document.cookie=Hi+"="+i;break;case"sessionStorage":window.sessionStorage?.setItem(Hi,i);break;case"localStorage":default:window.localStorage?.setItem(Hi,i)}}$e(()=>t.preference,o=>{t.forced||(o==="system"?(t.value=rn.getColorScheme(),r()):t.value=o,s(Kk,o))},{immediate:!0}),$e(()=>t.value,(o,i)=>{rn.removeColorScheme(i),rn.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=rn.preference,t.value=rn.value,t.unknown=!1)}),e.provide("colorMode",t)}),Yk=De(e=>{const n=Lt().public.CONVEX_URL;if(!n)return;const r=Nn("convex-auth-token",()=>null),s=Nn("convex-authenticated",()=>!0),o=Nn("convex-auth-loading",()=>!1),i=iS({convexUrl:n,auth:{isAuthenticated:s,isLoading:o,getToken:async({forceRefreshToken:a})=>{if(!a&&r.value)return r.value;try{o.value=!0;const l=await $fetch("/api/convex/token",{credentials:"include"});return r.value=l.token,s.value=!0,l.token}catch{return r.value=null,s.value=!1,null}finally{o.value=!1}}}});e.vueApp.use(i)}),zk=De(e=>{e.hook("vue:error",(t,n,r)=>{})}),Jk=De(()=>{const e={credentials:"include"};return{provide:{fetch:(t,n)=>(n=n||{},n.credentials=n.credentials||e.credentials,$fetch(t,n))}}}),ff=1;function Xk(){const e=Po("cookie_consent",{default:()=>null,maxAge:31536e3,sameSite:"lax",secure:!0,path:"/"}),t=te(()=>e.value?.choice??null),n=te(()=>e.value?.version===ff&&!!e.value?.choice),r=te(()=>!n.value),s=u=>{e.value={choice:u,updatedAt:new Date().toISOString(),version:ff}},o=()=>s("all"),i=()=>s("necessary"),a=()=>s("deny"),l=te(()=>({necessary:!0,analytics:t.value==="all",marketing:t.value==="all"}));return{acceptAll:o,acceptNecessary:i,deny:a,grants:l,hasDecision:n,choice:t,shouldShow:r}}const Zk=De(()=>{const{grants:e,hasDecision:t}=Xk(),n="G-G89L92YL1Z",r="2045110455923786",s="8201057";let o=!1;function i(){if(!o&&!(!e.value.analytics&&!e.value.marketing)){if(o=!0,e.value.analytics){const l=document.createElement("script");
46l.async=!0,l.src=`https://www.googletagmanager.com/gtag/js?id=${n}`,document.head.appendChild(l),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config",n,{send_page_view:!0})}if(e.value.marketing&&(function(l,u,c,f,d,h,m){l.fbq||(d=l.fbq=function(){d.callMethod?d.callMethod.apply(d,arguments):d.queue.push(arguments)},l._fbq||(l._fbq=d),d.push=d,d.loaded=!0,d.version="2.0",d.queue=[],h=u.createElement(c),h.async=!0,h.src=f,m=u.getElementsByTagName(c)[0],m.parentNode.insertBefore(h,m))}(window,document,"script","https://connect.facebook.net/en_US/fbevents.js"),window.fbq?.("init",r),window.fbq?.("track","PageView")),e.value.marketing){window._linkedin_data_partner_ids=window._linkedin_data_partner_ids||[],window._linkedin_data_partner_ids.push(s);const l=document.createElement("script");l.async=!0,l.src="https://snap.licdn.com/li.lms-analytics/insight.min.js",document.head.appendChild(l)}}}return t.value&&i(),$e(t,l=>{l&&i()}),tt().afterEach(l=>{o&&(window.gtag&&window.gtag("event","page_view",{page_path:l.fullPath,page_title:document.title}),window.fbq&&window.fbq("track","PageView"))}),{provide:{trackEvent:(l,u)=>{window.gtag&&window.gtag("event",l,u),window.fbq&&window.fbq("trackCustom",l,u)},trackConversion:(l,u)=>{window.gtag&&window.gtag("event",l==="signup"?"sign_up":"purchase",u),window.fbq&&window.fbq("track",l==="signup"?"Lead":"Purchase",u),window.lintrk&&window.lintrk("track",{conversion_id:l==="signup"?"signup":"purchase"})}}}}),eT=De({name:"i18n:plugin:ssg-detect",dependsOn:["i18n:plugin","i18n:plugin:route-locale-detect"],enforce:"post",setup(e){ve(e._id)}}),tT=[Cb,kb,Ob,_S,MS,NS,$S,DS,FS,Ok,Pk,Ik,Mk,Nk,$k,jk,Wk,Gk,Yk,zk,Jk,Zk,eT],$p=(e="RouteProvider")=>nt({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const o in t.route)Object.defineProperty(s,o,{get:()=>n===t.renderKey?t.route[o]:r[o],enumerable:!0});return In(or,Jt(s)),()=>t.vnode?ze(t.vnode,{ref:t.vnodeRef}):t.vnode}}),nT=$p(),df=new WeakMap,rT=nt({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}){const s=ve(),o=oe(),i=Ge(or,null);let a;r({pageRef:o});const l=Ge(oh,null);let u;const c=s.deferHydration();if(s.isHydrating){const d=s.hooks.hookOnce("app:error",c);tt().beforeEach(d)}e.pageKey&&$e(()=>e.pageKey,(d,h)=>{d!==h&&s.callHook("page:loading:start")});let f=!1;{const d=tt().beforeResolve(()=>{f=!1});Gr(()=>{d()})}return()=>ze(Mh,{name:e.name,route:e.route,...t},{default:d=>{const h=oT(i,d.route,d.Component),m=i&&i.matched.length===d.route.matched.length;if(!d.Component){if(u&&!m)return u;c();return}if(u&&l&&!l.isCurrent(d.route))return u;if(h&&i&&(!l||l?.isCurrent(i)))return m?u:null;const y=Sa(d,e.pageKey),k=iT(i,d.route,d.Component);!s.isHydrating&&a===y&&!k&&mn(()=>{f=!0,s.callHook("page:loading:end")}),a=y;const b=!!(e.transition??d.route.meta.pageTransition??Cc),S=b&&sT([e.transition,d.route.meta.pageTransition,Cc,{onAfterLeave(){delete s._runningTransition,s.callHook("page:transition:finish",d.Component)}}]),p=e.keepalive??d.route.meta.keepalive??y_;return u=$h(b&&S,Dv(p,ze(sl,{suspensible:!0,onPending:()=>{b&&(s._runningTransition=!0),s.callHook("page:start",d.Component)}
46,onResolve:()=>{mn(()=>s.callHook("page:finish",d.Component).then(()=>{if(!f&&!k)return f=!0,s.callHook("page:loading:end")}).finally(c))}},{default:()=>{const g={key:y||void 0,vnode:n.default?aT(n.default,d):d.Component,route:d.route,renderKey:y||void 0,trackRootNodes:b,vnodeRef:o};if(!p)return ze(nT,g);const E=d.Component.type,R=E;let A=df.get(R);return A||(A=$p(E.name||E.__name),df.set(R,A)),ze(A,g)}}))).default(),u}})}});function sT(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?gl(n.onAfterLeave):void 0}));return rh(...t)}function oT(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>s.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>s.components?.default!==e.matched[o]?.components?.default)||n&&Sa({route:t,Component:n})!==Sa({route:e,Component:n})}function iT(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function aT(e,t){const n=e(t);return n.length===1?ze(n[0]):ze(Le,void 0,n)}const lT=nt({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>ze(Ln[e.name],e.layoutProps,t.slots)}}),cT={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},uT=nt({name:"NuxtLayout",inheritAttrs:!1,props:cT,setup(e,t){const n=ve(),r=Ge(or),o=!r||r===Zo()?Nh():r,i=te(()=>{let c=se(e.name)??o?.meta.layout??"default";return c&&!(c in Ln)&&e.fallback&&(c=se(e.fallback)),c}),a=Dn();t.expose({layoutRef:a});const l=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",l);tt().beforeEach(c)}let u;return()=>{const c=i.value&&i.value in Ln,f=o?.meta.layoutTransition??m_,d=u;return u=i.value,$h(c&&f,{default:()=>ze(sl,{suspensible:!0,onResolve:()=>{mn(l)}},{default:()=>ze(fT,{layoutProps:er(t.attrs,{ref:a}),key:i.value||void 0,name:i.value,shouldProvide:!e.name,isRenderingNewLayout:h=>h!==d&&h===i.value,hasTransition:!!f},t.slots)})}).default()}}}),fT=nt({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&In(oh,{isCurrent:o=>n===(o.meta.layout??"default")});const r=Ge(or);if(r&&r===Zo()){const o=Nh(),i={};for(const a in o){const l=a;Object.defineProperty(i,l,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?o[l]:r[l]})}In(or,Jt(i))}return()=>!n||typeof n=="string"&&!(n in Ln)?t.slots.default?.():ze(lT,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}});var dT=Object.defineProperty,hT=(e,t,n)=>t in e?dT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lt=(e,t,n)=>hT(e,typeof t!="symbol"?t+"":t,n);function pT(e){if(typeof document>"u")return;function t(){let n=document.head||document.getElementsByTagName("head")[0];if(!n)return;let r=document.createElement("style");r.type="text/css",n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}pT("
vendor: 13,512 bytes, line 46
46:where([data-sonner-toaster][dir=ltr]),:where(html[dir=ltr]){--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}:where([data-sonner-toaster][dir=rtl]),:where(html[dir=rtl]){--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted=true]){transform:translateY(-10px)}@media (hover:none) and (pointer:coarse){:where([data-sonner-toaster][data-lifted=true]){transform:none}}:where([data-sonner-toaster][data-x-position=right]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position=left]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position=center]){left:50%;transform:translateX(-50%)}:where([data-sonner-toaster][data-y-position=top]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position=bottom]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled=true]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast][data-y-position=top]){top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position=bottom]){bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise=true]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme=dark]) :where([data-cancel]){background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast]) :where([data-disabled=true]){cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping=true])::before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position=top][data-swiping=true])::before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position=bottom][data-swiping=true])::before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping=false][data-removed=true])::before{content:'';position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast])::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted=true]){--y:translateY(0);opacity:1}:where([data-sonner-toast][data-expanded=false][data-front=false]){--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded=false][data-front=false][data-styled=true])>*{opacity:0}:where([data-sonner-toast][data-visible=false]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted=true][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]){--y:translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]){--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed=true][data-front=false])::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
46");let Va=0;class gT{constructor(){lt(this,"subscribers"),lt(this,"toasts"),lt(this,"subscribe",t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)})),lt(this,"publish",t=>
46{this.subscribers.forEach(n=>n(t))}),lt(this,"addToast",t=>{this.publish(t),this.toasts=[...this.toasts,t]}),lt(this,"create",t=>{var n;const{message:r,...s}=t,o=typeof t.id=="number"||t.id&&((n=t.id)==null?void 0:n.length)>0?t.id:Va++,i=this.toasts.find(l=>l.id===o),a=t.dismissible===void 0?!0:t.dismissible;return i?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...t,id:o,title:r}),{...l,...t,id:o,dismissible:a,title:r}):l):this.addToast({title:r,...s,dismissible:a,id:o}),o}),lt(this,"dismiss",t=>(t||this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),this.subscribers.forEach(n=>n({id:t,dismiss:!0})),t)),lt(this,"message",(t,n)=>this.create({...n,message:t,type:"default"})),lt(this,"error",(t,n)=>this.create({...n,type:"error",message:t})),lt(this,"success",(t,n)=>this.create({...n,type:"success",message:t})),lt(this,"info",(t,n)=>this.create({...n,type:"info",message:t})),lt(this,"warning",(t,n)=>this.create({...n,type:"warning",message:t})),lt(this,"loading",(t,n)=>this.create({...n,type:"loading",message:t})),lt(this,"promise",(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const s=t instanceof Promise?t:t();let o=r!==void 0,i;const a=s.then(async u=>{if(i=["resolve",u],yT(u)&&!u.ok){o=!1;const c=typeof n.error=="function"?await n.error(`HTTP error! status: ${u.status}`):n.error,f=typeof n.description=="function"?await n.description(`HTTP error! status: ${u.status}`):n.description;this.create({id:r,type:"error",message:c,description:f})}else if(n.success!==void 0){o=!1;const c=typeof n.success=="function"?await n.success(u):n.success,f=typeof n.description=="function"?await n.description(u):n.description;this.create({id:r,type:"success",message:c,description:f})}}).catch(async u=>{if(i=["reject",u],n.error!==void 0){o=!1;const c=typeof n.error=="function"?await n.error(u):n.error,f=typeof n.description=="function"?await n.description(u):n.description;this.create({id:r,type:"error",message:c,description:f})}}).finally(()=>{var u;o&&(this.dismiss(r),r=void 0),(u=n.finally)==null||u.call(n)}),l=()=>new Promise((u,c)=>a.then(()=>i[0]==="reject"?c(i[1]):u(i[1])).catch(c));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})}),lt(this,"custom",(t,n)=>{const r=n?.id||Va++;return this.publish({component:t,id:r,...n}),r}),this.subscribers=[],this.toasts=[]}}const gt=new gT;function mT(e,t){const n=t?.id||Va++;return gt.create({message:e,id:n,type:"default",...t}),n}const yT=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",_T=mT,bT=()=>gt.toasts,YR=Object.assign(_T,{success:gt.success,info:gt.info,warning:gt.warning,error:gt.error,custom:gt.custom,message:gt.message,promise:gt.promise,dismiss:gt.dismiss,loading:gt.loading},{getHistory:bT});function to(e){return e.label!==void 0}function vT(){const e=oe(!1);return zn(()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)}),{isDocumentHidden:e}}const wT=["aria-live","data-rich-colors","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],ST=["aria-label","data-disabled"],hf=4e3,ET=20,CT=200,kT=nt({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function},defaultRichColors:{type:Boolean}},emits:["update:heights","removeToast"],setup(e,{emit:t}){const n=e,r=t,s=oe(!1),o=oe(!1),i=oe(!1),a=oe(!1),l=oe(!1),u=oe(0),c=oe(0),f=oe(n.toast.duration||n.duration||hf),d=oe(null),h=oe(null),m=te(()=>n.index===0),y=te(()=>n.index+1<=n.visibleToasts),k=te(()=>n.toast.type),b=te(()=>n.toast.dismissible!==!1),S=te(()=>n.toast.class||""),p=te(()=>n.descriptionClass||""),g=n.toast.style||{},E=te(()=>n.heights.findIndex(N=>N.toastId===n.toast.id)||0),R=te(()=>n.toast.closeButton??n.closeButton);te(()=>n.toast.duration||n.duration||hf);const A=oe(0),j=oe(0),M=oe(null),U=te(()=>n.position.split("-")),Q=te(()=>U.value[0]),D=te(()=>U.value[1]),J=te(()=>typeof n.toast.title!="string"),ie=te(()=>typeof n.toast.description!="string"),ue=te(()=>n.heights.reduce((N,le,I)=>I>=E.value?N:N+le.height,0)),z=vT(),ne=te(()=>n.toast.invert||n.invert),Y=te(()=>k.value==="loading"),ae=te(()=>E.value*n.gap+ue.value||0);xr(()=>{if(!s.value)return;const N=h.value,le=N?.style.height;N.style.height="auto";const I=N.getBoundingClientRect().height;N.style.height=le,c.value=I;let q;n.heights.find(V=>V.toastId===n.toast.id)?q=n.heights.map(V=>V.toastId===n.toast.id?{...V,height:I}:V):q=[{toastId:n.toast.id,height:I,position:n.toast.position},...n.heights],r("update:heights",q)});function Be(){o.value=!0,u.value=ae.value;const N=n.heights.filter(le=>le.toastId!==n.toast.id);r("update:heights",N),setTimeout(()=>{r("removeToast",n.toast)}
46,CT)}function Ye(){var N,le;if(Y.value||!b.value)return{};Be(),(le=(N=n.toast).onDismiss)==null||le.call(N,n.toast)}function Ve(N){Y.value||!b.value||(d.value=new Date,u.value=ae.value,N.target.setPointerCapture(N.pointerId),N.target.tagName!=="BUTTON"&&(i.value=!0,M.value={x:N.clientX,y:N.clientY}))}function bt(){var N,le,I,q,V;if(a.value||!b)return;M.value=null;const G=Number(((N=h.value)==null?void 0:N.style.getPropertyValue("--swipe-amount").replace("px",""))||0),fe=new Date().getTime()-((le=d.value)==null?void 0:le.getTime()),me=Math.abs(G)/fe;if(Math.abs(G)>=ET||me>.11){u.value=ae.value,(q=(I=n.toast).onDismiss)==null||q.call(I,n.toast),Be(),a.value=!0,l.value=!1;return}(V=h.value)==null||V.style.setProperty("--swipe-amount","0px"),i.value=!1}function vt(N){var le,I;if(!M.value||!b.value)return;const q=N.clientY-M.value.y,V=((le=window.getSelection())==null?void 0:le.toString().length)>0,G=Q.value==="top"?Math.min(0,q):Math.max(0,q);Math.abs(G)>0&&(l.value=!0),!V&&((I=h.value)==null||I.style.setProperty("--swipe-amount",`${G}px`))}return zn(N=>{if(n.toast.promise&&k.value==="loading"||n.toast.duration===1/0||n.toast.type==="loading")return;let le;const I=()=>{if(j.value<A.value){const V=new Date().getTime()-A.value;f.value=f.value-V}j.value=new Date().getTime()},q=()=>{f.value!==1/0&&(A.value=new Date().getTime(),le=setTimeout(()=>{var V,G;(G=(V=n.toast).onAutoClose)==null||G.call(V,n.toast),Be()},f.value))};n.expanded||n.interacting||n.pauseWhenPageIsHidden&&z?I():q(),N(()=>{clearTimeout(le)})}),$e(()=>n.toast.delete,()=>{n.toast.delete&&Be()},{deep:!0}),xr(()=>{if(s.value=!0,h.value){const N=h.value.getBoundingClientRect().height;c.value=N;const le=[{toastId:n.toast.id,height:N,position:n.toast.position},...n.heights];r("update:heights",le)}}),Gr(()=>{if(h.value){const N=n.heights.filter(le=>le.toastId!==n.toast.id);r("update:heights",N)}}),(N,le)=>{var I,q,V,G,fe,me,v,C,O,B,$,_,w,L,x,F,H,T,P,K,Z,he,pe,Pe,Ue,at,rt;return ce(),xe("li",{ref_key:"toastRef",ref:h,"aria-live":N.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0","data-sonner-toast":"true",class:mt(N.cn(n.class,S.value,(I=N.classes)==null?void 0:I.toast,(q=N.toast.classes)==null?void 0:q.toast,(V=N.classes)==null?void 0:V[k.value],(fe=(G=N.toast)==null?void 0:G.classes)==null?void 0:fe[k.value])),"data-rich-colors":N.toast.richColors??N.defaultRichColors,"data-styled":!(N.toast.component||(me=N.toast)!=null&&me.unstyled||N.unstyled),"data-mounted":s.value,"data-promise":!!N.toast.promise,"data-removed":o.value,"data-visible":y.value,"data-y-position":Q.value,"data-x-position":D.value,"data-index":N.index,"data-front":m.value,"data-swiping":i.value,"data-dismissible":b.value,"data-type":k.value,"data-invert":ne.value,"data-swipe-out":a.value,"data-expanded":!!(N.expanded||N.expandByDefault&&s.value),style:Pn({"--index":N.index,"--toasts-before":N.index,"--z-index":N.toasts.length-N.index,"--offset":`${o.value?u.value:ae.value}px`,"--initial-height":N.expandByDefault?"auto":`${c.value}px`,...N.style,...se(g)}),onPointerdown:Ve,onPointerup:bt,onPointermove:vt},[R.value&&!N.toast.component?(ce(),xe("button",{key:0,"aria-label":N.closeButtonAriaLabel||"Close toast","data-disabled":Y.value,"data-close-button":"true",class:mt(N.cn((v=N.classes)==null?void 0:v.closeButton,(O=(C=N.toast)==null?void 0:C.classes)==null?void 0:O.closeButton)),onClick:Ye},[(B=N.icons)!=null&&B.close?(ce(),it(mr(($=N.icons)==null?void 0:$.close),{key:0})):kt(N.$slots,"close-icon",{key:1})],10,ST)):dr("",!0),N.toast.component?(ce(),it(mr(N.toast.component),er({key:1},N.toast.componentProps,{onCloseToast:Ye}),null,16)):(ce(),xe(Le,{key:2},[k.value!=="default"||N.toast.icon||N.toast.promise?(ce(),xe("div",{key:0,"data-icon":"",class:mt(N.cn((_=N.classes)==null?void 0:_.icon,(L=(w=N.toast)==null?void 0:w.classes)==null?void 0:L.icon))},[N.toast.icon?(ce(),it(mr(N.toast.icon),{key:0})):(ce(),xe(Le,{key:1},[k.value==="loading"?kt(N.$slots,"loading-icon",{key:0}):k.value==="success"?kt(N.$slots,"success-icon",{key:1}):k.value==="error"?kt(N.$slots,"error-icon",{key:2}):k.value==="warning"?kt(N.$slots,"warning-icon",{key:3}):k.value==="info"?kt(N.$slots,"info-icon",{key:4}):dr("",!0)],64))],2)):dr("",!0),de("div",{"data-content":"",class:mt(N.cn((x=N.classes)==null?void 0:x.content,(H=(F=N.toast)==null?void 0:F.classes)==null?void 0:H.content))},[de("div",{"data-title":"",class:mt(N.cn((T=N.classes)==null?void 0:T.title,(P=N.toast.classes)==null?void 0:P.title))},[J.value?(ce(),it(mr(N.toast.title),Nl(er({key:0},N.toast.componentProps)),null,16)):(ce(),xe(Le,{key:1}
46,[Mr(Yt(N.toast.title),1)],64))],2),N.toast.description?(ce(),xe("div",{key:0,"data-description":"",class:mt(N.cn(N.descriptionClass,p.value,(K=N.classes)==null?void 0:K.description,(Z=N.toast.classes)==null?void 0:Z.description))},[ie.value?(ce(),it(mr(N.toast.description),Nl(er({key:0},N.toast.componentProps)),null,16)):(ce(),xe(Le,{key:1},[Mr(Yt(N.toast.description),1)],64))],2)):dr("",!0)],2),N.toast.cancel?(ce(),xe("button",{key:1,style:Pn(N.toast.cancelButtonStyle||N.cancelButtonStyle),class:mt(N.cn((he=N.classes)==null?void 0:he.cancelButton,(pe=N.toast.classes)==null?void 0:pe.cancelButton)),"data-button":"","data-cancel":"",onClick:le[0]||(le[0]=Pt=>{var vn,Qe;se(to)(N.toast.cancel)&&b.value&&((Qe=(vn=N.toast.cancel).onClick)==null||Qe.call(vn,Pt),Be())})},Yt(se(to)(N.toast.cancel)?(Pe=N.toast.cancel)==null?void 0:Pe.label:N.toast.cancel),7)):dr("",!0),N.toast.action?(ce(),xe("button",{key:2,style:Pn(N.toast.actionButtonStyle||N.actionButtonStyle),class:mt(N.cn((Ue=N.classes)==null?void 0:Ue.actionButton,(at=N.toast.classes)==null?void 0:at.actionButton)),"data-button":"","data-action":"",onClick:le[1]||(le[1]=Pt=>{var vn,Qe;se(to)(N.toast.action)&&(Pt.defaultPrevented||((Qe=(vn=N.toast.action).onClick)==null||Qe.call(vn,Pt),!Pt.defaultPrevented&&Be()))})},Yt(se(to)(N.toast.action)?(rt=N.toast.action)==null?void 0:rt.label:N.toast.action),7)):dr("",!0)],64))],46,wT)}}}),Ds=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},TT={},RT={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function AT(e,t){return ce(),xe("svg",RT,t[0]||(t[0]=[de("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),de("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}const LT=Ds(TT,[["render",AT]]),OT=["data-visible"],PT={class:"sonner-spinner"},xT=nt({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0);return(n,r)=>(ce(),xe("div",{class:"sonner-loading-wrapper","data-visible":n.visible},[de("div",PT,[(ce(!0),xe(Le,null,Ji(se(t),s=>(ce(),xe("div",{key:`spinner-bar-${s}`,class:"sonner-loading-bar"}))),128))])],8,OT))}}),IT={},MT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function NT(e,t){return ce(),xe("svg",MT,t[0]||(t[0]=[de("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)]))}const $T=Ds(IT,[["render",NT]]),DT={},FT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function UT(e,t){return ce(),xe("svg",FT,t[0]||(t[0]=[de("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)]))}const BT=Ds(DT,[["render",UT]]),VT={},HT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"};function jT(e,t){return ce(),xe("svg",HT,t[0]||(t[0]=[de("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)]))}const qT=Ds(VT,[["render",jT]]),WT={},QT={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function KT(e,t){return ce(),xe("svg",QT,t[0]||(t[0]=[de("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)]))}const GT=Ds(WT,[["render",KT]]),YT=["aria-label"],zT=["dir","data-theme","data-rich-colors","data-y-position","data-x-position","data-lifted"],JT=3,pf="32px",XT=356,ZT=14,eR=typeof window<"u"&&typeof document<"u";function tR(...e){return e.filter(Boolean).join(" ")}const nR=nt({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:ZT},visibleToasts:{default:JT},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:pf},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:tR}},setup(e){const t=e;function n(){if(typeof window>"u"||typeof document>"u")return"ltr";const p=document.documentElement.getAttribute("dir");return p==="auto"||!p?window.getComputedStyle(document.documentElement).direction:p}const r=Qg(),s=oe([]),o=te(()=>(p,g)=>s.value.filter(E=>!E.position&&g===0||E.position===p)),i=te(()=>{const p=s.value.filter(g=>g.position).map(g=>g.position);return p.length>0?Array.from(new Set([t.position].concat(p))):[t.position]}),a=oe([]),l=oe(!1),u=oe(!1),c=oe(t.theme!=="system"?t.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
46k":"light"),f=oe(null),d=oe(null),h=oe(!1),m=t.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function y(p){var g;(g=s.value.find(E=>E.id===p.id))!=null&&g.delete||gt.dismiss(p.id),s.value=s.value.filter(({id:E})=>E!==p.id)}function k(p){var g,E;h.value&&!((E=(g=p.currentTarget)==null?void 0:g.contains)!=null&&E.call(g,p.relatedTarget))&&(h.value=!1,d.value&&(d.value.focus({preventScroll:!0}),d.value=null))}function b(p){p.target instanceof HTMLElement&&p.target.dataset.dismissible==="false"||h.value||(h.value=!0,d.value=p.relatedTarget)}function S(p){p.target&&p.target instanceof HTMLElement&&p.target.dataset.dismissible==="false"||(u.value=!0)}return zn(p=>{const g=gt.subscribe(E=>{if(E.dismiss){s.value=s.value.map(R=>R.id===E.id?{...R,delete:!0}:R);return}mn(()=>{const R=s.value.findIndex(A=>A.id===E.id);R!==-1?s.value=[...s.value.slice(0,R),{...s.value[R],...E},...s.value.slice(R+1)]:s.value=[E,...s.value]})});p(g)}),$e(()=>t.theme,p=>{if(p!=="system"){c.value=p;return}if(p==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?c.value="dark":c.value="light"),typeof window>"u")return;const g=window.matchMedia("(prefers-color-scheme: dark)");try{g.addEventListener("change",({matches:E})=>{E?c.value="dark":c.value="light"})}catch{g.addListener(({matches:E})=>{try{E?c.value="dark":c.value="light"}catch{}})}}),zn(()=>{f.value&&d.value&&(d.value.focus({preventScroll:!0}),d.value=null,h.value=!1)}),zn(()=>{s.value.length<=1&&(l.value=!1)}),zn(p=>{function g(E){const R=t.hotkey.every(M=>E[M]||E.code===M),A=Array.isArray(f.value)?f.value[0]:f.value;R&&(l.value=!0,A?.focus());const j=document.activeElement===f.value||A?.contains(document.activeElement);E.code==="Escape"&&j&&(l.value=!1)}eR&&(document.addEventListener("keydown",g),p(()=>{document.removeEventListener("keydown",g)}))}),(p,g)=>(ce(),xe("section",{"aria-label":`${p.containerAriaLabel} ${se(m)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(ce(!0),xe(Le,null,Ji(i.value,(E,R)=>{var A;return ce(),xe("ol",er({key:E,ref_for:!0,ref_key:"listRef",ref:f,"data-sonner-toaster":"",class:t.class,dir:p.dir==="auto"?n():p.dir,tabIndex:-1,"data-theme":p.theme,"data-rich-colors":p.richColors,"data-y-position":E.split("-")[0],"data-x-position":E.split("-")[1],"data-lifted":l.value&&s.value.length>1&&!p.expand,style:{"--front-toast-height":`${(A=a.value[0])==null?void 0:A.height}px`,"--offset":typeof p.offset=="number"?`${p.offset}px`:p.offset||pf,"--width":`${XT}px`,"--gap":`${p.gap}px`,...p.style,...se(r).style}},p.$attrs,{onBlur:k,onFocus:b,onMouseenter:g[1]||(g[1]=()=>l.value=!0),onMousemove:g[2]||(g[2]=()=>l.value=!0),onMouseleave:g[3]||(g[3]=()=>{u.value||(l.value=!1)}),onPointerdown:S,onPointerup:g[4]||(g[4]=()=>u.value=!1)}),[(ce(!0),xe(Le,null,Ji(o.value(E,R),(j,M)=>{var U,Q,D,J,ie,ue,z,ne,Y;return ce(),it(kT,{key:j.id,heights:a.value.filter(ae=>ae.position===j.position),icons:p.icons,index:M,toast:j,defaultRichColors:p.richColors,duration:((U=p.toastOptions)==null?void 0:U.duration)??p.duration,class:mt(((Q=p.toastOptions)==null?void 0:Q.class)??""),descriptionClass:(D=p.toastOptions)==null?void 0:D.descriptionClass,invert:p.invert,visibleToasts:p.visibleToasts,closeButton:((J=p.toastOptions)==null?void 0:J.closeButton)??p.closeButton,interacting:u.value,position:E,style:Pn((ie=p.toastOptions)==null?void 0:ie.style),unstyled:(ue=p.toastOptions)==null?void 0:ue.unstyled,classes:(z=p.toastOptions)==null?void 0:z.classes,cancelButtonStyle:(ne=p.toastOptions)==null?void 0:ne.cancelButtonStyle,actionButtonStyle:(Y=p.toastOptions)==null?void 0:Y.actionButtonStyle,toasts:s.value.filter(ae=>ae.position===j.position),expandByDefault:p.expand,gap:p.gap,expanded:l.value,pauseWhenPageIsHidden:p.pauseWhenPageIsHidden,cn:p.cn,"onUpdate:heights":g[0]||(g[0]=ae=>{a.value=ae}),onRemoveToast:y},{"close-icon":on(()=>[kt(p.$slots,"close-icon",{},()=>[be(LT)])]),"loading-icon":on(()=>[kt(p.$slots,"loading-icon",{},()=>[be(xT,{visible:j.type==="loading"},null,8,["visible"])])]),"success-icon":on(()=>[kt(p.$slots,"success-icon",{},()=>[be($T)])]),"error-icon":on(()=>[kt(p.$slots,"error-icon",{},()=>[be(GT)])]),"warning-icon":on(()=>[kt(p.$slots,"warning-icon",{},()=>[be(qT)])]),"info-icon":on(()=>[kt(p.$slots,"info-icon",{},()=>[be(BT)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn"])}),128))],16,zT)}),128))],8,YT))}}),rR=nt({__name:"Sonner",props:{invert:{type:Boolean},theme:{},position:{},hotkey:{},richColors:{type:Boolean},expand:{type:Boolean},duration:{},gap:{},visibleToasts:{},closeButton:{type:Boolean},toastOptions:{},class:{},style:{},offset:{},dir:{},icons:{},containerAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},setup(e){const t=e;return(n,r)=>
46(ce(),it(se(nR),er({class:"toaster group"},t,{"toast-options":{classes:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}}}),null,16))}}),sR=nt({__name:"app",setup(e){return(t,n)=>{const r=rT,s=uT;return ce(),it(s,null,{default:on(()=>[be(se(rR)),be(r)]),_:1})}}}),oR={class:"min-h-screen bg-gradient-to-br from-purple-600 via-pink-500 to-orange-400 flex items-center justify-center p-4"},iR={class:"relative z-10 max-w-2xl mx-auto text-center"},aR={class:"mb-8"},lR={class:"relative inline-block"},cR={class:"text-9xl md:text-[12rem] font-black text-white/20 select-none animate-pulse"},uR={class:"absolute inset-0 flex items-center justify-center"},fR={class:"text-6xl animate-bounce"},dR={class:"mb-12 space-y-4"},hR={class:"text-3xl md:text-4xl font-bold text-white mb-4 animate-fade-in"},pR={class:"text-lg md:text-xl text-white/90 max-w-md mx-auto leading-relaxed animate-fade-in delay-200"},gR={class:"flex flex-col sm:flex-row gap-4 justify-center items-center mb-8"},mR={class:"text-white/70 text-sm space-y-2 animate-fade-in delay-500"},yR={class:"font-mono bg-white/10 px-2 py-1 rounded"},_R=nt({__name:"error",props:{error:Object},setup(e){const t=e,n=()=>ah({redirect:"/"}),r=o=>{switch(o){case 404:return{title:"Oops! Page Not Found",message:"Looks like this page went on vacation without telling us! 🏖️",emoji:"🕵️‍♂️"};case 500:return{title:"Server Hiccup!",message:"Our servers are having a coffee break. They'll be back soon! ☕",emoji:"🤖"};case 403:return{title:"Access Denied",message:"This area is VIP only! Maybe try asking nicely? 🎭",emoji:"🚫"};default:return{title:"Something Went Wrong",message:"Don't worry, even the best websites have bad days! 🌈",emoji:"🎪"}}},s=te(()=>r(t.error?.statusCode||500));return(o,i)=>(ce(),xe("div",oR,[i[8]||(i[8]=de("div",{class:"absolute inset-0 overflow-hidden pointer-events-none"},[de("div",{class:"absolute top-1/4 left-1/4 w-64 h-64 bg-white/10 rounded-full blur-3xl animate-pulse"}),de("div",{class:"absolute top-3/4 right-1/4 w-96 h-96 bg-white/5 rounded-full blur-3xl animate-pulse delay-1000"}),de("div",{class:"absolute top-1/2 left-1/2 w-32 h-32 bg-white/20 rounded-full blur-2xl animate-bounce"})],-1)),de("div",iR,[de("div",aR,[de("div",lR,[de("h1",cR,Yt(e.error?.statusCode||"500"),1),de("div",uR,[de("span",fR,Yt(se(s).emoji),1)])])]),de("div",dR,[de("h2",hR,Yt(se(s).title),1),de("p",pR,Yt(se(s).message),1)]),de("div",gR,[de("button",{onClick:n,class:"group relative px-8 py-4 bg-white text-purple-600 font-semibold rounded-full hover:scale-105 transform transition-all duration-200 shadow-2xl hover:shadow-white/25"},i[1]||(i[1]=[de("span",{class:"relative z-10"},"🏠 Take Me Home",-1),de("div",{class:"absolute inset-0 bg-gradient-to-r from-pink-500 to-purple-600 rounded-full opacity-0 group-hover:opacity-100 transition-opacity duration-200"},null,-1)])),de("button",{onClick:i[0]||(i[0]=a=>o.$router.go(-1)),class:"px-8 py-4 border-2 border-white/30 text-white font-semibold rounded-full hover:bg-white/10 hover:border-white/50 transform hover:scale-105 transition-all duration-200 backdrop-blur-sm"}," ↶ Go Back ")]),de("div",mR,[de("p",null,[i[2]||(i[2]=Mr("Error ID: ",-1)),de("span",yR,Yt(Date.now().toString(36)),1)]),i[3]||(i[3]=de("p",null,[Mr("Still stuck? "),de("a",{href:"mailto:[email protected]",class:"underline hover:text-white transition-colors"},"Drop us a line!")],-1))]),i[4]||(i[4]=de("div",{class:"absolute -top-10 -left-10 text-6xl animate-spin-slow opacity-30"},"⭐",-1)),i[5]||(i[5]=de("div",{class:"absolute -bottom-10 -right-10 text-5xl animate-bounce opacity-30"},"🎈",-1)),i[6]||(i[6]=de("div",{class:"absolute top-20 -right-5 text-4xl animate-pulse opacity-40"},"✨",-1)),i[7]||(i[7]=de("div",{class:"absolute bottom-20 -left-5 text-4xl animate-pulse delay-1000 opacity-40"},"🌟",-1))])]))}}),bR=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},vR=bR(_R,[["__scopeId","data-v-97f1694c"]]),wR={key:0},gf={__name:"nuxt-root",setup(e){const t=()=>null,n=ve(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);tt().beforeEach(u)}const s=!1;In(or,Zo()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const o=ei(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;cd((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,f).catch(d=>{}),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),!1;if(lh(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>Gn(u)),!1});const l=!1;return(u,c)=>
46(ce(),it(sl,{onResolve:se(r)},{default:on(()=>[se(i)?(ce(),xe("div",wR)):se(o)?(ce(),it(se(vR),{key:1,error:se(o)},null,8,["error"])):se(l)?(ce(),it(se(t),{key:2,context:se(l)},null,8,["context"])):se(s)?(ce(),it(mr(se(s)),{key:3})):(ce(),it(se(sR),{key:4}))]),_:1},8,["onResolve"]))}};let mf;{let e;mf=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?fy(gf):uy(gf),s=w_({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=tr(i)}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)}),!n&&kc.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(kc.id)?.remove()});try{await C_(s,tT)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(__),await s.hooks.callHook("app:mounted",r),await mn()}catch(i){o(i)}return r},e=mf().catch(t=>{throw t})}export{_l as $,$e as A,CR as B,$R as C,RR as D,Za as E,Le as F,Zo as G,ve as H,zd as I,xR as J,Lt as K,Su as L,zn as M,wu as N,rh as O,_c as P,Ht as Q,cr as R,Es as S,Um as T,Ay as U,Qg as V,QR as W,Ie as X,tt as Y,Dn as Z,bR as _,de as a,Cu as a0,Gr as a1,GR as a2,ze as a3,AR as a4,al as a5,$_ as a6,OS as a7,Eo as a8,Fr as a9,PR as aA,IR as aB,Bf as aC,UR as aD,NR as aE,LR as aF,In as aG,Vf as aH,Ll as aI,Nn as aJ,cn as aK,Eu as aL,VR as aM,tr as aN,HR as aO,_f as aP,WR as aQ,Nh as aR,jR as aS,Nt as aT,YR as aU,KR as aV,Xk as aW,rT as aX,BR as aa,mb as ab,qR as ac,el as ad,Ge as ae,gh as af,Ho as ag,qi as ah,SR as ai,_t as aj,qf as ak,At as al,ER as am,OR as an,Bg as ao,kR as ap,no as aq,DR as ar,TR as as,Vg as at,ld as au,qe as av,yn as aw,bg as ax,mn as ay,Vo as az,MR as b,xe as c,nt as d,be as e,Mr as f,it as g,kt as h,km as i,te as j,oe as k,mr as l,er as m,Nl as n,ce as o,xr as p,Pn as q,Ji as r,mt as s,Yt as t,se as u,_n as v,on as w,FR as x,dr as y,Kn as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.