SkillAegis/dist/assets/index-C72pAF6z.js
2024-07-04 15:02:22 +02:00

778 lines
191 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(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 a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).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)}})();/**
* @vue/shared v3.4.29
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function $i(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ee={},zt=[],Re=()=>{},Xl=()=>!1,_r=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Fi=e=>e.startsWith("onUpdate:"),be=Object.assign,Bi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Jl=Object.prototype.hasOwnProperty,Y=(e,t)=>Jl.call(e,t),F=Array.isArray,Dt=e=>xr(e)==="[object Map]",Xa=e=>xr(e)==="[object Set]",D=e=>typeof e=="function",pe=e=>typeof e=="string",Rt=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Ja=e=>(se(e)||D(e))&&D(e.then)&&D(e.catch),Qa=Object.prototype.toString,xr=e=>Qa.call(e),Ql=e=>xr(e).slice(8,-1),Za=e=>xr(e)==="[object Object]",ji=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,on=$i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Zl=/-(\w)/g,Vt=wr(e=>e.replace(Zl,(t,n)=>n?n.toUpperCase():"")),ec=/\B([A-Z])/g,Kt=wr(e=>e.replace(ec,"-$1").toLowerCase()),eo=wr(e=>e.charAt(0).toUpperCase()+e.slice(1)),zr=wr(e=>e?`on${eo(e)}`:""),dt=(e,t)=>!Object.is(e,t),Dr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},to=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},tc=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let As;const no=()=>As||(As=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function kr(e){if(F(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=pe(r)?sc(r):kr(r);if(i)for(const s in i)t[s]=i[s]}return t}else if(pe(e)||se(e))return e}const nc=/;(?![^(]*\))/g,rc=/:([^]+)/,ic=/\/\*[^]*?\*\//g;function sc(e){const t={};return e.replace(ic,"").split(nc).forEach(n=>{if(n){const r=n.split(rc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ve(e){let t="";if(pe(e))t=e;else if(F(e))for(let n=0;n<e.length;n++){const r=ve(e[n]);r&&(t+=r+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ac="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",oc=$i(ac);function ro(e){return!!e||e===""}const re=e=>pe(e)?e:e==null?"":F(e)||se(e)&&(e.toString===Qa||!D(e.toString))?JSON.stringify(e,io,2):String(e),io=(e,t)=>t&&t.__v_isRef?io(e,t.value):Dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[Hr(r,s)+" =>"]=i,n),{})}:Xa(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Hr(n))}:Rt(t)?Hr(t):se(t)&&!F(t)&&!Za(t)?String(t):t,Hr=(e,t="")=>{var n;return Rt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.4.29
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Me;class lc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Me,!t&&Me&&(this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Me;try{return Me=this,t()}finally{Me=n}}}on(){Me=this}off(){Me=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const 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 cc(e,t=Me){t&&t.active&&t.effects.push(e)}function fc(){return Me}let Ot;class zi{constructor(t,n,r,i){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=5,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,cc(this,i)}get dirty(){if(this._dirtyLevel===2)return!1;if(this._dirtyLevel===3||this._dirtyLevel===4){this._dirtyLevel=1,gt();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed){if(n.computed.effect._dirtyLevel===2)return!0;if(uc(n.computed),this._dirtyLevel>=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),bt()}return this._dirtyLevel>=5}set dirty(t){this._dirtyLevel=t?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=ct,n=Ot;try{return ct=!0,Ot=this,this._runnings++,Os(this),this.fn()}finally{Cs(this),this._runnings--,Ot=n,ct=t}}stop(){this.active&&(Os(this),Cs(this),this.onStop&&this.onStop(),this.active=!1)}}function uc(e){return e.value}function Os(e){e._trackId++,e._depsLength=0}function Cs(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)so(e.deps[t],e);e.deps.length=e._depsLength}}function so(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let ct=!0,ii=0;const ao=[];function gt(){ao.push(ct),ct=!1}function bt(){const e=ao.pop();ct=e===void 0?!0:e}function Di(){ii++}function Hi(){for(ii--;!ii&&si.length;)si.shift()()}function oo(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&so(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const si=[];function lo(e,t,n){Di();for(const r of e.keys()){if(!e.computed&&r.computed&&e.get(r)===r._trackId&&r._runnings>0){r._dirtyLevel=2;continue}let i;r._dirtyLevel<t&&(i??(i=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r.computed&&r._dirtyLevel===2&&(r._shouldSchedule=!0),r._dirtyLevel=t),r._shouldSchedule&&(i??(i=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==3&&(r._shouldSchedule=!1,r.scheduler&&si.push(r.scheduler)))}Hi()}const co=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ai=new WeakMap,Ct=Symbol(""),oi=Symbol("");function Ce(e,t,n){if(ct&&Ot){let r=ai.get(e);r||ai.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=co(()=>r.delete(n))),oo(Ot,i)}}function Qe(e,t,n,r,i,s){const a=ai.get(e);if(!a)return;let o=[];if(t==="clear")o=[...a.values()];else if(n==="length"&&F(e)){const l=Number(r);a.forEach((f,c)=>{(c==="length"||!Rt(c)&&c>=l)&&o.push(f)})}else switch(n!==void 0&&o.push(a.get(n)),t){case"add":F(e)?ji(n)&&o.push(a.get("length")):(o.push(a.get(Ct)),Dt(e)&&o.push(a.get(oi)));break;case"delete":F(e)||(o.push(a.get(Ct)),Dt(e)&&o.push(a.get(oi)));break;case"set":Dt(e)&&o.push(a.get(Ct));break}Di();for(const l of o)l&&lo(l,5);Hi()}const dc=$i("__proto__,__v_isRef,__isVue"),fo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Rt)),Ss=hc();function hc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let s=0,a=this.length;s<a;s++)Ce(r,"get",s+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(J)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){gt(),Di();const r=J(this)[t].apply(this,n);return Hi(),bt(),r}}),e}function pc(e){Rt(e)||(e=String(e));const t=J(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class uo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?Cc:go:s?mo:po).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=F(t);if(!i){if(a&&Y(Ss,n))return Reflect.get(Ss,n,r);if(n==="hasOwnProperty")return pc}const o=Reflect.get(t,n,r);return(Rt(n)?fo.has(n):dc(n))||(i||Ce(t,"get",n),s)?o:Se(o)?a&&ji(n)?o:o.value:se(o)?i?bo(o):En(o):o}}class ho extends uo{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];if(!this._isShallow){const l=pn(s);if(!ur(r)&&!pn(r)&&(s=J(s),r=J(r)),!F(t)&&Se(s)&&!Se(r))return l?!1:(s.value=r,!0)}const a=F(t)&&ji(n)?Number(n)<t.length:Y(t,n),o=Reflect.set(t,n,r,i);return t===J(i)&&(a?dt(r,s)&&Qe(t,"set",n,r):Qe(t,"add",n,r)),o}deleteProperty(t,n){const r=Y(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&Qe(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!Rt(n)||!fo.has(n))&&Ce(t,"has",n),r}ownKeys(t){return Ce(t,"iterate",F(t)?"length":Ct),Reflect.ownKeys(t)}}class mc extends uo{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const gc=new ho,bc=new mc,vc=new ho(!0);const Ui=e=>e,Er=e=>Reflect.getPrototypeOf(e);function In(e,t,n=!1,r=!1){e=e.__v_raw;const i=J(e),s=J(t);n||(dt(t,s)&&Ce(i,"get",t),Ce(i,"get",s));const{has:a}=Er(i),o=r?Ui:n?Wi:mn;if(a.call(i,t))return o(e.get(t));if(a.call(i,s))return o(e.get(s));e!==i&&e.get(t)}function Mn(e,t=!1){const n=this.__v_raw,r=J(n),i=J(e);return t||(dt(e,i)&&Ce(r,"has",e),Ce(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function $n(e,t=!1){return e=e.__v_raw,!t&&Ce(J(e),"iterate",Ct),Reflect.get(e,"size",e)}function Ts(e){e=J(e);const t=J(this);return Er(t).has.call(t,e)||(t.add(e),Qe(t,"add",e,e)),this}function Ps(e,t){t=J(t);const n=J(this),{has:r,get:i}=Er(n);let s=r.call(n,e);s||(e=J(e),s=r.call(n,e));const a=i.call(n,e);return n.set(e,t),s?dt(t,a)&&Qe(n,"set",e,t):Qe(n,"add",e,t),this}function Ns(e){const t=J(this),{has:n,get:r}=Er(t);let i=n.call(t,e);i||(e=J(e),i=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return i&&Qe(t,"delete",e,void 0),s}function Rs(){const e=J(this),t=e.size!==0,n=e.clear();return t&&Qe(e,"clear",void 0,void 0),n}function Fn(e,t){return function(r,i){const s=this,a=s.__v_raw,o=J(a),l=t?Ui:e?Wi:mn;return!e&&Ce(o,"iterate",Ct),a.forEach((f,c)=>r.call(i,l(f),l(c),s))}}function Bn(e,t,n){return function(...r){const i=this.__v_raw,s=J(i),a=Dt(s),o=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,f=i[e](...r),c=n?Ui:t?Wi:mn;return!t&&Ce(s,"iterate",l?oi:Ct),{next(){const{value:h,done:m}=f.next();return m?{value:h,done:m}:{value:o?[c(h[0]),c(h[1])]:c(h),done:m}},[Symbol.iterator](){return this}}}}function it(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function yc(){const e={get(s){return In(this,s)},get size(){return $n(this)},has:Mn,add:Ts,set:Ps,delete:Ns,clear:Rs,forEach:Fn(!1,!1)},t={get(s){return In(this,s,!1,!0)},get size(){return $n(this)},has:Mn,add:Ts,set:Ps,delete:Ns,clear:Rs,forEach:Fn(!1,!0)},n={get(s){return In(this,s,!0)},get size(){return $n(this,!0)},has(s){return Mn.call(this,s,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:Fn(!0,!1)},r={get(s){return In(this,s,!0,!0)},get size(){return $n(this,!0)},has(s){return Mn.call(this,s,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:Fn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Bn(s,!1,!1),n[s]=Bn(s,!0,!1),t[s]=Bn(s,!1,!0),r[s]=Bn(s,!0,!0)}),[e,n,t,r]}const[_c,xc,wc,kc]=yc();function Vi(e,t){const n=t?e?kc:wc:e?xc:_c;return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Y(n,i)&&i in r?n:r,i,s)}const Ec={get:Vi(!1,!1)},Ac={get:Vi(!1,!0)},Oc={get:Vi(!0,!1)};const po=new WeakMap,mo=new WeakMap,go=new WeakMap,Cc=new WeakMap;function Sc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Tc(e){return e.__v_skip||!Object.isExtensible(e)?0:Sc(Ql(e))}function En(e){return pn(e)?e:qi(e,!1,gc,Ec,po)}function Pc(e){return qi(e,!1,vc,Ac,mo)}function bo(e){return qi(e,!0,bc,Oc,go)}function qi(e,t,n,r,i){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const a=Tc(e);if(a===0)return e;const o=new Proxy(e,a===2?r:n);return i.set(e,o),o}function ln(e){return pn(e)?ln(e.__v_raw):!!(e&&e.__v_isReactive)}function pn(e){return!!(e&&e.__v_isReadonly)}function ur(e){return!!(e&&e.__v_isShallow)}function vo(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Nc(e){return Object.isExtensible(e)&&to(e,"__v_skip",!0),e}const mn=e=>se(e)?En(e):e,Wi=e=>se(e)?bo(e):e;class yo{constructor(t,n,r,i){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new zi(()=>t(this._value),()=>er(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=J(this);return(!t._cacheable||t.effect.dirty)&&dt(t._value,t._value=t.effect.run())&&er(t,5),_o(t),t.effect._dirtyLevel>=2&&er(t,3),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Rc(e,t,n=!1){let r,i;const s=D(e);return s?(r=e,i=Re):(r=e.get,i=e.set),new yo(r,i,s||!i,n)}function _o(e){var t;ct&&Ot&&(e=J(e),oo(Ot,(t=e.dep)!=null?t:e.dep=co(()=>e.dep=void 0,e instanceof yo?e:void 0)))}function er(e,t=5,n,r){e=J(e);const i=e.dep;i&&lo(i,t)}function Se(e){return!!(e&&e.__v_isRef===!0)}function qt(e){return Lc(e,!1)}function Lc(e,t){return Se(e)?e:new Ic(e,t)}class Ic{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:mn(t)}get value(){return _o(this),this._value}set value(t){const n=this.__v_isShallow||ur(t)||pn(t);t=n?t:J(t),dt(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:mn(t),er(this,5))}}function P(e){return Se(e)?e.value:e}const Mc={get:(e,t,n)=>P(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Se(i)&&!Se(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function xo(e){return ln(e)?e:new Proxy(e,Mc)}/**
* @vue/runtime-core v3.4.29
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function ft(e,t,n,r){try{return r?e(...r):e()}catch(i){Ar(i,t,n)}}function je(e,t,n,r){if(D(e)){const i=ft(e,t,n,r);return i&&Ja(i)&&i.catch(s=>{Ar(s,t,n)}),i}if(F(e)){const i=[];for(let s=0;s<e.length;s++)i.push(je(e[s],t,n,r));return i}}function Ar(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let s=t.parent;const a=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const f=s.ec;if(f){for(let c=0;c<f.length;c++)if(f[c](e,a,o)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){gt(),ft(l,null,10,[e,a,o]),bt();return}}$c(e,n,i,r)}function $c(e,t,n,r=!0){console.error(e)}let gn=!1,li=!1;const _e=[];let Ve=0;const Ht=[];let at=null,wt=0;const wo=Promise.resolve();let Yi=null;function Fc(e){const t=Yi||wo;return e?t.then(this?e.bind(this):e):t}function Bc(e){let t=Ve+1,n=_e.length;for(;t<n;){const r=t+n>>>1,i=_e[r],s=bn(i);s<e||s===e&&i.pre?t=r+1:n=r}return t}function Ki(e){(!_e.length||!_e.includes(e,gn&&e.allowRecurse?Ve+1:Ve))&&(e.id==null?_e.push(e):_e.splice(Bc(e.id),0,e),ko())}function ko(){!gn&&!li&&(li=!0,Yi=wo.then(Ao))}function jc(e){const t=_e.indexOf(e);t>Ve&&_e.splice(t,1)}function zc(e){F(e)?Ht.push(...e):(!at||!at.includes(e,e.allowRecurse?wt+1:wt))&&Ht.push(e),ko()}function Ls(e,t,n=gn?Ve+1:0){for(;n<_e.length;n++){const r=_e[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;_e.splice(n,1),n--,r()}}}function Eo(e){if(Ht.length){const t=[...new Set(Ht)].sort((n,r)=>bn(n)-bn(r));if(Ht.length=0,at){at.push(...t);return}for(at=t,wt=0;wt<at.length;wt++){const n=at[wt];n.active!==!1&&n()}at=null,wt=0}}const bn=e=>e.id==null?1/0:e.id,Dc=(e,t)=>{const n=bn(e)-bn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ao(e){li=!1,gn=!0,_e.sort(Dc);try{for(Ve=0;Ve<_e.length;Ve++){const t=_e[Ve];t&&t.active!==!1&&ft(t,null,14)}}finally{Ve=0,_e.length=0,Eo(),gn=!1,Yi=null,(_e.length||Ht.length)&&Ao()}}function Hc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ee;let i=n;const s=t.startsWith("update:"),a=s&&t.slice(7);if(a&&a in r){const c=`${a==="modelValue"?"model":a}Modifiers`,{number:h,trim:m}=r[c]||ee;m&&(i=n.map(k=>pe(k)?k.trim():k)),h&&(i=n.map(tc))}let o,l=r[o=zr(t)]||r[o=zr(Vt(t))];!l&&s&&(l=r[o=zr(Kt(t))]),l&&je(l,e,6,i);const f=r[o+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,je(f,e,6,i)}}function Oo(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let a={},o=!1;if(!D(e)){const l=f=>{const c=Oo(f,t,!0);c&&(o=!0,be(a,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!o?(se(e)&&r.set(e,null),null):(F(s)?s.forEach(l=>a[l]=null):be(a,s),se(e)&&r.set(e,a),a)}function Or(e,t){return!e||!_r(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,Kt(t))||Y(e,t))}let Le=null,Co=null;function dr(e){const t=Le;return Le=e,Co=e&&e.type.__scopeId||null,t}function So(e,t=Le,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&qs(-1);const s=dr(t);let a;try{a=e(...i)}finally{dr(s),r._d&&qs(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Ur(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:a,attrs:o,emit:l,render:f,renderCache:c,props:h,data:m,setupState:k,ctx:B,inheritAttrs:M}=e,K=dr(e);let E,O;try{if(n.shapeFlag&4){const z=i||r,V=z;E=Ue(f.call(V,z,c,h,k,m,B)),O=o}else{const z=t;E=Ue(z.length>1?z(h,{attrs:o,slots:a,emit:l}):z(h,null)),O=t.props?o:Uc(o)}}catch(z){un.length=0,Ar(z,e,1),E=W(St)}let R=E;if(O&&M!==!1){const z=Object.keys(O),{shapeFlag:V}=R;z.length&&V&7&&(s&&z.some(Fi)&&(O=Vc(O,s)),R=Wt(R,O,!1,!0))}return n.dirs&&(R=Wt(R,null,!1,!0),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),E=R,dr(K),E}const Uc=e=>{let t;for(const n in e)(n==="class"||n==="style"||_r(n))&&((t||(t={}))[n]=e[n]);return t},Vc=(e,t)=>{const n={};for(const r in e)(!Fi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function qc(e,t,n){const{props:r,children:i,component:s}=e,{props:a,children:o,patchFlag:l}=t,f=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Is(r,a,f):!!a;if(l&8){const c=t.dynamicProps;for(let h=0;h<c.length;h++){const m=c[h];if(a[m]!==r[m]&&!Or(f,m))return!0}}}else return(i||o)&&(!o||!o.$stable)?!0:r===a?!1:r?a?Is(r,a,f):!0:!!a;return!1}function Is(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]&&!Or(n,s))return!0}return!1}function Wc({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Yc=Symbol.for("v-ndc"),Kc=e=>e.__isSuspense;function Gc(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):zc(e)}function Cr(e,t,n=Ee,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{gt();const o=An(n),l=je(t,n,e,a);return o(),bt(),l});return r?i.unshift(s):i.push(s),s}}const nt=e=>(t,n=Ee)=>{(!Pr||e==="sp")&&Cr(e,(...r)=>t(...r),n)},Xc=nt("bm"),Sr=nt("m"),Jc=nt("bu"),Qc=nt("u"),Zc=nt("bum"),To=nt("um"),ef=nt("sp"),tf=nt("rtg"),nf=nt("rtc");function rf(e,t=Ee){Cr("ec",e,t)}function Ms(e,t){if(Le===null)return e;const n=Nr(Le),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[s,a,o,l=ee]=t[i];s&&(D(s)&&(s={mounted:s,updated:s}),s.deep&&lt(a),r.push({dir:s,instance:n,value:a,oldValue:void 0,arg:o,modifiers:l}))}return e}function _t(e,t,n,r){const i=e.dirs,s=t&&t.dirs;for(let a=0;a<i.length;a++){const o=i[a];s&&(o.oldValue=s[a].value);let l=o.dir[r];l&&(gt(),je(l,n,8,[e.el,o,e,t]),bt())}}function kt(e,t,n,r){let i;const s=n;if(F(e)||pe(e)){i=new Array(e.length);for(let a=0,o=e.length;a<o;a++)i[a]=t(e[a],a,void 0,s)}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,s)}else if(se(e))if(e[Symbol.iterator])i=Array.from(e,(a,o)=>t(a,o,void 0,s));else{const a=Object.keys(e);i=new Array(a.length);for(let o=0,l=a.length;o<l;o++){const f=a[o];i[o]=t(e[f],f,o,s)}}else i=[];return i}/*! #__NO_SIDE_EFFECTS__ */function sf(e,t){return D(e)?be({name:e.name},t,{setup:e}):e}const tr=e=>!!e.type.__asyncLoader,ci=e=>e?Go(e)?Nr(e):ci(e.parent):null,cn=be(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=>ci(e.parent),$root:e=>ci(e.root),$emit:e=>e.emit,$options:e=>Gi(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Ki(e.update)}),$nextTick:e=>e.n||(e.n=Fc.bind(e.proxy)),$watch:e=>Of.bind(e)}),Vr=(e,t)=>e!==ee&&!e.__isScriptSetup&&Y(e,t),af={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:o,appContext:l}=e;let f;if(t[0]!=="$"){const k=a[t];if(k!==void 0)switch(k){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Vr(r,t))return a[t]=1,r[t];if(i!==ee&&Y(i,t))return a[t]=2,i[t];if((f=e.propsOptions[0])&&Y(f,t))return a[t]=3,s[t];if(n!==ee&&Y(n,t))return a[t]=4,n[t];fi&&(a[t]=0)}}const c=cn[t];let h,m;if(c)return t==="$attrs"&&Ce(e.attrs,"get",""),c(e);if((h=o.__cssModules)&&(h=h[t]))return h;if(n!==ee&&Y(n,t))return a[t]=4,n[t];if(m=l.config.globalProperties,Y(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Vr(i,t)?(i[t]=n,!0):r!==ee&&Y(r,t)?(r[t]=n,!0):Y(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}},a){let o;return!!n[a]||e!==ee&&Y(e,a)||Vr(t,a)||(o=s[0])&&Y(o,a)||Y(r,a)||Y(cn,a)||Y(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function $s(e){return F(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let fi=!0;function of(e){const t=Gi(e),n=e.proxy,r=e.ctx;fi=!1,t.beforeCreate&&Fs(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:a,watch:o,provide:l,inject:f,created:c,beforeMount:h,mounted:m,beforeUpdate:k,updated:B,activated:M,deactivated:K,beforeDestroy:E,beforeUnmount:O,destroyed:R,unmounted:z,render:V,renderTracked:T,renderTriggered:G,errorCaptured:ce,serverPrefetch:xe,expose:Ke,inheritAttrs:Jt,components:Pn,directives:Nn,filters:Br}=t;if(f&&lf(f,r,null),a)for(const ae in a){const Q=a[ae];D(Q)&&(r[ae]=Q.bind(n))}if(i){const ae=i.call(n,n);se(ae)&&(e.data=En(ae))}if(fi=!0,s)for(const ae in s){const Q=s[ae],vt=D(Q)?Q.bind(n,n):D(Q.get)?Q.get.bind(n,n):Re,Rn=!D(Q)&&D(Q.set)?Q.set.bind(n):Re,yt=ie({get:vt,set:Rn});Object.defineProperty(r,ae,{enumerable:!0,configurable:!0,get:()=>yt.value,set:ze=>yt.value=ze})}if(o)for(const ae in o)Po(o[ae],r,n,ae);if(l){const ae=D(l)?l.call(n):l;Reflect.ownKeys(ae).forEach(Q=>{pf(Q,ae[Q])})}c&&Fs(c,e,"c");function we(ae,Q){F(Q)?Q.forEach(vt=>ae(vt.bind(n))):Q&&ae(Q.bind(n))}if(we(Xc,h),we(Sr,m),we(Jc,k),we(Qc,B),we(Cf,M),we(Sf,K),we(rf,ce),we(nf,T),we(tf,G),we(Zc,O),we(To,z),we(ef,xe),F(Ke))if(Ke.length){const ae=e.exposed||(e.exposed={});Ke.forEach(Q=>{Object.defineProperty(ae,Q,{get:()=>n[Q],set:vt=>n[Q]=vt})})}else e.exposed||(e.exposed={});V&&e.render===Re&&(e.render=V),Jt!=null&&(e.inheritAttrs=Jt),Pn&&(e.components=Pn),Nn&&(e.directives=Nn)}function lf(e,t,n=Re){F(e)&&(e=ui(e));for(const r in e){const i=e[r];let s;se(i)?"default"in i?s=nr(i.from||r,i.default,!0):s=nr(i.from||r):s=nr(i),Se(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[r]=s}}function Fs(e,t,n){je(F(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Po(e,t,n,r){const i=r.includes(".")?Uo(n,r):()=>n[r];if(pe(e)){const s=t[e];D(s)&&ut(i,s)}else if(D(e))ut(i,e.bind(n));else if(se(e))if(F(e))e.forEach(s=>Po(s,t,n,r));else{const s=D(e.handler)?e.handler.bind(n):t[e.handler];D(s)&&ut(i,s,e)}}function Gi(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,o=s.get(t);let l;return o?l=o:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(f=>hr(l,f,a,!0)),hr(l,t,a)),se(t)&&s.set(t,l),l}function hr(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&hr(e,s,n,!0),i&&i.forEach(a=>hr(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const o=cf[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const cf={data:Bs,props:js,emits:js,methods:rn,computed:rn,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:rn,directives:rn,watch:uf,provide:Bs,inject:ff};function Bs(e,t){return t?e?function(){return be(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function ff(e,t){return rn(ui(e),ui(t))}function ui(e){if(F(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ke(e,t){return e?[...new Set([].concat(e,t))]:t}function rn(e,t){return e?be(Object.create(null),e,t):t}function js(e,t){return e?F(e)&&F(t)?[...new Set([...e,...t])]:be(Object.create(null),$s(e),$s(t??{})):t}function uf(e,t){if(!e)return t;if(!t)return e;const n=be(Object.create(null),e);for(const r in t)n[r]=ke(e[r],t[r]);return n}function No(){return{app:null,config:{isNativeTag:Xl,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 df=0;function hf(e,t){return function(r,i=null){D(r)||(r=be({},r)),i!=null&&!se(i)&&(i=null);const s=No(),a=new WeakSet;let o=!1;const l=s.app={_uid:df++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:qf,get config(){return s.config},set config(f){},use(f,...c){return a.has(f)||(f&&D(f.install)?(a.add(f),f.install(l,...c)):D(f)&&(a.add(f),f(l,...c))),l},mixin(f){return s.mixins.includes(f)||s.mixins.push(f),l},component(f,c){return c?(s.components[f]=c,l):s.components[f]},directive(f,c){return c?(s.directives[f]=c,l):s.directives[f]},mount(f,c,h){if(!o){const m=W(r,i);return m.appContext=s,h===!0?h="svg":h===!1&&(h=void 0),c&&t?t(m,f):e(m,f,h),o=!0,l._container=f,f.__vue_app__=l,Nr(m.component)}},unmount(){o&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,c){return s.provides[f]=c,l},runWithContext(f){const c=fn;fn=l;try{return f()}finally{fn=c}}};return l}}let fn=null;function pf(e,t){if(Ee){let n=Ee.provides;const r=Ee.parent&&Ee.parent.provides;r===n&&(n=Ee.provides=Object.create(r)),n[e]=t}}function nr(e,t,n=!1){const r=Ee||Le;if(r||fn){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:fn._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&D(t)?t.call(r&&r.proxy):t}}const Ro={},Lo=()=>Object.create(Ro),Io=e=>Object.getPrototypeOf(e)===Ro;function mf(e,t,n,r=!1){const i={},s=Lo();e.propsDefaults=Object.create(null),Mo(e,t,i,s);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:Pc(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function gf(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:a}}=e,o=J(i),[l]=e.propsOptions;let f=!1;if((r||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let h=0;h<c.length;h++){let m=c[h];if(Or(e.emitsOptions,m))continue;const k=t[m];if(l)if(Y(s,m))k!==s[m]&&(s[m]=k,f=!0);else{const B=Vt(m);i[B]=di(l,o,B,k,e,!1)}else k!==s[m]&&(s[m]=k,f=!0)}}}else{Mo(e,t,i,s)&&(f=!0);let c;for(const h in o)(!t||!Y(t,h)&&((c=Kt(h))===h||!Y(t,c)))&&(l?n&&(n[h]!==void 0||n[c]!==void 0)&&(i[h]=di(l,o,h,void 0,e,!0)):delete i[h]);if(s!==o)for(const h in s)(!t||!Y(t,h))&&(delete s[h],f=!0)}f&&Qe(e.attrs,"set","")}function Mo(e,t,n,r){const[i,s]=e.propsOptions;let a=!1,o;if(t)for(let l in t){if(on(l))continue;const f=t[l];let c;i&&Y(i,c=Vt(l))?!s||!s.includes(c)?n[c]=f:(o||(o={}))[c]=f:Or(e.emitsOptions,l)||(!(l in r)||f!==r[l])&&(r[l]=f,a=!0)}if(s){const l=J(n),f=o||ee;for(let c=0;c<s.length;c++){const h=s[c];n[h]=di(i,l,h,f[h],e,!Y(f,h))}}return a}function di(e,t,n,r,i,s){const a=e[n];if(a!=null){const o=Y(a,"default");if(o&&r===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&D(l)){const{propsDefaults:f}=i;if(n in f)r=f[n];else{const c=An(i);r=f[n]=l.call(null,t),c()}}else r=l}a[0]&&(s&&!o?r=!1:a[1]&&(r===""||r===Kt(n))&&(r=!0))}return r}function $o(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const s=e.props,a={},o=[];let l=!1;if(!D(e)){const c=h=>{l=!0;const[m,k]=$o(h,t,!0);be(a,m),k&&o.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return se(e)&&r.set(e,zt),zt;if(F(s))for(let c=0;c<s.length;c++){const h=Vt(s[c]);zs(h)&&(a[h]=ee)}else if(s)for(const c in s){const h=Vt(c);if(zs(h)){const m=s[c],k=a[h]=F(m)||D(m)?{type:m}:be({},m);if(k){const B=Us(Boolean,k.type),M=Us(String,k.type);k[0]=B>-1,k[1]=M<0||B<M,(B>-1||Y(k,"default"))&&o.push(h)}}}const f=[a,o];return se(e)&&r.set(e,f),f}function zs(e){return e[0]!=="$"&&!on(e)}function Ds(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Hs(e,t){return Ds(e)===Ds(t)}function Us(e,t){return F(t)?t.findIndex(n=>Hs(n,e)):D(t)&&Hs(t,e)?0:-1}const Fo=e=>e[0]==="_"||e==="$stable",Xi=e=>F(e)?e.map(Ue):[Ue(e)],bf=(e,t,n)=>{if(t._n)return t;const r=So((...i)=>Xi(t(...i)),n);return r._c=!1,r},Bo=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Fo(i))continue;const s=e[i];if(D(s))t[i]=bf(i,s,r);else if(s!=null){const a=Xi(s);t[i]=()=>a}}},jo=(e,t)=>{const n=Xi(t);e.slots.default=()=>n},vf=(e,t)=>{const n=e.slots=Lo();if(e.vnode.shapeFlag&32){const r=t._;r?(be(n,t),to(n,"_",r,!0)):Bo(t,n)}else t&&jo(e,t)},yf=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,a=ee;if(r.shapeFlag&32){const o=t._;o?n&&o===1?s=!1:(be(i,t),!n&&o===1&&delete i._):(s=!t.$stable,Bo(t,i)),a=t}else t&&(jo(e,t),a={default:1});if(s)for(const o in i)!Fo(o)&&a[o]==null&&delete i[o]};function hi(e,t,n,r,i=!1){if(F(e)){e.forEach((m,k)=>hi(m,t&&(F(t)?t[k]:t),n,r,i));return}if(tr(r)&&!i)return;const s=r.shapeFlag&4?Nr(r.component):r.el,a=i?null:s,{i:o,r:l}=e,f=t&&t.r,c=o.refs===ee?o.refs={}:o.refs,h=o.setupState;if(f!=null&&f!==l&&(pe(f)?(c[f]=null,Y(h,f)&&(h[f]=null)):Se(f)&&(f.value=null)),D(l))ft(l,o,12,[a,c]);else{const m=pe(l),k=Se(l);if(m||k){const B=()=>{if(e.f){const M=m?Y(h,l)?h[l]:c[l]:l.value;i?F(M)&&Bi(M,s):F(M)?M.includes(s)||M.push(s):m?(c[l]=[s],Y(h,l)&&(h[l]=c[l])):(l.value=[s],e.k&&(c[e.k]=l.value))}else m?(c[l]=a,Y(h,l)&&(h[l]=a)):k&&(l.value=a,e.k&&(c[e.k]=a))};a?(B.id=-1,Oe(B,n)):B()}}}const Oe=Gc;function _f(e){return xf(e)}function xf(e,t){const n=no();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:a,createText:o,createComment:l,setText:f,setElementText:c,parentNode:h,nextSibling:m,setScopeId:k=Re,insertStaticContent:B}=e,M=(u,d,p,b=null,v=null,x=null,A=void 0,_=null,w=!!d.dynamicChildren)=>{if(u===d)return;u&&!en(u,d)&&(b=Ln(u),ze(u,v,x,!0),u=null),d.patchFlag===-2&&(w=!1,d.dynamicChildren=null);const{type:y,ref:S,shapeFlag:I}=d;switch(y){case Tr:K(u,d,p,b);break;case St:E(u,d,p,b);break;case rr:u==null&&O(d,p,b,A);break;case oe:Pn(u,d,p,b,v,x,A,_,w);break;default:I&1?V(u,d,p,b,v,x,A,_,w):I&6?Nn(u,d,p,b,v,x,A,_,w):(I&64||I&128)&&y.process(u,d,p,b,v,x,A,_,w,Qt)}S!=null&&v&&hi(S,u&&u.ref,x,d||u,!d)},K=(u,d,p,b)=>{if(u==null)r(d.el=o(d.children),p,b);else{const v=d.el=u.el;d.children!==u.children&&f(v,d.children)}},E=(u,d,p,b)=>{u==null?r(d.el=l(d.children||""),p,b):d.el=u.el},O=(u,d,p,b)=>{[u.el,u.anchor]=B(u.children,d,p,b,u.el,u.anchor)},R=({el:u,anchor:d},p,b)=>{let v;for(;u&&u!==d;)v=m(u),r(u,p,b),u=v;r(d,p,b)},z=({el:u,anchor:d})=>{let p;for(;u&&u!==d;)p=m(u),i(u),u=p;i(d)},V=(u,d,p,b,v,x,A,_,w)=>{d.type==="svg"?A="svg":d.type==="math"&&(A="mathml"),u==null?T(d,p,b,v,x,A,_,w):xe(u,d,v,x,A,_,w)},T=(u,d,p,b,v,x,A,_)=>{let w,y;const{props:S,shapeFlag:I,transition:L,dirs:j}=u;if(w=u.el=a(u.type,x,S&&S.is,S),I&8?c(w,u.children):I&16&&ce(u.children,w,null,b,v,qr(u,x),A,_),j&&_t(u,null,b,"created"),G(w,u,u.scopeId,A,b),S){for(const Z in S)Z!=="value"&&!on(Z)&&s(w,Z,null,S[Z],x,u.children,b,v,Ge);"value"in S&&s(w,"value",null,S.value,x),(y=S.onVnodeBeforeMount)&&He(y,b,u)}j&&_t(u,null,b,"beforeMount");const U=wf(v,L);U&&L.beforeEnter(w),r(w,d,p),((y=S&&S.onVnodeMounted)||U||j)&&Oe(()=>{y&&He(y,b,u),U&&L.enter(w),j&&_t(u,null,b,"mounted")},v)},G=(u,d,p,b,v)=>{if(p&&k(u,p),b)for(let x=0;x<b.length;x++)k(u,b[x]);if(v){let x=v.subTree;if(d===x){const A=v.vnode;G(u,A,A.scopeId,A.slotScopeIds,v.parent)}}},ce=(u,d,p,b,v,x,A,_,w=0)=>{for(let y=w;y<u.length;y++){const S=u[y]=_?ot(u[y]):Ue(u[y]);M(null,S,d,p,b,v,x,A,_)}},xe=(u,d,p,b,v,x,A)=>{const _=d.el=u.el;let{patchFlag:w,dynamicChildren:y,dirs:S}=d;w|=u.patchFlag&16;const I=u.props||ee,L=d.props||ee;let j;if(p&&xt(p,!1),(j=L.onVnodeBeforeUpdate)&&He(j,p,d,u),S&&_t(d,u,p,"beforeUpdate"),p&&xt(p,!0),y?Ke(u.dynamicChildren,y,_,p,b,qr(d,v),x):A||Q(u,d,_,null,p,b,qr(d,v),x,!1),w>0){if(w&16)Jt(_,d,I,L,p,b,v);else if(w&2&&I.class!==L.class&&s(_,"class",null,L.class,v),w&4&&s(_,"style",I.style,L.style,v),w&8){const U=d.dynamicProps;for(let Z=0;Z<U.length;Z++){const X=U[Z],ge=I[X],Ie=L[X];(Ie!==ge||X==="value")&&s(_,X,ge,Ie,v,u.children,p,b,Ge)}}w&1&&u.children!==d.children&&c(_,d.children)}else!A&&y==null&&Jt(_,d,I,L,p,b,v);((j=L.onVnodeUpdated)||S)&&Oe(()=>{j&&He(j,p,d,u),S&&_t(d,u,p,"updated")},b)},Ke=(u,d,p,b,v,x,A)=>{for(let _=0;_<d.length;_++){const w=u[_],y=d[_],S=w.el&&(w.type===oe||!en(w,y)||w.shapeFlag&70)?h(w.el):p;M(w,y,S,null,b,v,x,A,!0)}},Jt=(u,d,p,b,v,x,A)=>{if(p!==b){if(p!==ee)for(const _ in p)!on(_)&&!(_ in b)&&s(u,_,p[_],null,A,d.children,v,x,Ge);for(const _ in b){if(on(_))continue;const w=b[_],y=p[_];w!==y&&_!=="value"&&s(u,_,y,w,A,d.children,v,x,Ge)}"value"in b&&s(u,"value",p.value,b.value,A)}},Pn=(u,d,p,b,v,x,A,_,w)=>{const y=d.el=u?u.el:o(""),S=d.anchor=u?u.anchor:o("");let{patchFlag:I,dynamicChildren:L,slotScopeIds:j}=d;j&&(_=_?_.concat(j):j),u==null?(r(y,p,b),r(S,p,b),ce(d.children||[],p,S,v,x,A,_,w)):I>0&&I&64&&L&&u.dynamicChildren?(Ke(u.dynamicChildren,L,p,v,x,A,_),(d.key!=null||v&&d===v.subTree)&&zo(u,d,!0)):Q(u,d,p,S,v,x,A,_,w)},Nn=(u,d,p,b,v,x,A,_,w)=>{d.slotScopeIds=_,u==null?d.shapeFlag&512?v.ctx.activate(d,p,b,A,w):Br(d,p,b,v,x,A,w):bs(u,d,w)},Br=(u,d,p,b,v,x,A)=>{const _=u.component=Bf(u,b,v);if(Vo(u)&&(_.ctx.renderer=Qt),jf(_),_.asyncDep){if(v&&v.registerDep(_,we,A),!u.el){const w=_.subTree=W(St);E(null,w,d,p)}}else we(_,u,d,p,v,x,A)},bs=(u,d,p)=>{const b=d.component=u.component;if(qc(u,d,p))if(b.asyncDep&&!b.asyncResolved){ae(b,d,p);return}else b.next=d,jc(b.update),b.effect.dirty=!0,b.update();else d.el=u.el,b.vnode=d},we=(u,d,p,b,v,x,A)=>{const _=()=>{if(u.isMounted){let{next:S,bu:I,u:L,parent:j,vnode:U}=u;{const Lt=Do(u);if(Lt){S&&(S.el=U.el,ae(u,S,A)),Lt.asyncDep.then(()=>{u.isUnmounted||_()});return}}let Z=S,X;xt(u,!1),S?(S.el=U.el,ae(u,S,A)):S=U,I&&Dr(I),(X=S.props&&S.props.onVnodeBeforeUpdate)&&He(X,j,S,U),xt(u,!0);const ge=Ur(u),Ie=u.subTree;u.subTree=ge,M(Ie,ge,h(Ie.el),Ln(Ie),u,v,x),S.el=ge.el,Z===null&&Wc(u,ge.el),L&&Oe(L,v),(X=S.props&&S.props.onVnodeUpdated)&&Oe(()=>He(X,j,S,U),v)}else{let S;const{el:I,props:L}=d,{bm:j,m:U,parent:Z}=u,X=tr(d);if(xt(u,!1),j&&Dr(j),!X&&(S=L&&L.onVnodeBeforeMount)&&He(S,Z,d),xt(u,!0),I&&xs){const ge=()=>{u.subTree=Ur(u),xs(I,u.subTree,u,v,null)};X?d.type.__asyncLoader().then(()=>!u.isUnmounted&&ge()):ge()}else{const ge=u.subTree=Ur(u);M(null,ge,p,b,u,v,x),d.el=ge.el}if(U&&Oe(U,v),!X&&(S=L&&L.onVnodeMounted)){const ge=d;Oe(()=>He(S,Z,ge),v)}(d.shapeFlag&256||Z&&tr(Z.vnode)&&Z.vnode.shapeFlag&256)&&u.a&&Oe(u.a,v),u.isMounted=!0,d=p=b=null}},w=u.effect=new zi(_,Re,()=>Ki(y),u.scope),y=u.update=()=>{w.dirty&&w.run()};y.id=u.uid,xt(u,!0),y()},ae=(u,d,p)=>{d.component=u;const b=u.vnode.props;u.vnode=d,u.next=null,gf(u,d.props,b,p),yf(u,d.children,p),gt(),Ls(u),bt()},Q=(u,d,p,b,v,x,A,_,w=!1)=>{const y=u&&u.children,S=u?u.shapeFlag:0,I=d.children,{patchFlag:L,shapeFlag:j}=d;if(L>0){if(L&128){Rn(y,I,p,b,v,x,A,_,w);return}else if(L&256){vt(y,I,p,b,v,x,A,_,w);return}}j&8?(S&16&&Ge(y,v,x),I!==y&&c(p,I)):S&16?j&16?Rn(y,I,p,b,v,x,A,_,w):Ge(y,v,x,!0):(S&8&&c(p,""),j&16&&ce(I,p,b,v,x,A,_,w))},vt=(u,d,p,b,v,x,A,_,w)=>{u=u||zt,d=d||zt;const y=u.length,S=d.length,I=Math.min(y,S);let L;for(L=0;L<I;L++){const j=d[L]=w?ot(d[L]):Ue(d[L]);M(u[L],j,p,null,v,x,A,_,w)}y>S?Ge(u,v,x,!0,!1,I):ce(d,p,b,v,x,A,_,w,I)},Rn=(u,d,p,b,v,x,A,_,w)=>{let y=0;const S=d.length;let I=u.length-1,L=S-1;for(;y<=I&&y<=L;){const j=u[y],U=d[y]=w?ot(d[y]):Ue(d[y]);if(en(j,U))M(j,U,p,null,v,x,A,_,w);else break;y++}for(;y<=I&&y<=L;){const j=u[I],U=d[L]=w?ot(d[L]):Ue(d[L]);if(en(j,U))M(j,U,p,null,v,x,A,_,w);else break;I--,L--}if(y>I){if(y<=L){const j=L+1,U=j<S?d[j].el:b;for(;y<=L;)M(null,d[y]=w?ot(d[y]):Ue(d[y]),p,U,v,x,A,_,w),y++}}else if(y>L)for(;y<=I;)ze(u[y],v,x,!0),y++;else{const j=y,U=y,Z=new Map;for(y=U;y<=L;y++){const Te=d[y]=w?ot(d[y]):Ue(d[y]);Te.key!=null&&Z.set(Te.key,y)}let X,ge=0;const Ie=L-U+1;let Lt=!1,ws=0;const Zt=new Array(Ie);for(y=0;y<Ie;y++)Zt[y]=0;for(y=j;y<=I;y++){const Te=u[y];if(ge>=Ie){ze(Te,v,x,!0);continue}let De;if(Te.key!=null)De=Z.get(Te.key);else for(X=U;X<=L;X++)if(Zt[X-U]===0&&en(Te,d[X])){De=X;break}De===void 0?ze(Te,v,x,!0):(Zt[De-U]=y+1,De>=ws?ws=De:Lt=!0,M(Te,d[De],p,null,v,x,A,_,w),ge++)}const ks=Lt?kf(Zt):zt;for(X=ks.length-1,y=Ie-1;y>=0;y--){const Te=U+y,De=d[Te],Es=Te+1<S?d[Te+1].el:b;Zt[y]===0?M(null,De,p,Es,v,x,A,_,w):Lt&&(X<0||y!==ks[X]?yt(De,p,Es,2):X--)}}},yt=(u,d,p,b,v=null)=>{const{el:x,type:A,transition:_,children:w,shapeFlag:y}=u;if(y&6){yt(u.component.subTree,d,p,b);return}if(y&128){u.suspense.move(d,p,b);return}if(y&64){A.move(u,d,p,Qt);return}if(A===oe){r(x,d,p);for(let I=0;I<w.length;I++)yt(w[I],d,p,b);r(u.anchor,d,p);return}if(A===rr){R(u,d,p);return}if(b!==2&&y&1&&_)if(b===0)_.beforeEnter(x),r(x,d,p),Oe(()=>_.enter(x),v);else{const{leave:I,delayLeave:L,afterLeave:j}=_,U=()=>r(x,d,p),Z=()=>{I(x,()=>{U(),j&&j()})};L?L(x,U,Z):Z()}else r(x,d,p)},ze=(u,d,p,b=!1,v=!1)=>{const{type:x,props:A,ref:_,children:w,dynamicChildren:y,shapeFlag:S,patchFlag:I,dirs:L,memoIndex:j}=u;if(_!=null&&hi(_,null,p,u,!0),j!=null&&(d.renderCache[j]=void 0),S&256){d.ctx.deactivate(u);return}const U=S&1&&L,Z=!tr(u);let X;if(Z&&(X=A&&A.onVnodeBeforeUnmount)&&He(X,d,u),S&6)Gl(u.component,p,b);else{if(S&128){u.suspense.unmount(p,b);return}U&&_t(u,null,d,"beforeUnmount"),S&64?u.type.remove(u,d,p,v,Qt,b):y&&(x!==oe||I>0&&I&64)?Ge(y,d,p,!1,!0):(x===oe&&I&384||!v&&S&16)&&Ge(w,d,p),b&&vs(u)}(Z&&(X=A&&A.onVnodeUnmounted)||U)&&Oe(()=>{X&&He(X,d,u),U&&_t(u,null,d,"unmounted")},p)},vs=u=>{const{type:d,el:p,anchor:b,transition:v}=u;if(d===oe){Kl(p,b);return}if(d===rr){z(u);return}const x=()=>{i(p),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(u.shapeFlag&1&&v&&!v.persisted){const{leave:A,delayLeave:_}=v,w=()=>A(p,x);_?_(u.el,x,w):w()}else x()},Kl=(u,d)=>{let p;for(;u!==d;)p=m(u),i(u),u=p;i(d)},Gl=(u,d,p)=>{const{bum:b,scope:v,update:x,subTree:A,um:_,m:w,a:y}=u;Vs(w),Vs(y),b&&Dr(b),v.stop(),x&&(x.active=!1,ze(A,u,d,p)),_&&Oe(_,d),Oe(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Ge=(u,d,p,b=!1,v=!1,x=0)=>{for(let A=x;A<u.length;A++)ze(u[A],d,p,b,v)},Ln=u=>u.shapeFlag&6?Ln(u.component.subTree):u.shapeFlag&128?u.suspense.next():m(u.anchor||u.el);let jr=!1;const ys=(u,d,p)=>{u==null?d._vnode&&ze(d._vnode,null,null,!0):M(d._vnode||null,u,d,null,null,null,p),jr||(jr=!0,Ls(),Eo(),jr=!1),d._vnode=u},Qt={p:M,um:ze,m:yt,r:vs,mt:Br,mc:ce,pc:Q,pbc:Ke,n:Ln,o:e};let _s,xs;return{render:ys,hydrate:_s,createApp:hf(ys,_s)}}function qr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function xt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function wf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function zo(e,t,n=!1){const r=e.children,i=t.children;if(F(r)&&F(i))for(let s=0;s<r.length;s++){const a=r[s];let o=i[s];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=i[s]=ot(i[s]),o.el=a.el),!n&&o.patchFlag!==-2&&zo(a,o)),o.type===Tr&&(o.el=a.el)}}function kf(e){const t=e.slice(),n=[0];let r,i,s,a,o;const l=e.length;for(r=0;r<l;r++){const f=e[r];if(f!==0){if(i=n[n.length-1],e[i]<f){t[r]=i,n.push(r);continue}for(s=0,a=n.length-1;s<a;)o=s+a>>1,e[n[o]]<f?s=o+1:a=o;f<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}function Do(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Do(t)}function Vs(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const Ef=Symbol.for("v-scx"),Af=()=>nr(Ef),jn={};function ut(e,t,n){return Ho(e,t,n)}function Ho(e,t,{immediate:n,deep:r,flush:i,once:s,onTrack:a,onTrigger:o}=ee){if(t&&s){const T=t;t=(...G)=>{T(...G),V()}}const l=Ee,f=T=>r===!0?T:lt(T,r===!1?1:void 0);let c,h=!1,m=!1;if(Se(e)?(c=()=>e.value,h=ur(e)):ln(e)?(c=()=>f(e),h=!0):F(e)?(m=!0,h=e.some(T=>ln(T)||ur(T)),c=()=>e.map(T=>{if(Se(T))return T.value;if(ln(T))return f(T);if(D(T))return ft(T,l,2)})):D(e)?t?c=()=>ft(e,l,2):c=()=>(k&&k(),je(e,l,3,[B])):c=Re,t&&r){const T=c;c=()=>lt(T())}let k,B=T=>{k=R.onStop=()=>{ft(T,l,4),k=R.onStop=void 0}},M;if(Pr)if(B=Re,t?n&&je(t,l,3,[c(),m?[]:void 0,B]):c(),i==="sync"){const T=Af();M=T.__watcherHandles||(T.__watcherHandles=[])}else return Re;let K=m?new Array(e.length).fill(jn):jn;const E=()=>{if(!(!R.active||!R.dirty))if(t){const T=R.run();(r||h||(m?T.some((G,ce)=>dt(G,K[ce])):dt(T,K)))&&(k&&k(),je(t,l,3,[T,K===jn?void 0:m&&K[0]===jn?[]:K,B]),K=T)}else R.run()};E.allowRecurse=!!t;let O;i==="sync"?O=E:i==="post"?O=()=>Oe(E,l&&l.suspense):(E.pre=!0,l&&(E.id=l.uid),O=()=>Ki(E));const R=new zi(c,Re,O),z=fc(),V=()=>{R.stop(),z&&Bi(z.effects,R)};return t?n?E():K=R.run():i==="post"?Oe(R.run.bind(R),l&&l.suspense):R.run(),M&&M.push(V),V}function Of(e,t,n){const r=this.proxy,i=pe(e)?e.includes(".")?Uo(r,e):()=>r[e]:e.bind(r,r);let s;D(t)?s=t:(s=t.handler,n=t);const a=An(this),o=Ho(i,s.bind(r),n);return a(),o}function Uo(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 lt(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Se(e))lt(e.value,t,n);else if(F(e))for(let r=0;r<e.length;r++)lt(e[r],t,n);else if(Xa(e)||Dt(e))e.forEach(r=>{lt(r,t,n)});else if(Za(e)){for(const r in e)lt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&lt(e[r],t,n)}return e}const Vo=e=>e.type.__isKeepAlive;function Cf(e,t){qo(e,"a",t)}function Sf(e,t){qo(e,"da",t)}function qo(e,t,n=Ee){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Cr(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Vo(i.parent.vnode)&&Tf(r,t,n,i),i=i.parent}}function Tf(e,t,n,r){const i=Cr(t,e,r,!0);To(()=>{Bi(r[t],i)},n)}function Wo(e,t){e.shapeFlag&6&&e.component?Wo(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}const Pf=e=>e.__isTeleport,oe=Symbol.for("v-fgt"),Tr=Symbol.for("v-txt"),St=Symbol.for("v-cmt"),rr=Symbol.for("v-stc"),un=[];let Fe=null;function $(e=!1){un.push(Fe=e?null:[])}function Nf(){un.pop(),Fe=un[un.length-1]||null}let vn=1;function qs(e){vn+=e}function Yo(e){return e.dynamicChildren=vn>0?Fe||zt:null,Nf(),vn>0&&Fe&&Fe.push(e),e}function H(e,t,n,r,i,s){return Yo(g(e,t,n,r,i,s,!0))}function Ft(e,t,n,r,i){return Yo(W(e,t,n,r,i,!0))}function pi(e){return e?e.__v_isVNode===!0:!1}function en(e,t){return e.type===t.type&&e.key===t.key}const Ko=({key:e})=>e??null,ir=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||Se(e)||D(e)?{i:Le,r:e,k:t,f:!!n}:e:null);function g(e,t=null,n=null,r=0,i=null,s=e===oe?0:1,a=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ko(t),ref:t&&ir(t),scopeId:Co,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:Le};return o?(Ji(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=pe(n)?8:16),vn>0&&!a&&Fe&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Fe.push(l),l}const W=Rf;function Rf(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===Yc)&&(e=St),pi(e)){const o=Wt(e,t,!0);return n&&Ji(o,n),vn>0&&!s&&Fe&&(o.shapeFlag&6?Fe[Fe.indexOf(e)]=o:Fe.push(o)),o.patchFlag=-2,o}if(Uf(e)&&(e=e.__vccOpts),t){t=Lf(t);let{class:o,style:l}=t;o&&!pe(o)&&(t.class=ve(o)),se(l)&&(vo(l)&&!F(l)&&(l=be({},l)),t.style=kr(l))}const a=pe(e)?1:Kc(e)?128:Pf(e)?64:se(e)?4:D(e)?2:0;return g(e,t,n,r,i,a,s,!0)}function Lf(e){return e?vo(e)||Io(e)?be({},e):e:null}function Wt(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:a,children:o,transition:l}=e,f=t?Mf(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Ko(f),ref:t&&t.ref?n&&s?F(s)?s.concat(ir(t)):[s,ir(t)]:ir(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==oe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wt(e.ssContent),ssFallback:e.ssFallback&&Wt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Wo(c,l.clone(c)),c}function de(e=" ",t=0){return W(Tr,null,e,t)}function If(e,t){const n=W(rr,null,e);return n.staticCount=t,n}function Tt(e="",t=!1){return t?($(),Ft(St,null,e)):W(St,null,e)}function Ue(e){return e==null||typeof e=="boolean"?W(St):F(e)?W(oe,null,e.slice()):typeof e=="object"?ot(e):W(Tr,null,String(e))}function ot(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wt(e)}function Ji(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(F(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Ji(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Io(t)?t._ctx=Le:i===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else D(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),r&64?(n=16,t=[de(t)]):n=8);e.children=t,e.shapeFlag|=n}function Mf(...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=ve([t.class,r.class]));else if(i==="style")t.style=kr([t.style,r.style]);else if(_r(i)){const s=t[i],a=r[i];a&&s!==a&&!(F(s)&&s.includes(a))&&(t[i]=s?[].concat(s,a):a)}else i!==""&&(t[i]=r[i])}return t}function He(e,t,n,r=null){je(e,t,7,[n,r])}const $f=No();let Ff=0;function Bf(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||$f,s={uid:Ff++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new lc(!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:$o(r,i),emitsOptions:Oo(r,i),emit:null,emitted:null,propsDefaults:ee,inheritAttrs:r.inheritAttrs,ctx:ee,data:ee,props:ee,attrs:ee,slots:ee,refs:ee,setupState:ee,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Hc.bind(null,s),e.ce&&e.ce(s),s}let Ee=null,pr,mi;{const e=no(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(a=>a(s)):i[0](s)}};pr=t("__VUE_INSTANCE_SETTERS__",n=>Ee=n),mi=t("__VUE_SSR_SETTERS__",n=>Pr=n)}const An=e=>{const t=Ee;return pr(e),e.scope.on(),()=>{e.scope.off(),pr(t)}},Ws=()=>{Ee&&Ee.scope.off(),pr(null)};function Go(e){return e.vnode.shapeFlag&4}let Pr=!1;function jf(e,t=!1){t&&mi(t);const{props:n,children:r}=e.vnode,i=Go(e);mf(e,n,i,t),vf(e,r);const s=i?zf(e,t):void 0;return t&&mi(!1),s}function zf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,af);const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?Hf(e):null,s=An(e);gt();const a=ft(r,e,0,[e.props,i]);if(bt(),s(),Ja(a)){if(a.then(Ws,Ws),t)return a.then(o=>{Ys(e,o,t)}).catch(o=>{Ar(o,e,0)});e.asyncDep=a}else Ys(e,a,t)}else Xo(e,t)}function Ys(e,t,n){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=xo(t)),Xo(e,n)}let Ks;function Xo(e,t,n){const r=e.type;if(!e.render){if(!t&&Ks&&!r.render){const i=r.template||Gi(e).template;if(i){const{isCustomElement:s,compilerOptions:a}=e.appContext.config,{delimiters:o,compilerOptions:l}=r,f=be(be({isCustomElement:s,delimiters:o},a),l);r.render=Ks(i,f)}}e.render=r.render||Re}{const i=An(e);gt();try{of(e)}finally{bt(),i()}}}const Df={get(e,t){return Ce(e,"get",""),e[t]}};function Hf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Df),slots:e.slots,emit:e.emit,expose:t}}function Nr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(xo(Nc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cn)return cn[n](e)},has(t,n){return n in t||n in cn}})):e.proxy}function Uf(e){return D(e)&&"__vccOpts"in e}const ie=(e,t)=>Rc(e,t,Pr);function Vf(e,t,n){const r=arguments.length;return r===2?se(t)&&!F(t)?pi(t)?W(e,null,[t]):W(e,t):W(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&pi(n)&&(n=[n]),W(e,t,n))}const qf="3.4.29";/**
* @vue/runtime-dom v3.4.29
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const Wf="http://www.w3.org/2000/svg",Yf="http://www.w3.org/1998/Math/MathML",Xe=typeof document<"u"?document:null,Gs=Xe&&Xe.createElement("template"),Kf={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==="svg"?Xe.createElementNS(Wf,e):t==="mathml"?Xe.createElementNS(Yf,e):n?Xe.createElement(e,{is:n}):Xe.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Xe.createTextNode(e),createComment:e=>Xe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,s){const a=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Gs.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const o=Gs.content;if(r==="svg"||r==="mathml"){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}t.insertBefore(o,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Gf=Symbol("_vtc");function Xf(e,t,n){const r=e[Gf];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const mr=Symbol("_vod"),Jo=Symbol("_vsh"),Xs={beforeMount(e,{value:t},{transition:n}){e[mr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):tn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),tn(e,!0),r.enter(e)):r.leave(e,()=>{tn(e,!1)}):tn(e,t))},beforeUnmount(e,{value:t}){tn(e,t)}};function tn(e,t){e.style.display=t?e[mr]:"none",e[Jo]=!t}const Jf=Symbol(""),Qf=/(^|;)\s*display\s*:/;function Zf(e,t,n){const r=e.style,i=pe(n);let s=!1;if(n&&!i){if(t)if(pe(t))for(const a of t.split(";")){const o=a.slice(0,a.indexOf(":")).trim();n[o]==null&&sr(r,o,"")}else for(const a in t)n[a]==null&&sr(r,a,"");for(const a in n)a==="display"&&(s=!0),sr(r,a,n[a])}else if(i){if(t!==n){const a=r[Jf];a&&(n+=";"+a),r.cssText=n,s=Qf.test(n)}}else t&&e.removeAttribute("style");mr in e&&(e[mr]=s?r.display:"",e[Jo]&&(r.display="none"))}const Js=/\s*!important$/;function sr(e,t,n){if(F(n))n.forEach(r=>sr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=eu(e,t);Js.test(n)?e.setProperty(Kt(r),n.replace(Js,""),"important"):e[r]=n}}const Qs=["Webkit","Moz","ms"],Wr={};function eu(e,t){const n=Wr[t];if(n)return n;let r=Vt(t);if(r!=="filter"&&r in e)return Wr[t]=r;r=eo(r);for(let i=0;i<Qs.length;i++){const s=Qs[i]+r;if(s in e)return Wr[t]=s}return t}const Zs="http://www.w3.org/1999/xlink";function ea(e,t,n,r,i,s=oc(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Zs,t.slice(6,t.length)):e.setAttributeNS(Zs,t,n):n==null||s&&!ro(n)?e.removeAttribute(t):e.setAttribute(t,s?"":String(n))}function tu(e,t,n,r,i,s,a){if(t==="innerHTML"||t==="textContent"){r&&a(r,i,s),e[t]=n??"";return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const f=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?"":String(n);(f!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=ro(n):n==null&&f==="string"?(n="",l=!0):f==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function nu(e,t,n,r){e.addEventListener(t,n,r)}function ru(e,t,n,r){e.removeEventListener(t,n,r)}const ta=Symbol("_vei");function iu(e,t,n,r,i=null){const s=e[ta]||(e[ta]={}),a=s[t];if(r&&a)a.value=r;else{const[o,l]=su(t);if(r){const f=s[t]=lu(r,i);nu(e,o,f,l)}else a&&(ru(e,o,a,l),s[t]=void 0)}}const na=/(?:Once|Passive|Capture)$/;function su(e){let t;if(na.test(e)){t={};let r;for(;r=e.match(na);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Kt(e.slice(2)),t]}let Yr=0;const au=Promise.resolve(),ou=()=>Yr||(au.then(()=>Yr=0),Yr=Date.now());function lu(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;je(cu(r,n.value),t,5,[r])};return n.value=e,n.attached=ou(),n}function cu(e,t){if(F(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 ra=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,fu=(e,t,n,r,i,s,a,o,l)=>{const f=i==="svg";t==="class"?Xf(e,r,f):t==="style"?Zf(e,n,r):_r(t)?Fi(t)||iu(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):uu(e,t,r,f))?(tu(e,t,r,s,a,o,l),(t==="value"||t==="checked"||t==="selected")&&ea(e,t,r,f,a,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ea(e,t,r,f))};function uu(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ra(t)&&D(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return ra(t)&&pe(n)?!1:t in e}const du=be({patchProp:fu},Kf);let ia;function hu(){return ia||(ia=_f(du))}const pu=(...e)=>{const t=hu().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=gu(r);if(!i)return;const s=t._component;!D(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,mu(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t};function mu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function gu(e){return pe(e)?document.querySelector(e):e}function sa(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 C(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sa(Object(n),!0).forEach(function(r){me(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function gr(e){"@babel/helpers - typeof";return gr=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},gr(e)}function bu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vu(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 yu(e,t,n){return t&&vu(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qi(e,t){return xu(e)||ku(e,t)||Qo(e,t)||Au()}function On(e){return _u(e)||wu(e)||Qo(e)||Eu()}function _u(e){if(Array.isArray(e))return gi(e)}function xu(e){if(Array.isArray(e))return e}function wu(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ku(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,s=!1,a,o;try{for(n=n.call(e);!(i=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));i=!0);}catch(l){s=!0,o=l}finally{try{!i&&n.return!=null&&n.return()}finally{if(s)throw o}}return r}}function Qo(e,t){if(e){if(typeof e=="string")return gi(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 gi(e,t)}}function gi(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 Eu(){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 Au(){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 aa=function(){},Zi={},Zo={},el=null,tl={mark:aa,measure:aa};try{typeof window<"u"&&(Zi=window),typeof document<"u"&&(Zo=document),typeof MutationObserver<"u"&&(el=MutationObserver),typeof performance<"u"&&(tl=performance)}catch{}var Ou=Zi.navigator||{},oa=Ou.userAgent,la=oa===void 0?"":oa,ht=Zi,ne=Zo,ca=el,zn=tl;ht.document;var rt=!!ne.documentElement&&!!ne.head&&typeof ne.addEventListener=="function"&&typeof ne.createElement=="function",nl=~la.indexOf("MSIE")||~la.indexOf("Trident/"),Dn,Hn,Un,Vn,qn,Ze="___FONT_AWESOME___",bi=16,rl="fa",il="svg-inline--fa",Pt="data-fa-i2svg",vi="data-fa-pseudo-element",Cu="data-fa-pseudo-element-pending",es="data-prefix",ts="data-icon",fa="fontawesome-i2svg",Su="async",Tu=["HTML","HEAD","STYLE","SCRIPT"],sl=function(){try{return!0}catch{return!1}}(),te="classic",le="sharp",ns=[te,le];function Cn(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[te]}})}var yn=Cn((Dn={},me(Dn,te,{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",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),me(Dn,le,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),Dn)),_n=Cn((Hn={},me(Hn,te,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),me(Hn,le,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Hn)),xn=Cn((Un={},me(Un,te,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),me(Un,le,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),Un)),Pu=Cn((Vn={},me(Vn,te,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),me(Vn,le,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),Vn)),Nu=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,al="fa-layers-text",Ru=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Lu=Cn((qn={},me(qn,te,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),me(qn,le,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),qn)),ol=[1,2,3,4,5,6,7,8,9,10],Iu=ol.concat([11,12,13,14,15,16,17,18,19,20]),Mu=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Et={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},wn=new Set;Object.keys(_n[te]).map(wn.add.bind(wn));Object.keys(_n[le]).map(wn.add.bind(wn));var $u=[].concat(ns,On(wn),["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",Et.GROUP,Et.SWAP_OPACITY,Et.PRIMARY,Et.SECONDARY]).concat(ol.map(function(e){return"".concat(e,"x")})).concat(Iu.map(function(e){return"w-".concat(e)})),dn=ht.FontAwesomeConfig||{};function Fu(e){var t=ne.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Bu(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(ne&&typeof ne.querySelector=="function"){var ju=[["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"]];ju.forEach(function(e){var t=Qi(e,2),n=t[0],r=t[1],i=Bu(Fu(n));i!=null&&(dn[r]=i)})}var ll={styleDefault:"solid",familyDefault:"classic",cssPrefix:rl,replacementClass:il,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};dn.familyPrefix&&(dn.cssPrefix=dn.familyPrefix);var Yt=C(C({},ll),dn);Yt.autoReplaceSvg||(Yt.observeMutations=!1);var N={};Object.keys(ll).forEach(function(e){Object.defineProperty(N,e,{enumerable:!0,set:function(n){Yt[e]=n,hn.forEach(function(r){return r(N)})},get:function(){return Yt[e]}})});Object.defineProperty(N,"familyPrefix",{enumerable:!0,set:function(t){Yt.cssPrefix=t,hn.forEach(function(n){return n(N)})},get:function(){return Yt.cssPrefix}});ht.FontAwesomeConfig=N;var hn=[];function zu(e){return hn.push(e),function(){hn.splice(hn.indexOf(e),1)}}var st=bi,qe={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Du(e){if(!(!e||!rt)){var t=ne.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=ne.head.childNodes,r=null,i=n.length-1;i>-1;i--){var s=n[i],a=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=s)}return ne.head.insertBefore(t,r),e}}var Hu="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function kn(){for(var e=12,t="";e-- >0;)t+=Hu[Math.random()*62|0];return t}function Gt(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function rs(e){return e.classList?Gt(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function cl(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Uu(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(cl(e[n]),'" ')},"").trim()}function Rr(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function is(e){return e.size!==qe.size||e.x!==qe.x||e.y!==qe.y||e.rotate!==qe.rotate||e.flipX||e.flipY}function Vu(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,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(s," ").concat(a," ").concat(o)},f={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:f}}function qu(e){var t=e.transform,n=e.width,r=n===void 0?bi:n,i=e.height,s=i===void 0?bi:i,a=e.startCentered,o=a===void 0?!1:a,l="";return o&&nl?l+="translate(".concat(t.x/st-r/2,"em, ").concat(t.y/st-s/2,"em) "):o?l+="translate(calc(-50% + ".concat(t.x/st,"em), calc(-50% + ").concat(t.y/st,"em)) "):l+="translate(".concat(t.x/st,"em, ").concat(t.y/st,"em) "),l+="scale(".concat(t.size/st*(t.flipX?-1:1),", ").concat(t.size/st*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var Wu=`: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-sharp-thin: normal 100 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, 0));
transform: rotate(var(--fa-rotate-angle, 0));
}
.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 fl(){var e=rl,t=il,n=N.cssPrefix,r=N.replacementClass,i=Wu;if(n!==e||r!==t){var s=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),o=new RegExp("\\.".concat(t),"g");i=i.replace(s,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(o,".".concat(r))}return i}var ua=!1;function Kr(){N.autoAddCss&&!ua&&(Du(fl()),ua=!0)}var Yu={mixout:function(){return{dom:{css:fl,insertCss:Kr}}},hooks:function(){return{beforeDOMElementCreation:function(){Kr()},beforeI2svg:function(){Kr()}}}},et=ht||{};et[Ze]||(et[Ze]={});et[Ze].styles||(et[Ze].styles={});et[Ze].hooks||(et[Ze].hooks={});et[Ze].shims||(et[Ze].shims=[]);var Be=et[Ze],ul=[],Ku=function e(){ne.removeEventListener("DOMContentLoaded",e),br=1,ul.map(function(t){return t()})},br=!1;rt&&(br=(ne.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ne.readyState),br||ne.addEventListener("DOMContentLoaded",Ku));function Gu(e){rt&&(br?setTimeout(e,0):ul.push(e))}function Sn(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"?cl(e):"<".concat(t," ").concat(Uu(r),">").concat(s.map(Sn).join(""),"</").concat(t,">")}function da(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Gr=function(t,n,r,i){var s=Object.keys(t),a=s.length,o=n,l,f,c;for(r===void 0?(l=1,c=t[s[0]]):(l=0,c=r);l<a;l++)f=s[l],c=o(c,t[f],f,t);return c};function Xu(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 yi(e){var t=Xu(e);return t.length===1?t[0].toString(16):null}function Ju(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 ha(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 _i(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,s=ha(t);typeof Be.hooks.addPack=="function"&&!i?Be.hooks.addPack(e,ha(t)):Be.styles[e]=C(C({},Be.styles[e]||{}),s),e==="fas"&&_i("fa",t)}var Wn,Yn,Kn,Bt=Be.styles,Qu=Be.shims,Zu=(Wn={},me(Wn,te,Object.values(xn[te])),me(Wn,le,Object.values(xn[le])),Wn),ss=null,dl={},hl={},pl={},ml={},gl={},ed=(Yn={},me(Yn,te,Object.keys(yn[te])),me(Yn,le,Object.keys(yn[le])),Yn);function td(e){return~$u.indexOf(e)}function nd(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!td(i)?i:null}var bl=function(){var t=function(s){return Gr(Bt,function(a,o,l){return a[l]=Gr(o,s,{}),a},{})};dl=t(function(i,s,a){if(s[3]&&(i[s[3]]=a),s[2]){var o=s[2].filter(function(l){return typeof l=="number"});o.forEach(function(l){i[l.toString(16)]=a})}return i}),hl=t(function(i,s,a){if(i[a]=a,s[2]){var o=s[2].filter(function(l){return typeof l=="string"});o.forEach(function(l){i[l]=a})}return i}),gl=t(function(i,s,a){var o=s[2];return i[a]=a,o.forEach(function(l){i[l]=a}),i});var n="far"in Bt||N.autoFetchSvg,r=Gr(Qu,function(i,s){var a=s[0],o=s[1],l=s[2];return o==="far"&&!n&&(o="fas"),typeof a=="string"&&(i.names[a]={prefix:o,iconName:l}),typeof a=="number"&&(i.unicodes[a.toString(16)]={prefix:o,iconName:l}),i},{names:{},unicodes:{}});pl=r.names,ml=r.unicodes,ss=Lr(N.styleDefault,{family:N.familyDefault})};zu(function(e){ss=Lr(e.styleDefault,{family:N.familyDefault})});bl();function as(e,t){return(dl[e]||{})[t]}function rd(e,t){return(hl[e]||{})[t]}function At(e,t){return(gl[e]||{})[t]}function vl(e){return pl[e]||{prefix:null,iconName:null}}function id(e){var t=ml[e],n=as("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function pt(){return ss}var os=function(){return{prefix:null,iconName:null,rest:[]}};function Lr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?te:n,i=yn[r][e],s=_n[r][e]||_n[r][i],a=e in Be.styles?e:null;return s||a||null}var pa=(Kn={},me(Kn,te,Object.keys(xn[te])),me(Kn,le,Object.keys(xn[le])),Kn);function Ir(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,s=(t={},me(t,te,"".concat(N.cssPrefix,"-").concat(te)),me(t,le,"".concat(N.cssPrefix,"-").concat(le)),t),a=null,o=te;(e.includes(s[te])||e.some(function(f){return pa[te].includes(f)}))&&(o=te),(e.includes(s[le])||e.some(function(f){return pa[le].includes(f)}))&&(o=le);var l=e.reduce(function(f,c){var h=nd(N.cssPrefix,c);if(Bt[c]?(c=Zu[o].includes(c)?Pu[o][c]:c,a=c,f.prefix=c):ed[o].indexOf(c)>-1?(a=c,f.prefix=Lr(c,{family:o})):h?f.iconName=h:c!==N.replacementClass&&c!==s[te]&&c!==s[le]&&f.rest.push(c),!i&&f.prefix&&f.iconName){var m=a==="fa"?vl(f.iconName):{},k=At(f.prefix,f.iconName);m.prefix&&(a=null),f.iconName=m.iconName||k||f.iconName,f.prefix=m.prefix||f.prefix,f.prefix==="far"&&!Bt.far&&Bt.fas&&!N.autoFetchSvg&&(f.prefix="fas")}return f},os());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&o===le&&(Bt.fass||N.autoFetchSvg)&&(l.prefix="fass",l.iconName=At(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||a==="fa")&&(l.prefix=pt()||"fas"),l}var sd=function(){function e(){bu(this,e),this.definitions={}}return yu(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 a=i.reduce(this._pullDefinitions,{});Object.keys(a).forEach(function(o){n.definitions[o]=C(C({},n.definitions[o]||{}),a[o]),_i(o,a[o]);var l=xn[te][o];l&&_i(l,a[o]),bl()})}},{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 a=i[s],o=a.prefix,l=a.iconName,f=a.icon,c=f[2];n[o]||(n[o]={}),c.length>0&&c.forEach(function(h){typeof h=="string"&&(n[o][h]=f)}),n[o][l]=f}),n}}]),e}(),ma=[],jt={},Ut={},ad=Object.keys(Ut);function od(e,t){var n=t.mixoutsTo;return ma=e,jt={},Object.keys(Ut).forEach(function(r){ad.indexOf(r)===-1&&delete Ut[r]}),ma.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(a){typeof i[a]=="function"&&(n[a]=i[a]),gr(i[a])==="object"&&Object.keys(i[a]).forEach(function(o){n[a]||(n[a]={}),n[a][o]=i[a][o]})}),r.hooks){var s=r.hooks();Object.keys(s).forEach(function(a){jt[a]||(jt[a]=[]),jt[a].push(s[a])})}r.provides&&r.provides(Ut)}),n}function xi(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=jt[e]||[];return s.forEach(function(a){t=a.apply(null,[t].concat(r))}),t}function Nt(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=jt[e]||[];i.forEach(function(s){s.apply(null,n)})}function tt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Ut[e]?Ut[e].apply(null,t):void 0}function wi(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||pt();if(t)return t=At(n,t)||t,da(yl.definitions,n,t)||da(Be.styles,n,t)}var yl=new sd,ld=function(){N.autoReplaceSvg=!1,N.observeMutations=!1,Nt("noAuto")},cd={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return rt?(Nt("beforeI2svg",t),tt("pseudoElements2svg",t),tt("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;N.autoReplaceSvg===!1&&(N.autoReplaceSvg=!0),N.observeMutations=!0,Gu(function(){ud({autoReplaceSvgRoot:n}),Nt("watch",t)})}},fd={icon:function(t){if(t===null)return null;if(gr(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:At(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=Lr(t[0]);return{prefix:r,iconName:At(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(N.cssPrefix,"-"))>-1||t.match(Nu))){var i=Ir(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||pt(),iconName:At(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var s=pt();return{prefix:s,iconName:At(s,t)||t}}}},Pe={noAuto:ld,config:N,dom:cd,parse:fd,library:yl,findIconDefinition:wi,toHtml:Sn},ud=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?ne:n;(Object.keys(Be.styles).length>0||N.autoFetchSvg)&&rt&&N.autoReplaceSvg&&Pe.dom.i2svg({node:r})};function Mr(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return Sn(r)})}}),Object.defineProperty(e,"node",{get:function(){if(rt){var r=ne.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function dd(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,s=e.styles,a=e.transform;if(is(a)&&n.found&&!r.found){var o=n.width,l=n.height,f={x:o/l/2,y:.5};i.style=Rr(C(C({},s),{},{"transform-origin":"".concat(f.x+a.x/16,"em ").concat(f.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function hd(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,s=e.symbol,a=s===!0?"".concat(t,"-").concat(N.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:C(C({},i),{},{id:a}),children:r}]}]}function ls(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,s=e.iconName,a=e.transform,o=e.symbol,l=e.title,f=e.maskId,c=e.titleId,h=e.extra,m=e.watchable,k=m===void 0?!1:m,B=r.found?r:n,M=B.width,K=B.height,E=i==="fak",O=[N.replacementClass,s?"".concat(N.cssPrefix,"-").concat(s):""].filter(function(xe){return h.classes.indexOf(xe)===-1}).filter(function(xe){return xe!==""||!!xe}).concat(h.classes).join(" "),R={children:[],attributes:C(C({},h.attributes),{},{"data-prefix":i,"data-icon":s,class:O,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(M," ").concat(K)})},z=E&&!~h.classes.indexOf("fa-fw")?{width:"".concat(M/K*16*.0625,"em")}:{};k&&(R.attributes[Pt]=""),l&&(R.children.push({tag:"title",attributes:{id:R.attributes["aria-labelledby"]||"title-".concat(c||kn())},children:[l]}),delete R.attributes.title);var V=C(C({},R),{},{prefix:i,iconName:s,main:n,mask:r,maskId:f,transform:a,symbol:o,styles:C(C({},z),h.styles)}),T=r.found&&n.found?tt("generateAbstractMask",V)||{children:[],attributes:{}}:tt("generateAbstractIcon",V)||{children:[],attributes:{}},G=T.children,ce=T.attributes;return V.children=G,V.attributes=ce,o?hd(V):dd(V)}function ga(e){var t=e.content,n=e.width,r=e.height,i=e.transform,s=e.title,a=e.extra,o=e.watchable,l=o===void 0?!1:o,f=C(C(C({},a.attributes),s?{title:s}:{}),{},{class:a.classes.join(" ")});l&&(f[Pt]="");var c=C({},a.styles);is(i)&&(c.transform=qu({transform:i,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);var h=Rr(c);h.length>0&&(f.style=h);var m=[];return m.push({tag:"span",attributes:f,children:[t]}),s&&m.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),m}function pd(e){var t=e.content,n=e.title,r=e.extra,i=C(C(C({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),s=Rr(r.styles);s.length>0&&(i.style=s);var a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}var Xr=Be.styles;function ki(e){var t=e[0],n=e[1],r=e.slice(4),i=Qi(r,1),s=i[0],a=null;return Array.isArray(s)?a={tag:"g",attributes:{class:"".concat(N.cssPrefix,"-").concat(Et.GROUP)},children:[{tag:"path",attributes:{class:"".concat(N.cssPrefix,"-").concat(Et.SECONDARY),fill:"currentColor",d:s[0]}},{tag:"path",attributes:{class:"".concat(N.cssPrefix,"-").concat(Et.PRIMARY),fill:"currentColor",d:s[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:s}},{found:!0,width:t,height:n,icon:a}}var md={found:!1,width:512,height:512};function gd(e,t){!sl&&!N.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Ei(e,t){var n=t;return t==="fa"&&N.styleDefault!==null&&(t=pt()),new Promise(function(r,i){if(tt("missingIconAbstract"),n==="fa"){var s=vl(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&Xr[t]&&Xr[t][e]){var a=Xr[t][e];return r(ki(a))}gd(e,t),r(C(C({},md),{},{icon:N.showMissingIcons&&e?tt("missingIconAbstract")||{}:{}}))})}var ba=function(){},Ai=N.measurePerformance&&zn&&zn.mark&&zn.measure?zn:{mark:ba,measure:ba},sn='FA "6.5.2"',bd=function(t){return Ai.mark("".concat(sn," ").concat(t," begins")),function(){return _l(t)}},_l=function(t){Ai.mark("".concat(sn," ").concat(t," ends")),Ai.measure("".concat(sn," ").concat(t),"".concat(sn," ").concat(t," begins"),"".concat(sn," ").concat(t," ends"))},cs={begin:bd,end:_l},ar=function(){};function va(e){var t=e.getAttribute?e.getAttribute(Pt):null;return typeof t=="string"}function vd(e){var t=e.getAttribute?e.getAttribute(es):null,n=e.getAttribute?e.getAttribute(ts):null;return t&&n}function yd(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(N.replacementClass)}function _d(){if(N.autoReplaceSvg===!0)return or.replace;var e=or[N.autoReplaceSvg];return e||or.replace}function xd(e){return ne.createElementNS("http://www.w3.org/2000/svg",e)}function wd(e){return ne.createElement(e)}function xl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?xd:wd:n;if(typeof e=="string")return ne.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(a){i.setAttribute(a,e.attributes[a])});var s=e.children||[];return s.forEach(function(a){i.appendChild(xl(a,{ceFn:r}))}),i}function kd(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var or={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(xl(i),n)}),n.getAttribute(Pt)===null&&N.keepOriginalSource){var r=ne.createComment(kd(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~rs(n).indexOf(N.replacementClass))return or.replace(t);var i=new RegExp("".concat(N.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var s=r[0].attributes.class.split(" ").reduce(function(o,l){return l===N.replacementClass||l.match(i)?o.toSvg.push(l):o.toNode.push(l),o},{toNode:[],toSvg:[]});r[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",s.toNode.join(" "))}var a=r.map(function(o){return Sn(o)}).join(`
`);n.setAttribute(Pt,""),n.innerHTML=a}};function ya(e){e()}function wl(e,t){var n=typeof t=="function"?t:ar;if(e.length===0)n();else{var r=ya;N.mutateApproach===Su&&(r=ht.requestAnimationFrame||ya),r(function(){var i=_d(),s=cs.begin("mutate");e.map(i),s(),n()})}}var fs=!1;function kl(){fs=!0}function Oi(){fs=!1}var vr=null;function _a(e){if(ca&&N.observeMutations){var t=e.treeCallback,n=t===void 0?ar:t,r=e.nodeCallback,i=r===void 0?ar:r,s=e.pseudoElementsCallback,a=s===void 0?ar:s,o=e.observeMutationsRoot,l=o===void 0?ne:o;vr=new ca(function(f){if(!fs){var c=pt();Gt(f).forEach(function(h){if(h.type==="childList"&&h.addedNodes.length>0&&!va(h.addedNodes[0])&&(N.searchPseudoElements&&a(h.target),n(h.target)),h.type==="attributes"&&h.target.parentNode&&N.searchPseudoElements&&a(h.target.parentNode),h.type==="attributes"&&va(h.target)&&~Mu.indexOf(h.attributeName))if(h.attributeName==="class"&&vd(h.target)){var m=Ir(rs(h.target)),k=m.prefix,B=m.iconName;h.target.setAttribute(es,k||c),B&&h.target.setAttribute(ts,B)}else yd(h.target)&&i(h.target)})}}),rt&&vr.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Ed(){vr&&vr.disconnect()}function Ad(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var s=i.split(":"),a=s[0],o=s.slice(1);return a&&o.length>0&&(r[a]=o.join(":").trim()),r},{})),n}function Od(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Ir(rs(e));return i.prefix||(i.prefix=pt()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=rd(i.prefix,e.innerText)||as(i.prefix,yi(e.innerText))),!i.iconName&&N.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function Cd(e){var t=Gt(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 N.autoA11y&&(n?t["aria-labelledby"]="".concat(N.replacementClass,"-title-").concat(r||kn()):(t["aria-hidden"]="true",t.focusable="false")),t}function Sd(){return{iconName:null,title:null,titleId:null,prefix:null,transform:qe,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function xa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=Od(e),r=n.iconName,i=n.prefix,s=n.rest,a=Cd(e),o=xi("parseNodeAttributes",{},e),l=t.styleParser?Ad(e):[];return C({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:qe,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:s,styles:l,attributes:a}},o)}var Td=Be.styles;function El(e){var t=N.autoReplaceSvg==="nest"?xa(e,{styleParser:!1}):xa(e);return~t.extra.classes.indexOf(al)?tt("generateLayersText",e,t):tt("generateSvgReplacementMutation",e,t)}var mt=new Set;ns.map(function(e){mt.add("fa-".concat(e))});Object.keys(yn[te]).map(mt.add.bind(mt));Object.keys(yn[le]).map(mt.add.bind(mt));mt=On(mt);function wa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!rt)return Promise.resolve();var n=ne.documentElement.classList,r=function(h){return n.add("".concat(fa,"-").concat(h))},i=function(h){return n.remove("".concat(fa,"-").concat(h))},s=N.autoFetchSvg?mt:ns.map(function(c){return"fa-".concat(c)}).concat(Object.keys(Td));s.includes("fa")||s.push("fa");var a=[".".concat(al,":not([").concat(Pt,"])")].concat(s.map(function(c){return".".concat(c,":not([").concat(Pt,"])")})).join(", ");if(a.length===0)return Promise.resolve();var o=[];try{o=Gt(e.querySelectorAll(a))}catch{}if(o.length>0)r("pending"),i("complete");else return Promise.resolve();var l=cs.begin("onTree"),f=o.reduce(function(c,h){try{var m=El(h);m&&c.push(m)}catch(k){sl||k.name==="MissingIcon"&&console.error(k)}return c},[]);return new Promise(function(c,h){Promise.all(f).then(function(m){wl(m,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),c()})}).catch(function(m){l(),h(m)})})}function Pd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;El(e).then(function(n){n&&wl([n],t)})}function Nd(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:wi(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:wi(i||{})),e(r,C(C({},n),{},{mask:i}))}}var Rd=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?qe:r,s=n.symbol,a=s===void 0?!1:s,o=n.mask,l=o===void 0?null:o,f=n.maskId,c=f===void 0?null:f,h=n.title,m=h===void 0?null:h,k=n.titleId,B=k===void 0?null:k,M=n.classes,K=M===void 0?[]:M,E=n.attributes,O=E===void 0?{}:E,R=n.styles,z=R===void 0?{}:R;if(t){var V=t.prefix,T=t.iconName,G=t.icon;return Mr(C({type:"icon"},t),function(){return Nt("beforeDOMElementCreation",{iconDefinition:t,params:n}),N.autoA11y&&(m?O["aria-labelledby"]="".concat(N.replacementClass,"-title-").concat(B||kn()):(O["aria-hidden"]="true",O.focusable="false")),ls({icons:{main:ki(G),mask:l?ki(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:V,iconName:T,transform:C(C({},qe),i),symbol:a,title:m,maskId:c,titleId:B,extra:{attributes:O,styles:z,classes:K}})})}},Ld={mixout:function(){return{icon:Nd(Rd)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=wa,n.nodeCallback=Pd,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?ne:r,s=n.callback,a=s===void 0?function(){}:s;return wa(i,a)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,s=r.title,a=r.titleId,o=r.prefix,l=r.transform,f=r.symbol,c=r.mask,h=r.maskId,m=r.extra;return new Promise(function(k,B){Promise.all([Ei(i,o),c.iconName?Ei(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(M){var K=Qi(M,2),E=K[0],O=K[1];k([n,ls({icons:{main:E,mask:O},prefix:o,iconName:i,transform:l,symbol:f,maskId:h,title:s,titleId:a,extra:m,watchable:!0})])}).catch(B)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,s=n.main,a=n.transform,o=n.styles,l=Rr(o);l.length>0&&(i.style=l);var f;return is(a)&&(f=tt("generateAbstractTransformGrouping",{main:s,transform:a,containerWidth:s.width,iconWidth:s.width})),r.push(f||s.icon),{children:r,attributes:i}}}},Id={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 Mr({type:"layer"},function(){Nt("beforeDOMElementCreation",{assembler:n,params:r});var a=[];return n(function(o){Array.isArray(o)?o.map(function(l){a=a.concat(l.abstract)}):a=a.concat(o.abstract)}),[{tag:"span",attributes:{class:["".concat(N.cssPrefix,"-layers")].concat(On(s)).join(" ")},children:a}]})}}}},Md={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,a=r.classes,o=a===void 0?[]:a,l=r.attributes,f=l===void 0?{}:l,c=r.styles,h=c===void 0?{}:c;return Mr({type:"counter",content:n},function(){return Nt("beforeDOMElementCreation",{content:n,params:r}),pd({content:n.toString(),title:s,extra:{attributes:f,styles:h,classes:["".concat(N.cssPrefix,"-layers-counter")].concat(On(o))}})})}}}},$d={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,s=i===void 0?qe:i,a=r.title,o=a===void 0?null:a,l=r.classes,f=l===void 0?[]:l,c=r.attributes,h=c===void 0?{}:c,m=r.styles,k=m===void 0?{}:m;return Mr({type:"text",content:n},function(){return Nt("beforeDOMElementCreation",{content:n,params:r}),ga({content:n,transform:C(C({},qe),s),title:o,extra:{attributes:h,styles:k,classes:["".concat(N.cssPrefix,"-layers-text")].concat(On(f))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,s=r.transform,a=r.extra,o=null,l=null;if(nl){var f=parseInt(getComputedStyle(n).fontSize,10),c=n.getBoundingClientRect();o=c.width/f,l=c.height/f}return N.autoA11y&&!i&&(a.attributes["aria-hidden"]="true"),Promise.resolve([n,ga({content:n.innerHTML,width:o,height:l,transform:s,title:i,extra:a,watchable:!0})])}}},Fd=new RegExp('"',"ug"),ka=[1105920,1112319];function Bd(e){var t=e.replace(Fd,""),n=Ju(t,0),r=n>=ka[0]&&n<=ka[1],i=t.length===2?t[0]===t[1]:!1;return{value:yi(i?t[0]:t),isSecondary:r||i}}function Ea(e,t){var n="".concat(Cu).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var s=Gt(e.children),a=s.filter(function(G){return G.getAttribute(vi)===t})[0],o=ht.getComputedStyle(e,t),l=o.getPropertyValue("font-family").match(Ru),f=o.getPropertyValue("font-weight"),c=o.getPropertyValue("content");if(a&&!l)return e.removeChild(a),r();if(l&&c!=="none"&&c!==""){var h=o.getPropertyValue("content"),m=~["Sharp"].indexOf(l[2])?le:te,k=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?_n[m][l[2].toLowerCase()]:Lu[m][f],B=Bd(h),M=B.value,K=B.isSecondary,E=l[0].startsWith("FontAwesome"),O=as(k,M),R=O;if(E){var z=id(M);z.iconName&&z.prefix&&(O=z.iconName,k=z.prefix)}if(O&&!K&&(!a||a.getAttribute(es)!==k||a.getAttribute(ts)!==R)){e.setAttribute(n,R),a&&e.removeChild(a);var V=Sd(),T=V.extra;T.attributes[vi]=t,Ei(O,k).then(function(G){var ce=ls(C(C({},V),{},{icons:{main:G,mask:os()},prefix:k,iconName:R,extra:T,watchable:!0})),xe=ne.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(xe,e.firstChild):e.appendChild(xe),xe.outerHTML=ce.map(function(Ke){return Sn(Ke)}).join(`
`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function jd(e){return Promise.all([Ea(e,"::before"),Ea(e,"::after")])}function zd(e){return e.parentNode!==document.head&&!~Tu.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(vi)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Aa(e){if(rt)return new Promise(function(t,n){var r=Gt(e.querySelectorAll("*")).filter(zd).map(jd),i=cs.begin("searchPseudoElements");kl(),Promise.all(r).then(function(){i(),Oi(),t()}).catch(function(){i(),Oi(),n()})})}var Dd={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Aa,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?ne:r;N.searchPseudoElements&&Aa(i)}}},Oa=!1,Hd={mixout:function(){return{dom:{unwatch:function(){kl(),Oa=!0}}}},hooks:function(){return{bootstrap:function(){_a(xi("mutationObserverCallbacks",{}))},noAuto:function(){Ed()},watch:function(n){var r=n.observeMutationsRoot;Oa?Oi():_a(xi("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Ca=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("-"),a=s[0],o=s.slice(1).join("-");if(a&&o==="h")return r.flipX=!0,r;if(a&&o==="v")return r.flipY=!0,r;if(o=parseFloat(o),isNaN(o))return r;switch(a){case"grow":r.size=r.size+o;break;case"shrink":r.size=r.size-o;break;case"left":r.x=r.x-o;break;case"right":r.x=r.x+o;break;case"up":r.y=r.y-o;break;case"down":r.y=r.y+o;break;case"rotate":r.rotate=r.rotate+o;break}return r},n)},Ud={mixout:function(){return{parse:{transform:function(n){return Ca(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=Ca(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,s=n.containerWidth,a=n.iconWidth,o={transform:"translate(".concat(s/2," 256)")},l="translate(".concat(i.x*32,", ").concat(i.y*32,") "),f="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),c="rotate(".concat(i.rotate," 0 0)"),h={transform:"".concat(l," ").concat(f," ").concat(c)},m={transform:"translate(".concat(a/2*-1," -256)")},k={outer:o,inner:h,path:m};return{tag:"g",attributes:C({},k.outer),children:[{tag:"g",attributes:C({},k.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:C(C({},r.icon.attributes),k.path)}]}]}}}},Jr={x:0,y:0,width:"100%",height:"100%"};function Sa(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 Vd(e){return e.tag==="g"?e.children:[e]}var qd={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),s=i?Ir(i.split(" ").map(function(a){return a.trim()})):os();return s.prefix||(s.prefix=pt()),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,a=n.mask,o=n.maskId,l=n.transform,f=s.width,c=s.icon,h=a.width,m=a.icon,k=Vu({transform:l,containerWidth:h,iconWidth:f}),B={tag:"rect",attributes:C(C({},Jr),{},{fill:"white"})},M=c.children?{children:c.children.map(Sa)}:{},K={tag:"g",attributes:C({},k.inner),children:[Sa(C({tag:c.tag,attributes:C(C({},c.attributes),k.path)},M))]},E={tag:"g",attributes:C({},k.outer),children:[K]},O="mask-".concat(o||kn()),R="clip-".concat(o||kn()),z={tag:"mask",attributes:C(C({},Jr),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[B,E]},V={tag:"defs",children:[{tag:"clipPath",attributes:{id:R},children:Vd(m)},z]};return r.push(V,{tag:"rect",attributes:C({fill:"currentColor","clip-path":"url(#".concat(R,")"),mask:"url(#".concat(O,")")},Jr)}),{children:r,attributes:i}}}},Wd={provides:function(t){var n=!1;ht.matchMedia&&(n=ht.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:C(C({},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 a=C(C({},s),{},{attributeName:"opacity"}),o={tag:"circle",attributes:C(C({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||o.children.push({tag:"animate",attributes:C(C({},s),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:C(C({},a),{},{values:"1;0;1;1;0;1;"})}),r.push(o),r.push({tag:"path",attributes:C(C({},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:C(C({},a),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:C(C({},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:C(C({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},Yd={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}}}},Kd=[Yu,Ld,Id,Md,$d,Dd,Hd,Ud,qd,Wd,Yd];od(Kd,{mixoutsTo:Pe});Pe.noAuto;Pe.config;Pe.library;Pe.dom;var Ci=Pe.parse;Pe.findIconDefinition;Pe.toHtml;var Gd=Pe.icon;Pe.layer;Pe.text;Pe.counter;function Ta(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 Je(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ta(Object(n),!0).forEach(function(r){Ae(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ta(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xd(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Jd(e){var t=Xd(e,"string");return typeof t=="symbol"?t:t+""}function yr(e){"@babel/helpers - typeof";return yr=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},yr(e)}function Ae(e,t,n){return t=Jd(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qd(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Zd(e,t){if(e==null)return{};var n=Qd(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}var eh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Al={exports:{}};(function(e){(function(t){var n=function(E,O,R){if(!f(O)||h(O)||m(O)||k(O)||l(O))return O;var z,V=0,T=0;if(c(O))for(z=[],T=O.length;V<T;V++)z.push(n(E,O[V],R));else{z={};for(var G in O)Object.prototype.hasOwnProperty.call(O,G)&&(z[E(G,R)]=n(E,O[G],R))}return z},r=function(E,O){O=O||{};var R=O.separator||"_",z=O.split||/(?=[A-Z])/;return E.split(z).join(R)},i=function(E){return B(E)?E:(E=E.replace(/[\-_\s]+(.)?/g,function(O,R){return R?R.toUpperCase():""}),E.substr(0,1).toLowerCase()+E.substr(1))},s=function(E){var O=i(E);return O.substr(0,1).toUpperCase()+O.substr(1)},a=function(E,O){return r(E,O).toLowerCase()},o=Object.prototype.toString,l=function(E){return typeof E=="function"},f=function(E){return E===Object(E)},c=function(E){return o.call(E)=="[object Array]"},h=function(E){return o.call(E)=="[object Date]"},m=function(E){return o.call(E)=="[object RegExp]"},k=function(E){return o.call(E)=="[object Boolean]"},B=function(E){return E=E-0,E===E},M=function(E,O){var R=O&&"process"in O?O.process:O;return typeof R!="function"?E:function(z,V){return R(z,E,V)}},K={camelize:i,decamelize:a,pascalize:s,depascalize:a,camelizeKeys:function(E,O){return n(M(i,O),E)},decamelizeKeys:function(E,O){return n(M(a,O),E,O)},pascalizeKeys:function(E,O){return n(M(s,O),E)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=K:t.humps=K})(eh)})(Al);var th=Al.exports,nh=["class","style"];function rh(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=th.camelize(n.slice(0,r)),s=n.slice(r+1).trim();return t[i]=s,t},{})}function ih(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function Ol(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(l){return Ol(l)}),i=Object.keys(e.attributes||{}).reduce(function(l,f){var c=e.attributes[f];switch(f){case"class":l.class=ih(c);break;case"style":l.style=rh(c);break;default:l.attrs[f]=c}return l},{attrs:{},class:{},style:{}});n.class;var s=n.style,a=s===void 0?{}:s,o=Zd(n,nh);return Vf(e.tag,Je(Je(Je({},t),{},{class:i.class,style:Je(Je({},i.style),a)},i.attrs),o),r)}var Cl=!1;try{Cl=!0}catch{}function sh(){if(!Cl&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Qr(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Ae({},e,t):{}}function ah(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"},Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(Ae(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),"fa-flash",e.flash),Ae(Ae(t,"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse));return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function Pa(e){if(e&&yr(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Ci.icon)return Ci.icon(e);if(e===null)return null;if(yr(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 he=sf({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},maskId:{type: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},titleId:{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=ie(function(){return Pa(t.icon)}),s=ie(function(){return Qr("classes",ah(t))}),a=ie(function(){return Qr("transform",typeof t.transform=="string"?Ci.transform(t.transform):t.transform)}),o=ie(function(){return Qr("mask",Pa(t.mask))}),l=ie(function(){return Gd(i.value,Je(Je(Je(Je({},s.value),a.value),o.value),{},{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))});ut(l,function(c){if(!c)return sh("Could not find one or more icon(s)",i.value,o.value)},{immediate:!0});var f=ie(function(){return l.value?Ol(l.value.abstract[0],{},r):null});return function(){return f.value}}}),Zr={prefix:"fas",iconName:"cloud",icon:[640,512,[9729],"f0c2","M0 336c0 79.5 64.5 144 144 144H512c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"]},oh={prefix:"fas",iconName:"hourglass-half",icon:[384,512,["hourglass-2"],"f252","M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64V75c0 42.4 16.9 83.1 46.9 113.1L146.7 256 78.9 323.9C48.9 353.9 32 394.6 32 437v11c-17.7 0-32 14.3-32 32s14.3 32 32 32H64 320h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V437c0-42.4-16.9-83.1-46.9-113.1L237.3 256l67.9-67.9c30-30 46.9-70.7 46.9-113.1V64c17.7 0 32-14.3 32-32s-14.3-32-32-32H320 64 32zM96 75V64H288V75c0 19-5.6 37.4-16 53H112c-10.3-15.6-16-34-16-53zm16 309c3.5-5.3 7.6-10.3 12.1-14.9L192 301.3l67.9 67.9c4.6 4.6 8.6 9.6 12.1 14.9H112z"]},lh={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]},ch={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},Na={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},fh={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},Ra={prefix:"fas",iconName:"signal",icon:[640,512,[128246,"signal-5","signal-perfect"],"f012","M576 0c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V32c0-17.7 14.3-32 32-32zM448 96c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V128c0-17.7 14.3-32 32-32zM352 224V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V224c0-17.7 14.3-32 32-32s32 14.3 32 32zM192 288c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V320c0-17.7 14.3-32 32-32zM96 416v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V416c0-17.7 14.3-32 32-32s32 14.3 32 32z"]},uh={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]},dh={prefix:"fas",iconName:"suitcase-medical",icon:[512,512,["medkit"],"f0fa","M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96v32V480H384V128 96 56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM96 96H64C28.7 96 0 124.7 0 160V416c0 35.3 28.7 64 64 64H96V96zM416 480h32c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H416V480zM224 208c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H288v48c0 8.8-7.2 16-16 16H240c-8.8 0-16-7.2-16-16V320H176c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h48V208z"]},hh={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},ei=hh,ph={prefix:"fas",iconName:"medal",icon:[512,512,[127941],"f5a2","M4.1 38.2C1.4 34.2 0 29.4 0 24.6C0 11 11 0 24.6 0H133.9c11.2 0 21.7 5.9 27.4 15.5l68.5 114.1c-48.2 6.1-91.3 28.6-123.4 61.9L4.1 38.2zm503.7 0L405.6 191.5c-32.1-33.3-75.2-55.8-123.4-61.9L350.7 15.5C356.5 5.9 366.9 0 378.1 0H487.4C501 0 512 11 512 24.6c0 4.8-1.4 9.6-4.1 13.6zM80 336a176 176 0 1 1 352 0A176 176 0 1 1 80 336zm184.4-94.9c-3.4-7-13.3-7-16.8 0l-22.4 45.4c-1.4 2.8-4 4.7-7 5.1L168 298.9c-7.7 1.1-10.7 10.5-5.2 16l36.3 35.4c2.2 2.2 3.2 5.2 2.7 8.3l-8.6 49.9c-1.3 7.6 6.7 13.5 13.6 9.9l44.8-23.6c2.7-1.4 6-1.4 8.7 0l44.8 23.6c6.9 3.6 14.9-2.2 13.6-9.9l-8.6-49.9c-.5-3 .5-6.1 2.7-8.3l36.3-35.4c5.6-5.4 2.5-14.8-5.2-16l-50.1-7.3c-3-.4-5.7-2.4-7-5.1l-22.4-45.4z"]},mh={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},gh=mh,bh={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z"]},vh={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},Sl={prefix:"fas",iconName:"graduation-cap",icon:[640,512,[127891,"mortar-board"],"f19d","M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z"]};const yh={class:"flex"},_h={class:"grid cursor-pointer place-items-center"},xh=["checked"],wh=If('<svg class="stroke-base-100 fill-base-100 col-start-1 row-start-1" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"></circle><path d="M12 1v2M12 21v2M4.2 4.2l1.4 1.4M18.4 18.4l1.4 1.4M1 12h2M21 12h2M4.2 19.8l1.4-1.4M18.4 5.6l1.4-1.4"></path></svg><svg class="stroke-base-100 fill-base-100 col-start-2 row-start-1" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>',2),kh={__name:"TheThemeButton",setup(e){const t=qt(!0);return ut(t,n=>{n?document.getElementsByTagName("body")[0].classList.add("dark"):document.getElementsByTagName("body")[0].classList.remove("dark")}),(n,r)=>($(),H("div",yh,[g("label",_h,[g("input",{type:"checkbox",onClick:r[0]||(r[0]=i=>t.value=!t.value),checked:t.value,class:"toggle theme-controller bg-slate-400 col-span-2 col-start-1 row-start-1 [--tglbg:#e2e8f0]"},null,8,xh),wh])]))}},Ye=Object.create(null);Ye.open="0";Ye.close="1";Ye.ping="2";Ye.pong="3";Ye.message="4";Ye.upgrade="5";Ye.noop="6";const lr=Object.create(null);Object.keys(Ye).forEach(e=>{lr[Ye[e]]=e});const Si={type:"error",data:"parser error"},Tl=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Pl=typeof ArrayBuffer=="function",Nl=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,us=({type:e,data:t},n,r)=>Tl&&t instanceof Blob?n?r(t):La(t,r):Pl&&(t instanceof ArrayBuffer||Nl(t))?n?r(t):La(new Blob([t]),r):r(Ye[e]+(t||"")),La=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function Ia(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let ti;function Eh(e,t){if(Tl&&e.data instanceof Blob)return e.data.arrayBuffer().then(Ia).then(t);if(Pl&&(e.data instanceof ArrayBuffer||Nl(e.data)))return t(Ia(e.data));us(e,!1,n=>{ti||(ti=new TextEncoder),t(ti.encode(n))})}const Ma="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",an=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<Ma.length;e++)an[Ma.charCodeAt(e)]=e;const Ah=e=>{let t=e.length*.75,n=e.length,r,i=0,s,a,o,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const f=new ArrayBuffer(t),c=new Uint8Array(f);for(r=0;r<n;r+=4)s=an[e.charCodeAt(r)],a=an[e.charCodeAt(r+1)],o=an[e.charCodeAt(r+2)],l=an[e.charCodeAt(r+3)],c[i++]=s<<2|a>>4,c[i++]=(a&15)<<4|o>>2,c[i++]=(o&3)<<6|l&63;return f},Oh=typeof ArrayBuffer=="function",ds=(e,t)=>{if(typeof e!="string")return{type:"message",data:Rl(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:Ch(e.substring(1),t)}:lr[n]?e.length>1?{type:lr[n],data:e.substring(1)}:{type:lr[n]}:Si},Ch=(e,t)=>{if(Oh){const n=Ah(e);return Rl(n,t)}else return{base64:!0,data:e}},Rl=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},Ll="",Sh=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((s,a)=>{us(s,!1,o=>{r[a]=o,++i===n&&t(r.join(Ll))})})},Th=(e,t)=>{const n=e.split(Ll),r=[];for(let i=0;i<n.length;i++){const s=ds(n[i],t);if(r.push(s),s.type==="error")break}return r};function Ph(){return new TransformStream({transform(e,t){Eh(e,n=>{const r=n.length;let i;if(r<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,r);else if(r<65536){i=new Uint8Array(3);const s=new DataView(i.buffer);s.setUint8(0,126),s.setUint16(1,r)}else{i=new Uint8Array(9);const s=new DataView(i.buffer);s.setUint8(0,127),s.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}let ni;function Gn(e){return e.reduce((t,n)=>t+n.length,0)}function Xn(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function Nh(e,t){ni||(ni=new TextDecoder);const n=[];let r=0,i=-1,s=!1;return new TransformStream({transform(a,o){for(n.push(a);;){if(r===0){if(Gn(n)<1)break;const l=Xn(n,1);s=(l[0]&128)===128,i=l[0]&127,i<126?r=3:i===126?r=1:r=2}else if(r===1){if(Gn(n)<2)break;const l=Xn(n,2);i=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),r=3}else if(r===2){if(Gn(n)<8)break;const l=Xn(n,8),f=new DataView(l.buffer,l.byteOffset,l.length),c=f.getUint32(0);if(c>Math.pow(2,21)-1){o.enqueue(Si);break}i=c*Math.pow(2,32)+f.getUint32(4),r=3}else{if(Gn(n)<i)break;const l=Xn(n,i);o.enqueue(ds(s?l:ni.decode(l),t)),r=0}if(i===0||i>e){o.enqueue(Si);break}}}})}const Il=4;function fe(e){if(e)return Rh(e)}function Rh(e){for(var t in fe.prototype)e[t]=fe.prototype[t];return e}fe.prototype.on=fe.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};fe.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};fe.prototype.off=fe.prototype.removeListener=fe.prototype.removeAllListeners=fe.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks["$"+e],this};fe.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this};fe.prototype.emitReserved=fe.prototype.emit;fe.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};fe.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Ne=typeof self<"u"?self:typeof window<"u"?window:Function("return this")();function Ml(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const Lh=Ne.setTimeout,Ih=Ne.clearTimeout;function $r(e,t){t.useNativeTimers?(e.setTimeoutFn=Lh.bind(Ne),e.clearTimeoutFn=Ih.bind(Ne)):(e.setTimeoutFn=Ne.setTimeout.bind(Ne),e.clearTimeoutFn=Ne.clearTimeout.bind(Ne))}const Mh=1.33;function $h(e){return typeof e=="string"?Fh(e):Math.ceil((e.byteLength||e.size)*Mh)}function Fh(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function Bh(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function jh(e){let t={},n=e.split("&");for(let r=0,i=n.length;r<i;r++){let s=n[r].split("=");t[decodeURIComponent(s[0])]=decodeURIComponent(s[1])}return t}class zh extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class hs extends fe{constructor(t){super(),this.writable=!1,$r(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new zh(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=ds(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=Bh(t);return n.length?"?"+n:""}}const $l="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Ti=64,Dh={};let $a=0,Jn=0,Fa;function Ba(e){let t="";do t=$l[e%Ti]+t,e=Math.floor(e/Ti);while(e>0);return t}function Fl(){const e=Ba(+new Date);return e!==Fa?($a=0,Fa=e):e+"."+Ba($a++)}for(;Jn<Ti;Jn++)Dh[$l[Jn]]=Jn;let Bl=!1;try{Bl=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Hh=Bl;function jl(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||Hh))return new XMLHttpRequest}catch{}if(!t)try{return new Ne[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function Uh(){}const Vh=function(){return new jl({xdomain:!1}).responseType!=null}();class qh extends hs{constructor(t){if(super(t),this.polling=!1,typeof location<"u"){const r=location.protocol==="https:";let i=location.port;i||(i=r?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||i!==t.port}const n=t&&t.forceBase64;this.supportsBinary=Vh&&!n,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};Th(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,Sh(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=Fl()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}request(t={}){return Object.assign(t,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new We(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,s)=>{this.onError("xhr post error",i,s)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class We extends fe{constructor(t,n){super(),$r(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.data=n.data!==void 0?n.data:null,this.create()}create(){var t;const n=Ml(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this.opts.xd;const r=this.xhr=new jl(n);try{r.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let i in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(i)&&r.setRequestHeader(i,this.opts.extraHeaders[i])}}catch{}if(this.method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this.opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(r.timeout=this.opts.requestTimeout),r.onreadystatechange=()=>{var i;r.readyState===3&&((i=this.opts.cookieJar)===null||i===void 0||i.parseCookies(r)),r.readyState===4&&(r.status===200||r.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof r.status=="number"?r.status:0)},0))},r.send(this.data)}catch(i){this.setTimeoutFn(()=>{this.onError(i)},0);return}typeof document<"u"&&(this.index=We.requestsCount++,We.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=Uh,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete We.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}We.requestsCount=0;We.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",ja);else if(typeof addEventListener=="function"){const e="onpagehide"in Ne?"pagehide":"unload";addEventListener(e,ja,!1)}}function ja(){for(let e in We.requests)We.requests.hasOwnProperty(e)&&We.requests[e].abort()}const ps=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),Qn=Ne.WebSocket||Ne.MozWebSocket,za=!0,Wh="arraybuffer",Da=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Yh extends hs{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=Da?{}:Ml(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=za&&!Da?n?new Qn(t,n):new Qn(t):new Qn(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;us(r,this.supportsBinary,s=>{const a={};try{za&&this.ws.send(s)}catch{}i&&ps(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=Fl()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}check(){return!!Qn}}class Kh extends hs{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(t=>{const n=Nh(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=Ph();i.readable.pipeTo(t.writable),this.writer=i.writable.getWriter();const s=()=>{r.read().then(({done:o,value:l})=>{o||(this.onPacket(l),s())}).catch(o=>{})};s();const a={type:"open"};this.query.sid&&(a.data=`{"sid":"${this.query.sid}"}`),this.writer.write(a).then(()=>this.onOpen())})}))}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;this.writer.write(r).then(()=>{i&&ps(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this.transport)===null||t===void 0||t.close()}}const Gh={websocket:Yh,webtransport:Kh,polling:qh},Xh=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Jh=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Pi(e){if(e.length>2e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=Xh.exec(e||""),s={},a=14;for(;a--;)s[Jh[a]]=i[a]||"";return n!=-1&&r!=-1&&(s.source=t,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s.pathNames=Qh(s,s.path),s.queryKey=Zh(s,s.query),s}function Qh(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function Zh(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,s){i&&(n[i]=s)}),n}let zl=class Mt extends fe{constructor(t,n={}){super(),this.binaryType=Wh,this.writeBuffer=[],t&&typeof t=="object"&&(n=t,t=null),t?(t=Pi(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=Pi(n.host).host),$r(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=jh(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=Il,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new Gh[t](r)}open(){let t;if(this.opts.rememberUpgrade&&Mt.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;Mt.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!r)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Mt.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(c(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=n.name,this.emitReserved("upgradeError",m)}}))};function s(){r||(r=!0,c(),n.close(),n=null)}const a=h=>{const m=new Error("probe error: "+h);m.transport=n.name,s(),this.emitReserved("upgradeError",m)};function o(){a("transport closed")}function l(){a("socket closed")}function f(h){n&&h.name!==n.name&&s()}const c=()=>{n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",o),this.off("close",l),this.off("upgrading",f)};n.once("open",i),n.once("error",a),n.once("close",o),this.once("close",l),this.once("upgrading",f),this.upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onOpen(){if(this.readyState="open",Mt.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const n=this.upgrades.length;for(;t<n;t++)this.probe(this.upgrades[t])}}onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),this.resetPingTimeout(),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const n=new Error("server error");n.code=t.data,this.onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const i=this.writeBuffer[r].data;if(i&&(n+=$h(i)),r>0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const s={type:t,data:n,options:r};this.emitReserved("packetCreate",s),this.writeBuffer.push(s),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){Mt.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const i=t.length;for(;r<i;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}};zl.protocol=Il;function ep(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=Pi(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const s=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+s+":"+r.port+t,r.href=r.protocol+"://"+s+(n&&n.port===r.port?"":":"+r.port),r}const tp=typeof ArrayBuffer=="function",np=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Dl=Object.prototype.toString,rp=typeof Blob=="function"||typeof Blob<"u"&&Dl.call(Blob)==="[object BlobConstructor]",ip=typeof File=="function"||typeof File<"u"&&Dl.call(File)==="[object FileConstructor]";function ms(e){return tp&&(e instanceof ArrayBuffer||np(e))||rp&&e instanceof Blob||ip&&e instanceof File}function cr(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(cr(e[n]))return!0;return!1}if(ms(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return cr(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&cr(e[n]))return!0;return!1}function sp(e){const t=[],n=e.data,r=e;return r.data=Ni(n,t),r.attachments=t.length,{packet:r,buffers:t}}function Ni(e,t){if(!e)return e;if(ms(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=Ni(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=Ni(e[r],t));return n}return e}function ap(e,t){return e.data=Ri(e.data,t),delete e.attachments,e}function Ri(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=Ri(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=Ri(e[n],t));return e}const op=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],lp=5;var q;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(q||(q={}));class cp{constructor(t){this.replacer=t}encode(t){return(t.type===q.EVENT||t.type===q.ACK)&&cr(t)?this.encodeAsBinary({type:t.type===q.EVENT?q.BINARY_EVENT:q.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===q.BINARY_EVENT||t.type===q.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=sp(t),r=this.encodeAsString(n.packet),i=n.buffers;return i.unshift(r),i}}function Ha(e){return Object.prototype.toString.call(e)==="[object Object]"}class gs extends fe{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===q.BINARY_EVENT;r||n.type===q.BINARY_ACK?(n.type=r?q.EVENT:q.ACK,this.reconstructor=new fp(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(ms(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(q[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===q.BINARY_EVENT||r.type===q.BINARY_ACK){const s=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const a=t.substring(s,n);if(a!=Number(a)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(a)}if(t.charAt(n+1)==="/"){const s=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(s,n)}else r.nsp="/";const i=t.charAt(n+1);if(i!==""&&Number(i)==i){const s=n+1;for(;++n;){const a=t.charAt(n);if(a==null||Number(a)!=a){--n;break}if(n===t.length)break}r.id=Number(t.substring(s,n+1))}if(t.charAt(++n)){const s=this.tryParse(t.substr(n));if(gs.isPayloadValid(r.type,s))r.data=s;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case q.CONNECT:return Ha(n);case q.DISCONNECT:return n===void 0;case q.CONNECT_ERROR:return typeof n=="string"||Ha(n);case q.EVENT:case q.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&op.indexOf(n[0])===-1);case q.ACK:case q.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class fp{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=ap(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const up=Object.freeze(Object.defineProperty({__proto__:null,Decoder:gs,Encoder:cp,get PacketType(){return q},protocol:lp},Symbol.toStringTag,{value:"Module"}));function $e(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const dp=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Hl extends fe{constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[$e(t,"open",this.onopen.bind(this)),$e(t,"packet",this.onpacket.bind(this)),$e(t,"error",this.onerror.bind(this)),$e(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(dp.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const r={type:q.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const a=this.ids++,o=n.pop();this._registerAckCallback(a,o),r.id=a}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){var r;const i=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(i===void 0){this.acks[t]=n;return}const s=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o<this.sendBuffer.length;o++)this.sendBuffer[o].id===t&&this.sendBuffer.splice(o,1);n.call(this,new Error("operation has timed out"))},i),a=(...o)=>{this.io.clearTimeoutFn(s),n.apply(this,o)};a.withError=!0,this.acks[t]=a}emitWithAck(t,...n){return new Promise((r,i)=>{const s=(a,o)=>a?i(a):r(o);s.withError=!0,n.push(s),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((i,...s)=>r!==this._queue[0]?void 0:(i!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(i)):(this._queue.shift(),n&&n(null,...s)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:q.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(r=>String(r.id)===t)){const r=this.acks[t];delete this.acks[t],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case q.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case q.EVENT:case q.BINARY_EVENT:this.onevent(t);break;case q.ACK:case q.BINARY_ACK:this.onack(t);break;case q.DISCONNECT:this.ondisconnect();break;case q.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:q.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:q.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function Xt(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Xt.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};Xt.prototype.reset=function(){this.attempts=0};Xt.prototype.setMin=function(e){this.ms=e};Xt.prototype.setMax=function(e){this.max=e};Xt.prototype.setJitter=function(e){this.jitter=e};class Li extends fe{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,$r(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new Xt({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||up;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new zl(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=$e(n,"open",function(){r.onopen(),t&&t()}),s=o=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",o),t?t(o):this.maybeReconnectOnOpen()},a=$e(n,"error",s);if(this._timeout!==!1){const o=this._timeout,l=this.setTimeoutFn(()=>{i(),s(new Error("timeout")),n.close()},o);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(i),this.subs.push(a),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push($e(t,"ping",this.onping.bind(this)),$e(t,"data",this.ondata.bind(this)),$e(t,"error",this.onerror.bind(this)),$e(t,"close",this.onclose.bind(this)),$e(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){ps(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new Hl(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const nn={};function fr(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=ep(e,t.path||"/socket.io"),r=n.source,i=n.id,s=n.path,a=nn[i]&&s in nn[i].nsps,o=t.forceNew||t["force new connection"]||t.multiplex===!1||a;let l;return o?l=new Li(r,t):(nn[i]||(nn[i]=new Li(r,t)),l=nn[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(fr,{Manager:Li,Socket:Hl,io:fr,connect:fr});var Zn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pp="Expected a function",Ua=NaN,mp="[object Symbol]",gp=/^\s+|\s+$/g,bp=/^[-+]0x[0-9a-f]+$/i,vp=/^0b[01]+$/i,yp=/^0o[0-7]+$/i,_p=parseInt,xp=typeof Zn=="object"&&Zn&&Zn.Object===Object&&Zn,wp=typeof self=="object"&&self&&self.Object===Object&&self,kp=xp||wp||Function("return this")(),Ep=Object.prototype,Ap=Ep.toString,Op=Math.max,Cp=Math.min,ri=function(){return kp.Date.now()};function Sp(e,t,n){var r,i,s,a,o,l,f=0,c=!1,h=!1,m=!0;if(typeof e!="function")throw new TypeError(pp);t=Va(t)||0,Ii(n)&&(c=!!n.leading,h="maxWait"in n,s=h?Op(Va(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m);function k(T){var G=r,ce=i;return r=i=void 0,f=T,a=e.apply(ce,G),a}function B(T){return f=T,o=setTimeout(E,t),c?k(T):a}function M(T){var G=T-l,ce=T-f,xe=t-G;return h?Cp(xe,s-ce):xe}function K(T){var G=T-l,ce=T-f;return l===void 0||G>=t||G<0||h&&ce>=s}function E(){var T=ri();if(K(T))return O(T);o=setTimeout(E,M(T))}function O(T){return o=void 0,m&&r?k(T):(r=i=void 0,a)}function R(){o!==void 0&&clearTimeout(o),f=0,r=l=i=o=void 0}function z(){return o===void 0?a:O(ri())}function V(){var T=ri(),G=K(T);if(r=arguments,i=this,l=T,G){if(o===void 0)return B(l);if(h)return o=setTimeout(E,t),k(l)}return o===void 0&&(o=setTimeout(E,t)),a}return V.cancel=R,V.flush=z,V}function Ii(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Tp(e){return!!e&&typeof e=="object"}function Pp(e){return typeof e=="symbol"||Tp(e)&&Ap.call(e)==mp}function Va(e){if(typeof e=="number")return e;if(Pp(e))return Ua;if(Ii(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ii(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(gp,"");var n=vp.test(e);return n||yp.test(e)?_p(e.slice(2),n?2:8):bp.test(e)?Ua:+e}var Np=Sp;const Ul=hp(Np),Rp=void 0,Lp=30,Vl={notificationEvents:[],notificationCounter:0,notificationAPICounter:0,exercises:[],selected_exercises:[],progresses:{},diagnostic:{}},ue=En({...Vl}),Tn=En({connected:!1,zmq_last_time:!1}),ye=fr(Rp,{autoConnect:!0}),Ip=ie(()=>ue.exercises),qa=ie(()=>ue.selected_exercises),Wa=ie(()=>ue.exercises.filter(e=>ue.selected_exercises.includes(e.uuid))),Ya=ie(()=>ue.progresses),Ka=ie(()=>ue.notificationEvents),Mp=ie(()=>ue.notificationCounter),$p=ie(()=>ue.notificationAPICounter),Fp=ie(()=>Object.keys(ue.progresses).length),It=ie(()=>ue.diagnostic),$t=ie(()=>Tn.connected),Ga=ie(()=>Tn.zmq_last_time);function Bp(){Object.assign(ue,Vl)}function Mi(){Wp(),Wl(),Yl(),Fr()}function jp(e,t,n,r){Kp(e,{user_id:t,exercise_uuid:n,task_uuid:r})}function zp(){Gp()}function Dp(){Xp()}function Hp(e,t){Jp({exercise_uuid:e,selected:t})}function Up(e){Qp(e)}function Vp(e){Zp(e)}const ql=Ul(Fr,200,{leading:!0}),qp=Ul(Yp,1e3,{leading:!0});function Wp(){ye.emit("get_exercises",e=>{ue.exercises=e})}function Wl(){ye.emit("get_selected_exercises",e=>{ue.selected_exercises=e})}function Yl(){ye.emit("get_notifications",e=>{ue.notificationEvents=e})}function Fr(){ye.emit("get_progress",e=>{ue.progresses=e})}function Yp(){ue.diagnostic={},ye.emit("get_diagnostic",e=>{ue.diagnostic=e})}function Kp(e,t){const n=e?"mark_task_incomplete":"mark_task_completed";ye.emit(n,t,()=>{Fr()})}function Gp(){ye.emit("reset_all_exercise_progress",()=>{Fr()})}function Xp(){ye.emit("reset_notifications",()=>{Yl()})}function Jp(e){ye.emit("change_exercise_selection",e,()=>{Wl()})}function Qp(e){const t={verbose:e};ye.emit("toggle_verbose_mode",t,()=>{})}function Zp(e){const t={apiquery:e};ye.emit("toggle_apiquery_mode",t,()=>{})}ye.on("connect",()=>{Tn.connected=!0});ye.on("disconnect",()=>{Tn.connected=!1});ye.on("notification",e=>{ue.notificationCounter+=1,e.is_api_request&&(ue.notificationAPICounter+=1),em(ue.notificationEvents,e,Lp)});ye.on("new_user",e=>{ql()});ye.on("refresh_score",e=>{ql()});ye.on("keep_alive",e=>{Tn.zmq_last_time=e.zmq_last_time});function em(e,t,n){e.unshift(t),e.length>n&&(e.length=n)}const tm={class:"modal-box w-11/12 max-w-6xl top-24 absolute bg-slate-200 dark:bg-slate-600 text-slate-700 dark:text-slate-200"},nm={class:"text-2xl font-bold"},rm=g("div",{class:"modal-action"},[g("form",{method:"dialog"},[g("button",{class:"btn btn-sm btn-circle btn-ghost absolute right-2 top-2"},"✕")])],-1),im={class:"flex mb-5 gap-2"},sm={class:"text-lg font-semibold"},am={class:"label cursor-pointer justify-start"},om=["onChange","checked","value"],lm={class:"font-mono font-semibold text-base ml-3"},cm={class:"text-lg font-semibold mt-4"},fm={class:"font-semibold ml-1 my-3"},um=g("strong",null,"MISP Status:",-1),dm={class:"ml-2"},hm={key:0,class:"loading loading-dots loading-sm h-4 inline-block align-middle"},pm={key:1,class:"font-bold"},mm={class:"font-semibold ml-1 my-3"},gm=g("strong",null,"ZMQ Status:",-1),bm={class:"ml-2"},vm={key:0,class:"loading loading-dots loading-sm h-4 inline-block align-middle"},ym={key:1,class:"font-bold"},_m=g("h4",{class:"font-semibold ml-1"},[g("strong",null,"MISP Settings:")],-1),xm={class:"ml-3"},wm={key:0,class:"flex justify-center"},km=g("span",{class:"loading loading-dots loading-lg"},null,-1),Em=[km],Am={class:"label cursor-pointer justify-start p-0 pt-1"},Om=["checked","value"],Cm={class:"font-mono font-semibold text-base ml-3"},Sm=g("form",{method:"dialog",class:"modal-backdrop"},[g("button",null,"close")],-1),Tm={__name:"TheAdminPanel",setup(e){const t=qt(null),n=ie(()=>Object.keys(It.value).length==0),r=ie(()=>{var l;return((l=It.value.version)==null?void 0:l.version)!==void 0}),i=ie(()=>It.value.zmq_message_count>0),s=ie(()=>It.value.zmq_message_count);function a(l,f){Hp(f,l)}function o(){t.value.showModal(),qp()}return(l,f)=>($(),H(oe,null,[g("button",{onClick:f[0]||(f[0]=c=>o()),class:"px-2 py-1 rounded-md focus-outline font-semibold bg-blue-600 text-slate-200 hover:bg-blue-700"},[W(P(he),{icon:P(Na),class:"mr-1"},null,8,["icon"]),de(" Admin panel ")]),g("dialog",{ref_key:"admin_modal",ref:t,class:"modal"},[g("div",tm,[g("h2",nm,[W(P(he),{icon:P(Na),class:""},null,8,["icon"]),de(" Admin panel ")]),rm,g("div",null,[g("div",im,[g("button",{onClick:f[1]||(f[1]=c=>P(Mi)()),class:"h-10 min-h-10 px-2 py-1 font-semibold bg-blue-600 text-slate-200 hover:bg-blue-700 btn btn-sm gap-1"},[W(P(he),{icon:P(bh),size:"lg","fixed-width":""},null,8,["icon"]),de(" Full refresh ")]),g("button",{onClick:f[2]||(f[2]=c=>P(zp)()),class:"h-10 min-h-10 px-2 py-1 font-semibold bg-red-600 text-slate-200 hover:bg-red-700 btn btn-sm gap-1"},[W(P(he),{icon:P(uh),size:"lg","fixed-width":""},null,8,["icon"]),de(" Reset All Exercises ")]),g("button",{onClick:f[3]||(f[3]=c=>P(Dp)()),class:"h-10 min-h-10 px-2 py-1 font-semibold bg-amber-600 text-slate-200 hover:bg-amber-700 btn btn-sm gap-1"},[W(P(he),{icon:P(ch),size:"lg"},{default:So(()=>[de(" fixed-width")]),_:1},8,["icon"]),de(" Clear Live Logs ")])]),g("h3",sm,[W(P(he),{icon:P(Sl),class:"mr-1"},null,8,["icon"]),de(" Selected Exercises ")]),($(!0),H(oe,null,kt(P(Ip),c=>($(),H("div",{key:c.name,class:"form-control pl-3"},[g("label",am,[g("input",{onChange:h=>a(h.target.checked,c.uuid),type:"checkbox",checked:P(qa).includes(c.uuid),value:c.uuid,class:ve(`checkbox ${P(qa).includes(c.uuid)?"checkbox-success":""} [--fallback-bc:#94a3b8]`)},null,42,om),g("span",lm,re(c.name),1)])]))),128)),g("h3",cm,[W(P(he),{icon:P(dh),class:"mr-1"},null,8,["icon"]),de(" Diagnostic ")]),g("h4",fm,[um,g("span",dm,[g("span",{class:ve({"rounded-lg py-1 px-2":!0,"dark:bg-neutral-800 bg-neutral-400 text-slate-800 dark:text-slate-200":n.value,"dark:bg-green-700 bg-green-500 text-slate-800 dark:text-slate-200":!n.value&&r.value,"dark:bg-red-700 bg-red-700 text-slate-200 dark:text-slate-200":!n.value&&!r.value})},[n.value?($(),H("span",hm)):($(),H("span",pm,re(r.value?`Online (${P(It).version.version})`:"Unreachable"),1))],2)])]),g("h4",mm,[gm,g("span",bm,[g("span",{class:ve({"rounded-lg py-1 px-2":!0,"dark:bg-neutral-800 bg-neutral-400 text-slate-800 dark:text-slate-200":n.value,"dark:bg-green-700 bg-green-500 text-slate-800 dark:text-slate-200":!n.value&&i.value,"dark:bg-red-700 bg-red-700 text-slate-200 dark:text-slate-200":!n.value&&!i.value})},[n.value?($(),H("span",vm)):($(),H("span",ym,re(i.value?`ZMQ Active (${s.value} messages)`:"No message received yet"),1))],2)])]),n.value||r.value?($(),H(oe,{key:0},[_m,g("div",xm,[n.value?($(),H("div",wm,Em)):Tt("",!0),($(!0),H(oe,null,kt(P(It).settings,(c,h)=>($(),H("div",{key:h},[g("div",null,[g("label",Am,[g("input",{type:"checkbox",checked:c,value:h,class:ve(`checkbox ${c?"checkbox-success":"checkbox-danger"} [--fallback-bc:#cbd5e1]`),disabled:""},null,10,Om),g("span",Cm,re(h),1)])])]))),128))])],64)):Tt("",!0)])]),Sm],512)],64))}},Pm={class:"flex flex-col justify-center mt-1"},Nm=g("span",{class:"mr-1"},"Socket.IO:",-1),Rm={class:"font-semibold text-green-600 dark:text-green-400"},Lm={class:"font-semibold text-slate-50"},Im={key:0,class:"text-xs font-thin leading-3 inline-block text-center"},Mm={__name:"TheSocketConnectionState",setup(e){const t=qt("?");function n(){Ga.value!==!1?t.value=parseInt((new Date().getTime()-Ga.value*1e3)/1e3):t.value="?"}return Sr(()=>{setInterval(()=>{n()},1e3)}),(r,i)=>($(),H("span",Pm,[g("span",{class:ve({"px-2 rounded-md inline-block w-48 leading-4":!0,"text-slate-900 dark:text-slate-400":P($t),"text-slate-50 bg-red-600 px-2 py-1":!P($t)})},[Nm,Ms(g("span",Rm,"Connected",512),[[Xs,P($t)]]),Ms(g("span",Lm,"Disconnected",512),[[Xs,!P($t)]])],2),P($t)?($(),H("span",Im,[t.value==0?($(),H(oe,{key:0},[de(" online ")],64)):($(),H(oe,{key:1},[de(" Last keep-alive: "+re(t.value)+"s ago ",1)],64))])):Tt("",!0)]))}},$m={class:"text-2xl mt-6 mb-2 font-bold text-blue-500 dark:text-blue-400"},Fm={class:"mb-2 flex flex-wrap gap-x-3"},Bm={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},jm={class:"mr-1"},zm={class:"font-bold"},Dm={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},Hm={class:"mr-1"},Um={class:"font-bold"},Vm={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},qm={class:"mr-1"},Wm={class:"font-bold"},Ym={class:"flex items-center"},Km={class:"mr-1 flex items-center cursor-pointer text-slate-700 dark:text-slate-300"},Gm=["checked"],Xm={class:"flex items-center"},Jm={class:"mr-1 flex items-center cursor-pointer text-slate-700 dark:text-slate-300"},Qm=["checked"],Zm={class:"bg-white dark:bg-slate-800 rounded-lg shadow-xl w-full"},e1=g("thead",null,[g("tr",{class:"font-medium dark:text-slate-200 text-slate-600"},[g("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 pl-6 text-left"}),g("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 pl-2 text-left"},"User"),g("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"Time"),g("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"URL"),g("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"Payload")])],-1),t1={key:0},n1=g("td",{colspan:"5",class:"text-center border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-3 pl-6"},[g("i",null,"- No logs yet -")],-1),r1=[n1],i1={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-1 pl-2 w-12 whitespace-nowrap"},s1={class:"inline ml-1"},a1=["title"],o1={class:"text-lg font-bold font-mono"},l1={class:"text-xs font-mono"},c1={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-1"},f1={class:"border-b border-slate-100 dark:border-slate-700 text-sky-600 dark:text-sky-400 p-1"},u1={class:"flex items-center"},d1={key:0,class:"p-1 rounded-md font-bold text-xs mr-2 w-10 inline-block text-center dark:bg-amber-600 dark:text-neutral-100 bg-amber-600 text-neutral-100"},h1={key:1,class:"p-1 rounded-md font-bold text-xs mr-2 w-10 inline-block text-center dark:bg-amber-600 dark:text-neutral-100 bg-amber-600 text-neutral-100"},p1={key:2,class:"p-1 rounded-md font-bold text-xs mr-2 w-10 inline-block text-center dark:bg-red-600 dark:text-neutral-100 bg-red-600 text-neutral-100"},m1={key:3,class:"p-1 rounded-md font-bold text-xs mr-2 w-10 inline-block text-center dark:bg-blue-600 dark:text-neutral-100 bg-blue-600 text-neutral-100"},g1={class:"text-sm inline"},b1={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-300 p-1"},v1={key:0,class:"border border-slate-200 dark:border-slate-600 bg-slate-100 dark:bg-slate-600 rounded-md"},y1={class:"p-1 text-xs"},_1={__name:"TheLiveLogs",setup(e){const t=qt(!1),n=qt(!1);ut(t,i=>{Up(i==!0)}),ut(n,i=>{Vp(i==!0)});function r(i){return String(i).startsWith("2")?"text-green-500":String(i).startsWith("5")?"text-red-600":"text-amber-600"}return(i,s)=>($(),H(oe,null,[g("h3",$m,[W(P(he),{icon:P(Ra)},null,8,["icon"]),de(" Live logs ")]),g("div",Fm,[g("span",Bm,[g("span",jm,[W(P(he),{icon:P(lh),size:"sm"},null,8,["icon"]),de(" Players: ")]),g("span",zm,re(P(Fp)),1)]),g("span",Dm,[g("span",Hm,[W(P(he),{icon:P(Ra),size:"sm"},null,8,["icon"]),de(" Total Queries: ")]),g("span",Um,re(P(Mp)),1)]),g("span",Vm,[g("span",qm,[W(P(he),{icon:P(ei),size:"sm",mask:P(Zr),transform:"shrink-7 left-1"},null,8,["icon","mask"]),de(" Total API Queries: ")]),g("span",Wm,re(P($p)),1)]),g("span",Ym,[g("label",Km,[g("input",{type:"checkbox",class:"toggle toggle-warning [--fallback-su:#22c55e] mr-1",checked:t.value,onChange:s[0]||(s[0]=a=>t.value=!t.value)},null,40,Gm),de(" Verbose ")])]),g("span",Xm,[g("label",Jm,[g("input",{type:"checkbox",class:"toggle toggle-success [--fallback-su:#22c55e] mr-1",checked:n.value,onChange:s[1]||(s[1]=a=>n.value=!n.value)},null,40,Qm),W(P(he),{icon:P(ei),size:"sm",mask:P(Zr),transform:"shrink-7 left-1",class:"mr-1"},null,8,["icon","mask"]),de(" API Queries ")])])]),g("table",Zm,[e1,g("tbody",null,[P(Ka).length==0?($(),H("tr",t1,r1)):($(!0),H(oe,{key:1},kt(P(Ka),a=>($(),H("tr",{key:a.id},[g("td",i1,[W(P(he),{icon:P(fh),size:"xs",class:ve(r(a.response_code))},null,8,["icon","class"]),g("pre",s1,re(a.response_code),1)]),g("td",{class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-1 pl-2",title:a.user_id},[g("span",o1,re(a.user.split("@")[0]),1),g("span",l1,"@"+re(a.user.split("@")[1]),1)],8,a1),g("td",c1,re(a.time),1),g("td",f1,[g("div",u1,[a.http_method=="POST"?($(),H("span",d1,"POST")):a.http_method=="PUT"?($(),H("span",h1,"PUT")):a.http_method=="DELETE"?($(),H("span",p1,"DEL")):($(),H("span",m1,re(a.http_method),1)),a.is_api_request?($(),Ft(P(he),{key:4,class:"text-slate-800 dark:text-slate-100 mr-1 inline-block",icon:P(ei),mask:P(Zr),transform:"shrink-7 left-1"},null,8,["icon","mask"])):Tt("",!0),g("pre",g1,re(a.url),1)])]),g("td",b1,[a.http_method=="POST"?($(),H("div",v1,[g("pre",y1,re(JSON.stringify(a.payload,null,2)),1)])):Tt("",!0)])]))),128))])])],64))}},x1={class:"text-2xl mt-6 mb-2 font-bold text-blue-500 dark:text-blue-400"},w1={key:0,class:"text-center text-slate-600 dark:text-slate-400 p-3 pl-6"},k1=g("i",null,"- No Exercise available -",-1),E1=[k1],A1=["onClick"],O1=["colspan"],C1={class:"flex justify-between items-center"},S1={class:"dark:text-blue-200 text-slate-200"},T1={class:"text-lg"},P1={class:""},N1=g("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 pl-6 text-left"},"User",-1),R1=["title"],L1={class:"flex flex-col"},I1={class:"text-center font-normal text-sm dark:text-blue-200 text-slate-500"},M1={class:"text-center"},$1=g("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"Progress",-1),F1={key:0},B1=["colspan"],j1=g("i",null,"- No user yet -",-1),z1=[j1],D1={class:"border-b border-slate-200 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-3 pl-6"},H1=["title"],U1={class:"text-lg font-bold font-mono"},V1={class:"text-xs font-mono"},q1=["onClick"],W1={class:"flex flex-col"},Y1={class:"text-nowrap"},K1={class:"text-sm leading-3"},G1={key:1},X1={class:"border-b border-slate-200 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-3"},J1=["aria-valuenow"],Q1={__name:"TheScores",setup(e){const t=qt([]);function n(a,o,l,f){jp(a,o,l,f)}function r(a){const o=t.value.indexOf(a);o>=0?t.value.splice(o,1):t.value.push(a)}const i=ie(()=>Wa.value.length>0),s=ie(()=>Object.keys(Ya.value).length>0);return(a,o)=>($(),H(oe,null,[g("h3",x1,[W(P(he),{icon:P(Sl)},null,8,["icon"]),de(" Active Exercises ")]),i.value?Tt("",!0):($(),H("div",w1,E1)),($(!0),H(oe,null,kt(P(Wa),(l,f)=>($(),H("table",{key:l.name,class:"bg-white dark:bg-slate-800 rounded-lg shadow-xl w-full mb-4"},[g("thead",null,[g("tr",{onClick:c=>r(f),class:"cursor-pointer"},[g("th",{colspan:2+l.tasks.length,class:"rounded-t-lg border-b border-slate-100 dark:border-slate-700 text-md p-3 pl-6 text-center dark:bg-blue-800 bg-blue-500 dark:text-slate-300 text-slate-100"},[g("div",C1,[g("span",S1,"# "+re(f+1),1),g("span",T1,re(l.name),1),g("span",P1,[de(" Level: "),g("span",{class:ve({"rounded-lg px-1 ml-2":!0,"dark:bg-sky-400 bg-sky-400 text-neutral-950":l.level=="beginner","dark:bg-orange-400 bg-orange-400 text-neutral-950":l.level=="advanced","dark:bg-red-600 bg-red-600 text-neutral-950":l.level=="expert"})},re(l.level),3)])])],8,O1)],8,A1),g("tr",{class:ve(`font-medium text-slate-600 dark:text-slate-200 ${t.value.includes(f)?"hidden":""}`)},[N1,($(!0),H(oe,null,kt(l.tasks,(c,h)=>($(),H("th",{key:c.name,class:"border-b border-slate-100 dark:border-slate-700 p-3",title:c.description},[g("div",L1,[g("span",I1,"Task "+re(h+1),1),g("i",M1,re(c.name),1)])],8,R1))),128)),$1],2)]),g("tbody",{class:ve(`${t.value.includes(f)?"hidden":""}`)},[s.value?($(!0),H(oe,{key:1},kt(P(Ya),(c,h)=>($(),H("tr",{key:h,class:"bg-slate-100 dark:bg-slate-900"},[g("td",D1,[g("span",{title:h,class:"text-nowrap"},[c.exercises[l.uuid].score/c.exercises[l.uuid].max_score==1?($(),Ft(P(he),{key:0,icon:P(ph),class:"mr-1 text-amber-300"},null,8,["icon"])):Tt("",!0),g("span",U1,re(c.email.split("@")[0]),1),g("span",V1,"@"+re(c.email.split("@")[1]),1)],8,H1)]),($(!0),H(oe,null,kt(l.tasks,(m,k)=>{var B;return $(),H("td",{key:k,class:"text-center border-b border-slate-200 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-2"},[g("span",{class:"select-none cursor-pointer flex justify-center content-center flex-wrap h-9",onClick:M=>n(c.exercises[l.uuid].tasks_completion[m.uuid],h,l.uuid,m.uuid)},[g("span",W1,[g("span",Y1,[c.exercises[l.uuid].tasks_completion[m.uuid]?($(),Ft(P(he),{key:0,icon:P(vh),class:ve(`text-xl ${c.exercises[l.uuid].tasks_completion[m.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400"}`)},null,8,["icon","class"])):((B=m.requirements)==null?void 0:B.inject_uuid)!==void 0&&!c.exercises[l.uuid].tasks_completion[m.requirements.inject_uuid]?($(),Ft(P(he),{key:1,title:"All requirements for that task haven't been fullfilled yet",icon:P(oh),class:ve(`text-lg ${c.exercises[l.uuid].tasks_completion[m.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400"}`)},null,8,["icon","class"])):($(),Ft(P(he),{key:2,icon:P(gh),class:ve(`text-xl ${c.exercises[l.uuid].tasks_completion[m.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400"}`)},null,8,["icon","class"])),g("small",{class:ve(c.exercises[l.uuid].tasks_completion[m.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400")}," (+"+re(m.score)+")",3)]),g("span",K1,[c.exercises[l.uuid].tasks_completion[m.uuid].timestamp?($(),H("span",{key:0,class:ve(c.exercises[l.uuid].tasks_completion[m.uuid].first_completion?"font-bold":"font-extralight")},re(new Date(c.exercises[l.uuid].tasks_completion[m.uuid].timestamp*1e3).toTimeString().split(" ",1)[0]),3)):($(),H("span",G1))])])],8,q1)])}),128)),g("td",X1,[g("div",{class:"flex w-full h-2 bg-gray-200 rounded-full overflow-hidden dark:bg-neutral-600",role:"progressbar","aria-valuenow":c.exercises[l.uuid].score,"aria-valuemin":0,"aria-valuemax":"100"},[g("div",{class:"flex flex-col justify-center rounded-full overflow-hidden bg-green-600 text-xs text-white text-center whitespace-nowrap transition duration-500 dark:bg-green-500 transition-width transition-slowest ease",style:kr(`width: ${100*(c.exercises[l.uuid].score/c.exercises[l.uuid].max_score)}%`)},null,4)],8,J1)])]))),128)):($(),H("tr",F1,[g("td",{colspan:2+l.tasks.length,class:"text-center border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-3 pl-6"},z1,8,B1)]))],2)]))),128))],64))}},Z1={__name:"TheDahboard",setup(e){return ut($t,t=>{t&&(Bp(),Mi())}),Sr(()=>{Mi()}),(t,n)=>($(),H(oe,null,[W(Q1),W(_1)],64))}},eg=g("h1",{class:"text-2xl text-center text-slate-500 dark:text-slate-400 absolute top-1 left-1"},"Exercise Dashboard",-1),tg={class:"absolute top-1 right-1"},ng={class:"flex gap-2"},rg={__name:"App",setup(e){return Sr(()=>{document.getElementsByTagName("body")[0].classList.add("dark")}),(t,n)=>($(),H("main",null,[eg,g("div",tg,[g("div",ng,[W(kh),W(Tm),W(Mm)])]),W(Z1)]))}};pu(rg).mount("#app");