(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function Nc(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return t?i=>!!n[i.toLowerCase()]:i=>!!n[i]}function Mc(e){if(me(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=yt(r)?w_(r):Mc(r);if(i)for(const s in i)t[s]=i[s]}return t}else{if(yt(e))return e;if(nt(e))return e}}const __=/;(?![^(]*\))/g,b_=/:([^]+)/,y_=/\/\*.*?\*\//gs;function w_(e){const t={};return e.replace(y_,"").split(__).forEach(n=>{if(n){const r=n.split(b_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Lc(e){let t="";if(yt(e))t=e;else if(me(e))for(let n=0;n<e.length;n++){const r=Lc(e[n]);r&&(t+=r+" ")}else if(nt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const k_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",x_=Nc(k_);function Sp(e){return!!e||e===""}const Zi=e=>yt(e)?e:e==null?"":me(e)||nt(e)&&(e.toString===Pp||!_e(e.toString))?JSON.stringify(e,Ap,2):String(e),Ap=(e,t)=>t&&t.__v_isRef?Ap(e,t.value):hi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:Cp(t)?{[`Set(${t.size})`]:[...t.values()]}:nt(t)&&!me(t)&&!Tp(t)?String(t):t,Ye={},di=[],yn=()=>{},E_=()=>!1,S_=/^on[^a-z]/,ca=e=>S_.test(e),$c=e=>e.startsWith("onUpdate:"),zt=Object.assign,Dc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},A_=Object.prototype.hasOwnProperty,Re=(e,t)=>A_.call(e,t),me=Array.isArray,hi=e=>ua(e)==="[object Map]",Cp=e=>ua(e)==="[object Set]",_e=e=>typeof e=="function",yt=e=>typeof e=="string",jc=e=>typeof e=="symbol",nt=e=>e!==null&&typeof e=="object",Op=e=>nt(e)&&_e(e.then)&&_e(e.catch),Pp=Object.prototype.toString,ua=e=>Pp.call(e),C_=e=>ua(e).slice(8,-1),Tp=e=>ua(e)==="[object Object]",Bc=e=>yt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Oo=Nc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fa=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},O_=/-(\w)/g,Bn=fa(e=>e.replace(O_,(t,n)=>n?n.toUpperCase():"")),P_=/\B([A-Z])/g,Ii=fa(e=>e.replace(P_,"-$1").toLowerCase()),da=fa(e=>e.charAt(0).toUpperCase()+e.slice(1)),ol=fa(e=>e?`on${da(e)}`:""),vs=(e,t)=>!Object.is(e,t),Po=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},qo=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ll=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let cd;const T_=()=>cd||(cd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let dn;class R_{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=dn,!t&&dn&&(this.index=(dn.scopes||(dn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=dn;try{return dn=this,t()}finally{dn=n}}}on(){dn=this}off(){dn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function I_(e,t=dn){t&&t.active&&t.effects.push(e)}function F_(){return dn}const Hc=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Rp=e=>(e.w&br)>0,Ip=e=>(e.n&br)>0,N_=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=br},M_=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const i=t[r];Rp(i)&&!Ip(i)?i.delete(e):t[n++]=i,i.w&=~br,i.n&=~br}t.length=n}},$l=new WeakMap;let es=0,br=1;const Dl=30;let mn;const zr=Symbol(""),jl=Symbol("");class qc{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,I_(this,r)}run(){if(!this.active)return this.fn();let t=mn,n=mr;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=mn,mn=this,mr=!0,br=1<<++es,es<=Dl?N_(this):ud(this),this.fn()}finally{es<=Dl&&M_(this),br=1<<--es,mn=this.parent,mr=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){mn===this?this.deferStop=!0:this.active&&(ud(this),this.onStop&&this.onStop(),this.active=!1)}}function ud(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let mr=!0;const Fp=[];function Fi(){Fp.push(mr),mr=!1}function Ni(){const e=Fp.pop();mr=e===void 0?!0:e}function Kt(e,t,n){if(mr&&mn){let r=$l.get(e);r||$l.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=Hc()),Np(i)}}function Np(e,t){let n=!1;es<=Dl?Ip(e)||(e.n|=br,n=!Rp(e)):n=!e.has(mn),n&&(e.add(mn),mn.deps.push(e))}function Qn(e,t,n,r,i,s){const o=$l.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&me(e)){const c=Number(r);o.forEach((d,f)=>{(f==="length"||f>=c)&&l.push(d)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":me(e)?Bc(n)&&l.push(o.get("length")):(l.push(o.get(zr)),hi(e)&&l.push(o.get(jl)));break;case"delete":me(e)||(l.push(o.get(zr)),hi(e)&&l.push(o.get(jl)));break;case"set":hi(e)&&l.push(o.get(zr));break}if(l.length===1)l[0]&&Bl(l[0]);else{const c=[];for(const d of l)d&&c.push(...d);Bl(Hc(c))}}function Bl(e,t){const n=me(e)?e:[...e];for(const r of n)r.computed&&fd(r);for(const r of n)r.computed||fd(r)}function fd(e,t){(e!==mn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const L_=Nc("__proto__,__v_isRef,__isVue"),Mp=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(jc)),$_=zc(),D_=zc(!1,!0),j_=zc(!0),dd=B_();function B_(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Fe(this);for(let s=0,o=this.length;s<o;s++)Kt(r,"get",s+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(Fe)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Fi();const r=Fe(this)[t].apply(this,n);return Ni(),r}}),e}function H_(e){const t=Fe(this);return Kt(t,"has",e),t.hasOwnProperty(e)}function zc(e=!1,t=!1){return function(r,i,s){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&s===(e?t?rb:Bp:t?jp:Dp).get(r))return r;const o=me(r);if(!e){if(o&&Re(dd,i))return Reflect.get(dd,i,s);if(i==="hasOwnProperty")return H_}const l=Reflect.get(r,i,s);return(jc(i)?Mp.has(i):L_(i))||(e||Kt(r,"get",i),t)?l:Ft(l)?o&&Bc(i)?l:l.value:nt(l)?e?Hp(l):Mi(l):l}}const q_=Lp(),z_=Lp(!0);function Lp(e=!1){return function(n,r,i,s){let o=n[r];if(ki(o)&&Ft(o)&&!Ft(i))return!1;if(!e&&(!zo(i)&&!ki(i)&&(o=Fe(o),i=Fe(i)),!me(n)&&Ft(o)&&!Ft(i)))return o.value=i,!0;const l=me(n)&&Bc(r)?Number(r)<n.length:Re(n,r),c=Reflect.set(n,r,i,s);return n===Fe(s)&&(l?vs(i,o)&&Qn(n,"set",r,i):Qn(n,"add",r,i)),c}}function U_(e,t){const n=Re(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Qn(e,"delete",t,void 0),r}function W_(e,t){const n=Reflect.has(e,t);return(!jc(t)||!Mp.has(t))&&Kt(e,"has",t),n}function V_(e){return Kt(e,"iterate",me(e)?"length":zr),Reflect.ownKeys(e)}const $p={get:$_,set:q_,deleteProperty:U_,has:W_,ownKeys:V_},K_={get:j_,set(e,t){return!0},deleteProperty(e,t){return!0}},Y_=zt({},$p,{get:D_,set:z_}),Uc=e=>e,ha=e=>Reflect.getPrototypeOf(e);function ao(e,t,n=!1,r=!1){e=e.__v_raw;const i=Fe(e),s=Fe(t);n||(t!==s&&Kt(i,"get",t),Kt(i,"get",s));const{has:o}=ha(i),l=r?Uc:n?Kc:_s;if(o.call(i,t))return l(e.get(t));if(o.call(i,s))return l(e.get(s));e!==i&&e.get(t)}function lo(e,t=!1){const n=this.__v_raw,r=Fe(n),i=Fe(e);return t||(e!==i&&Kt(r,"has",e),Kt(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function co(e,t=!1){return e=e.__v_raw,!t&&Kt(Fe(e),"iterate",zr),Reflect.get(e,"size",e)}function hd(e){e=Fe(e);const t=Fe(this);return ha(t).has.call(t,e)||(t.add(e),Qn(t,"add",e,e)),this}function pd(e,t){t=Fe(t);const n=Fe(this),{has:r,get:i}=ha(n);let s=r.call(n,e);s||(e=Fe(e),s=r.call(n,e));const o=i.call(n,e);return n.set(e,t),s?vs(t,o)&&Qn(n,"set",e,t):Qn(n,"add",e,t),this}function md(e){const t=Fe(this),{has:n,get:r}=ha(t);let i=n.call(t,e);i||(e=Fe(e),i=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return i&&Qn(t,"delete",e,void 0),s}function gd(){const e=Fe(this),t=e.size!==0,n=e.clear();return t&&Qn(e,"clear",void 0,void 0),n}function uo(e,t){return function(r,i){const s=this,o=s.__v_raw,l=Fe(o),c=t?Uc:e?Kc:_s;return!e&&Kt(l,"iterate",zr),o.forEach((d,f)=>r.call(i,c(d),c(f),s))}}function fo(e,t,n){return function(...r){const i=this.__v_raw,s=Fe(i),o=hi(s),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,d=i[e](...r),f=n?Uc:t?Kc:_s;return!t&&Kt(s,"iterate",c?jl:zr),{next(){const{value:h,done:m}=d.next();return m?{value:h,done:m}:{value:l?[f(h[0]),f(h[1])]:f(h),done:m}},[Symbol.iterator](){return this}}}}function ar(e){return function(...t){return e==="delete"?!1:this}}function G_(){const e={get(s){return ao(this,s)},get size(){return co(this)},has:lo,add:hd,set:pd,delete:md,clear:gd,forEach:uo(!1,!1)},t={get(s){return ao(this,s,!1,!0)},get size(){return co(this)},has:lo,add:hd,set:pd,delete:md,clear:gd,forEach:uo(!1,!0)},n={get(s){return ao(this,s,!0)},get size(){return co(this,!0)},has(s){return lo.call(this,s,!0)},add:ar("add"),set:ar("set"),delete:ar("delete"),clear:ar("clear"),forEach:uo(!0,!1)},r={get(s){return ao(this,s,!0,!0)},get size(){return co(this,!0)},has(s){return lo.call(this,s,!0)},add:ar("add"),set:ar("set"),delete:ar("delete"),clear:ar("clear"),forEach:uo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=fo(s,!1,!1),n[s]=fo(s,!0,!1),t[s]=fo(s,!1,!0),r[s]=fo(s,!0,!0)}),[e,n,t,r]}const[X_,J_,Q_,Z_]=G_();function Wc(e,t){const n=t?e?Z_:Q_:e?J_:X_;return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Re(n,i)&&i in r?n:r,i,s)}const eb={get:Wc(!1,!1)},tb={get:Wc(!1,!0)},nb={get:Wc(!0,!1)},Dp=new WeakMap,jp=new WeakMap,Bp=new WeakMap,rb=new WeakMap;function ib(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sb(e){return e.__v_skip||!Object.isExtensible(e)?0:ib(C_(e))}function Mi(e){return ki(e)?e:Vc(e,!1,$p,eb,Dp)}function ob(e){return Vc(e,!1,Y_,tb,jp)}function Hp(e){return Vc(e,!0,K_,nb,Bp)}function Vc(e,t,n,r,i){if(!nt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const o=sb(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return i.set(e,l),l}function pi(e){return ki(e)?pi(e.__v_raw):!!(e&&e.__v_isReactive)}function ki(e){return!!(e&&e.__v_isReadonly)}function zo(e){return!!(e&&e.__v_isShallow)}function qp(e){return pi(e)||ki(e)}function Fe(e){const t=e&&e.__v_raw;return t?Fe(t):e}function zp(e){return qo(e,"__v_skip",!0),e}const _s=e=>nt(e)?Mi(e):e,Kc=e=>nt(e)?Hp(e):e;function Up(e){mr&&mn&&(e=Fe(e),Np(e.dep||(e.dep=Hc())))}function Wp(e,t){e=Fe(e);const n=e.dep;n&&Bl(n)}function Ft(e){return!!(e&&e.__v_isRef===!0)}function ab(e){return Vp(e,!1)}function lb(e){return Vp(e,!0)}function Vp(e,t){return Ft(e)?e:new cb(e,t)}class cb{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Fe(t),this._value=n?t:_s(t)}get value(){return Up(this),this._value}set value(t){const n=this.__v_isShallow||zo(t)||ki(t);t=n?t:Fe(t),vs(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:_s(t),Wp(this))}}function mi(e){return Ft(e)?e.value:e}const ub={get:(e,t,n)=>mi(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ft(i)&&!Ft(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Kp(e){return pi(e)?e:new Proxy(e,ub)}var Yp;class fb{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Yp]=!1,this._dirty=!0,this.effect=new qc(t,()=>{this._dirty||(this._dirty=!0,Wp(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Fe(this);return Up(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Yp="__v_isReadonly";function db(e,t,n=!1){let r,i;const s=_e(e);return s?(r=e,i=yn):(r=e.get,i=e.set),new fb(r,i,s||!i,n)}function gr(e,t,n,r){let i;try{i=r?e(...r):e()}catch(s){pa(s,t,n)}return i}function wn(e,t,n,r){if(_e(e)){const s=gr(e,t,n,r);return s&&Op(s)&&s.catch(o=>{pa(o,t,n)}),s}const i=[];for(let s=0;s<e.length;s++)i.push(wn(e[s],t,n,r));return i}function pa(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let s=t.parent;const o=t.proxy,l=n;for(;s;){const d=s.ec;if(d){for(let f=0;f<d.length;f++)if(d[f](e,o,l)===!1)return}s=s.parent}const c=t.appContext.config.errorHandler;if(c){gr(c,null,10,[e,o,l]);return}}hb(e,n,i,r)}function hb(e,t,n,r=!0){console.error(e)}let bs=!1,Hl=!1;const It=[];let Nn=0;const gi=[];let Vn=null,Lr=0;const Gp=Promise.resolve();let Yc=null;function Xp(e){const t=Yc||Gp;return e?t.then(this?e.bind(this):e):t}function pb(e){let t=Nn+1,n=It.length;for(;t<n;){const r=t+n>>>1;ys(It[r])<e?t=r+1:n=r}return t}function Gc(e){(!It.length||!It.includes(e,bs&&e.allowRecurse?Nn+1:Nn))&&(e.id==null?It.push(e):It.splice(pb(e.id),0,e),Jp())}function Jp(){!bs&&!Hl&&(Hl=!0,Yc=Gp.then(Zp))}function mb(e){const t=It.indexOf(e);t>Nn&&It.splice(t,1)}function gb(e){me(e)?gi.push(...e):(!Vn||!Vn.includes(e,e.allowRecurse?Lr+1:Lr))&&gi.push(e),Jp()}function vd(e,t=bs?Nn+1:0){for(;t<It.length;t++){const n=It[t];n&&n.pre&&(It.splice(t,1),t--,n())}}function Qp(e){if(gi.length){const t=[...new Set(gi)];if(gi.length=0,Vn){Vn.push(...t);return}for(Vn=t,Vn.sort((n,r)=>ys(n)-ys(r)),Lr=0;Lr<Vn.length;Lr++)Vn[Lr]();Vn=null,Lr=0}}const ys=e=>e.id==null?1/0:e.id,vb=(e,t)=>{const n=ys(e)-ys(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Zp(e){Hl=!1,bs=!0,It.sort(vb);const t=yn;try{for(Nn=0;Nn<It.length;Nn++){const n=It[Nn];n&&n.active!==!1&&gr(n,null,14)}}finally{Nn=0,It.length=0,Qp(),bs=!1,Yc=null,(It.length||gi.length)&&Zp()}}function _b(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ye;let i=n;const s=t.startsWith("update:"),o=s&&t.slice(7);if(o&&o in r){const f=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:m}=r[f]||Ye;m&&(i=n.map(v=>yt(v)?v.trim():v)),h&&(i=n.map(Ll))}let l,c=r[l=ol(t)]||r[l=ol(Bn(t))];!c&&s&&(c=r[l=ol(Ii(t))]),c&&wn(c,e,6,i);const d=r[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,wn(d,e,6,i)}}function em(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},l=!1;if(!_e(e)){const c=d=>{const f=em(d,t,!0);f&&(l=!0,zt(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!l?(nt(e)&&r.set(e,null),null):(me(s)?s.forEach(c=>o[c]=null):zt(o,s),nt(e)&&r.set(e,o),o)}function ma(e,t){return!e||!ca(t)?!1:(t=t.slice(2).replace(/Once$/,""),Re(e,t[0].toLowerCase()+t.slice(1))||Re(e,Ii(t))||Re(e,t))}let an=null,ga=null;function Uo(e){const t=an;return an=e,ga=e&&e.type.__scopeId||null,t}function Li(e){ga=e}function $i(){ga=null}function ws(e,t=an,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Ad(-1);const s=Uo(t);let o;try{o=e(...i)}finally{Uo(s),r._d&&Ad(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function al(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[o],slots:l,attrs:c,emit:d,render:f,renderCache:h,data:m,setupState:v,ctx:y,inheritAttrs:w}=e;let C,E;const A=Uo(e);try{if(n.shapeFlag&4){const K=i||r;C=Fn(f.call(K,K,h,s,v,m,y)),E=c}else{const K=t;C=Fn(K.length>1?K(s,{attrs:c,slots:l,emit:d}):K(s,null)),E=t.props?c:bb(c)}}catch(K){ls.length=0,pa(K,e,1),C=lt(Wr)}let R=C;if(E&&w!==!1){const K=Object.keys(E),{shapeFlag:Z}=R;K.length&&Z&7&&(o&&K.some($c)&&(E=yb(E,o)),R=xi(R,E))}return n.dirs&&(R=xi(R),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),C=R,Uo(A),C}const bb=e=>{let t;for(const n in e)(n==="class"||n==="style"||ca(n))&&((t||(t={}))[n]=e[n]);return t},yb=(e,t)=>{const n={};for(const r in e)(!$c(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function wb(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:l,patchFlag:c}=t,d=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?_d(r,o,d):!!o;if(c&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const m=f[h];if(o[m]!==r[m]&&!ma(d,m))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:r===o?!1:r?o?_d(r,o,d):!0:!!o;return!1}function _d(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(t[s]!==e[s]&&!ma(n,s))return!0}return!1}function kb({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const xb=e=>e.__isSuspense;function Eb(e,t){t&&t.pendingBranch?me(e)?t.effects.push(...e):t.effects.push(e):gb(e)}function To(e,t){if(gt){let n=gt.provides;const r=gt.parent&&gt.parent.provides;r===n&&(n=gt.provides=Object.create(r)),n[e]=t}}function Xn(e,t,n=!1){const r=gt||an;if(r){const i=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&_e(t)?t.call(r.proxy):t}}const ho={};function os(e,t,n){return tm(e,t,n)}function tm(e,t,{immediate:n,deep:r,flush:i,onTrack:s,onTrigger:o}=Ye){const l=F_()===(gt==null?void 0:gt.scope)?gt:null;let c,d=!1,f=!1;if(Ft(e)?(c=()=>e.value,d=zo(e)):pi(e)?(c=()=>e,r=!0):me(e)?(f=!0,d=e.some(R=>pi(R)||zo(R)),c=()=>e.map(R=>{if(Ft(R))return R.value;if(pi(R))return Dr(R);if(_e(R))return gr(R,l,2)})):_e(e)?t?c=()=>gr(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),wn(e,l,3,[m])}:c=yn,t&&r){const R=c;c=()=>Dr(R())}let h,m=R=>{h=E.onStop=()=>{gr(R,l,4)}},v;if(xs)if(m=yn,t?n&&wn(t,l,3,[c(),f?[]:void 0,m]):c(),i==="sync"){const R=by();v=R.__watcherHandles||(R.__watcherHandles=[])}else return yn;let y=f?new Array(e.length).fill(ho):ho;const w=()=>{if(E.active)if(t){const R=E.run();(r||d||(f?R.some((K,Z)=>vs(K,y[Z])):vs(R,y)))&&(h&&h(),wn(t,l,3,[R,y===ho?void 0:f&&y[0]===ho?[]:y,m]),y=R)}else E.run()};w.allowRecurse=!!t;let C;i==="sync"?C=w:i==="post"?C=()=>Wt(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),C=()=>Gc(w));const E=new qc(c,C);t?n?w():y=E.run():i==="post"?Wt(E.run.bind(E),l&&l.suspense):E.run();const A=()=>{E.stop(),l&&l.scope&&Dc(l.scope.effects,E)};return v&&v.push(A),A}function Sb(e,t,n){const r=this.proxy,i=yt(e)?e.includes(".")?nm(r,e):()=>r[e]:e.bind(r,r);let s;_e(t)?s=t:(s=t.handler,n=t);const o=gt;Ei(this);const l=tm(i,s.bind(r),n);return o?Ei(o):Ur(),l}function nm(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function Dr(e,t){if(!nt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ft(e))Dr(e.value,t);else if(me(e))for(let n=0;n<e.length;n++)Dr(e[n],t);else if(Cp(e)||hi(e))e.forEach(n=>{Dr(n,t)});else if(Tp(e))for(const n in e)Dr(e[n],t);return e}function $s(e){return _e(e)?{setup:e,name:e.name}:e}const Ro=e=>!!e.type.__asyncLoader,rm=e=>e.type.__isKeepAlive;function Ab(e,t){im(e,"a",t)}function Cb(e,t){im(e,"da",t)}function im(e,t,n=gt){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(va(t,r,n),n){let i=n.parent;for(;i&&i.parent;)rm(i.parent.vnode)&&Ob(r,t,n,i),i=i.parent}}function Ob(e,t,n,r){const i=va(t,e,r,!0);sm(()=>{Dc(r[t],i)},n)}function va(e,t,n=gt,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Fi(),Ei(n);const l=wn(t,n,e,o);return Ur(),Ni(),l});return r?i.unshift(s):i.push(s),s}}const nr=e=>(t,n=gt)=>(!xs||e==="sp")&&va(e,(...r)=>t(...r),n),Pb=nr("bm"),Tb=nr("m"),Rb=nr("bu"),Ib=nr("u"),Fb=nr("bum"),sm=nr("um"),Nb=nr("sp"),Mb=nr("rtg"),Lb=nr("rtc");function $b(e,t=gt){va("ec",e,t)}function ll(e,t){const n=an;if(n===null)return e;const r=ya(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,l,c,d=Ye]=t[s];o&&(_e(o)&&(o={mounted:o,updated:o}),o.deep&&Dr(l),i.push({dir:o,instance:r,value:l,oldValue:void 0,arg:c,modifiers:d}))}return e}function Rr(e,t,n,r){const i=e.dirs,s=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];s&&(l.oldValue=s[o].value);let c=l.dir[r];c&&(Fi(),wn(c,n,8,[e.el,l,e,t]),Ni())}}const om="components";function Gn(e,t){return jb(om,e,!0,t)||e}const Db=Symbol();function jb(e,t,n=!0,r=!1){const i=an||gt;if(i){const s=i.type;if(e===om){const l=gy(s,!1);if(l&&(l===t||l===Bn(t)||l===da(Bn(t))))return s}const o=bd(i[e]||s[e],t)||bd(i.appContext[e],t);return!o&&r?s:o}}function bd(e,t){return e&&(e[t]||e[Bn(t)]||e[da(Bn(t))])}function Bb(e,t,n,r){let i;const s=n&&n[r];if(me(e)||yt(e)){i=new Array(e.length);for(let o=0,l=e.length;o<l;o++)i[o]=t(e[o],o,void 0,s&&s[o])}else if(typeof e=="number"){i=new Array(e);for(let o=0;o<e;o++)i[o]=t(o+1,o,void 0,s&&s[o])}else if(nt(e))if(e[Symbol.iterator])i=Array.from(e,(o,l)=>t(o,l,void 0,s&&s[l]));else{const o=Object.keys(e);i=new Array(o.length);for(let l=0,c=o.length;l<c;l++){const d=o[l];i[l]=t(e[d],d,l,s&&s[l])}}else i=[];return n&&(n[r]=i),i}const ql=e=>e?_m(e)?ya(e)||e.proxy:ql(e.parent):null,as=zt(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=>ql(e.parent),$root:e=>ql(e.root),$emit:e=>e.emit,$options:e=>Xc(e),$forceUpdate:e=>e.f||(e.f=()=>Gc(e.update)),$nextTick:e=>e.n||(e.n=Xp.bind(e.proxy)),$watch:e=>Sb.bind(e)}),cl=(e,t)=>e!==Ye&&!e.__isScriptSetup&&Re(e,t),Hb={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:l,appContext:c}=e;let d;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(cl(r,t))return o[t]=1,r[t];if(i!==Ye&&Re(i,t))return o[t]=2,i[t];if((d=e.propsOptions[0])&&Re(d,t))return o[t]=3,s[t];if(n!==Ye&&Re(n,t))return o[t]=4,n[t];zl&&(o[t]=0)}}const f=as[t];let h,m;if(f)return t==="$attrs"&&Kt(e,"get",t),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Ye&&Re(n,t))return o[t]=4,n[t];if(m=c.config.globalProperties,Re(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return cl(i,t)?(i[t]=n,!0):r!==Ye&&Re(r,t)?(r[t]=n,!0):Re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let l;return!!n[o]||e!==Ye&&Re(e,o)||cl(t,o)||(l=s[0])&&Re(l,o)||Re(r,o)||Re(as,o)||Re(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let zl=!0;function qb(e){const t=Xc(e),n=e.proxy,r=e.ctx;zl=!1,t.beforeCreate&&yd(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:l,provide:c,inject:d,created:f,beforeMount:h,mounted:m,beforeUpdate:v,updated:y,activated:w,deactivated:C,beforeDestroy:E,beforeUnmount:A,destroyed:R,unmounted:K,render:Z,renderTracked:fe,renderTriggered:ke,errorCaptured:ae,serverPrefetch:et,expose:Ue,inheritAttrs:kt,components:rt,directives:it,filters:_t}=t;if(d&&zb(d,r,null,e.appContext.config.unwrapInjectedRef),o)for(const be in o){const ye=o[be];_e(ye)&&(r[be]=ye.bind(n))}if(i){const be=i.call(n,n);nt(be)&&(e.data=Mi(be))}if(zl=!0,s)for(const be in s){const ye=s[be],st=_e(ye)?ye.bind(n,n):_e(ye.get)?ye.get.bind(n,n):yn,F=!_e(ye)&&_e(ye.set)?ye.set.bind(n):yn,ft=at({get:st,set:F});Object.defineProperty(r,be,{enumerable:!0,configurable:!0,get:()=>ft.value,set:Oe=>ft.value=Oe})}if(l)for(const be in l)am(l[be],r,n,be);if(c){const be=_e(c)?c.call(n):c;Reflect.ownKeys(be).forEach(ye=>{To(ye,be[ye])})}f&&yd(f,e,"c");function je(be,ye){me(ye)?ye.forEach(st=>be(st.bind(n))):ye&&be(ye.bind(n))}if(je(Pb,h),je(Tb,m),je(Rb,v),je(Ib,y),je(Ab,w),je(Cb,C),je($b,ae),je(Lb,fe),je(Mb,ke),je(Fb,A),je(sm,K),je(Nb,et),me(Ue))if(Ue.length){const be=e.exposed||(e.exposed={});Ue.forEach(ye=>{Object.defineProperty(be,ye,{get:()=>n[ye],set:st=>n[ye]=st})})}else e.exposed||(e.exposed={});Z&&e.render===yn&&(e.render=Z),kt!=null&&(e.inheritAttrs=kt),rt&&(e.components=rt),it&&(e.directives=it)}function zb(e,t,n=yn,r=!1){me(e)&&(e=Ul(e));for(const i in e){const s=e[i];let o;nt(s)?"default"in s?o=Xn(s.from||i,s.default,!0):o=Xn(s.from||i):o=Xn(s),Ft(o)&&r?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[i]=o}}function yd(e,t,n){wn(me(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function am(e,t,n,r){const i=r.includes(".")?nm(n,r):()=>n[r];if(yt(e)){const s=t[e];_e(s)&&os(i,s)}else if(_e(e))os(i,e.bind(n));else if(nt(e))if(me(e))e.forEach(s=>am(s,t,n,r));else{const s=_e(e.handler)?e.handler.bind(n):t[e.handler];_e(s)&&os(i,s,e)}}function Xc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,l=s.get(t);let c;return l?c=l:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(d=>Wo(c,d,o,!0)),Wo(c,t,o)),nt(t)&&s.set(t,c),c}function Wo(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&Wo(e,s,n,!0),i&&i.forEach(o=>Wo(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=Ub[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ub={data:wd,props:Mr,emits:Mr,methods:Mr,computed:Mr,beforeCreate:Dt,created:Dt,beforeMount:Dt,mounted:Dt,beforeUpdate:Dt,updated:Dt,beforeDestroy:Dt,beforeUnmount:Dt,destroyed:Dt,unmounted:Dt,activated:Dt,deactivated:Dt,errorCaptured:Dt,serverPrefetch:Dt,components:Mr,directives:Mr,watch:Vb,provide:wd,inject:Wb};function wd(e,t){return t?e?function(){return zt(_e(e)?e.call(this,this):e,_e(t)?t.call(this,this):t)}:t:e}function Wb(e,t){return Mr(Ul(e),Ul(t))}function Ul(e){if(me(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Dt(e,t){return e?[...new Set([].concat(e,t))]:t}function Mr(e,t){return e?zt(zt(Object.create(null),e),t):t}function Vb(e,t){if(!e)return t;if(!t)return e;const n=zt(Object.create(null),e);for(const r in t)n[r]=Dt(e[r],t[r]);return n}function Kb(e,t,n,r=!1){const i={},s={};qo(s,ba,1),e.propsDefaults=Object.create(null),lm(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:ob(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function Yb(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,l=Fe(i),[c]=e.propsOptions;let d=!1;if((r||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let m=f[h];if(ma(e.emitsOptions,m))continue;const v=t[m];if(c)if(Re(s,m))v!==s[m]&&(s[m]=v,d=!0);else{const y=Bn(m);i[y]=Wl(c,l,y,v,e,!1)}else v!==s[m]&&(s[m]=v,d=!0)}}}else{lm(e,t,i,s)&&(d=!0);let f;for(const h in l)(!t||!Re(t,h)&&((f=Ii(h))===h||!Re(t,f)))&&(c?n&&(n[h]!==void 0||n[f]!==void 0)&&(i[h]=Wl(c,l,h,void 0,e,!0)):delete i[h]);if(s!==l)for(const h in s)(!t||!Re(t,h))&&(delete s[h],d=!0)}d&&Qn(e,"set","$attrs")}function lm(e,t,n,r){const[i,s]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Oo(c))continue;const d=t[c];let f;i&&Re(i,f=Bn(c))?!s||!s.includes(f)?n[f]=d:(l||(l={}))[f]=d:ma(e.emitsOptions,c)||(!(c in r)||d!==r[c])&&(r[c]=d,o=!0)}if(s){const c=Fe(n),d=l||Ye;for(let f=0;f<s.length;f++){const h=s[f];n[h]=Wl(i,c,h,d[h],e,!Re(d,h))}}return o}function Wl(e,t,n,r,i,s){const o=e[n];if(o!=null){const l=Re(o,"default");if(l&&r===void 0){const c=o.default;if(o.type!==Function&&_e(c)){const{propsDefaults:d}=i;n in d?r=d[n]:(Ei(i),r=d[n]=c.call(null,t),Ur())}else r=c}o[0]&&(s&&!l?r=!1:o[1]&&(r===""||r===Ii(n))&&(r=!0))}return r}function cm(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const s=e.props,o={},l=[];let c=!1;if(!_e(e)){const f=h=>{c=!0;const[m,v]=cm(h,t,!0);zt(o,m),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!s&&!c)return nt(e)&&r.set(e,di),di;if(me(s))for(let f=0;f<s.length;f++){const h=Bn(s[f]);kd(h)&&(o[h]=Ye)}else if(s)for(const f in s){const h=Bn(f);if(kd(h)){const m=s[f],v=o[h]=me(m)||_e(m)?{type:m}:Object.assign({},m);if(v){const y=Sd(Boolean,v.type),w=Sd(String,v.type);v[0]=y>-1,v[1]=w<0||y<w,(y>-1||Re(v,"default"))&&l.push(h)}}}const d=[o,l];return nt(e)&&r.set(e,d),d}function kd(e){return e[0]!=="$"}function xd(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Ed(e,t){return xd(e)===xd(t)}function Sd(e,t){return me(t)?t.findIndex(n=>Ed(n,e)):_e(t)&&Ed(t,e)?0:-1}const um=e=>e[0]==="_"||e==="$stable",Jc=e=>me(e)?e.map(Fn):[Fn(e)],Gb=(e,t,n)=>{if(t._n)return t;const r=ws((...i)=>Jc(t(...i)),n);return r._c=!1,r},fm=(e,t,n)=>{const r=e._ctx;for(const i in e){if(um(i))continue;const s=e[i];if(_e(s))t[i]=Gb(i,s,r);else if(s!=null){const o=Jc(s);t[i]=()=>o}}},dm=(e,t)=>{const n=Jc(t);e.slots.default=()=>n},Xb=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Fe(t),qo(t,"_",n)):fm(t,e.slots={})}else e.slots={},t&&dm(e,t);qo(e.slots,ba,1)},Jb=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=Ye;if(r.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:(zt(i,t),!n&&l===1&&delete i._):(s=!t.$stable,fm(t,i)),o=t}else t&&(dm(e,t),o={default:1});if(s)for(const l in i)!um(l)&&!(l in o)&&delete i[l]};function hm(){return{app:null,config:{isNativeTag:E_,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 Qb=0;function Zb(e,t){return function(r,i=null){_e(r)||(r=Object.assign({},r)),i!=null&&!nt(i)&&(i=null);const s=hm(),o=new Set;let l=!1;const c=s.app={_uid:Qb++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:yy,get config(){return s.config},set config(d){},use(d,...f){return o.has(d)||(d&&_e(d.install)?(o.add(d),d.install(c,...f)):_e(d)&&(o.add(d),d(c,...f))),c},mixin(d){return s.mixins.includes(d)||s.mixins.push(d),c},component(d,f){return f?(s.components[d]=f,c):s.components[d]},directive(d,f){return f?(s.directives[d]=f,c):s.directives[d]},mount(d,f,h){if(!l){const m=lt(r,i);return m.appContext=s,f&&t?t(m,d):e(m,d,h),l=!0,c._container=d,d.__vue_app__=c,ya(m.component)||m.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(d,f){return s.provides[d]=f,c}};return c}}function Vl(e,t,n,r,i=!1){if(me(e)){e.forEach((m,v)=>Vl(m,t&&(me(t)?t[v]:t),n,r,i));return}if(Ro(r)&&!i)return;const s=r.shapeFlag&4?ya(r.component)||r.component.proxy:r.el,o=i?null:s,{i:l,r:c}=e,d=t&&t.r,f=l.refs===Ye?l.refs={}:l.refs,h=l.setupState;if(d!=null&&d!==c&&(yt(d)?(f[d]=null,Re(h,d)&&(h[d]=null)):Ft(d)&&(d.value=null)),_e(c))gr(c,l,12,[o,f]);else{const m=yt(c),v=Ft(c);if(m||v){const y=()=>{if(e.f){const w=m?Re(h,c)?h[c]:f[c]:c.value;i?me(w)&&Dc(w,s):me(w)?w.includes(s)||w.push(s):m?(f[c]=[s],Re(h,c)&&(h[c]=f[c])):(c.value=[s],e.k&&(f[e.k]=c.value))}else m?(f[c]=o,Re(h,c)&&(h[c]=o)):v&&(c.value=o,e.k&&(f[e.k]=o))};o?(y.id=-1,Wt(y,n)):y()}}}const Wt=Eb;function ey(e){return ty(e)}function ty(e,t){const n=T_();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:l,createComment:c,setText:d,setElementText:f,parentNode:h,nextSibling:m,setScopeId:v=yn,insertStaticContent:y}=e,w=(_,b,S,T=null,M=null,$=null,V=!1,H=null,U=!!b.dynamicChildren)=>{if(_===b)return;_&&!Ki(_,b)&&(T=N(_),Oe(_,M,$,!0),_=null),b.patchFlag===-2&&(U=!1,b.dynamicChildren=null);const{type:B,ref:ie,shapeFlag:ee}=b;switch(B){case _a:C(_,b,S,T);break;case Wr:E(_,b,S,T);break;case ul:_==null&&A(b,S,T,V);break;case hn:rt(_,b,S,T,M,$,V,H,U);break;default:ee&1?Z(_,b,S,T,M,$,V,H,U):ee&6?it(_,b,S,T,M,$,V,H,U):(ee&64||ee&128)&&B.process(_,b,S,T,M,$,V,H,U,q)}ie!=null&&M&&Vl(ie,_&&_.ref,$,b||_,!b)},C=(_,b,S,T)=>{if(_==null)r(b.el=l(b.children),S,T);else{const M=b.el=_.el;b.children!==_.children&&d(M,b.children)}},E=(_,b,S,T)=>{_==null?r(b.el=c(b.children||""),S,T):b.el=_.el},A=(_,b,S,T)=>{[_.el,_.anchor]=y(_.children,b,S,T,_.el,_.anchor)},R=({el:_,anchor:b},S,T)=>{let M;for(;_&&_!==b;)M=m(_),r(_,S,T),_=M;r(b,S,T)},K=({el:_,anchor:b})=>{let S;for(;_&&_!==b;)S=m(_),i(_),_=S;i(b)},Z=(_,b,S,T,M,$,V,H,U)=>{V=V||b.type==="svg",_==null?fe(b,S,T,M,$,V,H,U):et(_,b,M,$,V,H,U)},fe=(_,b,S,T,M,$,V,H)=>{let U,B;const{type:ie,props:ee,shapeFlag:se,transition:le,dirs:pe}=_;if(U=_.el=o(_.type,$,ee&&ee.is,ee),se&8?f(U,_.children):se&16&&ae(_.children,U,null,T,M,$&&ie!=="foreignObject",V,H),pe&&Rr(_,null,T,"created"),ke(U,_,_.scopeId,V,T),ee){for(const Pe in ee)Pe!=="value"&&!Oo(Pe)&&s(U,Pe,null,ee[Pe],$,_.children,T,M,Ee);"value"in ee&&s(U,"value",null,ee.value),(B=ee.onVnodeBeforeMount)&&Rn(B,T,_)}pe&&Rr(_,null,T,"beforeMount");const Me=(!M||M&&!M.pendingBranch)&&le&&!le.persisted;Me&&le.beforeEnter(U),r(U,b,S),((B=ee&&ee.onVnodeMounted)||Me||pe)&&Wt(()=>{B&&Rn(B,T,_),Me&&le.enter(U),pe&&Rr(_,null,T,"mounted")},M)},ke=(_,b,S,T,M)=>{if(S&&v(_,S),T)for(let $=0;$<T.length;$++)v(_,T[$]);if(M){let $=M.subTree;if(b===$){const V=M.vnode;ke(_,V,V.scopeId,V.slotScopeIds,M.parent)}}},ae=(_,b,S,T,M,$,V,H,U=0)=>{for(let B=U;B<_.length;B++){const ie=_[B]=H?fr(_[B]):Fn(_[B]);w(null,ie,b,S,T,M,$,V,H)}},et=(_,b,S,T,M,$,V)=>{const H=b.el=_.el;let{patchFlag:U,dynamicChildren:B,dirs:ie}=b;U|=_.patchFlag&16;const ee=_.props||Ye,se=b.props||Ye;let le;S&&Ir(S,!1),(le=se.onVnodeBeforeUpdate)&&Rn(le,S,b,_),ie&&Rr(b,_,S,"beforeUpdate"),S&&Ir(S,!0);const pe=M&&b.type!=="foreignObject";if(B?Ue(_.dynamicChildren,B,H,S,T,pe,$):V||ye(_,b,H,null,S,T,pe,$,!1),U>0){if(U&16)kt(H,b,ee,se,S,T,M);else if(U&2&&ee.class!==se.class&&s(H,"class",null,se.class,M),U&4&&s(H,"style",ee.style,se.style,M),U&8){const Me=b.dynamicProps;for(let Pe=0;Pe<Me.length;Pe++){const Ke=Me[Pe],Mt=ee[Ke],ir=se[Ke];(ir!==Mt||Ke==="value")&&s(H,Ke,Mt,ir,M,_.children,S,T,Ee)}}U&1&&_.children!==b.children&&f(H,b.children)}else!V&&B==null&&kt(H,b,ee,se,S,T,M);((le=se.onVnodeUpdated)||ie)&&Wt(()=>{le&&Rn(le,S,b,_),ie&&Rr(b,_,S,"updated")},T)},Ue=(_,b,S,T,M,$,V)=>{for(let H=0;H<b.length;H++){const U=_[H],B=b[H],ie=U.el&&(U.type===hn||!Ki(U,B)||U.shapeFlag&70)?h(U.el):S;w(U,B,ie,null,T,M,$,V,!0)}},kt=(_,b,S,T,M,$,V)=>{if(S!==T){if(S!==Ye)for(const H in S)!Oo(H)&&!(H in T)&&s(_,H,S[H],null,V,b.children,M,$,Ee);for(const H in T){if(Oo(H))continue;const U=T[H],B=S[H];U!==B&&H!=="value"&&s(_,H,B,U,V,b.children,M,$,Ee)}"value"in T&&s(_,"value",S.value,T.value)}},rt=(_,b,S,T,M,$,V,H,U)=>{const B=b.el=_?_.el:l(""),ie=b.anchor=_?_.anchor:l("");let{patchFlag:ee,dynamicChildren:se,slotScopeIds:le}=b;le&&(H=H?H.concat(le):le),_==null?(r(B,S,T),r(ie,S,T),ae(b.children,S,ie,M,$,V,H,U)):ee>0&&ee&64&&se&&_.dynamicChildren?(Ue(_.dynamicChildren,se,S,M,$,V,H),(b.key!=null||M&&b===M.subTree)&&pm(_,b,!0)):ye(_,b,S,ie,M,$,V,H,U)},it=(_,b,S,T,M,$,V,H,U)=>{b.slotScopeIds=H,_==null?b.shapeFlag&512?M.ctx.activate(b,S,T,V,U):_t(b,S,T,M,$,V,U):pt(_,b,U)},_t=(_,b,S,T,M,$,V)=>{const H=_.component=fy(_,T,M);if(rm(_)&&(H.ctx.renderer=q),dy(H),H.asyncDep){if(M&&M.registerDep(H,je),!_.el){const U=H.subTree=lt(Wr);E(null,U,b,S)}return}je(H,_,b,S,M,$,V)},pt=(_,b,S)=>{const T=b.component=_.component;if(wb(_,b,S))if(T.asyncDep&&!T.asyncResolved){be(T,b,S);return}else T.next=b,mb(T.update),T.update();else b.el=_.el,T.vnode=b},je=(_,b,S,T,M,$,V)=>{const H=()=>{if(_.isMounted){let{next:ie,bu:ee,u:se,parent:le,vnode:pe}=_,Me=ie,Pe;Ir(_,!1),ie?(ie.el=pe.el,be(_,ie,V)):ie=pe,ee&&Po(ee),(Pe=ie.props&&ie.props.onVnodeBeforeUpdate)&&Rn(Pe,le,ie,pe),Ir(_,!0);const Ke=al(_),Mt=_.subTree;_.subTree=Ke,w(Mt,Ke,h(Mt.el),N(Mt),_,M,$),ie.el=Ke.el,Me===null&&kb(_,Ke.el),se&&Wt(se,M),(Pe=ie.props&&ie.props.onVnodeUpdated)&&Wt(()=>Rn(Pe,le,ie,pe),M)}else{let ie;const{el:ee,props:se}=b,{bm:le,m:pe,parent:Me}=_,Pe=Ro(b);if(Ir(_,!1),le&&Po(le),!Pe&&(ie=se&&se.onVnodeBeforeMount)&&Rn(ie,Me,b),Ir(_,!0),ee&&Se){const Ke=()=>{_.subTree=al(_),Se(ee,_.subTree,_,M,null)};Pe?b.type.__asyncLoader().then(()=>!_.isUnmounted&&Ke()):Ke()}else{const Ke=_.subTree=al(_);w(null,Ke,S,T,_,M,$),b.el=Ke.el}if(pe&&Wt(pe,M),!Pe&&(ie=se&&se.onVnodeMounted)){const Ke=b;Wt(()=>Rn(ie,Me,Ke),M)}(b.shapeFlag&256||Me&&Ro(Me.vnode)&&Me.vnode.shapeFlag&256)&&_.a&&Wt(_.a,M),_.isMounted=!0,b=S=T=null}},U=_.effect=new qc(H,()=>Gc(B),_.scope),B=_.update=()=>U.run();B.id=_.uid,Ir(_,!0),B()},be=(_,b,S)=>{b.component=_;const T=_.vnode.props;_.vnode=b,_.next=null,Yb(_,b.props,T,S),Jb(_,b.children,S),Fi(),vd(),Ni()},ye=(_,b,S,T,M,$,V,H,U=!1)=>{const B=_&&_.children,ie=_?_.shapeFlag:0,ee=b.children,{patchFlag:se,shapeFlag:le}=b;if(se>0){if(se&128){F(B,ee,S,T,M,$,V,H,U);return}else if(se&256){st(B,ee,S,T,M,$,V,H,U);return}}le&8?(ie&16&&Ee(B,M,$),ee!==B&&f(S,ee)):ie&16?le&16?F(B,ee,S,T,M,$,V,H,U):Ee(B,M,$,!0):(ie&8&&f(S,""),le&16&&ae(ee,S,T,M,$,V,H,U))},st=(_,b,S,T,M,$,V,H,U)=>{_=_||di,b=b||di;const B=_.length,ie=b.length,ee=Math.min(B,ie);let se;for(se=0;se<ee;se++){const le=b[se]=U?fr(b[se]):Fn(b[se]);w(_[se],le,S,null,M,$,V,H,U)}B>ie?Ee(_,M,$,!0,!1,ee):ae(b,S,T,M,$,V,H,U,ee)},F=(_,b,S,T,M,$,V,H,U)=>{let B=0;const ie=b.length;let ee=_.length-1,se=ie-1;for(;B<=ee&&B<=se;){const le=_[B],pe=b[B]=U?fr(b[B]):Fn(b[B]);if(Ki(le,pe))w(le,pe,S,null,M,$,V,H,U);else break;B++}for(;B<=ee&&B<=se;){const le=_[ee],pe=b[se]=U?fr(b[se]):Fn(b[se]);if(Ki(le,pe))w(le,pe,S,null,M,$,V,H,U);else break;ee--,se--}if(B>ee){if(B<=se){const le=se+1,pe=le<ie?b[le].el:T;for(;B<=se;)w(null,b[B]=U?fr(b[B]):Fn(b[B]),S,pe,M,$,V,H,U),B++}}else if(B>se)for(;B<=ee;)Oe(_[B],M,$,!0),B++;else{const le=B,pe=B,Me=new Map;for(B=pe;B<=se;B++){const qe=b[B]=U?fr(b[B]):Fn(b[B]);qe.key!=null&&Me.set(qe.key,B)}let Pe,Ke=0;const Mt=se-pe+1;let ir=!1,zs=0;const en=new Array(Mt);for(B=0;B<Mt;B++)en[B]=0;for(B=le;B<=ee;B++){const qe=_[B];if(Ke>=Mt){Oe(qe,M,$,!0);continue}let tt;if(qe.key!=null)tt=Me.get(qe.key);else for(Pe=pe;Pe<=se;Pe++)if(en[Pe-pe]===0&&Ki(qe,b[Pe])){tt=Pe;break}tt===void 0?Oe(qe,M,$,!0):(en[tt-pe]=B+1,tt>=zs?zs=tt:ir=!0,w(qe,b[tt],S,null,M,$,V,H,U),Ke++)}const xt=ir?ny(en):di;for(Pe=xt.length-1,B=Mt-1;B>=0;B--){const qe=pe+B,tt=b[qe],Et=qe+1<ie?b[qe+1].el:T;en[B]===0?w(null,tt,S,Et,M,$,V,H,U):ir&&(Pe<0||B!==xt[Pe]?ft(tt,S,Et,2):Pe--)}}},ft=(_,b,S,T,M=null)=>{const{el:$,type:V,transition:H,children:U,shapeFlag:B}=_;if(B&6){ft(_.component.subTree,b,S,T);return}if(B&128){_.suspense.move(b,S,T);return}if(B&64){V.move(_,b,S,q);return}if(V===hn){r($,b,S);for(let ee=0;ee<U.length;ee++)ft(U[ee],b,S,T);r(_.anchor,b,S);return}if(V===ul){R(_,b,S);return}if(T!==2&&B&1&&H)if(T===0)H.beforeEnter($),r($,b,S),Wt(()=>H.enter($),M);else{const{leave:ee,delayLeave:se,afterLeave:le}=H,pe=()=>r($,b,S),Me=()=>{ee($,()=>{pe(),le&&le()})};se?se($,pe,Me):Me()}else r($,b,S)},Oe=(_,b,S,T=!1,M=!1)=>{const{type:$,props:V,ref:H,children:U,dynamicChildren:B,shapeFlag:ie,patchFlag:ee,dirs:se}=_;if(H!=null&&Vl(H,null,S,_,!0),ie&256){b.ctx.deactivate(_);return}const le=ie&1&&se,pe=!Ro(_);let Me;if(pe&&(Me=V&&V.onVnodeBeforeUnmount)&&Rn(Me,b,_),ie&6)Ot(_.component,S,T);else{if(ie&128){_.suspense.unmount(S,T);return}le&&Rr(_,null,b,"beforeUnmount"),ie&64?_.type.remove(_,b,S,M,q,T):B&&($!==hn||ee>0&&ee&64)?Ee(B,b,S,!1,!0):($===hn&&ee&384||!M&&ie&16)&&Ee(U,b,S),T&&ot(_)}(pe&&(Me=V&&V.onVnodeUnmounted)||le)&&Wt(()=>{Me&&Rn(Me,b,_),le&&Rr(_,null,b,"unmounted")},S)},ot=_=>{const{type:b,el:S,anchor:T,transition:M}=_;if(b===hn){Ne(S,T);return}if(b===ul){K(_);return}const $=()=>{i(S),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(_.shapeFlag&1&&M&&!M.persisted){const{leave:V,delayLeave:H}=M,U=()=>V(S,$);H?H(_.el,$,U):U()}else $()},Ne=(_,b)=>{let S;for(;_!==b;)S=m(_),i(_),_=S;i(b)},Ot=(_,b,S)=>{const{bum:T,scope:M,update:$,subTree:V,um:H}=_;T&&Po(T),M.stop(),$&&($.active=!1,Oe(V,_,b,S)),H&&Wt(H,b),Wt(()=>{_.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},Ee=(_,b,S,T=!1,M=!1,$=0)=>{for(let V=$;V<_.length;V++)Oe(_[V],b,S,T,M)},N=_=>_.shapeFlag&6?N(_.component.subTree):_.shapeFlag&128?_.suspense.next():m(_.anchor||_.el),I=(_,b,S)=>{_==null?b._vnode&&Oe(b._vnode,null,null,!0):w(b._vnode||null,_,b,null,null,null,S),vd(),Qp(),b._vnode=_},q={p:w,um:Oe,m:ft,r:ot,mt:_t,mc:ae,pc:ye,pbc:Ue,n:N,o:e};let G,Se;return t&&([G,Se]=t(q)),{render:I,hydrate:G,createApp:Zb(I,G)}}function Ir({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function pm(e,t,n=!1){const r=e.children,i=t.children;if(me(r)&&me(i))for(let s=0;s<r.length;s++){const o=r[s];let l=i[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[s]=fr(i[s]),l.el=o.el),n||pm(o,l)),l.type===_a&&(l.el=o.el)}}function ny(e){const t=e.slice(),n=[0];let r,i,s,o,l;const c=e.length;for(r=0;r<c;r++){const d=e[r];if(d!==0){if(i=n[n.length-1],e[i]<d){t[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)l=s+o>>1,e[n[l]]<d?s=l+1:o=l;d<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}const ry=e=>e.__isTeleport,hn=Symbol(void 0),_a=Symbol(void 0),Wr=Symbol(void 0),ul=Symbol(void 0),ls=[];let _n=null;function Rt(e=!1){ls.push(_n=e?null:[])}function iy(){ls.pop(),_n=ls[ls.length-1]||null}let ks=1;function Ad(e){ks+=e}function mm(e){return e.dynamicChildren=ks>0?_n||di:null,iy(),ks>0&&_n&&_n.push(e),e}function Ht(e,t,n,r,i,s){return mm(ue(e,t,n,r,i,s,!0))}function gm(e,t,n,r,i){return mm(lt(e,t,n,r,i,!0))}function Kl(e){return e?e.__v_isVNode===!0:!1}function Ki(e,t){return e.type===t.type&&e.key===t.key}const ba="__vInternal",vm=({key:e})=>e??null,Io=({ref:e,ref_key:t,ref_for:n})=>e!=null?yt(e)||Ft(e)||_e(e)?{i:an,r:e,k:t,f:!!n}:e:null;function ue(e,t=null,n=null,r=0,i=null,s=e===hn?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vm(t),ref:t&&Io(t),scopeId:ga,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:an};return l?(Qc(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=yt(n)?8:16),ks>0&&!o&&_n&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&_n.push(c),c}const lt=sy;function sy(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===Db)&&(e=Wr),Kl(e)){const l=xi(e,t,!0);return n&&Qc(l,n),ks>0&&!s&&_n&&(l.shapeFlag&6?_n[_n.indexOf(e)]=l:_n.push(l)),l.patchFlag|=-2,l}if(vy(e)&&(e=e.__vccOpts),t){t=oy(t);let{class:l,style:c}=t;l&&!yt(l)&&(t.class=Lc(l)),nt(c)&&(qp(c)&&!me(c)&&(c=zt({},c)),t.style=Mc(c))}const o=yt(e)?1:xb(e)?128:ry(e)?64:nt(e)?4:_e(e)?2:0;return ue(e,t,n,r,i,o,s,!0)}function oy(e){return e?qp(e)||ba in e?zt({},e):e:null}function xi(e,t,n=!1){const{props:r,ref:i,patchFlag:s,children:o}=e,l=t?ly(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&vm(l),ref:t&&t.ref?n&&i?me(i)?i.concat(Io(t)):[i,Io(t)]:Io(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==hn?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&xi(e.ssContent),ssFallback:e.ssFallback&&xi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ay(e=" ",t=0){return lt(_a,null,e,t)}function Yl(e="",t=!1){return t?(Rt(),gm(Wr,null,e)):lt(Wr,null,e)}function Fn(e){return e==null||typeof e=="boolean"?lt(Wr):me(e)?lt(hn,null,e.slice()):typeof e=="object"?fr(e):lt(_a,null,String(e))}function fr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:xi(e)}function Qc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(me(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Qc(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(ba in t)?t._ctx=an:i===3&&an&&(an.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else _e(t)?(t={default:t,_ctx:an},n=32):(t=String(t),r&64?(n=16,t=[ay(t)]):n=8);e.children=t,e.shapeFlag|=n}function ly(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=Lc([t.class,r.class]));else if(i==="style")t.style=Mc([t.style,r.style]);else if(ca(i)){const s=t[i],o=r[i];o&&s!==o&&!(me(s)&&s.includes(o))&&(t[i]=s?[].concat(s,o):o)}else i!==""&&(t[i]=r[i])}return t}function Rn(e,t,n,r=null){wn(e,t,7,[n,r])}const cy=hm();let uy=0;function fy(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||cy,s={uid:uy++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new R_(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:cm(r,i),emitsOptions:em(r,i),emit:null,emitted:null,propsDefaults:Ye,inheritAttrs:r.inheritAttrs,ctx:Ye,data:Ye,props:Ye,attrs:Ye,slots:Ye,refs:Ye,setupState:Ye,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=_b.bind(null,s),e.ce&&e.ce(s),s}let gt=null;const Ei=e=>{gt=e,e.scope.on()},Ur=()=>{gt&&gt.scope.off(),gt=null};function _m(e){return e.vnode.shapeFlag&4}let xs=!1;function dy(e,t=!1){xs=t;const{props:n,children:r}=e.vnode,i=_m(e);Kb(e,n,i,t),Xb(e,r);const s=i?hy(e,t):void 0;return xs=!1,s}function hy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=zp(new Proxy(e.ctx,Hb));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?my(e):null;Ei(e),Fi();const s=gr(r,e,0,[e.props,i]);if(Ni(),Ur(),Op(s)){if(s.then(Ur,Ur),t)return s.then(o=>{Cd(e,o,t)}).catch(o=>{pa(o,e,0)});e.asyncDep=s}else Cd(e,s,t)}else bm(e,t)}function Cd(e,t,n){_e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:nt(t)&&(e.setupState=Kp(t)),bm(e,n)}let Od;function bm(e,t,n){const r=e.type;if(!e.render){if(!t&&Od&&!r.render){const i=r.template||Xc(e).template;if(i){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,d=zt(zt({isCustomElement:s,delimiters:l},o),c);r.render=Od(i,d)}}e.render=r.render||yn}Ei(e),Fi(),qb(e),Ni(),Ur()}function py(e){return new Proxy(e.attrs,{get(t,n){return Kt(e,"get","$attrs"),t[n]}})}function my(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=py(e))},slots:e.slots,emit:e.emit,expose:t}}function ya(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Kp(zp(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in as)return as[n](e)},has(t,n){return n in t||n in as}}))}function gy(e,t=!0){return _e(e)?e.displayName||e.name:e.name||t&&e.__name}function vy(e){return _e(e)&&"__vccOpts"in e}const at=(e,t)=>db(e,t,xs);function wa(e,t,n){const r=arguments.length;return r===2?nt(t)&&!me(t)?Kl(t)?lt(e,null,[t]):lt(e,t):lt(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Kl(n)&&(n=[n]),lt(e,t,n))}const _y=Symbol(""),by=()=>Xn(_y),yy="3.2.47",wy="http://www.w3.org/2000/svg",$r=typeof document<"u"?document:null,Pd=$r&&$r.createElement("template"),ky={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 i=t?$r.createElementNS(wy,e):$r.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>$r.createTextNode(e),createComment:e=>$r.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$r.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,s){const o=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Pd.innerHTML=r?`<svg>${e}</svg>`:e;const l=Pd.content;if(r){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function xy(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Ey(e,t,n){const r=e.style,i=yt(n);if(n&&!i){if(t&&!yt(t))for(const s in t)n[s]==null&&Gl(r,s,"");for(const s in n)Gl(r,s,n[s])}else{const s=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const Td=/\s*!important$/;function Gl(e,t,n){if(me(n))n.forEach(r=>Gl(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Sy(e,t);Td.test(n)?e.setProperty(Ii(r),n.replace(Td,""),"important"):e[r]=n}}const Rd=["Webkit","Moz","ms"],fl={};function Sy(e,t){const n=fl[t];if(n)return n;let r=Bn(t);if(r!=="filter"&&r in e)return fl[t]=r;r=da(r);for(let i=0;i<Rd.length;i++){const s=Rd[i]+r;if(s in e)return fl[t]=s}return t}const Id="http://www.w3.org/1999/xlink";function Ay(e,t,n,r,i){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Id,t.slice(6,t.length)):e.setAttributeNS(Id,t,n);else{const s=x_(t);n==null||s&&!Sp(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function Cy(e,t,n,r,i,s,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,i,s),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const c=n??"";(e.value!==c||e.tagName==="OPTION")&&(e.value=c),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Sp(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function si(e,t,n,r){e.addEventListener(t,n,r)}function Oy(e,t,n,r){e.removeEventListener(t,n,r)}function Py(e,t,n,r,i=null){const s=e._vei||(e._vei={}),o=s[t];if(r&&o)o.value=r;else{const[l,c]=Ty(t);if(r){const d=s[t]=Fy(r,i);si(e,l,d,c)}else o&&(Oy(e,l,o,c),s[t]=void 0)}}const Fd=/(?:Once|Passive|Capture)$/;function Ty(e){let t;if(Fd.test(e)){t={};let r;for(;r=e.match(Fd);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ii(e.slice(2)),t]}let dl=0;const Ry=Promise.resolve(),Iy=()=>dl||(Ry.then(()=>dl=0),dl=Date.now());function Fy(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;wn(Ny(r,n.value),t,5,[r])};return n.value=e,n.attached=Iy(),n}function Ny(e,t){if(me(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const Nd=/^on[a-z]/,My=(e,t,n,r,i=!1,s,o,l,c)=>{t==="class"?xy(e,r,i):t==="style"?Ey(e,n,r):ca(t)?$c(t)||Py(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ly(e,t,r,i))?Cy(e,t,r,s,o,l,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ay(e,t,r,i))};function Ly(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Nd.test(t)&&_e(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Nd.test(t)&&yt(n)?!1:t in e}const Md=e=>{const t=e.props["onUpdate:modelValue"]||!1;return me(t)?n=>Po(t,n):t};function $y(e){e.target.composing=!0}function Ld(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const hl={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e._assign=Md(i);const s=r||i.props&&i.props.type==="number";si(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),s&&(l=Ll(l)),e._assign(l)}),n&&si(e,"change",()=>{e.value=e.value.trim()}),t||(si(e,"compositionstart",$y),si(e,"compositionend",Ld),si(e,"change",Ld))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},s){if(e._assign=Md(s),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(i||e.type==="number")&&Ll(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},Dy=zt({patchProp:My},ky);let $d;function jy(){return $d||($d=ey(Dy))}const By=(...e)=>{const t=jy().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Hy(r);if(!i)return;const s=t._component;!_e(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function Hy(e){return yt(e)?document.querySelector(e):e}const An=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},qy={name:"headerComp"},Zc=e=>(Li("data-v-cb5e295d"),e=e(),$i(),e),zy={class:"navbar navbar-expand-md py-3 position-sticky"},Uy={class:"container-fluid"},Wy=Zc(()=>ue("div",null,[ue("h1",{class:"m-0"},"bezzbrain")],-1)),Vy={class:"fs-5 bg-bezz navbar-toggler","data-bs-toggle":"offcanvas","data-bs-target":"#offcanvasNavbar","aria-controls":"offcanvasNavbar","aria-label":"Toggle navigation"},Ky={class:"sidebar offcanvas offcanvas-start",tabindex:"-1",id:"offcanvasNavbar","aria-labelledby":"offcanvasNavbarLabel"},Yy={class:"offcanvas-header"},Gy={type:"button",class:"bg-bezz shadow-none ms-auto text-black","data-bs-dismiss":"offcanvas","aria-label":"Close"},Xy={class:"offcanvas-body d-flex flex-column"},Jy={class:"navbar-nav ms-md-auto gap-2 justify-content-center align-items-center flex-grow-1"},Qy={class:"nav-item","data-bs-dismiss":"offcanvas"},Zy=Zc(()=>ue("span",null,"home",-1)),e0=Zc(()=>ue("div",{class:"d-flex justify-content-between align-items-start mb-5 d-md-none"},[ue("span",{class:"text-start fs-6 col-4"},"© Copyright 2021 - 2024. All Rights")],-1));function t0(e,t,n,r,i,s){const o=Gn("router-link"),l=Gn("font-awesome-icon");return Rt(),Ht("nav",zy,[ue("div",Uy,[lt(o,{to:{name:"home"},class:"navbar-brand"},{default:ws(()=>[Wy]),_:1}),ue("button",Vy,[lt(l,{icon:["fas","bars"],alt:"Toggle navigation",class:"bg-bezz text-black"})]),ue("div",Ky,[ue("div",Yy,[ue("button",Gy,[lt(l,{icon:["fas","x"],alt:"Toggle navigation",class:"bg-bezz text-black"})])]),ue("div",Xy,[ue("ul",Jy,[ue("li",Qy,[lt(o,{to:{name:"home"},class:"nav-link py-1"},{default:ws(()=>[Zy]),_:1})])]),e0])])])])}const n0=An(qy,[["render",t0],["__scopeId","data-v-cb5e295d"]]);const r0={name:"footerComp"},ym=e=>(Li("data-v-20c6132d"),e=e(),$i(),e),i0={id:"footerContainer",class:"p-1 position-fixed row justify-content-between align-items-center px-3"},s0=ym(()=>ue("span",{class:"text-start col-4 d-none d-md-block"},"© Copyright 2021 - 2024. All Rights",-1)),o0=ym(()=>ue("span",{class:"text-end col-4"},"created by bezz",-1)),a0=[s0,o0];function l0(e,t,n,r,i,s){return Rt(),Ht("div",i0,a0)}const c0=An(r0,[["render",l0],["__scopeId","data-v-20c6132d"]]);const u0={name:"cookieBanner",methods:{acceptCookies(){this.$posthog.opt_in_capturing(),this.$emit("hideBanner")},declineCookies(){this.$posthog.opt_out_capturing(),this.$emit("hideBanner")}}},f0=e=>(Li("data-v-a71c62c3"),e=e(),$i(),e),d0={class:"banner position-fixed text-black"},h0=f0(()=>ue("p",null," We use tracking cookies to understand how you use the product and help us improve it. Please accept cookies to help us improve. ",-1));function p0(e,t,n,r,i,s){return Rt(),Ht("div",d0,[h0,ue("button",{class:"btn btn-outline-dark me-2",onClick:t[0]||(t[0]=(...o)=>s.acceptCookies&&s.acceptCookies(...o))},"Accept"),ue("button",{class:"btn btn-outline-dark ms-2",onClick:t[1]||(t[1]=(...o)=>s.declineCookies&&s.declineCookies(...o))},"Decline")])}const m0=An(u0,[["render",p0],["__scopeId","data-v-a71c62c3"]]);const g0={name:"App",data:function(){return{showBannerCookies:!(this.$posthog.has_opted_out_capturing()||this.$posthog.has_opted_in_capturing())}},components:{headerComp:n0,footerComp:c0,cookieBanner:m0}};function v0(e,t,n,r,i,s){const o=Gn("headerComp"),l=Gn("router-view"),c=Gn("footerComp"),d=Gn("cookieBanner");return Rt(),Ht(hn,null,[lt(o),lt(l),lt(c),e.showBannerCookies?(Rt(),gm(d,{key:0,onHideBanner:t[0]||(t[0]=f=>e.showBannerCookies=!1)})):Yl("",!0)],64)}const _0=An(g0,[["render",v0]]);function Dd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Dd(Object(n),!0).forEach(function(r){j(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Es(e){return Es=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Es(e)}function Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ze(e,t,n){return t&&jd(e.prototype,t),n&&jd(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b0(e,t){if(e==null)return{};var n,r,i=function(o,l){if(o==null)return{};var c,d,f={},h=Object.keys(o);for(d=0;d<h.length;d++)c=h[d],l.indexOf(c)>=0||(f[c]=o[c]);return f}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Bt(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var s,o,l=[],c=!0,d=!1;try{for(i=i.call(n);!(c=(s=i.next()).done)&&(l.push(s.value),!r||l.length!==r);c=!0);}catch(f){d=!0,o=f}finally{try{c||i.return==null||i.return()}finally{if(d)throw o}}return l}}(e,t)||eu(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Si(e){return function(t){if(Array.isArray(t))return Xl(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||eu(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function eu(e,t){if(e){if(typeof e=="string")return Xl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xl(e,t):void 0}}function Xl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function En(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=eu(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){l=!0,s=c},f:function(){try{o||n.return==null||n.return()}finally{if(l)throw s}}}}var jr={DEBUG:!1,LIB_VERSION:"1.128.3"},y0=Array.isArray,wm=Object.prototype,km=wm.hasOwnProperty,ka=wm.toString,bt=y0||function(e){return ka.call(e)==="[object Array]"},kn=function(e){return typeof e=="function"},Mn=function(e){return e===Object(e)&&!bt(e)},pl=function(e){if(Mn(e)){for(var t in e)if(km.call(e,t))return!1;return!0}return!1},ge=function(e){return e===void 0},Nt=function(e){return ka.call(e)=="[object String]"},xn=function(e){return e===null},vr=function(e){return ge(e)||xn(e)},pn=function(e){return ka.call(e)=="[object Number]"},Fo=function(e){return ka.call(e)==="[object Boolean]"},w0=function(e){return e instanceof FormData},P=typeof window<"u"?window:void 0,Vt=typeof globalThis<"u"?globalThis:P,xm=Array.prototype,Bd=xm.forEach,Hd=xm.indexOf,Ss=Vt==null?void 0:Vt.navigator,te=Vt==null?void 0:Vt.document,on=Vt==null?void 0:Vt.location,tu=Vt==null?void 0:Vt.fetch,nu=Vt!=null&&Vt.XMLHttpRequest&&"withCredentials"in new Vt.XMLHttpRequest?Vt.XMLHttpRequest:void 0,qd=Vt==null?void 0:Vt.AbortController,ht=Ss==null?void 0:Ss.userAgent,Jt=P??{},zd="[PostHog.js]",W={_log:function(e){if(P&&(jr.DEBUG||Jt.POSTHOG_DEBUG)&&!ge(P.console)&&P.console){for(var t=("__rrweb_original__"in P.console[e])?P.console[e].__rrweb_original__:P.console[e],n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.apply(void 0,[zd].concat(r))}},info:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];W._log.apply(W,["log"].concat(t))},warn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];W._log.apply(W,["warn"].concat(t))},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];W._log.apply(W,["error"].concat(t))},critical:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).error.apply(e,[zd].concat(n))},uninitializedWarning:function(e){W.error("You must initialize PostHog before calling ".concat(e))}},Vo={},xa=function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function vi(e,t,n){if(bt(e)){if(Bd&&e.forEach===Bd)e.forEach(t,n);else if("length"in e&&e.length===+e.length){for(var r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r)===Vo)return}}}function Ve(e,t,n){if(!vr(e)){if(bt(e))return vi(e,t,n);if(w0(e)){var r,i=En(e.entries());try{for(i.s();!(r=i.n()).done;){var s=r.value;if(t.call(n,s[1],s[0])===Vo)return}}catch(l){i.e(l)}finally{i.f()}}else for(var o in e)if(km.call(e,o)&&t.call(n,e[o],o)===Vo)return}}var At=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 vi(n,function(i){for(var s in i)i[s]!==void 0&&(e[s]=i[s])}),e};function Te(e,t){return e.indexOf(t)!==-1}function No(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 Em=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},Ud=function(e){try{return e()}catch{return}},k0=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(i){W.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),W.critical(i)}}},Jl=function(e){var t={};return Ve(e,function(n,r){Nt(n)&&n.length>0&&(t[r]=n)}),t};function x0(e,t){return n=e,r=function(s){return Nt(s)&&!xn(t)?s.slice(0,t):s},i=new Set,function s(o,l){return o!==Object(o)?r?r(o,l):o:i.has(o)?void 0:(i.add(o),bt(o)?(c=[],vi(o,function(d){c.push(s(d))})):(c={},Ve(o,function(d,f){i.has(d)||(c[f]=s(d,f))})),c);var c}(n);var n,r,i}var gn,E0=function(e){var t,n,r,i,s="";for(t=n=0,r=(e=(e+"").replace(/\r\n/g,`
`).replace(/\r/g,`
`)).length,i=0;i<r;i++){var o=e.charCodeAt(i),l=null;o<128?n++:l=o>127&&o<2048?String.fromCharCode(o>>6|192,63&o|128):String.fromCharCode(o>>12|224,o>>6&63|128,63&o|128),xn(l)||(n>t&&(s+=e.substring(t,n)),s+=l,t=n=i+1)}return n>t&&(s+=e.substring(t,e.length)),s},Yn=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,n,r,i,s){if(t)if(t.addEventListener&&!i)t.addEventListener(n,r,!!s);else{var o="on"+n,l=t[o];t[o]=function(c,d,f){return function(h){if(h=h||e(P==null?void 0:P.event)){var m,v=!0;kn(f)&&(m=f(h));var y=d.call(c,h);return m!==!1&&y!==!1||(v=!1),v}}}(t,r,l)}else W.error("No valid element provided to register_event")}}();function As(e,t){var n=function(){if(!te)return t("document not found");var r=te.createElement("script");r.type="text/javascript",r.src=e,r.onload=function(o){return t(void 0,o)},r.onerror=function(o){return t(o)};var i,s=te.querySelectorAll("body > script");s.length>0?(i=s[0].parentNode)===null||i===void 0||i.insertBefore(r,s[0]):te.body.appendChild(r)};te!=null&&te.body?n():te==null||te.addEventListener("DOMContentLoaded",n)}(function(e){e.GZipJS="gzip-js",e.Base64="base64"})(gn||(gn={}));var Sm="$people_distinct_id",ts="__alias",ns="__timers",Wd="$autocapture_disabled_server_side",Ql="$session_recording_enabled_server_side",Vd="$console_log_recording_enabled_server_side",Kd="$session_recording_network_payload_capture",Yd="$session_recording_canvas_recording",Gd="$replay_sample_rate",Xd="$replay_minimum_duration",Ko="$sesid",cs="$session_is_sampled",li="$enabled_feature_flags",Zl="$early_access_features",ci="$stored_person_properties",dr="$stored_group_properties",ec="$surveys",Yo="$flag_call_reported",Kn="$user_state",tc="$client_session_props",nc="$capture_rate_limit",rc="$initial_campaign_params",ic="$initial_referrer_info",Go="$epp",S0=[Sm,ts,"__cmpns",ns,Ql,Ko,li,Kn,Zl,dr,ci,ec,Yo,tc,nc,rc,ic,Go],ml="$active_feature_flags",po="$override_feature_flags",Jd="$feature_flag_payloads",Qd=function(e){var t,n={},r=En(No(e||{}));try{for(r.s();!(t=r.n()).done;){var i=Bt(t.value,2),s=i[0],o=i[1];o&&(n[s]=o)}}catch(l){r.e(l)}finally{r.f()}return n},A0=function(){function e(t){Qe(this,e),this.instance=t,this._override_warning=!1,this.featureFlagEventHandlers=[],this.reloadFeatureFlagsQueued=!1,this.reloadFeatureFlagsInAction=!1}return Ze(e,[{key:"getFlags",value:function(){return Object.keys(this.getFlagVariants())}},{key:"getFlagVariants",value:function(){var t=this.instance.get_property(li),n=this.instance.get_property(po);if(!n)return t||{};for(var r=At({},t),i=Object.keys(n),s=0;s<i.length;s++)r[i[s]]=n[i[s]];return this._override_warning||(W.warn(" Overriding feature flags!",{enabledFlags:t,overriddenFlags:n,finalFlags:r}),this._override_warning=!0),r}},{key:"getFlagPayloads",value:function(){return this.instance.get_property(Jd)||{}}},{key:"reloadFeatureFlags",value:function(){this.reloadFeatureFlagsQueued||(this.reloadFeatureFlagsQueued=!0,this._startReloadTimer())}},{key:"setAnonymousDistinctId",value:function(t){this.$anon_distinct_id=t}},{key:"setReloadingPaused",value:function(t){this.reloadFeatureFlagsInAction=t}},{key:"resetRequestQueue",value:function(){this.reloadFeatureFlagsQueued=!1}},{key:"_startReloadTimer",value:function(){var t=this;this.reloadFeatureFlagsQueued&&!this.reloadFeatureFlagsInAction&&setTimeout(function(){!t.reloadFeatureFlagsInAction&&t.reloadFeatureFlagsQueued&&(t.reloadFeatureFlagsQueued=!1,t._reloadFeatureFlagsRequest())},5)}},{key:"_reloadFeatureFlagsRequest",value:function(){var t=this;if(!this.instance.config.advanced_disable_feature_flags){this.setReloadingPaused(!0);var n=this.instance.config.token,r=this.instance.get_property(ci),i=this.instance.get_property(dr),s={token:n,distinct_id:this.instance.get_distinct_id(),groups:this.instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:r,group_properties:i,disable_flags:this.instance.config.advanced_disable_feature_flags||void 0};this.instance._send_request({method:"POST",url:this.instance.requestRouter.endpointFor("api","/decide/?v=3"),data:s,compression:this.instance.config.disable_compression?void 0:gn.Base64,timeout:this.instance.config.feature_flag_request_timeout_ms,callback:function(o){var l;t.setReloadingPaused(!1);var c=!0;o.statusCode===200&&(t.$anon_distinct_id=void 0,c=!1),t.receivedFeatureFlags((l=o.json)!==null&&l!==void 0?l:{},c),t._startReloadTimer()}})}}},{key:"getFeatureFlag",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.instance.decideEndpointWasHit||this.getFlags()&&this.getFlags().length>0){var r,i=this.getFlagVariants()[t],s="".concat(i),o=this.instance.get_property(Yo)||{};return(n.send_event||!("send_event"in n))&&(!(t in o)||!o[t].includes(s))&&(bt(o[t])?o[t].push(s):o[t]=[s],(r=this.instance.persistence)===null||r===void 0||r.register(j({},Yo,o)),this.instance.capture("$feature_flag_called",{$feature_flag:t,$feature_flag_response:i})),i}W.warn('getFeatureFlag for key "'+t+`" failed. Feature flags didn't load in time.`)}},{key:"getFeatureFlagPayload",value:function(t){return this.getFlagPayloads()[t]}},{key:"isFeatureEnabled",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.instance.decideEndpointWasHit||this.getFlags()&&this.getFlags().length>0)return!!this.getFeatureFlag(t,n);W.warn('isFeatureEnabled for key "'+t+`" failed. Feature flags didn't load in time.`)}},{key:"addFeatureFlagsHandler",value:function(t){this.featureFlagEventHandlers.push(t)}},{key:"removeFeatureFlagsHandler",value:function(t){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(function(n){return n!==t})}},{key:"receivedFeatureFlags",value:function(t,n){if(this.instance.persistence){this.instance.decideEndpointWasHit=!0;var r=this.getFlagVariants(),i=this.getFlagPayloads();(function(s,o){var l,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=s.featureFlags,h=s.featureFlagPayloads;if(f)if(bt(f)){var m,v={};if(f)for(var y=0;y<f.length;y++)v[f[y]]=!0;o&&o.register((j(m={},ml,f),j(m,li,v),m))}else{var w=f,C=h;s.errorsWhileComputingFlags&&(w=re(re({},c),w),C=re(re({},d),C)),o&&o.register((j(l={},ml,Object.keys(Qd(w))),j(l,li,w||{}),j(l,Jd,C||{}),l))}})(t,this.instance.persistence,r,i),this._fireFeatureFlagsCallbacks(n)}}},{key:"override",value:function(t){if(!this.instance.__loaded||!this.instance.persistence)return W.uninitializedWarning("posthog.feature_flags.override");if(this._override_warning=!1,t===!1)this.instance.persistence.unregister(po);else if(bt(t)){for(var n={},r=0;r<t.length;r++)n[t[r]]=!0;this.instance.persistence.register(j({},po,n))}else this.instance.persistence.register(j({},po,t))}},{key:"onFeatureFlags",value:function(t){var n=this;if(this.addFeatureFlagsHandler(t),this.instance.decideEndpointWasHit){var r=this._prepareFeatureFlagsForCallbacks(),i=r.flags,s=r.flagVariants;t(i,s)}return function(){return n.removeFeatureFlagsHandler(t)}}},{key:"updateEarlyAccessFeatureEnrollment",value:function(t,n){var r,i,s=j({},"$feature_enrollment/".concat(t),n);this.instance.capture("$feature_enrollment_update",{$feature_flag:t,$feature_enrollment:n,$set:s}),this.setPersonPropertiesForFlags(s,!1);var o=re(re({},this.getFlagVariants()),{},j({},t,n));(r=this.instance.persistence)===null||r===void 0||r.register((j(i={},ml,Object.keys(Qd(o))),j(i,li,o),i)),this._fireFeatureFlagsCallbacks()}},{key:"getEarlyAccessFeatures",value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0&&arguments[1],i=this.instance.get_property(Zl);if(i&&!r)return t(i);this.instance._send_request({transport:"XHR",url:this.instance.requestRouter.endpointFor("api","/api/early_access_features/?token=".concat(this.instance.config.token)),method:"GET",callback:function(s){var o;if(s.json){var l=s.json.earlyAccessFeatures;return(o=n.instance.persistence)===null||o===void 0||o.register(j({},Zl,l)),t(l)}}})}},{key:"_prepareFeatureFlagsForCallbacks",value:function(){var t=this.getFlags(),n=this.getFlagVariants();return{flags:t.filter(function(r){return n[r]}),flagVariants:Object.keys(n).filter(function(r){return n[r]}).reduce(function(r,i){return r[i]=n[i],r},{})}}},{key:"_fireFeatureFlagsCallbacks",value:function(t){var n=this._prepareFeatureFlagsForCallbacks(),r=n.flags,i=n.flagVariants;this.featureFlagEventHandlers.forEach(function(s){return s(r,i,{errorsLoading:t})})}},{key:"setPersonPropertiesForFlags",value:function(t){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=this.instance.get_property(ci)||{};this.instance.register(j({},ci,re(re({},r),t))),n&&this.instance.reloadFeatureFlags()}},{key:"resetPersonPropertiesForFlags",value:function(){this.instance.unregister(ci)}},{key:"setGroupPropertiesForFlags",value:function(t){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=this.instance.get_property(dr)||{};Object.keys(r).length!==0&&Object.keys(r).forEach(function(i){r[i]=re(re({},r[i]),t[i]),delete t[i]}),this.instance.register(j({},dr,re(re({},r),t))),n&&this.instance.reloadFeatureFlags()}},{key:"resetGroupPropertiesForFlags",value:function(t){if(t){var n=this.instance.get_property(dr)||{};this.instance.register(j({},dr,re(re({},n),{},j({},t,{}))))}else this.instance.unregister(dr)}}]),e}();Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return pn(e)&&isFinite(e)&&Math.floor(e)===e});var Zd="0123456789abcdef",C0=function(){function e(t){if(Qe(this,e),this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}return Ze(e,[{key:"toString",value:function(){for(var t="",n=0;n<this.bytes.length;n++)t=t+Zd.charAt(this.bytes[n]>>>4)+Zd.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}},{key:"clone",value:function(){return new e(this.bytes.slice(0))}},{key:"equals",value:function(t){return this.compareTo(t)===0}},{key:"compareTo",value:function(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}}],[{key:"fromFieldsV7",value:function(t,n,r,i){if(!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(r)||!Number.isInteger(i)||t<0||n<0||r<0||i<0||t>0xffffffffffff||n>4095||r>1073741823||i>4294967295)throw new RangeError("invalid field value");var s=new Uint8Array(16);return s[0]=t/Math.pow(2,40),s[1]=t/Math.pow(2,32),s[2]=t/Math.pow(2,24),s[3]=t/Math.pow(2,16),s[4]=t/Math.pow(2,8),s[5]=t,s[6]=112|n>>>8,s[7]=n,s[8]=128|r>>>24,s[9]=r>>>16,s[10]=r>>>8,s[11]=r,s[12]=i>>>24,s[13]=i>>>16,s[14]=i>>>8,s[15]=i,new e(s)}}]),e}(),O0=function(){function e(){Qe(this,e),j(this,"timestamp",0),j(this,"counter",0),j(this,"random",new P0)}return Ze(e,[{key:"generate",value:function(){var t=this.generateOrAbort();if(ge(t)){this.timestamp=0;var n=this.generateOrAbort();if(ge(n))throw new Error("Could not generate UUID after timestamp reset");return n}return t}},{key:"generateOrAbort",value:function(){var t=Date.now();if(t>this.timestamp)this.timestamp=t,this.resetCounter();else{if(!(t+1e4>this.timestamp))return;this.counter++,this.counter>4398046511103&&(this.timestamp++,this.resetCounter())}return C0.fromFieldsV7(this.timestamp,Math.trunc(this.counter/Math.pow(2,30)),this.counter&Math.pow(2,30)-1,this.random.nextUint32())}},{key:"resetCounter",value:function(){this.counter=1024*this.random.nextUint32()+(1023&this.random.nextUint32())}}]),e}(),Am=function(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};P&&!ge(P.crypto)&&crypto.getRandomValues&&(Am=function(e){return crypto.getRandomValues(e)});var eh,P0=function(){function e(){Qe(this,e),j(this,"buffer",new Uint32Array(8)),j(this,"cursor",1/0)}return Ze(e,[{key:"nextUint32",value:function(){return this.cursor>=this.buffer.length&&(Am(this.buffer),this.cursor=0),this.buffer[this.cursor++]}}]),e}(),pr=function(){return T0().toString()},T0=function(){return(eh||(eh=new O0)).generate()},R0="Thu, 01 Jan 1970 00:00:00 GMT",Yi="",I0=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i;function F0(e,t){if(t){var n=function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:te;if(Yi)return Yi;if(!s||["localhost","127.0.0.1"].includes(i))return"";for(var o=i.split("."),l=Math.min(o.length,8),c="dmn_chk_"+pr(),d=new RegExp("(^|;)\\s*"+c+"=1");!Yi&&l--;){var f=o.slice(l).join("."),h=c+"=1;domain=."+f;s.cookie=h,d.test(s.cookie)&&(s.cookie=h+";expires="+R0,Yi=f)}return Yi}(e);if(!n){var r=function(i){var s=i.match(I0);return s?s[0]:""}(e);r!==n&&W.info("Warning: cookie subdomain discovery mismatch",r,n),n=r}return n?"; domain=."+n:""}return""}var Pt,jn={is_supported:function(){return!!te},error:function(e){W.error("cookieStore error: "+e)},get:function(e){if(te){try{for(var t=e+"=",n=te.cookie.split(";").filter(function(s){return s.length}),r=0;r<n.length;r++){for(var i=n[r];i.charAt(0)==" ";)i=i.substring(1,i.length);if(i.indexOf(t)===0)return decodeURIComponent(i.substring(t.length,i.length))}}catch{}return null}},parse:function(e){var t;try{t=JSON.parse(jn.get(e))||{}}catch{}return t},set:function(e,t,n,r,i){if(te)try{var s="",o="",l=F0(te.location.hostname,r);if(n){var c=new Date;c.setTime(c.getTime()+24*n*60*60*1e3),s="; expires="+c.toUTCString()}i&&(o="; secure");var d=e+"="+encodeURIComponent(JSON.stringify(t))+s+"; SameSite=Lax; path=/"+l+o;return d.length>3686.4&&W.warn("cookieStore warning: large cookie, len="+d.length),te.cookie=d,d}catch{return}},remove:function(e,t){try{jn.set(e,"",-1,t)}catch{return}}},gl=null,mt={is_supported:function(){if(!xn(gl))return gl;var e=!0;if(ge(P))e=!1;else try{var t="__mplssupport__";mt.set(t,"xyz"),mt.get(t)!=='"xyz"'&&(e=!1),mt.remove(t)}catch{e=!1}return e||W.error("localStorage unsupported; falling back to cookie store"),gl=e,e},error:function(e){W.error("localStorage error: "+e)},get:function(e){try{return P==null?void 0:P.localStorage.getItem(e)}catch(t){mt.error(t)}return null},parse:function(e){try{return JSON.parse(mt.get(e))||{}}catch{}return null},set:function(e,t){try{P==null||P.localStorage.setItem(e,JSON.stringify(t))}catch(n){mt.error(n)}},remove:function(e){try{P==null||P.localStorage.removeItem(e)}catch(t){mt.error(t)}}},N0=["distinct_id",Ko,cs,Go],rs=re(re({},mt),{},{parse:function(e){try{var t={};try{t=jn.parse(e)||{}}catch{}var n=At(t,JSON.parse(mt.get(e)||"{}"));return mt.set(e,n),n}catch{}return null},set:function(e,t,n,r,i){try{mt.set(e,t);var s={};N0.forEach(function(o){t[o]&&(s[o]=t[o])}),Object.keys(s).length&&jn.set(e,s,n,r,i)}catch(o){mt.error(o)}},remove:function(e,t){try{P==null||P.localStorage.removeItem(e),jn.remove(e,t)}catch(n){mt.error(n)}}}),mo={},M0={is_supported:function(){return!0},error:function(e){W.error("memoryStorage error: "+e)},get:function(e){return mo[e]||null},parse:function(e){return mo[e]||null},set:function(e,t){mo[e]=t},remove:function(e){delete mo[e]}},Fr=null,Tt={is_supported:function(){if(!xn(Fr))return Fr;if(Fr=!0,ge(P))Fr=!1;else try{var e="__support__";Tt.set(e,"xyz"),Tt.get(e)!=='"xyz"'&&(Fr=!1),Tt.remove(e)}catch{Fr=!1}return Fr},error:function(e){W.error("sessionStorage error: ",e)},get:function(e){try{return P==null?void 0:P.sessionStorage.getItem(e)}catch(t){Tt.error(t)}return null},parse:function(e){try{return JSON.parse(Tt.get(e))||null}catch{}return null},set:function(e,t){try{P==null||P.sessionStorage.setItem(e,JSON.stringify(t))}catch(n){Tt.error(n)}},remove:function(e){try{P==null||P.sessionStorage.removeItem(e)}catch(t){Tt.error(t)}}},L0=["localhost","127.0.0.1"],Cm=function(e){var t=te==null?void 0:te.createElement("a");return ge(t)?null:(t.href=e,t)},$0=function(e,t){return!!function(n){try{new RegExp(n)}catch{return!1}return!0}(t)&&new RegExp(t).test(e)},D0=function(e){var t,n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"&",i=[];return Ve(e,function(s,o){ge(s)||ge(o)||o==="undefined"||(t=encodeURIComponent(function(l){return l instanceof File}(s)?s.name:s.toString()),n=encodeURIComponent(o),i[i.length]=n+"="+t)}),i.join(r)},th=function(e,t){for(var n,r=((e.split("#")[0]||"").split("?")[1]||"").split("&"),i=0;i<r.length;i++){var s=r[i].split("=");if(s[0]===t){n=s;break}}if(!bt(n)||n.length<2)return"";var o=n[1];try{o=decodeURIComponent(o)}catch{W.error("Skipping decoding for malformed query param: "+o)}return o.replace(/\+/g," ")},Xo=function(e,t){var n=e.match(new RegExp(t+"=([^&]*)"));return n?n[1]:null},ln="Mobile",Jo="iOS",Ln="Android",Cs="Tablet",Om=Ln+" "+Cs,Pm="iPad",Tm="Apple",Rm=Tm+" Watch",Ea="Safari",Ai="BlackBerry",Im="Samsung",Fm=Im+"Browser",Nm=Im+" Internet",Vr="Chrome",j0=Vr+" OS",Mm=Vr+" "+Jo,ru="Internet Explorer",Lm=ru+" "+ln,iu="Opera",B0=iu+" Mini",su="Edge",$m="Microsoft "+su,_i="Firefox",Dm=_i+" "+Jo,Os="Nintendo",Ps="PlayStation",bi="Xbox",jm=Ln+" "+ln,Bm=ln+" "+Ea,is="Windows",sc=is+" Phone",nh="Nokia",oc="Ouya",Hm="Generic",H0=Hm+" "+ln.toLowerCase(),qm=Hm+" "+Cs.toLowerCase(),ac="Konqueror",jt="(\\d+(\\.\\d+)?)",vl=new RegExp("Version/"+jt),q0=new RegExp(bi,"i"),z0=new RegExp(Ps+" \\w+","i"),U0=new RegExp(Os+" \\w+","i"),ou=new RegExp(Ai+"|PlayBook|BB10","i"),W0={"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"},V0=function(e,t){return t&&Te(t,Tm)||function(n){return Te(n,Ea)&&!Te(n,Vr)&&!Te(n,Ln)}(e)},rh=function(e,t){return t=t||"",Te(e," OPR/")&&Te(e,"Mini")?B0:Te(e," OPR/")?iu:ou.test(e)?Ai:Te(e,"IE"+ln)||Te(e,"WPDesktop")?Lm:Te(e,Fm)?Nm:Te(e,su)||Te(e,"Edg/")?$m:Te(e,"FBIOS")?"Facebook "+ln:Te(e,Vr)?Vr:Te(e,"CriOS")?Mm:Te(e,"UCWEB")||Te(e,"UCBrowser")?"UC Browser":Te(e,"FxiOS")?Dm:Te(e,Ln)?jm:Te(e.toLowerCase(),ac.toLowerCase())?ac:V0(e,t)?Te(e,ln)?Bm:Ea:Te(e,_i)?_i:Te(e,"MSIE")||Te(e,"Trident/")?ru:Te(e,"Gecko")?_i:""},K0=(j(Pt={},Lm,[new RegExp("rv:"+jt)]),j(Pt,$m,[new RegExp(su+"?\\/"+jt)]),j(Pt,Vr,[new RegExp(Vr+"/"+jt)]),j(Pt,Mm,[new RegExp("CriOS\\/"+jt)]),j(Pt,"UC Browser",[new RegExp("(UCBrowser|UCWEB)\\/"+jt)]),j(Pt,Ea,[vl]),j(Pt,Bm,[vl]),j(Pt,iu,[new RegExp("(Opera|OPR)\\/"+jt)]),j(Pt,_i,[new RegExp(_i+"\\/"+jt)]),j(Pt,Dm,[new RegExp("FxiOS\\/"+jt)]),j(Pt,ac,[new RegExp("Konqueror[:/]?"+jt,"i")]),j(Pt,Ai,[new RegExp(Ai+" "+jt),vl]),j(Pt,jm,[new RegExp("android\\s"+jt)]),j(Pt,Nm,[new RegExp(Fm+"\\/"+jt)]),j(Pt,ru,[new RegExp("(rv:|MSIE )"+jt)]),j(Pt,"Mozilla",[new RegExp("rv:"+jt)]),Pt),ih=[[new RegExp(bi+"; "+bi+" (.*?)[);]","i"),function(e){return[bi,e&&e[1]||""]}],[new RegExp(Os,"i"),[Os,""]],[new RegExp(Ps,"i"),[Ps,""]],[ou,[Ai,""]],[new RegExp(is,"i"),function(e,t){if(/Phone/.test(t)||/WPDesktop/.test(t))return[sc,""];if(new RegExp(ln).test(t)&&!/IEMobile\b/.test(t))return[is+" "+ln,""];var n=/Windows NT ([0-9.]+)/i.exec(t);if(n&&n[1]){var r=n[1],i=W0[r]||"";return/arm/i.test(t)&&(i="RT"),[is,i]}return[is,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,function(e){if(e&&e[3]){var t=[e[3],e[4],e[5]||"0"];return[Jo,t.join(".")]}return[Jo,""]}],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,function(e){var t="";return e&&e.length>=3&&(t=ge(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+Ln+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+Ln+")","i"),function(e){if(e&&e[2]){var t=[e[2],e[3],e[4]||"0"];return[Ln,t.join(".")]}return[Ln,""]}],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,function(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/,[j0,""]],[/Linux|debian/i,["Linux",""]]],sh=function(e){return U0.test(e)?Os:z0.test(e)?Ps:q0.test(e)?bi:new RegExp(oc,"i").test(e)?oc:new RegExp("("+sc+"|WPDesktop)","i").test(e)?sc:/iPad/.test(e)?Pm:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?Rm:ou.test(e)?Ai:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp(nh,"i").test(e)?nh:/(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(ln).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)?Ln:Om:Ln:new RegExp("(pda|"+ln+")","i").test(e)?H0:new RegExp(Cs,"i").test(e)&&!new RegExp(Cs+" pc","i").test(e)?qm:""},go="https?://(.*)",Y0=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gclid","gad_source","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","mc_cid","igshid","ttclid"],Ct={campaignParams:function(e){var t=Y0.concat(e||[]),n={};return Ve(t,function(r){var i=te?th(te.URL,r):"";i.length&&(n[r]=i)}),n},searchEngine:function(){var e=te==null?void 0:te.referrer;return e?e.search(go+"google.([^/?]*)")===0?"google":e.search(go+"bing.com")===0?"bing":e.search(go+"yahoo.com")===0?"yahoo":e.search(go+"duckduckgo.com")===0?"duckduckgo":null:null},searchInfo:function(){var e=Ct.searchEngine(),t=e!="yahoo"?"q":"p",n={};if(!xn(e)){n.$search_engine=e;var r=te?th(te.referrer,t):"";r.length&&(n.ph_keyword=r)}return n},browser:rh,browserVersion:function(e,t){var n=rh(e,t),r=K0[n];if(ge(r))return null;for(var i=0;i<r.length;i++){var s=r[i],o=e.match(s);if(o)return parseFloat(o[o.length-2])}return null},browserLanguage:function(){return navigator.language||navigator.userLanguage},os:function(e){for(var t=0;t<ih.length;t++){var n=Bt(ih[t],2),r=n[0],i=n[1],s=r.exec(e),o=s&&(kn(i)?i(s,e):i);if(o)return o}return["",""]},device:sh,deviceType:function(e){var t=sh(e);return t===Pm||t===Om||t==="Kobo"||t==="Kindle Fire"||t===qm?Cs:t===Os||t===bi||t===Ps||t===oc?"Console":t===Rm?"Wearable":t?ln:"Desktop"},referrer:function(){return(te==null?void 0:te.referrer)||"$direct"},referringDomain:function(){var e;return te!=null&&te.referrer&&((e=Cm(te.referrer))===null||e===void 0?void 0:e.host)||"$direct"},referrerInfo:function(){return{$referrer:this.referrer(),$referring_domain:this.referringDomain()}},properties:function(){if(!ht)return{};var e=Bt(Ct.os(ht),2),t=e[0],n=e[1];return At(Jl({$os:t,$os_version:n,$browser:Ct.browser(ht,navigator.vendor),$device:Ct.device(ht),$device_type:Ct.deviceType(ht)}),{$current_url:on==null?void 0:on.href,$host:on==null?void 0:on.host,$pathname:on==null?void 0:on.pathname,$raw_user_agent:ht.length>1e3?ht.substring(0,997)+"...":ht,$browser_version:Ct.browserVersion(ht,navigator.vendor),$browser_language:Ct.browserLanguage(),$screen_height:P==null?void 0:P.screen.height,$screen_width:P==null?void 0:P.screen.width,$viewport_height:P==null?void 0:P.innerHeight,$viewport_width:P==null?void 0:P.innerWidth,$lib:"web",$lib_version:jr.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Em()/1e3})},people_properties:function(){if(!ht)return{};var e=Bt(Ct.os(ht),2),t=e[0],n=e[1];return At(Jl({$os:t,$os_version:n,$browser:Ct.browser(ht,navigator.vendor)}),{$browser_version:Ct.browserVersion(ht,navigator.vendor)})}},G0=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"],_l=function(){function e(t){Qe(this,e),this.config=t,this.props={},this.campaign_params_saved=!1,this.name=function(n){var r="";return n.token&&(r=n.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),n.persistence_name?"ph_"+n.persistence_name:"ph_"+r+"_posthog"}(t),this.storage=this.buildStorage(t),this.load(),this.update_config(t,t),this.save()}return Ze(e,[{key:"buildStorage",value:function(t){G0.indexOf(t.persistence.toLowerCase())===-1&&(W.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var n=t.persistence.toLowerCase();return n==="localstorage"&&mt.is_supported()?mt:n==="localstorage+cookie"&&rs.is_supported()?rs:n==="sessionstorage"&&Tt.is_supported()?Tt:n==="memory"?M0:n==="cookie"?jn:rs.is_supported()?rs:jn}},{key:"properties",value:function(){var t={};return Ve(this.props,function(n,r){if(r===li&&Mn(n))for(var i=Object.keys(n),s=0;s<i.length;s++)t["$feature/".concat(i[s])]=n[i[s]];else l=r,c=!1,(xn(o=S0)?c:Hd&&o.indexOf===Hd?o.indexOf(l)!=-1:(Ve(o,function(d){if(c||(c=d===l))return Vo}),c))||(t[r]=n);var o,l,c}),t}},{key:"load",value:function(){if(!this.disabled){var t=this.storage.parse(this.name);t&&(this.props=At({},t))}}},{key:"save",value:function(){this.disabled||this.storage.set(this.name,this.props,this.expire_days,this.cross_subdomain,this.secure)}},{key:"remove",value:function(){this.storage.remove(this.name,!1),this.storage.remove(this.name,!0)}},{key:"clear",value:function(){this.remove(),this.props={}}},{key:"register_once",value:function(t,n,r){var i=this;if(Mn(t)){ge(n)&&(n="None"),this.expire_days=ge(r)?this.default_expiry:r;var s=!1;if(Ve(t,function(o,l){i.props.hasOwnProperty(l)&&i.props[l]!==n||(i.props[l]=o,s=!0)}),s)return this.save(),!0}return!1}},{key:"register",value:function(t,n){var r=this;if(Mn(t)){this.expire_days=ge(n)?this.default_expiry:n;var i=!1;if(Ve(t,function(s,o){t.hasOwnProperty(o)&&r.props[o]!==s&&(r.props[o]=s,i=!0)}),i)return this.save(),!0}return!1}},{key:"unregister",value:function(t){t in this.props&&(delete this.props[t],this.save())}},{key:"update_campaign_params",value:function(){this.campaign_params_saved||(this.register(Ct.campaignParams(this.config.custom_campaign_params)),this.campaign_params_saved=!0)}},{key:"set_initial_campaign_params",value:function(){this.register_once(j({},rc,Ct.campaignParams(this.config.custom_campaign_params)),void 0)}},{key:"update_search_keyword",value:function(){this.register(Ct.searchInfo())}},{key:"update_referrer_info",value:function(){this.register(Ct.referrerInfo())}},{key:"set_initial_referrer_info",value:function(){this.register_once(j({},ic,Ct.referrerInfo()),void 0)}},{key:"get_referrer_info",value:function(){return Jl({$referrer:this.props.$referrer,$referring_domain:this.props.$referring_domain})}},{key:"get_initial_props",value:function(){var t=this,n={};return Ve([ic,rc],function(r){var i=t.props[r];i&&Ve(i,function(s,o){var l;n["$initial_"+(l=o,l.replace(/^\$/,""))]=s})}),n}},{key:"safe_merge",value:function(t){return Ve(this.props,function(n,r){r in t||(t[r]=n)}),t}},{key:"update_config",value:function(t,n){if(this.default_expiry=this.expire_days=t.cookie_expiration,this.set_disabled(t.disable_persistence),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie),t.persistence!==n.persistence){var r=this.buildStorage(t),i=this.props;this.clear(),this.storage=r,this.props=i,this.save()}}},{key:"set_disabled",value:function(t){this.disabled=t,this.disabled?this.remove():this.save()}},{key:"set_cross_subdomain",value:function(t){t!==this.cross_subdomain&&(this.cross_subdomain=t,this.remove(),this.save())}},{key:"get_cross_subdomain",value:function(){return!!this.cross_subdomain}},{key:"set_secure",value:function(t){t!==this.secure&&(this.secure=t,this.remove(),this.save())}},{key:"set_event_timer",value:function(t,n){var r=this.props[ns]||{};r[t]=n,this.props[ns]=r,this.save()}},{key:"remove_event_timer",value:function(t){var n=(this.props[ns]||{})[t];return ge(n)||(delete this.props[ns][t],this.save()),n}},{key:"get_property",value:function(t){return this.props[t]}},{key:"set_property",value:function(t,n){this.props[t]=n,this.save()}}]),e}(),X0=2,J0=4,Q0=Ze(function e(t){var n,r,i=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Qe(this,e),j(this,"bucketSize",100),j(this,"refillRate",10),j(this,"mutationBuckets",{}),j(this,"loggedTracker",{}),j(this,"refillBuckets",function(){Object.keys(i.mutationBuckets).forEach(function(o){i.mutationBuckets[o]=i.mutationBuckets[o]+i.refillRate,i.mutationBuckets[o]>=i.bucketSize&&delete i.mutationBuckets[o]})}),j(this,"getNodeOrRelevantParent",function(o){var l=i.rrweb.mirror.getNode(o);if((l==null?void 0:l.nodeName)!=="svg"&&l instanceof Element){var c=l.closest("svg");if(c)return[i.rrweb.mirror.getId(c),c]}return[o,l]}),j(this,"numberOfChanges",function(o){var l,c,d,f,h,m,v,y;return((l=(c=o.removes)===null||c===void 0?void 0:c.length)!==null&&l!==void 0?l:0)+((d=(f=o.attributes)===null||f===void 0?void 0:f.length)!==null&&d!==void 0?d:0)+((h=(m=o.texts)===null||m===void 0?void 0:m.length)!==null&&h!==void 0?h:0)+((v=(y=o.adds)===null||y===void 0?void 0:y.length)!==null&&v!==void 0?v:0)}),j(this,"throttleMutations",function(o){if(o.type!==3||o.data.source!==0)return o;var l=o.data,c=i.numberOfChanges(l);l.attributes&&(l.attributes=l.attributes.filter(function(f){var h,m,v,y=Bt(i.getNodeOrRelevantParent(f.id),2),w=y[0],C=y[1];return i.mutationBuckets[w]===0?!1:(i.mutationBuckets[w]=(h=i.mutationBuckets[w])!==null&&h!==void 0?h:i.bucketSize,i.mutationBuckets[w]=Math.max(i.mutationBuckets[w]-1,0),i.mutationBuckets[w]===0&&(i.loggedTracker[w]||(i.loggedTracker[w]=!0,(m=(v=i.options).onBlockedNode)===null||m===void 0||m.call(v,w,C))),f)}));var d=i.numberOfChanges(l);return d!==0||c===d?o:void 0}),this.rrweb=t,this.options=s,this.refillRate=(n=this.options.refillRate)!==null&&n!==void 0?n:this.refillRate,this.bucketSize=(r=this.options.bucketSize)!==null&&r!==void 0?r:this.bucketSize,setInterval(function(){i.refillBuckets()},1e3)}),Mo=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}(Mo||{});function au(e){return e?xa(e).split(/\s+/):[]}function Qo(e){var t="";switch(Es(e.className)){case"string":t=e.className;break;case"object":t=("baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return au(t)}function zm(e){return vr(e)?null:xa(e).split(/(\s+)/).filter(function(t){return yi(t)}).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function Zo(e){var t="";return cc(e)&&!Km(e)&&e.childNodes&&e.childNodes.length&&Ve(e.childNodes,function(n){var r;Um(n)&&n.textContent&&(t+=(r=zm(n.textContent))!==null&&r!==void 0?r:"")}),xa(t)}function lu(e){return!!e&&e.nodeType===1}function _r(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function Um(e){return!!e&&e.nodeType===3}function Wm(e){return!!e&&e.nodeType===11}var lc=["a","button","form","input","select","textarea","label"];function Vm(e){var t=e.parentNode;return!(!t||!lu(t))&&t}function Z0(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;if(!P||!e||_r(e,"html")||!lu(e))return!1;if(n!=null&&n.url_allowlist){var s=P.location.href,o=n.url_allowlist;if(o&&!o.some(function(w){return s.match(w)}))return!1}if(n!=null&&n.dom_event_allowlist){var l=n.dom_event_allowlist;if(l&&!l.some(function(w){return t.type===w}))return!1}for(var c=!1,d=[e],f=!0,h=e;h.parentNode&&!_r(h,"body");)if(Wm(h.parentNode))d.push(h.parentNode.host),h=h.parentNode.host;else{if(!(f=Vm(h)))break;if(r||lc.indexOf(f.tagName.toLowerCase())>-1)c=!0;else{var m=P.getComputedStyle(f);m&&m.getPropertyValue("cursor")==="pointer"&&(c=!0)}d.push(f),h=f}if(!function(w,C){var E=C==null?void 0:C.element_allowlist;if(ge(E))return!0;var A,R=En(w);try{var K=function(){var fe=A.value;if(E.some(function(ke){return fe.tagName.toLowerCase()===ke}))return{v:!0}};for(R.s();!(A=R.n()).done;){var Z=K();if(Es(Z)==="object")return Z.v}}catch(fe){R.e(fe)}finally{R.f()}return!1}(d,n)||!function(w,C){var E=C==null?void 0:C.css_selector_allowlist;if(ge(E))return!0;var A,R=En(w);try{var K=function(){var fe=A.value;if(E.some(function(ke){return fe.matches(ke)}))return{v:!0}};for(R.s();!(A=R.n()).done;){var Z=K();if(Es(Z)==="object")return Z.v}}catch(fe){R.e(fe)}finally{R.f()}return!1}(d,n))return!1;var v=P.getComputedStyle(e);if(v&&v.getPropertyValue("cursor")==="pointer"&&t.type==="click")return!0;var y=e.tagName.toLowerCase();switch(y){case"html":return!1;case"form":return(i||["submit"]).indexOf(t.type)>=0;case"input":case"select":case"textarea":return(i||["change","click"]).indexOf(t.type)>=0;default:return c?(i||["click"]).indexOf(t.type)>=0:(i||["click"]).indexOf(t.type)>=0&&(lc.indexOf(y)>-1||e.getAttribute("contenteditable")==="true")}}function cc(e){for(var t=e;t.parentNode&&!_r(t,"body");t=t.parentNode){var n=Qo(t);if(Te(n,"ph-sensitive")||Te(n,"ph-no-capture"))return!1}if(Te(Qo(e),"ph-include"))return!0;var r=e.type||"";if(Nt(r))switch(r.toLowerCase()){case"hidden":case"password":return!1}var i=e.name||e.id||"";return!(Nt(i)&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(i.replace(/[^a-zA-Z0-9]/g,"")))}function Km(e){return!!(_r(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||_r(e,"select")||_r(e,"textarea")||e.getAttribute("contenteditable")==="true")}var Ym="(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})",e1=new RegExp("^(?:".concat(Ym,")$")),t1=new RegExp(Ym),Gm="\\d{3}-?\\d{2}-?\\d{4}",n1=new RegExp("^(".concat(Gm,")$")),r1=new RegExp("(".concat(Gm,")"));function yi(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return!(vr(e)||Nt(e)&&(e=xa(e),(t?e1:t1).test((e||"").replace(/[- ]/g,""))||(t?n1:r1).test(e)))}function oh(e){var t=Zo(e);return yi(t="".concat(t," ").concat(Xm(e)).trim())?t:""}function Xm(e){var t="";return e&&e.childNodes&&e.childNodes.length&&Ve(e.childNodes,function(n){var r;if(n&&((r=n.tagName)===null||r===void 0?void 0:r.toLowerCase())==="span")try{var i=Zo(n);t="".concat(t," ").concat(i).trim(),n.childNodes&&n.childNodes.length&&(t="".concat(t," ").concat(Xm(n)).trim())}catch(s){W.error(s)}}),t}function i1(e){return function(t){var n=t.map(function(r){var i,s,o="";if(r.tag_name&&(o+=r.tag_name),r.attr_class){r.attr_class.sort();var l,c=En(r.attr_class);try{for(c.s();!(l=c.n()).done;){var d=l.value;o+=".".concat(d.replace(/"/g,""))}}catch(m){c.e(m)}finally{c.f()}}var f=re(re(re(re({},r.text?{text:r.text}:{}),{},{"nth-child":(i=r.nth_child)!==null&&i!==void 0?i:0,"nth-of-type":(s=r.nth_of_type)!==null&&s!==void 0?s:0},r.href?{href:r.href}:{}),r.attr_id?{attr_id:r.attr_id}:{}),r.attributes),h={};return No(f).sort(function(m,v){var y=Bt(m,1)[0],w=Bt(v,1)[0];return y.localeCompare(w)}).forEach(function(m){var v=Bt(m,2),y=v[0],w=v[1];return h[ah(y.toString())]=ah(w.toString())}),o+=":",o+=No(f).map(function(m){var v=Bt(m,2),y=v[0],w=v[1];return"".concat(y,'="').concat(w,'"')}).join("")});return n.join(";")}(function(t){return t.map(function(n){var r,i,s={text:(r=n.$el_text)===null||r===void 0?void 0:r.slice(0,400),tag_name:n.tag_name,href:(i=n.attr__href)===null||i===void 0?void 0:i.slice(0,2048),attr_class:s1(n),attr_id:n.attr__id,nth_child:n.nth_child,nth_of_type:n.nth_of_type,attributes:{}};return No(n).filter(function(o){return Bt(o,1)[0].indexOf("attr__")===0}).forEach(function(o){var l=Bt(o,2),c=l[0],d=l[1];return s.attributes[c]=d}),s})}(e))}function ah(e){return e.replace(/"|\\"/g,'\\"')}function s1(e){var t=e.attr__class;return t?bt(t)?t:au(t):void 0}var uc="[SessionRecording]",bl={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],maskRequestFn:function(e){return e},recordHeaders:!1,recordBody:!1,recordInitialRequests:!1,recordPerformance:!1,performanceEntryTypeToObserve:["first-input","navigation","paint","resource"],payloadSizeLimitBytes:1e6},o1=["authorization","x-forwarded-for","authorization","cookie","set-cookie","x-api-key","x-real-ip","remote-addr","forwarded","proxy-authorization","x-csrf-token","x-csrftoken","x-xsrf-token"],a1=["password","secret","passwd","api_key","apikey","auth","credentials","mysql_pwd","privatekey","private_key","token"],l1=["/s/","/e/","/i/"];function lh(e,t,n,r){if(vr(e))return e;var i=(t==null?void 0:t["content-length"])||function(s){return new Blob([s]).size}(e);return Nt(i)&&(i=parseInt(i)),i>n?uc+" ".concat(r," body too large to record (").concat(i," bytes)"):e}function ch(e,t){if(vr(e))return e;var n=e;return yi(n,!1)||(n=uc+" "+t+" body redacted"),Ve(a1,function(r){var i,s;(i=n)!==null&&i!==void 0&&i.length&&((s=n)===null||s===void 0?void 0:s.indexOf(r))!==-1&&(n=uc+" "+t+" body redacted as might contain: "+r)}),n}var c1=function(e,t){var n,r,i,s={payloadSizeLimitBytes:bl.payloadSizeLimitBytes,performanceEntryTypeToObserve:Si(bl.performanceEntryTypeToObserve)},o=e.session_recording.recordHeaders!==!1&&t.recordHeaders,l=e.session_recording.recordBody!==!1&&t.recordBody,c=e.capture_performance!==!1&&t.recordPerformance,d=(n=s,i=Math.min(1e6,(r=n.payloadSizeLimitBytes)!==null&&r!==void 0?r:1e6),function(m){return m!=null&&m.requestBody&&(m.requestBody=lh(m.requestBody,m.requestHeaders,i,"Request")),m!=null&&m.responseBody&&(m.responseBody=lh(m.responseBody,m.responseHeaders,i,"Response")),m}),f=function(m){return d(function(w){var C=Cm(w.name);if(!(C&&C.pathname&&l1.some(function(E){return C.pathname.indexOf(E)===0})))return w}((v=m,Ve(Object.keys((y=v.requestHeaders)!==null&&y!==void 0?y:{}),function(w){var C;o1.includes(w.toLowerCase())&&((C=v.requestHeaders)===null||C===void 0||delete C[w])}),v)));var v,y},h=kn(e.session_recording.maskNetworkRequestFn);return h&&kn(e.session_recording.maskCapturedNetworkRequestFn)&&W.warn("Both `maskNetworkRequestFn` and `maskCapturedNetworkRequestFn` are defined. `maskNetworkRequestFn` will be ignored."),h&&(e.session_recording.maskCapturedNetworkRequestFn=function(m){var v=e.session_recording.maskNetworkRequestFn({url:m.name});return re(re({},m),{},{name:v==null?void 0:v.url})}),s.maskRequestFn=kn(e.session_recording.maskCapturedNetworkRequestFn)?function(m){var v,y,w,C=f(m);return C&&(v=(y=(w=e.session_recording).maskCapturedNetworkRequestFn)===null||y===void 0?void 0:y.call(w,C))!==null&&v!==void 0?v:void 0}:function(m){return function(v){if(!ge(v))return v.requestBody=ch(v.requestBody,"Request"),v.responseBody=ch(v.responseBody,"Response"),v}(f(m))},re(re(re({},bl),s),{},{recordHeaders:o,recordBody:l,recordPerformance:c,recordInitialRequests:c})},u1="__ph_opt_in_out_";function f1(e,t){Zm(!0,e,t)}function d1(e,t){Zm(!1,e,t)}function h1(e,t){return Qm(e,t)==="1"}function Jm(e,t){return!!function(n){if(n&&n.respectDnt){var r=n&&n.window||P,i=r==null?void 0:r.navigator,s=!1;return Ve([i==null?void 0:i.doNotTrack,i.msDoNotTrack,r.doNotTrack],function(o){Te([!0,1,"1","yes"],o)&&(s=!0)}),s}return!1}(t)||Qm(e,t)==="0"}function p1(e,t){cu(t=t||{}).remove(uu(e,t),!!t.crossSubdomainCookie)}function cu(e){return(e=e||{}).persistenceType==="localStorage"?mt:e.persistenceType==="localStorage+cookie"?rs:jn}function uu(e,t){return((t=t||{}).persistencePrefix||u1)+e}function Qm(e,t){return cu(t).get(uu(e,t))}function Zm(e,t,n){Nt(t)&&t.length?(cu(n=n||{}).set(uu(t,n),e?1:0,pn(n.cookieExpiration)?n.cookieExpiration:null,n.crossSubdomainCookie,n.secureCookie),n.capture&&e&&n.capture(n.captureEventName||"$opt_in",n.captureProperties||{},{send_instantly:!0})):W.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token")}function eg(e){var t=!1;try{var n=e.config.token,r=e.config.respect_dnt,i=e.config.opt_out_capturing_persistence_type,s=e.config.opt_out_capturing_cookie_prefix||void 0,o=e.config.window;n&&(t=Jm(n,{respectDnt:r,persistenceType:i,persistencePrefix:s,window:o}))}catch(l){W.error("Unexpected error when checking capturing opt-out status: "+l)}return t}var In,tg=3e5,uh=tg;(function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet"})(In||(In={}));var m1=[In.MouseMove,In.MouseInteraction,In.Scroll,In.ViewportResize,In.Input,In.TouchMove,In.MediaInteraction,In.Drag],fh=function(e){return{rrwebMethod:e,enqueuedAt:Date.now(),attempt:1}},Xt="[SessionRecording]",g1=function(){function e(t){var n=this;if(Qe(this,e),j(this,"queuedRRWebEvents",[]),j(this,"isIdle",!1),j(this,"_linkedFlagSeen",!1),j(this,"_lastActivityTimestamp",Date.now()),j(this,"windowId",null),j(this,"sessionId",null),j(this,"_linkedFlag",null),j(this,"_forceAllowLocalhostNetworkCapture",!1),j(this,"_samplingSessionListener",null),this.instance=t,this._captureStarted=!1,this._endpoint="/s/",this.stopRrweb=void 0,this.receivedDecide=!1,P==null||P.addEventListener("beforeunload",function(){n._flushBuffer()}),P==null||P.addEventListener("offline",function(){n._tryAddCustomEvent("browser offline",{})}),P==null||P.addEventListener("online",function(){n._tryAddCustomEvent("browser online",{})}),P==null||P.addEventListener("visibilitychange",function(){if(te!=null&&te.visibilityState){var r="window "+te.visibilityState;n._tryAddCustomEvent(r,{})}}),!this.instance.sessionManager)throw W.error(Xt+" started without valid sessionManager"),new Error(Xt+" started without valid sessionManager. This is a bug.");this.buffer=this.clearBuffer(),this._setupSampling()}return Ze(e,[{key:"rrwebRecord",get:function(){var t;return Jt==null||(t=Jt.rrweb)===null||t===void 0?void 0:t.record}},{key:"started",get:function(){return this._captureStarted}},{key:"sessionManager",get:function(){if(!this.instance.sessionManager)throw W.error(Xt+" started without valid sessionManager"),new Error(Xt+" started without valid sessionManager. This is a bug.");return this.instance.sessionManager}},{key:"isSampled",get:function(){var t=this.instance.get_property(cs);return Fo(t)?t:null}},{key:"sessionDuration",get:function(){var t,n,r=(t=this.buffer)===null||t===void 0?void 0:t.data[((n=this.buffer)===null||n===void 0?void 0:n.data.length)-1],i=this.sessionManager.checkAndGetSessionAndWindowId(!0).sessionStartTimestamp;return r?r.timestamp-i:null}},{key:"isRecordingEnabled",get:function(){var t=!!this.instance.get_property(Ql),n=!this.instance.config.disable_session_recording;return P&&t&&n}},{key:"isConsoleLogCaptureEnabled",get:function(){var t=!!this.instance.get_property(Vd),n=this.instance.config.enable_recording_console_log;return n??t}},{key:"canvasRecording",get:function(){var t=this.instance.get_property(Yd);return t&&t.fps&&t.quality?{enabled:t.enabled,fps:t.fps,quality:t.quality}:void 0}},{key:"networkPayloadCapture",get:function(){var t,n,r=this.instance.get_property(Kd),i={recordHeaders:(t=this.instance.config.session_recording)===null||t===void 0?void 0:t.recordHeaders,recordBody:(n=this.instance.config.session_recording)===null||n===void 0?void 0:n.recordBody},s=(i==null?void 0:i.recordHeaders)||(r==null?void 0:r.recordHeaders),o=(i==null?void 0:i.recordBody)||(r==null?void 0:r.recordBody),l=this.instance.config.capture_performance||(r==null?void 0:r.capturePerformance);return s||o||l?{recordHeaders:s,recordBody:o,recordPerformance:l}:void 0}},{key:"sampleRate",get:function(){var t=this.instance.get_property(Gd);return pn(t)?t:null}},{key:"minimumDuration",get:function(){var t=this.instance.get_property(Xd);return pn(t)?t:null}},{key:"status",get:function(){return this.receivedDecide?this.isRecordingEnabled?vr(this._linkedFlag)||this._linkedFlagSeen?Fo(this.isSampled)?this.isSampled?"sampled":"disabled":"active":"buffering":"disabled":"buffering"}},{key:"startIfEnabledOrStop",value:function(){this.isRecordingEnabled?(this._startCapture(),W.info(Xt+" started")):(this.stopRecording(),this.clearBuffer())}},{key:"stopRecording",value:function(){this._captureStarted&&this.stopRrweb&&(this.stopRrweb(),this.stopRrweb=void 0,this._captureStarted=!1,W.info(Xt+" stopped"))}},{key:"makeSamplingDecision",value:function(t){var n,r=this.sessionId!==t,i=this.sampleRate;if(pn(i)){var s,o=this.isSampled,l=r||!Fo(o);l?s=Math.random()<i:s=o,!s&&l&&W.warn(Xt+" Sample rate (".concat(i,") has determined that this sessionId (").concat(t,") will not be sent to the server.")),this._tryAddCustomEvent("samplingDecisionMade",{sampleRate:i}),(n=this.instance.persistence)===null||n===void 0||n.register(j({},cs,s))}else{var c;(c=this.instance.persistence)===null||c===void 0||c.register(j({},cs,null))}}},{key:"afterDecideResponse",value:function(t){var n,r,i,s=this;if(this._persistDecideResponse(t),this._linkedFlag=((n=t.sessionRecording)===null||n===void 0?void 0:n.linkedFlag)||null,(r=t.sessionRecording)!==null&&r!==void 0&&r.endpoint&&(this._endpoint=(i=t.sessionRecording)===null||i===void 0?void 0:i.endpoint),this._setupSampling(),!vr(this._linkedFlag)){var o=Nt(this._linkedFlag)?this._linkedFlag:this._linkedFlag.flag,l=Nt(this._linkedFlag)?null:this._linkedFlag.variant;this.instance.onFeatureFlags(function(c,d){var f=Mn(d)&&o in d,h=l?d[o]===l:f;if(h){var m={linkedFlag:o,linkedVariant:l},v="linked flag matched";W.info(Xt+" "+v,m),s._tryAddCustomEvent(v,m)}s._linkedFlagSeen=h})}this.receivedDecide=!0,this.startIfEnabledOrStop()}},{key:"_setupSampling",value:function(){var t=this;pn(this.sampleRate)&&xn(this._samplingSessionListener)&&(this._samplingSessionListener=this.sessionManager.onSessionId(function(n){t.makeSamplingDecision(n)}))}},{key:"_persistDecideResponse",value:function(t){if(this.instance.persistence){var n=this.instance.persistence,r=function(){var i,s,o,l,c,d,f,h,m=(i=t.sessionRecording)===null||i===void 0?void 0:i.sampleRate,v=vr(m)?null:parseFloat(m),y=(s=t.sessionRecording)===null||s===void 0?void 0:s.minimumDurationMilliseconds;n.register((j(h={},Ql,!!t.sessionRecording),j(h,Vd,(o=t.sessionRecording)===null||o===void 0?void 0:o.consoleLogRecordingEnabled),j(h,Kd,re({capturePerformance:t.capturePerformance},(l=t.sessionRecording)===null||l===void 0?void 0:l.networkPayloadCapture)),j(h,Yd,{enabled:(c=t.sessionRecording)===null||c===void 0?void 0:c.recordCanvas,fps:(d=t.sessionRecording)===null||d===void 0?void 0:d.canvasFps,quality:(f=t.sessionRecording)===null||f===void 0?void 0:f.canvasQuality}),j(h,Gd,v),j(h,Xd,ge(y)?null:y),h))};r(),this.sessionManager.onSessionId(r)}}},{key:"log",value:function(t){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"log";(n=this.instance.sessionRecording)===null||n===void 0||n.onRRwebEmit({type:6,data:{plugin:"rrweb/console@1",payload:{level:r,trace:[],payload:[JSON.stringify(t)]}},timestamp:Em()})}},{key:"_startCapture",value:function(){var t=this;ge(Object.assign)||this._captureStarted||this.instance.config.disable_session_recording||eg(this.instance)||(this._captureStarted=!0,this.sessionManager.checkAndGetSessionAndWindowId(),this.rrwebRecord?this._onScriptLoaded():As(this.instance.requestRouter.endpointFor("assets","/static/recorder.js?v=".concat(jr.LIB_VERSION)),function(n){if(n)return W.error(Xt+" could not load recorder.js",n);t._onScriptLoaded()}))}},{key:"isInteractiveEvent",value:function(t){var n;return t.type===3&&m1.indexOf((n=t.data)===null||n===void 0?void 0:n.source)!==-1}},{key:"_updateWindowAndSessionIds",value:function(t){var n=this.isInteractiveEvent(t);n||this.isIdle||t.timestamp-this._lastActivityTimestamp>uh&&(this.isIdle=!0,this._tryAddCustomEvent("sessionIdle",{reason:"user inactivity",timeSinceLastActive:t.timestamp-this._lastActivityTimestamp,threshold:uh}));var r=!1;if(n&&(this._lastActivityTimestamp=t.timestamp,this.isIdle&&(this.isIdle=!1,this._tryAddCustomEvent("sessionNoLongerIdle",{reason:"user activity",type:t.type}),r=!0)),!this.isIdle){var i=this.sessionManager.checkAndGetSessionAndWindowId(!n,t.timestamp),s=i.windowId,o=i.sessionId,l=this.sessionId!==o,c=this.windowId!==s;this.windowId=s,this.sessionId=o,(r||[X0,J0].indexOf(t.type)===-1&&(c||l))&&this._tryTakeFullSnapshot()}}},{key:"_tryRRWebMethod",value:function(t){try{return t.rrwebMethod(),!0}catch(n){return this.queuedRRWebEvents.length<10?this.queuedRRWebEvents.push({enqueuedAt:t.enqueuedAt||Date.now(),attempt:t.attempt++,rrwebMethod:t.rrwebMethod}):W.warn(Xt+" could not emit queued rrweb event.",n,t),!1}}},{key:"_tryAddCustomEvent",value:function(t,n){var r=this;return this._tryRRWebMethod(fh(function(){return r.rrwebRecord.addCustomEvent(t,n)}))}},{key:"_tryTakeFullSnapshot",value:function(){var t=this;return this._tryRRWebMethod(fh(function(){return t.rrwebRecord.takeFullSnapshot()}))}},{key:"_onScriptLoaded",value:function(){for(var t,n=this,r={blockClass:"ph-no-capture",blockSelector:void 0,ignoreClass:"ph-ignore-input",maskTextClass:"ph-mask",maskTextSelector:void 0,maskTextFn:void 0,maskAllInputs:!0,maskInputOptions:{},maskInputFn:void 0,slimDOMOptions:{},collectFonts:!1,inlineStylesheet:!0,recordCrossOriginIframes:!1},i=this.instance.config.session_recording,s=0,o=Object.entries(i||{});s<o.length;s++){var l=Bt(o[s],2),c=l[0],d=l[1];c in r&&(r[c]=d)}if(this.canvasRecording&&this.canvasRecording.enabled&&(r.recordCanvas=!0,r.sampling={canvas:this.canvasRecording.fps},r.dataURLOptions={type:"image/webp",quality:this.canvasRecording.quality}),this.rrwebRecord){this.mutationRateLimiter=(t=this.mutationRateLimiter)!==null&&t!==void 0?t:new Q0(this.rrwebRecord,{onBlockedNode:function(h,m){var v="Too many mutations on node '".concat(h,"'. Rate limiting. This could be due to SVG animations or something similar");W.info(v,{node:m}),n.log(Xt+" "+v,"warn")}}),this._scheduleFullSnapshot();var f=this._gatherRRWebPlugins();this.stopRrweb=this.rrwebRecord(re({emit:function(h){n.onRRwebEmit(h)},plugins:f},r)),this.instance._addCaptureHook(function(h){try{if(h==="$pageview"){var m=P?n._maskUrl(P.location.href):"";if(!m)return;n._tryAddCustomEvent("$pageview",{href:m}),n._tryTakeFullSnapshot()}}catch(v){W.error("Could not add $pageview to rrweb session",v)}}),this._lastActivityTimestamp=Date.now(),this.isIdle=!1,this._tryAddCustomEvent("$session_options",{sessionRecordingOptions:r,activePlugins:f.map(function(h){return h==null?void 0:h.name})}),this._tryAddCustomEvent("$posthog_config",{config:this.instance.config})}else W.error(Xt+"onScriptLoaded was called but rrwebRecord is not available. This indicates something has gone wrong.")}},{key:"_scheduleFullSnapshot",value:function(){var t=this;this._fullSnapshotTimer&&clearInterval(this._fullSnapshotTimer),this._fullSnapshotTimer=setInterval(function(){t._tryTakeFullSnapshot()},tg)}},{key:"_gatherRRWebPlugins",value:function(){var t=[];return Jt.rrwebConsoleRecord&&this.isConsoleLogCaptureEnabled&&t.push(Jt.rrwebConsoleRecord.getRecordConsolePlugin()),this.networkPayloadCapture&&kn(Jt.getRecordNetworkPlugin)&&(!L0.includes(location.hostname)||this._forceAllowLocalhostNetworkCapture?t.push(Jt.getRecordNetworkPlugin(c1(this.instance.config,this.networkPayloadCapture))):W.info(Xt+" NetworkCapture not started because we are on localhost.")),t}},{key:"onRRwebEmit",value:function(t){if(this._processQueuedEvents(),t&&Mn(t)){if(t.type===Mo.Meta){var n=this._maskUrl(t.data.href);if(this._lastHref=n,!n)return;t.data.href=n}else this._pageViewFallBack();t.type===Mo.FullSnapshot&&this._scheduleFullSnapshot();var r=this.mutationRateLimiter?this.mutationRateLimiter.throttleMutations(t):t;if(r){var i=function(l){var c=l;if(c&&Mn(c)&&c.type===6&&Mn(c.data)&&c.data.plugin==="rrweb/console@1"){c.data.payload.payload.length>10&&(c.data.payload.payload=c.data.payload.payload.slice(0,10),c.data.payload.payload.push("...[truncated]"));for(var d=[],f=0;f<c.data.payload.payload.length;f++)c.data.payload.payload[f]&&c.data.payload.payload[f].length>2e3?d.push(c.data.payload.payload[f].slice(0,2e3)+"...[truncated]"):d.push(c.data.payload.payload[f]);return c.data.payload.payload=d,l}return l}(r),s=JSON.stringify(i).length;if(this._updateWindowAndSessionIds(i),!this.isIdle||i.type===Mo.Custom){var o={$snapshot_bytes:s,$snapshot_data:i,$session_id:this.sessionId,$window_id:this.windowId};this.status!=="disabled"?this._captureSnapshotBuffered(o):this.clearBuffer()}}}}},{key:"_pageViewFallBack",value:function(){if(!this.instance.config.capture_pageview&&P){var t=this._maskUrl(P.location.href);this._lastHref!==t&&(this._tryAddCustomEvent("$url_changed",{href:t}),this._lastHref=t)}}},{key:"_processQueuedEvents",value:function(){var t=this;if(this.queuedRRWebEvents.length){var n=Si(this.queuedRRWebEvents);this.queuedRRWebEvents=[],n.forEach(function(r){Date.now()-r.enqueuedAt>2e3?t._tryAddCustomEvent("rrwebQueueTimeout",{enqueuedAt:r.enqueuedAt,attempt:r.attempt,queueLength:n.length}):t._tryRRWebMethod(r)&&t._tryAddCustomEvent("rrwebQueueSuccess",{enqueuedAt:r.enqueuedAt,attempt:r.attempt,queueLength:n.length})})}}},{key:"_maskUrl",value:function(t){var n=this.instance.config.session_recording;if(n.maskNetworkRequestFn){var r,i={url:t};return(r=i=n.maskNetworkRequestFn(i))===null||r===void 0?void 0:r.url}return t}},{key:"clearBuffer",value:function(){return this.buffer=void 0,{size:0,data:[],sessionId:this.sessionId,windowId:this.windowId}}},{key:"_flushBuffer",value:function(){var t=this;this.flushBufferTimer&&(clearTimeout(this.flushBufferTimer),this.flushBufferTimer=void 0);var n=this.minimumDuration,r=this.sessionDuration,i=pn(r)&&r>=0,s=pn(n)&&i&&r<n;return this.status==="buffering"||s?(this.flushBufferTimer=setTimeout(function(){t._flushBuffer()},2e3),this.buffer||this.clearBuffer()):this.buffer&&this.buffer.data.length!==0?(this._captureSnapshot({$snapshot_bytes:this.buffer.size,$snapshot_data:this.buffer.data,$session_id:this.buffer.sessionId,$window_id:this.buffer.windowId}),this.clearBuffer()):this.buffer||this.clearBuffer()}},{key:"_captureSnapshotBuffered",value:function(t){var n,r=this,i=2+(((n=this.buffer)===null||n===void 0?void 0:n.data.length)||0);(!this.buffer||this.buffer.size+t.$snapshot_bytes+i>943718.4||this.buffer.sessionId&&this.buffer.sessionId!==this.sessionId)&&(this.buffer=this._flushBuffer()),xn(this.buffer.sessionId)&&!xn(this.sessionId)&&(this.buffer.sessionId=this.sessionId,this.buffer.windowId=this.windowId),this.buffer.size+=t.$snapshot_bytes,this.buffer.data.push(t.$snapshot_data),this.flushBufferTimer||(this.flushBufferTimer=setTimeout(function(){r._flushBuffer()},2e3))}},{key:"_captureSnapshot",value:function(t){this.instance.capture("$snapshot",t,{_url:this.instance.requestRouter.endpointFor("api",this._endpoint),_noTruncate:!0,_batchKey:"recordings",_noHeatmaps:!0})}}]),e}(),v1=function(){function e(t){Qe(this,e),this.instance=t,this.instance.decideEndpointWasHit=this.instance._hasBootstrappedFeatureFlags()}return Ze(e,[{key:"call",value:function(){var t=this,n={token:this.instance.config.token,distinct_id:this.instance.get_distinct_id(),groups:this.instance.getGroups(),person_properties:this.instance.get_property(ci),group_properties:this.instance.get_property(dr),disable_flags:this.instance.config.advanced_disable_feature_flags||this.instance.config.advanced_disable_feature_flags_on_first_load||void 0};this.instance._send_request({method:"POST",url:this.instance.requestRouter.endpointFor("api","/decide/?v=3"),data:n,compression:this.instance.config.disable_compression?void 0:gn.Base64,timeout:this.instance.config.feature_flag_request_timeout_ms,callback:function(r){return t.parseDecideResponse(r.json)}})}},{key:"parseDecideResponse",value:function(t){var n=this;this.instance.featureFlags.setReloadingPaused(!1),this.instance.featureFlags._startReloadTimer();var r=!t;if(this.instance.config.advanced_disable_feature_flags_on_first_load||this.instance.config.advanced_disable_feature_flags||this.instance.featureFlags.receivedFeatureFlags(t??{},r),r)W.error("Failed to fetch feature flags from PostHog.");else{if(!te||!te.body)return W.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout(function(){n.parseDecideResponse(t)},500);this.instance._afterDecideResponse(t);var i=P==null?void 0:P.extendPostHogWithExceptionAutoCapture;if(t.autocaptureExceptions&&t.autocaptureExceptions&&ge(i)&&As(this.instance.requestRouter.endpointFor("assets","/static/exception-autocapture.js"),function(c){if(c)return W.error("Could not load exception autocapture script",c);P.extendPostHogWithExceptionAutocapture(n.instance,t)}),t.siteApps)if(this.instance.config.opt_in_site_apps){var s,o=En(t.siteApps);try{var l=function(){var c=s.value,d=c.id,f=c.url,h=n.instance.requestRouter.endpointFor("api",f);Jt["__$$ph_site_app_".concat(d)]=n.instance,As(h,function(m){m&&W.error("Error while initializing PostHog app with config id ".concat(d),m)})};for(o.s();!(s=o.n()).done;)l()}catch(c){o.e(c)}finally{o.f()}}else t.siteApps.length>0&&W.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}}]),e}(),_1=P!=null&&P.location?Xo(P.location.hash,"__posthog")||Xo(location.hash,"state"):null,yl="_postHogToolbarParams",b1=function(){function e(t){Qe(this,e),j(this,"_toolbarScriptLoaded",!1),this.instance=t}return Ze(e,[{key:"maybeLoadToolbar",value:function(){var t,n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(!P||!te)return!1;r=(t=r)!==null&&t!==void 0?t:P.location,s=(n=s)!==null&&n!==void 0?n:P.history;try{if(!i){try{P.localStorage.setItem("test","test"),P.localStorage.removeItem("test")}catch{return!1}i=P==null?void 0:P.localStorage}var o,l=_1||Xo(r.hash,"__posthog")||Xo(r.hash,"state"),c=l?Ud(function(){return JSON.parse(atob(decodeURIComponent(l)))})||Ud(function(){return JSON.parse(decodeURIComponent(l))}):null;return c&&c.action==="ph_authorize"?((o=c).source="url",o&&Object.keys(o).length>0&&(c.desiredHash?r.hash=c.desiredHash:s?s.replaceState("",te.title,r.pathname+r.search):r.hash="")):((o=JSON.parse(i.getItem(yl)||"{}")).source="localstorage",delete o.userIntent),!(!o.token||this.instance.config.token!==o.token)&&(this.loadToolbar(o),!0)}catch{return!1}}},{key:"_callLoadToolbar",value:function(t){(Jt.ph_load_toolbar||Jt.ph_load_editor)(t,this.instance)}},{key:"loadToolbar",value:function(t){var n=this;if(!P||P.localStorage.getItem(yl)&&this._toolbarScriptLoaded)return!1;var r=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,i=re(re({token:this.instance.config.token},t),{},{apiURL:this.instance.requestRouter.endpointFor("ui")},r?{instrument:!1}:{});if(P.localStorage.setItem(yl,JSON.stringify(re(re({},i),{},{source:void 0}))),this._toolbarScriptLoaded)this._callLoadToolbar(i);else{this._toolbarScriptLoaded=!0;var s=3e5,o=Math.floor(Date.now()/s)*s;As(this.instance.requestRouter.endpointFor("assets","/static/toolbar.js?t=".concat(o)),function(l){if(l)return W.error("Failed to load toolbar",l),void(n._toolbarScriptLoaded=!1);n._callLoadToolbar(i)}),Yn(P,"turbolinks:load",function(){n._toolbarScriptLoaded=!1,n.loadToolbar(i)})}return!0}},{key:"_loadEditor",value:function(t){return this.loadToolbar(t)}},{key:"maybeLoadEditor",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return this.maybeLoadToolbar(t,n,r)}}]),e}(),y1=function(){function e(t){Qe(this,e),j(this,"isPaused",!0),j(this,"queue",[]),j(this,"flushTimeoutMs",3e3),this.sendRequest=t}return Ze(e,[{key:"enqueue",value:function(t){this.queue.push(t),this.flushTimeout||this.setFlushTimeout()}},{key:"unload",value:function(){var t=this;this.clearFlushTimeout();var n=this.queue.length>0?this.formatQueue():{},r=Object.values(n);[].concat(Si(r.filter(function(i){return i.url.indexOf("/e")===0})),Si(r.filter(function(i){return i.url.indexOf("/e")!==0}))).map(function(i){t.sendRequest(re(re({},i),{},{transport:"sendBeacon"}))})}},{key:"enable",value:function(){this.isPaused=!1,this.setFlushTimeout()}},{key:"setFlushTimeout",value:function(){var t=this;this.isPaused||(this.flushTimeout=setTimeout(function(){if(t.clearFlushTimeout(),t.queue.length>0){var n=t.formatQueue(),r=function(s){var o=n[s],l=new Date().getTime();o.data&&bt(o.data)&&Ve(o.data,function(c){c.offset=Math.abs(c.timestamp-l),delete c.timestamp}),t.sendRequest(o)};for(var i in n)r(i)}},this.flushTimeoutMs))}},{key:"clearFlushTimeout",value:function(){clearTimeout(this.flushTimeout),this.flushTimeout=void 0}},{key:"formatQueue",value:function(){var t={};return Ve(this.queue,function(n){var r,i=n,s=(i?i.batchKey:null)||i.url;ge(t[s])&&(t[s]=re(re({},i),{},{data:[]})),(r=t[s].data)===null||r===void 0||r.push(i.data)}),this.queue=[],t}}]),e}(),Qt=Uint8Array,qt=Uint16Array,Ci=Uint32Array,fu=new Qt([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]),du=new Qt([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]),dh=new Qt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ng=function(e,t){for(var n=new qt(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var i=new Ci(n[30]);for(r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)i[s]=s-n[r]<<5|r;return[n,i]},rg=ng(fu,2),w1=rg[0],fc=rg[1];w1[28]=258,fc[258]=28;for(var hh=ng(du,0)[1],dc=new qt(32768),Xe=0;Xe<32768;++Xe){var Nr=(43690&Xe)>>>1|(21845&Xe)<<1;Nr=(61680&(Nr=(52428&Nr)>>>2|(13107&Nr)<<2))>>>4|(3855&Nr)<<4,dc[Xe]=((65280&Nr)>>>8|(255&Nr)<<8)>>>1}var us=function(e,t,n){for(var r=e.length,i=0,s=new qt(t);i<r;++i)++s[e[i]-1];var o,l=new qt(t);for(i=0;i<t;++i)l[i]=l[i-1]+s[i-1]<<1;if(n){o=new qt(1<<t);var c=15-t;for(i=0;i<r;++i)if(e[i])for(var d=i<<4|e[i],f=t-e[i],h=l[e[i]-1]++<<f,m=h|(1<<f)-1;h<=m;++h)o[dc[h]>>>c]=d}else for(o=new qt(r),i=0;i<r;++i)o[i]=dc[l[e[i]-1]++]>>>15-e[i];return o},Kr=new Qt(288);for(Xe=0;Xe<144;++Xe)Kr[Xe]=8;for(Xe=144;Xe<256;++Xe)Kr[Xe]=9;for(Xe=256;Xe<280;++Xe)Kr[Xe]=7;for(Xe=280;Xe<288;++Xe)Kr[Xe]=8;var ea=new Qt(32);for(Xe=0;Xe<32;++Xe)ea[Xe]=5;var k1=us(Kr,9,0),x1=us(ea,5,0),ig=function(e){return(e/8>>0)+(7&e&&1)},sg=function(e,t,n){(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length);var r=new(e instanceof qt?qt:e instanceof Ci?Ci:Qt)(n-t);return r.set(e.subarray(t,n)),r},Un=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8},Gi=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},wl=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var i=n.length,s=n.slice();if(!i)return[new Qt(0),0];if(i==1){var o=new Qt(n[0].s+1);return o[n[0].s]=1,[o,1]}n.sort(function(Z,fe){return Z.f-fe.f}),n.push({s:-1,f:25001});var l=n[0],c=n[1],d=0,f=1,h=2;for(n[0]={s:-1,f:l.f+c.f,l,r:c};f!=i-1;)l=n[n[d].f<n[h].f?d++:h++],c=n[d!=f&&n[d].f<n[h].f?d++:h++],n[f++]={s:-1,f:l.f+c.f,l,r:c};var m=s[0].s;for(r=1;r<i;++r)s[r].s>m&&(m=s[r].s);var v=new qt(m+1),y=E1(n[f-1],v,0);if(y>t){r=0;var w=0,C=y-t,E=1<<C;for(s.sort(function(Z,fe){return v[fe.s]-v[Z.s]||Z.f-fe.f});r<i;++r){var A=s[r].s;if(!(v[A]>t))break;w+=E-(1<<y-v[A]),v[A]=t}for(w>>>=C;w>0;){var R=s[r].s;v[R]<t?w-=1<<t-v[R]++-1:++r}for(;r>=0&&w;--r){var K=s[r].s;v[K]==t&&(--v[K],++w)}y=t}return[new Qt(v),y]},E1=function e(t,n,r){return t.s==-1?Math.max(e(t.l,n,r+1),e(t.r,n,r+1)):n[t.s]=r},ph=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new qt(++t),r=0,i=e[0],s=1,o=function(c){n[r++]=c},l=1;l<=t;++l)if(e[l]==i&&l!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(i),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(i);s=1,i=e[l]}return[n.subarray(0,r),t]},Xi=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},Lo=function(e,t,n){var r=n.length,i=ig(t+2);e[i]=255&r,e[i+1]=r>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var s=0;s<r;++s)e[i+s+4]=n[s];return 8*(i+4+r)},mh=function(e,t,n,r,i,s,o,l,c,d,f){Un(t,f++,n),++i[256];for(var h=wl(i,15),m=h[0],v=h[1],y=wl(s,15),w=y[0],C=y[1],E=ph(m),A=E[0],R=E[1],K=ph(w),Z=K[0],fe=K[1],ke=new qt(19),ae=0;ae<A.length;++ae)ke[31&A[ae]]++;for(ae=0;ae<Z.length;++ae)ke[31&Z[ae]]++;for(var et=wl(ke,7),Ue=et[0],kt=et[1],rt=19;rt>4&&!Ue[dh[rt-1]];--rt);var it,_t,pt,je,be=d+5<<3,ye=Xi(i,Kr)+Xi(s,ea)+o,st=Xi(i,m)+Xi(s,w)+o+14+3*rt+Xi(ke,Ue)+(2*ke[16]+3*ke[17]+7*ke[18]);if(be<=ye&&be<=st)return Lo(t,f,e.subarray(c,c+d));if(Un(t,f,1+(st<ye)),f+=2,st<ye){it=us(m,v,0),_t=m,pt=us(w,C,0),je=w;var F=us(Ue,kt,0);for(Un(t,f,R-257),Un(t,f+5,fe-1),Un(t,f+10,rt-4),f+=14,ae=0;ae<rt;++ae)Un(t,f+3*ae,Ue[dh[ae]]);f+=3*rt;for(var ft=[A,Z],Oe=0;Oe<2;++Oe){var ot=ft[Oe];for(ae=0;ae<ot.length;++ae){var Ne=31&ot[ae];Un(t,f,F[Ne]),f+=Ue[Ne],Ne>15&&(Un(t,f,ot[ae]>>>5&127),f+=ot[ae]>>>12)}}}else it=k1,_t=Kr,pt=x1,je=ea;for(ae=0;ae<l;++ae)if(r[ae]>255){Ne=r[ae]>>>18&31,Gi(t,f,it[Ne+257]),f+=_t[Ne+257],Ne>7&&(Un(t,f,r[ae]>>>23&31),f+=fu[Ne]);var Ot=31&r[ae];Gi(t,f,pt[Ot]),f+=je[Ot],Ot>3&&(Gi(t,f,r[ae]>>>5&8191),f+=du[Ot])}else Gi(t,f,it[r[ae]]),f+=_t[r[ae]];return Gi(t,f,it[256]),f+_t[256]},S1=new Ci([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),A1=new Qt(0),C1=function(){for(var e=new Ci(256),t=0;t<256;++t){for(var n=t,r=9;--r;)n=(1&n&&3988292384)^n>>>1;e[t]=n}return e}(),O1=function(e,t,n,r,i){return function(s,o,l,c,d,f){var h=s.length,m=new Qt(c+h+5*(1+Math.floor(h/7e3))+d),v=m.subarray(c,m.length-d),y=0;if(!o||h<8)for(var w=0;w<=h;w+=65535){var C=w+65535;C<h?y=Lo(v,y,s.subarray(w,C)):(v[w]=f,y=Lo(v,y,s.subarray(w,h)))}else{for(var E=S1[o-1],A=E>>>13,R=8191&E,K=(1<<l)-1,Z=new qt(32768),fe=new qt(K+1),ke=Math.ceil(l/3),ae=2*ke,et=function($){return(s[$]^s[$+1]<<ke^s[$+2]<<ae)&K},Ue=new Ci(25e3),kt=new qt(288),rt=new qt(32),it=0,_t=0,pt=(w=0,0),je=0,be=0;w<h;++w){var ye=et(w),st=32767&w,F=fe[ye];if(Z[st]=F,fe[ye]=st,je<=w){var ft=h-w;if((it>7e3||pt>24576)&&ft>423){y=mh(s,v,0,Ue,kt,rt,_t,pt,be,w-be,y),pt=it=_t=0,be=w;for(var Oe=0;Oe<286;++Oe)kt[Oe]=0;for(Oe=0;Oe<30;++Oe)rt[Oe]=0}var ot=2,Ne=0,Ot=R,Ee=st-F&32767;if(ft>2&&ye==et(w-Ee))for(var N=Math.min(A,ft)-1,I=Math.min(32767,w),q=Math.min(258,ft);Ee<=I&&--Ot&&st!=F;){if(s[w+ot]==s[w+ot-Ee]){for(var G=0;G<q&&s[w+G]==s[w+G-Ee];++G);if(G>ot){if(ot=G,Ne=Ee,G>N)break;var Se=Math.min(Ee,G-2),_=0;for(Oe=0;Oe<Se;++Oe){var b=w-Ee+Oe+32768&32767,S=b-Z[b]+32768&32767;S>_&&(_=S,F=b)}}}Ee+=(st=F)-(F=Z[st])+32768&32767}if(Ne){Ue[pt++]=268435456|fc[ot]<<18|hh[Ne];var T=31&fc[ot],M=31&hh[Ne];_t+=fu[T]+du[M],++kt[257+T],++rt[M],je=w+ot,++it}else Ue[pt++]=s[w],++kt[s[w]]}}y=mh(s,v,f,Ue,kt,rt,_t,pt,be,w-be,y),f||(y=Lo(v,y,A1))}return sg(m,0,c+ig(y)+d)}(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,!i)},kl=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};function P1(e,t){t===void 0&&(t={});var n=function(){var l=4294967295;return{p:function(c){for(var d=l,f=0;f<c.length;++f)d=C1[255&d^c[f]]^d>>>8;l=d},d:function(){return 4294967295^l}}}(),r=e.length;n.p(e);var i,s=O1(e,t,10+((i=t).filename&&i.filename.length+1||0),8),o=s.length;return function(l,c){var d=c.filename;if(l[0]=31,l[1]=139,l[2]=8,l[8]=c.level<2?4:c.level==9?2:0,l[9]=3,c.mtime!=0&&kl(l,4,Math.floor(new Date(c.mtime||Date.now())/1e3)),d){l[3]=8;for(var f=0;f<=d.length;++f)l[f+10]=d.charCodeAt(f)}}(s,t),kl(s,o-8,n.d()),kl(s,o-4,r),s}var T1=!!nu||!!tu,gh="text/plain",ta=function(e,t){var n=Bt(e.split("?"),2),r=n[0],i=n[1],s=re({},t);i==null||i.split("&").forEach(function(l){var c=Bt(l.split("="),1)[0];delete s[c]});var o=D0(s);return o=o?(i?i+"&":"")+o:i,"".concat(r,"?").concat(o)},R1=function(e){return"data="+encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},hu=function(e){var t=e.data,n=e.compression;if(t){if(n===gn.GZipJS){var r=P1(function(s,o){var l=s.length;if(!o&&typeof TextEncoder<"u")return new TextEncoder().encode(s);for(var c=new Qt(s.length+(s.length>>>1)),d=0,f=function(y){c[d++]=y},h=0;h<l;++h){if(d+5>c.length){var m=new Qt(d+8+(l-h<<1));m.set(c),c=m}var v=s.charCodeAt(h);v<128||o?f(v):v<2048?(f(192|v>>>6),f(128|63&v)):v>55295&&v<57344?(f(240|(v=65536+(1047552&v)|1023&s.charCodeAt(++h))>>>18),f(128|v>>>12&63),f(128|v>>>6&63),f(128|63&v)):(f(224|v>>>12),f(128|v>>>6&63),f(128|63&v))}return sg(c,0,d)}(JSON.stringify(t)),{mtime:0});return{contentType:gh,body:new Blob([r],{type:gh})}}if(n===gn.Base64){var i=function(s){var o,l,c,d,f,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",m=0,v=0,y="",w=[];if(!s)return s;s=E0(s);do o=(f=s.charCodeAt(m++)<<16|s.charCodeAt(m++)<<8|s.charCodeAt(m++))>>18&63,l=f>>12&63,c=f>>6&63,d=63&f,w[v++]=h.charAt(o)+h.charAt(l)+h.charAt(c)+h.charAt(d);while(m<s.length);switch(y=w.join(""),s.length%3){case 1:y=y.slice(0,-2)+"==";break;case 2:y=y.slice(0,-1)+"="}return y}(JSON.stringify(t));return{contentType:"application/x-www-form-urlencoded",body:R1(i)}}return{contentType:"application/json",body:JSON.stringify(t)}}},I1=function(e){var t,n=new nu;n.open(e.method||"GET",e.url,!0);var r=(t=hu(e))!==null&&t!==void 0?t:{},i=r.contentType,s=r.body;Ve(e.headers,function(o,l){n.setRequestHeader(l,o)}),i&&n.setRequestHeader("Content-Type",i),e.timeout&&(n.timeout=e.timeout),n.withCredentials=!0,n.onreadystatechange=function(){if(n.readyState===4){var o,l={statusCode:n.status,text:n.responseText};if(n.status===200)try{l.json=JSON.parse(n.responseText)}catch{}(o=e.callback)===null||o===void 0||o.call(e,l)}},n.send(s)},F1=function(e){var t,n,r=(t=hu(e))!==null&&t!==void 0?t:{},i=r.contentType,s=r.body,o=new Headers;Ve(o,function(f,h){o.append(h,f)}),i&&o.append("Content-Type",i);var l=e.url,c=null;if(qd){var d=new qd;c={signal:d.signal,timeout:setTimeout(function(){return d.abort()},e.timeout)}}tu(l,{method:(e==null?void 0:e.method)||"GET",headers:o,keepalive:e.method==="POST",body:s,signal:(n=c)===null||n===void 0?void 0:n.signal}).then(function(f){return f.text().then(function(h){var m,v={statusCode:f.status,text:h};if(f.status===200)try{v.json=JSON.parse(h)}catch(y){W.error(y)}(m=e.callback)===null||m===void 0||m.call(e,v)})}).catch(function(f){var h;W.error(f),(h=e.callback)===null||h===void 0||h.call(e,{statusCode:0,text:f})}).finally(function(){return c?clearTimeout(c.timeout):null})},N1=function(e){var t=ta(e.url,{beacon:"1"});try{var n,r=(n=hu(e))!==null&&n!==void 0?n:{},i=r.contentType,s=r.body,o=typeof s=="string"?new Blob([s],{type:i}):s;Ss.sendBeacon(t,o)}catch{}},M1=function(e){var t;if(te){var n=te.createElement("script");n.type="text/javascript",n.async=!0,n.defer=!0,n.src=e.url;var r=te.getElementsByTagName("script")[0];(t=r.parentNode)===null||t===void 0||t.insertBefore(n,r)}},L1=["retriesPerformedSoFar"],Br,$1=function(){function e(t){var n=this;Qe(this,e),j(this,"isPolling",!1),j(this,"pollIntervalMs",3e3),j(this,"queue",[]),this.instance=t,this.queue=[],this.areWeOnline=!0,!ge(P)&&"onLine"in P.navigator&&(this.areWeOnline=P.navigator.onLine,P.addEventListener("online",function(){n.areWeOnline=!0,n.flush()}),P.addEventListener("offline",function(){n.areWeOnline=!1}))}return Ze(e,[{key:"retriableRequest",value:function(t){var n=this,r=t.retriesPerformedSoFar,i=b0(t,L1);pn(r)&&r>0&&(i.url=ta(i.url,{retry_count:r})),this.instance._send_request(re(re({},i),{},{callback:function(s){var o;s.statusCode!==200&&(s.statusCode<400||s.statusCode>=500)&&(r??0)<10?n.enqueue(re({},i)):(o=i.callback)===null||o===void 0||o.call(i,s)}}))}},{key:"enqueue",value:function(t){var n=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=n+1;var r=function(o){var l=3e3*Math.pow(2,o),c=l/2,d=Math.min(18e5,l),f=(Math.random()-.5)*(d-c);return Math.ceil(d+f)}(n),i=Date.now()+r;this.queue.push({retryAt:i,requestOptions:t});var s="Enqueued failed request for retry in ".concat(r);navigator.onLine||(s+=" (Browser is offline)"),W.warn(s),this.isPolling||(this.isPolling=!0,this.poll())}},{key:"poll",value:function(){var t=this;this.poller&&clearTimeout(this.poller),this.poller=setTimeout(function(){t.areWeOnline&&t.queue.length>0&&t.flush(),t.poll()},this.pollIntervalMs)}},{key:"flush",value:function(){var t=Date.now(),n=[],r=this.queue.filter(function(l){return l.retryAt<t||(n.push(l),!1)});if(this.queue=n,r.length>0){var i,s=En(r);try{for(s.s();!(i=s.n()).done;){var o=i.value.requestOptions;this.retriableRequest(o)}}catch(l){s.e(l)}finally{s.f()}}}},{key:"unload",value:function(){this.poller&&(clearTimeout(this.poller),this.poller=void 0);var t,n=En(this.queue);try{for(n.s();!(t=n.n()).done;){var r=t.value.requestOptions;try{this.instance._send_request(re(re({},r),{},{transport:"sendBeacon"}))}catch(i){W.error(i)}}}catch(i){n.e(i)}finally{n.f()}this.queue=[]}}]),e}(),vo=1800,D1=function(){function e(t,n,r,i){Qe(this,e),j(this,"_sessionIdChangedHandlers",[]),this.config=t,this.persistence=n,this._windowId=void 0,this._sessionId=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this._sessionIdGenerator=r||pr,this._windowIdGenerator=i||pr;var s=t.persistence_name||t.token,o=t.session_idle_timeout_seconds||vo;if(pn(o)?o>vo?W.warn("session_idle_timeout_seconds cannot be  greater than 30 minutes. Using 30 minutes instead."):o<60&&W.warn("session_idle_timeout_seconds cannot be less than 60 seconds. Using 60 seconds instead."):(W.warn("session_idle_timeout_seconds must be a number. Defaulting to 30 minutes."),o=vo),this._sessionTimeoutMs=1e3*Math.min(Math.max(o,60),vo),this._window_id_storage_key="ph_"+s+"_window_id",this._primary_window_exists_storage_key="ph_"+s+"_primary_window_exists",this._canUseSessionStorage()){var l=Tt.parse(this._window_id_storage_key),c=Tt.parse(this._primary_window_exists_storage_key);l&&!c?this._windowId=l:Tt.remove(this._window_id_storage_key),Tt.set(this._primary_window_exists_storage_key,!0)}this._listenToReloadWindow()}return Ze(e,[{key:"onSessionId",value:function(t){var n=this;return ge(this._sessionIdChangedHandlers)&&(this._sessionIdChangedHandlers=[]),this._sessionIdChangedHandlers.push(t),this._sessionId&&t(this._sessionId,this._windowId),function(){n._sessionIdChangedHandlers=n._sessionIdChangedHandlers.filter(function(r){return r!==t})}}},{key:"_canUseSessionStorage",value:function(){return this.config.persistence!=="memory"&&!this.persistence.disabled&&Tt.is_supported()}},{key:"_setWindowId",value:function(t){t!==this._windowId&&(this._windowId=t,this._canUseSessionStorage()&&Tt.set(this._window_id_storage_key,t))}},{key:"_getWindowId",value:function(){return this._windowId?this._windowId:this._canUseSessionStorage()?Tt.parse(this._window_id_storage_key):null}},{key:"_setSessionId",value:function(t,n,r){t===this._sessionId&&n===this._sessionActivityTimestamp&&r===this._sessionStartTimestamp||(this._sessionStartTimestamp=r,this._sessionActivityTimestamp=n,this._sessionId=t,this.persistence.register(j({},Ko,[n,t,r])))}},{key:"_getSessionId",value:function(){if(this._sessionId&&this._sessionActivityTimestamp&&this._sessionStartTimestamp)return[this._sessionActivityTimestamp,this._sessionId,this._sessionStartTimestamp];var t=this.persistence.props[Ko];return bt(t)&&t.length===2&&t.push(t[0]),t||[0,null,0]}},{key:"resetSessionId",value:function(){this._setSessionId(null,null,null)}},{key:"_listenToReloadWindow",value:function(){var t=this;P==null||P.addEventListener("beforeunload",function(){t._canUseSessionStorage()&&Tt.remove(t._primary_window_exists_storage_key)})}},{key:"checkAndGetSessionAndWindowId",value:function(){var t=arguments.length>0&&arguments[0]!==void 0&&arguments[0],n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:null)||new Date().getTime(),r=Bt(this._getSessionId(),3),i=r[0],s=r[1],o=r[2],l=this._getWindowId(),c=o&&o>0&&Math.abs(n-o)>864e5,d=!1,f=!s,h=!t&&Math.abs(n-i)>this._sessionTimeoutMs;f||h||c?(s=this._sessionIdGenerator(),l=this._windowIdGenerator(),W.info("[SessionId] new session ID generated",{sessionId:s,windowId:l,changeReason:{noSessionId:f,activityTimeout:h,sessionPastMaximumLength:c}}),o=n,d=!0):l||(l=this._windowIdGenerator(),d=!0);var m=i===0||!t||c?n:i,v=o===0?new Date().getTime():o;return this._setWindowId(l),this._setSessionId(s,m,v),d&&this._sessionIdChangedHandlers.forEach(function(y){return y(s,l)}),{sessionId:s,windowId:l,sessionStartTimestamp:v}}}]),e}();(function(e){e.US="us",e.EU="eu",e.CUSTOM="custom"})(Br||(Br={}));var vh="i.posthog.com",j1=function(){function e(t){Qe(this,e),j(this,"_regionCache",{}),this.instance=t}return Ze(e,[{key:"apiHost",get:function(){return this.instance.config.api_host.trim().replace(/\/$/,"")}},{key:"uiHost",get:function(){var t;return(t=this.instance.config.ui_host)===null||t===void 0?void 0:t.replace(/\/$/,"")}},{key:"region",get:function(){return this._regionCache[this.apiHost]||(/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this._regionCache[this.apiHost]=Br.US:/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this._regionCache[this.apiHost]=Br.EU:this._regionCache[this.apiHost]=Br.CUSTOM),this._regionCache[this.apiHost]}},{key:"endpointFor",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if(n&&(n=n[0]==="/"?n:"/".concat(n)),t==="ui")return(this.uiHost||this.apiHost.replace(".".concat(vh),".posthog.com"))+n;if(this.region===Br.CUSTOM)return this.apiHost+n;var r=vh+n;switch(t){case"assets":return"https://".concat(this.region,"-assets.").concat(r);case"api":return"https://".concat(this.region,".").concat(r)}}}]),e}(),B1=Ze(function e(t,n,r,i){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:["error"];Qe(this,e),this.name="posthog-js",this.setupOnce=function(o){o(function(l){var c,d,f,h,m;if(!(s==="*"||s.includes(l.level))||!t.__loaded)return l;l.tags||(l.tags={});var v=t.requestRouter.endpointFor("ui","/project/".concat(t.config.token,"/person/").concat(t.get_distinct_id()));l.tags["PostHog Person URL"]=v,t.sessionRecordingStarted()&&(l.tags["PostHog Recording URL"]=t.get_session_replay_url({withTimestamp:!0}));var y=((c=l.exception)===null||c===void 0?void 0:c.values)||[],w={$exception_message:((d=y[0])===null||d===void 0?void 0:d.value)||l.message,$exception_type:(f=y[0])===null||f===void 0?void 0:f.type,$exception_personURL:v,$sentry_event_id:l.event_id,$sentry_exception:l.exception,$sentry_exception_message:((h=y[0])===null||h===void 0?void 0:h.value)||l.message,$sentry_exception_type:(m=y[0])===null||m===void 0?void 0:m.type,$sentry_tags:l.tags,$level:l.level};return n&&r&&(w.$sentry_url=(i||"https://sentry.io/organizations/")+n+"/issues/?project="+r+"&query="+l.event_id),t.capture("$exception",w),l})}});function H1(e,t){var n=e.config.segment;if(!n)return t();(function(r,i){var s=r.config.segment;if(!s)return i();var o=function(c){var d=function(){return c.anonymousId()||pr()};r.config.get_device_id=d,c.id()&&(r.register({distinct_id:c.id(),$device_id:d()}),r.persistence.set_property(Kn,"identified")),i()},l=s.user();"then"in l&&kn(l.then)?l.then(function(c){return o(c)}):o(l)})(e,function(){n.register(function(r){Promise&&Promise.resolve||W.warn("This browser does not have Promise support, and can not use the segment integration");var i=function(s,o){var l;if(!o)return s;s.event.userId||s.event.anonymousId===r.get_distinct_id()||r.reset(),s.event.userId&&s.event.userId!==r.get_distinct_id()&&(r.register({distinct_id:s.event.userId}),r.reloadFeatureFlags());var c=r._calculate_event_properties(o,(l=s.event.properties)!==null&&l!==void 0?l:{});return s.event.properties=Object.assign({},c,s.event.properties),s};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:function(s){return i(s,s.event.event)},page:function(s){return i(s,"$pageview")},identify:function(s){return i(s,"$identify")},screen:function(s){return i(s,"$screen")}}}(e)).then(function(){t()})})}var q1=function(){function e(t){Qe(this,e),this._instance=t}return Ze(e,[{key:"doPageView",value:function(){var t,n=this._previousScrollProperties();return this._currentPath=(t=P==null?void 0:P.location.pathname)!==null&&t!==void 0?t:"",this._instance.scrollManager.resetContext(),n}},{key:"doPageLeave",value:function(){return this._previousScrollProperties()}},{key:"_previousScrollProperties",value:function(){var t=this._currentPath,n=this._instance.scrollManager.getContext();if(!t||!n)return{};var r=n.maxScrollHeight,i=n.lastScrollY,s=n.maxScrollY,o=n.maxContentHeight,l=n.lastContentY,c=n.maxContentY;return ge(r)||ge(i)||ge(s)||ge(o)||ge(l)||ge(c)?{}:(r=Math.ceil(r),i=Math.ceil(i),s=Math.ceil(s),o=Math.ceil(o),l=Math.ceil(l),c=Math.ceil(c),{$prev_pageview_pathname:t,$prev_pageview_last_scroll:i,$prev_pageview_last_scroll_percentage:r<=1?1:_o(i/r,0,1),$prev_pageview_max_scroll:s,$prev_pageview_max_scroll_percentage:r<=1?1:_o(s/r,0,1),$prev_pageview_last_content:l,$prev_pageview_last_content_percentage:o<=1?1:_o(l/o,0,1),$prev_pageview_max_content:c,$prev_pageview_max_content_percentage:o<=1?1:_o(c/o,0,1)})}}]),e}();function _o(e,t,n){return Math.max(t,Math.min(e,n))}var z1={icontains:function(e){return!!P&&P.location.href.toLowerCase().indexOf(e.toLowerCase())>-1},regex:function(e){return!!P&&$0(P.location.href,e)},exact:function(e){return(P==null?void 0:P.location.href)===e}},U1=function(){function e(t){Qe(this,e),this.instance=t}return Ze(e,[{key:"afterDecideResponse",value:function(t){this._decideServerResponse=!!t.surveys,this.loadIfEnabled()}},{key:"loadIfEnabled",value:function(){var t=this,n=Jt==null?void 0:Jt.extendPostHogWithSurveys;this.instance.config.disable_surveys||!this._decideServerResponse||n||As(this.instance.requestRouter.endpointFor("assets","/static/surveys.js"),function(r){if(r)return W.error("Could not load surveys script",r);Jt.extendPostHogWithSurveys(t.instance)})}},{key:"getSurveys",value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(this.instance.config.disable_surveys)return t([]);var i=this.instance.get_property(ec);if(i&&!r)return t(i);this.instance._send_request({url:this.instance.requestRouter.endpointFor("api","/api/surveys/?token=".concat(this.instance.config.token)),method:"GET",transport:"XHR",callback:function(s){var o;if(s.statusCode!==200||!s.json)return t([]);var l=s.json.surveys||[];return(o=n.instance.persistence)===null||o===void 0||o.register(j({},ec,l)),t(l)}})}},{key:"getActiveMatchingSurveys",value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.getSurveys(function(i){var s=i.filter(function(o){return!(!o.start_date||o.end_date)}).filter(function(o){var l,c,d,f;if(!o.conditions)return!0;var h=(l=o.conditions)===null||l===void 0||!l.url||z1[(c=(d=o.conditions)===null||d===void 0?void 0:d.urlMatchType)!==null&&c!==void 0?c:"icontains"](o.conditions.url),m=(f=o.conditions)===null||f===void 0||!f.selector||(te==null?void 0:te.querySelector(o.conditions.selector));return h&&m}).filter(function(o){if(!o.linked_flag_key&&!o.targeting_flag_key)return!0;var l=!o.linked_flag_key||n.instance.featureFlags.isFeatureEnabled(o.linked_flag_key),c=!o.targeting_flag_key||n.instance.featureFlags.isFeatureEnabled(o.targeting_flag_key);return l&&c});return t(s)},r)}}]),e}(),W1=function(){function e(t){var n,r,i=this;Qe(this,e),j(this,"serverLimits",{}),j(this,"lastEventRateLimited",!1),j(this,"checkForLimiting",function(s){var o=s.text;if(o&&o.length)try{(JSON.parse(o).quota_limited||[]).forEach(function(l){W.info("[RateLimiter] ".concat(l||"events"," is quota limited.")),i.serverLimits[l]=new Date().getTime()+6e4})}catch(l){return void W.warn('[RateLimiter] could not rate limit - continuing. Error: "'.concat(l==null?void 0:l.message,'"'),{text:o})}}),this.instance=t,this.captureEventsPerSecond=((n=t.config.rate_limiting)===null||n===void 0?void 0:n.events_per_second)||10,this.captureEventsBurstLimit=Math.max(((r=t.config.rate_limiting)===null||r===void 0?void 0:r.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond),this.lastEventRateLimited=this.isCaptureClientSideRateLimited(!0)}return Ze(e,[{key:"isCaptureClientSideRateLimited",value:function(){var t,n,r,i=arguments.length>0&&arguments[0]!==void 0&&arguments[0],s=new Date().getTime(),o=(t=(n=this.instance.persistence)===null||n===void 0?void 0:n.get_property(nc))!==null&&t!==void 0?t:{tokens:this.captureEventsBurstLimit,last:s};o.tokens+=(s-o.last)/1e3*this.captureEventsPerSecond,o.last=s,o.tokens>this.captureEventsBurstLimit&&(o.tokens=this.captureEventsBurstLimit);var l=o.tokens<1;return l||i||(o.tokens=Math.max(0,o.tokens-1)),!l||this.lastEventRateLimited||i||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to ".concat(this.captureEventsPerSecond," events per second and ").concat(this.captureEventsBurstLimit," events burst limit.")},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=l,(r=this.instance.persistence)===null||r===void 0||r.set_property(nc,o),l}},{key:"isServerRateLimited",value:function(t){var n=this.serverLimits[t||"events"]||!1;return n!==!1&&new Date().getTime()<n}}]),e}(),V1=function(){return re({initialPathName:(on==null?void 0:on.pathname)||"",referringDomain:Ct.referringDomain()},Ct.campaignParams())},K1=function(){function e(t,n,r){var i=this;Qe(this,e),j(this,"_onSessionIdCallback",function(s){var o=i._getStoredProps();if(!o||o.sessionId!==s){var l={sessionId:s,props:i._sessionSourceParamGenerator()};i._persistence.register(j({},tc,l))}}),this._sessionIdManager=t,this._persistence=n,this._sessionSourceParamGenerator=r||V1,this._sessionIdManager.onSessionId(this._onSessionIdCallback)}return Ze(e,[{key:"_getStoredProps",value:function(){return this._persistence.props[tc]}},{key:"getSessionProps",value:function(){var t,n=(t=this._getStoredProps())===null||t===void 0?void 0:t.props;return n?{$client_session_initial_referring_host:n.referringDomain,$client_session_initial_pathname:n.initialPathName,$client_session_initial_utm_source:n.utm_source,$client_session_initial_utm_campaign:n.utm_campaign,$client_session_initial_utm_medium:n.utm_medium,$client_session_initial_utm_content:n.utm_content,$client_session_initial_utm_term:n.utm_term}:{}}}]),e}(),Y1=["ahrefsbot","ahrefssiteaudit","applebot","baiduspider","bingbot","bingpreview","bot.htm","bot.php","crawler","deepscan","duckduckbot","facebookexternal","facebookcatalog","gptbot","http://yandex.com/bots","hubspot","ia_archiver","linkedinbot","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","semrushbot","sitebulb","slurp","turnitin","twitterbot","vercelbot","yahoo! slurp","yandexbot","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google","Bytespider;"],_h=function(e,t){if(!e)return!1;var n=e.toLowerCase();return Y1.concat(t||[]).some(function(r){var i=r.toLowerCase();return n.indexOf(i)!==-1})},og=function(){function e(){Qe(this,e),this.clicks=[]}return Ze(e,[{key:"isRageClick",value:function(t,n,r){var i=this.clicks[this.clicks.length-1];if(i&&Math.abs(t-i.x)+Math.abs(n-i.y)<30&&r-i.timestamp<1e3){if(this.clicks.push({x:t,y:n,timestamp:r}),this.clicks.length===3)return!0}else this.clicks=[{x:t,y:n,timestamp:r}];return!1}}]),e}(),G1=function(){function e(t){Qe(this,e),j(this,"rageclicks",new og),j(this,"_isDisabledServerSide",null),j(this,"_initialized",!1),this.instance=t}return Ze(e,[{key:"startIfEnabled",value:function(){this.isEnabled&&!this._initialized&&this._setupListeners()}},{key:"isEnabled",get:function(){return!!this.instance.config.__preview_heatmaps}},{key:"getAndClearBuffer",value:function(){var t=this.buffer;return this.buffer=void 0,t}},{key:"_setupListeners",value:function(){var t=this;P&&te&&(Yn(te,"click",function(n){return t._onClick(n||(P==null?void 0:P.event))},!1,!0),Yn(te,"mousemove",function(n){return t._onMouseMove(n||(P==null?void 0:P.event))},!1,!0),this._initialized=!0)}},{key:"_getProperties",value:function(t,n){var r=this.instance.scrollManager.scrollY(),i=this.instance.scrollManager.scrollX(),s=this.instance.scrollManager.scrollElement(),o=function(l,c,d){for(var f=l;f&&!_r(f,"body");){if(f===d)return!1;if(Te(c,P==null?void 0:P.getComputedStyle(f).position))return!0;f=Vm(f)}return!1}(t.target,["fixed","sticky"],s);return{x:t.clientX+(o?0:i),y:t.clientY+(o?0:r),target_fixed:o,type:n}}},{key:"_onClick",value:function(t){var n,r=this._getProperties(t,"click");(n=this.rageclicks)!==null&&n!==void 0&&n.isRageClick(t.clientX,t.clientY,new Date().getTime())&&this._capture(re(re({},r),{},{type:"rageclick"})),this._capture(r)}},{key:"_onMouseMove",value:function(t){var n=this;clearTimeout(this._mouseMoveTimeout),this._mouseMoveTimeout=setTimeout(function(){n._capture(n._getProperties(t,"mousemove"))},500)}},{key:"_capture",value:function(t){if(P){var n=P.location.href;this.buffer=this.buffer||{},this.buffer[n]||(this.buffer[n]=[]),this.buffer[n].push(t)}}}]),e}(),X1=function(){function e(t){var n=this;Qe(this,e),j(this,"_updateScrollData",function(){var r,i,s,o;n.context||(n.context={});var l=n.scrollElement(),c=n.scrollY(),d=l?Math.max(0,l.scrollHeight-l.clientHeight):0,f=c+((l==null?void 0:l.clientHeight)||0),h=(l==null?void 0:l.scrollHeight)||0;n.context.lastScrollY=Math.ceil(c),n.context.maxScrollY=Math.max(c,(r=n.context.maxScrollY)!==null&&r!==void 0?r:0),n.context.maxScrollHeight=Math.max(d,(i=n.context.maxScrollHeight)!==null&&i!==void 0?i:0),n.context.lastContentY=f,n.context.maxContentY=Math.max(f,(s=n.context.maxContentY)!==null&&s!==void 0?s:0),n.context.maxContentHeight=Math.max(h,(o=n.context.maxContentHeight)!==null&&o!==void 0?o:0)}),this.instance=t}return Ze(e,[{key:"getContext",value:function(){return this.context}},{key:"resetContext",value:function(){var t=this.context;return setTimeout(this._updateScrollData,0),t}},{key:"startMeasuringScrollPosition",value:function(){P==null||P.addEventListener("scroll",this._updateScrollData,!0),P==null||P.addEventListener("scrollend",this._updateScrollData,!0),P==null||P.addEventListener("resize",this._updateScrollData)}},{key:"scrollElement",value:function(){if(!this.instance.config.scroll_root_selector)return P==null?void 0:P.document.documentElement;var t,n=En(bt(this.instance.config.scroll_root_selector)?this.instance.config.scroll_root_selector:[this.instance.config.scroll_root_selector]);try{for(n.s();!(t=n.n()).done;){var r=t.value,i=P==null?void 0:P.document.querySelector(r);if(i)return i}}catch(s){n.e(s)}finally{n.f()}}},{key:"scrollY",value:function(){if(this.instance.config.scroll_root_selector){var t=this.scrollElement();return t&&t.scrollTop||0}return P&&(P.scrollY||P.pageYOffset||P.document.documentElement.scrollTop)||0}},{key:"scrollX",value:function(){if(this.instance.config.scroll_root_selector){var t=this.scrollElement();return t&&t.scrollLeft||0}return P&&(P.scrollX||P.pageXOffset||P.document.documentElement.scrollLeft)||0}}]),e}(),J1=function(){function e(){Qe(this,e),j(this,"events",{}),this.events={}}return Ze(e,[{key:"on",value:function(t,n){var r=this;return this.events[t]||(this.events[t]=[]),this.events[t].push(n),function(){r.events[t]=r.events[t].filter(function(i){return i!==n})}}},{key:"emit",value:function(t,n){var r,i=En(this.events[t]||[]);try{for(i.s();!(r=i.n()).done;)(0,r.value)(n)}catch(l){i.e(l)}finally{i.f()}var s,o=En(this.events["*"]||[]);try{for(o.s();!(s=o.n()).done;)(0,s.value)(t,n)}catch(l){o.e(l)}finally{o.f()}}}]),e}(),xl="$copy_autocapture";function El(e,t){return t.length>e?t.slice(0,e)+"...":t}var Q1=function(){function e(t){Qe(this,e),j(this,"_initialized",!1),j(this,"_isDisabledServerSide",null),j(this,"rageclicks",new og),j(this,"_elementsChainAsString",!1),this.instance=t}return Ze(e,[{key:"config",get:function(){var t,n=Mn(this.instance.config.autocapture)?this.instance.config.autocapture:{};return n.url_allowlist=(t=n.url_allowlist)===null||t===void 0?void 0:t.map(function(r){return new RegExp(r)}),n}},{key:"_addDomEventHandlers",value:function(){var t=this;if(this.isBrowserSupported()){if(P&&te){var n=function(i){i=i||(P==null?void 0:P.event);try{t._captureEvent(i)}catch(s){W.error("Failed to capture event",s)}},r=function(i){i=i||(P==null?void 0:P.event),t._captureEvent(i,xl)};Yn(te,"submit",n,!1,!0),Yn(te,"change",n,!1,!0),Yn(te,"click",n,!1,!0),this.config.capture_copied_text&&(Yn(te,"copy",r,!1,!0),Yn(te,"cut",r,!1,!0))}}else W.info("Disabling Automatic Event Collection because this browser is not supported")}},{key:"startIfEnabled",value:function(){this.isEnabled&&!this._initialized&&(this._addDomEventHandlers(),this._initialized=!0)}},{key:"afterDecideResponse",value:function(t){t.elementsChainAsString&&(this._elementsChainAsString=t.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register(j({},Wd,!!t.autocapture_opt_out)),this._isDisabledServerSide=!!t.autocapture_opt_out,this.startIfEnabled()}},{key:"isEnabled",get:function(){var t,n,r=(t=this.instance.persistence)===null||t===void 0?void 0:t.props[Wd],i=this._isDisabledServerSide;if(xn(i)&&!Fo(r)&&!this.instance.config.advanced_disable_decide)return!1;var s=(n=this._isDisabledServerSide)!==null&&n!==void 0?n:!!r;return!!this.instance.config.autocapture&&!s}},{key:"_previousElementSibling",value:function(t){if(t.previousElementSibling)return t.previousElementSibling;var n=t;do n=n.previousSibling;while(n&&!lu(n));return n}},{key:"_getAugmentPropertiesFromElement",value:function(t){if(!cc(t))return{};var n={};return Ve(t.attributes,function(r){if(r.name&&r.name.indexOf("data-ph-capture-attribute")===0){var i=r.name.replace("data-ph-capture-attribute-",""),s=r.value;i&&s&&yi(s)&&(n[i]=s)}}),n}},{key:"_getPropertiesFromElement",value:function(t,n,r){var i,s=t.tagName.toLowerCase(),o={tag_name:s};lc.indexOf(s)>-1&&!r&&(s.toLowerCase()==="a"||s.toLowerCase()==="button"?o.$el_text=El(1024,oh(t)):o.$el_text=El(1024,Zo(t)));var l=Qo(t);l.length>0&&(o.classes=l.filter(function(m){return m!==""}));var c=(i=this.config)===null||i===void 0?void 0:i.element_attribute_ignorelist;Ve(t.attributes,function(m){var v;if((!Km(t)||["name","id","class","aria-label"].indexOf(m.name)!==-1)&&(c==null||!c.includes(m.name))&&!n&&yi(m.value)&&(v=m.name,!Nt(v)||v.substring(0,10)!=="_ngcontent"&&v.substring(0,7)!=="_nghost")){var y=m.value;m.name==="class"&&(y=au(y).join(" ")),o["attr__"+m.name]=El(1024,y)}});for(var d=1,f=1,h=t;h=this._previousElementSibling(h);)d++,h.tagName===t.tagName&&f++;return o.nth_child=d,o.nth_of_type=f,o}},{key:"_getDefaultProperties",value:function(t){return{$event_type:t,$ce_version:1}}},{key:"_getEventTarget",value:function(t){return ge(t.target)?t.srcElement||null:(n=t.target)!==null&&n!==void 0&&n.shadowRoot?t.composedPath()[0]||null:t.target||null;var n}},{key:"_captureEvent",value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"$autocapture";if(this.isEnabled){var i,s=this._getEventTarget(t);Um(s)&&(s=s.parentNode||null),r==="$autocapture"&&t.type==="click"&&t instanceof MouseEvent&&this.instance.config.rageclick&&(i=this.rageclicks)!==null&&i!==void 0&&i.isRageClick(t.clientX,t.clientY,new Date().getTime())&&this._captureEvent(t,"$rageclick");var o=r===xl;if(s&&Z0(s,t,this.config,o,o?["copy","cut"]:void 0)){for(var l,c,d=[s],f=s;f.parentNode&&!_r(f,"body");)Wm(f.parentNode)?(d.push(f.parentNode.host),f=f.parentNode.host):(d.push(f.parentNode),f=f.parentNode);var h,m=[],v={},y=!1;if(Ve(d,function(R){var K=cc(R);R.tagName.toLowerCase()==="a"&&(h=R.getAttribute("href"),h=K&&yi(h)&&h),Te(Qo(R),"ph-no-capture")&&(y=!0),m.push(n._getPropertiesFromElement(R,n.instance.config.mask_all_element_attributes,n.instance.config.mask_all_text));var Z=n._getAugmentPropertiesFromElement(R);At(v,Z)}),this.instance.config.mask_all_text||(s.tagName.toLowerCase()==="a"||s.tagName.toLowerCase()==="button"?m[0].$el_text=oh(s):m[0].$el_text=Zo(s)),h&&(m[0].attr__href=h),y)return!1;var w=At(this._getDefaultProperties(t.type),this._elementsChainAsString?{$elements_chain:i1(m)}:{$elements:m},(l=m[0])!==null&&l!==void 0&&l.$el_text?{$el_text:(c=m[0])===null||c===void 0?void 0:c.$el_text}:{},v);if(r===xl){var C,E=zm(P==null||(C=P.getSelection())===null||C===void 0?void 0:C.toString()),A=t.type||"clipboard";if(!E)return!1;w.$selected_content=E,w.$copy_type=A}return this.instance.capture(r,w),!0}}}},{key:"isBrowserSupported",value:function(){return kn(te==null?void 0:te.querySelectorAll)}}]),e}(),fs={},bh=function(){},oi="posthog",ag=!T1&&(ht==null?void 0:ht.indexOf("MSIE"))===-1&&(ht==null?void 0:ht.indexOf("Mozilla"))===-1,yh=function(){var e,t,n;return{api_host:"https://us.i.posthog.com",api_transport:"XHR",ui_host:null,token:"",autocapture:!0,rageclick:!0,cross_subdomain_cookie:(t=te==null?void 0:te.location,n=t==null?void 0:t.hostname,!!Nt(n)&&n.split(".").slice(-2).join(".")!=="herokuapp.com"),persistence:"localStorage+cookie",persistence_name:"",loaded:bh,store_google:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageview:!0,capture_pageleave:!0,debug:on&&Nt(on==null?void 0:on.search)&&on.search.indexOf("__posthog_debug=true")!==-1||!1,verbose:!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_surveys:!1,enable_recording_console_log:void 0,secure_cookie:(P==null||(e=P.location)===null||e===void 0?void 0:e.protocol)==="https:",ip:!0,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},inapp_protocol:"//",inapp_link_new_window:!1,request_batching:!0,properties_string_max_length:65535,session_recording:{},mask_all_element_attributes:!1,mask_all_text:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,on_request_error:function(r){var i="Bad HTTP status: "+r.statusCode+" "+r.text;W.error(i)},get_device_id:function(r){return r},_onCapture:bh,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:"always"}},wh=function(e){var t={};ge(e.process_person)||(t.person_profiles=e.process_person),ge(e.xhr_headers)||(t.request_headers=e.xhr_headers),ge(e.cookie_name)||(t.persistence_name=e.cookie_name),ge(e.disable_cookie)||(t.disable_persistence=e.disable_cookie);var n=At({},t,e);return bt(e.property_blacklist)&&(ge(e.property_denylist)?n.property_denylist=e.property_blacklist:bt(e.property_denylist)?n.property_denylist=[].concat(Si(e.property_blacklist),Si(e.property_denylist)):W.error("Invalid value for property_denylist config: "+e.property_denylist)),n},Z1=function(){function e(){Qe(this,e),j(this,"__forceAllowLocalhost",!1)}return Ze(e,[{key:"_forceAllowLocalhost",get:function(){return this.__forceAllowLocalhost},set:function(t){W.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=t}}]),e}(),lg=function(){function e(){var t=this;Qe(this,e),j(this,"webPerformance",new Z1),j(this,"_debugEventEmitter",new J1),this.config=yh(),this.decideEndpointWasHit=!1,this.SentryIntegration=B1,this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.featureFlags=new A0(this),this.toolbar=new b1(this),this.scrollManager=new X1(this),this.pageViewManager=new q1(this),this.surveys=new U1(this),this.rateLimiter=new W1(this),this.requestRouter=new j1(this),this.people={set:function(n,r,i){var s=Nt(n)?j({},n,r):n;t.setPersonProperties(s),i==null||i({})},set_once:function(n,r,i){var s=Nt(n)?j({},n,r):n;t.setPersonProperties(void 0,s),i==null||i({})}},this.on("eventCaptured",function(n){return W.info("send",n)})}return Ze(e,[{key:"init",value:function(t,n,r){if(r&&r!==oi){var i,s=(i=fs[r])!==null&&i!==void 0?i:new e;return s._init(t,n,r),fs[r]=s,fs[oi][r]=s,s}return this._init(t,n,r)}},{key:"_init",value:function(t){var n,r,i=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;if(ge(t)||function(C){return Nt(C)&&C.trim().length===0}(t))return W.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 W.warn("You have already initialized PostHog! Re-initializing is a no-op"),this;if(this.__loaded=!0,this.config={},this._triggered_notifs=[],this.set_config(At({},yh(),wh(s),{name:o,token:t})),this.compression=s.disable_compression?void 0:gn.Base64,this.persistence=new _l(this.config),this.sessionPersistence=this.config.persistence==="sessionStorage"?this.persistence:new _l(re(re({},this.config),{},{persistence:"sessionStorage"})),this._requestQueue=new y1(function(C){return i._send_request(C)}),this._retryQueue=new $1(this),this.__request_queue=[],this.sessionManager=new D1(this.config,this.persistence),this.sessionPropsManager=new K1(this.sessionManager,this.persistence),this.sessionRecording=new g1(this),this.sessionRecording.startIfEnabledOrStop(),this.config.disable_scroll_properties||this.scrollManager.startMeasuringScrollPosition(),this.autocapture=new Q1(this),this.autocapture.startIfEnabled(),this.surveys.loadIfEnabled(),this.heatmaps=new G1(this),this.heatmaps.startIfEnabled(),jr.DEBUG=jr.DEBUG||this.config.debug,this._gdpr_init(),((n=s.bootstrap)===null||n===void 0?void 0:n.distinctID)!==void 0){var l,c,d=this.config.get_device_id(pr()),f=(l=s.bootstrap)!==null&&l!==void 0&&l.isIdentifiedID?d:s.bootstrap.distinctID;this.persistence.set_property(Kn,(c=s.bootstrap)!==null&&c!==void 0&&c.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:s.bootstrap.distinctID,$device_id:f})}if(this._hasBootstrappedFeatureFlags()){var h,m,v=Object.keys(((h=s.bootstrap)===null||h===void 0?void 0:h.featureFlags)||{}).filter(function(C){var E,A;return!((E=s.bootstrap)===null||E===void 0||(A=E.featureFlags)===null||A===void 0||!A[C])}).reduce(function(C,E){var A,R;return C[E]=((A=s.bootstrap)===null||A===void 0||(R=A.featureFlags)===null||R===void 0?void 0:R[E])||!1,C},{}),y=Object.keys(((m=s.bootstrap)===null||m===void 0?void 0:m.featureFlagPayloads)||{}).filter(function(C){return v[C]}).reduce(function(C,E){var A,R,K,Z;return(A=s.bootstrap)!==null&&A!==void 0&&(R=A.featureFlagPayloads)!==null&&R!==void 0&&R[E]&&(C[E]=(K=s.bootstrap)===null||K===void 0||(Z=K.featureFlagPayloads)===null||Z===void 0?void 0:Z[E]),C},{});this.featureFlags.receivedFeatureFlags({featureFlags:v,featureFlagPayloads:y})}if(!this.get_distinct_id()){var w=this.config.get_device_id(pr());this.register_once({distinct_id:w,$device_id:w},""),this.persistence.set_property(Kn,"anonymous")}return P==null||(r=P.addEventListener)===null||r===void 0||r.call(P,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this)),this.toolbar.maybeLoadToolbar(),s.segment?H1(this,function(){return i._loaded()}):this._loaded(),kn(this.config._onCapture)&&this.on("eventCaptured",function(C){return i.config._onCapture(C.event,C)}),this}},{key:"_afterDecideResponse",value:function(t){var n,r,i,s;this.compression=void 0,t.supportedCompression&&!this.config.disable_compression&&(this.compression=Te(t.supportedCompression,gn.GZipJS)?gn.GZipJS:Te(t.supportedCompression,gn.Base64)?gn.Base64:void 0),(n=t.analytics)!==null&&n!==void 0&&n.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),(r=this.sessionRecording)===null||r===void 0||r.afterDecideResponse(t),(i=this.autocapture)===null||i===void 0||i.afterDecideResponse(t),(s=this.surveys)===null||s===void 0||s.afterDecideResponse(t)}},{key:"_loaded",value:function(){var t=this,n=this.config.advanced_disable_decide;n||this.featureFlags.setReloadingPaused(!0);try{this.config.loaded(this)}catch(r){W.critical("`loaded` function failed",r)}this._start_queue_if_opted_in(),this.config.capture_pageview&&setTimeout(function(){te&&t.capture("$pageview",{title:te.title},{send_instantly:!0})},1),n||(new v1(this).call(),this.featureFlags.resetRequestQueue())}},{key:"_start_queue_if_opted_in",value:function(){var t;this.has_opted_out_capturing()||this.config.request_batching&&((t=this._requestQueue)===null||t===void 0||t.enable())}},{key:"_dom_loaded",value:function(){var t=this;this.has_opted_out_capturing()||vi(this.__request_queue,function(n){return t._send_retriable_request(n)}),this.__request_queue=[],this._start_queue_if_opted_in()}},{key:"_handle_unload",value:function(){var t,n;this.config.request_batching?(this.config.capture_pageview&&this.config.capture_pageleave&&this.capture("$pageleave"),(t=this._requestQueue)===null||t===void 0||t.unload(),(n=this._retryQueue)===null||n===void 0||n.unload()):this.config.capture_pageview&&this.config.capture_pageleave&&this.capture("$pageleave",null,{transport:"sendBeacon"})}},{key:"_send_request",value:function(t){var n=this;this.__loaded&&(ag?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=ta(t.url,{ip:this.config.ip?1:0}),t.headers=this.config.request_headers,t.compression=t.compression==="best-available"?this.compression:t.compression,function(r){var i=re({},r);i.timeout=i.timeout||6e4,i.url=ta(i.url,{_:new Date().getTime().toString(),ver:jr.LIB_VERSION,compression:i.compression}),i.transport==="sendBeacon"&&Ss!=null&&Ss.sendBeacon?N1(i):i.transport==="fetch"&&tu?F1(i):nu||!te?I1(i):M1(i)}(re(re({},t),{},{callback:function(r){var i,s,o;n.rateLimiter.checkForLimiting(r),r.statusCode>=400&&((s=(o=n.config).on_request_error)===null||s===void 0||s.call(o,r)),(i=t.callback)===null||i===void 0||i.call(t,r)}}))))}},{key:"_send_retriable_request",value:function(t){this._retryQueue?this._retryQueue.retriableRequest(t):this._send_request(t)}},{key:"_execute_array",value:function(t){var n,r=this,i=[],s=[],o=[];vi(t,function(c){c&&(n=c[0],bt(n)?o.push(c):kn(c)?c.call(r):bt(c)&&n==="alias"?i.push(c):bt(c)&&n.indexOf("capture")!==-1&&kn(r[n])?o.push(c):s.push(c))});var l=function(c,d){vi(c,function(f){if(bt(f[0])){var h=d;Ve(f,function(m){h=h[m[0]].apply(h,m.slice(1))})}else this[f[0]].apply(this,f.slice(1))},d)};l(i,this),l(s,this),l(o,this)}},{key:"_hasBootstrappedFeatureFlags",value:function(){var t,n;return((t=this.config.bootstrap)===null||t===void 0?void 0:t.featureFlags)&&Object.keys((n=this.config.bootstrap)===null||n===void 0?void 0:n.featureFlags).length>0||!1}},{key:"push",value:function(t){this._execute_array([t])}},{key:"capture",value:function(t,n,r){var i;if(!(this.__loaded&&this.persistence&&this.sessionPersistence&&this._requestQueue))return W.uninitializedWarning("posthog.capture");if(!eg(this))if(r!=null&&r.skip_client_rate_limiting||!this.rateLimiter.isCaptureClientSideRateLimited())if(!ge(t)&&Nt(t)){if(!ht||this.config.opt_out_useragent_filter||!_h(ht,this.config.custom_blocked_useragents)){this.sessionPersistence.update_search_keyword(),this.config.store_google&&(this.sessionPersistence.update_campaign_params(),this.persistence.set_initial_campaign_params()),this.config.save_referrer&&(this.sessionPersistence.update_referrer_info(),this.persistence.set_initial_referrer_info());var s={uuid:pr(),event:t,properties:this._calculate_event_properties(t,n||{})};if(r==null||!r._noHeatmaps){var o,l=(o=this.heatmaps)===null||o===void 0?void 0:o.getAndClearBuffer();l&&(s.properties.$heatmap_data=l)}r!=null&&r.$set&&(s.$set=r==null?void 0:r.$set);var c=this._calculate_set_once_properties(r==null?void 0:r.$set_once);c&&(s.$set_once=c),(s=x0(s,r!=null&&r._noTruncate?null:this.config.properties_string_max_length)).timestamp=(r==null?void 0:r.timestamp)||new Date,ge(r==null?void 0:r.timestamp)||(s.properties.$event_time_override_provided=!0,s.properties.$event_time_override_system_time=new Date);var d=re(re({},s.properties.$set),s.$set);pl(d)||this.setPersonPropertiesForFlags(d),this._debugEventEmitter.emit("eventCaptured",s);var f={method:"POST",url:(i=r==null?void 0:r._url)!==null&&i!==void 0?i:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:s,compression:"best-available",batchKey:r==null?void 0:r._batchKey};return!this.config.request_batching||r&&(r==null||!r._batchKey)||r!=null&&r.send_instantly?this._send_retriable_request(f):this._requestQueue.enqueue(f),s}}else W.error("No event name provided to posthog.capture");else W.critical("This capture call is ignored due to client rate limiting.")}},{key:"_addCaptureHook",value:function(t){this.on("eventCaptured",function(n){return t(n.event)})}},{key:"_calculate_event_properties",value:function(t,n){if(!this.persistence||!this.sessionPersistence)return n;var r=this.persistence.remove_event_timer(t),i=re({},n);if(i.token=this.config.token,t==="$snapshot"){var s=re(re({},this.persistence.properties()),this.sessionPersistence.properties());return i.distinct_id=s.distinct_id,i}var o=Ct.properties();if(this.sessionManager){var l=this.sessionManager.checkAndGetSessionAndWindowId(),c=l.sessionId,d=l.windowId;i.$session_id=c,i.$window_id=d}if(this.requestRouter.region===Br.CUSTOM&&(i.$lib_custom_api_host=this.config.api_host),this.sessionPropsManager&&this.config.__preview_send_client_session_params&&(t==="$pageview"||t==="$pageleave"||t==="$autocapture")){var f=this.sessionPropsManager.getSessionProps();i=At(i,f)}if(!this.config.disable_scroll_properties){var h={};t==="$pageview"?h=this.pageViewManager.doPageView():t==="$pageleave"&&(h=this.pageViewManager.doPageLeave()),i=At(i,h)}if(t==="$pageview"&&te&&(i.title=te.title),!ge(r)){var m=new Date().getTime()-r;i.$duration=parseFloat((m/1e3).toFixed(3))}ht&&this.config.opt_out_useragent_filter&&(i.$browser_type=_h(ht,this.config.custom_blocked_useragents)?"bot":"browser"),(i=At({},o,this.persistence.properties(),this.sessionPersistence.properties(),i)).$is_identified=this._isIdentified(),bt(this.config.property_denylist)?Ve(this.config.property_denylist,function(y){delete i[y]}):W.error("Invalid value for property_denylist config: "+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var v=this.config.sanitize_properties;return v&&(i=v(i,t)),i.$process_person_profile=this._hasPersonProcessing(),i}},{key:"_calculate_set_once_properties",value:function(t){if(!this.persistence||!this._hasPersonProcessing())return t;var n=At({},this.persistence.get_initial_props(),t||{});return pl(n)?void 0:n}},{key:"register",value:function(t,n){var r;(r=this.persistence)===null||r===void 0||r.register(t,n)}},{key:"register_once",value:function(t,n,r){var i;(i=this.persistence)===null||i===void 0||i.register_once(t,n,r)}},{key:"register_for_session",value:function(t){var n;(n=this.sessionPersistence)===null||n===void 0||n.register(t)}},{key:"unregister",value:function(t){var n;(n=this.persistence)===null||n===void 0||n.unregister(t)}},{key:"unregister_for_session",value:function(t){var n;(n=this.sessionPersistence)===null||n===void 0||n.unregister(t)}},{key:"_register_single",value:function(t,n){this.register(j({},t,n))}},{key:"getFeatureFlag",value:function(t,n){return this.featureFlags.getFeatureFlag(t,n)}},{key:"getFeatureFlagPayload",value:function(t){var n=this.featureFlags.getFeatureFlagPayload(t);try{return JSON.parse(n)}catch{return n}}},{key:"isFeatureEnabled",value:function(t,n){return this.featureFlags.isFeatureEnabled(t,n)}},{key:"reloadFeatureFlags",value:function(){this.featureFlags.reloadFeatureFlags()}},{key:"updateEarlyAccessFeatureEnrollment",value:function(t,n){this.featureFlags.updateEarlyAccessFeatureEnrollment(t,n)}},{key:"getEarlyAccessFeatures",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.featureFlags.getEarlyAccessFeatures(t,n)}},{key:"on",value:function(t,n){return this._debugEventEmitter.on(t,n)}},{key:"onFeatureFlags",value:function(t){return this.featureFlags.onFeatureFlags(t)}},{key:"onSessionId",value:function(t){var n,r;return(n=(r=this.sessionManager)===null||r===void 0?void 0:r.onSessionId(t))!==null&&n!==void 0?n:function(){}}},{key:"getSurveys",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.surveys.getSurveys(t,n)}},{key:"getActiveMatchingSurveys",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.surveys.getActiveMatchingSurveys(t,n)}},{key:"identify",value:function(t,n,r){if(!this.__loaded||!this.persistence)return W.uninitializedWarning("posthog.identify");if(pn(t)&&(t=t.toString(),W.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()))W.critical('The string "'.concat(t,'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.'));else if(this._requirePersonProcessing("posthog.identify")){var i=this.get_distinct_id();if(this.register({$user_id:t}),!this.get_property("$device_id")){var s=i;this.register_once({$had_persisted_distinct_id:!0,$device_id:s},"")}t!==i&&t!==this.get_property(ts)&&(this.unregister(ts),this.register({distinct_id:t}));var o=(this.persistence.get_property(Kn)||"anonymous")==="anonymous";t!==i&&o?(this.persistence.set_property(Kn,"identified"),this.setPersonPropertiesForFlags(n||{},!1),this.capture("$identify",{distinct_id:t,$anon_distinct_id:i},{$set:n||{},$set_once:r||{}}),this.featureFlags.setAnonymousDistinctId(i)):(n||r)&&this.setPersonProperties(n,r),t!==i&&(this.reloadFeatureFlags(),this.unregister(Yo))}}else W.error("Unique user id has not been set in posthog.identify")}},{key:"setPersonProperties",value:function(t,n){(t||n)&&this._requirePersonProcessing("posthog.setPersonProperties")&&(this.setPersonPropertiesForFlags(t||{}),this.capture("$set",{$set:t||{},$set_once:n||{}}))}},{key:"group",value:function(t,n,r){if(t&&n){if(this._requirePersonProcessing("posthog.group")){var i=this.getGroups();i[t]!==n&&this.resetGroupPropertiesForFlags(t),this.register({$groups:re(re({},i),{},j({},t,n))}),r&&(this.capture("$groupidentify",{$group_type:t,$group_key:n,$group_set:r}),this.setGroupPropertiesForFlags(j({},t,r))),i[t]===n||r||this.reloadFeatureFlags()}}else W.error("posthog.group requires a group type and group key")}},{key:"resetGroups",value:function(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}},{key:"setPersonPropertiesForFlags",value:function(t){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this._requirePersonProcessing("posthog.setPersonPropertiesForFlags")&&this.featureFlags.setPersonPropertiesForFlags(t,n)}},{key:"resetPersonPropertiesForFlags",value:function(){this.featureFlags.resetPersonPropertiesForFlags()}},{key:"setGroupPropertiesForFlags",value:function(t){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this._requirePersonProcessing("posthog.setGroupPropertiesForFlags")&&this.featureFlags.setGroupPropertiesForFlags(t,n)}},{key:"resetGroupPropertiesForFlags",value:function(t){this.featureFlags.resetGroupPropertiesForFlags(t)}},{key:"reset",value:function(t){var n,r,i,s;if(!this.__loaded)return W.uninitializedWarning("posthog.reset");var o=this.get_property("$device_id");(n=this.persistence)===null||n===void 0||n.clear(),(r=this.sessionPersistence)===null||r===void 0||r.clear(),(i=this.persistence)===null||i===void 0||i.set_property(Kn,"anonymous"),(s=this.sessionManager)===null||s===void 0||s.resetSessionId();var l=this.config.get_device_id(pr());this.register_once({distinct_id:l,$device_id:t?l:o},"")}},{key:"get_distinct_id",value:function(){return this.get_property("distinct_id")}},{key:"getGroups",value:function(){return this.get_property("$groups")||{}}},{key:"get_session_id",value:function(){var t,n;return(t=(n=this.sessionManager)===null||n===void 0?void 0:n.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&t!==void 0?t:""}},{key:"get_session_replay_url",value:function(t){if(!this.sessionManager)return"";var n=this.sessionManager.checkAndGetSessionAndWindowId(!0),r=n.sessionId,i=n.sessionStartTimestamp,s=this.requestRouter.endpointFor("ui","/project/".concat(this.config.token,"/replay/").concat(r));if(t!=null&&t.withTimestamp&&i){var o,l=(o=t.timestampLookBack)!==null&&o!==void 0?o:10;if(!i)return s;var c=Math.max(Math.floor((new Date().getTime()-i)/1e3)-l,0);s+="?t=".concat(c)}return s}},{key:"alias",value:function(t,n){return t===this.get_property(Sm)?(W.critical("Attempting to create alias for existing People user - aborting."),-2):this._requirePersonProcessing("posthog.alias")?(ge(n)&&(n=this.get_distinct_id()),t!==n?(this._register_single(ts,t),this.capture("$create_alias",{alias:t,distinct_id:n})):(W.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}},{key:"set_config",value:function(t){var n,r,i,s,o=re({},this.config);Mn(t)&&(At(this.config,wh(t)),(n=this.persistence)===null||n===void 0||n.update_config(this.config,o),this.sessionPersistence=this.config.persistence==="sessionStorage"?this.persistence:new _l(re(re({},this.config),{},{persistence:"sessionStorage"})),mt.is_supported()&&mt.get("ph_debug")==="true"&&(this.config.debug=!0),this.config.debug&&(jr.DEBUG=!0),(r=this.sessionRecording)===null||r===void 0||r.startIfEnabledOrStop(),(i=this.autocapture)===null||i===void 0||i.startIfEnabled(),(s=this.heatmaps)===null||s===void 0||s.startIfEnabled(),this.surveys.loadIfEnabled())}},{key:"startSessionRecording",value:function(t){if(t!=null&&t.sampling){var n,r,i=(n=this.sessionManager)===null||n===void 0?void 0:n.checkAndGetSessionAndWindowId();(r=this.persistence)===null||r===void 0||r.register(j({},cs,!0)),W.info("Session recording started with sampling override for session: ",i==null?void 0:i.sessionId)}this.set_config({disable_session_recording:!1})}},{key:"stopSessionRecording",value:function(){this.set_config({disable_session_recording:!0})}},{key:"sessionRecordingStarted",value:function(){var t;return!((t=this.sessionRecording)===null||t===void 0||!t.started)}},{key:"loadToolbar",value:function(t){return this.toolbar.loadToolbar(t)}},{key:"get_property",value:function(t){var n;return(n=this.persistence)===null||n===void 0?void 0:n.props[t]}},{key:"getSessionProperty",value:function(t){var n;return(n=this.sessionPersistence)===null||n===void 0?void 0:n.props[t]}},{key:"toString",value:function(){var t,n=(t=this.config.name)!==null&&t!==void 0?t:oi;return n!==oi&&(n=oi+"."+n),n}},{key:"_isIdentified",value:function(){var t,n;return((t=this.persistence)===null||t===void 0?void 0:t.get_property(Kn))==="identified"||((n=this.sessionPersistence)===null||n===void 0?void 0:n.get_property(Kn))==="identified"}},{key:"_hasPersonProcessing",value:function(){var t,n,r,i;return!(this.config.person_profiles==="never"||this.config.person_profiles==="identified_only"&&!this._isIdentified()&&pl(this.getGroups())&&((t=this.persistence)===null||t===void 0||(n=t.props)===null||n===void 0||!n[ts])&&((r=this.persistence)===null||r===void 0||(i=r.props)===null||i===void 0||!i[Go]))}},{key:"_requirePersonProcessing",value:function(t){return this.config.person_profiles==="never"?(W.error(t+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this._register_single(Go,!0),!0)}},{key:"_gdpr_init",value:function(){this.config.opt_out_capturing_persistence_type==="localStorage"&&mt.is_supported()&&(!this.has_opted_in_capturing()&&this.has_opted_in_capturing({persistence_type:"cookie"})&&this.opt_in_capturing({enable_persistence:!1}),!this.has_opted_out_capturing()&&this.has_opted_out_capturing({persistence_type:"cookie"})&&this.opt_out_capturing({clear_persistence:!1}),this.clear_opt_in_out_capturing({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_capturing()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_capturing()||!this.config.opt_out_capturing_by_default&&!jn.get("ph_optout")||(jn.remove("ph_optout"),this.opt_out_capturing({clear_persistence:this.config.opt_out_persistence_by_default}))}},{key:"_gdpr_update_persistence",value:function(t){var n,r,i,s,o;if(t&&t.clear_persistence)i=!0;else{if(!t||!t.enable_persistence)return;i=!1}this.config.disable_persistence||((n=this.persistence)===null||n===void 0?void 0:n.disabled)===i||(s=this.persistence)===null||s===void 0||s.set_disabled(i),this.config.disable_persistence||((r=this.sessionPersistence)===null||r===void 0?void 0:r.disabled)===i||(o=this.sessionPersistence)===null||o===void 0||o.set_disabled(i)}},{key:"_gdpr_call_func",value:function(t,n){return n=At({capture:this.capture.bind(this),persistence_type:this.config.opt_out_capturing_persistence_type,cookie_prefix:this.config.opt_out_capturing_cookie_prefix,cookie_expiration:this.config.cookie_expiration,cross_subdomain_cookie:this.config.cross_subdomain_cookie,secure_cookie:this.config.secure_cookie},n||{}),mt.is_supported()||n.persistence_type!=="localStorage"||(n.persistence_type="cookie"),t(this.config.token,{capture:n.capture,captureEventName:n.capture_event_name,captureProperties:n.capture_properties,persistenceType:n.persistence_type,persistencePrefix:n.cookie_prefix,cookieExpiration:n.cookie_expiration,crossSubdomainCookie:n.cross_subdomain_cookie,secureCookie:n.secure_cookie})}},{key:"opt_in_capturing",value:function(t){t=At({enable_persistence:!0},t||{}),this._gdpr_call_func(f1,t),this._gdpr_update_persistence(t)}},{key:"opt_out_capturing",value:function(t){var n=At({clear_persistence:!0},t||{});this._gdpr_call_func(d1,n),this._gdpr_update_persistence(n)}},{key:"has_opted_in_capturing",value:function(t){return this._gdpr_call_func(h1,t)}},{key:"has_opted_out_capturing",value:function(t){return this._gdpr_call_func(Jm,t)}},{key:"clear_opt_in_out_capturing",value:function(t){var n=At({enable_persistence:!0},t??{});this._gdpr_call_func(p1,n),this._gdpr_update_persistence(n)}},{key:"debug",value:function(t){t===!1?(P==null||P.console.log("You've disabled debug mode."),localStorage&&localStorage.removeItem("ph_debug"),this.set_config({debug:!1})):(P==null||P.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)`."),localStorage&&localStorage.setItem("ph_debug","true"),this.set_config({debug:!0}))}}]),e}();(function(e,t){for(var n=0;n<t.length;n++)e.prototype[t[n]]=k0(e.prototype[t[n]])})(lg,["identify"]);var kh,xh;(function(e){e.Popover="popover",e.API="api",e.Widget="widget"})(kh||(kh={})),function(e){e.Open="open",e.MultipleChoice="multiple_choice",e.SingleChoice="single_choice",e.Rating="rating",e.Link="link"}(xh||(xh={}));var Eh,ew=(Eh=fs[oi]=new lg,function(){function e(){e.done||(e.done=!0,ag=!1,Ve(fs,function(t){t._dom_loaded()}))}te!=null&&te.addEventListener&&(te.readyState==="complete"?e():te.addEventListener("DOMContentLoaded",e,!1)),P&&Yn(P,"load",e,!0)}(),Eh);const tw={install(e){e.config.globalProperties.$posthog=ew.init("phc_jwnr5o3EoT8pSuZkqGXD12vftOpAd0uq63o2Pf0TCV6",{api_host:"https://eu.i.posthog.com"})}};/*!
  * vue-router v4.2.2
  * (c) 2023 Eduardo San Martin Morote
  * @license MIT
  */const ai=typeof window<"u";function nw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const De=Object.assign;function Sl(e,t){const n={};for(const r in t){const i=t[r];n[r]=Sn(i)?i.map(e):e(i)}return n}const ds=()=>{},Sn=Array.isArray,rw=/\/$/,iw=e=>e.replace(rw,"");function Al(e,t,n="/"){let r,i={},s="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return l<c&&l>=0&&(c=-1),c>-1&&(r=t.slice(0,c),s=t.slice(c+1,l>-1?l:t.length),i=e(s)),l>-1&&(r=r||t.slice(0,l),o=t.slice(l,t.length)),r=lw(r??t,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:o}}function sw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Sh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ow(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Oi(t.matched[r],n.matched[i])&&cg(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Oi(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function cg(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!aw(e[n],t[n]))return!1;return!0}function aw(e,t){return Sn(e)?Ah(e,t):Sn(t)?Ah(t,e):e===t}function Ah(e,t){return Sn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function lw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let s=n.length-1,o,l;for(o=0;o<r.length;o++)if(l=r[o],l!==".")if(l==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Ts;(function(e){e.pop="pop",e.push="push"})(Ts||(Ts={}));var hs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(hs||(hs={}));function cw(e){if(!e)if(ai){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),iw(e)}const uw=/^[^#]+#/;function fw(e,t){return e.replace(uw,"#")+t}function dw(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 Sa=()=>({left:window.pageXOffset,top:window.pageYOffset});function hw(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=dw(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Ch(e,t){return(history.state?history.state.position-t:-1)+e}const hc=new Map;function pw(e,t){hc.set(e,t)}function mw(e){const t=hc.get(e);return hc.delete(e),t}let gw=()=>location.protocol+"//"+location.host;function ug(e,t){const{pathname:n,search:r,hash:i}=t,s=e.indexOf("#");if(s>-1){let l=i.includes(e.slice(s))?e.slice(s).length:1,c=i.slice(l);return c[0]!=="/"&&(c="/"+c),Sh(c,"")}return Sh(n,e)+r+i}function vw(e,t,n,r){let i=[],s=[],o=null;const l=({state:m})=>{const v=ug(e,location),y=n.value,w=t.value;let C=0;if(m){if(n.value=v,t.value=m,o&&o===y){o=null;return}C=w?m.position-w.position:0}else r(v);i.forEach(E=>{E(n.value,y,{delta:C,type:Ts.pop,direction:C?C>0?hs.forward:hs.back:hs.unknown})})};function c(){o=n.value}function d(m){i.push(m);const v=()=>{const y=i.indexOf(m);y>-1&&i.splice(y,1)};return s.push(v),v}function f(){const{history:m}=window;m.state&&m.replaceState(De({},m.state,{scroll:Sa()}),"")}function h(){for(const m of s)m();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:d,destroy:h}}function Oh(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Sa():null}}function _w(e){const{history:t,location:n}=window,r={value:ug(e,n)},i={value:t.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,d,f){const h=e.indexOf("#"),m=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:gw()+e+c;try{t[f?"replaceState":"pushState"](d,"",m),i.value=d}catch(v){console.error(v),n[f?"replace":"assign"](m)}}function o(c,d){const f=De({},t.state,Oh(i.value.back,c,i.value.forward,!0),d,{position:i.value.position});s(c,f,!0),r.value=c}function l(c,d){const f=De({},i.value,t.state,{forward:c,scroll:Sa()});s(f.current,f,!0);const h=De({},Oh(r.value,c,null),{position:f.position+1},d);s(c,h,!1),r.value=c}return{location:r,state:i,push:l,replace:o}}function bw(e){e=cw(e);const t=_w(e),n=vw(e,t.state,t.location,t.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=De({location:"",base:e,go:r,createHref:fw.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function yw(e){return typeof e=="string"||e&&typeof e=="object"}function fg(e){return typeof e=="string"||typeof e=="symbol"}const lr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},dg=Symbol("");var Ph;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ph||(Ph={}));function Pi(e,t){return De(new Error,{type:e,[dg]:!0},t)}function Wn(e,t){return e instanceof Error&&dg in e&&(t==null||!!(e.type&t))}const Th="[^/]+?",ww={sensitive:!1,strict:!1,start:!0,end:!0},kw=/[.+*?^${}()[\]/\\]/g;function xw(e,t){const n=De({},ww,t),r=[];let i=n.start?"^":"";const s=[];for(const d of e){const f=d.length?[]:[90];n.strict&&!d.length&&(i+="/");for(let h=0;h<d.length;h++){const m=d[h];let v=40+(n.sensitive?.25:0);if(m.type===0)h||(i+="/"),i+=m.value.replace(kw,"\\$&"),v+=40;else if(m.type===1){const{value:y,repeatable:w,optional:C,regexp:E}=m;s.push({name:y,repeatable:w,optional:C});const A=E||Th;if(A!==Th){v+=10;try{new RegExp(`(${A})`)}catch(K){throw new Error(`Invalid custom RegExp for param "${y}" (${A}): `+K.message)}}let R=w?`((?:${A})(?:/(?:${A}))*)`:`(${A})`;h||(R=C&&d.length<2?`(?:/${R})`:"/"+R),C&&(R+="?"),i+=R,v+=20,C&&(v+=-8),w&&(v+=-20),A===".*"&&(v+=-50)}f.push(v)}r.push(f)}if(n.strict&&n.end){const d=r.length-1;r[d][r[d].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function l(d){const f=d.match(o),h={};if(!f)return null;for(let m=1;m<f.length;m++){const v=f[m]||"",y=s[m-1];h[y.name]=v&&y.repeatable?v.split("/"):v}return h}function c(d){let f="",h=!1;for(const m of e){(!h||!f.endsWith("/"))&&(f+="/"),h=!1;for(const v of m)if(v.type===0)f+=v.value;else if(v.type===1){const{value:y,repeatable:w,optional:C}=v,E=y in d?d[y]:"";if(Sn(E)&&!w)throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);const A=Sn(E)?E.join("/"):E;if(!A)if(C)m.length<2&&(f.endsWith("/")?f=f.slice(0,-1):h=!0);else throw new Error(`Missing required param "${y}"`);f+=A}}return f||"/"}return{re:o,score:r,keys:s,parse:l,stringify:c}}function Ew(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]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Sw(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const s=Ew(r[n],i[n]);if(s)return s;n++}if(Math.abs(i.length-r.length)===1){if(Rh(r))return 1;if(Rh(i))return-1}return i.length-r.length}function Rh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Aw={type:0,value:""},Cw=/[a-zA-Z0-9_]/;function Ow(e){if(!e)return[[]];if(e==="/")return[[Aw]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${d}": ${v}`)}let n=0,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let l=0,c,d="",f="";function h(){d&&(n===0?s.push({type:0,value:d}):n===1||n===2||n===3?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:d,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function m(){d+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(d&&h(),o()):c===":"?(h(),n=1):m();break;case 4:m(),n=r;break;case 1:c==="("?n=2:Cw.test(c)?m():(h(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case 2:c===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+c:n=3:f+=c;break;case 3:h(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${d}"`),h(),o(),i}function Pw(e,t,n){const r=xw(Ow(e.path),n),i=De(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function Tw(e,t){const n=[],r=new Map;t=Nh({strict:!1,end:!0,sensitive:!1},t);function i(f){return r.get(f)}function s(f,h,m){const v=!m,y=Rw(f);y.aliasOf=m&&m.record;const w=Nh(t,f),C=[y];if("alias"in f){const R=typeof f.alias=="string"?[f.alias]:f.alias;for(const K of R)C.push(De({},y,{components:m?m.record.components:y.components,path:K,aliasOf:m?m.record:y}))}let E,A;for(const R of C){const{path:K}=R;if(h&&K[0]!=="/"){const Z=h.record.path,fe=Z[Z.length-1]==="/"?"":"/";R.path=h.record.path+(K&&fe+K)}if(E=Pw(R,h,w),m?m.alias.push(E):(A=A||E,A!==E&&A.alias.push(E),v&&f.name&&!Fh(E)&&o(f.name)),y.children){const Z=y.children;for(let fe=0;fe<Z.length;fe++)s(Z[fe],E,m&&m.children[fe])}m=m||E,(E.record.components&&Object.keys(E.record.components).length||E.record.name||E.record.redirect)&&c(E)}return A?()=>{o(A)}:ds}function o(f){if(fg(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 l(){return n}function c(f){let h=0;for(;h<n.length&&Sw(f,n[h])>=0&&(f.record.path!==n[h].record.path||!hg(f,n[h]));)h++;n.splice(h,0,f),f.record.name&&!Fh(f)&&r.set(f.record.name,f)}function d(f,h){let m,v={},y,w;if("name"in f&&f.name){if(m=r.get(f.name),!m)throw Pi(1,{location:f});w=m.record.name,v=De(Ih(h.params,m.keys.filter(A=>!A.optional).map(A=>A.name)),f.params&&Ih(f.params,m.keys.map(A=>A.name))),y=m.stringify(v)}else if("path"in f)y=f.path,m=n.find(A=>A.re.test(y)),m&&(v=m.parse(y),w=m.record.name);else{if(m=h.name?r.get(h.name):n.find(A=>A.re.test(h.path)),!m)throw Pi(1,{location:f,currentLocation:h});w=m.record.name,v=De({},h.params,f.params),y=m.stringify(v)}const C=[];let E=m;for(;E;)C.unshift(E.record),E=E.parent;return{name:w,path:y,params:v,matched:C,meta:Fw(C)}}return e.forEach(f=>s(f)),{addRoute:s,resolve:d,removeRoute:o,getRoutes:l,getRecordMatcher:i}}function Ih(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Rw(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Iw(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Iw(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=="boolean"?n:n[r];return t}function Fh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Fw(e){return e.reduce((t,n)=>De(t,n.meta),{})}function Nh(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function hg(e,t){return t.children.some(n=>n===e||hg(e,n))}const pg=/#/g,Nw=/&/g,Mw=/\//g,Lw=/=/g,$w=/\?/g,mg=/\+/g,Dw=/%5B/g,jw=/%5D/g,gg=/%5E/g,Bw=/%60/g,vg=/%7B/g,Hw=/%7C/g,_g=/%7D/g,qw=/%20/g;function pu(e){return encodeURI(""+e).replace(Hw,"|").replace(Dw,"[").replace(jw,"]")}function zw(e){return pu(e).replace(vg,"{").replace(_g,"}").replace(gg,"^")}function pc(e){return pu(e).replace(mg,"%2B").replace(qw,"+").replace(pg,"%23").replace(Nw,"%26").replace(Bw,"`").replace(vg,"{").replace(_g,"}").replace(gg,"^")}function Uw(e){return pc(e).replace(Lw,"%3D")}function Ww(e){return pu(e).replace(pg,"%23").replace($w,"%3F")}function Vw(e){return e==null?"":Ww(e).replace(Mw,"%2F")}function na(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Kw(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const s=r[i].replace(mg," "),o=s.indexOf("="),l=na(o<0?s:s.slice(0,o)),c=o<0?null:na(s.slice(o+1));if(l in t){let d=t[l];Sn(d)||(d=t[l]=[d]),d.push(c)}else t[l]=c}return t}function Mh(e){let t="";for(let n in e){const r=e[n];if(n=Uw(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Sn(r)?r.map(s=>s&&pc(s)):[r&&pc(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Yw(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Sn(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const Gw=Symbol(""),Lh=Symbol(""),mu=Symbol(""),bg=Symbol(""),mc=Symbol("");function Ji(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function hr(e,t,n,r,i){const s=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((o,l)=>{const c=h=>{h===!1?l(Pi(4,{from:n,to:t})):h instanceof Error?l(h):yw(h)?l(Pi(2,{from:t,to:h})):(s&&r.enterCallbacks[i]===s&&typeof h=="function"&&s.push(h),o())},d=e.call(r&&r.instances[i],t,n,c);let f=Promise.resolve(d);e.length<3&&(f=f.then(c)),f.catch(h=>l(h))})}function Cl(e,t,n,r){const i=[];for(const s of e)for(const o in s.components){let l=s.components[o];if(!(t!=="beforeRouteEnter"&&!s.instances[o]))if(Xw(l)){const d=(l.__vccOpts||l)[t];d&&i.push(hr(d,n,r,s,o))}else{let c=l();i.push(()=>c.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const f=nw(d)?d.default:d;s.components[o]=f;const m=(f.__vccOpts||f)[t];return m&&hr(m,n,r,s,o)()}))}}return i}function Xw(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function $h(e){const t=Xn(mu),n=Xn(bg),r=at(()=>t.resolve(mi(e.to))),i=at(()=>{const{matched:c}=r.value,{length:d}=c,f=c[d-1],h=n.matched;if(!f||!h.length)return-1;const m=h.findIndex(Oi.bind(null,f));if(m>-1)return m;const v=Dh(c[d-2]);return d>1&&Dh(f)===v&&h[h.length-1].path!==v?h.findIndex(Oi.bind(null,c[d-2])):m}),s=at(()=>i.value>-1&&ek(n.params,r.value.params)),o=at(()=>i.value>-1&&i.value===n.matched.length-1&&cg(n.params,r.value.params));function l(c={}){return Zw(c)?t[mi(e.replace)?"replace":"push"](mi(e.to)).catch(ds):Promise.resolve()}return{route:r,href:at(()=>r.value.href),isActive:s,isExactActive:o,navigate:l}}const Jw=$s({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:$h,setup(e,{slots:t}){const n=Mi($h(e)),{options:r}=Xn(mu),i=at(()=>({[jh(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[jh(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:wa("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),Qw=Jw;function Zw(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 ek(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Sn(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function Dh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const jh=(e,t,n)=>e??t??n,tk=$s({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Xn(mc),i=at(()=>e.route||r.value),s=Xn(Lh,0),o=at(()=>{let d=mi(s);const{matched:f}=i.value;let h;for(;(h=f[d])&&!h.components;)d++;return d}),l=at(()=>i.value.matched[o.value]);To(Lh,at(()=>o.value+1)),To(Gw,l),To(mc,i);const c=ab();return os(()=>[c.value,l.value,e.name],([d,f,h],[m,v,y])=>{f&&(f.instances[h]=d,v&&v!==f&&d&&d===m&&(f.leaveGuards.size||(f.leaveGuards=v.leaveGuards),f.updateGuards.size||(f.updateGuards=v.updateGuards))),d&&f&&(!v||!Oi(f,v)||!m)&&(f.enterCallbacks[h]||[]).forEach(w=>w(d))},{flush:"post"}),()=>{const d=i.value,f=e.name,h=l.value,m=h&&h.components[f];if(!m)return Bh(n.default,{Component:m,route:d});const v=h.props[f],y=v?v===!0?d.params:typeof v=="function"?v(d):v:null,C=wa(m,De({},y,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return Bh(n.default,{Component:C,route:d})||C}}});function Bh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const nk=tk;function rk(e){const t=Tw(e.routes,e),n=e.parseQuery||Kw,r=e.stringifyQuery||Mh,i=e.history,s=Ji(),o=Ji(),l=Ji(),c=lb(lr);let d=lr;ai&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Sl.bind(null,N=>""+N),h=Sl.bind(null,Vw),m=Sl.bind(null,na);function v(N,I){let q,G;return fg(N)?(q=t.getRecordMatcher(N),G=I):G=N,t.addRoute(G,q)}function y(N){const I=t.getRecordMatcher(N);I&&t.removeRoute(I)}function w(){return t.getRoutes().map(N=>N.record)}function C(N){return!!t.getRecordMatcher(N)}function E(N,I){if(I=De({},I||c.value),typeof N=="string"){const S=Al(n,N,I.path),T=t.resolve({path:S.path},I),M=i.createHref(S.fullPath);return De(S,T,{params:m(T.params),hash:na(S.hash),redirectedFrom:void 0,href:M})}let q;if("path"in N)q=De({},N,{path:Al(n,N.path,I.path).path});else{const S=De({},N.params);for(const T in S)S[T]==null&&delete S[T];q=De({},N,{params:h(S)}),I.params=h(I.params)}const G=t.resolve(q,I),Se=N.hash||"";G.params=f(m(G.params));const _=sw(r,De({},N,{hash:zw(Se),path:G.path})),b=i.createHref(_);return De({fullPath:_,hash:Se,query:r===Mh?Yw(N.query):N.query||{}},G,{redirectedFrom:void 0,href:b})}function A(N){return typeof N=="string"?Al(n,N,c.value.path):De({},N)}function R(N,I){if(d!==N)return Pi(8,{from:I,to:N})}function K(N){return ke(N)}function Z(N){return K(De(A(N),{replace:!0}))}function fe(N){const I=N.matched[N.matched.length-1];if(I&&I.redirect){const{redirect:q}=I;let G=typeof q=="function"?q(N):q;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=A(G):{path:G},G.params={}),De({query:N.query,hash:N.hash,params:"path"in G?{}:N.params},G)}}function ke(N,I){const q=d=E(N),G=c.value,Se=N.state,_=N.force,b=N.replace===!0,S=fe(q);if(S)return ke(De(A(S),{state:typeof S=="object"?De({},Se,S.state):Se,force:_,replace:b}),I||q);const T=q;T.redirectedFrom=I;let M;return!_&&ow(r,G,q)&&(M=Pi(16,{to:T,from:G}),ft(G,G,!0,!1)),(M?Promise.resolve(M):Ue(T,G)).catch($=>Wn($)?Wn($,2)?$:F($):ye($,T,G)).then($=>{if($){if(Wn($,2))return ke(De({replace:b},A($.to),{state:typeof $.to=="object"?De({},Se,$.to.state):Se,force:_}),I||T)}else $=rt(T,G,!0,b,Se);return kt(T,G,$),$})}function ae(N,I){const q=R(N,I);return q?Promise.reject(q):Promise.resolve()}function et(N){const I=Ne.values().next().value;return I&&typeof I.runWithContext=="function"?I.runWithContext(N):N()}function Ue(N,I){let q;const[G,Se,_]=ik(N,I);q=Cl(G.reverse(),"beforeRouteLeave",N,I);for(const S of G)S.leaveGuards.forEach(T=>{q.push(hr(T,N,I))});const b=ae.bind(null,N,I);return q.push(b),Ee(q).then(()=>{q=[];for(const S of s.list())q.push(hr(S,N,I));return q.push(b),Ee(q)}).then(()=>{q=Cl(Se,"beforeRouteUpdate",N,I);for(const S of Se)S.updateGuards.forEach(T=>{q.push(hr(T,N,I))});return q.push(b),Ee(q)}).then(()=>{q=[];for(const S of N.matched)if(S.beforeEnter&&!I.matched.includes(S))if(Sn(S.beforeEnter))for(const T of S.beforeEnter)q.push(hr(T,N,I));else q.push(hr(S.beforeEnter,N,I));return q.push(b),Ee(q)}).then(()=>(N.matched.forEach(S=>S.enterCallbacks={}),q=Cl(_,"beforeRouteEnter",N,I),q.push(b),Ee(q))).then(()=>{q=[];for(const S of o.list())q.push(hr(S,N,I));return q.push(b),Ee(q)}).catch(S=>Wn(S,8)?S:Promise.reject(S))}function kt(N,I,q){for(const G of l.list())et(()=>G(N,I,q))}function rt(N,I,q,G,Se){const _=R(N,I);if(_)return _;const b=I===lr,S=ai?history.state:{};q&&(G||b?i.replace(N.fullPath,De({scroll:b&&S&&S.scroll},Se)):i.push(N.fullPath,Se)),c.value=N,ft(N,I,q,b),F()}let it;function _t(){it||(it=i.listen((N,I,q)=>{if(!Ot.listening)return;const G=E(N),Se=fe(G);if(Se){ke(De(Se,{replace:!0}),G).catch(ds);return}d=G;const _=c.value;ai&&pw(Ch(_.fullPath,q.delta),Sa()),Ue(G,_).catch(b=>Wn(b,12)?b:Wn(b,2)?(ke(b.to,G).then(S=>{Wn(S,20)&&!q.delta&&q.type===Ts.pop&&i.go(-1,!1)}).catch(ds),Promise.reject()):(q.delta&&i.go(-q.delta,!1),ye(b,G,_))).then(b=>{b=b||rt(G,_,!1),b&&(q.delta&&!Wn(b,8)?i.go(-q.delta,!1):q.type===Ts.pop&&Wn(b,20)&&i.go(-1,!1)),kt(G,_,b)}).catch(ds)}))}let pt=Ji(),je=Ji(),be;function ye(N,I,q){F(N);const G=je.list();return G.length?G.forEach(Se=>Se(N,I,q)):console.error(N),Promise.reject(N)}function st(){return be&&c.value!==lr?Promise.resolve():new Promise((N,I)=>{pt.add([N,I])})}function F(N){return be||(be=!N,_t(),pt.list().forEach(([I,q])=>N?q(N):I()),pt.reset()),N}function ft(N,I,q,G){const{scrollBehavior:Se}=e;if(!ai||!Se)return Promise.resolve();const _=!q&&mw(Ch(N.fullPath,0))||(G||!q)&&history.state&&history.state.scroll||null;return Xp().then(()=>Se(N,I,_)).then(b=>b&&hw(b)).catch(b=>ye(b,N,I))}const Oe=N=>i.go(N);let ot;const Ne=new Set,Ot={currentRoute:c,listening:!0,addRoute:v,removeRoute:y,hasRoute:C,getRoutes:w,resolve:E,options:e,push:K,replace:Z,go:Oe,back:()=>Oe(-1),forward:()=>Oe(1),beforeEach:s.add,beforeResolve:o.add,afterEach:l.add,onError:je.add,isReady:st,install(N){const I=this;N.component("RouterLink",Qw),N.component("RouterView",nk),N.config.globalProperties.$router=I,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>mi(c)}),ai&&!ot&&c.value===lr&&(ot=!0,K(i.location).catch(Se=>{}));const q={};for(const Se in lr)q[Se]=at(()=>c.value[Se]);N.provide(mu,I),N.provide(bg,Mi(q)),N.provide(mc,c);const G=N.unmount;Ne.add(N),N.unmount=function(){Ne.delete(N),Ne.size<1&&(d=lr,it&&it(),it=null,c.value=lr,ot=!1,be=!1),G()}}};function Ee(N){return N.reduce((I,q)=>I.then(()=>et(q)),Promise.resolve())}return Ot}function ik(e,t){const n=[],r=[],i=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;o<s;o++){const l=t.matched[o];l&&(e.matched.find(d=>Oi(d,l))?r.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(d=>Oi(d,c))||i.push(c))}return[n,r,i]}const sk="/img/logo-animation.webp";const ok={name:"HomePage"},gu=e=>(Li("data-v-7463011c"),e=e(),$i(),e),ak={id:"jumbo-container",class:"d-flex flex-column justify-content-center align-items-center"},lk=gu(()=>ue("h1",{class:"mb-2 text-center fs-1"},"Under construction",-1)),ck=gu(()=>ue("a",{href:"mailto:info.bezzbrain@gmail.com",title:"mail",class:"text-decoration-none text-black mb-5 text-center fs-1 onHover"},"info.bezzbrain@gmail.com",-1)),uk=gu(()=>ue("img",{src:sk,alt:"logo-animated"},null,-1)),fk=[lk,ck,uk];function dk(e,t,n,r,i,s){return Rt(),Ht("div",ak,fk)}const hk=An(ok,[["render",dk],["__scopeId","data-v-7463011c"]]),Aa=Mi({base_Url:"http://127.0.0.1:8000"});const pk={name:"ProjectCard",props:["projectDetails","projectIndex","projectName"],data(){return{store:Aa}},methods:{generateSlug(e){return e.toLowerCase().replace(/\s+/g,"-")}}},mk={class:"card bg-dark text-white flex-wrap"},gk=["src","alt"],vk={class:"card-body"},_k={class:"card-title text-center text-white"};function bk(e,t,n,r,i,s){const o=Gn("router-link");return Rt(),Ht("div",mk,[lt(o,{class:"text-decoration-none",to:{name:"project",params:{id:n.projectIndex,slug:s.generateSlug(n.projectName)}}},{default:ws(()=>[ue("img",{class:"card-img-top",src:i.store.base_Url+"/storage/"+n.projectDetails.cover_image,alt:n.projectDetails.title},null,8,gk),ue("div",vk,[ue("h2",_k,Zi(n.projectDetails.title),1)])]),_:1},8,["to"])])}const yk=An(pk,[["render",bk],["__scopeId","data-v-c3bc3c8d"]]);const wk={name:"ProjectsPage",components:{ProjectCard:yk},data(){return{store:Aa,projects:[],currentPage:1,lastPage:null,type:null,selectedType:"all",technologies:null,selectedTechnologies:[]}}},kk={class:"container mb-4 d-flex flex-row justify-content-start align-items-start px-5"};function xk(e,t,n,r,i,s){return Rt(),Ht("div",kk)}const Ek=An(wk,[["render",xk],["__scopeId","data-v-7a3944b1"]]);function yg(e,t){return function(){return e.apply(t,arguments)}}const{toString:Sk}=Object.prototype,{getPrototypeOf:vu}=Object,Ca=(e=>t=>{const n=Sk.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Hn=e=>(e=e.toLowerCase(),t=>Ca(t)===e),Oa=e=>t=>typeof t===e,{isArray:Di}=Array,Rs=Oa("undefined");function Ak(e){return e!==null&&!Rs(e)&&e.constructor!==null&&!Rs(e.constructor)&&cn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const wg=Hn("ArrayBuffer");function Ck(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&wg(e.buffer),t}const Ok=Oa("string"),cn=Oa("function"),kg=Oa("number"),Pa=e=>e!==null&&typeof e=="object",Pk=e=>e===!0||e===!1,$o=e=>{if(Ca(e)!=="object")return!1;const t=vu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Tk=Hn("Date"),Rk=Hn("File"),Ik=Hn("Blob"),Fk=Hn("FileList"),Nk=e=>Pa(e)&&cn(e.pipe),Mk=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||cn(e.append)&&((t=Ca(e))==="formdata"||t==="object"&&cn(e.toString)&&e.toString()==="[object FormData]"))},Lk=Hn("URLSearchParams"),$k=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ds(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Di(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),o=s.length;let l;for(r=0;r<o;r++)l=s[r],t.call(null,e[l],l,e)}}function xg(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Eg=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Sg=e=>!Rs(e)&&e!==Eg;function gc(){const{caseless:e}=Sg(this)&&this||{},t={},n=(r,i)=>{const s=e&&xg(t,i)||i;$o(t[s])&&$o(r)?t[s]=gc(t[s],r):$o(r)?t[s]=gc({},r):Di(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Ds(arguments[r],n);return t}const Dk=(e,t,n,{allOwnKeys:r}={})=>(Ds(t,(i,s)=>{n&&cn(i)?e[s]=yg(i,n):e[s]=i},{allOwnKeys:r}),e),jk=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Bk=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Hk=(e,t,n,r)=>{let i,s,o;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!r||r(o,e,t))&&!l[o]&&(t[o]=e[o],l[o]=!0);e=n!==!1&&vu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},qk=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},zk=e=>{if(!e)return null;if(Di(e))return e;let t=e.length;if(!kg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Uk=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&vu(Uint8Array)),Wk=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},Vk=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Kk=Hn("HTMLFormElement"),Yk=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Hh=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Gk=Hn("RegExp"),Ag=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ds(n,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(r[s]=o||i)}),Object.defineProperties(e,r)},Xk=e=>{Ag(e,(t,n)=>{if(cn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(cn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Jk=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return Di(e)?r(e):r(String(e).split(t)),n},Qk=()=>{},Zk=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Ol="abcdefghijklmnopqrstuvwxyz",qh="0123456789",Cg={DIGIT:qh,ALPHA:Ol,ALPHA_DIGIT:Ol+Ol.toUpperCase()+qh},ex=(e=16,t=Cg.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function tx(e){return!!(e&&cn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const nx=e=>{const t=new Array(10),n=(r,i)=>{if(Pa(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=Di(r)?[]:{};return Ds(r,(o,l)=>{const c=n(o,i+1);!Rs(c)&&(s[l]=c)}),t[i]=void 0,s}}return r};return n(e,0)},rx=Hn("AsyncFunction"),ix=e=>e&&(Pa(e)||cn(e))&&cn(e.then)&&cn(e.catch),L={isArray:Di,isArrayBuffer:wg,isBuffer:Ak,isFormData:Mk,isArrayBufferView:Ck,isString:Ok,isNumber:kg,isBoolean:Pk,isObject:Pa,isPlainObject:$o,isUndefined:Rs,isDate:Tk,isFile:Rk,isBlob:Ik,isRegExp:Gk,isFunction:cn,isStream:Nk,isURLSearchParams:Lk,isTypedArray:Uk,isFileList:Fk,forEach:Ds,merge:gc,extend:Dk,trim:$k,stripBOM:jk,inherits:Bk,toFlatObject:Hk,kindOf:Ca,kindOfTest:Hn,endsWith:qk,toArray:zk,forEachEntry:Wk,matchAll:Vk,isHTMLForm:Kk,hasOwnProperty:Hh,hasOwnProp:Hh,reduceDescriptors:Ag,freezeMethods:Xk,toObjectSet:Jk,toCamelCase:Yk,noop:Qk,toFiniteNumber:Zk,findKey:xg,global:Eg,isContextDefined:Sg,ALPHABET:Cg,generateString:ex,isSpecCompliantForm:tx,toJSONObject:nx,isAsyncFn:rx,isThenable:ix};function Ce(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}L.inherits(Ce,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:L.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Og=Ce.prototype,Pg={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Pg[e]={value:e}});Object.defineProperties(Ce,Pg);Object.defineProperty(Og,"isAxiosError",{value:!0});Ce.from=(e,t,n,r,i,s)=>{const o=Object.create(Og);return L.toFlatObject(e,o,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),Ce.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const sx=null;function vc(e){return L.isPlainObject(e)||L.isArray(e)}function Tg(e){return L.endsWith(e,"[]")?e.slice(0,-2):e}function zh(e,t,n){return e?e.concat(t).map(function(i,s){return i=Tg(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function ox(e){return L.isArray(e)&&!e.some(vc)}const ax=L.toFlatObject(L,{},null,function(t){return/^is[A-Z]/.test(t)});function Ta(e,t,n){if(!L.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=L.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,C){return!L.isUndefined(C[w])});const r=n.metaTokens,i=n.visitor||f,s=n.dots,o=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&L.isSpecCompliantForm(t);if(!L.isFunction(i))throw new TypeError("visitor must be a function");function d(y){if(y===null)return"";if(L.isDate(y))return y.toISOString();if(!c&&L.isBlob(y))throw new Ce("Blob is not supported. Use a Buffer instead.");return L.isArrayBuffer(y)||L.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function f(y,w,C){let E=y;if(y&&!C&&typeof y=="object"){if(L.endsWith(w,"{}"))w=r?w:w.slice(0,-2),y=JSON.stringify(y);else if(L.isArray(y)&&ox(y)||(L.isFileList(y)||L.endsWith(w,"[]"))&&(E=L.toArray(y)))return w=Tg(w),E.forEach(function(R,K){!(L.isUndefined(R)||R===null)&&t.append(o===!0?zh([w],K,s):o===null?w:w+"[]",d(R))}),!1}return vc(y)?!0:(t.append(zh(C,w,s),d(y)),!1)}const h=[],m=Object.assign(ax,{defaultVisitor:f,convertValue:d,isVisitable:vc});function v(y,w){if(!L.isUndefined(y)){if(h.indexOf(y)!==-1)throw Error("Circular reference detected in "+w.join("."));h.push(y),L.forEach(y,function(E,A){(!(L.isUndefined(E)||E===null)&&i.call(t,E,L.isString(A)?A.trim():A,w,m))===!0&&v(E,w?w.concat(A):[A])}),h.pop()}}if(!L.isObject(e))throw new TypeError("data must be an object");return v(e),t}function Uh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function _u(e,t){this._pairs=[],e&&Ta(e,this,t)}const Rg=_u.prototype;Rg.append=function(t,n){this._pairs.push([t,n])};Rg.toString=function(t){const n=t?function(r){return t.call(this,r,Uh)}:Uh;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function lx(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ig(e,t,n){if(!t)return e;const r=n&&n.encode||lx,i=n&&n.serialize;let s;if(i?s=i(t,n):s=L.isURLSearchParams(t)?t.toString():new _u(t,n).toString(r),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class cx{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){L.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Wh=cx,Fg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ux=typeof URLSearchParams<"u"?URLSearchParams:_u,fx=typeof FormData<"u"?FormData:null,dx=typeof Blob<"u"?Blob:null,hx={isBrowser:!0,classes:{URLSearchParams:ux,FormData:fx,Blob:dx},protocols:["http","https","file","blob","url","data"]},Ng=typeof window<"u"&&typeof document<"u",px=(e=>Ng&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),mx=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),gx=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ng,hasStandardBrowserEnv:px,hasStandardBrowserWebWorkerEnv:mx},Symbol.toStringTag,{value:"Module"})),$n={...gx,...hx};function vx(e,t){return Ta(e,new $n.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return $n.isNode&&L.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function _x(e){return L.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function bx(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],t[s]=e[s];return t}function Mg(e){function t(n,r,i,s){let o=n[s++];if(o==="__proto__")return!0;const l=Number.isFinite(+o),c=s>=n.length;return o=!o&&L.isArray(i)?i.length:o,c?(L.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!l):((!i[o]||!L.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],s)&&L.isArray(i[o])&&(i[o]=bx(i[o])),!l)}if(L.isFormData(e)&&L.isFunction(e.entries)){const n={};return L.forEachEntry(e,(r,i)=>{t(_x(r),i,n,0)}),n}return null}function yx(e,t,n){if(L.isString(e))try{return(t||JSON.parse)(e),L.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const bu={transitional:Fg,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=L.isObject(t);if(s&&L.isHTMLForm(t)&&(t=new FormData(t)),L.isFormData(t))return i?JSON.stringify(Mg(t)):t;if(L.isArrayBuffer(t)||L.isBuffer(t)||L.isStream(t)||L.isFile(t)||L.isBlob(t))return t;if(L.isArrayBufferView(t))return t.buffer;if(L.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return vx(t,this.formSerializer).toString();if((l=L.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ta(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),yx(t)):t}],transformResponse:[function(t){const n=this.transitional||bu.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&L.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(o)throw l.name==="SyntaxError"?Ce.from(l,Ce.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$n.classes.FormData,Blob:$n.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};L.forEach(["delete","get","head","post","put","patch"],e=>{bu.headers[e]={}});const yu=bu,wx=L.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),kx=e=>{const t={};let n,r,i;return e&&e.split(`
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&wx[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Vh=Symbol("internals");function Qi(e){return e&&String(e).trim().toLowerCase()}function Do(e){return e===!1||e==null?e:L.isArray(e)?e.map(Do):String(e)}function xx(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Ex=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Pl(e,t,n,r,i){if(L.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!L.isString(t)){if(L.isString(r))return t.indexOf(r)!==-1;if(L.isRegExp(r))return r.test(t)}}function Sx(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ax(e,t){const n=L.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,o){return this[r].call(this,t,i,s,o)},configurable:!0})})}class Ra{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(l,c,d){const f=Qi(c);if(!f)throw new Error("header name must be a non-empty string");const h=L.findKey(i,f);(!h||i[h]===void 0||d===!0||d===void 0&&i[h]!==!1)&&(i[h||c]=Do(l))}const o=(l,c)=>L.forEach(l,(d,f)=>s(d,f,c));return L.isPlainObject(t)||t instanceof this.constructor?o(t,n):L.isString(t)&&(t=t.trim())&&!Ex(t)?o(kx(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=Qi(t),t){const r=L.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return xx(i);if(L.isFunction(n))return n.call(this,i,r);if(L.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Qi(t),t){const r=L.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Pl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(o){if(o=Qi(o),o){const l=L.findKey(r,o);l&&(!n||Pl(r,r[l],l,n))&&(delete r[l],i=!0)}}return L.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||Pl(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return L.forEach(this,(i,s)=>{const o=L.findKey(r,s);if(o){n[o]=Do(i),delete n[s];return}const l=t?Sx(s):String(s).trim();l!==s&&delete n[s],n[l]=Do(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return L.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&L.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Vh]=this[Vh]={accessors:{}}).accessors,i=this.prototype;function s(o){const l=Qi(o);r[l]||(Ax(i,o),r[l]=!0)}return L.isArray(t)?t.forEach(s):s(t),this}}Ra.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);L.reduceDescriptors(Ra.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});L.freezeMethods(Ra);const Jn=Ra;function Tl(e,t){const n=this||yu,r=t||n,i=Jn.from(r.headers);let s=r.data;return L.forEach(e,function(l){s=l.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function Lg(e){return!!(e&&e.__CANCEL__)}function js(e,t,n){Ce.call(this,e??"canceled",Ce.ERR_CANCELED,t,n),this.name="CanceledError"}L.inherits(js,Ce,{__CANCEL__:!0});function Cx(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Ce("Request failed with status code "+n.status,[Ce.ERR_BAD_REQUEST,Ce.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Ox=$n.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const o=[e+"="+encodeURIComponent(t)];L.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),L.isString(r)&&o.push("path="+r),L.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Px(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Tx(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function $g(e,t){return e&&!Px(t)?Tx(e,t):t}const Rx=$n.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(s){let o=s;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const l=L.isString(o)?i(o):o;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function Ix(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Fx(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(c){const d=Date.now(),f=r[s];o||(o=d),n[i]=c,r[i]=d;let h=s,m=0;for(;h!==i;)m+=n[h++],h=h%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),d-o<t)return;const v=f&&d-f;return v?Math.round(m*1e3/v):void 0}}function Kh(e,t){let n=0;const r=Fx(50,250);return i=>{const s=i.loaded,o=i.lengthComputable?i.total:void 0,l=s-n,c=r(l),d=s<=o;n=s;const f={loaded:s,total:o,progress:o?s/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o&&d?(o-s)/c:void 0,event:i};f[t?"download":"upload"]=!0,e(f)}}const Nx=typeof XMLHttpRequest<"u",Mx=Nx&&function(e){return new Promise(function(n,r){let i=e.data;const s=Jn.from(e.headers).normalize();let{responseType:o,withXSRFToken:l}=e,c;function d(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let f;if(L.isFormData(i)){if($n.hasStandardBrowserEnv||$n.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((f=s.getContentType())!==!1){const[w,...C]=f?f.split(";").map(E=>E.trim()).filter(Boolean):[];s.setContentType([w||"multipart/form-data",...C].join("; "))}}let h=new XMLHttpRequest;if(e.auth){const w=e.auth.username||"",C=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(w+":"+C))}const m=$g(e.baseURL,e.url);h.open(e.method.toUpperCase(),Ig(m,e.params,e.paramsSerializer),!0),h.timeout=e.timeout;function v(){if(!h)return;const w=Jn.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),E={data:!o||o==="text"||o==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:w,config:e,request:h};Cx(function(R){n(R),d()},function(R){r(R),d()},E),h=null}if("onloadend"in h?h.onloadend=v:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(v)},h.onabort=function(){h&&(r(new Ce("Request aborted",Ce.ECONNABORTED,e,h)),h=null)},h.onerror=function(){r(new Ce("Network Error",Ce.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let C=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const E=e.transitional||Fg;e.timeoutErrorMessage&&(C=e.timeoutErrorMessage),r(new Ce(C,E.clarifyTimeoutError?Ce.ETIMEDOUT:Ce.ECONNABORTED,e,h)),h=null},$n.hasStandardBrowserEnv&&(l&&L.isFunction(l)&&(l=l(e)),l||l!==!1&&Rx(m))){const w=e.xsrfHeaderName&&e.xsrfCookieName&&Ox.read(e.xsrfCookieName);w&&s.set(e.xsrfHeaderName,w)}i===void 0&&s.setContentType(null),"setRequestHeader"in h&&L.forEach(s.toJSON(),function(C,E){h.setRequestHeader(E,C)}),L.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),o&&o!=="json"&&(h.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&h.addEventListener("progress",Kh(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",Kh(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=w=>{h&&(r(!w||w.type?new js(null,e,h):w),h.abort(),h=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const y=Ix(m);if(y&&$n.protocols.indexOf(y)===-1){r(new Ce("Unsupported protocol "+y+":",Ce.ERR_BAD_REQUEST,e));return}h.send(i||null)})},_c={http:sx,xhr:Mx};L.forEach(_c,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Yh=e=>`- ${e}`,Lx=e=>L.isFunction(e)||e===null||e===!1,Dg={getAdapter:e=>{e=L.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s<t;s++){n=e[s];let o;if(r=n,!Lx(n)&&(r=_c[(o=String(n)).toLowerCase()],r===void 0))throw new Ce(`Unknown adapter '${o}'`);if(r)break;i[o||"#"+s]=r}if(!r){const s=Object.entries(i).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?s.length>1?`since :
`+s.map(Yh).join(`
`):" "+Yh(s[0]):"as no adapter specified";throw new Ce("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:_c};function Rl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new js(null,e)}function Gh(e){return Rl(e),e.headers=Jn.from(e.headers),e.data=Tl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Dg.getAdapter(e.adapter||yu.adapter)(e).then(function(r){return Rl(e),r.data=Tl.call(e,e.transformResponse,r),r.headers=Jn.from(r.headers),r},function(r){return Lg(r)||(Rl(e),r&&r.response&&(r.response.data=Tl.call(e,e.transformResponse,r.response),r.response.headers=Jn.from(r.response.headers))),Promise.reject(r)})}const Xh=e=>e instanceof Jn?{...e}:e;function Ti(e,t){t=t||{};const n={};function r(d,f,h){return L.isPlainObject(d)&&L.isPlainObject(f)?L.merge.call({caseless:h},d,f):L.isPlainObject(f)?L.merge({},f):L.isArray(f)?f.slice():f}function i(d,f,h){if(L.isUndefined(f)){if(!L.isUndefined(d))return r(void 0,d,h)}else return r(d,f,h)}function s(d,f){if(!L.isUndefined(f))return r(void 0,f)}function o(d,f){if(L.isUndefined(f)){if(!L.isUndefined(d))return r(void 0,d)}else return r(void 0,f)}function l(d,f,h){if(h in t)return r(d,f);if(h in e)return r(void 0,d)}const c={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l,headers:(d,f)=>i(Xh(d),Xh(f),!0)};return L.forEach(Object.keys(Object.assign({},e,t)),function(f){const h=c[f]||i,m=h(e[f],t[f],f);L.isUndefined(m)&&h!==l||(n[f]=m)}),n}const jg="1.6.8",wu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{wu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Jh={};wu.transitional=function(t,n,r){function i(s,o){return"[Axios v"+jg+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return(s,o,l)=>{if(t===!1)throw new Ce(i(o," has been removed"+(n?" in "+n:"")),Ce.ERR_DEPRECATED);return n&&!Jh[o]&&(Jh[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,o,l):!0}};function $x(e,t,n){if(typeof e!="object")throw new Ce("options must be an object",Ce.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],o=t[s];if(o){const l=e[s],c=l===void 0||o(l,s,e);if(c!==!0)throw new Ce("option "+s+" must be "+c,Ce.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ce("Unknown option "+s,Ce.ERR_BAD_OPTION)}}const bc={assertOptions:$x,validators:wu},cr=bc.validators;class ra{constructor(t){this.defaults=t,this.interceptors={request:new Wh,response:new Wh}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+s):r.stack=s}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ti(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&bc.assertOptions(r,{silentJSONParsing:cr.transitional(cr.boolean),forcedJSONParsing:cr.transitional(cr.boolean),clarifyTimeoutError:cr.transitional(cr.boolean)},!1),i!=null&&(L.isFunction(i)?n.paramsSerializer={serialize:i}:bc.assertOptions(i,{encode:cr.function,serialize:cr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=s&&L.merge(s.common,s[n.method]);s&&L.forEach(["delete","get","head","post","put","patch","common"],y=>{delete s[y]}),n.headers=Jn.concat(o,s);const l=[];let c=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(c=c&&w.synchronous,l.unshift(w.fulfilled,w.rejected))});const d=[];this.interceptors.response.forEach(function(w){d.push(w.fulfilled,w.rejected)});let f,h=0,m;if(!c){const y=[Gh.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,d),m=y.length,f=Promise.resolve(n);h<m;)f=f.then(y[h++],y[h++]);return f}m=l.length;let v=n;for(h=0;h<m;){const y=l[h++],w=l[h++];try{v=y(v)}catch(C){w.call(this,C);break}}try{f=Gh.call(this,v)}catch(y){return Promise.reject(y)}for(h=0,m=d.length;h<m;)f=f.then(d[h++],d[h++]);return f}getUri(t){t=Ti(this.defaults,t);const n=$g(t.baseURL,t.url);return Ig(n,t.params,t.paramsSerializer)}}L.forEach(["delete","get","head","options"],function(t){ra.prototype[t]=function(n,r){return this.request(Ti(r||{},{method:t,url:n,data:(r||{}).data}))}});L.forEach(["post","put","patch"],function(t){function n(r){return function(s,o,l){return this.request(Ti(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}ra.prototype[t]=n(),ra.prototype[t+"Form"]=n(!0)});const jo=ra;class ku{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(l=>{r.subscribe(l),s=l}).then(i);return o.cancel=function(){r.unsubscribe(s)},o},t(function(s,o,l){r.reason||(r.reason=new js(s,o,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ku(function(i){t=i}),cancel:t}}}const Dx=ku;function jx(e){return function(n){return e.apply(null,n)}}function Bx(e){return L.isObject(e)&&e.isAxiosError===!0}const yc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(yc).forEach(([e,t])=>{yc[t]=e});const Hx=yc;function Bg(e){const t=new jo(e),n=yg(jo.prototype.request,t);return L.extend(n,jo.prototype,t,{allOwnKeys:!0}),L.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Bg(Ti(e,i))},n}const vt=Bg(yu);vt.Axios=jo;vt.CanceledError=js;vt.CancelToken=Dx;vt.isCancel=Lg;vt.VERSION=jg;vt.toFormData=Ta;vt.AxiosError=Ce;vt.Cancel=vt.CanceledError;vt.all=function(t){return Promise.all(t)};vt.spread=jx;vt.isAxiosError=Bx;vt.mergeConfig=Ti;vt.AxiosHeaders=Jn;vt.formToJSON=e=>Mg(L.isHTMLForm(e)?new FormData(e):e);vt.getAdapter=Dg.getAdapter;vt.HttpStatusCode=Hx;vt.default=vt;const qx=vt,zx={name:"SingleProjectPage",data(){return{store:Aa,project:[]}},mounted(){this.getSingleProject()},methods:{getSingleProject(){const e=this.$route.params.id;qx.get(`${this.store.base_Url}/api/projects/${e}`).then(t=>{t.data.success===!0?this.project=t.data.project:this.$router.push({name:"not-found"})})}}},Ux={class:"container d-flex flex-column align-items-center justify-content-center my-5 position-relative"},Wx={class:"card bg-dark p-3 mb-2"},Vx=["src","alt"],Kx={class:"mt-2 mb-0"},Yx={key:0,class:"text-secondary fs-5 my-2"},Gx={key:1,class:"my-2"},Xx={class:"card rounded p-3 bg-dark text-white my-2"},Jx=["href"];function Qx(e,t,n,r,i,s){const o=Gn("font-awesome-icon"),l=Gn("router-link");return Rt(),Ht("div",Ux,[ue("div",Wx,[ue("img",{src:i.store.base_Url+"/storage/"+i.project.cover_image,alt:i.project.title,class:"card-img-top"},null,8,Vx)]),ue("h1",Kx,Zi(i.project.title),1),i.project.type?(Rt(),Ht("p",Yx,Zi(i.project.type.name_type),1)):Yl("",!0),i.project.technologies?(Rt(),Ht("div",Gx,[(Rt(!0),Ht(hn,null,Bb(i.project.technologies,(c,d)=>(Rt(),Ht("span",{key:d,class:"badge rounded-pill text-bg-success mx-1"},Zi(c.name),1))),128))])):Yl("",!0),ue("p",Xx,Zi(i.project.description),1),ue("a",{href:i.project.link,target:"_blank",class:"my-2 btn btn-outline-dark"},"Go!",8,Jx),lt(l,{to:{name:"projects"},class:"mt-2 btn btn-outline-dark rounded-circle position-absolute",style:{top:"-4rem",left:"1rem"}},{default:ws(()=>[lt(o,{icon:["fas","arrow-left"]})]),_:1})])}const Zx=An(zx,[["render",Qx]]);const eE={name:"AboutPage"},tE={class:"container mb-4 d-flex flex-row justify-content-start align-items-start px-5"};function nE(e,t,n,r,i,s){return Rt(),Ht("div",tE)}const rE=An(eE,[["render",nE],["__scopeId","data-v-372d7b9b"]]),iE="/img/mail-animation-copy.gif";const sE={name:"ContactsPage",data(){return{store:Aa,name:"",email:"",message:"",success:!1,errors:{}}},methods:{handleSubmit(){event.preventDefault(),console.log("Name:",this.name),console.log("Email:",this.email),console.log("Message:",this.message)}}},Xr=e=>(Li("data-v-4db5174f"),e=e(),$i(),e),oE={class:"container mb-5 d-flex flex-column justify-content-start align-items-between"},aE=Xr(()=>ue("img",{src:iE,alt:"mail-animated"},null,-1)),lE={class:"d-flex flex-column align-items-between",name:"contact",method:"POST",action:"/","data-netlify":"true","data-netlify-honeypot":"bot-field"},cE=Xr(()=>ue("input",{type:"hidden",name:"form-name",value:"contact"},null,-1)),uE=Xr(()=>ue("input",{type:"hidden",name:"bot-field"},null,-1)),fE={class:"mb-3"},dE=Xr(()=>ue("label",{for:"user-name",class:"form-label"},"Name",-1)),hE={class:"mb-3"},pE=Xr(()=>ue("label",{for:"user-email",class:"form-label"},"Email",-1)),mE={class:"mb-3"},gE=Xr(()=>ue("label",{for:"user-message",class:"form-label"},"Message",-1)),vE=Xr(()=>ue("button",{class:"btn btn-outline-dark mt-1 mb-4 align-self-center",type:"submit"},"Send",-1));function _E(e,t,n,r,i,s){return Rt(),Ht("div",oE,[aE,ue("form",lE,[cE,uE,ue("div",fE,[dE,ll(ue("input",{"onUpdate:modelValue":t[0]||(t[0]=o=>i.name=o),name:"name",type:"text",class:"form-control",id:"user-name",placeholder:"...name...",required:""},null,512),[[hl,i.name]])]),ue("div",hE,[pE,ll(ue("input",{"onUpdate:modelValue":t[1]||(t[1]=o=>i.email=o),name:"email",type:"email",class:"form-control",id:"user-email",placeholder:"...email...",required:""},null,512),[[hl,i.email]])]),ue("div",mE,[gE,ll(ue("textarea",{"onUpdate:modelValue":t[2]||(t[2]=o=>i.message=o),name:"message",class:"form-control",id:"user-message",rows:"5",placeholder:"...message...",required:""},null,512),[[hl,i.message]])]),vE])])}const bE=An(sE,[["render",_E],["__scopeId","data-v-4db5174f"]]);const yE={name:"NotFoundPage",data(){return{}}},wE=e=>(Li("data-v-97dac226"),e=e(),$i(),e),kE={class:"d-flex justify-content-center align-items-start"},xE=wE(()=>ue("h1",{class:"text-capitalize mt-5"},"page not found",-1)),EE=[xE];function SE(e,t,n,r,i,s){return Rt(),Ht("div",kE,EE)}const AE=An(yE,[["render",SE],["__scopeId","data-v-97dac226"]]),CE=rk({history:bw(),routes:[{path:"/",name:"home",component:hk},{path:"/projects",name:"projects",component:Ek},{path:"/projects/project:id/:slug",name:"project",component:Zx,props:!0},{path:"/about-me",name:"about-me",component:rE},{path:"/contacts",name:"contacts",component:bE},{path:"/:pathMatch(.*)*",name:"not-found",component:AE}]});var OE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},PE={exports:{}};/*!
  * Bootstrap v5.3.0-alpha3 (https://getbootstrap.com/)
  * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */(function(e,t){(function(n,r){e.exports=r()})(OE,function(){const n=new Map,r={set(p,a,u){n.has(p)||n.set(p,new Map);const g=n.get(p);g.has(a)||g.size===0?g.set(a,u):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(g.keys())[0]}.`)},get:(p,a)=>n.has(p)&&n.get(p).get(a)||null,remove(p,a){if(!n.has(p))return;const u=n.get(p);u.delete(a),u.size===0&&n.delete(p)}},i="transitionend",s=p=>(p&&window.CSS&&window.CSS.escape&&(p=p.replace(/#([^\s"#']+)/g,(a,u)=>`#${CSS.escape(u)}`)),p),o=p=>{p.dispatchEvent(new Event(i))},l=p=>!(!p||typeof p!="object")&&(p.jquery!==void 0&&(p=p[0]),p.nodeType!==void 0),c=p=>l(p)?p.jquery?p[0]:p:typeof p=="string"&&p.length>0?document.querySelector(s(p)):null,d=p=>{if(!l(p)||p.getClientRects().length===0)return!1;const a=getComputedStyle(p).getPropertyValue("visibility")==="visible",u=p.closest("details:not([open])");if(!u)return a;if(u!==p){const g=p.closest("summary");if(g&&g.parentNode!==u||g===null)return!1}return a},f=p=>!p||p.nodeType!==Node.ELEMENT_NODE||!!p.classList.contains("disabled")||(p.disabled!==void 0?p.disabled:p.hasAttribute("disabled")&&p.getAttribute("disabled")!=="false"),h=p=>{if(!document.documentElement.attachShadow)return null;if(typeof p.getRootNode=="function"){const a=p.getRootNode();return a instanceof ShadowRoot?a:null}return p instanceof ShadowRoot?p:p.parentNode?h(p.parentNode):null},m=()=>{},v=p=>{p.offsetHeight},y=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,w=[],C=()=>document.documentElement.dir==="rtl",E=p=>{var a;a=()=>{const u=y();if(u){const g=p.NAME,k=u.fn[g];u.fn[g]=p.jQueryInterface,u.fn[g].Constructor=p,u.fn[g].noConflict=()=>(u.fn[g]=k,p.jQueryInterface)}},document.readyState==="loading"?(w.length||document.addEventListener("DOMContentLoaded",()=>{for(const u of w)u()}),w.push(a)):a()},A=(p,a=[],u=p)=>typeof p=="function"?p(...a):u,R=(p,a,u=!0)=>{if(!u)return void A(p);const g=(O=>{if(!O)return 0;let{transitionDuration:D,transitionDelay:z}=window.getComputedStyle(O);const J=Number.parseFloat(D),Q=Number.parseFloat(z);return J||Q?(D=D.split(",")[0],z=z.split(",")[0],1e3*(Number.parseFloat(D)+Number.parseFloat(z))):0})(a)+5;let k=!1;const x=({target:O})=>{O===a&&(k=!0,a.removeEventListener(i,x),A(p))};a.addEventListener(i,x),setTimeout(()=>{k||o(a)},g)},K=(p,a,u,g)=>{const k=p.length;let x=p.indexOf(a);return x===-1?!u&&g?p[k-1]:p[0]:(x+=u?1:-1,g&&(x=(x+k)%k),p[Math.max(0,Math.min(x,k-1))])},Z=/[^.]*(?=\..*)\.|.*/,fe=/\..*/,ke=/::\d+$/,ae={};let et=1;const Ue={mouseenter:"mouseover",mouseleave:"mouseout"},kt=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function rt(p,a){return a&&`${a}::${et++}`||p.uidEvent||et++}function it(p){const a=rt(p);return p.uidEvent=a,ae[a]=ae[a]||{},ae[a]}function _t(p,a,u=null){return Object.values(p).find(g=>g.callable===a&&g.delegationSelector===u)}function pt(p,a,u){const g=typeof a=="string",k=g?u:a||u;let x=st(p);return kt.has(x)||(x=p),[g,k,x]}function je(p,a,u,g,k){if(typeof a!="string"||!p)return;let[x,O,D]=pt(a,u,g);a in Ue&&(O=(de=>function(ce){if(!ce.relatedTarget||ce.relatedTarget!==ce.delegateTarget&&!ce.delegateTarget.contains(ce.relatedTarget))return de.call(this,ce)})(O));const z=it(p),J=z[D]||(z[D]={}),Q=_t(J,O,x?u:null);if(Q)return void(Q.oneOff=Q.oneOff&&k);const Y=rt(O,a.replace(Z,"")),ve=x?function(oe,de,ce){return function he(Be){const We=oe.querySelectorAll(de);for(let{target:xe}=Be;xe&&xe!==this;xe=xe.parentNode)for(const Ie of We)if(Ie===xe)return ft(Be,{delegateTarget:xe}),he.oneOff&&F.off(oe,Be.type,de,ce),ce.apply(xe,[Be])}}(p,u,O):function(oe,de){return function ce(he){return ft(he,{delegateTarget:oe}),ce.oneOff&&F.off(oe,he.type,de),de.apply(oe,[he])}}(p,O);ve.delegationSelector=x?u:null,ve.callable=O,ve.oneOff=k,ve.uidEvent=Y,J[Y]=ve,p.addEventListener(D,ve,x)}function be(p,a,u,g,k){const x=_t(a[u],g,k);x&&(p.removeEventListener(u,x,!!k),delete a[u][x.uidEvent])}function ye(p,a,u,g){const k=a[u]||{};for(const[x,O]of Object.entries(k))x.includes(g)&&be(p,a,u,O.callable,O.delegationSelector)}function st(p){return p=p.replace(fe,""),Ue[p]||p}const F={on(p,a,u,g){je(p,a,u,g,!1)},one(p,a,u,g){je(p,a,u,g,!0)},off(p,a,u,g){if(typeof a!="string"||!p)return;const[k,x,O]=pt(a,u,g),D=O!==a,z=it(p),J=z[O]||{},Q=a.startsWith(".");if(x===void 0){if(Q)for(const Y of Object.keys(z))ye(p,z,Y,a.slice(1));for(const[Y,ve]of Object.entries(J)){const oe=Y.replace(ke,"");D&&!a.includes(oe)||be(p,z,O,ve.callable,ve.delegationSelector)}}else{if(!Object.keys(J).length)return;be(p,z,O,x,k?u:null)}},trigger(p,a,u){if(typeof a!="string"||!p)return null;const g=y();let k=null,x=!0,O=!0,D=!1;a!==st(a)&&g&&(k=g.Event(a,u),g(p).trigger(k),x=!k.isPropagationStopped(),O=!k.isImmediatePropagationStopped(),D=k.isDefaultPrevented());const z=ft(new Event(a,{bubbles:x,cancelable:!0}),u);return D&&z.preventDefault(),O&&p.dispatchEvent(z),z.defaultPrevented&&k&&k.preventDefault(),z}};function ft(p,a={}){for(const[u,g]of Object.entries(a))try{p[u]=g}catch{Object.defineProperty(p,u,{configurable:!0,get:()=>g})}return p}function Oe(p){if(p==="true")return!0;if(p==="false")return!1;if(p===Number(p).toString())return Number(p);if(p===""||p==="null")return null;if(typeof p!="string")return p;try{return JSON.parse(decodeURIComponent(p))}catch{return p}}function ot(p){return p.replace(/[A-Z]/g,a=>`-${a.toLowerCase()}`)}const Ne={setDataAttribute(p,a,u){p.setAttribute(`data-bs-${ot(a)}`,u)},removeDataAttribute(p,a){p.removeAttribute(`data-bs-${ot(a)}`)},getDataAttributes(p){if(!p)return{};const a={},u=Object.keys(p.dataset).filter(g=>g.startsWith("bs")&&!g.startsWith("bsConfig"));for(const g of u){let k=g.replace(/^bs/,"");k=k.charAt(0).toLowerCase()+k.slice(1,k.length),a[k]=Oe(p.dataset[g])}return a},getDataAttribute:(p,a)=>Oe(p.getAttribute(`data-bs-${ot(a)}`))};class Ot{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(a){return a=this._mergeConfigObj(a),a=this._configAfterMerge(a),this._typeCheckConfig(a),a}_configAfterMerge(a){return a}_mergeConfigObj(a,u){const g=l(u)?Ne.getDataAttribute(u,"config"):{};return{...this.constructor.Default,...typeof g=="object"?g:{},...l(u)?Ne.getDataAttributes(u):{},...typeof a=="object"?a:{}}}_typeCheckConfig(a,u=this.constructor.DefaultType){for(const[k,x]of Object.entries(u)){const O=a[k],D=l(O)?"element":(g=O)==null?`${g}`:Object.prototype.toString.call(g).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(x).test(D))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${k}" provided type "${D}" but expected type "${x}".`)}var g}}class Ee extends Ot{constructor(a,u){super(),(a=c(a))&&(this._element=a,this._config=this._getConfig(u),r.set(this._element,this.constructor.DATA_KEY,this))}dispose(){r.remove(this._element,this.constructor.DATA_KEY),F.off(this._element,this.constructor.EVENT_KEY);for(const a of Object.getOwnPropertyNames(this))this[a]=null}_queueCallback(a,u,g=!0){R(a,u,g)}_getConfig(a){return a=this._mergeConfigObj(a,this._element),a=this._configAfterMerge(a),this._typeCheckConfig(a),a}static getInstance(a){return r.get(c(a),this.DATA_KEY)}static getOrCreateInstance(a,u={}){return this.getInstance(a)||new this(a,typeof u=="object"?u:null)}static get VERSION(){return"5.3.0-alpha2"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(a){return`${a}${this.EVENT_KEY}`}}const N=p=>{let a=p.getAttribute("data-bs-target");if(!a||a==="#"){let u=p.getAttribute("href");if(!u||!u.includes("#")&&!u.startsWith("."))return null;u.includes("#")&&!u.startsWith("#")&&(u=`#${u.split("#")[1]}`),a=u&&u!=="#"?u.trim():null}return s(a)},I={find:(p,a=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(a,p)),findOne:(p,a=document.documentElement)=>Element.prototype.querySelector.call(a,p),children:(p,a)=>[].concat(...p.children).filter(u=>u.matches(a)),parents(p,a){const u=[];let g=p.parentNode.closest(a);for(;g;)u.push(g),g=g.parentNode.closest(a);return u},prev(p,a){let u=p.previousElementSibling;for(;u;){if(u.matches(a))return[u];u=u.previousElementSibling}return[]},next(p,a){let u=p.nextElementSibling;for(;u;){if(u.matches(a))return[u];u=u.nextElementSibling}return[]},focusableChildren(p){const a=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(u=>`${u}:not([tabindex^="-"])`).join(",");return this.find(a,p).filter(u=>!f(u)&&d(u))},getSelectorFromElement(p){const a=N(p);return a&&I.findOne(a)?a:null},getElementFromSelector(p){const a=N(p);return a?I.findOne(a):null},getMultipleElementsFromSelector(p){const a=N(p);return a?I.find(a):[]}},q=(p,a="hide")=>{const u=`click.dismiss${p.EVENT_KEY}`,g=p.NAME;F.on(document,u,`[data-bs-dismiss="${g}"]`,function(k){if(["A","AREA"].includes(this.tagName)&&k.preventDefault(),f(this))return;const x=I.getElementFromSelector(this)||this.closest(`.${g}`);p.getOrCreateInstance(x)[a]()})};class G extends Ee{static get NAME(){return"alert"}close(){if(F.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const a=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,a)}_destroyElement(){this._element.remove(),F.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(a){return this.each(function(){const u=G.getOrCreateInstance(this);if(typeof a=="string"){if(u[a]===void 0||a.startsWith("_")||a==="constructor")throw new TypeError(`No method named "${a}"`);u[a](this)}})}}q(G,"close"),E(G);const Se='[data-bs-toggle="button"]';class _ extends Ee{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(a){return this.each(function(){const u=_.getOrCreateInstance(this);a==="toggle"&&u[a]()})}}F.on(document,"click.bs.button.data-api",Se,p=>{p.preventDefault();const a=p.target.closest(Se);_.getOrCreateInstance(a).toggle()}),E(_);const b={endCallback:null,leftCallback:null,rightCallback:null},S={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class T extends Ot{constructor(a,u){super(),this._element=a,a&&T.isSupported()&&(this._config=this._getConfig(u),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return b}static get DefaultType(){return S}static get NAME(){return"swipe"}dispose(){F.off(this._element,".bs.swipe")}_start(a){this._supportPointerEvents?this._eventIsPointerPenTouch(a)&&(this._deltaX=a.clientX):this._deltaX=a.touches[0].clientX}_end(a){this._eventIsPointerPenTouch(a)&&(this._deltaX=a.clientX-this._deltaX),this._handleSwipe(),A(this._config.endCallback)}_move(a){this._deltaX=a.touches&&a.touches.length>1?0:a.touches[0].clientX-this._deltaX}_handleSwipe(){const a=Math.abs(this._deltaX);if(a<=40)return;const u=a/this._deltaX;this._deltaX=0,u&&A(u>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(F.on(this._element,"pointerdown.bs.swipe",a=>this._start(a)),F.on(this._element,"pointerup.bs.swipe",a=>this._end(a)),this._element.classList.add("pointer-event")):(F.on(this._element,"touchstart.bs.swipe",a=>this._start(a)),F.on(this._element,"touchmove.bs.swipe",a=>this._move(a)),F.on(this._element,"touchend.bs.swipe",a=>this._end(a)))}_eventIsPointerPenTouch(a){return this._supportPointerEvents&&(a.pointerType==="pen"||a.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const M="next",$="prev",V="left",H="right",U="slid.bs.carousel",B="carousel",ie="active",ee={ArrowLeft:H,ArrowRight:V},se={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},le={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class pe extends Ee{constructor(a,u){super(a,u),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=I.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===B&&this.cycle()}static get Default(){return se}static get DefaultType(){return le}static get NAME(){return"carousel"}next(){this._slide(M)}nextWhenVisible(){!document.hidden&&d(this._element)&&this.next()}prev(){this._slide($)}pause(){this._isSliding&&o(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?F.one(this._element,U,()=>this.cycle()):this.cycle())}to(a){const u=this._getItems();if(a>u.length-1||a<0)return;if(this._isSliding)return void F.one(this._element,U,()=>this.to(a));const g=this._getItemIndex(this._getActive());if(g===a)return;const k=a>g?M:$;this._slide(k,u[a])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(a){return a.defaultInterval=a.interval,a}_addEventListeners(){this._config.keyboard&&F.on(this._element,"keydown.bs.carousel",a=>this._keydown(a)),this._config.pause==="hover"&&(F.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),F.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&T.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const u of I.find(".carousel-item img",this._element))F.on(u,"dragstart.bs.carousel",g=>g.preventDefault());const a={leftCallback:()=>this._slide(this._directionToOrder(V)),rightCallback:()=>this._slide(this._directionToOrder(H)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new T(this._element,a)}_keydown(a){if(/input|textarea/i.test(a.target.tagName))return;const u=ee[a.key];u&&(a.preventDefault(),this._slide(this._directionToOrder(u)))}_getItemIndex(a){return this._getItems().indexOf(a)}_setActiveIndicatorElement(a){if(!this._indicatorsElement)return;const u=I.findOne(".active",this._indicatorsElement);u.classList.remove(ie),u.removeAttribute("aria-current");const g=I.findOne(`[data-bs-slide-to="${a}"]`,this._indicatorsElement);g&&(g.classList.add(ie),g.setAttribute("aria-current","true"))}_updateInterval(){const a=this._activeElement||this._getActive();if(!a)return;const u=Number.parseInt(a.getAttribute("data-bs-interval"),10);this._config.interval=u||this._config.defaultInterval}_slide(a,u=null){if(this._isSliding)return;const g=this._getActive(),k=a===M,x=u||K(this._getItems(),g,k,this._config.wrap);if(x===g)return;const O=this._getItemIndex(x),D=Y=>F.trigger(this._element,Y,{relatedTarget:x,direction:this._orderToDirection(a),from:this._getItemIndex(g),to:O});if(D("slide.bs.carousel").defaultPrevented||!g||!x)return;const z=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(O),this._activeElement=x;const J=k?"carousel-item-start":"carousel-item-end",Q=k?"carousel-item-next":"carousel-item-prev";x.classList.add(Q),v(x),g.classList.add(J),x.classList.add(J),this._queueCallback(()=>{x.classList.remove(J,Q),x.classList.add(ie),g.classList.remove(ie,Q,J),this._isSliding=!1,D(U)},g,this._isAnimated()),z&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return I.findOne(".active.carousel-item",this._element)}_getItems(){return I.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(a){return C()?a===V?$:M:a===V?M:$}_orderToDirection(a){return C()?a===$?V:H:a===$?H:V}static jQueryInterface(a){return this.each(function(){const u=pe.getOrCreateInstance(this,a);if(typeof a!="number"){if(typeof a=="string"){if(u[a]===void 0||a.startsWith("_")||a==="constructor")throw new TypeError(`No method named "${a}"`);u[a]()}}else u.to(a)})}}F.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(p){const a=I.getElementFromSelector(this);if(!a||!a.classList.contains(B))return;p.preventDefault();const u=pe.getOrCreateInstance(a),g=this.getAttribute("data-bs-slide-to");return g?(u.to(g),void u._maybeEnableCycle()):Ne.getDataAttribute(this,"slide")==="next"?(u.next(),void u._maybeEnableCycle()):(u.prev(),void u._maybeEnableCycle())}),F.on(window,"load.bs.carousel.data-api",()=>{const p=I.find('[data-bs-ride="carousel"]');for(const a of p)pe.getOrCreateInstance(a)}),E(pe);const Me="show",Pe="collapse",Ke="collapsing",Mt='[data-bs-toggle="collapse"]',ir={parent:null,toggle:!0},zs={parent:"(null|element)",toggle:"boolean"};class en extends Ee{constructor(a,u){super(a,u),this._isTransitioning=!1,this._triggerArray=[];const g=I.find(Mt);for(const k of g){const x=I.getSelectorFromElement(k),O=I.find(x).filter(D=>D===this._element);x!==null&&O.length&&this._triggerArray.push(k)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ir}static get DefaultType(){return zs}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let a=[];if(this._config.parent&&(a=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(k=>k!==this._element).map(k=>en.getOrCreateInstance(k,{toggle:!1}))),a.length&&a[0]._isTransitioning||F.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const k of a)k.hide();const u=this._getDimension();this._element.classList.remove(Pe),this._element.classList.add(Ke),this._element.style[u]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const g=`scroll${u[0].toUpperCase()+u.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ke),this._element.classList.add(Pe,Me),this._element.style[u]="",F.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[u]=`${this._element[g]}px`}hide(){if(this._isTransitioning||!this._isShown()||F.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const a=this._getDimension();this._element.style[a]=`${this._element.getBoundingClientRect()[a]}px`,v(this._element),this._element.classList.add(Ke),this._element.classList.remove(Pe,Me);for(const u of this._triggerArray){const g=I.getElementFromSelector(u);g&&!this._isShown(g)&&this._addAriaAndCollapsedClass([u],!1)}this._isTransitioning=!0,this._element.style[a]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Ke),this._element.classList.add(Pe),F.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(a=this._element){return a.classList.contains(Me)}_configAfterMerge(a){return a.toggle=!!a.toggle,a.parent=c(a.parent),a}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const a=this._getFirstLevelChildren(Mt);for(const u of a){const g=I.getElementFromSelector(u);g&&this._addAriaAndCollapsedClass([u],this._isShown(g))}}_getFirstLevelChildren(a){const u=I.find(":scope .collapse .collapse",this._config.parent);return I.find(a,this._config.parent).filter(g=>!u.includes(g))}_addAriaAndCollapsedClass(a,u){if(a.length)for(const g of a)g.classList.toggle("collapsed",!u),g.setAttribute("aria-expanded",u)}static jQueryInterface(a){const u={};return typeof a=="string"&&/show|hide/.test(a)&&(u.toggle=!1),this.each(function(){const g=en.getOrCreateInstance(this,u);if(typeof a=="string"){if(g[a]===void 0)throw new TypeError(`No method named "${a}"`);g[a]()}})}}F.on(document,"click.bs.collapse.data-api",Mt,function(p){(p.target.tagName==="A"||p.delegateTarget&&p.delegateTarget.tagName==="A")&&p.preventDefault();for(const a of I.getMultipleElementsFromSelector(this))en.getOrCreateInstance(a,{toggle:!1}).toggle()}),E(en);var xt="top",qe="bottom",tt="right",Et="left",Us="auto",Jr=[xt,qe,tt,Et],xr="start",Qr="end",$u="clippingParents",La="viewport",Zr="popper",Du="reference",$a=Jr.reduce(function(p,a){return p.concat([a+"-"+xr,a+"-"+Qr])},[]),Da=[].concat(Jr,[Us]).reduce(function(p,a){return p.concat([a,a+"-"+xr,a+"-"+Qr])},[]),ju="beforeRead",Bu="read",Hu="afterRead",qu="beforeMain",zu="main",Uu="afterMain",Wu="beforeWrite",Vu="write",Ku="afterWrite",Yu=[ju,Bu,Hu,qu,zu,Uu,Wu,Vu,Ku];function Cn(p){return p?(p.nodeName||"").toLowerCase():null}function Yt(p){if(p==null)return window;if(p.toString()!=="[object Window]"){var a=p.ownerDocument;return a&&a.defaultView||window}return p}function Er(p){return p instanceof Yt(p).Element||p instanceof Element}function tn(p){return p instanceof Yt(p).HTMLElement||p instanceof HTMLElement}function ja(p){return typeof ShadowRoot<"u"&&(p instanceof Yt(p).ShadowRoot||p instanceof ShadowRoot)}const Ba={name:"applyStyles",enabled:!0,phase:"write",fn:function(p){var a=p.state;Object.keys(a.elements).forEach(function(u){var g=a.styles[u]||{},k=a.attributes[u]||{},x=a.elements[u];tn(x)&&Cn(x)&&(Object.assign(x.style,g),Object.keys(k).forEach(function(O){var D=k[O];D===!1?x.removeAttribute(O):x.setAttribute(O,D===!0?"":D)}))})},effect:function(p){var a=p.state,u={popper:{position:a.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(a.elements.popper.style,u.popper),a.styles=u,a.elements.arrow&&Object.assign(a.elements.arrow.style,u.arrow),function(){Object.keys(a.elements).forEach(function(g){var k=a.elements[g],x=a.attributes[g]||{},O=Object.keys(a.styles.hasOwnProperty(g)?a.styles[g]:u[g]).reduce(function(D,z){return D[z]="",D},{});tn(k)&&Cn(k)&&(Object.assign(k.style,O),Object.keys(x).forEach(function(D){k.removeAttribute(D)}))})}},requires:["computeStyles"]};function On(p){return p.split("-")[0]}var Sr=Math.max,Ws=Math.min,ei=Math.round;function Ha(){var p=navigator.userAgentData;return p!=null&&p.brands&&Array.isArray(p.brands)?p.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}function Gu(){return!/^((?!chrome|android).)*safari/i.test(Ha())}function ti(p,a,u){a===void 0&&(a=!1),u===void 0&&(u=!1);var g=p.getBoundingClientRect(),k=1,x=1;a&&tn(p)&&(k=p.offsetWidth>0&&ei(g.width)/p.offsetWidth||1,x=p.offsetHeight>0&&ei(g.height)/p.offsetHeight||1);var O=(Er(p)?Yt(p):window).visualViewport,D=!Gu()&&u,z=(g.left+(D&&O?O.offsetLeft:0))/k,J=(g.top+(D&&O?O.offsetTop:0))/x,Q=g.width/k,Y=g.height/x;return{width:Q,height:Y,top:J,right:z+Q,bottom:J+Y,left:z,x:z,y:J}}function qa(p){var a=ti(p),u=p.offsetWidth,g=p.offsetHeight;return Math.abs(a.width-u)<=1&&(u=a.width),Math.abs(a.height-g)<=1&&(g=a.height),{x:p.offsetLeft,y:p.offsetTop,width:u,height:g}}function Xu(p,a){var u=a.getRootNode&&a.getRootNode();if(p.contains(a))return!0;if(u&&ja(u)){var g=a;do{if(g&&p.isSameNode(g))return!0;g=g.parentNode||g.host}while(g)}return!1}function qn(p){return Yt(p).getComputedStyle(p)}function vv(p){return["table","td","th"].indexOf(Cn(p))>=0}function sr(p){return((Er(p)?p.ownerDocument:p.document)||window.document).documentElement}function Vs(p){return Cn(p)==="html"?p:p.assignedSlot||p.parentNode||(ja(p)?p.host:null)||sr(p)}function Ju(p){return tn(p)&&qn(p).position!=="fixed"?p.offsetParent:null}function Bi(p){for(var a=Yt(p),u=Ju(p);u&&vv(u)&&qn(u).position==="static";)u=Ju(u);return u&&(Cn(u)==="html"||Cn(u)==="body"&&qn(u).position==="static")?a:u||function(g){var k=/firefox/i.test(Ha());if(/Trident/i.test(Ha())&&tn(g)&&qn(g).position==="fixed")return null;var x=Vs(g);for(ja(x)&&(x=x.host);tn(x)&&["html","body"].indexOf(Cn(x))<0;){var O=qn(x);if(O.transform!=="none"||O.perspective!=="none"||O.contain==="paint"||["transform","perspective"].indexOf(O.willChange)!==-1||k&&O.willChange==="filter"||k&&O.filter&&O.filter!=="none")return x;x=x.parentNode}return null}(p)||a}function za(p){return["top","bottom"].indexOf(p)>=0?"x":"y"}function Hi(p,a,u){return Sr(p,Ws(a,u))}function Qu(p){return Object.assign({},{top:0,right:0,bottom:0,left:0},p)}function Zu(p,a){return a.reduce(function(u,g){return u[g]=p,u},{})}const ef={name:"arrow",enabled:!0,phase:"main",fn:function(p){var a,u=p.state,g=p.name,k=p.options,x=u.elements.arrow,O=u.modifiersData.popperOffsets,D=On(u.placement),z=za(D),J=[Et,tt].indexOf(D)>=0?"height":"width";if(x&&O){var Q=function(He,$e){return Qu(typeof(He=typeof He=="function"?He(Object.assign({},$e.rects,{placement:$e.placement})):He)!="number"?He:Zu(He,Jr))}(k.padding,u),Y=qa(x),ve=z==="y"?xt:Et,oe=z==="y"?qe:tt,de=u.rects.reference[J]+u.rects.reference[z]-O[z]-u.rects.popper[J],ce=O[z]-u.rects.reference[z],he=Bi(x),Be=he?z==="y"?he.clientHeight||0:he.clientWidth||0:0,We=de/2-ce/2,xe=Q[ve],Ie=Be-Y[J]-Q[oe],we=Be/2-Y[J]/2+We,Ae=Hi(xe,we,Ie),Le=z;u.modifiersData[g]=((a={})[Le]=Ae,a.centerOffset=Ae-we,a)}},effect:function(p){var a=p.state,u=p.options.element,g=u===void 0?"[data-popper-arrow]":u;g!=null&&(typeof g!="string"||(g=a.elements.popper.querySelector(g)))&&Xu(a.elements.popper,g)&&(a.elements.arrow=g)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ni(p){return p.split("-")[1]}var _v={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tf(p){var a,u=p.popper,g=p.popperRect,k=p.placement,x=p.variation,O=p.offsets,D=p.position,z=p.gpuAcceleration,J=p.adaptive,Q=p.roundOffsets,Y=p.isFixed,ve=O.x,oe=ve===void 0?0:ve,de=O.y,ce=de===void 0?0:de,he=typeof Q=="function"?Q({x:oe,y:ce}):{x:oe,y:ce};oe=he.x,ce=he.y;var Be=O.hasOwnProperty("x"),We=O.hasOwnProperty("y"),xe=Et,Ie=xt,we=window;if(J){var Ae=Bi(u),Le="clientHeight",He="clientWidth";Ae===Yt(u)&&qn(Ae=sr(u)).position!=="static"&&D==="absolute"&&(Le="scrollHeight",He="scrollWidth"),(k===xt||(k===Et||k===tt)&&x===Qr)&&(Ie=qe,ce-=(Y&&Ae===we&&we.visualViewport?we.visualViewport.height:Ae[Le])-g.height,ce*=z?1:-1),k!==Et&&(k!==xt&&k!==qe||x!==Qr)||(xe=tt,oe-=(Y&&Ae===we&&we.visualViewport?we.visualViewport.width:Ae[He])-g.width,oe*=z?1:-1)}var $e,dt=Object.assign({position:D},J&&_v),Gt=Q===!0?function(fn,Lt){var nn=fn.x,rn=fn.y,ct=Lt.devicePixelRatio||1;return{x:ei(nn*ct)/ct||0,y:ei(rn*ct)/ct||0}}({x:oe,y:ce},Yt(u)):{x:oe,y:ce};return oe=Gt.x,ce=Gt.y,z?Object.assign({},dt,(($e={})[Ie]=We?"0":"",$e[xe]=Be?"0":"",$e.transform=(we.devicePixelRatio||1)<=1?"translate("+oe+"px, "+ce+"px)":"translate3d("+oe+"px, "+ce+"px, 0)",$e)):Object.assign({},dt,((a={})[Ie]=We?ce+"px":"",a[xe]=Be?oe+"px":"",a.transform="",a))}const Ua={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(p){var a=p.state,u=p.options,g=u.gpuAcceleration,k=g===void 0||g,x=u.adaptive,O=x===void 0||x,D=u.roundOffsets,z=D===void 0||D,J={placement:On(a.placement),variation:ni(a.placement),popper:a.elements.popper,popperRect:a.rects.popper,gpuAcceleration:k,isFixed:a.options.strategy==="fixed"};a.modifiersData.popperOffsets!=null&&(a.styles.popper=Object.assign({},a.styles.popper,tf(Object.assign({},J,{offsets:a.modifiersData.popperOffsets,position:a.options.strategy,adaptive:O,roundOffsets:z})))),a.modifiersData.arrow!=null&&(a.styles.arrow=Object.assign({},a.styles.arrow,tf(Object.assign({},J,{offsets:a.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:z})))),a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-placement":a.placement})},data:{}};var Ks={passive:!0};const Wa={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(p){var a=p.state,u=p.instance,g=p.options,k=g.scroll,x=k===void 0||k,O=g.resize,D=O===void 0||O,z=Yt(a.elements.popper),J=[].concat(a.scrollParents.reference,a.scrollParents.popper);return x&&J.forEach(function(Q){Q.addEventListener("scroll",u.update,Ks)}),D&&z.addEventListener("resize",u.update,Ks),function(){x&&J.forEach(function(Q){Q.removeEventListener("scroll",u.update,Ks)}),D&&z.removeEventListener("resize",u.update,Ks)}},data:{}};var bv={left:"right",right:"left",bottom:"top",top:"bottom"};function Ys(p){return p.replace(/left|right|bottom|top/g,function(a){return bv[a]})}var yv={start:"end",end:"start"};function nf(p){return p.replace(/start|end/g,function(a){return yv[a]})}function Va(p){var a=Yt(p);return{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function Ka(p){return ti(sr(p)).left+Va(p).scrollLeft}function Ya(p){var a=qn(p),u=a.overflow,g=a.overflowX,k=a.overflowY;return/auto|scroll|overlay|hidden/.test(u+k+g)}function rf(p){return["html","body","#document"].indexOf(Cn(p))>=0?p.ownerDocument.body:tn(p)&&Ya(p)?p:rf(Vs(p))}function qi(p,a){var u;a===void 0&&(a=[]);var g=rf(p),k=g===((u=p.ownerDocument)==null?void 0:u.body),x=Yt(g),O=k?[x].concat(x.visualViewport||[],Ya(g)?g:[]):g,D=a.concat(O);return k?D:D.concat(qi(Vs(O)))}function Ga(p){return Object.assign({},p,{left:p.x,top:p.y,right:p.x+p.width,bottom:p.y+p.height})}function sf(p,a,u){return a===La?Ga(function(g,k){var x=Yt(g),O=sr(g),D=x.visualViewport,z=O.clientWidth,J=O.clientHeight,Q=0,Y=0;if(D){z=D.width,J=D.height;var ve=Gu();(ve||!ve&&k==="fixed")&&(Q=D.offsetLeft,Y=D.offsetTop)}return{width:z,height:J,x:Q+Ka(g),y:Y}}(p,u)):Er(a)?function(g,k){var x=ti(g,!1,k==="fixed");return x.top=x.top+g.clientTop,x.left=x.left+g.clientLeft,x.bottom=x.top+g.clientHeight,x.right=x.left+g.clientWidth,x.width=g.clientWidth,x.height=g.clientHeight,x.x=x.left,x.y=x.top,x}(a,u):Ga(function(g){var k,x=sr(g),O=Va(g),D=(k=g.ownerDocument)==null?void 0:k.body,z=Sr(x.scrollWidth,x.clientWidth,D?D.scrollWidth:0,D?D.clientWidth:0),J=Sr(x.scrollHeight,x.clientHeight,D?D.scrollHeight:0,D?D.clientHeight:0),Q=-O.scrollLeft+Ka(g),Y=-O.scrollTop;return qn(D||x).direction==="rtl"&&(Q+=Sr(x.clientWidth,D?D.clientWidth:0)-z),{width:z,height:J,x:Q,y:Y}}(sr(p)))}function of(p){var a,u=p.reference,g=p.element,k=p.placement,x=k?On(k):null,O=k?ni(k):null,D=u.x+u.width/2-g.width/2,z=u.y+u.height/2-g.height/2;switch(x){case xt:a={x:D,y:u.y-g.height};break;case qe:a={x:D,y:u.y+u.height};break;case tt:a={x:u.x+u.width,y:z};break;case Et:a={x:u.x-g.width,y:z};break;default:a={x:u.x,y:u.y}}var J=x?za(x):null;if(J!=null){var Q=J==="y"?"height":"width";switch(O){case xr:a[J]=a[J]-(u[Q]/2-g[Q]/2);break;case Qr:a[J]=a[J]+(u[Q]/2-g[Q]/2)}}return a}function ri(p,a){a===void 0&&(a={});var u=a,g=u.placement,k=g===void 0?p.placement:g,x=u.strategy,O=x===void 0?p.strategy:x,D=u.boundary,z=D===void 0?$u:D,J=u.rootBoundary,Q=J===void 0?La:J,Y=u.elementContext,ve=Y===void 0?Zr:Y,oe=u.altBoundary,de=oe!==void 0&&oe,ce=u.padding,he=ce===void 0?0:ce,Be=Qu(typeof he!="number"?he:Zu(he,Jr)),We=ve===Zr?Du:Zr,xe=p.rects.popper,Ie=p.elements[de?We:ve],we=function(Lt,nn,rn,ct){var Pn=nn==="clippingParents"?function(ze){var $t=qi(Vs(ze)),sn=["absolute","fixed"].indexOf(qn(ze).position)>=0&&tn(ze)?Bi(ze):ze;return Er(sn)?$t.filter(function(or){return Er(or)&&Xu(or,sn)&&Cn(or)!=="body"}):[]}(Lt):[].concat(nn),Tn=[].concat(Pn,[rn]),ii=Tn[0],St=Tn.reduce(function(ze,$t){var sn=sf(Lt,$t,ct);return ze.top=Sr(sn.top,ze.top),ze.right=Ws(sn.right,ze.right),ze.bottom=Ws(sn.bottom,ze.bottom),ze.left=Sr(sn.left,ze.left),ze},sf(Lt,ii,ct));return St.width=St.right-St.left,St.height=St.bottom-St.top,St.x=St.left,St.y=St.top,St}(Er(Ie)?Ie:Ie.contextElement||sr(p.elements.popper),z,Q,O),Ae=ti(p.elements.reference),Le=of({reference:Ae,element:xe,strategy:"absolute",placement:k}),He=Ga(Object.assign({},xe,Le)),$e=ve===Zr?He:Ae,dt={top:we.top-$e.top+Be.top,bottom:$e.bottom-we.bottom+Be.bottom,left:we.left-$e.left+Be.left,right:$e.right-we.right+Be.right},Gt=p.modifiersData.offset;if(ve===Zr&&Gt){var fn=Gt[k];Object.keys(dt).forEach(function(Lt){var nn=[tt,qe].indexOf(Lt)>=0?1:-1,rn=[xt,qe].indexOf(Lt)>=0?"y":"x";dt[Lt]+=fn[rn]*nn})}return dt}function wv(p,a){a===void 0&&(a={});var u=a,g=u.placement,k=u.boundary,x=u.rootBoundary,O=u.padding,D=u.flipVariations,z=u.allowedAutoPlacements,J=z===void 0?Da:z,Q=ni(g),Y=Q?D?$a:$a.filter(function(de){return ni(de)===Q}):Jr,ve=Y.filter(function(de){return J.indexOf(de)>=0});ve.length===0&&(ve=Y);var oe=ve.reduce(function(de,ce){return de[ce]=ri(p,{placement:ce,boundary:k,rootBoundary:x,padding:O})[On(ce)],de},{});return Object.keys(oe).sort(function(de,ce){return oe[de]-oe[ce]})}const af={name:"flip",enabled:!0,phase:"main",fn:function(p){var a=p.state,u=p.options,g=p.name;if(!a.modifiersData[g]._skip){for(var k=u.mainAxis,x=k===void 0||k,O=u.altAxis,D=O===void 0||O,z=u.fallbackPlacements,J=u.padding,Q=u.boundary,Y=u.rootBoundary,ve=u.altBoundary,oe=u.flipVariations,de=oe===void 0||oe,ce=u.allowedAutoPlacements,he=a.options.placement,Be=On(he),We=z||(Be!==he&&de?function(ze){if(On(ze)===Us)return[];var $t=Ys(ze);return[nf(ze),$t,nf($t)]}(he):[Ys(he)]),xe=[he].concat(We).reduce(function(ze,$t){return ze.concat(On($t)===Us?wv(a,{placement:$t,boundary:Q,rootBoundary:Y,padding:J,flipVariations:de,allowedAutoPlacements:ce}):$t)},[]),Ie=a.rects.reference,we=a.rects.popper,Ae=new Map,Le=!0,He=xe[0],$e=0;$e<xe.length;$e++){var dt=xe[$e],Gt=On(dt),fn=ni(dt)===xr,Lt=[xt,qe].indexOf(Gt)>=0,nn=Lt?"width":"height",rn=ri(a,{placement:dt,boundary:Q,rootBoundary:Y,altBoundary:ve,padding:J}),ct=Lt?fn?tt:Et:fn?qe:xt;Ie[nn]>we[nn]&&(ct=Ys(ct));var Pn=Ys(ct),Tn=[];if(x&&Tn.push(rn[Gt]<=0),D&&Tn.push(rn[ct]<=0,rn[Pn]<=0),Tn.every(function(ze){return ze})){He=dt,Le=!1;break}Ae.set(dt,Tn)}if(Le)for(var ii=function(ze){var $t=xe.find(function(sn){var or=Ae.get(sn);if(or)return or.slice(0,ze).every(function(io){return io})});if($t)return He=$t,"break"},St=de?3:1;St>0&&ii(St)!=="break";St--);a.placement!==He&&(a.modifiersData[g]._skip=!0,a.placement=He,a.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function lf(p,a,u){return u===void 0&&(u={x:0,y:0}),{top:p.top-a.height-u.y,right:p.right-a.width+u.x,bottom:p.bottom-a.height+u.y,left:p.left-a.width-u.x}}function cf(p){return[xt,tt,qe,Et].some(function(a){return p[a]>=0})}const uf={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(p){var a=p.state,u=p.name,g=a.rects.reference,k=a.rects.popper,x=a.modifiersData.preventOverflow,O=ri(a,{elementContext:"reference"}),D=ri(a,{altBoundary:!0}),z=lf(O,g),J=lf(D,k,x),Q=cf(z),Y=cf(J);a.modifiersData[u]={referenceClippingOffsets:z,popperEscapeOffsets:J,isReferenceHidden:Q,hasPopperEscaped:Y},a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-reference-hidden":Q,"data-popper-escaped":Y})}},ff={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(p){var a=p.state,u=p.options,g=p.name,k=u.offset,x=k===void 0?[0,0]:k,O=Da.reduce(function(Q,Y){return Q[Y]=function(ve,oe,de){var ce=On(ve),he=[Et,xt].indexOf(ce)>=0?-1:1,Be=typeof de=="function"?de(Object.assign({},oe,{placement:ve})):de,We=Be[0],xe=Be[1];return We=We||0,xe=(xe||0)*he,[Et,tt].indexOf(ce)>=0?{x:xe,y:We}:{x:We,y:xe}}(Y,a.rects,x),Q},{}),D=O[a.placement],z=D.x,J=D.y;a.modifiersData.popperOffsets!=null&&(a.modifiersData.popperOffsets.x+=z,a.modifiersData.popperOffsets.y+=J),a.modifiersData[g]=O}},Xa={name:"popperOffsets",enabled:!0,phase:"read",fn:function(p){var a=p.state,u=p.name;a.modifiersData[u]=of({reference:a.rects.reference,element:a.rects.popper,strategy:"absolute",placement:a.placement})},data:{}},df={name:"preventOverflow",enabled:!0,phase:"main",fn:function(p){var a=p.state,u=p.options,g=p.name,k=u.mainAxis,x=k===void 0||k,O=u.altAxis,D=O!==void 0&&O,z=u.boundary,J=u.rootBoundary,Q=u.altBoundary,Y=u.padding,ve=u.tether,oe=ve===void 0||ve,de=u.tetherOffset,ce=de===void 0?0:de,he=ri(a,{boundary:z,rootBoundary:J,padding:Y,altBoundary:Q}),Be=On(a.placement),We=ni(a.placement),xe=!We,Ie=za(Be),we=Ie==="x"?"y":"x",Ae=a.modifiersData.popperOffsets,Le=a.rects.reference,He=a.rects.popper,$e=typeof ce=="function"?ce(Object.assign({},a.rects,{placement:a.placement})):ce,dt=typeof $e=="number"?{mainAxis:$e,altAxis:$e}:Object.assign({mainAxis:0,altAxis:0},$e),Gt=a.modifiersData.offset?a.modifiersData.offset[a.placement]:null,fn={x:0,y:0};if(Ae){if(x){var Lt,nn=Ie==="y"?xt:Et,rn=Ie==="y"?qe:tt,ct=Ie==="y"?"height":"width",Pn=Ae[Ie],Tn=Pn+he[nn],ii=Pn-he[rn],St=oe?-He[ct]/2:0,ze=We===xr?Le[ct]:He[ct],$t=We===xr?-He[ct]:-Le[ct],sn=a.elements.arrow,or=oe&&sn?qa(sn):{width:0,height:0},io=a.modifiersData["arrow#persistent"]?a.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Jf=io[nn],Qf=io[rn],so=Hi(0,Le[ct],or[ct]),u_=xe?Le[ct]/2-St-so-Jf-dt.mainAxis:ze-so-Jf-dt.mainAxis,f_=xe?-Le[ct]/2+St+so+Qf+dt.mainAxis:$t+so+Qf+dt.mainAxis,rl=a.elements.arrow&&Bi(a.elements.arrow),d_=rl?Ie==="y"?rl.clientTop||0:rl.clientLeft||0:0,Zf=(Lt=Gt==null?void 0:Gt[Ie])!=null?Lt:0,h_=Pn+f_-Zf,ed=Hi(oe?Ws(Tn,Pn+u_-Zf-d_):Tn,Pn,oe?Sr(ii,h_):ii);Ae[Ie]=ed,fn[Ie]=ed-Pn}if(D){var td,p_=Ie==="x"?xt:Et,m_=Ie==="x"?qe:tt,Tr=Ae[we],oo=we==="y"?"height":"width",nd=Tr+he[p_],rd=Tr-he[m_],il=[xt,Et].indexOf(Be)!==-1,id=(td=Gt==null?void 0:Gt[we])!=null?td:0,sd=il?nd:Tr-Le[oo]-He[oo]-id+dt.altAxis,od=il?Tr+Le[oo]+He[oo]-id-dt.altAxis:rd,ad=oe&&il?function(g_,v_,sl){var ld=Hi(g_,v_,sl);return ld>sl?sl:ld}(sd,Tr,od):Hi(oe?sd:nd,Tr,oe?od:rd);Ae[we]=ad,fn[we]=ad-Tr}a.modifiersData[g]=fn}},requiresIfExists:["offset"]};function kv(p,a,u){u===void 0&&(u=!1);var g,k,x=tn(a),O=tn(a)&&function(Y){var ve=Y.getBoundingClientRect(),oe=ei(ve.width)/Y.offsetWidth||1,de=ei(ve.height)/Y.offsetHeight||1;return oe!==1||de!==1}(a),D=sr(a),z=ti(p,O,u),J={scrollLeft:0,scrollTop:0},Q={x:0,y:0};return(x||!x&&!u)&&((Cn(a)!=="body"||Ya(D))&&(J=(g=a)!==Yt(g)&&tn(g)?{scrollLeft:(k=g).scrollLeft,scrollTop:k.scrollTop}:Va(g)),tn(a)?((Q=ti(a,!0)).x+=a.clientLeft,Q.y+=a.clientTop):D&&(Q.x=Ka(D))),{x:z.left+J.scrollLeft-Q.x,y:z.top+J.scrollTop-Q.y,width:z.width,height:z.height}}function xv(p){var a=new Map,u=new Set,g=[];function k(x){u.add(x.name),[].concat(x.requires||[],x.requiresIfExists||[]).forEach(function(O){if(!u.has(O)){var D=a.get(O);D&&k(D)}}),g.push(x)}return p.forEach(function(x){a.set(x.name,x)}),p.forEach(function(x){u.has(x.name)||k(x)}),g}var hf={placement:"bottom",modifiers:[],strategy:"absolute"};function pf(){for(var p=arguments.length,a=new Array(p),u=0;u<p;u++)a[u]=arguments[u];return!a.some(function(g){return!(g&&typeof g.getBoundingClientRect=="function")})}function Gs(p){p===void 0&&(p={});var a=p,u=a.defaultModifiers,g=u===void 0?[]:u,k=a.defaultOptions,x=k===void 0?hf:k;return function(O,D,z){z===void 0&&(z=x);var J,Q,Y={placement:"bottom",orderedModifiers:[],options:Object.assign({},hf,x),modifiersData:{},elements:{reference:O,popper:D},attributes:{},styles:{}},ve=[],oe=!1,de={state:Y,setOptions:function(he){var Be=typeof he=="function"?he(Y.options):he;ce(),Y.options=Object.assign({},x,Y.options,Be),Y.scrollParents={reference:Er(O)?qi(O):O.contextElement?qi(O.contextElement):[],popper:qi(D)};var We,xe,Ie=function(we){var Ae=xv(we);return Yu.reduce(function(Le,He){return Le.concat(Ae.filter(function($e){return $e.phase===He}))},[])}((We=[].concat(g,Y.options.modifiers),xe=We.reduce(function(we,Ae){var Le=we[Ae.name];return we[Ae.name]=Le?Object.assign({},Le,Ae,{options:Object.assign({},Le.options,Ae.options),data:Object.assign({},Le.data,Ae.data)}):Ae,we},{}),Object.keys(xe).map(function(we){return xe[we]})));return Y.orderedModifiers=Ie.filter(function(we){return we.enabled}),Y.orderedModifiers.forEach(function(we){var Ae=we.name,Le=we.options,He=Le===void 0?{}:Le,$e=we.effect;if(typeof $e=="function"){var dt=$e({state:Y,name:Ae,instance:de,options:He});ve.push(dt||function(){})}}),de.update()},forceUpdate:function(){if(!oe){var he=Y.elements,Be=he.reference,We=he.popper;if(pf(Be,We)){Y.rects={reference:kv(Be,Bi(We),Y.options.strategy==="fixed"),popper:qa(We)},Y.reset=!1,Y.placement=Y.options.placement,Y.orderedModifiers.forEach(function($e){return Y.modifiersData[$e.name]=Object.assign({},$e.data)});for(var xe=0;xe<Y.orderedModifiers.length;xe++)if(Y.reset!==!0){var Ie=Y.orderedModifiers[xe],we=Ie.fn,Ae=Ie.options,Le=Ae===void 0?{}:Ae,He=Ie.name;typeof we=="function"&&(Y=we({state:Y,options:Le,name:He,instance:de})||Y)}else Y.reset=!1,xe=-1}}},update:(J=function(){return new Promise(function(he){de.forceUpdate(),he(Y)})},function(){return Q||(Q=new Promise(function(he){Promise.resolve().then(function(){Q=void 0,he(J())})})),Q}),destroy:function(){ce(),oe=!0}};if(!pf(O,D))return de;function ce(){ve.forEach(function(he){return he()}),ve=[]}return de.setOptions(z).then(function(he){!oe&&z.onFirstUpdate&&z.onFirstUpdate(he)}),de}}var Ev=Gs(),Sv=Gs({defaultModifiers:[Wa,Xa,Ua,Ba]}),Ja=Gs({defaultModifiers:[Wa,Xa,Ua,Ba,ff,af,df,ef,uf]});const mf=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Uu,afterRead:Hu,afterWrite:Ku,applyStyles:Ba,arrow:ef,auto:Us,basePlacements:Jr,beforeMain:qu,beforeRead:ju,beforeWrite:Wu,bottom:qe,clippingParents:$u,computeStyles:Ua,createPopper:Ja,createPopperBase:Ev,createPopperLite:Sv,detectOverflow:ri,end:Qr,eventListeners:Wa,flip:af,hide:uf,left:Et,main:zu,modifierPhases:Yu,offset:ff,placements:Da,popper:Zr,popperGenerator:Gs,popperOffsets:Xa,preventOverflow:df,read:Bu,reference:Du,right:tt,start:xr,top:xt,variationPlacements:$a,viewport:La,write:Vu},Symbol.toStringTag,{value:"Module"})),gf="dropdown",Av="ArrowUp",vf="ArrowDown",_f="click.bs.dropdown.data-api",bf="keydown.bs.dropdown.data-api",zi="show",Ar='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Cv=`${Ar}.show`,Xs=".dropdown-menu",Ov=C()?"top-end":"top-start",Pv=C()?"top-start":"top-end",Tv=C()?"bottom-end":"bottom-start",Rv=C()?"bottom-start":"bottom-end",Iv=C()?"left-start":"right-start",Fv=C()?"right-start":"left-start",Nv={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Mv={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class un extends Ee{constructor(a,u){super(a,u),this._popper=null,this._parent=this._element.parentNode,this._menu=I.next(this._element,Xs)[0]||I.prev(this._element,Xs)[0]||I.findOne(Xs,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Nv}static get DefaultType(){return Mv}static get NAME(){return gf}toggle(){return this._isShown()?this.hide():this.show()}show(){if(f(this._element)||this._isShown())return;const a={relatedTarget:this._element};if(!F.trigger(this._element,"show.bs.dropdown",a).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const u of[].concat(...document.body.children))F.on(u,"mouseover",m);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(zi),this._element.classList.add(zi),F.trigger(this._element,"shown.bs.dropdown",a)}}hide(){if(f(this._element)||!this._isShown())return;const a={relatedTarget:this._element};this._completeHide(a)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(a){if(!F.trigger(this._element,"hide.bs.dropdown",a).defaultPrevented){if("ontouchstart"in document.documentElement)for(const u of[].concat(...document.body.children))F.off(u,"mouseover",m);this._popper&&this._popper.destroy(),this._menu.classList.remove(zi),this._element.classList.remove(zi),this._element.setAttribute("aria-expanded","false"),Ne.removeDataAttribute(this._menu,"popper"),F.trigger(this._element,"hidden.bs.dropdown",a)}}_getConfig(a){if(typeof(a=super._getConfig(a)).reference=="object"&&!l(a.reference)&&typeof a.reference.getBoundingClientRect!="function")throw new TypeError(`${gf.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return a}_createPopper(){if(mf===void 0)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let a=this._element;this._config.reference==="parent"?a=this._parent:l(this._config.reference)?a=c(this._config.reference):typeof this._config.reference=="object"&&(a=this._config.reference);const u=this._getPopperConfig();this._popper=Ja(a,this._menu,u)}_isShown(){return this._menu.classList.contains(zi)}_getPlacement(){const a=this._parent;if(a.classList.contains("dropend"))return Iv;if(a.classList.contains("dropstart"))return Fv;if(a.classList.contains("dropup-center"))return"top";if(a.classList.contains("dropdown-center"))return"bottom";const u=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return a.classList.contains("dropup")?u?Pv:Ov:u?Rv:Tv}_detectNavbar(){return this._element.closest(".navbar")!==null}_getOffset(){const{offset:a}=this._config;return typeof a=="string"?a.split(",").map(u=>Number.parseInt(u,10)):typeof a=="function"?u=>a(u,this._element):a}_getPopperConfig(){const a={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Ne.setDataAttribute(this._menu,"popper","static"),a.modifiers=[{name:"applyStyles",enabled:!1}]),{...a,...A(this._config.popperConfig,[a])}}_selectMenuItem({key:a,target:u}){const g=I.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(k=>d(k));g.length&&K(g,u,a===vf,!g.includes(u)).focus()}static jQueryInterface(a){return this.each(function(){const u=un.getOrCreateInstance(this,a);if(typeof a=="string"){if(u[a]===void 0)throw new TypeError(`No method named "${a}"`);u[a]()}})}static clearMenus(a){if(a.button===2||a.type==="keyup"&&a.key!=="Tab")return;const u=I.find(Cv);for(const g of u){const k=un.getInstance(g);if(!k||k._config.autoClose===!1)continue;const x=a.composedPath(),O=x.includes(k._menu);if(x.includes(k._element)||k._config.autoClose==="inside"&&!O||k._config.autoClose==="outside"&&O||k._menu.contains(a.target)&&(a.type==="keyup"&&a.key==="Tab"||/input|select|option|textarea|form/i.test(a.target.tagName)))continue;const D={relatedTarget:k._element};a.type==="click"&&(D.clickEvent=a),k._completeHide(D)}}static dataApiKeydownHandler(a){const u=/input|textarea/i.test(a.target.tagName),g=a.key==="Escape",k=[Av,vf].includes(a.key);if(!k&&!g||u&&!g)return;a.preventDefault();const x=this.matches(Ar)?this:I.prev(this,Ar)[0]||I.next(this,Ar)[0]||I.findOne(Ar,a.delegateTarget.parentNode),O=un.getOrCreateInstance(x);if(k)return a.stopPropagation(),O.show(),void O._selectMenuItem(a);O._isShown()&&(a.stopPropagation(),O.hide(),x.focus())}}F.on(document,bf,Ar,un.dataApiKeydownHandler),F.on(document,bf,Xs,un.dataApiKeydownHandler),F.on(document,_f,un.clearMenus),F.on(document,"keyup.bs.dropdown.data-api",un.clearMenus),F.on(document,_f,Ar,function(p){p.preventDefault(),un.getOrCreateInstance(this).toggle()}),E(un);const yf="show",wf="mousedown.bs.backdrop",Lv={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},$v={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class kf extends Ot{constructor(a){super(),this._config=this._getConfig(a),this._isAppended=!1,this._element=null}static get Default(){return Lv}static get DefaultType(){return $v}static get NAME(){return"backdrop"}show(a){if(!this._config.isVisible)return void A(a);this._append();const u=this._getElement();this._config.isAnimated&&v(u),u.classList.add(yf),this._emulateAnimation(()=>{A(a)})}hide(a){this._config.isVisible?(this._getElement().classList.remove(yf),this._emulateAnimation(()=>{this.dispose(),A(a)})):A(a)}dispose(){this._isAppended&&(F.off(this._element,wf),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const a=document.createElement("div");a.className=this._config.className,this._config.isAnimated&&a.classList.add("fade"),this._element=a}return this._element}_configAfterMerge(a){return a.rootElement=c(a.rootElement),a}_append(){if(this._isAppended)return;const a=this._getElement();this._config.rootElement.append(a),F.on(a,wf,()=>{A(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(a){R(a,this._getElement(),this._config.isAnimated)}}const xf=".bs.focustrap",Ef="backward",Dv={autofocus:!0,trapElement:null},jv={autofocus:"boolean",trapElement:"element"};class Sf extends Ot{constructor(a){super(),this._config=this._getConfig(a),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Dv}static get DefaultType(){return jv}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),F.off(document,xf),F.on(document,"focusin.bs.focustrap",a=>this._handleFocusin(a)),F.on(document,"keydown.tab.bs.focustrap",a=>this._handleKeydown(a)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,F.off(document,xf))}_handleFocusin(a){const{trapElement:u}=this._config;if(a.target===document||a.target===u||u.contains(a.target))return;const g=I.focusableChildren(u);g.length===0?u.focus():this._lastTabNavDirection===Ef?g[g.length-1].focus():g[0].focus()}_handleKeydown(a){a.key==="Tab"&&(this._lastTabNavDirection=a.shiftKey?Ef:"forward")}}const Af=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Cf=".sticky-top",Js="padding-right",Of="margin-right";class Qa{constructor(){this._element=document.body}getWidth(){const a=document.documentElement.clientWidth;return Math.abs(window.innerWidth-a)}hide(){const a=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Js,u=>u+a),this._setElementAttributes(Af,Js,u=>u+a),this._setElementAttributes(Cf,Of,u=>u-a)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Js),this._resetElementAttributes(Af,Js),this._resetElementAttributes(Cf,Of)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(a,u,g){const k=this.getWidth();this._applyManipulationCallback(a,x=>{if(x!==this._element&&window.innerWidth>x.clientWidth+k)return;this._saveInitialAttribute(x,u);const O=window.getComputedStyle(x).getPropertyValue(u);x.style.setProperty(u,`${g(Number.parseFloat(O))}px`)})}_saveInitialAttribute(a,u){const g=a.style.getPropertyValue(u);g&&Ne.setDataAttribute(a,u,g)}_resetElementAttributes(a,u){this._applyManipulationCallback(a,g=>{const k=Ne.getDataAttribute(g,u);k!==null?(Ne.removeDataAttribute(g,u),g.style.setProperty(u,k)):g.style.removeProperty(u)})}_applyManipulationCallback(a,u){if(l(a))u(a);else for(const g of I.find(a,this._element))u(g)}}const Pf=".bs.modal",Tf="hidden.bs.modal",Rf="show.bs.modal",If="modal-open",Ff="show",Za="modal-static",Bv={backdrop:!0,focus:!0,keyboard:!0},Hv={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Cr extends Ee{constructor(a,u){super(a,u),this._dialog=I.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Qa,this._addEventListeners()}static get Default(){return Bv}static get DefaultType(){return Hv}static get NAME(){return"modal"}toggle(a){return this._isShown?this.hide():this.show(a)}show(a){this._isShown||this._isTransitioning||F.trigger(this._element,Rf,{relatedTarget:a}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(If),this._adjustDialog(),this._backdrop.show(()=>this._showElement(a)))}hide(){this._isShown&&!this._isTransitioning&&(F.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Ff),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){F.off(window,Pf),F.off(this._dialog,Pf),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new kf({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Sf({trapElement:this._element})}_showElement(a){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const u=I.findOne(".modal-body",this._dialog);u&&(u.scrollTop=0),v(this._element),this._element.classList.add(Ff),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,F.trigger(this._element,"shown.bs.modal",{relatedTarget:a})},this._dialog,this._isAnimated())}_addEventListeners(){F.on(this._element,"keydown.dismiss.bs.modal",a=>{a.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),F.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),F.on(this._element,"mousedown.dismiss.bs.modal",a=>{F.one(this._element,"click.dismiss.bs.modal",u=>{this._element===a.target&&this._element===u.target&&(this._config.backdrop!=="static"?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(If),this._resetAdjustments(),this._scrollBar.reset(),F.trigger(this._element,Tf)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(F.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const a=this._element.scrollHeight>document.documentElement.clientHeight,u=this._element.style.overflowY;u==="hidden"||this._element.classList.contains(Za)||(a||(this._element.style.overflowY="hidden"),this._element.classList.add(Za),this._queueCallback(()=>{this._element.classList.remove(Za),this._queueCallback(()=>{this._element.style.overflowY=u},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const a=this._element.scrollHeight>document.documentElement.clientHeight,u=this._scrollBar.getWidth(),g=u>0;if(g&&!a){const k=C()?"paddingLeft":"paddingRight";this._element.style[k]=`${u}px`}if(!g&&a){const k=C()?"paddingRight":"paddingLeft";this._element.style[k]=`${u}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(a,u){return this.each(function(){const g=Cr.getOrCreateInstance(this,a);if(typeof a=="string"){if(g[a]===void 0)throw new TypeError(`No method named "${a}"`);g[a](u)}})}}F.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(p){const a=I.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&p.preventDefault(),F.one(a,Rf,g=>{g.defaultPrevented||F.one(a,Tf,()=>{d(this)&&this.focus()})});const u=I.findOne(".modal.show");u&&Cr.getInstance(u).hide(),Cr.getOrCreateInstance(a).toggle(this)}),q(Cr),E(Cr);const Nf="show",Mf="showing",Lf="hiding",$f=".offcanvas.show",Df="hidePrevented.bs.offcanvas",jf="hidden.bs.offcanvas",qv={backdrop:!0,keyboard:!0,scroll:!1},zv={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class zn extends Ee{constructor(a,u){super(a,u),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return qv}static get DefaultType(){return zv}static get NAME(){return"offcanvas"}toggle(a){return this._isShown?this.hide():this.show(a)}show(a){this._isShown||F.trigger(this._element,"show.bs.offcanvas",{relatedTarget:a}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new Qa().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Mf),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Nf),this._element.classList.remove(Mf),F.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:a})},this._element,!0))}hide(){this._isShown&&(F.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Lf),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Nf,Lf),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Qa().reset(),F.trigger(this._element,jf)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const a=!!this._config.backdrop;return new kf({className:"offcanvas-backdrop",isVisible:a,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:a?()=>{this._config.backdrop!=="static"?this.hide():F.trigger(this._element,Df)}:null})}_initializeFocusTrap(){return new Sf({trapElement:this._element})}_addEventListeners(){F.on(this._element,"keydown.dismiss.bs.offcanvas",a=>{a.key==="Escape"&&(this._config.keyboard?this.hide():F.trigger(this._element,Df))})}static jQueryInterface(a){return this.each(function(){const u=zn.getOrCreateInstance(this,a);if(typeof a=="string"){if(u[a]===void 0||a.startsWith("_")||a==="constructor")throw new TypeError(`No method named "${a}"`);u[a](this)}})}}F.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(p){const a=I.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&p.preventDefault(),f(this))return;F.one(a,jf,()=>{d(this)&&this.focus()});const u=I.findOne($f);u&&u!==a&&zn.getInstance(u).hide(),zn.getOrCreateInstance(a).toggle(this)}),F.on(window,"load.bs.offcanvas.data-api",()=>{for(const p of I.find($f))zn.getOrCreateInstance(p).show()}),F.on(window,"resize.bs.offcanvas",()=>{for(const p of I.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(p).position!=="fixed"&&zn.getOrCreateInstance(p).hide()}),q(zn),E(zn);const Uv=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Wv=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Vv=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Kv=(p,a)=>{const u=p.nodeName.toLowerCase();return a.includes(u)?!Uv.has(u)||!!(Wv.test(p.nodeValue)||Vv.test(p.nodeValue)):a.filter(g=>g instanceof RegExp).some(g=>g.test(u))},Bf={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Yv={allowList:Bf,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Gv={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Xv={entry:"(string|element|function|null)",selector:"(string|element)"};class Jv extends Ot{constructor(a){super(),this._config=this._getConfig(a)}static get Default(){return Yv}static get DefaultType(){return Gv}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(a=>this._resolvePossibleFunction(a)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(a){return this._checkContent(a),this._config.content={...this._config.content,...a},this}toHtml(){const a=document.createElement("div");a.innerHTML=this._maybeSanitize(this._config.template);for(const[k,x]of Object.entries(this._config.content))this._setContent(a,x,k);const u=a.children[0],g=this._resolvePossibleFunction(this._config.extraClass);return g&&u.classList.add(...g.split(" ")),u}_typeCheckConfig(a){super._typeCheckConfig(a),this._checkContent(a.content)}_checkContent(a){for(const[u,g]of Object.entries(a))super._typeCheckConfig({selector:u,entry:g},Xv)}_setContent(a,u,g){const k=I.findOne(g,a);k&&((u=this._resolvePossibleFunction(u))?l(u)?this._putElementInTemplate(c(u),k):this._config.html?k.innerHTML=this._maybeSanitize(u):k.textContent=u:k.remove())}_maybeSanitize(a){return this._config.sanitize?function(u,g,k){if(!u.length)return u;if(k&&typeof k=="function")return k(u);const x=new window.DOMParser().parseFromString(u,"text/html"),O=[].concat(...x.body.querySelectorAll("*"));for(const D of O){const z=D.nodeName.toLowerCase();if(!Object.keys(g).includes(z)){D.remove();continue}const J=[].concat(...D.attributes),Q=[].concat(g["*"]||[],g[z]||[]);for(const Y of J)Kv(Y,Q)||D.removeAttribute(Y.nodeName)}return x.body.innerHTML}(a,this._config.allowList,this._config.sanitizeFn):a}_resolvePossibleFunction(a){return A(a,[this])}_putElementInTemplate(a,u){if(this._config.html)return u.innerHTML="",void u.append(a);u.textContent=a.textContent}}const Qv=new Set(["sanitize","allowList","sanitizeFn"]),el="fade",Qs="show",Hf=".modal",qf="hide.bs.modal",Zs="hover",zf="focus",Zv={AUTO:"auto",TOP:"top",RIGHT:C()?"left":"right",BOTTOM:"bottom",LEFT:C()?"right":"left"},e_={allowList:Bf,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},t_={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Or extends Ee{constructor(a,u){if(mf===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(a,u),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return e_}static get DefaultType(){return t_}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),F.off(this._element.closest(Hf),qf,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const a=F.trigger(this._element,this.constructor.eventName("show")),u=(h(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(a.defaultPrevented||!u)return;this._disposePopper();const g=this._getTipElement();this._element.setAttribute("aria-describedby",g.getAttribute("id"));const{container:k}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(k.append(g),F.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(g),g.classList.add(Qs),"ontouchstart"in document.documentElement)for(const x of[].concat(...document.body.children))F.on(x,"mouseover",m);this._queueCallback(()=>{F.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!F.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Qs),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))F.off(a,"mouseover",m);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),F.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(a){const u=this._getTemplateFactory(a).toHtml();if(!u)return null;u.classList.remove(el,Qs),u.classList.add(`bs-${this.constructor.NAME}-auto`);const g=(k=>{do k+=Math.floor(1e6*Math.random());while(document.getElementById(k));return k})(this.constructor.NAME).toString();return u.setAttribute("id",g),this._isAnimated()&&u.classList.add(el),u}setContent(a){this._newContent=a,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(a){return this._templateFactory?this._templateFactory.changeContent(a):this._templateFactory=new Jv({...this._config,content:a,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(a){return this.constructor.getOrCreateInstance(a.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(el)}_isShown(){return this.tip&&this.tip.classList.contains(Qs)}_createPopper(a){const u=A(this._config.placement,[this,a,this._element]),g=Zv[u.toUpperCase()];return Ja(this._element,a,this._getPopperConfig(g))}_getOffset(){const{offset:a}=this._config;return typeof a=="string"?a.split(",").map(u=>Number.parseInt(u,10)):typeof a=="function"?u=>a(u,this._element):a}_resolvePossibleFunction(a){return A(a,[this._element])}_getPopperConfig(a){const u={placement:a,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:g=>{this._getTipElement().setAttribute("data-popper-placement",g.state.placement)}}]};return{...u,...A(this._config.popperConfig,[u])}}_setListeners(){const a=this._config.trigger.split(" ");for(const u of a)if(u==="click")F.on(this._element,this.constructor.eventName("click"),this._config.selector,g=>{this._initializeOnDelegatedTarget(g).toggle()});else if(u!=="manual"){const g=u===Zs?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),k=u===Zs?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");F.on(this._element,g,this._config.selector,x=>{const O=this._initializeOnDelegatedTarget(x);O._activeTrigger[x.type==="focusin"?zf:Zs]=!0,O._enter()}),F.on(this._element,k,this._config.selector,x=>{const O=this._initializeOnDelegatedTarget(x);O._activeTrigger[x.type==="focusout"?zf:Zs]=O._element.contains(x.relatedTarget),O._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},F.on(this._element.closest(Hf),qf,this._hideModalHandler)}_fixTitle(){const a=this._element.getAttribute("title");a&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",a),this._element.setAttribute("data-bs-original-title",a),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(a,u){clearTimeout(this._timeout),this._timeout=setTimeout(a,u)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(a){const u=Ne.getDataAttributes(this._element);for(const g of Object.keys(u))Qv.has(g)&&delete u[g];return a={...u,...typeof a=="object"&&a?a:{}},a=this._mergeConfigObj(a),a=this._configAfterMerge(a),this._typeCheckConfig(a),a}_configAfterMerge(a){return a.container=a.container===!1?document.body:c(a.container),typeof a.delay=="number"&&(a.delay={show:a.delay,hide:a.delay}),typeof a.title=="number"&&(a.title=a.title.toString()),typeof a.content=="number"&&(a.content=a.content.toString()),a}_getDelegateConfig(){const a={};for(const[u,g]of Object.entries(this._config))this.constructor.Default[u]!==g&&(a[u]=g);return a.selector=!1,a.trigger="manual",a}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(a){return this.each(function(){const u=Or.getOrCreateInstance(this,a);if(typeof a=="string"){if(u[a]===void 0)throw new TypeError(`No method named "${a}"`);u[a]()}})}}E(Or);const n_={...Or.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},r_={...Or.DefaultType,content:"(null|string|element|function)"};class eo extends Or{static get Default(){return n_}static get DefaultType(){return r_}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(a){return this.each(function(){const u=eo.getOrCreateInstance(this,a);if(typeof a=="string"){if(u[a]===void 0)throw new TypeError(`No method named "${a}"`);u[a]()}})}}E(eo);const Uf="click.bs.scrollspy",Ui="active",Wf="[href]",i_={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},s_={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Wi extends Ee{constructor(a,u){super(a,u),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return i_}static get DefaultType(){return s_}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const a of this._observableSections.values())this._observer.observe(a)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(a){return a.target=c(a.target)||document.body,a.rootMargin=a.offset?`${a.offset}px 0px -30%`:a.rootMargin,typeof a.threshold=="string"&&(a.threshold=a.threshold.split(",").map(u=>Number.parseFloat(u))),a}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(F.off(this._config.target,Uf),F.on(this._config.target,Uf,Wf,a=>{const u=this._observableSections.get(a.target.hash);if(u){a.preventDefault();const g=this._rootElement||window,k=u.offsetTop-this._element.offsetTop;if(g.scrollTo)return void g.scrollTo({top:k,behavior:"smooth"});g.scrollTop=k}}))}_getNewObserver(){const a={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(u=>this._observerCallback(u),a)}_observerCallback(a){const u=O=>this._targetLinks.get(`#${O.target.id}`),g=O=>{this._previousScrollData.visibleEntryTop=O.target.offsetTop,this._process(u(O))},k=(this._rootElement||document.documentElement).scrollTop,x=k>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=k;for(const O of a){if(!O.isIntersecting){this._activeTarget=null,this._clearActiveClass(u(O));continue}const D=O.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(x&&D){if(g(O),!k)return}else x||D||g(O)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const a=I.find(Wf,this._config.target);for(const u of a){if(!u.hash||f(u))continue;const g=I.findOne(u.hash,this._element);d(g)&&(this._targetLinks.set(u.hash,u),this._observableSections.set(u.hash,g))}}_process(a){this._activeTarget!==a&&(this._clearActiveClass(this._config.target),this._activeTarget=a,a.classList.add(Ui),this._activateParents(a),F.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:a}))}_activateParents(a){if(a.classList.contains("dropdown-item"))I.findOne(".dropdown-toggle",a.closest(".dropdown")).classList.add(Ui);else for(const u of I.parents(a,".nav, .list-group"))for(const g of I.prev(u,".nav-link, .nav-item > .nav-link, .list-group-item"))g.classList.add(Ui)}_clearActiveClass(a){a.classList.remove(Ui);const u=I.find("[href].active",a);for(const g of u)g.classList.remove(Ui)}static jQueryInterface(a){return this.each(function(){const u=Wi.getOrCreateInstance(this,a);if(typeof a=="string"){if(u[a]===void 0||a.startsWith("_")||a==="constructor")throw new TypeError(`No method named "${a}"`);u[a]()}})}}F.on(window,"load.bs.scrollspy.data-api",()=>{for(const p of I.find('[data-bs-spy="scroll"]'))Wi.getOrCreateInstance(p)}),E(Wi);const o_="ArrowLeft",Vf="ArrowRight",a_="ArrowUp",Kf="ArrowDown",to="active",Yf="fade",tl="show",Gf='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',nl=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${Gf}`;class Pr extends Ee{constructor(a){super(a),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),F.on(this._element,"keydown.bs.tab",u=>this._keydown(u)))}static get NAME(){return"tab"}show(){const a=this._element;if(this._elemIsActive(a))return;const u=this._getActiveElem(),g=u?F.trigger(u,"hide.bs.tab",{relatedTarget:a}):null;F.trigger(a,"show.bs.tab",{relatedTarget:u}).defaultPrevented||g&&g.defaultPrevented||(this._deactivate(u,a),this._activate(a,u))}_activate(a,u){a&&(a.classList.add(to),this._activate(I.getElementFromSelector(a)),this._queueCallback(()=>{a.getAttribute("role")==="tab"?(a.removeAttribute("tabindex"),a.setAttribute("aria-selected",!0),this._toggleDropDown(a,!0),F.trigger(a,"shown.bs.tab",{relatedTarget:u})):a.classList.add(tl)},a,a.classList.contains(Yf)))}_deactivate(a,u){a&&(a.classList.remove(to),a.blur(),this._deactivate(I.getElementFromSelector(a)),this._queueCallback(()=>{a.getAttribute("role")==="tab"?(a.setAttribute("aria-selected",!1),a.setAttribute("tabindex","-1"),this._toggleDropDown(a,!1),F.trigger(a,"hidden.bs.tab",{relatedTarget:u})):a.classList.remove(tl)},a,a.classList.contains(Yf)))}_keydown(a){if(![o_,Vf,a_,Kf].includes(a.key))return;a.stopPropagation(),a.preventDefault();const u=[Vf,Kf].includes(a.key),g=K(this._getChildren().filter(k=>!f(k)),a.target,u,!0);g&&(g.focus({preventScroll:!0}),Pr.getOrCreateInstance(g).show())}_getChildren(){return I.find(nl,this._parent)}_getActiveElem(){return this._getChildren().find(a=>this._elemIsActive(a))||null}_setInitialAttributes(a,u){this._setAttributeIfNotExists(a,"role","tablist");for(const g of u)this._setInitialAttributesOnChild(g)}_setInitialAttributesOnChild(a){a=this._getInnerElement(a);const u=this._elemIsActive(a),g=this._getOuterElement(a);a.setAttribute("aria-selected",u),g!==a&&this._setAttributeIfNotExists(g,"role","presentation"),u||a.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(a,"role","tab"),this._setInitialAttributesOnTargetPanel(a)}_setInitialAttributesOnTargetPanel(a){const u=I.getElementFromSelector(a);u&&(this._setAttributeIfNotExists(u,"role","tabpanel"),a.id&&this._setAttributeIfNotExists(u,"aria-labelledby",`${a.id}`))}_toggleDropDown(a,u){const g=this._getOuterElement(a);if(!g.classList.contains("dropdown"))return;const k=(x,O)=>{const D=I.findOne(x,g);D&&D.classList.toggle(O,u)};k(".dropdown-toggle",to),k(".dropdown-menu",tl),g.setAttribute("aria-expanded",u)}_setAttributeIfNotExists(a,u,g){a.hasAttribute(u)||a.setAttribute(u,g)}_elemIsActive(a){return a.classList.contains(to)}_getInnerElement(a){return a.matches(nl)?a:I.findOne(nl,a)}_getOuterElement(a){return a.closest(".nav-item, .list-group-item")||a}static jQueryInterface(a){return this.each(function(){const u=Pr.getOrCreateInstance(this);if(typeof a=="string"){if(u[a]===void 0||a.startsWith("_")||a==="constructor")throw new TypeError(`No method named "${a}"`);u[a]()}})}}F.on(document,"click.bs.tab",Gf,function(p){["A","AREA"].includes(this.tagName)&&p.preventDefault(),f(this)||Pr.getOrCreateInstance(this).show()}),F.on(window,"load.bs.tab",()=>{for(const p of I.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))Pr.getOrCreateInstance(p)}),E(Pr);const Xf="hide",no="show",ro="showing",l_={animation:"boolean",autohide:"boolean",delay:"number"},c_={animation:!0,autohide:!0,delay:5e3};class Vi extends Ee{constructor(a,u){super(a,u),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return c_}static get DefaultType(){return l_}static get NAME(){return"toast"}show(){F.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Xf),v(this._element),this._element.classList.add(no,ro),this._queueCallback(()=>{this._element.classList.remove(ro),F.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(F.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(ro),this._queueCallback(()=>{this._element.classList.add(Xf),this._element.classList.remove(ro,no),F.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(no),super.dispose()}isShown(){return this._element.classList.contains(no)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(a,u){switch(a.type){case"mouseover":case"mouseout":this._hasMouseInteraction=u;break;case"focusin":case"focusout":this._hasKeyboardInteraction=u}if(u)return void this._clearTimeout();const g=a.relatedTarget;this._element===g||this._element.contains(g)||this._maybeScheduleHide()}_setListeners(){F.on(this._element,"mouseover.bs.toast",a=>this._onInteraction(a,!0)),F.on(this._element,"mouseout.bs.toast",a=>this._onInteraction(a,!1)),F.on(this._element,"focusin.bs.toast",a=>this._onInteraction(a,!0)),F.on(this._element,"focusout.bs.toast",a=>this._onInteraction(a,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(a){return this.each(function(){const u=Vi.getOrCreateInstance(this,a);if(typeof a=="string"){if(u[a]===void 0)throw new TypeError(`No method named "${a}"`);u[a](this)}})}}return q(Vi),E(Vi),{Alert:G,Button:_,Carousel:pe,Collapse:en,Dropdown:un,Modal:Cr,Offcanvas:zn,Popover:eo,ScrollSpy:Wi,Tab:Pr,Toast:Vi,Tooltip:Or}})})(PE);function Qh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Qh(Object(n),!0).forEach(function(r){wt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ia(e){"@babel/helpers - typeof";return ia=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ia(e)}function TE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RE(e,t,n){return t&&Zh(e.prototype,t),n&&Zh(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xu(e,t){return FE(e)||ME(e,t)||Hg(e,t)||$E()}function Bs(e){return IE(e)||NE(e)||Hg(e)||LE()}function IE(e){if(Array.isArray(e))return wc(e)}function FE(e){if(Array.isArray(e))return e}function NE(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ME(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,s=!1,o,l;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));i=!0);}catch(c){s=!0,l=c}finally{try{!i&&n.return!=null&&n.return()}finally{if(s)throw l}}return r}}function Hg(e,t){if(e){if(typeof e=="string")return wc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wc(e,t)}}function wc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function LE(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $E(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ep=function(){},Eu={},qg={},zg=null,Ug={mark:ep,measure:ep};try{typeof window<"u"&&(Eu=window),typeof document<"u"&&(qg=document),typeof MutationObserver<"u"&&(zg=MutationObserver),typeof performance<"u"&&(Ug=performance)}catch{}var DE=Eu.navigator||{},tp=DE.userAgent,np=tp===void 0?"":tp,yr=Eu,Je=qg,rp=zg,bo=Ug;yr.document;var rr=!!Je.documentElement&&!!Je.head&&typeof Je.addEventListener=="function"&&typeof Je.createElement=="function",Wg=~np.indexOf("MSIE")||~np.indexOf("Trident/"),yo,wo,ko,xo,Eo,Zn="___FONT_AWESOME___",kc=16,Vg="fa",Kg="svg-inline--fa",Yr="data-fa-i2svg",xc="data-fa-pseudo-element",jE="data-fa-pseudo-element-pending",Su="data-prefix",Au="data-icon",ip="fontawesome-i2svg",BE="async",HE=["HTML","HEAD","STYLE","SCRIPT"],Yg=function(){try{return!0}catch{return!1}}(),Ge="classic",ut="sharp",Cu=[Ge,ut];function Hs(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[Ge]}})}var Is=Hs((yo={},wt(yo,Ge,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),wt(yo,ut,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),yo)),Fs=Hs((wo={},wt(wo,Ge,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),wt(wo,ut,{solid:"fass",regular:"fasr",light:"fasl"}),wo)),Ns=Hs((ko={},wt(ko,Ge,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),wt(ko,ut,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),ko)),qE=Hs((xo={},wt(xo,Ge,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),wt(xo,ut,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),xo)),zE=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,Gg="fa-layers-text",UE=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,WE=Hs((Eo={},wt(Eo,Ge,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),wt(Eo,ut,{900:"fass",400:"fasr",300:"fasl"}),Eo)),Xg=[1,2,3,4,5,6,7,8,9,10],VE=Xg.concat([11,12,13,14,15,16,17,18,19,20]),KE=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Hr={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ms=new Set;Object.keys(Fs[Ge]).map(Ms.add.bind(Ms));Object.keys(Fs[ut]).map(Ms.add.bind(Ms));var YE=[].concat(Cu,Bs(Ms),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Hr.GROUP,Hr.SWAP_OPACITY,Hr.PRIMARY,Hr.SECONDARY]).concat(Xg.map(function(e){return"".concat(e,"x")})).concat(VE.map(function(e){return"w-".concat(e)})),ps=yr.FontAwesomeConfig||{};function GE(e){var t=Je.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function XE(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Je&&typeof Je.querySelector=="function"){var JE=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];JE.forEach(function(e){var t=xu(e,2),n=t[0],r=t[1],i=XE(GE(n));i!=null&&(ps[r]=i)})}var Jg={styleDefault:"solid",familyDefault:"classic",cssPrefix:Vg,replacementClass:Kg,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ps.familyPrefix&&(ps.cssPrefix=ps.familyPrefix);var Ri=X(X({},Jg),ps);Ri.autoReplaceSvg||(Ri.observeMutations=!1);var ne={};Object.keys(Jg).forEach(function(e){Object.defineProperty(ne,e,{enumerable:!0,set:function(n){Ri[e]=n,ms.forEach(function(r){return r(ne)})},get:function(){return Ri[e]}})});Object.defineProperty(ne,"familyPrefix",{enumerable:!0,set:function(t){Ri.cssPrefix=t,ms.forEach(function(n){return n(ne)})},get:function(){return Ri.cssPrefix}});yr.FontAwesomeConfig=ne;var ms=[];function QE(e){return ms.push(e),function(){ms.splice(ms.indexOf(e),1)}}var ur=kc,Dn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ZE(e){if(!(!e||!rr)){var t=Je.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Je.head.childNodes,r=null,i=n.length-1;i>-1;i--){var s=n[i],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=s)}return Je.head.insertBefore(t,r),e}}var eS="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ls(){for(var e=12,t="";e-- >0;)t+=eS[Math.random()*62|0];return t}function ji(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Ou(e){return e.classList?ji(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Qg(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function tS(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Qg(e[n]),'" ')},"").trim()}function Ia(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function Pu(e){return e.size!==Dn.size||e.x!==Dn.x||e.y!==Dn.y||e.rotate!==Dn.rotate||e.flipX||e.flipY}function nS(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},s="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)"),c={transform:"".concat(s," ").concat(o," ").concat(l)},d={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:c,path:d}}function rS(e){var t=e.transform,n=e.width,r=n===void 0?kc:n,i=e.height,s=i===void 0?kc:i,o=e.startCentered,l=o===void 0?!1:o,c="";return l&&Wg?c+="translate(".concat(t.x/ur-r/2,"em, ").concat(t.y/ur-s/2,"em) "):l?c+="translate(calc(-50% + ".concat(t.x/ur,"em), calc(-50% + ").concat(t.y/ur,"em)) "):c+="translate(".concat(t.x/ur,"em, ").concat(t.y/ur,"em) "),c+="scale(".concat(t.size/ur*(t.flipX?-1:1),", ").concat(t.size/ur*(t.flipY?-1:1),") "),c+="rotate(".concat(t.rotate,"deg) "),c}var iS=`:root, :host {
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
}

svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
  overflow: visible;
  box-sizing: content-box;
}

.svg-inline--fa {
  display: var(--fa-display, inline-block);
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
}
.svg-inline--fa.fa-2xs {
  vertical-align: 0.1em;
}
.svg-inline--fa.fa-xs {
  vertical-align: 0em;
}
.svg-inline--fa.fa-sm {
  vertical-align: -0.0714285705em;
}
.svg-inline--fa.fa-lg {
  vertical-align: -0.2em;
}
.svg-inline--fa.fa-xl {
  vertical-align: -0.25em;
}
.svg-inline--fa.fa-2xl {
  vertical-align: -0.3125em;
}
.svg-inline--fa.fa-pull-left {
  margin-right: var(--fa-pull-margin, 0.3em);
  width: auto;
}
.svg-inline--fa.fa-pull-right {
  margin-left: var(--fa-pull-margin, 0.3em);
  width: auto;
}
.svg-inline--fa.fa-li {
  width: var(--fa-li-width, 2em);
  top: 0.25em;
}
.svg-inline--fa.fa-fw {
  width: var(--fa-fw-width, 1.25em);
}

.fa-layers svg.svg-inline--fa {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
}

.fa-layers-counter, .fa-layers-text {
  display: inline-block;
  position: absolute;
  text-align: center;
}

.fa-layers {
  display: inline-block;
  height: 1em;
  position: relative;
  text-align: center;
  vertical-align: -0.125em;
  width: 1em;
}
.fa-layers svg.svg-inline--fa {
  -webkit-transform-origin: center center;
          transform-origin: center center;
}

.fa-layers-text {
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transform-origin: center center;
          transform-origin: center center;
}

.fa-layers-counter {
  background-color: var(--fa-counter-background-color, #ff253a);
  border-radius: var(--fa-counter-border-radius, 1em);
  box-sizing: border-box;
  color: var(--fa-inverse, #fff);
  line-height: var(--fa-counter-line-height, 1);
  max-width: var(--fa-counter-max-width, 5em);
  min-width: var(--fa-counter-min-width, 1.5em);
  overflow: hidden;
  padding: var(--fa-counter-padding, 0.25em 0.5em);
  right: var(--fa-right, 0);
  text-overflow: ellipsis;
  top: var(--fa-top, 0);
  -webkit-transform: scale(var(--fa-counter-scale, 0.25));
          transform: scale(var(--fa-counter-scale, 0.25));
  -webkit-transform-origin: top right;
          transform-origin: top right;
}

.fa-layers-bottom-right {
  bottom: var(--fa-bottom, 0);
  right: var(--fa-right, 0);
  top: auto;
  -webkit-transform: scale(var(--fa-layers-scale, 0.25));
          transform: scale(var(--fa-layers-scale, 0.25));
  -webkit-transform-origin: bottom right;
          transform-origin: bottom right;
}

.fa-layers-bottom-left {
  bottom: var(--fa-bottom, 0);
  left: var(--fa-left, 0);
  right: auto;
  top: auto;
  -webkit-transform: scale(var(--fa-layers-scale, 0.25));
          transform: scale(var(--fa-layers-scale, 0.25));
  -webkit-transform-origin: bottom left;
          transform-origin: bottom left;
}

.fa-layers-top-right {
  top: var(--fa-top, 0);
  right: var(--fa-right, 0);
  -webkit-transform: scale(var(--fa-layers-scale, 0.25));
          transform: scale(var(--fa-layers-scale, 0.25));
  -webkit-transform-origin: top right;
          transform-origin: top right;
}

.fa-layers-top-left {
  left: var(--fa-left, 0);
  right: auto;
  top: var(--fa-top, 0);
  -webkit-transform: scale(var(--fa-layers-scale, 0.25));
          transform: scale(var(--fa-layers-scale, 0.25));
  -webkit-transform-origin: top left;
          transform-origin: top left;
}

.fa-1x {
  font-size: 1em;
}

.fa-2x {
  font-size: 2em;
}

.fa-3x {
  font-size: 3em;
}

.fa-4x {
  font-size: 4em;
}

.fa-5x {
  font-size: 5em;
}

.fa-6x {
  font-size: 6em;
}

.fa-7x {
  font-size: 7em;
}

.fa-8x {
  font-size: 8em;
}

.fa-9x {
  font-size: 9em;
}

.fa-10x {
  font-size: 10em;
}

.fa-2xs {
  font-size: 0.625em;
  line-height: 0.1em;
  vertical-align: 0.225em;
}

.fa-xs {
  font-size: 0.75em;
  line-height: 0.0833333337em;
  vertical-align: 0.125em;
}

.fa-sm {
  font-size: 0.875em;
  line-height: 0.0714285718em;
  vertical-align: 0.0535714295em;
}

.fa-lg {
  font-size: 1.25em;
  line-height: 0.05em;
  vertical-align: -0.075em;
}

.fa-xl {
  font-size: 1.5em;
  line-height: 0.0416666682em;
  vertical-align: -0.125em;
}

.fa-2xl {
  font-size: 2em;
  line-height: 0.03125em;
  vertical-align: -0.1875em;
}

.fa-fw {
  text-align: center;
  width: 1.25em;
}

.fa-ul {
  list-style-type: none;
  margin-left: var(--fa-li-margin, 2.5em);
  padding-left: 0;
}
.fa-ul > li {
  position: relative;
}

.fa-li {
  left: calc(var(--fa-li-width, 2em) * -1);
  position: absolute;
  text-align: center;
  width: var(--fa-li-width, 2em);
  line-height: inherit;
}

.fa-border {
  border-color: var(--fa-border-color, #eee);
  border-radius: var(--fa-border-radius, 0.1em);
  border-style: var(--fa-border-style, solid);
  border-width: var(--fa-border-width, 0.08em);
  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
}

.fa-pull-left {
  float: left;
  margin-right: var(--fa-pull-margin, 0.3em);
}

.fa-pull-right {
  float: right;
  margin-left: var(--fa-pull-margin, 0.3em);
}

.fa-beat {
  -webkit-animation-name: fa-beat;
          animation-name: fa-beat;
  -webkit-animation-delay: var(--fa-animation-delay, 0s);
          animation-delay: var(--fa-animation-delay, 0s);
  -webkit-animation-direction: var(--fa-animation-direction, normal);
          animation-direction: var(--fa-animation-direction, normal);
  -webkit-animation-duration: var(--fa-animation-duration, 1s);
          animation-duration: var(--fa-animation-duration, 1s);
  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
          animation-timing-function: var(--fa-animation-timing, ease-in-out);
}

.fa-bounce {
  -webkit-animation-name: fa-bounce;
          animation-name: fa-bounce;
  -webkit-animation-delay: var(--fa-animation-delay, 0s);
          animation-delay: var(--fa-animation-delay, 0s);
  -webkit-animation-direction: var(--fa-animation-direction, normal);
          animation-direction: var(--fa-animation-direction, normal);
  -webkit-animation-duration: var(--fa-animation-duration, 1s);
          animation-duration: var(--fa-animation-duration, 1s);
  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
}

.fa-fade {
  -webkit-animation-name: fa-fade;
          animation-name: fa-fade;
  -webkit-animation-delay: var(--fa-animation-delay, 0s);
          animation-delay: var(--fa-animation-delay, 0s);
  -webkit-animation-direction: var(--fa-animation-direction, normal);
          animation-direction: var(--fa-animation-direction, normal);
  -webkit-animation-duration: var(--fa-animation-duration, 1s);
          animation-duration: var(--fa-animation-duration, 1s);
  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
}

.fa-beat-fade {
  -webkit-animation-name: fa-beat-fade;
          animation-name: fa-beat-fade;
  -webkit-animation-delay: var(--fa-animation-delay, 0s);
          animation-delay: var(--fa-animation-delay, 0s);
  -webkit-animation-direction: var(--fa-animation-direction, normal);
          animation-direction: var(--fa-animation-direction, normal);
  -webkit-animation-duration: var(--fa-animation-duration, 1s);
          animation-duration: var(--fa-animation-duration, 1s);
  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
}

.fa-flip {
  -webkit-animation-name: fa-flip;
          animation-name: fa-flip;
  -webkit-animation-delay: var(--fa-animation-delay, 0s);
          animation-delay: var(--fa-animation-delay, 0s);
  -webkit-animation-direction: var(--fa-animation-direction, normal);
          animation-direction: var(--fa-animation-direction, normal);
  -webkit-animation-duration: var(--fa-animation-duration, 1s);
          animation-duration: var(--fa-animation-duration, 1s);
  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
          animation-timing-function: var(--fa-animation-timing, ease-in-out);
}

.fa-shake {
  -webkit-animation-name: fa-shake;
          animation-name: fa-shake;
  -webkit-animation-delay: var(--fa-animation-delay, 0s);
          animation-delay: var(--fa-animation-delay, 0s);
  -webkit-animation-direction: var(--fa-animation-direction, normal);
          animation-direction: var(--fa-animation-direction, normal);
  -webkit-animation-duration: var(--fa-animation-duration, 1s);
          animation-duration: var(--fa-animation-duration, 1s);
  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  -webkit-animation-timing-function: var(--fa-animation-timing, linear);
          animation-timing-function: var(--fa-animation-timing, linear);
}

.fa-spin {
  -webkit-animation-name: fa-spin;
          animation-name: fa-spin;
  -webkit-animation-delay: var(--fa-animation-delay, 0s);
          animation-delay: var(--fa-animation-delay, 0s);
  -webkit-animation-direction: var(--fa-animation-direction, normal);
          animation-direction: var(--fa-animation-direction, normal);
  -webkit-animation-duration: var(--fa-animation-duration, 2s);
          animation-duration: var(--fa-animation-duration, 2s);
  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  -webkit-animation-timing-function: var(--fa-animation-timing, linear);
          animation-timing-function: var(--fa-animation-timing, linear);
}

.fa-spin-reverse {
  --fa-animation-direction: reverse;
}

.fa-pulse,
.fa-spin-pulse {
  -webkit-animation-name: fa-spin;
          animation-name: fa-spin;
  -webkit-animation-direction: var(--fa-animation-direction, normal);
          animation-direction: var(--fa-animation-direction, normal);
  -webkit-animation-duration: var(--fa-animation-duration, 1s);
          animation-duration: var(--fa-animation-duration, 1s);
  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
          animation-timing-function: var(--fa-animation-timing, steps(8));
}

@media (prefers-reduced-motion: reduce) {
  .fa-beat,
.fa-bounce,
.fa-fade,
.fa-beat-fade,
.fa-flip,
.fa-pulse,
.fa-shake,
.fa-spin,
.fa-spin-pulse {
    -webkit-animation-delay: -1ms;
            animation-delay: -1ms;
    -webkit-animation-duration: 1ms;
            animation-duration: 1ms;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
    -webkit-transition-delay: 0s;
            transition-delay: 0s;
    -webkit-transition-duration: 0s;
            transition-duration: 0s;
  }
}
@-webkit-keyframes fa-beat {
  0%, 90% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  45% {
    -webkit-transform: scale(var(--fa-beat-scale, 1.25));
            transform: scale(var(--fa-beat-scale, 1.25));
  }
}
@keyframes fa-beat {
  0%, 90% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  45% {
    -webkit-transform: scale(var(--fa-beat-scale, 1.25));
            transform: scale(var(--fa-beat-scale, 1.25));
  }
}
@-webkit-keyframes fa-bounce {
  0% {
    -webkit-transform: scale(1, 1) translateY(0);
            transform: scale(1, 1) translateY(0);
  }
  10% {
    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
  }
  30% {
    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
  }
  50% {
    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
  }
  57% {
    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
  }
  64% {
    -webkit-transform: scale(1, 1) translateY(0);
            transform: scale(1, 1) translateY(0);
  }
  100% {
    -webkit-transform: scale(1, 1) translateY(0);
            transform: scale(1, 1) translateY(0);
  }
}
@keyframes fa-bounce {
  0% {
    -webkit-transform: scale(1, 1) translateY(0);
            transform: scale(1, 1) translateY(0);
  }
  10% {
    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
  }
  30% {
    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
  }
  50% {
    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
  }
  57% {
    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
  }
  64% {
    -webkit-transform: scale(1, 1) translateY(0);
            transform: scale(1, 1) translateY(0);
  }
  100% {
    -webkit-transform: scale(1, 1) translateY(0);
            transform: scale(1, 1) translateY(0);
  }
}
@-webkit-keyframes fa-fade {
  50% {
    opacity: var(--fa-fade-opacity, 0.4);
  }
}
@keyframes fa-fade {
  50% {
    opacity: var(--fa-fade-opacity, 0.4);
  }
}
@-webkit-keyframes fa-beat-fade {
  0%, 100% {
    opacity: var(--fa-beat-fade-opacity, 0.4);
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
            transform: scale(var(--fa-beat-fade-scale, 1.125));
  }
}
@keyframes fa-beat-fade {
  0%, 100% {
    opacity: var(--fa-beat-fade-opacity, 0.4);
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
            transform: scale(var(--fa-beat-fade-scale, 1.125));
  }
}
@-webkit-keyframes fa-flip {
  50% {
    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
  }
}
@keyframes fa-flip {
  50% {
    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
  }
}
@-webkit-keyframes fa-shake {
  0% {
    -webkit-transform: rotate(-15deg);
            transform: rotate(-15deg);
  }
  4% {
    -webkit-transform: rotate(15deg);
            transform: rotate(15deg);
  }
  8%, 24% {
    -webkit-transform: rotate(-18deg);
            transform: rotate(-18deg);
  }
  12%, 28% {
    -webkit-transform: rotate(18deg);
            transform: rotate(18deg);
  }
  16% {
    -webkit-transform: rotate(-22deg);
            transform: rotate(-22deg);
  }
  20% {
    -webkit-transform: rotate(22deg);
            transform: rotate(22deg);
  }
  32% {
    -webkit-transform: rotate(-12deg);
            transform: rotate(-12deg);
  }
  36% {
    -webkit-transform: rotate(12deg);
            transform: rotate(12deg);
  }
  40%, 100% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}
@keyframes fa-shake {
  0% {
    -webkit-transform: rotate(-15deg);
            transform: rotate(-15deg);
  }
  4% {
    -webkit-transform: rotate(15deg);
            transform: rotate(15deg);
  }
  8%, 24% {
    -webkit-transform: rotate(-18deg);
            transform: rotate(-18deg);
  }
  12%, 28% {
    -webkit-transform: rotate(18deg);
            transform: rotate(18deg);
  }
  16% {
    -webkit-transform: rotate(-22deg);
            transform: rotate(-22deg);
  }
  20% {
    -webkit-transform: rotate(22deg);
            transform: rotate(22deg);
  }
  32% {
    -webkit-transform: rotate(-12deg);
            transform: rotate(-12deg);
  }
  36% {
    -webkit-transform: rotate(12deg);
            transform: rotate(12deg);
  }
  40%, 100% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
}
@-webkit-keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.fa-rotate-90 {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.fa-rotate-180 {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.fa-rotate-270 {
  -webkit-transform: rotate(270deg);
          transform: rotate(270deg);
}

.fa-flip-horizontal {
  -webkit-transform: scale(-1, 1);
          transform: scale(-1, 1);
}

.fa-flip-vertical {
  -webkit-transform: scale(1, -1);
          transform: scale(1, -1);
}

.fa-flip-both,
.fa-flip-horizontal.fa-flip-vertical {
  -webkit-transform: scale(-1, -1);
          transform: scale(-1, -1);
}

.fa-rotate-by {
  -webkit-transform: rotate(var(--fa-rotate-angle, none));
          transform: rotate(var(--fa-rotate-angle, none));
}

.fa-stack {
  display: inline-block;
  vertical-align: middle;
  height: 2em;
  position: relative;
  width: 2.5em;
}

.fa-stack-1x,
.fa-stack-2x {
  bottom: 0;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  z-index: var(--fa-stack-z-index, auto);
}

.svg-inline--fa.fa-stack-1x {
  height: 1em;
  width: 1.25em;
}
.svg-inline--fa.fa-stack-2x {
  height: 2em;
  width: 2.5em;
}

.fa-inverse {
  color: var(--fa-inverse, #fff);
}

.sr-only,
.fa-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only-focusable:not(:focus),
.fa-sr-only-focusable:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.svg-inline--fa .fa-primary {
  fill: var(--fa-primary-color, currentColor);
  opacity: var(--fa-primary-opacity, 1);
}

.svg-inline--fa .fa-secondary {
  fill: var(--fa-secondary-color, currentColor);
  opacity: var(--fa-secondary-opacity, 0.4);
}

.svg-inline--fa.fa-swap-opacity .fa-primary {
  opacity: var(--fa-secondary-opacity, 0.4);
}

.svg-inline--fa.fa-swap-opacity .fa-secondary {
  opacity: var(--fa-primary-opacity, 1);
}

.svg-inline--fa mask .fa-primary,
.svg-inline--fa mask .fa-secondary {
  fill: black;
}

.fad.fa-inverse,
.fa-duotone.fa-inverse {
  color: var(--fa-inverse, #fff);
}`;function Zg(){var e=Vg,t=Kg,n=ne.cssPrefix,r=ne.replacementClass,i=iS;if(n!==e||r!==t){var s=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");i=i.replace(s,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(l,".".concat(r))}return i}var sp=!1;function Il(){ne.autoAddCss&&!sp&&(ZE(Zg()),sp=!0)}var sS={mixout:function(){return{dom:{css:Zg,insertCss:Il}}},hooks:function(){return{beforeDOMElementCreation:function(){Il()},beforeI2svg:function(){Il()}}}},er=yr||{};er[Zn]||(er[Zn]={});er[Zn].styles||(er[Zn].styles={});er[Zn].hooks||(er[Zn].hooks={});er[Zn].shims||(er[Zn].shims=[]);var bn=er[Zn],ev=[],oS=function e(){Je.removeEventListener("DOMContentLoaded",e),sa=1,ev.map(function(t){return t()})},sa=!1;rr&&(sa=(Je.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Je.readyState),sa||Je.addEventListener("DOMContentLoaded",oS));function aS(e){rr&&(sa?setTimeout(e,0):ev.push(e))}function qs(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,s=i===void 0?[]:i;return typeof e=="string"?Qg(e):"<".concat(t," ").concat(tS(r),">").concat(s.map(qs).join(""),"</").concat(t,">")}function op(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var lS=function(t,n){return function(r,i,s,o){return t.call(n,r,i,s,o)}},Fl=function(t,n,r,i){var s=Object.keys(t),o=s.length,l=i!==void 0?lS(n,i):n,c,d,f;for(r===void 0?(c=1,f=t[s[0]]):(c=0,f=r);c<o;c++)d=s[c],f=l(f,t[d],d,t);return f};function cS(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var s=e.charCodeAt(n++);(s&64512)==56320?t.push(((i&1023)<<10)+(s&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}function Ec(e){var t=cS(e);return t.length===1?t[0].toString(16):null}function uS(e,t){var n=e.length,r=e.charCodeAt(t),i;return r>=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function ap(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function Sc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,s=ap(t);typeof bn.hooks.addPack=="function"&&!i?bn.hooks.addPack(e,ap(t)):bn.styles[e]=X(X({},bn.styles[e]||{}),s),e==="fas"&&Sc("fa",t)}var So,Ao,Co,ui=bn.styles,fS=bn.shims,dS=(So={},wt(So,Ge,Object.values(Ns[Ge])),wt(So,ut,Object.values(Ns[ut])),So),Tu=null,tv={},nv={},rv={},iv={},sv={},hS=(Ao={},wt(Ao,Ge,Object.keys(Is[Ge])),wt(Ao,ut,Object.keys(Is[ut])),Ao);function pS(e){return~YE.indexOf(e)}function mS(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!pS(i)?i:null}var ov=function(){var t=function(s){return Fl(ui,function(o,l,c){return o[c]=Fl(l,s,{}),o},{})};tv=t(function(i,s,o){if(s[3]&&(i[s[3]]=o),s[2]){var l=s[2].filter(function(c){return typeof c=="number"});l.forEach(function(c){i[c.toString(16)]=o})}return i}),nv=t(function(i,s,o){if(i[o]=o,s[2]){var l=s[2].filter(function(c){return typeof c=="string"});l.forEach(function(c){i[c]=o})}return i}),sv=t(function(i,s,o){var l=s[2];return i[o]=o,l.forEach(function(c){i[c]=o}),i});var n="far"in ui||ne.autoFetchSvg,r=Fl(fS,function(i,s){var o=s[0],l=s[1],c=s[2];return l==="far"&&!n&&(l="fas"),typeof o=="string"&&(i.names[o]={prefix:l,iconName:c}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:l,iconName:c}),i},{names:{},unicodes:{}});rv=r.names,iv=r.unicodes,Tu=Fa(ne.styleDefault,{family:ne.familyDefault})};QE(function(e){Tu=Fa(e.styleDefault,{family:ne.familyDefault})});ov();function Ru(e,t){return(tv[e]||{})[t]}function gS(e,t){return(nv[e]||{})[t]}function qr(e,t){return(sv[e]||{})[t]}function av(e){return rv[e]||{prefix:null,iconName:null}}function vS(e){var t=iv[e],n=Ru("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function wr(){return Tu}var Iu=function(){return{prefix:null,iconName:null,rest:[]}};function Fa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?Ge:n,i=Is[r][e],s=Fs[r][e]||Fs[r][i],o=e in bn.styles?e:null;return s||o||null}var lp=(Co={},wt(Co,Ge,Object.keys(Ns[Ge])),wt(Co,ut,Object.keys(Ns[ut])),Co);function Na(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,s=(t={},wt(t,Ge,"".concat(ne.cssPrefix,"-").concat(Ge)),wt(t,ut,"".concat(ne.cssPrefix,"-").concat(ut)),t),o=null,l=Ge;(e.includes(s[Ge])||e.some(function(d){return lp[Ge].includes(d)}))&&(l=Ge),(e.includes(s[ut])||e.some(function(d){return lp[ut].includes(d)}))&&(l=ut);var c=e.reduce(function(d,f){var h=mS(ne.cssPrefix,f);if(ui[f]?(f=dS[l].includes(f)?qE[l][f]:f,o=f,d.prefix=f):hS[l].indexOf(f)>-1?(o=f,d.prefix=Fa(f,{family:l})):h?d.iconName=h:f!==ne.replacementClass&&f!==s[Ge]&&f!==s[ut]&&d.rest.push(f),!i&&d.prefix&&d.iconName){var m=o==="fa"?av(d.iconName):{},v=qr(d.prefix,d.iconName);m.prefix&&(o=null),d.iconName=m.iconName||v||d.iconName,d.prefix=m.prefix||d.prefix,d.prefix==="far"&&!ui.far&&ui.fas&&!ne.autoFetchSvg&&(d.prefix="fas")}return d},Iu());return(e.includes("fa-brands")||e.includes("fab"))&&(c.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(c.prefix="fad"),!c.prefix&&l===ut&&(ui.fass||ne.autoFetchSvg)&&(c.prefix="fass",c.iconName=qr(c.prefix,c.iconName)||c.iconName),(c.prefix==="fa"||o==="fa")&&(c.prefix=wr()||"fas"),c}var _S=function(){function e(){TE(this,e),this.definitions={}}return RE(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];var o=i.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(l){n.definitions[l]=X(X({},n.definitions[l]||{}),o[l]),Sc(l,o[l]);var c=Ns[Ge][l];c&&Sc(c,o[l]),ov()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var i=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(i).map(function(s){var o=i[s],l=o.prefix,c=o.iconName,d=o.icon,f=d[2];n[l]||(n[l]={}),f.length>0&&f.forEach(function(h){typeof h=="string"&&(n[l][h]=d)}),n[l][c]=d}),n}}]),e}(),cp=[],fi={},wi={},bS=Object.keys(wi);function yS(e,t){var n=t.mixoutsTo;return cp=e,fi={},Object.keys(wi).forEach(function(r){bS.indexOf(r)===-1&&delete wi[r]}),cp.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(n[o]=i[o]),ia(i[o])==="object"&&Object.keys(i[o]).forEach(function(l){n[o]||(n[o]={}),n[o][l]=i[o][l]})}),r.hooks){var s=r.hooks();Object.keys(s).forEach(function(o){fi[o]||(fi[o]=[]),fi[o].push(s[o])})}r.provides&&r.provides(wi)}),n}function Ac(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var s=fi[e]||[];return s.forEach(function(o){t=o.apply(null,[t].concat(r))}),t}function Gr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=fi[e]||[];i.forEach(function(s){s.apply(null,n)})}function tr(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return wi[e]?wi[e].apply(null,t):void 0}function Cc(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||wr();if(t)return t=qr(n,t)||t,op(lv.definitions,n,t)||op(bn.styles,n,t)}var lv=new _S,wS=function(){ne.autoReplaceSvg=!1,ne.observeMutations=!1,Gr("noAuto")},kS={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return rr?(Gr("beforeI2svg",t),tr("pseudoElements2svg",t),tr("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;ne.autoReplaceSvg===!1&&(ne.autoReplaceSvg=!0),ne.observeMutations=!0,aS(function(){ES({autoReplaceSvgRoot:n}),Gr("watch",t)})}},xS={icon:function(t){if(t===null)return null;if(ia(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:qr(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=Fa(t[0]);return{prefix:r,iconName:qr(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(ne.cssPrefix,"-"))>-1||t.match(zE))){var i=Na(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||wr(),iconName:qr(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var s=wr();return{prefix:s,iconName:qr(s,t)||t}}}},Zt={noAuto:wS,config:ne,dom:kS,parse:xS,library:lv,findIconDefinition:Cc,toHtml:qs},ES=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?Je:n;(Object.keys(bn.styles).length>0||ne.autoFetchSvg)&&rr&&ne.autoReplaceSvg&&Zt.dom.i2svg({node:r})};function Ma(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return qs(r)})}}),Object.defineProperty(e,"node",{get:function(){if(rr){var r=Je.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function SS(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,s=e.styles,o=e.transform;if(Pu(o)&&n.found&&!r.found){var l=n.width,c=n.height,d={x:l/c/2,y:.5};i.style=Ia(X(X({},s),{},{"transform-origin":"".concat(d.x+o.x/16,"em ").concat(d.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function AS(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,s=e.symbol,o=s===!0?"".concat(t,"-").concat(ne.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:X(X({},i),{},{id:o}),children:r}]}]}function Fu(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,s=e.iconName,o=e.transform,l=e.symbol,c=e.title,d=e.maskId,f=e.titleId,h=e.extra,m=e.watchable,v=m===void 0?!1:m,y=r.found?r:n,w=y.width,C=y.height,E=i==="fak",A=[ne.replacementClass,s?"".concat(ne.cssPrefix,"-").concat(s):""].filter(function(et){return h.classes.indexOf(et)===-1}).filter(function(et){return et!==""||!!et}).concat(h.classes).join(" "),R={children:[],attributes:X(X({},h.attributes),{},{"data-prefix":i,"data-icon":s,class:A,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(w," ").concat(C)})},K=E&&!~h.classes.indexOf("fa-fw")?{width:"".concat(w/C*16*.0625,"em")}:{};v&&(R.attributes[Yr]=""),c&&(R.children.push({tag:"title",attributes:{id:R.attributes["aria-labelledby"]||"title-".concat(f||Ls())},children:[c]}),delete R.attributes.title);var Z=X(X({},R),{},{prefix:i,iconName:s,main:n,mask:r,maskId:d,transform:o,symbol:l,styles:X(X({},K),h.styles)}),fe=r.found&&n.found?tr("generateAbstractMask",Z)||{children:[],attributes:{}}:tr("generateAbstractIcon",Z)||{children:[],attributes:{}},ke=fe.children,ae=fe.attributes;return Z.children=ke,Z.attributes=ae,l?AS(Z):SS(Z)}function up(e){var t=e.content,n=e.width,r=e.height,i=e.transform,s=e.title,o=e.extra,l=e.watchable,c=l===void 0?!1:l,d=X(X(X({},o.attributes),s?{title:s}:{}),{},{class:o.classes.join(" ")});c&&(d[Yr]="");var f=X({},o.styles);Pu(i)&&(f.transform=rS({transform:i,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var h=Ia(f);h.length>0&&(d.style=h);var m=[];return m.push({tag:"span",attributes:d,children:[t]}),s&&m.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),m}function CS(e){var t=e.content,n=e.title,r=e.extra,i=X(X(X({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),s=Ia(r.styles);s.length>0&&(i.style=s);var o=[];return o.push({tag:"span",attributes:i,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var Nl=bn.styles;function Oc(e){var t=e[0],n=e[1],r=e.slice(4),i=xu(r,1),s=i[0],o=null;return Array.isArray(s)?o={tag:"g",attributes:{class:"".concat(ne.cssPrefix,"-").concat(Hr.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ne.cssPrefix,"-").concat(Hr.SECONDARY),fill:"currentColor",d:s[0]}},{tag:"path",attributes:{class:"".concat(ne.cssPrefix,"-").concat(Hr.PRIMARY),fill:"currentColor",d:s[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:s}},{found:!0,width:t,height:n,icon:o}}var OS={found:!1,width:512,height:512};function PS(e,t){!Yg&&!ne.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Pc(e,t){var n=t;return t==="fa"&&ne.styleDefault!==null&&(t=wr()),new Promise(function(r,i){if(tr("missingIconAbstract"),n==="fa"){var s=av(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&Nl[t]&&Nl[t][e]){var o=Nl[t][e];return r(Oc(o))}PS(e,t),r(X(X({},OS),{},{icon:ne.showMissingIcons&&e?tr("missingIconAbstract")||{}:{}}))})}var fp=function(){},Tc=ne.measurePerformance&&bo&&bo.mark&&bo.measure?bo:{mark:fp,measure:fp},ss='FA "6.4.0"',TS=function(t){return Tc.mark("".concat(ss," ").concat(t," begins")),function(){return cv(t)}},cv=function(t){Tc.mark("".concat(ss," ").concat(t," ends")),Tc.measure("".concat(ss," ").concat(t),"".concat(ss," ").concat(t," begins"),"".concat(ss," ").concat(t," ends"))},Nu={begin:TS,end:cv},Bo=function(){};function dp(e){var t=e.getAttribute?e.getAttribute(Yr):null;return typeof t=="string"}function RS(e){var t=e.getAttribute?e.getAttribute(Su):null,n=e.getAttribute?e.getAttribute(Au):null;return t&&n}function IS(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(ne.replacementClass)}function FS(){if(ne.autoReplaceSvg===!0)return Ho.replace;var e=Ho[ne.autoReplaceSvg];return e||Ho.replace}function NS(e){return Je.createElementNS("http://www.w3.org/2000/svg",e)}function MS(e){return Je.createElement(e)}function uv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?NS:MS:n;if(typeof e=="string")return Je.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(o){i.setAttribute(o,e.attributes[o])});var s=e.children||[];return s.forEach(function(o){i.appendChild(uv(o,{ceFn:r}))}),i}function LS(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Ho={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(uv(i),n)}),n.getAttribute(Yr)===null&&ne.keepOriginalSource){var r=Je.createComment(LS(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~Ou(n).indexOf(ne.replacementClass))return Ho.replace(t);var i=new RegExp("".concat(ne.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var s=r[0].attributes.class.split(" ").reduce(function(l,c){return c===ne.replacementClass||c.match(i)?l.toSvg.push(c):l.toNode.push(c),l},{toNode:[],toSvg:[]});r[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",s.toNode.join(" "))}var o=r.map(function(l){return qs(l)}).join(`
`);n.setAttribute(Yr,""),n.innerHTML=o}};function hp(e){e()}function fv(e,t){var n=typeof t=="function"?t:Bo;if(e.length===0)n();else{var r=hp;ne.mutateApproach===BE&&(r=yr.requestAnimationFrame||hp),r(function(){var i=FS(),s=Nu.begin("mutate");e.map(i),s(),n()})}}var Mu=!1;function dv(){Mu=!0}function Rc(){Mu=!1}var oa=null;function pp(e){if(rp&&ne.observeMutations){var t=e.treeCallback,n=t===void 0?Bo:t,r=e.nodeCallback,i=r===void 0?Bo:r,s=e.pseudoElementsCallback,o=s===void 0?Bo:s,l=e.observeMutationsRoot,c=l===void 0?Je:l;oa=new rp(function(d){if(!Mu){var f=wr();ji(d).forEach(function(h){if(h.type==="childList"&&h.addedNodes.length>0&&!dp(h.addedNodes[0])&&(ne.searchPseudoElements&&o(h.target),n(h.target)),h.type==="attributes"&&h.target.parentNode&&ne.searchPseudoElements&&o(h.target.parentNode),h.type==="attributes"&&dp(h.target)&&~KE.indexOf(h.attributeName))if(h.attributeName==="class"&&RS(h.target)){var m=Na(Ou(h.target)),v=m.prefix,y=m.iconName;h.target.setAttribute(Su,v||f),y&&h.target.setAttribute(Au,y)}else IS(h.target)&&i(h.target)})}}),rr&&oa.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function $S(){oa&&oa.disconnect()}function DS(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var s=i.split(":"),o=s[0],l=s.slice(1);return o&&l.length>0&&(r[o]=l.join(":").trim()),r},{})),n}function jS(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Na(Ou(e));return i.prefix||(i.prefix=wr()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=gS(i.prefix,e.innerText)||Ru(i.prefix,Ec(e.innerText))),!i.iconName&&ne.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function BS(e){var t=ji(e.attributes).reduce(function(i,s){return i.name!=="class"&&i.name!=="style"&&(i[s.name]=s.value),i},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ne.autoA11y&&(n?t["aria-labelledby"]="".concat(ne.replacementClass,"-title-").concat(r||Ls()):(t["aria-hidden"]="true",t.focusable="false")),t}function HS(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Dn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function mp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=jS(e),r=n.iconName,i=n.prefix,s=n.rest,o=BS(e),l=Ac("parseNodeAttributes",{},e),c=t.styleParser?DS(e):[];return X({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Dn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:s,styles:c,attributes:o}},l)}var qS=bn.styles;function hv(e){var t=ne.autoReplaceSvg==="nest"?mp(e,{styleParser:!1}):mp(e);return~t.extra.classes.indexOf(Gg)?tr("generateLayersText",e,t):tr("generateSvgReplacementMutation",e,t)}var kr=new Set;Cu.map(function(e){kr.add("fa-".concat(e))});Object.keys(Is[Ge]).map(kr.add.bind(kr));Object.keys(Is[ut]).map(kr.add.bind(kr));kr=Bs(kr);function gp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!rr)return Promise.resolve();var n=Je.documentElement.classList,r=function(h){return n.add("".concat(ip,"-").concat(h))},i=function(h){return n.remove("".concat(ip,"-").concat(h))},s=ne.autoFetchSvg?kr:Cu.map(function(f){return"fa-".concat(f)}).concat(Object.keys(qS));s.includes("fa")||s.push("fa");var o=[".".concat(Gg,":not([").concat(Yr,"])")].concat(s.map(function(f){return".".concat(f,":not([").concat(Yr,"])")})).join(", ");if(o.length===0)return Promise.resolve();var l=[];try{l=ji(e.querySelectorAll(o))}catch{}if(l.length>0)r("pending"),i("complete");else return Promise.resolve();var c=Nu.begin("onTree"),d=l.reduce(function(f,h){try{var m=hv(h);m&&f.push(m)}catch(v){Yg||v.name==="MissingIcon"&&console.error(v)}return f},[]);return new Promise(function(f,h){Promise.all(d).then(function(m){fv(m,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),c(),f()})}).catch(function(m){c(),h(m)})})}function zS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;hv(e).then(function(n){n&&fv([n],t)})}function US(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:Cc(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Cc(i||{})),e(r,X(X({},n),{},{mask:i}))}}var WS=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?Dn:r,s=n.symbol,o=s===void 0?!1:s,l=n.mask,c=l===void 0?null:l,d=n.maskId,f=d===void 0?null:d,h=n.title,m=h===void 0?null:h,v=n.titleId,y=v===void 0?null:v,w=n.classes,C=w===void 0?[]:w,E=n.attributes,A=E===void 0?{}:E,R=n.styles,K=R===void 0?{}:R;if(t){var Z=t.prefix,fe=t.iconName,ke=t.icon;return Ma(X({type:"icon"},t),function(){return Gr("beforeDOMElementCreation",{iconDefinition:t,params:n}),ne.autoA11y&&(m?A["aria-labelledby"]="".concat(ne.replacementClass,"-title-").concat(y||Ls()):(A["aria-hidden"]="true",A.focusable="false")),Fu({icons:{main:Oc(ke),mask:c?Oc(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Z,iconName:fe,transform:X(X({},Dn),i),symbol:o,title:m,maskId:f,titleId:y,extra:{attributes:A,styles:K,classes:C}})})}},VS={mixout:function(){return{icon:US(WS)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=gp,n.nodeCallback=zS,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?Je:r,s=n.callback,o=s===void 0?function(){}:s;return gp(i,o)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,s=r.title,o=r.titleId,l=r.prefix,c=r.transform,d=r.symbol,f=r.mask,h=r.maskId,m=r.extra;return new Promise(function(v,y){Promise.all([Pc(i,l),f.iconName?Pc(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(w){var C=xu(w,2),E=C[0],A=C[1];v([n,Fu({icons:{main:E,mask:A},prefix:l,iconName:i,transform:c,symbol:d,maskId:h,title:s,titleId:o,extra:m,watchable:!0})])}).catch(y)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,s=n.main,o=n.transform,l=n.styles,c=Ia(l);c.length>0&&(i.style=c);var d;return Pu(o)&&(d=tr("generateAbstractTransformGrouping",{main:s,transform:o,containerWidth:s.width,iconWidth:s.width})),r.push(d||s.icon),{children:r,attributes:i}}}},KS={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,s=i===void 0?[]:i;return Ma({type:"layer"},function(){Gr("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(l){Array.isArray(l)?l.map(function(c){o=o.concat(c.abstract)}):o=o.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(ne.cssPrefix,"-layers")].concat(Bs(s)).join(" ")},children:o}]})}}}},YS={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,s=i===void 0?null:i,o=r.classes,l=o===void 0?[]:o,c=r.attributes,d=c===void 0?{}:c,f=r.styles,h=f===void 0?{}:f;return Ma({type:"counter",content:n},function(){return Gr("beforeDOMElementCreation",{content:n,params:r}),CS({content:n.toString(),title:s,extra:{attributes:d,styles:h,classes:["".concat(ne.cssPrefix,"-layers-counter")].concat(Bs(l))}})})}}}},GS={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,s=i===void 0?Dn:i,o=r.title,l=o===void 0?null:o,c=r.classes,d=c===void 0?[]:c,f=r.attributes,h=f===void 0?{}:f,m=r.styles,v=m===void 0?{}:m;return Ma({type:"text",content:n},function(){return Gr("beforeDOMElementCreation",{content:n,params:r}),up({content:n,transform:X(X({},Dn),s),title:l,extra:{attributes:h,styles:v,classes:["".concat(ne.cssPrefix,"-layers-text")].concat(Bs(d))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,s=r.transform,o=r.extra,l=null,c=null;if(Wg){var d=parseInt(getComputedStyle(n).fontSize,10),f=n.getBoundingClientRect();l=f.width/d,c=f.height/d}return ne.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,up({content:n.innerHTML,width:l,height:c,transform:s,title:i,extra:o,watchable:!0})])}}},XS=new RegExp('"',"ug"),vp=[1105920,1112319];function JS(e){var t=e.replace(XS,""),n=uS(t,0),r=n>=vp[0]&&n<=vp[1],i=t.length===2?t[0]===t[1]:!1;return{value:Ec(i?t[0]:t),isSecondary:r||i}}function _p(e,t){var n="".concat(jE).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var s=ji(e.children),o=s.filter(function(ke){return ke.getAttribute(xc)===t})[0],l=yr.getComputedStyle(e,t),c=l.getPropertyValue("font-family").match(UE),d=l.getPropertyValue("font-weight"),f=l.getPropertyValue("content");if(o&&!c)return e.removeChild(o),r();if(c&&f!=="none"&&f!==""){var h=l.getPropertyValue("content"),m=~["Sharp"].indexOf(c[2])?ut:Ge,v=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(c[2])?Fs[m][c[2].toLowerCase()]:WE[m][d],y=JS(h),w=y.value,C=y.isSecondary,E=c[0].startsWith("FontAwesome"),A=Ru(v,w),R=A;if(E){var K=vS(w);K.iconName&&K.prefix&&(A=K.iconName,v=K.prefix)}if(A&&!C&&(!o||o.getAttribute(Su)!==v||o.getAttribute(Au)!==R)){e.setAttribute(n,R),o&&e.removeChild(o);var Z=HS(),fe=Z.extra;fe.attributes[xc]=t,Pc(A,v).then(function(ke){var ae=Fu(X(X({},Z),{},{icons:{main:ke,mask:Iu()},prefix:v,iconName:R,extra:fe,watchable:!0})),et=Je.createElement("svg");t==="::before"?e.insertBefore(et,e.firstChild):e.appendChild(et),et.outerHTML=ae.map(function(Ue){return qs(Ue)}).join(`
`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function QS(e){return Promise.all([_p(e,"::before"),_p(e,"::after")])}function ZS(e){return e.parentNode!==document.head&&!~HE.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(xc)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function bp(e){if(rr)return new Promise(function(t,n){var r=ji(e.querySelectorAll("*")).filter(ZS).map(QS),i=Nu.begin("searchPseudoElements");dv(),Promise.all(r).then(function(){i(),Rc(),t()}).catch(function(){i(),Rc(),n()})})}var eA={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=bp,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?Je:r;ne.searchPseudoElements&&bp(i)}}},yp=!1,tA={mixout:function(){return{dom:{unwatch:function(){dv(),yp=!0}}}},hooks:function(){return{bootstrap:function(){pp(Ac("mutationObserverCallbacks",{}))},noAuto:function(){$S()},watch:function(n){var r=n.observeMutationsRoot;yp?Rc():pp(Ac("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},wp=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var s=i.toLowerCase().split("-"),o=s[0],l=s.slice(1).join("-");if(o&&l==="h")return r.flipX=!0,r;if(o&&l==="v")return r.flipY=!0,r;if(l=parseFloat(l),isNaN(l))return r;switch(o){case"grow":r.size=r.size+l;break;case"shrink":r.size=r.size-l;break;case"left":r.x=r.x-l;break;case"right":r.x=r.x+l;break;case"up":r.y=r.y-l;break;case"down":r.y=r.y+l;break;case"rotate":r.rotate=r.rotate+l;break}return r},n)},nA={mixout:function(){return{parse:{transform:function(n){return wp(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=wp(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,s=n.containerWidth,o=n.iconWidth,l={transform:"translate(".concat(s/2," 256)")},c="translate(".concat(i.x*32,", ").concat(i.y*32,") "),d="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),f="rotate(".concat(i.rotate," 0 0)"),h={transform:"".concat(c," ").concat(d," ").concat(f)},m={transform:"translate(".concat(o/2*-1," -256)")},v={outer:l,inner:h,path:m};return{tag:"g",attributes:X({},v.outer),children:[{tag:"g",attributes:X({},v.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:X(X({},r.icon.attributes),v.path)}]}]}}}},Ml={x:0,y:0,width:"100%",height:"100%"};function kp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function rA(e){return e.tag==="g"?e.children:[e]}var iA={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),s=i?Na(i.split(" ").map(function(o){return o.trim()})):Iu();return s.prefix||(s.prefix=wr()),n.mask=s,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,s=n.main,o=n.mask,l=n.maskId,c=n.transform,d=s.width,f=s.icon,h=o.width,m=o.icon,v=nS({transform:c,containerWidth:h,iconWidth:d}),y={tag:"rect",attributes:X(X({},Ml),{},{fill:"white"})},w=f.children?{children:f.children.map(kp)}:{},C={tag:"g",attributes:X({},v.inner),children:[kp(X({tag:f.tag,attributes:X(X({},f.attributes),v.path)},w))]},E={tag:"g",attributes:X({},v.outer),children:[C]},A="mask-".concat(l||Ls()),R="clip-".concat(l||Ls()),K={tag:"mask",attributes:X(X({},Ml),{},{id:A,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[y,E]},Z={tag:"defs",children:[{tag:"clipPath",attributes:{id:R},children:rA(m)},K]};return r.push(Z,{tag:"rect",attributes:X({fill:"currentColor","clip-path":"url(#".concat(R,")"),mask:"url(#".concat(A,")")},Ml)}),{children:r,attributes:i}}}},sA={provides:function(t){var n=!1;yr.matchMedia&&(n=yr.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},s={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:X(X({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=X(X({},s),{},{attributeName:"opacity"}),l={tag:"circle",attributes:X(X({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||l.children.push({tag:"animate",attributes:X(X({},s),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:X(X({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(l),r.push({tag:"path",attributes:X(X({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:X(X({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:X(X({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:X(X({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},oA={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),s=i===null?!1:i===""?!0:i;return n.symbol=s,n}}}},aA=[sS,VS,KS,YS,GS,eA,tA,nA,iA,sA,oA];yS(aA,{mixoutsTo:Zt});Zt.noAuto;var pv=Zt.config,lA=Zt.library;Zt.dom;var aa=Zt.parse;Zt.findIconDefinition;Zt.toHtml;var cA=Zt.icon;Zt.layer;var uA=Zt.text;Zt.counter;function xp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function vn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xp(Object(n),!0).forEach(function(r){Ut(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function la(e){"@babel/helpers - typeof";return la=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},la(e)}function Ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fA(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function dA(e,t){if(e==null)return{};var n=fA(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ic(e){return hA(e)||pA(e)||mA(e)||gA()}function hA(e){if(Array.isArray(e))return Fc(e)}function pA(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mA(e,t){if(e){if(typeof e=="string")return Fc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fc(e,t)}}function Fc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gA(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var vA=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mv={exports:{}};(function(e){(function(t){var n=function(E,A,R){if(!d(A)||h(A)||m(A)||v(A)||c(A))return A;var K,Z=0,fe=0;if(f(A))for(K=[],fe=A.length;Z<fe;Z++)K.push(n(E,A[Z],R));else{K={};for(var ke in A)Object.prototype.hasOwnProperty.call(A,ke)&&(K[E(ke,R)]=n(E,A[ke],R))}return K},r=function(E,A){A=A||{};var R=A.separator||"_",K=A.split||/(?=[A-Z])/;return E.split(K).join(R)},i=function(E){return y(E)?E:(E=E.replace(/[\-_\s]+(.)?/g,function(A,R){return R?R.toUpperCase():""}),E.substr(0,1).toLowerCase()+E.substr(1))},s=function(E){var A=i(E);return A.substr(0,1).toUpperCase()+A.substr(1)},o=function(E,A){return r(E,A).toLowerCase()},l=Object.prototype.toString,c=function(E){return typeof E=="function"},d=function(E){return E===Object(E)},f=function(E){return l.call(E)=="[object Array]"},h=function(E){return l.call(E)=="[object Date]"},m=function(E){return l.call(E)=="[object RegExp]"},v=function(E){return l.call(E)=="[object Boolean]"},y=function(E){return E=E-0,E===E},w=function(E,A){var R=A&&"process"in A?A.process:A;return typeof R!="function"?E:function(K,Z){return R(K,E,Z)}},C={camelize:i,decamelize:o,pascalize:s,depascalize:o,camelizeKeys:function(E,A){return n(w(i,A),E)},decamelizeKeys:function(E,A){return n(w(o,A),E,A)},pascalizeKeys:function(E,A){return n(w(s,A),E)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=C:t.humps=C})(vA)})(mv);var _A=mv.exports,bA=["class","style"];function yA(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=_A.camelize(n.slice(0,r)),s=n.slice(r+1).trim();return t[i]=s,t},{})}function wA(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function Lu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(c){return Lu(c)}),i=Object.keys(e.attributes||{}).reduce(function(c,d){var f=e.attributes[d];switch(d){case"class":c.class=wA(f);break;case"style":c.style=yA(f);break;default:c.attrs[d]=f}return c},{attrs:{},class:{},style:{}});n.class;var s=n.style,o=s===void 0?{}:s,l=dA(n,bA);return wa(e.tag,vn(vn(vn({},t),{},{class:i.class,style:vn(vn({},i.style),o)},i.attrs),l),r)}var gv=!1;try{gv=!0}catch{}function kA(){if(!gv&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function gs(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Ut({},e,t):{}}function xA(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Ut(t,"fa-".concat(e.size),e.size!==null),Ut(t,"fa-rotate-".concat(e.rotation),e.rotation!==null),Ut(t,"fa-pull-".concat(e.pull),e.pull!==null),Ut(t,"fa-swap-opacity",e.swapOpacity),Ut(t,"fa-bounce",e.bounce),Ut(t,"fa-shake",e.shake),Ut(t,"fa-beat",e.beat),Ut(t,"fa-fade",e.fade),Ut(t,"fa-beat-fade",e.beatFade),Ut(t,"fa-flash",e.flash),Ut(t,"fa-spin-pulse",e.spinPulse),Ut(t,"fa-spin-reverse",e.spinReverse),t);return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function Ep(e){if(e&&la(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(aa.icon)return aa.icon(e);if(e===null)return null;if(la(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var EA=$s({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,i=at(function(){return Ep(t.icon)}),s=at(function(){return gs("classes",xA(t))}),o=at(function(){return gs("transform",typeof t.transform=="string"?aa.transform(t.transform):t.transform)}),l=at(function(){return gs("mask",Ep(t.mask))}),c=at(function(){return cA(i.value,vn(vn(vn(vn({},s.value),o.value),l.value),{},{symbol:t.symbol,title:t.title}))});os(c,function(f){if(!f)return kA("Could not find one or more icon(s)",i.value,l.value)},{immediate:!0});var d=at(function(){return c.value?Lu(c.value.abstract[0],{},r):null});return function(){return d.value}}});$s({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,n){var r=n.slots,i=pv.familyPrefix,s=at(function(){return["".concat(i,"-layers")].concat(Ic(t.fixedWidth?["".concat(i,"-fw")]:[]))});return function(){return wa("div",{class:s.value},r.default?r.default():[])}}});$s({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,n){var r=n.attrs,i=pv.familyPrefix,s=at(function(){return gs("classes",[].concat(Ic(t.counter?["".concat(i,"-layers-counter")]:[]),Ic(t.position?["".concat(i,"-layers-").concat(t.position)]:[])))}),o=at(function(){return gs("transform",typeof t.transform=="string"?aa.transform(t.transform):t.transform)}),l=at(function(){var d=uA(t.value.toString(),vn(vn({},o.value),s.value)),f=d.abstract;return t.counter&&(f[0].attributes.class=f[0].attributes.class.replace("fa-layers-text","")),f[0]}),c=at(function(){return Lu(l.value,{},r)});return function(){return c.value}}});var SA={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},AA={prefix:"fas",iconName:"burger",icon:[512,512,["hamburger"],"f805","M61.1 224C45 224 32 211 32 194.9c0-1.9 .2-3.7 .6-5.6C37.9 168.3 78.8 32 256 32s218.1 136.3 223.4 157.3c.5 1.9 .6 3.7 .6 5.6c0 16.1-13 29.1-29.1 29.1H61.1zM144 128a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zm240 16a16 16 0 1 0 0-32 16 16 0 1 0 0 32zM272 96a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zM16 304c0-26.5 21.5-48 48-48H448c26.5 0 48 21.5 48 48s-21.5 48-48 48H64c-26.5 0-48-21.5-48-48zm16 96c0-8.8 7.2-16 16-16H464c8.8 0 16 7.2 16 16v16c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V400z"]},CA={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},OA={prefix:"fas",iconName:"x",icon:[384,512,[120],"58","M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"]};lA.add(AA,CA,SA,OA);By(_0).component("font-awesome-icon",EA).use(CE).use(tw).mount("#app");
