vendor: 10,809 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./C2MZrTM8.js","./BVUpZ4ze.js","./PxK3xqO8.js","./Bw1sUBJF.js","./DVJE4Pqk.js","./N3OngkZz.js","./CqkleIqs.js","./B-YVwB4U.js","./DlAUqK2U.js","./Article.BSQAWVri.css","./DQViGq_D.js","./BNY7ciBQ.js","./CDlkWY6U.js","./BsqEB5mc.js","./EOIG_wjn.js","./CooHQEIQ.js","./B_TVvjXb.js","./BZHGj25K.js","./C1ZcUR0l.js","./Bu8rKzoJ.js","./Co33OQXl.js","./index.CvkL7qIc.css","./CMqJ8gxQ.js","./CcbtbTb6.js","./Mgm1hMDy.js","./CwVahAIj.js","./BOnebKI3.js","./DGwML2aJ.js","./Dl2FG6wS.js","./BC-e4mBh.js","./B2xOd1Oy.js","./Of5zX2r3.js","./C-Vqn6RO.js","./BdqnSwmb.js","./BNEHwNZB.js","./C7MLQjcW.js","./Sitemap.DtjBHKeM.css","./BDVsYMQs.js","./bjxC9bDc.js","./DTlkhkUQ.js","./BcmDuDbf.js","./D0I2Yh3Z.js","./C3vf-jlU.js","./CM5B3auz.js","./8LOW6CZO.js","./BdUwqz-s.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)}})();function Da(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ce={},gr=[],Qt=()=>{},rf=()=>!1,Ts=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Io=e=>e.startsWith("onUpdate:"),Je=Object.assign,Na=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},$g=Object.prototype.hasOwnProperty,Ee=(e,t)=>$g.call(e,t),te=Array.isArray,mr=e=>Hr(e)==="[object Map]",sf=e=>Hr(e)==="[object Set]",Ul=e=>Hr(e)==="[object Date]",Lg=e=>Hr(e)==="[object RegExp]",ie=e=>typeof e=="function",Pe=e=>typeof e=="string",Ct=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",Fa=e=>(we(e)||ie(e))&&ie(e.then)&&ie(e.catch),of=Object.prototype.toString,Hr=e=>of.call(e),Mg=e=>Hr(e).slice(8,-1),af=e=>Hr(e)==="[object Object]",$o=e=>Pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Qn=Da(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Lo=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Dg=/-\w/g,ft=Lo(e=>e.replace(Dg,t=>t.slice(1).toUpperCase())),Ng=/\B([A-Z])/g,or=Lo(e=>e.replace(Ng,"-$1").toLowerCase()),Mo=Lo(e=>e.charAt(0).toUpperCase()+e.slice(1)),ii=Lo(e=>e?`on${Mo(e)}`:""),Kt=(e,t)=>!Object.is(e,t),yr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},lf=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ja=e=>{const t=parseFloat(e);return isNaN(t)?e:t},uf=e=>{const t=Pe(e)?Number(e):NaN;return isNaN(t)?e:t};let Vl;const Do=()=>Vl||(Vl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function No(e){if(te(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Pe(r)?Bg(r):No(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Pe(e)||we(e))return e}const Fg=/;(?![^(]*\))/g,jg=/:([^]+)/,Hg=/\/\*[^]*?\*\//g;function Bg(e){const t={};return e.replace(Hg,"").split(Fg).forEach(n=>{if(n){const r=n.split(jg);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function pe(e){let t="";if(Pe(e))t=e;else if(te(e))for(let n=0;n<e.length;n++){const r=pe(e[n]);r&&(t+=r+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function SP(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Pe(t)&&(e.class=pe(t)),n&&(e.style=No(n)),e}const Ug="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Vg=Da(Ug);function cf(e){return!!e||e===""}function qg(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ha(e[r],t[r]);return n}function Ha(e,t){if(e===t)return!0;let n=Ul(e),r=Ul(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ct(e),r=Ct(t),n||r)return e===t;if(n=te(e),r=te(t),n||r)return n&&r?qg(e,t):!1;if(n=we(e),r=we(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||!Ha(e[i],t[i]))return!1}}return String(e)===String(t)}const ff=e=>!!(e&&e.__v_isRef===!0),vr=e=>Pe(e)?e:e==null?"":te(e)||we(e)&&(e.toString===of||!ie(e.toString))?ff(e)?vr(e.value):JSON.stringify(e,df,2):String(e),df=(e,t)=>ff(t)?df(e,t.value):mr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ai(r,o)+" =>"]=s,n),{})}:sf(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ai(n))}:Ct(t)?ai(t):we(t)&&!te(t)&&!af(t)?String(t):t,ai=(e,t="")=>{var n;return Ct(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ye;class hf{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Ye&&(Ye.active?(this.parent=Ye,this.index=(Ye.scopes||(Ye.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ye;try{return Ye=this,t()}finally{Ye=n}}}on(){++this._on===1&&(this.prevScope=Ye,Ye=this)}off(){if(this._on>0&&--this._on===0){if(Ye===this)Ye=this.prevScope;else{let t=Ye;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,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 Wg(e){return new hf(e)}function Ba(){return Ye}function Gg(e,t=!1){Ye&&Ye.cleanups.push(e)}let Re;const li=new WeakSet;class pf{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,Ye&&(Ye.active?Ye.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,li.has(this)&&(li.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||mf(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ql(this),yf(this);const t=Re,n=Nt;Re=this,Nt=!0;try{return this.fn()}finally{vf(this),Re=t,Nt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)qa(t);this.deps=this.depsTail=void 0,ql(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?li.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Bi(this)&&this.run()}get dirty(){return Bi(this)}}let gf=0,us,cs;function mf(e,t=!1){if(e.flags|=8,t){e.next=cs,cs=e;return}e.next=us,us=e}function Ua(){gf++}function Va(){if(--gf>0)return;if(cs){let t=cs;for(cs=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;us;){let t=us;for(us=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 yf(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vf(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),qa(r),Kg(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Bi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(bf(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function bf(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ys)||(e.globalVersion=ys,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Bi(e))))return;e.flags|=2;const t=e.dep,n=Re,r=Nt;Re=e,Nt=!0;try{yf(e);const s=e.fn(e._value);(t.version===0||Kt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Re=n,Nt=r,vf(e),e.flags&=-3}}function qa(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)qa(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Kg(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Nt=!0;const wf=[];function Yt(){wf.push(Nt),Nt=!1}function Jt(){const e=wf.pop();Nt=e===void 0?!0:e}function ql(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Re;Re=void 0;try{t()}finally{Re=n}}}let ys=0;class zg{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 Wa{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(!Re||!Nt||Re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Re)n=this.activeLink=new zg(Re,this),Re.deps?(n.prevDep=Re.depsTail,Re.depsTail.nextDep=n,Re.depsTail=n):Re.deps=Re.depsTail=n,_f(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=Re.depsTail,n.nextDep=void 0,Re.depsTail.nextDep=n,Re.depsTail=n,Re.deps===n&&(Re.deps=r)}return n}trigger(t){this.version++,ys++,this.notify(t)}notify(t){Ua();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Va()}}}function _f(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)_f(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const no=new WeakMap,Yn=Symbol(""),Ui=Symbol(""),vs=Symbol("");function nt(e,t,n){if(Nt&&Re){let r=no.get(e);r||no.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Wa),s.map=r,s.key=n),s.track()}}function cn(e,t,n,r,s,o){const i=no.get(e);if(!i){ys++;return}const a=l=>{l&&l.trigger()};if(Ua(),t==="clear")i.forEach(a);else{const l=te(e),c=l&&$o(n);if(l&&n==="length"){const u=Number(r);
2i.forEach((f,d)=>{(d==="length"||d===vs||!Ct(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(vs)),t){case"add":l?c&&a(i.get("length")):(a(i.get(Yn)),mr(e)&&a(i.get(Ui)));break;case"delete":l||(a(i.get(Yn)),mr(e)&&a(i.get(Ui)));break;case"set":mr(e)&&a(i.get(Yn));break}}Va()}function Qg(e,t){const n=no.get(e);return n&&n.get(t)}function cr(e){const t=be(e);return t===e?t:(nt(t,"iterate",vs),St(e)?t:t.map(Ft))}function Fo(e){return nt(e=be(e),"iterate",vs),e}function Wt(e,t){return Xt(e)?Pr(On(e)?Ft(t):t):Ft(t)}const Yg={__proto__:null,[Symbol.iterator](){return ui(this,Symbol.iterator,e=>Wt(this,e))},concat(...e){return cr(this).concat(...e.map(t=>te(t)?cr(t):t))},entries(){return ui(this,"entries",e=>(e[1]=Wt(this,e[1]),e))},every(e,t){return rn(this,"every",e,t,void 0,arguments)},filter(e,t){return rn(this,"filter",e,t,n=>n.map(r=>Wt(this,r)),arguments)},find(e,t){return rn(this,"find",e,t,n=>Wt(this,n),arguments)},findIndex(e,t){return rn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return rn(this,"findLast",e,t,n=>Wt(this,n),arguments)},findLastIndex(e,t){return rn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return rn(this,"forEach",e,t,void 0,arguments)},includes(...e){return ci(this,"includes",e)},indexOf(...e){return ci(this,"indexOf",e)},join(e){return cr(this).join(e)},lastIndexOf(...e){return ci(this,"lastIndexOf",e)},map(e,t){return rn(this,"map",e,t,void 0,arguments)},pop(){return zr(this,"pop")},push(...e){return zr(this,"push",e)},reduce(e,...t){return Wl(this,"reduce",e,t)},reduceRight(e,...t){return Wl(this,"reduceRight",e,t)},shift(){return zr(this,"shift")},some(e,t){return rn(this,"some",e,t,void 0,arguments)},splice(...e){return zr(this,"splice",e)},toReversed(){return cr(this).toReversed()},toSorted(e){return cr(this).toSorted(e)},toSpliced(...e){return cr(this).toSpliced(...e)},unshift(...e){return zr(this,"unshift",e)},values(){return ui(this,"values",e=>Wt(this,e))}};function ui(e,t,n){const r=Fo(e),s=r[t]();return r!==e&&!St(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const Jg=Array.prototype;function rn(e,t,n,r,s,o){const i=Fo(e),a=i!==e&&!St(e),l=i[t];if(l!==Jg[t]){const f=l.apply(e,o);return a?Ft(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,Wt(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return a&&s?s(u):u}function Wl(e,t,n,r){const s=Fo(e),o=s!==e&&!St(e);let i=n,a=!1;s!==e&&(o?(a=r.length===0,i=function(c,u,f){return a&&(a=!1,c=Wt(e,c)),n.call(this,c,Wt(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const l=s[t](i,...r);return a?Wt(e,l):l}function ci(e,t,n){const r=be(e);nt(r,"iterate",vs);const s=r[t](...n);return(s===-1||s===!1)&&jo(n[0])?(n[0]=be(n[0]),r[t](...n)):s}function zr(e,t,n=[]){Yt(),Ua();const r=be(e)[t].apply(e,n);return Va(),Jt(),r}const Xg=Da("__proto__,__v_isRef,__isVue"),Ef=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ct));function Zg(e){Ct(e)||(e=String(e));const t=be(this);return nt(t,"has",e),t.hasOwnProperty(e)}class Sf{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?um:Pf:o?Af:Tf).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=te(t);if(!s){let l;if(i&&(l=Yg[n]))return l;if(n==="hasOwnProperty")return Zg}const a=Reflect.get(t,n,qe(t)?t:r);if((Ct(n)?Ef.has(n):Xg(n))||(s||nt(t,"get",n),o))return a;if(qe(a)){const l=i&&$o(n)?a:a.value;return s&&we(l)?qi(l):l}return we(a)?s?qi(a):Zt(a):a}}class Cf extends Sf{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=te(t)&&$o(n);if(!this._isShallow){const c=Xt(o);if(!St(r)&&!Xt(r)&&(o=be(o),r=be(r)),!i&&qe(o)&&!qe(r))return c||(o.value=r),!0}const a=i?Number(n)<t.length:Ee(t,n),l=Reflect.set(t,n,r,qe(t)?t:s);return t===be(s)&&l&&(a?Kt(r,o)&&cn(t,"set",n,r):cn(t,"add",n,r)),l}deleteProperty(t,n){const r=Ee(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&cn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Ct(n)||!Ef.has(n))&&nt(t,"has",n),r}ownKeys(t){return nt(t,"iterate",te(t)?"length":Yn),Reflect.ownKeys(t)}}class em extends Sf{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const tm=new Cf,nm=new em,rm=new Cf(!0);const Vi=e=>e,$s=e=>Reflect.getPrototypeOf(e);function sm(e,t,n){return function(...r){const s=this.__v_raw,o=be(s),i=mr(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),u=n?Vi:t?Pr:Ft;return!t&&nt(o,"iterate",l?Ui:Yn),Je(Object.create(c),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function Ls(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function om(e,t){const n={get(s){const o=this.__v_raw,i=be(o),a=be(s);e||(Kt(s,a)&&nt(i,"get",s),nt(i,"get",a));const{has:l}=$s(i),c=t?Vi:e?Pr:Ft;if(l.call(i,s))return c(o.get(s));if(l.call(i,a))return c(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&nt(be(s),"iterate",Yn),s.size},has(s){const o=this.__v_raw,i=be(o),a=be(s);return e||(Kt(s,a)&&nt(i,"has",s),nt(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)}
2,forEach(s,o){const i=this,a=i.__v_raw,l=be(a),c=t?Vi:e?Pr:Ft;return!e&&nt(l,"iterate",Yn),a.forEach((u,f)=>s.call(o,c(u),c(f),i))}};return Je(n,e?{add:Ls("add"),set:Ls("set"),delete:Ls("delete"),clear:Ls("clear")}:{add(s){const o=be(this),i=$s(o),a=be(s),l=!t&&!St(s)&&!Xt(s)?a:s;return i.has.call(o,l)||Kt(s,l)&&i.has.call(o,s)||Kt(a,l)&&i.has.call(o,a)||(o.add(l),cn(o,"add",l,l)),this},set(s,o){!t&&!St(o)&&!Xt(o)&&(o=be(o));const i=be(this),{has:a,get:l}=$s(i);let c=a.call(i,s);c||(s=be(s),c=a.call(i,s));const u=l.call(i,s);return i.set(s,o),c?Kt(o,u)&&cn(i,"set",s,o):cn(i,"add",s,o),this},delete(s){const o=be(this),{has:i,get:a}=$s(o);let l=i.call(o,s);l||(s=be(s),l=i.call(o,s)),a&&a.call(o,s);const c=o.delete(s);return l&&cn(o,"delete",s,void 0),c},clear(){const s=be(this),o=s.size!==0,i=s.clear();return o&&cn(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=sm(s,e,t)}),n}function Ga(e,t){const n=om(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Ee(n,s)&&s in r?n:r,s,o)}const im={get:Ga(!1,!1)},am={get:Ga(!1,!0)},lm={get:Ga(!0,!1)};const Tf=new WeakMap,Af=new WeakMap,Pf=new WeakMap,um=new WeakMap;function cm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Zt(e){return Xt(e)?e:Ka(e,!1,tm,im,Tf)}function zt(e){return Ka(e,!1,rm,am,Af)}function qi(e){return Ka(e,!0,nm,lm,Pf)}function Ka(e,t,n,r,s){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=s.get(e);if(o)return o;const i=cm(Mg(e));if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function On(e){return Xt(e)?On(e.__v_raw):!!(e&&e.__v_isReactive)}function Xt(e){return!!(e&&e.__v_isReadonly)}function St(e){return!!(e&&e.__v_isShallow)}function jo(e){return e?!!e.__v_raw:!1}function be(e){const t=e&&e.__v_raw;return t?be(t):e}function fm(e){return!Ee(e,"__v_skip")&&Object.isExtensible(e)&&lf(e,"__v_skip",!0),e}const Ft=e=>we(e)?Zt(e):e,Pr=e=>we(e)?qi(e):e;function qe(e){return e?e.__v_isRef===!0:!1}function ee(e){return xf(e,!1)}function mt(e){return xf(e,!0)}function xf(e,t){return qe(e)?e:new dm(e,t)}class dm{constructor(t,n){this.dep=new Wa,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:be(t),this._value=n?t:Ft(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||St(t)||Xt(t);t=r?t:be(t),Kt(t,n)&&(this._rawValue=t,this._value=r?t:Ft(t),this.dep.trigger())}}function H(e){return qe(e)?e.value:e}function Rf(e){return ie(e)?e():H(e)}const hm={get:(e,t,n)=>t==="__v_raw"?e:H(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return qe(s)&&!qe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function kf(e){return On(e)?e:new Proxy(e,hm)}class pm{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Ct(n)?n:String(n),this._raw=be(t);let s=!0,o=t;if(!te(t)||Ct(this._key)||!$o(this._key))do s=!jo(o)||St(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=H(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&qe(this._raw[this._key])){const n=this._object[this._key];if(qe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Qg(this._raw,this._key)}}class gm{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 Of(e,t,n){return qe(e)?e:ie(e)?new gm(e):we(e)&&arguments.length>1?mm(e,t,n):ee(e)}function mm(e,t,n){return new pm(e,t,n)}class ym{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Wa(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ys-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Re!==this)return mf(this,!0),!0}get value(){const t=this.dep.track();return bf(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function vm(e,t,n=!1){let r,s;return ie(e)?r=e:(r=e.get,s=e.set),new ym(r,s,n)}const Ms={},ro=new WeakMap;let Vn;function bm(e,t=!1,n=Vn){if(n){let r=ro.get(n);r||ro.set(n,r=[]),r.push(e)}}function wm(e,t,n=Ce){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,c=y=>s?y:St(y)||s===!1||s===0?fn(y,1):fn(y);let u,f,d,h,g=!1,p=!1;if(qe(e)?(f=()=>e.value,g=St(e)):On(e)?(f=()=>c(e),g=!0):te(e)?(p=!0,g=e.some(y=>On(y)||St(y)),f=()=>e.map(y=>{if(qe(y))return y.value;if(On(y))return c(y);if(ie(y))return l?l(y,2):y()})):ie(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){Yt();try{d()}finally{Jt()}}const y=Vn;Vn=u;try{return l?l(e,3,[h]):e(h)}finally{Vn=y}}:f=Qt,t&&s){const y=f,b=s===!0?1/0:s;f=()=>fn(y(),b)}const E=Ba(),v=()=>{u.stop(),E&&E.active&&Na(E.effects,u)};if(o&&t){const y=t;t=(...b)=>{const C=y(...b);return v(),C}}let w=p?new Array(e.length).fill(Ms):Ms;const m=y=>{if(!(!(u.flags&1)||!u.dirty&&!y))if(t){const b=u.run();if(y||s||g||(p?b.some((C,T)=>Kt(C,w[T])):Kt(b,w))){d&&d();const C=Vn;Vn=u;try{const T=[b,w===Ms?void 0:p&&w[0]===Ms?[]:w,h];w=b,l?l(t,3,T):t(...T)}finally{Vn=C}}}else u.run()};
vendor: 4,167 bytes, line 2
2return a&&a(m),u=new pf(f),u.scheduler=i?()=>i(m,!1):m,h=y=>bm(y,!1,u),d=u.onStop=()=>{const y=ro.get(u);if(y){if(l)l(y,4);else for(const b of y)b();ro.delete(u)}},t?r?m(!0):w=u.run():i?i(m.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function fn(e,t=1/0,n){if(t<=0||!we(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,qe(e))fn(e.value,t,n);else if(te(e))for(let r=0;r<e.length;r++)fn(e[r],t,n);else if(sf(e)||mr(e))e.forEach(r=>{fn(r,t,n)});else if(af(e)){for(const r in e)fn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&fn(e[r],t,n)}return e}function As(e,t,n,r){try{return r?e(...r):e()}catch(s){Ps(s,t,n)}}function It(e,t,n,r){if(ie(e)){const s=As(e,t,n,r);return s&&Fa(s)&&s.catch(o=>{Ps(o,t,n)}),s}if(te(e)){const s=[];for(let o=0;o<e.length;o++)s.push(It(e[o],t,n,r));return s}}function Ps(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,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(o){Yt(),As(o,null,10,[e,l,c]),Jt();return}}_m(e,n,s,r,i)}function _m(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const ct=[];let Vt=-1;const br=[];let An=null,dr=0;const If=Promise.resolve();let so=null;function Mn(e){const t=so||If;return e?t.then(this?e.bind(this):e):t}function Em(e){let t=Vt+1,n=ct.length;for(;t<n;){const r=t+n>>>1,s=ct[r],o=bs(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function za(e){if(!(e.flags&1)){const t=bs(e),n=ct[ct.length-1];!n||!(e.flags&2)&&t>=bs(n)?ct.push(e):ct.splice(Em(t),0,e),e.flags|=1,$f()}}function $f(){so||(so=If.then(Lf))}function oo(e){te(e)?br.push(...e):An&&e.id===-1?An.splice(dr+1,0,e):e.flags&1||(br.push(e),e.flags|=1),$f()}function Gl(e,t,n=Vt+1){for(;n<ct.length;n++){const r=ct[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;ct.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function io(e){if(br.length){const t=[...new Set(br)].sort((n,r)=>bs(n)-bs(r));if(br.length=0,An){An.push(...t);return}for(An=t,dr=0;dr<An.length;dr++){const n=An[dr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}An=null,dr=0}}const bs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Lf(e){try{for(Vt=0;Vt<ct.length;Vt++){const t=ct[Vt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),As(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Vt<ct.length;Vt++){const t=ct[Vt];t&&(t.flags&=-2)}Vt=-1,ct.length=0,io(),so=null,(ct.length||br.length)&&Lf()}}let et=null,Mf=null;function ao(e){const t=et;return et=e,Mf=e&&e.type.__scopeId||null,t}function X(e,t=et,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&po(-1);const o=ao(t);let i;try{i=e(...s)}finally{ao(o),r._d&&po(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Kl(e,t){if(et===null)return e;const n=qo(et),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=Ce]=t[s];o&&(ie(o)&&(o={mounted:o,updated:o}),o.deep&&fn(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function qt(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&&(Yt(),It(l,n,8,[e.el,a,e,t]),Jt())}}function ge(e,t){if(rt){let n=rt.provides;const r=rt.parent&&rt.parent.provides;r===n&&(n=rt.provides=Object.create(r)),n[e]=t}}function he(e,t,n=!1){const r=vt();if(r||Jn){let s=Jn?Jn._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&&ie(t)?t.call(r&&r.proxy):t}}function Qa(){return!!(vt()||Jn)}const Sm=Symbol.for("v-scx"),Cm=()=>he(Sm);function ot(e,t){return Ya(e,null,t)}function dt(e,t,n){return Ya(e,t,n)}function Ya(e,t,n=Ce){const{immediate:r,deep:s,flush:o,once:i}=n,a=Je({},n),l=t&&r||!t&&o!=="post";let c;if(kr){if(o==="sync"){const h=Cm();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=Qt,h.resume=Qt,h.pause=Qt,h}}const u=rt;a.call=(h,g,p)=>It(h,u,g,p);let f=!1;
2o==="post"?a.scheduler=h=>{Ue(h,u&&u.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(h,g)=>{g?h():za(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=wm(e,t,a);return kr&&(c?c.push(d):l&&d()),d}function Tm(e,t,n){const r=this.proxy,s=Pe(e)?e.includes(".")?Df(r,e):()=>r[e]:e.bind(r,r);let o;ie(t)?o=t:(o=t.handler,n=t);const i=Ur(this),a=Ya(s,o.bind(r),n);return i(),a}function Df(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 Tn=new WeakMap,Nf=Symbol("_vte"),Ff=e=>e.__isTeleport,Wn=e=>e&&(e.disabled||e.disabled===""),Am=e=>e&&(e.defer||e.defer===""),zl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ql=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Wi=(e,t)=>{const n=e&&e.to;return Pe(n)?t?t(n):null:n},Pm={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:g,createText:p,createComment:E,parentNode:v}}=c,w=Wn(t.props);let{dynamicChildren:m}=t;const y=(T,k,P)=>{T.shapeFlag&16&&u(T.children,k,P,s,o,i,a,l)},b=(T=t)=>{const k=Wn(T.props),P=T.target=Wi(T.props,g),M=Gi(P,T,p,h);P&&(i!=="svg"&&zl(P)?i="svg":i!=="mathml"&&Ql(P)&&(i="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(P),k||(y(T,P,M),ns(T,!1)))},C=T=>{const k=()=>{if(Tn.get(T)===k){if(Tn.delete(T),Wn(T.props)){const P=v(T.el)||n;y(T,P,T.anchor),ns(T,!0)}b(T)}};Tn.set(T,k),Ue(k,o)};if(e==null){const T=t.el=p(""),k=t.anchor=p("");if(h(T,n,r),h(k,n,r),Am(t.props)||o&&o.pendingBranch){C(t);return}w&&(y(t,n,k),ns(t,!0)),b()}else{t.el=e.el;const T=t.anchor=e.anchor,k=Tn.get(e);if(k){k.flags|=8,Tn.delete(e),C(t);return}t.targetStart=e.targetStart;const P=t.target=e.target,M=t.targetAnchor=e.targetAnchor,D=Wn(e.props),L=D?n:P,B=D?T:M;if(i==="svg"||zl(P)?i="svg":(i==="mathml"||Ql(P))&&(i="mathml"),m?(d(e.dynamicChildren,m,L,s,o,i,a),el(e,t,!0)):l||f(e,t,L,B,s,o,i,a,!1),w)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ds(t,n,T,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const re=Wi(t.props,g);re&&(t.target=re,Ds(t,re,null,c,0))}else D&&Ds(t,P,M,c,1);ns(t,w)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:l,targetStart:c,targetAnchor:u,target:f,props:d}=e,h=Wn(d),g=o||!h,p=Tn.get(e);if(p&&(p.flags|=8,Tn.delete(e)),f&&(s(c),s(u)),o&&s(l),!p&&(h||f)&&i&16)for(let E=0;E<a.length;E++){const v=a[E];r(v,t,n,g,!!v.dynamicChildren)}},move:Ds,hydrate:xm};function Ds(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:c,props:u}=e,f=o===2;if(f&&r(i,t,n),!Tn.has(e)&&(!f||Wn(u))&&l&16)for(let d=0;d<c.length;d++)s(c[d],t,n,2);f&&r(a,t,n)}function xm(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:c,createText:u}},f){function d(E,v){let w=v;for(;w;){if(w&&w.nodeType===8){if(w.data==="teleport start anchor")t.targetStart=w;else if(w.data==="teleport anchor"){t.targetAnchor=w,E._lpa=t.targetAnchor&&i(t.targetAnchor);break}}w=i(w)}}function h(E,v){v.anchor=f(i(E),v,a(E),n,r,s,o)}const g=t.target=Wi(t.props,l),p=Wn(t.props);if(g){const E=g._lpa||g.firstChild;t.shapeFlag&16&&(p?(h(e,t),d(g,E),t.targetAnchor||Gi(g,t,u,c,a(e)===g?e:null)):(t.anchor=i(e),d(g,E),t.targetAnchor||Gi(g,t,u,c),f(E&&i(E),t,g,n,r,s,o))),ns(t,p)}else p&&t.shapeFlag&16&&(h(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const Rm=Pm;function ns(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 Gi(e,t,n,r,s=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Nf]=i,e&&(r(o,e,s),r(i,e,s)),i}const kt=Symbol("_leaveCb"),Qr=Symbol("_enterCb");function km(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return We(()=>{e.isMounted=!0}),Br(()=>{e.isUnmounting=!0}),e}const Pt=[Function,Array],jf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pt,onEnter:Pt,onAfterEnter:Pt,onEnterCancelled:Pt,onBeforeLeave:Pt,onLeave:Pt,onAfterLeave:Pt,onLeaveCancelled:Pt,onBeforeAppear:Pt,onAppear:Pt,onAfterAppear:Pt,onAppearCancelled:Pt},Hf=e=>{const t=e.subTree;return t.component?Hf(t.component):t},Om={name:"BaseTransition",props:jf,setup(e,{slots:t}){const n=vt(),r=km();return()=>{const s=t.default&&Vf(t.default(),!0),o=s&&s.length?Bf(s):n.subTree?xt():void 0;if(!o)return;const i=be(e),{mode:a}=i;if(r.isLeaving)return fi(o);const l=Yl(o);if(!l)return fi(o);let c=Ki(l,i,r,n,f=>c=f);l.type!==Ve&&xr(l,c);let u=n.subTree&&Yl(n.subTree);if(u&&u.type!==Ve&&!Mt(u,l)&&Hf(n).type!==Ve){let f=Ki(u,i,r,n);if(xr(u,f),a==="out-in"&&l.type!==Ve)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},fi(o);a==="in-out"&&l.type!==Ve?f.delayLeave=(d,h,g)=>{const p=Uf(r,u);p[String(u.key)]=u,d[kt]=()=>{h(),d[kt]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function Bf(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ve){t=n;break}}return t}const Im=Om;
2function Uf(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 Ki(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:E,onAppear:v,onAfterAppear:w,onAppearCancelled:m}=t,y=String(e.key),b=Uf(n,e),C=(P,M)=>{P&&It(P,r,9,M)},T=(P,M)=>{const D=M[1];C(P,M),te(P)?P.every(L=>L.length<=1)&&D():P.length<=1&&D()},k={mode:i,persisted:a,beforeEnter(P){let M=l;if(!n.isMounted)if(o)M=E||l;else return;P[kt]&&P[kt](!0);const D=b[y];D&&Mt(e,D)&&D.el[kt]&&D.el[kt](),C(M,[P])},enter(P){if(b[y]===e)return;let M=c,D=u,L=f;if(!n.isMounted)if(o)M=v||c,D=w||u,L=m||f;else return;let B=!1;P[Qr]=ue=>{B||(B=!0,ue?C(L,[P]):C(D,[P]),k.delayedLeave&&k.delayedLeave(),P[Qr]=void 0)};const re=P[Qr].bind(null,!1);M?T(M,[P,re]):re()},leave(P,M){const D=String(e.key);if(P[Qr]&&P[Qr](!0),n.isUnmounting)return M();C(d,[P]);let L=!1;P[kt]=re=>{L||(L=!0,M(),re?C(p,[P]):C(g,[P]),P[kt]=void 0,b[D]===e&&delete b[D])};const B=P[kt].bind(null,!1);b[D]=e,h?T(h,[P,B]):B()},clone(P){const M=Ki(P,t,n,r,s);return s&&s(M),M}};return k}function fi(e){if(Ho(e))return e=jt(e),e.children=null,e}function Yl(e){if(!Ho(e))return Ff(e.type)&&e.children?Bf(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&&ie(n.default))return n.default()}}function xr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,xr(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 Vf(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===ke?(i.patchFlag&128&&s++,r=r.concat(Vf(i.children,t,a))):(t||i.type!==Ve)&&r.push(a!=null?jt(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function xe(e,t){return ie(e)?Je({name:e.name},t,{setup:e}):e}function $m(){const e=vt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function qf(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function CP(e){const t=vt(),n=mt(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 Jl(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const lo=new WeakMap;function wr(e,t,n,r,s=!1){if(te(e)){e.forEach((p,E)=>wr(p,t&&(te(t)?t[E]:t),n,r,s));return}if(hn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&wr(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?qo(r.component):r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Ce?a.refs={}:a.refs,f=a.setupState,d=be(f),h=f===Ce?rf:p=>Jl(u,p)?!1:Ee(d,p),g=(p,E)=>!(E&&Jl(u,E));if(c!=null&&c!==l){if(Xl(t),Pe(c))u[c]=null,h(c)&&(f[c]=null);else if(qe(c)){const p=t;g(c,p.k)&&(c.value=null),p.k&&(u[p.k]=null)}}if(ie(l)){Yt();try{As(l,a,12,[i,u])}finally{Jt()}}else{const p=Pe(l),E=qe(l);if(p||E){const v=()=>{if(e.f){const w=p?h(l)?f[l]:u[l]:g()||!e.k?l.value:u[e.k];if(s)te(w)&&Na(w,o);else if(te(w))w.includes(o)||w.push(o);else if(p)u[l]=[o],h(l)&&(f[l]=u[l]);else{const m=[o];g(l,e.k)&&(l.value=m),e.k&&(u[e.k]=m)}}else p?(u[l]=i,h(l)&&(f[l]=i)):E&&(g(l,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){const w=()=>{v(),lo.delete(e)};w.id=-1,lo.set(e,w),Ue(w,n)}else Xl(e),v()}}}function Xl(e){const t=lo.get(e);t&&(t.flags|=8,lo.delete(e))}let Zl=!1;const fr=()=>{Zl||(console.error("Hydration completed but contains mismatches."),Zl=!0)},Lm=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Mm=e=>e.namespaceURI.includes("MathML"),Ns=e=>{if(e.nodeType===1){if(Lm(e))return"svg";if(Mm(e))return"mathml"}},Fs=e=>e.nodeType===8;function Dm(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(m,y)=>{if(!y.hasChildNodes()){n(null,m,y),io(),y._vnode=m;return}f(y.firstChild,m,null,null,null),io(),y._vnode=m},f=(m,y,b,C,T,k=!1)=>{k=k||!!y.dynamicChildren;const P=Fs(m)&&m.data==="[",M=()=>p(m,y,b,C,T,P),{type:D,ref:L,shapeFlag:B,patchFlag:re}=y;let ue=m.nodeType;y.el=m,re===-2&&(k=!1,y.dynamicChildren=null);let q=null;switch(D){case Xn:ue!==3?y.children===""?(l(y.el=s(""),i(m),m),q=m):q=M():(m.data!==y.children&&(fr(),m.data=y.children),q=o(m));break;case Ve:w(m)?(q=o(m),v(y.el=m.content.firstChild,m,b)):ue!==8||P?q=M():q=o(m);break;case Js:if(P&&(m=o(m),ue=m.nodeType),ue===1||ue===3){q=m;const se=!y.children.length;for(let ne=0;ne<y.staticCount;ne++)se&&(y.children+=q.nodeType===1?q.outerHTML:q.data),ne===y.staticCount-1&&(y.anch
2or=q),q=o(q);return P?o(q):q}else M();break;case ke:P?q=g(m,y,b,C,T,k):q=M();break;default:if(B&1)(ue!==1||y.type.toLowerCase()!==m.tagName.toLowerCase())&&!w(m)?q=M():q=d(m,y,b,C,T,k);else if(B&6){y.slotScopeIds=T;const se=i(m);if(P?q=E(m):Fs(m)&&m.data==="teleport start"?q=E(m,m.data,"teleport end"):q=o(m),t(y,se,null,b,C,Ns(se),k),hn(y)&&!y.type.__asyncResolved){let ne;P?(ne=V(ke),ne.anchor=q?q.previousSibling:se.lastChild):ne=m.nodeType===3?ve(""):V("div"),ne.el=m,y.component.subTree=ne}}else B&64?ue!==8?q=M():q=y.type.hydrate(m,y,b,C,T,k,e,h):B&128&&(q=y.type.hydrate(m,y,b,C,Ns(i(m)),T,k,e,f))}return L!=null&&wr(L,null,C,y),q},d=(m,y,b,C,T,k)=>{k=k||!!y.dynamicChildren;const{type:P,dynamicProps:M,props:D,patchFlag:L,shapeFlag:B,dirs:re,transition:ue}=y,q=P==="input"||P==="option",se=!!M;if(q||se||L!==-1){re&&qt(y,null,b,"created");let ne=!1;if(w(m)){ne=vd(null,ue)&&b&&b.vnode.props&&b.vnode.props.appear;const me=m.content.firstChild;if(ne){const J=me.getAttribute("class");J&&(me.$cls=J),ue.beforeEnter(me)}v(me,m,b),y.el=m=me}if(B&16&&!(D&&(D.innerHTML||D.textContent))){let me=h(m.firstChild,y,m,b,C,T,k);for(me&&!Ys(m,1)&&fr();me;){const J=me;me=me.nextSibling,a(J)}}else if(B&8){let me=y.children;me[0]===` 3`&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&(me=me.slice(1));const{textContent:J}=m;J!==me&&J!==me.replace(/\r\n|\r/g,` 4`)&&(Ys(m,0)||fr(),m.textContent=y.children)}if(D){if(q||se||!k||L&48){const me=m.tagName.includes("-");for(const J in D)(q&&(J.endsWith("value")||J==="indeterminate")||Ts(J)&&!Qn(J)||J[0]==="."||me&&!Qn(J)||M&&M.includes(J))&&r(m,J,null,D[J],void 0,b)}else if(D.onClick)r(m,"onClick",null,D.onClick,void 0,b);else if(L&4&&On(D.style))for(const me in D.style)D.style[me]}let je;(je=D&&D.onVnodeBeforeMount)&&pt(je,b,y),re&&qt(y,null,b,"beforeMount"),((je=D&&D.onVnodeMounted)||re||ne)&&Ed(()=>{je&&pt(je,b,y),ne&&ue.enter(m),re&&qt(y,null,b,"mounted")},C)}return m.nextSibling},h=(m,y,b,C,T,k,P)=>{P=P||!!y.dynamicChildren;const M=y.children,D=M.length;let L=!1;for(let B=0;B<D;B++){const re=P?M[B]:M[B]=_t(M[B]),ue=re.type===Xn;m?(ue&&!P&&B+1<D&&_t(M[B+1]).type===Xn&&(l(s(m.data.slice(re.children.length)),b,o(m)),m.data=re.children),m=f(m,re,C,T,k,P)):ue&&!re.children?l(re.el=s(""),b):(L||(L=!0,Ys(b,1)||fr()),n(null,re,b,null,C,T,Ns(b),k))}return m},g=(m,y,b,C,T,k)=>{const{slotScopeIds:P}=y;P&&(T=T?T.concat(P):P);const M=i(m),D=h(o(m),y,M,b,C,T,k);
vendor: 4,780 bytes, line 4
4return D&&Fs(D)&&D.data==="]"?o(y.anchor=D):(fr(),l(y.anchor=c("]"),M,D),D)},p=(m,y,b,C,T,k)=>{if(Fm(m,y)||fr(),y.el=null,k){const D=E(m);for(;;){const L=o(m);if(L&&L!==D)a(L);else break}}const P=o(m),M=i(m);return a(m),n(null,y,M,P,b,C,Ns(M),T),b&&(b.vnode.el=y.el,Vo(b,y.el)),P},E=(m,y="[",b="]")=>{let C=0;for(;m;)if(m=o(m),m&&Fs(m)&&(m.data===y&&C++,m.data===b)){if(C===0)return o(m);C--}return m},v=(m,y,b)=>{const C=y.parentNode;C&&C.replaceChild(m,y);let T=b;for(;T;)T.vnode.el===y&&(T.vnode.el=T.subTree.el=m),T=T.parent},w=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[u,f]}const uo="data-allow-mismatch",Nm={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Ys(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(uo);)e=e.parentElement;return Ja(e&&e.getAttribute(uo),t)}function Ja(e,t){if(e==null)return!1;if(e==="")return!0;{const n=e.split(",");return t===0&&n.includes("children")?!0:n.includes(Nm[t])}}function Fm(e,t){return Ys(e.parentElement,1)||jm(e)||Hm(t)}function jm(e){return e.nodeType===1&&Ja(e.getAttribute(uo),1)}function Hm({props:e}){const t=e&&e[uo];return typeof t=="string"&&Ja(t,1)}Do().requestIdleCallback;Do().cancelIdleCallback;const hn=e=>!!e.type.__asyncLoader,Ho=e=>e.type.__isKeepAlive,Bm={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=vt(),r=n.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(w,m,y,b,C)=>{const T=w.component;c(w,m,y,0,a),l(T.vnode,w,m,y,T,a,b,w.slotScopeIds,C),Ue(()=>{T.isDeactivated=!1,T.a&&yr(T.a);const k=w.props&&w.props.onVnodeMounted;k&&pt(k,T.parent,w)},a)},r.deactivate=w=>{const m=w.component;fo(m.m),fo(m.a),c(w,d,null,1,a),Ue(()=>{m.da&&yr(m.da);const y=w.props&&w.props.onVnodeUnmounted;y&&pt(y,m.parent,w),m.isDeactivated=!0},a)};function h(w){di(w),u(w,n,a,!0)}function g(w){s.forEach((m,y)=>{const b=ea(hn(m)?m.type.__asyncResolved||{}:m.type);b&&!w(b)&&p(y)})}function p(w){const m=s.get(w);m&&(!i||!Mt(m,i))?h(m):i&&di(i),s.delete(w),o.delete(w)}dt(()=>[e.include,e.exclude],([w,m])=>{w&&g(y=>rs(w,y)),m&&g(y=>!rs(m,y))},{flush:"post",deep:!0});let E=null;const v=()=>{E!=null&&(ho(n.subTree.type)?Ue(()=>{s.set(E,js(n.subTree))},n.subTree.suspense):s.set(E,js(n.subTree)))};return We(v),Qf(v),Br(()=>{s.forEach(w=>{const{subTree:m,suspense:y}=n,b=js(m);if(w.type===b.type&&w.key===b.key){di(b);const C=b.component.da;C&&Ue(C,y);return}h(w)})}),()=>{if(E=null,!t.default)return i=null;const w=t.default(),m=w[0];if(w.length>1)return i=null,w;if(!rr(m)||!(m.shapeFlag&4)&&!(m.shapeFlag&128))return i=null,m;let y=js(m);if(y.type===Ve)return i=null,y;const b=y.type,C=ea(hn(y)?y.type.__asyncResolved||{}:b),{include:T,exclude:k,max:P}=e;if(T&&(!C||!rs(T,C))||k&&C&&rs(k,C))return y.shapeFlag&=-257,i=y,m;const M=y.key==null?b:y.key,D=s.get(M);return y.el&&(y=jt(y),m.shapeFlag&128&&(m.ssContent=y)),E=M,D?(y.el=D.el,y.component=D.component,y.transition&&xr(y,y.transition),y.shapeFlag|=512,o.delete(M),o.add(M)):(o.add(M),P&&o.size>parseInt(P,10)&&p(o.values().next().value)),y.shapeFlag|=256,i=y,ho(m.type)?m:y}}},Um=Bm;function rs(e,t){return te(e)?e.some(n=>rs(n,t)):Pe(e)?e.split(",").includes(t):Lg(e)?(e.lastIndex=0,e.test(t)):!1}function Wf(e,t){Kf(e,"a",t)}function Gf(e,t){Kf(e,"da",t)}function Kf(e,t,n=rt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Bo(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ho(s.parent.vnode)&&Vm(r,t,n,s),s=s.parent}}function Vm(e,t,n,r){const s=Bo(t,e,r,!0);yt(()=>{Na(r[t],s)},n)}function di(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function js(e){return e.shapeFlag&128?e.ssContent:e}function Bo(e,t,n=rt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Yt();const a=Ur(n),l=It(t,n,e,i);return a(),Jt(),l});return r?s.unshift(o):s.push(o),o}}const bn=e=>(t,n=rt)=>{(!kr||e==="sp")&&Bo(e,(...r)=>t(...r),n)},zf=bn("bm"),We=bn("m"),qm=bn("bu"),Qf=bn("u"),Br=bn("bum"),yt=bn("um"),Wm=bn("sp"),Gm=bn("rtg"),Km=bn("rtc");function Yf(e,t=rt){Bo("ec",e,t)}const Jf="components";function eu(e,t){return ed(Jf,e,!0,t)||e}const Xf=Symbol.for("v-ndc");function Zf(e){return Pe(e)?ed(Jf,e,!1)||e:e||Xf}function ed(e,t,n=!0,r=!1){const s=et||rt;if(s){const o=s.type;{const a=ea(o,!1);if(a&&(a===t||a===ft(t)||a===Mo(ft(t))))return o}const i=tu(s[e]||o[e],t)||tu(s.appContext[e],t);return!i&&r?o:i}}function tu(e,t){return e&&(e[t]||e[ft(t)]||e[Mo(ft(t))])}function zm(e,t,n,r){let s;const o=n,i=te(e);if(i||Pe(e)){const a=i&&On(e);let l=!1,c=!1;a&&(l=!St(e),c=Xt(e),e=Fo(e)),s=new Array(e.length);for(let u=0,f=e.length;u<f;
4u++)s[u]=t(l?c?Pr(Ft(e[u])):Ft(e[u]):e[u],u,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(we(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,c=a.length;l<c;l++){const u=a[l];s[l]=t(e[u],u,l,o)}}else s=[];return s}function Qm(e,t,n={},r,s){if(et.ce||et.parent&&hn(et.parent)&&et.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Ae(),Ot(ke,null,[V("slot",n,r)],c?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),Ae();const i=o&&td(o(n)),a=n.key||i&&i.key,l=Ot(ke,{key:(a&&!Ct(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||[],i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function td(e){return e.some(t=>rr(t)?!(t.type===Ve||t.type===ke&&!td(t.children)):!0)?e:null}const zi=e=>e?Ad(e)?qo(e):zi(e.parent):null,fs=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=>zi(e.parent),$root:e=>zi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>od(e),$forceUpdate:e=>e.f||(e.f=()=>{za(e.update)}),$nextTick:e=>e.n||(e.n=Mn.bind(e.proxy)),$watch:e=>Tm.bind(e)}),hi=(e,t)=>e!==Ce&&!e.__isScriptSetup&&Ee(e,t),Ym={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;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(hi(r,t))return i[t]=1,r[t];if(s!==Ce&&Ee(s,t))return i[t]=2,s[t];if(Ee(o,t))return i[t]=3,o[t];if(n!==Ce&&Ee(n,t))return i[t]=4,n[t];Qi&&(i[t]=0)}}const c=fs[t];let u,f;if(c)return t==="$attrs"&&nt(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Ce&&Ee(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Ee(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return hi(s,t)?(s[t]=n,!0):r!==Ce&&Ee(r,t)?(r[t]=n,!0):Ee(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,props:o,type:i}},a){let l;return!!(n[a]||e!==Ce&&a[0]!=="$"&&Ee(e,a)||hi(t,a)||Ee(o,a)||Ee(r,a)||Ee(fs,a)||Ee(s.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ee(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function TP(){return nd().slots}function AP(){return nd().attrs}function nd(e){const t=vt();return t.setupContext||(t.setupContext=xd(t))}function nu(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function rd(e){const t=vt(),n=kr;let r=e();_s(),n&&Er(!1);const s=()=>{Ur(t),n&&Er(!0)},o=()=>{vt()!==t&&t.scope.off(),_s(),n&&Er(!1)};return Fa(r)&&(r=r.catch(i=>{throw s(),Promise.resolve().then(()=>Promise.resolve().then(o)),i})),[r,()=>{s(),Promise.resolve().then(o)}]}let Qi=!0;function Jm(e){const t=od(e),n=e.proxy,r=e.ctx;Qi=!1,t.beforeCreate&&ru(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:g,activated:p,deactivated:E,beforeDestroy:v,beforeUnmount:w,destroyed:m,unmounted:y,render:b,renderTracked:C,renderTriggered:T,errorCaptured:k,serverPrefetch:P,expose:M,inheritAttrs:D,components:L,directives:B,filters:re}=t;if(c&&Xm(c,r,null),i)for(const se in i){const ne=i[se];ie(ne)&&(r[se]=ne.bind(n))}if(s){const se=s.call(n,n);we(se)&&(e.data=Zt(se))}if(Qi=!0,o)for(const se in o){const ne=o[se],je=ie(ne)?ne.bind(n,n):ie(ne.get)?ne.get.bind(n,n):Qt,me=!ie(ne)&&ie(ne.set)?ne.set.bind(n):Qt,J=z({get:je,set:me});Object.defineProperty(r,se,{enumerable:!0,configurable:!0,get:()=>J.value,set:de=>J.value=de})}if(a)for(const se in a)sd(a[se],r,n,se);if(l){const se=ie(l)?l.call(n):l;Reflect.ownKeys(se).forEach(ne=>{ge(ne,se[ne])})}u&&ru(u,e,"c");function q(se,ne){te(ne)?ne.forEach(je=>se(je.bind(n))):ne&&se(ne.bind(n))}if(q(zf,f),q(We,d),q(qm,h),q(Qf,g),q(Wf,p),q(Gf,E),q(Yf,k),q(Km,C),q(Gm,T),q(Br,w),q(yt,y),q(Wm,P),te(M))if(M.length){const se=e.exposed||(e.exposed={});M.forEach(ne=>{Object.defineProperty(se,ne,{get:()=>n[ne],set:je=>n[ne]=je,enumerable:!0})})}else e.exposed||(e.exposed={});b&&e.render===Qt&&(e.render=b),D!=null&&(e.inheritAttrs=D),L&&(e.components=L),B&&(e.directives=B),P&&qf(e)}
vendor: 21,033 bytes, line 4
4function Xm(e,t,n=Qt){te(e)&&(e=Yi(e));for(const r in e){const s=e[r];let o;we(s)?"default"in s?o=he(s.from||r,s.default,!0):o=he(s.from||r):o=he(s),qe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function ru(e,t,n){It(te(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function sd(e,t,n,r){let s=r.includes(".")?Df(n,r):()=>n[r];if(Pe(e)){const o=t[e];ie(o)&&dt(s,o)}else if(ie(e))dt(s,e.bind(n));else if(we(e))if(te(e))e.forEach(o=>sd(o,t,n,r));else{const o=ie(e.handler)?e.handler.bind(n):t[e.handler];ie(o)&&dt(s,o,e)}}function od(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(c=>co(l,c,i,!0)),co(l,t,i)),we(t)&&o.set(t,l),l}function co(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&co(e,o,n,!0),s&&s.forEach(i=>co(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Zm[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Zm={data:su,props:ou,emits:ou,methods:ss,computed:ss,beforeCreate:at,created:at,beforeMount:at,mounted:at,beforeUpdate:at,updated:at,beforeDestroy:at,beforeUnmount:at,destroyed:at,unmounted:at,activated:at,deactivated:at,errorCaptured:at,serverPrefetch:at,components:ss,directives:ss,watch:ty,provide:su,inject:ey};function su(e,t){return t?e?function(){return Je(ie(e)?e.call(this,this):e,ie(t)?t.call(this,this):t)}:t:e}function ey(e,t){return ss(Yi(e),Yi(t))}function Yi(e){if(te(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function at(e,t){return e?[...new Set([].concat(e,t))]:t}function ss(e,t){return e?Je(Object.create(null),e,t):t}function ou(e,t){return e?te(e)&&te(t)?[...new Set([...e,...t])]:Je(Object.create(null),nu(e),nu(t??{})):t}function ty(e,t){if(!e)return t;if(!t)return e;const n=Je(Object.create(null),e);for(const r in t)n[r]=at(e[r],t[r]);return n}function id(){return{app:null,config:{isNativeTag:rf,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 ny=0;function ry(e,t){return function(r,s=null){ie(r)||(r=Je({},r)),s!=null&&!we(s)&&(s=null);const o=id(),i=new WeakSet,a=[];let l=!1;const c=o.app={_uid:ny++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:My,get config(){return o.config},set config(u){},use(u,...f){return i.has(u)||(u&&ie(u.install)?(i.add(u),u.install(c,...f)):ie(u)&&(i.add(u),u(c,...f))),c},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),c},component(u,f){return f?(o.components[u]=f,c):o.components[u]},directive(u,f){return f?(o.directives[u]=f,c):o.directives[u]},mount(u,f,d){if(!l){const h=c._ceVNode||V(r,s);return h.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(h,u):e(h,u,d),l=!0,c._container=u,u.__vue_app__=c,qo(h.component)}},onUnmount(u){a.push(u)},unmount(){l&&(It(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return o.provides[u]=f,c},runWithContext(u){const f=Jn;Jn=c;try{return u()}finally{Jn=f}}};return c}}let Jn=null;const sy=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ft(t)}Modifiers`]||e[`${or(t)}Modifiers`];function oy(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ce;let s=n;const o=t.startsWith("update:"),i=o&&sy(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>Pe(u)?u.trim():u)),i.number&&(s=n.map(ja)));let a,l=r[a=ii(t)]||r[a=ii(ft(t))];!l&&o&&(l=r[a=ii(or(t))]),l&&It(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,It(c,e,6,s)}}const iy=new WeakMap;function ad(e,t,n=!1){const r=n?iy:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!ie(e)){const l=c=>{const u=ad(c,t,!0);u&&(a=!0,Je(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(we(e)&&r.set(e,null),null):(te(o)?o.forEach(l=>i[l]=null):Je(i,o),we(e)&&r.set(e,i),i)}function Uo(e,t){return!e||!Ts(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Ee(e,t[0].toLowerCase()+t.slice(1))||Ee(e,or(t))||Ee(e,t))}function pi(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:g,inheritAttrs:p}=e,E=ao(e);let v,w;try{if(n.shapeFlag&4){const y=s||r,b=y;v=_t(c.call(b,y,u,f,h,d,g)),w=a}else{const y=t;v=_t(y.length>1?y(f,{attrs:a,slots:i,emit:l}):y(f,null)),w=t.props?a:ly(a)}}catch(y){ds.length=0,Ps(y,e,1),v=V(Ve)}let m=v;if(w&&p!==!1){const y=Object.keys(w),{shapeFlag:b}=m;y.length&&b&7&&(o&&y.some(Io)&&(w=uy(w,o)),m=jt(m,w,!1,!0))}return n.dirs&&(m=jt(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&xr(m,n.transition),v=m,ao(E),v}function ay(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(rr(s)){if(s.type!==Ve||s.children==="v-if"){if(n)return;n=s}}else return}return n}const ly=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ts(n))&&((t||(t={}))[n]=e[n]);return t},uy=(e,t)=>{const n={};for(const r in e)(!Io(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function cy(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?iu(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(ld(i,r,d)&&!Uo(c,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?iu(r,i,c):!0:!!i;return!1}function iu(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(ld(t,e,o)&&!Uo(n,o))return!0}return!1}function ld(e,t,n){const r=e[n],s=t[n];return n==="style"&&we(r)&&we(s)?!Ha(r,s):r!==s}function Vo({vnode:e,parent:t,suspense:n},r){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=r,e=s),s===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const ud={},cd=()=>Object.create(ud),fd=e=>Object.getPrototypeOf(e)===ud;function fy(e,t,n,r=!1){const s={},o=cd();e.propsDefaults=Object.create(null),dd(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:zt(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function dy(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=be(s),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Uo(e.emitsOptions,d))continue;const h=t[d];if(l)if(Ee(o,d))h!==o[d]&&(o[d]=h,c=!0);else{const g=ft(d);s[g]=Ji(l,a,g,h,e,!1)}else h!==o[d]&&(o[d]=h,c=!0)}}}else{dd(e,t,s,o)&&(c=!0);let u;for(const f in a)(!t||!Ee(t,f)&&((u=or(f))===f||!Ee(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=Ji(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!Ee(t,f))&&(delete o[f],c=!0)}c&&cn(e.attrs,"set","")}function dd(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Qn(l))continue;const c=t[l];let u;s&&Ee(s,u=ft(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:Uo(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=be(n),c=a||Ce;for(let u=0;u<o.length;u++){const f=o[u];n[f]=Ji(s,l,f,c[f],e,!Ee(c,f))}}return i}function Ji(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=Ee(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ie(l)){const{propsDefaults:c}=s;if(n in c)r=c[n];else{const u=Ur(s);r=c[n]=l.call(null,t),u()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===or(n))&&(r=!0))}return r}const hy=new WeakMap;function hd(e,t,n=!1){const r=n?hy:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!ie(e)){const u=f=>{l=!0;const[d,h]=hd(f,t,!0);Je(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return we(e)&&r.set(e,gr),gr;if(te(o))for(let u=0;u<o.length;u++){const f=ft(o[u]);au(f)&&(i[f]=Ce)}else if(o)for(const u in o){const f=ft(u);if(au(f)){const d=o[u],h=i[f]=te(d)||ie(d)?{type:d}:Je({},d),g=h.type;let p=!1,E=!0;if(te(g))for(let v=0;v<g.length;++v){const w=g[v],m=ie(w)&&w.name;if(m==="Boolean"){p=!0;break}else m==="String"&&(E=!1)}else p=ie(g)&&g.name==="Boolean";h[0]=p,h[1]=E,(p||Ee(h,"default"))&&a.push(f)}}const c=[i,a];return we(e)&&r.set(e,c),c}function au(e){return e[0]!=="$"&&!Qn(e)}const Xa=e=>e==="_"||e==="_ctx"||e==="$stable",Za=e=>te(e)?e.map(_t):[_t(e)],py=(e,t,n)=>{if(t._n)return t;const r=X((...s)=>Za(t(...s)),n);return r._c=!1,r},pd=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Xa(s))continue;const o=e[s];if(ie(o))t[s]=py(s,o,r);else if(o!=null){const i=Za(o);t[s]=()=>i}}},gd=(e,t)=>{const n=Za(t);e.slots.default=()=>n},md=(e,t,n)=>{for(const r in t)(n||!Xa(r))&&(e[r]=t[r])},gy=(e,t,n)=>{const r=e.slots=cd();if(e.vnode.shapeFlag&32){const s=t._;s?(md(r,t,n),n&&lf(r,"_",s,!0)):pd(t,r)}else t&&gd(e,t)},my=(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:md(s,t,n):(o=!t.$stable,pd(t,s)),i=t}else t&&(gd(e,t),i={default:1});if(o)for(const a in s)!Xa(a)&&i[a]==null&&delete s[a]},Ue=Ed;function yy(e){return yd(e)}function vy(e){return yd(e,Dm)}function yd(e,t){const n=Do();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Qt,insertStaticContent:g}=e,p=(_,S,A,I=null,x=null,O=null,j=void 0,F=null,N=!!S.dynamicChildren)=>{if(_===S)return;_&&!Mt(_,S)&&(I=R(_),de(_,x,O,!0),_=null),S.patchFlag===-2&&(N=!1,S.dynamicChildren=null);const{type:$,ref:oe,shapeFlag:G}=S;switch($){case Xn:E(_,S,A,I);break;case Ve:v(_,S,A,I);break;case Js:_==null&&w(S,A,I,j);break;case ke:L(_,S,A,I,x,O,j,F,N);break;default:G&1?b(_,S,A,I,x,O,j,F,N):G&6?B(_,S,A,I,x,O,j,F,N):(G&64||G&128)&&$.process(_,S,A,I,x,O,j,F,N,Z)}oe!=null&&x?wr(oe,_&&_.ref,O,S||_,!S):oe==null&&_&&_.ref!=null&&wr(_.ref,null,O,_,!0)},E=(_,S,A,I)=>{if(_==null)r(S.el=a(S.children),A,I);else{const x=S.el=_.el;S.children!==_.children&&c(x,S.children)}},v=(_,S,A,I)=>{_==null?r(S.el=l(S.children||""),A,I):S.el=_.el},w=(_,S,A,I)=>{[_.el,_.anchor]=g(_.children,S,A,I,_.el,_.anchor)},m=({el:_,anchor:S},A,I)=>{let x;for(;_&&_!==S;)x=d(_),r(_,A,I),_=x;r(S,A,I)},y=({el:_,anchor:S})=>{let A;for(;_&&_!==S;)A=d(_),s(_),_=A;s(S)},b=(_,S,A,I,x,O,j,F,N)=>{if(S.type==="svg"?j="svg":S.type==="math"&&(j="mathml"),_==null)C(S,A,I,x,O,j,F,N);else{const $=_.el&&_.el._isVueCE?_.el:null;try{$&&$._beginPatch(),P(_,S,x,O,j,F,N)}finally{$&&$._endPatch()}}},C=(_,S,A,I,x,O,j,F)=>{let N,$;const{props:oe,shapeFlag:G,transition:Y,dirs:ae}=_;if(N=_.el=i(_.type,O,oe&&oe.is,oe),G&8?u(N,_.children):G&16&&k(_.children,N,null,I,x,gi(_,O),j,F),ae&&qt(_,null,I,"created"),T(N,_,_.scopeId,j,I),oe){for(const Te in oe)Te!=="value"&&!Qn(Te)&&o(N,Te,null,oe[Te],O,I);"value"in oe&&o(N,"value",null,oe.value,O),($=oe.onVnodeBeforeMount)&&pt($,I,_)}ae&&qt(_,null,I,"beforeMount");const ye=vd(x,Y);ye&&Y.beforeEnter(N),r(N,S,A),(($=oe&&oe.onVnodeMounted)||ye||ae)&&Ue(()=>{$&&pt($,I,_),ye&&Y.enter(N),ae&&qt(_,null,I,"mounted")},x)},T=(_,S,A,I,x)=>{if(A&&h(_,A),I)for(let O=0;O<I.length;O++)h(_,I[O]);if(x){let O=x.subTree;if(S===O||ho(O.type)&&(O.ssContent===S||O.ssFallback===S)){const j=x.vnode;T(_,j,j.scopeId,j.slotScopeIds,x.parent)}}},k=(_,S,A,I,x,O,j,F,N=0)=>{for(let $=N;$<_.length;$++){const oe=_[$]=F?ln(_[$]):_t(_[$]);p(null,oe,S,A,I,x,O,j,F)}},P=(_,S,A,I,x,O,j)=>{const F=S.el=_.el;let{patchFlag:N,dynamicChildren:$,dirs:oe}=S;N|=_.patchFlag&16;const G=_.props||Ce,Y=S.props||Ce;let ae;if(A&&Nn(A,!1),(ae=Y.onVnodeBeforeUpdate)&&pt(ae,A,S,_),oe&&qt(S,_,A,"beforeUpdate"),A&&Nn(A,!0),$&&(!_.dynamicChildren||_.dynamicChildren.length!==$.length)&&(N=0,j=!1,$=null),(G.innerHTML&&Y.innerHTML==null||G.textContent&&Y.textContent==null)&&u(F,""),$?M(_.dynamicChildren,$,F,A,I,gi(S,x),O):j||ne(_,S,F,null,A,I,gi(S,x),O,!1),N>0){if(N&16)D(F,G,Y,A,x);else if(N&2&&G.class!==Y.class&&o(F,"class",null,Y.class,x),N&4&&o(F,"style",G.style,Y.style,x),N&8){const ye=S.dynamicProps;for(let Te=0;Te<ye.length;Te++){const Se=ye[Te],Be=G[Se],ze=Y[Se];(ze!==Be||Se==="value")&&o(F,Se,Be,ze,x,A)}}N&1&&_.children!==S.children&&u(F,S.children)}else!j&&$==null&&D(F,G,Y,A,x);((ae=Y.onVnodeUpdated)||oe)&&Ue(()=>{ae&&pt(ae,A,S,_),oe&&qt(S,_,A,"updated")},I)},M=(_,S,A,I,x,O,j)=>{for(let F=0;F<S.length;F++){const N=_[F],$=S[F],oe=N.el&&(N.type===ke||!Mt(N,$)||N.shapeFlag&198)?f(N.el):A;p(N,$,oe,null,I,x,O,j,!0)}},D=(_,S,A,I,x)=>{if(S!==A){if(S!==Ce)for(const O in S)!Qn(O)&&!(O in A)&&o(_,O,S[O],null,x,I);for(const O in A){if(Qn(O))continue;const j=A[O],F=S[O];j!==F&&O!=="value"&&o(_,O,F,j,x,I)}"value"in A&&o(_,"value",S.value,A.value,x)}},L=(_,S,A,I,x,O,j,F,N)=>{const $=S.el=_?_.el:a(""),oe=S.anchor=_?_.anchor:a("");let{patchFlag:G,dynamicChildren:Y,slotScopeIds:ae}=S;ae&&(F=F?F.concat(ae):ae),_==null?(r($,A,I),r(oe,A,I),k(S.children||[],A,oe,x,O,j,F,N)):G>0&&G&64&&Y&&_.dynamicChildren&&_.dynamicChildren.length===Y.length?(M(_.dynamicChildren,Y,A,x,O,j,F),(S.key!=null||x&&S===x.subTree)&&el(_,S,!0)):ne(_,S,A,oe,x,O,j,F,N)},B=(_,S,A,I,x,O,j,F,N)=>{S.slotScopeIds=F,_==null?S.shapeFlag&512?x.ctx.activate(S,A,I,j,N):re(S,A,I,x,O,j,N):ue(_,S,N)},re=(_,S,A,I,x,O,j)=>{const F=_.component=ky(_,I,x);if(Ho(_)&&(F.ctx.renderer=Z),Oy(F,!1,j),F.asyncDep){if(x&&x.registerDep(F,q,j),!_.el){const N=F.subTree=V(Ve);v(null,N,S,A),_.placeholder=N.el}}else q(F,_,S,A,x,O,j)},ue=(_,S,A)=>{const I=S.component=_.component;if(cy(_,S,A))if(I.asyncDep&&!I.asyncResolved){se(I,S,A);return}else I.next=S,I.update();else S.el=_.el,I.vnode=S},q=(_,S,A,I,x,O,j)=>{const F=()=>{if(_.isMounted){let{next:G,bu:Y,u:ae,parent:ye,vnode:Te}=_;{const bt=bd(_);if(bt){G&&(G.el=Te.el,se(_,G,j)),bt.asyncDep.then(()=>{Ue(()=>{_.isUnmounted||$()},x)});return}}let Se=G,Be;Nn(_,!1),G?(G.el=Te.el,se(_,G,j)):G=Te,Y&&yr(Y),(Be=G.props&&G.props.onVnodeBeforeUpdate)&&pt(Be,ye,G,Te),Nn(_,!0);const ze=pi(_),Lt=_.subTree;_.subTree=ze,p(Lt,ze,f(Lt.el),R(Lt),_,x,O),G.el=ze.el,Se===null&&Vo(_,ze.el),ae&&Ue(ae,x),(Be=G.props&&G.props.onVnodeUpdated)&&Ue(()=>pt(Be,ye,G,Te),x)}else{let G;const{el:Y,props:ae}=S,{bm:ye,m:Te,parent:Se,root:Be,type:ze}=_,Lt=hn(S);if(Nn(_,!1),ye&&yr(ye),!Lt&&(G=ae&&ae.onVnodeBeforeMount)&&pt(G,Se,S),Nn(_,!0),Y&&Ie){const bt=()=>{_.subTree=pi(_),Ie(Y,_.subTree,_,x,null)};Lt&&ze.__asyncHydrate?ze.__asyncHydrate(Y,_,bt):bt()}else{Be.ce&&Be.ce._hasShadowRoot()&&Be.ce._injectChildStyle(ze,_.parent?_.parent.type:void 0);const bt=_.subTree=pi(_);p(null,bt,A,I,_,x,O),S.el=bt.el}if(Te&&Ue(Te,x),!Lt&&(G=ae&&ae.onVnodeMounted)){const bt=S;Ue(()=>pt(G,Se,bt),x)}(S.shapeFlag&256||Se&&hn(Se.vnode)&&Se.vnode.shapeFlag&256)&&_.a&&Ue(_.a,x),_.isMounted=!0,S=A=I=null}};_.scope.on();const N=_.effect=new pf(F);_.scope.off();const $=_.update=N.run.bind(N),oe=_.job=N.runIfDirty.bind(N);oe.i=_,oe.id=_.uid,N.scheduler=()=>za(oe),Nn(_,!0),$()},se=(_,S,A)=>{S.component=_;const I=_.vnode.props;_.vnode=S,_.next=null,dy(_,S.props,I,A),my(_,S.children,A),Yt(),Gl(_),Jt()},ne=(_,S,A,I,x,O,j,F,N=!1)=>{const $=_&&_.children,oe=_?_.shapeFlag:0,G=S.children,{patchFlag:Y,shapeFlag:ae}=S;if(Y>0){if(Y&128){me($,G,A,I,x,O,j,F,N);return}else if(Y&256){je($,G,A,I,x,O,j,F,N);return}}ae&8?(oe&16&&Xe($,x,O),G!==$&&u(A,G)):oe&16?ae&16?me($,G,A,I,x,O,j,F,N):Xe($,x,O,!0):(oe&8&&u(A,""),ae&16&&k(G,A,I,x,O,j,F,N))},je=(_,S,A,I,x,O,j,F,N)=>{_=_||gr,S=S||gr;const $=_.length,oe=S.length,G=Math.min($,oe);let Y;for(Y=0;Y<G;Y++){const ae=S[Y]=N?ln(S[Y]):_t(S[Y]);p(_[Y],ae,A,null,x,O,j,F,N)}$>oe?Xe(_,x,O,!0,!1,G):k(S,A,I,x,O,j,F,N,G)},me=(_,S,A,I,x,O,j,F,N)=>{let $=0;const oe=S.length;let G=_.length-1,Y=oe-1;for(;$<=G&&$<=Y;){const ae=_[$],ye=S[$]=N?ln(S[$]):_t(S[$]);if(Mt(ae,ye))p(ae,ye,A,null,x,O,j,F,N);else break;$++}for(;$<=G&&$<=Y;){const ae=_[G],ye=S[Y]=N?ln(S[Y]):_t(S[Y]);if(Mt(ae,ye))p(ae,ye,A,null,x,O,j,F,N);else break;G--,Y--}if($>G){if($<=Y){const ae=Y+1,ye=ae<oe?S[ae].el:I;for(;$<=Y;)p(null,S[$]=N?ln(S[$]):_t(S[$]),A,ye,x,O,j,F,N),$++}}else if($>Y)for(;$<=G;)de(_[$],x,O,!0),$++;else{const ae=$,ye=$,Te=new Map;for($=ye;$<=Y;$++){const wt=S[$]=N?ln(S[$]):_t(S[$]);wt.key!=null&&Te.set(wt.key,$)}let Se,Be=0;const ze=Y-ye+1;let Lt=!1,bt=0;const Kr=new Array(ze);for($=0;$<ze;$++)Kr[$]=0;for($=ae;$<=G;$++){const wt=_[$];if(Be>=ze){de(wt,x,O,!0);continue}let Ut;if(wt.key!=null)Ut=Te.get(wt.key);else for(Se=ye;Se<=Y;Se++)if(Kr[Se-ye]===0&&Mt(wt,S[Se])){Ut=Se;break}Ut===void 0?de(wt,x,O,!0):(Kr[Ut-ye]=$+1,Ut>=bt?bt=Ut:Lt=!0,p(wt,S[Ut],A,null,x,O,j,F,N),Be++)}const jl=Lt?by(Kr):gr;for(Se=jl.length-1,$=ze-1;$>=0;$--){const wt=ye+$,Ut=S[wt],Hl=S[wt+1],Bl=wt+1<oe?Hl.el||wd(Hl):I;Kr[$]===0?p(null,Ut,A,Bl,x,O,j,F,N):Lt&&(Se<0||$!==jl[Se]?J(Ut,A,Bl,2):Se--)}}},J=(_,S,A,I,x=null)=>{const{el:O,type:j,transition:F,children:N,shapeFlag:$}=_;if($&6){J(_.component.subTree,S,A,I);return}if($&128){_.suspense.move(S,A,I);return}if($&64){j.move(_,S,A,Z);return}if(j===ke){r(O,S,A);for(let G=0;G<N.length;G++)J(N[G],S,A,I);r(_.anchor,S,A);return}if(j===Js){m(_,S,A);return}if(I!==2&&$&1&&F)if(I===0)F.persisted&&!O[kt]?r(O,S,A):(F.beforeEnter(O),r(O,S,A),Ue(()=>F.enter(O),x));else{const{leave:G,delayLeave:Y,afterLeave:ae}=F,ye=()=>{_.ctx.isUnmounted?s(O):r(O,S,A)},Te=()=>{const Se=O._isLeaving||!!O[kt];O._isLeaving&&O[kt](!0),F.persisted&&!Se?ye():G(O,()=>{ye(),ae&&ae()})};Y?Y(O,ye,Te):Te()}else r(O,S,A)},de=(_,S,A,I=!1,x=!1)=>{const{type:O,props:j,ref:F,children:N,dynamicChildren:$,shapeFlag:oe,patchFlag:G,dirs:Y,cacheIndex:ae,memo:ye}=_;if(G===-2&&(x=!1),F!=null&&(Yt(),wr(F,null,A,_,!0),Jt()),ae!=null&&(S.renderCache[ae]=void 0),oe&256){S.ctx.deactivate(_);return}const Te=oe&1&&Y,Se=!hn(_);let Be;if(Se&&(Be=j&&j.onVnodeBeforeUnmount)&&pt(Be,S,_),oe&6)$t(_.component,A,I);else{if(oe&128){_.suspense.unmount(A,I);return}Te&&qt(_,null,S,"beforeUnmount"),oe&64?_.type.remove(_,S,A,Z,I):$&&!$.hasOnce&&(O!==ke||G>0&&G&64)?Xe($,S,A,!1,!0):(O===ke&&G&384||!x&&oe&16)&&Xe(N,S,A),I&&Ge(_)}const ze=ye!=null&&ae==null;(Se&&(Be=j&&j.onVnodeUnmounted)||Te||ze)&&Ue(()=>{Be&&pt(Be,S,_),Te&&qt(_,null,S,"unmounted"),ze&&(_.el=null)},A)},Ge=_=>{const{type:S,el:A,anchor:I,transition:x}=_;if(S===ke){Ke(A,I);return}if(S===Js){y(_);return}const O=()=>{s(A),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(_.shapeFlag&1&&x&&!x.persisted){const{leave:j,delayLeave:F}=x,N=()=>j(A,O);F?F(_.el,O,N):N()}else O()},Ke=(_,S)=>{let A;for(;_!==S;)A=d(_),s(_),_=A;s(S)},$t=(_,S,A)=>{const{bum:I,scope:x,job:O,subTree:j,um:F,m:N,a:$}=_;fo(N),fo($),I&&yr(I),x.stop(),O&&(O.flags|=8,de(j,_,S,A)),F&&Ue(F,S),Ue(()=>{_.isUnmounted=!0},S)},Xe=(_,S,A,I=!1,x=!1,O=0)=>{for(let j=O;j<_.length;j++)de(_[j],S,A,I,x)},R=_=>{if(_.shapeFlag&6)return R(_.component.subTree);if(_.shapeFlag&128)return _.suspense.next();const S=d(_.anchor||_.el),A=S&&S[Nf];return A?d(A):S};let K=!1;const U=(_,S,A)=>{let I;_==null?S._vnode&&(de(S._vnode,null,null,!0),I=S._vnode.component):p(S._vnode||null,_,S,null,null,null,A),S._vnode=_,K||(K=!0,Gl(I),io(),K=!1)},Z={p,um:de,m:J,r:Ge,mt:re,mc:k,pc:ne,pbc:M,n:R,o:e};let fe,Ie;return t&&([fe,Ie]=t(Z)),{render:U,hydrate:fe,createApp:ry(U,fe)}}function gi({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 Nn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function vd(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function el(e,t,n=!1){const r=e.children,s=t.children;if(te(r)&&te(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]=ln(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&el(i,a)),a.type===Xn&&(a.patchFlag===-1&&(a=s[o]=ln(a)),a.el=i.el),a.type===Ve&&!a.el&&(a.el=i.el)}}function by(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<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 bd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:bd(t)}function fo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function wd(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?wd(t.subTree):null}const ho=e=>e.__isSuspense;let Xi=0;const wy={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){if(e==null)_y(t,n,r,s,o,i,a,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Ey(e,t,n,r,s,i,a,l,c)}},hydrate:Sy,normalize:Cy},tl=wy;function ws(e,t){const n=e.props&&e.props[t];ie(n)&&n()}function _y(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=_d(e,s,r,t,f,n,o,i,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,o,i),d.deps>
40?(ws(e,"onPending"),ws(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),_r(d,e.ssFallback)):d.resolve(!1,!0)}function Ey(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:g,pendingBranch:p,isInFallback:E,isHydrating:v}=f;if(p)f.pendingBranch=d,Mt(p,d)?(l(p,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():E&&(v||(l(g,h,n,r,s,null,o,i,a),_r(f,h)))):(f.pendingId=Xi++,v?(f.isHydrating=!1,f.activeBranch=p):c(p,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),E?(l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(g,h,n,r,s,null,o,i,a),_r(f,h))):g&&Mt(g,d)?(l(g,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(g&&Mt(g,d))l(g,d,n,r,s,f,o,i,a),_r(f,d);else if(ws(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Xi++,l(null,d,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:w,pendingId:m}=f;w>0?setTimeout(()=>{f.pendingId===m&&f.fallback(h)},w):w===0&&f.fallback(h)}}function _d(e,t,n,r,s,o,i,a,l,c,u=!1){const{p:f,m:d,um:h,n:g,o:{parentNode:p,remove:E}}=c;let v;const w=Ty(e);w&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const m=e.props?uf(e.props.timeout):void 0,y=o,b={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Xi++,timeout:typeof m=="number"?m:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(C=!1,T=!1){const{vnode:k,activeBranch:P,pendingBranch:M,pendingId:D,effects:L,parentComponent:B,container:re,isInFallback:ue}=b;let q=!1;if(b.isHydrating)b.isHydrating=!1;else if(!C){q=P&&M.transition&&M.transition.mode==="out-in";let je=!1;q&&(P.transition.afterLeave=()=>{D===b.pendingId&&(d(M,re,o===y&&!je?g(P):o,0),oo(L),ue&&k.ssFallback&&(k.ssFallback.el=null))}),P&&!b.isFallbackMountPending&&(p(P.el)===re&&(o=g(P),je=!0),h(P,B,b,!0),!q&&ue&&k.ssFallback&&Ue(()=>k.ssFallback.el=null,b)),q||d(M,re,o,0)}b.isFallbackMountPending=!1,_r(b,M),b.pendingBranch=null,b.isInFallback=!1;let se=b.parent,ne=!1;for(;se;){if(se.pendingBranch){se.effects.push(...L),ne=!0;break}se=se.parent}!ne&&!q&&oo(L),b.effects=[],w&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!T&&t.resolve()),ws(k,"onResolve")},fallback(C){if(!b.pendingBranch)return;const{vnode:T,activeBranch:k,parentComponent:P,container:M,namespace:D}=b;ws(T,"onFallback");const L=g(k),B=()=>{b.isFallbackMountPending=!1,b.isInFallback&&(f(null,C,M,L,P,null,D,a,l),_r(b,C))},re=C.transition&&C.transition.mode==="out-in";re&&(b.isFallbackMountPending=!0,k.transition.afterLeave=B),b.isInFallback=!0,h(k,P,null,!0),re||B()},move(C,T,k){b.activeBranch&&d(b.activeBranch,C,T,k),b.container=C},next(){return b.activeBranch&&g(b.activeBranch)},registerDep(C,T,k){const P=!!b.pendingBranch;P&&b.deps++;const M=C.vnode.el;C.asyncDep.catch(D=>{Ps(D,C,0)}).then(D=>
vendor: 12,681 bytes, line 4
4{if(C.isUnmounted||b.isUnmounted||b.pendingId!==C.suspenseId)return;_s(),C.asyncResolved=!0;const{vnode:L}=C;Zi(C,D),M&&(L.el=M);const B=!M&&C.subTree.el;T(C,L,p(M||C.subTree.el),M?null:g(C.subTree),b,i,k),B&&(L.placeholder=null,E(B)),Vo(C,L.el),P&&--b.deps===0&&b.resolve()})},unmount(C,T){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,C,T),b.pendingBranch&&h(b.pendingBranch,n,C,T)}};return b}function Sy(e,t,n,r,s,o,i,a,l){const c=t.suspense=_d(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),u}function Cy(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=lu(r?n.default:n),e.ssFallback=r?lu(n.fallback):V(Ve)}function lu(e){let t;if(ie(e)){const n=Rr&&e._c;n&&(e._d=!1,Ae()),e=e(),n&&(e._d=!0,t=gt,Sd())}return te(e)&&(e=ay(e)),e=_t(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ed(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):oo(e)}function _r(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,Vo(r,s))}function Ty(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ke=Symbol.for("v-fgt"),Xn=Symbol.for("v-txt"),Ve=Symbol.for("v-cmt"),Js=Symbol.for("v-stc"),ds=[];let gt=null;function Ae(e=!1){ds.push(gt=e?null:[])}function Sd(){ds.pop(),gt=ds[ds.length-1]||null}let Rr=1;function po(e,t=!1){Rr+=e,e<0&>&&t&&(gt.hasOnce=!0)}function Cd(e){return e.dynamicChildren=Rr>0?gt||gr:null,Sd(),Rr>0&>&>.push(e),e}function ut(e,t,n,r,s,o){return Cd(W(e,t,n,r,s,o,!0))}function Ot(e,t,n,r,s){return Cd(V(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 Td=({key:e})=>e??null,Xs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Pe(e)||qe(e)||ie(e)?{i:et,r:e,k:t,f:!!n}:e:null);function W(e,t=null,n=null,r=0,s=null,o=e===ke?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Td(t),ref:t&&Xs(t),scopeId:Mf,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?(go(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Pe(n)?8:16),Rr>0&&!i&>&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&>.push(l),l}const V=Ay;function Ay(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Xf)&&(e=Ve),rr(e)){const a=jt(e,t,!0);return n&&go(a,n),Rr>0&&!o&>&&(a.shapeFlag&6?gt[gt.indexOf(e)]=a:gt.push(a)),a.patchFlag=-2,a}if(Ly(e)&&(e=e.__vccOpts),t){t=Py(t);let{class:a,style:l}=t;a&&!Pe(a)&&(t.class=pe(a)),we(l)&&(jo(l)&&!te(l)&&(l=Je({},l)),t.style=No(l))}const i=Pe(e)?1:ho(e)?128:Ff(e)?64:we(e)?4:ie(e)?2:0;return W(e,t,n,r,s,i,o,!0)}function Py(e){return e?jo(e)||fd(e)?Je({},e):e:null}function jt(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,c=t?nl(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Td(c),ref:t&&t.ref?n&&o?te(o)?o.concat(Xs(t)):[o,Xs(t)]:Xs(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!==ke?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&&jt(e.ssContent),ssFallback:e.ssFallback&&jt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&xr(u,l.clone(u)),u}function ve(e=" ",t=0){return V(Xn,null,e,t)}function xt(e="",t=!1){return t?(Ae(),Ot(Ve,null,e)):V(Ve,null,e)}function _t(e){return e==null||typeof e=="boolean"?V(Ve):te(e)?V(ke,null,e.slice()):rr(e)?ln(e):V(Xn,null,String(e))}function ln(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:jt(e)}function go(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),go(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!fd(t)?t._ctx=et:s===3&&et&&(et.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(ie(t)){if(r&65){go(e,{default:t});return}t={default:t,_ctx:et},n=32}else t=String(t),r&64?(n=16,t=[ve(t)]):n=8;e.children=t,e.shapeFlag|=n}function nl(...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=pe([t.class,r.class]));else if(s==="style")t.style=No([t.style,r.style]);else if(Ts(s)){const o=t[s],i=r[s];i&&o!==i&&!(te(o)&&o.includes(i))?t[s]=o?[].concat(o,i):i:i==null&&o==null&&!Io(s)&&(t[s]=i)}else s!==""&&(t[s]=r[s])}return t}function pt(e,t,n,r=null){It(e,t,7,[n,r])}const xy=id();let Ry=0;function ky(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||xy,o={uid:Ry++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new hf(!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:hd(r,s),emitsOptions:ad(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,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=oy.bind(null,o),e.ce&&e.ce(o),o}let rt=null;const vt=()=>rt||et;let mo,Er;{const e=Do(),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)}};mo=t("__VUE_INSTANCE_SETTERS__",n=>rt=n),Er=t("__VUE_SSR_SETTERS__",n=>kr=n)}const Ur=e=>{const t=rt;return mo(e),e.scope.on(),()=>{e.scope.off(),mo(t)}},_s=()=>{rt&&rt.scope.off(),mo(null)};function Ad(e){return e.vnode.shapeFlag&4}let kr=!1;function Oy(e,t=!1,n=!1){t&&Er(t);const{props:r,children:s}=e.vnode,o=Ad(e);fy(e,r,o,t),gy(e,s,n||t);const i=o?Iy(e,t):void 0;return t&&Er(!1),i}function Iy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ym);const{setup:r}=n;if(r){Yt();const s=e.setupContext=r.length>1?xd(e):null,o=Ur(e),i=As(r,e,0,[e.props,s]),a=Fa(i);if(Jt(),o(),(a||e.sp)&&!hn(e)&&qf(e),a){if(i.then(_s,_s),t)return i.then(l=>{Zi(e,l)}).catch(l=>{Ps(l,e,0)});e.asyncDep=i}else Zi(e,i)}else Pd(e)}function Zi(e,t,n){ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=kf(t)),Pd(e)}function Pd(e,t,n){const r=e.type;e.render||(e.render=r.render||Qt);{const s=Ur(e);Yt();try{Jm(e)}finally{Jt(),s()}}}const $y={get(e,t){return nt(e,"get",""),e[t]}};function xd(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,$y),slots:e.slots,emit:e.emit,expose:t}}function qo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(kf(fm(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in fs)return fs[n](e)},has(t,n){return n in t||n in fs}})):e.proxy}function ea(e,t=!0){return ie(e)?e.displayName||e.name:e.name||t&&e.__name}function Ly(e){return ie(e)&&"__vccOpts"in e}const z=(e,t)=>vm(e,t,kr);function le(e,t,n){try{po(-1);const r=arguments.length;return r===2?we(t)&&!te(t)?rr(t)?V(e,null,[t]):V(e,t):V(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&rr(n)&&(n=[n]),V(e,t,n))}finally{po(1)}}const My="3.5.39";let ta;const uu=typeof window<"u"&&window.trustedTypes;if(uu)try{ta=uu.createPolicy("vue",{createHTML:e=>e})}catch{}const Rd=ta?e=>ta.createHTML(e):e=>e,Dy="http://www.w3.org/2000/svg",Ny="http://www.w3.org/1998/Math/MathML",an=typeof document<"u"?document:null,cu=an&&an.createElement("template"),Fy={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"?an.createElementNS(Dy,e):t==="mathml"?an.createElementNS(Ny,e):n?an.createElement(e,{is:n}):an.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>an.createTextNode(e),createComment:e=>an.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>an.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{cu.innerHTML=Rd(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=cu.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]}},En="transition",Yr="animation",Es=Symbol("_vtc"),kd={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},jy=Je({},jf,kd),Hy=e=>(e.displayName="Transition",e.props=jy,e),na=Hy((e,{slots:t})=>le(Im,By(e),t)),Fn=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},fu=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function By(e){const t={};for(const L in e)L in kd||(t[L]=e[L]);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:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=Uy(s),p=g&&g[0],E=g&&g[1],{onBeforeEnter:v,onEnter:w,onEnterCancelled:m,onLeave:y,onLeaveCancelled:b,onBeforeAppear:C=v,onAppear:T=w,onAppearCancelled:k=m}=t,P=(L,B,re,ue)=>{L._enterCancelled=ue,jn(L,B?u:a),jn(L,B?c:i),re&&re()},M=(L,B)=>{L._isLeaving=!1,jn(L,f),jn(L,h),jn(L,d),B&&B()},D=L=>(B,re)=>{const ue=L?T:w,q=()=>P(B,L,re);Fn(ue,[B,q]),du(()=>{jn(B,L?l:o),sn(B,L?u:a),fu(ue)||hu(B,r,p,q)})};return Je(t,{onBeforeEnter(L){Fn(v,[L]),sn(L,o),sn(L,i)},onBeforeAppear(L){Fn(C,[L]),sn(L,l),sn(L,c)},onEnter:D(!1),onAppear:D(!0),onLeave(L,B){L._isLeaving=!0;const re=()=>M(L,B);sn(L,f),L._enterCancelled?(sn(L,d),mu(L)):(mu(L),sn(L,d)),du(()=>{L._isLeaving&&(jn(L,f),sn(L,h),fu(y)||hu(L,r,E,re))}),Fn(y,[L,re])},onEnterCancelled(L){P(L,!1,void 0,!0),Fn(m,[L])},onAppearCancelled(L){P(L,!0,void 0,!0),Fn(k,[L])},onLeaveCancelled(L){M(L),Fn(b,[L])}})}function Uy(e){if(e==null)return null;if(we(e))return[mi(e.enter),mi(e.leave)];{const t=mi(e);return[t,t]}}function mi(e){return uf(e)}function sn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Es]||(e[Es]=new Set)).add(t)}function jn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Es];n&&(n.delete(t),n.size||(e[Es]=void 0))}function du(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Vy=0;function hu(e,t,n,r){const s=e._endId=++Vy,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=qy(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),o()},d=h=>{h.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function qy(e,t){const n=window.getComputedStyle(e),r=g=>(n[g]||"").split(", "),s=r(`${En}Delay`),o=r(`${En}Duration`),i=pu(s,o),a=r(`${Yr}Delay`),l=r(`${Yr}Duration`),c=pu(a,l);let u=null,f=0,d=0;t===En?i>0&&(u=En,f=i,d=o.length):t===Yr?c>0&&(u=Yr,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?En:Yr:null,d=u?u===En?o.length:l.length:0);const h=u===En&&/\b(?:transform|all)(?:,|$)/.test(r(`${En}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function pu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>gu(n)+gu(e[r])))}function gu(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function mu(e){return(e?e.ownerDocument:document).body.offsetHeight}function Wy(e,t,n){const r=e[Es];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const yo=Symbol("_vod"),Od=Symbol("_vsh"),yu={name:"show",beforeMount(e,{value:t},{transition:n}){e[yo]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Jr(e,t)}
4,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[yo]:"none",e[Od]=!t}const Gy=Symbol(""),Ky=/(?:^|;)\s*display\s*:/;function zy(e,t,n){const r=e.style,s=Pe(n);let o=!1;if(n&&!s){if(t)if(Pe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&os(r,a,"")}else for(const i in t)n[i]==null&&os(r,i,"");for(const i in n){i==="display"&&(o=!0);const a=n[i];a!=null?Yy(e,i,!Pe(t)&&t?t[i]:void 0,a)||os(r,i,a):os(r,i,"")}}else if(s){if(t!==n){const i=r[Gy];i&&(n+=";"+i),r.cssText=n,o=Ky.test(n)}}else t&&e.removeAttribute("style");yo in e&&(e[yo]=o?r.display:"",e[Od]&&(r.display="none"))}const vu=/\s*!important$/;function os(e,t,n){if(te(n))n.forEach(r=>os(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Qy(e,t);vu.test(n)?e.setProperty(or(r),n.replace(vu,""),"important"):e[r]=n}}const bu=["Webkit","Moz","ms"],yi={};function Qy(e,t){const n=yi[t];if(n)return n;let r=ft(t);if(r!=="filter"&&r in e)return yi[t]=r;r=Mo(r);for(let s=0;s<bu.length;s++){const o=bu[s]+r;if(o in e)return yi[t]=o}return t}function Yy(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Pe(r)&&n===r}const wu="http://www.w3.org/1999/xlink";function _u(e,t,n,r,s,o=Vg(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(wu,t.slice(6,t.length)):e.setAttributeNS(wu,t,n):n==null||o&&!cf(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Ct(n)?String(n):n)}function Eu(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Rd(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=cf(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 hr(e,t,n,r){e.addEventListener(t,n,r)}function Jy(e,t,n,r){e.removeEventListener(t,n,r)}const Su=Symbol("_vei");function Xy(e,t,n,r,s=null){const o=e[Su]||(e[Su]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=tv(t);if(r){const c=o[t]=sv(r,s);hr(e,a,c,l)}else i&&(Jy(e,a,i,l),o[t]=void 0)}}const Zy=/(Once|Passive|Capture)$/,ev=/^on:?(?:Once|Passive|Capture)$/;function tv(e){let t,n;for(;(n=e.match(Zy))&&!ev.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):or(e.slice(2)),t]}let vi=0;const nv=Promise.resolve(),rv=()=>vi||(nv.then(()=>vi=0),vi=Date.now());function sv(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const s=n.value;if(te(s)){const o=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{o.call(r),r._stopped=!0};const i=s.slice(),a=[r];for(let l=0;l<i.length&&!r._stopped;l++){const c=i[l];c&&It(c,t,5,a)}}else It(s,t,5,[r])};return n.value=e,n.attached=rv(),n}const Cu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ov=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Wy(e,r,i):t==="style"?zy(e,n,r):Ts(t)?Io(t)||Xy(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):iv(e,t,r,i))?(Eu(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&_u(e,t,r,i,o,t!=="value")):e._isVueCE&&(av(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Pe(r)))?Eu(e,ft(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),_u(e,t,r,i))};function iv(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Cu(t)&&ie(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Cu(t)&&Pe(n)?!1:t in e}function av(e,t){const n=e._def.props;if(!n)return!1;const r=ft(t);return Array.isArray(n)?n.some(s=>ft(s)===r):Object.keys(n).some(s=>ft(s)===r)}const Tu=e=>{const t=e.props["onUpdate:modelValue"]||!1;return te(t)?n=>yr(t,n):t};function lv(e){e.target.composing=!0}function Au(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const bi=Symbol("_assign");function Pu(e,t,n){return t&&(e=e.trim()),n&&(e=ja(e)),e}const PP={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[bi]=Tu(s);const o=r||s.props&&s.props.type==="number";hr(e,t?"change":"input",i=>{i.target.composing||e[bi](Pu(e.value,n,o))}),(n||o)&&hr(e,"change",()=>{e.value=Pu(e.value,n,o)}),t||(hr(e,"compositionstart",lv),hr(e,"compositionend",Au),hr(e,"change",Au))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[bi]=Tu(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?ja(e.value):e.value,l=t??"";if(a===l)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l)}},uv=["ctrl","shift","alt","meta"],cv={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)=>
4uv.some(n=>e[`${n}Key`]&&!t.includes(n))},xP=(e,t)=>{if(!e)return e;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=cv[t[i]];if(a&&a(s,t))return}return e(s,...o)}))},Id=Je({patchProp:ov},Fy);let hs,xu=!1;function fv(){return hs||(hs=yy(Id))}function dv(){return hs=xu?hs:vy(Id),xu=!0,hs}const hv=((...e)=>{const t=fv().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Ld(r);if(!s)return;const o=t._component;!ie(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,$d(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),pv=((...e)=>{const t=dv().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Ld(r);if(s)return n(s,!0,$d(s))},t});function $d(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ld(e){return Pe(e)?document.querySelector(e):e}const gv=/"(?:_|\\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*:/,mv=/"(?: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*:/,yv=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function vv(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){bv(e);return}return t}function bv(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function vo(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(!yv.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(gv.test(e)||mv.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,vv)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const wv=/#/g,_v=/&/g,Ev=/\//g,Sv=/=/g,rl=/\+/g,Cv=/%5e/gi,Tv=/%60/gi,Av=/%7c/gi,Pv=/%20/gi;function xv(e){return encodeURI(""+e).replace(Av,"|")}function ra(e){return xv(typeof e=="string"?e:JSON.stringify(e)).replace(rl,"%2B").replace(Pv,"+").replace(wv,"%23").replace(_v,"%26").replace(Tv,"`").replace(Cv,"^").replace(Ev,"%2F")}function wi(e){return ra(e).replace(Sv,"%3D")}function Md(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Rv(e){return Md(e.replace(rl," "))}function kv(e){return Md(e.replace(rl," "))}function Ov(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=Rv(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=kv(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 Iv(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${wi(e)}=${ra(n)}`).join("&"):`${wi(e)}=${ra(t)}`:wi(e)}function $v(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Iv(t,e[t])).filter(Boolean).join("&")}const Lv=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Mv=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Dv=/^([/\\]\s*){2,}[^/\\]/,Nv=/^\.?\//;function sl(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Lv.test(e):Mv.test(e)||(t.acceptRelative?Dv.test(e):!1)}function Fv(e="",t){return e.endsWith("/")}function jv(e="",t){return(Fv(e)?e.slice(0,-1):e)||"/"}function Hv(e="",t){return e.endsWith("/")?e:e+"/"}function Bv(e=""){return e.startsWith("/")}function RP(e=""){return Bv(e)?e:"/"+e}function Uv(e,t){if(qv(t)||sl(e))return e;const n=jv(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return Gv(n,e)}function Vv(e,t){const n=Kv(e),r={...Ov(n.search),...t};return n.search=$v(r),zv(n)}function qv(e){return!e||e==="/"}function Wv(e){return e&&e!=="/"}function Gv(e,...t){let n=e||"";for(const r of t.filter(s=>Wv(s)))if(n){const s=r.replace(Nv,"");n=Hv(n)+s}else n=r;return n}function Dd(...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&&sl(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}const Nd=Symbol.for("ufo:protocolRelative");function Kv(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(!sl(e,{acceptRelative:!0}))return Ru(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:c,hash:u}=Ru(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:c,hash:u,[Nd]:!r}}function Ru(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function zv(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?""
4:"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[Nd]?(e.protocol||"")+"//":"")+s+o+t+n+r}class Qv extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function Yv(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 Qv(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,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[c]}});return a}const Jv=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ku(e="GET"){return Jv.has(e.toUpperCase())}function Xv(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Zv=new Set(["image/svg","application/xml","application/xhtml","application/html"]),eb=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function tb(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return eb.test(t)?"json":t==="text/event-stream"?"stream":Zv.has(t)||t.startsWith("text/")?"text":"blob"}function nb(e,t,n,r){const s=rb(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 rb(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 Hs(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const sb=new Set([408,409,425,429,500,502,503,504]),ob=new Set([101,204,205,304]);function Fd(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 u;typeof a.options.retry=="number"?u=a.options.retry:u=ku(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):sb.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:u-1})}}const c=Yv(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const u={request:l,options:nb(l,c,e.defaults,n),response:void 0,error:void 0};if(u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&(await Hs(u,u.options.onRequest),u.options.headers instanceof n||(u.options.headers=new n(u.options.headers||{}))),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Uv(u.request,u.options.baseURL)),u.options.query&&(u.request=Vv(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&ku(u.options.method))if(Xv(u.options.body)){const h=u.options.headers.get("content-type");typeof u.options.body!="string"&&(u.options.body=h==="application/x-www-form-urlencoded"?new URLSearchParams(u.options.body).toString():JSON.stringify(u.options.body)),h||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")}else("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"));let f;if(!u.options.signal&&u.options.timeout){const h=new r;f=setTimeout(()=>{const g=new Error("[TimeoutError]: The operation was aborted due to timeout");g.name="TimeoutError",g.code=23,h.abort(g)},u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await Hs(u,u.options.onRequestError),await s(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!ob.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||tb(u.response.headers.get("content-type")||"");switch(h){case"json":{const g=await u.response.text(),p=u.options.parseResponse||vo;u.response._data=p(g);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await Hs(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await Hs(u,u.options.onResponseError),await s(u)):u.response},i=async function(l,c){return(await o(l,c))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},l={})=>Fd({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const bo=(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")})(),ib=bo.fetch?(...e)=>bo.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),ab=bo.Headers,lb=bo.AbortController,ub=Fd({fetch:ib,Headers:ab,AbortController:lb}),cb=ub,fb=()=>window?.__NUXT__?.config||{},ol=()=>fb().app,db=()=>
4ol().baseURL,hb=()=>ol().buildAssetsDir,il=(...e)=>Dd(jd(),hb(),...e),jd=(...e)=>{const t=ol(),n=t.cdnURL||t.baseURL;return e.length?Dd(n,...e):n};globalThis.__buildAssetsURL=il,globalThis.__publicAssetsURL=jd;globalThis.$fetch||(globalThis.$fetch=cb.create({baseURL:db()}));"global"in globalThis||(globalThis.global=globalThis);function sa(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?sa(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const pb={run:e=>e()},gb=()=>pb,Hd=typeof console.createTask<"u"?console.createTask:gb;function mb(e,t){const n=t.shift(),r=Hd(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function yb(e,t){const n=t.shift(),r=Hd(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function _i(e,t){for(const n of[...e])n(t)}let vb=class{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)||(console.warn(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=sa(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=sa(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(mb,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(yb,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&_i(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&_i(this._after,s)}):(this._after&&s&&_i(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 bb(){return new vb}function wb(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:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}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},c=()=>t===i?l:void 0;oa.add(c);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{oa.delete(c)}}}}function _b(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=wb({...e,...r})),t[n]}}}const wo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ou="__unctx__",Eb=wo[Ou]||(wo[Ou]=_b()),Sb=(e,t={})=>Eb.get(e,t),Iu="__unctx_async_handlers__",oa=wo[Iu]||(wo[Iu]=new Set);function Sr(e){const t=[];for(const s of oa){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 $u={name:"page",mode:"out-in"},Cb=!1,Tb=!1,Ab={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},dn={value:null,errorValue:null,deep:!0},Pb=null,xb="#__nuxt",Bd="nuxt-app",Lu=36e5,Rb="vite:preloadError";function Ud(e=Bd){return Sb(e,{asyncContext:!1})}const kb="__nuxt_plugin";function Ob(e){let t=0;const n={_id:e.id||Bd||"nuxt-app",_scope:Wg(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.19.3"},get vue(){return n.vueApp.version}},payload:zt({...e.ssrContext?.payload||{},data:zt({}),state:Zt({}),once:new Set,_errors:zt({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!Ba()?n._scope.run(()=>Mu(n,s)):Mu(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:zt({}),_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=bb(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Bs(n,i,o),Bs(n.vueApp.config.globalProperties,i,o)},Bs(n.vueApp,"$nuxt",n),Bs(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(Rb,o=>
4{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=$e;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function Ib(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function $b(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 Lb(e,t){const n=new Set,r=[],s=[];let o,i=0;async function a(l){const c=l.dependsOn?.filter(u=>t.some(f=>f._name===u)&&!n.has(u))??[];if(c.length>0)r.push([new Set(c),l]);else{const u=$b(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)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;o||=f});l.parallel?s.push(u):await u}}for(const l of t)Ib(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)throw e.payload.error||o}function en(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[kb]:!0,_name:t})}function Mu(e,t,n){const r=()=>t();return Ud(e._id).set(e),e.vueApp.runWithContext(r)}function Mb(e){let t;return Qa()&&(t=vt()?.appContext.app.$nuxt),t||=Ud(e).tryUse(),t||null}function $e(e){const t=Mb(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Ne(e){return $e().$config}function Bs(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Db(e,t){return{ctx:{table:e},matchAll:n=>qd(n,e)}}function Vd(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,Vd(s)])):new Map(Object.entries(e[n]));return t}function Nb(e){return Db(Vd(e))}function qd(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of Du(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of Du(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...qd(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function Du(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Ei(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 ia(e,t,n=".",r){if(!Ei(t))return ia(e,{},n,r);const s={...t};for(const o of Object.keys(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]]:Ei(i)&&Ei(s[o])?s[o]=ia(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Fb(e){return(...t)=>t.reduce((n,r)=>ia(n,r,"",e),{})}const al=Fb();function jb(e,t){try{return t in e}catch{return!1}}class Nu 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:aa(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Wd(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function Hb(e){if(typeof e=="string")return new Nu(e);if(Bb(e))return e;const t=new Nu(e.message??e.statusMessage??"",{cause:e.cause||e});if(jb(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=aa(e.statusCode,t.statusCode):e.status&&(t.statusCode=aa(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Wd(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Bb(e){return e?.constructor?.__h3_error__===!0}const Ub=/[^\u0009\u0020-\u007E]/g;function Wd(e=""){return e.replace(Ub,"")}function aa(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Vb=/#/g,qb=/&/g,Wb=/\//g,Gb=/=/g,ll=/\+/g,Kb=/%5e/gi,zb=/%60/gi,Qb=/%7c/gi,Yb=/%20/gi;function Jb(e){return encodeURI(""+e).replace(Qb,"|")}function la(e){return Jb(typeof e=="string"?e:JSON.stringify(e)).replace(ll,"%2B").replace(Yb,"+").replace(Vb,"%23").replace(qb,"%26").replace(zb,"`").replace(Kb,"^").replace(Wb,"%2F")}function Si(e){return la(e).replace(Gb,"%3D")}function _o(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Xb(e){return _o(e.replace(ll," "))}function Zb(e){return _o(e.replace(ll," "))}function ul(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=Xb(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Zb(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 ew(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Si(e)}=${la(n)}`).join("&"):`${Si(e)}=${la(t)}`:Si(e)}function tw(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>
4ew(t,e[t])).filter(Boolean).join("&")}const nw=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,rw=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,sw=/^([/\\]\s*){2,}[^/\\]/,ow=/^[\s\0]*(blob|data|javascript|vbscript):$/i,iw=/\/$|\/\?|\/#/,aw=/^\.?\//;function ir(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?nw.test(e):rw.test(e)||(t.acceptRelative?sw.test(e):!1)}function lw(e){return!!e&&ow.test(e)}function ua(e="",t){return t?iw.test(e):e.endsWith("/")}function Eo(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 Gd(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 Fu(e,t){if(cw(t))return e;const n=Eo(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function uw(e,t){const n=fl(e),r={...ul(n.search),...t};return n.search=tw(r),hw(n)}function cw(e){return!e||e==="/"}function fw(e){return e&&e!=="/"}function cl(e,...t){let n=e||"";for(const r of t.filter(s=>fw(s)))if(n){const s=r.replace(aw,"");n=Gd(n)+s}else n=r;return n}function dw(e,t){return _o(Eo(e))===_o(Eo(t))}const Kd=Symbol.for("ufo:protocolRelative");function fl(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(!ir(e,{acceptRelative:!0}))return t?fl(t+e):ju(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:c,hash:u}=ju(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:c,hash:u,[Kd]:!r}}function ju(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function hw(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[Kd]?(e.protocol||"")+"//":"")+s+o+t+n+r}const zd=Symbol("layout-meta"),gn=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const ht=()=>$e()?.$router,Vr=()=>Qa()?he(gn,$e()._route):$e()._route;const pw=()=>{try{if($e()._processingMiddleware)return!0}catch{return!1}return!1},Qd=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?ca(e):ht().resolve(e).href;if(t?.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=[];for(const[f,d]of Object.entries(c))d!==void 0&&u.push(`${f.toLowerCase()}=${d}`);return open(n,l,u.join(", ")),Promise.resolve()}const r=ir(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&&lw(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=pw();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:l,search:c,hash:u}=fl(e);return{path:l,...c&&{query:ul(c)},...u&&{hash:u},replace:!0}}return{...e,replace:!0}}return e}const i=ht(),a=$e();return s?(a._scope.stop(),t?.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?i.replace(e):i.push(e)};function ca(e){return uw(e.path||"",e.query||{})+(e.hash||"")}const Yd="__nuxt_error",Wo=()=>Of($e().payload,"error"),qn=e=>{const t=In(e);try{const n=Wo();$e().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},gw=async(e={})=>
4{const t=$e(),n=Wo();t.callHook("app:error:cleared",e),e.redirect&&await ht().replace(e.redirect),n.value=Pb},Jd=e=>!!e&&typeof e=="object"&&Yd in e,In=e=>{const t=Hb(e);return Object.defineProperty(t,Yd,{value:!0,configurable:!1,writable:!1}),t},mw=-1,yw=-2,vw=-3,bw=-4,ww=-5,_w=-6,Ew=-7,Xd=2**32-1,fa=Xd-1;function Sw(e){return!(!Number.isInteger(e)||e<0||e>fa)}function Cw(e){return!(!Number.isInteger(e)||e<0||e>Xd)}function Tw(e){return Uint8Array.fromBase64(e).buffer}function Aw(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Pw(e){const t=atob(e),n=t.length,r=new Uint8Array(n);for(let s=0;s<n;s++)r[s]=t.charCodeAt(s);return r.buffer}const xw=typeof Uint8Array.fromBase64=="function",Rw=typeof process=="object"&&process.versions?.node!==void 0,kw=xw?Tw:Rw?Aw:Pw;function Ow(e,t){return Iw(JSON.parse(e),t)}function Iw(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let s=null;function o(i,a=!1){if(i===mw)return;if(i===vw)return NaN;if(i===bw)return 1/0;if(i===ww)return-1/0;if(i===_w)return-0;if(a||typeof i!="number")throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const c=l[0],u=t&&Object.hasOwn(t,c)?t[c]:void 0;if(u){let f=l[1];if(typeof f!="number"&&(f=n.push(l[1])-1),s??=new Set,s.has(f))throw new Error("Invalid circular reference");return s.add(f),r[i]=u(o(f)),s.delete(f),r[i]}switch(c){case"Date":r[i]=new Date(l[1]);break;case"Set":const f=new Set;r[i]=f;for(let g=1;g<l.length;g+=1)f.add(o(l[g]));break;case"Map":const d=new Map;r[i]=d;for(let g=1;g<l.length;g+=2)d.set(o(l[g]),o(l[g+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":{const g=l[1];if(typeof n[g]=="object"&&n[g][0]!=="BigInt")throw new Error("Invalid input");r[i]=Object(o(g));break}case"BigInt":r[i]=BigInt(l[1]);break;case"null":const h=Object.create(null);r[i]=h;for(let g=1;g<l.length;g+=2){if(l[g]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");h[l[g]]=o(l[g+1])}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(n[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const g=globalThis[c],p=o(l[1]);r[i]=l[2]!==void 0?new g(p,l[2],l[3]):new g(p);break}case"ArrayBuffer":{const g=l[1];if(typeof g!="string")throw new Error("Invalid ArrayBuffer encoding");const p=kw(g);r[i]=p;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const g=c.slice(9);r[i]=Temporal[g].from(l[1]);break}case"URL":{const g=new URL(l[1]);r[i]=g;break}case"URLSearchParams":{const g=new URLSearchParams(l[1]);r[i]=g;break}default:throw new Error(`Unknown type ${c}`)}}else if(l[0]===Ew){const c=l[1];if(!Cw(c))throw new Error("Invalid input");const u=[];r[i]=u,u[fa]=void 0,delete u[fa];for(let f=2;f<l.length;f+=2){const d=l[f];if(!Sw(d)||d>=c)throw new Error("Invalid input");u[d]=o(l[f+1])}u.length=c}else{const c=new Array(l.length);r[i]=c;for(let u=0;u<l.length;u+=1){const f=l[u];f!==yw&&(c[u]=o(f))}}else{const c={};r[i]=c;
4for(const u of Object.keys(l)){if(u==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=l[u];c[u]=o(f)}}return r[i]}return o(0)}const $w=new Set(["link","style","script","noscript"]),Lw=new Set(["title","titleTemplate","script","style","noscript"]),da=new Set(["base","meta","link","style","script","noscript"]),Mw=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Dw=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Nw=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Fw=new Set(["templateParams","htmlAttrs","bodyAttrs"]),jw=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function ha(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?ha(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Zd=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function eh(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const o=r?r.run(()=>e[s](...t)):e[s](...t);if(o&&typeof o.then=="function")return Promise.resolve(o).then(()=>eh(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function Hw(e,t,n){if(e.length>0)return eh(e,t,0,Zd(n))}function Bw(e,t,n){if(e.length>0){const r=Zd(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function Ci(e,t){for(const n of[...e])n(t)}var Uw=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let o=s.message;o||(o=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...s)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...s));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=ha(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=ha(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(Hw,e,t)}callHookParallel(e,...t){return this.callHookWith(Bw,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Ci(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&Ci(this._after,r)}):(this._after&&r&&Ci(this._after,r),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function Vw(){return new Uw}const qw=["name","property","http-equiv"],Ww=new Set(["viewport","description","keywords","robots"]);function th(e){const t=e.split(":");return t.length?jw.has(t[1]):!1}function pa(e){const{props:t,tag:n}=e;if(Dw.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){if(t.hreflang)return`alternate:${t.hreflang}`;if(t.type)return`alternate:${t.type}:${t.href||""}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of qw)if(t[r]!==void 0){const s=t[r],o=s&&typeof s=="string"&&s.includes(":"),i=s&&Ww.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(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(Lw.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function nh(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 So(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(o=>So(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=So(s[i],t,i);return o}return s}function Gw(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const o=String(s).trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>l?l.trim():"");i&&a.length&&n.set(i,a.join(":"))}
4else 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(String(s).trim(),String(o)):r(s))}),n}function rh(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=da.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([r,s])=>{if(r==="__proto__"||r==="constructor"||r==="prototype")return;if(s===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=Gw(r,s);return}if(Nw.has(r)){if((r==="textContent"||r==="innerHTML")&&typeof s=="object"){let c=t.type;if(t.type||(c="application/json"),!c?.endsWith("json")&&c!=="speculationrules")return;t.type=c,e.props.type=c,e[r]=JSON.stringify(s)}else e[r]=s;return}const o=r.startsWith("data-"),i=n&&!o?r.toLowerCase():r,a=String(s),l=e.tag==="meta"&&i==="content";a==="true"||a===""?e.props[i]=o||l?a:!0:!s&&o&&a==="false"?e.props[i]="false":s!==void 0&&(e.props[i]=s)}),e}function Kw(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=rh({tag:e,props:{}},n);return r.key&&$w.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 zw(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=So(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(Kw(s,i))}),r.flat()}const ga=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Hu={base:-10,title:10},Qw={critical:-8,high:-1,low:2},Bu={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}},Yw=/@import/,Xr=e=>e===""||e===!0;function Jw(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Qw[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Bu;if(t.tag in Hu)n=Hu[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=Bu.meta[o])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);Xr(t.props.async)?n=s.script.async:t.props.src&&!Xr(t.props.defer)&&!Xr(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(Xr(t.props.defer)&&t.props.src&&!Xr(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&Yw.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function Uu(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 Xw(e={}){const t=Vw();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=>Uu(i,a),push(a,l){const c={...l||{}};delete c.head;const u=c._index??i._entryCount++,f={_i:u,input:a,options:c},d={_poll(h=!1){i.dirty=!0,!h&&o.add(u),t.callHook("entries:updated",i)},dispose(){r.delete(u)&&i.invalidate()},patch(h){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(f.input=h,r.set(u,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 g={tags:zw(h.input,e.propResolvers||[]).map(p=>Object.assign(p,h.options)),entry:h};await t.callHook("entries:normalize",g),h._tags=g.tags.map((p,E)=>(p._w=Jw(i,p),p._p=(h._i<<10)+E,p._d=pa(p),p._d||(p._h=nh(p)),p))}}let l=!1;a.entries.flatMap(d=>(d._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(ga).reduce((d,h)=>{const g=h._d||h._h;if(!d.has(g))return d.set(g,h);const p=d.get(g);if((h?.tagDuplicateStrategy||(Fw.has(h.tag)?"merge":null)||(h.key&&h.key===p.key?"merge":null))==="merge"){const v={...p.props};
4Object.entries(h.props).forEach(([w,m])=>v[w]=w==="style"?new Map([...p.props.style||new Map,...m]):w==="class"?new Set([...p.props.class||new Set,...m]):m),d.set(g,{...h,props:v})}else h._p>>10===p._p>>10&&h.tag==="meta"&&th(g)?(d.set(g,Object.assign([...Array.isArray(p)?p:[p],h],h)),l=!0):(h._w===p._w?h._p>p._p:h?._w<p?._w)&&d.set(g,h);return d},a.tagMap);const c=a.tagMap.get("title"),u=a.tagMap.get("titleTemplate");if(i._title=c?.textContent,u){const d=u?.textContent;if(i._titleTemplate=d,d){let h=typeof d=="function"?d(c?.textContent):d;typeof h=="string"&&!i.plugins.has("template-params")&&(h=h.replace("%s",c?.textContent||"")),c?h===null?a.tagMap.delete("title"):a.tagMap.set("title",{...c,textContent:h}):(u.tag="title",u.textContent=h)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(ga)),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:g,props:p}=d;if(Mw.has(g)&&!(Object.keys(p).length===0&&!d.innerHTML&&!d.textContent)&&!(g==="meta"&&!p.content&&!p["http-equiv"]&&!p.charset)){if(g==="script"&&h){if(String(p.type).endsWith("json")){const E=typeof h=="string"?h:JSON.stringify(h);d.innerHTML=E.replace(/</g,"\\u003C")}else typeof h=="string"&&(d.innerHTML=h.replace(new RegExp(`</${g}`,"g"),`<\\/${g}`));d._d=pa(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)}};return(e?.plugins||[]).forEach(a=>Uu(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const Ti="%separator";function Zw(e,t,n=!1){let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const s=t.indexOf(".");r=e[t.substring(0,s)]?.[t.substring(s+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):r||""}function Us(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(Ti);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Ti||!o.includes(a))return a;const l=Zw(t,a.slice(1),r);return l!==void 0?l:a}).trim(),i&&(e=e.split(Ti).map(a=>a.trim()).filter(a=>a!=="").join(n?` ${n} `:" ")),e}const Vu=e=>e.includes(":key")?e:e.split(":").join(":key:"),e0={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const n of e.tags){const r=n.tagPriority;if(!r)continue;const s=String(r);if(s.startsWith("before:")){const o=Vu(s.slice(7)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p-1,t=!0)}else if(s.startsWith("after:")){const o=Vu(s.slice(6)),i=e.tagMap.get(o);i&&(typeof i.tagPriority=="number"&&(n.tagPriority=i.tagPriority),n._p=i._p+1,t=!0)}}t&&(e.tags=e.tags.sort(ga))}}},t0={key:"deprecations",hooks:{"entries:normalize":({tags:e})=>{for(const t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.body&&(t.tagPosition="bodyClose",delete t.props.body)}}};async function ma(e){if(typeof e==="function")return e;if(e instanceof Promise)return await e;if(Array.isArray(e))return await Promise.all(e.map(n=>ma(n)));if(e?.constructor===Object){const n={};for(const r of Object.keys(e))n[r]=await ma(e[r]);return n}return e}const n0={key:"promises",hooks:{"entries:resolve":async e=>{const t=[];for(const n in e.entries)e.entries[n]._promisesProcessed||t.push(ma(e.entries[n].input).then(r=>{e.entries[n].input=r,e.entries[n]._promisesProcessed=!0}));await Promise.all(t)}}},r0={meta:"content",link:"href",htmlAttrs:"lang"},s0=["innerHTML","textContent"],o0=e=>({key:"template-params",hooks:{"entries:normalize":t=>{const n=t.tags.filter(r=>r.tag==="templateParams"&&r.mode==="server")?.[0]?.props||{};Object.keys(n).length&&(e._ssrPayload={templateParams:{...e._ssrPayload?.templateParams||{},...n}})},"tags:resolve":({tagMap:t,tags:n})=>{const r=t.get("templateParams")?.props||{},s=r.separator||"|";delete r.separator,r.pageTitle=Us(r.pageTitle||e._title||"",r,s);for(const o of n){if(o.processTemplateParams===!1)continue;const i=r0[o.tag];if(i&&typeof o.props[i]=="string")o.props[i]=Us(o.props[i],r,s);else if(o.processTemplateParams||o.tag==="titleTemplate"||o.tag==="title")for(const a of s0)typeof o[a]=="string"&&(o[a]=Us(o[a],r,s,o.tag==="script"&&o.props.type.endsWith("json")))}e._templateParams=r,e._separator=s},"tags:afterResolve":({tagMap:t})=>{const n=t.get("title");n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=Us(n.textContent,e._templateParams,e._separator))}}}),i0=(e,t)=>qe(t)?Rf(t):t,sh="usehead";function a0(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(sh,e)}}.install}function l0(){if(Qa()){const e=he(sh);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function OP(e,t={}){const n=t.head||l0();return n.ssr?n.push(e||{},t):u0(n,e,t)}function u0(e,t,n={}){const r=ee(!1);let s;return ot(()=>{const i=r.value?{}:So(t,i0);s?s.patch(i):s=e.push(i,n)}),vt()&&(Br(()=>{s.dispose()}),Gf(()=>{r.value=!0}),Wf(()=>{r.value=!1})),s}const c0="modulepreload",f0=function(e,t){return new URL(e,t).href},qu={},Le=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.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=c(n.map(u=>{if(u=f0(u,r),u in qu)return;qu[u]=!0;const f=u.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(r)for(let g=i.length-1;g>=0;g--){const p=i[g];if(p.href===u&&(!f||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${d}`))return;const h=document.createElement("link");
4if(h.rel=f?"stylesheet":c0,f||(h.as="script"),h.crossOrigin="",h.href=u,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((g,p)=>{h.addEventListener("load",g),h.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${u}`)))})}))}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 Zs,eo;function d0(){return Zs=$fetch(il(`builds/meta/${Ne().app.buildId}.json`),{responseType:"json"}),Zs.then(e=>{eo=Nb(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Zs}function Go(){return Zs||d0()}async function dl(e){const t=typeof e=="string"?e:e.path;if(await Go(),!eo)return console.error("[nuxt] Error creating app manifest matcher.",eo),{};try{return al({},...eo.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Wu(e,t={}){if(!await ih(e))return null;const r=await p0(e,t);return await oh(r)||null}const h0="_payload.json";async function p0(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||ir(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Ne(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await ih(e)?o:r.app.baseURL;return cl(i,n.pathname,h0+(s?`?${s}`:""))}async function oh(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(ah));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}
4async function ih(e=Vr().path){const t=$e();return e=e.replace(/\/$/,""),(await Go()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await dl({path:e});return!!r.prerender&&!r.redirect})}let Hn=null;async function g0(){if(Hn)return Hn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await ah(e.textContent||""),n=e.dataset.src?await oh(e.dataset.src):void 0;return Hn={...t,...n,...window.__NUXT__},Hn.config?.public&&(Hn.config.public=Zt(Hn.config.public)),Hn}async function ah(e){return await Ow(e,$e()._payloadRevivers)}function m0(e,t){$e()._payloadRevivers[e]=t}const y0=[["NuxtError",e=>In(e)],["EmptyShallowRef",e=>mt(e==="_"?void 0:e==="0n"?BigInt(0):vo(e))],["EmptyRef",e=>ee(e==="_"?void 0:e==="0n"?BigInt(0):vo(e))],["ShallowRef",e=>mt(e)],["ShallowReactive",e=>zt(e)],["Ref",e=>ee(e)],["Reactive",e=>Zt(e)]],v0=en({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of y0)m0(r,s);Object.assign(e.payload,([t,n]=Sr(()=>e.runWithContext(g0)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function hl(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(g=>{h(g.map(p=>{const E=o.get(p._d)||0,v={tag:p,id:(E?`${p._d}:${E}`:p._d)||p._h,shouldRender:!0};return p._d&&th(p._d)&&o.set(p._d,E+1),v}))})});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 g=n[h]?.children;for(const p of g){const E=p.tagName.toLowerCase();if(!da.has(E))continue;const v=rh({tag:E,props:{}},{innerHTML:p.innerHTML,...p.getAttributeNames().reduce((w,m)=>(w[m]=p.getAttribute(m),w),{})||{}});if(v.key=p.getAttribute("data-hid")||void 0,v._d=pa(v)||nh(v),a.elMap.has(v._d)){let w=1,m=v._d;for(;a.elMap.has(m);)m=`${v._d}:${w++}`;a.elMap.set(m,p)}else a.elMap.set(v._d,p)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(h,g,p){const E=`${h}:${g}`;a.sideEffects[E]=p,delete a.pendingSideEffects[E]}function c({id:h,$el:g,tag:p}){const E=p.tag.endsWith("Attrs");a.elMap.set(h,g),E||(p.textContent&&p.textContent!==g.textContent&&(g.textContent=p.textContent),p.innerHTML&&p.innerHTML!==g.innerHTML&&(g.innerHTML=p.innerHTML),l(h,"el",()=>{g?.remove(),a.elMap.delete(h)}));for(const v in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,v))continue;const w=p.props[v];if(v.startsWith("on")&&typeof w=="function"){const y=g?.dataset;if(y&&y[`${v}fired`]){const b=v.slice(0,-5);w.call(g,new Event(b.substring(2)))}g.getAttribute(`data-${v}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:g).addEventListener(v.substring(2),w.bind(g)),g.setAttribute(`data-${v}`,""));continue}const m=`attr:${v}`;if(v==="class"){if(!w)continue;for(const y of w)E&&l(h,`${m}:${y}`,()=>g.classList.remove(y)),!g.classList.contains(y)&&g.classList.add(y)}else if(v==="style"){if(!w)continue;for(const[y,b]of w)l(h,`${m}:${y}`,()=>{g.style.removeProperty(y)}),g.style.setProperty(y,b)}else w!==!1&&w!==null&&(g.getAttribute(v)!==w&&g.setAttribute(v,w===!0?"":String(w)),E&&l(h,m,()=>g.removeAttribute(v)))}}const u=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const h of d){const{tag:g,shouldRender:p,id:E}=h;if(p){if(g.tag==="title"){n.title=g.textContent,l("title","",()=>n.title=a.title);continue}h.$el=h.$el||a.elMap.get(E),h.$el?c(h):da.has(g.tag)&&u.push(h)}}for(const h of u){const g=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),c(h),f[g]=f[g]||n.createDocumentFragment(),f[g].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 b0(e={}){const t=e.domOptions?.render||hl;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Xw({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function w0(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function _0(e={}){const t=b0({domOptions:{render:w0(()=>hl(t),n=>setTimeout(n,0))},...e});return t.install=a0(t),t}const E0={disableDefaults:!0,disableCapoSorting:!1,plugins:[t0,n0,o0,e0]},S0=en({name:"nuxt:head",enforce:"pre",setup(e){const t=_0(E0);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await hl(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)}}});const pr=typeof document<"u";function lh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
vendor: 25,797 bytes, line 4
4function C0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&lh(e.default)}const _e=Object.assign;function Ai(e,t){const n={};for(const r in t){const s=t[r];n[r]=Ht(s)?s.map(e):e(s)}return n}const ps=()=>{},Ht=Array.isArray;function Gu(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const uh=/#/g,T0=/&/g,A0=/\//g,P0=/=/g,x0=/\?/g,ch=/\+/g,R0=/%5B/g,k0=/%5D/g,fh=/%5E/g,O0=/%60/g,dh=/%7B/g,I0=/%7C/g,hh=/%7D/g,$0=/%20/g;function pl(e){return e==null?"":encodeURI(""+e).replace(I0,"|").replace(R0,"[").replace(k0,"]")}function L0(e){return pl(e).replace(dh,"{").replace(hh,"}").replace(fh,"^")}function ya(e){return pl(e).replace(ch,"%2B").replace($0,"+").replace(uh,"%23").replace(T0,"%26").replace(O0,"`").replace(dh,"{").replace(hh,"}").replace(fh,"^")}function M0(e){return ya(e).replace(P0,"%3D")}function D0(e){return pl(e).replace(uh,"%23").replace(x0,"%3F")}function N0(e){return D0(e).replace(A0,"%2F")}function Ss(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const F0=/\/$/,j0=e=>e.replace(F0,"");function Pi(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),o=t.slice(l,a>0?a:t.length),s=e(o.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=V0(r??t,n),{fullPath:r+o+i,path:r,query:s,hash:Ss(i)}}function H0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ku(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function B0(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Or(t.matched[r],n.matched[s])&&ph(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Or(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ph(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!U0(e[n],t[n]))return!1;return!0}function U0(e,t){return Ht(e)?zu(e,t):Ht(t)?zu(t,e):e?.valueOf()===t?.valueOf()}function zu(e,t){return Ht(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function V0(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;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Rt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let va=(function(e){return e.pop="pop",e.push="push",e})({}),xi=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function q0(e){if(!e)if(pr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),j0(e)}const W0=/^[^#]+#/;function G0(e,t){return e.replace(W0,"#")+t}function K0(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 Ko=()=>({left:window.scrollX,top:window.scrollY});function z0(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=K0(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 Qu(e,t){return(history.state?history.state.position-t:-1)+e}const ba=new Map;function Q0(e,t){ba.set(e,t)}function Y0(e){const t=ba.get(e);return ba.delete(e),t}function J0(e){return typeof e=="string"||e&&typeof e=="object"}function gh(e){return typeof e=="string"||typeof e=="symbol"}let De=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const mh=Symbol("");De.MATCHER_NOT_FOUND+"",De.NAVIGATION_GUARD_REDIRECT+"",De.NAVIGATION_ABORTED+"",De.NAVIGATION_CANCELLED+"",De.NAVIGATION_DUPLICATED+"";function Ir(e,t){return _e(new Error,{type:e,[mh]:!0},t)}function on(e,t){return e instanceof Error&&mh in e&&(t==null||!!(e.type&t))}const X0=["params","query","hash"];function Z0(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of X0)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function e_(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(ch," "),o=s.indexOf("="),i=Ss(o<0?s:s.slice(0,o)),a=o<0?null:Ss(s.slice(o+1));if(i in t){let l=t[i];Ht(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function Yu(e){let t="";for(let n in e){const r=e[n];if(n=M0(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ht(r)?r.map(s=>s&&ya(s)):[r&&ya(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function t_(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ht(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const n_=Symbol(""),Ju=Symbol(""),gl=Symbol(""),ml=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 Pn(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(Ir(De.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):J0(d)?l(Ir(De.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},u=o(()=>e.call(r&&r.instances[s],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function Ri(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(lh(l)){const c=(l.__vccOpts||l)[t];c&&o.push(Pn(c,n,r,i,a,s))}else{let c=l();o.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=C0(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const d=(f.__vccOpts||f)[t];return d&&Pn(d,n,r,i,a,s)()}))}}return o}function r_(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(c=>Or(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>Or(c,l))||s.push(l))}return[n,r,s]}let s_=()=>location.protocol+"//"+location.host;function yh(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(i);return a[0]!=="/"&&(a="/"+a),Ku(a,"")}return Ku(n,e)+r+s}function o_(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const h=yh(e,location),g=n.value,p=t.value;let E=0;if(d){if(n.value=h,t.value=d,i&&i===g){i=null;return}E=p?d.position-p.position:0}else r(h);s.forEach(v=>{v(n.value,g,{delta:E,type:va.pop,direction:E?E>0?xi.forward:xi.back:xi.unknown})})};function l(){i=n.value}function c(d){s.push(d);const h=()=>{const g=s.indexOf(d);g>-1&&s.splice(g,1)};return o.push(h),h}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(_e({},d.state,{scroll:Ko()}),"")}}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:f}}function Xu(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Ko():null}}function i_(e){const{history:t,location:n}=window,r={value:yh(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,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:s_()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function i(l,c){o(l,_e({},t.state,Xu(s.value.back,l,s.value.forward,!0),c,{position:s.value.position}),!0),r.value=l}function a(l,c){const u=_e({},s.value,t.state,{forward:l,scroll:Ko()});o(u.current,u,!0),o(l,_e({},Xu(r.value,l,null),{position:u.position+1},c),!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function a_(e){e=q0(e);const t=i_(e),n=o_(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=_e({location:"",base:e,go:r,createHref:G0.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let Kn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Qe=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Qe||{});const l_={type:Kn.Static,value:""},u_=/[a-zA-Z0-9_]/;function c_(e){if(!e)return[[]];if(e==="/")return[[l_]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=Qe.Static,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",u="";function f(){c&&(n===Qe.Static?o.push({type:Kn.Static,value:c}):n===Qe.Param||n===Qe.ParamRegExp||n===Qe.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Kn.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==Qe.ParamRegExp){r=n,n=Qe.EscapeNext;continue}switch(n){case Qe.Static:l==="/"?(c&&f(),i()):l===":"?(f(),n=Qe.Param):d();break;case Qe.EscapeNext:d(),n=r;break;case Qe.Param:l==="("?n=Qe.ParamRegExp:u_.test(l)?d():(f(),n=Qe.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case Qe.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=Qe.ParamRegExpEnd:u+=l;break;case Qe.ParamRegExpEnd:f(),n=Qe.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===Qe.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),s}const Zu="[^/]+?",f_={sensitive:!1,strict:!1,start:!0,end:!0};var lt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(lt||{});const d_=/[.+*?^${}()[\]/\\]/g;function h_(e,t){const n=_e({},f_,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[lt.Root];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=lt.Segment+(n.sensitive?lt.BonusCaseSensitive:0);if(d.type===Kn.Static)f||(s+="/"),s+=d.value.replace(d_,"\\$&"),h+=lt.Static;else if(d.type===Kn.Param){const{value:g,repeatable:p,optional:E,regexp:v}=d;o.push({name:g,repeatable:p,optional:E});const w=v||Zu;if(w!==Zu){h+=lt.BonusCustomRegExp;try{`${w}`}catch(y){throw new Error(`Invalid custom RegExp for param "${g}" (${w}): `+y.message)}}let m=p?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;f||(m=E&&c.length<2?`(?:/${m})`:"/"+m),E&&(m+="?"),s+=m,h+=lt.Dynamic,E&&(h+=lt.BonusOptional),p&&(h+=lt.BonusRepeatable),w===".*"&&(h+=lt.BonusWildcard)}u.push(h)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=lt.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",g=o[d-1];f[g.name]=h&&g.repeatable?h.split("/"):h}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===Kn.Static)u+=h.value;else if(h.type===Kn.Param){const{value:g,repeatable:p,optional:E}=h,v=g in c?c[g]:"";if(Ht(v)&&!p)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const w=Ht(v)?v.join("/"):v;if(!w)if(E)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${g}"`);u+=w}}return u||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function p_(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]===lt.Static+lt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===lt.Static+lt.Segment?1:-1:0}function vh(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=p_(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(ec(r))return 1;if(ec(s))return-1}return s.length-r.length}function ec(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const g_={strict:!1,end:!0,sensitive:!1};function m_(e,t,n){const r=h_(c_(e.path),n),s=_e(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function y_(e,t){const n=[],r=new Map;t=Gu(g_,t);function s(f){return r.get(f)}function o(f,d,h){const g=!h,p=nc(f);p.aliasOf=h&&h.record;const E=Gu(t,f),v=[p];if("alias"in f){const y=typeof f.alias=="string"?[f.alias]:f.alias;for(const b of y)v.push(nc(_e({},p,{components:h?h.record.components:p.components,path:b,aliasOf:h?h.record:p})))}let w,m;for(const y of v){const{path:b}=y;if(d&&b[0]!=="/"){const C=d.record.path,T=C[C.length-1]==="/"?"":"/";y.path=d.record.path+(b&&T+b)}if(w=m_(y,d,E),h?h.alias.push(w):(m=m||w,m!==w&&m.alias.push(w),g&&f.name&&!rc(w)&&i(f.name)),bh(w)&&l(w),p.children){const C=p.children;for(let T=0;T<C.length;T++)o(C[T],w,h&&h.children[T])}h=h||w}return m?()=>{i(m)}:ps}function i(f){if(gh(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=w_(f,n);n.splice(d,0,f),f.record.name&&!rc(f)&&r.set(f.record.name,f)}function c(f,d){let h,g={},p,E;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw Ir(De.MATCHER_NOT_FOUND,{location:f});E=h.record.name,g=_e(tc(d.params,h.keys.filter(m=>!m.optional).concat(h.parent?h.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),f.params&&tc(f.params,h.keys.map(m=>m.name))),p=h.stringify(g)}else if(f.path!=null)p=f.path,h=n.find(m=>m.re.test(p)),h&&(g=h.parse(p),E=h.record.name);else{if(h=d.name?r.get(d.name):n.find(m=>m.re.test(d.path)),!h)throw Ir(De.MATCHER_NOT_FOUND,{location:f,currentLocation:d});E=h.record.name,g=_e({},d.params,f.params),p=h.stringify(g)}const v=[];let w=h;for(;w;)v.unshift(w.record),w=w.parent;return{name:E,path:p,params:g,matched:v,meta:b_(v)}}e.forEach(f=>o(f));function u(){n.length=0,r.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:s}}function tc(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function nc(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 rc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function b_(e){return e.reduce((t,n)=>_e(t,n.meta),{})}function w_(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;vh(e,t[o])<0?r=o:n=o+1}const s=__(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function __(e){let t=e;for(;t=t.parent;)if(bh(t)&&vh(e,t)===0)return t}function bh({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function sc(e){const t=he(gl),n=he(ml),r=z(()=>{const l=H(e.to);return t.resolve(l)}),s=z(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Or.bind(null,u));if(d>-1)return d;const h=oc(l[c-2]);return c>1&&oc(u)===h&&f[f.length-1].path!==h?f.findIndex(Or.bind(null,l[c-2])):d}),o=z(()=>s.value>-1&&A_(n.params,r.value.params)),i=z(()=>s.value>-1&&s.value===n.matched.length-1&&ph(n.params,r.value.params));function a(l={}){if(T_(l)){const c=t[H(e.replace)?"replace":"push"](H(e.to)).catch(ps);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:z(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function E_(e){return e.length===1?e[0]:e}const S_=xe({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:sc,setup(e,{slots:t}){const n=Zt(sc(e)),{options:r}=he(gl),s=z(()=>({[ic(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ic(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&E_(t.default(n));return e.custom?o:le("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),C_=S_;function T_(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 A_(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(!Ht(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function oc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ic=(e,t,n)=>e??t??n,P_=xe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=he(wa),s=z(()=>e.route||r.value),o=he(Ju,0),i=z(()=>{let c=H(o);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=z(()=>s.value.matched[i.value]);ge(Ju,z(()=>i.value+1)),ge(n_,a),ge(wa,s);const l=ee();return dt(()=>[l.value,a.value,e.name],([c,u,f],[d,h,g])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Or(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return ac(n.default,{Component:d,route:c});const h=f.props[u],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,E=le(d,_e({},g,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return ac(n.default,{Component:E,route:c})||E}}});function ac(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const wh=P_;function x_(e){const t=y_(e.routes,e),n=e.parseQuery||e_,r=e.stringifyQuery||Yu,s=e.history,o=Zr(),i=Zr(),a=Zr(),l=mt(Rt);let c=Rt;pr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ai.bind(null,R=>""+R),f=Ai.bind(null,N0),d=Ai.bind(null,Ss);function h(R,K){let U,Z;return gh(R)?(U=t.getRecordMatcher(R),Z=K):Z=R,t.addRoute(Z,U)}function g(R){const K=t.getRecordMatcher(R);K&&t.removeRoute(K)}function p(){return t.getRoutes().map(R=>R.record)}function E(R){return!!t.getRecordMatcher(R)}function v(R,K){if(K=_e({},K||l.value),typeof R=="string"){const S=Pi(n,R,K.path),A=t.resolve({path:S.path},K),I=s.createHref(S.fullPath);return _e(S,A,{params:d(A.params),hash:Ss(S.hash),redirectedFrom:void 0,href:I})}let U;if(R.path!=null)U=_e({},R,{path:Pi(n,R.path,K.path).path});else{const S=_e({},R.params);for(const A in S)S[A]==null&&delete S[A];U=_e({},R,{params:f(S)}),K.params=f(K.params)}const Z=t.resolve(U,K),fe=R.hash||"";Z.params=u(d(Z.params));const Ie=H0(r,_e({},R,{hash:L0(fe),path:Z.path})),_=s.createHref(Ie);return _e({fullPath:Ie,hash:fe,query:r===Yu?t_(R.query):R.query||{}},Z,{redirectedFrom:void 0,href:_})}function w(R){return typeof R=="string"?Pi(n,R,l.value.path):_e({},R)}function m(R,K){if(c!==R)return Ir(De.NAVIGATION_CANCELLED,{from:K,to:R})}function y(R){return T(R)}function b(R){return y(_e(w(R),{replace:!0}))}function C(R,K){const U=R.matched[R.matched.length-1];if(U&&U.redirect){const{redirect:Z}=U;let fe=typeof Z=="function"?Z(R,K):Z;return typeof fe=="string"&&(fe=fe.includes("?")||fe.includes("#")?fe=w(fe):{path:fe},fe.params={}),_e({query:R.query,hash:R.hash,params:fe.path!=null?{}:R.params},fe)}}function T(R,K){const U=c=v(R),Z=l.value,fe=R.state,Ie=R.force,_=R.replace===!0,S=C(U,Z);if(S)return T(_e(w(S),{state:typeof S=="object"?_e({},fe,S.state):fe,force:Ie,replace:_}),K||U);const A=U;A.redirectedFrom=K;let I;return!Ie&&B0(r,Z,U)&&(I=Ir(De.NAVIGATION_DUPLICATED,{to:A,from:Z}),J(Z,Z,!0,!1)),(I?Promise.resolve(I):M(A,Z)).catch(x=>on(x)?on(x,De.NAVIGATION_GUARD_REDIRECT)?x:me(x):ne(x,A,Z)).then(x=>{if(x){if(on(x,De.NAVIGATION_GUARD_REDIRECT))return T(_e({replace:_},w(x.to),{state:typeof x.to=="object"?_e({},fe,x.to.state):fe,force:Ie}),K||A)}else x=L(A,Z,!0,_,fe);return D(A,Z,x),x})}function k(R,K){const U=m(R,K);return U?Promise.reject(U):Promise.resolve()}function P(R){const K=Ke.values().next().value;return K&&typeof K.runWithContext=="function"?K.runWithContext(R):R()}function M(R,K){let U;const[Z,fe,Ie]=r_(R,K);U=Ri(Z.reverse(),"beforeRouteLeave",R,K);for(const S of Z)S.leaveGuards.forEach(A=>{U.push(Pn(A,R,K))});const _=k.bind(null,R,K);return U.push(_),Xe(U).then(()=>{U=[];for(const S of o.list())U.push(Pn(S,R,K));return U.push(_),Xe(U)}).then(()=>{U=Ri(fe,"beforeRouteUpdate",R,K);for(const S of fe)S.updateGuards.forEach(A=>{U.push(Pn(A,R,K))});return U.push(_),Xe(U)}).then(()=>{U=[];for(const S of Ie)if(S.beforeEnter)if(Ht(S.beforeEnter))for(const A of S.beforeEnter)U.push(Pn(A,R,K));else U.push(Pn(S.beforeEnter,R,K));return U.push(_),Xe(U)}).then(()=>(R.matched.forEach(S=>S.enterCallbacks={}),U=Ri(Ie,"beforeRouteEnter",R,K,P),U.push(_),Xe(U))).then(()=>{U=[];for(const S of i.list())U.push(Pn(S,R,K));return U.push(_),Xe(U)}).catch(S=>on(S,De.NAVIGATION_CANCELLED)?S:Promise.reject(S))}function D(R,K,U){a.list().forEach(Z=>P(()=>Z(R,K,U)))}function L(R,K,U,Z,fe){const Ie=m(R,K);if(Ie)return Ie;const _=K===Rt,S=pr?history.state:{};U&&(Z||_?s.replace(R.fullPath,_e({scroll:_&&S&&S.scroll},fe)):s.push(R.fullPath,fe)),l.value=R,J(R,K,U,_),me()}let B;function re(){B||(B=s.listen((R,K,U)=>{if(!$t.listening)return;const Z=v(R),fe=C(Z,$t.currentRoute.value);if(fe){T(_e(fe,{replace:!0,force:!0}),Z).catch(ps);return}c=Z;const Ie=l.value;pr&&Q0(Qu(Ie.fullPath,U.delta),Ko()),M(Z,Ie).catch(_=>on(_,De.NAVIGATION_ABORTED|De.NAVIGATION_CANCELLED)?_:on(_,De.NAVIGATION_GUARD_REDIRECT)?(T(_e(w(_.to),{force:!0}),Z).then(S=>{on(S,De.NAVIGATION_ABORTED|De.NAVIGATION_DUPLICATED)&&!U.delta&&U.type===va.pop&&s.go(-1,!1)}).catch(ps),Promise.reject()):(U.delta&&s.go(-U.delta,!1),ne(_,Z,Ie))).then(_=>{_=_||L(Z,Ie,!1),_&&(U.delta&&!on(_,De.NAVIGATION_CANCELLED)?s.go(-U.delta,!1):U.type===va.pop&&on(_,De.NAVIGATION_ABORTED|De.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),D(Z,Ie,_)}).catch(ps)}))}let ue=Zr(),q=Zr(),se;function ne(R,K,U){me(R);const Z=q.list();return Z.length?Z.forEach(fe=>fe(R,K,U)):console.error(R),Promise.reject(R)}function je(){return se&&l.value!==Rt?Promise.resolve():new Promise((R,K)=>{ue.add([R,K])})}function me(R){return se||(se=!R,re(),ue.list().forEach(([K,U])=>R?U(R):K()),ue.reset()),R}function J(R,K,U,Z){const{scrollBehavior:fe}=e;if(!pr||!fe)return Promise.resolve();const Ie=!U&&Y0(Qu(R.fullPath,0))||(Z||!U)&&history.state&&history.state.scroll||null;return Mn().then(()=>fe(R,K,Ie)).then(_=>_&&z0(_)).catch(_=>ne(_,R,K))}const de=R=>s.go(R);let Ge;const Ke=new Set,$t={currentRoute:l,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:p,resolve:v,options:e,push:y,replace:b,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:q.add,isReady:je,install(R){R.component("RouterLink",C_),R.component("RouterView",wh),R.config.globalProperties.$router=$t,Object.defineProperty(R.config.globalProperties,"$route",{enumerable:!0,get:()=>H(l)}),pr&&!Ge&&l.value===Rt&&(Ge=!0,y(s.location).catch(Z=>{}));const K={};for(const Z in Rt)Object.defineProperty(K,Z,{get:()=>l.value[Z],enumerable:!0});R.provide(gl,$t),R.provide(ml,zt(K)),R.provide(wa,l);const U=R.unmount;Ke.add(R),R.unmount=function(){Ke.delete(R),Ke.size<1&&(c=Rt,B&&B(),B=null,l.value=Rt,Ge=!1,se=!1),U()}}};function Xe(R){return R.reduce((K,U)=>K.then(()=>P(U)),Promise.resolve())}return $t}function _h(e){return he(ml)}const R_=/(:\w+)\([^)]+\)/g,k_=/(:\w+)[?+*]/g,O_=/:\w+/g,I_=(e,t)=>t.path.replace(R_,"$1").replace(k_,"$1").replace(O_,n=>e.params[n.slice(1)]?.toString()||""),_a=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&I_(e.route,n));return typeof r=="function"?r(e.route):r},$_=(e,t)=>
4({default:()=>e?le(Um,e===!0?{}:e,t):t});function yl(e){return Array.isArray(e)?e:[e]}const L_={path:"/useful-links/brochures"},M_={path:"/news"},D_={path:"/your-appointment"},N_={path:"/get-in-touch"},F_={path:"/get-in-touch/:slug"},j_={path:"/your-share-maturity"},H_={path:"/useful-links/terms-and-conditions"},B_={path:"/useful-links/:slug"},U_={path:"/useful-links/sitemap"},V_={path:"/about-us/our-advisers"},q_={path:"/about-us/our-isa-and-sipp"},W_={path:"/investment-advice"},G_={path:"/retirement-planning"},K_={path:"/useful-links/online-access"},z_={path:"/retirement-planning/defined-benefit-pensions"},ki=[{name:"WIP",path:"/WIP",component:()=>Le(()=>import("./C2MZrTM8.js"),__vite__mapDeps([0,1]),import.meta.url)},{name:"index",path:"/",component:()=>Le(()=>import("./PxK3xqO8.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,1,13,14]),import.meta.url)},{name:"Brochures",path:"/useful-links/brochures",meta:L_||{},component:()=>Le(()=>import("./CooHQEIQ.js"),__vite__mapDeps([15,16,17,3,18,14]),import.meta.url)},{name:"News",path:"/news",meta:M_||{},component:()=>Le(()=>import("./Bu8rKzoJ.js"),__vite__mapDeps([19,20,4,5,6,7,8,9,14,21]),import.meta.url)},{name:"about-us",path:"/about-us",component:()=>Le(()=>import("./CMqJ8gxQ.js"),__vite__mapDeps([22,3,23,10,12,5,6,17,11,20,4,7,8,9,13,14]),import.meta.url)},{name:"YourAppointment",path:"/your-appointment",meta:D_||{},component:()=>Le(()=>import("./Mgm1hMDy.js"),__vite__mapDeps([24,3,10,17,5,6,13,14]),import.meta.url)},{name:"GetInTouch",path:"/get-in-touch",meta:N_||{},component:()=>Le(()=>import("./CwVahAIj.js"),__vite__mapDeps([25,3,26,27,8,13,14]),import.meta.url)},{name:"GetInTouch-slug",path:"/get-in-touch/:slug",meta:F_||{},component:()=>Le(()=>import("./Dl2FG6wS.js"),__vite__mapDeps([28,3,26,27,8,13]),import.meta.url)},{name:"YourShareMaturity",path:"/your-share-maturity",meta:j_||{},component:()=>Le(()=>import("./BC-e4mBh.js"),__vite__mapDeps([29,3,27,8,13,14]),import.meta.url)},{name:"TermsAndConditions",path:"/useful-links/terms-and-conditions",meta:H_||{},component:()=>Le(()=>import("./B2xOd1Oy.js"),__vite__mapDeps([30,16,17,3,18,14]),import.meta.url)},{name:"UsefulLinks-slug",path:"/useful-links/:slug",meta:B_||{},component:()=>Le(()=>import("./Of5zX2r3.js"),__vite__mapDeps([31,16,17,3,32,5,6,33,13,14]),import.meta.url)},{name:"News-Article-slug",path:"/News/Article/:slug()",component:()=>Le(()=>import("./BNEHwNZB.js"),__vite__mapDeps([34,5,6,7,33,3]),import.meta.url)},{name:"UsefulLinks-Sitemap",path:"/useful-links/sitemap",meta:U_||{},component:()=>Le(()=>import("./C7MLQjcW.js"),__vite__mapDeps([35,16,17,3,13,14,8,36]),import.meta.url)},{name:"about-us-OurAdvisers",path:"/about-us/our-advisers",meta:V_||{},component:()=>Le(()=>import("./BDVsYMQs.js"),__vite__mapDeps([37,3,17,13,14]),import.meta.url)},{name:"about-us-Testimonials",path:"/about-us/Testimonials",component:()=>Le(()=>import("./bjxC9bDc.js"),__vite__mapDeps([38,3,10,17,11,5,6,13,14]),import.meta.url)},{name:"about-us-OurIsaAndSipp",path:"/about-us/our-isa-and-sipp",meta:q_||{},component:()=>Le(()=>import("./DTlkhkUQ.js"),__vite__mapDeps([39,3,10,12,5,6,17,23,13,14]),import.meta.url)},{name:"InvestmentAdvice",path:"/investment-advice",meta:W_||{},component:()=>Le(()=>import("./BcmDuDbf.js"),__vite__mapDeps([40,3,23,10,17,11,5,6,13,14]),import.meta.url)},{name:"RetirementPlanning",path:"/retirement-planning",meta:G_||{},component:()=>Le(()=>import("./D0I2Yh3Z.js"),__vite__mapDeps([41,3,23,10,12,5,6,17,11,13,14]),import.meta.url)},{name:"UsefulLinks-OnlineAccess",path:"/useful-links/online-access",meta:K_||{},component:()=>Le(()=>import("./C3vf-jlU.js"),__vite__mapDeps([42,16,17,3,13,14]),import.meta.url)},{name:"about-us-Testimonial-slug",path:"/about-us/Testimonial/:slug()",component:()=>Le(()=>import("./CM5B3auz.js"),__vite__mapDeps([43,3,5,6,13]),import.meta.url)},{name:"RetirementPlanning-DefinedBenefitPensions",path:"/retirement-planning/defined-benefit-pensions",meta:z_||{},component:()=>Le(()=>import("./8LOW6CZO.js"),__vite__mapDeps([44,3,23,32,5,6,33,10,17,11,13,12,14]),import.meta.url)}],Eh=(e,t)=>({default:()=>e?le(na,e===!0?{}:e,t):t.default?.()}),Q_=/(:\w+)\([^)]+\)/g,Y_=/(:\w+)[?+*]/g,J_=/:\w+/g;function lc(e){const t=e?.meta.key??e.path.replace(Q_,"$1").replace(Y_,"$1").replace(J_,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function X_(e,t){return e===t||t===Rt?!1:lc(e)!==lc(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}const Z_={scrollBehavior(e,t,n){const r=$e(),s=ht().options?.scrollBehaviorType??"auto";if(e.path.replace(/\/$/,"")===t.path.replace(/\/$/,""))return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Sh(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===Rt){a(uc(e,t,n,s));return}r.hooks.hookOnce(i,()=>{requestAnimationFrame(()=>a(uc(e,t,n,s)))})})}};function Sh(e){try{const t=document.querySelector(e);
4if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function uc(e,t,n,r){if(n)return n;const s=X_(e,t);return e.hash?{el:e.hash,top:Sh(e.hash),behavior:s?r:"instant"}:{left:0,top:0}}const eE={hashMode:!1,scrollBehaviorType:"auto"},Sn={...eE,...Z_},tE=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const s=([n,r]=Sr(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const o=In({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},nE=e=>{if(Ne().public.holdingMode&&e.path!=="/")return Qd("/")},rE=async e=>{let t,n;const r=([t,n]=Sr(()=>dl({path:e.path})),t=await t,n(),t);if(r.redirect)return ir(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},sE=[tE,nE,rE],Ea={};function oE(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const c=o.includes(e.slice(i))?e.slice(i).length:1;let u=o.slice(c);return u[0]!=="/"&&(u="/"+u),Fu(u,"")}const a=Fu(r,e),l=!n||dw(a,n)?a:n;return l+(l.includes("?")?"":s)+o}const iE=en({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Ne().app.baseURL;const s=Sn.history?.(r)??a_(r),o=Sn.routes?([t,n]=Sr(()=>Sn.routes(ki)),t=await t,n(),t??ki):ki;let i;const a=x_({...Sn,scrollBehavior:(E,v,w)=>{if(v===Rt){i=w;return}if(Sn.scrollBehavior){if(a.options.scrollBehavior=Sn.scrollBehavior,"scrollRestoration"in window.history){const m=a.beforeEach(()=>{m(),window.history.scrollRestoration="manual"})}return Sn.scrollBehavior(E,Rt,i||w)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=mt(a.currentRoute.value);a.afterEach((E,v)=>{l.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=oE(r,window.location,e.payload.path),u=mt(a.currentRoute.value),f=()=>{u.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((E,v)=>{E.matched[E.matched.length-1]?.components?.default===v.matched[v.matched.length-1]?.components?.default&&f()});const d={};for(const E in u.value)Object.defineProperty(d,E,{get:()=>u.value[E],enumerable:!0});e._route=zt(d),e._middleware||={global:[],named:{}};const h=Wo();a.afterEach(async(E,v,w)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(gw),w&&await e.callHook("page:loading:end")});try{[t,n]=Sr(()=>a.isReady()),await t,n()}catch(E){[t,n]=Sr(()=>e.runWithContext(()=>qn(E))),await t,n()}const g=c!==a.currentRoute.value.fullPath?a.resolve(c):a.currentRoute.value;f();const p=e.payload.state._layout;return a.beforeEach(async(E,v)=>{await e.callHook("page:loading:start"),E.meta=Zt(E.meta),e.isHydrating&&p&&!Xt(E.meta.layout)&&(E.meta.layout=p),e._processingMiddleware=!0;{const w=new Set([...sE,...e._middleware.global]);for(const m of E.matched){const y=m.meta.middleware;if(y)for(const b of yl(y))w.add(b)}{const m=await e.runWithContext(()=>dl({path:E.path}));if(m.appMiddleware)for(const y in m.appMiddleware)m.appMiddleware[y]?w.add(y):w.delete(y)}for(const m of w){const y=typeof m=="string"?e._middleware.named[m]||await Ea[m]?.().then(b=>b.default||b):m;if(!y)throw new Error(`Unknown route middleware: '${m}'.`);try{const b=await e.runWithContext(()=>y(E,v));if(!e.payload.serverRendered&&e.isHydrating&&(b===!1||b instanceof Error)){const C=b||In({statusCode:404,statusMessage:`Page Not Found: ${c}`});return await e.runWithContext(()=>qn(C)),!1}if(b===!0)continue;if(b===!1)return b;if(b)return Jd(b)&&b.fatal&&await e.runWithContext(()=>qn(b)),b}catch(b){const C=In(b);return C.fatal&&await e.runWithContext(()=>qn(C)),C}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(E=>{if(E.matched.length===0)return e.runWithContext(()=>qn(In({statusCode:404,fatal:!1,statusMessage:`Page not found: ${E.fullPath}`,data:{path:E.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in g&&(g.name=void 0),await a.replace({...g,force:!0}),a.options.scrollBehavior=Sn.scrollBehavior}catch(E){await e.runWithContext(()=>qn(E))}}),{provide:{router:a}}}}),Sa=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),aE=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),zo=e=>
4{const t=$e();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Sa(()=>e())}):Sa(()=>e())},lE=en({name:"nuxt:payload",setup(e){const t=new Set;ht().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await Wu(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]}}),zo(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Wu(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(Go,1e3)})}}),uE=en(()=>{const e=ht();zo(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),cE=en(e=>{let t;async function n(){let r;try{r=await Go()}catch(s){const o=s;if(!("status"in o&&(o.status===404||o.status===403)))throw o}t&&clearTimeout(t),t=setTimeout(n,Lu);try{const s=await $fetch(il("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}zo(()=>{t=setTimeout(n,Lu)})});function fE(e={}){const t=e.path||window.location.pathname;let n={};try{n=vo(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:$e().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const dE=en({name:"nuxt:chunk-reload",setup(e){const t=ht(),n=Ne(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=cl(n.app.baseURL,o.fullPath);fE({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),hE=en({name:"nuxt:global-components"}),xn={};function pE(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Ch(e,t=ht()){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(()=>Ch(e,t));t._routePreloaded.add(n);for(const o of r){const i=o.components?.default;if(typeof i!="function")continue;const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}const gE=en({name:"nuxt:prefetch",setup(e){const t=ht();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof xn[r]=="function"&&await xn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(ir(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=yl(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof Ea[i]=="function"&&Ea[i]();typeof s=="string"&&s in xn&&pE(xn[s])})}}),mE={trailing:!0};function yE(e,t=25,n={}){if(n={...mE,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,s,o=[],i,a;const l=(f,d)=>(i=vE(e,f,d),i.finally(()=>{if(i=null,n.trailing&&a&&!s){const h=l(f,a);return a=null,h}}),i),c=function(...f){return n.trailing&&(a=f),i||new Promise(d=>{const h=!s&&n.leading;clearTimeout(s),s=setTimeout(()=>{s=null;const g=n.leading?r:l(this,f);a=null;for(const p of o)p(g);o=[]},t),h?(r=l(this,f),d(r)):o.push(d)})},u=f=>{f&&(clearTimeout(f),s=null)};return c.isPending=()=>!!s,c.cancel=()=>{u(s),o=[],a=null},c.flush=()=>
4{if(u(s),!a||i)return;const f=a;return a=null,l(this,f)},c}async function vE(e,t,n){return await e.apply(t,n)}const Th=Symbol.for("nuxt:client-only"),IP=xe({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=mt(!1);We(()=>{r.value=!0});const s=vt();return s&&(s._nuxtClientOnly=!0),ge(Th,!0),()=>{if(r.value){const l=t.default?.();return l&&l.length===1?[jt(l[0],n)]:l}const o=t.fallback||t.placeholder;if(o)return le(o);const i=e.fallback||e.placeholder||"",a=e.fallbackTag||e.placeholderTag||"span";return ut(a,n,i)}}}),bE=e=>e==="defer"||e===!1;function wE(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;_E(e[0],e[1])&&e.unshift(t);let[n,r,s={}]=e,o=!1;const i=z(()=>Rf(n));if(typeof i.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const a=$e();s.server??=!0,s.default??=SE,s.getCachedData??=Ph,s.lazy??=!1,s.immediate??=!0,s.deep??=dn.deep,s.dedupe??="cancel",s._functionName,a._asyncData[i.value];function l(){const g={cause:"initial",dedupe:s.dedupe};return a._asyncData[i.value]?._init||(g.cachedData=s.getCachedData(i.value,a,{cause:"initial"}),a._asyncData[i.value]=cc(a,i.value,r,s,g.cachedData)),()=>a._asyncData[i.value].execute(g)}const c=l(),u=a._asyncData[i.value];u._deps++;const f=s.server!==!1&&a.payload.serverRendered;{let g=function(y){const b=a._asyncData[y];b?._deps&&(b._deps--,b._deps===0&&b?._off())};const p=vt();if(p&&f&&s.immediate&&!p.sp&&(p.sp=[]),p&&!p._nuxtOnBeforeMountCbs){p._nuxtOnBeforeMountCbs=[];const y=p._nuxtOnBeforeMountCbs;zf(()=>{y.forEach(b=>{b()}),y.splice(0,y.length)}),yt(()=>y.splice(0,y.length))}const E=p&&(p._nuxtClientOnly||he(Th,!1));f&&a.isHydrating&&(u.error.value||u.data.value!=null)?(u.pending.value=!1,u.status.value=u.error.value?"error":"success"):p&&(!E&&a.payload.serverRendered&&a.isHydrating||s.lazy)&&s.immediate?p._nuxtOnBeforeMountCbs.push(c):s.immediate&&c();const v=Ba(),w=dt(i,(y,b)=>{if((y||b)&&y!==b){o=!0;const C=a._asyncData[b]?.data.value!==dn.value,T=a._asyncDataPromises[b]!==void 0,k={cause:"initial",dedupe:s.dedupe};if(!a._asyncData[y]?._init){let P;b&&C?P=a._asyncData[b].data.value:(P=s.getCachedData(y,a,{cause:"initial"}),k.cachedData=P),a._asyncData[y]=cc(a,y,r,s,P)}a._asyncData[y]._deps++,b&&g(b),(s.immediate||C||T)&&a._asyncData[y].execute(k),oo(()=>{o=!1})}},{flush:"sync"}),m=s.watch?dt(s.watch,()=>{o||u._execute({cause:"watch",dedupe:s.dedupe})}):()=>{};v&&Gg(()=>{w(),m(),g(i.value)})}const d={data:Vs(()=>a._asyncData[i.value]?.data),pending:Vs(()=>a._asyncData[i.value]?.pending),status:Vs(()=>a._asyncData[i.value]?.status),error:Vs(()=>a._asyncData[i.value]?.error),refresh:(...g)=>a._asyncData[i.value]?._init?a._asyncData[i.value].execute(...g):l()(),execute:(...g)=>d.refresh(...g),clear:()=>Ah(a,i.value)},h=Promise.resolve(a._asyncDataPromises[i.value]).then(()=>d);return Object.assign(h,d),h}function Vs(e){return z({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function _E(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function Ah(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=dn.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=dn.errorValue,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function EE(e,t){const n={};for(const r of t)n[r]=e[r];return n}function cc(e,t,n,r,s){e.payload._errors[t]??=dn.errorValue;const o=r.getCachedData!==Ph,i=n,a=r.deep?ee:mt,l=s!=null,c=e.hook("app:data:refresh",async f=>{(!f||f.includes(t))&&await u.execute({cause:"refresh:hook"})}),u={data:a(l?s:r.default()),pending:mt(!l),error:Of(e.payload._errors,t),status:mt("idle"),execute:(...f)=>{const[d,h=void 0]=f,g=d&&h===void 0&&typeof d=="object"?d:{};if(e._asyncDataPromises[t]){if(bE(g.dedupe??r.dedupe))return e._asyncDataPromises[t];e._asyncDataPromises[t].cancelled=!0}if(g.cause==="initial"||e.isHydrating){const E="cachedData"in g?g.cac
4hedData:r.getCachedData(t,e,{cause:g.cause??"refresh:manual"});if(E!=null)return e.payload.data[t]=u.data.value=E,u.error.value=dn.errorValue,u.status.value="success",Promise.resolve(E)}u.pending.value=!0,u.status.value="pending";const p=new Promise((E,v)=>{try{E(i(e))}catch(w){v(w)}}).then(async E=>{if(p.cancelled)return e._asyncDataPromises[t];let v=E;r.transform&&(v=await r.transform(E)),r.pick&&(v=EE(v,r.pick)),e.payload.data[t]=v,u.data.value=v,u.error.value=dn.errorValue,u.status.value="success"}).catch(E=>{if(p.cancelled)return e._asyncDataPromises[t];u.error.value=In(E),u.data.value=H(r.default()),u.status.value="error"}).finally(()=>{p.cancelled||(u.pending.value=!1,delete e._asyncDataPromises[t])});return e._asyncDataPromises[t]=p,e._asyncDataPromises[t]},_execute:yE((...f)=>u.execute(...f),0,{leading:!0}),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{c(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),o||Mn(()=>{e._asyncData[t]?._init||(Ah(e,t),u.execute=()=>Promise.resolve(),u.data.value=dn.value)})}};return u}const SE=()=>dn.value,Ph=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]},CE=(...e)=>e.find(t=>t!==void 0);function TE(e){const t=e.componentName||"NuxtLink";function n(o){return typeof o=="string"&&o.startsWith("#")}function r(o,i,a){const l=a??e.trailingSlash;if(!o||l!=="append"&&l!=="remove")return o;if(typeof o=="string")return qs(o,l);const c="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:qs(c,l)}}function s(o){const i=ht(),a=Ne(),l=z(()=>!!o.target&&o.target!=="_self"),c=z(()=>{const E=o.to||o.href||"";return typeof E=="string"&&ir(E,{acceptRelative:!0})}),u=eu("RouterLink"),f=u&&typeof u!="string"?u.useLink:void 0,d=z(()=>{if(o.external)return!0;const E=o.to||o.href||"";return typeof E=="object"?!1:E===""||c.value}),h=z(()=>{const E=o.to||o.href||"";return d.value?E:r(E,i.resolve,o.trailingSlash)}),g=d.value?void 0:f?.({...o,to:h}),p=z(()=>{const E=o.trailingSlash??e.trailingSlash;if(!h.value||c.value||n(h.value))return h.value;if(d.value){const v=typeof h.value=="object"&&"path"in h.value?ca(h.value):h.value,w=typeof v=="object"?i.resolve(v).href:v;return qs(w,E)}return typeof h.value=="object"?i.resolve(h.value)?.href??null:qs(cl(a.app.baseURL,h.value),E)});return{to:h,hasTarget:l,isAbsoluteUrl:c,isExternal:d,href:p,isActive:g?.isActive??z(()=>h.value===i.currentRoute.value.path),isExactActive:g?.isExactActive??z(()=>h.value===i.currentRoute.value.path),route:g?.route??z(()=>i.resolve(h.value)),async navigate(E){await Qd(p.value,{replace:o.replace,external:d.value||l.value})}}}return xe({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:s,setup(o,{slots:i}){const a=ht(),{to:l,href:c,navigate:u,isExternal:f,hasTarget:d,isAbsoluteUrl:h}=s(o),g=mt(!1),p=ee(null),E=m=>{p.value=o.custom?m?.$el?.nextElementSibling:m?.$el};function v(m){return!g.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===m:o.prefetchOn?.[m]??e.prefetchOn?.[m])&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!xE()}async function w(m=$e()){if(g.value)return;g.value=!0;const y=typeof l.value=="string"?l.value:f.value?ca(l.value):a.resolve(l.value).fullPath,b=f.value?new URL(y,window.location.href).href:y;await Promise.all([m.hooks.callHook("link:prefetch",b).catch(()=>{}),!f.value&&!d.value&&Ch(l.value,a).catch(()=>{})])}if(v("visibility")){const m=$e();let y,b=null;We(()=>{const C=AE();zo(()=>{y=Sa(()=>{p?.value?.tagName&&(b=C.observe(p.value,async()=>{b?.(),b=null,await w(m)}))})})}),Br(()=>{y&&aE(y),b?.(),b=null})}return()=>{if(!f.value&&!d.value&&!n(l.value)){const b={ref:E,to:l.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};
4return o.custom||(v("interaction")&&(b.onPointerenter=w.bind(null,void 0),b.onFocus=w.bind(null,void 0)),g.value&&(b.class=o.prefetchedClass||e.prefetchedClass),b.rel=o.rel||void 0),le(eu("RouterLink"),b,i.default)}const m=o.target||null,y=CE(o.noRel?"":o.rel,e.externalRelAttribute,h.value||d.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:c.value,navigate:u,prefetch:w,get route(){if(!c.value)return;const b=new URL(c.value,window.location.href);return{path:b.pathname,fullPath:b.pathname,get query(){return ul(b.search)},hash:b.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:y,target:m,isExternal:f.value||d.value,isActive:!1,isExactActive:!1}):null:le("a",{ref:p,href:c.value||null,rel:y,target:m,onClick:b=>{if(!(f.value||d.value))return b.preventDefault(),o.replace?a.replace(c.value):a.push(c.value)}},i.default?.())}}})}const vl=TE(Ab);function qs(e,t){const n=t==="append"?Gd:Eo;return ir(e)&&!e.startsWith("http")?e:n(e,!0)}function AE(){const e=$e();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}}),n.set(o,i),t.observe(o),()=>{n.delete(o),t?.unobserve(o),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const PE=/2g/;function xE(){const e=navigator.connection;return!!(e&&(e.saveData||PE.test(e.effectiveType)))}var qr=e=>{window.__fathomClientQueue=window.__fathomClientQueue||[],window.__fathomClientQueue.push(e)},RE=()=>{window.__fathomIsLoading=!1,window.__fathomClientQueue=window.__fathomClientQueue||[],window.__fathomClientQueue.forEach(e=>{switch(e.type){case"trackPageview":Rh(e.opts);return;case"trackGoal":kh(e.code,e.cents);return;case"trackEvent":Oh(e.eventName,e.opts);return;case"enableTrackingForMe":$h();return;case"blockTrackingForMe":Ih();return;case"setSite":Lh(e.id);return}}),window.__fathomClientQueue=[]},fc=e=>{const t=/(https?)(?=:|\/|$)/;e.forEach(n=>{t.exec(n)!==null&&console.warn(`The include domain ${n} might fail to work as intended as it begins with a transfer protocol (http://, https://). Consider removing the protocol portion of the string.`)})},xh=(e,t)=>{if(window.__fathomIsLoading||window.fathom)return;window.__fathomIsLoading=!0;let n=document.createElement("script"),r=document.getElementsByTagName("script")[0]||document.querySelector("body");n.id="fathom-script",n.async=!0,n.setAttribute("data-site",e),n.src=t&&t.url?t.url:"https://cdn.usefathom.com/script.js",t&&(t.auto!==void 0&&n.setAttribute("data-auto",`${t.auto}`),t.honorDNT!==void 0&&n.setAttribute("data-honor-dnt",`${t.honorDNT}`),t.canonical!==void 0&&n.setAttribute("data-canonical",`${t.canonical}`),t.includedDomains&&(fc(t.includedDomains),n.setAttribute("data-included-domains",t.includedDomains.join(","))),t.excludedDomains&&(fc(t.excludedDomains),n.setAttribute("data-excluded-domains",t.excludedDomains.join(","))),t.spa&&n.setAttribute("data-spa",t.spa)),n.onload=RE,r.parentNode.insertBefore(n,r)},Rh=e=>{window.fathom?e?window.fathom.trackPageview(e):window.fathom.trackPageview():qr({type:"trackPageview",opts:e})},kh=(e,t)=>{window.fathom?window.fathom.trackGoal(e,t):qr({type:"trackGoal",code:e,cents:t})},Oh=(e,t)=>{window.fathom?window.fathom.trackEvent(e,t):qr({type:"trackEvent",eventName:e,opts:t})},Ih=()=>{window.fathom?window.fathom.blockTrackingForMe():qr({type:"blockTrackingForMe"})},$h=()=>{window.fathom?window.fathom.enableTrackingForMe():qr({type:"enableTrackingForMe"})},kE=()=>{const e=localStorage.getItem("blockFathomTracking");return e!==null?e!=="true":!0},Lh=e=>{window.fathom?window.fathom.setSite(e):qr({type:"setSite",id:e})};const OE=Object.freeze(Object.defineProperty({__proto__:null,blockTrackingForMe:Ih,enableTrackingForMe:$h,isTrackingEnabled:kE,load:xh,setSite:Lh,trackEvent:Oh,trackGoal:kh,trackPageview:Rh},Symbol.toStringTag,{value:"Module"}));function IE(e){return(...t)=>e(...t)}const $E=["blockTrackingForMe","enableTrackingForMe","isTrackingEnabled","setSite","trackEvent","trackPageview"];function bl(){return $E.reduce((e,t)=>
4(e[t]=IE(OE[t]),e),{})}const LE=en(()=>{const{fathom:{siteId:e,config:t}}=Ne().public;if(e&&(xh(e,t),!t?.manual)){const{trackPageview:n}=bl(),r=Vr();dt(()=>r.path,()=>{n()})}}),ME=[v0,S0,iE,lE,uE,cE,dE,hE,gE,LE],Mh=(e="RouteProvider")=>xe({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 ge(gn,zt(s)),()=>t.vnode?le(t.vnode,{ref:t.vnodeRef}):t.vnode}}),DE=Mh(),dc=new WeakMap,NE=xe({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=$e(),o=ee(),i=he(gn,null);let a;r({pageRef:o});const l=he(zd,null);let c;const u=s.deferHydration();if(s.isHydrating){const d=s.hooks.hookOnce("app:error",u);ht().beforeEach(d)}e.pageKey&&dt(()=>e.pageKey,(d,h)=>{d!==h&&s.callHook("page:loading:start")});let f=!1;{const d=ht().beforeResolve(()=>{f=!1});Br(()=>{d()})}return()=>le(wh,{name:e.name,route:e.route,...t},{default:d=>{const h=jE(i,d.route,d.Component),g=i&&i.matched.length===d.route.matched.length;if(!d.Component){if(c&&!g)return c;u();return}if(c&&l&&!l.isCurrent(d.route))return c;if(h&&i&&(!l||l?.isCurrent(i)))return g?c:null;const p=_a(d,e.pageKey),E=HE(i,d.route,d.Component);!s.isHydrating&&a===p&&!E&&Mn(()=>{f=!0,s.callHook("page:loading:end")}),a=p;const v=!!(e.transition??d.route.meta.pageTransition??$u),w=v&&FE([e.transition,d.route.meta.pageTransition,$u,{onAfterLeave(){delete s._runningTransition,s.callHook("page:transition:finish",d.Component)}}]),m=e.keepalive??d.route.meta.keepalive??Tb;return c=Eh(v&&w,$_(m,le(tl,{suspensible:!0,onPending:()=>{v&&(s._runningTransition=!0),s.callHook("page:start",d.Component)}
4,onResolve:()=>{Mn(()=>s.callHook("page:finish",d.Component).then(()=>{if(delete s._runningTransition,!f&&!E)return f=!0,s.callHook("page:loading:end")}).finally(u))}},{default:()=>{const y={key:p||void 0,vnode:n.default?BE(n.default,d):d.Component,route:d.route,renderKey:p||void 0,trackRootNodes:v,vnodeRef:o};if(!m)return le(DE,y);const b=d.Component.type,C=b;let T=dc.get(C);return T||(T=Mh(b.name||b.__name),dc.set(C,T)),le(T,y)}}))).default(),c}})}});function FE(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?yl(n.onAfterLeave):void 0});return al(...t)}function jE(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&&_a({route:t,Component:n})!==_a({route:e,Component:n})}function HE(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function BE(e,t){const n=e(t);return n.length===1?le(n[0]):le(ke,void 0,n)}const UE=xe({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>le(xn[e.name],e.layoutProps,t.slots)}}),VE={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},Dh=xe({name:"NuxtLayout",inheritAttrs:!1,props:VE,setup(e,t){const n=$e(),r=he(gn),o=!r||r===Vr()?_h():r,i=z(()=>{let u=H(e.name)??o?.meta.layout??"default";return u&&!(u in xn)&&e.fallback&&(u=H(e.fallback)),u}),a=mt();t.expose({layoutRef:a});const l=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",l);ht().beforeEach(u)}let c;return()=>{const u=i.value&&i.value in xn,f=o?.meta.layoutTransition??Cb,d=c;return c=i.value,Eh(u&&f,{default:()=>le(tl,{suspensible:!0,onResolve:()=>{Mn(l)}},{default:()=>le(qE,{layoutProps:nl(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()}}}),qE=xe({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&&ge(zd,{isCurrent:o=>n===(o.meta.layout??"default")});const r=he(gn);if(r&&r===Vr()){const o=_h(),i={};for(const a in o){const l=a;Object.defineProperty(i,l,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?o[l]:r[l]})}ge(gn,zt(i))}return()=>!n||typeof n=="string"&&!(n in xn)?t.slots.default?.():le(UE,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),Co=String.raw||((e,...t)=>{const n=e.length-1;return e.slice(0,n).reduce((r,s,o)=>r+s+t[o],"")+e[n]}),hc=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function WE(e,t){t?t={...hc,...t}:t=hc;const n=Nh(t);return n.dispatch(e),n.toString()}const GE=Object.freeze(["prototype","__proto__","constructor"]);function Nh(e){let t="",n=new Map;const r=s=>{t+=s};return{toString(){return t},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this[s===null?"null":typeof s](s)},object(s){if(s&&typeof s.toJSON=="function")return this.object(s.toJSON());const o=Object.prototype.toString.call(s);let i="";const a=o.length;a<10?i="unknown:["+o+"]":i=o.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](s):e.ignoreUnknown||this.unkown(s,i);else{let c=Object.keys(s);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!pc(s)&&(u=GE),e.excludeKeys&&(c=c.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(c.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(s[d]),r(",")};for(const d of c)f(d);for(const d of u)f(d)}},array(s,o){if(o=o===void 0?e.unorderedArrays!==!1:o,r("array:"+s.length+":"),!o||s.length<=1){for(const l of s)this.dispatch(l);return}const i=new Map,a=s.map(l=>{const c=Nh(e);c.dispatch(l);for(const[u,f]of c.getContext())i.set(u,f);return c.toString()});return n=i,a.sort(),this.array(a,!1)},date(s){return r("date:"+s.toJSON())},symbol(s){return r("symbol:"+s.toString())},unkown(s,o){if(r(o),!!s&&(r(":"),s&&typeof s.entries=="function"))return this.array(Array.from(s.entries()),!0)},error(s){return r("error:"+s.toString())},boolean(s){return r("bool:"+s)},string(s){r("string:"+s.length+":"),r(s)},function(s){r("fn:"),pc(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this.object(s)},number(s){return r("number:"+s)},xml(s){return r("xml:"+s.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(s){return r("regex:"+s.toString())},uint8array(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},uint8clampedarray(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},int8array(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},uint16array(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},int16array(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},uint32array(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},int32array(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},float32array(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},float64array(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},arraybuffer(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},url(s){return r("url:"+s.toString())},map(s){r("map:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},set(s){r("set:");const o=[...s];return this.array(o,e.unorderedSets!==!1)},file(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported 5Use "options.replacer" or "options.ignoreUnknown" 6`)},domwindow(){return r("domwindow")},bigint(s){return r("bigint:"+s.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")}
6,context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const Fh="[native code] }",KE=Fh.length;function pc(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-KE)===Fh}class $n{words;sigBytes;constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||zE).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new $n([...this.words])}}const zE={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},QE={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const s=e.words[r>>>2]>>>24-r%4*8&255,o=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=s<<16|o<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(a>>>6*(3-l)&63))}return n.join("")}},YE={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new $n(n,t)}},JE={parse(e){return YE.parse(unescape(encodeURIComponent(e)))}};class XE{_data=new $n;_nDataBytes=0;_minBufferSize=0;blockSize=512/32;reset(){this._data=new $n,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=JE.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*this.blockSize,o=Math.min(s*4,this._data.sigBytes);if(s){for(let i=0;i<s;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,s),this._data.sigBytes-=o}return new $n(n,o)}}class ZE extends XE{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const gc=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],e1=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Bn=[];class t1 extends ZE{_hash=new $n([...gc]);reset(){super.reset(),this._hash=new $n([...gc])}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],l=r[4],c=r[5],u=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)Bn[d]=t[n+d]|0;else{const m=Bn[d-15],y=(m<<25|m>>>7)^(m<<14|m>>>18)^m>>>3,b=Bn[d-2],C=(b<<15|b>>>17)^(b<<13|b>>>19)^b>>>10;Bn[d]=y+Bn[d-7]+C+Bn[d-16]}const h=l&c^~l&u,g=s&o^s&i^o&i,p=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),E=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),v=f+E+h+e1[d]+Bn[d],w=p+g;f=u,u=c,c=l,l=a+v|0,a=i,i=o,o=s,s=v+w|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function n1(e){return new t1().finalize(e).toString(QE)}function r1(e,t={}){const n=typeof e=="string"?e:WE(e,t);return n1(n).slice(0,10)}const jh=!(typeof navigator>"u")&&navigator.product==="ReactNative",Hh={timeout:jh?6e4:12e4},s1=function(e){const t={...Hh,...typeof e=="string"?{url:e}:e};if(t.timeout=Bh(t.timeout),t.query){const{url:n,searchParams:r}=(function(s){const o=s.indexOf("?");if(o===-1)return{url:s,searchParams:new URLSearchParams};const i=s.slice(0,o),a=s.slice(o+1);if(!jh)return{url:i,searchParams:new URLSearchParams(a)};if(typeof decodeURIComponent!="function")throw new Error("Broken `URLSearchParams` implementation, and `decodeURIComponent` is not defined");const l=new URLSearchParams;for(const c of a.split("&")){const[u,f]=c.split("=");u&&l.append(mc(u),mc(f||""))}return{url:i,searchParams:l}})(t.url);for(const[s,o]of Object.entries(t.query)){if(o!==void 0)if(Array.isArray(o))for(const a of o)r.append(s,a);else r.append(s,o);const i=r.toString();i&&(t.url=`${n}?${i}`)}}return t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t};function mc(e){return decodeURIComponent(e.replace(/\+/g," "))}function Bh(e){if(e===!1||e===0)return!1;if(e.connect||e.socket)return e;const t=Number(e);return isNaN(t)?Bh(Hh.timeout):{connect:t,socket:t}}const o1=/^https?:\/\//i,i1=function(e){if(!o1.test(e.url))throw new Error(`"${e.url}" is not a valid URL`)};
6function Uh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const a1=["request","response","progress","error","abort"],yc=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];function Vh(e,t){const n=[],r=yc.reduce((o,i)=>(o[i]=o[i]||[],o),{processOptions:[s1],validateOptions:[i1]});function s(o){const i=typeof o=="object"&&o.callSiteStack?o.callSiteStack:void 0,a=i?void 0:new Error,l=a1.reduce((p,E)=>(p[E]=(function(){const v=Object.create(null);let w=0;return{publish:function(m){for(const y in v)v[y](m)},subscribe:function(m){const y=w++;return v[y]=m,function(){delete v[y]}}}})(),p),{}),c=(p=>function(E,v,...w){const m=E==="onError";let y=v;for(let b=0;b<p[E].length&&(y=(0,p[E][b])(y,...w),!m||y);b++);return y})(r),u=c("processOptions",o);c("validateOptions",u);const f={options:u,channels:l,applyMiddleware:c};let d;const h=l.request.subscribe(p=>{d=t(p,(E,v)=>((w,m,y)=>{let b=w,C=m;if(!b)try{C=c("onResponse",m,y)}catch(T){C=null,b=T}if(b=b&&c("onError",b,y),b){if(b instanceof Error){const T=i?.stack||a?.stack;if(typeof T=="string"){const k=T.split(` 7`).slice(i?1:2);k.length>0&&(b.stack+=` 8`+k.join(` 9`))}}l.error.publish(b)}else C&&l.response.publish(C)})(E,v,p))});l.abort.subscribe(()=>{h(),d&&d.abort()});const g=c("onReturn",l,f);return g===l&&l.request.publish(f),g}return s.use=function(o){if(!o)throw new Error("Tried to add middleware that resolved to falsey value");if(typeof o=="function")throw new Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(o.onReturn&&r.onReturn.length>0)throw new Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return yc.forEach(i=>{o[i]&&r[i].push(o[i])}),n.push(o),s},s.clone=()=>Vh(n,t),e.forEach(s.use),s}var vc,bc,l1=Uh((function(){if(bc)return vc;bc=1;var e=function(n){return n.replace(/^\s+|\s+$/g,"")},t=function(n){return Object.prototype.toString.call(n)==="[object Array]"};return vc=function(n){if(!n)return{};for(var r=Object.create(null),s=e(n).split(` 10`),o=0;o<s.length;o++){var i=s[o],a=i.indexOf(":"),l=e(i.slice(0,a)).toLowerCase(),c=e(i.slice(a+1));typeof r[l]>"u"?r[l]=c:t(r[l])?r[l].push(c):r[l]=[r[l],c]}return r}})());let Ca=class{onabort;onerror;onreadystatechange;ontimeout;readyState=0;response;responseText="";responseType="";status;statusText;withCredentials;#e;#t;#n;#s={};#r;#o={};#i;open(t,n,r){this.#e=t,this.#t=n,this.#n="",this.readyState=1,this.onreadystatechange?.(),this.#r=void 0}abort(){this.#r&&this.#r.abort()}getAllResponseHeaders(){return this.#n}setRequestHeader(t,n){this.#s[t]=n}setInit(t,n=!0){this.#o=t,this.#i=n}send(t){const n=this.responseType!=="arraybuffer",r={...this.#o,method:this.#e,headers:this.#s,body:t};typeof AbortController=="function"&&this.#i&&(this.#r=new AbortController,typeof EventTarget<"u"&&this.#r.signal instanceof EventTarget&&(r.signal=this.#r.signal)),typeof document<"u"&&(r.credentials=this.withCredentials?"include":"omit"),fetch(this.#t,r).then(s=>(s.headers.forEach((o,i)=>{this.#n+=`${i}: ${o}\r 11`}),this.status=s.status,this.statusText=s.statusText,this.readyState=3,this.onreadystatechange?.(),n?s.text():s.arrayBuffer())).then(s=>{typeof s=="string"?this.responseText=s:this.response=s,this.readyState=4,this.onreadystatechange?.()}).catch(s=>{s.name!=="AbortError"?this.onerror?.(s):this.onabort?.()})}};const Ta=typeof XMLHttpRequest=="function"?"xhr":"fetch",u1=Ta==="xhr"?XMLHttpRequest:Ca,c1=(e,t)=>{const n=e.options,r=e.applyMiddleware("finalizeOptions",n),s={},o=e.applyMiddleware("interceptRequest",void 0,{adapter:Ta,context:e});if(o){const p=setTimeout(t,0,null,o);return{abort:()=>clearTimeout(p)}}let i=new u1;i instanceof Ca&&typeof r.fetch=="object"&&i.setInit(r.fetch,r.useAbortSignal??!0);const a=r.headers,l=r.timeout;let c=!1,u=!1,f=!1;if(i.onerror=p=>{g(i instanceof Ca?p instanceof Error?p:new Error(`Request error while attempting to reach ${r.url}`,{cause:p}):new Error(`Request error while attempting to reach is ${r.url}${p.lengthComputable?`(${p.loaded} of ${p.total} bytes transferred)`:""}`))},i.ontimeout=p=>{g(new Error(`Request timeout while attempting to reach ${r.url}${p.lengthComputable?`(${p.loaded} of ${p.total} bytes transferred)`:""}`))},i.onabort=()=>{h(!0),c=!0},i.onreadystatechange=function(){l&&(h(),s.socket=setTimeout(()=>d("ESOCKETTIMEDOUT"),l.socket)),!c&&i&&i.readyState===4&&i.status!==0&&(function(){if(!(c||u||f)){if(i.status===0)return void g(new Error("Unknown XHR error"));h(),u=!0,t(null,{body:i.response||(i.responseType===""||i.responseType==="text"?i.responseText:""),url:r.url,method:r.method,headers:l1(i.getAllResponseHeaders()),statusCode:i.status,statusMessage:i.statusText})}})()},i.open(r.method,r.url,!0),i.withCredentials=!!r.withCredentials,a&&i.setRequestHeader)for(const p in a)a.hasOwnProperty(p)&&i.setRequestHeader(p,a[p]);return r.rawBody&&(i.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:r,adapter:Ta,request:i,
11context:e}),i.send(r.body||null),l&&(s.connect=setTimeout(()=>d("ETIMEDOUT"),l.connect)),{abort:function(){c=!0,i&&i.abort()}};function d(p){f=!0,i.abort();const E=new Error(p==="ESOCKETTIMEDOUT"?`Socket timed out on request to ${r.url}`:`Connection timed out on request to ${r.url}`);E.code=p,e.channels.error.publish(E)}function h(p){(p||c||i&&i.readyState>=2&&s.connect)&&clearTimeout(s.connect),s.socket&&clearTimeout(s.socket)}function g(p){if(u)return;h(!0),u=!0,i=null;const E=p||new Error(`Network error while attempting to reach ${r.url}`);E.isNetworkError=!0,E.request=r,t(E)}},f1=(e=[],t=c1)=>Vh(e,t);var d1={},wc,_c,Ec,Sc,Cc,Oi={exports:{}};Cc||(Cc=1,(function(e,t){t.formatArgs=function(r){if(r[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+r[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const s="color: "+this.color;r.splice(1,0,s,"color: inherit");let o=0,i=0;r[0].replace(/%[a-zA-Z%]/g,a=>{a!=="%%"&&(o++,a==="%c"&&(i=o))}),r.splice(i,0,s)},t.save=function(r){try{r?t.storage.setItem("debug",r):t.storage.removeItem("debug")}catch{}},t.load=function(){let r;try{r=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!r&&typeof process<"u"&&"env"in process&&(r=d1.DEBUG),r},t.useColors=function(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let r;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(r=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(r[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=(function(){try{return localStorage}catch{}})(),t.destroy=(()=>{let r=!1;return()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=(Sc?Ec:(Sc=1,Ec=function(r){function s(a){let l,c,u,f=null;function d(...h){if(!d.enabled)return;const g=d,p=Number(new Date),E=p-(l||p);g.diff=E,g.prev=l,g.curr=p,l=p,h[0]=s.coerce(h[0]),typeof h[0]!="string"&&h.unshift("%O");let v=0;h[0]=h[0].replace(/%([a-zA-Z%])/g,(w,m)=>{if(w==="%%")return"%";v++;const y=s.formatters[m];if(typeof y=="function"){const b=h[v];w=y.call(g,b),h.splice(v,1),v--}return w}),s.formatArgs.call(g,h),(g.log||s.log).apply(g,h)}return d.namespace=a,d.useColors=s.useColors(),d.color=s.selectColor(a),d.extend=o,d.destroy=s.destroy,Object.defineProperty(d,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(c!==s.namespaces&&(c=s.namespaces,u=s.enabled(a)),u),set:h=>{f=h}}),typeof s.init=="function"&&s.init(d),d}function o(a,l){const c=s(this.namespace+(typeof l>"u"?":":l)+a);return c.log=this.log,c}function i(a,l){let c=0,u=0,f=-1,d=0;for(;c<a.length;)if(u<l.length&&(l[u]===a[c]||l[u]==="*"))l[u]==="*"?(f=u,d=c,u++):(c++,u++);else{if(f===-1)return!1;u=f+1,d++,c=d}for(;u<l.length&&l[u]==="*";)u++;return u===l.length}return s.debug=s,s.default=s,s.coerce=function(a){return a instanceof Error?a.stack||a.message:a},s.disable=function(){const a=[...s.names,...s.skips.map(l=>"-"+l)].join(",");return s.enable(""),a},s.enable=function(a){s.save(a),s.namespaces=a,s.names=[],s.skips=[];
11const l=(typeof a=="string"?a:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const c of l)c[0]==="-"?s.skips.push(c.slice(1)):s.names.push(c)},s.enabled=function(a){for(const l of s.skips)if(i(a,l))return!1;for(const l of s.names)if(i(a,l))return!0;return!1},s.humanize=(function(){if(_c)return wc;_c=1;var a=1e3,l=60*a,c=60*l,u=24*c,f=7*u;function d(h,g,p,E){var v=g>=1.5*p;return Math.round(h/p)+" "+E+(v?"s":"")}return wc=function(h,g){g=g||{};var p,E,v=typeof h;if(v==="string"&&h.length>0)return(function(w){if(!((w=String(w)).length>100)){var m=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(w);if(m){var y=parseFloat(m[1]);switch((m[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*y;case"weeks":case"week":case"w":return y*f;case"days":case"day":case"d":return y*u;case"hours":case"hour":case"hrs":case"hr":case"h":return y*c;case"minutes":case"minute":case"mins":case"min":case"m":return y*l;case"seconds":case"second":case"secs":case"sec":case"s":return y*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return y;default:return}}}})(h);if(v==="number"&&isFinite(h))return g.long?(p=h,(E=Math.abs(p))>=u?d(p,E,u,"day"):E>=c?d(p,E,c,"hour"):E>=l?d(p,E,l,"minute"):E>=a?d(p,E,a,"second"):p+" ms"):(function(w){var m=Math.abs(w);return m>=u?Math.round(w/u)+"d":m>=c?Math.round(w/c)+"h":m>=l?Math.round(w/l)+"m":m>=a?Math.round(w/a)+"s":w+"ms"})(h);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(h))}})(),s.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(r).forEach(a=>{s[a]=r[a]}),s.names=[],s.skips=[],s.formatters={},s.selectColor=function(a){let l=0;for(let c=0;c<a.length;c++)l=(l<<5)-l+a.charCodeAt(c),l|=0;return s.colors[Math.abs(l)%s.colors.length]},s.enable(s.load()),s}))(t);const{formatters:n}=e.exports;n.j=function(r){try{return JSON.stringify(r)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}})(Oi,Oi.exports)),Oi.exports;const h1=typeof Buffer>"u"?()=>!1:e=>Buffer.isBuffer(e);function Tc(e){return Object.prototype.toString.call(e)==="[object Object]"}function p1(e){if(Tc(e)===!1)return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(Tc(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)}const g1=["boolean","string","number"];function m1(){return{processOptions:e=>{const t=e.body;return!t||typeof t.pipe=="function"||h1(t)||g1.indexOf(typeof t)===-1&&!Array.isArray(t)&&!p1(t)?e:Object.assign({},e,{body:JSON.stringify(e.body),headers:Object.assign({},e.headers,{"Content-Type":"application/json"})})}}}function y1(e){return{onResponse:n=>{const r=n.headers["content-type"]||"",s=e&&e.force||r.indexOf("application/json")!==-1;return n.body&&r&&s?Object.assign({},n,{body:t(n.body)}):n},processOptions:n=>Object.assign({},n,{headers:Object.assign({Accept:"application/json"},n.headers)})};function t(n){try{return JSON.parse(n)}catch(r){throw r.message=`Failed to parsed response body as JSON: ${r.message}`,r}}}let is={};typeof globalThis<"u"?is=globalThis:typeof window<"u"?is=window:typeof global<"u"?is=global:typeof self<"u"&&(is=self);var v1=is;function b1(e={}){const t=e.implementation||v1.Observable;if(!t)throw new Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(n,r)=>new t(s=>(n.error.subscribe(o=>s.error(o)),n.progress.subscribe(o=>s.next(Object.assign({type:"progress"},o))),n.response.subscribe(o=>{s.next(Object.assign({type:"response"},o)),s.complete()}),n.request.publish(r),()=>n.abort.publish()))}}function w1(){return{onRequest:e=>{if(e.adapter!=="xhr")return;const t=e.request,n=e.context;function r(s){return o=>{const i=o.lengthComputable?o.loaded/o.total*100:-1;n.channels.progress.publish({stage:s,percent:i,total:o.total,loaded:o.loaded,lengthComputable:o.lengthComputable})}}"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=r("upload")),"onprogress"in t&&(t.onprogress=r("download"))}}}var qh=(e,t,n)=>(n.method==="GET"||n.method==="HEAD")&&(e.isNetworkError||!1);function _1(e){return 100*Math.pow(2,e)+100*Math.random()}const wl=(e={})=>(t=>{const n=t.maxRetries||5,r=t.retryDelay||_1,s=t.shouldRetry;return{onError:(o,i)=>{const a=i.options,l=a.maxRetries||n,c=a.retryDelay||r,u=a.shouldRetry||s,f=a.attemptNumber||0;if((d=a.body)!==null&&typeof d=="object"&&typeof d.pipe=="function"||!u(o,f,a)||f>=l)return o;var d;const h=Object.assign({},i,{options:Object.assign({},a,{attemptNumber:f+1})});return setTimeout(()=>i.channels.request.publish(h),c(f)),null}}})({shouldRetry:qh,...e});wl.shouldRetry=qh;
vendor: 4,993 bytes, lines 11-13
11var Aa=function(e,t){return Aa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(n[s]=r[s])},Aa(e,t)};function wn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Aa(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function E1(e,t,n,r){function s(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function a(u){try{c(r.next(u))}catch(f){i(f)}}function l(u){try{c(r.throw(u))}catch(f){i(f)}}function c(u){u.done?o(u.value):s(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}function Wh(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,s,o,i=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return i.next=a(0),i.throw=a(1),i.return=a(2),typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(n=0)),n;)try{if(r=1,s&&(o=c[0]&2?s.return:c[0]?s.throw||((o=s.return)&&o.call(s),0):s.next)&&!(o=o.call(s,c[1])).done)return o;switch(s=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,s=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){n.label=c[1];break}if(c[0]===6&&n.label<o[1]){n.label=o[1],o=c;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(c);break}o[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(u){c=[6,u],s=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function $r(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function mn(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),s,o=[],i;try{for(;(t===void 0||t-- >0)&&!(s=r.next()).done;)o.push(s.value)}catch(a){i={error:a}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return o}function yn(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,o;r<s;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function Cr(e){return this instanceof Cr?(this.v=e,this):new Cr(e)}function S1(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),s,o=[];return s=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",i),s[Symbol.asyncIterator]=function(){return this},s;function i(h){return function(g){return Promise.resolve(g).then(h,f)}}function a(h,g){r[h]&&(s[h]=function(p){return new Promise(function(E,v){o.push([h,p,E,v])>1||l(h,p)})},g&&(s[h]=g(s[h])))}function l(h,g){try{c(r[h](g))}catch(p){d(o[0][3],p)}}function c(h){h.value instanceof Cr?Promise.resolve(h.value.v).then(u,f):d(o[0][2],h)}function u(h){l("next",h)}function f(h){l("throw",h)}function d(h,g){h(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}function C1(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof $r=="function"?$r(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(i){return new Promise(function(a,l){i=e[o](i),s(a,l,i.done,i.value)})}}function s(o,i,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},i)}}function Oe(e){return typeof e=="function"}function _l(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ii=_l(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription: 12`+n.map(function(r,s){return s+1+") "+r.toString()}).join(` 13 `):"",this.name="UnsubscriptionError",this.errors=n}});function To(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var xs=(function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,s,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=$r(i),l=a.next();!l.done;l=a.next()){var c=l.value;c.remove(this)}}catch(p){t={error:p}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}else i.remove(this);var u=this.initialTeardown;
13if(Oe(u))try{u()}catch(p){o=p instanceof Ii?p.errors:[p]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var d=$r(f),h=d.next();!h.done;h=d.next()){var g=h.value;try{Ac(g)}catch(p){o=o??[],p instanceof Ii?o=yn(yn([],mn(o)),mn(p.errors)):o.push(p)}}}catch(p){r={error:p}}finally{try{h&&!h.done&&(s=d.return)&&s.call(d)}finally{if(r)throw r.error}}}if(o)throw new Ii(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Ac(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&To(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&To(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=(function(){var t=new e;return t.closed=!0,t})(),e})(),Gh=xs.EMPTY;function Kh(e){return e instanceof xs||e&&"closed"in e&&Oe(e.remove)&&Oe(e.add)&&Oe(e.unsubscribe)}function Ac(e){Oe(e)?e():e.unsubscribe()}var T1={Promise:void 0},A1={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,yn([e,t],mn(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function zh(e){A1.setTimeout(function(){throw e})}function Pc(){}function to(e){e()}var El=(function(e){wn(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,Kh(n)&&n.add(r)):r.destination=R1,r}return t.create=function(n,r,s){return new Lr(n,r,s)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t})(xs),P1=(function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){Ws(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){Ws(r)}else Ws(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){Ws(n)}},e})(),Lr=(function(e){wn(t,e);function t(n,r,s){var o=e.call(this)||this,i;return Oe(n)||!n?i={next:n??void 0,error:r??void 0,complete:s??void 0}:i=n,o.destination=new P1(i),o}return t})(El);function Ws(e){zh(e)}function x1(e){throw e}var R1={closed:!0,next:Pc,error:x1,complete:Pc},Sl=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})();function Qo(e){return e}function k1(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Qh(e)}function Qh(e){return e.length===0?Qo:e.length===1?e[0]:function(n){return e.reduce(function(r,s){return s(r)},n)}}var Fe=(function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var s=this,o=I1(t)?t:new Lr(t,n,r);return to(function(){var i=s,a=i.operator,l=i.source;o.add(a?a.call(o,l):l?s._subscribe(o):s._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=xc(n),new n(function(s,o){var i=new Lr({next:function(a){try{t(a)}catch(l){o(l),i.unsubscribe()}},error:o,complete:s});r.subscribe(i)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[Sl]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Qh(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=xc(t),new t(function(r,s){var o;n.subscribe(function(i){return o=i},function(i){return s(i)},function(){return r(o)})})},e.create=function(t){return new e(t)},e})();function xc(e){var t;return(t=e??T1.Promise)!==null&&t!==void 0?t:Promise}function O1(e){return e&&Oe(e.next)&&Oe(e.error)&&Oe(e.complete)}function I1(e){return e&&e instanceof El||O1(e)&&Kh(e)}function $1(e){return Oe(e?.lift)}function Bt(e){return function(t){if($1(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}
13function vn(e,t,n,r,s){return new L1(e,t,n,r,s)}var L1=(function(e){wn(t,e);function t(n,r,s,o,i,a){var l=e.call(this,n)||this;return l.onFinalize=i,l.shouldUnsubscribe=a,l._next=r?function(c){try{r(c)}catch(u){n.error(u)}}:e.prototype._next,l._error=o?function(c){try{o(c)}catch(u){n.error(u)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=s?function(){try{s()}catch(c){n.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,l}return t.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&((n=this.onFinalize)===null||n===void 0||n.call(this))}},t})(El),M1=_l(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Cl=(function(e){wn(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Rc(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new M1},t.prototype.next=function(n){var r=this;to(function(){var s,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var i=$r(r.currentObservers),a=i.next();!a.done;a=i.next()){var l=a.value;l.next(n)}}catch(c){s={error:c}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(s)throw s.error}}}})},t.prototype.error=function(n){var r=this;to(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var s=r.observers;s.length;)s.shift().error(n)}})},t.prototype.complete=function(){var n=this;to(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,s=this,o=s.hasError,i=s.isStopped,a=s.observers;return o||i?Gh:(this.currentObservers=null,a.push(n),new xs(function(){r.currentObservers=null,To(a,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,s=r.hasError,o=r.thrownError,i=r.isStopped;s?n.error(o):i&&n.complete()},t.prototype.asObservable=function(){var n=new Fe;return n.source=this,n},t.create=function(n,r){return new Rc(n,r)},t})(Fe),Rc=(function(e){wn(t,e);function t(n,r){var s=e.call(this)||this;return s.destination=n,s.source=r,s}return t.prototype.next=function(n){var r,s;(s=(r=this.destination)===null||r===void 0?void 0:r.next)===null||s===void 0||s.call(r,n)},t.prototype.error=function(n){var r,s;(s=(r=this.destination)===null||r===void 0?void 0:r.error)===null||s===void 0||s.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,s;return(s=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&s!==void 0?s:Gh},t})(Cl),Tl={now:function(){return(Tl.delegate||Date).now()},delegate:void 0},D1=(function(e){wn(t,e);function t(n,r,s){n===void 0&&(n=1/0),r===void 0&&(r=1/0),s===void 0&&(s=Tl);var o=e.call(this)||this;return o._bufferSize=n,o._windowTime=r,o._timestampProvider=s,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,n),o._windowTime=Math.max(1,r),o}return t.prototype.next=function(n){var r=this,s=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,a=r._timestampProvider,l=r._windowTime;s||(o.push(n),!i&&o.push(a.now()+l)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),s=this,o=s._infiniteTimeWindow,i=s._buffer,a=i.slice(),l=0;l<a.length&&!n.closed;l+=o?1:2)n.next(a[l]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,s=n._timestampProvider,o=n._buffer,i=n._infiniteTimeWindow,a=(i?1:2)*r;if(r<1/0&&a<o.length&&o.splice(0,o.length-a),!i){for(var l=s.now(),c=0,u=1;u<o.length&&o[u]<=l;u+=2)c=u;c&&o.splice(0,c+1)}},t})(Cl),N1=(function(e){wn(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return this},t})(xs),kc={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setInterval.apply(void 0,yn([e,t],mn(n)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},F1=(function(e){wn(t,e);function t(n,r){var s=e.call(this,n,r)||this;
vendor: 4,818 bytes, line 13
13return s.scheduler=n,s.work=r,s.pending=!1,s}return t.prototype.schedule=function(n,r){var s;if(r===void 0&&(r=0),this.closed)return this;this.state=n;var o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=(s=this.id)!==null&&s!==void 0?s:this.requestAsyncId(i,this.id,r),this},t.prototype.requestAsyncId=function(n,r,s){return s===void 0&&(s=0),kc.setInterval(n.flush.bind(n,this),s)},t.prototype.recycleAsyncId=function(n,r,s){if(s===void 0&&(s=0),s!=null&&this.delay===s&&this.pending===!1)return r;r!=null&&kc.clearInterval(r)},t.prototype.execute=function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var s=this._execute(n,r);if(s)return s;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,r){var s=!1,o;try{this.work(n)}catch(i){s=!0,o=i||new Error("Scheduled action threw falsy error")}if(s)return this.unsubscribe(),o},t.prototype.unsubscribe=function(){if(!this.closed){var n=this,r=n.id,s=n.scheduler,o=s.actions;this.work=this.state=this.scheduler=null,this.pending=!1,To(o,this),r!=null&&(this.id=this.recycleAsyncId(s,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t})(N1),Oc=(function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,r){return n===void 0&&(n=0),new this.schedulerActionCtor(this,t).schedule(r,n)},e.now=Tl.now,e})(),j1=(function(e){wn(t,e);function t(n,r){r===void 0&&(r=Oc.now);var s=e.call(this,n,r)||this;return s.actions=[],s._active=!1,s}return t.prototype.flush=function(n){var r=this.actions;if(this._active){r.push(n);return}var s;this._active=!0;do if(s=n.execute(n.state,n.delay))break;while(n=r.shift());if(this._active=!1,s){for(;n=r.shift();)n.unsubscribe();throw s}},t})(Oc),H1=new j1(F1),B1=H1,U1=new Fe(function(e){return e.complete()});function V1(e){return e&&Oe(e.schedule)}function Al(e){return e[e.length-1]}function q1(e){return Oe(Al(e))?e.pop():void 0}function Pl(e){return V1(Al(e))?e.pop():void 0}function W1(e,t){return typeof Al(e)=="number"?e.pop():t}var Yh=(function(e){return e&&typeof e.length=="number"&&typeof e!="function"});function Jh(e){return Oe(e?.then)}function Xh(e){return Oe(e[Sl])}function Zh(e){return Symbol.asyncIterator&&Oe(e?.[Symbol.asyncIterator])}function ep(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function G1(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var tp=G1();function np(e){return Oe(e?.[tp])}function rp(e){return S1(this,arguments,function(){var n,r,s,o;return Wh(this,function(i){switch(i.label){case 0:n=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,Cr(n.read())];case 3:return r=i.sent(),s=r.value,o=r.done,o?[4,Cr(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,Cr(s)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function sp(e){return Oe(e?.getReader)}function tn(e){if(e instanceof Fe)return e;if(e!=null){if(Xh(e))return K1(e);if(Yh(e))return z1(e);if(Jh(e))return Q1(e);if(Zh(e))return op(e);if(np(e))return Y1(e);if(sp(e))return J1(e)}throw ep(e)}function K1(e){return new Fe(function(t){var n=e[Sl]();if(Oe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function z1(e){return new Fe(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Q1(e){return new Fe(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,zh)})}function Y1(e){return new Fe(function(t){var n,r;try{for(var s=$r(e),o=s.next();!o.done;o=s.next()){var i=o.value;if(t.next(i),t.closed)return}}catch(a){n={error:a}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}t.complete()})}function op(e){return new Fe(function(t){X1(e,t).catch(function(n){return t.error(n)})})}function J1(e){return op(rp(e))}function X1(e,t){var n,r,s,o;return E1(this,void 0,void 0,function(){var i,a;return Wh(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=C1(e),l.label=1;case 1:return[4,n.next()];case 2:if(r=l.sent(),!!r.done)return[3,4];if(i=r.value,t.next(i),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=l.sent(),s={error:a},[3,11];case 6:return l.trys.push([6,,9,10]),r&&!r.done&&(o=n.return)?[4,o.call(n)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(s)throw s.error;return[7];
13case 10:return[7];case 11:return t.complete(),[2]}})})}function Zn(e,t,n,r,s){r===void 0&&(r=0),s===void 0&&(s=!1);var o=t.schedule(function(){n(),s?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!s)return o}function ip(e,t){return t===void 0&&(t=0),Bt(function(n,r){n.subscribe(vn(r,function(s){return Zn(r,e,function(){return r.next(s)},t)},function(){return Zn(r,e,function(){return r.complete()},t)},function(s){return Zn(r,e,function(){return r.error(s)},t)}))})}function ap(e,t){return t===void 0&&(t=0),Bt(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function Z1(e,t){return tn(e).pipe(ap(t),ip(t))}function eS(e,t){return tn(e).pipe(ap(t),ip(t))}function tS(e,t){return new Fe(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function nS(e,t){return new Fe(function(n){var r;return Zn(n,t,function(){r=e[tp](),Zn(n,t,function(){var s,o,i;try{s=r.next(),o=s.value,i=s.done}catch(a){n.error(a);return}i?n.complete():n.next(o)},0,!0)}),function(){return Oe(r?.return)&&r.return()}})}function lp(e,t){if(!e)throw new Error("Iterable cannot be null");return new Fe(function(n){Zn(n,t,function(){var r=e[Symbol.asyncIterator]();Zn(n,t,function(){r.next().then(function(s){s.done?n.complete():n.next(s.value)})},0,!0)})})}function rS(e,t){return lp(rp(e),t)}function sS(e,t){if(e!=null){if(Xh(e))return Z1(e,t);if(Yh(e))return tS(e,t);if(Jh(e))return eS(e,t);if(Zh(e))return lp(e,t);if(np(e))return nS(e,t);if(sp(e))return rS(e,t)}throw ep(e)}function Wr(e,t){return t?sS(e,t):tn(e)}function er(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Pl(e);return Wr(e,n)}function xl(e,t){var n=Oe(e)?e:function(){return e},r=function(s){return s.error(n())};return new Fe(r)}function oS(e){return!!e&&(e instanceof Fe||Oe(e.lift)&&Oe(e.subscribe))}var up=_l(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function ce(e,t){return new Promise(function(n,r){var s=!1,o;e.subscribe({next:function(i){o=i,s=!0},error:r,complete:function(){s?n(o):r(new up)}})})}function $i(e,t){return new Promise(function(n,r){var s=new Lr({next:function(o){n(o),s.unsubscribe()},error:r,complete:function(){r(new up)}});e.subscribe(s)})}function iS(e){return e instanceof Date&&!isNaN(e)}function tt(e,t){return Bt(function(n,r){var s=0;n.subscribe(vn(r,function(o){r.next(e.call(t,o,s++))}))})}var aS=Array.isArray;function lS(e,t){return aS(t)?e.apply(void 0,yn([],mn(t))):e(t)}function uS(e){return tt(function(t){return lS(e,t)})}function cS(e,t,n){return n===void 0&&(n=Qo),function(r){Ic(t,function(){for(var s=e.length,o=new Array(s),i=s,a=s,l=function(u){Ic(t,function(){var f=Wr(e[u],t),d=!1;f.subscribe(vn(r,function(h){o[u]=h,d||(d=!0,a--),a||r.next(n(o.slice()))},function(){--i||r.complete()}))},r)},c=0;c<s;c++)l(c)})}}function Ic(e,t,n){t()}function fS(e,t,n,r,s,o,i,a){var l=[],c=0,u=0,f=!1,d=function(){f&&!l.length&&!c&&t.complete()},h=function(p){return c<r?g(p):l.push(p)},g=function(p){c++;var E=!1;tn(n(p,u++)).subscribe(vn(t,function(v){t.next(v)},function(){E=!0},void 0,function(){if(E)try{c--;for(var v=function(){var w=l.shift();i||g(w)};l.length&&c<r;)v();d()}catch(w){t.error(w)}}))};return e.subscribe(vn(t,h,function(){f=!0,d()})),function(){}}function pn(e,t,n){return n===void 0&&(n=1/0),Oe(t)?pn(function(r,s){return tt(function(o,i){return t(r,o,s,i)})(tn(e(r,s)))},n):(typeof t=="number"&&(n=t),Bt(function(r,s){return fS(r,s,e,n)}))}function cp(e){return e===void 0&&(e=1/0),pn(Qo,e)}function dS(){return cp(1)}function hS(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return dS()(Wr(e,Pl(e)))}function fp(e){return new Fe(function(t){tn(e()).subscribe(t)})}function pS(e,t,n){return n===void 0&&(n=B1),new Fe(function(r){var s=iS(e)?+e-n.now():e;s<0&&(s=0);var o=0;return n.schedule(function(){r.closed||(r.next(o++),r.complete())},s)})}function gS(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Pl(e),r=W1(e,1/0),s=e;return s.length?s.length===1?tn(s[0]):cp(r)(Wr(s,n)):U1}var mS=Array.isArray;function yS(e){return e.length===1&&mS(e[0])?e[0]:e}function ar(e,t){return Bt(function(n,r){var s=0;n.subscribe(vn(r,function(o){return e.call(t,o,s++)&&r.next(o)}))})}function Rl(e){return Bt(function(t,n){var r=null,s=!1,o;r=t.subscribe(vn(n,void 0,void 0,function(i){o=tn(e(i,Rl(e)(t))),r?
13(r.unsubscribe(),r=null,o.subscribe(n)):s=!0})),s&&(r.unsubscribe(),r=null,o.subscribe(n))})}function vS(e,t,n,r,s){return function(o,i){var a=n,l=t,c=0;o.subscribe(vn(i,function(u){var f=c++;l=a?e(l,u,f):(a=!0,u)},(function(){a&&i.next(l),i.complete()})))}}function bS(e,t){return Bt(vS(e,t,arguments.length>=2,!1,!0))}function dp(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=q1(e);return n?k1(dp.apply(void 0,yn([],mn(e))),uS(n)):Bt(function(r,s){cS(yn([r],mn(yS(e))))(s)})}function wS(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return dp.apply(void 0,yn([],mn(e)))}function _S(e,t){return Oe(t)?pn(e,t,1):pn(e,1)}function hp(e){return Bt(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}function pp(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new Cl}:t,r=e.resetOnError,s=r===void 0?!0:r,o=e.resetOnComplete,i=o===void 0?!0:o,a=e.resetOnRefCountZero,l=a===void 0?!0:a;return function(c){var u,f,d,h=0,g=!1,p=!1,E=function(){f?.unsubscribe(),f=void 0},v=function(){E(),u=d=void 0,g=p=!1},w=function(){var m=u;v(),m?.unsubscribe()};return Bt(function(m,y){h++,!p&&!g&&E();var b=d=d??n();y.add(function(){h--,h===0&&!p&&!g&&(f=Li(w,l))}),b.subscribe(y),!u&&h>0&&(u=new Lr({next:function(C){return b.next(C)},error:function(C){p=!0,E(),f=Li(v,s,C),b.error(C)},complete:function(){g=!0,E(),f=Li(v,i),b.complete()}}),tn(m).subscribe(u))})(c)}}function Li(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(t===!0){e();return}if(t!==!1){var s=new Lr({next:function(){s.unsubscribe(),e()}});return tn(t.apply(void 0,yn([],mn(n)))).subscribe(s)}}function ES(e,t,n){var r,s=!1;return r=e,pp({connector:function(){return new D1(r,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}function SS(e,t,n){var r=Oe(e)||t||n?{next:e,error:t,complete:n}:e;return r?Bt(function(s,o){var i;(i=r.subscribe)===null||i===void 0||i.call(r);var a=!0;s.subscribe(vn(o,function(l){var c;(c=r.next)===null||c===void 0||c.call(r,l),o.next(l)},function(){var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),o.complete()},function(l){var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,l),o.error(l)},function(){var l,c;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):Qo}function gp(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var mp={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},as={0:8203,1:8204,2:8205,3:65279},ls={0:String.fromCodePoint(as[0]),1:String.fromCodePoint(as[1]),2:String.fromCodePoint(as[2]),3:String.fromCodePoint(as[3])},CS=new Array(4).fill(String.fromCodePoint(as[0])).join("");function TS(e){let t=JSON.stringify(e),n=new TextEncoder().encode(t),r="";for(let s=0;s<n.length;s++){let o=n[s];r+=ls[o>>6&3]+ls[o>>4&3]+ls[o>>2&3]+ls[o&3]}return CS+r}function AS(e){return!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e)?!1:!!Date.parse(e)}function PS(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch{return!1}return!0}function LP(e,t,n="auto"){return n===!0||n==="auto"&&(AS(e)||PS(e))?e:`${e}${TS(t)}`}Object.fromEntries(Object.entries(ls).map(e=>[e[1],+e[0]]));Object.fromEntries(Object.entries(mp).map(e=>e.reverse()));var xS=`${Object.values(mp).map(e=>`\\u{${e.toString(16)}}`).join("")}`,$c=new RegExp(`[${xS}]{4,}`,"gu");function RS(e){var t;return{cleaned:e.replace($c,""),encoded:((t=e.match($c))==null?void 0:t[0])||""}}function kS(e){return e&&JSON.parse(RS(JSON.stringify(e)).cleaned)}function OS(e){return kS(e)}const IS="drafts",$S="versions",Mr=".",Ao=`${IS}${Mr}`,yp=`${$S}${Mr}`;function Yo(e){return e.startsWith(Ao)}function Jo(e){return e.startsWith(yp)}function vp(e){if(Jo(e)){const t=Xo(e);return Ao+t}return Yo(e)?e:Ao+e}function Rs(e,t){if(t==="drafts"||t==="published")throw new Error('Version can not be "published" or "drafts"');return`${yp}${t}${Mr}${Xo(e)}`}function bp(e){if(!Jo(e))return;const[t,n]=e.split(Mr);return n}function Xo(e){return Jo(e)?e.split(Mr).slice(2).join(Mr):Yo(e)?e.slice(Ao.length):e}let LS=e=>crypto.getRandomValues(new Uint8Array(e)),MS=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,s=-~(1.6*r*t/e.length);return(o=t)=>{let i="";for(;;){let a=n(s),l=s|0;for(;l--;)if(i+=e[a[l]&r]||"",i.length===o)return i}}},DS=(e,t=21)=>MS(e,t,LS);const Lc=/\r\n|[\n\r\u2028\u2029]/;function NS(e,t,n){const r=e.split(Lc),s={start:Mc(t.start,r),end:t.end?Mc(t.end,r):void 0},{start:o,end:i,markerLines:a}=FS(s,r),l=`${i}`.length;return e.split(Lc,i).slice(o,i).map((c,u)=>{const f=o+1+u,d=` ${` ${f}`.slice(-l)} |`,h=a[f],g=!a[f+1];if(!h)return` ${d}${c.length>0?` ${c}`:""}`;let p="";if(Array.isArray(h)){const E=c.slice(0,Math.max(h[0]-1,0)).replace(/[^\t]/g," "),v=h[1]||1;p=[` 14 `,d.replace(/\d/g," ")," ",E,"^".repeat(v)].join(""),g&&n&&(p+=" "+n)}return[">",d,c.length>0?` ${c}`:"",p].join("")}).join(` 15`)}function FS(e,t){const n={...e.start},r={...n,...e.end},s=2,o=3,i=n.line??-1,a=n.column??0,l=r.line,c=r.column;let u=Math.max(i-(s+1),0),f=Math.min(t.length,l+o);i===-1&&(u=0),l===-1&&(f=t.length);const d=l-i,h={};if(d)for(let g=0;g<=d;g++){const p=g+i;if(!a)h[p]=!0;else if(g===0){const E=t[p-1].length;h[p]=[a,E-a+1]}else if(g===d)h[p]=[0,c];else{const E=t[p-g].length;h[p]=[0,E]}}else a===c?a?h[i]=[a,0]:h[i]=!0:h[i]=[a,c-a];return{start:u,end:f,markerLines:h}}function Mc(e,t){let n=0;for(let r=0;r<t.length;r++){const s=t[r].length+1;if(n+s>e)return{line:r+1,column:e-n};n+=s}return{line:t.length,column:t[t.length-1]?.length??0}}const Mi=5;
15class jS extends Error{response;statusCode=400;responseBody;traceId;details;constructor(t,n){const r=wp(t,n);super(r.message),Object.assign(this,r)}}class HS extends Error{response;statusCode=500;responseBody;traceId;details;constructor(t){const n=wp(t);super(n.message),Object.assign(this,n)}}function wp(e,t){const n=e.body,r={response:e,statusCode:e.statusCode,responseBody:qS(n,e),traceId:VS(e),message:"",details:void 0};if(!gp(n))return r.message=`${Di(e,n)}${Cn(r.traceId)}`,r;const s=n.error;if(typeof s=="string"&&typeof n.message=="string")return r.message=`${s} - ${n.message}${Cn(r.traceId)}`,r;if(typeof s!="object"||s===null)return typeof s=="string"?r.message=`${s}${Cn(r.traceId)}`:typeof n.message=="string"?r.message=`${n.message}${Cn(r.traceId)}`:r.message=`${Di(e,n)}${Cn(r.traceId)}`,r;if(BS(s)||US(s)){const o=s.items||[],i=o.slice(0,Mi).map(l=>l.error?.description).filter(Boolean);let a=i.length?`: 16- ${i.join(` 17- `)}`:"";return o.length>Mi&&(a+=` 18...and ${o.length-Mi} more`),r.message=`${s.description}${Cn(r.traceId)}${a}`,r.details=n.error,r}if(_p(s)){const o=t?.options?.query?.tag;return r.message=Ep(s,o,r.traceId),r.details=n.error,r}return"description"in s&&typeof s.description=="string"?(r.message=`${s.description}${Cn(r.traceId)}`,r.details=s,r):(r.message=`${Di(e,n)}${Cn(r.traceId)}`,r)}function BS(e){return"type"in e&&e.type==="mutationError"&&"description"in e&&typeof e.description=="string"}function US(e){return"type"in e&&e.type==="actionError"&&"description"in e&&typeof e.description=="string"}function _p(e){return gp(e)&&e.type==="queryParseError"&&typeof e.query=="string"&&typeof e.start=="number"&&typeof e.end=="number"}function Ep(e,t,n){const{query:r,start:s,end:o,description:i}=e,a=n?` 19(traceId: ${n})`:"";if(!r||typeof s>"u")return`GROQ query parse error: ${i}${a}`;const l=t?` 20 21Tag: ${t}`:"";return`GROQ query parse error: 22${NS(r,{start:s,end:o},i)}${l}${a}`}function Di(e,t){const n=typeof t=="string"?` (${WS(t,100)})`:"",r=e.statusMessage?` ${e.statusMessage}`:"";return`${e.method}-request to ${e.url} resulted in HTTP ${e.statusCode}${r}${n}`}function VS(e){const t=e?.headers?.traceparent;if(t)return t.split("-")[1]}function qS(e,t){return(t.headers["content-type"]||"").toLowerCase().indexOf("application/json")!==-1?JSON.stringify(e,null,2):e}function Cn(e){return e?` (traceId: ${e})`:""}function WS(e,t){return e.length>t?`${e.slice(0,t)}â¦`:e}class Pa extends Error{projectId;addOriginUrl;constructor({projectId:t,credentials:n}={}){if(super("CorsOriginError"),this.name="CorsOriginError",this.projectId=t,t&&typeof location<"u"){const r=new URL(`https://sanity.io/manage/project/${t}/api`),{origin:s}=location;r.searchParams.set("cors","add"),r.searchParams.set("origin",s),n&&r.searchParams.set("credentials",""),this.addOriginUrl=r,this.message=`The current origin is not allowed to connect to the Live Content API. Add it here: ${r}`}else t?this.message=`The current origin is not allowed to connect to the Live Content API. Change your configuration here: https://sanity.io/manage/project/${t}/api`:this.message="The current origin is not allowed to connect to the Live Content API."}}const GS={onResponse:(e,t)=>{if(e.statusCode>=500)throw new HS(e);if(e.statusCode>=400)throw new jS(e,t);return e}};function KS(e={}){const t={},n=r=>e.ignoreWarnings===void 0?!1:(Array.isArray(e.ignoreWarnings)?e.ignoreWarnings:[e.ignoreWarnings]).some(s=>typeof s=="string"?r.includes(s):s instanceof RegExp?s.test(r):!1);return{onResponse:r=>{const s=r.headers["x-sanity-warning"],o=Array.isArray(s)?s:[s];for(const i of o)!i||t[i]||n(i)||(t[i]=!0,console.warn(i));return r}}}function Dc(e,t={}){return f1([wl({shouldRetry:zS}),...e,KS(t),m1(),y1(),w1(),GS,b1({implementation:Fe})])}function zS(e,t,n){if(n.maxRetries===0)return!1;const r=n.method==="GET"||n.method==="HEAD",s=(n.uri||n.url).startsWith("/data/query"),o=e.response&&(e.response.statusCode===429||e.response.statusCode===502||e.response.statusCode===503);return(r||s)&&o?!0:wl.shouldRetry(e,t,n)}const QS="https://www.sanity.io/help/";function kl(e){return QS+e}const Nc=["image","file"],Fc=["before","after","replace"],Dr=e=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw new Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},YS=e=>{if(!/^[-a-z0-9]+$/i.test(e))throw new Error("`projectId` can only contain only a-z, 0-9 and dashes")},JS=e=>{if(Nc.indexOf(e)===-1)throw new Error(`Invalid asset type: ${e}. Must be one of ${Nc.join(", ")}`)},gs=(e,t)=>{if(t===null||typeof t!="object"||Array.isArray(t))throw new Error(`${e}() takes an object of properties`)},Po=(e,t)=>{if(typeof t!="string"||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(t)||t.includes(".."))throw new Error(`${e}(): "${t}" is not a valid document ID`)},Nr=(e,t)=>
22{if(!t._id)throw new Error(`${e}() requires that the document contains an ID ("_id" property)`);Po(e,t._id)},XS=(e,t)=>{if(typeof t!="string")throw new Error(`\`${e}()\`: \`${t}\` is not a valid document type`)},Sp=(e,t)=>{if(!t._type)throw new Error(`\`${e}()\` requires that the document contains a type (\`_type\` property)`);XS(e,t._type)},ZS=(e,t)=>{if(t._id&&t._id!==e)throw new Error(`The provided document ID (\`${t._id}\`) does not match the generated version ID (\`${e}\`)`)},eC=(e,t,n)=>{const r="insert(at, selector, items)";if(Fc.indexOf(e)===-1){const s=Fc.map(o=>`"${o}"`).join(", ");throw new Error(`${r} takes an "at"-argument which is one of: ${s}`)}if(typeof t!="string")throw new Error(`${r} takes a "selector"-argument which must be a string`);if(!Array.isArray(n))throw new Error(`${r} takes an "items"-argument which must be an array`)},lr=e=>{if(e.dataset)return e.dataset;const t=e.resource;if(t&&t.type==="dataset"){const n=t.id.split(".");if(n.length!==2)throw new Error('Dataset resource ID must be in the format "project.dataset"');return n[1]}throw new Error("`dataset` must be provided to perform queries")},Cp=e=>{if(typeof e!="string"||!/^[a-z0-9._-]{1,75}$/i.test(e))throw new Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e},Tp=e=>{const t=e.resource;if(!t)throw new Error("`resource` must be provided to perform resource queries");const{type:n,id:r}=t;switch(n){case"dataset":{if(r.split(".").length!==2)throw new Error('Dataset resource ID must be in the format "project.dataset"');return}case"dashboard":case"media-library":case"canvas":return;default:throw new Error(`Unsupported resource type: ${n.toString()}`)}},Gt=(e,t)=>{if(t.resource)throw new Error(`\`${e}\` does not support resource-based operations`)};function tC(e){let t=!1,n;return(...r)=>(t||(n=e(...r),t=!0),n)}const _n=e=>tC((...t)=>console.warn(e.join(" "),...t)),nC=_n(["Because you set `withCredentials` to true, we will override your `useCdn`","setting to be false since (cookie-based) credentials are never set on the CDN"]),rC=_n(["Since you haven't set a value for `useCdn`, we will deliver content using our","global, edge-cached API-CDN. If you wish to have content delivered faster, set","`useCdn: false` to use the Live API. Note: You may incur higher costs using the live API."]),sC=_n(["The Sanity client is configured with the `perspective` set to `drafts` or `previewDrafts`, which doesn't support the API-CDN.","The Live API will be used instead. Set `useCdn: false` in your configuration to hide this warning."]),oC=_n(["The `previewDrafts` perspective has been renamed to `drafts` and will be removed in a future API version"]),iC=_n(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.",`See ${kl("js-client-browser-token")} for more information and how to hide this warning.`]),aC=_n(["You have configured Sanity client to use a token, but also provided `withCredentials: true`.","This is no longer supported - only token will be used - remove `withCredentials: true`."]),lC=_n(["Using the Sanity client without specifying an API version is deprecated.",`See ${kl("js-client-api-version")}`]),uC=_n(["You have called `createVersion()` with a defined `document`. The recommended approach is to provide a `baseId` and `releaseId` instead."]),cC=_n(["The `~experimental_resource` configuration property has been renamed to `resource`.","Please update your client configuration to use `resource` instead. Support for `~experimental_resource` will be removed in a future version."]),fC="apicdn.sanity.io",ms={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,stega:{enabled:!1}},dC=["localhost","127.0.0.1","0.0.0.0"],hC=e=>dC.indexOf(e)!==-1;function pC(e){if(e==="1"||e==="X")return;const t=new Date(e);if(!(/^\d{4}-\d{2}-\d{2}$/.test(e)&&t instanceof Date&&t.getTime()>0))throw new Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}function Ap(e){if(Array.isArray(e)&&e.length>1&&e.includes("raw"))throw new TypeError('Invalid API perspective value: "raw". The raw-perspective can not be combined with other perspectives')}const Pp=(e,t)=>{const n={...t,...e,stega:{...typeof t.stega=="boolean"?{enabled:t.stega}:t.stega||ms.stega,...typeof e.stega=="boolean"?{enabled:e.stega}:e.stega||{}}};n.apiVersion||lC();const r={...ms,...n};r["~experimental_resource"]&&!r.resource&&(cC(),r.resource=r["~experimental_resource"]);const s=r.resource,o=r.useProjectHostname&&!s;if(typeof Promise>"u"){const h=kl("js-client-promise-polyfill");throw new Error(`No native Promise-implementation found, polyfill needed - see ${h}`)}if(o&&!r.projectId)throw new Error("Configuration must contain `projectId`");if(s&&Tp(r),typeof r.perspective<"u"&&Ap(r.perspective),"encodeSourceMap"in r)throw new Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMap' is not supported in '@sanity/client'. Did you mean 'stega.enabled'?");if("encodeSourceMapAtPath"in r)throw new Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMapAtPath' is not supported in '@sanity/client'. Did you mean 'stega.filter'?");
22if(typeof r.stega.enabled!="boolean")throw new Error(`stega.enabled must be a boolean, received ${r.stega.enabled}`);if(r.stega.enabled&&r.stega.studioUrl===void 0)throw new Error("stega.studioUrl must be defined when stega.enabled is true");if(r.stega.enabled&&typeof r.stega.studioUrl!="string"&&typeof r.stega.studioUrl!="function")throw new Error(`stega.studioUrl must be a string or a function, received ${r.stega.studioUrl}`);const i=typeof window<"u"&&window.location&&window.location.hostname,a=i&&hC(window.location.hostname),l=!!r.token;r.withCredentials&&l&&(aC(),r.withCredentials=!1),i&&a&&l&&r.ignoreBrowserTokenWarning!==!0?iC():typeof r.useCdn>"u"&&rC(),o&&YS(r.projectId),r.dataset&&Dr(r.dataset),"requestTagPrefix"in r&&(r.requestTagPrefix=r.requestTagPrefix?Cp(r.requestTagPrefix).replace(/\.+$/,""):void 0),r.apiVersion=`${r.apiVersion}`.replace(/^v/,""),r.isDefaultApi=r.apiHost===ms.apiHost,r.useCdn===!0&&r.withCredentials&&nC(),r.useCdn=r.useCdn!==!1&&!r.withCredentials,pC(r.apiVersion);const c=r.apiHost.split("://",2),u=c[0],f=c[1],d=r.isDefaultApi?fC:f;return o?(r.url=`${u}://${r.projectId}.${f}/v${r.apiVersion}`,r.cdnUrl=`${u}://${r.projectId}.${d}/v${r.apiVersion}`):(r.url=`${r.apiHost}/v${r.apiVersion}`,r.cdnUrl=r.url),r};class xp extends Error{name="ConnectionFailedError"}class gC extends Error{name="DisconnectError";reason;constructor(t,n,r={}){super(t,r),this.reason=n}}class mC extends Error{name="ChannelError";data;constructor(t,n){super(t),this.data=n}}class yC extends Error{name="MessageError";data;constructor(t,n,r={}){super(t,r),this.data=n}}class jc extends Error{name="MessageParseError"}const vC=["channelError","disconnect"];function Rp(e,t){return fp(()=>{const n=e();return oS(n)?n:er(n)}).pipe(pn(n=>bC(n,t)))}function bC(e,t){return new Fe(n=>{const r=t.includes("open"),s=t.includes("reconnect");function o(c){if("data"in c){const[u,f]=Hc(c);n.error(u?new jc("Unable to parse EventSource error message",{cause:f}):new yC((f?.data).message,f));return}e.readyState===e.CLOSED?n.error(new xp("EventSource connection failed")):s&&n.next({type:"reconnect"})}function i(){n.next({type:"open"})}function a(c){const[u,f]=Hc(c);if(u){n.error(new jc("Unable to parse EventSource message",{cause:u}));return}if(c.type==="channelError"){const d=new URL(e.url).searchParams.get("tag");n.error(new mC(wC(f?.data,d),f.data));return}if(c.type==="disconnect"){n.error(new gC(`Server disconnected client: ${f.data?.reason||"unknown error"}`));return}n.next({type:c.type,id:c.lastEventId,...f.data?{data:f.data}:{}})}e.addEventListener("error",o),r&&e.addEventListener("open",i);const l=[...new Set([...vC,...t])].filter(c=>c!=="error"&&c!=="open"&&c!=="reconnect");return l.forEach(c=>e.addEventListener(c,a)),()=>{e.removeEventListener("error",o),r&&e.removeEventListener("open",i),l.forEach(c=>e.removeEventListener(c,a)),e.close()}})}function Hc(e){try{const t=typeof e.data=="string"&&JSON.parse(e.data);return[null,{type:e.type,id:e.lastEventId,..._C(t)?{}:{data:t}}]}catch(t){return[t,null]}}function wC(e,t){const n=e.error;return n?_p(n)?Ep(n,t):n.description?n.description:typeof n=="string"?n:JSON.stringify(n,null,2):e.message||"Unknown listener error"}function _C(e){for(const t in e)return!1;return!0}function kp(e){if(typeof e=="string")return{id:e};if(Array.isArray(e))return{query:"*[_id in $ids]",params:{ids:e}};if(typeof e=="object"&&e!==null&&"query"in e&&typeof e.query=="string")return"params"in e&&typeof e.params=="object"&&e.params!==null?{query:e.query,params:e.params}:{query:e.query};const t=["* Document ID (<docId>)","* Array of document IDs","* Object containing `query`"].join(` 23`);throw new Error(`Unknown selection - must be one of: 24 25${t}`)}class Op{selection;operations;constructor(t,n={}){this.selection=t,this.operations=n}set(t){return this._assign("set",t)}setIfMissing(t){return this._assign("setIfMissing",t)}diffMatchPatch(t){return gs("diffMatchPatch",t),this._assign("diffMatchPatch",t)}unset(t){if(!Array.isArray(t))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:t}),this}inc(t){return this._assign("inc",t)}dec(t){return this._assign("dec",t)}insert(t,n,r){return eC(t,n,r),this._assign("insert",{[t]:n,items:r})}append(t,n){return this.insert("after",`${t}[-1]`,n)}prepend(t,n){return this.insert("before",`${t}[0]`,n)}splice(t,n,r,s){const o=typeof r>"u"||r===-1,i=n<0?n-1:n,a=o?-1:Math.max(0,n+r),l=i<0&&a>=0?"":a,c=`${t}[${i}:${l}]`;return this.insert("replace",c,s||[])}ifRevisionId(t){return this.operations.ifRevisionID=t,this}serialize(){return{...kp(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(t,n,r=!0){return gs(t,n),this.operations=Object.assign({},this.operations,{[t]:Object.assign({},r&&this.operations[t]||{},n)}),this}_set(t,n){return this._assign(t,n,!1)}}class tr extends Op{#e;constructor(t,n,r){super(t,n),this.#e=r}clone(){return new tr(this.selection,{...this.operations},this.#e)}commit(t){if(!this.#e)throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");
25const n=typeof this.selection=="string",r=Object.assign({returnFirst:n,returnDocuments:!0},t);return this.#e.mutate({patch:this.serialize()},r)}}class Rn extends Op{#e;constructor(t,n,r){super(t,n),this.#e=r}clone(){return new Rn(this.selection,{...this.operations},this.#e)}commit(t){if(!this.#e)throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");const n=typeof this.selection=="string",r=Object.assign({returnFirst:n,returnDocuments:!0},t);return this.#e.mutate({patch:this.serialize()},r)}}const Ip={returnDocuments:!1};class $p{operations;trxId;constructor(t=[],n){this.operations=t,this.trxId=n}create(t){return gs("create",t),this._add({create:t})}createIfNotExists(t){const n="createIfNotExists";return gs(n,t),Nr(n,t),this._add({[n]:t})}createOrReplace(t){const n="createOrReplace";return gs(n,t),Nr(n,t),this._add({[n]:t})}delete(t){return Po("delete",t),this._add({delete:{id:t}})}transactionId(t){return t?(this.trxId=t,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(t){return this.operations.push(t),this}}class Zo extends $p{#e;constructor(t,n,r){super(t,r),this.#e=n}clone(){return new Zo([...this.operations],this.#e,this.trxId)}commit(t){if(!this.#e)throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#e.mutate(this.serialize(),Object.assign({transactionId:this.trxId},Ip,t||{}))}patch(t,n){const r=typeof n=="function",s=typeof t!="string"&&t instanceof Rn,o=typeof t=="object"&&("query"in t||"id"in t);if(s)return this._add({patch:t.serialize()});if(r){const i=n(new Rn(t,{},this.#e));if(!(i instanceof Rn))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:i.serialize()})}if(o){const i=new Rn(t,n||{},this.#e);return this._add({patch:i.serialize()})}return this._add({patch:{id:t,...n}})}}class ei extends $p{#e;constructor(t,n,r){super(t,r),this.#e=n}clone(){return new ei([...this.operations],this.#e,this.trxId)}commit(t){if(!this.#e)throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#e.mutate(this.serialize(),Object.assign({transactionId:this.trxId},Ip,t||{}))}patch(t,n){const r=typeof n=="function";if(typeof t!="string"&&t instanceof tr)return this._add({patch:t.serialize()});if(r){const s=n(new tr(t,{},this.#e));if(!(s instanceof tr))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:s.serialize()})}return this._add({patch:{id:t,...n}})}}const EC="X-Sanity-Project-ID";function SC(e,t={}){const n={};e.headers&&Object.assign(n,e.headers);const r=t.token||e.token;r&&(n.Authorization=`Bearer ${r}`),!t.useGlobalApi&&!e.useProjectHostname&&e.projectId&&(n[EC]=e.projectId);const s=!!(typeof t.withCredentials>"u"?e.withCredentials:t.withCredentials),o=typeof t.timeout>"u"?e.timeout:t.timeout;return Object.assign({},t,{headers:Object.assign({},n,t.headers||{}),timeout:typeof o>"u"?300*1e3:o,proxy:t.proxy||e.proxy,json:!0,withCredentials:s,fetch:typeof t.fetch=="object"&&typeof e.fetch=="object"?{...e.fetch,...t.fetch}:t.fetch||e.fetch})}const Lp=({query:e,params:t={},options:n={}})=>{const r=new URLSearchParams,{tag:s,includeMutations:o,returnQuery:i,...a}=n;s&&r.append("tag",s),r.append("query",e);for(const[l,c]of Object.entries(t))c!==void 0&&r.append(`$${l}`,JSON.stringify(c));for(const[l,c]of Object.entries(a))c&&r.append(l,`${c}`);return i===!1&&r.append("returnQuery","false"),o===!1&&r.append("includeMutations","false"),`?${r}`},CC=(e,t)=>e===!1?void 0:typeof e>"u"?t:e,TC=(e={})=>({dryRun:e.dryRun,returnIds:!0,returnDocuments:CC(e.returnDocuments,!0),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}),ti=e=>e.type==="response",AC=e=>e.body,PC=(e,t)=>e.reduce((n,r)=>(n[t(r)]=r,n),Object.create(null)),xC=11264;function Mp(e,t,n,r,s={},o={}){const i="stega"in o?{...n||{},...typeof o.stega=="boolean"?{enabled:o.stega}:o.stega||{}}:n,a=i.enabled?OS(s):s,l=o.filterResponse===!1?g=>g:g=>g.result,{cache:c,next:u,...f}={useAbortSignal:typeof o.signal<"u",resultSourceMap:i.enabled?"withKeyArraySelector":o.resultSourceMap,...o,returnQuery:o.filterResponse===!1&&o.returnQuery!==!1}
25,d=typeof c<"u"||typeof u<"u"?{...f,fetch:{cache:c,next:u}}:f,h=ur(e,t,"query",{query:r,params:a},d);return i.enabled?h.pipe(wS(Wr(Le(()=>import("./D_44cyjX.js"),[],import.meta.url).then(function(g){return g.stegaEncodeSourceMap$1}).then(({stegaEncodeSourceMap:g})=>g))),tt(([g,p])=>{const E=p(g.result,g.resultSourceMap,i);return l({...g,result:E})})):h.pipe(tt(l))}function Fr(e,t,n,r={}){const s=(()=>{if(!r.releaseId)return n;const i=bp(n);if(!i){if(Yo(n))throw new Error(`The document ID (\`${n}\`) is a draft, but \`options.releaseId\` is set as \`${r.releaseId}\``);return Rs(n,r.releaseId)}if(i!==r.releaseId)throw new Error(`The document ID (\`${n}\`) is already a version of \`${i}\` release, but this does not match the provided \`options.releaseId\` (\`${r.releaseId}\`)`);return n})(),o={uri:Tt(e,"doc",s),json:!0,tag:r.tag,signal:r.signal,query:r.includeAllVersions!==void 0?{includeAllVersions:r.includeAllVersions}:void 0};return Gr(e,t,o).pipe(ar(ti),tt(i=>{const a=i.body.documents;return a?r.includeAllVersions?a:a[0]:r.includeAllVersions?[]:void 0}))}function Dp(e,t,n,r={}){const s={uri:Tt(e,"doc",n.join(",")),json:!0,tag:r.tag,signal:r.signal};return Gr(e,t,s).pipe(ar(ti),tt(o=>{const i=PC(o.body.documents||[],a=>a._id);return n.map(a=>i[a]||null)}))}const Bc=100;function Np(e,t,n,r={}){if(n.length===0)return er(new Set);const s=[];for(let i=0;i<n.length;i+=Bc)s.push(n.slice(i,i+Bc));const o=i=>Gr(e,t,{uri:Tt(e,"doc",i.map(encodeURIComponent).join(",")),tag:r.tag,signal:r.signal,query:{excludeContent:!0}}).pipe(ar(ti),tt(a=>{const l=new Set;for(const c of a.body.omitted||[])c.reason==="existence"&&l.add(c.id);return new Set(i.filter(c=>!l.has(c)))}));return Wr(s).pipe(_S(o),bS((i,a)=>{for(const l of a)i.add(l);return i},new Set))}function Fp(e,t,n,r={}){return ur(e,t,"query",{query:"*[sanity::partOfRelease($releaseId)]",params:{releaseId:n}},r)}function jp(e,t,n,r){return Nr("createIfNotExists",n),ni(e,t,n,"createIfNotExists",r)}function Hp(e,t,n,r){return Nr("createOrReplace",n),ni(e,t,n,"createOrReplace",r)}function Bp(e,t,n,r,s){return Nr("createVersion",n),Sp("createVersion",n),uC(),Me(e,t,{actionType:"sanity.action.document.version.create",publishedId:r,document:n},s)}function Up(e,t,n,r,s,o,i){if(!r)throw new Error("`createVersion()` requires `baseId` when no `document` is provided");if(!n)throw new Error("`createVersion()` requires `publishedId` when `baseId` is provided");Po("createVersion",r),Po("createVersion",n);const a={actionType:"sanity.action.document.version.create",publishedId:n,baseId:r,versionId:s?Rs(n,s):vp(n),ifBaseRevisionId:o};return Me(e,t,a,i)}function Vp(e,t,n,r){return ur(e,t,"mutate",{mutations:[{delete:kp(n)}]},r)}function qp(e,t,n,r=!1,s){return Me(e,t,{actionType:"sanity.action.document.version.discard",versionId:n,purge:r},s)}function Wp(e,t,n,r){return Nr("replaceVersion",n),Sp("replaceVersion",n),Me(e,t,{actionType:"sanity.action.document.version.replace",document:n},r)}function Gp(e,t,n,r,s){return Me(e,t,{actionType:"sanity.action.document.version.unpublish",versionId:n,publishedId:r},s)}function Kp(e,t,n,r){let s;n instanceof Rn||n instanceof tr?s={patch:n.serialize()}:n instanceof Zo||n instanceof ei?s=n.serialize():s=n;const o=Array.isArray(s)?s:[s],i=r&&r.transactionId||void 0;return ur(e,t,"mutate",{mutations:o,transactionId:i},r)}function Me(e,t,n,r){const s=Array.isArray(n)?n:[n],o=r&&r.transactionId||void 0,i=r&&r.skipCrossDatasetReferenceValidation||void 0,a=r&&r.dryRun||void 0;return ur(e,t,"actions",{actions:s,transactionId:o,skipCrossDatasetReferenceValidation:i,dryRun:a},r)}function ur(e,t,n,r,s={}){const o=n==="mutate",i=n==="actions",a=n==="query",l=o||i?"":Lp(r),c=!o&&!i&&l.length<xC,u=c?l:"",f=s.returnFirst,{timeout:d,token:h,tag:g,headers:p,returnQuery:E,lastLiveEventId:v,cacheMode:w}=s,m=Tt(e,n,u),y={method:c?"GET":"POST",uri:m,json:!0,body:c?void 0:r,query:o&&TC(s),timeout:d,headers:p,token:h,tag:g,returnQuery:E,perspective:s.perspective,resultSourceMap:s.resultSourceMap,lastLiveEventId:Array.isArray(v)?v[0]:v,cacheMode:w,canUseCdn:a,signal:s.signal,fetch:s.fetch,useAbortSignal:s.useAbortSignal,useCdn:s.useCdn};return Gr(e,t,y).pipe(ar(ti),tt(AC),tt(b=>
25{if(!o)return b;const C=b.results||[];if(s.returnDocuments)return f?C[0]&&C[0].document:C.map(P=>P.document);const T=f?"documentId":"documentIds",k=f?C[0]&&C[0].id:C.map(P=>P.id);return{transactionId:b.transactionId,results:C,[T]:k}}))}function ni(e,t,n,r,s={}){const o={[r]:n},i=Object.assign({returnFirst:!0,returnDocuments:!0},s);return ur(e,t,"mutate",{mutations:[o]},i)}const ks=e=>{const t=e.config();return t.dataset!==void 0&&t.projectId!==void 0||t.resource!==void 0},zp=(e,t)=>ks(e)&&t.startsWith(Tt(e,"query")),RC=(e,t)=>ks(e)&&t.startsWith(Tt(e,"mutate")),kC=(e,t)=>ks(e)&&t.startsWith(Tt(e,"doc","")),OC=(e,t)=>ks(e)&&t.startsWith(Tt(e,"listen")),IC=(e,t)=>ks(e)&&t.startsWith(Tt(e,"history","")),$C=(e,t)=>t.startsWith("/data/")||zp(e,t)||RC(e,t)||kC(e,t)||OC(e,t)||IC(e,t);function Gr(e,t,n){const r=new Error,s=n.url||n.uri,o=e.config(),i=typeof n.canUseCdn>"u"?["GET","HEAD"].indexOf(n.method||"GET")>=0&&$C(e,s):n.canUseCdn;let a=(n.useCdn??o.useCdn)&&i;const l=n.tag&&o.requestTagPrefix?[o.requestTagPrefix,n.tag].join("."):n.tag||o.requestTagPrefix;if(l&&n.tag!==null&&(n.query={tag:Cp(l),...n.query}),["GET","HEAD","POST"].indexOf(n.method||"GET")>=0&&zp(e,s)){const f=n.resultSourceMap??o.resultSourceMap;f!==void 0&&f!==!1&&(n.query={resultSourceMap:f,...n.query});const d=n.perspective||o.perspective;typeof d<"u"&&(d==="previewDrafts"&&oC(),Ap(d),n.query={perspective:Array.isArray(d)?d.join(","):d,...n.query},(Array.isArray(d)&&d.length>0||d==="previewDrafts"||d==="drafts")&&a&&(a=!1,sC())),n.lastLiveEventId&&(n.query={...n.query,lastLiveEventId:n.lastLiveEventId}),n.returnQuery===!1&&(n.query={returnQuery:"false",...n.query}),a&&n.cacheMode=="noStale"&&(n.query={cacheMode:"noStale",...n.query})}const c=SC(o,Object.assign({},n,{url:Ol(e,s,a),callSiteStack:r})),u=new Fe(f=>t(c,o.requester).subscribe(f));return n.signal?u.pipe(LC(n.signal)):u}function He(e,t,n){return Gr(e,t,n).pipe(ar(r=>r.type==="response"),tt(r=>r.body))}function Tt(e,t,n){const r=e.config();if(r.resource){Tp(r);const i=NC(r),a=n!==void 0?`${t}/${n}`:t;return`${i}/${a}`.replace(/\/($|\?)/,"$1")}const s=lr(r),o=`/${t}/${s}`;return`/data${n!==void 0?`${o}/${n}`:o}`.replace(/\/($|\?)/,"$1")}function Ol(e,t,n=!1){const{url:r,cdnUrl:s}=e.config();return`${n?s:r}/${t.replace(/^\//,"")}`}function LC(e){return t=>new Fe(n=>{const r=()=>n.error(DC(e));if(e&&e.aborted){r();return}const s=t.subscribe(n);return e.addEventListener("abort",r),()=>{e.removeEventListener("abort",r),s.unsubscribe()}})}const MC=!!globalThis.DOMException;function DC(e){if(MC)return new DOMException(e?.reason??"The operation was aborted.","AbortError");const t=new Error(e?.reason??"The operation was aborted.");return t.name="AbortError",t}const NC=e=>{const t=e.resource;if(!t)throw new Error("`resource` must be provided to perform resource queries");const{type:n,id:r}=t;switch(n){case"dataset":{const s=r.split(".");if(s.length!==2)throw new Error('Dataset ID must be in the format "project.dataset"');return`/projects/${s[0]}/datasets/${s[1]}`}case"canvas":return`/canvases/${r}`;case"media-library":return`/media-libraries/${r}`;case"dashboard":return`/dashboards/${r}`;default:throw new Error(`Unsupported resource type: ${n.toString()}`)}};function Qp(e,t,n){const r=lr(e.config());return He(e,t,{method:"POST",uri:`/agent/action/generate/${r}`,body:n})}function FC(e,t,n){const r=lr(e.config());return He(e,t,{method:"POST",uri:`/agent/action/patch/${r}`,body:n})}function jC(e,t,n){const r=lr(e.config());return He(e,t,{method:"POST",uri:`/agent/action/prompt/${r}`,body:n})}function Yp(e,t,n){const r=lr(e.config());return He(e,t,{method:"POST",uri:`/agent/action/transform/${r}`,body:n})}function Jp(e,t,n){const r=lr(e.config());return He(e,t,{method:"POST",uri:`/agent/action/translate/${r}`,body:n})}class HC{#e;#t;constructor(t,n){this.#e=t,this.#t=n}generate(t){return Qp(this.#e,this.#t,t)}transform(t){return Yp(this.#e,this.#t,t)}translate(t){return Jp(this.#e,this.#t,t)}}class BC{#e;#t;constructor(t,n){this.#e=t,this.#t=n}generate(t){return ce(Qp(this.#e,this.#t,t))}transform(t){return ce(Yp(this.#e,this.#t,t))}translate(t){return ce(Jp(this.#e,this.#t,t))}prompt(t){return ce(jC(this.#e,this.#t,t))}patch(t){return ce(FC(this.#e,this.#t,t))}}class UC{#e;#t;constructor(t,n){this.#e=t,this.#t=n}
25upload(t,n,r){return Xp(this.#e,this.#t,t,n,r)}}class VC{#e;#t;constructor(t,n){this.#e=t,this.#t=n}upload(t,n,r){const s=Xp(this.#e,this.#t,t,n,r);return ce(s.pipe(ar(o=>o.type==="response"),tt(o=>o.body.document)))}}function Xp(e,t,n,r,s={}){JS(n);let o=s.extract||void 0;o&&!o.length&&(o=["none"]);const i=e.config(),a=WC(s,r),{tag:l,label:c,title:u,description:f,creditLine:d,filename:h,source:g}=a,p=i.resource?.type==="media-library",E=p?{title:u,filename:h}:{label:c,title:u,description:f,filename:h,meta:o,creditLine:d};return g&&!p&&(E.sourceId=g.id,E.sourceName=g.name,E.sourceUrl=g.url),Gr(e,t,{tag:l,method:"POST",timeout:a.timeout||0,uri:qC(i,n),headers:a.contentType?{"Content-Type":a.contentType}:{},query:E,body:r})}function qC(e,t){const n=t==="image"?"images":"files",r=e.resource;if(r){const{type:o,id:i}=r;switch(o){case"dataset":throw new Error("Assets are not supported for dataset resources, yet. Configure the client with `{projectId: <projectId>, dataset: <datasetId>}` instead.");case"canvas":return`/canvases/${i}/assets/${n}`;case"media-library":return`/media-libraries/${i}/upload`;case"dashboard":return`/dashboards/${i}/assets/${n}`;default:throw new Error(`Unsupported resource type: ${o.toString()}`)}}const s=lr(e);return`assets/${n}/${s}`}function WC(e,t){return typeof File>"u"||!(t instanceof File)?e:Object.assign({filename:e.preserveFilename===!1?void 0:t.name,contentType:t.type},e)}var GC=(e,t)=>Object.keys(t).concat(Object.keys(e)).reduce((n,r)=>(n[r]=typeof e[r]>"u"?t[r]:e[r],n),{});const KC=(e,t)=>t.reduce((n,r)=>(typeof e[r]>"u"||(n[r]=e[r]),n),{}),Zp=fp(()=>Le(()=>import("./BdUwqz-s.js").then(e=>e.b),__vite__mapDeps([45,6]),import.meta.url)).pipe(tt(({default:e})=>e),ES(1));function eg(){return function(e){return e.pipe(Rl((t,n)=>t instanceof xp?hS(er({type:"reconnect"}),pS(1e3).pipe(pn(()=>n))):xl(()=>t)))}}const zC=14800,QC=["includePreviousRevision","includeResult","includeMutations","includeAllVersions","visibility","effectFormat","enableResume","tag"],YC={includeResult:!0};function tg(e,t,n={}){const{url:r,token:s,withCredentials:o,requestTagPrefix:i,headers:a}=this.config(),l=n.tag&&i?[i,n.tag].join("."):n.tag,c={...GC(n,YC),tag:l},u=KC(c,QC),f=Lp({query:e,params:t,options:{tag:l,...u}}),d=`${r}${Tt(this,"listen",f)}`;if(d.length>zC)return xl(()=>new Error("Query too large for listener"));const h=c.events?c.events:["mutation"],g={};return o&&(g.withCredentials=!0),(s||a)&&(g.headers={},s&&(g.headers.Authorization=`Bearer ${s}`),a&&Object.assign(g.headers,a)),Rp(()=>(typeof EventSource>"u"||g.headers?Zp:er(EventSource)).pipe(tt(p=>new p(d,g))),h).pipe(eg(),ar(p=>h.includes(p.type)),tt(p=>({type:p.type,..."data"in p?p.data:{}})))}function JC(e,t){return XC(typeof e=="function"?{predicate:e,...t}:e)}function XC(e){return t=>{let n,r=!1;const{predicate:s,...o}=e,i=t.pipe(SS(l=>{e.predicate(l)&&(r=!0,n=l)}),hp(()=>{r=!1,n=void 0}),pp(o)),a=new Fe(l=>{r&&l.next(n),l.complete()});return gS(i,a)}}const Uc="2021-03-25";class ng{#e;constructor(t){this.#e=t}events({includeDrafts:t=!1,tag:n,waitFor:r}={}){const{projectId:s,apiVersion:o,token:i,withCredentials:a,requestTagPrefix:l,headers:c}=this.#e.config(),u=o.replace(/^v/,"");if(u!=="X"&&u<Uc)throw new Error(`The live events API requires API version ${Uc} or later. The current API version is ${u}. Please update your API version to use this feature.`);if(t&&!i&&!a)throw new Error("The live events API requires a token or withCredentials when 'includeDrafts: true'. Please update your client configuration. The token should have the lowest possible access role.");const f=Tt(this.#e,"live/events"),d=new URL(this.#e.getUrl(f,!1)),h=n&&l?[l,n].join("."):n;h&&d.searchParams.set("tag",h),t&&d.searchParams.set("includeDrafts","true"),r&&d.searchParams.set("waitFor",r);const g={};t&&a&&(g.withCredentials=!0),(t&&i||c)&&(g.headers={},t&&i&&(g.headers.Authorization=`Bearer ${i}`),c&&Object.assign(g.headers,c));const p=`${d.href}::${JSON.stringify(g)}`,E=Ni.get(p);if(E)return E;const v=Rp(()=>(typeof EventSource>"u"||g.headers?Zp:er(EventSource)).pipe(tt(y=>new y(d.href,g))),["message","restart","welcome","reconnect","goaway"]),w=ZC(new URL(this.#e.getUrl("/check/cors",!1)),s,g.withCredentials===!0),m=v.pipe(eg(),pn(y=>y.type==="reconnect"?w.pipe(pn(()=>er(y))):er(y)),Rl(y=>y instanceof Pa?xl(()=>y):w.pipe(pn(()=>{throw y}))),tt(y=>{if(y.type==="message"){const{data:b,...C}=y;return{...C,tags:b.tags}}return y}
25)).pipe(hp(()=>Ni.delete(p)),JC({predicate:y=>y.type==="welcome"}));return Ni.set(p,m),m}}function ZC(e,t,n){return new Fe(r=>{const s=new AbortController,{signal:o}=s;return fetch(e,{method:"GET",mode:"cors",credentials:"omit",signal:o}).then(i=>{if(!(o.aborted||!i.ok))return i.json()}).then(i=>{if(!o.aborted){if(n&&i?.result?.withCredentials===!1){r.error(new Pa({projectId:t,credentials:!0}));return}if(i?.result?.allowed===!1){r.error(new Pa({projectId:t,credentials:n}));return}r.next(),r.complete()}}).catch(()=>{o.aborted||r.closed||(r.next(),r.complete())}),()=>s.abort()})}const Ni=new Map;class eT{#e;#t;constructor(t,n){this.#e=t,this.#t=n}create(t,n){return Tr(this.#e,this.#t,"PUT",t,n)}edit(t,n){return Tr(this.#e,this.#t,"PATCH",t,n)}delete(t){return Tr(this.#e,this.#t,"DELETE",t)}list(){Gt("dataset",this.#e.config());const t=this.#e.config(),n=t.projectId;let r="/datasets";return t.useProjectHostname===!1&&(r=`/projects/${n}/datasets`),He(this.#e,this.#t,{uri:r,tag:null})}getEmbeddingsSettings(t){return Gt("dataset",this.#e.config()),Dr(t),He(this.#e,this.#t,{uri:xo(this.#e,t),tag:null})}editEmbeddingsSettings(t,n){return Gt("dataset",this.#e.config()),Dr(t),He(this.#e,this.#t,{method:"PUT",uri:xo(this.#e,t),body:n,tag:null})}}class tT{#e;#t;constructor(t,n){this.#e=t,this.#t=n}create(t,n){return Gt("dataset",this.#e.config()),ce(Tr(this.#e,this.#t,"PUT",t,n))}edit(t,n){return Gt("dataset",this.#e.config()),ce(Tr(this.#e,this.#t,"PATCH",t,n))}delete(t){return Gt("dataset",this.#e.config()),ce(Tr(this.#e,this.#t,"DELETE",t))}list(){Gt("dataset",this.#e.config());const t=this.#e.config(),n=t.projectId;let r="/datasets";return t.useProjectHostname===!1&&(r=`/projects/${n}/datasets`),ce(He(this.#e,this.#t,{uri:r,tag:null}))}getEmbeddingsSettings(t){return Gt("dataset",this.#e.config()),Dr(t),ce(He(this.#e,this.#t,{uri:xo(this.#e,t),tag:null}))}editEmbeddingsSettings(t,n){return Gt("dataset",this.#e.config()),Dr(t),ce(He(this.#e,this.#t,{method:"PUT",uri:xo(this.#e,t),body:n,tag:null}))}}function xo(e,t){const n=e.config();return n.useProjectHostname===!1?`/projects/${n.projectId}/datasets/${t}/settings/embeddings`:`/datasets/${t}/settings/embeddings`}function Tr(e,t,n,r,s){return Gt("dataset",e.config()),Dr(r),He(e,t,{method:n,uri:`/datasets/${r}`,body:s,tag:null})}class rg{#e;#t;constructor(t,n){this.#e=t,this.#t=n}getPlaybackInfo(t,n={}){const r=this.#e.config(),s=(r.resource||r["~experimental_resource"])?.id,{instanceId:o,libraryId:i}=oT(t),a=i||s;if(!a)throw new Error("Could not determine Media Library ID - you need to provide a valid Media Library ID in the client config or a Media Library GDR");const l=iT(o,a),c=aT(n);return He(this.#e,this.#t,{method:"GET",uri:l,query:c})}}class nT{#e;#t;constructor(t,n){this.#e=t,this.#t=n}getPlaybackInfo(t,n={}){return ce(new rg(this.#e.observable,this.#t).getPlaybackInfo(t,n))}}const rT=/^media-library:(ml[^:]+):([^:]+)$/;function sT(e){return typeof e=="object"&&"_ref"in e}function oT(e){const t=sT(e)?e._ref:e,n=rT.exec(t);if(n){const[,r,s]=n;return{libraryId:r,instanceId:s}}if(typeof e=="string"&&e.startsWith("video-"))return{instanceId:e};throw new Error(`Invalid video asset instance identifier "${t}": must be a valid video instance id or a Global Dataset Reference (GDR) to the video asset in the Media Library`)}function iT(e,t){return`/media-libraries/${t}/video/${e}/playback-info`}function aT(e){const t={};if(e.transformations){const{thumbnail:n,animated:r,storyboard:s}=e.transformations;n&&(n.width&&(t.thumbnailWidth=n.width),n.height&&(t.thumbnailHeight=n.height),n.time!==void 0&&(t.thumbnailTime=n.time),n.fit&&(t.thumbnailFit=n.fit),n.format&&(t.thumbnailFormat=n.format)),r&&(r.width&&(t.animatedWidth=r.width),r.height&&(t.animatedHeight=r.height),r.start!==void 0&&(t.animatedStart=r.start),r.end!==void 0&&(t.animatedEnd=r.end),r.fps&&(t.animatedFps=r.fps),r.format&&(t.animatedFormat=r.format)),s&&s.format&&(t.storyboardFormat=s.format)}return e.expiration&&(t.expiration=e.expiration),t}class lT{#e;#t;constructor(t,n){this.#e=t,this.#t=n}list(t){const n={},r="/projects";return t?.includeMembers===!1&&(n.includeMembers="false"),t?.includeFeatures===!1&&(n.includeFeatures="false"),t?.organizationId&&(n.organizationId=t.organizationId),t?.onlyExplicitMembership&&(n.onlyExplicitMembership="true"),He(this.#e,this.#t,{uri:r,query:n})}getById(t){return He(this.#e,this.#t,{uri:`/projects/${t}`})}}class uT{#e;#t;constructor(t,n){this.#e=t,this.#t=n}
25list(t){const n={},r="/projects";return t?.includeMembers===!1&&(n.includeMembers="false"),t?.includeFeatures===!1&&(n.includeFeatures="false"),t?.organizationId&&(n.organizationId=t.organizationId),t?.onlyExplicitMembership&&(n.onlyExplicitMembership="true"),ce(He(this.#e,this.#t,{uri:r,query:n}))}getById(t){return ce(He(this.#e,this.#t,{uri:`/projects/${t}`}))}}const Vc=DS("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",8),Ro=(e,t)=>t?Rs(e,t):vp(e);function ko(e,{releaseId:t,publishedId:n,document:r}){if(n&&r._id){const s=Ro(n,t);return ZS(s,r),s}if(r._id){const s=Yo(r._id),o=Jo(r._id);if(!s&&!o)throw new Error(`\`${e}()\` requires a document with an \`_id\` that is a version or draft ID`);if(t){if(s)throw new Error(`\`${e}()\` was called with a document ID (\`${r._id}\`) that is a draft ID, but a release ID (\`${t}\`) was also provided.`);const i=bp(r._id);if(i!==t)throw new Error(`\`${e}()\` was called with a document ID (\`${r._id}\`) that is a version ID, but the release ID (\`${t}\`) does not match the document's version ID (\`${i}\`).`)}return r._id}if(n)return Ro(n,t);throw new Error(`\`${e}()\` requires either a publishedId or a document with an \`_id\``)}const cT=(e,t)=>{if(typeof e=="object"&&e!==null&&("releaseId"in e||"metadata"in e)){const{releaseId:n=Vc(),metadata:r={}}=e;return[n,r,t]}return[Vc(),{},e]},sg=(e,t)=>{const[n,r,s]=cT(e,t),o={...r,releaseType:r.releaseType||"undecided"};return{action:{actionType:"sanity.action.release.create",releaseId:n,metadata:o},options:s}};class fT{#e;#t;constructor(t,n){this.#e=t,this.#t=n}get({releaseId:t},n){return Fr(this.#e,this.#t,`_.releases.${t}`,n)}create(t,n){const{action:r,options:s}=sg(t,n),{releaseId:o,metadata:i}=r;return Me(this.#e,this.#t,r,s).pipe(tt(a=>({...a,releaseId:o,metadata:i})))}edit({releaseId:t,patch:n},r){const s={actionType:"sanity.action.release.edit",releaseId:t,patch:n};return Me(this.#e,this.#t,s,r)}publish({releaseId:t},n){const r={actionType:"sanity.action.release.publish",releaseId:t};return Me(this.#e,this.#t,r,n)}archive({releaseId:t},n){const r={actionType:"sanity.action.release.archive",releaseId:t};return Me(this.#e,this.#t,r,n)}unarchive({releaseId:t},n){const r={actionType:"sanity.action.release.unarchive",releaseId:t};return Me(this.#e,this.#t,r,n)}schedule({releaseId:t,publishAt:n},r){const s={actionType:"sanity.action.release.schedule",releaseId:t,publishAt:n};return Me(this.#e,this.#t,s,r)}unschedule({releaseId:t},n){const r={actionType:"sanity.action.release.unschedule",releaseId:t};return Me(this.#e,this.#t,r,n)}delete({releaseId:t},n){const r={actionType:"sanity.action.release.delete",releaseId:t};return Me(this.#e,this.#t,r,n)}fetchDocuments({releaseId:t},n){return Fp(this.#e,this.#t,t,n)}}class dT{#e;#t;constructor(t,n){this.#e=t,this.#t=n}get({releaseId:t},n){return ce(Fr(this.#e,this.#t,`_.releases.${t}`,n))}async create(t,n){const{action:r,options:s}=sg(t,n),{releaseId:o,metadata:i}=r;return{...await ce(Me(this.#e,this.#t,r,s)),releaseId:o,metadata:i}}edit({releaseId:t,patch:n},r){const s={actionType:"sanity.action.release.edit",releaseId:t,patch:n};return ce(Me(this.#e,this.#t,s,r))}publish({releaseId:t},n){const r={actionType:"sanity.action.release.publish",releaseId:t};return ce(Me(this.#e,this.#t,r,n))}archive({releaseId:t},n){const r={actionType:"sanity.action.release.archive",releaseId:t};return ce(Me(this.#e,this.#t,r,n))}unarchive({releaseId:t},n){const r={actionType:"sanity.action.release.unarchive",releaseId:t};return ce(Me(this.#e,this.#t,r,n))}schedule({releaseId:t,publishAt:n},r){const s={actionType:"sanity.action.release.schedule",releaseId:t,publishAt:n};return ce(Me(this.#e,this.#t,s,r))}unschedule({releaseId:t},n){const r={actionType:"sanity.action.release.unschedule",releaseId:t};return ce(Me(this.#e,this.#t,r,n))}delete({releaseId:t},n){const r={actionType:"sanity.action.release.delete",releaseId:t};return ce(Me(this.#e,this.#t,r,n))}fetchDocuments({releaseId:t},n){return ce(Fp(this.#e,this.#t,t,n))}}class hT{#e;#t;constructor(t,n){this.#e=t,this.#t=n}getById(t){return He(this.#e,this.#t,{uri:`/users/${t}`})}}class pT{#e;#t;constructor(t,n){this.#e=t,this.#t=n}
25getById(t){return ce(He(this.#e,this.#t,{uri:`/users/${t}`}))}}class Oo{assets;datasets;live;mediaLibrary;projects;users;agent;releases;#e;#t;#n;listen=tg;constructor(t,n=ms){this.config(n),this.#t=t;const r=n._requestHandler;this.#n=r?(()=>{let s;return(o,i)=>{const a=o;return s||(s=new Ar(t,{...n,_requestHandler:void 0})),r(a,l=>t(l,i),s)}})():t,this.assets=new UC(this,this.#n),this.datasets=new eT(this,this.#n),this.live=new ng(this),this.mediaLibrary={video:new rg(this,this.#n)},this.projects=new lT(this,this.#n),this.users=new hT(this,this.#n),this.agent={action:new HC(this,this.#n)},this.releases=new fT(this,this.#n)}clone(){return new Oo(this.#t,this.config())}config(t){if(t===void 0)return{...this.#e};if(this.#e&&this.#e.allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.#e=Pp(t,this.#e||{}),this}withConfig(t){const n=this.config();return new Oo(this.#t,{...n,...t,stega:{...n.stega||{},...typeof t?.stega=="boolean"?{enabled:t.stega}:t?.stega||{}}})}fetch(t,n,r){return Mp(this,this.#n,this.#e.stega,t,n,r)}getDocument(t,n){if(n?.includeAllVersions===!0)return Fr(this,this.#n,t,{...n,includeAllVersions:!0});const r={signal:n?.signal,tag:n?.tag,releaseId:n?.releaseId,...n&&"includeAllVersions"in n?{includeAllVersions:!1}:{}};return Fr(this,this.#n,t,r)}getDocuments(t,n){return Dp(this,this.#n,t,n)}
25documentsExists(t,n){return Np(this,this.#n,t,n)}create(t,n){return ni(this,this.#n,t,"create",n)}createIfNotExists(t,n){return jp(this,this.#n,t,n)}createOrReplace(t,n){return Hp(this,this.#n,t,n)}createVersion({document:t,publishedId:n,releaseId:r,baseId:s,ifBaseRevisionId:o},i){if(!t)return Up(this,this.#n,n,s,r,o,i);const a=ko("createVersion",{document:t,publishedId:n,releaseId:r}),l={...t,_id:a},c=n||Xo(t._id);return Bp(this,this.#n,l,c,i)}delete(t,n){return Vp(this,this.#n,t,n)}discardVersion({releaseId:t,publishedId:n},r,s){const o=Ro(n,t);return qp(this,this.#n,o,r,s)}replaceVersion({document:t,publishedId:n,releaseId:r},s){const o=ko("replaceVersion",{document:t,publishedId:n,releaseId:r}),i={...t,_id:o};return Wp(this,this.#n,i,s)}unpublishVersion({releaseId:t,publishedId:n},r){const s=Rs(n,t);return Gp(this,this.#n,s,n,r)}mutate(t,n){return Kp(this,this.#n,t,n)}patch(t,n){return new tr(t,n,this)}transaction(t){return new ei(t,this)}action(t,n){return Me(this,this.#n,t,n)}request(t){return He(this,this.#n,t)}getUrl(t,n){return Ol(this,t,n)}getDataUrl(t,n){return Tt(this,t,n)}}class Ar{assets;datasets;live;mediaLibrary;projects;users;agent;releases;observable;#e;#t;#n;listen=tg;constructor(t,n=ms){this.config(n),this.#t=t;const r=n._requestHandler;this.#n=r?(()=>{let s;return(o,i)=>{const a=o;return s||(s=new Ar(t,{...n,_requestHandler:void 0})),r(a,l=>t(l,i),s)}})():t,this.assets=new VC(this,this.#n),this.datasets=new tT(this,this.#n),this.live=new ng(this),this.mediaLibrary={video:new nT(this,this.#n)},this.projects=new uT(this,this.#n),this.users=new pT(this,this.#n),this.agent={action:new BC(this,this.#n)},this.releases=new dT(this,this.#n),this.observable=new Oo(t,n)}clone(){return new Ar(this.#t,this.config())}config(t){if(t===void 0)return{...this.#e};if(this.#e&&this.#e.allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(t),this.#e=Pp(t,this.#e||{}),this}withConfig(t){const n=this.config();return new Ar(this.#t,{...n,...t,stega:{...n.stega||{},...typeof t?.stega=="boolean"?{enabled:t.stega}:t?.stega||{}}})}fetch(t,n,r){return ce(Mp(this,this.#n,this.#e.stega,t,n,r))}getDocument(t,n){if(n?.includeAllVersions===!0)return ce(Fr(this,this.#n,t,{...n,includeAllVersions:!0}));const r={signal:n?.signal,tag:n?.tag,releaseId:n?.releaseId,...n&&"includeAllVersions"in n?{includeAllVersions:!1}:{}};return ce(Fr(this,this.#n,t,r))}getDocuments(t,n){return ce(Dp(this,this.#n,t,n))}
25documentsExists(t,n){return ce(Np(this,this.#n,t,n))}create(t,n){return ce(ni(this,this.#n,t,"create",n))}createIfNotExists(t,n){return ce(jp(this,this.#n,t,n))}createOrReplace(t,n){return ce(Hp(this,this.#n,t,n))}createVersion({document:t,publishedId:n,releaseId:r,baseId:s,ifBaseRevisionId:o},i){if(!t)return $i(Up(this,this.#n,n,s,r,o,i));const a=ko("createVersion",{document:t,publishedId:n,releaseId:r}),l={...t,_id:a},c=n||Xo(t._id);return $i(Bp(this,this.#n,l,c,i))}delete(t,n){return ce(Vp(this,this.#n,t,n))}discardVersion({releaseId:t,publishedId:n},r,s){const o=Ro(n,t);return ce(qp(this,this.#n,o,r,s))}replaceVersion({document:t,publishedId:n,releaseId:r},s){const o=ko("replaceVersion",{document:t,publishedId:n,releaseId:r}),i={...t,_id:o};return $i(Wp(this,this.#n,i,s))}unpublishVersion({releaseId:t,publishedId:n},r){const s=Rs(n,t);return ce(Gp(this,this.#n,s,n,r))}mutate(t,n){return ce(Kp(this,this.#n,t,n))}patch(t,n){return new Rn(t,n,this)}transaction(t){return new Zo(t,this)}action(t,n){return ce(Me(this,this.#n,t,n))}request(t){return ce(He(this,this.#n,t))}dataRequest(t,n,r){return ce(ur(this,this.#n,t,n,r))}getUrl(t,n){return Ol(this,t,n)}getDataUrl(t,n){return Tt(this,t,n)}}function gT(e,t){return{requester:Dc(e),createClient:n=>{const r=Dc(e,{ignoreWarnings:n.ignoreWarnings});return new t((s,o)=>(o||r)({maxRedirects:0,maxRetries:n.maxRetries,retryDelay:n.retryDelay,lineage:n.lineage,...s}),n)}}}var mT=[];const yT=gT(mT,Ar),qc=yT.createClient,Wc=e=>{const t={...e};let n=qc(t);return{client:n,config:t,fetch:(...r)=>n.fetch(...r),setToken(r){t.token=r,n=qc(t)}}},vT=(e="default")=>
25{const t=$e();if(t._sanity?.[e])return t._sanity[e];t._sanity=t._sanity||{};const n=Ne(),{additionalClients:r={},...s}=n.public.sanity;return!s.disableSmartCdn&&t.$preview?s.useCdn=!1:!s.useCdn&&!s.token&&(s.useCdn=!0),e==="default"?(t._sanity.default=Wc(s),t._sanity.default):(t._sanity[e]=Wc(al(r[e],s)),t._sanity[e])},og=(e,t,n={})=>{const{client:r,...s}=n,o=vT(r),i=t?Zt(t):void 0;return i&&(s.watch=s.watch||[],s.watch.push(i)),wE("sanity-"+r1(e+(i?JSON.stringify(i):"")),()=>o.fetch(e,i||{}),s)},bT=async(e,t="",n=!1)=>{const r=Ne();let s=Co`*[_type == '${r.public.type}' && slug.current == $slug][0]${t}`;n&&(s=Co`*[_type == '${r.public.type}' && slug.current match $slug]${t}`);const{data:o,pending:i,refresh:a}=await og(s,{slug:e},{server:!0,lazy:!1,key:`page-${e}`});return{data:o,pending:i,refresh:a}},wT={key:0,class:"bg-sandstone/40 py-20"},_T={class:"mx-auto max-w-7xl px-8 xl:px-0"},ET={class:"flex justify-start"},ST=["src"],CT={class:"border-b border-off-black grid grid-cols-1 gap-y-12 sm:grid-cols-2 sm:gap-x-8 md:grid-cols-3 md:gap-y-12 md:gap-x-12 lg:grid-cols-6 lg:gap-y-0 py-[62px]"},TT={class:"flex flex-col gap-4 mt-6"},AT={class:"flex flex-col gap-4 mt-6"},PT={class:"flex flex-col gap-4 mt-6"},xT={class:"pt-[62px] flex flex-col gap-y-8 lg:gap-y-0 lg:flex-row sm:items-center sm:justify-between"},RT={class:"body-5-light lg:w-1/2"},kT={class:"flex flex-row justify-start sm:items-center gap-x-8 sm:gap-x-12"},OT=["src"],IT=["src"],$T=["src"],LT={href:"https://x.com/mywealthprivate",target:"_blank"},MT=["src"],ig=xe({__name:"Footer",async setup(e){let t,n;const r=he("cdn"),{data:s}=([t,n]=rd(()=>bT("useful-links",Co` 26 { 27 usefulLinksPages[] { 28 title, 29 slug 30 } 31 }`)),t=await t,n(),t),{trackEvent:o}=bl(),i=(a,l)=>{o("link click: footer / "+a)};return(a,l)=>{const c=vl;return a.$config.public.holdingMode?xt("",!0):(Ae(),ut("section",wT,[W("div",_T,[W("div",ET,[V(c,{to:"/",class:"-ml-2",onClick:l[0]||(l[0]=u=>i("Logo"))},{default:X(()=>[W("img",{src:`${H(r)}/logos/MWP-logo-2.svg`,alt:"My Wealth Private Logo"},null,8,ST)]),_:1})]),W("div",CT,[W("div",null,[V(c,{to:"/about-us",class:"body-2-semi-bold-2 text-forest hover:underline",onClick:l[1]||(l[1]=u=>i("About Us"))},{default:X(()=>[...l[13]||(l[13]=[ve(" About Us ",-1)])]),_:1}),W("div",TT,[V(c,{to:"/about-us/our-isa-and-sipp",class:"small-text-1-reg text-off-black hover:underline",onClick:l[2]||(l[2]=u=>i("Our ISA & SIPP"))},{default:X(()=>[...l[14]||(l[14]=[ve(" Our ISA & SIPP ",-1)])]),_:1}),V(c,{to:"/about-us/our-advisers",class:"small-text-1-reg text-off-black hover:underline",onClick:l[3]||(l[3]=u=>i("Our Advisers"))},{default:X(()=>[...l[15]||(l[15]=[ve(" Our Advisers ",-1)])]),_:1}),V(c,{to:"/about-us/testimonials",class:"small-text-1-reg text-off-black hover:underline",onClick:l[4]||(l[4]=u=>i("Testimonials"))},{default:X(()=>[...l[16]||(l[16]=[ve(" Testimonials ",-1)])]),_:1})])]),W("div",null,[V(c,{to:"/investment-advice",class:"body-2-semi-bold-2 text-forest hover:underline",onClick:l[5]||(l[5]=u=>i("Investment Advice"))},{default:X(()=>[...l[17]||(l[17]=[ve(" Investment Advice ",-1)])]),_:1})]),W("div",null,[V(c,{to:"/retirement-planning",class:"body-2-semi-bold-2 text-forest hover:underline",onClick:l[6]||(l[6]=u=>i("Retirement Planning"))},{default:X(()=>[...l[18]||(l[18]=[ve(" Retirement Planning ",-1)])]),_:1}),W("div",AT,[V(c,{to:"/retirement-planning/defined-benefit-pensions",class:"small-text-1-reg text-off-black hover:underline",onClick:l[7]||(l[7]=u=>i("Defined Benefit Pensions"))},{default:X(()=>[...l[19]||(l[19]=[ve(" Defined Benefit Pensions ",-1)])]),_:1})])]),W("div",null,[V(c,{to:"/news",class:"body-2-semi-bold-2 text-forest hover:underline",onClick:l[8]||(l[8]=u=>i("News"))},{default:X(()=>[...l[20]||(l[20]=[ve(" News ",-1)])]),_:1})]),W("div",null,[V(c,{to:"/get-in-touch",class:"body-2-semi-bold-2 text-forest hover:underline",onClick:l[9]||(l[9]=u=>i("Get In Touch"))},{default:X(()=>[...l[21]||(l[21]=[ve(" Get In Touch ",-1)])]),_:1})]),W("div",null,[l[22]||(l[22]=W("h4",{class:"body-2-semi-bold-2 text-forest"}," Useful Links ",-1)),W("div",PT,[(Ae(!0),ut(ke,null,zm(H(s)?.usefulLinksPages??[],(u,f)=>(Ae(),Ot(c,{key:f,to:`/useful-links/${u.slug.current}`,onClick:d=>i(u.title),class:"small-text-1-reg text-off-black hover:underline"},{default:X(()=>
31[ve(vr(u.title),1)]),_:2},1032,["to","onClick"]))),128))])])]),W("div",xT,[W("p",RT," © "+vr(new Date().getFullYear())+" Wealth at Work Limited. All rights reserved. my wealth private is a trading name of Wealth at Work Limited which is authorised and regulated by the Financial Conduct Authority and is part of the Wealth at Work group. Registered in England and Wales No.05225819. Registered Office: Third Floor, 5 St Paulâs Square, Liverpool L3 9SJ. ",1),W("div",kT,[V(c,{to:"/useful-links/online-access","aria-label":"Download the app",onClick:l[10]||(l[10]=u=>i("App Icon"))},{default:X(()=>[W("img",{src:`${H(r)}/Icons/MWP-app.svg`,alt:"App icon"},null,8,OT)]),_:1}),W("a",{href:"https://play.google.com/store/apps/details?id=com.wealth_at_work.mobile_app.prod&pli=1",target:"_blank","aria-label":"Download on the google play app store link",onClick:l[11]||(l[11]=u=>i("Apple App Store"))},[W("img",{src:`${H(r)}/Icons/google-play.svg`,alt:"Google play icon"},null,8,IT)]),W("a",{href:"https://apps.apple.com/gb/app/my-wealth-invest/id6443942288",target:"_blank","aria-label":"Download on the apple app store link",onClick:l[12]||(l[12]=u=>i("Google Play App Store"))},[W("img",{src:`${H(r)}/Icons/apple-store.svg`,alt:"Apple store icon"},null,8,$T)]),W("a",LT,[W("img",{src:`${H(r)}/Icons/x.svg`,alt:"X.com logo"},null,8,MT)])])])])]))}}});function Il(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Os(){let e=[],t={addEventListener(n,r,s,o){return n.addEventListener(r,s,o),t.add(()=>n.removeEventListener(r,s,o))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...n)})},setTimeout(...n){let r=setTimeout(...n);t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Il(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,s){let o=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:s}),this.add(()=>{Object.assign(n.style,{[r]:o})})},group(n){let r=Os();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let s of e.splice(r,1))s()}},dispose(){for(let n of e.splice(0))n()}};return t}var Gc;let DT=Symbol("headlessui.useid"),NT=0;const Ln=(Gc=$m)!=null?Gc:function(){return he(DT,()=>`${++NT}`)()};function Q(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function it(e,t,...n){if(e in t){let s=t[e];return typeof s=="function"?s(...n):s}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,it),r}var FT=Object.defineProperty,jT=(e,t,n)=>t in e?FT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kc=(e,t,n)=>(jT(e,typeof t!="symbol"?t+"":t,n),n);let HT=class{constructor(){Kc(this,"current",this.detect()),Kc(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},Is=new HT;function nn(e){if(Is.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=Q(e);if(t)return t.ownerDocument}return document}let xa=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var st=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(st||{}),Cs=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Cs||{}),BT=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(BT||{});function ri(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(xa)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var $l=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))($l||{});function ag(e,t=0){var n;return e===((n=nn(e))==null?void 0:n.body)?!1:it(t,{0(){return e.matches(xa)},1(){let r=e;for(;r!==null;){if(r.matches(xa))return!0;r=r.parentElement}return!1}})}var UT=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(UT||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function nr(e){e?.focus({preventScroll:!0})}let VT=["textarea","input"].join(",");function qT(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,VT))!=null?n:!1}function WT(e,t=n=>n){return e.slice().sort((n,r)=>{let s=t(n),o=t(r);if(s===null||o===null)return 0;let i=s.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Dt(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:s=[]}={}){var o;let i=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)!=null?o:document,a=Array.isArray(e)?n?WT(e):e:ri(e);s.length>0&&a.length>1&&(a=a.filter(g=>!s.includes(g))),r=r??i.activeElement;let l=(()=>
31{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,a.indexOf(r))-1;if(t&4)return Math.max(0,a.indexOf(r))+1;if(t&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},f=0,d=a.length,h;do{if(f>=d||f+d<=0)return 0;let g=c+f;if(t&16)g=(g+d)%d;else{if(g<0)return 3;if(g>=d)return 1}h=a[g],h?.focus(u),f+=l}while(h!==i.activeElement);return t&6&&qT(h)&&h.select(),2}function lg(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function GT(){return/Android/gi.test(window.navigator.userAgent)}function KT(){return lg()||GT()}function Gs(e,t,n){Is.isServer||ot(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function ug(e,t,n){Is.isServer||ot(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function cg(e,t,n=z(()=>!0)){function r(o,i){if(!n.value||o.defaultPrevented)return;let a=i(o);if(a===null||!a.getRootNode().contains(a))return;let l=(function c(u){return typeof u=="function"?c(u()):Array.isArray(u)||u instanceof Set?u:[u]})(e);for(let c of l){if(c===null)continue;let u=c instanceof HTMLElement?c:Q(c);if(u!=null&&u.contains(a)||o.composed&&o.composedPath().includes(u))return}return!ag(a,$l.Loose)&&a.tabIndex!==-1&&o.preventDefault(),t(o,a)}let s=ee(null);Gs("pointerdown",o=>{var i,a;n.value&&(s.value=((a=(i=o.composedPath)==null?void 0:i.call(o))==null?void 0:a[0])||o.target)},!0),Gs("mousedown",o=>{var i,a;n.value&&(s.value=((a=(i=o.composedPath)==null?void 0:i.call(o))==null?void 0:a[0])||o.target)},!0),Gs("click",o=>{KT()||s.value&&(r(o,()=>s.value),s.value=null)},!0),Gs("touchend",o=>r(o,()=>o.target instanceof HTMLElement?o.target:null),!0),ug("blur",o=>r(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function zc(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function zT(e,t){let n=ee(zc(e.value.type,e.value.as));return We(()=>{n.value=zc(e.value.type,e.value.as)}),ot(()=>{var r;n.value||Q(t)&&Q(t)instanceof HTMLButtonElement&&!((r=Q(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}var jr=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(jr||{}),kn=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(kn||{});function At({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...s}){var o;let i=dg(r,n),a=Object.assign(s,{props:i});if(e||t&2&&i.static)return Fi(a);if(t&1){let l=(o=i.unmount)==null||o?0:1;return it(l,{0(){return null},1(){return Fi({...s,props:{...i,hidden:!0,style:{display:"none"}}})}})}return Fi(a)}function Fi({props:e,attrs:t,slots:n,slot:r,name:s}){var o,i;let{as:a,...l}=hg(e,["unmount","static"]),c=(o=n.default)==null?void 0:o.call(n,r),u={};if(r){let f=!1,d=[];for(let[h,g]of Object.entries(r))typeof g=="boolean"&&(f=!0),g===!0&&d.push(h);f&&(u["data-headlessui-state"]=d.join(" "))}if(a==="template"){if(c=fg(c??[]),Object.keys(l).length>0||Object.keys(t).length>0){let[f,...d]=c??[];if(!QT(f)||d.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${s} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).map(p=>p.trim()).filter((p,E,v)=>v.indexOf(p)===E).sort((p,E)=>p.localeCompare(E)).map(p=>` - ${p}`).join(` 32`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(p=>` - ${p}`).join(` 33`)].join(` 34`));let h=dg((i=f.props)!=null?i:{},l,u),g=jt(f,h,!0);for(let p in h)p.startsWith("on")&&(g.props||(g.props={}),g.props[p]=h[p]);return g}return Array.isArray(c)&&c.length===1?c[0]:c}return le(a,Object.assign({},l,u),{default:()=>c})}function fg(e){return e.flatMap(t=>t.type===ke?fg(t.children):[t])}function dg(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let s in r)s.startsWith("on")&&typeof r[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(r[s])):t[s]=r[s];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](s,...o){let i=n[r];for(let a of i){if(s instanceof Event&&s.defaultPrevented)return;a(s,...o)}}});return t}function hg(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function QT(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var Dn=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Dn||{});let sr=xe({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{var r;let{features:s,...o}=e,i={"aria-hidden":(s&2)===2?!0:(r=o["aria-hidden"])!=null?r:void 0,hidden:(s&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(s&4)===4&&(s&2)!==2&&{display:"none"}}};return At({ourProps:i,theirProps:o,slot:{},attrs:n,slots:t,name:"Hidden"})}}}),pg=Symbol("Context");var Ze=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Ze||{});
34function YT(){return si()!==null}function si(){return he(pg,null)}function gg(e){ge(pg,e)}var un=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(un||{});function JT(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let Gn=[];JT(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Gn[0]!==t.target&&(Gn.unshift(t.target),Gn=Gn.filter(n=>n!=null&&n.isConnected),Gn.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Ll(e,t,n,r){Is.isServer||ot(s=>{e=e??window,e.addEventListener(t,n,r),s(()=>e.removeEventListener(t,n,r))})}var Et=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Et||{});function Ml(){let e=ee(0);return ug("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function mg(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.value){let r=Q(n);r instanceof HTMLElement&&t.add(r)}return t}var yg=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(yg||{});let es=Object.assign(xe({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:ee(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let s=ee(null);r({el:s,$el:s});let o=z(()=>nn(s)),i=ee(!1);We(()=>i.value=!0),yt(()=>i.value=!1),ZT({ownerDocument:o},z(()=>i.value&&!!(e.features&16)));let a=eA({ownerDocument:o,container:s,initialFocus:z(()=>e.initialFocus)},z(()=>i.value&&!!(e.features&2)));tA({ownerDocument:o,container:s,containers:e.containers,previousActiveElement:a},z(()=>i.value&&!!(e.features&8)));let l=Ml();function c(h){let g=Q(s);g&&(p=>p())(()=>{it(l.value,{[Et.Forwards]:()=>{Dt(g,st.First,{skipElements:[h.relatedTarget]})},[Et.Backwards]:()=>{Dt(g,st.Last,{skipElements:[h.relatedTarget]})}})})}let u=ee(!1);function f(h){h.key==="Tab"&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function d(h){if(!i.value)return;let g=mg(e.containers);Q(s)instanceof HTMLElement&&g.add(Q(s));let p=h.relatedTarget;p instanceof HTMLElement&&p.dataset.headlessuiFocusGuard!=="true"&&(vg(g,p)||(u.value?Dt(Q(s),it(l.value,{[Et.Forwards]:()=>st.Next,[Et.Backwards]:()=>st.Previous})|st.WrapAround,{relativeTo:h.target}):h.target instanceof HTMLElement&&nr(h.target)))}return()=>{let h={},g={ref:s,onKeydown:f,onFocusout:d},{features:p,initialFocus:E,containers:v,...w}=e;return le(ke,[!!(p&4)&&le(sr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Dn.Focusable}),At({ourProps:g,theirProps:{...t,...w},slot:h,attrs:t,slots:n,name:"FocusTrap"}),!!(p&4)&&le(sr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Dn.Focusable})])}}}),{features:yg});function XT(e){let t=ee(Gn.slice());return dt([e],([n],[r])=>{r===!0&&n===!1?Il(()=>{t.value.splice(0)}):r===!1&&n===!0&&(t.value=Gn.slice())},{flush:"post"}),()=>{var n;return(n=t.value.find(r=>r!=null&&r.isConnected))!=null?n:null}}function ZT({ownerDocument:e},t){let n=XT(t);We(()=>{ot(()=>{var r,s;t.value||((r=e.value)==null?void 0:r.activeElement)===((s=e.value)==null?void 0:s.body)&&nr(n())},{flush:"post"})}),yt(()=>{t.value&&nr(n())})}function eA({ownerDocument:e,container:t,initialFocus:n},r){let s=ee(null),o=ee(!1);return We(()=>o.value=!0),yt(()=>o.value=!1),We(()=>{dt([t,n,r],(i,a)=>{if(i.every((c,u)=>a?.[u]===c)||!r.value)return;let l=Q(t);l&&Il(()=>{var c,u;if(!o.value)return;let f=Q(n),d=(c=e.value)==null?void 0:c.activeElement;if(f){if(f===d){s.value=d;return}}else if(l.contains(d)){s.value=d;return}f?nr(f):Dt(l,st.First|st.NoScroll)===Cs.Error&&console.warn("There are no focu
34sable elements inside the <FocusTrap />"),s.value=(u=e.value)==null?void 0:u.activeElement})},{immediate:!0,flush:"post"})}),s}function tA({ownerDocument:e,container:t,containers:n,previousActiveElement:r},s){var o;Ll((o=e.value)==null?void 0:o.defaultView,"focus",i=>{if(!s.value)return;let a=mg(n);Q(t)instanceof HTMLElement&&a.add(Q(t));let l=r.value;if(!l)return;let c=i.target;c&&c instanceof HTMLElement?vg(a,c)?(r.value=c,nr(c)):(i.preventDefault(),i.stopPropagation(),nr(l)):nr(r.value)},!0)}function vg(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function nA(e){let t=mt(e.getSnapshot());return yt(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function rA(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(s){return r.add(s),()=>r.delete(s)},dispatch(s,...o){let i=t[s].call(n,...o);i&&(n=i,r.forEach(a=>a()))}}}function sA(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,s=r.clientWidth-r.offsetWidth,o=e-s;n.style(r,"paddingRight",`${o}px`)}}}function oA(){return lg()?{before({doc:e,d:t,meta:n}){function r(s){return n.containers.flatMap(o=>o()).some(o=>o.contains(s))}t.microTask(()=>{var s;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let a=Os();a.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>a.dispose()))}let o=(s=window.scrollY)!=null?s:window.pageYOffset,i=null;t.addEventListener(e,"click",a=>{if(a.target instanceof HTMLElement)try{let l=a.target.closest("a");if(!l)return;let{hash:c}=new URL(l.href),u=e.querySelector(c);u&&!r(u)&&(i=u)}catch{}},!0),t.addEventListener(e,"touchstart",a=>{if(a.target instanceof HTMLElement)if(r(a.target)){let l=a.target;for(;l.parentElement&&r(l.parentElement);)l=l.parentElement;t.style(l,"overscrollBehavior","contain")}else t.style(a.target,"touchAction","none")}),t.addEventListener(e,"touchmove",a=>{if(a.target instanceof HTMLElement){if(a.target.tagName==="INPUT")return;if(r(a.target)){let l=a.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&a.preventDefault()}else a.preventDefault()}},{passive:!1}),t.add(()=>{var a;let l=(a=window.scrollY)!=null?a:window.pageYOffset;o!==l&&window.scrollTo(0,o),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{}}function iA(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function aA(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let zn=rA(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:Os(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:aA(n)},s=[oA(),sA(),iA()];s.forEach(({before:o})=>o?.(r)),s.forEach(({after:o})=>o?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});zn.subscribe(()=>{let e=zn.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",s=n.count!==0;(s&&!r||!s&&r)&&zn.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&zn.dispatch("TEARDOWN",n)}});function lA(e,t,n){let r=nA(zn),s=z(()=>{let o=e.value?r.value.get(e.value):void 0;return o?o.count>0:!1});return dt([e,t],([o,i],[a],l)=>{if(!o||!i)return;zn.dispatch("PUSH",o,n);let c=!1;l(()=>{c||(zn.dispatch("POP",a??o,n),c=!0)})},{immediate:!0}),s}let ji=new Map,ts=new Map;function Qc(e,t=ee(!0)){ot(n=>{var r;if(!t.value)return;let s=Q(e);if(!s)return;n(function(){var i;if(!s)return;let a=(i=ts.get(s))!=null?i:1;if(a===1?ts.delete(s):ts.set(s,a-1),a!==1)return;let l=ji.get(s);l&&(l["aria-hidden"]===null?s.removeAttribute("aria-hidden"):s.setAttribute("aria-hidden",l["aria-hidden"]),s.inert=l.inert,ji.delete(s))});let o=(r=ts.get(s))!=null?r:0;ts.set(s,o+1),o===0&&(ji.set(s,{"aria-hidden":s.getAttribute("aria-hidden"),inert:s.inert}),s.setAttribute("aria-hidden","true"),s.inert=!0)})}function bg({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=ee(null),s=nn(r);function o(){var i,a,l;
34let c=[];for(let u of e)u!==null&&(u instanceof HTMLElement?c.push(u):"value"in u&&u.value instanceof HTMLElement&&c.push(u.value));if(t!=null&&t.value)for(let u of t.value)c.push(u);for(let u of(i=s?.querySelectorAll("html > *, body > *"))!=null?i:[])u!==document.body&&u!==document.head&&u instanceof HTMLElement&&u.id!=="headlessui-portal-root"&&(u.contains(Q(r))||u.contains((l=(a=Q(r))==null?void 0:a.getRootNode())==null?void 0:l.host)||c.some(f=>u.contains(f))||c.push(u));return c}return{resolveContainers:o,contains(i){return o().some(a=>a.contains(i))},mainTreeNodeRef:r,MainTreeNode(){return n!=null?null:le(sr,{features:Dn.Hidden,ref:r})}}}function uA(){let e=ee(null);return{mainTreeNodeRef:e,MainTreeNode(){return le(sr,{features:Dn.Hidden,ref:e})}}}let wg=Symbol("ForcePortalRootContext");function cA(){return he(wg,!1)}let Yc=xe({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return ge(wg,e.force),()=>{let{force:r,...s}=e;return At({theirProps:s,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}}),_g=Symbol("StackContext");var Ra=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Ra||{});function fA(){return he(_g,()=>{})}function dA({type:e,enabled:t,element:n,onUpdate:r}){let s=fA();function o(...i){r?.(...i),s(...i)}We(()=>{dt(t,(i,a)=>{i?o(0,e,n):a===!0&&o(1,e,n)},{immediate:!0,flush:"sync"})}),yt(()=>{t.value&&o(1,e,n)}),ge(_g,o)}let hA=Symbol("DescriptionContext");function pA({slot:e=ee({}),name:t="Description",props:n={}}={}){let r=ee([]);function s(o){return r.value.push(o),()=>{let i=r.value.indexOf(o);i!==-1&&r.value.splice(i,1)}}return ge(hA,{register:s,slot:e,name:t,props:n}),z(()=>r.value.length>0?r.value.join(" "):void 0)}function gA(e){let t=nn(e);if(!t){if(e===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById("headlessui-portal-root");if(n)return n;let r=t.createElement("div");return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)}const ka=new WeakMap;function mA(e){var t;return(t=ka.get(e))!=null?t:0}function Jc(e,t){let n=t(mA(e));return n<=0?ka.delete(e):ka.set(e,n),n}let yA=xe({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=ee(null),s=z(()=>nn(r)),o=cA(),i=he(Sg,null),a=ee(o===!0||i==null?gA(r.value):i.resolveTarget());a.value&&Jc(a.value,d=>d+1);let l=ee(!1);We(()=>{l.value=!0}),ot(()=>{o||i!=null&&(a.value=i.resolveTarget())});let c=he(Oa,null),u=!1,f=vt();return dt(r,()=>{if(u||!c)return;let d=Q(r);d&&(yt(c.register(d),f),u=!0)}),yt(()=>{var d,h;let g=(d=s.value)==null?void 0:d.getElementById("headlessui-portal-root");!g||a.value!==g||Jc(a.value,p=>p-1)||a.value.children.length>0||(h=a.value.parentElement)==null||h.removeChild(a.value)}),()=>{if(!l.value||a.value===null)return null;let d={ref:r,"data-headlessui-portal":""};return le(Rm,{to:a.value},At({ourProps:d,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),Oa=Symbol("PortalParentContext");function Eg(){let e=he(Oa,null),t=ee([]);function n(o){return t.value.push(o),e&&e.register(o),()=>r(o)}function r(o){let i=t.value.indexOf(o);i!==-1&&t.value.splice(i,1),e&&e.unregister(o)}let s={register:n,unregister:r,portals:t};return[t,xe({name:"PortalWrapper",setup(o,{slots:i}){return ge(Oa,s),()=>{var a;return(a=i.default)==null?void 0:a.call(i)}}})]}let Sg=Symbol("PortalGroupContext"),vA=xe({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){return ge(Sg,Zt({resolveTarget(){return e.target}})),()=>{let{target:s,...o}=e;return At({theirProps:o,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}});var bA=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(bA||{});let Ia=Symbol("DialogContext");function Cg(e){let t=he(Ia,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Cg),n}return t}let Ks="DC8F892D-2EBD-447C-A4C8-A03058436FF4",wA=xe({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:Ks},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:s}){var o,i;let a=(o=e.id)!=null?o:`headlessui-dialog-${Ln()}`,l=ee(!1);We(()=>{l.value=!0});let c=!1,u=z(()=>e.role==="dialog"||e.role==="alertdialog"?e.role:(c||(c=!0,console.warn(`Invalid role [${u}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),f=ee(0),d=si(),h=z(()=>e.open===Ks&&d!==null?(d.value&Ze.Open)===Ze.Open:e.open),g=ee(null),p=z(()=>nn(g));if(s({el:g,$el:g}),!(e.open!==Ks||d!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof h.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${h.value===Ks?void 0:e.open}`);let E=z(()=>l.value&&h.value?0:1),v=z(()=>E.value===0),w=z(()=>f.value>1),m=he(Ia,null)!==null,[y,b]=Eg(),{resolveContainers:C,mainTreeNodeRef:T,MainTreeNode:k}=bg({portals:y,defaultContainers:[z(()=>{var J;return(J=se.panelRef.value)!=null?J:g.value})]}),P=z(()=>w.value?"parent":"leaf"),M=z(()=>d!==null?(d.value&Ze.Closing)===Ze.Closing:!1),D=z(()=>m||M.value?!1:v.value),L=z(()=>{var J,de,Ge;return(Ge=Array.from((de=(J=p.value)==null?void 0:J.querySelectorAll("body > *"))!=null?de:[]).find(Ke=>Ke.id==="headlessui-portal-root"?!1:Ke.contains(Q(T))&&Ke instanceof HTMLElement))!=null?Ge:null});Qc(L,D);let B=z(()=>w.value?!0:v.value),re=z(()=>{var J,de,Ge;return(Ge=Array.from((de=(J=p.value)==null?void 0:J.querySelectorAll("[data-headlessui-portal]"))!=null?de:[]).find(Ke=>Ke.contains(Q(T))&&Ke instanceof HTMLElement))!=null?Ge:null});Qc(re,B),dA({type:"Dialog",enabled:z(()=>E.value===0),element:g,onUpdate:(J,de)=>{if(de==="Dialog")return it(J,{[Ra.Add]:()=>f.value+=1,[Ra.Remove]:()=>f.value-=1})}});let ue=pA({name:"DialogDescription",slot:z(()=>({open:h.value}))}),q=ee(null),se={titleId:q,panelRef:ee(null),dialogState:E,setTitleId(J){q.value!==J&&(q.value=J)},close(){t("close",!1)}};ge(Ia,se);let ne=z(()=>!(!v.value||w.value));cg(C,(J,de)=>{J.preventDefault(),se.close(),Mn(()=>de?.focus())},ne);let je=z(()=>!(w.value||E.value!==0));Ll((i=p.value)==null?void 0:i.defaultView,"keydown",J=>{je.value&&(J.defaultPrevented||J.key===un.Escape&&(J.preventDefault(),J.stopPropagation(),se.close()))});let me=z(()=>!(M.value||E.value!==0||m));return lA(p,me,J=>{var de;
34return{containers:[...(de=J.containers)!=null?de:[],C]}}),ot(J=>{if(E.value!==0)return;let de=Q(g);if(!de)return;let Ge=new ResizeObserver(Ke=>{for(let $t of Ke){let Xe=$t.target.getBoundingClientRect();Xe.x===0&&Xe.y===0&&Xe.width===0&&Xe.height===0&&se.close()}});Ge.observe(de),J(()=>Ge.disconnect())}),()=>{let{open:J,initialFocus:de,...Ge}=e,Ke={...n,ref:g,id:a,role:u.value,"aria-modal":E.value===0?!0:void 0,"aria-labelledby":q.value,"aria-describedby":ue.value},$t={open:E.value===0};return le(Yc,{force:!0},()=>[le(yA,()=>le(vA,{target:g.value},()=>le(Yc,{force:!1},()=>le(es,{initialFocus:de,containers:C,features:v.value?it(P.value,{parent:es.features.RestoreFocus,leaf:es.features.All&~es.features.FocusLock}):es.features.None},()=>le(b,{},()=>At({ourProps:Ke,theirProps:{...Ge,...n},slot:$t,attrs:n,slots:r,visible:E.value===0,features:jr.RenderStrategy|jr.Static,name:"Dialog"})))))),le(k)])}}}),_A=xe({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var s;let o=(s=e.id)!=null?s:`headlessui-dialog-panel-${Ln()}`,i=Cg("DialogPanel");r({el:i.panelRef,$el:i.panelRef});function a(l){l.stopPropagation()}return()=>{let{...l}=e,c={id:o,ref:i.panelRef,onClick:a};return At({ourProps:c,theirProps:l,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}});var EA=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(EA||{});let Tg=Symbol("PopoverContext");function Dl(e){let t=he(Tg,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <${$a.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Dl),n}return t}let Ag=Symbol("PopoverGroupContext");function Pg(){return he(Ag,null)}let xg=Symbol("PopoverPanelContext");function SA(){return he(xg,null)}let $a=xe({name:"Popover",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n,expose:r}){var s;let o=ee(null);r({el:o,$el:o});let i=ee(1),a=ee(null),l=ee(null),c=ee(null),u=ee(null),f=z(()=>nn(o)),d=z(()=>{var b,C;if(!Q(a)||!Q(u))return!1;for(let B of document.querySelectorAll("body > *"))if(Number(B?.contains(Q(a)))^Number(B?.contains(Q(u))))return!0;let T=ri(),k=T.indexOf(Q(a)),P=(k+T.length-1)%T.length,M=(k+1)%T.length,D=T[P],L=T[M];return!((b=Q(u))!=null&&b.contains(D))&&!((C=Q(u))!=null&&C.contains(L))}),h={popoverState:i,buttonId:ee(null),panelId:ee(null),panel:u,button:a,isPortalled:d,beforePanelSentinel:l,afterPanelSentinel:c,togglePopover(){i.value=it(i.value,{0:1,1:0})},closePopover(){i.value!==1&&(i.value=1)},close(b){h.closePopover();let C=b?b instanceof HTMLElement?b:b.value instanceof HTMLElement?Q(b):Q(h.button):Q(h.button);C?.focus()}};ge(Tg,h),gg(z(()=>it(i.value,{0:Ze.Open,1:Ze.Closed})));let g={buttonId:h.buttonId,panelId:h.panelId,close(){h.closePopover()}},p=Pg(),E=p?.registerPopover,[v,w]=Eg(),m=bg({mainTreeNodeRef:p?.mainTreeNodeRef,portals:v,defaultContainers:[a,u]});function y(){var b,C,T,k;return(k=p?.isFocusWithinPopoverGroup())!=null?k:((b=f.value)==null?void 0:b.activeElement)&&(((C=Q(a))==null?void 0:C.contains(f.value.activeElement))||((T=Q(u))==null?void 0:T.contains(f.value.activeElement)))}return ot(()=>E?.(g)),Ll((s=f.value)==null?void 0:s.defaultView,"focus",b=>{var C,T;b.target!==window&&b.target instanceof HTMLElement&&i.value===0&&(y()||a&&u&&(m.contains(b.target)||(C=Q(h.beforePanelSentinel))!=null&&C.contains(b.target)||(T=Q(h.afterPanelSentinel))!=null&&T.contains(b.target)||h.closePopover()))},!0),cg(m.resolveContainers,(b,C)=>{var T;h.closePopover(),ag(C,$l.Loose)||(b.preventDefault(),(T=Q(a))==null||T.focus())},z(()=>i.value===0)),()=>{let b={open:i.value===0,close:h.close};return le(ke,[le(w,{},()=>At({theirProps:{...e,...n},ourProps:{ref:o},slot:b,slots:t,attrs:n,name:"Popover"})),le(m.MainTreeNode)])}}}),Xc=xe({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var s;let o=(s=e.id)!=null?s:`headlessui-popover-button-${Ln()}`,i=Dl("PopoverButton"),a=z(()=>nn(i.button));r({el:i.button,$el:i.button}),We(()=>{i.buttonId.value=o}),yt(()=>{i.buttonId.value=null});let l=Pg(),c=l?.closeOthers,u=SA(),f=z(()=>u===null?!1:u.value===i.panelId.value),d=ee(null),h=`headlessui-focus-sentinel-${Ln()}`;f.value||ot(()=>{i.button.value=Q(d)});let g=zT(z(()=>({as:e.as,type:t.type})),d);function p(b){var C,T,k,P,M;if(f.value){if(i.popoverState.value===1)return;switch(b.key){case un.Space:case un.Enter:b.preventDefault(),(T=(C=b.target).click)==null||T.call(C),i.closePopover(),(k=Q(i.button))==null||k.focus();break}}else switch(b.key){case un.Space:case un.Enter:b.preventDefault(),b.stopPropagation(),i.popoverState.value===1&&c?.(i.buttonId.value),i.togglePopover();break;case un.Escape:if(i.popoverState.value!==0)return c?.(i.buttonId.value);if(!Q(i.button)||(P=a.value)!=null&&P.activeElement&&!((M=Q(i.button))!=null&&M.contains(a.value.activeElement)))return;b.preventDefault(),b.stopPropagation(),i.closePopover();break}}function E(b){f.value||b.key===un.Space&&b.preventDefault()}function v(b){var C,T;e.disabled||(f.value?(i.closePopover(),(C=Q(i.button))==null||C.focus()):(b.preventDefault(),b.stopPropagation(),i.popoverState.value===1&&c?.(i.buttonId.value),i.togglePopover(),(T=Q(i.button))==null||T.focus()))}function w(b){b.preventDefault(),b.stopPropagation()}let m=Ml();function y(){let b=Q(i.panel);if(!b)return;function C(){it(m.value,{[Et.Forwards]:()=>Dt(b,st.First),[Et.Backwards]:()=>Dt(b,st.Last)})===Cs.Error&&Dt(ri().filter(T=>T.dataset.headlessuiFocusGuard!=="true"),it(m.value,{[Et.Forwards]:st.Next,[Et.Backwards]:st.Previous}),{relativeTo:Q(i.button)})}C()}return()=>{let b=i.popoverState.value===0,C={open:b},{...T}=e,k=f.value?{ref:d,type:g.value,onKeydown:p,onClick:v}:{ref:d,id:o,type:g.value,"aria-expanded":i.popoverState.value===0,"aria-controls":Q(i.panel)?i.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:p,onKeyup:E,onClick:v,onMousedown:w};return le(ke,[At({ourProps:k,theirProps:{...t,...T},slot:C,attrs:t,slots:n,name:"PopoverButton"}),b&&!f.value&&i.isPortalled.value&&le(sr,{id:h,features:Dn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:y})])}}}),Zc=xe({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var s;let o=(s=e.id)!=null?s:`headlessui-popover-panel-${Ln()}`,{focus:i}=e,a=Dl("PopoverPanel"),l=z(()=>nn(a.panel)),c=`headlessui-focus-sentinel-before-${Ln()}`,u=`headlessui-focus-sentinel-after-${Ln()}`;r({el:a.panel,$el:a.panel}),We(()=>{a.panelId.value=o}),yt(()=>{a.panelId.value=null}),ge(xg,a.panelId),ot(()=>{var w,m;if(!i||a.popoverState.value!==0||!a.panel)return;let y=(w=l.value)==null?void 0:w.activeElement;(m=Q(a.panel))!=null&&m.contains(y)||Dt(Q(a.panel),st.First)});let f=si(),d=z(()=>f!==null?(f.value&Ze.Open)===Ze.Open:a.popoverState.value===0);function h(w){var m,y;switch(w.key){case un.Escape:if(a.popoverState.value!==0||!Q(a.panel)||l.value&&!((m=Q(a.panel))!=null&&m.contains(l.value.activeElement)))return;w.preventDefault(),w.stopPropagation(),a.closePopover(),(y=Q(a.button))==null||y.focus();break}}function g(w){var m,y,b,C,T;let k=w.relatedTarget;k&&Q(a.panel)&&((m=Q(a.panel))!=null&&m.contains(k)||(a.closePopover(),((b=(y=Q(a.beforePanelSentinel))==null?void 0:y.contains)!=null&&b.call(y,k)||(T=(C=Q(a.afterPanelSentinel))==null?void 0:C.contains)!=null&&T.call(C,k))&&k.focus({preventScroll:!0})))}let p=Ml();function E(){let w=Q(a.panel);if(!w)return;function m(){it(p.value,{[Et.Forwards]:()=>{var y;Dt(w,st.First)===Cs.Error&&((y=Q(a.afterPanelSentinel))==null||y.focus())},[Et.Backwards]:()=>{var y;(y=Q(a.button))==null||y.focus({preventScroll:!0})}})}m()}function v(){let w=Q(a.panel);if(!w)return;function m(){it(p.value,{[Et.Forwards]:()=>{let y=Q(a.button),b=Q(a.panel);if(!y)return;let C=ri(),T=C.indexOf(y),k=C.slice(0,T+1),P=[...C.slice(T+1),...k];for(let M of P.slice())if(M.dataset.headlessuiFocusGuard==="true"||b!=null&&b.contains(M)
34){let D=P.indexOf(M);D!==-1&&P.splice(D,1)}Dt(P,st.First,{sorted:!1})},[Et.Backwards]:()=>{var y;Dt(w,st.Previous)===Cs.Error&&((y=Q(a.button))==null||y.focus())}})}m()}return()=>{let w={open:a.popoverState.value===0,close:a.close},{focus:m,...y}=e,b={ref:a.panel,id:o,onKeydown:h,onFocusout:i&&a.popoverState.value===0?g:void 0,tabIndex:-1};return At({ourProps:b,theirProps:{...t,...y},attrs:t,slot:w,slots:{...n,default:(...C)=>{var T;return[le(ke,[d.value&&a.isPortalled.value&&le(sr,{id:c,ref:a.beforePanelSentinel,features:Dn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:E}),(T=n.default)==null?void 0:T.call(n,...C),d.value&&a.isPortalled.value&&le(sr,{id:u,ref:a.afterPanelSentinel,features:Dn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:v})])]}},features:jr.RenderStrategy|jr.Static,visible:d.value,name:"PopoverPanel"})}}}),CA=xe({name:"PopoverGroup",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n,expose:r}){let s=ee(null),o=mt([]),i=z(()=>nn(s)),a=uA();r({el:s,$el:s});function l(d){let h=o.value.indexOf(d);h!==-1&&o.value.splice(h,1)}function c(d){return o.value.push(d),()=>{l(d)}}function u(){var d;let h=i.value;if(!h)return!1;let g=h.activeElement;return(d=Q(s))!=null&&d.contains(g)?!0:o.value.some(p=>{var E,v;return((E=h.getElementById(p.buttonId.value))==null?void 0:E.contains(g))||((v=h.getElementById(p.panelId.value))==null?void 0:v.contains(g))})}function f(d){for(let h of o.value)h.buttonId.value!==d&&h.close()}return ge(Ag,{registerPopover:c,unregisterPopover:l,isFocusWithinPopoverGroup:u,closeOthers:f,mainTreeNodeRef:a.mainTreeNodeRef}),()=>le(ke,[At({ourProps:{ref:s},theirProps:{...e,...t},slot:{},attrs:t,slots:n,name:"PopoverGroup"}),le(a.MainTreeNode)])}});function TA(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function Hi(e,...t){e&&t.length>0&&e.classList.add(...t)}function zs(e,...t){e&&t.length>0&&e.classList.remove(...t)}var La=(e=>(e.Finished="finished",e.Cancelled="cancelled",e))(La||{});function AA(e,t){let n=Os();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:s}=getComputedStyle(e),[o,i]=[r,s].map(a=>{let[l=0]=a.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,u)=>u-c);return l});return o!==0?n.setTimeout(()=>t("finished"),o+i):t("finished"),n.add(()=>t("cancelled")),n.dispose}function ef(e,t,n,r,s,o){let i=Os(),a=o!==void 0?TA(o):()=>{};return zs(e,...s),Hi(e,...t,...n),i.nextFrame(()=>{zs(e,...n),Hi(e,...r),i.add(AA(e,l=>(zs(e,...r,...t),Hi(e,...s),a(l))))}),i.add(()=>zs(e,...t,...n,...r,...s)),i.add(()=>a("cancelled")),i.dispose}function Un(e=""){return e.split(/\s+/).filter(t=>t.length>1)}let Nl=Symbol("TransitionContext");var PA=(e=>(e.Visible="visible",e.Hidden="hidden",e))(PA||{});function xA(){return he(Nl,null)!==null}function RA(){let e=he(Nl,null);if(e===null)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return e}function kA(){let e=he(Fl,null);if(e===null)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return e}let Fl=Symbol("NestingContext");function oi(e){return"children"in e?oi(e.children):e.value.filter(({state:t})=>t==="visible").length>0}function Rg(e){let t=ee([]),n=ee(!1);We(()=>n.value=!0),yt(()=>n.value=!1);function r(o,i=kn.Hidden){let a=t.value.findIndex(({id:l})=>l===o);a!==-1&&(it(i,{[kn.Unmount](){t.value.splice(a,1)},[kn.Hidden](){t.value[a].state="hidden"}}),!oi(t)&&n.value&&e?.())}function s(o){let i=t.value.find(({id:a})=>a===o);return i?i.state!=="visible"&&(i.state="visible"):t.value.push({id:o,state:"visible"}),()=>r(o,kn.Unmount)}return{children:t,register:s,unregister:r}}let kg=jr.RenderStrategy,Ma=xe({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>
34!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:s}){let o=ee(0);function i(){o.value|=Ze.Opening,t("beforeEnter")}function a(){o.value&=~Ze.Opening,t("afterEnter")}function l(){o.value|=Ze.Closing,t("beforeLeave")}function c(){o.value&=~Ze.Closing,t("afterLeave")}if(!xA()&&YT())return()=>le(Og,{...e,onBeforeEnter:i,onAfterEnter:a,onBeforeLeave:l,onAfterLeave:c},r);let u=ee(null),f=z(()=>e.unmount?kn.Unmount:kn.Hidden);s({el:u,$el:u});let{show:d,appear:h}=RA(),{register:g,unregister:p}=kA(),E=ee(d.value?"visible":"hidden"),v={value:!0},w=Ln(),m={value:!1},y=Rg(()=>{!m.value&&E.value!=="hidden"&&(E.value="hidden",p(w),c())});We(()=>{let B=g(w);yt(B)}),ot(()=>{if(f.value===kn.Hidden&&w){if(d.value&&E.value!=="visible"){E.value="visible";return}it(E.value,{hidden:()=>p(w),visible:()=>g(w)})}});let b=Un(e.enter),C=Un(e.enterFrom),T=Un(e.enterTo),k=Un(e.entered),P=Un(e.leave),M=Un(e.leaveFrom),D=Un(e.leaveTo);We(()=>{ot(()=>{if(E.value==="visible"){let B=Q(u);if(B instanceof Comment&&B.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function L(B){let re=v.value&&!h.value,ue=Q(u);!ue||!(ue instanceof HTMLElement)||re||(m.value=!0,d.value&&i(),d.value||l(),B(d.value?ef(ue,b,C,T,k,q=>{m.value=!1,q===La.Finished&&a()}):ef(ue,P,M,D,k,q=>{m.value=!1,q===La.Finished&&(oi(y)||(E.value="hidden",p(w),c()))})))}return We(()=>{dt([d],(B,re,ue)=>{L(ue),v.value=!1},{immediate:!0})}),ge(Fl,y),gg(z(()=>it(E.value,{visible:Ze.Open,hidden:Ze.Closed})|o.value)),()=>{let{appear:B,show:re,enter:ue,enterFrom:q,enterTo:se,entered:ne,leave:je,leaveFrom:me,leaveTo:J,...de}=e,Ge={ref:u},Ke={...de,...h.value&&d.value&&Is.isServer?{class:pe([n.class,de.class,...b,...C])}:{}};return At({theirProps:Ke,ourProps:Ge,slot:{},slots:r,attrs:n,features:kg,visible:E.value==="visible",name:"TransitionChild"})}}}),OA=Ma,Og=xe({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r}){let s=si(),o=z(()=>e.show===null&&s!==null?(s.value&Ze.Open)===Ze.Open:e.show);ot(()=>{if(![!0,!1].includes(o.value))throw new Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.')});let i=ee(o.value?"visible":"hidden"),a=Rg(()=>{i.value="hidden"}),l=ee(!0),c={show:o,appear:z(()=>e.appear||!l.value)};return We(()=>{ot(()=>{l.value=!1,o.value?i.value="visible":oi(a)||(i.value="hidden")})}),ge(Fl,a),ge(Nl,c),()=>{let u=hg(e,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),f={unmount:e.unmount};return At({ourProps:{...f,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[le(OA,{onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave"),...n,...f,...u},r.default)]},attrs:{},features:kg,visible:i.value==="visible",name:"Transition"})}}});const IA=["src"],$A=["src"],LA=["src"],MA=["src"],DA={key:1,class:"animate-spin h-5 w-5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},NA=["src"],FA=["src"],jA=["src"],HA=["src"],Qs={__name:"Button",props:{activeIconPath:{type:String,default:""},ariaLabel:{type:String,default:"",required:!0},buttonStyle:{type:String,default:""},disabledIconPath:{type:String,default:""},element:{type:String,default:"a",validator:e=>["a","button","NuxtLink"].includes(e)},hoverIconPath:{type:String,default:""},url:{type:String,default:""},iconClass:{type:String,default:""},iconPosition:{type:String,default:"none",validator:e=>["before","after","none"].includes(e)},initialIconPath:{type:String,default:""},isLoading:{type:Boolean,default:!1},type:{type:String,default:"button",validator:e=>["button","submit","reset"].includes(e)}},setup(e,{expose:t}){const n=e,r=ee(null),s=["a","button","NuxtLink"],o=z(()=>{const{element:i}=n;if(i==="NuxtLink")return"NuxtLink";const a=s?.findIndex(l=>l?.toLowerCase()===i?.toLowerCase());return s?.[a]??"button"});return t({componentRef:r}),(i,a)=>(Ae(),Ot(Zf(o.value!=="NuxtLink"?o.value:H(vl)),nl({ref_key:"componentRef",ref:r,role:"button",type:e.type},o.value==="NuxtLink"?{to:e.url}:{href:e.url},{"aria-label":e.ariaLabel,class:[e.buttonStyle,{"items-center w-max":e.isLoading},"select-none group cursor-pointer disabled:cursor-not-allowed flex"]}),{default:X(()=>[e.initialIconPath&&e.iconPosition==="before"?(Ae(),ut(ke,{key:0}
34,[W("img",{src:e.initialIconPath,alt:"Button icon",class:pe(["group-hover:hidden group-active:hidden button-icon",e.iconClass])},null,10,IA),e.hoverIconPath?(Ae(),ut("img",{key:0,src:e.hoverIconPath,alt:"Button icon",class:pe(["hidden group-hover:block group-active:hidden button-icon",e.iconClass])},null,10,$A)):xt("",!0),e.activeIconPath?(Ae(),ut("img",{key:1,src:e.activeIconPath,alt:"Button icon",class:pe(["hidden group-active:block button-icon",e.iconClass])},null,10,LA)):xt("",!0),e.disabledIconPath?(Ae(),ut("img",{key:2,src:e.disabledIconPath,alt:"Button icon",class:pe(["mt-1 hidden group-disabled:block button-icon",e.iconClass])},null,10,MA)):xt("",!0)],64)):xt("",!0),e.isLoading?(Ae(),ut("svg",DA,[...a[0]||(a[0]=[W("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),W("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1)])])):Qm(i.$slots,"default",{key:2}),e.initialIconPath&&e.iconPosition==="after"?(Ae(),ut(ke,{key:3},[W("img",{src:e.initialIconPath,alt:"Button icon",class:pe(["group-hover:hidden group-active:hidden group-disabled:hidden button-icon",e.iconClass])},null,10,NA),e.hoverIconPath?(Ae(),ut("img",{key:0,src:e.hoverIconPath,alt:"Button icon",class:pe(["hidden group-hover:block group-active:hidden group-disabled:hidden button-icon",e.iconClass])},null,10,FA)):xt("",!0),e.activeIconPath?(Ae(),ut("img",{key:1,src:e.activeIconPath,alt:"Button icon",class:pe(["hidden group-active:block group-disabled:hidden button-icon",e.iconClass])},null,10,jA)):xt("",!0),e.disabledIconPath?(Ae(),ut("img",{key:2,src:e.disabledIconPath,alt:"Button icon",class:pe(["hidden group-disabled:block button-icon",e.iconClass])},null,10,HA)):xt("",!0)],64)):xt("",!0)]),_:3},16,["type","aria-label","class"]))}},BA={key:0,class:"bg-white border-b border-lighter-grey"},UA={class:"flex flex-wrap mx-auto max-w-7xl items-center justify-between gap-8 py-6 px-8 xl:px-0","aria-label":"Navigation"},VA=["src"],qA={class:"flex lg:hidden"},WA=["src"],GA={class:"hidden lg:flex flex-wrap items-center gap-5 lg:gap-8"},KA=["src"],zA={class:"flex flex-col gap-4 p-8 body-3-semi-bold text-granite"},QA=["src"],YA={class:"flex flex-col gap-4 p-8 body-3-semi-bold text-granite"},JA={class:"flex items-center justify-between"},XA=["src"],ZA=["src"],eP={class:"flow-root"},tP={class:"divide-y divide-gray-500/10"},nP={class:"flex flex-col space-y-6 py-6 pl-3 pr-1"},rP={class:"flex flex-col"},sP={class:"mt-2 ml-3 flex flex-col space-y-2 body-2-reg"},oP={class:"flex flex-col"},iP={class:"mt-2 ml-3 flex flex-col space-y-2 body-2-reg"},aP={class:"py-6"},Ig=xe({__name:"Navigation",async setup(e){let t,n;const r=he("cdn"),s=he("baseCdn"),i=Ne().public.brandSlug,{data:a}=([t,n]=rd(()=>og(Co` 35 *[ 36 _type == "brand" 37 && slug.current == "${i}" 38 ] [0] { 39 shouldShowPoppies 40 } 41`)),t=await t,n(),t),l=he("dashboardUrl"),c=Vr(),u=ee(!1),f=ee(null),d=E=>{f.value=E},h=()=>{f.value=null},{trackEvent:g}=bl(),p=(E,v)=>{typeof v=="function"&&v(),g("link click: header / "+E)};return(E,v)=>{const w=vl;return E.$config.public.holdingMode?xt("",!0):(Ae(),ut("header",BA,[W("nav",UA,[V(w,{to:"/","aria-label":"Home logo button",class:pe({"hover:cursor-auto":(E._.provides[gn]||E.$route).path==="/"}),onClick:v[0]||(v[0]=m=>p("Logo"))},{default:X(()=>[W("img",{src:H(a)?.shouldShowPoppies?`${H(s)}poppy-logos/mwp.svg`:`${H(r)}/logos/MWP-logo-2.svg`,alt:"My Wealth Private",class:"max-w-[181px]"},null,8,VA)]),_:1},8,["class"]),W("div",qA,[V(Qs,{element:"button",type:"button","aria-label":"Open menu button",onClick:v[1]||(v[1]=m=>p("mobile / Open main menu",()=>u.value=!0))},{default:X(()=>[v[29]||(v[29]=W("span",{class:"sr-only"},"Open main menu",-1)),W("img",{src:`${H(r)}/Icons/black/3-lines.svg`,"aria-hidden":"true",alt:"3 lines icon to open mobile menu"},null,8,WA)]),_:1})]),W("div",GA,[V(H(CA),{class:"flex lg:gap-x-12"},{default:X(()=>[W("div",{onMouseenter:v[6]||(v[6]=m=>d("about")),onMouseleave:v[7]||(v[7]=m=>h()),class:"relative"},[V(H($a),{class:"relative"},{default:X(()=>[V(H(Xc),{class:"flex items-center gap-2 body-3-semi-bold text-granite cursor-pointer"},{default:X(()=>
41[V(w,{to:"/about-us",class:pe([H(c).path==="/about-us"?"hover:cursor-auto text-lavender":"hover:underline"]),onClick:v[2]||(v[2]=m=>p("About Us"))},{default:X(()=>[...v[30]||(v[30]=[ve(" About Us ",-1)])]),_:1},8,["class"]),W("img",{src:`${H(r)}/Icons/black/arrow-down.svg`,class:pe([{"rotate-180":f.value==="about"},"flex-none size-5 mt-1"]),"aria-hidden":"true",alt:"arrow down icon"},null,10,KA)]),_:1}),V(na,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"opacity-0 translate-y-1","enter-to-class":"opacity-100 translate-y-0","leave-active-class":"transition ease-in duration-150","leave-from-class":"opacity-100 translate-y-0","leave-to-class":"opacity-0 translate-y-1"},{default:X(()=>[Kl(V(H(Zc),{static:"",class:"absolute -left-11 top-full z-10 mt-4 w-screen max-w-max overflow-hidden rounded-3xl bg-white shadow-lg ring-1 ring-gray-900/5 text-center"},{default:X(()=>[W("div",zA,[V(w,{to:"/about-us/our-isa-and-sipp",class:pe([H(c).path==="/about-us/our-isa-and-sipp"?"hover:cursor-auto text-lavender":"hover:underline"]),onClick:v[3]||(v[3]=m=>p("Our ISA & SIPP"))},{default:X(()=>[...v[31]||(v[31]=[ve(" Our ISA & SIPP ",-1)])]),_:1},8,["class"]),V(w,{to:"/about-us/our-advisers",class:pe([H(c).path==="/about-us/our-advisers"?"hover:cursor-auto text-lavender":"hover:underline"]),onClick:v[4]||(v[4]=m=>p("Our Advisers"))},{default:X(()=>[...v[32]||(v[32]=[ve(" Our Advisers ",-1)])]),_:1},8,["class"]),V(w,{to:"/about-us/testimonials",class:pe([H(c).path==="/about-us/testimonials"?"hover:cursor-auto text-lavender":"hover:underline"]),onClick:v[5]||(v[5]=m=>p("Testimonials"))},{default:X(()=>[...v[33]||(v[33]=[ve(" Testimonials ",-1)])]),_:1},8,["class"])])]),_:1},512),[[yu,f.value==="about"]])]),_:1})]),_:1})],32),V(w,{class:pe([H(c).path==="/investment-advice"?"hover:cursor-auto text-lavender":"hover:underline","body-3-semi-bold text-granite mt-[2px]"]),to:"/investment-advice",onClick:v[8]||(v[8]=m=>p("Investment Advice"))},{default:X(()=>[...v[34]||(v[34]=[ve(" Investment Advice ",-1)])]),_:1},8,["class"]),W("div",{onMouseenter:v[11]||(v[11]=m=>d("retirement")),onMouseleave:v[12]||(v[12]=m=>h()),class:"relative"},[V(H($a),{class:"relative"},{default:X(()=>[V(H(Xc),{class:"flex items-center gap-2 body-3-semi-bold text-granite cursor-pointer"},{default:X(({open:m})=>[V(w,{to:"/retirement-planning",class:pe([H(c).path==="/retirement-planning"?"hover:cursor-auto text-lavender":"hover:underline"]),onClick:v[9]||(v[9]=y=>p("Retirement Planning"))},{default:X(()=>[...v[35]||(v[35]=[ve(" Retirement Planning ",-1)])]),_:1},8,["class"]),W("img",{src:`${H(r)}/Icons/black/arrow-down.svg`,class:pe([{"rotate-180":f.value==="retirement"},"flex-none size-5 mt-1"]),"aria-hidden":"true",alt:"arrow down icon"},null,10,QA)]),_:1}),V(na,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"opacity-0 translate-y-1","enter-to-class":"opacity-100 translate-y-0","leave-active-class":"transition ease-in duration-150","leave-from-class":"opacity-100 translate-y-0","leave-to-class":"opacity-0 translate-y-1"},{default:X(()=>[Kl(V(H(Zc),{static:"",class:"absolute -left-12 top-full z-10 mt-4 w-screen max-w-max overflow-hidden rounded-3xl bg-white shadow-lg ring-1 ring-gray-900/5 text-center"},{default:X(()=>[W("div",YA,[V(w,{to:"/retirement-planning/defined-benefit-pensions",class:pe([H(c).path==="/retirement-planning/defined-benefit-pensions"?"hover:cursor-auto text-lavender":"hover:underline"]),onClick:v[10]||(v[10]=m=>p("Defined Benefit Pensions"))},{default:X(()=>[...v[36]||(v[36]=[ve(" Defined Benefit Pensions ",-1)])]),_:1},8,["class"])])]),_:1},512),[[yu,f.value==="retirement"]])]),_:1})]),_:1})],32),V(w,{to:"/news",class:pe([H(c).path==="/news"?"hover:cursor-auto text-lavender":"hover:underline","body-3-semi-bold text-granite mt-[2px]"]),onClick:v[13]||(v[13]=m=>p("News"))},{default:X(()=>[...v[37]||(v[37]=[ve(" News ",-1)])]),_:1}
41,8,["class"]),V(w,{to:"/get-in-touch",class:pe([H(c).path==="/get-in-touch"?"hover:cursor-auto text-lavender":"hover:underline","body-3-semi-bold text-granite mt-[2px]"]),onClick:v[14]||(v[14]=m=>p("Get In Touch"))},{default:X(()=>[...v[38]||(v[38]=[ve(" Get In Touch ",-1)])]),_:1},8,["class"])]),_:1}),W("div",null,[V(Qs,{url:H(l),element:"a",type:"button","aria-label":"login button",class:"body-3-bold large-secondary button-mobile lg:button-desktop rounded-full mx-auto lg:mx-0 w-max",onClick:v[15]||(v[15]=m=>p("Log in"))},{default:X(()=>[...v[39]||(v[39]=[ve(" Log in ",-1)])]),_:1},8,["url"])])])]),V(H(Og),{show:u.value,as:"template"},{default:X(()=>[V(H(wA),{class:"block lg:hidden",onClose:v[28]||(v[28]=m=>u.value=!1),open:u.value,"aria-label":"Mobile Navigation"},{default:X(()=>[V(H(Ma),{enter:"duration-300 ease-out","enter-from":"opacity-0","enter-to":"opacity-100",leave:"duration-200 ease-in","leave-from":"opacity-100","leave-to":"opacity-0"},{default:X(()=>[...v[40]||(v[40]=[W("div",{class:"fixed inset-0 z-10"},null,-1)])]),_:1}),V(H(Ma),{enter:"duration-300 ease-out","enter-from":"opacity-0 scale-95","enter-to":"opacity-100 scale-100",leave:"duration-200 ease-in","leave-from":"opacity-100 scale-100","leave-to":"opacity-0 scale-95"},{default:X(()=>[V(H(_A),{class:"text-granite fixed inset-y-0 right-0 z-10 w-full overflow-y-auto bg-white px-8 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10"},{default:X(()=>[W("div",JA,[V(w,{to:"/","aria-label":"Home logo button",class:pe({"hover:cursor-auto":(E._.provides[gn]||E.$route).path==="/"}),onClick:v[16]||(v[16]=m=>p("mobile / Logo",()=>u.value=!1))},{default:X(()=>[W("img",{src:H(a)?.shouldShowPoppies?`${H(s)}poppy-logos/mwp.svg`:`${H(r)}/logos/MWP-logo-2.svg`,alt:"My Wealth Private"},null,8,XA)]),_:1},8,["class"]),V(Qs,{onClick:v[17]||(v[17]=m=>p("mobile / Close main menu",()=>u.value=!1)),element:"button",type:"button","aria-label":"Close menu button"},{default:X(()=>[v[41]||(v[41]=W("span",{class:"sr-only"},"Close main menu",-1)),W("img",{src:`${H(r)}/Icons/black/Close.svg`,"aria-hidden":"true",alt:"x icon to close mobile menu"},null,8,ZA)]),_:1})]),W("div",eP,[W("div",tP,[W("div",nP,[W("div",rP,[V(w,{to:"/about-us",class:pe([H(c).path==="/about-us"?"hover:cursor-auto text-lavender":"hover:underline","body-1-semi-bold"]),onClick:v[18]||(v[18]=m=>p("mobile / About Us",()=>u.value=!1))},{default:X(()=>[...v[42]||(v[42]=[ve(" About Us ",-1)])]),_:1},8,["class"]),W("div",sP,[V(w,{to:"/about-us/our-isa-and-sipp",class:pe([H(c).path==="/about-us/our-isa-and-sipp"?"hover:cursor-auto text-lavender":"hover:underline"]),onClick:v[19]||(v[19]=m=>p("mobile / Our ISA & SIPP",()=>u.value=!1))},{default:X(()=>[...v[43]||(v[43]=[ve(" Our ISA & SIPP ",-1)])]),_:1},8,["class"]),V(w,{to:"/about-us/our-advisers",class:pe([H(c).path==="/about-us/our-advisers"?"hover:cursor-auto text-lavender":"hover:underline"]),onClick:v[20]||(v[20]=m=>p("mobile / Our Advisers",()=>u.value=!1))},{default:X(()=>[...v[44]||(v[44]=[ve(" Our Advisers ",-1)])]),_:1},8,["class"]),V(w,{to:"/about-us/testimonials",class:pe([H(c).path==="/about-us/testimonials"?"hover:cursor-auto text-lavender":"hover:underline"]),onClick:v[21]||(v[21]=m=>p("mobile / Testimonials",()=>u.value=!1))},{default:X(()=>[...v[45]||(v[45]=[ve(" Testimonials ",-1)])]),_:1},8,["class"])])]),V(w,{class:pe([H(c).path==="/investment-advice"?"hover:cursor-auto text-lavender":"hover:underline","body-1-semi-bold"]),to:"/investment-advice",onClick:v[22]||(v[22]=m=>p("mobile / Investment Advice",()=>u.value=!1))},{default:X(()=>[...v[46]||(v[46]=[ve(" Investment Advice ",-1)])]),_:1},8,["class"]),W("div",oP,[V(w,{to:"/retirement-planning",class:pe([H(c).path==="/retirement-planning"?"hover:cursor-auto text-lavender":"hover:underline","body-1-semi-bold"]),onClick:v[23]||(v[23]=m=>p("mobile / Retirement Planning",()=>u.value=!1))},{default:X(()=>[...v[47]||(v[47]=[ve(" Retirement Planning ",-1)])]),_:1},8,["class"]),W("div",iP,[V(w,{to:"/retirement-planning/defined-benefit-pensions",class:pe([H(c).path==="/retirement-planning/defined-benefit-pensions"?"hover:cursor-auto text-lavender":"hover:underline"]),onClick:v[24]||(v[24]=m=>p("mobile / Defined Benefit Pensions",()=>u.value=!1))},{default:X(()=>[...v[48]||(v[48]=[ve(" Defined Benefit Pensions ",-1)])]),_:1}
41,8,["class"])])]),V(w,{to:"/news",class:pe([H(c).path==="/news"?"hover:cursor-auto text-lavender":"hover:underline","body-1-semi-bold"]),onClick:v[25]||(v[25]=m=>p("mobile / News",()=>u.value=!1))},{default:X(()=>[...v[49]||(v[49]=[ve(" News ",-1)])]),_:1},8,["class"]),V(w,{to:"/get-in-touch",class:pe([H(c).path==="/get-in-touch"?"hover:cursor-auto text-lavender":"hover:underline","body-1-semi-bold py-2"]),onClick:v[26]||(v[26]=m=>p("mobile / Get In Touch",()=>u.value=!1))},{default:X(()=>[...v[50]||(v[50]=[ve(" Get In Touch ",-1)])]),_:1},8,["class"])]),W("div",aP,[V(Qs,{url:H(l),element:"a",type:"button","aria-label":"login button",class:"body-1-semi-bold large-secondary button-mobile lg:button-desktop rounded-full mx-auto lg:mx-0 w-max",onClick:v[27]||(v[27]=m=>p("mobile / Log in",()=>u.value=!1))},{default:X(()=>[...v[51]||(v[51]=[ve(" Log in ",-1)])]),_:1},8,["url"])])])])]),_:1})]),_:1})]),_:1},8,["open"])]),_:1},8,["show"])]))}}}),lP={class:"flex flex-col min-h-screen"},uP={class:"flex-grow"},cP=xe({__name:"app",setup(e){const t=Ne().public.cdnUrl,n=Ne().public.baseCdnUrl,r=Ne().public.dashboardUrl,s=Ne().public.googleMapsApiKey,o=Ne().public.submitUrl,i=Ne().public.trustpilotBusinessId,a=Ne().public.trustpilotWidget1,l=Ne().public.trustpilotWidget2,c=Ne().public.requestPasswordUrl,u=Ne().public.registerUrl;return ge("cdn",t),ge("baseCdn",n),ge("dashboardUrl",r),ge("submitUrl",o),ge("trustpilotBusinessId",i),ge("trustpilotWidget1",a),ge("trustpilotWidget2",l),ge("googleMapsApiKey",s),ge("requestPasswordUrl",c),ge("registerUrl",u),(f,d)=>{const h=NE,g=Dh;return Ae(),Ot(g,null,{default:X(()=>[W("div",lP,[V(Ig),W("main",uP,[V(h)]),V(ig)])]),_:1})}}}),fP={class:"flex flex-col min-h-screen"},dP={class:"relative overflow-hidden"},hP={class:"relative z-10"},pP={class:"flex flex-col pt-40"},gP={class:"mx-auto max-w-7xl flex flex-col justify-center items-center gap-6 px-8 xl:px-0"},mP={class:"display-xl"},yP={key:0},vP={class:"hidden md:flex -ml-2 -mb-2 -mt-10"},bP=["src"],wP=["src"],_P=xe({__name:"error",props:{error:Object},setup(e){const t=Ne().public.cdnUrl,n=Ne().public.dashboardUrl;ge("cdn",t),ge("dashboardUrl",n);const r=o=>o.statusCode===404?"Page not found":(o.statusCode===500,"An unexpected error occurred"),s=!1;return(o,i)=>{const a=Dh;return Ae(),Ot(a,null,{default:X(()=>[W("div",fP,[V(Ig),W("main",dP,[i[1]||(i[1]=W("div",{class:"absolute inset-0 w-full"},null,-1)),W("section",hP,[W("div",pP,[W("div",gP,[W("h1",mP,vr(e.error.statusCode),1),H(s)?(Ae(),ut("p",yP,vr(e.error),1)):xt("",!0),W("h2",null,vr(r(e.error)),1),i[0]||(i[0]=W("p",{class:"max-w-md text-center"}," We couldnât find the page youâre looking for. It might have been moved or doesnât exist anymore. ",-1))]),W("div",vP,[W("img",{src:`${H(t)}/placeholder/error-symbols.png`,alt:""},null,8,bP)]),W("img",{src:`${H(t)}/placeholder/error-symbols-mobile.png`,alt:"",class:"flex md:hidden"},null,8,wP)])])]),V(ig)])]),_:1})}}}),EP={key:0},tf={__name:"nuxt-root",setup(e){const t=()=>null,n=$e(),r=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",r);ht().beforeEach(c)}const s=!1;ge(gn,Vr()),n.hooks.callHookWith(c=>c.map(u=>u()),"vue:setup");const o=Wo(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Yf((c,u,f)=>{if(n.hooks.callHook("vue:error",c,u,f).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",c),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,c),!1;if(Jd(c)&&(c.fatal||c.unhandled))return n.runWithContext(()=>qn(c)),!1});const l=!1;return(c,u)=>(Ae(),Ot(tl,{onResolve:H(r)},{default:X(()=>[H(i)?(Ae(),ut("div",EP)):H(o)?(Ae(),Ot(H(_P),{key:1,error:H(o)},null,8,["error"])):H(l)?(Ae(),Ot(H(t),{key:2,context:H(l)},null,8,["context"])):H(s)?(Ae(),Ot(Zf(H(s)),{key:3})):(Ae(),Ot(H(cP),{key:4}))]),_:1},8,["onResolve"]))}};let nf;{let e;nf=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?pv(tf):hv(tf),s=Ob({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=In(i)}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)});try{await Lb(s,ME)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(xb),await s.hooks.callHook("app:mounted",r),await Mn()}catch(i){o(i)}return r},e=nf().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Q as $,al as A,sl as B,RP as C,Gv as D,Kv as E,ke as F,Iv as G,$e as H,AP as I,CP as J,We as K,SP as L,ht as M,Vr as N,dt as O,xP as P,bl as Q,eu as R,In as S,_h as T,Kl as U,PP as V,gn as W,yt as X,ot as Y,zT as Z,Qs as _,W as a,At as a0,ge as a1,si as a2,
41jr as a3,Ln as a4,gg as a5,it as a6,un as a7,Ze as a8,qc as a9,le as aa,IP as ab,OP as ac,Mb as ad,Qa as ae,sh as af,vT as ag,gp as ah,LP as ai,Ot as b,ut as c,xe as d,Qm as e,xt as f,V as g,ve as h,H as i,he as j,pe as k,Ne as l,rd as m,No as n,Ae as o,nl as p,ee as q,zm as r,vl as s,vr as t,TP as u,bT as v,X as w,og as x,Co as y,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.