PageSourceSearch

https://pagesum.app/_nuxt/CbDURHPL.js

js pagesum.app collected 2026-10-02 01:14:27 UTC 385,536 bytes, 7 lines download raw bytes

vendor: 4,193 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CV5OuZjG.js","./CdxY5w1c.js","./MbIa5qY9.js","./CD30JVJJ.js","./CJHPcpPR.js","./DuKXTCr4.js","./BjFGdN5u.js","./DcY8QcG3.js","./CZCvTyUw.js","./DlAUqK2U.js","./C4avg-LM.js","./CKYyHpnd.js","./Cfyvh9ad.js","./Ch1YiyDf.js","./Toast.DvTsOiOY.css","./85ULdkJh.js","./DVBrl8wb.js","./index.BgjxEdtH.css","./DvFcbJUZ.js","./CLNhErA6.js","./CT5rHHpC.js","./C32WEPAd.js","./CDOc_b5O.js","./CX_WHBYV.js","./Dbq9nSWE.js","./Bh8OGzec.js","./DHNkiqKl.js","./PCo5BoHF.js","./CUTR5fvz.js","./CJLk4-gx.js","./QriznC1T.js","./D9eDbhZJ.js","./SummaryResultView.BRykCr0p.css","./C6IMJoDX.js","./MultiDocChat.ChF4JkGf.css","./DSWrOolA.js","./CjlehR0w.js","./D-MRdWOn.js","./DueY4Dfb.js","./dashboard.DWCZjjbT.css","./BUzTZ61x.js","./C6MqjKnG.js","./BETGhpid.js","./BAIjuTXE.js","./CWkxpuAr.js","./DFUw6XxF.js","./DxvpuaJw.js","./oGa5R_fl.js","./hGC68LGR.js","./CeKMcuy0.js","./BoUpAV3f.js","./B0dWzpp2.js","./YRwMxDuF.js","./DUloDs1x.js","./DIfA3TKp.js","./Dod27ynH.js","./DuBDkkff.js","./DiownyXV.js","./DUCtDj0e.js","./_token_.CvOdRSJu.css","./Bca4tWh8.js","./DPfR9rBa.js","./DEZu5XhB.js","./CHof9Nwx.js","./Op_SJGVz.js","./CuBc20Nm.js","./hRcGixAJ.js","./hPCLWDOB.js","./DAgjslka.js","./CZ9ULn8K.js","./USxrNEWN.js","./CSvMsEFh.js","./Cv7HUQn3.js","./CGJ5zlPk.js","./Dyd5_jl8.js","./BMW6NrSS.js","./Dq3Q2scM.js","./CC-DryGV.js","./BiU734-g.js","./8AtpGMYh.js","./53D8sUaw.js","./Cy8zAEJZ.js","./B7FpBXIt.js","./CNkF3hBv.js","./ProsePre.D5orA6B_.css","./CpDzM1R6.js","./CIcQKhGX.js","./CJgE2DXz.js","./gxN4ZZqO.js","./DlEYCyJI.js","./DEeP-dCQ.js","./j4Aqjj4n.js","./C1kBwg24.js","./BG-bZRDz.js","./DzAn853J.js","./CJV2yCrF.js","./error-404._yXoGkXB.css","./EKFjr-WW.js","./error-500.BENb_mjk.css"])))=>i.map(i=>d[i]);
2(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function Al(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const pe={},Rr=[],ln=()=>{},rd=()=>!1,Zs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ol=e=>e.startsWith("onUpdate:"),He=Object.assign,Il=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Wg=Object.prototype.hasOwnProperty,ye=(e,t)=>Wg.call(e,t),se=Array.isArray,Cr=e=>Xr(e)==="[object Map]",sd=e=>Xr(e)==="[object Set]",Pc=e=>Xr(e)==="[object Date]",qg=e=>Xr(e)==="[object RegExp]",oe=e=>typeof e=="function",Ae=e=>typeof e=="string",Vt=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",Ll=e=>(_e(e)||oe(e))&&oe(e.then)&&oe(e.catch),id=Object.prototype.toString,Xr=e=>id.call(e),Gg=e=>Xr(e).slice(8,-1),od=e=>Xr(e)==="[object Object]",vo=e=>Ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ar=Al(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mo=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Kg=/-\w/g,ct=mo(e=>e.replace(Kg,t=>t.slice(1).toUpperCase())),zg=/\B([A-Z])/g,Cn=mo(e=>e.replace(zg,"-$1").toLowerCase()),yo=mo(e=>e.charAt(0).toUpperCase()+e.slice(1)),jo=mo(e=>e?`on${yo(e)}`:""),ot=(e,t)=>!Object.is(e,t),Ar=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ad=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ml=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ld=e=>{const t=Ae(e)?Number(e):NaN;return isNaN(t)?e:t};let Rc;const bo=()=>Rc||(Rc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wo(e){if(se(e)){const t={};for(let n=0;n<e.length;
vendor: 7,244 bytes, line 2
2n++){const r=e[n],s=Ae(r)?Qg(r):wo(r);if(s)for(const i in s)t[i]=s[i]}return t}else if(Ae(e)||_e(e))return e}const Yg=/;(?![^(]*\))/g,Jg=/:([^]+)/,Xg=/\/\*[^]*?\*\//g;function Qg(e){const t={};return e.replace(Xg,"").split(Yg).forEach(n=>{if(n){const r=n.split(Jg);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Eo(e){let t="";if(Ae(e))t=e;else if(se(e))for(let n=0;n<e.length;n++){const r=Eo(e[n]);r&&(t+=r+" ")}else if(_e(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Zg(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ae(t)&&(e.class=Eo(t)),n&&(e.style=wo(n)),e}const e_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",t_=Al(e_);function cd(e){return!!e||e===""}function n_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Hs(e[r],t[r]);return n}function Hs(e,t){if(e===t)return!0;let n=Pc(e),r=Pc(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Vt(e),r=Vt(t),n||r)return e===t;if(n=se(e),r=se(t),n||r)return n&&r?n_(e,t):!1;if(n=_e(e),r=_e(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!Hs(e[o],t[o]))return!1}}return String(e)===String(t)}const ud=e=>!!(e&&e.__v_isRef===!0),r_=e=>Ae(e)?e:e==null?"":se(e)||_e(e)&&(e.toString===id||!oe(e.toString))?ud(e)?r_(e.value):JSON.stringify(e,fd,2):String(e),fd=(e,t)=>ud(t)?fd(e,t.value):Cr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Uo(r,i)+" =>"]=s,n),{})}:sd(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Uo(n))}:Vt(t)?Uo(t):_e(t)&&!se(t)&&!od(t)?String(t):t,Uo=(e,t="")=>{var n;return Vt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let it;class dd{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=it,!t&&it&&(this.index=(it.scopes||(it.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=it;try{return it=this,t()}finally{it=n}}}on(){++this._on===1&&(this.prevScope=it,it=this)}off(){this._on>0&&--this._on===0&&(it=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function s_(e){return new dd(e)}function To(){return it}function i_(e,t=!1){it&&it.cleanups.push(e)}let ke;const Bo=new WeakSet;class hd{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,it&&it.active&&it.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Bo.has(this)&&(Bo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||gd(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Cc(this),_d(this);const t=ke,n=Ut;ke=this,Ut=!0;try{return this.fn()}finally{vd(this),ke=t,Ut=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)$l(t);this.deps=this.depsTail=void 0,Cc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Bo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ra(this)&&this.run()}get dirty(){return Ra(this)}}let pd=0,Rs,Cs;function gd(e,t=!1){if(e.flags|=8,t){e.next=Cs,Cs=e;return}e.next=Rs,Rs=e}function Nl(){pd++}function Fl(){if(--pd>0)return;if(Cs){let t=Cs;for(Cs=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Rs;){let t=Rs;for(Rs=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 _d(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vd(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),$l(r),o_(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Ra(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(md(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function md(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===js)||(e.globalVersion=js,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ra(e))))return;e.flags|=2;const t=e.dep,n=ke,r=Ut;ke=e,Ut=!0;try{_d(e);const s=e.fn(e._value);(t.version===0||ot(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ke=n,Ut=r,vd(e),e.flags&=-3}}function $l(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)$l(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function o_(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ut=!0;const yd=[];function kn(){yd.push(Ut),Ut=!1}function Pn(){const e=yd.pop();Ut=e===void 0?!0:e}function Cc(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ke;ke=void 0;try{t()}finally{ke=n}}}let js=0;class a_{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 xo{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(!ke||!Ut||ke===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ke)n=this.activeLink=new a_(ke,this),ke.deps?(n.prevDep=ke.depsTail,ke.depsTail.nextDep=n,ke.depsTail=n):ke.deps=ke.depsTail=n,bd(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=ke.depsTail,n.nextDep=void 0,ke.depsTail.nextDep=n,ke.depsTail=n,ke.deps===n&&(ke.deps=r)}return n}trigger(t){this.version++,js++,this.notify(t)}notify(t){Nl();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Fl()}}}function bd(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)bd(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Li=new WeakMap,lr=Symbol(""),Ca=Symbol(""),Us=Symbol("");function at(e,t,n){if(Ut&&ke){let r=Li.get(e);r||Li.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new xo),s.map=r,s.key=n),s.track()}}function yn(e,t,n,r,s,i){const o=Li.get(e);if(!o){js++;return}const a=l=>{l&&l.trigger()};
vendor: 3,913 bytes, line 2
2if(Nl(),t==="clear")o.forEach(a);else{const l=se(e),u=l&&vo(n);if(l&&n==="length"){const c=Number(r);o.forEach((f,h)=>{(h==="length"||h===Us||!Vt(h)&&h>=c)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),u&&a(o.get(Us)),t){case"add":l?u&&a(o.get("length")):(a(o.get(lr)),Cr(e)&&a(o.get(Ca)));break;case"delete":l||(a(o.get(lr)),Cr(e)&&a(o.get(Ca)));break;case"set":Cr(e)&&a(o.get(lr));break}}Fl()}function l_(e,t){const n=Li.get(e);return n&&n.get(t)}function vr(e){const t=he(e);return t===e?t:(at(t,"iterate",Us),Ct(e)?t:t.map(Wt))}function So(e){return at(e=he(e),"iterate",Us),e}function en(e,t){return cn(e)?jr(Bn(e)?Wt(t):t):Wt(t)}const c_={__proto__:null,[Symbol.iterator](){return Vo(this,Symbol.iterator,e=>en(this,e))},concat(...e){return vr(this).concat(...e.map(t=>se(t)?vr(t):t))},entries(){return Vo(this,"entries",e=>(e[1]=en(this,e[1]),e))},every(e,t){return fn(this,"every",e,t,void 0,arguments)},filter(e,t){return fn(this,"filter",e,t,n=>n.map(r=>en(this,r)),arguments)},find(e,t){return fn(this,"find",e,t,n=>en(this,n),arguments)},findIndex(e,t){return fn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return fn(this,"findLast",e,t,n=>en(this,n),arguments)},findLastIndex(e,t){return fn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return fn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Wo(this,"includes",e)},indexOf(...e){return Wo(this,"indexOf",e)},join(e){return vr(this).join(e)},lastIndexOf(...e){return Wo(this,"lastIndexOf",e)},map(e,t){return fn(this,"map",e,t,void 0,arguments)},pop(){return ns(this,"pop")},push(...e){return ns(this,"push",e)},reduce(e,...t){return Ac(this,"reduce",e,t)},reduceRight(e,...t){return Ac(this,"reduceRight",e,t)},shift(){return ns(this,"shift")},some(e,t){return fn(this,"some",e,t,void 0,arguments)},splice(...e){return ns(this,"splice",e)},toReversed(){return vr(this).toReversed()},toSorted(e){return vr(this).toSorted(e)},toSpliced(...e){return vr(this).toSpliced(...e)},unshift(...e){return ns(this,"unshift",e)},values(){return Vo(this,"values",e=>en(this,e))}};function Vo(e,t,n){const r=So(e),s=r[t]();return r!==e&&!Ct(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=n(i.value)),i}),s}const u_=Array.prototype;function fn(e,t,n,r,s,i){const o=So(e),a=o!==e&&!Ct(e),l=o[t];if(l!==u_[t]){const f=l.apply(e,i);return a?Wt(f):f}let u=n;o!==e&&(a?u=function(f,h){return n.call(this,en(e,f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const c=l.call(o,u,r);return a&&s?s(c):c}function Ac(e,t,n,r){const s=So(e),i=s!==e&&!Ct(e);let o=n,a=!1;s!==e&&(i?(a=r.length===0,o=function(u,c,f){return a&&(a=!1,u=en(e,u)),n.call(this,u,en(e,c),f,e)}):n.length>3&&(o=function(u,c,f){return n.call(this,u,c,f,e)}));const l=s[t](o,...r);return a?en(e,l):l}function Wo(e,t,n){const r=he(e);at(r,"iterate",Us);const s=r[t](...n);return(s===-1||s===!1)&&ko(n[0])?(n[0]=he(n[0]),r[t](...n)):s}function ns(e,t,n=[]){kn(),Nl();const r=he(e)[t].apply(e,n);return Fl(),Pn(),r}const f_=Al("__proto__,__v_isRef,__isVue"),wd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vt));function d_(e){Vt(e)||(e=String(e));const t=he(this);return at(t,"has",e),t.hasOwnProperty(e)}class Ed{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?E_:kd:i?Sd:xd).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=se(t);if(!s){let l;if(o&&(l=c_[n]))return l;if(n==="hasOwnProperty")return d_}const a=Reflect.get(t,n,Ne(t)?t:r);if((Vt(n)?wd.has(n):f_(n))||(s||at(t,"get",n),i))return a;if(Ne(a)){const l=o&&vo(n)?a:a.value;return s&&_e(l)?Hr(l):l}return _e(a)?s?Hr(a):zn(a):a}}
vendor: 6,752 bytes, line 2
2class Td extends Ed{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];const o=se(t)&&vo(n);if(!this._isShallow){const u=cn(i);if(!Ct(r)&&!cn(r)&&(i=he(i),r=he(r)),!o&&Ne(i)&&!Ne(r))return u||(i.value=r),!0}const a=o?Number(n)<t.length:ye(t,n),l=Reflect.set(t,n,r,Ne(t)?t:s);return t===he(s)&&(a?ot(r,i)&&yn(t,"set",n,r):yn(t,"add",n,r)),l}deleteProperty(t,n){const r=ye(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&yn(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Vt(n)||!wd.has(n))&&at(t,"has",n),r}ownKeys(t){return at(t,"iterate",se(t)?"length":lr),Reflect.ownKeys(t)}}class h_ extends Ed{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const p_=new Td,g_=new h_,__=new Td(!0);const Aa=e=>e,ai=e=>Reflect.getPrototypeOf(e);function v_(e,t,n){return function(...r){const s=this.__v_raw,i=he(s),o=Cr(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=s[e](...r),c=n?Aa:t?jr:Wt;return!t&&at(i,"iterate",l?Ca:lr),He(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}}})}}function li(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function m_(e,t){const n={get(s){const i=this.__v_raw,o=he(i),a=he(s);e||(ot(s,a)&&at(o,"get",s),at(o,"get",a));const{has:l}=ai(o),u=t?Aa:e?jr:Wt;if(l.call(o,s))return u(i.get(s));if(l.call(o,a))return u(i.get(a));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&at(he(s),"iterate",lr),s.size},has(s){const i=this.__v_raw,o=he(i),a=he(s);return e||(ot(s,a)&&at(o,"has",s),at(o,"has",a)),s===a?i.has(s):i.has(s)||i.has(a)},forEach(s,i){const o=this,a=o.__v_raw,l=he(a),u=t?Aa:e?jr:Wt;return!e&&at(l,"iterate",lr),a.forEach((c,f)=>s.call(i,u(c),u(f),o))}};return He(n,e?{add:li("add"),set:li("set"),delete:li("delete"),clear:li("clear")}:{add(s){const i=he(this),o=ai(i),a=he(s),l=!t&&!Ct(s)&&!cn(s)?a:s;return o.has.call(i,l)||ot(s,l)&&o.has.call(i,s)||ot(a,l)&&o.has.call(i,a)||(i.add(l),yn(i,"add",l,l)),this},set(s,i){!t&&!Ct(i)&&!cn(i)&&(i=he(i));const o=he(this),{has:a,get:l}=ai(o);let u=a.call(o,s);u||(s=he(s),u=a.call(o,s));const c=l.call(o,s);return o.set(s,i),u?ot(i,c)&&yn(o,"set",s,i):yn(o,"add",s,i),this},delete(s){const i=he(this),{has:o,get:a}=ai(i);let l=o.call(i,s);l||(s=he(s),l=o.call(i,s)),a&&a.call(i,s);const u=i.delete(s);return l&&yn(i,"delete",s,void 0),u},clear(){const s=he(this),i=s.size!==0,o=s.clear();return i&&yn(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=v_(s,e,t)}),n}function Dl(e,t){const n=m_(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ye(n,s)&&s in r?n:r,s,i)}const y_={get:Dl(!1,!1)},b_={get:Dl(!1,!0)},w_={get:Dl(!0,!1)};const xd=new WeakMap,Sd=new WeakMap,kd=new WeakMap,E_=new WeakMap;function T_(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function x_(e){return e.__v_skip||!Object.isExtensible(e)?0:T_(Gg(e))}function zn(e){return cn(e)?e:Hl(e,!1,p_,y_,xd)}function sn(e){return Hl(e,!1,__,b_,Sd)}function Hr(e){return Hl(e,!0,g_,w_,kd)}function Hl(e,t,n,r,s){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=x_(e);if(i===0)return e;const o=s.get(e);if(o)return o;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function Bn(e){return cn(e)?Bn(e.__v_raw):!!(e&&e.__v_isReactive)}function cn(e){return!!(e&&e.__v_isReadonly)}function Ct(e){return!!(e&&e.__v_isShallow)}function ko(e){return e?!!e.__v_raw:!1}function he(e){const t=e&&e.__v_raw;return t?he(t):e}function S_(e){return!ye(e,"__v_skip")&&Object.isExtensible(e)&&ad(e,"__v_skip",!0),e}const Wt=e=>_e(e)?zn(e):e,jr=e=>_e(e)?Hr(e):e;function Ne(e){return e?e.__v_isRef===!0:!1}function Bt(e){return Pd(e,!1)}function pt(e){return Pd(e,!0)}function Pd(e,t){return Ne(e)?e:new k_(e,t)}class k_{constructor(t,n){this.dep=new xo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:he(t),this._value=n?t:Wt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ct(t)||cn(t);t=r?t:he(t),ot(t,n)&&(this._rawValue=t,this._value=r?t:Wt(t),this.dep.trigger())}}function RS(e){e.dep&&e.dep.trigger()}function we(e){return Ne(e)?e.value:e}function gt(e){return oe(e)?e():we(e)}const P_={get:(e,t,n)=>t==="__v_raw"?e:we(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ne(s)&&!Ne(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Rd(e){return Bn(e)?e:new Proxy(e,P_)}class R_{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new xo,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Cd(e){return new R_(e)}class C_{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=he(t);let s=!0,i=t;if(!se(t)||!vo(String(n)))do s=!ko(i)||Ct(i);while(s&&(i=i.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=we(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ne(this._raw[this._key])){const n=this._object[this._key];if(Ne(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return l_(this._raw,this._key)}}class A_{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function jl(e,t,n){return Ne(e)?e:oe(e)?new A_(e):_e(e)&&arguments.length>1?O_(e,t,n):Bt(e)}function O_(e,t,n){return new C_(e,t,n)}class I_{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new xo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=js-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ke!==this)return gd(this,!0),!0}get value(){const t=this.dep.track();return md(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function L_(e,t,n=!1){let r,s;return oe(e)?r=e:(r=e.get,s=e.set),new I_(r,s,n)}const ci={},Mi=new WeakMap;let nr;function M_(e,t=!1,n=nr){if(n){let r=Mi.get(n);r||Mi.set(n,r=[]),r.push(e)}}function N_(e,t,n=pe){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:a,call:l}=n,u=m=>s?m:Ct(m)||s===!1||s===0?bn(m,1):bn(m);let c,f,h,d,p=!1,g=!1;if(Ne(e)?(f=()=>e.value,p=Ct(e)):Bn(e)?(f=()=>u(e),p=!0):se(e)?(g=!0,p=e.some(m=>Bn(m)||Ct(m)),f=()=>e.map(m=>{if(Ne(m))return m.value;if(Bn(m))return u(m);if(oe(m))return l?l(m,2):m()})):oe(e)?t?f=l?()=>l(e,2):e:f=()=>{if(h){kn();try{h()}finally{Pn()}}const m=nr;nr=c;try{return l?l(e,3,[d]):e(d)}finally{nr=m}}
vendor: 23,457 bytes, lines 2-4
2:f=ln,t&&s){const m=f,T=s===!0?1/0:s;f=()=>bn(m(),T)}const w=To(),E=()=>{c.stop(),w&&w.active&&Il(w.effects,c)};if(i&&t){const m=t;t=(...T)=>{m(...T),E()}}let b=g?new Array(e.length).fill(ci):ci;const _=m=>{if(!(!(c.flags&1)||!c.dirty&&!m))if(t){const T=c.run();if(s||p||(g?T.some((x,P)=>ot(x,b[P])):ot(T,b))){h&&h();const x=nr;nr=c;try{const P=[T,b===ci?void 0:g&&b[0]===ci?[]:b,d];b=T,l?l(t,3,P):t(...P)}finally{nr=x}}}else c.run()};return a&&a(_),c=new hd(f),c.scheduler=o?()=>o(_,!1):_,d=m=>M_(m,!1,c),h=c.onStop=()=>{const m=Mi.get(c);if(m){if(l)l(m,4);else for(const T of m)T();Mi.delete(c)}},t?r?_(!0):b=c.run():o?o(_.bind(null,!0),!0):c.run(),E.pause=c.pause.bind(c),E.resume=c.resume.bind(c),E.stop=E,E}function bn(e,t=1/0,n){if(t<=0||!_e(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ne(e))bn(e.value,t,n);else if(se(e))for(let r=0;r<e.length;r++)bn(e[r],t,n);else if(sd(e)||Cr(e))e.forEach(r=>{bn(r,t,n)});else if(od(e)){for(const r in e)bn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&bn(e[r],t,n)}return e}function ei(e,t,n,r){try{return r?e(...r):e()}catch(s){Qr(s,t,n)}}function qt(e,t,n,r){if(oe(e)){const s=ei(e,t,n,r);return s&&Ll(s)&&s.catch(i=>{Qr(i,t,n)}),s}if(se(e)){const s=[];for(let i=0;i<e.length;i++)s.push(qt(e[i],t,n,r));return s}}function Qr(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||pe;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(i){kn(),ei(i,null,10,[e,l,u]),Pn();return}}F_(e,n,s,r,o)}function F_(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const ht=[];let Jt=-1;const Or=[];let Dn=null,wr=0;const Ad=Promise.resolve();let Ni=null;function Gn(e){const t=Ni||Ad;return e?t.then(this?e.bind(this):e):t}function $_(e){let t=Jt+1,n=ht.length;for(;t<n;){const r=t+n>>>1,s=ht[r],i=Bs(s);i<e||i===e&&s.flags&2?t=r+1:n=r}return t}function Ul(e){if(!(e.flags&1)){const t=Bs(e),n=ht[ht.length-1];!n||!(e.flags&2)&&t>=Bs(n)?ht.push(e):ht.splice($_(t),0,e),e.flags|=1,Od()}}function Od(){Ni||(Ni=Ad.then(Id))}function Oa(e){se(e)?Or.push(...e):Dn&&e.id===-1?Dn.splice(wr+1,0,e):e.flags&1||(Or.push(e),e.flags|=1),Od()}function Oc(e,t,n=Jt+1){for(;n<ht.length;n++){const r=ht[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;ht.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Fi(e){if(Or.length){const t=[...new Set(Or)].sort((n,r)=>Bs(n)-Bs(r));if(Or.length=0,Dn){Dn.push(...t);return}for(Dn=t,wr=0;wr<Dn.length;wr++){const n=Dn[wr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Dn=null,wr=0}}const Bs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Id(e){try{for(Jt=0;Jt<ht.length;Jt++){const t=ht[Jt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ei(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Jt<ht.length;Jt++){const t=ht[Jt];t&&(t.flags&=-2)}Jt=-1,ht.length=0,Fi(),Ni=null,(ht.length||Or.length)&&Id()}}let tt=null,Ld=null;function $i(e){const t=tt;return tt=e,Ld=e&&e.type.__scopeId||null,t}function Bl(e,t=tt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Vi(-1);const i=$i(t);let o;try{o=e(...s)}finally{$i(i),r._d&&Vi(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function CS(e,t){if(tt===null)return e;const n=Oo(tt),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,o,a,l=pe]=t[s];i&&(oe(i)&&(i={mounted:i,updated:i}),i.deep&&bn(o),r.push({dir:i,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return e}function Xt(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const a=s[o];i&&(a.oldValue=i[o].value);let l=a.dir[r];l&&(kn(),qt(l,n,8,[e.el,a,e,t]),Pn())}}function Vn(e,t){if(et){let n=et.provides;const r=et.parent&&et.parent.provides;r===n&&(n=et.provides=Object.create(r)),n[e]=t}}function ze(e,t,n=!1){const r=_t();if(r||cr){let s=cr?cr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&oe(t)?t.call(r&&r.proxy):t}}function Zr(){return!!(_t()||cr)}const D_=Symbol.for("v-scx"),H_=()=>ze(D_);function Md(e,t){return Po(e,null,t)}function j_(e,t){return Po(e,null,{flush:"sync"})}function At(e,t,n){return Po(e,t,n)}function Po(e,t,n=pe){const{immediate:r,deep:s,flush:i,once:o}=n,a=He({},n),l=t&&r||!t&&i!=="post";let u;if(hr){if(i==="sync"){const d=H_();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=ln,d.resume=ln,d.pause=ln,d}}const c=et;a.call=(d,p,g)=>qt(d,c,p,g);let f=!1;i==="post"?a.scheduler=d=>{$e(d,c&&c.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(d,p)=>{p?d():Ul(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const h=N_(e,t,a);return hr&&(u?u.push(h):l&&h()),h}function U_(e,t,n){const r=this.proxy,s=Ae(e)?e.includes(".")?Nd(r,e):()=>r[e]:e.bind(r,r);let i;oe(t)?i=t:(i=t.handler,n=t);const o=es(this),a=Po(s,i.bind(r),n);return o(),a}function Nd(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const Fd=Symbol("_vte"),$d=e=>e.__isTeleport,As=e=>e&&(e.disabled||e.disabled===""),Ic=e=>e&&(e.defer||e.defer===""),Lc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Mc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ia=(e,t)=>{const n=e&&e.to;return Ae(n)?t?t(n):null:n},Dd={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,o,a,l,u){const{mc:c,pc:f,pbc:h,o:{insert:d,querySelector:p,createText:g,createComment:w}}=u,E=As(t.props);let{shapeFlag:b,children:_,dynamicChildren:m}=t;if(e==null){const T=t.el=g(""),x=t.anchor=g("");d(T,n,r),d(x,n,r);const P=(R,O)=>{b&16&&c(_,R,O,s,i,o,a,l)},L=()=>{const R=t.target=Ia(t.props,p),O=La(R,t,g,d);R&&(o!=="svg"&&Lc(R)?o="svg":o!=="mathml"&&Mc(R)&&(o="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(R),E||(P(R,O),ki(t,!1)))};E&&(P(n,x),ki(t,!0)),Ic(t.props)?(t.el.__isMounted=!1,$e(()=>{L(),delete t.el.__isMounted},i)):L()}else{if(Ic(t.props)&&e.el.__isMounted===!1){$e(()=>{Dd.process(e,t,n,r,s,i,o,a,l,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,x=t.target=e.target,P=t.targetAnchor=e.targetAnchor,L=As(e.props),R=L?n:x,O=L?T:P;if(o==="svg"||Lc(x)?o="svg":(o==="mathml"||Mc(x))&&(o="mathml"),m?(h(e.dynamicChildren,m,R,s,i,o,a),Jl(e,t,!0)):l||f(e,t,R,O,s,i,o,a,!1),E)L?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ui(t,n,T,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const H=t.target=Ia(t.props,p);H&&ui(t,H,null,u,0)}else L&&ui(t,x,P,u,1);ki(t,E)}},remove(e,t,n,{um:r,o:{remove:s}},i){const{shapeFlag:o,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:h}=e;if(f&&(s(u),s(c)),i&&s(l),o&16){const d=i||!As(h);for(let p=0;p<a.length;p++){const g=a[p];r(g,t,n,d,!!g.dynamicChildren)}}},move:ui,hydrate:B_};function ui(e,t,n,{o:{insert:r},m:s},i=2){i===0&&r(e.targetAnchor,t,n);const{el:o,anchor:a,shapeFlag:l,children:u,props:c}=e,f=i===2;if(f&&r(o,t,n),(!f||As(c))&&l&16)for(let h=0;h<u.length;h++)s(u[h],t,n,2);f&&r(a,t,n)}function B_(e,t,n,r,s,i,{o:{nextSibling:o,parentNode:a,querySelector:l,insert:u,createText:c}},f){function h(w,E){let b=E;for(;b;){if(b&&b.nodeType===8){if(b.data==="teleport start anchor")t.targetStart=b;else if(b.data==="teleport anchor"){t.targetAnchor=b,w._lpa=t.targetAnchor&&o(t.targetAnchor);break}}b=o(b)}}function d(w,E){E.anchor=f(o(w),E,a(w),n,r,s,i)}const p=t.target=Ia(t.props,l),g=As(t.props);if(p){const w=p._lpa||p.firstChild;t.shapeFlag&16&&(g?(d(e,t),h(p,w),t.targetAnchor||La(p,t,c,u,a(e)===p?e:null)):(t.anchor=o(e),h(p,w),t.targetAnchor||La(p,t,c,u),f(w&&o(w),t,p,n,r,s,i))),ki(t,g)}else g&&t.shapeFlag&16&&(d(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const AS=Dd;function ki(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function La(e,t,n,r,s=null){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[Fd]=o,e&&(r(i,e,s),r(o,e,s)),o}const Qt=Symbol("_leaveCb"),rs=Symbol("_enterCb");function Hd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ni(()=>{e.isMounted=!0}),ri(()=>{e.isUnmounting=!0}),e}const Lt=[Function,Array],jd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Lt,onEnter:Lt,onAfterEnter:Lt,onEnterCancelled:Lt,onBeforeLeave:Lt,onLeave:Lt,onAfterLeave:Lt,onLeaveCancelled:Lt,onBeforeAppear:Lt,onAppear:Lt,onAfterAppear:Lt,onAppearCancelled:Lt},Ud=e=>{const t=e.subTree;return t.component?Ud(t.component):t},V_={name:"BaseTransition",props:jd,setup(e,{slots:t}){const n=_t(),r=Hd();return()=>{const s=t.default&&Vl(t.default(),!0);if(!s||!s.length)return;const i=Bd(s),o=he(e),{mode:a}=o;if(r.isLeaving)return qo(i);const l=Nc(i);if(!l)return qo(i);let u=Vs(l,o,r,n,f=>u=f);l.type!==Ve&&Kn(l,u);let c=n.subTree&&Nc(n.subTree);if(c&&c.type!==Ve&&!Ht(c,l)&&Ud(n).type!==Ve){let f=Vs(c,o,r,n);if(Kn(c,f),a==="out-in"&&l.type!==Ve)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},qo(i);a==="in-out"&&l.type!==Ve?f.delayLeave=(h,d,p)=>{const g=Vd(r,c);g[String(c.key)]=c,h[Qt]=()=>{d(),h[Qt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{p(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Bd(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ve){t=n;break}}return t}const W_=V_;function Vd(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 Vs(e,t,n,r,s){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:d,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:w,onAppear:E,onAfterAppear:b,onAppearCancelled:_}=t,m=String(e.key),T=Vd(n,e),x=(R,O)=>{R&&qt(R,r,9,O)},P=(R,O)=>{const H=O[1];x(R,O),se(R)?R.every(A=>A.length<=1)&&H():R.length<=1&&H()},L={mode:o,persisted:a,beforeEnter(R){let O=l;if(!n.isMounted)if(i)O=w||l;else return;R[Qt]&&R[Qt](!0);const H=T[m];H&&Ht(e,H)&&H.el[Qt]&&H.el[Qt](),x(O,[R])},enter(R){if(T[m]===e)return;let O=u,H=c,A=f;if(!n.isMounted)if(i)O=E||u,H=b||c,A=_||f;else return;let q=!1;R[rs]=ee=>{q||(q=!0,ee?x(A,[R]):x(H,[R]),L.delayedLeave&&L.delayedLeave(),R[rs]=void 0)};const j=R[rs].bind(null,!1);O?P(O,[R,j]):j()},leave(R,O){const H=String(e.key);if(R[rs]&&R[rs](!0),n.isUnmounting)return O();x(h,[R]);let A=!1;R[Qt]=j=>{A||(A=!0,O(),j?x(g,[R]):x(p,[R]),R[Qt]=void 0,T[H]===e&&delete T[H])};const q=R[Qt].bind(null,!1);T[H]=e,d?P(d,[R,q]):q()},clone(R){const O=Vs(R,t,n,r,s);return s&&s(O),O}};return L}function qo(e){if(ti(e))return e=Rn(e),e.children=null,e}function Nc(e){if(!ti(e))return $d(e.type)&&e.children?Bd(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&&oe(n.default))return n.default()}}function Kn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Kn(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 Vl(e,t=!1,n){let r=[],s=0;for(let i=0;i<e.length;i++){let o=e[i];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Qe?(o.patchFlag&128&&s++,r=r.concat(Vl(o.children,t,a))):(t||o.type!==Ve)&&r.push(a!=null?Rn(o,{key:a}):o)}if(s>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function An(e,t){return oe(e)?He({name:e.name},t,{setup:e}):e}function OS(){const e=_t();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Wl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Fc(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Di=new WeakMap;function Ir(e,t,n,r,s=!1){if(se(e)){e.forEach((g,w)=>Ir(g,t&&(se(t)?t[w]:t),n,r,s));return}if(xn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Ir(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?Oo(r.component):r.el,o=s?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===pe?a.refs={}:a.refs,f=a.setupState,h=he(f),d=f===pe?rd:g=>Fc(c,g)?!1:ye(h,g),p=(g,w)=>!(w&&Fc(c,w));if(u!=null&&u!==l){if($c(t),Ae(u))c[u]=null,d(u)&&(f[u]=null);else if(Ne(u)){const g=t;p(u,g.k)&&(u.value=null),g.k&&(c[g.k]=null)}}if(oe(l))ei(l,a,12,[o,c]);else{const g=Ae(l),w=Ne(l);if(g||w){const E=()=>{if(e.f){const b=g?d(l)?f[l]:c[l]:p()||!e.k?l.value:c[e.k];if(s)se(b)&&Il(b,i);else if(se(b))b.includes(i)||b.push(i);else if(g)c[l]=[i],d(l)&&(f[l]=c[l]);else{const _=[i];p(l,e.k)&&(l.value=_),e.k&&(c[e.k]=_)}}else g?(c[l]=o,d(l)&&(f[l]=o)):w&&(p(l,e.k)&&(l.value=o),e.k&&(c[e.k]=o))};if(o){const b=()=>{E(),Di.delete(e)};b.id=-1,Di.set(e,b),$e(b,n)}else $c(e),E()}}}function $c(e){const t=Di.get(e);t&&(t.flags|=8,Di.delete(e))}let Dc=!1;const mr=()=>{Dc||(console.error("Hydration completed but contains mismatches."),Dc=!0)},q_=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",G_=e=>e.namespaceURI.includes("MathML"),fi=e=>{if(e.nodeType===1){if(q_(e))return"svg";if(G_(e))return"mathml"}},Sr=e=>e.nodeType===8;function K_(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:o,remove:a,insert:l,createComment:u}}=e,c=(_,m)=>{if(!m.hasChildNodes()){n(null,_,m),Fi(),m._vnode=_;return}f(m.firstChild,_,null,null,null),Fi(),m._vnode=_},f=(_,m,T,x,P,L=!1)=>{L=L||!!m.dynamicChildren;const R=Sr(_)&&_.data==="[",O=()=>g(_,m,T,x,P,R),{type:H,ref:A,shapeFlag:q,patchFlag:j}=m;let ee=_.nodeType;m.el=_,j===-2&&(L=!1,m.dynamicChildren=null);let D=null;switch(H){case ur:ee!==3?m.children===""?(l(m.el=s(""),o(_),_),D=_):D=O():(_.data!==m.children&&(mr(),_.data=m.children),D=i(_));break;case Ve:b(_)?(D=i(_),E(m.el=_.content.firstChild,_,T)):ee!==8||R?D=O():D=i(_);break;case Is:if(R&&(_=i(_),ee=_.nodeType),ee===1||ee===3){D=_;const ne=!m.children.length;for(let Y=0;Y<m.staticCount;Y++)ne&&(m.children+=D.nodeType===1?D.outerHTML:D.data),Y===m.staticCount-1&&(m.anchor=D),D=i(D);return R?i(D):D}else O();break;case Qe:R?D=p(_,m,T,x,P,L):D=O();break;default:if(q&1)(ee!==1||m.type.toLowerCase()!==_.tagName.toLowerCase())&&!b(_)?D=O():D=h(_,m,T,x,P,L);else if(q&6){m.slotScopeIds=P;const ne=o(_);if(R?D=w(_):Sr(_)&&_.data==="teleport start"?D=w(_,_.data,"teleport end"):D=i(_),t(m,ne,null,T,x,fi(ne),L),xn(m)&&!m.type.__asyncResolved){let Y;R?(Y=Ie(Qe),Y.anchor=D?D.previousSibling:ne.lastChild):Y=_.nodeType===3?Eh(""):Ie("div"),Y.el=_,m.component.subTree=Y}}else q&64?ee!==8?D=O():D=m.type.hydrate(_,m,T,x,P,L,e,d):q&128&&(D=m.type.hydrate(_,m,T,x,fi(o(_)),P,L,e,f))}return A!=null&&Ir(A,null,x,m),D},h=(_,m,T,x,P,L)=>{L=L||!!m.dynamicChildren;const{type:R,props:O,patchFlag:H,shapeFlag:A,dirs:q,transition:j}=m,ee=R==="input"||R==="option";if(ee||H!==-1){q&&Xt(m,null,T,"created");let D=!1;if(b(_)){D=dh(null,j)&&T&&T.vnode.props&&T.vnode.props.appear;const Y=_.content.firstChild;if(D){const ce=Y.getAttribute("class");ce&&(Y.$cls=ce),j.beforeEnter(Y)}E(Y,_,T),m.el=_=Y}if(A&16&&!(O&&(O.innerHTML||O.textContent))){let Y=d(_.firstChild,m,_,T,x,P,L);for(;Y;){di(_,1)||mr();const ce=Y;Y=Y.nextSibling,a(ce)}}else if(A&8){let Y=m.children;Y[0]===`
3`&&(_.tagName==="PRE"||_.tagName==="TEXTAREA")&&(Y=Y.slice(1));const{textContent:ce}=_;ce!==Y&&ce!==Y.replace(/\r\n|\r/g,`
4`)&&(di(_,0)||mr(),_.textContent=m.children)}if(O){if(ee||!L||H&48){const Y=_.tagName.includes("-");for(const ce in O)(ee&&(ce.endsWith("value")||ce==="indeterminate")||Zs(ce)&&!ar(ce)||ce[0]==="."||Y&&!ar(ce))&&r(_,ce,null,O[ce],void 0,T)}else if(O.onClick)r(_,"onClick",null,O.onClick,void 0,T);else if(H&4&&Bn(O.style))for(const Y in O.style)O.style[Y]}let ne;(ne=O&&O.onVnodeBeforeMount)&&bt(ne,T,m),q&&Xt(m,null,T,"beforeMount"),((ne=O&&O.onVnodeMounted)||q||D)&&_h(()=>{ne&&bt(ne,T,m),D&&j.enter(_),q&&Xt(m,null,T,"mounted")},x)}return _.nextSibling},d=(_,m,T,x,P,L,R)=>{R=R||!!m.dynamicChildren;const O=m.children,H=O.length;for(let A=0;A<H;A++){const q=R?O[A]:O[A]=Pt(O[A]),j=q.type===ur;_?(j&&!R&&A+1<H&&Pt(O[A+1]).type===ur&&(l(s(_.data.slice(q.children.length)),T,i(_)),_.data=q.children),_=f(_,q,x,P,L,R)):j&&!q.children?l(q.el=s(""),T):(di(T,1)||mr(),n(null,q,T,null,x,P,fi(T),L))}return _},p=(_,m,T,x,P,L)=>{const{slotScopeIds:R}=m;R&&(P=P?P.concat(R):R);const O=o(_),H=d(i(_),m,O,T,x,P,L);return H&&Sr(H)&&H.data==="]"?i(m.anchor=H):(mr(),l(m.anchor=u("]"),O,H),H)},g=(_,m,T,x,P,L)=>{if(di(_.parentElement,1)||mr(),m.el=null,L){const H=w(_);for(;;){const A=i(_);if(A&&A!==H)a(A);else break}}const R=i(_),O=o(_);return a(_),n(null,m,O,R,T,x,fi(O),P),T&&(T.vnode.el=m.el,Ao(T,m.el)),R},w=(_,m="[",T="]")=>{let x=0;for(;_;)if(_=i(_),_&&Sr(_)&&(_.data===m&&x++,_.data===T)){if(x===0)return i(_);x--}return _},E=(_,m,T)=>{const x=m.parentNode;x&&x.replaceChild(_,m);let P=T;for(;P;)P.vnode.el===m&&(P.vnode.el=P.subTree.el=_),P=P.parent},b=_=>_.nodeType===1&&_.tagName==="TEMPLATE";return[c,f]}const Hc="data-allow-mismatch",z_={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function di(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Hc);)e=e.parentElement;const n=e&&e.getAttribute(Hc);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(z_[t])}}bo().requestIdleCallback;bo().cancelIdleCallback;function Y_(e,t){if(Sr(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Sr(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const xn=e=>!!e.type.__asyncLoader;function Ee(e){oe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:i,timeout:o,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const h=()=>(f++,u=null,d()),d=()=>{let p;return u||(p=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((w,E)=>{l(g,()=>w(h()),()=>E(g),f+1)});throw g}).then(g=>p!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return An({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(p,g,w){let E=!1;(g.bu||(g.bu=[])).push(()=>E=!0);const b=()=>{E||w()},_=i?()=>{const m=i(b,T=>Y_(p,T));m&&(g.bum||(g.bum=[])).push(m)}:b;c?_():d().then(()=>!g.isUnmounted&&_())},get __asyncResolved(){return c},setup(){const p=et;if(Wl(p),c)return()=>hi(c,p);const g=_=>{u=null,Qr(_,p,13,!r)};if(a&&p.suspense||hr)return d().then(_=>()=>hi(_,p)).catch(_=>(g(_),()=>r?Ie(r,{error:_}):null));const w=Bt(!1),E=Bt(),b=Bt(!!s);return s&&setTimeout(()=>{b.value=!1},s),o!=null&&setTimeout(()=>{if(!w.value&&!E.value){const _=new Error(`Async component timed out after ${o}ms.`);g(_),E.value=_}},o),d().then(()=>{w.value=!0,p.parent&&ti(p.parent.vnode)&&p.parent.update()}).catch(_=>{g(_),E.value=_}),()=>{if(w.value&&c)return hi(c,p);if(E.value&&r)return Ie(r,{error:E.value});if(n&&!b.value)return hi(n,p)}}})}function hi(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,o=Ie(e,r,s);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const ti=e=>e.type.__isKeepAlive,J_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=_t(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const s=new Map,i=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,h=f("div");r.activate=(b,_,m,T,x)=>{const P=b.component;u(b,_,m,0,a),l(P.vnode,b,_,m,P,a,T,b.slotScopeIds,x),$e(()=>{P.isDeactivated=!1,P.a&&Ar(P.a);const L=b.props&&b.props.onVnodeMounted;L&&bt(L,P.parent,b)},a)},r.deactivate=b=>{const _=b.component;Ui(_.m),Ui(_.a),u(b,h,null,1,a),$e(()=>{_.da&&Ar(_.da);const m=b.props&&b.props.onVnodeUnmounted;m&&bt(m,_.parent,b),_.isDeactivated=!0},a)};function d(b){Go(b),c(b,n,a,!0)}function p(b){s.forEach((_,m)=>{const T=ja(xn(_)?_.type.__asyncResolved||{}:_.type);T&&!b(T)&&g(m)})}function g(b){const _=s.get(b);_&&(!o||!Ht(_,o))?d(_):o&&Go(o),s.delete(b),i.delete(b)}At(()=>[e.include,e.exclude],([b,_])=>{b&&p(m=>ms(b,m)),_&&p(m=>!ms(_,m))},{flush:"post",deep:!0});let w=null;const E=()=>{w!=null&&(Bi(n.subTree.type)?$e(()=>{s.set(w,pi(n.subTree))},n.subTree.suspense):s.set(w,pi(n.subTree)))};return ni(E),ql(E),ri(()=>{s.forEach(b=>{const{subTree:_,suspense:m}=n,T=pi(_);if(b.type===T.type&&b.key===T.key){Go(T);const x=T.component.da;x&&$e(x,m);return}d(b)})}),()=>{if(w=null,!t.default)return o=null;const b=t.default(),_=b[0];if(b.length>1)return o=null,b;if(!dr(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return o=null,_;let m=pi(_);if(m.type===Ve)return o=null,m;const T=m.type,x=ja(xn(m)?m.type.__asyncResolved||{}:T),{include:P,exclude:L,max:R}=e;if(P&&(!x||!ms(P,x))||L&&x&&ms(L,x))return m.shapeFlag&=-257,o=m,_;const O=m.key==null?T:m.key,H=s.get(O);return m.el&&(m=Rn(m),_.shapeFlag&128&&(_.ssContent=m)),w=O,H?(m.el=H.el,m.component=H.component,m.transition&&Kn(m,m.transition),m.shapeFlag|=512,i.delete(O),i.add(O)):(i.add(O),R&&i.size>parseInt(R,10)&&g(i.values().next().value)),m.shapeFlag|=256,o=m,Bi(_.type)?_:m}}},X_=J_;function ms(e,t){return se(e)?e.some(n=>ms(n,t)):Ae(e)?e.split(",").includes(t):qg(e)?(e.lastIndex=0,e.test(t)):!1}function Wd(e,t){Gd(e,"a",t)}function qd(e,t){Gd(e,"da",t)}function Gd(e,t,n=et){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ro(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ti(s.parent.vnode)&&Q_(r,t,n,s),s=s.parent}}function Q_(e,t,n,r){const s=Ro(t,e,r,!0);Kd(()=>{Il(r[t],s)},n)}function Go(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function pi(e){return e.shapeFlag&128?e.ssContent:e}function Ro(e,t,n=et,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{kn();const a=es(n),l=qt(t,n,e,o);return a(),Pn(),l});return r?s.unshift(i):s.push(i),i}}const On=e=>(t,n=et)=>{(!hr||e==="sp")&&Ro(e,(...r)=>t(...r),n)},Z_=On("bm"),ni=On("m"),ev=On("bu"),ql=On("u"),ri=On("bum"),Kd=On("um"),tv=On("sp"),nv=On("rtg"),rv=On("rtc");function zd(e,t=et){Ro("ec",e,t)}const Gl="components",sv="directives";function IS(e,t){return Kl(Gl,e,!0,t)||e}const Yd=Symbol.for("v-ndc");function iv(e){return Ae(e)?Kl(Gl,e,!1)||e:e||Yd}function LS(e){return Kl(sv,e)}function Kl(e,t,n=!0,r=!1){const s=tt||et;if(s){const i=s.type;if(e===Gl){const a=ja(i,!1);if(a&&(a===t||a===ct(t)||a===yo(ct(t))))return i}const o=jc(s[e]||i[e],t)||jc(s.appContext[e],t);return!o&&r?i:o}}function jc(e,t){return e&&(e[t]||e[ct(t)]||e[yo(ct(t))])}function MS(e,t,n,r){let s;const i=n,o=se(e);if(o||Ae(e)){const a=o&&Bn(e);let l=!1,u=!1;a&&(l=!Ct(e),u=cn(e),e=So(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(l?u?jr(Wt(e[c])):Wt(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,i)}else if(_e(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,i));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];s[l]=t(e[c],c,l,i)}}else s=[];return s}function NS(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(se(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const i=r.fn(...s);return i&&(i.key=r.key),i}:r.fn)}return e}function FS(e,t,n={},r,s){if(tt.ce||tt.parent&&xn(tt.parent)&&tt.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Ft(),tn(Qe,null,[Ie("slot",n,r&&r()
vendor: 4,332 bytes, line 4
4)],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),Ft();const o=i&&Jd(i(n)),a=n.key||o&&o.key,l=tn(Qe,{key:(a&&!Vt(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Jd(e){return e.some(t=>dr(t)?!(t.type===Ve||t.type===Qe&&!Jd(t.children)):!0)?e:null}const Ma=e=>e?xh(e)?Oo(e):Ma(e.parent):null,Os=He(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=>Ma(e.parent),$root:e=>Ma(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Qd(e),$forceUpdate:e=>e.f||(e.f=()=>{Ul(e.update)}),$nextTick:e=>e.n||(e.n=Gn.bind(e.proxy)),$watch:e=>U_.bind(e)}),Ko=(e,t)=>e!==pe&&!e.__isScriptSetup&&ye(e,t),ov={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:l}=e;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Ko(r,t))return o[t]=1,r[t];if(s!==pe&&ye(s,t))return o[t]=2,s[t];if(ye(i,t))return o[t]=3,i[t];if(n!==pe&&ye(n,t))return o[t]=4,n[t];Na&&(o[t]=0)}}const u=Os[t];let c,f;if(u)return t==="$attrs"&&at(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==pe&&ye(n,t))return o[t]=4,n[t];if(f=l.config.globalProperties,ye(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Ko(s,t)?(s[t]=n,!0):r!==pe&&ye(r,t)?(r[t]=n,!0):ye(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:i,type:o}},a){let l;return!!(n[a]||e!==pe&&a[0]!=="$"&&ye(e,a)||Ko(t,a)||ye(i,a)||ye(r,a)||ye(Os,a)||ye(s.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ye(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function $S(){return av().slots}function av(e){const t=_t();return t.setupContext||(t.setupContext=kh(t))}function Hi(e){return se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function DS(e,t){return!e||!t?e||t:se(e)&&se(t)?e.concat(t):He({},Hi(e),Hi(t))}function HS(e){const t=_t(),n=hr;let r=e();qi(),n&&Mr(!1);const s=()=>{es(t),n&&Mr(!0)},i=()=>{_t()!==t&&t.scope.off(),qi(),n&&Mr(!1)};return Ll(r)&&(r=r.catch(o=>{throw s(),Promise.resolve().then(()=>Promise.resolve().then(i)),o})),[r,()=>{s(),Promise.resolve().then(i)}]}let Na=!0;function lv(e){const t=Qd(e),n=e.proxy,r=e.ctx;Na=!1,t.beforeCreate&&Uc(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:g,deactivated:w,beforeDestroy:E,beforeUnmount:b,destroyed:_,unmounted:m,render:T,renderTracked:x,renderTriggered:P,errorCaptured:L,serverPrefetch:R,expose:O,inheritAttrs:H,components:A,directives:q,filters:j}=t;if(u&&cv(u,r,null),o)for(const ne in o){const Y=o[ne];oe(Y)&&(r[ne]=Y.bind(n))}if(s){const ne=s.call(n,n);_e(ne)&&(e.data=zn(ne))}if(Na=!0,i)for(const ne in i){const Y=i[ne],ce=oe(Y)?Y.bind(n,n):oe(Y.get)?Y.get.bind(n,n):ln,Ye=!oe(Y)&&oe(Y.set)?Y.set.bind(n):ln,Je=Re({get:ce,set:Ye});Object.defineProperty(r,ne,{enumerable:!0,configurable:!0,get:()=>Je.value,set:ve=>Je.value=ve})}if(a)for(const ne in a)Xd(a[ne],r,n,ne);if(l){const ne=oe(l)?l.call(n):l;Reflect.ownKeys(ne).forEach(Y=>{Vn(Y,ne[Y])})}c&&Uc(c,e,"c");function D(ne,Y){se(Y)?Y.forEach(ce=>ne(ce.bind(n))):Y&&ne(Y.bind(n))}if(D(Z_,f),D(ni,h),D(ev,d),D(ql,p),D(Wd,g),D(qd,w),D(zd,L),D(rv,x),D(nv,P),D(ri,b),D(Kd,m),D(tv,R),se(O))if(O.length){const ne=e.exposed||(e.exposed={});O.forEach(Y=>{Object.defineProperty(ne,Y,{get:()=>n[Y],set:ce=>n[Y]=ce,enumerable:!0})})}else e.exposed||(e.exposed={});T&&e.render===ln&&(e.render=T),H!=null&&(e.inheritAttrs=H),A&&(e.components=A),q&&(e.directives=q),R&&Wl(e)}function cv(e,t,n=ln){se(e)&&(e=Fa(e));for(const r in e){const s=e[r];let i;_e(s)?"default"in s?i=ze(s.from||r,s.default,!0):i=ze(s.from||r):i=ze(s),Ne(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Uc(e,t,n){qt(se(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Xd(e,t,n,r){let s=r.includes(".")?Nd(n,r):()=>n[r];if(Ae(e)){const i=t[e];oe(i)&&At(s,i)}else if(oe(e))At(s,e.bind(n));else if(_e(e))if(se(e))e.forEach(i=>
vendor: 4,107 bytes, line 4
4Xd(i,t,n,r));else{const i=oe(e.handler)?e.handler.bind(n):t[e.handler];oe(i)&&At(s,i,e)}}function Qd(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>ji(l,u,o,!0)),ji(l,t,o)),_e(t)&&i.set(t,l),l}function ji(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&ji(e,i,n,!0),s&&s.forEach(o=>ji(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=uv[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const uv={data:Bc,props:Vc,emits:Vc,methods:ys,computed:ys,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:ys,directives:ys,watch:dv,provide:Bc,inject:fv};function Bc(e,t){return t?e?function(){return He(oe(e)?e.call(this,this):e,oe(t)?t.call(this,this):t)}:t:e}function fv(e,t){return ys(Fa(e),Fa(t))}function Fa(e){if(se(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ut(e,t){return e?[...new Set([].concat(e,t))]:t}function ys(e,t){return e?He(Object.create(null),e,t):t}function Vc(e,t){return e?se(e)&&se(t)?[...new Set([...e,...t])]:He(Object.create(null),Hi(e),Hi(t??{})):t}function dv(e,t){if(!e)return t;if(!t)return e;const n=He(Object.create(null),e);for(const r in t)n[r]=ut(e[r],t[r]);return n}function Zd(){return{app:null,config:{isNativeTag:rd,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let hv=0;function pv(e,t){return function(r,s=null){oe(r)||(r=He({},r)),s!=null&&!_e(s)&&(s=null);const i=Zd(),o=new WeakSet,a=[];let l=!1;const u=i.app={_uid:hv++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:qv,get config(){return i.config},set config(c){},use(c,...f){return o.has(c)||(c&&oe(c.install)?(o.add(c),c.install(u,...f)):oe(c)&&(o.add(c),c(u,...f))),u},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),u},component(c,f){return f?(i.components[c]=f,u):i.components[c]},directive(c,f){return f?(i.directives[c]=f,u):i.directives[c]},mount(c,f,h){if(!l){const d=u._ceVNode||Ie(r,s);return d.appContext=i,h===!0?h="svg":h===!1&&(h=void 0),f&&t?t(d,c):e(d,c,h),l=!0,u._container=c,c.__vue_app__=u,Oo(d.component)}},onUnmount(c){a.push(c)},unmount(){l&&(qt(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return i.provides[c]=f,u},runWithContext(c){const f=cr;cr=u;try{return c()}finally{cr=f}}};return u}}let cr=null;function jS(e,t,n=pe){const r=_t(),s=ct(t),i=Cn(t),o=eh(e,s),a=Cd((l,u)=>{let c,f=pe,h;return j_(()=>{const d=e[s];ot(c,d)&&(c=d,u())}),{get(){return l(),n.get?n.get(c):c},set(d){const p=n.set?n.set(d):d;if(!ot(p,c)&&!(f!==pe&&ot(d,f)))return;const g=r.vnode.props;g&&(t in g||s in g||i in g)&&(`onUpdate:${t}`in g||`onUpdate:${s}`in g||`onUpdate:${i}`in g)||(c=d,u()),r.emit(`update:${t}`,p),ot(d,p)&&ot(d,f)&&!ot(p,h)&&u(),f=d,h=p}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||pe:a,done:!1}:{done:!0}}}},a}const eh=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ct(t)}Modifiers`]||e[`${Cn(t)}Modifiers`];function gv(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||pe;let s=n;const i=t.startsWith("update:"),o=i&&eh(r,t.slice(7));o&&(o.trim&&(s=n.map(c=>Ae(c)?c.trim():c)),o.number&&(s=n.map(Ml)));let a,l=r[a=jo(t)]||r[a=jo(ct(t))];!l&&i&&(l=r[a=jo(Cn(t))]),l&&qt(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,qt(u,e,6,s)}}const _v=new WeakMap;function th(e,t,n=!1){const r=n?_v:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!oe(e)){const l=u=>{const c=th(u,t,!0);c&&(a=!0,He(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}
vendor: 4,287 bytes, line 4
4return!i&&!a?(_e(e)&&r.set(e,null),null):(se(i)?i.forEach(l=>o[l]=null):He(o,i),_e(e)&&r.set(e,o),o)}function Co(e,t){return!e||!Zs(t)?!1:(t=t.slice(2).replace(/Once$/,""),ye(e,t[0].toLowerCase()+t.slice(1))||ye(e,Cn(t))||ye(e,t))}function zo(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:f,data:h,setupState:d,ctx:p,inheritAttrs:g}=e,w=$i(e);let E,b;try{if(n.shapeFlag&4){const m=s||r,T=m;E=Pt(u.call(T,m,c,f,d,h,p)),b=a}else{const m=t;E=Pt(m.length>1?m(f,{attrs:a,slots:o,emit:l}):m(f,null)),b=t.props?a:mv(a)}}catch(m){Ls.length=0,Qr(m,e,1),E=Ie(Ve)}let _=E;if(b&&g!==!1){const m=Object.keys(b),{shapeFlag:T}=_;m.length&&T&7&&(i&&m.some(Ol)&&(b=yv(b,i)),_=Rn(_,b,!1,!0))}return n.dirs&&(_=Rn(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&Kn(_,n.transition),E=_,$i(w),E}function vv(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(dr(s)){if(s.type!==Ve||s.children==="v-if"){if(n)return;n=s}}else return}return n}const mv=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zs(n))&&((t||(t={}))[n]=e[n]);return t},yv=(e,t)=>{const n={};for(const r in e)(!Ol(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function bv(e,t,n){const{props:r,children:s,component:i}=e,{props:o,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?Wc(r,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(nh(o,r,h)&&!Co(u,h))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Wc(r,o,u):!0:!!o;return!1}function Wc(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const i=r[s];if(nh(t,e,i)&&!Co(n,i))return!0}return!1}function nh(e,t,n){const r=e[n],s=t[n];return n==="style"&&_e(r)&&_e(s)?!Hs(r,s):r!==s}function Ao({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const rh={},sh=()=>Object.create(rh),ih=e=>Object.getPrototypeOf(e)===rh;function wv(e,t,n,r=!1){const s={},i=sh();e.propsDefaults=Object.create(null),oh(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:sn(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Ev(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=he(s),[l]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(Co(e.emitsOptions,h))continue;const d=t[h];if(l)if(ye(i,h))d!==i[h]&&(i[h]=d,u=!0);else{const p=ct(h);s[p]=$a(l,a,p,d,e,!1)}else d!==i[h]&&(i[h]=d,u=!0)}}}else{oh(e,t,s,i)&&(u=!0);let c;for(const f in a)(!t||!ye(t,f)&&((c=Cn(f))===f||!ye(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=$a(l,a,f,void 0,e,!0)):delete s[f]);if(i!==a)for(const f in i)(!t||!ye(t,f))&&(delete i[f],u=!0)}u&&yn(e.attrs,"set","")}function oh(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(ar(l))continue;const u=t[l];let c;s&&ye(s,c=ct(l))?!i||!i.includes(c)?n[c]=u:(a||(a={}))[c]=u:Co(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,o=!0)}if(i){const l=he(n),u=a||pe;for(let c=0;c<i.length;c++){const f=i[c];n[f]=$a(s,l,f,u[f],e,!ye(u,f))}}return o}function $a(e,t,n,r,s,i){const o=e[n];if(o!=null){const a=ye(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&oe(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=es(s);r=u[n]=l.call(null,t),c()}}else r=l;s.ce&&s.ce._setProp(n,r)}o[0]&&(i&&!a?r=!1:o[1]&&(r===""||r===Cn(n))&&(r=!0))}return r}const Tv=new WeakMap;function ah(e,t,n=!1){const r=n?Tv:t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},a=[];let l=!1;if(!oe(e)){const c=f=>{l=!0;const[h,d]=ah(f,t,!0);He(o,h),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return _e(e)&&r.set(e,Rr),Rr;if(se(i))for(let c=0;c<i.length;c++){const f=ct(i[c]);qc(f)&&(o[f]=pe)}else if(i)for(const c in i){const f=ct(c);if(qc(f)){const h=i[c],d=o[f]=se(h)||oe(h)?{type:h}:He({},h),p=d.type;let g=!1,w=!0;if(se(p))for(let E=0;E<p.length;++E){const b=p[E],_=oe(b)&&b.name;if(_==="Boolean"){g=!0;break}else _==="String"&&(w=!1)}else g=oe(p)&&p.name==="Boolean";
vendor: 21,050 bytes, line 4
4d[0]=g,d[1]=w,(g||ye(d,"default"))&&a.push(f)}}const u=[o,a];return _e(e)&&r.set(e,u),u}function qc(e){return e[0]!=="$"&&!ar(e)}const zl=e=>e==="_"||e==="_ctx"||e==="$stable",Yl=e=>se(e)?e.map(Pt):[Pt(e)],xv=(e,t,n)=>{if(t._n)return t;const r=Bl((...s)=>Yl(t(...s)),n);return r._c=!1,r},lh=(e,t,n)=>{const r=e._ctx;for(const s in e){if(zl(s))continue;const i=e[s];if(oe(i))t[s]=xv(s,i,r);else if(i!=null){const o=Yl(i);t[s]=()=>o}}},ch=(e,t)=>{const n=Yl(t);e.slots.default=()=>n},uh=(e,t,n)=>{for(const r in t)(n||!zl(r))&&(e[r]=t[r])},Sv=(e,t,n)=>{const r=e.slots=sh();if(e.vnode.shapeFlag&32){const s=t._;s?(uh(r,t,n),n&&ad(r,"_",s,!0)):lh(t,r)}else t&&ch(e,t)},kv=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=pe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:uh(s,t,n):(i=!t.$stable,lh(t,s)),o=t}else t&&(ch(e,t),o={default:1});if(i)for(const a in s)!zl(a)&&o[a]==null&&delete s[a]},$e=_h;function Pv(e){return fh(e)}function Rv(e){return fh(e,K_)}function fh(e,t){const n=bo();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=ln,insertStaticContent:p}=e,g=(v,y,S,M=null,C=null,N=null,z=void 0,B=null,$=!!y.dynamicChildren)=>{if(v===y)return;v&&!Ht(v,y)&&(M=I(v),ve(v,C,N,!0),v=null),y.patchFlag===-2&&($=!1,y.dynamicChildren=null);const{type:F,ref:ie,shapeFlag:J}=y;switch(F){case ur:w(v,y,S,M);break;case Ve:E(v,y,S,M);break;case Is:v==null&&b(y,S,M,z);break;case Qe:A(v,y,S,M,C,N,z,B,$);break;default:J&1?T(v,y,S,M,C,N,z,B,$):J&6?q(v,y,S,M,C,N,z,B,$):(J&64||J&128)&&F.process(v,y,S,M,C,N,z,B,$,Q)}ie!=null&&C?Ir(ie,v&&v.ref,N,y||v,!y):ie==null&&v&&v.ref!=null&&Ir(v.ref,null,N,v,!0)},w=(v,y,S,M)=>{if(v==null)r(y.el=a(y.children),S,M);else{const C=y.el=v.el;y.children!==v.children&&u(C,y.children)}},E=(v,y,S,M)=>{v==null?r(y.el=l(y.children||""),S,M):y.el=v.el},b=(v,y,S,M)=>{[v.el,v.anchor]=p(v.children,y,S,M,v.el,v.anchor)},_=({el:v,anchor:y},S,M)=>{let C;for(;v&&v!==y;)C=h(v),r(v,S,M),v=C;r(y,S,M)},m=({el:v,anchor:y})=>{let S;for(;v&&v!==y;)S=h(v),s(v),v=S;s(y)},T=(v,y,S,M,C,N,z,B,$)=>{if(y.type==="svg"?z="svg":y.type==="math"&&(z="mathml"),v==null)x(y,S,M,C,N,z,B,$);else{const F=v.el&&v.el._isVueCE?v.el:null;try{F&&F._beginPatch(),R(v,y,C,N,z,B,$)}finally{F&&F._endPatch()}}},x=(v,y,S,M,C,N,z,B)=>{let $,F;const{props:ie,shapeFlag:J,transition:te,dirs:ae}=v;if($=v.el=o(v.type,N,ie&&ie.is,ie),J&8?c($,v.children):J&16&&L(v.children,$,null,M,C,Yo(v,N),z,B),ae&&Xt(v,null,M,"created"),P($,v,v.scopeId,z,M),ie){for(const Se in ie)Se!=="value"&&!ar(Se)&&i($,Se,null,ie[Se],N,M);"value"in ie&&i($,"value",null,ie.value,N),(F=ie.onVnodeBeforeMount)&&bt(F,M,v)}ae&&Xt(v,null,M,"beforeMount");const de=dh(C,te);de&&te.beforeEnter($),r($,y,S),((F=ie&&ie.onVnodeMounted)||de||ae)&&$e(()=>{F&&bt(F,M,v),de&&te.enter($),ae&&Xt(v,null,M,"mounted")},C)},P=(v,y,S,M,C)=>{if(S&&d(v,S),M)for(let N=0;N<M.length;N++)d(v,M[N]);if(C){let N=C.subTree;if(y===N||Bi(N.type)&&(N.ssContent===y||N.ssFallback===y)){const z=C.vnode;P(v,z,z.scopeId,z.slotScopeIds,C.parent)}}},L=(v,y,S,M,C,N,z,B,$=0)=>{for(let F=$;F<v.length;F++){const ie=v[F]=B?mn(v[F]):Pt(v[F]);g(null,ie,y,S,M,C,N,z,B)}},R=(v,y,S,M,C,N,z)=>{const B=y.el=v.el;let{patchFlag:$,dynamicChildren:F,dirs:ie}=y;$|=v.patchFlag&16;const J=v.props||pe,te=y.props||pe;let ae;if(S&&Jn(S,!1),(ae=te.onVnodeBeforeUpdate)&&bt(ae,S,y,v),ie&&Xt(y,v,S,"beforeUpdate"),S&&Jn(S,!0),(J.innerHTML&&te.innerHTML==null||J.textContent&&te.textContent==null)&&c(B,""),F?O(v.dynamicChildren,F,B,S,M,Yo(y,C),N):z||Y(v,y,B,null,S,M,Yo(y,C),N,!1),$>0){if($&16)H(B,J,te,S,C);else if($&2&&J.class!==te.class&&i(B,"class",null,te.class,C),$&4&&i(B,"style",J.style,te.style,C),$&8){const de=y.dynamicProps;for(let Se=0;Se<de.length;Se++){const be=de[Se],mt=J[be],rt=te[be];(rt!==mt||be==="value")&&i(B,be,mt,rt,C,S)}}$&1&&v.children!==y.children&&c(B,y.children)}else!z&&F==null&&H(B,J,te,S,C);((ae=te.onVnodeUpdated)||ie)&&$e(()=>{ae&&bt(ae,S,y,v),ie&&Xt(y,v,S,"updated")},M)},O=(v,y,S,M,C,N,z)=>{for(let B=0;B<y.length;B++){const $=v[B],F=y[B],ie=$.el&&($.type===Qe||!Ht($,F)||$.shapeFlag&198)?f($.el):S;g($,F,ie,null,M,C,N,z,!0)}},H=(v,y,S,M,C)=>{if(y!==S){if(y!==pe)for(const N in y)!ar(N)&&!(N in S)&&i(v,N,y[N],null,C,M);for(const N in S){if(ar(N))continue;const z=S[N],B=y[N];z!==B&&N!=="value"&&i(v,N,B,z,C,M)}"value"in S&&i(v,"value",y.value,S.value,C)}},A=(v,y,S,M,C,N,z,B,$)=>{const F=y.el=v?v.el:a(""),ie=y.anchor=v?v.anchor:a("");let{patchFlag:J,dynamicChildren:te,slotScopeIds:ae}=y;ae&&(B=B?B.concat(ae):ae),v==null?(r(F,S,M),r(ie,S,M),L(y.children||[],S,ie,C,N,z,B,$)):J>0&&J&64&&te&&v.dynamicChildren&&v.dynamicChildren.length===te.length?(O(v.dynamicChildren,te,S,C,N,z,B),(y.key!=null||C&&y===C.subTree)&&Jl(v,y,!0)):Y(v,y,S,ie,C,N,z,B,$)},q=(v,y,S,M,C,N,z,B,$)=>{y.slotScopeIds=B,v==null?y.shapeFlag&512?C.ctx.activate(y,S,M,z,$):j(y,S,M,C,N,z,$):ee(v,y,$)},j=(v,y,S,M,C,N,z)=>{const B=v.component=jv(v,M,C);if(ti(v)&&(B.ctx.renderer=Q),Uv(B,!1,z),B.asyncDep){if(C&&C.registerDep(B,D,z),!v.el){const $=B.subTree=Ie(Ve);E(null,$,y,S),v.placeholder=$.el}}else D(B,v,y,S,C,N,z)},ee=(v,y,S)=>{const M=y.component=v.component;if(bv(v,y,S))if(M.asyncDep&&!M.asyncResolved){ne(M,y,S);return}else M.next=y,M.update();else y.el=v.el,M.vnode=y},D=(v,y,S,M,C,N,z)=>{const B=()=>{if(v.isMounted){let{next:J,bu:te,u:ae,parent:de,vnode:Se}=v;{const St=hh(v);if(St){J&&(J.el=Se.el,ne(v,J,z)),St.asyncDep.then(()=>{$e(()=>{v.isUnmounted||F()},C)});return}}let be=J,mt;Jn(v,!1),J?(J.el=Se.el,ne(v,J,z)):J=Se,te&&Ar(te),(mt=J.props&&J.props.onVnodeBeforeUpdate)&&bt(mt,de,J,Se),Jn(v,!0);const rt=zo(v),Dt=v.subTree;v.subTree=rt,g(Dt,rt,f(Dt.el),I(Dt),v,C,N),J.el=rt.el,be===null&&Ao(v,rt.el),ae&&$e(ae,C),(mt=J.props&&J.props.onVnodeUpdated)&&$e(()=>bt(mt,de,J,Se),C)}else{let J;const{el:te,props:ae}=y,{bm:de,m:Se,parent:be,root:mt,type:rt}=v,Dt=xn(y);if(Jn(v,!1),de&&Ar(de),!Dt&&(J=ae&&ae.onVnodeBeforeMount)&&bt(J,be,y),Jn(v,!0),te&&Te){const St=()=>{v.subTree=zo(v),Te(te,v.subTree,v,C,null)};Dt&&rt.__asyncHydrate?rt.__asyncHydrate(te,v,St):St()}else{mt.ce&&mt.ce._hasShadowRoot()&&mt.ce._injectChildStyle(rt,v.parent?v.parent.type:void 0);const St=v.subTree=zo(v);g(null,St,S,M,v,C,N),y.el=St.el}if(Se&&$e(Se,C),!Dt&&(J=ae&&ae.onVnodeMounted)){const St=y;$e(()=>bt(J,be,St),C)}(y.shapeFlag&256||be&&xn(be.vnode)&&be.vnode.shapeFlag&256)&&v.a&&$e(v.a,C),v.isMounted=!0,y=S=M=null}};v.scope.on();const $=v.effect=new hd(B);v.scope.off();const F=v.update=$.run.bind($),ie=v.job=$.runIfDirty.bind($);ie.i=v,ie.id=v.uid,$.scheduler=()=>Ul(ie),Jn(v,!0),F()},ne=(v,y,S)=>{y.component=v;const M=v.vnode.props;v.vnode=y,v.next=null,Ev(v,y.props,M,S),kv(v,y.children,S),kn(),Oc(v),Pn()},Y=(v,y,S,M,C,N,z,B,$=!1)=>{const F=v&&v.children,ie=v?v.shapeFlag:0,J=y.children,{patchFlag:te,shapeFlag:ae}=y;if(te>0){if(te&128){Ye(F,J,S,M,C,N,z,B,$);return}else if(te&256){ce(F,J,S,M,C,N,z,B,$);return}}ae&8?(ie&16&&Fe(F,C,N),J!==F&&c(S,J)):ie&16?ae&16?Ye(F,J,S,M,C,N,z,B,$):Fe(F,C,N,!0):(ie&8&&c(S,""),ae&16&&L(J,S,M,C,N,z,B,$))},ce=(v,y,S,M,C,N,z,B,$)=>{v=v||Rr,y=y||Rr;const F=v.length,ie=y.length,J=Math.min(F,ie);let te;for(te=0;te<J;te++){const ae=y[te]=$?mn(y[te]):Pt(y[te]);g(v[te],ae,S,null,C,N,z,B,$)}F>ie?Fe(v,C,N,!0,!1,J):L(y,S,M,C,N,z,B,$,J)},Ye=(v,y,S,M,C,N,z,B,$)=>{let F=0;const ie=y.length;let J=v.length-1,te=ie-1;for(;F<=J&&F<=te;){const ae=v[F],de=y[F]=$?mn(y[F]):Pt(y[F]);if(Ht(ae,de))g(ae,de,S,null,C,N,z,B,$);else break;F++}for(;F<=J&&F<=te;){const ae=v[J],de=y[te]=$?mn(y[te]):Pt(y[te]);if(Ht(ae,de))g(ae,de,S,null,C,N,z,B,$);else break;J--,te--}if(F>J){if(F<=te){const ae=te+1,de=ae<ie?y[ae].el:M;for(;F<=te;)g(null,y[F]=$?mn(y[F]):Pt(y[F]),S,de,C,N,z,B,$),F++}}else if(F>te)for(;F<=J;)ve(v[F],C,N,!0),F++;else{const ae=F,de=F,Se=new Map;for(F=de;F<=te;F++){const kt=y[F]=$?mn(y[F]):Pt(y[F]);kt.key!=null&&Se.set(kt.key,F)}let be,mt=0;const rt=te-de+1;let Dt=!1,St=0;const ts=new Array(rt);for(F=0;F<rt;F++)ts[F]=0;for(F=ae;F<=J;F++){const kt=v[F];if(mt>=rt){ve(kt,C,N,!0);continue}let zt;if(kt.key!=null)zt=Se.get(kt.key);else for(be=de;be<=te;be++)if(ts[be-de]===0&&Ht(kt,y[be])){zt=be;break}zt===void 0?ve(kt,C,N,!0):(ts[zt-de]=F+1,zt>=St?St=zt:Dt=!0,g(kt,y[zt],S,null,C,N,z,B,$),mt++)}const xc=Dt?Cv(ts):Rr;for(be=xc.length-1,F=rt-1;F>=0;F--){const kt=de+F,zt=y[kt],Sc=y[kt+1],kc=kt+1<ie?Sc.el||ph(Sc):M;ts[F]===0?g(null,zt,S,kc,C,N,z,B,$):Dt&&(be<0||F!==xc[be]?Je(zt,S,kc,2):be--)}}},Je=(v,y,S,M,C=null)=>{const{el:N,type:z,transition:B,children:$,shapeFlag:F}=v;if(F&6){Je(v.component.subTree,y,S,M);return}if(F&128){v.suspense.move(y,S,M);return}if(F&64){z.move(v,y,S,Q);return}if(z===Qe){r(N,y,S);for(let J=0;J<$.length;J++)Je($[J],y,S,M);r(v.anchor,y,S);return}if(z===Is){_(v,y,S);return}if(M!==2&&F&1&&B)if(M===0)B.beforeEnter(N),r(N,y,S),$e(()=>B.enter(N),C);else{const{leave:J,delayLeave:te,afterLeave:ae}=B,de=()=>{v.ctx.isUnmounted?s(N):r(N,y,S)},Se=()=>{N._isLeaving&&N[Qt](!0),J(N,()=>{de(),ae&&ae()})};te?te(N,de,Se):Se()}else r(N,y,S)},ve=(v,y,S,M=!1,C=!1)=>{const{type:N,props:z,ref:B,children:$,dynamicChildren:F,shapeFlag:ie,patchFlag:J,dirs:te,cacheIndex:ae}=v;if(J===-2&&(C=!1),B!=null&&(kn(),Ir(B,null,S,v,!0),Pn()),ae!=null&&(y.renderCache[ae]=void 0),ie&256){y.ctx.deactivate(v);return}const de=ie&1&&te,Se=!xn(v);let be;if(Se&&(be=z&&z.onVnodeBeforeUnmount)&&bt(be,y,v),ie&6)vt(v.component,S,M);else{if(ie&128){v.suspense.unmount(S,M);return}de&&Xt(v,null,y,"beforeUnmount"),ie&64?v.type.remove(v,y,S,Q,M):F&&!F.hasOnce&&(N!==Qe||J>0&&J&64)?Fe(F,y,S,!1,!0):(N===Qe&&J&384||!C&&ie&16)&&Fe($,y,S),M&&qe(v)}(Se&&(be=z&&z.onVnodeUnmounted)||de)&&$e(()=>{be&&bt(be,y,v),de&&Xt(v,null,y,"unmounted")},S)},qe=v=>{const{type:y,el:S,anchor:M,transition:C}=v;if(y===Qe){je(S,M);return}if(y===Is){m(v);return}const N=()=>{s(S),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(v.shapeFlag&1&&C&&!C.persisted){const{leave:z,delayLeave:B}=C,$=()=>z(S,N);B?B(v.el,N,$):$()}else N()},je=(v,y)=>{let S;for(;v!==y;)S=h(v),s(v),v=S;s(y)},vt=(v,y,S)=>{const{bum:M,scope:C,job:N,subTree:z,um:B,m:$,a:F}=v;Ui($),Ui(F),M&&Ar(M),C.stop(),N&&(N.flags|=8,ve(z,v,y,S)),B&&$e(B,y),$e(()=>{v.isUnmounted=!0},y)},Fe=(v,y,S,M=!1,C=!1,N=0)=>{for(let z=N;z<v.length;z++)ve(v[z],y,S,M,C)},I=v=>{if(v.shapeFlag&6)return I(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const y=h(v.anchor||v.el),S=y&&y[Fd];return S?h(S):y};let X=!1;const K=(v,y,S)=>{let M;v==null?y._vnode&&(ve(y._vnode,null,null,!0),M=y._vnode.component):g(y._vnode||null,v,y,null,null,null,S),y._vnode=v,X||(X=!0,Oc(M),Fi(),X=!1)},Q={p:g,um:ve,m:Je,r:qe,mt:j,mc:L,pc:Y,pbc:O,n:I,o:e};let le,Te;return t&&([le,Te]=t(Q)),{render:K,hydrate:le,createApp:pv(K,le)}}function Yo({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 Jn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function dh(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Jl(e,t,n=!1){const r=e.children,s=t.children;if(se(r)&&se(s))for(let i=0;i<r.length;i++){const o=r[i];let a=s[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[i]=mn(s[i]),a.el=o.el),!n&&a.patchFlag!==-2&&Jl(o,a)),a.type===ur&&(a.patchFlag===-1&&(a=s[i]=mn(a)),a.el=o.el),a.type===Ve&&!a.el&&(a.el=o.el)}}function Cv(e){const t=e.slice(),n=[0];let r,s,i,o,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)a=i+o>>1,e[n[a]]<u?i=a+1:o=a;u<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function hh(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:hh(t)}function Ui(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ph(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?ph(t.subTree):null}const Bi=e=>e.__isSuspense;let Da=0;const Av={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,i,o,a,l,u){if(e==null)Ov(t,n,r,s,i,o,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}Iv(e,t,n,r,s,o,a,l,u)}},hydrate:Lv,normalize:Mv},Xl=Av;function Ws(e,t){const n=e.props&&e.props[t];oe(n)&&n()}function Ov(e,t,n,r,s,i,o,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),h=e.suspense=gh(e,s,r,t,f,n,i,o,a,l);u(null,h.pendingBranch=e.ssContent,f,null,r,h,i,o),h.deps>0?(Ws(e,"onPending"),Ws(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,o),Lr(h,e.ssFallback)):h.resolve(!1,!0)}function Iv(e,t,n,r,s,i,o,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,d=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:w,isHydrating:E}=f;if(g)f.pendingBranch=h,Ht(g,h)?(l(g,h,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0?f.resolve():w&&(E||(l(p,d,n,r,s,null,i,o,a),Lr(f,d)))):(f.pendingId=Da++,E?(f.isHydrating=!1,f.activeBranch=g):u(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),w?(l(null,h,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0?f.resolve():(l(p,d,n,r,s,null,i,o,a),Lr(f,d))):p&&Ht(p,h)?(l(p,h,n,r,s,f,i,o,a),f.resolve(!0)):(l(null,h,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0&&f.resolve()));else if(p&&Ht(p,h))l(p,h,n,r,s,f,i,o,a),Lr(f,h);else if(Ws(t,"onPending"),f.pendingBranch=h,h.shapeFlag&512?f.pendingId=h.component.suspenseId:f.pendingId=Da++,l(null,h,f.hiddenContainer,null,s,f,i,o,a),f.deps<=0)f.resolve();else{const{timeout:b,pendingId:_}=f;b>0?setTimeout(()=>{f.pendingId===_&&f.fallback(d)},b):b===0&&f.fallback(d)}}function gh(e,t,n,r,s,i,o,a,l,u,c=!1){const{p:f,m:h,um:d,n:p,o:{parentNode:g,remove:w}}=u;let E;const b=Nv(e);b&&t&&t.pendingBranch&&(E=t.pendingId,t.deps++);const _=e.props?ld(e.props.timeout):void 0,m=i,T={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:s,deps:0,pendingId:Da++,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(x=!1,P=!1){const{vnode:L,activeBranch:R,pendingBranch:O,pendingId:H,effects:A,parentComponent:q,container:j,isInFallback:ee}=T;let D=!1;T.isHydrating?T.isHydrating=!1:x||(D=R&&O.transition&&O.transition.mode==="out-in",D&&(R.transition.afterLeave=()=>{H===T.pendingId&&(h(O,j,i===m?p(R):i,0),Oa(A),ee&&L.ssFallback&&(L.ssFallback.el=null))}),R&&(g(R.el)===j&&(i=p(R)),d(R,q,T,!0),!D&&ee&&L.ssFallback&&$e(()=>L.ssFallback.el=null,T)),D||h(O,j,i,0)),Lr(T,O),T.pendingBranch=null,T.isInFallback=!1;let ne=T.parent,Y=!1;for(;ne;){if(ne.pendingBranch){ne.effects.push(...A),Y=!0;break}ne=ne.parent}!Y&&!D&&Oa(A),T.effects=[],b&&t&&t.pendingBranch&&E===t.pendingId&&(t.deps--,t.deps===0&&!P&&t.resolve()),Ws(L,"onResolve")},fallback(x){if(!T.pendingBranch)return;const{vnode:P,activeBranch:L,parentComponent:R,container:O,namespace:H}=T;Ws(P,"onFallback");const A=p(L),q=()=>{T.isInFallback&&(f(null,x,O,A,R,null,H,a,l),Lr(T,x))},j=x.transition&&x.transition.mode==="out-in";j&&(L.transition.afterLeave=q),T.isInFallback=!0,d(L,R,null,!0),j||q()},move(x,P,L){T.activeBranch&&h(T.activeBranch,x,P,L),T.container=x},next(){return T.activeBranch&&p(T.activeBranch)},registerDep(x,P,L){const R=!!T.pendingBranch;R&&T.deps++;const O=x.vnode.el;x.asyncDep.catch(H=>{Qr(H,x,0)}).then(H=>{if(x.isUnmounted||T.isUnmounted||T.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:A}=x;Ha(x,H),O&&(A.el=O);const q=!O&&x.subTree.el;P(x,A,g(O||x.subTree.el),O?null:p(x.subTree),T,o,L),q&&(A.placeholder=null,w(q)),Ao(x,A.el),R&&--T.deps===0&&T.resolve()})},unmount(x,P){T.isUnmounted=!0,T.activeBranch&&d(T.activeBranch,n,x,P),T.pendingBranch&&d(T.pendingBranch,n,x,P)}};return T}function Lv(e,t,n,r,s,i,o,a,l){const u=t.suspense=gh(t,r,n,e.parentNode,document.createElement("div"),null,s,i,o,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),c}function Mv(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Gc(r?n.default:n),e.ssFallback=r?Gc(n.fallback):Ie(Ve)}function Gc(e){let t;if(oe(e)){const n=Ur&&e._c;n&&(e._d=!1,Ft()),e=e(),n&&(e._d=!0,t=Et,vh())}return se(e)&&(e=vv(e)),e=Pt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function _h(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):Oa(e)}function Lr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Ao(r,s))}function Nv(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Qe=Symbol.for("v-fgt"),ur=Symbol.for("v-txt"),Ve=Symbol.for("v-cmt"),Is=Symbol.for("v-stc"),Ls=[];let Et=null;function Ft(e=!1){Ls.push(Et=e?null:[])}function vh(){Ls.pop(),Et=Ls[Ls.length-1]||null}let Ur=1;function Vi(e,t=!1){Ur+=e,e<0&&Et&&t&&(Et.hasOnce=!0)}function mh(e){return e.dynamicChildren=Ur>0?Et||Rr:null,vh(),Ur>0&&Et&&Et.push(e),e}function Fv(e,t,n,r,s,i){return mh(bh(e,t,n,r,s,i,!0))}function tn(e,t,n,r,s){return mh(Ie(e,t,n,r,s,!0))}function dr(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){return e.type===t.type&&e.key===t.key}const yh=({key:e})=>e??null,Pi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ae(e)||Ne(e)||oe(e)?{i:tt,r:e,k:t,f:!!n}:e:null);function bh(e,t=null,n=null,r=0,s=null,i=e===Qe?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&yh(t),ref:t&&Pi(t),scopeId:Ld,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:s,dynamicChildren:null,appContext:null,ctx:tt};return a?(Ql(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Ae(n)?8:16),Ur>0&&!o&&Et&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Et.push(l),l}const Ie=$v;function $v(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Yd)&&(e=Ve),dr(e)){const a=Rn(e,t,!0);return n&&Ql(a,n),Ur>0&&!i&&Et&&(a.shapeFlag&6?Et[Et.indexOf(e)]=a:Et.push(a)),a.patchFlag=-2,a}if(Wv(e)&&(e=e.__vccOpts),t){t=wh(t);let{class:a,style:l}=t;a&&!Ae(a)&&(t.class=Eo(a)),_e(l)&&(ko(l)&&!se(l)&&(l=He({},l)),t.style=wo(l))}const o=Ae(e)?1:Bi(e)?128:$d(e)?64:_e(e)?4:oe(e)?2:0;return bh(e,t,n,r,s,o,i,!0)}function wh(e){return e?ko(e)||ih(e)?He({},e):e:null}function Rn(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:a,transition:l}=e,u=t?Th(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&yh(u),ref:t&&t.ref?n&&i?se(i)?i.concat(Pi(t)):[i,Pi(t)]:Pi(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!==Qe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Rn(e.ssContent),ssFallback:e.ssFallback&&Rn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Kn(c,l.clone(c)),c}function Eh(e=" ",t=0){return Ie(ur,null,e,t)}function US(e,t){const n=Ie(Is,null,e);return n.staticCount=t,n}function BS(e="",t=!1){return t?(Ft(),tn(Ve,null,e)):Ie(Ve,null,e)}function Pt(e){return e==null||typeof e=="boolean"?Ie(Ve):se(e)?Ie(Qe,null,e.slice()):dr(e)?mn(e):Ie(ur,null,String(e))}function mn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Rn(e)}function Ql(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 s=t.default;s&&(s._c&&(s._d=!1),Ql(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!ih(t)?t._ctx=tt:s===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else oe(t)?(t={default:t,_ctx:tt},n=32):(t=String(t),r&64?(n=16,t=[Eh(t)]):n=8);e.children=t,e.shapeFlag|=n}function Th(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Eo([t.class,r.class]));else if(s==="style")t.style=wo([t.style,r.style]);else if(Zs(s)){const i=t[s],o=r[s];o&&i!==o&&!(se(i)&&i.includes(o))&&(t[s]=i?[].concat(i,o):o)}else s!==""&&(t[s]=r[s])}return t}function bt(e,t,n,r=null){qt(e,t,7,[n,r])}const Dv=Zd();let Hv=0;function jv(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Dv,i={uid:Hv++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new dd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ah(r,s),emitsOptions:th(r,s),emit:null,emitted:null,propsDefaults:pe,inheritAttrs:r.inheritAttrs,ctx:pe,data:pe,props:pe,attrs:pe,slots:pe,refs:pe,setupState:pe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,
vendor: 2,710 bytes, line 4
4sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=gv.bind(null,i),e.ce&&e.ce(i),i}let et=null;const _t=()=>et||tt;let Wi,Mr;{const e=bo(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Wi=t("__VUE_INSTANCE_SETTERS__",n=>et=n),Mr=t("__VUE_SSR_SETTERS__",n=>hr=n)}const es=e=>{const t=et;return Wi(e),e.scope.on(),()=>{e.scope.off(),Wi(t)}},qi=()=>{et&&et.scope.off(),Wi(null)};function xh(e){return e.vnode.shapeFlag&4}let hr=!1;function Uv(e,t=!1,n=!1){t&&Mr(t);const{props:r,children:s}=e.vnode,i=xh(e);wv(e,r,i,t),Sv(e,s,n||t);const o=i?Bv(e,t):void 0;return t&&Mr(!1),o}function Bv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ov);const{setup:r}=n;if(r){kn();const s=e.setupContext=r.length>1?kh(e):null,i=es(e),o=ei(r,e,0,[e.props,s]),a=Ll(o);if(Pn(),i(),(a||e.sp)&&!xn(e)&&Wl(e),a){if(o.then(qi,qi),t)return o.then(l=>{Ha(e,l)}).catch(l=>{Qr(l,e,0)});e.asyncDep=o}else Ha(e,o)}else Sh(e)}function Ha(e,t,n){oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=Rd(t)),Sh(e)}function Sh(e,t,n){const r=e.type;e.render||(e.render=r.render||ln);{const s=es(e);kn();try{lv(e)}finally{Pn(),s()}}}const Vv={get(e,t){return at(e,"get",""),e[t]}};function kh(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Vv),slots:e.slots,emit:e.emit,expose:t}}function Oo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Rd(S_(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Os)return Os[n](e)},has(t,n){return n in t||n in Os}})):e.proxy}function ja(e,t=!0){return oe(e)?e.displayName||e.name:e.name||t&&e.__name}function Wv(e){return oe(e)&&"__vccOpts"in e}const Re=(e,t)=>L_(e,t,hr);function lt(e,t,n){try{Vi(-1);const r=arguments.length;return r===2?_e(t)&&!se(t)?dr(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&dr(n)&&(n=[n]),Ie(e,t,n))}finally{Vi(1)}}const qv="3.5.30";let Ua;const Kc=typeof window<"u"&&window.trustedTypes;if(Kc)try{Ua=Kc.createPolicy("vue",{createHTML:e=>e})}catch{}const Ph=Ua?e=>Ua.createHTML(e):e=>e,Gv="http://www.w3.org/2000/svg",Kv="http://www.w3.org/1998/Math/MathML",pn=typeof document<"u"?document:null,zc=pn&&pn.createElement("template"),zv={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?pn.createElementNS(Gv,e):t==="mathml"?pn.createElementNS(Kv,e):n?pn.createElement(e,{is:n}):pn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>pn.createTextNode(e),createComment:e=>pn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
vendor: 8,634 bytes, line 4
4{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{zc.innerHTML=Ph(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=zc.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[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},In="transition",ss="animation",Br=Symbol("_vtc"),Rh={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},Ch=He({},jd,Rh),Yv=e=>(e.displayName="Transition",e.props=Ch,e),Jv=Yv((e,{slots:t})=>lt(W_,Ah(e),t)),Xn=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},Yc=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function Ah(e){const t={};for(const A in e)A in Rh||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,p=Xv(s),g=p&&p[0],w=p&&p[1],{onBeforeEnter:E,onEnter:b,onEnterCancelled:_,onLeave:m,onLeaveCancelled:T,onBeforeAppear:x=E,onAppear:P=b,onAppearCancelled:L=_}=t,R=(A,q,j,ee)=>{A._enterCancelled=ee,Fn(A,q?c:a),Fn(A,q?u:o),j&&j()},O=(A,q)=>{A._isLeaving=!1,Fn(A,f),Fn(A,d),Fn(A,h),q&&q()},H=A=>(q,j)=>{const ee=A?P:b,D=()=>R(q,A,j);Xn(ee,[q,D]),Jc(()=>{Fn(q,A?l:i),Yt(q,A?c:a),Yc(ee)||Xc(q,r,g,D)})};return He(t,{onBeforeEnter(A){Xn(E,[A]),Yt(A,i),Yt(A,o)},onBeforeAppear(A){Xn(x,[A]),Yt(A,l),Yt(A,u)},onEnter:H(!1),onAppear:H(!0),onLeave(A,q){A._isLeaving=!0;const j=()=>O(A,q);Yt(A,f),A._enterCancelled?(Yt(A,h),Ba(A)):(Ba(A),Yt(A,h)),Jc(()=>{A._isLeaving&&(Fn(A,f),Yt(A,d),Yc(m)||Xc(A,r,w,j))}),Xn(m,[A,j])},onEnterCancelled(A){R(A,!1,void 0,!0),Xn(_,[A])},onAppearCancelled(A){R(A,!0,void 0,!0),Xn(L,[A])},onLeaveCancelled(A){O(A),Xn(T,[A])}})}function Xv(e){if(e==null)return null;if(_e(e))return[Jo(e.enter),Jo(e.leave)];{const t=Jo(e);return[t,t]}}function Jo(e){return ld(e)}function Yt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Br]||(e[Br]=new Set)).add(t)}function Fn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Br];n&&(n.delete(t),n.size||(e[Br]=void 0))}function Jc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Qv=0;function Xc(e,t,n,r){const s=e._endId=++Qv,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:a,propCount:l}=Oh(e,t);if(!o)return r();const u=o+"end";let c=0;const f=()=>{e.removeEventListener(u,h),i()},h=d=>{d.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,h)}function Oh(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),s=r(`${In}Delay`),i=r(`${In}Duration`),o=Qc(s,i),a=r(`${ss}Delay`),l=r(`${ss}Duration`),u=Qc(a,l);let c=null,f=0,h=0;t===In?o>0&&(c=In,f=o,h=i.length):t===ss?u>0&&(c=ss,f=u,h=l.length):(f=Math.max(o,u),c=f>0?o>u?In:ss:null,h=c?c===In?i.length:l.length:0);const d=c===In&&/\b(?:transform|all)(?:,|$)/.test(r(`${In}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:d}}function Qc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Zc(n)+Zc(e[r])))}function Zc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ba(e){return(e?e.ownerDocument:document).body.offsetHeight}function Zv(e,t,n){const r=e[Br];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Gi=Symbol("_vod"),Ih=Symbol("_vsh"),VS={name:"show",beforeMount(e,{value:t},{transition:n}){e[Gi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):is(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),is(e,!0),r.enter(e)):r.leave(e,()=>{is(e,!1)}):is(e,t))},beforeUnmount(e,{value:t}){is(e,t)}};function is(e,t){e.style.display=t?e[Gi]:"none",e[Ih]=!t}const em=Symbol(""),tm=/(?:^|;)\s*display\s*:/;function nm(e,t,n){const r=e.style,s=Ae(n);let i=!1;if(n&&!s){if(t)if(Ae(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Ri(r,a,"")}else for(const o in t)n[o]==null&&Ri(r,o,"");for(const o in n)o==="display"&&(i=!0),Ri(r,o,n[o])}else if(s){if(t!==n){const o=r[em];o&&(n+=";"+o),r.cssText=n,i=tm.test(n)}}else t&&e.removeAttribute("style");Gi in e&&(e[Gi]=i?r.display:"",e[Ih]&&(r.display="none"))}const eu=/\s*!important$/;function Ri(e,t,n){if(se(n))n.forEach(r=>Ri(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=rm(e,t);eu.test(n)?e.setProperty(Cn(r),n.replace(eu,""),"important"):e[r]=n}}const tu=["Webkit","Moz","ms"],Xo={};function rm(e,t){const n=Xo[t];if(n)return n;let r=ct(t);if(r!=="filter"&&r in e)return Xo[t]=r;r=yo(r);for(let s=0;s<tu.length;s++){const i=tu[s]+r;if(i in e)return Xo[t]=i}return t}const nu="http://www.w3.org/1999/xlink";function ru(e,t,n,r,s,i=t_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(nu,t.slice(6,t.length)):e.setAttributeNS(nu,t,n):n==null||i&&!cd(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Vt(n)?String(n):n)}function su(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ph(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=cd(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function ir(e,t,n,r){e.addEventListener(t,n,r)}function sm(e,t,n,r){e.removeEventListener(t,n,r)}const iu=Symbol("_vei");function im(e,t,n,r,s=null){const i=e[iu]||(e[iu]={}),o=i[t];if(r&&o)o.value=r;else{const[a,l]=om(t);if(r){const u=i[t]=cm(r,s);ir(e,a,u,l)}else o&&(sm(e,a,o,l),i[t]=void 0)}}const ou=/(?:Once|Passive|Capture)$/;function om(e){let t;if(ou.test(e)){t={};let r;for(;r=e.match(ou);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Cn(e.slice(2)),t]}let Qo=0;const am=Promise.resolve(),lm=()=>Qo||(am.then(()=>Qo=0),Qo=Date.now());function cm(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;qt(um(r,n.value),t,5,[r])};return n.value=e,n.attached=lm(),n}function um(e,t){if(se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const au=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,fm=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?Zv(e,r,o):t==="style"?nm(e,n,r):Zs(t)?Ol(t)||im(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):dm(e,t,r,o))?(su(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ru(e,t,r,o,i,t!=="value")):e._isVueCE&&(hm(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ae(r)))?su(e,ct(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ru(e,t,r,o))};function dm(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&au(t)&&oe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return au(t)&&Ae(n)?!1:t in e}function hm(e,t){const n=e._def.props;if(!n)return!1;const r=ct(t);return Array.isArray(n)?n.some(s=>ct(s)===r):Object.keys(n).some(s=>ct(s)===r)}const Lh=new WeakMap,Mh=new WeakMap,Ki=Symbol("_moveCb"),lu=Symbol("_enterCb"),pm=e=>(delete e.props.mode,e),gm=pm({name:"TransitionGroup",props:He({},Ch,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=_t(),r=Hd();let s,i;return ql(()=>{if(!s.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!ym(s[0].el,n.vnode.el,o)){s=[];return}
4s.forEach(_m),s.forEach(vm);const a=s.filter(mm);Ba(n.vnode.el),a.forEach(l=>{const u=l.el,c=u.style;Yt(u,o),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[Ki]=h=>{h&&h.target!==u||(!h||h.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",f),u[Ki]=null,Fn(u,o))};u.addEventListener("transitionend",f)}),s=[]}),()=>{const o=he(e),a=Ah(o);let l=o.tag||Qe;if(s=[],i)for(let u=0;u<i.length;u++){const c=i[u];c.el&&c.el instanceof Element&&(s.push(c),Kn(c,Vs(c,a,r,n)),Lh.set(c,Nh(c.el)))}i=t.default?Vl(t.default()):[];for(let u=0;u<i.length;u++){const c=i[u];c.key!=null&&Kn(c,Vs(c,a,r,n))}return Ie(l,null,i)}}}),WS=gm;function _m(e){const t=e.el;t[Ki]&&t[Ki](),t[lu]&&t[lu]()}function vm(e){Mh.set(e,Nh(e.el))}function mm(e){const t=Lh.get(e),n=Mh.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const i=e.el,o=i.style,a=i.getBoundingClientRect();let l=1,u=1;return i.offsetWidth&&(l=a.width/i.offsetWidth),i.offsetHeight&&(u=a.height/i.offsetHeight),(!Number.isFinite(l)||l===0)&&(l=1),(!Number.isFinite(u)||u===0)&&(u=1),Math.abs(l-1)<.01&&(l=1),Math.abs(u-1)<.01&&(u=1),o.transform=o.webkitTransform=`translate(${r/l}px,${s/u}px)`,o.transitionDuration="0s",e}}function Nh(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function ym(e,t,n){const r=e.cloneNode(),s=e[Br];s&&s.forEach(a=>{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:o}=Oh(r);return i.removeChild(r),o}const zi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return se(t)?n=>Ar(t,n):t};function bm(e){e.target.composing=!0}function cu(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Nr=Symbol("_assign");function uu(e,t,n){return t&&(e=e.trim()),n&&(e=Ml(e)),e}const qS={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Nr]=zi(s);const i=r||s.props&&s.props.type==="number";ir(e,t?"change":"input",o=>{o.target.composing||e[Nr](uu(e.value,n,i))}),(n||i)&&ir(e,"change",()=>{e.value=uu(e.value,n,i)}),t||(ir(e,"compositionstart",bm),ir(e,"compositionend",cu),ir(e,"change",cu))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[Nr]=zi(o),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Ml(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},GS={created(e,{value:t},n){e.checked=Hs(t,n.props.value),e[Nr]=zi(n),ir(e,"change",()=>{e[Nr](wm(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Nr]=zi(r),t!==n&&(e.checked=Hs(t,r.props.value))}};function wm(e){return"_value"in e?e._value:e.value}const Em=["ctrl","shift","alt","meta"],Tm={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)=>Em.some(n=>e[`${n}Key`]&&!t.includes(n))},KS=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...i)=>{for(let o=0;o<t.length;o++){const a=Tm[t[o]];if(a&&a(s,t))return}return e(s,...i)}))},xm={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},zS=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(s=>{if(!("key"in s))return;const i=Cn(s.key);if(t.some(o=>o===i||xm[o]===i))return e(s)}))},Fh=He({patchProp:fm},zv);let Ms,fu=!1;function Sm(){return Ms||(Ms=Pv(Fh))}function km(){return Ms=fu?Ms:Rv(Fh),fu=!0,Ms}const Pm=((...e)=>{const t=Sm().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Dh(r);if(!s)return;const i=t._component;!oe(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,$h(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t}),Rm=((...e)=>{const t=km().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Dh(r);if(s)return n(s,!0,$h(s))},t});function $h(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Dh(e){return Ae(e)?document.querySelector(e):e}const Cm=/"(?:_|\\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*:/,Am=/"(?: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*:/,Om=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Im(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Lm(e);return}return t}function Lm(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Yi(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(!Om.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Cm.test(e)||Am.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Im)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}
4const Hh=/#/g,jh=/&/g,Mm=/\//g,Nm=/=/g,Fm=/\?/g,Io=/\+/g,$m=/%5e/gi,Dm=/%60/gi,Hm=/%7c/gi,jm=/%20/gi,Um=/%2f/gi,Bm=/%252f/gi;function Uh(e){return encodeURI(""+e).replace(Hm,"|")}function Va(e){return Uh(typeof e=="string"?e:JSON.stringify(e)).replace(Io,"%2B").replace(jm,"+").replace(Hh,"%23").replace(jh,"%26").replace(Dm,"`").replace($m,"^").replace(Mm,"%2F")}function Zo(e){return Va(e).replace(Nm,"%3D")}function Vm(e){return Uh(e).replace(Hh,"%23").replace(Fm,"%3F").replace(Bm,"%2F").replace(jh,"%26").replace(Io,"%2B")}function qs(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Wm(e){return qs(e.replace(Um,"%252F"))}function qm(e){return qs(e.replace(Io," "))}function Gm(e){return qs(e.replace(Io," "))}function Bh(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=qm(r[1]);if(s==="__proto__"||s==="constructor")continue;const i=Gm(r[2]||"");t[s]===void 0?t[s]=i:Array.isArray(t[s])?t[s].push(i):t[s]=[t[s],i]}return t}function Km(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Zo(e)}=${Va(n)}`).join("&"):`${Zo(e)}=${Va(t)}`:Zo(e)}function zm(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Km(t,e[t])).filter(Boolean).join("&")}const Ym=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Vh=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Jm=/^([/\\]\s*){2,}[^/\\]/,Xm=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Qm=/\/$|\/\?|\/#/,Zm=/^\.?\//;function Yn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Ym.test(e):Vh.test(e)||(t.acceptRelative?Jm.test(e):!1)}function ey(e){return!!e&&Xm.test(e)}function Wa(e="",t){return t?Qm.test(e):e.endsWith("/")}function Ji(e="",t){if(!t)return(Wa(e)?e.slice(0,-1):e)||"/";if(!Wa(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[i,...o]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(o.length>0?`?${o.join("?")}`:"")+r}function ty(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Wa(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[i,...o]=n.split("?");return i+"/"+(o.length>0?`?${o.join("?")}`:"")+r}function ny(e=""){return e.startsWith("/")}function YS(e=""){return ny(e)?e:"/"+e}function ry(e,t){if(qh(t)||Yn(e))return e;const n=Ji(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return Zl(n,e)}function du(e,t){if(qh(t))return e;const n=Ji(t);if(!e.startsWith(n))return e;const r=e[n.length];if(r&&r!=="/"&&r!=="?")return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function Wh(e,t){const n=ec(e),r={...Bh(n.search),...t};return n.search=zm(r),ly(n)}function qh(e){return!e||e==="/"}function sy(e){return e&&e!=="/"}function Zl(e,...t){let n=e||"";for(const r of t.filter(s=>sy(s)))if(n){const s=r.replace(Zm,"");n=ty(n)+s}else n=r;return n}function Gh(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const o of n)if(!(!o||o==="/")){for(const[a,l]of o.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&Yn(r[0]))continue;r.pop(),s--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),s++}}let i=r.join("/");return s>=0?n[0]?.startsWith("/")&&!i.startsWith("/")?i="/"+i:n[0]?.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*s)+i,n[n.length-1]?.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function iy(e){return oy(e,"https://")}function oy(e,t){let n=e.match(Vh);return n||(n=e.match(/^\/{2,}/)),n?t+e.slice(n[0].length):t+e}function ay(e,t){return qs(Ji(e))===qs(Ji(t))}const Kh=Symbol.for("ufo:protocolRelative");function ec(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,h=""]=n;return{protocol:f.toLowerCase(),pathname:h,href:f+h,auth:"",host:"",search:"",hash:""}}if(!Yn(e,{acceptRelative:!0}))return hu(e);const[,r="",s,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=hu(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:o,pathname:l,search:u,hash:c,[Kh]:!r}}function hu(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function ly(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?""
4:"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Kh]?(e.protocol||"")+"//":"")+s+i+t+n+r}class cy extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function uy(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",o=`${s}: ${i}${t?` ${t}`:""}`,a=new cy(o,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[u]}});return a}const fy=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function pu(e="GET"){return fy.has(e.toUpperCase())}function dy(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const hy=new Set(["image/svg","application/xml","application/xhtml","application/html"]),py=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function gy(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return py.test(t)?"json":t==="text/event-stream"?"stream":hy.has(t)||t.startsWith("text/")?"text":"blob"}function _y(e,t,n,r){const s=vy(t?.headers??e?.headers,n?.headers,r);let i;return(n?.query||n?.params||t?.params||t?.query)&&(i={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:i,params:i,headers:s}}function vy(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,i);return r}async function gi(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const my=new Set([408,409,425,429,500,502,503,504]),yy=new Set([101,204,205,304]);function zh(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=pu(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):my.has(f))){const h=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return h>0&&await new Promise(d=>setTimeout(d,h)),i(a.request,{...a.options,retry:c-1})}}const u=uy(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(l,u={}){const c={request:l,options:_y(l,u,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await gi(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=ry(c.request,c.options.baseURL)),c.options.query&&(c.request=Wh(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&&pu(c.options.method))if(dy(c.options.body)){const d=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),d||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("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 d=new r;f=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,d.abort(p)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await gi(c,c.options.onRequestError),await s(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!yy.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||gy(c.response.headers.get("content-type")||"");switch(d){case"json":{const p=await c.response.text(),g=c.options.parseResponse||Yi;c.response._data=g(p);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await gi(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await gi(c,c.options.onResponseError),await s(c)):c.response},o=async function(l,u){return(await i(l,u))._data};return o.raw=i,o.native=(...a)=>t(...a),o.create=(a={},l={})=>zh({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),o}const Xi=(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")})(),by=Xi.fetch?(...e)=>Xi.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),wy=Xi.Headers,Ey=Xi.AbortController,Ty=zh({fetch:by,Headers:wy,AbortController:Ey}),xy=Ty,Sy=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,tc=()=>Sy().app,ky=()=>tc().baseURL,Py=()=>tc().buildAssetsDir,nc=(...e)=>Gh(Yh(),Py(),...e),Yh=(...e)=>{const t=tc(),n=t.cdnURL||t.baseURL;return e.length?Gh(n,...e):n};globalThis.__buildAssetsURL=nc,globalThis.__publicAssetsURL=Yh;globalThis.$fetch||(globalThis.$fetch=xy.create({baseURL:ky()}));"global"in globalThis||(globalThis.global=globalThis);function qa(e,t={},n){for(const r in e){const s=e[r],i=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?qa(s,t,i):typeof s=="function"&&(t[i]=s)}return t}const Ry={run:e=>e()},Cy=()=>Ry,Jh=typeof console.createTask<"u"?console.createTask:Cy;function Ay(e,t){const n=t.shift(),r=Jh(n);return e.reduce((s,i)=>s.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Oy(e,t){const n=t.shift(),r=Jh(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function ea(e,t){for(const n of[...e])n(t)}let Iy=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let o=i.message;o||(o=`${s} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||
4(console.warn(o),this._deprecatedMessages.add(o))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...i)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...i));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=qa(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=qa(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(Ay,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Oy,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&ea(this._before,s);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&s&&ea(this._after,s)}):(this._after&&s&&ea(this._after,s),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}};function Ly(){return new Iy}function My(e={}){let t,n=!1;const r=o=>{if(t&&t!==o)throw new Error("Context conflict")};let s;if(e.asyncContext){const o=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;o?s=new o:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(s){const o=s.getStore();if(o!==void 0)return o}return t};return{use:()=>{const o=i();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>i(),set:(o,a)=>{a||r(o),t=o,n=!0},unset:()=>{t=void 0,n=!1},call:(o,a)=>{r(o),t=o;try{return s?s.run(o,a):a()}finally{n||(t=void 0)}},async callAsync(o,a){t=o;const l=()=>{t=o},u=()=>t===o?l:void 0;Ga.add(u);try{const c=s?s.run(o,a):a();return n||(t=void 0),await c}finally{Ga.delete(u)}}}}function Ny(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=My({...e,...r})),t[n]}}}const Qi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},gu="__unctx__",Fy=Qi[gu]||(Qi[gu]=Ny()),$y=(e,t={})=>Fy.get(e,t),_u="__unctx_async_handlers__",Ga=Qi[_u]||(Qi[_u]=new Set);function Fr(e){const t=[];for(const s of Ga){const i=s();i&&t.push(i)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const Dy=!1,vu=!1,Hy=!1,mu={id:"__nuxt-loader"},XS={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},QS={deep:!1},ZS={},jy="#__nuxt",Xh="nuxt-app",yu=36e5,Uy="vite:preloadError";function Qh(e=Xh){return $y(e,{asyncContext:!1})}const By="__nuxt_plugin";function Vy(e){let t=0;const n={_id:e.id||Xh||"nuxt-app",_scope:s_(),provide:void 0,versions:{get nuxt(){return"4.3.1"},get vue(){return n.vueApp.version}},payload:sn({...e.ssrContext?.payload||{},data:sn({}),state:zn({}),once:new Set,_errors:sn({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!To()?n._scope.run(()=>bu(n,s)):bu(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:sn({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const i in s)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],s[i]);break;default:n.payload[i]=s[i]}}n.hooks=Ly(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,i)=>{const o="$"+s;_i(n,o,i),_i(n.vueApp.config.globalProperties,o,i)},_i(n.vueApp,"$nuxt",n),_i(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(Uy,i=>{n.callHook("app:chunkError",{error:i.payload}),i.payload.message.includes("Unable to preload CSS")&&i.preventDefault()}),window.useNuxtApp||=We;const s=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function Wy(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function qy(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 Gy(e,t){const n=new Set,r=[],s=[];let i,o=0;
4async function a(l){const u=l.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!n.has(c))??[];if(u.length>0)r.push([new Set(u),l]);else{const c=qy(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([f,h])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(o++,await a(h)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;i||=f});l.parallel?s.push(c):await c}}for(const l of t)Wy(e,l);for(const l of t)await a(l);if(await Promise.all(s),o)for(let l=0;l<o;l++)await Promise.all(s);if(i)throw e.payload.error||i}function It(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[By]:!0,_name:t})}function bu(e,t,n){const r=()=>t();return Qh(e._id).set(e),e.vueApp.runWithContext(r)}function Ky(e){let t;return Zr()&&(t=_t()?.appContext.app.$nuxt),t||=Qh(e).tryUse(),t||null}function We(e){const t=Ky(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function si(e){return We().$config}function _i(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ta(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 Ka(e,t,n=".",r){if(!ta(t))return Ka(e,{},n,r);const s=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const o=e[i];o!=null&&(r&&r(s,i,o,n)||(Array.isArray(o)&&Array.isArray(s[i])?s[i]=[...o,...s[i]]:ta(o)&&ta(s[i])?s[i]=Ka(o,s[i],(n?`${n}.`:"")+i.toString(),r):s[i]=o))}return s}function zy(e){return(...t)=>t.reduce((n,r)=>Ka(n,r,"",e),{})}const Zh=zy();function Yy(e,t){try{return t in e}catch{return!1}}class wu extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:za(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=ep(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function Jy(e){if(typeof e=="string")return new wu(e);if(Xy(e))return e;const t=new wu(e.message??e.statusMessage??"",{cause:e.cause||e});if(Yy(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=za(e.statusCode,t.statusCode):e.status&&(t.statusCode=za(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;ep(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 Xy(e){return e?.constructor?.__h3_error__===!0}function ek(e){const t={};for(const n in e.node.req.headers){const r=e.node.req.headers[n];t[n]=Array.isArray(r)?r.filter(Boolean).join(", "):r}return t}const Qy=/[^\u0009\u0020-\u007E]/g;function ep(e=""){return e.replace(Qy,"")}function za(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const tp=Symbol("layout-meta"),pr=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const xt=()=>We()?.$router,ii=()=>Zr()?ze(pr,We()._route):We()._route;const Zy=()=>{try{if(We()._processingMiddleware)return!0}catch{return!1}return!1},tk=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?eb(e):xt().resolve(e).href;if(t?.open){const{target:u="_blank",windowFeatures:c={}}=t.open,f=[];for(const[h,d]of Object.entries(c))d!==void 0&&f.push(`${h.toLowerCase()}=${d}`);return open(n,u,f.join(", ")),Promise.resolve()}const r=Yn(n,{acceptRelative:!0}),s=t?.external||r;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:u}=new URL(n,window.location.href);if(u&&ey(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const i=Zy();if(!s&&i){if(t?.replace){if(typeof e=="string"){const{pathname:u,search:c,hash:f}=ec(e);return{path:u,...c&&{query:Bh(c)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const o=xt(),a=We();if(s)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}
4):!1:Promise.resolve();const l=typeof e=="string"?tb(e):e;return t?.replace?o.replace(l):o.push(l)};function eb(e){return Wh(e.path||"",e.query||{})+(e.hash||"")}function tb(e){const t=ec(e);return Vm(Wm(t.pathname))+t.search+t.hash}const np="__nuxt_error",Lo=()=>jl(We().payload,"error"),rr=e=>{const t=fr(e);try{const n=Lo();We().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},nb=async(e={})=>{const t=We(),n=Lo();t.callHook("app:error:cleared",e),e.redirect&&await xt().replace(e.redirect),n.value=void 0},rp=e=>!!e&&typeof e=="object"&&np in e,fr=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=Jy(e);return Object.defineProperty(t,np,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function rb(e){const t=ib(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const sb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function ib(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=sb.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const ob=-1,ab=-2,lb=-3,cb=-4,ub=-5,fb=-6,db=-7;function hb(e,t){return pb(JSON.parse(e),t)}function pb(e,t){if(typeof e=="number")return i(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let s=null;function i(o,a=!1){if(o===ob)return;if(o===lb)return NaN;if(o===cb)return 1/0;if(o===ub)return-1/0;if(o===fb)return-0;if(a||typeof o!="number")throw new Error("Invalid input");if(o in r)return r[o];const l=n[o];if(!l||typeof l!="object")r[o]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const u=l[0],c=t&&Object.hasOwn(t,u)?t[u]:void 0;if(c){let f=l[1];if(typeof f!="number"&&(f=n.push(l[1])-1),s??=new Set,s.has(f))throw new Error("Invalid circular reference");return s.add(f),r[o]=c(i(f)),s.delete(f),r[o]}switch(u){case"Date":r[o]=new Date(l[1]);break;case"Set":const f=new Set;r[o]=f;for(let p=1;p<l.length;p+=1)f.add(i(l[p]));break;case"Map":const h=new Map;r[o]=h;for(let p=1;p<l.length;p+=2)h.set(i(l[p]),i(l[p+1]));break;case"RegExp":r[o]=new RegExp(l[1],l[2]);break;case"Object":r[o]=Object(l[1]);break;case"BigInt":r[o]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[o]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=i(l[p+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(n[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const p=globalThis[u],g=i(l[1]),w=new p(g);r[o]=l[2]!==void 0?w.subarray(l[2],l[3]):w;break}case"ArrayBuffer":{const p=l[1];if(typeof p!="string")throw new Error("Invalid ArrayBuffer encoding");const g=rb(p);r[o]=g;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const p=u.slice(9);r[o]=Temporal[p].from(l[1]);break}case"URL":{const p=new URL(l[1]);r[o]=p;break}case"URLSearchParams":{const p=new URLSearchParams(l[1]);r[o]=p;break}default:throw new Error(`Unknown type ${u}`)}}else if(l[0]===db){const u=l[1],c=new Array(u);r[o]=c;for(let f=2;f<l.length;f+=2){const h=l[f];c[h]=i(l[f+1])}}else{const u=new Array(l.length);r[o]=u;for(let c=0;c<l.length;c+=1){const f=l[c];f!==ab&&(u[c]=i(f))}}else{const u={};r[o]=u;
4for(const c of Object.keys(l)){if(c==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=l[c];u[c]=i(f)}}return r[o]}return i(0)}const gb=new Set(["link","style","script","noscript"]),_b=new Set(["title","titleTemplate","script","style","noscript"]),Eu=new Set(["base","meta","link","style","script","noscript"]),vb=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),mb=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),yb=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),bb=new Set(["templateParams","htmlAttrs","bodyAttrs"]),wb=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);function Ya(e,t={},n){for(const r in e){const s=e[r],i=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Ya(s,t,i):typeof s=="function"&&(t[i]=s)}return t}const sp=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function ip(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const i=r?r.run(()=>e[s](...t)):e[s](...t);if(i instanceof Promise)return i.then(()=>ip(e,t,s+1,r))}catch(i){return Promise.reject(i)}}function Eb(e,t,n){if(e.length>0)return ip(e,t,0,sp(n))}function Tb(e,t,n){if(e.length>0){const r=sp(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function na(e,t){for(const n of[...e])n(t)}var xb=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let i=s.message;i||(i=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...s)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...s));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Ya(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=Ya(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(Eb,e,t)}callHookParallel(e,...t){return this.callHookWith(Tb,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&na(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&na(this._after,r)}):(this._after&&r&&na(this._after,r),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function Sb(){return new xb}const kb=["name","property","http-equiv"],Pb=new Set(["viewport","description","keywords","robots"]);function op(e){const t=e.split(":");return t.length?wb.has(t[1]):!1}function Ja(e){const{props:t,tag:n}=e;if(mb.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){const r=t.hreflang||t.type;if(r)return`alternate:${r}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of kb)if(t[r]!==void 0){const s=t[r],i=s&&typeof s=="string"&&s.includes(":"),o=s&&Pb.has(s),l=!(i||o)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(_b.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function ap(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function Zi(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(i=>Zi(i,t));if(s?.constructor===Object){const i={};for(const o of Object.keys(s))i[o]=Zi(s[o],t,o);return i}return s}function Rb(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const i=String(s).trim();if(i)if(e==="style"){const[o,...a]=i.split(":").map(l=>l?l.trim():"");o&&a.length&&n.set(o,a.join(":"))}
4else i.split(" ").filter(Boolean).forEach(o=>n.add(o))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,i])=>{i&&i!=="false"&&(e==="style"?n.set(String(s).trim(),String(i)):r(s))}),n}function lp(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=Rb(n,r);return}if(yb.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&a!=="speculationrules")return;t.type=a,e.props.type=a,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),i=n.startsWith("data-"),o=e.tag==="meta"&&n==="content";s==="true"||s===""?e.props[n]=i||o?s:!0:!r&&i&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function Cb(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=lp({tag:e,props:{}},n);return r.key&&gb.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function Ab(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,i)=>{for(let o=0;o<t.length;o++)i=t[o](s,i);return i};e=n(void 0,e);const r=[];return e=Zi(e,n),Object.entries(e||{}).forEach(([s,i])=>{if(i!==void 0)for(const o of Array.isArray(i)?i:[i])r.push(Cb(s,o))}),r.flat()}const Tu=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,xu={base:-10,title:10},Ob={critical:-8,high:-1,low:2},Su={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}},Ib=/@import/,os=e=>e===""||e===!0;
4function Lb(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Ob[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Su;if(t.tag in xu)n=xu[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(n=Su.meta[i])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const i=String(t.props.type);os(t.props.async)?n=s.script.async:t.props.src&&!os(t.props.defer)&&!os(t.props.async)&&i!=="module"&&!i.endsWith("json")||t.innerHTML&&!i.endsWith("json")?n=s.script.sync:(os(t.props.defer)&&t.props.src&&!os(t.props.async)||i==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&Ib.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function ku(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 Mb(e={}){const t=Sb();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,i=new Set,o={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>ku(o,a),push(a,l){const u={...l||{}};delete u.head;const c=u._index??o._entryCount++,f={_i:c,input:a,options:u},h={_poll(d=!1){o.dirty=!0,!d&&i.add(c),t.callHook("entries:updated",o)},dispose(){r.delete(c)&&o.invalidate()},patch(d){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=d,r.set(c,f),h._poll())}};return h.patch(a),h},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook("entries:resolve",a);i.size;){const h=i.values().next().value;i.delete(h);const d=r.get(h);if(d){const p={tags:Ab(d.input,e.propResolvers||[]).map(g=>Object.assign(g,d.options)),entry:d};await t.callHook("entries:normalize",p),d._tags=p.tags.map((g,w)=>(g._w=Lb(o,g),g._p=(d._i<<10)+w,g._d=Ja(g),g._d||(g._h=ap(g)),g))}}let l=!1;a.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Tu).reduce((h,d)=>{const p=d._d||d._h;if(!h.has(p))return h.set(p,d);const g=h.get(p);if((d?.tagDuplicateStrategy||(bb.has(d.tag)?"merge":null)||(d.key&&d.key===g.key?"merge":null))==="merge"){const E={...g.props};Object.entries(d.props).forEach(([b,_])=>E[b]=b==="style"?new Map([...g.props.style||new Map,..._]):b==="class"?new Set([...g.props.class||new Set,..._]):_),h.set(p,{...d,props:E})}else d._p>>10===g._p>>10&&d.tag==="meta"&&op(p)?(h.set(p,Object.assign([...Array.isArray(g)?g:[g],d],d)),l=!0):(d._w===g._w?d._p>g._p:d?._w<g?._w)&&h.set(p,d);return h},a.tagMap);const u=a.tagMap.get("title"),c=a.tagMap.get("titleTemplate");if(o._title=u?.textContent,c){const h=c?.textContent;if(o._titleTemplate=h,h){let d=typeof h=="function"?h(u?.textContent):h;typeof d=="string"&&!o.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:d}):(c.tag="title",c.textContent=d)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(Tu)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const h of a.tags){const{innerHTML:d,tag:p,props:g}=h;if(vb.has(p)&&!(Object.keys(g).length===0&&!h.innerHTML&&!h.textContent)&&!(p==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(p==="script"&&d){if(String(g.type).endsWith("json")){const w=typeof d=="string"?d:JSON.stringify(d);h.innerHTML=w.replace(/</g,"\\u003C")}else typeof d=="string"&&(h.innerHTML=d.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));h._d=Ja(h)}f.push(h)}}return f},invalidate(){for(const a of r.values())i.add(a._i);o.dirty=!0,t.callHook("entries:updated",o)}};return(e?.plugins||[]).forEach(a=>ku(o,a)),o.hooks.callHook("init",o),e.init?.forEach(a=>a&&o.push(a)),o}const Nb=(e,t)=>Ne(t)?gt(t):t,rc="usehead";function Fb(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(rc,e)}}.install}function $b(){if(Zr()){const e=ze(rc);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Db(e,t={}){const n=t.head||$b();return n.ssr?n.push(e||{},t):Hb(n,e,t)}function Hb(e,t,n={}){const r=Bt(!1);let s;return Md(()=>{const o=r.value?{}:Zi(t,Nb);s?s.patch(o):s=e.push(o,n)}),_t()&&(ri(()=>{s.dispose()}),qd(()=>{r.value=!0}),Wd(()=>{r.value=!1})),s}function jb(e){const t=e||We();return t.ssrContext?.head||t.runWithContext(()=>{if(Zr()){const n=ze(rc);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function Ub(e,t={}){const n=t.head||jb(t.nuxt);return Db(e,{head:n,...t})}const Bb=(()=>{const e={},t={prerender:!0},n={redirect:"/study/review"},r={prerender:!1},s={payload:!1};return(i,o)=>{let a=[];o.charCodeAt(o.length-1)===47&&(o=o.slice(0,-1)||"/"),o==="/"&&a.unshift({data:e}),o==="/blog"&&a.unshift({data:t}),o==="/review"&&a.unshift({data:n}),o==="/admin"&&a.unshift({data:r}),o==="/__sitemap__/style.xsl"&&a.unshift({data:e}),o==="/sitemap.xml"&&a.unshift({data:e}),o==="/__nuxt_content/blog/sql_dump.txt"&&a.unshift({data:t});let l=o.split("/");return l.length-1,l[1]==="blog"&&a.unshift({data:t,params:{_:l.slice(2).join("/")}}),l[1]==="admin"&&a.unshift({data:r,params:{_:l.slice(2).join("/")}}),l[1]==="__nuxt_content"&&a.unshift({data:s,params:{_:l.slice(2).join("/")}}),a}})(),cp=e=>Zh({},...Bb("",e).map(t=>t.data).reverse()),Vb=cp;let Ci;function Wb(){return Ci=$fetch(nc(`builds/meta/${si().app.buildId}.json`),{responseType:"json"}),Ci.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ci}function sc(){return Ci||Wb()}function Mo(e){const t=typeof e=="string"?e:e.path;try{return Vb(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Pu(e,t={}){if(await Kb(e)){const n=await Gb(e,t);return await up(n)||null}return null}const qb="_payload.json";async function Gb(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Yn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);
4const r=si(),s=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,o=i&&await zb(e)?i:r.app.baseURL;return Zl(o,n.pathname,qb+(s?`?${s}`:""))}async function up(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(hp));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}function fp(e){if(e.redirect)return!1;if(e.prerender)return!0}async function dp(e){return e=e==="/"?e:e.replace(/\/$/,""),(await sc()).prerendered.includes(e)}async function Kb(e=ii().path){const t=Mo({path:e}),n=fp(t);return n!==void 0?n:t.payload?!0:await dp(e)}async function zb(e=ii().path){const t=fp(Mo({path:e}));return t!==void 0?t:await dp(e)}let Qn=null;async function Yb(){if(Qn)return Qn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await hp(e.textContent||""),n=e.dataset.src?await up(e.dataset.src):void 0;return Qn={...t,...n,...window.__NUXT__},Qn.config?.public&&(Qn.config.public=zn(Qn.config.public)),Qn}async function hp(e){return await hb(e,We()._payloadRevivers)}function Jb(e,t){We()._payloadRevivers[e]=t}const Xb=[["NuxtError",e=>fr(e)],["EmptyShallowRef",e=>pt(e==="_"?void 0:e==="0n"?BigInt(0):Yi(e))],["EmptyRef",e=>Bt(e==="_"?void 0:e==="0n"?BigInt(0):Yi(e))],["ShallowRef",e=>pt(e)],["ShallowReactive",e=>sn(e)],["Ref",e=>Bt(e)],["Reactive",e=>zn(e)]],Qb=It({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of Xb)Jb(r,s);Object.assign(e.payload,([t,n]=Fr(()=>e.runWithContext(Yb)),t=await t,n(),t)),delete window.__NUXT__}});async function ic(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const i=new Map,o=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(g=>{const w=i.get(g._d)||0,E={tag:g,id:(w?`${g._d}:${w}`:g._d)||g._h,shouldRender:!0};return g._d&&op(g._d)&&i.set(g._d,w+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 d of["body","head"]){const p=n[d]?.children;for(const g of p){const w=g.tagName.toLowerCase();if(!Eu.has(w))continue;const E=lp({tag:w,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((b,_)=>(b[_]=g.getAttribute(_),b),{})||{}});if(E.key=g.getAttribute("data-hid")||void 0,E._d=Ja(E)||ap(E),a.elMap.has(E._d)){let b=1,_=E._d;for(;a.elMap.has(_);)_=`${E._d}:${b++}`;a.elMap.set(_,g)}else a.elMap.set(E._d,g)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(d,p,g){const w=`${d}:${p}`;a.sideEffects[w]=g,delete a.pendingSideEffects[w]}function u({id:d,$el:p,tag:g}){const w=g.tag.endsWith("Attrs");a.elMap.set(d,p),w||(g.textContent&&g.textContent!==p.textContent&&(p.textContent=g.textContent),g.innerHTML&&g.innerHTML!==p.innerHTML&&(p.innerHTML=g.innerHTML),l(d,"el",()=>{p?.remove(),a.elMap.delete(d)}));for(const E in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,E))continue;const b=g.props[E];if(E.startsWith("on")&&typeof b=="function"){const m=p?.dataset;if(m&&m[`${E}fired`]){const T=E.slice(0,-5);b.call(p,new Event(T.substring(2)))}p.getAttribute(`data-${E}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:p).addEventListener(E.substring(2),b.bind(p)),p.setAttribute(`data-${E}`,""));continue}const _=`attr:${E}`;if(E==="class"){if(!b)continue;for(const m of b)w&&l(d,`${_}:${m}`,()=>p.classList.remove(m)),!p.classList.contains(m)&&p.classList.add(m)}else if(E==="style"){if(!b)continue;for(const[m,T]of b)l(d,`${_}:${m}`,()=>{p.style.removeProperty(m)}),p.style.setProperty(m,T)}else b!==!1&&b!==null&&(p.getAttribute(E)!==b&&p.setAttribute(E,b===!0?"":String(b)),w&&l(d,_,()=>p.removeAttribute(E)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await o;for(const d of h){const{tag:p,shouldRender:g,id:w}=d;if(g){if(p.tag==="title"){n.title=p.textContent,l("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(w),d.$el?u(d):Eu.has(p.tag)&&c.push(d)}}for(const d of c){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[p]=f[p]||n.createDocumentFragment(),f[p].appendChild(d.$el)}for(const d of h)await e.hooks.callHook("dom:renderTag",d,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 d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:h}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Zb(e={}){const t=e.domOptions?.render||ic;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Mb({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function e0(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function t0(e={}){const t=Zb({domOptions:{render:e0(()=>ic(t),n=>setTimeout(n,0))},...e});return t.install=Fb(t),t}const n0={disableDefaults:!0},r0=It({name:"nuxt:head",enforce:"pre",setup(e){const t=t0(n0);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await ic(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});const Er=typeof document<"u";function pp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
vendor: 24,381 bytes, line 4
4function s0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&pp(e.default)}const me=Object.assign;function ra(e,t){const n={};for(const r in t){const s=t[r];n[r]=Gt(s)?s.map(e):e(s)}return n}const Ns=()=>{},Gt=Array.isArray;function Ru(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const gp=/#/g,i0=/&/g,o0=/\//g,a0=/=/g,l0=/\?/g,_p=/\+/g,c0=/%5B/g,u0=/%5D/g,vp=/%5E/g,f0=/%60/g,mp=/%7B/g,d0=/%7C/g,yp=/%7D/g,h0=/%20/g;function oc(e){return e==null?"":encodeURI(""+e).replace(d0,"|").replace(c0,"[").replace(u0,"]")}function p0(e){return oc(e).replace(mp,"{").replace(yp,"}").replace(vp,"^")}function Xa(e){return oc(e).replace(_p,"%2B").replace(h0,"+").replace(gp,"%23").replace(i0,"%26").replace(f0,"`").replace(mp,"{").replace(yp,"}").replace(vp,"^")}function g0(e){return Xa(e).replace(a0,"%3D")}function _0(e){return oc(e).replace(gp,"%23").replace(l0,"%3F")}function v0(e){return _0(e).replace(o0,"%2F")}function Gs(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const m0=/\/$/,y0=e=>e.replace(m0,"");function sa(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),i=t.slice(l,a>0?a:t.length),s=e(i.slice(1))),a>=0&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=T0(r??t,n),{fullPath:r+i+o,path:r,query:s,hash:Gs(o)}}function b0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Cu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function w0(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Vr(t.matched[r],n.matched[s])&&bp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Vr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function bp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!E0(e[n],t[n]))return!1;return!0}function E0(e,t){return Gt(e)?Au(e,t):Gt(t)?Au(t,e):e?.valueOf()===t?.valueOf()}function Au(e,t){return Gt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function T0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,o,a;for(o=0;o<r.length;o++)if(a=r[o],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o).join("/")}const Nt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Qa=(function(e){return e.pop="pop",e.push="push",e})({}),ia=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function x0(e){if(!e)if(Er){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),y0(e)}const S0=/^[^#]+#/;function k0(e,t){return e.replace(S0,"#")+t}function P0(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 No=()=>({left:window.scrollX,top:window.scrollY});function R0(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=P0(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ou(e,t){return(history.state?history.state.position-t:-1)+e}const Za=new Map;function C0(e,t){Za.set(e,t)}function A0(e){const t=Za.get(e);return Za.delete(e),t}function O0(e){return typeof e=="string"||e&&typeof e=="object"}function wp(e){return typeof e=="string"||typeof e=="symbol"}let Me=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Ep=Symbol("");Me.MATCHER_NOT_FOUND+"",Me.NAVIGATION_GUARD_REDIRECT+"",Me.NAVIGATION_ABORTED+"",Me.NAVIGATION_CANCELLED+"",Me.NAVIGATION_DUPLICATED+"";function Wr(e,t){return me(new Error,{type:e,[Ep]:!0},t)}function dn(e,t){return e instanceof Error&&Ep in e&&(t==null||!!(e.type&t))}const I0=["params","query","hash"];function L0(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of I0)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function M0(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(_p," "),i=s.indexOf("="),o=Gs(i<0?s:s.slice(0,i)),a=i<0?null:Gs(s.slice(i+1));if(o in t){let l=t[o];Gt(l)||(l=t[o]=[l]),l.push(a)}else t[o]=a}return t}function Iu(e){let t="";for(let n in e){const r=e[n];if(n=g0(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Gt(r)?r.map(s=>s&&Xa(s)):[r&&Xa(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function N0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Gt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const F0=Symbol(""),Lu=Symbol(""),ac=Symbol(""),lc=Symbol(""),el=Symbol("");function as(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Hn(e,t,n,r,s,i=o=>o()){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const u=h=>{h===!1?l(Wr(Me.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?l(h):O0(h)?l(Wr(Me.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(o&&r.enterCallbacks[s]===o&&typeof h=="function"&&o.push(h),a())},c=i(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(h=>l(h))})}function oa(e,t,n,r,s=i=>i()){const i=[];for(const o of e)for(const a in o.components){let l=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(pp(l)){const u=(l.__vccOpts||l)[t];u&&i.push(Hn(u,n,r,o,a,s))}else{let u=l();i.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=s0(c)?c.default:c;o.mods[a]=c,o.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&Hn(h,n,r,o,a,s)()}))}}return i}function $0(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const a=t.matched[o];a&&(e.matched.find(u=>Vr(u,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(u=>Vr(u,l))||s.push(l))}return[n,r,s]}let D0=()=>location.protocol+"//"+location.host;function Tp(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let o=s.includes(e.slice(i))?e.slice(i).length:1,a=s.slice(o);return a[0]!=="/"&&(a="/"+a),Cu(a,"")}return Cu(n,e)+r+s}function H0(e,t,n,r){let s=[],i=[],o=null;const a=({state:h})=>{const d=Tp(e,location),p=n.value,g=t.value;let w=0;if(h){if(n.value=d,t.value=h,o&&o===p){o=null;return}w=g?h.position-g.position:0}else r(d);s.forEach(E=>{E(n.value,p,{delta:w,type:Qa.pop,direction:w?w>0?ia.forward:ia.back:ia.unknown})})};function l(){o=n.value}function u(h){s.push(h);const d=()=>{const p=s.indexOf(h);p>-1&&s.splice(p,1)};return i.push(d),d}function c(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(me({},h.state,{scroll:No()}),"")}}function f(){for(const h of i)h();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function Mu(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?No():null}}function j0(e){const{history:t,location:n}=window,r={value:Tp(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:D0()+e+l;try{t[c?"replaceState":"pushState"](u,"",h),s.value=u}catch(d){console.error(d),n[c?"replace":"assign"](h)}}function o(l,u){i(l,me({},t.state,Mu(s.value.back,l,s.value.forward,!0),u,{position:s.value.position}),!0),r.value=l}function a(l,u){const c=me({},s.value,t.state,{forward:l,scroll:No()});i(c.current,c,!0),i(l,me({},Mu(r.value,l,null),{position:c.position+1},u),!1),r.value=l}return{location:r,state:s,push:a,replace:o}}function U0(e){e=x0(e);const t=j0(e),n=H0(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=me({location:"",base:e,go:r,createHref:k0.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let or=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Ge=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Ge||{});const B0={type:or.Static,value:""},V0=/[a-zA-Z0-9_]/;function W0(e){if(!e)return[[]];if(e==="/")return[[B0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=Ge.Static,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,l,u="",c="";function f(){u&&(n===Ge.Static?i.push({type:or.Static,value:u}):n===Ge.Param||n===Ge.ParamRegExp||n===Ge.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:or.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==Ge.ParamRegExp){r=n,n=Ge.EscapeNext;continue}switch(n){case Ge.Static:l==="/"?(u&&f(),o()):l===":"?(f(),n=Ge.Param):h();break;case Ge.EscapeNext:h(),n=r;break;case Ge.Param:l==="("?n=Ge.ParamRegExp:V0.test(l)?h():(f(),n=Ge.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case Ge.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=Ge.ParamRegExpEnd:c+=l;break;case Ge.ParamRegExpEnd:f(),n=Ge.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===Ge.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),s}const Nu="[^/]+?",q0={sensitive:!1,strict:!1,start:!0,end:!0};var dt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(dt||{});const G0=/[.+*?^${}()[\]/\\]/g;function K0(e,t){const n=me({},q0,t),r=[];let s=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[dt.Root];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const h=u[f];let d=dt.Segment+(n.sensitive?dt.BonusCaseSensitive:0);if(h.type===or.Static)f||(s+="/"),s+=h.value.replace(G0,"\\$&"),d+=dt.Static;else if(h.type===or.Param){const{value:p,repeatable:g,optional:w,regexp:E}=h;i.push({name:p,repeatable:g,optional:w});const b=E||Nu;if(b!==Nu){d+=dt.BonusCustomRegExp;try{`${b}`}catch(m){throw new Error(`Invalid custom RegExp for param "${p}" (${b}): `+m.message)}}let _=g?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;f||(_=w&&u.length<2?`(?:/${_})`:"/"+_),w&&(_+="?"),s+=_,d+=dt.Dynamic,w&&(d+=dt.BonusOptional),g&&(d+=dt.BonusRepeatable),b===".*"&&(d+=dt.BonusWildcard)}c.push(d)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=dt.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const o=new RegExp(s,n.sensitive?"":"i");function a(u){const c=u.match(o),f={};if(!c)return null;for(let h=1;h<c.length;h++){const d=c[h]||"",p=i[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function l(u){let c="",f=!1;for(const h of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const d of h)if(d.type===or.Static)c+=d.value;else if(d.type===or.Param){const{value:p,repeatable:g,optional:w}=d,E=p in u?u[p]:"";if(Gt(E)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const b=Gt(E)?E.join("/"):E;if(!b)if(w)h.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);c+=b}}return c||"/"}return{re:o,score:r,keys:i,parse:a,stringify:l}}function z0(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===dt.Static+dt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===dt.Static+dt.Segment?1:-1:0}function xp(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const i=z0(r[n],s[n]);if(i)return i;n++}if(Math.abs(s.length-r.length)===1){if(Fu(r))return 1;if(Fu(s))return-1}return s.length-r.length}function Fu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Y0={strict:!1,end:!0,sensitive:!1};function J0(e,t,n){const r=K0(W0(e.path),n),s=me(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function X0(e,t){const n=[],r=new Map;t=Ru(Y0,t);function s(f){return r.get(f)}function i(f,h,d){const p=!d,g=Du(f);g.aliasOf=d&&d.record;const w=Ru(t,f),E=[g];if("alias"in f){const m=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of m)E.push(Du(me({},g,{components:d?d.record.components:g.components,path:T,aliasOf:d?d.record:g})))}let b,_;for(const m of E){const{path:T}=m;if(h&&T[0]!=="/"){const x=h.record.path,P=x[x.length-1]==="/"?"":"/";m.path=h.record.path+(T&&P+T)}if(b=J0(m,h,w),d?d.alias.push(b):(_=_||b,_!==b&&_.alias.push(b),p&&f.name&&!Hu(b)&&o(f.name)),Sp(b)&&l(b),g.children){const x=g.children;for(let P=0;P<x.length;P++)i(x[P],b,d&&d.children[P])}d=d||b}return _?()=>{o(_)}:Ns}function o(f){if(wp(f)){const h=r.get(f);h&&(r.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&r.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return n}function l(f){const h=ew(f,n);n.splice(h,0,f),f.record.name&&!Hu(f)&&r.set(f.record.name,f)}function u(f,h){let d,p={},g,w;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw Wr(Me.MATCHER_NOT_FOUND,{location:f});w=d.record.name,p=me($u(h.params,d.keys.filter(_=>!_.optional).concat(d.parent?d.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&$u(f.params,d.keys.map(_=>_.name))),g=d.stringify(p)}else if(f.path!=null)g=f.path,d=n.find(_=>_.re.test(g)),d&&(p=d.parse(g),w=d.record.name);else{if(d=h.name?r.get(h.name):n.find(_=>_.re.test(h.path)),!d)throw Wr(Me.MATCHER_NOT_FOUND,{location:f,currentLocation:h});w=d.record.name,p=me({},h.params,f.params),g=d.stringify(p)}const E=[];let b=d;for(;b;)E.unshift(b.record),b=b.parent;return{name:w,path:g,params:p,matched:E,meta:Z0(E)}}e.forEach(f=>i(f));function c(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:o,clearRoutes:c,getRoutes:a,getRecordMatcher:s}}function $u(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Du(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Q0(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 Q0(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 Hu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Z0(e){return e.reduce((t,n)=>me(t,n.meta),{})}function ew(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;xp(e,t[i])<0?r=i:n=i+1}const s=tw(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function tw(e){let t=e;for(;t=t.parent;)if(Sp(t)&&xp(e,t)===0)return t}function Sp({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ju(e){const t=ze(ac),n=ze(lc),r=Re(()=>{const l=we(e.to);return t.resolve(l)}),s=Re(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const h=f.findIndex(Vr.bind(null,c));if(h>-1)return h;const d=Uu(l[u-2]);return u>1&&Uu(c)===d&&f[f.length-1].path!==d?f.findIndex(Vr.bind(null,l[u-2])):h}),i=Re(()=>s.value>-1&&ow(n.params,r.value.params)),o=Re(()=>s.value>-1&&s.value===n.matched.length-1&&bp(n.params,r.value.params));function a(l={}){if(iw(l)){const u=t[we(e.replace)?"replace":"push"](we(e.to)).catch(Ns);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Re(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}function nw(e){return e.length===1?e[0]:e}const rw=An({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:ju,setup(e,{slots:t}){const n=zn(ju(e)),{options:r}=ze(ac),s=Re(()=>({[Bu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Bu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&nw(t.default(n));return e.custom?i:lt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),sw=rw;function iw(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 ow(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Gt(s)||s.length!==r.length||r.some((i,o)=>i.valueOf()!==s[o].valueOf()))return!1}return!0}function Uu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Bu=(e,t,n)=>e??t??n,aw=An({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ze(el),s=Re(()=>e.route||r.value),i=ze(Lu,0),o=Re(()=>{let u=we(i);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=Re(()=>s.value.matched[o.value]);Vn(Lu,Re(()=>o.value+1)),Vn(F0,a),Vn(el,s);const l=Bt();return At(()=>[l.value,a.value,e.name],([u,c,f],[h,d,p])=>{c&&(c.instances[f]=u,d&&d!==c&&u&&u===h&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),u&&c&&(!d||!Vr(c,d)||!h)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,h=f&&f.components[c];if(!h)return Vu(n.default,{Component:h,route:u});const d=f.props[c],p=d?d===!0?u.params:typeof d=="function"?d(u):d:null,w=lt(h,me({},p,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Vu(n.default,{Component:w,route:u})||w}}});function Vu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const kp=aw;function lw(e){const t=X0(e.routes,e),n=e.parseQuery||M0,r=e.stringifyQuery||Iu,s=e.history,i=as(),o=as(),a=as(),l=pt(Nt);let u=Nt;Er&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ra.bind(null,I=>""+I),f=ra.bind(null,v0),h=ra.bind(null,Gs);function d(I,X){let K,Q;return wp(I)?(K=t.getRecordMatcher(I),Q=X):Q=I,t.addRoute(Q,K)}function p(I){const X=t.getRecordMatcher(I);X&&t.removeRoute(X)}function g(){return t.getRoutes().map(I=>I.record)}function w(I){return!!t.getRecordMatcher(I)}function E(I,X){if(X=me({},X||l.value),typeof I=="string"){const y=sa(n,I,X.path),S=t.resolve({path:y.path},X),M=s.createHref(y.fullPath);return me(y,S,{params:h(S.params),hash:Gs(y.hash),redirectedFrom:void 0,href:M})}let K;if(I.path!=null)K=me({},I,{path:sa(n,I.path,X.path).path});else{const y=me({},I.params);for(const S in y)y[S]==null&&delete y[S];K=me({},I,{params:f(y)}),X.params=f(X.params)}const Q=t.resolve(K,X),le=I.hash||"";Q.params=c(h(Q.params));const Te=b0(r,me({},I,{hash:p0(le),path:Q.path})),v=s.createHref(Te);return me({fullPath:Te,hash:le,query:r===Iu?N0(I.query):I.query||{}},Q,{redirectedFrom:void 0,href:v})}function b(I){return typeof I=="string"?sa(n,I,l.value.path):me({},I)}function _(I,X){if(u!==I)return Wr(Me.NAVIGATION_CANCELLED,{from:X,to:I})}function m(I){return P(I)}function T(I){return m(me(b(I),{replace:!0}))}function x(I,X){const K=I.matched[I.matched.length-1];if(K&&K.redirect){const{redirect:Q}=K;let le=typeof Q=="function"?Q(I,X):Q;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=b(le):{path:le},le.params={}),me({query:I.query,hash:I.hash,params:le.path!=null?{}:I.params},le)}}function P(I,X){const K=u=E(I),Q=l.value,le=I.state,Te=I.force,v=I.replace===!0,y=x(K,Q);if(y)return P(me(b(y),{state:typeof y=="object"?me({},le,y.state):le,force:Te,replace:v}),X||K);const S=K;S.redirectedFrom=X;let M;return!Te&&w0(r,Q,K)&&(M=Wr(Me.NAVIGATION_DUPLICATED,{to:S,from:Q}),Je(Q,Q,!0,!1)),(M?Promise.resolve(M):O(S,Q)).catch(C=>dn(C)?dn(C,Me.NAVIGATION_GUARD_REDIRECT)?C:Ye(C):Y(C,S,Q)).then(C=>{if(C){if(dn(C,Me.NAVIGATION_GUARD_REDIRECT))return P(me({replace:v},b(C.to),{state:typeof C.to=="object"?me({},le,C.to.state):le,force:Te}),X||S)}else C=A(S,Q,!0,v,le);return H(S,Q,C),C})}function L(I,X){const K=_(I,X);return K?Promise.reject(K):Promise.resolve()}function R(I){const X=je.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(I):I()}function O(I,X){let K;const[Q,le,Te]=$0(I,X);K=oa(Q.reverse(),"beforeRouteLeave",I,X);for(const y of Q)y.leaveGuards.forEach(S=>{K.push(Hn(S,I,X))});const v=L.bind(null,I,X);return K.push(v),Fe(K).then(()=>{K=[];for(const y of i.list())K.push(Hn(y,I,X));return K.push(v),Fe(K)}).then(()=>{K=oa(le,"beforeRouteUpdate",I,X);for(const y of le)y.updateGuards.forEach(S=>{K.push(Hn(S,I,X))});return K.push(v),Fe(K)}).then(()=>{K=[];for(const y of Te)if(y.beforeEnter)if(Gt(y.beforeEnter))for(const S of y.beforeEnter)K.push(Hn(S,I,X));else K.push(Hn(y.beforeEnter,I,X));return K.push(v),Fe(K)}).then(()=>(I.matched.forEach(y=>y.enterCallbacks={}),K=oa(Te,"beforeRouteEnter",I,X,R),K.push(v),Fe(K))).then(()=>{K=[];for(const y of o.list())K.push(Hn(y,I,X));return K.push(v),Fe(K)}).catch(y=>dn(y,Me.NAVIGATION_CANCELLED)?y:Promise.reject(y))}function H(I,X,K){a.list().forEach(Q=>R(()=>Q(I,X,K)))}function A(I,X,K,Q,le){const Te=_(I,X);if(Te)return Te;const v=X===Nt,y=Er?history.state:{};K&&(Q||v?s.replace(I.fullPath,me({scroll:v&&y&&y.scroll},le)):s.push(I.fullPath,le)),l.value=I,Je(I,X,K,v),Ye()}let q;function j(){q||(q=s.listen((I,X,K)=>{if(!vt.listening)return;const Q=E(I),le=x(Q,vt.currentRoute.value);if(le){P(me(le,{replace:!0,force:!0}),Q).catch(Ns);return}u=Q;const Te=l.value;Er&&C0(Ou(Te.fullPath,K.delta),No()),O(Q,Te).catch(v=>dn(v,Me.NAVIGATION_ABORTED|Me.NAVIGATION_CANCELLED)?v:dn(v,Me.NAVIGATION_GUARD_REDIRECT)?(P(me(b(v.to),{force:!0}),Q).then(y=>{dn(y,Me.NAVIGATION_ABORTED|Me.NAVIGATION_DUPLICATED)&&!K.delta&&K.type===Qa.pop&&s.go(-1,!1)}).catch(Ns),Promise.reject()):(K.delta&&s.go(-K.delta,!1),Y(v,Q,Te))).then(v=>{v=v||A(Q,Te,!1),v&&(K.delta&&!dn(v,Me.NAVIGATION_CANCELLED)?s.go(-K.delta,!1):K.type===Qa.pop&&dn(v,Me.NAVIGATION_ABORTED|Me.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),H(Q,Te,v)}).catch(Ns)}))}let ee=as(),D=as(),ne;function Y(I,X,K){Ye(I);const Q=D.list();return Q.length?Q.forEach(le=>le(I,X,K)):console.error(I),Promise.reject(I)}function ce(){return ne&&l.value!==Nt?Promise.resolve():new Promise((I,X)=>{ee.add([I,X])})}function Ye(I){return ne||(ne=!I,j(),ee.list().forEach(([X,K])=>I?K(I):X()),ee.reset()),I}function Je(I,X,K,Q){const{scrollBehavior:le}=e;if(!Er||!le)return Promise.resolve();
4const Te=!K&&A0(Ou(I.fullPath,0))||(Q||!K)&&history.state&&history.state.scroll||null;return Gn().then(()=>le(I,X,Te)).then(v=>v&&R0(v)).catch(v=>Y(v,I,X))}const ve=I=>s.go(I);let qe;const je=new Set,vt={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:w,getRoutes:g,resolve:E,options:e,push:m,replace:T,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:D.add,isReady:ce,install(I){I.component("RouterLink",sw),I.component("RouterView",kp),I.config.globalProperties.$router=vt,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>we(l)}),Er&&!qe&&l.value===Nt&&(qe=!0,m(s.location).catch(Q=>{}));const X={};for(const Q in Nt)Object.defineProperty(X,Q,{get:()=>l.value[Q],enumerable:!0});I.provide(ac,vt),I.provide(lc,sn(X)),I.provide(el,l);const K=I.unmount;je.add(I),I.unmount=function(){je.delete(I),je.size<1&&(u=Nt,q&&q(),q=null,l.value=Nt,qe=!1,ne=!1),K()}}};function Fe(I){return I.reduce((X,K)=>X.then(()=>R(K)),Promise.resolve())}return vt}function Pp(e){return ze(lc)}const cw=/(:\w+)\([^)]+\)/g,uw=/(:\w+)[?+*]/g,fw=/:\w+/g,dw=(e,t)=>t.path.replace(cw,"$1").replace(uw,"$1").replace(fw,n=>e.params[n.slice(1)]?.toString()||""),tl=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&dw(e.route,n));return typeof r=="function"?r(e.route):r},hw=(e,t)=>({default:()=>e?lt(X_,e===!0?{}:e,t):t});function cc(e){return Array.isArray(e)?e:[e]}const pw="modulepreload",gw=function(e,t){return new URL(e,t).href},Wu={},Z=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");s=u(n.map(c=>{if(c=gw(c,r),c in Wu)return;Wu[c]=!0;const f=c.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(r)for(let p=o.length-1;p>=0;p--){const g=o[p];if(g.href===c&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${h}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":pw,f||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((p,g)=>{d.addEventListener("load",p),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return s.then(o=>{for(const a of o||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},_w={layout:"auth"},vw={layout:"auth"},mw={layout:"default"},yw=null,bw={},aa=[{name:"pro",path:"/pro",component:()=>Z(()=>import("./CV5OuZjG.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url)},{name:"index",path:"/",component:()=>Z(()=>import("./C4avg-LM.js"),__vite__mapDeps([10,11,12,13,9,14,15,5,3,16,2,4,6,7,8,17]),import.meta.url)},{name:"refund",path:"/refund",component:()=>Z(()=>import("./DvFcbJUZ.js"),__vite__mapDeps([18,3]),import.meta.url)},{name:"account",path:"/account",component:()=>Z(()=>import("./CLNhErA6.js"),__vite__mapDeps([19,6,7,5,9,15,13,14,20,3,4]),import.meta.url)},{name:"contact",path:"/contact",component:()=>Z(()=>import("./C32WEPAd.js"),__vite__mapDeps([21,22]),import.meta.url)},{name:"history",path:"/history",component:()=>Z(()=>import("./CX_WHBYV.js"),__vite__mapDeps([23,3,24,25,15,26,27,28,29,7,5,30,31,9,32,20,4,6,33,34]),import.meta.url)},{name:"pricing",path:"/pricing",component:()=>Z(()=>import("./DSWrOolA.js"),__vite__mapDeps([35,16,2,3,4,5,6,7]),import.meta.url)},{name:"privacy",path:"/privacy",component:()=>Z(()=>import("./CjlehR0w.js"),__vite__mapDeps([36,3]),import.meta.url)},{name:"dashboard",path:"/dashboard",component:()=>Z(()=>import("./D-MRdWOn.js"),__vite__mapDeps([37,26,27,28,3,29,7,5,30,31,9,15,32,12,4,6,13,14,20,38,39]),import.meta.url)},{name:"auth-login",path:"/auth/login",meta:_w||{},component:()=>Z(()=>import("./BUzTZ61x.js"),__vite__mapDeps([40,3,1,41,5,28]),import.meta.url)},{name:"blog",path:"/blog",component:()=>Z(()=>import("./BETGhpid.js"),__vite__mapDeps([42,3,22,43,12,44]),import.meta.url)},{name:"study-id",path:"/study/:id()",component:()=>Z(()=>import("./DFUw6XxF.js"),__vite__mapDeps([45,3,29,33,15,31,7,5,9,34,24,46,30]),import.meta.url)},{name:"study-weak",path:"/study/weak",component:()=>Z(()=>import("./oGa5R_fl.js"),__vite__mapDeps([47,3,29,5,7,30]),import.meta.url)},{name:"admin",path:"/admin",component:()=>Z(()=>
4import("./hGC68LGR.js"),__vite__mapDeps([48,3,49,50,51,5,7]),import.meta.url)},{name:"auth-verify",path:"/auth/verify",meta:vw||{},component:()=>Z(()=>import("./YRwMxDuF.js"),__vite__mapDeps([52,3,5]),import.meta.url)},{name:"blog-slug",path:"/blog/:slug()",component:()=>Z(()=>import("./DUloDs1x.js"),__vite__mapDeps([53,3,22,43,12,44]),import.meta.url)},{name:"study",path:"/study",component:()=>Z(()=>import("./DIfA3TKp.js"),__vite__mapDeps([54,29,24,3,20,15,4,6,7,5,46]),import.meta.url)},{name:"study-review",path:"/study/review",component:()=>Z(()=>import("./Dod27ynH.js"),__vite__mapDeps([55,3,20,15,4,6,7,5]),import.meta.url)},{name:"auth-callback",path:"/auth/callback",component:()=>Z(()=>import("./DuBDkkff.js"),__vite__mapDeps([56,3,5]),import.meta.url)},{name:"share-token",path:"/share/:token()",meta:mw||{},component:()=>Z(()=>import("./DiownyXV.js"),__vite__mapDeps([57,3,27,28,41,31,58,43,12,9,59]),import.meta.url)},{name:"admin-failures",path:"/admin/failures",component:()=>Z(()=>import("./Bca4tWh8.js"),__vite__mapDeps([60,3,61,22,51,5,7]),import.meta.url)},{name:"admin-settings",path:"/admin/settings",component:()=>Z(()=>import("./DEZu5XhB.js"),__vite__mapDeps([62,22,50,3,51,5,7,61]),import.meta.url)},{name:"admin-users-id",path:"/admin/users/:id()",component:()=>Z(()=>import("./CHof9Nwx.js"),__vite__mapDeps([63,3,49,22,50,51,5,7,25,15]),import.meta.url)},{name:"admin-users",path:"/admin/users",component:()=>Z(()=>import("./Op_SJGVz.js"),__vite__mapDeps([64,3,49,61,22,51,5,7]),import.meta.url)},{name:"extension-welcome",path:"/extension/welcome",component:()=>Z(()=>import("./CuBc20Nm.js"),__vite__mapDeps([65,3,5]),import.meta.url)},{name:"tiktok-summarizer",path:"/tiktok-summarizer",component:()=>Z(()=>import("./hRcGixAJ.js"),__vite__mapDeps([66,67,11,12,13,9,14,15,5,3,22,4]),import.meta.url)},{name:"youtube-summarizer",path:"/youtube-summarizer",component:()=>Z(()=>import("./DAgjslka.js"),__vite__mapDeps([68,67,11,12,13,9,14,15,5,3,22,4]),import.meta.url)},{name:"terms-and-conditions",path:"/terms-and-conditions",component:()=>Z(()=>import("./CZ9ULn8K.js"),__vite__mapDeps([69,3]),import.meta.url)},{name:"extension-uninstalled",path:"/extension/uninstalled",component:()=>Z(()=>import("./USxrNEWN.js"),__vite__mapDeps([70,22]),import.meta.url)},{name:"summarize-article-for-me",path:"/summarize-article-for-me",component:()=>Z(()=>import("./CSvMsEFh.js"),__vite__mapDeps([71,11,12,13,9,14,15,5,22,3]),import.meta.url)},{name:"facebook-video-summarizer",path:"/facebook-video-summarizer",component:()=>Z(()=>import("./Cv7HUQn3.js"),__vite__mapDeps([72,67,11,12,13,9,14,15,5,3,22,4]),import.meta.url)},{name:"summarise-the-following-text",path:"/summarise-the-following-text",component:()=>Z(()=>import("./CGJ5zlPk.js"),__vite__mapDeps([73,22,3]),import.meta.url)},{name:"youtube-transcript-to-summary",path:"/youtube-transcript-to-summary",component:()=>Z(()=>import("./Dyd5_jl8.js"),__vite__mapDeps([74,67,11,12,13,9,14,15,5,3,22,4]),import.meta.url)},{name:yw?.name,path:"/review",component:bw}],Rp=(e,t)=>({default:()=>e?lt(Jv,e===!0?{}:e,t):t.default?.()}),ww=/(:\w+)\([^)]+\)/g,Ew=/(:\w+)[?+*]/g,Tw=/:\w+/g;function qu(e){const t=e?.meta.key??e.path.replace(ww,"$1").replace(Ew,"$1").replace(Tw,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function xw(e,t){return e===t||t===Nt?!1:qu(e)!==qu(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}const Sw={scrollBehavior(e,t,n){const r=We(),s=xt().options?.scrollBehaviorType??"auto";if(e.path.replace(/\/$/,"")===t.path.replace(/\/$/,""))return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Cp(e.hash),behavior:s}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const o=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(a=>{if(t===Nt){a(Gu(e,t,n,s));return}r.hooks.hookOnce(o,()=>{requestAnimationFrame(()=>a(Gu(e,t,n,s)))})})}};function Cp(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 Gu(e,t,n,r){if(n)return n;const s=xw(e,t);return e.hash?{el:e.hash,top:Cp(e.hash),behavior:s?r:"instant"}:{left:0,top:0}}const kw={hashMode:!1,scrollBehaviorType:"auto"},Ln={...kw,...Sw},Pw=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const s=([n,r]=Fr(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const i=fr({fatal:!0,status:s&&(s.status||s.statusCode)||404,statusText:s&&(s.statusText||s.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),i},Rw=e=>{const t=Mo({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return Yn(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},Cw=[Pw,Rw],nl={};
4function Aw(e,t,n){const{pathname:r,search:s,hash:i}=t,o=e.indexOf("#");if(o>-1){const u=i.includes(e.slice(o))?e.slice(o).length:1;let c=i.slice(u);return c[0]!=="/"&&(c="/"+c),du(c,"")}const a=du(r,e),l=!n||ay(a,n)?a:n;return l+(l.includes("?")?"":s)+i}const Ow=It({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=si().app.baseURL;const s=Ln.history?.(r)??U0(r),i=Ln.routes?([t,n]=Fr(()=>Ln.routes(aa)),t=await t,n(),t??aa):aa;let o;const a=lw({...Ln,scrollBehavior:(w,E,b)=>{if(E===Nt){o=b;return}if(Ln.scrollBehavior){if(a.options.scrollBehavior=Ln.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return Ln.scrollBehavior(w,Nt,o||b)}},history:s,routes:i});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=pt(a.currentRoute.value);a.afterEach((w,E)=>{l.value=E}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=Aw(r,window.location,e.payload.path),c=pt(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};a.afterEach((w,E)=>{w.matched.at(-1)?.components?.default===E.matched.at(-1)?.components?.default&&f()});const h={sync:f};for(const w in c.value)Object.defineProperty(h,w,{get:()=>c.value[w],enumerable:!0});e._route=sn(h),e._middleware||={global:[],named:{}};const d=Lo();a.afterEach(async(w,E,b)=>{delete e._processingMiddleware,!e.isHydrating&&d.value&&await e.runWithContext(nb),b&&await e.callHook("page:loading:end")});try{[t,n]=Fr(()=>a.isReady()),await t,n()}catch(w){[t,n]=Fr(()=>e.runWithContext(()=>rr(w))),await t,n()}const p=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value;f();const g=e.payload.state._layout;return a.beforeEach(async(w,E)=>{await e.callHook("page:loading:start"),w.meta=zn(w.meta),e.isHydrating&&g&&!cn(w.meta.layout)&&(w.meta.layout=g),e._processingMiddleware=!0;{const b=new Set([...Cw,...e._middleware.global]);for(const m of w.matched){const T=m.meta.middleware;if(T)for(const x of cc(T))b.add(x)}const _=Mo({path:w.path});if(_.appMiddleware)for(const m in _.appMiddleware)_.appMiddleware[m]?b.add(m):b.delete(m);for(const m of b){const T=typeof m=="string"?e._middleware.named[m]||await nl[m]?.().then(x=>x.default||x):m;if(!T)throw new Error(`Unknown route middleware: '${m}'.`);try{const x=await e.runWithContext(()=>T(w,E));if(!e.payload.serverRendered&&e.isHydrating&&(x===!1||x instanceof Error)){const P=x||fr({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>rr(P)),!1}if(x===!0)continue;if(x===!1)return x;if(x)return rp(x)&&x.fatal&&await e.runWithContext(()=>rr(x)),x}catch(x){const P=fr(x);return P.fatal&&await e.runWithContext(()=>rr(P)),P}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(w=>{if(w.matched.length===0&&!d.value)return e.runWithContext(()=>rr(fr({status:404,fatal:!1,statusText:`Page not found: ${w.fullPath}`,data:{path:w.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=Ln.scrollBehavior}catch(w){await e.runWithContext(()=>rr(w))}}),{provide:{router:a}}}}),Ku=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),nk=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),uc=e=>{const t=We();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Ku(()=>e())}):Ku(()=>e())},Iw="$s";function Lw(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=Iw+n,i=We(),o=jl(i.payload.state,s);if(o.value===void 0&&r){const a=r();if(Ne(a))return i.payload.state[s]=a,a;o.value=a}return o}function Mw(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Nw(e,t=xt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>Nw(e,t));t._routePreloaded.add(n);for(const i of r){const o=i.components?.default;if(typeof o!="function")continue;const a=Promise.resolve(o()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}function Fw(e={}){const t=e.path||window.location.pathname;let n={};try{n=Yi(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:We(
4).payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}function $w(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Yn(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=iy(String(e.url)));const t=Object.keys(e).sort((r,s)=>r.localeCompare(s)),n={};for(const r of t)n[r]=e[r];return n}function Dw(e){const n=[];function r(i){if(!i||typeof i!="object"||Object.keys(i).length===0)return()=>{};i._context;const o={};for(const a in i){const l=i[a];typeof l<"u"&&l!==""&&(o[a]=l)}return Object.keys(o).filter(a=>!a.startsWith("_")).length===0?()=>{}:(n.push(o),()=>{const a=n.indexOf(o);a!==-1&&n.splice(a,1)})}function s(i){const o={};i?.debug&&(o._context={}),o._priority={};for(const a in n.sort((l,u)=>(l._priority||0)-(u._priority||0)))for(const l in n[a]){const u=l,c=i?.resolveRefs?gt(n[a][l]):n[a][l];!l.startsWith("_")&&typeof c<"u"&&c!==""&&(o[l]=c,typeof n[a]._priority<"u"&&n[a]._priority!==-1&&(o._priority[u]=n[a]._priority),i?.debug&&(o._context[u]=n[a]._context?.[u]||n[a]._context||"anonymous"))}return i?.skipNormalize?o:$w(o)}return{stack:n,push:r,get:s}}const Hw=It({name:"nuxt-site-config:init",enforce:"pre",async setup(e){const t=Dw(),n=Lw("site-config");{const r=n.value||window.__NUXT_SITE_CONFIG__||{};for(const s in r)s[0]!=="_"&&t.push({[s]:r[s],_priority:r._priority?.[s]||-1})}return{provide:{nuxtSiteConfig:t}}}}),jw=It({name:"nuxt:payload",setup(e){const t=new Set;xt().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await Pu(n.path);if(s){for(const i of t)delete e.static.data[i];for(const i in s.data)i in e.static.data||t.add(i),e.static.data[i]=s.data[i]}}),uc(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Pu(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(sc,1e3)})}}),Uw=It(()=>{const e=xt();uc(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),Bw=It(e=>{let t;async function n(){let r;try{r=await sc()}catch(s){const i=s;
4if(!("status"in i&&(i.status===404||i.status===403)))throw i}t&&clearTimeout(t),t=setTimeout(n,yu);try{const s=await $fetch(nc("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}uc(()=>{t=setTimeout(n,yu)})}),Vw=It({name:"nuxt:chunk-reload",setup(e){const t=xt(),n=si(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function s(i){const o=Zl(n.app.baseURL,i.fullPath);Fw({path:o,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((i,o)=>{r.has(i)&&s(o)})}}),Ww=Ee(()=>Z(()=>import("./BMW6NrSS.js"),__vite__mapDeps([75,3]),import.meta.url).then(e=>e.default||e.default||e)),qw=Ee(()=>Z(()=>import("./Dq3Q2scM.js"),__vite__mapDeps([76,9]),import.meta.url).then(e=>e.default||e.default||e)),Gw=Ee(()=>Z(()=>import("./CC-DryGV.js"),__vite__mapDeps([77,9]),import.meta.url).then(e=>e.default||e.default||e)),Kw=Ee(()=>Z(()=>import("./BiU734-g.js"),__vite__mapDeps([78,9]),import.meta.url).then(e=>e.default||e.default||e)),zw=Ee(()=>Z(()=>import("./CluE1EfQ.js"),[],import.meta.url).then(e=>e.default||e.default||e)),Yw=Ee(()=>Z(()=>import("./4I6pi6wr.js"),[],import.meta.url).then(e=>e.default||e.default||e)),Jw=Ee(()=>Z(()=>import("./01xpOv6Q.js"),[],import.meta.url).then(e=>e.default||e.default||e)),Xw=Ee(()=>Z(()=>import("./gJJxCO95.js"),[],import.meta.url).then(e=>e.default||e.default||e)),Qw=Ee(()=>Z(()=>import("./CDbg_cJP.js"),[],import.meta.url).then(e=>e.default||e.default||e)),Zw=Ee(()=>Z(()=>import("./BYyKBCcJ.js"),[],import.meta.url).then(e=>e.default||e.default||e)),eE=Ee(()=>Z(()=>import("./8AtpGMYh.js"),__vite__mapDeps([79,9]),import.meta.url).then(e=>e.default||e.default||e)),tE=Ee(()=>Z(()=>import("./DCU1po6L.js"),[],import.meta.url).then(e=>e.default||e.default||e)),nE=Ee(()=>Z(()=>import("./53D8sUaw.js"),__vite__mapDeps([80,9]),import.meta.url).then(e=>e.default||e.default||e)),rE=Ee(()=>Z(()=>import("./Cy8zAEJZ.js"),__vite__mapDeps([81,9]),import.meta.url).then(e=>e.default||e.default||e)),sE=Ee(()=>Z(()=>import("./B7FpBXIt.js"),__vite__mapDeps([82,9]),import.meta.url).then(e=>e.default||e.default||e)),iE=Ee(()=>Z(()=>import("./CNkF3hBv.js"),__vite__mapDeps([83,84]),import.meta.url).then(e=>e.default||e.default||e)),oE=Ee(()=>Z(()=>import("./BBYCfbN6.js"),[],import.meta.url).then(e=>e.default||e.default||e)),aE=Ee(()=>Z(()=>import("./CpDzM1R6.js"),__vite__mapDeps([85,9]),import.meta.url).then(e=>e.default||e.default||e)),lE=Ee(()=>Z(()=>import("./CIcQKhGX.js"),__vite__mapDeps([86,9]),import.meta.url).then(e=>e.default||e.default||e)),cE=Ee(()=>Z(()=>import("./CJgE2DXz.js"),__vite__mapDeps([87,9]),import.meta.url).then(e=>e.default||e.default||e)),uE=Ee(()=>Z(()=>import("./gxN4ZZqO.js"),__vite__mapDeps([88,9]),import.meta.url).then(e=>e.default||e.default||e)),fE=Ee(()=>Z(()=>import("./DlEYCyJI.js"),__vite__mapDeps([89,9]),import.meta.url).then(e=>e.default||e.default||e)),dE=Ee(()=>Z(()=>import("./DEeP-dCQ.js"),__vite__mapDeps([90,9]),import.meta.url).then(e=>e.default||e.default||e)),hE=Ee(()=>Z(()=>import("./j4Aqjj4n.js"),__vite__mapDeps([91,9]),import.meta.url).then(e=>e.default||e.default||e)),pE=Ee(()=>Z(()=>import("./C1kBwg24.js"),__vite__mapDeps([92,9]),import.meta.url).then(e=>e.default||e.default||e)),gE=[["ProseA",Ww],["ProseBlockquote",qw],["ProseCode",Gw],["ProseEm",Kw],["ProseH1",zw],["ProseH2",Yw],["ProseH3",Jw],["ProseH4",Xw],["ProseH5",Qw],["ProseH6",Zw],["ProseHr",eE],["ProseImg",tE],["ProseLi",nE],["ProseOl",rE],["ProseP",sE],["ProsePre",iE],["ProseScript",oE],["ProseStrong",aE],["ProseTable",lE],["ProseTbody",cE],["ProseTd",uE],["ProseTh",fE],["ProseThead",dE],["ProseTr",hE],["ProseUl",pE]],_E=It({name:"nuxt:global-components",setup(e){for(const[t,n]of gE)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),jn={auth:Ee(()=>Z(()=>import("./BG-bZRDz.js"),__vite__mapDeps([93,9]),import.meta.url).then(e=>e.default||e)),default:Ee(()=>Z(()=>import("./DzAn853J.js"),__vite__mapDeps([94,3,12,41,5,7,38,58,43,9]),import.meta.url).then(e=>e.default||e))},vE=It({name:"nuxt:prefetch",setup(e){const t=xt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof jn[r]=="function"&&await jn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Yn(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let i=cc(r.meta.middleware);
4i=i.filter(o=>typeof o=="string");for(const o of i)typeof nl[o]=="function"&&nl[o]();typeof s=="string"&&s in jn&&Mw(jn[s])})}}),mE=It(e=>{e.vueApp.directive("click-outside",{mounted(t,n){t._clickOutsideHandler=r=>{t.contains(r.target)||n.value(r)},document.addEventListener("click",t._clickOutsideHandler)},unmounted(t){document.removeEventListener("click",t._clickOutsideHandler)}})}),yE=It(async()=>{let e,t;const n=si();[e,t]=Fr(()=>new Promise((s,i)=>{const o=document.createElement("script");o.src="https://cdn.paddle.com/paddle/v2/paddle.js",o.onload=()=>s(),o.onerror=()=>i(new Error("Failed to load Paddle.js")),document.head.appendChild(o)})),await e,t();const r=window.Paddle;n.public.paddleEnvironment==="sandbox"&&r.Environment.set("sandbox"),r.Setup({token:n.public.paddleClientToken})});var k=typeof window<"u"?window:void 0,nt=typeof globalThis<"u"?globalThis:k;typeof self>"u"&&(nt.self=nt),typeof File>"u"&&(nt.File=function(){});var Ap=Array.prototype,zu=Ap.forEach,Yu=Ap.indexOf,Rt=nt?.navigator,V=nt?.document,Ze=nt?.location,rl=nt?.fetch,sl=nt!=null&&nt.XMLHttpRequest&&"withCredentials"in new nt.XMLHttpRequest?nt.XMLHttpRequest:void 0,Ju=nt?.AbortController,wt=Rt?.userAgent,re=k??{},gn={DEBUG:!1,LIB_VERSION:"1.360.0"};function Xu(e,t,n,r,s,i,o){try{var a=e[i](o),l=a.value}catch(u){return void n(u)}a.done?t(l):Promise.resolve(l).then(r,s)}function _n(e){return function(){var t=this,n=arguments;return new Promise((function(r,s){var i=e.apply(t,n);function o(l){Xu(i,r,s,o,a,"next",l)}function a(l){Xu(i,r,s,o,a,"throw",l)}o(void 0)}))}}function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U.apply(null,arguments)}function Op(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var bE=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"],wE=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hubspot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],Qu=function(e,t){if(t===void 0&&(t=[]),!e)return!1;var n=e.toLowerCase();return wE.concat(t).some((r=>{var s=r.toLowerCase();return n.indexOf(s)!==-1}))};function ue(e,t){return e.indexOf(t)!==-1}var Fo=function(e){return e.trim()},il=function(e){return e.replace(/^\$/,"")},EE=Array.isArray,Ip=Object.prototype,Lp=Ip.hasOwnProperty,$o=Ip.toString,ge=EE||function(e){return $o.call(e)==="[object Array]"},En=e=>typeof e=="function",Ke=e=>e===Object(e)&&!ge(e),kr=e=>{if(Ke(e)){for(var t in e)if(Lp.call(e,t))return!1;return!0}return!1},W=e=>e===void 0,Be=e=>$o.call(e)=="[object String]",ol=e=>Be(e)&&e.trim().length===0,Kt=e=>e===null,fe=e=>W(e)||Kt(e),un=e=>$o.call(e)=="[object Number]"&&e==e,Tr=e=>un(e)&&e>0,Sn=e=>$o.call(e)==="[object Boolean]",TE=e=>e instanceof FormData,xE=e=>ue(bE,e);function al(e){return e===null||typeof e!="object"}function eo(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}function Mp(e){return!W(Event)&&(function(t,n){try{return t instanceof n}catch{return!1}})(e,Event)}var SE=[!0,"true",1,"1","yes"],la=e=>ue(SE,e),kE=[!1,"false",0,"0","no"];
vendor: 13,674 bytes, lines 4-5
4function on(e,t,n,r,s){return t>n&&(r.warn("min cannot be greater than max."),t=n),un(e)?e>n?(r.warn(" cannot be  greater than max: "+n+". Using max value instead."),n):e<t?(r.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(r.warn(" must be a number. using max or fallback. max: "+n+", fallback: "+s),on(s||n,t,n,r))}class PE{constructor(t){this.t={},this.i=t.i,this.o=on(t.bucketSize,0,100,t.h),this.m=on(t.refillRate,0,this.o,t.h),this.S=on(t.refillInterval,0,864e5,t.h)}$(t,n){var r=n-t.lastAccess,s=Math.floor(r/this.S);if(s>0){var i=s*this.m;t.tokens=Math.min(t.tokens+i,this.o),t.lastAccess=t.lastAccess+s*this.S}}consumeRateLimit(t){var n,r=Date.now(),s=String(t),i=this.t[s];return i?this.$(i,r):(i={tokens:this.o,lastAccess:r},this.t[s]=i),i.tokens===0||(i.tokens--,i.tokens===0&&((n=this.i)==null||n.call(this,t)),i.tokens===0)}stop(){this.t={}}}var Ot="Mobile",to="iOS",Tn="Android",qr="Tablet",Np=Tn+" "+qr,Fp="iPad",$p="Apple",Dp=$p+" Watch",Ks="Safari",Gr="BlackBerry",Hp="Samsung",jp=Hp+"Browser",Up=Hp+" Internet",gr="Chrome",RE=gr+" OS",Bp=gr+" "+to,fc="Internet Explorer",Vp=fc+" "+Ot,dc="Opera",CE=dc+" Mini",hc="Edge",Wp="Microsoft "+hc,$r="Firefox",qp=$r+" "+to,zs="Nintendo",Ys="PlayStation",Dr="Xbox",Gp=Tn+" "+Ot,Kp=Ot+" "+Ks,bs="Windows",ll=bs+" Phone",Zu="Nokia",cl="Ouya",zp="Generic",AE=zp+" "+Ot.toLowerCase(),Yp=zp+" "+qr.toLowerCase(),ul="Konqueror",ft="(\\d+(\\.\\d+)?)",ca=new RegExp("Version/"+ft),OE=new RegExp(Dr,"i"),IE=new RegExp(Ys+" \\w+","i"),LE=new RegExp(zs+" \\w+","i"),pc=new RegExp(Gr+"|PlayBook|BB10","i"),ME={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},vi,ef,ua,NE=(e,t)=>t&&ue(t,$p)||(function(n){return ue(n,Ks)&&!ue(n,gr)&&!ue(n,Tn)})(e),Jp=function(e,t){return t=t||"",ue(e," OPR/")&&ue(e,"Mini")?CE:ue(e," OPR/")?dc:pc.test(e)?Gr:ue(e,"IE"+Ot)||ue(e,"WPDesktop")?Vp:ue(e,jp)?Up:ue(e,hc)||ue(e,"Edg/")?Wp:ue(e,"FBIOS")?"Facebook "+Ot:ue(e,"UCWEB")||ue(e,"UCBrowser")?"UC Browser":ue(e,"CriOS")?Bp:ue(e,"CrMo")||ue(e,gr)?gr:ue(e,Tn)&&ue(e,Ks)?Gp:ue(e,"FxiOS")?qp:ue(e.toLowerCase(),ul.toLowerCase())?ul:NE(e,t)?ue(e,Ot)?Kp:Ks:ue(e,$r)?$r:ue(e,"MSIE")||ue(e,"Trident/")?fc:ue(e,"Gecko")?$r:""},FE={[Vp]:[new RegExp("rv:"+ft)],[Wp]:[new RegExp(hc+"?\\/"+ft)],[gr]:[new RegExp("("+gr+"|CrMo)\\/"+ft)],[Bp]:[new RegExp("CriOS\\/"+ft)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+ft)],[Ks]:[ca],[Kp]:[ca],[dc]:[new RegExp("(Opera|OPR)\\/"+ft)],[$r]:[new RegExp($r+"\\/"+ft)],[qp]:[new RegExp("FxiOS\\/"+ft)],[ul]:[new RegExp("Konqueror[:/]?"+ft,"i")],[Gr]:[new RegExp(Gr+" "+ft),ca],[Gp]:[new RegExp("android\\s"+ft,"i")],[Up]:[new RegExp(jp+"\\/"+ft)],[fc]:[new RegExp("(rv:|MSIE )"+ft)],Mozilla:[new RegExp("rv:"+ft)]},$E=function(e,t){var n=Jp(e,t),r=FE[n];if(W(r))return null;for(var s=0;s<r.length;s++){var i=r[s],o=e.match(i);if(o)return parseFloat(o[o.length-2])}return null},tf=[[new RegExp(Dr+"; "+Dr+" (.*?)[);]","i"),e=>[Dr,e&&e[1]||""]],[new RegExp(zs,"i"),[zs,""]],[new RegExp(Ys,"i"),[Ys,""]],[pc,[Gr,""]],[new RegExp(bs,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[ll,""];if(new RegExp(Ot).test(t)&&!/IEMobile\b/.test(t))return[bs+" "+Ot,""];var n=/Windows NT ([0-9.]+)/i.exec(t);if(n&&n[1]){var r=n[1],s=ME[r]||"";return/arm/i.test(t)&&(s="RT"),[bs,s]}return[bs,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>{if(e&&e[3]){var t=[e[3],e[4],e[5]||"0"];return[to,t.join(".")]}return[to,""]}],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=W(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+Tn+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+Tn+")","i"),e=>{if(e&&e[2]){var t=[e[2],e[3],e[4]||"0"];return[Tn,t.join(".")]}return[Tn,""]}],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];if(e&&e[1]){var n=[e[1],e[2],e[3]||"0"];t[1]=n.join(".")}return t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[RE,""]],[/Linux|debian/i,["Linux",""]]],nf=function(e){return LE.test(e)?zs:IE.test(e)?Ys:OE.test(e)?Dr:new RegExp(cl,"i").test(e)?cl:new RegExp("("+ll+"|WPDesktop)","i").test(e)?ll:/iPad/.test(e)?Fp:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?Dp:pc.test(e)?Gr:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp(Zu,"i").test(e)?Zu:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?new RegExp(Ot).test(e)&&!/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)||/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?Tn:Np:new RegExp("(pda|"+Ot+")","i").test(e)?AE:new RegExp(qr,"i").test(e)&&!new RegExp(qr+" pc","i").test(e)?Yp:""},DE=e=>e instanceof Error;function HE(e){var t=globalThis._posthogChunkIds;if(t){var n=Object.keys(t);return ua&&n.length===ef||(ef=n.length,ua=n.reduce(((r,s)=>{vi||(vi={});var i=vi[s];if(i)r[i[0]]=i[1];else for(var o=e(s),a=o.length-1;a>=0;a--){var l=o[a],u=l?.filename,c=t[s];if(u&&c){r[u]=c,vi[s]=[u,c];break}}return r}),{})),ua}}class jE{constructor(t,n,r){r===void 0&&(r=[]),this.coercers=t,this.stackParser=n,this.modifiers=r}buildFromUnknown(t,n){n===void 0&&(n={});var r=n&&n.mechanism||{handled:!0,type:"generic"},s=this.buildCoercingContext(r,n,0).apply(t),i=this.buildParsingContext(n),o=this.parseStacktrace(s,i);return{$exception_list:this.convertToExceptionList(o,r),$exception_level:"error"}}modifyFrames(t){var n=this;return _n((function*(){for(var r of t)r.stacktrace&&r.stacktrace.frames&&ge(r.stacktrace.frames)&&(r.stacktrace.frames=yield n.applyModifiers(r.stacktrace.frames));return t}))()}coerceFallback(t){var n;return{type:"Error",value:"Unknown error",stack:(n=t.syntheticException)==null?void 0:n.stack,synthetic:!0}}parseStacktrace(t,n){var r,s;return t.cause!=null&&(r=this.parseStacktrace(t.cause,n)),t.stack!=""&&t.stack!=null&&(s=this.applyChunkIds(this.stackParser(t.stack,t.synthetic?n.skipFirstLines:0),n.chunkIdMap)),U({},t,{cause:r,stack:s})}applyChunkIds(t,n){return t.map((r=>(r.filename&&n&&(r.chunk_id=n[r.filename]),r)))}applyCoercers(t,n){for(var r of this.coercers)if(r.match(t))return r.coerce(t,n);return this.coerceFallback(n)}applyModifiers(t){var n=this;return _n((function*(){var r=t;for(var s of n.modifiers)r=yield s(r);return r}))()}convertToExceptionList(t,n){var r,s,i,o={type:t.type,value:t.value,mechanism:{type:(r=n.type)!==null&&r!==void 0?r:"generic",handled:(s=n.handled)===null||s===void 0||s,synthetic:(i=t.synthetic)!==null&&i!==void 0&&i}};t.stack&&(o.stacktrace={type:"raw",frames:t.stack});var a=[o];return t.cause!=null&&a.push(...this.convertToExceptionList(t.cause,U({},n,{handled:!0}))),a}buildParsingContext(t){var n;return{chunkIdMap:HE(this.stackParser),skipFirstLines:(n=t.skipFirstLines)!==null&&n!==void 0?n:1}}buildCoercingContext(t,n,r){r===void 0&&(r=0);var s=(i,o)=>{if(o<=4){var a=this.buildCoercingContext(t,n,o);return this.applyCoercers(i,a)}};return U({},n,{syntheticException:r==0?n.syntheticException:void 0,mechanism:t,apply:i=>s(i,r),next:i=>s(i,r+1)})}}var Kr="?";function fl(e,t,n,r,s){var i={platform:e,filename:t,function:n==="<anonymous>"?Kr:n,in_app:!0};return W(r)||(i.lineno=r),W(s)||(i.colno=s),i}var Xp=(e,t)=>{var n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:Kr,n?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},UE=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,BE=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,VE=/\((\S*)(?::(\d+))(?::(\d+))\)/,WE=(e,t)=>{var n=UE.exec(e);if(n){var[,r,s,i]=n;return fl(t,r,Kr,+s,+i)}var o=BE.exec(e);if(o){if(o[2]&&o[2].indexOf("eval")===0){var a=VE.exec(o[2]);a&&(o[2]=a[1],o[3]=a[2],o[4]=a[3])}var[l,u]=Xp(o[1]||Kr,o[2]);return fl(t,u,l,o[3]?+o[3]:void 0,o[4]?+o[4]:void 0)}},qE=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,GE=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,KE=(e,t)=>{var n=qE.exec(e);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=GE.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var s=n[3],i=n[1]||Kr;return[i,s]=Xp(i,s),fl(t,s,i,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}},rf=/\(error: (.*)\)/,sf=50;function zE(){return(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(s,i){i===void 0&&(i=0);for(var o=[],a=s.split(`
5`),l=i;l<a.length;l++){var u=a[l];if(!(u.length>1024)){var c=rf.test(u)?u.replace(rf,"$1"):u;if(!c.match(/\S*Error: /)){for(var f of n){var h=f(c,e);if(h){o.push(h);break}}if(o.length>=sf)break}}}return(function(d){if(!d.length)return[];var p=Array.from(d);return p.reverse(),p.slice(0,sf).map((g=>{return U({},g,{filename:g.filename||(w=p,w[w.length-1]||{}).filename,function:g.function||Kr});var w}))})(o)}})("web:javascript",WE,KE)}class YE{match(t){return this.isDOMException(t)||this.isDOMError(t)}coerce(t,n){var r=Be(t.stack);return{type:this.getType(t),value:this.getValue(t),stack:r?t.stack:void 0,cause:t.cause?n.next(t.cause):void 0,synthetic:!1}}getType(t){return this.isDOMError(t)?"DOMError":"DOMException"}getValue(t){var n=t.name||(this.isDOMError(t)?"DOMError":"DOMException");return t.message?n+": "+t.message:n}isDOMException(t){return eo(t,"DOMException")}isDOMError(t){return eo(t,"DOMError")}}class JE{match(t){return(n=>n instanceof Error)(t)}coerce(t,n){return{type:this.getType(t),value:this.getMessage(t,n),stack:this.getStack(t),cause:t.cause?n.next(t.cause):void 0,synthetic:!1}}getType(t){return t.name||t.constructor.name}getMessage(t,n){var r=t.message;return r.error&&typeof r.error.message=="string"?String(r.error.message):String(r)}getStack(t){return t.stacktrace||t.stack||void 0}}class XE{constructor(){}match(t){return eo(t,"ErrorEvent")&&t.error!=null}coerce(t,n){var r,s=n.apply(t.error);return s||{type:"ErrorEvent",value:t.message,stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}}}var QE=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;class ZE{match(t){return typeof t=="string"}coerce(t,n){var r,[s,i]=this.getInfos(t);return{type:s??"Error",value:i??t,stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}}getInfos(t){var n="Error",r=t,s=t.match(QE);return s&&(n=s[1],r=s[2]),[n,r]}}var eT=["fatal","error","warning","log","info","debug"];function Qp(e,t){t===void 0&&(t=40);var n=Object.keys(e);if(n.sort(),!n.length)return"[object has no keys]";for(var r=n.length;r>0;r--){var s=n.slice(0,r).join(", ");if(!(s.length>t))return r===n.length||s.length<=t?s:s.slice(0,t)+"..."}return""}class tT{match(t){return typeof t=="object"&&t!==null}coerce(t,n){var r,s=this.getErrorPropertyFromObject(t);return s?n.apply(s):{type:this.getType(t),value:this.getValue(t),stack:(r=n.syntheticException)==null?void 0:r.stack,level:this.isSeverityLevel(t.level)?t.level:"error",synthetic:!0}}getType(t){return Mp(t)?t.constructor.name:"Error"}getValue(t){if("name"in t&&typeof t.name=="string"){var n="'"+t.name+"' captured as exception";return"message"in t&&typeof t.message=="string"&&(n+=" with message: '"+t.message+"'"),n}if("message"in t&&typeof t.message=="string")return t.message;var r=this.getObjectClassName(t);return(r&&r!=="Object"?"'"+r+"'":"Object")+" captured as exception with keys: "+Qp(t)}isSeverityLevel(t){return Be(t)&&!ol(t)&&eT.indexOf(t)>=0}getErrorPropertyFromObject(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];if(DE(r))return r}}getObjectClassName(t){try{var n=Object.getPrototypeOf(t);return n?n.constructor.name:void 0}catch{return}}}class nT{match(t){return Mp(t)}coerce(t,n){var r,s=t.constructor.name;return{type:s,value:s+" captured as exception with keys: "+Qp(t),stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}}}class rT{match(t){return al(t)}coerce(t,n){var r;return{type:"Error",value:"Primitive value captured as exception: "+String(t),stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}}}class sT{match(t){return eo(t,"PromiseRejectionEvent")}coerce(t,n){var r,s=this.getUnhandledRejectionReason(t);return al(s)?{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(s),stack:(r=n.syntheticException)==null?void 0:r.stack,synthetic:!0}:n.apply(s)}getUnhandledRejectionReason(t){if(al(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}}var Zp=function(e,t){var{debugEnabled:n}=t===void 0?{}:t,r={k:function(s){if(k&&(gn.DEBUG||re.POSTHOG_DEBUG||n)&&!W(k.console)&&k.console){for(var i=("__rrweb_original__"in k.console[s])?k.console[s].__rrweb_original__:k.console[s],o=arguments.length,a=new Array(o>1?o-1:0),l=1;l<o;l++)a[l-1]=arguments[l];i(e,...a)}},info:function(){for(var s=arguments.length,i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];r.k("log",...i)},warn:function(){for(var s=arguments.length,i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];r.k("warn",...i)},error:function(){for(var s=arguments.length,i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];r.k("error",...i)},critical:function(){for(var s=arguments.length,i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];console.error(e,...i)},uninitializedWarning:s=>{r.error("You must initialize PostHog before calling "+s)},createLogger:(s,i)=>Zp(e+" "+s,i)};return r},G=Zp("[PostHog.js]"),Le=G.createLogger,iT=Le("[ExternalScriptsLoader]"),of=(e,t,n
5)=>{if(e.config.disable_external_dependency_loading)return iT.warn(t+" was requested but loading of external scripts is disabled."),n("Loading of external scripts is disabled");var r=V?.querySelectorAll("script");if(r){for(var s,i=function(){if(r[o].src===t){var l=r[o];return l.__posthog_loading_callback_fired?{v:n()}:(l.addEventListener("load",(u=>{l.__posthog_loading_callback_fired=!0,n(void 0,u)})),l.onerror=u=>n(u),{v:void 0})}},o=0;o<r.length;o++)if(s=i())return s.v}var a=()=>{if(!V)return n("document not found");var l=V.createElement("script");if(l.type="text/javascript",l.crossOrigin="anonymous",l.src=t,l.onload=f=>{l.__posthog_loading_callback_fired=!0,n(void 0,f)},l.onerror=f=>n(f),e.config.prepare_external_dependency_script&&(l=e.config.prepare_external_dependency_script(l)),!l)return n("prepare_external_dependency_script returned null");if(e.config.external_scripts_inject_target==="head")V.head.appendChild(l);else{var u,c=V.querySelectorAll("body > script");c.length>0?(u=c[0].parentNode)==null||u.insertBefore(l,c[0]):V.body.appendChild(l)}};V!=null&&V.body?a():V?.addEventListener("DOMContentLoaded",a)};re.__PosthogExtensions__=re.__PosthogExtensions__||{},re.__PosthogExtensions__.loadExternalDependency=(e,t,n)=>{var r="/static/"+t+".js?v="+e.version;if(t==="remote-config"&&(r="/array/"+e.config.token+"/config.js"),t==="toolbar"){var s=3e5;r=r+"&t="+Math.floor(Date.now()/s)*s}var i=e.requestRouter.endpointFor("assets",r);of(e,i,n)},re.__PosthogExtensions__.loadSiteApp=(e,t,n)=>{var r=e.requestRouter.endpointFor("api",t);of(e,r,n)};var no={};function Wn(e,t,n){if(ge(e)){if(zu&&e.forEach===zu)e.forEach(t,n);else if("length"in e&&e.length===+e.length){for(var r=0,s=e.length;r<s;r++)if(r in e&&t.call(n,e[r],r)===no)return}}}function Pe(e,t,n){if(!fe(e)){if(ge(e))return Wn(e,t,n);if(TE(e)){for(var r of e.entries())if(t.call(n,r[1],r[0])===no)return}else for(var s in e)if(Lp.call(e,s)&&t.call(n,e[s],s)===no)return}}var De=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Wn(n,(function(s){for(var i in s)s[i]!==void 0&&(e[i]=s[i])})),e},zr=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Wn(n,(function(s){Wn(s,(function(i){e.push(i)}))})),e};function Ai(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r}var af=function(e){try{return e()}catch{return}},oT=function(e){return function(){try{for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.apply(this,n)}catch(s){G.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),G.critical(s)}}},gc=function(e){var t={};return Pe(e,(function(n,r){(Be(n)&&n.length>0||un(n))&&(t[r]=n)})),t};function aT(e,t){return n=e,r=i=>Be(i)&&!Kt(t)?i.slice(0,t):i,s=new Set,(function i(o,a){return o!==Object(o)?r?r(o,a):o:s.has(o)?void 0:(s.add(o),ge(o)?(l=[],Wn(o,(u=>{l.push(i(u))}))):(l={},Pe(o,((u,c)=>{s.has(u)||(l[c]=i(u,c))}))),l);var l})(n);var n,r,s}var lT=["herokuapp.com","vercel.app","netlify.app"];function cT(e){var t=e?.hostname;if(!Be(t))return!1;var n=t.split(".").slice(-2).join(".");for(var r of lT)if(n===r)return!1;return!0}function eg(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}function Ue(e,t,n,r){var{capture:s=!1,passive:i=!0}=r??{};e?.addEventListener(t,n,{capture:s,passive:i})}function tg(e){return e.name==="ph_toolbar_internal"}var ng="$people_distinct_id",ws="__alias",Es="__timers",lf="$autocapture_disabled_server_side",dl="$heatmaps_enabled_server_side",cf="$exception_capture_enabled_server_side",hl="$error_tracking_suppression_rules",uf="$error_tracking_capture_extension_exceptions",ff="$web_vitals_enabled_server_side",rg="$dead_clicks_enabled_server_side",df="$product_tours_enabled_server_side",hf="$web_vitals_allowed_metrics",mi="$session_recording_remote_config",ro="$sesid",sg="$session_is_sampled",Pr="$enabled_feature_flags",Ts="$early_access_features",pl="$feature_flag_details",xs="$stored_person_properties",sr="$stored_group_properties",gl="$surveys",so="$flag_call_reported",_l="$feature_flag_errors",io="$feature_flag_evaluated_at",Zt="$user_state",vl="$client_session_props",ml="$capture_rate_limit",yl="$initial_campaign_params",bl="$initial_referrer_info",oo="$initial_person_info",ao="$epp",ig="__POSTHOG_TOOLBAR__",ls="$posthog_cookieless",uT=[ng,ws,"__cmpns",Es,"$session_recording_enabled_server_side",dl,ro,Pr,hl,Zt,Ts,pl,sr,xs,gl,so,_l,io,vl,ml,yl,bl,ao,oo];Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return un(e)&&isFinite(e)&&Math.floor(e)===e});var pf="0123456789abcdef";class lo{constructor(t){if(this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}static fromFieldsV7(t,n,r,s){if(!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(r)||!Number.isInteger(s)||t<0||n<0||r<0||s<0||t>0xffffffffffff||n>4095||r>1073741823||s>4294967295)throw new RangeError("invalid field value");var i=new Uint8Array(16);return i[0]=t/Math.pow(2,40),i[1]=t/Math.pow(2,32),i[2]=t/Math.pow(2,24),i[3]=t/Math.pow(2,16),i[4]=t/Math.pow(2,8),i[5]=t,i[6]=112|n>>>8,i[7]=n,i[8]=128|r>>>24,i[9]=r>>>16,i[10]=r>>>8,i[11]=r,i[12]=s>
vendor: 4,318 bytes, line 5
5>>24,i[13]=s>>>16,i[14]=s>>>8,i[15]=s,new lo(i)}toString(){for(var t="",n=0;n<this.bytes.length;n++)t=t+pf.charAt(this.bytes[n]>>>4)+pf.charAt(15&this.bytes[n]),n!==3&&n!==5&&n!==7&&n!==9||(t+="-");if(t.length!==36)throw new Error("Invalid UUIDv7 was generated");return t}clone(){return new lo(this.bytes.slice(0))}equals(t){return this.compareTo(t)===0}compareTo(t){for(var n=0;n<16;n++){var r=this.bytes[n]-t.bytes[n];if(r!==0)return Math.sign(r)}return 0}}class fT{constructor(){this.P=0,this.T=0,this.R=new dT}generate(){var t=this.generateOrAbort();if(W(t)){this.P=0;var n=this.generateOrAbort();if(W(n))throw new Error("Could not generate UUID after timestamp reset");return n}return t}generateOrAbort(){var t=Date.now();if(t>this.P)this.P=t,this.I();else{if(!(t+1e4>this.P))return;this.T++,this.T>4398046511103&&(this.P++,this.I())}return lo.fromFieldsV7(this.P,Math.trunc(this.T/Math.pow(2,30)),this.T&Math.pow(2,30)-1,this.R.nextUint32())}I(){this.T=1024*this.R.nextUint32()+(1023&this.R.nextUint32())}}var gf,og=e=>{if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;t<e.length;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};k&&!W(k.crypto)&&crypto.getRandomValues&&(og=e=>crypto.getRandomValues(e));class dT{constructor(){this.C=new Uint32Array(8),this.O=1/0}nextUint32(){return this.O>=this.C.length&&(og(this.C),this.O=0),this.C[this.O++]}}var Un=()=>hT().toString(),hT=()=>(gf||(gf=new fT)).generate(),cs="",pT=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i;function gT(e,t){if(t){var n=(function(s,i){if(i===void 0&&(i=V),cs)return cs;if(!i||["localhost","127.0.0.1"].includes(s))return"";for(var o=s.split("."),a=Math.min(o.length,8),l="dmn_chk_"+Un();!cs&&a--;){var u=o.slice(a).join("."),c=l+"=1;domain=."+u+";path=/";i.cookie=c+";max-age=3",i.cookie.includes(l)&&(i.cookie=c+";max-age=0",cs=u)}return cs})(e);if(!n){var r=(s=>{var i=s.match(pT);return i?i[0]:""})(e);r!==n&&G.info("Warning: cookie subdomain discovery mismatch",r,n),n=r}return n?"; domain=."+n:""}return""}var nn={F:()=>!!V,M:function(e){G.error("cookieStore error: "+e)},A:function(e){if(V){try{for(var t=e+"=",n=V.cookie.split(";").filter((i=>i.length)),r=0;r<n.length;r++){for(var s=n[r];s.charAt(0)==" ";)s=s.substring(1,s.length);if(s.indexOf(t)===0)return decodeURIComponent(s.substring(t.length,s.length))}}catch{}return null}},D:function(e){var t;try{t=JSON.parse(nn.A(e))||{}}catch{}return t},L:function(e,t,n,r,s){if(V)try{var i="",o="",a=gT(V.location.hostname,r);if(n){var l=new Date;l.setTime(l.getTime()+24*n*60*60*1e3),i="; expires="+l.toUTCString()}s&&(o="; secure");var u=e+"="+encodeURIComponent(JSON.stringify(t))+i+"; SameSite=Lax; path=/"+a+o;return u.length>3686.4&&G.warn("cookieStore warning: large cookie, len="+u.length),V.cookie=u,u}catch{return}},j:function(e,t){if(V!=null&&V.cookie)try{nn.L(e,"",-1,t)}catch{return}}},fa=null,Oe={F:function(){if(!Kt(fa))return fa;var e=!0;if(W(k))e=!1;else try{var t="__mplssupport__";Oe.L(t,"xyz"),Oe.A(t)!=='"xyz"'&&(e=!1),Oe.j(t)}catch{e=!1}return e||G.error("localStorage unsupported; falling back to cookie store"),fa=e,e},M:function(e){G.error("localStorage error: "+e)},A:function(e){try{return k?.localStorage.getItem(e)}catch(t){Oe.M(t)}return null},D:function(e){try{return JSON.parse(Oe.A(e))||{}}catch{}return null},L:function(e,t){try{k?.localStorage.setItem(e,JSON.stringify(t))}catch(n){Oe.M(n)}},j:function(e){try{k?.localStorage.removeItem(e)}catch(t){Oe.M(t)}}},_T=["$device_id","distinct_id",ro,sg,ao,oo,Zt],yi={},vT={F:function(){return!0},M:function(e){G.error("memoryStorage error: "+e)},A:function(e){return yi[e]||null},D:function(e){return yi[e]||null},L:function(e,t){yi[e]=t},j:function(e){delete yi[e]}},Zn=null,Xe={F:function(){if(!Kt(Zn))return Zn;if(Zn=!0,W(k))Zn=!1;else try{var e="__support__";Xe.L(e,"xyz"),Xe.A(e)!=='"xyz"'&&(Zn=!1),Xe.j(e)}catch{Zn=!1}return Zn},M:function(e){G.error("sessionStorage error: ",e)},A:function(e){try{return k?.sessionStorage.getItem(e)}catch(t){Xe.M(t)}return null},D:function(e){try{return JSON.parse(Xe.A(e))||null}catch{}return null},L:function(e,t){try{k?.sessionStorage.setItem(e,JSON.stringify(t))}catch(n){Xe.M(n)}},j:function(e){try{k?.sessionStorage.removeItem(e)}catch(t){Xe.M(t)}}}
5,vn=(function(e){return e[e.PENDING=-1]="PENDING",e[e.DENIED=0]="DENIED",e[e.GRANTED=1]="GRANTED",e})({});class mT{constructor(t){this._instance=t}get N(){return this._instance.config}get consent(){return this.U()?vn.DENIED:this.H}isOptedOut(){return this.N.cookieless_mode==="always"||this.consent===vn.DENIED||this.consent===vn.PENDING&&(this.N.opt_out_capturing_by_default||this.N.cookieless_mode==="on_reject")}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return this.consent===vn.DENIED}optInOut(t){this.B.L(this.q,t?1:0,this.N.cookie_expiration,this.N.cross_subdomain_cookie,this.N.secure_cookie)}reset(){this.B.j(this.q,this.N.cross_subdomain_cookie)}get q(){var{token:t,opt_out_capturing_cookie_prefix:n,consent_persistence_name:r}=this._instance.config;return r||(n?n+t:"__ph_opt_in_out_"+t)}get H(){var t=this.B.A(this.q);return la(t)?vn.GRANTED:ue(kE,t)?vn.DENIED:vn.PENDING}get B(){if(!this.V){var t=this.N.opt_out_capturing_persistence_type;this.V=t==="localStorage"?Oe:nn;var n=t==="localStorage"?nn:Oe;n.A(this.q)&&(this.V.A(this.q)||this.optInOut(la(n.A(this.q))),n.j(this.q,this.N.cross_subdomain_cookie))}return this.V}U(){return!!this.N.respect_dnt&&!!eg([Rt?.doNotTrack,Rt?.msDoNotTrack,re.doNotTrack],(t=>la(t)))}}var bi=Le("[Dead Clicks]"),yT=()=>!0,bT=e=>{var t,n=!((t=e.instance.persistence)==null||!t.get_property(rg)),r=e.instance.config.capture_dead_clicks;return Sn(r)?r:!!Ke(r)||n};class _f{get lazyLoadedDeadClicksAutocapture(){return this.W}constructor(t,n,r){this.instance=t,this.isEnabled=n,this.onCapture=r,this.startIfEnabledOrStop()}onRemoteConfig(t){"captureDeadClicks"in t&&(this.instance.persistence&&this.instance.persistence.register({[rg]:t.captureDeadClicks}),this.startIfEnabledOrStop())}startIfEnabledOrStop(){this.isEnabled(this)?this.G((()=>{this.Y()})):this.stop()}G(t){var n,r;(n=re.__PosthogExtensions__)!=null&&n.initDeadClicksAutocapture&&t(),(r=re.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this.instance,"dead-clicks-autocapture",(s=>{s?bi.error("failed to load script",s):t()}))}Y(){var t;if(V){if(!this.W&&(t=re.__PosthogExtensions__)!=null&&t.initDeadClicksAutocapture){var n=Ke(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};n.__onCapture=this.onCapture,this.W=re.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,n),this.W.start(V),bi.info("starting...")}}else bi.error("`document` not found. Cannot start.")}stop(){this.W&&(this.W.stop(),this.W=void 0,bi.info("stopping..."))}}var da=Le("[SegmentIntegration]");function wT(e,t){var n=e.config.segment;if(!n)return t();(function(r,s){var i=r.config.segment;if(!i)return s();var o=l=>{var u=()=>l.anonymousId()||Un();r.config.get_device_id=u,l.id()&&(r.register({distinct_id:l.id(),$device_id:u()}),r.persistence.set_property(Zt,"identified")),s()},a=i.user();"then"in a&&En(a.then)?a.then(o):o(a)})(e,(()=>{n.register((r=>{Promise&&Promise.resolve||da.warn("This browser does not have Promise support, and can not use the segment integration");var s=(i,o)=>{if(!o)return i;i.event.userId||i.event.anonymousId===r.get_distinct_id()||(da.info("No userId set, resetting PostHog"),r.reset()),i.event.userId&&i.event.userId!==r.get_distinct_id()&&(da.info("UserId set, identifying with PostHog"),r.identify(i.event.userId));var a=r.calculateEventProperties(o,i.event.properties);return i.event.properties=Object.assign({},a,i.event.properties),i};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:i=>s(i,i.event.event),page:i=>s(i,"$pageview"),identify:i=>s(i,"$identify"),screen:i=>s(i,"$screen")}})(e)).then((()=>{t()}))}))}var ag="posthog-js";function lg(e,t){var{organization:n,projectId:r,prefix:s,severityAllowList:i=["error"],sendExceptionsToPostHog:o=!0}=t===void 0?{}:t;return a=>{var l,u,c,f,h;if(!(i==="*"||i.includes(a.level))||!e.__loaded)return a;a.tags||(a.tags={});var d=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/person/"+e.get_distinct_id());a.tags["PostHog Person URL"]=d,e.sessionRecordingStarted()&&(a.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var p,g=((l=a.exception)==null?void 0:l.values)||[],w=g.map((b=>U({},b,{stacktrace:b.stacktrace?U({},b.stacktrace,{type:"raw",frames:(b.stacktrace.frames||[]).map((_=>U({},_,{platform:"web:javascript"})))}):void 0}))),E={$exception_message:((u=g[0])==null?void 0:u.value)||a.message,$exception_type:(c=g[0])==null?void 0:c.type,$exception_level:a.level,$exception_list:w,$sentry_event_id:a.event_id,$sentry_exception:a.exception,$sentry_exception_message:((f=g[0])==null?void 0:f.value)||a.message,$sentry_exception_type:(h=g[0])==null?void 0:h.type,$sentry_tags:a.tags};return n&&r&&(E.$sentry_url=(s||"https://sentry.io/organizations/")+n+"/issues/?project="+r+"&query="+a.event_id),o&&((p=e.exceptions)==null||p.sendExceptionEvent(E)),a}}class ET{constructor(t,n,r,s,i,o){this.name=ag,this.setupOnce=function(a){a(lg(t,{organization:n,projectId:r,prefix:s,severityAllowList:i,sendExceptionsToPostHog:o==null||o}))}}}class vf{constructor(t){this.J=(n,r,s)=>{s&&(s.noSessionId||s.activityTimeout||s.sessionPastMaximumLength)&&(G.info("[PageViewManager] Session rotated, clearing pageview state",{sessionId:n,changeReason:s}),this.K=void 0,this._instance.scrollManager.resetContext())},this._instance=t,this.X()}X(){var t;this.Z=(t=this._instance.sessionManager)==null?void 0:t.onSessionId(this.J)}destroy(){var t;(t=this.Z)==null||t.call(this),this.Z=void 0}doPageView(t,n){var r,s=this.tt(t,n);return this.K={pathname:(r=k?.location.pathname)!==null&&r!==void 0?r:"",pageViewId:n,timestamp:t},this._instance.scrollManager.resetContext(),s}doPageLeave(t){var n;return this.tt(t,(n=this.K)==null?void 0:n.pageViewId)}doEvent(){var t;return{$pageview_id:(t=this.K)==null?void 0:t.pageViewId}}tt(t,n){var r=this.K;if(!r)return{$pageview_id:n};var s={$pageview_id:n,$prev_pageview_id:r.pageViewId},i=this._instance.scrollManager.getContext();if(i&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:o,lastScrollY:a,maxScrollY:l,maxContentHeight:u,last
5ContentY:c,maxContentY:f}=i;if(!(W(o)||W(a)||W(l)||W(u)||W(c)||W(f))){o=Math.ceil(o),a=Math.ceil(a),l=Math.ceil(l),u=Math.ceil(u),c=Math.ceil(c),f=Math.ceil(f);var h=o<=1?1:on(a/o,0,1,G),d=o<=1?1:on(l/o,0,1,G),p=u<=1?1:on(c/u,0,1,G),g=u<=1?1:on(f/u,0,1,G);s=De(s,{$prev_pageview_last_scroll:a,$prev_pageview_last_scroll_percentage:h,$prev_pageview_max_scroll:l,$prev_pageview_max_scroll_percentage:d,$prev_pageview_last_content:c,$prev_pageview_last_content_percentage:p,$prev_pageview_max_content:f,$prev_pageview_max_content_percentage:g})}}return r.pathname&&(s.$prev_pageview_pathname=r.pathname),r.timestamp&&(s.$prev_pageview_duration=(t.getTime()-r.timestamp.getTime())/1e3),s}}var co=e=>{var t=V?.createElement("a");return W(t)?null:(t.href=e,t)},TT=function(e,t){var n,r;t===void 0&&(t="&");var s=[];return Pe(e,(function(i,o){W(i)||W(o)||o==="undefined"||(n=encodeURIComponent((a=>a instanceof File)(i)?i.name:i.toString()),r=encodeURIComponent(o),s[s.length]=r+"="+n)})),s.join(t)},uo=function(e,t){for(var n,r=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),s=0;s<r.length;s++){var i=r[s].split("=");if(i[0]===t){n=i;break}}if(!ge(n)||n.length<2)return"";var o=n[1];try{o=decodeURIComponent(o)}catch{G.error("Skipping decoding for malformed query param: "+o)}return o.replace(/\+/g," ")},Js=function(e,t,n){if(!e||!t||!t.length)return e;for(var r=e.split("#"),s=r[0]||"",i=r[1],o=s.split("?"),a=o[1],l=o[0],u=(a||"").split("&"),c=[],f=0;f<u.length;f++){var h=u[f].split("=");ge(h)&&(t.includes(h[0])?c.push(h[0]+"="+n):c.push(u[f]))}var d=l;return a!=null&&(d+="?"+c.join("&")),i!=null&&(d+="#"+i),d},fo=function(e,t){var n=e.match(new RegExp(t+"=([^&]*)"));return n?n[1]:null},wi="https?://(.*)",Yr=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],xT=zr(["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid"],Yr),Xs="<masked>",ST=["li_fat_id"];function cg(e,t,n){if(!V)return{};var r,s=t?zr([],Yr,n||[]):[],i=ug(Js(V.URL,s,Xs),e),o=(r={},Pe(ST,(function(a){var l=nn.A(a);r[a]=l||null})),r);return De(o,i)}function ug(e,t){var n=xT.concat(t||[]),r={};return Pe(n,(function(s){var i=uo(e,s);r[s]=i||null})),r}function fg(e){var t=(function(i){return i?i.search(wi+"google.([^/?]*)")===0?"google":i.search(wi+"bing.com")===0?"bing":i.search(wi+"yahoo.com")===0?"yahoo":i.search(wi+"duckduckgo.com")===0?"duckduckgo":null:null})(e),n=t!="yahoo"?"q":"p",r={};if(!Kt(t)){r.$search_engine=t;var s=V?uo(V.referrer,n):"";s.length&&(r.ph_keyword=s)}return r}function mf(){return navigator.language||navigator.userLanguage}function dg(){return V?.referrer||"$direct"}function hg(e,t){var n=e?zr([],Yr,t||[]):[],r=Ze?.href.substring(0,1e3);return{r:dg().substring(0,1e3),u:r?Js(r,n,Xs):void 0}}function pg(e){var t,{r:n,u:r}=e,s={$referrer:n,$referring_domain:n==null?void 0:n=="$direct"?"$direct":(t=co(n))==null?void 0:t.host};if(r){s.$current_url=r;var i=co(r);s.$host=i?.host,s.$pathname=i?.pathname;var o=ug(r);De(s,o)}if(n){var a=fg(n);De(s,a)}return s}function gg(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}function kT(){try{return new Date().getTimezoneOffset()}catch{return}}function PT(e,t){var n,r,s,i;if(!wt)return{};var o,a,l,u,c,f,h,d,p=e?zr([],Yr,t||[]):[],[g,w]=(function(E){for(var b=0;b<tf.length;b++){var[_,m]=tf[b],T=_.exec(E),x=T&&(En(m)?m(T,E):m);if(x)return x}return["",""]})(wt);return De(gc({$os:g,$os_version:w,$browser:Jp(wt,navigator.vendor),$device:nf(wt),$device_type:(a=wt,l={userAgentDataPlatform:(n=navigator)==null||(n=n.userAgentData)==null?void 0:n.platform,maxTouchPoints:(r=navigator)==null?void 0:r.maxTouchPoints,screenWidth:k==null||(s=k.screen)==null?void 0:s.width,screenHeight:k==null||(i=k.screen)==null?void 0:i.height,devicePixelRatio:k?.devicePixelRatio},d=nf(a),d===Fp||d===Np||d==="Kobo"||d==="Kindle Fire"||d===Yp?qr:d===zs||d===Dr||d===Ys||d===cl?"Console":d===Dp?"Wearable":d?Ot:l?.userAgentDataPlatform==="Android"&&((u=l?.maxTouchPoints)!==null&&u!==void 0?u:0)>0?Math.min((c=l?.screenWidth)!==null&&c!==void 0?c:0,(f=l?.screenHeight)!==null&&f!==void 0?f:0)/((h=l?.devicePixelRatio)!==null&&h!==void 0?h:1)>=600?qr:Ot:"Desktop"),$timezone:gg(),$timezone_offset:kT()}),{$current_url:Js(Ze?.href,p,Xs),$host:Ze?.host,$pathname:Ze?.pathname,$raw_user_agent:wt.length>1e3?wt.substring(0,997)+"...":wt,$browser_version:$E(wt,navigator.vendor),$browser_language:mf(),$browser_language_prefix:(o=mf(),typeof o=="str
5ing"?o.split("-")[0]:void 0),$screen_height:k?.screen.height,$screen_width:k?.screen.width,$viewport_height:k?.innerHeight,$viewport_width:k?.innerWidth,$lib:"web",$lib_version:gn.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})}var RT=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];class ha{constructor(t,n){this.N=t,this.props={},this.it=!1,this.et=(r=>{var s="";return r.token&&(s=r.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),r.persistence_name?"ph_"+r.persistence_name:"ph_"+s+"_posthog"})(t),this.B=this.rt(t),this.load(),t.debug&&G.info("Persistence loaded",t.persistence,U({},this.props)),this.update_config(t,t,n),this.save()}isDisabled(){return!!this.st}rt(t){RT.indexOf(t.persistence.toLowerCase())===-1&&(G.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var n=(function(s){s===void 0&&(s=[]);var i=[..._T,...s];return U({},Oe,{D:function(o){try{var a={};try{a=nn.D(o)||{}}catch{}var l=De(a,JSON.parse(Oe.A(o)||"{}"));return Oe.L(o,l),l}catch{}return null},L:function(o,a,l,u,c,f){try{Oe.L(o,a,void 0,void 0,f);var h={};i.forEach((d=>{a[d]&&(h[d]=a[d])})),Object.keys(h).length&&nn.L(o,h,l,u,c,f)}catch(d){Oe.M(d)}},j:function(o,a){try{k?.localStorage.removeItem(o),nn.j(o,a)}catch(l){Oe.M(l)}}})})(t.cookie_persisted_properties||[]),r=t.persistence.toLowerCase();return r==="localstorage"&&Oe.F()?Oe:r==="localstorage+cookie"&&n.F()?n:r==="sessionstorage"&&Xe.F()?Xe:r==="memory"?vT:r==="cookie"?nn:n.F()?n:nn}nt(t){var n=t??this.N.feature_flag_cache_ttl_ms;if(!n||n<=0)return!1;var r=this.props[io];return!r||typeof r!="number"||Date.now()-r>n}properties(){var t={};return Pe(this.props,((n,r)=>{if(r===Pr&&Ke(n)){if(!this.nt())for(var s=Object.keys(n),i=0;i<s.length;i++)t["$feature/"+s[i]]=n[s[i]]}else a=r,l=!1,(Kt(o=uT)?l:Yu&&o.indexOf===Yu?o.indexOf(a)!=-1:(Pe(o,(function(u){if(l||(l=u===a))return no})),l))||(t[r]=n);var o,a,l})),t}load(){if(!this.st){var t=this.B.D(this.et);t&&(this.props=De({},t))}}save(){this.st||this.B.L(this.et,this.props,this.ot,this.ut,this.ht,this.N.debug)}remove(){this.B.j(this.et,!1),this.B.j(this.et,!0)}clear(){this.remove(),this.props={}}register_once(t,n,r){if(Ke(t)){W(n)&&(n="None"),this.ot=W(r)?this.dt:r;var s=!1;if(Pe(t,((i,o)=>{this.props.hasOwnProperty(o)&&this.props[o]!==n||(this.props[o]=i,s=!0)})),s)return this.save(),!0}return!1}register(t,n){if(Ke(t)){this.ot=W(n)?this.dt:n;var r=!1;if(Pe(t,((s,i)=>{t.hasOwnProperty(i)&&this.props[i]!==s&&(this.props[i]=s,r=!0)})),r)return this.save(),!0}return!1}unregister(t){t in this.props&&(delete this.props[t],this.save())}update_campaign_params(){if(!this.it){var t=cg(this.N.custom_campaign_params,this.N.mask_personal_data_properties,this.N.custom_personal_data_properties);kr(gc(t))||this.register(t),this.it=!0}}update_search_keyword(){var t;this.register((t=V?.referrer)?fg(t):{})}update_referrer_info(){var t;this.register_once({$referrer:dg(),$referring_domain:V!=null&&V.referrer&&((t=co(V.referrer))==null?void 0:t.host)||"$direct"},void 0)}set_initial_person_info(){this.props[yl]||this.props[bl]||this.register_once({[oo]:hg(this.N.mask_personal_data_properties,this.N.custom_personal_data_properties)},void 0)}get_initial_props(){var t={};Pe([bl,yl],(o=>{var a=this.props[o];a&&Pe(a,(function(l,u){t["$initial_"+il(u)]=l}))}));var n,r,s=this.props[oo];if(s){var i=(n=pg(s),r={},Pe(n,(function(o,a){r["$initial_"+il(a)]=o})),r);De(t,i)}return t}safe_merge(t){return Pe(this.props,(function(n,r){r in t||(t[r]=n)})),t}update_config(t,n,r){if(this.dt=this.ot=t.cookie_expiration,this.set_disabled(t.disable_persistence||!!r),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie),t.persistence!==n.persistence||!((o,a)=>{if(o.length!==a.length)return!1;var l=[...o].sort(),u=[...a].sort();return l.every(((c,f)=>c===u[f]))})(t.cookie_persisted_properties||[],n.cookie_persisted_properties||[])){var s=this.rt(t),i=this.props;this.clear(),this.B=s,this.props=i,this.save()}}set_disabled(t){this.st=t,this.st?this.remove():this.save()}set_cross_subdomain(t){t!==this.ut&&(this.ut=t,this.remove(),this.save())}set_secure(t){t!==this.ht&&(this.ht=t,this.remove(),this.save())}set_event_timer(t,n){var r=this.props[Es]||{};r[t]=n,this.props[Es]=r,this.save()}remove_event_timer(t){var n=(this.props[Es]||{})[t];return W(n)||(delete this.props[Es][t],this.save()),n}get_property(t){return this.props[t]}set_property(t,n){this.props[t]=n,this.save()}}var us={Activation:"events",Cancellation:"cancelEvents"},pa={Popover:"popover",API:"api",Widget:"widget"},Ss={SHOWN:"survey shown",DISMISSED:"survey dismissed",SENT:"survey sent"},ga={SURVEY_ID:"$survey_id",SURVEY_ITERATION:"$survey_iteration",SURVEY_LAST_SEEN_DATE:"$survey_last_seen_date"},wl={Popover:"popover",Inline:"inline"},CT=(function(e){return e.SHOWN="product tour shown",e.DISMISSED="product tour dismissed",e.COMPLETED="product tour completed",e.STEP_SHOWN="product tour step shown",e.STEP_COMPLETED="product tour step completed",e.BUTTON_CLICKED="product tour button clicked",e.STEP_SELECTOR_FAILED="product tour step selector failed",e.BANNER_CONTAINER_SELECTOR_FAILED="product tour banner container selector failed",e.BANNER_ACTION_CLICKED="product tour banner action clicked",e})({}),yf=(function(e){return e.TOUR_ID="$product_tour_id",e.TOUR_NAME="$product_tour_name",e.TOUR_ITERATION="$product_tour_iteration",e.TOUR_RENDER_REASON="$product_tour_render_reason",e.TOUR_STEP_ID="$product_tour_step_id",e.TOUR_STEP_ORDER="$product_tour_step_order",e.TOUR_STEP_TYPE="$product_tour_step_type",e.TOUR_DISMISS_REASON="$product_tour_dismiss_reason",e.TOUR_BUTTON_TEXT="$product_tour_button_text",e.TOUR_BUTTON_ACTION="$product_tour_button_action",e.TOUR_BUTTON_LINK="$product_tour_button_link",e.TOUR_BUTTON_TOUR_ID="$product_tour_button_tour_id",e.TOUR_STEPS_COUNT="$product_tour_steps_count",e.TOUR_STEP_SELECTOR="$product_tour_step_selector",e.TOUR_STEP_SELECTOR_FOUND="$product_tour_step_selector_found",e.TOUR_STEP_ELEMENT_TAG="$product_tour_step_element_tag",e.TOUR_STEP_ELEMENT_ID="$product_tour_step_element_id",e.TOUR_STEP_ELEMENT_CLASSES="$product_tour_step_element_classes",e.TOUR_STEP_ELEMENT_TEXT="$product_tour_step_element_text",e.TOUR_ERROR="$product_tour_error",e.TOUR_MATCHES_COUNT="$product_tour_matches_count",e.TOUR_FAILURE_PHASE="$product_tour_failure_phase",e.TOUR_WAITED_FOR_ELEMENT="$product_tour_waited_for_element",e.TOUR_WAIT_DURATION_MS="$product_tour_wait_duration_ms",e.TOUR_BANNER_SELECTOR="$product_tour_banner_selector",e.TOUR_LINKED_SURVEY_ID="$product_tour_linked_survey_id",e.USE_MANUAL_SELECTOR="$use_manual_selector",e.INFERENCE_DATA_PRESENT="$inference_data_present",e.TOUR_LAST_SEEN_DATE="$product_tour_last_seen_date",e.TOUR_TYPE="$product_tour_type",e})({}),bf=Le("[RateLimiter]");class AT{constructor(t){this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=n=>{var r=n.text;
5if(r&&r.length)try{(JSON.parse(r).quota_limited||[]).forEach((s=>{bf.info((s||"events")+" is quota limited."),this.serverLimits[s]=new Date().getTime()+6e4}))}catch(s){return void bf.warn('could not rate limit - continuing. Error: "'+s?.message+'"',{text:r})}},this.instance=t,this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}get captureEventsPerSecond(){var t;return((t=this.instance.config.rate_limiting)==null?void 0:t.events_per_second)||10}get captureEventsBurstLimit(){var t;return Math.max(((t=this.instance.config.rate_limiting)==null?void 0:t.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond)}clientRateLimitContext(t){var n,r,s;t===void 0&&(t=!1);var{captureEventsBurstLimit:i,captureEventsPerSecond:o}=this,a=new Date().getTime(),l=(n=(r=this.instance.persistence)==null?void 0:r.get_property(ml))!==null&&n!==void 0?n:{tokens:i,last:a};l.tokens+=(a-l.last)/1e3*o,l.last=a,l.tokens>i&&(l.tokens=i);var u=l.tokens<1;return u||t||(l.tokens=Math.max(0,l.tokens-1)),!u||this.lastEventRateLimited||t||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+o+" events per second and "+i+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=u,(s=this.instance.persistence)==null||s.set_property(ml,l),{isRateLimited:u,remainingTokens:l.tokens}}isServerRateLimited(t){var n=this.serverLimits[t||"events"]||!1;return n!==!1&&new Date().getTime()<n}}var fs=Le("[RemoteConfig]");class _g{constructor(t){this._instance=t}get remoteConfig(){var t;return(t=re._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.config}vt(t){var n,r;(n=re.__PosthogExtensions__)!=null&&n.loadExternalDependency?(r=re.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,"remote-config",(()=>t(this.remoteConfig))):t()}ct(t){this._instance._send_request({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback:n=>{t(n.json)}})}load(){try{if(this.remoteConfig)return fs.info("Using preloaded remote config",this.remoteConfig),this.ft(this.remoteConfig),void this._t();if(this._instance.bt())return void fs.warn("Remote config is disabled. Falling back to local config.");this.vt((t=>{if(!t)return fs.info("No config found after loading remote JS config. Falling back to JSON."),void this.ct((n=>{this.ft(n),this._t()}));this.ft(t),this._t()}))}catch(t){fs.error("Error loading remote config",t)}}stop(){this.yt&&(clearInterval(this.yt),this.yt=void 0)}refresh(){this._instance.bt()||V?.visibilityState==="hidden"||this._instance.reloadFeatureFlags()}_t(){var t;if(!this.yt){var n=(t=this._instance.config.remote_config_refresh_interval_ms)!==null&&t!==void 0?t:3e5;n!==0&&(this.yt=setInterval((()=>{this.refresh()}),n))}}ft(t){var n;t||fs.error("Failed to fetch remote config from PostHog."),this._instance.ft(t??{}),t?.hasFeatureFlags!==!1&&(this._instance.config.advanced_disable_feature_flags_on_first_load||(n=this._instance.featureFlags)==null||n.ensureFlagsLoaded())}}var wn=(function(e){return e.GZipJS="gzip-js",e.Base64="base64",e})({}),$t=Uint8Array,Tt=Uint16Array,Jr=Uint32Array,_c=new $t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),vc=new $t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),wf=new $t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),vg=function(e,t){for(var n=new Tt(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var s=new Jr(n[30]);for(r=1;r<30;++r)for(var i=n[r];i<n[r+1];++i)s[i]=i-n[r]<<5|r;return[n,s]},mg=vg(_c,2),OT=mg[0],El=mg[1];OT[28]=258,El[258]=28;for(var Ef=vg(vc,0)[1],yg=new Tt(32768),Ce=0;Ce<32768;++Ce){var er=(43690&Ce)>>>1|(21845&Ce)<<1;er=(61680&(er=(52428&er)>>>2|(13107&er)<<2))>>>4|(3855&er)<<4,yg[Ce]=((65280&er)>>>8|(255&er)<<8)>>>1}var Fs=function(e,t,n){for(var r=e.length,s=0,i=new Tt(t);s<r;++s)++i[e[s]-1];var o,a=new Tt(t);for(s=0;s<t;++s)a[s]=a[s-1]+i[s-1]<<1;for(o=new Tt(r),s=0;s<r;++s)o[s]=yg[a[e[s]-1]++]>>>15-e[s];return o},_r=new $t(288);for(Ce=0;Ce<144;++Ce)_r[Ce]=8;for(Ce=144;Ce<256;++Ce)_r[Ce]=9;for(Ce=256;Ce<280;++Ce)_r[Ce]=7;for(Ce=280;Ce<288;++Ce)_r[Ce]=8;var ho=new $t(32);for(Ce=0;Ce<32;++Ce)ho[Ce]=5;var IT=Fs(_r,9),LT=Fs(ho,5),bg=function(e){return(e/8>>0)+(7&e&&1)},wg=function(e,t,n){(n==null||n>e.length)&&(n=e.length);var r=new(e instanceof Tt?Tt:e instanceof Jr?Jr:$t)(n-t);return r.set(e.subarray(t,n)),r},hn=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8},ds=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},_a=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var s=n.length,i=n.slice();if(!s)return[new $t(0),0];if(s==1){var o=new $t(n[0].s+1);return o[n[0].s]=1,[o,1]}n.sort((function(T,x){return T.f-x.f})),n.push({s:-1,f:25001});var a=n[0],l=n[1],u=0,c=1,f=2;for(n[0]={s:-1,f:a.f+l.f,l:a,r:l};c!=s-1;)a=n[n[u].f<n[f].f?u++:f++],l=n[u!=c&&n[u].f<n[f].f?u++:f++],n[c++]={s:-1,f:a.f+l.f,l:a,r:l};var h=i[0].s;for(r=1;r<s;++r)i[r].s>h&&(h=i[r].s);var d=new Tt(h+1),p=Tl(n[c-1],d,0);if(p>t){r=0;var g=0,w=p-t,E=1<<w;for(i.sort((function(T,x){return d[x.s]-d[T.s]||T.f-x.f}));r<s;++r){var b=i[r].s;if(!(d[b]>t))break;g+=E-(1<<p-d[b]),d[b]=t}for(g>>>=w;g>0;){var _=i[r].s;d[_]<t?g-=1<<t-d[_]++-1:++r}for(;r>=0&&g;--r){var m=i[r].s;d[m]==t&&(--d[m],++g)}p=t}return[new $t(d),p]},Tl=function(e,t,n){return e.s==-1?Math.max(Tl(e.l,t,n+1),Tl(e.r,t,n+1)):t[e.s]=n},Tf=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Tt(++t),r=0,s=e[0],i=1,o=function(l){n[r++]=l},a=1;a<=t;++a)if(e[a]==s&&a!=t)++i;else{if(!s&&i>2){for(;i>138;i-=138)o(32754);i>2&&(o(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(o(s),--i;i>6;i-=6)o(8304);i>2&&(o(i-3<<5|8208),i=0)}for(;i--;)o(s);i=1,s=e[a]}return[n.subarray(0,r),t]},hs=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},xl=function(e,t,n){var r=n.length,s=bg(t+2);e[s]=255&r,e[s+1]=r>>>8,e[s+2]=255^e[s],e[s+3]=255^e[s+1];for(var i=0;i<r;++i)e[s+i+4]=n[i];return 8*(s+4+r)},xf=function(e,t,n,r,s,i,o,a,l,u,c){hn(t,c++,n),++s[256];for(var f=_a(s,15),h=f[0],d=f[1],p=_a(i,15),g=p[0],w=p[1],E=Tf(h),b=E[0],_=E[1],m=Tf(g),T=m[0],x=m[1],P=new Tt(19),L=0;L<b.length;++L)P[31&b[L]]++;for(L=0;L<T.length;++L)P[31&T[L]]++;for(var R=_a(P,7),O=R[0],H=R[1],A=19;A>4&&!O[wf[A-1]];--A);var q,j,ee,D,ne=u+5<<3,Y=hs(s,_r)+hs(i,ho)+o,ce=hs(s,h)+hs(i,g)+o+14+3*A+hs(P,O)+(2*P[16]+3*P[17]+7*P[18]);if(ne<=Y&&ne<=ce)return xl(t,c,e.subarray(l,l+u));if(hn(t,c,1+(ce<Y)),c+=2,ce<Y){q=Fs(h,d),j=h,ee=Fs(g,w),D=g;var Ye=Fs(O,H);for(hn(t,c,_-257),hn(t,c+5,x-1),hn(t,c+10,A-4),c+=14,L=0;L<A;++L)hn(t,c+3*L,O[wf[L]]);c+=3*A;for(var Je=[b,T],ve=0;ve<2;++ve){var qe=Je[ve];for(L=0;L<qe.length;++L){var je=31&qe[L];hn(t,c,Ye[je]),c+=O[je],je>15&&(hn(t,c,qe[L]>>>5&127),c+=qe[L]>>>12)}}}else q=IT,j=_r,ee=LT,D=ho;for(L=0;L<a;++L)if(r[L]>
vendor: 4,293 bytes, lines 5-7
5255){je=r[L]>>>18&31,ds(t,c,q[je+257]),c+=j[je+257],je>7&&(hn(t,c,r[L]>>>23&31),c+=_c[je]);var vt=31&r[L];ds(t,c,ee[vt]),c+=D[vt],vt>3&&(ds(t,c,r[L]>>>5&8191),c+=vc[vt])}else ds(t,c,q[r[L]]),c+=j[r[L]];return ds(t,c,q[256]),c+j[256]},MT=new Jr([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),NT=(function(){for(var e=new Jr(256),t=0;t<256;++t){for(var n=t,r=9;--r;)n=(1&n&&3988292384)^n>>>1;e[t]=n}return e})(),FT=function(e,t,n,r,s){return(function(i,o,a,l,u,c){var f=i.length,h=new $t(l+f+5*(1+Math.floor(f/7e3))+u),d=h.subarray(l,h.length-u),p=0;if(!o||f<8)for(var g=0;g<=f;g+=65535){var w=g+65535;w<f?p=xl(d,p,i.subarray(g,w)):(d[g]=c,p=xl(d,p,i.subarray(g,f)))}else{for(var E=MT[o-1],b=E>>>13,_=8191&E,m=(1<<a)-1,T=new Tt(32768),x=new Tt(m+1),P=Math.ceil(a/3),L=2*P,R=function(C){return(i[C]^i[C+1]<<P^i[C+2]<<L)&m},O=new Jr(25e3),H=new Tt(288),A=new Tt(32),q=0,j=0,ee=(g=0,0),D=0,ne=0;g<f;++g){var Y=R(g),ce=32767&g,Ye=x[Y];if(T[ce]=Ye,x[Y]=ce,D<=g){var Je=f-g;if((q>7e3||ee>24576)&&Je>423){p=xf(i,d,0,O,H,A,j,ee,ne,g-ne,p),ee=q=j=0,ne=g;for(var ve=0;ve<286;++ve)H[ve]=0;for(ve=0;ve<30;++ve)A[ve]=0}var qe=2,je=0,vt=_,Fe=ce-Ye&32767;if(Je>2&&Y==R(g-Fe))for(var I=Math.min(b,Je)-1,X=Math.min(32767,g),K=Math.min(258,Je);Fe<=X&&--vt&&ce!=Ye;){if(i[g+qe]==i[g+qe-Fe]){for(var Q=0;Q<K&&i[g+Q]==i[g+Q-Fe];++Q);if(Q>qe){if(qe=Q,je=Fe,Q>I)break;var le=Math.min(Fe,Q-2),Te=0;for(ve=0;ve<le;++ve){var v=g-Fe+ve+32768&32767,y=v-T[v]+32768&32767;y>Te&&(Te=y,Ye=v)}}}Fe+=(ce=Ye)-(Ye=T[ce])+32768&32767}if(je){O[ee++]=268435456|El[qe]<<18|Ef[je];var S=31&El[qe],M=31&Ef[je];j+=_c[S]+vc[M],++H[257+S],++A[M],D=g+qe,++q}else O[ee++]=i[g],++H[i[g]]}}p=xf(i,d,c,O,H,A,j,ee,ne,g-ne,p)}return wg(h,0,l+bg(p)+u)})(e,t.level==null?6:t.level,t.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!0)},va=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};function $T(e,t){t===void 0&&(t={});var n=(function(){var a=4294967295;return{p:function(l){for(var u=a,c=0;c<l.length;++c)u=NT[255&u^l[c]]^u>>>8;a=u},d:function(){return 4294967295^a}}})(),r=e.length;n.p(e);var s,i=FT(e,t,10+((s=t).filename&&s.filename.length+1||0),8),o=i.length;return(function(a,l){var u=l.filename;if(a[0]=31,a[1]=139,a[2]=8,a[8]=l.level<2?4:l.level==9?2:0,a[9]=3,l.mtime!=0&&va(a,4,Math.floor(new Date(l.mtime||Date.now())/1e3)),u){a[3]=8;for(var c=0;c<=u.length;++c)a[c+10]=u.charCodeAt(c)}})(i,t),va(i,o-8,n.d()),va(i,o-4,r),i}var DT=function(e){var t,n,r,s,i="";for(t=n=0,r=(e=(e+"").replace(/\r\n/g,`
6`).replace(/\r/g,`
7`)).length,s=0;s<r;s++){var o=e.charCodeAt(s),a=null;o<128?n++:a=o>127&&o<2048?String.fromCharCode(o>>6|192,63&o|128):String.fromCharCode(o>>12|224,o>>6&63|128,63&o|128),Kt(a)||(n>t&&(i+=e.substring(t,n)),i+=a,t=n=s+1)}return n>t&&(i+=e.substring(t,e.length)),i},HT=!!sl||!!rl,po=function(e,t,n){var r;n===void 0&&(n=!0);var[s,i]=e.split("?"),o=U({},t),a=(r=i?.split("&").map((u=>{var c,[f,h]=u.split("="),d=n&&(c=o[f])!==null&&c!==void 0?c:h;return delete o[f],f+"="+d})))!==null&&r!==void 0?r:[],l=TT(o);return l&&a.push(l),s+"?"+a.join("&")},ks=(e,t)=>JSON.stringify(e,((n,r)=>typeof r=="bigint"?r.toString():r),t),ma=e=>{var{data:t,compression:n}=e;if(t){if(n===wn.GZipJS){var r=$T((function(a,l){var u=a.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(a);for(var c=new $t(a.length+(a.length>>>1)),f=0,h=function(w){c[f++]=w},d=0;d<u;++d){if(f+5>c.length){var p=new $t(f+8+(u-d<<1));p.set(c),c=p}var g=a.charCodeAt(d);g<128||l?h(g):g<2048?(h(192|g>>>6),h(128|63&g)):g>55295&&g<57344?(h(240|(g=65536+(1047552&g)|1023&a.charCodeAt(++d))>>>18),h(128|g>>>12&63),h(128|g>>>6&63),h(128|63&g)):(h(224|g>>>12),h(128|g>>>6&63),h(128|63&g))}return wg(c,0,f)})(ks(t)),{mtime:0});return{contentType:"text/plain",body:r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength),estimatedSize:r.byteLength}}if(n===wn.Base64){var s=(function(a){var l,u,c,f,h,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",p=0,g=0,w="",E=[];if(!a)return a;a=DT(a);do l=(h=a.charCodeAt(p++)<<16|a.charCodeAt(p++)<<8|a.charCodeAt(p++))>>18&63,u=h>>12&63,c=h>>6&63,f=63&h,E[g++]=d.charAt(l)+d.charAt(u)+d.charAt(c)+d.charAt(f);while(p<a.length);switch(w=E.join(""),a.length%3){case 1:w=w.slice(0,-2)+"==";break;case 2:w=w.slice(0,-1)+"="}return w})(ks(t)),i=(a=>
7"data="+encodeURIComponent(typeof a=="string"?a:ks(a)))(s);return{contentType:"application/x-www-form-urlencoded",body:i,estimatedSize:new Blob([i]).size}}var o=ks(t);return{contentType:"application/json",body:o,estimatedSize:new Blob([o]).size}}},Oi=[];rl&&Oi.push({transport:"fetch",method:e=>{var t,n,{contentType:r,body:s,estimatedSize:i}=(t=ma(e))!==null&&t!==void 0?t:{},o=new Headers;Pe(e.headers,(function(c,f){o.append(f,c)})),r&&o.append("Content-Type",r);var a=e.url,l=null;if(Ju){var u=new Ju;l={signal:u.signal,timeout:setTimeout((()=>u.abort()),e.timeout)}}rl(a,U({method:e?.method||"GET",headers:o,keepalive:e.method==="POST"&&(i||0)<52428.8,body:s,signal:(n=l)==null?void 0:n.signal},e.fetchOptions)).then((c=>c.text().then((f=>{var h={statusCode:c.status,text:f};if(c.status===200)try{h.json=JSON.parse(f)}catch(d){G.error(d)}e.callback==null||e.callback(h)})))).catch((c=>{G.error(c),e.callback==null||e.callback({statusCode:0,error:c})})).finally((()=>l?clearTimeout(l.timeout):null))}}),sl&&Oi.push({transport:"XHR",method:e=>{var t,n=new sl;n.open(e.method||"GET",e.url,!0);var{contentType:r,body:s}=(t=ma(e))!==null&&t!==void 0?t:{};Pe(e.headers,(function(i,o){n.setRequestHeader(o,i)})),r&&n.setRequestHeader("Content-Type",r),e.timeout&&(n.timeout=e.timeout),e.disableXHRCredentials||(n.withCredentials=!0),n.onreadystatechange=()=>{if(n.readyState===4){var i={statusCode:n.status,text:n.responseText};if(n.status===200)try{i.json=JSON.parse(n.responseText)}catch{}e.callback==null||e.callback(i)}},n.send(s)}}),Rt!=null&&Rt.sendBeacon&&Oi.push({transport:"sendBeacon",method:e=>{var t=po(e.url,{beacon:"1"});try{var n,{contentType:r,body:s}=(n=ma(e))!==null&&n!==void 0?n:{},i=typeof s=="string"?new Blob([s],{type:r}):s;Rt.sendBeacon(t,i)}catch{}}});var Sl=3e3;class jT{constructor(t,n){this.wt=!0,this.Et=[],this.xt=on(n?.flush_interval_ms||Sl,250,5e3,G.createLogger("flush interval"),Sl),this.St=t}enqueue(t){this.Et.push(t),this.$t||this.kt()}unload(){this.Pt();var t=this.Et.length>0?this.Tt():{},n=Object.values(t);[...n.filter((r=>r.url.indexOf("/e")===0)),...n.filter((r=>r.url.indexOf("/e")!==0))].map((r=>{this.St(U({},r,{transport:"sendBeacon"}))}))}enable(){this.wt=!1,this.kt()}kt(){var t=this;this.wt||(this.$t=setTimeout((()=>{if(this.Pt(),this.Et.length>0){var n=this.Tt(),r=function(){var i=n[s],o=new Date().getTime();i.data&&ge(i.data)&&Pe(i.data,(a=>{a.offset=Math.abs(a.timestamp-o),delete a.timestamp})),t.St(i)};for(var s in n)r()}}),this.xt))}Pt(){clearTimeout(this.$t),this.$t=void 0}Tt(){var t={};return Pe(this.Et,(n=>{var r,s=n,i=(s?s.batchKey:null)||s.url;W(t[i])&&(t[i]=U({},s,{data:[]})),(r=t[i].data)==null||r.push(s.data)})),this.Et=[],t}}var UT=["retriesPerformedSoFar"];class BT{constructor(t){this.Rt=!1,this.It=3e3,this.Et=[],this._instance=t,this.Et=[],this.Ct=!0,!W(k)&&"onLine"in k.navigator&&(this.Ct=k.navigator.onLine,this.Ot=()=>{this.Ct=!0,this.Ft()},this.Mt=()=>{this.Ct=!1},Ue(k,"online",this.Ot),Ue(k,"offline",this.Mt))}get length(){return this.Et.length}retriableRequest(t){var{retriesPerformedSoFar:n}=t,r=Op(t,UT);Tr(n)&&(r.url=po(r.url,{retry_count:n})),this._instance._send_request(U({},r,{callback:s=>{s.statusCode!==200&&(s.statusCode<400||s.statusCode>=500)&&(n??0)<10?this.At(U({retriesPerformedSoFar:n},r)):r.callback==null||r.callback(s)}}))}At(t){var n=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=n+1;var r=(function(o){var a=3e3*Math.pow(2,o),l=a/2,u=Math.min(18e5,a),c=(Math.random()-.5)*(u-l);return Math.ceil(u+c)})(n),s=Date.now()+r;this.Et.push({retryAt:s,requestOptions:t});var i="Enqueued failed request for retry in "+r;navigator.onLine||(i+=" (Browser is offline)"),G.warn(i),this.Rt||(this.Rt=!0,this.Dt())}Dt(){if(this.Lt&&clearTimeout(this.Lt),this.Et.length===0)return this.Rt=!1,void(this.Lt=void 0);this.Lt=setTimeout((()=>{this.Ct&&this.Et.length>0&&this.Ft(),this.Dt()}),this.It)}Ft(){var t=Date.now(),n=[],r=this.Et.filter((i=>i.retryAt<t||(n.push(i),!1)));if(this.Et=n,r.length>0)for(var{requestOptions:s}of r)this.retriableRequest(s)}unload(){for(var{requestOptions:t}of(this.Lt&&(clearTimeout(this.Lt),this.Lt=void 0),this.Rt=!1,W(k)||(this.Ot&&(k.removeEventListener("online",this.Ot),this.Ot=void 0),this.Mt&&(k.removeEventListener("offline",this.Mt),this.Mt=void 0)),this.Et))try{this._instance._send_request(U({},t,{transport:"sendBeacon"}))}catch(n){G.error(n)}this.Et=[]}}class VT{constructor(t){this.jt=()=>{var n,r,s,i;this.Nt||(this.Nt={});var o=this.scrollElement(),a=this.scrollY(),l=o?Math.max(0,o.scrollHeight-o.clientHeight):0,u=a+(o?.clientHeight||0),c=o?.scrollHeight||0;this.Nt.lastScrollY=Math.ceil(a),this.Nt.maxScrollY=Math.max(a,(n=this.Nt.maxScrollY)!==null&&n!==void 0?n:0),this.Nt.maxScrollHeight=Math.max(l,(r=this.Nt.maxScrollHeight)!==null&&r!==void 0?r:0),this.Nt.lastContentY=u,this.Nt.maxContentY=Math.max(u,(s=this.Nt.maxContentY)!==null&&s!==void 0?s:0),this.Nt.maxContentHeight=Math.max(c,(i=this.Nt.maxContentHeight)!==null&&i!==void 0?i:0)},this._instance=t}getContext(){return this.Nt}resetContext(){var t=this.Nt;return setTimeout(this.jt,0),t}startMeasuringScrollPosition(){Ue(k,"scroll",this.jt,{capture:!0}),Ue(k,"scrollend",this.jt,{capture:!0}),Ue(k,"resize",this.jt)}scrollElement(){if(!this._instance.config.scroll_root_selector)return k?.document.documentElement;var t=ge(this._instance.config.scroll_root_selector)?this._instance.config.scroll_root_selector:[this._instance.config.scroll_root_selector];for(var n of t){var r=k?.document.querySelector(n);if(r)return r}}scrollY(){if(this._instance.config.scroll_root_selector){var t=this.scrollElement();return t&&t.scrollTop||0}return k&&(k.scrollY||k.pageYOffset||k.document.documentElement.scrollTop)||0}scrollX(){if(this._instance.config.scroll_root_selector){var t=this.scrollElement();return t&&t.scrollLeft||0}return k&&(k.scrollX||k.pageXOffset||k.document.documentElement.scrollLeft)||0}}var WT=e=>hg(e?.config.mask_personal_data_properties,e?.config.custom_personal_data_properties);class Sf{constructor(t,n,r,s){this.Ut=i=>{var o=this.zt();if(!o||o.sessionId!==i){var a={sessionId:i,props:this.Ht(this._instance)};this.Bt.register({[vl]:a})}},this._instance=t,this.qt=n,this.Bt=r,this.Ht=s||WT,this.qt.onSessionId(this.Ut)}zt(){return this.Bt.props[vl]}
7getSetOnceProps(){var t,n=(t=this.zt())==null?void 0:t.props;return n?"r"in n?pg(n):{$referring_domain:n.referringDomain,$pathname:n.initialPathName,utm_source:n.utm_source,utm_campaign:n.utm_campaign,utm_medium:n.utm_medium,utm_content:n.utm_content,utm_term:n.utm_term}:{}}getSessionProps(){var t={};return Pe(gc(this.getSetOnceProps()),((n,r)=>{r==="$current_url"&&(r="url"),t["$session_entry_"+il(r)]=n})),t}}class mc{constructor(){this.Vt={},this.Vt={}}on(t,n){return this.Vt[t]||(this.Vt[t]=[]),this.Vt[t].push(n),()=>{this.Vt[t]=this.Vt[t].filter((r=>r!==n))}}emit(t,n){for(var r of this.Vt[t]||[])r(n);for(var s of this.Vt["*"]||[])s(t,n)}}var ya=Le("[SessionId]");class kf{on(t,n){return this.Wt.on(t,n)}constructor(t,n,r){var s;if(this.Gt=[],this.Yt=void 0,this.Wt=new mc,this.Jt=(c,f)=>!(!Tr(c)||!Tr(f))&&Math.abs(c-f)>this.sessionTimeoutMs,!t.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if(t.config.cookieless_mode==="always")throw new Error('SessionIdManager cannot be used with cookieless_mode="always"');this.N=t.config,this.Bt=t.persistence,this.Kt=void 0,this.Xt=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.Qt=n||Un,this.Zt=r||Un;var i=this.N.persistence_name||this.N.token,o=this.N.session_idle_timeout_seconds||1800;if(this._sessionTimeoutMs=1e3*on(o,60,36e3,ya.createLogger("session_idle_timeout_seconds"),1800),t.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.ti(),this.ii="ph_"+i+"_window_id",this.ei="ph_"+i+"_primary_window_exists",this.ri()){var a=Xe.D(this.ii),l=Xe.D(this.ei);a&&!l?this.Kt=a:Xe.j(this.ii),Xe.L(this.ei,!0)}if((s=this.N.bootstrap)!=null&&s.sessionID)try{var u=(c=>{var f=c.replace(/-/g,"");if(f.length!==32)throw new Error("Not a valid UUID");if(f[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(f.substring(0,12),16)})(this.N.bootstrap.sessionID);this.si(this.N.bootstrap.sessionID,new Date().getTime(),u)}catch(c){ya.error("Invalid sessionID in bootstrap",c)}this.ni()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(t){return W(this.Gt)&&(this.Gt=[]),this.Gt.push(t),this.Xt&&t(this.Xt,this.Kt),()=>{this.Gt=this.Gt.filter((n=>n!==t))}}ri(){return this.N.persistence!=="memory"&&!this.Bt.st&&Xe.F()}oi(t){t!==this.Kt&&(this.Kt=t,this.ri()&&Xe.L(this.ii,t))}ai(){return this.Kt?this.Kt:this.ri()?Xe.D(this.ii):null}si(t,n,r){t===this.Xt&&n===this._sessionActivityTimestamp&&r===this._sessionStartTimestamp||(this._sessionStartTimestamp=r,this._sessionActivityTimestamp=n,this.Xt=t,this.Bt.register({[ro]:[n,t,r]}))}li(){var t=this.Bt.props[ro];return ge(t)&&t.length===2&&t.push(t[0]),t||[0,null,0]}resetSessionId(){this.si(null,null,null)}destroy(){clearTimeout(this.ui),this.ui=void 0,this.Yt&&k&&(k.removeEventListener("beforeunload",this.Yt,{capture:!1}),this.Yt=void 0),this.Gt=[]}ni(){this.Yt=()=>{this.ri()&&Xe.j(this.ei)},Ue(k,"beforeunload",this.Yt,{capture:!1})}checkAndGetSessionAndWindowId(t,n){if(t===void 0&&(t=!1),n===void 0&&(n=null),this.N.cookieless_mode==="always")throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var r=n||new Date().getTime(),[s,i,o]=this.li(),a=this.ai(),l=Tr(o)&&Math.abs(r-o)>864e5,u=!1,c=!i,f=!c&&!t&&this.Jt(r,s);c||f||l?(i=this.Qt(),a=this.Zt(),ya.info("new session ID generated",{sessionId:i,windowId:a,changeReason:{noSessionId:c,activityTimeout:f,sessionPastMaximumLength:l}}),o=r,u=!0):a||(a=this.Zt(),u=!0);var h=Tr(s)&&t&&!l?s:r,d=Tr(o)?o:new Date().getTime();return this.oi(a),this.si(i,h,d),t||this.ti(),u&&this.Gt.forEach((p=>p(i,a,u?{noSessionId:c,activityTimeout:f,sessionPastMaximumLength:l}:void 0))),{sessionId:i,windowId:a,sessionStartTimestamp:d,changeReason:u?{noSessionId:c,activityTimeout:f,sessionPastMaximumLength:l}:void 0,lastActivityTimestamp:s}}ti(){clearTimeout(this.ui),this.ui=setTimeout((()=>{var[t]=this.li();if(this.Jt(new Date().getTime(),t)){var n=this.Xt;this.resetSessionId(),this.Wt.emit("forcedIdleReset",{idleSessionId:n})}}),1.1*this.sessionTimeoutMs)}}var Eg=function(e,t){if(!e)return!1;var n=e.userAgent;if(n&&Qu(n,t))return!0;try{var r=e?.userAgentData;if(r!=null&&r.brands&&r.brands.some((s=>Qu(s?.brand,t))))return!0}catch{}return!!e.webdriver},go=function(e,t){if(!(function(n){try{new RegExp(n)}catch{return!1}return!0})(t))return!1;try{return new RegExp(t).test(e)}catch{return!1}};function Pf(e,t,n){return ks({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:n})}var Tg={exact:(e,t)=>
7t.some((n=>e.some((r=>n===r)))),is_not:(e,t)=>t.every((n=>e.every((r=>n!==r)))),regex:(e,t)=>t.some((n=>e.some((r=>go(n,r))))),not_regex:(e,t)=>t.every((n=>e.every((r=>!go(n,r))))),icontains:(e,t)=>t.map(Ei).some((n=>e.map(Ei).some((r=>n.includes(r))))),not_icontains:(e,t)=>t.map(Ei).every((n=>e.map(Ei).every((r=>!n.includes(r))))),gt:(e,t)=>t.some((n=>{var r=parseFloat(n);return!isNaN(r)&&e.some((s=>r>parseFloat(s)))})),lt:(e,t)=>t.some((n=>{var r=parseFloat(n);return!isNaN(r)&&e.some((s=>r<parseFloat(s)))}))},Ei=e=>e.toLowerCase();function xg(e,t){return!e||Object.entries(e).every((n=>{var[r,s]=n,i=t?.[r];if(W(i)||Kt(i))return!1;var o=[String(i)],a=Tg[s.operator];return!!a&&a(s.values,o)}))}var Ps=(function(e){return e.US="us",e.EU="eu",e.CUSTOM="custom",e})({}),Rf="i.posthog.com";class qT{constructor(t){this.hi={},this.instance=t}get apiHost(){var t=this.instance.config.api_host.trim().replace(/\/$/,"");return t==="https://app.posthog.com"?"https://us.i.posthog.com":t}get flagsApiHost(){var t=this.instance.config.flags_api_host;return t?t.trim().replace(/\/$/,""):this.apiHost}get uiHost(){var t,n=(t=this.instance.config.ui_host)==null?void 0:t.replace(/\/$/,"");return n||(n=this.apiHost.replace("."+Rf,".posthog.com")),n==="https://app.posthog.com"?"https://us.posthog.com":n}get region(){return this.hi[this.apiHost]||(/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.hi[this.apiHost]=Ps.US:/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.hi[this.apiHost]=Ps.EU:this.hi[this.apiHost]=Ps.CUSTOM),this.hi[this.apiHost]}endpointFor(t,n){if(n===void 0&&(n=""),n&&(n=n[0]==="/"?n:"/"+n),t==="ui")return this.uiHost+n;if(t==="flags")return this.flagsApiHost+n;if(this.region===Ps.CUSTOM)return this.apiHost+n;var r=Rf+n;switch(t){case"assets":return"https://"+this.region+"-assets."+r;case"api":return"https://"+this.region+"."+r}}}var xe=Le("[Surveys]"),Sg="seenSurvey_",GT=(e,t)=>{var n="$survey_"+t+"/"+e.id;return e.current_iteration&&e.current_iteration>0&&(n="$survey_"+t+"/"+e.id+"/"+e.current_iteration),n},Cf=e=>((t,n)=>{var r=""+t+n.id;return n.current_iteration&&n.current_iteration>0&&(r=""+t+n.id+"_"+n.current_iteration),r})(Sg,e),KT=[pa.Popover,pa.Widget,pa.API],zT={ignoreConditions:!1,ignoreDelay:!1,displayType:wl.Popover},YT=Le("[PostHog ExternalIntegrations]"),JT={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class XT{constructor(t){this._instance=t}G(t,n){var r;(r=re.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,t,(s=>{if(s)return YT.error("failed to load script",s);n()}))}startIfEnabledOrStop(){var t=this,n=function(o){var a,l,u;!s||(a=re.__PosthogExtensions__)!=null&&(a=a.integrations)!=null&&a[o]||t.G(JT[o],(()=>{var c;(c=re.__PosthogExtensions__)==null||(c=c.integrations)==null||(c=c[o])==null||c.start(t._instance)})),!s&&(l=re.__PosthogExtensions__)!=null&&(l=l.integrations)!=null&&l[o]&&((u=re.__PosthogExtensions__)==null||(u=u.integrations)==null||(u=u[o])==null||u.stop())};for(var[r,s]of Object.entries((i=this._instance.config.integrations)!==null&&i!==void 0?i:{})){var i;n(r)}}}var $s={},ba=0,kl=()=>{},xr="posthog",kg=!HT&&wt?.indexOf("MSIE")===-1&&wt?.indexOf("Mozilla")===-1,Af=e=>{var t;return U({api_host:"https://us.i.posthog.com",flags_api_host:null,ui_host:null,token:"",autocapture:!0,cross_subdomain_cookie:cT(V?.location),persistence:"localStorage+cookie",persistence_name:"",cookie_persisted_properties:[],loaded:kl,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageleave:"if_capture_pageview",defaults:e??"unset",__preview_deferred_init_extensions:!1,debug:Ze&&Be(Ze?.search)&&Ze.search.indexOf("__posthog_debug=true")!==-1||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_conversations:!1,disable_product_tours:!1,disable_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:(k==null||(t=k.location)==null?void 0:t.protocol)==="https:",ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error:n=>{var r="Bad HTTP status: "+n.statusCode+" "+n.text;G.error(r)},get_device_id:n=>n,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:"identified_only",before_send:void 0,request_queue_config:{flush_interval_ms:Sl},error_tracking:{},_onCapture:kl,__preview_eager_load_replay:!1},(n=>({rageclick:!(n&&n>="2025-11-30")||{content_ignorelist:!0},capture_pageview:!(n&&n>="2025-05-24")||"history_change",session_recording:n&&n>="2025-11-30"?{strictMinimumDuration:!0}:{},external_scripts_inject_target:n&&n>="2026-01-30"?"head":"body",internal_or_test_user_hostname:n&&n>="2026-01-30"?/^(localhost|127\.0\.0\.1)$/:void 0}))(e))},Of=e=>{var t={};W(e.process_person)||(t.person_profiles=e.process_person),W(e.xhr_headers)||(t.request_headers=e.x
7hr_headers),W(e.cookie_name)||(t.persistence_name=e.cookie_name),W(e.disable_cookie)||(t.disable_persistence=e.disable_cookie),W(e.store_google)||(t.save_campaign_params=e.store_google),W(e.verbose)||(t.debug=e.verbose);var n=De({},t,e);return ge(e.property_blacklist)&&(W(e.property_denylist)?n.property_denylist=e.property_blacklist:ge(e.property_denylist)?n.property_denylist=[...e.property_blacklist,...e.property_denylist]:G.error("Invalid value for property_denylist config: "+e.property_denylist)),n};class QT{constructor(){this.__forceAllowLocalhost=!1}get di(){return this.__forceAllowLocalhost}set di(t){G.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=t}}class rn{vi(t,n){if(t){var r=this.ci.indexOf(t);r!==-1&&this.ci.splice(r,1)}return this.ci.push(n),n.initialize==null||n.initialize(),n}get decideEndpointWasHit(){var t,n;return(t=(n=this.featureFlags)==null?void 0:n.hasLoadedFlags)!==null&&t!==void 0&&t}get flagsEndpointWasHit(){var t,n;return(t=(n=this.featureFlags)==null?void 0:n.hasLoadedFlags)!==null&&t!==void 0&&t}constructor(){var t;this.webPerformance=new QT,this.fi=!1,this.version=gn.LIB_VERSION,this.pi=new mc,this.ci=[],this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=Af(),this.SentryIntegration=ET,this.sentryIntegration=r=>(function(s,i){var o=lg(s,i);return{name:ag,processEvent:a=>o(a)}})(this,r),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.gi=!1,this.mi=null,this.bi=null,this.yi=null,this.scrollManager=new VT(this),this.pageViewManager=new vf(this),this.rateLimiter=new AT(this),this.requestRouter=new qT(this),this.consent=new mT(this),this.externalIntegrations=new XT(this);var n=(t=rn.__defaultExtensionClasses)!==null&&t!==void 0?t:{};this.featureFlags=n.featureFlags&&new n.featureFlags(this),this.toolbar=n.toolbar&&new n.toolbar(this),this.surveys=n.surveys&&new n.surveys(this),this.conversations=n.conversations&&new n.conversations(this),this.logs=n.logs&&new n.logs(this),this.experiments=n.experiments&&new n.experiments(this),this.exceptions=n.exceptions&&new n.exceptions(this),this.people={set:(r,s,i)=>{var o=Be(r)?{[r]:s}:r;this.setPersonProperties(o),i?.({})},set_once:(r,s,i)=>{var o=Be(r)?{[r]:s}:r;this.setPersonProperties(void 0,o),i?.({})}},this.on("eventCaptured",(r=>G.info('send "'+r?.event+'"',r)))}init(t,n,r){if(r&&r!==xr){var s,i=(s=$s[r])!==null&&s!==void 0?s:new rn;return i._init(t,n,r),$s[r]=i,$s[xr][r]=i,i}return this._init(t,n,r)}_init(t,n,r){var s;if(n===void 0&&(n={}),W(t)||ol(t))return G.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return console.warn("[PostHog.js]","You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},n.debug=this.wi(n.debug),this.Ei=n,this.xi=[],n.person_profiles?this.bi=n.person_profiles:n.process_person&&(this.bi=n.process_person),this.set_config(De({},Af(n.defaults),Of(n),{name:r,token:t})),this.config.on_xhr_error&&G.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=n.disable_compression?void 0:wn.GZipJS;var i=this.Si();this.persistence=new ha(this.config,i),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new ha(U({},this.config,{persistence:"sessionStorage"}),i);var o=U({},this.persistence.props),a=U({},this.sessionPersistence.props);this.register({$initialization_time:new Date().toISOString()}),this.$i=new jT((p=>this.ki(p)),this.config.request_queue_config),this.Pi=new BT(this),this.__request_queue=[];var l=this.config.cookieless_mode==="always"||this.config.cookieless_mode==="on_reject"&&this.consent.isExplicitlyOptedOut();if(l||(this.sessionManager=new kf(this),this.sessionPropsManager=new Sf(this,this.sessionManager,this.persistence)),this.config.__preview_deferred_init_extensions?(G.info("Deferring extension initialization to improve startup performance"),setTimeout((()=>{this.Ti(l)}),0)):(G.info("Initializing extensions synchronously"),this.Ti(l)),gn.DEBUG=gn.DEBUG||this.config.debug,gn.DEBUG&&G.info("Starting in debug mode",{this:this,config:n,thisC:U({},this.config),p:o,s:a}),((s=n.bootstrap)==null?void 0:s.distinctID)!==void 0){var u,c,f=this.config.get_device_id(Un()),h=(u=n.bootstrap)!=null&&u.isIdentifiedID?f:n.bootstrap.distinctID;this.persistence.set_property(Zt,(c=n.bootstrap)!=null&&c.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:n.bootstrap.distinctID,$device_id:h})}if(l)this.register_once({distinct_id:ls,$device_id:null},"");else if(!this.get_distinct_id()){var d=this.config.get_device_id(Un());this.register_once({distinct_id:d,$device_id:d},""),this.persistence.set_property(Zt,"anonymous")}return Ue(k,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),n.segment?wT(this,(()=>this.Ri())):this.Ri(),En(this.config._onCapture)&&this.config._onCapture!==kl&&(G.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",(p=>this.config._onCapture(p.event,p)))),this.config.ip&&G.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}Ti(t){var n,r,s,i,o,a,l,u=performance.now(),c=U({},rn.__defaultExtensionClasses,this.config.__extensionClasses),f=[];c.featureFlags&&this.ci.push(this.featureFlags=(n=this.featureFlags)!==null&&n!==void 0?n:new c.featureFlags(this)),c.exceptions&&this.ci.push(this.exceptions=(r=this.exceptions)!==null&&r!==void 0?r:new c.exceptions(this)),c.historyAutocapture&&this.ci.push(this.historyAutocapture=new c.historyAutocapture(this)),c.tracingHeaders&&this.ci.push(new c.tracingHeaders(this)),c.siteApps&&this.ci.push(this.siteApps=new c.siteApps(this)),c.sessionRecording&&!t&&this.ci.push(this.sessionRecording=new c.sessionRecording(this)),this.config.disable_scroll_properties||f.push((()=>{this.scrollManager.startMeasuringScrollPosition()})),c.autocapture&&this.ci.push(this.autocapture=new c.autocapture(this)),c.surveys&&this.ci.push(this.surveys=(s=this.surveys)!==null&&s!==void 0?s:new c.surveys(this)),c.logs&&this.ci.push(this.logs=(i=this.logs)!==null&&i!==void 0?i:new c.logs(this)),c.conversations&&this.ci.push(this.conversations=(o=this.conversations)!==null&&o!==void 0?o:new c.conversations(this)),c.productTours&&this.ci.push(this.productTours=new c.productTours(this)),c.heatmaps&&this.ci.push(this.heatmaps=new c.heatmaps(this)),c.webVitalsAutocapture&&this.ci.push(this.webVitalsAutocapture=new c.webVitalsAutocapture(this)),c.exceptionObserver&&this.ci.push(this.exceptionObserver=new c.exceptionObserver(this)),c.deadClicksAutocapture&&this.ci.push(this.deadClicksAutocapture=new c.deadClicksAutocapture(this,bT)),c.toolbar&&this.ci.push(this.toolbar=(a=this.toolbar)!==null&&a!==void 0?a:new c.toolbar(this)),c.experiments&&this.ci.push(this.experiments=(l=this.experiments)!==null&&l!==void 0?l:new c.experiments(this)),this.ci.forEach((h=>
7{h.initialize&&f.push((()=>{h.initialize==null||h.initialize()}))})),f.push((()=>{if(this.Ii){var h=this.Ii;this.Ii=void 0,this.ft(h)}})),this.Ci(f,u)}Ci(t,n){for(;t.length>0;){if(this.config.__preview_deferred_init_extensions&&performance.now()-n>=30&&t.length>0)return void setTimeout((()=>{this.Ci(t,n)}),0);var r=t.shift();if(r)try{r()}catch(i){G.error("Error initializing extension:",i)}}var s=Math.round(performance.now()-n);this.register_for_session({$sdk_debug_extensions_init_method:this.config.__preview_deferred_init_extensions?"deferred":"synchronous",$sdk_debug_extensions_init_time_ms:s}),this.config.__preview_deferred_init_extensions&&G.info("PostHog extensions initialized ("+s+"ms)")}ft(t){var n;if(!V||!V.body)return G.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout((()=>{this.ft(t)}),500);this.config.__preview_deferred_init_extensions&&(this.Ii=t),this.compression=void 0,t.supportedCompression&&!this.config.disable_compression&&(this.compression=ue(t.supportedCompression,wn.GZipJS)?wn.GZipJS:ue(t.supportedCompression,wn.Base64)?wn.Base64:void 0),(n=t.analytics)!=null&&n.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),this.set_config({person_profiles:this.bi?this.bi:"identified_only"}),this.ci.forEach((r=>r.onRemoteConfig==null?void 0:r.onRemoteConfig(t)))}Ri(){try{this.config.loaded(this)}catch(r){G.critical("`loaded` function failed",r)}if(this.Oi(),this.config.internal_or_test_user_hostname&&Ze!=null&&Ze.hostname){var t=Ze.hostname,n=this.config.internal_or_test_user_hostname;(typeof n=="string"?t===n:n.test(t))&&this.setInternalOrTestUser()}this.config.capture_pageview&&setTimeout((()=>{(this.consent.isOptedIn()||this.config.cookieless_mode==="always")&&this.Fi()}),1),this.Mi=new _g(this),this.Mi.load()}Oi(){var t;this.is_capturing()&&this.config.request_batching&&((t=this.$i)==null||t.enable())}_dom_loaded(){this.is_capturing()&&Wn(this.__request_queue,(t=>this.ki(t))),this.__request_queue=[],this.Oi()}_handle_unload(){var t,n,r;(t=this.surveys)==null||t.handlePageUnload(),this.config.request_batching?(this.Ai()&&this.capture("$pageleave"),(n=this.$i)==null||n.unload(),(r=this.Pi)==null||r.unload()):this.Ai()&&this.capture("$pageleave",null,{transport:"sendBeacon"})}_send_request(t){this.__loaded&&(kg?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=po(t.url,{ip:this.config.ip?1:0}),t.headers=U({},this.config.request_headers,t.headers),t.compression=t.compression==="best-available"?this.compression:t.compression,t.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(t.disableTransport=["sendBeacon"]),t.fetchOptions=t.fetchOptions||this.config.fetch_options,(n=>{var r,s,i,o=U({},n);o.timeout=o.timeout||6e4,o.url=po(o.url,{_:new Date().getTime().toString(),ver:gn.LIB_VERSION,compression:o.compression});var a=(r=o.transport)!==null&&r!==void 0?r:"fetch",l=Oi.filter((c=>!o.disableTransport||!c.transport||!o.disableTransport.includes(c.transport))),u=(s=(i=eg(l,(c=>c.transport===a)))==null?void 0:i.method)!==null&&s!==void 0?s:l[0].method;if(!u)throw new Error("No available transport method");u(o)})(U({},t,{callback:n=>{var r,s;this.rateLimiter.checkForLimiting(n),n.statusCode>=400&&((r=(s=this.config).on_request_error)==null||r.call(s,n)),t.callback==null||t.callback(n)}}))))}ki(t){this.Pi?this.Pi.retriableRequest(t):this._send_request(t)}_execute_array(t){ba++;try{var n,r=[],s=[],i=[];Wn(t,(a=>{a&&(n=a[0],ge(n)?i.push(a):En(a)?a.call(this):ge(a)&&n==="alias"?r.push(a):ge(a)&&n.indexOf("capture")!==-1&&En(this[n])?i.push(a):s.push(a))}));var o=function(a,l){Wn(a,(function(u){if(ge(u[0])){var c=l;Pe(u,(function(f){c=c[f[0]].apply(c,f.slice(1))}))}else this[u[0]].apply(this,u.slice(1))}),l)};o(r,this),o(s,this),o(i,this)}finally{ba--}}push(t){if(ba>0&&ge(t)&&Be(t[0])){var n=rn.prototype[t[0]];En(n)&&n.apply(this,t.slice(1))}else this._execute_array([t])}capture(t,n,r){var s;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.$i){if(this.is_capturing())if(!W(t)&&Be(t)){var i=!this.config.opt_out_useragent_filter&&this._is_bot();if(!(i&&!this.config.__preview_capture_bot_pageviews)){var o=r!=null&&r.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(o==null||!o.isRateLimited){n!=null&&n.$current_url&&!Be(n?.$current_url)&&(G.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),n==null||delete n.$current_url),t!=="$exception"||r!=null&&r.Di||G.warn("Using `posthog.capture('$exception')` is unreliable because it does not attach required metadata. Use `posthog.captureException(error)` instead, which attaches required metadata automatically."),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var a=new Date,l=r?.timestamp||a,u=Un(),c={uuid:u,event:t,properties:this.calculateEventProperties(t,n||{},l,u)};t==="$pageview"&&this.config.__preview_capture_bot_pageviews&&i&&(c.event="$bot_pageview",c.properties.$browser_type="bot"),o&&(c.properties.$lib_rate_limit_remaining_tokens=o.remainingTokens),r?.$set&&(c.$set=r?.$set);var f,h=t!=="$groupidentify",d=this.Li(r?.$set_once,h);if(d&&(c.$set_once=d),(c=aT(c,r!=null&&r._noTruncate?null:this.config.properties_string_max_length)).timestamp=l,W(r?.timestamp)||(c.properties.$event_time_override_provided=!0,c.properties.$event_time_override_system_time=a),t===Ss.DISM
7ISSED||t===Ss.SENT){var p=n?.[ga.SURVEY_ID],g=n?.[ga.SURVEY_ITERATION];f={id:p,current_iteration:g},localStorage.getItem(Cf(f))||localStorage.setItem(Cf(f),"true"),c.$set=U({},c.$set,{[GT({id:p,current_iteration:g},t===Ss.SENT?"responded":"dismissed")]:!0})}else t===Ss.SHOWN&&(c.$set=U({},c.$set,{[ga.SURVEY_LAST_SEEN_DATE]:new Date().toISOString()}));if(t===CT.SHOWN){var w=n?.[yf.TOUR_TYPE];w&&(c.$set=U({},c.$set,{[yf.TOUR_LAST_SEEN_DATE+"/"+w]:new Date().toISOString()}))}var E=U({},c.properties.$set,c.$set);if(kr(E)||this.setPersonPropertiesForFlags(E),!fe(this.config.before_send)){var b=this.ji(c);if(!b)return;c=b}this.pi.emit("eventCaptured",c);var _={method:"POST",url:(s=r?._url)!==null&&s!==void 0?s:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:c,compression:"best-available",batchKey:r?._batchKey};return!this.config.request_batching||r&&(r==null||!r._batchKey)||r!=null&&r.send_instantly?this.ki(_):this.$i.enqueue(_),c}G.critical("This capture call is ignored due to client rate limiting.")}}else G.error("No event name provided to posthog.capture")}else G.uninitializedWarning("posthog.capture")}_addCaptureHook(t){return this.on("eventCaptured",(n=>t(n.event,n)))}calculateEventProperties(t,n,r,s,i){if(r=r||new Date,!this.persistence||!this.sessionPersistence)return n;var o=i?void 0:this.persistence.remove_event_timer(t),a=U({},n);if(a.token=this.config.token,a.$config_defaults=this.config.defaults,(this.config.cookieless_mode=="always"||this.config.cookieless_mode=="on_reject"&&this.consent.isExplicitlyOptedOut())&&(a.$cookieless_mode=!0),t==="$snapshot"){var l=U({},this.persistence.properties(),this.sessionPersistence.properties());return a.distinct_id=l.distinct_id,(!Be(a.distinct_id)&&!un(a.distinct_id)||ol(a.distinct_id))&&G.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),a}var u,c=PT(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:f,windowId:h}=this.sessionManager.checkAndGetSessionAndWindowId(i,r.getTime());a.$session_id=f,a.$window_id=h}this.sessionPropsManager&&De(a,this.sessionPropsManager.getSessionProps());try{var d;this.sessionRecording&&De(a,this.sessionRecording.sdkDebugProperties),a.$sdk_debug_retry_queue_size=(d=this.Pi)==null?void 0:d.length}catch(E){a.$sdk_debug_error_capturing_properties=String(E)}if(this.requestRouter.region===Ps.CUSTOM&&(a.$lib_custom_api_host=this.config.api_host),u=t!=="$pageview"||i?t!=="$pageleave"||i?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(r):this.pageViewManager.doPageView(r,s),a=De(a,u),t==="$pageview"&&V&&(a.title=V.title),!W(o)){var p=r.getTime()-o;a.$duration=parseFloat((p/1e3).toFixed(3))}wt&&this.config.opt_out_useragent_filter&&(a.$browser_type=this._is_bot()?"bot":"browser"),(a=De({},c,this.persistence.properties(),this.sessionPersistence.properties(),a)).$is_identified=this._isIdentified(),ge(this.config.property_denylist)?Pe(this.config.property_denylist,(function(E){delete a[E]})):G.error("Invalid value for property_denylist config: "+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var g=this.config.sanitize_properties;g&&(G.error("sanitize_properties is deprecated. Use before_send instead"),a=g(a,t));var w=this.Ni();return a.$process_person_profile=w,w&&!i&&this.Ui("_calculate_event_properties"),a}Li(t,n){var r;if(n===void 0&&(n=!0),!this.persistence||!this.Ni()||this.fi)return t;var s=this.persistence.get_initial_props(),i=(r=this.sessionPropsManager)==null?void 0:r.getSetOnceProps(),o=De({},s,i||{},t||{}),a=this.config.sanitize_properties;return a&&(G.error("sanitize_properties is deprecated. Use before_send instead"),o=a(o,"$set_once")),n&&(this.fi=!0),kr(o)?void 0:o}register(t,n){var r;(r=this.persistence)==null||r.register(t,n)}register_once(t,n,r){var s;(s=this.persistence)==null||s.register_once(t,n,r)}register_for_session(t){var n;(n=this.sessionPersistence)==null||n.register(t)}unregister(t){var n;(n=this.persistence)==null||n.unregister(t)}unregister_for_session(t){var n;(n=this.sessionPersistence)==null||n.unregister(t)}zi(t,n){this.register({[t]:n})}getFeatureFlag(t,n){var r;return(r=this.featureFlags)==null?void 0:r.getFeatureFlag(t,n)}getFeatureFlagPayload(t){var n;return(n=this.featureFlags)==null?void 0:n.getFeatureFlagPayload(t)}getFeatureFlagResult(t,n){var r;return(r=this.featureFlags)==null?void 0:r.getFeatureFlagResult(t,n)}isFeatureEnabled(t,n){var r;return(r=this.featureFlags)==null?void 0:r.isFeatureEnabled(t,n)}reloadFeatureFlags(){var t;(t=this.featureFlags)==null||t.reloadFeatureFlags()}updateFlags(t,n,r){var s;(s=this.featureFlags)==null||s.updateFlags(t,n,r)}updateEarlyAccessFeatureEnrollment(t,n,r){var s;(s=this.featureFlags)==null||s.updateEarlyAccessFeatureEnrollment(t,n,r)}getEarlyAccessFeatures(t,n,r){var s;return n===void 0&&(n=!1),(s=this.featureFlags)==null?void 0:s.getEarlyAccessFeatures(t,n,r)}on(t,n){return this.pi.on(t,n)}onFeatureFlags(t){return this.featureFlags?this.featureFlags.onFeatureFlags(t):(t([],{},{errorsLoading:!0}),()=>{})}onSurveysLoaded(t){return this.surveys?this.surveys.onSurveysLoaded(t):(t([],{isLoaded:!1,error:"Surveys module not available"}),()=>{})}onSessionId(t){var n,r;return(n=(r=this.sessionManager)==null?void 0:r.onSessionId(t))!==null&&n!==void 0?n:()=>{}}getSurveys(t,n){n===void 0&&(n=!1),this.surveys?this.surveys.getSurveys(t,n):t([],{isLoaded:!1,error:"Surveys module not available"})}getActiveMatchingSurveys(t,n){n===void 0&&(n=!1),this.surveys?this.surveys.getActiveMatchingSurveys(t,n):t([],{isLoaded:!1,error:"Surveys module not available"})}renderSurvey(t,n){var r;(r=this.surveys)==null||r.renderSurvey(t,n)}displaySurvey(t,n){var r;n===void 0&&(n=zT),(r=this.surveys)==null||r.displaySurvey(t,n)}cancelPendingSurvey(t){var n;(n=this.surveys)==null||n.cancelPendingSurvey(t)}canRenderSurvey(t){var n,r;return(n=(r=this.surveys)==null?void 0:r.canRenderSurvey(t))!==null&&n!==void 0?n:{visible:!1,disabledReason:"Surveys module not available"}}canRenderSurveyAsync(t,n){var r,s;return n===void 0&&(n=!1),(r=(s=this.surveys)==null?void 0:s.canRenderSurveyAsync(t,n))!==null&&r!==void 0?r:Promise.resolve({visible:!1,disabledReason:"Surveys module not available"})}identify(t,n,r){if(!this.__loaded||!this.persistence)return G.uninitializedWarning("posthog.identify");if(un(t)&&(t=t.toString(),G.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),t)if(["distinct_id","distinctid"].includes(t.toLowerCase()))G.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and n
7ot a hardcoded string.');else if(t!==ls){if(this.Ui("posthog.identify")){var s=this.get_distinct_id();if(this.register({$user_id:t}),!this.get_property("$device_id")){var i=s;this.register_once({$had_persisted_distinct_id:!0,$device_id:i},"")}t!==s&&t!==this.get_property(ws)&&(this.unregister(ws),this.register({distinct_id:t}));var o,a=(this.persistence.get_property(Zt)||"anonymous")==="anonymous";t!==s&&a?(this.persistence.set_property(Zt,"identified"),this.setPersonPropertiesForFlags(U({},r||{},n||{}),!1),this.capture("$identify",{distinct_id:t,$anon_distinct_id:s},{$set:n||{},$set_once:r||{}}),this.yi=Pf(t,n,r),(o=this.featureFlags)==null||o.setAnonymousDistinctId(s)):(n||r)&&this.setPersonProperties(n,r),t!==s&&(this.reloadFeatureFlags(),this.unregister(so))}}else G.critical('The string "'+ls+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.');else G.error("Unique user id has not been set in posthog.identify")}setPersonProperties(t,n){if((t||n)&&this.Ui("posthog.setPersonProperties")){var r=Pf(this.get_distinct_id(),t,n);this.yi!==r?(this.setPersonPropertiesForFlags(U({},n||{},t||{})),this.capture("$set",{$set:t||{},$set_once:n||{}}),this.yi=r):G.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(t,n,r){if(t&&n){var s=this.getGroups();s[t]!==n&&this.resetGroupPropertiesForFlags(t),this.register({$groups:U({},s,{[t]:n})}),r&&(this.capture("$groupidentify",{$group_type:t,$group_key:n,$group_set:r}),this.setGroupPropertiesForFlags({[t]:r})),s[t]===n||r||this.reloadFeatureFlags()}else G.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(t,n){var r;n===void 0&&(n=!0),(r=this.featureFlags)==null||r.setPersonPropertiesForFlags(t,n)}resetPersonPropertiesForFlags(){var t;(t=this.featureFlags)==null||t.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(t,n){var r;n===void 0&&(n=!0),this.Ui("posthog.setGroupPropertiesForFlags")&&((r=this.featureFlags)==null||r.setGroupPropertiesForFlags(t,n))}resetGroupPropertiesForFlags(t){var n;(n=this.featureFlags)==null||n.resetGroupPropertiesForFlags(t)}reset(t){var n,r,s,i,o,a,l;if(G.info("reset"),!this.__loaded)return G.uninitializedWarning("posthog.reset");var u=this.get_property("$device_id");if(this.consent.reset(),(n=this.persistence)==null||n.clear(),(r=this.sessionPersistence)==null||r.clear(),(s=this.surveys)==null||s.reset(),(i=this.Mi)==null||i.stop(),(o=this.featureFlags)==null||o.reset(),(a=this.persistence)==null||a.set_property(Zt,"anonymous"),(l=this.sessionManager)==null||l.resetSessionId(),this.yi=null,this.config.cookieless_mode==="always")this.register_once({distinct_id:ls,$device_id:null},"");else{var c=this.config.get_device_id(Un());this.register_once({distinct_id:c,$device_id:t?c:u},"")}this.register({$last_posthog_reset:new Date().toISOString()},1)}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var t,n;return(t=(n=this.sessionManager)==null?void 0:n.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&t!==void 0?t:""}get_session_replay_url(t){if(!this.sessionManager)return"";var{sessionId:n,sessionStartTimestamp:r}=this.sessionManager.checkAndGetSessionAndWindowId(!0),s=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+n);if(t!=null&&t.withTimestamp&&r){var i,o=(i=t.timestampLookBack)!==null&&i!==void 0?i:10;if(!r)return s;s+="?t="+Math.max(Math.floor((new Date().getTime()-r)/1e3)-o,0)}return s}alias(t,n){return t===this.get_property(ng)?(G.critical("Attempting to create alias for existing People user - aborting."),-2):this.Ui("posthog.alias")?(W(n)&&(n=this.get_distinct_id()),t!==n?(this.zi(ws,t),this.capture("$create_alias",{alias:t,distinct_id:n})):(G.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}set_config(t){var n=U({},this.config);if(Ke(t)){var r,s,i,o,a,l,u,c,f;De(this.config,Of(t));var h=this.Si();(r=this.persistence)==null||r.update_config(this.config,n,h),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new ha(U({},this.config,{persistence:"sessionStorage"}),h);var d=this.wi(this.config.debug);Sn(d)&&(this.config.debug=d),Sn(this.config.debug)&&(this.config.debug?(gn.DEBUG=!0,Oe.F()&&Oe.L("ph_debug","true"),G.info("set_config",{config:t,oldConfig:n,newConfig:U({},this.config)})):(gn.DEBUG=!1,Oe.F()&&Oe.j("ph_debug"))),(s=this.exceptionObserver)==null||s.onConfigChange(),(i=this.sessionRecording)==null||i.startIfEnabledOrStop(),(o=this.autocapture)==null||o.startIfEnabled(),(a=this.heatmaps)==null||a.startIfEnabled(),(l=this.exceptionObserver)==null||l.startIfEnabledOrStop(),(u=this.deadClicksAutocapture)==null||u.startIfEnabledOrStop(),(c=this.surveys)==null||c.loadIfEnabled(),this.Hi(),(f=this.externalIntegrations)==null||f.startIfEnabledOrStop()}}
7startSessionRecording(t){var n=t===!0,r={sampling:n||!(t==null||!t.sampling),linked_flag:n||!(t==null||!t.linked_flag),url_trigger:n||!(t==null||!t.url_trigger),event_trigger:n||!(t==null||!t.event_trigger)};if(Object.values(r).some(Boolean)){var s,i,o,a,l;(s=this.sessionManager)==null||s.checkAndGetSessionAndWindowId(),r.sampling&&((i=this.sessionRecording)==null||i.overrideSampling()),r.linked_flag&&((o=this.sessionRecording)==null||o.overrideLinkedFlag()),r.url_trigger&&((a=this.sessionRecording)==null||a.overrideTrigger("url")),r.event_trigger&&((l=this.sessionRecording)==null||l.overrideTrigger("event"))}this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var t;return!((t=this.sessionRecording)==null||!t.started)}captureException(t,n){if(this.exceptions){var r=new Error("PostHog syntheticException"),s=this.exceptions.buildProperties(t,{handled:!0,syntheticException:r});return this.exceptions.sendExceptionEvent(U({},s,n))}}startExceptionAutocapture(t){this.set_config({capture_exceptions:t==null||t})}stopExceptionAutocapture(){this.set_config({capture_exceptions:!1})}loadToolbar(t){var n,r;return(n=(r=this.toolbar)==null?void 0:r.loadToolbar(t))!==null&&n!==void 0&&n}get_property(t){var n;return(n=this.persistence)==null?void 0:n.props[t]}getSessionProperty(t){var n;return(n=this.sessionPersistence)==null?void 0:n.props[t]}toString(){var t,n=(t=this.config.name)!==null&&t!==void 0?t:xr;return n!==xr&&(n=xr+"."+n),n}_isIdentified(){var t,n;return((t=this.persistence)==null?void 0:t.get_property(Zt))==="identified"||((n=this.sessionPersistence)==null?void 0:n.get_property(Zt))==="identified"}Ni(){var t,n;return!(this.config.person_profiles==="never"||this.config.person_profiles==="identified_only"&&!this._isIdentified()&&kr(this.getGroups())&&((t=this.persistence)==null||(t=t.props)==null||!t[ws])&&((n=this.persistence)==null||(n=n.props)==null||!n[ao]))}Ai(){return this.config.capture_pageleave===!0||this.config.capture_pageleave==="if_capture_pageview"&&(this.config.capture_pageview===!0||this.config.capture_pageview==="history_change")}createPersonProfile(){this.Ni()||this.Ui("posthog.createPersonProfile")&&this.setPersonProperties({},{})}setInternalOrTestUser(){this.Ui("posthog.setInternalOrTestUser")&&this.setPersonProperties({$internal_or_test_user:!0})}Ui(t){return this.config.person_profiles==="never"?(G.error(t+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.zi(ao,!0),!0)}Si(){if(this.config.cookieless_mode==="always")return!0;var t=this.consent.isOptedOut(),n=this.config.opt_out_persistence_by_default||this.config.cookieless_mode==="on_reject";return this.config.disable_persistence||t&&!!n}Hi(){var t,n,r,s,i=this.Si();return((t=this.persistence)==null?void 0:t.st)!==i&&((r=this.persistence)==null||r.set_disabled(i)),((n=this.sessionPersistence)==null?void 0:n.st)!==i&&((s=this.sessionPersistence)==null||s.set_disabled(i)),i}opt_in_capturing(t){var n;if(this.config.cookieless_mode!=="always"){if(this.config.cookieless_mode==="on_reject"&&this.consent.isExplicitlyOptedOut()){var r,s,i,o,a;this.reset(!0),(r=this.sessionManager)==null||r.destroy(),(s=this.pageViewManager)==null||s.destroy(),this.sessionManager=new kf(this),this.pageViewManager=new vf(this),this.persistence&&(this.sessionPropsManager=new Sf(this,this.sessionManager,this.persistence));var l=(i=(o=this.config.__extensionClasses)==null?void 0:o.sessionRecording)!==null&&i!==void 0?i:(a=rn.__defaultExtensionClasses)==null?void 0:a.sessionRecording;l&&(this.sessionRecording=this.vi(this.sessionRecording,new l(this)))}var u,c;this.consent.optInOut(!0),this.Hi(),this.Oi(),(n=this.sessionRecording)==null||n.startIfEnabledOrStop(),this.config.cookieless_mode=="on_reject"&&((u=this.surveys)==null||u.loadIfEnabled()),(W(t?.captureEventName)||t!=null&&t.captureEventName)&&this.capture((c=t?.captureEventName)!==null&&c!==void 0?c:"$opt_in",t?.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Fi()}
vendor: 5,733 bytes, line 7
7else G.warn('Consent opt in/out is not valid with cookieless_mode="always" and will be ignored')}opt_out_capturing(){var t,n,r;this.config.cookieless_mode!=="always"?(this.config.cookieless_mode==="on_reject"&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.Hi(),this.config.cookieless_mode==="on_reject"&&(this.register({distinct_id:ls,$device_id:null}),(t=this.sessionManager)==null||t.destroy(),(n=this.pageViewManager)==null||n.destroy(),this.sessionManager=void 0,this.sessionPropsManager=void 0,(r=this.sessionRecording)==null||r.stopRecording(),this.sessionRecording=void 0,this.Fi())):G.warn('Consent opt in/out is not valid with cookieless_mode="always" and will be ignored')}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var t=this.consent.consent;return t===vn.GRANTED?"granted":t===vn.DENIED?"denied":"pending"}is_capturing(){return this.config.cookieless_mode==="always"||(this.config.cookieless_mode==="on_reject"?this.consent.isExplicitlyOptedOut()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.Hi()}_is_bot(){return Rt?Eg(Rt,this.config.custom_blocked_useragents):void 0}Fi(){V&&(V.visibilityState==="visible"?this.gi||(this.gi=!0,this.capture("$pageview",{title:V.title},{send_instantly:!0}),this.mi&&(V.removeEventListener("visibilitychange",this.mi),this.mi=null)):this.mi||(this.mi=this.Fi.bind(this),Ue(V,"visibilitychange",this.mi)))}debug(t){t===!1?(k?.console.log("You've disabled debug mode."),this.set_config({debug:!1})):(k?.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),this.set_config({debug:!0}))}bt(){var t,n,r,s,i,o,a,l=this.Ei||{};return"advanced_disable_flags"in l?!!l.advanced_disable_flags:this.config.advanced_disable_flags!==!1?!!this.config.advanced_disable_flags:this.config.advanced_disable_decide===!0?(G.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(r="advanced_disable_decide",s=!1,i=G,o=(n="advanced_disable_flags")in(t=l)&&!fe(t[n]),a=r in t&&!fe(t[r]),o?t[n]:a?(i&&i.warn("Config field '"+r+"' is deprecated. Please use '"+n+"' instead. The old field will be removed in a future major version."),t[r]):s)}ji(t){if(fe(this.config.before_send))return t;var n=ge(this.config.before_send)?this.config.before_send:[this.config.before_send],r=t;for(var s of n){if(r=s(r),fe(r)){var i="Event '"+t.event+"' was rejected in beforeSend function";return xE(t.event)?G.warn(i+". This can cause unexpected behavior."):G.info(i),null}r.properties&&!kr(r.properties)||G.warn("Event '"+t.event+"' has no properties after beforeSend function, this is likely an error.")}return r}getPageViewId(){var t;return(t=this.pageViewManager.K)==null?void 0:t.pageViewId}captureTraceFeedback(t,n){this.capture("$ai_feedback",{$ai_trace_id:String(t),$ai_feedback_text:n})}captureTraceMetric(t,n,r){this.capture("$ai_metric",{$ai_trace_id:String(t),$ai_metric_name:n,$ai_metric_value:String(r)})}wi(t){var n=Sn(t)&&!t,r=Oe.F()&&Oe.A("ph_debug")==="true";return!n&&(!!r||t)}}rn.__defaultExtensionClasses={},(function(e,t){for(var n=0;n<t.length;n++)e.prototype[t[n]]=oT(e.prototype[t[n]])})(rn,["identify"]);function If(e){return e instanceof Element&&(e.id===ig||!(e.closest==null||!e.closest(".toolbar-global-fade-container")))}function Do(e){return!!e&&e.nodeType===1}function qn(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function Pg(e){return!!e&&e.nodeType===3}function Rg(e){return!!e&&e.nodeType===11}function yc(e){return e?Fo(e).split(/\s+/):[]}function Lf(e){var t=k?.location.href;return!!(t&&e&&e.some((n=>t.match(n))))}function _o(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return yc(t)}function Cg(e){return fe(e)?null:Fo(e).split(/(\s+)/).filter((t=>Qs(t))).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function oi(e){var t="";return Pl(e)&&!Lg(e)&&e.childNodes&&e.childNodes.length&&Pe(e.childNodes,(function(n){var r;Pg(n)&&n.textContent&&(t+=(r=Cg(n.textContent))!==null&&r!==void 0?r:"")})),Fo(t)}function Mf(e){return W(e.target)?e.srcElement||null:(t=e.target)!=null&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}var bc=["a","button","form","input","select","textarea","label"];function Ag(e,t){if(W(t))return!0;var n,r=function(i){if(t.some((o=>i.matches(o))))return{v:!0}};for(var s of e)if(n=r(s))return n.v;return!1}function Og(e){var t=e.parentNode;return!(!t||!Do(t))&&t}var ZT=["next","previous","prev",">","<"],Nf=10,Ff=[".ph-no-rageclick",".ph-no-capture"];function ex(e,t){if(!k||wc(e))return!1;var n,r,s;if(Sn(t)?(n=!!t&&Ff,r=void 0):(n=(s=t?.css_selector_ignorelist)!==null&&s!==void 0?s:Ff,r=t?.content_ignorelist),n===!1)return!1;var{targetElementList:i}=Ig(e,!1);return!(function(o,a){if(o===!1||W(o))return!1;var l;if(o===!0)l=ZT;else{if(!ge(o))return!1;if(o.length>Nf)return G.error("[PostHog] content_ignorelist array cannot exceed "+Nf+" items. Use css_selector_ignorelist for more complex matching."),!1;l=o.map((u=>u.toLowerCase()))}return a.some((u=>{var{safeText:c,ariaLabel:f}=u;return l.some((h=>c.includes(h)||f.includes(h)))}))})(r,i.map((o=>{var a;return{safeText:oi(o).toLowerCase(),ariaLabel:((a=o.getAttribute("aria-label"))==null?void 0:a.toLowerCase().trim())||""}})))&&!Ag(i,n)}var wc=e=>!e||qn(e,"html")||!Do(e),Ig=(e,t)=>
7{if(!k||wc(e))return{parentIsUsefulElement:!1,targetElementList:[]};for(var n=!1,r=[e],s=e;s.parentNode&&!qn(s,"body");)if(Rg(s.parentNode))r.push(s.parentNode.host),s=s.parentNode.host;else{var i=Og(s);if(!i)break;if(t||bc.indexOf(i.tagName.toLowerCase())>-1)n=!0;else{var o=k.getComputedStyle(i);o&&o.getPropertyValue("cursor")==="pointer"&&(n=!0)}r.push(i),s=i}return{parentIsUsefulElement:n,targetElementList:r}};function tx(e,t,n,r,s){var i,o,a,l;if(n===void 0&&(n=void 0),!k||wc(e)||(i=n)!=null&&i.url_allowlist&&!Lf(n.url_allowlist)||(o=n)!=null&&o.url_ignorelist&&Lf(n.url_ignorelist))return!1;if((a=n)!=null&&a.dom_event_allowlist){var u=n.dom_event_allowlist;if(u&&!u.some((p=>t.type===p)))return!1}var{parentIsUsefulElement:c,targetElementList:f}=Ig(e,r);if(!(function(p,g){var w=g?.element_allowlist;if(W(w))return!0;var E,b=function(m){if(w.some((T=>m.tagName.toLowerCase()===T)))return{v:!0}};for(var _ of p)if(E=b(_))return E.v;return!1})(f,n)||!Ag(f,(l=n)==null?void 0:l.css_selector_allowlist))return!1;var h=k.getComputedStyle(e);if(h&&h.getPropertyValue("cursor")==="pointer"&&t.type==="click")return!0;var d=e.tagName.toLowerCase();switch(d){case"html":return!1;case"form":return(s||["submit"]).indexOf(t.type)>=0;case"input":case"select":case"textarea":return(s||["change","click"]).indexOf(t.type)>=0;default:return c?(s||["click"]).indexOf(t.type)>=0:(s||["click"]).indexOf(t.type)>=0&&(bc.indexOf(d)>-1||e.getAttribute("contenteditable")==="true")}}function Pl(e){for(var t=e;t.parentNode&&!qn(t,"body");t=t.parentNode){var n=_o(t);if(ue(n,"ph-sensitive")||ue(n,"ph-no-capture"))return!1}if(ue(_o(e),"ph-include"))return!0;var r=e.type||"";if(Be(r))switch(r.toLowerCase()){case"hidden":case"password":return!1}var s=e.name||e.id||"";return!(Be(s)&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(s.replace(/[^a-zA-Z0-9]/g,"")))}function Lg(e){return!!(qn(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||qn(e,"select")||qn(e,"textarea")||e.getAttribute("contenteditable")==="true")}var Mg="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",nx=new RegExp("^(?:"+Mg+")$"),rx=new RegExp(Mg),Ng="\\d{3}-?\\d{2}-?\\d{4}",sx=new RegExp("^("+Ng+")$"),ix=new RegExp("("+Ng+")");function Qs(e,t){return t===void 0&&(t=!0),!(fe(e)||Be(e)&&(e=Fo(e),(t?nx:rx).test((e||"").replace(/[- ]/g,""))||(t?sx:ix).test(e)))}function Fg(e){var t=oi(e);return Qs(t=(t+" "+$g(e)).trim())?t:""}function $g(e){var t="";return e&&e.childNodes&&e.childNodes.length&&Pe(e.childNodes,(function(n){var r;if(n&&((r=n.tagName)==null?void 0:r.toLowerCase())==="span")try{var s=oi(n);t=(t+" "+s).trim(),n.childNodes&&n.childNodes.length&&(t=(t+" "+$g(n)).trim())}catch(i){G.error("[AutoCapture]",i)}})),t}function ox(e){return(function(t){var n=t.map((r=>{var s,i,o="";if(r.tag_name&&(o+=r.tag_name),r.attr_class)for(var a of(r.attr_class.sort(),r.attr_class))o+="."+a.replace(/"/g,"");var l=U({},r.text?{text:r.text}:{},{"nth-child":(s=r.nth_child)!==null&&s!==void 0?s:0,"nth-of-type":(i=r.nth_of_type)!==null&&i!==void 0?i:0},r.href?{href:r.href}:{},r.attr_id?{attr_id:r.attr_id}:{},r.attributes),u={};return Ai(l).sort(((c,f)=>{var[h]=c,[d]=f;return h.localeCompare(d)})).forEach((c=>{var[f,h]=c;return u[$f(f.toString())]=$f(h.toString())})),o+=":",o+=Ai(u).map((c=>{var[f,h]=c;return f+'="'+h+'"'})).join("")}));return n.join(";")})((function(t){return t.map((n=>{var r,s,i={text:(r=n.$el_text)==null?void 0:r.slice(0,400),tag_name:n.tag_name,href:(s=n.attr__href)==null?void 0:s.slice(0,2048),attr_class:ax(n),attr_id:n.attr__id,nth_child:n.nth_child,nth_of_type:n.nth_of_type,attributes:{}};return Ai(n).filter((o=>{var[a]=o;return a.indexOf("attr__")===0})).forEach((o=>{var[a,l]=o;return i.attributes[a]=l})),i}))})(e))}function $f(e){return e.replace(/"|\\"/g,'\\"')}function ax(e){var t=e.attr__class;return t?ge(t)?t:yc(t):void 0}class Df{constructor(t){this.disabled=t===!1;var n=Ke(t)?t:{};this.thresholdPx=n.threshold_px||30,this.timeoutMs=n.timeout_ms||1e3,this.clickCount=n.click_count||3,this.clicks=[]}isRageClick(t,n,r){if(this.disabled)return!1;var s=this.clicks[this.clicks.length-1];if(s&&Math.abs(t-s.x)+Math.abs(n-s.y)<this.thresholdPx&&r-s.timestamp<this.timeoutMs){if(this.clicks.push({x:t,y:n,timestamp:r}),this.clicks.length===this.clickCount)return!0}else this.clicks=[{x:t,y:n,timestamp:r}];return!1}}var wa="$copy_autocapture",Hf=Le("[AutoCapture]");function Ea(e,t){return t.length>e?t.slice(0,e)+"...":t}function lx(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!Do(t));return t}function cx(e,t,n,r){var s=e.tagName.toLowerCase(),i={tag_name:s};bc.indexOf(s)>-1&&!n&&(s.toLowerCase()==="a"||s.toLowerCase()==="button"?i.$el_text=Ea(1024,Fg(e)):i.$el_text=Ea(1024,oi(e)));var o=_o(e);o.length>0&&(i.classes=o.filter((function(c){return c!==""}))),Pe(e.attributes,(function(c){var f;if((!Lg(e)||["name","id","class","aria-label"].indexOf(c.name)!==-1)&&(r==null||!r.includes(c.name))&&
7!t&&Qs(c.value)&&(f=c.name,!Be(f)||f.substring(0,10)!=="_ngcontent"&&f.substring(0,7)!=="_nghost")){var h=c.value;c.name==="class"&&(h=yc(h).join(" ")),i["attr__"+c.name]=Ea(1024,h)}}));for(var a=1,l=1,u=e;u=lx(u);)a++,u.tagName===e.tagName&&l++;return i.nth_child=a,i.nth_of_type=l,i}function ux(e,t){for(var n,r,{e:s,maskAllElementAttributes:i,maskAllText:o,elementAttributeIgnoreList:a,elementsChainAsString:l}=t,u=[e],c=e;c.parentNode&&!qn(c,"body");)Rg(c.parentNode)?(u.push(c.parentNode.host),c=c.parentNode.host):(u.push(c.parentNode),c=c.parentNode);var f,h=[],d={},p=!1,g=!1;if(Pe(u,(m=>{var T=Pl(m);m.tagName.toLowerCase()==="a"&&(p=m.getAttribute("href"),p=T&&p&&Qs(p)&&p),ue(_o(m),"ph-no-capture")&&(g=!0),h.push(cx(m,i,o,a));var x=(function(P){if(!Pl(P))return{};var L={};return Pe(P.attributes,(function(R){if(R.name&&R.name.indexOf("data-ph-capture-attribute")===0){var O=R.name.replace("data-ph-capture-attribute-",""),H=R.value;O&&H&&Qs(H)&&(L[O]=H)}})),L})(m);De(d,x)})),g)return{props:{},explicitNoCapture:g};if(o||(e.tagName.toLowerCase()==="a"||e.tagName.toLowerCase()==="button"?h[0].$el_text=Fg(e):h[0].$el_text=oi(e)),p){var w,E;h[0].attr__href=p;var b=(w=co(p))==null?void 0:w.host,_=k==null||(E=k.location)==null?void 0:E.host;b&&_&&b!==_&&(f=p)}return{props:De({$event_type:s.type,$ce_version:1},l?{}:{$elements:h},{$elements_chain:ox(h)},(n=h[0])!=null&&n.$el_text?{$el_text:(r=h[0])==null?void 0:r.$el_text}:{},f&&s.type==="click"?{$external_click_url:f}:{},d)}}var ps=Le("[ExceptionAutocapture]");function jf(e,t,n){try{if(!(t in e))return()=>{};var r=e[t],s=n(r);return En(s)&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=s,()=>{e[t]=r}}catch{return()=>{}}}var fx=Le("[TracingHeaders]"),Mn=Le("[Web Vitals]"),Uf=9e5,Bf="disabled",Vf="lazy_loading",gs="awaiting_config",Ti="missing_config";Le("[SessionRecording]");var Rl="[SessionRecording]",tr=Le(Rl),dx=Le("[Heatmaps]");function Wf(e){return Ke(e)&&"clientX"in e&&"clientY"in e&&un(e.clientX)&&un(e.clientY)}var qf=Le("[Product Tours]"),Ta="ph_product_tours",hx=["$set_once","$set"],Nn=Le("[SiteApps]");function yr(e,t,n){if(fe(e))return!1;switch(n){case"exact":return e===t;case"contains":var r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/_/g,".").replace(/%/g,".*");return new RegExp(r,"i").test(e);case"regex":try{return new RegExp(t).test(e)}catch{return!1}default:return!1}}class px{constructor(t){this.Bi=new mc,this.qi=(n,r)=>this.Vi(n,r)&&this.Wi(n,r)&&this.Gi(n,r)&&this.Yi(n,r),this.Vi=(n,r)=>r==null||!r.event||n?.event===r?.event,this._instance=t,this.Ji=new Set,this.Ki=new Set}init(){var t;if(!W((t=this._instance)==null?void 0:t._addCaptureHook)){var n;(n=this._instance)==null||n._addCaptureHook(((r,s)=>{this.on(r,s)}))}}register(t){var n,r;if(!W((n=this._instance)==null?void 0:n._addCaptureHook)&&(t.forEach((o=>{var a,l;(a=this.Ki)==null||a.add(o),(l=o.steps)==null||l.forEach((u=>{var c;(c=this.Ji)==null||c.add(u?.event||"")}))})),(r=this._instance)!=null&&r.autocapture)){var s,i=new Set;t.forEach((o=>{var a;(a=o.steps)==null||a.forEach((l=>{l!=null&&l.selector&&i.add(l?.selector)}))})),(s=this._instance)==null||s.autocapture.setElementSelectors(i)}}on(t,n){var r;n!=null&&t.length!=0&&(this.Ji.has(t)||this.Ji.has(n?.event))&&this.Ki&&((r=this.Ki)==null?void 0:r.size)>0&&this.Ki.forEach((s=>{this.Xi(n,s)&&this.Bi.emit("actionCaptured",s.name)}))}Qi(t){this.onAction("actionCaptured",(n=>t(n)))}Xi(t,n){if(n?.steps==null)return!1;for(var r of n.steps)if(this.qi(t,r))return!0;return!1}onAction(t,n){return this.Bi.on(t,n)}Wi(t,n){if(n!=null&&n.url){var r,s=t==null||(r=t.properties)==null?void 0:r.$current_url;if(!s||typeof s!="string"||!yr(s,n.url,n.url_matching||"contains"))return!1}return!0}Gi(t,n){return!!this.Zi(t,n)&&!!this.te(t,n)&&!!this.ie(t,n)}Zi(t,n){var r;if(n==null||!n.href)return!0;var s=this.ee(t);if(s.length>0)return s.some((a=>yr(a.href,n.href,n.href_matching||"exact")));var i,o=(t==null||(r=t.properties)==null?void 0:r.$elements_chain)||"";return!!o&&yr((i=o.match(/(?::|")href="(.*?)"/))?i[1]:"",n.href,n.href_matching||"exact")}te(t,n){var r;if(n==null||!n.text)return!0;var s=this.ee(t);if(s.length>0)return s.some((u=>yr(u.text,n.text,n.text_matching||"exact")||yr(u.$el_text,n.text,n.text_matching||"exact")));var i,o,a,l=(t==null||(r=t.properties)==null?void 0:r.$elements_chain)||"";return!!l&&(i=(function(u){for(var c,f=[],h=/(?::|")text="(.*?)"/g;!fe(c=h.exec(u));)f.includes(c[1])||f.push(c[1]);return f})(l),o=n.text,a=n.text_matching||"exact",i.some((u=>yr(u,o,a))))}ie(t,n){var r,s;if(n==null||!n.selector)return!0;var i=t==null||(r=t.properties)==null?void 0:r.$element_selectors;if(i!=null&&i.includes(n.selector))return!0;var o=(t==null||(s=t.properties)==null?void 0:s.$elements_chain)||"";if(n.selector_regex&&o)try{return new RegExp(n.selector_regex).test(o)}catch{return!1}return!1}ee(t){var n;return(t==null||(n=t.properties)==null?void 0:n.$elements)==null?[]:t?.properties.$elements}Yi(t,n){return n==null||!n.properties||n.properties.length===0||xg(n.properties.reduce(((r,s)=>{var i=ge(s.value)?s.value.map(String):s.value!=null?[String(s.value)]:[];return r[s.key]={values:i,operator:s.operator||"exact"},r}),{}),t?.properties)}}class gx{constructor(t){this._instance=t,this.re=new Map,this.se=new Map,this.ne=new Map}oe(t,n){return!!t&&xg(t.propertyFilters,n?.properties)}ae(t,n){var r=new Map;return t.forEach((s=>{var i;(i=s.conditions)==null||(i=i[n])==null||(i=i.values)==null||i.forEac
7h((o=>{if(o!=null&&o.name){var a=r.get(o.name)||[];a.push(s.id),r.set(o.name,a)}}))})),r}le(t,n,r){var s=(r===us.Activation?this.re:this.se).get(t),i=[];return this.ue((o=>{i=o.filter((a=>s?.includes(a.id)))})),i.filter((o=>{var a,l=(a=o.conditions)==null||(a=a[r])==null||(a=a.values)==null?void 0:a.find((u=>u.name===t));return this.oe(l,n)}))}register(t){var n;W((n=this._instance)==null?void 0:n._addCaptureHook)||(this.he(t),this.de(t))}de(t){var n=t.filter((r=>{var s,i;return((s=r.conditions)==null?void 0:s.actions)&&((i=r.conditions)==null||(i=i.actions)==null||(i=i.values)==null?void 0:i.length)>0}));n.length!==0&&(this.ve==null&&(this.ve=new px(this._instance),this.ve.init(),this.ve.Qi((r=>{this.onAction(r)}))),n.forEach((r=>{var s,i,o,a,l;r.conditions&&(s=r.conditions)!=null&&s.actions&&(i=r.conditions)!=null&&(i=i.actions)!=null&&i.values&&((o=r.conditions)==null||(o=o.actions)==null||(o=o.values)==null?void 0:o.length)>0&&((a=this.ve)==null||a.register(r.conditions.actions.values),(l=r.conditions)==null||(l=l.actions)==null||(l=l.values)==null||l.forEach((u=>{if(u&&u.name){var c=this.ne.get(u.name);c&&c.push(r.id),this.ne.set(u.name,c||[r.id])}})))})))}he(t){var n,r=t.filter((i=>{var o,a;return((o=i.conditions)==null?void 0:o.events)&&((a=i.conditions)==null||(a=a.events)==null||(a=a.values)==null?void 0:a.length)>0})),s=t.filter((i=>{var o,a;return((o=i.conditions)==null?void 0:o.cancelEvents)&&((a=i.conditions)==null||(a=a.cancelEvents)==null||(a=a.values)==null?void 0:a.length)>0}));(r.length!==0||s.length!==0)&&((n=this._instance)==null||n._addCaptureHook(((i,o)=>{this.onEvent(i,o)})),this.re=this.ae(t,us.Activation),this.se=this.ae(t,us.Cancellation))}onEvent(t,n){var r,s=this.ce(),i=this.fe(),o=this.pe(),a=((r=this._instance)==null||(r=r.persistence)==null?void 0:r.props[i])||[];if(o===t&&n&&a.length>0){var l,u;s.info("event matched, removing item from activated items",{event:t,eventPayload:n,existingActivatedItems:a});var c=(n==null||(l=n.properties)==null?void 0:l.$survey_id)||(n==null||(u=n.properties)==null?void 0:u.$product_tour_id);if(c){var f=a.indexOf(c);f>=0&&(a.splice(f,1),this._e(a))}}else{if(this.se.has(t)){var h=this.le(t,n,us.Cancellation);h.length>0&&(s.info("cancel event matched, cancelling items",{event:t,itemsToCancel:h.map((p=>p.id))}),h.forEach((p=>{var g=a.indexOf(p.id);g>=0&&a.splice(g,1),this.ge(p.id)})),this._e(a))}if(this.re.has(t)){s.info("event name matched",{event:t,eventPayload:n,items:this.re.get(t)});var d=this.le(t,n,us.Activation);this._e(a.concat(d.map((p=>p.id))||[]))}}}onAction(t){var n,r=this.fe(),s=((n=this._instance)==null||(n=n.persistence)==null?void 0:n.props[r])||[];this.ne.has(t)&&this._e(s.concat(this.ne.get(t)||[]))}_e(t){var n,r=this.ce(),s=this.fe(),i=[...new Set(t)].filter((o=>!this.me(o)));r.info("updating activated items",{activatedItems:i}),(n=this._instance)==null||(n=n.persistence)==null||n.register({[s]:i})}getActivatedIds(){var t,n=this.fe(),r=(t=this._instance)==null||(t=t.persistence)==null?void 0:t.props[n];return r||[]}getEventToItemsMap(){return this.re}be(){return this.ve}}class _x extends gx{constructor(t){super(t)}fe(){return"$surveys_activated"}pe(){return Ss.SHOWN}ue(t){var n;(n=this._instance)==null||n.getSurveys(t)}ge(t){var n;(n=this._instance)==null||n.cancelPendingSurvey(t)}ce(){return xe}me(){return!1}getSurveys(){return this.getActivatedIds()}getEventToSurveys(){return this.getEventToItemsMap()}}var vx=k!=null&&k.location?fo(k.location.hash,"__posthog")||fo(location.hash,"state"):null,Gf="_postHogToolbarParams",Kf=Le("[Toolbar]"),$n=(function(e){return e[e.UNINITIALIZED=0]="UNINITIALIZED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED",e})($n||{}),yt=Le("[FeatureFlags]"),_s=Le("[FeatureFlags]",{debugEnabled:!0}),mx="errors_while_computing_flags",yx="flag_missing",bx="quota_limited",wx="timeout",Ex="connection_error",Tx="unknown_error",xx=e=>"api_error_"+e,xa="$active_feature_flags",br="$override_feature_flags",zf="$feature_flag_payloads",vs="$override_feature_flag_payloads",Yf="$feature_flag_request_id",Jf=e=>{var t={};for(var[n,r]of Ai(e||{}))r&&(t[n]=r);return t},Sx=e=>{var t=e.flags;return t?(e.featureFlags=Object.fromEntries(Object.keys(t).map((n=>{var r;return[n,(r=t[n].variant)!==null&&r!==void 0?r:t[n].enabled]}))),e.featureFlagPayloads=Object.fromEntries(Object.keys(t).filter((n=>t[n].enabled)).filter((n=>{var r;return(r=t[n].metadata)==null?void 0:r.payload})).map((n=>{var r;return[n,(r=t[n].metadata)==null?void 0:r.payload]})))):yt.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),e},kx=(function(e){return e.FeatureFlags="feature_flags",e.Recordings="recordings",e})({}),Sa=Le("[Error tracking]"),Px={icontains:(e,t)=>!!k&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!k&&t.href.toLowerCase().indexOf(e.toLowerCase())===-1,regex:(e,t)=>!!k&&go(t.href,e),not_regex:(e,t)=>!!k&&!go(t.href,e),exact:(e,t)=>
7t.href===e,is_not:(e,t)=>t.href!==e};class st{constructor(t){var n=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(r){r===void 0&&(r=!1),n.getWebExperiments((s=>{st.ye("retrieved web experiments from the server"),n.we=new Map,s.forEach((i=>{if(i.feature_flag_key){var o;n.we&&(st.ye("setting flag key ",i.feature_flag_key," to web experiment ",i),(o=n.we)==null||o.set(i.feature_flag_key,i));var a=n._instance.getFeatureFlag(i.feature_flag_key);Be(a)&&i.variants[a]&&n.Ee(i.name,a,i.variants[a].transforms)}else if(i.variants)for(var l in i.variants){var u=i.variants[l];st.xe(u)&&n.Ee(i.name,l,u.transforms)}}))}),r)},this._instance=t,this._instance.onFeatureFlags((r=>{this.onFeatureFlags(r)}))}initialize(){}onFeatureFlags(t){if(this._is_bot())st.ye("Refusing to render web experiment since the viewer is a likely bot");else if(!this._instance.config.disable_web_experiments){if(fe(this.we))return this.we=new Map,this.loadIfEnabled(),void this.previewWebExperiment();st.ye("applying feature flags",t),t.forEach((n=>{var r;if(this.we&&(r=this.we)!=null&&r.has(n)){var s,i=this._instance.getFeatureFlag(n),o=(s=this.we)==null?void 0:s.get(n);i&&o!=null&&o.variants[i]&&this.Ee(o.name,i,o.variants[i].transforms)}}))}}previewWebExperiment(){var t=st.getWindowLocation();if(t!=null&&t.search){var n=uo(t?.search,"__experiment_id"),r=uo(t?.search,"__experiment_variant");n&&r&&(st.ye("previewing web experiments "+n+" && "+r),this.getWebExperiments((s=>{this.Se(parseInt(n),r,s)}),!1,!0))}}loadIfEnabled(){this._instance.config.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(t,n,r){if(this._instance.config.disable_web_experiments&&!r)return t([]);var s=this._instance.get_property("$web_experiments");if(s&&!n)return t(s);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this._instance.config.token),method:"GET",callback:i=>{if(i.statusCode!==200||!i.json)return t([]);var o=i.json.experiments||[];return t(o)}})}Se(t,n,r){var s=r.filter((i=>i.id===t));s&&s.length>0&&(st.ye("Previewing web experiment ["+s[0].name+"] with variant ["+n+"]"),this.Ee(s[0].name,n,s[0].variants[n].transforms))}static xe(t){return!fe(t.conditions)&&st.$e(t)&&st.ke(t)}static $e(t){var n;if(fe(t.conditions)||fe((n=t.conditions)==null?void 0:n.url))return!0;var r,s,i,o=st.getWindowLocation();return!!o&&((r=t.conditions)==null||!r.url||Px[(s=(i=t.conditions)==null?void 0:i.urlMatchType)!==null&&s!==void 0?s:"icontains"](t.conditions.url,o))}
7static getWindowLocation(){return k?.location}static ke(t){var n;if(fe(t.conditions)||fe((n=t.conditions)==null?void 0:n.utm))return!0;var r=cg();if(r.utm_source){var s,i,o,a,l,u,c,f,h=(s=t.conditions)==null||(s=s.utm)==null||!s.utm_campaign||((i=t.conditions)==null||(i=i.utm)==null?void 0:i.utm_campaign)==r.utm_campaign,d=(o=t.conditions)==null||(o=o.utm)==null||!o.utm_source||((a=t.conditions)==null||(a=a.utm)==null?void 0:a.utm_source)==r.utm_source,p=(l=t.conditions)==null||(l=l.utm)==null||!l.utm_medium||((u=t.conditions)==null||(u=u.utm)==null?void 0:u.utm_medium)==r.utm_medium,g=(c=t.conditions)==null||(c=c.utm)==null||!c.utm_term||((f=t.conditions)==null||(f=f.utm)==null?void 0:f.utm_term)==r.utm_term;return h&&p&&g&&d}return!1}static ye(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];G.info("[WebExperiments] "+t,r)}Ee(t,n,r){this._is_bot()?st.ye("Refusing to render web experiment since the viewer is a likely bot"):n!=="control"?r.forEach((s=>{if(s.selector){var i;st.ye("applying transform of variant "+n+" for experiment "+t+" ",s);var o=(i=document)==null?void 0:i.querySelectorAll(s.selector);o?.forEach((a=>{var l=a;s.html&&(l.innerHTML=s.html),s.css&&l.setAttribute("style",s.css)}))}})):st.ye("Control variants leave the page unmodified.")}_is_bot(){return Rt&&this._instance?Eg(Rt,this._instance.config.custom_blocked_useragents):void 0}}var Mt=Le("[Conversations]"),Ho={featureFlags:class{constructor(e){this.Pe=!1,this.Te=!1,this.Re=!1,this.Ie=!1,this.Ce=!1,this.Oe=!1,this.Fe=!1,this.Me=!1,this._instance=e,this.featureFlagEventHandlers=[]}Ae(){var e,t;return(e=(t=this._instance.persistence)==null?void 0:t.nt(this._instance.config.feature_flag_cache_ttl_ms))!==null&&e!==void 0&&e}De(){return!!this.Ae()&&(this.Me||this.Re||(this.Me=!0,yt.warn("Feature flag cache is stale, triggering refresh..."),this.reloadFeatureFlags()),!0)}Le(){var e,t=(e=this._instance.config.evaluation_contexts)!==null&&e!==void 0?e:this._instance.config.evaluation_environments;return!this._instance.config.evaluation_environments||this._instance.config.evaluation_contexts||this.Fe||(yt.warn("evaluation_environments is deprecated. Use evaluation_contexts instead. evaluation_environments will be removed in a future version."),this.Fe=!0),t!=null&&t.length?t.filter((n=>{var r=n&&typeof n=="string"&&n.trim().length>0;return r||yt.error("Invalid evaluation context found:",n,"Expected non-empty string"),r})):[]}je(){return this.Le().length>0}initialize(){var e,t,{config:n}=this._instance,r=(e=(t=n.bootstrap)==null?void 0:t.featureFlags)!==null&&e!==void 0?e:{};if(Object.keys(r).length){var s,i,o=(s=(i=n.bootstrap)==null?void 0:i.featureFlagPayloads)!==null&&s!==void 0?s:{},a=Object.keys(r).filter((u=>!!r[u])).reduce(((u,c)=>(u[c]=r[c]||!1,u)),{}),l=Object.keys(o).filter((u=>a[u])).reduce(((u,c)=>(o[c]&&(u[c]=o[c]),u)),{});this.receivedFeatureFlags({featureFlags:a,featureFlagPayloads:l})}}updateFlags(e,t,n){var r=n!=null&&n.merge?this.getFlagVariants():{},s=n!=null&&n.merge?this.getFlagPayloads():{},i=U({},r,e),o=U({},s,t),a={};for(var[l,u]of Object.entries(i)){var c=typeof u=="string";a[l]={key:l,enabled:!!c||!!u,variant:c?u:void 0,reason:void 0,metadata:W(o?.[l])?void 0:{id:0,version:void 0,description:void 0,payload:o[l]}}}this.receivedFeatureFlags({flags:a})}get hasLoadedFlags(){return this.Te}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var e=this._instance.get_property(pl),t=this._instance.get_property(br),n=this._instance.get_property(vs);if(!n&&!t)return e||{};var r=De({},e||{}),s=[...new Set([...Object.keys(n||{}),...Object.keys(t||{})])];for(var i of s){var o,a,l=r[i],u=t?.[i],c=W(u)?(o=l?.enabled)!==null&&o!==void 0&&o:!!u,f=W(u)?l.variant:typeof u=="string"?u:void 0,h=n?.[i],d=U({},l,{enabled:c,variant:c?f??l?.variant:void 0});c!==l?.enabled&&(d.original_enabled=l?.enabled),f!==l?.variant&&(d.original_variant=l?.variant),h&&(d.metadata=U({},l?.metadata,{payload:h,original_payload:l==null||(a=l.metadata)==null?void 0:a.payload})),r[i]=d}return this.Pe||(yt.warn(" Overriding feature flag details!",{flagDetails:e,overriddenPayloads:n,finalDetails:r}),this.Pe=!0),r}getFlagVariants(){var e=this._instance.get_property(Pr),t=this._instance.get_property(br);if(!t)return e||{};for(var n=De({},e),r=Object.keys(t),s=0;s<r.length;s++)n[r[s]]=t[r[s]];return this.Pe||(yt.warn(" Overriding feature flags!",{enabledFlags:e,overriddenFlags:t,finalFlags:n}),this.Pe=!0),n}getFlagPayloads(){var e=this._instance.get_property(zf),t=this._instance.get_property(vs);if(!t)return e||{};for(var n=De({},e||{}),r=Object.keys(t),s=0;s<r.length;s++)n[r[s]]=t[r[s]];return this.Pe||(yt.warn(" Overriding feature flag payloads!",{flagPayloads:e,overriddenPayloads:t,finalPayloads:n}),this.Pe=!0),n}reloadFeatureFlags(){this.Ie||this._instance.config.advanced_disable_feature_flags||this.Ne||(this._instance.pi.emit("featureFlagsReloading",!0),this.Ne=setTimeout((()=>{this.Ue()}),5))}ze(){clearTimeout(this.Ne),this.Ne=void 0}ensureFlagsLoaded(){this.Te||this.Re||this.Ne||this.reloadFeatureFlags()}setAnonymousDistinctId(e){this.$anon_distinct_id=e}setReloadingPaused(e){this.Ie=e}Ue(e){var t;if(this.ze(),!this._instance.bt())if(this.Re)this.Ce=!0;else{var n=this._instance.config.token,r=this._instance.get_property("$device_id"),s={token:n,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:U({},((t=this._instance.persistence)==null?void 0:t.get_initial_props())||{},this._instance.get_property(xs)||{}),group_properties:this._instance.get_property(sr),timezone:gg()};Kt(r)||W(r)||(s.$device_id=r),(e!=null&&e.disableFlags||this._instance.config.advanced_disable_feature_flags)&&(s.disable_flags=!0),this.je()&&(s.evaluation_contexts=this.Le());var i=this._instance.config.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":"",o=this._instance.requestRouter.endpointFor("flags","/flags/?v=2"+i);this.Re=!0,this._instance._send_request({method:"POST",url:o,data:s,compression:this._instance.config.disable_compression?void 0:wn.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:a=>{var l,u,c,f=!0;if(a.statusCode===200&&(this.Ce||(this.$anon_distinct_id=void 0),f=!1),this.Re=!1,!s.disable_flags||this.Ce){this.Oe=!f;var h=[];
7a.error?a.error instanceof Error?h.push(a.error.name==="AbortError"?wx:Ex):h.push(Tx):a.statusCode!==200&&h.push(xx(a.statusCode)),(l=a.json)!=null&&l.errorsWhileComputingFlags&&h.push(mx);var d=!((u=a.json)==null||(u=u.quotaLimited)==null||!u.includes(kx.FeatureFlags));if(d&&h.push(bx),(c=this._instance.persistence)==null||c.register({[_l]:h}),d)yt.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset.  Please visit https://posthog.com/docs/billing/limits-alerts to learn more.");else{var p;s.disable_flags||this.receivedFeatureFlags((p=a.json)!==null&&p!==void 0?p:{},f),this.Ce&&(this.Ce=!1,this.Ue())}}}})}}getFeatureFlag(e,t){var n;if(t===void 0&&(t={}),!t.fresh||this.Oe)if(this.Te||this.getFlags()&&this.getFlags().length>0){if(!this.De()){var r=this.getFeatureFlagResult(e,t);return(n=r?.variant)!==null&&n!==void 0?n:r?.enabled}}else yt.warn('getFeatureFlag for key "'+e+`" failed. Feature flags didn't load in time.`)}getFeatureFlagDetails(e){return this.getFlagsWithDetails()[e]}getFeatureFlagPayload(e){var t=this.getFeatureFlagResult(e,{send_event:!1});return t?.payload}getFeatureFlagResult(e,t){if(t===void 0&&(t={}),!t.fresh||this.Oe)if(this.Te||this.getFlags()&&this.getFlags().length>0){if(!this.De()){var n=this.getFlagVariants(),r=e in n,s=n[e],i=this.getFlagPayloads()[e],o=String(s),a=this._instance.get_property(Yf)||void 0,l=this._instance.get_property(io)||void 0,u=this._instance.get_property(so)||{};if((t.send_event||!("send_event"in t))&&(!(e in u)||!u[e].includes(o))){var c,f,h,d,p,g,w,E,b,_;ge(u[e])?u[e].push(o):u[e]=[o],(c=this._instance.persistence)==null||c.register({[so]:u});var m=this.getFeatureFlagDetails(e),T=[...(f=this._instance.get_property(_l))!==null&&f!==void 0?f:[]];W(s)&&T.push(yx);var x={$feature_flag:e,$feature_flag_response:s,$feature_flag_payload:i||null,$feature_flag_request_id:a,$feature_flag_evaluated_at:l,$feature_flag_bootstrapped_response:((h=this._instance.config.bootstrap)==null||(h=h.featureFlags)==null?void 0:h[e])||null,$feature_flag_bootstrapped_payload:((d=this._instance.config.bootstrap)==null||(d=d.featureFlagPayloads)==null?void 0:d[e])||null,$used_bootstrap_value:!this.Oe};W(m==null||(p=m.metadata)==null?void 0:p.version)||(x.$feature_flag_version=m.metadata.version);var P,L=(g=m==null||(w=m.reason)==null?void 0:w.description)!==null&&g!==void 0?g:m==null||(E=m.reason)==null?void 0:E.code;L&&(x.$feature_flag_reason=L),m!=null&&(b=m.metadata)!=null&&b.id&&(x.$feature_flag_id=m.metadata.id),W(m?.original_variant)&&W(m?.original_enabled)||(x.$feature_flag_original_response=W(m.original_variant)?m.original_enabled:m.original_variant),m!=null&&(_=m.metadata)!=null&&_.original_payload&&(x.$feature_flag_original_payload=m==null||(P=m.metadata)==null?void 0:P.original_payload),T.length&&(x.$feature_flag_error=T.join(",")),this._instance.capture("$feature_flag_called",x)}if(r){var R=i;if(!W(i))try{R=JSON.parse(i)}catch{}return{key:e,enabled:!!s,variant:typeof s=="string"?s:void 0,payload:R}}}}else yt.warn('getFeatureFlagResult for key "'+e+`" failed. Feature flags didn't load in time.`)}getRemoteConfigPayload(e,t){var n=this._instance.config.token,r={distinct_id:this._instance.get_distinct_id(),token:n};this.je()&&(r.evaluation_contexts=this.Le()),this._instance._send_request({method:"POST",url:this._instance.requestRouter.endpointFor("flags","/flags/?v=2"),data:r,compression:this._instance.config.disable_compression?void 0:wn.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:s=>{var i,o=(i=s.json)==null?void 0:i.featureFlagPayloads;t(o?.[e]||void 0)}})}isFeatureEnabled(e,t){if(t===void 0&&(t={}),!t.fresh||this.Oe){if(this.Te||this.getFlags()&&this.getFlags().length>0){var n=this.getFeatureFlag(e,t);return W(n)?void 0:!!n}yt.warn('isFeatureEnabled for key "'+e+`" failed. Feature flags didn't load in time.`)}}addFeatureFlagsHandler(e){this.featureFlagEventHandlers.push(e)}removeFeatureFlagsHandler(e){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter((t=>t!==e))}receivedFeatureFlags(e,t){if(this._instance.persistence){this.Te=!0;var n=this.getFlagVariants(),r=this.getFlagPayloads(),s=this.getFlagsWithDetails();(function(i,o,a,l,u){a===void 0&&(a={}),l===void 0&&(l={}),u===void 0&&(u={});var c=Sx(i),f=c.flags,h=c.featureFlags,d=c.featureFlagPayloads;if(h){var p=i.requestId,g=i.evaluatedAt;if(ge(h)){yt.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var w={};if(h)for(var E=0;E<h.length;E++)w[h[E]]=!0;o&&o.register({[xa]:h,[Pr]:w})}else{var b=h,_=d,m=f;if(i.errorsWhileComputingFlags)if(f){var T=new Set(Object.keys(f).filter((x=>{var P;return!((P=f[x])!=null&&P.failed)})));b=U({},a,Object.fromEntries(Object.entries(b).filter((x=>{var[P]=x;return T.has(P)})))),_=U({},l,Object.fromEntries(Object.entries(_||{}).filter((x=>{var[P]=x;return T.has(P)})))),m=U({},u,Object.fromEntries(Object.entries(m||{}).filter((x=>{var[P]=x;return T.has(P)}))))}else b=U({},a,b),_=U({},l,_),m=U({},u,m);o&&o.register(U({[xa]:Object.keys(Jf(b)),[Pr]:b||{},[zf]:_||{},[pl]:m||{}},p?{[Yf]:p}:{},g?{[io]:g}:{}))}}}
7)(e,this._instance.persistence,n,r,s),t||(this.Me=!1),this.He(t)}}override(e,t){t===void 0&&(t=!1),yt.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:e,suppressWarning:t})}overrideFeatureFlags(e){if(!this._instance.__loaded||!this._instance.persistence)return yt.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(e===!1)return this._instance.persistence.unregister(br),this._instance.persistence.unregister(vs),this.He(),_s.info("All overrides cleared");if(e&&typeof e=="object"&&("flags"in e||"payloads"in e)){var t,n=e;if(this.Pe=!!((t=n.suppressWarning)!==null&&t!==void 0&&t),"flags"in n){if(n.flags===!1)this._instance.persistence.unregister(br),_s.info("Flag overrides cleared");else if(n.flags){if(ge(n.flags)){for(var r={},s=0;s<n.flags.length;s++)r[n.flags[s]]=!0;this._instance.persistence.register({[br]:r})}else this._instance.persistence.register({[br]:n.flags});_s.info("Flag overrides set",{flags:n.flags})}}return"payloads"in n&&(n.payloads===!1?(this._instance.persistence.unregister(vs),_s.info("Payload overrides cleared")):n.payloads&&(this._instance.persistence.register({[vs]:n.payloads}),_s.info("Payload overrides set",{payloads:n.payloads}))),void this.He()}this.He()}onFeatureFlags(e){if(this.addFeatureFlagsHandler(e),this.Te){var{flags:t,flagVariants:n}=this.Be();e(t,n)}return()=>this.removeFeatureFlagsHandler(e)}updateEarlyAccessFeatureEnrollment(e,t,n){var r,s=(this._instance.get_property(Ts)||[]).find((l=>l.flagKey===e)),i={["$feature_enrollment/"+e]:t},o={$feature_flag:e,$feature_enrollment:t,$set:i};s&&(o.$early_access_feature_name=s.name),n&&(o.$feature_enrollment_stage=n),this._instance.capture("$feature_enrollment_update",o),this.setPersonPropertiesForFlags(i,!1);var a=U({},this.getFlagVariants(),{[e]:t});(r=this._instance.persistence)==null||r.register({[xa]:Object.keys(Jf(a)),[Pr]:a}),this.He()}getEarlyAccessFeatures(e,t,n){t===void 0&&(t=!1);var r=this._instance.get_property(Ts),s=n?"&"+n.map((i=>"stage="+i)).join("&"):"";if(r&&!t)return e(r);this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this._instance.config.token+s),method:"GET",callback:i=>{var o,a;if(i.json){var l=i.json.earlyAccessFeatures;return(o=this._instance.persistence)==null||o.unregister(Ts),(a=this._instance.persistence)==null||a.register({[Ts]:l}),e(l)}}})}Be(){var e=this.getFlags(),t=this.getFlagVariants();return{flags:e.filter((n=>t[n])),flagVariants:Object.keys(t).filter((n=>t[n])).reduce(((n,r)=>(n[r]=t[r],n)),{})}}He(e){var{flags:t,flagVariants:n}=this.Be();this.featureFlagEventHandlers.forEach((r=>r(t,n,{errorsLoading:e})))}setPersonPropertiesForFlags(e,t){t===void 0&&(t=!0);var n=this._instance.get_property(xs)||{};this._instance.register({[xs]:U({},n,e)}),t&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(xs)}setGroupPropertiesForFlags(e,t){t===void 0&&(t=!0);var n=this._instance.get_property(sr)||{};Object.keys(n).length!==0&&Object.keys(n).forEach((r=>{n[r]=U({},n[r],e[r]),delete e[r]})),this._instance.register({[sr]:U({},n,e)}),t&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(e){if(e){var t=this._instance.get_property(sr)||{};this._instance.register({[sr]:U({},t,{[e]:{}})})}else this._instance.unregister(sr)}reset(){this.Te=!1,this.Re=!1,this.Ie=!1,this.Ce=!1,this.Oe=!1,this.$anon_distinct_id=void 0,this.ze(),this.Pe=!1}}},Rx={sessionRecording:class{get started(){var e;return!((e=this.qe)==null||!e.isStarted)}get status(){var e,t;return this.Ve===gs||this.Ve===Ti?this.Ve:(e=(t=this.qe)==null?void 0:t.status)!==null&&e!==void 0?e:this.Ve}constructor(e){if(this._forceAllowLocalhostNetworkCapture=!1,this.Ve=Bf,this.We=void 0,this._instance=e,!this._instance.sessionManager)throw tr.error("started without valid sessionManager"),new Error(Rl+" started without valid sessionManager. This is a bug.");if(this._instance.config.cookieless_mode==="always")throw new Error(Rl+' cannot be used with cookieless_mode="always"')}initialize(){this.startIfEnabledOrStop()}
7get Ge(){var e,t=!((e=this._instance.get_property(mi))==null||!e.enabled),n=!this._instance.config.disable_session_recording,r=this._instance.config.disable_session_recording||this._instance.consent.isOptedOut();return k&&t&&n&&!r}startIfEnabledOrStop(e){var t;if(!this.Ge||(t=this.qe)==null||!t.isStarted){var n=!W(Object.assign)&&!W(Array.from);this.Ge&&n?(this.Ye(e),tr.info("starting")):(this.Ve=Bf,this.stopRecording())}}Ye(e){var t,n,r;this.Ge&&(this.Ve!==gs&&this.Ve!==Ti&&(this.Ve=Vf),re!=null&&(t=re.__PosthogExtensions__)!=null&&(t=t.rrweb)!=null&&t.record&&(n=re.__PosthogExtensions__)!=null&&n.initSessionRecording?this.Je(e):(r=re.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,this.Ke,(s=>{if(s)return tr.error("could not load recorder",s);this.Je(e)})))}stopRecording(){var e,t;(e=this.We)==null||e.call(this),this.We=void 0,(t=this.qe)==null||t.stop()}Xe(){var e,t;(e=this.We)==null||e.call(this),this.We=void 0,(t=this.qe)==null||t.discard()}Qe(){var e;(e=this._instance.persistence)==null||e.unregister(sg)}Ze(e,t){if(fe(e))return null;var n,r=un(e)?e:parseFloat(e);return typeof(n=r)=="number"&&Number.isFinite(n)&&n>=0&&n<=1?r:(tr.warn(t+" must be between 0 and 1. Ignoring invalid value:",e),null)}tr(e){if(this._instance.persistence){var t,n,r=this._instance.persistence,s=()=>{var i,o=e.sessionRecording===!1?void 0:e.sessionRecording,a=this.Ze((i=this._instance.config.session_recording)==null?void 0:i.sampleRate,"session_recording.sampleRate"),l=this.Ze(o?.sampleRate,"remote config sampleRate"),u=a??l;fe(u)&&this.Qe();var c=o?.minimumDurationMilliseconds;r.register({[mi]:U({cache_timestamp:Date.now(),enabled:!!o},o,{networkPayloadCapture:U({capturePerformance:e.capturePerformance},o?.networkPayloadCapture),canvasRecording:{enabled:o?.recordCanvas,fps:o?.canvasFps,quality:o?.canvasQuality},sampleRate:u,minimumDurationMilliseconds:W(c)?null:c,endpoint:o?.endpoint,triggerMatchType:o?.triggerMatchType,masking:o?.masking,urlTriggers:o?.urlTriggers})})};s(),(t=this.We)==null||t.call(this),this.We=(n=this._instance.sessionManager)==null?void 0:n.onSessionId(s)}}onRemoteConfig(e){return"sessionRecording"in e?e.sessionRecording===!1?(this.tr(e),void this.Xe()):(this.tr(e),void this.startIfEnabledOrStop()):(this.Ve===gs&&(this.Ve=Ti,tr.warn("config refresh failed, recording will not start until page reload")),void this.startIfEnabledOrStop())}log(e,t){var n;t===void 0&&(t="log"),(n=this.qe)!=null&&n.log?this.qe.log(e,t):tr.warn("log called before recorder was ready")}get Ke(){var e,t,n=(e=this._instance)==null||(e=e.persistence)==null?void 0:e.get_property(m
7i);return(n==null||(t=n.scriptConfig)==null?void 0:t.script)||"lazy-recorder"}ir(){var e,t=this._instance.get_property(mi);if(!t)return!1;var n=(e=(typeof t=="object"?t:JSON.parse(t)).cache_timestamp)!==null&&e!==void 0?e:Date.now();return Date.now()-n<=36e5}Je(e){var t,n;if((t=re.__PosthogExtensions__)==null||!t.initSessionRecording)throw Error("Called on script loaded before session recording is available");if(this.qe||(this.qe=(n=re.__PosthogExtensions__)==null?void 0:n.initSessionRecording(this._instance),this.qe._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture),!this.ir())return this.Ve===Ti||this.Ve===gs?void 0:(this.Ve=gs,tr.info("persisted remote config is stale, requesting fresh config before starting"),void new _g(this._instance).load());this.Ve=Vf,this.qe.start(e)}onRRwebEmit(e){var t;(t=this.qe)==null||t.onRRwebEmit==null||t.onRRwebEmit(e)}overrideLinkedFlag(){var e,t;this.qe||(t=this._instance.persistence)==null||t.register({$replay_override_linked_flag:!0}),(e=this.qe)==null||e.overrideLinkedFlag()}overrideSampling(){var e,t;this.qe||(t=this._instance.persistence)==null||t.register({$replay_override_sampling:!0}),(e=this.qe)==null||e.overrideSampling()}overrideTrigger(e){var t,n;this.qe||(n=this._instance.persistence)==null||n.register({[e==="url"?"$replay_override_url_trigger":"$replay_override_event_trigger"]:!0}),(t=this.qe)==null||t.overrideTrigger(e)}get sdkDebugProperties(){var e;return((e=this.qe)==null?void 0:e.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(e,t){var n;return!((n=this.qe)==null||!n.tryAddCustomEvent(e,t))}}},Cx={autocapture:class{constructor(e){this.er=!1,this.rr=null,this.sr=!1,this.instance=e,this.rageclicks=new Df(e.config.rageclick),this.nr=null}initialize(){this.startIfEnabled()}get N(){var e,t,n=Ke(this.instance.config.autocapture)?this.instance.config.autocapture:{};return n.url_allowlist=(e=n.url_allowlist)==null?void 0:e.map((r=>new RegExp(r))),n.url_ignorelist=(t=n.url_ignorelist)==null?void 0:t.map((r=>new RegExp(r))),n}ar(){if(this.isBrowserSupported()){if(k&&V){var e=n=>{n=n||k?.event;try{this.lr(n)}catch(r){Hf.error("Failed to capture event",r)}};if(Ue(V,"submit",e,{capture:!0}),Ue(V,"change",e,{capture:!0}),Ue(V,"click",e,{capture:!0}),this.N.capture_copied_text){var t=n=>{n=n||k?.event,this.lr(n,wa)};Ue(V,"copy",t,{capture:!0}),Ue(V,"cut",t,{capture:!0})}}}else Hf.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.er&&(this.ar(),this.er=!0)}onRemoteConfig(e){e.elementsChainAsString&&(this.sr=e.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[lf]:!!e.autocapture_opt_out}),this.rr=!!e.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(e){this.nr=e}getElementSelectors(e){var t,n=[];return(t=this.nr)==null||t.forEach((r=>{var s=V?.querySelectorAll(r);s?.forEach((i=>{e===i&&n.push(r)}))})),n}get isEnabled(){var e,t,n=(e=this.instance.persistence)==null?void 0:e.props[lf],r=this.rr;if(Kt(r)&&!Sn(n)&&!this.instance.bt())return!1;var s=(t=this.rr)!==null&&t!==void 0?t:!!n;return!!this.instance.config.autocapture&&!s}lr(e,t){if(t===void 0&&(t="$autocapture"),this.isEnabled){var n,r=Mf(e);Pg(r)&&(r=r.parentNode||null),t==="$autocapture"&&e.type==="click"&&e instanceof MouseEvent&&this.instance.config.rageclick&&(n=this.rageclicks)!=null&&n.isRageClick(e.clientX,e.clientY,e.timeStamp||new Date().getTime())&&ex(r,this.instance.config.rageclick)&&this.lr(e,"$rageclick");var s=t===wa;if(r&&tx(r,e,this.N,s,s?["copy","cut"]:void 0)){var{props:i,explicitNoCapture:o}=ux(r,{e,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.N.element_attribute_ignorelist,elementsChainAsString:this.sr});if(o)return!1;var a=this.getElementSelectors(r);if(a&&a.length>0&&(i.$element_selectors=a),t===wa){var l,u=Cg(k==null||(l=k.getSelection())==null?void 0:l.toString()),c=e.type||"clipboard";if(!u)return!1;i.$selected_content=u,i.$copy_type=c}return this.instance.capture(t,i),!0}}}isBrowserSupported(){return En(V?.querySelectorAll)}},historyAutocapture:class{constructor(e){var t;this._instance=e,this.ur=(k==null||(t=k.location)==null?void 0:t.pathname)||""}initialize(){this.startIfEnabled()}get isEnabled(){return this._instance.config.capture_pageview==="history_change"}startIfEnabled(){this.isEnabled&&(G.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.hr&&this.hr(),this.hr=void 0,G.info("History API monitoring stopped")}monitorHistoryChanges(){var e,t;if(k&&k.history){var n=this;(e=k.history.pushState)!=null&&e.__posthog_wrapped__||jf(k.history,"pushState",(r=>function(s,i,o){r.call(this,s,i,o),n.dr("pushState")})),(t=k.history.replaceState)!=null&&t.__posthog_wrapped__||jf(k.history,"replaceState",(r=>function(s,i,o){r.call(this,s,i,o),n.dr("replaceState")})),this.vr()}}dr(e){try{var t,n=k==null||(t=k.location)==null?void 0:t.pathname;if(!n)return;n!==this.ur&&this.isEnabled&&this._instance.capture("$pageview",{navigation_type:e}),this.ur=n}catch(r){G.error("Error capturing "+e+" pageview",r)}}
vendor: 8,898 bytes, line 7
7vr(){if(!this.hr){var e=()=>{this.dr("popstate")};Ue(k,"popstate",e),this.hr=()=>{k&&k.removeEventListener("popstate",e)}}}},heatmaps:class{constructor(e){var t;this.cr=!1,this.er=!1,this.pr=null,this.instance=e,this.cr=!((t=this.instance.persistence)==null||!t.props[dl]),this.rageclicks=new Df(e.config.rageclick)}initialize(){this.startIfEnabled()}get flushIntervalMilliseconds(){var e=5e3;return Ke(this.instance.config.capture_heatmaps)&&this.instance.config.capture_heatmaps.flush_interval_milliseconds&&(e=this.instance.config.capture_heatmaps.flush_interval_milliseconds),e}get isEnabled(){return fe(this.instance.config.capture_heatmaps)?fe(this.instance.config.enable_heatmaps)?this.cr:this.instance.config.enable_heatmaps:this.instance.config.capture_heatmaps!==!1}startIfEnabled(){if(this.isEnabled){if(this.er)return;dx.info("starting..."),this._r(),this.gr()}else{var e;clearInterval((e=this.pr)!==null&&e!==void 0?e:void 0),this.mr(),this.getAndClearBuffer()}}onRemoteConfig(e){if("heatmaps"in e){var t=!!e.heatmaps;this.instance.persistence&&this.instance.persistence.register({[dl]:t}),this.cr=t,this.startIfEnabled()}}getAndClearBuffer(){var e=this.C;return this.C=void 0,e}br(e){this.yr(e.originalEvent,"deadclick")}gr(){this.pr&&clearInterval(this.pr),this.pr=(function(e){return e?.visibilityState==="visible"})(V)?setInterval(this.Ft.bind(this),this.flushIntervalMilliseconds):null}_r(){k&&V&&(this.wr=this.Ft.bind(this),Ue(k,"beforeunload",this.wr),this.Er=e=>this.yr(e||k?.event),Ue(V,"click",this.Er,{capture:!0}),this.Sr=e=>this.$r(e||k?.event),Ue(V,"mousemove",this.Sr,{capture:!0}),this.kr=new _f(this.instance,yT,this.br.bind(this)),this.kr.startIfEnabledOrStop(),this.Pr=this.gr.bind(this),Ue(V,"visibilitychange",this.Pr),this.er=!0)}mr(){var e;k&&V&&(this.wr&&k.removeEventListener("beforeunload",this.wr),this.Er&&V.removeEventListener("click",this.Er,{capture:!0}),this.Sr&&V.removeEventListener("mousemove",this.Sr,{capture:!0}),this.Pr&&V.removeEventListener("visibilitychange",this.Pr),clearTimeout(this.Tr),(e=this.kr)==null||e.stop(),this.er=!1)}Rr(e,t){var n=this.instance.scrollManager.scrollY(),r=this.instance.scrollManager.scrollX(),s=this.instance.scrollManager.scrollElement(),i=(function(o,a,l){for(var u=o;u&&Do(u)&&!qn(u,"body");){if(u===l)return!1;if(ue(a,k?.getComputedStyle(u).position))return!0;u=Og(u)}return!1})(Mf(e),["fixed","sticky"],s);return{x:e.clientX+(i?0:r),y:e.clientY+(i?0:n),target_fixed:i,type:t}}yr(e,t){var n;if(t===void 0&&(t="click"),!If(e.target)&&Wf(e)){var r=this.Rr(e,t);(n=this.rageclicks)!=null&&n.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this.Ir(U({},r,{type:"rageclick"})),this.Ir(r)}}$r(e){!If(e.target)&&Wf(e)&&(clearTimeout(this.Tr),this.Tr=setTimeout((()=>{this.Ir(this.Rr(e,"mousemove"))}),500))}Ir(e){if(k){var t=k.location.href,n=this.instance.config.mask_personal_data_properties,r=this.instance.config.custom_personal_data_properties,s=n?zr([],Yr,r||[]):[],i=Js(t,s,Xs);this.C=this.C||{},this.C[i]||(this.C[i]=[]),this.C[i].push(e)}}Ft(){this.C&&!kr(this.C)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},deadClicksAutocapture:_f,webVitalsAutocapture:class{constructor(e){var t;this.cr=!1,this.er=!1,this.C={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.Cr=()=>{clearTimeout(this.Or),this.C.metrics.length!==0&&(this._instance.capture("$web_vitals",this.C.metrics.reduce(((n,r)=>U({},n,{["$web_vitals_"+r.name+"_event"]:U({},r),["$web_vitals_"+r.name+"_value"]:r.value})),{})),this.C={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.Fr=n=>{var r,s=(r=this._instance.sessionManager)==null?void 0:r.checkAndGetSessionAndWindowId(!0);if(W(s))Mn.error("Could not read session ID. Dropping metrics!");else{this.C=this.C||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var i=this.Mr();W(i)||(fe(n?.name)||fe(n?.value)?Mn.error("Invalid metric received",n):this.Ar&&n.value>=this.Ar?Mn.error("Ignoring metric with value >= "+this.Ar,n):(this.C.url!==i&&(this.Cr(),this.Or=setTimeout(this.Cr,this.flushToCaptureTimeoutMs)),W(this.C.url)&&(this.C.url=i),this.C.firstMetricTimestamp=W(this.C.firstMetricTimestamp)?Date.now():this.C.firstMetricTimestamp,n.attribution&&n.attribution.interactionTargetElement&&(n.attribution.interactionTargetElement=void 0),this.C.metrics.push(U({},n,{$current_url:i,$session_id:s.sessionId,$window_id:s.windowId,timestamp:Date.now()})),this.C.metrics.length===this.allowedMetrics.length&&this.Cr()))}},this.Dr=()=>{if(!this.er){var n,r,s,i,o=re.__PosthogExtensions__;W(o)||W(o.postHogWebVitalsCallbacks)||({onLCP:n,onCLS:r,onFCP:s,onINP:i}=o.postHogWebVitalsCallbacks),n&&r&&s&&i?(this.allowedMetrics.indexOf("LCP")>-1&&n(this.Fr.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&r(this.Fr.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&s(this.Fr.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&i(this.Fr.bind(this)),this.er=!0):Mn.error("web vitals callbacks not loaded - not starting")}},this._instance=e,this.cr=!((t=this._instance.persistence)==null||!t.props[ff]),this.startIfEnabled()}get allowedMetrics(){var e,t,n=Ke(this._instance.config.capture_performance)?(e=this._instance.config.capture_performance)==null?void 0:e.web_vitals_allowed_metrics:void 0;return fe(n)?((t=this._instance.persistence)==null?void 0:t.props[hf])||["CLS","FCP","INP","LCP"]:n}get flushToCaptureTimeoutMs(){return(Ke(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals_delayed_flush_ms:void 0)||5e3}get useAttribution(){var e=Ke(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals_attribution:void 0;return e!=null&&e}get Ar(){var e=Ke(this._instance.config.capture_performance)&&un(this._instance.config.capture_performance.__web_vitals_max_value)?this._instance.config.capture_performance.__web_vitals_max_value:Uf;return 0<e&&e<=6e4?Uf:e}get isEnabled(){var e=Ze?.protocol;if(e!=="http:"&&e!=="https:")return Mn.info("Web Vitals are disabled on non-http/https protocols"),!1;var t=Ke(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals:Sn(this._instance.config.capture_performance)?this._instance.config.capture_performance:void 0;return Sn(t)?t:this.cr}startIfEnabled(){this.isEnabled&&!this.er&&(Mn.info("enabled, starting..."),this.G(this.Dr))}onRemoteConfig(e){if("capturePerformance"in e){var t=Ke(e.capturePerformance)&&!!e.capturePerformance.web_vitals,n=Ke(e.capturePerformance)?e.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[ff]:t}),this._instance.persistence.register({[hf]:n})),this.cr=t,this.startIfEnabled()}}G(e){var t,n;if((t=re.__PosthogExtensions__)!=null&&t.postHogWebVitalsCallbacks)e();else{var r=this.useAttribution?"web-vitals-with-attribution":"web-vitals";(n=re.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,r,(s=>{s?Mn.error("failed to load script",s):e()}))}}Mr(){var e=k?k.location.href:void 0;if(e){var t=this._instance.config.mask_personal_data_properties,n=this._instance.config.custom_personal_data_properties,r=t?zr([],Yr,n||[]):[];return Js(e,r,Xs)}Mn.error("Could not determine current URL")}}},Ax={exceptionObserver:class{constructor(e){var t,n,r;this.Dr=()=>{var s;if(k&&this.isEnabled&&(s=re.__PosthogExtensions__)!=null&&s.errorWrappingFunctions){var i=re.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,o=re.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,a=re.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.Lr&&this.N.capture_unhandled_errors&&(this.Lr=i(this.captureException.bind(this))),!this.jr&&this.N.capture_unhandled_rejections&&(this.jr=o(this.captureException.bind(this))),!this.Nr&&this.N.capture_console_errors&&(this.Nr=a(this.captureException.bind(this)))}catch(l){ps.error("failed to start",l),this.Ur()}}},this._instance=e,this.zr=!((t=this._instance.persistence)==null||!t.props[cf]),this.Hr=new PE({refillRate:(n=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)!==null&&n!==void 0?n:1,bucketSize:(r=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)!==null&&r!==void 0?r:10,refillInterval:1e4,h:ps}),this.N=this.Br(),this.startIfEnabledOrStop()}Br(){var e=this._instance.config.capture_exceptions,t={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return Ke(e)?t=U({},t,e):(W(e)?this.zr:e)&&(t=U({},t,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),t}get isEnabled(){return this.N.capture_console_errors||this.N.capture_unhandled_errors||this.N.capture_unhandled_rejections}startIfEnabledOrStop(){this.isEnabled?(ps.info("enabled"),this.Ur(),this.G(this.Dr)):this.Ur()}G(e){var t,n;(t=re.__PosthogExtensions__)!=null&&t.errorWrappingFunctions&&e(
7),(n=re.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"exception-autocapture",(r=>{if(r)return ps.error("failed to load script",r);e()}))}Ur(){var e,t,n;(e=this.Lr)==null||e.call(this),this.Lr=void 0,(t=this.jr)==null||t.call(this),this.jr=void 0,(n=this.Nr)==null||n.call(this),this.Nr=void 0}onRemoteConfig(e){if("autocaptureExceptions"in e){var t=e.autocaptureExceptions;this.zr=!!t||!1,this._instance.persistence&&this._instance.persistence.register({[cf]:this.zr}),this.N=this.Br(),this.startIfEnabledOrStop()}}onConfigChange(){this.N=this.Br()}captureException(e){var t,n,r,s=(t=e==null||(n=e.$exception_list)==null||(n=n[0])==null?void 0:n.type)!==null&&t!==void 0?t:"Exception";this.Hr.consumeRateLimit(s)?ps.info("Skipping exception capture because of client rate limiting.",{exception:s}):(r=this._instance.exceptions)==null||r.sendExceptionEvent(e)}},exceptions:class{constructor(e){var t,n;this.qr=[],this.Vr=new jE([new YE,new sT,new XE,new JE,new nT,new tT,new ZE,new rT],zE()),this._instance=e,this.qr=(t=(n=this._instance.persistence)==null?void 0:n.get_property(hl))!==null&&t!==void 0?t:[]}onRemoteConfig(e){var t,n,r;if("errorTracking"in e){var s=(t=(n=e.errorTracking)==null?void 0:n.suppressionRules)!==null&&t!==void 0?t:[],i=(r=e.errorTracking)==null?void 0:r.captureExtensionExceptions;this.qr=s,this._instance.persistence&&this._instance.persistence.register({[hl]:this.qr,[uf]:i})}}get Wr(){var e,t=!!this._instance.get_property(uf),n=this._instance.config.error_tracking.captureExtensionExceptions;return(e=n??t)!==null&&e!==void 0&&e}buildProperties(e,t){return this.Vr.buildFromUnknown(e,{syntheticException:t?.syntheticException,mechanism:{handled:t?.handled}})}sendExceptionEvent(e){var t=e.$exception_list;if(this.Gr(t)){if(this.Yr(t))return void Sa.info("Skipping exception capture because a suppression rule matched");if(!this.Wr&&this.Jr(t))return void Sa.info("Skipping exception capture because it was thrown by an extension");if(!this._instance.config.error_tracking.__capturePostHogExceptions&&this.Kr(t))return void Sa.info("Skipping exception capture because it was thrown by the PostHog SDK")}return this._instance.capture("$exception",e,{_noTruncate:!0,_batchKey:"exceptionEvent",Di:!0})}Yr(e){if(e.length===0)return!1;var t=e.reduce(((n,r)=>{var{type:s,value:i}=r;return Be(s)&&s.length>0&&n.$exception_types.push(s),Be(i)&&i.length>0&&n.$exception_values.push(i),n}),{$exception_types:[],$exception_values:[]});return this.qr.some((n=>{var r=n.values.map((s=>{var i,o=Tg[s.operator],a=ge(s.value)?s.value:[s.value],l=(i=t[s.key])!==null&&i!==void 0?i:[];return a.length>0&&o(a,l)}));return n.type==="OR"?r.some(Boolean):r.every(Boolean)}))}Jr(e){return e.flatMap((t=>{var n,r;return(n=(r=t.stacktrace)==null?void 0:r.frames)!==null&&n!==void 0?n:[]})).some((t=>t.filename&&t.filename.startsWith("chrome-extension://")))}Kr(e){if(e.length>0){var t,n,r,s,i=(t=(n=e[0].stacktrace)==null?void 0:n.frames)!==null&&t!==void 0?t:[],o=i[i.length-1];return(r=o==null||(s=o.filename)==null?void 0:s.includes("posthog.com/static"))!==null&&r!==void 0&&r}return!1}Gr(e){return!fe(e)&&ge(e)}}},Ox=U({productTours:class{constructor(e){this.Xr=null,this.Qr=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){"productTours"in e&&(this._instance.persistence&&this._instance.persistence.register({[df]:!!e.productTours}),this.loadIfEnabled())}loadIfEnabled(){var e,t;this.Xr||(e=this._instance).config.disable_product_tours||(t=e.persistence)==null||!t.get_property(df)||this.G((()=>this.Zr()))}G(e){var t,n;(t=re.__PosthogExtensions__)!=null&&t.generateProductTours?e():(n=re.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"product-tours",(r=>{r?qf.error("Could not load product tours script",r):e()}))}Zr(){var e;!this.Xr&&(e=re.__PosthogExtensions__)!=null&&e.generateProductTours&&(this.Xr=re.__PosthogExtensions__.generateProductTours(this._instance,!0))}getProductTours(e,t){if(t===void 0&&(t=!1),!ge(this.Qr)||t){var n=this._instance.persistence;if(n){var r=n.props[Ta];if(ge(r)&&!t)return this.Qr=r,void e(r,{isLoaded:!0})}this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/product_tours/?token="+this._instance.config.token),method:"GET",callback:s=>{var i=s.statusCode;if(i!==200||!s.json){var o="Product Tours API could not be loaded, status: "+i;return qf.error(o),void e([],{isLoaded:!1,error:o})}var a=ge(s.json.product_tours)?s.json.product_tours:[];this.Qr=a,n&&n.register({[Ta]:a}),e(a,{isLoaded:!0})}})}else e(this.Qr,{isLoaded:!0})}getActiveProductTours(e){fe(this.Xr)?e([],{isLoaded:!1,error:"Product tours not loaded"}):this.Xr.getActiveProductTours(e)}showProductTour(e){var t;
7(t=this.Xr)==null||t.showTourById(e)}previewTour(e){this.Xr?this.Xr.previewTour(e):this.G((()=>{var t;this.Zr(),(t=this.Xr)==null||t.previewTour(e)}))}dismissProductTour(){var e;(e=this.Xr)==null||e.dismissTour("user_clicked_skip")}nextStep(){var e;(e=this.Xr)==null||e.nextStep()}previousStep(){var e;(e=this.Xr)==null||e.previousStep()}clearCache(){var e;this.Qr=null,(e=this._instance.persistence)==null||e.unregister(Ta)}resetTour(e){var t;(t=this.Xr)==null||t.resetTour(e)}resetAllTours(){var e;(e=this.Xr)==null||e.resetAllTours()}cancelPendingTour(e){var t;(t=this.Xr)==null||t.cancelPendingTour(e)}}},Ho),Ix={siteApps:class{constructor(e){this._instance=e,this.ts=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}es(e,t){if(t){var n=this.globalsForEvent(t);this.ts.push(n),this.ts.length>1e3&&(this.ts=this.ts.slice(10))}}get siteAppLoaders(){var e;return(e=re._POSTHOG_REMOTE_CONFIG)==null||(e=e[this._instance.config.token])==null?void 0:e.siteApps}initialize(){if(this.isEnabled){var e=this._instance._addCaptureHook(this.es.bind(this));this.rs=()=>{e(),this.ts=[],this.rs=void 0}}}globalsForEvent(e){var t,n,r,s,i,o,a;if(!e)throw new Error("Event payload is required");var l={},u=this._instance.get_property("$groups")||[],c=this._instance.get_property("$stored_group_properties")||{};for(var[f,h]of Object.entries(c))l[f]={id:u[f],type:f,properties:h};var{$set_once:d,$set:p}=e;return{event:U({},Op(e,hx),{properties:U({},e.properties,p?{$set:U({},(t=(n=e.properties)==null?void 0:n.$set)!==null&&t!==void 0?t:{},p)}:{},d?{$set_once:U({},(r=(s=e.properties)==null?void 0:s.$set_once)!==null&&r!==void 0?r:{},d)}:{}),elements_chain:(i=(o=e.properties)==null?void 0:o.$elements_chain)!==null&&i!==void 0?i:"",distinct_id:(a=e.properties)==null?void 0:a.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:l}}setupSiteApp(e){var t=this.apps[e.id],n=()=>{var o;!t.errored&&this.ts.length&&(Nn.info("Processing "+this.ts.length+" events for site app with id "+e.id),this.ts.forEach((a=>t.processEvent==null?void 0:t.processEvent(a))),t.processedBuffer=!0),Object.values(this.apps).every((a=>a.processedBuffer||a.errored))&&((o=this.rs)==null||o.call(this))},r=!1,s=o=>{t.errored=!o,t.loaded=!0,Nn.info("Site app with id "+e.id+" "+(o?"loaded":"errored")),r&&n()};try{var{processEvent:i}=e.init({posthog:this._instance,callback:o=>{s(o)}});i&&(t.processEvent=i),r=!0}catch(o){Nn.error("Error while initializing PostHog app with config id "+e.id,o),s(!1)}if(r&&t.loaded)try{n()}catch(o){Nn.error("Error while processing buffered events PostHog app with config id "+e.id,o),t.errored=!0}}ss(){var e=this.siteAppLoaders||[];for(var t of e)this.apps[t.id]={id:t.id,loaded:!1,errored:!1,processedBuffer:!1};for(var n of e)this.setupSiteApp(n)}ns(e){if(Object.keys(this.apps).length!==0){var t=this.globalsForEvent(e);for(var n of Object.values(this.apps))try{n.processEvent==null||n.processEvent(t)}catch(r){Nn.error("Error while processing event "+e.event+" for site app "+n.id,r)}}}onRemoteConfig(e){var t,n,r,s=this;if((t=this.siteAppLoaders)!=null&&t.length)return this.isEnabled?(this.ss(),void this._instance.on("eventCaptured",(l=>this.ns(l)))):void Nn.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((n=this.rs)==null||n.call(this),(r=e.siteApps)!=null&&r.length)if(this.isEnabled){var i=function(l){var u;re["__$$ph_site_app_"+l]=s._instance,(u=re.__PosthogExtensions__)==null||u.loadSiteApp==null||u.loadSiteApp(s._instance,a,(c=>{if(c)return Nn.error("Error while initializing PostHog app with config id "+l,c)}))};for(var{id:o,url:a}of e.siteApps)i(o)}else Nn.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}},Lx={tracingHeaders:class{constructor(e){this.os=void 0,this.ls=void 0,this.Dr=()=>{var t,n;W(this.os)&&((t=re.__PosthogExtensions__)==null||(t=t.tracingHeadersPatchFns)==null||t._patchXHR(this._instance.config.__add_tracing_headers||[],this._instance.get_distinct_id(),this._instance.sessionManager)),W(this.ls)&&((n=re.__PosthogExtensions__)==null||(n=n.tracingHeadersPatchFns)==null||n._patchFetch(this._instance.config.__add_tracing_headers||[],this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=e}initialize(){this.startIfEnabledOrStop()}G(e){var t,n;(t=re.__PosthogExtensions__)!=null&&t.tracingHeadersPatchFns&&e(),(n=re.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"tracing-headers",(r=>{if(r)return fx.error("failed to load script",r);e()}))}startIfEnabledOrStop(){var e,t;this._instance.config.__add_tracing_headers?this.G(this.Dr):((e=this.os)==null||e.call(this),(t=this.ls)==null||t.call(this),this.os=void 0,this.ls=void 0)}}},Mx=U({surveys:class{constructor(e){this.us=void 0,this._surveyManager=null,this.hs=!1,this.ds=[],this.vs=null,this._instance=e,this._surveyEventReceiver=null}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_surveys){var t=e.surveys;if(fe(t))return xe.warn("Flags not loaded yet. Not loading surveys.");var n=ge(t);this.us=n?t.length>0:t,xe.info("flags response received, isSurveysEnabled: "+this.us),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var e=[],t=0;t<localStorage.length;t++){var n=localStorage.key(t);(n!=null&&n.startsWith(Sg)||n!=null&&n.startsWith("inProgressSurvey_"))&&e.push(n)}e.forEach((r=>localStorage.removeItem(r)))}loadIfEnabled(){if(!this._surveyManager)if(this.hs)xe.info("Already initializing surveys, skipping...");else if(this._instance.config.disable_surveys)xe.info("Disabled. Not loading surveys.");else if(this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())xe.info("Not loading surveys in cookieless mode without consent.");else{var e=re?.__PosthogExtensions__;if(e){if(!W(this.us)||this._instance.config.advanced_enable_surveys){var t=this.us||this._instance.config.advanced_enable_surveys;this.hs=!0;try{var n=e.generateSurveys;if(n)return void this.cs(n,t);var r=e.loadExternalDependency;if(!r)return void this.fs("PostHog loadExternalDependency extension not found.");r(this._instance,"surveys",(s=>{s||!e.generateSurveys?this.fs("Could not load surveys script",s):this.cs(e.generateSurveys,t)}))}catch(s){throw this.fs("Error initializing surveys",s),s}finally{this.hs=!1}}}else xe.error("PostHog Extensions not found.")}}cs(e,t){this._surveyManager=e(this._instance,t),this._surveyEventReceiver=new _x(this._instance),xe.info("Surveys loaded successfully"),this.ps({isLoaded:!0})}fs(e,t){xe.error(e,t),this.ps({isLoaded:!1,error:e})}onSurveysLoaded(e){return this.ds.push(e),this._surveyManager&&this.ps({isLoaded:!0}),()=>{this.ds=this.ds.filter((t=>t!==e))}}getSurveys(e,t){if(t===void 0&&(t=!1),this._instance.config.disable_surveys)return xe.info("Disabled. Not loading surveys."),e([]);var n,r=this._instance.get_property(gl);if(r&&!t)return e(r,{isLoaded:!0});typeof Promise<"u"&&this.vs?this.vs.then((s=>{var{surveys:i,context:o}=s;return e(i,o)})):(typeof Promise<"u"&&(this.vs=new Promise((s=>{n=s}))),this._instance._send_request({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this._instance.config.token),method:"GET",timeout:this._instance.config.surveys_request_timeout_ms,callback:s=>{var i;this.vs=null;var o=s.statusCode;if(o!==200||!s.json){var a="Surveys API could not be loaded, status: "+o;xe.error(a);var l={isLoaded:!1,error:a};return e([],l),void(n==null||n({surveys:[],context:l}))}var u,c=s.json.surveys||[],f=c.filter((d=>(function(p){return!(!p.start_date||p.end_date)})(d)&&((function(p){var g;return!((g=p.conditions)==null||(g=g.events)==null||(g=g.values)==null||!g.length)})(d)||(function(p){var g;return!((g=p.conditions)==null||(g=g.actions)==null||(g=g.values)==null||!g.length)})(d))));f.length>0&&((u=this._surveyEventReceiver)==null||u.register(f)),(i=this._instance.persistence)==null||i.register({[gl]:c});var h={isLoaded:!0};e(c,h),n?.({surveys:c,context:h})}}))}ps(e){for(var t of this.ds)try{if(!e.isLoaded)return t([],e);
7this.getSurveys(t)}catch(n){xe.error("Error in survey callback",n)}}getActiveMatchingSurveys(e,t){if(t===void 0&&(t=!1),!fe(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(e,t);xe.warn("init was not called")}_s(e){var t=null;return this.getSurveys((n=>{var r;t=(r=n.find((s=>s.id===e)))!==null&&r!==void 0?r:null})),t}gs(e){if(fe(this._surveyManager))return{eligible:!1,reason:"SDK is not enabled or survey functionality is not yet loaded"};var t=typeof e=="string"?this._s(e):e;return t?this._surveyManager.checkSurveyEligibility(t):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(e){if(fe(this._surveyManager))return xe.warn("init was not called"),{visible:!1,disabledReason:"SDK is not enabled or survey functionality is not yet loaded"};var t=this.gs(e);return{visible:t.eligible,disabledReason:t.reason}}canRenderSurveyAsync(e,t){return fe(this._surveyManager)?(xe.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:"SDK is not enabled or survey functionality is not yet loaded"})):new Promise((n=>{this.getSurveys((r=>{var s,i=(s=r.find((a=>a.id===e)))!==null&&s!==void 0?s:null;if(i){var o=this.gs(i);n({visible:o.eligible,disabledReason:o.reason})}else n({visible:!1,disabledReason:"Survey not found"})}),t)}))}renderSurvey(e,t,n){var r;if(fe(this._surveyManager))xe.warn("init was not called");else{var s=typeof e=="string"?this._s(e):e;if(s!=null&&s.id)if(KT.includes(s.type)){var i=V?.querySelector(t);if(i)return(r=s.appearance)!=null&&r.surveyPopupDelaySeconds?(xe.info("Rendering survey "+s.id+" with delay of "+s.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var o,a;xe.info("Rendering survey "+s.id+" with delay of "+((o=s.appearance)==null?void 0:o.surveyPopupDelaySeconds)+" seconds"),(a=this._surveyManager)==null||a.renderSurvey(s,i,n),xe.info("Survey "+s.id+" rendered")}),1e3*s.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(s,i,n);xe.warn("Survey element not found")}else xe.warn("Surveys of type "+s.type+" cannot be rendered in the app");else xe.warn("Survey not found")}}displaySurvey(e,t){var n;if(fe(this._surveyManager))xe.warn("init was not called");else{var r=this._s(e);if(r){var s=r;if((n=r.appearance)!=null&&n.surveyPopupDelaySeconds&&t.ignoreDelay&&(s=U({},r,{appearance:U({},r.appearance,{surveyPopupDelaySeconds:0})})),t.displayType!==wl.Popover&&t.initialResponses&&xe.warn("initialResponses is only supported for popover surveys. prefill will not be applied."),t.ignoreConditions===!1){var i=this.canRenderSurvey(r);if(!i.visible)return void xe.warn("Survey is not eligible to be displayed: ",i.disabledReason)}t.displayType!==wl.Inline?this._surveyManager.handlePopoverSurvey(s,t):this.renderSurvey(s,t.selector,t.properties)}else xe.warn("Survey not found")}}cancelPendingSurvey(e){fe(this._surveyManager)?xe.warn("init was not called"):this._surveyManager.cancelSurvey(e)}handlePageUnload(){var e;(e=this._surveyManager)==null||e.handlePageUnload()}}},Ho),Nx={toolbar:class{constructor(e){this.instance=e}bs(e){re.ph_toolbar_state=e}ys(){var e;return(e=re.ph_toolbar_state)!==null&&e!==void 0?e:$n.UNINITIALIZED}initialize(){return this.maybeLoadToolbar()}maybeLoadToolbar(e,t,n){if(e===void 0&&(e=void 0),t===void 0&&(t=void 0),n===void 0&&(n=void 0),tg(this.instance.config)||!k||!V)return!1;e=e??k.location,n=n??k.history;try{if(!t){try{k.localStorage.setItem("test","test"),k.localStorage.removeItem("test")}catch{return!1}t=k?.localStorage}var r,s=vx||fo(e.hash,"__posthog")||fo(e.hash,"state"),i=s?af((()=>JSON.parse(atob(decodeURIComponent(s)))))||af((()=>JSON.parse(decodeURIComponent(s)))):null;return i&&i.action==="ph_authorize"?((r=i).source="url",r&&Object.keys(r).length>0&&(i.desiredHash?e.hash=i.desiredHash:n?n.replaceState(n.state,"",e.pathname+e.search):e.hash="")):((r=JSON.parse(t.getItem(Gf)||"{}")).source="localstorage",delete r.userIntent),!(!r.token||this.instance.config.token!==r.token)&&(this.loadToolbar(r),!0)}catch{return!1}}ws(e){var t=re.ph_load_toolbar||re.ph_load_editor;!fe(t)&&En(t)?t(e,this.instance):Kf.warn("No toolbar load function found")}loadToolbar(e){var t=!(V==null||!V.getElementById(ig));if(!k||t)return!1;var n=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,r=U({token:this.instance.config.token},e,{apiURL:this.instance.requestRouter.endpointFor("ui")},n?{instrument:!1}:{});if(k.localStorage.setItem(Gf,JSON.stringify(U({},r,{source:void 0}))),this.ys()===$n.LOADED)this.ws(r);else if(this.ys()===$n.UNINITIALIZED){var s;this.bs($n.LOADING),(s=re.__PosthogExtensions__)==null||s.loadExternalDependency==null||s.loadExternalDependency(this.instance,"toolbar",(i=>{if(i)return Kf.error("[Toolbar] Failed to load",i),void this.bs($n.UNINITIALIZED);this.bs($n.LOADED),this.ws(r)})),Ue(k,"turbolinks:load",(()=>{this.bs($n.UNINITIALIZED),this.loadToolbar(r)}))}return!0}Es(e){return this.loadToolbar(e)}maybeLoadEditor(e,t,n){return e===void 0&&(e=void 0),t===void 0&&(t=void 0),n===void 0&&(n=void 0),this.maybeLoadToolbar(e,t,n)}}},Fx=U({experiments:st},Ho),$x={conversations:class{constructor(e){this.xs=void 0,this._conversationsManager=null,this.Ss=!1,this.$s=null,this._instance=e}initialize(){this.loadIfEnabled()}onRemoteConfig(e){if(!this._instance.config.disable_conversations){var t=e.conversations;fe(t)||(Sn(t)?this.xs=t:(this.xs=t.enabled,this.$s=t),this.loadIfEnabled())}}reset(){var e;(e=this._conversationsManager)==null||e.reset(),this._conversationsManager=null,this.xs=void 0,this.$s=null}loadIfEnabled(){if(!(this._conversationsManager||this.Ss||this._instance.config.disable_conversations||tg(this._instance.config)||this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())){var e=re?.__PosthogExtensions__;if(e&&!W(this.xs)&&this.xs)if(this.$s&&this.$s.token){this.Ss=!0;try{var t=e.initConversations;if(t)return this.ks(t),void(this.Ss=!1);var n=e.loadExternalDependency;if(!n)return void this.Ps("PostHog loadExternalDependency extension not found.");n(this._instance,"conversations",(r=>{r||!e.initConversations?this.Ps("Could not load conversations script",r):this.ks(e.initConversations),this.Ss=!1}))}catch(r){this.Ps("Error initializing conversations",r),this.Ss=!1}}else Mt.error("Conversations enabled but missing token in remote config.")}}ks(e){if(this.$s)try{this._conversationsManager=e(this.$s,this._instance),Mt.info("Conversations loaded successfully")}catch(t){this.Ps("Error completing conversations initialization",t)}else Mt.error("Cannot complete initialization: remote config is null")}Ps(e,t){Mt.error(e,t),this._conversationsManager=null,this.Ss=!1}show(){this._conversationsManager?this._conversationsManager.show():Mt.warn("Conversations not loaded yet.")}hide(){this._conversationsManager&&this._conversationsManager.hide()}isAvailable(){return this.xs===!0&&!Kt(this._conversationsManager)}isVisible(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.isVisible())!==null&&e!==void 0&&e}sendMessage(e,t,n){var r=this;return _n((function*(){return r._conversationsManager?r._conversationsManager.sendMessage(e,t,n):(Mt.warn("Conversations not available yet."),null)}))()}getMessages(e,t){var n=this;return _n((function*(){return n._conversationsManager?n._conversationsManager.getMessages(e,t):(Mt.warn("Conversations not available yet."),null)}))()}markAsRead(e){var t=this;return _n((function*(){return t._conversationsManager?t._conversationsManager.markAsRead(e):(Mt.warn("Conversations not available yet."),null)}))()}getTickets(e){var t=this;return _n((function*(){return t._conversationsManager?t._conversationsManager.getTickets(e):(Mt.warn("Conversations not available yet."),null)}))()}requestRestoreLink(e){var t=this;return _n((function*(){return t._conversationsManager?t._conversationsManager.requestRestoreLink(e):(Mt.warn("Conversations not available yet."),null)}))()}restoreFromToken(e){var t=this;return _n((function*(){return t._conversationsManager?t._conversationsManager.restoreFromToken(e):(Mt.warn("Conversations not available yet."),null)}))()}restoreFromUrlToken(){var e=this;return _n((function*(){return e._conversationsManager?e._conversationsManager.restoreFromUrlToken():(Mt.warn("Conversations not available yet."),null)}))()}getCurrentTicketId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getCurrentTicketId())!==null&&e!==void 0?e:null}getWidgetSessionId(){var e,t;return(e=(t=this._conversationsManager)==null?void 0:t.getWidgetSessionId())!==null&&e!==void 0?e:null}}},Dx={logs:class{constructor(e){var t;this.Ts=!1,this.Rs=!1,this._instance=e,this._instance&&(t=this._instance.config.logs)!=null&&t.captureConsoleLogs&&(this.Ts=!0)}initialize(){this.loadIfEnabled()}onRemoteConfig(e){var t,n=(t=e.logs)==null?void 0:t.captureConsoleLogs;!fe(n)&&n&&(this.Ts=!0,this.loadIfEnabled())}reset(){}loadIfEnabled(){if(this.Ts&&!this.Rs){var e=Le("[logs]"),t=re?.__PosthogExtensions__;if(t){var n=t.loadExternalDependency;n?n(this._instance,"logs",(r=>{var s;r||(s=t.logs)==null||!s.initializeLogs?e.error("Could not load logs script",r):(t.logs.initializeLogs(this._instance),this.Rs=!0)})):e.error("PostHog loadExternalDependency extension not found.")}else e.error("PostHog Extensions not found.")}}}},Hx=U({},Ho,Rx,Cx,Ax,Ox,Ix,Mx,Lx,Nx,Fx,$x,Dx);rn.__defaultExtensionClasses=U({},Hx);var Xf,ka=(Xf=$s[xr]=new rn,(function(){function e(){e.done||(e.done=!0,kg=!1,Pe($s,(function(t){t._dom_loaded()})))}V!=null&&V.addEventListener?V.readyState==="complete"?e():Ue(V,"DOMContentLoaded",e,{capture:!1}):k&&G.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),Xf);const jx=It(()=>(ka.init("phc_ol0VcF0kcieBn26Z2BDxzIaciJgPfwLrbCTFsZkfGBB",{api_host:"https://e.masjidfinder.app",capture_pageview:!1,capture_pageleave:!0,persistence:"localStorage+cookie"}),xt().afterEach(t=>{ka.capture("$pageview",{$current_url:t.fullPath})}),{provide:{posthog:()=>ka}})),Ux=[Qb,r0,Ow,Hw,jw,Uw,Bw,Vw,_E,vE,mE,yE,jx],Dg=(e="RouteProvider")=>An({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const i in t.route)Object.defineProperty(s,i,{get:()=>n===t.renderKey?t.route[i]:r[i],enumerable:!0});return Vn(pr,sn(s)),()=>t.vnode?lt(t.vnode,{ref:t.vnodeRef}):t.vnode}}),Bx=Dg(),Qf=new WeakMap,Vx=An({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=We(),i=Bt(),o=ze(pr,null);let a;r({pageRef:i});const l=ze(tp,null);let u;const c=s.deferHydration();let f=!1,h=0;if(s.isHydrating){const p=s.hooks.hookOnce("app:error",c);xt().beforeEach(p)}e.pageKey&&At(()=>e.pageKey,(p,g)=>{p!==g&&s.callHook("page:loading:start")});let d=!1;{const p=xt().beforeResolve(()=>{d=!1});ri(()=>{p(),c()})}return()=>lt(kp,{name:e.name,route:e.route,...t},{default:p=>{const g=qx(o,p.route,p.Component),w=o&&o.matched.length===p.route.matched.length;if(!p.Component){if(u&&!w)return u;c();return}if(u&&l&&!l.isCurrent(p.route))return u;if(g&&o&&(!l||l?.isCurrent(o)))return w||u?u:null;const E=tl(p,e.pageKey),b=Gx(o,p.route,p.Component);!s.isHydrating&&a===E&&!b&&Gn(()=>{d||(d=!0,s.callHook("page:loading:end"))}),f&&a!==E&&h++,a=E;const _=!!(e.transition??p.route.meta.pageTransition??vu),m=_&&Wx([e.transition,p.route.meta.pageTransition,vu,{onAfterLeave(){delete s._runningTransition,s.callHook("page:transition:finish",p.Component)}}]),T=e.keepalive??p.route.meta.keepalive??Hy;return u=Rp(_&&m,hw(T,lt(Xl,{key:h,suspensible:!0,onPending:()=>
7{f=!0,_&&(s._runningTransition=!0),s.callHook("page:start",p.Component)},onResolve:async()=>{f=!1;try{await Gn(),s._route.sync?.(),await s.callHook("page:finish",p.Component),delete s._runningTransition,!d&&!b&&(d=!0,await s.callHook("page:loading:end"))}finally{c()}}},{default:()=>{const x={key:E||void 0,vnode:n.default?Kx(n.default,p):p.Component,route:p.route,renderKey:E||void 0,trackRootNodes:_,vnodeRef:i};if(!T)return lt(Bx,x);const P=p.Component.type,L=P;let R=Qf.get(L);return R||(R=Dg(P.name||P.__name),Qf.set(L,R)),lt(R,x)}}))).default(),u}})}});function Wx(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?cc(n.onAfterLeave):void 0});return Zh(...t)}function qx(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>s.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((s,i)=>s.components?.default!==e.matched[i]?.components?.default)||n&&tl({route:t,Component:n})!==tl({route:e,Component:n})}function Gx(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function Kx(e,t){const n=e(t);return n.length===1?lt(n[0]):lt(Qe,void 0,n)}const Hg=cp,zx=An({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>lt(jn[e.name],e.layoutProps,t.slots)}}),Yx={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},Jx=An({name:"NuxtLayout",inheritAttrs:!1,props:Yx,setup(e,t){const n=We(),r=ze(pr),i=!r||r===ii()?Pp():r,o=Re(()=>{let c=we(e.name)??i?.meta.layout??Hg(i?.path).appLayout??"default";return c&&!(c in jn)&&e.fallback&&(c=we(e.fallback)),c}),a=pt();t.expose({layoutRef:a});const l=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",l);xt().beforeEach(c)}let u;return()=>{const c=o.value&&o.value in jn,f=i?.meta.layoutTransition??Dy,h=u;return u=o.value,Rp(c&&f,{default:()=>lt(Xl,{suspensible:!0,onResolve:()=>{Gn(l)}},{default:()=>lt(Xx,{layoutProps:Th(t.attrs,i.meta.layoutProps??{},{ref:a}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,isRenderingNewLayout:d=>d!==h&&d===o.value,hasTransition:!!f},t.slots)})}).default()}}}),Xx=An({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&&Vn(tp,{isCurrent:i=>n===!1||n===(i.meta.layout??Hg(i.path).appLayout??"default")});const r=ze(pr);if(r&&r===ii()){const i=Pp(),o={};for(const a in i){const l=a;Object.defineProperty(o,l,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?i[l]:r[l]})}Vn(pr,sn(o))}return()=>!n||typeof n=="string"&&!(n in jn)?t.slots.default?.():lt(zx,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}});function jg(e,t){return To()?(i_(e,t),!0):!1}const Pa=new WeakMap,Qx=(...e)=>{var t;const n=e[0],r=(t=_t())===null||t===void 0?void 0:t.proxy,s=r??To();if(s==null&&!Zr())throw new Error("injectLocal must be called in setup");return s&&Pa.has(s)&&n in Pa.get(s)?Pa.get(s)[n]:ze(...e)},Zx=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const eS=e=>e!=null,tS=Object.prototype.toString,nS=e=>tS.call(e)==="[object Object]",Ii=()=>{};function Ug(...e){if(e.length!==1)return jl(...e);const t=e[0];return typeof t=="function"?Hr(Cd(()=>({get:t,set:Ii}))):Bt(t)}function rS(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const Bg=e=>e();function sS(e=Bg,t={}){const{initialState:n="active"}=t,r=Ug(n==="active");function s(){r.value=!1}function i(){r.value=!0}return{isActive:Hr(r),pause:s,resume:i,eventFilter:(...a)=>{r.value&&e(...a)}}}function Zf(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Ds(e){return Array.isArray(e)?e:[e]}function iS(e){return _t()}function oS(e,t,n={}){const{eventFilter:r=Bg,...s}=n;return At(e,rS(r,t),s)}function aS(e,t,n={}){const{eventFilter:r,initialState:s="active",...i}=n,{eventFilter:o,pause:a,resume:l,isActive:u}=sS(r,{initialState:s});return{stop:oS(e,t,{...i,eventFilter:o}),pause:a,resume:l,isActive:u}}function Ec(e,t=!0,n){iS()?ni(e,n):t?e():Gn(e)}function lS(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,s=Ne(e),i=pt(e);function o(a){if(arguments.length)return i.value=a,i.value;{const l=gt(n);return i.value=i.value===l?gt(r):l,i.value}}return s?o:[i,o]}function cS(e,t,n){return At(e,t,{...n,immediate:!0})}const an=Zx?window:void 0;function jt(e){var t;const n=gt(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Cl(...e){const t=(r,s,i,o)=>(r.addEventListener(s,i,o),()=>r.removeEventListener(s,i,o)),n=Re(()=>{const r=Ds(gt(e[0])).filter(s=>s!=null);return r.every(s=>
7typeof s!="string")?r:void 0});return cS(()=>{var r,s;return[(r=(s=n.value)===null||s===void 0?void 0:s.map(i=>jt(i)))!==null&&r!==void 0?r:[an].filter(i=>i!=null),Ds(gt(n.value?e[1]:e[0])),Ds(we(n.value?e[2]:e[1])),gt(n.value?e[3]:e[2])]},([r,s,i,o],a,l)=>{if(!r?.length||!s?.length||!i?.length)return;const u=nS(o)?{...o}:o,c=r.flatMap(f=>s.flatMap(h=>i.map(d=>t(f,h,d,u))));l(()=>{c.forEach(f=>f())})},{flush:"post"})}function uS(){const e=pt(!1),t=_t();return t&&ni(()=>{e.value=!0},t),e}function Tc(e){const t=uS();return Re(()=>(t.value,!!e()))}const fS=Symbol("vueuse-ssr-width");function dS(){const e=Zr()?Qx(fS,null):null;return typeof e=="number"?e:void 0}function hS(e,t={}){const{window:n=an,ssrWidth:r=dS()}=t,s=Tc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=pt(typeof r=="number"),o=pt(),a=pt(!1),l=u=>{a.value=u.matches};return Md(()=>{if(i.value){i.value=!s.value,a.value=gt(e).split(",").some(u=>{const c=u.includes("not all"),f=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let d=!!(f||h);return f&&d&&(d=r>=Zf(f[1])),h&&d&&(d=r<=Zf(h[1])),c?!d:d});return}s.value&&(o.value=n.matchMedia(gt(e)),a.value=o.value.matches)}),Cl(o,"change",l,{passive:!0}),Re(()=>a.value)}const xi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Si="__vueuse_ssr_handlers__",pS=gS();function gS(){return Si in xi||(xi[Si]=xi[Si]||{}),xi[Si]}function Vg(e,t){return pS[e]||t}function _S(e){return hS("(prefers-color-scheme: dark)",e)}function vS(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const mS={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ed="vueuse-storage";function yS(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:f=an,eventFilter:h,onError:d=j=>{console.error(j)},initOnMounted:p}=r,g=(c?pt:Bt)(typeof t=="function"?t():t),w=Re(()=>gt(e));if(!n)try{n=Vg("getDefaultStorage",()=>an?.localStorage)()}catch(j){d(j)}if(!n)return g;const E=gt(t),b=vS(E),_=(s=r.serializer)!==null&&s!==void 0?s:mS[b],{pause:m,resume:T}=aS(g,j=>O(j),{flush:i,deep:o,eventFilter:h});At(w,()=>A(),{flush:i});let x=!1;const P=j=>{p&&!x||A(j)},L=j=>{p&&!x||q(j)};f&&a&&(n instanceof Storage?Cl(f,"storage",P,{passive:!0}):Cl(f,ed,L)),p?Ec(()=>{x=!0,A()}):A();function R(j,ee){if(f){const D={key:w.value,oldValue:j,newValue:ee,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",D):new CustomEvent(ed,{detail:D}))}}function O(j){try{const ee=n.getItem(w.value);if(j==null)R(ee,null),n.removeItem(w.value);else{const D=_.write(j);ee!==D&&(n.setItem(w.value,D),R(ee,D))}}catch(ee){d(ee)}}function H(j){const ee=j?j.newValue:n.getItem(w.value);if(ee==null)return l&&E!=null&&n.setItem(w.value,_.write(E)),E;if(!j&&u){const D=_.read(ee);return typeof u=="function"?u(D,E):b==="object"&&!Array.isArray(D)?{...E,...D}:D}else return typeof ee!="string"?ee:_.read(ee)}function A(j){if(!(j&&j.storageArea!==n)){if(j&&j.key==null){g.value=E;return}if(!(j&&j.key!==w.value)){m();try{const ee=_.write(g.value);(j===void 0||j?.newValue!==ee)&&(g.value=H(j))}catch(ee){d(ee)}finally{j?Gn(T):T()}}}}function q(j){A(j.detail)}return g}const bS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function wS(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=an,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:u,disableTransition:c=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},h=_S({window:s}),d=Re(()=>
7h.value?"dark":"light"),p=l||(o==null?Ug(r):yS(o,r,i,{window:s,listenToStorageChanges:a})),g=Re(()=>p.value==="auto"?d.value:p.value),w=Vg("updateHTMLAttrs",(m,T,x)=>{const P=typeof m=="string"?s?.document.querySelector(m):jt(m);if(!P)return;const L=new Set,R=new Set;let O=null;if(T==="class"){const A=x.split(/\s/g);Object.values(f).flatMap(q=>(q||"").split(/\s/g)).filter(Boolean).forEach(q=>{A.includes(q)?L.add(q):R.add(q)})}else O={key:T,value:x};if(L.size===0&&R.size===0&&O===null)return;let H;c&&(H=s.document.createElement("style"),H.appendChild(document.createTextNode(bS)),s.document.head.appendChild(H));for(const A of L)P.classList.add(A);for(const A of R)P.classList.remove(A);O&&P.setAttribute(O.key,O.value),c&&(s.getComputedStyle(H).opacity,document.head.removeChild(H))});function E(m){var T;w(t,n,(T=f[m])!==null&&T!==void 0?T:m)}function b(m){e.onChanged?e.onChanged(m,E):E(m)}At(g,b,{flush:"post",immediate:!0}),Ec(()=>b(g.value));const _=Re({get(){return u?p.value:g.value},set(m){p.value=m}});return Object.assign(_,{store:p,system:d,state:g})}function ES(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=wS({...e,onChanged:(i,o)=>{var a;e.onChanged?(a=e.onChanged)===null||a===void 0||a.call(e,i==="dark",o,i):o(i)},modes:{dark:t,light:n}}),s=Re(()=>r.system.value);return Re({get(){return r.value==="dark"},set(i){const o=i?"dark":"light";s.value===o?r.value="auto":r.value=o}})}function TS(e,t,n={}){const{window:r=an,...s}=n;let i;const o=Tc(()=>r&&"ResizeObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=At(Re(()=>{const c=gt(e);return Array.isArray(c)?c.map(f=>jt(f)):[jt(c)]}),c=>{if(a(),o.value&&r){i=new ResizeObserver(t);for(const f of c)f&&i.observe(f,s)}},{immediate:!0,flush:"post"}),u=()=>{a(),l()};return jg(u),{isSupported:o,stop:u}}function rk(e,t={width:0,height:0},n={}){const{window:r=an,box:s="content-box"}=n,i=Re(()=>{var f;return(f=jt(e))===null||f===void 0||(f=f.namespaceURI)===null||f===void 0?void 0:f.includes("svg")}),o=pt(t.width),a=pt(t.height),{stop:l}=TS(e,([f])=>{const h=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&i.value){const d=jt(e);if(d){const p=d.getBoundingClientRect();o.value=p.width,a.value=p.height}}else if(h){const d=Ds(h);o.value=d.reduce((p,{inlineSize:g})=>p+g,0),a.value=d.reduce((p,{blockSize:g})=>p+g,0)}else o.value=f.contentRect.width,a.value=f.contentRect.height},n);Ec(()=>{const f=jt(e);f&&(o.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const u=At(()=>jt(e),f=>{o.value=f?t.width:0,a.value=f?t.height:0});function c(){l(),u()}return{width:o,height:a,stop:c}}function sk(e,t,n={}){const{root:r,rootMargin:s,threshold:i=0,window:o=an,immediate:a=!0}=n,l=Tc(()=>o&&"IntersectionObserver"in o),u=Re(()=>Ds(gt(e)).map(jt).filter(eS));let c=Ii;const f=pt(a),h=l.value?At(()=>[u.value,jt(r),gt(s),f.value],([p,g,w])=>{if(c(),!f.value||!p.length)return;const E=new IntersectionObserver(t,{root:jt(g),rootMargin:w,threshold:i});p.forEach(b=>b&&E.observe(b)),c=()=>{E.disconnect(),c=Ii}},{immediate:a,flush:"post"}):Ii,d=()=>{c(),h(),f.value=!1};return jg(d),{isSupported:l,isActive:f,pause(){c(),f.value=!1},resume(){f.value=!0},stop:d}}const xS=()=>{const e=ES({storageKey:"summary-theme",valueDark:"dark",valueLight:"light"});return{isDark:Hr(e),toggleDark:lS(e)}},SS=An({__name:"app",setup(e){const{isDark:t}=xS();return Ub({meta:[{name:"theme-color",content:Re(()=>t.value?"#111827":"#f9fafb")},{name:"apple-mobile-web-app-status-bar-style",content:"default"}]}),(n,r)=>{const s=Vx,i=Jx;return Ft(),tn(i,null,{default:Bl(()=>[Ie(s)]),_:1})}}}),kS={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,r=Number(n.statusCode||500),s=r===404,i=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),o=n.message||n.toString(),a=void 0,c=s?Ee(()=>Z(()=>import("./CJV2yCrF.js"),__vite__mapDeps([95,3,9,96]),import.meta.url)):Ee(()=>Z(()=>import("./EKFjr-WW.js"),__vite__mapDeps([97,9,98]),import.meta.url));return(f,h)=>(Ft(),tn(we(c),Zg(wh({status:we(r),statusText:we(i),statusCode:we(r),statusMessage:we(i),description:we(o),stack:we(a)})),null,16))}},PS={key:0},td={__name:"nuxt-root",setup(e){const t=()=>null,n=We(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);xt().beforeEach(u)}const s=!1;Vn(pr,ii()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const i=Lo(),o=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;zd((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,f).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),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(rp(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>rr(u)),!1});const l=!1;return(u,c)=>
7(Ft(),tn(Xl,{onResolve:we(r)},{default:Bl(()=>[we(o)?(Ft(),Fv("div",PS)):we(i)?(Ft(),tn(we(kS),{key:1,error:we(i)},null,8,["error"])):we(l)?(Ft(),tn(we(t),{key:2,context:we(l)},null,8,["context"])):we(s)?(Ft(),tn(iv(we(s)),{key:3})):(Ft(),tn(we(SS),{key:4}))]),_:1},8,["onResolve"]))}};let nd;{let e;nd=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?Rm(td):Pm(td),s=Vy({vueApp:r});async function i(o){await s.callHook("app:error",o),s.payload.error||=fr(o)}r.config.errorHandler=i,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)}),!n&&mu.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(mu.id)?.remove()});try{await Gy(s,Ux)}catch(o){i(o)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(jy),await s.hooks.callHook("app:mounted",r),await Gn()}catch(o){i(o)}return r},e=nd().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{_t as $,tk as A,ii as B,KS as C,zn as D,WS as E,Qe as F,AS as G,Hr as H,jS as I,zS as J,Gn as K,NS as L,DS as M,sk as N,RS as O,LS as P,Vn as Q,Zg as R,wh as S,Jv as T,ze as U,hS as V,VS as W,HS as X,rk as Y,lt as Z,Z as _,bh as a,IS as a0,Ee as a1,ur as a2,Ve as a3,Yi as a4,he as a5,si as a6,FS as a7,fr as a8,Ji as a9,jl as aA,gt as aB,Oa as aC,ZS as aD,od as aE,YS as aF,xS as aG,ek as aa,Ky as ab,GS as ac,xt as ad,Lw as ae,Yh as af,We as ag,uc as ah,Ku as ai,nk as aj,Bh as ak,pt as al,eb as am,Nw as an,Yn as ao,Zl as ap,tb as aq,XS as ar,ty as as,Rn as at,$S as au,OS as av,QS as aw,Z_ as ax,i_ as ay,To as az,Ie as b,Fv as c,Eh as d,An as e,we as f,US as g,tn as h,iv as i,BS as j,ri as k,ni as l,Kd as m,Eo as n,Ft as o,Bt as p,wo as q,MS as r,Re as s,r_ as t,Ub as u,At as v,Bl as w,CS as x,Ne as y,qS as z};

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