PageSourceSearch

https://phasetwo-nuxt-oidc-example.vercel.app/_nuxt/entry.ccdb7f1d.js

js phasetwo-nuxt-oidc-example.vercel.app collected 2026-10-03 07:29:00 UTC 214,116 bytes, 11 lines download raw bytes

vendor: 14,001 bytes, line 1
1var ul=Object.defineProperty;var fl=(e,t,n)=>t in e?ul(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Dr=(e,t,n)=>(fl(e,typeof t!="symbol"?t+"":t,n),n);function Bs(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const fe={},Zt=[],We=()=>{},dl=()=>!1,hl=/^on[^a-z]/,Fn=e=>hl.test(e),qs=e=>e.startsWith("onUpdate:"),me=Object.assign,Ds=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pl=Object.prototype.hasOwnProperty,re=(e,t)=>pl.call(e,t),Q=Array.isArray,en=e=>Bn(e)==="[object Map]",ra=e=>Bn(e)==="[object Set]",gl=e=>Bn(e)==="[object RegExp]",X=e=>typeof e=="function",pe=e=>typeof e=="string",Ws=e=>typeof e=="symbol",le=e=>e!==null&&typeof e=="object",Ks=e=>le(e)&&X(e.then)&&X(e.catch),sa=Object.prototype.toString,Bn=e=>sa.call(e),_l=e=>Bn(e).slice(8,-1),ia=e=>Bn(e)==="[object Object]",zs=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Sn=Bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ml=/-(\w)/g,tt=kr(e=>e.replace(ml,(t,n)=>n?n.toUpperCase():"")),yl=/\B([A-Z])/g,fn=kr(e=>e.replace(yl,"-$1").toLowerCase()),Cr=kr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Wr=kr(e=>e?`on${Cr(e)}`:""),In=(e,t)=>!Object.is(e,t),En=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},cr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},vl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},oa=e=>{const t=pe(e)?Number(e):NaN;return isNaN(t)?e:t};let Pi;const as=()=>Pi||(Pi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Rr(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=pe(r)?El(r):Rr(r);if(s)for(const i in s)t[i]=s[i]}return t}else{if(pe(e))return e;if(le(e))return e}}const wl=/;(?![^(]*\))/g,bl=/:([^]+)/,Sl=/\/\*[^]*?\*\//g;function El(e){const t={};return e.replace(Sl,"").split(wl).forEach(n=>{if(n){const r=n.split(bl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Tr(e){let t="";if(pe(e))t=e;else if(Q(e))for(let n=0;n<e.length;n++){const r=Tr(e[n]);r&&(t+=r+" ")}else if(le(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function kl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!pe(t)&&(e.class=Tr(t)),n&&(e.style=Rr(n)),e}const Cl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Rl=Bs(Cl);function aa(e){return!!e||e===""}const K_=e=>pe(e)?e:e==null?"":Q(e)||le(e)&&(e.toString===sa||!X(e.toString))?JSON.stringify(e,ca,2):String(e),ca=(e,t)=>t&&t.__v_isRef?ca(e,t.value):en(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:ra(t)?{[`Set(${t.size})`]:[...t.values()]}:le(t)&&!Q(t)&&!ia(t)?String(t):t;let Me;class la{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Me,!t&&Me&&(this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Me;try{return Me=this,t()}finally{Me=n}}}on(){Me=this}off(){Me=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!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,this._active=!1}}}function ua(e){return new la(e)}function Tl(e,t=Me){t&&t.active&&t.effects.push(e)}function fa(){return Me}function xl(e){Me&&Me.cleanups.push(e)}const Js=e=>{const t=new Set(e);return t.w=0,t.n=0,t},da=e=>(e.w&Ct)>0,ha=e=>(e.n&Ct)>0,Pl=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ct},Al=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];da(s)&&!ha(s)?s.delete(e):t[n++]=s,s.w&=~Ct,s.n&=~Ct}t.length=n}},lr=new WeakMap;let vn=0,Ct=1;const cs=30;let qe;const $t=Symbol(""),ls=Symbol("");class Vs{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Tl(this,r)}run(){if(!this.active)return this.fn();let t=qe,n=bt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=qe,qe=this,bt=!0,Ct=1<<++vn,vn<=cs?Pl(this):Ai(this),this.fn()}finally{vn<=cs&&Al(this),Ct=1<<--vn,qe=this.parent,bt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){qe===this?this.deferStop=!0:this.active&&(Ai(this),this.onStop&&this.onStop(),this.active=!1)}}function Ai(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let bt=!0;const pa=[];function dn(){pa.push(bt),bt=!1}function hn(){const e=pa.pop();bt=e===void 0?!0:e}function Oe(e,t,n){if(bt&&qe){let r=lr.get(e);r||lr.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Js()),ga(s)}}function ga(e,t){let n=!1;vn<=cs?ha(e)||(e.n|=Ct,n=!da(e)):n=!e.has(qe),n&&(e.add(qe),qe.deps.push(e))}function ot(e,t,n,r,s,i){const o=lr.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&Q(e)){const c=Number(r);o.forEach((u,l)=>{(l==="length"||l>=c)&&a.push(u)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":Q(e)?zs(n)&&a.push(o.get("length")):(a.push(o.get($t)),en(e)&&a.push(o.get(ls)));break;case"delete":Q(e)||(a.push(o.get($t)),en(e)&&a.push(o.get(ls)));break;case"set":en(e)&&a.push(o.get($t));break}if(a.length===1)a[0]&&us(a[0]);else{const c=[];for(const u of a)u&&c.push(...u);us(Js(c))}}function us(e,t){const n=Q(e)?e:[...e];for(const r of n)r.computed&&Ii(r);for(const r of n)r.computed||Ii(r)}function Ii(e,t){(e!==qe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Il(e,t){var n;return(n=lr.get(e))==null?void 0:n.get(t)}const Ol=Bs("__proto__,__v_isRef,__isVue"),_a=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ws)),Hl=Qs(),Ml=Qs(!1,!0),Nl=Qs(!0),Oi=Ul();function Ul(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ne(this);for(let i=0,o=this.length;i<o;i++)Oe(r,"get",i+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(ne)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){dn();const r=ne(this)[t].apply(this,n);return hn(),r}}),e}function $l(e){const t=ne(this);return Oe(t,"has",e),t.hasOwnProperty(e)}function Qs(e=!1,t=!1){return function(r,s,i){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&i===(e?t?Zl:ba:t?wa:va).get(r))return r;const o=Q(r);if(!e){if(o&&re(Oi,s))return Reflect.get(Oi,s,i);if(s==="hasOwnProperty")return $l}const a=Reflect.get(r,s,i);return(Ws(s)?_a.has(s):Ol(s))||(e||Oe(r,"get",s),t)?a:de(a)?o&&zs(s)?a:a.value:le(a)?e?Sa(a):at(a):a}}const jl=ma(),Ll=ma(!0);function ma(e=!1){return function(n,r,s,i){let o=n[r];if(Bt(o)&&de(o)&&!de(s))return!1;if(!e&&(!ur(s)&&!Bt(s)&&(o=ne(o),s=ne(s)),!Q(n)&&de(o)&&!de(s)))return o.value=s,!0;const a=Q(n)&&zs(r)?Number(r)<n.length:re(n,r),c=Reflect.set(n,r,s,i);return n===ne(i)&&(a?In(s,o)&&ot(n,"set",r,s):ot(n,"add",r,s)),c}}function Fl(e,t){const n=re(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&ot(e,"delete",t,void 0),r}function Bl(e,t){const n=Reflect.has(e,t);return(!Ws(t)||!_a.has(t))&&Oe(e,"has",t),n}function ql(e){return Oe(e,"iterate",Q(e)?"length":$t),Reflect.ownKeys(e)}const ya={get:Hl,set:jl,deleteProperty:Fl,has:Bl,ownKeys:ql},Dl={get:Nl,set(e,t){return!0},deleteProperty(e,t){return!0}},Wl=me({},ya,{get:Ml,set:Ll}),Ys=e=>e,xr=e=>Reflect.getPrototypeOf(e);function Vn(e,t,n=!1,r=!1){e=e.__v_raw;const s=ne(e),i=ne(t);n||(t!==i&&Oe(s,"get",t),Oe(s,"get",i));const{has:o}=xr(s),a=r?Ys:n?Zs:On;if(o.call(s,t))return a(e.get(t));if(o.call(s,i))return a(e.get(i));e!==s&&e.get(t)}function Qn(e,t=!1){const n=this.__v_raw,r=ne(n),s=ne(e);return t||(e!==s&&Oe(r,"has",e),Oe(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Yn(e,t=!1){return e=e.__v_raw,!t&&Oe(ne(e),"iterate",$t),Reflect.get(e,"size",e)}function Hi(e){e=ne(e);const t=ne(this);return xr(t).has.call(t,e)||(t.add(e),ot(t,"add",e,e)),this}function Mi(e,t){t=ne(t);const n=ne(this),{has:r,get:s}=xr(n);let i=r.call(n,e);i||(e=ne(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?In(t,o)&&ot(n,"set",e,t):ot(n,"add",e,t),this}function Ni(e){const t=ne(this),{has:n,get:r}=xr(t);let s=n.call(t,e);s||(e=ne(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&ot(t,"delete",e,void 0),i}function Ui(){const e=ne(this),t=e.size!==0,n=e.clear();return t&&ot(e,"clear",void 0,void 0),n}function Xn(e,t){return function(r,s){const i=this,o=i.__v_raw,a=ne(o),c=t?Ys:e?Zs:On;return!e&&Oe(a,"iterate",$t),o.forEach((u,l)=>r.call(s,c(u),c(l),i))}}function Gn(e,t,n){return function(...r){const s=this.__v_raw,i=ne(s),o=en(i),a=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=s[e](...r),l=n?Ys:t?Zs:On;return!t&&Oe(i,"iterate",c?ls:$t),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[l(f[0]),l(f[1])]:l(f),done:h}},[Symbol.iterator](){return this}}}}function ft(e){return function(...t){return e==="delete"?!1:this}}function Kl(){const e={get(i){return Vn(this,i)},get size(){return Yn(this)},has:Qn,add:Hi,set:Mi,delete:Ni,clear:Ui,forEach:Xn(!1,!1)},t={get(i){return Vn(this,i,!1,!0)},get size(){return Yn(this)},has:Qn,add:Hi,set:Mi,delete:Ni,clear:Ui,forEach:Xn(!1,!0)},n={get(i){return Vn(this,i,!0)},get size(){return Yn(this,!0)},has(i){return Qn.call(this,i,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:Xn(!0,!1)},r={get(i){return Vn(this,i,!0,!0)},get size(){return Yn(this,!0)},has(i){return Qn.call(this,i,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:Xn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Gn(i,!1,!1),n[i]=Gn(i,!0,!1),t[i]=Gn(i,!1,!0),r[i]=Gn(i,!0,!0)}),[e,n,t,r]}const[zl,Jl,Vl,Ql]=Kl();function Xs(e,t){const n=t?e?Ql:Vl:e?Jl:zl;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(re(n,s)&&s in r?n:r,s,i)}const Yl={get:Xs(!1,!1)},Xl={get:Xs(!1,!0)},Gl={get:Xs(!0,!1)},va=new WeakMap,wa=new WeakMap,ba=new WeakMap,Zl=new WeakMap;function eu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tu(e){return e.__v_skip||!Object.isExtensible(e)?0:eu(_l(e))}function at(e){return Bt(e)?e:Gs(e,!1,ya,Yl,va)}function qn(e){return Gs(e,!1,Wl,Xl,wa)}function Sa(e){return Gs(e,!0,Dl,Gl,ba)}function Gs(e,t,n,r,s){if(!le(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=tu(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function St(e){return Bt(e)?St(e.__v_raw):!!(e&&e.__v_isReactive)}function Bt(e){return!!(e&&e.__v_isReadonly)}function ur(e){return!!(e&&e.__v_isShallow)}function Ea(e){return St(e)||Bt(e)}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function Pr(e){return cr(e,"__v_skip",!0),e}const On=e=>le(e)?at(e):e,Zs=e=>le(e)?Sa(e):e;function ka(e){bt&&qe&&(e=ne(e),ga(e.dep||(e.dep=Js())))}function Ca(e,t){e=ne(e);const n=e.dep;n&&us(n)}function de(e){return!!(e&&e.__v_isRef===!0)}function Ie(e){return Ra(e,!1)}function Hn(e){return Ra(e,!0)}function Ra(e,t){return de(e)?e:new nu(e,t)}class nu{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ne(t),this._value=n?t:On(t)}get value(){return ka(this),this._value}set value(t){const n=this.__v_isShallow||ur(t)||Bt(t);t=n?t:ne(t),In(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:On(t),Ca(this))}}function ue(e){return de(e)?e.value:e}const ru={get:(e,t,n)=>ue(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return de(s)&&!de(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Ta(e){return St(e)?e:new Proxy(e,ru)}function su(e){const t=Q(e)?new Array(e.length):{};for(const n in e)t[n]=Pa(e,n);return t}class iu{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Il(ne(this._object),this._key)}}class ou{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xa(e,t,n){return de(e)?e:X(e)?new ou(e):le(e)&&arguments.length>1?Pa(e,t,n):Ie(e)}function Pa(e,t,n){const r=e[t];return de(r)?r:new iu(e,t,n)}class au{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Vs(t,()=>{this._dirty||(this._dirty=!0,Ca(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ne(this);return ka(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function cu(e,t,n=!1){let r,s;const i=X(e);return i?(r=e,s=We):(r=e.get,s=e.set),new au(r,s,i||!s,n)}function Et(e,t,n,r){let s;try{s=r?e(...r):e()}catch(i){pn(i,t,n)}return s}function Le(e,t,n,r){if(X(e)){const i=Et(e,t,n,r);return i&&Ks(i)&&i.catch(o=>{pn(o,t,n)}),i}const s=[];for(let i=0;i<e.length;i++)s.push(Le(e[i],t,n,r));return s}function pn(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,a=n;for(;i;){const u=i.ec;if(u){for(let l=0;l<u.length;l++)if(u[l](e,o,a)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){Et(c,null,10,[e,o,a]);return}}lu(e,n,s,r)}function lu(e,t,n,r=!0){console.error(e)}let Mn=!1,fs=!1;const Se=[];let Ge=0;const tn=[];let st=null,Ht=0;const Aa=Promise.resolve();let ei=null;function Tt(e){const t=ei||Aa;return e?t.then(this?e.bind(this):e):t}function uu(e){let t=Ge+1,n=Se.length;for(;t<n;){const r=t+n>>>1;Nn(Se[r])<e?t=r+1:n=r}return t}function Ar(e){(!Se.length||!Se.includes(e,Mn&&e.allowRecurse?Ge+1:Ge))&&(e.id==null?Se.pu
vendor: 5,096 bytes, line 1
1sh(e):Se.splice(uu(e.id),0,e),Ia())}function Ia(){!Mn&&!fs&&(fs=!0,ei=Aa.then(Ha))}function fu(e){const t=Se.indexOf(e);t>Ge&&Se.splice(t,1)}function Oa(e){Q(e)?tn.push(...e):(!st||!st.includes(e,e.allowRecurse?Ht+1:Ht))&&tn.push(e),Ia()}function $i(e,t=Mn?Ge+1:0){for(;t<Se.length;t++){const n=Se[t];n&&n.pre&&(Se.splice(t,1),t--,n())}}function fr(e){if(tn.length){const t=[...new Set(tn)];if(tn.length=0,st){st.push(...t);return}for(st=t,st.sort((n,r)=>Nn(n)-Nn(r)),Ht=0;Ht<st.length;Ht++)st[Ht]();st=null,Ht=0}}const Nn=e=>e.id==null?1/0:e.id,du=(e,t)=>{const n=Nn(e)-Nn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ha(e){fs=!1,Mn=!0,Se.sort(du);const t=We;try{for(Ge=0;Ge<Se.length;Ge++){const n=Se[Ge];n&&n.active!==!1&&Et(n,null,14)}}finally{Ge=0,Se.length=0,fr(),Mn=!1,ei=null,(Se.length||tn.length)&&Ha()}}function hu(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||fe;let s=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in r){const l=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:h}=r[l]||fe;h&&(s=n.map(g=>pe(g)?g.trim():g)),f&&(s=n.map(vl))}let a,c=r[a=Wr(t)]||r[a=Wr(tt(t))];!c&&i&&(c=r[a=Wr(fn(t))]),c&&Le(c,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Le(u,e,6,s)}}function Ma(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!X(e)){const c=u=>{const l=Ma(u,t,!0);l&&(a=!0,me(o,l))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!a?(le(e)&&r.set(e,null),null):(Q(i)?i.forEach(c=>o[c]=null):me(o,i),le(e)&&r.set(e,o),o)}function Ir(e,t){return!e||!Fn(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,fn(t))||re(e,t))}let we=null,Or=null;function dr(e){const t=we;return we=e,Or=e&&e.type.__scopeId||null,t}function z_(e){Or=e}function J_(){Or=null}function ti(e,t=we,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Xi(-1);const i=dr(t);let o;try{o=e(...s)}finally{dr(i),r._d&&Xi(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Kr(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[o],slots:a,attrs:c,emit:u,render:l,renderCache:f,data:h,setupState:g,ctx:w,inheritAttrs:S}=e;let R,y;const d=dr(e);try{if(n.shapeFlag&4){const m=s||r;R=$e(l.call(m,m,f,i,g,h,w)),y=c}else{const m=t;R=$e(m.length>1?m(i,{attrs:c,slots:a,emit:u}):m(i,null)),y=t.props?c:gu(c)}}catch(m){Cn.length=0,pn(m,e,1),R=he(Re)}let v=R;if(y&&S!==!1){const m=Object.keys(y),{shapeFlag:E}=v;m.length&&E&7&&(o&&m.some(qs)&&(y=_u(y,o)),v=ct(v,y))}return n.dirs&&(v=ct(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),R=v,dr(d),R}function pu(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(on(r)){if(r.type!==Re||r.children==="v-if"){if(t)return;t=r}}else return}return t}const gu=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fn(n))&&((t||(t={}))[n]=e[n]);return t},_u=(e,t)=>{const n={};for(const r in e)(!qs(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function mu(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?ji(r,o,u):!!o;if(c&8){const l=t.dynamicProps;for(let f=0;f<l.length;f++){const h=l[f];if(o[h]!==r[h]&&!Ir(u,h))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?ji(r,o,u):!0:!!o;return!1}function ji(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 i=r[s];if(t[i]!==e[i]&&!Ir(n,i))return!0}return!1}function ni({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Na=e=>e.__isSuspense,yu={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,i,o,a,c,u){e==null?vu(t,n,r,s,i,o,a,c,u):wu(e,t,n,r,s,o,a,c,u)},hydrate:bu,create:si,normalize:Su},ri=yu;function Un(e,t){const n=e.props&&e.props[t];X(n)&&n()}function vu(e,t,n,r,s,i,o,a,c){const{p:u,o:{createElement:l}}=c,f=l("div"),h=e.suspense=si(e,s,r,t,f,n,i,o,a,c);u(null,h.pendingBranch=e.ssContent,f,null,r,h,i,o),h.deps>0?(Un(e,"onPending"),Un(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,o),nn(h,e.ssFallback)):h.resolve(!1,!0)}function wu(e,t,n,r,s,i,o,a,{p:c,um:u,o:{createElement:l}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,g=t.ssFallback,{activeBranch:w,pendingBranch:S,isInFallback:R,isHydrating:y}=f;if(S)f.pendingBranch=h,De(h,S)?(c(S,h,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0?f.resolve():R&&(c(w,g,n,r,s,null,i,o,a),nn(f,g))):(f.pendingId++,y?(f.isHydrating=!1,f.activeBranch=S):u(S,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=l("div"),R?(c(null,h,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0?f.resolve():(c(w,g,n,r,s,null,i,o,a),nn(f,g))):w&&De(h,w)?(c(w,h,n,r,s,f,i,o,a),f.resolve(!0)):(c(null,h,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0&&f.resolve()));else if(w&&De(h,w))c(w,h,n,r,s,f,i,o,a),nn(f,h);else if(Un(t,"onPending"),f.pendingBranch=h,f.pendingId++,c(null,h,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0)f.resolve();
1else{const{timeout:d,pendingId:v}=f;d>0?setTimeout(()=>{f.pendingId===v&&f.fallback(g)},d):d===0&&f.fallback(g)}}function si(e,t,n,r,s,i,o,a,c,u,l=!1){const{p:f,m:h,um:g,n:w,o:{parentNode:S,remove:R}}=u;let y;const d=Eu(e);d&&t!=null&&t.pendingBranch&&(y=t.pendingId,t.deps++);const v=e.props?oa(e.props.timeout):void 0,m={vnode:e,parent:t,parentComponent:n,isSVG:o,container:r,hiddenContainer:s,anchor:i,deps:0,pendingId:0,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:l,isUnmounted:!1,effects:[],resolve(E=!1,A=!1){const{vnode:P,activeBranch:k,pendingBranch:I,pendingId:U,effects:B,parentComponent:N,container:W}=m;if(m.isHydrating)m.isHydrating=!1;else if(!E){const V=k&&I.transition&&I.transition.mode==="out-in";V&&(k.transition.afterLeave=()=>{U===m.pendingId&&h(I,W,Z,0)});let{anchor:Z}=m;k&&(Z=w(k),g(k,N,m,!0)),V||h(I,W,Z,0)}nn(m,I),m.pendingBranch=null,m.isInFallback=!1;let F=m.parent,se=!1;for(;F;){if(F.pendingBranch){F.effects.push(...B),se=!0;break}F=F.parent}se||Oa(B),m.effects=[],d&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!A&&t.resolve()),Un(P,"onResolve")},fallback(E){if(!m.pendingBranch)return;const{vnode:A,activeBranch:P,parentComponent:k,container:I,isSVG:U}=m;Un(A,"onFallback");const B=w(P),N=()=>{m.isInFallback&&(f(null,E,I,B,k,null,U,a,c),nn(m,E))},W=E.transition&&E.transition.mode==="out-in";W&&(P.transition.afterLeave=N),m.isInFallback=!0,g(P,k,null,!0),W||N()},move(E,A,P){m.activeBranch&&h(m.activeBranch,E,A,P),m.container=E},next(){return m.activeBranch&&w(m.activeBranch)},registerDep(E,A){const P=!!m.pendingBranch;P&&m.deps++;const k=E.vnode.el;E.asyncDep.catch(I=>{pn(I,E,0)}).then(I=>{if(E.isUnmounted||m.isUnmounted||m.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:U}=E;ms(E,I,!1),k&&(U.el=k);const B=!k&&E.subTree.el;A(E,U,S(k||E.subTree.el),k?null:w(E.subTree),m,o,c),B&&R(B),ni(E,U.el),P&&--m.deps===0&&m.resolve()})},unmount(E,A){m.isUnmounted=!0,m.activeBranch&&g(m.activeBranch,n,E,A),m.pendingBranch&&g(m.pendingBranch,n,E,A)}};return m}function bu(e,t,n,r,s,i,o,a,c){const u=t.suspense=si(t,r,n,e.parentNode,document.createElement("div"),null,s,i,o,a,!0),l=c(e,u.pendingBranch=t.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),l}function Su(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Li(r?n.default:n),e.ssFallback=r?Li(n.fallback):he(Re)}function Li(e){let t;if(X(e)){const n=sn&&e._c;n&&(e._d=!1,Ze()),e=e(),n&&(e._d=!0,t=je,ic())}return Q(e)&&(e=pu(e)),e=$e(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ua(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Oa(e)}function nn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,ni(r,s))}function Eu(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function ku(e,t){return ii(e,null,t)}const Zn={};function jt(e,t,n){return ii(e,t,n)}function ii(e,t,{immediate:n,deep:r,flush:s,onTrack:i,onTrigger:o}=fe){var a;const c=fa()===((a=_e)==null?void 0:a.scope)?_e:null;let u,l=!1,f=!1;if(de(e)?(u=()=>e.value,l=ur(e)):St(e)?(u=()=>e,r=!0):Q(e)?(f=!0,l=e.some(m=>St(m)||ur(m)),u=()=>e.map(m=>{if(de(m))return m.value;if(St(m))return Xt(m);if(X(m))return Et(m,c,2)})):X(e)?t?u=()=>Et(e,c,2):u=()=>{if(!(c&&c.isUnmounted))return h&&h(),Le(e,c,3,[g])}:u=We,t&&r){const m=u;u=()=>Xt(m())}let h,g=m=>{h=d.onStop=()=>{Et(m,c,4)}},w;if(an)if(g=We,t?n&&Le(t,c,3,[u(),f?[]:void 0,g]):u(),s==="sync"){const m=hf();w=m.__watcherHandles||(m.__watcherHandles=[])}else return We;let S=f?new Array(e.length).fill(Zn):Zn;const R=()=>{if(d.active)if(t){const m=d.run();(r||l||(f?m.some((E,A)=>In(E,S[A])):In(m,S)))&&(h&&h(),Le(t,c,3,[m,S===Zn?void 0:f&&S[0]===Zn?[]:S,g]),S=m)}else d.run()};R.allowRecurse=!!t;let y;s==="sync"?y=R:s==="post"?y=()=>ve(R,c&&c.suspense):(R.pre=!0,c&&(R.id=c.uid),y=()=>Ar(R));const d=new Vs(u,y);t?n?R():S=d.run():s==="post"?ve(d.run.bind(d),c&&c.suspense):d.run();const v=()=>{d.stop(),c&&c.scope&&Ds(c.scope.effects,d)};return w&&w.push(v),v}function Cu(e,t,n){const r=this.proxy,s=pe(e)?e.includes(".")?$a(r,e):()=>r[e]:e.bind(r,r);let i;X(t)?i=t:(i=t.handler,n=t);const o=_e;Rt(this);const a=ii(s,i.bind(r),n);return o?Rt(o):kt(),a}function $a(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}}function Xt(e,t){if(!le(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),de(e))Xt(e.value,t);else if(Q(e))for(let n=0;n<e.length;n++)Xt(e[n],t);else if(ra(e)||en(e))e.forEach(n=>{Xt(n,t)});else if(ia(e))for(const n in e)Xt(e[n],t);return e}function Xe(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const a=s[o];i&&(a.oldValue=i[o].value);let c=a.dir[r];c&&(dn(),Le(c,n,8,[e.el,a,e,t]),hn())}}function Ru(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leav
1ingVNodes:new Map};return oi(()=>{e.isMounted=!0}),Mr(()=>{e.isUnmounting=!0}),e}const Ue=[Function,Array],ja={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ue,onEnter:Ue,onAfterEnter:Ue,onEnterCancelled:Ue,onBeforeLeave:Ue,onLeave:Ue,onAfterLeave:Ue,onLeaveCancelled:Ue,onBeforeAppear:Ue,onAppear:Ue,onAfterAppear:Ue,onAppearCancelled:Ue},Tu={name:"BaseTransition",props:ja,setup(e,{slots:t}){const n=Wn(),r=Ru();let s;return()=>{const i=t.default&&Fa(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const S of i)if(S.type!==Re){o=S;break}}const a=ne(e),{mode:c}=a;if(r.isLeaving)return zr(o);const u=Fi(o);if(!u)return zr(o);const l=ds(u,a,r,n);hr(u,l);const f=n.subTree,h=f&&Fi(f);let g=!1;const{getTransitionKey:w}=u.type;if(w){const S=w();s===void 0?s=S:S!==s&&(s=S,g=!0)}if(h&&h.type!==Re&&(!De(u,h)||g)){const S=ds(h,a,r,n);if(hr(h,S),c==="out-in")return r.isLeaving=!0,S.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},zr(o);c==="in-out"&&u.type!==Re&&(S.delayLeave=(R,y,d)=>{const v=La(r,h);v[String(h.key)]=h,R._leaveCb=()=>{y(),R._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=d})}return o}}},xu=Tu;function La(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 ds(e,t,n,r){const{appear:s,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:l,onBeforeLeave:f,onLeave:h,onAfterLeave:g,onLeaveCancelled:w,onBeforeAppear:S,onAppear:R,onAfterAppear:y,onAppearCancelled:d}=t,v=String(e.key),m=La(n,e),E=(k,I)=>{k&&Le(k,r,9,I)},A=(k,I)=>{const U=I[1];E(k,I),Q(k)?k.every(B=>B.length<=1)&&U():k.length<=1&&U()},P={mode:i,persisted:o,beforeEnter(k){let I=a;if(!n.isMounted)if(s)I=S||a;else return;k._leaveCb&&k._leaveCb(!0);const U=m[v];U&&De(e,U)&&U.el._leaveCb&&U.el._leaveCb(),E(I,[k])},enter(k){let I=c,U=u,B=l;if(!n.isMounted)if(s)I=R||c,U=y||u,B=d||l;else return;let N=!1;const W=k._enterCb=F=>{N||(N=!0,F?E(B,[k]):E(U,[k]),P.delayedLeave&&P.delayedLeave(),k._enterCb=void 0)};I?A(I,[k,W]):W()},leave(k,I){const U=String(e.key);if(k._enterCb&&k._enterCb(!0),n.isUnmounting)return I();E(f,[k]);let B=!1;const N=k._leaveCb=W=>{B||(B=!0,I(),W?E(w,[k]):E(g,[k]),k._leaveCb=void 0,m[U]===e&&delete m[U])};m[U]=e,h?A(h,[k,N]):N()},clone(k){return ds(k,t,n,r)}};return P}function zr(e){if(Dn(e))return e=ct(e),e.children=null,e}function Fi(e){return Dn(e)?e.children?e.children[0]:void 0:e}function hr(e,t){e.shapeFlag&6&&e.component?hr(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 Fa(e,t=!1,n){let r=[],s=0;for(let i=0;i<e.length;i++){let o=e[i];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Ae?(o.patchFlag&128&&s++,r=r.concat(Fa(o.children,t,a))):(t||o.type!==Re)&&r.push(a!=null?ct(o,{key:a}):o)}if(s>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function xt(e,t){return X(e)?(()=>me({name:e.name},t,{setup:e}))():e}const Lt=e=>!!e.type.__asyncLoader;function Bi(e){X(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:i,suspensible:o=!0,onError:a}=e;let c=null,u,l=0;const f=()=>(l++,c=null,h()),h=()=>{let g;return c||(g=c=t().catch(w=>{if(w=w instanceof Error?w:new Error(String(w)),a)return new Promise((S,R)=>{a(w,()=>S(f()),()=>R(w),l+1)});throw w}).then(w=>g!==c&&c?c:(w&&(w.__esModule||w[Symbol.toStringTag]==="Module")&&(w=w.default),u=w,w)))};return xt({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return u},setup(){const g=_e;if(u)return()=>Jr(u,g);const w=d=>{c=null,pn(d,g,13,!r)};if(o&&g.suspense||an)return h().then(d=>()=>Jr(d,g)).catch(d=>(w(d),()=>r?he(r,{error:d}):null));const S=Ie(!1),R=Ie(),y=Ie(!!s);return s&&setTimeout(()=>{y.value=!1},s),i!=null&&setTimeout(()=>{if(!S.value&&!R.value){const d=new Error(`Async component timed out after ${i}ms.`);w(d),R.value=d}},i),h().then(()=>{S.value=!0,g.parent&&Dn(g.parent.vnode)&&Ar(g.parent.update)}).catch(d=>{w(d),R.value=d}),()=>{if(S.value&&u)return Jr(u,g);if(R.value&&r)return he(r,{error:R.value});if(n&&!y.value)return he(n)}}})}function Jr(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,o=he(e,r,s);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const Dn=e=>e.type.__isKeepAlive,Pu={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array
vendor: 9,012 bytes, line 1
1],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Wn(),r=n.ctx;if(!r.renderer)return()=>{const d=t.default&&t.default();return d&&d.length===1?d[0]:d};const s=new Map,i=new Set;let o=null;const a=n.suspense,{renderer:{p:c,m:u,um:l,o:{createElement:f}}}=r,h=f("div");r.activate=(d,v,m,E,A)=>{const P=d.component;u(d,v,m,0,a),c(P.vnode,d,v,m,P,a,E,d.slotScopeIds,A),ve(()=>{P.isDeactivated=!1,P.a&&En(P.a);const k=d.props&&d.props.onVnodeMounted;k&&Pe(k,P.parent,d)},a)},r.deactivate=d=>{const v=d.component;u(d,h,null,1,a),ve(()=>{v.da&&En(v.da);const m=d.props&&d.props.onVnodeUnmounted;m&&Pe(m,v.parent,d),v.isDeactivated=!0},a)};function g(d){Vr(d),l(d,n,a,!0)}function w(d){s.forEach((v,m)=>{const E=ys(v.type);E&&(!d||!d(E))&&S(m)})}function S(d){const v=s.get(d);!o||!De(v,o)?g(v):o&&Vr(o),s.delete(d),i.delete(d)}jt(()=>[e.include,e.exclude],([d,v])=>{d&&w(m=>wn(d,m)),v&&w(m=>!wn(v,m))},{flush:"post",deep:!0});let R=null;const y=()=>{R!=null&&s.set(R,Qr(n.subTree))};return oi(y),Wa(y),Mr(()=>{s.forEach(d=>{const{subTree:v,suspense:m}=n,E=Qr(v);if(d.type===E.type&&d.key===E.key){Vr(E);const A=E.component.da;A&&ve(A,m);return}g(d)})}),()=>{if(R=null,!t.default)return null;const d=t.default(),v=d[0];if(d.length>1)return o=null,d;if(!on(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return o=null,v;let m=Qr(v);const E=m.type,A=ys(Lt(m)?m.type.__asyncResolved||{}:E),{include:P,exclude:k,max:I}=e;if(P&&(!A||!wn(P,A))||k&&A&&wn(k,A))return o=m,v;const U=m.key==null?E:m.key,B=s.get(U);return m.el&&(m=ct(m),v.shapeFlag&128&&(v.ssContent=m)),R=U,B?(m.el=B.el,m.component=B.component,m.transition&&hr(m,m.transition),m.shapeFlag|=512,i.delete(U),i.add(U)):(i.add(U),I&&i.size>parseInt(I,10)&&S(i.values().next().value)),m.shapeFlag|=256,o=m,Na(v.type)?v:m}}},Au=Pu;function wn(e,t){return Q(e)?e.some(n=>wn(n,t)):pe(e)?e.split(",").includes(t):gl(e)?e.test(t):!1}function Ba(e,t){Da(e,"a",t)}function qa(e,t){Da(e,"da",t)}function Da(e,t,n=_e){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Hr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Dn(s.parent.vnode)&&Iu(r,t,n,s),s=s.parent}}function Iu(e,t,n,r){const s=Hr(t,e,r,!0);Ka(()=>{Ds(r[t],s)},n)}function Vr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Qr(e){return e.shapeFlag&128?e.ssContent:e}function Hr(e,t,n=_e,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;dn(),Rt(n);const a=Le(t,n,e,o);return kt(),hn(),a});return r?s.unshift(i):s.push(i),i}}const lt=e=>(t,n=_e)=>(!an||e==="sp")&&Hr(e,(...r)=>t(...r),n),Ou=lt("bm"),oi=lt("m"),Hu=lt("bu"),Wa=lt("u"),Mr=lt("bum"),Ka=lt("um"),Mu=lt("sp"),Nu=lt("rtg"),Uu=lt("rtc");function za(e,t=_e){Hr("ec",e,t)}const ai="components";function V_(e,t){return Va(ai,e,!0,t)||e}const Ja=Symbol.for("v-ndc");function $u(e){return pe(e)?Va(ai,e,!1)||e:e||Ja}function Va(e,t,n=!0,r=!1){const s=we||_e;if(s){const i=s.type;if(e===ai){const a=ys(i,!1);if(a&&(a===t||a===tt(t)||a===Cr(tt(t))))return i}const o=qi(s[e]||i[e],t)||qi(s.appContext[e],t);return!o&&r?i:o}}function qi(e,t){return e&&(e[t]||e[tt(t)]||e[Cr(tt(t))])}function Q_(e,t,n={},r,s){if(we.isCE||we.parent&&Lt(we.parent)&&we.parent.isCE)return t!=="default"&&(n.name=t),he("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),Ze();const o=i&&Qa(i(n)),a=it(Ae,{key:n.key||o&&o.key||`_${t}`},o||(r?r():[]),o&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Qa(e){return e.some(t=>on(t)?!(t.type===Re||t.type===Ae&&!Qa(t.children)):!0)?e:null}const hs=e=>e?dc(e)?hi(e)||e.proxy:hs(e.parent):null,kn=me(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=>hs(e.parent),$root:e=>hs(e.root),$emit:e=>e.emit,$options:e=>ci(e),$forceUpdate:e=>e.f||(e.f=()=>Ar(e.update)),$nextTick:e=>e.n||(e.n=Tt.bind(e.proxy)),$watch:e=>Cu.bind(e)}),Yr=(e,t)=>e!==fe&&!e.__isScriptSetup&&re(e,t),ju={get({_:e},t){const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:c}=e;let u;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Yr(r,t))return o[t]=1,r[t];if(s!==fe&&re(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&re(u,t))return o[t]=3,i[t];if(n!==fe&&re(n,t))return o[t]=4,n[t];ps&&(o[t]=0)}}const l=kn[t];let f,h;if(l)return t==="$attrs"&&Oe(e,"get",t),l(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==fe&&re(n,t))return o[t]=4,n[t];if(h=c.config.globalProperties,re(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Yr(s,t)?(s[t]=n,!0):r!==fe&&re(r,t)?(r[t]=n,!0):re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let a;return!!n[o]||e!==fe&&re(e,o)||Yr(t,o)||(a=i[0])&&re(a,o)||re(r,o)||re(kn,o)||re(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Di(e){return Q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Y_(e){const t=Wn();let n=e();return kt(),Ks(n)&&(n=n.catch(r=>{throw Rt(t),r})),[n,()=>Rt(t)]}let ps=!0;function Lu(e){const t=ci(e),n=e.proxy,r=e.ctx;ps=!1,t.beforeCreate&&Wi(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:c,inject:u,created:l,beforeMount:f,mounted:h,beforeUpdate:g,updated:w,activated:S,deactivated:R,beforeDestroy:y,beforeUnmount:d,destroyed:v,unmounted:m,render:E,renderTracked:A,renderTriggered:P,errorCaptured:k,serverPrefetch:I,expose:U,inheritAttrs:B,components:N,directives:W,filters:F}=t;if(u&&Fu(u,r,null),o)for(const Z in o){const te=o[Z];X(te)&&(r[Z]=te.bind(n))}if(s){const Z=s.call(n,n);le(Z)&&(e.data=at(Z))}if(ps=!0,i)for(const Z in i){const te=i[Z],nt=X(te)?te.bind(n,n):X(te.get)?te.get.bind(n,n):We,ut=!X(te)&&X(te.set)?te.set.bind(n):We,ze=Ee({get:nt,set:ut});Object.defineProperty(r,Z,{enumerable:!0,configurable:!0,get:()=>ze.value,set:Te=>ze.value=Te})}if(a)for(const Z in a)Ya(a[Z],r,n,Z);if(c){const Z=X(c)?c.call(n):c;Reflect.ownKeys(Z).forEach(te=>{Ft(te,Z[te])})}l&&Wi(l,e,"c");function V(Z,te){Q(te)?te.forEach(nt=>Z(nt.bind(n))):te&&Z(te.bind(n))}if(V(Ou,f),V(oi,h),V(Hu,g),V(Wa,w),V(Ba,S),V(qa,R),V(za,k),V(Uu,A),V(Nu,P),V(Mr,d),V(Ka,m),V(Mu,I),Q(U))if(U.length){const Z=e.exposed||(e.exposed={});U.forEach(te=>{Object.defineProperty(Z,te,{get:()=>n[te],set:nt=>n[te]=nt})})}else e.exposed||(e.exposed={});E&&e.render===We&&(e.render=E),B!=null&&(e.inheritAttrs=B),N&&(e.components=N),W&&(e.directives=W)}function Fu(e,t,n=We){Q(e)&&(e=gs(e));for(const r in e){const s=e[r];let i;le(s)?"default"in s?i=ke(s.from||r,s.default,!0):i=ke(s.from||r):i=ke(s),de(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Wi(e,t,n){Le(Q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ya(e,t,n,r){const s=r.includes(".")?$a(n,r):()=>n[r];if(pe(e)){const i=t[e];X(i)&&jt(s,i)}else if(X(e))jt(s,e.bind(n));else if(le(e))if(Q(e))e.forEach(i=>Ya(i,t,n,r));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&jt(s,i,e)}}function ci(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let c;return a?c=a:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>pr(c,u,o,!0)),pr(c,t,o)),le(t)&&i.set(t,c),c}function pr(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&pr(e,i,n,!0),s&&s.forEach(o=>pr(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=Bu[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Bu={data:Ki,props:zi,emits:zi,methods:bn,computed:bn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:bn,directives:bn,watch:Du,provide:Ki,inject:qu};function Ki(e,t){return t?e?function(){return me(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function qu(e,t){return bn(gs(e),gs(t))}function gs(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ce(e,t){return e?[...new Set([].concat(e,t))]:t}function bn(e,t){return e?me(Object.create(null),e,t):t}function zi(e,t){return e?Q(e)&&Q(t)?[...new Set([...e,...t])]:me(Object.create(null),Di(e),Di(t??{})):t}function Du(e,t){if(!e)return t;if(!t)return e;const n=me(Object.create(null),e);for(const r in t)n[r]=Ce(e[r],t[r]);return n}function Xa(){return{app:null,config:{isNativeTag:dl,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 Wu=0;function Ku(e,t){return function(r,s=null){X(r)||(r=me({},r)),s!=null&&!le(s)&&(s=null);const i=Xa(),o=new Set;let a=!1;
vendor: 4,671 bytes, line 1
1const c=i.app={_uid:Wu++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:pc,get config(){return i.config},set config(u){},use(u,...l){return o.has(u)||(u&&X(u.install)?(o.add(u),u.install(c,...l)):X(u)&&(o.add(u),u(c,...l))),c},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),c},component(u,l){return l?(i.components[u]=l,c):i.components[u]},directive(u,l){return l?(i.directives[u]=l,c):i.directives[u]},mount(u,l,f){if(!a){const h=he(r,s);return h.appContext=i,l&&t?t(h,u):e(h,u,f),a=!0,c._container=u,u.__vue_app__=c,hi(h.component)||h.component.proxy}},unmount(){a&&(e(null,c._container),delete c._container.__vue_app__)},provide(u,l){return i.provides[u]=l,c},runWithContext(u){$n=c;try{return u()}finally{$n=null}}};return c}}let $n=null;function Ft(e,t){if(_e){let n=_e.provides;const r=_e.parent&&_e.parent.provides;r===n&&(n=_e.provides=Object.create(r)),n[e]=t}}function ke(e,t,n=!1){const r=_e||we;if(r||$n){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:$n._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&X(t)?t.call(r&&r.proxy):t}}function li(){return!!(_e||we||$n)}function zu(e,t,n,r=!1){const s={},i={};cr(i,Nr,1),e.propsDefaults=Object.create(null),Ga(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:qn(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Ju(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=ne(s),[c]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const l=e.vnode.dynamicProps;for(let f=0;f<l.length;f++){let h=l[f];if(Ir(e.emitsOptions,h))continue;const g=t[h];if(c)if(re(i,h))g!==i[h]&&(i[h]=g,u=!0);else{const w=tt(h);s[w]=_s(c,a,w,g,e,!1)}else g!==i[h]&&(i[h]=g,u=!0)}}}else{Ga(e,t,s,i)&&(u=!0);let l;for(const f in a)(!t||!re(t,f)&&((l=fn(f))===f||!re(t,l)))&&(c?n&&(n[f]!==void 0||n[l]!==void 0)&&(s[f]=_s(c,a,f,void 0,e,!0)):delete s[f]);if(i!==a)for(const f in i)(!t||!re(t,f))&&(delete i[f],u=!0)}u&&ot(e,"set","$attrs")}function Ga(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,a;if(t)for(let c in t){if(Sn(c))continue;const u=t[c];let l;s&&re(s,l=tt(c))?!i||!i.includes(l)?n[l]=u:(a||(a={}))[l]=u:Ir(e.emitsOptions,c)||(!(c in r)||u!==r[c])&&(r[c]=u,o=!0)}if(i){const c=ne(n),u=a||fe;for(let l=0;l<i.length;l++){const f=i[l];n[f]=_s(s,c,f,u[f],e,!re(u,f))}}return o}function _s(e,t,n,r,s,i){const o=e[n];if(o!=null){const a=re(o,"default");if(a&&r===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&X(c)){const{propsDefaults:u}=s;n in u?r=u[n]:(Rt(s),r=u[n]=c.call(null,t),kt())}else r=c}o[0]&&(i&&!a?r=!1:o[1]&&(r===""||r===fn(n))&&(r=!0))}return r}function Za(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},a=[];let c=!1;if(!X(e)){const l=f=>{c=!0;const[h,g]=Za(f,t,!0);me(o,h),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!i&&!c)return le(e)&&r.set(e,Zt),Zt;if(Q(i))for(let l=0;l<i.length;l++){const f=tt(i[l]);Ji(f)&&(o[f]=fe)}else if(i)for(const l in i){const f=tt(l);if(Ji(f)){const h=i[l],g=o[f]=Q(h)||X(h)?{type:h}:me({},h);if(g){const w=Yi(Boolean,g.type),S=Yi(String,g.type);g[0]=w>-1,g[1]=S<0||w<S,(w>-1||re(g,"default"))&&a.push(f)}}}const u=[o,a];return le(e)&&r.set(e,u),u}function Ji(e){return e[0]!=="$"}function Vi(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Qi(e,t){return Vi(e)===Vi(t)}function Yi(e,t){return Q(t)?t.findIndex(n=>Qi(n,e)):X(t)&&Qi(t,e)?0:-1}const ec=e=>e[0]==="_"||e==="$stable",ui=e=>Q(e)?e.map($e):[$e(e)],Vu=(e,t,n)=>{if(t._n)return t;const r=ti((...s)=>ui(t(...s)),n);return r._c=!1,r},tc=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ec(s))continue;const i=e[s];if(X(i))t[s]=Vu(s,i,r);else if(i!=null){const o=ui(i);t[s]=()=>o}}},nc=(e,t)=>{const n=ui(t);e.slots.default=()=>n},Qu=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ne(t),cr(t,"_",n)):tc(t,e.slots={})}else e.slots={},t&&nc(e,t);cr(e.slots,Nr,1)},Yu=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=fe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(me(s,t),!n&&a===1&&delete s._):(i=!t.$stable,tc(t,s)),o=t}else t&&(nc(e,t),o={default:1});if(i)for(const a in s)!ec(a)&&!(a in o)&&delete s[a]};function gr(e,t,n,r,s=!1){if(Q(e)){e.forEach((h,g)=>gr(h,t&&(Q(t)?t[g]:t),n,r,s));return}if(Lt(r)&&!s)return;const i=r.shapeFlag&4?hi(r.component)||r.component.proxy:r.el,o=s?null:i,{i:a,r:c}=e,u=t&&t.r,l=a.refs===fe?a.refs={}:a.refs,f=a.setupState;if(u!=null&&u!==c&&(pe(u)?(l[u]=null,re(f,u)&&(f[u]=null)):de(u)&&(u.value=null)),X(c))Et(c,a,12,[o,l]);else{const h=pe(c),g=de(c);if(h||g){const w=()=>
1{if(e.f){const S=h?re(f,c)?f[c]:l[c]:c.value;s?Q(S)&&Ds(S,i):Q(S)?S.includes(i)||S.push(i):h?(l[c]=[i],re(f,c)&&(f[c]=l[c])):(c.value=[i],e.k&&(l[e.k]=c.value))}else h?(l[c]=o,re(f,c)&&(f[c]=o)):g&&(c.value=o,e.k&&(l[e.k]=o))};o?(w.id=-1,ve(w,n)):w()}}}let dt=!1;const er=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",tr=e=>e.nodeType===8;function Xu(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:o,remove:a,insert:c,createComment:u}}=e,l=(y,d)=>{if(!d.hasChildNodes()){n(null,y,d),fr(),d._vnode=y;return}dt=!1,f(d.firstChild,y,null,null,null),fr(),d._vnode=y,dt&&console.error("Hydration completed but contains mismatches.")},f=(y,d,v,m,E,A=!1)=>{const P=tr(y)&&y.data==="[",k=()=>S(y,d,v,m,E,P),{type:I,ref:U,shapeFlag:B,patchFlag:N}=d;let W=y.nodeType;d.el=y,N===-2&&(A=!1,d.dynamicChildren=null);let F=null;switch(I){case rn:W!==3?d.children===""?(c(d.el=s(""),o(y),y),F=y):F=k():(y.data!==d.children&&(dt=!0,y.data=d.children),F=i(y));break;case Re:W!==8||P?F=k():F=i(y);break;case sr:if(P&&(y=i(y),W=y.nodeType),W===1||W===3){F=y;const se=!d.children.length;for(let V=0;V<d.staticCount;V++)se&&(d.children+=F.nodeType===1?F.outerHTML:F.data),V===d.staticCount-1&&(d.anchor=F),F=i(F);return P?i(F):F}else k();break;case Ae:P?F=w(y,d,v,m,E,A):F=k();break;default:if(B&1)W!==1||d.type.toLowerCase()!==y.tagName.toLowerCase()?F=k():F=h(y,d,v,m,E,A);else if(B&6){d.slotScopeIds=E;const se=o(y);if(t(d,se,null,v,m,er(se),A),F=P?R(y):i(y),F&&tr(F)&&F.data==="teleport end"&&(F=i(F)),Lt(d)){let V;P?(V=he(Ae),V.anchor=F?F.previousSibling:se.lastChild):V=y.nodeType===3?uc(""):he("div"),V.el=y,d.component.subTree=V}}else B&64?W!==8?F=k():F=d.type.hydrate(y,d,v,m,E,A,e,g):B&128&&(F=d.type.hydrate(y,d,v,m,er(o(y)),E,A,e,f))}return U!=null&&gr(U,null,m,d),F},h=(y,d,v,m,E,A)=>{A=A||!!d.dynamicChildren;const{type:P,props:k,patchFlag:I,shapeFlag:U,dirs:B}=d,N=P==="input"&&B||P==="option";if(N||I!==-1){if(B&&Xe(d,null,v,"created"),k)if(N||!A||I&48)for(const F in k)(N&&F.endsWith("value")||Fn(F)&&!Sn(F))&&r(y,F,null,k[F],!1,void 0,v);else k.onClick&&r(y,"onClick",null,k.onClick,!1,void 0,v);let W;if((W=k&&k.onVnodeBeforeMount)&&Pe(W,v,d),B&&Xe(d,null,v,"beforeMount"),((W=k&&k.onVnodeMounted)||B)&&Ua(()=>{W&&Pe(W,v,d),B&&Xe(d,null,v,"mounted")},m),U&16&&!(k&&(k.innerHTML||k.textContent))){let F=g(y.firstChild,d,y,v,m,E,A);for(;F;){dt=!0;const se=F;F=F.nextSibling,a(se)}}else U&8&&y.textContent!==d.children&&(dt=!0,y.textContent=d.children)}return y.nextSibling},g=(y,d,v,m,E,A,P)=>{P=P||!!d.dynamicChildren;const k=d.children,I=k.length;for(let U=0;U<I;U++){const B=P?k[U]:k[U]=$e(k[U]);if(y)y=f(y,B,m,E,A,P);else{if(B.type===rn&&!B.children)continue;dt=!0,n(null,B,v,null,m,E,er(v),A)}}return y},w=(y,d,v,m,E,A)=>{const{slotScopeIds:P}=d;P&&(E=E?E.concat(P):P);const k=o(y),I=g(i(y),d,k,v,m,E,A);return I&&tr(I)&&I.data==="]"?i(d.anchor=I):(dt=!0,c(d.anchor=u("]"),k,I),I)},S=(y,d,v,m,E,A)=>{if(dt=!0,d.el=null,A){const I=R(y);for(;;){const U=i(y);if(U&&U!==I)a(U);else break}}const P=i(y),k=o(y);return a(y),n(null,d,k,P,v,m,er(k),E),P},R=y=>{let d=0;for(;y;)if(y=i(y),y&&tr(y)&&(y.data==="["&&d++,y.data==="]")){if(d===0)return i(y);d--}return y};return[l,f]}const ve=Ua;function Gu(e){return rc(e)}function Zu(e){return rc(e,Xu)}function rc(e,t){const n=as();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:c,setText:u,setElementText:l,parentNode:f,nextSibling:h,setScopeId:g=We,insertStaticContent:w}=e,S=(p,_,b,C=null,x=null,O=null,L=!1,M=null,$=!!_.dynamicChildren)=>{if(p===_)return;p&&!De(p,_)&&(C=T(p),Te(p,x,O,!0),p=null),_.patchFlag===-2&&($=!1,_.dynamicChildren=null);const{type:H,ref:z,shapeFlag:D}=_;switch(H){case rn:R(p,_,b,C);break;case Re:y(p,_,b,C);break;case sr:p==null&&d(_,b,C,L);break;case Ae:N(p,_,b,C,x,O,L,M,$);break;default:D&1?E(p,_,b,C,x,O,L,M,$):D&6?W(p,_,b,C,x,O,L,M,$):(D&64||D&128)&&H.process(p,_,b,C,x,O,L,M,$,j)}z!=null&&x&&gr(z,p&&p.ref,O,_||p,!_)},R=(p,_,b,C)=>{if(p==null)r(_.el=a(_.children),b,C);else{const x=_.el=p.el;_.children!==p.children&&u(x,_.children)}},y=(p,_,b,C)=>{p==null?r(_.el=c(_.children||""),b,C):_.el=p.el},d=(p,_,b,C)=>{[p.el,p.anchor]=w(p.children,_,b,C,p.el,p.anchor)},v=({el:p,anchor:_},b,C)=>{let x;for(;p&&p!==_;)x=h(p),r(p,b,C),p=x;r(_,b,C)},m=({el:p,anchor:_})=>{let b;for(;p&&p!==_;)b=h(p),s(p),p=b;s(_)},E=(p,_,b,C,x,O,L,M,$)=>{L=L||_.type==="svg",p==null?A(_,b,C,x,O,L,M,$):I(p,_,x,O,L,M,$)},A=(p,_,b,C,x,O,L,M)=>{let $,H;const{type:z,props:D,shapeFlag:J,transition:Y,dirs:ee}=p;if($=p.el=o(p.type,O,D&&D.is,D),J&8?l($,p.children):J&16&&k(p.children,$,null,C,x,O&&z!=="foreignObject",L,M),ee&&Xe(p,null,C,"created"),P($,p,p.scopeId,L,C),D){for(const ae in D)ae!=="value"&&!Sn(ae)&&i($,ae,null,D[ae],O,p.children,C,x,be);"value"in D&&i($,"value",null,D.value),(H=D.onVnodeBeforeMount)&&Pe(H,C,p)}ee&&Xe(p,null,C,"beforeMount");const ce=(!x||x&&!x.pendingBranch)&&Y&&!Y.persisted;ce&&Y.beforeEnter($),r($,_,b),((H=D&&D.onVnodeMounted)||ce||ee)&&ve(()=>{H&&Pe(H,C,p),ce&&Y.enter($),ee&&Xe(p,null,C,"mounted")},x)},P=(p,_,b,C,x)=>
vendor: 18,376 bytes, line 1
1{if(b&&g(p,b),C)for(let O=0;O<C.length;O++)g(p,C[O]);if(x){let O=x.subTree;if(_===O){const L=x.vnode;P(p,L,L.scopeId,L.slotScopeIds,x.parent)}}},k=(p,_,b,C,x,O,L,M,$=0)=>{for(let H=$;H<p.length;H++){const z=p[H]=M?mt(p[H]):$e(p[H]);S(null,z,_,b,C,x,O,L,M)}},I=(p,_,b,C,x,O,L)=>{const M=_.el=p.el;let{patchFlag:$,dynamicChildren:H,dirs:z}=_;$|=p.patchFlag&16;const D=p.props||fe,J=_.props||fe;let Y;b&&Pt(b,!1),(Y=J.onVnodeBeforeUpdate)&&Pe(Y,b,_,p),z&&Xe(_,p,b,"beforeUpdate"),b&&Pt(b,!0);const ee=x&&_.type!=="foreignObject";if(H?U(p.dynamicChildren,H,M,b,C,ee,O):L||te(p,_,M,null,b,C,ee,O,!1),$>0){if($&16)B(M,_,D,J,b,C,x);else if($&2&&D.class!==J.class&&i(M,"class",null,J.class,x),$&4&&i(M,"style",D.style,J.style,x),$&8){const ce=_.dynamicProps;for(let ae=0;ae<ce.length;ae++){const ge=ce[ae],Be=D[ge],zt=J[ge];(zt!==Be||ge==="value")&&i(M,ge,Be,zt,x,p.children,b,C,be)}}$&1&&p.children!==_.children&&l(M,_.children)}else!L&&H==null&&B(M,_,D,J,b,C,x);((Y=J.onVnodeUpdated)||z)&&ve(()=>{Y&&Pe(Y,b,_,p),z&&Xe(_,p,b,"updated")},C)},U=(p,_,b,C,x,O,L)=>{for(let M=0;M<_.length;M++){const $=p[M],H=_[M],z=$.el&&($.type===Ae||!De($,H)||$.shapeFlag&70)?f($.el):b;S($,H,z,null,C,x,O,L,!0)}},B=(p,_,b,C,x,O,L)=>{if(b!==C){if(b!==fe)for(const M in b)!Sn(M)&&!(M in C)&&i(p,M,b[M],null,L,_.children,x,O,be);for(const M in C){if(Sn(M))continue;const $=C[M],H=b[M];$!==H&&M!=="value"&&i(p,M,H,$,L,_.children,x,O,be)}"value"in C&&i(p,"value",b.value,C.value)}},N=(p,_,b,C,x,O,L,M,$)=>{const H=_.el=p?p.el:a(""),z=_.anchor=p?p.anchor:a("");let{patchFlag:D,dynamicChildren:J,slotScopeIds:Y}=_;Y&&(M=M?M.concat(Y):Y),p==null?(r(H,b,C),r(z,b,C),k(_.children,b,z,x,O,L,M,$)):D>0&&D&64&&J&&p.dynamicChildren?(U(p.dynamicChildren,J,b,x,O,L,M),(_.key!=null||x&&_===x.subTree)&&sc(p,_,!0)):te(p,_,b,z,x,O,L,M,$)},W=(p,_,b,C,x,O,L,M,$)=>{_.slotScopeIds=M,p==null?_.shapeFlag&512?x.ctx.activate(_,b,C,L,$):F(_,b,C,x,O,L,$):se(p,_,$)},F=(p,_,b,C,x,O,L)=>{const M=p.component=of(p,C,x);if(Dn(p)&&(M.ctx.renderer=j),af(M),M.asyncDep){if(x&&x.registerDep(M,V),!p.el){const $=M.subTree=he(Re);y(null,$,_,b)}return}V(M,p,_,b,x,O,L)},se=(p,_,b)=>{const C=_.component=p.component;if(mu(p,_,b))if(C.asyncDep&&!C.asyncResolved){Z(C,_,b);return}else C.next=_,fu(C.update),C.update();else _.el=p.el,C.vnode=_},V=(p,_,b,C,x,O,L)=>{const M=()=>{if(p.isMounted){let{next:z,bu:D,u:J,parent:Y,vnode:ee}=p,ce=z,ae;Pt(p,!1),z?(z.el=ee.el,Z(p,z,L)):z=ee,D&&En(D),(ae=z.props&&z.props.onVnodeBeforeUpdate)&&Pe(ae,Y,z,ee),Pt(p,!0);const ge=Kr(p),Be=p.subTree;p.subTree=ge,S(Be,ge,f(Be.el),T(Be),p,x,O),z.el=ge.el,ce===null&&ni(p,ge.el),J&&ve(J,x),(ae=z.props&&z.props.onVnodeUpdated)&&ve(()=>Pe(ae,Y,z,ee),x)}else{let z;const{el:D,props:J}=_,{bm:Y,m:ee,parent:ce}=p,ae=Lt(_);if(Pt(p,!1),Y&&En(Y),!ae&&(z=J&&J.onVnodeBeforeMount)&&Pe(z,ce,_),Pt(p,!0),D&&ie){const ge=()=>{p.subTree=Kr(p),ie(D,p.subTree,p,x,null)};ae?_.type.__asyncLoader().then(()=>!p.isUnmounted&&ge()):ge()}else{const ge=p.subTree=Kr(p);S(null,ge,b,C,p,x,O),_.el=ge.el}if(ee&&ve(ee,x),!ae&&(z=J&&J.onVnodeMounted)){const ge=_;ve(()=>Pe(z,ce,ge),x)}(_.shapeFlag&256||ce&&Lt(ce.vnode)&&ce.vnode.shapeFlag&256)&&p.a&&ve(p.a,x),p.isMounted=!0,_=b=C=null}},$=p.effect=new Vs(M,()=>Ar(H),p.scope),H=p.update=()=>$.run();H.id=p.uid,Pt(p,!0),H()},Z=(p,_,b)=>{_.component=p;const C=p.vnode.props;p.vnode=_,p.next=null,Ju(p,_.props,C,b),Yu(p,_.children,b),dn(),$i(),hn()},te=(p,_,b,C,x,O,L,M,$=!1)=>{const H=p&&p.children,z=p?p.shapeFlag:0,D=_.children,{patchFlag:J,shapeFlag:Y}=_;if(J>0){if(J&128){ut(H,D,b,C,x,O,L,M,$);return}else if(J&256){nt(H,D,b,C,x,O,L,M,$);return}}Y&8?(z&16&&be(H,x,O),D!==H&&l(b,D)):z&16?Y&16?ut(H,D,b,C,x,O,L,M,$):be(H,x,O,!0):(z&8&&l(b,""),Y&16&&k(D,b,C,x,O,L,M,$))},nt=(p,_,b,C,x,O,L,M,$)=>{p=p||Zt,_=_||Zt;const H=p.length,z=_.length,D=Math.min(H,z);let J;for(J=0;J<D;J++){const Y=_[J]=$?mt(_[J]):$e(_[J]);S(p[J],Y,b,null,x,O,L,M,$)}H>z?be(p,x,O,!0,!1,D):k(_,b,C,x,O,L,M,$,D)},ut=(p,_,b,C,x,O,L,M,$)=>{let H=0;const z=_.length;let D=p.length-1,J=z-1;for(;H<=D&&H<=J;){const Y=p[H],ee=_[H]=$?mt(_[H]):$e(_[H]);if(De(Y,ee))S(Y,ee,b,null,x,O,L,M,$);else break;H++}for(;H<=D&&H<=J;){const Y=p[D],ee=_[J]=$?mt(_[J]):$e(_[J]);if(De(Y,ee))S(Y,ee,b,null,x,O,L,M,$);else break;D--,J--}if(H>D){if(H<=J){const Y=J+1,ee=Y<z?_[Y].el:C;for(;H<=J;)S(null,_[H]=$?mt(_[H]):$e(_[H]),b,ee,x,O,L,M,$),H++}}else if(H>J)for(;H<=D;)Te(p[H],x,O,!0),H++;else{const Y=H,ee=H,ce=new Map;for(H=ee;H<=J;H++){const He=_[H]=$?mt(_[H]):$e(_[H]);He.key!=null&&ce.set(He.key,H)}let ae,ge=0;const Be=J-ee+1;let zt=!1,Ri=0;const _n=new Array(Be);for(H=0;H<Be;H++)_n[H]=0;for(H=Y;H<=D;H++){const He=p[H];if(ge>=Be){Te(He,x,O,!0);continue}let Je;if(He.key!=null)Je=ce.get(He.key);else for(ae=ee;ae<=J;ae++)if(_n[ae-ee]===0&&De(He,_[ae])){Je=ae;break}Je===void 0?Te(He,x,O,!0):(_n[Je-ee]=H+1,Je>=Ri?Ri=Je:zt=!0,S(He,_[Je],b,null,x,O,L,M,$),ge++)}const Ti=zt?ef(_n):Zt;for(ae=Ti.length-1,H=Be-1;H>=0;H--){const He=ee+H,Je=_[He],xi=He+1<z?_[He+1].el:C;_n[H]===0?S(null,Je,b,xi,x,O,L,M,$):zt&&(ae<0||H!==Ti[ae]?ze(Je,b,xi,2):ae--)}}},ze=(p,_,b,C,x=null)=>{const{el:O,type:L,transition:M,children:$,shapeFlag:H}=p;if(H&6){ze(p.component.subTree,_,b,C);return}if(H&128){p.suspense.move(_,b,C);return}if(H&64){L.move(p,_,b,j);return}if(L===Ae){r(O,_,b);for(let D=0;D<$.length;D++)ze($[D],_,b,C);r(p.anchor,_,b);return}if(L===sr){v(p,_,b);return}if(C!==2&&H&1&&M)if(C===0)M.beforeEnter(O),r(O,_,b),ve(()=>M.enter(O),x);else{const{leave:D,delayLeave:J,afterLeave:Y}=M,ee=()=>r(O,_,b),ce=()=>{D(O,()=>{ee(),Y&&Y()})};J?J(O,ee,ce):ce()}else r(O,_,b)},Te=(p,_,b,C=!1,x=!1)=>{const{type:O,props:L,ref:M,children:$,dynamicChildren:H,shapeFlag:z,patchFlag:D,dirs:J}=p;if(M!=null&&gr(M,null,b,p,!0),z&256){_.ctx.deactivate(p);return}const Y=z&1&&J,ee=!Lt(p);let ce;if(ee&&(ce=L&&L.onVnodeBeforeUnmount)&&Pe(ce,_,p),z&6)Jn(p.component,b,C);else{if(z&128){p.suspense.unmount(b,C);return}Y&&Xe(p,null,_,"beforeUnmount"),z&64?p.type.remove(p,_,b,x,j,C):H&&(O!==Ae||D>0&&D&64)?be(H,_,b,!1,!0):(O===Ae&&D&384||!x&&z&16)&&be($,_,b),C&&Wt(p)}(ee&&(ce=L&&L.onVnodeUnmounted)||Y)&&ve(()=>{ce&&Pe(ce,_,p),Y&&Xe(p,null,_,"unmounted")},b)},Wt=p=>{const{type:_,el:b,anchor:C,transition:x}=p;if(_===Ae){Kt(b,C);return}if(_===sr){m(p);return}const O=()=>{s(b),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(p.shapeFlag&1&&x&&!x.persisted){const{leave:L,delayLeave:M}=x,$=()=>L(b,O);M?M(p.el,O,$):$()}else O()},Kt=(p,_)=>{let b;for(;p!==_;)b=h(p),s(p),p=b;s(_)},Jn=(p,_,b)=>{const{bum:C,scope:x,update:O,subTree:L,um:M}=p;C&&En(C),x.stop(),O&&(O.active=!1,Te(L,p,_,b)),M&&ve(M,_),ve(()=>{p.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},be=(p,_,b,C=!1,x=!1,O=0)=>{for(let L=O;L<p.length;L++)Te(p[L],_,b,C,x)},T=p=>p.shapeFlag&6?T(p.component.subTree):p.shapeFlag&128?p.suspense.next():h(p.anchor||p.el),q=(p,_,b)=>{p==null?_._vnode&&Te(_._vnode,null,null,!0):S(_._vnode||null,p,_,null,null,null,b),$i(),fr(),_._vnode=p},j={p:S,um:Te,m:ze,r:Wt,mt:F,mc:k,pc:te,pbc:U,n:T,o:e};let K,ie;return t&&([K,ie]=t(j)),{render:q,hydrate:K,createApp:Ku(q,K)}}function Pt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function sc(e,t,n=!1){const r=e.children,s=t.children;if(Q(r)&&Q(s))for(let i=0;i<r.length;i++){const o=r[i];let a=s[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[i]=mt(s[i]),a.el=o.el),n||sc(o,a)),a.type===rn&&(a.el=o.el)}}function ef(e){const t=e.slice(),n=[0];let r,s,i,o,a;const c=e.length;for(r=0;r<c;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)a=i+o>>1,e[n[a]]<u?i=a+1:o=a;u<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const tf=e=>e.__isTeleport,Ae=Symbol.for("v-fgt"),rn=Symbol.for("v-txt"),Re=Symbol.for("v-cmt"),sr=Symbol.for("v-stc"),Cn=[];let je=null;function Ze(e=!1){Cn.push(je=e?null:[])}function ic(){Cn.pop(),je=Cn[Cn.length-1]||null}let sn=1;function Xi(e){sn+=e}function oc(e){return e.dynamicChildren=sn>0?je||Zt:null,ic(),sn>0&&je&&je.push(e),e}function X_(e,t,n,r,s,i){return oc(cc(e,t,n,r,s,i,!0))}function it(e,t,n,r,s){return oc(he(e,t,n,r,s,!0))}function on(e){return e?e.__v_isVNode===!0:!1}function De(e,t){return e.type===t.type&&e.key===t.key}const Nr="__vInternal",ac=({key:e})=>e??null,ir=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||de(e)||X(e)?{i:we,r:e,k:t,f:!!n}:e:null);function cc(e,t=null,n=null,r=0,s=null,i=e===Ae?0:1,o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ac(t),ref:t&&ir(t),scopeId:Or,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:we};return a?(fi(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=pe(n)?8:16),sn>0&&!o&&je&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&je.push(c),c}const he=nf;function nf(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Ja)&&(e=Re),on(e)){const a=ct(e,t,!0);return n&&fi(a,n),sn>0&&!i&&je&&(a.shapeFlag&6?je[je.indexOf(e)]=a:je.push(a)),a.patchFlag|=-2,a}if(ff(e)&&(e=e.__vccOpts),t){t=lc(t);let{class:a,style:c}=t;a&&!pe(a)&&(t.class=Tr(a)),le(c)&&(Ea(c)&&!Q(c)&&(c=me({},c)),t.style=Rr(c))}const o=pe(e)?1:Na(e)?128:tf(e)?64:le(e)?4:X(e)?2:0;return cc(e,t,n,r,s,o,i,!0)}function lc(e){return e?Ea(e)||Nr in e?me({},e):e:null}function ct(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:o}=e,a=t?fc(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ac(a),ref:t&&t.ref?n&&s?Q(s)?s.concat(ir(t)):[s,ir(t)]:ir(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ae?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ct(e.ssContent),ssFallback:e.ssFallback&&ct(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function uc(e=" ",t=0){return he(rn,null,e,t)}function G_(e="",t=!1){return t?(Ze(),it(Re,null,e)):he(Re,null,e)}function $e(e){return e==null||typeof e=="boolean"?he(Re):Q(e)?he(Ae,null,e.slice()):typeof e=="object"?mt(e):he(rn,null,String(e))}function mt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ct(e)}function fi(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),fi(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Nr in t)?t._ctx=we:s===3&&we&&(we.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:we},n=32):(t=String(t),r&64?(n=16,t=[uc(t)]):n=8);e.children=t,e.shapeFlag|=n}function fc(...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=Tr([t.class,r.class]));else if(s==="style")t.style=Rr([t.style,r.style]);else if(Fn(s)){const i=t[s],o=r[s];o&&i!==o&&!(Q(i)&&i.includes(o))&&(t[s]=i?[].concat(i,o):o)}else s!==""&&(t[s]=r[s])}return t}function Pe(e,t,n,r=null){Le(e,t,7,[n,r])}const rf=Xa();let sf=0;function of(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||rf,i={uid:sf++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new la(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Za(r,s),emitsOptions:Ma(r,s),emit:null,emitted:null,propsDefaults:fe,inheritAttrs:r.inheritAttrs,ctx:fe,data:fe,props:fe,attrs:fe,slots:fe,refs:fe,setupState:fe,setupContext:null,attrsProxy:null,slotsProxy: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 i.ctx={_:i},i.root=t?t.root:i,i.emit=hu.bind(null,i),e.ce&&e.ce(i),i}let _e=null;const Wn=()=>_e||we;let di,Jt,Gi="__VUE_INSTANCE_SETTERS__";(Jt=as()[Gi])||(Jt=as()[Gi]=[]),Jt.push(e=>_e=e),di=e=>{Jt.length>1?Jt.forEach(t=>t(e)):Jt[0](e)};const Rt=e=>{di(e),e.scope.on()},kt=()=>{_e&&_e.scope.off(),di(null)};function dc(e){return e.vnode.shapeFlag&4}let an=!1;function af(e,t=!1){an=t;const{props:n,children:r}=e.vnode,s=dc(e);zu(e,n,s,t),Qu(e,r);const i=s?cf(e,t):void 0;return an=!1,i}function cf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Pr(new Proxy(e.ctx,ju));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?uf(e):null;Rt(e),dn();const i=Et(r,e,0,[e.props,s]);if(hn(),kt(),Ks(i)){if(i.then(kt,kt),t)return i.then(o=>{ms(e,o,t)}).catch(o=>{pn(o,e,0)});e.asyncDep=i}else ms(e,i,t)}else hc(e,t)}function ms(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:le(t)&&(e.setupState=Ta(t)),hc(e,n)}let Zi;function hc(e,t,n){const r=e.type;if(!e.render){if(!t&&Zi&&!r.render){const s=r.template||ci(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,u=me(me({isCustomElement:i,delimiters:a},o),c);r.render=Zi(s,u)}}e.render=r.render||We}Rt(e),dn(),Lu(e),hn(),kt()}function lf(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Oe(e,"get","$attrs"),t[n]}}))}function uf(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return lf(e)},slots:e.slots,emit:e.emit,expose:t}}function hi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ta(Pr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kn)return kn[n](e)},has(t,n){return n in t||n in kn}}))}function ys(e,t=!0){return X(e)?e.displayName||e.name:e.name||t&&e.__name}function ff(e){return X(e)&&"__vccOpts"in e}const Ee=(e,t)=>cu(e,t,an);function Ne(e,t,n){const r=arguments.length;return r===2?le(t)&&!Q(t)?on(t)?he(e,null,[t]):he(e,t):he(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&on(n)&&(n=[n]),he(e,t,n))}const df=Symbol.for("v-scx"),hf=()=>ke(df),pc="3.3.4",pf="http://www.w3.org/2000/svg",Mt=typeof document<"u"?document:null,eo=Mt&&Mt.createElement("template"),gf={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?Mt.createElementNS(pf,e):Mt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Mt.createTextNode(e),createComment:e=>Mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{eo.innerHTML=r?`<svg>${e}</svg>`:e;const a=eo.content;if(r){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function _f(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function mf(e,t,n){const r=e.style,s=pe(n);if(n&&!s){if(t&&!pe(t))for(const i in t)n[i]==null&&vs(r,i,"");for(const i in n)vs(r,i,n[i])}else{const i=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const to=/\s*!important$/;function vs(e,t,n){if(Q(n))n.forEach(r=>vs(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=yf(e,t);to.test(n)?e.setProperty(fn(r),n.replace(to,""),"important"):e[r]=n}}const no=["Webkit","Moz","ms"],Xr={};function yf(e,t){const n=Xr[t];if(n)return n;let r=tt(t);if(r!=="filter"&&r in e)return Xr[t]=r;r=Cr(r);for(let s=0;s<no.length;s++){const i=no[s]+r;if(i in e)return Xr[t]=i}return t}const ro="http://www.w3.org/1999/xlink";function vf(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ro,t.slice(6,t.length)):e.setAttributeNS(ro,t,n);else{const i=Rl(t);n==null||i&&!aa(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function wf(e,t,n,r,s,i,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,s,i),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const u=a==="OPTION"?e.getAttribute("value"):e.value,l=n??"";u!==l&&(e.value=l),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=aa(n):n==null&&u==="string"?(n="",c=!0):u==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function bf(e,t,n,r){e.addEventListener(t,n,r)}function Sf(e,t,n,r){e.removeEventListener(t,n,r)}function Ef(e,t,n,r,s=null){const i=e._vei||(e._vei={}),o=i[t];if(r&&o)o.value=r;else{const[a,c]=kf(t);if(r){const u=i[t]=Tf(r,s);bf(e,a,u,c)}else o&&(Sf(e,a,o,c),i[t]=void 0)}}const so=/(?:Once|Passive|Capture)$/;function kf(e){let t;if(so.test(e)){t={};let r;for(;r=e.match(so);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):fn(e.slice(2)),t]}let Gr=0;const Cf=Promise.resolve(),Rf=()=>Gr||(Cf.then(()=>Gr=0),Gr=Date.now());function Tf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Le(xf(r,n.value),t,5,[r])};return n.value=e,n.attached=Rf(),n}function xf(e,t){if(Q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const io=/^on[a-z]/,Pf=(e,t,n,r,s=!1,i,o,a,c)=>{t==="class"?_f(e,r,s):t==="style"?mf(e,n,r):Fn(t)?qs(t)||Ef(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Af(e,t,r,s))?wf(e,t,r,i,o,a,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),vf(e,t,r,s))};function Af(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&io.test(t)&&X(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||io.test(t)&&pe(n)?!1:t in e}const ht="transition",mn="animation",Ur=(e,{slots:t})=>Ne(xu,If(e),t);Ur.displayName="Transition";
1const gc={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};Ur.props=me({},ja,gc);const At=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},oo=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function If(e){const t={};for(const N in e)N in gc||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:l=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,w=Of(s),S=w&&w[0],R=w&&w[1],{onBeforeEnter:y,onEnter:d,onEnterCancelled:v,onLeave:m,onLeaveCancelled:E,onBeforeAppear:A=y,onAppear:P=d,onAppearCancelled:k=v}=t,I=(N,W,F)=>{It(N,W?l:a),It(N,W?u:o),F&&F()},U=(N,W)=>{N._isLeaving=!1,It(N,f),It(N,g),It(N,h),W&&W()},B=N=>(W,F)=>{const se=N?P:d,V=()=>I(W,N,F);At(se,[W,V]),ao(()=>{It(W,N?c:i),pt(W,N?l:a),oo(se)||co(W,r,S,V)})};return me(t,{onBeforeEnter(N){At(y,[N]),pt(N,i),pt(N,o)},onBeforeAppear(N){At(A,[N]),pt(N,c),pt(N,u)},onEnter:B(!1),onAppear:B(!0),onLeave(N,W){N._isLeaving=!0;const F=()=>U(N,W);pt(N,f),Nf(),pt(N,h),ao(()=>{N._isLeaving&&(It(N,f),pt(N,g),oo(m)||co(N,r,R,F))}),At(m,[N,F])},onEnterCancelled(N){I(N,!1),At(v,[N])},onAppearCancelled(N){I(N,!0),At(k,[N])},onLeaveCancelled(N){U(N),At(E,[N])}})}function Of(e){if(e==null)return null;if(le(e))return[Zr(e.enter),Zr(e.leave)];{const t=Zr(e);return[t,t]}}function Zr(e){return oa(e)}function pt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function It(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ao(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Hf=0;function co(e,t,n,r){const s=e._endId=++Hf,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:a,propCount:c}=Mf(e,t);if(!o)return r();const u=o+"end";let l=0;const f=()=>{e.removeEventListener(u,h),i()},h=g=>{g.target===e&&++l>=c&&f()};setTimeout(()=>{l<c&&f()},a+1),e.addEventListener(u,h)}function Mf(e,t){const n=window.getComputedStyle(e),r=w=>(n[w]||"").split(", "),s=r(`${ht}Delay`),i=r(`${ht}Duration`),o=lo(s,i),a=r(`${mn}Delay`),c=r(`${mn}Duration`),u=lo(a,c);let l=null,f=0,h=0;t===ht?o>0&&(l=ht,f=o,h=i.length):t===mn?u>0&&(l=mn,f=u,h=c.length):(f=Math.max(o,u),l=f>0?o>u?ht:mn:null,h=l?l===ht?i.length:c.length:0);const g=l===ht&&/\b(transform|all)(,|$)/.test(r(`${ht}Property`).toString());return{type:l,timeout:f,propCount:h,hasTransform:g}}function lo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>uo(n)+uo(e[r])))}function uo(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Nf(){return document.body.offsetHeight}const _c=me({patchProp:Pf},gf);let Rn,fo=!1;function Uf(){return Rn||(Rn=Gu(_c))}function $f(){return Rn=fo?Rn:Zu(_c),fo=!0,Rn}const jf=(...e)=>{const t=Uf().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=mc(r);if(!s)return;const i=t._component;!X(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},Lf=(...e)=>{const t=$f().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=mc(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function mc(e){return pe(e)?document.querySelector(e):e}const Ff=/"(?:_|\\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*:/,Bf=/"(?: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*:/,qf=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Df(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Wf(e);return}return t}function Wf(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Kf(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;
1if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!qf.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ff.test(e)||Bf.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Df)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const zf=/#/g,Jf=/&/g,Vf=/=/g,pi=/\+/g,Qf=/%5e/gi,Yf=/%60/gi,Xf=/%7c/gi,Gf=/%20/gi;function Zf(e){return encodeURI(""+e).replace(Xf,"|")}function ws(e){return Zf(typeof e=="string"?e:JSON.stringify(e)).replace(pi,"%2B").replace(Gf,"+").replace(zf,"%23").replace(Jf,"%26").replace(Yf,"`").replace(Qf,"^")}function es(e){return ws(e).replace(Vf,"%3D")}function _r(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ed(e){return _r(e.replace(pi," "))}function td(e){return _r(e.replace(pi," "))}function nd(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=ed(r[1]);if(s==="__proto__"||s==="constructor")continue;const i=td(r[2]||"");t[s]===void 0?t[s]=i:Array.isArray(t[s])?t[s].push(i):t[s]=[t[s],i]}return t}function rd(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${es(e)}=${ws(n)}`).join("&"):`${es(e)}=${ws(t)}`:es(e)}function sd(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>rd(t,e[t])).filter(Boolean).join("&")}const id=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,od=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,ad=/^([/\\]\s*){2,}[^/\\]/;function $r(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?id.test(e):od.test(e)||(t.acceptRelative?ad.test(e):!1)}const cd=/^[\s\0]*(blob|data|javascript|vbscript):$/;function ld(e){return!!e&&cd.test(e)}const ud=/\/$|\/\?/;function bs(e="",t=!1){return t?ud.test(e):e.endsWith("/")}function yc(e="",t=!1){if(!t)return(bs(e)?e.slice(0,-1):e)||"/";if(!bs(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function Ss(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(bs(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function fd(e=""){return e.startsWith("/")}function ho(e=""){return fd(e)?e:"/"+e}function dd(e,t){if(wc(t)||$r(e))return e;const n=yc(t);return e.startsWith(n)?e:jr(n,e)}function po(e,t){if(wc(t))return e;const n=yc(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function vc(e,t){const n=gi(e),r={...nd(n.search),...t};return n.search=sd(r),_d(n)}function wc(e){return!e||e==="/"}function hd(e){return e&&e!=="/"}const pd=/^\.?\//;function jr(e,...t){let n=e||"";for(const r of t.filter(s=>hd(s)))if(n){const s=r.replace(pd,"");n=Ss(n)+s}else n=r;return n}function gd(e,t,n={}){return n.trailingSlash||(e=Ss(e),t=Ss(t)),n.leadingSlash||(e=ho(e),t=ho(t)),n.encoding||(e=_r(e),t=_r(t)),e===t}function gi(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/);if(n){const[,f,h=""]=n;return{protocol:f,pathname:h,href:f+h,auth:"",host:"",search:"",hash:""}}if(!$r(e,{acceptRelative:!0}))return t?gi(t+e):go(e);const[,r="",s,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o="",a=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:u,hash:l}=go(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:o,pathname:c,search:u,hash:l}}function go(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function _d(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol?e.protocol+"//":"")+s+i+t+n+r}
1class md extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function yd(e){var c,u,l,f,h;const t=((c=e.error)==null?void 0:c.message)||((u=e.error)==null?void 0:u.toString())||"",n=((l=e.request)==null?void 0:l.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((h=e.request)==null?void 0:h.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",o=`${s}: ${i}${t?` ${t}`:""}`,a=new md(o,e.error?{cause:e.error}:void 0);for(const g of["request","options","response"])Object.defineProperty(a,g,{get(){return e[g]}});for(const[g,w]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,g,{get(){return e.response&&e.response[w]}});return a}const vd=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function _o(e="GET"){return vd.has(e.toUpperCase())}function wd(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const bd=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Sd=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Ed(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Sd.test(t)?"json":bd.has(t)||t.startsWith("text/")?"text":"blob"}function kd(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[s,i]of new n((e==null?void 0:e.headers)||{}))r.headers.set(s,i)}return r}const Cd=new Set([408,409,425,429,500,502,503,504]),Rd=new Set([101,204,205,304]);function bc(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let l;typeof a.options.retry=="number"?l=a.options.retry:l=_o(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(l>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Cd.has(f))){const h=a.options.retryDelay||0;return h>0&&await new Promise(g=>setTimeout(g,h)),i(a.request,{...a.options,retry:l-1,timeout:a.options.timeout})}}const u=yd(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(c,u={}){var h;const l={request:c,options:kd(u,e.defaults,n),response:void 0,error:void 0};if(l.options.method=(h=l.options.method)==null?void 0:h.toUpperCase(),l.options.onRequest&&await l.options.onRequest(l),typeof l.request=="string"&&(l.options.baseURL&&(l.request=dd(l.request,l.options.baseURL)),(l.options.query||l.options.params)&&(l.request=vc(l.request,{...l.options.params,...l.options.query}))),l.options.body&&_o(l.options.method)&&(wd(l.options.body)?(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new n(l.options.headers||{}),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")):("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half"))),!l.options.signal&&l.options.timeout){const g=new r;setTimeout(()=>g.abort(),l.options.timeout),l.options.signal=g.signal}try{l.response=await t(l.request,l.options)}catch(g){return l.error=g,l.options.onRequestError&&await l.options.onRequestError(l),await s(l)}if(l.response.body&&!Rd.has(l.response.status)&&l.options.method!=="HEAD"){const g=(l.options.parseResponse?"json":l.options.responseType)||Ed(l.response.headers.get("content-type")||"");switch(g){case"json":{const w=await l.response.text(),S=l.options.parseResponse||Kf;l.response._data=S(w);break}case"stream":{l.response._data=l.response.body;break}default:l.response._data=await l.response[g]()}}return l.options.onResponse&&await l.options.onResponse(l),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await l.options.onResponseError(l),await s(l)):l.response},o=async function(c,u){return(await i(c,u))._data};return o.raw=i,o.native=(...a)=>t(...a),o.create=(a={})=>bc({...e,defaults:{...e.defaults,...a}}),o}const _i=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")}(),Td=_i.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),xd=_i.Headers,Pd=_i.AbortController,Ad=bc({fetch:Td,Headers:xd,AbortController:Pd}),Id=Ad,Od=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},mr=Od().app,Hd=()=>mr.baseURL,Md=()=>mr.buildAssetsDir,Nd=(...e)=>jr(Sc(),Md(),...e),Sc=(...e)=>{const t=mr.cdnURL||mr.baseURL;return e.length?jr(t,...e):t};globalThis.__buildAssetsURL=Nd,globalThis.__publicAssetsURL=Sc;function Es(e,t={},n){for(const r in e){const s=e[r],i=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Es(s,t,i):typeof s=="function"&&(t[i]=s)}return t}const Ud={run:e=>e()},$d=()=>Ud,Ec=typeof console.createTask<"u"?console.createTask:$d;
1function jd(e,t){const n=t.shift(),r=Ec(n);return e.reduce((s,i)=>s.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Ld(e,t){const n=t.shift(),r=Ec(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function ts(e,t){for(const n of[...e])n(t)}class Fd{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 i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let o=i.message;o||(o=`${s} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}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=(...i)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...i));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=Es(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=Es(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(jd,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Ld,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&ts(this._before,s);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&s&&ts(this._after,s)}):(this._after&&s&&ts(this._after,s),i)}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 kc(){return new Fd}function Bd(e={}){let t,n=!1;const r=o=>{if(t&&t!==o)throw new Error("Context conflict")};let s;if(e.asyncContext){const o=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;o?s=new o:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(s&&t===void 0){const o=s.getStore();if(o!==void 0)return o}return t};return{use:()=>{const o=i();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>i(),set:(o,a)=>{a||r(o),t=o,n=!0},unset:()=>{t=void 0,n=!1},call:(o,a)=>{r(o),t=o;try{return s?s.run(o,a):a()}finally{n||(t=void 0)}},async callAsync(o,a){t=o;const c=()=>{t=o},u=()=>t===o?c:void 0;ks.add(u);try{const l=s?s.run(o,a):a();return n||(t=void 0),await l}finally{ks.delete(u)}}}}function qd(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Bd({...e,...r})),t[n],t[n]}}}const yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},mo="__unctx__",Dd=yr[mo]||(yr[mo]=qd()),Wd=(e,t={})=>Dd.get(e,t),yo="__unctx_async_handlers__",ks=yr[yo]||(yr[yo]=new Set);function jn(e){const t=[];for(const s of ks){const i=s();i&&t.push(i)}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 Cc=Wd("nuxt-app",{asyncContext:!1}),Kd="__nuxt_plugin";function zd(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.7.0"},get vue(){return n.vueApp.version}},payload:at({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>Qd(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:{},_payloadRevivers:{},...e};n.hooks=kc(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,i)=>{const o="$"+s;nr(n,o,i),nr(n.vueApp.config.globalProperties,o,i)},nr(n.vueApp,"$nuxt",n),nr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||ye;const s=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",s)}const r=at(n.payload.config);return n.provide("config",r),n}async function Jd(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),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 Vd(e,t){const n=[],r=[];for(const s of t){const i=Jd(e,s);s.parallel?n.push(i.catch(o=>r.push(o))):await i}
1if(await Promise.all(n),r.length)throw r[0]}/*! @__NO_SIDE_EFFECTS__ */function Dt(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[Kd]:!0}))}function Qd(e,t,n){const r=()=>n?t(...n):t();return Cc.set(e),e.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function ye(){var t;let e;if(li()&&(e=(t=Wn())==null?void 0:t.appContext.app.$nuxt),e=e||Cc.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function mi(){return ye().$config}function nr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Yd="modulepreload",Xd=function(e,t){return e[0]==="."?new URL(e,t).href:e},vo={},Gd=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Xd(i,r),i in vo)return;vo[i]=!0;const o=i.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!r)for(let l=s.length-1;l>=0;l--){const f=s[l];if(f.href===i&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":Yd,o||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),o)return new Promise((l,f)=>{u.addEventListener("load",l),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})},wt=(...e)=>Gd(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Zd=-1,eh=-2,th=-3,nh=-4,rh=-5,sh=-6;function ih(e,t){return oh(JSON.parse(e),t)}function oh(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(i,o=!1){if(i===Zd)return;if(i===th)return NaN;if(i===nh)return 1/0;if(i===rh)return-1/0;if(i===sh)return-0;if(o)throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],u=t==null?void 0:t[c];if(u)return r[i]=u(s(a[1]));switch(c){case"Date":r[i]=new Date(a[1]);break;case"Set":const l=new Set;r[i]=l;for(let g=1;g<a.length;g+=1)l.add(s(a[g]));break;case"Map":const f=new Map;r[i]=f;for(let g=1;g<a.length;g+=2)f.set(s(a[g]),s(a[g+1]));break;case"RegExp":r[i]=new RegExp(a[1],a[2]);break;case"Object":r[i]=Object(a[1]);break;case"BigInt":r[i]=BigInt(a[1]);break;case"null":const h=Object.create(null);r[i]=h;for(let g=1;g<a.length;g+=2)h[a[g]]=s(a[g+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(a.length);r[i]=c;for(let u=0;u<a.length;u+=1){const l=a[u];l!==eh&&(c[u]=s(l))}}else{const c={};r[i]=c;for(const u in a){const l=a[u];c[u]=s(l)}}return r[i]}return s(0)}function ah(e){return Array.isArray(e)?e:[e]}const ch=["title","script","style","noscript"],or=["base","meta","link","style","script","noscript"],lh=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],uh=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],wo=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"],fh=typeof window<"u";function Rc(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function bo(e){return e._h||Rc(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Tc(e,t){const{props:n,tag:r}=e;if(uh.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const i of s)if(typeof n[i]<"u"){const o=String(n[i]);return t&&!t(o)?!1:`${r}:${i}:${o}`}return!1}function So(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function dh(e,t,n){const r={tag:e,props:{}};return t instanceof Promise&&(t=await t),e==="templateParams"?(r.props=t,r):["title","titleTemplate"].includes(e)?(t&&typeof t=="object"?(r.textContent=t.textContent,t.tagPriority&&(r.tagPriority=t.tagPriority)):r.textContent=t,r):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?r.props.src=t:r.innerHTML=t,r):!1:(t.body&&(t.tagPosition="bodyClose",delete t.body),t.children&&(t.innerHTML=t.children,delete t.children),r.props=await xc({...t}),Object.keys(r.props).filter(s=>
1wo.includes(s)).forEach(s=>{(!["innerHTML","textContent"].includes(s)||ch.includes(r.tag))&&(r[s]=r.props[s]),delete r.props[s]}),wo.forEach(s=>{!r[s]&&n[s]&&(r[s]=n[s])}),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML)),r.props.content&&Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r)}function hh(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function xc(e){for(const t of Object.keys(e)){if(t==="class"){e[t]=hh(e[t]);continue}e[t]instanceof Promise&&(e[t]=await e[t]);const n=String(e[t]),r=t.startsWith("data-");n==="true"||n===""?e[t]=r?"true":!0:e[t]||(r&&n==="false"?e[t]="false":delete e[t])}return e}const ph=10;async function gh(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&lh.includes(n)).forEach(([n,r])=>{const s=ah(r);t.push(...s.map(i=>dh(n,i,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<ph)+r,n))}const Eo={base:-1,title:1},ko={critical:-8,high:-1,low:2};function vr(e){let t=10;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props.charset&&(t=-2),e.props["http-equiv"]==="content-security-policy"&&(t=0)):e.tag==="link"&&e.props.rel==="preconnect"?t=2:e.tag in Eo&&(t=Eo[e.tag]),typeof n=="string"&&n in ko?t+ko[n]:t)}const _h=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],gt="%separator";function Qt(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(o){let a;return["s","pageTitle"].includes(o)?a=t.pageTitle:o.includes(".")?a=o.split(".").reduce((c,u)=>c&&c[u]||void 0,t):a=t[o],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let s=e;try{s=decodeURI(e)}catch{}return(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(o=>{const a=r(o.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${o}(\\W|$)`,"g"),(c,u)=>`${a}${u}`).trim())}),e.includes(gt)&&(e.endsWith(gt)&&(e=e.slice(0,-gt.length).trim()),e.startsWith(gt)&&(e=e.slice(gt.length).trim()),e=e.replace(new RegExp(`\\${gt}\\s*\\${gt}`,"g"),gt),e=Qt(e,{separator:n},n)),e}async function mh(e){const t={tag:e.tagName.toLowerCase(),props:await xc(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=Tc(t),t}async function Pc(e,t={}){var l;const n=t.document||e.resolvedOptions.document;if(!n)return;const r=(await e.resolveTags()).map(f=>({tag:f,id:or.includes(f.tag)?bo(f):f.tag,shouldRender:!0})),s={shouldRender:!0,tags:r};if(await e.hooks.callHook("dom:beforeRender",s),!s.shouldRender)return;let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const h=(l=n==null?void 0:n[f])==null?void 0:l.children;for(const g of[...h].filter(w=>or.includes(w.tagName.toLowerCase())))i.elMap[g.getAttribute("data-hid")||bo(await mh(g))]=g}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function o(f,h,g){const w=`${f}:${h}`;i.sideEffects[w]=g,delete i.pendingSideEffects[w]}function a({id:f,$el:h,tag:g}){const w=g.tag.endsWith("Attrs");i.elMap[f]=h,w||(["textContent","innerHTML"].forEach(S=>{g[S]&&g[S]!==h[S]&&(h[S]=g[S])}),o(f,"el",()=>{i.elMap[f].remove(),delete i.elMap[f]})),Object.entries(g.props).forEach(([S,R])=>{const y=`attr:${S}`;if(S==="class")for(const d of(R||"").split(" ").filter(Boolean))w&&o(f,`${y}:${d}`,()=>h.classList.remove(d)),!h.classList.contains(d)&&h.classList.add(d);else h.getAttribute(S)!==R&&h.setAttribute(S,R===!0?"":String(R)),w&&o(f,y,()=>h.removeAttribute(S))})}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of r){const{tag:h,shouldRender:g,id:w}=f;if(g){if(h.tag==="title"){n.title=h.textContent;continue}f.$el=f.$el||i.elMap[w],f.$el?a(f):or.includes(h.tag)&&c.push(f)}}for(const f of c){const h=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),u[h]=u[h]||n.createDocumentFragment(),u[h].appendChild(f.$el)}for(const f of r)await e.hooks.callHook("dom:renderTag",f,n,o);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(i.pendingSideEffects).forEac
1h(f=>f()),e._dom=i,await e.hooks.callHook("dom:rendered",{renders:r})}async function yh(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Pc(e,t),delete e._domUpdatePromise,r()}))}function vh(e){return t=>{var r,s;const n=((s=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(i){yh(i,e)}}}}}const wh=["templateParams","htmlAttrs","bodyAttrs"],bh={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Tc(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,i=t[s];if(i){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&wh.includes(r.tag)&&(a="merge"),a==="merge"){const c=i.props;["class","style"].forEach(u=>{r.props[u]&&c[u]&&(u==="style"&&!c[u].endsWith(";")&&(c[u]+=";"),r.props[u]=`${c[u]} ${r.props[u]}`)}),t[s].props={...c,...r.props};return}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);return}else if(vr(r)>vr(i))return}const o=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(or.includes(r.tag)&&o===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n}}},Sh={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Co=["script","link","bodyAttrs"];function Ro(e){const t={},n={};return Object.entries(e.props).forEach(([r,s])=>{r.startsWith("on")&&typeof s=="function"?n[r]=s:t[r]=s}),{props:t,eventHandlers:n}}const Eh={hooks:{"ssr:render":function(e){e.tags=e.tags.map(t=>(!Co.includes(t.tag)||!Object.entries(t.props).find(([n,r])=>n.startsWith("on")&&typeof r=="function")||(t.props=Ro(t).props),t))},"tags:resolve":function(e){e.tags=e.tags.map(t=>{if(!Co.includes(t.tag))return t;const{props:n,eventHandlers:r}=Ro(t);return Object.keys(r).length&&(t.props=n,t._eventHandlers=r),t})},"dom:renderTag":function(e,t,n){if(!e.tag._eventHandlers)return;const r=e.tag.tag==="bodyAttrs"?t.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([s,i])=>{const o=`${e.tag._d||e.tag._p}:${s}`,a=s.slice(2).toLowerCase(),c=`data-h-${a}`;if(n(e.id,o,()=>{}),e.$el.hasAttribute(c))return;const u=i;e.$el.setAttribute(c,""),r.addEventListener(a,u),e.entry&&n(e.id,o,()=>{r.removeEventListener(a,u),e.$el.removeAttribute(c)})})}}},kh=["link","style","script","noscript"],Ch={hooks:{"tag:normalise":({tag:e})=>{e.key&&kh.includes(e.tag)&&(e.props["data-hid"]=e._h=Rc(e.key))}}},Rh={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(s=>s._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of _h)for(const s of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=t(s.tagPriority.replace(n,""));typeof i<"u"&&(s._p=i+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>vr(n)-vr(r))}}},Th={hooks:{"tags:resolve":e=>{var o;const{tags:t}=e,n=(o=t.find(a=>a.tag==="title"))==null?void 0:o.textContent,r=t.findIndex(a=>a.tag==="templateParams"),s=r!==-1?t[r].props:{},i=s.separator||"|";delete s.separator,s.pageTitle=Qt(s.pageTitle||n||"",s,i);for(const a of t)["titleTemplate","title"].includes(a.tag)&&typeof a.textContent=="string"?a.textContent=Qt(a.textContent,s,i):a.tag==="meta"&&typeof a.props.content=="string"?a.props.content=Qt(a.props.content,s,i):a.tag==="link"&&typeof a.props.href=="string"?a.props.href=Qt(a.props.href,s,i):a.tag==="script"&&["application/json","application/ld+json"].includes(a.props.type)&&a.innerHTML&&a.props.id!=="unhead:payload"&&(a.innerHTML=Qt(a.innerHTML,s,i));e.tags=t.filter(a=>a.tag!=="templateParams")}}},xh={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=So(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=So(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}};let Ac;function Ph(e={}){const t=Ah(e);return t.use(vh()),Ac=t}function To(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Ah(e={}){const t=kc();t.addHooks(e.hooks||{}),e.document=e.document||(fh?document:void 0);const n=!e.document;e.plugins=[bh,Sh,Eh,Ch,Rh,Th,xh,...(e==null?void 0:e.plugins)||[]];const r=()=>t.callHook("entries:updated",o);let s=0,i=[];const o={resolvedOptions:e,hooks:t,headEntries(){return i},use(a){const c=typeof a=="function"?a(o):a;To(c.mode,n)&&t.addHooks(c.hooks||{})},push(a,c){c==null||delete c.head;const u={_i:s++,input:a,...c};return To(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(l=>l._i!==u._i),t.callHook("entries:updated",o),r()},patch(l){i=i.map(f=>(f._i===u._i&&(f.input=u.input=l),f)),r()}}},async resolveTags(){const a={tags:[],entries:[...i]};await t.callHook("entries:resolve",a);for(const c of a.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const l of await gh(c)){const f={tag:l,entry:c,resolvedOptions:o.resolvedOptions};await t.callHook("tag:normalise",f),a.tags.push(f.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),a.tags},ssr:n};return e.plugins.forEach(a=>o.use(a)),o.hooks.callHook("init",o),o}function Ih(){return Ac}const Oh=pc.startsWith("3");function Hh(e){return typeof e=="function"?e():ue(e)}function wr(e,t=""){if(e instanceof Promise)return e;const n=Hh(e);return!e||!n?n:Array.isArray(n)?n.map(r=>wr(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,ue(s)]:[r,wr(s,r)])):n}const Mh={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=wr(t.input)}}},Ic="usehead";function Nh(e){return{install(n){Oh&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Ic,e))}}.install}function Uh(e={}){e.domDelayFn=e.domDelayFn||(n=>Tt(()=>setTimeout(()=>n(),0)));const t=Ph(e);return t.use(Mh),t.install=Nh(t),t}const xo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Po="__unhead_failed_injection_handler__";function $h(){if(Po in xo)return xo[Po]()}function jh(){const e=ke(Ic);return!e&&$h(),e||Ih()}function Z_(e,t={}){const n=t.head||jh();if(n)return n.ssr?n.push(e,t):Lh(n,e,t)}function Lh(e,t,n={}){const r=Ie(!1),s=Ie({});ku(()=>{s.value=r.value?{}:wr(t)});
1const i=e.push(s.value,n);return jt(s,a=>{i.patch(a)}),Wn()&&(Mr(()=>{i.dispose()}),qa(()=>{r.value=!0}),Ba(()=>{r.value=!1})),i}const Fh=!1,Cs=!1,Bh=!1,qh=!0,Dh="#__nuxt";async function Wh(e){try{return qh?Oc(await fetch(e).then(t=>t.text())):await wt(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}let rr=null;async function Kh(){if(rr)return rr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Oc(e.textContent||""),n=e.dataset.src?await Wh(e.dataset.src):void 0;return rr={...t,...n,...window.__NUXT__},rr}function Oc(e){return ih(e,ye()._payloadRevivers)}function zh(e,t){ye()._payloadRevivers[e]=t}function ns(e){return e!==null&&typeof e=="object"}function Rs(e,t,n=".",r){if(!ns(t))return Rs(e,{},n,r);const s=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const o=e[i];o!=null&&(r&&r(s,i,o,n)||(Array.isArray(o)&&Array.isArray(s[i])?s[i]=[...o,...s[i]]:ns(o)&&ns(s[i])?s[i]=Rs(o,s[i],(n?`${n}.`:"")+i.toString(),r):s[i]=o))}return s}function Jh(e){return(...t)=>t.reduce((n,r)=>Rs(n,r,"",e),{})}const Vh=Jh();function Qh(e,t){try{return t in e}catch{return!1}}var Yh=Object.defineProperty,Xh=(e,t,n)=>t in e?Yh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ot=(e,t,n)=>(Xh(e,typeof t!="symbol"?t+"":t,n),n);class Ts extends Error{constructor(t,n={}){super(t,n),Ot(this,"statusCode",500),Ot(this,"fatal",!1),Ot(this,"unhandled",!1),Ot(this,"statusMessage"),Ot(this,"data"),Ot(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ps(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Hc(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Ot(Ts,"__h3_error__",!0);function xs(e){if(typeof e=="string")return new Ts(e);if(Gh(e))return e;const t=new Ts(e.message??e.statusMessage??"",{cause:e.cause||e});if(Qh(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=Ps(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ps(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Hc(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 Gh(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Zh=/[^\u0009\u0020-\u007E]/g;function Hc(e=""){return e.replace(Zh,"")}function Ps(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const ep="$s";function tp(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=ep+n,i=ye(),o=xa(i.payload.state,s);if(o.value===void 0&&r){const a=r();if(de(a))return i.payload.state[s]=a,a;o.value=a}return o}const Mc=Symbol("layout-meta"),Kn=Symbol("route"),gn=()=>{var e;return(e=ye())==null?void 0:e.$router},Nc=()=>li()?ke(Kn,ye()._route):ye()._route;/*! @__NO_SIDE_EFFECTS__ */const np=()=>{try{if(ye()._processingMiddleware)return!0}catch{return!0}return!1},em=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:vc(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([l,f])=>f!==void 0).map(([l,f])=>`${l.toLowerCase()}=${f}`).join(", ");open(n,a,u)}return Promise.resolve()}const r=(t==null?void 0:t.external)||$r(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=gi(n).protocol;if(a&&ld(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const s=np();if(!r&&s)return e;const i=gn(),o=ye();return r?(t!=null&&t.replace?location.replace(n):location.href=n,s?o.isHydrating?new Promise(()=>{}
vendor: 4,198 bytes, lines 1-5
1):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)},Lr=()=>xa(ye().payload,"error"),Gt=e=>{const t=yi(e);try{const n=ye(),r=Lr();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},rp=async(e={})=>{const t=ye(),n=Lr();t.callHook("app:error:cleared",e),e.redirect&&await gn().replace(e.redirect),n.value=null},sp=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),yi=e=>{const t=xs(e);return t.__nuxt_error=!0,t},Ao={NuxtError:e=>yi(e),EmptyShallowRef:e=>Hn(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),EmptyRef:e=>Ie(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),ShallowRef:e=>Hn(e),ShallowReactive:e=>qn(e),Ref:e=>Ie(e),Reactive:e=>at(e)},ip=Dt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Ao)zh(r,Ao[r]);Object.assign(e.payload,([t,n]=jn(()=>e.runWithContext(Kh)),t=await t,n(),t)),window.__NUXT__=e.payload}});/*!
2  * vue-router v4.2.4
3  * (c) 2023 Eduardo San Martin Morote
4  * @license MIT
5  */const Yt=typeof window<"u";function op(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const oe=Object.assign;function rs(e,t){const n={};for(const r in t){const s=t[r];n[r]=Ke(s)?s.map(e):e(s)}return n}const Tn=()=>{},Ke=Array.isArray,ap=/\/$/,cp=e=>e.replace(ap,"");function ss(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(r=t.slice(0,c),i=t.slice(c+1,a>-1?a:t.length),s=e(i)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=dp(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:o}}function lp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Io(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function up(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&cn(t.matched[r],n.matched[s])&&Uc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function cn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Uc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!fp(e[n],t[n]))return!1;return!0}function fp(e,t){return Ke(e)?Oo(e,t):Ke(t)?Oo(t,e):e===t}function Oo(e,t){return Ke(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function dp(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 i=n.length-1,o,a;for(o=0;o<r.length;o++)if(a=r[o],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Ln;(function(e){e.pop="pop",e.push="push"})(Ln||(Ln={}));var xn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(xn||(xn={}));function hp(e){if(!e)if(Yt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),cp(e)}const pp=/^[^#]+#/;function gp(e,t){return e.replace(pp,"#")+t}function _p(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 Fr=()=>({left:window.pageXOffset,top:window.pageYOffset});function mp(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=_p(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Ho(e,t){return(history.state?history.state.position-t:-1)+e}const As=new Map;function yp(e,t){As.set(e,t)}function vp(e){const t=As.get(e);return As.delete(e),t}let wp=()=>location.protocol+"//"+location.host;function $c(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),Io(c,"")}return Io(n,e)+r+s}function bp(e,t,n,r){let s=[],i=[],o=null;const a=({state:h})=>{const g=$c(e,location),w=n.value,S=t.value;let R=0;if(h){if(n.value=g,t.value=h,o&&o===w){o=null;return}R=S?h.position-S.position:0}else r(g);
vendor: 4,170 bytes, line 5
5s.forEach(y=>{y(n.value,w,{delta:R,type:Ln.pop,direction:R?R>0?xn.forward:xn.back:xn.unknown})})};function c(){o=n.value}function u(h){s.push(h);const g=()=>{const w=s.indexOf(h);w>-1&&s.splice(w,1)};return i.push(g),g}function l(){const{history:h}=window;h.state&&h.replaceState(oe({},h.state,{scroll:Fr()}),"")}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function Mo(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Fr():null}}function Sp(e){const{history:t,location:n}=window,r={value:$c(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,u,l){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:wp()+e+c;try{t[l?"replaceState":"pushState"](u,"",h),s.value=u}catch(g){console.error(g),n[l?"replace":"assign"](h)}}function o(c,u){const l=oe({},t.state,Mo(s.value.back,c,s.value.forward,!0),u,{position:s.value.position});i(c,l,!0),r.value=c}function a(c,u){const l=oe({},s.value,t.state,{forward:c,scroll:Fr()});i(l.current,l,!0);const f=oe({},Mo(r.value,c,null),{position:l.position+1},u);i(c,f,!1),r.value=c}return{location:r,state:s,push:a,replace:o}}function jc(e){e=hp(e);const t=Sp(e),n=bp(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=oe({location:"",base:e,go:r,createHref:gp.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Ep(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),jc(e)}function kp(e){return typeof e=="string"||e&&typeof e=="object"}function Lc(e){return typeof e=="string"||typeof e=="symbol"}const Ve={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Fc=Symbol("");var No;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(No||(No={}));function ln(e,t){return oe(new Error,{type:e,[Fc]:!0},t)}function rt(e,t){return e instanceof Error&&Fc in e&&(t==null||!!(e.type&t))}const Uo="[^/]+?",Cp={sensitive:!1,strict:!1,start:!0,end:!0},Rp=/[.+*?^${}()[\]/\\]/g;function Tp(e,t){const n=oe({},Cp,t),r=[];let s=n.start?"^":"";const i=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const h=u[f];let g=40+(n.sensitive?.25:0);if(h.type===0)f||(s+="/"),s+=h.value.replace(Rp,"\\$&"),g+=40;else if(h.type===1){const{value:w,repeatable:S,optional:R,regexp:y}=h;i.push({name:w,repeatable:S,optional:R});const d=y||Uo;if(d!==Uo){g+=10;try{new RegExp(`(${d})`)}catch(m){throw new Error(`Invalid custom RegExp for param "${w}" (${d}): `+m.message)}}let v=S?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;f||(v=R&&u.length<2?`(?:/${v})`:"/"+v),R&&(v+="?"),s+=v,g+=20,R&&(g+=-8),S&&(g+=-20),d===".*"&&(g+=-50)}l.push(g)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const o=new RegExp(s,n.sensitive?"":"i");function a(u){const l=u.match(o),f={};if(!l)return null;for(let h=1;h<l.length;h++){const g=l[h]||"",w=i[h-1];f[w.name]=g&&w.repeatable?g.split("/"):g}return f}function c(u){let l="",f=!1;for(const h of e){(!f||!l.endsWith("/"))&&(l+="/"),f=!1;for(const g of h)if(g.type===0)l+=g.value;else if(g.type===1){const{value:w,repeatable:S,optional:R}=g,y=w in u?u[w]:"";if(Ke(y)&&!S)throw new Error(`Provided param "${w}" is an array but it is not repeatable (* or + modifiers)`);const d=Ke(y)?y.join("/"):y;if(!d)if(R)h.length<2&&(l.endsWith("/")?l=l.slice(0,-1):f=!0);else throw new Error(`Missing required param "${w}"`);l+=d}}return l||"/"}return{re:o,score:r,keys:i,parse:a,stringify:c}}function xp(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}
vendor: 9,163 bytes, line 5
5return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Pp(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const i=xp(r[n],s[n]);if(i)return i;n++}if(Math.abs(s.length-r.length)===1){if($o(r))return 1;if($o(s))return-1}return s.length-r.length}function $o(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ap={type:0,value:""},Ip=/[a-zA-Z0-9_]/;function Op(e){if(!e)return[[]];if(e==="/")return[[Ap]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=0,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,c,u="",l="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(u&&f(),o()):c===":"?(f(),n=1):h();break;case 4:h(),n=r;break;case 1:c==="("?n=2:Ip.test(c)?h():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+c:n=3:l+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,l="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),s}function Hp(e,t,n){const r=Tp(Op(e.path),n),s=oe(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Mp(e,t){const n=[],r=new Map;t=Fo({strict:!1,end:!0,sensitive:!1},t);function s(l){return r.get(l)}function i(l,f,h){const g=!h,w=Np(l);w.aliasOf=h&&h.record;const S=Fo(t,l),R=[w];if("alias"in l){const v=typeof l.alias=="string"?[l.alias]:l.alias;for(const m of v)R.push(oe({},w,{components:h?h.record.components:w.components,path:m,aliasOf:h?h.record:w}))}let y,d;for(const v of R){const{path:m}=v;if(f&&m[0]!=="/"){const E=f.record.path,A=E[E.length-1]==="/"?"":"/";v.path=f.record.path+(m&&A+m)}if(y=Hp(v,f,S),h?h.alias.push(y):(d=d||y,d!==y&&d.alias.push(y),g&&l.name&&!Lo(y)&&o(l.name)),w.children){const E=w.children;for(let A=0;A<E.length;A++)i(E[A],y,h&&h.children[A])}h=h||y,(y.record.components&&Object.keys(y.record.components).length||y.record.name||y.record.redirect)&&c(y)}return d?()=>{o(d)}:Tn}function o(l){if(Lc(l)){const f=r.get(l);f&&(r.delete(l),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(l);f>-1&&(n.splice(f,1),l.record.name&&r.delete(l.record.name),l.children.forEach(o),l.alias.forEach(o))}}function a(){return n}function c(l){let f=0;for(;f<n.length&&Pp(l,n[f])>=0&&(l.record.path!==n[f].record.path||!Bc(l,n[f]));)f++;n.splice(f,0,l),l.record.name&&!Lo(l)&&r.set(l.record.name,l)}function u(l,f){let h,g={},w,S;if("name"in l&&l.name){if(h=r.get(l.name),!h)throw ln(1,{location:l});S=h.record.name,g=oe(jo(f.params,h.keys.filter(d=>!d.optional).map(d=>d.name)),l.params&&jo(l.params,h.keys.map(d=>d.name))),w=h.stringify(g)}else if("path"in l)w=l.path,h=n.find(d=>d.re.test(w)),h&&(g=h.parse(w),S=h.record.name);else{if(h=f.name?r.get(f.name):n.find(d=>d.re.test(f.path)),!h)throw ln(1,{location:l,currentLocation:f});S=h.record.name,g=oe({},f.params,l.params),w=h.stringify(g)}const R=[];let y=h;for(;y;)R.unshift(y.record),y=y.parent;return{name:S,path:w,params:g,matched:R,meta:$p(R)}}return e.forEach(l=>i(l)),{addRoute:i,resolve:u,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function jo(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Np(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Up(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Up(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 Lo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $p(e){return e.reduce((t,n)=>oe(t,n.meta),{})}function Fo(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Bc(e,t){return t.children.some(n=>n===e||Bc(e,n))}const qc=/#/g,jp=/&/g,Lp=/\//g,Fp=/=/g,Bp=/\?/g,Dc=/\+/g,qp=/%5B/g,Dp=/%5D/g,Wc=/%5E/g,Wp=/%60/g,Kc=/%7B/g,Kp=/%7C/g,zc=/%7D/g,zp=/%20/g;function vi(e){return encodeURI(""+e).replace(Kp,"|").replace(qp,"[").replace(Dp,"]")}function Jp(e){return vi(e).replace(Kc,"{").replace(zc,"}").replace(Wc,"^")}function Is(e){return vi(e).replace(Dc,"%2B").replace(zp,"+").replace(qc,"%23").replace(jp,"%26").replace(Wp,"`").replace(Kc,"{").replace(zc,"}").replace(Wc,"^")}function Vp(e){return Is(e).replace(Fp,"%3D")}function Qp(e){return vi(e).replace(qc,"%23").replace(Bp,"%3F")}function Yp(e){return e==null?"":Qp(e).replace(Lp,"%2F")}function br(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Xp(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const i=r[s].replace(Dc," "),o=i.indexOf("="),a=br(o<0?i:i.slice(0,o)),c=o<0?null:br(i.slice(o+1));if(a in t){let u=t[a];Ke(u)||(u=t[a]=[u]),u.push(c)}else t[a]=c}return t}function Bo(e){let t="";for(let n in e){const r=e[n];if(n=Vp(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ke(r)?r.map(i=>i&&Is(i)):[r&&Is(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Gp(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ke(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Zp=Symbol(""),qo=Symbol(""),wi=Symbol(""),bi=Symbol(""),Os=Symbol("");function yn(){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 yt(e,t,n,r,s){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((o,a)=>{const c=f=>{f===!1?a(ln(4,{from:n,to:t})):f instanceof Error?a(f):kp(f)?a(ln(2,{from:t,to:f})):(i&&r.enterCallbacks[s]===i&&typeof f=="function"&&i.push(f),o())},u=e.call(r&&r.instances[s],t,n,c);let l=Promise.resolve(u);e.length<3&&(l=l.then(c)),l.catch(f=>a(f))})}function is(e,t,n,r){const s=[];for(const i of e)for(const o in i.components){let a=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(eg(a)){const u=(a.__vccOpts||a)[t];u&&s.push(yt(u,n,r,i,o))}else{let c=a();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const l=op(u)?u.default:u;i.components[o]=l;const h=(l.__vccOpts||l)[t];return h&&yt(h,n,r,i,o)()}))}}return s}function eg(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Do(e){const t=ke(wi),n=ke(bi),r=Ee(()=>t.resolve(ue(e.to))),s=Ee(()=>{const{matched:c}=r.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const h=f.findIndex(cn.bind(null,l));if(h>-1)return h;const g=Wo(c[u-2]);return u>1&&Wo(l)===g&&f[f.length-1].path!==g?f.findIndex(cn.bind(null,c[u-2])):h}),i=Ee(()=>s.value>-1&&sg(n.params,r.value.params)),o=Ee(()=>s.value>-1&&s.value===n.matched.length-1&&Uc(n.params,r.value.params));function a(c={}){return rg(c)?t[ue(e.replace)?"replace":"push"](ue(e.to)).catch(Tn):Promise.resolve()}return{route:r,href:Ee(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}const tg=xt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Do,setup(e,{slots:t}){const n=at(Do(e)),{options:r}=ke(wi),s=Ee(()=>({[Ko(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ko(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Ne("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),ng=tg;function rg(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 sg(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(!Ke(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function Wo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ko=(e,t,n)=>e??t??n,ig=xt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ke(Os),s=Ee(()=>e.route||r.value),i=ke(qo,0),o=Ee(()=>{let u=ue(i);const{matched:l}=s.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),a=Ee(()=>s.value.matched[o.value]);Ft(qo,Ee(()=>o.value+1)),Ft(Zp,a),Ft(Os,s);const c=Ie();return jt(()=>
vendor: 4,587 bytes, line 5
5[c.value,a.value,e.name],([u,l,f],[h,g,w])=>{l&&(l.instances[f]=u,g&&g!==l&&u&&u===h&&(l.leaveGuards.size||(l.leaveGuards=g.leaveGuards),l.updateGuards.size||(l.updateGuards=g.updateGuards))),u&&l&&(!g||!cn(l,g)||!h)&&(l.enterCallbacks[f]||[]).forEach(S=>S(u))},{flush:"post"}),()=>{const u=s.value,l=e.name,f=a.value,h=f&&f.components[l];if(!h)return zo(n.default,{Component:h,route:u});const g=f.props[l],w=g?g===!0?u.params:typeof g=="function"?g(u):g:null,R=Ne(h,oe({},w,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return zo(n.default,{Component:R,route:u})||R}}});function zo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Jc=ig;function og(e){const t=Mp(e.routes,e),n=e.parseQuery||Xp,r=e.stringifyQuery||Bo,s=e.history,i=yn(),o=yn(),a=yn(),c=Hn(Ve);let u=Ve;Yt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=rs.bind(null,T=>""+T),f=rs.bind(null,Yp),h=rs.bind(null,br);function g(T,q){let j,K;return Lc(T)?(j=t.getRecordMatcher(T),K=q):K=T,t.addRoute(K,j)}function w(T){const q=t.getRecordMatcher(T);q&&t.removeRoute(q)}function S(){return t.getRoutes().map(T=>T.record)}function R(T){return!!t.getRecordMatcher(T)}function y(T,q){if(q=oe({},q||c.value),typeof T=="string"){const b=ss(n,T,q.path),C=t.resolve({path:b.path},q),x=s.createHref(b.fullPath);return oe(b,C,{params:h(C.params),hash:br(b.hash),redirectedFrom:void 0,href:x})}let j;if("path"in T)j=oe({},T,{path:ss(n,T.path,q.path).path});else{const b=oe({},T.params);for(const C in b)b[C]==null&&delete b[C];j=oe({},T,{params:f(b)}),q.params=f(q.params)}const K=t.resolve(j,q),ie=T.hash||"";K.params=l(h(K.params));const p=lp(r,oe({},T,{hash:Jp(ie),path:K.path})),_=s.createHref(p);return oe({fullPath:p,hash:ie,query:r===Bo?Gp(T.query):T.query||{}},K,{redirectedFrom:void 0,href:_})}function d(T){return typeof T=="string"?ss(n,T,c.value.path):oe({},T)}function v(T,q){if(u!==T)return ln(8,{from:q,to:T})}function m(T){return P(T)}function E(T){return m(oe(d(T),{replace:!0}))}function A(T){const q=T.matched[T.matched.length-1];if(q&&q.redirect){const{redirect:j}=q;let K=typeof j=="function"?j(T):j;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=d(K):{path:K},K.params={}),oe({query:T.query,hash:T.hash,params:"path"in K?{}:T.params},K)}}function P(T,q){const j=u=y(T),K=c.value,ie=T.state,p=T.force,_=T.replace===!0,b=A(j);if(b)return P(oe(d(b),{state:typeof b=="object"?oe({},ie,b.state):ie,force:p,replace:_}),q||j);const C=j;C.redirectedFrom=q;let x;return!p&&up(r,K,j)&&(x=ln(16,{to:C,from:K}),ze(K,K,!0,!1)),(x?Promise.resolve(x):U(C,K)).catch(O=>rt(O)?rt(O,2)?O:ut(O):te(O,C,K)).then(O=>{if(O){if(rt(O,2))return P(oe({replace:_},d(O.to),{state:typeof O.to=="object"?oe({},ie,O.to.state):ie,force:p}),q||C)}else O=N(C,K,!0,_,ie);return B(C,K,O),O})}function k(T,q){const j=v(T,q);return j?Promise.reject(j):Promise.resolve()}function I(T){const q=Kt.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(T):T()}function U(T,q){let j;const[K,ie,p]=ag(T,q);j=is(K.reverse(),"beforeRouteLeave",T,q);for(const b of K)b.leaveGuards.forEach(C=>{j.push(yt(C,T,q))});const _=k.bind(null,T,q);return j.push(_),be(j).then(()=>{j=[];for(const b of i.list())j.push(yt(b,T,q));return j.push(_),be(j)}).then(()=>{j=is(ie,"beforeRouteUpdate",T,q);for(const b of ie)b.updateGuards.forEach(C=>{j.push(yt(C,T,q))});return j.push(_),be(j)}).then(()=>{j=[];for(const b of p)if(b.beforeEnter)if(Ke(b.beforeEnter))for(const C of b.beforeEnter)j.push(yt(C,T,q));else j.push(yt(b.beforeEnter,T,q));return j.push(_),be(j)}).then(()=>(T.matched.forEach(b=>b.enterCallbacks={}),j=is(p,"beforeRouteEnter",T,q),j.push(_),be(j))).then(()=>{j=[];for(const b of o.list())j.push(yt(b,T,q));return j.push(_),be(j)}).catch(b=>rt(b,8)?b:Promise.reject(b))}function B(T,q,j){a.list().forEach(K=>I(()=>K(T,q,j)))}function N(T,q,j,K,ie){const p=v(T,q);if(p)return p;const _=q===Ve,b=Yt?history.state:{};j&&(K||_?s.replace(T.fullPath,oe({scroll:_&&b&&b.scroll},ie)):s.push(T.fullPath,ie)),c.value=T,ze(T,q,j,_),ut()}let W;function F(){W||(W=s.listen((T,q,j)=>{if(!Jn.listening)return;const K=y(T),ie=A(K);if(ie){P(oe(ie,{replace:!0}),K).catch(Tn);return}u=K;const p=c.value;Yt&&yp(Ho(p.fullPath,j.delta),Fr()),U(K,p).catch(_=>rt(_,12)?_:rt(_,2)?(P(_.to,K).then(b=>{rt(b,20)&&!j.delta&&j.type===Ln.pop&&s.go(-1,!1)}).catch(Tn),Promise.reject()):(j.delta&&s.go(-j.delta,!1),te(_,K,p))).then(_=>{_=_||N(K,p,!1),_&&(j.delta&&!rt(_,8)?s.go(-j.delta,!1):j.type===Ln.pop&&rt(_,20)&&s.go(-1,!1)),B(K,p,_)}
5).catch(Tn)}))}let se=yn(),V=yn(),Z;function te(T,q,j){ut(T);const K=V.list();return K.length?K.forEach(ie=>ie(T,q,j)):console.error(T),Promise.reject(T)}function nt(){return Z&&c.value!==Ve?Promise.resolve():new Promise((T,q)=>{se.add([T,q])})}function ut(T){return Z||(Z=!T,F(),se.list().forEach(([q,j])=>T?j(T):q()),se.reset()),T}function ze(T,q,j,K){const{scrollBehavior:ie}=e;if(!Yt||!ie)return Promise.resolve();const p=!j&&vp(Ho(T.fullPath,0))||(K||!j)&&history.state&&history.state.scroll||null;return Tt().then(()=>ie(T,q,p)).then(_=>_&&mp(_)).catch(_=>te(_,T,q))}const Te=T=>s.go(T);let Wt;const Kt=new Set,Jn={currentRoute:c,listening:!0,addRoute:g,removeRoute:w,hasRoute:R,getRoutes:S,resolve:y,options:e,push:m,replace:E,go:Te,back:()=>Te(-1),forward:()=>Te(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:V.add,isReady:nt,install(T){const q=this;T.component("RouterLink",ng),T.component("RouterView",Jc),T.config.globalProperties.$router=q,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>ue(c)}),Yt&&!Wt&&c.value===Ve&&(Wt=!0,m(s.location).catch(ie=>{}));const j={};for(const ie in Ve)Object.defineProperty(j,ie,{get:()=>c.value[ie],enumerable:!0});T.provide(wi,q),T.provide(bi,qn(j)),T.provide(Os,c);const K=T.unmount;Kt.add(T),T.unmount=function(){Kt.delete(T),Kt.size<1&&(u=Ve,W&&W(),W=null,c.value=Ve,Wt=!1,Z=!1),K()}}};function be(T){return T.reduce((q,j)=>q.then(()=>I(j)),Promise.resolve())}return Jn}function ag(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const a=t.matched[o];a&&(e.matched.find(u=>cn(u,a))?r.push(a):n.push(a));const c=e.matched[o];c&&(t.matched.find(u=>cn(u,c))||s.push(c))}return[n,r,s]}function cg(){return ke(bi)}const Jo=[{name:"auth",path:"/auth",meta:{},alias:[],redirect:void 0,component:()=>wt(()=>import("./auth.7d85beae.js"),[],import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>wt(()=>import("./index.6321963f.js"),[],import.meta.url).then(e=>e.default||e)},{name:"logout",path:"/logout",meta:{},alias:[],redirect:void 0,component:()=>wt(()=>import("./logout.d72b5fd4.js"),[],import.meta.url).then(e=>e.default||e)},{name:"silent-refresh",path:"/silent-refresh",meta:{},alias:[],redirect:void 0,component:()=>wt(()=>import("./silent-refresh.ea7dbdce.js"),[],import.meta.url).then(e=>e.default||e)}],lg={scrollBehavior(e,t,n){var u;const r=ye(),s=((u=gn().options)==null?void 0:u.scrollBehaviorType)??"auto";let i=n||void 0;const o=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!i&&t&&e&&o!==!1&&ug(t,e)&&(i={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Vo(e.hash),behavior:s}}const a=l=>!!(l.meta.pageTransition??Cs),c=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(l=>{r.hooks.hookOnce(c,async()=>{await Tt(),e.hash&&(i={el:e.hash,top:Vo(e.hash),behavior:s}),l(i)})})}};function Vo(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function ug(e,t){const n=t.matched.every((r,s)=>{var i,o,a;return((i=r.components)==null?void 0:i.default)===((a=(o=e.matched[s])==null?void 0:o.components)==null?void 0:a.default)});return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const fg={},xe={...fg,...lg},dg=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=ye(),s=gn();if(([t,n]=jn(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const o=yi({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=s.beforeResolve(u=>{if(a(),u===e){const l=s.afterEach(async()=>{l(),await r.runWithContext(()=>Gt(o)),window.history.pushState({},"",e.fullPath)});return!1}})};function hg(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0: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:ye().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}var Nt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};
vendor: 5,622 bytes, line 5
5function Br(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function pg(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}function gg(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Vc={exports:{}};const _g={},mg=Object.freeze(Object.defineProperty({__proto__:null,default:_g},Symbol.toStringTag,{value:"Module"})),yg=pg(mg);(function(e,t){(function(n,r){e.exports=r()})(Nt,function(){var n=n||function(r,s){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof Nt<"u"&&Nt.crypto&&(i=Nt.crypto),!i&&typeof gg=="function")try{i=yg}catch{}var o=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function d(){}return function(v){var m;return d.prototype=v,m=new d,d.prototype=null,m}}(),c={},u=c.lib={},l=u.Base=function(){return{extend:function(d){var v=a(this);return d&&v.mixIn(d),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var d=this.extend();return d.init.apply(d,arguments),d},init:function(){},mixIn:function(d){for(var v in d)d.hasOwnProperty(v)&&(this[v]=d[v]);d.hasOwnProperty("toString")&&(this.toString=d.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=u.WordArray=l.extend({init:function(d,v){d=this.words=d||[],v!=s?this.sigBytes=v:this.sigBytes=d.length*4},toString:function(d){return(d||g).stringify(this)},concat:function(d){var v=this.words,m=d.words,E=this.sigBytes,A=d.sigBytes;if(this.clamp(),E%4)for(var P=0;P<A;P++){var k=m[P>>>2]>>>24-P%4*8&255;v[E+P>>>2]|=k<<24-(E+P)%4*8}else for(var I=0;I<A;I+=4)v[E+I>>>2]=m[I>>>2];return this.sigBytes+=A,this},clamp:function(){var d=this.words,v=this.sigBytes;d[v>>>2]&=4294967295<<32-v%4*8,d.length=r.ceil(v/4)},clone:function(){var d=l.clone.call(this);return d.words=this.words.slice(0),d},random:function(d){for(var v=[],m=0;m<d;m+=4)v.push(o());return new f.init(v,d)}}),h=c.enc={},g=h.Hex={stringify:function(d){for(var v=d.words,m=d.sigBytes,E=[],A=0;A<m;A++){var P=v[A>>>2]>>>24-A%4*8&255;E.push((P>>>4).toString(16)),E.push((P&15).toString(16))}return E.join("")},parse:function(d){for(var v=d.length,m=[],E=0;E<v;E+=2)m[E>>>3]|=parseInt(d.substr(E,2),16)<<24-E%8*4;return new f.init(m,v/2)}},w=h.Latin1={stringify:function(d){for(var v=d.words,m=d.sigBytes,E=[],A=0;A<m;A++){var P=v[A>>>2]>>>24-A%4*8&255;E.push(String.fromCharCode(P))}return E.join("")},parse:function(d){for(var v=d.length,m=[],E=0;E<v;E++)m[E>>>2]|=(d.charCodeAt(E)&255)<<24-E%4*8;return new f.init(m,v)}},S=h.Utf8={stringify:function(d){try{return decodeURIComponent(escape(w.stringify(d)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(d){return w.parse(unescape(encodeURIComponent(d)))}},R=u.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(d){typeof d=="string"&&(d=S.parse(d)),this._data.concat(d),this._nDataBytes+=d.sigBytes},_process:function(d){var v,m=this._data,E=m.words,A=m.sigBytes,P=this.blockSize,k=P*4,I=A/k;d?I=r.ceil(I):I=r.max((I|0)-this._minBufferSize,0);var U=I*P,B=r.min(U*4,A);if(U){for(var N=0;N<U;N+=P)this._doProcessBlock(E,N);v=E.splice(0,U),m.sigBytes-=B}return new f.init(v,B)},clone:function(){var d=l.clone.call(this);return d._data=this._data.clone(),d},_minBufferSize:0});u.Hasher=R.extend({cfg:l.extend(),init:function(d){this.cfg=this.cfg.extend(d),this.reset()},reset:function(){R.reset.call(this),this._doReset()},update:function(d){return this._append(d),this._process(),this},finalize:function(d){d&&this._append(d);var v=this._doFinalize();return v},blockSize:16,_createHelper:function(d){return function(v,m){return new d.init(m).finalize(v)}},_createHmacHelper:function(d){return function(v,m){return new y.HMAC.init(d,m).finalize(v)}}});var y=c.algo={};return c}(Math);return n})})(Vc);var qr=Vc.exports;const vg=Br(qr);var Qc={exports:{}};(function(e,t){(function(n,r){e.exports=r(qr)})(Nt,function(n){return function(r){var s=n,i=s.lib,o=i.WordArray,a=i.Hasher,c=s.algo,u=[],l=[];(function(){function g(y){for(var d=r.sqrt(y),v=2;v<=d;v++)if(!(y%v))return!1;return!0}function w(y){return(y-(y|0))*4294967296|0}for(var S=2,R=0;R<64;)g(S)&&(R<8&&(u[R]=w(r.pow(S,1/2))),l[R]=w(r.pow(S,1/3)),R++),S++})();var f=[],h=c.SHA256=a.extend({_doReset:function(){this._hash=new o.init(u.slice(0))},_doProcessBlock:function(g,w){for(var S=this._hash.words,R=S[0],y=S[1],d=S[2],v=S[3],m=S[4],E=S[5],A=S[6],P=S[7],k=0;k<64;k++){if(k<16)f[k]=g[w+k]|0;else{var I=f[k-15],U=(I<<25|I>>>7)^(I<<14|I>>>18)^I>>>3,B=f[k-2],N=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;f[k]=U+f[k-7]+N+f[k-16]}
5var W=m&E^~m&A,F=R&y^R&d^y&d,se=(R<<30|R>>>2)^(R<<19|R>>>13)^(R<<10|R>>>22),V=(m<<26|m>>>6)^(m<<21|m>>>11)^(m<<7|m>>>25),Z=P+V+W+l[k]+f[k],te=se+F;P=A,A=E,E=m,m=v+Z|0,v=d,d=y,y=R,R=Z+te|0}S[0]=S[0]+R|0,S[1]=S[1]+y|0,S[2]=S[2]+d|0,S[3]=S[3]+v|0,S[4]=S[4]+m|0,S[5]=S[5]+E|0,S[6]=S[6]+A|0,S[7]=S[7]+P|0},_doFinalize:function(){var g=this._data,w=g.words,S=this._nDataBytes*8,R=g.sigBytes*8;return w[R>>>5]|=128<<24-R%32,w[(R+64>>>9<<4)+14]=r.floor(S/4294967296),w[(R+64>>>9<<4)+15]=S,g.sigBytes=w.length*4,this._process(),this._hash},clone:function(){var g=a.clone.call(this);return g._hash=this._hash.clone(),g}});s.SHA256=a._createHelper(h),s.HmacSHA256=a._createHmacHelper(h)}(Math),n.SHA256})})(Qc);var wg=Qc.exports;const bg=Br(wg);var Yc={exports:{}};(function(e,t){(function(n,r){e.exports=r(qr)})(Nt,function(n){return function(){var r=n,s=r.lib,i=s.WordArray,o=r.enc;o.Base64={stringify:function(c){var u=c.words,l=c.sigBytes,f=this._map;c.clamp();for(var h=[],g=0;g<l;g+=3)for(var w=u[g>>>2]>>>24-g%4*8&255,S=u[g+1>>>2]>>>24-(g+1)%4*8&255,R=u[g+2>>>2]>>>24-(g+2)%4*8&255,y=w<<16|S<<8|R,d=0;d<4&&g+d*.75<l;d++)h.push(f.charAt(y>>>6*(3-d)&63));var v=f.charAt(64);if(v)for(;h.length%4;)h.push(v);return h.join("")},parse:function(c){var u=c.length,l=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var h=0;h<l.length;h++)f[l.charCodeAt(h)]=h}var g=l.charAt(64);if(g){var w=c.indexOf(g);w!==-1&&(u=w)}return a(c,u,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function a(c,u,l){for(var f=[],h=0,g=0;g<u;g++)if(g%4){var w=l[c.charCodeAt(g-1)]<<g%4*2,S=l[c.charCodeAt(g)]>>>6-g%4*2,R=w|S;f[h>>>2]|=R<<24-h%4*8,h++}return i.create(f,h)}}(),n.enc.Base64})})(Yc);var Sg=Yc.exports;const Qo=Br(Sg);var Xc={exports:{}};(function(e,t){(function(n,r){e.exports=r(qr)})(Nt,function(n){return n.enc.Utf8})})(Xc);var Eg=Xc.exports;const kg=Br(Eg);function Hs(e){this.message=e}Hs.prototype=new Error,Hs.prototype.name="InvalidCharacterError";var Yo=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Hs("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,s=0,i=0,o="";r=t.charAt(i++);~r&&(n=s%4?64*n+r:r,s++%4)?o+=String.fromCharCode(255&n>>(-2*s&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return o};function Cg(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(Yo(n).replace(/(.)/g,function(r,s){var i=s.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}(t)}catch{return Yo(t)}}function Sr(e){this.message=e}function Rg(e,t){if(typeof e!="string")throw new Sr("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(Cg(e.split(".")[n]))}catch(r){throw new Sr("Invalid token specified: "+r.message)}}Sr.prototype=new Error,Sr.prototype.name="InvalidTokenError";var Tg={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},Qe,Ye,Er=(e=>(e[e.NONE=0]="NONE",e[e.ERROR=1]="ERROR",e[e.WARN=2]="WARN",e[e.INFO=3]="INFO",e[e.DEBUG=4]="DEBUG",e))(Er||{});(e=>{function t(){Qe=3,Ye=Tg}e.reset=t;function n(s){if(!(0<=s&&s<=4))throw new Error("Invalid log level");Qe=s}e.setLevel=n;function r(s){Ye=s}e.setLogger=r})(Er||(Er={}));var G=class{constructor(e){this._name=e}debug(...e){Qe>=4&&Ye.debug(G._format(this._name,this._method),...e)}info(...e){Qe>=3&&Ye.info(G._format(this._name,this._method),...e)}warn(...e){Qe>=2&&Ye.warn(G._format(this._name,this._method),...e)}error(...e){Qe>=1&&Ye.error(G._format(this._name,this._method),...e)}throw(e){throw this.error(e),e}create(e){const t=Object.create(this);return t._method=e,t.debug("begin"),t}static createStatic(e,t){const n=new G(`${e}.${t}`);return n.debug("begin"),n}static _format(e,t){const n=`[${e}]`;return t?`${n} ${t}:`:n}static debug(e,...t){Qe>=4&&Ye.debug(G._format(e),...t)}static info(e,...t){Qe>=3&&Ye.info(G._format(e),...t)}static warn(e,...t){Qe>=2&&Ye.warn(G._format(e),...t)}static error(e,...t){Qe>=1&&Ye.error(G._format(e),...t)}};Er.reset();var xg="10000000-1000-4000-8000-100000000000",et=class{static _randomWord(){return vg.lib.WordArray.random(1).words[0]}static generateUUIDv4(){return xg.replace(/[018]/g,t=>(+t^et._randomWord()&15>>+t/4).toString(16)).replace(/-/g,"")}static generateCodeVerifier(){return et.generateUUIDv4()+et.generateUUIDv4()+et.generateUUIDv4()}static generateCodeChallenge(e){try{const t=bg(e);return Qo.stringify(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(t){throw G.error("CryptoUtils.generateCodeChallenge",t),t}}static generateBasicAuth(e,t){const n=kg.parse([e,t].join(":"));return Qo.stringify(n)}},vt=class{constructor(t){this._name=t,this._logger=new G(`Event('${this._name}')`),this._callbacks=[]}addHandler(t){return this._callbacks.push(t),()=>this.removeHandler(t)}removeHandler(t){const n=this._callbacks.lastIndexOf(t);n>=0&&this._callbacks.splice(n,1)}
5raise(...t){this._logger.debug("raise:",...t);for(const n of this._callbacks)n(...t)}},Ms=class{static decode(e){try{return Rg(e)}catch(t){throw G.error("JwtUtils.decode",t),t}}},Xo=class{static center({...e}){var t,n,r;return e.width==null&&(e.width=(t=[800,720,600,480].find(s=>s<=window.outerWidth/1.618))!=null?t:360),(n=e.left)!=null||(e.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-e.width)/2))),e.height!=null&&((r=e.top)!=null||(e.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-e.height)/2)))),e}static serialize(e){return Object.entries(e).filter(([,t])=>t!=null).map(([t,n])=>`${t}=${typeof n!="boolean"?n:n?"yes":"no"}`).join(",")}},Fe=class extends vt{constructor(){super(...arguments),this._logger=new G(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const e=this._expiration-Fe.getEpochTime();this._logger.debug("timer completes in",e),this._expiration<=Fe.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(e){const t=this._logger.create("init");e=Math.max(Math.floor(e),1);const n=Fe.getEpochTime()+e;if(this.expiration===n&&this._timerHandle){t.debug("skipping since already initialized for expiration at",this.expiration);return}this.cancel(),t.debug("using duration",e),this._expiration=n;const r=Math.min(e,5);this._timerHandle=setInterval(this._callback,r*1e3)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},Ns=class{static readParams(e,t="query"){if(!e)throw new TypeError("Invalid URL");const r=new URL(e,"http://127.0.0.1")[t==="fragment"?"hash":"search"];
5return new URLSearchParams(r.slice(1))}},qt=class extends Error{constructor(e,t){var n,r,s;if(super(e.error_description||e.error||""),this.form=t,this.name="ErrorResponse",!e.error)throw G.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=e.error,this.error_description=(n=e.error_description)!=null?n:null,this.error_uri=(r=e.error_uri)!=null?r:null,this.state=e.userState,this.session_state=(s=e.session_state)!=null?s:null}},Si=class extends Error{constructor(e){super(e),this.name="ErrorTimeout"}},Pg=class{constructor(e){this._logger=new G("AccessTokenEvents"),this._expiringTimer=new Fe("Access token expiring"),this._expiredTimer=new Fe("Access token expired"),this._expiringNotificationTimeInSeconds=e.expiringNotificationTimeInSeconds}load(e){const t=this._logger.create("load");if(e.access_token&&e.expires_in!==void 0){const n=e.expires_in;if(t.debug("access token present, remaining duration:",n),n>0){let s=n-this._expiringNotificationTimeInSeconds;s<=0&&(s=1),t.debug("registering expiring timer, raising in",s,"seconds"),this._expiringTimer.init(s)}else t.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const r=n+1;t.debug("registering expired timer, raising in",r,"seconds"),this._expiredTimer.init(r)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(e){return this._expiringTimer.addHandler(e)}removeAccessTokenExpiring(e){this._expiringTimer.removeHandler(e)}addAccessTokenExpired(e){return this._expiredTimer.addHandler(e)}removeAccessTokenExpired(e){this._expiredTimer.removeHandler(e)}},Ag=class{constructor(e,t,n,r,s){this._callback=e,this._client_id=t,this._intervalInSeconds=r,this._stopOnError=s,this._logger=new G("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=o=>{o.origin===this._frame_origin&&o.source===this._frame.contentWindow&&(o.data==="error"?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):o.data==="changed"?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(o.data+" message from check session op iframe"))};const i=new URL(n);this._frame_origin=i.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=i.href}load(){return new Promise(e=>{this._frame.onload=()=>{e()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)})}start(e){if(this._session_state===e)return;this._logger.create("start"),this.stop(),this._session_state=e;const t=()=>{!this._frame.contentWindow||!this._session_state||this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};t(),this._timer=setInterval(t,this._intervalInSeconds*1e3)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},Gc=class{constructor(){this._logger=new G("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(e){return this._logger.create(`getItem('${e}')`),this._data[e]}setItem(e,t){this._logger.create(`setItem('${e}')`),this._data[e]=t}removeItem(e){this._logger.create(`removeItem('${e}')`),delete this._data[e]}get length(){return Object.getOwnPropertyNames(this._data).length}key(e){return Object.getOwnPropertyNames(this._data)[e]}},Ei=class{constructor(e=[],t=null,n={}){this._jwtHandler=t,this._extraHeaders=n,this._logger=new G("JsonService"),this._contentTypes=[],this._contentTypes.push(...e,"application/json"),t&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(e,t={}){const{timeoutInSeconds:n,...r}=t;if(!n)return await fetch(e,r);const s=new AbortController,i=setTimeout(()=>s.abort(),n*1e3);try{return await fetch(e,{...t,signal:s.signal})}catch(o){throw o instanceof DOMException&&o.name==="AbortError"?new Si("Network timed out"):o}finally{clearTimeout(i)}}async getJson(e,{token:t,credentials:n}={}){const r=this._logger.create("getJson"),s={Accept:this._contentTypes.join(", ")};t&&(r.debug("token passed, setting Authorization header"),s.Authorization="Bearer "+t),this.appendExtraHeaders(s);let i;try{r.debug("url:",e),i=await this.fetchWithTimeout(e,{method:"GET",headers:s,credentials:n})}catch(c){throw r.error("Network Error"),c}r.debug("HTTP response received, status",i.status);const o=i.headers.get("Content-Type");if(o&&!this._contentTypes.find(c=>o.startsWith(c))&&r.throw(new Error(`Invalid response Content-Type: ${o??"undefined"}, from URL: ${e}`)),i.ok&&this._jwtHandler&&(o!=null&&o.startsWith("application/jwt")))return await this._jwtHandler(await i.text());let a;try{a=await i.json()}catch(c){throw r.error("Error parsing JSON response",c),i.ok?c:new Error(`${i.statusText} (${i.status})`)}if(!i.ok)throw r.error("Error from server:",a),a.error?new qt(a):new Error(`${i.statusText} (${i.status}): ${JSON.stringify(a)}`);return a}
5async postForm(e,{body:t,basicAuth:n,timeoutInSeconds:r,initCredentials:s}){const i=this._logger.create("postForm"),o={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded"};n!==void 0&&(o.Authorization="Basic "+n),this.appendExtraHeaders(o);let a;try{i.debug("url:",e),a=await this.fetchWithTimeout(e,{method:"POST",headers:o,body:t,timeoutInSeconds:r,credentials:s})}catch(f){throw i.error("Network error"),f}i.debug("HTTP response received, status",a.status);const c=a.headers.get("Content-Type");if(c&&!this._contentTypes.find(f=>c.startsWith(f)))throw new Error(`Invalid response Content-Type: ${c??"undefined"}, from URL: ${e}`);const u=await a.text();let l={};if(u)try{l=JSON.parse(u)}catch(f){throw i.error("Error parsing JSON response",f),a.ok?f:new Error(`${a.statusText} (${a.status})`)}if(!a.ok)throw i.error("Error from server:",l),l.error?new qt(l,t):new Error(`${a.statusText} (${a.status}): ${JSON.stringify(l)}`);return l}appendExtraHeaders(e){const t=this._logger.create("appendExtraHeaders"),n=Object.keys(this._extraHeaders),r=["authorization","accept","content-type"];n.length!==0&&n.forEach(s=>{if(r.includes(s.toLocaleLowerCase())){t.warn("Protected header could not be overridden",s,r);return}const i=typeof this._extraHeaders[s]=="function"?this._extraHeaders[s]():this._extraHeaders[s];i&&i!==""&&(e[s]=i)})}},Ig=class{constructor(e){this._settings=e,this._logger=new G("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new Ei(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const e=this._logger.create("getMetadata");if(this._metadata)return e.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw e.throw(new Error("No authority or metadataUrl configured on settings")),null;e.debug("getting metadata from",this._metadataUrl);const t=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials});return e.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},this._settings.metadataSeed,t),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(e=!0){return this._getMetadataProperty("token_endpoint",e)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(e=!0){return this._getMetadataProperty("revocation_endpoint",e)}getKeysEndpoint(e=!0){return this._getMetadataProperty("jwks_uri",e)}async _getMetadataProperty(e,t=!1){const n=this._logger.create(`_getMetadataProperty('${e}')`),r=await this.getMetadata();if(n.debug("resolved"),r[e]===void 0){if(t===!0){n.warn("Metadata does not contain optional property");return}n.throw(new Error("Metadata does not contain property "+e))}return r[e]}async getSigningKeys(){const e=this._logger.create("getSigningKeys");if(this._signingKeys)return e.debug("returning signingKeys from cache"),this._signingKeys;const t=await this.getKeysEndpoint(!1);e.debug("got jwks_uri",t);const n=await this._jsonService.getJson(t);if(e.debug("got key set",n),!Array.isArray(n.keys))throw e.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=n.keys,this._signingKeys}},ki=class{constructor({prefix:e="oidc.",store:t=localStorage}={}){this._logger=new G("WebStorageStateStore"),this._store=t,this._prefix=e}async set(e,t){this._logger.create(`set('${e}')`),e=this._prefix+e,await this._store.setItem(e,t)}async get(e){return this._logger.create(`get('${e}')`),e=this._prefix+e,await this._store.getItem(e)}async remove(e){this._logger.create(`remove('${e}')`),e=this._prefix+e;const t=await this._store.getItem(e);return await this._store.removeItem(e),t}async getAllKeys(){this._logger.create("getAllKeys");const e=await this._store.length,t=[];for(let n=0;n<e;n++){const r=await this._store.key(n);r&&r.indexOf(this._prefix)===0&&t.push(r.substr(this._prefix.length))}return t}},Og="code",Hg="openid",Mg="client_secret_post",Ng="query",Ug=60*15,$g=60*5,Us=class{constructor({authority:e,metadataUrl:t,metadata:n,signingKeys:r,metadataSeed:s,client_id:i,client_secret:o,response_type:a=Og,scope:c=Hg,redirect_uri:u,post_logout_redirect_uri:l,client_authentication:f=Mg,prompt:h,display:g,max_age:w,ui_locales:S,acr_values:R,resource:y,response_mode:d=Ng,filterProtocolClaims:v=!0,loadUserInfo:m=!1,staleStateAgeInSeconds:E=Ug,clockSkewInSeconds:A=$g,userInfoJwtIssuer:P="OP",mergeClaims:k=!1,disablePKCE:I=!1,stateStore:U,refreshTokenCredentials:B,revokeTokenAdditionalContentTypes:N,fetchRequestCredentials:W,refreshTokenAllowedScope:F,extraQueryParams:se={},extraTokenParams:V={},extraHeaders:Z={}}){if(this.authority=e,t?this.metadataUrl=t:(this.metadataUrl=e,e&&(this.metadataUrl.endsWith("/")||(this.metadataUrl+="/"),this.metadataUrl+=".well-known/openid-configuration")),this.metadata=n,this.metadataSeed=s,this.signingKeys=r,this.client_id=i,this.client_secret=o,this.response_type=a,this.scope=c,this.redirect_uri=u,this.post_logout_redirect_uri=l,this.client_authentication=f,this.prompt=h,this.display=g,this.max_age=w,this.ui_locales=S,this.acr_values=R,this.resource=y,this.response_mode=d,this.filterProtocolClaims=v??!0,this.loadUserInfo=!!m,this.staleStateAgeInSeconds=E,this.clockSkewInSeconds=A,this.userInfoJwtIssuer=P,this.mergeClaims=!!k,this.disablePKCE=!!I,this.revokeTokenAdditionalContentTypes=N,W&&B&&console.warn("Both fetchRequestCredentials and refreshTokenCredentials is set. Only fetchRequestCredentials will be used."),this.fetchRequestCredentials=W||B||"same-origin",U)this.stateStore=U;else{const te=typeof window<"u"?window.localStorage:new Gc;this.stateStore=new ki({store:te})}this.refreshTokenAllowedScope=F,this.extraQueryParams=se,this.extraTokenParams=V,this.extraHeaders=Z}},jg=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new G("UserInfoService"),this._getClaimsFromJwt=async n=>{const r=this._logger.create("_getClaimsFromJwt");try{const s=Ms.decode(n);return r.debug("JWT decoding successful"),s}catch(s){throw r.error("Error parsing JWT response"),s}},this._jsonService=new Ei(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(e){const t=this._logger.create("getClaims");e||this._logger.throw(new Error("No token passed"));const n=await this._metadataService.getUserInfoEndpoint();t.debug("got userinfo url",n);const r=await this._jsonService.getJson(n,{token:e,credentials:this._settings.fetchRequestCredentials});return t.debug("got claims",r),r}},Zc=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new G("TokenClient"),this._jsonService=new Ei(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode({grant_type:e="authorization_code",redirect_uri:t=this._settings.redirect_uri,client_id:n=this._settings.client_id,client_secret:r=this._settings.client_secret,...s}){const i=this._logger.create("exchangeCode");n||i.throw(new Error("A client_id is required")),t||i.throw(new Error("A redirect_uri is required")),s.code||i.throw(new Error("A code is required"));const o=new URLSearchParams({grant_type:e,redirect_uri:t});for(const[l,f]of Object.entries(s))f!=null&&o.set(l,f);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!r)throw i.throw(new Error("A client_secret is required")),null;a=et.generateBasicAuth(n,r);break;case"client_secret_post":o.append("client_id",n),r&&o.append("client_secret",r);break}const c=await this._metadataService.getTokenEndpoint(!1);i.debug("got token endpoint");const u=await this._jsonService.postForm(c,{body:o,basicAuth:a,init
5Credentials:this._settings.fetchRequestCredentials});return i.debug("got response"),u}async exchangeCredentials({grant_type:e="password",client_id:t=this._settings.client_id,client_secret:n=this._settings.client_secret,scope:r=this._settings.scope,...s}){const i=this._logger.create("exchangeCredentials");t||i.throw(new Error("A client_id is required"));const o=new URLSearchParams({grant_type:e,scope:r});for(const[l,f]of Object.entries(s))f!=null&&o.set(l,f);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!n)throw i.throw(new Error("A client_secret is required")),null;a=et.generateBasicAuth(t,n);break;case"client_secret_post":o.append("client_id",t),n&&o.append("client_secret",n);break}const c=await this._metadataService.getTokenEndpoint(!1);i.debug("got token endpoint");const u=await this._jsonService.postForm(c,{body:o,basicAuth:a,initCredentials:this._settings.fetchRequestCredentials});return i.debug("got response"),u}async exchangeRefreshToken({grant_type:e="refresh_token",client_id:t=this._settings.client_id,client_secret:n=this._settings.client_secret,timeoutInSeconds:r,...s}){const i=this._logger.create("exchangeRefreshToken");t||i.throw(new Error("A client_id is required")),s.refresh_token||i.throw(new Error("A refresh_token is required"));const o=new URLSearchParams({grant_type:e});for(const[l,f]of Object.entries(s))Array.isArray(f)?f.forEach(h=>o.append(l,h)):f!=null&&o.set(l,f);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!n)throw i.throw(new Error("A client_secret is required")),null;a=et.generateBasicAuth(t,n);break;case"client_secret_post":o.append("client_id",t),n&&o.append("client_secret",n);break}const c=await this._metadataService.getTokenEndpoint(!1);i.debug("got token endpoint");const u=await this._jsonService.postForm(c,{body:o,basicAuth:a,timeoutInSeconds:r,initCredentials:this._settings.fetchRequestCredentials});return i.debug("got response"),u}async revoke(e){var t;const n=this._logger.create("revoke");e.token||n.throw(new Error("A token is required"));const r=await this._metadataService.getRevocationEndpoint(!1);n.debug(`got revocation endpoint, revoking ${(t=e.token_type_hint)!=null?t:"default token type"}`);const s=new URLSearchParams;for(const[i,o]of Object.entries(e))o!=null&&s.set(i,o);s.set("client_id",this._settings.client_id),this._settings.client_secret&&s.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(r,{body:s}),n.debug("got response")}},Lg=class{constructor(e,t,n){this._settings=e,this._metadataService=t,this._claimsService=n,this._logger=new G("ResponseValidator"),this._userInfoService=new jg(this._settings,this._metadataService),this._tokenClient=new Zc(this._settings,this._metadataService)}async validateSigninResponse(e,t){const n=this._logger.create("validateSigninResponse");this._processSigninState(e,t),n.debug("state processed"),await this._processCode(e,t),n.debug("code processed"),e.isOpenId&&this._validateIdTokenAttributes(e),n.debug("tokens validated"),await this._processClaims(e,t==null?void 0:t.skipUserInfo,e.isOpenId),n.debug("claims processed")}async validateCredentialsResponse(e,t){const n=this._logger.create("validateCredentialsResponse");e.isOpenId&&this._validateIdTokenAttributes(e),n.debug("tokens validated"),await this._processClaims(e,t,e.isOpenId),n.debug("claims processed")}async validateRefreshResponse(e,t){var n,r;const s=this._logger.create("validateRefreshResponse");e.userState=t.data,(n=e.session_state)!=null||(e.session_state=t.session_state),(r=e.scope)!=null||(e.scope=t.scope),e.isOpenId&&e.id_token&&(this._validateIdTokenAttributes(e,t.id_token),s.debug("ID Token validated")),e.id_token||(e.id_token=t.id_token,e.profile=t.profile);const i=e.isOpenId&&!!e.id_token;await this._processClaims(e,!1,i),s.debug("claims processed")}validateSignoutResponse(e,t){const n=this._logger.create("validateSignoutResponse");if(t.id!==e.state&&n.throw(new Error("State does not match")),n.debug("state validated"),e.userState=t.data,e.error)throw n.warn("Response was error",e.error),new qt(e)}_processSigninState(e,t){var n;const r=this._logger.create("_processSigninState");if(t.id!==e.state&&r.throw(new Error("State does not match")),t.client_id||r.throw(new Error("No client_id on 
5state")),t.authority||r.throw(new Error("No authority on state")),this._settings.authority!==t.authority&&r.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==t.client_id&&r.throw(new Error("client_id mismatch on settings vs. signin state")),r.debug("state validated"),e.userState=t.data,(n=e.scope)!=null||(e.scope=t.scope),e.error)throw r.warn("Response was error",e.error),new qt(e);t.code_verifier&&!e.code&&r.throw(new Error("Expected code in response"))}async _processClaims(e,t=!1,n=!0){const r=this._logger.create("_processClaims");if(e.profile=this._claimsService.filterProtocolClaims(e.profile),t||!this._settings.loadUserInfo||!e.access_token){r.debug("not loading user info");return}r.debug("loading user info");const s=await this._userInfoService.getClaims(e.access_token);r.debug("user info claims received from user info endpoint"),n&&s.sub!==e.profile.sub&&r.throw(new Error("subject from UserInfo response does not match subject in ID Token")),e.profile=this._claimsService.mergeClaims(e.profile,this._claimsService.filterProtocolClaims(s)),r.debug("user info claims received, updated profile:",e.profile)}async _processCode(e,t){const n=this._logger.create("_processCode");if(e.code){n.debug("Validating code");const r=await this._tokenClient.exchangeCode({client_id:t.client_id,client_secret:t.client_secret,code:e.code,redirect_uri:t.redirect_uri,code_verifier:t.code_verifier,...t.extraTokenParams});Object.assign(e,r)}else n.debug("No code to process")}_validateIdTokenAttributes(e,t){var n;const r=this._logger.create("_validateIdTokenAttributes");r.debug("decoding ID Token JWT");const s=Ms.decode((n=e.id_token)!=null?n:"");if(s.sub||r.throw(new Error("ID Token is missing a subject claim")),t){const i=Ms.decode(t);s.sub!==i.sub&&r.throw(new Error("sub in id_token does not match current sub")),s.auth_time&&s.auth_time!==i.auth_time&&r.throw(new Error("auth_time in id_token does not match original auth_time")),s.azp&&s.azp!==i.azp&&r.throw(new Error("azp in id_token does not match original azp")),!s.azp&&i.azp&&r.throw(new Error("azp not in id_token, but present in original id_token"))}e.profile=s}},un=class{constructor(e){this.id=e.id||et.generateUUIDv4(),this.data=e.data,e.created&&e.created>0?this.created=e.created:this.created=Fe.getEpochTime(),this.request_type=e.request_type}toStorageString(){return new G("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})}static fromStorageString(e){return G.createStatic("State","fromStorageString"),new un(JSON.parse(e))}static async clearStaleState(e,t){const n=G.createStatic("State","clearStaleState"),r=Fe.getEpochTime()-t,s=await e.getAllKeys();n.debug("got keys",s);for(let i=0;i<s.length;i++){const o=s[i],a=await e.get(o);let c=!1;if(a)try{const u=un.fromStorageString(a);n.debug("got item from key:",o,u.created),u.created<=r&&(c=!0)}catch(u){n.error("Error parsing state for key:",o,u),c=!0}else n.debug("no item in storage for key:",o),c=!0;c&&(n.debug("removed item for key:",o),e.remove(o))}}},Ci=class extends un{constructor(e){super(e),e.code_verifier===!0?this.code_verifier=et.generateCodeVerifier():e.code_verifier&&(this.code_verifier=e.code_verifier),this.code_verifier&&(this.code_challenge=et.generateCodeChallenge(this.code_verifier)),this.authority=e.authority,this.client_id=e.client_id,this.redirect_uri=e.redirect_uri,this.scope=e.scope,this.client_secret=e.client_secret,this.extraTokenParams=e.extraTokenParams,this.response_mode=e.response_mode,this.skipUserInfo=e.skipUserInfo}toStorageString(){return new G("SigninState").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,code_verifier:this.code_verifier,authority:this.authority,client_id:this.client_id,redirect_uri:this.redirect_uri,scope:this.scope,client_secret:this.client_secret,extraTokenParams:this.extraTokenParams,response_mode:this.response_mode,skipUserInfo:this.skipUserInfo})}static fromStorageString(e){G.createStatic("SigninState","fromStorageString");const t=JSON.parse(e);return new Ci(t)}},Fg=class{constructor({url:e,authority:t,client_id:n,redirect_uri:r,response_type:s,scope:i,state_data:o,response_mode:a,request_type:c,client_secret:u,nonce:l,resource:f,skipUserInfo:h,extraQueryParams:g,extraTokenParams:w,disablePKCE:S,...R}){if(this._logger=new G("SigninRequest"),!e)throw this._logger.error("ctor: No url passed"),new Error("url");
5if(!n)throw this._logger.error("ctor: No client_id passed"),new Error("client_id");if(!r)throw this._logger.error("ctor: No redirect_uri passed"),new Error("redirect_uri");if(!s)throw this._logger.error("ctor: No response_type passed"),new Error("response_type");if(!i)throw this._logger.error("ctor: No scope passed"),new Error("scope");if(!t)throw this._logger.error("ctor: No authority passed"),new Error("authority");this.state=new Ci({data:o,request_type:c,code_verifier:!S,client_id:n,authority:t,redirect_uri:r,response_mode:a,client_secret:u,scope:i,extraTokenParams:w,skipUserInfo:h});const y=new URL(e);y.searchParams.append("client_id",n),y.searchParams.append("redirect_uri",r),y.searchParams.append("response_type",s),y.searchParams.append("scope",i),l&&y.searchParams.append("nonce",l),y.searchParams.append("state",this.state.id),this.state.code_challenge&&(y.searchParams.append("code_challenge",this.state.code_challenge),y.searchParams.append("code_challenge_method","S256")),f&&(Array.isArray(f)?f:[f]).forEach(v=>y.searchParams.append("resource",v));for(const[d,v]of Object.entries({response_mode:a,...R,...g}))v!=null&&y.searchParams.append(d,v.toString());this.url=y.href}},Bg="openid",os=class{constructor(e){this.access_token="",this.token_type="",this.profile={},this.state=e.get("state"),this.session_state=e.get("session_state"),this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri"),this.code=e.get("code")}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-Fe.getEpochTime()}set expires_in(e){typeof e=="string"&&(e=Number(e)),e!==void 0&&e>=0&&(this.expires_at=Math.floor(e)+Fe.getEpochTime())}get isOpenId(){var e;return((e=this.scope)==null?void 0:e.split(" ").includes(Bg))||!!this.id_token}},qg=class{constructor({url:e,state_data:t,id_token_hint:n,post_logout_redirect_uri:r,extraQueryParams:s,request_type:i,client_id:o}){if(this._logger=new G("SignoutRequest"),!e)throw this._logger.error("ctor: No url passed"),new Error("url");const a=new URL(e);n&&a.searchParams.append("id_token_hint",n),o&&a.searchParams.append("client_id",o),r&&(a.searchParams.append("post_logout_redirect_uri",r),t&&(this.state=new un({data:t,request_type:i}),a.searchParams.append("state",this.state.id)));for(const[c,u]of Object.entries({...s}))u!=null&&a.searchParams.append(c,u.toString());this.url=a.href}},Dg=class{constructor(e){this.state=e.get("state"),this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri")}},Wg=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],Kg=["sub","iss","aud","exp","iat"],zg=class{constructor(e){this._settings=e,this._logger=new G("ClaimsService")}filterProtocolClaims(e){const t={...e};if(this._settings.filterProtocolClaims){let n;Array.isArray(this._settings.filterProtocolClaims)?n=this._settings.filterProtocolClaims:n=Wg;for(const r of n)Kg.includes(r)||delete t[r]}return t}mergeClaims(e,t){const n={...e};for(const[r,s]of Object.entries(t))for(const i of Array.isArray(s)?s:[s]){const o=n[r];o?Array.isArray(o)?o.includes(i)||o.push(i):n[r]!==i&&(typeof i=="object"&&this._settings.mergeClaims?n[r]=this.mergeClaims(o,i):n[r]=[o,i]):n[r]=i}return n}},Jg=class{constructor(e,t){this._logger=new G("OidcClient"),this.settings=e instanceof Us?e:new Us(e),this.metadataService=t??new Ig(this.settings),this._claimsService=new zg(this.settings),this._validator=new Lg(this.settings,this.metadataService,this._claimsService),this._tokenClient=new Zc(this.settings,this.metadataService)}async createSigninRequest({state:e,request:t,request_uri:n,request_type:r,id_token_hint:s,login_hint:i,skipUserInfo:o,nonce:a,response_type:c=this.settings.response_type,scope:u=this.settings.scope,redirect_uri:l=this.settings.redirect_uri,prompt:f=this.settings.prompt,display:h=this.settings.display,max_age:g=this.settings.max_age,ui_locales:w=this.settings.ui_locales,acr_values:S=this.settings.acr_values,resource:R=this.settings.resource,response_mode:y=this.settings.response_mode,extraQueryParams:d=this.settings.extraQueryParams,extraTokenParams:v=this.settings.extraTokenParams}){const m=this._logger.create("createSigninRequest");
5if(c!=="code")throw new Error("Only the Authorization Code flow (with PKCE) is supported");const E=await this.metadataService.getAuthorizationEndpoint();m.debug("Received authorization endpoint",E);const A=new Fg({url:E,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:l,response_type:c,scope:u,state_data:e,prompt:f,display:h,max_age:g,ui_locales:w,id_token_hint:s,login_hint:i,acr_values:S,resource:R,request:t,request_uri:n,extraQueryParams:d,extraTokenParams:v,request_type:r,response_mode:y,client_secret:this.settings.client_secret,skipUserInfo:o,nonce:a,disablePKCE:this.settings.disablePKCE});await this.clearStaleState();const P=A.state;return await this.settings.stateStore.set(P.id,P.toStorageString()),A}async readSigninResponseState(e,t=!1){const n=this._logger.create("readSigninResponseState"),r=new os(Ns.readParams(e,this.settings.response_mode));if(!r.state)throw n.throw(new Error("No state in response")),null;const s=await this.settings.stateStore[t?"remove":"get"](r.state);if(!s)throw n.throw(new Error("No matching state found in storage")),null;return{state:Ci.fromStorageString(s),response:r}}async processSigninResponse(e){const t=this._logger.create("processSigninResponse"),{state:n,response:r}=await this.readSigninResponseState(e,!0);return t.debug("received state from storage; validating response"),await this._validator.validateSigninResponse(r,n),r}async processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:n=!1,extraTokenParams:r={}}){const s=await this._tokenClient.exchangeCredentials({username:e,password:t,...r}),i=new os(new URLSearchParams);return Object.assign(i,s),await this._validator.validateCredentialsResponse(i,n),i}async useRefreshToken({state:e,timeoutInSeconds:t}){var n;const r=this._logger.create("useRefreshToken");let s;if(this.settings.refreshTokenAllowedScope===void 0)s=e.scope;else{const a=this.settings.refreshTokenAllowedScope.split(" ");s=(((n=e.scope)==null?void 0:n.split(" "))||[]).filter(u=>a.includes(u)).join(" ")}const i=await this._tokenClient.exchangeRefreshToken({refresh_token:e.refresh_token,resource:e.resource,scope:s,timeoutInSeconds:t}),o=new os(new URLSearchParams);return Object.assign(o,i),r.debug("validating response",o),await this._validator.validateRefreshResponse(o,{...e,scope:s}),o}async createSignoutRequest({state:e,id_token_hint:t,client_id:n,request_type:r,post_logout_redirect_uri:s=this.settings.post_logout_redirect_uri,extraQueryParams:i=this.settings.extraQueryParams}={}){const o=this._logger.create("createSignoutRequest"),a=await this.metadataService.getEndSessionEndpoint();if(!a)throw o.throw(new Error("No end session endpoint")),null;o.debug("Received end session endpoint",a),!n&&s&&!t&&(n=this.settings.client_id);const c=new qg({url:a,id_token_hint:t,client_id:n,post_logout_redirect_uri:s,state_data:e,extraQueryParams:i,request_type:r});await this.clearStaleState();const u=c.state;return u&&(o.debug("Signout request has state to persist"),await this.settings.stateStore.set(u.id,u.toStorageString())),c}async readSignoutResponseState(e,t=!1){const n=this._logger.create("readSignoutResponseState"),r=new Dg(Ns.readParams(e,this.settings.response_mode));if(!r.state){if(n.debug("No state in response"),r.error)throw n.warn("Response was error:",r.error),new qt(r);return{state:void 0,response:r}}const s=await this.settings.stateStore[t?"remove":"get"](r.state);if(!s)throw n.throw(new Error("No matching state found in storage")),null;return{state:un.fromStorageString(s),response:r}}async processSignoutResponse(e){const t=this._logger.create("processSignoutResponse"),{state:n,response:r}=await this.readSignoutResponseState(e,!0);return n?(t.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(r,n)):t.debug("No state from storage; skipping response validation"),r}clearStaleState(){return this._logger.create("clearStaleState"),un.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(e,t){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:e,token_type_hint:t})}},Vg=class{constructor(e){this._userManager=e,this._logger=new G("SessionMonitor"),this._start=async t=>{const n=t.session_state;if(!n)return;const r=this._logger.create("_start");if(t.profile?(this._sub=t.profile.sub,this._sid=t.profile.sid,r.debug("session_state",n,", sub",this._sub)):(this._sub=void 0,this._sid=void 0,r.debug("session_state",n,", anonymous user")),this._checkSessionIFrame){this._checkSessionIFrame.start(n);return}try{const s=await this._userManager.metadataService.getCheckSessionIframe();if(s){r.debug("initializing check session iframe");const i=this._userManager.settings.client_id,o=this._userManager.settings.checkSessionIntervalInSeconds,a=this._userManager.settings.stopCheckSessionOnError,c=new Ag(this._callback,i,s,o,a);await c.load(),this._checkSessionIFrame=c,c.start(n)}else r.warn("no check session iframe found in the metadata")}catch(s){r.error("Error from getCheckSessionIframe:",s instanceof Error?s.message:s)}},this._stop=()=>{const t=this._logger.create("_stop");if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const n=setInterval(async()=>{clearInterval(n);try{const r=await this._userManager.querySessionStatus();if(r){const s={session_state:r.session_state,profile:r.sub&&r.sid?{sub:r.sub,sid:r.sid}:null};this._start(s)}}catch(r){t.error("error from querySessionStatus",r instanceof Error?r.message:r)}},1e3)}},this._callback=async()=>{const t=this._logger.create("_callback");try{const n=await this._userManager.querySessionStatus();let r=!0;n&&this._checkSessionIFrame?n.sub===this._sub?(r=!1,this._checkSessionIFrame.start(n.session_state),n.sid===this._sid?t.debug("same sub still logged in at OP, restarting check session iframe; session_state",n.session_state):(t.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",n.session_state),this._userManager.events._raiseUserSessionChanged())):t.debug("different subject signed into OP",n.sub):t.debug("subject no longer signed into OP"),r?this._sub?this._userManager.events._raiseUserSignedOut():this._userManager.events._raiseUserSignedIn():t.debug("no change in session detected, no event to raise")}catch(n){this._sub&&(t.debug("Error calling queryCurrentSigninSession; raising signed out event",n),this._userManager.events._raiseUserSignedOut())}},e||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch(t=>{this._logger.error(t)})}async _init(){this._logger.create("_init");const e=await this._userManager.getUser();if(e)this._start(e);else if(this._userManager.settings.monitorAnonymousSession){const t=await this._userManager.querySessionStatus();if(t){const n={session_state:t.session_state,profile:t.sub&&t.sid?{sub:t.sub,sid:t.sid}:null};this._start(n)}}}},ar=class{constructor(e){var t;this.id_token=e.id_token,this.session_state=(t=e.session_state)!=null?t:null,this.access_token=e.access_token,this.refresh_token=e.refresh_token,this.token_type=e.token_type,this.scope=e.scope,this.profile=e.profile,this.expires_at=e.expires_at,this.state=e.userState}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-Fe.getEpochTime()}set expires_in(e){e!==void 0&&(this.expires_at=Math.floor(e)+Fe.getEpochTime())}get expired(){const e=this.expires_in;if(e!==void 0)return e<=0}get scopes(){var e,t;return(t=(e=this.scope)==null?void 0:e.split(" "))!=null?t:[]}toStorageString(){return new G("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(e){return G.createStatic("User","fromStorageString"),new ar(JSON.parse(e))}},Go="oidc-client",el=class{constructor(){this._abort=new vt("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(e){const t=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");t.debug("setting URL in window"),this._window.location.replace(e.url);const{url:n,keepOpen:r}=await new Promise((s,i)=>{const o=a=>{var c;const u=a.data,l=(c=e.scriptOrigin)!=null?c:window.location.origin;if(!(a.origin!==l||(u==null?void 0:u.source)!==Go)){try{const f=Ns.readParams(u.url,e.response_mode).get("state");if(f||t.warn("no state found in response url"),a.source!==this._window&&f!==e.state)return}catch{this._dispose(),i(new Error("Invalid response from window"))}s(u)}};window.addEventListener("message",o,!1),this._disposeHandlers.add(()=>window.removeEventListener("message",o,!1)),this._disposeHandlers.add(this._abort.addHandler(a=>{this._dispose(),i(a)}))});return t.debug("got response from window"),this._dispose(),r||this.close(),{url:n}}_dispose(){this._logger.create("_dispose");for(const e of this._disposeHandlers)e();this._disposeHandlers.clear()}static _notifyParent(e,t,n=!1,r=window.location.origin){e.postMessage({source:Go,url:t,keepOpen:n},r)}},tl={location:!1,toolbar:!1,height:640},nl="_blank",Qg=60,Yg=2,rl=10,Xg=class extends Us{constructor(e){const{popup_redirect_uri:t=e.redirect_uri,popup_post_logout_redirect_uri:n=e.post_logout_redirect_uri,popupWindowFeatures:r=tl,popupWindowTarget:s=nl,redirectMethod:i="assign",redirectTarget:o="self",iframeNotifyParentOrigin:a=e.iframeNotifyParentOrigin,iframeScriptOrigin:c=e.iframeScriptOrigin,silent_redirect_uri:u=e.redirect_uri,silentRequestTimeoutInSeconds:l=rl,automaticSilentRenew:f=!0,validateSubOnSilentRenew:h=!0,includeIdTokenInSilentRenew:g=!1,monitorSession:w=!1,monitorAnonymousSession:S=!1,checkSessionIntervalInSeconds:R=Yg,query_status_response_type:y="code",stopCheckSessionOnError:d=!0,revokeTokenTypes:v=["access_token","refresh_token"],revokeTokensOnSignout:m=!1,includeIdTokenInSilentSignout:E=!1,accessTokenExpiringNotificationTimeInSeconds:A=Qg,userStore:P}=e;if(super(e),this.popup_redirect_uri=t,this.popup_post_logout_redirect_uri=n,this.popupWindowFeatures=r,this.popupWindowTarget=s,this.redirectMethod=i,this.redirectTarget=o,this.iframeNotifyParentOrigin=a,this.iframeScriptOrigin=c,this.silent_redirect_uri=u,this.silentRequestTimeoutInSeconds=l,this.automaticSilentRenew=f,this.validateSubOnSilentRenew=h,this.includeIdTokenInSilentRenew=g,this.monitorSession=w,this.monitorAnonymousSession=S,this.checkSessionIntervalInSeconds=R,this.stopCheckSessionOnError=d,this.query_status_response_type=y,this.revokeTokenTypes=v,this.revokeTokensOnSignout=m,this.includeIdTokenInSilentSignout=E,this.accessTokenExpiringNotificationTimeInSeconds=A,P)this.userStore=P;
5else{const k=typeof window<"u"?window.sessionStorage:new Gc;this.userStore=new ki({store:k})}}},$s=class extends el{constructor({silentRequestTimeoutInSeconds:e=rl}){super(),this._logger=new G("IFrameWindow"),this._timeoutInSeconds=e,this._frame=$s.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const e=window.document.createElement("iframe");return e.style.visibility="hidden",e.style.position="fixed",e.style.left="-1000px",e.style.top="0",e.width="0",e.height="0",window.document.body.appendChild(e),e}async navigate(e){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const t=setTimeout(()=>this._abort.raise(new Si("IFrame timed out without a response")),this._timeoutInSeconds*1e3);return this._disposeHandlers.add(()=>clearTimeout(t)),await super.navigate(e)}close(){var e;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",t=>{var n;const r=t.target;(n=r.parentNode)==null||n.removeChild(r),this._abort.raise(new Error("IFrame removed from DOM"))},!0),(e=this._frame.contentWindow)==null||e.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(e,t){return super._notifyParent(window.parent,e,!1,t)}},Gg=class{constructor(e){this._settings=e,this._logger=new G("IFrameNavigator")}async prepare({silentRequestTimeoutInSeconds:e=this._settings.silentRequestTimeoutInSeconds}){return new $s({silentRequestTimeoutInSeconds:e})}async callback(e){this._logger.create("callback"),$s.notifyParent(e,this._settings.iframeNotifyParentOrigin)}},Zg=500,Zo=class extends el{constructor({popupWindowTarget:e=nl,popupWindowFeatures:t={}}){super(),this._logger=new G("PopupWindow");const n=Xo.center({...tl,...t});this._window=window.open(void 0,e,Xo.serialize(n))}async navigate(e){var t;(t=this._window)==null||t.focus();const n=setInterval(()=>{(!this._window||this._window.closed)&&this._abort.raise(new Error("Popup closed by user"))},Zg);return this._disposeHandlers.add(()=>clearInterval(n)),await super.navigate(e)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(e,t){if(!window.opener)throw new Error("No window.opener. Can't complete notification.");return super._notifyParent(window.opener,e,t)}},e_=class{constructor(e){this._settings=e,this._logger=new G("PopupNavigator")}async prepare({popupWindowFeatures:e=this._settings.popupWindowFeatures,popupWindowTarget:t=this._settings.popupWindowTarget}){return new Zo({popupWindowFeatures:e,popupWindowTarget:t})}async callback(e,t=!1){this._logger.create("callback"),Zo.notifyOpener(e,t)}},t_=class{constructor(e){this._settings=e,this._logger=new G("RedirectNavigator")}async prepare({redirectMethod:e=this._settings.redirectMethod,redirectTarget:t=this._settings.redirectTarget}){var n;this._logger.create("prepare");let r=window.self;t==="top"&&(r=(n=window.top)!=null?n:window.self);const s=r.location[e].bind(r.location);let i;return{navigate:async o=>{this._logger.create("navigate");const a=new Promise((c,u)=>{i=u});return s(o.url),await a},close:()=>{this._logger.create("close"),i==null||i(new Error("Redirect aborted")),r.stop()}}}},n_=class extends Pg{constructor(e){super({expiringNotificationTimeInSeconds:e.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new G("UserManagerEvents"),this._userLoaded=new vt("User loaded"),this._userUnloaded=new vt("User unloaded"),this._silentRenewError=ne
5w vt("Silent renew error"),this._userSignedIn=new vt("User signed in"),this._userSignedOut=new vt("User signed out"),this._userSessionChanged=new vt("User session changed")}load(e,t=!0){super.load(e),t&&this._userLoaded.raise(e)}unload(){super.unload(),this._userUnloaded.raise()}addUserLoaded(e){return this._userLoaded.addHandler(e)}removeUserLoaded(e){return this._userLoaded.removeHandler(e)}addUserUnloaded(e){return this._userUnloaded.addHandler(e)}removeUserUnloaded(e){return this._userUnloaded.removeHandler(e)}addSilentRenewError(e){return this._silentRenewError.addHandler(e)}removeSilentRenewError(e){return this._silentRenewError.removeHandler(e)}_raiseSilentRenewError(e){this._silentRenewError.raise(e)}addUserSignedIn(e){return this._userSignedIn.addHandler(e)}removeUserSignedIn(e){this._userSignedIn.removeHandler(e)}_raiseUserSignedIn(){this._userSignedIn.raise()}addUserSignedOut(e){return this._userSignedOut.addHandler(e)}removeUserSignedOut(e){this._userSignedOut.removeHandler(e)}_raiseUserSignedOut(){this._userSignedOut.raise()}addUserSessionChanged(e){return this._userSessionChanged.addHandler(e)}removeUserSessionChanged(e){this._userSessionChanged.removeHandler(e)}_raiseUserSessionChanged(){this._userSessionChanged.raise()}},r_=class{constructor(e){this._userManager=e,this._logger=new G("SilentRenewService"),this._isStarted=!1,this._retryTimer=new Fe("Retry Silent Renew"),this._tokenExpiring=async()=>{const t=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),t.debug("silent token renewal successful")}catch(n){if(n instanceof Si){t.warn("ErrorTimeout from signinSilent:",n,"retry in 5s"),this._retryTimer.init(5);return}t.error("Error from signinSilent:",n),this._userManager.events._raiseSilentRenewError(n)}}}async start(){const e=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(t){e.error("getUser error",t)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},s_=class{constructor(e,t){this.refresh_token=e.refresh_token,this.id_token=e.id_token,this.session_state=e.session_state,this.scope=e.scope,this.profile=e.profile,this.resource=t,this.data=e.state}},i_=class{constructor(e){this._logger=new G("UserManager"),this.settings=new Xg(e),this._client=new Jg(e),this._redirectNavigator=new t_(this.settings),this._popupNavigator=new e_(this.settings),this._iframeNavigator=new Gg(this.settings),this._events=new n_(this.settings),this._silentRenewService=new r_(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new Vg(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(){const e=this._logger.create("getUser"),t=await this._loadUser();return t?(e.info("user loaded"),this._events.load(t,!1),t):(e.info("user not found in storage"),null)}async removeUser(){const e=this._logger.create("removeUser");await this.storeUser(null),e.info("user removed from storage"),this._events.unload()}async signinRedirect(e={}){this._logger.create("signinRedirect");const{redirectMethod:t,...n}=e,r=await this._redirectNavigator.prepare({redirectMethod:t});await this._signinStart({request_type:"si:r",...n},r)}async signinRedirectCallback(e=window.location.href){const t=this._logger.create("signinRedirectCallback"),n=await this._signinEnd(e);return n.profile&&n.profile.sub?t.info("success, signed in subject",n.profile.sub):t.info("no subject"),n}async signinResourceOwnerCredentials({username:e,password:t,skipUserInfo:n=!1}){const r=this._logger.create("signinResourceOwnerCredential"),s=await this._client.processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:n,extraTokenParams:this.settings.extraTokenParams});r.debug("got signin response");const i=await this._buildUser(s);return i.profile&&i.profile.sub?r.info("success, signed in subject",i.profile.sub):r.info("no subject"),i}async signinPopup(e={}){const t=this._logger.create("signinPopup"),{popupWindowFeatures:n,popupWindowTarget:r,...s}=e,i=this.settings.popup_redirect_uri;i||t.throw(new Error("No popup_redirect_uri configured"));const o=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:r}),a=await this._signin({request_type:"si:p",redirect_uri:i,display:"popup",...s},o);return a&&(a.profile&&a.profile.sub?t.info("success, signed in subject",a.profile.sub):t.info("no subject")),a}async signinPopupCallback(e=window.location.href,t=!1){const n=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(e,t),n.info("success")}async signinSilent(e={}){var t;const n=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:r,resource:s,...i}=e;let o=await this._loadUser();if(o!=null&&o.refresh_token){n.debug("using refresh token");const l=new s_(o,s);return await this._useRefreshToken(l)}const a=this.settings.silent_redirect_uri;a||n.throw(new Error("No silent_redirect_uri configured"));let c;
5o&&this.settings.validateSubOnSilentRenew&&(n.debug("subject prior to silent renew:",o.profile.sub),c=o.profile.sub);const u=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});return o=await this._signin({request_type:"si:s",redirect_uri:a,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?o==null?void 0:o.id_token:void 0,...i},u,c),o&&((t=o.profile)!=null&&t.sub?n.info("success, signed in subject",o.profile.sub):n.info("no subject")),o}async _useRefreshToken(e){const t=await this._client.useRefreshToken({state:e,timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds}),n=new ar({...e,...t});return await this.storeUser(n),this._events.load(n),n}async signinSilentCallback(e=window.location.href){const t=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async signinCallback(e=window.location.href){const{state:t}=await this._client.readSigninResponseState(e);switch(t.request_type){case"si:r":return await this.signinRedirectCallback(e);case"si:p":return await this.signinPopupCallback(e);case"si:s":return await this.signinSilentCallback(e);default:throw new Error("invalid response_type in state")}}async signoutCallback(e=window.location.href,t=!1){const{state:n}=await this._client.readSignoutResponseState(e);if(n)switch(n.request_type){case"so:r":await this.signoutRedirectCallback(e);break;case"so:p":await this.signoutPopupCallback(e,t);break;case"so:s":await this.signoutSilentCallback(e);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(e={}){const t=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:n,...r}=e,s=this.settings.silent_redirect_uri;s||t.throw(new Error("No silent_redirect_uri configured"));const i=await this._loadUser(),o=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:n}),a=await this._signinStart({request_type:"si:s",redirect_uri:s,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?i==null?void 0:i.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...r},o);try{const c=await this._client.processSigninResponse(a.url);return t.debug("got signin response"),c.session_state&&c.profile.sub?(t.info("success for subject",c.profile.sub),{session_state:c.session_state,sub:c.profile.sub,sid:c.profile.sid}):(t.info("success, user not authenticated"),null)}catch(c){if(this.settings.monitorAnonymousSession&&c instanceof qt)switch(c.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return t.info("success for anonymous user"),{session_state:c.session_state}}throw c}}async _signin(e,t,n){const r=await this._signinStart(e,t);return await this._signinEnd(r.url,n)}async _signinStart(e,t){const n=this._logger.create("_signinStart");try{const r=await this._client.createSigninRequest(e);return n.debug("got signin request"),await t.navigate({url:r.url,state:r.state.id,response_mode:r.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(r){throw n.debug("error after preparing navigator, closing navigator window"),t.close(),r}}async _signinEnd(e,t){const n=this._logger.create("_signinEnd"),r=await this._client.processSigninResponse(e);return n.debug("got signin response"),await this._buildUser(r,t)}async _buildUser(e,t){const n=this._logger.create("_buildUser"),r=new ar(e);if(t){if(t!==r.profile.sub)throw n.debug("current user does not match user returned from signin. sub from signin:",r.profile.sub),new qt({...e,error:"login_required"});n.debug("current user matches user returned from signin")}return await this.storeUser(r),n.debug("user stored"),this._events.load(r),r}async signoutRedirect(e={}){const t=this._logger.create("signoutRedirect"),{redirectMethod:n,...r}=e,s=await this._redirectNavigator.prepare({redirectMethod:n});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...r},s),t.info("success")}async signoutRedirectCallback(e=window.location.href){const t=this._logger.create("signoutRedirectCallback"),n=await this._signoutEnd(e);return t.info("success"),n}async signoutPopup(e={}){const t=this._logger.create("signoutPopup"),{popupWindowFeatures:n,popupWindowTarget:r,...s}=e,i=this.settings.popup_post_logout_redirect_uri,o=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:r});await this._signout({request_type:"so:p",post_logout_redirect_uri:i,state:i==null?void 0:{},...s},o),t.info("success")}async signoutPopupCallback(e=window.location.href,t=!1){const n=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(e,t),n.info("success")}async _signout(e,t){const n=await this._signoutStart(e,t);return await this._signoutEnd(n.url)}async _signoutStart(e={},t){var n;const r=this._logger.create("_signoutStart");try{const s=await this._loadUser();r.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(s);const i=e.id_token_hint||s&&s.id_token;i&&(r.debug("setting id_token_hint in signout request"),e.id_token_hint=i),await this.removeUser(),r.debug("user removed, creating signout request");
5const o=await this._client.createSignoutRequest(e);return r.debug("got signout request"),await t.navigate({url:o.url,state:(n=o.state)==null?void 0:n.id})}catch(s){throw r.debug("error after preparing navigator, closing navigator window"),t.close(),s}}async _signoutEnd(e){const t=this._logger.create("_signoutEnd"),n=await this._client.processSignoutResponse(e);return t.debug("got signout response"),n}async signoutSilent(e={}){var t;const n=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:r,...s}=e,i=this.settings.includeIdTokenInSilentSignout?(t=await this._loadUser())==null?void 0:t.id_token:void 0,o=this.settings.popup_post_logout_redirect_uri,a=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});await this._signout({request_type:"so:s",post_logout_redirect_uri:o,id_token_hint:i,...s},a),n.info("success")}async signoutSilentCallback(e=window.location.href){const t=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async revokeTokens(e){const t=await this._loadUser();await this._revokeInternal(t,e)}async _revokeInternal(e,t=this.settings.revokeTokenTypes){const n=this._logger.create("_revokeInternal");if(!e)return;const r=t.filter(s=>typeof e[s]=="string");if(!r.length){n.debug("no need to revoke due to no token(s)");return}for(const s of r)await this._client.revokeToken(e[s],s),n.info(`${s} revoked successfully`),s!=="access_token"&&(e[s]=null);await this.storeUser(e),n.debug("user stored"),this._events.load(e)}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const e=this._logger.create("_loadUser"),t=await this.settings.userStore.get(this._userStoreKey);return t?(e.debug("user storageString loaded"),ar.fromStorageString(t)):(e.debug("no user storageString"),null)}async storeUser(e){const t=this._logger.create("storeUser");if(e){t.debug("storing user");const n=e.toStorageString();await this.settings.userStore.set(this._userStoreKey,n)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey)}async clearStaleState(){await this._client.clearStaleState()}};class o_{constructor(){Dr(this,"userManager");Dr(this,"keycloakConfig");const t=mi();this.keycloakConfig={...t.public},this.initializedOidc()}initializedOidc(){try{const{realm:t,keycloakIssuer:n,clientId:r}=this.keycloakConfig,s={authority:`${n}/auth/realms/${t}`,client_id:r,redirect_uri:`${window.location.origin}/auth`,silent_redirect_uri:`${window.location.origin}/silent-refresh`,post_logout_redirect_uri:`${window.location.origin}`,response_type:"code",userStore:new ki,loadUserInfo:!0};this.userManager=new i_(s)}catch(t){console.error(t)}}signInRedirect(){return this.userManager.signinRedirect()}signInCallback(){return this.userManager.signinCallback()}renewToken(){return this.userManager.signinSilentCallback()}logout(){return this.userManager.signoutRedirect()}getUser(){return this.userManager.getUser()}}class a_{constructor(t){this.accessToken=t}getDefaultHeader(){return{Authorization:`Bearer ${this.accessToken}`}}}const c_=!1;/*!
6 * pinia v2.1.6
7 * (c) 2023 Eduardo San Martin Morote
8 * @license MIT
9 */let sl;const zn=e=>sl=e,il=Symbol();function js(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Pn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Pn||(Pn={}));function l_(){const e=ua(!0),t=e.run(()=>Ie({}));let n=[],r=[];const s=Pr({install(i){zn(s),s._a=i,i.provide(il,s),i.config.globalProperties.$pinia=s,r.forEach(o=>n.push(o)),r=[]},use(i){return!this._a&&!c_?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const ol=()=>{};function ea(e,t,n,r=ol){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&fa()&&xl(s),s}function Vt(e,...t){e.slice().forEach(n=>{n(...t)})}const u_=e=>e();function Ls(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];js(s)&&js(r)&&e.hasOwnProperty(n)&&!de(r)&&!St(r)?e[n]=Ls(s,r):e[n]=r}return e}const f_=Symbol();function d_(e){return!js(e)||!e.hasOwnProperty(f_)}const{assign:_t}=Object;function h_(e){return!!(de(e)&&e.effect)}function p_(e,t,n,r){const{state:s,actions:i,getters:o}=t,a=n.state.value[e];let c;function u(){a||(n.state.value[e]=s?s():{});const l=su(n.state.value[e]);return _t(l,i,Object.keys(o||{}).reduce((f,h)=>(f[h]=Pr(Ee(()=>{zn(n);const g=n._s.get(e);return o[h].call(g,g)})),f),{}))}return c=al(e,u,t,n,r,!0),c}function al(e,t,n={},r,s,i){let o;const a=_t({actions:{}},n),c={deep:!0};let u,l,f=[],h=[],g;const w=r.state.value[e];!i&&!w&&(r.state.value[e]={}),Ie({});let S;function R(k){let I;u=l=!1,typeof k=="function"?(k(r.state.value[e]),I={type:Pn.patchFunction,storeId:e,events:g}
9):(Ls(r.state.value[e],k),I={type:Pn.patchObject,payload:k,storeId:e,events:g});const U=S=Symbol();Tt().then(()=>{S===U&&(u=!0)}),l=!0,Vt(f,I,r.state.value[e])}const y=i?function(){const{state:I}=n,U=I?I():{};this.$patch(B=>{_t(B,U)})}:ol;function d(){o.stop(),f=[],h=[],r._s.delete(e)}function v(k,I){return function(){zn(r);const U=Array.from(arguments),B=[],N=[];function W(V){B.push(V)}function F(V){N.push(V)}Vt(h,{args:U,name:k,store:E,after:W,onError:F});let se;try{se=I.apply(this&&this.$id===e?this:E,U)}catch(V){throw Vt(N,V),V}return se instanceof Promise?se.then(V=>(Vt(B,V),V)).catch(V=>(Vt(N,V),Promise.reject(V))):(Vt(B,se),se)}}const m={_p:r,$id:e,$onAction:ea.bind(null,h),$patch:R,$reset:y,$subscribe(k,I={}){const U=ea(f,k,I.detached,()=>B()),B=o.run(()=>jt(()=>r.state.value[e],N=>{(I.flush==="sync"?l:u)&&k({storeId:e,type:Pn.direct,events:g},N)},_t({},c,I)));return U},$dispose:d},E=at(m);r._s.set(e,E);const A=r._a&&r._a.runWithContext||u_,P=r._e.run(()=>(o=ua(),A(()=>o.run(t))));for(const k in P){const I=P[k];if(de(I)&&!h_(I)||St(I))i||(w&&d_(I)&&(de(I)?I.value=w[k]:Ls(I,w[k])),r.state.value[e][k]=I);else if(typeof I=="function"){const U=v(k,I);P[k]=U,a.actions[k]=I}}return _t(E,P),_t(ne(E),P),Object.defineProperty(E,"$state",{get:()=>r.state.value[e],set:k=>{R(I=>{_t(I,k)})}}),r._p.forEach(k=>{_t(E,o.run(()=>k({store:E,app:r._a,pinia:r,options:a})))}),w&&i&&n.hydrate&&n.hydrate(E.$state,w),u=!0,l=!0,E}function g_(e,t,n){let r,s;const i=typeof t=="function";typeof e=="string"?(r=e,s=i?n:t):(s=e,r=e.id);function o(a,c){const u=li();return a=a||(u?ke(il,null):null),a&&zn(a),a=sl,a._s.has(r)||(i?al(r,t,s,a):p_(r,s,a)),a._s.get(r)}return o.$id=r,o}const cl=g_("auth",()=>{const e=Ie(null),t=Ee(()=>{var o;return((o=e.value)==null?void 0:o.access_token)??""}),n=Ee(()=>!!e.value),r=Ee(()=>{var o,a;return((a=(o=e.value)==null?void 0:o.profile)==null?void 0:a.Tenant)??""});return{access_token:t,isLoggedIn:n,tenantId:r,setUpUserCredentials:o=>{e.value=o},clearUserSession:()=>{e.value=null},user:e}}),__=()=>{const e=cl();return{$auth:new o_,$application:new a_(e.access_token)}},m_=["/auth","/silent-refresh","/logout"],y_=async(e,t)=>{let n,r;const s=cl(),i=__(),o=([n,r]=jn(()=>i.$auth.getUser()),n=await n,r(),n);(!o||o.expired)&&!m_.includes(e.path)||s.setUpUserCredentials(o)},v_=[dg,y_],An={};function w_(e,t,n){const{pathname:r,search:s,hash:i}=t,o=e.indexOf("#");if(o>-1){const u=i.includes(e.slice(o))?e.slice(o).length:1;let l=i.slice(u);return l[0]!=="/"&&(l="/"+l),po(l,"")}const a=po(r,e),c=!n||gd(a,n,{trailingSlash:!0})?a:n;return c+(c.includes("?")?"":s)+i}const b_=Dt({name:"nuxt:router",enforce:"pre",async setup(e){var S,R;let t,n,r=mi().app.baseURL;xe.hashMode&&!r.includes("#")&&(r+="#");const s=((S=xe.history)==null?void 0:S.call(xe,r))??(xe.hashMode?Ep(r):jc(r)),i=((R=xe.routes)==null?void 0:R.call(xe,Jo))??Jo;let o;const a=w_(r,window.location,e.payload.path),c=og({...xe,scrollBehavior:(y,d,v)=>{var m;if(d===Ve){o=v;return}return c.options.scrollBehavior=xe.scrollBehavior,(m=xe.scrollBehavior)==null?void 0:m.call(xe,y,Ve,o||v)},history:s,routes:i});e.vueApp.use(c);const u=Hn(c.currentRoute.value);c.afterEach((y,d)=>{u.value=d}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const l=Hn(c.resolve(a)),f=()=>{l.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((y,d)=>{var v,m,E,A;((m=(v=y.matched[0])==null?void 0:v.components)==null?void 0:m.default)===((A=(E=d.matched[0])==null?void 0:E.components)==null?void 0:A.default)&&f()});const h={};for(const y in l.value)Object.defineProperty(h,y,{get:()=>l.value[y]});e._route=qn(h),e._middleware=e._middleware||{global:[],named:{}};const g=Lr();try{[t,n]=jn(()=>c.isReady()),await t,n()}catch(y){[t,n]=jn(()=>e.runWithContext(()=>Gt(y))),await t,n()}const w=tp("_layout");return c.beforeEach(async(y,d)=>{var v;y.meta=at(y.meta),e.isHydrating&&w.value&&!Bt(y.meta.layout)&&(y.meta.layout=w.value),e._processingMiddleware=!0;{const m=new Set([...v_,...e._middleware.global]);for(const E of y.matched){const A=E.meta.middleware;if(A)if(Array.isArray(A))for(const P of A)m.add(P);else m.add(A)}for(const E of m){const A=typeof E=="string"?e._middleware.named[E]||await((v=An[E])==null?void 0:v.call(An).then(k=>k.default||k)):E;
9if(!A)throw new Error(`Unknown route middleware: '${E}'.`);const P=await e.runWithContext(()=>A(y,d));if(!e.payload.serverRendered&&e.isHydrating&&(P===!1||P instanceof Error)){const k=P||xs({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>Gt(k)),!1}if(P||P===!1)return P}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(y,d,v)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(rp),y.matched.length===0&&await e.runWithContext(()=>Gt(xs({statusCode:404,fatal:!1,statusMessage:`Page not found: ${y.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(a),name:void 0,force:!0}),c.options.scrollBehavior=xe.scrollBehavior}catch(y){await e.runWithContext(()=>Gt(y))}}),{provide:{router:c}}}}),S_=Dt(e=>{const t=l_();return e.vueApp.use(t),zn(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}),E_=Dt({name:"nuxt:global-components"}),k_=[],C_=Dt({name:"nuxt:head",setup(e){const t=Uh({plugins:k_});e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Pc(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",r),e.hooks.hook("app:suspense:resolve",r)}}}),Ut={default:()=>wt(()=>import("./default.f3b9b077.js"),[],import.meta.url).then(e=>e.default||e)},R_=Dt({name:"nuxt:prefetch",setup(e){const t=gn();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const r=(s=n==null?void 0:n.meta)==null?void 0:s.layout;r&&typeof Ut[r]=="function"&&await Ut[r]()})}),e.hooks.hook("link:prefetch",n=>{var o,a,c,u;if($r(n))return;const r=t.resolve(n);if(!r)return;const s=(o=r==null?void 0:r.meta)==null?void 0:o.layout;let i=Array.isArray((a=r==null?void 0:r.meta)==null?void 0:a.middleware)?(c=r==null?void 0:r.meta)==null?void 0:c.middleware:[(u=r==null?void 0:r.meta)==null?void 0:u.middleware];i=i.filter(l=>typeof l=="string");for(const l of i)typeof An[l]=="function"&&An[l]();s&&typeof Ut[s]=="function"&&Ut[s]()})}}),T_=Dt({name:"nuxt:chunk-reload",setup(e){const t=gn(),n=mi(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)}),t.onError((s,i)=>{if(r.has(s)){const a="href"in i&&i.href.startsWith("#")?n.app.baseURL+i.href:jr(n.app.baseURL,i.fullPath);hg({path:a,persistState:!0})}})}}),x_=[ip,b_,S_,E_,C_,R_,T_],P_=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Fs=(e,t)=>{const n=e.route.matched.find(s=>{var i;return((i=s.components)==null?void 0:i.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&P_(e.route,n));return typeof r=="function"?r(e.route):r},A_=(e,t)=>({default:()=>e?Ne(Au,e===!0?{}:e,t):t}),I_=xt({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const s in e.route)Object.defineProperty(r,s,{get:()=>t===e.renderKey?e.route[s]:n[s]});return Ft(Kn,qn(r)),()=>Ne(e.vnode,{ref:e.vnodeRef})}}),ll=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?Ne(e,t,n):(r=n.default)==null?void 0:r.call(n)}}),O_=xt({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,expose:n}){const r=ye(),s=Ie(),i=ke(Kn,null);n({pageRef:s});const o=ke(Mc,null);let a;const c=r.deferHydration();return()=>Ne(Jc,{name:e.name,route:e.route,...t},{default:u=>{const l=N_(i,u.route,u.Component),f=i&&i.matched.length===u.route.matched.length;if(!u.Component)return a&&!f?a:void 0;if(a&&o&&!o.isCurrent(u.route))return a;if(l&&i&&(!o||o!=null&&o.isCurrent(i)))return f?a:null;const h=Fs(u,e.pageKey),g=!!(e.transition??u.route.meta.pageTransition??Cs),w=g&&M_([e.transition,u.route.meta.pageTransition,Cs,{onAfterLeave:()=>{r.callHook("page:transition:finish",u.Component)}}
9].filter(Boolean));return a=ll(Ur,g&&w,A_(e.keepalive??u.route.meta.keepalive??Bh,Ne(ri,{suspensible:!0,onPending:()=>r.callHook("page:start",u.Component),onResolve:()=>{Tt(()=>r.callHook("page:finish",u.Component).finally(c))}},{default:()=>Ne(I_,{key:h,vnode:u.Component,route:u.route,renderKey:h,trackRootNodes:g,vnodeRef:s})}))).default(),a}})}});function H_(e){return Array.isArray(e)?e:e?[e]:[]}function M_(e){const t=e.map(n=>({...n,onAfterLeave:H_(n.onAfterLeave)}));return Vh(...t)}function N_(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>{var i;return((i=s.components)==null?void 0:i.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((s,i)=>{var o,a,c;return((o=s.components)==null?void 0:o.default)!==((c=(a=e.matched[i])==null?void 0:a.components)==null?void 0:c.default)})||n&&Fs({route:t,Component:n})!==Fs({route:e,Component:n})}const U_=xt({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await Ut[e.name]().then(r=>r.default||r);return()=>Ne(n,e.layoutProps,t.slots)}}),$_=xt({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=ye(),r=ke(Kn),s=r===Nc()?cg():r,i=Ee(()=>ue(e.name)??s.meta.layout??"default"),o=Ie();t.expose({layoutRef:o});const a=n.deferHydration();return()=>{const c=i.value&&i.value in Ut,u=s.meta.layoutTransition??Fh;return ll(Ur,c&&u,{default:()=>Ne(ri,{suspensible:!0,onResolve:()=>{Tt(a)}},{default:()=>Ne(j_,{layoutProps:fc(t.attrs,{ref:o}),key:i.value,name:i.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),j_=xt({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&Ft(Mc,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,s;return!n||typeof n=="string"&&!(n in Ut)?(s=(r=t.slots).default)==null?void 0:s.call(r):Ne(U_,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),L_=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},F_={};function B_(e,t){const n=O_,r=$_;return Ze(),it(r,null,{default:ti(()=>[he(n)]),_:1})}const q_=L_(F_,[["render",B_]]),D_={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
10`).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
11`);const r=Number(n.statusCode||500),s=r===404,i=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),o=n.message||n.toString(),a=void 0,l=s?Bi(()=>wt(()=>import("./error-404.c255a65d.js"),["./error-404.c255a65d.js","./error-404.7fc72018.css"],import.meta.url).then(f=>f.default||f)):Bi(()=>wt(()=>import("./error-500.4e0f989a.js"),["./error-500.4e0f989a.js","./error-500.c5df6088.css"],import.meta.url).then(f=>f.default||f));return(f,h)=>(Ze(),it(ue(l),kl(lc({statusCode:ue(r),statusMessage:ue(i),description:ue(o),stack:ue(a)})),null,16))}},ta={__name:"nuxt-root",setup(e){const t=()=>null,n=ye(),r=n.deferHydration(),s=!1;Ft(Kn,Nc()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const i=Lr();za((a,c,u)=>{if(n.hooks.callHook("vue:error",a,c,u).catch(l=>console.error("[nuxt] Error in `vue:error` hook",l)),sp(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Gt(a)),!1});const o=!1;return(a,c)=>(Ze(),it(ri,{onResolve:ue(r)},{default:ti(()=>[ue(i)?(Ze(),it(ue(D_),{key:0,error:ue(i)},null,8,["error"])):ue(o)?(Ze(),it(ue(t),{key:1,context:ue(o)},null,8,["context"])):ue(s)?(Ze(),it($u(ue(s)),{key:2})):(Ze(),it(ue(q_),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=Id.create({baseURL:Hd()}));let na;{let e;na=async function(){var i,o;if(e)return e;const r=!!((i=window.__NUXT__)!=null&&i.serverRendered||((o=document.getElementById("__NUXT_DATA__"))==null?void 0:o.dataset.ssr)==="true")?Lf(ta):jf(ta),s=zd({vueApp:r});try{await Vd(s,x_)}catch(a){await s.callHook("app:error",a),s.payload.error=s.payload.error||a}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(Dh),await s.hooks.callHook("app:mounted",r),await Tt()}catch(a){await s.callHook("app:error",a),s.payload.error=s.payload.error||a}return r},e=na().catch(t=>{console.error("Error while mounting app:",t)})}export{Y_ as A,cl as B,ue as C,Tr as D,G_ as E,Q_ as F,L_ as _,gn as a,Mr as b,Ee as c,xt as d,Ne as e,V_ as f,nd as g,$r as h,yc as i,Z_ as j,Ze as k,X_ as l,cc as m,em as n,oi as o,gi as p,he as q,Ie as r,ti as s,K_ as t,ye as u,uc as v,Ss as w,z_ as x,J_ as y,__ as z};

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