PageSourceSearch

https://help.d-velop.de/docs/_nuxt/CeQV8Two.js

js d-velop.de collected 2026-10-02 05:09:07 UTC 451,438 bytes, 60 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BZt7T6di.js","./lsmotJAP.js","./CX4UOlMO.js","./Bw4Oy1SY.js","./C4xyUrBL.js","./PGkayeDf.js","./95XnbDyt.js","./D5YkQ3BC.js","./Ci5rsXpA.js","./D2W2HtiL.js","./D0-FYNdt.js","./DCYqwtsl.js","./D_GCyXRl.js","./DcmkYTYe.js","./Bd4WAHEI.js","./wevrlNAt.js","./C0m8IMGx.js","./CAx_PM2s.js","./BVkLPKg-.js","./Feedback.J6V1q3XY.css","./oHbKeSdh.js","./TyobbPz4.js","./D9kR_42d.js","./D7yJtgTg.js","./SLJTrvHM.js","./CMbVUjyh.js","./pA20HzIi.js","./D3ud_aRu.js","./4lgKKbqP.js","./BgI-Lthp.js","./Dqjj9_8Y.js","./LanguagePicker.B-9bk5iD.css","./C7m5bTBF.js","./CT9fwvWJ.js","./Cpj98o6Y.js","./CfxHfwxI.js","./BYLnQM6V.js","./D43bHe4Z.js","./CWNy_NIF.js","./pdf.Cl_InB-D.css","./DGycNIpN.js","./Ds4OsAmA.js","./_...DuKXDWQm.css","./DyUAZeT0.js","./wSzr5bgP.js","./Bjqou9mP.js","./N4lGnQoa.js","./CNfnBSIg.js","./Denzo7ZJ.js","./C-I4pFEi.js","./CLXrjRl2.js","./Section.ByC3JlE5.css","./EkeIOkeV.js","./Ci-dsyx2.js","./SearchPopupAutocomplete.n1NjUpx7.css","./DvSULzLP.js","./DmW7YrAJ.js","./DkTSyT63.js","./_...th1AfwCP.css","./o2acxQfx.js","./ayYFTEYw.js","./CUVx70VS.js","./C7p4TcFE.js","./CK9Jp-1B.js","./B5WyEakO.js","./CuLQYoVz.js","./Cw3wPUSn.js","./Db3W2KOn.js","./Dg8AeIUo.js","./vz0hY70l.js","./CvGJ3nO5.js","./9riYte3T.js","./CardImage.ByC0euE6.css","./DTtOYfsf.js","./DaSkolg6.js","./Bo4vxYB_.js","./CPyJvw3e.js","./CNCzjbUK.js","./BeuOnbEA.js","./Cql1o6X2.js","./A5Me-r-V.js","./D5GPWZU-.js","./BKkfsOy3.js","./rkYgWSx3.js","./DBGTk4H6.js","./BR7Zvsnw.js","./Footer.s5ENk3uw.css","./BTNuxgll.js","./DFo7tRml.js","./msEkM7LJ.js","./BmQ0ttvU.js","./DropDown.CxrWIXal.css","./Navigation.C9ECuKLS.css","./B75J9bKu.js","./BD_ePXwK.js","./vtETGqnw.js","./VersionPicker.CqEhVtdm.css","./D9pM1Sig.js","./BImdr5QN.js","./BiqUecOC.js","./CrIva8XL.js","./BkzEa1TL.js","./Pagination.B-0x8MU1.css","./Bw3O7JNY.js","./C1BHr2Lf.js","./Dbtsxyfo.js","./DWF1G2F3.js","./DvlYBevo.js","./SearchPopupAutocomplete.BHbY8lIa.css","./default.DsMncNSd.css","./BpK_mnlm.js","./CWXwYUW8.js","./documentation.C0mqAd-f.css","./BO1uu0NU.js","./D9xCeiM5.js","./D83U_9h2.js","./cftaM_jj.js","./BDB6KvSb.js","./error-404.CoZKRZXM.css","./DRTkNwVQ.js","./error-500.D6506J9O.css"])))=>i.map(i=>d[i]);
2var $E=Object.defineProperty;var UE=(e,t,n)=>t in e?$E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Me=(e,t,n)=>UE(e,typeof t!="symbol"?t+"":t,n);/**
3* @vue/shared v3.5.12
4* (c) 2018-present Yuxi (Evan) You and Vue contributors
5* @license MIT
6**//*! #__NO_SIDE_EFFECTS__ */function Pl(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},fr=[],vn=()=>{},FE=()=>!1,Ro=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),wl=e=>e.startsWith("onUpdate:"),ze=Object.assign,Dl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},BE=Object.prototype.hasOwnProperty,Se=(e,t)=>BE.call(e,t),ie=Array.isArray,dr=e=>Co(e)==="[object Map]",eg=e=>Co(e)==="[object Set]",VE=e=>Co(e)==="[object RegExp]",ce=e=>typeof e=="function",Fe=e=>typeof e=="string",Wn=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",kl=e=>(ke(e)||ce(e))&&ce(e.then)&&ce(e.catch),tg=Object.prototype.toString,Co=e=>tg.call(e),HE=e=>Co(e).slice(8,-1),ng=e=>Co(e)==="[object Object]",Ml=e=>Fe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hr=Pl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ji=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},jE=/-(\w)/g,Qt=Ji(e=>e.replace(jE,(t,n)=>n?n.toUpperCase():"")),GE=/\B([A-Z])/g,_s=Ji(e=>e.replace(GE,"-$1").toLowerCase()),Zi=Ji(e=>e.charAt(0).toUpperCase()+e.slice(1)),Oa=Ji(e=>e?`on${Zi(e)}`:""),us=(e,t)=>!Object.is(e,t),pr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},sg=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},fc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},rg=e=>{const t=Fe(e)?Number(e):NaN;return isNaN(t)?e:t};let ju;const ea=()=>ju||(ju=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ta(e){if(ie(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Fe(s)?zE(s):ta(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(Fe(e)||ke(e))return e}const KE=/;(?![^(]*\))/g,WE=/:([^]+)/,YE=/\/\*[^]*?\*\//g;function zE(e){const t={};return e.replace(YE,"").split(KE).forEach(n=>{if(n){const s=n.split(WE);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function na(e){let t="";if(Fe(e))t=e;else if(ie(e))for(let n=0;n<e.length;n++){const s=na(e[n]);s&&(t+=s+" ")}else if(ke(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function QE(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Fe(t)&&(e.class=na(t)),n&&(e.style=ta(n)),e}const qE="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",XE=Pl(qE);function og(e){return!!e||e===""}const ig=e=>!!(e&&e.__v_isRef===!0),JE=e=>Fe(e)?e:e==null?"":ie(e)||ke(e)&&(e.toString===tg||!ce(e.toString))?ig(e)?JE(e.value):JSON.stringify(e,ag,2):String(e),ag=(e,t)=>ig(t)?ag(e,t.value):dr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[La(s,o)+" =>"]=r,n),{})}:eg(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>La(n))}:Wn(t)?La(t):ke(t)&&!ie(t)&&!ng(t)?String(t):t,La=(e,t="")=>{var n;return Wn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7* @vue/reactivity v3.5.12
8* (c) 2018-present Yuxi (Evan) You and Vue contributors
9* @license MIT
vendor: 5,400 bytes, line 10
10**/let St;class cg{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=St,!t&&St&&(this.index=(St.scopes||(St.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=St;try{return St=this,t()}finally{St=n}}}on(){St=this}off(){St=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Oo(e){return new cg(e)}function Lo(){return St}function yi(e,t=!1){St&&St.cleanups.push(e)}let Pe;const Na=new WeakSet;class lg{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,St&&St.active&&St.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Na.has(this)&&(Na.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||fg(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Gu(this),dg(this);const t=Pe,n=cn;Pe=this,cn=!0;try{return this.fn()}finally{hg(this),Pe=t,cn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ul(t);this.deps=this.depsTail=void 0,Gu(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Na.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){dc(this)&&this.run()}get dirty(){return dc(this)}}let ug=0,Jr,Zr;function fg(e,t=!1){if(e.flags|=8,t){e.next=Zr,Zr=e;return}e.next=Jr,Jr=e}function xl(){ug++}function $l(){if(--ug>0)return;if(Zr){let t=Zr;for(Zr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Jr;){let t=Jr;for(Jr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function dg(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function hg(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ul(s),ZE(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function dc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(pg(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function pg(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===fo))return;e.globalVersion=fo;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!dc(e)){e.flags&=-3;return}const n=Pe,s=cn;Pe=e,cn=!0;try{dg(e);const r=e.fn(e._value);(t.version===0||us(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Pe=n,cn=s,hg(e),e.flags&=-3}}function Ul(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Ul(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ZE(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let cn=!0;const gg=[];function ys(){gg.push(cn),cn=!1}function Es(){const e=gg.pop();cn=e===void 0?!0:e}function Gu(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Pe;Pe=void 0;try{t()}finally{Pe=n}}}let fo=0;class ev{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class sa{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Pe||!cn||Pe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Pe)n=this.activeLink=new ev(Pe,this),Pe.deps?(n.prevDep=Pe.depsTail,Pe.depsTail.nextDep=n,Pe.depsTail=n):Pe.deps=Pe.depsTail=n,mg(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Pe.depsTail,n.nextDep=void 0,Pe.depsTail.nextDep=n,Pe.depsTail=n,Pe.deps===n&&(Pe.deps=s)}return n}trigger(t){this.version++,fo++,this.notify(t)}notify(t){xl();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{$l()}}}function mg(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)mg(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ei=new WeakMap,$s=Symbol(""),hc=Symbol(""),ho=Symbol("");function mt(e,t,n){if(cn&&Pe){let s=Ei.get(e);s||Ei.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new sa),r.map=s,r.key=n),r.track()}}function Un(e,t,n,s,r,o){const i=Ei.get(e);if(!i){fo++;return}const a=c=>{c&&c.trigger()};if(xl(),t==="clear")i.forEach(a);else{const c=ie(e),u=c&&Ml(n);if(c&&n==="length"){const l=Number(s);
vendor: 5,197 bytes, line 10
10i.forEach((f,d)=>{(d==="length"||d===ho||!Wn(d)&&d>=l)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(ho)),t){case"add":c?u&&a(i.get("length")):(a(i.get($s)),dr(e)&&a(i.get(hc)));break;case"delete":c||(a(i.get($s)),dr(e)&&a(i.get(hc)));break;case"set":dr(e)&&a(i.get($s));break}}$l()}function tv(e,t){const n=Ei.get(e);return n&&n.get(t)}function Ys(e){const t=_e(e);return t===e?t:(mt(t,"iterate",ho),Yt(e)?t:t.map(_t))}function ra(e){return mt(e=_e(e),"iterate",ho),e}const nv={__proto__:null,[Symbol.iterator](){return Pa(this,Symbol.iterator,_t)},concat(...e){return Ys(this).concat(...e.map(t=>ie(t)?Ys(t):t))},entries(){return Pa(this,"entries",e=>(e[1]=_t(e[1]),e))},every(e,t){return Cn(this,"every",e,t,void 0,arguments)},filter(e,t){return Cn(this,"filter",e,t,n=>n.map(_t),arguments)},find(e,t){return Cn(this,"find",e,t,_t,arguments)},findIndex(e,t){return Cn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Cn(this,"findLast",e,t,_t,arguments)},findLastIndex(e,t){return Cn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Cn(this,"forEach",e,t,void 0,arguments)},includes(...e){return wa(this,"includes",e)},indexOf(...e){return wa(this,"indexOf",e)},join(e){return Ys(this).join(e)},lastIndexOf(...e){return wa(this,"lastIndexOf",e)},map(e,t){return Cn(this,"map",e,t,void 0,arguments)},pop(){return Br(this,"pop")},push(...e){return Br(this,"push",e)},reduce(e,...t){return Ku(this,"reduce",e,t)},reduceRight(e,...t){return Ku(this,"reduceRight",e,t)},shift(){return Br(this,"shift")},some(e,t){return Cn(this,"some",e,t,void 0,arguments)},splice(...e){return Br(this,"splice",e)},toReversed(){return Ys(this).toReversed()},toSorted(e){return Ys(this).toSorted(e)},toSpliced(...e){return Ys(this).toSpliced(...e)},unshift(...e){return Br(this,"unshift",e)},values(){return Pa(this,"values",_t)}};function Pa(e,t,n){const s=ra(e),r=s[t]();return s!==e&&!Yt(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const sv=Array.prototype;function Cn(e,t,n,s,r,o){const i=ra(e),a=i!==e&&!Yt(e),c=i[t];if(c!==sv[t]){const f=c.apply(e,o);return a?_t(f):f}let u=n;i!==e&&(a?u=function(f,d){return n.call(this,_t(f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const l=c.call(i,u,s);return a&&r?r(l):l}function Ku(e,t,n,s){const r=ra(e);let o=n;return r!==e&&(Yt(e)?n.length>3&&(o=function(i,a,c){return n.call(this,i,a,c,e)}):o=function(i,a,c){return n.call(this,i,_t(a),c,e)}),r[t](o,...s)}function wa(e,t,n){const s=_e(e);mt(s,"iterate",ho);const r=s[t](...n);return(r===-1||r===!1)&&Vl(n[0])?(n[0]=_e(n[0]),s[t](...n)):r}function Br(e,t,n=[]){ys(),xl();const s=_e(e)[t].apply(e,n);return $l(),Es(),s}const rv=Pl("__proto__,__v_isRef,__isVue"),_g=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Wn));function ov(e){Wn(e)||(e=String(e));const t=_e(this);return mt(t,"has",e),t.hasOwnProperty(e)}class yg{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?gv:Ag:o?bg:vg).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=ie(t);if(!r){let c;if(i&&(c=nv[n]))return c;if(n==="hasOwnProperty")return ov}const a=Reflect.get(t,n,Ne(t)?t:s);return(Wn(n)?_g.has(n):rv(n))||(r||mt(t,"get",n),o)?a:Ne(a)?i&&Ml(n)?a:a.value:ke(a)?r?Tg(a):In(a):a}}class Eg extends yg{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=ps(o);if(!Yt(s)&&!ps(s)&&(o=_e(o),s=_e(s)),!ie(t)&&Ne(o)&&!Ne(s))return c?!1:(o.value=s,!0)}const i=ie(t)&&Ml(n)?Number(n)<t.length:Se(t,n),a=Reflect.set(t,n,s,Ne(t)?t:r);return t===_e(r)&&(i?us(s,o)&&Un(t,"set",n,s):Un(t,"add",n,s)),a}deleteProperty(t,n){const s=Se(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Un(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Wn(n)||!_g.has(n))&&mt(t,"has",n),s}ownKeys(t){return mt(t,"iterate",ie(t)?"length":$s),Reflect.ownKeys(t)}}class iv extends yg{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const av=new Eg,cv=new iv,lv=new Eg(!0);const pc=e=>e,xo=e=>Reflect.getPrototypeOf(e);function uv(e,t,n){return function(...s){const r=this.__v_raw,o=_e(r),i=dr(o),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=r[e](...s),l=n?pc:t?gc:_t;return!t&&mt(o,"iterate",c?hc:$s),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[l(f[0]),l(f[1])]:l(f),done:d}},[Symbol.iterator](){return this}}}}function $o(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function fv(e,t){const n={get(r){const o=this.__v_raw,i=_e(o),a=_e(r);e||(us(r,a)&&mt(i,"get",r),mt(i,"get",a));const{has:c}=xo(i),u=t?pc:e?gc:_t;if(c.call(i,r))return u(o.get(r));if(c.call(i,a))return u(o.get(a));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&mt(_e(r),"iterate",$s),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=_e(o),a=_e(r);return e||(us(r,a)&&mt(i,"has",r),mt(i,"has",a)),r===a?o.has(r):o.has(r)||o.has(a)}
vendor: 6,091 bytes, lines 10-13
10,forEach(r,o){const i=this,a=i.__v_raw,c=_e(a),u=t?pc:e?gc:_t;return!e&&mt(c,"iterate",$s),a.forEach((l,f)=>r.call(o,u(l),u(f),i))}};return ze(n,e?{add:$o("add"),set:$o("set"),delete:$o("delete"),clear:$o("clear")}:{add(r){!t&&!Yt(r)&&!ps(r)&&(r=_e(r));const o=_e(this);return xo(o).has.call(o,r)||(o.add(r),Un(o,"add",r,r)),this},set(r,o){!t&&!Yt(o)&&!ps(o)&&(o=_e(o));const i=_e(this),{has:a,get:c}=xo(i);let u=a.call(i,r);u||(r=_e(r),u=a.call(i,r));const l=c.call(i,r);return i.set(r,o),u?us(o,l)&&Un(i,"set",r,o):Un(i,"add",r,o),this},delete(r){const o=_e(this),{has:i,get:a}=xo(o);let c=i.call(o,r);c||(r=_e(r),c=i.call(o,r)),a&&a.call(o,r);const u=o.delete(r);return c&&Un(o,"delete",r,void 0),u},clear(){const r=_e(this),o=r.size!==0,i=r.clear();return o&&Un(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=uv(r,e,t)}),n}function Fl(e,t){const n=fv(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Se(n,r)&&r in s?n:s,r,o)}const dv={get:Fl(!1,!1)},hv={get:Fl(!1,!0)},pv={get:Fl(!0,!1)};const vg=new WeakMap,bg=new WeakMap,Ag=new WeakMap,gv=new WeakMap;function mv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _v(e){return e.__v_skip||!Object.isExtensible(e)?0:mv(HE(e))}function In(e){return ps(e)?e:Bl(e,!1,av,dv,vg)}function Vn(e){return Bl(e,!1,lv,hv,bg)}function Tg(e){return Bl(e,!0,cv,pv,Ag)}function Bl(e,t,n,s,r){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=_v(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return r.set(e,a),a}function bn(e){return ps(e)?bn(e.__v_raw):!!(e&&e.__v_isReactive)}function ps(e){return!!(e&&e.__v_isReadonly)}function Yt(e){return!!(e&&e.__v_isShallow)}function Vl(e){return e?!!e.__v_raw:!1}function _e(e){const t=e&&e.__v_raw;return t?_e(t):e}function Hl(e){return!Se(e,"__v_skip")&&Object.isExtensible(e)&&sg(e,"__v_skip",!0),e}const _t=e=>ke(e)?In(e):e,gc=e=>ke(e)?Tg(e):e;function Ne(e){return e?e.__v_isRef===!0:!1}function lt(e){return Sg(e,!1)}function vr(e){return Sg(e,!0)}function Sg(e,t){return Ne(e)?e:new yv(e,t)}class yv{constructor(t,n){this.dep=new sa,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:_e(t),this._value=n?t:_t(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Yt(t)||ps(t);t=s?t:_e(t),us(t,n)&&(this._rawValue=t,this._value=s?t:_t(t),this.dep.trigger())}}function he(e){return Ne(e)?e.value:e}function _B(e){return ce(e)?e():he(e)}const Ev={get:(e,t,n)=>t==="__v_raw"?e:he(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ne(r)&&!Ne(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ig(e){return bn(e)?e:new Proxy(e,Ev)}class vv{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new sa,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function bv(e){return new vv(e)}function Av(e){const t=ie(e)?new Array(e.length):{};for(const n in e)t[n]=Rg(e,n);return t}class Tv{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return tv(_e(this._object),this._key)}}class Sv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function jl(e,t,n){return Ne(e)?e:ce(e)?new Sv(e):ke(e)&&arguments.length>1?Rg(e,t,n):lt(e)}function Rg(e,t,n){const s=e[t];return Ne(s)?s:new Tv(e,t,n)}class Iv{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new sa(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=fo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Pe!==this)return fg(this,!0),!0}get value(){const t=this.dep.track();return pg(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Rv(e,t,n=!1){let s,r;return ce(e)?s=e:(s=e.get,r=e.set),new Iv(s,r,n)}const Uo={},vi=new WeakMap;let Ps;function Cv(e,t=!1,n=Ps){if(n){let s=vi.get(n);s||vi.set(n,s=[]),s.push(e)}}function Ov(e,t,n=Le){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:a,call:c}=n,u=E=>r?E:Yt(E)||r===!1||r===0?Fn(E,1):Fn(E);let l,f,d,h,g=!1,m=!1;if(Ne(e)?(f=()=>e.value,g=Yt(e)):bn(e)?(f=()=>u(e),g=!0):ie(e)?(m=!0,g=e.some(E=>bn(E)||Yt(E)),f=()=>e.map(E=>{if(Ne(E))return E.value;if(bn(E))return u(E);if(ce(E))return c?c(E,2):E()})):ce(e)?t?f=c?()=>c(e,2):e:f=()=>{if(d){ys();try{d()}finally{Es()}}const E=Ps;Ps=l;try{return c?c(e,3,[h]):e(h)}finally{Ps=E}}:f=vn,t&&r){const E=f,y=r===!0?1/0:r;f=()=>Fn(E(),y)}const A=Lo(),C=()=>{l.stop(),A&&Dl(A.effects,l)};if(o&&t){const E=t;t=(...y)=>{E(...y),C()}}let O=m?new Array(e.length).fill(Uo):Uo;const p=E=>{if(!(!(l.flags&1)||!l.dirty&&!E))if(t){const y=l.run();if(r||g||(m?y.some((v,R)=>us(v,O[R])):us(y,O))){d&&d();const v=Ps;Ps=l;try{const R=[y,O===Uo?void 0:m&&O[0]===Uo?[]:O,h];c?c(t,3,R):t(...R),O=y}finally{Ps=v}}}else l.run()};return a&&a(p),l=new lg(f),l.scheduler=i?()=>i(p,!1):p,h=E=>Cv(E,!1,l),d=l.onStop=()=>{const E=vi.get(l);if(E){if(c)c(E,4);else for(const y of E)y();vi.delete(l)}},t?s?p(!0):O=l.run():i?i(p.bind(null,!0),!0):l.run(),C.pause=l.pause.bind(l),C.resume=l.resume.bind(l),C.stop=C,C}function Fn(e,t=1/0,n){if(t<=0||!ke(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ne(e))Fn(e.value,t,n);else if(ie(e))for(let s=0;s<e.length;s++)Fn(e[s],t,n);else if(eg(e)||dr(e))e.forEach(s=>{Fn(s,t,n)});else if(ng(e)){for(const s in e)Fn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Fn(e[s],t,n)}return e}/**
11* @vue/runtime-core v3.5.12
12* (c) 2018-present Yuxi (Evan) You and Vue contributors
13* @license MIT
14**/function No(e,t,n,s){try{return s?e(...s):e()}catch(r){Mr(r,t,n)}}function ln(e,t,n,s){if(ce(e)){const r=No(e,t,n,s);return r&&kl(r)&&r.catch(o=>{Mr(o,t,n)}),r}if(ie(e)){const r=[];for(let o=0;o<e.length;o++)r.push(ln(e[o],t,n,s));return r}}function Mr(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Le;if(t){let a=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const l=a.ec;if(l){for(let f=0;f<l.length;f++)if(l[f](e,c,u)===!1)return}a=a.parent}if(o){ys(),No(o,null,10,[e,c,u]),Es();return}}Lv(e,n,r,s,i)}function Lv(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const It=[];let mn=-1;const gr=[];let ts=null,er=0;const Cg=Promise.resolve();let bi=null;function vs(e){const t=bi||Cg;return e?t.then(this?e.bind(this):e):t}function Nv(e){let t=mn+1,n=It.length;for(;t<n;){const s=t+n>>>1,r=It[s],o=po(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Gl(e){if(!(e.flags&1)){const t=po(e),n=It[It.length-1];!n||!(e.flags&2)&&t>=po(n)?It.push(e):It.splice(Nv(t),0,e),e.flags|=1,Og()}}function Og(){bi||(bi=Cg.then(Lg))}function mc(e){ie(e)?gr.push(...e):ts&&e.id===-1?ts.splice(er+1,0,e):e.flags&1||(gr.push(e),e.flags|=1),Og()}function Wu(e,t,n=mn+1){for(;n<It.length;n++){const s=It[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;It.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Ai(e){if(gr.length){const t=[...new Set(gr)].sort((n,s)=>po(n)-po(s));if(gr.length=0,ts){ts.push(...t);return}for(ts=t,er=0;er<ts.length;er++){const n=ts[er];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ts=null,er=0}}const po=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Lg(e){try{for(mn=0;mn<It.length;mn++){const t=It[mn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),No(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;mn<It.length;mn++){const t=It[mn];t&&(t.flags&=-2)}mn=-1,It.length=0,Ai(),bi=null,(It.length||gr.length)&&Lg()}}let nt=null,Ng=null;function Ti(e){const t=nt;return nt=e,Ng=e&&e.type.__scopeId||null,t}function Kl(e,t=nt,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&rf(-1);const o=Ti(t);let i;try{i=e(...r)}finally{Ti(o),s._d&&rf(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function yB(e,t){if(nt===null)return e;const n=ca(nt),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,a,c=Le]=t[r];o&&(ce(o)&&(o={mounted:o,updated:o}),o.deep&&Fn(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:c}))}return e}function _n(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const a=r[i];o&&(a.oldValue=o[i].value);let c=a.dir[s];c&&(ys(),ln(c,n,8,[e.el,a,e,t]),Es())}}const Pv=Symbol("_vte"),Pg=e=>e.__isTeleport,ns=Symbol("_leaveCb"),Fo=Symbol("_enterCb");function wg(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ia(()=>{e.isMounted=!0}),Ql(()=>{e.isUnmounting=!0}),e}const Vt=[Function,Array],Dg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Vt,onEnter:Vt,onAfterEnter:Vt,onEnterCancelled:Vt,onBeforeLeave:Vt,onLeave:Vt,onAfterLeave:Vt,onLeaveCancelled:Vt,onBeforeAppear:Vt,onAppear:Vt,onAfterAppear:Vt,onAppearCancelled:Vt},kg=e=>{const t=e.subTree;return t.component?kg(t.component):t},wv={name:"BaseTransition",props:Dg,setup(e,{slots:t}){const n=zn(),s=wg();return()=>{const r=t.default&&Wl(t.default(),!0);if(!r||!r.length)return;const o=Mg(r),i=_e(e),{mode:a}=i;if(s.isLeaving)return Da(o);const c=Yu(o);if(!c)return Da(o);let u=go(c,i,s,n,d=>u=d);c.type!==Ze&&gs(c,u);const l=n.subTree,f=l&&Yu(l);if(f&&f.type!==Ze&&!on(c,f)&&kg(n).type!==Ze){const d=go(f,i,s,n);if(gs(f,d),a==="out-in"&&c.type!==Ze)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave},Da(o);a==="in-out"&&c.type!==Ze&&(d.delayLeave=(h,g,m)=>{const A=xg(s,f);A[String(f.key)]=f,h[ns]=()=>{g(),h[ns]=void 0,delete u.delayedLeave},u.delayedLeave=m})}return o}}};function Mg(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ze){t=n;break}}return t}const Dv=wv;function xg(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function go(e,t,n,s,r){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:l,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:A,onAppear:C,onAfterAppear:O,onAppearCancelled:p}=t,E=String(e.key),y=xg(n,e),v=(S,w)=>{S&&ln(S,s,9,w)},R=(S,w)=>{const F=w[1];v(S,w),ie(S)?S.every(M=>M.length<=1)&&F():S.length<=1&&F()},N={mode:i,persisted:a,beforeEnter(S){let w=c;if(!n.isMounted)if(o)w=A||c;else return;S[ns]&&S[ns](!0);const F=y[E];F&&on(e,F)&&F.el[ns]&&F.el[ns](),v(w,[S])},enter(S){let w=u,F=l,M=f;if(!n.isMounted)if(o)w=C||u,F=O||l,M=p||f;else return;let Y=!1;const ue=S[Fo]=me=>{Y||(Y=!0,me?v(M,[S]):v(F,[S]),N.delayedLeave&&N.delayedLeave(),S[Fo]=void 0)};w?R(w,[S,ue]):ue()},leave(S,w){const F=String(e.key);if(S[Fo]&&S[Fo](!0),n.isUnmounting)return w();v(d,[S]);let M=!1;const Y=S[ns]=ue=>{M||(M=!0,w(),ue?v(m,[S]):v(g,[S]),S[ns]=void 0,y[F]===e&&delete y[F])};y[F]=e,h?R(h,[S,Y]):Y()},clone(S){const w=go(S,t,n,s,r);return r&&r(w),w}};return N}function Da(e){if(Po(e))return e=Kn(e),e.children=null,e}function Yu(e){if(!Po(e))return Pg(e.type)&&e.children?Mg(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ce(n.default))return n.default()}}function gs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,gs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}
vendor: 9,537 bytes, lines 14-15
14function Wl(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Je?(i.patchFlag&128&&r++,s=s.concat(Wl(i.children,t,a))):(t||i.type!==Ze)&&s.push(a!=null?Kn(i,{key:a}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function dn(e,t){return ce(e)?ze({name:e.name},t,{setup:e}):e}function EB(){const e=zn();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Yl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Si(e,t,n,s,r=!1){if(ie(e)){e.forEach((g,m)=>Si(g,t&&(ie(t)?t[m]:t),n,s,r));return}if(fs(s)&&!r)return;const o=s.shapeFlag&4?ca(s.component):s.el,i=r?null:o,{i:a,r:c}=e,u=t&&t.r,l=a.refs===Le?a.refs={}:a.refs,f=a.setupState,d=_e(f),h=f===Le?()=>!1:g=>Se(d,g);if(u!=null&&u!==c&&(Fe(u)?(l[u]=null,h(u)&&(f[u]=null)):Ne(u)&&(u.value=null)),ce(c))No(c,a,12,[i,l]);else{const g=Fe(c),m=Ne(c);if(g||m){const A=()=>{if(e.f){const C=g?h(c)?f[c]:l[c]:c.value;r?ie(C)&&Dl(C,o):ie(C)?C.includes(o)||C.push(o):g?(l[c]=[o],h(c)&&(f[c]=l[c])):(c.value=[o],e.k&&(l[e.k]=c.value))}else g?(l[c]=i,h(c)&&(f[c]=i)):m&&(c.value=i,e.k&&(l[e.k]=i))};i?(A.id=-1,at(A,n)):A()}}}let zu=!1;const zs=()=>{zu||(console.error("Hydration completed but contains mismatches."),zu=!0)},kv=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Mv=e=>e.namespaceURI.includes("MathML"),Bo=e=>{if(e.nodeType===1){if(kv(e))return"svg";if(Mv(e))return"mathml"}},or=e=>e.nodeType===8;function xv(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:o,parentNode:i,remove:a,insert:c,createComment:u}}=e,l=(p,E)=>{if(!E.hasChildNodes()){n(null,p,E),Ai(),E._vnode=p;return}f(E.firstChild,p,null,null,null),Ai(),E._vnode=p},f=(p,E,y,v,R,N=!1)=>{N=N||!!E.dynamicChildren;const S=or(p)&&p.data==="[",w=()=>m(p,E,y,v,R,S),{type:F,ref:M,shapeFlag:Y,patchFlag:ue}=E;let me=p.nodeType;E.el=p,ue===-2&&(N=!1,E.dynamicChildren=null);let X=null;switch(F){case ds:me!==3?E.children===""?(c(E.el=r(""),i(p),p),X=p):X=w():(p.data!==E.children&&(zs(),p.data=E.children),X=o(p));break;case Ze:O(p)?(X=o(p),C(E.el=p.content.firstChild,p,y)):me!==8||S?X=w():X=o(p);break;case to:if(S&&(p=o(p),me=p.nodeType),me===1||me===3){X=p;const re=!E.children.length;for(let se=0;se<E.staticCount;se++)re&&(E.children+=X.nodeType===1?X.outerHTML:X.data),se===E.staticCount-1&&(E.anchor=X),X=o(X);return S?o(X):X}else w();break;case Je:S?X=g(p,E,y,v,R,N):X=w();break;default:if(Y&1)(me!==1||E.type.toLowerCase()!==p.tagName.toLowerCase())&&!O(p)?X=w():X=d(p,E,y,v,R,N);else if(Y&6){E.slotScopeIds=R;const re=i(p);if(S?X=A(p):or(p)&&p.data==="teleport start"?X=A(p,p.data,"teleport end"):X=o(p),t(E,re,null,y,v,Bo(re),N),fs(E)){let se;S?(se=De(Je),se.anchor=X?X.previousSibling:re.lastChild):se=p.nodeType===3?pm(""):De("div"),se.el=p,E.component.subTree=se}}else Y&64?me!==8?X=w():X=E.type.hydrate(p,E,y,v,R,N,e,h):Y&128&&(X=E.type.hydrate(p,E,y,v,Bo(i(p)),R,N,e,f))}return M!=null&&Si(M,null,v,E),X},d=(p,E,y,v,R,N)=>{N=N||!!E.dynamicChildren;const{type:S,props:w,patchFlag:F,shapeFlag:M,dirs:Y,transition:ue}=E,me=S==="input"||S==="option";if(me||F!==-1){Y&&_n(E,null,y,"created");let X=!1;if(O(p)){X=tm(null,ue)&&y&&y.vnode.props&&y.vnode.props.appear;const se=p.content.firstChild;X&&ue.beforeEnter(se),C(se,p,y),E.el=p=se}if(M&16&&!(w&&(w.innerHTML||w.textContent))){let se=h(p.firstChild,E,p,y,v,R,N);for(;se;){Vo(p,1)||zs();const Be=se;se=se.nextSibling,a(Be)}}else if(M&8){let se=E.children;se[0]===`
15`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(se=se.slice(1)),p.textContent!==se&&(Vo(p,0)||zs(),p.textContent=E.children)}if(w){if(me||!N||F&48){const se=p.tagName.includes("-");for(const Be in w)(me&&(Be.endsWith("value")||Be==="indeterminate")||Ro(Be)&&!hr(Be)||Be[0]==="."||se)&&s(p,Be,null,w[Be],void 0,y)}else if(w.onClick)s(p,"onClick",null,w.onClick,void 0,y);else if(F&4&&bn(w.style))for(const se in w.style)w.style[se]}let re;(re=w&&w.onVnodeBeforeMount)&&Mt(re,y,E),Y&&_n(E,null,y,"beforeMount"),((re=w&&w.onVnodeMounted)||Y||X)&&am(()=>{re&&Mt(re,y,E),X&&ue.enter(p),Y&&_n(E,null,y,"mounted")},v)}return p.nextSibling},h=(p,E,y,v,R,N,S)=>{S=S||!!E.dynamicChildren;const w=E.children,F=w.length;for(let M=0;M<F;M++){const Y=S?w[M]:w[M]=Ft(w[M]),ue=Y.type===ds;p?(ue&&!S&&M+1<F&&Ft(w[M+1]).type===ds&&(c(r(p.data.slice(Y.children.length)),y,o(p)),p.data=Y.children),p=f(p,Y,v,R,N,S)):ue&&!Y.children?c(Y.el=r(""),y):(Vo(y,1)||zs(),n(null,Y,y,null,v,R,Bo(y),N))}return p},g=(p,E,y,v,R,N)=>{const{slotScopeIds:S}=E;S&&(R=R?R.concat(S):S);const w=i(p),F=h(o(p),E,w,y,v,R,N);return F&&or(F)&&F.data==="]"?o(E.anchor=F):(zs(),c(E.anchor=u("]"),w,F),F)},m=(p,E,y,v,R,N)=>{if(Vo(p.parentElement,1)||zs(),E.el=null,N){const F=A(p);for(;;){const M=o(p);if(M&&M!==F)a(M);else break}}const S=o(p),w=i(p);return a(p),n(null,E,w,S,y,v,Bo(w),R),S},A=(p,E="[",y="]")=>{let v=0;for(;p;)if(p=o(p),p&&or(p)&&(p.data===E&&v++,p.data===y)){if(v===0)return o(p);v--}return p},C=(p,E,y)=>{const v=E.parentNode;v&&v.replaceChild(p,E);let R=y;for(;R;)R.vnode.el===E&&(R.vnode.el=R.subTree.el=p),R=R.parent},O=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[l,f]}const Qu="data-allow-mismatch",$v={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Vo(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Qu);)e=e.parentElement;const n=e&&e.getAttribute(Qu);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes($v[t])}}ea().requestIdleCallback;ea().cancelIdleCallback;function Uv(e,t){if(or(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(or(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const fs=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function le(e){ce(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:o,timeout:i,suspensible:a=!0,onError:c}=e;let u=null,l,f=0;const d=()=>(f++,u=null,h()),h=()=>{let g;return u||(g=u=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),c)return new Promise((A,C)=>{c(m,()=>A(d()),()=>C(m),f+1)});throw m}).then(m=>g!==u&&u?u:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),l=m,m)))};return dn({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(g,m,A){const C=o?()=>{const O=o(A,p=>Uv(g,p));O&&(m.bum||(m.bum=[])).push(O)}:A;l?C():h().then(()=>!m.isUnmounted&&C())},get __asyncResolved(){return l},setup(){const g=et;if(Yl(g),l)return()=>ka(l,g);const m=p=>{u=null,Mr(p,g,13,!s)};if(a&&g.suspense||Ar)return h().then(p=>()=>ka(p,g)).catch(p=>(m(p),()=>s?De(s,{error:p}):null));const A=lt(!1),C=lt(),O=lt(!!r);return r&&setTimeout(()=>{O.value=!1},r),i!=null&&setTimeout(()=>{if(!A.value&&!C.value){const p=new Error(`Async component timed out after ${i}ms.`);m(p),C.value=p}},i),h().then(()=>{A.value=!0,g.parent&&Po(g.parent.vnode)&&g.parent.update()}).catch(p=>{m(p),C.value=p}),()=>{if(A.value&&l)return ka(l,g);if(C.value&&s)return De(s,{error:C.value});if(n&&!O.value)return De(n)}}})}function ka(e,t){const{ref:n,props:s,children:r,ce:o}=t.vnode,i=De(e,s,r);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Po=e=>e.type.__isKeepAlive,Fv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=zn(),s=n.ctx;if(!s.renderer)return()=>{const O=t.default&&t.default();return O&&O.length===1?O[0]:O};const r=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:u,um:l,o:{createElement:f}}}=s,d=f("div");s.activate=(O,p,E,y,v)=>{const R=O.component;u(O,p,E,0,a),c(R.vnode,O,p,E,R,a,y,O.slotScopeIds,v),at(()=>{R.isDeactivated=!1,R.a&&pr(R.a);const N=O.props&&O.props.onVnodeMounted;N&&Mt(N,R.parent,O)},a)},s.deactivate=O=>{const p=O.component;Ri(p.m),Ri(p.a),u(O,d,null,1,a),at(()=>{p.da&&pr(p.da);const E=O.props&&O.props.onVnodeUnmounted;E&&Mt(E,p.parent,O),p.isDeactivated=!0},a)};function h(O){Ma(O),l(O,n,a,!0)}function g(O){r.forEach((p,E)=>{const y=Ic(p.type);y&&!O(y)&&m(E)})}function m(O){const p=r.get(O);p&&(!i||!on(p,i))?h(p):i&&Ma(i),r.delete(O),o.delete(O)}Ot(()=>[e.include,e.exclude],([O,p])=>{O&&g(E=>Wr(O,E)),p&&g(E=>!Wr(p,E))},{flush:"post",deep:!0});let A=null;const C=()=>{A!=null&&(Ci(n.subTree.type)?at(()=>{r.set(A,Ho(n.subTree))},n.subTree.suspense):r.set(A,Ho(n.subTree)))};return ia(C),zl(C),Ql(()=>{r.forEach(O=>{const{subTree:p,suspense:E}=n,y=Ho(p);if(O.type===y.type&&O.key===y.key){Ma(y);const v=y.component.da;v&&at(v,E);return}h(O)})}),()=>{if(A=null,!t.default)return i=null;const O=t.default(),p=O[0];if(O.length>1)return i=null,O;if(!js(p)||!(p.shapeFlag&4)&&!(p.shapeFlag&128))return i=null,p;let E=Ho(p);if(E.type===Ze)return i=null,E;const y=E.type,v=Ic(fs(E)?E.type.__asyncResolved||{}:y),{include:R,exclude:N,max:S}=e;if(R&&(!v||!Wr(R,v))||N&&v&&Wr(N,v))return E.shapeFlag&=-257,i=E,p;const w=E.key==null?y:E.key,F=r.get(w);return E.el&&(E=Kn(E),p.shapeFlag&128&&(p.ssContent=E)),A=w,F?(E.el=F.el,E.component=F.component,E.transition&&gs(E,E.transition),E.shapeFlag|=512,o.delete(w),o.add(w)):(o.add(w),S&&o.size>parseInt(S,10)&&m(o.values().next().value)),E.shapeFlag|=256,i=E,Ci(p.type)?p:E}}},Bv=Fv;function Wr(e,t){return ie(e)?e.some(n=>Wr(n,t)):Fe(e)?e.split(",").includes(t):VE(e)?(e.lastIndex=0,e.test(t)):!1}function Vv(e,t){$g(e,"a",t)}function Hv(e,t){$g(e,"da",t)}function $g(e,t,n=et){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});
15if(oa(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Po(r.parent.vnode)&&jv(s,t,n,r),r=r.parent}}function jv(e,t,n,s){const r=oa(t,e,s,!0);ql(()=>{Dl(s[t],r)},n)}function Ma(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ho(e){return e.shapeFlag&128?e.ssContent:e}function oa(e,t,n=et,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{ys();const a=Gs(n),c=ln(t,n,e,i);return a(),Es(),c});return s?r.unshift(o):r.push(o),o}}const Yn=e=>(t,n=et)=>{(!Ar||e==="sp")&&oa(e,(...s)=>t(...s),n)},Gv=Yn("bm"),ia=Yn("m"),Kv=Yn("bu"),zl=Yn("u"),Ql=Yn("bum"),ql=Yn("um"),Wv=Yn("sp"),Yv=Yn("rtg"),zv=Yn("rtc");function Ug(e,t=et){oa("ec",e,t)}const Fg="components";function vB(e,t){return Vg(Fg,e,!0,t)||e}const Bg=Symbol.for("v-ndc");function Qv(e){return Fe(e)?Vg(Fg,e,!1)||e:e||Bg}function Vg(e,t,n=!0,s=!1){const r=nt||et;if(r){const o=r.type;{const a=Ic(o,!1);if(a&&(a===t||a===Qt(t)||a===Zi(Qt(t))))return o}const i=qu(r[e]||o[e],t)||qu(r.appContext[e],t);return!i&&s?o:i}}function qu(e,t){return e&&(e[t]||e[Qt(t)]||e[Zi(Qt(t))])}function bB(e,t,n,s){let r;const o=n,i=ie(e);if(i||Fe(e)){const a=i&&bn(e);let c=!1;a&&(c=!Yt(e),e=ra(e)),r=new Array(e.length);for(let u=0,l=e.length;u<l;u++)r[u]=t(c?_t(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,o)}else if(ke(e))if(e[Symbol.iterator])r=Array.from(e,(a,c)=>t(a,c,void 0,o));else{const a=Object.keys(e);r=new Array(a.length);for(let c=0,u=a.length;c<u;c++){const l=a[c];r[c]=t(e[l],l,c,o)}}else r=[];return r}function AB(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(ie(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const o=s.fn(...r);return o&&(o.key=s.key),o}:s.fn)}return e}function TB(e,t,n={},s,r){if(nt.ce||nt.parent&&fs(nt.parent)&&nt.parent.ce)return t!=="default"&&(n.name=t),jt(),Bn(Je,null,[De("slot",n,s&&s())],64);let o=e[t];o&&o._c&&(o._d=!1),jt();const i=o&&Hg(o(n)),a=n.key||i&&i.key,c=Bn(Je,{key:(a&&!Wn(a)?a:`_${t}`)+(!i&&s?"_fb":"")},i||(s?s():[]),i&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),o&&o._c&&(o._d=!0),c}function Hg(e){return e.some(t=>js(t)?!(t.type===Ze||t.type===Je&&!Hg(t.children)):!0)?e:null}const _c=e=>e?mm(e)?ca(e):_c(e.parent):null,eo=ze(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=>_c(e.parent),$root:e=>_c(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Xl(e),$forceUpdate:e=>e.f||(e.f=()=>{Gl(e.update)}),$nextTick:e=>e.n||(e.n=vs.bind(e.proxy)),$watch:e=>gb.bind(e)}),xa=(e,t)=>e!==Le&&!e.__isScriptSetup&&Se(e,t),qv={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:a,appContext:c}=e;let u;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(xa(s,t))return i[t]=1,s[t];if(r!==Le&&Se(r,t))return i[t]=2,r[t];if((u=e.propsOptions[0])&&Se(u,t))return i[t]=3,o[t];if(n!==Le&&Se(n,t))return i[t]=4,n[t];yc&&(i[t]=0)}}const l=eo[t];let f,d;if(l)return t==="$attrs"&&mt(e.attrs,"get",""),l(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Le&&Se(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,Se(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return xa(r,t)?(r[t]=n,!0):s!==Le&&Se(s,t)?(s[t]=n,!0):Se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let a;return!!n[i]||e!==Le&&Se(e,i)||xa(t,i)||(a=o[0])&&Se(a,i)||Se(s,i)||Se(eo,i)||Se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Xu(e){return ie(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function SB(e){const t=zn();let n=e();return Tc(),kl(n)&&(n=n.catch(s=>{throw Gs(t),s})),[n,()=>Gs(t)]}let yc=!0;function Xv(e){const t=Xl(e),n=e.proxy,s=e.ctx;yc=!1,t.beforeCreate&&Ju(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:a,provide:c,inject:u,created:l,beforeMount:f,mounted:d,beforeUpdate:h,updated:g,activated:m,deactivated:A,beforeDestroy:C,beforeUnmount:O,de
vendor: 7,345 bytes, line 15
15stroyed:p,unmounted:E,render:y,renderTracked:v,renderTriggered:R,errorCaptured:N,serverPrefetch:S,expose:w,inheritAttrs:F,components:M,directives:Y,filters:ue}=t;if(u&&Jv(u,s,null),i)for(const re in i){const se=i[re];ce(se)&&(s[re]=se.bind(n))}if(r){const re=r.call(n,n);ke(re)&&(e.data=In(re))}if(yc=!0,o)for(const re in o){const se=o[re],Be=ce(se)?se.bind(n,n):ce(se.get)?se.get.bind(n,n):vn,Bt=!ce(se)&&ce(se.set)?se.set.bind(n):vn,Qe=we({get:Be,set:Bt});Object.defineProperty(s,re,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:qe=>Qe.value=qe})}if(a)for(const re in a)jg(a[re],s,n,re);if(c){const re=ce(c)?c.call(n):c;Reflect.ownKeys(re).forEach(se=>{Fs(se,re[se])})}l&&Ju(l,e,"c");function X(re,se){ie(se)?se.forEach(Be=>re(Be.bind(n))):se&&re(se.bind(n))}if(X(Gv,f),X(ia,d),X(Kv,h),X(zl,g),X(Vv,m),X(Hv,A),X(Ug,N),X(zv,v),X(Yv,R),X(Ql,O),X(ql,E),X(Wv,S),ie(w))if(w.length){const re=e.exposed||(e.exposed={});w.forEach(se=>{Object.defineProperty(re,se,{get:()=>n[se],set:Be=>n[se]=Be})})}else e.exposed||(e.exposed={});y&&e.render===vn&&(e.render=y),F!=null&&(e.inheritAttrs=F),M&&(e.components=M),Y&&(e.directives=Y),S&&Yl(e)}function Jv(e,t,n=vn){ie(e)&&(e=Ec(e));for(const s in e){const r=e[s];let o;ke(r)?"default"in r?o=ut(r.from||s,r.default,!0):o=ut(r.from||s):o=ut(r),Ne(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Ju(e,t,n){ln(ie(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function jg(e,t,n,s){let r=s.includes(".")?rm(n,s):()=>n[s];if(Fe(e)){const o=t[e];ce(o)&&Ot(r,o)}else if(ce(e))Ot(r,e.bind(n));else if(ke(e))if(ie(e))e.forEach(o=>jg(o,t,n,s));else{const o=ce(e.handler)?e.handler.bind(n):t[e.handler];ce(o)&&Ot(r,o,e)}}function Xl(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let c;return a?c=a:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>Ii(c,u,i,!0)),Ii(c,t,i)),ke(t)&&o.set(t,c),c}function Ii(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Ii(e,o,n,!0),r&&r.forEach(i=>Ii(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=Zv[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Zv={data:Zu,props:ef,emits:ef,methods:Yr,computed:Yr,beforeCreate:At,created:At,beforeMount:At,mounted:At,beforeUpdate:At,updated:At,beforeDestroy:At,beforeUnmount:At,destroyed:At,unmounted:At,activated:At,deactivated:At,errorCaptured:At,serverPrefetch:At,components:Yr,directives:Yr,watch:tb,provide:Zu,inject:eb};function Zu(e,t){return t?e?function(){return ze(ce(e)?e.call(this,this):e,ce(t)?t.call(this,this):t)}:t:e}function eb(e,t){return Yr(Ec(e),Ec(t))}function Ec(e){if(ie(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function At(e,t){return e?[...new Set([].concat(e,t))]:t}function Yr(e,t){return e?ze(Object.create(null),e,t):t}function ef(e,t){return e?ie(e)&&ie(t)?[...new Set([...e,...t])]:ze(Object.create(null),Xu(e),Xu(t??{})):t}function tb(e,t){if(!e)return t;if(!t)return e;const n=ze(Object.create(null),e);for(const s in t)n[s]=At(e[s],t[s]);return n}function Gg(){return{app:null,config:{isNativeTag:FE,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 nb=0;function sb(e,t){return function(s,r=null){ce(s)||(s=ze({},s)),r!=null&&!ke(r)&&(r=null);const o=Gg(),i=new WeakSet,a=[];let c=!1;const u=o.app={_uid:nb++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:ym,get config(){return o.config},set config(l){},use(l,...f){return i.has(l)||(l&&ce(l.install)?(i.add(l),l.install(u,...f)):ce(l)&&(i.add(l),l(u,...f))),u},mixin(l){return o.mixins.includes(l)||o.mixins.push(l),u},component(l,f){return f?(o.components[l]=f,u):o.components[l]},directive(l,f){return f?(o.directives[l]=f,u):o.directives[l]},mount(l,f,d){if(!c){const h=u._ceVNode||De(s,r);return h.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(h,l):e(h,l,d),c=!0,u._container=l,l.__vue_app__=u,ca(h.component)}},onUnmount(l){a.push(l)},unmount(){c&&(ln(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(l,f){return o.provides[l]=f,u},runWithContext(l){const f=Us;Us=u;try{return l()}finally{Us=f}}};return u}}let Us=null;function Fs(e,t){if(et){let n=et.provides;const s=et.parent&&et.parent.provides;s===n&&(n=et.provides=Object.create(s)),n[e]=t}}function ut(e,t,n=!1){const s=et||nt;if(s||Us){const r=Us?Us._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ce(t)?t.call(s&&s.proxy):t}}function Jl(){return!!(et||nt||Us)}const Kg={},Wg=()=>Object.create(Kg),Yg=e=>Object.getPrototypeOf(e)===Kg;function rb(e,t,n,s=!1){const r={},o=Wg();e.propsDefaults=Object.create(null),zg(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Vn(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function ob(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,a=_e(r),[c]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const l=e.vnode.dynamicProps;for(let f=0;f<l.length;f++){let d=l[f];if(aa(e.emitsOptions,d))continue;const h=t[d];if(c)if(Se(o,d))h!==o[d]&&(o[d]=h,u=!0);else{const g=Qt(d);r[g]=vc(c,a,g,h,e,!1)}else h!==o[d]&&(o[d]=h,u=!0)}}}else{zg(e,t,r,o)&&(u=!0);let l;for(const f in a)(!t||!Se(t,f)&&((l=_s(f))===f||!Se(t,l)))&&(c?n&&(n[f]!==void 0||n[l]!==void 0)&&(r[f]=vc(c,a,f,void 0,e,!0)):delete r[f]);if(o!==a)for(const f in o)(!t||!Se(t,f))&&(delete o[f],u=!0)}u&&Un(e.attrs,"set","")}function zg(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,a;if(t)for(let c in t){if(hr(c))continue;const u=t[c];let l;r&&Se(r,l=Qt(c))?!o||!o.includes(l)?n[l]=u:(a||(a={}))[l]=u:aa(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,i=!0)}if(o){const c=_e(n),u=a||Le;for(let l=0;l<o.length;l++){const f=o[l];n[f]=vc(r,c,f,u[f],e,!Se(u,f))}}return i}function vc(e,t,n,s,r,o){const i=e[n];if(i!=null){const a=Se(i,"default");if(a&&s===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&ce(c)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const l=Gs(r);s=u[n]=c.call(null,t),l()}}else s=c;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!a?s=!1:i[1]&&(s===""||s===_s(n))&&(s=!0))}return s}const ib=new WeakMap;function Qg(e,t,n=!1){const s=n?ib:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},a=[];let c=!1;if(!ce(e)){const l=f=>{c=!0;const[d,h]=Qg(f,t,!0);ze(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!o&&!c)return ke(e)&&s.set(e,fr),fr;if(ie(o))for(let l=0;l<o.length;l++){const f=Qt(o[l]);tf(f)&&(i[f]=Le)}else if(o)for(const l in o){const f=Qt(l);if(tf(f)){const d=o[l],h=i[f]=ie(d)||ce(d)?{type:d}:ze({},d),g=h.type;let m=!1,A=!0;if(ie(g))for(let C=0;C<g.length;++C){const O=g[C],p=ce(O)&&O.name;if(p==="Boolean"){m=!0;break}else p==="String"&&(A=!1)}else m=ce(g)&&g.name==="Boolean";h[0]=m,h[1]=A,(m||Se(h,"default"))&&a.push(f)}}const u=[i,a];return ke(e)&&s.set(e,u),u}function tf(e){return e[0]!=="$"&&!hr(e)}const qg=e=>e[0]==="_"||e==="$stable",Zl=e=>ie(e)?e.map(Ft):[Ft(e)],ab=(e,t,n)=>{if(t._n)return t;const s=Kl((...r)=>Zl(t(...r)),n);return s._c=!1,s}
vendor: 4,636 bytes, line 15
15,Xg=(e,t,n)=>{const s=e._ctx;for(const r in e){if(qg(r))continue;const o=e[r];if(ce(o))t[r]=ab(r,o,s);else if(o!=null){const i=Zl(o);t[r]=()=>i}}},Jg=(e,t)=>{const n=Zl(t);e.slots.default=()=>n},Zg=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},cb=(e,t,n)=>{const s=e.slots=Wg();if(e.vnode.shapeFlag&32){const r=t._;r?(Zg(s,t,n),n&&sg(s,"_",r,!0)):Xg(t,s)}else t&&Jg(e,t)},lb=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=Le;if(s.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Zg(r,t,n):(o=!t.$stable,Xg(t,r)),i=t}else t&&(Jg(e,t),i={default:1});if(o)for(const a in r)!qg(a)&&i[a]==null&&delete r[a]},at=am;function ub(e){return em(e)}function fb(e){return em(e,xv)}function em(e,t){const n=ea();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:a,createComment:c,setText:u,setElementText:l,parentNode:f,nextSibling:d,setScopeId:h=vn,insertStaticContent:g}=e,m=(I,L,k,B=null,$=null,H=null,z=void 0,b=null,T=!!L.dynamicChildren)=>{if(I===L)return;I&&!on(I,L)&&(B=U(I),qe(I,$,H,!0),I=null),L.patchFlag===-2&&(T=!1,L.dynamicChildren=null);const{type:P,ref:V,shapeFlag:K}=L;switch(P){case ds:A(I,L,k,B);break;case Ze:C(I,L,k,B);break;case to:I==null&&O(L,k,B,z);break;case Je:M(I,L,k,B,$,H,z,b,T);break;default:K&1?y(I,L,k,B,$,H,z,b,T):K&6?Y(I,L,k,B,$,H,z,b,T):(K&64||K&128)&&P.process(I,L,k,B,$,H,z,b,T,ne)}V!=null&&$&&Si(V,I&&I.ref,H,L||I,!L)},A=(I,L,k,B)=>{if(I==null)s(L.el=a(L.children),k,B);else{const $=L.el=I.el;L.children!==I.children&&u($,L.children)}},C=(I,L,k,B)=>{I==null?s(L.el=c(L.children||""),k,B):L.el=I.el},O=(I,L,k,B)=>{[I.el,I.anchor]=g(I.children,L,k,B,I.el,I.anchor)},p=({el:I,anchor:L},k,B)=>{let $;for(;I&&I!==L;)$=d(I),s(I,k,B),I=$;s(L,k,B)},E=({el:I,anchor:L})=>{let k;for(;I&&I!==L;)k=d(I),r(I),I=k;r(L)},y=(I,L,k,B,$,H,z,b,T)=>{L.type==="svg"?z="svg":L.type==="math"&&(z="mathml"),I==null?v(L,k,B,$,H,z,b,T):S(I,L,$,H,z,b,T)},v=(I,L,k,B,$,H,z,b)=>{let T,P;const{props:V,shapeFlag:K,transition:j,dirs:D}=I;if(T=I.el=i(I.type,H,V&&V.is,V),K&8?l(T,I.children):K&16&&N(I.children,T,null,B,$,$a(I,H),z,b),D&&_n(I,null,B,"created"),R(T,I,I.scopeId,z,B),V){for(const oe in V)oe!=="value"&&!hr(oe)&&o(T,oe,null,V[oe],H,B);"value"in V&&o(T,"value",null,V.value,H),(P=V.onVnodeBeforeMount)&&Mt(P,B,I)}D&&_n(I,null,B,"beforeMount");const x=tm($,j);x&&j.beforeEnter(T),s(T,L,k),((P=V&&V.onVnodeMounted)||x||D)&&at(()=>{P&&Mt(P,B,I),x&&j.enter(T),D&&_n(I,null,B,"mounted")},$)},R=(I,L,k,B,$)=>{if(k&&h(I,k),B)for(let H=0;H<B.length;H++)h(I,B[H]);if($){let H=$.subTree;if(L===H||Ci(H.type)&&(H.ssContent===L||H.ssFallback===L)){const z=$.vnode;R(I,z,z.scopeId,z.slotScopeIds,$.parent)}}},N=(I,L,k,B,$,H,z,b,T=0)=>{for(let P=T;P<I.length;P++){const V=I[P]=b?ss(I[P]):Ft(I[P]);m(null,V,L,k,B,$,H,z,b)}},S=(I,L,k,B,$,H,z)=>{const b=L.el=I.el;let{patchFlag:T,dynamicChildren:P,dirs:V}=L;T|=I.patchFlag&16;const K=I.props||Le,j=L.props||Le;let D;if(k&&Ss(k,!1),(D=j.onVnodeBeforeUpdate)&&Mt(D,k,L,I),V&&_n(L,I,k,"beforeUpdate"),k&&Ss(k,!0),(K.innerHTML&&j.innerHTML==null||K.textContent&&j.textContent==null)&&l(b,""),P?w(I.dynamicChildren,P,b,k,B,$a(L,$),H):z||se(I,L,b,null,k,B,$a(L,$),H,!1),T>0){if(T&16)F(b,K,j,k,$);else if(T&2&&K.class!==j.class&&o(b,"class",null,j.class,$),T&4&&o(b,"style",K.style,j.style,$),T&8){const x=L.dynamicProps;for(let oe=0;oe<x.length;oe++){const ae=x[oe],je=K[ae],Ke=j[ae];(Ke!==je||ae==="value")&&o(b,ae,je,Ke,$,k)}}T&1&&I.children!==L.children&&l(b,L.children)}else!z&&P==null&&F(b,K,j,k,$);((D=j.onVnodeUpdated)||V)&&at(()=>{D&&Mt(D,k,L,I),V&&_n(L,I,k,"updated")},B)},w=(I,L,k,B,$,H,z)=>{for(let b=0;b<L.length;b++){const T=I[b],P=L[b],V=T.el&&(T.type===Je||!on(T,P)||T.shapeFlag&70)?f(T.el):k;m(T,P,V,null,B,$,H,z,!0)}},F=(I,L,k,B,$)=>{if(L!==k){if(L!==Le)for(const H in L)!hr(H)&&!(H in k)&&o(I,H,L[H],null,$,B);for(const H in k){if(hr(H))continue;const z=k[H],b=L[H];z!==b&&H!=="value"&&o(I,H,b,z,$,B)}"value"in k&&o(I,"value",L.value,k.value,$)}},M=(I,L,k,B,$,H,z,b,T)=>{const P=L.el=I?I.el:a(""),V=L.anchor=I?I.anchor:a("");let{patchFlag:K,dynamicChildren:j,slotScopeIds:D}=L;D&&(b=b?b.concat(D):D),I==null?(s(P,k,B),s(V,k,B),N(L.children||[],k,V,$,H,z,b,T)):K>0&&K&64&&j&&I.dynamicChildren?(w(I.dynamicChildren,j,k,$,H,z,b),(L.key!=null||$&&L===$.subTree)&&nm(I,L,!0)):se(I,L,k,V,$,H,z,b,T)},Y=(I,L,k,B,$,H,z,b,T)=>{L.slotScopeIds=b,I==null?L.shapeFlag&512?$.ctx.activate(L,k,B,z,T):ue(L,k,B,$,H,z,T):me(I,L,T)},ue=(I,L,k,B,$,H,z)=>{const b=I.component=Pb(I,B,$);if(Po(I)&&(b.ctx.renderer=ne),wb(b,!1,z),b.asyncDep){if($&&$.registerDep(b,X,z),!I.el){const T=b.subTree=De(Ze);C(null,T,L,k)}}else X(b,I,L,k,$,H,z)},me=(I,L,k)=>{const B=L.component=I.component;
vendor: 13,299 bytes, line 15
15if(bb(I,L,k))if(B.asyncDep&&!B.asyncResolved){re(B,L,k);return}else B.next=L,B.update();else L.el=I.el,B.vnode=L},X=(I,L,k,B,$,H,z)=>{const b=()=>{if(I.isMounted){let{next:K,bu:j,u:D,parent:x,vnode:oe}=I;{const vt=sm(I);if(vt){K&&(K.el=oe.el,re(I,K,z)),vt.asyncDep.then(()=>{I.isUnmounted||b()});return}}let ae=K,je;Ss(I,!1),K?(K.el=oe.el,re(I,K,z)):K=oe,j&&pr(j),(je=K.props&&K.props.onVnodeBeforeUpdate)&&Mt(je,x,K,oe),Ss(I,!0);const Ke=Ua(I),st=I.subTree;I.subTree=Ke,m(st,Ke,f(st.el),U(st),I,$,H),K.el=Ke.el,ae===null&&tu(I,Ke.el),D&&at(D,$),(je=K.props&&K.props.onVnodeUpdated)&&at(()=>Mt(je,x,K,oe),$)}else{let K;const{el:j,props:D}=L,{bm:x,m:oe,parent:ae,root:je,type:Ke}=I,st=fs(L);if(Ss(I,!1),x&&pr(x),!st&&(K=D&&D.onVnodeBeforeMount)&&Mt(K,ae,L),Ss(I,!0),j&&Oe){const vt=()=>{I.subTree=Ua(I),Oe(j,I.subTree,I,$,null)};st&&Ke.__asyncHydrate?Ke.__asyncHydrate(j,I,vt):vt()}else{je.ce&&je.ce._injectChildStyle(Ke);const vt=I.subTree=Ua(I);m(null,vt,k,B,I,$,H),L.el=vt.el}if(oe&&at(oe,$),!st&&(K=D&&D.onVnodeMounted)){const vt=L;at(()=>Mt(K,ae,vt),$)}(L.shapeFlag&256||ae&&fs(ae.vnode)&&ae.vnode.shapeFlag&256)&&I.a&&at(I.a,$),I.isMounted=!0,L=k=B=null}};I.scope.on();const T=I.effect=new lg(b);I.scope.off();const P=I.update=T.run.bind(T),V=I.job=T.runIfDirty.bind(T);V.i=I,V.id=I.uid,T.scheduler=()=>Gl(V),Ss(I,!0),P()},re=(I,L,k)=>{L.component=I;const B=I.vnode.props;I.vnode=L,I.next=null,ob(I,L.props,B,k),lb(I,L.children,k),ys(),Wu(I),Es()},se=(I,L,k,B,$,H,z,b,T=!1)=>{const P=I&&I.children,V=I?I.shapeFlag:0,K=L.children,{patchFlag:j,shapeFlag:D}=L;if(j>0){if(j&128){Bt(P,K,k,B,$,H,z,b,T);return}else if(j&256){Be(P,K,k,B,$,H,z,b,T);return}}D&8?(V&16&&ft(P,$,H),K!==P&&l(k,K)):V&16?D&16?Bt(P,K,k,B,$,H,z,b,T):ft(P,$,H,!0):(V&8&&l(k,""),D&16&&N(K,k,B,$,H,z,b,T))},Be=(I,L,k,B,$,H,z,b,T)=>{I=I||fr,L=L||fr;const P=I.length,V=L.length,K=Math.min(P,V);let j;for(j=0;j<K;j++){const D=L[j]=T?ss(L[j]):Ft(L[j]);m(I[j],D,k,null,$,H,z,b,T)}P>V?ft(I,$,H,!0,!1,K):N(L,k,B,$,H,z,b,T,K)},Bt=(I,L,k,B,$,H,z,b,T)=>{let P=0;const V=L.length;let K=I.length-1,j=V-1;for(;P<=K&&P<=j;){const D=I[P],x=L[P]=T?ss(L[P]):Ft(L[P]);if(on(D,x))m(D,x,k,null,$,H,z,b,T);else break;P++}for(;P<=K&&P<=j;){const D=I[K],x=L[j]=T?ss(L[j]):Ft(L[j]);if(on(D,x))m(D,x,k,null,$,H,z,b,T);else break;K--,j--}if(P>K){if(P<=j){const D=j+1,x=D<V?L[D].el:B;for(;P<=j;)m(null,L[P]=T?ss(L[P]):Ft(L[P]),k,x,$,H,z,b,T),P++}}else if(P>j)for(;P<=K;)qe(I[P],$,H,!0),P++;else{const D=P,x=P,oe=new Map;for(P=x;P<=j;P++){const Ut=L[P]=T?ss(L[P]):Ft(L[P]);Ut.key!=null&&oe.set(Ut.key,P)}let ae,je=0;const Ke=j-x+1;let st=!1,vt=0;const Ws=new Array(Ke);for(P=0;P<Ke;P++)Ws[P]=0;for(P=D;P<=K;P++){const Ut=I[P];if(je>=Ke){qe(Ut,$,H,!0);continue}let pn;if(Ut.key!=null)pn=oe.get(Ut.key);else for(ae=x;ae<=j;ae++)if(Ws[ae-x]===0&&on(Ut,L[ae])){pn=ae;break}pn===void 0?qe(Ut,$,H,!0):(Ws[pn-x]=P+1,pn>=vt?vt=pn:st=!0,m(Ut,L[pn],k,null,$,H,z,b,T),je++)}const Vu=st?db(Ws):fr;for(ae=Vu.length-1,P=Ke-1;P>=0;P--){const Ut=x+P,pn=L[Ut],Hu=Ut+1<V?L[Ut+1].el:B;Ws[P]===0?m(null,pn,k,Hu,$,H,z,b,T):st&&(ae<0||P!==Vu[ae]?Qe(pn,k,Hu,2):ae--)}}},Qe=(I,L,k,B,$=null)=>{const{el:H,type:z,transition:b,children:T,shapeFlag:P}=I;if(P&6){Qe(I.component.subTree,L,k,B);return}if(P&128){I.suspense.move(L,k,B);return}if(P&64){z.move(I,L,k,ne);return}if(z===Je){s(H,L,k);for(let K=0;K<T.length;K++)Qe(T[K],L,k,B);s(I.anchor,L,k);return}if(z===to){p(I,L,k);return}if(B!==2&&P&1&&b)if(B===0)b.beforeEnter(H),s(H,L,k),at(()=>b.enter(H),$);else{const{leave:K,delayLeave:j,afterLeave:D}=b,x=()=>s(H,L,k),oe=()=>{K(H,()=>{x(),D&&D()})};j?j(H,x,oe):oe()}else s(H,L,k)},qe=(I,L,k,B=!1,$=!1)=>{const{type:H,props:z,ref:b,children:T,dynamicChildren:P,shapeFlag:V,patchFlag:K,dirs:j,cacheIndex:D}=I;if(K===-2&&($=!1),b!=null&&Si(b,null,k,I,!0),D!=null&&(L.renderCache[D]=void 0),V&256){L.ctx.deactivate(I);return}const x=V&1&&j,oe=!fs(I);let ae;if(oe&&(ae=z&&z.onVnodeBeforeUnmount)&&Mt(ae,L,I),V&6)qn(I.component,k,B);else{if(V&128){I.suspense.unmount(k,B);return}x&&_n(I,null,L,"beforeUnmount"),V&64?I.type.remove(I,L,k,ne,B):P&&!P.hasOnce&&(H!==Je||K>0&&K&64)?ft(P,L,k,!1,!0):(H===Je&&K&384||!$&&V&16)&&ft(T,L,k),B&&hn(I)}(oe&&(ae=z&&z.onVnodeUnmounted)||x)&&at(()=>{ae&&Mt(ae,L,I),x&&_n(I,null,L,"unmounted")},k)},hn=I=>{const{type:L,el:k,anchor:B,transition:$}=I;if(L===Je){Jt(k,B);return}if(L===to){E(I);return}const H=()=>{r(k),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(I.shapeFlag&1&&$&&!$.persisted){const{leave:z,delayLeave:b}=$,T=()=>z(k,H);b?b(I.el,H,T):T()}else H()},Jt=(I,L)=>{let k;for(;I!==L;)k=d(I),r(I),I=k;r(L)},qn=(I,L,k)=>{const{bum:B,scope:$,job:H,subTree:z,um:b,m:T,a:P}=I;Ri(T),Ri(P),B&&pr(B),$.stop(),H&&(H.flags|=8,qe(z,I,L,k)),b&&at(b,L),at(()=>{I.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&I.asyncDep&&!I.asyncResolved&&I.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},ft=(I,L,k,B=!1,$=!1,H=0)=>{for(let z=H;z<I.length;z++)qe(I[z],L,k,B,$)},U=I=>{if(I.shapeFlag&6)return U(I.component.subTree);if(I.shapeFlag&128)return I.suspense.next();const L=d(I.anchor||I.el),k=L&&L[Pv];return k?d(k):L};let Z=!1;const Q=(I,L,k)=>{I==null?L._vnode&&qe(L._vnode,null,null,!0):m(L._vnode||null,I,L,null,null,null,k),L._vnode=I,Z||(Z=!0,Wu(),Ai(),Z=!1)},ne={p:m,um:qe,m:Qe,r:hn,mt:ue,mc:N,pc:se,pbc:w,n:U,o:e};let ye,Oe;return t&&([ye,Oe]=t(ne)),{render:Q,hydrate:ye,createApp:sb(Q,ye)}}function $a({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ss({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function tm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function nm(e,t,n=!1){const s=e.children,r=t.children;if(ie(s)&&ie(r))for(let o=0;o<s.length;o++){const i=s[o];let a=r[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[o]=ss(r[o]),a.el=i.el),!n&&a.patchFlag!==-2&&nm(i,a)),a.type===ds&&(a.el=i.el)}}function db(e){const t=e.slice(),n=[0];let s,r,o,i,a;const c=e.length;for(s=0;s<c;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<u?o=a+1:i=a;u<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function sm(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:sm(t)}function Ri(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const hb=Symbol.for("v-scx"),pb=()=>ut(hb);function IB(e,t){return eu(e,null,t)}function Ot(e,t,n){return eu(e,t,n)}function eu(e,t,n=Le){const{immediate:s,deep:r,flush:o,once:i}=n,a=ze({},n),c=t&&s||!t&&o!=="post";let u;if(Ar){if(o==="sync"){const h=pb();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!c){const h=()=>{};return h.stop=vn,h.resume=vn,h.pause=vn,h}}const l=et;a.call=(h,g,m)=>ln(h,l,g,m);let f=!1;o==="post"?a.scheduler=h=>{at(h,l&&l.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(h,g)=>{g?h():Gl(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,l&&(h.id=l.uid,h.i=l))};const d=Ov(e,t,a);return Ar&&(u?u.push(d):c&&d()),d}function gb(e,t,n){const s=this.proxy,r=Fe(e)?e.includes(".")?rm(s,e):()=>s[e]:e.bind(s,s);let o;ce(t)?o=t:(o=t.handler,n=t);const i=Gs(this),a=eu(r,o.bind(s),n);return i(),a}function rm(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const mb=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Qt(t)}Modifiers`]||e[`${_s(t)}Modifiers`];function _b(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Le;let r=n;const o=t.startsWith("update:"),i=o&&mb(s,t.slice(7));i&&(i.trim&&(r=n.map(l=>Fe(l)?l.trim():l)),i.number&&(r=n.map(fc)));let a,c=s[a=Oa(t)]||s[a=Oa(Qt(t))];!c&&o&&(c=s[a=Oa(_s(t))]),c&&ln(c,e,6,r);const u=s[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ln(u,e,6,r)}}function om(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},a=!1;if(!ce(e)){const c=u=>{const l=om(u,t,!0);l&&(a=!0,ze(i,l))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(ke(e)&&s.set(e,null),null):(ie(o)?o.forEach(c=>i[c]=null):ze(i,o),ke(e)&&s.set(e,i),i)}function aa(e,t){return!e||!Ro(t)?!1:(t=t.slice(2).replace(/Once$/,""),Se(e,t[0].toLowerCase()+t.slice(1))||Se(e,_s(t))||Se(e,t))}function Ua(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:a,emit:c,render:u,renderCache:l,props:f,data:d,setupState:h,ctx:g,inheritAttrs:m}=e,A=Ti(e);let C,O;try{if(n.shapeFlag&4){const E=r||s,y=E;C=Ft(u.call(y,E,l,f,h,d,g)),O=a}else{const E=t;C=Ft(E.length>1?E(f,{attrs:a,slots:i,emit:c}):E(f,null)),O=t.props?a:Eb(a)}}catch(E){no.length=0,Mr(E,e,1),C=De(Ze)}let p=C;if(O&&m!==!1){const E=Object.keys(O),{shapeFlag:y}=p;E.length&&y&7&&(o&&E.some(wl)&&(O=vb(O,o)),p=Kn(p,O,!1,!0))}return n.dirs&&(p=Kn(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&gs(p,n.transition),C=p,Ti(A),C}function yb(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(js(r)){if(r.type!==Ze||r.children==="v-if"){if(n)return;n=r}}else return}return n}const Eb=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ro(n))&&((t||(t={}))[n]=e[n]);return t},vb=(e,t)=>{const n={};for(const s in e)(!wl(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function bb(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:a,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?nf(s,i,u):!!i;if(c&8){const l=t.dynamicProps;for(let f=0;f<l.length;f++){const d=l[f];if(i[d]!==s[d]&&!aa(u,d))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?nf(s,i,u):!0:!!i;return!1}function nf(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!aa(n,o))return!0}return!1}function tu({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ci=e=>e.__isSuspense;let bc=0;const Ab={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,i,a,c,u){if(e==null)Tb(t,n,s,r,o,i,a,c,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Sb(e,t,n,s,r,i,a,c,u)}},hydrate:Ib,normalize:Rb},nu=Ab;function mo(e,t){const n=e.props&&e.props[t];ce(n)&&n()}function Tb(e,t,n,s,r,o,i,a,c){const{p:u,o:{createElement:l}}=c,f=l("div"),d=e.suspense=im(e,r,s,t,f,n,o,i,a,c);u(null,d.pendingBranch=e.ssContent,f,null,s,d,o,i),d.deps>0?(mo(e,"onPending"),mo(e,"onFallback"),u(null,e.ssFallback,t,n,s,null,o,i),mr(d,e.ssFallback)):d.resolve(!1,!0)}function Sb(e,t,n,s,r,o,i,a,{p:c,um:u,o:{createElement:l}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:g,pendingBranch:m,isInFallback:A,isHydrating:C}=f;if(m)f.pendingBranch=d,on(d,m)?(c(m,d,f.hiddenContainer,null,r,f,o,i,a),f.deps<=0?f.resolve():A&&(C||(c(g,h,n,s,r,null,o,i,a),mr(f,h)))):(f.pendingId=bc++,C?(f.isHydrating=!1,f.activeBranch=m):u(m,r,f),f.deps=0,f.effects.length=0,f.hiddenContainer=l("div"),A?(c(null,d,f.hiddenContainer,null,r,f,o,i,a),f.deps<=0?f.resolve():(c(g,h,n,s,r,null,o,i,a),mr(f,h))):g&&on(d,g)?(c(g,d,n,s,r,f,o,i,a),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,r,f,o,i,a),f.deps<=0&&f.resolve()));else if(g&&on(d,g))c(g,d,n,s,r,f,o,i,a),mr(f,d);else if(mo(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=bc++,c(null,d,f.hiddenContainer,null,r,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:O,pendingId:p}=f;O>0?setTimeout(()=>{f.pendingId===p&&f.fallback(h)},O):O===0&&f.fallback(h)}}function im(e,t,n,s,r,o,i,a,c,u,l=!1){const{p:f,m:d,um:h,n:g,o:{parentNode:m,remove:A}}=u;let C;const O=Cb(e);O&&t&&t.pendingBranch&&(C=t.pendingId,t.deps++);const p=e.props?rg(e.props.timeout):void 0,E=o,y={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:r,deps:0,pendingId:bc++,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!l,isHydrating:l,isUnmounted:!1,effects:[],resolve(v=!1,R=!1){const{vnode:N,activeBranch:S,pendingBranch:w,pendingId:F,effects:M,parentComponent:Y,container:ue}=y;let me=!1;y.isHydrating?y.isHydrating=!1:v||(me=S&&w.transition&&w.transition.mode==="out-in",me&&(S.transition.afterLeave=()=>{F===y.pendingId&&(d(w,ue,o===E?g(S):o,0),mc(M))}),S&&(m(S.el)===ue&&(o=g(S)),h(S,Y,y,!0)),me||d(w,ue,o,0)),mr(y,w),y.pendingBranch=null,y.isInFallback=!1;let X=y.parent,re=!1;for(;X;){if(X.pendingBranch){X.effects.push(...M),re=!0;break}X=X.parent}!re&&!me&&mc(M),y.effects=[],O&&t&&t.pendingBranch&&C===t.pendingId&&(t.deps--,t.deps===0&&!R&&t.resolve()),mo(N,"onResolve")},fallback(v){if(!y.pendingBranch)return;const{vnode:R,activeBranch:N,parentComponent:S,container:w,namespace:F}=y;mo(R,"onFallback");const M=g(N),Y=()=>{y.isInFallback&&(f(null,v,w,M,S,null,F,a,c),mr(y,v))},ue=v.transition&&v.transition.mode==="out-in";ue&&(N.transition.afterLeave=Y),y.isInFallback=!0,h(N,S,null,!0),ue||Y()},move(v,R,N){y.activeBranch&&d(y.activeBranch,v,R,N),y.container=v},next(){return y.activeBranch&&g(y.activeBranch)},registerDep(v,R,N){const S=!!y.pendingBranch;S&&y.deps++;const w=v.vnode.el;
vendor: 5,743 bytes, line 15
15v.asyncDep.catch(F=>{Mr(F,v,0)}).then(F=>{if(v.isUnmounted||y.isUnmounted||y.pendingId!==v.suspenseId)return;v.asyncResolved=!0;const{vnode:M}=v;Sc(v,F,!1),w&&(M.el=w);const Y=!w&&v.subTree.el;R(v,M,m(w||v.subTree.el),w?null:g(v.subTree),y,i,N),Y&&A(Y),tu(v,M.el),S&&--y.deps===0&&y.resolve()})},unmount(v,R){y.isUnmounted=!0,y.activeBranch&&h(y.activeBranch,n,v,R),y.pendingBranch&&h(y.pendingBranch,n,v,R)}};return y}function Ib(e,t,n,s,r,o,i,a,c){const u=t.suspense=im(t,s,n,e.parentNode,document.createElement("div"),null,r,o,i,a,!0),l=c(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(!1,!0),l}function Rb(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=sf(s?n.default:n),e.ssFallback=s?sf(n.fallback):De(Ze)}function sf(e){let t;if(ce(e)){const n=br&&e._c;n&&(e._d=!1,jt()),e=e(),n&&(e._d=!0,t=$t,cm())}return ie(e)&&(e=yb(e)),e=Ft(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function am(e,t){t&&t.pendingBranch?ie(e)?t.effects.push(...e):t.effects.push(e):mc(e)}function mr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,tu(s,r))}function Cb(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Je=Symbol.for("v-fgt"),ds=Symbol.for("v-txt"),Ze=Symbol.for("v-cmt"),to=Symbol.for("v-stc"),no=[];let $t=null;function jt(e=!1){no.push($t=e?null:[])}function cm(){no.pop(),$t=no[no.length-1]||null}let br=1;function rf(e){br+=e,e<0&&$t&&($t.hasOnce=!0)}function lm(e){return e.dynamicChildren=br>0?$t||fr:null,cm(),br>0&&$t&&$t.push(e),e}function um(e,t,n,s,r,o){return lm(dm(e,t,n,s,r,o,!0))}function Bn(e,t,n,s,r){return lm(De(e,t,n,s,r,!0))}function js(e){return e?e.__v_isVNode===!0:!1}function on(e,t){return e.type===t.type&&e.key===t.key}const fm=({key:e})=>e??null,ri=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Fe(e)||Ne(e)||ce(e)?{i:nt,r:e,k:t,f:!!n}:e:null);function dm(e,t=null,n=null,s=0,r=null,o=e===Je?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fm(t),ref:t&&ri(t),scopeId:Ng,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:nt};return a?(su(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Fe(n)?8:16),br>0&&!i&&$t&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&$t.push(c),c}const De=Ob;function Ob(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Bg)&&(e=Ze),js(e)){const a=Kn(e,t,!0);return n&&su(a,n),br>0&&!o&&$t&&(a.shapeFlag&6?$t[$t.indexOf(e)]=a:$t.push(a)),a.patchFlag=-2,a}if(xb(e)&&(e=e.__vccOpts),t){t=hm(t);let{class:a,style:c}=t;a&&!Fe(a)&&(t.class=na(a)),ke(c)&&(Vl(c)&&!ie(c)&&(c=ze({},c)),t.style=ta(c))}const i=Fe(e)?1:Ci(e)?128:Pg(e)?64:ke(e)?4:ce(e)?2:0;return dm(e,t,n,s,r,i,o,!0)}function hm(e){return e?Vl(e)||Yg(e)?ze({},e):e:null}function Kn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:a,transition:c}=e,u=t?gm(r||{},t):r,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&fm(u),ref:t&&t.ref?n&&o?ie(o)?o.concat(ri(t)):[o,ri(t)]:ri(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Je?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kn(e.ssContent),ssFallback:e.ssFallback&&Kn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&gs(l,c.clone(l)),l}function pm(e=" ",t=0){return De(ds,null,e,t)}function RB(e,t){const n=De(to,null,e);return n.staticCount=t,n}function CB(e="",t=!1){return t?(jt(),Bn(Ze,null,e)):De(Ze,null,e)}function Ft(e){return e==null||typeof e=="boolean"?De(Ze):ie(e)?De(Je,null,e.slice()):js(e)?ss(e):De(ds,null,String(e))}function ss(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kn(e)}function su(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ie(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),su(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Yg(t)?t._ctx=nt:r===3&&nt&&(nt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ce(t)?(t={default:t,_ctx:nt},n=32):(t=String(t),s&64?(n=16,t=[pm(t)]):n=8);e.children=t,e.shapeFlag|=n}function gm(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=na([t.class,s.class]));else if(r==="style")t.style=ta([t.style,s.style]);else if(Ro(r)){const o=t[r],i=s[r];i&&o!==i&&!(ie(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function Mt(e,t,n,s=null){ln(e,t,7,[n,s])}const Lb=Gg();let Nb=0;function Pb(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Lb,o={uid:Nb++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new cg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Qg(s,r),emitsOptions:om(s,r),emit:null,emitted:null,propsDefaults:Le,inheritAttrs:s.inheritAttrs,ctx:Le,data:Le,props:Le,attrs:Le,slots:Le,refs:Le,setupState:Le,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,
vendor: 2,263 bytes, lines 15-18
15sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=_b.bind(null,o),e.ce&&e.ce(o),o}let et=null;const zn=()=>et||nt;let Oi,Ac;{const e=ea(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Oi=t("__VUE_INSTANCE_SETTERS__",n=>et=n),Ac=t("__VUE_SSR_SETTERS__",n=>Ar=n)}const Gs=e=>{const t=et;return Oi(e),e.scope.on(),()=>{e.scope.off(),Oi(t)}},Tc=()=>{et&&et.scope.off(),Oi(null)};function mm(e){return e.vnode.shapeFlag&4}let Ar=!1;function wb(e,t=!1,n=!1){t&&Ac(t);const{props:s,children:r}=e.vnode,o=mm(e);rb(e,s,o,t),cb(e,r,n);const i=o?Db(e,t):void 0;return t&&Ac(!1),i}function Db(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,qv);const{setup:s}=n;if(s){ys();const r=e.setupContext=s.length>1?Mb(e):null,o=Gs(e),i=No(s,e,0,[e.props,r]),a=kl(i);if(Es(),o(),(a||e.sp)&&!fs(e)&&Yl(e),a){if(i.then(Tc,Tc),t)return i.then(c=>{Sc(e,c,t)}).catch(c=>{Mr(c,e,0)});e.asyncDep=i}else Sc(e,i,t)}else _m(e,t)}function Sc(e,t,n){ce(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=Ig(t)),_m(e,n)}let of;function _m(e,t,n){const s=e.type;if(!e.render){if(!t&&of&&!s.render){const r=s.template||Xl(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=s,u=ze(ze({isCustomElement:o,delimiters:a},i),c);s.render=of(r,u)}}e.render=s.render||vn}{const r=Gs(e);ys();try{Xv(e)}finally{Es(),r()}}}const kb={get(e,t){return mt(e,"get",""),e[t]}};function Mb(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,kb),slots:e.slots,emit:e.emit,expose:t}}function ca(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ig(Hl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in eo)return eo[n](e)},has(t,n){return n in t||n in eo}})):e.proxy}function Ic(e,t=!0){return ce(e)?e.displayName||e.name:e.name||t&&e.__name}function xb(e){return ce(e)&&"__vccOpts"in e}const we=(e,t)=>Rv(e,t,Ar);function yt(e,t,n){const s=arguments.length;return s===2?ke(t)&&!ie(t)?js(t)?De(e,null,[t]):De(e,t):De(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&js(n)&&(n=[n]),De(e,t,n))}const ym="3.5.12";/**
16* @vue/runtime-dom v3.5.12
17* (c) 2018-present Yuxi (Evan) You and Vue contributors
18* @license MIT
19**/let Rc;const af=typeof window<"u"&&window.trustedTypes;if(af)try{Rc=af.createPolicy("vue",{createHTML:e=>e})}catch{}const Em=Rc?e=>Rc.createHTML(e):e=>e,$b="http://www.w3.org/2000/svg",Ub="http://www.w3.org/1998/Math/MathML",Mn=typeof document<"u"?document:null,cf=Mn&&Mn.createElement("template"),Fb={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Mn.createElementNS($b,e):t==="mathml"?Mn.createElementNS(Ub,e):n?Mn.createElement(e,{is:n}):Mn.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Mn.createTextNode(e),createComment:e=>Mn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{cf.innerHTML=Em(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=cf.content;if(s==="svg"||s==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Xn="transition",Vr="animation",Tr=Symbol("_vtc"),vm={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},bm=ze({},Dg,vm),Bb=e=>(e.displayName="Transition",e.props=bm,e),Am=Bb((e,{slots:t})=>yt(Dv,Tm(e),t)),Is=(e,t=[])=>{ie(e)?e.forEach(n=>n(...t)):e&&e(...t)},lf=e=>e?ie(e)?e.some(t=>t.length>1):e.length>1:!1;function Tm(e){const t={};for(const M in e)M in vm||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=i,appearToClass:l=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=Vb(r),m=g&&g[0],A=g&&g[1],{onBeforeEnter:C,onEnter:O,onEnterCancelled:p,onLeave:E,onLeaveCancelled:y,onBeforeAppear:v=C,onAppear:R=O,onAppearCancelled:N=p}=t,S=(M,Y,ue)=>{Zn(M,Y?l:a),Zn(M,Y?u:i),ue&&ue()},w=(M,Y)=>{M._isLeaving=!1,Zn(M,f),Zn(M,h),Zn(M,d),Y&&Y()},F=M=>(Y,ue)=>{const me=M?R:O,X=()=>S(Y,M,ue);Is(me,[Y,X]),uf(()=>{Zn(Y,M?c:o),kn(Y,M?l:a),lf(me)||ff(Y,s,m,X)})};return ze(t,{onBeforeEnter(M){Is(C,[M]),kn(M,o),kn(M,i)},onBeforeAppear(M){Is(v,[M]),kn(M,c),kn(M,u)},onEnter:F(!1),onAppear:F(!0),onLeave(M,Y){M._isLeaving=!0;const ue=()=>w(M,Y);kn(M,f),kn(M,d),Im(),uf(()=>{M._isLeaving&&(Zn(M,f),kn(M,h),lf(E)||ff(M,s,A,ue))}),Is(E,[M,ue])},onEnterCancelled(M){S(M,!1),Is(p,[M])},onAppearCancelled(M){S(M,!0),Is(N,[M])},onLeaveCancelled(M){w(M),Is(y,[M])}})}function Vb(e){if(e==null)return null;if(ke(e))return[Fa(e.enter),Fa(e.leave)];{const t=Fa(e);return[t,t]}}function Fa(e){return rg(e)}function kn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Tr]||(e[Tr]=new Set)).add(t)}function Zn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Tr];n&&(n.delete(t),n.size||(e[Tr]=void 0))}function uf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Hb=0;function ff(e,t,n,s){const r=e._endId=++Hb,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:c}=Sm(e,t);if(!i)return s();const u=i+"end";let l=0;const f=()=>{e.removeEventListener(u,d),o()},d=h=>{h.target===e&&++l>=c&&f()};setTimeout(()=>{l<c&&f()},a+1),e.addEventListener(u,d)}function Sm(e,t){const n=window.getComputedStyle(e),s=g=>(n[g]||"").split(", "),r=s(`${Xn}Delay`),o=s(`${Xn}Duration`),i=df(r,o),a=s(`${Vr}Delay`),c=s(`${Vr}Duration`),u=df(a,c);let l=null,f=0,d=0;t===Xn?i>0&&(l=Xn,f=i,d=o.length):t===Vr?u>0&&(l=Vr,f=u,d=c.length):(f=Math.max(i,u),l=f>
vendor: 5,933 bytes, line 19
190?i>u?Xn:Vr:null,d=l?l===Xn?o.length:c.length:0);const h=l===Xn&&/\b(transform|all)(,|$)/.test(s(`${Xn}Property`).toString());return{type:l,timeout:f,propCount:d,hasTransform:h}}function df(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>hf(n)+hf(e[s])))}function hf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Im(){return document.body.offsetHeight}function jb(e,t,n){const s=e[Tr];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Li=Symbol("_vod"),Rm=Symbol("_vsh"),OB={beforeMount(e,{value:t},{transition:n}){e[Li]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Hr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Hr(e,!0),s.enter(e)):s.leave(e,()=>{Hr(e,!1)}):Hr(e,t))},beforeUnmount(e,{value:t}){Hr(e,t)}};function Hr(e,t){e.style.display=t?e[Li]:"none",e[Rm]=!t}const Gb=Symbol(""),Kb=/(^|;)\s*display\s*:/;function Wb(e,t,n){const s=e.style,r=Fe(n);let o=!1;if(n&&!r){if(t)if(Fe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&oi(s,a,"")}else for(const i in t)n[i]==null&&oi(s,i,"");for(const i in n)i==="display"&&(o=!0),oi(s,i,n[i])}else if(r){if(t!==n){const i=s[Gb];i&&(n+=";"+i),s.cssText=n,o=Kb.test(n)}}else t&&e.removeAttribute("style");Li in e&&(e[Li]=o?s.display:"",e[Rm]&&(s.display="none"))}const pf=/\s*!important$/;function oi(e,t,n){if(ie(n))n.forEach(s=>oi(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Yb(e,t);pf.test(n)?e.setProperty(_s(s),n.replace(pf,""),"important"):e[s]=n}}const gf=["Webkit","Moz","ms"],Ba={};function Yb(e,t){const n=Ba[t];if(n)return n;let s=Qt(t);if(s!=="filter"&&s in e)return Ba[t]=s;s=Zi(s);for(let r=0;r<gf.length;r++){const o=gf[r]+s;if(o in e)return Ba[t]=o}return t}const mf="http://www.w3.org/1999/xlink";function _f(e,t,n,s,r,o=XE(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(mf,t.slice(6,t.length)):e.setAttributeNS(mf,t,n):n==null||o&&!og(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Wn(n)?String(n):n)}function yf(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Em(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(a!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=og(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function tr(e,t,n,s){e.addEventListener(t,n,s)}function zb(e,t,n,s){e.removeEventListener(t,n,s)}const Ef=Symbol("_vei");function Qb(e,t,n,s,r=null){const o=e[Ef]||(e[Ef]={}),i=o[t];if(s&&i)i.value=s;else{const[a,c]=qb(t);if(s){const u=o[t]=Zb(s,r);tr(e,a,u,c)}else i&&(zb(e,a,i,c),o[t]=void 0)}}const vf=/(?:Once|Passive|Capture)$/;function qb(e){let t;if(vf.test(e)){t={};let s;for(;s=e.match(vf);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):_s(e.slice(2)),t]}let Va=0;const Xb=Promise.resolve(),Jb=()=>Va||(Xb.then(()=>Va=0),Va=Date.now());function Zb(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ln(eA(s,n.value),t,5,[s])};return n.value=e,n.attached=Jb(),n}function eA(e,t){if(ie(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const bf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,tA=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?jb(e,s,i):t==="style"?Wb(e,n,s):Ro(t)?wl(t)||Qb(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):nA(e,t,s,i))?(yf(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&_f(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Fe(s))?yf(e,Qt(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),_f(e,t,s,i))};function nA(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&bf(t)&&ce(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return bf(t)&&Fe(n)?!1:t in e}const Cm=new WeakMap,Om=new WeakMap,Ni=Symbol("_moveCb"),Af=Symbol("_enterCb"),sA=e=>(delete e.props.mode,e),rA=sA({name:"TransitionGroup",props:ze({},bm,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=zn(),s=wg();let r,o;return zl(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!cA(r[0].el,n.vnode.el,i))return;r.forEach(oA),r.forEach(iA);const a=r.filter(aA);Im(),a.forEach(c=>{const u=c.el,l=u.style;kn(u,i),l.transform=l.webkitTransform=l.transitionDuration="";const f=u[Ni]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",f),u[Ni]=null,Zn(u,i))};u.addEventListener("transitionend",f)})}),()=>{const i=_e(e),a=Tm(i);let c=i.tag||Je;if(r=[],o)for(let u=0;u<o.length;u++){const l=o[u];l.el&&l.el instanceof Element&&(r.push(l),gs(l,go(l,a,s,n)),Cm.set(l,l.el.getBoundingClientRect()))}o=t.default?Wl(t.default()):[];for(let u=0;u<o.length;u++){const l=o[u];l.key!=null&&gs(l,go(l,a,s,n))}return De(c,null,o)}}}),LB=rA;function oA(e){const t=e.el;t[Ni]&&t[Ni](),t[Af]&&t[Af]()}function iA(e){Om.set(e,e.el.getBoundingClientRect())}function aA(e){const t=Cm.get(e),n=Om.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function cA(e,t,n){const s=e.cloneNode(),r=e[Tr];r&&r.forEach(a=>
19{a.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(a=>a&&s.classList.add(a)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=Sm(s);return o.removeChild(s),i}const Tf=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ie(t)?n=>pr(t,n):t};function lA(e){e.target.composing=!0}function Sf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ha=Symbol("_assign"),NB={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ha]=Tf(r);const o=s||r.props&&r.props.type==="number";tr(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=fc(a)),e[Ha](a)}),n&&tr(e,"change",()=>{e.value=e.value.trim()}),t||(tr(e,"compositionstart",lA),tr(e,"compositionend",Sf),tr(e,"change",Sf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Ha]=Tf(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?fc(e.value):e.value,c=t??"";a!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},uA=["ctrl","shift","alt","meta"],fA={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>uA.some(n=>e[`${n}Key`]&&!t.includes(n))},PB=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i<t.length;i++){const a=fA[t[i]];if(a&&a(r,t))return}return e(r,...o)})},dA={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},wB=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=_s(r.key);if(t.some(i=>i===o||dA[i]===o))return e(r)})},Lm=ze({patchProp:tA},Fb);let so,If=!1;function hA(){return so||(so=ub(Lm))}function pA(){return so=If?so:fb(Lm),If=!0,so}const gA=(...e)=>{const t=hA().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Pm(s);if(!r)return;const o=t._component;!ce(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Nm(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},mA=(...e)=>{const t=pA().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Pm(s);if(r)return n(r,!0,Nm(r))},t};function Nm(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Pm(e){return Fe(e)?document.querySelector(e):e}const _A=/"(?:_|\\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*:/,yA=/"(?: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*:/,EA=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function vA(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){bA(e);return}return t}function bA(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function _o(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const s=n.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s==="undefined")return;if(s==="null")return null;if(s==="nan")return Number.NaN;if(s==="infinity")return Number.POSITIVE_INFINITY;if(s==="-infinity")return Number.NEGATIVE_INFINITY}if(!EA.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(_A.test(e)||yA.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,vA)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const AA=/#/g,TA=/&/g,SA=/\//g,IA=/=/g,ru=/\+/g,RA=/%5e/gi,CA=/%60/gi,OA=/%7c/gi,LA=/%20/gi;function NA(e){return encodeURI(""+e).replace(OA,"|")}function Cc(e){return NA(typeof e=="string"?e:JSON.stringify(e)).replace(ru,"%2B").replace(LA,"+").replace(AA,"%23").replace(TA,"%26").replace(CA,"`").replace(RA,"^").replace(SA,"%2F")}function ja(e){return Cc(e).replace(IA,"%3D")}function Pi(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function PA(e){return Pi(e.replace(ru," "))}function wA(e){return Pi(e.replace(ru," "))}function wm(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const r=PA(s[1]);if(r==="__proto__"||r==="constructor")continue;const o=wA(s[2]||"");t[r]===void 0?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]}return t}function DA(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ja(e)}=${Cc(n)}`).join("&"):`${ja(e)}=${Cc(t)}`:ja(e)}function kA(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>
19DA(t,e[t])).filter(Boolean).join("&")}const MA=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,xA=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,$A=/^([/\\]\s*){2,}[^/\\]/,UA=/^[\s\0]*(blob|data|javascript|vbscript):$/i,FA=/\/$|\/\?|\/#/,BA=/^\.?\//;function Rn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?MA.test(e):xA.test(e)||(t.acceptRelative?$A.test(e):!1)}function VA(e){return!!e&&UA.test(e)}function Oc(e="",t){return t?FA.test(e):e.endsWith("/")}function la(e="",t){if(!t)return(Oc(e)?e.slice(0,-1):e)||"/";if(!Oc(e,!0))return e||"/";let n=e,s="";const r=e.indexOf("#");r>=0&&(n=e.slice(0,r),s=e.slice(r));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+s}function wi(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Oc(e,!0))return e||"/";let n=e,s="";const r=e.indexOf("#");if(r>=0&&(n=e.slice(0,r),s=e.slice(r),!n))return s;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+s}function HA(e=""){return e.startsWith("/")}function Rf(e=""){return HA(e)?e:"/"+e}function jA(e,t){if(km(t)||Rn(e))return e;const n=la(t);return e.startsWith(n)?e:xr(n,e)}function Cf(e,t){if(km(t))return e;const n=la(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function Dm(e,t){const n=KA(e),s={...wm(n.search),...t};return n.search=kA(s),WA(n)}function km(e){return!e||e==="/"}function GA(e){return e&&e!=="/"}function xr(e,...t){let n=e||"";for(const s of t.filter(r=>GA(r)))if(n){const r=s.replace(BA,"");n=wi(n)+r}else n=s;return n}function Mm(...e){var i,a,c,u;const t=/\/(?!\/)/,n=e.filter(Boolean),s=[];let r=0;for(const l of n)if(!(!l||l==="/")){for(const[f,d]of l.split(t).entries())if(!(!d||d===".")){if(d===".."){if(s.length===1&&Rn(s[0]))continue;s.pop(),r--;continue}if(f===1&&((i=s[s.length-1])!=null&&i.endsWith(":/"))){s[s.length-1]+="/"+d;continue}s.push(d),r++}}let o=s.join("/");return r>=0?(a=n[0])!=null&&a.startsWith("/")&&!o.startsWith("/")?o="/"+o:(c=n[0])!=null&&c.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*r)+o,(u=n[n.length-1])!=null&&u.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function Lc(e,t,n={}){return n.trailingSlash||(e=wi(e),t=wi(t)),n.leadingSlash||(e=Rf(e),t=Rf(t)),n.encoding||(e=Pi(e),t=Pi(t)),e===t}const xm=Symbol.for("ufo:protocolRelative");function KA(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Rn(e,{acceptRelative:!0}))return Nc(e);const[,s="",r,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];s==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:l}=Nc(a);return{protocol:s.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:i,pathname:c,search:u,hash:l,[xm]:!s}}function Nc(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function WA(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",r=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[xm]?(e.protocol||"")+"//":"")+r+o+t+n+s}class YA extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function zA(e){var c,u,l,f,d;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",s=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",r=`[${n}] ${JSON.stringify(s)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${r}: ${o}${t?` ${t}`:""}`,a=new YA(i,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return e[h]}});for(const[h,g]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return e.response&&e.response[g]}});return a}const QA=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Of(e="GET"){return QA.has(e.toUpperCase())}function qA(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 XA=new Set(["image/svg","application/xml","application/xhtml","application/html"]),JA=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function ZA(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return JA.test(t)?"json":XA.has(t)||t.startsWith("text/")?"text":"blob"}function eT(e,t,n,s){const r=tT((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,s);let o;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(o={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:o,params:o,headers:r}}function tT(e,t,n){if(!t)return new n(e);const s=new n(t);if(e)for(const[r,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))s.set(r,o);return s}async function jo(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const nT=new Set([408,409,425,429,500,502,503,504]),sT=new Set([101,204,205,304]);function $m(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function r(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=Of(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):nT.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),o(a.request,{...a.options,retry:l-1})}}const u=zA(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,o),u}const o=async function(c,u={}){const l={request:c,options:eT(c,u,e.defaults,n),response:void 0,error:void 0};l.options.method&&(l.options.method=l.options.method.toUpperCase()),l.options.onRequest&&await jo(l,l.options.onRequest),typeof l.request=="string"&&(l.options.baseURL&&(l.request=jA(l.request,l.options.baseURL)),l.options.query&&(l.request=Dm(l.request,l.options.query),delete l.options.query),"query"in l.options&&delete l.options.query,"params"in l.options&&delete l.options.params),l.options.body&&Of(l.options.method)&&(qA(l.options.body)?(l.options.body=typeof l.options.body=="str
19ing"?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")));let f;if(!l.options.signal&&l.options.timeout){const h=new s;f=setTimeout(()=>{const g=new Error("[TimeoutError]: The operation was aborted due to timeout");g.name="TimeoutError",g.code=23,h.abort(g)},l.options.timeout),l.options.signal=h.signal}try{l.response=await t(l.request,l.options)}catch(h){return l.error=h,l.options.onRequestError&&await jo(l,l.options.onRequestError),await r(l)}finally{f&&clearTimeout(f)}if((l.response.body||l.response._bodyInit)&&!sT.has(l.response.status)&&l.options.method!=="HEAD"){const h=(l.options.parseResponse?"json":l.options.responseType)||ZA(l.response.headers.get("content-type")||"");switch(h){case"json":{const g=await l.response.text(),m=l.options.parseResponse||_o;l.response._data=m(g);break}case"stream":{l.response._data=l.response.body||l.response._bodyInit;break}default:l.response._data=await l.response[h]()}}return l.options.onResponse&&await jo(l,l.options.onResponse),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await jo(l,l.options.onResponseError),await r(l)):l.response},i=async function(c,u){return(await o(c,u))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},c={})=>$m({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),i}const Di=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")}(),rT=Di.fetch?(...e)=>Di.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),oT=Di.Headers,iT=Di.AbortController,aT=$m({fetch:rT,Headers:oT,AbortController:iT}),cT=aT,lT=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},ki=lT().app,uT=()=>ki.baseURL,fT=()=>ki.buildAssetsDir,ou=(...e)=>Mm(Um(),fT(),...e),Um=(...e)=>{const t=ki.cdnURL||ki.baseURL;return e.length?Mm(t,...e):t};globalThis.__buildAssetsURL=ou,globalThis.__publicAssetsURL=Um;globalThis.$fetch||(globalThis.$fetch=cT.create({baseURL:uT()}));function Pc(e,t={},n){for(const s in e){const r=e[s],o=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?Pc(r,t,o):typeof r=="function"&&(t[o]=r)}return t}const dT={run:e=>e()},hT=()=>dT,Fm=typeof console.createTask<"u"?console.createTask:hT;function pT(e,t){const n=t.shift(),s=Fm(n);return e.reduce((r,o)=>r.then(()=>s.run(()=>o(...t))),Promise.resolve())}function gT(e,t){const n=t.shift(),s=Fm(n);return Promise.all(e.map(r=>s.run(()=>r(...t))))}function Ga(e,t){for(const n of[...e])n(t)}class mT{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,s={}){if(!t||typeof n!="function")return()=>{};const r=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!s.allowDeprecated){let i=o.message;i||(i=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,r=(...o)=>(typeof s=="function"&&s(),s=void 0,r=void 0,n(...o));return s=this.hook(t,r),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const r of s)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Pc(t),s=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of s.splice(0,s.length))r()}}removeHooks(t){const n=Pc(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(pT,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(gT,t,...n)}
19callHookWith(t,n,...s){const r=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Ga(this._before,r);const o=t(n in this._hooks?[...this._hooks[n]]:[],s);return o instanceof Promise?o.finally(()=>{this._after&&r&&Ga(this._after,r)}):(this._after&&r&&Ga(this._after,r),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Bm(){return new mT}function _T(e={}){let t,n=!1;const s=i=>{if(t&&t!==i)throw new Error("Context conflict")};let r;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?r=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(r&&t===void 0){const i=r.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||s(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{s(i),t=i;try{return r?r.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},u=()=>t===i?c:void 0;wc.add(u);try{const l=r?r.run(i,a):a();return n||(t=void 0),await l}finally{wc.delete(u)}}}}function yT(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=_T({...e,...s})),t[n],t[n]}}}const Mi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Lf="__unctx__",ET=Mi[Lf]||(Mi[Lf]=yT()),vT=(e,t={})=>ET.get(e,t),Nf="__unctx_async_handlers__",wc=Mi[Nf]||(Mi[Nf]=new Set);function an(e){const t=[];for(const r of wc){const o=r();o&&t.push(o)}const n=()=>{for(const r of t)r()};let s=e();return s&&typeof s=="object"&&"catch"in s&&(s=s.catch(r=>{throw n(),r})),[s,n]}const bT=!1,Dc=!1,AT=!1,DB={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},kB={value:null,errorValue:null,deep:!0},TT=null,MB={},ST="#__nuxt",Vm="nuxt-app",Pf=36e5,IT="vite:preloadError";function Hm(e=Vm){return vT(e,{asyncContext:!1})}const RT="__nuxt_plugin";function CT(e){var r;let t=0;const n={_id:e.id||Vm||"nuxt-app",_scope:Oo(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.14.0"},get vue(){return n.vueApp.version}},payload:Vn({...((r=e.ssrContext)==null?void 0:r.payload)||{},data:Vn({}),state:In({}),once:new Set,_errors:Vn({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!Lo()?n._scope.run(()=>wf(n,o)):wf(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Vn({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const i in o)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],o[i]);break;default:n.payload[i]=o[i]}}n.hooks=Bm(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const a="$"+o;Go(n,a,i),Go(n.vueApp.config.globalProperties,a,i)},Go(n.vueApp,"$nuxt",n),Go(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(IT,i=>{n.callHook("app:chunkError",{error:i.payload}),(n.isHydrating||i.payload.message.includes("Unable to preload CSS"))&&i.preventDefault()}),window.useNuxtApp=window.useNuxtApp||be;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const s=n.payload.config;return n.provide("config",s),n}function OT(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function LT(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const s in n)e.provide(s,n[s])}}async function NT(e,t){const n=[],s=[],r=[],o=[];let i=0;async function a(c){var l;const u=((l=c.dependsOn)==null?void 0:l.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(u.length>0)s.push([new Set(u),c]);else{const f=LT(e,c).then(async()=>{c._name&&(n.push(c._name),await Promise.all(s.map(async([d,h])=>{d.has(c._name)&&(d.delete(c._name),d.size===0&&(i++,await a(h)))}
19)))});c.parallel?r.push(f.catch(d=>o.push(d))):await f}}for(const c of t)OT(e,c);for(const c of t)await a(c);if(await Promise.all(r),i)for(let c=0;c<i;c++)await Promise.all(r);if(o.length)throw o[0]}function ot(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[RT]:!0,_name:t})}function wf(e,t,n){const s=()=>t();return Hm(e._id).set(e),e.vueApp.runWithContext(s)}function PT(e){var n;let t;return Jl()&&(t=(n=zn())==null?void 0:n.appContext.app.$nuxt),t=t||Hm(e).tryUse(),t||null}function be(e){const t=PT(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function it(e){return be().$config}function Go(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function wT(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},s=t||{},r=s.decode||DT;let o=0;for(;o<e.length;){const i=e.indexOf("=",o);if(i===-1)break;let a=e.indexOf(";",o);if(a===-1)a=e.length;else if(a<i){o=e.lastIndexOf(";",i-1)+1;continue}const c=e.slice(o,i).trim();if(s!=null&&s.filter&&!(s!=null&&s.filter(c))){o=a+1;continue}if(n[c]===void 0){let u=e.slice(i+1,a).trim();u.codePointAt(0)===34&&(u=u.slice(1,-1)),n[c]=kT(u,r)}o=a+1}return n}function DT(e){return e.includes("%")?decodeURIComponent(e):e}function kT(e,t){try{return t(e)}catch{return e}}const Ko=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Df(e,t,n){const s=n||{},r=s.encode||encodeURIComponent;if(typeof r!="function")throw new TypeError("option encode is invalid");if(!Ko.test(e))throw new TypeError("argument name is invalid");const o=r(t);if(o&&!Ko.test(o))throw new TypeError("argument val is invalid");let i=e+"="+o;if(s.maxAge!==void 0&&s.maxAge!==null){const a=s.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(a)}if(s.domain){if(!Ko.test(s.domain))throw new TypeError("option domain is invalid");i+="; Domain="+s.domain}if(s.path){if(!Ko.test(s.path))throw new TypeError("option path is invalid");i+="; Path="+s.path}if(s.expires){if(!MT(s.expires)||Number.isNaN(s.expires.valueOf()))throw new TypeError("option expires is invali
19d");i+="; Expires="+s.expires.toUTCString()}if(s.httpOnly&&(i+="; HttpOnly"),s.secure&&(i+="; Secure"),s.priority)switch(typeof s.priority=="string"?s.priority.toLowerCase():s.priority){case"low":{i+="; Priority=Low";break}case"medium":{i+="; Priority=Medium";break}case"high":{i+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(s.sameSite)switch(typeof s.sameSite=="string"?s.sameSite.toLowerCase():s.sameSite){case!0:{i+="; SameSite=Strict";break}case"lax":{i+="; SameSite=Lax";break}case"strict":{i+="; SameSite=Strict";break}case"none":{i+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return s.partitioned&&(i+="; Partitioned"),i}function MT(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}const kf=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function kc(e,t){t?t={...kf,...t}:t=kf;const n=jm(t);return n.dispatch(e),n.toString()}const xT=Object.freeze(["prototype","__proto__","constructor"]);function jm(e){let t="",n=new Map;const s=r=>{t+=r};return{toString(){return t},getContext(){return n},dispatch(r){return e.replacer&&(r=e.replacer(r)),this[r===null?"null":typeof r](r)},object(r){if(r&&typeof r.toJSON=="function")return this.object(r.toJSON());const o=Object.prototype.toString.call(r);let i="";const a=o.length;a<10?i="unknown:["+o+"]":i=o.slice(8,a-1),i=i.toLowerCase();let c=null;if((c=n.get(r))===void 0)n.set(r,n.size);else return this.dispatch("[CIRCULAR:"+c+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(r))return s("buffer:"),s(r.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](r):e.ignoreUnknown||this.unkown(r,i);else{let u=Object.keys(r);e.unorderedObjects&&(u=u.sort());let l=[];e.respectType!==!1&&!Mf(r)&&(l=xT),e.excludeKeys&&(u=u.filter(d=>!e.excludeKeys(d)),l=l.filter(d=>!e.excludeKeys(d))),s("object:"+(u.length+l.length)+":");const f=d=>{this.dispatch(d),s(":"),e.excludeValues||this.dispatch(r[d]),s(",")};for(const d of u)f(d);for(const d of l)f(d)}},array(r,o){if(o=o===void 0?e.unorderedArrays!==!1:o,s("array:"+r.length+":"),!o||r.length<=1){for(const c of r)this.dispatch(c);return}const i=new Map,a=r.map(c=>{const u=jm(e);u.dispatch(c);for(const[l,f]of u.getContext())i.set(l,f);return u.toString()});return n=i,a.sort(),this.array(a,!1)},date(r){return s("date:"+r.toJSON())},symbol(r){return s("symbol:"+r.toString())},unkown(r,o){if(s(o),!!r&&(s(":"),r&&typeof r.entries=="function"))return this.array(Array.from(r.entries()),!0)},error(r){return s("error:"+r.toString())},boolean(r){return s("bool:"+r)},string(r){s("string:"+r.length+":"),s(r)},function(r){s("fn:"),Mf(r)?this.dispatch("[native]"):this.dispatch(r.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(r.name)),e.respectFunctionProperties&&this.object(r)},number(r){return s("number:"+r)},xml(r){return s("xml:"+r.toString())},null(){return s("Null")},undefined(){return s("Undefined")},regexp(r){return s("regex:"+r.toString())},uint8array(r){return s("uint8array:"),this.dispatch(Array.prototype.slice.call(r))},uint8clampedarray(r){return s("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(r))},int8array(r){return s("int8array:"),this.dispatch(Array.prototype.slice.call(r))},uint16array(r){return s("uint16array:"),this.dispatch(Array.prototype.slice.call(r))},int16array(r){return s("int16array:"),this.dispatch(Array.prototype.slice.call(r))},uint32array(r){return s("uint32array:"),this.dispatch(Array.prototype.slice.call(r))},int32array(r){return s("int32array:"),this.dispatch(Array.prototype.slice.call(r))},float32array(r){return s("float32array:"),this.dispatch(Array.prototype.slice.call(r))},float64array(r){return s("float64array:"),this.dispatch(Array.prototype.slice.call(r))},arraybuffer(r){return s("arraybuffer:"),this.dispatch(new Uint8Array(r))},url(r){return s("url:"+r.toString())},map(r){s("map:");const o=[...r];return this.array(o,e.unorderedSets!==!1)},set(r){s("set:");const o=[...r];return this.array(o,e.unorderedSets!==!1)},file(r){return s("file:"),this.dispatch([r.name,r.size,r.type,r.lastModfied])},blob(){if(e.ignoreUnknown)return s("[blob]");throw new Error(`Hashing Blob objects is currently not supported
20Use "options.replacer" or "options.ignoreUnknown"
21`)},domwindow(){return s("domwindow")},bigint(r){return s("bigint:"+r.toString())},process(){return s("process")},timer(){return s("timer")},pipe(){return s("pipe")},tcp(){return s("tcp")},udp(){return s("udp")},tty(){return s("tty")},statwatcher(){return s("statwatcher")},securecontext(){return s("securecontext")},connection(){return s("connection")},zlib(){return s("zlib")}
21,context(){return s("context")},nodescript(){return s("nodescript")},httpparser(){return s("httpparser")},dataview(){return s("dataview")},signal(){return s("signal")},fsevent(){return s("fsevent")},tlswrap(){return s("tlswrap")}}}const Gm="[native code] }",$T=Gm.length;function Mf(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-$T)===Gm}var UT=Object.defineProperty,FT=(e,t,n)=>t in e?UT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ir=(e,t,n)=>(FT(e,typeof t!="symbol"?t+"":t,n),n);let _r=class Km{constructor(t,n){ir(this,"words"),ir(this,"sigBytes"),t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||BT).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const s=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=s<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Km([...this.words])}};const BT={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const s=e.words[n>>>2]>>>24-n%4*8&255;t.push((s>>>4).toString(16),(s&15).toString(16))}return t.join("")}},VT={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let s=0;s<e.sigBytes;s+=3){const r=e.words[s>>>2]>>>24-s%4*8&255,o=e.words[s+1>>>2]>>>24-(s+1)%4*8&255,i=e.words[s+2>>>2]>>>24-(s+2)%4*8&255,a=r<<16|o<<8|i;for(let c=0;c<4&&s*8+c*6<e.sigBytes*8;c++)n.push(t.charAt(a>>>6*(3-c)&63))}return n.join("")}},HT={parse(e){const t=e.length,n=[];for(let s=0;s<t;s++)n[s>>>2]|=(e.charCodeAt(s)&255)<<24-s%4*8;return new _r(n,t)}},jT={parse(e){return HT.parse(unescape(encodeURIComponent(e)))}};let GT=class{constructor(){ir(this,"_data",new _r),ir(this,"_nDataBytes",0),ir(this,"_minBufferSize",0),ir(this,"blockSize",512/32)}reset(){this._data=new _r,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=jT.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,s=this._data.sigBytes/(this.blockSize*4);t?s=Math.ceil(s):s=Math.max((s|0)-this._minBufferSize,0);const r=s*this.blockSize,o=Math.min(r*4,this._data.sigBytes);if(r){for(let i=0;i<r;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,r),this._data.sigBytes-=o}return new _r(n,o)}},KT=class extends GT{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}};var WT=Object.defineProperty,YT=(e,t,n)=>t in e?WT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zT=(e,t,n)=>(YT(e,t+"",n),n);const xf=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],QT=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Rs=[];class qT extends KT{constructor(){super(...arguments),zT(this,"_hash",new _r([...xf]))}reset(){super.reset(),this._hash=new _r([...xf])}_doProcessBlock(t,n){const s=this._hash.words;let r=s[0],o=s[1],i=s[2],a=s[3],c=s[4],u=s[5],l=s[6],f=s[7];for(let d=0;d<64;d++){if(d<16)Rs[d]=t[n+d]|0;else{const p=Rs[d-15],E=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,y=Rs[d-2],v=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;Rs[d]=E+Rs[d-7]+v+Rs[d-16]}const h=c&u^~c&l,g=r&o^r&i^o&i,m=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),A=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),C=f+A+h+QT[d]+Rs[d],O=m+g;f=l,l=u,u=c,c=a+C|0,a=i,i=o,o=r,r=C+O|0}s[0]=s[0]+r|0,s[1]=s[1]+o|0,s[2]=s[2]+i|0,s[3]=s[3]+a|0,s[4]=s[4]+c|0,s[5]=s[5]+u|0,s[6]=s[6]+l|0,s[7]=s[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,s=this._data.sigBytes*8;return this._data.words[s>>>5]|=128<<24-s%32,this._data.words[(s+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(s+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function XT(e){return new qT().finalize(e).toString(VT)}function UB(e,t={}){const n=typeof e=="string"?e:kc(e,t);return XT(n).slice(0,10)}function JT(e,t,n={}){return e===t||kc(e,n)===kc(t,n)}function ZT(e,t){return{ctx:{table:e},matchAll:n=>Ym(n,e)}}function Wm(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,r])=>[s,Wm(r)])):new Map(Object.entries(e[n]));return t}function eS(e){return ZT(Wm(e))}function Ym(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const s=[];for(const[o,i]of $f(t.wildcard))(e===o||e.startsWith(o+"/"))&&s.push(i);for(const[o,i]of $f(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");s.push(...Ym(a,i))}const r=t.static.get(e);
21return r&&s.push(r),s.filter(Boolean)}function $f(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Ka(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Mc(e,t,n=".",s){if(!Ka(t))return Mc(e,{},n,s);const r=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(s&&s(r,o,i,n)||(Array.isArray(i)&&Array.isArray(r[o])?r[o]=[...i,...r[o]]:Ka(i)&&Ka(r[o])?r[o]=Mc(i,r[o],(n?`${n}.`:"")+o.toString(),s):r[o]=i))}return r}function tS(e){return(...t)=>t.reduce((n,s)=>Mc(n,s,"",e),{})}const zm=tS();function nS(e,t){try{return t in e}catch{return!1}}var sS=Object.defineProperty,rS=(e,t,n)=>t in e?sS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ws=(e,t,n)=>(rS(e,typeof t!="symbol"?t+"":t,n),n);class xc extends Error{constructor(t,n={}){super(t,n),ws(this,"statusCode",500),ws(this,"fatal",!1),ws(this,"unhandled",!1),ws(this,"statusMessage"),ws(this,"data"),ws(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Uc(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Qm(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}ws(xc,"__h3_error__",!0);function $c(e){if(typeof e=="string")return new xc(e);if(oS(e))return e;const t=new xc(e.message??e.statusMessage??"",{cause:e.cause||e});if(nS(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=Uc(e.statusCode,t.statusCode):e.status&&(t.statusCode=Uc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Qm(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 oS(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const iS=/[^\u0009\u0020-\u007E]/g;function Qm(e=""){return e.replace(iS,"")}function Uc(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const qm=Symbol("layout-meta"),wo=Symbol("route"),Nt=()=>{var e;return(e=be())==null?void 0:e.$router},$r=()=>Jl()?ut(wo,be()._route):be()._route;const aS=(e,t,n={})=>{const s=be(),r=n.global||typeof e!="string",o=t;if(!o){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}r?s._middleware.global.push(o):s._middleware.named[e]=o},cS=()=>{try{if(be()._processingMiddleware)return!0}catch{return!1}return!1},iu=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?lS(e):Nt().resolve(e).href;if(t!=null&&t.open){const{target:c="_blank",windowFeatures:u={}}=t.open,l=Object.entries(u).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,c,l),Promise.resolve()}const s=Rn(n,{acceptRelative:!0}),r=(t==null?void 0:t.external)||s;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{protocol:c}=new URL(n,window.location.href);if(c&&VA(c))throw new Error(`Cannot navigate to a URL with '${c}' protocol.`)}const o=cS();if(!r&&o)return e;const i=Nt(),a=be();return r?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)};function lS(e){return Dm(e.path||"",e.query||{})+(e.hash||"")}const Xm="__nuxt_error",ua=()=>jl(be().payload,"error"),ar=e=>{const t=fa(e);try{const n=be(),s=ua();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},uS=async(e={})=>{const t=be(),n=ua();t.callHook("app:error:cleared",e),e.redirect&&await Nt().replace(e.redirect),n.value=TT},fS=e=>!!e&&typeof e=="object"&&Xm in e,fa=e=>{const t=$c(e);return Object.defineProperty(t,Xm,{value:!0,configurable:!1,writable:!1}),t};function Uf(e){const t=hS(e),n=new ArrayBuffer(t.length),s=new DataView(n);for(let r=0;r<n.byteLength;r++)s.setUint8(r,t.charCodeAt(r));return n}const dS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
21+/";function hS(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,s=0;for(let r=0;r<e.length;r++)n<<=6,n|=dS.indexOf(e[r]),s+=6,s===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=s=0);return s===12?(n>>=4,t+=String.fromCharCode(n)):s===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const pS=-1,gS=-2,mS=-3,_S=-4,yS=-5,ES=-6;function vS(e,t){return bS(JSON.parse(e),t)}function bS(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,s=Array(n.length);function r(o,i=!1){if(o===pS)return;if(o===mS)return NaN;if(o===_S)return 1/0;if(o===yS)return-1/0;if(o===ES)return-0;if(i)throw new Error("Invalid input");if(o in s)return s[o];const a=n[o];if(!a||typeof a!="object")s[o]=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 s[o]=u(r(a[1]));switch(c){case"Date":s[o]=new Date(a[1]);break;case"Set":const l=new Set;s[o]=l;for(let h=1;h<a.length;h+=1)l.add(r(a[h]));break;case"Map":const f=new Map;s[o]=f;for(let h=1;h<a.length;h+=2)f.set(r(a[h]),r(a[h+1]));break;case"RegExp":s[o]=new RegExp(a[1],a[2]);break;case"Object":s[o]=Object(a[1]);break;case"BigInt":s[o]=BigInt(a[1]);break;case"null":const d=Object.create(null);s[o]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=r(a[h+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const h=globalThis[c],g=a[1],m=Uf(g),A=new h(m);s[o]=A;break}case"ArrayBuffer":{const h=a[1],g=Uf(h);s[o]=g;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(a.length);s[o]=c;for(let u=0;u<a.length;u+=1){const l=a[u];l!==gS&&(c[u]=r(l))}}else{const c={};s[o]=c;for(const u in a){const l=a[u];c[u]=r(l)}}return s[o]}return r(0)}const AS=new Set(["title","titleTemplate","script","style","noscript"]),ii=new Set(["base","meta","link","style","script","noscript"]),TS=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),SS=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Jm=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),IS=typeof window<"u";function xi(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 Fc(e){if(e._h)return e._h;if(e._d)return xi(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return xi(t)}function Zm(e,t){const n=[],s=t.resolveKeyData||(o=>o.key),r=t.resolveValueData||(o=>o.value);for(const[o,i]of Object.entries(e))n.push(...(Array.isArray(i)?i:[i]).map(a=>{const c={key:o,value:a},u=r(c);return typeof u=="object"?Zm(u,t):Array.isArray(u)?u:{[typeof t.key=="function"?t.key(c):t.key]:s(c),[typeof t.value=="function"?t.value(c):t.value]:u}}).flat());return n}function e_(e,t){return Object.entries(e).map(([n,s])=>{if(typeof s=="object"&&(s=e_(s,t)),t.resolve){const r=t.resolve({key:n,value:s});if(typeof r<"u")return r}return typeof s=="number"&&(s=s.toString()),typeof s=="string"&&t.wrapValue&&(s=s.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),s=`${t.wrapValue}${s}${t.wrapValue}`),`${n}${t.keyValueSeparator||""}${s}`}).join(t.entrySeparator||"")}const bt=e=>({keyValue:e,metaKey:"property"}),Wa=e=>({keyValue:e}),au={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return`${Hn(e)}=${t}`}}},articleExpirationTime:bt("article:expiration_time"),articleModifiedTime:bt("article:modified_time"),articlePublishedTime:bt("article:published_time"),bookReleaseDate:bt("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:e,value:t}){return`${Hn(e)} ${t}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:bt("fb:app_id"),msapplicationConfig:Wa("msapplication-Config"),msapplicationTileColor:Wa("msapplication-TileColor"),msapplicationTileImage:Wa("msapplication-TileImage"),ogAudioSecureUrl:bt("og:audio:secure_url"),ogAudioUrl:bt("og:audio"),ogImageSecureUrl:bt("og:image:secure_url"),ogImageUrl:bt("og:image"),ogSiteName:bt("og:site_name"),ogVideoSecureUrl:bt("og:video:secure_url"),ogVideoUrl:bt("og:video"),profileFirstName:bt("profile:first_name"),profileLastName:bt("profile:last_name"),profileUsername:bt("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:e,value:t}
21){if(e==="seconds")return`${t}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return typeof t=="boolean"?`${Hn(e)}`:`${Hn(e)}:${t}`}}},xUaCompatible:{metaKey:"http-equiv"}},t_=new Set(["og","book","article","profile"]);function n_(e){var s;const t=Hn(e),n=t.indexOf(":");return t_.has(t.substring(0,n))?"property":((s=au[e])==null?void 0:s.metaKey)||"name"}function RS(e){var t;return((t=au[e])==null?void 0:t.keyValue)||Hn(e)}function Hn(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-"),s=t.substring(0,n);return s==="twitter"||t_.has(s)?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Bc(e){if(Array.isArray(e))return e.map(n=>Bc(n));if(typeof e!="object"||Array.isArray(e))return e;const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[Hn(n)]=Bc(e[n]));return t}function CS(e,t){const n=au[t];return t==="refresh"?`${e.seconds};url=${e.url}`:e_(Bc(e),{keyValueSeparator:"=",entrySeparator:", ",resolve({value:s,key:r}){if(s===null)return"";if(typeof s=="boolean")return`${r}`},...n==null?void 0:n.unpack})}const s_=new Set(["og:image","og:video","og:audio","twitter:image"]);function r_(e){const t={};for(const n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;const s=e[n];String(s)!=="false"&&n&&(t[n]=s)}return t}function Ff(e,t){const n=r_(t),s=Hn(e),r=n_(s);if(s_.has(s)){const o={};for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(o[`${e}${i==="url"?"":`${i[0].toUpperCase()}${i.slice(1)}`}`]=n[i]);return o_(o).sort((i,a)=>{var c,u;return(((c=i[r])==null?void 0:c.length)||0)-(((u=a[r])==null?void 0:u.length)||0)})}return[{[r]:s,...n}]}function o_(e){const t=[],n={};for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;const o=e[r];if(!Array.isArray(o)){if(typeof o=="object"&&o){if(s_.has(Hn(r))){t.push(...Ff(r,o));continue}n[r]=r_(o)}else n[r]=o;continue}for(const i of o)t.push(...typeof i=="string"?o_({[r]:i}):Ff(r,i))}
21const s=Zm(n,{key({key:r}){return n_(r)},value({key:r}){return r==="charset"?"charset":"content"},resolveKeyData({key:r}){return RS(r)},resolveValueData({value:r,key:o}){return r===null?"_null":typeof r=="object"?CS(r,o):typeof r=="number"?r.toString():r}});return[...t,...s].map(r=>(r.content==="_null"&&(r.content=null),r))}function OS(e,t){return e instanceof Promise?e.then(t):t(e)}function Vc(e,t,n,s){const r=s||a_(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(r instanceof Promise)return r.then(i=>Vc(e,t,n,i));const o={tag:e,props:r};for(const i of Jm){const a=o.props[i]!==void 0?o.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||AS.has(o.tag))&&(o[i==="children"?"innerHTML":i]=a),delete o.props[i])}return o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(i=>({...o,props:{...o.props,content:i}})):o}function LS(e,t){var s;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,o])=>e==="style"?`${r}:${o}`:r)),(s=String(Array.isArray(t)?t.join(n):t))==null?void 0:s.split(n).filter(r=>!!r.trim()).join(n)}function i_(e,t,n,s){for(let r=s;r<n.length;r+=1){const o=n[r];if(o==="class"||o==="style"){e[o]=LS(o,e[o]);continue}if(e[o]instanceof Promise)return e[o].then(i=>(e[o]=i,i_(e,t,n,r)));if(!t&&!Jm.has(o)){const i=String(e[o]),a=o.startsWith("data-");i==="true"||i===""?e[o]=a?"true":!0:e[o]||(a&&i==="false"?e[o]="false":delete e[o])}}}function a_(e,t=!1){const n=i_(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const NS=10;function c_(e,t,n){for(let s=n;s<t.length;s+=1){const r=t[s];if(r instanceof Promise)return r.then(o=>(t[s]=o,c_(e,t,s)));Array.isArray(r)?e.push(...r):e.push(r)}}function PS(e){const t=[],n=e.resolvedInput;for(const r in n){if(!Object.prototype.hasOwnProperty.call(n,r))continue;const o=n[r];
21if(!(o===void 0||!TS.has(r))){if(Array.isArray(o)){for(const i of o)t.push(Vc(r,i,e));continue}t.push(Vc(r,o,e))}}if(t.length===0)return[];const s=[];return OS(c_(s,t,0),()=>s.map((r,o)=>(r._e=e._i,e.mode&&(r._m=e.mode),r._p=(e._i<<NS)+o,r)))}const Bf=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),Vf={base:-10,title:10},Hf={critical:-80,high:-10,low:20};function $i(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in Vf&&(n=Vf[e.tag]),t&&t in Hf?n+Hf[t]:n}const wS=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],DS=["name","property","http-equiv"];function l_(e){const{props:t,tag:n}=e;if(SS.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const s of DS)if(t[s]!==void 0)return`${n}:${s}:${t[s]}`;return!1}const rs="%separator";function kS(e,t,n=!1){var r;let s;if(t==="s"||t==="pageTitle")s=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");s=(r=e[t.substring(0,o)])==null?void 0:r[t.substring(o+1)]}else s=e[t];if(s!==void 0)return n?(s||"").replace(/"/g,'\\"'):s||""}const MS=new RegExp(`${rs}(?:\\s*${rs})*`,"g");function Wo(e,t,n,s=!1){if(typeof e!="string"||!e.includes("%"))return e;let r=e;try{r=decodeURI(e)}catch{}const o=r.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(rs);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===rs||!o.includes(a))return a;const c=kS(t,a.slice(1),s);return c!==void 0?c:a}).trim(),i&&(e.endsWith(rs)&&(e=e.slice(0,-rs.length)),e.startsWith(rs)&&(e=e.slice(rs.length)),e=e.replace(MS,n).trim()),e}function jf(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function u_(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{var f;const o=(await e.resolveTags()).map(d=>({tag:d,id:ii.has(d.tag)?Fc(d):d.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const h of["body","head"]){const g=(f=n[h])==null?void 0:f.children;for(const m of g){const A=m.tagName.toLowerCase();if(!ii.has(A))continue;const C={tag:A,props:await a_(m.getAttributeNames().reduce((y,v)=>({...y,[v]:m.getAttribute(v)}),{})),innerHTML:m.innerHTML},O=l_(C);let p=O,E=1;for(;p&&d.has(p);)p=`${O}:${E++}`;p&&(C._d=p,d.add(p)),i.elMap[m.getAttribute("data-hid")||Fc(C)]=m}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(d,h,g){const m=`${d}:${h}`;i.sideEffects[m]=g,delete i.pendingSideEffects[m]}function c({id:d,$el:h,tag:g}){const m=g.tag.endsWith("Attrs");if(i.elMap[d]=h,m||(g.textContent&&g.textContent!==h.textContent&&(h.textContent=g.textContent),g.innerHTML&&g.innerHTML!==h.innerHTML&&(h.innerHTML=g.innerHTML),a(d,"el",()=>{var A;(A=i.elMap[d])==null||A.remove(),delete i.elMap[d]})),g._eventHandlers)for(const A in g._eventHandlers)Object.prototype.hasOwnProperty.call(g._eventHandlers,A)&&h.getAttribute(`data-${A}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:h).addEventListener(A.substring(2),g._eventHandlers[A].bind(h)),h.setAttribute(`data-${A}`,""));for(const A in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,A))continue;const C=g.props[A],O=`attr:${A}`;if(A==="class"){if(!C)continue;for(const p of C.split(" "))m&&a(d,`${O}:${p}`,()=>h.classList.remove(p)),!h.classList.contains(p)&&h.classList.add(p)}else if(A==="style"){if(!C)continue;for(const p of C.split(";")){const E=p.indexOf(":"),y=p.substring(0,E).trim(),v=p.substring(E+1).trim();a(d,`${O}:${y}`,()=>{h.style.removeProperty(y)}),h.style.setProperty(y,v)}}else h.getAttribute(A)!==C&&h.setAttribute(A,C===!0?"":String(C)),m&&a(d,O,()=>h.removeAttribute(A))}}const u=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of o){const{tag:h,shouldRender:g,id:m}=d;if(g){if(h.tag==="title"){n.title=h.textContent;continue}d.$el=d.$el||i.elMap[m],d.$el?c(d):ii.has(h.tag)&&u.push(d)}}for(const d of u){const h=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),c(d),l[h]=l[h]||n.createDocumentFragment(),l[h].appendChild(d.$el)}for(const d of o)await e.hooks.callHook("dom:renderTag",d,n,a);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(const d in i.pendingSideEffects)i.pendingSideEffects[d]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:o}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function xS(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(s=>n(()=>u_(e,t).then(()=>{delete e._domDebouncedUpdatePromise,s()})))}function $S(e){return t=>{var s,r;const n=((r=(s=t.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;
21return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":o=>{xS(o,e)}}}}}const US=new Set(["templateParams","htmlAttrs","bodyAttrs"]),FS={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=l_(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const s of e.tags){const r=(s.key?`${s.tag}:${s.key}`:s._d)||Fc(s),o=t[r];if(o){let a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&US.has(s.tag)&&(a="merge"),a==="merge"){const c=o.props;c.style&&s.props.style&&(c.style[c.style.length-1]!==";"&&(c.style+=";"),s.props.style=`${c.style} ${s.props.style}`),c.class&&s.props.class?s.props.class=`${c.class} ${s.props.class}`:c.class&&(s.props.class=c.class),t[r].props={...c,...s.props};continue}else if(s._e===o._e){o._duped=o._duped||[],s._d=`${o._d}:${o._duped.length+1}`,o._duped.push(s);continue}else if($i(s)>$i(o))continue}if(!(s.innerHTML||s.textContent||Object.keys(s.props).length!==0)&&ii.has(s.tag)){delete t[r];continue}t[r]=s}const n=[];for(const s in t){const r=t[s],o=r._duped;n.push(r),o&&(delete r._duped,n.push(...o))}e.tags=n,e.tags=e.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},BS=new Set(["script","link","bodyAttrs"]),VS=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!BS.has(n.tag))continue;const s=n.props;for(const r in s){if(r[0]!=="o"||r[1]!=="n"||!Object.prototype.hasOwnProperty.call(s,r))continue;const o=s[r];typeof o=="function"&&(e.ssr&&Bf.has(r)?s[r]=`this.dataset.${r}fired = true`:delete s[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||xi(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var r,o;const s=t==null?void 0:t.dataset;if(s)for(const i in s){if(!i.endsWith("fired"))continue;const a=i.slice(0,-5);Bf.has(a)&&((o=(r=n._eventHandlers)==null?void 0:r[a])==null||o.call(t,new Event(a.substring(2))))}}}}),HS=new Set(["link","style","script","noscript"]),jS={hooks:{"tag:normalise":({tag:e})=>{e.key&&HS.has(e.tag)&&(e.props["data-hid"]=e._h=xi(e.key))}}},GS={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const s of e.tags)s._m!=="server"||s.tag!=="titleTemplate"&&s.tag!=="templateParams"&&s.tag!=="title"||(t[s.tag]=s.tag==="title"||s.tag==="titleTemplate"?s.textContent:s.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},KS={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:s,offset:r}of wS){if(!n.tagPriority.startsWith(s))continue;const o=n.tagPriority.substring(s.length),i=(t=e.tags.find(a=>a._d===o))==null?void 0:t._p;if(i!==void 0){n._p=i+r;break}}e.tags.sort((n,s)=>{const r=$i(n),o=$i(s);return r<o?-1:r>o?1:n._p-s._p})}}},WS={meta:"content",link:"href",htmlAttrs:"lang"},YS=["innerHTML","textContent"],zS=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let s;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(s=t.tags.splice(a,1)[0].props,a-=1);const r=s||{},o=r.separator||"|";delete r.separator,r.pageTitle=Wo(r.pageTitle||((i=n.find(a=>a.tag==="title"))==null?void 0:i.textContent)||"",r,o);for(const a of n){if(a.processTemplateParams===!1)continue;const c=WS[a.tag];if(c&&typeof a.props[c]=="string")a.props[c]=Wo(a.props[c],r,o);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const u of YS)typeof a[u]=="string"&&(a[u]=Wo(a[u],r,o,a.tag==="script"&&a.props.type.endsWith("json")))}e._templateParams=r,e._separator=o},"tags:afterResolve":({tags:t})=>{let n;for(let s=0;s<t.length;s+=1){const r=t[s];r.tag==="title"&&r.processTemplateParams!==!1&&(n=r)}n!=null&&n.textContent&&(n.textContent=Wo(n.textContent,e._templateParams,e._separator))}}}),QS={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,s;for(let r=0;r<t.length;r+=1){const o=t[r];o.tag==="title"?n=o:o.tag==="titleTemplate"&&(s=o)}if(s&&n){const r=jf(s.textContent,n.textContent);r!==null?n.textContent=r||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(s){const r=jf(s.textContent);r!==null&&(s.textContent=r,s.tag="title",s=void 0)}s&&e.tags.splice(e.tags.indexOf(s),1)}}},qS={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let f_;function XS(e={}){const t=JS(e);return t.use($S()),f_=t}function Gf(e,t){return!e||e==="server"&&t||e==="client"&&!t}function JS(e={}){const t=Bm();t.addHooks(e.hooks||{}),e.document=e.document||(IS?document:void 0);const n=!e.document,s=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let r=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(c){const u=typeof c=="function"?c(a):c;(!u.key||!i.some(l=>l.key===u.key))&&(i.push(u),Gf(u.mode,n)&&t.addHooks(u.hooks||{}))},push(c,u){u==null||delete u.head;const l={_i:r++,input:c,...u};return Gf(l.mode,n)&&(o.push(l),s()),{dispose(){o=o.filter(f=>f._i!==l._i),s()},patch(f){for(const d of o)d._i===l._i&&(d.input=l.input=f);s()}}},async resolveTags(){const c={tags:[],entries:[...o]};await t.callHook("entries:resolve",c);for(const u of c.entries){const l=u.resolvedInput||u.input;if(u.resolvedInput=await(u.transform?u.transform(l):l),u.resolvedInput)for(const f of await PS(u)){const d={tag:f,entry:u,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),c.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[FS,GS,VS,jS,KS,zS,QS,qS,...(e==null?void 0:e.plugins)||[]].forEac
21h(c=>a.use(c)),a.hooks.callHook("init",a),a}function ZS(){return f_}const eI=ym[0]==="3";function tI(e){return typeof e=="function"?e():he(e)}function Hc(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=tI(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>Hc(n));if(typeof t=="object"){const n={};for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){if(s==="titleTemplate"||s[0]==="o"&&s[1]==="n"){n[s]=he(t[s]);continue}n[s]=Hc(t[s])}return n}return t}const nI={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=Hc(t.input)}}},d_="usehead";function sI(e){return{install(n){eI&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(d_,e))}}.install}function rI(e={}){e.domDelayFn=e.domDelayFn||(n=>vs(()=>setTimeout(()=>n(),0)));const t=XS(e);return t.use(nI),t.install=sI(t),t}const jc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Gc="__unhead_injection_handler__";function oI(e){jc[Gc]=e}function FB(){if(Gc in jc)return jc[Gc]();const e=ut(d_);return e||ZS()}let ai,ci;function iI(){return ai=$fetch(ou(`builds/meta/${it().app.buildId}.json`),{responseType:"json"}),ai.then(e=>{ci=eS(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),ai}function da(){return ai||iI()}async function cu(e){if(await da(),!ci)return console.error("[nuxt] Error creating app manifest matcher.",ci),{};try{return zm({},...ci.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function Kf(e,t={}){const n=await cI(e,t),s=be(),r=s._payloadCache=s._payloadCache||{};return n in r?r[n]||null:(r[n]=p_(e).then(o=>o?h_(n).then(i=>i||(delete r[n],null)):(r[n]=null,null)),r[n])}const aI="_payload.json";async function cI(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Rn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);
21const s=it(),r=t.hash||(t.fresh?Date.now():s.app.buildId),o=s.app.cdnURL,i=o&&await p_(e)?o:s.app.baseURL;return xr(i,n.pathname,aI+(r?`?${r}`:""))}async function h_(e){const t=fetch(e).then(n=>n.text().then(g_));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function p_(e=$r().path){if(e=la(e),(await da()).prerendered.includes(e))return!0;const n=await cu(e);return!!n.prerender&&!n.redirect}let Cs=null;async function lI(){var s;if(Cs)return Cs;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await g_(e.textContent||""),n=e.dataset.src?await h_(e.dataset.src):void 0;return Cs={...t,...n,...window.__NUXT__},(s=Cs.config)!=null&&s.public&&(Cs.config.public=In(Cs.config.public)),Cs}async function g_(e){return await vS(e,be()._payloadRevivers)}function uI(e,t){be()._payloadRevivers[e]=t}const fI=[["NuxtError",e=>fa(e)],["EmptyShallowRef",e=>vr(e==="_"?void 0:e==="0n"?BigInt(0):_o(e))],["EmptyRef",e=>lt(e==="_"?void 0:e==="0n"?BigInt(0):_o(e))],["ShallowRef",e=>vr(e)],["ShallowReactive",e=>Vn(e)],["Ref",e=>lt(e)],["Reactive",e=>In(e)]],dI=ot({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[s,r]of fI)uI(s,r);Object.assign(e.payload,([t,n]=an(()=>e.runWithContext(lI)),t=await t,n(),t)),window.__NUXT__=e.payload}}),hI=[],pI=ot({name:"nuxt:head",enforce:"pre",setup(e){const t=rI({plugins:hI});oI(()=>be().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await u_(t)};t.hooks.hook("dom:beforeRender",r=>{r.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||s()}),e.hooks.hook("app:error",s),e.hooks.hook("app:suspense:resolve",s)}}});/*!
22  * vue-router v4.4.5
23  * (c) 2024 Eduardo San Martin Morote
24  * @license MIT
25  */const nr=typeof document<"u";function m_(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function gI(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&m_(e.default)}const Ce=Object.assign;function Ya(e,t){const n={};for(const s in t){const r=t[s];n[s]=un(r)?r.map(e):e(r)}return n}const ro=()=>{},un=Array.isArray,__=/#/g,mI=/&/g,_I=/\//g,yI=/=/g,EI=/\?/g,y_=/\+/g,vI=/%5B/g,bI=/%5D/g,E_=/%5E/g,AI=/%60/g,v_=/%7B/g,TI=/%7C/g,b_=/%7D/g,SI=/%20/g;function lu(e){return encodeURI(""+e).replace(TI,"|").replace(vI,"[").replace(bI,"]")}function II(e){return lu(e).replace(v_,"{").replace(b_,"}").replace(E_,"^")}function Kc(e){return lu(e).replace(y_,"%2B").replace(SI,"+").replace(__,"%23").replace(mI,"%26").replace(AI,"`").replace(v_,"{").replace(b_,"}").replace(E_,"^")}function RI(e){return Kc(e).replace(yI,"%3D")}function CI(e){return lu(e).replace(__,"%23").replace(EI,"%3F")}function OI(e){return e==null?"":CI(e).replace(_I,"%2F")}function yo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const LI=/\/$/,NI=e=>e.replace(LI,"");function za(e,t,n="/"){let s,r={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),r=e(o)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=kI(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:yo(i)}}function PI(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Wf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function wI(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Sr(t.matched[s],n.matched[r])&&A_(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Sr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function A_(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!DI(e[n],t[n]))return!1;return!0}function DI(e,t){return un(e)?Yf(e,t):un(t)?Yf(t,e):e===t}function Yf(e,t){return un(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function kI(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,a;for(i=0;i<s.length;i++)if(a=s[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const nn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Eo;(function(e){e.pop="pop",e.push="push"})(Eo||(Eo={}));var oo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(oo||(oo={}));function MI(e){if(!e)if(nr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),NI(e)}const xI=/^[^#]+#/;function $I(e,t){return e.replace(xI,"#")+t}function UI(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ha=()=>({left:window.scrollX,top:window.scrollY});function FI(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=UI(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}
vendor: 3,580 bytes, line 25
25function zf(e,t){return(history.state?history.state.position-t:-1)+e}const Wc=new Map;function BI(e,t){Wc.set(e,t)}function VI(e){const t=Wc.get(e);return Wc.delete(e),t}let HI=()=>location.protocol+"//"+location.host;function T_(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let a=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(a);return c[0]!=="/"&&(c="/"+c),Wf(c,"")}return Wf(n,e)+s+r}function jI(e,t,n,s){let r=[],o=[],i=null;const a=({state:d})=>{const h=T_(e,location),g=n.value,m=t.value;let A=0;if(d){if(n.value=h,t.value=d,i&&i===g){i=null;return}A=m?d.position-m.position:0}else s(h);r.forEach(C=>{C(n.value,g,{delta:A,type:Eo.pop,direction:A?A>0?oo.forward:oo.back:oo.unknown})})};function c(){i=n.value}function u(d){r.push(d);const h=()=>{const g=r.indexOf(d);g>-1&&r.splice(g,1)};return o.push(h),h}function l(){const{history:d}=window;d.state&&d.replaceState(Ce({},d.state,{scroll:ha()}),"")}function f(){for(const d of o)d();o=[],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 Qf(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ha():null}}function GI(e){const{history:t,location:n}=window,s={value:T_(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,u,l){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:HI()+e+c;try{t[l?"replaceState":"pushState"](u,"",d),r.value=u}catch(h){console.error(h),n[l?"replace":"assign"](d)}}function i(c,u){const l=Ce({},t.state,Qf(r.value.back,c,r.value.forward,!0),u,{position:r.value.position});o(c,l,!0),s.value=c}function a(c,u){const l=Ce({},r.value,t.state,{forward:c,scroll:ha()});o(l.current,l,!0);const f=Ce({},Qf(s.value,c,null),{position:l.position+1},u);o(c,f,!1),s.value=c}return{location:s,state:r,push:a,replace:i}}function S_(e){e=MI(e);const t=GI(e),n=jI(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=Ce({location:"",base:e,go:s,createHref:$I.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function KI(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),S_(e)}function WI(e){return typeof e=="string"||e&&typeof e=="object"}function I_(e){return typeof e=="string"||typeof e=="symbol"}const R_=Symbol("");var qf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(qf||(qf={}));function Ir(e,t){return Ce(new Error,{type:e,[R_]:!0},t)}function On(e,t){return e instanceof Error&&R_ in e&&(t==null||!!(e.type&t))}const Xf="[^/]+?",YI={sensitive:!1,strict:!1,start:!0,end:!0},zI=/[.+*?^${}()[\]/\\]/g;function QI(e,t){const n=Ce({},YI,t),s=[];let r=n.start?"^":"";const o=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(r+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(r+="/"),r+=d.value.replace(zI,"\\$&"),h+=40;else if(d.type===1){const{value:g,repeatable:m,optional:A,regexp:C}=d;o.push({name:g,repeatable:m,optional:A});const O=C||Xf;if(O!==Xf){h+=10;try{new RegExp(`(${O})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${g}" (${O}): `+E.message)}}let p=m?`((?:${O}
25)(?:/(?:${O}))*)`:`(${O})`;f||(p=A&&u.length<2?`(?:/${p})`:"/"+p),A&&(p+="?"),r+=p,h+=20,A&&(h+=-8),m&&(h+=-20),O===".*"&&(h+=-50)}l.push(h)}s.push(l)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function a(u){const l=u.match(i),f={};if(!l)return null;for(let d=1;d<l.length;d++){const h=l[d]||"",g=o[d-1];f[g.name]=h&&g.repeatable?h.split("/"):h}return f}function c(u){let l="",f=!1;for(const d of e){(!f||!l.endsWith("/"))&&(l+="/"),f=!1;for(const h of d)if(h.type===0)l+=h.value;else if(h.type===1){const{value:g,repeatable:m,optional:A}=h,C=g in u?u[g]:"";if(un(C)&&!m)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const O=un(C)?C.join("/"):C;if(!O)if(A)d.length<2&&(l.endsWith("/")?l=l.slice(0,-1):f=!0);else throw new Error(`Missing required param "${g}"`);l+=O}}return l||"/"}return{re:i,score:s,keys:o,parse:a,stringify:c}}function qI(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function C_(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=qI(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Jf(s))return 1;if(Jf(r))return-1}return r.length-s.length}function Jf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const XI={type:0,value:""},JI=/[a-zA-Z0-9_]/;function ZI(e){if(!e)return[[]];if(e==="/")return[[XI]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let a=0,c,u="",l="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:c==="/"?(u&&f(),i()):c===":"?(f(),n=1):d();break;case 4:d(),n=s;break;case 1:c==="("?n=2:JI.test(c)?d():(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(),i(),r}function eR(e,t,n){const s=QI(ZI(e.path),n),r=Ce(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function tR(e,t){const n=[],s=new Map;t=nd({strict:!1,end:!0,sensitive:!1},t);function r(f){return s.get(f)}function o(f,d,h){const g=!h,m=ed(f);m.aliasOf=h&&h.record;const A=nd(t,f),C=[m];if("alias"in f){const E=typeof f.alias=="string"?[f.alias]:f.alias;for(const y of E)C.push(ed(Ce({},m,{components:h?h.record.components:m.components,path:y,aliasOf:h?h.record:m})))}let O,p;for(const E of C){const{path:y}=E;if(d&&y[0]!=="/"){const v=d.record.path,R=v[v.length-1]==="/"?"":"/";E.path=d.record.path+(y&&R+y)}if(O=eR(E,d,A),h?h.alias.push(O):(p=p||O,p!==O&&p.alias.push(O),g&&f.name&&!td(O)&&i(f.name)),O_(O)&&c(O),m.children){const v=m.children;for(let R=0;R<v.length;R++)o(v[R],O,h&&h.children[R])}h=h||O}return p?()=>{i(p)}:ro}function i(f){if(I_(f)){const d=s.get(f);d&&(s.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function c(f){const d=rR(f,n);n.splice(d,0,f),f.record.name&&!td(f)&&s.set(f.record.name,f)}function u(f,d){let h,g={},m,A;if("name"in f&&f.name){if(h=s.get(f.name),!h)throw Ir(1,{location:f});A=h.record.name,g=Ce(Zf(d.params,h.keys.filter(p=>!p.optional).concat(h.parent?h.parent.keys.filter(p=>p.optional):[]).map(p=>p.name)),f.params&&Zf(f.params,h.keys.map(p=>p.name))),m=h.stringify(g)}else if(f.path!=null)m=f.path,h=n.find(p=>p.re.test(m)),h&&(g=h.parse(m),A=h.record.name);else{if(h=d.name?s.get(d.name):n.find(p=>
vendor: 10,400 bytes, line 25
25p.re.test(d.path)),!h)throw Ir(1,{location:f,currentLocation:d});A=h.record.name,g=Ce({},d.params,f.params),m=h.stringify(g)}const C=[];let O=h;for(;O;)C.unshift(O.record),O=O.parent;return{name:A,path:m,params:g,matched:C,meta:sR(C)}}e.forEach(f=>o(f));function l(){n.length=0,s.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:l,getRoutes:a,getRecordMatcher:r}}function Zf(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ed(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:nR(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function nR(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function td(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function sR(e){return e.reduce((t,n)=>Ce(t,n.meta),{})}function nd(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function rR(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;C_(e,t[o])<0?s=o:n=o+1}const r=oR(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function oR(e){let t=e;for(;t=t.parent;)if(O_(t)&&C_(e,t)===0)return t}function O_({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function iR(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(y_," "),i=o.indexOf("="),a=yo(i<0?o:o.slice(0,i)),c=i<0?null:yo(o.slice(i+1));if(a in t){let u=t[a];un(u)||(u=t[a]=[u]),u.push(c)}else t[a]=c}return t}function sd(e){let t="";for(let n in e){const s=e[n];if(n=RI(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(un(s)?s.map(o=>o&&Kc(o)):[s&&Kc(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function aR(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=un(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const cR=Symbol(""),rd=Symbol(""),uu=Symbol(""),fu=Symbol(""),Yc=Symbol("");function jr(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function os(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((a,c)=>{const u=d=>{d===!1?c(Ir(4,{from:n,to:t})):d instanceof Error?c(d):WI(d)?c(Ir(2,{from:t,to:d})):(i&&s.enterCallbacks[r]===i&&typeof d=="function"&&i.push(d),a())},l=o(()=>e.call(s&&s.instances[r],t,n,u));let f=Promise.resolve(l);e.length<3&&(f=f.then(u)),f.catch(d=>c(d))})}function Qa(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(m_(c)){const l=(c.__vccOpts||c)[t];l&&o.push(os(l,n,s,i,a,r))}else{let u=c();o.push(()=>u.then(l=>{if(!l)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=gI(l)?l.default:l;i.mods[a]=l,i.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&os(h,n,s,i,a,r)()}))}}return o}function od(e){const t=ut(uu),n=ut(fu),s=we(()=>{const c=he(e.to);return t.resolve(c)}),r=we(()=>{const{matched:c}=s.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const d=f.findIndex(Sr.bind(null,l));if(d>-1)return d;const h=id(c[u-2]);return u>1&&id(l)===h&&f[f.length-1].path!==h?f.findIndex(Sr.bind(null,c[u-2])):d}),o=we(()=>r.value>-1&&dR(n.params,s.value.params)),i=we(()=>r.value>-1&&r.value===n.matched.length-1&&A_(n.params,s.value.params));function a(c={}){return fR(c)?t[he(e.replace)?"replace":"push"](he(e.to)).catch(ro):Promise.resolve()}return{route:s,href:we(()=>s.value.href),isActive:o,isExactActive:i,navigate:a}}const lR=dn({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:od,setup(e,{slots:t}){const n=In(od(e)),{options:s}=ut(uu),r=we(()=>({[ad(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ad(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:yt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),uR=lR;function fR(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 dR(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!un(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function id(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ad=(e,t,n)=>e??t??n,hR=dn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ut(Yc),r=we(()=>e.route||s.value),o=ut(rd,0),i=we(()=>{let u=he(o);const{matched:l}=r.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),a=we(()=>r.value.matched[i.value]);Fs(rd,we(()=>i.value+1)),Fs(cR,a),Fs(Yc,r);const c=lt();return Ot(()=>[c.value,a.value,e.name],([u,l,f],[d,h,g])=>{l&&(l.instances[f]=u,h&&h!==l&&u&&u===d&&(l.leaveGuards.size||(l.leaveGuards=h.leaveGuards),l.updateGuards.size||(l.updateGuards=h.updateGuards))),u&&l&&(!h||!Sr(l,h)||!d)&&(l.enterCallbacks[f]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=r.value,l=e.name,f=a.value,d=f&&f.components[l];if(!d)return cd(n.default,{Component:d,route:u});const h=f.props[l],g=h?h===!0?u.params:typeof h=="function"?h(u):h:null,A=yt(d,Ce({},g,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return cd(n.default,{Component:A,route:u})||A}}});function cd(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const L_=hR;function pR(e){const t=tR(e.routes,e),n=e.parseQuery||iR,s=e.stringifyQuery||sd,r=e.history,o=jr(),i=jr(),a=jr(),c=vr(nn);let u=nn;nr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Ya.bind(null,U=>""+U),f=Ya.bind(null,OI),d=Ya.bind(null,yo);function h(U,Z){let Q,ne;return I_(U)?(Q=t.getRecordMatcher(U),ne=Z):ne=U,t.addRoute(ne,Q)}function g(U){const Z=t.getRecordMatcher(U);Z&&t.removeRoute(Z)}function m(){return t.getRoutes().map(U=>U.record)}function A(U){return!!t.getRecordMatcher(U)}function C(U,Z){if(Z=Ce({},Z||c.value),typeof U=="string"){const L=za(n,U,Z.path),k=t.resolve({path:L.path},Z),B=r.createHref(L.fullPath);return Ce(L,k,{params:d(k.params),hash:yo(L.hash),redirectedFrom:void 0,href:B})}let Q;if(U.path!=null)Q=Ce({},U,{path:za(n,U.path,Z.path).path});else{const L=Ce({},U.params);for(const k in L)L[k]==null&&delete L[k];Q=Ce({},U,{params:f(L)}),Z.params=f(Z.params)}const ne=t.resolve(Q,Z),ye=U.hash||"";ne.params=l(d(ne.params));const Oe=PI(s,Ce({},U,{hash:II(ye),path:ne.path})),I=r.createHref(Oe);return Ce({fullPath:Oe,hash:ye,query:s===sd?aR(U.query):U.query||{}},ne,{redirectedFrom:void 0,href:I})}function O(U){return typeof U=="string"?za(n,U,c.value.path):Ce({},U)}function p(U,Z){if(u!==U)return Ir(8,{from:Z,to:U})}function E(U){return R(U)}function y(U){return E(Ce(O(U),{replace:!0}))}function v(U){const Z=U.matched[U.matched.length-1];if(Z&&Z.redirect){const{redirect:Q}=Z;let ne=typeof Q=="function"?Q(U):Q;return typeof ne=="string"&&(ne=ne.includes("?")||ne.includes("#")?ne=O(ne):{path:ne},ne.params={}),Ce({query:U.query,hash:U.hash,params:ne.path!=null?{}:U.params},ne)}}function R(U,Z){const Q=u=C(U),ne=c.value,ye=U.state,Oe=U.force,I=U.replace===!0,L=v(Q);if(L)return R(Ce(O(L),{state:typeof L=="object"?Ce({},ye,L.state):ye,force:Oe,replace:I}),Z||Q);const k=Q;k.redirectedFrom=Z;let B;return!Oe&&wI(s,ne,Q)&&(B=Ir(16,{to:k,from:ne}),Qe(ne,ne,!0,!1)),(B?Promise.resolve(B):w(k,ne)).catch($=>On($)?On($,2)?$:Bt($):se($,k,ne)).then($=>{if($){if(On($,2))return R(Ce({replace:I},O($.to),{state:typeof $.to=="object"?Ce({},ye,$.to.state):ye,force:Oe}),Z||k)}else $=M(k,ne,!0,I,ye);return F(k,ne,$),$})}function N(U,Z){const Q=p(U,Z);return Q?Promise.reject(Q):Promise.resolve()}function S(U){const Z=Jt.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(U):U()}function w(U,Z){let Q;const[ne,ye,Oe]=gR(U,Z);Q=Qa(ne.reverse(),"beforeRouteLeave",U,Z);for(const L of ne)L.leaveGuards.forEach(k=>{Q.push(os(k,U,Z))});const I=N.bind(null,U,Z);return Q.push(I),ft(Q).then(()=>{Q=[];for(const L of o.list())Q.push(os(L,U,Z));return Q.push(I),ft(Q)}).then(()=>{Q=Qa(ye,"beforeRouteUpdate",U,Z);for(const L of ye)L.updateGuards.forEach(k=>{Q.push(os(k,U,Z))});return Q.push(I),ft(Q)}).then(()=>{Q=[];for(const L of Oe)if(L.beforeEnter)if(un(L.beforeEnter))for(const k of L.beforeEnter)Q.push(os(k,U,Z));else Q.push(os(L.beforeEnter,U,Z));return Q.push(I),ft(Q)}).then(()=>(U.matched.forEach(L=>L.enterCallbacks={}),Q=Qa(Oe,"beforeRouteEnter",U,Z,S),Q.push(I),ft(Q))).then(()=>{Q=[];for(const L of i.list())Q.push(os(L,U,Z));return Q.push(I),ft(Q)}).catch(L=>On(L,8)?L:Promise.reject(L))}function F(U,Z,Q){a.list().forEach(ne=>S(()=>ne(U,Z,Q)))}function M(U,Z,Q,ne,ye){const Oe=p(U,Z);if(Oe)return Oe;const I=Z===nn,L=nr?history.state:{};Q&&(ne||I?r.replace(U.fullPath,Ce({scroll:I&&L&&L.scroll},ye)):r.push(U.fullPath,ye)),c.value=U,Qe(U,Z,Q,I),Bt()}let Y;function ue(){Y||(Y=r.listen((U,Z,Q)=>{if(!qn.listening)return;const ne=C(U),ye=v(ne);if(ye){R(Ce(ye,{replace:!0}),ne).catch(ro);return}u=ne;const Oe=c.value;nr&&BI(zf(Oe.fullPath,Q.delta),ha()),w(ne,Oe).catch(I=>On(I,12)?I:On(I,2)?(R(I.to,ne).then(L=>{On(L,20)&&!Q.delta&&Q.type===Eo.pop&&r.go(-1,!1)}).catch(ro),Promise.reject()):(Q.delta&&r.go(-Q.delta,!1),se(I,ne,Oe))).then(I=>{I=I||M(ne,Oe,!1),I&&(Q.delta&&!On(I,8)?r.go(-Q.delta,!1):Q.type===Eo.pop&&On(I,20)&&r.go(-1,!1)),F(ne,Oe,I)}).catch(ro)}))}let me=jr(),X=jr(),re;function se(U,Z,Q){Bt(U);const ne=X.list();return ne.length?ne.forEach(ye=>ye(U,Z,Q)):console.error(U),Promise.reject(U)}function Be(){return re&&c.value!==nn?Promise.resolve():new Promise((U,Z)=>{me.add([U,Z])})}
25function Bt(U){return re||(re=!U,ue(),me.list().forEach(([Z,Q])=>U?Q(U):Z()),me.reset()),U}function Qe(U,Z,Q,ne){const{scrollBehavior:ye}=e;if(!nr||!ye)return Promise.resolve();const Oe=!Q&&VI(zf(U.fullPath,0))||(ne||!Q)&&history.state&&history.state.scroll||null;return vs().then(()=>ye(U,Z,Oe)).then(I=>I&&FI(I)).catch(I=>se(I,U,Z))}const qe=U=>r.go(U);let hn;const Jt=new Set,qn={currentRoute:c,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:A,getRoutes:m,resolve:C,options:e,push:E,replace:y,go:qe,back:()=>qe(-1),forward:()=>qe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:X.add,isReady:Be,install(U){const Z=this;U.component("RouterLink",uR),U.component("RouterView",L_),U.config.globalProperties.$router=Z,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>he(c)}),nr&&!hn&&c.value===nn&&(hn=!0,E(r.location).catch(ye=>{}));const Q={};for(const ye in nn)Object.defineProperty(Q,ye,{get:()=>c.value[ye],enumerable:!0});U.provide(uu,Z),U.provide(fu,Vn(Q)),U.provide(Yc,c);const ne=U.unmount;Jt.add(U),U.unmount=function(){Jt.delete(U),Jt.size<1&&(u=nn,Y&&Y(),Y=null,c.value=nn,hn=!1,re=!1),ne()}}};function ft(U){return U.reduce((Z,Q)=>Z.then(()=>S(Q)),Promise.resolve())}return qn}function gR(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(u=>Sr(u,a))?s.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(u=>Sr(u,c))||r.push(c))}return[n,s,r]}function mR(e){return ut(fu)}const _R=/(:\w+)\([^)]+\)/g,yR=/(:\w+)[?+*]/g,ER=/:\w+/g,vR=(e,t)=>t.path.replace(_R,"$1").replace(yR,"$1").replace(ER,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""}),zc=(e,t)=>{const n=e.route.matched.find(r=>{var o;return((o=r.components)==null?void 0:o.default)===e.Component.type}),s=t??(n==null?void 0:n.meta.key)??(n&&vR(e.route,n));return typeof s=="function"?s(e.route):s},bR=(e,t)=>({default:()=>e?yt(Bv,e===!0?{}:e,t):t});function du(e){return Array.isArray(e)?e:[e]}const AR="modulepreload",TR=function(e,t){return new URL(e,t).href},ld={},G=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));r=Promise.allSettled(n.map(u=>{if(u=TR(u,s),u in ld)return;ld[u]=!0;const l=u.endsWith(".css"),f=l?'[rel="stylesheet"]':"";if(!!s)for(let g=i.length-1;g>=0;g--){const m=i[g];if(m.href===u&&(!l||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${f}`))return;const h=document.createElement("link");if(h.rel=l?"stylesheet":AR,l||(h.as="script"),h.crossOrigin="",h.href=u,c&&h.setAttribute("nonce",c),document.head.appendChild(h),l)return new Promise((g,m)=>{h.addEventListener("load",g),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return r.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},qa={layout:"default",isAnonymous:!0},ud={layout:"default",isAnonymous:!0},fd={layout:"iframe",isAnonymous:!0},dd={layout:"iframe",isAnonymous:!0},hd={layout:"iframe",isAnonymous:!0},pd={layout:"default",isAnonymous:!0},gd={layout:"documentation",isAnonymous:!0},md={layout:"documentation",isAnonymous:!0},_d={layout:"default",isAnonymous:!0},yd={layout:"default",isAnonymous:!0},Ed={layout:"default",isAnonymous:!0},vd={layout:"documentation",isAnonymous:!0},bd={layout:"documentation",isAnonymous:!0},Ad={layout:"documentation",isAnonymous:!0},Td={layout:"documentation",isAnonymous:!0},Sd={layout:"documentation",isAnonymous:!0},Id={layout:"default",isAnonymous:!0},Xa=[{name:"index",path:"/",meta:qa||{},component:()=>G(()=>import("./BZt7T6di.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)},{name:"403___de",path:"/de/403",component:()=>G(()=>import("./DCYqwtsl.js"),__vite__mapDeps([11,12,13,14,1,15,16,17,18,19]),import.meta.url)},{name:"403___en",path:"/en/403",component:()=>G(()=>import("./DCYqwtsl.js"),__vite__mapDeps([11,12,13,14,1,15,16,17,18,19]),import.meta.url)},{name:"404___de",path:"/de/404",component:()=>G(()=>import("./oHbKeSdh.js"),__vite__mapDeps([20,12,13,14,1,15,16,17,18,19]),import.meta.url)},{name:"404___en",path:"/en/404",component:()=>G(()=>import("./oHbKeSdh.js"),__vite__mapDeps([20,12,13,14,1,15,16,17,18,19]),import.meta.url)},{name:"500___de",path:"/de/500",component:()=>G(()=>import("./TyobbPz4.js"),__vite__mapDeps([21,12,13,14,1,15,16,17,18,19]),import.meta.url)},{name:"500___en",path:"/en/500",component:()=>G(()=>import("./TyobbPz4.js"),__vite__mapDeps([21,12,13,14,1,15,16,17,18,19]),import.meta.url)},{name:"error___de",path:"/de/error",component:()=>G(()=>import("./mA89KbNW.js"),[],import.meta.url)},{name:"error___en",path:"/en/error",component:()=>G(()=>import("./mA89KbNW.js"),[],import.meta.url)},{name:"explore___de",path:"/de/explore",meta:ud||{},component:()=>G(()=>import("./D9kR_42d.js"),__vite__mapDeps([22,23,24,25,26,27,2,3,1,4,5,6,7,28]),import.meta.url)},{name:"explore___en",path:"/en/explore",meta:ud||{},component:()=>G(()=>import("./D9kR_42d.js"),__vite__mapDeps([22,23,24,25,26,27,2,3,1,4,5,6,7,28]),import.meta.url)},{name:"iframe-doc-version-slug___de",path:"/de/iframe/:doc()/:version()/:slug(.*)
25*",meta:fd||{},component:()=>G(()=>import("./BgI-Lthp.js"),__vite__mapDeps([29,30,8,5,31,32,14,1,27,33,34,35,36,10,37,38,39,9,6,7,40,41,4,28,42]),import.meta.url)},{name:"iframe-doc-version-slug___en",path:"/en/iframe/:doc()/:version()/:slug(.*)*",meta:fd||{},component:()=>G(()=>import("./BgI-Lthp.js"),__vite__mapDeps([29,30,8,5,31,32,14,1,27,33,34,35,36,10,37,38,39,9,6,7,40,41,4,28,42]),import.meta.url)},{name:"iframe-deprecated-slug___de",path:"/de/iframe/deprecated/:slug(.*)*",meta:dd||{},component:()=>G(()=>import("./DyUAZeT0.js"),__vite__mapDeps([43,44,1,32,14,27,45,4,5,28,35,24,25,46,47,48,37,49,50,6,7,51,52,53,34,8,36,54]),import.meta.url)},{name:"iframe-deprecated-slug___en",path:"/en/iframe/deprecated/:slug(.*)*",meta:dd||{},component:()=>G(()=>import("./DyUAZeT0.js"),__vite__mapDeps([43,44,1,32,14,27,45,4,5,28,35,24,25,46,47,48,37,49,50,6,7,51,52,53,34,8,36,54]),import.meta.url)},{name:"iframe-deprecated___de",path:"/de/iframe/deprecated",meta:hd||{},component:()=>G(()=>import("./DvSULzLP.js"),__vite__mapDeps([55,44,1,32,14,27,45,4,5,28,35,24,25,46,47,48,37,49,50,6,7,51,52,53,34,8,36,54]),import.meta.url)},{name:"iframe-deprecated___en",path:"/en/iframe/deprecated",meta:hd||{},component:()=>G(()=>import("./DvSULzLP.js"),__vite__mapDeps([55,44,1,32,14,27,45,4,5,28,35,24,25,46,47,48,37,49,50,6,7,51,52,53,34,8,36,54]),import.meta.url)},{name:"index___de",path:"/de",meta:qa||{},component:()=>G(()=>import("./BZt7T6di.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)},{name:"index___en",path:"/en",meta:qa||{},component:()=>G(()=>import("./BZt7T6di.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url)},{name:"knowledge-id___de",path:"/de/knowledge/:id()",meta:pd||{},component:()=>G(()=>import("./DmW7YrAJ.js"),__vite__mapDeps([56,5,6,7]),import.meta.url)},{name:"knowledge-id___en",path:"/en/knowledge/:id()",meta:pd||{},component:()=>G(()=>import("./DmW7YrAJ.js"),__vite__mapDeps([56,5,6,7]),import.meta.url)},{name:"pub-doc-version-slug___de",path:"/de/pub/:doc()/:version()/:slug(.*)*",meta:gd||{},component:()=>G(()=>import("./DkTSyT63.js"),__vite__mapDeps([57,30,8,5,31,32,14,1,27,33,34,35,36,10,37,38,39,9,6,7,40,4,28,58]),import.meta.url)},{name:"pub-doc-version-slug___en",path:"/en/pub/:doc()/:version()/:slug(.*)*",meta:gd||{},component:()=>G(()=>import("./DkTSyT63.js"),__vite__mapDeps([57,30,8,5,31,32,14,1,27,33,34,35,36,10,37,38,39,9,6,7,40,4,28,58]),import.meta.url)},{name:"pub-doc___de",path:"/de/pub/:doc()",meta:md||{},component:()=>G(()=>import("./D_q97b6H.js"),[],import.meta.url)},{name:"pub-doc___en",path:"/en/pub/:doc()",meta:md||{},component:()=>G(()=>import("./D_q97b6H.js"),[],import.meta.url)},{name:"search-403___de",path:"/de/search/403",meta:_d||{},component:()=>G(()=>import("./o2acxQfx.js"),__vite__mapDeps([59,52,1,53,34,8,5,36,54,4]),import.meta.url)},{name:"search-403___en",path:"/en/search/403",meta:_d||{},component:()=>G(()=>import("./o2acxQfx.js"),__vite__mapDeps([59,52,1,53,34,8,5,36,54,4]),import.meta.url)},{name:"search-404___de",path:"/de/search/404",meta:yd||{},component:()=>G(()=>import("./ayYFTEYw.js"),__vite__mapDeps([60,52,1,53,34,8,5,36,54,4]),import.meta.url)},{name:"search-404___en",path:"/en/search/404",meta:yd||{},component:()=>G(()=>import("./ayYFTEYw.js"),__vite__mapDeps([60,52,1,53,34,8,5,36,54,4]),import.meta.url)},{name:"search___de",path:"/de/search",meta:Ed||{},component:()=>G(()=>import("./CUVx70VS.js"),__vite__mapDeps([61,8,5,53,34,62,9,38,35,14,1,6,7,28]),import.meta.url)},{name:"search___en",path:"/en/search",meta:Ed||{},component:()=>G(()=>import("./CUVx70VS.js"),__vite__mapDeps([61,8,5,53,34,62,9,38,35,14,1,6,7,28]),import.meta.url)},{name:"search-result-id___de",path:"/de/search/result/:id()",component:()=>G(()=>import("./D5mky-vt.js"),[],import.meta.url)},{name:"search-result-id___en",path:"/en/search/result/:id()",component:()=>G(()=>import("./D5mky-vt.js"),[],import.meta.url)},{name:"test___de",path:"/de/test",meta:vd||{},component:()=>G(()=>import("./CK9Jp-1B.js"),__vite__mapDeps([63,4,5]),import.meta.url)},{name:"test___en",path:"/en/test",meta:vd||{},component:()=>G(()=>import("./CK9Jp-1B.js"),__vite__mapDeps([63,4,5]),import.meta.url)},{name:"test-section___de",path:"/de/test/section",meta:bd||{},component:()=>G(()=>import("./B5WyEakO.js"),__vite__mapDeps([64,47,48,1,37,49,50,6,7,4,5,51,46]),import.meta.url)},{name:"test-section___en",path:"/en/test/section",meta:bd||{},component:()=>G(()=>import("./B5WyEakO.js"),__vite__mapDeps([64,47,48,1,37,49,50,6,7,4,5,51,46]),import.meta.url)},{name:"test-start___de",path:"/de/test/start",meta:Ad||{},component:()=>G(()=>import("./CuLQYoVz.js"),__vite__mapDeps([65,47,48,1,37,49,50,6,7,4,5,51,46]),import.meta.url)},{name:"test-start___en",path:"/en/test/start",meta:Ad||{},component:()=>G(()=>import("./CuLQYoVz.js"),__vite__mapDeps([65,47,48,1,37,49,50,6,7,4,5,51,46]),import.meta.url)},{name:"test-toc___de",path:"/de/test/toc",meta:Td||{},component:()=>G(()=>import("./Cw3wPUSn.js"),__vite__mapDeps([66,44,1,32,14,27,45,4,5,28,35,24,25,46]),import.meta.url)},{name:"test-toc___en",path:"/en/test/toc",meta:Td||{},component:()=>G(()=>import("./Cw3wPUSn.js"),__vite__mapDeps([66,44,1,32,14,27,45,4,5,28,35,24,25,46]),import.meta.url)},{name:"test-version___de",path:"/de/test/version",meta:Sd||{},component:()=>G(()=>import("./Db3W2KOn.js"),__vite__mapDeps([67,4,5]),import.meta.url)},{name:"test-version___en",path:"/en/test/version",meta:Sd||{},component:()=>G(()=>import("./Db3W2KOn.js"),__vite__mapDeps([67,4,5]),import.meta.url)},{name:"testing___de",path:"/de/testing",meta:Id||{},component:()=>G(()=>import("./C9TVH3XR.js"),[],import.meta.url)},{name:"testing___en",path:"/en/testing",meta:Id||{},component:()=>G(()=>import("./C9TVH3XR.js"),[],import.meta.url)}],N_=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var s;return t?yt(e,t,n):(s=n.default)==null?void 0:s.call(n)}}),SR=/(:\w+)\([^)]+\)/g,IR=/(:\w+)[?+*]/g,RR=/:\w+/g;function Rd(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(SR,"$1").replace(IR,"$1").replace(RR,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""});return typeof t=="function"?t(e):t}function CR(e,t){return e===t||t===nn?!1:Rd(e)!==Rd(t)?!0:!e.matched.every((s,r)=>{var o,i;return s.components&&s.components.default===((i=(o=t.matched[r])==null?void 0:o.components)==null?void 0:i.default)})}const OR={scrollBehavior(e,t,n){var u;const s=be(),r=((u=Nt().options)==null?void 0:u.scrollBehaviorType)??"auto";let o=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!o&&t&&e&&i!==!1&&CR(e,t)&&(o={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Cd(e.hash),behavior:r}:!1;const a=l=>!!(l.meta.pageTransition??Dc),c=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(l=>{s.hooks.hookOnce(c,async()=>{await new Promise(f=>setTimeout(f,0)),e.hash&&(o={el:e.hash,top:Cd(e.hash),behavior:r}),l(o)})})}};function Cd(e){try{const t=document.querySelector(e);
25if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const LR={hashMode:!1,scrollBehaviorType:"auto"},Ht={...LR,...OR},NR=async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const s=be(),r=Nt(),o=([t,n]=an(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(o===!0)return;const i=fa({statusCode:o&&o.statusCode||404,statusMessage:o&&o.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=r.beforeResolve(u=>{if(a(),u===e){const l=r.afterEach(async()=>{l(),await s.runWithContext(()=>ar(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},PR=!1;/*!
26 * pinia v2.2.6
27 * (c) 2024 Eduardo San Martin Morote
28 * @license MIT
29 */let P_;const Do=e=>P_=e,w_=Symbol();function Qc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var io;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(io||(io={}));function wR(){const e=Oo(!0),t=e.run(()=>lt({}));let n=[],s=[];const r=Hl({install(o){Do(r),r._a=o,o.provide(w_,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return!this._a&&!PR?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const D_=()=>{};function Od(e,t,n,s=D_){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Lo()&&yi(r),r}function Qs(e,...t){e.slice().forEach(n=>{n(...t)})}const DR=e=>e(),Ld=Symbol(),Ja=Symbol();function qc(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];Qc(r)&&Qc(s)&&e.hasOwnProperty(n)&&!Ne(s)&&!bn(s)?e[n]=qc(r,s):e[n]=s}return e}const kR=Symbol();function MR(e){return!Qc(e)||!e.hasOwnProperty(kR)}const{assign:es}=Object;function xR(e){return!!(Ne(e)&&e.effect)}function $R(e,t,n,s){const{state:r,actions:o,getters:i}=t,a=n.state.value[e];let c;function u(){a||(n.state.value[e]=r?r():{});const l=Av(n.state.value[e]);return es(l,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=Hl(we(()=>{Do(n);const h=n._s.get(e);return i[d].call(h,h)})),f),{}))}return c=k_(e,u,t,n,s,!0),c}function k_(e,t,n={},s,r,o){let i;const a=es({actions:{}},n),c={deep:!0};let u,l,f=[],d=[],h;const g=s.state.value[e];!o&&!g&&(s.state.value[e]={}),lt({});let m;function A(N){let S;u=l=!1,typeof N=="function"?(N(s.state.value[e]),S={type:io.patchFunction,storeId:e,events:h}):(qc(s.state.value[e],N),S={type:io.patchObject,payload:N,storeId:e,events:h});const w=m=Symbol();vs().then(()=>{m===w&&(u=!0)}),l=!0,Qs(f,S,s.state.value[e])}const C=o?function(){const{state:S}=n,w=S?S():{};this.$patch(F=>{es(F,w)})}:D_;function O(){i.stop(),f=[],d=[],s._s.delete(e)}const p=(N,S="")=>{if(Ld in N)return N[Ja]=S,N;const w=function(){Do(s);const F=Array.from(arguments),M=[],Y=[];function ue(re){M.push(re)}function me(re){Y.push(re)}Qs(d,{args:F,name:w[Ja],store:y,after:ue,onError:me});let X;try{X=N.apply(this&&this.$id===e?this:y,F)}catch(re){throw Qs(Y,re),re}return X instanceof Promise?X.then(re=>(Qs(M,re),re)).catch(re=>(Qs(Y,re),Promise.reject(re))):(Qs(M,X),X)};return w[Ld]=!0,w[Ja]=S,w},E={_p:s,$id:e,$onAction:Od.bind(null,d),$patch:A,$reset:C,$subscribe(N,S={}){const w=Od(f,N,S.detached,()=>F()),F=i.run(()=>Ot(()=>s.state.value[e],M=>{(S.flush==="sync"?l:u)&&N({storeId:e,type:io.direct,events:h},M)},es({},c,S)));return w},$dispose:O},y=In(E);s._s.set(e,y);const R=(s._a&&s._a.runWithContext||DR)(()=>s._e.run(()=>(i=Oo()).run(()=>t({action:p}))));for(const N in R){const S=R[N];if(Ne(S)&&!xR(S)||bn(S))o||(g&&MR(S)&&(Ne(S)?S.value=g[N]:qc(S,g[N])),s.state.value[e][N]=S);else if(typeof S=="function"){const w=p(S,N);R[N]=w,a.actions[N]=S}}return es(y,R),es(_e(y),R),Object.defineProperty(y,"$state",{get:()=>s.state.value[e],set:N=>{A(S=>{es(S,N)})}}),s._p.forEach(N=>{es(y,i.run(()=>N({store:y,app:s._a,pinia:s,options:a})))}),g&&o&&n.hydrate&&n.hydrate(y.$state,g),u=!0,l=!0,y}/*! #__NO_SIDE_EFFECTS__ */function UR(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function i(a,c){const u=Jl();return a=a||(u?ut(w_,null):null),a&&Do(a),a=P_,a._s.has(s)||(o?k_(s,t,r,a):$R(s,r,a)),a._s.get(s)}return i.$id=s,i}function BB(e){{const t=_e(e),n={};for(const s in t){const r=t[s];(Ne(r)||bn(r))&&(n[s]=jl(e,s))}return n}}const M_=UR({id:"userStore",state:()=>({isLoggedIn:!1,user:null})}),FR=(e,t)=>{let s=it().public.selfUri+"/signin?redirectUri="+e;return t&&(s+="&prompt="+encodeURIComponent(t)),s},BR=()=>{const e=it();return e.public.apiUrl+"/signout?redirect="+e.public.selfUri},x_=()=>({...{getSignOutUri:BR,getLoginUri:FR},...{status:"ok"}}),VR=async(e,t)=>{if(!e.meta.isAnonymous&&e.fullPath!=="/"){if(!M_().isLoggedIn){const s=it(),r=x_();return iu(r.getLoginUri(s.public.selfUri+$r().fullPath),{external:!0})}}},HR=async e=>{let t,n;const s=([t,n]=an(()=>cu(e.path)),t=await t,n(),t);
29if(s.redirect)return Rn(s.redirect,{acceptRelative:!0})?(window.location.href=s.redirect,!1):s.redirect},jR=[NR,VR,HR],ao={};function GR(e,t,n){const{pathname:s,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){const u=o.includes(e.slice(i))?e.slice(i).length:1;let l=o.slice(u);return l[0]!=="/"&&(l="/"+l),Cf(l,"")}const a=Cf(s,e),c=!n||Lc(a,n,{trailingSlash:!0})?a:n;return c+(c.includes("?")?"":r)+o}const KR=ot({name:"nuxt:router",enforce:"pre",async setup(e){var A;let t,n,s=it().app.baseURL;Ht.hashMode&&!s.includes("#")&&(s+="#");const r=((A=Ht.history)==null?void 0:A.call(Ht,s))??(Ht.hashMode?KI(s):S_(s)),o=Ht.routes?([t,n]=an(()=>Ht.routes(Xa)),t=await t,n(),t??Xa):Xa;let i;const a=pR({...Ht,scrollBehavior:(C,O,p)=>{if(O===nn){i=p;return}if(Ht.scrollBehavior){if(a.options.scrollBehavior=Ht.scrollBehavior,"scrollRestoration"in window.history){const E=a.beforeEach(()=>{E(),window.history.scrollRestoration="manual"})}return Ht.scrollBehavior(C,nn,i||p)}},history:r,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const c=vr(a.currentRoute.value);a.afterEach((C,O)=>{c.value=O}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=GR(s,window.location,e.payload.path),l=vr(a.currentRoute.value),f=()=>{l.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((C,O)=>{var p,E,y,v;((E=(p=C.matched[0])==null?void 0:p.components)==null?void 0:E.default)===((v=(y=O.matched[0])==null?void 0:y.components)==null?void 0:v.default)&&f()});const d={};for(const C in l.value)Object.defineProperty(d,C,{get:()=>l.value[C],enumerable:!0});e._route=Vn(d),e._middleware=e._middleware||{global:[],named:{}};const h=ua();a.afterEach(async(C,O,p)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(uS),p&&await e.callHook("page:loading:end")});try{[t,n]=an(()=>a.isReady()),await t,n()}catch(C){[t,n]=an(()=>e.runWithContext(()=>ar(C))),await t,n()}const g=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value;f();const m=e.payload.state._layout;return a.beforeEach(async(C,O)=>{var p;await e.callHook("page:loading:start"),C.meta=In(C.meta),e.isHydrating&&m&&!ps(C.meta.layout)&&(C.meta.layout=m),e._processingMiddleware=!0;{const E=new Set([...jR,...e._middleware.global]);for(const y of C.matched){const v=y.meta.middleware;if(v)for(const R of du(v))E.add(R)}{const y=await e.runWithContext(()=>cu(C.path));if(y.appMiddleware)for(const v in y.appMiddleware)y.appMiddleware[v]?E.add(v):E.delete(v)}for(const y of E){const v=typeof y=="string"?e._middleware.named[y]||await((p=ao[y])==null?void 0:p.call(ao).then(N=>N.default||N)):y;if(!v)throw new Error(`Unknown route middleware: '${y}'.`);const R=await e.runWithContext(()=>v(C,O));if(!e.payload.serverRendered&&e.isHydrating&&(R===!1||R instanceof Error)){const N=R||$c({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>ar(N)),!1}if(R!==!0&&(R||R===!1))return R}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(C,O)=>{C.matched.length===0&&await e.runWithContext(()=>ar($c({statusCode:404,fatal:!1,statusMessage:`Page not found: ${C.fullPath}`,data:{path:C.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in g&&(g.name=void 0),await a.replace({...g,force:!0}),a.options.scrollBehavior=Ht.scrollBehavior}catch(C){await e.runWithContext(()=>ar(C))}}),{provide:{router:a}}}}),Nd=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),VB=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),hu=e=>{const t=be();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Nd(()=>e())}):Nd(()=>e())},WR=ot({name:"nuxt:payload",setup(e){Nt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Kf(t.path);s&&Object.assign(e.static.data,s.data)}),hu(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:s}=new URL(n,window.location.href);s===window.location.hostname&&await Kf(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(da,1e3)})}}),YR=ot(()=>{const e=Nt();hu(()=>
29{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),zR=ot(e=>{let t;async function n(){const s=await da();t&&clearTimeout(t),t=setTimeout(n,Pf);try{const r=await $fetch(ou("builds/latest.json")+`?${Date.now()}`);r.id!==s.id&&e.hooks.callHook("app:manifest:update",r)}catch{}}hu(()=>{t=setTimeout(n,Pf)})});function QR(e={}){const t=e.path||window.location.pathname;let n={};try{n=_o(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:be().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const qR=ot({name:"nuxt:chunk-reload",setup(e){const t=Nt(),n=it(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:o})=>{s.add(o)});function r(o){const a="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:xr(n.app.baseURL,o.fullPath);QR({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(r)}),t.onError((o,i)=>{s.has(o)&&r(i)})}}),XR="$s";function pu(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,s]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(s!==void 0&&typeof s!="function")throw new Error("[nuxt] [useState] init must be a function: "+s);const r=XR+n,o=be(),i=jl(o.payload.state,r);if(i.value===void 0&&s){const a=s();if(Ne(a))return o.payload.state[r]=a,a;i.value=a}return i}function JR(e){return{}}function sn(e){if(typeof e!="object")return e;var t,n,s=Object.prototype.toString.call(e);if(s==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=sn(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:sn(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=sn(e[t])}return n}if(s==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=sn(e[t]);return n}return s==="[object Set]"?(n=new Set,e.forEach(function(r){n.add(sn(r))}),n):s==="[object Map]"?(n=new Map,e.forEach(function(r,o){n.set(sn(o),sn(r))}),n):s==="[object Date]"?new Date(+e):s==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):s==="[object DataView]"?new e.constructor(sn(e.buffer)):s==="[object ArrayBuffer]"?e.slice(0):s.slice(-6)==="Array]"?new e.constructor(e):e}const ZR={path:"/",watch:!0,decode:e=>_o(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},Yo=window.cookieStore;function $_(e,t){var c;const n={...ZR,...t};n.filter??(n.filter=u=>u===e);const s=Pd(n)||{};let r;n.maxAge!==void 0?r=n.maxAge*1e3:n.expires&&(r=n.expires.getTime()-Date.now());const o=r!==void 0&&r<=0,i=sn(o?void 0:s[e]??((c=n.default)==null?void 0:c.call(n))),a=r&&!o?n0(i,r,n.watch&&n.watch!=="shallow"):lt(i);{let u=null;try{!Yo&&typeof BroadcastChannel<"u"&&(u=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const l=()=>{n.readonly||JT(a.value,s[e])||(t0(e,a.value,n),s[e]=sn(a.value),u==null||u.postMessage({value:n.encode(a.value)}))},f=g=>{var A;const m=g.refresh?(A=Pd(n))==null?void 0:A[e]:n.decode(g.value);d=!0,a.value=m,s[e]=sn(m),vs(()=>{d=!1})};let d=!1;const h=!!Lo();if(h&&yi(()=>{d=!0,l(),u==null||u.close()}),Yo){const g=m=>{const A=m.changed.find(O=>O.name===e),C=m.deleted.find(O=>O.name===e);A&&f({value:A.value}),C&&f({value:null})};Yo.addEventListener("change",g),h&&yi(()=>Yo.removeEventListener("change",g))}else u&&(u.onmessage=({data:g})=>f(g));n.watch?Ot(a,()=>{d||l()},{deep:n.watch!=="shallow"}):l()}return a}function Pd(e={}){return wT(document.cookie,e)}function e0(e,t,n={}){return t==null?Df(e,t,{...n,maxAge:-1}):Df(e,t,n)}function t0(e,t,n={}){document.cookie=e0(e,t,n)}const wd=2147483647;function n0(e,t,n){let s,r,o=0;const i=n?lt(e):{value:e};return Lo()&&yi(()=>{r==null||r(),clearTimeout(s)}),bv((a,c)=>
29{n&&(r=Ot(i,c));function u(){o=0,clearTimeout(s);const l=t-o,f=l<wd?l:wd;s=setTimeout(()=>{if(o+=f,o<t)return u();i.value=void 0,c()},f)}return{get(){return a(),i.value},set(l){u(),i.value=l,c()}}})}const s0=ot({name:"pinia",setup(e){const t=wR();return e.vueApp.use(t),Do(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),r0=le(()=>G(()=>import("./Dg8AeIUo.js"),__vite__mapDeps([68,1]),import.meta.url).then(e=>e.default||e.default||e)),o0=le(()=>G(()=>import("./vz0hY70l.js"),__vite__mapDeps([69,1]),import.meta.url).then(e=>e.default||e.default||e)),i0=le(()=>G(()=>import("./CvGJ3nO5.js"),__vite__mapDeps([70,2,3,1]),import.meta.url).then(e=>e.default||e.default||e)),a0=le(()=>G(()=>import("./9riYte3T.js"),__vite__mapDeps([71,1,72]),import.meta.url).then(e=>e.default||e.default||e)),c0=le(()=>G(()=>import("./DTtOYfsf.js"),__vite__mapDeps([73,23,24,25,26,27]),import.meta.url).then(e=>e.default||e.default||e)),l0=le(()=>G(()=>import("./DaSkolg6.js"),__vite__mapDeps([74,1,27,26,25]),import.meta.url).then(e=>e.default||e.default||e)),u0=le(()=>G(()=>import("./Bo4vxYB_.js"),__vite__mapDeps([75,3,1]),import.meta.url).then(e=>e.default||e.default||e)),f0=le(()=>G(()=>import("./DMtc_uxO.js"),[],import.meta.url).then(e=>e.default||e.default||e)),d0=le(()=>G(()=>import("./CYb59p8v.js"),[],import.meta.url).then(e=>e.default||e.default||e)),h0=le(()=>G(()=>import("./C5uXNafF.js"),[],import.meta.url).then(e=>e.default||e.default||e)),p0=le(()=>G(()=>import("./D_GCyXRl.js"),__vite__mapDeps([12,13,14,1,15,16,17,18,19]),import.meta.url).then(e=>e.default||e.default||e)),g0=le(()=>G(()=>import("./Ct-z0pvD.js"),[],import.meta.url).then(e=>e.default||e.default||e)),m0=le(()=>G(()=>import("./CPyJvw3e.js"),__vite__mapDeps([76,50]),import.meta.url).then(e=>e.default||e.default||e)),_0=le(()=>G(()=>import("./CNfnBSIg.js"),__vite__mapDeps([47,48,1,37,49,50,6,7,4,5,51]),import.meta.url).then(e=>e.default||e.default||e)),y0=le(()=>G(()=>import("./lLPRGAWr.js"),[],import.meta.url).then(e=>e.default||e.default||e)),E0=le(()=>G(()=>import("./CNCzjbUK.js"),__vite__mapDeps([77,78]),import.meta.url).then(e=>e.default||e.default||e)),v0=le(()=>G(()=>import("./Cql1o6X2.js"),__vite__mapDeps([79,32,14,1,27]),import.meta.url).then(e=>e.default||e.default||e)),b0=le(()=>G(()=>import("./A5Me-r-V.js"),__vite__mapDeps([80,14,1]),import.meta.url).then(e=>e.default||e.default||e)),A0=le(()=>G(()=>import("./D5GPWZU-.js"),__vite__mapDeps([81,13]),import.meta.url).then(e=>e.default||e.default||e)),T0=le(()=>G(()=>import("./BKkfsOy3.js"),__vite__mapDeps([82,17]),import.meta.url).then(e=>e.default||e.default||e)),S0=le(()=>G(()=>import("./wevrlNAt.js"),[],import.meta.url).then(e=>e.default||e.default||e)),I0=le(()=>G(()=>import("./rkYgWSx3.js"),__vite__mapDeps([83,14,1,27]),import.meta.url).then(e=>e.default||e.default||e)),R0=le(()=>G(()=>import("./C0m8IMGx.js"),[],import.meta.url).then(e=>e.default||e.default||e)),C0=le(()=>G(()=>import("./DBGTk4H6.js"),__vite__mapDeps([84,41,7]),import.meta.url).then(e=>e.default||e.default||e)),O0=le(()=>G(()=>import("./BR7Zvsnw.js"),__vite__mapDeps([85,12,13,14,1,15,16,17,18,19,86]),import.meta.url).then(e=>e.default||e.default||e)),L0=le(()=>G(()=>import("./BTNuxgll.js"),__vite__mapDeps([87,1,12,13,14,15,16,17,18,19,6,7,37]),import.meta.url).then(e=>e.default||e.default||e)),N0=le(()=>G(()=>import("./DFo7tRml.js"),__vite__mapDeps([88,1,89,30,8,5,31,90,91,78,12,13,14,15,16,17,18,19,9,28,10,92]),import.meta.url).then(e=>e.default||e.default||e)),P0=le(()=>G(()=>import("./CYOsFEXT.js"),[],import.meta.url).then(e=>e.default||e.default||e)),w0=le(()=>G(()=>import("./B75J9bKu.js"),__vite__mapDeps([93,32,14,1,27,45]),import.meta.url).then(e=>e.default||e.default||e)),D0=le(()=>G(()=>import("./BD_ePXwK.js"),__vite__mapDeps([94,1,6,7,37]),import.meta.url).then(e=>e.default||e.default||e)),k0=le(()=>G(()=>import("./vtETGqnw.js"),__vite__mapDeps([95,96]),import.meta.url).then(e=>e.default||e.default||e)),M0=le(()=>G(()=>import("./D9pM1Sig.js"),__vite__mapDeps([97,48,1,37]),import.meta.url).then(e=>e.default||e.default||e)),x0=le(()=>G(()=>import("./BmQ0ttvU.js"),__vite__mapDeps([90,1,91]),import.meta.url).then(e=>e.default||e.default||e)),$0=le(()=>G(()=>import("./BImdr5QN.js"),__vite__mapDeps([98,1]),import.meta.url).then(e=>e.default||e.default||e)),U0=le(()=>G(()=>import("./BiqUecOC.js"),__vite__mapDeps([99,49,1]),import.meta.url).then(e=>e.default||e.default||e)),F0=le(()=>G(()=>import("./Dqjj9_8Y.js"),__vite__mapDeps([30,8,5,31]),import.meta.url).then(e=>e.default||e.default||e)),B0=le(()=>G(()=>import("./CrIva8XL.js"),__vite__mapDeps([100,89,1]),import.meta.url).then(e=>e.default||e.default||e)),V0=le(()=>G(()=>import("./BkzEa1TL.js"),__vite__mapDeps([101,102]),import.meta.url).then(e=>e.default||e.default||e)),H0=le(()=>G(()=>import("./EkeIOkeV.js"),__vite__mapDeps([52,1,53,34,8,5,36,54]),import.meta.url).then(e=>e.default||e.default||e)),j0=le(()=>G(()=>import("./Bw3O7JNY.js"),__vite__mapDeps([103,44,1,32,14,27,45,4,5,28,35,24,25]
29),import.meta.url).then(e=>e.default||e.default||e)),G0=le(()=>G(()=>import("./C1BHr2Lf.js"),__vite__mapDeps([104,1]),import.meta.url).then(e=>e.default||e.default||e)),K0=le(()=>G(()=>import("./Dbtsxyfo.js"),__vite__mapDeps([105,45,1]),import.meta.url).then(e=>e.default||e.default||e)),W0=[["DvButton",r0],["DvButtonLink",o0],["DvCard",i0],["DvCardImage",a0],["DvDocumentationFilter",c0],["DvDropDown",l0],["DvDynamicLink",u0],["DvEmojiHappy",f0],["DvEmojiNeutral",d0],["DvEmojiSad",h0],["DvFeedback",p0],["DvLineBG",g0],["DvPageNotFound",m0],["DvSection",_0],["DvShadowButtom",y0],["DvToolTip",E0],["DvVersionPicker",v0],["DvButtonsButton",b0],["DvFeedbackRating",A0],["DvFormsBulletlist",T0],["DvFormsInput",S0],["DvFormsSelectMenu",I0],["DvFormsTextarea",R0],["LayoutChatbot",C0],["LayoutFooter",O0],["LayoutNavTitle",L0],["LayoutNavigation",N0],["LayoutOnthispage",P0],["LayoutSidebar",w0],["LayoutTitle",D0],["LayoutVersionPicker",k0],["NavigationBreadcrumb",M0],["NavigationDropDown",x0],["NavigationIndexCard",$0],["NavigationIndexCards",U0],["NavigationLanguagePicker",F0],["NavigationLink",B0],["NavigationPagination",V0],["NavigationSearchPopupAutocomplete",H0],["NavigationSidebar",j0],["NavigationTocChilds",G0],["NavigationTocList",K0]],Y0=ot({name:"nuxt:global-components",setup(e){for(const[t,n]of W0)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),cs={default:()=>G(()=>import("./DWF1G2F3.js"),__vite__mapDeps([106,41,7,88,1,89,30,8,5,31,90,91,78,12,13,14,15,16,17,18,19,9,28,10,92,85,86,107,53,34,62,38,35,108,109]),import.meta.url),documentation:()=>G(()=>import("./BpK_mnlm.js"),__vite__mapDeps([110,41,7,88,1,89,30,8,5,31,90,91,78,12,13,14,15,16,17,18,19,9,28,10,92,85,86,107,53,34,62,38,35,108,40,111,112]),import.meta.url),iframe:()=>G(()=>import("./BO1uu0NU.js"),__vite__mapDeps([113,107,1,9,8,5,53,34,62,38,35,14,28,18,108,40,111]),import.meta.url)},z0=ot({name:"nuxt:prefetch",setup(e){const t=Nt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var r;const s=(r=n==null?void 0:n.meta)==null?void 0:r.layout;s&&typeof cs[s]=="function"&&await cs[s]()})}),e.hooks.hook("link:prefetch",n=>{if(Rn(n))return;const s=t.resolve(n);if(!s)return;const r=s.meta.layout;let o=du(s.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof ao[i]=="function"&&ao[i]();r&&typeof cs[r]=="function"&&cs[r]()})}});/*!
30  * shared v9.14.1
31  * (c) 2024 kazuya kawaguchi
32  * Released under the MIT License.
33  */const Ui=typeof window<"u",bs=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Q0=(e,t,n)=>q0({l:e,k:t,s:n}),q0=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),rt=e=>typeof e=="number"&&isFinite(e),X0=e=>F_(e)==="[object Date]",Fi=e=>F_(e)==="[object RegExp]",pa=e=>Ee(e)&&Object.keys(e).length===0,Ye=Object.assign;let Dd;const gu=()=>Dd||(Dd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function kd(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const J0=Object.prototype.hasOwnProperty;function Bi(e,t){return J0.call(e,t)}const We=Array.isArray,Re=e=>typeof e=="function",q=e=>typeof e=="string",He=e=>typeof e=="boolean",Z0=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",eC=e=>ge(e)&&Re(e.then)&&Re(e.catch),U_=Object.prototype.toString,F_=e=>U_.call(e),Ee=e=>{if(!ge(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},tC=e=>e==null?"":We(e)||Ee(e)&&e.toString===U_?JSON.stringify(e,null,2):String(e);function mu(e,t=""){return e.reduce((n,s,r)=>r===0?n+s:n+t+s,"")}function ga(e){let t=e;return()=>++t}function nC(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const zo=e=>!ge(e)||We(e);function Bs(e,t){if(zo(e)||zo(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:r}=n.pop();Object.keys(s).forEach(o=>{ge(s[o])&&!ge(r[o])&&(r[o]=Array.isArray(s[o])?[]:{}),zo(r[o])||zo(s[o])?r[o]=s[o]:n.push({src:s[o],des:r[o]})})}}const Rr=["de","en"],Vi={de:[{key:"../locales/de.json",load:()=>G(()=>import("./D83U_9h2.js"),[],import.meta.url),cache:!0}],en:[{key:"../locales/en.json",load:()=>G(()=>import("./cftaM_jj.js"),[],import.meta.url),cache:!0}]},sC=[()=>G(()=>import("./D9xCeiM5.js"),__vite__mapDeps([114,115,116]),import.meta.url)],ma=[{
33code:"de",dir:"ltr",language:"de",files:[{path:"/app/locales/de.json"}]},{code:"en",dir:"ltr",language:"en",files:[{path:"/app/locales/en.json"}]}],B_="@nuxtjs/i18n",rC=!1,oC=!1,iC="nuxtI18n",aC="i18n_redirected",Md="nuxt-i18n-slp",cC=typeof window<"u";function lC(e){e=e||[];const t=[];for(const n of e)q(n)?t.push({code:n}):t.push(n);return t}function uC(e){return e!=null&&"global"in e&&"mode"in e}function fC(e){return e!=null&&!("__composer"in e)&&"locale"in e&&Ne(e.locale)}function V_(e){return e!=null&&"__composer"in e}function As(e){return uC(e)?e.global:e}function Cr(e){const t=As(e);return fC(t)?t:V_(t)?t.__composer:t}function _a(e){return he(As(e).locale)}function dC(e){return he(As(e).locales)}function hC(e){return he(As(e).localeCodes)}function H_(e,t){const n=As(e);Ne(n.locale)?n.locale.value=t:n.locale=t}function j_(e){return q(e)?e:Z0(e)?e.toString():"(null)"}function xd(e,t,{defaultLocale:n,strategy:s,routesNameSeparator:r,defaultLocaleRouteNameSuffix:o,differentDomains:i}){const a=s!=="no_prefix"||i;let c=j_(e)+(a?r+t:"");return t===n&&s==="prefix_and_default"&&(c+=r+o),c}function $d(e,t){return Re(e)?e(t):e}function pC(e,t){const n=[];for(const[s,r]of t.entries()){const o=e.find(i=>i.language.toLowerCase()===r.toLowerCase());if(o){n.push({code:o.code,score:1-s/t.length});break}}for(const[s,r]of t.entries()){const o=r.split("-")[0].toLowerCase(),i=e.find(a=>a.language.split("-")[0].toLowerCase()===o);if(i){n.push({code:i.code,score:.999-s/t.length});break}}return n}const gC=pC;function mC(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const _C=mC;function yC(e,t,{matcher:n=gC,comparer:s=_C}={}){const r=[];for(const i of e){const{code:a}=i,c=i.language||a;r.push({code:a,language:c})}const o=n(r,t);return o.length>1&&o.sort(s),o.length?o[0].code:""}function _u(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const co=new Map;async function EC(e,t){const n={messages:{}};for(const s of e){const{default:r}=await s(),o=Re(r)?await t.runWithContext(async()=>await r()):r;Bs(o,n)}return n}function G_(e,t){let n=[];if(We(e))n=e;else if(ge(e)){const s=[...t,"default"];for(const r of s)e[r]&&(n=[...n,...e[r].filter(Boolean)])}else q(e)&&t.every(s=>s!==e)&&n.push(e);return n}async function vC(e,t,n){const{defaultLocale:s,initialLocale:r,localeCodes:o,fallbackLocale:i,lazy:a}=n;if(a&&i){const u=G_(i,[s,r]);await Promise.all(u.map(l=>Ud(l,t,e)))}const c=a?[...new Set().add(s).add(r)]:o;return await Promise.all(c.map(u=>Ud(u,t,e))),e}async function bC(e,{key:t,load:n}){let s=null;try{const r=await n().then(o=>o.default||o);Re(r)?s=await r(e):(s=r,s!=null&&co&&co.set(t,s))}catch(r){console.error("Failed locale loading: "+r.message)}return s}async function Hi(e,t,n){const s=t[e];if(s==null){console.warn("Could not find messages for locale code: "+e);return}const r={};for(const o of s){let i=null;co&&co.has(o.key)&&o.cache?i=co.get(o.key):i=await bC(e,o),i!=null&&Bs(i,r)}n(e,r)}async function Ud(e,t,n){await Hi(e,t,(r,o)=>{const i=n[r]||{};Bs(o,i),n[r]=i})}function AC(e,t){return[e.slice(0,t),e.slice(t)]}function TC(e){const{fullPath:t,query:n,hash:s,name:r,path:o,params:i,meta:a,redirectedFrom:c,matched:u}=e;return{fullPath:t,params:i,query:n,hash:s,name:r,path:o,meta:a,matched:u,redirectedFrom:c}}function SC({router:e},t,n,s){var u,l;if(n!=="prefix")return e.resolve(t);const[r,o]=AC(t.path,1),i=`${r}${s}${o===""?o:`/${o}`}`,a=(l=(u=e.options)==null?void 0:u.routes)==null?void 0:l.find(f=>f.path===i);if(a==null)return t;const c=Ye({},t,a);return c.path=i,e.resolve(c)}const IC=new Set(["prefix_and_default","prefix_except_default"]);function RC(e){const{currentLocale:t,defaultLocale:n,strategy:s}=e;return!(t===n&&IC.has(s))&&s!=="no_prefix"}const CC=RC;function Or(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,s=he(t);return s==null||!s.name?void 0:j_(s.name).split(n)[0]}function ya(e,t,n){var r;if(typeof t=="string"&&Rn(t,{acceptRelative:!0}))return t;const s=Ea(e,t,n);return s==null?"":((r=s.redirectedFrom)==null?void 0:r.fullPath)||s.fullPath}function yu(e,t,n){return Ea(e,t,n)??void 0}
33function OC(e,t,n){return Ea(e,t,n)??void 0}function Ea(e,t,n){const{router:s,i18n:r}=e,o=n||_a(r),{defaultLocale:i,strategy:a,trailingSlash:c}=e.runtimeConfig.public.i18n,u=HC(e.runtimeConfig);let l;if(q(t))if(t[0]==="/"){const{pathname:h,search:g,hash:m}=Nc(t),A=wm(g);l={path:h,query:A,hash:m}}else l={name:t};else l=t;let f=Ye({},l);if((h=>"path"in h&&!!h.path&&!("name"in h))(f)){const h=SC(e,f,a,o),g=Or(e,h);q(g)?(f={name:xd(g,o,e.runtimeConfig.public.i18n),params:h.params,query:h.query,hash:h.hash},f.state=h.state):(u({currentLocale:o,defaultLocale:i,strategy:a})&&(f.path=`/${o}${f.path}`),f.path=c?wi(f.path,!0):la(f.path,!0))}else!f.name&&!("path"in f)&&(f.name=Or(e,s.currentRoute.value)),f.name=xd(f.name,o,e.runtimeConfig.public.i18n);try{const h=s.resolve(f);return h.name?h:s.resolve(t)}catch(h){if(typeof h=="object"&&"type"in h&&h.type===1)return null}}const LC=e=>e;function NC(e,t){var s;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return he(e.metaState.value);const n=t.meta||{};return((s=he(n))==null?void 0:s[iC])||{}}function Lr(e,t,n){const s=n??e.router.currentRoute.value,r=Or(e,s);if(!r)return"";const o=jC(e.runtimeConfig),i=TC(s),a=NC(e,s)[t],c={...i,name:r,params:{...i.params,...a}},u=ya(e,c,t);return o(u,t)}function K_(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:s="hid"}){const{defaultDirection:r}=it().public.i18n,o=Cr(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(he(o.locales)==null||he(o.baseUrl)==null)return i;const a=_a(e.i18n),c=dC(e.i18n),u=lC(c).find(d=>d.code===a)||{code:a},l=u.language,f=u.dir||r;return t&&(i.htmlAttrs.dir=f),n&&a&&he(o.locales)&&(l&&(i.htmlAttrs.lang=l),i.link.push(...PC(e,he(c),s),...wC(e,s,n)),i.meta.push(...DC(e,s,n),...kC(u,l,s),...MC(he(c),l,s))),i}function Eu(){const e=be(),t=Cr(e.$i18n);return xr(he(t.baseUrl),e.$config.app.baseURL)}
33function PC(e,t,n){const s=Eu(),{defaultLocale:r,strategy:o}=it().public.i18n,i=[];if(o==="no_prefix")return i;const a=new Map;for(const c of t){const u=c.language;if(!u){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[l,f]=u.split("-");l&&f&&(c.isCatchallLocale||!a.has(l))&&a.set(l,c),a.set(u,c)}for(const[c,u]of a.entries()){const l=Lr(e,u.code);l&&i.push({[n]:`i18n-alt-${c}`,rel:"alternate",href:Xc(l,s),hreflang:c})}if(r){const c=Lr(e,r);c&&i.push({[n]:"i18n-xd",rel:"alternate",href:Xc(c,s),hreflang:"x-default"})}return i}function W_(e,t,n){const s=e.router.currentRoute.value,r=yu(e,{...s,path:void 0,name:Or(e,s)});if(!r)return"";let o=Xc(r.path,t);const i=ge(n)&&n.canonicalQueries||[],a=r.query,c=new URLSearchParams;for(const l of i)if(l in a){const f=a[l];We(f)?f.forEach(d=>c.append(l,d||"")):c.append(l,f||"")}const u=c.toString();return u&&(o=`${o}?${u}`),o}function wC(e,t,n){const s=Eu(),r=W_(e,s,n);return r?[{[t]:"i18n-can",rel:"canonical",href:r}]:[]}function DC(e,t,n){const s=Eu(),r=W_(e,s,n);return r?[{[t]:"i18n-og-url",property:"og:url",content:r}]:[]}function kC(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:Y_(t)}]}function MC(e,t,n){return e.filter(r=>r.language&&r.language!==t).map(r=>({[n]:`i18n-og-alt-${r.language}`,property:"og:locale:alternate",content:Y_(r.language)}))}function Y_(e){return(e||"").replace(/-/g,"_")}function Xc(e,t){return e.match(/^https?:\/\//)?e:xr(t,e)}function z_(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=it().public.i18n,n=`(${Rr.join("|")})`,s=`(?:${e}${t})?`,r=new RegExp(`${e}${n}${s}$`,"i"),o=_u(Rr);return a=>{if(ge(a)){if(a.name){const u=(q(a.name)?a.name:a.name.toString()).match(r);if(u&&u.length>1)return u[1]}else if(a.path){const c=a.path.match(o);if(c&&c.length>1)return c[1]}}else if(q(a)){const c=a.match(o);if(c&&c.length>1)return c[1]}return""}}function xC(e,t){return va(e,"setLocaleCookie",t)}function Q_(e,t,n){return va(e,"mergeLocaleMessage",t,n)}async function $C(e,t,n,s,r){return va(e,"onBeforeLanguageSwitch",t,n,s,r)}function UC(e,t,n){return va(e,"onLanguageSwitched",t,n)}function vu(e){return{i18n:e??be().$i18n,router:Nt(),runtimeConfig:it(),metaState:pu("nuxt-i18n-meta",()=>({}))}}async function Fd(e,t,n,s=!1){const{differentDomains:r,skipSettingLocaleOnNavigate:o,lazy:i}=n,a=ko(n),c=be(),u=_a(t),l=hC(t);function f(h=u){a===!1||!a.useCookie||o||xC(t,h)}if(!e||!s&&r||u===e)return f(),!1;const d=await $C(t,u,e,s,c);if(d&&l.includes(d)){if(u===d)return f(),!1;e=d}if(i){const h=KC(t,"fallbackLocale"),g=(m,A)=>Q_(t,m,A);if(h){const m=G_(h,[e]);await Promise.all(m.map(A=>Hi(A,Vi,g)))}await Hi(e,Vi,g)}return o?!1:(f(e),H_(t,e),await UC(t,u,e),!0)}function q_(e){return{log:console.log.bind(console,`${e}:`)}}function Bd(e,t,n,s,r){const{strategy:o,defaultLocale:i,differentDomains:a,multiDomainLocales:c}=r,{localeCookie:u}=s,l=ko(r);q_("detectLocale");const f=Re(n)?n():n,d=QC(e,s,f);if(d.reason===Z_.SSG_IGNORE)return f;if(d.locale&&d.from!=null)return d.locale;let h="";a||c?h||(h=qC(ma,o,e)):o!=="no_prefix"&&(h||(h=t(e)));const g=l&&l.useCookie&&u;return h||(h=g||f||i||""),h}function Vd({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:s=!1}){const r=be(),o=vu(),{strategy:i,differentDomains:a}=o.runtimeConfig.public.i18n;let c="";const{fullPath:u}=e.to;if(!a&&(s||i!=="no_prefix")&&n(e.to)!==t){const l=r.$switchLocalePath(t)||r.$localePath(u,t);q(l)&&l&&!Lc(l,u)&&!l.startsWith("//")&&(c=e.from&&e.from.fullPath===l?"":l)}if((a||oC)&&n(e.to)!==t){const l=Lr(o,t,e.to);q(l)&&l&&!Lc(l,u)&&!l.startsWith("//")&&(c=l)}return c}function FC(e){return ge(e)&&"path"in e&&"statusCode"in e}const BC=()=>pu(B_+":redirect",()=>"");function qs(e,t){return iu(e,{redirectCode:t})}async function Hd(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:s,i18n:r,locale:o,route:i}=e,{rootRedirect:a,differentDomains:c,multiDomainLocales:u,skipSettingLocaleOnNavigate:l,configLocales:f,strategy:d}=s.$config.public.i18n;let{redirectPath:h}=e;if(i.path==="/"&&a)return q(a)?h="/"+a:FC(a)&&(h="/"+a.path,t=a.statusCode),h=s.$localePath(h,o),qs(h,t);if(!(l&&(r.__pendingLocale=o,r.__pendingLocalePromise=new Promise(g=>{r.__resolvePendingLocalePromise=g}),!n))){if(u&&d==="prefix_except_default"){const g=ba(),m=f.find(C=>{var O;return typeof C!="string"?(O=C.defaultForDomains)==null?void 0:O.find(p=>p===g):!1}),A=typeof m!="string"?m==null?void 0:m.code:void 0;if(i.path.startsWith(`/${A}`))return qs(i.path.replace(`/${A}`,""),t);if(!i.path.startsWith(`/${o}`)&&o!==A){const O=z_()(i.path);return qs(O!==""?`/${o+i.path.replace(`/${O}`,"")}`:`/${o+(i.path==="/"?"":i.path)}`,t)}else if(h&&i.path!==h)return qs(h,t);return}if(c){const g=BC();g.value&&g.value!==h&&(g.value="",window.location.assign(h))}else if(h)return qs(h,t)}}function VC(e,t){Xs(e,"$i18n",As(t)),Xs(e,"$getRouteBaseName",xt(Or)),Xs(e,"$localePath",xt(ya)),Xs(e,"$localeRoute",xt(yu)),Xs(e,"$switchLocalePath",xt(Lr)),Xs(e,"$localeHead",xt(K_))}function HC(e=it()){return t=>CC(t)&&!e.public.i18n.differentDomains}function jC(e=it()){return(t,n)=>{if(e.public.i18n.differentDomains){const s=ey(n);return s?xr(s,t):t}else return LC(t)}}function GC(){return()=>
33{const e=be(),{baseUrl:t,defaultLocale:n,differentDomains:s}=e.$config.public.i18n;if(Re(t))return t(e);const r=Re(n)?n():n;if(s&&r){const o=ey(r);if(o)return o}return t}}function X_(e){return B_+" "+e}function va(e,t,...n){const s=As(e),[r,o]=[s,s[t]];return Reflect.apply(o,r,[...n])}function KC(e,t){const n=As(e);return he(n[t])}function Xs(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function xt(e,t=vu()){return(...n)=>e(t,...n)}function J_(){let e;return navigator.languages&&(e=yC(ma,navigator.languages)),e}function WC(){const e=ko(),t=e&&e.cookieKey||aC,n=new Date,s={expires:new Date(n.setDate(n.getDate()+365)),path:"/",sameSite:e&&e.cookieCrossOrigin?"none":"lax",secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return e&&e.cookieDomain&&(s.domain=e.cookieDomain),$_(t,s)}function Za(e,t,n){if(t===!1||!t.useCookie)return;const s=e.value??void 0;if(s!=null){if(Rr.includes(s))return s;if(n)return e.value=n,n;e.value=void 0}}function YC(e,t,n){n===!1||!n.useCookie||(e.value=t)}var Z_=(e=>(e.NOT_FOUND="not_found_match",e.FIRST_ACCESS="first_access_only",e.NO_REDIRECT_ROOT="not_redirect_on_root",e.NO_REDIRECT_NO_PREFIX="not_redirect_on_no_prefix",e.SSG_IGNORE="detect_ignore_on_ssg",e))(Z_||{});const zC={locale:""};function QC(e,t,n=""){q_("detectBrowserLanguage");const s=ko();if(!s)return zC;const{strategy:r}=it().public.i18n,{ssg:o,callType:i,firstAccess:a,localeCookie:c}=t;if(!a)return{locale:r==="no_prefix"?n:"",reason:"first_access_only"};const{redirectOn:u,alwaysRedirect:l,useCookie:f,fallbackLocale:d}=s,h=q(e)?e:e.path;if(r!=="no_prefix"){if(u==="root"&&h!=="/")return{locale:"",reason:"not_redirect_on_root"};if(u==="no prefix"&&!l&&h.match(_u(Rr)))return{locale:"",reason:"not_redirect_on_no_prefix"}}let g;const m=f&&c||void 0;f&&(g="cookie");const A=J_();m||(g="navigator_or_header");const C=m||A,O=C||d||"";return!C&&d&&(g="fallback"),{locale:O,from:g}}function ba(){let e;return e=window.location.host,e}function qC(e,t,n){let s=ba()||"";if(s){let r;const o=e.filter(i=>{if(i&&i.domain){let a=i.domain;return Rn(i.domain)&&(a=i.domain.replace(/(http|https):\/\//,"")),a===s}else if(Array.isArray(i==null?void 0:i.domains))return i.domains.includes(s);return!1});if(o.length===1)r=o[0];else if(o.length>1)if(t==="no_prefix")console.warn(X_("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),r=o[0];else{if(n){const i=ge(n)?n.path:q(n)?n:"";if(i&&i!==""){const a=i.match(_u(o.map(c=>c.code)));a&&a.length>1&&(r=o.find(c=>c.code===a[1]))}}r||(r=o.find(i=>Array.isArray(i.defaultForDomains)?i.defaultForDomains.includes(s):i.domainDefault))}if(r)return r.code;s=""}return s}function ey(e){var i,a,c,u,l,f;const t=it();be();const n=ba(),s=t.public.i18n,r=ma.find(d=>d.code===e),o=((a=(i=s==null?void 0:s.locales)==null?void 0:i[e])==null?void 0:a.domain)||(r==null?void 0:r.domain)||((l=(u=(c=s==null?void 0:s.locales)==null?void 0:c[e])==null?void 0:u.domains)==null?void 0:l.find(d=>d===n))||((f=r==null?void 0:r.domains)==null?void 0:f.find(d=>d===n));if(o){if(Rn(o,{strict:!0}))return o;let d;return d=new URL(window.location.origin).protocol,d+"//"+o}console.warn(X_("Could not find domain name for locale "+e))}const ko=(e=it().public.i18n)=>(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage;/*!
34  * message-compiler v9.14.1
35  * (c) 2024 kazuya kawaguchi
36  * Released under the MIT License.
37  */function XC(e,t,n){return{line:e,column:t,offset:n}}function ji(e,t,n){return{start:e,end:t}}const ty={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};function JC(e,t,...n){const r={message:String(e),code:e};return t&&(r.location=t),r}const Te={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function Aa(e,t,n={}){const{domain:s,messages:r,args:o}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=s,a}function ZC(e){throw e}const Ln=" ",eO="\r",Tt=`
38`,tO="\u2028",nO="\u2029";function sO(e){const t=e;let n=0,s=1,r=1,o=0;const i=R=>t[R]===eO&&t[R+1]===Tt,a=R=>t[R]===Tt,c=R=>t[R]===nO,u=R=>t[R]===tO,l=R=>i(R)||a(R)||c(R)||u(R),f=()=>n,d=()=>s,h=()=>r,g=()=>o,m=R=>i(R)||c(R)||u(R)?Tt:t[R],A=()=>m(n),C=()=>m(n+o);function O(){return o=0,l(n)&&(s++,r=0),i(n)&&n++,n++,r++,t[n]}function p(){return i(n+o)&&o++,o++,t[n+o]}function E(){n=0,s=1,r=1,o=0}function y(R=0){o=R}function v(){const R=n+o;for(;R!==n;)O();o=0}return{index:f,line:d,column:h,peekOffset:g,charAt:m,currentChar:A,currentPeek:C,next:O,peek:p,reset:E,resetPeek:y,skipToPeek:v}}const Jn=void 0,rO=".",jd="'",oO="tokenizer";function iO(e,t={}){const n=t.location!==!1,s=sO(e),r=()=>s.index(),o=()=>XC(s.line(),s.column(),s.index()),i=o(),a=r(),c={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:l}=t;function f(b,T,P,...V){const K=u();if(T.column+=P,T.offset+=P,l){const j=n?ji(K.startLoc,T):null,D=Aa(b,j,{domain:oO,args:V});l(D)}}function d(b,T,P){b.endLoc=o(),b.currentType=T;const V={type:T};return n&&(V.loc=ji(b.startLoc,b.endLoc)),P!=null&&(V.value=P),V}const h=b=>d(b,14);function g(b,T){return b.currentChar()===T?(b.next(),T):(f(Te.EXPECTED_TOKEN,o(),0,T),"")}function m(b){let T="";for(;b.currentPeek()===Ln||b.currentPeek()===Tt;)T+=b.currentPeek(),b.peek();return T}function A(b){const T=m(b);
38return b.skipToPeek(),T}function C(b){if(b===Jn)return!1;const T=b.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T===95}function O(b){if(b===Jn)return!1;const T=b.charCodeAt(0);return T>=48&&T<=57}function p(b,T){const{currentType:P}=T;if(P!==2)return!1;m(b);const V=C(b.currentPeek());return b.resetPeek(),V}function E(b,T){const{currentType:P}=T;if(P!==2)return!1;m(b);const V=b.currentPeek()==="-"?b.peek():b.currentPeek(),K=O(V);return b.resetPeek(),K}function y(b,T){const{currentType:P}=T;if(P!==2)return!1;m(b);const V=b.currentPeek()===jd;return b.resetPeek(),V}function v(b,T){const{currentType:P}=T;if(P!==8)return!1;m(b);const V=b.currentPeek()===".";return b.resetPeek(),V}function R(b,T){const{currentType:P}=T;if(P!==9)return!1;m(b);const V=C(b.currentPeek());return b.resetPeek(),V}function N(b,T){const{currentType:P}=T;if(!(P===8||P===12))return!1;m(b);const V=b.currentPeek()===":";return b.resetPeek(),V}function S(b,T){const{currentType:P}=T;if(P!==10)return!1;const V=()=>{const j=b.currentPeek();return j==="{"?C(b.peek()):j==="@"||j==="%"||j==="|"||j===":"||j==="."||j===Ln||!j?!1:j===Tt?(b.peek(),V()):M(b,!1)},K=V();return b.resetPeek(),K}function w(b){m(b);const T=b.currentPeek()==="|";return b.resetPeek(),T}function F(b){const T=m(b),P=b.currentPeek()==="%"&&b.peek()==="{";return b.resetPeek(),{isModulo:P,hasSpace:T.length>0}}function M(b,T=!0){const P=(K=!1,j="",D=!1)=>{const x=b.currentPeek();return x==="{"?j==="%"?!1:K:x==="@"||!x?j==="%"?!0:K:x==="%"?(b.peek(),P(K,"%",!0)):x==="|"?j==="%"||D?!0:!(j===Ln||j===Tt):x===Ln?(b.peek(),P(!0,Ln,D)):x===Tt?(b.peek(),P(!0,Tt,D)):!0},V=P();return T&&b.resetPeek(),V}function Y(b,T){const P=b.currentChar();return P===Jn?Jn:T(P)?(b.next(),P):null}function ue(b){const T=b.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T>=48&&T<=57||T===95||T===36}function me(b){return Y(b,ue)}function X(b){const T=b.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T>=48&&T<=57||T===95||T===36||T===45}function re(b){return Y(b,X)}function se(b){const T=b.charCodeAt(0);return T>=48&&T<=57}function Be(b){return Y(b,se)}function Bt(b){const T=b.charCodeAt(0);return T>=48&&T<=57||T>=65&&T<=70||T>=97&&T<=102}function Qe(b){return Y(b,Bt)}function qe(b){let T="",P="";for(;T=Be(b);)P+=T;return P}function hn(b){A(b);const T=b.currentChar();return T!=="%"&&f(Te.EXPECTED_TOKEN,o(),0,T),b.next(),"%"}function Jt(b){let T="";for(;;){const P=b.currentChar();if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P==="%")if(M(b))T+=P,b.next();else break;else if(P===Ln||P===Tt)if(M(b))T+=P,b.next();else{if(w(b))break;T+=P,b.next()}else T+=P,b.next()}return T}function qn(b){A(b);let T="",P="";for(;T=re(b);)P+=T;return b.currentChar()===Jn&&f(Te.UNTERMINATED_CLOSING_BRACE,o(),0),P}function ft(b){A(b);let T="";return b.currentChar()==="-"?(b.next(),T+=`-${qe(b)}`):T+=qe(b),b.currentChar()===Jn&&f(Te.UNTERMINATED_CLOSING_BRACE,o(),0),T}function U(b){return b!==jd&&b!==Tt}function Z(b){A(b),g(b,"'");let T="",P="";for(;T=Y(b,U);)T==="\\"?P+=Q(b):P+=T;const V=b.currentChar();return V===Tt||V===Jn?(f(Te.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),V===Tt&&(b.next(),g(b,"'")),P):(g(b,"'"),P)}function Q(b){const T=b.currentChar();switch(T){case"\\":case"'":return b.next(),`\\${T}`;case"u":return ne(b,T,4);case"U":return ne(b,T,6);default:return f(Te.UNKNOWN_ESCAPE_SEQUENCE,o(),0,T),""}}function ne(b,T,P){g(b,T);let V="";for(let K=0;K<P;K++){const j=Qe(b);if(!j){f(Te.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${T}${V}${b.currentChar()}`);break}V+=j}return`\\${T}${V}`}function ye(b){return b!=="{"&&b!=="}"&&b!==Ln&&b!==Tt}function Oe(b){A(b);let T="",P="";for(;T=Y(b,ye);)P+=T;return P}function I(b){let T="",P="";for(;T=me(b);)P+=T;return P}function L(b){const T=P=>{const V=b.currentChar();return V==="{"||V==="%"||V==="@"||V==="|"||V==="("||V===")"||!V||V===Ln?P:(P+=V,b.next(),T(P))};return T("")}function k(b){A(b);const T=g(b,"|");return A(b),T}function B(b,T){let P=null;switch(b.currentChar()){case"{":return T.braceNest>=1&&f(Te.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),b.next(),P=d(T,2,"{"),A(b),T.braceNest++,P;case"}":return T.braceNest>0&&T.currentType===2&&f(Te.EMPTY_PLACEHOLDER,o(),0),b.next(),P=d(T,3,"}"),T.braceNest--,T.braceNest>0&&A(b),T.inLinked&&T.braceNest===0&&(T.inLinked=!1),P;case"@":return T.braceNest>0&&f(Te.UNTERMINATED_CLOSING_BRACE,o(),0),P=$(b,T)||h(T),T.braceNest=0,P;default:{let K=!0,j=!0,D=!0;if(w(b))return T.braceNest>0&&f(Te.UNTERMINATED_CLOSING_BRACE,o(),0),P=d(T,1,k(b)),T.braceNest=0,T.inLinked=!1,P;if(T.braceNest>0&&(T.currentType===5||T.currentType===6||T.currentType===7))return f(Te.UNTERMINATED_CLOSING_BRACE,o(),0),T.braceNest=0,H(b,T);if(K=p(b,T))return P=d(T,5,qn(b)),A(b),P;if(j=E(b,T))return P=d(T,6,ft(b)),A(b),P;if(D=y(b,T))return P=d(T,7,Z(b)),A(b),P;if(!K&&!j&&!D)return P=d(T,13,Oe(b)),f(Te.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,P.value),A(b),P;break}}return P}function $(b,T){const{currentType:P}=T;let V=null;const K=b.currentChar();switch((P===8||P===9||P===12||P===10)&&(K===Tt||K===Ln)&&f(Te.INVALID_LINKED_FORMAT,o(),0),K){case"@":return b.next(),V=d(T,8,"@"),T.inLinked=!0,V;case".":return A(b),b.next(),d(T,9,".");case":":return A(b),b.next(),d(T,10,":");default:return w(b)?(V=d(T,1,k(b)),T.braceNest=0,T.inLinked=!1,V):v(b,T)||N(b,T)?(A(b),$(b,T)):R(b,T)?(A(b),d(T,12,I(b))):S(b,T)?(A(b),K==="{"?B(b,T)||V:d(T,11,L(b))):(P===8&&f(Te.INVALID_LINKED_FORMAT,o(),0),T.braceNest=0,T.inLinked=!1,H(b,T))}}function H(b,T){let P={type:14};if(T.braceNest>0)return B(b,T)||h(T);if(T.inLinked)return $(b,T)||h(T);switch(b.currentChar()){case"{":return B(b,T)||h(T);case"}":return f(Te.UNBALANCED_CLOSING_BRACE,o(),0),b.next(),d(T,3,"}");case"@":return $(b,T)||h(T);
38default:{if(w(b))return P=d(T,1,k(b)),T.braceNest=0,T.inLinked=!1,P;const{isModulo:K,hasSpace:j}=F(b);if(K)return j?d(T,0,Jt(b)):d(T,4,hn(b));if(M(b))return d(T,0,Jt(b));break}}return P}function z(){const{currentType:b,offset:T,startLoc:P,endLoc:V}=c;return c.lastType=b,c.lastOffset=T,c.lastStartLoc=P,c.lastEndLoc=V,c.offset=r(),c.startLoc=o(),s.currentChar()===Jn?d(c,14):H(s,c)}return{nextToken:z,currentOffset:r,currentPosition:o,context:u}}const aO="parser",cO=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function lO(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function uO(e={}){const t=e.location!==!1,{onError:n,onWarn:s}=e;function r(p,E,y,v,...R){const N=p.currentPosition();if(N.offset+=v,N.column+=v,n){const S=t?ji(y,N):null,w=Aa(E,S,{domain:aO,args:R});n(w)}}function o(p,E,y,v,...R){const N=p.currentPosition();if(N.offset+=v,N.column+=v,s){const S=t?ji(y,N):null;s(JC(E,S,R))}}function i(p,E,y){const v={type:p};return t&&(v.start=E,v.end=E,v.loc={start:y,end:y}),v}function a(p,E,y,v){t&&(p.end=E,p.loc&&(p.loc.end=y))}function c(p,E){const y=p.context(),v=i(3,y.offset,y.startLoc);return v.value=E,a(v,p.currentOffset(),p.currentPosition()),v}function u(p,E){const y=p.context(),{lastOffset:v,lastStartLoc:R}=y,N=i(5,v,R);return N.index=parseInt(E,10),p.nextToken(),a(N,p.currentOffset(),p.currentPosition()),N}function l(p,E,y){const v=p.context(),{lastOffset:R,lastStartLoc:N}=v,S=i(4,R,N);return S.key=E,y===!0&&(S.modulo=!0),p.nextToken(),a(S,p.currentOffset(),p.currentPosition()),S}function f(p,E){const y=p.context(),{lastOffset:v,lastStartLoc:R}=y,N=i(9,v,R);return N.value=E.replace(cO,lO),p.nextToken(),a(N,p.currentOffset(),p.currentPosition()),N}function d(p){const E=p.nextToken(),y=p.context(),{lastOffset:v,lastStartLoc:R}=y,N=i(8,v,R);return E.type!==12?(r(p,Te.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),N.value="",a(N,v,R),{nextConsumeToken:E,node:N}):(E.value==null&&r(p,Te.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Zt(E)),N.value=E.value||"",a(N,p.currentOffset(),p.currentPosition()),{node:N})}function h(p,E){const y=p.context(),v=i(7,y.offset,y.startLoc);return v.value=E,a(v,p.currentOffset(),p.currentPosition()),v}function g(p){const E=p.context(),y=i(6,E.offset,E.startLoc);let v=p.nextToken();if(v.type===9){const R=d(p);y.modifier=R.node,v=R.nextConsumeToken||p.nextToken()}switch(v.type!==10&&r(p,Te.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Zt(v)),v=p.nextToken(),v.type===2&&(v=p.nextToken()),v.type){case 11:v.value==null&&r(p,Te.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Zt(v)),y.key=h(p,v.value||"");break;case 5:v.value==null&&r(p,Te.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Zt(v)),y.key=l(p,v.value||"");break;case 6:v.value==null&&r(p,Te.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Zt(v)),y.key=u(p,v.value||"");break;case 7:v.value==null&&r(p,Te.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Zt(v)),y.key=f(p,v.value||"");break;default:{r(p,Te.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const R=p.context(),N=i(7,R.offset,R.startLoc);return N.value="",a(N,R.offset,R.startLoc),y.key=N,a(y,R.offset,R.startLoc),{nextConsumeToken:v,node:y}}}return a(y,p.currentOffset(),p.currentPosition()),{node:y}}function m(p){const E=p.context(),y=E.currentType===1?p.currentOffset():E.offset,v=E.currentType===1?E.endLoc:E.startLoc,R=i(2,y,v);R.items=[];let N=null,S=null;do{const M=N||p.nextToken();switch(N=null,M.type){case 0:M.value==null&&r(p,Te.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Zt(M)),R.items.push(c(p,M.value||""));break;case 6:M.value==null&&r(p,Te.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Zt(M)),R.items.push(u(p,M.value||""));break;case 4:S=!0;break;case 5:M.value==null&&r(p,Te.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Zt(M)),R.items.push(l(p,M.value||"",!!S)),S&&(o(p,ty.USE_MODULO_SYNTAX,E.lastStartLoc,0,Zt(M)),S=null);break;case 7:M.value==null&&r(p,Te.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Zt(M)),R.items.push(f(p,M.value||""));break;case 8:{const Y=g(p);R.items.push(Y.node),N=Y.nextConsumeToken||null;break}}}while(E.currentType!==14&&E.currentType!==1);const w=E.currentType===1?E.lastOffset:p.currentOffset(),F=E.currentType===1?E.lastEndLoc:p.currentPosition();return a(R,w,F),R}function A(p,E,y,v){const R=p.context();let N=v.items.length===0;const S=i(1,E,y);S.cases=[],S.cases.push(v);do{const w=m(p);N||(N=w.items.length===0),S.cases.push(w)}while(R.currentType!==14);return N&&r(p,Te.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),a(S,p.currentOffset(),p.currentPosition()),S}function C(p){const E=p.context(),{offset:y,startLoc:v}=E,R=m(p);return E.currentType===14?R:A(p,y,v,R)}function O(p){const E=iO(p,Ye({}
38,e)),y=E.context(),v=i(0,y.offset,y.startLoc);return t&&v.loc&&(v.loc.source=p),v.body=C(E),e.onCacheKey&&(v.cacheKey=e.onCacheKey(p)),y.currentType!==14&&r(E,Te.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,p[y.offset]||""),a(v,E.currentOffset(),E.currentPosition()),v}return{parse:O}}function Zt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function fO(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Gd(e,t){for(let n=0;n<e.length;n++)bu(e[n],t)}function bu(e,t){switch(e.type){case 1:Gd(e.cases,t),t.helper("plural");break;case 2:Gd(e.items,t);break;case 6:{bu(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function dO(e,t={}){const n=fO(e);n.helper("normalize"),e.body&&bu(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function hO(e){const t=e.body;return t.type===2?Kd(t):t.cases.forEach(n=>Kd(n)),e}function Kd(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const s=e.items[n];if(!(s.type===3||s.type===9)||s.value==null)break;t.push(s.value)}if(t.length===e.items.length){e.static=mu(t);for(let n=0;n<e.items.length;n++){const s=e.items[n];(s.type===3||s.type===9)&&delete s.value}}}}function sr(e){switch(e.t=e.type,e.type){case 0:{const t=e;sr(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let s=0;s<n.length;s++)sr(n[s]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let s=0;s<n.length;s++)sr(n[s]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;sr(t.key),t.k=t.key,delete t.key,t.modifier&&(sr(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function pO(e,t){const{sourceMap:n,filename:s,breakLineCode:r,needIndent:o}
vendor: 4,569 bytes, lines 38-43
38=t,i=t.location!==!1,a={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const c=()=>a;function u(A,C){a.code+=A}function l(A,C=!0){const O=C?r:"";u(o?O+"  ".repeat(A):O)}function f(A=!0){const C=++a.indentLevel;A&&l(C)}function d(A=!0){const C=--a.indentLevel;A&&l(C)}function h(){l(a.indentLevel)}return{context:c,push:u,indent:f,deindent:d,newline:h,helper:A=>`_${A}`,needIndent:()=>a.needIndent}}function gO(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Nr(e,t.key),t.modifier?(e.push(", "),Nr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function mO(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const r=t.items.length;for(let o=0;o<r&&(Nr(e,t.items[o]),o!==r-1);o++)e.push(", ");e.deindent(s()),e.push("])")}function _O(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const r=t.cases.length;for(let o=0;o<r&&(Nr(e,t.cases[o]),o!==r-1);o++)e.push(", ");e.deindent(s()),e.push("])")}}function yO(e,t){t.body?Nr(e,t.body):e.push("null")}function Nr(e,t){const{helper:n}=e;switch(t.type){case 0:yO(e,t);break;case 1:_O(e,t);break;case 2:mO(e,t);break;case 6:gO(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const EO=(e,t={})=>{const n=q(t.mode)?t.mode:"normal",s=q(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
39`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],c=pO(e,{mode:n,filename:s,sourceMap:r,breakLineCode:o,needIndent:i});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(i),a.length>0&&(c.push(`const { ${mu(a.map(f=>`${f}: _${f}`),", ")} } = ctx`),c.newline()),c.push("return "),Nr(c,e),c.deindent(i),c.push("}"),delete e.helpers;const{code:u,map:l}=c.context();return{ast:e,code:u,map:l?l.toJSON():void 0}};function vO(e,t={}){const n=Ye({},t),s=!!n.jit,r=!!n.minify,o=n.optimize==null?!0:n.optimize,a=uO(n).parse(e);return s?(o&&hO(a),r&&sr(a),{ast:a,code:""}):(dO(a,n),EO(a,n))}/*!
40  * core-base v9.14.1
41  * (c) 2024 kazuya kawaguchi
42  * Released under the MIT License.
43  */function bO(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(gu().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ts=[];Ts[0]={w:[0],i:[3,0],"[":[4],o:[7]};Ts[1]={w:[1],".":[2],"[":[4],o:[7]};Ts[2]={w:[2],i:[3,0],0:[3,0]};Ts[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Ts[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Ts[5]={"'":[4,0],o:8,l:[5,0]};Ts[6]={'"':[4,0],o:8,l:[6,0]};const AO=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function TO(e){return AO.test(e)}function SO(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function IO(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function RO(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:TO(t)?SO(t):"*"+t}function CO(e){const t=[];let n=-1,s=0,r=0,o,i,a,c,u,l,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),r++},d[3]=()=>{if(r>0)r--,s=4,d[0]();else{if(r=0,i===void 0||(i=RO(i),i===!1))return!1;d[1]()}};function h(){const g=e[n+1];if(s===5&&g==="'"||s===6&&g==='"')return n++,a="\\"+g,d[0](),!0}for(;s!==null;)if(n++,o=e[n],!(o==="\\"&&h())){if(c=IO(o),f=Ts[s],u=f[c]||f.l||8,u===8||(s=u[0],u[1]!==void 0&&(l=d[u[1]],l&&(a=o,l()===!1))))return;if(s===7)return t}}const Wd=new Map;function OO(e,t){return ge(e)?e[t]:null}function LO(e,t){if(!ge(e))return null;let n=Wd.get(t);if(n||(n=CO(t),n&&Wd.set(t,n)),!n)return null;const s=n.length;let r=e,o=0;for(;o<s;){const i=r[n[o]];if(i===void 0||Re(r))return null;r=i,o++}return r}const NO=e=>e,PO=e=>"",wO="text",DO=e=>e.length===0?"":mu(e),kO=tC;function Yd(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function MO(e){const t=rt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(rt(e.named.count)||rt(e.named.n))?rt(e.named.count)?e.named.count:rt(e.named.n)?e.named.n:t:t}function xO(e,t){t.count||(t.count=e),t.n||(t.n=e)}function $O(e={}
43){const t=e.locale,n=MO(e),s=ge(e.pluralRules)&&q(t)&&Re(e.pluralRules[t])?e.pluralRules[t]:Yd,r=ge(e.pluralRules)&&q(t)&&Re(e.pluralRules[t])?Yd:void 0,o=C=>C[s(n,C.length,r)],i=e.list||[],a=C=>i[C],c=e.named||{};rt(e.pluralIndex)&&xO(n,c);const u=C=>c[C];function l(C){const O=Re(e.messages)?e.messages(C):ge(e.messages)?e.messages[C]:!1;return O||(e.parent?e.parent.message(C):PO)}const f=C=>e.modifiers?e.modifiers[C]:NO,d=Ee(e.processor)&&Re(e.processor.normalize)?e.processor.normalize:DO,h=Ee(e.processor)&&Re(e.processor.interpolate)?e.processor.interpolate:kO,g=Ee(e.processor)&&q(e.processor.type)?e.processor.type:wO,A={list:a,named:u,plural:o,linked:(C,...O)=>{const[p,E]=O;let y="text",v="";O.length===1?ge(p)?(v=p.modifier||v,y=p.type||y):q(p)&&(v=p||v):O.length===2&&(q(p)&&(v=p||v),q(E)&&(y=E||y));const R=l(C)(A),N=y==="vnode"&&We(R)&&v?R[0]:R;return v?f(v)(N,y):N},message:l,type:g,interpolate:h,normalize:d,values:Ye({},i,c)};return A}let vo=null;function UO(e){vo=e}function FO(e,t,n){vo&&vo.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const BO=VO("function:translate");function VO(e){return t=>vo&&vo.emit(e,t)}const ny=ty.__EXTEND_POINT__,Os=ga(ny),HO={NOT_FOUND_KEY:ny,FALLBACK_TO_TRANSLATE:Os(),CANNOT_FORMAT_NUMBER:Os(),FALLBACK_TO_NUMBER_FORMAT:Os(),CANNOT_FORMAT_DATE:Os(),FALLBACK_TO_DATE_FORMAT:Os(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Os(),__EXTEND_POINT__:Os()},sy=Te.__EXTEND_POINT__,Ls=ga(sy),En={INVALID_ARGUMENT:sy,INVALID_DATE_ARGUMENT:Ls(),INVALID_ISO_DATE_ARGUMENT:Ls(),NOT_SUPPORT_NON_STRING_MESSAGE:Ls(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ls(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ls(),NOT_SUPPORT_LOCALE_TYPE:Ls(),__EXTEND_POINT__:Ls()};function jn(e){return Aa(e,null,void 0)}function Au(e,t){return t.locale!=null?zd(t.locale):zd(e.locale)}let ec;function zd(e){if(q(e))return e;if(Re(e)){if(e.resolvedOnce&&ec!=null)return ec;if(e.constructor.name==="Function"){const t=e();if(eC(t))throw jn(En.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ec=t}else throw jn(En.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw jn(En.NOT_SUPPORT_LOCALE_TYPE)}function jO(e,t,n){return[...new Set([n,...We(t)?t:ge(t)?Object.keys(t):q(t)?[t]:[n]])]}function ry(e,t,n){const s=q(n)?n:Gi,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let o=r.__localeChainCache.get(s);if(!o){o=[];let i=[n];for(;We(i);)i=Qd(o,i,t);const a=We(t)||!Ee(t)?t:t.default?t.default:null;i=q(a)?[a]:a,We(i)&&Qd(o,i,!1),r.__localeChainCache.set(s,o)}return o}function Qd(e,t,n){let s=!0;for(let r=0;r<t.length&&He(s);r++){const o=t[r];q(o)&&(s=GO(e,t[r],n))}return s}function GO(e,t,n){let s;const r=t.split("-");do{const o=r.join("-");s=KO(e,o,n),r.splice(-1,1)}while(r.length&&s===!0);return s}function KO(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(We(n)||Ee(n))&&n[r]&&(s=n[r])}return s}const WO="9.14.1",Ta=-1,Gi="en-US",qd="",Xd=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function YO(){return{upper:(e,t)=>t==="text"&&q(e)?e.toUpperCase():t==="vnode"&&ge(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&q(e)?e.toLowerCase():t==="vnode"&&ge(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&q(e)?Xd(e):t==="vnode"&&ge(e)&&"__v_isVNode"in e?Xd(e.children):e}}let oy;function zO(e){oy=e}let iy;function QO(e){iy=e}let ay;function qO(e){ay=e}let cy=null;const XO=e=>{cy=e},JO=()=>cy;let ly=null;const Jd=e=>{ly=e},ZO=()=>ly;let Zd=0;function eL(e={}){const t=Re(e.onWarn)?e.onWarn:nC,n=q(e.version)?e.version:WO,s=q(e.locale)||Re(e.locale)?e.locale:Gi,r=Re(s)?Gi:s,o=We(e.fallbackLocale)||Ee(e.fallbackLocale)||q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,i=Ee(e.messages)?e.messages:{[r]:{}},a=Ee(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},c=Ee(e.numberFormats)?e.numberFormats:{[r]:{}},u=Ye({},e.modifiers||{},YO()),l=e.pluralRules||{},f=Re(e.missing)?e.missing:null,d=He(e.missingWarn)||Fi(e.missingWarn)?e.missingWarn:!0,h=He(e.fallbackWarn)||Fi(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,m=!!e.unresolving,A=Re(e.postTranslation)?e.postTranslation:null,C=Ee(e.processor)?e.processor:null,O=He(e.warnHtmlMessage)?e.warnHtmlMessage:!0,p=!!e.escapeParameter,E=Re(e.messageCompiler)?e.messageCompiler:oy,y=Re(e.messageResolver)?e.messageResolver:iy||OO,v=Re(e.localeFallbacker)?e.localeFallbacker:ay||jO,R=ge(e.fallbackContext)?e.fallbackContext:void 0,N=e,S=ge(N.__datetimeFormatters)?N.__datetimeFormatters:new Map,w=ge(N.__numberFormatters)?N.__numberFormatters:new Map,F=ge(N.__meta)?N.__meta:{};Zd++;const M={version:n,cid:Zd,locale:s,fallbackLocale:o,messages:i,modifiers:u,pluralRules:l,missing:f,missingWarn:d,fallbackWarn:h,fallbackFormat:g,unresolving:m,postTranslation:A,processor:C,warnHtmlMessage:O,escapeParameter:p,messageCompiler:E,messageResolver:y,localeFallbacker:v,fallbackContext:R,onWarn:t,__meta:F};return M.datetimeFormats=a,M.numberFormats=c,M.__datetimeFormatters=S,M.__numberFormatters=w,__INTLIFY_PROD_DEVTOOLS__&&FO(M,n,F),M}function Tu(e,t,n,s,r){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,r);return q(a)?a:t}else return t}function Gr(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function tL(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function nL(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(tL(e,t[s]))return!0;return!1}function tc(e){return n=>sL(n,e)}function sL(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,r=s.c||s.cases;return e.plural(r.reduce((o,i)=>[...o,eh(e,i)],[]))}else return eh(e,n)}function eh(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);
43{const s=(t.i||t.items).reduce((r,o)=>[...r,Jc(e,o)],[]);return e.normalize(s)}}function Jc(e,t){const n=t.t||t.type;switch(n){case 3:{const s=t;return s.v||s.value}case 9:{const s=t;return s.v||s.value}case 4:{const s=t;return e.interpolate(e.named(s.k||s.key))}case 5:{const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index))}case 6:{const s=t,r=s.m||s.modifier;return e.linked(Jc(e,s.k||s.key),r?Jc(e,r):void 0,e.type)}case 7:{const s=t;return s.v||s.value}case 8:{const s=t;return s.v||s.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const rL=e=>e;let Qo=Object.create(null);const Pr=e=>ge(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function oL(e,t={}){let n=!1;const s=t.onError||ZC;return t.onError=r=>{n=!0,s(r)},{...vO(e,t),detectError:n}}function iL(e,t){if(q(e)){He(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||rL)(e),r=Qo[s];if(r)return r;const{ast:o,detectError:i}=oL(e,{...t,location:!1,jit:!0}),a=tc(o);return i?a:Qo[s]=a}else{const n=e.cacheKey;if(n){const s=Qo[n];return s||(Qo[n]=tc(e))}else return tc(e)}}const th=()=>"",Gt=e=>Re(e);function nh(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:r,messageCompiler:o,fallbackLocale:i,messages:a}=e,[c,u]=Zc(...t),l=He(u.missingWarn)?u.missingWarn:e.missingWarn,f=He(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=He(u.escapeParameter)?u.escapeParameter:e.escapeParameter,h=!!u.resolvedMessage,g=q(u.default)||He(u.default)?He(u.default)?o?c:()=>c:u.default:n?o?c:()=>c:"",m=n||g!=="",A=Au(e,u);d&&aL(u);let[C,O,p]=h?[c,A,a[A]||{}]:uy(e,c,A,i,f,l),E=C,y=c;if(!h&&!(q(E)||Pr(E)||Gt(E))&&m&&(E=g,y=E),!h&&(!(q(E)||Pr(E)||Gt(E))||!q(O)))return r?Ta:c;let v=!1;const R=()=>{v=!0},N=Gt(E)?E:fy(e,c,O,E,y,R);if(v)return E;const S=uL(e,O,p,u),w=$O(S),F=cL(e,N,w),M=s?s(F,c):F;if(__INTLIFY_PROD_DEVTOOLS__){const Y={timestamp:Date.now(),key:q(c)?c:Gt(E)?E.key:"",locale:O||(Gt(E)?E.locale:""),format:q(E)?E:Gt(E)?E.source:"",message:M};Y.meta=Ye({},e.__meta,JO()||{}),BO(Y)}return M}function aL(e){We(e.list)?e.list=e.list.map(t=>q(t)?kd(t):t):ge(e.named)&&Object.keys(e.named).forEach(t=>{q(e.named[t])&&(e.named[t]=kd(e.named[t]))})}function uy(e,t,n,s,r,o){const{messages:i,onWarn:a,messageResolver:c,localeFallbacker:u}=e,l=u(e,s,n);let f={},d,h=null;const g="translate";for(let m=0;m<l.length&&(d=l[m],f=i[d]||{},(h=c(f,t))===null&&(h=f[t]),!(q(h)||Pr(h)||Gt(h)));m++)if(!nL(d,l)){const A=Tu(e,t,d,o,g);A!==t&&(h=A)}return[h,d,f]}function fy(e,t,n,s,r,o){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Gt(s)){const u=s;return u.locale=u.locale||n,u.key=u.key||t,u}if(i==null){const u=()=>s;return u.locale=n,u.key=t,u}const c=i(s,lL(e,n,r,s,a,o));return c.locale=n,c.key=t,c.source=s,c}function cL(e,t,n){return t(n)}function Zc(...e){const[t,n,s]=e,r={};if(!q(t)&&!rt(t)&&!Gt(t)&&!Pr(t))throw jn(En.INVALID_ARGUMENT);const o=rt(t)?String(t):(Gt(t),t);return rt(n)?r.plural=n:q(n)?r.default=n:Ee(n)&&!pa(n)?r.named=n:We(n)&&(r.list=n),rt(s)?r.plural=s:q(s)?r.default=s:Ee(s)&&Ye(r,s),[o,r]}function lL(e,t,n,s,r,o){return{locale:t,key:n,warnHtmlMessage:r,onError:i=>{throw o&&o(i),i},onCacheKey:i=>Q0(t,n,i)}}function uL(e,t,n,s){const{modifiers:r,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:c,missingWarn:u,fallbackContext:l}=e,d={locale:t,modifiers:r,pluralRules:o,messages:h=>{let g=i(n,h);if(g==null&&l){const[,,m]=uy(l,h,t,a,c,u);g=i(m,h)}if(q(g)||Pr(g)){let m=!1;const C=fy(e,h,t,g,h,()=>{m=!0});return m?th:C}else return Gt(g)?g:th}};return e.processor&&(d.processor=e.processor),s.list&&(d.list=s.list),s.named&&(d.named=s.named),rt(s.plural)&&(d.pluralIndex=s.plural),d}function sh(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:r,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[c,u,l,f]=el(...t),d=He(l.missingWarn)?l.missingWarn:e.missingWarn;He(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn;const h=!!l.part,g=Au(e,l),m=i(e,r,g);if(!q(c)||c==="")return new Intl.DateTimeFormat(g,f).format(u);let A={},C,O=null;const p="datetime format";for(let v=0;v<m.length&&(C=m[v],A=n[C]||{},O=A[c],!Ee(O));v++)Tu(e,c,C,d,p);if(!Ee(O)||!q(C))return s?Ta:c;let E=`${C}__${c}`;pa(f)||(E=`${E}__${JSON.stringify(f)}`);let y=a.get(E);return y||(y=new Intl.DateTimeFormat(C,Ye({},O,f)),a.set(E,y)),h?y.formatToParts(u):y.format(u)}const dy=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function el(...e){const[t,n,s,r]=e,o={};let i={},a;if(q(t)){const c=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw jn(En.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();a=new Date(u);try{a.toISOString()}catch{throw jn(En.INVALID_ISO_DATE_ARGUMENT)}}else if(X0(t)){if(isNaN(t.getTime()))throw jn(En.INVALID_DATE_ARGUMENT);a=t}else if(rt(t))a=t;else throw jn(En.INVALID_ARGUMENT);
43return q(n)?o.key=n:Ee(n)&&Object.keys(n).forEach(c=>{dy.includes(c)?i[c]=n[c]:o[c]=n[c]}),q(s)?o.locale=s:Ee(s)&&(i=s),Ee(r)&&(i=r),[o.key||"",a,o,i]}function rh(e,t,n){const s=e;for(const r in n){const o=`${t}__${r}`;s.__datetimeFormatters.has(o)&&s.__datetimeFormatters.delete(o)}}function oh(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:r,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:a}=e,[c,u,l,f]=tl(...t),d=He(l.missingWarn)?l.missingWarn:e.missingWarn;He(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn;const h=!!l.part,g=Au(e,l),m=i(e,r,g);if(!q(c)||c==="")return new Intl.NumberFormat(g,f).format(u);let A={},C,O=null;const p="number format";for(let v=0;v<m.length&&(C=m[v],A=n[C]||{},O=A[c],!Ee(O));v++)Tu(e,c,C,d,p);if(!Ee(O)||!q(C))return s?Ta:c;let E=`${C}__${c}`;pa(f)||(E=`${E}__${JSON.stringify(f)}`);let y=a.get(E);return y||(y=new Intl.NumberFormat(C,Ye({},O,f)),a.set(E,y)),h?y.formatToParts(u):y.format(u)}const hy=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function tl(...e){const[t,n,s,r]=e,o={};let i={};if(!rt(t))throw jn(En.INVALID_ARGUMENT);const a=t;return q(n)?o.key=n:Ee(n)&&Object.keys(n).forEach(c=>{hy.includes(c)?i[c]=n[c]:o[c]=n[c]}),q(s)?o.locale=s:Ee(s)&&(i=s),Ee(r)&&(i=r),[o.key||"",a,o,i]}function ih(e,t,n){const s=e;for(const r in n){const o=`${t}__${r}`;s.__numberFormatters.has(o)&&s.__numberFormatters.delete(o)}}bO();/*!
44  * vue-i18n v9.14.1
45  * (c) 2024 kazuya kawaguchi
46  * Released under the MIT License.
47  */const fL="9.14.1";function dL(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(gu().__INTLIFY_PROD_DEVTOOLS__=!1)}const py=HO.__EXTEND_POINT__,Nn=ga(py);Nn(),Nn(),Nn(),Nn(),Nn(),Nn(),Nn(),Nn(),Nn();const gy=En.__EXTEND_POINT__,Dt=ga(gy),qt={UNEXPECTED_RETURN_TYPE:gy,INVALID_ARGUMENT:Dt(),MUST_BE_CALL_SETUP_TOP:Dt(),NOT_INSTALLED:Dt(),NOT_AVAILABLE_IN_LEGACY_MODE:Dt(),REQUIRED_VALUE:Dt(),INVALID_VALUE:Dt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Dt(),NOT_INSTALLED_WITH_PROVIDE:Dt(),UNEXPECTED_ERROR:Dt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Dt(),BRIDGE_SUPPORT_VUE_2_ONLY:Dt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Dt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Dt(),__EXTEND_POINT__:Dt()};function fn(e,...t){return Aa(e,null,void 0)}const nl=bs("__translateVNode"),sl=bs("__datetimeParts"),rl=bs("__numberParts"),hL=bs("__setPluralRules"),pL=bs("__injectWithOption"),ol=bs("__dispose");function bo(e){if(!ge(e))return e;for(const t in e)if(Bi(e,t))if(!t.includes("."))ge(e[t])&&bo(e[t]);else{const n=t.split("."),s=n.length-1;let r=e,o=!1;for(let i=0;i<s;i++){if(n[i]in r||(r[n[i]]={}),!ge(r[n[i]])){o=!0;break}r=r[n[i]]}o||(r[n[s]]=e[t],delete e[t]),ge(r[n[s]])&&bo(r[n[s]])}return e}function my(e,t){const{messages:n,__i18n:s,messageResolver:r,flatJson:o}=t,i=Ee(n)?n:We(s)?{}:{[e]:{}};if(We(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:c,resource:u}=a;c?(i[c]=i[c]||{},Bs(u,i[c])):Bs(u,i)}else q(a)&&Bs(JSON.parse(a),i)}),r==null&&o)for(const a in i)Bi(i,a)&&bo(i[a]);return i}function _y(e){return e.type}function gL(e,t,n){let s=ge(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=my(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const r=Object.keys(s);r.length&&r.forEach(o=>{e.mergeLocaleMessage(o,s[o])});{if(ge(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ge(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function ah(e){return De(ds,null,e,0)}const ch="__INTLIFY_META__",lh=()=>[],mL=()=>!1;let uh=0;function fh(e){return(t,n,s,r)=>e(n,s,zn()||void 0,r)}const _L=()=>{const e=zn();let t=null;return e&&(t=_y(e)[ch])?{[ch]:t}:null};function yy(e={},t){const{__root:n,__injectWithOption:s}=e,r=n===void 0,o=e.flatJson,i=Ui?lt:vr,a=!!e.translateExistCompatible;let c=He(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&c?n.locale.value:q(e.locale)?e.locale:Gi),l=i(n&&c?n.fallbackLocale.value:q(e.fallbackLocale)||We(e.fallbackLocale)||Ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),f=i(my(u.value,e)),d=i(Ee(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),h=i(Ee(e.numberFormats)?e.numberFormats:{[u.value]:{}});let g=n?n.missingWarn:He(e.missingWarn)||Fi(e.missingWarn)?e.missingWarn:!0,m=n?n.fallbackWarn:He(e.fallbackWarn)||Fi(e.fallbackWarn)?e.fallbackWarn:!0,A=n?n.fallbackRoot:He(e.fallbackRoot)?e.fallbackRoot:!0,C=!!e.fallbackFormat,O=Re(e.missing)?e.missing:null,p=Re(e.missing)?fh(e.missing):null,E=Re(e.postTranslation)?e.postTranslation:null,y=n?n.warnHtmlMessage:He(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const R=n?n.modifiers:Ee(e.modifiers)?e.modifiers:{};let N=e.pluralRules||n&&n.pluralRules,S;S=(()=>{r&&Jd(null);const D={version:fL,locale:u.value,fallbackLocale:l.value,messages:f.value,modifiers:R,pluralRules:N,missing:p===null?void 0:p,missingWarn:g,fallbackWarn:m,fallbackFormat:C,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:y,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};D.datetimeFormats=d.value,D.numberFormats=h.value,D.__datetimeFormatters=Ee(S)?S.__datetimeFormatters:void 0,D.__numberFormatters=Ee(S)?S.__numberFormatters:void 0;const x=eL(D);return r&&Jd(x),x})(),Gr(S,u.value,l.value);function F(){return[u.value,l.value,f.value,d.value,h.value]}const M=we({get:()=>u.value,set:D=>{u.value=D,S.locale=u.value}}),Y=we({get:()=>l.value,set:D=>{l.value=D,S.fallbackLocale=l.value,Gr(S,u.value,D)}}),ue=we(()=>f.value),me=we(()=>d.value),X=we(()=>h.value);function re(){return Re(E)?E:null}function se(D){E=D,S.postTranslation=D}function Be(){return O}function Bt(D){D!==null&&(p=fh(D)),O=D,S.missing=p}const Qe=(D,x,oe,ae,je,Ke)=>{F();let st;try{__INTLIFY_PROD_DEVTOOLS__,r||(S.fallbackContext=n?ZO():void 0),st=D(S)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(S.fallbackContext=void 0)}if(oe!=="translate exists"&&rt(st)&&st===Ta||oe==="translate exists"&&!st){const[vt,Ws]=x();return n&&A?ae(n):je(vt)}else{if(Ke(st))return st;throw fn(qt.UNEXPECTED_RETURN_TYPE)}};function qe(...D){return Qe(x=>Reflect.apply(nh,null,[x,...D]),()=>Zc(...D),"translate",x=>Reflect.apply(x.t,x,[...D]),x=>x,x=>q(x))}function hn(...D){const[x,oe,ae]=D;
47if(ae&&!ge(ae))throw fn(qt.INVALID_ARGUMENT);return qe(x,oe,Ye({resolvedMessage:!0},ae||{}))}function Jt(...D){return Qe(x=>Reflect.apply(sh,null,[x,...D]),()=>el(...D),"datetime format",x=>Reflect.apply(x.d,x,[...D]),()=>qd,x=>q(x))}function qn(...D){return Qe(x=>Reflect.apply(oh,null,[x,...D]),()=>tl(...D),"number format",x=>Reflect.apply(x.n,x,[...D]),()=>qd,x=>q(x))}function ft(D){return D.map(x=>q(x)||rt(x)||He(x)?ah(String(x)):x)}const Z={normalize:ft,interpolate:D=>D,type:"vnode"};function Q(...D){return Qe(x=>{let oe;const ae=x;try{ae.processor=Z,oe=Reflect.apply(nh,null,[ae,...D])}finally{ae.processor=null}return oe},()=>Zc(...D),"translate",x=>x[nl](...D),x=>[ah(x)],x=>We(x))}function ne(...D){return Qe(x=>Reflect.apply(oh,null,[x,...D]),()=>tl(...D),"number format",x=>x[rl](...D),lh,x=>q(x)||We(x))}function ye(...D){return Qe(x=>Reflect.apply(sh,null,[x,...D]),()=>el(...D),"datetime format",x=>x[sl](...D),lh,x=>q(x)||We(x))}function Oe(D){N=D,S.pluralRules=N}function I(D,x){return Qe(()=>{if(!D)return!1;const oe=q(x)?x:u.value,ae=B(oe),je=S.messageResolver(ae,D);return a?je!=null:Pr(je)||Gt(je)||q(je)},()=>[D],"translate exists",oe=>Reflect.apply(oe.te,oe,[D,x]),mL,oe=>He(oe))}function L(D){let x=null;const oe=ry(S,l.value,u.value);for(let ae=0;ae<oe.length;ae++){const je=f.value[oe[ae]]||{},Ke=S.messageResolver(je,D);if(Ke!=null){x=Ke;break}}return x}function k(D){const x=L(D);return x??(n?n.tm(D)||{}:{})}function B(D){return f.value[D]||{}}function $(D,x){if(o){const oe={[D]:x};for(const ae in oe)Bi(oe,ae)&&bo(oe[ae]);x=oe[D]}f.value[D]=x,S.messages=f.value}function H(D,x){f.value[D]=f.value[D]||{};const oe={[D]:x};if(o)for(const ae in oe)Bi(oe,ae)&&bo(oe[ae]);x=oe[D],Bs(x,f.value[D]),S.messages=f.value}function z(D){return d.value[D]||{}}function b(D,x){d.value[D]=x,S.datetimeFormats=d.value,rh(S,D,x)}function T(D,x){d.value[D]=Ye(d.value[D]||{},x),S.datetimeFormats=d.value,rh(S,D,x)}function P(D){return h.value[D]||{}}function V(D,x){h.value[D]=x,S.numberFormats=h.value,ih(S,D,x)}function K(D,x){h.value[D]=Ye(h.value[D]||{},x),S.numberFormats=h.value,ih(S,D,x)}uh++,n&&Ui&&(Ot(n.locale,D=>{c&&(u.value=D,S.locale=D,Gr(S,u.value,l.value))}),Ot(n.fallbackLocale,D=>{c&&(l.value=D,S.fallbackLocale=D,Gr(S,u.value,l.value))}));const j={id:uh,locale:M,fallbackLocale:Y,get inheritLocale(){return c},set inheritLocale(D){c=D,D&&n&&(u.value=n.locale.value,l.value=n.fallbackLocale.value,Gr(S,u.value,l.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:ue,get modifiers(){return R},get pluralRules(){return N||{}},get isGlobal(){return r},get missingWarn(){return g},set missingWarn(D){g=D,S.missingWarn=g},get fallbackWarn(){return m},set fallbackWarn(D){m=D,S.fallbackWarn=m},get fallbackRoot(){return A},set fallbackRoot(D){A=D},get fallbackFormat(){return C},set fallbackFormat(D){C=D,S.fallbackFormat=C},get warnHtmlMessage(){return y},set warnHtmlMessage(D){y=D,S.warnHtmlMessage=D},get escapeParameter(){return v},set escapeParameter(D){v=D,S.escapeParameter=D},t:qe,getLocaleMessage:B,setLocaleMessage:$,mergeLocaleMessage:H,getPostTranslationHandler:re,setPostTranslationHandler:se,getMissingHandler:Be,setMissingHandler:Bt,[hL]:Oe};return j.datetimeFormats=me,j.numberFormats=X,j.rt=hn,j.te=I,j.tm=k,j.d=Jt,j.n=qn,j.getDateTimeFormat=z,j.setDateTimeFormat=b,j.mergeDateTimeFormat=T,j.getNumberFormat=P,j.setNumberFormat=V,j.mergeNumberFormat=K,j[pL]=s,j[nl]=Q,j[sl]=ye,j[rl]=ne,j}const Su={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function yL({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,r)=>[...s,...r.type===Je?r.children:[r]],[]):t.reduce((n,s)=>{const r=e[s];return r&&(n[s]=r()),n},{})}function Ey(e){return Je}const EL=dn({name:"i18n-t",props:Ye({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>rt(e)||!isNaN(e)}},Su),setup(e,t){const{slots:n,attrs:s}=t,r=e.i18n||Iu({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=q(e.plural)?+e.plural:e.plural);const a=yL(t,o),c=r[nl](e.keypath,a,i),u=Ye({},s),l=q(e.tag)||ge(e.tag)?e.tag:Ey();return yt(l,u,c)}}}),dh=EL;function vL(e){return We(e)&&!q(e[0])}function vy(e,t,n,s){const{slots:r,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),q(e.format)?i.key=e.format:ge(e.format)&&(q(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,h)=>n.includes(h)?Ye({},d,{[h]:e.format[h]}):d,{}));const c=s(e.value,i,a);let u=[i.key];We(c)?u=c.map((d,h)=>{const g=r[d.type],m=g?g({[d.type]:d.value,index:h,parts:c}):[d.value];return vL(m)&&(m[0].key=`${d.type}-${h}`),m}):q(c)&&(u=[c]);const l=Ye({},o),f=q(e.tag)||ge(e.tag)?e.tag:Ey();return yt(f,l,u)}}const bL=dn({name:"i18n-n",props:Ye({value:{type:Number,required:!0},format:{type:[String,Object]}},Su),setup(e,t){const n=e.i18n||Iu({useScope:e.scope,__useComponent:!0});return vy(e,t,hy,(...s)=>n[rl](...s))}}),hh=bL,AL=dn({name:"i18n-d",props:Ye({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Su),setup(e,t){const n=e.i18n||Iu({useScope:e.scope,__useComponent:!0});return vy(e,t,dy,(...s)=>n[sl](...s))}}),ph=AL;function TL(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function SL(e){const t=i=>{const{instance:a,modifiers:c,value:u}=i;if(!a||!a.$)throw fn(qt.UNEXPECTED_ERROR);const l=TL(e,a.$),f=gh(u);return[Reflect.apply(l.t,l,[...mh(f)]),l]};return{created:(i,a)=>{const[c,u]=t(a);Ui&&e.global===u&&(i.__i18nWatcher=Ot(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=u,i.textContent=c},unmounted:i=>{Ui&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const c=i.__composer,u=gh(a);i.textContent=Reflect.apply(c.t,c,[...mh(u)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function gh(e){if(q(e))return{path:e};if(Ee(e)){if(!("path"in e))throw fn(qt.REQUIRED_VALUE,"path");return e}
47else throw fn(qt.INVALID_VALUE)}function mh(e){const{path:t,locale:n,args:s,choice:r,plural:o}=e,i={},a=s||{};return q(n)&&(i.locale=n),rt(r)&&(i.plural=r),rt(o)&&(i.plural=o),[t,a,i]}function IL(e,t,...n){const s=Ee(n[0])?n[0]:{},r=!!s.useI18nComponentName;(He(s.globalInstall)?s.globalInstall:!0)&&([r?"i18n":dh.name,"I18nT"].forEach(i=>e.component(i,dh)),[hh.name,"I18nN"].forEach(i=>e.component(i,hh)),[ph.name,"I18nD"].forEach(i=>e.component(i,ph))),e.directive("t",SL(t))}const RL=bs("global-vue-i18n");function CL(e={},t){const n=He(e.globalInjection)?e.globalInjection:!0,s=!0,r=new Map,[o,i]=OL(e),a=bs("");function c(f){return r.get(f)||null}function u(f,d){r.set(f,d)}function l(f){r.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return s},async install(d,...h){if(d.__VUE_I18N_SYMBOL__=a,d.provide(d.__VUE_I18N_SYMBOL__,f),Ee(h[0])){const A=h[0];f.__composerExtend=A.__composerExtend,f.__vueI18nExtend=A.__vueI18nExtend}let g=null;n&&(g=xL(d,f.global)),IL(d,f,...h);const m=d.unmount;d.unmount=()=>{g&&g(),f.dispose(),m()}},get global(){return i},dispose(){o.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:l};return f}}function Iu(e={}){const t=zn();if(t==null)throw fn(qt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw fn(qt.NOT_INSTALLED);const n=LL(t),s=PL(n),r=_y(t),o=NL(e,r);if(o==="global")return gL(s,e,r),s;if(o==="parent"){let c=wL(n,t,e.__useComponent);return c==null&&(c=s),c}const i=n;let a=i.__getInstance(t);if(a==null){const c=Ye({},e);"__i18n"in r&&(c.__i18n=r.__i18n),s&&(c.__root=s),a=yy(c),i.__composerExtend&&(a[ol]=i.__composerExtend(a)),kL(i,t,a),i.__setInstance(t,a)}return a}function OL(e,t,n){const s=Oo();{const r=s.run(()=>yy(e));if(r==null)throw fn(qt.UNEXPECTED_ERROR);return[s,r]}}function LL(e){{const t=ut(e.isCE?RL:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw fn(e.isCE?qt.NOT_INSTALLED_WITH_PROVIDE:qt.UNEXPECTED_ERROR);return t}}function NL(e,t){return pa(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function PL(e){return e.mode==="composition"?e.global:e.global.__composer}function wL(e,t,n=!1){let s=null;const r=t.root;let o=DL(t,n);for(;o!=null;){const i=e;if(e.mode==="composition"&&(s=i.__getInstance(o)),s!=null||r===o)break;o=o.parent}return s}function DL(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function kL(e,t,n){ia(()=>{},t),ql(()=>{const s=n;e.__deleteInstance(t);const r=s[ol];r&&(r(),delete s[ol])},t)}const ML=["locale","fallbackLocale","availableLocales"],_h=["t","rt","d","n","tm","te"];function xL(e,t){const n=Object.create(null);return ML.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o)throw fn(qt.UNEXPECTED_ERROR);const i=Ne(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,r,i)}),e.config.globalProperties.$i18n=n,_h.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o||!o.value)throw fn(qt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,o)}),()=>{delete e.config.globalProperties.$i18n,_h.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}dL();zO(iL);QO(LO);qO(ry);if(__INTLIFY_PROD_DEVTOOLS__){const e=gu();e.__INTLIFY__=!0,UO(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function HB(){return xt(ya)}function $L(){return xt(Lr)}const UL=ot({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=$L(),n=new RegExp([`<!--${Md}-\\[(\\w+)\\]-->`,".+?",`<!--/${Md}-->`].join(""),"g");e.hook("app:rendered",s=>{var r;((r=s.renderResult)==null?void 0:r.html)!=null&&(s.renderResult.html=s.renderResult.html.replaceAll(n,(o,i)=>o.replace(/href="([^"]+)"/,`href="${encodeURI(t(i??""))}"`)))})}});function FL(e,{locales:t=[],localeCodes:n=[],baseUrl:s="",hooks:r={},context:o={}}={}){const i=Oo(),a=e.install;return e.install=(c,...u)=>{const l=HL(u[0])?Ye({},u[0]):{inject:!0};l.inject==null&&(l.inject=!0);const f=l.__composerExtend;if(l.__composerExtend=m=>{const A=Cr(e);m.locales=we(()=>A.locales.value),m.localeCodes=we(()=>A.localeCodes.value),m.baseUrl=we(()=>A.baseUrl.value);let C;return Re(f)&&(C=Reflect.apply(f,l,[m])),()=>{C&&C()}},e.mode==="legacy"){const m=l.__vueI18nExtend;l.__vueI18nExtend=A=>{yh(A,r.onExtendVueI18n);let C;return Re(m)&&(C=Reflect.apply(m,l,[A])),()=>{C&&C()}}}u[0]=l,Reflect.apply(a,e,[c,...u]);const d=Cr(e);i.run(()=>{BL(d,{locales:t,localeCodes:n,baseUrl:s,hooks:r,context:o}),e.mode==="legacy"&&V_(e.global)&&yh(e.global,r.onExtendVueI18n)});const h=c,g=e.mode==="composition"?h.config.globalProperties.$i18n:null;if(g&&VL(g,d,r.onExtendExportedGlobal),l.inject){const m=vu(e);c.mixin({methods:{getRouteBaseName:xt(Or,m),resolveRoute:xt(Ea,m),localePath:xt(ya,m),localeRoute:xt(yu,m),localeLocation:xt(OC,m),switchLocalePath:xt(Lr,m),localeHead:xt(K_,m)}})}if(h.unmount){const m=h.unmount;h.unmount=()=>{i.stop(),m()}}},i}function BL(e,t){const{locales:n,localeCodes:s,baseUrl:r,context:o}=t,i=lt(n),a=lt(s),c=lt("");e.locales=we(()=>i.value),e.localeCodes=we(()=>a.value),e.baseUrl=we(()=>
47c.value),cC?Ot(e.locale,()=>{c.value=$d(r,o)},{immediate:!0}):c.value=$d(r,o),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function by(e,t,n){const s=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&s.push(n(e));for(const r of s)for(const[o,i]of Object.entries(r))Object.defineProperty(t,o,i)}function VL(e,t,n){by(t,e,n)}function yh(e,t){const n=Cr(e);by(n,e,t)}function HL(e){return ge(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const jL=ot({name:"i18n:plugin",parallel:rC,async setup(e){let t,n;const s=$r(),{vueApp:r}=e,o=e,i=ba(),{configLocales:a,defaultLocale:c,multiDomainLocales:u,strategy:l}=o.$config.public.i18n,f=a.some(S=>typeof S!="string"&&Array.isArray(S.defaultForDomains));let d;if(c)d=c;else if(f){const S=a.find(w=>typeof w=="string"||!Array.isArray(w.defaultForDomains)?!1:w.defaultForDomains.includes(i??""));d=(S==null?void 0:S.code)??""}else d="";if(u&&(l==="prefix_except_default"||l==="prefix_and_default")){const S=Nt();S.getRoutes().forEach(w=>{var F;if((F=w.name)!=null&&F.toString().includes("___default"))if(w.name.toString().split("___")[1]!==d)S.removeRoute(w.name);else{const Y=w.name.toString().replace("___default","");w.name=Y}})}const h={...o.$config.public.i18n,defaultLocale:d};h.baseUrl=GC();const g=ko(),m=([t,n]=an(()=>EC(sC,be())),t=await t,n(),t);m.messages=m.messages||{},m.fallbackLocale=m.fallbackLocale??!1;const A=z_(),C=S=>S||m.locale||"en-US",O=WC();let p=Bd(s,A,C(h.defaultLocale),{ssg:"normal",callType:"setup",firstAccess:!0,localeCookie:Za(O,g,h.defaultLocale)},h);m.messages=([t,n]=an(()=>vC(m.messages,Vi,{localeCodes:Rr,initialLocale:p,lazy:h.lazy,defaultLocale:h.defaultLocale,fallbackLocale:m.fallbackLocale})),t=await t,n(),t),p=C(p);const E=CL({...m,locale:p});let y=!0;const v=S=>p!==S&&y;FL(E,{locales:h.configLocales,localeCodes:Rr,baseUrl:h.baseUrl,context:o,hooks:{onExtendComposer(S){S.strategy=h.strategy,S.localeProperties=we(()=>ma.find(w=>w.code===S.locale.value)||{code:S.locale.value}),S.setLocale=async w=>{const F=v(w);await Fd(w,E,h,F)&&F&&(y=!1);const Y=await o.runWithContext(()=>Vd({route:{to:s},targetLocale:w,routeLocaleGetter:A}));await o.runWithContext(async()=>await Hd({nuxtApp:o,i18n:E,redirectPath:Y,locale:w,route:s},{enableNavigate:!0}))},S.loadLocaleMessages=async w=>{await Hi(w,Vi,(M,Y)=>Q_(E,M,Y))},S.differentDomains=h.differentDomains,S.defaultLocale=h.defaultLocale,S.getBrowserLocale=()=>J_(),S.getLocaleCookie=()=>Za(O,g,h.defaultLocale),S.setLocaleCookie=w=>YC(O,w,g),S.onBeforeLanguageSwitch=(w,F,M,Y)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:w,newLocale:F,initialSetup:M,context:Y}),S.onLanguageSwitched=(w,F)=>e.callHook("i18n:localeSwitched",{oldLocale:w,newLocale:F}),S.finalizePendingLocaleChange=async()=>{E.__pendingLocale&&(H_(E,E.__pendingLocale),E.__resolvePendingLocalePromise&&await E.__resolvePendingLocalePromise(),E.__pendingLocale=void 0)},S.waitForPendingLocaleChange=async()=>{E.__pendingLocale&&E.__pendingLocalePromise&&await E.__pendingLocalePromise}},onExtendExportedGlobal(S){return{strategy:{get(){return S.strategy}},localeProperties:{get(){return S.localeProperties.value}},setLocale:{get(){return async w=>Reflect.apply(S.setLocale,S,[w])}},differentDomains:{get(){return S.differentDomains}},defaultLocale:{get(){return S.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(S.getBrowserLocale,S,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(S.getLocaleCookie,S,[])}},setLocaleCookie:{get(){return w=>Reflect.apply(S.setLocaleCookie,S,[w])}},onBeforeLanguageSwitch:{get(){return(w,F,M,Y)=>Reflect.apply(S.onBeforeLanguageSwitch,S,[w,F,M,Y])}},onLanguageSwitched:{get(){return(w,F)=>Reflect.apply(S.onLanguageSwitched,S,[w,F])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(S.finalizePendingLocaleChange,S,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(S.waitForPendingLocaleChange,S,[])}}}},onExtendVueI18n(S){return{strategy:{get(){return S.strategy}},localeProperties:{get(){return S.localeProperties.value}},setLocale:{get(){return async w=>Reflect.apply(S.setLocale,S,[w])}},loadLocaleMessages:{get(){return async w=>Reflect.apply(S.loadLocaleMessages,S,[w])}},differentDomains:{get(){return S.differentDomains}},defaultLocale:{get(){return S.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(S.getBrowserLocale,S,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(S.getLocaleCookie,S,[])}},setLocaleCookie:{get(){return w=>Reflect.apply(S.setLocaleCookie,S,[w])}},onBeforeLanguageSwitch:{get(){return(w,F,M,Y)=>Reflect.apply(S.onBeforeLanguageSwitch,S,[w,F,M,Y])}},onLanguageSwitched:{get(){return(w,F)=>Reflect.apply(S.onLanguageSwitched,S,[w,F])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(S.finalizePendingLocaleChange,S,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(S.waitForPendingLocaleChange,S,[])}}}}}});const R={__composerExtend:S=>{const w=Cr(E);return S.strategy=w.strategy,S.localeProperties=we(()=>w.localeProperties.value),S.setLocale=w.setLocale,S.differentDomains=w.differentDomains,S.getBrowserLocale=w.getBrowserLocale,S.getLocaleCookie=w.getL
47ocaleCookie,S.setLocaleCookie=w.setLocaleCookie,S.onBeforeLanguageSwitch=w.onBeforeLanguageSwitch,S.onLanguageSwitched=w.onLanguageSwitched,S.finalizePendingLocaleChange=w.finalizePendingLocaleChange,S.waitForPendingLocaleChange=w.waitForPendingLocaleChange,()=>{}}};r.use(E,R),VC(o,E);let N=0;aS("locale-changing",async(S,w)=>{let F,M;const Y=Bd(S,A,()=>_a(E)||C(h.defaultLocale),{ssg:"normal",callType:"routing",firstAccess:N===0,localeCookie:Za(O,g,h.defaultLocale)},h),ue=v(Y);([F,M]=an(()=>Fd(Y,E,h,ue)),F=await F,M(),F)&&ue&&(y=!1);const X=([F,M]=an(()=>o.runWithContext(()=>Vd({route:{to:S,from:w},targetLocale:Y,routeLocaleGetter:h.strategy==="no_prefix"?()=>Y:A,calledWithRouting:!0}))),F=await F,M(),F);return N++,[F,M]=an(()=>o.runWithContext(async()=>Hd({nuxtApp:o,i18n:E,redirectPath:X,locale:Y,route:S}))),F=await F,M(),F},{global:!0})}}),GL="__NUXT_COLOR_MODE__",nc="nuxt-color-mode",KL="localStorage",Pn=window[GL]||{},WL=ot(e=>{const t=pu("color-mode",()=>In({preference:Pn.preference,value:Pn.value,unknown:!1,forced:!1})).value;Nt().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?Pn.getColorScheme():t.preference)});let n;function s(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Pn.getColorScheme())}))}function r(o,i){var a,c;switch(o){case"cookie":window.document.cookie=nc+"="+i;break;case"sessionStorage":(a=window.sessionStorage)==null||a.setItem(nc,i);break;case"localStorage":default:(c=window.localStorage)==null||c.setItem(nc,i)}}Ot(()=>t.preference,o=>{t.forced||(o==="system"?(t.value=Pn.getColorScheme(),s()):t.value=o,r(KL,o))},{immediate:!0}),Ot(()=>t.value,(o,i)=>{Pn.removeColorScheme(i),Pn.addColorScheme(o)}),t.preference==="system"&&s(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Pn.preference,t.value=Pn.value,t.unknown=!1)}),e.provide("colorMode",t)}),YL=ot(e=>{const t=it(),n=x_(),s=$r();let r;sessionStorage.getItem("autoSignIn")==="false"?r=!1:r=!0;const i=$_("Session").value;i!==void 0&&i!==""&&(r=!1),r&&(sessionStorage.setItem("autoSignIn","false"),iu(n.getLoginUri(t.public.selfUri+s.fullPath,"none"),{external:!0}))}),zL=ot(e=>{const t=JR();return{provide:{api:$fetch.create({onRequest({request:s,options:r,error:o}){r.headers={...r.headers,...t}}})}}});function Ve(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}function Gn(e){return function t(n){return arguments.length===0||Ve(n)?t:e.apply(this,arguments)}}function is(e){return function t(n,s){switch(arguments.length){case 0:return t;case 1:return Ve(n)?t:Gn(function(r){return e(n,r)});default:return Ve(n)&&Ve(s)?t:Ve(n)?Gn(function(r){return e(r,s)}):Ve(s)?Gn(function(r){return e(n,r)}):e(n,s)}}}function Ru(e){return function t(n,s,r){switch(arguments.length){case 0:return t;case 1:return Ve(n)?t:is(function(o,i){return e(n,o,i)});case 2:return Ve(n)&&Ve(s)?t:Ve(n)?is(function(o,i){return e(o,s,i)}):Ve(s)?is(function(o,i){return e(n,o,i)}):Gn(function(o){return e(n,s,o)});default:return Ve(n)&&Ve(s)&&Ve(r)?t:Ve(n)&&Ve(s)?is(function(o,i){return e(o,i,r)}):Ve(n)&&Ve(r)?is(function(o,i){return e(o,s,i)}):Ve(s)&&Ve(r)?is(function(o,i){return e(n,o,i)}):Ve(n)?Gn(function(o){return e(o,s,r)}):Ve(s)?Gn(function(o){return e(n,o,r)}):Ve(r)?Gn(function(o){return e(n,s,o)}):e(n,s,r)}}}function qo(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var QL=Gn(function(t){return t===null?"Null":t===void 0?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});function Eh(e){return Object.prototype.toString.call(e)==="[object Object]"}const qL=Number.isInteger||function(t){return t<<0===t};function XL(e,t){var n=e<0?t.length+e:e;return t[n]}function JL(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}function Ay(e,t,n){if(n||(n=new eN),ZL(e))return e;var s=function(o){var i=n.get(e);if(i)return i;n.set(e,o);for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(o[a]=Ay(e[a],!0,n));return o};switch(QL(e)){case"Object":return s(Object.create(Object.getPrototypeOf(e)));case"Array":return s(Array(e.length));case"Date":return new Date(e.valueOf());case"RegExp":return JL(e);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return e.slice();default:return e}}function ZL(e){var t=typeof e;return e==null||t!="object"&&t!="function"}var eN=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(t,n){var s=this.hash(t),r=this.map[s];r||(this.map[s]=r=[]),r.push([t,n]),this.length+=1},e.prototype.hash=function(t){var n=[];for(var s in t)n.push(Object.prototype.toString.call(t[s]));return n.join()},e.prototype.get=function(t){if(this.length<=180){for(var n in this.map)for(var i=this.map[n],s=0;s<i.length;s+=1){var r=i[s];if(r[0]===t)return r[1]}return}var o=this.hash(t),i=this.map[o];if(i)for(var s=0;s<i.length;s+=1){var r=i[s];if(r[0]===t)return r[1]}},e}(),fe=Gn(function(t){return t!=null&&typeof t.clone=="function"?t.clone():Ay(t)});function tN(e,t){for(var n=t,s=0;s<e.length;s+=1){if(n==null)return;var r=e[s];qL(r)?n=XL(r,n):n=n[r]}return n}var nN=Ru(function(t,n,s){var r={},o;n=n||{},s=s||{};for(o in n)qo(o,n)&&(r[o]=qo(o,s)?t(o,n[o],s[o]):n[o]);for(o in s)qo(o,s)&&!qo(o,r)&&(r[o]=s[o]);return r}),sN=Ru(function e(t,n,s){return nN(function(r,o,i){return Eh(o)&&Eh(i)?e(t,o,i):t(r,o,i)},n,s)}),rN=Ru(function(t,n,s){return sN(function(r,o,i){return t(o,i)},n,s)}),oN=is(tN),Ty=is(function(t,n){var s={};for(var r in n)t(n[r],r,n)&&(s[r]=n[r]);return s});const J=e=>typeof e=="function"&&!!(e.constructor&&e.call&&e.apply),xe=e=>typeof e=="string",Xt=e=>e===null,$e=e=>typeof e>"u",Et=e=>Xt(e)||$e(e),iN=e=>typeof e=="bigint",de=e=>!$e(e),wr=e=>
47!Et(e),aN=e=>wr(e)&&e!=="",Cu=e=>{switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}},vh=e=>typeof e=="boolean",il=(e,t)=>{const n=t.split(".");return oN(n,e)},cN=(e,t)=>!!il(e,t),lN=e=>typeof e=="object",uN=e=>!Xt(e)&&lN(e)&&!Array.isArray(e),Ue=e=>!Xt(e)&&Object.prototype.toString.call(e)==="[object Object]",fN=(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t))return fe(t);const n=fe(e);return t.forEach((s,r)=>{n[r]=Array.isArray(s)||uN(s)?Xe(n[r],s):s}),n},Xe=(e,t)=>rN(fN,e,t),Tn=e=>Ue(e)&&Object.keys(e).length>0,zr=e=>{const t=Ty(de,e);return Object.keys(t).forEach(n=>{const s=t[n];Ue(s)&&(t[n]=zr(s))}),t},Ao=e=>{const t=Ty(wr,e);return Object.keys(t).forEach(n=>{const s=t[n];Ue(s)&&(t[n]=Ao(s))}),t},wn=e=>{if(Tn(e))return Ao(e)},gn=(e,t)=>typeof e=="boolean"?e:t,dN=e=>e.replace(/^\s+|\s+$/gm,""),bh=e=>e.replace(/^\.+/,""),Ki=e=>{let t=e;if(!xe(e)&&!Et(e))try{t=JSON.stringify(e)}catch{t=null}return t},hN=e=>{const n=globalThis.atob(e).split("").map(s=>s.charCodeAt(0));return new Uint8Array(n)},pN=e=>{const t=Array.from(e,n=>String.fromCodePoint(n)).join("");return globalThis.btoa(t)},Ou=e=>pN(new TextEncoder().encode(e)),Sy=e=>new TextDecoder().decode(hN(e)),Wi=(e,t,n,s,r)=>{const o={category:e,name:t,properties:n,options:s,callback:void 0};J(r)&&(o.callback=r),J(s)&&(o.category=e,o.name=t,o.properties=n,o.options=void 0,o.callback=s),J(n)&&(o.category=e,o.name=t,o.properties=void 0,o.options=void 0,o.callback=n),J(t)&&(o.category=e,o.name=void 0,o.properties=void 0,o.options=void 0,o.callback=t),J(e)&&(o.category=void 0,o.name=void 0,o.properties=void 0,o.options=void 0,o.callback=e),Ue(e)?(o.name=void 0,o.category=void 0,o.properties=e,J(t)?o.options=void 0:o.options=t):Ue(t)&&(o.name=void 0,o.properties=t,J(n)?o.options=void 0:o.options=n),xe(e)&&!xe(t)&&(o.category=void 0,o.name=e),de(o.category)||(o.category=void 0),de(o.name)||(o.name=void 0),o.properties=o.properties?fe(o.properties):{},de(o.options)?o.options=fe(o.options):o.options=void 0;const i=xe(o.name)?o.name:o.properties.name,a=xe(o.category)?o.category:o.properties.category;return o.properties=Xe(Ue(o.properties)?o.properties:{},{...i&&{name:i},...a&&{category:a}}),o},Lu=(e,t,n,s)=>{const r={name:e,properties:t,options:n,callback:void 0};return J(s)&&(r.callback=s),J(n)&&(r.properties=t,r.options=void 0,r.callback=n),J(t)&&(r.properties=void 0,r.options=void 0,r.callback=t),r.properties=wr(r.properties)?fe(r.properties):{},de(r.options)?r.options=fe(r.options):r.options=void 0,r},Iy=(e,t,n,s)=>{const r={userId:e,traits:t,options:n,callback:void 0};return J(s)&&(r.callback=s),J(n)&&(r.userId=e,r.traits=t,r.options=void 0,r.callback=n),J(t)&&(r.userId=e,r.traits=void 0,r.options=void 0,r.callback=t),(Ue(e)||Xt(e))&&(r.userId=null,r.traits=e,J(t)?r.options=void 0:r.options=t),r.userId=Ki(r.userId),Ue(r.traits)?r.traits=fe(r.traits):r.traits=void 0,de(r.options)?r.options=fe(r.options):r.options=void 0,r},Ry=(e,t,n,s)=>{const r={to:e,from:t,options:n,callback:void 0};return J(s)&&(r.callback=s),J(n)&&(r.to=e,r.from=t,r.options=void 0,r.callback=n),J(t)?(r.to=e,r.from=void 0,r.options=void 0,r.callback=t):(Ue(t)||Xt(t))&&(r.to=e,r.from=void 0,r.options=t),de(r.to)&&(r.to=Ki(r.to)),de(r.from)?r.from=Ki(r.from):r.from=void 0,de(r.options)?r.options=fe(r.options):r.options=void 0,r},Cy=(e,t,n,s)=>{const r={groupId:e,traits:t,options:n,callback:void 0};return J(s)&&(r.callback=s),J(n)&&(r.groupId=e,r.traits=t,r.options=void 0,r.callback=n),J(t)&&(r.groupId=e,r.traits=void 0,r.options=void 0,r.callback=t),(Ue(e)||Xt(e))&&(r.groupId=null,r.traits=e,J(t)?r.options=void 0:r.options=t),r.groupId=Ki(r.groupId),Ue(r.traits)?r.traits=fe(r.traits):r.traits=void 0,de(r.options)?r.options=fe(r.options):r.options=void 0,r};let sc=function(e){return e.UNLOADED="Page Unloaded",e}({});const Nu="API",al="CapabilitiesManager",zt="ConfigManager",Oy="EventManager",Xo="PluginsManager",Ds="UserSessionManager",Qr="ErrorHandler",Js="PluginEngine",gN="StoreManager",rc=`Ready${Nu}`,mN=`Load${Nu}`,_N="HttpClient",yN="RudderStackAnalytics",Jo="AnalyticsCore";function EN(e){return crypto.getRandomValues(new Uint8Array(e))}var Ah=4096,li=[],ls=0,oc;for(;ls<256;ls++)li[ls]=(ls+256).toString(16).substring(1);function vN(){(!oc||ls+16>Ah)&&(oc=EN(Ah),ls=0);for(var e=0,t,n="";e<16;
47e++)t=oc[ls+e],e==6?n+=li[t&15|64]:e==8?n+=li[t&63|128]:n+=li[t],e&1&&e>1&&e<11&&(n+="-");return ls+=16,n}var xs=256,ui=[],Zo;for(;xs--;)ui[xs]=(xs+256).toString(16).substring(1);function bN(){var e=0,t,n="";if(!Zo||xs+16>256){for(Zo=Array(e=256);e--;)Zo[e]=256*Math.random()|0;e=xs=0}for(;e<16;e++)t=Zo[xs+e],e==6?n+=ui[t&15|64]:e==8?n+=ui[t&63|128]:n+=ui[t],e&1&&e>1&&e<11&&(n+="-");return xs++,n}const AN=()=>!Et(globalThis.crypto)&&J(globalThis.crypto.getRandomValues),yn=()=>AN()?vN():bN(),Ly=e=>{let t=!1,n=!1;function s(){t||(t=!0,e(n),setTimeout(()=>{t=!1},0))}globalThis.addEventListener("beforeunload",()=>{n=!1,s()}),globalThis.addEventListener("blur",()=>{n=!0,s()}),globalThis.addEventListener("focus",()=>{t=!1}),document.addEventListener("pagehide",()=>{n=document.visibilityState==="hidden",s()}),document.addEventListener("visibilitychange",()=>{n=!0,document.visibilityState==="hidden"?s():t=!1})},Ny=e=>e.toISOString(),Vs=()=>Ny(new Date),te=":: ",TN=e=>`A script with the id "${e}" is already loaded. Skipping the loading of this script to prevent conflicts`,Th=(e,t,n)=>`Unable to load (${xe(n)?n:n.type}) the script with the id "${e}" from URL "${t}"`,SN=(e,t,n)=>`A timeout of ${n} ms occurred while trying to load the script with id "${e}" from URL "${t}"`,IN=(e,t)=>`${e}${te}A circular reference has been detected in the object and the property "${t}" has been dropped from the output.`,RN="Failed to convert the value to a JSON string.",CN="Failed to encode the cookie data.",ON="JSONStringify",LN="[BigInt]",Py="[Circular Reference]",NN=(e,t,n)=>{const s=[];return function(r,o){if(!(t!=null&&t.includes(r))&&!(e&&Et(o))){if(typeof o!="object"||Xt(o))return o;for(;s.length>0&&s[s.length-1]!==this;)s.pop();return s.includes(o)?(n==null||n.warn(IN(ON,r)),Py):(s.push(o),o)}}},Rt=(e,t,n,s)=>{try{return JSON.stringify(e,NN(t,n,s))}catch(r){return s==null||s.warn(RN,r),null}},PN=e=>{const t=[];return function(s,r){if(iN(r))return LN;for(;t.length>0&&t[t.length-1]!==this;)t.pop();return t.includes(r)?Py:(t.push(r),r)}},wy=(e,t)=>{const n=Array.isArray(e)?[]:{};for(const s in e)if(Object.hasOwnProperty.call(e,s)){const r=e[s],o=t.call(e,s,r);Ue(o)||Array.isArray(o)?n[s]=wy(o,t):n[s]=o}return n},ve=(e,t)=>{const n=PN(),s=n.call(e,"",e);return Ue(e)||Array.isArray(e)?wy(e,n):s},fi="[SDK DISPATCHED ERROR]",Sa=e=>{const{stack:t,stacktrace:n,"opera#sourceloc":s}=e,r=t??n??s;if(r&&typeof r=="string")return r},Pu=(e,t)=>{if(!Cu(e))return new Error(`${t}: ${Rt(e)}`);try{const n=e.constructor,s=new n(`${t}: ${e.message}`),r=Sa(e);return r&&(s.stack=r),Object.getOwnPropertyNames(e).forEach(o=>{if(o!=="message"&&o!=="stack"&&o!=="name")try{s[o]=e[o]}catch{}}),s}catch{return new Error(`${t}: ${Rt(e)}`)}},Ge=e=>{if(Cu(e)){const t=Sa(e);if(t){const{stack:n,stacktrace:s,"opera#sourceloc":r}=e;switch(t){case n:e.stack=`${n}
48${fi}`;break;case s:e.stacktrace=`${s}
49${fi}`;break;case r:default:e["opera#sourceloc"]=`${r}
50${fi}`;break}}}globalThis.dispatchEvent(new ErrorEvent("error",{error:e,bubbles:!0,cancelable:!0,composed:!0}))},Sh="RudderLabs JavaScript SDK",Yi="3.23.0",wN="com.rudderlabs.javascript",Dy="npm",Ih="RudderJS-Initiated",DN="ad-block page request",kN="/ad-blocked",lo="preloadedEventsBuffer",MN="Consent Management Interaction",xN="ajs_trait_",$N="ajs_prop_",Rh="ajs_aid",Ch="ajs_uid",Oh="ajs_event",UN=10*1e3,FN=31536e3*1e3,Lh=12*60*60*1e3,cl=30*60*1e3,Nh=10*1e3,BN=10*1e3,VN=250,ky=(e="app")=>{globalThis.RudderStackGlobals||(globalThis.RudderStackGlobals={}),globalThis.RudderStackGlobals[e]||(globalThis.RudderStackGlobals[e]={})},zi=(e,t,n="app")=>{ky(n),globalThis.RudderStackGlobals[n][e]=t},My=(e,t="app")=>(ky(t),globalThis.RudderStackGlobals[t][e]);function HN(e,t,n=VN){let s;return(...r)=>{globalThis.clearTimeout(s),s=globalThis.setTimeout(()=>{e.apply(t,r)},n)}}const Ph=(e,t)=>{const n={};return e.forEach((s,r)=>{if(r.startsWith(t)){const o=r.substring(t.length);n[o]=e.get(r)}}),n},jN=(e=[])=>{const t={trait:xN,properties:$N},n=new URLSearchParams(globalThis.location.search);n.get(Oh)&&e.unshift(["track",n.get(Oh),Ph(n,t.properties)]),n.get(Ch)&&e.unshift(["identify",n.get(Ch),Ph(n,t.trait)]),n.get(Rh)&&e.unshift(["setAnonymousId",n.get(Rh)])},GN=e=>{const t="load";let n=[],s=0;for(;s<e.length;){if(e[s]&&e[s][0]===t){n=fe(e[s]),e.splice(s,1);break}s+=1}return n},KN=e=>{const t="consent",n=e.filter(r=>r[0]===t),s=e.filter(r=>r[0]!==t);e.splice(0,e.length,...n,...s)},WN=e=>{const t=My(lo)||[];jN(t),t.length>0&&(e.enqueuePreloadBufferEvents(t),zi(lo,[]))},YN=(e,t)=>{const n=e.shift();let s;if(J(t[n])){switch(n){case"page":s=Wi(...e);break;case"track":s=Lu(...e);break;case"identify":s=Iy(...e);break;case"alias":s=Ry(...e);break;case"group":s=Cy(...e);break;default:t[n](...e);break}s&&t[n](s)}},zN=10*1e3,QN="RS_JS_SDK",qN=(e,t,n=!0,s=null,r=null,o={})=>{const i=document.createElement("script");return i.type="text/javascript",i.onload=s,i.onerror=r,i.src=e,i.id=t,i.async=n,Object.keys(o).forEac
50h(a=>{i.setAttribute(a,o[a])}),i.setAttribute("data-loader",QN),i},XN=e=>{var o,i,a,c;const t=document.getElementsByTagName("head");if(t.length>0){(i=t[0])==null||i.insertBefore(e,(o=t[0])==null?void 0:o.firstChild);return}const n=document.getElementsByTagName("script");if(n.length>0&&((a=n[0])!=null&&a.parentNode)){(c=n[0])==null||c.parentNode.insertBefore(e,n[0]);return}const s=document.createElement("head");s.appendChild(e);const r=document.getElementsByTagName("html")[0];r==null||r.insertBefore(s,r.firstChild)},JN=(e,t,n,s=!0,r)=>new Promise((o,i)=>{document.getElementById(t)&&i(new Error(TN(t)));try{let c;XN(qN(e,t,s,()=>{globalThis.clearTimeout(c),o(t)},f=>{globalThis.clearTimeout(c),i(new Error(Th(t,e,f)))},r)),c=globalThis.setTimeout(()=>{i(new Error(SN(t,e,n)))},n)}catch(c){i(Pu(c,Th(t,e,"unknown")))}});class xy{constructor(t,n=zN){this.logger=t,this.timeout=n}loadJSFile(t){const{url:n,id:s,timeout:r,async:o,callback:i,extraAttributes:a}=t,c=!J(i);JN(n,s,r||this.timeout,o,a).then(u=>{c||i(u)}).catch(u=>{c||i(s,u)})}}var ZN=Symbol.for("preact-signals");function Ia(){if(hs>1)hs--;else{for(var e,t=!1;uo!==void 0;){var n=uo;for(uo=void 0,ll++;n!==void 0;){var s=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Fy(n))try{n.c()}catch(r){t||(e=r,t=!0)}n=s}}if(ll=0,hs--,t)throw e}}function Ct(e){if(hs>0)return e();hs++;try{return e()}finally{Ia()}}var Ie=void 0;function $y(e){var t=Ie;Ie=void 0;try{return e()}finally{Ie=t}}var uo=void 0,hs=0,ll=0,Qi=0;function Uy(e){if(Ie!==void 0){var t=e.n;if(t===void 0||t.t!==Ie)return t={i:0,S:e,p:Ie.s,n:void 0,t:Ie,e:void 0,x:void 0,r:t},Ie.s!==void 0&&(Ie.s.n=t),Ie.s=t,e.n=t,32&Ie.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=Ie.s,t.n=void 0,Ie.s.n=t,Ie.s=t),t}}function wt(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.W=t==null?void 0:t.watched,this.Z=t==null?void 0:t.unwatched}wt.prototype.brand=ZN;wt.prototype.h=function(){return!0};wt.prototype.S=function(e){var t=this,n=this.t;n!==e&&e.e===void 0&&(e.x=n,this.t=e,n!==void 0?n.e=e:$y(function(){var s;(s=t.W)==null||s.call(t)}))};wt.prototype.U=function(e){var t=this;if(this.t!==void 0){var n=e.e,s=e.x;n!==void 0&&(n.x=s,e.e=void 0),s!==void 0&&(s.e=n,e.x=void 0),e===this.t&&(this.t=s,s===void 0&&$y(function(){var r;(r=t.Z)==null||r.call(t)}))}};wt.prototype.subscribe=function(e){var t=this;return Sn(function(){var n=t.value,s=Ie;Ie=void 0;try{e(n)}finally{Ie=s}})};wt.prototype.valueOf=function(){return this.value};wt.prototype.toString=function(){return this.value+""};wt.prototype.toJSON=function(){return this.value};wt.prototype.peek=function(){var e=Ie;Ie=void 0;try{return this.value}finally{Ie=e}};Object.defineProperty(wt.prototype,"value",{get:function(){var e=Uy(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(ll>100)throw new Error("Cycle detected");this.v=e,this.i++,Qi++,hs++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Ia()}}}});function W(e,t){return new wt(e,t)}function Fy(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function By(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function Vy(e){for(var t=e.s,n=void 0;t!==void 0;){var s=t.p;t.i===-1?(t.S.U(t),s!==void 0&&(s.n=t.n),t.n!==void 0&&(t.n.p=s)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=s}e.s=n}function Ur(e,t){wt.call(this,void 0),this.x=e,this.s=void 0,this.g=Qi-1,this.f=4,this.W=t==null?void 0:t.watched,this.Z=t==null?void 0:t.unwatched}Ur.prototype=new wt;Ur.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Qi))return!0;if(this.g=Qi,this.f|=1,this.i>0&&!Fy(this))return this.f&=-2,!0;var e=Ie;try{By(this),Ie=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return Ie=e,Vy(this),this.f&=-2,!0};Ur.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}wt.prototype.S.call(this,e)};Ur.prototype.U=function(e){if(this.t!==void 0&&(wt.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};Ur.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(Ur.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=Uy(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function Hy(e){var t=e.u;if(e.u=void 0,typeof t=="function"){hs++;var n=Ie;Ie=void 0;try{t()}catch(s){throw e.f&=-2,e.f|=8,wu(e),s}finally{Ie=n,Ia()}}}function wu(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Hy(e)}function eP(e){if(Ie!==this)throw new Error("Out-of-order effect");Vy(this),Ie=e,this.f&=-2,8&this.f&&wu(this),Ia()}function Fr(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Fr.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}};Fr.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Hy(this),By(this),hs++;var e=Ie;return Ie=this,eP.bind(this,e)};Fr.prototype.N=function(){2&this.f||(this.f|=2,this.o=uo,uo=this)};Fr.prototype.d=function(){this.f|=8,1&this.f||wu(this)};Fr.prototype.dispose=function(){this.d()};function Sn(e){var t=new Fr(e);try{t.c()}catch(s){throw t.d(),s}var n=t.d.bind(t);return n[Symbol.dispose]=n,n}class tP{constructor(){this.items=[]}enqueue(t){this.items.push(t)}dequeue(){return this.items.length===0?null:this.items.shift()}isEmpty(){return this.items.length===0}size(){return this.items.length}clear(){this.items=[]}}const ei={LOG:0,INFO:1,DEBUG:2,WARN:3,ERROR:4,NONE:5},wh="LOG",jy="ERROR",nP="RS SDK",sP="font-weight: bold; background: black; color: white;",rP="font-weight: normal;";class oP{constructor(t=wh,n="",s=console){this.minLogLevel=ei[t],this.scope=n,this.logProvider=s}log(...t){this.outputLog("LOG",t)}info(...t){this.outputLog("INFO",t)}debug(...t){this.outputLog("DEBUG",t)}warn(...t){this.outputLog("WARN",t)}error(...t){this.outputLog("ERROR",t)}outputLog(t,n){var s,r;this.minLogLevel<=ei[t]&&((r=(s=this.logProvider)[t.toLowerCase()])==null||r.call(s,...this.formatLogData(n)))}setScope(t){this.scope=t||this.scope}setMinLogLevel(t){this.minLogLevel=ei[t],$e(this.minLogLevel)&&(this.minLogLevel=ei[wh])}formatLogData(t){if(Array.isArray(t)&&t.length>0){let n=`%c ${nP}`;this.scope&&(n=`${n} - ${this.scope}`);const s=xe(t[0])?t[0].trim():"";n=`${n} %c ${s}`;const r=[n,sP,rP];return xe(t[0])||r.push(t[0]),r.push(...t.slice(1)),r}return t}}const Qn=new oP;let xn=function(e){return e.HANDLEDEXCEPTION="handledException",e.UNHANDLEDEXCEPTION="unhandledException",e.UNHANDLEDREJECTION="unhandledPromiseRejection",e}({});const Gy=["localStorage","memoryStorage","cookieStorage","sessionStorage","none"],ul="cookieStorage",Dh="Unable to process/parse source configuration response",iP="The source is disabled. Please enable the source in the dashboard to send events.",aP="Failed to prepare data for the request.",cP="Failed to invoke plugin because the extension point name is missing.",lP="Failed to invoke plugin because the extension point name is invali
50d.",uP=e=>`${e}${te}The "getSourceConfig" load API option must be a function that returns valid source configuration data.`,fP=(e,t,n)=>`${e}${te}The base URL "${n}" for ${t} is not valid.`,dP=(e,t,n)=>`${e}${te}The consent manager "${t}" is not supported. Please choose one of the following supported consent managers: "${Object.keys(n)}".`,hP=(e,t)=>`${e}${te}Ignoring a non-error: ${t}.`,kh="Failed to log breadcrumb",pP=e=>`${e}${te}Failed to handle the error.`,gP=e=>`${e}${te}Plugin name is missing.`,mP=(e,t)=>`${e}${te}Plugin "${t}" already exists.`,_P=(e,t)=>`${e}${te}Plugin "${t}" not found.`,yP=(e,t)=>`${e}${te}Plugin "${t}" not found in plugins but found in byName. This indicates a bug in the plugin engine. Please report this issue to the development team.`,EP=(e,t,n)=>`${e}${te}Plugin "${t}" could not be loaded because some of its dependencies "${n}" do not exist.`,vP=(e,t,n)=>`${e}${te}Failed to invoke the "${t}" extension point of plugin "${n}".`,bP=(e,t)=>`${e}${te}The "${t}" storage type is `,Mh="Failed to fetch the source config",AP=(e,t)=>`${e}${te}The write key "${t}" is invalid. It must be a non-empty string. Please check that the write key is correct and try again.`,TP=(e,t)=>`${e}${te}The data plane URL "${t}" is invalid. It must be a valid URL string. Please check that the data plane URL is correct and try again.`,Ky=e=>`${e}${te}The provided callback parameter is not a function.`,SP=(e,t,n,s,r)=>`${e} with status ${t} (${n}) for URL: ${s}. Response: ${r.trim()}`,IP=(e,t,n)=>`${e} due to timeout or no connection (${t?t.type:""}) at the client side for URL: ${n}`,RP=(e,t)=>`${e} for URL: ${t}`,CP=e=>`Failed to save the value for "${e}" to storage`,OP=e=>`Failed to retrieve or parse data for "${e}" from storage`,LP=e=>`The server responded with status ${e} while setting the cookies. As a fallback, the cookies will be set client side.`,NP=e=>`The server failed to set the ${e} cookie. As a fallback, the cookies will be set client side.`,xh="Failed to set/remove cookies via server. As a fallback, the cookies will be managed client side.",PP=(e,t,n)=>`${e}${te}The storage type "${t}" is not supported. Please choose one of the following supported types: "${Gy}". The default type "${n}" will be used instead.`,wP=(e,t,n,s)=>`${e}${te}The storage encryption version "${t}" is not supported. Please choose one of the following supported versions: "${Object.keys(n)}". The default version "${s}" will be used instead.`,DP=(e,t,n)=>`${e}${te}The storage data migration has been disabled because the configured storage encryption version (${t}) is not the latest (${n}). To enable storage data migration, please update the storage encryption version to the latest version.`,kP=(e,t,n)=>`${e}${te}The provided cookie domain (${t}) does not match the current webpage's domain (${n}). Hence, the cookies will be set client-side.`,MP=(e,t,n,s)=>`${e}${te}The "${t}" property defined under "${n}" is a reserved keyword. Please choose a different property name to avoid conflicts with reserved keywords (${s}).`,xP=e=>`${e}${te}Please make sure that the "context" property in the event API's "options" argument is a valid object literal with key-value pairs.`,$P=e=>`${e}${te}The Beacon API is not supported by your browser. The events will be sent using XHR instead.`,UP=(e,t,n)=>`${e}${te}The session timeout value "${t}" is not a number. The default timeout of ${n} ms will be used instead.`,FP=(e,t,n)=>`${e}${te}The session cut off duration value "${t}" is not a number. The default cut off duration of ${n} ms will be used instead.`,BP=(e,t,n)=>`${e}${te}The session cut off duration value "${t}" ms is less than the session timeout value "${n}" ms. The cut off functionality will be disabled.`,VP=e=>`${e}${te}The session timeout value is 0, which disables the automatic session tracking feature. If you want to enable session tracking, please provide a positive integer value for the timeout.`,HP=(e,t,n)=>`${e}${te}The session timeout value ${t} ms is less than the recommended minimum of ${n} ms. Please consider increasing the timeout value to ensure optimal performance and reliability.`,jP=(e,t,n
50)=>`${e}${te}The provided session ID (${t}) is either invalid, not a positive integer, or not at least "${n}" digits long. A new session ID will be auto-generated instead.`,GP=e=>`${e}${te}The storage is either full or unavailable, so the data will not be persisted. Switching to in-memory storage.`,KP=(e,t,n,s)=>`${e}${te}The storage type "${n}" is not available for entry "${t}". The SDK will initialize the entry with "${s}" storage type instead.`,WP=e=>`${e}${te}The callback threw an exception`,YP=(e,t)=>`${e}${te}The provided source config URL "${t}" is invalid. Using the default source config URL instead.`,zP=(e,t)=>`Failed to load the polyfill script with ID "${e}" from URL ${t}.`,QP=(e,t,n)=>`${e}${te}The pre-consent storage strategy "${t}" is not supported. Please choose one of the following supported strategies: "none, session, anonymousId". The default strategy "${n}" will be used instead.`,qP=(e,t,n)=>`${e}${te}The pre-consent events delivery type "${t}" is not supported. Please choose one of the following supported types: "immediate, buffer". The default type "${n}" will be used instead.`,XP=(e,t)=>`${e}${te}${t} plugin is deprecated. Please exclude it from the load API options.`,JP=(e,t,n,s)=>{const r=n.length===1,o=r?` '${n[0]}' plugin was`:` ['${n.join("', '")}'] plugins were`,i=`${e}${te}${t}, but${o} not configured to load.`;return s?`${i} So, ${r?"the plugin":"those plugins"} will be loaded automatically.`:`${i} Ignore if this was intentional. Otherwise, consider adding ${r?"it":"them"} to the 'plugins' load API option.`},ZP=(e,t)=>`${e}${te}The provided polyfill URL "${t}" is invalid. The default polyfill URL will be used instead.`,ew=e=>`${e}${te}Page Unloaded event can only be tracked when the Beacon transport is active. Please enable "useBeacon" load API option.`,tw=(e,t)=>`${e}${te}Ignoring unknown plugins: ${t.join(", ")}.`,nw=(e,t)=>`${e}${te}Cannot add custom integration for destination ID "${t}" after the SDK is loaded.`,Wy={All:!0},Du="js-integrations",sw="plugins",rw=new RegExp("^(https?:\\/\\/)(((([a-zA-Z\\d]([a-zA-Z\\d-]*[a-zA-Z\\d])*)\\.)+[a-zA-Z]{2,}|localhost|((25[0-5]|2[0-4][0-9]|[0-1]?[0-9]?[0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[0-1]?[0-9]?[0-9]?)))(\\:\\d+)?(\\/[-a-zA-Z\\d%_.~+]*)*(\\?[;&a-zA-Z\\d%_.~+=-]*)?(\\#[-a-zA-Z\\d_]*)?$"),To="modern",Ra="https://cdn.rudderlabs.com",ku="v3",Yy=`${Ra}/${ku}/${To}/${Du}`,ow=`${Ra}/${ku}/${To}/${sw}`,zy="https://api.rudderstack.com",ks="v3",iw="xhr",fl={iubenda:"IubendaConsentManager",oneTrust:"OneTrustConsentManager",ketch:"KetchConsentManager",custom:"CustomConsentManager"},di={[ks]:"StorageEncryption",legacy:"StorageEncryptionLegacy"},aw={[iw]:"XhrQueue",beacon:"BeaconQueue"},cw="rsaRequest",lw="rsaMetrics",uw="Custom Device Mode",fw={configUrl:zy,loadIntegration:!0,sessions:{autoTrack:!0,timeout:cl,cutOff:{enabled:!1}},sameSiteCookie:"Lax",polyfillIfRequired:!0,integrations:Wy,useBeacon:!1,beaconQueueOptions:{},destinationsQueueOptions:{},queueOptions:{},lockIntegrationsVersion:!0,lockPluginsVersion:!0,uaChTrackLevel:"none",plugins:[],useGlobalIntegrationsConfigInEvents:!1,bufferDataPlaneEventsUntilReady:!1,dataPlaneEventsBufferTimeout:BN,storage:{encryption:{version:ks},migrate:!0,cookie:{}},sendAdblockPage:!1,sameDomainCookiesOnly:!1,secureCookie:!1,sendAdblockPageOptions:{},useServerSideCookies:!1},dw=W(fe(fw)),Ae={userId:"",userTraits:{},anonymousId:"",groupId:"",groupTraits:{},initialReferrer:"",initialReferringDomain:"",sessionInfo:{},authToken:null},hw=10,pw={userId:W(Ae.userId),userTraits:W(Ae.userTraits),anonymousId:W(Ae.anonymousId),groupId:W(Ae.groupId),groupTraits:W(Ae.groupTraits),initialReferrer:W(Ae.initialReferrer),initialReferringDomain:W(Ae.initialReferringDomain),sessionInfo:W(Ae.sessionInfo),authToken:W(Ae.authToken)},gw={isOnline:W(!0),storage:{isLocalStorageAvailable:W(!1),isCookieStorageAvailable:W(!1),isSessionStorageAvailable:W(!1)},isBeaconAvailable:W(!1),isLegacyDOM:W(!1),isUaCHAvailable:W(!1),isCryptoAvailable:W(!1),isIE11:W(!1),isAdBlockerDetectionInProgress:W(!1),isAdBlocked:W(void 0),cspBlockedURLs:W([])},mw={isErrorReportingEnabled:W(!1),isMetricsReportingEnabled:W(!1),breadcrumbs:W([])},_w=W(void 0),yw={activeDataplaneUrl:W(void 0),integrationsCDNPath:W(Yy),pluginsCDNPath:W(ow),sourceConfigUrl:W(void 0),status:W(void 0),initialized:W(!1),logLevel:W(jy),loaded:W(!1),readyCallbacks:W([]),writeKey:W(void 0),dataPlaneUrl:W(void 0),safeAnalyticsInstance:W(void 0)},Ew={enabled:W(!1),initialized:W(!1),data:W({}),activeConsentManagerPluginName:W(void 0),preConsent:W({enabled:!1}),postConsent:W({}),resolutionStrategy:W("and"),provider:W(void 0),metadata:W(void 0)},vw={retries:W(0),dropped:W(0),sent:W(0),queued:W(0),triggered:W(0),metricsServiceUrl:W(void 0)},bw={app:W({name:Sh,namespace:wN,version:Yi,installType:Dy}),traits:W(null),library:W({name:Sh,version:Yi,snippetVersion:globalThis.RudderSnippetVersion}),userAgent:W(null),device:W(null),network:W(null),os:W({name:"",version:""}),locale:W(null),screen:W({density:0,width:0,height:0,innerWidth:0,innerHeight:0}),"ua-ch":W(void 0),timezone:W(void 0)},Aw={configuredDestinations:W([]),activeDestinations:W([]),loadOnlyIntegrations:W({}),failedDestinations:W([]),loadIntegration:W(!0),initializedDestinations:W([]),clientDestinationsReady:W(!1),integrationsConfig:W({})},Tw={toBeProcessedArray:W([]),readyCallbacksArray:W([])},Sw={ready:W(!1),loadedPlugins:W([]),failedPlugins:W([]),pluginsToLoadFromConfig:W([]),activePlugins:W([]),totalPluginsToLoad:W(0)},Iw={encryptionPluginName:W(void 0),migrate:W(!1),type:W(void 0),cookie:W(void 0),entries:W({}),trulyAnonymousTracking:W(!1)},Rw={isEnabledServerSideCookies:W(!1),dataServiceUrl:W(void 0)},Cw={eventsQueuePluginName:W(void 0),deliveryEnabled:W(!0)},Ow={enabled:W(!1),pageLifecycle:{enabled:W(!1),pageViewId:W(void 0),pageLoadedTimestamp:W(void 0)}},Lw={capabilities:gw,consents:Ew,context:bw,eventBuffer:Tw,lifecycle:yw,loadOptions:dw,metrics:vw,nativeDestinations:Aw,plugins:Sw,reporting:mw,session:pw,source:_w,storage:Iw,serverCookies:Rw,dataPlaneEvents:Cw,autoTrack:Ow},_={...fe(Lw)};
50function Qy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hi={exports:{}},pi={exports:{}},Nw=pi.exports,$h;function Pw(){return $h||($h=1,function(e,t){(function(n,s){e.exports=s()})(Nw,function(){function n(m){return!isNaN(parseFloat(m))&&isFinite(m)}function s(m){return m.charAt(0).toUpperCase()+m.substring(1)}function r(m){return function(){return this[m]}}var o=["isConstructor","isEval","isNative","isToplevel"],i=["columnNumber","lineNumber"],a=["fileName","functionName","source"],c=["args"],u=["evalOrigin"],l=o.concat(i,a,c,u);function f(m){if(m)for(var A=0;A<l.length;A++)m[l[A]]!==void 0&&this["set"+s(l[A])](m[l[A]])}f.prototype={getArgs:function(){return this.args},setArgs:function(m){if(Object.prototype.toString.call(m)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=m},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(m){if(m instanceof f)this.evalOrigin=m;else if(m instanceof Object)this.evalOrigin=new f(m);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var m=this.getFileName()||"",A=this.getLineNumber()||"",C=this.getColumnNumber()||"",O=this.getFunctionName()||"";return this.getIsEval()?m?"[eval] ("+m+":"+A+":"+C+")":"[eval]:"+A+":"+C:O?O+" ("+m+":"+A+":"+C+")":m+":"+A+":"+C}},f.fromString=function(A){var C=A.indexOf("("),O=A.lastIndexOf(")"),p=A.substring(0,C),E=A.substring(C+1,O).split(","),y=A.substring(O+1);if(y.indexOf("@")===0)var v=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(y,""),R=v[1],N=v[2],S=v[3];return new f({functionName:p,args:E||void 0,fileName:R,lineNumber:N||void 0,columnNumber:S||void 0})};for(var d=0;d<o.length;d++)f.prototype["get"+s(o[d])]=r(o[d]),f.prototype["set"+s(o[d])]=function(m){return function(A){this[m]=!!A}}(o[d]);for(var h=0;h<i.length;h++)f.prototype["get"+s(i[h])]=r(i[h]),f.prototype["set"+s(i[h])]=function(m){return function(A){if(!n(A))throw new TypeError(m+" must be a Number");this[m]=Number(A)}}(i[h]);for(var g=0;g<a.length;g++)f.prototype["get"+s(a[g])]=r(a[g]),f.prototype["set"+s(a[g])]=function(m){return function(A){this[m]=String(A)}}(a[g]);return f})}(pi)),pi.exports}var ww=hi.exports,Uh;function Dw(){return Uh||(Uh=1,function(e,t){(function(n,s){e.exports=s(Pw())})(ww,function(s){var r=/(^|@)\S+:\d+/,o=/^\s*at .*(\S+:\d+|\(native\))/m,i=/^(eval@)?(\[native code])?$/;return{parse:function(c){if(typeof c.stacktrace<"u"||typeof c["opera#sourceloc"]<"u")return this.parseOpera(c);if(c.stack&&c.stack.match(o))return this.parseV8OrIE(c);if(c.stack)return this.parseFFOrSafari(c);throw new Error("Cannot parse given Error object")},extractLocation:function(c){if(c.indexOf(":")===-1)return[c];var u=/(.+?)(?::(\d+))?(?::(\d+))?$/,l=u.exec(c.replace(/[()]/g,""));return[l[1],l[2]||void 0,l[3]||void 0]},parseV8OrIE:function(c){var u=c.stack.split(`
51`).filter(function(l){return!!l.match(o)},this);return u.map(function(l){l.indexOf("(eval ")>-1&&(l=l.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var f=l.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),d=f.match(/ (\(.+\)$)/);f=d?f.replace(d[0],""):f;var h=this.extractLocation(d?d[1]:f),g=d&&f||void 0,m=["eval","<anonymous>"].indexOf(h[0])>-1?void 0:h[0];return new s({functionName:g,fileName:m,lineNumber:h[1],columnNumber:h[2],source:l})},this)},parseFFOrSafari:function(c){var u=c.stack.split(`
52`).filter(function(l){return!l.match(i)},this);return u.map(function(l){if(l.indexOf(" > eval")>-1&&(l=l.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),l.indexOf("@")===-1&&l.indexOf(":")===-1)return new s({functionName:l});var f=/((.*".+"[^@]*)?[^@]*)(?:@)/,d=l.match(f),h=d&&d[1]?d[1]:void 0,g=this.extractLocation(l.replace(f,""));return new s({functionName:h,fileName:g[0],lineNumber:g[1],columnNumber:g[2],source:l})},this)},parseOpera:function(c){return!c.stacktrace||c.message.indexOf(`
53`)>-1&&c.message.split(`
54`).length>c.stacktrace.split(`
55`).length?this.parseOpera9(c):c.stack?this.parseOpera11(c):this.parseOpera10(c)},parseOpera9:function(c){for(var u=/Line (\d+).*script (?:in )?(\S+)/i,l=c.message.split(`
56`),f=[],d=2,h=l.length;d<h;d+=2){var g=u.exec(l[d]);g&&f.push(new s({fileName:g[2],lineNumber:g[1],source:l[d]}))}return f},parseOpera10:function(c){for(var u=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,l=c.stacktrace.split(`
57`),f=[],d=0,h=l.length;d<h;d+=2){var g=u.exec(l[d]);g&&f.push(new s({functionName:g[3]||void 0,fileName:g[2],lineNumber:g[1],source:l[d]}))}return f},parseOpera11:function(c){var u=c.stack.split(`
58`).filter(function(l){return!!l.match(r)&&!l.match(/^Error created at/)},this);return u.map(function(l){var f=l.split("@"),d=this.extractLocation(f.pop()),h=f.shift()||"",g=h.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0,m;h.match(/\(([^)]*)\)/)&&(m=h.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var A=m===void 0||m==="[arguments not available]"?void 0:m.split(",");return new s({functionName:g,args:A,fileName:d[0],lineNumber:d[1],columnNumber:d[2],source:l})},this)}}})}(hi)),hi.exports}var kw=Dw();const Mw=Qy(kw),qy="global code",xw=e=>de(e)&&/^global code$/i.test(e)?qy:e,$w=e=>{const t={file:e.fileName,method:xw(e.functionName),lineNumber:e.lineNumber,columnNumber:e.columnNumber};return t.lineNumber&&t.lineNumber>-1&&!t.file&&!t.method&&(t.file=qy),t},Fh=e=>xe(e)?e:"";function Bh(e,t,n,s){return{errorClass:Fh(e),message:`${n}${Fh(t)}`,type:"browserjs",stacktrace:s.reduce((r,o)=>{const i=$w(o);try{return JSON.stringify(i)==="{}"?r:r.concat(i)}catch{return r}},[])}}const Xy=(e,t)=>{let n;return Cu(e)&&xe(Sa(e))?n=e:(t.warn(hP(Qr,Rt(e))),n=void 0),n},Uw=(e,t)=>{try{const n=Mw.parse(e);return Bh(e.name,e.message,t,n)}catch{return Bh(e.name,e.message,t,[])}},Vh=(e,t)=>{try{return JSON.parse(e||"")}catch(n){const s=Pu(n,"Failed to parse response data");t(s)}},gi="The request failed",Fw=[/Failed to fetch dynamically imported module: .*/],Bw=[/Unable to load \(.*\) the script with the id .*/,/A timeout of \d+ ms occurred while trying to load the script with id .*/],Vw=[new RegExp(`${gi}.*`),/A script with the id .* is already loaded\./],Hw=[...Fw,...Bw],jw={headers:{Accept:"application/json","Content-Type":"application/json;charset=UTF-8"},method:"GET"},Hh=(e,t,n)=>{const s=Xe(jw,t||{});return n&&(s.headers=Xe(s.headers,{Authorization:n})),s.url=e,s},jh=(e,t=UN,n)=>new Promise((s,r)=>{let o;if(e.sendRawData===!0)o=e.data;else if(o=Rt(e.data,!1,[],n),Xt(o)){r({error:new Error(aP),undefined:void 0,options:e});return}const i=new XMLHttpRequest,a=u=>{r({error:new Error(SP(gi,i.status,i.statusText,e.url,i.responseText)),xhr:i,options:e})},c=u=>{r({error:new Error(IP(gi,u,e.url)),xhr:i,options:e,...(u==null?void 0:u.type)==="timeout"?{timedOut:!0}:{}})};i.ontimeout=c,i.onerror=c,i.onload=()=>{i.status>=200&&i.status<400?s({response:i.responseText,xhr:i,options:e}):a()},i.open(e.method,e.url,!0),e.withCredentials===!0&&(i.withCredentials=!0),i.timeout=t,Object.keys(e.headers).forEac
58h(u=>{e.headers[u]&&i.setRequestHeader(u,e.headers[u])});try{i.send(o)}catch(u){r({error:Pu(u,RP(gi,e.url)),xhr:i,options:e})}});class Gw{constructor(t){this.logger=t,this.onError=this.onError.bind(this)}init(t){this.errorHandler=t}async getData(t){const{url:n,options:s,timeout:r,isRawResponse:o}=t;try{const i=await jh(Hh(n,s,this.basicAuthHeader),r,this.logger);return{data:o?i.response:Vh(i.response,this.onError),details:i}}catch(i){return{data:void 0,details:i}}}getAsyncData(t){const{callback:n,url:s,options:r,timeout:o,isRawResponse:i}=t,a=!J(n);jh(Hh(s,r,this.basicAuthHeader),o,this.logger).then(c=>{a||n(i?c.response:Vh(c.response,this.onError),c)}).catch(c=>{a||n(void 0,c)})}onError(t,n){var s;(s=this.errorHandler)==null||s.onError({error:t,context:_N,groupingHash:n})}setAuthHeader(t,n=!1){const s=n?t:Ou(`${t}:`);this.basicAuthHeader=`Basic ${s}`}resetAuthHeader(){this.basicAuthHeader=void 0}}const Jy=new Gw(Qn),Kw="1",Ww=()=>["rsa"],Yw=["www.test-host.com","localhost","127.0.0.1","[::1]"],zw=["userId","userTraits","groupId","groupTraits","anonymousId","config","integration","eventBuffer","traits","authToken"],Qw="RudderStack JavaScript SDK",qw="git+https://github.com/rudderlabs/rudder-sdk-js.git",Xw="js",Jw="sdk",Zy=e=>{_.capabilities.isAdBlockerDetectionInProgress.value=!0;try{const t=new URL(_.lifecycle.sourceConfigUrl.value),n=`${t.origin}${t.pathname}?view=ad`;e.getAsyncData({url:n,options:{method:"HEAD",headers:{"Content-Type":void 0}},isRawResponse:!0,callback:(s,r)=>{var o;_.capabilities.isAdBlockerDetectionInProgress.value=!1,_.capabilities.isAdBlocked.value=(r==null?void 0:r.error)!==void 0||((o=r==null?void 0:r.xhr)==null?void 0:o.responseURL)!==n}})}catch(t){throw _.capabilities.isAdBlockerDetectionInProgress.value=!1,t}},Zw=(e,t)=>{switch(t){case xn.UNHANDLEDEXCEPTION:{const{error:n}=e;return n||e}case xn.UNHANDLEDREJECTION:return e.reason;case xn.HANDLEDEXCEPTION:default:return e}},eD=e=>({type:"manual",name:e,timestamp:new Date,metaData:{}}),tD=(e=()=>window.location.hostname)=>{const t=e();return!t||t&&Yw.includes(t)?"development":"production"},nD=e=>{const t=Rt(e,!1,zw);return t!==null?JSON.parse(t):{}},sD=()=>globalThis.location.href.split("?")[0],rD=(e,t,n,s)=>{var r,o;return{id:`${((r=e.value)==null?void 0:r.id)??n.writeKey.value}..${t.sessionInfo.value.id??"NA"}..${s.pageLifecycle.pageViewId.value??"NA"}`,name:((o=e.value)==null?void 0:o.name)??"NA"}},oD=(e,t)=>({locale:e.value??"NA",userAgent:t.value??"NA",time:new Date}),iD=(e,t,n,s)=>{const{context:r,lifecycle:o,session:i,source:a,reporting:c,autoTrack:u}=n,{app:l,locale:f,userAgent:d,timezone:h,screen:g,library:m}=r;return{payloadVersion:"5",notifier:{name:Qw,version:l.value.version,url:qw},events:[{exceptions:[fe(e)],severity:t.severity,unhandled:t.unhandled,severityReason:t.severityReason,app:{version:l.value.version,releaseStage:tD(),type:l.value.installType},device:oD(f,d),request:{url:sD(),clientIp:"[NOT COLLECTED]"},breadcrumbs:fe(c.breadcrumbs.value),context:e.message,groupingHash:s,metaData:{app:{snippetVersion:m.value.snippetVersion},device:{...g.value,timezone:h.value},...nD(n)},user:rD(a,i,o,u)}]}},aD=(e,t,n)=>{if($e(e.capabilities.isAdBlocked.value)){e.capabilities.isAdBlockerDetectionInProgress.value===!1&&Zy(t);const s=Sn(()=>{de(e.capabilities.isAdBlocked.value)&&(n(e.capabilities.isAdBlocked.value===!1),s())})}else n(e.capabilities.isAdBlocked.value===!1)},cD=(e,t,n)=>{const s=e.message;return new Promise(r=>{var o;if(Hw.some(i=>i.test(s))){const i=(o=/https?:\/\/[^\s"'(),;<>[\]{}]+/.exec(s))==null?void 0:o[0];xe(i)?i.startsWith(Ra)?t.capabilities.cspBlockedURLs.value.includes(i)?r(!1):aD(t,n,r):r(!1):r(!0)}else r(!Vw.some(i=>i.test(s)))})},lD=e=>{var o;const t=(o=e.stacktrace[0])==null?void 0:o.file;if(!t||typeof t!="string")return!1;const n=t.substring(t.lastIndexOf("/")+1),s=t.split("/");return s[s.length-2]===Du||Ww().some(i=>n.startsWith(i)&&n.endsWith(".js"))},uD=(e,t,n)=>{const s={version:Kw,message_id:yn(),source:{name:Xw,sdk_version:t.context.app.value.version,write_key:t.lifecycle.writeKey.value,install_type:t.context.app.value.installType,category:n??Jw},errors:e};return Rt(s)},fD=(e,t,n,s)=>{let r;if(n.context.app.value.installType!=="cdn")return r;if(!de(e))r=t;else if(xe(e))r=e;else{const o=Xy(e,s);de(o)?r=o.message:r=t}return r};class dD{constructor(t,n){Me(this,"initialized",!1);this.httpClient=t,this.logger=n}init(){this.initialized||(this.attachErrorListeners(),this.initialized=!0)}attachErrorListeners(){globalThis.addEventListener("error",t=>{this.onError({error:t,context:Qr,errorType:xn.UNHANDLEDEXCEPTION})}),globalThis.addEventListener("unhandledrejection",t=>{this.onError({error:t,context:Qr,errorType:xn.UNHANDLEDREJECTION})}),document.addEventListener("securitypolicyviolation",t=>{const n=xe(t.blockedURI)?t.blockedURI:"";t.disposition==="enforce"&&n.startsWith(Ra)&&!_.capabilities.cspBlockedURLs.value.includes(n)&&(_.capabilities.cspBlockedURLs.value=[..._.capabilities.cspBlockedURLs.value,
58n])})}async onError(t){try{const{error:n,context:s,customMessage:r,groupingHash:o,category:i}=t,a=t.errorType??xn.HANDLEDEXCEPTION,c=Zw(n,a),u=Xy(c,this.logger);if($e(u))return;const l=r?`${r} - `:"",f=`${s}${te}${l}`,d=Uw(u,f),g=Sa(u).includes(fi);if(!g&&!lD(d)&&a!==xn.HANDLEDEXCEPTION)return;if(_.reporting.isErrorReportingEnabled.value&&await cD(d,_,this.httpClient)){const A={severity:"error",unhandled:a!==xn.HANDLEDEXCEPTION,severityReason:{type:a}},C=fD(o,d.message,_,this.logger),O=iD(d,A,_,C);this.httpClient.getAsyncData({url:_.metrics.metricsServiceUrl.value,options:{method:"POST",data:uD(O,_,i),sendRawData:!0},isRawResponse:!0})}(a===xn.HANDLEDEXCEPTION||g)&&this.logger.error(d.message)}catch(n){this.logger.error(pP(Qr),n)}}leaveBreadcrumb(t){try{_.reporting.breadcrumbs.value=[..._.reporting.breadcrumbs.value,eD(t)]}catch(n){this.onError({error:n,context:Qr,customMessage:kh,groupingHash:kh})}}}const eE=new dD(Jy,Qn);class hD{constructor(t,n={}){Me(this,"plugins",[]);Me(this,"byName",{});Me(this,"cache",{});Me(this,"config",{throws:!0});this.config={throws:!0,...n},this.logger=t}register(t,n){if(!t.name){const r=gP(Js);if(this.config.throws)throw new Error(r);this.logger.error(r,t);return}if(this.byName[t.name]){const r=mP(Js,t.name);if(this.config.throws)throw new Error(r);this.logger.error(r);return}this.cache={},this.plugins=this.plugins.slice();let s=this.plugins.length;this.plugins.forEach((r,o)=>{var i;(i=r.deps)!=null&&i.includes(t.name)&&(s=Math.min(s,o))}),this.plugins.splice(s,0,t),this.byName[t.name]=t,J(t.initialize)&&t.initialize(n)}unregister(t){const n=this.byName[t];if(!n){const r=_P(Js,t);if(this.config.throws)throw new Error(r);this.logger.error(r);return}const s=this.plugins.indexOf(n);if(s===-1){const r=yP(Js,t);if(this.config.throws)throw new Error(r);this.logger.error(r);return}this.cache={},delete this.byName[t],this.plugins=this.plugins.slice(),this.plugins.splice(s,1)}getPlugin(t){return this.byName[t]}getPlugins(t){const n=t??".";return this.cache[n]||(this.cache[n]=this.plugins.filter(s=>{var r;if((r=s.deps)!=null&&r.some(o=>!this.byName[o])){const o=s.deps.filter(i=>!this.byName[i]);return this.logger.error(EP(Js,s.name,o)),!1}return n==="."?!0:cN(s,n)})),this.cache[n]}processRawPlugins(t){t(this.plugins),this.cache={}}invoke(t,n=!0,...s){let r=t;if(!r)throw new Error(cP);const o=r.startsWith("!"),i=this.config.throws??r.endsWith("!");if(r=r.replace(/(^!|!$)/g,""),!r)throw new Error(lP);const a=r.split(".");a.pop();const c=a.join(".");return(n?this.getPlugins(r):[this.getPlugins(r)[0]]).map(l=>{const f=il(l,r);if(!J(f)||o)return f;try{return f.apply(il(l,c),s)}catch(d){if(i)throw d;this.logger.error(vP(Js,r,l.name),d)}return null})}invokeSingle(t,...n){return this.invoke(t,!1,...n)[0]}invokeMultiple(t,...n){return this.invoke(t,!0,...n)}}const pD=new hD(Qn,{throws:!0}),gD=e=>e.config.connectionMode!=="cloud"||e.config.useNativeSDKToSend===!0||e.config.useNativeSDK===!0,tE=e=>e.config.connectionMode==="hybrid"||e.config.useNativeSDKToSend===!0,Gh=e=>e.filter(gD),mD=(e,t)=>`${e.replaceAll(" ","-")}___${t}`,_D=["BeaconQueue","CustomConsentManager","DeviceModeDestinations","DeviceModeTransformation","ExternalAnonymousId","GoogleLinker","IubendaConsentManager","KetchConsentManager","NativeDestinationQueue","OneTrustConsentManager","StorageEncryption","StorageEncryptionLegacy","StorageMigrator","XhrQueue"],yD=["Bugsnag","ErrorReporting"],ct="cookieStorage",tt="localStorage",Kt="sessionStorage",Wt="memoryStorage",Hs="none",Mu=e=>e.replace(/\/{2,}/g,"/"),Dr=e=>{if(!xe(e))return!1;try{return J(globalThis.URL)&&new URL(e),rw.test(e)}catch{return!1}},nE=e=>e===429?!0:!(e>=400&&e<500),Kh=(e,t)=>{try{return encodeURIComponent(e)}catch(n){t==null||t.error(CN,n);return}},Wh=e=>{try{return decodeURIComponent(e)}catch{return}},ED=e=>{const t={},n=e.split(/\s*;\s*/);let s;return n[0]&&n.forEach(r=>{s=r.split("=");const o=s[0]?Wh(s[0]):void 0;o&&(t[o]=s[1]?Wh(s[1]):void 0)}),t},vD=(e,t,n,s)=>{const r={...n||{}};let o=`${Kh(e,s)}=${Kh(t,s)}`;Xt(t)&&(r.maxage=-1),r.maxage&&(r.expires=new Date(+new Date+r.maxage)),r.path&&(o+=`; path=${r.path}`),r.domain&&(o+=`; domain=${r.domain}`),r.expires&&(o+=`; expires=${r.expires.toUTCString()}`),r.samesite&&(o+=`; samesite=${r.samesite}`),r.secure&&(o+="; secure"),globalThis.document.cookie=o},dl=()=>{const e=globalThis.document.cookie;return ED(e)},bD=e=>dl()[e],as=function(e,t,n,s){switch(arguments.length){case 4:case 3:case 2:return vD(e,t,n,s);case 1:return e?bD(e):dl();default:return dl()}},AD="rl_user_id",TD="rl_trait",SD="rl_anonymous_id",ID="rl_group_id",RD="rl_group_trait",CD="rl_page_init_referrer",OD="rl_page_init_referring_domain",LD="rl_session",ND="rl_auth_token",rr={userId:AD,userTraits:TD,anonymousId:SD,groupId:ID,groupTraits:RD,initialReferrer:CD,initialReferringDomain:OD,sessionInfo:LD,authToken:ND},hl="RS_ENC_v3_",PD=e=>`${hl}${Ou(e)}`,pl=e=>e!=null&&e.startsWith(hl)?Sy(e.substring(hl.length)):e,Yh=32*1024,wD="client-network",DD="client-timeout",gl=wD,Ks="integrations",kD=(e,t,n)=>`${e}${te}The size of the event payload (${t} bytes) exceeds the maximum limit of ${n} bytes. Events with large payloads may be dropped in the future. Please review your instrumentation to ensure that event payloads are within the size limit.`,MD=e=>`${e}${te}Failed to validate event payload size. Please make sure that the event payload is within the size limit and is a valid JSON object.`,zh="QueueUtilities",sE=(e,t)=>Rt(e,!0,void 0,t),xD=(e,t)=>Rt(e,!0,void 0,t),rE=(e,t)=>{const n=sE(e,t);if(n){const s=n.length;s>Yh&&(t==null||t.warn(kD(zh,s,Yh)))}else t==null||t.warn(MD(zh))},ml=(e,t)=>
58{const n=fe(e);return n.sentAt=t,n},pe={IN_PROGRESS:"inProgress",QUEUE:"queue",RECLAIM_START:"reclaimStart",RECLAIM_END:"reclaimEnd",ACK:"ack",BATCH_QUEUE:"batchQueue"},$D=e=>`${e}${te}Sending events to data plane.`,UD=e=>`${e}${te}Failed to convert events batch object to string.`,FD=e=>`${e}${te}Failed to convert events batch object to Blob.`,Qh=(e,t)=>`${e}${te}${oE(t)}`,oE=e=>`Failed to send events batch data to the browser's beacon queue for URL ${e}.`,BD=10,VD=10*60*1e3,HD=64*1024,jD={maxItems:BD,flushQueueInterval:VD},GD="v1",KD="rudder_beacon",cr="BeaconQueuePlugin",qh=(e,t,n)=>{const s={batch:e,sentAt:t};try{const r=Rt(s,!0),o={type:"text/plain"};if(r)return new Blob([r],o);n==null||n.error(UD(cr))}catch(r){n==null||n.error(FD(cr),r)}},WD=e=>Xe(jD,e),YD=(e,t)=>{const n=new URL(e);return new URL(Mu([n.pathname,"/","beacon","/",GD,"/",`batch?writeKey=${t}`].join("")),n).href};let $n=function(e){return e[e.ASAP=1]="ASAP",e[e.RESCHEDULE=2]="RESCHEDULE",e[e.ABANDON=3]="ABANDON",e}({});const iE=2,zD={setTimeout(e,t){return globalThis.setTimeout(e,t)},clearTimeout(e){return globalThis.clearTimeout(e)},Date:globalThis.Date,clockLateFactor:iE};class QD{constructor(){this.tasks={},this.nextId=1,this.clock=zD}now(){return+new this.clock.Date}run(t,n,s){this.nextId===Number.MAX_SAFE_INTEGER&&(this.nextId=1);const r=(this.nextId++).toString();return this.tasks[r]=this.clock.setTimeout(this.handle(r,t,n,s||$n.ASAP),n),r}handle(t,n,s,r){const o=this.now();return()=>{delete this.tasks[t];const i=o+s*(this.clock.clockLateFactor||iE),a=this.now();if(r>=$n.RESCHEDULE&&i<a){r===$n.RESCHEDULE&&this.run(n,s,r);return}return n()}}cancel(t){this.tasks[t]&&(this.clock.clearTimeout(this.tasks[t]),delete this.tasks[t])}cancelAll(){Object.values(this.tasks).forEach(this.clock.clearTimeout),this.tasks={}}}const qD=(e,t)=>`${e}${te}An unknown error occurred while processing the queue item. ${t}`,XD=(e,t,n)=>`${e}${te}Failed to remove local storage entry "${t}" (attempt: ${n}.`,JD=1e3,ZD=3e4,ek=2,tk=0,nk=1/0,sk=1/0,rk=1e3,ok=3e3,ik=1e4,ak=500,Xh=1,ck=10,Jh=512*1024,lk=100,uk=60*1e3,ti="Batch",ni="Single",Zh=(e,t)=>e.time-t.time,ep="RetryQueue";class Ca{constructor(t,n,s,r,o=tt,i,a){this.storeManager=r,this.logger=i,this.name=t,this.id=yn(),this.processQueueCb=s,this.batchSizeCalcCb=a,this.maxItems=n.maxItems||sk,this.maxAttempts=n.maxAttempts||nk,this.batch={enabled:!1},this.configureBatchMode(n),this.backoff={minRetryDelay:n.minRetryDelay||JD,maxRetryDelay:n.maxRetryDelay||ZD,factor:n.backoffFactor||ek,jitter:n.backoffJitter||tk};let c=Math.max(n.timerScaleFactor??Xh,Xh);c=Math.min(c,ck),this.timeouts={ackTimer:Math.round(c*rk),reclaimTimer:Math.round(c*ok),reclaimTimeout:Math.round(c*ik),reclaimWait:Math.round(c*ak)},this.schedule=new QD,this.processId="0",this.store=this.storeManager.setStore({id:this.id,name:this.name,validKeys:pe,type:o,errorHandler:this.storeManager.errorHandler,logger:this.storeManager.logger}),this.setDefaultQueueEntries(),this.ack=this.ack.bind(this),this.checkReclaim=this.checkReclaim.bind(this),this.processHead=this.processHead.bind(this),this.flushBatch=this.flushBatch.bind(this),this.isPageAccessible=!0,this.flushBatchOnPageLeave(),this.scheduleTimeoutActive=!1}setDefaultQueueEntries(){this.setStorageEntry(pe.IN_PROGRESS,{}),this.setStorageEntry(pe.QUEUE,[]),this.setStorageEntry(pe.BATCH_QUEUE,[])}configureBatchMode(t){if(this.batchingInProgress=!1,!Ue(t.batch))return;const n=t.batch;this.batch.enabled=n.enabled===!0,this.batch.enabled&&(this.batch.maxSize=Math.min(n.maxSize??Jh,Jh),this.batch.maxItems=n.maxItems??lk,this.batch.flushInterval=n.flushInterval??uk)}flushBatchOnPageLeave(){this.batch.enabled&&Ly(this.flushBatch)}getStorageEntry(t){return this.store.get(t)}setStorageEntry(t,n){Et(n)?this.store.remove(t):this.store.set(t,n)}stop(){this.schedule.cancelAll(),this.scheduleTimeoutActive=!1}start(){this.scheduleTimeoutActive&&this.stop(),this.scheduleTimeoutActive=!0,this.scheduleFlushBatch(),this.ack(),this.checkReclaim(),this.processHead()}scheduleFlushBatch(){var t;this.batch.enabled&&((t=this.batch)!=null&&t.flushInterval)&&(this.flushBatchTaskId&&this.schedule.cancel(this.flushBatchTaskId),this.flushBatchTaskId=this.schedule.run(this.flushBatch,this.batch.flushInterval,$n.ASAP))}flushBatch(t=!0){if(!this.batchingInProgress){this.isPageAccessible=t,this.batchingInProgress=!0;let n=this.getStorageEntry(pe.BATCH_QUEUE)??[];if(n.length>0){n=n.slice(-n.length);const s=this.genQueueItem(n.map(r=>r.item),ti);this.setStorageEntry(pe.BATCH_QUEUE,[]),this.pushToMainQueue(s)}
58this.batchingInProgress=!1,this.scheduleFlushBatch()}}shouldRetry(t,n){return n<=this.maxAttempts}getDelay(t){let n=this.backoff.minRetryDelay*this.backoff.factor**t;if(this.backoff.jitter){const s=Math.random(),r=Math.floor(s*this.backoff.jitter*n);Math.floor(s*10)<5?n-=r:n+=r}return Number(Math.min(n,this.backoff.maxRetryDelay).toPrecision(1))}enqueue(t){let n;this.batch.enabled&&t.type===ni?n=this.handleNewItemForBatch(t):n=t,n&&this.pushToMainQueue(n)}handleNewItemForBatch(t){let n,s=this.getStorageEntry(pe.BATCH_QUEUE)??[];if(this.batchingInProgress)s.push(t);else{this.batchingInProgress=!0,s=s.slice(-s.length),s.push(t);const r=this.getBatchDispatchInfo(s);if(r.criteriaMet||r.criteriaExceeded){let o;if(r.criteriaExceeded?(o=s.slice(0,s.length-1),s=[t]):(o=s,s=[]),o.length>0){const i=o.every(c=>c.reclaimed),a=o.map(c=>c.item);i?n=this.genQueueItem(a,ti,!0):n=this.genQueueItem(a,ti)}this.scheduleFlushBatch()}this.batchingInProgress=!1}return this.setStorageEntry(pe.BATCH_QUEUE,s),n}pushToMainQueue(t){let n=this.getStorageEntry(pe.QUEUE)??[];this.maxItems>1?n=n.slice(-(this.maxItems-1)):n=[],n.push(t),n=n.sort(Zh),this.setStorageEntry(pe.QUEUE,n),this.scheduleTimeoutActive&&this.processHead()}addItem(t){this.enqueue(this.genQueueItem(t))}genQueueItem(t,n=ni,s){return{item:t,attemptNumber:0,time:this.schedule.now(),id:yn(),type:n,...de(s)?{reclaimed:s}:{}}}requeue(t){const{attemptNumber:n,item:s,type:r,id:o,firstAttemptedAt:i,lastAttemptedAt:a,reclaimed:c,retryReason:u}=t,l=n+1;this.shouldRetry(s,l)&&this.enqueue({item:s,attemptNumber:l,time:this.schedule.now()+this.getDelay(l),id:o??yn(),type:r,firstAttemptedAt:i,lastAttemptedAt:a,reclaimed:c,retryReason:u})}getBatchDispatchInfo(t){var c,u;let n=!1,s=!1;const r=(c=this.batch)==null?void 0:c.maxItems;if(de(r)&&(n=t.length===r,s=t.length>r),n||s)return{criteriaMet:n,criteriaExceeded:s};let o=!1,i=!1;const a=(u=this.batch)==null?void 0:u.maxSize;if(de(a)&&de(this.batchSizeCalcCb)){const l=this.batchSizeCalcCb(t.map(f=>f.item));o=l===a,i=l>a}return{criteriaMet:o,criteriaExceeded:i}}processHead(){this.schedule.cancel(this.processId);let t=this.getStorageEntry(pe.QUEUE)??[];const n=this.schedule.now(),s=[],r=(c,u)=>(l,f)=>{const d=this.getStorageEntry(pe.IN_PROGRESS)??{},h=d[u],g=h==null?void 0:h.firstAttemptedAt,m=h==null?void 0:h.lastAttemptedAt;delete d[u],this.setStorageEntry(pe.IN_PROGRESS,d),l&&this.requeue({...c,firstAttemptedAt:g,lastAttemptedAt:m,retryReason:(f==null?void 0:f.retryReason)??gl})},o=(c,u)=>{s.push({id:u,item:c.item,done:r(c,u),attemptNumber:c.attemptNumber})},i=this.getStorageEntry(pe.IN_PROGRESS)??{};let a=Object.keys(i).length;for(;t.length>0&&t[0].time<=n&&a++<this.maxItems;){const c=t.shift();if(c){const u=yn();i[u]={item:c.item,attemptNumber:c.attemptNumber,time:this.schedule.now(),type:c.type,firstAttemptedAt:c.firstAttemptedAt,lastAttemptedAt:c.lastAttemptedAt,reclaimed:c.reclaimed},o(c,u)}}if(this.setStorageEntry(pe.QUEUE,t),this.setStorageEntry(pe.IN_PROGRESS,i),s.forEach(c=>{var u;try{const l=this.schedule.now(),f=this.getStorageEntry(pe.IN_PROGRESS)??{},d=f[c.id];let h=l,g=l,m=!1,A=gl;d&&(A=d.retryReason??A,h=d.firstAttemptedAt??h,g=d.lastAttemptedAt??g,m=d.reclaimed??m,d.firstAttemptedAt=h,d.lastAttemptedAt=l,f[c.id]=d,this.setStorageEntry(pe.IN_PROGRESS,f));const C=l-h,O=l-g,p=this.shouldRetry(c.item,c.attemptNumber+1);this.processQueueCb(c.item,c.done,{retryAttemptNumber:c.attemptNumber,maxRetryAttempts:this.maxAttempts,willBeRetried:p,timeSinceFirstAttempt:C,timeSinceLastAttempt:O,reclaimed:m,isPageAccessible:this.isPageAccessible,retryReason:A})}catch(l){let f="";c.attemptNumber<this.maxAttempts?(f="The item will be requeued.",c.attemptNumber>0&&(f=`${f} Retry attempt ${c.attemptNumber} of ${this.maxAttempts}.`),c.done(l)):(f=`Retries exhausted (${this.maxAttempts}). The item will be dropped.`,c.done()),(u=this.logger)==null||u.error(qD(ep,f),l)}}),t=this.getStorageEntry(pe.QUEUE)??[],this.schedule.cancel(this.processId),t.length>0){const c=t[0].time-n;this.processId=this.schedule.run(this.processHead,c,$n.ASAP)}}ack(){this.setStorageEntry(pe.ACK,this.schedule.now()),this.reclaimStartVal!=null&&(this.reclaimStartVal=null,this.setStorageEntry(pe.RECLAIM_START,null)),this.reclaimEndVal!=null&&(this.reclaimEndVal=null,this.setStorageEntry(pe.RECLAIM_END,null)),this.schedule.run(this.ack,this.timeouts.ackTimer,$n.ASAP)}reclaim(t){const n=this.storeManager.setStore({id:t,name:this.name,validKeys:pe,type:tt,errorHandler:this.storeManager.errorHandler,logger:this.storeManager.logger}),s={queue:this.getStorageEntry(pe.QUEUE)??[]},r={inProgress:n.get(pe.IN_PROGRESS)??{},batchQueue:n.get(pe.BATCH_QUEUE)??[],queue:n.get(pe.QUEUE)??[]},o=[],i=(a,c)=>{const u=l=>{const f=l.id??yn();if(!o.includes(f)){const d=Array.isArray(l.item)?ti:ni;s.queue.push({item:l.item,attemptNumber:l.attemptNumber+c,time:this.schedule.now(),id:f,type:l.type??d,firstAttemptedAt:l.firstAttemptedAt,lastAttemptedAt:l.lastAttemptedAt,retryReason:l.retryReason,reclaimed:!0}),o.push(f)}};
58Array.isArray(a)?a.forEach(u):a&&Object.values(a).forEach(u)};i(r.queue,0),this.batch.enabled?r.batchQueue.forEach(a=>{const c=a.id??yn();o.includes(c)||(this.enqueue({...a,id:c,retryReason:a.retryReason,reclaimed:!0,type:a.type??ni,time:this.schedule.now()}),o.push(c))}):i(r.batchQueue,0),i(r.inProgress,1),s.queue.sort(Zh),this.setStorageEntry(pe.QUEUE,s.queue),this.clearQueueEntries(n,1),this.processHead()}clearQueueEntries(t,n){this.removeStorageEntry(t,0,n)}removeStorageEntry(t,n,s,r=1){const i=Object.keys(pe),a=pe[i[n]];globalThis.setTimeout(()=>{var c;try{t.remove(a),n+1<i.length&&this.removeStorageEntry(t,n+1,s)}catch(u){const l="NS_ERROR_STORAGE_BUSY";(u.name===l||u.code===l||u.code===2153971713)&&r<2?this.removeStorageEntry(t,n,s+40,r+1):(c=this.logger)==null||c.error(XD(ep,a,r),u),r===2&&n+1<i.length&&this.removeStorageEntry(t,n+1,s)}},s)}checkReclaim(){const t=o=>()=>{o.get(pe.RECLAIM_END)===this.id&&o.get(pe.RECLAIM_START)===this.id&&this.reclaim(o.id)},n=o=>()=>{o.get(pe.RECLAIM_START)===this.id&&(o.set(pe.RECLAIM_END,this.id),this.schedule.run(t(o),this.timeouts.reclaimWait,$n.ABANDON))},s=o=>{o.set(pe.RECLAIM_START,this.id),o.set(pe.ACK,this.schedule.now()),this.schedule.run(n(o),this.timeouts.reclaimWait,$n.ABANDON)};(o=>{const i=[],a=this.store.getOriginalEngine();let c=[];if(J(a.keys))c=a.keys();else for(let u=0;u<a.length;u++){const l=a.key(u);l&&c.push(l)}return c.forEach(u=>{const l=u?u.split("."):[];l.length>=3&&l[0]===o&&l[1]!==this.id&&l[2]===pe.ACK&&i.push(this.storeManager.setStore({id:l[1],name:o,validKeys:pe,type:tt,errorHandler:this.storeManager.errorHandler,logger:this.storeManager.logger}))}),i})(this.name).forEach(o=>{this.schedule.now()-o.get(pe.ACK)<this.timeouts.reclaimTimeout||s(o)}),this.schedule.run(this.checkReclaim,this.timeouts.reclaimTimer,$n.RESCHEDULE)}clear(){this.schedule.cancelAll(),this.setDefaultQueueEntries()}}const tp="BeaconQueue",fk=()=>({name:tp,deps:[],initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,tp]},dataplaneEventsQueue:{init(e,t,n,s,r){const o=e.lifecycle.writeKey.value,i=e.lifecycle.activeDataplaneUrl.value,a=YD(i,o),c=WD(e.loadOptions.value.beaconQueueOptions??{}),u=(f,d,h)=>{const{isPageAccessible:g}=h;r==null||r.debug($D(cr));const m=Vs(),A=f.map(O=>ml(O.event,m)),C=qh(A,m,r);if(!C){d(null);return}try{navigator.sendBeacon(a,C)?d(null):g?(r==null||r.error(`${Qh(cr,a)} The event(s) will be dropped.`),d(null)):r==null||r.warn(`${Qh(cr,a)} The event(s) will be retried as the current page is being unloaded.`)}catch(O){s==null||s.onError({error:O,context:cr,customMessage:oE(a)}),d(null)}};return new Ca(`${KD}_${o}`,{batch:{enabled:!0,flushInterval:c.flushQueueInterval,maxSize:HD,maxItems:c.maxItems}},u,n,tt,r,f=>{const d=Vs(),h=f.map(g=>g.event);return qh(h,d,r).size})},enqueue(e,t,n,s,r){n.sentAt=Vs(),rE(n,r),t.addItem({event:n})}}}),dk="CustomConsentManagerPlugin",hk="Failed to determine the consent status for the destination. Please check the destination configuration and try again.",np="CustomConsentManager",pk=()=>({name:np,deps:[],initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,np]},consentManager:{init(e,t){},updateConsentsInfo(e,t,n){},isDestinationConsented(e,t,n,s){if(!e.consents.initialized.value)return!0;const r=e.consents.data.value.allowedConsentIds;try{const{consentManagement:o}=t;if(!o)return!0;const i=o.find(l=>l.provider===e.consents.provider.value);if(!(i!=null&&i.consents))return!0;const a=i.consents.map(l=>l.consent.trim()).filter(l=>l),c=i.resolutionStrategy??e.consents.resolutionStrategy.value,u=l=>r.includes(l);switch(c){case"or":return a.some(u)||a.length===0;case"and":default:return a.every(u)}}catch(o){return n==null||n.onError({error:o,context:dk,customMessage:hk}),!0}}}}),sp=11*1e3,gk=10*1e3,mk=100,An="DeviceModeDestinationsPlugin",_k=e=>`Integration for destination "${e}" is not supported.`,yk=e=>`Failed to load integration SDK for destination "${e}"`,rp=e=>`Failed to initialize integration for destination "${e}".`,op=e=>`Failed to get integrations data for destination "${e}".`,Ek=e=>`A timeout of ${e} ms occurred`,ip=e=>`Failed to get the ready status from integration for destination "${e}"`,vk=(e,t)=>`${e}${te}The destination ID "${t}" does not correspond to a custom device mode destination.`,bk=(e,t)=>`${e}${te}A custom integration with destination ID "${t}" was already added.`,Ak=(e,t)=>`${e}${te}The custom integration added for destination ID "${t}" does not match the expected implementation format.`,Tk=(e,t)=>`${e}${te}No valid custom integration was added for destination ID "${t}". Ignoring it.`,Sk=e=>!$e(e)&&!!e,Ik=e=>!$e(e)&&!e,aE=(e,t)=>{const n=e.All??!0;return t.filter(s=>{const r=s.displayName;let o;return n?(o=!0,Ik(e[r])&&(o=!1)):(o=!1,Sk(e[r])&&(o=!0)),o})},Rk="ActiveCampaign",Ck="Adobe Analytics",Ok="Adroll",Lk="Amplitude",Nk="Appcues",Pk="Axeptio",wk="Bing Ads",Dk="Braze",kk="Bugsnag",Mk="Chartbeat",xk="CleverTap",$k="CommandBar",Uk="Convertflow",Fk="Criteo",Bk="Customer IO",Vk="DCM Floodlight",Hk="Drip",jk="Engage",Gk="Facebook Pixel",Kk="Fullstory",Wk="Google Analytics",Yk="Google Analytics 360",zk="Google Analytics 4 (GA4)",Qk="Google Analytics 4 (GA4) V2",qk="Gainsight PX",Xk="Google Optimize",Jk="Google Ads",Zk="Google Tag Manager",e1="Heap.io",t1="Hotjar",n1="HubSpot",s1="Intercom",r1="Iterable",o1="JUNE",i1="Keen",a1="Kiss Metrics",c1="Klaviyo",l1="LaunchDarkly",u1="Lemnisk Marketing Automation",f1="Linkedin Insight Tag",d1="livechat",h1="Lotame",p1="Lytics",g1="Matomo",m1="Microsoft Clarity",_1="MoEngage",y1="Mouseflow",E1="Mixpanel",v1="Ninetailed",b1="Olark",A1="Optimizely Web",T1="Pendo",S1="Pinterest Tag",I1="Podsights",R1="Post Aff
58iliate Pro",C1="PostHog",O1="ProfitWell",L1="Qualaroo",N1="Qualtrics",P1="Quantum Metric",w1="Quora Pixel",D1="Reddit Pixel",k1="Refiner",M1="Rockerbox",x1="rollbar",$1="SatisMeter",U1="Sendinblue",F1="Sentry",B1="Shynet",V1="Snap Pixel",H1="SnapEngage",j1="Spotify Pixel",G1="Sprig",K1="TikTok Ads",W1="TVSquared",Y1="Vero",z1="VWO",Q1="WOOPRA",q1="XPixel",X1="Yandex.Metrica",J1="Userpilot",Z1="Comscore",eM="HubSpot",tM="GA",nM="Hotjar",sM="GoogleAds",rM="VWO",oM="GoogleTagManager",iM="Braze",aM="INTERCOM",cM="Keen",lM="Kissmetrics",uM="CustomerIO",fM="Chartbeat",dM="FacebookPixel",hM="Lotame",pM="Optimizely",gM="Bugsnag",mM="Fullstory",_M="TVSquared",yM="GA4",EM="GA4_V2",vM="MoEngage",bM="Amplitude",AM="Pendo",TM="Lytics",SM="Appcues",IM="Posthog",RM="Klaviyo",CM="Clevertap",OM="BingAds",LM="PinterestTag",NM="AdobeAnalytics",PM="LinkedInInsightTag",wM="RedditPixel",DM="Drip",kM="Heap",MM="Criteo",xM="Mixpanel",$M="Qualtrics",UM="ProfitWell",FM="Sentry",BM="QuantumMetric",VM="SnapPixel",HM="PostAffiliatePro",jM="GoogleOptimize",GM="LaunchDarkly",KM="GA360",WM="Adroll",YM="DCMFloodlight",zM="Matomo",QM="Vero",qM="Mouseflow",XM="Rockerbox",JM="ConvertFlow",ZM="SnapEngage",ex="LiveChat",tx="Shynet",nx="Woopra",sx="RollBar",rx="QuoraPixel",ox="June",ix="Engage",ax="Iterable",cx="YandexMetrica",lx="Refiner",ux="Qualaroo",fx="Podsights",dx="Axeptio",hx="Satismeter",px="MicrosoftClarity",gx="Sendinblue",mx="Olark",_x="Lemnisk",yx="TiktokAds",Ex="ActiveCampaign",vx="Sprig",bx="SpotifyPixel",Ax="CommandBar",Tx="Ninetailed",Sx="Gainsight_PX",Ix="XPixel",Rx="Userpilot",Cx="Comscore",ap={[n1]:eM,[Wk]:tM,[t1]:nM,[Jk]:sM,[z1]:rM,[Zk]:oM,[Dk]:iM,[s1]:aM,[i1]:cM,[a1]:lM,[Bk]:uM,[Mk]:fM,[Gk]:dM,[h1]:hM,[A1]:pM,[kk]:gM,[Kk]:mM,[W1]:_M,[zk]:yM,[Qk]:EM,[_1]:vM,[Lk]:bM,[T1]:AM,[p1]:TM,[Nk]:SM,[C1]:IM,[c1]:RM,[xk]:CM,[wk]:OM,[S1]:LM,[Ck]:NM,[f1]:PM,[D1]:wM,[Hk]:DM,[e1]:kM,[Fk]:MM,[E1]:xM,[N1]:$M,[O1]:UM,[F1]:FM,[P1]:BM,[V1]:VM,[R1]:HM,[Xk]:jM,[l1]:GM,[Yk]:KM,[Ok]:WM,[Vk]:YM,[g1]:zM,[Y1]:QM,[y1]:qM,[M1]:XM,[Uk]:JM,[H1]:ZM,[d1]:ex,[B1]:tx,[Q1]:nx,[x1]:sx,[w1]:rx,[o1]:ox,[jk]:ix,[r1]:ax,[X1]:cx,[k1]:lx,[L1]:ux,[I1]:fx,[Pk]:dx,[$1]:hx,[m1]:px,[U1]:gx,[b1]:mx,[u1]:_x,[K1]:yx,[Rk]:Ex,[G1]:vx,[j1]:bx,[$k]:Ax,[v1]:Tx,[qk]:Sx,[q1]:Ix,[J1]:Rx,[Z1]:Cx},Ox=(e,t,n)=>{var s,r;return!!((r=(s=globalThis[e])==null?void 0:s[t])!=null&&r.prototype&&typeof globalThis[e][t].prototype.constructor<"u")},Lx=e=>new Promise(t=>{globalThis.setTimeout(t,e)}),Nx=(e,t,n,s)=>{var i;const r={loadIntegration:s.nativeDestinations.loadIntegration.value,logLevel:s.lifecycle.logLevel.value,loadOnlyIntegrations:((i=s.consents.postConsent.value)==null?void 0:i.integrations)??s.nativeDestinations.loadOnlyIntegrations.value,...s.lifecycle.safeAnalyticsInstance.value};return new globalThis[e][t](fe(n.config),r,{shouldApplyDeviceModeTransformation:n.shouldApplyDeviceModeTransformation,propagateEventsUntransformedOnError:n.propagateEventsUntransformedOnError,destinationId:n.id})},cE=(e,t=0)=>new Promise((n,s)=>{var r;if((r=e.integration)!=null&&r.isReady())n(!0);else if(t>=sp)s(new Error(Ek(sp)));else{const o=Date.now();Lx(mk).then(()=>{const i=Date.now()-o;cE(e,t+i).then(n).catch(a=>s(a))})}}),Px=(e,t,n)=>{var r;let s=t;if(J((r=e.integration)==null?void 0:r.getDataForIntegrationsObject))try{s={...t,...ve(e.integration.getDataForIntegrationsObject())}}catch(o){n==null||n.onError({error:o,context:An,customMessage:op(e.userFriendlyId),groupingHash:op(e.displayName),category:Ks})}return s},cp=(e,t,n,s,r,o)=>{var i;try{const a=fe(e);let c=a.integration;$e(c)&&(c=Nx(n,s,e,t),a.integration=c),(i=c.init)==null||i.call(c),cE(a).then(()=>{tE(a)&&(t.nativeDestinations.integrationsConfig.value=Px(a,t.nativeDestinations.integrationsConfig.value,r)),t.nativeDestinations.initializedDestinations.value=[...t.nativeDestinations.initializedDestinations.value,a]}).catch(u=>{t.nativeDestinations.failedDestinations.value=[...t.nativeDestinations.failedDestinations.value,e],r==null||r.onError({error:u,context:An,customMessage:ip(e.userFriendlyId),groupingHash:ip(e.displayName),category:Ks})})}catch(a){t.nativeDestinations.failedDestinations.value=[...t.nativeDestinations.failedDestinations.value,e],r==null||r.onError({error:a,context:An,customMessage:rp(e.userFriendlyId),groupingHash:rp(e.displayName),category:Ks})}},wx=(e,t,n)=>{var a;if(!((a=t==null?void 0:t.destinations)!=null&&a.length))return _l(e);const s=e.map(c=>c.id),r={};t.destinations.forEach(c=>{const u=r[c.id]||[];u.push(c),r[c.id]=u});const o=Object.keys(r).filter(c=>!s.includes(c));o.length>0&&(n==null||n.warn(`${An}:: Source configuration override - Unable to identify the destinations with the following IDs: "${o.join(", ")}"`));const i=[];return e.forEach(c=>{const u=r[c.id];if(!u||u.length===0){i.push(c);return}if(u.length>1)u.forEach((l,f)=>{const d=lp(c,l,`${f+1}`);d.cloned=!0,i.push(d)});else{const l=lp(c,u[0]);i.push(l)}}),_l(i)},_l=e=>e.filter(t=>t.enabled),lp=(e,t,n)=>{const s=vh(t.enabled)&&t.enabled!==e.enabled,r=Tn(t.config),o=vh(t.enabled)?t.enabled:e.enabled,i=r&&o;if(!s&&!i&&!n)return e;const a=fe(e);return n&&(a.id=`${e.id}_${n}`,a.userFriendlyId=`${e.userFriendlyId}_${n}`),s&&(a.enabled=t.enabled,a.overridden=!0),i&&(a.config=Ao({...a.config,...t.config}),a.overridden=!0),a},Dx=(e,t,n,s)=>{const o=n.nativeDestinations.configuredDestinations.value.find(i=>i.id===e&&i.isCustomIntegration===!0);if(!o){s.error(vk(An,e));return}if(de(o.integration)){s.error(bk(An,e));return}if(Et(t)||!J(t.isReady)||de(t.init)&&!J(t.init)||de(t.track)&&!J(t.track)||de(t.page)&&!J(t.page)||de(t.identify)&&!J(t.identify)||de(t.group)&&!J(t.group)||de(t.alias)&&
58!J(t.alias)){s.error(Ak(An,e));return}return o},kx=(e,t,n,s)=>{const r=n.lifecycle.safeAnalyticsInstance.value,o=fe(s);o.setScope(e.displayName);const i={log:o.log.bind(o),info:o.info.bind(o),debug:o.debug.bind(o),warn:o.warn.bind(o),error:o.error.bind(o),setMinLogLevel:o.setMinLogLevel.bind(o)},a=fe(e.config);e.integration={...t.init&&{init:()=>t.init(a,r,i)},...t.track&&{track:c=>t.track(r,i,c)},...t.page&&{page:c=>t.page(r,i,c)},...t.identify&&{identify:c=>t.identify(r,i,c)},...t.group&&{group:c=>t.group(r,i,c)},...t.alias&&{alias:c=>t.alias(r,i,c)},isReady:()=>t.isReady(r,i)}},up="DeviceModeDestinations",Mx=()=>({name:up,initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,up]},nativeDestinations:{addCustomIntegration(e,t,n,s){const r=Dx(e,t,n,s);r&&(kx(r,t,n,s),n.nativeDestinations.configuredDestinations.value=[...n.nativeDestinations.configuredDestinations.value])},setActiveDestinations(e,t,n,s){var c;e.nativeDestinations.loadIntegration.value=e.loadOptions.value.loadIntegration;const r=e.nativeDestinations.configuredDestinations.value.filter(u=>{if(u.isCustomIntegration&&$e(u.integration))return u.enabled&&(s==null||s.warn(Tk(An,u.id))),!1;if(u.isCustomIntegration||ap[u.displayName])return!0;const l=_k(u.displayName);return n==null||n.onError({error:new Error(l),context:An,category:Ks}),!1}),o=e.loadOptions.value.sourceConfigurationOverride?wx(r,e.loadOptions.value.sourceConfigurationOverride,s):_l(r),a=aE(((c=e.consents.postConsent.value)==null?void 0:c.integrations)??e.nativeDestinations.loadOnlyIntegrations.value,o).filter(u=>t.invokeSingle("consentManager.isDestinationConsented",e,u.config,n,s)??!0);e.nativeDestinations.activeDestinations.value=[...e.nativeDestinations.activeDestinations.value,...a]},load(e,t,n,s,r){const o=e.lifecycle.integrationsCDNPath.value;e.nativeDestinations.activeDestinations.value.forEach(a=>{const c=ap[a.displayName],u=`${c}_RS`,l=c;if(l&&!Ox(u,l)){const f=`${o}/${c}.min.js`;t.loadJSFile({url:f,id:a.userFriendlyId,callback:r??((d,h)=>{if(h){const g=yk(a.displayName);n==null||n.onError({error:h,context:An,customMessage:g,groupingHash:g,category:Ks}),e.nativeDestinations.failedDestinations.value=[...e.nativeDestinations.failedDestinations.value,a]}else cp(a,e,u,l,n)}),timeout:gk})}else cp(a,e,u,l,n)})}}}),xx={minRetryDelay:500,backoffFactor:2,maxAttempts:3},$x=10*1e3,Ux="rudder",Zs="DeviceModeTransformationPlugin",fp=(e,t,n,s)=>`${e}${te}Event transformation unsuccessful for destination "${t}". Reason: ${n}. ${s}.`,dp=(e,t,n,s)=>`${e}${te}[Destination: ${t}].Transformation request failed with status: ${n}. Retries exhausted. ${s}.`,Fx=e=>`Transformation failed for destination "${e}"`,Bx=e=>`${e}${te}Transformation server access is denied. The configuration data seems to be out of sync. Sending untransformed event to the destination.`,Vx=(e,t,n)=>{const s=Date.now();return{metadata:{"Custom-Authorization":n},batch:[{orderNo:s,destinationIds:t,event:e}]}},Hx=(e,t,n,s,r,o,i,a)=>{const c="destinationsEventsQueue.enqueueEventToDestination",u="Sending untransformed event",l="Dropping the event";e.nativeDestinations.initializedDestinations.value.filter(d=>d&&n.includes(d.id)).forEach(d=>{try{const h=[];switch(r){case 200:{const m=JSON.parse(s).transformedBatch.find(A=>A.id===d.id);m==null||m.payload.forEach(A=>{if(A.status==="200")h.push(A.event);else{let C="Unknown";A.status==="410"&&(C="Transformation is not available");let O=l;d.propagateEventsUntransformedOnError===!0?(O=u,h.push(o),a==null||a.warn(fp(Zs,d.displayName,C,O))):a==null||a.error(fp(Zs,d.displayName,C,O))}});break}case 404:{a==null||a.warn(Bx(Zs)),h.push(o);break}default:{d.propagateEventsUntransformedOnError===!0?(a==null||a.warn(dp(Zs,d.displayName,r,u)),h.push(o)):a==null||a.error(dp(Zs,d.displayName,r,l));break}}h==null||h.forEach(g=>{Tn(g)&&t.invokeSingle(c,e,g,d,i,a)})}catch(h){i==null||i.onError({error:h,context:Zs,customMessage:Fx(d.displayName)})}})},hp="DeviceModeTransformation",jx=()=>({name:hp,deps:[],initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,hp]},transformEvent:{init(e,t,n,s,r,o){const i=e.lifecycle.writeKey.value;return n.setAuthHeader(i),new Ca(`${Ux}_${i}`,xx,(c,u,l)=>{const f=Vx(c.event,c.destinationIds,c.token);n.getAsyncData({url:`${e.lifecycle.activeDataplaneUrl.value}/transform`,options:{method:"POST",data:xD(f),sendRawData:!0},isRawResponse:!0,timeout:$x,callback:(d,h)=>{var m,A;const g=nE(((m=h==null?void 0:h.xhr)==null?void 0:m.status)??0);$e(h==null?void 0:h.error)||!g||l.retryAttemptNumber===l.maxRetryAttempts?(Hx(e,t,c.destinationIds,d,(A=h==null?void 0:h.xhr)==null?void 0:A.status,c.event,r,o),u(null)):u(h)}})},s,Wt)},enqueue(e,t,n,s){const r=s.map(o=>o.id);t.addItem({event:n,destinationIds:r,token:e.session.authToken.value})}}}),yl={segment:"ajs_anonymous_id"},Gx=e=>{let t;const n=e(tt);n!=null&&n.isEnabled&&(t=n.getItem(yl.segment));const s=e(ct);return!t&&(s!=null&&s.isEnabled)&&(t=s.getItem(yl.segment)),t}
58,pp="ExternalAnonymousId",Kx=()=>({name:pp,initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,pp]},storage:{getAnonymousId(e,t){var s;let n;if((s=t==null?void 0:t.autoCapture)!=null&&s.enabled&&t.autoCapture.source){const r=t.autoCapture.source.toLowerCase();if(!Object.keys(yl).includes(r))return n;switch(r){case"segment":n=Gx(e);break}}return n}}}),Wx="rs_amp_id",Yx=()=>{const e=[];let t;for(let n=0;n<256;n++){t=n;for(let s=0;s<8;s++)t=t&1?3988292384^t>>>1:t>>>1;e[n]=t}return e},zx=e=>{const t=Yx();let n=-1;for(let s=0;s<e.length;s++)n=n>>>8^t[(n^e.charCodeAt(s))&255];return(n^-1)>>>0},gp={getUserLanguage:()=>navigator==null?void 0:navigator.language,getUserAgent:()=>navigator==null?void 0:navigator.userAgent},Qx=e=>decodeURIComponent(globalThis.atob(e).split("").map(t=>`%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`).join("")),qx=(e="")=>{const t=e.endsWith("..")?e.substring(0,e.length-2):e;return Qx(t)},Xx=/^[\w.-]+$/,Jx=1,Zx=1,So="*",e$=e=>{const t=e.split(So),n=t.length%2===0;if(t.length<4||!n||Number(t.shift())!==Zx)return null;const r=t.shift(),o=t.join(So);return{checksum:r??"",serializedIds:o}},t$=e=>{if(!e)return{};const t={},n=e.split(So);for(let s=0;s<n.length;s+=2){const r=n[s];Xx.test(r)&&(t[r]=qx(n[s+1]))}return t},n$=(e,t)=>{const s=new Date().getTimezoneOffset();return[e,s,t].join(So)},s$=()=>Math.floor(Date.now()/6e4),r$=(e,t,n,s)=>{const r=n$(n,s),o=t||0,i=s$()-o;return zx([r,i,e].join(So)).toString(36)},o$=(e,t)=>{const n=gp.getUserAgent(),s=gp.getUserLanguage();for(let r=0;r<=Jx;r+=1)if(r$(e,r,n,s)===t)return!0;return!1},i$=e=>{const t=e$(e);if(!t)return null;const{checksum:n,serializedIds:s}=t;return!s||!n||!o$(s,n)?null:t$(s)},mp="GoogleLinker",a$=()=>({name:mp,initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,mp]},userSession:{anonymousIdGoogleLinker(e){if(!e)return null;const t=e?i$(e):null;return t?t[Wx]:null}}}),lE=e=>`${e}${te}Failed to read the consent cookie.`,c$=e=>`${e}${te}Failed to parse the consent cookie.`,l$="Failed to determine the consent status for the destination. Please check the destination configuration and try again.",lr="IubendaConsentManagerPlugin",u$=/^_iub_cs-\d+$/,f$=e=>{try{const n=document.cookie.split("; ").find(r=>{const[o]=r.split("=");return u$.test((o||"").trim())});if(!n)throw new Error("Iubenda Cookie not found with the specified pattern.");const[s]=n.split("=");return s||""}catch(t){return e==null||e.error(lE(lr),t),""}},d$=(e,t)=>{let n=null;try{const o=e==null?void 0:e.setStore({id:lr,name:lr,type:ct,errorHandler:e==null?void 0:e.errorHandler,logger:e==null?void 0:e.logger});n=o==null?void 0:o.engine.getItem(f$(t))}catch(o){t==null||t.error(lE(lr),o);return}if(Et(n))return;let s;try{s=JSON.parse(decodeURIComponent(n))}catch(o){t==null||t.error(c$(lr),o);return}return s?s.purposes:void 0},h$=e=>{const t=[],n=[];return e&&Object.entries(e).forEach(s=>{const r=s[0];s[1]?t.push(r):n.push(r)}),{allowedConsentIds:t,deniedConsentIds:n}},_p=(e,t)=>{const n=h$(t);e.consents.initialized.value=de(t),e.consents.data.value=n},yp="IubendaConsentManager",p$=()=>({name:yp,deps:[],initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,yp]},consentManager:{init(e,t){globalThis.getIubendaUserConsentedPurposes=()=>{var n;return(n=e.consents.data.value.allowedConsentIds)==null?void 0:n.slice()},globalThis.getIubendaUserDeniedPurposes=()=>{var n;return(n=e.consents.data.value.deniedConsentIds)==null?void 0:n.slice()},globalThis.updateIubendaConsent=n=>{_p(e,n)}},updateConsentsInfo(e,t,n){let s;$e(globalThis._iub.cs.consent.purposes)?s=d$(t,n):s=globalThis._iub.cs.consent.purposes,_p(e,s)},isDestinationConsented(e,t,n,s){if(!e.consents.initialized.value)return!0;const r=e.consents.data.value.allowedConsentIds,o=i=>r.includes(i);try{const{consentManagement:i}=t;if(i){const a=i.find(l=>l.provider===e.consents.provider.value);if(!(a!=null&&a.consents))return!0;const c=a.consents.map(l=>l.consent.trim()).filter(l=>l);switch(a.resolutionStrategy??e.consents.resolutionStrategy.value){case"or":return c.some(o)||c.length===0;case"and":default:return c.every(o)}}return!0}catch(i){return n==null||n.onError({error:i,context:lr,customMessage:l$}),!0}}}}),g$=e=>`${e}${te}Failed to read the consent cookie.`,m$=e=>`${e}${te}Failed to parse the consent cookie.`,_$="Failed to determine the consent status for the destination. Please check the destination configuration and try again.",qr="KetchConsentManagerPlugin",y$="_ketch_consent_v1_",E$=(e,t)=>
58{let n=null;try{const o=e==null?void 0:e.setStore({id:qr,name:qr,type:ct,errorHandler:e==null?void 0:e.errorHandler,logger:e==null?void 0:e.logger});n=o==null?void 0:o.engine.getItem(y$)}catch(o){t==null||t.error(g$(qr),o);return}if(Et(n))return;let s;try{s=JSON.parse(Sy(n))}catch(o){t==null||t.error(m$(qr),o);return}if(!s)return;const r={};return Object.entries(s).forEach(o=>{const i=o[0],a=o[1];r[i]=(a==null?void 0:a.status)==="granted"}),r},v$=e=>{const t=[],n=[];return e&&Object.entries(e).forEach(s=>{const r=s[0];s[1]?t.push(r):n.push(r)}),{allowedConsentIds:t,deniedConsentIds:n}},Ep=(e,t)=>{const n=v$(t);e.consents.initialized.value=de(t),e.consents.data.value=n},vp="KetchConsentManager",b$=()=>({name:vp,deps:[],initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,vp]},consentManager:{init(e,t){globalThis.getKetchUserConsentedPurposes=()=>{var n;return(n=e.consents.data.value.allowedConsentIds)==null?void 0:n.slice()},globalThis.getKetchUserDeniedPurposes=()=>{var n;return(n=e.consents.data.value.deniedConsentIds)==null?void 0:n.slice()},globalThis.updateKetchConsent=n=>{Ep(e,n)}},updateConsentsInfo(e,t,n){let s;$e(globalThis.ketchConsent)?s=E$(t,n):s=globalThis.ketchConsent,Ep(e,s)},isDestinationConsented(e,t,n,s){var o;if(!e.consents.initialized.value)return!0;const r=e.consents.data.value.allowedConsentIds;try{const{ketchConsentPurposes:i,consentManagement:a}=t,c=u=>r.includes(u);if(a){const u=(o=a.find(f=>f.provider===e.consents.provider.value))==null?void 0:o.consents;if(!u)return!0;const l=u.map(f=>f.consent.trim()).filter(f=>f);switch(e.consents.resolutionStrategy.value){case"or":return l.some(c)||l.length===0;case"and":default:return l.every(c)}}else if(i){const u=i.map(l=>l.purpose.trim()).filter(l=>l);return u.some(c)||u.length===0}return!0}catch(i){return n==null||n.onError({error:i,context:qr,customMessage:_$}),!0}}}}),A$={maxItems:100},T$="rudder_destinations_events",El="NativeDestinationQueuePlugin",S$=(e,t,n)=>`${e}${te}The "${t}" track event has been filtered for the "${n}" destination.`,bp=(e,t,n)=>`Failed to send "${e}" event ${n?`"${n}" `:""}to integration for destination "${t}".`,I$=e=>Xe(A$,e),Ap=e=>e&&typeof e=="string",R$=(e,t,n)=>{if(e!=="track")return!1;const{blacklistedEvents:s,whitelistedEvents:r,eventFilteringOption:o}=n.config;switch(o){case"blacklistedEvents":{if(!Ap(t))return!1;const i=t.trim();return Array.isArray(s)?s.some(a=>a.eventName.trim()===i):!1}case"whitelistedEvents":{if(!Ap(t))return!0;const i=t.trim();return Array.isArray(r)?!r.some(a=>a.eventName.trim()===i):!0}case"disable":default:return!1}},Tp=(e,t,n,s)=>{var o,i;const r=e.type.toString();try{const a={message:e};(i=(o=t.integration)[r])==null||i.call(o,a)}catch(a){n==null||n.onError({error:a,context:El,customMessage:bp(r,t.userFriendlyId,e.event),groupingHash:bp(r,t.displayName,e.event),category:Ks})}},C$=e=>e.shouldApplyDeviceModeTransformation&&!e.cloned,Sp="NativeDestinationQueue",O$=()=>({name:Sp,deps:[],initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,Sp]},destinationsEventsQueue:{init(e,t,n,s,r,o){const i=I$(e.loadOptions.value.destinationsQueueOptions),a=e.lifecycle.writeKey.value;return new Ca(`${T$}_${a}`,i,(u,l)=>{const f=aE(u.integrations,e.nativeDestinations.initializedDestinations.value),d=[],h=fe(u);f.forEach(g=>{try{if(!!R$(h.type,h.event,g)){o==null||o.warn(S$(El,h.event,g.userFriendlyId));return}C$(g)?d.push(g):Tp(h,g,r,o)}catch(m){r==null||r.onError({error:m,context:El,category:Ks})}}),d.length>0&&t.invokeSingle("transformEvent.enqueue",e,s,h,d,r,o),l(null)},n,Wt)},enqueue(e,t,n,s,r){t.addItem(n)},enqueueEventToDestination(e,t,n,s,r){Tp(t,n,s)}}}),L$=e=>`${e}${te}Failed to access OneTrust SDK resources. Please ensure that the OneTrust SDK is loaded successfully before RudderStack SDK.`,N$="Failed to determine the consent status for the destination. Please check the destination configuration and try again.",Ip="OneTrustConsentManagerPlugin",Rp="OneTrustConsentManager",P$=()=>({name:Rp,deps:[],initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,Rp]},consentManager:{init(e,t){},updateConsentsInfo(e,t,n){if(!globalThis.OneTrust||!globalThis.OnetrustActiveGroups){n==null||n.error(L$(Ip)),e.consents.initialized.value=!1;return}const s=globalThis.OneTrust.GetDomainData().Groups,r=globalThis.OnetrustActiveGroups.split(",").filter(i=>i),o=[];
58s.forEach(({CustomGroupId:i})=>{r.includes(i)||o.push(i)}),e.consents.initialized.value=!0,e.consents.data.value={allowedConsentIds:r,deniedConsentIds:o}},isDestinationConsented(e,t,n,s){var o;if(!e.consents.initialized.value)return!0;const r=e.consents.data.value.allowedConsentIds;try{const{oneTrustCookieCategories:i,consentManagement:a}=t,c=u=>r.includes(u);if(a){const u=(o=a.find(f=>f.provider===e.consents.provider.value))==null?void 0:o.consents;if(!u)return!0;const l=u.map(f=>f.consent.trim()).filter(f=>f);switch(e.consents.resolutionStrategy.value){case"or":return l.some(c)||l.length===0;case"and":default:return l.every(c)}}else if(i)return i.map(l=>l.oneTrustCookieCategory.trim()).filter(l=>l).every(c);return!0}catch(i){return n==null||n.onError({error:i,context:Ip,customMessage:N$}),!0}}}}),Cp="StorageEncryption",w$=()=>({name:Cp,initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,Cp]},storage:{encrypt(e){return PD(e)},decrypt(e){return pl(e)}}});var zp,Qp,qp,Xp,Jp,Zp;const Op=((zp=typeof globalThis<"u"?globalThis:void 0)==null?void 0:zp.crypto)||((Qp=typeof global<"u"?global:void 0)==null?void 0:Qp.crypto)||((qp=typeof window<"u"?window:void 0)==null?void 0:qp.crypto)||((Xp=typeof self<"u"?self:void 0)==null?void 0:Xp.crypto)||((Zp=(Jp=typeof frames<"u"?frames:void 0)==null?void 0:Jp[0])==null?void 0:Zp.crypto);let vl;Op?vl=e=>{const t=[];for(let n=0,s;n<e;n+=4)t.push(Op.getRandomValues(new Uint32Array(1))[0]);return new Pt(t,e)}:vl=e=>{const t=[],n=s=>{let r=s,o=987654321;const i=4294967295;return()=>{o=36969*(o&65535)+(o>>16)&i,r=18e3*(r&65535)+(r>>16)&i;let a=(o<<16)+r&i;return a/=4294967296,a+=.5,a*(Math.random()>.5?1:-1)}};for(let s=0,r;s<e;s+=4){const o=n((r||Math.random())*4294967296);r=o()*987654071,t.push(o()*4294967296|0)}return new Pt(t,e)};class Lt{static create(...t){return new this(...t)}mixIn(t){return Object.assign(this,t)}clone(){const t=new this.constructor;return Object.assign(t,this),t}}class Pt extends Lt{constructor(t=[],n=t.length*4){super();let s=t;if(s instanceof ArrayBuffer&&(s=new Uint8Array(s)),(s instanceof Int8Array||s instanceof Uint8ClampedArray||s instanceof Int16Array||s instanceof Uint16Array||s instanceof Int32Array||s instanceof Uint32Array||s instanceof Float32Array||s instanceof Float64Array)&&(s=new Uint8Array(s.buffer,s.byteOffset,s.byteLength)),s instanceof Uint8Array){const r=s.byteLength,o=[];for(let i=0;i<r;i+=1)o[i>>>2]|=s[i]<<24-i%4*8;this.words=o,this.sigBytes=r}else this.words=t,this.sigBytes=n}toString(t=D$){return t.stringify(this)}concat(t){const n=this.words,s=t.words,r=this.sigBytes,o=t.sigBytes;if(this.clamp(),r%4)for(let i=0;i<o;i+=1){const a=s[i>>>2]>>>24-i%4*8&255;n[r+i>>>2]|=a<<24-(r+i)%4*8}else for(let i=0;i<o;i+=4)n[r+i>>>2]=s[i>>>2];return this.sigBytes+=o,this}clamp(){const{words:t,sigBytes:n}=this;t[n>>>2]&=4294967295<<32-n%4*8,t.length=Math.ceil(n/4)}clone(){const t=super.clone.call(this);return t.words=this.words.slice(0),t}}Me(Pt,"random",vl);const D$={stringify(e){const{words:t,sigBytes:n}=e,s=[];for(let r=0;r<n;r+=1){const o=t[r>>>2]>>>24-r%4*8&255;s.push((o>>>4).toString(16)),s.push((o&15).toString(16))}return s.join("")},parse(e){const t=e.length,n=[];for(let s=0;s<t;s+=2)n[s>>>3]|=parseInt(e.substr(s,2),16)<<24-s%8*4;return new Pt(n,t/2)}},Lp={stringify(e){const{words:t,sigBytes:n}=e,s=[];for(let r=0;r<n;r+=1){const o=t[r>>>2]>>>24-r%4*8&255;s.push(String.fromCharCode(o))}return s.join("")},parse(e){const t=e.length,n=[];for(let s=0;s<t;s+=1)n[s>>>2]|=(e.charCodeAt(s)&255)<<24-s%4*8;return new Pt(n,t)}},xu={stringify(e){try{return decodeURIComponent(escape(Lp.stringify(e)))}catch{throw new Error("Malformed UTF-8 data")}},parse(e){return Lp.parse(unescape(encodeURIComponent(e)))}};class uE extends Lt{constructor(){super(),this._minBufferSize=0}reset(){this._data=new Pt,this._nDataBytes=0}_append(t){let n=t;typeof n=="string"&&(n=xu.parse(n)),this._data.concat(n),this._nDataBytes+=n.sigBytes}_process(t){let n;const{_data:s,blockSize:r}=this,o=s.words,i=s.sigBytes,a=r*4;let c=i/a;t?c=Math.ceil(c):c=Math.max((c|0)-this._minBufferSize,0);const u=c*r,l=Math.min(u*4,i);if(u){for(let f=0;f<u;f+=r)this._doProcessBlock(o,f);n=o.splice(0,u),s.sigBytes-=l}return new Pt(n,l)}clone(){const t=super.clone.call(this);return t._data=this._data.clone(),t}}class k$ extends uE{constructor(t){super(),this.blockSize=512/32,this.cfg=Object.assign(new Lt,t),this.reset()}static _createHelper(t){return(n,s)=>new t(s).finalize(n)}static _createHmacHelper(t){return(n,s)=>new M$(t,s).finalize(n)}reset(){super.reset.call(this),this._doReset()}update(t){return this._append(t),this._process(),this}finalize(t){return t&&this._append(t),this._doFinalize()}}class M$ extends Lt{constructor(t,n){super();const s=new t;this._hasher=s;let r=n;typeof r=="string"&&(r=xu.parse(r));const o=s.blockSize,i=o*4;r.sigBytes>i&&(r=s.finalize(n)),r.clamp();const a=r.clone();this._oKey=a;const c=r.clone();this._iKey=c;const u=a.words,l=c.words;for(let f=0;f<o;f+=1)u[f]^=1549556828,l[f]^=909522486;a.sigBytes=i,c.sigBytes=i,this.reset()}reset(){const t=this._hasher;t.reset(),t.update(this._iKey)}update(t){return this._hasher.update(t),this}finalize(t){const n=this._hasher,s=n.finalize(t);return n.reset(),n.finalize(this._oKey.clone().concat(s))}}
58const x$=(e,t,n)=>{const s=[];let r=0;for(let o=0;o<t;o+=1)if(o%4){const i=n[e.charCodeAt(o-1)]<<o%4*2,a=n[e.charCodeAt(o)]>>>6-o%4*2,c=i|a;s[r>>>2]|=c<<24-r%4*8,r+=1}return Pt.create(s,r)},Np={stringify(e){const{words:t,sigBytes:n}=e,s=this._map;e.clamp();const r=[];for(let i=0;i<n;i+=3){const a=t[i>>>2]>>>24-i%4*8&255,c=t[i+1>>>2]>>>24-(i+1)%4*8&255,u=t[i+2>>>2]>>>24-(i+2)%4*8&255,l=a<<16|c<<8|u;for(let f=0;f<4&&i+f*.75<n;f+=1)r.push(s.charAt(l>>>6*(3-f)&63))}const o=s.charAt(64);if(o)for(;r.length%4;)r.push(o);return r.join("")},parse(e){let t=e.length;const n=this._map;let s=this._reverseMap;if(!s){this._reverseMap=[],s=this._reverseMap;for(let o=0;o<n.length;o+=1)s[n.charCodeAt(o)]=o}const r=n.charAt(64);if(r){const o=e.indexOf(r);o!==-1&&(t=o)}return x$(e,t,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},ee=[];for(let e=0;e<64;e+=1)ee[e]=Math.abs(Math.sin(e+1))*4294967296|0;const dt=(e,t,n,s,r,o,i)=>{const a=e+(t&n|~t&s)+r+i;return(a<<o|a>>>32-o)+t},ht=(e,t,n,s,r,o,i)=>{const a=e+(t&s|n&~s)+r+i;return(a<<o|a>>>32-o)+t},pt=(e,t,n,s,r,o,i)=>{const a=e+(t^n^s)+r+i;return(a<<o|a>>>32-o)+t},gt=(e,t,n,s,r,o,i)=>{const a=e+(n^(t|~s))+r+i;return(a<<o|a>>>32-o)+t};class $$ extends k${_doReset(){this._hash=new Pt([1732584193,4023233417,2562383102,271733878])}_doProcessBlock(t,n){const s=t;for(let S=0;S<16;S+=1){const w=n+S,F=t[w];s[w]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360}const r=this._hash.words,o=s[n+0],i=s[n+1],a=s[n+2],c=s[n+3],u=s[n+4],l=s[n+5],f=s[n+6],d=s[n+7],h=s[n+8],g=s[n+9],m=s[n+10],A=s[n+11],C=s[n+12],O=s[n+13],p=s[n+14],E=s[n+15];let y=r[0],v=r[1],R=r[2],N=r[3];y=dt(y,v,R,N,o,7,ee[0]),N=dt(N,y,v,R,i,12,ee[1]),R=dt(R,N,y,v,a,17,ee[2]),v=dt(v,R,N,y,c,22,ee[3]),y=dt(y,v,R,N,u,7,ee[4]),N=dt(N,y,v,R,l,12,ee[5]),R=dt(R,N,y,v,f,17,ee[6]),v=dt(v,R,N,y,d,22,ee[7]),y=dt(y,v,R,N,h,7,ee[8]),N=dt(N,y,v,R,g,12,ee[9]),R=dt(R,N,y,v,m,17,ee[10]),v=dt(v,R,N,y,A,22,ee[11]),y=dt(y,v,R,N,C,7,ee[12]),N=dt(N,y,v,R,O,12,ee[13]),R=dt(R,N,y,v,p,17,ee[14]),v=dt(v,R,N,y,E,22,ee[15]),y=ht(y,v,R,N,i,5,ee[16]),N=ht(N,y,v,R,f,9,ee[17]),R=ht(R,N,y,v,A,14,ee[18]),v=ht(v,R,N,y,o,20,ee[19]),y=ht(y,v,R,N,l,5,ee[20]),N=ht(N,y,v,R,m,9,ee[21]),R=ht(R,N,y,v,E,14,ee[22]),v=ht(v,R,N,y,u,20,ee[23]),y=ht(y,v,R,N,g,5,ee[24]),N=ht(N,y,v,R,p,9,ee[25]),R=ht(R,N,y,v,c,14,ee[26]),v=ht(v,R,N,y,h,20,ee[27]),y=ht(y,v,R,N,O,5,ee[28]),N=ht(N,y,v,R,a,9,ee[29]),R=ht(R,N,y,v,d,14,ee[30]),v=ht(v,R,N,y,C,20,ee[31]),y=pt(y,v,R,N,l,4,ee[32]),N=pt(N,y,v,R,h,11,ee[33]),R=pt(R,N,y,v,A,16,ee[34]),v=pt(v,R,N,y,p,23,ee[35]),y=pt(y,v,R,N,i,4,ee[36]),N=pt(N,y,v,R,u,11,ee[37]),R=pt(R,N,y,v,d,16,ee[38]),v=pt(v,R,N,y,m,23,ee[39]),y=pt(y,v,R,N,O,4,ee[40]),N=pt(N,y,v,R,o,11,ee[41]),R=pt(R,N,y,v,c,16,ee[42]),v=pt(v,R,N,y,f,23,ee[43]),y=pt(y,v,R,N,g,4,ee[44]),N=pt(N,y,v,R,C,11,ee[45]),R=pt(R,N,y,v,E,16,ee[46]),v=pt(v,R,N,y,a,23,ee[47]),y=gt(y,v,R,N,o,6,ee[48]),N=gt(N,y,v,R,d,10,ee[49]),R=gt(R,N,y,v,p,15,ee[50]),v=gt(v,R,N,y,l,21,ee[51]),y=gt(y,v,R,N,C,6,ee[52]),N=gt(N,y,v,R,c,10,ee[53]),R=gt(R,N,y,v,m,15,ee[54]),v=gt(v,R,N,y,i,21,ee[55]),y=gt(y,v,R,N,h,6,ee[56]),N=gt(N,y,v,R,E,10,ee[57]),R=gt(R,N,y,v,f,15,ee[58]),v=gt(v,R,N,y,O,21,ee[59]),y=gt(y,v,R,N,u,6,ee[60]),N=gt(N,y,v,R,A,10,ee[61]),R=gt(R,N,y,v,a,15,ee[62]),v=gt(v,R,N,y,g,21,ee[63]),r[0]=r[0]+y|0,r[1]=r[1]+v|0,r[2]=r[2]+R|0,r[3]=r[3]+N|0}_doFinalize(){const t=this._data,n=t.words,s=this._nDataBytes*8,r=t.sigBytes*8;n[r>>>5]|=128<<24-r%32;const o=Math.floor(s/4294967296),i=s;n[(r+64>>>9<<4)+15]=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360,n[(r+64>>>9<<4)+14]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,t.sigBytes=(n.length+1)*4,this._process();const a=this._hash,c=a.words;for(let u=0;u<4;u+=1){const l=c[u];c[u]=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360}return a}clone(){const t=super.clone.call(this);return t._hash=this._hash.clone(),t}}class Pp extends Lt{constructor(t){super(),this.cfg=Object.assign(new Lt,{keySize:128/32,hasher:$$,iterations:1},t)}compute(t,n){let s;const{cfg:r}=this,o=r.hasher.create(),i=Pt.create(),a=i.words,{keySize:c,iterations:u}=r;for(;a.length<c;){s&&o.update(s),s=o.update(t).finalize(n),o.reset();for(let l=1;l<u;l+=1)s=o.finalize(s),o.reset();i.concat(s)}return i.sigBytes=c*4,i}}const ms=typeof Object.assign!="function"?function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(let t=1;t<arguments.length;t++){const n=arguments[t];if(n!=null)for(const s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e}:Object.assign;class Mo extends uE{constructor(t,n,s){super(),this.cfg=ms(new Lt,s),this._xformMode=t,this._key=n,this.reset()}static createEncryptor(t,n){return this.create(this._ENC_XFORM_MODE,t,n)}static createDecryptor(t,n){return this.create(this._DEC_XFORM_MODE,t,n)}static _createHelper(t){const n=s=>typeof s=="string"?hE:yr;
58return{encrypt(s,r,o){return n(r).encrypt(t,s,r,o)},decrypt(s,r,o){return n(r).decrypt(t,s,r,o)}}}reset(){super.reset.call(this),this._doReset()}process(t){return this._append(t),this._process()}finalize(t){return t&&this._append(t),this._doFinalize()}}Mo._ENC_XFORM_MODE=1;Mo._DEC_XFORM_MODE=2;Mo.keySize=128/32;Mo.ivSize=128/32;class U$ extends Lt{constructor(t,n){super(),this._cipher=t,this._iv=n}static createEncryptor(t,n){return this.Encryptor.create(t,n)}static createDecryptor(t,n){return this.Decryptor.create(t,n)}}function fE(e,t,n){const s=e;let r;const o=this._iv;o?(r=o,this._iv=void 0):r=this._prevBlock;for(let i=0;i<n;i+=1)s[t+i]^=r[i]}class Io extends U${}Io.Encryptor=class extends Io{processBlock(e,t){const n=this._cipher,{blockSize:s}=n;fE.call(this,e,t,s),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+s)}};Io.Decryptor=class extends Io{processBlock(e,t){const n=this._cipher,{blockSize:s}=n,r=e.slice(t,t+s);n.decryptBlock(e,t),fE.call(this,e,t,s),this._prevBlock=r}};const F$={pad(e,t){const n=t*4,s=n-e.sigBytes%n,r=s<<24|s<<16|s<<8|s,o=[];for(let a=0;a<s;a+=4)o.push(r);const i=Pt.create(o,s);e.concat(i)},unpad(e){const t=e,n=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=n}};class dE extends Mo{constructor(t,n,s){super(t,n,ms({mode:Io,padding:F$},s)),this.blockSize=128/32}reset(){let t;super.reset.call(this);const{cfg:n}=this,{iv:s,mode:r}=n;this._xformMode===this.constructor._ENC_XFORM_MODE?t=r.createEncryptor:(t=r.createDecryptor,this._minBufferSize=1),this._mode=t.call(r,this,s&&s.words),this._mode.__creator=t}_doProcessBlock(t,n){this._mode.processBlock(t,n)}_doFinalize(){let t;const{padding:n}=this.cfg;return this._xformMode===this.constructor._ENC_XFORM_MODE?(n.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),n.unpad(t)),t}}class $u extends Lt{constructor(t){super(),this.mixIn(t)}toString(t){return(t||this.formatter).stringify(this)}}const B$={stringify(e){let t;const{ciphertext:n,salt:s}=e;return s?t=Pt.create([1398893684,1701076831]).concat(s).concat(n):t=n,t.toString(Np)},parse(e){let t;const n=Np.parse(e),s=n.words;return s[0]===1398893684&&s[1]===1701076831&&(t=Pt.create(s.slice(2,4)),s.splice(0,4),n.sigBytes-=16),$u.create({ciphertext:n,salt:t})}};class yr extends Lt{static encrypt(t,n,s,r){const o=ms(new Lt,this.cfg,r),i=t.createEncryptor(s,o),a=i.finalize(n),c=i.cfg;return $u.create({ciphertext:a,key:s,iv:c.iv,algorithm:t,mode:c.mode,padding:c.padding,blockSize:i.blockSize,formatter:o.format})}static decrypt(t,n,s,r){let o=n;const i=ms(new Lt,this.cfg,r);return o=this._parse(o,i.format),t.createDecryptor(s,i).finalize(o.ciphertext)}static _parse(t,n){return typeof t=="string"?n.parse(t,this):t}}yr.cfg=ms(new Lt,{format:B$});const V$={execute(e,t,n,s,r){let o=s;o||(o=Pt.random(64/8));let i;r?i=Pp.create({keySize:t+n,hasher:r}).compute(e,o):i=Pp.create({keySize:t+n}).compute(e,o);const a=Pt.create(i.words.slice(t),n*4);return i.sigBytes=t*4,$u.create({key:i,iv:a,salt:o})}};class hE extends yr{static encrypt(t,n,s,r){const o=ms(new Lt,this.cfg,r),i=o.kdf.execute(s,t.keySize,t.ivSize,o.salt,o.hasher);o.iv=i.iv;const a=yr.encrypt.call(this,t,n,i.key,o);return a.mixIn(i),a}static decrypt(t,n,s,r){let o=n;const i=ms(new Lt,this.cfg,r);o=this._parse(o,i.format);const a=i.kdf.execute(s,t.keySize,t.ivSize,o.salt,i.hasher);return i.iv=a.iv,yr.decrypt.call(this,t,o,a.key,i)}}hE.cfg=ms(yr.cfg,{kdf:V$});const kt=[],pE=[],gE=[],mE=[],_E=[],yE=[],bl=[],Al=[],Tl=[],Sl=[],tn=[];for(let e=0;e<256;e+=1)e<128?tn[e]=e<<1:tn[e]=e<<1^283;let en=0,Dn=0;for(let e=0;e<256;e+=1){let t=Dn^Dn<<1^Dn<<2^Dn<<3^Dn<<4;t=t>>>8^t&255^99,kt[en]=t,pE[t]=en;const n=tn[en],s=tn[n],r=tn[s];let o=tn[t]*257^t*16843008;gE[en]=o<<24|o>>>8,mE[en]=o<<16|o>>>16,_E[en]=o<<8|o>>>24,yE[en]=o,o=r*16843009^s*65537^n*257^en*16843008,bl[t]=o<<24|o>>>8,Al[t]=o<<16|o>>>16,Tl[t]=o<<8|o>>>24,Sl[t]=o,en?(en=n^tn[tn[tn[r^n]]],Dn^=tn[tn[Dn]]):(Dn=1,en=Dn)}const H$=[0,1,2,4,8,16,32,64,128,27,54];class EE extends dE{_doReset(){let t;if(this._nRounds&&this._keyPriorReset===this._key)return;this._keyPriorReset=this._key;const n=this._keyPriorReset,s=n.words,r=n.sigBytes/4;
58this._nRounds=r+6;const i=(this._nRounds+1)*4;this._keySchedule=[];const a=this._keySchedule;for(let u=0;u<i;u+=1)u<r?a[u]=s[u]:(t=a[u-1],u%r?r>6&&u%r===4&&(t=kt[t>>>24]<<24|kt[t>>>16&255]<<16|kt[t>>>8&255]<<8|kt[t&255]):(t=t<<8|t>>>24,t=kt[t>>>24]<<24|kt[t>>>16&255]<<16|kt[t>>>8&255]<<8|kt[t&255],t^=H$[u/r|0]<<24),a[u]=a[u-r]^t);this._invKeySchedule=[];const c=this._invKeySchedule;for(let u=0;u<i;u+=1){const l=i-u;u%4?t=a[l]:t=a[l-4],u<4||l<=4?c[u]=t:c[u]=bl[kt[t>>>24]]^Al[kt[t>>>16&255]]^Tl[kt[t>>>8&255]]^Sl[kt[t&255]]}}encryptBlock(t,n){this._doCryptBlock(t,n,this._keySchedule,gE,mE,_E,yE,kt)}decryptBlock(t,n){const s=t;let r=s[n+1];s[n+1]=s[n+3],s[n+3]=r,this._doCryptBlock(s,n,this._invKeySchedule,bl,Al,Tl,Sl,pE),r=s[n+1],s[n+1]=s[n+3],s[n+3]=r}_doCryptBlock(t,n,s,r,o,i,a,c){const u=t,l=this._nRounds;let f=u[n]^s[0],d=u[n+1]^s[1],h=u[n+2]^s[2],g=u[n+3]^s[3],m=4;for(let E=1;E<l;E+=1){const y=r[f>>>24]^o[d>>>16&255]^i[h>>>8&255]^a[g&255]^s[m];m+=1;const v=r[d>>>24]^o[h>>>16&255]^i[g>>>8&255]^a[f&255]^s[m];m+=1;const R=r[h>>>24]^o[g>>>16&255]^i[f>>>8&255]^a[d&255]^s[m];m+=1;const N=r[g>>>24]^o[f>>>16&255]^i[d>>>8&255]^a[h&255]^s[m];m+=1,f=y,d=v,h=R,g=N}const A=(c[f>>>24]<<24|c[d>>>16&255]<<16|c[h>>>8&255]<<8|c[g&255])^s[m];m+=1;const C=(c[d>>>24]<<24|c[h>>>16&255]<<16|c[g>>>8&255]<<8|c[f&255])^s[m];m+=1;const O=(c[h>>>24]<<24|c[g>>>16&255]<<16|c[f>>>8&255]<<8|c[d&255])^s[m];m+=1;const p=(c[g>>>24]<<24|c[f>>>16&255]<<16|c[d>>>8&255]<<8|c[h&255])^s[m];m+=1,u[n]=A,u[n+1]=C,u[n+2]=O,u[n+3]=p}}EE.keySize=256/32;const vE=dE._createHelper(EE),Il="RudderEncrypt:",bE="Rudder",j$=e=>`${Il}${vE.encrypt(e,bE).toString()}`,Rl=e=>e.startsWith(Il)?vE.decrypt(e.substring(Il.length),bE).toString(xu):e,wp="StorageEncryptionLegacy",G$=()=>({name:wp,initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,wp]},storage:{encrypt(e){return j$(e)},decrypt(e){return Rl(e)}}}),K$=e=>`Failed to retrieve or parse data for "${e}" from storage.`,W$="StorageMigratorPlugin",Dp="StorageMigrator",Y$=()=>({name:Dp,initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,Dp]},storage:{migrate(e,t,n,s){try{const r=t.getItem(e);if(Et(r))return null;let o=r,i=Rl(o);for(i=pl(i),o=JSON.parse(i);xe(o)&&(i=Rl(o),i=pl(i),i!==o);)o=JSON.parse(i);return o}catch(r){const o=K$(e);return n==null||n.onError({error:r,context:W$,customMessage:o,groupingHash:o}),null}}}}),z$={maxRetryDelay:36e4,minRetryDelay:1e3,backoffFactor:2,maxAttempts:10,maxItems:100},Q$=30*1e3,q$="v1",X$="rudder",J$="XhrQueuePlugin",Z$=(e,t)=>
58`${e}${te}Failed to deliver event(s). Cause: ${t}.`,AE=(e,t,n)=>Rt({batch:e,sentAt:t},!0,void 0,n),eU=e=>Xe(z$,e),TE=(e,t)=>{const n=new URL(e);return new URL(Mu([n.pathname,"/",q$,"/",t].join("")),n).href},tU=e=>TE(e,"batch"),nU=(e,t,n,s)=>{var i;if(!s)return;let r=Z$(J$,((i=e==null?void 0:e.error)==null?void 0:i.message)??"Unknown");const o="The event(s) will be dropped.";t?n.willBeRetried?(r=`${r} The event(s) will be retried.`,n.retryAttemptNumber>0&&(r=`${r} Retry attempt ${n.retryAttemptNumber} of ${n.maxRetryAttempts}.`),s.warn(r)):s.error(`${r} Retries exhausted (${n.maxRetryAttempts}). ${o}`):s.error(`${r} ${o}`)},sU=(e,t,n,s)=>{let r,o,i;const a=Vs();if(Array.isArray(e)){const c=e.map(u=>ml(u.event,a));r=AE(c,a,s),o=e[0]?fe(e[0].headers):{},i=tU(t.lifecycle.activeDataplaneUrl.value)}else{const{url:c,event:u,headers:l}=e,f=ml(u,a);r=sE(f,s),o=fe(l),i=c}return o.SentAt=a,n.reclaimed&&(o["Rsa-Recovered"]="true"),n.retryAttemptNumber>0&&(o["Rsa-Retry-Attempt"]=n.retryAttemptNumber.toString(),o["Rsa-Since-Last-Attempt"]=n.timeSinceLastAttempt.toString(),o["Rsa-Since-First-Attempt"]=n.timeSinceFirstAttempt.toString(),o["Rsa-Retry-Reason"]=n.retryReason),{data:r,headers:o,url:i}},kp="XhrQueue",rU=()=>({name:kp,deps:[],initialize:e=>{e.plugins.loadedPlugins.value=[...e.plugins.loadedPlugins.value,kp]},dataplaneEventsQueue:{init(e,t,n,s,r){const o=e.lifecycle.writeKey.value;t.setAuthHeader(o);const i=eU(e.loadOptions.value.queueOptions);return new Ca(`${X$}_${o}`,i,(c,u,l)=>{const{data:f,url:d,headers:h}=sU(c,e,l,r);t.getAsyncData({url:d,options:{method:"POST",headers:h,data:f,sendRawData:!0},isRawResponse:!0,timeout:Q$,callback:(g,m)=>{var C,O;if($e(m==null?void 0:m.error)){u(null);return}const A=nE(((C=m==null?void 0:m.xhr)==null?void 0:C.status)??0);if(nU(m,A,l,r),A){let p=gl;m!=null&&m.timedOut?p=DD:de((O=m==null?void 0:m.xhr)==null?void 0:O.status)&&(p=`server-${m.xhr.status}`),u(m,{retryReason:p})}else u(null)}})},n,tt,r,c=>{var f;const u=Vs(),l=c.map(d=>d.event);return(f=AE(l,u,r))==null?void 0:f.length})},enqueue(e,t,n,s,r){n.sentAt=Vs(),rE(n,r);const o=e.lifecycle.activeDataplaneUrl.value,i=TE(o,n.type),a={AnonymousId:Ou(n.anonymousId)};t.addItem({url:i,headers:a,event:n})}}}),oU=()=>({BeaconQueue:fk,CustomConsentManager:pk,DeviceModeDestinations:Mx,DeviceModeTransformation:jx,ExternalAnonymousId:Kx,GoogleLinker:a$,IubendaConsentManager:p$,KetchConsentManager:b$,NativeDestinationQueue:O$,OneTrustConsentManager:P$,StorageEncryption:w$,StorageEncryptionLegacy:G$,StorageMigrator:Y$,XhrQueue:rU}),SE=()=>({}),iU=()=>oU(),aU=e=>({}),ic={...SE(),...iU()},cU=e=>({...aU()});class lU{constructor(t,n,s){this.engine=t,this.errorHandler=n,this.logger=s,this.onError=this.onError.bind(this)}init(){_.lifecycle.status.value="pluginsLoading",this.setActivePlugins(),this.registerLocalPlugins(),this.registerRemotePlugins(),this.attachEffects()}attachEffects(){Sn(()=>{(_.plugins.activePlugins.value.length===0||_.plugins.loadedPlugins.value.length+_.plugins.failedPlugins.value.length===_.plugins.totalPluginsToLoad.value)&&Ct(()=>{_.plugins.ready.value=!0,_.lifecycle.status.value="pluginsReady"})})}getPluginsToLoadBasedOnConfig(){let t=_.plugins.pluginsToLoadFromConfig.value;if(!t)return[];t=t.filter(r=>yD.includes(r)?(this.logger.warn(XP(Xo,r)),!1):!0);const n=[{configurationStatus:()=>de(_.dataPlaneEvents.eventsQueuePluginName.value),configurationStatusStr:"Data plane events delivery is enabled",activePluginName:_.dataPlaneEvents.eventsQueuePluginName.value,supportedPlugins:Object.values(aw),shouldAddMissingPlugins:!0},{configurationStatus:()=>Gh(_.nativeDestinations.configuredDestinations.value).length>0,configurationStatusStr:"Device mode destinations are connected to the source",supportedPlugins:["DeviceModeDestinations","NativeDestinationQueue"]},{configurationStatus:()=>Gh(_.nativeDestinations.configuredDestinations.value).some(r=>r.shouldApplyDeviceModeTransformation),configurationStatusStr:"Device mode transformations are enabled for at least one destination",supportedPlugins:["DeviceModeTransformation"]},{configurationStatus:()=>de(_.consents.activeConsentManagerPluginName.value),configurationStatusStr:"Consent management is enabled",activePluginName:_.consents.activeConsentManagerPluginName.value,supportedPlugins:Object.values(fl)},{configurationStatus:()=>de(_.storage.encryptionPluginName.value),configurationStatusStr:"Storage encryption is enabled",activePluginName:_.storage.encryptionPluginName.value,supportedPlugins:Object.values(di)},{configurationStatus:()=>_.storage.migrate.value,configurationStatusStr:"Storage migration is enabled",supportedPlugins:["StorageMigrator"]}],s=!1;
58return n.forEach(r=>{r.configurationStatus()?(t=t.filter(r.activePluginName?o=>!(o!==r.activePluginName&&r.supportedPlugins.includes(o)):o=>de(o)),this.addMissingPlugins(r,s,t)):t=t.filter(r.basePlugins!==void 0?o=>!(r.basePlugins.includes(o)||r.supportedPlugins.includes(o)):o=>!r.supportedPlugins.includes(o))}),[...Object.keys(SE()),...t]}addMissingPlugins(t,n,s){const r=t.shouldAddMissingPlugins||n;let o;t.activePluginName?o=[...t.basePlugins||[],t.activePluginName]:o=[...t.supportedPlugins];const i=o.filter(a=>!s.includes(a));i.length>0&&(r&&s.push(...i),this.logger.warn(JP(Xo,t.configurationStatusStr,i,r)))}setActivePlugins(){const t=this.getPluginsToLoadBasedOnConfig(),n=[...Object.keys(ic),..._D],s=[],r=[];t.forEach(o=>{n.includes(o)?s.push(o):r.push(o)}),r.length>0&&this.logger.warn(tw(Xo,r)),Ct(()=>{_.plugins.totalPluginsToLoad.value=t.length,_.plugins.activePlugins.value=s,_.plugins.failedPlugins.value=r})}registerLocalPlugins(){Object.values(ic).forEach(t=>{J(t)&&_.plugins.activePlugins.value.includes(t().name)&&this.register([t()])})}registerRemotePlugins(){const t=cU(_.plugins.activePlugins.value);Promise.all(Object.keys(t).map(async n=>{await t[n]().then(s=>this.register([s.default()])).catch(s=>{_.plugins.failedPlugins.value=[..._.plugins.failedPlugins.value,n],this.onError(s,`Failed to load plugin "${n}"`,s)})})).catch(n=>{this.onError(n)})}invokeMultiple(t,...n){try{return this.engine.invokeMultiple(t,...n)}catch(s){return this.onError(s,t),[]}}invokeSingle(t,...n){try{return this.engine.invokeSingle(t,...n)}catch(s){return this.onError(s,t),null}}register(t){t.forEach(n=>{try{this.engine.register(n,_)}catch(s){_.plugins.failedPlugins.value=[..._.plugins.failedPlugins.value,n.name],this.onError(s,`Failed to register plugin "${n.name}"`)}})}unregisterLocalPlugins(){Object.values(ic).forEach(t=>{try{this.engine.unregister(t().name)}catch(n){this.onError(n,`Failed to unregister plugin "${t().name}"`)}})}onError(t,n,s){this.errorHandler.onError({error:t,context:Xo,customMessage:n,groupingHash:s})}}const uU="test_rudder_cookie",fU="test_rudder_ls",dU="test_rudder_ss",hU="__tld__",IE="clientDataInCookie",RE="clientDataInLocalStorage",pU="clientDataInMemory",CE="clientDataInSessionStorage",OE=["userId","userTraits","anonymousId","groupId","groupTraits","initialReferrer","initialReferringDomain","sessionInfo","authToken"],ur={[ct]:IE,[tt]:RE,[Wt]:pU,[Kt]:CE},gU=e=>{const t=document.createElement("a");return t.href=e,t.hostname},mU=e=>{const t=typeof globalThis.URL!="function"?gU(e):new URL(e).hostname,n=(t==null?void 0:t.split("."))??[],s=n[n.length-1],r=[];if(n.length===4&&s&&s===parseInt(s,10).toString())return r;if(n.length<=1)return n[0]&&n[0].indexOf("localhost")!==-1?["localhost"]:r;for(let o=n.length-2;o>=0;o-=1)r.push(n.slice(o).join("."));return r},_U=e=>{const t=mU(e);for(let n=0;n<t.length;n+=1){const s=t[n],r=hU,o={domain:`${s.indexOf("localhost")!==-1?"":"."}${s}`};if(as(r,1,o),as(r))return as(r,null,o),s}return""},yU=()=>{const e=`.${_U(globalThis.location.href)}`;return{maxage:FN,path:"/",domain:!e||e==="."?void 0:e,samesite:"Lax",enabled:!0}},EU=()=>({enabled:!0}),vU=()=>({enabled:!0}),bU=()=>({enabled:!0});class AU{constructor(t){Me(this,"isEnabled",!0);Me(this,"length",0);Me(this,"data",{});this.options=bU(),this.logger=t}configure(t){return this.options=Xe(this.options,t??{}),this.isEnabled=!!this.options.enabled,this.options}setItem(t,n){return this.data[t]=n,this.length=Object.keys(this.data).length,n}getItem(t){return t in this.data?this.data[t]:null}removeItem(t){return t in this.data&&delete this.data[t],this.length=Object.keys(this.data).length,null}clear(){this.data={},this.length=0}key(t){return this.keys()[t]??null}keys(){return Object.keys(this.data)}}const qi=new AU(Qn);var mi={exports:{}},TU=mi.exports,Mp;function SU(){return Mp||(Mp=1,function(e,t){(function(n,s){e.exports=s()})(TU,function(){function n(h){return h=JSON.stringify(h),!!/^\{[\s\S]*\}$/.test(h)}function s(h){return h===void 0||typeof h=="function"?h+"":JSON.stringify(h)}function r(h){if(typeof h=="string")try{return JSON.parse(h)}catch{return h}}function o(h){return{}.toString.call(h)==="[object Function]"}function i(h){return Object.prototype.toString.call(h)==="[object Array]"}function a(h){var g="_Is_Incognit",m="yes";try{h||(h=window.localStorage),h.setItem(g,m),h.removeItem(g)}catch{var A={};A._data={},A.setItem=function(O,p){return A._data[O]=String(p)},A.getItem=function(O){return A._data.hasOwnProperty(O)?A._data[O]:void 0},A.removeItem=function(O){return delete A._data[O]},A.clear=function(){return A._data={}},h=A}finally{h.getItem(g)===m&&h.removeItem(g)}return h}var c=a();function u(){if(!(this instanceof u))return new u}u.prototype={set:function(g,m){if(g&&!n(g))c.setItem(g,s(m));else if(n(g))for(var A in g)this.set(A,g[A]);return this},get:function(g){if(g===void 0){var m={};return this.forEach(function(y,v){return m[y]=v}),m}if(g.charAt(0)==="?")return this.has(g.substr(1));var A=arguments;if(A.length>1){for(var C={},O=0,p=A.length;O<p;O++){var E=r(c.getItem(A[O]));this.has(A[O])&&(C[A[O]]=E)}return C}return r(c.getItem(g))},clear:function(){return c.clear(),this},remove:function(g){var m=this.get(g);return c.removeItem(g),m},has:function(g){return{}.hasOwnProperty.call(this.get(),g)},keys:function(){var g=[];return this.forEach(function(m){g.push(m)}),g},forEach:function(g){for(var m=0,A=c.length;m<A;m++){var C=c.key(m);g(C,this.get(C))}return this},search:function(g){for(var m=this.keys(),A={},C=0,O=m.length;C<O;C++)m[C].indexOf(g)>-1&&(A[m[C]]=this.get(m[C]));return A},len:function(){return c.length}};var l=null;function f(h,g){var m=arguments,A=null;if(l||(l=u()),m.length===0)return l.get();if(m.length===1){if(typeof h=="string")return l.get(h);if(n(h))return l.set(h)}if(m.length===2&&typeof h=="string"){if(!g)return l.remove(h);if(g&&typeof g=="string")return l.set(h,g);g&&o(g)&&(A=null,A=g(h,l.get(h)),f.set(h,A))}if(m.length===2&&i(h)&&o(g))for(var C=0,O=h.length;C<O;C++)A=g(h[C],l.get(h[C])),f.set(h[C],A);return f}for(var d in u.prototype)f[d]=u.prototype[d];return f})}(mi)),mi.exports}var IU=SU();const Ns=Qy(IU),RU=()=>!Et(globalThis.crypto)&&J(globalThis.crypto.getRandomValues),xp=()=>!Et(globalThis.navigator.userAgentData),CU=()=>!Et(globalThis.navigator.sendBeacon)&&J(globalThis.navigator.sendBeacon),OU=()=>!!globalThis.navigator.userAgent.match(/Trident.*rv:11\./),LU=(e,t="none")=>{var n;t==="none"&&e(void 0),t==="default"&&e(navigator.userAgentData),t==="full"&&((n=navigator.userAgentData)==null||n.getHighEntropyValues(["architecture","bitness","brands","mobile","model","platform","platformVersion","uaFullVersion","fullVersionList","wow64"]).then(s=>{e(s)}).catch(()=>{e()}))},NU=()=>{const e=globalThis.document.createElement("div");return e.setAttribute("data-a-b","c"),e.dataset?e.dataset.aB==="c":!1},Cl={URL:()=>!J(globalThis.URL)||!J(globalThis.URLSearchParams),Promise:()=>!J(globalThis.Promise),"Number.isNaN":()=>!J(globalThis.Number.isNaN),"Number.isInteger":()=>!J(globalThis.Number.isInteger),"Array.from":()=>!J(globalThis.Array.from),"Array.prototype.find":()=>!J(globalThis.Array.prototype.find),"Array.prototype.includes":()=>!J(globalThis.Array.prototype.includes),"String.prototype.endsWith":()=>!J(globalThis.String.prototype.endsWith),"String.prototype.startsWith":()=>
58!J(globalThis.String.prototype.startsWith),"String.prototype.includes":()=>!J(globalThis.String.prototype.includes),"String.prototype.replaceAll":()=>!J(globalThis.String.prototype.replaceAll),"String.fromCodePoint":()=>!J(globalThis.String.fromCodePoint),"Object.entries":()=>!J(globalThis.Object.entries),"Object.values":()=>!J(globalThis.Object.values),"Object.assign":()=>!J(globalThis.Object.assign),"Object.fromEntries":()=>!J(globalThis.Object.fromEntries),"Element.prototype.dataset":()=>!NU(),TextEncoder:()=>!J(globalThis.TextEncoder)||!J(globalThis.TextDecoder),requestAnimationFrame:()=>!J(globalThis.requestAnimationFrame)||!J(globalThis.cancelAnimationFrame),CustomEvent:()=>!J(globalThis.CustomEvent),"navigator.sendBeacon":()=>!J(globalThis.navigator.sendBeacon),ArrayBuffer:()=>!J(globalThis.Uint8Array),Set:()=>!J(globalThis.Set),atob:()=>!J(globalThis.atob)},PU=()=>{const e=Object.keys(Cl);let t=!1;for(let n=0;n<e.length;n++){const s=Cl[e[n]];if(J(s)&&s()){t=!0;break}}return t},$p=()=>{let e={density:0,width:0,height:0,innerWidth:0,innerHeight:0};return e={width:globalThis.screen.width,height:globalThis.screen.height,density:globalThis.devicePixelRatio,innerWidth:globalThis.innerWidth,innerHeight:globalThis.innerHeight},e},LE=e=>{const t=["QuotaExceededError","NS_ERROR_DOM_QUOTA_REACHED"],n=[22,1014];return e instanceof DOMException?t.includes(e.name)||n.includes(e.code):!1},Er=(e=tt,t,n)=>{let s,r;const o=bP(al,e);let i="unavailable",a=!0,c;try{switch(e){case Wt:return!0;case ct:s=t,r=uU;break;case tt:s=t??globalThis.localStorage,r=fU;break;case Kt:s=t??globalThis.sessionStorage,r=dU;break;default:return!1}if(s&&(s.setItem(r,"true"),s.getItem(r)))return s.removeItem(r),!0;a=!1}catch(u){a=!1,c=u,LE(u)&&(i="full")}return a||n==null||n.warn(`${o}${i}.`,c),!1};class wU{constructor(t){Me(this,"isSupportAvailable",!0);Me(this,"isEnabled",!0);Me(this,"length",0);this.options=EU(),this.logger=t}configure(t){return this.options=Xe(this.options,t??{}),this.isSupportAvailable=Er(tt),this.isEnabled=!!(this.options.enabled&&this.isSupportAvailable),this.options}setItem(t,n){Ns.set(t,n),this.length=Ns.len()}getItem(t){const n=Ns.get(t);return $e(n)?null:n}removeItem(t){Ns.remove(t),this.length=Ns.len()}clear(){Ns.clear(),this.length=0}key(t){return this.keys()[t]??null}keys(){return Ns.keys()}}const Uu=new wU(Qn);class DU{constructor(t){Me(this,"isSupportAvailable",!0);Me(this,"isEnabled",!0);Me(this,"length",0);this.options=vU(),this.logger=t}configure(t){return this.options=Xe(this.options,t??{}),this.isSupportAvailable=Er(Kt),this.isSupportAvailable&&(this.store=globalThis.sessionStorage),this.isEnabled=!!(this.options.enabled&&this.isSupportAvailable),this.options}setItem(t,n){this.store&&(this.store.setItem(t,n),this.length=this.store.length)}getItem(t){if(!this.store)return null;const n=this.store.getItem(t);return $e(n)?null:n}removeItem(t){this.store&&(this.store.removeItem(t),this.length=this.store.length)}clear(){var t;(t=this.store)==null||t.clear(),this.length=0}key(t){var n;return((n=this.store)==null?void 0:n.key(t))??null}keys(){const t=[];if(!this.store)return t;for(let n=0;n<this.store.length;n+=1){const s=this.store.key(n);s!==null&&t.push(s)}return t}}const Fu=new DU(Qn);class kU{constructor(t){Me(this,"isSupportAvailable",!0);Me(this,"isEnabled",!0);Me(this,"length",0);this.logger=t}configure(t){return this.options||(this.options=yU()),this.options=Xe(this.options,t??{}),this.options.sameDomainCookiesOnly&&delete this.options.domain,this.isSupportAvailable=Er(ct,this),this.isEnabled=!!(this.options.enabled&&this.isSupportAvailable),this.options}setItem(t,n){return as(t,n,this.options,this.logger),this.length=Object.keys(as()).length,!0}getItem(t){const n=as(t);return $e(n)?null:n}removeItem(t){const n=this.setItem(t,null);return this.length=Object.keys(as()).length,n}clear(){}key(t){return this.keys()[t]??null}keys(){return Object.keys(as())}}const Bu=new kU(Qn),rn=e=>{switch(e){case tt:return Uu;case Kt:return Fu;case Wt:return qi;case ct:return Bu;default:return qi}},MU=e=>{const t=Bu.configure(e);_.storage.cookie.value={maxage:t.maxage,path:t.path,domain:t.domain,samesite:t.samesite,expires:t.expires,secure:t.secure}},xU=e=>{Uu.configure(e)},$U=e=>{qi.configure(e)},UU=e=>{Fu.configure(e)},FU=(e={},t={},n={},s={})=>{MU(e),xU(t),$U(n),UU(s)};class BU{constructor(t,n,s){this.id=t.id,this.name=t.name,this.isEncrypted=t.isEncrypted??!1,this.validKeys=t.validKeys??{},this.engine=n,this.noKeyValidation=Object.keys(this.validKeys).length===0,this.noCompoundKey=t.noCompoundKey,this.originalEngine=this.engine,this.errorHandler=t.errorHandler,this.logger=t.logger,this.pluginsManager=s}createValidKey(t){const{name:n,id:s,validKeys:r,noKeyValidation:o,noCompoundKey:i}=this;if(o)return i?t:[n,s,t].join(".");let a;return Object.values(r).forEach(c=>{c===t&&(a=i?t:[n,s,t].join("."))}),a}swapQueueStoreToInMemoryEngine(){const{name:t,id:n,validKeys:s,noCompoundKey:r}=this,o=rn(Wt);
58Object.keys(s).forEach(i=>{const a=this.get(s[i]),c=r?i:[t,n,i].join(".");o.setItem(c,a),this.remove(i)}),this.engine=o}set(t,n){const s=this.createValidKey(t);if(s)try{this.engine.setItem(s,this.encrypt(Rt(n,!1,[],this.logger)))}catch(r){if(LE(r))this.logger.warn(GP(`Store ${this.id}`)),this.swapQueueStoreToInMemoryEngine(),this.set(t,n);else{const o=CP(t);this.onError(r,o,o)}}}get(t){const n=this.createValidKey(t);let s;try{return!n||(s=this.decrypt(this.engine.getItem(n)),Et(s)||s==="")?null:JSON.parse(s)}catch(r){const o=OP(t);return this.onError(r,o,o),null}}remove(t){const n=this.createValidKey(t);n&&this.engine.removeItem(n)}getOriginalEngine(){return this.originalEngine}decrypt(t){return Et(t)?null:this.crypto(t,"decrypt")}encrypt(t){return this.crypto(t,"encrypt")}crypto(t,n){if(!this.isEncrypted||!t||typeof t!="string"||dN(t)==="")return t;const r=`storage.${n}`,o=this.pluginsManager?this.pluginsManager.invokeSingle(r,t):t;return typeof o>"u"?t:o??""}onError(t,n,s){this.errorHandler.onError({error:t,context:`Store ${this.id}`,customMessage:n,groupingHash:s})}}const VU=(e,t)=>{var s;let n;if(e.consents.preConsent.value.enabled)switch((s=e.consents.preConsent.value.storage)==null?void 0:s.strategy){case"none":n=Hs;break;case"session":t!=="sessionInfo"&&(n=Hs);break;case"anonymousId":t!=="anonymousId"&&(n=Hs);break}return n};class HU{constructor(t,n,s){Me(this,"stores",{});Me(this,"isInitialized",!1);this.errorHandler=n,this.logger=s,this.pluginsManager=t}init(){var s;if(this.isInitialized)return;const t=_.loadOptions.value,n={cookieStorageOptions:{samesite:t.sameSiteCookie,secure:t.secureCookie,domain:t.setCookieDomain,sameDomainCookiesOnly:t.sameDomainCookiesOnly},localStorageOptions:{},inMemoryStorageOptions:{},sessionStorageOptions:{}};FU(zr(Xe(n.cookieStorageOptions??{},((s=_.storage.cookie)==null?void 0:s.value)??{})),zr(n.localStorageOptions),zr(n.inMemoryStorageOptions),zr(n.sessionStorageOptions)),this.initClientDataStores(),this.isInitialized=!0}initClientDataStores(){this.initializeStorageState(),[Wt,tt,ct,Kt].forEach(n=>{var s;(s=rn(n))!=null&&s.isEnabled&&this.setStore({id:ur[n],name:ur[n],isEncrypted:!0,noCompoundKey:!0,type:n,errorHandler:this.errorHandler,logger:this.logger})})}initializeStorageState(){var i;let t=_.storage.type.value,n=(i=_.loadOptions.value.storage)==null?void 0:i.entries;const s=_.consents.postConsent.value.storage;
58(de(s==null?void 0:s.type)||de(s==null?void 0:s.entries))&&(t=s==null?void 0:s.type,n=s==null?void 0:s.entries);let r=!0,o={};OE.forEach(a=>{var g;const c=a,u=a,l=(g=n==null?void 0:n[c])==null?void 0:g.type,d=VU(_,a)??l??t??ul,h=this.getResolvedStorageTypeForEntry(d,a);h!==Hs&&(r=!1),o={...o,[a]:{type:h,key:rr[u]}}}),Ct(()=>{_.storage.type.value=t,_.storage.entries.value=o,_.storage.trulyAnonymousTracking.value=r})}getResolvedStorageTypeForEntry(t,n){var r,o,i,a,c;let s=t;switch(t){case tt:(r=rn(tt))!=null&&r.isEnabled||(s=Wt);break;case Kt:(o=rn(Kt))!=null&&o.isEnabled||(s=Wt);break;case Wt:case Hs:break;case ct:default:(i=rn(ct))!=null&&i.isEnabled?s=ct:(a=rn(tt))!=null&&a.isEnabled?s=tt:(c=rn(Kt))!=null&&c.isEnabled?s=Kt:s=Wt;break}return s!==t&&this.logger.warn(KP(gN,n,t,s)),s}setStore(t){const n=rn(t.type);return this.stores[t.id]=new BU(t,n,this.pluginsManager),this.stores[t.id]}getStore(t){return this.stores[t]}}const jU=e=>Ue(e)&&Ue(e.source)&&!Et(e.source.id)&&Ue(e.source.config)&&Array.isArray(e.source.destinations),GU=e=>typeof e=="string"&&Gy.includes(e),NE=e=>{const t=new URL(e),{host:n,protocol:s}=t,r=n.split(".");let o;return r.length>2?o=`${r[r.length-2]}.${r[r.length-1]}`:o=n,{topDomain:o,protocol:s}},KU=e=>{const{topDomain:t,protocol:n}=NE(e);return`${n}//${t}`},WU=(e,t)=>{const n=t?window.location.origin:KU(window.location.href),s=e.startsWith("/")?e.substring(1):e;return`${n}/${s}`},YU=e=>{const{topDomain:t}=NE(window.location.href);return t===e},kr=e=>e!=null&&e.endsWith("/")?kr(e.substring(0,e.length-1)):e,Ol=e=>{try{return new URL(e).host}catch{return null}},PE=e=>Ol(e)??"",zU=e=>{const t={};try{const n=new URL(e),s="utm_";n.searchParams.forEach((r,o)=>{if(o.startsWith(s)){let i=o.substring(s.length);i==="campaign"&&(i="name"),t[i]=r}})}catch{}return t},QU=e=>{let t=e;try{const n=new URL(e);t=n.origin+n.pathname+n.search}catch{}return t},qU=()=>{var e,t;return!!((t=(e=window.chrome)==null?void 0:e.runtime)!=null&&t.id)},ac="none",cc="immediate",XU=e=>{var t,n;return((n=(t=e==null?void 0:e.statsCollection)==null?void 0:t.errors)==null?void 0:n.enabled)===!0},JU=e=>{var t,n;return((n=(t=e==null?void 0:e.statsCollection)==null?void 0:t.metrics)==null?void 0:n.enabled)===!0},ZU=e=>{const t={sendPageEvent:!1,trackConsent:!1,discardPreConsentEvents:!1};if(Ue(e)){const n=fe(e);t.storage=n.storage,Tn(n.integrations)&&(t.integrations=n.integrations),t.discardPreConsentEvents=n.discardPreConsentEvents===!0,t.sendPageEvent=n.sendPageEvent===!0,t.trackConsent=n.trackConsent===!0,Tn(n.consentManagement)&&(t.consentManagement=Xe(n.consentManagement,{enabled:_.consents.enabled.value}))}return t},Up=e=>Tn(e)||Array.isArray(e),eF=(e,t)=>{let{provider:n}=e;const s=n?fl[n]:void 0;return n&&!s&&(t.error(dP(zt,n,fl)),n=void 0),{provider:n,consentManagerPluginName:s}},wE=(e,t)=>{let n,s=[],r=[],o=!1,i,a=(e==null?void 0:e.enabled)===!0;Tn(e)&&a&&({provider:i,consentManagerPluginName:n}=eF(e,t),Up(e.allowedConsentIds)&&(s=e.allowedConsentIds,o=!0),Up(e.deniedConsentIds)&&(r=e.deniedConsentIds,o=!0));const c={allowedConsentIds:s,deniedConsentIds:r};return a=a&&!!n,{provider:i,consentManagerPluginName:n,initialized:o,enabled:a,consentsData:c}},tF=()=>{const e=document.querySelector("script[data-rsa-write-key]");if(e&&e.dataset.rsaWriteKey===_.lifecycle.writeKey.value)return e.src;const t=document.getElementsByTagName("script"),n=/(?:^|\/)rsa(\.min)?\.js$/;for(const s of t){const r=s.getAttribute("src");if(r&&n.test(r))return r}},nF=e=>{_.reporting.isErrorReportingEnabled.value=XU(e.source.config)&&!qU(),_.reporting.isMetricsReportingEnabled.value=JU(e.source.config)},sF=e=>{const{useServerSideCookies:t,dataServiceEndpoint:n,storage:s,setCookieDomain:r,sameDomainCookiesOnly:o}=_.loadOptions.value;let i=s==null?void 0:s.cookie,a=!1,c;if(t){a=t;const u=i.domain??r,l=de(u)&&!YU(bh(u))||o,f=WU(n??cw,l);if(Dr(f)){c=kr(f);const d=Ol(window.location.href),h=Ol(f);d!==h&&(i={...i,samesite:"None",secure:!0}),!o&&l&&h!==bh(u)&&(a=!1,e.warn(kP(zt,u,h)))}else a=!1}return{sscEnabled:a,cookieOptions:i,finalDataServiceUrl:c}},rF=e=>{var l;const{storage:t}=_.loadOptions.value;let n=t==null?void 0:t.type;de(n)&&!GU(n)&&(e.warn(PP(zt,n,ul)),n=ul);let s=(l=t==null?void 0:t.encryption)==null?void 0:l.version;const r=s&&di[s];!$e(s)&&$e(r)?(e.warn(wP(zt,s,di,ks)),s=ks):$e(s)&&(s=ks);const o=t==null?void 0:t.migrate,i=o&&s===ks;o===!0&&i!==o&&e.warn(DP(zt,s,ks));const{sscEnabled:a,finalDataServiceUrl:c,cookieOptions:u}=sF(e);Ct(()=>{_.storage.type.value=n,_.storage.cookie.value=u,_.serverCookies.isEnabledServerSideCookies.value=a,_.serverCookies.dataServiceUrl.value=c,_.storage.encryptionPluginName.value=di[s],_.storage.migrate.value=i})},oF=e=>{var f,d,h,g;const{provider:t,consentManagerPluginName:n,initialized:s,enabled:r,consentsData:o}=wE(_.loadOptions.value.consentManagement,e),i=_.loadOptions.value.preConsent;let a=((f=i==null?void 0:i.storage)==null?void 0:f.strategy)??ac;const c=["none","session","anonymousId"];de(a)&&!c.includes(a)&&(a=ac,e.warn(QP(zt,(d=i==null?void 0:i.storage)==null?void 0:d.strategy,ac)));let u=((h=i==null?void 0:i.events)==null?void 0:h.delivery)??cc;const l=["immediate","buffer"];de(u)&&!l.includes(u)&&(u=cc,e.warn(qP(zt,(g=i==null?void 0:i.events)==null?void 0:g.delivery,cc))),Ct(()=>{var m;_.consents.activeConsentManagerPluginName.value=n,_.consents.initialized.value=s,_.consents.enabled.value=r,_.consents.data.value=o,_.consents.provider.value=t,_.consents.preConsent.value={enabled:((m=_.loadOptions.value.preConsent)==null?void 0:m.enabled)===!0&&s===!1&&r===!0,storage:{strategy:a},events:{delivery:u}}})},iF=e=>{var s;let t=_.consents.resolutionStrategy.value,n;Ue(e.consentManagementMetadata)&&(_.consents.provider.value&&(t=((s=e.consentManagementMetadata.providers.find(r=>r.provider===_.consents.provider.value))==null?void 0:s.resolutionStrategy)??_.consents.resolutionStrategy.value),n=e.consentManagementMetadata),_.consents.provider.value==="custom"&&(t=void 0),Ct(()=>{_.consents.metadata.value=fe(n),_.consents.resolutionStrategy.value=t})},aF=e=>{if(_.dataPlaneEvents.deliveryEnabled.value){const t="XhrQueue";let n=t;_.loadOptions.value.useBeacon&&(_.capabilities.isBeaconAvailable.value?n="BeaconQueue":(n=t,e.warn($P(zt)))),Ct(()=>{_.dataPlaneEvents.eventsQueuePluginName.value=n})}},cF=(e,t,n,s,r)=>{const o=new URLSearchParams({p:Dy,v:Yi,build:To,writeKey:t,lockIntegrationsVersion:n.toString(),lockPluginsVersion:s.toString()});let i=zy,a=o,c="/sourceConfig/",u="";if(Dr(e)){const l=new URL(e);kr(l.pathname).endsWith("/sourceConfig")||(l.pathname=`${kr(l.pathname)}
58/sourceConfig/`),l.pathname=Mu(l.pathname),o.forEach((f,d)=>{l.searchParams.get(d)===null&&l.searchParams.set(d,f)}),i=l.origin,c=l.pathname,a=l.searchParams,u=l.hash}else r.warn(YP(zt,e));return`${i}${c}?${a}${u}`},lF=e=>e.map(t=>({id:t.id,displayName:t.destinationDefinition.displayName,enabled:t.enabled,config:t.config,shouldApplyDeviceModeTransformation:t.shouldApplyDeviceModeTransformation??!1,propagateEventsUntransformedOnError:t.propagateEventsUntransformedOnError??!1,userFriendlyId:mD(t.destinationDefinition.displayName,t.id),isCustomIntegration:t.destinationDefinition.displayName===uw})),uF=(e,t,n,s,r,o,i)=>{let a;if(o){if(!Dr(o))return i.error(fP(zt,e,o)),null;a=kr(o)}else if(a=n,_.context.app.value.installType==="cdn"){const c=tF();c&&(a=c.split("/").slice(0,-1).concat(t).join("/"))}return r&&(a=a.replace(new RegExp(`/${ku}/${To}/${t}$`),`/${s}/${To}/${t}`)),a},fF=(e,t,n,s)=>uF("integrations",Du,Yy,e,t,n,s);class dF{constructor(t,n,s){this.errorHandler=n,this.logger=s,this.httpClient=t,this.onError=this.onError.bind(this),this.processConfig=this.processConfig.bind(this)}attachEffects(){Sn(()=>{this.logger.setMinLogLevel(_.lifecycle.logLevel.value)})}init(){const{logLevel:t,configUrl:n,lockIntegrationsVersion:s,lockPluginsVersion:r,destSDKBaseURL:o,pluginsSDKBaseURL:i,integrations:a}=_.loadOptions.value,c=fF(Yi,s,o,this.logger);if(Xt(c))return;let u;this.attachEffects(),_.lifecycle.activeDataplaneUrl.value=kr(_.lifecycle.dataPlaneUrl.value),rF(this.logger),oF(this.logger),aF(this.logger),Ct(()=>{_.lifecycle.integrationsCDNPath.value=c,_.lifecycle.pluginsCDNPath.value=u,t&&(_.lifecycle.logLevel.value=t),_.lifecycle.sourceConfigUrl.value=cF(n,_.lifecycle.writeKey.value,s,r,this.logger),_.metrics.metricsServiceUrl.value=`${_.lifecycle.activeDataplaneUrl.value}/${lw}`,_.nativeDestinations.loadOnlyIntegrations.value=a}),this.getConfig()}onError(t,n,s){this.errorHandler.onError({error:t,context:zt,customMessage:n,groupingHash:s})}processConfig(t,n){if(!de(t)){de(n)?this.onError(n.error,Mh):this.onError(new Error(Mh));return}let s;try{xe(t)?s=JSON.parse(t):s=t}catch(o){this.onError(o,Dh);return}if(!jU(s)){this.onError(new Error(Dh));return}if(s.source.enabled===!1){this.logger.error(iP);return}nF(s);const r=s.source.destinations.length>0?lF(s.source.destinations):[];Ct(()=>{_.source.value={config:s.source.config,name:s.source.name,id:s.source.id,workspaceId:s.source.workspaceId},_.nativeDestinations.configuredDestinations.value=r,_.plugins.pluginsToLoadFromConfig.value=_.loadOptions.value.plugins??[],iF(s),_.lifecycle.status.value="configured"})}getConfig(){const t=_.loadOptions.value.getSourceConfig;if(t){if(!J(t)){this.logger.error(uP(zt));return}const n=t();n instanceof Promise?n.then(s=>this.processConfig(s)).catch(s=>{this.onError(s,"SourceConfig")}):this.processConfig(n)}else this.httpClient.getAsyncData({url:_.lifecycle.sourceConfigUrl.value,options:{headers:{"Content-Type":void 0}},callback:this.processConfig})}}const hF=()=>{const e=/([A-Z]+[+-]\d+)/.exec(new Date().toString());return e!=null&&e[1]?e[1]:"NA"},DE=(e=()=>document)=>{var t;return((t=e())==null?void 0:t.referrer)||"$direct"},pF=(e=()=>document)=>{const n=e().getElementsByTagName("link");let s="";for(let r=0;n[r];r+=1){const o=n[r];if(o.getAttribute("rel")==="canonical"&&!s){s=o.getAttribute("href")??"";break}}return s},gF=(e=()=>globalThis.navigator)=>{const t=e();if($e(t))return null;let{userAgent:n}=t;const{brave:s}=t;if(s&&Object.getPrototypeOf(s).isBrave){const r=n.match(/(chrome)\/([\w.]+)/i);r&&(n=`${n} Brave/${r[2]}`)}return n},mF=(e=()=>globalThis.navigator)=>{const t=e();return $e(t)?null:t.language??t.browserLanguage},kE=(e=()=>globalThis.location,t=()=>document)=>{const n=e(),s=pF(t);let r=n.pathname;const{href:o}=n;let i=o;const{search:a}=n;if(s)try{const f=new URL(s);f.search===""?i=s+a:i=s,r=f.pathname}catch{}const c=QU(i),{title:u}=t(),l=DE(t);return{path:r,referrer:l,referring_domain:PE(l),search:a,title:u,url:c,tab_url:o}},_F="https://polyfill-fastly.io/v3/polyfill.min.js",yF=`${_F}?version=3.111.0&features=${Object.keys(Cl).join("%2C")}`,EF=10*1e3,Fp="rudderstackPolyfill";class vF{constructor(t,n,s){this.httpClient=t,this.errorHandler=n,this.logger=s,this.externalSrcLoader=new xy(this.logger),this.onError=this.onError.bind(this),this.onReady=this.onReady.bind(this)}init(){this.prepareBrowserCapabilities(),this.attachWindowListeners()}detectBrowserCapabilities(){Ct(()=>{_.capabilities.storage.isCookieStorageAvailable.value=Er(ct,rn(ct),this.logger),_.capabilities.storage.isLocalStorageAvailable.value=Er(tt,void 0,this.logger),_.capabilities.storage.isSessionStorageAvailable.value=Er(Kt,void 0,this.logger),_.capabilities.isBeaconAvailable.value=CU(),_.capabilities.isUaCHAvailable.value=xp(),_.capabilities.isCryptoAvailable.value=RU(),_.capabilities.isIE11.value=OU(),_.capabilities.isOnline.value=globalThis.navigator.onLine,_.context.userAgent.value=gF(),_.context.locale.value=mF(),_.context.screen.value=$p(),_.context.timezone.value=hF(),xp()&&LU(t=>{_.context["ua-ch"].value=t},_.loadOptions.value.uaChTrackLevel)}),Sn(()=>{_.loadOptions.value.sendAdblockPage===!0&&_.lifecycle.sourceConfigUrl.value!==void 0&&Zy(this.httpClient)})}prepareBrowserCapabilities(){_.capabilities.isLegacyDOM.value=PU();const t=_.loadOptions.value.polyfillURL;let n=yF;if(wr(t)&&(Dr(t)?n=t:this.logger.warn(ZP(al,t))),_.loadOptions.value.polyfillIfRequired&&_.capabilities.isLegacyDOM.value&&Dr(n)){const r=n!==_.loadOptions.value.polyfillURL;if(r){const o=`RS_polyfillCallback_${_.lifecycle.writeKey.value}`,i=()=>{this.onReady(),delete globalThis[o]};globalThis[o]=i,n=`${n}&callback=${o}`}this.externalSrcLoader.loadJSFile({url:n,id:Fp,async:!0,timeout:EF,callback:o=>{o?r||this.onReady():this.onError(new Error(zP(Fp,n)))}})}else this.onReady()}attachWindowListeners(){globalThis.addEventListener("offline",()=>{_.capabilities.isOnline.value=!1}),globalThis.addEventListener("online",()=>{_.capabilities.isOnline.value=!0}),globalThis.addEventListener("resize",HN(()=>{_.context.screen.value=$p()},this))}onReady(){this.detectBrowserCapabilities(),_.lifecycle.status.value="browserCapabilitiesReady"}onError(t,n){this.errorHandler.onError({error:t,context:al,groupingHash:n})}}const bF="web",AF=["integrations","anonymousId","originalTimestamp"],Bp=["library","consentManagement","userAgent","ua-ch","screen"],lc=["id","anonymous_id","user_id","sent_at","t
58imestamp","received_at","original_timestamp","event","event_text","channel","context_ip","context_request_ip","context_passed_ip","group_id","previous_id"],ME=e=>typeof e=="number"&&!Number.isNaN(e),TF=(e,t)=>t.toString().length>=e,Xi=e=>ME(e)&&e>=0&&Number.isInteger(e),Vp=10,xE=e=>{const{cutOff:t}=e,n=Date.now();return!!(t!=null&&t.enabled&&t.expiresAt&&n>t.expiresAt)},Hp=e=>!e.expiresAt||Date.now()>e.expiresAt||xE(e),SF=()=>Date.now(),IF=(e,t)=>!e||!Xi(e)||!TF(Vp,e)?(t.warn(jP(Ds,e,Vp)),!1):!0,RF=e=>{if(e!=null&&e.enabled)return e.expiresAt??(Xi(e.duration)?Date.now()+e.duration:void 0)},CF=e=>{const{timeout:t,cutOff:n}=e,s=Date.now();return{id:s,expiresAt:s+t,timeout:t,autoTrack:!0,...n&&{cutOff:n}}},OF=(e,t)=>({id:IF(e,t)?e:SF(),sessionStart:void 0,manualTrack:!0}),Xr=e=>e===ct||e===tt||e===Kt||e===Wt,Ll=()=>yn(),LF=e=>{const t=kE(),n={};return Object.keys(t).forEach(s=>{n[s]=(e==null?void 0:e[s])||t[s]}),n.initial_referrer=(e==null?void 0:e.initial_referrer)||_.session.initialReferrer.value,n.initial_referring_domain=(e==null?void 0:e.initial_referring_domain)||_.session.initialReferringDomain.value,n},NF=(e,t)=>{const n=(t==null?void 0:t.page)||{},s=e,r=kE();return Object.keys(r).forEach(o=>{$e(s[o])&&(s[o]=n[o]||r[o])}),$e(s.initial_referrer)&&(s.initial_referrer=n.initial_referrer||_.session.initialReferrer.value),$e(s.initial_referring_domain)&&(s.initial_referring_domain=n.initial_referring_domain||_.session.initialReferringDomain.value),s},uc=(e,t,n)=>{Ue(e)&&Object.keys(e).forEach(s=>{(lc.includes(s)||lc.includes(s.toLowerCase()))&&n.warn(MP(Oy,s,t,lc))})},PF=(e,t)=>{const{properties:n,traits:s,context:r}=e,{traits:o}=r;uc(n,"properties",t),uc(s,"traits",t),uc(o,"context.traits",t)},wF=(e,t)=>{t.anonymousId&&xe(t.anonymousId)&&(e.anonymousId=t.anonymousId),Tn(t.integrations)&&(e.integrations=t.integrations),t.originalTimestamp&&xe(t.originalTimestamp)&&(e.originalTimestamp=t.originalTimestamp)},DF=(e,t,n)=>{let s=e;return Object.keys(t).forEach(r=>{if(!AF.includes(r)&&!Bp.includes(r))if(r!=="context")s=Xe(s,{[r]:t[r]});else if(!$e(t[r])&&Ue(t[r])){const o={};Object.keys(t[r]).forEach(i=>{Bp.includes(i)||(o[i]=t[r][i])}),s=Xe(s,{...o})}else n.warn(xP(Oy))}),s},kF=(e,t,n)=>{Ue(t)&&(wF(e,t),e.context=DF(e.context,t,n))},MF=e=>{let t;return _.loadOptions.value.useGlobalIntegrationsConfigInEvents?t=_.consents.postConsent.value.integrations??_.nativeDestinations.loadOnlyIntegrations.value:e?t=e:t=Wy,fe(t)},Kr=(e,t,n,s)=>{var i,a,c;const r={channel:bF,context:{traits:fe(_.session.userTraits.value),sessionId:_.session.sessionInfo.value.id||void 0,sessionStart:_.session.sessionInfo.value.sessionStart||void 0,..._.consents.enabled.value&&{consentManagement:{deniedConsentIds:fe(_.consents.data.value.deniedConsentIds),allowedConsentIds:fe(_.consents.data.value.allowedConsentIds),provider:_.consents.provider.value,resolutionStrategy:_.consents.resolutionStrategy.value}},"ua-ch":_.context["ua-ch"].value,app:_.context.app.value,library:_.context.library.value,userAgent:_.context.userAgent.value,os:_.context.os.value,locale:_.context.locale.value,screen:_.context.screen.value,campaign:zU(globalThis.location.href),page:LF(n),timezone:_.context.timezone.value,..._.autoTrack.enabled.value&&{autoTrack:{..._.autoTrack.pageLifecycle.enabled.value&&{page:{pageViewId:_.autoTrack.pageLifecycle.pageViewId.value}}}}},originalTimestamp:Vs(),messageId:yn(),userId:e.userId||_.session.userId.value};Xr((i=_.storage.entries.value.anonymousId)==null?void 0:i.type)?r.anonymousId=_.session.anonymousId.value:r.anonymousId=Ll(),_.storage.trulyAnonymousTracking.value&&(r.context.trulyAnonymousTracking=!0),e.type==="identify"&&(r.context.traits=((a=_.storage.entries.value.userTraits)==null?void 0:a.type)!==Hs?fe(_.session.userTraits.value):e.context.traits),e.type==="group"&&((e.groupId||_.session.groupId.value)&&(r.groupId=e.groupId||_.session.groupId.value),(e.traits||_.session.groupTraits.value)&&(r.traits=((c=_.storage.entries.value.groupTraits)==null?void 0:c.type)!==Hs?fe(_.session.groupTraits.value):e.traits));const o=Xe(e,r);return o.event===void 0&&(o.event=null),o.properties===void 0&&(o.properties=null),kF(o,t,s),PF(o,s),o.integrations=MF(o.integrations),o};class xF{constructor(t){this.logger=t}generatePageEvent(t,n,s,r){let o=s??{};return o=NF(o,r),Kr({properties:o,name:n,category:t,type:"page"},r,o,this.logger)}generateTrackEvent(t,n,s){return Kr({properties:n,event:t,type:"track"},s,void 0,this.logger)}generateIdentifyEvent(t,n,s){return Kr({userId:t,type:"identify",context:{traits:n}},s,void 0,this.logger)}generateAliasEvent(t,n,s){const o=Kr({previousId:n,type:"alias"},s,void 0,this.logger);return o.userId=t??o.userId,o}generateGroupEvent(t,n,s){const r={type:"group"};return t&&(r.groupId=t),n&&(r.traits=n),Kr(r,s,void 0,this.logger)}create(t){let n;switch(t.type){case"page":n=this.generatePageEvent(t.category,t.name,t.properties,t.options);break;case"track":n=this.generateTrackEvent(t.name,t.properties,t.options);break;case"identify":n=this.generateIdentifyEvent(t.userId,t.traits,t.options);break;case"alias":n=this.generateAliasEvent(t.to,t.from,t.options);break;case"group":default:n=this.generateGroupEvent(t.groupId,t.traits,t.options);break}return n}}class $F{constructor(t,n,s,r){this.eventRepository=t,this.userSessionManager=n,this.errorHandler=s,this.logger=r,this.eventFactory=new xF(this.logger)}init(){this.eventRepository.init()}resume(){this.eventRepository.resume()}addEvent(t){this.userSessionManager.refreshSession();const n=this.eventFactory.create(t);this.eventRepository.enqueue(n,t.callback)}}class UF{constructor(t,n,s,r,o){this.storeManager=n,this.pluginsManager=t,this.logger=o,this.errorHandler=r,this.httpClient=s,this.onError=this.onError.bind(this),this.serverSideCookieDebounceFuncs={}}init(){this.syncStorageDataToState(),this.registerEffects()}syncStorageDataToState(){this.migrateStorageIfNeeded(),this.migrateDataFromPreviousStorage(),this.setUserId(this.getUserId()),this.setUserTraits(this.getUserTraits()),this.setGroupId(this.getGroupId()),this.setGroupTraits(this.getGroupTraits());const{externalAnonymousIdCookieName:t,anonymousIdOptions:n}=_.loadOptions.value;let s;wr(t)&&typeof t=="string"&&(s=this.getExternalAnonymousIdByCookieName(t)),this.setAnonymousId(s??this.getAnonymousId(n)),this.setAuthToken(this.getAuthToken()),this.setInitialReferrerInfo(),this.configureSessionTracking()}configureSessionTracking(){var n,s;let t;if(this.isPersistenceEnabledForStorageEntry("sessionInfo")){const r=this.getConfiguredSessionTrackingInfo(),o=this.getSessionInfo()??Ae.sessionInfo;t={autoTrack:r.autoTrack&&o.manualTrack!==!0,timeout:r.timeout,manualTrack:o.manualTrack,expiresAt:o.expiresAt,id:o.id,sessionStart:o.sessionStart},!t.autoTrack&&t.manualTrack!==!0?t=Ae.sessionInfo:((n=r.cutOff)==null?void 0:n.enabled)===!0&&(t.cutOff={enabled:!0,duration:r.cutOff.duration,expiresAt:(s=o.cutOff)==null?void 0:s.expiresAt})}else t=Ae.sessionInfo;_.session.sessionInfo.value=t,_.session.sessionInfo.value.autoTrack&&this.startOrRenewAutoTracking(_.session.sessionInfo.value)}setInitialReferrerInfo(){const t=this.getInitialReferrer(),n=this.getInitialReferringDomain();if(t&&n)this.setInitialReferrer(t),this.setInitialReferringDomain(n);else{const s=t||DE();this.setInitialReferrer(s),this.setInitialReferringDomain(PE(s))}}isPersistenceEnabledForStorageEntry(t){var n;return Xr((n=_.storage.entries.value[t])==null?void 0:n.type)}migrateDataFromPreviousStorage(){const t=_.storage.entries.value,n=[ct,tt,Kt];Object.keys(t).forEach(s=>{var a,c;const r=s,o=(a=t[r])==null?void 0:a.type,i=(c=this.storeManager)==null?void 0:c.getStore(ur[o]);
58i&&n.forEach(u=>{var f;const l=(f=this.storeManager)==null?void 0:f.getStore(ur[u]);if(l&&u!==o){const d=l.get(rr[r]);aN(d)&&i.set(rr[r],d),l.remove(rr[r])}})})}migrateStorageIfNeeded(t,n){if(!_.storage.migrate.value)return;let s=t??[];s.length===0&&[IE,RE,CE].forEach(i=>{var c;const a=(c=this.storeManager)==null?void 0:c.getStore(i);a&&s.push(a)}),(n??Object.keys(rr)).forEach(o=>{const i=rr[o];s.forEach(a=>{var u;const c=(u=this.pluginsManager)==null?void 0:u.invokeSingle("storage.migrate",i,a.engine,this.errorHandler,this.logger);Et(c)||a.set(i,c)})})}getConfiguredSessionTrackingInfo(){var o;let t=_.loadOptions.value.sessions.autoTrack!==!1;if(!t)return{autoTrack:t};let n;const s=(o=_.loadOptions.value.sessions)==null?void 0:o.timeout;Xi(s)?n=s:(this.logger.warn(UP(Ds,s,cl)),n=cl),n===0&&(this.logger.warn(VP(Ds)),t=!1),n>0&&n<Nh&&this.logger.warn(HP(Ds,n,Nh));const r=this.getCutOffInfo(n);return{timeout:n,autoTrack:t,cutOff:r}}getCutOffInfo(t){const n=_.loadOptions.value.sessions.cutOff;let s,r=!1;return n.enabled===!0&&(s=n.duration,r=!0,Xi(s)?s<t&&(this.logger.warn(BP(Ds,s,t)),r=!1):(this.logger.warn(FP(Ds,s,Lh)),s=Lh)),{enabled:r,duration:s}}onError(t,n,s){this.errorHandler.onError({error:t,context:Ds,customMessage:n,groupingHash:s})}getEncryptedCookieData(t,n){const s=[];return t.forEach(r=>{const o=n==null?void 0:n.encrypt(Rt(r.value,!1,[],this.logger));wr(o)&&s.push({name:r.name,value:o})}),s}makeRequestToSetCookie(t,n){var s,r,o,i,a,c,u,l;(l=this.httpClient)==null||l.getAsyncData({url:_.serverCookies.dataServiceUrl.value,options:{method:"POST",data:Rt({reqType:"setCookies",workspaceId:(s=_.source.value)==null?void 0:s.workspaceId,data:{options:{maxAge:(r=_.storage.cookie.value)==null?void 0:r.maxage,path:(o=_.storage.cookie.value)==null?void 0:o.path,domain:(i=_.storage.cookie.value)==null?void 0:i.domain,sameSite:(a=_.storage.cookie.value)==null?void 0:a.samesite,secure:(c=_.storage.cookie.value)==null?void 0:c.secure,expires:(u=_.storage.cookie.value)==null?void 0:u.expires},cookies:t}}),sendRawData:!0,withCredentials:!0},isRawResponse:!0,callback:n})}setServerSideCookies(t,n,s){try{const r=this.getEncryptedCookieData(t,s);r.length>0&&this.makeRequestToSetCookie(r,(o,i)=>{var a,c;((a=i==null?void 0:i.xhr)==null?void 0:a.status)===200?t.forEach(u=>{const l=s==null?void 0:s.get(u.name),f=Rt(u.value,!1,[]);Rt(l,!1,[])!==f&&(this.logger.error(NP(u.name)),n&&n(u.name,u.value))}):(this.logger.error(LP((c=i==null?void 0:i.xhr)==null?void 0:c.status)),t.forEach(u=>{n&&n(u.name,u.value)}))})}catch(r){this.onError(r,xh,xh),t.forEach(o=>{n&&n(o.name,o.value)})}}syncValueToStorage(t,n){var o,i,a;const s=_.storage.entries.value,r=(o=s[t])==null?void 0:o.type;if(Xr(r)){const c=(i=this.storeManager)==null?void 0:i.getStore(ur[r]),u=(a=s[t])==null?void 0:a.key;n&&(xe(n)||Tn(n))?_.serverCookies.isEnabledServerSideCookies.value&&r===ct?(this.serverSideCookieDebounceFuncs[t]&&globalThis.clearTimeout(this.serverSideCookieDebounceFuncs[t]),this.serverSideCookieDebounceFuncs[t]=globalThis.setTimeout(()=>{this.setServerSideCookies([{name:u,value:n}],(l,f)=>{c==null||c.set(l,f)},c)},hw)):c==null||c.set(u,n):c==null||c.remove(u)}}registerEffects(){OE.forEach(t=>{Sn(()=>{this.syncValueToStorage(t,_.session[t].value)})})}setAnonymousId(t,n){var r;let s=t;(!xe(t)||!s)&&(s=void 0),this.isPersistenceEnabledForStorageEntry("anonymousId")?(!s&&n&&(s=(r=this.pluginsManager)==null?void 0:r.invokeSingle("userSession.anonymousIdGoogleLinker",n)),s=s||Ll()):s=Ae.anonymousId,_.session.anonymousId.value=s}getAnonymousId(t){var s,r;const n=(s=_.storage.entries.value.anonymousId)==null?void 0:s.type;if(Xr(n)){let o=_.session.anonymousId.value;(!o||o===Ae.anonymousId)&&(o=this.getEntryValue("anonymousId")),!o&&t&&(o=(r=this.pluginsManager)==null?void 0:r.invokeSingle("storage.getAnonymousId",rn,t)),_.session.anonymousId.value=o||Ll()}return _.session.anonymousId.value}getEntryValue(t){var r,o,i;const n=_.storage.entries.value,s=(r=n[t])==null?void 0:r.type;if(Xr(s)){const a=(o=this.storeManager)==null?void 0:o.getStore(ur[s]);this.migrateStorageIfNeeded([a],[t]);const c=(i=n[t])==null?void 0:i.key;return(a==null?void 0:a.get(c))??null}return null}getExternalAnonymousIdByCookieName(t){const n=rn(ct);return n!=null&&n.isEnabled?n.getItem(t)??null:null}getUserId(){return this.getEntryValue("userId")}getUserTraits(){return this.getEntryValue("userTraits")}getGroupId(){return this.getEntryValue("groupId")}getGroupTraits(){return this.getEntryValue("groupTraits")}getInitialReferrer(){return this.getEntryValue("initialReferrer")}getInitialReferringDomain(){return this.getEntryValue("initialReferringDomain")}getSessionInfo(){return this.getEntryValue("sessionInfo")}getAuthToken(){return this.getEntryValue("authToken")}getSessionId(){const t=this.getSessionInfo()??Ae.sessionInfo;return t.autoTrack&&!Hp(t)||t.manualTrack?t.id??null:null}refreshSession(){let t=this.getSessionInfo()??Ae.sessionInfo;(t.autoTrack||t.manualTrack)&&(t.autoTrack&&(this.startOrRenewAutoTracking(t),t=_.session.sessionInfo.value),t.sessionStart===void 0?t={...t,sessionStart:!0}:t.sessionStart&&(t={...t,sessionStart:!1})),_.session.sessionInfo.value=t,_.lifecycle.status.value!=="readyExecuted"&&this.syncValueToStorage("sessionInfo",t)}reset(t,n){const{session:s}=_,{manualTrack:r,autoTrack:o,timeout:i,cutOff:a}=s.sessionInfo.value;Ct(()=>{if(s.userId.value=Ae.userId,s.userTraits.value=Ae.userTraits,s.groupId.value=Ae.groupId,s.groupTraits.value=Ae.groupTraits,s.authToken.value=Ae.authToken,t===!0&&this.setAnonymousId(),!n)if(o){const c={...Ae.sessionInfo,timeout:i};a&&(c.cutOff={enabled:a.enabled,duration:a.duration}),s.sessionInfo.value=c,this.startOrRenewAutoTracking(s.sessionInfo.value)}else r&&this.startManualTrackingInternal()})}setUserId(t){_.session.userId.value=this.isPersistenceEnabledForStorageEntry("userId")&&t?t:Ae.userId}setUserTraits(t){_.session.userTraits.value=this.isPersistenceEnabledForStorageEntry("userTraits")&&Ue(t)?Xe(_.session.userTraits.value??Ae.userTraits,t):Ae.userTraits}setGroupId(t){_.session.groupId.value=this.isPersistenceEnabledForStorageEntry("groupId")&&t?t:Ae.groupId}setGroupTraits(t){_.session.groupTraits.value=this.isPersistenceEnabledForStorageEntry("groupTraits")&&Ue(t)?Xe(_.session.groupTraits.value??Ae.groupTraits,t):Ae.groupTraits}setInitialReferrer(t){_.session.initialReferrer.value=this.isPersistenceEnabledForStorageEntry("initialReferrer")&&t?t:Ae.initialReferrer}setInitialReferringDomain(t){_.session.initialReferringDomain.value=this.isPersistenceEnabledForStorageEntry("initialReferringDomain")&&t?t:Ae.initialReferringDomain}startOrRenewAutoTracking(t){let n=t;if(Hp(t))n=CF(t);else{const s=Date.now(),r=t.timeout;n.expiresAt=s+r}if(xE(n)&&(n.cutOff.expiresAt=void 0),n.cutOff){const s=RF(n.cutOff);n.cutOff.expiresAt=s}_.session.sessionInfo.value=n}start(t){_.session.sessionInfo.value=OF(t,this.logger)}startManualTrackingInternal(){this.start(Date.now())}end(){_.session.sessionInfo.value=Ae.sessionInfo}setAuthToken(t){_.session.authToken.value=this.isPersistenceEnabledForStorageEntry("authToken")&&t?t:Ae.authToken}}const FF=["BeaconQueue","CustomConsentManager","DeviceModeDestinations","DeviceModeTransformation","ExternalAnonymousId","GoogleLinker","IubendaConsentManager","KetchConsentManager","NativeDestinationQueue","OneTrustConsentManager","StorageEncryption","StorageEncryptionLegacy","StorageMigrator","XhrQueue"],BF=(e,t)=>{var i;const n=fe(t);return xe(n.setCookieDomain)||(n.setCookieDomain=void 0),["Strict","Lax","None"].includes(n.sameSiteCookie)||(n.sameSiteCookie=void 0),n.secureCookie=gn(n.secureCookie,e.secureCookie),n.sameDomainCookiesOnly=gn(n.sameDomainCookiesOnly,e.sameDomainCookiesOnly),["none","default","full"].includes(n.uaChTrackLevel)||(n.uaChTrackLevel=void 0),n.integrations=wn(n.integrations),Array.isArray(n.plugins)||(n.plugins=FF),n.useGlobalIntegrationsConfigInEvents=gn(n.useGlobalIntegrationsConfigInEvents,e.useGlobalIntegrationsConfigInEvents),n.bufferDataPlaneEventsUntilReady=gn(n.bufferDataPlaneEventsUntilReady,e.bufferDataPlaneEventsUntilReady),n.sendAdblockPage=gn(n.sendAdblockPage,e.sendAdblockPage),n.use
58ServerSideCookies=gn(n.useServerSideCookies,e.useServerSideCookies),xe(n.dataServiceEndpoint)||(n.dataServiceEndpoint=void 0),n.sendAdblockPageOptions=wn(n.sendAdblockPageOptions),n.loadIntegration=gn(n.loadIntegration,e.loadIntegration),Tn(n.storage)?(n.storage.migrate=gn(n.storage.migrate,(i=e.storage)==null?void 0:i.migrate),n.storage.cookie=wn(n.storage.cookie),n.storage.encryption=wn(n.storage.encryption),n.storage=Ao(n.storage)):n.storage=void 0,n.destinationsQueueOptions=wn(n.destinationsQueueOptions),n.queueOptions=wn(n.queueOptions),n.lockIntegrationsVersion=gn(n.lockIntegrationsVersion,e.lockIntegrationsVersion),n.lockPluginsVersion=gn(n.lockPluginsVersion,e.lockPluginsVersion),ME(n.dataPlaneEventsBufferTimeout)||(n.dataPlaneEventsBufferTimeout=void 0),n.beaconQueueOptions=wn(n.beaconQueueOptions),n.preConsent=wn(n.preConsent),n.sourceConfigurationOverride=wn(n.sourceConfigurationOverride),Xe(e,Ao(n))},jp="dataplaneEventsQueue",Gp="destinationsEventsQueue",VF="transformEvent",HF=(e,t)=>Object.keys(e).filter(n=>e[n]!==!0||!t[n]).reduce((n,s)=>{const r=fe(n);return r[s]=e[s],r},{}),jF=(e,t)=>{const n=fe(e),s=t.nativeDestinations.integrationsConfig.value,r=HF(e.integrations,s);return n.integrations=Xe(s,r),n},GF=e=>{var t;return e.consents.preConsent.value.enabled&&((t=e.consents.preConsent.value.events)==null?void 0:t.delivery)==="buffer"},_i=(e,t,n,s)=>{if(de(e))if(J(e))try{e(...t)}catch(r){s.error(WP(n),r)}else s.error(Ky(n))};class KF{constructor(t,n,s,r,o){this.pluginsManager=t,this.errorHandler=r,this.httpClient=s,this.logger=o,this.storeManager=n}init(){this.dataplaneEventsQueue=this.pluginsManager.invokeSingle(`${jp}.init`,_,this.httpClient,this.storeManager,this.errorHandler,this.logger),this.dmtEventsQueue=this.pluginsManager.invokeSingle(`${VF}.init`,_,this.pluginsManager,this.httpClient,this.storeManager,this.errorHandler,this.logger),this.destinationsEventsQueue=this.pluginsManager.invokeSingle(`${Gp}.init`,_,this.pluginsManager,this.storeManager,this.dmtEventsQueue,this.errorHandler,this.logger),Sn(()=>{var s,r;_.nativeDestinations.clientDestinationsReady.value===!0&&((s=this.destinationsEventsQueue)==null||s.start(),(r=this.dmtEventsQueue)==null||r.start())});const t=GF(_);let n;Sn(()=>{var o,i;const s=_.loadOptions.value.bufferDataPlaneEventsUntilReady===!0&&_.nativeDestinations.clientDestinationsReady.value===!1;(_.nativeDestinations.activeDestinations.value.some(a=>tE(a))===!1||s===!1)&&!t&&((o=this.dataplaneEventsQueue)==null?void 0:o.scheduleTimeoutActive)!==!0&&(globalThis.clearTimeout(n),(i=this.dataplaneEventsQueue)==null||i.start())}),_.loadOptions.value.bufferDataPlaneEventsUntilReady===!0&&(n=globalThis.setTimeout(()=>{var s,r;((s=this.dataplaneEventsQueue)==null?void 0:s.scheduleTimeoutActive)!==!0&&((r=this.dataplaneEventsQueue)==null||r.start())},_.loadOptions.value.dataPlaneEventsBufferTimeout))}resume(){var t,n,s,r;((t=this.dataplaneEventsQueue)==null?void 0:t.scheduleTimeoutActive)!==!0&&(_.consents.postConsent.value.discardPreConsentEvents&&((n=this.dataplaneEventsQueue)==null||n.clear(),(s=this.destinationsEventsQueue)==null||s.clear()),(r=this.dataplaneEventsQueue)==null||r.start())}enqueue(t,n){const s=jF(t,_);this.pluginsManager.invokeSingle(`${jp}.enqueue`,_,this.dataplaneEventsQueue,s,this.errorHandler,this.logger);const r=fe(t);this.pluginsManager.invokeSingle(`${Gp}.enqueue`,_,this.destinationsEventsQueue,r,this.errorHandler,this.logger);const o=`${t.type.charAt(0).toUpperCase()}${t.type.slice(1)}${Nu}`;_i(n,[s],o,this.logger)}}const Kp=e=>{const t=new CustomEvent(e,{detail:{analyticsInstance:globalThis.rudderanalytics},bubbles:!0,cancelable:!0,composed:!0});globalThis.document.dispatchEvent(t)},WF=e=>xe(e)&&e.trim().length>0,YF=e=>Dr(e);class zF{constructor(){this.preloadBuffer=new tP,this.initialized=!1,this.errorHandler=eE,this.logger=Qn,this.externalSrcLoader=new xy(this.logger),this.httpClient=Jy,this.httpClient.init(this.errorHandler),this.capabilitiesManager=new vF(this.httpClient,this.errorHandler,this.logger)}load(t,n,s={}){if(!_.lifecycle.status.value){if(!WF(t)){this.logger.error(AP(Jo,t));return}if(!YF(n)){this.logger.error(TP(Jo,n));return}Ct(()=>{_.lifecycle.writeKey.value=fe(t),_.lifecycle.dataPlaneUrl.value=fe(n),_.loadOptions.value=BF(_.loadOptions.value,s),_.lifecycle.status.value="mounted"}),this.logger.setMinLogLevel(_.loadOptions.value.logLevel??jy),zi("state",_,t),this.startLifecycle()}}startLifecycle(){Sn(()=>{try{switch(_.lifecycle.status.value){case"mounted":this.onMounted();break;case"browserCapabilitiesReady":this.onBrowserCapabilitiesReady();break;case"configured":this.onConfigured();break;case"pluginsLoading":break;case"pluginsReady":this.onPluginsReady();break;case"initialized":this.onInitialized();break;case"loaded":this.onLoaded();break;
58case"destinationsLoading":break;case"destinationsReady":this.onDestinationsReady();break;case"ready":this.onReady();break;case"readyExecuted":default:break}}catch(t){const n="Failed to load the SDK";this.errorHandler.onError({error:t,context:Jo,customMessage:n,groupingHash:n})}})}onBrowserCapabilitiesReady(){WN(this),this.prepareInternalServices(),this.loadConfig()}onLoaded(){this.processBufferedEvents(),_.consents.preConsent.value.enabled===!0?_.lifecycle.status.value="ready":this.loadDestinations()}onMounted(){this.capabilitiesManager.init()}enqueuePreloadBufferEvents(t){Array.isArray(t)&&t.forEach(n=>this.preloadBuffer.enqueue(fe(n)))}processDataInPreloadBuffer(){for(;this.preloadBuffer.size()>0;){const t=this.preloadBuffer.dequeue();t&&YN([...t],this)}}prepareInternalServices(){this.pluginsManager=new lU(pD,this.errorHandler,this.logger),this.storeManager=new HU(this.pluginsManager,this.errorHandler,this.logger),this.configManager=new dF(this.httpClient,this.errorHandler,this.logger),this.userSessionManager=new UF(this.pluginsManager,this.storeManager,this.httpClient,this.errorHandler,this.logger),this.eventRepository=new KF(this.pluginsManager,this.storeManager,this.httpClient,this.errorHandler,this.logger),this.eventManager=new $F(this.eventRepository,this.userSessionManager,this.errorHandler,this.logger)}loadConfig(){var t;_.lifecycle.writeKey.value&&this.httpClient.setAuthHeader(_.lifecycle.writeKey.value),(t=this.configManager)==null||t.init()}onPluginsReady(){var t,n,s,r,o;(t=this.storeManager)==null||t.init(),(n=this.userSessionManager)==null||n.init(),_.consents.enabled.value&&!_.consents.initialized.value&&((s=this.pluginsManager)==null||s.invokeSingle("consentManager.init",_,this.logger),_.consents.preConsent.value.enabled===!1&&((r=this.pluginsManager)==null||r.invokeSingle("consentManager.updateConsentsInfo",_,this.storeManager,this.logger))),(o=this.eventManager)==null||o.init(),_.lifecycle.status.value="initialized"}onConfigured(){var t;(t=this.pluginsManager)==null||t.init()}onInitialized(){this.processDataInPreloadBuffer(),Ct(()=>{_.lifecycle.loaded.value=!0,_.lifecycle.status.value="loaded"}),this.initialized=!0;const t=_.loadOptions.value.onLoaded;_i(t,[globalThis.rudderanalytics],mN,this.logger),Kp("RSA_Initialised")}onReady(){_.lifecycle.status.value="readyExecuted",_.eventBuffer.readyCallbacksArray.value.forEach(t=>{_i(t,[],rc,this.logger)}),Kp("RSA_Ready")}processBufferedEvents(){let t=_.eventBuffer.toBeProcessedArray.value;for(;t.length>0;){const n=t.shift();if(_.eventBuffer.toBeProcessedArray.value=t,n){const s=n[0];J(this[s])&&this[s](...n.slice(1),!0)}t=_.eventBuffer.toBeProcessedArray.value}}loadDestinations(){var n,s;if(_.lifecycle.status.value==="destinationsLoading"||_.lifecycle.status.value==="destinationsReady")return;(n=this.pluginsManager)==null||n.invokeSingle("nativeDestinations.setActiveDestinations",_,this.pluginsManager,this.errorHandler,this.logger);const t=_.nativeDestinations.activeDestinations.value.length;if(t===0){_.lifecycle.status.value="destinationsReady";return}_.lifecycle.status.value="destinationsLoading",(s=this.pluginsManager)==null||s.invokeSingle("nativeDestinations.load",_,this.externalSrcLoader,this.errorHandler,this.logger),Sn(()=>{(t===0||_.nativeDestinations.initializedDestinations.value.length+_.nativeDestinations.failedDestinations.value.length===t)&&Ct(()=>{_.lifecycle.status.value="destinationsReady",_.nativeDestinations.clientDestinationsReady.value=!0})})}onDestinationsReady(){_.lifecycle.status.value!=="ready"&&(_.lifecycle.status.value="ready")}ready(t,n=!1){const s="ready";if(!_.lifecycle.loaded.value){_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,[s,t]];return}if(this.errorHandler.leaveBreadcrumb(`New ${s} invocation`),!J(t)){this.logger.error(Ky(rc));return}_.lifecycle.status.value==="readyExecuted"?_i(t,[],rc,this.logger):_.eventBuffer.readyCallbacksArray.value=[..._.eventBuffer.readyCallbacksArray.value,t]}page(t,n=!1){var r;const s="page";if(!_.lifecycle.loaded.value){_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,[s,t]];return}this.errorHandler.leaveBreadcrumb(`New ${s} event`),_.metrics.triggered.value+=1,(r=this.eventManager)==null||r.addEvent({type:"page",category:t.category,name:t.name,properties:t.properties,options:t.options,callback:t.callback}),_.capabilities.isAdBlocked.value===!0&&t.category!==Ih&&this.page(Wi(Ih,DN,{path:kN},_.loadOptions.value.sendAdblockPageOptions))}track(t,n=!1){var r;const s="track";if(!_.lifecycle.loaded.value){_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,[s,t]];return}this.errorHandler.leaveBreadcrumb(`New ${s} event - ${t.name}`),_.metrics.triggered.value+=1,(r=this.eventManager)==null||r.addEvent({type:s,name:t.name||void 0,properties:t.properties,options:t.options,callback:t.callback})}identify(t,n=!1){var o,i,a;const s="identify";if(!_.lifecycle.loaded.value){_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,[s,t]];return}this.errorHandler.leaveBreadcrumb(`New ${s} event`),_.metrics.triggered.value+=1,!!(t.userId&&_.session.userId.value&&t.userId!==_.session.userId.value)&&this.reset(),Xt(t.userId)||(o=this.userSessionManager)==null||o.setUserId(t.userId),(i=this.userSessionManager)==null||i.setUserTraits(t.traits),(a=this.eventManager)==null||a.addEvent({type:s,userId:t.userId,traits:t.traits,options:t.options,callback:t.callback})}alias(t,n=!1){var o,i;const s="alias";if(!_.lifecycle.loaded.value){_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,[s,t]];return}this.errorHandler.leaveBreadcrumb(`New ${s} event`),_.metrics.triggered.value+=1;const r=t.from??(this.getUserId()||((o=this.userSessionManager)==null?void 0:o.getAnonymousId()));(i=this.eventManager)==null||i.addEvent({type:s,to:t.to,from:r,options:t.options,callback:t.callback})}group(t,n=!1){var r,o,i;const s="group";if(!_.lifecycle.loaded.value){_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,[s,t]];return}this.errorHandler.leaveBreadcrumb(`New ${s} event`),_.metrics.triggered.value+=1,Xt(t.groupId)||(r=this.userSessionManager)==null||r.setGroupId(t.groupId),(o=this.userSessionManager)==null||o.setGroupTraits(t.traits),(i=this.eventManager)==null||i.addEvent({type:s,groupId:t.groupId,traits:t.traits,options:t.options,callback:t.callback})}reset(t,n=!1){var r;const s="reset";if(!_.lifecycle.loaded.value){_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,[s,t]];return}this.errorHandler.leaveBreadcrumb(`New ${s} invocation, resetAnonymousId: ${t}`),(r=this.userSessionManager)==null||r.reset(t)}getAnonymousId(t){var n;return(n=this.userSessionManager)==null?void 0:n.getAnonymousId(t)}setAnonymousId(t,n,s=!1){var o;const r="setAnonymousId";if(!_.lifecycle.loaded.value){_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,[r,t,n]];return}this.errorHandler.leaveBreadcrumb(`New ${r} invocation`),(o=this.userSessionManager)==null||o.setAnonymousId(t,n)}getUserId(){return _.session.userId.value}getUserTraits(){return _.session.userTraits.value}getGroupId(){return _.session.groupId.value}getGroupTraits(){return _.session.groupTraits.value}startSession(t,n=!1){var r;const s="startSession";if(!_.lifecycle.loaded.value){_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,[s,t]];return}this.errorHandler.leaveBreadcrumb(`New ${s} invocation`),(r=this.userSessionManager)==null||r.start(t)}endSession(t=!1){var s;const n="endSession";if(!_.lifecycle.loaded.value){_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,[n]];return}this.errorHandler.leaveBreadcrumb(`New ${n} invocation`),(s=this.userSessionManager)==null||s.end()}getSessionId(){var n;return((n=this.userSessionManager)==null?void 0:n.getSessionId())??null}consent(t,n=!1){var r,o,i,a;const s="consent";if(!_.lifecycle.loaded.value){_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,[s,t]];return}this.errorHandler.leaveBreadcrumb("New consent invocation"),Ct(()=>{_.consents.preConsent.value={..._.consents.preConsent.value,enabled:!1},_.consents.postConsent.value=ZU(t);const{initialized:c,consentsData:u}=wE(_.consents.postConsent.value.consentManagement,this.logger);_.consents.initialized.value=c,_.consents.data.value=u}),_.consents.enabled.value&&!_.consents.initialized.value&&((r=this.pluginsManager)==null||r.invokeSingle("consentManager.updateConsentsInfo",_,this.storeManager,this.logger)),(o=this.storeManager)==null||o.initializeStorageState(),(i=this.userSessionManager)==null||i.syncStorageDataToState(),(a=this.eventManager)==null||a.resume(),this.loadDestinations(),this.sendTrackingEvents(n)}sendTrackingEvents(t){if(_.consents.postConsent.value.trackConsent){const n=Lu(MN);t?_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,["track",n]]:this.track(n)}if(_.consents.postConsent.value.sendPageEvent){const n=Wi();t?_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,["page",n]]:this.page(n)}}setAuthToken(t){var n;(n=this.userSessionManager)==null||n.setAuthToken(t)}addCustomIntegration(t,n,s=!1){var o;const r="addCustomIntegration";if(s)this.errorHandler.leaveBreadcrumb(`New ${r} invocation`),(o=this.pluginsManager)==null||o.invokeSingle("nativeDestinations.addCustomIntegration",t,n,_,this.logger);else{if(_.lifecycle.loaded.value){this.logger.error(nw(Jo,t));return}_.eventBuffer.toBeProcessedArray.value=[..._.eventBuffer.toBeProcessedArray.value,[r,t,n]]}}}const Ms=class Ms{constructor(){Me(this,"analyticsInstances",{});Me(this,"defaultAnalyticsKey","");Me(this,"logger",Qn);try{if(Ms.globalSingleton)return Ms.globalSingleton;Ms.initializeGlobalResources(),this.setDefaultInstanceKey=this.setDefaultInstanceKey.bind(this),this.getAnalyticsInstance=this.getAnalyticsInstance.bind(this),this.load=this.load.bind(this),this.ready=this.ready.bind(this),this.triggerBufferedLoadEvent=this.triggerBufferedLoadEvent.bind(this),this.page=this.page.bind(this),this.track=this.track.bind(this),this.identify=this.identify.bind(this),this.alias=this.alias.bind(this),this.group=this.group.bind(this),this.reset=this.reset.bind(this),this.getAnonymousId=this.getAnonymousId.bind(this),this.setAnonymousId=this.setAnonymousId.bind(this),this.getUserId=this.getUserId.bind(this),this.getUserTraits=this.getUserTraits.bind(this),this.getGroupId=this.getGroupId.bind(this),this.getGroupTraits=this.getGroupTraits.bind(this),this.startSession=this.startSession.bind(this),this.endSession=this.endSession.bind(this),this.get
58SessionId=this.getSessionId.bind(this),this.setAuthToken=this.setAuthToken.bind(this),this.consent=this.consent.bind(this),this.addCustomIntegration=this.addCustomIntegration.bind(this),this.createSafeAnalyticsInstance(),Ms.globalSingleton=this,_.autoTrack.pageLifecycle.pageViewId.value=yn(),_.autoTrack.pageLifecycle.pageLoadedTimestamp.value=Date.now(),this.triggerBufferedLoadEvent(),globalThis.rudderanalytics=this}catch(t){Ge(t)}}createSafeAnalyticsInstance(){_.lifecycle.safeAnalyticsInstance.value={page:this.page.bind(this),track:this.track.bind(this),identify:this.identify.bind(this),alias:this.alias.bind(this),group:this.group.bind(this),getAnonymousId:this.getAnonymousId.bind(this),getUserId:this.getUserId.bind(this),getUserTraits:this.getUserTraits.bind(this),getGroupId:this.getGroupId.bind(this),getGroupTraits:this.getGroupTraits.bind(this),getSessionId:this.getSessionId.bind(this)}}static initializeGlobalResources(){eE.init(),Bu.configure(),Uu.configure(),Fu.configure(),qi.configure()}setDefaultInstanceKey(t){xe(t)&&t&&(this.defaultAnalyticsKey=t)}getAnalyticsInstance(t){try{let n=t;return(!xe(n)||!n)&&(n=this.defaultAnalyticsKey),!!this.analyticsInstances[n]||(this.analyticsInstances[n]=new zF),this.analyticsInstances[n]}catch(n){Ge(n);return}}load(t,n,s){var r;try{if(this.analyticsInstances[t])return;this.setDefaultInstanceKey(t),this.trackPageLifecycleEvents(s);const o=My(lo);KN(o),zi(lo,fe(o)),(r=this.getAnalyticsInstance(t))==null||r.load(t,n,ve(s))}catch(o){Ge(o)}}trackPageLifecycleEvents(t){const{autoTrack:n,useBeacon:s}=t??{},{enabled:r=!1,options:o={},pageLifecycle:i}=n??{},{events:a=[sc.UNLOADED],enabled:c=r,options:u=o}=i??{};_.autoTrack.pageLifecycle.enabled.value=c,_.autoTrack.enabled.value=r||c,c&&this.setupPageUnloadTracking(a,s,u)}setupPageUnloadTracking(t,n,s){(t.length===0||t.includes(sc.UNLOADED))&&(n===!0?Ly(r=>{if(r===!1&&_.lifecycle.loaded.value){const o=Date.now(),i=o-_.autoTrack.pageLifecycle.pageLoadedTimestamp.value;this.track(sc.UNLOADED,{timeOnPage:i},{...s,originalTimestamp:Ny(new Date(o))})}}):this.logger.warn(ew(yN)))}triggerBufferedLoadEvent(){const t=Array.isArray(globalThis.rudderanalytics)?globalThis.rudderanalytics:[],n=GN(t);zi(lo,fe([...t])),n.length>0&&(n.shift(),this.load.apply(null,n))}ready(t){var n;try{(n=this.getAnalyticsInstance())==null||n.ready(ve(t))}catch(s){Ge(s)}}page(t,n,s,r,o){var i;try{(i=this.getAnalyticsInstance())==null||i.page(Wi(ve(t),ve(n),ve(s),ve(r),ve(o)))}catch(a){Ge(a)}}track(t,n,s,r){var o;try{(o=this.getAnalyticsInstance())==null||o.track(Lu(ve(t),ve(n),ve(s),ve(r)))}catch(i){Ge(i)}}identify(t,n,s,r){var o;try{(o=this.getAnalyticsInstance())==null||o.identify(Iy(ve(t),ve(n),ve(s),ve(r)))}catch(i){Ge(i)}}alias(t,n,s,r){var o;try{(o=this.getAnalyticsInstance())==null||o.alias(Ry(ve(t),ve(n),ve(s),ve(r)))}catch(i){Ge(i)}}group(t,n,s,r){var o;try{(o=this.getAnalyticsInstance())==null||o.group(Cy(ve(t),ve(n),ve(s),ve(r)))}catch(i){Ge(i)}}reset(t){var n;try{(n=this.getAnalyticsInstance())==null||n.reset(ve(t))}catch(s){Ge(s)}}getAnonymousId(t){var n;try{return(n=this.getAnalyticsInstance())==null?void 0:n.getAnonymousId(ve(t))}catch(s){Ge(s);return}}setAnonymousId(t,n){var s;try{(s=this.getAnalyticsInstance())==null||s.setAnonymousId(ve(t),ve(n))}catch(r){Ge(r)}}getUserId(){var t;try{return(t=this.getAnalyticsInstance())==null?void 0:t.getUserId()}catch(n){Ge(n);return}}getUserTraits(){var t;try{return(t=this.getAnalyticsInstance())==null?void 0:t.getUserTraits()}catch(n){Ge(n);return}}getGroupId(){var t;try{return(t=this.getAnalyticsInstance())==null?void 0:t.getGroupId()}catch(n){Ge(n);return}}getGroupTraits(){var t;try{return(t=this.getAnalyticsInstance())==null?void 0:t.getGroupTraits()}catch(n){Ge(n);return}}startSession(t){var n;try{(n=this.getAnalyticsInstance())==null||n.startSession(ve(t))}catch(s){Ge(s)}}endSession(){var t;try{(t=this.getAnalyticsInstance())==null||t.endSession()}catch(n){Ge(n)}}getSessionId(){var t;try{return(t=this.getAnalyticsInstance())==null?void 0:t.getSessionId()}catch(n){Ge(n);return}}setAuthToken(t){var n;try{(n=this.getAnalyticsInstance())==null||n.setAuthToken(ve(t))}catch(s){Ge(s)}}consent(t){var n;try{(n=this.getAnalyticsInstance())==null||n.consent(ve(t))}catch(s){Ge(s)}}addCustomIntegration(t,n){var s;try{(s=this.getAnalyticsInstance())==null||s.addCustomIntegration(ve(t),ve(n))}catch(r){Ge(r)}}};Me(Ms,"globalSingleton",null);let Nl=Ms;function QF(e){if(!e)throw new Error("analyticsUri must be a non-empty string");const t="WRITE_KEY",n="WORKSPACE_ID",s=new Nl;return s.load(t,`${e}`,{integrations:{All:!1}
58,polyfillIfRequired:!1,getSourceConfig:()=>({updatedAt:new Date().toISOString(),source:{name:"dap_proxy",id:"dap_proxy",workspaceId:n,writeKey:t,updatedAt:new Date().toISOString(),config:{statsCollection:{errors:{enabled:!1},metrics:{enabled:!1}}},enabled:!0,destinations:[]}}),queueOptions:{batch:{enabled:!0,maxItems:5,flushInterval:1e3}}}),s}let si=null;function qF(e){return si||(si=QF(e),si)}const XF=ot({name:"setup-analytics:plugin:client",parallel:!0,setup(){const e=it(),{selfUri:t}=e.public;if(!t){console.error("cannot set up analytics client: analytics proxy uri is not defined");return}return{provide:{analytics:qF(`${t}/api/analytics`)}}}}),JF=()=>{const e=()=>!!M_().isLoggedIn,t=async o=>{const a=new TextEncoder().encode(o),c=await crypto.subtle.digest("SHA-256",a);return Array.from(new Uint8Array(c)).map(l=>l.toString(16).padStart(2,"0")).join("")};return{sendPageEvent:()=>{if(!e()){console.log("do not track page view for anonymous user");return}const{$analytics:o}=be();o.page("PageVisited",{})},sendTrackEvent:o=>{if(!e()){console.log("do not track event for anonymous user");return}const{$analytics:i}=be();i.track(o)},sendIdentifyEvent:async o=>{const{$analytics:i}=be();i.identify(await t(o))}}},ZF=ot({name:"setup-analytics:plugin:client",dependsOn:["setup-analytics:plugin:client"],parallel:!0,setup:()=>{},hooks:{"page:finish"(){const{sendPageEvent:e}=JF();e()}}}),eB=ot(()=>({provide:{truncate:function(e,t){return e!=null?e.length<=t?e:e.toString().slice(0,t)+"...":""}}})),tB=[dI,pI,KR,WR,YR,zR,qR,s0,Y0,z0,UL,jL,WL,YL,zL,XF,ZF,eB],nB=dn({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,s={};for(const r in e.route)Object.defineProperty(s,r,{get:()=>t===e.renderKey?e.route[r]:n[r],enumerable:!0});return Fs(wo,Vn(s)),()=>yt(e.vnode,{ref:e.vnodeRef})}}),sB=dn({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:s}){const r=be(),o=lt(),i=ut(wo,null);let a;s({pageRef:o});const c=ut(qm,null);let u;const l=r.deferHydration();if(r.isHydrating){const f=r.hooks.hookOnce("app:error",l);Nt().beforeEach(f)}return e.pageKey&&Ot(()=>e.pageKey,(f,d)=>{f!==d&&r.callHook("page:loading:start")}),()=>yt(L_,{name:e.name,route:e.route,...t},{default:f=>{const d=oB(i,f.route,f.Component),h=i&&i.matched.length===f.route.matched.length;if(!f.Component){if(u&&!h)return u;l();return}if(u&&c&&!c.isCurrent(f.route))return u;if(d&&i&&(!c||c!=null&&c.isCurrent(i)))return h?u:null;const g=zc(f,e.pageKey);!r.isHydrating&&!iB(i,f.route,f.Component)&&a===g&&r.callHook("page:loading:end"),a=g;const m=!!(e.transition??f.route.meta.pageTransition??Dc),A=m&&rB([e.transition,f.route.meta.pageTransition,Dc,{onAfterLeave:()=>{r.callHook("page:transition:finish",f.Component)}}].filter(Boolean)),C=e.keepalive??f.route.meta.keepalive??AT;return u=N_(Am,m&&A,bR(C,yt(nu,{suspensible:!0,onPending:()=>r.callHook("page:start",f.Component),onResolve:()=>{vs(()=>r.callHook("page:finish",f.Component).then(()=>r.callHook("page:loading:end")).finally(l))}},{default:()=>{const O=yt(nB,{key:g||void 0,vnode:n.default?yt(Je,void 0,n.default(f)):f.Component,route:f.route,renderKey:g||void 0,trackRootNodes:m,vnodeRef:o});return C&&(O.type.name=f.Component.type.name||f.Component.type.__name||"RouteProvider"),O}}))).default(),u}})}});function rB(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?du(n.onAfterLeave):void 0}));return zm(...t)}function oB(e,t,n){if(!e)return!1;const s=t.matched.findIndex(r=>{var o;return((o=r.components)==null?void 0:o.default)===(n==null?void 0:n.type)});return!s||s===-1?!1:t.matched.slice(0,s).some((r,o)=>{var i,a,c;return((i=r.components)==null?void 0:i.default)!==((c=(a=e.matched[o])==null?void 0:a.components)==null?void 0:c.default)})||n&&zc({route:t,Component:n})!==zc({route:e,Component:n})}function iB(e,t,n){return e?t.matched.findIndex(r=>{var o;return((o=r.components)==null?void 0:o.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}const aB=dn({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await cs[e.name]().then(s=>s.default||s);return()=>yt(n,e.layoutProps,t.slots)}}),cB=dn({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=be(),s=ut(wo),r=s===$r()?mR():s,o=we(()=>{let c=he(e.name)??r.meta.layout??"default";return c&&!(c in cs)&&e.fallback&&(c=he(e.fallback)),c}),i=lt();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",a);Nt().beforeEach(c)}return()=>{const c=o.value&&o.value in cs,u=r.meta.layoutTransition??bT;return N_(Am,c&&u,{default:()=>yt(nu,{suspensible:!0,onResolve:()=>{vs(a)}},{default:()=>yt(lB,{layoutProps:gm(t.attrs,{ref:i}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),lB=dn({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&&Fs(qm,{isCurrent:s=>n===(s.meta.layout??"default")}),()=>{var s,r;return!n||typeof n=="string"&&!(n in cs)?(r=(s=t.slots).default)==null?void 0:r.call(s):yt(aB,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),uB=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},fB={};function dB(e,t){const n=sB,s=cB;return jt(),um("div",null,[De(s,null,{default:Kl(()=>[De(n)]),_:1})])}const hB=uB(fB,[["render",dB]]),pB={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
59`).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(`
60`);const s=Number(n.statusCode||500),r=s===404,o=n.statusMessage??(r?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,l=r?le(()=>G(()=>import("./BDB6KvSb.js"),__vite__mapDeps([117,1,7,118]),import.meta.url)):le(()=>G(()=>import("./DRTkNwVQ.js"),__vite__mapDeps([119,7,120]),import.meta.url));return(f,d)=>(jt(),Bn(he(l),QE(hm({statusCode:he(s),statusMessage:he(o),description:he(i),stack:he(a)})),null,16))}},gB={key:0},Wp={__name:"nuxt-root",setup(e){const t=()=>null,n=be(),s=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",s);Nt().beforeEach(c)}const r=!1;Fs(wo,$r()),n.hooks.callHookWith(c=>c.map(u=>u()),"vue:setup");const o=ua(),i=!1;Ug((c,u,l)=>{if(n.hooks.callHook("vue:error",c,u,l).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),fS(c)&&(c.fatal||c.unhandled))return n.runWithContext(()=>ar(c)),!1});const a=!1;return(c,u)=>
60(jt(),Bn(nu,{onResolve:he(s)},{default:Kl(()=>[he(i)?(jt(),um("div",gB)):he(o)?(jt(),Bn(he(pB),{key:1,error:he(o)},null,8,["error"])):he(a)?(jt(),Bn(he(t),{key:2,context:he(a)},null,8,["context"])):he(r)?(jt(),Bn(Qv(he(r)),{key:3})):(jt(),Bn(he(hB),{key:4}))]),_:1},8,["onResolve"]))}};let Yp;{let e;Yp=async function(){var i,a;if(e)return e;const s=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?mA(Wp):gA(Wp),r=CT({vueApp:s});async function o(c){await r.callHook("app:error",c),r.payload.error=r.payload.error||fa(c)}s.config.errorHandler=o,r.hook("app:suspense:resolve",()=>{s.config.errorHandler===o&&(s.config.errorHandler=void 0)});try{await NT(r,tB)}catch(c){o(c)}try{await r.hooks.callHook("app:created",s),await r.hooks.callHook("app:beforeMount",s),s.mount(ST),await r.hooks.callHook("app:mounted",s),await vs()}catch(c){o(c)}return s},e=Yp().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{vB as $,BB as A,ia as B,ql as C,we as D,Bn as E,Je as F,ta as G,TB as H,iu as I,PB as J,OB as K,be as L,Fs as M,UR as N,Qv as O,Gv as P,Ql as Q,Ug as R,vs as S,Am as T,IB as U,ut as V,hu as W,Nd as X,VB as Y,yt as Z,uB as _,dm as a,wm as a0,DB as a1,Rn as a2,lS as a3,xr as a4,wi as a5,la as a6,FB as a7,Hv as a8,Vv as a9,LB as aA,Hc as aa,zn as ab,JR as ac,o_ as ad,kB as ae,vr as af,jl as ag,yi as ah,fa as ai,Lo as aj,_B as ak,UB as al,In as am,MB as an,EB as ao,Kn as ap,$L as aq,wB as ar,pu as as,zl as at,$_ as au,ym as av,QE as aw,hm as ax,AB as ay,gm as az,De as b,um as c,pm as d,dn as e,HB as f,$r as g,M_ as h,SB as i,he as j,CB as k,RB as l,it as m,na as n,jt as o,x_ as p,Nt as q,bB as r,lt as s,JE as t,Iu as u,Ot as v,Kl as w,yB as x,NB as y,Ne 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.