const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DOt9Aia3.js","./DHTP5qf1.js","./AppFaq.ov0XsySc.css","./g977A4pU.js","./AppLandingSection.B3lTNz37.css","./CNNAIQG5.js","./TappInput.B_Hl5dYZ.css","./nX3mou_6.js","./DKdeDjTj.js","./TappAlert.Bj4hkwIr.css","./DzQpl8X5.js","./CIhOBNgz.js","./index.6AE4dihy.css","./B4awzICE.js","./Da0QFmFQ.js","./--hIHTiV.js","./BaseUspListDamWrapper.Q7SJUWkN.css","./BaseGrid.BHrvbjpm.css","./DVVCKAPk.js","./AppBlock.DJjkWZgv.css","./DTSZpH_S.js","./B4AKFSao.js","./xJ4rhpuX.js","./BaseCover.QFkKP4Y3.css","./BPCHX9NR.js","./AppList.lwjdAf0s.css","./CNYPRB9m.js","./PJjsBBZi.js","./TappLabel.Dy8eaFUL.css","./CLwM1Kdt.js","./BasePrice.CJ9cZNTX.css","./Bm1wYVey.js","./D1tLgJUI.js","./AppPhoneBlock.BeVLHVl2.css","./sBF0S5r-.js","./AppArrowLink.gC7rztZa.css","./D5KZ4Jdx.js","./abonnee.CPzDBa3J.css","./O71wpIXD.js","./bedankt.Cg_hdISK.css","./B7MovGLC.js","./uMHWiAC9.js","./AppStepper.DnjlvpP6.css","./CC7-I6xu.js","./TappLink.Z-ercpi1.css","./dtxpbaHl.js","./DErxYBmp.js","./AppSubscriptionOverview.ttHuNSCj.css","./ScesHmxb.js","./korting.BzY3e013.css","./CzxFxsGZ.js","./DtJBsHSH.js","./BHJZcbOP.js","./TappRadio.D2AZFs0k.css","./BYuwY97Y.js","./leesvorm.W34rVo8V.css","./BJLrHuXg.js","./CFL45Wpz.js","./BaseHeading.CP0nMWBh.css","./voltooien.CQOBPwTI.css","./ofC5FHIg.js","./CKCyiR1h.js","./TappSelectbox.Bt7oZIPR.css","./su1LZEJ2.js","./AppHighlightUsp.CgHe5YpF.css","./andere-titel.BWg120fe.css","./Cww82sWm.js","./DOpTMHZa.js","./BMSzGpPG.js","./TappOrderForm.CsWdj8pr.css","./useModificationGuard.B9IWtGhw.css","./periode.D2N-G1KV.css","./ClldyUkP.js","./controle.Ww6O9bjI.css","./C2ynER1Q.js","./Czqcavt0.js","./_...DSTdw42u.css","./BqKkjd4G.js","./BlokAccessibilityPolicyDocument.BLwiBcqk.css","./BgrVOINr.js","./RetLoginHeroBlok.Dsjx74dI.css","./DaxfPXDc.js","./BlkYXpka.js","./branded.Cj4TUmaf.css","./Bs4U0cqR.js","./error-layout.gJApNpy1.css","./Ciuk2Iyk.js","./InspectorContainer.gek2nMOS.css"])))=>i.map(i=>d[i]); var wT=Object.defineProperty;var Yh=e=>{throw TypeError(e)};var ST=(e,t,n)=>t in e?wT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Vn=(e,t,n)=>ST(e,typeof t!="symbol"?t+"":t,n),AT=(e,t,n)=>t.has(e)||Yh("Cannot "+n);var Vs=(e,t,n)=>(AT(e,t,"read from private field"),n?n.call(e):t.get(e)),Xh=(e,t,n)=>t.has(e)?Yh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/** * @vue/shared v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function ac(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const st={},ts=[],cr=()=>{},RT=()=>!1,$a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Tp=e=>e.startsWith("onUpdate:"),Nt=Object.assign,wp=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},IT=Object.prototype.hasOwnProperty,yt=(e,t)=>IT.call(e,t),Se=Array.isArray,ns=e=>Rs(e)==="[object Map]",xi=e=>Rs(e)==="[object Set]",Jh=e=>Rs(e)==="[object Date]",OT=e=>Rs(e)==="[object RegExp]",$e=e=>typeof e=="function",Pt=e=>typeof e=="string",wr=e=>typeof e=="symbol",Ot=e=>e!==null&&typeof e=="object",lc=e=>(Ot(e)||$e(e))&&$e(e.then)&&$e(e.catch),sv=Object.prototype.toString,Rs=e=>sv.call(e),xT=e=>Rs(e).slice(8,-1),Ba=e=>Rs(e)==="[object Object]",Sp=e=>Pt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rs=ac(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),uc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},CT=/-(\w)/g,an=uc(e=>e.replace(CT,(t,n)=>n?n.toUpperCase():"")),NT=/\B([A-Z])/g,Kn=uc(e=>e.replace(NT,"-$1").toLowerCase()),Ha=uc(e=>e.charAt(0).toUpperCase()+e.slice(1)),os=uc(e=>e?`on${Ha(e)}`:""),kn=(e,t)=>!Object.is(e,t),is=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},bu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Eu=e=>{const t=Pt(e)?Number(e):NaN;return isNaN(t)?e:t};let Qh;const cc=()=>Qh||(Qh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),LT="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",kT=ac(LT);function Xo(e){if(Se(e)){const t={};for(let n=0;n{if(n){const r=n.split(DT);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Xn(e){let t="";if(Pt(e))t=e;else if(Se(e))for(let n=0;nWo(n,t))}const lv=e=>!!(e&&e.__v_isRef===!0),rr=e=>Pt(e)?e:e==null?"":Se(e)||Ot(e)&&(e.toString===sv||!$e(e.toString))?lv(e)?rr(e.value):JSON.stringify(e,uv,2):String(e),uv=(e,t)=>lv(t)?uv(e,t.value):ns(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[Yc(r,i)+" =>"]=o,n),{})}:xi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Yc(n))}:wr(t)?Yc(t):Ot(t)&&!Se(t)&&!Ba(t)?String(t):t,Yc=(e,t="")=>{var n;return wr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let yn;class Ap{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=yn,!t&&yn&&(this.index=(yn.scopes||(yn.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;t0&&--this._on===0&&(yn=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(oa){let t=oa;for(oa=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ra;){let t=ra;for(ra=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function dv(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function pv(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Op(r),$T(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function ed(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(hv(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function hv(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ma)||(e.globalVersion=ma,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ed(e))))return;e.flags|=2;const t=e.dep,n=Lt,r=Tr;Lt=e,Tr=!0;try{dv(e);const o=e.fn(e._value);(t.version===0||kn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Lt=n,Tr=r,pv(e),e.flags&=-3}}function Op(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Op(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function $T(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function BT(e,t){e.effect instanceof ga&&(e=e.effect.fn);const n=new ga(e);t&&Nt(n,t);try{n.run()}catch(o){throw n.stop(),o}const r=n.run.bind(n);return r.effect=n,r}function HT(e){e.effect.stop()}let Tr=!0;const gv=[];function yo(){gv.push(Tr),Tr=!1}function _o(){const e=gv.pop();Tr=e===void 0?!0:e}function Zh(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Lt;Lt=void 0;try{t()}finally{Lt=n}}}let ma=0;class zT{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 dc{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Lt||!Tr||Lt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Lt)n=this.activeLink=new zT(Lt,this),Lt.deps?(n.prevDep=Lt.depsTail,Lt.depsTail.nextDep=n,Lt.depsTail=n):Lt.deps=Lt.depsTail=n,mv(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Lt.depsTail,n.nextDep=void 0,Lt.depsTail.nextDep=n,Lt.depsTail=n,Lt.deps===n&&(Lt.deps=r)}return n}trigger(t){this.version++,ma++,this.notify(t)}notify(t){Rp();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ip()}}}function mv(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)mv(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Tu=new WeakMap,_i=Symbol(""),td=Symbol(""),ya=Symbol("");function vn(e,t,n){if(Tr&&Lt){let r=Tu.get(e);r||Tu.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new dc),o.map=r,o.key=n),o.track()}}function lo(e,t,n,r,o,i){const s=Tu.get(e);if(!s){ma++;return}const a=l=>{l&&l.trigger()};if(Rp(),t==="clear")s.forEach(a);else{const l=Se(e),u=l&&Sp(n);if(l&&n==="length"){const c=Number(r);s.forEach((f,d)=>{(d==="length"||d===ya||!wr(d)&&d>=c)&&a(f)})}else switch((n!==void 0||s.has(void 0))&&a(s.get(n)),u&&a(s.get(ya)),t){case"add":l?u&&a(s.get("length")):(a(s.get(_i)),ns(e)&&a(s.get(td)));break;case"delete":l||(a(s.get(_i)),ns(e)&&a(s.get(td)));break;case"set":ns(e)&&a(s.get(_i));break}}Ip()}function GT(e,t){const n=Tu.get(e);return n&&n.get(t)}function ji(e){const t=at(e);return t===e?t:(vn(t,"iterate",ya),tr(e)?t:t.map(pn))}function pc(e){return vn(e=at(e),"iterate",ya),e}const KT={__proto__:null,[Symbol.iterator](){return Jc(this,Symbol.iterator,pn)},concat(...e){return ji(this).concat(...e.map(t=>Se(t)?ji(t):t))},entries(){return Jc(this,"entries",e=>(e[1]=pn(e[1]),e))},every(e,t){return no(this,"every",e,t,void 0,arguments)},filter(e,t){return no(this,"filter",e,t,n=>n.map(pn),arguments)},find(e,t){return no(this,"find",e,t,pn,arguments)},findIndex(e,t){return no(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return no(this,"findLast",e,t,pn,arguments)},findLastIndex(e,t){return no(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return no(this,"forEach",e,t,void 0,arguments)},includes(...e){return Qc(this,"includes",e)},indexOf(...e){return Qc(this,"indexOf",e)},join(e){return ji(this).join(e)},lastIndexOf(...e){return Qc(this,"lastIndexOf",e)},map(e,t){return no(this,"map",e,t,void 0,arguments)},pop(){return $s(this,"pop")},push(...e){return $s(this,"push",e)},reduce(e,...t){return eg(this,"reduce",e,t)},reduceRight(e,...t){return eg(this,"reduceRight",e,t)},shift(){return $s(this,"shift")},some(e,t){return no(this,"some",e,t,void 0,arguments)},splice(...e){return $s(this,"splice",e)},toReversed(){return ji(this).toReversed()},toSorted(e){return ji(this).toSorted(e)},toSpliced(...e){return ji(this).toSpliced(...e)},unshift(...e){return $s(this,"unshift",e)},values(){return Jc(this,"values",pn)}};function Jc(e,t,n){const r=pc(e),o=r[t]();return r!==e&&!tr(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const qT=Array.prototype;function no(e,t,n,r,o,i){const s=pc(e),a=s!==e&&!tr(e),l=s[t];if(l!==qT[t]){const f=l.apply(e,i);return a?pn(f):f}let u=n;s!==e&&(a?u=function(f,d){return n.call(this,pn(f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(s,u,r);return a&&o?o(c):c}function eg(e,t,n,r){const o=pc(e);let i=n;return o!==e&&(tr(e)?n.length>3&&(i=function(s,a,l){return n.call(this,s,a,l,e)}):i=function(s,a,l){return n.call(this,s,pn(a),l,e)}),o[t](i,...r)}function Qc(e,t,n){const r=at(e);vn(r,"iterate",ya);const o=r[t](...n);return(o===-1||o===!1)&&mc(n[0])?(n[0]=at(n[0]),r[t](...n)):o}function $s(e,t,n=[]){yo(),Rp();const r=at(e)[t].apply(e,n);return Ip(),_o(),r}const WT=ac("__proto__,__v_isRef,__isVue"),yv=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(wr));function YT(e){wr(e)||(e=String(e));const t=at(this);return vn(t,"has",e),t.hasOwnProperty(e)}class _v{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Sv:wv:i?Tv:Ev).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=Se(t);if(!o){let l;if(s&&(l=KT[n]))return l;if(n==="hasOwnProperty")return YT}const a=Reflect.get(t,n,It(t)?t:r);return(wr(n)?yv.has(n):WT(n))||(o||vn(t,"get",n),i)?a:It(a)?s&&Sp(n)?a:a.value:Ot(a)?o?za(a):Sn(a):a}}class vv extends _v{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const l=Xr(i);if(!tr(r)&&!Xr(r)&&(i=at(i),r=at(r)),!Se(t)&&It(i)&&!It(r))return l?!1:(i.value=r,!0)}const s=Se(t)&&Sp(n)?Number(n)e,Tl=e=>Reflect.getPrototypeOf(e);function ew(e,t,n){return function(...r){const o=this.__v_raw,i=at(o),s=ns(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=o[e](...r),c=n?nd:t?wu:pn;return!t&&vn(i,"iterate",l?td:_i),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function wl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tw(e,t){const n={get(o){const i=this.__v_raw,s=at(i),a=at(o);e||(kn(o,a)&&vn(s,"get",o),vn(s,"get",a));const{has:l}=Tl(s),u=t?nd:e?wu:pn;if(l.call(s,o))return u(i.get(o));if(l.call(s,a))return u(i.get(a));i!==s&&i.get(o)},get size(){const o=this.__v_raw;return!e&&vn(at(o),"iterate",_i),Reflect.get(o,"size",o)},has(o){const i=this.__v_raw,s=at(i),a=at(o);return e||(kn(o,a)&&vn(s,"has",o),vn(s,"has",a)),o===a?i.has(o):i.has(o)||i.has(a)},forEach(o,i){const s=this,a=s.__v_raw,l=at(a),u=t?nd:e?wu:pn;return!e&&vn(l,"iterate",_i),a.forEach((c,f)=>o.call(i,u(c),u(f),s))}};return Nt(n,e?{add:wl("add"),set:wl("set"),delete:wl("delete"),clear:wl("clear")}:{add(o){!t&&!tr(o)&&!Xr(o)&&(o=at(o));const i=at(this);return Tl(i).has.call(i,o)||(i.add(o),lo(i,"add",o,o)),this},set(o,i){!t&&!tr(i)&&!Xr(i)&&(i=at(i));const s=at(this),{has:a,get:l}=Tl(s);let u=a.call(s,o);u||(o=at(o),u=a.call(s,o));const c=l.call(s,o);return s.set(o,i),u?kn(i,c)&&lo(s,"set",o,i):lo(s,"add",o,i),this},delete(o){const i=at(this),{has:s,get:a}=Tl(i);let l=s.call(i,o);l||(o=at(o),l=s.call(i,o)),a&&a.call(i,o);const u=i.delete(o);return l&&lo(i,"delete",o,void 0),u},clear(){const o=at(this),i=o.size!==0,s=o.clear();return i&&lo(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=ew(o,e,t)}),n}function hc(e,t){const n=tw(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(yt(n,o)&&o in r?n:r,o,i)}const nw={get:hc(!1,!1)},rw={get:hc(!1,!0)},ow={get:hc(!0,!1)},iw={get:hc(!0,!0)},Ev=new WeakMap,Tv=new WeakMap,wv=new WeakMap,Sv=new WeakMap;function sw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function aw(e){return e.__v_skip||!Object.isExtensible(e)?0:sw(xT(e))}function Sn(e){return Xr(e)?e:gc(e,!1,XT,nw,Ev)}function Er(e){return gc(e,!1,QT,rw,Tv)}function za(e){return gc(e,!0,JT,ow,wv)}function lw(e){return gc(e,!0,ZT,iw,Sv)}function gc(e,t,n,r,o){if(!Ot(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=aw(e);if(i===0)return e;const s=o.get(e);if(s)return s;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function $o(e){return Xr(e)?$o(e.__v_raw):!!(e&&e.__v_isReactive)}function Xr(e){return!!(e&&e.__v_isReadonly)}function tr(e){return!!(e&&e.__v_isShallow)}function mc(e){return e?!!e.__v_raw:!1}function at(e){const t=e&&e.__v_raw;return t?at(t):e}function Av(e){return!yt(e,"__v_skip")&&Object.isExtensible(e)&&Zf(e,"__v_skip",!0),e}const pn=e=>Ot(e)?Sn(e):e,wu=e=>Ot(e)?za(e):e;function It(e){return e?e.__v_isRef===!0:!1}function Fe(e){return Rv(e,!1)}function An(e){return Rv(e,!0)}function Rv(e,t){return It(e)?e:new uw(e,t)}class uw{constructor(t,n){this.dep=new dc,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:at(t),this._value=n?t:pn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||tr(t)||Xr(t);t=r?t:at(t),kn(t,n)&&(this._rawValue=t,this._value=r?t:pn(t),this.dep.trigger())}}function cw(e){e.dep&&e.dep.trigger()}function W(e){return It(e)?e.value:e}function gt(e){return $e(e)?e():W(e)}const fw={get:(e,t,n)=>t==="__v_raw"?e:W(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return It(o)&&!It(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function xp(e){return $o(e)?e:new Proxy(e,fw)}class dw{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new dc,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Ga(e){return new dw(e)}function _a(e){const t=Se(e)?new Array(e.length):{};for(const n in e)t[n]=Iv(e,n);return t}class pw{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return GT(at(this._object),this._key)}}class hw{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 Ka(e,t,n){return It(e)?e:$e(e)?new hw(e):Ot(e)&&arguments.length>1?Iv(e,t,n):Fe(e)}function Iv(e,t,n){const r=e[t];return It(r)?r:new pw(e,t,n)}class gw{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new dc(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ma-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Lt!==this)return fv(this,!0),!0}get value(){const t=this.dep.track();return hv(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function mw(e,t,n=!1){let r,o;return $e(e)?r=e:(r=e.get,o=e.set),new gw(r,o,n)}const yw={GET:"get",HAS:"has",ITERATE:"iterate"},_w={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Sl={},Su=new WeakMap;let No;function vw(){return No}function Ov(e,t=!1,n=No){if(n){let r=Su.get(n);r||Su.set(n,r=[]),r.push(e)}}function bw(e,t,n=st){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:a,call:l}=n,u=v=>o?v:tr(v)||o===!1||o===0?uo(v,1):uo(v);let c,f,d,p,g=!1,h=!1;if(It(e)?(f=()=>e.value,g=tr(e)):$o(e)?(f=()=>u(e),g=!0):Se(e)?(h=!0,g=e.some(v=>$o(v)||tr(v)),f=()=>e.map(v=>{if(It(v))return v.value;if($o(v))return u(v);if($e(v))return l?l(v,2):v()})):$e(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){yo();try{d()}finally{_o()}}const v=No;No=c;try{return l?l(e,3,[p]):e(p)}finally{No=v}}:f=cr,t&&o){const v=f,T=o===!0?1/0:o;f=()=>uo(v(),T)}const _=To(),m=()=>{c.stop(),_&&_.active&&wp(_.effects,c)};if(i&&t){const v=t;t=(...T)=>{v(...T),m()}}let E=h?new Array(e.length).fill(Sl):Sl;const y=v=>{if(!(!(c.flags&1)||!c.dirty&&!v))if(t){const T=c.run();if(o||g||(h?T.some((S,I)=>kn(S,E[I])):kn(T,E))){d&&d();const S=No;No=c;try{const I=[T,E===Sl?void 0:h&&E[0]===Sl?[]:E,p];E=T,l?l(t,3,I):t(...I)}finally{No=S}}}else c.run()};return a&&a(y),c=new ga(f),c.scheduler=s?()=>s(y,!1):y,p=v=>Ov(v,!1,c),d=c.onStop=()=>{const v=Su.get(c);if(v){if(l)l(v,4);else for(const T of v)T();Su.delete(c)}},t?r?y(!0):E=c.run():s?s(y.bind(null,!0),!0):c.run(),m.pause=c.pause.bind(c),m.resume=c.resume.bind(c),m.stop=m,m}function uo(e,t=1/0,n){if(t<=0||!Ot(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,It(e))uo(e.value,t,n);else if(Se(e))for(let r=0;r{uo(r,t,n)});else if(Ba(e)){for(const r in e)uo(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&uo(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const xv=[];function Ew(e){xv.push(e)}function Tw(){xv.pop()}function ww(e,t){}const Sw={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},Aw={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Os(e,t,n,r){try{return r?e(...r):e()}catch(o){Ci(o,t,n)}}function pr(e,t,n,r){if($e(e)){const o=Os(e,t,n,r);return o&&lc(o)&&o.catch(i=>{Ci(i,t,n)}),o}if(Se(e)){const o=[];for(let i=0;i>>1,o=Pn[r],i=ba(o);i=ba(n)?Pn.push(e):Pn.splice(Iw(t),0,e),e.flags|=1,Nv()}}function Nv(){Au||(Au=Cv.then(Lv))}function va(e){Se(e)?ss.push(...e):Lo&&e.id===-1?Lo.splice(Gi+1,0,e):e.flags&1||(ss.push(e),e.flags|=1),Nv()}function tg(e,t,n=Mr+1){for(;nba(n)-ba(r));if(ss.length=0,Lo){Lo.push(...t);return}for(Lo=t,Gi=0;Gie.id==null?e.flags&2?-1:1/0:e.id;function Lv(e){try{for(Mr=0;MrKi.emit(o,...i)),Al=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{kv(i,t)}),setTimeout(()=>{Ki||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Al=[])},3e3)):Al=[]}let nn=null,yc=null;function Ea(e){const t=nn;return nn=e,yc=e&&e.type.__scopeId||null,t}function Ow(e){yc=e}function xw(){yc=null}const Cw=e=>Ve;function Ve(e,t=nn,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&cd(-1);const i=Ea(t);let s;try{s=e(...o)}finally{Ea(i),r._d&&cd(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Nw(e,t){if(nn===null)return e;const n=Ya(nn),r=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,ia=e=>e&&(e.disabled||e.disabled===""),ng=e=>e&&(e.defer||e.defer===""),rg=e=>typeof SVGElement<"u"&&e instanceof SVGElement,og=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,rd=(e,t)=>{const n=e&&e.to;return Pt(n)?t?t(n):null:n},Mv={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:p,querySelector:g,createText:h,createComment:_}}=u,m=ia(t.props);let{shapeFlag:E,children:y,dynamicChildren:v}=t;if(e==null){const T=t.el=h(""),S=t.anchor=h("");p(T,n,r),p(S,n,r);const I=(M,j)=>{E&16&&(o&&o.isCE&&(o.ce._teleportTarget=M),c(y,M,j,o,i,s,a,l))},D=()=>{const M=t.target=rd(t.props,g),j=Uv(M,t,h,p);M&&(s!=="svg"&&rg(M)?s="svg":s!=="mathml"&&og(M)&&(s="mathml"),m||(I(M,j),su(t,!1)))};m&&(I(n,S),su(t,!0)),ng(t.props)?(t.el.__isMounted=!1,en(()=>{D(),delete t.el.__isMounted},i)):D()}else{if(ng(t.props)&&e.el.__isMounted===!1){en(()=>{Mv.process(e,t,n,r,o,i,s,a,l,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,S=t.target=e.target,I=t.targetAnchor=e.targetAnchor,D=ia(e.props),M=D?n:S,j=D?T:I;if(s==="svg"||rg(S)?s="svg":(s==="mathml"||og(S))&&(s="mathml"),v?(d(e.dynamicChildren,v,M,o,i,s,a),qp(e,t,!0)):l||f(e,t,M,j,o,i,s,a,!1),m)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Rl(t,n,T,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=t.target=rd(t.props,g);B&&Rl(t,B,null,u,0)}else D&&Rl(t,S,I,u,1);su(t,m)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(o(u),o(c)),i&&o(l),s&16){const p=i||!ia(d);for(let g=0;g{e.isMounted=!0}),Jo(()=>{e.isUnmounting=!0}),e}const ar=[Function,Array],Lp={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ar,onEnter:ar,onAfterEnter:ar,onEnterCancelled:ar,onBeforeLeave:ar,onLeave:ar,onAfterLeave:ar,onLeaveCancelled:ar,onBeforeAppear:ar,onAppear:ar,onAfterAppear:ar,onAppearCancelled:ar},jv=e=>{const t=e.subTree;return t.component?jv(t.component):t},kw={name:"BaseTransition",props:Lp,setup(e,{slots:t}){const n=St(),r=Np();return()=>{const o=t.default&&_c(t.default(),!0);if(!o||!o.length)return;const i=Vv(o),s=at(e),{mode:a}=s;if(r.isLeaving)return Zc(i);const l=ig(i);if(!l)return Zc(i);let u=ps(l,s,r,n,f=>u=f);l.type!==zt&&vo(l,u);let c=n.subTree&&ig(n.subTree);if(c&&c.type!==zt&&!br(l,c)&&jv(n).type!==zt){let f=ps(c,s,r,n);if(vo(c,f),a==="out-in"&&l.type!==zt)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Zc(i);a==="in-out"&&l.type!==zt?f.delayLeave=(d,p,g)=>{const h=Bv(r,c);h[String(c.key)]=c,d[ko]=()=>{p(),d[ko]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{g(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Vv(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==zt){t=n;break}}return t}const $v=kw;function Bv(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ps(e,t,n,r,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:g,onLeaveCancelled:h,onBeforeAppear:_,onAppear:m,onAfterAppear:E,onAppearCancelled:y}=t,v=String(e.key),T=Bv(n,e),S=(M,j)=>{M&&pr(M,r,9,j)},I=(M,j)=>{const B=j[1];S(M,j),Se(M)?M.every(H=>H.length<=1)&&B():M.length<=1&&B()},D={mode:s,persisted:a,beforeEnter(M){let j=l;if(!n.isMounted)if(i)j=_||l;else return;M[ko]&&M[ko](!0);const B=T[v];B&&br(e,B)&&B.el[ko]&&B.el[ko](),S(j,[M])},enter(M){let j=u,B=c,H=f;if(!n.isMounted)if(i)j=m||u,B=E||c,H=y||f;else return;let le=!1;const Te=M[Il]=De=>{le||(le=!0,De?S(H,[M]):S(B,[M]),D.delayedLeave&&D.delayedLeave(),M[Il]=void 0)};j?I(j,[M,Te]):Te()},leave(M,j){const B=String(e.key);if(M[Il]&&M[Il](!0),n.isUnmounting)return j();S(d,[M]);let H=!1;const le=M[ko]=Te=>{H||(H=!0,j(),Te?S(h,[M]):S(g,[M]),M[ko]=void 0,T[B]===e&&delete T[B])};T[B]=e,p?I(p,[M,le]):le()},clone(M){const j=ps(M,t,n,r,o);return o&&o(j),j}};return D}function Zc(e){if(qa(e))return e=Wn(e),e.children=null,e}function ig(e){if(!qa(e))return Dv(e.type)&&e.children?Vv(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&$e(n.default))return n.default()}}function vo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,vo(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function _c(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;in.value,set:i=>n.value=i})}return n}function as(e,t,n,r,o=!1){if(Se(e)){e.forEach((g,h)=>as(g,t&&(Se(t)?t[h]:t),n,r,o));return}if(Bo(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&as(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?Ya(r.component):r.el,s=o?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===st?a.refs={}:a.refs,f=a.setupState,d=at(f),p=f===st?()=>!1:g=>yt(d,g);if(u!=null&&u!==l&&(Pt(u)?(c[u]=null,p(u)&&(f[u]=null)):It(u)&&(u.value=null)),$e(l))Os(l,a,12,[s,c]);else{const g=Pt(l),h=It(l);if(g||h){const _=()=>{if(e.f){const m=g?p(l)?f[l]:c[l]:l.value;o?Se(m)&&wp(m,i):Se(m)?m.includes(i)||m.push(i):g?(c[l]=[i],p(l)&&(f[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else g?(c[l]=s,p(l)&&(f[l]=s)):h&&(l.value=s,e.k&&(c[e.k]=s))};s?(_.id=-1,en(_,n)):_()}}}let sg=!1;const Vi=()=>{sg||(console.error("Hydration completed but contains mismatches."),sg=!0)},Dw=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Mw=e=>e.namespaceURI.includes("MathML"),Ol=e=>{if(e.nodeType===1){if(Dw(e))return"svg";if(Mw(e))return"mathml"}},Ji=e=>e.nodeType===8;function Fw(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:u}}=e,c=(y,v)=>{if(!v.hasChildNodes()){n(null,y,v),Ru(),v._vnode=y;return}f(v.firstChild,y,null,null,null),Ru(),v._vnode=y},f=(y,v,T,S,I,D=!1)=>{D=D||!!v.dynamicChildren;const M=Ji(y)&&y.data==="[",j=()=>h(y,v,T,S,I,M),{type:B,ref:H,shapeFlag:le,patchFlag:Te}=v;let De=y.nodeType;v.el=y,Te===-2&&(D=!1,v.dynamicChildren=null);let pe=null;switch(B){case Kr:De!==3?v.children===""?(l(v.el=o(""),s(y),y),pe=y):pe=j():(y.data!==v.children&&(Vi(),y.data=v.children),pe=i(y));break;case zt:E(y)?(pe=i(y),m(v.el=y.content.firstChild,y,T)):De!==8||M?pe=j():pe=i(y);break;case bi:if(M&&(y=i(y),De=y.nodeType),De===1||De===3){pe=y;const ge=!v.children.length;for(let re=0;re{D=D||!!v.dynamicChildren;const{type:M,props:j,patchFlag:B,shapeFlag:H,dirs:le,transition:Te}=v,De=M==="input"||M==="option";if(De||B!==-1){le&&Fr(v,null,T,"created");let pe=!1;if(E(y)){pe=c1(null,Te)&&T&&T.vnode.props&&T.vnode.props.appear;const re=y.content.firstChild;if(pe){const ve=re.getAttribute("class");ve&&(re.$cls=ve),Te.beforeEnter(re)}m(re,y,T),v.el=y=re}if(H&16&&!(j&&(j.innerHTML||j.textContent))){let re=p(y.firstChild,v,y,T,S,I,D);for(;re;){xl(y,1)||Vi();const ve=re;re=re.nextSibling,a(ve)}}else if(H&8){let re=v.children;re[0]===` `&&(y.tagName==="PRE"||y.tagName==="TEXTAREA")&&(re=re.slice(1)),y.textContent!==re&&(xl(y,0)||Vi(),y.textContent=v.children)}if(j){if(De||!D||B&48){const re=y.tagName.includes("-");for(const ve in j)(De&&(ve.endsWith("value")||ve==="indeterminate")||$a(ve)&&!rs(ve)||ve[0]==="."||re)&&r(y,ve,null,j[ve],void 0,T)}else if(j.onClick)r(y,"onClick",null,j.onClick,void 0,T);else if(B&4&&$o(j.style))for(const re in j.style)j.style[re]}let ge;(ge=j&&j.onVnodeBeforeMount)&&Hn(ge,T,v),le&&Fr(v,null,T,"beforeMount"),((ge=j&&j.onVnodeMounted)||le||pe)&&b1(()=>{ge&&Hn(ge,T,v),pe&&Te.enter(y),le&&Fr(v,null,T,"mounted")},S)}return y.nextSibling},p=(y,v,T,S,I,D,M)=>{M=M||!!v.dynamicChildren;const j=v.children,B=j.length;for(let H=0;H{const{slotScopeIds:M}=v;M&&(I=I?I.concat(M):M);const j=s(y),B=p(i(y),v,j,T,S,I,D);return B&&Ji(B)&&B.data==="]"?i(v.anchor=B):(Vi(),l(v.anchor=u("]"),j,B),B)},h=(y,v,T,S,I,D)=>{if(xl(y.parentElement,1)||Vi(),v.el=null,D){const B=_(y);for(;;){const H=i(y);if(H&&H!==B)a(H);else break}}const M=i(y),j=s(y);return a(y),n(null,v,j,M,T,S,Ol(j),I),T&&(T.vnode.el=v.el,wc(T,v.el)),M},_=(y,v="[",T="]")=>{let S=0;for(;y;)if(y=i(y),y&&Ji(y)&&(y.data===v&&S++,y.data===T)){if(S===0)return i(y);S--}return y},m=(y,v,T)=>{const S=v.parentNode;S&&S.replaceChild(y,v);let I=T;for(;I;)I.vnode.el===v&&(I.vnode.el=I.subTree.el=y),I=I.parent},E=y=>y.nodeType===1&&y.tagName==="TEMPLATE";return[c,f]}const ag="data-allow-mismatch",Uw={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function xl(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ag);)e=e.parentElement;const n=e&&e.getAttribute(ag);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(Uw[t])}}const jw=cc().requestIdleCallback||(e=>setTimeout(e,1)),Vw=cc().cancelIdleCallback||(e=>clearTimeout(e)),$w=(e=1e4)=>t=>{const n=jw(t,{timeout:e});return()=>Vw(n)};function Bw(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:s}=window;return(t>0&&t0&&r0&&n0&&o(t,n)=>{const r=new IntersectionObserver(o=>{for(const i of o)if(i.isIntersecting){r.disconnect(),t();break}},e);return n(o=>{if(o instanceof Element){if(Bw(o))return t(),r.disconnect(),!1;r.observe(o)}}),()=>r.disconnect()},zw=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},Gw=(e=[])=>(t,n)=>{Pt(e)&&(e=[e]);let r=!1;const o=s=>{r||(r=!0,i(),t(),s.target.dispatchEvent(new s.constructor(s.type,s)))},i=()=>{n(s=>{for(const a of e)s.removeEventListener(a,o)})};return n(s=>{for(const a of e)s.addEventListener(a,o,{once:!0})}),i};function Kw(e,t){if(Ji(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Ji(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Bo=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function bo(e){$e(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const d=()=>(f++,u=null,p()),p=()=>{let g;return u||(g=u=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),l)return new Promise((_,m)=>{l(h,()=>_(d()),()=>m(h),f+1)});throw h}).then(h=>g!==u&&u?u:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return Ce({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(g,h,_){const m=i?()=>{const y=i(()=>{_()},v=>Kw(g,v));y&&(h.bum||(h.bum=[])).push(y),(h.u||(h.u=[])).push(()=>!0)}:_;c?m():p().then(()=>!h.isUnmounted&&m())},get __asyncResolved(){return c},setup(){const g=tn;if(kp(g),c)return()=>ef(c,g);const h=y=>{u=null,Ci(y,g,13,!r)};if(a&&g.suspense||hs)return p().then(y=>()=>ef(y,g)).catch(y=>(h(y),()=>r?xe(r,{error:y}):null));const _=Fe(!1),m=Fe(),E=Fe(!!o);return o&&setTimeout(()=>{E.value=!1},o),s!=null&&setTimeout(()=>{if(!_.value&&!m.value){const y=new Error(`Async component timed out after ${s}ms.`);h(y),m.value=y}},s),p().then(()=>{_.value=!0,g.parent&&qa(g.parent.vnode)&&g.parent.update()}).catch(y=>{h(y),m.value=y}),()=>{if(_.value&&c)return ef(c,g);if(m.value&&r)return xe(r,{error:m.value});if(n&&!E.value)return xe(n)}}})}function ef(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=xe(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const qa=e=>e.type.__isKeepAlive,qw={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=St(),r=n.ctx;if(!r.renderer)return()=>{const E=t.default&&t.default();return E&&E.length===1?E[0]:E};const o=new Map,i=new Set;let s=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(E,y,v,T,S)=>{const I=E.component;u(E,y,v,0,a),l(I.vnode,E,y,v,I,a,T,E.slotScopeIds,S),en(()=>{I.isDeactivated=!1,I.a&&is(I.a);const D=E.props&&E.props.onVnodeMounted;D&&Hn(D,I.parent,E)},a)},r.deactivate=E=>{const y=E.component;xu(y.m),xu(y.a),u(E,d,null,1,a),en(()=>{y.da&&is(y.da);const v=E.props&&E.props.onVnodeUnmounted;v&&Hn(v,y.parent,E),y.isDeactivated=!0},a)};function p(E){tf(E),c(E,n,a,!0)}function g(E){o.forEach((y,v)=>{const T=gd(y.type);T&&!E(T)&&h(v)})}function h(E){const y=o.get(E);y&&(!s||!br(y,s))?p(y):s&&tf(s),o.delete(E),i.delete(E)}wt(()=>[e.include,e.exclude],([E,y])=>{E&&g(v=>Qs(E,v)),y&&g(v=>!Qs(y,v))},{flush:"post",deep:!0});let _=null;const m=()=>{_!=null&&(Cu(n.subTree.type)?en(()=>{o.set(_,Cl(n.subTree))},n.subTree.suspense):o.set(_,Cl(n.subTree)))};return ln(m),bc(m),Jo(()=>{o.forEach(E=>{const{subTree:y,suspense:v}=n,T=Cl(y);if(E.type===T.type&&E.key===T.key){tf(T);const S=T.component.da;S&&en(S,v);return}p(E)})}),()=>{if(_=null,!t.default)return s=null;const E=t.default(),y=E[0];if(E.length>1)return s=null,E;if(!Eo(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return s=null,y;let v=Cl(y);if(v.type===zt)return s=null,v;const T=v.type,S=gd(Bo(v)?v.type.__asyncResolved||{}:T),{include:I,exclude:D,max:M}=e;if(I&&(!S||!Qs(I,S))||D&&S&&Qs(D,S))return v.shapeFlag&=-257,s=v,y;const j=v.key==null?T:v.key,B=o.get(j);return v.el&&(v=Wn(v),y.shapeFlag&128&&(y.ssContent=v)),_=j,B?(v.el=B.el,v.component=B.component,v.transition&&vo(v,v.transition),v.shapeFlag|=512,i.delete(j),i.add(j)):(i.add(j),M&&i.size>parseInt(M,10)&&h(i.values().next().value)),v.shapeFlag|=256,s=v,Cu(y.type)?y:v}}},Hv=qw;function Qs(e,t){return Se(e)?e.some(n=>Qs(n,t)):Pt(e)?e.split(",").includes(t):OT(e)?(e.lastIndex=0,e.test(t)):!1}function Pp(e,t){zv(e,"a",t)}function Dp(e,t){zv(e,"da",t)}function zv(e,t,n=tn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(vc(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qa(o.parent.vnode)&&Ww(r,t,n,o),o=o.parent}}function Ww(e,t,n,r){const o=vc(t,e,r,!0);So(()=>{wp(r[t],o)},n)}function tf(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Cl(e){return e.shapeFlag&128?e.ssContent:e}function vc(e,t,n=tn,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{yo();const a=Si(n),l=pr(t,n,e,s);return a(),_o(),l});return r?o.unshift(i):o.push(i),i}}const wo=e=>(t,n=tn)=>{(!hs||e==="sp")&&vc(e,(...r)=>t(...r),n)},Mp=wo("bm"),ln=wo("m"),Fp=wo("bu"),bc=wo("u"),Jo=wo("bum"),So=wo("um"),Gv=wo("sp"),Kv=wo("rtg"),qv=wo("rtc");function Up(e,t=tn){vc("ec",e,t)}const jp="components",Yw="directives";function Iu(e,t){return Vp(jp,e,!0,t)||e}const Wv=Symbol.for("v-ndc");function Ho(e){return Pt(e)?Vp(jp,e,!1)||e:e||Wv}function Xw(e){return Vp(Yw,e)}function Vp(e,t,n=!0,r=!1){const o=nn||tn;if(o){const i=o.type;if(e===jp){const a=gd(i,!1);if(a&&(a===t||a===an(t)||a===Ha(an(t))))return i}const s=lg(o[e]||i[e],t)||lg(o.appContext[e],t);return!s&&r?i:s}}function lg(e,t){return e&&(e[t]||e[an(t)]||e[Ha(an(t))])}function $p(e,t,n,r){let o;const i=n&&n[r],s=Se(e);if(s||Pt(e)){const a=s&&$o(e);let l=!1,u=!1;a&&(l=!tr(e),u=Xr(e),e=pc(e)),o=new Array(e.length);for(let c=0,f=e.length;ct(a,l,void 0,i&&i[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,u=a.length;l{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return e}function pt(e,t,n={},r,o){if(nn.ce||nn.parent&&Bo(nn.parent)&&nn.parent.ce)return t!=="default"&&(n.name=t),me(),Ge(Ct,null,[xe("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),me();const s=i&&Hp(i(n)),a=n.key||s&&s.key,l=Ge(Ct,{key:(a&&!wr(a)?a:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Hp(e){return e.some(t=>Eo(t)?!(t.type===zt||t.type===Ct&&!Hp(t.children)):!0)?e:null}function Jw(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:os(r)]=e[r];return n}const od=e=>e?A1(e)?Ya(e):od(e.parent):null,sa=Nt(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=>od(e.parent),$root:e=>od(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zp(e),$forceUpdate:e=>e.f||(e.f=()=>{Cp(e.update)}),$nextTick:e=>e.n||(e.n=Yt.bind(e.proxy)),$watch:e=>SS.bind(e)}),nf=(e,t)=>e!==st&&!e.__isScriptSetup&&yt(e,t),id={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(nf(r,t))return s[t]=1,r[t];if(o!==st&&yt(o,t))return s[t]=2,o[t];if((u=e.propsOptions[0])&&yt(u,t))return s[t]=3,i[t];if(n!==st&&yt(n,t))return s[t]=4,n[t];sd&&(s[t]=0)}}const c=sa[t];let f,d;if(c)return t==="$attrs"&&vn(e.attrs,"get",""),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==st&&yt(n,t))return s[t]=4,n[t];if(d=l.config.globalProperties,yt(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return nf(o,t)?(o[t]=n,!0):r!==st&&yt(r,t)?(r[t]=n,!0):yt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let a;return!!n[s]||e!==st&&yt(e,s)||nf(t,s)||(a=i[0])&&yt(a,s)||yt(r,s)||yt(sa,s)||yt(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:yt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Qw=Nt({},id,{get(e,t){if(t!==Symbol.unscopables)return id.get(e,t,e)},has(e,t){return t[0]!=="_"&&!kT(t)}});function Zw(){return null}function eS(){return null}function tS(e){}function nS(e){}function rS(){return null}function oS(){}function iS(e,t){return null}function sS(){return Yv().slots}function Ec(){return Yv().attrs}function Yv(){const e=St();return e.setupContext||(e.setupContext=O1(e))}function Ta(e){return Se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function aS(e,t){const n=Ta(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?Se(o)||$e(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function Xv(e,t){return!e||!t?e||t:Se(e)&&Se(t)?e.concat(t):Nt({},Ta(e),Ta(t))}function lS(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function ls(e){const t=St();let n=e();return dd(),lc(n)&&(n=n.catch(r=>{throw Si(t),r})),[n,()=>Si(t)]}let sd=!0;function uS(e){const t=zp(e),n=e.proxy,r=e.ctx;sd=!1,t.beforeCreate&&ug(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:p,updated:g,activated:h,deactivated:_,beforeDestroy:m,beforeUnmount:E,destroyed:y,unmounted:v,render:T,renderTracked:S,renderTriggered:I,errorCaptured:D,serverPrefetch:M,expose:j,inheritAttrs:B,components:H,directives:le,filters:Te}=t;if(u&&cS(u,r,null),s)for(const ge in s){const re=s[ge];$e(re)&&(r[ge]=re.bind(n))}if(o){const ge=o.call(n,n);Ot(ge)&&(e.data=Sn(ge))}if(sd=!0,i)for(const ge in i){const re=i[ge],ve=$e(re)?re.bind(n,n):$e(re.get)?re.get.bind(n,n):cr,tt=!$e(re)&&$e(re.set)?re.set.bind(n):cr,Ae=ne({get:ve,set:tt});Object.defineProperty(r,ge,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:Ke=>Ae.value=Ke})}if(a)for(const ge in a)Jv(a[ge],r,n,ge);if(l){const ge=$e(l)?l.call(n):l;Reflect.ownKeys(ge).forEach(re=>{Gr(re,ge[re])})}c&&ug(c,e,"c");function pe(ge,re){Se(re)?re.forEach(ve=>ge(ve.bind(n))):re&&ge(re.bind(n))}if(pe(Mp,f),pe(ln,d),pe(Fp,p),pe(bc,g),pe(Pp,h),pe(Dp,_),pe(Up,D),pe(qv,S),pe(Kv,I),pe(Jo,E),pe(So,v),pe(Gv,M),Se(j))if(j.length){const ge=e.exposed||(e.exposed={});j.forEach(re=>{Object.defineProperty(ge,re,{get:()=>n[re],set:ve=>n[re]=ve})})}else e.exposed||(e.exposed={});T&&e.render===cr&&(e.render=T),B!=null&&(e.inheritAttrs=B),H&&(e.components=H),le&&(e.directives=le),M&&kp(e)}function cS(e,t,n=cr){Se(e)&&(e=ad(e));for(const r in e){const o=e[r];let i;Ot(o)?"default"in o?i=jt(o.from||r,o.default,!0):i=jt(o.from||r):i=jt(o),It(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function ug(e,t,n){pr(Se(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Jv(e,t,n,r){let o=r.includes(".")?g1(n,r):()=>n[r];if(Pt(e)){const i=t[e];$e(i)&&wt(o,i)}else if($e(e))wt(o,e.bind(n));else if(Ot(e))if(Se(e))e.forEach(i=>Jv(i,t,n,r));else{const i=$e(e.handler)?e.handler.bind(n):t[e.handler];$e(i)&&wt(o,i,e)}}function zp(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>Ou(l,u,s,!0)),Ou(l,t,s)),Ot(t)&&i.set(t,l),l}function Ou(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Ou(e,i,n,!0),o&&o.forEach(s=>Ou(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=fS[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const fS={data:cg,props:fg,emits:fg,methods:Zs,computed:Zs,beforeCreate:Cn,created:Cn,beforeMount:Cn,mounted:Cn,beforeUpdate:Cn,updated:Cn,beforeDestroy:Cn,beforeUnmount:Cn,destroyed:Cn,unmounted:Cn,activated:Cn,deactivated:Cn,errorCaptured:Cn,serverPrefetch:Cn,components:Zs,directives:Zs,watch:pS,provide:cg,inject:dS};function cg(e,t){return t?e?function(){return Nt($e(e)?e.call(this,this):e,$e(t)?t.call(this,this):t)}:t:e}function dS(e,t){return Zs(ad(e),ad(t))}function ad(e){if(Se(e)){const t={};for(let n=0;n1)return n&&$e(t)?t.call(r&&r.proxy):t}}function Qo(){return!!(tn||nn||vi)}const Zv={},e1=()=>Object.create(Zv),t1=e=>Object.getPrototypeOf(e)===Zv;function mS(e,t,n,r=!1){const o={},i=e1();e.propsDefaults=Object.create(null),n1(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:Er(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function yS(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=at(o),[l]=e.propsOptions;let u=!1;if((r||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,p]=r1(f,t,!0);Nt(s,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return Ot(e)&&r.set(e,ts),ts;if(Se(i))for(let c=0;ce[0]==="_"||e==="$stable",Kp=e=>Se(e)?e.map(Gn):[Gn(e)],vS=(e,t,n)=>{if(t._n)return t;const r=Ve((...o)=>Kp(t(...o)),n);return r._c=!1,r},o1=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Gp(o))continue;const i=e[o];if($e(i))t[o]=vS(o,i,r);else if(i!=null){const s=Kp(i);t[o]=()=>s}}},i1=(e,t)=>{const n=Kp(t);e.slots.default=()=>n},s1=(e,t,n)=>{for(const r in t)(n||!Gp(r))&&(e[r]=t[r])},bS=(e,t,n)=>{const r=e.slots=e1();if(e.vnode.shapeFlag&32){const o=t.__;o&&Zf(r,"__",o,!0);const i=t._;i?(s1(r,t,n),n&&Zf(r,"_",i,!0)):o1(t,r)}else t&&i1(e,t)},ES=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=st;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:s1(o,t,n):(i=!t.$stable,o1(t,o)),s=t}else t&&(i1(e,t),s={default:1});if(i)for(const a in o)!Gp(a)&&s[a]==null&&delete o[a]},en=b1;function a1(e){return u1(e)}function l1(e){return u1(e,Fw)}function u1(e,t){const n=cc();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:p=cr,insertStaticContent:g}=e,h=(C,L,V,te=null,X=null,O=null,N=void 0,U=null,K=!!L.dynamicChildren)=>{if(C===L)return;C&&!br(C,L)&&(te=J(C),Ke(C,X,O,!0),C=null),L.patchFlag===-2&&(K=!1,L.dynamicChildren=null);const{type:ee,ref:Q,shapeFlag:R}=L;switch(ee){case Kr:_(C,L,V,te);break;case zt:m(C,L,V,te);break;case bi:C==null&&E(L,V,te,N);break;case Ct:H(C,L,V,te,X,O,N,U,K);break;default:R&1?T(C,L,V,te,X,O,N,U,K):R&6?le(C,L,V,te,X,O,N,U,K):(R&64||R&128)&&ee.process(C,L,V,te,X,O,N,U,K,_e)}Q!=null&&X?as(Q,C&&C.ref,O,L||C,!L):Q==null&&C&&C.ref!=null&&as(C.ref,null,O,C,!0)},_=(C,L,V,te)=>{if(C==null)r(L.el=a(L.children),V,te);else{const X=L.el=C.el;L.children!==C.children&&u(X,L.children)}},m=(C,L,V,te)=>{C==null?r(L.el=l(L.children||""),V,te):L.el=C.el},E=(C,L,V,te)=>{[C.el,C.anchor]=g(C.children,L,V,te,C.el,C.anchor)},y=({el:C,anchor:L},V,te)=>{let X;for(;C&&C!==L;)X=d(C),r(C,V,te),C=X;r(L,V,te)},v=({el:C,anchor:L})=>{let V;for(;C&&C!==L;)V=d(C),o(C),C=V;o(L)},T=(C,L,V,te,X,O,N,U,K)=>{L.type==="svg"?N="svg":L.type==="math"&&(N="mathml"),C==null?S(L,V,te,X,O,N,U,K):M(C,L,X,O,N,U,K)},S=(C,L,V,te,X,O,N,U)=>{let K,ee;const{props:Q,shapeFlag:R,transition:k,dirs:G}=C;if(K=C.el=s(C.type,O,Q&&Q.is,Q),R&8?c(K,C.children):R&16&&D(C.children,K,null,te,X,rf(C,O),N,U),G&&Fr(C,null,te,"created"),I(K,C,C.scopeId,N,te),Q){for(const fe in Q)fe!=="value"&&!rs(fe)&&i(K,fe,null,Q[fe],O,te);"value"in Q&&i(K,"value",null,Q.value,O),(ee=Q.onVnodeBeforeMount)&&Hn(ee,te,C)}G&&Fr(C,null,te,"beforeMount");const oe=c1(X,k);oe&&k.beforeEnter(K),r(K,L,V),((ee=Q&&Q.onVnodeMounted)||oe||G)&&en(()=>{ee&&Hn(ee,te,C),oe&&k.enter(K),G&&Fr(C,null,te,"mounted")},X)},I=(C,L,V,te,X)=>{if(V&&p(C,V),te)for(let O=0;O{for(let ee=K;ee{const U=L.el=C.el;let{patchFlag:K,dynamicChildren:ee,dirs:Q}=L;K|=C.patchFlag&16;const R=C.props||st,k=L.props||st;let G;if(V&&ui(V,!1),(G=k.onVnodeBeforeUpdate)&&Hn(G,V,L,C),Q&&Fr(L,C,V,"beforeUpdate"),V&&ui(V,!0),(R.innerHTML&&k.innerHTML==null||R.textContent&&k.textContent==null)&&c(U,""),ee?j(C.dynamicChildren,ee,U,V,te,rf(L,X),O):N||re(C,L,U,null,V,te,rf(L,X),O,!1),K>0){if(K&16)B(U,R,k,V,X);else if(K&2&&R.class!==k.class&&i(U,"class",null,k.class,X),K&4&&i(U,"style",R.style,k.style,X),K&8){const oe=L.dynamicProps;for(let fe=0;fe{G&&Hn(G,V,L,C),Q&&Fr(L,C,V,"updated")},te)},j=(C,L,V,te,X,O,N)=>{for(let U=0;U{if(L!==V){if(L!==st)for(const O in L)!rs(O)&&!(O in V)&&i(C,O,L[O],null,X,te);for(const O in V){if(rs(O))continue;const N=V[O],U=L[O];N!==U&&O!=="value"&&i(C,O,U,N,X,te)}"value"in V&&i(C,"value",L.value,V.value,X)}},H=(C,L,V,te,X,O,N,U,K)=>{const ee=L.el=C?C.el:a(""),Q=L.anchor=C?C.anchor:a("");let{patchFlag:R,dynamicChildren:k,slotScopeIds:G}=L;G&&(U=U?U.concat(G):G),C==null?(r(ee,V,te),r(Q,V,te),D(L.children||[],V,Q,X,O,N,U,K)):R>0&&R&64&&k&&C.dynamicChildren?(j(C.dynamicChildren,k,V,X,O,N,U),(L.key!=null||X&&L===X.subTree)&&qp(C,L,!0)):re(C,L,V,Q,X,O,N,U,K)},le=(C,L,V,te,X,O,N,U,K)=>{L.slotScopeIds=U,C==null?L.shapeFlag&512?X.ctx.activate(L,V,te,N,K):Te(L,V,te,X,O,N,K):De(C,L,K)},Te=(C,L,V,te,X,O,N)=>{const U=C.component=S1(C,te,X);if(qa(C)&&(U.ctx.renderer=_e),R1(U,!1,N),U.asyncDep){if(X&&X.registerDep(U,pe,N),!C.el){const K=U.subTree=xe(zt);m(null,K,L,V)}}else pe(U,C,L,V,X,O,N)},De=(C,L,V)=>{const te=L.component=C.component;if(xS(C,L,V))if(te.asyncDep&&!te.asyncResolved){ge(te,L,V);return}else te.next=L,te.update();else L.el=C.el,te.vnode=L},pe=(C,L,V,te,X,O,N)=>{const U=()=>{if(C.isMounted){let{next:R,bu:k,u:G,parent:oe,vnode:fe}=C;{const we=f1(C);if(we){R&&(R.el=fe.el,ge(C,R,N)),we.asyncDep.then(()=>{C.isUnmounted||U()});return}}let be=R,Ye;ui(C,!1),R?(R.el=fe.el,ge(C,R,N)):R=fe,k&&is(k),(Ye=R.props&&R.props.onVnodeBeforeUpdate)&&Hn(Ye,oe,R,fe),ui(C,!0);const nt=lu(C),Ue=C.subTree;C.subTree=nt,h(Ue,nt,f(Ue.el),J(Ue),C,X,O),R.el=nt.el,be===null&&wc(C,nt.el),G&&en(G,X),(Ye=R.props&&R.props.onVnodeUpdated)&&en(()=>Hn(Ye,oe,R,fe),X)}else{let R;const{el:k,props:G}=L,{bm:oe,m:fe,parent:be,root:Ye,type:nt}=C,Ue=Bo(L);if(ui(C,!1),oe&&is(oe),!Ue&&(R=G&&G.onVnodeBeforeMount)&&Hn(R,be,L),ui(C,!0),k&&ze){const we=()=>{C.subTree=lu(C),ze(k,C.subTree,C,X,null)};Ue&&nt.__asyncHydrate?nt.__asyncHydrate(k,C,we):we()}else{Ye.ce&&Ye.ce._def.shadowRoot!==!1&&Ye.ce._injectChildStyle(nt);const we=C.subTree=lu(C);h(null,we,V,te,C,X,O),L.el=we.el}if(fe&&en(fe,X),!Ue&&(R=G&&G.onVnodeMounted)){const we=L;en(()=>Hn(R,be,we),X)}(L.shapeFlag&256||be&&Bo(be.vnode)&&be.vnode.shapeFlag&256)&&C.a&&en(C.a,X),C.isMounted=!0,L=V=te=null}};C.scope.on();const K=C.effect=new ga(U);C.scope.off();const ee=C.update=K.run.bind(K),Q=C.job=K.runIfDirty.bind(K);Q.i=C,Q.id=C.uid,K.scheduler=()=>Cp(Q),ui(C,!0),ee()},ge=(C,L,V)=>{L.component=C;const te=C.vnode.props;C.vnode=L,C.next=null,yS(C,L.props,te,V),ES(C,L.children,V),yo(),tg(C),_o()},re=(C,L,V,te,X,O,N,U,K=!1)=>{const ee=C&&C.children,Q=C?C.shapeFlag:0,R=L.children,{patchFlag:k,shapeFlag:G}=L;if(k>0){if(k&128){tt(ee,R,V,te,X,O,N,U,K);return}else if(k&256){ve(ee,R,V,te,X,O,N,U,K);return}}G&8?(Q&16&&ot(ee,X,O),R!==ee&&c(V,R)):Q&16?G&16?tt(ee,R,V,te,X,O,N,U,K):ot(ee,X,O,!0):(Q&8&&c(V,""),G&16&&D(R,V,te,X,O,N,U,K))},ve=(C,L,V,te,X,O,N,U,K)=>{C=C||ts,L=L||ts;const ee=C.length,Q=L.length,R=Math.min(ee,Q);let k;for(k=0;kQ?ot(C,X,O,!0,!1,R):D(L,V,te,X,O,N,U,K,R)},tt=(C,L,V,te,X,O,N,U,K)=>{let ee=0;const Q=L.length;let R=C.length-1,k=Q-1;for(;ee<=R&&ee<=k;){const G=C[ee],oe=L[ee]=K?Po(L[ee]):Gn(L[ee]);if(br(G,oe))h(G,oe,V,null,X,O,N,U,K);else break;ee++}for(;ee<=R&&ee<=k;){const G=C[R],oe=L[k]=K?Po(L[k]):Gn(L[k]);if(br(G,oe))h(G,oe,V,null,X,O,N,U,K);else break;R--,k--}if(ee>R){if(ee<=k){const G=k+1,oe=Gk)for(;ee<=R;)Ke(C[ee],X,O,!0),ee++;else{const G=ee,oe=ee,fe=new Map;for(ee=oe;ee<=k;ee++){const Bt=L[ee]=K?Po(L[ee]):Gn(L[ee]);Bt.key!=null&&fe.set(Bt.key,ee)}let be,Ye=0;const nt=k-oe+1;let Ue=!1,we=0;const At=new Array(nt);for(ee=0;ee=nt){Ke(Bt,X,O,!0);continue}let gn;if(Bt.key!=null)gn=fe.get(Bt.key);else for(be=oe;be<=k;be++)if(At[be-oe]===0&&br(Bt,L[be])){gn=be;break}gn===void 0?Ke(Bt,X,O,!0):(At[gn-oe]=ee+1,gn>=we?we=gn:Ue=!0,h(Bt,L[gn],V,null,X,O,N,U,K),Ye++)}const In=Ue?TS(At):ts;for(be=In.length-1,ee=nt-1;ee>=0;ee--){const Bt=oe+ee,gn=L[Bt],oi=Bt+1{const{el:O,type:N,transition:U,children:K,shapeFlag:ee}=C;if(ee&6){Ae(C.component.subTree,L,V,te);return}if(ee&128){C.suspense.move(L,V,te);return}if(ee&64){N.move(C,L,V,_e);return}if(N===Ct){r(O,L,V);for(let R=0;RU.enter(O),X);else{const{leave:R,delayLeave:k,afterLeave:G}=U,oe=()=>{C.ctx.isUnmounted?o(O):r(O,L,V)},fe=()=>{R(O,()=>{oe(),G&&G()})};k?k(O,oe,fe):fe()}else r(O,L,V)},Ke=(C,L,V,te=!1,X=!1)=>{const{type:O,props:N,ref:U,children:K,dynamicChildren:ee,shapeFlag:Q,patchFlag:R,dirs:k,cacheIndex:G}=C;if(R===-2&&(X=!1),U!=null&&(yo(),as(U,null,V,C,!0),_o()),G!=null&&(L.renderCache[G]=void 0),Q&256){L.ctx.deactivate(C);return}const oe=Q&1&&k,fe=!Bo(C);let be;if(fe&&(be=N&&N.onVnodeBeforeUnmount)&&Hn(be,L,C),Q&6)qe(C.component,V,te);else{if(Q&128){C.suspense.unmount(V,te);return}oe&&Fr(C,null,L,"beforeUnmount"),Q&64?C.type.remove(C,L,V,_e,te):ee&&!ee.hasOnce&&(O!==Ct||R>0&&R&64)?ot(ee,L,V,!1,!0):(O===Ct&&R&384||!X&&Q&16)&&ot(K,L,V),te&&He(C)}(fe&&(be=N&&N.onVnodeUnmounted)||oe)&&en(()=>{be&&Hn(be,L,C),oe&&Fr(C,null,L,"unmounted")},V)},He=C=>{const{type:L,el:V,anchor:te,transition:X}=C;if(L===Ct){it(V,te);return}if(L===bi){v(C);return}const O=()=>{o(V),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(C.shapeFlag&1&&X&&!X.persisted){const{leave:N,delayLeave:U}=X,K=()=>N(V,O);U?U(C.el,O,K):K()}else O()},it=(C,L)=>{let V;for(;C!==L;)V=d(C),o(C),C=V;o(L)},qe=(C,L,V)=>{const{bum:te,scope:X,job:O,subTree:N,um:U,m:K,a:ee,parent:Q,slots:{__:R}}=C;xu(K),xu(ee),te&&is(te),Q&&Se(R)&&R.forEach(k=>{Q.renderCache[k]=void 0}),X.stop(),O&&(O.flags|=8,Ke(N,C,L,V)),U&&en(U,L),en(()=>{C.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&C.asyncDep&&!C.asyncResolved&&C.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},ot=(C,L,V,te=!1,X=!1,O=0)=>{for(let N=O;N{if(C.shapeFlag&6)return J(C.component.subTree);if(C.shapeFlag&128)return C.suspense.next();const L=d(C.anchor||C.el),V=L&&L[Pv];return V?d(V):L};let se=!1;const ae=(C,L,V)=>{C==null?L._vnode&&Ke(L._vnode,null,null,!0):h(L._vnode||null,C,L,null,null,null,V),L._vnode=C,se||(se=!0,tg(),Ru(),se=!1)},_e={p:h,um:Ke,m:Ae,r:He,mt:Te,mc:D,pc:re,pbc:j,n:J,o:e};let We,ze;return t&&([We,ze]=t(_e)),{render:ae,hydrate:We,createApp:gS(ae,We)}}function rf({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 ui({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function c1(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qp(e,t,n=!1){const r=e.children,o=t.children;if(Se(r)&&Se(o))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function f1(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:f1(t)}function xu(e){if(e)for(let t=0;tjt(d1);function Jr(e,t){return Wa(e,null,t)}function wS(e,t){return Wa(e,null,{flush:"post"})}function h1(e,t){return Wa(e,null,{flush:"sync"})}function wt(e,t,n){return Wa(e,t,n)}function Wa(e,t,n=st){const{immediate:r,deep:o,flush:i,once:s}=n,a=Nt({},n),l=t&&r||!t&&i!=="post";let u;if(hs){if(i==="sync"){const p=p1();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=cr,p.resume=cr,p.pause=cr,p}}const c=tn;a.call=(p,g,h)=>pr(p,c,g,h);let f=!1;i==="post"?a.scheduler=p=>{en(p,c&&c.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(p,g)=>{g?p():Cp(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const d=bw(e,t,a);return hs&&(u?u.push(d):l&&d()),d}function SS(e,t,n){const r=this.proxy,o=Pt(e)?e.includes(".")?g1(r,e):()=>r[e]:e.bind(r,r);let i;$e(t)?i=t:(i=t.handler,n=t);const s=Si(this),a=Wa(o,i.bind(r),n);return s(),a}function g1(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{let c,f=st,d;return h1(()=>{const p=e[o];kn(c,p)&&(c=p,u())}),{get(){return l(),n.get?n.get(c):c},set(p){const g=n.set?n.set(p):p;if(!kn(g,c)&&!(f!==st&&kn(p,f)))return;const h=r.vnode.props;h&&(t in h||o in h||i in h)&&(`onUpdate:${t}`in h||`onUpdate:${o}`in h||`onUpdate:${i}`in h)||(c=p,u()),r.emit(`update:${t}`,g),kn(p,g)&&kn(p,f)&&!kn(g,d)&&u(),f=p,d=g}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?s||st:a,done:!1}:{done:!0}}}},a}const y1=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${an(t)}Modifiers`]||e[`${Kn(t)}Modifiers`];function AS(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||st;let o=n;const i=t.startsWith("update:"),s=i&&y1(r,t.slice(7));s&&(s.trim&&(o=n.map(c=>Pt(c)?c.trim():c)),s.number&&(o=n.map(bu)));let a,l=r[a=os(t)]||r[a=os(an(t))];!l&&i&&(l=r[a=os(Kn(t))]),l&&pr(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,pr(u,e,6,o)}}function _1(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!$e(e)){const l=u=>{const c=_1(u,t,!0);c&&(a=!0,Nt(s,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(Ot(e)&&r.set(e,null),null):(Se(i)?i.forEach(l=>s[l]=null):Nt(s,i),Ot(e)&&r.set(e,s),s)}function Tc(e,t){return!e||!$a(t)?!1:(t=t.slice(2).replace(/Once$/,""),yt(e,t[0].toLowerCase()+t.slice(1))||yt(e,Kn(t))||yt(e,t))}function lu(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:p,ctx:g,inheritAttrs:h}=e,_=Ea(e);let m,E;try{if(n.shapeFlag&4){const v=o||r,T=v;m=Gn(u.call(T,v,c,f,p,d,g)),E=a}else{const v=t;m=Gn(v.length>1?v(f,{attrs:a,slots:s,emit:l}):v(f,null)),E=t.props?a:IS(a)}}catch(v){aa.length=0,Ci(v,e,1),m=xe(zt)}let y=m;if(E&&h!==!1){const v=Object.keys(E),{shapeFlag:T}=y;v.length&&T&7&&(i&&v.some(Tp)&&(E=OS(E,i)),y=Wn(y,E,!1,!0))}return n.dirs&&(y=Wn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&vo(y,n.transition),m=y,Ea(_),m}function RS(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||$a(n))&&((t||(t={}))[n]=e[n]);return t},OS=(e,t)=>{const n={};for(const r in e)(!Tp(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function xS(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?pg(r,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;let ud=0;const CS={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,u){if(e==null)NS(t,n,r,o,i,s,a,l,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}LS(e,t,n,r,o,s,a,l,u)}},hydrate:kS,normalize:PS},Sc=CS;function wa(e,t){const n=e.props&&e.props[t];$e(n)&&n()}function NS(e,t,n,r,o,i,s,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=v1(e,o,r,t,f,n,i,s,a,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,i,s),d.deps>0?(wa(e,"onPending"),wa(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,s),us(d,e.ssFallback)):d.resolve(!1,!0)}function LS(e,t,n,r,o,i,s,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:g,pendingBranch:h,isInFallback:_,isHydrating:m}=f;if(h)f.pendingBranch=d,br(d,h)?(l(h,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():_&&(m||(l(g,p,n,r,o,null,i,s,a),us(f,p)))):(f.pendingId=ud++,m?(f.isHydrating=!1,f.activeBranch=h):u(h,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),_?(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():(l(g,p,n,r,o,null,i,s,a),us(f,p))):g&&br(d,g)?(l(g,d,n,r,o,f,i,s,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0&&f.resolve()));else if(g&&br(d,g))l(g,d,n,r,o,f,i,s,a),us(f,d);else if(wa(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=ud++,l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:E,pendingId:y}=f;E>0?setTimeout(()=>{f.pendingId===y&&f.fallback(p)},E):E===0&&f.fallback(p)}}function v1(e,t,n,r,o,i,s,a,l,u,c=!1){const{p:f,m:d,um:p,n:g,o:{parentNode:h,remove:_}}=u;let m;const E=DS(e);E&&t&&t.pendingBranch&&(m=t.pendingId,t.deps++);const y=e.props?Eu(e.props.timeout):void 0,v=i,T={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:ud++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(S=!1,I=!1){const{vnode:D,activeBranch:M,pendingBranch:j,pendingId:B,effects:H,parentComponent:le,container:Te}=T;let De=!1;T.isHydrating?T.isHydrating=!1:S||(De=M&&j.transition&&j.transition.mode==="out-in",De&&(M.transition.afterLeave=()=>{B===T.pendingId&&(d(j,Te,i===v?g(M):i,0),va(H))}),M&&(h(M.el)===Te&&(i=g(M)),p(M,le,T,!0)),De||d(j,Te,i,0)),us(T,j),T.pendingBranch=null,T.isInFallback=!1;let pe=T.parent,ge=!1;for(;pe;){if(pe.pendingBranch){pe.effects.push(...H),ge=!0;break}pe=pe.parent}!ge&&!De&&va(H),T.effects=[],E&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!I&&t.resolve()),wa(D,"onResolve")},fallback(S){if(!T.pendingBranch)return;const{vnode:I,activeBranch:D,parentComponent:M,container:j,namespace:B}=T;wa(I,"onFallback");const H=g(D),le=()=>{T.isInFallback&&(f(null,S,j,H,M,null,B,a,l),us(T,S))},Te=S.transition&&S.transition.mode==="out-in";Te&&(D.transition.afterLeave=le),T.isInFallback=!0,p(D,M,null,!0),Te||le()},move(S,I,D){T.activeBranch&&d(T.activeBranch,S,I,D),T.container=S},next(){return T.activeBranch&&g(T.activeBranch)},registerDep(S,I,D){const M=!!T.pendingBranch;M&&T.deps++;const j=S.vnode.el;S.asyncDep.catch(B=>{Ci(B,S,0)}).then(B=>{if(S.isUnmounted||T.isUnmounted||T.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:H}=S;pd(S,B,!1),j&&(H.el=j);const le=!j&&S.subTree.el;I(S,H,h(j||S.subTree.el),j?null:g(S.subTree),T,s,D),le&&_(le),wc(S,H.el),M&&--T.deps===0&&T.resolve()})},unmount(S,I){T.isUnmounted=!0,T.activeBranch&&p(T.activeBranch,n,S,I),T.pendingBranch&&p(T.pendingBranch,n,S,I)}};return T}function kS(e,t,n,r,o,i,s,a,l){const u=t.suspense=v1(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,i,s);return u.deps===0&&u.resolve(!1,!0),c}function PS(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=hg(r?n.default:n),e.ssFallback=r?hg(n.fallback):xe(zt)}function hg(e){let t;if($e(e)){const n=wi&&e._c;n&&(e._d=!1,me()),e=e(),n&&(e._d=!0,t=En,E1())}return Se(e)&&(e=RS(e)),e=Gn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function b1(e,t){t&&t.pendingBranch?Se(e)?t.effects.push(...e):t.effects.push(e):va(e)}function us(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,wc(r,o))}function DS(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ct=Symbol.for("v-fgt"),Kr=Symbol.for("v-txt"),zt=Symbol.for("v-cmt"),bi=Symbol.for("v-stc"),aa=[];let En=null;function me(e=!1){aa.push(En=e?null:[])}function E1(){aa.pop(),En=aa[aa.length-1]||null}let wi=1;function cd(e,t=!1){wi+=e,e<0&&En&&t&&(En.hasOnce=!0)}function T1(e){return e.dynamicChildren=wi>0?En||ts:null,E1(),wi>0&&En&&En.push(e),e}function mt(e,t,n,r,o,i){return T1(Et(e,t,n,r,o,i,!0))}function Ge(e,t,n,r,o){return T1(xe(e,t,n,r,o,!0))}function Eo(e){return e?e.__v_isVNode===!0:!1}function br(e,t){return e.type===t.type&&e.key===t.key}function MS(e){}const w1=({key:e})=>e??null,uu=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Pt(e)||It(e)||$e(e)?{i:nn,r:e,k:t,f:!!n}:e:null);function Et(e,t=null,n=null,r=0,o=null,i=e===Ct?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&w1(t),ref:t&&uu(t),scopeId:yc,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:nn};return a?(Yp(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Pt(n)?8:16),wi>0&&!s&&En&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&En.push(l),l}const xe=FS;function FS(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Wv)&&(e=zt),Eo(e)){const a=Wn(e,t,!0);return n&&Yp(a,n),wi>0&&!i&&En&&(a.shapeFlag&6?En[En.indexOf(e)]=a:En.push(a)),a.patchFlag=-2,a}if(zS(e)&&(e=e.__vccOpts),t){t=zo(t);let{class:a,style:l}=t;a&&!Pt(a)&&(t.class=Xn(a)),Ot(l)&&(mc(l)&&!Se(l)&&(l=Nt({},l)),t.style=Xo(l))}const s=Pt(e)?1:Cu(e)?128:Dv(e)?64:Ot(e)?4:$e(e)?2:0;return Et(e,t,n,r,o,s,i,!0)}function zo(e){return e?mc(e)||t1(e)?Nt({},e):e:null}function Wn(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,u=t?kt(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&w1(u),ref:t&&t.ref?n&&i?Se(i)?i.concat(uu(t)):[i,uu(t)]:uu(t):i,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!==Ct?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wn(e.ssContent),ssFallback:e.ssFallback&&Wn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&vo(c,l.clone(c)),c}function Qr(e=" ",t=0){return xe(Kr,null,e,t)}function Wp(e,t){const n=xe(bi,null,e);return n.staticCount=t,n}function rn(e="",t=!1){return t?(me(),Ge(zt,null,e)):xe(zt,null,e)}function Gn(e){return e==null||typeof e=="boolean"?xe(zt):Se(e)?xe(Ct,null,e.slice()):Eo(e)?Po(e):xe(Kr,null,String(e))}function Po(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wn(e)}function Yp(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Se(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Yp(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!t1(t)?t._ctx=nn:o===3&&nn&&(nn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $e(t)?(t={default:t,_ctx:nn},n=32):(t=String(t),r&64?(n=16,t=[Qr(t)]):n=8);e.children=t,e.shapeFlag|=n}function kt(...e){const t={};for(let n=0;ntn||nn;let Nu,fd;{const e=cc(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};Nu=t("__VUE_INSTANCE_SETTERS__",n=>tn=n),fd=t("__VUE_SSR_SETTERS__",n=>hs=n)}const Si=e=>{const t=tn;return Nu(e),e.scope.on(),()=>{e.scope.off(),Nu(t)}},dd=()=>{tn&&tn.scope.off(),Nu(null)};function A1(e){return e.vnode.shapeFlag&4}let hs=!1;function R1(e,t=!1,n=!1){t&&fd(t);const{props:r,children:o}=e.vnode,i=A1(e);mS(e,r,i,t),bS(e,o,n||t);const s=i?VS(e,t):void 0;return t&&fd(!1),s}function VS(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,id);const{setup:r}=n;if(r){yo();const o=e.setupContext=r.length>1?O1(e):null,i=Si(e),s=Os(r,e,0,[e.props,o]),a=lc(s);if(_o(),i(),(a||e.sp)&&!Bo(e)&&kp(e),a){if(s.then(dd,dd),t)return s.then(l=>{pd(e,l,t)}).catch(l=>{Ci(l,e,0)});e.asyncDep=s}else pd(e,s,t)}else I1(e,t)}function pd(e,t,n){$e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ot(t)&&(e.setupState=xp(t)),I1(e,n)}let Lu,hd;function $S(e){Lu=e,hd=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Qw))}}const BS=()=>!Lu;function I1(e,t,n){const r=e.type;if(!e.render){if(!t&&Lu&&!r.render){const o=r.template||zp(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=Nt(Nt({isCustomElement:i,delimiters:a},s),l);r.render=Lu(o,u)}}e.render=r.render||cr,hd&&hd(e)}{const o=Si(e);yo();try{uS(e)}finally{_o(),o()}}}const HS={get(e,t){return vn(e,"get",""),e[t]}};function O1(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,HS),slots:e.slots,emit:e.emit,expose:t}}function Ya(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(xp(Av(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sa)return sa[n](e)},has(t,n){return n in t||n in sa}})):e.proxy}function gd(e,t=!0){return $e(e)?e.displayName||e.name:e.name||t&&e.__name}function zS(e){return $e(e)&&"__vccOpts"in e}const ne=(e,t)=>mw(e,t,hs);function dt(e,t,n){const r=arguments.length;return r===2?Ot(t)&&!Se(t)?Eo(t)?xe(e,null,[t]):xe(e,t):xe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Eo(n)&&(n=[n]),xe(e,t,n))}function GS(){}function KS(e,t,n,r){const o=n[r];if(o&&x1(o,e))return o;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function x1(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&En&&En.push(e),!0}const C1="3.5.17",qS=cr,WS=Aw,YS=Ki,XS=kv,JS={createComponentInstance:S1,setupComponent:R1,renderComponentRoot:lu,setCurrentRenderingInstance:Ea,isVNode:Eo,normalizeVNode:Gn,getComponentPublicInstance:Ya,ensureValidVNode:Hp,pushWarningContext:Ew,popWarningContext:Tw},QS=JS,ZS=null,eA=null,tA=null;/** * @vue/runtime-dom v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let md;const gg=typeof window<"u"&&window.trustedTypes;if(gg)try{md=gg.createPolicy("vue",{createHTML:e=>e})}catch{}const N1=md?e=>md.createHTML(e):e=>e,nA="http://www.w3.org/2000/svg",rA="http://www.w3.org/1998/Math/MathML",so=typeof document<"u"?document:null,mg=so&&so.createElement("template"),oA={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?so.createElementNS(nA,e):t==="mathml"?so.createElementNS(rA,e):n?so.createElement(e,{is:n}):so.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>so.createTextNode(e),createComment:e=>so.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>so.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{mg.innerHTML=N1(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=mg.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ro="transition",Bs="animation",gs=Symbol("_vtc"),L1={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},k1=Nt({},Lp,L1),iA=e=>(e.displayName="Transition",e.props=k1,e),P1=iA((e,{slots:t})=>dt($v,D1(e),t)),ci=(e,t=[])=>{Se(e)?e.forEach(n=>n(...t)):e&&e(...t)},yg=e=>e?Se(e)?e.some(t=>t.length>1):e.length>1:!1;function D1(e){const t={};for(const H in e)H in L1||(t[H]=e[H]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,g=sA(o),h=g&&g[0],_=g&&g[1],{onBeforeEnter:m,onEnter:E,onEnterCancelled:y,onLeave:v,onLeaveCancelled:T,onBeforeAppear:S=m,onAppear:I=E,onAppearCancelled:D=y}=t,M=(H,le,Te,De)=>{H._enterCancelled=De,Oo(H,le?c:a),Oo(H,le?u:s),Te&&Te()},j=(H,le)=>{H._isLeaving=!1,Oo(H,f),Oo(H,p),Oo(H,d),le&&le()},B=H=>(le,Te)=>{const De=H?I:E,pe=()=>M(le,H,Te);ci(De,[le,pe]),_g(()=>{Oo(le,H?l:i),Pr(le,H?c:a),yg(De)||vg(le,r,h,pe)})};return Nt(t,{onBeforeEnter(H){ci(m,[H]),Pr(H,i),Pr(H,s)},onBeforeAppear(H){ci(S,[H]),Pr(H,l),Pr(H,u)},onEnter:B(!1),onAppear:B(!0),onLeave(H,le){H._isLeaving=!0;const Te=()=>j(H,le);Pr(H,f),H._enterCancelled?(Pr(H,d),yd()):(yd(),Pr(H,d)),_g(()=>{H._isLeaving&&(Oo(H,f),Pr(H,p),yg(v)||vg(H,r,_,Te))}),ci(v,[H,Te])},onEnterCancelled(H){M(H,!1,void 0,!0),ci(y,[H])},onAppearCancelled(H){M(H,!0,void 0,!0),ci(D,[H])},onLeaveCancelled(H){j(H),ci(T,[H])}})}function sA(e){if(e==null)return null;if(Ot(e))return[of(e.enter),of(e.leave)];{const t=of(e);return[t,t]}}function of(e){return Eu(e)}function Pr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[gs]||(e[gs]=new Set)).add(t)}function Oo(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[gs];n&&(n.delete(t),n.size||(e[gs]=void 0))}function _g(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let aA=0;function vg(e,t,n,r){const o=e._endId=++aA,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=M1(e,t);if(!s)return r();const u=s+"end";let c=0;const f=()=>{e.removeEventListener(u,d),i()},d=p=>{p.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[g]||"").split(", "),o=r(`${Ro}Delay`),i=r(`${Ro}Duration`),s=bg(o,i),a=r(`${Bs}Delay`),l=r(`${Bs}Duration`),u=bg(a,l);let c=null,f=0,d=0;t===Ro?s>0&&(c=Ro,f=s,d=i.length):t===Bs?u>0&&(c=Bs,f=u,d=l.length):(f=Math.max(s,u),c=f>0?s>u?Ro:Bs:null,d=c?c===Ro?i.length:l.length:0);const p=c===Ro&&/\b(transform|all)(,|$)/.test(r(`${Ro}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function bg(e,t){for(;e.lengthEg(n)+Eg(e[r])))}function Eg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function yd(){return document.body.offsetHeight}function lA(e,t,n){const r=e[gs];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ku=Symbol("_vod"),F1=Symbol("_vsh"),U1={beforeMount(e,{value:t},{transition:n}){e[ku]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Hs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Hs(e,!0),r.enter(e)):r.leave(e,()=>{Hs(e,!1)}):Hs(e,t))},beforeUnmount(e,{value:t}){Hs(e,t)}};function Hs(e,t){e.style.display=t?e[ku]:"none",e[F1]=!t}function uA(){U1.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const j1=Symbol("");function cA(e){const t=St();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Pu(i,o))},r=()=>{const o=e(t.proxy);t.ce?Pu(t.ce,o):_d(t.subTree,o),n(o)};Fp(()=>{va(r)}),ln(()=>{wt(r,cr,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),So(()=>o.disconnect())})}function _d(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{_d(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Pu(e.el,t);else if(e.type===Ct)e.children.forEach(n=>_d(n,t));else if(e.type===bi){let{el:n,anchor:r}=e;for(;n&&(Pu(n,t),n!==r);)n=n.nextSibling}}function Pu(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[j1]=r}}const fA=/(^|;)\s*display\s*:/;function dA(e,t,n){const r=e.style,o=Pt(n);let i=!1;if(n&&!o){if(t)if(Pt(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&cu(r,a,"")}else for(const s in t)n[s]==null&&cu(r,s,"");for(const s in n)s==="display"&&(i=!0),cu(r,s,n[s])}else if(o){if(t!==n){const s=r[j1];s&&(n+=";"+s),r.cssText=n,i=fA.test(n)}}else t&&e.removeAttribute("style");ku in e&&(e[ku]=i?r.display:"",e[F1]&&(r.display="none"))}const Tg=/\s*!important$/;function cu(e,t,n){if(Se(n))n.forEach(r=>cu(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=pA(e,t);Tg.test(n)?e.setProperty(Kn(r),n.replace(Tg,""),"important"):e[r]=n}}const wg=["Webkit","Moz","ms"],sf={};function pA(e,t){const n=sf[t];if(n)return n;let r=an(t);if(r!=="filter"&&r in e)return sf[t]=r;r=Ha(r);for(let o=0;oaf||(yA.then(()=>af=0),af=Date.now());function vA(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;pr(bA(r,n.value),t,5,[r])};return n.value=e,n.attached=_A(),n}function bA(e,t){if(Se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const xg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,EA=(e,t,n,r,o,i)=>{const s=o==="svg";t==="class"?lA(e,r,s):t==="style"?dA(e,n,r):$a(t)?Tp(t)||gA(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):TA(e,t,r,s))?(Rg(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ag(e,t,r,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Pt(r))?Rg(e,an(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ag(e,t,r,s))};function TA(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&xg(t)&&$e(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return xg(t)&&Pt(n)?!1:t in e}const Cg={};/*! #__NO_SIDE_EFFECTS__ */function V1(e,t,n){const r=Ce(e,t);Ba(r)&&Nt(r,t);class o extends Ac{constructor(s){super(r,s,n)}}return o.def=r,o}/*! #__NO_SIDE_EFFECTS__ */const wA=(e,t)=>V1(e,t,Qp),SA=typeof HTMLElement<"u"?HTMLElement:class{};class Ac extends SA{constructor(t,n={},r=Fu){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==Fu?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Ac){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Yt(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r{for(const o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:s}=r;let a;if(i&&!Se(i))for(const l in i){const u=i[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Eu(this._props[l])),(a||(a=Object.create(null)))[an(l)]=!0)}this._numberProps=a,this._resolveProps(r),this.shadowRoot&&this._applyStyles(s),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>{r.configureApp=this._def.configureApp,t(this._def=r,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)yt(this,r)||Object.defineProperty(this,r,{get:()=>W(n[r])})}_resolveProps(t){const{props:n}=t,r=Se(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(an))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):Cg;const o=an(t);n&&this._numberProps&&this._numberProps[o]&&(r=Eu(r)),this._setProp(o,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!1){if(n!==this._props[t]&&(n===Cg?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),o&&this._instance&&this._update(),r)){const i=this._ob;i&&i.disconnect(),n===!0?this.setAttribute(Kn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Kn(t),n+""):n||this.removeAttribute(Kn(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),J1(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=xe(this._def,Nt(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(i,s)=>{this.dispatchEvent(new CustomEvent(i,Ba(s[0])?Nt({detail:s},s[0]):{detail:s}))};r.emit=(i,...s)=>{o(i,s),Kn(i)!==i&&o(Kn(i),s)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let o=t.length-1;o>=0;o--){const i=document.createElement("style");r&&i.setAttribute("nonce",r),i.textContent=t[o],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r(delete e.props.mode,e),OA=IA({name:"TransitionGroup",props:Nt({},k1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=St(),r=Np();let o,i;return bc(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!kA(o[0].el,n.vnode.el,s)){o=[];return}o.forEach(CA),o.forEach(NA);const a=o.filter(LA);yd(),a.forEach(l=>{const u=l.el,c=u.style;Pr(u,s),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[Du]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",f),u[Du]=null,Oo(u,s))};u.addEventListener("transitionend",f)}),o=[]}),()=>{const s=at(e),a=D1(s);let l=s.tag||Ct;if(o=[],i)for(let u=0;u{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=M1(r);return i.removeChild(r),s}const Yo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Se(t)?n=>is(t,n):t};function PA(e){e.target.composing=!0}function Lg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const fr=Symbol("_assign"),Mu={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[fr]=Yo(o);const i=r||o.props&&o.props.type==="number";co(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=bu(a)),e[fr](a)}),n&&co(e,"change",()=>{e.value=e.value.trim()}),t||(co(e,"compositionstart",PA),co(e,"compositionend",Lg),co(e,"change",Lg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},s){if(e[fr]=Yo(s),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?bu(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},Xp={deep:!0,created(e,t,n){e[fr]=Yo(n),co(e,"change",()=>{const r=e._modelValue,o=ms(e),i=e.checked,s=e[fr];if(Se(r)){const a=fc(r,o),l=a!==-1;if(i&&!l)s(r.concat(o));else if(!i&&l){const u=[...r];u.splice(a,1),s(u)}}else if(xi(r)){const a=new Set(r);i?a.add(o):a.delete(o),s(a)}else s(G1(e,i))})},mounted:kg,beforeUpdate(e,t,n){e[fr]=Yo(n),kg(e,t,n)}};function kg(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(Se(t))o=fc(t,r.props.value)>-1;else if(xi(t))o=t.has(r.props.value);else{if(t===n)return;o=Wo(t,G1(e,!0))}e.checked!==o&&(e.checked=o)}const Jp={created(e,{value:t},n){e.checked=Wo(t,n.props.value),e[fr]=Yo(n),co(e,"change",()=>{e[fr](ms(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[fr]=Yo(r),t!==n&&(e.checked=Wo(t,r.props.value))}},z1={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=xi(t);co(e,"change",()=>{const i=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>n?bu(ms(s)):ms(s));e[fr](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,Yt(()=>{e._assigning=!1})}),e[fr]=Yo(r)},mounted(e,{value:t}){Pg(e,t)},beforeUpdate(e,t,n){e[fr]=Yo(n)},updated(e,{value:t}){e._assigning||Pg(e,t)}};function Pg(e,t){const n=e.multiple,r=Se(t);if(!(n&&!r&&!xi(t))){for(let o=0,i=e.options.length;oString(u)===String(a)):s.selected=fc(t,a)>-1}else s.selected=t.has(a);else if(Wo(ms(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ms(e){return"_value"in e?e._value:e.value}function G1(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const K1={created(e,t,n){Nl(e,t,n,null,"created")},mounted(e,t,n){Nl(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Nl(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Nl(e,t,n,r,"updated")}};function q1(e,t){switch(e){case"SELECT":return z1;case"TEXTAREA":return Mu;default:switch(t){case"checkbox":return Xp;case"radio":return Jp;default:return Mu}}}function Nl(e,t,n,r,o){const s=q1(e.tagName,n.props&&n.props.type)[o];s&&s(e,t,n,r)}function DA(){Mu.getSSRProps=({value:e})=>({value:e}),Jp.getSSRProps=({value:e},t)=>{if(t.props&&Wo(t.props.value,e))return{checked:!0}},Xp.getSSRProps=({value:e},t)=>{if(Se(e)){if(t.props&&fc(e,t.props.value)>-1)return{checked:!0}}else if(xi(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},K1.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=q1(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const MA=["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)=>MA.some(n=>e[`${n}Key`]&&!t.includes(n))},UA=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...i)=>{for(let s=0;s{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=Kn(o.key);if(t.some(s=>s===i||jA[s]===i))return e(o)})},W1=Nt({patchProp:EA},oA);let la,Dg=!1;function Y1(){return la||(la=a1(W1))}function X1(){return la=Dg?la:l1(W1),Dg=!0,la}const J1=(...e)=>{Y1().render(...e)},$A=(...e)=>{X1().hydrate(...e)},Fu=(...e)=>{const t=Y1().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Z1(r);if(!o)return;const i=t._component;!$e(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,Q1(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Qp=(...e)=>{const t=X1().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Z1(r);if(o)return n(o,!0,Q1(o))},t};function Q1(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Z1(e){return Pt(e)?document.querySelector(e):e}let Mg=!1;const BA=()=>{Mg||(Mg=!0,DA(),uA())};/** * vue v3.5.17 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const HA=()=>{},zA=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:$v,BaseTransitionPropsValidators:Lp,Comment:zt,DeprecationTypes:tA,EffectScope:Ap,ErrorCodes:Sw,ErrorTypeStrings:WS,Fragment:Ct,KeepAlive:Hv,ReactiveEffect:ga,Static:bi,Suspense:Sc,Teleport:Fv,Text:Kr,TrackOpTypes:yw,Transition:P1,TransitionGroup:xA,TriggerOpTypes:_w,VueElement:Ac,assertNumber:ww,callWithAsyncErrorHandling:pr,callWithErrorHandling:Os,camelize:an,capitalize:Ha,cloneVNode:Wn,compatUtils:eA,compile:HA,computed:ne,createApp:Fu,createBlock:Ge,createCommentVNode:rn,createElementBlock:mt,createElementVNode:Et,createHydrationRenderer:l1,createPropsRestProxy:lS,createRenderer:a1,createSSRApp:Qp,createSlots:Bp,createStaticVNode:Wp,createTextVNode:Qr,createVNode:xe,customRef:Ga,defineAsyncComponent:bo,defineComponent:Ce,defineCustomElement:V1,defineEmits:eS,defineExpose:tS,defineModel:oS,defineOptions:nS,defineProps:Zw,defineSSRCustomElement:wA,defineSlots:rS,devtools:YS,effect:BT,effectScope:Is,getCurrentInstance:St,getCurrentScope:To,getCurrentWatcher:vw,getTransitionRawChildren:_c,guardReactiveProps:zo,h:dt,handleError:Ci,hasInjectionContext:Qo,hydrate:$A,hydrateOnIdle:$w,hydrateOnInteraction:Gw,hydrateOnMediaQuery:zw,hydrateOnVisible:Hw,initCustomFormatter:GS,initDirectivesForSSR:BA,inject:jt,isMemoSame:x1,isProxy:mc,isReactive:$o,isReadonly:Xr,isRef:It,isRuntimeOnly:BS,isShallow:tr,isVNode:Eo,markRaw:Av,mergeDefaults:aS,mergeModels:Xv,mergeProps:kt,nextTick:Yt,normalizeClass:Xn,normalizeProps:Vo,normalizeStyle:Xo,onActivated:Pp,onBeforeMount:Mp,onBeforeUnmount:Jo,onBeforeUpdate:Fp,onDeactivated:Dp,onErrorCaptured:Up,onMounted:ln,onRenderTracked:qv,onRenderTriggered:Kv,onScopeDispose:Yr,onServerPrefetch:Gv,onUnmounted:So,onUpdated:bc,onWatcherCleanup:Ov,openBlock:me,popScopeId:xw,provide:Gr,proxyRefs:xp,pushScopeId:Ow,queuePostFlushCb:va,reactive:Sn,readonly:za,ref:Fe,registerRuntimeCompiler:$S,render:J1,renderList:$p,renderSlot:pt,resolveComponent:Iu,resolveDirective:Xw,resolveDynamicComponent:Ho,resolveFilter:ZS,resolveTransitionHooks:ps,setBlockTracking:cd,setDevtoolsHook:XS,setTransitionHooks:vo,shallowReactive:Er,shallowReadonly:lw,shallowRef:An,ssrContextKey:d1,ssrUtils:QS,stop:HT,toDisplayString:rr,toHandlerKey:os,toHandlers:Jw,toRaw:at,toRef:Ka,toRefs:_a,toValue:gt,transformVNodeArgs:MS,triggerRef:cw,unref:W,useAttrs:Ec,useCssModule:RA,useCssVars:cA,useHost:$1,useId:au,useModel:m1,useSSRContext:p1,useShadowRoot:AA,useSlots:sS,useTemplateRef:Pw,useTransitionState:Np,vModelCheckbox:Xp,vModelDynamic:K1,vModelRadio:Jp,vModelSelect:z1,vModelText:Mu,vShow:U1,version:C1,warn:qS,watch:wt,watchEffect:Jr,watchPostEffect:wS,watchSyncEffect:h1,withAsyncContext:ls,withCtx:Ve,withDefaults:iS,withDirectives:Nw,withKeys:VA,withMemo:KS,withModifiers:UA,withScopeId:Cw},Symbol.toStringTag,{value:"Module"})),GA=/"(?:_|\\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*:/,KA=/"(?: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*:/,qA=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function WA(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){YA(e);return}return t}function YA(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function XA(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 r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!qA.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(GA.test(e)||KA.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,WA)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const JA=/#/g,QA=/&/g,ZA=/\//g,eR=/=/g,Zp=/\+/g,tR=/%5e/gi,nR=/%60/gi,rR=/%7c/gi,oR=/%20/gi;function iR(e){return encodeURI(""+e).replace(rR,"|")}function vd(e){return iR(typeof e=="string"?e:JSON.stringify(e)).replace(Zp,"%2B").replace(oR,"+").replace(JA,"%23").replace(QA,"%26").replace(nR,"`").replace(tR,"^").replace(ZA,"%2F")}function lf(e){return vd(e).replace(eR,"%3D")}function ys(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function sR(e){return ys(e.replace(Zp," "))}function aR(e){return ys(e.replace(Zp," "))}function Rc(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=sR(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=aR(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function lR(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${lf(e)}=${vd(n)}`).join("&"):`${lf(e)}=${vd(t)}`:lf(e)}function uR(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>lR(t,e[t])).filter(Boolean).join("&")}const cR=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,fR=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,dR=/^([/\\]\s*){2,}[^/\\]/,pR=/^[\s\0]*(blob|data|javascript|vbscript):$/i,hR=/\/$|\/\?|\/#/,gR=/^\.?\//;function Mn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?cR.test(e):fR.test(e)||(t.acceptRelative?dR.test(e):!1)}function eb(e){return!!e&&pR.test(e)}function bd(e="",t){return t?hR.test(e):e.endsWith("/")}function Ai(e="",t){if(!t)return(bd(e)?e.slice(0,-1):e)||"/";if(!bd(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o!==-1&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function Sa(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(bd(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o!==-1&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function mR(e=""){return e.startsWith("/")}function Ed(e=""){return mR(e)?e:"/"+e}function tb(e,t){if(nb(t)||Mn(e))return e;const n=Ai(t);return e.startsWith(n)?e:hr(n,e)}function Fg(e,t){if(nb(t))return e;const n=Ai(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Xa(e,t){const n=Ic(e),r={...Rc(n.search),...t};return n.search=uR(r),vR(n)}function nb(e){return!e||e==="/"}function yR(e){return e&&e!=="/"}function hr(e,...t){let n=e||"";for(const r of t.filter(o=>yR(o)))if(n){const o=r.replace(gR,"");n=Sa(n)+o}else n=r;return n}function rb(...e){var s,a,l,u;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const c of n)if(!(!c||c==="/")){for(const[f,d]of c.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&Mn(r[0]))continue;r.pop(),o--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),o++}}let i=r.join("/");return o>=0?(a=n[0])!=null&&a.startsWith("/")&&!i.startsWith("/")?i="/"+i:(l=n[0])!=null&&l.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,(u=n[n.length-1])!=null&&u.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function _R(e,t){return ys(Ai(e))===ys(Ai(t))}function Ug(e,t,n={}){return n.trailingSlash||(e=Sa(e),t=Sa(t)),n.leadingSlash||(e=Ed(e),t=Ed(t)),n.encoding||(e=ys(e),t=ys(t)),e===t}const ob=Symbol.for("ufo:protocolRelative");function Ic(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(!Mn(e,{acceptRelative:!0}))return Td(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=Td(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:l,search:u,hash:c,[ob]:!r}}function Td(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function vR(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[ob]?(e.protocol||"")+"//":"")+o+i+t+n+r}class bR extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function ER(e){var l,u,c,f,d;const t=((l=e.error)==null?void 0:l.message)||((u=e.error)==null?void 0:u.toString())||"",n=((c=e.request)==null?void 0:c.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"",s=`${o}: ${i}${t?` ${t}`:""}`,a=new bR(s,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(a,p,{get(){return e[p]}});for(const[p,g]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,p,{get(){return e.response&&e.response[g]}});return a}const TR=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function jg(e="GET"){return TR.has(e.toUpperCase())}function wR(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 SR=new Set(["image/svg","application/xml","application/xhtml","application/html"]),AR=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function RR(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return AR.test(t)?"json":SR.has(t)||t.startsWith("text/")?"text":"blob"}function IR(e,t,n,r){const o=OR((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let i;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(i={...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:i,params:i,headers:o}}function OR(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,i);return r}async function Ll(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const xR=new Set([408,409,425,429,500,502,503,504]),CR=new Set([101,204,205,304]);function ib(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=jg(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):xR.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(a.request,{...a.options,retry:c-1})}}const u=ER(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(l,u={}){const c={request:l,options:IR(l,u,e.defaults,n),response:void 0,error:void 0};c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&await Ll(c,c.options.onRequest),typeof c.request=="string"&&(c.options.baseURL&&(c.request=tb(c.request,c.options.baseURL)),c.options.query&&(c.request=Xa(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&jg(c.options.method)&&(wR(c.options.body)?(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half")));let f;if(!c.options.signal&&c.options.timeout){const p=new r;f=setTimeout(()=>{const g=new Error("[TimeoutError]: The operation was aborted due to timeout");g.name="TimeoutError",g.code=23,p.abort(g)},c.options.timeout),c.options.signal=p.signal}try{c.response=await t(c.request,c.options)}catch(p){return c.error=p,c.options.onRequestError&&await Ll(c,c.options.onRequestError),await o(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!CR.has(c.response.status)&&c.options.method!=="HEAD"){const p=(c.options.parseResponse?"json":c.options.responseType)||RR(c.response.headers.get("content-type")||"");switch(p){case"json":{const g=await c.response.text(),h=c.options.parseResponse||XA;c.response._data=h(g);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[p]()}}return c.options.onResponse&&await Ll(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Ll(c,c.options.onResponseError),await o(c)):c.response},s=async function(l,u){return(await i(l,u))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={},l={})=>ib({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),s}const Uu=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")}(),NR=Uu.fetch?(...e)=>Uu.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),LR=Uu.Headers,kR=Uu.AbortController,PR=ib({fetch:NR,Headers:LR,AbortController:kR}),DR=PR,MR=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},ju=MR().app,FR=()=>ju.baseURL,UR=()=>ju.buildAssetsDir,eh=(...e)=>rb(sb(),UR(),...e),sb=(...e)=>{const t=ju.cdnURL||ju.baseURL;return e.length?rb(t,...e):t};globalThis.__buildAssetsURL=eh,globalThis.__publicAssetsURL=sb;globalThis.$fetch||(globalThis.$fetch=DR.create({baseURL:FR()}));"global"in globalThis||(globalThis.global=globalThis);function wd(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?wd(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const jR={run:e=>e()},VR=()=>jR,ab=typeof console.createTask<"u"?console.createTask:VR;function $R(e,t){const n=t.shift(),r=ab(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function BR(e,t){const n=t.shift(),r=ab(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function uf(e,t){for(const n of[...e])n(t)}class HR{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=wd(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=wd(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith($R,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(BR,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&uf(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&uf(this._after,o)}):(this._after&&o&&uf(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function lb(){return new HR}function zR(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,a)=>{r(s),t=s;try{return o?o.run(s,a):a()}finally{n||(t=void 0)}},async callAsync(s,a){t=s;const l=()=>{t=s},u=()=>t===s?l:void 0;Sd.add(u);try{const c=o?o.run(s,a):a();return n||(t=void 0),await c}finally{Sd.delete(u)}}}}function GR(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=zR({...e,...r})),t[n]}}}const Vu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Vg="__unctx__",KR=Vu[Vg]||(Vu[Vg]=GR()),ub=(e,t={})=>KR.get(e,t),$g="__unctx_async_handlers__",Sd=Vu[$g]||(Vu[$g]=new Set);function qn(e){const t=[];for(const o of Sd){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const qR=!1,Bg=!1,WR=!1,Hg={id:"__nuxt-loader"},YR={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},fo={deep:!1},XR=void 0,JR={},QR="#__nuxt",th="nuxt-app",zg=36e5,ZR="vite:preloadError";function cb(e=th){return ub(e,{asyncContext:!1})}const eI="__nuxt_plugin";function tI(e){var o;let t=0;const n={_id:e.id||th||"nuxt-app",_scope:Is(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.17.4"},get vue(){return n.vueApp.version}},payload:Er({...((o=e.ssrContext)==null?void 0:o.payload)||{},data:Er({}),state:Sn({}),once:new Set,_errors:Er({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!To()?n._scope.run(()=>Gg(n,i)):Gg(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let i=!1;return()=>{if(!i&&(i=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Er({}),_payloadRevivers:{},...e};{const i=window.__NUXT__;if(i)for(const s in i)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],i[s]);break;default:n.payload[s]=i[s]}}n.hooks=lb(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,s)=>{const a="$"+i;kl(n,a,s),kl(n.vueApp.config.globalProperties,a,s)},kl(n.vueApp,"$nuxt",n),kl(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(ZR,s=>{n.callHook("app:chunkError",{error:s.payload}),s.payload.message.includes("Unable to preload CSS")&&s.preventDefault()}),window.useNuxtApp||(window.useNuxtApp=Be);const i=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",i)}const r=n.payload.config;return n.provide("config",r),n}function nI(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function rI(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function oI(e,t){const n=new Set,r=[],o=[],i=[];let s=0;async function a(l){var c;const u=((c=l.dependsOn)==null?void 0:c.filter(f=>t.some(d=>d._name===f)&&!n.has(f)))??[];if(u.length>0)r.push([new Set(u),l]);else{const f=rI(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([d,p])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(s++,await a(p)))})))});l.parallel?o.push(f.catch(d=>i.push(d))):await f}}for(const l of t)nI(e,l);for(const l of t)await a(l);if(await Promise.all(o),s)for(let l=0;l{}),e,{[eI]:!0,_name:t})}function Gg(e,t,n){const r=()=>t();return cb(e._id).set(e),e.vueApp.runWithContext(r)}function iI(e){var n;let t;return Qo()&&(t=(n=St())==null?void 0:n.appContext.app.$nuxt),t||(t=cb(e).tryUse()),t||null}function Be(e){const t=iI(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Dt(e){return Be().$config}function kl(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function sI(e,t){return{ctx:{table:e},matchAll:n=>db(n,e)}}function fb(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,fb(o)])):new Map(Object.entries(e[n]));return t}function aI(e){return sI(fb(e))}function db(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of Kg(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of Kg(t.dynamic))if(e.startsWith(i+"/")){const a="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...db(a,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function Kg(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}const lI=/"(?:_|\\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*:/,uI=/"(?: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*:/,cI=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function fI(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){dI(e);return}return t}function dI(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Aa(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!cI.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(lI.test(e)||uI.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,fI)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}function cf(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 Ad(e,t,n=".",r){if(!cf(t))return Ad(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:cf(s)&&cf(o[i])?o[i]=Ad(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function pI(e){return(...t)=>t.reduce((n,r)=>Ad(n,r,"",e),{})}const Ja=pI();function hI(e,t){try{return t in e}catch{return!1}}class Rd extends Error{constructor(n,r={}){super(n,r);Vn(this,"statusCode",500);Vn(this,"fatal",!1);Vn(this,"unhandled",!1);Vn(this,"statusMessage");Vn(this,"data");Vn(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:Id(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=pb(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}Vn(Rd,"__h3_error__",!0);function gI(e){if(typeof e=="string")return new Rd(e);if(mI(e))return e;const t=new Rd(e.message??e.statusMessage??"",{cause:e.cause||e});if(hI(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=Id(e.statusCode,t.statusCode):e.status&&(t.statusCode=Id(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;pb(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 mI(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const yI=/[^\u0009\u0020-\u007E]/g;function pb(e=""){return e.replace(yI,"")}function Id(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const hb=Symbol("layout-meta"),Ri=Symbol("route"),Vt=()=>{var e;return(e=Be())==null?void 0:e.$router},Rn=()=>Qo()?jt(Ri,Be()._route):Be()._route;function aB(e){return e}const _I=(e,t,n={})=>{const r=Be(),o=n.global||!1,i=t;if(!i){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}o?r._middleware.global.push(i):r._middleware.named[e]=i},vI=()=>{try{if(Be()._processingMiddleware)return!0}catch{return!1}return!1},Do=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Od(e):Vt().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:u={}}=t.open,c=Object.entries(u).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,c),Promise.resolve()}const r=Mn(n,{acceptRelative:!0}),o=(t==null?void 0:t.external)||r;if(o){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:l}=new URL(n,window.location.href);if(l&&eb(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const i=vI();if(!o&&i){if(t!=null&&t.replace){if(typeof e=="string"){const{pathname:l,search:u,hash:c}=Ic(e);return{path:l,...u&&{query:Rc(u)},...c&&{hash:c},replace:!0}}return{...e,replace:!0}}return e}const s=Vt(),a=Be();return o?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)};function Od(e){return Xa(e.path||"",e.query||{})+(e.hash||"")}const gb="__nuxt_error",Qa=()=>Ka(Be().payload,"error"),hi=e=>{const t=Go(e);try{const n=Be(),r=Qa();n.hooks.callHook("app:error",t),r.value||(r.value=t)}catch{throw t}return t},bI=async(e={})=>{const t=Be(),n=Qa();t.callHook("app:error:cleared",e),e.redirect&&await Vt().replace(e.redirect),n.value=XR},mb=e=>!!e&&typeof e=="object"&&gb in e,Go=e=>{const t=gI(e);return Object.defineProperty(t,gb,{value:!0,configurable:!1,writable:!1}),t};function qg(e){const t=TI(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let o=0;o>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const wI=-1,SI=-2,AI=-3,RI=-4,II=-5,OI=-6;function xI(e,t){return CI(JSON.parse(e),t)}function CI(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(i,s=!1){if(i===wI)return;if(i===AI)return NaN;if(i===RI)return 1/0;if(i===II)return-1/0;if(i===OI)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],u=t==null?void 0:t[l];if(u)return r[i]=u(o(a[1]));switch(l){case"Date":r[i]=new Date(a[1]);break;case"Set":const c=new Set;r[i]=c;for(let p=1;p`${r}:${String(o)}`).join(",")}`}function $u(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let o;if(t&&(o=t(n,e)),Array.isArray(o))return o.map(i=>$u(i,t));if((o==null?void 0:o.constructor)===Object){const i={};for(const s of Object.keys(o))i[s]=$u(o[s],t,s);return i}return o}function jI(e,t){const n=e==="style"?new Map:new Set;function r(o){const i=o.trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(l=>l.trim());s&&a.length&&n.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>n.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(o=>r(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?n.set(o.trim(),i):r(o))}),n}function _b(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=jI(n,r);return}if(DI.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let s=t.type;if(t.type||(s="application/json"),!(s!=null&&s.endsWith("json"))&&s!=="speculationrules")return;t.type=s,e.props.type=s,e[n]=JSON.stringify(r)}else e[n]=r;return}const o=String(r),i=n.startsWith("data-");o==="true"||o===""?e.props[n]=i?o:!0:!r&&i&&o==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e}function VI(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=_b({tag:e,props:{}},n);return r.key&&NI.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function $I(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,i)=>{for(let s=0;s{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])r.push(VI(o,s))}),r.flat()}const Xg=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Jg={base:-10,title:10},BI={critical:-8,high:-1,low:2},Qg={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},HI=/@import/,zs=e=>e===""||e===!0;function zI(e,t){var i;if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=BI[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Qg;if(t.tag in Jg)n=Jg[t.tag];else if(t.tag==="meta"){const s=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;s&&(n=Qg.meta[s])}else t.tag==="link"&&t.props.rel?n=o.link[t.props.rel]:t.tag==="script"?zs(t.props.async)?n=o.script.async:t.props.src&&!zs(t.props.defer)&&!zs(t.props.async)&&t.props.type!=="module"&&!((i=t.props.type)!=null&&i.endsWith("json"))?n=o.script.sync:zs(t.props.defer)&&t.props.src&&!zs(t.props.async)&&(n=o.script.defer):t.tag==="style"&&(n=t.innerHTML&&HI.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+r}function Zg(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function GI(e={}){var a;const t=lb();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,o=new Map,i=[],s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>Zg(s,l),push(l,u){const c={...u||{}};delete c.head;const f=c._index??s._entryCount++,d={_i:f,input:l,options:c},p={_poll(g=!1){s.dirty=!0,!g&&i.push(f),t.callHook("entries:updated",s)},dispose(){r.delete(f)&&p._poll(!0)},patch(g){(!c.mode||c.mode==="server"&&n||c.mode==="client"&&!n)&&(d.input=g,r.set(f,d),p._poll())}};return p.patch(l),p},async resolveTags(){var p;const l={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",l);i.length;){const g=i.shift(),h=r.get(g);if(h){const _={tags:$I(h.input,e.propResolvers||[]).map(m=>Object.assign(m,h.options)),entry:h};await t.callHook("entries:normalize",_),h._tags=_.tags.map((m,E)=>(m._w=zI(s,m),m._p=(h._i<<10)+E,m._d=xd(m),m))}}let u=!1;l.entries.flatMap(g=>(g._tags||[]).map(h=>({...h,props:{...h.props}}))).sort(Xg).reduce((g,h)=>{const _=String(h._d||h._p);if(!g.has(_))return g.set(_,h);const m=g.get(_);if(((h==null?void 0:h.tagDuplicateStrategy)||(MI.has(h.tag)?"merge":null)||(h.key&&h.key===m.key?"merge":null))==="merge"){const y={...m.props};Object.entries(h.props).forEach(([v,T])=>y[v]=v==="style"?new Map([...m.props.style||new Map,...T]):v==="class"?new Set([...m.props.class||new Set,...T]):T),g.set(_,{...h,props:y})}else h._p>>10===m._p>>10&&h.tag==="meta"&&yb(_)?(g.set(_,Object.assign([...Array.isArray(m)?m:[m],h],h)),u=!0):(h._w===m._w?h._p>m._p:(h==null?void 0:h._w)<(m==null?void 0:m._w))&&g.set(_,h);return g},l.tagMap);const c=l.tagMap.get("title"),f=l.tagMap.get("titleTemplate");if(s._title=c==null?void 0:c.textContent,f){const g=f==null?void 0:f.textContent;if(s._titleTemplate=g,g){let h=typeof g=="function"?g(c==null?void 0:c.textContent):g;typeof h=="string"&&!s.plugins.has("template-params")&&(h=h.replace("%s",(c==null?void 0:c.textContent)||"")),c?h===null?l.tagMap.delete("title"):l.tagMap.set("title",{...c,textContent:h}):(f.tag="title",f.textContent=h)}}l.tags=Array.from(l.tagMap.values()),u&&(l.tags=l.tags.flat().sort(Xg)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const d=[];for(const g of l.tags){const{innerHTML:h,tag:_,props:m}=g;if(kI.has(_)&&!(Object.keys(m).length===0&&!g.innerHTML&&!g.textContent)&&!(_==="meta"&&!m.content&&!m["http-equiv"]&&!m.charset)){if(_==="script"&&h){if((p=m.type)!=null&&p.endsWith("json")){const E=typeof h=="string"?h:JSON.stringify(h);g.innerHTML=E.replace(/Zg(s,l)),s.hooks.callHook("init",s),(a=e.init)==null||a.forEach(l=>l&&s.push(l)),s}const KI=(e,t)=>It(t)?gt(t):t,nh="usehead";function qI(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(nh,e)}}.install}function WI(){if(Qo()){const e=jt(nh);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function YI(e,t={}){const n=t.head||WI();return n.ssr?n.push(e||{},t):XI(n,e,t)}function XI(e,t,n={}){const r=Fe(!1);let o;return Jr(()=>{const s=r.value?{}:$u(t,KI);o?o.patch(s):o=e.push(s,n)}),St()&&(Jo(()=>{o.dispose()}),Dp(()=>{r.value=!0}),Pp(()=>{r.value=!1})),o}function JI(e){var n;const t=e||Be();return((n=t.ssrContext)==null?void 0:n.head)||t.runWithContext(()=>{if(Qo()){const r=jt(nh);if(!r)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return r}})}function vb(e,t={}){const n=JI(t.nuxt);return YI(e,{head:n,...t})}const QI="modulepreload",ZI=function(e,t){return new URL(e,t).href},em={},ie=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let s=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=s(n.map(c=>{if(c=ZI(c,r),c in em)return;em[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let h=a.length-1;h>=0;h--){const _=a[h];if(_.href===c&&(!f||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const g=document.createElement("link");if(g.rel=f?"stylesheet":QI,f||(g.as="script"),g.crossOrigin="",g.href=c,u&&g.setAttribute("nonce",u),document.head.appendChild(g),f)return new Promise((h,_)=>{g.addEventListener("load",h),g.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};let fu,du;function eO(){return fu=$fetch(eh(`builds/meta/${Dt().app.buildId}.json`),{responseType:"json"}),fu.then(e=>{du=aI(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),fu}function Oc(){return fu||eO()}async function rh(e){const t=typeof e=="string"?e:e.path;if(await Oc(),!du)return console.error("[nuxt] Error creating app manifest matcher.",du),{};try{return Ja({},...du.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function tm(e,t={}){if(!await Eb(e))return null;const r=await nO(e,t);return await bb(r)||null}const tO="_payload.json";async function nO(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Mn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Dt(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await Eb(e)?i:r.app.baseURL;return hr(s,n.pathname,tO+(o?`?${o}`:""))}async function bb(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(Tb));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Eb(e=Rn().path){const t=Be();return e=Ai(e),(await Oc()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await rh({path:e});return!!r.prerender&&!r.redirect})}let fi=null;async function rO(){var r;if(fi)return fi;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Tb(e.textContent||""),n=e.dataset.src?await bb(e.dataset.src):void 0;return fi={...t,...n,...window.__NUXT__},(r=fi.config)!=null&&r.public&&(fi.config.public=Sn(fi.config.public)),fi}async function Tb(e){return await xI(e,Be()._payloadRevivers)}function oO(e,t){Be()._payloadRevivers[e]=t}const iO=[["NuxtError",e=>Go(e)],["EmptyShallowRef",e=>An(e==="_"?void 0:e==="0n"?BigInt(0):Aa(e))],["EmptyRef",e=>Fe(e==="_"?void 0:e==="0n"?BigInt(0):Aa(e))],["ShallowRef",e=>An(e)],["ShallowReactive",e=>Er(e)],["Ref",e=>Fe(e)],["Reactive",e=>Sn(e)]],sO=Gt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of iO)oO(r,o);Object.assign(e.payload,([t,n]=qn(()=>e.runWithContext(rO)),t=await t,n(),t)),window.__NUXT__=e.payload}});async function oh(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var p;const i=new Map,s=new Promise(g=>{e.resolveTags().then(h=>{g(h.map(_=>{const m=i.get(_._d)||0,E={tag:_,id:(m?`${_._d}:${m}`:_._d)||Yg(_),shouldRender:!0};return _._d&&yb(_._d)&&i.set(_._d,m+1),E}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const g of["body","head"]){const h=(p=n[g])==null?void 0:p.children;for(const _ of h){const m=_.tagName.toLowerCase();if(!Wg.has(m))continue;const E=_b({tag:m,props:{}},{innerHTML:_.innerHTML,..._.getAttributeNames().reduce((y,v)=>(y[v]=_.getAttribute(v),y),{})||{}});if(E.key=_.getAttribute("data-hid")||void 0,E._d=xd(E)||Yg(E),a.elMap.has(E._d)){let y=1,v=E._d;for(;a.elMap.has(v);)v=`${E._d}:${y++}`;a.elMap.set(v,_)}else a.elMap.set(E._d,_)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(g,h,_){const m=`${g}:${h}`;a.sideEffects[m]=_,delete a.pendingSideEffects[m]}function u({id:g,$el:h,tag:_}){const m=_.tag.endsWith("Attrs");a.elMap.set(g,h),m||(_.textContent&&_.textContent!==h.textContent&&(h.textContent=_.textContent),_.innerHTML&&_.innerHTML!==h.innerHTML&&(h.innerHTML=_.innerHTML),l(g,"el",()=>{h==null||h.remove(),a.elMap.delete(g)}));for(const E in _.props){if(!Object.prototype.hasOwnProperty.call(_.props,E))continue;const y=_.props[E];if(E.startsWith("on")&&typeof y=="function"){const T=h==null?void 0:h.dataset;if(T&&T[`${E}fired`]){const S=E.slice(0,-5);y.call(h,new Event(S.substring(2)))}h.getAttribute(`data-${E}`)!==""&&((_.tag==="bodyAttrs"?n.defaultView:h).addEventListener(E.substring(2),y.bind(h)),h.setAttribute(`data-${E}`,""));continue}const v=`attr:${E}`;if(E==="class"){if(!y)continue;for(const T of y)m&&l(g,`${v}:${T}`,()=>h.classList.remove(T)),!h.classList.contains(T)&&h.classList.add(T)}else if(E==="style"){if(!y)continue;for(const[T,S]of y)l(g,`${v}:${T}`,()=>{h.style.removeProperty(T)}),h.style.setProperty(T,S)}else y!==!1&&y!==null&&(h.getAttribute(E)!==y&&h.setAttribute(E,y===!0?"":String(y)),m&&l(g,v,()=>h.removeAttribute(E)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await s;for(const g of d){const{tag:h,shouldRender:_,id:m}=g;if(_){if(h.tag==="title"){n.title=h.textContent,l("title","",()=>n.title=a.title);continue}g.$el=g.$el||a.elMap.get(m),g.$el?u(g):Wg.has(h.tag)&&c.push(g)}}for(const g of c){const h=g.tag.tagPosition||"head";g.$el=n.createElement(g.tag.tag),u(g),f[h]=f[h]||n.createDocumentFragment(),f[h].appendChild(g.$el)}for(const g of d)await e.hooks.callHook("dom:renderTag",g,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const g in a.pendingSideEffects)a.pendingSideEffects[g]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:d}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function aO(e={}){var r,o,i;const t=((r=e.domOptions)==null?void 0:r.render)||oh;e.document=e.document||(typeof window<"u"?document:void 0);const n=((i=(o=e.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:i.innerHTML)||!1;return GI({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function lO(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function uO(e={}){const t=aO({domOptions:{render:lO(()=>oh(t),n=>setTimeout(n,0))},...e});return t.install=qI(t),t}const cO={disableDefaults:!0},fO=Gt({name:"nuxt:head",enforce:"pre",setup(e){const t=uO(cO);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await oh(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */const qi=typeof document<"u";function wb(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function dO(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&wb(e.default)}const vt=Object.assign;function ff(e,t){const n={};for(const r in t){const o=t[r];n[r]=Sr(o)?o.map(e):e(o)}return n}const ua=()=>{},Sr=Array.isArray,Sb=/#/g,pO=/&/g,hO=/\//g,gO=/=/g,mO=/\?/g,Ab=/\+/g,yO=/%5B/g,_O=/%5D/g,Rb=/%5E/g,vO=/%60/g,Ib=/%7B/g,bO=/%7C/g,Ob=/%7D/g,EO=/%20/g;function ih(e){return encodeURI(""+e).replace(bO,"|").replace(yO,"[").replace(_O,"]")}function TO(e){return ih(e).replace(Ib,"{").replace(Ob,"}").replace(Rb,"^")}function Cd(e){return ih(e).replace(Ab,"%2B").replace(EO,"+").replace(Sb,"%23").replace(pO,"%26").replace(vO,"`").replace(Ib,"{").replace(Ob,"}").replace(Rb,"^")}function wO(e){return Cd(e).replace(gO,"%3D")}function SO(e){return ih(e).replace(Sb,"%23").replace(mO,"%3F")}function AO(e){return e==null?"":SO(e).replace(hO,"%2F")}function Ra(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const RO=/\/$/,IO=e=>e.replace(RO,"");function df(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=NO(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:Ra(s)}}function OO(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function nm(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function xO(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&_s(t.matched[r],n.matched[o])&&xb(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _s(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function xb(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!CO(e[n],t[n]))return!1;return!0}function CO(e,t){return Sr(e)?rm(e,t):Sr(t)?rm(t,e):e===t}function rm(e,t){return Sr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function NO(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,a;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const lr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ia;(function(e){e.pop="pop",e.push="push"})(Ia||(Ia={}));var ca;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ca||(ca={}));function LO(e){if(!e)if(qi){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),IO(e)}const kO=/^[^#]+#/;function PO(e,t){return e.replace(kO,"#")+t}function DO(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const xc=()=>({left:window.scrollX,top:window.scrollY});function MO(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=DO(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function om(e,t){return(history.state?history.state.position-t:-1)+e}const Nd=new Map;function FO(e,t){Nd.set(e,t)}function UO(e){const t=Nd.get(e);return Nd.delete(e),t}let jO=()=>location.protocol+"//"+location.host;function Cb(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),nm(l,"")}return nm(n,e)+r+o}function VO(e,t,n,r){let o=[],i=[],s=null;const a=({state:d})=>{const p=Cb(e,location),g=n.value,h=t.value;let _=0;if(d){if(n.value=p,t.value=d,s&&s===g){s=null;return}_=h?d.position-h.position:0}else r(p);o.forEach(m=>{m(n.value,g,{delta:_,type:Ia.pop,direction:_?_>0?ca.forward:ca.back:ca.unknown})})};function l(){s=n.value}function u(d){o.push(d);const p=()=>{const g=o.indexOf(d);g>-1&&o.splice(g,1)};return i.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(vt({},d.state,{scroll:xc()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function im(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?xc():null}}function $O(e){const{history:t,location:n}=window,r={value:Cb(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:jO()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function s(l,u){const c=vt({},t.state,im(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});i(l,c,!0),r.value=l}function a(l,u){const c=vt({},o.value,t.state,{forward:l,scroll:xc()});i(c.current,c,!0);const f=vt({},im(r.value,l,null),{position:c.position+1},u);i(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:s}}function BO(e){e=LO(e);const t=$O(e),n=VO(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=vt({location:"",base:e,go:r,createHref:PO.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function HO(e){return typeof e=="string"||e&&typeof e=="object"}function Nb(e){return typeof e=="string"||typeof e=="symbol"}const Lb=Symbol("");var sm;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(sm||(sm={}));function vs(e,t){return vt(new Error,{type:e,[Lb]:!0},t)}function Dr(e,t){return e instanceof Error&&Lb in e&&(t==null||!!(e.type&t))}const am="[^/]+?",zO={sensitive:!1,strict:!1,start:!0,end:!0},GO=/[.+*?^${}()[\]/\\]/g;function KO(e,t){const n=vt({},zO,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function kb(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const WO={type:0,value:""},YO=/[a-zA-Z0-9_]/;function XO(e){if(!e)return[[]];if(e==="/")return[[WO]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,l,u="",c="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a{s(y)}:ua}function s(f){if(Nb(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function a(){return n}function l(f){const d=tx(f,n);n.splice(d,0,f),f.record.name&&!fm(f)&&r.set(f.record.name,f)}function u(f,d){let p,g={},h,_;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw vs(1,{location:f});_=p.record.name,g=vt(um(d.params,p.keys.filter(y=>!y.optional).concat(p.parent?p.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&um(f.params,p.keys.map(y=>y.name))),h=p.stringify(g)}else if(f.path!=null)h=f.path,p=n.find(y=>y.re.test(h)),p&&(g=p.parse(h),_=p.record.name);else{if(p=d.name?r.get(d.name):n.find(y=>y.re.test(d.path)),!p)throw vs(1,{location:f,currentLocation:d});_=p.record.name,g=vt({},d.params,f.params),h=p.stringify(g)}const m=[];let E=p;for(;E;)m.unshift(E.record),E=E.parent;return{name:_,path:h,params:g,matched:m,meta:ex(m)}}e.forEach(f=>i(f));function c(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:s,clearRoutes:c,getRoutes:a,getRecordMatcher:o}}function um(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function cm(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ZO(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 ZO(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function fm(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ex(e){return e.reduce((t,n)=>vt(t,n.meta),{})}function dm(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function tx(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;kb(e,t[i])<0?r=i:n=i+1}const o=nx(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function nx(e){let t=e;for(;t=t.parent;)if(Pb(t)&&kb(e,t)===0)return t}function Pb({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function rx(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oi&&Cd(i)):[r&&Cd(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function ox(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Sr(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const ix=Symbol(""),hm=Symbol(""),sh=Symbol(""),ah=Symbol(""),Ld=Symbol("");function Gs(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Mo(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(vs(4,{from:n,to:t})):d instanceof Error?l(d):HO(d)?l(vs(2,{from:t,to:d})):(s&&r.enterCallbacks[o]===s&&typeof d=="function"&&s.push(d),a())},c=i(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function pf(e,t,n,r,o=i=>i()){const i=[];for(const s of e)for(const a in s.components){let l=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(wb(l)){const c=(l.__vccOpts||l)[t];c&&i.push(Mo(c,n,r,s,a,o))}else{let u=l();i.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${s.path}"`);const f=dO(c)?c.default:c;s.mods[a]=c,s.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Mo(p,n,r,s,a,o)()}))}}return i}function gm(e){const t=jt(sh),n=jt(ah),r=ne(()=>{const l=W(e.to);return t.resolve(l)}),o=ne(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(_s.bind(null,c));if(d>-1)return d;const p=mm(l[u-2]);return u>1&&mm(c)===p&&f[f.length-1].path!==p?f.findIndex(_s.bind(null,l[u-2])):d}),i=ne(()=>o.value>-1&&cx(n.params,r.value.params)),s=ne(()=>o.value>-1&&o.value===n.matched.length-1&&xb(n.params,r.value.params));function a(l={}){if(ux(l)){const u=t[W(e.replace)?"replace":"push"](W(e.to)).catch(ua);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:ne(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}function sx(e){return e.length===1?e[0]:e}const ax=Ce({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:gm,setup(e,{slots:t}){const n=Sn(gm(e)),{options:r}=jt(sh),o=ne(()=>({[ym(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ym(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&sx(t.default(n));return e.custom?i:dt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),lx=ax;function ux(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 cx(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Sr(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function mm(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ym=(e,t,n)=>e??t??n,fx=Ce({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=jt(Ld),o=ne(()=>e.route||r.value),i=jt(hm,0),s=ne(()=>{let u=W(i);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=ne(()=>o.value.matched[s.value]);Gr(hm,ne(()=>s.value+1)),Gr(ix,a),Gr(Ld,o);const l=Fe();return wt(()=>[l.value,a.value,e.name],([u,c,f],[d,p,g])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!_s(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(h=>h(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return _m(n.default,{Component:d,route:u});const p=f.props[c],g=p?p===!0?u.params:typeof p=="function"?p(u):p:null,_=dt(d,vt({},g,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return _m(n.default,{Component:_,route:u})||_}}});function _m(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Db=fx;function dx(e){const t=QO(e.routes,e),n=e.parseQuery||rx,r=e.stringifyQuery||pm,o=e.history,i=Gs(),s=Gs(),a=Gs(),l=An(lr);let u=lr;qi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ff.bind(null,J=>""+J),f=ff.bind(null,AO),d=ff.bind(null,Ra);function p(J,se){let ae,_e;return Nb(J)?(ae=t.getRecordMatcher(J),_e=se):_e=J,t.addRoute(_e,ae)}function g(J){const se=t.getRecordMatcher(J);se&&t.removeRoute(se)}function h(){return t.getRoutes().map(J=>J.record)}function _(J){return!!t.getRecordMatcher(J)}function m(J,se){if(se=vt({},se||l.value),typeof J=="string"){const L=df(n,J,se.path),V=t.resolve({path:L.path},se),te=o.createHref(L.fullPath);return vt(L,V,{params:d(V.params),hash:Ra(L.hash),redirectedFrom:void 0,href:te})}let ae;if(J.path!=null)ae=vt({},J,{path:df(n,J.path,se.path).path});else{const L=vt({},J.params);for(const V in L)L[V]==null&&delete L[V];ae=vt({},J,{params:f(L)}),se.params=f(se.params)}const _e=t.resolve(ae,se),We=J.hash||"";_e.params=c(d(_e.params));const ze=OO(r,vt({},J,{hash:TO(We),path:_e.path})),C=o.createHref(ze);return vt({fullPath:ze,hash:We,query:r===pm?ox(J.query):J.query||{}},_e,{redirectedFrom:void 0,href:C})}function E(J){return typeof J=="string"?df(n,J,l.value.path):vt({},J)}function y(J,se){if(u!==J)return vs(8,{from:se,to:J})}function v(J){return I(J)}function T(J){return v(vt(E(J),{replace:!0}))}function S(J){const se=J.matched[J.matched.length-1];if(se&&se.redirect){const{redirect:ae}=se;let _e=typeof ae=="function"?ae(J):ae;return typeof _e=="string"&&(_e=_e.includes("?")||_e.includes("#")?_e=E(_e):{path:_e},_e.params={}),vt({query:J.query,hash:J.hash,params:_e.path!=null?{}:J.params},_e)}}function I(J,se){const ae=u=m(J),_e=l.value,We=J.state,ze=J.force,C=J.replace===!0,L=S(ae);if(L)return I(vt(E(L),{state:typeof L=="object"?vt({},We,L.state):We,force:ze,replace:C}),se||ae);const V=ae;V.redirectedFrom=se;let te;return!ze&&xO(r,_e,ae)&&(te=vs(16,{to:V,from:_e}),Ae(_e,_e,!0,!1)),(te?Promise.resolve(te):j(V,_e)).catch(X=>Dr(X)?Dr(X,2)?X:tt(X):re(X,V,_e)).then(X=>{if(X){if(Dr(X,2))return I(vt({replace:C},E(X.to),{state:typeof X.to=="object"?vt({},We,X.to.state):We,force:ze}),se||V)}else X=H(V,_e,!0,C,We);return B(V,_e,X),X})}function D(J,se){const ae=y(J,se);return ae?Promise.reject(ae):Promise.resolve()}function M(J){const se=it.values().next().value;return se&&typeof se.runWithContext=="function"?se.runWithContext(J):J()}function j(J,se){let ae;const[_e,We,ze]=px(J,se);ae=pf(_e.reverse(),"beforeRouteLeave",J,se);for(const L of _e)L.leaveGuards.forEach(V=>{ae.push(Mo(V,J,se))});const C=D.bind(null,J,se);return ae.push(C),ot(ae).then(()=>{ae=[];for(const L of i.list())ae.push(Mo(L,J,se));return ae.push(C),ot(ae)}).then(()=>{ae=pf(We,"beforeRouteUpdate",J,se);for(const L of We)L.updateGuards.forEach(V=>{ae.push(Mo(V,J,se))});return ae.push(C),ot(ae)}).then(()=>{ae=[];for(const L of ze)if(L.beforeEnter)if(Sr(L.beforeEnter))for(const V of L.beforeEnter)ae.push(Mo(V,J,se));else ae.push(Mo(L.beforeEnter,J,se));return ae.push(C),ot(ae)}).then(()=>(J.matched.forEach(L=>L.enterCallbacks={}),ae=pf(ze,"beforeRouteEnter",J,se,M),ae.push(C),ot(ae))).then(()=>{ae=[];for(const L of s.list())ae.push(Mo(L,J,se));return ae.push(C),ot(ae)}).catch(L=>Dr(L,8)?L:Promise.reject(L))}function B(J,se,ae){a.list().forEach(_e=>M(()=>_e(J,se,ae)))}function H(J,se,ae,_e,We){const ze=y(J,se);if(ze)return ze;const C=se===lr,L=qi?history.state:{};ae&&(_e||C?o.replace(J.fullPath,vt({scroll:C&&L&&L.scroll},We)):o.push(J.fullPath,We)),l.value=J,Ae(J,se,ae,C),tt()}let le;function Te(){le||(le=o.listen((J,se,ae)=>{if(!qe.listening)return;const _e=m(J),We=S(_e);if(We){I(vt(We,{replace:!0,force:!0}),_e).catch(ua);return}u=_e;const ze=l.value;qi&&FO(om(ze.fullPath,ae.delta),xc()),j(_e,ze).catch(C=>Dr(C,12)?C:Dr(C,2)?(I(vt(E(C.to),{force:!0}),_e).then(L=>{Dr(L,20)&&!ae.delta&&ae.type===Ia.pop&&o.go(-1,!1)}).catch(ua),Promise.reject()):(ae.delta&&o.go(-ae.delta,!1),re(C,_e,ze))).then(C=>{C=C||H(_e,ze,!1),C&&(ae.delta&&!Dr(C,8)?o.go(-ae.delta,!1):ae.type===Ia.pop&&Dr(C,20)&&o.go(-1,!1)),B(_e,ze,C)}).catch(ua)}))}let De=Gs(),pe=Gs(),ge;function re(J,se,ae){tt(J);const _e=pe.list();return _e.length?_e.forEach(We=>We(J,se,ae)):console.error(J),Promise.reject(J)}function ve(){return ge&&l.value!==lr?Promise.resolve():new Promise((J,se)=>{De.add([J,se])})}function tt(J){return ge||(ge=!J,Te(),De.list().forEach(([se,ae])=>J?ae(J):se()),De.reset()),J}function Ae(J,se,ae,_e){const{scrollBehavior:We}=e;if(!qi||!We)return Promise.resolve();const ze=!ae&&UO(om(J.fullPath,0))||(_e||!ae)&&history.state&&history.state.scroll||null;return Yt().then(()=>We(J,se,ze)).then(C=>C&&MO(C)).catch(C=>re(C,J,se))}const Ke=J=>o.go(J);let He;const it=new Set,qe={currentRoute:l,listening:!0,addRoute:p,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:h,resolve:m,options:e,push:v,replace:T,go:Ke,back:()=>Ke(-1),forward:()=>Ke(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:pe.add,isReady:ve,install(J){const se=this;J.component("RouterLink",lx),J.component("RouterView",Db),J.config.globalProperties.$router=se,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>W(l)}),qi&&!He&&l.value===lr&&(He=!0,v(o.location).catch(We=>{}));const ae={};for(const We in lr)Object.defineProperty(ae,We,{get:()=>l.value[We],enumerable:!0});J.provide(sh,se),J.provide(ah,Er(ae)),J.provide(Ld,l);const _e=J.unmount;it.add(J),J.unmount=function(){it.delete(J),it.size<1&&(u=lr,le&&le(),le=null,l.value=lr,He=!1,ge=!1),_e()}}};function ot(J){return J.reduce((se,ae)=>se.then(()=>M(ae)),Promise.resolve())}return qe}function px(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s_s(u,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(u=>_s(u,l))||o.push(l))}return[n,r,o]}function Mb(e){return jt(ah)}const hx=/(:\w+)\([^)]+\)/g,gx=/(:\w+)[?+*]/g,mx=/:\w+/g,yx=(e,t)=>t.path.replace(hx,"$1").replace(gx,"$1").replace(mx,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),kd=(e,t)=>{const n=e.route.matched.find(o=>{var i;return((i=o.components)==null?void 0:i.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&yx(e.route,n));return typeof r=="function"?r(e.route):r},_x=(e,t)=>({default:()=>e?dt(Hv,e===!0?{}:e,t):t});function lh(e){return Array.isArray(e)?e:[e]}const hf=[{name:"index",path:"/",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./DOt9Aia3.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url)},{name:"abonnee",path:"/abonnee",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./B4awzICE.js"),__vite__mapDeps([13,14,15,16,17,8,9,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,11,1,2,36,37]),import.meta.url)},{name:"bedankt",path:"/bedankt",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./O71wpIXD.js"),__vite__mapDeps([38,18,19,39]),import.meta.url)},{name:"korting",path:"/korting",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./B7MovGLC.js"),__vite__mapDeps([40,41,42,21,14,15,16,17,26,27,28,29,30,8,9,31,32,18,19,33,22,23,43,44,45,46,11,47,48,49]),import.meta.url)},{name:"mislukt",path:"/mislukt",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./CzxFxsGZ.js"),__vite__mapDeps([50,1,2,10,11]),import.meta.url)},{name:"leesvorm",path:"/leesvorm",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./DtJBsHSH.js"),__vite__mapDeps([51,41,42,27,28,15,16,29,30,52,53,11,22,23,45,21,8,9,54,48,55]),import.meta.url)},{name:"voltooien",path:"/voltooien",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./BJLrHuXg.js"),__vite__mapDeps([56,34,35,57,58,21,18,19,59]),import.meta.url)},{name:"andere-titel",path:"/andere-titel",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./ofC5FHIg.js"),__vite__mapDeps([60,41,42,14,15,16,17,5,6,61,62,18,19,20,21,22,23,29,30,8,9,63,64,43,44,11,46,47,54,48,65]),import.meta.url)},{name:"slug-periode",path:"/:slug()/periode",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./Cww82sWm.js"),__vite__mapDeps([66,41,42,29,30,18,19,14,15,16,17,46,22,23,11,47,31,67,68,7,52,53,61,62,5,6,69,8,9,70,71]),import.meta.url)},{name:"slug-controle",path:"/:slug()/controle",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./ClldyUkP.js"),__vite__mapDeps([72,41,42,14,15,16,17,63,64,21,18,19,31,11,46,22,23,47,67,68,7,52,53,61,62,5,6,69,8,9,70,73]),import.meta.url)},{name:"ophalen-gegevens",path:"/ophalen-gegevens",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./C2ynER1Q.js"),__vite__mapDeps([74,1,2,36,11]),import.meta.url)},{name:"reden-reason",path:"/reden/:reason(.*)*",meta:{middleware:["auth-middleware"]},component:()=>ie(()=>import("./Czqcavt0.js"),__vite__mapDeps([75,41,42,18,19,68,7,52,53,46,14,15,16,17,22,23,11,47,61,62,5,6,69,8,9,32,57,58,43,44,24,25,21,76]),import.meta.url)}],Fb=(e,t)=>({default:()=>{var n;return e?dt(P1,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),vx=/(:\w+)\([^)]+\)/g,bx=/(:\w+)[?+*]/g,Ex=/:\w+/g;function vm(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(vx,"$1").replace(bx,"$1").replace(Ex,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function Tx(e,t){return e===t||t===lr?!1:vm(e)!==vm(t)?!0:!e.matched.every((r,o)=>{var i,s;return r.components&&r.components.default===((s=(i=t.matched[o])==null?void 0:i.components)==null?void 0:s.default)})}function wx(e,t=!1){if(e){if(e.nodeName==="#comment"&&e.nodeValue==="[")return Ub(e,[],t);if(t){const n=e.cloneNode(!0);return n.querySelectorAll("[data-island-slot]").forEach(r=>{r.innerHTML=""}),[n.outerHTML]}return[e.outerHTML]}}function Ub(e,t=[],n=!1){var r;if(e&&e.nodeName){if(Ax(e))return t;if(!Sx(e)){const o=e.cloneNode(!0);n&&((r=o.querySelectorAll)==null||r.call(o,"[data-island-slot]").forEach(i=>{i.innerHTML=""})),t.push(o.outerHTML)}Ub(e.nextSibling,t,n)}return t}function gf(e,t){const n=e?wx(e):[t];return n?Wp(n.join(""),n.length):dt("div")}function Sx(e){return e.nodeName==="#comment"&&e.nodeValue==="["}function Ax(e){return e.nodeName==="#comment"&&e.nodeValue==="]"}const Rx={scrollBehavior(e,t,n){var l;const r=Be(),o=((l=Vt().options)==null?void 0:l.scrollBehaviorType)??"auto";if(e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:jb(e.hash),behavior:o}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;let s=n||void 0;!s&&Tx(e,t)&&(s={left:0,top:0});const a=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(u=>{if(t===lr){u(bm(e,"instant",s));return}r.hooks.hookOnce(a,()=>{requestAnimationFrame(()=>u(bm(e,"instant",s)))})})}};function jb(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function bm(e,t,n){return n||(e.hash?{el:e.hash,top:jb(e.hash),behavior:t}:{left:0,top:0,behavior:t})}const Ix={scrollBehaviorType:"smooth",hashMode:!1},Nr={...Ix,...Rx},Ox=async(e,t)=>{var s;let n,r;if(!((s=e.meta)!=null&&s.validate))return;const o=([n,r]=qn(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(o===!0)return;const i=Go({fatal:!0,statusCode:o&&o.statusCode||404,statusMessage:o&&o.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),i};function xx(e){return Array.isArray(e)?e:[e]}function Pd(e){return{}}var lB=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Cx(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var mf,Em;function Nx(){if(Em)return mf;Em=1;function e(m){this._maxSize=m,this.clear()}e.prototype.clear=function(){this._size=0,this._values=Object.create(null)},e.prototype.get=function(m){return this._values[m]},e.prototype.set=function(m,E){return this._size>=this._maxSize&&this.clear(),m in this._values||this._size++,this._values[m]=E};var t=/[^.^\]^[]+|(?=\[\]|\.\.)/g,n=/^\d+$/,r=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,i=/^\s*(['"]?)(.*?)(\1)\s*$/,s=512,a=new e(s),l=new e(s),u=new e(s);mf={Cache:e,split:f,normalizePath:c,setter:function(m){var E=c(m);return l.get(m)||l.set(m,function(v,T){for(var S=0,I=E.length,D=v;Sc.match(e)||[],n=c=>c[0].toUpperCase()+c.slice(1),r=(c,f)=>t(c).join(f).toLowerCase(),o=c=>t(c).reduce((f,d)=>`${f}${f?d[0].toUpperCase()+d.slice(1).toLowerCase():d.toLowerCase()}`,"");return yf={words:t,upperFirst:n,camelCase:o,pascalCase:c=>n(o(c)),snakeCase:c=>r(c,"_"),kebabCase:c=>r(c,"-"),sentenceCase:c=>n(r(c," ")),titleCase:c=>t(c).map(n).join(" ")},yf}var _f=Lx(),Pl={exports:{}},wm;function kx(){if(wm)return Pl.exports;wm=1,Pl.exports=function(o){return e(t(o),o)},Pl.exports.array=e;function e(o,i){var s=o.length,a=new Array(s),l={},u=s,c=n(i),f=r(o);for(i.forEach(function(p){if(!f.has(p[0])||!f.has(p[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});u--;)l[u]||d(o[u],u,new Set);return a;function d(p,g,h){if(h.has(p)){var _;try{_=", node was:"+JSON.stringify(p)}catch{_=""}throw new Error("Cyclic dependency"+_)}if(!f.has(p))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(p));if(!l[g]){l[g]=!0;var m=c.get(p)||new Set;if(m=Array.from(m),g=m.length){h.add(p);do{var E=m[--g];d(E,f.get(E),h)}while(g);h.delete(p)}a[--s]=p}}}function t(o){for(var i=new Set,s=0,a=o.length;s"",Vx=/^Symbol\((.*)\)(.*)$/;function $x(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Sm(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return $x(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return jx.call(e).replace(Vx,"Symbol($1)");const r=Mx.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+Fx.call(e)+"]":r==="RegExp"?Ux.call(e):null}function mo(e,t){let n=Sm(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let i=Sm(this[r],t);return i!==null?i:o},2)}function Vb(e){return e==null?[]:[].concat(e)}let $b,Bb,Hb,Bx=/\$\{\s*(\w+)\s*\}/g;$b=Symbol.toStringTag;class Am{constructor(t,n,r,o){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[$b]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],Vb(t).forEach(i=>{if(bn.isError(i)){this.errors.push(...i.errors);const s=i.inner.length?i.inner:[i];this.inner.push(...s)}else this.errors.push(i)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}Bb=Symbol.hasInstance;Hb=Symbol.toStringTag;class bn extends Error{static formatError(t,n){const r=n.label||n.path||"this";return n=Object.assign({},n,{path:r,originalPath:n.path}),typeof t=="string"?t.replace(Bx,(o,i)=>mo(n[i])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,o,i){const s=new Am(t,n,r,o);if(i)return s;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[Hb]="Error",this.name=s.name,this.message=s.message,this.type=s.type,this.value=s.value,this.path=s.path,this.errors=s.errors,this.inner=s.inner,Error.captureStackTrace&&Error.captureStackTrace(this,bn)}static[Bb](t){return Am[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let Ur={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=r!=null&&r!==n?` (cast from the value \`${mo(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${mo(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${mo(n,!0)}\``+o}},Bn={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Hx={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Dd={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Md={isValue:"${path} field must be ${value}"},pu={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},hu={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},zx={notType:e=>{const{path:t,value:n,spec:r}=e,o=r.types.length;if(Array.isArray(n)){if(n.lengtho)return`${t} tuple value has too many items, expected a length of ${o} but got ${n.length} for value: \`${mo(n,!0)}\``}return bn.formatError(Ur.notType,e)}};Object.assign(Object.create(null),{mixed:Ur,string:Bn,number:Hx,date:Dd,object:pu,array:hu,boolean:Md,tuple:zx});const Za=e=>e&&e.__isYupSchema__;class Bu{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:o,otherwise:i}=n,s=typeof r=="function"?r:(...a)=>a.every(l=>l===r);return new Bu(t,(a,l)=>{var u;let c=s(...a)?o:i;return(u=c==null?void 0:c(l))!=null?u:l})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(i=>i.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),o=this.fn(r,t,n);if(o===void 0||o===t)return t;if(!Za(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}const Dl={context:"$",value:"."};class Ni{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Dl.context,this.isValue=this.key[0]===Dl.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?Dl.context:this.isValue?Dl.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&Ei.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let o=this.isContext?r:this.isValue?t:n;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}Ni.prototype.__isYupRef=!0;const po=e=>e==null;function $i(e){function t({value:n,path:r="",options:o,originalValue:i,schema:s},a,l){const{name:u,test:c,params:f,message:d,skipAbsent:p}=e;let{parent:g,context:h,abortEarly:_=s.spec.abortEarly,disableStackTrace:m=s.spec.disableStackTrace}=o;function E(B){return Ni.isRef(B)?B.getValue(n,g,h):B}function y(B={}){const H=Object.assign({value:n,originalValue:i,label:s.spec.label,path:B.path||r,spec:s.spec,disableStackTrace:B.disableStackTrace||m},f,B.params);for(const Te of Object.keys(H))H[Te]=E(H[Te]);const le=new bn(bn.formatError(B.message||d,H),n,H.path,B.type||u,H.disableStackTrace);return le.params=H,le}const v=_?a:l;let T={path:r,parent:g,type:u,from:o.from,createError:y,resolve:E,options:o,originalValue:i,schema:s};const S=B=>{bn.isError(B)?v(B):B?l(null):v(y())},I=B=>{bn.isError(B)?v(B):a(B)};if(p&&po(n))return S(!0);let M;try{var j;if(M=c.call(T,n,T),typeof((j=M)==null?void 0:j.then)=="function"){if(o.sync)throw new Error(`Validation test of type: "${T.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(M).then(S,I)}}catch(B){I(B);return}S(M)}return t.OPTIONS=e,t}function zb(e,t,n,r=n){let o,i,s;return t?(Ei.forEach(t,(a,l,u)=>{let c=l?a.slice(1,a.length-1):a;e=e.resolve({context:r,parent:o,value:n});let f=e.type==="tuple",d=u?parseInt(c,10):0;if(e.innerType||f){if(f&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${s}" must contain an index to the tuple element, e.g. "${s}[0]"`);if(n&&d>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${a}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[d],e=f?e.spec.types[d]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${s} which is a type: "${e.type}")`);o=n,n=n&&n[c],e=e.fields[c]}i=c,s=l?"["+a+"]":"."+a}),{schema:e,parent:o,parentPath:i}):{parent:o,parentPath:t,schema:e}}function uB(e,t,n,r){return zb(e,t,n,r).schema}class Hu extends Set{describe(){const t=[];for(const n of this.values())t.push(Ni.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new Hu(this.values())}merge(t,n){const r=this.clone();return t.forEach(o=>r.add(o)),n.forEach(o=>r.delete(o)),r}}function Qi(e,t=new Map){if(Za(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r{this.typeError(Ur.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=Qi(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const o=Object.assign({},n.spec,r.spec);return r.spec=o,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(i=>{t.tests.forEach(s=>{i.test(s.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((o,i)=>i.resolve(o,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,o,i;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(o=t.recursive)!=null?o:this.spec.recursive,disableStackTrace:(i=t.disableStackTrace)!=null?i:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),o=n.assert==="ignore-optionality",i=r._cast(t,n);if(n.assert!==!1&&!r.isType(i)){if(o&&po(i))return i;let s=mo(t),a=mo(i);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}". attempted value: ${s} `+(a!==s?`result of cast: ${a}`:""))}return i}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((o,i)=>i.call(this,o,t,this),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,o){let{path:i,originalValue:s=t,strict:a=this.spec.strict}=n,l=t;a||(l=this._cast(l,Object.assign({assert:!1},n)));let u=[];for(let c of Object.values(this.internalTests))c&&u.push(c);this.runTests({path:i,value:l,originalValue:s,options:n,tests:u},r,c=>{if(c.length)return o(c,l);this.runTests({path:i,value:l,originalValue:s,options:n,tests:this.tests},r,o)})}runTests(t,n,r){let o=!1,{tests:i,value:s,originalValue:a,path:l,options:u}=t,c=h=>{o||(o=!0,n(h,s))},f=h=>{o||(o=!0,r(h,s))},d=i.length,p=[];if(!d)return f([]);let g={value:s,originalValue:a,path:l,options:u,schema:this};for(let h=0;hthis.resolve(c)._validate(u,c,d,p)}validate(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),i=(r=n==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return new Promise((s,a)=>o._validate(t,n,(l,u)=>{bn.isError(l)&&(l.value=u),a(l)},(l,u)=>{l.length?a(new bn(l,u,void 0,void 0,i)):s(u)}))}validateSync(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),i,s=(r=n==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return o._validate(t,Object.assign({},n,{sync:!0}),(a,l)=>{throw bn.isError(a)&&(a.value=l),a},(a,l)=>{if(a.length)throw new bn(a,t,void 0,void 0,s);i=l}),i}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(bn.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(bn.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):Qi(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=$i({message:n,name:"nullable",test(o){return o===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=$i({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=Ur.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Ur.notNull){return this.nullability(!1,t)}required(t=Ur.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=Ur.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=$i(n),i=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(s=>!(s.OPTIONS.name===n.name&&(i||s.OPTIONS.test===o.OPTIONS.test))),r.tests.push(o),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),o=Vb(t).map(i=>new Ni(i));return o.forEach(i=>{i.isSibling&&r.deps.push(i.key)}),r.conditions.push(typeof n=="function"?new Bu(o,n):Bu.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=$i({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=Ur.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=$i({message:n,name:"oneOf",skipAbsent:!0,test(o){let i=this.schema._whitelist,s=i.resolveAll(this.resolve);return s.includes(o)?!0:this.createError({params:{values:Array.from(i).join(", "),resolved:s}})}}),r}notOneOf(t,n=Ur.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=$i({message:n,name:"notOneOf",test(o){let i=this.schema._blacklist,s=i.resolveAll(this.resolve);return s.includes(o)?this.createError({params:{values:Array.from(i).join(", "),resolved:s}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:o,optional:i,nullable:s}=n.spec;return{meta:o,label:r,optional:i,nullable:s,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(l=>({name:l.OPTIONS.name,params:l.OPTIONS.params})).filter((l,u,c)=>c.findIndex(f=>f.name===l.name)===u)}}}gr.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])gr.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:i,schema:s}=zb(this,t,n,r.context);return s[e](o&&o[i],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])gr.prototype[e]=gr.prototype.oneOf;for(const e of["not","nope"])gr.prototype[e]=gr.prototype.notOneOf;function Gx(){return new Gb}class Gb extends gr{constructor(){super({type:"boolean",check(t){return t instanceof Boolean&&(t=t.valueOf()),typeof t=="boolean"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(r.spec.coerce&&!r.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t})})}isTrue(t=Md.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test(n){return po(n)||n===!0}})}isFalse(t=Md.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test(n){return po(n)||n===!1}})}default(t){return super.default(t)}defined(t){return super.defined(t)}optional(){return super.optional()}required(t){return super.required(t)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(t){return super.nonNullable(t)}strip(t){return super.strip(t)}}Gx.prototype=Gb.prototype;const Kx=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function qx(e){const t=Fd(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(n=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}function Fd(e){var t,n;const r=Kx.exec(e);return r?{year:ro(r[1]),month:ro(r[2],1)-1,day:ro(r[3],1),hour:ro(r[4]),minute:ro(r[5]),second:ro(r[6]),millisecond:r[7]?ro(r[7].substring(0,3)):0,precision:(t=(n=r[7])==null?void 0:n.length)!=null?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:ro(r[10]),minuteOffset:ro(r[11])}:null}function ro(e,t=0){return Number(e)||t}let Wx=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Yx=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Xx=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Jx="^\\d{4}-\\d{2}-\\d{2}",Qx="\\d{2}:\\d{2}:\\d{2}",Zx="(([+-]\\d{2}(:?\\d{2})?)|Z)",eC=new RegExp(`${Jx}T${Qx}(\\.\\d+)?${Zx}$`),tC=e=>po(e)||e===e.trim(),nC={}.toString();function rC(){return new Kb}class Kb extends gr{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const o=t!=null&&t.toString?t.toString():t;return o===nC?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||Ur.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=Bn.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=Bn.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=Bn.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,o,i;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:o,name:i}=n:o=n),this.test({name:i||"matches",message:o||Bn.matches,params:{regex:t},skipAbsent:!0,test:s=>s===""&&r||s.search(t)!==-1})}email(t=Bn.email){return this.matches(Wx,{name:"email",message:t,excludeEmptyString:!0})}url(t=Bn.url){return this.matches(Yx,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=Bn.uuid){return this.matches(Xx,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let n="",r,o;return t&&(typeof t=="object"?{message:n="",allowOffset:r=!1,precision:o=void 0}=t:n=t),this.matches(eC,{name:"datetime",message:n||Bn.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||Bn.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:i=>{if(!i||r)return!0;const s=Fd(i);return s?!!s.z:!1}}).test({name:"datetime_precision",message:n||Bn.datetime_precision,params:{precision:o},skipAbsent:!0,test:i=>{if(!i||o==null)return!0;const s=Fd(i);return s?s.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=Bn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:tC})}lowercase(t=Bn.lowercase){return this.transform(n=>po(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>po(n)||n===n.toLowerCase()})}uppercase(t=Bn.uppercase){return this.transform(n=>po(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>po(n)||n===n.toUpperCase()})}}rC.prototype=Kb.prototype;let qb=new Date(""),oC=e=>Object.prototype.toString.call(e)==="[object Date]";function Wb(){return new el}class el extends gr{constructor(){super({type:"date",check(t){return oC(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=qx(t),isNaN(t)?el.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(Ni.isRef(t))r=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=o}return r}min(t,n=Dd.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(o){return o>=this.resolve(r)}})}max(t,n=Dd.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(o){return o<=this.resolve(r)}})}}el.INVALID_DATE=qb;Wb.prototype=el.prototype;Wb.INVALID_DATE=qb;function iC(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([s,a])=>`${s}-${a}`));function i(s,a){let l=Ei.split(s)[0];r.add(l),o.has(`${a}-${l}`)||n.push([a,l])}for(const s of Object.keys(e)){let a=e[s];r.add(s),Ni.isRef(a)&&a.isSibling?i(a.path,s):Za(a)&&"deps"in a&&a.deps.forEach(l=>i(l,s))}return Dx.array(Array.from(r),n).reverse()}function Rm(e,t){let n=1/0;return e.some((r,o)=>{var i;if((i=t.path)!=null&&i.includes(r))return n=o,!0}),n}function Yb(e){return(t,n)=>Rm(e,t)-Rm(e,n)}const Xb=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function gu(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=gu(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=gu(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(gu)}):"optional"in e?e.optional():e}const sC=(e,t)=>{const n=[...Ei.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=Ei.getter(Ei.join(n),!0)(e);return!!(o&&r in o)};let Im=e=>Object.prototype.toString.call(e)==="[object Object]";function Om(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const aC=Yb([]);function lC(e){return new Jb(e)}class Jb extends gr{constructor(t){super({type:"object",check(n){return Im(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=aC,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let o=super._cast(t,n);if(o===void 0)return this.getDefault(n);if(!this._typeCheck(o))return o;let i=this.fields,s=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,a=[].concat(this._nodes,Object.keys(o).filter(f=>!this._nodes.includes(f))),l={},u=Object.assign({},n,{parent:l,__validating:n.__validating||!1}),c=!1;for(const f of a){let d=i[f],p=f in o;if(d){let g,h=o[f];u.path=(n.path?`${n.path}.`:"")+f,d=d.resolve({value:h,context:n.context,parent:l});let _=d instanceof gr?d.spec:void 0,m=_==null?void 0:_.strict;if(_!=null&&_.strip){c=c||f in o;continue}g=!n.__validating||!m?d.cast(o[f],u):o[f],g!==void 0&&(l[f]=g)}else p&&!s&&(l[f]=o[f]);(p!==f in l||l[f]!==o[f])&&(c=!0)}return c?l:o}_validate(t,n={},r,o){let{from:i=[],originalValue:s=t,recursive:a=this.spec.recursive}=n;n.from=[{schema:this,value:s},...i],n.__validating=!0,n.originalValue=s,super._validate(t,n,r,(l,u)=>{if(!a||!Im(u)){o(l,u);return}s=s||u;let c=[];for(let f of this._nodes){let d=this.fields[f];!d||Ni.isRef(d)||c.push(d.asNestedTest({options:n,key:f,parent:u,parentPath:n.path,originalParent:s}))}this.runTests({tests:c,value:u,originalValue:s,options:n},r,f=>{o(f.sort(this._sortErrors).concat(l),u)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[o,i]of Object.entries(this.fields)){const s=r[o];r[o]=s===void 0?i:s}return n.withMutation(o=>o.setFields(r,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let n={};return this._nodes.forEach(r=>{var o;const i=this.fields[r];let s=t;(o=s)!=null&&o.value&&(s=Object.assign({},s,{parent:s.value,value:s.value[r]})),n[r]=i&&"getDefault"in i?i.getDefault(s):void 0}),n}setFields(t,n){let r=this.clone();return r.fields=t,r._nodes=iC(t,n),r._sortErrors=Yb(Object.keys(t)),n&&(r._excludedEdges=n),r}shape(t,n=[]){return this.clone().withMutation(r=>{let o=r._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),o=[...r._excludedEdges,...n]),r.setFields(Object.assign(r.fields,t),o)})}partial(){const t={};for(const[n,r]of Object.entries(this.fields))t[n]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return gu(this)}pick(t){const n={};for(const r of t)this.fields[r]&&(n[r]=this.fields[r]);return this.setFields(n,this._excludedEdges.filter(([r,o])=>t.includes(r)&&t.includes(o)))}omit(t){const n=[];for(const r of Object.keys(this.fields))t.includes(r)||n.push(r);return this.pick(n)}from(t,n,r){let o=Ei.getter(t,!0);return this.transform(i=>{if(!i)return i;let s=i;return sC(i,t)&&(s=Object.assign({},i),r||delete s[t],s[n]=o(i)),s})}json(){return this.transform(Xb)}exact(t){return this.test({name:"exact",exclusive:!0,message:t||pu.exact,test(n){if(n==null)return!0;const r=Om(this.schema,n);return r.length===0||this.createError({params:{properties:r.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(t=!0,n=pu.noUnknown){typeof t!="boolean"&&(n=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:n,test(o){if(o==null)return!0;const i=Om(this.schema,o);return!t||i.length===0||this.createError({params:{unknown:i.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=pu.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;const r={};for(const o of Object.keys(n))r[t(o)]=n[o];return r})}camelCase(){return this.transformKeys(_f.camelCase)}snakeCase(){return this.transformKeys(_f.snakeCase)}constantCase(){return this.transformKeys(t=>_f.snakeCase(t).toUpperCase())}describe(t){const n=(t?this.resolve(t):this).clone(),r=super.describe(t);r.fields={};for(const[i,s]of Object.entries(n.fields)){var o;let a=t;(o=a)!=null&&o.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[i]})),r.fields[i]=s.describe(a)}return r}}lC.prototype=Jb.prototype;function uC(e){return new Qb(e)}class Qb extends gr{constructor(t){super({type:"array",spec:{types:t},check(n){return Array.isArray(n)}}),this.innerType=void 0,this.innerType=t}_cast(t,n){const r=super._cast(t,n);if(!this._typeCheck(r)||!this.innerType)return r;let o=!1;const i=r.map((s,a)=>{const l=this.innerType.cast(s,Object.assign({},n,{path:`${n.path||""}[${a}]`}));return l!==s&&(o=!0),l});return o?i:r}_validate(t,n={},r,o){var i;let s=this.innerType,a=(i=n.recursive)!=null?i:this.spec.recursive;n.originalValue!=null&&n.originalValue,super._validate(t,n,r,(l,u)=>{var c;if(!a||!s||!this._typeCheck(u)){o(l,u);return}let f=new Array(u.length);for(let p=0;po(p.concat(l),u))})}clone(t){const n=super.clone(t);return n.innerType=this.innerType,n}json(){return this.transform(Xb)}concat(t){let n=super.concat(t);return n.innerType=this.innerType,t.innerType&&(n.innerType=n.innerType?n.innerType.concat(t.innerType):t.innerType),n}of(t){let n=this.clone();if(!Za(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+mo(t));return n.innerType=t,n.spec=Object.assign({},n.spec,{types:t}),n}length(t,n=hu.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n){return n=n||hu.min,this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n){return n=n||hu.max,this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}ensure(){return this.default(()=>[]).transform((t,n)=>this._typeCheck(t)?t:n==null?[]:[].concat(n))}compact(t){let n=t?(r,o,i)=>!t(r,o,i):r=>!!r;return this.transform(r=>r!=null?r.filter(n):r)}describe(t){const n=(t?this.resolve(t):this).clone(),r=super.describe(t);if(n.innerType){var o;let i=t;(o=i)!=null&&o.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[0]})),r.innerType=n.innerType.describe(i)}return r}}uC.prototype=Qb.prototype;function cB(e){return new uh(e)}function xm(e){try{return e()}catch(t){if(bn.isError(t))return Promise.reject(t);throw t}}class uh{constructor(t){this.type="lazy",this.__isYupSchema__=!0,this.spec=void 0,this._resolve=(n,r={})=>{let o=this.builder(n,r);if(!Za(o))throw new TypeError("lazy() functions must return a valid schema");return this.spec.optional&&(o=o.optional()),o.resolve(r)},this.builder=t,this.spec={meta:void 0,optional:!1}}clone(t){const n=new uh(this.builder);return n.spec=Object.assign({},this.spec,t),n}optionality(t){return this.clone({optional:t})}optional(){return this.optionality(!0)}resolve(t){return this._resolve(t.value,t)}cast(t,n){return this._resolve(t,n).cast(t,n)}asNestedTest(t){let{key:n,index:r,parent:o,options:i}=t,s=o[r??n];return this._resolve(s,Object.assign({},i,{value:s,parent:o})).asNestedTest(t)}validate(t,n){return xm(()=>this._resolve(t,n).validate(t,n))}validateSync(t,n){return this._resolve(t,n).validateSync(t,n)}validateAt(t,n,r){return xm(()=>this._resolve(n,r).validateAt(t,n,r))}validateSyncAt(t,n,r){return this._resolve(n,r).validateSyncAt(t,n,r)}isValid(t,n){try{return this._resolve(t,n).isValid(t,n)}catch(r){if(bn.isError(r))return Promise.resolve(!1);throw r}}isValidSync(t,n){return this._resolve(t,n).isValidSync(t,n)}describe(t){return t?this.resolve(t).describe(t):{type:"lazy",meta:this.spec.meta,label:void 0}}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}}function cC(e){const t=e.split(":")[0],n=t.split(".");return n.length>1?n.slice(-2).join("."):t}const fC={AD:{domain:"ad.nl",code:"AD",fullName:"AD"},ARI:{domain:"ariadneathome.nl",code:"ARI",fullName:"Ariadne at Home"},AUT:{domain:"autoweek.nl",code:"AUT",fullName:"AutoWeek"},ATR:{domain:"autoweek.nl/classiccars",code:"ATR",fullName:"AutoWeek Classics"},BD:{domain:"bd.nl",code:"BD",fullName:"Brabants Dagblad"},BFWO:{domain:"feelingwonen.be",code:"BFWO",fullName:"Feeling Wonen"},BS:{domain:"bndestem.nl",code:"BS",fullName:"BN DeStem"},BSVW:{domain:"stijlvol-wonen.be",code:"BSVW",fullName:"Stijlvol Wonen"},BVWO:{domain:"vtwonen.be",code:"BVWO",fullName:"vtwonen"},BWOL:{domain:"wonenlandelijkestijl.be",code:"BWOL",fullName:"Wonen Landelijke Stijl"},BDON:{domain:"",code:"BDON",fullName:"Donald Duck"},BFLN:{domain:"",code:"BFLN",fullName:"Flow"},BDAN:{domain:"",code:"BDAN",fullName:"Zo Zit Dat"},DA:{domain:"dagallemaal.be",code:"DA",fullName:"Dag Allemaal"},DAT:{domain:"zozitdat.nl",code:"DAT",fullName:"Zo Zit Dat"},DON:{domain:"donaldduck.nl",code:"DON",fullName:"Donald Duck"},DDJ:{domain:"donaldduck.nl",code:"DDJ",fullName:"Donald Duck Junior"},DG:{domain:"gelderlander.nl",code:"DG",fullName:"De Gelderlander"},DM:{domain:"demorgen.be",code:"DM",fullName:"De Morgen"},DONEX:{domain:"donaldduck.nl",code:"DONEX",fullName:"Donald Duck Extra"},DONPO:{domain:"donaldduck.nl",code:"DONPO",fullName:"Donald Duck Pocket"},ED:{domain:"ed.nl",code:"ED",fullName:"Eindhovens Dagblad"},EHI:{domain:"eigenhuiseninterieur.nl",code:"EHI",fullName:"Eigen Huis & Interieur"},FLR:{domain:"flair.nl",allDomains:["flaironline.nl","flair.nl"],code:"FLR",fullName:"Flair"},FLW:{domain:"flowmagazine.nl",code:"FLW",fullName:"Flow"},GG:{domain:"goedgevoel.be",code:"GG",fullName:"Goed Gevoel"},HL:{domain:"hln.be",code:"HL",fullName:"HLN"},HP:{domain:"parool.nl",code:"HP",fullName:"Het Parool"},HU:{domain:"humo.be",code:"HU",fullName:"HUMO"},KATRI:{domain:"donaldduck.nl",code:"KATRI",fullName:"Katrien Duck"},KWE:{domain:"kidsweek.nl",code:"KWE",fullName:"Kidsweek"},LIB:{domain:"libelle.nl",code:"LIB",fullName:"Libelle"},LIBBO:{domain:"libelle.nl",code:"LIBBO",fullName:"Libelle Bookazine"},LIBPZ:{domain:"libelle.nl",code:"LIBPZ",fullName:"Libelle Puzzelen"},LIBSP:{domain:"libelle.nl",code:"LIBSP",fullName:"Libelle Specials"},MAR:{domain:"margriet.nl",code:"MAR",fullName:"Margriet"},MARPZ:{domain:"margriet.nl",code:"MARPZ",fullName:"Margriet Puzzelen"},MARSP:{domain:"margriet.nl",code:"MARSP",fullName:"Margriet Specials"},NOU:{domain:"nouveau.nl",code:"NOU",fullName:"Nouveau"},OVN:{domain:"oudersvannu.nl",code:"OVN",fullName:"Ouders van Nu"},PAK12:{domain:"tijdschrift.nl",code:"PAK12",fullName:"Tijdschrift.nl"},PRIMO:{domain:"primo.be",code:"PRIMO",fullName:"Primo"},PZ:{domain:"pzc.nl",code:"PZ",fullName:"PZC"},ST:{domain:"destentor.nl",code:"ST",fullName:"De Stentor"},STO:{domain:"story.nl",code:"STO",fullName:"Story"},STORYBE:{domain:"story.be",code:"STORYBE",fullName:"Story"},SVW:{domain:"stijlvol-wonen.com",code:"SVW",fullName:"Stijlvol Wonen"},TNA:{domain:"tina.nl",code:"TNA",fullName:"Tina"},TR:{domain:"trouw.nl",code:"TR",fullName:"Trouw"},TSBE:{domain:"tijdschrift.be",code:"TSBE",fullName:"Tijdschrift.be"},TT:{domain:"tubantia.nl",code:"TT",fullName:"Tubantia"},TTA:{domain:"totaaltv.nl",code:"TTA",fullName:"Totaal TV"},TVBLAD:{domain:"teveblad.be",code:"TVBLAD",fullName:"TeVe Blad"},TVFAM:{domain:"tvfamilie.be",code:"TVFAM",fullName:"TV Familie"},VK:{domain:"volkskrant.nl",code:"VK",fullName:"De Volkskrant"},VRO:{domain:"veronicasuperguide.nl",allDomains:["superguide.nl","veronicasuperguide.nl","veronicamagazine.nl"],code:"VRO",fullName:"Veronica Superguide"},VTW:{domain:"vtwonen.nl",code:"VTW",fullName:"vtwonen"},WLS:{domain:"wonenlandelijkestijl.com",code:"WLS",fullName:"Wonen Landelijke Stijl"},KIOSK:{domain:"kiosk.nl",code:"KIOSK",fullName:"Kiosk"},KIOSKBE:{domain:"kiosk.be",code:"KIOSKBE",fullName:"Kiosk"}};function dC({brandCode:e,hostname:t}){return(e==null?void 0:e.toLowerCase())||pC(t)}function pC(e){var r;const n=Object.values(fC).find(o=>o.domain.includes(e));return n!=null&&n.domain?(r=n==null?void 0:n.code)==null?void 0:r.toLowerCase():void 0}function hC(e,t){const n=Dt(),r=Rn(),i=n.public.IS_DRAFT||r.query.draft||Cc()?"draft":"published";let s=(t==null?void 0:t.replace("formal","fm"))||"nl-fm";s==="be"&&(s="nl-be");function a(l){return Array.isArray(l)?l.join(","):l}return{...e||{},version:i,language:s,...(e==null?void 0:e.resolve_relations)&&{resolve_relations:a(e.resolve_relations)}}}function gC(){const e=Dt();return!["production","test"].includes(e.public.STAGE)||void 0||Cc()}function Cc(){return!!Rn().query._storyblok}function mC(){return window.top!==window.self&&Cc()}const yC=e=>{};function _C(e=th){return ub(e,{asyncContext:!1})}function vC(e){var n;let t;return Qo()&&(t=(n=St())==null?void 0:n.appContext.app.$nuxt),t||(t=_C(e).tryUse()),t||null}function Ii(e){const t=vC(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function bC(e){return Ii().$config}function Ud(e){return typeof e=="string"?`'${e}'`:new EC().serialize(e)}const EC=function(){var t;class e{constructor(){Xh(this,t,new Map)}compare(r,o){const i=typeof r,s=typeof o;return i==="string"&&s==="string"?r.localeCompare(o):i==="number"&&s==="number"?r-o:String.prototype.localeCompare.call(this.serialize(r,!0),this.serialize(o,!0))}serialize(r,o){if(r===null)return"null";switch(typeof r){case"string":return o?r:`'${r}'`;case"bigint":return`${r}n`;case"object":return this.$object(r);case"function":return this.$function(r)}return String(r)}serializeObject(r){const o=Object.prototype.toString.call(r);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),r);const i=r.constructor,s=i===Object||i===void 0?"":i.name;if(s!==""&&globalThis[s]===i)return this.serializeBuiltInType(s,r);if(typeof r.toJSON=="function"){const a=r.toJSON();return s+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(s,Object.entries(r))}serializeBuiltInType(r,o){const i=this["$"+r];if(i)return i.call(this,o);if(typeof(o==null?void 0:o.entries)=="function")return this.serializeObjectEntries(r,o.entries());throw new Error(`Cannot serialize ${r}`)}serializeObjectEntries(r,o){const i=Array.from(o).sort((a,l)=>this.compare(a[0],l[0]));let s=`${r}{`;for(let a=0;athis.compare(o,i)))}`}$Map(r){return this.serializeObjectEntries("Map",r.entries())}}t=new WeakMap;for(const n of["Error","RegExp","URL"])e.prototype["$"+n]=function(r){return`${n}(${r})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])e.prototype["$"+n]=function(r){return`${n}[${r.join("n,")}${r.length>0?"n":""}]`};return e}();function Zb(e,t){return e===t||Ud(e)===Ud(t)}const TC=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],wC=[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],SC="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",di=[];let AC=class{constructor(){Vn(this,"_data",new Zi);Vn(this,"_hash",new Zi([...TC]));Vn(this,"_nDataBytes",0);Vn(this,"_minBufferSize",0)}finalize(t){t&&this._append(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(t,n){const r=this._hash.words;let o=r[0],i=r[1],s=r[2],a=r[3],l=r[4],u=r[5],c=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)di[d]=t[n+d]|0;else{const y=di[d-15],v=(y<<25|y>>>7)^(y<<14|y>>>18)^y>>>3,T=di[d-2],S=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;di[d]=v+di[d-7]+S+di[d-16]}const p=l&u^~l&c,g=o&i^o&s^i&s,h=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),_=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),m=f+_+p+wC[d]+di[d],E=h+g;f=c,c=u,u=l,l=a+m|0,a=s,s=i,i=o,o=m+E|0}r[0]=r[0]+o|0,r[1]=r[1]+i|0,r[2]=r[2]+s|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+u|0,r[6]=r[6]+c|0,r[7]=r[7]+f|0}_append(t){typeof t=="string"&&(t=Zi.fromUtf8(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(t){let n,r=this._data.sigBytes/64;t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const o=r*16,i=Math.min(o*4,this._data.sigBytes);if(o){for(let s=0;s>>2]|=(n.charCodeAt(i)&255)<<24-i%4*8;return new Zi(o,r)}toBase64(){const t=[];for(let n=0;n>>2]>>>24-n%4*8&255,o=this.words[n+1>>>2]>>>24-(n+1)%4*8&255,i=this.words[n+2>>>2]>>>24-(n+2)%4*8&255,s=r<<16|o<<8|i;for(let a=0;a<4&&n*8+a*6>>6*(3-a)&63))}return t.join("")}concat(t){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let n=0;n>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n>>2]=t.words[n>>>2];this.sigBytes+=t.sigBytes}}function RC(e){return new AC().finalize(e).toBase64()}function Wi(e){return RC(Ud(e))}const IC={trailing:!0};function OC(e,t=25,n={}){if(n={...IC,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,i=[],s,a;const l=(u,c)=>(s=xC(e,u,c),s.finally(()=>{if(s=null,n.trailing&&a&&!o){const f=l(u,a);return a=null,f}}),s);return function(...u){return s?(n.trailing&&(a=u),s):new Promise(c=>{const f=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const d=n.leading?r:l(this,u);for(const p of i)p(d);i=[]},t),f?(r=l(this,u),c(r)):i.push(c)})}}async function xC(e,t,n){return await e.apply(t,n)}const Cm=()=>{var e;return(e=Ii())==null?void 0:e.$router};const CC=()=>{try{if(Ii()._processingMiddleware)return!0}catch{return!1}return!1},NC=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?LC(e):Cm().resolve(e).href;if(t!=null&&t.open){const{target:i="_blank",windowFeatures:s={}}=t.open,a=Object.entries(s).filter(([l,u])=>u!==void 0).map(([l,u])=>`${l.toLowerCase()}=${u}`).join(", ");return open(n,i,a),Promise.resolve()}Mn(n,{acceptRelative:!0});{const{protocol:i}=new URL(n,window.location.href);if(i&&eb(i))throw new Error(`Cannot navigate to a URL with '${i}' protocol.`)}const r=CC();Cm();const o=Ii();return o._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,r?o.isHydrating?new Promise(()=>{}):!1:Promise.resolve()};function LC(e){return Xa(e.path||"",e.query||{})+(e.hash||"")}const kC="$s";function cs(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=kC+n,i=Ii(),s=Ka(i.payload.state,o);if(s.value===void 0&&r){const a=r();if(It(a))return i.payload.state[o]=a,a;s.value=a}return s}function PC(e){return{}}function e0(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},r=t||{},o=r.decode||DC;let i=0;for(;iAa(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},Fl=window.cookieStore;function vf(e,t){var u;const n={...UC,...t};n.filter??(n.filter=c=>c===e);const r=Nm(n)||{};let o;n.maxAge!==void 0?o=n.maxAge*1e3:n.expires&&(o=n.expires.getTime()-Date.now());const i=o!==void 0&&o<=0,s=i||r[e]===void 0||r[e]===null,a=zn(i?void 0:r[e]??((u=n.default)==null?void 0:u.call(n))),l=o&&!i?$C(a,o,n.watch&&n.watch!=="shallow"):Fe(a);{let c=null;try{!Fl&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const f=(h=!1)=>{!h&&(n.readonly||Zb(l.value,r[e]))||(VC(e,l.value,n),r[e]=zn(l.value),c==null||c.postMessage({value:n.encode(l.value)}))},d=h=>{var m;const _=h.refresh?(m=Nm(n))==null?void 0:m[e]:n.decode(h.value);p=!0,l.value=_,r[e]=zn(_),Yt(()=>{p=!1})};let p=!1;const g=!!To();if(g&&Yr(()=>{p=!0,f(),c==null||c.close()}),Fl){const h=_=>{const m=_.changed.find(y=>y.name===e),E=_.deleted.find(y=>y.name===e);m&&d({value:m.value}),E&&d({value:null})};Fl.addEventListener("change",h),g&&Yr(()=>Fl.removeEventListener("change",h))}else c&&(c.onmessage=({data:h})=>d(h));n.watch&&wt(l,()=>{p||f()},{deep:n.watch!=="shallow"}),s&&f(s)}return l}function Nm(e={}){return e0(document.cookie,e)}function jC(e,t,n={}){return t==null?zu(e,t,{...n,maxAge:-1}):zu(e,t,n)}function VC(e,t,n={}){document.cookie=jC(e,t,n)}const Lm=2147483647;function $C(e,t,n){let r,o,i=0;const s=n?Fe(e):{value:e};return To()&&Yr(()=>{o==null||o(),clearTimeout(r)}),Ga((a,l)=>{n&&(o=wt(s,l));function u(){i=0,clearTimeout(r);const c=t-i,f=c{if(i+=f,ie.includes(t))}const Pm={interaction_required:"interaction_required",login_required:"login_required",account_selection_required:"account_selection_required",consent_required:"consent_required",invalid_request_uri:"invalid_request_uri",invalid_request_object:"invalid_request_object",request_not_supported:"request_not_supported",request_uri_not_supported:"request_uri_not_supported",registration_not_supported:"registration_not_supported"},zC=async(e,t)=>{let n,r;try{return}catch(o){console.log({error:o}),Ii().$logger.log({title:"Token validation failed",error:o,metadata:{headers:PC()}})}},GC=async e=>{let t,n;const r=([t,n]=qn(()=>rh({path:e.path})),t=await t,n(),t);if(r.redirect)return Mn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},KC=[Ox,yC,zC,GC],fa={"auth-middleware":()=>ie(()=>import("./CtRsrbEq.js"),[],import.meta.url)};function qC(e,t,n){const{pathname:r,search:o,hash:i}=t,s=e.indexOf("#");if(s>-1){const u=i.includes(e.slice(s))?e.slice(s).length:1;let c=i.slice(u);return c[0]!=="/"&&(c="/"+c),Fg(c,"")}const a=Fg(r,e),l=!n||_R(a,n)?a:n;return l+(l.includes("?")?"":o)+i}const WC=Gt({name:"nuxt:router",enforce:"pre",async setup(e){var _;let t,n,r=Dt().app.baseURL;const o=((_=Nr.history)==null?void 0:_.call(Nr,r))??BO(r),i=Nr.routes?([t,n]=qn(()=>Nr.routes(hf)),t=await t,n(),t??hf):hf;let s;const a=dx({...Nr,scrollBehavior:(m,E,y)=>{if(E===lr){s=y;return}if(Nr.scrollBehavior){if(a.options.scrollBehavior=Nr.scrollBehavior,"scrollRestoration"in window.history){const v=a.beforeEach(()=>{v(),window.history.scrollRestoration="manual"})}return Nr.scrollBehavior(m,lr,s||y)}},history:o,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=An(a.currentRoute.value);a.afterEach((m,E)=>{l.value=E}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=qC(r,window.location,e.payload.path),c=An(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((m,E)=>{var y,v,T,S;((v=(y=m.matched[0])==null?void 0:y.components)==null?void 0:v.default)===((S=(T=E.matched[0])==null?void 0:T.components)==null?void 0:S.default)&&f()});const d={};for(const m in c.value)Object.defineProperty(d,m,{get:()=>c.value[m],enumerable:!0});e._route=Er(d),e._middleware||(e._middleware={global:[],named:{}});const p=Qa();a.afterEach(async(m,E,y)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(bI),y&&await e.callHook("page:loading:end")});try{[t,n]=qn(()=>a.isReady()),await t,n()}catch(m){[t,n]=qn(()=>e.runWithContext(()=>hi(m))),await t,n()}const g=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value;f();const h=e.payload.state._layout;return a.beforeEach(async(m,E)=>{var y;await e.callHook("page:loading:start"),m.meta=Sn(m.meta),e.isHydrating&&h&&!Xr(m.meta.layout)&&(m.meta.layout=h),e._processingMiddleware=!0;{const v=new Set([...KC,...e._middleware.global]);for(const T of m.matched){const S=T.meta.middleware;if(S)for(const I of lh(S))v.add(I)}{const T=await e.runWithContext(()=>rh({path:m.path}));if(T.appMiddleware)for(const S in T.appMiddleware)T.appMiddleware[S]?v.add(S):v.delete(S)}for(const T of v){const S=typeof T=="string"?e._middleware.named[T]||await((y=fa[T])==null?void 0:y.call(fa).then(I=>I.default||I)):T;if(!S)throw new Error(`Unknown route middleware: '${T}'.`);try{const I=await e.runWithContext(()=>S(m,E));if(!e.payload.serverRendered&&e.isHydrating&&(I===!1||I instanceof Error)){const D=I||Go({statusCode:404,statusMessage:`Page Not Found: ${u}`});return await e.runWithContext(()=>hi(D)),!1}if(I===!0)continue;if(I===!1)return I;if(I)return mb(I)&&I.fatal&&await e.runWithContext(()=>hi(I)),I}catch(I){const D=Go(I);return D.fatal&&await e.runWithContext(()=>hi(D)),D}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(m,E)=>{m.matched.length===0&&await e.runWithContext(()=>hi(Go({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`,data:{path:m.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in g&&(g.name=void 0),await a.replace({...g,force:!0}),a.options.scrollBehavior=Nr.scrollBehavior}catch(m){await e.runWithContext(()=>hi(m))}}),{provide:{router:a}}}}),jd=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),YC=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ns=e=>{const t=Be();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{jd(()=>e())}):jd(()=>e())},XC=Gt({name:"nuxt:payload",setup(e){const t=new Set;Vt().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const o=await tm(n.path);if(o){for(const i of t)delete e.static.data[i];for(const i in o.data)i in e.static.data||t.add(i),e.static.data[i]=o.data[i]}}),Ns(()=>{var n;e.hooks.hook("link:prefetch",async r=>{const{hostname:o}=new URL(r,window.location.href);o===window.location.hostname&&await tm(r).catch(()=>{console.warn("[nuxt] Error preloading payload for",r)})}),((n=navigator.connection)==null?void 0:n.effectiveType)!=="slow-2g"&&setTimeout(Oc,1e3)})}}),JC=Gt(()=>{const e=Vt();Ns(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),QC=Gt(e=>{let t;async function n(){const r=await Oc();t&&clearTimeout(t),t=setTimeout(n,zg);try{const o=await $fetch(eh("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}Ns(()=>{t=setTimeout(n,zg)})});function ZC(e={}){const t=e.path||window.location.pathname;let n={};try{n=Aa(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires){r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const a="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:hr(n.app.baseURL,i.fullPath);ZC({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}});/*! * shared v10.0.7 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const bs=typeof window<"u",jn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),tN=(e,t,n)=>nN({l:e,k:t,s:n}),nN=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),$t=e=>typeof e=="number"&&isFinite(e),rN=e=>ch(e)==="[object Date]",Es=e=>ch(e)==="[object RegExp]",tl=e=>Qe(e)&&Object.keys(e).length===0,lt=Object.assign,oN=Object.create,Ze=(e=null)=>oN(e);let Dm;const nl=()=>Dm||(Dm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ze());function Mm(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const iN=Object.prototype.hasOwnProperty;function Dn(e,t){return iN.call(e,t)}const Tt=Array.isArray,_t=e=>typeof e=="function",ce=e=>typeof e=="string",bt=e=>typeof e=="boolean",Xe=e=>e!==null&&typeof e=="object",sN=e=>Xe(e)&&_t(e.then)&&_t(e.catch),t0=Object.prototype.toString,ch=e=>t0.call(e),Qe=e=>ch(e)==="[object Object]",aN=e=>e==null?"":Tt(e)||Qe(e)&&e.toString===t0?JSON.stringify(e,null,2):String(e);function fh(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function lN(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ul=e=>!Xe(e)||Tt(e);function qr(e,t){if(Ul(e)||Ul(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(i=>{i!=="__proto__"&&(Xe(r[i])&&!Xe(o[i])&&(o[i]=Array.isArray(r[i])?[]:Ze()),Ul(o[i])||Ul(r[i])?o[i]=r[i]:n.push({src:r[i],des:o[i]}))})}}const Ko=["nl","be","nl-formal","be-formal"],Vd={nl:[],be:[],"nl-formal":[],"be-formal":[]},uN=[()=>ie(()=>import("./BBxKP674.js"),[],import.meta.url),()=>ie(()=>import("./DUM5JVd_.js"),[],import.meta.url)],Nc=[{language:"nl",code:"nl"},{language:"be",code:"be"},{language:"nl-formal",code:"nl-formal"},{language:"be-formal",code:"be-formal"}],n0="@nuxtjs/i18n",cN=!1,fN="i18n_redirected",dN="nuxtI18nInternal",Fm="nuxt-i18n-slp",pN=Symbol.for("nuxt:client-only"),jl="
",bf=new WeakMap;function hN(e){if(bf.has(e))return bf.get(e);const t={...e};return t.render?t.render=(n,r,o,i,s,a)=>{var l;if(i.mounted$??n.mounted$){const u=(l=e.render)==null?void 0:l.bind(n)(n,r,o,i,s,a);return u.children===null||typeof u.children=="string"?Wn(u):dt(u)}return gf(n._.vnode.el,jl)}:t.template&&(t.template=` `),t.setup=(n,r)=>{var l;const o=Be(),i=An(o.isHydrating===!1),s=St();if(o.isHydrating){const u={...s.attrs},c=gN(s);for(const f in u)delete s.attrs[f];ln(()=>{Object.assign(s.attrs,u),s.vnode.dirs=c})}ln(()=>{i.value=!0});const a=((l=e.setup)==null?void 0:l.call(e,n,r))||{};return lc(a)?Promise.resolve(a).then(u=>typeof u!="function"?(u||(u={}),u.mounted$=i,u):(...c)=>{if(i.value||!o.isHydrating){const f=u(...c);return f.children===null||typeof f.children=="string"?Wn(f):dt(f)}return gf(s==null?void 0:s.vnode.el,jl)}):typeof a=="function"?(...u)=>{if(i.value){const c=a(...u);return c.children===null||typeof c.children=="string"?Wn(c,r.attrs):dt(c,r.attrs)}return gf(s==null?void 0:s.vnode.el,jl)}:Object.assign(a,{mounted$:i})},bf.set(e,t),t}function gN(e){if(!e||!e.vnode.dirs)return null;const t=e.vnode.dirs;return e.vnode.dirs=null,t}const mN=e=>e==="defer"||e===!1;function r0(...e){var p;const t=typeof e[e.length-1]=="string"?e.pop():void 0;yN(e[0],e[1])&&e.unshift(t);let[n,r,o={}]=e;const i=ne(()=>gt(n));if(typeof i.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const s=Be();o.server??(o.server=!0),o.default??(o.default=vN),o.getCachedData??(o.getCachedData=i0),o.lazy??(o.lazy=!1),o.immediate??(o.immediate=!0),o.deep??(o.deep=fo.deep),o.dedupe??(o.dedupe="cancel"),o._functionName,s._asyncData[i.value];const a={cause:"initial",dedupe:o.dedupe};(p=s._asyncData[i.value])!=null&&p._init||(a.cachedData=o.getCachedData(i.value,s,{cause:"initial"}),s._asyncData[i.value]=Um(s,i.value,r,o,a.cachedData));const l=s._asyncData[i.value];l._deps++;const u=()=>s._asyncData[i.value].execute(a),c=o.server!==!1&&s.payload.serverRendered;{let g=function(y){const v=s._asyncData[y];v!=null&&v._deps&&(v._deps--,v._deps===0&&(v==null||v._off()))};const h=St();if(h&&c&&o.immediate&&!h.sp&&(h.sp=[]),h&&!h._nuxtOnBeforeMountCbs){h._nuxtOnBeforeMountCbs=[];const y=h._nuxtOnBeforeMountCbs;Mp(()=>{y.forEach(v=>{v()}),y.splice(0,y.length)}),So(()=>y.splice(0,y.length))}const _=h&&(h._nuxtClientOnly||jt(pN,!1));c&&s.isHydrating&&(l.error.value||l.data.value!=null)?l.status.value=l.error.value?"error":"success":h&&(!_&&s.payload.serverRendered&&s.isHydrating||o.lazy)&&o.immediate?h._nuxtOnBeforeMountCbs.push(u):o.immediate&&u();const m=To();if(o.watch){const y=wt(o.watch,()=>{l._execute({cause:"watch",dedupe:o.dedupe})},{flush:"post"});m&&Yr(()=>y())}const E=wt(i,(y,v)=>{var I,D;const T=((I=s._asyncData[v])==null?void 0:I.data.value)!==fo.value;v&&g(v);const S={cause:"initial",dedupe:o.dedupe};(D=s._asyncData[y])!=null&&D._init||(S.cachedData=o.getCachedData(y,s,{cause:"initial"}),s._asyncData[y]=Um(s,y,r,o,S.cachedData)),s._asyncData[y]._deps++,(o.immediate||T)&&s._asyncData[y].execute(S)},{flush:"sync"});m&&Yr(()=>{E(),g(i.value)})}const f={data:Vl(()=>{var g;return(g=s._asyncData[i.value])==null?void 0:g.data}),pending:Vl(()=>{var g;return(g=s._asyncData[i.value])==null?void 0:g.pending}),status:Vl(()=>{var g;return(g=s._asyncData[i.value])==null?void 0:g.status}),error:Vl(()=>{var g;return(g=s._asyncData[i.value])==null?void 0:g.error}),refresh:(...g)=>s._asyncData[i.value].execute(...g),execute:(...g)=>s._asyncData[i.value].execute(...g),clear:()=>o0(s,i.value)},d=Promise.resolve(s._asyncDataPromises[i.value]).then(()=>f);return Object.assign(d,f),d}function Vl(e){return ne({get(){var t;return(t=e())==null?void 0:t.value},set(t){const n=e();n&&(n.value=t)}})}function yN(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}async function dB(e){await new Promise(n=>Ns(n));const t=e?xx(e):void 0;await Be().hooks.callHookParallel("app:data:refresh",t)}function o0(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=fo.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=W(e._asyncData[t]._default()),e._asyncData[t].error.value=fo.errorValue,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function _N(e,t){const n={};for(const r of t)n[r]=e[r];return n}function Um(e,t,n,r,o){var f;(f=e.payload._errors)[t]??(f[t]=fo.errorValue);const i=r.getCachedData!==i0,s=n,a=r.deep?Fe:An,l=o!=null,u=e.hook("app:data:refresh",async d=>{(!d||d.includes(t))&&await c.execute({cause:"refresh:hook"})}),c={data:a(l?o:r.default()),pending:ne(()=>c.status.value==="pending"),error:Ka(e.payload._errors,t),status:An("idle"),execute:(d={})=>{if(e._asyncDataPromises[t]){if(mN(d.dedupe??r.dedupe))return e._asyncDataPromises[t];e._asyncDataPromises[t].cancelled=!0}{const g="cachedData"in d?d.cachedData:r.getCachedData(t,e,{cause:d.cause??"refresh:manual"});if(g!=null)return e.payload.data[t]=c.data.value=g,c.error.value=fo.errorValue,c.status.value="success",Promise.resolve(g)}c.status.value="pending";const p=new Promise((g,h)=>{try{g(s(e))}catch(_){h(_)}}).then(async g=>{if(p.cancelled)return e._asyncDataPromises[t];let h=g;r.transform&&(h=await r.transform(g)),r.pick&&(h=_N(h,r.pick)),e.payload.data[t]=h,c.data.value=h,c.error.value=fo.errorValue,c.status.value="success"}).catch(g=>{if(p.cancelled)return e._asyncDataPromises[t];c.error.value=Go(g),c.data.value=W(r.default()),c.status.value="error"}).finally(()=>{p.cancelled||delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=p,e._asyncDataPromises[t]},_execute:OC((...d)=>c.execute(...d),0,{leading:!0}),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{u(),c._init=!1,i||Yt(()=>{c._init||(o0(e,t),c.execute=()=>Promise.resolve(),c.data.value=fo.value)})}};return c}const vN=()=>fo.value,i0=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]},bN="$s";function ct(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=bN+n,i=Be(),s=Ka(i.payload.state,o);if(s.value===void 0&&r){const a=r();if(It(a))return i.payload.state[o]=a,a;s.value=a}return s}function s0(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n],i=ne(()=>gt(e)),s=ne(()=>gt(r.key)||"$f"+Wi([o,typeof i.value=="string"?i.value:"",...EN(r)]));if(!r.baseURL&&typeof i.value=="string"&&i.value[0]==="/"&&i.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:a,lazy:l,default:u,transform:c,pick:f,watch:d,immediate:p,getCachedData:g,deep:h,dedupe:_,...m}=r,E=Sn({...JR,...m,cache:typeof r.cache=="boolean"?void 0:r.cache}),y={server:a,lazy:l,default:u,transform:c,pick:f,immediate:p,getCachedData:g,deep:h,dedupe:_,watch:d===!1?[]:[...d||[],E]};let v;return r0(d===!1?s.value:s,()=>{var M;(M=v==null?void 0:v.abort)==null||M.call(v,new DOMException("Request aborted as another request to the same endpoint was initiated.","AbortError")),v=typeof AbortController<"u"?new AbortController:{};const S=gt(r.timeout);let I;return S&&(I=setTimeout(()=>v.abort(new DOMException("Request aborted due to timeout.","AbortError")),S),v.signal.onabort=()=>clearTimeout(I)),(r.$fetch||globalThis.$fetch)(i.value,{signal:v.signal,...E}).finally(()=>{clearTimeout(I)})},y)}function EN(e){var n;const t=[((n=gt(e.method))==null?void 0:n.toUpperCase())||"GET",gt(e.baseURL)];for(const r of[e.params||e.query]){const o=gt(r);if(!o)continue;const i={};for(const[s,a]of Object.entries(o))i[gt(s)]=gt(a);t.push(i)}if(e.body){const r=gt(e.body);if(!r)t.push(Wi(r));else if(r instanceof ArrayBuffer)t.push(Wi(Object.fromEntries([...new Uint8Array(r).entries()].map(([o,i])=>[o,i.toString()]))));else if(r instanceof FormData){const o={};for(const i of r.entries()){const[s,a]=i;o[s]=a instanceof File?a.name:a}t.push(Wi(o))}else if(Ba(r))t.push(Wi(Sn(r)));else try{t.push(Wi(r))}catch{console.warn("[useFetch] Failed to hash body",r)}}return t}const TN={path:"/",watch:!0,decode:e=>Aa(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},$l=window.cookieStore;function Lc(e,t){var u;const n={...TN,...t};n.filter??(n.filter=c=>c===e);const r=jm(n)||{};let o;n.maxAge!==void 0?o=n.maxAge*1e3:n.expires&&(o=n.expires.getTime()-Date.now());const i=o!==void 0&&o<=0,s=i||r[e]===void 0||r[e]===null,a=zn(i?void 0:r[e]??((u=n.default)==null?void 0:u.call(n))),l=o&&!i?AN(a,o,n.watch&&n.watch!=="shallow"):Fe(a);{let c=null;try{!$l&&typeof BroadcastChannel<"u"&&(c=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const f=(h=!1)=>{!h&&(n.readonly||Zb(l.value,r[e]))||(SN(e,l.value,n),r[e]=zn(l.value),c==null||c.postMessage({value:n.encode(l.value)}))},d=h=>{var m;const _=h.refresh?(m=jm(n))==null?void 0:m[e]:n.decode(h.value);p=!0,l.value=_,r[e]=zn(_),Yt(()=>{p=!1})};let p=!1;const g=!!To();if(g&&Yr(()=>{p=!0,f(),c==null||c.close()}),$l){const h=_=>{const m=_.changed.find(y=>y.name===e),E=_.deleted.find(y=>y.name===e);m&&d({value:m.value}),E&&d({value:null})};$l.addEventListener("change",h),g&&Yr(()=>$l.removeEventListener("change",h))}else c&&(c.onmessage=({data:h})=>d(h));n.watch&&wt(l,()=>{p||f()},{deep:n.watch!=="shallow"}),s&&f(s)}return l}function jm(e={}){return e0(document.cookie,e)}function wN(e,t,n={}){return t==null?zu(e,t,{...n,maxAge:-1}):zu(e,t,n)}function SN(e,t,n={}){document.cookie=wN(e,t,n)}const Vm=2147483647;function AN(e,t,n){let r,o,i=0;const s=n?Fe(e):{value:e};return To()&&Yr(()=>{o==null||o(),clearTimeout(r)}),Ga((a,l)=>{n&&(o=wt(s,l));function u(){i=0,clearTimeout(r);const c=t-i,f=c{if(i+=f,i4)return Promise.all(o).then(()=>a0(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var a;return(a=s.components)==null?void 0:a.default}).filter(s=>typeof s=="function");for(const s of i){const a=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}function Zo(e){return new URL(window.location.href)}const IN=(...e)=>e.find(t=>t!==void 0);function ON(e){const t=e.componentName||"NuxtLink";function n(i){return typeof i=="string"&&i.startsWith("#")}function r(i,s,a){const l=a??e.trailingSlash;if(!i||l!=="append"&&l!=="remove")return i;if(typeof i=="string")return Bl(i,l);const u="path"in i&&i.path!==void 0?i.path:s(i).path;return{...i,name:void 0,path:Bl(u,l)}}function o(i){const s=Vt(),a=Dt(),l=ne(()=>!!i.target&&i.target!=="_self"),u=ne(()=>{const _=i.to||i.href||"";return typeof _=="string"&&Mn(_,{acceptRelative:!0})}),c=Iu("RouterLink"),f=c&&typeof c!="string"?c.useLink:void 0,d=ne(()=>{if(i.external)return!0;const _=i.to||i.href||"";return typeof _=="object"?!1:_===""||u.value}),p=ne(()=>{const _=i.to||i.href||"";return d.value?_:r(_,s.resolve,i.trailingSlash)}),g=d.value||f==null?void 0:f({...i,to:p}),h=ne(()=>{var m;const _=i.trailingSlash??e.trailingSlash;if(!p.value||u.value||n(p.value))return p.value;if(d.value){const E=typeof p.value=="object"&&"path"in p.value?Od(p.value):p.value,y=typeof E=="object"?s.resolve(E).href:E;return Bl(y,_)}return typeof p.value=="object"?((m=s.resolve(p.value))==null?void 0:m.href)??null:Bl(hr(a.app.baseURL,p.value),_)});return{to:p,hasTarget:l,isAbsoluteUrl:u,isExternal:d,href:h,isActive:(g==null?void 0:g.isActive)??ne(()=>p.value===s.currentRoute.value.path),isExactActive:(g==null?void 0:g.isExactActive)??ne(()=>p.value===s.currentRoute.value.path),route:(g==null?void 0:g.route)??ne(()=>s.resolve(p.value)),async navigate(_){await Do(h.value,{replace:i.replace,external:d.value||l.value})}}}return Ce({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:o,setup(i,{slots:s}){const a=Vt(),{to:l,href:u,navigate:c,isExternal:f,hasTarget:d,isAbsoluteUrl:p}=o(i),g=An(!1),h=Fe(null),_=y=>{var v;h.value=i.custom?(v=y==null?void 0:y.$el)==null?void 0:v.nextElementSibling:y==null?void 0:y.$el};function m(y){var v,T;return!g.value&&(typeof i.prefetchOn=="string"?i.prefetchOn===y:((v=i.prefetchOn)==null?void 0:v[y])??((T=e.prefetchOn)==null?void 0:T[y]))&&(i.prefetch??e.prefetch)!==!1&&i.noPrefetch!==!0&&i.target!=="_blank"&&!NN()}async function E(y=Be()){if(g.value)return;g.value=!0;const v=typeof l.value=="string"?l.value:f.value?Od(l.value):a.resolve(l.value).fullPath,T=f.value?new URL(v,window.location.href).href:v;await Promise.all([y.hooks.callHook("link:prefetch",T).catch(()=>{}),!f.value&&!d.value&&a0(l.value,a).catch(()=>{})])}if(m("visibility")){const y=Be();let v,T=null;ln(()=>{const S=xN();Ns(()=>{v=jd(()=>{var I;(I=h==null?void 0:h.value)!=null&&I.tagName&&(T=S.observe(h.value,async()=>{T==null||T(),T=null,await E(y)}))})})}),Jo(()=>{v&&YC(v),T==null||T(),T=null})}return()=>{var T;if(!f.value&&!d.value&&!n(l.value)){const S={ref:_,to:l.value,activeClass:i.activeClass||e.activeClass,exactActiveClass:i.exactActiveClass||e.exactActiveClass,replace:i.replace,ariaCurrentValue:i.ariaCurrentValue,custom:i.custom};return i.custom||(m("interaction")&&(S.onPointerenter=E.bind(null,void 0),S.onFocus=E.bind(null,void 0)),g.value&&(S.class=i.prefetchedClass||e.prefetchedClass),S.rel=i.rel||void 0),dt(Iu("RouterLink"),S,s.default)}const y=i.target||null,v=IN(i.noRel?"":i.rel,e.externalRelAttribute,p.value||d.value?"noopener noreferrer":"")||null;return i.custom?s.default?s.default({href:u.value,navigate:c,prefetch:E,get route(){if(!u.value)return;const S=new URL(u.value,window.location.href);return{path:S.pathname,fullPath:S.pathname,get query(){return Rc(S.search)},hash:S.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:v,target:y,isExternal:f.value||d.value,isActive:!1,isExactActive:!1}):null:dt("a",{ref:h,href:u.value||null,rel:v,target:y},(T=s.default)==null?void 0:T.call(s))}}})}const kc=ON(YR);function Bl(e,t){const n=t==="append"?Sa:Ai;return Mn(e)&&!e.startsWith("http")?e:n(e,!0)}function xN(){const e=Be();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const u=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&u&&u()}})),n.set(i,s),t.observe(i),()=>{n.delete(i),t==null||t.unobserve(i),n.size===0&&(t==null||t.disconnect(),t=null)});return e._observer={observe:r}}const CN=/2g/;function NN(){const e=navigator.connection;return!!(e&&(e.saveData||CN.test(e.effectiveType)))}function Pc(e){return ce(e)?e:e!=null?e.toString():"(null)"}function $m(e,t,n){const{defaultLocale:r,strategy:o,routesNameSeparator:i,defaultLocaleRouteNameSuffix:s,differentDomains:a}=n,l=o!=="no_prefix"||a,u=Pc(e)+(l?i+t:"");return t===r&&o==="prefix_and_default"?u+i+s:u}function LN(e,t){const n=[];for(const[r,o]of t.entries()){const i=e.find(s=>{var a;return((a=s.language)==null?void 0:a.toLowerCase())===o.toLowerCase()});if(i){n.push({code:i.code,score:1-r/t.length});break}}for(const[r,o]of t.entries()){const i=o.split("-")[0].toLowerCase(),s=e.find(a=>{var l;return((l=a.language)==null?void 0:l.split("-")[0].toLowerCase())===i});if(s){n.push({code:s.code,score:.999-r/t.length});break}}return n}function kN(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function PN(e,t){const n=e.map(o=>({code:o.code,language:o.language||o.code})),r=LN(n,t);return r.length===0?"":(r.length>1&&r.sort(kN),r[0].code)}function l0(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const DN=`(${Ko.join("|")})`,$d=l0(Ko);function MN(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=Dt().public.i18n,n=`(?:${e}${t})?`,r=new RegExp(`${e}${DN}${n}$`,"i");return o=>{var i,s,a;return ce(o)?((i=o.match($d))==null?void 0:i[1])??"":o.name?((s=Pc(o.name).match(r))==null?void 0:s[1])??"":o.path?((a=o.path.match($d))==null?void 0:a[1])??"":""}}function FN(e){return e!=null&&"global"in e&&"mode"in e}function UN(e){return e!=null&&!("__composer"in e)&&"locale"in e&&It(e.locale)}function u0(e){return e!=null&&"__composer"in e}function Gu(e){return FN(e)?e.global:e}function ea(e){const t=Gu(e);return UN(t)?t:u0(t)?t.__composer:t}function Dc(){return window.location.host}function jN(e,t,n){var a,l,u;const r=Dc();if(!r)return r;const o=ce(n)?n:n.path,i=e.filter(c=>c.domain?(Mn(c.domain)?c.domain.replace(/(http|https):\/\//,""):c.domain)===r:Tt(c==null?void 0:c.domains)?c.domains.includes(r):!1);if(i.length===0)return"";if(i.length===1)return((a=i[0])==null?void 0:a.code)??"";if(t==="no_prefix")return console.warn(d0("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),((l=i[0])==null?void 0:l.code)??"";if(n&&o){const c=(u=o.match(l0(i.map(f=>f.code))))==null?void 0:u.at(1);if(c){const f=i.find(d=>d.code===c);return(f==null?void 0:f.code)??""}}const s=i.find(c=>{var f;return((f=c.defaultForDomains)==null?void 0:f.includes(r))??c.domainDefault});return(s==null?void 0:s.code)??""}function c0(e){var s,a;Be();const t=Dc(),{domainLocales:n}=Dt().public.i18n,r=Nc.find(l=>l.code===e),o=((s=n==null?void 0:n[e])==null?void 0:s.domain)||(r==null?void 0:r.domain)||((a=r==null?void 0:r.domains)==null?void 0:a.find(l=>l===t));if(!o){console.warn(d0("Could not find domain name for locale "+e));return}return Mn(o,{strict:!0})?o:new URL(window.location.origin).protocol+"//"+o}function VN(e,t){const{multiDomainLocales:n,strategy:r,routesNameSeparator:o,defaultLocaleRouteNameSuffix:i}=e;if(!n||!(r==="prefix_except_default"||r==="prefix_and_default"))return;const s=Vt(),a=[o,i].join("");for(const l of s.getRoutes()){const u=Pc(l.name);if(u.endsWith(a)){s.removeRoute(u);continue}const c=u.split(o)[1];c===t&&s.addRoute({...l,path:l.path===`/${c}`?"/":l.path.replace(`/${c}`,"")})}}function $N(e){const{locales:t,defaultLocale:n,multiDomainLocales:r}=e;if(!r)return n||"";const o=Dc();if(t.some(i=>!ce(i)&&i.defaultForDomains!=null)){const i=t.find(s=>{var a;return!ce(s)&&!!((a=s.defaultForDomains)!=null&&a.includes(o))});return(i==null?void 0:i.code)??""}return n||""}const da=new Map;async function BN(e,t){const n={messages:{}};for(const r of e){const{default:o}=await r(),i=_t(o)?await t.runWithContext(()=>o()):o;qr(i,n)}return n}function f0(e,t){if(e===!1)return[];if(Tt(e))return e;let n=[];if(ce(e))return t.every(o=>o!==e)&&n.push(e),n;const r=[...t,"default"];for(const o of r)o in e&&(n=[...n,...e[o].filter(Boolean)]);return n}async function HN(e,{key:t,load:n},r){let o=null;try{const i=await n().then(s=>"default"in s?s.default:s);_t(i)?o=await r.runWithContext(()=>i(e)):(o=i,o!=null&&da&&da.set(t,o))}catch(i){console.error("Failed locale loading: "+i.message)}return o}async function Bd(e,t,n,r){const o=t[e];if(o==null)return;const i={};for(const s of o){let a=null;da&&da.has(s.key)&&s.cache?a=da.get(s.key):a=await r.runWithContext(()=>HN(e,s,r)),a!=null&&qr(a,i)}n(e,i)}function Ts(e,t){const n=W(t),r=Xe(n)?n==null?void 0:n.name:n;if(!(n==null||!r))return Pc(r).split(e.runtimeConfig.public.i18n.routesNameSeparator)[0]}function dh(e,t,n){var o;if(ce(t)&&Mn(t,{acceptRelative:!0}))return t;const r=ph(e,t,n);return r==null?"":((o=r.redirectedFrom)==null?void 0:o.fullPath)||r.fullPath}function Mc(e,t,n){return ph(e,t,n)??void 0}function zN(e){if(!ce(e))return lt({},e);if(e[0]==="/"){const{pathname:t,search:n,hash:r}=Td(e);return{path:t,query:Rc(n),hash:r}}return{name:e}}const GN=e=>!!e.path&&!e.name;function KN(e,t,n){const r=e.runtimeConfig.public.i18n;if(GN(t)){const i=WN(e,t,n),s=Ts(e,i);return s?(i.name=$m(s,n,r),i):(!r.differentDomains&&JN(n,r.defaultLocale,r.strategy)&&(t.path="/"+n+t.path),t.path=(r.trailingSlash?Sa:Ai)(t.path,!0),t)}t.name||(t.name=Ts(e,e.router.currentRoute.value));const o=$m(t.name,n,r);return e.router.hasRoute(o)&&(t.name=o),t}function ph(e,t,n){try{const r=n||W(Gu(e.i18n).locale),o=zN(t),i=e.router.resolve(KN(e,o,r));return i.name?i:e.router.resolve(t)}catch(r){if(Dr(r,1))return null}}function qN(e,t){var r;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return W(e.metaState.value);const n=t.meta||{};return((r=W(n))==null?void 0:r[dN])||{}}function hh(e,t,n){const r=n??e.router.currentRoute.value,o=Ts(e,r);if(!o)return"";const i=qN(e,r)[t],s={name:o,params:lt({},r.params,i),fullPath:r.fullPath,query:r.query,hash:r.hash,path:r.path,meta:r.meta},a=dh(e,s,t);if(e.runtimeConfig.public.i18n.differentDomains){const l=c0(t);return l&&hr(l,a)||a}return a}function WN(e,t,n){if(e.runtimeConfig.public.i18n.strategy==="no_prefix")return t;if(e.runtimeConfig.public.i18n.strategy!=="prefix")return e.router.resolve(t);const r=t.path.slice(1),o=t.path[0]+n+(r&&"/"+r),i=e.router.options.routes.find(s=>s.path===o);return i==null?t:e.router.resolve(lt({},t,i,{path:o}))}function d0(e){return`[${n0}]: ${e}`}function p0(e){return{i18n:e??Be().$i18n,router:Vt(),runtimeConfig:Dt(),metaState:ct("nuxt-i18n-meta",()=>({}))}}async function h0(e,t=!1){const n=Be(),{differentDomains:r,skipSettingLocaleOnNavigate:o}=n.$config.public.i18n,i=rl(),s=W(n.$i18n.locale),a=W(n.$i18n.localeCodes);function l(d=s){i===!1||!i.useCookie||o||n.$i18n.setLocaleCookie(d)}const u=await n.$i18n.onBeforeLanguageSwitch(s,e,t,n);if(u&&a.includes(u)){if(s===u)return l(),!1;e=u}if(!e||!t&&r||s===e)return l(),!1;const c=W(n.$i18n.fallbackLocale),f=n.$i18n.mergeLocaleMessage.bind(n.$i18n);if(c){const d=f0(c,[e]);await Promise.all(d.map(p=>Bd(p,Vd,f,n)))}return await Bd(e,Vd,f,n),o?!1:(l(e),n._vueI18n.__setLocale(e),await n.$i18n.onLanguageSwitched(s,e),!0)}function YN(e,t,n,r){const o=Be(),{strategy:i,defaultLocale:s,differentDomains:a,multiDomainLocales:l}=o.$config.public.i18n,u=rl(),c=rL(e,r,n);if(c.locale&&c.from!=null&&Ko.includes(c.locale))return c.locale;let f="";a||l?f||(f=jN(Nc,i,e)):i!=="no_prefix"&&(f||(f=t));const d=(Ko.includes(c.locale)||r&&Ko.includes(r))&&u&&u.useCookie&&r;return f||(f=d||n||s||""),f}function g0({to:e,from:t,locale:n,routeLocale:r},o=!1){if(r===n||Be().$i18n.strategy==="no_prefix")return"";const i=p0();let s=hh(i,n,e);return o&&!s&&(s=dh(i,e.fullPath,n)),Ug(s,e.fullPath)||t&&Ug(s,t.fullPath)?"":s}const XN=()=>ct(n0+":redirect",()=>"");async function m0({nuxt:e,locale:t,route:n,redirectPath:r},o=!1){const{rootRedirect:i,differentDomains:s,multiDomainLocales:a,skipSettingLocaleOnNavigate:l,locales:u,strategy:c}=e.$config.public.i18n;if(n.path==="/"&&i)return ce(i)?r="/"+i:(r="/"+i.path,i.statusCode),r=e.$localePath(r,t),Do(r,{});if(!(l&&(e._vueI18n.__pendingLocale=t,e._vueI18n.__pendingLocalePromise=new Promise(f=>{e._vueI18n.__resolvePendingLocalePromise=()=>f()}),!o))){if(a&&c==="prefix_except_default"){const f=Dc(),d=u.find(g=>{var h;if(!ce(g))return(h=g.defaultForDomains)==null?void 0:h.find(_=>_===f)}),p=ce(d)||d==null?void 0:d.code;if(n.path.startsWith(`/${p}`))return Do(n.path.replace(`/${p}`,""));if(!n.path.startsWith(`/${t}`)&&t!==p){const g=e._vueI18n.__localeFromRoute(n.path);return Do(g!==""?`/${t+n.path.replace(`/${g}`,"")}`:`/${t+(n.path==="/"?"":n.path)}`)}return r&&n.path!==r?Do(r):void 0}if(s){const f=XN();f.value&&f.value!==r&&(f.value="",window.location.assign(r))}else if(r)return Do(r)}}function JN(e,t,n){return n!=="no_prefix"&&!(e===t&&(n==="prefix_and_default"||n==="prefix_except_default"))}function QN(e){const{baseUrl:t,defaultLocale:n,differentDomains:r}=e.$config.public.i18n;if(_t(t))return()=>t(e);const o=_t(n)?n():n;return()=>{if(r&&o){const i=c0(o);if(i)return i}return t??""}}function ZN(e){return Tt(e)?e:[e]}function Oi(e,t=p0()){return(...n)=>e(t,...n)}function eL(){const e=navigator.languages;return PN(Nc,e)||void 0}function tL(){const e=rl(),t=e&&e.cookieKey||fN,n=new Date,r={path:"/",readonly:!1,expires:new Date(n.setDate(n.getDate()+365)),sameSite:e&&e.cookieCrossOrigin?"none":"lax",domain:e&&e.cookieDomain||void 0,secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return Lc(t,r)}function nL(e,t,n){if(t===!1||!t.useCookie)return;const r=e.value??void 0;if(r!=null){if(Ko.includes(r))return r;if(n)return e.value=n,n;e.value=void 0}}function rL(e,t,n=""){const r=rl();if(!r)return{locale:"",error:"disabled"};const o=Be(),i=o.$i18n.strategy;if(!o._vueI18n.__firstAccess)return{locale:i==="no_prefix"?n:"",error:"first_access_only"};if(i!=="no_prefix"){const u=ce(e)?e:e.path;if(r.redirectOn==="root"&&u!=="/")return{locale:"",error:"not_redirect_on_root"};if(r.redirectOn==="no prefix"&&!r.alwaysRedirect&&u.match($d))return{locale:"",error:"not_redirect_on_no_prefix"}}const a=r.useCookie&&t||void 0;if(a)return{locale:a,from:"cookie"};const l=o.$i18n.getBrowserLocale();return l?{locale:l,from:"navigator_or_header"}:{locale:r.fallbackLocale||"",from:"fallback"}}function rl(e=Dt().public.i18n){return(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage}function oL(e){const t=Be(),n=W(t.$i18n.locale),r=W(t.$i18n.locales).map(a=>ce(a)?{code:a}:a),o=r.find(a=>a.code===n)||{code:n},i=hr(W(ea(t.$i18n).baseUrl),t.$config.app.baseURL),s=t.$config.public.i18n;return i||console.warn("I18n `baseUrl` is required to generate valid SEO tag links."),{dir:e.dir,lang:e.lang,key:e.key,seo:e.seo,locale:n,locales:r,currentDir:o.dir||s.defaultDirection,currentLocale:o,currentLanguage:o.language,baseUrl:i,runtimeI18n:s}}function iL(e,{dir:t=!0,lang:n=!0,seo:r=!0,key:o="hid"}){return sL(e,{dir:t,lang:n,seo:r,key:o})}function sL(e,t){const n={htmlAttrs:{},link:[],meta:[]},r=oL(t);return r.baseUrl==null||(r.dir&&(n.htmlAttrs.dir=r.currentDir),r.lang&&r.currentLanguage&&(n.htmlAttrs.lang=r.currentLanguage),r.seo&&(n.link=n.link.concat(aL(e,r),lL(e,r)),n.meta=n.meta.concat(uL(e,r),cL(r),fL(r)))),n}function aL(e,t){const{defaultLocale:n,strategy:r,differentDomains:o}=t.runtimeI18n,i=[];if(r==="no_prefix"&&!o)return i;const s=new Map;for(const u of t.locales){if(!u.language){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[c,f]=u.language.split("-");c&&f&&(u.isCatchallLocale||!s.has(c))&&s.set(c,u),s.set(u.language,u)}const a=t.runtimeI18n.experimental.alternateLinkCanonicalQueries===!0,l=a?e.router.resolve({query:{}}):void 0;!t.runtimeI18n.experimental.switchLocalePathLinkSSR&&a&&(l.meta=e.router.currentRoute.value.meta);for(const[u,c]of s.entries()){const f=hh(e,c.code,l);if(!f)continue;const d=o&&c.domain?f:hr(t.baseUrl,f),p=Xa(d,a?_0(e,t):{});i.push({[t.key]:`i18n-alt-${u}`,rel:"alternate",href:p,hreflang:u}),n&&n===c.code&&i.unshift({[t.key]:"i18n-xd",rel:"alternate",href:p,hreflang:"x-default"})}return i}function y0(e,t){const n=e.router.currentRoute.value,r=Mc(e,lt({},n,{path:void 0,name:Ts(e,n)}));return r?Xa(hr(t.baseUrl,r.path),_0(e,t)):""}function lL(e,t){const n=y0(e,t);return n?[{[t.key]:"i18n-can",rel:"canonical",href:n}]:[]}function _0(e,t){var a;const n=e.router.currentRoute.value,r=Mc(e,lt({},n,{path:void 0,name:Ts(e,n)})),o=Xe(t.seo)&&((a=t.seo)==null?void 0:a.canonicalQueries)||[],i=(r==null?void 0:r.query)||{},s={};for(const l of o.filter(u=>u in i)){s[l]??(s[l]=[]);for(const u of ZN(i[l]))s[l].push(u||"")}return s}function uL(e,t){const n=y0(e,t);return n?[{[t.key]:"i18n-og-url",property:"og:url",content:n}]:[]}function cL(e){return e.currentLanguage?[{[e.key]:"i18n-og",property:"og:locale",content:v0(e.currentLanguage)}]:[]}function fL(e){return e.locales.filter(n=>n.language&&n.language!==e.currentLanguage).map(n=>({[e.key]:`i18n-og-alt-${n.language}`,property:"og:locale:alternate",content:v0(n.language)}))}function v0(e=""){return e.replace(/-/g,"_")}/*! * message-compiler v11.1.3 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function dL(e,t,n){return{line:e,column:t,offset:n}}function Hd(e,t,n){return{start:e,end:t}}const Rt={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},pL=17;function ol(e,t,n={}){const{domain:r,messages:o,args:i}=n,s=e,a=new SyntaxError(String(s));return a.code=e,t&&(a.location=t),a.domain=r,a}function hL(e){throw e}const oo=" ",gL="\r",Ln=` `,mL="\u2028",yL="\u2029";function _L(e){const t=e;let n=0,r=1,o=1,i=0;const s=I=>t[I]===gL&&t[I+1]===Ln,a=I=>t[I]===Ln,l=I=>t[I]===yL,u=I=>t[I]===mL,c=I=>s(I)||a(I)||l(I)||u(I),f=()=>n,d=()=>r,p=()=>o,g=()=>i,h=I=>s(I)||l(I)||u(I)?Ln:t[I],_=()=>h(n),m=()=>h(n+i);function E(){return i=0,c(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}function y(){return s(n+i)&&i++,i++,t[n+i]}function v(){n=0,r=1,o=1,i=0}function T(I=0){i=I}function S(){const I=n+i;for(;I!==n;)E();i=0}return{index:f,line:d,column:p,peekOffset:g,charAt:h,currentChar:_,currentPeek:m,next:E,peek:y,reset:v,resetPeek:T,skipToPeek:S}}const Io=void 0,vL=".",Bm="'",bL="tokenizer";function EL(e,t={}){const n=t.location!==!1,r=_L(e),o=()=>r.index(),i=()=>dL(r.line(),r.column(),r.index()),s=i(),a=o(),l={currentType:13,offset:a,startLoc:s,endLoc:s,lastType:13,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(O,N,U,...K){const ee=u();if(N.column+=U,N.offset+=U,c){const Q=n?Hd(ee.startLoc,N):null,R=ol(O,Q,{domain:bL,args:K});c(R)}}function d(O,N,U){O.endLoc=i(),O.currentType=N;const K={type:N};return n&&(K.loc=Hd(O.startLoc,O.endLoc)),U!=null&&(K.value=U),K}const p=O=>d(O,13);function g(O,N){return O.currentChar()===N?(O.next(),N):(f(Rt.EXPECTED_TOKEN,i(),0,N),"")}function h(O){let N="";for(;O.currentPeek()===oo||O.currentPeek()===Ln;)N+=O.currentPeek(),O.peek();return N}function _(O){const N=h(O);return O.skipToPeek(),N}function m(O){if(O===Io)return!1;const N=O.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N===95}function E(O){if(O===Io)return!1;const N=O.charCodeAt(0);return N>=48&&N<=57}function y(O,N){const{currentType:U}=N;if(U!==2)return!1;h(O);const K=m(O.currentPeek());return O.resetPeek(),K}function v(O,N){const{currentType:U}=N;if(U!==2)return!1;h(O);const K=O.currentPeek()==="-"?O.peek():O.currentPeek(),ee=E(K);return O.resetPeek(),ee}function T(O,N){const{currentType:U}=N;if(U!==2)return!1;h(O);const K=O.currentPeek()===Bm;return O.resetPeek(),K}function S(O,N){const{currentType:U}=N;if(U!==7)return!1;h(O);const K=O.currentPeek()===".";return O.resetPeek(),K}function I(O,N){const{currentType:U}=N;if(U!==8)return!1;h(O);const K=m(O.currentPeek());return O.resetPeek(),K}function D(O,N){const{currentType:U}=N;if(!(U===7||U===11))return!1;h(O);const K=O.currentPeek()===":";return O.resetPeek(),K}function M(O,N){const{currentType:U}=N;if(U!==9)return!1;const K=()=>{const Q=O.currentPeek();return Q==="{"?m(O.peek()):Q==="@"||Q==="|"||Q===":"||Q==="."||Q===oo||!Q?!1:Q===Ln?(O.peek(),K()):B(O,!1)},ee=K();return O.resetPeek(),ee}function j(O){h(O);const N=O.currentPeek()==="|";return O.resetPeek(),N}function B(O,N=!0){const U=(ee=!1,Q="")=>{const R=O.currentPeek();return R==="{"||R==="@"||!R?ee:R==="|"?!(Q===oo||Q===Ln):R===oo?(O.peek(),U(!0,oo)):R===Ln?(O.peek(),U(!0,Ln)):!0},K=U();return N&&O.resetPeek(),K}function H(O,N){const U=O.currentChar();return U===Io?Io:N(U)?(O.next(),U):null}function le(O){const N=O.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36}function Te(O){return H(O,le)}function De(O){const N=O.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36||N===45}function pe(O){return H(O,De)}function ge(O){const N=O.charCodeAt(0);return N>=48&&N<=57}function re(O){return H(O,ge)}function ve(O){const N=O.charCodeAt(0);return N>=48&&N<=57||N>=65&&N<=70||N>=97&&N<=102}function tt(O){return H(O,ve)}function Ae(O){let N="",U="";for(;N=re(O);)U+=N;return U}function Ke(O){let N="";for(;;){const U=O.currentChar();if(U==="{"||U==="}"||U==="@"||U==="|"||!U)break;if(U===oo||U===Ln)if(B(O))N+=U,O.next();else{if(j(O))break;N+=U,O.next()}else N+=U,O.next()}return N}function He(O){_(O);let N="",U="";for(;N=pe(O);)U+=N;return O.currentChar()===Io&&f(Rt.UNTERMINATED_CLOSING_BRACE,i(),0),U}function it(O){_(O);let N="";return O.currentChar()==="-"?(O.next(),N+=`-${Ae(O)}`):N+=Ae(O),O.currentChar()===Io&&f(Rt.UNTERMINATED_CLOSING_BRACE,i(),0),N}function qe(O){return O!==Bm&&O!==Ln}function ot(O){_(O),g(O,"'");let N="",U="";for(;N=H(O,qe);)N==="\\"?U+=J(O):U+=N;const K=O.currentChar();return K===Ln||K===Io?(f(Rt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),K===Ln&&(O.next(),g(O,"'")),U):(g(O,"'"),U)}function J(O){const N=O.currentChar();switch(N){case"\\":case"'":return O.next(),`\\${N}`;case"u":return se(O,N,4);case"U":return se(O,N,6);default:return f(Rt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,N),""}}function se(O,N,U){g(O,N);let K="";for(let ee=0;ee{const K=O.currentChar();return K==="{"||K==="@"||K==="|"||K==="("||K===")"||!K||K===oo?U:(U+=K,O.next(),N(U))};return N("")}function C(O){_(O);const N=g(O,"|");return _(O),N}function L(O,N){let U=null;switch(O.currentChar()){case"{":return N.braceNest>=1&&f(Rt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),O.next(),U=d(N,2,"{"),_(O),N.braceNest++,U;case"}":return N.braceNest>0&&N.currentType===2&&f(Rt.EMPTY_PLACEHOLDER,i(),0),O.next(),U=d(N,3,"}"),N.braceNest--,N.braceNest>0&&_(O),N.inLinked&&N.braceNest===0&&(N.inLinked=!1),U;case"@":return N.braceNest>0&&f(Rt.UNTERMINATED_CLOSING_BRACE,i(),0),U=V(O,N)||p(N),N.braceNest=0,U;default:{let ee=!0,Q=!0,R=!0;if(j(O))return N.braceNest>0&&f(Rt.UNTERMINATED_CLOSING_BRACE,i(),0),U=d(N,1,C(O)),N.braceNest=0,N.inLinked=!1,U;if(N.braceNest>0&&(N.currentType===4||N.currentType===5||N.currentType===6))return f(Rt.UNTERMINATED_CLOSING_BRACE,i(),0),N.braceNest=0,te(O,N);if(ee=y(O,N))return U=d(N,4,He(O)),_(O),U;if(Q=v(O,N))return U=d(N,5,it(O)),_(O),U;if(R=T(O,N))return U=d(N,6,ot(O)),_(O),U;if(!ee&&!Q&&!R)return U=d(N,12,_e(O)),f(Rt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,U.value),_(O),U;break}}return U}function V(O,N){const{currentType:U}=N;let K=null;const ee=O.currentChar();switch((U===7||U===8||U===11||U===9)&&(ee===Ln||ee===oo)&&f(Rt.INVALID_LINKED_FORMAT,i(),0),ee){case"@":return O.next(),K=d(N,7,"@"),N.inLinked=!0,K;case".":return _(O),O.next(),d(N,8,".");case":":return _(O),O.next(),d(N,9,":");default:return j(O)?(K=d(N,1,C(O)),N.braceNest=0,N.inLinked=!1,K):S(O,N)||D(O,N)?(_(O),V(O,N)):I(O,N)?(_(O),d(N,11,We(O))):M(O,N)?(_(O),ee==="{"?L(O,N)||K:d(N,10,ze(O))):(U===7&&f(Rt.INVALID_LINKED_FORMAT,i(),0),N.braceNest=0,N.inLinked=!1,te(O,N))}}function te(O,N){let U={type:13};if(N.braceNest>0)return L(O,N)||p(N);if(N.inLinked)return V(O,N)||p(N);switch(O.currentChar()){case"{":return L(O,N)||p(N);case"}":return f(Rt.UNBALANCED_CLOSING_BRACE,i(),0),O.next(),d(N,3,"}");case"@":return V(O,N)||p(N);default:{if(j(O))return U=d(N,1,C(O)),N.braceNest=0,N.inLinked=!1,U;if(B(O))return d(N,0,Ke(O));break}}return U}function X(){const{currentType:O,offset:N,startLoc:U,endLoc:K}=l;return l.lastType=O,l.lastOffset=N,l.lastStartLoc=U,l.lastEndLoc=K,l.offset=o(),l.startLoc=i(),r.currentChar()===Io?d(l,13):te(r,l)}return{nextToken:X,currentOffset:o,currentPosition:i,context:u}}const TL="parser",wL=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function SL(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function AL(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,E,y,v,...T){const S=m.currentPosition();if(S.offset+=v,S.column+=v,n){const I=t?Hd(y,S):null,D=ol(E,I,{domain:TL,args:T});n(D)}}function o(m,E,y){const v={type:m};return t&&(v.start=E,v.end=E,v.loc={start:y,end:y}),v}function i(m,E,y,v){t&&(m.end=E,m.loc&&(m.loc.end=y))}function s(m,E){const y=m.context(),v=o(3,y.offset,y.startLoc);return v.value=E,i(v,m.currentOffset(),m.currentPosition()),v}function a(m,E){const y=m.context(),{lastOffset:v,lastStartLoc:T}=y,S=o(5,v,T);return S.index=parseInt(E,10),m.nextToken(),i(S,m.currentOffset(),m.currentPosition()),S}function l(m,E){const y=m.context(),{lastOffset:v,lastStartLoc:T}=y,S=o(4,v,T);return S.key=E,m.nextToken(),i(S,m.currentOffset(),m.currentPosition()),S}function u(m,E){const y=m.context(),{lastOffset:v,lastStartLoc:T}=y,S=o(9,v,T);return S.value=E.replace(wL,SL),m.nextToken(),i(S,m.currentOffset(),m.currentPosition()),S}function c(m){const E=m.nextToken(),y=m.context(),{lastOffset:v,lastStartLoc:T}=y,S=o(8,v,T);return E.type!==11?(r(m,Rt.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),S.value="",i(S,v,T),{nextConsumeToken:E,node:S}):(E.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Lr(E)),S.value=E.value||"",i(S,m.currentOffset(),m.currentPosition()),{node:S})}function f(m,E){const y=m.context(),v=o(7,y.offset,y.startLoc);return v.value=E,i(v,m.currentOffset(),m.currentPosition()),v}function d(m){const E=m.context(),y=o(6,E.offset,E.startLoc);let v=m.nextToken();if(v.type===8){const T=c(m);y.modifier=T.node,v=T.nextConsumeToken||m.nextToken()}switch(v.type!==9&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Lr(v)),v=m.nextToken(),v.type===2&&(v=m.nextToken()),v.type){case 10:v.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Lr(v)),y.key=f(m,v.value||"");break;case 4:v.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Lr(v)),y.key=l(m,v.value||"");break;case 5:v.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Lr(v)),y.key=a(m,v.value||"");break;case 6:v.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Lr(v)),y.key=u(m,v.value||"");break;default:{r(m,Rt.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const T=m.context(),S=o(7,T.offset,T.startLoc);return S.value="",i(S,T.offset,T.startLoc),y.key=S,i(y,T.offset,T.startLoc),{nextConsumeToken:v,node:y}}}return i(y,m.currentOffset(),m.currentPosition()),{node:y}}function p(m){const E=m.context(),y=E.currentType===1?m.currentOffset():E.offset,v=E.currentType===1?E.endLoc:E.startLoc,T=o(2,y,v);T.items=[];let S=null;do{const M=S||m.nextToken();switch(S=null,M.type){case 0:M.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Lr(M)),T.items.push(s(m,M.value||""));break;case 5:M.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Lr(M)),T.items.push(a(m,M.value||""));break;case 4:M.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Lr(M)),T.items.push(l(m,M.value||""));break;case 6:M.value==null&&r(m,Rt.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,Lr(M)),T.items.push(u(m,M.value||""));break;case 7:{const j=d(m);T.items.push(j.node),S=j.nextConsumeToken||null;break}}}while(E.currentType!==13&&E.currentType!==1);const I=E.currentType===1?E.lastOffset:m.currentOffset(),D=E.currentType===1?E.lastEndLoc:m.currentPosition();return i(T,I,D),T}function g(m,E,y,v){const T=m.context();let S=v.items.length===0;const I=o(1,E,y);I.cases=[],I.cases.push(v);do{const D=p(m);S||(S=D.items.length===0),I.cases.push(D)}while(T.currentType!==13);return S&&r(m,Rt.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),i(I,m.currentOffset(),m.currentPosition()),I}function h(m){const E=m.context(),{offset:y,startLoc:v}=E,T=p(m);return E.currentType===13?T:g(m,y,v,T)}function _(m){const E=EL(m,lt({},e)),y=E.context(),v=o(0,y.offset,y.startLoc);return t&&v.loc&&(v.loc.source=m),v.body=h(E),e.onCacheKey&&(v.cacheKey=e.onCacheKey(m)),y.currentType!==13&&r(E,Rt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,m[y.offset]||""),i(v,E.currentOffset(),E.currentPosition()),v}return{parse:_}}function Lr(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function RL(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Hm(e,t){for(let n=0;nzm(n)),e}function zm(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;ns;function l(h,_){s.code+=h}function u(h,_=!0){const m=_?r:"";l(o?m+" ".repeat(h):m)}function c(h=!0){const _=++s.indentLevel;h&&u(_)}function f(h=!0){const _=--s.indentLevel;h&&u(_)}function d(){u(s.indentLevel)}return{context:a,push:l,indent:c,deindent:f,newline:d,helper:h=>`_${h}`,needIndent:()=>s.needIndent}}function CL(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ws(e,t.key),t.modifier?(e.push(", "),ws(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function NL(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let i=0;i{const n=ce(t.mode)?t.mode:"normal",r=ce(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,i=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],a=xL(e,{filename:r,breakLineCode:o,needIndent:i});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),s.length>0&&(a.push(`const { ${fh(s.map(c=>`${c}: _${c}`),", ")} } = ctx`),a.newline()),a.push("return "),ws(a,e),a.deindent(i),a.push("}"),delete e.helpers;const{code:l,map:u}=a.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function DL(e,t={}){const n=lt({},t),r=!!n.jit,o=!!n.minify,i=n.optimize==null?!0:n.optimize,a=AL(n).parse(e);return r?(i&&OL(a),o&&Yi(a),{ast:a,code:""}):(IL(a,n),PL(a,n))}/*! * core-base v10.0.7 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function ML(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nl().__INTLIFY_PROD_DEVTOOLS__=!1)}function Yn(e){return Xe(e)&&mh(e)===0&&(Dn(e,"b")||Dn(e,"body"))}const b0=["b","body"];function FL(e){return ei(e,b0)}const E0=["c","cases"];function UL(e){return ei(e,E0,[])}const T0=["s","static"];function jL(e){return ei(e,T0)}const w0=["i","items"];function VL(e){return ei(e,w0,[])}const S0=["t","type"];function mh(e){return ei(e,S0)}const A0=["v","value"];function Hl(e,t){const n=ei(e,A0);if(n!=null)return n;throw Oa(t)}const R0=["m","modifier"];function $L(e){return ei(e,R0)}const I0=["k","key"];function BL(e){const t=ei(e,I0);if(t)return t;throw Oa(6)}function ei(e,t,n){for(let r=0;rHL(n,e)}function HL(e,t){const n=FL(t);if(n==null)throw Oa(0);if(mh(n)===1){const i=UL(n);return e.plural(i.reduce((s,a)=>[...s,Gm(e,a)],[]))}else return Gm(e,n)}function Gm(e,t){const n=jL(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=VL(t).reduce((o,i)=>[...o,zd(e,i)],[]);return e.normalize(r)}}function zd(e,t){const n=mh(t);switch(n){case 3:return Hl(t,n);case 9:return Hl(t,n);case 4:{const r=t;if(Dn(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Dn(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Oa(n)}case 5:{const r=t;if(Dn(r,"i")&&$t(r.i))return e.interpolate(e.list(r.i));if(Dn(r,"index")&&$t(r.index))return e.interpolate(e.list(r.index));throw Oa(n)}case 6:{const r=t,o=$L(r),i=BL(r);return e.linked(zd(e,i),o?zd(e,o):void 0,e.type)}case 7:return Hl(t,n);case 8:return Hl(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const zL=e=>e;let zl=Ze();function GL(e,t={}){let n=!1;const r=t.onError||hL;return t.onError=o=>{n=!0,r(o)},{...DL(e,t),detectError:n}}function O0(e,t){if(ce(e)){bt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||zL)(e),o=zl[r];if(o)return o;const{ast:i,detectError:s}=GL(e,{...t,location:!1,jit:!0}),a=Ef(i);return s?a:zl[r]=a}else{const n=e.cacheKey;if(n){const r=zl[n];return r||(zl[n]=Ef(e))}else return Ef(e)}}let xa=null;function x0(e){xa=e}function KL(e,t,n){xa&&xa.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const qL=WL("function:translate");function WL(e){return t=>xa&&xa.emit(e,t)}const ho={INVALID_ARGUMENT:pL,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},C0=24;function go(e){return ol(e,null,void 0)}function _h(e,t){return t.locale!=null?Km(t.locale):Km(e.locale)}let Tf;function Km(e){if(ce(e))return e;if(_t(e)){if(e.resolvedOnce&&Tf!=null)return Tf;if(e.constructor.name==="Function"){const t=e();if(sN(t))throw go(ho.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Tf=t}else throw go(ho.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw go(ho.NOT_SUPPORT_LOCALE_TYPE)}function YL(e,t,n){return[...new Set([n,...Tt(t)?t:Xe(t)?Object.keys(t):ce(t)?[t]:[n]])]}function Fc(e,t,n){const r=ce(n)?n:Ca,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let s=[n];for(;Tt(s);)s=qm(i,s,t);const a=Tt(t)||!Qe(t)?t:t.default?t.default:null;s=ce(a)?[a]:a,Tt(s)&&qm(i,s,!1),o.__localeChainCache.set(r,i)}return i}function qm(e,t,n){let r=!0;for(let o=0;o{s===void 0?s=a:s+=a},d[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,s===void 0||(s=nk(s),s===!1))return!1;d[1]()}};function p(){const g=e[n+1];if(r===5&&g==="'"||r===6&&g==='"')return n++,a="\\"+g,d[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&p())){if(l=tk(i),f=ti[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(a=i,c()===!1))))return;if(r===7)return t}}const Wm=new Map;function ok(e,t){return Xe(e)?e[t]:null}function N0(e,t){if(!Xe(e))return null;let n=Wm.get(t);if(n||(n=rk(t),n&&Wm.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function sk(){return{upper:(e,t)=>t==="text"&&ce(e)?e.toUpperCase():t==="vnode"&&Xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ce(e)?e.toLowerCase():t==="vnode"&&Xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ce(e)?Ym(e):t==="vnode"&&Xe(e)&&"__v_isVNode"in e?Ym(e.children):e}}let L0;function k0(e){L0=e}let P0;function D0(e){P0=e}let M0;function F0(e){M0=e}let U0=null;const j0=e=>{U0=e},ak=()=>U0;let V0=null;const qu=e=>{V0=e},$0=()=>V0;let Xm=0;function B0(e={}){const t=_t(e.onWarn)?e.onWarn:lN,n=ce(e.version)?e.version:ik,r=ce(e.locale)||_t(e.locale)?e.locale:Ca,o=_t(r)?Ca:r,i=Tt(e.fallbackLocale)||Qe(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,s=Qe(e.messages)?e.messages:wf(o),a=Qe(e.datetimeFormats)?e.datetimeFormats:wf(o),l=Qe(e.numberFormats)?e.numberFormats:wf(o),u=lt(Ze(),e.modifiers,sk()),c=e.pluralRules||Ze(),f=_t(e.missing)?e.missing:null,d=bt(e.missingWarn)||Es(e.missingWarn)?e.missingWarn:!0,p=bt(e.fallbackWarn)||Es(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,h=!!e.unresolving,_=_t(e.postTranslation)?e.postTranslation:null,m=Qe(e.processor)?e.processor:null,E=bt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,v=_t(e.messageCompiler)?e.messageCompiler:L0,T=_t(e.messageResolver)?e.messageResolver:P0||ok,S=_t(e.localeFallbacker)?e.localeFallbacker:M0||YL,I=Xe(e.fallbackContext)?e.fallbackContext:void 0,D=e,M=Xe(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,j=Xe(D.__numberFormatters)?D.__numberFormatters:new Map,B=Xe(D.__meta)?D.__meta:{};Xm++;const H={version:n,cid:Xm,locale:r,fallbackLocale:i,messages:s,modifiers:u,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:g,unresolving:h,postTranslation:_,processor:m,warnHtmlMessage:E,escapeParameter:y,messageCompiler:v,messageResolver:T,localeFallbacker:S,fallbackContext:I,onWarn:t,__meta:B};return H.datetimeFormats=a,H.numberFormats=l,H.__datetimeFormatters=M,H.__numberFormatters=j,__INTLIFY_PROD_DEVTOOLS__&&KL(H,n,B),H}const wf=e=>({[e]:Ze()});function vh(e,t,n,r,o){const{missing:i,onWarn:s}=e;if(i!==null){const a=i(e,n,t,o);return ce(a)?a:t}else return t}function Vr(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function lk(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function uk(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{bh.includes(l)?s[l]=n[l]:i[l]=n[l]}),ce(r)?i.locale=r:Qe(r)&&(s=r),Qe(o)&&(s=o),[i.key||"",a,i,s]}function Yu(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function Xu(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:s}=e,{__numberFormatters:a}=e,[l,u,c,f]=La(...t),d=bt(c.missingWarn)?c.missingWarn:e.missingWarn;bt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const p=!!c.part,g=_h(e,c),h=s(e,o,g);if(!ce(l)||l==="")return new Intl.NumberFormat(g,f).format(u);let _={},m,E=null;const y="number format";for(let S=0;S{Eh.includes(l)?s[l]=n[l]:i[l]=n[l]}),ce(r)?i.locale=r:Qe(r)&&(s=r),Qe(o)&&(s=o),[i.key||"",a,i,s]}function Ju(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}const ck=e=>e,fk=e=>"",dk="text",pk=e=>e.length===0?"":fh(e),hk=aN;function Jm(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function gk(e){const t=$t(e.pluralIndex)?e.pluralIndex:-1;return e.named&&($t(e.named.count)||$t(e.named.n))?$t(e.named.count)?e.named.count:$t(e.named.n)?e.named.n:t:t}function mk(e,t){t.count||(t.count=e),t.n||(t.n=e)}function yk(e={}){const t=e.locale,n=gk(e),r=Xe(e.pluralRules)&&ce(t)&&_t(e.pluralRules[t])?e.pluralRules[t]:Jm,o=Xe(e.pluralRules)&&ce(t)&&_t(e.pluralRules[t])?Jm:void 0,i=m=>m[r(n,m.length,o)],s=e.list||[],a=m=>s[m],l=e.named||Ze();$t(e.pluralIndex)&&mk(n,l);const u=m=>l[m];function c(m,E){const y=_t(e.messages)?e.messages(m,!!E):Xe(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):fk)}const f=m=>e.modifiers?e.modifiers[m]:ck,d=Qe(e.processor)&&_t(e.processor.normalize)?e.processor.normalize:pk,p=Qe(e.processor)&&_t(e.processor.interpolate)?e.processor.interpolate:hk,g=Qe(e.processor)&&ce(e.processor.type)?e.processor.type:dk,_={list:a,named:u,plural:i,linked:(m,...E)=>{const[y,v]=E;let T="text",S="";E.length===1?Xe(y)?(S=y.modifier||S,T=y.type||T):ce(y)&&(S=y||S):E.length===2&&(ce(y)&&(S=y||S),ce(v)&&(T=v||T));const I=c(m,!0)(_),D=T==="vnode"&&Tt(I)&&S?I[0]:I;return S?f(S)(D,T):D},message:c,type:g,interpolate:p,normalize:d,values:lt(Ze(),s,l)};return _}const Qm=()=>"",Zn=e=>_t(e);function Qu(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:s,messages:a}=e,[l,u]=ka(...t),c=bt(u.missingWarn)?u.missingWarn:e.missingWarn,f=bt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=bt(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,g=ce(u.default)||bt(u.default)?bt(u.default)?i?l:()=>l:u.default:n?i?l:()=>l:null,h=n||g!=null&&(ce(g)||_t(g)),_=_h(e,u);d&&_k(u);let[m,E,y]=p?[l,_,a[_]||Ze()]:H0(e,l,_,s,f,c),v=m,T=l;if(!p&&!(ce(v)||Yn(v)||Zn(v))&&h&&(v=g,T=v),!p&&(!(ce(v)||Yn(v)||Zn(v))||!ce(E)))return o?il:l;let S=!1;const I=()=>{S=!0},D=Zn(v)?v:z0(e,l,E,v,T,I);if(S)return v;const M=Ek(e,E,y,u),j=yk(M),B=vk(e,D,j),H=r?r(B,l):B;if(__INTLIFY_PROD_DEVTOOLS__){const le={timestamp:Date.now(),key:ce(l)?l:Zn(v)?v.key:"",locale:E||(Zn(v)?v.locale:""),format:ce(v)?v:Zn(v)?v.source:"",message:H};le.meta=lt({},e.__meta,ak()||{}),qL(le)}return H}function _k(e){Tt(e.list)?e.list=e.list.map(t=>ce(t)?Mm(t):t):Xe(e.named)&&Object.keys(e.named).forEach(t=>{ce(e.named[t])&&(e.named[t]=Mm(e.named[t]))})}function H0(e,t,n,r,o,i){const{messages:s,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f=Ze(),d,p=null;const g="translate";for(let h=0;hr;return u.locale=n,u.key=t,u}const l=s(r,bk(e,n,o,r,a,i));return l.locale=n,l.key=t,l.source=r,l}function vk(e,t,n){return t(n)}function ka(...e){const[t,n,r]=e,o=Ze();if(!ce(t)&&!$t(t)&&!Zn(t)&&!Yn(t))throw go(ho.INVALID_ARGUMENT);const i=$t(t)?String(t):(Zn(t),t);return $t(n)?o.plural=n:ce(n)?o.default=n:Qe(n)&&!tl(n)?o.named=n:Tt(n)&&(o.list=n),$t(r)?o.plural=r:ce(r)?o.default=r:Qe(r)&<(o,r),[i,o]}function bk(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:s=>{throw i&&i(s),s},onCacheKey:s=>tN(t,n,s)}}function Ek(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:s,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:o,pluralRules:i,messages:(p,g)=>{let h=s(n,p);if(h==null&&(c||g)){const[,,_]=H0(c||e,p,t,a,l,u);h=s(_,p)}if(ce(h)||Yn(h)){let _=!1;const E=z0(e,p,t,h,p,()=>{_=!0});return _?Qm:E}else return Zn(h)?h:Qm}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),$t(r.plural)&&(d.pluralIndex=r.plural),d}ML();/*! * vue-i18n v10.0.7 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const Tk="10.0.7";function wk(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nl().__INTLIFY_PROD_DEVTOOLS__=!1)}const mr={UNEXPECTED_RETURN_TYPE:C0,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Ar(e,...t){return ol(e,null,void 0)}const Gd=jn("__translateVNode"),Kd=jn("__datetimeParts"),qd=jn("__numberParts"),Sk=jn("__setPluralRules"),Ak=jn("__injectWithOption"),Wd=jn("__dispose");function Pa(e){if(!Xe(e)||Yn(e))return e;for(const t in e)if(Dn(e,t))if(!t.includes("."))Xe(e[t])&&Pa(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let s=0;s{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(s[l]=s[l]||Ze(),qr(u,s[l])):qr(u,s)}else ce(a)&&qr(JSON.parse(a),s)}),o==null&&i)for(const a in s)Dn(s,a)&&Pa(s[a]);return s}function K0(e){return e.type}function Rk(e,t,n){let r=Xe(t.messages)?t.messages:Ze();"__i18nGlobal"in n&&(r=G0(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Xe(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Xe(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Zm(e){return xe(Kr,null,e,0)}const ey="__INTLIFY_META__",ty=()=>[],Ik=()=>!1;let ny=0;function ry(e){return(t,n,r,o)=>e(n,r,St()||void 0,o)}const Ok=()=>{const e=St();let t=null;return e&&(t=K0(e)[ey])?{[ey]:t}:null};function q0(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,i=bs?Fe:An;let s=bt(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&s?t.locale.value:ce(e.locale)?e.locale:Ca),l=i(t&&s?t.fallbackLocale.value:ce(e.fallbackLocale)||Tt(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=i(G0(a.value,e)),c=i(Qe(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=i(Qe(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:bt(e.missingWarn)||Es(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:bt(e.fallbackWarn)||Es(e.fallbackWarn)?e.fallbackWarn:!0,g=t?t.fallbackRoot:bt(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,_=_t(e.missing)?e.missing:null,m=_t(e.missing)?ry(e.missing):null,E=_t(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:bt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const T=t?t.modifiers:Qe(e.modifiers)?e.modifiers:{};let S=e.pluralRules||t&&t.pluralRules,I;I=(()=>{r&&qu(null);const R={version:Tk,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:T,pluralRules:S,missing:m===null?void 0:m,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:y,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=c.value,R.numberFormats=f.value,R.__datetimeFormatters=Qe(I)?I.__datetimeFormatters:void 0,R.__numberFormatters=Qe(I)?I.__numberFormatters:void 0;const k=B0(R);return r&&qu(k),k})(),Vr(I,a.value,l.value);function M(){return[a.value,l.value,u.value,c.value,f.value]}const j=ne({get:()=>a.value,set:R=>{a.value=R,I.locale=a.value}}),B=ne({get:()=>l.value,set:R=>{l.value=R,I.fallbackLocale=l.value,Vr(I,a.value,R)}}),H=ne(()=>u.value),le=ne(()=>c.value),Te=ne(()=>f.value);function De(){return _t(E)?E:null}function pe(R){E=R,I.postTranslation=R}function ge(){return _}function re(R){R!==null&&(m=ry(R)),_=R,I.missing=m}const ve=(R,k,G,oe,fe,be)=>{M();let Ye;try{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=t?$0():void 0),Ye=R(I)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=void 0)}if(G!=="translate exists"&&$t(Ye)&&Ye===il||G==="translate exists"&&!Ye){const[nt,Ue]=k();return t&&g?oe(t):fe(nt)}else{if(be(Ye))return Ye;throw Ar(mr.UNEXPECTED_RETURN_TYPE)}};function tt(...R){return ve(k=>Reflect.apply(Qu,null,[k,...R]),()=>ka(...R),"translate",k=>Reflect.apply(k.t,k,[...R]),k=>k,k=>ce(k))}function Ae(...R){const[k,G,oe]=R;if(oe&&!Xe(oe))throw Ar(mr.INVALID_ARGUMENT);return tt(k,G,lt({resolvedMessage:!0},oe||{}))}function Ke(...R){return ve(k=>Reflect.apply(Wu,null,[k,...R]),()=>Na(...R),"datetime format",k=>Reflect.apply(k.d,k,[...R]),()=>Ku,k=>ce(k))}function He(...R){return ve(k=>Reflect.apply(Xu,null,[k,...R]),()=>La(...R),"number format",k=>Reflect.apply(k.n,k,[...R]),()=>Ku,k=>ce(k))}function it(R){return R.map(k=>ce(k)||$t(k)||bt(k)?Zm(String(k)):k)}const ot={normalize:it,interpolate:R=>R,type:"vnode"};function J(...R){return ve(k=>{let G;const oe=k;try{oe.processor=ot,G=Reflect.apply(Qu,null,[oe,...R])}finally{oe.processor=null}return G},()=>ka(...R),"translate",k=>k[Gd](...R),k=>[Zm(k)],k=>Tt(k))}function se(...R){return ve(k=>Reflect.apply(Xu,null,[k,...R]),()=>La(...R),"number format",k=>k[qd](...R),ty,k=>ce(k)||Tt(k))}function ae(...R){return ve(k=>Reflect.apply(Wu,null,[k,...R]),()=>Na(...R),"datetime format",k=>k[Kd](...R),ty,k=>ce(k)||Tt(k))}function _e(R){S=R,I.pluralRules=S}function We(R,k){return ve(()=>{if(!R)return!1;const G=ce(k)?k:a.value,oe=L(G),fe=I.messageResolver(oe,R);return Yn(fe)||Zn(fe)||ce(fe)},()=>[R],"translate exists",G=>Reflect.apply(G.te,G,[R,k]),Ik,G=>bt(G))}function ze(R){let k=null;const G=Fc(I,l.value,a.value);for(let oe=0;oe{s&&(a.value=R,I.locale=R,Vr(I,a.value,l.value))}),wt(t.fallbackLocale,R=>{s&&(l.value=R,I.fallbackLocale=R,Vr(I,a.value,l.value))}));const Q={id:ny,locale:j,fallbackLocale:B,get inheritLocale(){return s},set inheritLocale(R){s=R,R&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,Vr(I,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:H,get modifiers(){return T},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(R){d=R,I.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(R){p=R,I.fallbackWarn=p},get fallbackRoot(){return g},set fallbackRoot(R){g=R},get fallbackFormat(){return h},set fallbackFormat(R){h=R,I.fallbackFormat=h},get warnHtmlMessage(){return y},set warnHtmlMessage(R){y=R,I.warnHtmlMessage=R},get escapeParameter(){return v},set escapeParameter(R){v=R,I.escapeParameter=R},t:tt,getLocaleMessage:L,setLocaleMessage:V,mergeLocaleMessage:te,getPostTranslationHandler:De,setPostTranslationHandler:pe,getMissingHandler:ge,setMissingHandler:re,[Sk]:_e};return Q.datetimeFormats=le,Q.numberFormats=Te,Q.rt=Ae,Q.te=We,Q.tm=C,Q.d=Ke,Q.n=He,Q.getDateTimeFormat=X,Q.setDateTimeFormat=O,Q.mergeDateTimeFormat=N,Q.getNumberFormat=U,Q.setNumberFormat=K,Q.mergeNumberFormat=ee,Q[Ak]=n,Q[Gd]=J,Q[Kd]=ae,Q[qd]=se,Q}const Th={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function xk({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Ct?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Ze())}function W0(){return Ct}const Ck=Ce({name:"i18n-t",props:lt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>$t(e)||!isNaN(e)}},Th),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||wh({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f!=="_"),s=Ze();e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=ce(e.plural)?+e.plural:e.plural);const a=xk(t,i),l=o[Gd](e.keypath,a,s),u=lt(Ze(),r),c=ce(e.tag)||Xe(e.tag)?e.tag:W0();return dt(c,u,l)}}}),oy=Ck;function Nk(e){return Tt(e)&&!ce(e[0])}function Y0(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const s={part:!0};let a=Ze();e.locale&&(s.locale=e.locale),ce(e.format)?s.key=e.format:Xe(e.format)&&(ce(e.format.key)&&(s.key=e.format.key),a=Object.keys(e.format).reduce((d,p)=>n.includes(p)?lt(Ze(),d,{[p]:e.format[p]}):d,Ze()));const l=r(e.value,s,a);let u=[s.key];Tt(l)?u=l.map((d,p)=>{const g=o[d.type],h=g?g({[d.type]:d.value,index:p,parts:l}):[d.value];return Nk(h)&&(h[0].key=`${d.type}-${p}`),h}):ce(l)&&(u=[l]);const c=lt(Ze(),i),f=ce(e.tag)||Xe(e.tag)?e.tag:W0();return dt(f,c,u)}}const Lk=Ce({name:"i18n-n",props:lt({value:{type:Number,required:!0},format:{type:[String,Object]}},Th),setup(e,t){const n=e.i18n||wh({useScope:e.scope,__useComponent:!0});return Y0(e,t,Eh,(...r)=>n[qd](...r))}}),iy=Lk,kk=Ce({name:"i18n-d",props:lt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Th),setup(e,t){const n=e.i18n||wh({useScope:e.scope,__useComponent:!0});return Y0(e,t,bh,(...r)=>n[Kd](...r))}}),sy=kk;function Pk(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Dk(e){const t=s=>{const{instance:a,value:l}=s;if(!a||!a.$)throw Ar(mr.UNEXPECTED_ERROR);const u=Pk(e,a.$),c=ay(l);return[Reflect.apply(u.t,u,[...ly(c)]),u]};return{created:(s,a)=>{const[l,u]=t(a);bs&&e.global===u&&(s.__i18nWatcher=wt(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),s.__composer=u,s.textContent=l},unmounted:s=>{bs&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:a})=>{if(s.__composer){const l=s.__composer,u=ay(a);s.textContent=Reflect.apply(l.t,l,[...ly(u)])}},getSSRProps:s=>{const[a]=t(s);return{textContent:a}}}}function ay(e){if(ce(e))return{path:e};if(Qe(e)){if(!("path"in e))throw Ar(mr.REQUIRED_VALUE,"path");return e}else throw Ar(mr.INVALID_VALUE)}function ly(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,s={},a=r||{};return ce(n)&&(s.locale=n),$t(o)&&(s.plural=o),$t(i)&&(s.plural=i),[t,a,s]}function Mk(e,t,...n){const r=Qe(n[0])?n[0]:{};(bt(r.globalInstall)?r.globalInstall:!0)&&([oy.name,"I18nT"].forEach(i=>e.component(i,oy)),[iy.name,"I18nN"].forEach(i=>e.component(i,iy)),[sy.name,"I18nD"].forEach(i=>e.component(i,sy))),e.directive("t",Dk(t))}const Fk=jn("global-vue-i18n");function Uk(e={},t){const n=bt(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,i]=jk(e),s=jn("");function a(f){return r.get(f)||null}function l(f,d){r.set(f,d)}function u(f){r.delete(f)}const c={get mode(){return"composition"},async install(f,...d){if(f.__VUE_I18N_SYMBOL__=s,f.provide(f.__VUE_I18N_SYMBOL__,c),Qe(d[0])){const h=d[0];c.__composerExtend=h.__composerExtend,c.__vueI18nExtend=h.__vueI18nExtend}let p=null;n&&(p=qk(f,c.global)),Mk(f,c,...d);const g=f.unmount;f.unmount=()=>{p&&p(),c.dispose(),g()}},get global(){return i},dispose(){o.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:u};return c}function wh(e={}){const t=St();if(t==null)throw Ar(mr.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ar(mr.NOT_INSTALLED);const n=Vk(t),r=Bk(n),o=K0(t),i=$k(e,o);if(i==="global")return Rk(r,e,o),r;if(i==="parent"){let l=Hk(n,t,e.__useComponent);return l==null&&(l=r),l}const s=n;let a=s.__getInstance(t);if(a==null){const l=lt({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=q0(l),s.__composerExtend&&(a[Wd]=s.__composerExtend(a)),Gk(s,t,a),s.__setInstance(t,a)}return a}function jk(e,t,n){const r=Is(),o=r.run(()=>q0(e));if(o==null)throw Ar(mr.UNEXPECTED_ERROR);return[r,o]}function Vk(e){const t=jt(e.isCE?Fk:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ar(e.isCE?mr.NOT_INSTALLED_WITH_PROVIDE:mr.UNEXPECTED_ERROR);return t}function $k(e,t){return tl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Bk(e){return e.mode==="composition"?e.global:e.global.__composer}function Hk(e,t,n=!1){let r=null;const o=t.root;let i=zk(t,n);for(;i!=null;){const s=e;if(e.mode==="composition"&&(r=s.__getInstance(i)),r!=null||o===i)break;i=i.parent}return r}function zk(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Gk(e,t,n){ln(()=>{},t),So(()=>{const r=n;e.__deleteInstance(t);const o=r[Wd];o&&(o(),delete r[Wd])},t)}const Kk=["locale","fallbackLocale","availableLocales"],uy=["t","rt","d","n","tm","te"];function qk(e,t){const n=Object.create(null);return Kk.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw Ar(mr.UNEXPECTED_ERROR);const s=It(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,o,s)}),e.config.globalProperties.$i18n=n,uy.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw Ar(mr.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,uy.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}wk();k0(O0);D0(N0);F0(Fc);if(__INTLIFY_PROD_DEVTOOLS__){const e=nl();e.__INTLIFY__=!0,x0(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Wk(){return Oi(Ts)}function Yk(){return Oi(dh)}function Xk(){return Oi(Mc)}function Jk(){return Oi(Mc)}function X0(){return Oi(hh)}const Qk=Gt({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(){const e=Be();if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=X0(),n=new RegExp([``,".+?",``].join(""),"g");e.hook("app:rendered",r=>{var o;((o=r.renderResult)==null?void 0:o.html)!=null&&(r.renderResult.html=r.renderResult.html.replaceAll(n,(i,s)=>i.replace(/href="([^"]+)"/,`href="${encodeURI(t(s??""))}"`)))})}}),Zk=Gt({name:"i18n:plugin:route-locale-detect",dependsOn:["i18n:plugin"],async setup(){let e,t;const n=Be(),r=n.$router.currentRoute;async function o(s){let a=YN(s,n._vueI18n.__localeFromRoute(s),W(n.$i18n.locale),n.$i18n.getLocaleCookie());if(n._vueI18n.__firstAccess){n._vueI18n.__setLocale(a);const u=f0(W(n._vueI18n.global.fallbackLocale),[a]);await Promise.all(u.map(c=>n.$i18n.loadLocaleMessages(c))),await n.$i18n.loadLocaleMessages(a)}return await n.runWithContext(()=>h0(a,n._vueI18n.__firstAccess))&&(a=W(n.$i18n.locale)),a}[e,t]=qn(()=>o(r.value)),await e,t(),_I("locale-changing",async(s,a)=>{let l,u;const c=([l,u]=qn(()=>n.runWithContext(()=>o(s))),l=await l,u(),l),f=([l,u]=qn(()=>n.runWithContext(()=>g0({to:s,from:a,locale:c,routeLocale:n._vueI18n.__localeFromRoute(s)},!0))),l=await l,u(),l);return n._vueI18n.__firstAccess=!1,[l,u]=qn(()=>n.runWithContext(()=>m0({nuxt:n,redirectPath:f,locale:c,route:s}))),l=await l,u(),l},{global:!0})}});function eP(e,{extendComposer:t,extendComposerInstance:n}){const r=Is(),o=e.install.bind(e);e.install=(i,...s)=>{const a=lt({},s[0]);a.__composerExtend=u=>(n(u,ea(e)),()=>{}),e.mode==="legacy"&&(a.__vueI18nExtend=u=>(n(u,ea(u)),()=>{})),Reflect.apply(o,e,[i,a]);const l=ea(e);if(r.run(()=>{t(l),e.mode==="legacy"&&u0(e.global)&&n(e.global,ea(e.global))}),e.mode==="composition"&&i.config.globalProperties.$i18n!=null&&n(i.config.globalProperties.$i18n,l),i.unmount){const u=i.unmount.bind(i);i.unmount=()=>{r.stop(),u()}}}}const tP=Gt({name:"i18n:plugin",parallel:cN,async setup(){var c;let e,t;const n=Be(),r=n.$config.public.i18n,o=$N(r);VN(r,o),n.$config.public.i18n.defaultLocale=o;const i={...r,defaultLocale:o,baseUrl:QN(n)},s=([e,t]=qn(()=>BN(uN,Be())),e=await e,t(),e);s.messages||(s.messages={}),s.fallbackLocale??(s.fallbackLocale=!1),o&&(s.locale=o);for(const f of Ko)(c=s.messages)[f]??(c[f]={});const a=Uk(s);n._vueI18n=a,a.__localeFromRoute=MN(),a.__firstAccess=!0,a.__setLocale=f=>{const d=Gu(a);It(d.locale)?d.locale.value=f:d.locale=f};const l=tL(),u=rl();return eP(a,{extendComposer(f){const d=Fe(i.locales);f.locales=ne(()=>d.value);const p=Fe(Ko);f.localeCodes=ne(()=>p.value);const g=Fe(i.baseUrl());f.baseUrl=ne(()=>g.value),wt(f.locale,()=>g.value=i.baseUrl()),f.strategy=i.strategy,f.localeProperties=ne(()=>Nc.find(h=>h.code===f.locale.value)||{code:f.locale.value}),f.setLocale=async h=>{if(await h0(h,a.__firstAccess),f.strategy==="no_prefix"){await f.loadLocaleMessages(h),a.__setLocale(h);return}const _=n.$router.currentRoute.value,m=await n.runWithContext(()=>g0({to:_,locale:h,routeLocale:a.__localeFromRoute(_)}));await n.runWithContext(()=>m0({nuxt:n,redirectPath:m,locale:h,route:_},!0))},f.loadLocaleMessages=async h=>await Bd(h,Vd,f.mergeLocaleMessage.bind(f),n),f.differentDomains=i.differentDomains,f.defaultLocale=i.defaultLocale,f.getBrowserLocale=()=>eL(),f.getLocaleCookie=()=>nL(l,u,f.defaultLocale),f.setLocaleCookie=h=>{!u||!u.useCookie||(l.value=h)},f.onBeforeLanguageSwitch=(h,_,m,E)=>n.callHook("i18n:beforeLocaleSwitch",{oldLocale:h,newLocale:_,initialSetup:m,context:E}),f.onLanguageSwitched=(h,_)=>n.callHook("i18n:localeSwitched",{oldLocale:h,newLocale:_}),f.finalizePendingLocaleChange=async()=>{var h;a.__pendingLocale&&(a.__setLocale(a.__pendingLocale),(h=a.__resolvePendingLocalePromise)==null||h.call(a),a.__pendingLocale=void 0)},f.waitForPendingLocaleChange=async()=>{a.__pendingLocale&&a.__pendingLocalePromise&&await a.__pendingLocalePromise}},extendComposerInstance(f,d){const p=[["locales",()=>d.locales],["localeCodes",()=>d.localeCodes],["baseUrl",()=>d.baseUrl],["strategy",()=>d.strategy],["localeProperties",()=>d.localeProperties],["setLocale",()=>async g=>Reflect.apply(d.setLocale,d,[g])],["loadLocaleMessages",()=>async g=>Reflect.apply(d.loadLocaleMessages,d,[g])],["differentDomains",()=>d.differentDomains],["defaultLocale",()=>d.defaultLocale],["getBrowserLocale",()=>()=>Reflect.apply(d.getBrowserLocale,d,[])],["getLocaleCookie",()=>()=>Reflect.apply(d.getLocaleCookie,d,[])],["setLocaleCookie",()=>g=>Reflect.apply(d.setLocaleCookie,d,[g])],["onBeforeLanguageSwitch",()=>(g,h,_,m)=>Reflect.apply(d.onBeforeLanguageSwitch,d,[g,h,_,m])],["onLanguageSwitched",()=>(g,h)=>Reflect.apply(d.onLanguageSwitched,d,[g,h])],["finalizePendingLocaleChange",()=>()=>Reflect.apply(d.finalizePendingLocaleChange,d,[])],["waitForPendingLocaleChange",()=>()=>Reflect.apply(d.waitForPendingLocaleChange,d,[])]];for(const[g,h]of p)Object.defineProperty(f,g,{get:h})}}),n.vueApp.use(a),Object.defineProperty(n,"$i18n",{get:()=>Gu(a)}),{provide:{localeHead:Oi(iL),localePath:Yk(),localeRoute:Xk(),getRouteBaseName:Wk(),switchLocalePath:X0(),resolveRoute:Oi(ph),localeLocation:Jk()}}}}),nP=bo(()=>ie(()=>import("./BqKkjd4G.js"),__vite__mapDeps([77,78]),import.meta.url).then(e=>e.default||e.default||e)),rP=bo(()=>ie(()=>import("./Dx4tyj7w.js"),[],import.meta.url).then(e=>e.default||e.default||e)),oP=bo(()=>ie(()=>import("./BgrVOINr.js"),__vite__mapDeps([79,22,23,3,4,80]),import.meta.url).then(e=>e.default||e.default||e)),iP=[["BlokAccessibilityPolicyDocument",nP],["BlokTappButton",rP],["RetLoginHeroBlok",oP]],sP=Gt({name:"nuxt:global-components",setup(e){for(const[t,n]of iP)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Uo={branded:bo(()=>ie(()=>import("./DaxfPXDc.js"),__vite__mapDeps([81,82,83]),import.meta.url).then(e=>e.default||e)),"error-layout":bo(()=>ie(()=>import("./Bs4U0cqR.js"),__vite__mapDeps([84,82,85]),import.meta.url).then(e=>e.default||e))},aP=Gt({name:"nuxt:prefetch",setup(e){const t=Vt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof Uo[r]=="function"&&await Uo[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Mn(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let i=lh(r.meta.middleware);i=i.filter(s=>typeof s=="string");for(const s of i)typeof fa[s]=="function"&&fa[s]();typeof o=="string"&&o in Uo&&RN(Uo[o])})}});let cy=!1;const fy=[],lP=e=>new Promise((t,n)=>{if(typeof window>"u"||(window.storyblokRegisterEvent=o=>{if(window.location===window.parent.location){console.warn("You are not in Draft Mode or in the Visual Editor.");return}cy?o():fy.push(o)},document.getElementById("storyblok-javascript-bridge")))return;const r=document.createElement("script");r.async=!0,r.src=e,r.id="storyblok-javascript-bridge",r.onerror=o=>n(o),r.onload=o=>{fy.forEach(i=>i()),cy=!0,t(o)},document.getElementsByTagName("head")[0].appendChild(r)});var uP=Object.defineProperty,cP=(e,t,n)=>t in e?uP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ht=(e,t,n)=>cP(e,typeof t!="symbol"?t+"":t,n);class fP extends Error{constructor(t){super(t),this.name="AbortError"}}function dP(e,t,n){if(!Number.isFinite(t))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(n))throw new TypeError("Expected `interval` to be a finite number");const r=[];let o=[],i=0,s=!1;const a=async()=>{i++;const u=r.shift();if(u)try{const f=await e(...u.args);u.resolve(f)}catch(f){u.reject(f)}const c=setTimeout(()=>{i--,r.length>0&&a(),o=o.filter(f=>f!==c)},n);o.includes(c)||o.push(c)},l=(...u)=>s?Promise.reject(new Error("Throttled function is already aborted and not accepting new promises")):new Promise((c,f)=>{r.push({resolve:c,reject:f,args:u}),i{s=!0,o.forEach(clearTimeout),o=[],r.forEach(u=>u.reject(()=>new fP("Throttle function aborted"))),r.length=0},l}class Zu{constructor(){ht(this,"isCDNUrl",(t="")=>t.includes("/cdn/")),ht(this,"getOptionsPage",(t,n=25,r=1)=>({...t,per_page:n,page:r})),ht(this,"delay",t=>new Promise(n=>setTimeout(n,t))),ht(this,"arrayFrom",(t=0,n)=>Array.from({length:t},n)),ht(this,"range",(t=0,n=t)=>{const r=Math.abs(n-t)||0,o=ts*o+t)}),ht(this,"asyncMap",async(t,n)=>Promise.all(t.map(n))),ht(this,"flatMap",(t=[],n)=>t.map(n).reduce((r,o)=>[...r,...o],[])),ht(this,"escapeHTML",function(t){const n={"&":"&","<":"<",">":">",'"':""","'":"'"},r=/[&<>"']/g,o=new RegExp(r.source);return t&&o.test(t)?t.replace(r,i=>n[i]):t})}stringify(t,n,r){const o=[];for(const i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;const s=t[i],a=r?"":encodeURIComponent(i);let l;typeof s=="object"?l=this.stringify(s,n?n+encodeURIComponent(`[${a}]`):a,Array.isArray(s)):l=`${n?n+encodeURIComponent(`[${a}]`):a}=${encodeURIComponent(s)}`,o.push(l)}return o.join("&")}getRegionURL(t){const n="api.storyblok.com",r="api-us.storyblok.com",o="app.storyblokchina.cn",i="api-ap.storyblok.com",s="api-ca.storyblok.com";switch(t){case"us":return r;case"cn":return o;case"ap":return i;case"ca":return s;default:return n}}}const pP=function(e,t){const n={};for(const r in e){const o=e[r];t.includes(r)&&o!==null&&(n[r]=o)}return n},hP=e=>e==="email",gP=()=>({singleTag:"hr"}),mP=()=>({tag:"blockquote"}),yP=()=>({tag:"ul"}),_P=e=>({tag:["pre",{tag:"code",attrs:e.attrs}]}),vP=()=>({singleTag:"br"}),bP=e=>({tag:`h${e.attrs.level}`}),EP=e=>({singleTag:[{tag:"img",attrs:pP(e.attrs,["src","alt","title"])}]}),TP=()=>({tag:"li"}),wP=()=>({tag:"ol"}),SP=()=>({tag:"p"}),AP=e=>({tag:[{tag:"span",attrs:{"data-type":"emoji","data-name":e.attrs.name,emoji:e.attrs.emoji}}]}),RP=()=>({tag:"b"}),IP=()=>({tag:"s"}),OP=()=>({tag:"u"}),xP=()=>({tag:"strong"}),CP=()=>({tag:"code"}),NP=()=>({tag:"i"}),LP=e=>{if(!e.attrs)return{tag:""};const t=new Zu().escapeHTML,n={...e.attrs},{linktype:r="url"}=e.attrs;if(delete n.linktype,n.href&&(n.href=t(e.attrs.href||"")),hP(r)&&(n.href=`mailto:${n.href}`),n.anchor&&(n.href=`${n.href}#${n.anchor}`,delete n.anchor),n.custom){for(const o in n.custom)n[o]=n.custom[o];delete n.custom}return{tag:[{tag:"a",attrs:n}]}},kP=e=>({tag:[{tag:"span",attrs:e.attrs}]}),PP=()=>({tag:"sub"}),DP=()=>({tag:"sup"}),MP=e=>({tag:[{tag:"span",attrs:e.attrs}]}),FP=e=>{var t;return(t=e.attrs)!=null&&t.color?{tag:[{tag:"span",attrs:{style:`background-color:${e.attrs.color};`}}]}:{tag:""}},UP=e=>{var t;return(t=e.attrs)!=null&&t.color?{tag:[{tag:"span",attrs:{style:`color:${e.attrs.color}`}}]}:{tag:""}},jP={nodes:{horizontal_rule:gP,blockquote:mP,bullet_list:yP,code_block:_P,hard_break:vP,heading:bP,image:EP,list_item:TP,ordered_list:wP,paragraph:SP,emoji:AP},marks:{bold:RP,strike:IP,underline:OP,strong:xP,code:CP,italic:NP,link:LP,styled:kP,subscript:PP,superscript:DP,anchor:MP,highlight:FP,textStyle:UP}},VP=function(e){const t={"&":"&","<":"<",">":">",'"':""","'":"'"},n=/[&<>"']/g,r=new RegExp(n.source);return e&&r.test(e)?e.replace(n,o=>t[o]):e};let dy=!1;class $P{constructor(t){ht(this,"marks"),ht(this,"nodes"),t||(t=jP),this.marks=t.marks||[],this.nodes=t.nodes||[]}addNode(t,n){this.nodes[t]=n}addMark(t,n){this.marks[t]=n}render(t,n={optimizeImages:!1},r=!0){if(!dy&&r&&(console.warn("Warning ⚠️: The RichTextResolver class is deprecated and will be removed in the next major release. Please use the `@storyblok/richtext` package instead. https://github.com/storyblok/richtext/"),dy=!0),t&&t.content&&Array.isArray(t.content)){let o="";return t.content.forEach(i=>{o+=this.renderNode(i)}),n.optimizeImages?this.optimizeImages(o,n.optimizeImages):o}return console.warn(`The render method must receive an Object with a "content" field. The "content" field must be an array of nodes as the type ISbRichtext. ISbRichtext: content?: ISbRichtext[] marks?: ISbRichtext[] attrs?: any text?: string type: string Example: { content: [ { content: [ { text: 'Hello World', type: 'text' } ], type: 'paragraph' } ], type: 'doc' }`),""}optimizeImages(t,n){let r=0,o=0,i="",s="";typeof n!="boolean"&&(typeof n.width=="number"&&n.width>0&&(i+=`width="${n.width}" `,r=n.width),typeof n.height=="number"&&n.height>0&&(i+=`height="${n.height}" `,o=n.height),(n.loading==="lazy"||n.loading==="eager")&&(i+=`loading="${n.loading}" `),typeof n.class=="string"&&n.class.length>0&&(i+=`class="${n.class}" `),n.filters&&(typeof n.filters.blur=="number"&&n.filters.blur>=0&&n.filters.blur<=100&&(s+=`:blur(${n.filters.blur})`),typeof n.filters.brightness=="number"&&n.filters.brightness>=-100&&n.filters.brightness<=100&&(s+=`:brightness(${n.filters.brightness})`),n.filters.fill&&(n.filters.fill.match(/[0-9A-F]{6}/gi)||n.filters.fill==="transparent")&&(s+=`:fill(${n.filters.fill})`),n.filters.format&&["webp","png","jpeg"].includes(n.filters.format)&&(s+=`:format(${n.filters.format})`),typeof n.filters.grayscale=="boolean"&&n.filters.grayscale&&(s+=":grayscale()"),typeof n.filters.quality=="number"&&n.filters.quality>=0&&n.filters.quality<=100&&(s+=`:quality(${n.filters.quality})`),n.filters.rotate&&[90,180,270].includes(n.filters.rotate)&&(s+=`:rotate(${n.filters.rotate})`),s.length>0&&(s=`/filters${s}`))),i.length>0&&(t=t.replace(/0||o>0||s.length>0?`${r}x${o}${s}`:"";return t=t.replace(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|bmp)/g,`a.storyblok.com/f/$1/$2.$3/m/${a}`),typeof n!="boolean"&&(n.sizes||n.srcset)&&(t=t.replace(/{var u,c;const f=l.match(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|bmp)/g);if(f&&f.length>0){const d={srcset:(u=n.srcset)==null?void 0:u.map(g=>{if(typeof g=="number")return`//${f}/m/${g}x0${s} ${g}w`;if(typeof g=="object"&&g.length===2){let h=0,_=0;return typeof g[0]=="number"&&(h=g[0]),typeof g[1]=="number"&&(_=g[1]),`//${f}/m/${h}x${_}${s} ${h}w`}return""}).join(", "),sizes:(c=n.sizes)==null?void 0:c.map(g=>g).join(", ")};let p="";return d.srcset&&(p+=`srcset="${d.srcset}" `),d.sizes&&(p+=`sizes="${d.sizes}" `),l.replace(/{const i=this.getMatchingMark(o);i&&i.tag!==""&&n.push(this.renderOpeningTag(i.tag))});const r=this.getMatchingNode(t);return r&&r.tag&&n.push(this.renderOpeningTag(r.tag)),t.content?t.content.forEach(o=>{n.push(this.renderNode(o))}):t.text?n.push(VP(t.text)):r&&r.singleTag?n.push(this.renderTag(r.singleTag," /")):r&&r.html?n.push(r.html):t.type==="emoji"&&n.push(this.renderEmoji(t)),r&&r.tag&&n.push(this.renderClosingTag(r.tag)),t.marks&&t.marks.slice(0).reverse().forEach(o=>{const i=this.getMatchingMark(o);i&&i.tag!==""&&n.push(this.renderClosingTag(i.tag))}),n.join("")}renderTag(t,n){return t.constructor===String?`<${t}${n}>`:t.map(r=>{if(r.constructor===String)return`<${r}${n}>`;{let o=`<${r.tag}`;if(r.attrs){for(const i in r.attrs)if(Object.prototype.hasOwnProperty.call(r.attrs,i)){const s=r.attrs[i];s!==null&&(o+=` ${i}="${s}"`)}}return`${o}${n}>`}}).join("")}renderOpeningTag(t){return this.renderTag(t,"")}renderClosingTag(t){return t.constructor===String?``:t.slice(0).reverse().map(n=>n.constructor===String?``:``).join("")}getMatchingNode(t){const n=this.nodes[t.type];if(typeof n=="function")return n(t)}getMatchingMark(t){const n=this.marks[t.type];if(typeof n=="function")return n(t)}renderEmoji(t){if(t.attrs.emoji)return t.attrs.emoji;const n=[{tag:"img",attrs:{src:t.attrs.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle"}}];return this.renderTag(n," /")}}const ec=$P;class BP{constructor(t){ht(this,"baseURL"),ht(this,"timeout"),ht(this,"headers"),ht(this,"responseInterceptor"),ht(this,"fetch"),ht(this,"ejectInterceptor"),ht(this,"url"),ht(this,"parameters"),ht(this,"fetchOptions"),this.baseURL=t.baseURL,this.headers=t.headers||new Headers,this.timeout=t!=null&&t.timeout?t.timeout*1e3:0,this.responseInterceptor=t.responseInterceptor,this.fetch=(...n)=>t.fetch?t.fetch(...n):fetch(...n),this.ejectInterceptor=!1,this.url="",this.parameters={},this.fetchOptions={}}get(t,n){return this.url=t,this.parameters=n,this._methodHandler("get")}post(t,n){return this.url=t,this.parameters=n,this._methodHandler("post")}put(t,n){return this.url=t,this.parameters=n,this._methodHandler("put")}delete(t,n){return this.url=t,this.parameters=n??{},this._methodHandler("delete")}async _responseHandler(t){const n=[],r={data:{},headers:{},status:0,statusText:""};t.status!==204&&await t.json().then(o=>{r.data=o});for(const o of t.headers.entries())n[o[0]]=o[1];return r.headers={...n},r.status=t.status,r.statusText=t.statusText,r}async _methodHandler(t){let n=`${this.baseURL}${this.url}`,r=null;if(t==="get"){const l=new Zu;n=`${this.baseURL}${this.url}?${l.stringify(this.parameters)}`}else r=JSON.stringify(this.parameters);const o=new URL(n),i=new AbortController,{signal:s}=i;let a;this.timeout&&(a=setTimeout(()=>i.abort(),this.timeout));try{const l=await this.fetch(`${o}`,{method:t,headers:this.headers,body:r,signal:s,...this.fetchOptions});this.timeout&&clearTimeout(a);const u=await this._responseHandler(l);return this.responseInterceptor&&!this.ejectInterceptor?this._statusHandler(this.responseInterceptor(u)):this._statusHandler(u)}catch(l){return{message:l}}}setFetchOptions(t={}){Object.keys(t).length>0&&"method"in t&&delete t.method,this.fetchOptions={...t}}eject(){this.ejectInterceptor=!0}_statusHandler(t){const n=/20[0-6]/g;return new Promise((r,o)=>{if(n.test(`${t.status}`))return r(t);const i={message:t.statusText,status:t.status,response:Array.isArray(t.data)?t.data[0]:t.data.error||t.data.slug};o(i)})}}const HP=BP,py="SB-Agent",Sf={defaultAgentName:"SB-JS-CLIENT",defaultAgentVersion:"SB-Agent-Version",packageVersion:"6.0.0"};let Gl={};const pi={};class zP{constructor(t,n){ht(this,"client"),ht(this,"maxRetries"),ht(this,"retriesDelay"),ht(this,"throttle"),ht(this,"accessToken"),ht(this,"cache"),ht(this,"helpers"),ht(this,"resolveCounter"),ht(this,"relations"),ht(this,"links"),ht(this,"richTextResolver"),ht(this,"resolveNestedRelations"),ht(this,"stringifiedStoriesCache");let r=t.endpoint||n;if(!r){const s=new Zu().getRegionURL,a=t.https===!1?"http":"https";t.oauthToken?r=`${a}://${s(t.region)}/v1`:r=`${a}://${s(t.region)}/v2`}const o=new Headers;o.set("Content-Type","application/json"),o.set("Accept","application/json"),t.headers&&(t.headers.constructor.name==="Headers"?t.headers.entries().toArray():Object.entries(t.headers)).forEach(([s,a])=>{o.set(s,a)}),o.has(py)||(o.set(py,Sf.defaultAgentName),o.set(Sf.defaultAgentVersion,Sf.packageVersion));let i=5;t.oauthToken&&(o.set("Authorization",t.oauthToken),i=3),t.rateLimit&&(i=t.rateLimit),t.richTextSchema?this.richTextResolver=new ec(t.richTextSchema):this.richTextResolver=new ec,t.componentResolver&&this.setComponentResolver(t.componentResolver),this.maxRetries=t.maxRetries||10,this.retriesDelay=300,this.throttle=dP(this.throttledRequest.bind(this),i,1e3),this.accessToken=t.accessToken||"",this.relations={},this.links={},this.cache=t.cache||{clear:"manual"},this.helpers=new Zu,this.resolveCounter=0,this.resolveNestedRelations=t.resolveNestedRelations||!0,this.stringifiedStoriesCache={},this.client=new HP({baseURL:r,timeout:t.timeout||0,headers:o,responseInterceptor:t.responseInterceptor,fetch:t.fetch})}setComponentResolver(t){this.richTextResolver.addNode("blok",n=>{let r="";return n.attrs.body&&n.attrs.body.forEach(o=>{r+=t(o.component,o)}),{html:r}})}parseParams(t){return t.token||(t.token=this.getToken()),t.cv||(t.cv=pi[t.token]),Array.isArray(t.resolve_relations)&&(t.resolve_relations=t.resolve_relations.join(",")),typeof t.resolve_relations<"u"&&(t.resolve_level=2),t}factoryParamOptions(t,n){return this.helpers.isCDNUrl(t)?this.parseParams(n):n}makeRequest(t,n,r,o,i){const s=this.factoryParamOptions(t,this.helpers.getOptionsPage(n,r,o));return this.cacheResponse(t,s,void 0,i)}get(t,n,r){n||(n={});const o=`/${t}`,i=this.factoryParamOptions(o,n);return this.cacheResponse(o,i,void 0,r)}async getAll(t,n,r,o){const i=(n==null?void 0:n.per_page)||25,s=`/${t}`.replace(/\/$/,""),a=r??s.substring(s.lastIndexOf("/")+1),l=1,u=await this.makeRequest(s,n,i,l,o),c=u.total?Math.ceil(u.total/i):1,f=await this.helpers.asyncMap(this.helpers.range(l,c),d=>this.makeRequest(s,n,i,d+1,o));return this.helpers.flatMap([u,...f],d=>Object.values(d.data[a]))}post(t,n,r){const o=`/${t}`;return Promise.resolve(this.throttle("post",o,n,r))}put(t,n,r){const o=`/${t}`;return Promise.resolve(this.throttle("put",o,n,r))}delete(t,n,r){n||(n={});const o=`/${t}`;return Promise.resolve(this.throttle("delete",o,n,r))}getStories(t,n){return this._addResolveLevel(t),this.get("cdn/stories",t,n)}getStory(t,n,r){return this._addResolveLevel(n),this.get(`cdn/stories/${t}`,n,r)}getToken(){return this.accessToken}ejectInterceptor(){this.client.eject()}_addResolveLevel(t){typeof t.resolve_relations<"u"&&(t.resolve_level=2)}_cleanCopy(t){return JSON.parse(JSON.stringify(t))}_insertLinks(t,n,r){const o=t[n];o&&o.fieldtype==="multilink"&&o.linktype==="story"&&typeof o.id=="string"&&this.links[r][o.id]?o.story=this._cleanCopy(this.links[r][o.id]):o&&o.linktype==="story"&&typeof o.uuid=="string"&&this.links[r][o.uuid]&&(o.story=this._cleanCopy(this.links[r][o.uuid]))}getStoryReference(t,n){return this.relations[t][n]?JSON.parse(this.stringifiedStoriesCache[n]||JSON.stringify(this.relations[t][n])):n}_resolveField(t,n,r){const o=t[n];typeof o=="string"?t[n]=this.getStoryReference(r,o):Array.isArray(o)&&(t[n]=o.map(i=>this.getStoryReference(r,i)).filter(Boolean))}_insertRelations(t,n,r,o){if(Array.isArray(r)?r.find(s=>s.endsWith(`.${n}`)):r.endsWith(`.${n}`)){this._resolveField(t,n,o);return}const i=t.component?`${t.component}.${n}`:n;(Array.isArray(r)?r.includes(i):r===i)&&this._resolveField(t,n,o)}iterateTree(t,n,r){const o=(i,s="")=>{if(!(!i||i._stopResolving)){if(Array.isArray(i))i.forEach((a,l)=>o(a,`${s}[${l}]`));else if(typeof i=="object")for(const a in i){const l=s?`${s}.${a}`:a;(i.component&&i._uid||i.type==="link")&&(this._insertRelations(i,a,n,r),this._insertLinks(i,a,r)),o(i[a],l)}}};o(t.content)}async resolveLinks(t,n,r){let o=[];if(t.link_uuids){const i=t.link_uuids.length,s=[],a=50;for(let l=0;l{o.push(u)})}else o=t.links;o.forEach(i=>{this.links[r][i.uuid]={...i,_stopResolving:!0}})}async resolveRelations(t,n,r){let o=[];if(t.rel_uuids){const i=t.rel_uuids.length,s=[],a=50;for(let l=0;l{o.push(u)})}else o=t.rels;o&&o.length>0&&o.forEach(i=>{this.relations[r][i.uuid]={...i,_stopResolving:!0}})}async resolveStories(t,n,r){var o,i;let s=[];if(this.links[r]={},this.relations[r]={},typeof n.resolve_relations<"u"&&n.resolve_relations.length>0&&(typeof n.resolve_relations=="string"&&(s=n.resolve_relations.split(",")),await this.resolveRelations(t,n,r)),n.resolve_links&&["1","story","url","link"].includes(n.resolve_links)&&((o=t.links)!=null&&o.length||(i=t.link_uuids)!=null&&i.length)&&await this.resolveLinks(t,n,r),this.resolveNestedRelations)for(const a in this.relations[r])this.iterateTree(this.relations[r][a],s,r);t.story?this.iterateTree(t.story,s,r):t.stories.forEach(a=>{this.iterateTree(a,s,r)}),this.stringifiedStoriesCache={},delete this.links[r],delete this.relations[r]}async cacheResponse(t,n,r,o){const i=this.helpers.stringify({url:t,params:n}),s=this.cacheProvider();if(this.cache.clear==="auto"&&n.version==="draft"&&await this.flushCache(),n.version==="published"&&t!=="/cdn/spaces/me"){const a=await s.get(i);if(a)return Promise.resolve(a)}return new Promise(async(a,l)=>{var u;try{const c=await this.throttle("get",t,n,o);if(c.status!==200)return l(c);let f={data:c.data,headers:c.headers};if((u=c.headers)!=null&&u["per-page"]&&(f=Object.assign({},f,{perPage:c.headers["per-page"]?Number.parseInt(c.headers["per-page"]):0,total:c.headers["per-page"]?Number.parseInt(c.headers.total):0})),f.data.story||f.data.stories){const d=this.resolveCounter=++this.resolveCounter%1e3;await this.resolveStories(f.data,n,`${d}`)}return n.version==="published"&&t!=="/cdn/spaces/me"&&await s.set(i,f),f.data.cv&&n.token&&pi[n.token]!==f.data.cv&&(await this.flushCache(),pi[n.token]=f.data.cv),a(f)}catch(c){if(c.response&&c.status===429&&(r=typeof r>"u"?0:r+1,r{const{apiOptions:t}=e;if(!t||!t.accessToken){console.error("You need to provide an access token to interact with Storyblok API. Read https://www.storyblok.com/docs/api/content-delivery#topics/authentication");return}return{storyblokApi:new zP(t)}},KP=e=>{if(typeof e!="object"||typeof e._editable>"u")return{};try{const t=JSON.parse(e._editable.replace(/^$/,""));return t?{"data-blok-c":JSON.stringify(t),"data-blok-uid":`${t.id}-${t.uid}`}:{}}catch{return{}}};function qP(e,t){if(!t)return{src:e,attrs:{}};let n=0,r=0;const o={},i=[];function s(l,u,c,f,d){typeof l!="number"||l<=u||l>=c?console.warn(`[StoryblokRichText] - ${f.charAt(0).toUpperCase()+f.slice(1)} value must be a number between ${u} and ${c} (inclusive)`):d.push(`${f}(${l})`)}if(typeof t=="object"){if(typeof t.width=="number"&&t.width>0?(o.width=t.width,n=t.width):console.warn("[StoryblokRichText] - Width value must be a number greater than 0"),t.height&&typeof t.height=="number"&&t.height>0?(o.height=t.height,r=t.height):console.warn("[StoryblokRichText] - Height value must be a number greater than 0"),t.loading&&["lazy","eager"].includes(t.loading)&&(o.loading=t.loading),t.class&&(o.class=t.class),t.filters){const{filters:l}=t||{},{blur:u,brightness:c,fill:f,format:d,grayscale:p,quality:g,rotate:h}=l||{};u&&s(u,0,100,"blur",i),g&&s(g,0,100,"quality",i),c&&s(c,0,100,"brightness",i),f&&i.push(`fill(${f})`),p&&i.push("grayscale()"),h&&[0,90,180,270].includes(t.filters.rotate||0)&&i.push(`rotate(${h})`),d&&["webp","png","jpeg"].includes(d)&&i.push(`format(${d})`)}t.srcset&&(o.srcset=t.srcset.map(l=>{if(typeof l=="number")return`${e}/m/${l}x0/${i.length>0?`filters:${i.join(":")}`:""} ${l}w`;if(Array.isArray(l)&&l.length===2){const[u,c]=l;return`${e}/m/${u}x${c}/${i.length>0?`filters:${i.join(":")}`:""} ${u}w`}else{console.warn("[StoryblokRichText] - srcset entry must be a number or a tuple of two numbers");return}}).join(", ")),t.sizes&&(o.sizes=t.sizes.join(", "))}let a=`${e}/m/`;return n>0&&r>0&&(a=`${a}${n}x${r}/`),i.length>0&&(a=`${a}filters:${i.join(":")}`),{src:a,attrs:o}}var Nn=(e=>(e.DOCUMENT="doc",e.HEADING="heading",e.PARAGRAPH="paragraph",e.QUOTE="blockquote",e.OL_LIST="ordered_list",e.UL_LIST="bullet_list",e.LIST_ITEM="list_item",e.CODE_BLOCK="code_block",e.HR="horizontal_rule",e.BR="hard_break",e.IMAGE="image",e.EMOJI="emoji",e.COMPONENT="blok",e))(Nn||{}),Jn=(e=>(e.BOLD="bold",e.STRONG="strong",e.STRIKE="strike",e.UNDERLINE="underline",e.ITALIC="italic",e.CODE="code",e.LINK="link",e.ANCHOR="anchor",e.STYLED="styled",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.TEXT_STYLE="textStyle",e.HIGHLIGHT="highlight",e))(Jn||{}),J0=(e=>(e.TEXT="text",e))(J0||{}),ta=(e=>(e.URL="url",e.STORY="story",e.ASSET="asset",e.EMAIL="email",e))(ta||{});const WP=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"],YP=(e={})=>Object.keys(e).map(t=>`${t}="${e[t]}"`).join(" "),XP=(e={})=>Object.keys(e).map(t=>`${t}: ${e[t]}`).join("; ");function JP(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const hy=e=>Object.fromEntries(Object.entries(e).filter(([t,n])=>n!==void 0));function gy(e,t={},n){const r=YP(t),o=r?`${e} ${r}`:e,i=Array.isArray(n)?n.join(""):n||"";if(e){if(WP.includes(e))return`<${o}>`}else return i;return`<${o}>${i}`}function QP(e={}){let t=0;const{renderFn:n=gy,textFn:r=JP,resolvers:o={},optimizeImages:i=!1,keyedResolvers:s=!1}=e,a=n!==gy,l=T=>S=>{const I=S.attrs||{};return s&&(I.key=`${T}-${t}`),n(T,I,S.children||null)},u=T=>{const{src:S,alt:I,title:D,srcset:M,sizes:j}=T.attrs||{};let B=S,H={};if(i){const{src:Te,attrs:De}=qP(S,i);B=Te,H=De}s&&(H={...H,key:`img-${t}`});const le={src:B,alt:I,title:D,srcset:M,sizes:j,...H};return n("img",hy(le))},c=T=>{const{level:S,...I}=T.attrs||{},D={...I};return s&&(D.key=`h${S}-${t}`),n(`h${S}`,D,T.children)},f=T=>{var S,I,D,M;const j=n("img",{src:(S=T.attrs)==null?void 0:S.fallbackImage,alt:(I=T.attrs)==null?void 0:I.alt,style:"width: 1.25em; height: 1.25em; vertical-align: text-top",draggable:"false",loading:"lazy"}),B={"data-type":"emoji","data-name":(D=T.attrs)==null?void 0:D.name,"data-emoji":(M=T.attrs)==null?void 0:M.emoji};return s&&(B.key=`emoji-${t}`),n("span",B,j)},d=T=>n("pre",{...T.attrs,key:`code-${t}`},n("code",{key:`code-${t}`},T.children||"")),p=(T,S=!1)=>({text:I,attrs:D})=>{const{class:M,id:j,...B}=D||{},H=S?{class:M,id:j,style:XP(B)||void 0}:D||{};return s&&(H.key=`${T}-${t}`),n(T,hy(H),I)},g=T=>v(T),h=T=>{const{marks:S,...I}=T;return"text"in T?S?S.reduce((D,M)=>g({...M,text:D}),g({...I,children:I.children})):r(I.text):""},_=T=>{const{linktype:S,href:I,anchor:D,...M}=T.attrs||{};let j="";switch(S){case ta.ASSET:case ta.URL:j=I;break;case ta.EMAIL:j=`mailto:${I}`;break;case ta.STORY:j=I,D&&(j=`${j}#${D}`);break;default:j=I;break}const B={...M};return j&&(B.href=j),s&&(B.key=`a-${t}`),n("a",B,T.text)},m=T=>{var S,I;return console.warn("[StoryblokRichtText] - BLOK resolver is not available for vanilla usage"),n("span",{blok:(S=T==null?void 0:T.attrs)==null?void 0:S.body[0],id:(I=T.attrs)==null?void 0:I.id,key:`component-${t}`,style:"display: none"})},E=new Map([[Nn.DOCUMENT,l("")],[Nn.HEADING,c],[Nn.PARAGRAPH,l("p")],[Nn.UL_LIST,l("ul")],[Nn.OL_LIST,l("ol")],[Nn.LIST_ITEM,l("li")],[Nn.IMAGE,u],[Nn.EMOJI,f],[Nn.CODE_BLOCK,d],[Nn.HR,l("hr")],[Nn.BR,l("br")],[Nn.QUOTE,l("blockquote")],[Nn.COMPONENT,m],[J0.TEXT,h],[Jn.LINK,_],[Jn.ANCHOR,_],[Jn.STYLED,p("span",!0)],[Jn.BOLD,p("strong")],[Jn.TEXT_STYLE,p("span",!0)],[Jn.ITALIC,p("em")],[Jn.UNDERLINE,p("u")],[Jn.STRIKE,p("s")],[Jn.CODE,p("code")],[Jn.SUPERSCRIPT,p("sup")],[Jn.SUBSCRIPT,p("sub")],[Jn.HIGHLIGHT,p("mark")],...Object.entries(o).map(([T,S])=>[T,S])]);function y(T){t+=1;const S=E.get(T.type);if(!S)return console.error("",`No resolver found for node type ${T.type}`),"";if(T.type==="text")return S(T);const I=T.content?T.content.map(v):void 0;return S({...T,children:I})}function v(T){return T.type==="doc"?a?T.content.map(y):T.content.map(y).join(""):Array.isArray(T)?T.map(y):y(T)}return{render:v}}let Yd,my="https://app.storyblok.com/f/storyblok-v2-latest.js";const Q0=(e,t)=>{e.addNode("blok",n=>{let r="";return n.attrs.body.forEach(o=>{r+=t(o.component,o)}),{html:r}})},ZP=(e={})=>{var t,n;const{bridge:r,accessToken:o,use:i=[],apiOptions:s={},richText:a={},bridgeUrl:l}=e;s.accessToken=s.accessToken||o;const u={bridge:r,apiOptions:s};let c={};i.forEach(d=>{c={...c,...d(u)}}),l&&(my=l);const f=!(typeof window>"u")&&((n=(t=window.location)==null?void 0:t.search)==null?void 0:n.includes("_storyblok_tk"));return r!==!1&&f&&lP(my),Yd=new ec(a.schema),a.resolver&&Q0(Yd,a.resolver),c},eD=e=>{var t;return!e||!((t=e==null?void 0:e.content)!=null&&t.some(n=>n.content||n.type==="blok"||n.type==="horizontal_rule"))},pB=(e,t,n)=>{let r=n||Yd;if(!r){console.error("Please initialize the Storyblok SDK before calling the renderRichText function");return}return eD(e)?"":(t&&(r=new ec(t.schema),t.resolver&&Q0(r,t.resolver)),r.render(e,{},!1))},Z0=Ce({__name:"StoryblokComponent",props:{blok:{}},setup(e,{expose:t}){const n=e,r=Fe();t({value:r});const o=typeof Ho(n.blok.component)!="string",i=jt("VueSDKOptions"),s=Fe(n.blok.component);return!o&&i&&(i.enableFallbackComponent?(s.value=i.customFallbackComponent??"FallbackComponent",typeof Ho(s.value)=="string"&&console.error(`Is the Fallback component "${s.value}" registered properly?`)):console.error(`Component could not be found for blok "${n.blok.component}"! Is it defined in main.ts as "app.component("${n.blok.component}", ${n.blok.component});"?`)),(a,l)=>(me(),Ge(Ho(s.value),kt({ref_key:"blokRef",ref:r},{...a.$props,...a.$attrs}),null,16))}}),tD=e=>{var t,n;return dt(Z0,{blok:(t=e==null?void 0:e.attrs)==null?void 0:t.body[0],id:(n=e.attrs)==null?void 0:n.id},e.children)};function nD(e){const t={renderFn:dt,textFn:Qr,keyedResolvers:!0,resolvers:{[Nn.COMPONENT]:tD,...e.resolvers}};return QP(t)}const rD=Ce({__name:"StoryblokRichText",props:{doc:{},resolvers:{}},setup(e){const t=e,n=Fe(),r=()=>n.value;return wt([()=>t.doc,()=>t.resolvers],([o,i])=>{const{render:s}=nD({resolvers:i??{}});n.value=s(o)},{immediate:!0,deep:!0}),(o,i)=>(me(),Ge(r))}}),oD={beforeMount(e,t){if(t.value){const n=KP(t.value);Object.keys(n).length>0&&(e.setAttribute("data-blok-c",n["data-blok-c"]),e.setAttribute("data-blok-uid",n["data-blok-uid"]),e.classList.add("storyblok__outline"))}}},iD={install(e,t={}){e.directive("editable",oD),e.component("StoryblokComponent",Z0),e.component("StoryblokRichText",rD),t.enableFallbackComponent&&!t.customFallbackComponent&&e.component("FallbackComponent",bo(()=>ie(()=>import("./CXHX7EeK.js"),[],import.meta.url)));const{storyblokApi:n}=ZP(t);e.provide("VueSDKOptions",t)}},sD=Gt(({vueApp:e})=>{let{storyblok:t}=Dt().public;t=JSON.parse(JSON.stringify(t)),e.use(iD,{...t,use:[GP]})}),aD=new RegExp(/Googlebot\/|Googlebot-Mobile|Googlebot-Image|Googlebot-News|Googlebot-Video|AdsBot-Google([^-]|$)|AdsBot-Google-Mobile|Feedfetcher-Google|Mediapartners-Google|Mediapartners \(Googlebot\)|APIs-Google|Google-InspectionTool|Storebot-Google|GoogleOther|bingbot|Slurp|[wW]get|LinkedInBot|Python-urllib|python-requests|aiohttp|httpx|libwww-perl|httpunit|Nutch|Go-http-client|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|BIGLOTRON|Teoma|convera|seekbot|Gigabot|Gigablast|exabot|ia_archiver|GingerCrawler|webmon |HTTrack|grub\.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|findlink|msrbot|panscient|yacybot|AISearchBot|ips-agent|tagoobot|MJ12bot|woriobot|yanga|buzzbot|mlbot|yandex\.com\/bots|purebot|Linguee Bot|CyberPatrol|voilabot|Baiduspider|citeseerxbot|spbot|twengabot|postrank|Turnitin|scribdbot|page2rss|sitebot|linkdex|Adidxbot|ezooms|dotbot|Mail\.RU_Bot|discobot|heritrix|findthatfile|europarchive\.org|NerdByNature\.Bot|(sistrix|SISTRIX) [cC]rawler|Ahrefs(Bot|SiteAudit)|fuelbot|CrunchBot|IndeedBot|mappydata|woobot|ZoominfoBot|PrivacyAwareBot|Multiviewbot|SWIMGBot|Grobbot|eright|Apercite|semanticbot|Aboundex|domaincrawler|wbsearchbot|summify|CCBot|edisterbot|SeznamBot|ec2linkfinder|gslfbot|aiHitBot|intelium_bot|facebookexternalhit|Yeti|RetrevoPageAnalyzer|lb-spider|Sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net\.com\.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|it2media-domain-crawler|ip-web-crawler\.com|siteexplorer\.info|elisabot|proximic|changedetection|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|CC Metadata Scaper|g00g1e\.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Twitterbot|cXensebot|smtbot|bnf\.fr_bot|A6-Indexer|ADmantX|Facebot|OrangeBot\/|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive\.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|S[eE][mM]rushBot|yoozBot|lipperhey|Y!J|Domain Re-Animator Bot|AddThis|Screaming Frog SEO Spider|MetaURI|Scrapy|Livelap[bB]ot|OpenHoseBot|CapsuleChecker|collection@infegy\.com|IstellaBot|DeuSu\/|betaBot|Cliqzbot\/|MojeekBot\/|netEstate NE Crawler|SafeSearch microdata crawler|Gluten Free Crawler\/|Sonic|Sysomos|Trove|deadlinkchecker|Slack-ImgProxy|Embedly|RankActiveLinkBot|iskanie|SafeDNSBot|SkypeUriPreview|Veoozbot|Slackbot|redditbot|datagnionbot|Google-Adwords-Instant|adbeat_bot|WhatsApp|contxbot|pinterest\.com\/bot|electricmonk|GarlikCrawler|BingPreview\/|vebidoobot|FemtosearchBot|Yahoo Link Preview|MetaJobBot|DomainStatsBot|mindUpBot|Daum\/|Jugendschutzprogramm-Crawler|Xenu Link Sleuth|Pcore-HTTP|moatbot|KosmioBot|[pP]ingdom|AppInsights|PhantomJS|Gowikibot|PiplBot|Discordbot|TelegramBot|Jetslide|newsharecounts|James BOT|Bark[rR]owler|TinEye|SocialRankIOBot|trendictionbot|Ocarinabot|epicbot|Primalbot|DuckDuckGo-Favicons-Bot|GnowitNewsbot|Leikibot|LinkArchiver|YaK\/|PaperLiBot|Digg Deeper|dcrawl|Snacktory|AndersPinkBot|Fyrebot|EveryoneSocialBot|Mediatoolkitbot|Luminator-robots|ExtLinksBot|SurveyBot|NING\/|okhttp|Nuzzel|omgili|PocketParser|YisouSpider|um-LN|ToutiaoSpider|MuckRack|Jamie's Spider|AHC\/|NetcraftSurveyAgent|Laserlikebot|^Apache-HttpClient|AppEngine-Google|Jetty|Upflow|Thinklab|Traackr\.com|Twurly|Mastodon|http_get|DnyzBot|botify|007ac9 Crawler|BehloolBot|BrandVerity|check_http|BDCbot|ZumBot|EZID|ICC-Crawler|ArchiveBot|^LCC |filterdb\.iss\.net\/crawler|BLP_bbot|BomboraBot|Buck\/|Companybook-Crawler|Genieo|magpie-crawler|MeltwaterNews|Moreover|newspaper\/|ScoutJet|(^| )sentry\/|StorygizeBot|UptimeRobot|OutclicksBot|seoscanners|Hatena|Google Web Preview|MauiBot|AlphaBot|SBL-BOT|IAS crawler|adscanner|Netvibes|acapbot|Baidu-YunGuanCe|bitlybot|blogmuraBot|Bot\.AraTurka\.com|bot-pge\.chlooe\.com|BoxcarBot|BTWebClient|ContextAd Bot|Digincore bot|Disqus|Feedly|Fetch\/|Fever|Flamingo_SearchEngine|FlipboardProxy|g2reader-bot|G2 Web Services|imrbot|K7MLWCBot|Kemvibot|Landau-Media-Spider|linkapediabot|vkShare|Siteimprove\.com|BLEXBot\/|DareBoost|ZuperlistBot\/|Miniflux\/|Feedspot|Diffbot\/|SEOkicks|tracemyfile|Nimbostratus-Bot|zgrab|PR-CY\.RU|AdsTxtCrawler|Datafeedwatch|Zabbix|TangibleeBot|google-xrawler|axios|Amazon CloudFront|Pulsepoint|CloudFlare-AlwaysOnline|Google-Structured-Data-Testing-Tool|WordupInfoSearch|WebDataStats|HttpUrlConnection|ZoomBot|VelenPublicWebCrawler|MoodleBot|jpg-newsbot|outbrain|W3C_Validator|Validator\.nu|W3C-checklink|W3C-mobileOK|W3C_I18n-Checker|FeedValidator|W3C_CSS_Validator|W3C_Unicorn|Google-PhysicalWeb|Blackboard|ICBot\/|BazQux|Twingly|Rivva|Experibot|awesomecrawler|Dataprovider\.com|GroupHigh\/|theoldreader\.com|AnyEvent|Uptimebot\.org|Nmap Scripting Engine|2ip\.ru|Clickagy|Caliperbot|MBCrawler|online-webceo-bot|B2B Bot|AddSearchBot|Google Favicon|HubSpot|Chrome-Lighthouse|HeadlessChrome|CheckMarkNetwork\/|www\.uptime\.com|Streamline3Bot\/|serpstatbot\/|MixnodeCache\/|^curl|SimpleScraper|RSSingBot|Jooblebot|fedoraplanet|Friendica|NextCloud|Tiny Tiny RSS|RegionStuttgartBot|Bytespider|Datanyze|Google-Site-Verification|TrendsmapResolver|tweetedtimes|NTENTbot|Gwene|SimplePie|SearchAtlas|Superfeedr|feedbot|UT-Dorkbot|Amazonbot|SerendeputyBot|Eyeotabot|officestorebot|Neticle Crawler|SurdotlyBot|LinkisBot|AwarioSmartBot|AwarioRssBot|RyteBot|FreeWebMonitoring SiteChecker|AspiegelBot|NAVER Blog Rssbot|zenback bot|SentiBot|Domains Project\/|Pandalytics|VKRobot|bidswitchbot|tigerbot|NIXStatsbot|Atom Feed Robot|[Cc]urebot|PagePeeker\/|Vigil\/|rssbot\/|startmebot\/|JobboerseBot|seewithkids|NINJA bot|Cutbot|BublupBot|BrandONbot|RidderBot|Taboolabot|Dubbotbot|FindITAnswersbot|infoobot|Refindbot|BlogTraffic\/\d\.\d+ Feed-Fetcher|SeobilityBot|Cincraw|Dragonbot|VoluumDSP-content-bot|FreshRSS|BitBot|^PHP-Curl-Class|Google-Certificates-Bridge|centurybot|Viber|e\.ventures Investment Crawler|evc-batch|PetalBot|virustotal|(^| )PTST\/|minicrawler|Cookiebot|trovitBot|seostar\.co|IonCrawl|Uptime-Kuma|Seekport|FreshpingBot|Feedbin|CriteoBot|Snap URL Preview Service|Better Uptime Bot|RuxitSynthetic|Google-Read-Aloud|Valve\/Steam|OdklBot\/|GPTBot|ChatGPT-User|YandexRenderResourcesBot\/|LightspeedSystemsCrawler|ev-crawler\/|BitSightBot\/|woorankreview\/|Google-Safety|AwarioBot|DataForSeoBot|Linespider|WellKnownBot|A Patent Crawler|StractBot|search\.marginalia\.nu|YouBot|Nicecrawler|Neevabot|BrightEdge Crawler|SiteCheckerBotCrawler|TombaPublicWebCrawler|CrawlyProjectCrawler|KomodiaBot|KStandBot|CISPA Webcrawler|MTRobot|hyscore\.io|AlexandriaOrgBot|2ip bot|Yellowbrandprotectionbot|SEOlizer|vuhuvBot|INETDEX-BOT|Synapse|t3versionsBot|deepnoc|Cocolyzebot|hypestat|ReverseEngineeringBot|sempi\.tech|Iframely|MetaInspector|node-fetch|lkxscan|python-opengraph|OpenGraphCheck|developers\.google\.com\/\+\/web\/snippet|SenutoBot|MaCoCu|NewsBlur|inoreader|NetSystemsResearch|PageThing|WordPress\/|PhxBot|ImagesiftBot|Expanse|InternetMeasurement|^BW\/|GeedoBot|Audisto Crawler|PerplexityBot\/|[cC]laude[bB]ot|Monsidobot|GroupMeBot|Vercelbot|vercel-screenshot/),lD=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,uD=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,cD=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,fD=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function dD(e){return lD.test(e)||uD.test(e.slice(0,4))}function pD(e){return cD.test(e)||fD.test(e.slice(0,4))}function hD(e){return/iPad|iPhone|iPod/.test(e)}function gD(e){return/android/i.test(e)}function mD(e){return/Windows/.test(e)}function yD(e){return/Mac OS X/.test(e)}const _D=[{name:"Samsung",regex:/SamsungBrowser/i},{name:"Edge",regex:/edg(?:[ea]|ios)?\//i},{name:"Firefox",regex:/firefox|iceweasel|fxios/i},{name:"Chrome",regex:/chrome|crios|crmo/i},{name:"Safari",regex:/safari|applewebkit/i}];function vD(e){for(const t of _D)if(t.regex.test(e))return t.name;return""}function yy(e,t={}){let n=!1,r=!1,o=!1,i=!1;if(e==="Amazon CloudFront")t["cloudfront-is-mobile-viewer"]==="true"&&(n=!0,r=!0),t["cloudfront-is-tablet-viewer"]==="true"&&(n=!1,r=!0),t["cloudfront-is-desktop-viewer"]==="true"&&(n=!1,r=!1),t["cloudfront-is-ios-viewer"]==="true"&&(o=!0),t["cloudfront-is-android-viewer"]==="true"&&(i=!0);else if(t&&t["cf-device-type"])switch(t["cf-device-type"]){case"mobile":n=!0,r=!0;break;case"tablet":n=!1,r=!0;break;case"desktop":n=!1,r=!1;break}else n=dD(e),r=pD(e),o=hD(e),i=gD(e);const s=mD(e),a=yD(e),l=vD(e),u=l==="Safari",c=l==="Firefox",f=l==="Edge",d=l==="Chrome",p=l==="Samsung",g=aD.test(e);return{userAgent:e,isMobile:n,isMobileOrTablet:r,isTablet:!n&&r,isDesktop:!r,isIos:o,isAndroid:i,isWindows:s,isMacOS:a,isApple:a||o,isDesktopOrTablet:!n,isSafari:u,isFirefox:c,isEdge:f,isChrome:d,isSamsung:p,isCrawler:g}}const bD=Gt(()=>{const e=Dt(),t=e.public.device.defaultUserAgent;let n;{const r=navigator.userAgent||t;n=Sn(yy(r)),e.public.device.refreshOnResize&&window.addEventListener("resize",()=>{setTimeout(()=>{const o=yy(navigator.userAgent||r);Object.entries(o).forEach(([i,s])=>{n[i]=s})},50)})}return{provide:{device:n}}}),_y=128,eE=1024,vy=1e4,tE=1e3,by=1e4,nE=128,Ey=1e3,ED={attributeStringValueLimit:eE,attributeArrayLengthLimit:tE,attributeCountLimit:nE},TD={attributeStringValueLimit:1/0,attributeArrayLengthLimit:1/0,attributeCountLimit:1/0},es=e=>e===!0||e===!1,Rr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),Br=e=>typeof e=="number"&&Number.isFinite(e)&&!Number.isNaN(e),Uc=e=>typeof e=="string",fs=e=>Uc(e)&&e.length>0,wD=e=>Rr(e)&&typeof e.debug=="function"&&typeof e.info=="function"&&typeof e.warn=="function"&&typeof e.error=="function",SD=e=>Array.isArray(e)&&e.every(fs),AD=e=>Array.isArray(e)&&e.every(t=>fs(t)||t instanceof RegExp);function RD(e){return Rr(e)&&Br(e.value)&&Br(e.time)}const ID=e=>Rr(e)&&typeof e.id=="string"&&typeof e.traceId=="string"&&typeof e.isValid=="function",OD=e=>Rr(e)&&typeof e.id=="string"&&typeof e.traceId=="string";function xD(e){return Br(e)||e instanceof Date}function CD(e){return Rr(e)&&typeof e.configure=="function"}function ND(e){return Array.isArray(e)&&e.every(t=>CD(t))}function LD(e){return Array.isArray(e)&&e.every(t=>typeof t=="function")}function kD(e,t){const n=e.length,r=e.slice(0,t),o=r.length;return`${r} *** ${n-o} CHARS TRUNCATED`}class rE{get droppedAttributesCount(){return this._droppedAttributesCount}constructor(t,n,r,o){this._droppedAttributesCount=0,this.attributes=t,this.spanAttributeLimits=n,this.spanName=r,this.logger=o}validateAttribute(t,n){if(typeof n=="string"&&n.length>this.spanAttributeLimits.attributeStringValueLimit&&(this.attributes.set(t,kD(n,this.spanAttributeLimits.attributeStringValueLimit)),this.logger.warn(`Span attribute ${t} in span ${this.spanName} was truncated as the string exceeds the ${this.spanAttributeLimits.attributeStringValueLimit} character limit set by attributeStringValueLimit.`)),Array.isArray(n)&&n.length>this.spanAttributeLimits.attributeArrayLengthLimit){const r=n.slice(0,this.spanAttributeLimits.attributeArrayLengthLimit);this.attributes.set(t,r),this.logger.warn(`Span attribute ${t} in span ${this.spanName} was truncated as the array exceeds the ${this.spanAttributeLimits.attributeArrayLengthLimit} element limit set by attributeArrayLengthLimit.`)}}set(t,n){typeof t=="string"&&(typeof n=="string"||typeof n=="boolean"||Br(n)||Array.isArray(n))&&this.attributes.set(t,n)}setCustom(t,n){if(typeof t=="string"&&(typeof n=="string"||typeof n=="boolean"||Br(n)||Array.isArray(n))){if(!this.attributes.has(t)&&this.attributes.size>=this.spanAttributeLimits.attributeCountLimit){this._droppedAttributesCount++,this.logger.warn(`Span attribute ${t} in span ${this.spanName} was dropped as the number of attributes exceeds the ${this.spanAttributeLimits.attributeCountLimit} attribute limit set by attributeCountLimit.`);return}if(t.length>_y){this._droppedAttributesCount++,this.logger.warn(`Span attribute ${t} in span ${this.spanName} was dropped as the key length exceeds the ${_y} character fixed limit.`);return}this.attributes.set(t,n)}}remove(t){this.attributes.delete(t)}toJson(){return Array.from(this.attributes).forEach(([t,n])=>{this.validateAttribute(t,n)}),Array.from(this.attributes).map(([t,n])=>FD(t,n))}toObject(){return Object.fromEntries(this.attributes)}}class PD extends rE{constructor(t,n,r,o,i,s){const a=new Map([["deployment.environment",t],["telemetry.sdk.name",o],["telemetry.sdk.version",i],["service.name",r]]);n.length>0&&a.set("service.version",n),super(a,TD,"resource-attributes",s)}}function DD(e){switch(typeof e){case"number":return Number.isNaN(e)||!Number.isFinite(e)?void 0:Number.isInteger(e)?{intValue:`${e}`}:{doubleValue:e};case"boolean":return{boolValue:e};case"string":return{stringValue:e}}}function MD(e){return e.map(t=>DD(t)).filter(t=>typeof t<"u")}function FD(e,t){switch(typeof t){case"number":return Number.isNaN(t)||!Number.isFinite(t)?void 0:e!=="bugsnag.sampling.p"&&Number.isInteger(t)?{key:e,value:{intValue:`${t}`}}:{key:e,value:{doubleValue:t}};case"boolean":return{key:e,value:{boolValue:t}};case"string":return{key:e,value:{stringValue:t}};case"object":if(Array.isArray(t)){const n=MD(t);return{key:e,value:{arrayValue:n.length>0?{values:n}:{}}}}return;default:return}}const UD=1e6;function oE(e){return Math.round(e*UD)}const Xd={appVersion:{defaultValue:"",message:"should be a string",validate:fs},endpoint:{defaultValue:"https://otlp.bugsnag.com/v1/traces",message:"should be a string",validate:fs},apiKey:{defaultValue:"",message:"should be a 32 character hexadecimal string",validate:e=>Uc(e)&&/^[a-f0-9]{32}$/.test(e)},logger:{defaultValue:{debug(e){console.debug(e)},info(e){console.info(e)},warn(e){console.warn(e)},error(e){console.error(e)}},message:"should be a Logger object",validate:wD},releaseStage:{defaultValue:"production",message:"should be a string",validate:fs},enabledReleaseStages:{defaultValue:null,message:"should be an array of strings",validate:e=>e===null||SD(e)},plugins:{defaultValue:[],message:"should be an array of plugin objects",validate:ND},bugsnag:{defaultValue:void 0,message:"should be an instance of Bugsnag",validate:e=>Rr(e)&&typeof e.addOnError=="function"},samplingProbability:{defaultValue:void 0,message:"should be a number between 0 and 1",validate:e=>e===void 0||Br(e)&&e>=0&&e<=1},onSpanEnd:{defaultValue:void 0,message:"should be an array of functions",validate:LD},attributeStringValueLimit:{defaultValue:eE,message:`should be a number between 1 and ${vy}`,validate:e=>Br(e)&&e>0&&e<=vy},attributeArrayLengthLimit:{defaultValue:tE,message:`should be a number between 1 and ${by}`,validate:e=>Br(e)&&e>0&&e<=by},attributeCountLimit:{defaultValue:nE,message:`should be a number between 1 and ${Ey}`,validate:e=>Br(e)&&e>0&&e<=Ey}};function jD(e,t){if(typeof e=="string"&&(e={apiKey:e}),!Rr(e)||!Uc(e.apiKey)||e.apiKey.length===0)throw new Error("No Bugsnag API Key set");let n="";const r={};for(const o of Object.keys(t))Object.prototype.hasOwnProperty.call(e,o)?t[o].validate(e[o])?r[o]=e[o]:(n+=` - ${o} ${t[o].message}, got ${typeof e[o]}`,r[o]=t[o].defaultValue):r[o]=t[o].defaultValue;return r.apiKey=e.apiKey,r.maximumBatchSize=e.maximumBatchSize||100,r.batchInactivityTimeoutMs=e.batchInactivityTimeoutMs||30*1e3,n.length>0&&r.logger.warn(`Invalid configuration${n}`),r}class VD{constructor(){this.events=[]}add(t,n){this.events.push({name:t,time:n})}toJson(t){return this.events.map(({name:n,time:r})=>({name:n,timeUnixNano:t.toUnixTimestampNanoseconds(r)}))}}function iE(e){let t=0;for(let n=0;n>>0}return t}const $D=60*60*1e3;function BD(e,t){return{name:e.name,kind:e.kind,spanId:e.id,traceId:e.traceId,parentSpanId:e.parentSpanId,...e.attributes.droppedAttributesCount>0?{droppedAttributesCount:e.attributes.droppedAttributesCount}:{},startTimeUnixNano:t.toUnixTimestampNanoseconds(e.startTime),endTimeUnixNano:t.toUnixTimestampNanoseconds(e.endTime),attributes:e.attributes.toJson(),events:e.events.toJson(t)}}function HD(e){return{get id(){return e.id},get traceId(){return e.traceId},get samplingRate(){return e.samplingRate},get name(){return e.name},isValid:()=>!1,end:()=>{},setAttribute:(t,n)=>{e.attributes.setCustom(t,n)}}}async function zD(e,t,n){if(!n)return!0;const r=HD(e),o=performance.now();let i=!0;for(const s of n)try{let a=s(r);if(typeof a.then=="function"&&(a=await a),a===!1){i=!1;break}}catch(a){t.error("Error in onSpanEnd callback: "+a)}if(i){const s=oE(performance.now()-o);r.setAttribute("bugsnag.span.callbacks_duration",s)}return i}class GD{constructor(t,n,r,o,i,s,a){this.kind=3,this.events=new VD,this.id=t,this.traceId=n,this.parentSpanId=a,this.name=r,this.startTime=o,this.attributes=i,this.samplingRate=iE(this.traceId),this.clock=s}addEvent(t,n){this.events.add(t,n)}setAttribute(t,n){this.attributes.set(t,n)}setCustomAttribute(t,n){this.attributes.setCustom(t,n)}end(t,n){this.endTime=t;let r=n;return this.attributes.set("bugsnag.sampling.p",r.raw),{id:this.id,name:this.name,kind:this.kind,traceId:this.traceId,startTime:this.startTime,attributes:this.attributes,events:this.events,samplingRate:this.samplingRate,endTime:t,get samplingProbability(){return r},set samplingProbability(o){r=o,this.attributes.set("bugsnag.sampling.p",r.raw)},parentSpanId:this.parentSpanId}}isValid(){return this.endTime===void 0&&this.startTime>this.clock.now()-$D}}const sE={startTime:{message:"should be a number or Date",getDefaultValue:()=>{},validate:xD},parentContext:{message:"should be a SpanContext",getDefaultValue:()=>{},validate:e=>e===null||ID(e)},makeCurrentContext:{message:"should be true|false",getDefaultValue:()=>{},validate:es},isFirstClass:{message:"should be true|false",getDefaultValue:()=>{},validate:es}};class KD{constructor(t,n,r,o,i,s){this.spans=[],this.timeout=null,this.flushQueue=Promise.resolve(),this.delivery=t,this.configuration=n,this.retryQueue=r,this.sampler=o,this.probabilityManager=i,this.encoder=s,this.flush=this.flush.bind(this)}stop(){this.timeout!==null&&(clearTimeout(this.timeout),this.timeout=null)}start(){this.stop(),this.timeout=setTimeout(this.flush,this.configuration.batchInactivityTimeoutMs)}add(t){this.configuration.enabledReleaseStages&&!this.configuration.enabledReleaseStages.includes(this.configuration.releaseStage)||(this.spans.push(t),this.spans.length>=this.configuration.maximumBatchSize?this.flush():this.start())}async flush(){this.stop(),this.flushQueue=this.flushQueue.then(async()=>{const t=await this.prepareBatch();if(!t)return;const n=await this.encoder.encode(t),r=Date.now();try{const o=await this.delivery.send(n);switch(o.samplingProbability!==void 0&&this.probabilityManager.setProbability(o.samplingProbability),o.state){case"success":this.retryQueue.flush();break;case"failure-discard":this.configuration.logger.warn("delivery failed");break;case"failure-retryable":this.configuration.logger.info("delivery failed, adding to retry queue"),this.retryQueue.add(n,r);break;default:o.state}}catch{this.configuration.logger.warn("delivery failed")}}),await this.flushQueue}async prepareBatch(){if(this.spans.length===0)return;await this.probabilityManager.ensureFreshProbability();const t=[],n=this.sampler.spanProbability;for(const r of this.spans)r.samplingProbability.raw>n.raw&&(r.samplingProbability=n),this.sampler.sample(r)&&await zD(r,this.configuration.logger,this.configuration.onSpanEnd)&&t.push(r);if(this.spans=[],t.length!==0)return t}}class qD{constructor(t,n,r){this.clock=t,this.configuration=n,this.resourceAttributeSource=r}async encode(t){const n=await this.resourceAttributeSource(this.configuration),r=Array(t.length);for(let i=0;i=200&&e<300?"success":e>=400&&e<500&&!WD.has(e)?"failure-discard":"failure-retryable"}class Sh{static async create(t,n){return t.probability=n,new Sh(t,n)}constructor(t,n){this.sampler=t,this.samplingProbability=n}setProbability(t){return Promise.resolve()}ensureFreshProbability(){return Promise.resolve()}}const XD=30*1e3;class JD{constructor(t,n){this.delivery=t,this.payload={body:{resourceSpans:[]},headers:{"Bugsnag-Api-Key":n,"Content-Type":"application/json","Bugsnag-Span-Sampling":"1.0:0"}}}async getNewProbability(){for(;;){const t=await this.delivery.send(this.payload);if(t.samplingProbability!==void 0)return t.samplingProbability;await this.timeBetweenRetries()}}timeBetweenRetries(){return new Promise(t=>{setTimeout(t,XD)})}}const Ty=24*60*60*1e3;class Ah{static async create(t,n,r){const o=await t.load("bugsnag-sampling-probability");let i;return o===void 0?(n.probability=1,i=0):(o.time=Ty?(this.outstandingFreshnessCheck=this.probabilityFetcher.getNewProbability().then(t=>{this.setProbability(t),this.outstandingFreshnessCheck=void 0}),this.outstandingFreshnessCheck):Promise.resolve()}}class QD{constructor(){this.spans=[]}add(t){this.spans.push(t)}}function wy(e){return Math.floor(e*4294967295)}class ZD{constructor(t){this._probability=t,this.scaledProbability=wy(t)}get probability(){return this._probability}set probability(t){this._probability=t,this.scaledProbability=wy(t)}get spanProbability(){return{raw:this._probability,scaled:this.scaledProbability}}sample(t){return t.samplingRate<=t.samplingProbability.scaled}shouldSample(t){return t<=this.spanProbability.scaled}}function eM(e,t){return e===t?!0:e!==void 0&&t!==void 0?e.id===t.id&&e.traceId===t.traceId:!1}class tM{constructor(t,n=[]){this.isInForeground=!0,this.onBackgroundStateChange=r=>{this.isInForeground=r==="in-foreground",this.contextStack.length=0},this.contextStack=n,t.onStateChange(this.onBackgroundStateChange)}*[Symbol.iterator](){for(let t=this.contextStack.length-1;t>=0;--t)yield this.contextStack[t]}push(t){t.isValid()&&this.isInForeground&&this.contextStack.push(t)}pop(t){eM(t,this.current)&&this.contextStack.pop(),this.removeClosedContexts()}get first(){return this.removeClosedContexts(),this.contextStack.length>0?this.contextStack[0]:void 0}get current(){return this.removeClosedContexts(),this.contextStack.length>0?this.contextStack[this.contextStack.length-1]:void 0}removeClosedContexts(){for(;this.contextStack.length>0&&this.contextStack[this.contextStack.length-1].isValid()===!1;)this.contextStack.pop()}}function Jd(e,t){return Br(t)?t:t instanceof Date?e.convert(t):e.now()}const Sy=-1;class nM{constructor(t,n,r,o,i,s,a,l){this.spanAttributeLimits=ED,this.openSpans=new WeakSet,this.isInForeground=!0,this.onBackgroundStateChange=u=>{this.isInForeground=u==="in-foreground",this.openSpans=new WeakSet},this.processor=t,this.sampler=n,this.idGenerator=r,this.spanAttributesSource=o,this.clock=i,this.logger=a,this.spanContextStorage=l,s.onStateChange(this.onBackgroundStateChange)}startSpan(t,n){n.parentContext=OD(n.parentContext)||n.parentContext===null?n.parentContext:this.spanContextStorage.current;const r=new rE(new Map,this.spanAttributeLimits,t,this.logger);typeof n.isFirstClass=="boolean"&&r.set("bugsnag.span.first_class",n.isFirstClass);const o=this.createSpanInternal(t,n,r);return this.isInForeground&&(this.openSpans.add(o),n.makeCurrentContext!==!1&&this.spanContextStorage.push(o)),o}createSpanInternal(t,n,r){const o=Jd(this.clock,n.startTime),i=this.idGenerator.generate(64),s=n.parentContext?n.parentContext.id:void 0,a=n.parentContext?n.parentContext.traceId:this.idGenerator.generate(128);return new GD(i,a,t,o,r,this.clock,s)}startNetworkSpan(t){const n=`[HTTP/${t.method.toUpperCase()}]`,r=this.validateSpanOptions(n,t),o=this.startSpan(r.name,{...r.options,makeCurrentContext:!1});return o.setAttribute("bugsnag.span.category","network"),o.setAttribute("http.method",t.method),o.setAttribute("http.url",t.url),o}configure(t){this.logger=t.logger,this.spanAttributeLimits={attributeArrayLengthLimit:t.attributeArrayLengthLimit,attributeCountLimit:t.attributeCountLimit,attributeStringValueLimit:t.attributeStringValueLimit},this.onSpanEndCallbacks=t.onSpanEnd}reprocessEarlySpans(t){for(const n of this.processor.spans)t.add(n);this.processor=t}endSpan(t,n,r){this.spanContextStorage.pop(t);const o=!this.openSpans.delete(t),i=t.isValid();if(o&&!i&&this.logger.warn("Attempted to end a Span which is no longer valid."),o||!i||n===Sy){this.discardSpan(t);return}for(const[s,a]of Object.entries(r||{}))t.setAttribute(s,a);this.spanAttributesSource.requestAttributes(t),this.sendForProcessing(t,n)}discardSpan(t){t.end(Sy,this.sampler.spanProbability)}sendForProcessing(t,n){const r=t.end(n,this.sampler.spanProbability);this.sampler.sample(r)&&this.processor.add(r)}toPublicApi(t){return{get id(){return t.id},get traceId(){return t.traceId},get samplingRate(){return t.samplingRate},get name(){return t.name},isValid:()=>t.isValid(),setAttribute:(n,r)=>{t.setCustomAttribute(n,r)},end:n=>{const r=Jd(this.clock,n);this.endSpan(t,r)}}}validateSpanOptions(t,n,r=sE){let o="";const i={};if(typeof t!="string"&&(o+=` - name should be a string, got ${typeof t}`,t=String(t)),n!==void 0&&!Rr(n))o+=` - options is not an object`;else{const s=n||{};for(const a of Object.keys(r))Object.prototype.hasOwnProperty.call(s,a)&&s[a]!==void 0?r[a].validate(s[a])?i[a]=s[a]:(o+=` - ${a} ${r[a].message}, got ${typeof s[a]}`,i[a]=r[a].getDefaultValue(s[a])):i[a]=r[a].getDefaultValue(s[a])}return o.length>0&&this.logger.warn(`Invalid span options${o}`),{name:t,options:i}}}function rM(e){const t=new QD,n=e.spanContextStorage||new tM(e.backgroundingListener);let r=e.schema.logger.defaultValue;const o=new ZD(1),i=e.spanFactory||nM,s=new i(t,o,e.idGenerator,e.spanAttributesSource,e.clock,e.backgroundingListener,r,n),a=e.plugins(s,n);return{start:l=>{const u=jD(l,e.schema);if(u.endpoint===Xd.endpoint.defaultValue&&(u.endpoint=u.endpoint.replace("https://",`https://${u.apiKey}.`)),u.bugsnag&&typeof u.bugsnag.Event.prototype.setTraceCorrelation=="function"&&u.bugsnag.Client){const d=u.bugsnag.Client.prototype._notify;u.bugsnag.Client.prototype._notify=function(...p){const g=n.current;g&&typeof p[0].setTraceCorrelation=="function"&&p[0].setTraceCorrelation(g.traceId,g.id),d.apply(this,p)}}const c=e.deliveryFactory(u.endpoint);e.spanAttributesSource.configure(u),s.configure(u),(u.samplingProbability===void 0?Ah.create(e.persistence,o,new JD(c,u.apiKey)):Sh.create(o,u.samplingProbability)).then(d=>{const p=new KD(c,u,e.retryQueueFactory(c,u.retryQueueMaxSize),o,d,new qD(e.clock,u,e.resourceAttributesSource));s.reprocessEarlySpans(p),e.backgroundingListener.onStateChange(g=>{p.flush(),g==="in-foreground"&&d.ensureFreshProbability()}),r=u.logger});for(const d of u.plugins)a.push(d);for(const d of a)d.configure(u,s)},startSpan:(l,u)=>{const c=s.validateSpanOptions(l,u),f=s.startSpan(c.name,c.options);return f.setAttribute("bugsnag.span.category","custom"),s.toPublicApi(f)},startNetworkSpan:l=>{const u=s.startNetworkSpan(l);return{...s.toPublicApi(u),end:d=>{s.endSpan(u,Jd(e.clock,d.endTime),{"http.status_code":d.status})}}},getPlugin:l=>{for(const u of a)if(u instanceof l)return u},get currentSpanContext(){return n.current},...e.platformExtensions&&e.platformExtensions(s,n)}}function oM(){const e=()=>{};return{start:e,startSpan:()=>({id:"",traceId:"",end:e,isValid:()=>!1}),currentSpanContext:void 0}}var Af,Ay;function aE(){return Ay||(Ay=1,Af=function(t,n){var r="000000000"+t;return r.substr(r.length-n)}),Af}var Rf,Ry;function iM(){if(Ry)return Rf;Ry=1;var e=aE(),t=typeof window=="object"?window:self,n=0;for(var r in t)Object.hasOwnProperty.call(t,r)&&n++;var o=navigator.mimeTypes?navigator.mimeTypes.length:0,i=e((o+navigator.userAgent.length).toString(36)+n.toString(36),4);return Rf=function(){return i},Rf}var If,Iy;function sM(){return Iy||(Iy=1,If=function(t){return typeof t=="string"&&/^c[a-z0-9]{20,32}$/.test(t)}),If}var Of,Oy;function aM(){if(Oy)return Of;Oy=1;var e=iM(),t=sM(),n=aE(),r=0,o=4,i=36,s=Math.pow(i,o);function a(){return n((Math.random()*s<<0).toString(i),o)}function l(){return r=ro+xy(i),0);for(;r>this.retryQueueMaxSize;){const o=this.payloads.shift();if(!o)break;r-=xy(o.payload)}}async flush(){if(this.payloads.length===0)return;const t=this.payloads;this.payloads=[],this.requestQueue=this.requestQueue.then(async()=>{for(const{payload:n,time:r}of t)if(!(Date.now()>=r+dM))try{const{state:o}=await this.delivery.send(n);switch(o){case"success":case"failure-discard":break;case"failure-retryable":this.add(n,r);break;default:}}catch{}}),await this.requestQueue}}function xy(e){let t=0;for(let n=0;n1))return n}function gM(e,t,n){let r=!1;return n&&n.onStateChange(o=>{r=o==="in-background"}),function(i){return{async send(s){const a=JSON.stringify(s.body);s.headers["Bugsnag-Sent-At"]=t.date().toISOString();try{const l=await e(i,{method:"POST",keepalive:r,body:a,headers:s.headers});return{state:YD(l.status),samplingProbability:hM(l.headers)}}catch{return a.length>1e6?{state:"failure-discard"}:{state:"failure-retryable"}}}}}}function uE(e){return e}function mM(e){return typeof e=="function"}let cE=class{constructor(){this.callbacks=[]}onStart(t){this.callbacks.push(t)}start(t){const n=[];for(const r of this.callbacks){const o=r(t);o&&n.push(o)}return{onRequestEnd:r=>{for(const o of n)o&&o.onRequestEnd&&o.onRequestEnd(r)},extraRequestHeaders:n.map(r=>{if(r&&r.extraRequestHeaders)return r.extraRequestHeaders}).filter(yM)}}};function yM(e){return e!==void 0}function Rh(e,t){if(e.indexOf("https://")===0||e.indexOf("http://")===0)return e;try{const n=new URL(e,t).href;return!e.endsWith("/")&&n.endsWith("/")?n.slice(0,-1):n}catch{return e}}function _M(e,t,n,r){const o=fE(t),i=o?t.url:String(t),s=!!n&&n.method||o&&t.method||"GET";return{url:Rh(i,r),method:s,startTime:e,type:"fetch"}}function fE(e){return!!e&&typeof e=="object"&&!(e instanceof URL)}function vM(e){return!!e&&typeof e=="object"&&e instanceof Headers}function bM(e,t){const n=new cE,r=e.fetch;return e.fetch=function(i,s){const a=_M(t.now(),i,s,e.document&&e.document.baseURI),{onRequestEnd:l,extraRequestHeaders:u}=n.start(a),c=EM(i,s,u);return r.call(this,c[0],c[1]).then(f=>(l({status:f.status,endTime:t.now(),state:"success"}),f)).catch(f=>{throw l({error:f,endTime:t.now(),state:"error"}),f})},n}function EM(e,t,n){if(!n)return[e,t];const r=n.reduce((o,i)=>({...o,...i}),{});return fE(e)&&(!t||!t.headers)?TM(r,e):t=wM(r,t),[e,t]}function TM(e,t){for(const[n,r]of Object.entries(e))t.headers.has(n)||t.headers.set(n,r)}function wM(e,t){if(t||(t={}),vM(t.headers)){for(const[n,r]of Object.entries(e))t.headers.has(n)||t.headers.set(n,r);return t}else return{...t,headers:{...e,...t.headers}}}function SM(e,t,n){const r=new cE,o=new WeakMap,i=new WeakMap,s=e.prototype.open;e.prototype.open=function(u,c,...f){o.set(this,{method:u,url:Rh(String(c),n&&n.baseURI)}),s.call(this,u,c,...f)};const a=e.prototype.send;return e.prototype.send=function(u){const c=o.get(this);if(c){const f=i.get(this);f&&this.removeEventListener("readystatechange",f);const{onRequestEnd:d,extraRequestHeaders:p}=r.start({type:"xmlhttprequest",method:c.method,url:c.url,startTime:t.now()});if(p)for(const h of p)for(const[_,m]of Object.entries(h))this.setRequestHeader(_,m);const g=h=>{if(this.readyState===e.DONE&&d){const _=this.status>0?{endTime:t.now(),status:this.status,state:"success"}:{endTime:t.now(),state:"error"};d(_)}};this.addEventListener("readystatechange",g),i.set(this,g)}a.call(this,u)},r}const Ih={referrer:!0,title:!0,url:!0};function dE(e){return{...Ih,...e}}function AM(e){const t=["undefined","boolean"],n=Object.keys(Ih);return Rr(e)&&n.every(r=>t.includes(typeof e[r]))}function RM(e,t){return e===void 0||t===void 0||e===0&&t===0}const IM=(e,t,n,r)=>{function o(a,l,u){if(RM(l,u))return;const c=e.startSpan(`[PageLoadPhase/${a}]${n}`,{startTime:l,parentContext:r,makeCurrentContext:!1});c.setAttribute("bugsnag.span.category","page_load_phase"),c.setAttribute("bugsnag.phase",a),e.endSpan(c,u)}const i=t.getEntriesByType("navigation"),s=Array.isArray(i)&&i[0];if(s){o("Unload",s.unloadEventStart,s.unloadEventEnd),o("Redirect",s.redirectStart,s.redirectEnd),o("LoadFromCache",s.fetchStart,s.domainLookupStart),o("DNSLookup",s.domainLookupStart,s.domainLookupEnd);const a=s.secureConnectionStart||s.connectEnd;o("TCPHandshake",s.connectStart,a),o("TLS",s.secureConnectionStart,s.connectEnd),o("HTTPRequest",s.requestStart,s.responseStart),o("HTTPResponse",s.responseStart,s.responseEnd),o("DomContentLoadedEvent",s.domContentLoadedEventStart,s.domContentLoadedEventEnd),o("LoadEvent",s.loadEventStart,s.loadEventEnd)}},ds=e=>e.pathname||"/",OM=()=>class{constructor(t=ds){this.resolveRoute=t}listenForRouteChanges(t){}},xM=(e,t)=>class{constructor(r=ds){this.resolveRoute=r}listenForRouteChanges(r){addEventListener("popstate",i=>{const s=new URL(t.href),a=r(s,"popstate");e(l=>{a.end(l)})});const o=history.pushState;history.pushState=function(...i){const s=i[2];if(s){const a=new URL(Rh(s.toString(),document.baseURI)),l=r(a,"pushState");e(u=>{l.end(u)})}o.apply(this,i)}}};class CM{constructor(t,n,r,o,i,s,a){this.wasBackgrounded=!1,this.document=t,this.location=n,this.spanFactory=r,this.webVitals=o,this.onSettle=i,this.performance=a,s.onStateChange(l=>{!this.wasBackgrounded&&l==="in-background"&&(this.wasBackgrounded=!0)})}configure(t){if(!t.autoInstrumentFullPageLoads||this.wasBackgrounded)return;let n=null;const r=document.querySelector('meta[name="traceparent"]');if(r!==null&&r.getAttribute("content")){const a=r.getAttribute("content"),[,l,u]=a.split("-");n={traceId:l,id:u}}const o=this.spanFactory.startSpan("[FullPageLoad]",{startTime:0,parentContext:n}),i=dE(t.sendPageAttributes),s=new URL(this.location.href);this.onSettle(a=>{if(this.wasBackgrounded)return;const l=t.routingProvider.resolveRoute(s)||ds(s);o.name+=l,IM(this.spanFactory,this.performance,l,o),o.setAttribute("bugsnag.span.category","full_page_load"),o.setAttribute("bugsnag.browser.page.route",l),i.referrer&&o.setAttribute("bugsnag.browser.page.referrer",this.document.referrer),i.title&&o.setAttribute("bugsnag.browser.page.title",this.document.title),i.url&&o.setAttribute("bugsnag.browser.page.url",s.toString()),this.webVitals.attachTo(o),this.spanFactory.endSpan(o,a)})}}const NM=["http://","https://","/","./","../"];class LM{constructor(t,n,r,o){this.spanFactory=t,this.spanContextStorage=n,this.fetchTracker=r,this.xhrTracker=o,this.configEndpoint="",this.networkRequestCallback=uE,this.logger={debug:console.debug,warn:console.warn,info:console.info,error:console.error},this.trackRequest=i=>{if(!this.shouldTrackRequest(i))return;const s=!1,a={url:i.url,type:i.type,propagateTraceContext:s},l=this.networkRequestCallback(a);if(!l)return{onRequestEnd:void 0,extraRequestHeaders:void 0};if(l.propagateTraceContext===void 0&&(l.propagateTraceContext=s),!l.url)return{onRequestEnd:void 0,extraRequestHeaders:l.propagateTraceContext?this.getExtraRequestHeaders():void 0};if(typeof l.url!="string"){this.logger.warn(`expected url to be a string following network request callback, got ${typeof l.url}`);return}const u=this.spanFactory.startNetworkSpan({method:i.method,startTime:i.startTime,url:l.url});return{onRequestEnd:c=>{c.state==="success"&&this.spanFactory.endSpan(u,c.endTime,{"http.status_code":c.status})},extraRequestHeaders:l.propagateTraceContext?this.getExtraRequestHeaders(u):void 0}}}configure(t){this.logger=t.logger,t.autoInstrumentNetworkRequests&&(this.configEndpoint=t.endpoint,this.xhrTracker.onStart(this.trackRequest),this.fetchTracker.onStart(this.trackRequest),this.networkRequestCallback=t.networkRequestCallback)}shouldTrackRequest(t){return t.url!==this.configEndpoint&&NM.some(n=>t.url.startsWith(n))}getExtraRequestHeaders(t){const n={};if(t){const r=t.traceId,o=t.id,i=this.spanFactory.sampler.shouldSample(t.samplingRate);n.traceparent=Cy(r,o,i),n.tracestate=Ny(r)}else if(this.spanContextStorage.current){const r=this.spanContextStorage.current,o=r.traceId,i=r.id,s=this.spanFactory.sampler.shouldSample(r.samplingRate);n.traceparent=Cy(o,i,s),n.tracestate=Ny(o)}return n}}function Cy(e,t,n){return`00-${e}-${t}-${n?"01":"00"}`}function Ny(e){return`sb=v:1;r32:${iE(e)}`}function kM(e){switch(e){case"":return;case"http/1.0":return"1.0";case"http/1.1":return"1.1";case"h2":case"h2c":return"2.0";case"h3":return"3.0";case"spdy/1":case"spdy/2":case"spdy/3":return"SPDY";default:return e}}function PM(e){return e&&Array.isArray(e.supportedEntryTypes)&&e.supportedEntryTypes.includes("resource")}class DM{constructor(t,n,r){this.spanFactory=t,this.spanContextStorage=n,this.PerformanceObserverClass=r}configure(t){if(!PM(this.PerformanceObserverClass))return;const n=new this.PerformanceObserverClass(r=>{const o=r.getEntries();for(const i of o){if(i.initiatorType==="fetch"||i.initiatorType==="xmlhttprequest")continue;const s=this.spanContextStorage.first;if(s){const a=t.networkRequestCallback({url:i.name,type:i.initiatorType});if(!a)return;if(typeof a.url!="string"){t.logger.warn(`expected url to be a string following network request callback, got ${typeof a.url}`);return}let l="";try{const f=new URL(a.url);f.search="",l=f.href}catch{t.logger.warn(`Unable to parse URL returned from networkRequestCallback: ${a.url}`);return}const u=this.spanFactory.startSpan(`[ResourceLoad]${l}`,{parentContext:s,startTime:i.startTime,makeCurrentContext:!1});u.setAttribute("bugsnag.span.category","resource_load"),u.setAttribute("http.url",a.url);const c=kM(i.nextHopProtocol);c&&u.setAttribute("http.flavor",c),i.encodedBodySize&&i.decodedBodySize&&(u.setAttribute("http.response_content_length",i.encodedBodySize),u.setAttribute("http.response_content_length_uncompressed",i.decodedBodySize)),i.responseStatus&&u.setAttribute("http.status_code",i.responseStatus),this.spanFactory.endSpan(u,i.responseEnd)}}});try{n.observe({type:"resource",buffered:!0})}catch{t.logger.warn("Unable to get previous resource loads as buffered observer not supported, only showing resource loads from this point on"),n.observe({entryTypes:["resource"]})}}}const{startTime:MM,parentContext:FM,makeCurrentContext:UM}=sE,jM={startTime:MM,parentContext:FM,makeCurrentContext:UM,trigger:{getDefaultValue:e=>String(e),message:"should be a string",validate:Uc}};class VM{constructor(t,n,r){this.spanFactory=t,this.location=n,this.document=r}configure(t){if(!t.autoInstrumentRouteChanges)return;const n=new URL(this.location.href);let r=t.routingProvider.resolveRoute(n)||ds(n);const o=dE(t.sendPageAttributes);t.routingProvider.listenForRouteChanges((i,s,a)=>{let l;if(i instanceof URL)l=i;else try{const p=String(i);l=new URL(p)}catch{return t.logger.warn(`Invalid span options - url should be a URL`),{id:"",name:"",traceId:"",samplingRate:0,isValid:()=>!1,setAttribute:()=>{},end:()=>{}}}const u={...a,trigger:s},c=this.spanFactory.validateSpanOptions("[RouteChange]",u,jM),f=t.routingProvider.resolveRoute(l)||ds(l);c.name+=f;const d=this.spanFactory.startSpan(c.name,c.options);return d.setAttribute("bugsnag.span.category","route_change"),d.setAttribute("bugsnag.browser.page.route",f),d.setAttribute("bugsnag.browser.page.previous_route",r),d.setAttribute("bugsnag.browser.page.route_change.trigger",c.options.trigger),o.url&&d.setAttribute("bugsnag.browser.page.url",i.toString()),r=f,{get id(){return d.id},get traceId(){return d.traceId},get samplingRate(){return d.samplingRate},get name(){return d.name},isValid:d.isValid,setAttribute:d.setAttribute,end:p=>{const g=Rr(p)?p:{endTime:p};if(o.title&&d.setAttribute("bugsnag.browser.page.title",this.document.title),g.url){const h=$M(g.url),_=t.routingProvider.resolveRoute(h)||ds(h);d.name=`[RouteChange]${_}`,d.setAttribute("bugsnag.browser.page.route",_),r=_,o.url&&d.setAttribute("bugsnag.browser.page.url",h.toString())}this.spanFactory.toPublicApi(d).end(g.endTime)}}})}}function $M(e){return typeof e=="string"?new URL(e):e}function BM(e){const t=[];let n=e.document.visibilityState==="hidden"?"in-background":"in-foreground";const r={onStateChange(i){t.push(i),n==="in-background"&&i(n)}},o=i=>{if(n!==i){n=i;for(const s of t)s(n)}};return e.document.addEventListener("visibilitychange",function(){const i=e.document.visibilityState==="hidden"?"in-background":"in-foreground";o(i)}),e.addEventListener("pagehide",function(){o("in-background")}),e.addEventListener("pageshow",function(){o("in-foreground")}),r}const HM=3e5;function Ly(e,t){return Math.abs(Date.now()-(e+t.now()))>HM?Date.now()-t.now():e}function zM(e,t){const n=e.timeOrigin===void 0?e.timing.navigationStart:e.timeOrigin;let r=Ly(n,e);return t.onStateChange(o=>{o==="in-foreground"&&(r=Ly(r,e))}),{now:()=>e.now(),date:()=>new Date(r+e.now()),convert:o=>o.getTime()-r,toUnixTimestampNanoseconds:o=>oE(r+o).toString()}}const GM=e=>Rr(e)&&typeof e.resolveRoute=="function"&&typeof e.listenForRouteChanges=="function";function KM(e,t){return{...Xd,releaseStage:{...Xd.releaseStage,defaultValue:e==="localhost"?"development":"production"},autoInstrumentFullPageLoads:{defaultValue:!0,message:"should be true|false",validate:es},autoInstrumentNetworkRequests:{defaultValue:!0,message:"should be true|false",validate:es},autoInstrumentRouteChanges:{defaultValue:!0,message:"should be true|false",validate:es},generateAnonymousId:{defaultValue:!0,message:"should be true|false",validate:es},routingProvider:{defaultValue:t,message:"should be a routing provider",validate:GM},settleIgnoreUrls:{defaultValue:[],message:"should be an array of string|RegExp",validate:AD},networkRequestCallback:{defaultValue:uE,message:"should be a function",validate:mM},sendPageAttributes:{defaultValue:Ih,message:"should be an object",validate:AM},serviceName:{defaultValue:"unknown_service",message:"should be a string",validate:fs}}}function qM(e){const t=e.toString(16);return t.length===1?"0"+t:t}const WM={generate(e){const t=new Uint8Array(e/8),n=window.crypto.getRandomValues(t);return Array.from(n).map(qM).join("")}};class jc{constructor(t){this.settled=!1,this.callbacks=new Set,this.clock=t}subscribe(t){this.callbacks.add(t),this.isSettled()&&t(this.clock.now())}unsubscribe(t){this.callbacks.delete(t)}isSettled(){return this.settled}settle(t){this.settled=!0;for(const n of this.callbacks)n(t)}}class YM extends jc{constructor(t,n){super(t),this.timeout=void 0,new MutationObserver(()=>{this.restart()}).observe(n,{subtree:!0,childList:!0,characterData:!0}),this.restart()}restart(){clearTimeout(this.timeout),this.settled=!1;const t=this.clock.now();this.timeout=setTimeout(()=>{this.settle(t)},100)}}function XM(e){return!!e&&e.entryType==="navigation"}class JM extends jc{constructor(t,n,r,o){super(t),o.readyState==="complete"?setTimeout(()=>{this.settleUsingPerformance(r)},0):n("load",()=>{setTimeout(()=>{this.settleUsingPerformance(r)},0)})}settleUsingPerformance(t){const n=this.clock.now(),r=typeof t.getEntriesByType=="function"?t.getEntriesByType("navigation")[0]:void 0;let o=0;XM(r)?o=r.loadEventEnd:t.timing&&(o=t.timing.loadEventEnd-t.timing.navigationStart),(o<=0||o>n)&&(o=n),this.settle(o)}}class ky extends jc{constructor(t,n){super(t),this.timeout=void 0,this.urlsToIgnore=[],this.outstandingRequests=0,this.settled=!0,n.onStart(this.onRequestStart.bind(this))}setUrlsToIgnore(t){this.urlsToIgnore=t}onRequestStart(t){if(!this.shouldIgnoreUrl(t.url))return clearTimeout(this.timeout),this.settled=!1,++this.outstandingRequests,{onRequestEnd:n=>{if(--this.outstandingRequests===0){const r=this.clock.now();this.timeout=setTimeout(()=>{this.settle(r)},100)}}}}shouldIgnoreUrl(t){return this.urlsToIgnore.some(n=>n.test(t))}}class QM extends jc{constructor(t,n){super(t),this.settlers=n;for(const r of n)r.subscribe(o=>{this.settlersAreSettled()?this.settle(o):this.settled=!1})}isSettled(){return super.isSettled()&&this.settlersAreSettled()}settlersAreSettled(){for(const t of this.settlers)if(!t.isSettled())return!1;return!0}}const ZM=60*1e3;function eF(){const e=()=>{};return e.configure=()=>{},e}function tF(e,t,n,r,o){const i=new YM(e,t.document),s=new ky(e,n),a=new ky(e,r),l=new JM(e,t.addEventListener,o,t.document),u=new QM(e,[i,l,s,a]);function c(f){const d=_=>{clearTimeout(p),u.unsubscribe(d),f(_)},p=setTimeout(()=>{const _=e.now();u.unsubscribe(d),f(_)},ZM),g=u.isSettled()?100:0,h=e.now();setTimeout(()=>{u.isSettled()?d(h):u.subscribe(d)},g)}return c.configure=function(f){const d=f.settleIgnoreUrls.map(p=>typeof p=="string"?RegExp(p):p).concat(RegExp(f.endpoint));s.setUrlsToIgnore(d),a.setUrlsToIgnore(d)},c}function nF(e){try{if(e.localStorage)return new oF(e.localStorage)}catch{}return new cM}function rF(e,t){switch(e){case"bugsnag-sampling-probability":return JSON.stringify(t);case"bugsnag-anonymous-id":return t;default:return e}}class oF{constructor(t){this.storage=t}async load(t){try{const n=this.storage.getItem(t);if(n)return fM(t,n)}catch{}}async save(t,n){try{this.storage.setItem(t,rF(t,n))}catch{}}}function iF(e,t){let n,r;return function(i){const s=new PD(i.releaseStage,i.appVersion,i.serviceName,"bugsnag.performance.browser","2.11.0",i.logger);if(s.set("browser.user_agent",e.userAgent),e.userAgentData&&(s.set("browser.platform",e.userAgentData.platform),s.set("browser.mobile",e.userAgentData.mobile)),i.generateAnonymousId)if(n||(n=t.load("bugsnag-anonymous-id").then(a=>{const l=a||lE();return a||t.save("bugsnag-anonymous-id",l),r=l,r})),r)s.set("device.id",r);else return n.then(a=>(s.set("device.id",a),s));return Promise.resolve(s)}}const sF=e=>{const t={url:{name:"bugsnag.browser.page.url",getValue:()=>e.location.href,permitted:!1},title:{name:"bugsnag.browser.page.title",getValue:()=>e.title,permitted:!1}};return{configure(n){t.title.permitted=n.sendPageAttributes.title||!1,t.url.permitted=n.sendPageAttributes.url||!1},requestAttributes(n){for(const r of Object.values(t))r.permitted&&n.setAttribute(r.name,r.getValue())}}};class aF{constructor(t,n,r){if(this.performance=t,this.clock=n,this.observers=[],r&&Array.isArray(r.supportedEntryTypes)){const o=r.supportedEntryTypes;o.includes("largest-contentful-paint")&&this.observeLargestContentfulPaint(r),o.includes("layout-shift")&&this.observeLayoutShift(r)}}attachTo(t){const n=this.firstContentfulPaint();n&&t.addEvent("fcp",n);const r=this.timeToFirstByte();r&&t.addEvent("ttfb",r);const o=this.firstInputDelay();o&&(t.addEvent("fid_start",o.start),t.addEvent("fid_end",o.end)),this.cumulativeLayoutShift&&t.setAttribute("bugsnag.metrics.cls",this.cumulativeLayoutShift),this.largestContentfulPaint&&t.addEvent("lcp",this.largestContentfulPaint);for(const i of this.observers)i.disconnect()}firstContentfulPaint(){const t=this.performance.getEntriesByName("first-contentful-paint","paint"),n=Array.isArray(t)&&t[0];if(n)return n.startTime}timeToFirstByte(){const t=this.performance.getEntriesByType("navigation"),n=Array.isArray(t)&&t[0];let r;if(n?r=n.responseStart:r=this.performance.timing.responseStart-this.performance.timing.navigationStart,r>0&&r<=this.clock.now())return r}firstInputDelay(){const t=this.performance.getEntriesByType("first-input"),n=Array.isArray(t)&&t[0];if(n)return{start:n.startTime,end:n.processingStart}}observeLargestContentfulPaint(t){const n=new t(r=>{const o=r.getEntries();o.length>0&&(this.largestContentfulPaint=o[o.length-1].startTime)});n.observe({type:"largest-contentful-paint",buffered:!0}),this.observers.push(n)}observeLayoutShift(t){let n;const r=new t(o=>{for(const i of o.getEntries())i.hadRecentInput||(n&&i.startTime-n.previousStartTime<1e3&&i.startTime-n.firstStartTime<5e3?(n.value+=i.value,n.previousStartTime=i.startTime):n={value:i.value,firstStartTime:i.startTime,previousStartTime:i.startTime});n&&(this.cumulativeLayoutShift===void 0||n.value>this.cumulativeLayoutShift)&&(this.cumulativeLayoutShift=n.value)});r.observe({type:"layout-shift",buffered:!0}),this.observers.push(r)}}let Xi,xf,Qd;if(typeof window>"u"||typeof document>"u")Xi=eF(),xf=OM(),Qd=oM();else{const e=BM(window),t=sF(document),n=zM(performance,e),r=nF(window),o=iF(navigator,r),i=bM(window,n),s=SM(XMLHttpRequest,n,document),a=new aF(performance,n,window.PerformanceObserver);Xi=tF(n,window,i,s,performance),xf=xM(Xi,window.location),Qd=rM({backgroundingListener:e,clock:n,resourceAttributesSource:o,spanAttributesSource:t,deliveryFactory:gM(window.fetch,n,e),idGenerator:WM,schema:KM(window.location.hostname,new xf),plugins:(l,u)=>[Xi,new CM(document,window.location,l,a,Xi,e,performance),new DM(l,u,window.PerformanceObserver),new LM(l,u,i,s),new VM(l,window.location,document)],persistence:r,retryQueueFactory:(l,u)=>new pM(l,u)})}const lF=Qd;class uF{constructor(t,n){this.router=t;const r=!n||n==="/"?"":n;function o(i){var s;return((s=t.resolve({path:i.pathname.replace(r??"","")}).matched.pop())===null||s===void 0?void 0:s.path)||"no-route-found"}this.resolveRoute=o}listenForRouteChanges(t){this.router.beforeResolve((n,r)=>{if(!r.name)return;const o=new URL(n.path,document.baseURI),i=t(o,"beforeResolve");Xi(s=>{i.end(s)})})}}const cF=Gt(e=>{const n=Dt().public.bugsnag,r=Vt();n.performanceConfig.routingProvider=new uF(r);const o=lF.start(n);return e.vueApp.provide("bugsnag-performance",o),{provide:{bugsnagPerformance:o}}});var Cf={exports:{}},Py;function fF(){return Py||(Py=1,function(e,t){(function(n){e.exports=n()})(function(){var n=["navigation","request","process","log","user","state","error","manual"],r=function(b,w,x){for(var A=x,P=0,z=b.length;P=b&&x<=w}},f=function(b){return typeof b=="function"||s(b)&&o(b,function(w){return typeof w=="function"}).length===b.length},d=function(b){return typeof b=="string"&&!!b.length},p={},g=function(){return{unhandledExceptions:!0,unhandledRejections:!0}};p.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:d},appVersion:{defaultValue:function(){},message:"should be a string",validate:function(b){return b===void 0||d(b)}},appType:{defaultValue:function(){},message:"should be a string",validate:function(b){return b===void 0||d(b)}},autoDetectErrors:{defaultValue:function(){return!0},message:"should be true|false",validate:function(b){return b===!0||b===!1}},enabledErrorTypes:{defaultValue:function(){return g()},message:"should be an object containing the flags { unhandledExceptions:true|false, unhandledRejections:true|false }",allowPartialObject:!0,validate:function(b){if(typeof b!="object"||!b)return!1;var w=u(b),x=u(g());return!(o(w,function(A){return i(x,A)}).length0)}},onError:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:f},onSession:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:f},onBreadcrumb:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:f},endpoints:{defaultValue:function(b){return typeof b>"u"?{notify:"https://notify.bugsnag.com",sessions:"https://sessions.bugsnag.com"}:{notify:null,sessions:null}},message:"should be an object containing endpoint URLs { notify, sessions }",validate:function(b){return b&&typeof b=="object"&&d(b.notify)&&d(b.sessions)&&o(u(b),function(w){return!i(["notify","sessions"],w)}).length===0}},autoTrackSessions:{defaultValue:function(b){return!0},message:"should be true|false",validate:function(b){return b===!0||b===!1}},enabledReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(b){return b===null||s(b)&&o(b,function(w){return typeof w=="string"}).length===b.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(b){return typeof b=="string"&&b.length}},maxBreadcrumbs:{defaultValue:function(){return 25},message:"should be a number ≤100",validate:function(b){return c(0,100)(b)}},enabledBreadcrumbTypes:{defaultValue:function(){return n},message:"should be null or a list of available breadcrumb types ("+n.join(",")+")",validate:function(b){return b===null||s(b)&&r(b,function(w,x){return w===!1?w:i(n,x)},!0)}},context:{defaultValue:function(){},message:"should be a string",validate:function(b){return b===void 0||typeof b=="string"}},user:{defaultValue:function(){return{}},message:"should be an object with { id, email, name } properties",validate:function(b){return b===null||b&&r(u(b),function(w,x){return w&&i(["id","email","name"],x)},!0)}},metadata:{defaultValue:function(){return{}},message:"should be an object",validate:function(b){return typeof b=="object"&&b!==null}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(b){return!b||b&&r(["debug","info","warn","error"],function(w,x){return w&&typeof b[x]=="function"},!0)}},redactedKeys:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(b){return s(b)&&b.length===o(b,function(w){return typeof w=="string"||w&&typeof w.test=="function"}).length}},plugins:{defaultValue:function(){return[]},message:"should be an array of plugin objects",validate:function(b){return s(b)&&b.length===o(b,function(w){return w&&typeof w=="object"&&typeof w.load=="function"}).length}},featureFlags:{defaultValue:function(){return[]},message:'should be an array of objects that have a "name" property',validate:function(b){return s(b)&&b.length===o(b,function(w){return w&&typeof w=="object"&&typeof w.name=="string"}).length}},reportUnhandledPromiseRejectionsAsHandled:{defaultValue:function(){return!1},message:"should be true|false",validate:function(b){return b===!0||b===!1}},sendPayloadChecksums:{defaultValue:function(){return!1},message:"should be true|false",validate:function(b){return b===!0||b===!1}}};var h=function(b){for(var w=1;w-1&&(Z=Z.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var he=Z.replace(/^\s+/,"").replace(/\(eval code/g,"("),ye=he.match(/ (\((.+):(\d+):(\d+)\)$)/);he=ye?he.replace(ye[0],""):he;var Le=he.split(/\s+/).slice(1),ke=this.extractLocation(ye?ye[1]:Le.pop()),Ie=Le.join(" ")||void 0,je=["eval",""].indexOf(ke[0])>-1?void 0:ke[0];return new w({functionName:Ie,fileName:je,lineNumber:ke[1],columnNumber:ke[2],source:Z})},this)},parseFFOrSafari:function($){var ue=$.stack.split(` `).filter(function(Z){return!Z.match(P)},this);return ue.map(function(Z){if(Z.indexOf(" > eval")>-1&&(Z=Z.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),Z.indexOf("@")===-1&&Z.indexOf(":")===-1)return new w({functionName:Z});var he=/((.*".+"[^@]*)?[^@]*)(?:@)/,ye=Z.match(he),Le=ye&&ye[1]?ye[1]:void 0,ke=this.extractLocation(Z.replace(he,""));return new w({functionName:Le,fileName:ke[0],lineNumber:ke[1],columnNumber:ke[2],source:Z})},this)},parseOpera:function($){return!$.stacktrace||$.message.indexOf(` `)>-1&&$.message.split(` `).length>$.stacktrace.split(` `).length?this.parseOpera9($):$.stack?this.parseOpera11($):this.parseOpera10($)},parseOpera9:function($){for(var ue=/Line (\d+).*script (?:in )?(\S+)/i,Z=$.message.split(` `),he=[],ye=2,Le=Z.length;ye/,"$2").replace(/\([^)]*\)/g,"")||void 0,Ie;Le.match(/\(([^)]*)\)/)&&(Ie=Le.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var je=Ie===void 0||Ie==="[arguments not available]"?void 0:Ie.split(",");return new w({functionName:ke,args:je,fileName:ye[0],lineNumber:ye[1],columnNumber:ye[2],source:Z})},this)}}});var j=M,B=function(b,w,x,A){var P=A&&A.redactedKeys?A.redactedKeys:[],z=A&&A.redactedPaths?A.redactedPaths:[];return JSON.stringify(He(b,P,z),w,x)},H=20,le=25e3,Te=8,De="...";function pe(b){return b instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(b))}function ge(b){return"[Throws: "+(b?b.message:"?")+"]"}function re(b,w){for(var x=0,A=b.length;xTe&&P>le}if(P++,ue.length>H||Z())return De;if($===null||typeof $!="object")return $;if(re(A,$))return"[Circular]";if(A.push($),typeof $.toJSON=="function")try{P--;var he=z($.toJSON(),ue);return A.pop(),he}catch(et){return ge(et)}var ye=pe($);if(ye){P--;var Le=z({name:$.name,message:$.message},ue);return A.pop(),Le}if(Ae($)){for(var ke=[],Ie=0,je=$.length;Ie-1&&!w.file&&!w.method&&(w.file="global code"),w},U=function(b){return/^global code$/i.test(b)?"global code":b},K=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},ee=function(b){return typeof b=="string"?b:""};function Q(b,w,x,A){return{errorClass:ee(b),errorMessage:ee(w),type:x,stacktrace:r(A,function(P,z){var $=N(z);try{return JSON.stringify($)==="{}"?P:P.concat($)}catch{return P}},[])}}function R(b){return b.cause?[b].concat(R(b.cause)):[b]}O.getStacktrace=function(b,w,x){if(ae(b))return j.parse(b).slice(w);try{return o(D.backtrace(),function(A){return(A.functionName||"").indexOf("StackGenerator$$")===-1}).slice(1+x)}catch{return[]}},O.create=function(b,w,x,A,P,z){P===void 0&&(P=0);var $=G(b,w,A,z),ue=$[0],Z=$[1],he;try{var ye=O.getStacktrace(ue,Z>0?1+Z+P:0,1+P);he=new O(ue.name,ue.message,ye,x,b)}catch{he=new O(ue.name,ue.message,[],x,b)}if(ue.name==="InvalidError"&&he.addMetadata(""+A,"non-error parameter",k(b)),ue.cause){var Le,ke=R(ue).slice(1),Ie=_(ke,function(je){var ut=ze(je)&&ae(je)?j.parse(je):[],Me=G(je,!0,"error cause"),et=Me[0];return et.name==="InvalidError"&&he.addMetadata("error cause",k(je)),Q(et.name,et.message,O.__type,ut)});(Le=he.errors).push.apply(Le,Ie)}return he};var k=function(b){return b===null?"null":b===void 0?"undefined":b},G=function(b,w,x,A){var P,z=0,$=function(ue){var Z=x==="error cause"?"was":"received";A&&A.warn(x+" "+Z+' a non-error: "'+ue+'"');var he=new Error(x+" "+Z+' a non-error. See "'+x+'" tab for more detail.');return he.name="InvalidError",he};if(!w)ze(b)?P=b:(P=$(typeof b),z+=2);else switch(typeof b){case"string":case"number":case"boolean":P=new Error(String(b)),z+=1;break;case"function":P=$("function"),z+=2;break;case"object":b!==null&&ze(b)?P=b:b!==null&&oe(b)?(P=new Error(b.message||b.errorMessage),P.name=b.name||b.errorClass,z+=1):(P=$(b===null?"null":"unsupported object"),z+=2);break;default:P=$("nothing"),z+=2}if(!ae(P))try{throw P}catch(ue){ae(ue)&&(P=ue,z=1)}return[P,z]};O.__type="browserjs";var oe=function(b){return(typeof b.name=="string"||typeof b.errorClass=="string")&&(typeof b.message=="string"||typeof b.errorMessage=="string")},fe=O,be=function(b,w,x){var A=0,P=function(){if(A>=b.length)return x(null,!0);w(b[A],function(z,$){if(z)return x(z);if($===!1)return x(null,!1);A++,P()})};P()},Ye=function(b,w,x,A){var P=function(z,$){if(typeof z!="function")return $(null);try{if(z.length!==2){var ue=z(w);return ue&&typeof ue.then=="function"?ue.then(function(Z){return setTimeout(function(){return $(null,Z)})},function(Z){setTimeout(function(){return x(Z),$(null,!0)})}):$(null,ue)}z(w,function(Z,he){if(Z)return x(Z),$(null);$(null,he)})}catch(Z){x(Z),$(null)}};be(b,P,A)},nt=function(b,w,x,A){for(var P=!1,z=b.slice();!P&&z.length;)try{P=z.pop()(w)===!1}catch($){A.error("Error occurred in "+x+" callback, continuing anyway…"),A.error($)}return P},Ue=function(w,x){var A="000000000"+w;return A.substr(A.length-x)},we=typeof window=="object"?window:self,At=0;for(var In in we)Object.hasOwnProperty.call(we,In)&&At++;var Bt=navigator.mimeTypes?navigator.mimeTypes.length:0,gn=Ue((Bt+navigator.userAgent.length).toString(36)+At.toString(36),4),oi=function(){return gn},Di=function(w){return typeof w=="string"&&/^c[a-z0-9]{20,32}$/.test(w)},Ir=0,Ps=4,Or=36,cl=Math.pow(Or,Ps);function fl(){return Ue((Math.random()*cl<<0).toString(Or),Ps)}function Kt(){return Ir=Irthis._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs))}},w._isBreadcrumbTypeEnabled=function(A){var P=this._config.enabledBreadcrumbTypes;return P===null||i(P,A)},w.notify=function(A,P,z){z===void 0&&(z=Jt);var $=fe.create(A,!0,void 0,"notify()",this._depth+1,this._logger);this._notify($,P,z)},w._notify=function(A,P,z){var $=this;if(z===void 0&&(z=Jt),A.app=h({},A.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),A.context=A.context||this._context,A._metadata=h({},A._metadata,this._metadata),A._user=h({},A._user,this._user),A.breadcrumbs=this._breadcrumbs.slice(),Ds(A._features,this._features,A._featuresIndex),this._config.enabledReleaseStages!==null&&!i(this._config.enabledReleaseStages,this._config.releaseStage))return this._logger.warn("Event not sent due to releaseStage/enabledReleaseStages configuration"),z(null,A);var ue=A.severity,Z=function(ye){$._logger.error("Error occurred in onError callback, continuing anyway…"),$._logger.error(ye)},he=[].concat(this._cbs.e).concat(P);Ye(he,A,Z,function(ye,Le){if(ye&&Z(ye),!Le)return $._logger.debug("Event not sent due to onError callback"),z(null,A);$._isBreadcrumbTypeEnabled("error")&&b.prototype.leaveBreadcrumb.call($,A.errors[0].errorClass,{errorClass:A.errors[0].errorClass,errorMessage:A.errors[0].errorMessage,severity:A.severity},"error"),ue!==A.severity&&(A._handledState.severityReason={type:"userCallbackSetSeverity"}),A.unhandled!==A._handledState.unhandled&&(A._handledState.severityReason.unhandledOverridden=!0,A._handledState.unhandled=A.unhandled),$._session&&($._session._track(A),A._session=$._session),$._delivery.sendEvent({apiKey:A.apiKey||$._config.apiKey,notifier:$._notifier,events:[A]},function(ke){return z(ke,A)})})},b}(),ml=function(b,w){var x=new Error(`Invalid configuration `+_(u(b),function(A){return" - "+A+" "+b[A]+", got "+yl(w[A])}).join(` `));return x},yl=function(b){switch(typeof b){case"string":case"number":case"object":return JSON.stringify(b);default:return String(b)}},si=Mi,to={},ir=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];to.event=function(b,w){var x=B(b,null,null,{redactedPaths:ir,redactedKeys:w});return x.length>1e6&&(b.events[0]._metadata={notifier:`WARNING! Serialized payload was `+x.length/1e6+`MB (limit = 1MB) metadata was removed`},x=B(b,null,null,{redactedPaths:ir,redactedKeys:w})),x},to.session=function(b,w){var x=B(b,null,null);return x};var Fi={};Fi=function(b,w){return w===void 0&&(w=window),{sendEvent:function(x,A){if(A===void 0&&(A=function(){}),b._config.endpoints.notify===null){var P=new Error("Event not sent due to incomplete endpoint configuration");return A(P)}var z=Ms(b._config,"notify","4",w),$=to.event(x,b._config.redactedKeys),ue=new w.XDomainRequest;ue.onload=function(){A(null)},ue.onerror=function(){var Z=new Error("Event failed to send");b._logger.error("Event failed to send…",Z),$.length>1e6&&b._logger.warn("Event oversized ("+($.length/1e6).toFixed(2)+" MB)"),A(Z)},ue.open("POST",z),setTimeout(function(){try{ue.send($)}catch(Z){b._logger.error(Z),A(Z)}},0)},sendSession:function(x,A){if(A===void 0&&(A=function(){}),b._config.endpoints.sessions===null){var P=new Error("Session not sent due to incomplete endpoint configuration");return A(P)}var z=Ms(b._config,"sessions","1",w),$=new w.XDomainRequest;$.onload=function(){A(null)},$.open("POST",z),setTimeout(function(){try{$.send(to.session(x,b._config.redactedKeys))}catch(ue){b._logger.error(ue),A(ue)}},0)}}};var Ms=function(b,w,x,A){var P=JSON.parse(JSON.stringify(new Date)),z=_l(b.endpoints[w],A.location.protocol);return z+"?apiKey="+encodeURIComponent(b.apiKey)+"&payloadVersion="+x+"&sentAt="+encodeURIComponent(P)},_l=Fi._matchPageProtocol=function(b,w){return w==="http:"?b.replace(/^https:/,"http:"):b};function Fs(b,w){if(b.isSecureContext&&b.crypto&&b.crypto.subtle&&b.crypto.subtle.digest&&typeof TextEncoder=="function"){var x=new TextEncoder().encode(w);return b.crypto.subtle.digest("SHA-1",x).then(function(A){var P=Array.from(new Uint8Array(A)),z=P.map(function($){return $.toString(16).padStart(2,"0")}).join("");return"sha1 "+z})}return Promise.resolve()}var Gc=function(b,w){return w===void 0&&(w=window),{sendEvent:function(x,A){A===void 0&&(A=function(){});try{var P=b._config.endpoints.notify;if(P===null){var z=new Error("Event not sent due to incomplete endpoint configuration");return A(z)}var $=new w.XMLHttpRequest,ue=to.event(x,b._config.redactedKeys);$.onreadystatechange=function(){if($.readyState===w.XMLHttpRequest.DONE){var Z=$.status;if(Z===0||Z>=400){var he=new Error("Request failed with status "+Z);b._logger.error("Event failed to send…",he),ue.length>1e6&&b._logger.warn("Event oversized ("+(ue.length/1e6).toFixed(2)+" MB)"),A(he)}else A(null)}},$.open("POST",P),$.setRequestHeader("Content-Type","application/json"),$.setRequestHeader("Bugsnag-Api-Key",x.apiKey||b._config.apiKey),$.setRequestHeader("Bugsnag-Payload-Version","4"),$.setRequestHeader("Bugsnag-Sent-At",new Date().toISOString()),b._config.sendPayloadChecksums&&typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?Fs(w,ue).then(function(Z){Z&&$.setRequestHeader("Bugsnag-Integrity",Z),$.send(ue)}).catch(function(Z){b._logger.error(Z),$.send(ue)}):$.send(ue)}catch(Z){b._logger.error(Z)}},sendSession:function(x,A){A===void 0&&(A=function(){});try{var P=b._config.endpoints.sessions;if(P===null){var z=new Error("Session not sent due to incomplete endpoint configuration");return A(z)}var $=new w.XMLHttpRequest,ue=to.session(x,b._config.redactedKeys);$.onreadystatechange=function(){if($.readyState===w.XMLHttpRequest.DONE){var Z=$.status;if(Z===0||Z>=400){var he=new Error("Request failed with status "+Z);b._logger.error("Session failed to send…",he),A(he)}else A(null)}},$.open("POST",P),$.setRequestHeader("Content-Type","application/json"),$.setRequestHeader("Bugsnag-Api-Key",b._config.apiKey),$.setRequestHeader("Bugsnag-Payload-Version","1"),$.setRequestHeader("Bugsnag-Sent-At",new Date().toISOString()),b._config.sendPayloadChecksums&&typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?Fs(w,ue).then(function(Z){Z&&$.setRequestHeader("Bugsnag-Integrity",Z),$.send(ue)}).catch(function(Z){b._logger.error(Z),$.send(ue)}):$.send(ue)}catch(Z){b._logger.error(Z)}}}},Ne=new Date,F=function(){Ne=new Date},de={name:"appDuration",load:function(b){return b.addOnError(function(w){var x=new Date;w.app.duration=x-Ne},!0),{reset:F}}},Re=function(b){return b===void 0&&(b=window),{load:function(w){w.addOnError(function(x){x.context===void 0&&(x.context=b.location.pathname)},!0)}}},xt="bugsnag-anonymous-id",on=function(b){try{var w=b.localStorage,x=w.getItem(xt);return x&&/^c[a-z0-9]{20,32}$/.test(x)||(x=dl(),w.setItem(xt,x)),x}catch{}},Qt=function(b,w){return b===void 0&&(b=navigator),w===void 0&&(w=window),{load:function(x){var A={locale:b.browserLanguage||b.systemLanguage||b.userLanguage||b.language,userAgent:b.userAgent};w&&w.screen&&w.screen.orientation&&w.screen.orientation.type?A.orientation=w.screen.orientation.type:w&&w.document&&(A.orientation=w.document.documentElement.clientWidth>w.document.documentElement.clientHeight?"landscape":"portrait"),x._config.generateAnonymousId&&(A.id=on(w)),x.addOnSession(function(P){P.device=h({},P.device,A),x._config.collectUserIp||un(P)}),x.addOnError(function(P){P.device=h({},P.device,A,{time:new Date}),x._config.collectUserIp||un(P)},!0)},configSchema:{generateAnonymousId:{validate:function(x){return x===!0||x===!1},defaultValue:function(){return!0},message:"should be true|false"}}}},un=function(b){var w=b.getUser();(!w||!w.id)&&b.setUser(b.device.id)},sr=function(b){return b===void 0&&(b=window),{load:function(w){w.addOnError(function(x){x.request&&x.request.url||(x.request=h({},x.request,{url:b.location.href}))},!0)}}},ai={load:function(b){b._sessionDelegate=cn}},cn={startSession:function(b,w){var x=b;return x._session=w,x._pausedSession=null,x._config.enabledReleaseStages!==null&&!i(x._config.enabledReleaseStages,x._config.releaseStage)?(x._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),x):(x._delivery.sendSession({notifier:x._notifier,device:w.device,app:w.app,sessions:[{id:w.id,startedAt:w.startedAt,user:w._user}]}),x)},resumeSession:function(b){return b._session?b:b._pausedSession?(b._session=b._pausedSession,b._pausedSession=null,b):b.startSession()},pauseSession:function(b){b._pausedSession=b._session,b._session=null}},vl={load:function(b){b._config.collectUserIp||b.addOnError(function(w){w._user&&typeof w._user.id>"u"&&delete w._user.id,w._user=h({id:"[REDACTED]"},w._user),w.request=h({clientIp:"[REDACTED]"},w.request)})},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(b){return b===!0||b===!1}}}},Us={};Us.load=function(b){var w=/^(local-)?dev(elopment)?$/.test(b._config.releaseStage);w||!b._isBreadcrumbTypeEnabled("log")||_(sT,function(x){var A=console[x];console[x]=function(){for(var P=arguments.length,z=new Array(P),$=0;$"].concat(P.split(` `)),Ht=Me-1,Mt=Math.max(Ht-3,0),Zt=Math.min(Ht+3,et.length);return r(et.slice(Mt,Zt),function(Ft,Cr,js){return Ft[Mt+1+js]=Cr.length<=$h?Cr:Cr.substr(0,$h),Ft},{})};x.addOnError(function(Me){Me.errors[0].stacktrace=o(Me.errors[0].stacktrace,function(Ft){return!/__trace__$/.test(Ft.method)});var et=Me.errors[0].stacktrace[0],Ht=function(Ft){return Ft.replace(/#.*$/,"").replace(/\?.*$/,"")};if(!(et&&et.file&&Ht(et.file)!==Ht(A))){var Mt=Le();if(Mt){var Zt=Mt.innerHTML;Me.addMetadata("script","content",Zt.length<=Bh?Zt:Zt.substr(0,Bh)),et&&et.lineNumber&&(et.code=ke(et.lineNumber))}}},!0);var Ie=_(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(Me){return Kc(w,Me,function(et){return ut(et,function(Ht){return{get:function(){return Ht[0]},replace:function(Mt){Ht[0]=Mt}}})})}),je=Ie[0];_(["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],function(Me){!w[Me]||!w[Me].prototype||!Object.prototype.hasOwnProperty.call(w[Me].prototype,"addEventListener")||(Kc(w[Me].prototype,"addEventListener",function(et){return ut(et,Hh)}),Kc(w[Me].prototype,"removeEventListener",function(et){return ut(et,Hh,!0)}))});function ut(Me,et,Ht){return Ht===void 0&&(Ht=!1),function(){var Mt=[].slice.call(arguments);try{var Zt=et(Mt),Ft=Zt.get();if(Ht&&Me.apply(this,Mt),typeof Ft!="function")return Me.apply(this,Mt);if(Ft.__trace__)Zt.replace(Ft.__trace__);else{var Cr=Le();Ft.__trace__=function(){ye(Cr),je(function(){ye(null)},0);var TT=Ft.apply(this,arguments);return ye(null),TT},Ft.__trace__.__trace__=Ft.__trace__,Zt.replace(Ft.__trace__)}}catch{}if(Me.apply)return Me.apply(this,Mt);switch(Mt.length){case 1:return Me(Mt[0]);case 2:return Me(Mt[0],Mt[1]);default:return Me()}}}},configSchema:{trackInlineScripts:{validate:function(x){return x===!0||x===!1},defaultValue:function(){return!0},message:"should be true|false"}}}};function Kc(b,w,x){var A=b[w];if(!A)return A;var P=x(A);return b[w]=P,A}function Hh(b){var w=!!b[1]&&typeof b[1].handleEvent=="function";return{get:function(){return w?b[1].handleEvent:b[1]},replace:function(x){w?b[1].handleEvent=x:b[1]=x}}}var lT=function(b){return b===void 0&&(b=window),{load:function(w){"addEventListener"in b&&w._isBreadcrumbTypeEnabled("user")&&b.addEventListener("click",function(x){var A,P;try{A=cT(x.target),P=zh(x.target,b)}catch{A="[hidden]",P="[hidden]",w._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}w.leaveBreadcrumb("UI click",{targetText:A,targetSelector:P},"user")},!0)}}},uT=/^\s*([^\s][\s\S]{0,139}[^\s])?\s*/;function cT(b){var w=b.textContent||b.innerText||"";return!w&&(b.type==="submit"||b.type==="button")&&(w=b.value),w=w.replace(uT,"$1"),w.length>140?w.slice(0,135)+"(...)":w}function zh(b,w){var x=[b.tagName];if(b.id&&x.push("#"+b.id),b.className&&b.className.length&&x.push("."+b.className.split(" ").join(".")),!w.document.querySelectorAll||!Array.prototype.indexOf)return x.join("");try{if(w.document.querySelectorAll(x.join("")).length===1)return x.join("")}catch{return x.join("")}if(b.parentNode.childNodes.length>1){var A=Array.prototype.indexOf.call(b.parentNode.childNodes,b)+1;x.push(":nth-child("+A+")")}return w.document.querySelectorAll(x.join("")).length===1?x.join(""):b.parentNode?zh(b.parentNode,w)+" > "+x.join(""):x.join("")}var Gh={};Gh=function(b){b===void 0&&(b=window);var w={load:function(x){if("addEventListener"in b&&x._isBreadcrumbTypeEnabled("navigation")){var A=function(P){return function(){return x.leaveBreadcrumb(P,{},"navigation")}};b.addEventListener("pagehide",A("Page hidden"),!0),b.addEventListener("pageshow",A("Page shown"),!0),b.addEventListener("load",A("Page loaded"),!0),b.document.addEventListener("DOMContentLoaded",A("DOMContentLoaded"),!0),b.addEventListener("load",function(){return b.addEventListener("popstate",A("Navigated back"),!0)}),b.addEventListener("hashchange",function(P){var z=P.oldURL?{from:bl(P.oldURL,b),to:bl(P.newURL,b),state:qh(b)}:{to:bl(b.location.href,b)};x.leaveBreadcrumb("Hash changed",z,"navigation")},!0),b.history.pushState&&Kh(x,b.history,"pushState",b,!0),b.history.replaceState&&Kh(x,b.history,"replaceState",b)}}};return w};var bl=function(b,w){var x=w.document.createElement("A");return x.href=b,""+x.pathname+x.search+x.hash},fT=function(b,w,x,A){var P=bl(b.location.href,b);return{title:x,state:w,prevState:qh(b),to:A||P,from:P}},Kh=function(b,w,x,A,P){P===void 0&&(P=!1);var z=w[x];w[x]=function($,ue,Z){b.leaveBreadcrumb("History "+x,fT(A,$,ue,Z),"navigation"),P&&typeof b.resetEventCount=="function"&&b.resetEventCount(),z.apply(w,[$,ue].concat(Z!==void 0?Z:[]))}},qh=function(b){try{return b.history.state}catch{}},Ui="request",dT=function(b,w){b===void 0&&(b=[]),w===void 0&&(w=window);var x={load:function(A){if(!A._isBreadcrumbTypeEnabled("request"))return;var P=[A._config.endpoints.notify,A._config.endpoints.sessions].concat(b);z(),Z();function z(){if(!(!("addEventListener"in w.XMLHttpRequest.prototype)||!("WeakMap"in w))){var Le=new WeakMap,ke=new WeakMap,Ie=w.XMLHttpRequest.prototype.open;w.XMLHttpRequest.prototype.open=function(Me,et){this&&Le.set(this,{method:Me,url:et}),Ie.apply(this,arguments)};var je=w.XMLHttpRequest.prototype.send;w.XMLHttpRequest.prototype.send=function(Me){var et=this,Ht=Le.get(this);if(Ht){var Mt=ke.get(this);Mt&&(this.removeEventListener("load",Mt.load),this.removeEventListener("error",Mt.error));var Zt=new Date,Ft=function(){return ue(Ht.method,Ht.url,El(Zt))},Cr=function(){return $(Ht.method,Ht.url,et.status,El(Zt))};this.addEventListener("load",Cr),this.addEventListener("error",Ft),this&&ke.set(this,{load:Cr,error:Ft})}je.apply(this,arguments)}}}function $(Le,ke,Ie,je){if(ke===void 0){A._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.");return}if(!(typeof ke=="string"&&i(P,ke.replace(/\?.*$/,"")))){var ut={status:Ie,method:String(Le),url:String(ke),duration:je};Ie>=400?A.leaveBreadcrumb("XMLHttpRequest failed",ut,Ui):A.leaveBreadcrumb("XMLHttpRequest succeeded",ut,Ui)}}function ue(Le,ke,Ie){if(ke===void 0){A._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.");return}typeof ke=="string"&&i(P,ke.replace(/\?.*$/,""))||A.leaveBreadcrumb("XMLHttpRequest error",{method:String(Le),url:String(ke),duration:Ie},Ui)}function Z(){if(!(!("fetch"in w)||w.fetch.polyfill)){var Le=w.fetch;w.fetch=function(){var Ie=arguments,je=arguments[0],ut=arguments[1],Me,et=null;return je&&typeof je=="object"?(et=je.url,ut&&"method"in ut?Me=ut.method:je&&"method"in je&&(Me=je.method)):(et=je,ut&&"method"in ut&&(Me=ut.method)),Me===void 0&&(Me="GET"),new Promise(function(Ht,Mt){var Zt=new Date;Le.apply(void 0,Ie).then(function(Ft){he(Ft,Me,et,El(Zt)),Ht(Ft)}).catch(function(Ft){ye(Me,et,El(Zt)),Mt(Ft)})})}}}var he=function(Le,ke,Ie,je){var ut={method:String(ke),status:Le.status,url:String(Ie),duration:je};Le.status>=400?A.leaveBreadcrumb("fetch() failed",ut,Ui):A.leaveBreadcrumb("fetch() succeeded",ut,Ui)},ye=function(Le,ke,Ie){A.leaveBreadcrumb("fetch() error",{method:String(Le),url:String(ke),duration:Ie},Ui)}}};return x},El=function(b){return b&&new Date-b},pT={load:function(b){var w=0;b.addOnError(function(x){if(w>=b._config.maxEvents)return b._logger.warn("Cancelling event send due to maxEvents per session limit of "+b._config.maxEvents+" being reached"),!1;w++}),b.resetEventCount=function(){w=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer ≤100",validate:function(b){return c(1,100)(b)}}}},qc={};qc={load:function(b){b.addOnError(function(w){var x=r(w.errors,function(A,P){return A.concat(P.stacktrace)},[]);_(x,function(A){A.file=hT(A.file)})})}};var hT=qc._strip=function(b){return typeof b=="string"?b.replace(/\?.*$/,"").replace(/#.*$/,""):b},gT=function(b,w){return b===void 0&&(b=window),w===void 0&&(w="window onerror"),{load:function(x){if(!x._config.autoDetectErrors||!x._config.enabledErrorTypes.unhandledExceptions)return;function A(z,$,ue,Z,he){if(ue===0&&/Script error\.?/.test(z))x._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var ye={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},Le;if(he)Le=x.Event.create(he,!0,ye,w,1),Wh(Le.errors[0].stacktrace,$,ue,Z);else if(typeof z=="object"&&z!==null&&(!$||typeof $!="string")&&!ue&&!Z&&!he){var ke=z.type?"Event: "+z.type:"Error",Ie=z.message||z.detail||"";Le=x.Event.create({name:ke,message:Ie},!0,ye,w,1),Le.originalError=z,Le.addMetadata(w,{event:z,extraParameters:$})}else Le=x.Event.create(z,!0,ye,w,1),Wh(Le.errors[0].stacktrace,$,ue,Z);x._notify(Le)}typeof P=="function"&&P.apply(this,arguments)}var P=b.onerror;b.onerror=A}}},Wh=function(b,w,x,A){b[0]||b.push({});var P=b[0];!P.file&&typeof w=="string"&&(P.file=w),!P.lineNumber&&Wc(x)&&(P.lineNumber=x),P.columnNumber||(Wc(A)?P.columnNumber=A:window.event&&Wc(window.event.errorCharacter)&&(P.columnNumber=window.event.errorCharacter))},Wc=function(b){return typeof b=="number"&&String.call(b)!=="NaN"},mT=function(b){b===void 0&&(b=window);var w={load:function(x){if(!(!x._config.autoDetectErrors||!x._config.enabledErrorTypes.unhandledRejections)){var A=function(P){var z=P.reason,$=!1;try{P.detail&&P.detail.reason&&(z=P.detail.reason,$=!0)}catch{}var ue=!x._config.reportUnhandledPromiseRejectionsAsHandled,Z=x.Event.create(z,!1,{severity:"error",unhandled:ue,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,x._logger);$&&_(Z.errors[0].stacktrace,yT(z)),x._notify(Z,function(he){if(ze(he.originalError)&&!he.originalError.stack){var ye;he.addMetadata("unhandledRejection handler",(ye={},ye[Object.prototype.toString.call(he.originalError)]={name:he.originalError.name,message:he.originalError.message,code:he.originalError.code},ye))}})};"addEventListener"in b?b.addEventListener("unhandledrejection",A):b.onunhandledrejection=function(P,z){A({detail:{reason:P,promise:z}})}}}};return w},yT=function(b){return function(w){w.file!==b.toString()&&w.method&&(w.method=w.method.replace(/^\s+/,""))}},li={},_T="Bugsnag JavaScript",vT="8.2.0",bT="https://github.com/bugsnag/bugsnag-js",ET=h({},p.schema,y),On={_client:null,createClient:function(b){typeof b=="string"&&(b={apiKey:b}),b||(b={});var w=[de,Qt(),Re(),sr(),pT,ai,vl,qc,gT(),mT(),Gh(),lT(),dT(),Us,aT()],x=new si(b,ET,w,{name:_T,version:vT,url:bT});return x._setDelivery(window.XDomainRequest?Fi:Gc),x._logger.debug("Loaded!"),x.leaveBreadcrumb("Bugsnag loaded",{},"state"),x._config.autoTrackSessions?x.startSession():x},start:function(b){return On._client?(On._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."),On._client):(On._client=On.createClient(b),On._client)},isStarted:function(){return On._client!=null}};return _(["resetEventCount"].concat(u(si.prototype)),function(b){/^_/.test(b)||(On[b]=function(){if(!On._client)return console.log("Bugsnag."+b+"() was called before Bugsnag.start()");On._client._depth+=1;var w=On._client[b].apply(On._client,arguments);return On._client._depth-=1,w})}),li=On,li.Client=si,li.Event=fe,li.Session=ii,li.Breadcrumb=S,li.default=On,li})}(Cf)),Cf.exports}var Nf,Dy;function dF(){return Dy||(Dy=1,Nf=fF()),Nf}var pF=dF();const Lf=xs(pF);var kf={exports:{}},My;function hF(){return My||(My=1,function(e,t){(function(n){e.exports=n()})(function(){var n=this,r,o=function(g,h){var _=g.config.errorHandler,m=function(E,y,v){var T={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},S=h.Event.create(E,!0,T,"vue error handler",1),I=typeof v=="string"&&v.indexOf("runtime-")>0?v.split("runtime-")[1]:v,D=l[I]||v;S.addMetadata("vue",{errorInfo:D,component:y?i(y):void 0,props:y&&y.$options?y.$options.propsData:void 0}),h._notify(S),typeof console<"u"&&typeof console.error=="function"&&console.error(E),typeof _=="function"&&_.call(n,E,y,v)};g.config.errorHandler=m};function i(g){return g.$parent===null?"App":g.$options&&g.$options.name?g.$options.name:"Anonymous"}var s={BEFORE_CREATE:"bc",CREATED:"c",BEFORE_MOUNT:"bm",MOUNTED:"m",BEFORE_UPDATE:"bu",UPDATED:"u",BEFORE_UNMOUNT:"bum",UNMOUNTED:"um",DEACTIVATED:"da",ACTIVATED:"a",RENDER_TRIGGERED:"rtg",RENDER_TRACKED:"rtc",ERROR_CAPTURED:"ec",SERVER_PREFETCH:"sp"},a={SETUP_FUNCTION:0,RENDER_FUNCTION:1,WATCH_GETTER:2,WATCH_CALLBACK:3,WATCH_CLEANUP:4,NATIVE_EVENT_HANDLER:5,COMPONENT_EVENT_HANDLER:6,VNODE_HOOK:7,DIRECTIVE_HOOK:8,TRANSITION_HOOK:9,APP_ERROR_HANDLER:10,APP_WARN_HANDLER:11,FUNCTION_REF:12,ASYNC_COMPONENT_LOADER:13,SCHEDULER:14},l=(r={},r[s.SERVER_PREFETCH]="serverPrefetch hook",r[s.BEFORE_CREATE]="beforeCreate hook",r[s.CREATED]="created hook",r[s.BEFORE_MOUNT]="beforeMount hook",r[s.MOUNTED]="mounted hook",r[s.BEFORE_UPDATE]="beforeUpdate hook",r[s.UPDATED]="updated",r[s.BEFORE_UNMOUNT]="beforeUnmount hook",r[s.UNMOUNTED]="unmounted hook",r[s.ACTIVATED]="activated hook",r[s.DEACTIVATED]="deactivated hook",r[s.ERROR_CAPTURED]="errorCaptured hook",r[s.RENDER_TRACKED]="renderTracked hook",r[s.RENDER_TRIGGERED]="renderTriggered hook",r[a.SETUP_FUNCTION]="setup function",r[a.RENDER_FUNCTION]="render function",r[a.WATCH_GETTER]="watcher getter",r[a.WATCH_CALLBACK]="watcher callback",r[a.WATCH_CLEANUP]="watcher cleanup function",r[a.NATIVE_EVENT_HANDLER]="native event handler",r[a.COMPONENT_EVENT_HANDLER]="component event handler",r[a.VNODE_HOOK]="vnode hook",r[a.DIRECTIVE_HOOK]="directive hook",r[a.TRANSITION_HOOK]="transition hook",r[a.APP_ERROR_HANDLER]="app errorHandler",r[a.APP_WARN_HANDLER]="app warnHandler",r[a.FUNCTION_REF]="ref function",r[a.ASYNC_COMPONENT_LOADER]="async component loader",r[a.SCHEDULER]="scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core .",r),u={},c=this;u=function(g,h){var _=g.config.errorHandler,m=function(E,y,v){var T={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},S=h.Event.create(E,!0,T,"vue error handler",1);S.addMetadata("vue",{errorInfo:v,component:y?f(y,!0):void 0,props:y?y.$options.propsData:void 0}),h._notify(S),typeof console<"u"&&typeof console.error=="function"&&console.error(E),typeof _=="function"&&_.call(c,E,y,v)};g.config.errorHandler=m};var f=function(g,h){if(g.$root===g)return"";var _=typeof g=="function"&&g.cid!=null?g.options:g._isVue?g.$options||g.constructor.options:g||{},m=_.name||_._componentTag,E=_.__file;if(!m&&E){var y=E.match(/([^/\\]+)\.vue$/);m=y&&y[1]}return(m?"<"+d(m)+">":"")+(E&&h!==!1?" at "+E:"")},d=u.classify=function(g){return g.replace(/(?:^|[-_])(\w)/g,function(h){return h.toUpperCase()}).replace(/[-_]/g,"")},p={};return p=function(){function g(){var _=typeof window<"u"&&window.Vue;if(this.name="vue",this.lazy=arguments.length===0&&!_,!this.lazy&&(this.Vue=(arguments.length<=0?void 0:arguments[0])||_,!this.Vue))throw new Error("@bugsnag/plugin-vue reference to `Vue` was undefined")}var h=g.prototype;return h.load=function(m){return this.Vue&&this.Vue.config?(u(this.Vue,m),{installVueErrorHandler:function(){return m._logger.warn("installVueErrorHandler() was called unnecessarily")}}):{install:function(E){E||m._logger.error(new Error("@bugsnag/plugin-vue reference to Vue `app` was undefined")),o(E,m)},installVueErrorHandler:function(E){E||m._logger.error(new Error("@bugsnag/plugin-vue reference to `Vue` was undefined")),u(E,m)}}},g}(),p.default=p,p})}(kf)),kf.exports}var gF=hF();const mF=xs(gF);function yF(e){const t={...e};return t.plugins=[...t.plugins||[],new mF],t.onError=n=>{n.errors[0].stacktrace=n.errors[0].stacktrace.map(r=>(r.file=r.file.replace("file://",""),r))},t}function _F(...e){throw new Error(e)}const vF={notify:_F},bF=Gt(e=>{const n=yF(Dt().public.bugsnag);let r=Lf._client;if(r===null)try{r=Lf.start(n)}catch{return console.log("[Bugsnag] started in mock mode"),{provide:{bugsnag:vF}}}e.vueApp.provide("bugsnag-client",r);const o=Lf.getPlugin("vue");return o!==void 0&&e.vueApp.use(o),{provide:{bugsnag:r}}});let Kl;const EF=new Uint8Array(16);function TF(){if(!Kl&&(Kl=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Kl))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Kl(EF)}const fn=[];for(let e=0;e<256;++e)fn.push((e+256).toString(16).slice(1));function wF(e,t=0){return fn[e[t+0]]+fn[e[t+1]]+fn[e[t+2]]+fn[e[t+3]]+"-"+fn[e[t+4]]+fn[e[t+5]]+"-"+fn[e[t+6]]+fn[e[t+7]]+"-"+fn[e[t+8]]+fn[e[t+9]]+"-"+fn[e[t+10]]+fn[e[t+11]]+fn[e[t+12]]+fn[e[t+13]]+fn[e[t+14]]+fn[e[t+15]]}const SF=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Fy={randomUUID:SF};function AF(e,t,n){if(Fy.randomUUID&&!e)return Fy.randomUUID();e=e||{};const r=e.random||(e.rng||TF)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,wF(r)}var mu={exports:{}},RF=mu.exports,Uy;function IF(){return Uy||(Uy=1,function(e){(function(t,n){e.exports?e.exports=n():t.jsonSchema=n()})(RF,function(){var t=r;t.Integer={type:"integer"};var n={String,Boolean,Number,Object,Array,Date};t.validate=r;function r(o,i){return r(o,i,{changing:!1})}t.checkPropertyChange=function(o,i,s){return r(o,i,{changing:s||"property"})};var r=t._validate=function(o,i,s){s||(s={});var a=s.changing;function l(d){return d.type||n[d.name]==d&&d.name.toLowerCase()}var u=[];function c(d,p,g,h){var _;g+=g?typeof h=="number"?"["+h+"]":typeof h>"u"?"":"."+h:h;function m(D){u.push({property:g,message:D})}if((typeof p!="object"||p instanceof Array)&&(g||typeof p!="function")&&!(p&&l(p)))return typeof p=="function"?d instanceof p||m("is not an instance of the class/constructor "+p.name):p&&m("Invalid schema/property definition "+p),null;a&&p.readonly&&m("is a readonly field, it can not be changed"),p.extends&&c(d,p.extends,g,h);function E(D,M){if(D){if(typeof D=="string"&&D!="any"&&(D=="null"?M!==null:typeof M!=D)&&!(M instanceof Array&&D=="array")&&!(M instanceof Date&&D=="date")&&!(D=="integer"&&M%1===0))return[{property:g,message:M+" - "+typeof M+" value found, but a "+D+" is required"}];if(D instanceof Array){for(var j=[],B=0;Bp.maxItems&&m("There must be a maximum of "+p.maxItems+" in the array")}else(p.properties||p.additionalProperties)&&u.concat(f(d,p.properties,g,p.additionalProperties));if(p.pattern&&typeof d=="string"&&!d.match(p.pattern)&&m("does not match the regex pattern "+p.pattern),p.maxLength&&typeof d=="string"&&d.length>p.maxLength&&m("may only be "+p.maxLength+" characters long"),p.minLength&&typeof d=="string"&&d.lengthd&&m("must have a minimum value of "+p.minimum),typeof p.maximum<"u"&&typeof d==typeof p.maximum&&p.maximumnew TextEncoder().encode(i);function n(i,s){typeof i=="string"&&(i=t(i));let a=i.length,l=s^a,u=0,c;for(;a>=4;)c=i[u]&255|(i[++u]&255)<<8|(i[++u]&255)<<16|(i[++u]&255)<<24,c=(c&65535)*1540483477+(((c>>>16)*1540483477&65535)<<16),c^=c>>>24,c=(c&65535)*1540483477+(((c>>>16)*1540483477&65535)<<16),l=(l&65535)*1540483477+(((l>>>16)*1540483477&65535)<<16)^c,a-=4,++u;switch(a){case 3:l^=(i[u+2]&255)<<16;case 2:l^=(i[u+1]&255)<<8;case 1:l^=i[u]&255,l=(l&65535)*1540483477+(((l>>>16)*1540483477&65535)<<16)}return l^=l>>>13,l=(l&65535)*1540483477+(((l>>>16)*1540483477&65535)<<16),l^=l>>>15,l>>>0}function r(i,s){typeof i=="string"&&(i=t(i));let a,l,u,c,f,d,p,g;for(a=i.length&3,l=i.length-a,u=s,f=3432918353,d=461845907,g=0;g>>16)*f&65535)<<16)&4294967295,p=p<<15|p>>>17,p=(p&65535)*d+(((p>>>16)*d&65535)<<16)&4294967295,u^=p,u=u<<13|u>>>19,c=(u&65535)*5+(((u>>>16)*5&65535)<<16)&4294967295,u=(c&65535)+27492+(((c>>>16)+58964&65535)<<16);switch(p=0,a){case 3:p^=(i[g+2]&255)<<16;case 2:p^=(i[g+1]&255)<<8;case 1:p^=i[g]&255,p=(p&65535)*f+(((p>>>16)*f&65535)<<16)&4294967295,p=p<<15|p>>>17,p=(p&65535)*d+(((p>>>16)*d&65535)<<16)&4294967295,u^=p}return u^=i.length,u^=u>>>16,u=(u&65535)*2246822507+(((u>>>16)*2246822507&65535)<<16)&4294967295,u^=u>>>13,u=(u&65535)*3266489909+(((u>>>16)*3266489909&65535)<<16)&4294967295,u^=u>>>16,u>>>0}const o=r;o.v2=n,o.v3=r,e.exports=o})()}(Pf)),Pf.exports}var CF=xF();const NF=xs(CF);var na={exports:{}},LF=na.exports,Vy;function kF(){return Vy||(Vy=1,function(e,t){(function(n,r){var o="1.0.40",i="",s="?",a="function",l="undefined",u="object",c="string",f="major",d="model",p="name",g="type",h="vendor",_="version",m="architecture",E="console",y="mobile",v="tablet",T="smarttv",S="wearable",I="embedded",D=500,M="Amazon",j="Apple",B="ASUS",H="BlackBerry",le="Browser",Te="Chrome",De="Edge",pe="Firefox",ge="Google",re="Huawei",ve="LG",tt="Microsoft",Ae="Motorola",Ke="Opera",He="Samsung",it="Sharp",qe="Sony",ot="Xiaomi",J="Zebra",se="Facebook",ae="Chromium OS",_e="Mac OS",We=" Browser",ze=function(G,oe){var fe={};for(var be in G)oe[be]&&oe[be].length%2===0?fe[be]=oe[be].concat(G[be]):fe[be]=G[be];return fe},C=function(G){for(var oe={},fe=0;fe0?Ue.length===2?typeof Ue[1]==a?this[Ue[0]]=Ue[1].call(this,At):this[Ue[0]]=Ue[1]:Ue.length===3?typeof Ue[1]===a&&!(Ue[1].exec&&Ue[1].test)?this[Ue[0]]=At?Ue[1].call(this,At,Ue[2]):r:this[Ue[0]]=At?At.replace(Ue[1],Ue[2]):r:Ue.length===4&&(this[Ue[0]]=At?Ue[3].call(this,At.replace(Ue[1],Ue[2])):r):this[Ue]=At||r;fe+=2}},N=function(G,oe){for(var fe in oe)if(typeof oe[fe]===u&&oe[fe].length>0){for(var be=0;be2&&(we[d]="iPad",we[g]=v),we},this.getEngine=function(){var we={};return we[p]=r,we[_]=r,O.call(we,be,nt.engine),we},this.getOS=function(){var we={};return we[p]=r,we[_]=r,O.call(we,be,nt.os),Ue&&!we[p]&&Ye&&Ye.platform&&Ye.platform!="Unknown"&&(we[p]=Ye.platform.replace(/chrome os/i,ae).replace(/macos/i,_e)),we},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return be},this.setUA=function(we){return be=typeof we===c&&we.length>D?X(we,D):we,this},this.setUA(be),this};Q.VERSION=o,Q.BROWSER=C([p,_,f]),Q.CPU=C([m]),Q.DEVICE=C([d,h,g,E,y,T,v,S,I]),Q.ENGINE=Q.OS=C([p,_]),e.exports&&(t=e.exports=Q),t.UAParser=Q;var R=typeof n!==l&&(n.jQuery||n.Zepto);if(R&&!R.ua){var k=new Q;R.ua=k.getResult(),R.ua.get=function(){return k.getUA()},R.ua.set=function(G){k.setUA(G);var oe=k.getResult();for(var fe in oe)R.ua[fe]=oe[fe]}}})(typeof window=="object"?window:LF)}(na,na.exports)),na.exports}var PF=kF(),Zd=function(e,t){return Zd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},Zd(e,t)};function Li(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Zd(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var nr=function(){return nr=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]=this.logLevel},e.prototype.getLogLevelName=function(t){switch(t){case Oe.DEBUG:return"DEBUG";case Oe.INFO:return"INFO ";case Oe.WARNING:return"WARN ";case Oe.ERROR:return"ERROR";default:return"NOTSET"}},e.prototype.consoleLog=function(t,n){switch(t){case Oe.DEBUG:console.log.apply(console,n);break;case Oe.INFO:console.info.apply(console,n);break;case Oe.WARNING:console.warn.apply(console,n);break;case Oe.ERROR:console.error.apply(console,n);break;default:console.log.apply(console,n)}},e}(),ep=Oe.NOTSET,tp=null,By=function(){function e(t){t===void 0&&(t={}),this.messagePrefix="",t.messagePrefix&&(this.messagePrefix=t.messagePrefix)}return e.prototype.log=function(t,n){for(var r=[],o=2;o=this.maxQueueSize&&this.flush()},e.prototype.flush=function(){this.sink(this.buffer),this.buffer=[],this.timer.stop()},e}(),q={NOTSET:0,DEBUG:1,INFO:2,WARNING:3,ERROR:4},Ee={BROWSER_ODP_MANAGER_INITIALIZATION_FAILED:"%s: Error initializing Browser ODP Manager.",CONDITION_EVALUATOR_ERROR:"%s: Error evaluating audience condition of type %s: %s",DATAFILE_AND_SDK_KEY_MISSING:"%s: You must provide at least one of sdkKey or datafile. Cannot start Optimizely",EXPERIMENT_KEY_NOT_IN_DATAFILE:"%s: Experiment key %s is not in datafile.",FEATURE_NOT_IN_DATAFILE:"%s: Feature key %s is not in datafile.",FETCH_SEGMENTS_FAILED_NETWORK_ERROR:"%s: Audience segments fetch failed. (network error)",FETCH_SEGMENTS_FAILED_DECODE_ERROR:"%s: Audience segments fetch failed. (decode error)",IMPROPERLY_FORMATTED_EXPERIMENT:"%s: Experiment key %s is improperly formatted.",INVALID_ATTRIBUTES:"%s: Provided attributes are in an invalid format.",INVALID_BUCKETING_ID:"%s: Unable to generate hash for bucketing ID %s: %s",INVALID_DATAFILE:"%s: Datafile is invalid - property %s: %s",INVALID_DATAFILE_MALFORMED:"%s: Datafile is invalid because it is malformed.",INVALID_CONFIG:"%s: Provided Optimizely config is in an invalid format.",INVALID_JSON:"%s: JSON object is not valid.",INVALID_ERROR_HANDLER:'%s: Provided "errorHandler" is in an invalid format.',INVALID_EVENT_DISPATCHER:'%s: Provided "eventDispatcher" is in an invalid format.',INVALID_EVENT_TAGS:"%s: Provided event tags are in an invalid format.",INVALID_EXPERIMENT_KEY:"%s: Experiment key %s is not in datafile. It is either invalid, paused, or archived.",INVALID_EXPERIMENT_ID:"%s: Experiment ID %s is not in datafile.",INVALID_GROUP_ID:"%s: Group ID %s is not in datafile.",INVALID_LOGGER:'%s: Provided "logger" is in an invalid format.',INVALID_ROLLOUT_ID:"%s: Invalid rollout ID %s attached to feature %s",INVALID_USER_ID:"%s: Provided user ID is in an invalid format.",INVALID_USER_PROFILE_SERVICE:"%s: Provided user profile service instance is in an invalid format: %s.",LOCAL_STORAGE_DOES_NOT_EXIST:"Error accessing window localStorage.",MISSING_INTEGRATION_KEY:"%s: Integration key missing from datafile. All integrations should include a key.",NO_DATAFILE_SPECIFIED:"%s: No datafile specified. Cannot start optimizely.",NO_JSON_PROVIDED:"%s: No JSON object to validate against schema.",NO_VARIATION_FOR_EXPERIMENT_KEY:"%s: No variation key %s defined in datafile for experiment %s.",ODP_CONFIG_NOT_AVAILABLE:"%s: ODP is not integrated to the project.",ODP_EVENT_FAILED:"ODP event send failed.",ODP_FETCH_QUALIFIED_SEGMENTS_SEGMENTS_MANAGER_MISSING:"%s: ODP unable to fetch qualified segments (Segments Manager not initialized).",ODP_IDENTIFY_FAILED_EVENT_MANAGER_MISSING:"%s: ODP identify event %s is not dispatched (Event Manager not instantiated).",ODP_INITIALIZATION_FAILED:"%s: ODP failed to initialize.",ODP_INVALID_DATA:"%s: ODP data is not valid",ODP_EVENT_FAILED_ODP_MANAGER_MISSING:"%s: ODP Event failed to send. (ODP Manager not initialized).",ODP_FETCH_QUALIFIED_SEGMENTS_FAILED_ODP_MANAGER_MISSING:"%s: ODP failed to Fetch Qualified Segments. (ODP Manager not initialized).",ODP_IDENTIFY_USER_FAILED_ODP_MANAGER_MISSING:"%s: ODP failed to Identify User. (ODP Manager not initialized).",ODP_IDENTIFY_USER_FAILED_USER_CONTEXT_INITIALIZATION:"%s: ODP failed to Identify User. (Failed during User Context Initialization).",ODP_MANAGER_UPDATE_SETTINGS_FAILED_EVENT_MANAGER_MISSING:"%s: ODP Manager failed to update OdpConfig settings for internal event manager. (Event Manager not initialized).",ODP_MANAGER_UPDATE_SETTINGS_FAILED_SEGMENTS_MANAGER_MISSING:"%s: ODP Manager failed to update OdpConfig settings for internal segments manager. (Segments Manager not initialized).",ODP_NOT_ENABLED:"ODP is not enabled",ODP_NOT_INTEGRATED:"%s: ODP is not integrated",ODP_SEND_EVENT_FAILED_EVENT_MANAGER_MISSING:"%s: ODP send event %s was not dispatched (Event Manager not instantiated).",ODP_SEND_EVENT_FAILED_UID_MISSING:"%s: ODP send event %s was not dispatched (No valid user identifier provided).",ODP_SEND_EVENT_FAILED_VUID_MISSING:"%s: ODP send event %s was not dispatched (Unable to fetch VUID).",ODP_VUID_INITIALIZATION_FAILED:"%s: ODP VUID initialization failed.",ODP_VUID_REGISTRATION_FAILED:"%s: ODP VUID failed to be registered.",ODP_VUID_REGISTRATION_FAILED_EVENT_MANAGER_MISSING:"%s: ODP register vuid failed. (Event Manager not instantiated).",UNDEFINED_ATTRIBUTE:"%s: Provided attribute: %s has an undefined value.",UNRECOGNIZED_ATTRIBUTE:"%s: Unrecognized attribute %s provided. Pruning before sending event to Optimizely.",UNABLE_TO_CAST_VALUE:"%s: Unable to cast value %s to type %s, returning null.",USER_NOT_IN_FORCED_VARIATION:"%s: User %s is not in the forced variation map. Cannot remove their forced variation.",USER_PROFILE_LOOKUP_ERROR:'%s: Error while looking up user profile for user ID "%s": %s.',USER_PROFILE_SAVE_ERROR:'%s: Error while saving user profile for user ID "%s": %s.',VARIABLE_KEY_NOT_IN_DATAFILE:'%s: Variable with key "%s" associated with feature with key "%s" is not in datafile.',VARIATION_ID_NOT_IN_DATAFILE:"%s: No variation ID %s defined in datafile for experiment %s.",VARIATION_ID_NOT_IN_DATAFILE_NO_EXPERIMENT:"%s: Variation ID %s is not in the datafile.",INVALID_INPUT_FORMAT:"%s: Provided %s is in an invalid format.",INVALID_DATAFILE_VERSION:"%s: This version of the JavaScript SDK does not support the given datafile version: %s",INVALID_VARIATION_KEY:"%s: Provided variation key is in an invalid format."},Y={ACTIVATE_USER:"%s: Activating user %s in experiment %s.",DISPATCH_CONVERSION_EVENT:"%s: Dispatching conversion event to URL %s with params %s.",DISPATCH_IMPRESSION_EVENT:"%s: Dispatching impression event to URL %s with params %s.",DEPRECATED_EVENT_VALUE:"%s: Event value is deprecated in %s call.",EVENT_KEY_NOT_FOUND:"%s: Event key %s is not in datafile.",EXPERIMENT_NOT_RUNNING:"%s: Experiment %s is not running.",FEATURE_ENABLED_FOR_USER:"%s: Feature %s is enabled for user %s.",FEATURE_NOT_ENABLED_FOR_USER:"%s: Feature %s is not enabled for user %s.",FEATURE_HAS_NO_EXPERIMENTS:"%s: Feature %s is not attached to any experiments.",FAILED_TO_PARSE_VALUE:'%s: Failed to parse event value "%s" from event tags.',FAILED_TO_PARSE_REVENUE:'%s: Failed to parse revenue value "%s" from event tags.',FORCED_BUCKETING_FAILED:"%s: Variation key %s is not in datafile. Not activating user %s.",INVALID_OBJECT:"%s: Optimizely object is not valid. Failing %s.",INVALID_CLIENT_ENGINE:"%s: Invalid client engine passed: %s. Defaulting to node-sdk.",INVALID_DEFAULT_DECIDE_OPTIONS:"%s: Provided default decide options is not an array.",INVALID_DECIDE_OPTIONS:"%s: Provided decide options is not an array. Using default decide options.",INVALID_VARIATION_ID:"%s: Bucketed into an invalid variation ID. Returning null.",NOTIFICATION_LISTENER_EXCEPTION:"%s: Notification listener for (%s) threw exception: %s",NO_ROLLOUT_EXISTS:"%s: There is no rollout of feature %s.",NOT_ACTIVATING_USER:"%s: Not activating user %s for experiment %s.",NOT_TRACKING_USER:"%s: Not tracking user %s.",ODP_DISABLED:"ODP Disabled.",ODP_IDENTIFY_FAILED_ODP_DISABLED:"%s: ODP identify event for user %s is not dispatched (ODP disabled).",ODP_IDENTIFY_FAILED_ODP_NOT_INTEGRATED:"%s: ODP identify event %s is not dispatched (ODP not integrated).",ODP_SEND_EVENT_IDENTIFIER_CONVERSION_FAILED:"%s: sendOdpEvent failed to parse through and convert fs_user_id aliases",PARSED_REVENUE_VALUE:'%s: Parsed revenue value "%s" from event tags.',PARSED_NUMERIC_VALUE:'%s: Parsed event value "%s" from event tags.',RETURNING_STORED_VARIATION:'%s: Returning previously activated variation "%s" of experiment "%s" for user "%s" from user profile.',ROLLOUT_HAS_NO_EXPERIMENTS:"%s: Rollout of feature %s has no experiments",SAVED_VARIATION:'%s: Saved variation "%s" of experiment "%s" for user "%s".',SAVED_VARIATION_NOT_FOUND:"%s: User %s was previously bucketed into variation with ID %s for experiment %s, but no matching variation was found.",SHOULD_NOT_DISPATCH_ACTIVATE:'%s: Experiment %s is not in "Running" state. Not activating user.',SKIPPING_JSON_VALIDATION:"%s: Skipping JSON schema validation.",TRACK_EVENT:"%s: Tracking event %s for user %s.",UNRECOGNIZED_DECIDE_OPTION:"%s: Unrecognized decide option %s provided.",USER_ASSIGNED_TO_EXPERIMENT_BUCKET:"%s: Assigned bucket %s to user with bucketing ID %s.",USER_BUCKETED_INTO_EXPERIMENT_IN_GROUP:"%s: User %s is in experiment %s of group %s.",USER_BUCKETED_INTO_TARGETING_RULE:"%s: User %s bucketed into targeting rule %s.",USER_IN_FEATURE_EXPERIMENT:"%s: User %s is in variation %s of experiment %s on the feature %s.",USER_IN_ROLLOUT:"%s: User %s is in rollout of feature %s.",USER_NOT_BUCKETED_INTO_EVERYONE_TARGETING_RULE:"%s: User %s not bucketed into everyone targeting rule due to traffic allocation.",USER_NOT_BUCKETED_INTO_EXPERIMENT_IN_GROUP:"%s: User %s is not in experiment %s of group %s.",USER_NOT_BUCKETED_INTO_ANY_EXPERIMENT_IN_GROUP:"%s: User %s is not in any experiment of group %s.",USER_NOT_BUCKETED_INTO_TARGETING_RULE:"%s User %s not bucketed into targeting rule %s due to traffic allocation. Trying everyone rule.",USER_NOT_IN_FEATURE_EXPERIMENT:"%s: User %s is not in any experiment on the feature %s.",USER_NOT_IN_ROLLOUT:"%s: User %s is not in rollout of feature %s.",USER_FORCED_IN_VARIATION:"%s: User %s is forced in variation %s.",USER_MAPPED_TO_FORCED_VARIATION:"%s: Set variation %s for experiment %s and user %s in the forced variation map.",USER_DOESNT_MEET_CONDITIONS_FOR_TARGETING_RULE:"%s: User %s does not meet conditions for targeting rule %s.",USER_MEETS_CONDITIONS_FOR_TARGETING_RULE:"%s: User %s meets conditions for targeting rule %s.",USER_HAS_VARIATION:"%s: User %s is in variation %s of experiment %s.",USER_HAS_FORCED_DECISION_WITH_RULE_SPECIFIED:"Variation (%s) is mapped to flag (%s), rule (%s) and user (%s) in the forced decision map.",USER_HAS_FORCED_DECISION_WITH_NO_RULE_SPECIFIED:"Variation (%s) is mapped to flag (%s) and user (%s) in the forced decision map.",USER_HAS_FORCED_DECISION_WITH_RULE_SPECIFIED_BUT_INVALID:"Invalid variation is mapped to flag (%s), rule (%s) and user (%s) in the forced decision map.",USER_HAS_FORCED_DECISION_WITH_NO_RULE_SPECIFIED_BUT_INVALID:"Invalid variation is mapped to flag (%s) and user (%s) in the forced decision map.",USER_HAS_FORCED_VARIATION:"%s: Variation %s is mapped to experiment %s and user %s in the forced variation map.",USER_HAS_NO_VARIATION:"%s: User %s is in no variation of experiment %s.",USER_HAS_NO_FORCED_VARIATION:"%s: User %s is not in the forced variation map.",USER_HAS_NO_FORCED_VARIATION_FOR_EXPERIMENT:"%s: No experiment %s mapped to user %s in the forced variation map.",USER_NOT_IN_ANY_EXPERIMENT:"%s: User %s is not in any experiment of group %s.",USER_NOT_IN_EXPERIMENT:"%s: User %s does not meet conditions to be in experiment %s.",USER_RECEIVED_DEFAULT_VARIABLE_VALUE:'%s: User "%s" is not in any variation or rollout rule. Returning default value for variable "%s" of feature flag "%s".',FEATURE_NOT_ENABLED_RETURN_DEFAULT_VARIABLE_VALUE:'%s: Feature "%s" is not enabled for user %s. Returning the default variable value "%s".',VARIABLE_NOT_USED_RETURN_DEFAULT_VARIABLE_VALUE:'%s: Variable "%s" is not used in variation "%s". Returning default value.',USER_RECEIVED_VARIABLE_VALUE:'%s: Got variable value "%s" for variable "%s" of feature flag "%s"',VALID_DATAFILE:"%s: Datafile is valid.",VALID_USER_PROFILE_SERVICE:"%s: Valid user profile service provided.",VARIATION_REMOVED_FOR_USER:"%s: Variation mapped to experiment %s has been removed for user %s.",VARIABLE_REQUESTED_WITH_WRONG_TYPE:'%s: Requested variable type "%s", but variable is of type "%s". Use correct API to retrieve value. Returning None.',VALID_BUCKETING_ID:'%s: BucketingId is valid: "%s"',BUCKETING_ID_NOT_STRING:"%s: BucketingID attribute is not a string. Defaulted to userId",EVALUATING_AUDIENCE:'%s: Starting to evaluate audience "%s" with conditions: %s.',EVALUATING_AUDIENCES_COMBINED:'%s: Evaluating audiences for %s "%s": %s.',AUDIENCE_EVALUATION_RESULT:'%s: Audience "%s" evaluated to %s.',AUDIENCE_EVALUATION_RESULT_COMBINED:"%s: Audiences for %s %s collectively evaluated to %s.",MISSING_ATTRIBUTE_VALUE:'%s: Audience condition %s evaluated to UNKNOWN because no value was passed for user attribute "%s".',UNEXPECTED_CONDITION_VALUE:"%s: Audience condition %s evaluated to UNKNOWN because the condition value is not supported.",UNEXPECTED_TYPE:'%s: Audience condition %s evaluated to UNKNOWN because a value of type "%s" was passed for user attribute "%s".',UNEXPECTED_TYPE_NULL:'%s: Audience condition %s evaluated to UNKNOWN because a null value was passed for user attribute "%s".',UNKNOWN_CONDITION_TYPE:"%s: Audience condition %s has an unknown condition type. You may need to upgrade to a newer release of the Optimizely SDK.",UNKNOWN_MATCH_TYPE:"%s: Audience condition %s uses an unknown match type. You may need to upgrade to a newer release of the Optimizely SDK.",UPDATED_OPTIMIZELY_CONFIG:"%s: Updated Optimizely config to revision %s (project id %s)",OUT_OF_BOUNDS:'%s: Audience condition %s evaluated to UNKNOWN because the number value for user attribute "%s" is not in the range [-2^53, +2^53].',UNABLE_TO_ATTACH_UNLOAD:'%s: unable to bind optimizely.close() to page unload event: "%s"'},Hr={BOT_FILTERING:"$opt_bot_filtering",BUCKETING_ID:"$opt_bucketing_id",STICKY_BUCKETING_KEY:"$opt_experiment_bucket_map",USER_AGENT:"$opt_user_agent",FORCED_DECISION_NULL_RULE_KEY:"$opt_null_rule_key"},Ch="javascript-sdk",bE="node-sdk",JF="react-sdk",QF="react-native-sdk",ZF="react-native-js-sdk",Nh="5.3.5",gi={AB_TEST:"ab-test",FEATURE:"feature",FEATURE_TEST:"feature-test",FEATURE_VARIABLE:"feature-variable",ALL_FEATURE_VARIABLES:"all-feature-variables",FLAG:"flag"},dn={FEATURE_TEST:"feature-test",ROLLOUT:"rollout",EXPERIMENT:"experiment"},np={RULE:"rule",EXPERIMENT:"experiment"},er={BOOLEAN:"boolean",DOUBLE:"double",INTEGER:"integer",STRING:"string",JSON:"json"},yu={V2:"2",V3:"3",V4:"4"},rp={SDK_NOT_READY:"Optimizely SDK not configured properly yet.",FLAG_KEY_INVALID:'No flag was found for key "%s".',VARIABLE_VALUE_INVALID:'Variable value for key "%s" is invalid or wrong type.'},_n;(function(e){e.ACTIVATE="ACTIVATE:experiment, user_id,attributes, variation, event",e.DECISION="DECISION:type, userId, attributes, decisionInfo",e.LOG_EVENT="LOG_EVENT:logEvent",e.OPTIMIZELY_CONFIG_UPDATE="OPTIMIZELY_CONFIG_UPDATE",e.TRACK="TRACK:event_key, user_id, attributes, event_tags, event"})(_n||(_n={}));var EE=60*1e3,TE=10*1e3,wE=10*1e3,dr;(function(e){e.VUID="vuid",e.FS_USER_ID="fs_user_id"})(dr||(dr={}));var SE="fs-user-id",nc="fullstack",Da;(function(e){e.IDENTIFIED="identified",e.INITIALIZED="client_initialized"})(Da||(Da={}));var Ma=Object.freeze({__proto__:null,LOG_LEVEL:q,ERROR_MESSAGES:Ee,LOG_MESSAGES:Y,CONTROL_ATTRIBUTES:Hr,JAVASCRIPT_CLIENT_ENGINE:Ch,NODE_CLIENT_ENGINE:bE,REACT_CLIENT_ENGINE:JF,REACT_NATIVE_CLIENT_ENGINE:QF,REACT_NATIVE_JS_CLIENT_ENGINE:ZF,CLIENT_VERSION:Nh,DECISION_NOTIFICATION_TYPES:gi,DECISION_SOURCES:dn,AUDIENCE_EVALUATION_TYPES:np,FEATURE_VARIABLE_TYPES:er,DATAFILE_VERSIONS:yu,DECISION_MESSAGES:rp,get NOTIFICATION_TYPES(){return _n},REQUEST_TIMEOUT_MS:EE,REQUEST_TIMEOUT_ODP_SEGMENTS_MS:TE,REQUEST_TIMEOUT_ODP_EVENTS_MS:wE,get ODP_USER_KEY(){return dr},FS_USER_ID_ALIAS:SE,ODP_DEFAULT_EVENT_TYPE:nc,get ODP_EVENT_ACTION(){return Da}}),op=3e4,ip=10,AE=Xt("EventProcessor");function eU(e){return e<=0&&(AE.warn("Invalid flushInterval ".concat(e,", defaulting to ").concat(op)),e=op),e}function tU(e){return e=Math.floor(e),e<1&&(AE.warn("Invalid batchSize ".concat(e,", defaulting to ").concat(ip)),e=ip),e=Math.max(1,e),e}function nU(e,t,n,r,o){var i;return e>1?i=new XF({flushInterval:t,maxQueueSize:e,sink:r,closingSink:o,batchComparator:n}):i=new YF({sink:r}),i}function rU(e,t){e&&e.sendNotifications(_n.LOG_EVENT,t)}var Hy=Xt("EventProcessor"),oU=function(){function e(t){var n=t.key,r=t.maxValues,o=r===void 0?1e3:r;this.LS_KEY=n,this.maxValues=o}return e.prototype.get=function(t){return this.getMap()[t]||null},e.prototype.set=function(t,n){var r=this.getMap();r[t]=n,this.replace(r)},e.prototype.remove=function(t){var n=this.getMap();delete n[t],this.replace(n)},e.prototype.values=function(){return Wr(this.getMap())},e.prototype.clear=function(){this.replace({})},e.prototype.replace=function(t){try{typeof window<"u"?window&&window.localStorage&&localStorage.setItem(this.LS_KEY,JSON.stringify(t)):localStorage.setItem(this.LS_KEY,JSON.stringify(t)),this.clean()}catch(n){Hy.error(String(n))}},e.prototype.clean=function(){var t=this.getMap(),n=Object.keys(t),r=n.length-this.maxValues;if(!(r<1)){var o=n.map(function(s){return{key:s,value:t[s]}});o.sort(function(s,a){return s.value.timestamp-a.value.timestamp});for(var i=0;i=1:!1},RU=function(e){return typeof e=="number"&&Ut.isSafeInteger(e)?e>0:!1},Xy={validateEventBatchSize:AU,validateEventFlushInterval:RU},IU="NOTIFICATION_CENTER",OU=function(){function e(t){var n=this;this.logger=t.logger,this.errorHandler=t.errorHandler,this.notificationListeners={},Wr(_n).forEach(function(r){n.notificationListeners[r]=[]}),this.listenerId=1}return e.prototype.addNotificationListener=function(t,n){try{var r=Wr(_n),o=r.indexOf(t)>-1;if(!o)return-1;this.notificationListeners[t]||(this.notificationListeners[t]=[]);var i=!1;if((this.notificationListeners[t]||[]).forEach(function(a){if(a.callback===n){i=!0;return}}),i)return-1;this.notificationListeners[t].push({id:this.listenerId,callback:n});var s=this.listenerId;return this.listenerId+=1,s}catch(a){return this.logger.log(q.ERROR,a.message),this.errorHandler.handleError(a),-1}},e.prototype.removeNotificationListener=function(t){var n=this;try{var r,o;if(Object.keys(this.notificationListeners).some(function(i){var s=n.notificationListeners[i];return(s||[]).every(function(a,l){return a.id===t?(r=l,o=i,!1):!0}),r!==void 0&&o!==void 0}),r!==void 0&&o!==void 0)return this.notificationListeners[o].splice(r,1),!0}catch(i){this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i)}return!1},e.prototype.clearAllNotificationListeners=function(){var t=this;try{Wr(_n).forEach(function(n){t.notificationListeners[n]=[]})}catch(n){this.logger.log(q.ERROR,n.message),this.errorHandler.handleError(n)}},e.prototype.clearNotificationListeners=function(t){try{this.notificationListeners[t]=[]}catch(n){this.logger.log(q.ERROR,n.message),this.errorHandler.handleError(n)}},e.prototype.sendNotifications=function(t,n){var r=this;try{(this.notificationListeners[t]||[]).forEach(function(o){var i=o.callback;try{i(n)}catch(s){r.logger.log(q.ERROR,Y.NOTIFICATION_LISTENER_EXCEPTION,IU,t,s.message)}})}catch(o){this.logger.log(q.ERROR,o.message),this.errorHandler.handleError(o)}},e}();function NE(e){return new OU(e)}function xU(){for(var e=[],t=0;t-1){var s=o.slice(0,i),a=o.slice(i+2);a.length>0&&(r[s]=a)}}),r}function $U(e,t){Object.keys(e).forEach(function(n){var r=e[n];t.setRequestHeader(n,r)})}function BU(e,t){var n=new XMLHttpRequest,r=new Promise(function(o,i){n.open(UU,e,!0),$U(t,n),n.onreadystatechange=function(){if(n.readyState===jU){var s=n.status;if(s===0){i(new Error("Request error"));return}var a=VU(n),l={statusCode:n.status,body:n.responseText,headers:a};o(l)}},n.timeout=MU,n.ontimeout=function(){FU.error("Request timed out")},n.send()});return{responsePromise:r,abort:function(){n.abort()}}}var HU=function(){function e(){this.listeners={},this.listenerId=1}return e.prototype.on=function(t,n){var r=this;this.listeners[t]||(this.listeners[t]={});var o=String(this.listenerId);return this.listenerId++,this.listeners[t][o]=n,function(){r.listeners[t]&&delete r.listeners[t][o]}},e.prototype.emit=function(t,n){var r=this.listeners[t];r&&Object.keys(r).forEach(function(o){var i=r[o];i(n)})},e.prototype.removeAllListeners=function(){this.listeners={}},e}();function zU(){return Math.round(Math.random()*1e3)}var GU=function(){function e(){this.errorCount=0}return e.prototype.getDelay=function(){if(this.errorCount===0)return 0;var t=Df[Math.min(Df.length-1,this.errorCount)];return t*1e3+zU()},e.prototype.countError=function(){this.errorCount=200&&e<400}var qU={get:function(){return Promise.resolve(void 0)},set:function(){return Promise.resolve()},contains:function(){return Promise.resolve(!1)},remove:function(){return Promise.resolve(!1)}},WU=function(){function e(t){var n=this,r=nr(nr({},this.getConfigDefaults()),t),o=r.datafile,i=r.autoUpdate,s=i===void 0?!1:i,a=r.sdkKey,l=r.updateInterval,u=l===void 0?LU:l,c=r.urlTemplate,f=c===void 0?DU:c,d=r.cache,p=d===void 0?qU:d;this.cache=p,this.cacheKey="opt-datafile-"+a,this.sdkKey=a,this.isReadyPromiseSettled=!1,this.readyPromiseResolver=function(){},this.readyPromiseRejecter=function(){},this.readyPromise=new Promise(function(g,h){n.readyPromiseResolver=g,n.readyPromiseRejecter=h}),o?(this.currentDatafile=o,a||this.resolveReadyPromise()):this.currentDatafile="",this.isStarted=!1,this.datafileUrl=ft(f,a),this.emitter=new HU,this.autoUpdate=s,this.updateInterval=u,this.updateInterval"u"||t.statusCode===304?"":Qy(t.statusCode)?t.body:($n.error("Datafile fetch request failed with status: ".concat(t.statusCode)),"")},e.prototype.trySavingLastModified=function(t){var n=t["last-modified"]||t["Last-Modified"];typeof n<"u"&&(this.lastResponseLastModified=n,$n.debug("Saved last modified header value from response: %s",this.lastResponseLastModified))},e.prototype.setDatafileFromCacheIfAvailable=function(){var t=this;this.cache.get(this.cacheKey).then(function(n){t.isStarted&&!t.isReadyPromiseSettled&&n&&($n.debug("Using datafile from cache"),t.currentDatafile=n,t.resolveReadyPromise())})},e}(),YU=function(e){Li(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeGetRequest=function(n,r){return BU(n,r)},t.prototype.getConfigDefaults=function(){return{autoUpdate:!1}},t}(WU),XU=function(){function e(t,n,r,o){this.apiKey=t,this.apiHost=n,this.pixelUrl=r,this.segmentsToCheck=o}return e.prototype.equals=function(t){return this.apiHost===t.apiHost&&this.apiKey===t.apiKey&&this.pixelUrl===t.pixelUrl&&_E(this.segmentsToCheck,t.segmentsToCheck)},e}(),JU=function(e,t){return e.integrated!==t.integrated?!1:e.integrated&&t.integrated?e.odpConfig.equals(t.odpConfig):!0},PE="Running",Zy="$opt_",sn="PROJECT_CONFIG";function QU(e){var t,n,r=ur({},e);return r.audiences=(e.audiences||[]).map(function(o){return ur({},o)}),r.experiments=(e.experiments||[]).map(function(o){return ur({},o)}),r.featureFlags=(e.featureFlags||[]).map(function(o){return ur({},o)}),r.groups=(e.groups||[]).map(function(o){var i=ur({},o);return i.experiments=(o.experiments||[]).map(function(s){return ur({},s)}),i}),r.rollouts=(e.rollouts||[]).map(function(o){var i=ur({},o);return i.experiments=(o.experiments||[]).map(function(s){return ur({},s)}),i}),r.environmentKey=(t=e.environmentKey)!==null&&t!==void 0?t:"",r.sdkKey=(n=e.sdkKey)!==null&&n!==void 0?n:"",r}var ZU=function(e,t){t===void 0&&(t=null);var n=QU(e);n.__datafileStr=t===null?JSON.stringify(e):t,(n.audiences||[]).forEach(function(c){c.conditions=JSON.parse(c.conditions)}),n.audiencesById=mn(n.audiences,"id"),ur(n.audiencesById,mn(n.typedAudiences,"id")),n.attributeKeyMap=mn(n.attributes,"key"),n.eventKeyMap=mn(n.events,"key"),n.groupIdMap=mn(n.groups,"id");var r;Object.keys(n.groupIdMap||{}).forEach(function(c){r=n.groupIdMap[c].experiments,(r||[]).forEach(function(f){n.experiments.push(ur(f,{groupId:c}))})}),n.rolloutIdMap=mn(n.rollouts||[],"id"),Wr(n.rolloutIdMap||{}).forEach(function(c){(c.experiments||[]).forEach(function(f){f.isRollout=!0,n.experiments.push(f),f.variationKeyMap=mn(f.variations,"key")})});var o=new Set;Object.keys(n.audiencesById).map(function(c){return e3(n.audiencesById[c])}).forEach(function(c){c.forEach(function(f){o.add(f)})});var i=Array.from(o),s=!1,a="",l="",u="";return n.integrations&&(n.integrationKeyMap=mn(n.integrations,"key"),n.integrations.forEach(function(c){if(!("key"in c))throw new Error(ft(Ee.MISSING_INTEGRATION_KEY,sn));c.key==="odp"&&(s=!0,l=l||c.publicKey||"",a=a||c.host||"",u=u||c.pixelUrl||"")})),s?n.odpIntegrationConfig={integrated:!0,odpConfig:new XU(l,a,u,i)}:n.odpIntegrationConfig={integrated:!1},n.experimentKeyMap=mn(n.experiments,"key"),n.experimentIdMap=mn(n.experiments,"id"),n.variationIdMap={},n.variationVariableUsageMap={},(n.experiments||[]).forEach(function(c){c.variationKeyMap=mn(c.variations,"key"),ur(n.variationIdMap,mn(c.variations,"id")),Wr(c.variationKeyMap||{}).forEach(function(f){f.variables&&(n.variationVariableUsageMap[f.id]=mn(f.variables,"id"))})}),n.experimentFeatureMap={},n.featureKeyMap=mn(n.featureFlags||[],"key"),Wr(n.featureKeyMap||{}).forEach(function(c){c.variables.forEach(function(f){f.type===er.STRING&&f.subType===er.JSON&&(f.type=er.JSON,delete f.subType)}),c.variableKeyMap=mn(c.variables,"key"),(c.experimentIds||[]).forEach(function(f){n.experimentFeatureMap[f]?n.experimentFeatureMap[f].push(c.id):n.experimentFeatureMap[f]=[c.id]})}),n.flagRulesMap={},(n.featureFlags||[]).forEach(function(c){var f=[];c.experimentIds.forEach(function(p){var g=n.experimentIdMap[p];g&&f.push(g)});var d=n.rolloutIdMap[c.rolloutId];d&&f.push.apply(f,d.experiments),n.flagRulesMap[c.key]=f}),n.flagVariationsMap={},mE(n.flagRulesMap||{}).forEach(function(c){var f=c[0],d=c[1],p=[];d.forEach(function(g){g.variations.forEach(function(h){Oh(p,function(_){return _.id===h.id})||p.push(h)})}),n.flagVariationsMap[f]=p}),n},e3=function(e){return e.conditions?DE(e.conditions):[]},DE=function(e){var t=[];return t3(e)?[]:(Array.isArray(e)?e.forEach(function(n){return t.push.apply(t,DE(n))}):e.match==="qualified"&&t.push(e.value),t)};function t3(e){return["and","or","not"].includes(e)}var ME=function(e,t){var n=e.experimentIdMap[t];if(!n)throw new Error(ft(Ee.INVALID_EXPERIMENT_ID,sn,t));return n.layerId},FE=function(e,t,n){var r=e.attributeKeyMap[t],o=t.indexOf(Zy)===0;return r?(o&&n.log(q.WARNING,"Attribute %s unexpectedly has reserved prefix %s; using attribute ID instead of reserved attribute name.",t,Zy),r.id):o?t:(n.log(q.DEBUG,Ee.UNRECOGNIZED_ATTRIBUTE,sn,t),null)},UE=function(e,t){var n=e.eventKeyMap[t];return n?n.id:null},jE=function(e,t){var n=e.experimentKeyMap[t];if(!n)throw new Error(ft(Ee.INVALID_EXPERIMENT_KEY,sn,t));return n.status},n3=function(e,t){return jE(e,t)===PE},r3=function(e,t){return jE(e,t)===PE},o3=function(e,t){var n=e.experimentIdMap[t];if(!n)throw new Error(ft(Ee.INVALID_EXPERIMENT_ID,sn,t));return n.audienceConditions||n.audienceIds},VE=function(e,t){return e.variationIdMap.hasOwnProperty(t)?e.variationIdMap[t].key:null},i3=function(e,t){return e.variationIdMap.hasOwnProperty(t)?e.variationIdMap[t]:null},s3=function(e,t,n){var r=e.experimentKeyMap[t];return r.variationKeyMap.hasOwnProperty(n)?r.variationKeyMap[n].id:null},sp=function(e,t){if(e.experimentKeyMap.hasOwnProperty(t)){var n=e.experimentKeyMap[t];if(n)return n}throw new Error(ft(Ee.EXPERIMENT_KEY_NOT_IN_DATAFILE,sn,t))},a3=function(e,t){var n=e.experimentIdMap[t];if(!n)throw new Error(ft(Ee.INVALID_EXPERIMENT_ID,sn,t));return n.trafficAllocation},l3=function(e,t,n){if(e.experimentIdMap.hasOwnProperty(t)){var r=e.experimentIdMap[t];if(r)return r}return n.log(q.ERROR,Ee.INVALID_EXPERIMENT_ID,sn,t),null},e_=function(e,t,n){if(!e)return null;var r=e.flagVariationsMap[t],o=Oh(r,function(i){return i.key===n});return o||null},Mf=function(e,t,n){if(e.featureKeyMap.hasOwnProperty(t)){var r=e.featureKeyMap[t];if(r)return r}return n.log(q.ERROR,Ee.FEATURE_NOT_IN_DATAFILE,sn,t),null},u3=function(e,t,n,r){var o=e.featureKeyMap[t];if(!o)return r.log(q.ERROR,Ee.FEATURE_NOT_IN_DATAFILE,sn,t),null;var i=o.variableKeyMap[n];return i||(r.log(q.ERROR,Ee.VARIABLE_KEY_NOT_IN_DATAFILE,sn,n,t),null)},c3=function(e,t,n,r){if(!t||!n)return null;if(!e.variationVariableUsageMap.hasOwnProperty(n.id))return r.log(q.ERROR,Ee.VARIATION_ID_NOT_IN_DATAFILE_NO_EXPERIMENT,sn,n.id),null;var o=e.variationVariableUsageMap[n.id],i=o[t.id];return i?i.value:null},f3=function(e,t,n){var r;switch(t){case er.BOOLEAN:e!=="true"&&e!=="false"?(n.log(q.ERROR,Ee.UNABLE_TO_CAST_VALUE,sn,e,t),r=null):r=e==="true";break;case er.INTEGER:r=parseInt(e,10),isNaN(r)&&(n.log(q.ERROR,Ee.UNABLE_TO_CAST_VALUE,sn,e,t),r=null);break;case er.DOUBLE:r=parseFloat(e),isNaN(r)&&(n.log(q.ERROR,Ee.UNABLE_TO_CAST_VALUE,sn,e,t),r=null);break;case er.JSON:try{r=JSON.parse(e)}catch{n.log(q.ERROR,Ee.UNABLE_TO_CAST_VALUE,sn,e,t),r=null}break;default:r=e;break}return r},d3=function(e){return e.audiencesById},p3=function(e,t){return e.eventKeyMap.hasOwnProperty(t)},h3=function(e,t){return e.experimentFeatureMap.hasOwnProperty(t)},$E=function(e){return e.__datafileStr},BE=function(e){var t;try{t=IE.validateDatafile(e.datafile)}catch(o){return{configObj:null,error:o}}if(e.jsonSchemaValidator)try{e.jsonSchemaValidator.validate(t),e.logger.log(q.INFO,Y.VALID_DATAFILE,sn)}catch(o){return{configObj:null,error:o}}else e.logger.log(q.INFO,Y.SKIPPING_JSON_VALIDATION,sn);var n=[t];typeof e.datafile=="string"&&n.push(e.datafile);var r=ZU.apply(void 0,n);return{configObj:r,error:null}},t_=function(e){return!!e.sendFlagDecisions};function g3(e,t,n,r){var o={sdkKey:e};if((r===void 0||typeof r=="object"&&r!==null)&&Ut.assign(o,r),n){var i=BE({datafile:n,jsonSchemaValidator:void 0,logger:t}),s=i.configObj,a=i.error;a&&t.error(a),s&&(o.datafile=$E(s))}return new YU(o)}var n_=function(){function e(t,n){n===void 0&&(n=EE),this.logger=t,this.timeout=n}return e.prototype.makeRequest=function(t,n,r,o){var i=this,s=new XMLHttpRequest,a=new Promise(function(l,u){s.open(r,t,!0),i.setHeadersInXhr(n,s),s.onreadystatechange=function(){if(s.readyState===XMLHttpRequest.DONE){var c=s.status;if(c===0){u(new Error("Request error"));return}var f=i.parseHeadersFromXhr(s),d={statusCode:s.status,body:s.responseText,headers:f};l(d)}},s.timeout=i.timeout,s.ontimeout=function(){i.logger.log(Oe.WARNING,"Request timed out")},s.send(o)});return{responsePromise:a,abort:function(){s.abort()}}},e.prototype.setHeadersInXhr=function(t,n){Object.keys(t).forEach(function(r){var o=t[r];typeof o=="string"&&n.setRequestHeader(r,o)})},e.prototype.parseHeadersFromXhr=function(t){var n=this,r=t.getAllResponseHeaders();if(r===null)return{};var o=r.split(`\r `),i={};return o.forEach(function(s){try{var a=s.indexOf(": ");if(a>-1){var l=s.slice(0,a),u=s.slice(a+2);l&&u&&(i[l]=u)}}catch{n.logger.log(Oe.WARNING,"Unable to parse & skipped header item '".concat(s,"'"))}}),i},e}(),ql=function(e){var t=e.browserCallback,n=e.nonBrowserCallback;return typeof window<"u"?t(window==null?void 0:window.localStorage):n()},m3=function(){function e(){this.logger=Xt()}return e.prototype.contains=function(t){return qt(this,void 0,void 0,function(){var n=this;return Wt(this,function(r){return[2,ql({browserCallback:function(o){return(o==null?void 0:o.getItem(t))!==null},nonBrowserCallback:function(){return n.logger.error(Ee.LOCAL_STORAGE_DOES_NOT_EXIST),!1}})]})})},e.prototype.get=function(t){return qt(this,void 0,void 0,function(){var n=this;return Wt(this,function(r){return[2,ql({browserCallback:function(o){return(o==null?void 0:o.getItem(t))||void 0},nonBrowserCallback:function(){n.logger.error(Ee.LOCAL_STORAGE_DOES_NOT_EXIST)}})]})})},e.prototype.remove=function(t){return qt(this,void 0,void 0,function(){var n=this;return Wt(this,function(r){switch(r.label){case 0:return[4,this.contains(t)];case 1:return r.sent()?(ql({browserCallback:function(o){o==null||o.removeItem(t)},nonBrowserCallback:function(){n.logger.error(Ee.LOCAL_STORAGE_DOES_NOT_EXIST)}}),[2,!0]):[2,!1]}})})},e.prototype.set=function(t,n){return qt(this,void 0,void 0,function(){var r=this;return Wt(this,function(o){return[2,ql({browserCallback:function(i){i==null||i.setItem(t,n)},nonBrowserCallback:function(){r.logger.error(Ee.LOCAL_STORAGE_DOES_NOT_EXIST)}})]})})},e}(),y3=function(){function e(t){t===void 0&&(t=null),this._value=t,this._time=Date.now()}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){return this._time},enumerable:!1,configurable:!0}),e.prototype.is_stale=function(t){return t<=0?!1:Date.now()-this._time>=t},e}(),HE=function(){function e(t){var n=t.maxSize,r=t.timeout;this._map=new Map;var o=Xt();o.debug("Provisioning cache with maxSize of ".concat(n)),o.debug("Provisioning cache with timeout of ".concat(r)),this._maxSize=n,this._timeout=r}return Object.defineProperty(e.prototype,"map",{get:function(){return this._map},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxSize",{get:function(){return this._maxSize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeout",{get:function(){return this._timeout},enumerable:!1,configurable:!0}),e.prototype.lookup=function(t){if(this._maxSize<=0)return null;var n=this._map.get(t);return n?n.is_stale(this._timeout)?(this._map.delete(t),null):(this._map.delete(t),this._map.set(t,n),n.value):null},e.prototype.save=function(t){var n=t.key,r=t.value;if(!(this._maxSize<=0)){var o=this._map.get(n);if(o&&this._map.delete(n),this._map.set(n,new y3(r)),this._map.size>this._maxSize){var i=this._map.keys().next().value;this._map.delete(i)}}},e.prototype.reset=function(){this._maxSize<=0||this._map.clear()},e.prototype.peek=function(t){var n;if(this._maxSize<=0)return null;var r=this._map.get(t);return(n=r==null?void 0:r.value)!==null&&n!==void 0?n:null},e}(),r_={DEFAULT_CAPACITY:100,DEFAULT_TIMEOUT_SECS:600},_3=function(e){Li(t,e);function t(n){var r,o;return e.call(this,{maxSize:(r=n==null?void 0:n.maxSize)!==null&&r!==void 0?r:r_.DEFAULT_CAPACITY,timeout:(o=n==null?void 0:n.timeout)!==null&&o!==void 0?o:r_.DEFAULT_TIMEOUT_SECS*1e3})||this}return t}(HE),o_={DEFAULT_CAPACITY:1e4,DEFAULT_TIMEOUT_SECS:600};(function(e){Li(t,e);function t(n){var r,o;return e.call(this,{maxSize:(r=n==null?void 0:n.maxSize)!==null&&r!==void 0?r:o_.DEFAULT_CAPACITY,timeout:(o=n==null?void 0:n.timeout)!==null&&o!==void 0?o:o_.DEFAULT_TIMEOUT_SECS*1e3})||this}return t})(HE);var pa=function(){function e(){this._keyForVuid="optimizely-vuid",this._vuid=""}return Object.defineProperty(e.prototype,"vuid",{get:function(){return this._vuid},enumerable:!1,configurable:!0}),e.instance=function(t){return qt(this,void 0,void 0,function(){return Wt(this,function(n){switch(n.label){case 0:return this._instance||(this._instance=new e),this._instance._vuid?[3,2]:[4,this._instance.load(t)];case 1:n.sent(),n.label=2;case 2:return[2,this._instance]}})})},e.prototype.load=function(t){return qt(this,void 0,void 0,function(){var n;return Wt(this,function(r){switch(r.label){case 0:return[4,t.get(this._keyForVuid)];case 1:return n=r.sent(),n&&e.isVuid(n)?(this._vuid=n,[3,4]):[3,2];case 2:return this._vuid=this.makeVuid(),[4,this.save(this._vuid,t)];case 3:r.sent(),r.label=4;case 4:return[2,this._vuid]}})})},e.prototype.makeVuid=function(){var t=32,n=Vc(),r=n.replace(/-/g,"").toLowerCase(),o="".concat(e.vuid_prefix).concat(r);return o.length<=t?o:o.substring(0,t)},e.prototype.save=function(t,n){return qt(this,void 0,void 0,function(){return Wt(this,function(r){switch(r.label){case 0:return[4,n.set(this._keyForVuid,t)];case 1:return r.sent(),[2]}})})},e._reset=function(){this._instance._vuid=""},e.vuid_prefix="vuid_",e.isVuid=function(t){return(t==null?void 0:t.startsWith(e.vuid_prefix))||!1},e}();function zE(e){var t=["string","number","boolean"],n=!1;return e.forEach(function(r){!t.includes(typeof r)&&r!==null&&(n=!0)}),n}var oc=function(){function e(t,n,r,o){this.type=t,this.action=n,this.identifiers=r??new Map,this.data=o??new Map}return e}(),i_=function(){};function v3(){var e=i_,t=i_,n=new Promise(function(r,o){e=r,t=o});return{promise:n,resolve:e,reject:t,then:n.then.bind(n)}}var ao;(function(e){e[e.Running=0]="Running",e[e.Stopped=1]="Stopped"})(ao||(ao={}));var b3=function(){function e(t){var n=t.odpIntegrationConfig,r=t.segmentManager,o=t.eventManager,i=t.logger,s=this;this.ready=!1,this.status=ao.Stopped,this.segmentManager=r,this.eventManager=o,this.logger=i,this.configPromise=v3();var a=[this.configPromise];this.isVuidEnabled()&&a.push(this.initializeVuid()),this.initPromise=Promise.all(a),this.onReady().then(function(){s.ready=!0,s.isVuidEnabled()&&s.status===ao.Running&&s.registerVuid()}),n&&this.updateSettings(n)}return e.prototype.getStatus=function(){return this.status},e.prototype.start=function(){return qt(this,void 0,void 0,function(){return Wt(this,function(t){return this.status===ao.Running?[2]:this.odpIntegrationConfig?this.odpIntegrationConfig.integrated?(this.status=ao.Running,this.segmentManager.updateSettings(this.odpIntegrationConfig.odpConfig),this.eventManager.updateSettings(this.odpIntegrationConfig.odpConfig),this.eventManager.start(),[2,Promise.resolve()]):[2,Promise.reject(new Error("start() called when ODP is not integrated"))]:[2,Promise.reject(new Error("cannot start without ODP config"))]})})},e.prototype.stop=function(){return qt(this,void 0,void 0,function(){return Wt(this,function(t){switch(t.label){case 0:return this.status===ao.Stopped?[2]:(this.status=ao.Stopped,[4,this.eventManager.stop()]);case 1:return t.sent(),[2]}})})},e.prototype.onReady=function(){return this.initPromise},e.prototype.isReady=function(){return this.ready},e.prototype.updateSettings=function(t){return this.configPromise.resolve(),this.odpIntegrationConfig&&JU(this.odpIntegrationConfig,t)?!1:(this.odpIntegrationConfig=t,t.integrated?this.status===ao.Running?(this.segmentManager.updateSettings(t.odpConfig),this.eventManager.updateSettings(t.odpConfig)):this.start():this.stop(),!0)},e.prototype.fetchQualifiedSegments=function(t,n){return n===void 0&&(n=[]),qt(this,void 0,void 0,function(){return Wt(this,function(r){return this.odpIntegrationConfig?this.odpIntegrationConfig.integrated?pa.isVuid(t)?[2,this.segmentManager.fetchQualifiedSegments(dr.VUID,t,n)]:[2,this.segmentManager.fetchQualifiedSegments(dr.FS_USER_ID,t,n)]:(this.logger.log(Oe.ERROR,Ee.ODP_NOT_INTEGRATED),[2,null]):(this.logger.log(Oe.ERROR,Ee.ODP_CONFIG_NOT_AVAILABLE),[2,null])})})},e.prototype.identifyUser=function(t,n){if(!this.odpIntegrationConfig){this.logger.log(Oe.ERROR,Ee.ODP_CONFIG_NOT_AVAILABLE);return}if(!this.odpIntegrationConfig.integrated){this.logger.log(Oe.INFO,Ee.ODP_NOT_INTEGRATED);return}if(t&&pa.isVuid(t)){this.eventManager.identifyUser(void 0,t);return}this.eventManager.identifyUser(t,n)},e.prototype.sendEvent=function(t){var n=t.type,r=t.action,o=t.identifiers,i=t.data,s=n;if((typeof s!="string"||s==="")&&(s="fullstack"),!this.odpIntegrationConfig){this.logger.log(Oe.ERROR,Ee.ODP_CONFIG_NOT_AVAILABLE);return}if(!this.odpIntegrationConfig.integrated){this.logger.log(Oe.ERROR,Ee.ODP_NOT_INTEGRATED);return}if(zE(i))throw new Error(Ee.ODP_INVALID_DATA);if(typeof r!="string"||r==="")throw new Error("ODP action is not valid (cannot be empty).");this.eventManager.sendEvent(new oc(s,r,o,i))},e.prototype.initializeVuid=function(){return Promise.resolve()},e.prototype.registerVuid=function(){if(!this.odpIntegrationConfig){this.logger.log(Oe.ERROR,Ee.ODP_CONFIG_NOT_AVAILABLE);return}if(!this.odpIntegrationConfig.integrated){this.logger.log(Oe.INFO,Ee.ODP_NOT_INTEGRATED);return}var t=this.getVuid();if(t)try{this.eventManager.registerVuid(t)}catch{this.logger.log(Oe.ERROR,Ee.ODP_VUID_REGISTRATION_FAILED)}},e}(),Ff="ODP event send failed",E3=function(){function e(t,n){this.requestHandler=t,this.logger=n}return e.prototype.getLogger=function(){return this.logger},e.prototype.sendEvents=function(t,n){var r;return qt(this,void 0,void 0,function(){var o,i,s,a,l,u,c,f,d,p,g;return Wt(this,function(h){switch(h.label){case 0:if(o=!1,n.length===0)return this.logger.log(Oe.ERROR,"".concat(Ff," (no events)")),[2,o];if(!this.shouldSendEvents(n))return[2,o];i=this.generateRequestData(t,n),s=i.method,a=i.endpoint,l=i.headers,u=i.data,c=0,h.label=1;case 1:return h.trys.push([1,3,,4]),f=this.requestHandler.makeRequest(a,l,s,u),[4,f.responsePromise];case 2:return d=h.sent(),c=(r=d.statusCode)!==null&&r!==void 0?r:c,[3,4];case 3:return p=h.sent(),g="network error",p instanceof Error&&(g=p.message),this.logger.log(Oe.ERROR,"".concat(Ff," (").concat(g,")")),o=!0,[3,4];case 4:return c>=400&&this.logger.log(Oe.ERROR,"".concat(Ff," (").concat(c,")")),c>=500&&(o=!0),[2,o]}})})},e}(),T3="ODP event send failed",w3="v2/zaius.gif",S3=function(e){Li(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.shouldSendEvents=function(n){return n.length<=1?!0:(this.getLogger().log(Oe.ERROR,"".concat(T3," (browser only supports batch size 1)")),!1)},t.prototype.getPixelApiEndpoint=function(n){var r=n.pixelUrl,o=new URL(w3,r).href;return o},t.prototype.generateRequestData=function(n,r){var o=this.getPixelApiEndpoint(n),i=n.apiKey,s="GET",a=r[0],l=new URL(o);a.identifiers.forEach(function(c,f){l.searchParams.append(f,c)}),a.data.forEach(function(c,f){l.searchParams.append(f,c)}),l.searchParams.append("tracker_id",i),l.searchParams.append("event_type",a.type),l.searchParams.append("vdl_action",a.action);var u=l.toString();return{method:s,endpoint:u,headers:{},data:""}},t}(E3),GE=function(e){typeof queueMicrotask=="function"?queueMicrotask(e):setTimeout(e)},A3=3,Fo;(function(e){e[e.Stopped=0]="Stopped",e[e.Running=1]="Running"})(Fo||(Fo={}));var R3=function(){function e(t){var n=t.odpConfig,r=t.apiManager,o=t.logger,i=t.clientEngine,s=t.clientVersion,a=t.queueSize,l=t.batchSize,u=t.flushInterval,c=t.userAgentParser,f=t.retries;if(this.status=Fo.Stopped,this.queue=new Array,this.apiManager=r,this.logger=o,this.clientEngine=i,this.clientVersion=s,this.initParams(l,a,u),this.status=Fo.Stopped,this.userAgentParser=c,this.retries=f||A3,c){var d=c.parseUserAgentInfo(),p=d.os,g=d.device,h={os:p.name,os_version:p.version,device_type:g.type,model:g.model};this.userAgentData=new Map(Object.entries(h).filter(function(_){_[0];var m=_[1];return m!=null&&m!=null}))}n&&this.updateSettings(n)}return e.prototype.updateSettings=function(t){this.odpConfig&&this.odpConfig.equals(t)||(this.flush(),this.odpConfig=t)},e.prototype.flush=function(){this.processQueue(!0)},e.prototype.start=function(){if(!this.odpConfig){this.logger.log(Oe.ERROR,Ee.ODP_CONFIG_NOT_AVAILABLE);return}this.status=Fo.Running,this.batchSize>1&&this.setNewTimeout()},e.prototype.stop=function(){return qt(this,void 0,void 0,function(){return Wt(this,function(t){return this.logger.log(Oe.DEBUG,"Stop requested."),this.flush(),this.clearCurrentTimeout(),this.status=Fo.Stopped,this.logger.log(Oe.DEBUG,"Stopped. Queue Count: %s",this.queue.length),[2]})})},e.prototype.registerVuid=function(t){var n=new Map;n.set(dr.VUID,t);var r=new oc(nc,Da.INITIALIZED,n);this.sendEvent(r)},e.prototype.identifyUser=function(t,n){var r=new Map;if(!t&&!n){this.logger.log(Oe.ERROR,Ee.ODP_SEND_EVENT_FAILED_UID_MISSING);return}n&&r.set(dr.VUID,n),t&&r.set(dr.FS_USER_ID,t);var o=new oc(nc,Da.IDENTIFIED,r);this.sendEvent(o)},e.prototype.sendEvent=function(t){zE(t.data)?this.logger.log(Oe.ERROR,"Event data found to be invalid."):(t.data=this.augmentCommonData(t.data),this.enqueue(t))},e.prototype.enqueue=function(t){if(this.status===Fo.Stopped){this.logger.log(Oe.WARNING,"Failed to Process ODP Event. ODPEventManager is not running.");return}if(!this.hasNecessaryIdentifiers(t)){this.logger.log(Oe.ERROR,"ODP events should have at least one key-value pair in identifiers.");return}if(this.queue.length>=this.queueSize){this.logger.log(Oe.WARNING,"Failed to Process ODP Event. Event Queue full. queueSize = %s.",this.queue.length);return}this.queue.push(t),this.processQueue()},e.prototype.processQueue=function(t){if(t===void 0&&(t=!1),this.status===Fo.Running){if(t)for(this.clearCurrentTimeout();this.queueContainsItems();)this.makeAndSend1Batch();else if(this.queueHasBatches())for(this.clearCurrentTimeout();this.queueHasBatches();)this.makeAndSend1Batch();this.batchSize>1&&this.setNewTimeout()}},e.prototype.clearCurrentTimeout=function(){clearTimeout(this.timeoutId),this.timeoutId=void 0},e.prototype.setNewTimeout=function(){var t=this;this.timeoutId===void 0&&(this.timeoutId=setTimeout(function(){return t.processQueue(!0)},this.flushInterval))},e.prototype.makeAndSend1Batch=function(){var t=this;if(this.odpConfig){var n=this.queue.splice(0,this.batchSize),r=this.odpConfig;n.length>0&&GE(function(){return qt(t,void 0,void 0,function(){var o,i;return Wt(this,function(s){switch(s.label){case 0:i=0,s.label=1;case 1:return[4,this.apiManager.sendEvents(r,n)];case 2:o=s.sent(),i+=1,s.label=3;case 3:if(o&&i0},e.prototype.augmentCommonData=function(t){var n=new Map(this.userAgentData);return n.set("idempotence_id",Vc()),n.set("data_source_type","sdk"),n.set("data_source",this.clientEngine),n.set("data_source_version",this.clientVersion),t.forEach(function(r,o){return n.set(o,r)}),n},e.prototype.getLogger=function(){return this.logger},e.prototype.getQueue=function(){return this.queue},e}(),I3=100,O3=function(e){Li(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.hasNecessaryIdentifiers=function(r){return r.identifiers.size>=0},n}return t.prototype.initParams=function(n,r,o){this.queueSize=r||I3,this.batchSize=1,this.flushInterval=0,typeof n<"u"&&n!==1&&this.getLogger().log(Oe.WARNING,"ODP event batch size must be 1 in the browser."),typeof o<"u"&&o!==0&&this.getLogger().log(Oe.WARNING,"ODP event flush interval must be 0 in the browser.")},t.prototype.discardEventsIfNeeded=function(){this.getLogger().log(Oe.DEBUG,"ODPConfig not ready. Leaving events in queue.")},t}(R3),x3=function(){function e(t,n,r,o){this.odpConfig=o,this._segmentsCache=t,this.odpSegmentApiManager=n,this.logger=r||Xt("OdpSegmentManager")}return Object.defineProperty(e.prototype,"segmentsCache",{get:function(){return this._segmentsCache},enumerable:!1,configurable:!0}),e.prototype.fetchQualifiedSegments=function(t,n,r){return qt(this,void 0,void 0,function(){var o,i,s,a,l,u;return Wt(this,function(c){switch(c.label){case 0:if(!this.odpConfig)return this.logger.log(Oe.WARNING,Ee.ODP_CONFIG_NOT_AVAILABLE),[2,null];if(o=this.odpConfig.segmentsToCheck,!o||o.length<=0)return this.logger.log(Oe.DEBUG,"No segments are used in the project. Returning an empty list."),[2,[]];if(i=this.makeCacheKey(t,n),s=r.includes(rc.IGNORE_CACHE),a=r.includes(rc.RESET_CACHE),a&&this.reset(),!s&&!a){if(l=this._segmentsCache.lookup(i),l)return this.logger.log(Oe.DEBUG,'ODP cache hit. Returning segments from cache "%s".',i),[2,l];this.logger.log(Oe.DEBUG,"ODP cache miss.")}return this.logger.log(Oe.DEBUG,"Making a call to ODP server."),[4,this.odpSegmentApiManager.fetchSegments(this.odpConfig.apiKey,this.odpConfig.apiHost,t,n,o)];case 1:return u=c.sent(),u&&!s&&this._segmentsCache.save({key:i,value:u}),[2,u]}})})},e.prototype.reset=function(){this._segmentsCache.reset()},e.prototype.makeCacheKey=function(t,n){return"".concat(t,"-$-").concat(n)},e.prototype.updateSettings=function(t){this.odpConfig=t,this.reset()},e}(),C3={$schema:"http://json-schema.org/draft-04/schema#",title:"Project Config JSON Schema",type:"object",properties:{projectId:{type:"string",required:!0},accountId:{type:"string",required:!0},groups:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},policy:{type:"string",required:!0},trafficAllocation:{type:"array",items:{type:"object",properties:{entityId:{type:"string",required:!0},endOfRange:{type:"integer",required:!0}}},required:!0},experiments:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},key:{type:"string",required:!0},status:{type:"string",required:!0},layerId:{type:"string",required:!0},variations:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},key:{type:"string",required:!0}}},required:!0},trafficAllocation:{type:"array",items:{type:"object",properties:{entityId:{type:"string",required:!0},endOfRange:{type:"integer",required:!0}}},required:!0},audienceIds:{type:"array",items:{type:"string"},required:!0},forcedVariations:{type:"object",required:!0}}},required:!0}}},required:!0},experiments:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},key:{type:"string",required:!0},status:{type:"string",required:!0},layerId:{type:"string",required:!0},variations:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},key:{type:"string",required:!0}}},required:!0},trafficAllocation:{type:"array",items:{type:"object",properties:{entityId:{type:"string",required:!0},endOfRange:{type:"integer",required:!0}}},required:!0},audienceIds:{type:"array",items:{type:"string"},required:!0},forcedVariations:{type:"object",required:!0}}},required:!0},events:{type:"array",items:{type:"object",properties:{key:{type:"string",required:!0},experimentIds:{type:"array",items:{type:"string",required:!0}},id:{type:"string",required:!0}}},required:!0},audiences:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},name:{type:"string",required:!0},conditions:{type:"string",required:!0}}},required:!0},attributes:{type:"array",items:{type:"object",properties:{id:{type:"string",required:!0},key:{type:"string",required:!0}}},required:!0},version:{type:"string",required:!0},revision:{type:"string",required:!0},integrations:{type:"array",items:{type:"object",properties:{key:{type:"string",required:!0},host:{type:"string"},publicKey:{type:"string"},pixelUrl:{type:"string"}}}}}},N3=C3,L3="JSON_SCHEMA_VALIDATOR";function k3(e,t,n){t===void 0&&(t=N3);var r="".concat(L3," (").concat(t.title,")");if(typeof e!="object"||e===null)throw new Error(ft(Ee.NO_JSON_PROVIDED,r));var o=OF.validate(e,t);return!!o.valid}var P3={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://example.com/example.json",title:"ODP Response Schema",type:"object",required:["data"],properties:{data:{title:"The data Schema",type:"object",required:["customer"],properties:{customer:{title:"The customer Schema",type:"object",required:[],properties:{audiences:{title:"The audiences Schema",type:"object",required:["edges"],properties:{edges:{title:"The edges Schema",type:"array",items:{title:"A Schema",type:"object",required:["node"],properties:{node:{title:"The node Schema",type:"object",required:["name","state"],properties:{name:{title:"The name Schema",type:"string",examples:["has_email","has_email_opted_in"]},state:{title:"The state Schema",type:"string",examples:["qualified"]}},examples:[]}},examples:[]},examples:[]}},examples:[]}},examples:[]}},examples:[]},errors:{title:"The errors Schema",type:"array",default:[],items:{title:"A Schema",type:"object",required:["message","locations","extensions"],properties:{message:{title:"The message Schema",type:"string",examples:["Exception while fetching data (/customer) : java.lang.RuntimeException: could not resolve _fs_user_id = asdsdaddddd"]},locations:{title:"The locations Schema",type:"array",items:{title:"A Schema",type:"object",required:["line","column"],properties:{line:{title:"The line Schema",type:"integer",examples:[2]},column:{title:"The column Schema",type:"integer",examples:[3]}},examples:[]},examples:[]},path:{title:"The path Schema",type:"array",items:{title:"A Schema",type:"string",examples:["customer"]},examples:[]},extensions:{title:"The extensions Schema",type:"object",required:["classification"],properties:{classification:{title:"The classification Schema",type:"string",examples:["InvalidIdentifierException"]}},examples:[]}},examples:[]},examples:[]}},examples:[]},D3="qualified",M3=[],s_=null,Bi="Audience segments fetch failed",F3=function(){function e(t,n){this.toGraphQLJson=function(r,o,i){return Ss(Ss(['{"query" : "query {customer',"(".concat(r,' : \\"').concat(o,'\\") '),"{audiences","(subset: ["],(i==null?void 0:i.map(function(s,a){return'\\"'.concat(s,'\\"').concat(a0?(g=p.errors[0].extensions,h=g.code,_=g.classification,h=="INVALID_IDENTIFIER_EXCEPTION"?this.logger.log(Oe.ERROR,"".concat(Bi," (invalid identifier)")):this.logger.log(Oe.ERROR,"".concat(Bi," (").concat(_,")")),[2,null]):(m=(u=(l=(a=p==null?void 0:p.data)===null||a===void 0?void 0:a.customer)===null||l===void 0?void 0:l.audiences)===null||u===void 0?void 0:u.edges,m?[2,m.filter(function(y){return y.node.state==D3}).map(function(y){return y.node.name})]:(this.logger.log(Oe.ERROR,"".concat(Bi," (decode error)")),[2,null])):(this.logger.log(Oe.ERROR,"".concat(Bi," (decode error)")),[2,null])):(this.logger.log(Oe.ERROR,"".concat(Bi," (network error)")),[2,null])}})})},e.prototype.querySegments=function(t,n,r,o,i){return qt(this,void 0,void 0,function(){var s,a,l,u,c;return Wt(this,function(f){switch(f.label){case 0:s="POST",a=n,l={"Content-Type":"application/json","x-api-key":t},f.label=1;case 1:return f.trys.push([1,3,,4]),c=this.requestHandler.makeRequest(a,l,s,i),[4,c.responsePromise];case 2:return u=f.sent(),[3,4];case 3:return f.sent(),[2,null];case 4:return[2,u.body]}})})},e.prototype.parseSegmentsResponseJson=function(t){var n={};try{n=JSON.parse(t)}catch{return s_}return k3(n,P3)?n:s_},e}(),U3=function(e){Li(t,e);function t(n){return e.call(this,n)||this}return t.createInstance=function(n){var r=n.logger,o=n.odpOptions,i=n.odpIntegrationConfig,s=n.clientEngine,a=n.clientVersion;r=r||Xt(),s=s||Ch,a=a||Nh;var l=void 0;i!=null&&i.integrated&&(l=i.odpConfig);var u;o!=null&&o.segmentsRequestHandler?u=o.segmentsRequestHandler:u=new n_(r,(o==null?void 0:o.segmentsApiTimeout)||TE);var c;o!=null&&o.segmentManager?c=o.segmentManager:c=new x3((o==null?void 0:o.segmentsCache)||new _3({maxSize:o==null?void 0:o.segmentsCacheSize,timeout:o==null?void 0:o.segmentsCacheTimeout}),new F3(u,r),r,l);var f;o!=null&&o.eventRequestHandler?f=o.eventRequestHandler:f=new n_(r,(o==null?void 0:o.eventApiTimeout)||wE);var d;return o!=null&&o.eventManager?d=o.eventManager:d=new O3({odpConfig:l,apiManager:new S3(f,r),logger:r,clientEngine:s,clientVersion:a,flushInterval:o==null?void 0:o.eventFlushInterval,batchSize:o==null?void 0:o.eventBatchSize,queueSize:o==null?void 0:o.eventQueueSize,userAgentParser:o==null?void 0:o.userAgentParser}),new t({odpIntegrationConfig:i,segmentManager:c,eventManager:d,logger:r})},t.prototype.initializeVuid=function(){return qt(this,void 0,void 0,function(){var n;return Wt(this,function(r){switch(r.label){case 0:return[4,pa.instance(t.cache)];case 1:return n=r.sent(),this.vuid=n.vuid,[2]}})})},t.prototype.identifyUser=function(n,r){if(n&&pa.isVuid(n)){e.prototype.identifyUser.call(this,void 0,n);return}if(n&&r&&pa.isVuid(r)){e.prototype.identifyUser.call(this,n,r);return}e.prototype.identifyUser.call(this,n,r||this.vuid)},t.prototype.sendEvent=function(n){var r=n.type,o=n.action,i=n.identifiers,s=n.data,a=new Map(i);if(!i.has(dr.VUID))if(this.vuid)a.set(dr.VUID,this.vuid);else throw new Error(Ee.ODP_SEND_EVENT_FAILED_VUID_MISSING);e.prototype.sendEvent.call(this,{type:r,action:o,identifiers:a,data:s})},t.prototype.isVuidEnabled=function(){return!0},t.prototype.getVuid=function(){return this.vuid},t.cache=new m3,t}(b3);function a_(e,t,n){return{variationKey:null,enabled:!1,variables:{},ruleKey:null,flagKey:e,userContext:t,reasons:n}}var l_=function(){function e(t){var n=t.optimizely,r=t.userId,o=t.attributes,i=t.shouldIdentifyUser,s=i===void 0?!0:i,a=this,l;this._qualifiedSegments=null,this.optimizely=n,this.userId=r,this.attributes=(l=nr({},o))!==null&&l!==void 0?l:{},this.forcedDecisionsMap={},s&&n.readyPromise.then(function(u){var c=u.success;c&&n.isOdpIntegrated()&&a.identifyUser()})}return e.prototype.identifyUser=function(){this.optimizely.identifyUser(this.userId)},e.prototype.setAttribute=function(t,n){this.attributes[t]=n},e.prototype.getUserId=function(){return this.userId},e.prototype.getAttributes=function(){return nr({},this.attributes)},e.prototype.getOptimizely=function(){return this.optimizely},Object.defineProperty(e.prototype,"qualifiedSegments",{get:function(){return this._qualifiedSegments},set:function(t){this._qualifiedSegments=t},enumerable:!1,configurable:!0}),e.prototype.decide=function(t,n){return n===void 0&&(n=[]),this.optimizely.decide(this.cloneUserContext(),t,n)},e.prototype.decideForKeys=function(t,n){return n===void 0&&(n=[]),this.optimizely.decideForKeys(this.cloneUserContext(),t,n)},e.prototype.decideAll=function(t){return t===void 0&&(t=[]),this.optimizely.decideAll(this.cloneUserContext(),t)},e.prototype.trackEvent=function(t,n){this.optimizely.track(t,this.userId,this.attributes,n)},e.prototype.setForcedDecision=function(t,n){var r,o=t.flagKey,i=(r=t.ruleKey)!==null&&r!==void 0?r:Hr.FORCED_DECISION_NULL_RULE_KEY,s=n.variationKey,a={variationKey:s};return this.forcedDecisionsMap[o]||(this.forcedDecisionsMap[o]={}),this.forcedDecisionsMap[o][i]=a,!0},e.prototype.getForcedDecision=function(t){return this.findForcedDecision(t)},e.prototype.removeForcedDecision=function(t){var n,r=(n=t.ruleKey)!==null&&n!==void 0?n:Hr.FORCED_DECISION_NULL_RULE_KEY,o=t.flagKey,i=!1;if(this.forcedDecisionsMap.hasOwnProperty(o)){var s=this.forcedDecisionsMap[o];s.hasOwnProperty(r)&&(delete this.forcedDecisionsMap[o][r],i=!0),Object.keys(this.forcedDecisionsMap[o]).length===0&&delete this.forcedDecisionsMap[o]}return i},e.prototype.removeAllForcedDecisions=function(){return this.forcedDecisionsMap={},!0},e.prototype.findForcedDecision=function(t){var n,r,o=(n=t.ruleKey)!==null&&n!==void 0?n:Hr.FORCED_DECISION_NULL_RULE_KEY,i=t.flagKey;if(this.forcedDecisionsMap.hasOwnProperty(t.flagKey)){var s=this.forcedDecisionsMap[i];if(s.hasOwnProperty(o))return r=s[o].variationKey,{variationKey:r}}return null},e.prototype.cloneUserContext=function(){var t=new e({shouldIdentifyUser:!1,optimizely:this.getOptimizely(),userId:this.getUserId(),attributes:this.getAttributes()});return Object.keys(this.forcedDecisionsMap).length>0&&(t.forcedDecisionsMap=nr({},this.forcedDecisionsMap)),t._qualifiedSegments=this._qualifiedSegments,t},e.prototype.fetchQualifiedSegments=function(t){return qt(this,void 0,void 0,function(){var n;return Wt(this,function(r){switch(r.label){case 0:return[4,this.optimizely.fetchQualifiedSegments(this.userId,t)];case 1:return n=r.sent(),this.qualifiedSegments=n,[2,n!==null]}})})},e.prototype.isQualifiedFor=function(t){return this._qualifiedSegments?this._qualifiedSegments.indexOf(t)>-1:!1},e}(),KE="and",qE="or",WE="not",YE=[KE,qE,WE];function Fa(e,t){if(Array.isArray(e)){var n=e[0],r=e.slice(1);switch(typeof n=="string"&&YE.indexOf(n)===-1&&(n=qE,r=e),n){case KE:return j3(r,t);case WE:return V3(r,t);default:return $3(r,t)}}var o=e;return t(o)}function j3(e,t){var n=!1;if(Array.isArray(e)){for(var r=0;r0){var n=Fa(e[0],t);return n===null?null:!n}return null}function $3(e,t){var n=!1;if(Array.isArray(e)){for(var r=0;r-1)o=i.toUpperCase();else{var a=n[i]?n[i].name:i;r||o==="NOT"?(o=o===""?"OR":o,r===""?r="".concat(o,' "').concat(n[i].name,'"'):r=r.concat(" ".concat(o,' "').concat(a,'"'))):r='"'.concat(a,'"')}s!==""&&(r!==""||o==="NOT"?(o=o===""?"OR":o,r===""?r="".concat(o," ").concat(s):r=r.concat(" ".concat(o," ").concat(s))):r=r.concat(s))})}return r},e.getExperimentAudiences=function(t,n){return t.audienceConditions?e.getSerializedAudiences(t.audienceConditions,n.audiencesById):""},e.mergeFeatureVariables=function(t,n,r,o,i){var s=(t[r]||[]).reduce(function(a,l){return a[l.key]={id:l.id,key:l.key,type:l.type,value:l.defaultValue},a},{});return(o||[]).forEach(function(a){var l=n[a.id],u={id:a.id,key:l.key,type:l.type,value:i?a.value:l.defaultValue};s[l.key]=u}),s},e.getVariationsMap=function(t,n,r,o){var i={};return i=t.reduce(function(s,a){var l=e.mergeFeatureVariables(n,r,o,a.variables,a.featureEnabled);return s[a.key]={id:a.id,key:a.key,featureEnabled:a.featureEnabled,variablesMap:l},s},{}),i},e.getVariableIdMap=function(t){var n={};return n=(t.featureFlags||[]).reduce(function(r,o){return o.variables.forEach(function(i){r[i.id]=i}),r},{}),n},e.getDeliveryRules=function(t,n,r,o,i){return o.map(function(s){return{id:s.id,key:s.key,audiences:e.getExperimentAudiences(s,t),variationsMap:e.getVariationsMap(s.variations,n,i,r)}})},e.getRolloutExperimentIds=function(t){var n=[];return(t||[]).forEach(function(r){r.experiments.forEach(function(o){n.push(o.id)})}),n},e.getExperimentsMap=function(t,n,r,o){var i=this.getRolloutExperimentIds(t.rollouts),s={},a={},l=t.experiments||[];return l.forEach(function(u){if(i.indexOf(u.id)===-1){var c=t.experimentFeatureMap[u.id],f="";c&&c.length>0&&(f=c[0]);var d=e.getVariationsMap(u.variations,n,r,f.toString()),p={id:u.id,key:u.key,audiences:e.getExperimentAudiences(u,t),variationsMap:d};s[u.id]=p,a[u.key]&&o&&o.warn("Duplicate experiment keys found in datafile: ".concat(u.key)),a[u.key]=p}}),{experimentsMapById:s,experimentsMapByKey:a}},e.getExperimentsKeyMap=function(t){var n={};for(var r in t){var o=t[r];n[o.key]=o}return n},e.getFeaturesMap=function(t,n,r,o){var i={};return t.featureFlags.forEach(function(s){var a={},l=[];s.experimentIds.forEach(function(d){var p=r[d];p&&(a[p.key]=p),l.push(r[d])});var u=(s.variables||[]).reduce(function(d,p){return d[p.key]={id:p.id,key:p.key,type:p.type,value:p.defaultValue},d},{}),c=[],f=t.rolloutIdMap[s.rolloutId];f&&(c=e.getDeliveryRules(t,n,s.id,f.experiments,o)),i[s.key]={id:s.id,key:s.key,experimentRules:l,deliveryRules:c,experimentsMap:a,variablesMap:u}}),i},e}();function H3(e,t,n){return new B3(e,t,n)}var Ks=Xt(),z3="PROJECT_CONFIG_MANAGER";function Hi(e,t){return e instanceof Error?e.message:t||"Unknown error"}var G3=function(){function e(t){this.updateListeners=[],this.configObj=null,this.optimizelyConfigObj=null,this.datafileManager=null;try{if(this.jsonSchemaValidator=t.jsonSchemaValidator,!t.datafile&&!t.sdkKey){var n=new Error(ft(Ee.DATAFILE_AND_SDK_KEY_MISSING,z3));this.readyPromise=Promise.resolve({success:!1,reason:Hi(n)}),Ks.error(n);return}var r=null;t.datafile&&(r=this.handleNewDatafile(t.datafile)),t.sdkKey&&t.datafileManager?(this.datafileManager=t.datafileManager,this.datafileManager.start(),this.readyPromise=this.datafileManager.onReady().then(this.onDatafileManagerReadyFulfill.bind(this),this.onDatafileManagerReadyReject.bind(this)),this.datafileManager.on("update",this.onDatafileManagerUpdate.bind(this))):this.configObj?this.readyPromise=Promise.resolve({success:!0}):this.readyPromise=Promise.resolve({success:!1,reason:Hi(r,"Invalid datafile")})}catch(o){Ks.error(o),this.readyPromise=Promise.resolve({success:!1,reason:Hi(o,"Error in initialize")})}}return e.prototype.onDatafileManagerReadyFulfill=function(){if(this.datafileManager){var t=this.handleNewDatafile(this.datafileManager.get());return t?{success:!1,reason:Hi(t)}:{success:!0}}return{success:!1,reason:Hi(null,"Datafile manager is not provided")}},e.prototype.onDatafileManagerReadyReject=function(t){return{success:!1,reason:Hi(t,"Failed to become ready")}},e.prototype.onDatafileManagerUpdate=function(){this.datafileManager&&this.handleNewDatafile(this.datafileManager.get())},e.prototype.handleNewDatafile=function(t){var n=this,r=BE({datafile:t,jsonSchemaValidator:this.jsonSchemaValidator,logger:Ks}),o=r.configObj,i=r.error;if(i)Ks.error(i);else{var s=this.configObj?this.configObj.revision:"null";o&&s!==o.revision&&(this.configObj=o,this.optimizelyConfigObj=null,GE(function(){n.updateListeners.forEach(function(a){return a(o)})}))}return i},e.prototype.getConfig=function(){return this.configObj},e.prototype.getOptimizelyConfig=function(){return!this.optimizelyConfigObj&&this.configObj&&(this.optimizelyConfigObj=H3(this.configObj,$E(this.configObj),Ks)),this.optimizelyConfigObj},e.prototype.onReady=function(){return this.readyPromise},e.prototype.onUpdate=function(t){var n=this;return this.updateListeners.push(t),function(){var r=n.updateListeners.indexOf(t);r>-1&&n.updateListeners.splice(r,1)}},e.prototype.stop=function(){this.datafileManager&&this.datafileManager.stop(),this.updateListeners=[]},e}();function K3(e){return new G3(e)}var q3=1,W3=Math.pow(2,32),Y3=1e4,Qn="BUCKETER",X3="random",u_=function(e){var t=[],n=e.experimentIdMap[e.experimentId],r=n.groupId;if(r){var o=e.groupIdMap[r];if(!o)throw new Error(ft(Ee.INVALID_GROUP_ID,Qn,r));if(o.policy===X3){var i=J3(o,e.bucketingId,e.userId,e.logger);if(i===null)return e.logger.log(q.INFO,Y.USER_NOT_IN_ANY_EXPERIMENT,Qn,e.userId,r),t.push([Y.USER_NOT_IN_ANY_EXPERIMENT,Qn,e.userId,r]),{result:null,reasons:t};if(i!==e.experimentId)return e.logger.log(q.INFO,Y.USER_NOT_BUCKETED_INTO_EXPERIMENT_IN_GROUP,Qn,e.userId,e.experimentKey,r),t.push([Y.USER_NOT_BUCKETED_INTO_EXPERIMENT_IN_GROUP,Qn,e.userId,e.experimentKey,r]),{result:null,reasons:t};e.logger.log(q.INFO,Y.USER_BUCKETED_INTO_EXPERIMENT_IN_GROUP,Qn,e.userId,e.experimentKey,r),t.push([Y.USER_BUCKETED_INTO_EXPERIMENT_IN_GROUP,Qn,e.userId,e.experimentKey,r])}}var s="".concat(e.bucketingId).concat(e.experimentId),a=JE(s);e.logger.log(q.DEBUG,Y.USER_ASSIGNED_TO_EXPERIMENT_BUCKET,Qn,a,e.userId),t.push([Y.USER_ASSIGNED_TO_EXPERIMENT_BUCKET,Qn,a,e.userId]);var l=XE(a,e.trafficAllocationConfig);return l!==null&&!e.variationIdMap[l]?(l&&(e.logger.log(q.WARNING,Y.INVALID_VARIATION_ID,Qn),t.push([Y.INVALID_VARIATION_ID,Qn])),{result:null,reasons:t}):{result:l,reasons:t}},J3=function(e,t,n,r){var o="".concat(t).concat(e.id),i=JE(o);r.log(q.DEBUG,Y.USER_ASSIGNED_TO_EXPERIMENT_BUCKET,Qn,i,n);var s=e.trafficAllocation,a=XE(i,s);return a},XE=function(e,t){for(var n=0;n2)return Yl.warn(Y.UNKNOWN_MATCH_TYPE,Wl,e),null;var o=t.split(".");if(o.length!=r+1)return Yl.warn(Y.UNKNOWN_MATCH_TYPE,Wl,e),null;for(var i=0,s=o;ia)return 1;if(sr[i])return!xo(e)&&xo(t)?-1:1}}return xo(t)&&!xo(e)?-1:0}var Tn="CUSTOM_ATTRIBUTE_CONDITION_EVALUATOR",wn=Xt(),e2="exact",kh="exists",t2="ge",n2="gt",r2="le",o2="lt",i2="semver_eq",s2="semver_ge",a2="semver_gt",l2="semver_le",u2="semver_lt",c2="substring",e5=[e2,kh,n2,t2,o2,r2,c2,i2,u2,l2,a2,s2],or={};or[e2]=ap;or[kh]=n5;or[n2]=r5;or[t2]=o5;or[o2]=i5;or[r2]=s5;or[c2]=a5;or[i2]=l5;or[a2]=u5;or[s2]=f5;or[u2]=c5;or[l2]=d5;function t5(e,t){var n=t.getAttributes(),r=e.match;if(typeof r<"u"&&e5.indexOf(r)===-1)return wn.warn(Y.UNKNOWN_MATCH_TYPE,Tn,JSON.stringify(e)),null;var o=e.name;if(!n.hasOwnProperty(o)&&r!=kh)return wn.debug(Y.MISSING_ATTRIBUTE_VALUE,Tn,JSON.stringify(e),o),null;var i;return r?i=or[r]||ap:i=ap,i(e,t)}function f_(e){return typeof e=="string"||typeof e=="boolean"||Ut.isNumber(e)}function ap(e,t){var n=t.getAttributes(),r=e.value,o=typeof r,i=e.name,s=n[i],a=typeof s;return!f_(r)||Ut.isNumber(r)&&!Ut.isSafeInteger(r)?(wn.warn(Y.UNEXPECTED_CONDITION_VALUE,Tn,JSON.stringify(e)),null):s===null?(wn.debug(Y.UNEXPECTED_TYPE_NULL,Tn,JSON.stringify(e),i),null):!f_(s)||o!==a?(wn.warn(Y.UNEXPECTED_TYPE,Tn,JSON.stringify(e),a,i),null):Ut.isNumber(s)&&!Ut.isSafeInteger(s)?(wn.warn(Y.OUT_OF_BOUNDS,Tn,JSON.stringify(e),i),null):r===s}function n5(e,t){var n=t.getAttributes(),r=n[e.name];return typeof r<"u"&&r!==null}function $c(e,t){var n=t.getAttributes(),r=e.name,o=n[r],i=typeof o,s=e.value;return s===null||!Ut.isSafeInteger(s)?(wn.warn(Y.UNEXPECTED_CONDITION_VALUE,Tn,JSON.stringify(e)),!1):o===null?(wn.debug(Y.UNEXPECTED_TYPE_NULL,Tn,JSON.stringify(e),r),!1):Ut.isNumber(o)?Ut.isSafeInteger(o)?!0:(wn.warn(Y.OUT_OF_BOUNDS,Tn,JSON.stringify(e),r),!1):(wn.warn(Y.UNEXPECTED_TYPE,Tn,JSON.stringify(e),i,r),!1)}function r5(e,t){var n=t.getAttributes(),r=n[e.name],o=e.value;return!$c(e,t)||o===null?null:r>o}function o5(e,t){var n=t.getAttributes(),r=n[e.name],o=e.value;return!$c(e,t)||o===null?null:r>=o}function i5(e,t){var n=t.getAttributes(),r=n[e.name],o=e.value;return!$c(e,t)||o===null?null:r0}function c5(e,t){var n=sl(e,t);return n===null?null:n<0}function f5(e,t){var n=sl(e,t);return n===null?null:n>=0}function d5(e,t){var n=sl(e,t);return n===null?null:n<=0}var p5=Object.freeze({__proto__:null,evaluate:t5}),h5="ODP_SEGMENT_CONDITION_EVALUATOR",g5=Xt(),f2="qualified",m5=[f2],d2={};d2[f2]=lp;function y5(e,t){var n=e.match;if(typeof n<"u"&&m5.indexOf(n)===-1)return g5.warn(Y.UNKNOWN_MATCH_TYPE,h5,JSON.stringify(e)),null;var r;return n?r=d2[n]||lp:r=lp,r(e,t)}function lp(e,t){return t.isQualifiedFor(e.value)}var _5=Object.freeze({__proto__:null,evaluate:y5}),Xl=Xt(),Jl="AUDIENCE_EVALUATOR",v5=function(){function e(t){this.typeToEvaluatorMap=Ut.assign({},t,{custom_attribute:p5,third_party_dimension:_5})}return e.prototype.evaluate=function(t,n,r){var o=this;if(!t||t.length===0)return!0;var i=function(s){var a=n[s];if(a){Xl.log(q.DEBUG,Y.EVALUATING_AUDIENCE,Jl,s,JSON.stringify(a.conditions));var l=Fa(a.conditions,o.evaluateConditionWithUserAttributes.bind(o,r)),u=l===null?"UNKNOWN":l.toString().toUpperCase();return Xl.log(q.DEBUG,Y.AUDIENCE_EVALUATION_RESULT,Jl,s,u),l}return null};return!!Fa(t,i)},e.prototype.evaluateConditionWithUserAttributes=function(t,n){var r=this.typeToEvaluatorMap[n.type];if(!r)return Xl.log(q.WARNING,Y.UNKNOWN_CONDITION_TYPE,Jl,JSON.stringify(n)),null;try{return r.evaluate(n,t)}catch(o){Xl.log(q.ERROR,Ee.CONDITION_EVALUATOR_ERROR,Jl,n.type,o.message)}return null},e}(),b5=function(e){return new v5(e)};function p2(e){return typeof e=="string"&&e!==""}var Pe="DECISION_SERVICE",E5=function(){function e(t){this.audienceEvaluator=b5(t.UNSTABLE_conditionEvaluators),this.forcedVariationMap={},this.logger=t.logger,this.userProfileService=t.userProfileService||null}return e.prototype.getVariation=function(t,n,r,o){o===void 0&&(o={});var i=r.getUserId(),s=r.getAttributes(),a=this.getBucketingId(i,s),l=[],u=n.key;if(!this.checkIfExperimentIsActive(t,u))return this.logger.log(q.INFO,Y.EXPERIMENT_NOT_RUNNING,Pe,u),l.push([Y.EXPERIMENT_NOT_RUNNING,Pe,u]),{result:null,reasons:l};var c=this.getForcedVariation(t,u,i);l.push.apply(l,c.reasons);var f=c.result;if(f)return{result:f,reasons:l};var d=this.getWhitelistedVariation(n,i);l.push.apply(l,d.reasons);var p=d.result;if(p)return{result:p.key,reasons:l};var g=o[jr.IGNORE_USER_PROFILE_SERVICE],h=this.resolveExperimentBucketMap(i,s);if(!g&&(p=this.getStoredVariation(t,n,i,h),p))return this.logger.log(q.INFO,Y.RETURNING_STORED_VARIATION,Pe,p.key,u,i),l.push([Y.RETURNING_STORED_VARIATION,Pe,p.key,u,i]),{result:p.key,reasons:l};var _=this.checkIfUserIsInAudience(t,n,np.EXPERIMENT,r,"");if(l.push.apply(l,_.reasons),!_.result)return this.logger.log(q.INFO,Y.USER_NOT_IN_EXPERIMENT,Pe,i,u),l.push([Y.USER_NOT_IN_EXPERIMENT,Pe,i,u]),{result:null,reasons:l};var m=this.buildBucketerParams(t,n,a,i),E=u_(m);l.push.apply(l,E.reasons);var y=E.result;return y&&(p=t.variationIdMap[y]),p?(this.logger.log(q.INFO,Y.USER_HAS_VARIATION,Pe,i,p.key,u),l.push([Y.USER_HAS_VARIATION,Pe,i,p.key,u]),g||this.saveUserProfile(n,p,i,h),{result:p.key,reasons:l}):(this.logger.log(q.DEBUG,Y.USER_HAS_NO_VARIATION,Pe,i,u),l.push([Y.USER_HAS_NO_VARIATION,Pe,i,u]),{result:null,reasons:l})},e.prototype.resolveExperimentBucketMap=function(t,n){n=n||{};var r=this.getUserProfile(t)||{},o=n[Hr.STICKY_BUCKETING_KEY];return Ut.assign({},r.experiment_bucket_map,o)},e.prototype.checkIfExperimentIsActive=function(t,n){return n3(t,n)},e.prototype.getWhitelistedVariation=function(t,n){var r=[];if(t.forcedVariations&&t.forcedVariations.hasOwnProperty(n)){var o=t.forcedVariations[n];return t.variationKeyMap.hasOwnProperty(o)?(this.logger.log(q.INFO,Y.USER_FORCED_IN_VARIATION,Pe,n,o),r.push([Y.USER_FORCED_IN_VARIATION,Pe,n,o]),{result:t.variationKeyMap[o],reasons:r}):(this.logger.log(q.ERROR,Y.FORCED_BUCKETING_FAILED,Pe,o,n),r.push([Y.FORCED_BUCKETING_FAILED,Pe,o,n]),{result:null,reasons:r})}return{result:null,reasons:r}},e.prototype.checkIfUserIsInAudience=function(t,n,r,o,i){var s=[],a=o3(t,n.id),l=d3(t);this.logger.log(q.DEBUG,Y.EVALUATING_AUDIENCES_COMBINED,Pe,r,i||n.key,JSON.stringify(a)),s.push([Y.EVALUATING_AUDIENCES_COMBINED,Pe,r,i||n.key,JSON.stringify(a)]);var u=this.audienceEvaluator.evaluate(a,l,o);return this.logger.log(q.INFO,Y.AUDIENCE_EVALUATION_RESULT_COMBINED,Pe,r,i||n.key,u.toString().toUpperCase()),s.push([Y.AUDIENCE_EVALUATION_RESULT_COMBINED,Pe,r,i||n.key,u.toString().toUpperCase()]),{result:u,reasons:s}},e.prototype.buildBucketerParams=function(t,n,r,o){return{bucketingId:r,experimentId:n.id,experimentKey:n.key,experimentIdMap:t.experimentIdMap,experimentKeyMap:t.experimentKeyMap,groupIdMap:t.groupIdMap,logger:this.logger,trafficAllocationConfig:a3(t,n.id),userId:o,variationIdMap:t.variationIdMap}},e.prototype.getStoredVariation=function(t,n,r,o){if(o.hasOwnProperty(n.id)){var i=o[n.id],s=i.variation_id;if(t.variationIdMap.hasOwnProperty(s))return t.variationIdMap[i.variation_id];this.logger.log(q.INFO,Y.SAVED_VARIATION_NOT_FOUND,Pe,r,s,n.key)}return null},e.prototype.getUserProfile=function(t){var n={user_id:t,experiment_bucket_map:{}};if(!this.userProfileService)return n;try{return this.userProfileService.lookup(t)}catch(r){this.logger.log(q.ERROR,Ee.USER_PROFILE_LOOKUP_ERROR,Pe,t,r.message)}return null},e.prototype.saveUserProfile=function(t,n,r,o){if(this.userProfileService)try{o[t.id]={variation_id:n.id},this.userProfileService.save({user_id:r,experiment_bucket_map:o}),this.logger.log(q.INFO,Y.SAVED_VARIATION,Pe,n.key,t.key,r)}catch(i){this.logger.log(q.ERROR,Ee.USER_PROFILE_SAVE_ERROR,Pe,r,i.message)}},e.prototype.getVariationForFeature=function(t,n,r,o){o===void 0&&(o={});var i=[],s=this.getVariationForFeatureExperiment(t,n,r,o);i.push.apply(i,s.reasons);var a=s.result;if(a.variation!==null)return{result:a,reasons:i};var l=this.getVariationForRollout(t,n,r);i.push.apply(i,l.reasons);var u=l.result,c=r.getUserId();return u.variation?(this.logger.log(q.DEBUG,Y.USER_IN_ROLLOUT,Pe,c,n.key),i.push([Y.USER_IN_ROLLOUT,Pe,c,n.key]),{result:u,reasons:i}):(this.logger.log(q.DEBUG,Y.USER_NOT_IN_ROLLOUT,Pe,c,n.key),i.push([Y.USER_NOT_IN_ROLLOUT,Pe,c,n.key]),{result:u,reasons:i})},e.prototype.getVariationForFeatureExperiment=function(t,n,r,o){o===void 0&&(o={});var i=[],s=null,a,l,u;if(n.experimentIds.length>0)for(l=0;l"u")throw new Error(ft(Ee.UNDEFINED_ATTRIBUTE,d_,t))}),!0;throw new Error(ft(Ee.INVALID_ATTRIBUTES,d_))}function m2(e,t){return typeof e=="string"&&(typeof t=="string"||typeof t=="boolean"||Ut.isNumber(t)&&Ut.isSafeInteger(t))}var R5="campaign_activated",p_="custom",y2="https://logx.optimizely.com/v1/events",_2="POST";function v2(e){var t=e.attributes,n=e.userId,r=e.clientEngine,o=e.clientVersion,i=e.configObj,s=e.logger,a=i.anonymizeIP?i.anonymizeIP:!1,l=i.botFiltering,u={snapshots:[],visitor_id:n,attributes:[]},c={account_id:i.accountId,project_id:i.projectId,visitors:[u],revision:i.revision,client_name:r,client_version:o,anonymize_ip:a,enrich_decisions:!0};return t&&Object.keys(t||{}).forEach(function(f){var d=t[f];if(m2(f,d)){var p=FE(i,f,s);p&&c.visitors[0].attributes.push({entity_id:p,key:f,type:p_,value:d})}}),typeof l=="boolean"&&c.visitors[0].attributes.push({entity_id:Hr.BOT_FILTERING,key:Hr.BOT_FILTERING,type:p_,value:l}),c}function I5(e,t,n,r,o,i,s){var a=t?ME(e,t):null,l=n?VE(e,n):null;l=l||"";var u={decisions:[{campaign_id:a,experiment_id:t,variation_id:n,metadata:{flag_key:i,rule_key:r,rule_type:o,variation_key:l,enabled:s}}],events:[{entity_id:a,timestamp:Ut.currentTimestamp(),key:R5,uuid:Ut.uuid()}]};return u}function O5(e,t,n,r){var o={events:[]},i={entity_id:UE(e,t),timestamp:Ut.currentTimestamp(),uuid:Ut.uuid(),key:t};if(r){var s=h2(r,n);s!==null&&(i.revenue=s);var a=g2(r,n);a!==null&&(i.value=a),i.tags=r}return o.events.push(i),o}function x5(e){var t=v2(e),n=I5(e.configObj,e.experimentId,e.variationId,e.ruleKey,e.ruleType,e.flagKey,e.enabled);t.visitors[0].snapshots.push(n);var r={httpVerb:_2,url:y2,params:t};return r}function C5(e){var t=v2(e),n=O5(e.configObj,e.eventKey,e.logger,e.eventTags);t.visitors[0].snapshots=[n];var r={httpVerb:_2,url:y2,params:t};return r}function up(e){var t,n;return(n=(t=e.experiment)===null||t===void 0?void 0:t.key)!==null&&n!==void 0?n:""}function cp(e){var t,n;return(n=(t=e.variation)===null||t===void 0?void 0:t.key)!==null&&n!==void 0?n:""}function Ql(e){var t,n;return(n=(t=e.variation)===null||t===void 0?void 0:t.featureEnabled)!==null&&n!==void 0?n:!1}function b2(e){var t,n;return(n=(t=e.experiment)===null||t===void 0?void 0:t.id)!==null&&n!==void 0?n:null}function E2(e){var t,n;return(n=(t=e.variation)===null||t===void 0?void 0:t.id)!==null&&n!==void 0?n:null}var fp=Xt("EVENT_BUILDER"),N5=function(e){var t=e.configObj,n=e.decisionObj,r=e.userId,o=e.flagKey,i=e.enabled,s=e.userAttributes,a=e.clientEngine,l=e.clientVersion,u=n.decisionSource,c=up(n),f=b2(n),d=cp(n),p=E2(n),g=f!==null?ME(t,f):null;return{type:"impression",timestamp:Ut.currentTimestamp(),uuid:Ut.uuid(),user:{id:r,attributes:T2(t,s)},context:{accountId:t.accountId,projectId:t.projectId,revision:t.revision,clientName:a,clientVersion:l,anonymizeIP:t.anonymizeIP||!1,botFiltering:t.botFiltering},layer:{id:g},experiment:{id:f,key:c},variation:{id:p,key:d},ruleKey:c,flagKey:o,ruleType:u,enabled:i}},L5=function(e){var t=e.configObj,n=e.userId,r=e.userAttributes,o=e.clientEngine,i=e.clientVersion,s=e.eventKey,a=e.eventTags,l=UE(t,s),u=a?h2(a,fp):null,c=a?g2(a,fp):null;return{type:"conversion",timestamp:Ut.currentTimestamp(),uuid:Ut.uuid(),user:{id:n,attributes:T2(t,r)},context:{accountId:t.accountId,projectId:t.projectId,revision:t.revision,clientName:o,clientVersion:i,anonymizeIP:t.anonymizeIP||!1,botFiltering:t.botFiltering},event:{id:l,key:s},revenue:u,value:c,tags:a}};function T2(e,t){var n=[];return t&&Object.keys(t||{}).forEach(function(r){var o=t[r];if(m2(r,o)){var i=FE(e,r,fp);i&&n.push({entityId:i,key:r,value:o})}}),n}var k5="EVENT_TAGS_VALIDATOR";function P5(e){if(typeof e=="object"&&!Array.isArray(e)&&e!==null)return!0;throw new Error(ft(Ee.INVALID_EVENT_TAGS,k5))}var Uf="USER_PROFILE_SERVICE_VALIDATOR";function D5(e){if(typeof e=="object"&&e!==null){if(typeof e.lookup!="function")throw new Error(ft(Ee.INVALID_USER_PROFILE_SERVICE,Uf,"Missing function 'lookup'"));if(typeof e.save!="function")throw new Error(ft(Ee.INVALID_USER_PROFILE_SERVICE,Uf,"Missing function 'save'"));return!0}throw new Error(ft(Ee.INVALID_USER_PROFILE_SERVICE,Uf))}var Je="OPTIMIZELY",M5=3e4,F5=function(){function e(t){var n=this,r,o=t.clientEngine;o||(t.logger.log(q.INFO,Y.INVALID_CLIENT_ENGINE,Je,o),o=bE),this.clientEngine=o,this.clientVersion=t.clientVersion||Nh,this.errorHandler=t.errorHandler,this.isOptimizelyConfigValid=t.isValidInstance,this.logger=t.logger,this.odpManager=t.odpManager;var i=(r=t.defaultDecideOptions)!==null&&r!==void 0?r:[];Array.isArray(i)||(this.logger.log(q.DEBUG,Y.INVALID_DEFAULT_DECIDE_OPTIONS,Je),i=[]);var s={};i.forEach(function(c){jr[c]?s[c]=!0:n.logger.log(q.WARNING,Y.UNRECOGNIZED_DECIDE_OPTION,Je,c)}),this.defaultDecideOptions=s,this.projectConfigManager=K3({datafile:t.datafile,jsonSchemaValidator:t.jsonSchemaValidator,sdkKey:t.sdkKey,datafileManager:t.datafileManager}),this.disposeOnUpdate=this.projectConfigManager.onUpdate(function(c){n.logger.log(q.INFO,Y.UPDATED_OPTIMIZELY_CONFIG,Je,c.revision,c.projectId),n.notificationCenter.sendNotifications(_n.OPTIMIZELY_CONFIG_UPDATE),n.updateOdpSettings()});var a=this.projectConfigManager.onReady(),l=null;if(t.userProfileService)try{D5(t.userProfileService)&&(l=t.userProfileService,this.logger.log(q.INFO,Y.VALID_USER_PROFILE_SERVICE,Je))}catch(c){this.logger.log(q.WARNING,c.message)}this.decisionService=T5({userProfileService:l,logger:this.logger,UNSTABLE_conditionEvaluators:t.UNSTABLE_conditionEvaluators}),this.notificationCenter=t.notificationCenter,this.eventProcessor=t.eventProcessor;var u=this.eventProcessor.start();this.readyPromise=Promise.all([a,u,t.odpManager?t.odpManager.onReady():Promise.resolve()]).then(function(c){return c[0]}),this.readyTimeouts={},this.nextReadyTimeoutId=0}return e.prototype.getProjectConfig=function(){return this.projectConfigManager.getConfig()},e.prototype.isValidInstance=function(){return this.isOptimizelyConfigValid&&!!this.projectConfigManager.getConfig()},e.prototype.activate=function(t,n,r){try{if(!this.isValidInstance())return this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"activate"),null;if(!this.validateInputs({experiment_key:t,user_id:n},r))return this.notActivatingExperiment(t,n);var o=this.projectConfigManager.getConfig();if(!o)return null;try{var i=this.getVariation(t,n,r);if(i===null)return this.notActivatingExperiment(t,n);if(!r3(o,t))return this.logger.log(q.DEBUG,Y.SHOULD_NOT_DISPATCH_ACTIVATE,Je,t),i;var s=sp(o,t),a=s.variationKeyMap[i],l={experiment:s,variation:a,decisionSource:dn.EXPERIMENT};return this.sendImpressionEvent(l,"",n,!0,r),i}catch(u){return this.logger.log(q.ERROR,u.message),this.logger.log(q.INFO,Y.NOT_ACTIVATING_USER,Je,n,t),this.errorHandler.handleError(u),null}}catch(u){return this.logger.log(q.ERROR,u.message),this.errorHandler.handleError(u),null}},e.prototype.sendImpressionEvent=function(t,n,r,o,i){var s=this.projectConfigManager.getConfig();if(s){var a=N5({decisionObj:t,flagKey:n,enabled:o,userId:r,userAttributes:i,clientEngine:this.clientEngine,clientVersion:this.clientVersion,configObj:s});this.eventProcessor.process(a),this.emitNotificationCenterActivate(t,n,r,o,i)}},e.prototype.emitNotificationCenterActivate=function(t,n,r,o,i){var s=this.projectConfigManager.getConfig();if(s){var a=t.decisionSource,l=up(t),u=b2(t),c=cp(t),f=E2(t),d;u!==null&&c!==""&&(d=s.experimentIdMap[u]);var p={attributes:i,clientEngine:this.clientEngine,clientVersion:this.clientVersion,configObj:s,experimentId:u,ruleKey:l,flagKey:n,ruleType:a,userId:r,enabled:o,variationId:f,logger:this.logger},g=x5(p),h;d&&d.variationKeyMap&&c!==""&&(h=d.variationKeyMap[c]),this.notificationCenter.sendNotifications(_n.ACTIVATE,{experiment:d,userId:r,attributes:i,variation:h,logEvent:g})}},e.prototype.track=function(t,n,r,o){try{if(!this.isValidInstance()){this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"track");return}if(!this.validateInputs({user_id:n,event_key:t},r,o))return;var i=this.projectConfigManager.getConfig();if(!i)return;if(!p3(i,t)){this.logger.log(q.WARNING,Y.EVENT_KEY_NOT_FOUND,Je,t),this.logger.log(q.WARNING,Y.NOT_TRACKING_USER,Je,n);return}o=this.filterEmptyValues(o);var s=L5({eventKey:t,eventTags:o,userId:n,userAttributes:r,clientEngine:this.clientEngine,clientVersion:this.clientVersion,configObj:i});this.logger.log(q.INFO,Y.TRACK_EVENT,Je,t,n),this.eventProcessor.process(s),this.emitNotificationCenterTrack(t,n,r,o)}catch(a){this.logger.log(q.ERROR,a.message),this.errorHandler.handleError(a),this.logger.log(q.ERROR,Y.NOT_TRACKING_USER,Je,n)}},e.prototype.emitNotificationCenterTrack=function(t,n,r,o){try{var i=this.projectConfigManager.getConfig();if(!i)return;var s={attributes:r,clientEngine:this.clientEngine,clientVersion:this.clientVersion,configObj:i,eventKey:t,eventTags:o,logger:this.logger,userId:n},a=C5(s);this.notificationCenter.sendNotifications(_n.TRACK,{eventKey:t,userId:n,attributes:r,eventTags:o,logEvent:a})}catch(l){this.logger.log(q.ERROR,l.message),this.errorHandler.handleError(l)}},e.prototype.getVariation=function(t,n,r){try{if(!this.isValidInstance())return this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getVariation"),null;try{if(!this.validateInputs({experiment_key:t,user_id:n},r))return null;var o=this.projectConfigManager.getConfig();if(!o)return null;var i=o.experimentKeyMap[t];if(!i||i.isRollout)return this.logger.log(q.DEBUG,Ee.INVALID_EXPERIMENT_KEY,Je,t),null;var s=this.decisionService.getVariation(o,i,this.createInternalUserContext(n,r)).result,a=h3(o,i.id)?gi.FEATURE_TEST:gi.AB_TEST;return this.notificationCenter.sendNotifications(_n.DECISION,{type:a,userId:n,attributes:r||{},decisionInfo:{experimentKey:t,variationKey:s}}),s}catch(l){return this.logger.log(q.ERROR,l.message),this.errorHandler.handleError(l),null}}catch(l){return this.logger.log(q.ERROR,l.message),this.errorHandler.handleError(l),null}},e.prototype.setForcedVariation=function(t,n,r){if(!this.validateInputs({experiment_key:t,user_id:n}))return!1;var o=this.projectConfigManager.getConfig();if(!o)return!1;try{return this.decisionService.setForcedVariation(o,t,n,r)}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),!1}},e.prototype.getForcedVariation=function(t,n){if(!this.validateInputs({experiment_key:t,user_id:n}))return null;var r=this.projectConfigManager.getConfig();if(!r)return null;try{return this.decisionService.getForcedVariation(r,t,n).result}catch(o){return this.logger.log(q.ERROR,o.message),this.errorHandler.handleError(o),null}},e.prototype.validateInputs=function(t,n,r){try{if(t.hasOwnProperty("user_id")){var o=t.user_id;if(typeof o!="string"||o===null||o==="undefined")throw new Error(ft(Ee.INVALID_INPUT_FORMAT,Je,"user_id"));delete t.user_id}return Object.keys(t).forEach(function(i){if(!p2(t[i]))throw new Error(ft(Ee.INVALID_INPUT_FORMAT,Je,i))}),n&&A5(n),r&&P5(r),!0}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),!1}},e.prototype.notActivatingExperiment=function(t,n){return this.logger.log(q.INFO,Y.NOT_ACTIVATING_USER,Je,n,t),null},e.prototype.filterEmptyValues=function(t){for(var n in t)t.hasOwnProperty(n)&&(t[n]===null||t[n]===void 0)&&delete t[n];return t},e.prototype.isFeatureEnabled=function(t,n,r){try{if(!this.isValidInstance())return this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"isFeatureEnabled"),!1;if(!this.validateInputs({feature_key:t,user_id:n},r))return!1;var o=this.projectConfigManager.getConfig();if(!o)return!1;var i=Mf(o,t,this.logger);if(!i)return!1;var s={},a=this.createInternalUserContext(n,r),l=this.decisionService.getVariationForFeature(o,i,a).result,u=l.decisionSource,c=up(l),f=cp(l),d=Ql(l);u===dn.FEATURE_TEST&&(s={experimentKey:c,variationKey:f}),(u===dn.FEATURE_TEST||u===dn.ROLLOUT&&t_(o))&&this.sendImpressionEvent(l,i.key,n,d,r),d===!0?this.logger.log(q.INFO,Y.FEATURE_ENABLED_FOR_USER,Je,t,n):(this.logger.log(q.INFO,Y.FEATURE_NOT_ENABLED_FOR_USER,Je,t,n),d=!1);var p={featureKey:t,featureEnabled:d,source:l.decisionSource,sourceInfo:s};return this.notificationCenter.sendNotifications(_n.DECISION,{type:gi.FEATURE,userId:n,attributes:r||{},decisionInfo:p}),d}catch(g){return this.logger.log(q.ERROR,g.message),this.errorHandler.handleError(g),!1}},e.prototype.getEnabledFeatures=function(t,n){var r=this;try{var o=[];if(!this.isValidInstance())return this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getEnabledFeatures"),o;if(!this.validateInputs({user_id:t}))return o;var i=this.projectConfigManager.getConfig();return i&&Wr(i.featureKeyMap).forEach(function(s){r.isFeatureEnabled(s.key,t,n)&&o.push(s.key)}),o}catch(s){return this.logger.log(q.ERROR,s.message),this.errorHandler.handleError(s),[]}},e.prototype.getFeatureVariable=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,null,r,o):(this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getFeatureVariable"),null)}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableForType=function(t,n,r,o,i){if(!this.validateInputs({feature_key:t,variable_key:n,user_id:o},i))return null;var s=this.projectConfigManager.getConfig();if(!s)return null;var a=Mf(s,t,this.logger);if(!a)return null;var l=u3(s,t,n,this.logger);if(!l)return null;if(r&&l.type!==r)return this.logger.log(q.WARNING,Y.VARIABLE_REQUESTED_WITH_WRONG_TYPE,Je,r,l.type),null;var u=this.createInternalUserContext(o,i),c=this.decisionService.getVariationForFeature(s,a,u).result,f=Ql(c),d=this.getFeatureVariableValueFromVariation(t,f,c.variation,l,o),p={};return c.decisionSource===dn.FEATURE_TEST&&c.experiment!==null&&c.variation!==null&&(p={experimentKey:c.experiment.key,variationKey:c.variation.key}),this.notificationCenter.sendNotifications(_n.DECISION,{type:gi.FEATURE_VARIABLE,userId:o,attributes:i||{},decisionInfo:{featureKey:t,featureEnabled:f,source:c.decisionSource,variableKey:n,variableValue:d,variableType:l.type,sourceInfo:p}}),d},e.prototype.getFeatureVariableValueFromVariation=function(t,n,r,o,i){var s=this.projectConfigManager.getConfig();if(!s)return null;var a=o.defaultValue;if(r!==null){var l=c3(s,o,r,this.logger);l!==null?n?(a=l,this.logger.log(q.INFO,Y.USER_RECEIVED_VARIABLE_VALUE,Je,a,o.key,t)):this.logger.log(q.INFO,Y.FEATURE_NOT_ENABLED_RETURN_DEFAULT_VARIABLE_VALUE,Je,t,i,a):this.logger.log(q.INFO,Y.VARIABLE_NOT_USED_RETURN_DEFAULT_VARIABLE_VALUE,Je,o.key,r.key)}else this.logger.log(q.INFO,Y.USER_RECEIVED_DEFAULT_VARIABLE_VALUE,Je,i,o.key,t);return f3(a,o.type,this.logger)},e.prototype.getFeatureVariableBoolean=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,er.BOOLEAN,r,o):(this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getFeatureVariableBoolean"),null)}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableDouble=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,er.DOUBLE,r,o):(this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getFeatureVariableDouble"),null)}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableInteger=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,er.INTEGER,r,o):(this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getFeatureVariableInteger"),null)}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableString=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,er.STRING,r,o):(this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getFeatureVariableString"),null)}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getFeatureVariableJSON=function(t,n,r,o){try{return this.isValidInstance()?this.getFeatureVariableForType(t,n,er.JSON,r,o):(this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getFeatureVariableJSON"),null)}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),null}},e.prototype.getAllFeatureVariables=function(t,n,r){var o=this;try{if(!this.isValidInstance())return this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"getAllFeatureVariables"),null;if(!this.validateInputs({feature_key:t,user_id:n},r))return null;var i=this.projectConfigManager.getConfig();if(!i)return null;var s=Mf(i,t,this.logger);if(!s)return null;var a=this.createInternalUserContext(n,r),l=this.decisionService.getVariationForFeature(i,s,a).result,u=Ql(l),c={};s.variables.forEach(function(d){c[d.key]=o.getFeatureVariableValueFromVariation(t,u,l.variation,d,n)});var f={};return l.decisionSource===dn.FEATURE_TEST&&l.experiment!==null&&l.variation!==null&&(f={experimentKey:l.experiment.key,variationKey:l.variation.key}),this.notificationCenter.sendNotifications(_n.DECISION,{type:gi.ALL_FEATURE_VARIABLES,userId:n,attributes:r||{},decisionInfo:{featureKey:t,featureEnabled:u,source:l.decisionSource,variableValues:c,sourceInfo:f}}),c}catch(d){return this.logger.log(q.ERROR,d.message),this.errorHandler.handleError(d),null}},e.prototype.getOptimizelyConfig=function(){try{var t=this.projectConfigManager.getConfig();return t?this.projectConfigManager.getOptimizelyConfig():null}catch(n){return this.logger.log(q.ERROR,n.message),this.errorHandler.handleError(n),null}},e.prototype.close=function(){var t=this,n;try{this.odpManager&&this.odpManager.stop(),this.notificationCenter.clearAllNotificationListeners();var r=(n=this.projectConfigManager.getConfig())===null||n===void 0?void 0:n.sdkKey;r&&kE.removeNotificationCenter(r);var o=this.eventProcessor.stop();return this.disposeOnUpdate&&(this.disposeOnUpdate(),this.disposeOnUpdate=null),this.projectConfigManager&&this.projectConfigManager.stop(),Object.keys(this.readyTimeouts).forEach(function(i){var s=t.readyTimeouts[i];clearTimeout(s.readyTimeout),s.onClose()}),this.readyTimeouts={},o.then(function(){return{success:!0}},function(i){return{success:!1,reason:String(i)}})}catch(i){return this.logger.log(q.ERROR,i.message),this.errorHandler.handleError(i),Promise.resolve({success:!1,reason:String(i)})}},e.prototype.onReady=function(t){var n=this,r;typeof t=="object"&&t!==null&&t.timeout!==void 0&&(r=t.timeout),Ut.isSafeInteger(r)||(r=M5);var o,i=new Promise(function(c){o=c}),s=this.nextReadyTimeoutId;this.nextReadyTimeoutId++;var a=function(){delete n.readyTimeouts[s],o({success:!1,reason:ft("onReady timeout expired after %s ms",r)})},l=setTimeout(a,r),u=function(){o({success:!1,reason:"Instance closed"})};return this.readyTimeouts[s]={readyTimeout:l,onClose:u},this.readyPromise.then(function(){clearTimeout(l),delete n.readyTimeouts[s],o({success:!0})}),Promise.race([this.readyPromise,i])},e.prototype.createUserContext=function(t,n){var r,o=t??((r=this.odpManager)===null||r===void 0?void 0:r.getVuid());return o===void 0||!this.validateInputs({user_id:o},n)?null:new l_({optimizely:this,userId:o,attributes:n,shouldIdentifyUser:!0})},e.prototype.createInternalUserContext=function(t,n){return new l_({optimizely:this,userId:t,attributes:n,shouldIdentifyUser:!1})},e.prototype.decide=function(t,n,r){var o=this,i,s,a,l;r===void 0&&(r=[]);var u=t.getUserId(),c=t.getAttributes(),f=this.projectConfigManager.getConfig(),d=[],p;if(!this.isValidInstance()||!f)return this.logger.log(q.INFO,Y.INVALID_OBJECT,Je,"decide"),a_(n,t,[rp.SDK_NOT_READY]);var g=f.featureKeyMap[n];if(!g)return this.logger.log(q.ERROR,Ee.FEATURE_NOT_IN_DATAFILE,Je,n),a_(n,t,[ft(rp.FLAG_KEY_INVALID,n)]);var h=this.getAllDecideOptions(r),_=this.decisionService.findValidatedForcedDecision(f,t,n);d.push.apply(d,_.reasons);var m=_.result;if(m)p={experiment:null,variation:m,decisionSource:dn.FEATURE_TEST};else{var E=this.decisionService.getVariationForFeature(f,g,t,h);d.push.apply(d,E.reasons),p=E.result}var y=p.decisionSource,v=(s=(i=p.experiment)===null||i===void 0?void 0:i.key)!==null&&s!==void 0?s:null,T=(l=(a=p.variation)===null||a===void 0?void 0:a.key)!==null&&l!==void 0?l:null,S=Ql(p);S===!0?this.logger.log(q.INFO,Y.FEATURE_ENABLED_FOR_USER,Je,n,u):this.logger.log(q.INFO,Y.FEATURE_NOT_ENABLED_FOR_USER,Je,n,u);var I={},D=!1;h[jr.EXCLUDE_VARIABLES]||g.variables.forEach(function(H){I[H.key]=o.getFeatureVariableValueFromVariation(n,S,p.variation,H,u)}),!h[jr.DISABLE_DECISION_EVENT]&&(y===dn.FEATURE_TEST||y===dn.ROLLOUT&&t_(f))&&(this.sendImpressionEvent(p,n,u,S,c),D=!0);var M=h[jr.INCLUDE_REASONS],j=[];M&&(j=d.map(function(H){return ft.apply(void 0,Ss([H[0]],H.slice(1),!1))}));var B={flagKey:n,enabled:S,variationKey:T,ruleKey:v,variables:I,reasons:j,decisionEventDispatched:D};return this.notificationCenter.sendNotifications(_n.DECISION,{type:gi.FLAG,userId:u,attributes:c,decisionInfo:B}),{variationKey:T,enabled:S,variables:I,ruleKey:v,flagKey:n,userContext:t,reasons:j}},e.prototype.getAllDecideOptions=function(t){var n=this,r=nr({},this.defaultDecideOptions);return Array.isArray(t)?t.forEach(function(o){jr[o]?r[o]=!0:n.logger.log(q.WARNING,Y.UNRECOGNIZED_DECIDE_OPTION,Je,o)}):this.logger.log(q.DEBUG,Y.INVALID_DECIDE_OPTIONS,Je),r},e.prototype.decideForKeys=function(t,n,r){var o=this;r===void 0&&(r=[]);var i={};if(!this.isValidInstance())return this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"decideForKeys"),i;if(n.length===0)return i;var s=this.getAllDecideOptions(r);return n.forEach(function(a){var l=o.decide(t,a,r);(!s[jr.ENABLED_FLAGS_ONLY]||l.enabled)&&(i[a]=l)}),i},e.prototype.decideAll=function(t,n){n===void 0&&(n=[]);var r=this.projectConfigManager.getConfig(),o={};if(!this.isValidInstance()||!r)return this.logger.log(q.ERROR,Y.INVALID_OBJECT,Je,"decideAll"),o;var i=Object.keys(r.featureKeyMap);return this.decideForKeys(t,i,n)},e.prototype.updateOdpSettings=function(){var t=this.projectConfigManager.getConfig();t&&this.odpManager&&this.odpManager.updateSettings(t.odpIntegrationConfig)},e.prototype.sendOdpEvent=function(t,n,r,o){if(!this.odpManager){this.logger.error(Ee.ODP_EVENT_FAILED_ODP_MANAGER_MISSING);return}var i=n??nc,s=new Map(r);if(r&&r.size>0)try{r.forEach(function(l,u){(SE===u.toLowerCase()||dr.FS_USER_ID===u.toLowerCase())&&(s.delete(u),s.set(dr.FS_USER_ID,l))})}catch{this.logger.warn(Y.ODP_SEND_EVENT_IDENTIFIER_CONVERSION_FAILED)}try{var a=new oc(i,t,s,o);this.odpManager.sendEvent(a)}catch(l){this.logger.error(Ee.ODP_EVENT_FAILED,l)}},e.prototype.isOdpIntegrated=function(){var t,n,r;return(r=(n=(t=this.projectConfigManager.getConfig())===null||t===void 0?void 0:t.odpIntegrationConfig)===null||n===void 0?void 0:n.integrated)!==null&&r!==void 0?r:!1},e.prototype.identifyUser=function(t){this.odpManager&&this.isOdpIntegrated()&&this.odpManager.identifyUser(t)},e.prototype.fetchQualifiedSegments=function(t,n){return qt(this,void 0,void 0,function(){return Wt(this,function(r){switch(r.label){case 0:return this.odpManager?[4,this.odpManager.fetchQualifiedSegments(t,n)]:[2,null];case 1:return[2,r.sent()]}})})},e.prototype.getVuid=function(){var t;if(!this.odpManager){(t=this.logger)===null||t===void 0||t.error("Unable to get VUID - ODP Manager is not instantiated yet.");return}if(!this.odpManager.isVuidEnabled()){this.logger.log(q.WARNING,"getVuid() unavailable for this platform",Je);return}return this.odpManager.getVuid()},e}(),U5={parseUserAgentInfo:function(){var e=new PF.UAParser,t=e.getResult(),n=t.os,r=t.device;return{os:n,device:r}}};function j5(){return U5}var V5=Object.freeze({__proto__:null,get LogLevel(){return Oe},getLogger:Xt,setLogHandler:vE,LOG_LEVEL:q,createLogger:Lh}),kr=Xt();Ti.setLogHandler(Lh());Ti.setLogLevel(Oe.INFO);var $5="INDEX_BROWSER",h_=10,g_=1e3,B5=1e4,dp=!1,w2=function(e){var t;try{var n=!1;e.errorHandler&&MF(e.errorHandler),e.logger&&(Ti.setLogHandler(e.logger),Ti.setLogLevel(Oe.NOTSET)),e.logLevel!==void 0&&Ti.setLogLevel(e.logLevel);try{IE.validate(e),n=!0}catch(_){kr.error(_)}var r=void 0;e.eventDispatcher==null?(r=new RE({eventDispatcher:OE}),dp||(r.sendPendingEvents(),dp=!0)):r=e.eventDispatcher;var o=e.closingEventDispatcher;!e.eventDispatcher&&!o&&window.navigator&&"sendBeacon"in window.navigator&&(o=xE);var i=e.eventBatchSize,s=e.eventFlushInterval;Xy.validateEventBatchSize(e.eventBatchSize)||(kr.warn("Invalid eventBatchSize %s, defaulting to %s",e.eventBatchSize,h_),i=h_),Xy.validateEventFlushInterval(e.eventFlushInterval)||(kr.warn("Invalid eventFlushInterval %s, defaulting to %s",e.eventFlushInterval,g_),s=g_);var a=hE(),l=NE({logger:kr,errorHandler:a}),u={dispatcher:r,closingDispatcher:o,flushInterval:s,batchSize:i,maxQueueSize:e.eventMaxQueueSize||B5,notificationCenter:l},c=((t=e.odpOptions)===null||t===void 0?void 0:t.disabled)===!0;c&&kr.info(Y.ODP_DISABLED);var f=e.clientEngine,d=e.clientVersion,p=nr(nr({clientEngine:Ch},e),{eventProcessor:CU.createEventProcessor(u),logger:kr,errorHandler:a,datafileManager:e.sdkKey?g3(e.sdkKey,kr,e.datafile,e.datafileOptions):void 0,notificationCenter:l,isValidInstance:n,odpManager:c?void 0:U3.createInstance({logger:kr,odpOptions:e.odpOptions,clientEngine:f,clientVersion:d})}),g=new F5(p);try{if(typeof window.addEventListener=="function"){var h="onpagehide"in window?"pagehide":"unload";window.addEventListener(h,function(){g.close()},!1)}}catch(_){kr.error(Y.UNABLE_TO_ATTACH_UNLOAD,$5,_.message)}return g}catch(_){return kr.error(_),null}},H5=function(){dp=!1},z5=Ti.setLogHandler,G5=Ti.setLogLevel;nr(nr({},V5),{logging:SU,errorHandler:_U,eventDispatcher:OE,sendBeaconEventDispatcher:xE,enums:Ma,setLogger:z5,setLogLevel:G5,createInstance:w2,__internalResetRetryState:H5,OptimizelyDecideOption:jr,getUserAgentParser:j5});const K5=e=>({shops:["CAM-wxvanx|TCH-5g6nol|TCO-gm2vex|CTY-5g6nol|CCO-5g6nol|PRG-gkq9zg","CAM-wxvanx|TCH-5g6nol|TCO-x2mwkg|CTY-5g6nol|CCO-5g6nol|PRG-gkq9zg"]}[Dt().public.APPLICATION]||[]).includes(e),q5=Gt(async()=>{const e=Dt(),t=Rn(),n=ct("activeMid",()=>"");return K5(n.value)||t.query.disable_optimizely==="true"||e.public.DISABLE_OPTIMIZELY==="true"||(void 0??"").includes("TAPP/CI")?{provide:{optimizely:null}}:{provide:{optimizely:w2({datafile:ct("optimizely-datafile").value,logLevel:t.query.optimizely_log==="true"?Ma.LOG_LEVEL.DEBUG:e.public.optimizelyLogLevel||Ma.LOG_LEVEL.INFO})}}}),W5=Gt(()=>{const{$optimizely:e}=Be();if(!e){console.warn("Optimizely is not initialized");return}e.notificationCenter.addNotificationListener(Ma.NOTIFICATION_TYPES.DECISION,t=>{Ns(()=>{X5(t,e)})})});function Y5(e){const t=Dt().public.stage!=="production",n=`"${e}" is missing Optimizely dimension number.`;if(t)throw new Error(n)}function X5({type:e,decisionInfo:t},n){var f,d,p,g;const r=n.getOptimizelyConfig();if(e!==Ma.DECISION_NOTIFICATION_TYPES.ALL_FEATURE_VARIABLES||!r)return;const{variableValues:o,sourceInfo:i}=t,s=i.experimentKey,a=i.variationKey;if(!r.experimentsMap[s])return;const l=r.experimentsMap[s].id,u=(p=(d=(f=r.experimentsMap[s])==null?void 0:f.variationsMap)==null?void 0:d[a])==null?void 0:p.id,c=o?o["optimizely-dimension-number"]:void 0;if(!c){Y5(s);return}if(c&&a&&l)return((g=window==null?void 0:window.dataLayer)==null?void 0:g.find(_=>_.event==="campaign-decided"&&_["optimizely-dimension-value"]===`${s} (${l}):${a} (${u})`&&_["optimizely-dimension-number"]===c))?void 0:(!Array.isArray(window.dataLayer)&&typeof window.dataLayer>"u"&&(window.dataLayer=[]),window.dataLayer.push({event:"campaign-decided","optimizely-dimension-value":`${s} (${l}):${a} (${u})`,"optimizely-dimension-number":c}))}const J5=(e="")=>{const t="^CAM-[a-z0-9]{6}\\|TCH-[a-z0-9]{6}\\|TCO-[a-z0-9]{6}\\|CTY-[a-z0-9]{6}\\|CCO-[a-z0-9]{6}\\|PRG-[a-z0-9]{6}$";return new RegExp(t,"i").test(e)},Q5=({activeMid:e,midFromUrl:t,defaultMid:n})=>t||e||n;function ki(){const e=ct("activeMid",()=>"");try{const t=Rn(),n=Dt(),r=typeof t.query.mid=="string"?t.query.mid:"",o=J5(r)?r:null,i=typeof n.public.DEFAULT_MID=="string"?n.public.DEFAULT_MID:"",s=Q5({activeMid:e.value,midFromUrl:o,defaultMid:i});s!==e.value&&(e.value=s)}catch{}return e.value}const Z5=Gt(e=>{const t=Vt(),n=ki(),r=Pd();globalThis.$fetch=$fetch.create({onRequest:({options:o})=>{const i=t.currentRoute.value.path,s=new Headers(o.headers);Object.entries(r).forEach(([a,l])=>{s.set(a,l)}),s.set("X-Mid-Token",o.headers.get("X-Mid-Token")||n),s.set("X-Client-Path",i||""),o.headers=s}})});/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */const{entries:S2,setPrototypeOf:m_,isFrozen:e4,getPrototypeOf:t4,getOwnPropertyDescriptor:n4}=Object;let{freeze:Fn,seal:yr,create:A2}=Object,{apply:pp,construct:hp}=typeof Reflect<"u"&&Reflect;Fn||(Fn=function(t){return t});yr||(yr=function(t){return t});pp||(pp=function(t,n,r){return t.apply(n,r)});hp||(hp=function(t,n){return new t(...n)});const Zl=Un(Array.prototype.forEach),r4=Un(Array.prototype.lastIndexOf),y_=Un(Array.prototype.pop),qs=Un(Array.prototype.push),o4=Un(Array.prototype.splice),_u=Un(String.prototype.toLowerCase),jf=Un(String.prototype.toString),__=Un(String.prototype.match),Ws=Un(String.prototype.replace),i4=Un(String.prototype.indexOf),s4=Un(String.prototype.trim),vr=Un(Object.prototype.hasOwnProperty),xn=Un(RegExp.prototype.test),Ys=a4(TypeError);function Un(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o2&&arguments[2]!==void 0?arguments[2]:_u;m_&&m_(e,null);let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const i=n(o);i!==o&&(e4(t)||(t[r]=i),o=i)}e[o]=!0}return e}function l4(e){for(let t=0;t/gm),p4=yr(/\$\{[\w\W]*/gm),h4=yr(/^data-[\-\w.\u00B7-\uFFFF]+$/),g4=yr(/^aria-[\-\w]+$/),R2=yr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),m4=yr(/^(?:\w+script|data):/i),y4=yr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),I2=yr(/^html$/i),_4=yr(/^[a-z][.\w]*(-[.\w]+)+$/i);var w_=Object.freeze({__proto__:null,ARIA_ATTR:g4,ATTR_WHITESPACE:y4,CUSTOM_ELEMENT:_4,DATA_ATTR:h4,DOCTYPE_NAME:I2,ERB_EXPR:d4,IS_ALLOWED_URI:R2,IS_SCRIPT_OR_DATA:m4,MUSTACHE_EXPR:f4,TMPLIT_EXPR:p4});const Js={element:1,text:3,progressingInstruction:7,comment:8,document:9},v4=function(){return typeof window>"u"?null:window},b4=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";n&&n.hasAttribute(o)&&(r=n.getAttribute(o));const i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},S_=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function O2(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v4();const t=Ne=>O2(Ne);if(t.version="3.2.4",t.removed=[],!e||!e.document||e.document.nodeType!==Js.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const r=n,o=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:s,Node:a,Element:l,NodeFilter:u,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:d,trustedTypes:p}=e,g=l.prototype,h=Xs(g,"cloneNode"),_=Xs(g,"remove"),m=Xs(g,"nextSibling"),E=Xs(g,"childNodes"),y=Xs(g,"parentNode");if(typeof s=="function"){const Ne=n.createElement("template");Ne.content&&Ne.content.ownerDocument&&(n=Ne.content.ownerDocument)}let v,T="";const{implementation:S,createNodeIterator:I,createDocumentFragment:D,getElementsByTagName:M}=n,{importNode:j}=r;let B=S_();t.isSupported=typeof S2=="function"&&typeof y=="function"&&S&&S.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:H,ERB_EXPR:le,TMPLIT_EXPR:Te,DATA_ATTR:De,ARIA_ATTR:pe,IS_SCRIPT_OR_DATA:ge,ATTR_WHITESPACE:re,CUSTOM_ELEMENT:ve}=w_;let{IS_ALLOWED_URI:tt}=w_,Ae=null;const Ke=rt({},[...v_,...Vf,...$f,...Bf,...b_]);let He=null;const it=rt({},[...E_,...Hf,...T_,...eu]);let qe=Object.seal(A2(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ot=null,J=null,se=!0,ae=!0,_e=!1,We=!0,ze=!1,C=!0,L=!1,V=!1,te=!1,X=!1,O=!1,N=!1,U=!0,K=!1;const ee="user-content-";let Q=!0,R=!1,k={},G=null;const oe=rt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let fe=null;const be=rt({},["audio","video","img","source","image","track"]);let Ye=null;const nt=rt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ue="http://www.w3.org/1998/Math/MathML",we="http://www.w3.org/2000/svg",At="http://www.w3.org/1999/xhtml";let In=At,Bt=!1,gn=null;const oi=rt({},[Ue,we,At],jf);let Di=rt({},["mi","mo","mn","ms","mtext"]),Ir=rt({},["annotation-xml"]);const Ps=rt({},["title","style","font","a","script"]);let Or=null;const cl=["application/xhtml+xml","text/html"],fl="text/html";let Kt=null,xr=null;const dl=n.createElement("form"),pl=function(F){return F instanceof RegExp||F instanceof Function},ii=function(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xr&&xr===F)){if((!F||typeof F!="object")&&(F={}),F=mi(F),Or=cl.indexOf(F.PARSER_MEDIA_TYPE)===-1?fl:F.PARSER_MEDIA_TYPE,Kt=Or==="application/xhtml+xml"?jf:_u,Ae=vr(F,"ALLOWED_TAGS")?rt({},F.ALLOWED_TAGS,Kt):Ke,He=vr(F,"ALLOWED_ATTR")?rt({},F.ALLOWED_ATTR,Kt):it,gn=vr(F,"ALLOWED_NAMESPACES")?rt({},F.ALLOWED_NAMESPACES,jf):oi,Ye=vr(F,"ADD_URI_SAFE_ATTR")?rt(mi(nt),F.ADD_URI_SAFE_ATTR,Kt):nt,fe=vr(F,"ADD_DATA_URI_TAGS")?rt(mi(be),F.ADD_DATA_URI_TAGS,Kt):be,G=vr(F,"FORBID_CONTENTS")?rt({},F.FORBID_CONTENTS,Kt):oe,ot=vr(F,"FORBID_TAGS")?rt({},F.FORBID_TAGS,Kt):{},J=vr(F,"FORBID_ATTR")?rt({},F.FORBID_ATTR,Kt):{},k=vr(F,"USE_PROFILES")?F.USE_PROFILES:!1,se=F.ALLOW_ARIA_ATTR!==!1,ae=F.ALLOW_DATA_ATTR!==!1,_e=F.ALLOW_UNKNOWN_PROTOCOLS||!1,We=F.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ze=F.SAFE_FOR_TEMPLATES||!1,C=F.SAFE_FOR_XML!==!1,L=F.WHOLE_DOCUMENT||!1,X=F.RETURN_DOM||!1,O=F.RETURN_DOM_FRAGMENT||!1,N=F.RETURN_TRUSTED_TYPE||!1,te=F.FORCE_BODY||!1,U=F.SANITIZE_DOM!==!1,K=F.SANITIZE_NAMED_PROPS||!1,Q=F.KEEP_CONTENT!==!1,R=F.IN_PLACE||!1,tt=F.ALLOWED_URI_REGEXP||R2,In=F.NAMESPACE||At,Di=F.MATHML_TEXT_INTEGRATION_POINTS||Di,Ir=F.HTML_INTEGRATION_POINTS||Ir,qe=F.CUSTOM_ELEMENT_HANDLING||{},F.CUSTOM_ELEMENT_HANDLING&&pl(F.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(qe.tagNameCheck=F.CUSTOM_ELEMENT_HANDLING.tagNameCheck),F.CUSTOM_ELEMENT_HANDLING&&pl(F.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(qe.attributeNameCheck=F.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),F.CUSTOM_ELEMENT_HANDLING&&typeof F.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(qe.allowCustomizedBuiltInElements=F.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ze&&(ae=!1),O&&(X=!0),k&&(Ae=rt({},b_),He=[],k.html===!0&&(rt(Ae,v_),rt(He,E_)),k.svg===!0&&(rt(Ae,Vf),rt(He,Hf),rt(He,eu)),k.svgFilters===!0&&(rt(Ae,$f),rt(He,Hf),rt(He,eu)),k.mathMl===!0&&(rt(Ae,Bf),rt(He,T_),rt(He,eu))),F.ADD_TAGS&&(Ae===Ke&&(Ae=mi(Ae)),rt(Ae,F.ADD_TAGS,Kt)),F.ADD_ATTR&&(He===it&&(He=mi(He)),rt(He,F.ADD_ATTR,Kt)),F.ADD_URI_SAFE_ATTR&&rt(Ye,F.ADD_URI_SAFE_ATTR,Kt),F.FORBID_CONTENTS&&(G===oe&&(G=mi(G)),rt(G,F.FORBID_CONTENTS,Kt)),Q&&(Ae["#text"]=!0),L&&rt(Ae,["html","head","body"]),Ae.table&&(rt(Ae,["tbody"]),delete ot.tbody),F.TRUSTED_TYPES_POLICY){if(typeof F.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ys('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof F.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ys('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');v=F.TRUSTED_TYPES_POLICY,T=v.createHTML("")}else v===void 0&&(v=b4(p,o)),v!==null&&typeof T=="string"&&(T=v.createHTML(""));Fn&&Fn(F),xr=F}},hl=rt({},[...Vf,...$f,...u4]),gl=rt({},[...Bf,...c4]),Ds=function(F){let de=y(F);(!de||!de.tagName)&&(de={namespaceURI:In,tagName:"template"});const Re=_u(F.tagName),xt=_u(de.tagName);return gn[F.namespaceURI]?F.namespaceURI===we?de.namespaceURI===At?Re==="svg":de.namespaceURI===Ue?Re==="svg"&&(xt==="annotation-xml"||Di[xt]):!!hl[Re]:F.namespaceURI===Ue?de.namespaceURI===At?Re==="math":de.namespaceURI===we?Re==="math"&&Ir[xt]:!!gl[Re]:F.namespaceURI===At?de.namespaceURI===we&&!Ir[xt]||de.namespaceURI===Ue&&!Di[xt]?!1:!gl[Re]&&(Ps[Re]||!hl[Re]):!!(Or==="application/xhtml+xml"&&gn[F.namespaceURI]):!1},Jt=function(F){qs(t.removed,{element:F});try{y(F).removeChild(F)}catch{_(F)}},Mi=function(F,de){try{qs(t.removed,{attribute:de.getAttributeNode(F),from:de})}catch{qs(t.removed,{attribute:null,from:de})}if(de.removeAttribute(F),F==="is")if(X||O)try{Jt(de)}catch{}else try{de.setAttribute(F,"")}catch{}},ml=function(F){let de=null,Re=null;if(te)F=""+F;else{const Qt=__(F,/^[\r\n\t ]+/);Re=Qt&&Qt[0]}Or==="application/xhtml+xml"&&In===At&&(F=''+F+"");const xt=v?v.createHTML(F):F;if(In===At)try{de=new d().parseFromString(xt,Or)}catch{}if(!de||!de.documentElement){de=S.createDocument(In,"template",null);try{de.documentElement.innerHTML=Bt?T:xt}catch{}}const on=de.body||de.documentElement;return F&&Re&&on.insertBefore(n.createTextNode(Re),on.childNodes[0]||null),In===At?M.call(de,L?"html":"body")[0]:L?de.documentElement:on},yl=function(F){return I.call(F.ownerDocument||F,F,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},si=function(F){return F instanceof f&&(typeof F.nodeName!="string"||typeof F.textContent!="string"||typeof F.removeChild!="function"||!(F.attributes instanceof c)||typeof F.removeAttribute!="function"||typeof F.setAttribute!="function"||typeof F.namespaceURI!="string"||typeof F.insertBefore!="function"||typeof F.hasChildNodes!="function")},to=function(F){return typeof a=="function"&&F instanceof a};function ir(Ne,F,de){Zl(Ne,Re=>{Re.call(t,F,de,xr)})}const Fi=function(F){let de=null;if(ir(B.beforeSanitizeElements,F,null),si(F))return Jt(F),!0;const Re=Kt(F.nodeName);if(ir(B.uponSanitizeElement,F,{tagName:Re,allowedTags:Ae}),F.hasChildNodes()&&!to(F.firstElementChild)&&xn(/<[/\w]/g,F.innerHTML)&&xn(/<[/\w]/g,F.textContent)||F.nodeType===Js.progressingInstruction||C&&F.nodeType===Js.comment&&xn(/<[/\w]/g,F.data))return Jt(F),!0;if(!Ae[Re]||ot[Re]){if(!ot[Re]&&_l(Re)&&(qe.tagNameCheck instanceof RegExp&&xn(qe.tagNameCheck,Re)||qe.tagNameCheck instanceof Function&&qe.tagNameCheck(Re)))return!1;if(Q&&!G[Re]){const xt=y(F)||F.parentNode,on=E(F)||F.childNodes;if(on&&xt){const Qt=on.length;for(let un=Qt-1;un>=0;--un){const sr=h(on[un],!0);sr.__removalCount=(F.__removalCount||0)+1,xt.insertBefore(sr,m(F))}}}return Jt(F),!0}return F instanceof l&&!Ds(F)||(Re==="noscript"||Re==="noembed"||Re==="noframes")&&xn(/<\/no(script|embed|frames)/i,F.innerHTML)?(Jt(F),!0):(ze&&F.nodeType===Js.text&&(de=F.textContent,Zl([H,le,Te],xt=>{de=Ws(de,xt," ")}),F.textContent!==de&&(qs(t.removed,{element:F.cloneNode()}),F.textContent=de)),ir(B.afterSanitizeElements,F,null),!1)},Ms=function(F,de,Re){if(U&&(de==="id"||de==="name")&&(Re in n||Re in dl))return!1;if(!(ae&&!J[de]&&xn(De,de))){if(!(se&&xn(pe,de))){if(!He[de]||J[de]){if(!(_l(F)&&(qe.tagNameCheck instanceof RegExp&&xn(qe.tagNameCheck,F)||qe.tagNameCheck instanceof Function&&qe.tagNameCheck(F))&&(qe.attributeNameCheck instanceof RegExp&&xn(qe.attributeNameCheck,de)||qe.attributeNameCheck instanceof Function&&qe.attributeNameCheck(de))||de==="is"&&qe.allowCustomizedBuiltInElements&&(qe.tagNameCheck instanceof RegExp&&xn(qe.tagNameCheck,Re)||qe.tagNameCheck instanceof Function&&qe.tagNameCheck(Re))))return!1}else if(!Ye[de]){if(!xn(tt,Ws(Re,re,""))){if(!((de==="src"||de==="xlink:href"||de==="href")&&F!=="script"&&i4(Re,"data:")===0&&fe[F])){if(!(_e&&!xn(ge,Ws(Re,re,"")))){if(Re)return!1}}}}}}return!0},_l=function(F){return F!=="annotation-xml"&&__(F,ve)},Fs=function(F){ir(B.beforeSanitizeAttributes,F,null);const{attributes:de}=F;if(!de||si(F))return;const Re={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:He,forceKeepAttr:void 0};let xt=de.length;for(;xt--;){const on=de[xt],{name:Qt,namespaceURI:un,value:sr}=on,ai=Kt(Qt);let cn=Qt==="value"?sr:s4(sr);if(Re.attrName=ai,Re.attrValue=cn,Re.keepAttr=!0,Re.forceKeepAttr=void 0,ir(B.uponSanitizeAttribute,F,Re),cn=Re.attrValue,K&&(ai==="id"||ai==="name")&&(Mi(Qt,F),cn=ee+cn),C&&xn(/((--!?|])>)|<\/(style|title)/i,cn)){Mi(Qt,F);continue}if(Re.forceKeepAttr||(Mi(Qt,F),!Re.keepAttr))continue;if(!We&&xn(/\/>/i,cn)){Mi(Qt,F);continue}ze&&Zl([H,le,Te],Us=>{cn=Ws(cn,Us," ")});const vl=Kt(F.nodeName);if(Ms(vl,ai,cn)){if(v&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!un)switch(p.getAttributeType(vl,ai)){case"TrustedHTML":{cn=v.createHTML(cn);break}case"TrustedScriptURL":{cn=v.createScriptURL(cn);break}}try{un?F.setAttributeNS(un,Qt,cn):F.setAttribute(Qt,cn),si(F)?Jt(F):y_(t.removed)}catch{}}}ir(B.afterSanitizeAttributes,F,null)},Gc=function Ne(F){let de=null;const Re=yl(F);for(ir(B.beforeSanitizeShadowDOM,F,null);de=Re.nextNode();)ir(B.uponSanitizeShadowNode,de,null),Fi(de),Fs(de),de.content instanceof i&&Ne(de.content);ir(B.afterSanitizeShadowDOM,F,null)};return t.sanitize=function(Ne){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},de=null,Re=null,xt=null,on=null;if(Bt=!Ne,Bt&&(Ne=""),typeof Ne!="string"&&!to(Ne))if(typeof Ne.toString=="function"){if(Ne=Ne.toString(),typeof Ne!="string")throw Ys("dirty is not a string, aborting")}else throw Ys("toString is not a function");if(!t.isSupported)return Ne;if(V||ii(F),t.removed=[],typeof Ne=="string"&&(R=!1),R){if(Ne.nodeName){const sr=Kt(Ne.nodeName);if(!Ae[sr]||ot[sr])throw Ys("root node is forbidden and cannot be sanitized in-place")}}else if(Ne instanceof a)de=ml(""),Re=de.ownerDocument.importNode(Ne,!0),Re.nodeType===Js.element&&Re.nodeName==="BODY"||Re.nodeName==="HTML"?de=Re:de.appendChild(Re);else{if(!X&&!ze&&!L&&Ne.indexOf("<")===-1)return v&&N?v.createHTML(Ne):Ne;if(de=ml(Ne),!de)return X?null:N?T:""}de&&te&&Jt(de.firstChild);const Qt=yl(R?Ne:de);for(;xt=Qt.nextNode();)Fi(xt),Fs(xt),xt.content instanceof i&&Gc(xt.content);if(R)return Ne;if(X){if(O)for(on=D.call(de.ownerDocument);de.firstChild;)on.appendChild(de.firstChild);else on=de;return(He.shadowroot||He.shadowrootmode)&&(on=j.call(r,on,!0)),on}let un=L?de.outerHTML:de.innerHTML;return L&&Ae["!doctype"]&&de.ownerDocument&&de.ownerDocument.doctype&&de.ownerDocument.doctype.name&&xn(I2,de.ownerDocument.doctype.name)&&(un=" `+un),ze&&Zl([H,le,Te],sr=>{un=Ws(un,sr," ")}),v&&N?v.createHTML(un):un},t.setConfig=function(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ii(Ne),V=!0},t.clearConfig=function(){xr=null,V=!1},t.isValidAttribute=function(Ne,F,de){xr||ii({});const Re=Kt(Ne),xt=Kt(F);return Ms(Re,xt,de)},t.addHook=function(Ne,F){typeof F=="function"&&qs(B[Ne],F)},t.removeHook=function(Ne,F){if(F!==void 0){const de=r4(B[Ne],F);return de===-1?void 0:o4(B[Ne],de,1)[0]}return y_(B[Ne])},t.removeHooks=function(Ne){B[Ne]=[]},t.removeAllHooks=function(){B=S_()},t}var E4=O2();function T4(e,t){const n=e.hooks??{};let r;for(r in n){const o=n[r];o!==void 0&&t.addHook(r,o)}}function x2(){return E4()}function w4(e={},t=x2){const n=t();T4(e,n);const r=function(o,i){const s=i.value;if(i.oldValue===s)return;const a=`${s}`,l=i.arg,u=e.namedConfigurations,c=e.default??{};if(u&&l!==void 0){o.innerHTML=n.sanitize(a,u[l]??c);return}o.innerHTML=n.sanitize(a,c)};return{mounted:r,updated:r}}const S4={install(e,t={},n=x2){e.directive("dompurify-html",w4(t,n))}},A4=Gt(e=>{e.vueApp.use(S4)}),R4=Gt({name:"i18n:plugin:ssg-detect",dependsOn:["i18n:plugin","i18n:plugin:route-locale-detect"],enforce:"post",setup(){Be()}}),I4="__nuxt_plugin";function O4(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[I4]:!0,_name:t})}const x4=["data","password","rekeningnummer","iban","wachtwoord","password","geslacht","voorletters","initial","initials","voornaam","tussenvoegsel","middle_name","last_name","achternaam","birth_date","geboortedatum","gender","house_number","phone","phone_number","zip_code","addition","country","email","street","city","leadq_proposition_id","leadq_propositie_id","snowplow_id","snowplow_cookie","parent_id","promotion_code","cookie","postcode","huisnummer","toevoeging","straat","plaats","telefoon","emailadres","Authorization","authorization","akamai-origin-shielding"],tu={"👨🏻‍💻 🔥":"👨🏻‍💻 🔥","👨🏻‍💻 ㏒":"👨🏻‍💻 ㏒","👨🏻‍💻 ⚠️":"👨🏻‍💻 ⚠️"},C4=e=>{switch(e){case"error":return tu["👨🏻‍💻 🔥"];case"info":return tu["👨🏻‍💻 ㏒"];case"warning":return tu["👨🏻‍💻 ⚠️"];default:return tu["👨🏻‍💻 🔥"]}},N4=(e,{title:t,logLevel:n="error",report:r,name:o,message:i,metadata:s})=>{const a="Client",l=`${C4(n)} ${a} - ${o||""}`,u=i||(r==null?void 0:r.message)||"",c=`${n} - ${a} - ${o} - ${t}`;r&&e.addMetadata("report",r),s&&Object.keys(s).length&&Object.keys(s).forEach(f=>{e.addMetadata(f,s[f])}),e.severity=n,e.context=t,e.groupingHash=c,e.errors[0].errorClass=l,e.errors[0].errorMessage=u};function L4(e,t){const{whitelistedRedactedKeys:n}=e;if(n){let r=[...t._config.redactedKeys];n.forEach(o=>{r=r.filter(i=>i===o)}),t._config.redactedKeys=r}return t}function k4(e,t){t&&(t=L4(e,t),t.notify(e.error||e.title,n=>N4(n,e)),t._config.redactedKeys=x4)}const P4=({name:e,message:t,title:n,logLevel:r})=>{r==="error"&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"error",error_id:e,error_description:t,error_title:n}))};var D4={};function M4(e){return e.logLevel||(e.logLevel="warning"),e.error&&(e.logLevel="error"),e}function F4(e){var t;return(t=e.error)!=null&&t.name&&!e.name&&(e.name=e.error.name),e}function U4(e){var t;return(t=e.error)!=null&&t.message&&!e.message&&(e.message=e.error.message),e}function j4(e,t){return e}function V4(e,t){return e}function $4(e,t){return e.ignore=t,e}function B4(e){var r,o,i;const t=((r=e.ignore)==null?void 0:r.headers)||[];return t.length?Object.keys(((i=(o=e.metadata)==null?void 0:o.request)==null?void 0:i.headers)||{}).some(s=>t.includes(s)):!1}function A_(e){e=F4(e),e=U4(e),e=M4(e),e=V4(e,this.log.prototype.requestUrl),e=j4(e,this.log.prototype.requestHeaders),e=$4(e,this.log.prototype.ignoreOptions),!B4(e)&&(D4.STAGE!=="production"&&console.log(e),k4(e,this.log.prototype.bugsnagClient),P4(e))}const H4=O4({enforce:"post",setup(e){return A_.prototype.bugsnagClient=e.$bugsnag,{provide:{logger:{log:A_}}}}}),z4=[sO,fO,WC,XC,JC,QC,eN,Qk,Zk,tP,sP,aP,sD,bD,cF,bF,q5,W5,Z5,A4,R4,H4];async function G4(e,t){return await K4(t).catch(r=>(console.error("Failed to get image meta for "+t,r+""),{width:0,height:0,ratio:0}))}async function K4(e){if(typeof Image>"u")throw new TypeError("Image not supported");return new Promise((t,n)=>{const r=new Image;r.onload=()=>{const o={width:r.width,height:r.height,ratio:r.width/r.height};t(o)},r.onerror=o=>n(o),r.src=e})}function R_(e){return t=>t?e[t]||t:e.missingValue}function q4({formatter:e,keyMap:t,joinWith:n="/",valueMap:r}={}){e||(e=(i,s)=>`${i}=${s}`),t&&typeof t!="function"&&(t=R_(t));const o=r||{};return Object.keys(o).forEach(i=>{typeof o[i]!="function"&&(o[i]=R_(o[i]))}),(i={})=>Object.entries(i).filter(([a,l])=>typeof l<"u").map(([a,l])=>{const u=o[a];return typeof u=="function"&&(l=u(i[a])),a=typeof t=="function"?t(a):a,e(a,l)}).join(n)}function zr(e=""){if(typeof e=="number")return e;if(typeof e=="string"&&e.replace("px","").match(/^\d+$/g))return Number.parseInt(e,10)}function W4(e=""){if(e===void 0||!e.length)return[];const t=new Set;for(const n of e.split(" ")){const r=Number.parseInt(n.replace("x",""));r&&t.add(r)}return Array.from(t)}function Y4(e){if(e.length===0)throw new Error("`densities` must not be empty, configure to `1` to render regular size only (DPR 1.0)")}function X4(e){const t={};if(typeof e=="string")for(const n of e.split(/[\s,]+/).filter(r=>r)){const r=n.split(":");r.length!==2?t["1px"]=r[0].trim():t[r[0].trim()]=r[1].trim()}else Object.assign(t,e);return t}function J4(e){const t={options:e},n=(o,i={})=>C2(t,o,i),r=(o,i={},s={})=>n(o,{...s,modifiers:Ja(i,s.modifiers||{})}).url;for(const o in e.presets)r[o]=(i,s,a)=>r(i,s,{...e.presets[o],...a});return r.options=e,r.getImage=n,r.getMeta=(o,i)=>Q4(t,o,i),r.getSizes=(o,i)=>tj(t,o,i),t.$img=r,r}async function Q4(e,t,n){const r=C2(e,t,{...n});return typeof r.getMeta=="function"?await r.getMeta():await G4(e,r.url)}function C2(e,t,n){var u,c;if(t&&typeof t!="string")throw new TypeError(`input must be a string (received ${typeof t}: ${JSON.stringify(t)})`);if(!t||t.startsWith("data:"))return{url:t};const{provider:r,defaults:o}=Z4(e,n.provider||e.options.provider),i=ej(e,n.preset);if(t=Mn(t)?t:Ed(t),!r.supportsAlias){for(const f in e.options.alias)if(t.startsWith(f)){const d=e.options.alias[f];d&&(t=hr(d,t.slice(f.length)))}}if(r.validateDomains&&Mn(t)){const f=Ic(t).host;if(!e.options.domains.find(d=>d===f))return{url:t}}const s=Ja(n,i,o);s.modifiers={...s.modifiers};const a=s.modifiers.format;(u=s.modifiers)!=null&&u.width&&(s.modifiers.width=zr(s.modifiers.width)),(c=s.modifiers)!=null&&c.height&&(s.modifiers.height=zr(s.modifiers.height));const l=r.getImage(t,s,e);return l.format=l.format||a||"",l}function Z4(e,t){const n=e.options.providers[t];if(!n)throw new Error("Unknown provider: "+t);return n}function ej(e,t){if(!t)return{};if(!e.options.presets[t])throw new Error("Unknown preset: "+t);return e.options.presets[t]}function tj(e,t,n){var g,h,_,m,E;const r=zr((g=n.modifiers)==null?void 0:g.width),o=zr((h=n.modifiers)==null?void 0:h.height),i=X4(n.sizes),s=(_=n.densities)!=null&&_.trim()?W4(n.densities.trim()):e.options.densities;Y4(s);const a=r&&o?o/r:0,l=[],u=[];if(Object.keys(i).length>=1){for(const y in i){const v=I_(y,String(i[y]),o,a,e);if(v!==void 0){l.push({size:v.size,screenMaxWidth:v.screenMaxWidth,media:`(max-width: ${v.screenMaxWidth}px)`});for(const T of s)u.push({width:v._cWidth*T,src:O_(e,t,n,v,T)})}}nj(l)}else for(const y of s){const v=Object.keys(i)[0];let T=v?I_(v,String(i[v]),o,a,e):void 0;T===void 0&&(T={size:"",screenMaxWidth:0,_cWidth:(m=n.modifiers)==null?void 0:m.width,_cHeight:(E=n.modifiers)==null?void 0:E.height}),u.push({width:y,src:O_(e,t,n,T,y)})}rj(u);const c=u[u.length-1],f=l.length?l.map(y=>`${y.media?y.media+" ":""}${y.size}`).join(", "):void 0,d=f?"w":"x",p=u.map(y=>`${y.src} ${y.width}${d}`).join(", ");return{sizes:f,srcset:p,src:c==null?void 0:c.src}}function I_(e,t,n,r,o){const i=o.options.screens&&o.options.screens[e]||Number.parseInt(e),s=t.endsWith("vw");if(!s&&/^\d+$/.test(t)&&(t=t+"px"),!s&&!t.endsWith("px"))return;let a=Number.parseInt(t);if(!i||!a)return;s&&(a=Math.round(a/100*i));const l=r?Math.round(a*r):n;return{size:t,screenMaxWidth:i,_cWidth:a,_cHeight:l}}function O_(e,t,n,r,o){return e.$img(t,{...n.modifiers,width:r._cWidth?r._cWidth*o:void 0,height:r._cHeight?r._cHeight*o:void 0},n)}function nj(e){var n;e.sort((r,o)=>r.screenMaxWidth-o.screenMaxWidth);let t=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.media===t&&e.splice(r,1),t=o.media}for(let r=0;rn.width-r.width);let t=null;for(let n=e.length-1;n>=0;n--){const r=e[n];r.width===t&&e.splice(n,1),t=r.width}}const oj=q4({joinWith:"&"}),ij=(e,{modifiers:t={},baseURL:n}={})=>{const r={mode:"fill"};n||(n=Dt().public.siteUrl),t.height!==void 0&&(r.height=String(t.height)),t.width!==void 0&&(r.width=String(t.width));const o=oj(r);return{url:hr(n,e+(o?"?"+o:""))}},sj=Object.freeze(Object.defineProperty({__proto__:null,getImage:ij},Symbol.toStringTag,{value:"Module"})),aj="https://a.storyblok.com",lj=(e,{modifiers:t={},baseURL:n=aj}={})=>{const{fit:r,smart:o,width:i="0",height:s="0",filters:a={},format:l,quality:u}=t,c=e.endsWith(".svg"),f=!c&&(i!=="0"||s!=="0");c||(l&&(a.format=l+""),u&&(a.quality=u+""));const d=Object.entries(a||{}).map(m=>`${m[0]}(${m[1]})`).join(":"),p=hr(r?`fit-${r}`:"",f?`${i}x${s}`:"",o?"smart":"",d?"filters:"+d:""),{pathname:g}=Ic(e);return{url:tb(hr(g,p?"/m/":"",p),n)}},uj=Object.freeze(Object.defineProperty({__proto__:null,getImage:lj},Symbol.toStringTag,{value:"Module"})),N2={screens:{xs:320,sm:640,md:768,lg:1024,xl:1280,xxl:1536,"2xl":1536,lower:320,lhm:411,lhd:1349,upper:1537},presets:{},provider:"akamai",domains:[],alias:{},densities:[1,2],format:["webp"]};N2.providers={akamai:{provider:sj,defaults:{}},storyblok:{provider:uj,defaults:void 0}};const L2=()=>{const e=Dt(),t=Be();return t.$img||t._img||(t._img=J4({...N2,nuxt:{baseURL:e.app.baseURL},runtimeConfig:e}))};function cj(e){var t;(t=performance==null?void 0:performance.mark)==null||t.call(performance,"mark_feature_usage",{detail:{feature:e}})}const fj={src:{type:String,required:!1},format:{type:String,required:!1},quality:{type:[Number,String],required:!1},background:{type:String,required:!1},fit:{type:String,required:!1},modifiers:{type:Object,required:!1},preset:{type:String,required:!1},provider:{type:String,required:!1},sizes:{type:[Object,String],required:!1},densities:{type:String,required:!1},preload:{type:[Boolean,Object],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},alt:{type:String,required:!1},referrerpolicy:{type:String,required:!1},usemap:{type:String,required:!1},longdesc:{type:String,required:!1},ismap:{type:Boolean,required:!1},loading:{type:String,required:!1,validator:e=>["lazy","eager"].includes(e)},crossorigin:{type:[Boolean,String],required:!1,validator:e=>["anonymous","use-credentials","",!0,!1].includes(e)},decoding:{type:String,required:!1,validator:e=>["async","auto","sync"].includes(e)},nonce:{type:[String],required:!1}},dj=e=>{const t=ne(()=>({provider:e.provider,preset:e.preset})),n=ne(()=>({width:zr(e.width),height:zr(e.height),alt:e.alt,referrerpolicy:e.referrerpolicy,usemap:e.usemap,longdesc:e.longdesc,ismap:e.ismap,crossorigin:e.crossorigin===!0?"anonymous":e.crossorigin||void 0,loading:e.loading,decoding:e.decoding,nonce:e.nonce})),r=L2(),o=ne(()=>({...e.modifiers,width:zr(e.width),height:zr(e.height),format:e.format,quality:e.quality||r.options.quality,background:e.background,fit:e.fit}));return{options:t,attrs:n,modifiers:o}},pj={...fj,placeholder:{type:[Boolean,String,Number,Array],required:!1},placeholderClass:{type:String,required:!1},custom:{type:Boolean,required:!1}},hj=["src"],gj=Ce({__name:"NuxtImg",props:pj,emits:["load","error"],setup(e,{emit:t}){const n=e,r=Ec(),o=t,i=!1,s=L2(),a=dj(n),l=Fe(!1),u=Fe(),c=ne(()=>s.getSizes(n.src,{...a.options.value,sizes:n.sizes,densities:n.densities,modifiers:{...a.modifiers.value,width:zr(n.width),height:zr(n.height)}})),f=ne(()=>{const m={...a.attrs.value,"data-nuxt-img":""};return(!n.placeholder||l.value)&&(m.sizes=c.value.sizes,m.srcset=c.value.srcset),m}),d=ne(()=>{let m=n.placeholder;if(m===""&&(m=!0),!m||l.value)return!1;if(typeof m=="string")return m;const E=Array.isArray(m)?m:typeof m=="number"?[m,m]:[10,10];return s(n.src,{...a.modifiers.value,width:E[0],height:E[1],quality:E[2]||50,blur:E[3]||3},a.options.value)}),p=ne(()=>n.sizes?c.value.src:s(n.src,a.modifiers.value,a.options.value)),g=ne(()=>d.value?d.value:p.value),_=Be().isHydrating;return ln(()=>{if(d.value||n.custom){const m=new Image;p.value&&(m.src=p.value),n.sizes&&(m.sizes=c.value.sizes||"",m.srcset=c.value.srcset),m.onload=E=>{l.value=!0,o("load",E)},m.onerror=E=>{o("error",E)},cj("nuxt-image");return}u.value&&(u.value.complete&&_&&(u.value.getAttribute("data-error")?o("error",new Event("error")):o("load",new Event("load"))),u.value.onload=m=>{o("load",m)},u.value.onerror=m=>{o("error",m)})}),(m,E)=>m.custom?pt(m.$slots,"default",Vo(kt({key:1},{...W(i)?{onerror:"this.setAttribute('data-error', 1)"}:{},imgAttrs:{...f.value,...W(r)},isLoaded:l.value,src:g.value}))):(me(),mt("img",kt({key:0,ref_key:"imgEl",ref:u,class:n.placeholder&&!l.value?n.placeholderClass:void 0},{...W(i)?{onerror:"this.setAttribute('data-error', 1)"}:{},...f.value,...W(r)},{src:g.value}),null,16,hj))}}),mj=Object.assign(gj,{__name:"NuxtImg"}),k2={0:{open:-1,closed:-1},1:{open:9,closed:21},2:{open:9,closed:21},3:{open:9,closed:21},4:{open:9,closed:21},5:{open:9,closed:17},6:{open:10,closed:16}};function yj({date:e=new Date,hours:t=k2}={}){const n=e.getDay(),r=e.getHours();return r>=t[n].open&&r<=t[n].closed-1}({...k2});const _j={key:0},vj=["innerHTML"],bj=["href","data-analytics-label","data-analytics-property","textContent"],Ej={key:1},Tj=["innerHTML"],wj={key:2},Sj=["href"],Aj=Ce({__name:"BaseCustomerServiceWidget",props:{variant:{default:"default"},avatar:{default:""},phoneNumber:{default:"088-0505014"},customerServiceLink:{default:""},businessHourContent:{default:"Telefonisch bestellen of opzeggen?
Bel ons:"},isBusinessHour:{type:Boolean,default:!1},closedContent:{default:"Helaas is onze klantenservice gesloten.
Vanaf 09:00 zijn wij weer telefonisch bereikbaar."}},setup(e){return(t,n)=>{const r=mj;return me(),mt("div",{class:Xn(["customer-service",`customer-service--${t.variant}`]),"data-test-id":"customer-service"},[Et("div",{class:Xn(["customer-service__content",{"customer-service__content--text-inline":t.variant==="minimalistic"}])},[("isBusinessHour"in t?t.isBusinessHour:W(yj))&&t.businessHourContent?(me(),mt("span",_j,[Et("span",{innerHTML:t.businessHourContent},null,8,vj),t.phoneNumber?(me(),mt("a",{key:0,class:"customer-service__phone-number",href:`tel:${t.phoneNumber}`,"data-test-id":"phoneNumber","data-analytics-category":"navigation","data-analytics-action":"top_bar_click","data-analytics-label":t.phoneNumber,"data-analytics-property":`tel:${t.phoneNumber}`,textContent:rr(t.phoneNumber)},null,8,bj)):rn("",!0),n[0]||(n[0]=Et("br",null,null,-1))])):t.closedContent?(me(),mt("span",Ej,[Et("span",{innerHTML:t.closedContent},null,8,Tj),n[1]||(n[1]=Et("br",null,null,-1))])):rn("",!0),t.customerServiceLink?(me(),mt("span",wj,[Et("a",{href:t.customerServiceLink,class:"customer-service__link","data-analytics-category":"navigation","data-analytics-action":"top_bar_click","data-analytics-label":"Abonnement beheren"},rr(t.$t("components.baseCustomerServiceWidget.customerServiceLink")),9,Sj)])):rn("",!0)],2),t.avatar?(me(),Ge(r,{key:0,src:t.avatar,class:"customer-service__avatar",width:120,height:120,alt:"Foto van klantenservice medewerker"},null,8,["src"])):rn("",!0)],2)}}}),hn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Rj=Object.assign(hn(Aj,[["__scopeId","data-v-896a27b4"]]),{__name:"BaseCustomerServiceWidget"}),Ij={props:{isAuth:{type:Boolean,required:!1}}},Oj={class:"base-auth-icon",width:"32",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xj={key:0,d:"M28.166 4.125 24.73 7.563 23.166 6",stroke:"#ffffff","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},Cj={key:1,d:"m27.541 4.125-3.75 3.75M23.791 4.125l3.75 3.75",stroke:"#ffffff","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function Nj(e,t,n,r,o,i){return me(),mt("svg",Oj,[t[0]||(t[0]=Et("path",{class:"base-auth-icon__icon",d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2M12 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)),Et("g",null,[Et("circle",{class:Xn(["base-auth-icon__circle",{"base-auth-icon__circle--is-auth":n.isAuth}]),cx:"25.666",cy:"6",r:"6"},null,2),n.isAuth?(me(),mt("path",xj)):(me(),mt("path",Cj))])])}const Lj=Object.assign(hn(Ij,[["render",Nj],["__scopeId","data-v-bacae087"]]),{__name:"BaseAuthIcon"});var vu={exports:{}},kj=vu.exports,x_;function Pj(){return x_||(x_=1,function(e,t){(function(r,o){e.exports=o()})(typeof self<"u"?self:kj,function(){return function(n){var r={};function o(i){if(r[i])return r[i].exports;var s=r[i]={i,l:!1,exports:{}};return n[i].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=n,o.c=r,o.d=function(i,s,a){o.o(i,s)||Object.defineProperty(i,s,{configurable:!1,enumerable:!0,get:a})},o.r=function(i){Object.defineProperty(i,"__esModule",{value:!0})},o.n=function(i){var s=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(s,"a",s),s},o.o=function(i,s){return Object.prototype.hasOwnProperty.call(i,s)},o.p="",o(o.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(n,r,o){var i,s;/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */(function(){var a=function(){function l(){}l.prototype=Object.create(null);function u(m,E){for(var y=E.length,v=0;v1?arguments[1]:void 0,E=m!==void 0,y=0,v=f(g),T,S,I,D;if(E&&(m=i(m,_>2?arguments[2]:void 0,2)),v!=null&&!(h==Array&&l(v)))for(D=v.call(g),S=new h;!(I=D.next()).done;y++)c(S,y,E?a(D,m,[I.value,y],!0):I.value);else for(T=u(g.length),S=new h(T);T>y;y++)c(S,y,E?m(g[y],y):g[y]);return S.length=y,S}},"./node_modules/core-js/internals/array-includes.js":function(n,r,o){var i=o("./node_modules/core-js/internals/to-indexed-object.js"),s=o("./node_modules/core-js/internals/to-length.js"),a=o("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(l){return function(u,c,f){var d=i(u),p=s(d.length),g=a(f,p),h;if(l&&c!=c){for(;p>g;)if(h=d[g++],h!=h)return!0}else for(;p>g;g++)if((l||g in d)&&d[g]===c)return l||g||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,r,o){var i=o("./node_modules/core-js/internals/a-function.js");n.exports=function(s,a,l){if(i(s),a===void 0)return s;switch(l){case 0:return function(){return s.call(a)};case 1:return function(u){return s.call(a,u)};case 2:return function(u,c){return s.call(a,u,c)};case 3:return function(u,c,f){return s.call(a,u,c,f)}}return function(){return s.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,r,o){var i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(s,a,l,u){try{return u?a(i(l)[0],l[1]):a(l)}catch(f){var c=s.return;throw c!==void 0&&i(c.call(s)),f}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,r,o){var i=o("./node_modules/core-js/internals/well-known-symbol.js"),s=i("iterator"),a=!1;try{var l=0,u={next:function(){return{done:!!l++}},return:function(){a=!0}};u[s]=function(){return this},Array.from(u,function(){throw 2})}catch{}n.exports=function(c,f){if(!f&&!a)return!1;var d=!1;try{var p={};p[s]=function(){return{next:function(){return{done:d=!0}}}},c(p)}catch{}return d}},"./node_modules/core-js/internals/classof-raw.js":function(n,r){var o={}.toString;n.exports=function(i){return o.call(i).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,r,o){var i=o("./node_modules/core-js/internals/classof-raw.js"),s=o("./node_modules/core-js/internals/well-known-symbol.js"),a=s("toStringTag"),l=i(function(){return arguments}())=="Arguments",u=function(c,f){try{return c[f]}catch{}};n.exports=function(c){var f,d,p;return c===void 0?"Undefined":c===null?"Null":typeof(d=u(f=Object(c),a))=="string"?d:l?i(f):(p=i(f))=="Object"&&typeof f.callee=="function"?"Arguments":p}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,r,o){var i=o("./node_modules/core-js/internals/has.js"),s=o("./node_modules/core-js/internals/own-keys.js"),a=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(u,c){for(var f=s(c),d=l.f,p=a.f,g=0;g",T="java"+y+":",S;for(_.style.display="none",u.appendChild(_),_.src=String(T),S=_.contentWindow.document,S.open(),S.write(E+y+v+"document.F=Object"+E+"/"+y+v),S.close(),h=S.F;m--;)delete h[p][a[m]];return h()};n.exports=Object.create||function(m,E){var y;return m!==null?(g[p]=i(m),y=new g,g[p]=null,y[d]=m):y=h(),E===void 0?y:s(y,E)},l[d]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,r,o){var i=o("./node_modules/core-js/internals/descriptors.js"),s=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/object-keys.js");n.exports=i?Object.defineProperties:function(c,f){a(c);for(var d=l(f),p=d.length,g=0,h;p>g;)s.f(c,h=d[g++],f[h]);return c}},"./node_modules/core-js/internals/object-define-property.js":function(n,r,o){var i=o("./node_modules/core-js/internals/descriptors.js"),s=o("./node_modules/core-js/internals/ie8-dom-define.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/to-primitive.js"),u=Object.defineProperty;r.f=i?u:function(f,d,p){if(a(f),d=l(d,!0),a(p),s)try{return u(f,d,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(f[d]=p.value),f}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,r,o){var i=o("./node_modules/core-js/internals/descriptors.js"),s=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),u=o("./node_modules/core-js/internals/to-primitive.js"),c=o("./node_modules/core-js/internals/has.js"),f=o("./node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;r.f=i?d:function(g,h){if(g=l(g),h=u(h,!0),f)try{return d(g,h)}catch{}if(c(g,h))return a(!s.f.call(g,h),g[h])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,r,o){var i=o("./node_modules/core-js/internals/object-keys-internal.js"),s=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=s.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(u){return i(u,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,r){r.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,r,o){var i=o("./node_modules/core-js/internals/has.js"),s=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/shared-key.js"),l=o("./node_modules/core-js/internals/correct-prototype-getter.js"),u=a("IE_PROTO"),c=Object.prototype;n.exports=l?Object.getPrototypeOf:function(f){return f=s(f),i(f,u)?f[u]:typeof f.constructor=="function"&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?c:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,r,o){var i=o("./node_modules/core-js/internals/has.js"),s=o("./node_modules/core-js/internals/to-indexed-object.js"),a=o("./node_modules/core-js/internals/array-includes.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),u=a(!1);n.exports=function(c,f){var d=s(c),p=0,g=[],h;for(h in d)!i(l,h)&&i(d,h)&&g.push(h);for(;f.length>p;)i(d,h=f[p++])&&(~u(g,h)||g.push(h));return g}},"./node_modules/core-js/internals/object-keys.js":function(n,r,o){var i=o("./node_modules/core-js/internals/object-keys-internal.js"),s=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return i(l,s)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,r,o){var i={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,a=s&&!i.call({1:2},1);r.f=a?function(u){var c=s(this,u);return!!c&&c.enumerable}:i},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,r,o){var i=o("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),s=a instanceof Array}catch{}return function(c,f){return i(c,f),s?l.call(c,f):c.__proto__=f,c}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,r,o){var i=o("./node_modules/core-js/internals/global.js"),s=o("./node_modules/core-js/internals/object-get-own-property-names.js"),a=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("./node_modules/core-js/internals/an-object.js"),u=i.Reflect;n.exports=u&&u.ownKeys||function(f){var d=s.f(l(f)),p=a.f;return p?d.concat(p(f)):d}},"./node_modules/core-js/internals/path.js":function(n,r,o){n.exports=o("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,r,o){var i=o("./node_modules/core-js/internals/global.js"),s=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/has.js"),u=o("./node_modules/core-js/internals/set-global.js"),c=o("./node_modules/core-js/internals/function-to-string.js"),f=o("./node_modules/core-js/internals/internal-state.js"),d=f.get,p=f.enforce,g=String(c).split("toString");s("inspectSource",function(h){return c.call(h)}),(n.exports=function(h,_,m,E){var y=E?!!E.unsafe:!1,v=E?!!E.enumerable:!1,T=E?!!E.noTargetGet:!1;if(typeof m=="function"&&(typeof _=="string"&&!l(m,"name")&&a(m,"name",_),p(m).source=g.join(typeof _=="string"?_:"")),h===i){v?h[_]=m:u(_,m);return}else y?!T&&h[_]&&(v=!0):delete h[_];v?h[_]=m:a(h,_,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&d(this).source||c.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,r){n.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"./node_modules/core-js/internals/set-global.js":function(n,r,o){var i=o("./node_modules/core-js/internals/global.js"),s=o("./node_modules/core-js/internals/hide.js");n.exports=function(a,l){try{s(i,a,l)}catch{i[a]=l}return l}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,r,o){var i=o("./node_modules/core-js/internals/object-define-property.js").f,s=o("./node_modules/core-js/internals/has.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");n.exports=function(u,c,f){u&&!s(u=f?u:u.prototype,l)&&i(u,l,{configurable:!0,value:c})}},"./node_modules/core-js/internals/shared-key.js":function(n,r,o){var i=o("./node_modules/core-js/internals/shared.js"),s=o("./node_modules/core-js/internals/uid.js"),a=i("keys");n.exports=function(l){return a[l]||(a[l]=s(l))}},"./node_modules/core-js/internals/shared.js":function(n,r,o){var i=o("./node_modules/core-js/internals/global.js"),s=o("./node_modules/core-js/internals/set-global.js"),a=o("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",u=i[l]||s(l,{});(n.exports=function(c,f){return u[c]||(u[c]=f!==void 0?f:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,r,o){var i=o("./node_modules/core-js/internals/to-integer.js"),s=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a,l,u){var c=String(s(a)),f=i(l),d=c.length,p,g;return f<0||f>=d?u?"":void 0:(p=c.charCodeAt(f),p<55296||p>56319||f+1===d||(g=c.charCodeAt(f+1))<56320||g>57343?u?c.charAt(f):p:u?c.slice(f,f+2):(p-55296<<10)+(g-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,r,o){var i=o("./node_modules/core-js/internals/to-integer.js"),s=Math.max,a=Math.min;n.exports=function(l,u){var c=i(l);return c<0?s(c+u,0):a(c,u)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,r,o){var i=o("./node_modules/core-js/internals/indexed-object.js"),s=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return i(s(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,r){var o=Math.ceil,i=Math.floor;n.exports=function(s){return isNaN(s=+s)?0:(s>0?i:o)(s)}},"./node_modules/core-js/internals/to-length.js":function(n,r,o){var i=o("./node_modules/core-js/internals/to-integer.js"),s=Math.min;n.exports=function(a){return a>0?s(i(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,r,o){var i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(s){return Object(i(s))}},"./node_modules/core-js/internals/to-primitive.js":function(n,r,o){var i=o("./node_modules/core-js/internals/is-object.js");n.exports=function(s,a){if(!i(s))return s;var l,u;if(a&&typeof(l=s.toString)=="function"&&!i(u=l.call(s))||typeof(l=s.valueOf)=="function"&&!i(u=l.call(s))||!a&&typeof(l=s.toString)=="function"&&!i(u=l.call(s)))return u;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,r){var o=0,i=Math.random();n.exports=function(s){return"Symbol(".concat(s===void 0?"":s,")_",(++o+i).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,r,o){var i=o("./node_modules/core-js/internals/is-object.js"),s=o("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(s(a),!i(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,r,o){var i=o("./node_modules/core-js/internals/global.js"),s=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/uid.js"),l=o("./node_modules/core-js/internals/native-symbol.js"),u=i.Symbol,c=s("wks");n.exports=function(f){return c[f]||(c[f]=l&&u[f]||(l?u:a)("Symbol."+f))}},"./node_modules/core-js/modules/es.array.from.js":function(n,r,o){var i=o("./node_modules/core-js/internals/export.js"),s=o("./node_modules/core-js/internals/array-from.js"),a=o("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(u){Array.from(u)});i({target:"Array",stat:!0,forced:l},{from:s})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,r,o){var i=o("./node_modules/core-js/internals/string-at.js"),s=o("./node_modules/core-js/internals/internal-state.js"),a=o("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",u=s.set,c=s.getterFor(l);a(String,"String",function(f){u(this,{type:l,string:String(f),index:0})},function(){var d=c(this),p=d.string,g=d.index,h;return g>=p.length?{value:void 0,done:!0}:(h=i(p,g,!0),d.index+=h.length,{value:h,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,r){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(o=window)}n.exports=o},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(h){for(var _=1;_2&&arguments[2]!==void 0?arguments[2]:[];d(this,h),this.name=_,this.contents=m,this.tags=E,this.attrs=i({},c.default,{class:"feather feather-"+_})}return s(h,[{key:"toSvg",value:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=i({},this.attrs,m,{class:(0,l.default)(this.attrs.class,m.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),h}();function g(h){return Object.keys(h).map(function(_){return _+'="'+h[_]+'"'}).join(" ")}r.default=p},"./src/icons.js":function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=o("./src/icon.js"),s=f(i),a=o("./dist/icons.json"),l=f(a),u=o("./src/tags.json"),c=f(u);function f(d){return d&&d.__esModule?d:{default:d}}r.default=Object.keys(l.default).map(function(d){return new s.default(d,l.default[d],c.default[d])}).reduce(function(d,p){return d[p.name]=p,d},{})},"./src/index.js":function(n,r,o){var i=o("./src/icons.js"),s=f(i),a=o("./src/to-svg.js"),l=f(a),u=o("./src/replace.js"),c=f(u);function f(d){return d&&d.__esModule?d:{default:d}}n.exports={icons:s.default,toSvg:l.default,replace:c.default}},"./src/replace.js":function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(g){for(var h=1;h0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var h=document.querySelectorAll("[data-feather]");Array.from(h).forEach(function(_){return d(_,g)})}function d(g){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_=p(g),m=_["data-feather"];if(delete _["data-feather"],u.default[m]===void 0){console.warn("feather: '"+m+"' is not a valid icon");return}var E=u.default[m].toSvg(i({},h,_,{class:(0,a.default)(h.class,_.class)})),y=new DOMParser().parseFromString(E,"image/svg+xml"),v=y.querySelector("svg");g.parentNode.replaceChild(v,g)}function p(g){return Array.from(g.attributes).reduce(function(h,_){return h[_.name]=_.value,h},{})}r.default=f},"./src/tags.json":function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-buoy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=o("./src/icons.js"),s=a(i);function a(u){return u&&u.__esModule?u:{default:u}}function l(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!u)throw new Error("The required `key` (icon name) parameter is missing.");if(!s.default[u])throw new Error("No icon matching '"+u+"'. See the complete list of icons at https://feathericons.com");return s.default[u].toSvg(c)}r.default=l},0:function(n,r,o){o("./node_modules/core-js/es/array/from.js"),n.exports=o("./src/index.js")}})})}(vu)),vu.exports}var C_=Pj();const Dj=["innerHTML"],Mj=Ce({__name:"TappIcon",props:{color:{default:"currentColor"},size:{default:()=>{}},icon:{default:"loader"}},setup(e){const t=ne(()=>{var r;return(r=C_.icons[e.icon])==null?void 0:r.contents}),n=ne(()=>{var r;return{...Ec(),...((r=C_.icons[e.icon])==null?void 0:r.attrs)??{},width:e.size??24,height:e.size??24,...e.color&&{stroke:e.color}}});return(r,o)=>(me(),mt("svg",kt(n.value,{style:{fontSize:r.size?`${r.size}px`:"inherit"},innerHTML:t.value}),null,16,Dj))}}),Bc=Object.assign(hn(Mj,[["__scopeId","data-v-2f4b60e3"]]),{__name:"TappIcon"}),Fj={"aria-label":"Account",class:"base-account-btn","data-testid":"base-account-btn","data-analytics-action":"top_bar_click","data-analytics-category":"navigation","data-analytics-label":"Account","data-analytics-property":""},Uj={key:0,class:"base-account-btn__label"},jj=Ce({__name:"BaseAccountBtn",props:{isAuth:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},isOpen:{type:Boolean,default:!1},user:{default:null}},setup(e){const t=e;return(n,r)=>{const o=Lj,i=Bc;return me(),mt("button",Fj,[xe(o,{"is-auth":t.isAuth},null,8,["is-auth"]),t.showLabel?(me(),mt("span",Uj,rr(n.user||"Account"),1)):rn("",!0),xe(i,{icon:`chevron-${n.isOpen?"up":"down"}`,size:16,class:"base-account-btn__icon"},null,8,["icon"])])}}}),Vj=Object.assign(hn(jj,[["__scopeId","data-v-12a991b2"]]),{__name:"BaseAccountBtn"}),$j=["button","span","NuxtLink","a"],Bj=["default","small","large"],Hj=["primary","secondary","tertiary","ghost","text"],zj=Ce({__name:"TappButton",props:{disabled:{default:()=>{}},tag:{default:()=>$j[0]},size:{default:()=>Bj[0]},variant:{default:()=>Hj[0]},fullWidth:{type:Boolean},fullWidthMobile:{type:Boolean},loading:{type:Boolean},pill:{type:Boolean},text:{default:()=>{}},label:{default:()=>{}}},setup(e){const t=Ec(),n=ne(()=>t.to?kc:e.tag);return(r,o)=>{const i=Bc;return me(),Ge(Ho(W(n)),{class:Xn(["tapp-button",[`tapp-button--${r.size}`,`tapp-button--${r.variant}`,{"tapp-button--full-width":r.fullWidth},{"tapp-button--full-width-mobile":r.fullWidthMobile},{"tapp-button--pill":r.pill},{"tapp-button--loading":r.loading}]]),"aria-label":r.label||r.text,disabled:r.disabled},{default:Ve(()=>[pt(r.$slots,"default",{},()=>[Qr(rr(r.text),1)],!0),r.loading?(me(),Ge(i,{key:0,icon:"loader",class:"tapp-button__icon",size:24})):rn("",!0)]),_:3},8,["aria-label","class","disabled"])}}}),P2=Object.assign(hn(zj,[["__scopeId","data-v-fc8264e4"]]),{__name:"TappButton"});function yB(e,t){var n;const r=An();return Jr(()=>{r.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),za(r)}function al(e){return To()?(Yr(e),!0):!1}function _B(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const s=()=>t(i);return al(s),{off:s}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(s=>s(...i))),clear:()=>{e.clear()}}}function Gj(e){let t=!1,n;const r=Is(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}const zf=new WeakMap,Kj=(...e)=>{var t;const n=e[0],r=(t=St())==null?void 0:t.proxy;if(r==null&&!Qo())throw new Error("injectLocal must be called in setup");return r&&zf.has(r)&&n in zf.get(r)?zf.get(r)[n]:jt(...e)};function qj(e){let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...i)=>(t+=1,r||(r=Is(!0),n=r.run(()=>e(...i))),al(o),n)}function Wj(e){if(!It(e))return Sn(e);const t=new Proxy({},{get(n,r,o){return W(Reflect.get(e.value,r,o))},set(n,r,o){return It(e.value[r])&&!It(o)?e.value[r].value=o:e.value[r]=o,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Sn(t)}function Yj(e){return Wj(ne(e))}function vB(e,...t){const n=t.flat(),r=n[0];return Yj(()=>Object.fromEntries(typeof r=="function"?Object.entries(_a(e)).filter(([o,i])=>!r(gt(i),o)):Object.entries(_a(e)).filter(o=>!n.includes(o[0]))))}const ni=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Xj=e=>typeof e<"u",Jj=Object.prototype.toString,Qj=e=>Jj.call(e)==="[object Object]",ha=()=>{},gp=Zj();function Zj(){var e,t;return ni&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function e8(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}function t8(e,t={}){let n,r,o=ha;const i=l=>{clearTimeout(l),o(),o=ha};let s;return l=>{const u=gt(e),c=gt(t.maxWait);return n&&i(n),u<=0||c!==void 0&&c<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((f,d)=>{o=t.rejectOnCancel?d:f,s=l,c&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,f(s())},c)),n=setTimeout(()=>{r&&i(r),r=null,f(l())},u)})}}function N_(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function D2(e){return St()}function Gf(e){return Array.isArray(e)?e:[e]}function bB(e,t=1e4){return Ga((n,r)=>{let o=gt(e),i;const s=()=>setTimeout(()=>{o=gt(e),r()},gt(t));return al(()=>{clearTimeout(i)}),{get(){return n(),o},set(a){o=a,r(),clearTimeout(i),i=s()}}})}function EB(e,t=200,n={}){return e8(t8(t,n),e)}const TB=gt;function n8(e,t){D2()&&Jo(e,t)}function r8(e,t=!0,n){D2()?ln(e,n):t?e():Yt(e)}function wB(e,t,n={}){const{immediate:r=!0}=n,o=Fe(!1);let i=null;function s(){i&&(clearTimeout(i),i=null)}function a(){o.value=!1,s()}function l(...u){s(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=null,e(...u)},gt(t))}return r&&(o.value=!0,ni&&l()),al(a),{isPending:za(o),start:l,stop:a}}function o8(e,t,n){return wt(e,t,{...n,immediate:!0})}const Ls=ni?window:void 0;function jo(e){var t;const n=gt(e);return(t=n==null?void 0:n.$el)!=null?t:n}function $r(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},r=(a,l,u,c)=>(a.addEventListener(l,u,c),()=>a.removeEventListener(l,u,c)),o=ne(()=>{const a=Gf(gt(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=o8(()=>{var a,l;return[(l=(a=o.value)==null?void 0:a.map(u=>jo(u)))!=null?l:[Ls].filter(u=>u!=null),Gf(gt(o.value?e[1]:e[0])),Gf(W(o.value?e[2]:e[1])),gt(o.value?e[3]:e[2])]},([a,l,u,c])=>{if(n(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const f=Qj(c)?{...c}:c;t.push(...a.flatMap(d=>l.flatMap(p=>u.map(g=>r(d,p,g,f)))))},{flush:"post"}),s=()=>{i(),n()};return al(n),s}let L_=!1;function i8(e,t,n={}){const{window:r=Ls,ignore:o=[],capture:i=!0,detectIframe:s=!1}=n;if(!r)return ha;if(gp&&!L_){L_=!0;const h={passive:!0};Array.from(r.document.body.children).forEach(_=>$r(_,"click",ha,h)),$r(r.document.documentElement,"click",ha,h)}let a=!0;const l=h=>gt(o).some(_=>{if(typeof _=="string")return Array.from(r.document.querySelectorAll(_)).some(m=>m===h.target||h.composedPath().includes(m));{const m=jo(_);return m&&(h.target===m||h.composedPath().includes(m))}});function u(h){const _=gt(h);return _&&_.$.subTree.shapeFlag===16}function c(h,_){const m=gt(h),E=m.$.subTree&&m.$.subTree.children;return E==null||!Array.isArray(E)?!1:E.some(y=>y.el===_.target||_.composedPath().includes(y.el))}const f=h=>{const _=jo(e);if(h.target!=null&&!(!(_ instanceof Element)&&u(e)&&c(e,h))&&!(!_||_===h.target||h.composedPath().includes(_))){if(h.detail===0&&(a=!l(h)),!a){a=!0;return}t(h)}};let d=!1;const p=[$r(r,"click",h=>{d||(d=!0,setTimeout(()=>{d=!1},0),f(h))},{passive:!0,capture:i}),$r(r,"pointerdown",h=>{const _=jo(e);a=!l(h)&&!!(_&&!h.composedPath().includes(_))},{passive:!0}),s&&$r(r,"blur",h=>{setTimeout(()=>{var _;const m=jo(e);((_=r.document.activeElement)==null?void 0:_.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(h)},0)},{passive:!0})].filter(Boolean);return()=>p.forEach(h=>h())}function M2(){const e=Fe(!1),t=St();return t&&ln(()=>{e.value=!0},t),e}function s8(e){const t=M2();return ne(()=>(t.value,!!e()))}function a8(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function F2(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=Ls,eventName:i="keydown",passive:s=!1,dedupe:a=!1}=r,l=a8(t);return $r(o,i,c=>{c.repeat&>(a)||l(c)&&n(c)},s)}const l8=Symbol("vueuse-ssr-width");function u8(){const e=Qo()?Kj(l8,null):null;return typeof e=="number"?e:void 0}function c8(e,t={}){const{window:n=Ls,ssrWidth:r=u8()}=t,o=s8(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Fe(typeof r=="number"),s=An(),a=Fe(!1),l=u=>{a.value=u.matches};return Jr(()=>{if(i.value){i.value=!o.value;const u=gt(e).split(",");a.value=u.some(c=>{const f=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let g=!!(d||p);return d&&g&&(g=r>=N_(d[1])),p&&g&&(g=r<=N_(p[1])),f?!g:g});return}o.value&&(s.value=n.matchMedia(gt(e)),a.value=s.value.matches)}),$r(s,"change",l,{passive:!0}),ne(()=>a.value)}function f8(e){return JSON.parse(JSON.stringify(e))}function d8(e,t,n,r={}){var o,i,s;const{clone:a=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:f,shouldEmit:d}=r,p=St(),g=n||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let h=u;t||(t="modelValue"),h=h||`update:${t.toString()}`;const _=y=>a?typeof a=="function"?a(y):f8(y):y,m=()=>Xj(e[t])?_(e[t]):f,E=y=>{d?d(y)&&g(h,y):g(h,y)};if(l){const y=m(),v=Fe(y);let T=!1;return wt(()=>e[t],S=>{T||(T=!0,v.value=_(S),Yt(()=>T=!1))}),wt(v,S=>{!T&&(S!==e[t]||c)&&E(S)},{deep:c}),v}else return ne({get(){return m()},set(y){E(y)}})}function SB(e={}){const{window:t=Ls,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:i=!0,type:s="inner"}=e,a=Fe(n),l=Fe(r),u=()=>{if(t)if(s==="outer")a.value=t.outerWidth,l.value=t.outerHeight;else if(s==="visual"&&t.visualViewport){const{width:f,height:d,scale:p}=t.visualViewport;a.value=Math.round(f*p),l.value=Math.round(d*p)}else i?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};u(),r8(u);const c={passive:!0};if($r("resize",u,c),t&&s==="visual"&&t.visualViewport&&$r(t.visualViewport,"resize",u,c),o){const f=c8("(orientation: portrait)");wt(f,()=>u())}return{width:a,height:l}}const p8=Ce({__name:"AccountDropdownItem",props:{label:{default:"Item"},to:{},icon:{default:"alert-triangle"},tag:{default:"NuxtLink"},onClick:{}},setup(e){const t=e,n=ne(()=>t.to?kc:["a","button"].includes(t.tag)?t.tag:Iu(t.tag));function r(o){t.onClick&&(o.preventDefault(),t.onClick())}return(o,i)=>{const s=Bc;return me(),mt("div",null,[o.$slots.default?pt(o.$slots,"default",{key:0},void 0,!0):(me(),Ge(Ho(W(n)),{key:1,to:t.to,class:"tapp-dropdown-item","data-analytics-category":"navigation","data-analytics-action":"dropdown_button_click","data-analytics-label":t.label,onClick:r},{default:Ve(()=>[t.icon?(me(),Ge(s,{key:0,icon:t.icon,size:20},null,8,["icon"])):rn("",!0),Qr(" "+rr(t.label),1)]),_:1},8,["to","data-analytics-label"]))])}}}),h8=Object.assign(hn(p8,[["__scopeId","data-v-ee966fe9"]]),{__name:"BaseAccountDropdownItem"}),g8={class:"base-dropdown"},m8={key:0,class:"base-dropdown__inner"},y8={class:"base-dropdown__footer"},_8=Ce({__name:"AccountDropdown",props:{items:{default:void 0}},setup(e){const t=e,n=Fe(!1),r=Fe(null);function o(){n.value=!n.value}return i8(r,()=>{n.value=!1}),(i,s)=>(me(),mt("div",g8,[Et("div",{ref_key:"dropdownRef",ref:r,class:"base-dropdown__trigger","data-testid":"base-dropdown-trigger",onClick:o},[pt(i.$slots,"trigger",{isOpen:W(n)},void 0,!0)],512),W(n)?(me(),mt("div",m8,[i.$slots.default?pt(i.$slots,"default",{key:0},void 0,!0):(me(!0),mt(Ct,{key:1},$p(t.items,a=>(me(),Ge(h8,kt({ref_for:!0},a,{key:a.label}),null,16))),128)),Et("div",y8,[pt(i.$slots,"footer",{},void 0,!0)])])):rn("",!0)]))}}),v8=Object.assign(hn(_8,[["__scopeId","data-v-6ed54cba"]]),{__name:"BaseAccountDropdown"}),b8=Ce({__name:"BaseAccountMenu",props:{isAuth:{type:Boolean},user:{},items:{}},emits:["logout","login"],setup(e,{emit:t}){const n=t,r=e,o=ne(()=>r.isAuth&&r.items?[...r.items,{label:"Uitloggen",icon:"log-out",tag:"button",onClick:()=>n("logout")}]:r.items);return(i,s)=>{const a=Vj,l=P2,u=v8;return me(),Ge(u,{items:W(o)},Bp({trigger:Ve(({isOpen:c})=>[xe(a,{"is-auth":r.isAuth,"is-open":c,"show-label":!0,user:i.user},null,8,["is-auth","is-open","user"])]),_:2},[r!=null&&r.isAuth?void 0:{name:"footer",fn:Ve(()=>[xe(l,{"data-testid":"dropdown-login-button","full-width":"",label:"Login",size:"large",onClick:s[0]||(s[0]=c=>n("login"))},{default:Ve(()=>[Qr(rr(i.$t("components.baseAccountMenu.login")),1)]),_:1})]),key:"0"}]),1032,["items"])}}}),E8=Object.assign(hn(b8,[["__scopeId","data-v-5882a6a4"]]),{__name:"BaseAccountMenu"}),U2=e=>typeof e=="object"&&e!==null,k_=e=>U2(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),T8=Symbol("mapObjectSkip"),mp=(e,t,n,r=new WeakMap)=>{if(n={deep:!1,target:{},...n},r.has(e))return r.get(e);r.set(e,n.target);const{target:o}=n;delete n.target;const i=s=>s.map(a=>k_(a)?mp(a,t,n,r):a);if(Array.isArray(e))return i(e);for(const[s,a]of Object.entries(e)){const l=t(s,a,e);if(l===T8)continue;let[u,c,{shouldRecurse:f=!0}={}]=l;u!=="__proto__"&&(n.deep&&f&&k_(c)&&(c=Array.isArray(c)?i(c):mp(c,t,n,r)),o[u]=c)}return o};function P_(e,t,n){if(!U2(e))throw new TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return mp(e,t,n)}const w8=/[\p{Lu}]/u,S8=/[\p{Ll}]/u,D_=/^[\p{Lu}](?![\p{Lu}])/gu,j2=/([\p{Alpha}\p{N}_]|$)/u,Ph=/[_.\- ]+/,A8=new RegExp("^"+Ph.source),M_=new RegExp(Ph.source+j2.source,"gu"),F_=new RegExp("\\d+"+j2.source,"gu"),R8=(e,t,n,r)=>{let o=!1,i=!1,s=!1,a=!1;for(let l=0;l2?e[l-3]==="-":!0,o&&w8.test(u)?(e=e.slice(0,l)+"-"+e.slice(l),o=!1,s=i,i=!0,l++):i&&s&&S8.test(u)&&(!a||r)?(e=e.slice(0,l-1)+"-"+e.slice(l-1),s=i,i=!1,o=!0):(o=t(u)===u&&n(u)!==u,s=i,i=n(u)===u&&t(u)!==u)}return e},I8=(e,t)=>(D_.lastIndex=0,e.replaceAll(D_,n=>t(n))),O8=(e,t)=>(M_.lastIndex=0,F_.lastIndex=0,e.replaceAll(F_,(n,r,o)=>["_","-"].includes(e.charAt(o+n.length))?n:t(n)).replaceAll(M_,(n,r)=>t(r)));function x8(e,t){if(!(typeof e=="string"||Array.isArray(e)))throw new TypeError("Expected the input to be `string | string[]`");if(t={pascalCase:!1,preserveConsecutiveUppercase:!1,...t},Array.isArray(e)?e=e.map(i=>i.trim()).filter(i=>i.length).join("-"):e=e.trim(),e.length===0)return"";const n=t.locale===!1?i=>i.toLowerCase():i=>i.toLocaleLowerCase(t.locale),r=t.locale===!1?i=>i.toUpperCase():i=>i.toLocaleUpperCase(t.locale);return e.length===1?Ph.test(e)?"":t.pascalCase?r(e):n(e):(e!==n(e)&&(e=R8(e,n,r,t.preserveConsecutiveUppercase)),e=e.replace(A8,""),e=t.preserveConsecutiveUppercase?I8(e,n):n(e),t.pascalCase&&(e=r(e.charAt(0))+e.slice(1)),O8(e,r))}class C8 extends Map{constructor(t={}){if(super(),!(t.maxSize&&t.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if(typeof t.maxAge=="number"&&t.maxAge===0)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=t.maxSize,this.maxAge=t.maxAge||Number.POSITIVE_INFINITY,this.onEviction=t.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(t){if(typeof this.onEviction=="function")for(const[n,r]of t)this.onEviction(n,r.value)}_deleteIfExpired(t,n){return typeof n.expiry=="number"&&n.expiry<=Date.now()?(typeof this.onEviction=="function"&&this.onEviction(t,n.value),this.delete(t)):!1}_getOrDeleteIfExpired(t,n){if(this._deleteIfExpired(t,n)===!1)return n.value}_getItemValue(t,n){return n.expiry?this._getOrDeleteIfExpired(t,n):n.value}_peek(t,n){const r=n.get(t);return this._getItemValue(t,r)}_set(t,n){this.cache.set(t,n),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(t,n){this.oldCache.delete(t),this._set(t,n)}*_entriesAscending(){for(const t of this.oldCache){const[n,r]=t;this.cache.has(n)||this._deleteIfExpired(n,r)===!1&&(yield t)}for(const t of this.cache){const[n,r]=t;this._deleteIfExpired(n,r)===!1&&(yield t)}}get(t){if(this.cache.has(t)){const n=this.cache.get(t);return this._getItemValue(t,n)}if(this.oldCache.has(t)){const n=this.oldCache.get(t);if(this._deleteIfExpired(t,n)===!1)return this._moveToRecent(t,n),n.value}}set(t,n,{maxAge:r=this.maxAge}={}){const o=typeof r=="number"&&r!==Number.POSITIVE_INFINITY?Date.now()+r:void 0;return this.cache.has(t)?this.cache.set(t,{value:n,expiry:o}):this._set(t,{value:n,expiry:o}),this}has(t){return this.cache.has(t)?!this._deleteIfExpired(t,this.cache.get(t)):this.oldCache.has(t)?!this._deleteIfExpired(t,this.oldCache.get(t)):!1}peek(t){if(this.cache.has(t))return this._peek(t,this.cache);if(this.oldCache.has(t))return this._peek(t,this.oldCache)}delete(t){const n=this.cache.delete(t);return n&&this._size--,this.oldCache.delete(t)||n}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(t){if(!(t&&t>0))throw new TypeError("`maxSize` must be a number greater than 0");const n=[...this._entriesAscending()],r=n.length-t;r<0?(this.cache=new Map(n),this.oldCache=new Map,this._size=n.length):(r>0&&this._emitEvictions(n.slice(0,r)),this.oldCache=new Map(n.slice(r)),this.cache=new Map,this._size=0),this.maxSize=t}*keys(){for(const[t]of this)yield t}*values(){for(const[,t]of this)yield t}*[Symbol.iterator](){for(const t of this.cache){const[n,r]=t;this._deleteIfExpired(n,r)===!1&&(yield[n,r.value])}for(const t of this.oldCache){const[n,r]=t;this.cache.has(n)||this._deleteIfExpired(n,r)===!1&&(yield[n,r.value])}}*entriesDescending(){let t=[...this.cache];for(let n=t.length-1;n>=0;--n){const r=t[n],[o,i]=r;this._deleteIfExpired(o,i)===!1&&(yield[o,i.value])}t=[...this.oldCache];for(let n=t.length-1;n>=0;--n){const r=t[n],[o,i]=r;this.cache.has(o)||this._deleteIfExpired(o,i)===!1&&(yield[o,i.value])}}*entriesAscending(){for(const[t,n]of this._entriesAscending())yield[t,n.value]}get size(){if(!this._size)return this.oldCache.size;let t=0;for(const n of this.oldCache.keys())this.cache.has(n)||t++;return Math.min(this._size+t,this.maxSize)}entries(){return this.entriesAscending()}forEach(t,n=this){for(const[r,o]of this.entriesAscending())t.call(n,o,r,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}const N8=(e,t)=>e.some(n=>typeof n=="string"?n===t:(n.lastIndex=0,n.test(t))),Kf=new C8({maxSize:1e5}),U_=e=>typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),j_=(e,t={})=>{if(!U_(e))return e;const{exclude:n,pascalCase:r=!1,stopPaths:o,deep:i=!1,preserveConsecutiveUppercase:s=!1}=t,a=new Set(o),l=u=>(c,f)=>{if(i&&U_(f)){const d=u===void 0?c:`${u}.${c}`;a.has(d)||(f=P_(f,l(d)))}if(!(n&&N8(n,c))){const d=r?`${c}_`:c;if(Kf.has(d))c=Kf.get(d);else{const p=x8(c,{pascalCase:r,locale:!1,preserveConsecutiveUppercase:s});c.length<100&&Kf.set(d,p),c=p}}return[c,f]};return P_(e,l(void 0))};function V2(e,t){return Array.isArray(e)?Object.keys(e).map(n=>j_(e[n],t)):j_(e,t)}var nu={exports:{}},V_;function L8(){if(V_)return nu.exports;V_=1;const e=o=>typeof o=="object"&&o!==null,t=Symbol("skip"),n=o=>e(o)&&!(o instanceof RegExp)&&!(o instanceof Error)&&!(o instanceof Date),r=(o,i,s,a=new WeakMap)=>{if(s={deep:!1,target:{},...s},a.has(o))return a.get(o);a.set(o,s.target);const{target:l}=s;delete s.target;const u=c=>c.map(f=>n(f)?r(f,i,s,a):f);if(Array.isArray(o))return u(o);for(const[c,f]of Object.entries(o)){const d=i(c,f,o);if(d===t)continue;let[p,g,{shouldRecurse:h=!0}={}]=d;p!=="__proto__"&&(s.deep&&h&&n(g)&&(g=Array.isArray(g)?u(g):r(g,i,s,a)),l[p]=g)}return l};return nu.exports=(o,i,s)=>{if(!e(o))throw new TypeError(`Expected an object, got \`${o}\` (${typeof o})`);return r(o,i,s)},nu.exports.mapObjectSkip=t,nu.exports}var sc=function(){return sc=Object.assign||function(t){for(var n,r=1,o=arguments.length;r{const n=typeof e=="string"?e:e.url,r=typeof e=="string"?(t==null?void 0:t.method)||"get":e.method,o=typeof e=="string"?t==null?void 0:t.body:e.data,i=await $fetch(n,{...o?{body:Ua(o,{deep:!0})}:{},...typeof e!="string"&&(e==null?void 0:e.params)&&{params:Ua(e==null?void 0:e.params,{exclude:["includes[]"]})},method:r,...t,headers:{...t==null?void 0:t.headers}});return V2(i,{deep:!0})},H8=(e,t,n)=>Ao({url:`/front-office/v1/business-hours/${e}/${t}`,method:"GET"},n),z8=(e,t)=>Ao({url:"/front-office/v1/tokens/replace",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),G8=(e,t)=>Ao({url:"/front-office/v2/brand-data",method:"GET",params:e},t),K8=(e,t)=>Ao({url:"/front-office/v1/magazine/subscription",method:"GET",params:e},t),q8=(e,t)=>Ao({url:"/front-office/v1/subscriptions/cancel",method:"PUT",headers:{"Content-Type":"application/json"},data:e},t),AB=(e,t)=>Ao({url:"/front-office/v1/subscriptions/modify",method:"PUT",headers:{"Content-Type":"application/json"},data:e},t),W8=(e,t)=>Ao({url:"/front-office/v2/account/subscriptions",method:"GET",params:e},t),RB=(e,t)=>Ao({url:"/front-office/v4/retention-propositions",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),Y8=(e,t)=>Ao({url:"/front-office/v4/propositions",method:"GET",params:e},t);function Wf(e){return Array.isArray(e)?e[0]??"":e||""}function ks(){const{public:e}=Dt(),t=Vt(),n=Wf(t.currentRoute.value.params.brandCode),r=Object.fromEntries(Object.entries(t.currentRoute.value.query).map(([u,c])=>[u.toLowerCase(),c])),o=e.STAGE!=="production"?Wf(r.brandcode):void 0,i=cC(void 0||""),a=Wf(r.brandcodebe)||o||n,l=dC({brandCode:a,hostname:i});return ct("brandCode",()=>l||"")}function Zr(){const e=ks(),t=ct("$63l50zpAsJ"),{$logger:n}=Be();async function r(){if(e.value&&!t.value)try{const d=await G8({title:e.value});if(t.value=d.find(p=>p.code===e.value),!t.value)throw new Error("[getBrandDataV2] brand could not be found")}catch(d){n.log({error:d,title:"Error fetching brand"})}}const o=ne(()=>{var d;return((d=t.value)==null?void 0:d.formal)===!0}),i=ne(()=>{var d;return(d=t.value)==null?void 0:d.type}),s=ne(()=>i.value==="magazine"),a=ne(()=>{var d,p,g;return o.value&&((d=t.value)==null?void 0:d.country)==="be"?"be-formal":((p=t.value)==null?void 0:p.country)==="be"?"be":o.value&&((g=t.value)==null?void 0:g.country)==="nl"?"nl-formal":"nl"}),l=ne(()=>{var d;return((d=t.value)==null?void 0:d.domain)||""}),u=ne(()=>{var d;return(d=t.value)==null?void 0:d.name}),c=ne(()=>t.value),f=ne(()=>o.value?"formal":"informal");return{brand:c,fetchCurrentBrand:r,brandCode:e,brandIsFormal:o,brandType:i,brandIsMagazine:s,brandLocale:a,brandDomain:l,brandName:u,formality:f}}function Dh(){Zo();const e=Vt(),{path:t}=e.currentRoute.value;let n;return n=new URL(window.location.href),n.search="",n.hash="",n.pathname.includes(t)&&t.length>1&&t!=="/"&&(n.pathname=n.pathname.replace(t,"")),{baseURL:n.href.endsWith("/")?n.href.slice(0,-1):n.href}}function X8(e,t){e=e||window.location.href;const r=`https://account.${Cs(window.location.host)}/login?callback_url=${encodeURIComponent(e)}&login_hint=${encodeURIComponent(t||"")}${t?"&prompt=login":""}`;window.location.href=r}function J8({callbackUrl:e,email:t}){const n=Zo().host;return`https://account.${Cs(n)}/login?callback_url=${encodeURIComponent(e)}&login_hint=${encodeURIComponent(t||"")}${t?"&prompt=login":""}`}function Q8(e){e=e||window.location.href;const n=`https://account.${Cs(window.location.host)}/logout?callback_url=${encodeURIComponent(e)}`;window.ssoLogout?window.ssoLogout.logout({logoutUrl:n,logoUrl:""}):window.location.href=n}function Z8(e){const t=Zo().host;return`https://account.${Cs(t)}/logout?callback_url=${encodeURIComponent(e)}`}function e6({country:e,type:t}){if(e==="nl"){if(t==="magazine")return"NL-Magazines";if(t==="paper")return"NL-Newspaper"}return e==="be"?t==="paper"?"BE-Newspaper":"BE-TV/Radio":"NL-Newspaper"}function t6(e){if(!window.ssoDetection)return;e={loggedInEmail:"",intraSsoEnabled:!0,automaticLoginEnabled:!0,multipleSessionsPopupEnabled:!0,callBacks:{},...e};const{country:t,type:n,loggedInEmail:r,intraSsoEnabled:o,automaticLoginEnabled:i,multipleSessionsPopupEnabled:s,callBacks:a}=e,l=Cs(window.location.host),u=BC(window.location.host);if(![".nl",".be"].includes(u))return;const c=e6({country:t,type:n}),f={loggedInEmail:r,intraSsoEnabled:o,automaticLoginEnabled:i,multipleSessionsPopupEnabled:s,authorizeUrl:()=>`https://account.${l}/login?callback_url=${encodeURIComponent(window.location.href)}`,topLevelDomain:u,bannerConfig:c,...a};window.ssoDetection.trigger(f)}function n6(e){switch(!0){case(e==="m"||e==="male"):return"M";case(e==="f"||e==="female"):return"F";default:return"U"}}function Mh(){const e=cs("userinfo"),t=cs("isAuth",()=>!1),n=cs("isPipDisabled");return{initSso:t6,login:X8,getLoginUrl:J8,logout:Q8,getLogoutUrl:Z8,userinfo:e,isAuth:t,isPipDisabled:n,normalizeGender:n6}}function $2(){const e=ct("abonIban4"),{$logger:t}=Be();async function n({abon:o,iban4:i}){try{await $fetch("/api/storeAbonIban4",{method:"GET",query:{abon:o,iban4:i}}),e.value={abon:o,iban4:i}}catch(s){t.log({error:s,message:"Failed to store abonIban4",title:"Error storing abonIban4"})}}async function r(){await $fetch("/api/deleteAbonIban4",{method:"GET"})}return{abonIban4:e,storeAbonIban4:n,deleteAbonIban4:r}}function r6(){const{baseURL:e}=Dh(),t=ct("callbackDestination"),n=ne(()=>`${e}/abonnee?loginType=pip`),r=ct("isMagazineLoginModalOpen");function o({path:a,switchType:l,href:u}){r.value=!0,t.value={path:a,switchType:l,href:u}}function i(){r.value=!0}function s(){r.value=!1}return{callbackDestination:t,fallbackDestination:n,isModalOpen:r,openModal:i,startMagazineLoginFlow:o,closeModal:s}}function Hc(){const{brandIsMagazine:e}=Zr(),{baseURL:t}=Dh(),n=Zo(),r=Mh(),{abonIban4:o,deleteAbonIban4:i}=$2(),s=Vt(),{openModal:a}=r6();function l(h,_){for(const m in _){const E=_[m];Array.isArray(E)?E.forEach(y=>h.searchParams.append(m,y||"")):h.searchParams.append(m,E||"")}return h}function u({email:h}){const _=s.currentRoute.value.query,m=l(new URL(`${t}/abonnee?loginType=pip`),_||{});return r.getLoginUrl({email:h,callbackUrl:m.href})}async function c(){const h=n.href;o.value&&(await i(),window.location.reload()),r.isAuth.value&&r.logout(h)}const f=ne(()=>!!(r.isAuth.value||o.value)),d=ne(()=>{if(r.isAuth.value)return"pip";if(o.value)return"abonnr"});function p(){e.value?a():Do(u({email:""}),{external:!0})}function g(){const h=document.querySelector("#landing-other-options input");h==null||h.scrollIntoView({behavior:"smooth",inline:"nearest"}),h&&h.focus()}return{isAuth:f,loginType:d,logout:c,getPipLoginUrl:u,handleLoginBtnClick:p,scrollToMagazineLoginBlock:g}}function ll(){const e=ks(),t=ct("phoneNumber"),n=ki(),r=Vt();async function o(){const{data:i}=await $fetch("/front-office/v2/phone-numbers",{method:"GET",query:{mid:n,title:e.value},headers:{"X-Client-Path":r.currentRoute.value.path}});t.value=i==null?void 0:i[0]}return{fetchPhoneNumber:o,phoneNumber:t}}/*! * vue-i18n v10.0.7 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const o6="10.0.7";function i6(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nl().__INTLIFY_PROD_DEVTOOLS__=!1)}const As={UNEXPECTED_RETURN_TYPE:C0,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function ja(e,...t){return ol(e,null,void 0)}const yp=jn("__translateVNode"),_p=jn("__datetimeParts"),vp=jn("__numberParts"),s6=jn("__setPluralRules"),a6=jn("__injectWithOption"),bp=jn("__dispose");function Va(e){if(!Xe(e)||Yn(e))return e;for(const t in e)if(Dn(e,t))if(!t.includes("."))Xe(e[t])&&Va(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let s=0;s{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(s[l]=s[l]||Ze(),qr(u,s[l])):qr(u,s)}else ce(a)&&qr(JSON.parse(a),s)}),o==null&&i)for(const a in s)Dn(s,a)&&Va(s[a]);return s}function H2(e){return e.type}function l6(e,t,n){let r=Xe(t.messages)?t.messages:Ze();"__i18nGlobal"in n&&(r=B2(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Xe(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Xe(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function H_(e){return xe(Kr,null,e,0)}const z_="__INTLIFY_META__",G_=()=>[],u6=()=>!1;let K_=0;function q_(e){return(t,n,r,o)=>e(n,r,St()||void 0,o)}const c6=()=>{const e=St();let t=null;return e&&(t=H2(e)[z_])?{[z_]:t}:null};function f6(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,i=bs?Fe:An;let s=bt(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&s?t.locale.value:ce(e.locale)?e.locale:Ca),l=i(t&&s?t.fallbackLocale.value:ce(e.fallbackLocale)||Tt(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=i(B2(a.value,e)),c=i(Qe(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=i(Qe(e.numberFormats)?e.numberFormats:{[a.value]:{}});let d=t?t.missingWarn:bt(e.missingWarn)||Es(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:bt(e.fallbackWarn)||Es(e.fallbackWarn)?e.fallbackWarn:!0,g=t?t.fallbackRoot:bt(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,_=_t(e.missing)?e.missing:null,m=_t(e.missing)?q_(e.missing):null,E=_t(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:bt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const T=t?t.modifiers:Qe(e.modifiers)?e.modifiers:{};let S=e.pluralRules||t&&t.pluralRules,I;I=(()=>{r&&qu(null);const R={version:o6,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:T,pluralRules:S,missing:m===null?void 0:m,missingWarn:d,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:y,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=c.value,R.numberFormats=f.value,R.__datetimeFormatters=Qe(I)?I.__datetimeFormatters:void 0,R.__numberFormatters=Qe(I)?I.__numberFormatters:void 0;const k=B0(R);return r&&qu(k),k})(),Vr(I,a.value,l.value);function M(){return[a.value,l.value,u.value,c.value,f.value]}const j=ne({get:()=>a.value,set:R=>{a.value=R,I.locale=a.value}}),B=ne({get:()=>l.value,set:R=>{l.value=R,I.fallbackLocale=l.value,Vr(I,a.value,R)}}),H=ne(()=>u.value),le=ne(()=>c.value),Te=ne(()=>f.value);function De(){return _t(E)?E:null}function pe(R){E=R,I.postTranslation=R}function ge(){return _}function re(R){R!==null&&(m=q_(R)),_=R,I.missing=m}const ve=(R,k,G,oe,fe,be)=>{M();let Ye;try{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=t?$0():void 0),Ye=R(I)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(I.fallbackContext=void 0)}if(G!=="translate exists"&&$t(Ye)&&Ye===il||G==="translate exists"&&!Ye){const[nt,Ue]=k();return t&&g?oe(t):fe(nt)}else{if(be(Ye))return Ye;throw ja(As.UNEXPECTED_RETURN_TYPE)}};function tt(...R){return ve(k=>Reflect.apply(Qu,null,[k,...R]),()=>ka(...R),"translate",k=>Reflect.apply(k.t,k,[...R]),k=>k,k=>ce(k))}function Ae(...R){const[k,G,oe]=R;if(oe&&!Xe(oe))throw ja(As.INVALID_ARGUMENT);return tt(k,G,lt({resolvedMessage:!0},oe||{}))}function Ke(...R){return ve(k=>Reflect.apply(Wu,null,[k,...R]),()=>Na(...R),"datetime format",k=>Reflect.apply(k.d,k,[...R]),()=>Ku,k=>ce(k))}function He(...R){return ve(k=>Reflect.apply(Xu,null,[k,...R]),()=>La(...R),"number format",k=>Reflect.apply(k.n,k,[...R]),()=>Ku,k=>ce(k))}function it(R){return R.map(k=>ce(k)||$t(k)||bt(k)?H_(String(k)):k)}const ot={normalize:it,interpolate:R=>R,type:"vnode"};function J(...R){return ve(k=>{let G;const oe=k;try{oe.processor=ot,G=Reflect.apply(Qu,null,[oe,...R])}finally{oe.processor=null}return G},()=>ka(...R),"translate",k=>k[yp](...R),k=>[H_(k)],k=>Tt(k))}function se(...R){return ve(k=>Reflect.apply(Xu,null,[k,...R]),()=>La(...R),"number format",k=>k[vp](...R),G_,k=>ce(k)||Tt(k))}function ae(...R){return ve(k=>Reflect.apply(Wu,null,[k,...R]),()=>Na(...R),"datetime format",k=>k[_p](...R),G_,k=>ce(k)||Tt(k))}function _e(R){S=R,I.pluralRules=S}function We(R,k){return ve(()=>{if(!R)return!1;const G=ce(k)?k:a.value,oe=L(G),fe=I.messageResolver(oe,R);return Yn(fe)||Zn(fe)||ce(fe)},()=>[R],"translate exists",G=>Reflect.apply(G.te,G,[R,k]),u6,G=>bt(G))}function ze(R){let k=null;const G=Fc(I,l.value,a.value);for(let oe=0;oe{s&&(a.value=R,I.locale=R,Vr(I,a.value,l.value))}),wt(t.fallbackLocale,R=>{s&&(l.value=R,I.fallbackLocale=R,Vr(I,a.value,l.value))}));const Q={id:K_,locale:j,fallbackLocale:B,get inheritLocale(){return s},set inheritLocale(R){s=R,R&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,Vr(I,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:H,get modifiers(){return T},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(R){d=R,I.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(R){p=R,I.fallbackWarn=p},get fallbackRoot(){return g},set fallbackRoot(R){g=R},get fallbackFormat(){return h},set fallbackFormat(R){h=R,I.fallbackFormat=h},get warnHtmlMessage(){return y},set warnHtmlMessage(R){y=R,I.warnHtmlMessage=R},get escapeParameter(){return v},set escapeParameter(R){v=R,I.escapeParameter=R},t:tt,getLocaleMessage:L,setLocaleMessage:V,mergeLocaleMessage:te,getPostTranslationHandler:De,setPostTranslationHandler:pe,getMissingHandler:ge,setMissingHandler:re,[s6]:_e};return Q.datetimeFormats=le,Q.numberFormats=Te,Q.rt=Ae,Q.te=We,Q.tm=C,Q.d=Ke,Q.n=He,Q.getDateTimeFormat=X,Q.setDateTimeFormat=O,Q.mergeDateTimeFormat=N,Q.getNumberFormat=U,Q.setNumberFormat=K,Q.mergeNumberFormat=ee,Q[a6]=n,Q[yp]=J,Q[_p]=ae,Q[vp]=se,Q}const Fh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function d6({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Ct?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},Ze())}function z2(){return Ct}lt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>$t(e)||!isNaN(e)}},Fh);function p6(e){return Tt(e)&&!ce(e[0])}function G2(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const s={part:!0};let a=Ze();e.locale&&(s.locale=e.locale),ce(e.format)?s.key=e.format:Xe(e.format)&&(ce(e.format.key)&&(s.key=e.format.key),a=Object.keys(e.format).reduce((d,p)=>n.includes(p)?lt(Ze(),d,{[p]:e.format[p]}):d,Ze()));const l=r(e.value,s,a);let u=[s.key];Tt(l)?u=l.map((d,p)=>{const g=o[d.type],h=g?g({[d.type]:d.value,index:p,parts:l}):[d.value];return p6(h)&&(h[0].key=`${d.type}-${p}`),h}):ce(l)&&(u=[l]);const c=lt(Ze(),i),f=ce(e.tag)||Xe(e.tag)?e.tag:z2();return dt(f,c,u)}}lt({value:{type:Number,required:!0},format:{type:[String,Object]}},Fh);lt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fh);const h6=jn("global-vue-i18n");function Pi(e={}){const t=St();if(t==null)throw ja(As.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ja(As.NOT_INSTALLED);const n=g6(t),r=y6(n),o=H2(t),i=m6(e,o);if(i==="global")return l6(r,e,o),r;if(i==="parent"){let l=_6(n,t,e.__useComponent);return l==null&&(l=r),l}const s=n;let a=s.__getInstance(t);if(a==null){const l=lt({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=f6(l),s.__composerExtend&&(a[bp]=s.__composerExtend(a)),b6(s,t,a),s.__setInstance(t,a)}return a}function g6(e){const t=jt(e.isCE?h6:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ja(e.isCE?As.NOT_INSTALLED_WITH_PROVIDE:As.UNEXPECTED_ERROR);return t}function m6(e,t){return tl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function y6(e){return e.mode==="composition"?e.global:e.global.__composer}function _6(e,t,n=!1){let r=null;const o=t.root;let i=v6(t,n);for(;i!=null;){const s=e;if(e.mode==="composition"&&(r=s.__getInstance(i)),r!=null||o===i)break;i=i.parent}return r}function v6(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function b6(e,t,n){ln(()=>{},t),So(()=>{const r=n;e.__deleteInstance(t);const o=r[bp];o&&(o(),delete r[bp])},t)}i6();k0(O0);D0(N0);F0(Fc);if(__INTLIFY_PROD_DEVTOOLS__){const e=nl();e.__INTLIFY__=!0,x0(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function E6(e){const n=`?${new URLSearchParams({utm_medium:"interne_referral",utm_content:"dropdown",utm_source:e.code||"",otag:"t2ejen"}).toString()}`,r=(l,u="")=>{const c=new URL(`https://${l}.${e.domain||""}`);return c.pathname=u,c.search=n,c.toString()},o=(l,u,c)=>({label:l,to:u,icon:c}),i=e.country==="be"?`https://kiosk.be${n}`:`https://kiosk.nl${n}`,s=[o("Mijn account",r("mijnomgeving","/account"),"user"),o("Mijn abonnement(en)",r("mijnomgeving","/abonnementen"),"book-open")];e.country==="nl"&&e.type!=="magazine"&&s.push(o("Abonnement wijzigen",r("wijzigen"),"repeat"),o("Abonnement opzeggen",r("opzeggen"),"minus-circle"));const a=[o("Klantenservice",r("mijnomgeving"),"message-circle"),o("Kiosk",i,"shopping-bag"),o("Abonneren",r("abonnement"),"check-circle")];return[...s,...a]}const T6=Ce({__name:"AppAccountMenu",setup(e){const{isAuth:t,logout:n,handleLoginBtnClick:r}=Hc(),{userinfo:o}=Mh(),{phoneNumber:i}=ll(),{brand:s}=Zr(),{t:a}=Pi(),l=ne(()=>{const u=[];return s.value&&(s.value.type==="magazine"&&u.push({label:a("labels.callUsPhoneNumber",[i.value]),to:`tel:${i.value}`,icon:"phone"}),u.push(...E6(s.value))),u});return(u,c)=>{var d;const f=E8;return me(),Ge(f,{"is-auth":W(t),user:(d=W(o))==null?void 0:d.given_name,items:W(l),onLogin:W(r),onLogout:W(n)},null,8,["is-auth","user","items","onLogin","onLogout"])}}}),w6=Object.assign(T6,{__name:"AppAccountMenu"}),S6={class:"tapp-logo"},A6=["innerHTML"],R6=Ce({__name:"TappLogo",props:{brandCode:{},width:{},height:{}},async setup(e){let t,n;const r=e,o=Fe(""),i=Object.fromEntries(Object.entries(Object.assign({"./logos/dpgmedia--inverted.svg":()=>ie(()=>import("./CUAWVUPq.js"),[],import.meta.url).then(a=>a.default),"./logos/dpgmedia_alt.svg":()=>ie(()=>import("./DWTek9Ep.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ad.svg":()=>ie(()=>import("./CLJ8SFq7.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ari.svg":()=>ie(()=>import("./CrxqDb-g.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-atr.svg":()=>ie(()=>import("./CpsEnzTA.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-aut-tall.svg":()=>ie(()=>import("./C7JMZS7k.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-aut.svg":()=>ie(()=>import("./B2l37zGx.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bd.svg":()=>ie(()=>import("./AaHu-igX.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bdan.svg":()=>ie(()=>import("./AT8gfoQt.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bdon.svg":()=>ie(()=>import("./DFFkmLFY.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bfln.svg":()=>ie(()=>import("./BYbB7Pn3.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bfwo.svg":()=>ie(()=>import("./DIlG0VBb.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bs.svg":()=>ie(()=>import("./CtgioQBk.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bsvw.svg":()=>ie(()=>import("./C5FI29nx.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bvwo.svg":()=>ie(()=>import("./Bh_rb-2d.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-bwol.svg":()=>ie(()=>import("./BWbogTaW.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-da.svg":()=>ie(()=>import("./Co__gOKt.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dat.svg":()=>ie(()=>import("./DoURaScW.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dde.svg":()=>ie(()=>import("./Dp0Mi1VW.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ddj.svg":()=>ie(()=>import("./zYByzD3I.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dg.svg":()=>ie(()=>import("./1ZhA3Lh0.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dm.svg":()=>ie(()=>import("./C13mVn87.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-don-secundair.svg":()=>ie(()=>import("./CNYUQdP2.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-don.svg":()=>ie(()=>import("./BEBjweF5.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-donex-secundair.svg":()=>ie(()=>import("./DaPLtMw8.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-donex.svg":()=>ie(()=>import("./DbvkWbT7.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-donpo.svg":()=>ie(()=>import("./COVLy8wZ.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-dpg.svg":()=>ie(()=>import("./nj5sjVlA.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ed.svg":()=>ie(()=>import("./BRIr6qhM.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ehi.svg":()=>ie(()=>import("./D7BHtbNI.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-flr.svg":()=>ie(()=>import("./D2ztyh8y.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-flw.svg":()=>ie(()=>import("./DwtLuXHs.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-flwonbe.svg":()=>ie(()=>import("./DHetJW-q.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-gg.svg":()=>ie(()=>import("./DW-dPOxb.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hl-light.svg":()=>ie(()=>import("./D-gP14a9.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hl.svg":()=>ie(()=>import("./BVZOfHQz.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hp-light.svg":()=>ie(()=>import("./CGGyfNky.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hp-secundair.svg":()=>ie(()=>import("./C29Fdw7o.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hp.svg":()=>ie(()=>import("./BaTIzbEp.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-hu.svg":()=>ie(()=>import("./BO4Ijuo4.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-katri.svg":()=>ie(()=>import("./CkUeHudu.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-kek.svg":()=>ie(()=>import("./BJdjBVd4.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-kiosk.svg":()=>ie(()=>import("./Dp8zKeXu.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-kioskbe.svg":()=>ie(()=>import("./0acCxaBD.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-kwe.svg":()=>ie(()=>import("./VwkHYpSS.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-lib.svg":()=>ie(()=>import("./D12mQnNV.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libbo-secundair.svg":()=>ie(()=>import("./9zn_rXqk.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libbo.svg":()=>ie(()=>import("./BQ7n1y4R.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libpz.svg":()=>ie(()=>import("./Dhq02cuo.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libsp-secundair.svg":()=>ie(()=>import("./BZ0yrVvJ.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-libsp.svg":()=>ie(()=>import("./DBRNpiqQ.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-mar.svg":()=>ie(()=>import("./DJ9sCT8_.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marbk-secundair.svg":()=>ie(()=>import("./du6YQnz1.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marbk.svg":()=>ie(()=>import("./DFqa9FT7.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marpz.svg":()=>ie(()=>import("./Bp223K-8.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marsp-secundair.svg":()=>ie(()=>import("./BvFjCOuA.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-marsp.svg":()=>ie(()=>import("./pPgvDKHk.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-nl-titles.svg":()=>ie(()=>import("./CHBD5lwc.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-nou.svg":()=>ie(()=>import("./CIpsm9Z9.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-ovn.svg":()=>ie(()=>import("./yyiwyzxe.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-pak12.svg":()=>ie(()=>import("./C0GKKLCb.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-primo.svg":()=>ie(()=>import("./DnpERUxK.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-pz.svg":()=>ie(()=>import("./i1KiJvSC.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-st-backup.svg":()=>ie(()=>import("./BpP1cxuX.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-st.svg":()=>ie(()=>import("./WDvxPqAG.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-sto.svg":()=>ie(()=>import("./C_lvriPp.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-storybe.svg":()=>ie(()=>import("./D1FBWUo1.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-svw-dark.svg":()=>ie(()=>import("./BOQHtt91.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-svw-secundair.svg":()=>ie(()=>import("./5zg2ctF1.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-svw.svg":()=>ie(()=>import("./CVHI8Ezv.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-svwonbe.svg":()=>ie(()=>import("./Drm-a63O.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tna.svg":()=>ie(()=>import("./Df1KcO8R.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tr-light.svg":()=>ie(()=>import("./DsKIETop.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tr.svg":()=>ie(()=>import("./BE7Knrx5.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tsbe.svg":()=>ie(()=>import("./BCxCdNBg.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tt.svg":()=>ie(()=>import("./PCq9vEZP.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tta.svg":()=>ie(()=>import("./BOHksM0X.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tvblad.svg":()=>ie(()=>import("./DMASOfat.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-tvfam.svg":()=>ie(()=>import("./DCwlu005.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vk-light.svg":()=>ie(()=>import("./CnIiP8ma.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vk.svg":()=>ie(()=>import("./BfnoN2Ms.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vro-dark.svg":()=>ie(()=>import("./tkMmWuCh.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vro.svg":()=>ie(()=>import("./DhlNTOPV.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vtw.svg":()=>ie(()=>import("./AID2pleg.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-vtwonbe.svg":()=>ie(()=>import("./zssmb1db.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-wls.svg":()=>ie(()=>import("./B8Ey7uU1.js"),[],import.meta.url).then(a=>a.default),"./logos/logo-wlstybe.svg":()=>ie(()=>import("./CT4kjAEq.js"),[],import.meta.url).then(a=>a.default)})).map(([a,l])=>[a.split("/").pop().split(".").shift(),l]));async function s(){const a=r.brandCode?`logo-${r.brandCode}`:"logo-dpg";i&&a&&typeof i[a]=="function"&&(o.value=await i[a]())}return[t,n]=ls(()=>s()),await t,n(),(a,l)=>(me(),mt("span",S6,[Et("span",{class:"tapp-logo__inner",style:Xo({width:a.width,height:a.height}),innerHTML:W(o)},null,12,A6)]))}}),Uh=Object.assign(hn(R6,[["__scopeId","data-v-b5475dea"]]),{__name:"TappLogo"}),I6=Ce({__name:"BaseContainer",props:{noMobilePadding:{type:Boolean,default:!1},size:{default:"base"}},setup(e){return(t,n)=>(me(),mt("div",{class:Xn(["base-container",{"base-container--no-mobile-padding":t.noMobilePadding}])},[Et("div",{class:Xn(["base-container__inner",[`base-container__inner--size-${t.size}`]])},[pt(t.$slots,"default",{},void 0,!0)],2)],2))}}),zc=Object.assign(hn(I6,[["__scopeId","data-v-58b79a6a"]]),{__name:"BaseContainer"});function O6(){const e={"katrien-duck":"katri","donald-duck-junior":"ddj"},t=Rn(),n=ks();return ne(()=>{const o=t.params.specialProduct,i=typeof o=="string",s=typeof o=="string"?o.toLowerCase():"";return i&&e[s]?e[s]:n.value})}const x6={class:"top-bar"},C6={class:"top-bar__logo"},N6={key:0,class:"top-bar__service"},L6={class:"top-bar__actions"},k6=Ce({__name:"BrandedTopbar",props:{logoLink:{},variant:{default:"long"}},setup(e){const t=O6();return(n,r)=>{const o=Uh,i=kc,s=zc;return me(),mt("nav",x6,[xe(s,null,{default:Ve(()=>[Et("div",{class:Xn(["top-bar__inner",{"top-bar__inner--long":n.variant==="long"&&n.$slots.service}])},[Et("div",C6,[n.logoLink?(me(),Ge(i,kt({key:0},n.logoLink,{"aria-label":"Abonnementen overzicht"}),{default:Ve(()=>[xe(o,{"brand-code":W(t)},null,8,["brand-code"])]),_:1},16)):(me(),Ge(o,{key:1,"brand-code":W(t)},null,8,["brand-code"]))]),n.$slots.service?(me(),mt("div",N6,[pt(n.$slots,"service",{},void 0,!0)])):rn("",!0),n.$slots.service?(me(),mt("hr",{key:1,class:Xn(["top-bar__divider",{"top-bar__divider--long":n.variant==="long"}])},null,2)):rn("",!0),Et("div",L6,[pt(n.$slots,"actions",{},void 0,!0)])],2)]),_:3})])}}}),P6=Object.assign(hn(k6,[["__scopeId","data-v-c79c0b94"]]),{__name:"BrandedTopbar"});function K2(){const{$logger:e}=Be(),t=ct("isBusinessHour",()=>!1);async function n(o,i){try{const{isBusinessHour:s}=await H8(o,i);return s}catch(s){e.log({error:s,title:"Error with fetching business hours"})}}async function r(o,i){t.value=await n(o,i)||!1}return{isBusinessHour:t,setBusinessHour:r}}function D6(){const{brandCode:e}=Zr(),{phoneNumber:t}=ll(),n=[{international:"+31880561521",local:"088-0561521",title:"Algemeen Dagblad",brandCode:"ad",variation:"variation_1"},{international:"+31880561522",local:"088-0561522",title:"BN De Stem",brandCode:"bs",variation:"variation_1"},{international:"+31880561523",local:"088-0561523",title:"Brabants Dagblad",brandCode:"bd",variation:"variation_1"},{international:"+31880561524",local:"088-0561524",title:"De Gelderlander",brandCode:"dg",variation:"variation_1"},{international:"+31880561526",local:"088-0561526",title:"De Stentor",brandCode:"st",variation:"variation_1"},{international:"+31880561527",local:"088-0561527",title:"De Volkskrant",brandCode:"vk",variation:"variation_1"},{international:"+31880561528",local:"088-0561528",title:"Eindhovens Dagblad",brandCode:"ed",variation:"variation_1"},{international:"+31880561529",local:"088-0561529",title:"Het Parool",brandCode:"hp",variation:"variation_1"},{international:"+31880561531",local:"088-0561531",title:"PZC",brandCode:"pz",variation:"variation_1"},{international:"+31880561532",local:"088-0561532",title:"Trouw",brandCode:"tr",variation:"variation_1"},{international:"+31880561534",local:"088-0561534",title:"Tubantia",brandCode:"tt",variation:"variation_1"},{international:"+31885500221",local:"088-5500221",title:"Donald Duck",brandCode:"don",variation:"variation_1"},{international:"+31885500222",local:"088-5500222",title:"Libelle",brandCode:"lib",variation:"variation_1"},{international:"+31885500223",local:"088-5500223",title:"Margriet",brandCode:"mar",variation:"variation_1"},{international:"+31885500224",local:"088-5500224",title:"Veronica",brandCode:"vro",variation:"variation_1"},{international:"+31885500231",local:"088-5500231",title:"VTwonen",brandCode:"vtw",variation:"variation_1"}],r=[{international:"+31880561506",local:"088-0561506",title:"Algemeen Dagblad",brandCode:"ad",variation:"variation_2"},{international:"+31880561507",local:"088-0561507",title:"BN De Stem",brandCode:"bs",variation:"variation_2"},{international:"+31880561508",local:"088-0561508",title:"Brabants Dagblad",brandCode:"bd",variation:"variation_2"},{international:"+31880561509",local:"088-0561509",title:"De Gelderlander",brandCode:"dg",variation:"variation_2"},{international:"+31880561511",local:"088-0561511",title:"De Stentor",brandCode:"st",variation:"variation_2"},{international:"+31880561512",local:"088-0561512",title:"De Volkskrant",brandCode:"vk",variation:"variation_2"},{international:"+31880561513",local:"088-0561513",title:"Eindhovens Dagblad",brandCode:"ed",variation:"variation_2"},{international:"+31880561514",local:"088-0561514",title:"Het Parool",brandCode:"hp",variation:"variation_2"},{international:"+31880561516",local:"088-0561516",title:"PZC",brandCode:"pz",variation:"variation_2"},{international:"+31880561517",local:"088-0561517",title:"Trouw",brandCode:"tr",variation:"variation_2"},{international:"+31880561518",local:"088-0561518",title:"Tubantia",brandCode:"tt",variation:"variation_2"},{international:"+31885500212",local:"088-5500212",title:"Donald Duck",brandCode:"don",variation:"variation_2"},{international:"+31885500213",local:"088-5500213",title:"Libelle",brandCode:"lib",variation:"variation_2"},{international:"+31885500214",local:"088-5500214",title:"Margriet",brandCode:"mar",variation:"variation_2"},{international:"+31885500215",local:"088-5500215",title:"Veronica",brandCode:"vro",variation:"variation_2"},{international:"+31885500216",local:"088-5500216",title:"VTwonen",brandCode:"vtw",variation:"variation_2"}],o=ne(()=>{var s;return((s=n.find(a=>a.brandCode===e.value))==null?void 0:s.local)||""}),i=ne(()=>{var s;return((s=r.find(a=>a.brandCode===e.value))==null?void 0:s.local)||""});return{variation1PhoneNumber:o,variation2PhoneNumber:i,controlPhoneNumber:t}}function M6(e){const t=e.split(":")[0],n=t.split(".");return n.length>1?n.slice(-2).join("."):t}function F6(){const e=ct("optimizely-user-id-state",()=>"");if(e.value&&typeof e.value=="string")return e;const t=M6(Zo().host),n=Lc("optimizely-user-id",{sameSite:"lax",maxAge:60*60*24*365*2,domain:t});if(n.value&&typeof n.value=="string")return n;if(!e.value){const r=crypto.randomUUID();e.value=r,n.value=r}return n}function U6(){var u;const{host:e,href:t}=Zo(),n=Dt().public,r=Rn().query,o=typeof r.otag=="string"?r.otag:"",i=typeof r.mid=="string"?r.mid:"",s=ct("otag",()=>o),a=ct("activeMid",()=>i);return{channel:"",title:((u=ct("brandCode").value)==null?void 0:u.toUpperCase())||"",otag:s.value??"",mid:a.value,flowStep:r.flowStep??"",campaign:"",returning:"",productType:"",magazines:!1,host:e,url:t,environment:n.APPLICATION,country:""}}const j6=e=>{const t=Lc(e,{sameSite:"lax",maxAge:5184e3});if(t.value)return`${t.value}`;t.value="1"};function V6({experimentKey:e,userId:t,userAttributes:n,query:r,optimizely:o}){const i=Dt().public.STAGE==="production",s=r[`optimizely_force_variation[${e}]`],a=typeof s=="string"?s:null;if(a)return a;{const l=j6(e);return o[i&&l!=="1"?"activate":"getVariation"](e,t,n)}}function q2({experimentKey:e,attributes:t,featureKey:n}){const r=Rn(),{$optimizely:o}=Be(),i=F6(),s=ct("optimizely",()=>({}));if(!o)return{variation:null,variables:null};const a={...U6(),...t};a.title&&(a.title=a.title.toUpperCase());const l=V6({experimentKey:e,userId:i.value,userAttributes:a,query:r.query,optimizely:o}),u=n&&o.getAllFeatureVariables(n,i.value,a);return s.value[e]={variation:l,variables:u},{variation:l,variables:u}}function W_({experimentKey:e,featureKey:t,attributes:n}){const{brandCode:r}=Zr();return q2({experimentKey:e,featureKey:t,attributes:{title:r.value.toUpperCase(),...n}})}const $6={abonneevoordeel__cta_onder_aanbod:{experimentKey:"abonneevoordeel__cta_onder_aanbod",featureKey:"abonneevoordeel__cta_onder_aanbod"},abonneevoordeel_linken_naar_webshop:{experimentKey:"abonneevoordeel_linken_naar_webshop",featureKey:"abonneevoordeel_linken_naar_webshop"}},B6={pop_up_meerdere_producten_kiosk:{experimentKey:"pop_up_meerdere_producten_kiosk",featureKey:"pop_up_meerdere_producten_kiosk"},campagne_pagina_aansluiten_op_mail_:{experimentKey:"campagne_pagina_aansluiten_op_mail_",featureKey:"campagne_pagina_aansluiten_op_mail_"},compliance_cta_aanpassing_kiosk:{experimentKey:"compliance_cta_aanpassing_kiosk",featureKey:"compliance_cta_aanpassing_kiosk"},toevoegen_prijs_onder_item_kiosk:{experimentKey:"toevoegen_prijs_onder_item_kiosk",featureKey:"toevoegen_prijs_onder_item_kiosk"},"3pv_aanpassingen_kiosk":{experimentKey:"3pv_aanpassingen_kiosk",featureKey:"3pv_aanpassingen_kiosk"},cta_ga_verder_blop:{experimentKey:"cta_ga_verder_blop_",featureKey:"cta_ga_verder_blop_"}},H6={oofowf__kccsturing_optimaliseren_v1:{experimentKey:"oofowf__kccsturing_optimaliseren_v1",featureKey:"oofowf__kccsturing_optimaliseren_v1"},oofowf__usps_benefit_vs_feature:{experimentKey:"oofowf__usps_benefit_vs_feature",featureKey:"oofowf__usps_benefit_vs_feature"},oofowf__andere_behoudsflows_in_verlengaanbod:{experimentKey:"oofowf__andere_behoudsflows_in_verlengaanbod",featureKey:"oofowf__andere_behoudsflows_in_verlengaanbod"},owf__simplify_nieuwe_korting:{experimentKey:"owf__simplify_nieuwe_korting",featureKey:"owf__simplify_nieuwe_korting"},oofowf__alfred_offers_op_homepage:{experimentKey:"oofowf__alfred_offers_op_homepage",featureKey:"oofowf__alfred_offers_op_homepage"},oof__behoud_boven_opzeggen:{experimentKey:"oof__behoud_boven_opzeggen",featureKey:"oof__behoud_boven_opzeggen"},owf__categorien_bij_switch:{experimentKey:"owf__categorien_bij_switch",featureKey:"owf__categorien_bij_switch"},oof__aanbod_na_opzegging:{experimentKey:"oof__aanbod_na_opzegging",featureKey:"oof__aanbod_na_opzegging"},oofowf__huidige_leesvorm_met_radiobuttons:{experimentKey:"oofowf__huidige_leesvorm_met_radiobuttons",featureKey:"oofowf__huidige_leesvorm_met_radiobuttons"},oof__gemakkelijk_opzeggen__sneller_terug_klant_long_term_test:{experimentKey:"oof__gemakkelijk_opzeggen__sneller_terug_klant_long_term_test",featureKey:"oof__gemakkelijk_opzeggen__sneller_terug_klant_long_term_test"},owf__gekozen_abonnement:{experimentKey:"owf__gekozen_abonnement",featureKey:"owf__gekozen_abonnement"},remove_owf:{experimentKey:"remove_owf",featureKey:"remove_owf"},owf__switch_zonder_filter:{experimentKey:"owf__switch_zonder_filter",featureKey:"owf__switch_zonder_filter"},oofowf__kccsturing_optimaliseren_v2:{experimentKey:"oofowf__kccsturing_optimaliseren_v2",featureKey:"oofowf__kccsturing_optimaliseren_v2"},oof__opzeggen_bij_molinks_telnr_test:{experimentKey:"oof__opzeggen_bij_molinks_telnr_test",featureKey:"oof__opzeggen_bij_molinks_telnr_test"},oofowf__oofsturing_optimaliseren:{experimentKey:"oofowf__oofsturing_optimaliseren",featureKey:"oofowf__oofsturing_optimaliseren"}},z6={upsell_visueel_verminderen_shops:{experimentKey:"upsell_visueel_verminderen_shops",featureKey:"upsell_visueel_verminderen_shops"},shops_bedankpagina_smoketest:{experimentKey:"shops_bedankpagina_smoketest",featureKey:"shops_bedankpagina_smoketest"},h2_dagbladen_brand_trust:{experimentKey:"h2_dagbladen_brand_trust",featureKey:"h2_dagbladen_brand_trust"},fluister_usp_backtest:{experimentKey:"fluister_usp_backtest",featureKey:"fluister_usp_backtest"},van_voor_prijs_etalage_shops:{experimentKey:"van_voor_prijs_etalage_shops",featureKey:"van_voor_prijs_etalage_shops"},usp_bar_onder_etalage:{experimentKey:"usp_bar_onder_etalage",featureKey:"usp_bar_onder_etalage"},kies_kortingsperiode_vervolgtest:{experimentKey:"kies_kortingsperiode_vervolgtest",featureKey:"kies_kortingsperiode_vervolgtest"},remove_winkelmandje:{experimentKey:"remove_winkelmandje",featureKey:"remove_winkelmandje"},copy_omtrent_opzeggen_naar_boven:{experimentKey:"copy_omtrent_opzeggen_naar_boven",featureKey:"copy_omtrent_opzeggen_naar_boven"},top_bar_communicatie_shops:{experimentKey:"top_bar_communicatie_shops",featureKey:"top_bar_communicatie_shops"},label_op_looptijden_toevoegen:{experimentKey:"label_op_looptijden_toevoegen",featureKey:"label_op_looptijden_toevoegen"},premiumlabel_toevoegen_shops:{experimentKey:"premiumlabel_toevoegen_shops",featureKey:"premiumlabel_toevoegen_shops"},shops_h2_magazines_add_beleving:{experimentKey:"shops_h2_magazines_add_beleving",featureKey:"shops_h2_magazines_add_beleving"},tekst_onder_kortingsperiode_testen:{experimentKey:"tekst_onder_kortingsperiode_testen",featureKey:"tekst_onder_kortingsperiode_testen"},besparing_per_jaar_weergeven_shops:{experimentKey:"besparing_per_jaar_weergeven_shops",featureKey:"besparing_per_jaar_weergeven_shops"},fast_checkout_test_shops:{experimentKey:"fast_checkout_test_shops",featureKey:"fast_checkout_test_shops"},"3pv_versimpelen_test":{experimentKey:"3pv_versimpelen_test",featureKey:"3pv_versimpelen_test"},pijltje_in_cta:{experimentKey:"pijltje_in_cta",featureKey:"pijltje_in_cta"},uitleg_3pv_adhv_faq_test:{experimentKey:"uitleg_3pv_adhv_faq",featureKey:"uitleg_3pv_adhv_faq"},nationale_feestdag_be_:{experimentKey:"nationale_feestdag_be_",featureKey:"nationale_feestdag_be_"},abonneevoordeel_etalage_voor_1_prop:{experimentKey:"abonneevoordeel_etalage_voor_1_prop",featureKey:"abonneevoordeel_etalage_voor_1_prop"},usp_in_bar_changes:{experimentKey:"usp_in_bar_changes",featureKey:"usp_in_bar_changes"},digitaal_k10_vs_rat_shops:{experimentKey:"digitaal_k10_vs_rat_shops",featureKey:"digitaal_k10_vs_rat_shops"}},Y_={...$6,...B6,...H6,...z6};function G6(e){const t={...e};return delete t.loginType,delete t.reason1,delete t.reason2,delete t.reason3,delete t.switchType,delete t.propositionUuid,delete t.propositionGroup,delete t.productCode,t}function K6({t:e,phoneNumber:t,brand:n,isBusinessHour:r}){return{avatar:"https://cdn-03.tapp.dpgmedia.cloud/touchpoints/shops/landing/kcc-medewerker.jpg",variant:"default",businessHourContent:e("businessHourContent.open"),customerServiceLink:`https://mijnomgeving.${n==null?void 0:n.domain}?utm_medium=interne_referral&utm_source=${n==null?void 0:n.code}&otag=t2ejen&utm_content=klantenserviceblok`,phoneNumber:t,closedContent:e("businessHourContent.closed"),isBusinessHour:r}}const q6=Ce({__name:"AppTopbar",setup(e){const{isAuth:t}=Hc(),{phoneNumber:n}=ll(),r=Rn(),{brand:o}=Zr(),{isBusinessHour:i}=K2(),{t:s}=Pi(),{controlPhoneNumber:a,variation1PhoneNumber:l,variation2PhoneNumber:u}=D6(),{variation:c}=W_(Y_.oofowf__kccsturing_optimaliseren_v1),{variation:f}=W_(Y_.oofowf__kccsturing_optimaliseren_v2),d=ne(()=>({to:{path:t.value?"/abonnee":"/",query:G6(r.query)}})),p=ne(()=>{if(!o.value)return;const g=ne(()=>{switch(f){case"variation_1":return l.value;case"variation_2":return u.value}switch(c){case"variation_1":return l.value;case"variation_2":return u.value;default:return a.value}}),h=K6({isBusinessHour:i.value,phoneNumber:t?g.value:n.value,t:s,brand:o.value});return{avatar:h.avatar,isBusinessHour:h.isBusinessHour,phoneNumber:h.phoneNumber,businessHourContent:s("components.appTopbar.businessHourContent")}});return(g,h)=>{const _=Rj,m=w6,E=P6;return me(),Ge(E,{"logo-link":W(d),variant:W(t)?"long":"short"},Bp({actions:Ve(()=>[xe(m)]),_:2},[W(t)&&W(p)?{name:"service",fn:Ve(()=>[xe(_,Vo(zo(W(p))),null,16)]),key:"0"}:void 0]),1032,["logo-link","variant"])}}}),W6=Object.assign(q6,{__name:"AppTopbar"}),W2=(e="RouteProvider")=>Ce({name:e,props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,o={};for(const i in t.route)Object.defineProperty(o,i,{get:()=>n===t.renderKey?t.route[i]:r[i],enumerable:!0});return Gr(Ri,Er(o)),()=>dt(t.vnode,{ref:t.vnodeRef})}}),Y6=W2(),X_=new WeakMap,X6=Ce({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const o=Be(),i=Fe(),s=jt(Ri,null);let a;r({pageRef:i});const l=jt(hb,null);let u;const c=o.deferHydration();if(o.isHydrating){const d=o.hooks.hookOnce("app:error",c);Vt().beforeEach(d)}e.pageKey&&wt(()=>e.pageKey,(d,p)=>{d!==p&&o.callHook("page:loading:start")});let f=!1;{const d=Vt().beforeResolve(()=>{f=!1});Jo(()=>{d()})}return()=>dt(Db,{name:e.name,route:e.route,...t},{default:d=>{const p=Q6(s,d.route,d.Component),g=s&&s.matched.length===d.route.matched.length;if(!d.Component){if(u&&!g)return u;c();return}if(u&&l&&!l.isCurrent(d.route))return u;if(p&&s&&(!l||l!=null&&l.isCurrent(s)))return g?u:null;const h=kd(d,e.pageKey),_=Z6(s,d.route,d.Component);!o.isHydrating&&a===h&&!_&&Yt(()=>{f=!0,o.callHook("page:loading:end")}),a=h;const m=!!(e.transition??d.route.meta.pageTransition??Bg),E=m&&J6([e.transition,d.route.meta.pageTransition,Bg,{onBeforeLeave(){o._runningTransition=!0},onAfterLeave(){delete o._runningTransition,o.callHook("page:transition:finish",d.Component)}}]),y=e.keepalive??d.route.meta.keepalive??WR;return u=Fb(m&&E,_x(y,dt(Sc,{suspensible:!0,onPending:()=>o.callHook("page:start",d.Component),onResolve:()=>{Yt(()=>o.callHook("page:finish",d.Component).then(()=>{if(!f&&!_)return f=!0,o.callHook("page:loading:end")}).finally(c))}},{default:()=>{const v={key:h||void 0,vnode:n.default?eV(n.default,d):d.Component,route:d.route,renderKey:h||void 0,trackRootNodes:m,vnodeRef:i};if(!y)return dt(Y6,v);const T=d.Component.type,S=T;let I=X_.get(S);return I||(I=W2(T.name||T.__name),X_.set(S,I)),dt(I,v)}}))).default(),u}})}});function J6(e){const t=e.filter(Boolean).map(n=>({...n,onAfterLeave:n.onAfterLeave?lh(n.onAfterLeave):void 0}));return Ja(...t)}function Q6(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>{var i;return((i=o.components)==null?void 0:i.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((o,i)=>{var s,a,l;return((s=o.components)==null?void 0:s.default)!==((l=(a=e.matched[i])==null?void 0:a.components)==null?void 0:l.default)})||n&&kd({route:t,Component:n})!==kd({route:e,Component:n})}function Z6(e,t,n){return e?t.matched.findIndex(o=>{var i;return((i=o.components)==null?void 0:i.default)===(n==null?void 0:n.type)}){const o=Uh,i=zc;return me(),mt("div",{id:"footer-navigation",class:Xn(`footer-navigation footer-navigation--${W(t)}`)},[xe(i,null,{default:Ve(()=>[Et("div",tV,[Et("span",nV,[xe(o,{"brand-code":W(t)},null,8,["brand-code"])]),Et("nav",rV,[Et("ul",oV,[pt(n.$slots,"default",{},void 0,!0)])])])]),_:3})],2)}}}),sV=Object.assign(hn(iV,[["__scopeId","data-v-199e6138"]]),{__name:"BaseFooterLinkBar"}),aV={id:"footer",class:"footer"},lV={class:"footer__fine-print"},uV=["innerHTML"],cV=Ce({__name:"BaseDPGFooter",props:{footerText:{}},setup(e){const t=e;return(n,r)=>{const o=Uh,i=zc;return me(),mt("div",aV,[xe(i,null,{default:Ve(()=>[xe(o,{"brand-code":"dpg",height:"48px"}),Et("div",lV,[Et("span",{innerHTML:t.footerText},null,8,uV)])]),_:1})])}}}),fV=Object.assign(hn(cV,[["__scopeId","data-v-34c34b37"]]),{__name:"BaseDPGFooter"}),dV=Ce({__name:"BrandedFooter",props:{items:{default:()=>[]}},setup(e){const t=ne(()=>e.items.map(({tag:n,...r})=>n==="NuxtLink"?{...r,tag:kc}:{tag:n,...r}));return(n,r)=>{const o=sV,i=fV;return me(),mt(Ct,null,[xe(o,null,{default:Ve(()=>[(me(!0),mt(Ct,null,$p(W(t),({tag:s,label:a,...l},u)=>(me(),mt("li",{key:u},[(me(),Ge(Ho(s),kt({class:"branded-footer__item","data-analytics-action":"footer_link_click","data-analytics-category":"navigation","data-analytics-lvl1":"nav","data-analytics-lvl2":"footer-link"},{ref_for:!0},l),{default:Ve(()=>[Qr(rr(a),1)]),_:2},1040))]))),128))]),_:1}),xe(i,{"footer-text":n.$t("dpg.footerText",[new Date().getFullYear()])},null,8,["footer-text"])],64)}}}),pV=Object.assign(hn(dV,[["__scopeId","data-v-9c545b69"]]),{__name:"BrandedFooter"});function jh(e){return e?e.flatMap(t=>t.type===Ct?jh(t.children):[t]):[]}const hV=Ce({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var l;if(!n.default)return null;const r=jh(n.default()),o=r.findIndex(u=>u.type!==zt);if(o===-1)return r;const i=r[o];(l=i.props)==null||delete l.ref;const s=i.props?kt(t,i.props):t,a=Wn({...i,props:{}},s);return r.length===1?a:(r[o]=a,r)}}}),gV=["area","img","input"],ri=Ce({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const r=e.asChild?"template":e.as;return typeof r=="string"&&gV.includes(r)?()=>dt(r,t):r!=="template"?()=>dt(e.as,t,{default:n.default}):()=>dt(hV,t,{default:n.default})}}),J_=Ce({__name:"VisuallyHidden",props:{feature:{default:"focusable"},asChild:{type:Boolean},as:{default:"span"}},setup(e){return(t,n)=>(me(),Ge(W(ri),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:Ve(()=>[pt(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}});function Y2(e,t){const n=typeof e=="string"?`${e}Context`:t,r=Symbol(n);return[s=>{const a=jt(r,s);if(a||a===null)return a;throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},s=>(Gr(r,s),s)]}const[X2,IB]=Y2("ConfigProvider");function _r(){const e=St(),t=Fe(),n=ne(()=>{var s,a;return["#text","#comment"].includes((s=t.value)==null?void 0:s.$el.nodeName)?(a=t.value)==null?void 0:a.$el.nextElementSibling:jo(t)}),r=Object.assign({},e.exposed),o={};for(const s in e.props)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>e.props[s]});if(Object.keys(r).length>0)for(const s in r)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>r[s]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=o;function i(s){t.value=s,s&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),e.exposed=o)}return{forwardRef:i,currentRef:t,currentElement:n}}let mV=0;function Ep(e,t="reka"){const n=X2({useId:void 0});return Object.hasOwn(zA,"useId")?`${t}-${au==null?void 0:au()}`:n.useId?`${t}-${n.useId()}`:`${t}-${++mV}`}function yV(e,t){const n=Fe(e);function r(i){return t[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=r(i)}}}function _V(e,t){var _;const n=Fe({}),r=Fe("none"),o=Fe(e),i=e.value?"mounted":"unmounted";let s;const a=((_=t.value)==null?void 0:_.ownerDocument.defaultView)??Ls,{state:l,dispatch:u}=yV(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=m=>{var E;if(ni){const y=new CustomEvent(m,{bubbles:!1,cancelable:!1});(E=t.value)==null||E.dispatchEvent(y)}};wt(e,async(m,E)=>{var v;const y=E!==m;if(await Yt(),y){const T=r.value,S=ru(t.value);m?(u("MOUNT"),c("enter"),S==="none"&&c("after-enter")):S==="none"||S==="undefined"||((v=n.value)==null?void 0:v.display)==="none"?(u("UNMOUNT"),c("leave"),c("after-leave")):E&&T!==S?(u("ANIMATION_OUT"),c("leave")):(u("UNMOUNT"),c("after-leave"))}},{immediate:!0});const f=m=>{const E=ru(t.value),y=E.includes(m.animationName),v=l.value==="mounted"?"enter":"leave";if(m.target===t.value&&y&&(c(`after-${v}`),u("ANIMATION_END"),!o.value)){const T=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",s=a==null?void 0:a.setTimeout(()=>{var S;((S=t.value)==null?void 0:S.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=T)})}m.target===t.value&&E==="none"&&u("ANIMATION_END")},d=m=>{m.target===t.value&&(r.value=ru(t.value))},p=wt(t,(m,E)=>{m?(n.value=getComputedStyle(m),m.addEventListener("animationstart",d),m.addEventListener("animationcancel",f),m.addEventListener("animationend",f)):(u("ANIMATION_END"),s!==void 0&&(a==null||a.clearTimeout(s)),E==null||E.removeEventListener("animationstart",d),E==null||E.removeEventListener("animationcancel",f),E==null||E.removeEventListener("animationend",f))},{immediate:!0}),g=wt(l,()=>{const m=ru(t.value);r.value=l.value==="mounted"?m:"none"});return So(()=>{p(),g()}),{isPresent:ne(()=>["mounted","unmountSuspended"].includes(l.value))}}function ru(e){return e&&getComputedStyle(e).animationName||"none"}const J2=Ce({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var u;const{present:r,forceMount:o}=_a(e),i=Fe(),{isPresent:s}=_V(r,i);n({present:s});let a=t.default({present:s.value});a=jh(a||[]);const l=St();if(a&&(a==null?void 0:a.length)>1){const c=(u=l==null?void 0:l.parent)!=null&&u.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${c}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(f=>` - ${f}`).join(` `)].join(` `))}return()=>o.value||r.value||s.value?dt(t.default({present:s.value})[0],{ref:c=>{const f=jo(c);return typeof(f==null?void 0:f.hasAttribute)>"u"||(f!=null&&f.hasAttribute("data-reka-popper-content-wrapper")?i.value=f.firstElementChild:i.value=f),f}}):null}}),[eo,vV]=Y2("DialogRoot"),bV=Ce({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=d8(n,"open",t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=Fe(),s=Fe(),{modal:a}=_a(n);return vV({open:o,modal:a,openModal:()=>{o.value=!0},onOpenChange:l=>{o.value=l},onOpenToggle:()=>{o.value=!o.value},contentId:"",titleId:"",descriptionId:"",triggerElement:i,contentElement:s}),(l,u)=>pt(l.$slots,"default",{open:W(o),close:()=>o.value=!1})}}),EV=Ce({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;_r();const n=eo();return(r,o)=>(me(),Ge(W(ri),kt(t,{type:r.as==="button"?"button":void 0,onClick:o[0]||(o[0]=i=>W(n).onOpenChange(!1))}),{default:Ve(()=>[pt(r.$slots,"default")]),_:3},16,["type"]))}});function Vh(e){const t=St(),n=t==null?void 0:t.type.emits,r={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),n==null||n.forEach(o=>{r[os(an(o))]=(...i)=>e(o,...i)}),r}function Q2(e,t,n){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(o)}const TV="dismissableLayer.pointerDownOutside",wV="dismissableLayer.focusOutside";function Z2(e,t){const n=t.closest("[data-dismissable-layer]"),r=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),o=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(r===n||o.indexOf(r){});return Jr(a=>{if(!ni||!gt(n))return;const l=async c=>{const f=c.target;if(!(!(t!=null&&t.value)||!f)){if(Z2(t.value,f)){o.value=!1;return}if(c.target&&!o.value){let d=function(){Q2(TV,e,p)};const p={originalEvent:c};c.pointerType==="touch"?(r.removeEventListener("click",i.value),i.value=d,r.addEventListener("click",i.value,{once:!0})):d()}else r.removeEventListener("click",i.value);o.value=!1}},u=window.setTimeout(()=>{r.addEventListener("pointerdown",l)},0);a(()=>{window.clearTimeout(u),r.removeEventListener("pointerdown",l),r.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>{gt(n)&&(o.value=!0)}}}function AV(e,t){var o;const n=((o=t==null?void 0:t.value)==null?void 0:o.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=Fe(!1);return Jr(i=>{if(!ni)return;const s=async a=>{if(!(t!=null&&t.value))return;await Yt(),await Yt();const l=a.target;!t.value||!l||Z2(t.value,l)||a.target&&!r.value&&Q2(wV,e,{originalEvent:a})};n.addEventListener("focusin",s),i(()=>n.removeEventListener("focusin",s))}),{onFocusCapture:()=>r.value=!0,onBlurCapture:()=>r.value=!1}}const io=Sn({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),RV=Ce({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:i}=_r(),s=ne(()=>{var g;return((g=i.value)==null?void 0:g.ownerDocument)??globalThis.document}),a=ne(()=>io.layersRoot),l=ne(()=>i.value?Array.from(a.value).indexOf(i.value):-1),u=ne(()=>io.layersWithOutsidePointerEventsDisabled.size>0),c=ne(()=>{const g=Array.from(a.value),[h]=[...io.layersWithOutsidePointerEventsDisabled].slice(-1),_=g.indexOf(h);return l.value>=_}),f=SV(async g=>{const h=[...io.branches].some(_=>_==null?void 0:_.contains(g.target));!c.value||h||(r("pointerDownOutside",g),r("interactOutside",g),await Yt(),g.defaultPrevented||r("dismiss"))},i),d=AV(g=>{[...io.branches].some(_=>_==null?void 0:_.contains(g.target))||(r("focusOutside",g),r("interactOutside",g),g.defaultPrevented||r("dismiss"))},i);F2("Escape",g=>{l.value===a.value.size-1&&(r("escapeKeyDown",g),g.defaultPrevented||r("dismiss"))});let p;return Jr(g=>{i.value&&(n.disableOutsidePointerEvents&&(io.layersWithOutsidePointerEventsDisabled.size===0&&(p=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),io.layersWithOutsidePointerEventsDisabled.add(i.value)),a.value.add(i.value),g(()=>{n.disableOutsidePointerEvents&&io.layersWithOutsidePointerEventsDisabled.size===1&&(s.value.body.style.pointerEvents=p)}))}),Jr(g=>{g(()=>{i.value&&(a.value.delete(i.value),io.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(g,h)=>(me(),Ge(W(ri),{ref:W(o),"as-child":g.asChild,as:g.as,"data-dismissable-layer":"",style:Xo({pointerEvents:u.value?c.value?"auto":"none":void 0}),onFocusCapture:W(d).onFocusCapture,onBlurCapture:W(d).onBlurCapture,onPointerdownCapture:W(f).onPointerDownCapture},{default:Ve(()=>[pt(g.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}});function qo(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function IV(e){return e?"open":"closed"}const OV=Gj(()=>Fe([]));function xV(){const e=OV();return{add(t){const n=e.value[0];t!==n&&(n==null||n.pause()),e.value=Q_(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=Q_(e.value,t),(n=e.value[0])==null||n.resume()}}}function Q_(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function CV(e){return e.filter(t=>t.tagName!=="A")}const Yf="focusScope.autoFocusOnMount",Xf="focusScope.autoFocusOnUnmount",Z_={bubbles:!1,cancelable:!0};function NV(e,{select:t=!1}={}){const n=qo();for(const r of e)if(Co(r,{select:t}),qo()!==n)return!0}function LV(e){const t=eT(e),n=ev(t,e),r=ev(t.reverse(),e);return[n,r]}function eT(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ev(e,t){for(const n of e)if(!kV(n,{upTo:t}))return n}function kV(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function PV(e){return e instanceof HTMLInputElement&&"select"in e}function Co(e,{select:t=!1}={}){if(e&&e.focus){const n=qo();e.focus({preventScroll:!0}),e!==n&&PV(e)&&t&&e.select()}}const DV=Ce({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,r=t,{currentRef:o,currentElement:i}=_r(),s=Fe(null),a=xV(),l=Sn({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});Jr(c=>{if(!ni)return;const f=i.value;if(!n.trapped)return;function d(_){if(l.paused||!f)return;const m=_.target;f.contains(m)?s.value=m:Co(s.value,{select:!0})}function p(_){if(l.paused||!f)return;const m=_.relatedTarget;m!==null&&(f.contains(m)||Co(s.value,{select:!0}))}function g(_){f.contains(s.value)||Co(f)}document.addEventListener("focusin",d),document.addEventListener("focusout",p);const h=new MutationObserver(g);f&&h.observe(f,{childList:!0,subtree:!0}),c(()=>{document.removeEventListener("focusin",d),document.removeEventListener("focusout",p),h.disconnect()})}),Jr(async c=>{const f=i.value;if(await Yt(),!f)return;a.add(l);const d=qo();if(!f.contains(d)){const g=new CustomEvent(Yf,Z_);f.addEventListener(Yf,h=>r("mountAutoFocus",h)),f.dispatchEvent(g),g.defaultPrevented||(NV(CV(eT(f)),{select:!0}),qo()===d&&Co(f))}c(()=>{f.removeEventListener(Yf,_=>r("mountAutoFocus",_));const g=new CustomEvent(Xf,Z_),h=_=>{r("unmountAutoFocus",_)};f.addEventListener(Xf,h),f.dispatchEvent(g),setTimeout(()=>{g.defaultPrevented||Co(d??document.body,{select:!0}),f.removeEventListener(Xf,h),a.remove(l)},0)})});function u(c){if(!n.loop&&!n.trapped||l.paused)return;const f=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,d=qo();if(f&&d){const p=c.currentTarget,[g,h]=LV(p);g&&h?!c.shiftKey&&d===h?(c.preventDefault(),n.loop&&Co(g,{select:!0})):c.shiftKey&&d===g&&(c.preventDefault(),n.loop&&Co(h,{select:!0})):d===p&&c.preventDefault()}}return(c,f)=>(me(),Ge(W(ri),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:u},{default:Ve(()=>[pt(c.$slots,"default")]),_:3},8,["as-child","as"]))}}),tT=Ce({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=eo(),{forwardRef:i,currentElement:s}=_r();return o.titleId||(o.titleId=Ep(void 0,"reka-dialog-title")),o.descriptionId||(o.descriptionId=Ep(void 0,"reka-dialog-description")),ln(()=>{o.contentElement=s,qo()!==document.body&&(o.triggerElement.value=qo())}),(a,l)=>(me(),Ge(W(DV),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:l[5]||(l[5]=u=>r("openAutoFocus",u)),onUnmountAutoFocus:l[6]||(l[6]=u=>r("closeAutoFocus",u))},{default:Ve(()=>[xe(W(RV),kt({id:W(o).contentId,ref:W(i),as:a.as,"as-child":a.asChild,"disable-outside-pointer-events":a.disableOutsidePointerEvents,role:"dialog","aria-describedby":W(o).descriptionId,"aria-labelledby":W(o).titleId,"data-state":W(IV)(W(o).open.value)},a.$attrs,{onDismiss:l[0]||(l[0]=u=>W(o).onOpenChange(!1)),onEscapeKeyDown:l[1]||(l[1]=u=>r("escapeKeyDown",u)),onFocusOutside:l[2]||(l[2]=u=>r("focusOutside",u)),onInteractOutside:l[3]||(l[3]=u=>r("interactOutside",u)),onPointerDownOutside:l[4]||(l[4]=u=>r("pointerDownOutside",u))}),{default:Ve(()=>[pt(a.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}});var MV=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},zi=new WeakMap,ou=new WeakMap,iu={},Jf=0,nT=function(e){return e&&(e.host||nT(e.parentNode))},FV=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=nT(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},UV=function(e,t,n,r){var o=FV(t,Array.isArray(e)?e:[e]);iu[n]||(iu[n]=new WeakMap);var i=iu[n],s=[],a=new Set,l=new Set(o),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(d){if(a.has(d))c(d);else try{var p=d.getAttribute(r),g=p!==null&&p!=="false",h=(zi.get(d)||0)+1,_=(i.get(d)||0)+1;zi.set(d,h),i.set(d,_),s.push(d),h===1&&g&&ou.set(d,!0),_===1&&d.setAttribute(n,"true"),g||d.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",d,m)}})};return c(t),a.clear(),Jf++,function(){s.forEach(function(f){var d=zi.get(f)-1,p=i.get(f)-1;zi.set(f,d),i.set(f,p),d||(ou.has(f)||f.removeAttribute(r),ou.delete(f)),p||f.removeAttribute(n)}),Jf--,Jf||(zi=new WeakMap,zi=new WeakMap,ou=new WeakMap,iu={})}},jV=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=MV(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),UV(r,o,n,"aria-hidden")):function(){return null}};function VV(e){let t;wt(()=>jo(e),n=>{n?t=jV(n):t&&t()}),So(()=>{t&&t()})}const $V=Ce({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=eo(),i=Vh(r),{forwardRef:s,currentElement:a}=_r();return VV(a),(l,u)=>(me(),Ge(tT,kt({...n,...W(i)},{ref:W(s),"trap-focus":W(o).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:u[0]||(u[0]=c=>{var f;c.defaultPrevented||(c.preventDefault(),(f=W(o).triggerElement.value)==null||f.focus())}),onPointerDownOutside:u[1]||(u[1]=c=>{const f=c.detail.originalEvent,d=f.button===0&&f.ctrlKey===!0;(f.button===2||d)&&c.preventDefault()}),onFocusOutside:u[2]||(u[2]=c=>{c.preventDefault()})}),{default:Ve(()=>[pt(l.$slots,"default")]),_:3},16,["trap-focus"]))}}),BV=Ce({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=Vh(t);_r();const i=eo(),s=Fe(!1),a=Fe(!1);return(l,u)=>(me(),Ge(tT,kt({...n,...W(o)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:u[0]||(u[0]=c=>{var f;c.defaultPrevented||(s.value||(f=W(i).triggerElement.value)==null||f.focus(),c.preventDefault()),s.value=!1,a.value=!1}),onInteractOutside:u[1]||(u[1]=c=>{var p;c.defaultPrevented||(s.value=!0,c.detail.originalEvent.type==="pointerdown"&&(a.value=!0));const f=c.target;((p=W(i).triggerElement.value)==null?void 0:p.contains(f))&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&a.value&&c.preventDefault()})}),{default:Ve(()=>[pt(l.$slots,"default")]),_:3},16))}}),HV=Ce({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=t,o=eo(),i=Vh(r),{forwardRef:s}=_r();return(a,l)=>(me(),Ge(W(J2),{present:a.forceMount||W(o).open.value},{default:Ve(()=>[W(o).modal.value?(me(),Ge($V,kt({key:0,ref:W(s)},{...n,...W(i),...a.$attrs}),{default:Ve(()=>[pt(a.$slots,"default")]),_:3},16)):(me(),Ge(BV,kt({key:1,ref:W(s)},{...n,...W(i),...a.$attrs}),{default:Ve(()=>[pt(a.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),zV=Ce({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(e){const t=e;_r();const n=eo();return(r,o)=>(me(),Ge(W(ri),kt(t,{id:W(n).descriptionId}),{default:Ve(()=>[pt(r.$slots,"default")]),_:3},16,["id"]))}}),GV=qj(()=>{const e=Fe(new Map),t=Fe(),n=ne(()=>{for(const s of e.value.values())if(s)return!0;return!1}),r=X2({scrollBody:Fe(!0)});let o=null;const i=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",gp&&(o==null||o()),t.value=void 0};return wt(n,(s,a)=>{var f;if(!ni)return;if(!s){a&&i();return}t.value===void 0&&(t.value=document.body.style.overflow);const l=window.innerWidth-document.documentElement.clientWidth,u={padding:l,margin:0},c=(f=r.scrollBody)!=null&&f.value?typeof r.scrollBody.value=="object"?Ja({padding:r.scrollBody.value.padding===!0?l:r.scrollBody.value.padding,margin:r.scrollBody.value.margin===!0?l:r.scrollBody.value.margin},u):u:{padding:0,margin:0};l>0&&(document.body.style.paddingRight=typeof c.padding=="number"?`${c.padding}px`:String(c.padding),document.body.style.marginRight=typeof c.margin=="number"?`${c.margin}px`:String(c.margin),document.documentElement.style.setProperty("--scrollbar-width",`${l}px`),document.body.style.overflow="hidden"),gp&&(o=$r(document,"touchmove",d=>qV(d),{passive:!1})),Yt(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function KV(e){const t=Math.random().toString(36).substring(2,7),n=GV();n.value.set(t,e??!1);const r=ne({get:()=>n.value.get(t)??!1,set:o=>n.value.set(t,o)});return n8(()=>{n.value.delete(t)}),r}function rT(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}const WV=Ce({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(e){const t=eo();return KV(!0),_r(),(n,r)=>(me(),Ge(W(ri),{as:n.as,"as-child":n.asChild,"data-state":W(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:Ve(()=>[pt(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),YV=Ce({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=eo(),{forwardRef:n}=_r();return(r,o)=>{var i;return(i=W(t))!=null&&i.modal.value?(me(),Ge(W(J2),{key:0,present:r.forceMount||W(t).open.value},{default:Ve(()=>[xe(WV,kt(r.$attrs,{ref:W(n),as:r.as,"as-child":r.asChild}),{default:Ve(()=>[pt(r.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):rn("",!0)}}}),XV=Ce({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},defer:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=M2();return(n,r)=>W(t)||n.forceMount?(me(),Ge(Fv,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[pt(n.$slots,"default")],8,["to","disabled","defer"])):rn("",!0)}}),JV=Ce({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(e){const t=e,n=eo();return _r(),(r,o)=>(me(),Ge(W(ri),kt(t,{id:W(n).titleId}),{default:Ve(()=>[pt(r.$slots,"default")]),_:3},16,["id"]))}}),QV=Ce({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=eo(),{forwardRef:r,currentElement:o}=_r();return n.contentId||(n.contentId=Ep(void 0,"reka-dialog-content")),ln(()=>{n.triggerElement.value=o.value}),(i,s)=>(me(),Ge(W(ri),kt(t,{ref:W(r),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":W(n).open.value||!1,"aria-controls":W(n).open.value?W(n).contentId:void 0,"data-state":W(n).open.value?"open":"closed",onClick:W(n).onOpenToggle}),{default:Ve(()=>[pt(i.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),ZV=Ce({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},defer:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,r)=>(me(),Ge(W(XV),Vo(zo(t)),{default:Ve(()=>[pt(n.$slots,"default")]),_:3},16))}}),e$={class:"tapp-modal__inner"},t$=["windowed","always-windowed","fullscreen"],n$=Ce({__name:"TappModal",props:Xv({variant:{default:()=>t$[0]},accessibleTitle:{},accessibleDescription:{},reka:{}},{open:{type:Boolean},openModifiers:{}}),emits:["update:open"],setup(e){const t=m1(e,"open");return(n,r)=>{var i;const o=Bc;return me(),Ge(W(bV),kt((i=n.reka)==null?void 0:i.root,{open:t.value,"onUpdate:open":r[0]||(r[0]=s=>t.value=s)}),{default:Ve(()=>{var s,a;return[xe(W(QV),kt({"as-child":""},(s=n.reka)==null?void 0:s.trigger),{default:Ve(()=>[pt(n.$slots,"trigger")]),_:3},16),xe(W(ZV),Vo(zo((a=n.reka)==null?void 0:a.portal)),{default:Ve(()=>{var l,u;return[xe(W(YV),kt({class:"tapp-modal-overlay"},(l=n.reka)==null?void 0:l.overlay),null,16),xe(W(HV),kt({class:["tapp-modal",`tapp-modal--${n.variant}`],"data-testid":"tapp-modal"},(u=n.reka)==null?void 0:u.content),{default:Ve(()=>{var c;return[xe(W(J_),{"as-child":""},{default:Ve(()=>{var f;return[xe(W(JV),Vo(zo((f=n.reka)==null?void 0:f.title)),{default:Ve(()=>[Qr(rr(n.accessibleTitle),1)]),_:1},16)]}),_:1}),xe(W(J_),{"as-child":""},{default:Ve(()=>{var f;return[xe(W(zV),Vo(zo((f=n.reka)==null?void 0:f.description)),{default:Ve(()=>[Qr(rr(n.accessibleDescription),1)]),_:1},16)]}),_:1}),Et("div",e$,[pt(n.$slots,"default")]),xe(W(EV),kt({class:"tapp-modal__close","aria-label":"Sluit deze pop-up","data-testid":"tapp-modal-close","data-analytics-category":"modal","data-analytics-action":"modal_close","data-analytics-label":n.accessibleTitle},(c=n.reka)==null?void 0:c.close),{default:Ve(()=>[xe(o,{icon:"x",size:24})]),_:1},16,["data-analytics-label"])]}),_:3},16,["class"])]}),_:3},16)]}),_:3},16,["open"])}}}),r$=Object.assign(n$,{__name:"TappModal"});function ul(){const e=Zo().host;return{flowType:e!=null&&e.includes("opzeggen")?"opzeggen":"wijzigen"}}const o$=bo(()=>ie(()=>import("./BqKkjd4G.js"),__vite__mapDeps([77,78]),import.meta.url).then(e=>e.default||e)),i$={class:"app-accessibility-policy-modal"},s$=Ce({__name:"AppAccessibilityPolicyModal",setup(e){const t=ct("isAccessibilityPolicyModalOpen",()=>!1),n=ul().flowType,{brandCode:r}=Zr();return(o,i)=>{const s=o$,a=r$;return me(),Ge(a,{open:W(t),"onUpdate:open":i[0]||(i[0]=l=>It(t)?t.value=l:null),"accessible-title":"Accessibility Policy","accessible-description":"Read our accessibility policy for the kiosk app"},{default:Ve(()=>[Et("div",i$,[W(t)?(me(),Ge(s,{key:0,"app-slug":W(n),locale:"nl",title:W(r)},null,8,["app-slug","title"])):rn("",!0)])]),_:1},8,["open"])}}}),a$=Object.assign(hn(s$,[["__scopeId","data-v-3e74358d"]]),{__name:"AppAccessibilityPolicyModal"}),oT={gender:"U",firstName:"John",middleName:"van",lastName:"Doe",address:{postalCode:"1010TR",houseNumber:"1"},phone:"0612345678",dateOfBirth:"1990-04-19",email:"developmentwerving-dpn+6@persgroep.net",iban:"NL13TEST0123456789",ideal:"ABNANL2A"},l$={...oT,middleName:null,address:{postalCode:"1500",houseNumber:"1"},phone:"0482455642"};function u$(e){try{const t=document.querySelector(`input[data-testid="${e}"]`);if(!t)throw new Error(`No element found for key: ${e}`);t.checked=!0,t.dispatchEvent(new Event("change"))}catch(t){console.warn(`[TAPP Inspector] ${t}`)}}function tv(e,t){try{const n=document.querySelector(`input[data-testid="${e}"]`);if(!t)throw new Error(`No value for element ${e}`);if(!n)throw new Error(`No element found for key: ${e} with value: ${t}`);n.value=t,n.dispatchEvent(new Event("input")),n.dispatchEvent(new Event("blur"))}catch(n){console.warn(`[TAPP Inspector] ${n}`)}}function c$(){const e=window.location.host.endsWith("be"),{address:t,...n}=e?l$:oT;Object.entries(t).forEach(([r,o])=>tv(r,o)),Object.entries(n).forEach(([r,o])=>tv(r,o)),["newsletter","terms","18_years_old"].forEach(r=>{u$(r)})}const f$=bo(()=>ie(()=>import("./Ciuk2Iyk.js"),__vite__mapDeps([86,5,6,87]),import.meta.url).then(e=>e.default||e)),d$=Ce({__name:"InspectorBase.client",setup(e){const t=Lc("inspector-enabled",{default:()=>!1});return F2(({ctrlKey:n,key:r,shiftKey:o})=>{n&&o&&r==="I"&&(t.value=!t.value),n&&o&&r==="F"&&c$()}),(n,r)=>{const o=f$;return W(t)?(me(),Ge(o,{key:0})):rn("",!0)}}}),p$=Object.assign(d$,{__name:"InspectorBase"}),h$=Ce({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>dt(Uo[e.name],e.layoutProps,t.slots)}}),g$={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},iT=Ce({name:"NuxtLayout",inheritAttrs:!1,props:g$,setup(e,t){const n=Be(),r=jt(Ri),i=!r||r===Rn()?Mb():r,s=ne(()=>{let c=W(e.name)??(i==null?void 0:i.meta.layout)??"default";return c&&!(c in Uo)&&e.fallback&&(c=W(e.fallback)),c}),a=An();t.expose({layoutRef:a});const l=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",l);Vt().beforeEach(c)}let u;return()=>{const c=s.value&&s.value in Uo,f=(i==null?void 0:i.meta.layoutTransition)??qR,d=u;return u=s.value,Fb(c&&f,{default:()=>dt(Sc,{suspensible:!0,onResolve:()=>{Yt(l)}},{default:()=>dt(m$,{layoutProps:kt(t.attrs,{ref:a}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,isRenderingNewLayout:p=>p!==d&&p===s.value,hasTransition:!!f},t.slots)})}).default()}}}),m$=Ce({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&Gr(hb,{isCurrent:i=>n===(i.meta.layout??"default")});const r=jt(Ri);if(r&&r===Rn()){const i=Mb(),s={};for(const a in i){const l=a;Object.defineProperty(s,l,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?i[l]:r[l]})}Gr(Ri,Er(s))}return()=>{var i,s;return!n||typeof n=="string"&&!(n in Uo)?(s=(i=t.slots).default)==null?void 0:s.call(i):dt(h$,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}});function y$(){const e=bC(),{isSsoEnabled:t,loadSsoScriptDeferred:n}=e.public.pip;t&&vb({script:[{id:"ssoscript",src:"https://login-static.dpgmedia.net/ssosession/main.js",async:!0,defer:n}]})}function nv(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>n!==void 0))}function _$(e){return/bot|crawl|spider|google|bing|yahoo|yandex|baidu|duckduckgo|facebookexternalhit|twitterbot|linkedinbot|slackbot|telegrambot|applebot|pingdom|tumblr|slurp|archiver|archive|curl|python|java|wget|ruby|scrapy|nutch|selenium|phantomjs|headlesschrome|pinterest|instagram|whatsapp|skypeuripreview|outbrain|adidxbot|alexabot|findlinks|msnbot|mj12bot|ahrefsbot|semrushbot|dotbot|exabot|gigabot|qwantify|sogou|exalead|ia_archiver|ltx71|mail\.ru|viber|wordpress|panscient|applebot|twitterbot|discordbot|slackbot|telegrambot|pinterestbot|showyoubot|addthis|feedfetcher|kaspersky|bitlybot|flipboard|tencent|baiduspider|blexbot|zoominfo|mp3bot|grabber|sistrix|serpstatbot|finbot|brandsmonitor|serpstatbot|lipperhey|ccbot|admantx|ahoy|dataminr|ubermetrics|spyonweb|ranksonic|acoonbot|linkdex|startmebot|deusu|privacyawarebot|genieo|msrbot|niki-bot|cloudflare|archive\.org_bot|megaindex|semrush|petalbot|aspiegelbot|avira|safedns|safebrowsing|virustotal|sucuri|unshorten|urlresolver|validator|voyager|w3c_validator|yacy|yandeximages|yeti|yisouspider|zumbot|zyborg|applebot|googlebot-image|googlebot-news|googlebot-video|adsbot-google|api[\w-]+|[\w-]*[sS]craper/i.test(e??"")}function v$(){const e=Dt(),t=e.public.GTM||"GTM-W9WWJW",n=e.public.STAGE==="production",r=Rn(),o=`${e.app.baseURL==="/"?"":e.app.baseURL}`,i=r.query.forceGtm==="true"||r.query.gtm==="true",s=r.query.gtm==="false"||Cc();if(!n&&!i||s||_$(void 0??"")&&!i)return;ln(()=>{a()});function a(){if(document.getElementById("gtm-init"))return;const l=document.createElement("script");l.id="gtm-init",l.async=!0,l.defer=!0,l.innerHTML=` (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '${o}/misc/ptm?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','${t}'); `,document.head.appendChild(l);const u=document.createElement("noscript");u.innerHTML=``,document.body.appendChild(u)}}function OB(e,t){if(!e.includes("TUTOYEREN"))return e;const n=e.match(/(\{%.*?%\})+/g),r=e.match(t?/(ATTR_T.*?%)+/g:/(ATTR_F.*?%)+/g);return!n||!r||n.forEach((o,i)=>{const s=r[i].replace(t?/ATTR_T|=|%/g:/ATTR_F|=|%/g,"").trim();e=e.replace(o,s)}),e}function b$(e){return e?new Date(e).toLocaleDateString("nl-NL",{year:"numeric",month:"long",day:"numeric"}):""}function E$(e){return e&&e.charAt(0).toUpperCase()+e.slice(1)}function xB(e=""){const t=/<\/?(div|p|blockquote|pre|table|h[1-6]|ul|ol|li|dl|dt|dd|figure|figcaption|form|fieldset|section|article|aside|header|footer|nav|main|figure|figcaption|hr)[^>]*>/g;return e.replace(t,"")}function T$(){const e=ks(),t=ct("userSubscriptions",()=>[]),n=ct("currentSubscription"),r=ct("cancellationFeedback"),o=ne(()=>{var D;return(D=n.value)==null?void 0:D.customer}),i=ne(()=>{var D,M;return(M=(D=n.value)==null?void 0:D.prices)==null?void 0:M.find(j=>j.default)}),s=ne(()=>{var D,M,j,B,H,le;return(D=n.value)!=null&&D.subscription?((M=n.value)==null?void 0:M.subscription.processingState)||((j=n.value)==null?void 0:j.subscription.isTerminated)||((B=n.value)==null?void 0:B.subscription.isDunning)||!((H=n.value)!=null&&H.subscription.isCancellable)||!((le=n.value)!=null&&le.subscription.isModifiable):!1});function a(D){t.value=D}function l(D){n.value=D}function u(D,M){const j=M.subscription[D];return b$(j||void 0)}const c=ne(()=>n.value?u("effectiveModifyDate",n.value):void 0),f=ne(()=>n.value?u("effectiveCancelDate",n.value):void 0),d=ne(()=>{var D,M;return((M=(D=n.value)==null?void 0:D.subscription)==null?void 0:M.propositionType)||""}),p=ne(()=>{var D,M,j,B;return!!((M=(D=n.value)==null?void 0:D.customer.address)!=null&&M.houseNumber)&&!!((B=(j=n.value)==null?void 0:j.customer.address)!=null&&B.zipCode)}),g=ne(()=>{var D;return(D=n.value)==null?void 0:D.subscription.isModifiable}),h=ne(()=>{var D;return(D=n.value)==null?void 0:D.subscription.isCancellable}),_=ne(()=>{var M;const D=((M=n.value)==null?void 0:M.subscription.propositionType)||"";return!!["ARIBR"].includes(D)}),m=ne(()=>!(!n.value||!g.value||_.value)),E=ne(()=>!(!n.value||!g.value||["FLOW","TINA"].includes(n.value.subscription.propositionType||""))),y=ne(()=>{var D,M;return["PAK12"].includes(((D=n.value)==null?void 0:D.subscription.propositionType)||"")||((M=n.value)==null?void 0:M.subscription.isDigital)||!1});async function v({subscriptionNumber:D,lastIbanDigits:M,brandCode:j,zipCode:B}){const H=Pd(),{abonId:le,iban4:Te,zipcode:De,title:pe}=nv({abonId:D,iban4:M,zipcode:B,title:j}),ge=await K8({title:pe,subscriptionId:le,iban4:Te,zipcode:De},{headers:H});return a([ge]),l(ge),ge}async function T(){const{title:D}=nv({title:e.value});if(!D||typeof D!="string")throw new Error("Brand code is required");const M=Pd(),j=await W8({title:D},{headers:M});return j.status==="fulfilled"&&(a(j.active),j.active.length>0&&l(j.active[0])),j.status}async function S(D){let M=0,j=0;for(;MsetTimeout(H,j)))}throw new Error("Polling exceeded maximum attempts without reaching fulfilled status")}async function I({reasonCode:D,reason:M,reasonSlug:j,email:B,endDate:H}){var pe,ge;if(!((pe=n.value)!=null&&pe.subscription))throw new Error("No subscription to cancel");const le=e.value,Te=n.value.subscription.subsId,De=(ge=n.value)==null?void 0:ge.subscription.idEncrypted;await q8({reasonCode:D,reason:M,endDate:H,subscriptionIdEncrypted:De,title:le,subsId:Te,email:B,reasonSlug:j})}return{cancelDate:f,cancellationFeedback:r,currentProductCode:d,currentSubscription:n,defaultPrice:i,isDiscountExtendable:m,isLegacyAndNotDiscountExtendable:_,isSwitchable:E,isModifiable:g,isCancellable:h,isDigital:y,customer:o,modifyDate:c,showSubscriptionCallOuts:s,userHasAddress:p,userSubscriptions:t,cancelUserSubscription:I,fetchAccountSubscriptions:T,pollFetchAccountSubscriptions:S,fetchMagazineSubscription:v,setCurrentSubscription:l}}function w$(e,t){const n={};return e.forEach(r=>{var l;const o=`${r.brandId}-${r.formula.code}`,i=r.discount.percentage??0,s=((l=n[o])==null?void 0:l.discount.percentage)??0,a=r.includes.brand.code===t;(a&&!n[o]||s{var s;const r=n.brandId,o=n.discount.differencePerYear??0,i=((s=t[r])==null?void 0:s.discount.differencePerYear)??0;(!t[r]||o>i)&&(t[r]=n)}),Object.values(t)}function S$(e){const t={};return e.forEach(n=>{var s;const r=n.includes.product.uuid,o=n.discount.percentage??0,i=((s=t[r])==null?void 0:s.discount.percentage)??0;(!t[r]||i{var s;const r=`${n.brandId}-${n.productUuid}-${n.formula.code}`,o=n.discount.percentage??0,i=((s=t[r])==null?void 0:s.discount.percentage)??0;(!t[r]||it.includes.product.categories).filter((t,n,r)=>r.findIndex(o=>t.uuid===o.uuid)===n):[]}const Qf="fallback";function R$(){const{$logger:e}=Be(),t=ct("brandCode",()=>""),n=ct("selectedPropositionUuid"),r=ct("propositionGroup",()=>Qf),o=ct("propositions",()=>({})),i=ct("propositionsMap",()=>new Map),s=ct("brandsMap",()=>new Map),a=ct("brandsMapByCode",()=>new Map),l=ct("productsMap",()=>new Map);function u(re,ve){const tt=ve||Qf,{data:Ae,meta:Ke}=re;if(!Ae||!Ke)return;const He=s.value,it=a.value,qe=l.value,ot=i.value;Ae.brands.forEach(se=>{He.set(se.id,se),it.set(se.code,se)}),Ae.products.forEach(se=>{se.uuid&&qe.set(se.uuid,se)});const J=Ae.propositions.reduce((se,ae)=>{if(!ae.productUuid)return se;const _e=He.get(ae.brandId),We=qe.get(ae.productUuid),ze=c({proposition:ae,brand:_e,product:We,meta:Ke});return ze&&(ot.set(ae.uuid,ze),se.push(ze)),se},[]);o.value[tt]=J}function c({proposition:re,brand:ve,product:tt,meta:Ae}){return!ve||!tt?null:{...re,includes:{brand:ve,product:tt},meta:Ae}}async function f({brandCodes:re,productCodes:ve,formulas:tt,brandSlug:Ae,countryCode:Ke,group:He,mid:it,brandType:qe}={}){const ot=it||ki(),J=He||Qf;if(ot)try{const se=await Y8({brandCodes:re,productCodes:ve,brandType:qe,brandSlug:Ae,countryCode:Ke,formulas:tt},{headers:{"X-Mid-Token":ot}});return se?(u(se,J),se):void 0}catch(se){e.log({title:"Error fetching catalogData [useCatalog]",error:se,metadata:{params:{brandCode:t.value,brandCodes:re,productCodes:ve,formulas:tt,brandSlug:Ae,countryCode:Ke,group:He,mid:it,brandType:qe,midToken:ot,propGroup:J}}})}}function d(re,ve,tt){return re.filter(Ae=>{var Ke;return((Ke=Ae.productCode)==null?void 0:Ke.toLocaleLowerCase())===ve.toLocaleLowerCase()&&Ae.brandCode===tt})}const p=ne(()=>o.value[r.value]),g=ne(()=>Array.from(i.value.values())),h=ne(()=>i.value.get(n.value)),_=ne(()=>w$(p.value,t.value)),m=ne(()=>A$(p.value)),E=ne(()=>S$(p.value)),y=ne(()=>{var re,ve;return h.value?d(p.value,(re=h.value)==null?void 0:re.productCode,(ve=h.value)==null?void 0:ve.includes.brand.code):[]}),v=ne(()=>a.value.get(t.value)),T=ne(()=>{var re;return(re=v.value)==null?void 0:re.type}),S=ne(()=>{var re;return(re=v.value)==null?void 0:re.domain}),I=ne(()=>{var re;return(re=v.value)==null?void 0:re.name}),D=ne(()=>{var re;return((re=v.value)==null?void 0:re.formal)===!0}),M=ne(()=>{var re;return((re=v.value)==null?void 0:re.country)==="be"}),j=ne(()=>M.value&&D.value?"be-formal":M.value?"be":D.value?"nl-formal":"nl"),B=ne(()=>T.value==="magazine"),H=ne(()=>Array.from(s.value.values())),le=ne(()=>{if(!h.value)return"";const re=h.value.formula.label||h.value.formula.code;let ve="";return h.value.includes.brand.type==="paper"&&(ve=h.value.includes.brand.name.default+" "),ve+re});function Te(){n.value=""}function De(re){n.value=re}function pe(re){r.value=re}const ge=ne(()=>[...new Set(p.value.map(({premiumCode:re})=>re).filter(re=>re!==null))]);return{fetchCatalog:f,brands:H,brand:v,brandCode:t,brandDomain:S,brandIsBelgium:M,brandIsFormal:D,brandIsMagazine:B,brandName:I,brandType:T,brandLocale:j,allCatalogPropositions:g,catalogPropositions:p,catalogPropositionsByFormula:_,catalogPropositionsBySelectedProduct:y,getPropositionsByProductCode:d,catalogPropositionsByProductCode:m,catalogPropositionsByProduct:E,propositionsMap:i,productsMap:l,propositions:o,propositionGroup:r,setCatalogData:u,selectedProposition:h,selectedPropositionUuid:n,selectedPropositionLabel:le,setSelectedPropositionUuid:De,resetSelectedPropositionUuid:Te,setPropositionGroup:pe,availablePremiums:ge}}function I$(){var i;const{brand:e}=R$(),t=ct("isAccessibilityPolicyModalOpen");function n(){t.value=!0}const r=((i=e.value)==null?void 0:i.country)==="be"?"https://privacy.dpgmedia.be/nl/document/ABONNEMENTSVOORWAARDEN-ALGEMEEN-DPGMEDIA-BE":"https://privacy.dpgmedia.nl/nl/document/ABONNEMENTSVOORWAARDEN-ALGEMEEN-DPGMEDIA-NL";return{items:ne(()=>{const s=[];return s.push({tag:"NuxtLink",label:"Privacy Statement",to:"https://privacy.dpgmedia.nl/nl/document/privacy-policy",target:"_blank"},{tag:"NuxtLink",label:"Abonnementsvoorwaarden",to:r,target:"_blank"},{tag:"button",label:"Privacy instellingen",onClick:()=>{var a;return(a=window._privacy)==null?void 0:a.openModal()}},{tag:"button",onClick:n,label:"Toegankelijkheid"}),s}).value}}const O$=async(e,t)=>{var l;const n=typeof e=="string"?e:e.url,r=typeof e=="string"?(t==null?void 0:t.method)||"get":e.method,o=typeof e=="string"?t==null?void 0:t.body:e.data,i=ct("activeMid",()=>""),s=((l=t==null?void 0:t.headers)==null?void 0:l["X-Mid-Token"])??i.value,a=Vt();return s0(n,{deep:!1,...o?{body:Ua(o,{deep:!0})}:{},...typeof e!="string"&&(e==null?void 0:e.params)&&{params:Ua(e==null?void 0:e.params,{exclude:["includes[]"]})},method:r,transform:u=>V2(u,{deep:!0}),getCachedData(u,c,{cause:f}){return f==="refresh:hook"||(r==null?void 0:r.toUpperCase())!=="GET"&&!n.includes("template-assets")?null:c.payload.data[u]||null},...t,headers:{"X-Mid-Token":s,"X-Client-Path":a.currentRoute.value.path,...t==null?void 0:t.headers}},"$9u3m_v97Wk")},x$=()=>ct("contentMap",()=>new Map);async function C$(e){function t(){const i=e.templates.map(s=>{const a=Object.entries(s.tags||[]).map(([u,c])=>`${u}-${c==null?void 0:c.toString()}`).join("-");return`${s.template_id.substring(0,2)}-${a}`}).join("-");return`${e.title}-dam-${i}`}const n=ki(),r=x$(),o=[];for(const i of e.templates){const s=Ua({title:e.title,...i}),a={"X-Mid-Token":n};async function l(){try{const u=await $fetch("/front-office/v1/template-assets",{method:"POST",body:s,headers:a});r.value.set(i.template_id,u.data)}catch(u){console.error("error",u)}}o.push(l())}await r0(t(),()=>Promise.all(o),"$r2NGbtsbe4")}const rv={seoMetas:"d7e361b3-3e7e-41d6-848a-3eebd9931b7e",checkoutUsps:"cd3a8649-edc4-478a-9186-a8569d988535",highlightUsp:"617141f4-918a-4cb9-a0d4-f4ff083849ab",retentionLandingHeader:"df3bfb2c-c26b-4c57-be61-f5ff6b8b2c6f",retentionLandingCall:"9bf41094-427e-49af-87b5-f940d87f8485",usps:"6c596889-0b39-4269-832d-09cbfba1ac22",premium:"fe951717-5ff8-416a-bdf0-bd84b0f2794e",retentionLandingCallBack:"47673578-3414-4955-a09a-ef19e97a0131",retentionLandingDifferentOptions:"afb63872-fcbe-43c0-aaea-ec66484d2fa9",faqs:"3adf7bbd-ee3d-43ef-af89-348e8ef010fc",homeNewSwimlaneKiosk:"c6013ec6-b04a-47d5-8308-bb40d5ae79ee",homeNewSwimlaneKioskBelgium:"7e25df22-5aee-494b-9734-8475893e5351",kioskFaqsBelgium:"a0fbdd52-6cf0-4eaa-a6b9-91d437f3d6df",kioskSEOContent:"5949fd76-5b65-4e46-930a-549e09e66077",kioskHomeBanners:"ad041a5f-12d3-4960-8107-10ccf0389071",kioskHomeBannersBelgium:"9156efd5-9217-4906-81b6-92b020c73b26",kioskHomeSwimlanes:"47278760-33f3-4176-80f3-02b71e3ee18f",kioskHomeSwimlanesBelgium:"accee182-43f1-401f-a35e-be93b472a234",kioskHeaderContent:"5b4e7543-5c99-4df9-bc78-cee28912d98b",kioskHeaderContentBelgium:"522e0e2e-16f4-430e-8886-1773ef1e24e3",kioskHeroBannerContent:"8cbbcf93-8df9-4bf1-85de-403371fcbc8e",kioskHeroBannerContentBelgium:"55a684af-880e-454d-9488-d6d1b6cd327d",kioskMessageBarContent:"d72cd81a-43aa-4bb9-98dc-47e373b0bec9",kioskProductEditorial:"b954aee3-b078-46e0-8615-b73da6bb8502",homePageMagazineInformation:"b78b0a65-8716-4c19-9234-ba8f1f7a4338",kioskAboutContent:"a5129c16-39fd-41f4-98e6-77a74423a51c",kioskPremiumInfo:"fe951717-5ff8-416a-bdf0-bd84b0f2794e",kioskSovendusContent:"3b9cf16d-ee02-4b7d-8e4d-b4d5af804a32",kioskCampaignContent:"8e595b9a-5d38-44cf-aeef-c742dcc542cc",shopsConfirmationPageCta:"56dc4b72-3fc5-449c-b9fc-6a4561b2ea1d",shopsCrossSellThanks:"fd6a501a-0799-4af0-8d12-9b54250f6948",shopsConfirmationPage:"22bf576c-9f7d-42f7-9b65-26d8fcc8824c",shopsUpsellCard:"9c542038-0abb-42b5-828c-d6f283ce779b",shopsProductWindow:"f3401362-bc2b-4512-b4d0-a7b74931150b",thisWeek:"6e02d498-b3e0-42f3-8f12-620f0b27a9b4",shopsMobileSliderItems:"26cb66c9-8539-4c7a-8062-2873f130589a",shopsMobileSlider:"5a12a28a-2eca-4f9b-bcd6-19bf924369bc",shopsDigitalSection:"37444cbb-4b04-4f7e-82b4-4320d7c26421",shopsPaperSection:"aa295820-c24d-4e61-b3cf-66c35e09cbfb",shopsAboutPaper:"21cb1dca-5a40-46a5-8154-4b870af5c059",shopsBusiness:"1d963e66-9bc7-4a89-b87f-4254ab06ce2c",shopsSeoPage:"9ce7216b-e302-46ab-9771-02f2a8ee531f",productDescription:"0d3d3f65-e34f-4d8d-bd96-ae096a479925",productExplanation:"05dbe3c1-9e8e-4e8f-aa42-de77f71495c8",shopsHeader:"53898de6-6594-4238-82e0-1dc7a1916e10",shopsGiftGreeting:"8f90e32e-2944-4f6b-8cb5-304d7e66be47",shopsHeaderUsps:"bdfb3035-f1f3-439c-b563-00134193513c",shopsHeaderAccountItems:"31215d2b-793e-4769-88c4-fdf70b25d8c7",shopsConfirmationNews:"5ef1bf36-6780-478a-8f7d-254bc416b78d",shopsMagazineSeo:"e327f5b9-66c7-442f-bdb4-f3cfd817c661",shopsConfirmationMoreAboutIt:"c3e894d6-a321-47a9-a24a-ac937021a6f2",shopsSeoLanding:"e327f5b9-66c7-442f-bdb4-f3cfd817c661",afmeldenHome:"88f8b5b1-cdf3-4fe7-a617-46366e895bb5",afmeldenSuccess:"1453fe60-5679-45ca-891a-c2d9d1950a19",afmeldenStay:"0baf7e44-2566-48eb-a985-949c62009587",afmeldenError:"4283dc08-07f2-4db2-97ee-b166c56c5e4d",shopsCheckoutCampaignTooltip:"4cd584a4-2e74-43fc-b52d-12697406187a"},N$=(e,t)=>{if(!e.length)return;const n=e.map(r=>{const o=Object.entries(r.tags||[]).map(([i,s])=>`${i}-${s==null?void 0:s.toString()}`).join("-");return`${r.template_id}-${o}`}).join("-");return`${t}-dam-${n}`},L$=()=>ct("contentMap",()=>new Map);async function k$(e,t){const n=ki(),r=L$();if(t!=null&&t.parallel)return await C$(e);const{data:o}=await O$({url:"/front-office/v2/template-assets",method:"post"},{body:e,key:N$(e.templates,e.title),transform:void 0,lazy:!1,headers:{"X-Mid-Token":n},...t});o.value&&Object.entries(o.value.data).forEach(([i,s])=>{const a=s.map(l=>({...l,content:l.content}));r.value.set(i,a)})}async function P$(){const{brandCode:e}=Zr(),{flowType:t}=ul(),n=e.value,r=t,o={title:n,templates:[{template_id:rv.faqs,sort:{mode:"sortOrderTag",direction:"asc"},tags:{slug:r}},{template_id:rv.usps,filters:["touch_point_content"],tags:{slug:r}}]};await k$(o)}const D$=(e,t,n={})=>{var r;const o=!(typeof window>"u")&&typeof window.storyblokRegisterEvent<"u",i=new URL((r=window.location)==null?void 0:r.href).searchParams.get("_storyblok"),s=i!==null&&+i===e;if(!(!o||!s)){if(!e){console.warn("Story ID is not defined. Please provide a valid ID.");return}window.storyblokRegisterEvent(()=>{new window.StoryblokBridge(n).on(["input","published","change"],a=>{var l;a&&(a.action==="input"&&((l=a.story)==null?void 0:l.id)===e?t(a.story):(a.action==="change"||a.action==="published")&&a.storyId===e&&window.location.reload())})})}},M$=/%[A-Z][A-Z0-9_]{3,}%/;async function F$({path:e,params:t,locale:n,metaData:r},o={}){const i=Rn(),s=`/front-office/v3/storyblok/cdn/get/stories${e||"/"+i.query.url}`,a=gC(),l=s0(s,{method:"POST",body:{meta:r},params:hC(t,n),headers:{...a&&{"X-Storyblok-No-Cache":"true"}},getCachedData(d,p,{cause:g}){return g==="refresh:hook"?null:p.payload.data[d]||null},key:o.key||`storyblok-${s}-${JSON.stringify(r)}`,...o},"$1GRqE5cICe");if(!mC())return l;const u=await l,c=u.data.value,f=Fe(c||void 0);return c&&D$(c.data.story.id,async function(p){const g=JSON.stringify(p),h=M$.test(g);let _=p;if(h){const m=await z8({input:g,...r});_=JSON.parse(m.output)}f.value={headers:c.headers,data:{...c.data,story:_}}},{resolveRelations:t==null?void 0:t.resolve_relations}),{...u,data:ne(()=>f.value||c)}}function U$({domain:e,siteName:t,siteDescription:n,pageName:r}){return{"@context":"https://schema.org","@graph":[{"@id":`${e}/#website`,"@type":"WebSite",description:n,inLanguage:"nl",name:t,url:`${e}/`},{"@id":`${e}/#webpage`,"@type":"WebPage",description:n,name:r,url:`${e}`,isPartOf:{"@id":`${e}/#website`},potentialAction:[{"@type":"ReadAction",target:[`${e}`]}]}]}}function j$({siteDescription:e,siteName:t,pageName:n,domain:r,image:o,title:i,description:s,path:a}){const l=[{name:"description",content:()=>s,tagPriority:-10},{property:"og:url",content:()=>r,tagPriority:-10},{property:"og:site_name",content:()=>t,tagPriority:-10},{property:"og:type",content:()=>"website",tagPriority:-10},{property:"og:title",content:()=>i,tagPriority:-10},{property:"og:description",content:()=>s,tagPriority:-10},{property:"og:locale",content:()=>"nl_NL",tagPriority:-10}];l.push({property:"og:image",content:()=>o,tagPriority:-10}),vb({title:{textContent:()=>i,tagPriority:-10},link:[{rel:"canonical",href:`${r}${a}`,tagPriority:-10}],script:[{type:"application/ld+json",innerHTML:JSON.stringify(U$({domain:r,siteName:t,siteDescription:e,pageName:n}))}],meta:l})}async function V$({pageName:e}={}){var d,p;const{$logger:t}=Be(),{brand:n,brandCode:r}=Zr(),{flowType:o}=ul();if(!n.value){t.log({title:"Retention SEO",message:"Brand not found"});return}const{locale:i}=Pi(),s=Zo(),l=`https://${s.hostname}`,u=`${n.value.name.default}`,c=`/retention/${o}/index/${n.value.type}`,{data:f}=await F$({locale:i.value,path:c,metaData:{title:r.value}},{key:"ret-login-page"});j$({title:((d=f.value)==null?void 0:d.data.story.content.seo_meta[0].title)||r.value,description:((p=f.value)==null?void 0:p.data.story.content.seo_meta[0].metaDescription)||"",siteDescription:`Online kunt u 24/7 gemakkelijk uw abonnement op ${n.value.name.withArticle} opzeggen of wijzigen.`,siteName:u,pageName:e??u,domain:l??"",image:"TEST",path:s.pathname})}const $$=hN(p$),B$={class:"app-footer"},H$=Ce({__name:"app",async setup(e){let t,n;ki(),y$(),v$();const{setLocale:r}=Pi();T$();const o=Rn(),{fetchCurrentBrand:i,brandCode:s,brandLocale:a,brandType:l}=Zr();Hc(),$2();const{fetchPhoneNumber:u}=ll();Dh();const{setBusinessHour:c}=K2();ul();const f=I$(),{variation:d}=q2({experimentKey:"remove_owf",featureKey:"remove_owf",attributes:{title:s.value.toUpperCase()}});[t,n]=ls(()=>Promise.all([u(),P$(),c("retention",s.value)])),await t,n(),[t,n]=ls(()=>r(a.value||"nl")),await t,n(),[t,n]=ls(()=>V$()),await t,n();const{initSso:p,userinfo:g}=Mh();return ln(()=>{var h;p({country:"nl",loggedInEmail:((h=g.value)==null?void 0:h.email)||"",type:l.value})}),(h,_)=>{const m=W6,E=X6,y=zc,v=pV,T=a$,S=$$,I=iT;return me(),Ge(I,{name:"branded","background-levels":"",style:Xo(W(o).path==="/"&&{backgroundColor:"var(--colors-white)"})},{top:Ve(()=>[xe(m)]),footer:Ve(()=>[Et("div",B$,[xe(v,Vo(zo(W(f))),null,16),xe(T)])]),default:Ve(()=>[xe(y,null,{default:Ve(()=>[xe(E)]),_:1}),xe(S)]),_:1},8,["style"])}}}),z$={},G$={class:"w-full h-auto",viewBox:"0 0 255 211",version:"1.1",xmlns:"http://www.w3.org/2000/svg"};function K$(e,t){return me(),mt("svg",G$,t[0]||(t[0]=[Wp('',1)]))}const q$=Object.assign(hn(z$,[["render",K$],["__scopeId","data-v-c2723994"]]),{__name:"AppLoader"}),W$={class:"app-system-page"},Y$={key:0},X$={key:2,class:"app-system-page__description"},J$={class:"app-system-page__buttons"},Q$={class:"app-system-page__faqs"},Z$=Ce({__name:"AppSystemPage",props:{title:{},description:{},showLoader:{type:Boolean}},setup(e){return(t,n)=>{const r=q$;return me(),mt("div",W$,[t.title?(me(),mt("h2",Y$,rr(t.title),1)):rn("",!0),t.showLoader?(me(),Ge(r,{key:1,class:"app-system-page__loader","data-test-id":"dpg-loader"})):rn("",!0),t.description?(me(),mt("p",X$,rr(t.description),1)):rn("",!0),pt(t.$slots,"default",{},void 0,!0),Et("div",J$,[pt(t.$slots,"buttons",{},void 0,!0)]),Et("div",Q$,[pt(t.$slots,"faqs",{},void 0,!0)])])}}}),eB=Object.assign(hn(Z$,[["__scopeId","data-v-5ced5cf9"]]),{__name:"AppSystemPage"});function tB(e){return!Array.isArray(window.dataLayer)&&typeof window.dataLayer>"u"&&(window.dataLayer=[]),window.dataLayer.push(e)}function nB({appId:e,brandShort:t,campaign:n,mid:r,pageType:o,siteCountry:i,siteType:s,stepDescription:a,stepNumber:l,title:u,version:c,virtualPageTitle:f,virtualPageUrl:d,accountId:p}){const g=Dt();tB({event:"screen_info",user:{account_id:p},page:{app_id:e||g.public.SNOWPLOW_APP_ID,brand_short:t||"Krant",campaign:n||"abonnementen",mid:r||ki(),page_type:o||"abonnementen",site_type:s||"Dagblad",step_description:a,step_number:l},brand:{viewed_title:u,language:`${i||"NL"}-nl`},web_version:c||g.public.VERSION,content:{virtual_page_title:f,virtual_page_view:d}})}function rB({trackOnMounted:e=!0}={}){const t=ks(),n=Rn(),{flowType:r}=ul();function o(){let s="";const{location:a}=window,l="/abonnementen",u=`/${t.value}`;return s=a.pathname.toLowerCase(),s.includes(l+l)&&(s=s.replace(l,"")),s.includes(u)&&(s=s.replace(u,"")),s}function i({routeName:s,flowType:a}){const l=s.replace(/^opzeggen-titel-?/g,"").replace(/^wijzigen-titel-?/g,"")||"landing",u=l.replace(/-/g," "),c=E$(a),f=`${a}-${l}-pagina`,d=t.value,p=`${c} ${u} pagina`;return{stepDescription:f,title:d,virtualPageTitle:p}}return e&&ln(()=>{if(!n.name||typeof n.name!="string")return;const{stepDescription:s,title:a,virtualPageTitle:l}=i({routeName:n.name,flowType:r});nB({stepDescription:s,title:a,virtualPageTitle:l,virtualPageUrl:o()})}),{getPageViewConfig:i}}const oB=Ce({__name:"error",async setup(e){var d;let t,n;const r=Qa(),o=Zr(),{isAuth:i,logout:s}=Hc(),{phoneNumber:a,fetchPhoneNumber:l}=ll(),{$logger:u}=Be();rB(),((d=r==null?void 0:r.value)==null?void 0:d.statusCode)===404||u.log({title:"Application Error",error:r.value||r});try{[t,n]=ls(()=>l()),await t,n()}catch(p){u.log({title:"Error fetching phone number on 404 page",error:p})}return(p,g)=>{const h=P2,_=eB,m=iT;return me(),Ge(m,{brand:W(o),name:"error-layout","show-login":"","is-auth":W(i),onLogout:W(s)},{default:Ve(()=>[xe(_,{title:p.$t("pages.error.title"),description:p.$t("pages.error.description")},{buttons:Ve(()=>[xe(h,{tag:"a","data-testid":"call-us-button",href:"/abonnee",text:"Abonnement beheren","data-analytics-category":"element_tracking","data-analytics-action":"button_click","data-analytics-label":"Abonnement beheren","full-width-mobile":"",size:"large"}),W(a)?(me(),Ge(h,{key:0,tag:"a","data-testid":"call-us-button",href:`tel:${W(a)}`,text:p.$t("labels.callPhoneNumber",[W(a)]),"data-analytics-category":"element_tracking","data-analytics-action":"button_click","data-analytics-label":"404 Pagina - bel ons","full-width-mobile":"",size:"large"},null,8,["href","text"])):rn("",!0)]),_:1},8,["title","description"])]),_:1},8,["brand","is-auth","onLogout"])}}}),iB={key:0},ov={__name:"nuxt-root",setup(e){const t=()=>null,n=Be(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);Vt().beforeEach(u)}const o=!1;Gr(Ri,Rn()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const i=Qa(),s=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b|googlebot/i;Up((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,f).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(mb(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>hi(u)),!1});const l=!1;return(u,c)=>(me(),Ge(Sc,{onResolve:W(r)},{default:Ve(()=>[W(s)?(me(),mt("div",iB)):W(i)?(me(),Ge(W(oB),{key:1,error:W(i)},null,8,["error"])):W(l)?(me(),Ge(W(t),{key:2,context:W(l)},null,8,["context"])):W(o)?(me(),Ge(Ho(W(o)),{key:3})):(me(),Ge(W(H$),{key:4}))]),_:1},8,["onResolve"]))}};let iv;{let e;iv=async function(){var s,a;if(e)return e;const n=!!(((s=window.__NUXT__)==null?void 0:s.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true"),r=n?Qp(ov):Fu(ov),o=tI({vueApp:r});async function i(l){var u;await o.callHook("app:error",l),(u=o.payload).error||(u.error=Go(l))}r.config.errorHandler=i,o.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)}),!n&&Hg.id&&o.hook("app:suspense:resolve",()=>{var l;(l=document.getElementById(Hg.id))==null||l.remove()});try{await oI(o,z4)}catch(l){i(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(QR),await o.hooks.callHook("app:mounted",r),await Yt()}catch(l){i(l)}return r},e=iv().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Ri as $,$2 as A,Vt as B,rn as C,Ct as D,Qr as E,bR as F,ll as G,Zr as H,ul as I,ls as J,rv as K,$p as L,r$ as M,F$ as N,k$ as O,Iu as P,rB as Q,xB as R,cA as S,ln as T,Jo as U,Bc as V,Dt as W,D6 as X,Rn as Y,kc as Z,P2 as _,ks as a,KV as a$,Vo as a0,zo as a1,Y_ as a2,W_ as a3,Dh as a4,Xo as a5,Bp as a6,R$ as a7,Xn as a8,Wf as a9,vb as aA,nB as aB,Mu as aC,P1 as aD,Ec as aE,sS as aF,Ao as aG,X2 as aH,Ja as aI,jo as aJ,_a as aK,d8 as aL,Y2 as aM,ri as aN,VA as aO,TB as aP,Av as aQ,dt as aR,hV as aS,J_ as aT,_r as aU,Zb as aV,bB as aW,qo as aX,_B as aY,Sn as aZ,St as a_,bo as aa,ie as ab,eB as ac,Xv as ad,m1 as ae,$r as af,EB as ag,q2 as ah,It as ai,Uh as aj,E$ as ak,ct as al,Jr as am,wt as an,SB as ao,Yt as ap,Nw as aq,U1 as ar,NB as as,G6 as at,Jp as au,mj as av,Hc as aw,AB as ax,jt as ay,Gr as az,Be as b,VV as b0,So as b1,RV as b2,Ep as b3,J2 as b4,h1 as b5,KS as b6,Q2 as b7,O$ as b8,za as b9,CB as bA,RB as bB,aB as bC,qn as bD,pB as bE,Xw as bF,OB as bG,L2 as bH,O6 as bI,K6 as bJ,E6 as bK,Rj as bL,P6 as bM,pV as bN,Cx as bO,lB as bP,Zo as bQ,wB as bR,c$ as bS,dB as bT,Ua as bU,Ka as ba,gt as bb,Er as bc,Wp as bd,Wb as be,Gx as bf,uC as bg,uB as bh,cB as bi,Lc as bj,An as bk,To as bl,Yr as bm,lw as bn,an as bo,Vh as bp,wS as bq,aS as br,yB as bs,ni as bt,XV as bu,vB as bv,DV as bw,z1 as bx,ki as by,S$ as bz,rC as c,Ce as d,r6 as e,ne as f,lC as g,mt as h,Et as i,xe as j,W as k,Ve as l,hn as m,Do as n,me as o,tB as p,Ge as q,Fe as r,pt as s,rr as t,Mh as u,kt as v,UA as w,Ho as x,T$ as y,Pi as z}; //# sourceMappingURL=BUKpINFH.js.map