diff --git a/.gitignore b/.gitignore index c839854..1dba2d2 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,6 @@ lerna-debug.log* node_modules .DS_Store -dist dist-ssr coverage *.local diff --git a/dist/assets/index-CrmZ3McV.js b/dist/assets/index-DNFQtfBp.js similarity index 67% rename from dist/assets/index-CrmZ3McV.js rename to dist/assets/index-DNFQtfBp.js index a4baff1..3806401 100644 --- a/dist/assets/index-CrmZ3McV.js +++ b/dist/assets/index-DNFQtfBp.js @@ -1,22 +1,22 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();/** +(function(){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 Oi(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const Z={},$t=[],Re=()=>{},Bl=()=>!1,gr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Si=e=>e.startsWith("onUpdate:"),me=Object.assign,Ci=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Dl=Object.prototype.hasOwnProperty,V=(e,t)=>Dl.call(e,t),M=Array.isArray,Ft=e=>br(e)==="[object Map]",Ho=e=>br(e)==="[object Set]",B=e=>typeof e=="function",de=e=>typeof e=="string",Nt=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",Vo=e=>(re(e)||B(e))&&B(e.then)&&B(e.catch),qo=Object.prototype.toString,br=e=>qo.call(e),jl=e=>br(e).slice(8,-1),Wo=e=>br(e)==="[object Object]",Ti=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nn=Oi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},zl=/-(\w)/g,jt=vr(e=>e.replace(zl,(t,n)=>n?n.toUpperCase():"")),Ul=/\B([A-Z])/g,Ht=vr(e=>e.replace(Ul,"-$1").toLowerCase()),Yo=vr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Mr=vr(e=>e?`on${Yo(e)}`:""),ut=(e,t)=>!Object.is(e,t),$r=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Hl=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let bs;const Go=()=>bs||(bs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function yr(e){if(M(e)){const t={};for(let n=0;n{if(n){const r=n.split(ql);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Se(e){let t="";if(de(e))t=e;else if(M(e))for(let n=0;nde(e)?e:e==null?"":M(e)||re(e)&&(e.toString===qo||!B(e.toString))?JSON.stringify(e,Jo,2):String(e),Jo=(e,t)=>t&&t.__v_isRef?Jo(e,t.value):Ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[Fr(r,s)+" =>"]=i,n),{})}:Ho(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Fr(n))}:Nt(t)?Fr(t):re(t)&&!M(t)&&!Wo(t)?String(t):t,Fr=(e,t="")=>{var n;return Nt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function Oi(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const Z={},$t=[],Re=()=>{},Bl=()=>!1,gr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Si=e=>e.startsWith("onUpdate:"),me=Object.assign,Ci=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Dl=Object.prototype.hasOwnProperty,V=(e,t)=>Dl.call(e,t),M=Array.isArray,Ft=e=>br(e)==="[object Map]",Ua=e=>br(e)==="[object Set]",B=e=>typeof e=="function",de=e=>typeof e=="string",Nt=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",Ha=e=>(re(e)||B(e))&&B(e.then)&&B(e.catch),Va=Object.prototype.toString,br=e=>Va.call(e),jl=e=>br(e).slice(8,-1),qa=e=>br(e)==="[object Object]",Ti=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nn=Oi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},zl=/-(\w)/g,jt=vr(e=>e.replace(zl,(t,n)=>n?n.toUpperCase():"")),Ul=/\B([A-Z])/g,Ht=vr(e=>e.replace(Ul,"-$1").toLowerCase()),Wa=vr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Mr=vr(e=>e?`on${Wa(e)}`:""),ut=(e,t)=>!Object.is(e,t),$r=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Hl=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let bs;const Ka=()=>bs||(bs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function yr(e){if(M(e)){const t={};for(let n=0;n{if(n){const r=n.split(ql);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Se(e){let t="";if(de(e))t=e;else if(M(e))for(let n=0;nde(e)?e:e==null?"":M(e)||re(e)&&(e.toString===Va||!B(e.toString))?JSON.stringify(e,Xa,2):String(e),Xa=(e,t)=>t&&t.__v_isRef?Xa(e,t.value):Ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[Fr(r,s)+" =>"]=i,n),{})}:Ua(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Fr(n))}:Nt(t)?Fr(t):re(t)&&!M(t)&&!qa(t)?String(t):t,Fr=(e,t="")=>{var n;return Nt(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 Xl{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=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),gt()}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=At;try{return ct=!0,At=this,this._runnings++,vs(this),this.fn()}finally{ys(this),this._runnings--,At=n,ct=t}}stop(){this.active&&(vs(this),ys(this),this.onStop&&this.onStop(),this.active=!1)}}function Zl(e){return e.value}function vs(e){e._trackId++,e._depsLength=0}function ys(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t0){r._dirtyLevel=2;continue}let i;r._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},Qr=new WeakMap,Ot=Symbol(""),Zr=Symbol("");function ke(e,t,n){if(ct&&At){let r=Qr.get(e);r||Qr.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=na(()=>r.delete(n))),ea(At,i)}}function Qe(e,t,n,r,i,s){const o=Qr.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&M(e)){const l=Number(r);o.forEach((f,u)=>{(u==="length"||!Nt(u)&&u>=l)&&a.push(f)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":M(e)?Ti(n)&&a.push(o.get("length")):(a.push(o.get(Ot)),Ft(e)&&a.push(o.get(Zr)));break;case"delete":M(e)||(a.push(o.get(Ot)),Ft(e)&&a.push(o.get(Zr)));break;case"set":Ft(e)&&a.push(o.get(Ot));break}Ni();for(const l of a)l&&ta(l,5);Ri()}const ec=Oi("__proto__,__v_isRef,__isVue"),ra=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Nt)),_s=tc();function tc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=G(this);for(let s=0,o=this.length;s{e[t]=function(...n){mt(),Ni();const r=G(this)[t].apply(this,n);return Ri(),gt(),r}}),e}function nc(e){Nt(e)||(e=String(e));const t=G(this);return ke(t,"has",e),t.hasOwnProperty(e)}class ia{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?mc:la:s?aa:oa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=M(t);if(!i){if(o&&V(_s,n))return Reflect.get(_s,n,r);if(n==="hasOwnProperty")return nc}const a=Reflect.get(t,n,r);return(Nt(n)?ra.has(n):ec(n))||(i||ke(t,"get",n),s)?a:Ee(a)?o&&Ti(n)?a:a.value:re(a)?i?ca(a):_n(a):a}}class sa extends ia{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];if(!this._isShallow){const l=fn(s);if(!or(r)&&!fn(r)&&(s=G(s),r=G(r)),!M(t)&&Ee(s)&&!Ee(r))return l?!1:(s.value=r,!0)}const o=M(t)&&Ti(n)?Number(n)e,_r=e=>Reflect.getPrototypeOf(e);function Tn(e,t,n=!1,r=!1){e=e.__v_raw;const i=G(e),s=G(t);n||(ut(t,s)&&ke(i,"get",t),ke(i,"get",s));const{has:o}=_r(i),a=r?Ii:n?$i:un;if(o.call(i,t))return a(e.get(t));if(o.call(i,s))return a(e.get(s));e!==i&&e.get(t)}function Pn(e,t=!1){const n=this.__v_raw,r=G(n),i=G(e);return t||(ut(e,i)&&ke(r,"has",e),ke(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Nn(e,t=!1){return e=e.__v_raw,!t&&ke(G(e),"iterate",Ot),Reflect.get(e,"size",e)}function xs(e){e=G(e);const t=G(this);return _r(t).has.call(t,e)||(t.add(e),Qe(t,"add",e,e)),this}function ws(e,t){t=G(t);const n=G(this),{has:r,get:i}=_r(n);let s=r.call(n,e);s||(e=G(e),s=r.call(n,e));const o=i.call(n,e);return n.set(e,t),s?ut(t,o)&&Qe(n,"set",e,t):Qe(n,"add",e,t),this}function ks(e){const t=G(this),{has:n,get:r}=_r(t);let i=n.call(t,e);i||(e=G(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 Es(){const e=G(this),t=e.size!==0,n=e.clear();return t&&Qe(e,"clear",void 0,void 0),n}function Rn(e,t){return function(r,i){const s=this,o=s.__v_raw,a=G(o),l=t?Ii:e?$i:un;return!e&&ke(a,"iterate",Ot),o.forEach((f,u)=>r.call(i,l(f),l(u),s))}}function In(e,t,n){return function(...r){const i=this.__v_raw,s=G(i),o=Ft(s),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=i[e](...r),u=n?Ii:t?$i:un;return!t&&ke(s,"iterate",l?Zr:Ot),{next(){const{value:h,done:m}=f.next();return m?{value:h,done:m}:{value:a?[u(h[0]),u(h[1])]:u(h),done:m}},[Symbol.iterator](){return this}}}}function it(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ac(){const e={get(s){return Tn(this,s)},get size(){return Nn(this)},has:Pn,add:xs,set:ws,delete:ks,clear:Es,forEach:Rn(!1,!1)},t={get(s){return Tn(this,s,!1,!0)},get size(){return Nn(this)},has:Pn,add:xs,set:ws,delete:ks,clear:Es,forEach:Rn(!1,!0)},n={get(s){return Tn(this,s,!0)},get size(){return Nn(this,!0)},has(s){return Pn.call(this,s,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:Rn(!0,!1)},r={get(s){return Tn(this,s,!0,!0)},get size(){return Nn(this,!0)},has(s){return Pn.call(this,s,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:Rn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=In(s,!1,!1),n[s]=In(s,!0,!1),t[s]=In(s,!1,!0),r[s]=In(s,!0,!0)}),[e,n,t,r]}const[lc,cc,fc,uc]=ac();function Li(e,t){const n=t?e?uc:fc:e?cc:lc;return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(V(n,i)&&i in r?n:r,i,s)}const dc={get:Li(!1,!1)},hc={get:Li(!1,!0)},pc={get:Li(!0,!1)};const oa=new WeakMap,aa=new WeakMap,la=new WeakMap,mc=new WeakMap;function gc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bc(e){return e.__v_skip||!Object.isExtensible(e)?0:gc(jl(e))}function _n(e){return fn(e)?e:Mi(e,!1,ic,dc,oa)}function vc(e){return Mi(e,!1,oc,hc,aa)}function ca(e){return Mi(e,!0,sc,pc,la)}function Mi(e,t,n,r,i){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const o=bc(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return i.set(e,a),a}function rn(e){return fn(e)?rn(e.__v_raw):!!(e&&e.__v_isReactive)}function fn(e){return!!(e&&e.__v_isReadonly)}function or(e){return!!(e&&e.__v_isShallow)}function fa(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function yc(e){return Object.isExtensible(e)&&Ko(e,"__v_skip",!0),e}const un=e=>re(e)?_n(e):e,$i=e=>re(e)?ca(e):e;class ua{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 Pi(()=>t(this._value),()=>Gn(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=G(this);return(!t._cacheable||t.effect.dirty)&&ut(t._value,t._value=t.effect.run())&&Gn(t,5),da(t),t.effect._dirtyLevel>=2&&Gn(t,3),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function _c(e,t,n=!1){let r,i;const s=B(e);return s?(r=e,i=Re):(r=e.get,i=e.set),new ua(r,i,s||!i,n)}function da(e){var t;ct&&At&&(e=G(e),ea(At,(t=e.dep)!=null?t:e.dep=na(()=>e.dep=void 0,e instanceof ua?e:void 0)))}function Gn(e,t=5,n,r){e=G(e);const i=e.dep;i&&ta(i,t)}function Ee(e){return!!(e&&e.__v_isRef===!0)}function xr(e){return xc(e,!1)}function xc(e,t){return Ee(e)?e:new wc(e,t)}class wc{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:G(t),this._value=n?t:un(t)}get value(){return da(this),this._value}set value(t){const n=this.__v_isShallow||or(t)||fn(t);t=n?t:G(t),ut(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:un(t),Gn(this,5))}}function I(e){return Ee(e)?e.value:e}const kc={get:(e,t,n)=>I(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ee(i)&&!Ee(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function ha(e){return rn(e)?e:new Proxy(e,kc)}/** +**/let Me;class Xl{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=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),gt()}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=At;try{return ct=!0,At=this,this._runnings++,vs(this),this.fn()}finally{ys(this),this._runnings--,At=n,ct=t}}stop(){this.active&&(vs(this),ys(this),this.onStop&&this.onStop(),this.active=!1)}}function Zl(e){return e.value}function vs(e){e._trackId++,e._depsLength=0}function ys(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t0){r._dirtyLevel=2;continue}let i;r._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},Qr=new WeakMap,Ot=Symbol(""),Zr=Symbol("");function ke(e,t,n){if(ct&&At){let r=Qr.get(e);r||Qr.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=to(()=>r.delete(n))),Za(At,i)}}function Qe(e,t,n,r,i,s){const a=Qr.get(e);if(!a)return;let o=[];if(t==="clear")o=[...a.values()];else if(n==="length"&&M(e)){const l=Number(r);a.forEach((f,u)=>{(u==="length"||!Nt(u)&&u>=l)&&o.push(f)})}else switch(n!==void 0&&o.push(a.get(n)),t){case"add":M(e)?Ti(n)&&o.push(a.get("length")):(o.push(a.get(Ot)),Ft(e)&&o.push(a.get(Zr)));break;case"delete":M(e)||(o.push(a.get(Ot)),Ft(e)&&o.push(a.get(Zr)));break;case"set":Ft(e)&&o.push(a.get(Ot));break}Ni();for(const l of o)l&&eo(l,5);Ri()}const ec=Oi("__proto__,__v_isRef,__isVue"),no=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Nt)),_s=tc();function tc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=G(this);for(let s=0,a=this.length;s{e[t]=function(...n){mt(),Ni();const r=G(this)[t].apply(this,n);return Ri(),gt(),r}}),e}function nc(e){Nt(e)||(e=String(e));const t=G(this);return ke(t,"has",e),t.hasOwnProperty(e)}class ro{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?mc:oo:s?ao:so).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=M(t);if(!i){if(a&&V(_s,n))return Reflect.get(_s,n,r);if(n==="hasOwnProperty")return nc}const o=Reflect.get(t,n,r);return(Nt(n)?no.has(n):ec(n))||(i||ke(t,"get",n),s)?o:Ee(o)?a&&Ti(n)?o:o.value:re(o)?i?lo(o):xn(o):o}}class io extends ro{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];if(!this._isShallow){const l=fn(s);if(!or(r)&&!fn(r)&&(s=G(s),r=G(r)),!M(t)&&Ee(s)&&!Ee(r))return l?!1:(s.value=r,!0)}const a=M(t)&&Ti(n)?Number(n)e,_r=e=>Reflect.getPrototypeOf(e);function Pn(e,t,n=!1,r=!1){e=e.__v_raw;const i=G(e),s=G(t);n||(ut(t,s)&&ke(i,"get",t),ke(i,"get",s));const{has:a}=_r(i),o=r?Ii:n?$i:un;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 Nn(e,t=!1){const n=this.__v_raw,r=G(n),i=G(e);return t||(ut(e,i)&&ke(r,"has",e),ke(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Rn(e,t=!1){return e=e.__v_raw,!t&&ke(G(e),"iterate",Ot),Reflect.get(e,"size",e)}function xs(e){e=G(e);const t=G(this);return _r(t).has.call(t,e)||(t.add(e),Qe(t,"add",e,e)),this}function ws(e,t){t=G(t);const n=G(this),{has:r,get:i}=_r(n);let s=r.call(n,e);s||(e=G(e),s=r.call(n,e));const a=i.call(n,e);return n.set(e,t),s?ut(t,a)&&Qe(n,"set",e,t):Qe(n,"add",e,t),this}function ks(e){const t=G(this),{has:n,get:r}=_r(t);let i=n.call(t,e);i||(e=G(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 Es(){const e=G(this),t=e.size!==0,n=e.clear();return t&&Qe(e,"clear",void 0,void 0),n}function In(e,t){return function(r,i){const s=this,a=s.__v_raw,o=G(a),l=t?Ii:e?$i:un;return!e&&ke(o,"iterate",Ot),a.forEach((f,u)=>r.call(i,l(f),l(u),s))}}function Ln(e,t,n){return function(...r){const i=this.__v_raw,s=G(i),a=Ft(s),o=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,f=i[e](...r),u=n?Ii:t?$i:un;return!t&&ke(s,"iterate",l?Zr:Ot),{next(){const{value:h,done:m}=f.next();return m?{value:h,done:m}:{value:o?[u(h[0]),u(h[1])]:u(h),done:m}},[Symbol.iterator](){return this}}}}function it(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function oc(){const e={get(s){return Pn(this,s)},get size(){return Rn(this)},has:Nn,add:xs,set:ws,delete:ks,clear:Es,forEach:In(!1,!1)},t={get(s){return Pn(this,s,!1,!0)},get size(){return Rn(this)},has:Nn,add:xs,set:ws,delete:ks,clear:Es,forEach:In(!1,!0)},n={get(s){return Pn(this,s,!0)},get size(){return Rn(this,!0)},has(s){return Nn.call(this,s,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:In(!0,!1)},r={get(s){return Pn(this,s,!0,!0)},get size(){return Rn(this,!0)},has(s){return Nn.call(this,s,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:In(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Ln(s,!1,!1),n[s]=Ln(s,!0,!1),t[s]=Ln(s,!1,!0),r[s]=Ln(s,!0,!0)}),[e,n,t,r]}const[lc,cc,fc,uc]=oc();function Li(e,t){const n=t?e?uc:fc:e?cc:lc;return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(V(n,i)&&i in r?n:r,i,s)}const dc={get:Li(!1,!1)},hc={get:Li(!1,!0)},pc={get:Li(!0,!1)};const so=new WeakMap,ao=new WeakMap,oo=new WeakMap,mc=new WeakMap;function gc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bc(e){return e.__v_skip||!Object.isExtensible(e)?0:gc(jl(e))}function xn(e){return fn(e)?e:Mi(e,!1,ic,dc,so)}function vc(e){return Mi(e,!1,ac,hc,ao)}function lo(e){return Mi(e,!0,sc,pc,oo)}function Mi(e,t,n,r,i){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const a=bc(e);if(a===0)return e;const o=new Proxy(e,a===2?r:n);return i.set(e,o),o}function rn(e){return fn(e)?rn(e.__v_raw):!!(e&&e.__v_isReactive)}function fn(e){return!!(e&&e.__v_isReadonly)}function or(e){return!!(e&&e.__v_isShallow)}function co(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function yc(e){return Object.isExtensible(e)&&Ya(e,"__v_skip",!0),e}const un=e=>re(e)?xn(e):e,$i=e=>re(e)?lo(e):e;class fo{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 Pi(()=>t(this._value),()=>Xn(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=G(this);return(!t._cacheable||t.effect.dirty)&&ut(t._value,t._value=t.effect.run())&&Xn(t,5),uo(t),t.effect._dirtyLevel>=2&&Xn(t,3),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function _c(e,t,n=!1){let r,i;const s=B(e);return s?(r=e,i=Re):(r=e.get,i=e.set),new fo(r,i,s||!i,n)}function uo(e){var t;ct&&At&&(e=G(e),Za(At,(t=e.dep)!=null?t:e.dep=to(()=>e.dep=void 0,e instanceof fo?e:void 0)))}function Xn(e,t=5,n,r){e=G(e);const i=e.dep;i&&eo(i,t)}function Ee(e){return!!(e&&e.__v_isRef===!0)}function xr(e){return xc(e,!1)}function xc(e,t){return Ee(e)?e:new wc(e,t)}class wc{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:G(t),this._value=n?t:un(t)}get value(){return uo(this),this._value}set value(t){const n=this.__v_isShallow||or(t)||fn(t);t=n?t:G(t),ut(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:un(t),Xn(this,5))}}function I(e){return Ee(e)?e.value:e}const kc={get:(e,t,n)=>I(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ee(i)&&!Ee(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function ho(e){return rn(e)?e:new Proxy(e,kc)}/** * @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){wr(i,t,n)}}function De(e,t,n,r){if(B(e)){const i=ft(e,t,n,r);return i&&Vo(i)&&i.catch(s=>{wr(s,t,n)}),i}if(M(e)){const i=[];for(let s=0;s>>1,i=ge[r],s=hn(i);sVe&&ge.splice(t,1)}function Cc(e){M(e)?Bt.push(...e):(!ot||!ot.includes(e,e.allowRecurse?xt+1:xt))&&Bt.push(e),ma()}function As(e,t,n=dn?Ve+1:0){for(;nhn(n)-hn(r));if(Bt.length=0,ot){ot.push(...t);return}for(ot=t,xt=0;xte.id==null?1/0:e.id,Tc=(e,t)=>{const n=hn(e)-hn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ba(e){ei=!1,dn=!0,ge.sort(Tc);try{for(Ve=0;Vede(k)?k.trim():k)),h&&(i=n.map(Hl))}let a,l=r[a=Mr(t)]||r[a=Mr(jt(t))];!l&&s&&(l=r[a=Mr(Ht(t))]),l&&De(l,e,6,i);const f=r[a+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,De(f,e,6,i)}}function va(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!B(e)){const l=f=>{const u=va(f,t,!0);u&&(a=!0,me(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(re(e)&&r.set(e,null),null):(M(s)?s.forEach(l=>o[l]=null):me(o,s),re(e)&&r.set(e,o),o)}function kr(e,t){return!e||!gr(t)?!1:(t=t.slice(2).replace(/Once$/,""),V(e,t[0].toLowerCase()+t.slice(1))||V(e,Ht(t))||V(e,t))}let Ie=null,ya=null;function ar(e){const t=Ie;return Ie=e,ya=e&&e.type.__scopeId||null,t}function Nc(e,t=Ie,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Fs(-1);const s=ar(t);let o;try{o=e(...i)}finally{ar(s),r._d&&Fs(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Br(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:l,render:f,renderCache:u,props:h,data:m,setupState:k,ctx:D,inheritAttrs:L}=e,X=ar(e);let E,O;try{if(n.shapeFlag&4){const j=i||r,q=j;E=He(f.call(q,j,u,h,k,m,D)),O=a}else{const j=t;E=He(j.length>1?j(h,{attrs:a,slots:o,emit:l}):j(h,null)),O=t.props?a:Rc(a)}}catch(j){an.length=0,wr(j,e,1),E=Y(Ct)}let P=E;if(O&&L!==!1){const j=Object.keys(O),{shapeFlag:q}=P;j.length&&q&7&&(s&&j.some(Si)&&(O=Ic(O,s)),P=zt(P,O,!1,!0))}return n.dirs&&(P=zt(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(n.dirs):n.dirs),n.transition&&(P.transition=n.transition),E=P,ar(X),E}const Rc=e=>{let t;for(const n in e)(n==="class"||n==="style"||gr(n))&&((t||(t={}))[n]=e[n]);return t},Ic=(e,t)=>{const n={};for(const r in e)(!Si(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Lc(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:a,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?Os(r,o,f):!!o;if(l&8){const u=t.dynamicProps;for(let h=0;he.__isSuspense;function Bc(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):Cc(e)}function Er(e,t,n=ye,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{mt();const a=xn(n),l=De(t,n,e,o);return a(),gt(),l});return r?i.unshift(s):i.push(s),s}}const nt=e=>(t,n=ye)=>{(!Or||e==="sp")&&Er(e,(...r)=>t(...r),n)},Dc=nt("bm"),Di=nt("m"),jc=nt("bu"),zc=nt("u"),Uc=nt("bum"),_a=nt("um"),Hc=nt("sp"),Vc=nt("rtg"),qc=nt("rtc");function Wc(e,t=ye){Er("ec",e,t)}function Ss(e,t){if(Ie===null)return e;const n=Sr(Ie),r=e.dirs||(e.dirs=[]);for(let i=0;it(o,a,void 0,s));else{const o=Object.keys(e);i=new Array(o.length);for(let a=0,l=o.length;a!!e.type.__asyncLoader,ti=e=>e?za(e)?Sr(e):ti(e.parent):null,sn=me(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=>ti(e.parent),$root:e=>ti(e.root),$emit:e=>e.emit,$options:e=>ji(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Bi(e.update)}),$nextTick:e=>e.n||(e.n=Ac.bind(e.proxy)),$watch:e=>mf.bind(e)}),Dr=(e,t)=>e!==Z&&!e.__isScriptSetup&&V(e,t),Kc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=e;let f;if(t[0]!=="$"){const k=o[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(Dr(r,t))return o[t]=1,r[t];if(i!==Z&&V(i,t))return o[t]=2,i[t];if((f=e.propsOptions[0])&&V(f,t))return o[t]=3,s[t];if(n!==Z&&V(n,t))return o[t]=4,n[t];ni&&(o[t]=0)}}const u=sn[t];let h,m;if(u)return t==="$attrs"&&ke(e.attrs,"get",""),u(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==Z&&V(n,t))return o[t]=4,n[t];if(m=l.config.globalProperties,V(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Dr(i,t)?(i[t]=n,!0):r!==Z&&V(r,t)?(r[t]=n,!0):V(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!n[o]||e!==Z&&V(e,o)||Dr(t,o)||(a=s[0])&&V(a,o)||V(r,o)||V(sn,o)||V(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:V(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Cs(e){return M(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ni=!0;function Gc(e){const t=ji(e),n=e.proxy,r=e.ctx;ni=!1,t.beforeCreate&&Ts(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:f,created:u,beforeMount:h,mounted:m,beforeUpdate:k,updated:D,activated:L,deactivated:X,beforeDestroy:E,beforeUnmount:O,destroyed:P,unmounted:j,render:q,renderTracked:F,renderTriggered:oe,errorCaptured:_e,serverPrefetch:Pe,expose:Ke,inheritAttrs:Wt,components:An,directives:On,filters:Ir}=t;if(f&&Xc(f,r,null),o)for(const ie in o){const J=o[ie];B(J)&&(r[ie]=J.bind(n))}if(i){const ie=i.call(n,n);re(ie)&&(e.data=_n(ie))}if(ni=!0,s)for(const ie in s){const J=s[ie],bt=B(J)?J.bind(n,n):B(J.get)?J.get.bind(n,n):Re,Sn=!B(J)&&B(J.set)?J.set.bind(n):Re,vt=le({get:bt,set:Sn});Object.defineProperty(r,ie,{enumerable:!0,configurable:!0,get:()=>vt.value,set:je=>vt.value=je})}if(a)for(const ie in a)xa(a[ie],r,n,ie);if(l){const ie=B(l)?l.call(n):l;Reflect.ownKeys(ie).forEach(J=>{nf(J,ie[J])})}u&&Ts(u,e,"c");function be(ie,J){M(J)?J.forEach(bt=>ie(bt.bind(n))):J&&ie(J.bind(n))}if(be(Dc,h),be(Di,m),be(jc,k),be(zc,D),be(gf,L),be(bf,X),be(Wc,_e),be(qc,F),be(Vc,oe),be(Uc,O),be(_a,j),be(Hc,Pe),M(Ke))if(Ke.length){const ie=e.exposed||(e.exposed={});Ke.forEach(J=>{Object.defineProperty(ie,J,{get:()=>n[J],set:bt=>n[J]=bt})})}else e.exposed||(e.exposed={});q&&e.render===Re&&(e.render=q),Wt!=null&&(e.inheritAttrs=Wt),An&&(e.components=An),On&&(e.directives=On)}function Xc(e,t,n=Re){M(e)&&(e=ri(e));for(const r in e){const i=e[r];let s;re(i)?"default"in i?s=Jn(i.from||r,i.default,!0):s=Jn(i.from||r):s=Jn(i),Ee(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[r]=s}}function Ts(e,t,n){De(M(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function xa(e,t,n,r){const i=r.includes(".")?La(n,r):()=>n[r];if(de(e)){const s=t[e];B(s)&&St(i,s)}else if(B(e))St(i,e.bind(n));else if(re(e))if(M(e))e.forEach(s=>xa(s,t,n,r));else{const s=B(e.handler)?e.handler.bind(n):t[e.handler];B(s)&&St(i,s,e)}}function ji(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let l;return a?l=a:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(f=>lr(l,f,o,!0)),lr(l,t,o)),re(t)&&s.set(t,l),l}function lr(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&lr(e,s,n,!0),i&&i.forEach(o=>lr(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=Jc[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Jc={data:Ps,props:Ns,emits:Ns,methods:Qt,computed:Qt,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:Qt,directives:Qt,watch:Zc,provide:Ps,inject:Qc};function Ps(e,t){return t?e?function(){return me(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function Qc(e,t){return Qt(ri(e),ri(t))}function ri(e){if(M(e)){const t={};for(let n=0;n1)return n&&B(t)?t.call(r&&r.proxy):t}}const ka={},Ea=()=>Object.create(ka),Aa=e=>Object.getPrototypeOf(e)===ka;function rf(e,t,n,r=!1){const i={},s=Ea();e.propsDefaults=Object.create(null),Oa(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:vc(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function sf(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=G(i),[l]=e.propsOptions;let f=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let h=0;h{l=!0;const[m,k]=Sa(h,t,!0);me(o,m),k&&a.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return re(e)&&r.set(e,$t),$t;if(M(s))for(let u=0;u-1,k[1]=L<0||D-1||V(k,"default"))&&a.push(h)}}}const f=[o,a];return re(e)&&r.set(e,f),f}function Rs(e){return e[0]!=="$"&&!nn(e)}function Is(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Ls(e,t){return Is(e)===Is(t)}function Ms(e,t){return M(t)?t.findIndex(n=>Ls(n,e)):B(t)&&Ls(t,e)?0:-1}const Ca=e=>e[0]==="_"||e==="$stable",zi=e=>M(e)?e.map(He):[He(e)],of=(e,t,n)=>{if(t._n)return t;const r=Nc((...i)=>zi(t(...i)),n);return r._c=!1,r},Ta=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Ca(i))continue;const s=e[i];if(B(s))t[i]=of(i,s,r);else if(s!=null){const o=zi(s);t[i]=()=>o}}},Pa=(e,t)=>{const n=zi(t);e.slots.default=()=>n},af=(e,t)=>{const n=e.slots=Ea();if(e.vnode.shapeFlag&32){const r=t._;r?(me(n,t),Ko(n,"_",r,!0)):Ta(t,n)}else t&&Pa(e,t)},lf=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=Z;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(me(i,t),!n&&a===1&&delete i._):(s=!t.$stable,Ta(t,i)),o=t}else t&&(Pa(e,t),o={default:1});if(s)for(const a in i)!Ca(a)&&o[a]==null&&delete i[a]};function si(e,t,n,r,i=!1){if(M(e)){e.forEach((m,k)=>si(m,t&&(M(t)?t[k]:t),n,r,i));return}if(Xn(r)&&!i)return;const s=r.shapeFlag&4?Sr(r.component):r.el,o=i?null:s,{i:a,r:l}=e,f=t&&t.r,u=a.refs===Z?a.refs={}:a.refs,h=a.setupState;if(f!=null&&f!==l&&(de(f)?(u[f]=null,V(h,f)&&(h[f]=null)):Ee(f)&&(f.value=null)),B(l))ft(l,a,12,[o,u]);else{const m=de(l),k=Ee(l);if(m||k){const D=()=>{if(e.f){const L=m?V(h,l)?h[l]:u[l]:l.value;i?M(L)&&Ci(L,s):M(L)?L.includes(s)||L.push(s):m?(u[l]=[s],V(h,l)&&(h[l]=u[l])):(l.value=[s],e.k&&(u[e.k]=l.value))}else m?(u[l]=o,V(h,l)&&(h[l]=o)):k&&(l.value=o,e.k&&(u[e.k]=o))};o?(D.id=-1,we(D,n)):D()}}}const we=Bc;function cf(e){return ff(e)}function ff(e,t){const n=Go();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:f,setElementText:u,parentNode:h,nextSibling:m,setScopeId:k=Re,insertStaticContent:D}=e,L=(c,d,p,b=null,v=null,x=null,A=void 0,_=null,w=!!d.dynamicChildren)=>{if(c===d)return;c&&!Gt(c,d)&&(b=Cn(c),je(c,v,x,!0),c=null),d.patchFlag===-2&&(w=!1,d.dynamicChildren=null);const{type:y,ref:C,shapeFlag:R}=d;switch(y){case Ar:X(c,d,p,b);break;case Ct:E(c,d,p,b);break;case Qn:c==null&&O(d,p,b,A);break;case ce:An(c,d,p,b,v,x,A,_,w);break;default:R&1?q(c,d,p,b,v,x,A,_,w):R&6?On(c,d,p,b,v,x,A,_,w):(R&64||R&128)&&y.process(c,d,p,b,v,x,A,_,w,Yt)}C!=null&&v&&si(C,c&&c.ref,x,d||c,!d)},X=(c,d,p,b)=>{if(c==null)r(d.el=a(d.children),p,b);else{const v=d.el=c.el;d.children!==c.children&&f(v,d.children)}},E=(c,d,p,b)=>{c==null?r(d.el=l(d.children||""),p,b):d.el=c.el},O=(c,d,p,b)=>{[c.el,c.anchor]=D(c.children,d,p,b,c.el,c.anchor)},P=({el:c,anchor:d},p,b)=>{let v;for(;c&&c!==d;)v=m(c),r(c,p,b),c=v;r(d,p,b)},j=({el:c,anchor:d})=>{let p;for(;c&&c!==d;)p=m(c),i(c),c=p;i(d)},q=(c,d,p,b,v,x,A,_,w)=>{d.type==="svg"?A="svg":d.type==="math"&&(A="mathml"),c==null?F(d,p,b,v,x,A,_,w):Pe(c,d,v,x,A,_,w)},F=(c,d,p,b,v,x,A,_)=>{let w,y;const{props:C,shapeFlag:R,transition:N,dirs:$}=c;if(w=c.el=o(c.type,x,C&&C.is,C),R&8?u(w,c.children):R&16&&_e(c.children,w,null,b,v,jr(c,x),A,_),$&&yt(c,null,b,"created"),oe(w,c,c.scopeId,A,b),C){for(const Q in C)Q!=="value"&&!nn(Q)&&s(w,Q,null,C[Q],x,c.children,b,v,Ge);"value"in C&&s(w,"value",null,C.value,x),(y=C.onVnodeBeforeMount)&&Ue(y,b,c)}$&&yt(c,null,b,"beforeMount");const z=uf(v,N);z&&N.beforeEnter(w),r(w,d,p),((y=C&&C.onVnodeMounted)||z||$)&&we(()=>{y&&Ue(y,b,c),z&&N.enter(w),$&&yt(c,null,b,"mounted")},v)},oe=(c,d,p,b,v)=>{if(p&&k(c,p),b)for(let x=0;x{for(let y=w;y{const _=d.el=c.el;let{patchFlag:w,dynamicChildren:y,dirs:C}=d;w|=c.patchFlag&16;const R=c.props||Z,N=d.props||Z;let $;if(p&&_t(p,!1),($=N.onVnodeBeforeUpdate)&&Ue($,p,d,c),C&&yt(d,c,p,"beforeUpdate"),p&&_t(p,!0),y?Ke(c.dynamicChildren,y,_,p,b,jr(d,v),x):A||J(c,d,_,null,p,b,jr(d,v),x,!1),w>0){if(w&16)Wt(_,d,R,N,p,b,v);else if(w&2&&R.class!==N.class&&s(_,"class",null,N.class,v),w&4&&s(_,"style",R.style,N.style,v),w&8){const z=d.dynamicProps;for(let Q=0;Q{$&&Ue($,p,d,c),C&&yt(d,c,p,"updated")},b)},Ke=(c,d,p,b,v,x,A)=>{for(let _=0;_{if(p!==b){if(p!==Z)for(const _ in p)!nn(_)&&!(_ in b)&&s(c,_,p[_],null,A,d.children,v,x,Ge);for(const _ in b){if(nn(_))continue;const w=b[_],y=p[_];w!==y&&_!=="value"&&s(c,_,y,w,A,d.children,v,x,Ge)}"value"in b&&s(c,"value",p.value,b.value,A)}},An=(c,d,p,b,v,x,A,_,w)=>{const y=d.el=c?c.el:a(""),C=d.anchor=c?c.anchor:a("");let{patchFlag:R,dynamicChildren:N,slotScopeIds:$}=d;$&&(_=_?_.concat($):$),c==null?(r(y,p,b),r(C,p,b),_e(d.children||[],p,C,v,x,A,_,w)):R>0&&R&64&&N&&c.dynamicChildren?(Ke(c.dynamicChildren,N,p,v,x,A,_),(d.key!=null||v&&d===v.subTree)&&Na(c,d,!0)):J(c,d,p,C,v,x,A,_,w)},On=(c,d,p,b,v,x,A,_,w)=>{d.slotScopeIds=_,c==null?d.shapeFlag&512?v.ctx.activate(d,p,b,A,w):Ir(d,p,b,v,x,A,w):cs(c,d,w)},Ir=(c,d,p,b,v,x,A)=>{const _=c.component=Sf(c,b,v);if(Ma(c)&&(_.ctx.renderer=Yt),Cf(_),_.asyncDep){if(v&&v.registerDep(_,be,A),!c.el){const w=_.subTree=Y(Ct);E(null,w,d,p)}}else be(_,c,d,p,v,x,A)},cs=(c,d,p)=>{const b=d.component=c.component;if(Lc(c,d,p))if(b.asyncDep&&!b.asyncResolved){ie(b,d,p);return}else b.next=d,Sc(b.update),b.effect.dirty=!0,b.update();else d.el=c.el,b.vnode=d},be=(c,d,p,b,v,x,A)=>{const _=()=>{if(c.isMounted){let{next:C,bu:R,u:N,parent:$,vnode:z}=c;{const Rt=Ra(c);if(Rt){C&&(C.el=z.el,ie(c,C,A)),Rt.asyncDep.then(()=>{c.isUnmounted||_()});return}}let Q=C,K;_t(c,!1),C?(C.el=z.el,ie(c,C,A)):C=z,R&&$r(R),(K=C.props&&C.props.onVnodeBeforeUpdate)&&Ue(K,$,C,z),_t(c,!0);const pe=Br(c),Le=c.subTree;c.subTree=pe,L(Le,pe,h(Le.el),Cn(Le),c,v,x),C.el=pe.el,Q===null&&Mc(c,pe.el),N&&we(N,v),(K=C.props&&C.props.onVnodeUpdated)&&we(()=>Ue(K,$,C,z),v)}else{let C;const{el:R,props:N}=d,{bm:$,m:z,parent:Q}=c,K=Xn(d);if(_t(c,!1),$&&$r($),!K&&(C=N&&N.onVnodeBeforeMount)&&Ue(C,Q,d),_t(c,!0),R&&hs){const pe=()=>{c.subTree=Br(c),hs(R,c.subTree,c,v,null)};K?d.type.__asyncLoader().then(()=>!c.isUnmounted&&pe()):pe()}else{const pe=c.subTree=Br(c);L(null,pe,p,b,c,v,x),d.el=pe.el}if(z&&we(z,v),!K&&(C=N&&N.onVnodeMounted)){const pe=d;we(()=>Ue(C,Q,pe),v)}(d.shapeFlag&256||Q&&Xn(Q.vnode)&&Q.vnode.shapeFlag&256)&&c.a&&we(c.a,v),c.isMounted=!0,d=p=b=null}},w=c.effect=new Pi(_,Re,()=>Bi(y),c.scope),y=c.update=()=>{w.dirty&&w.run()};y.id=c.uid,_t(c,!0),y()},ie=(c,d,p)=>{d.component=c;const b=c.vnode.props;c.vnode=d,c.next=null,sf(c,d.props,b,p),lf(c,d.children,p),mt(),As(c),gt()},J=(c,d,p,b,v,x,A,_,w=!1)=>{const y=c&&c.children,C=c?c.shapeFlag:0,R=d.children,{patchFlag:N,shapeFlag:$}=d;if(N>0){if(N&128){Sn(y,R,p,b,v,x,A,_,w);return}else if(N&256){bt(y,R,p,b,v,x,A,_,w);return}}$&8?(C&16&&Ge(y,v,x),R!==y&&u(p,R)):C&16?$&16?Sn(y,R,p,b,v,x,A,_,w):Ge(y,v,x,!0):(C&8&&u(p,""),$&16&&_e(R,p,b,v,x,A,_,w))},bt=(c,d,p,b,v,x,A,_,w)=>{c=c||$t,d=d||$t;const y=c.length,C=d.length,R=Math.min(y,C);let N;for(N=0;NC?Ge(c,v,x,!0,!1,R):_e(d,p,b,v,x,A,_,w,R)},Sn=(c,d,p,b,v,x,A,_,w)=>{let y=0;const C=d.length;let R=c.length-1,N=C-1;for(;y<=R&&y<=N;){const $=c[y],z=d[y]=w?at(d[y]):He(d[y]);if(Gt($,z))L($,z,p,null,v,x,A,_,w);else break;y++}for(;y<=R&&y<=N;){const $=c[R],z=d[N]=w?at(d[N]):He(d[N]);if(Gt($,z))L($,z,p,null,v,x,A,_,w);else break;R--,N--}if(y>R){if(y<=N){const $=N+1,z=$N)for(;y<=R;)je(c[y],v,x,!0),y++;else{const $=y,z=y,Q=new Map;for(y=z;y<=N;y++){const Ae=d[y]=w?at(d[y]):He(d[y]);Ae.key!=null&&Q.set(Ae.key,y)}let K,pe=0;const Le=N-z+1;let Rt=!1,ps=0;const Kt=new Array(Le);for(y=0;y=Le){je(Ae,v,x,!0);continue}let ze;if(Ae.key!=null)ze=Q.get(Ae.key);else for(K=z;K<=N;K++)if(Kt[K-z]===0&&Gt(Ae,d[K])){ze=K;break}ze===void 0?je(Ae,v,x,!0):(Kt[ze-z]=y+1,ze>=ps?ps=ze:Rt=!0,L(Ae,d[ze],p,null,v,x,A,_,w),pe++)}const ms=Rt?df(Kt):$t;for(K=ms.length-1,y=Le-1;y>=0;y--){const Ae=z+y,ze=d[Ae],gs=Ae+1{const{el:x,type:A,transition:_,children:w,shapeFlag:y}=c;if(y&6){vt(c.component.subTree,d,p,b);return}if(y&128){c.suspense.move(d,p,b);return}if(y&64){A.move(c,d,p,Yt);return}if(A===ce){r(x,d,p);for(let R=0;R_.enter(x),v);else{const{leave:R,delayLeave:N,afterLeave:$}=_,z=()=>r(x,d,p),Q=()=>{R(x,()=>{z(),$&&$()})};N?N(x,z,Q):Q()}else r(x,d,p)},je=(c,d,p,b=!1,v=!1)=>{const{type:x,props:A,ref:_,children:w,dynamicChildren:y,shapeFlag:C,patchFlag:R,dirs:N,memoIndex:$}=c;if(_!=null&&si(_,null,p,c,!0),$!=null&&(d.renderCache[$]=void 0),C&256){d.ctx.deactivate(c);return}const z=C&1&&N,Q=!Xn(c);let K;if(Q&&(K=A&&A.onVnodeBeforeUnmount)&&Ue(K,d,c),C&6)Fl(c.component,p,b);else{if(C&128){c.suspense.unmount(p,b);return}z&&yt(c,null,d,"beforeUnmount"),C&64?c.type.remove(c,d,p,v,Yt,b):y&&(x!==ce||R>0&&R&64)?Ge(y,d,p,!1,!0):(x===ce&&R&384||!v&&C&16)&&Ge(w,d,p),b&&fs(c)}(Q&&(K=A&&A.onVnodeUnmounted)||z)&&we(()=>{K&&Ue(K,d,c),z&&yt(c,null,d,"unmounted")},p)},fs=c=>{const{type:d,el:p,anchor:b,transition:v}=c;if(d===ce){$l(p,b);return}if(d===Qn){j(c);return}const x=()=>{i(p),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(c.shapeFlag&1&&v&&!v.persisted){const{leave:A,delayLeave:_}=v,w=()=>A(p,x);_?_(c.el,x,w):w()}else x()},$l=(c,d)=>{let p;for(;c!==d;)p=m(c),i(c),c=p;i(d)},Fl=(c,d,p)=>{const{bum:b,scope:v,update:x,subTree:A,um:_,m:w,a:y}=c;$s(w),$s(y),b&&$r(b),v.stop(),x&&(x.active=!1,je(A,c,d,p)),_&&we(_,d),we(()=>{c.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Ge=(c,d,p,b=!1,v=!1,x=0)=>{for(let A=x;Ac.shapeFlag&6?Cn(c.component.subTree):c.shapeFlag&128?c.suspense.next():m(c.anchor||c.el);let Lr=!1;const us=(c,d,p)=>{c==null?d._vnode&&je(d._vnode,null,null,!0):L(d._vnode||null,c,d,null,null,null,p),Lr||(Lr=!0,As(),ga(),Lr=!1),d._vnode=c},Yt={p:L,um:je,m:vt,r:fs,mt:Ir,mc:_e,pc:J,pbc:Ke,n:Cn,o:e};let ds,hs;return{render:us,hydrate:ds,createApp:tf(us,ds)}}function jr({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 _t({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function uf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Na(e,t,n=!1){const r=e.children,i=t.children;if(M(r)&&M(i))for(let s=0;s>1,e[n[a]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function Ra(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ra(t)}function $s(e){if(e)for(let t=0;tJn(hf),Ln={};function St(e,t,n){return Ia(e,t,n)}function Ia(e,t,{immediate:n,deep:r,flush:i,once:s,onTrack:o,onTrigger:a}=Z){if(t&&s){const F=t;t=(...oe)=>{F(...oe),q()}}const l=ye,f=F=>r===!0?F:lt(F,r===!1?1:void 0);let u,h=!1,m=!1;if(Ee(e)?(u=()=>e.value,h=or(e)):rn(e)?(u=()=>f(e),h=!0):M(e)?(m=!0,h=e.some(F=>rn(F)||or(F)),u=()=>e.map(F=>{if(Ee(F))return F.value;if(rn(F))return f(F);if(B(F))return ft(F,l,2)})):B(e)?t?u=()=>ft(e,l,2):u=()=>(k&&k(),De(e,l,3,[D])):u=Re,t&&r){const F=u;u=()=>lt(F())}let k,D=F=>{k=P.onStop=()=>{ft(F,l,4),k=P.onStop=void 0}},L;if(Or)if(D=Re,t?n&&De(t,l,3,[u(),m?[]:void 0,D]):u(),i==="sync"){const F=pf();L=F.__watcherHandles||(F.__watcherHandles=[])}else return Re;let X=m?new Array(e.length).fill(Ln):Ln;const E=()=>{if(!(!P.active||!P.dirty))if(t){const F=P.run();(r||h||(m?F.some((oe,_e)=>ut(oe,X[_e])):ut(F,X)))&&(k&&k(),De(t,l,3,[F,X===Ln?void 0:m&&X[0]===Ln?[]:X,D]),X=F)}else P.run()};E.allowRecurse=!!t;let O;i==="sync"?O=E:i==="post"?O=()=>we(E,l&&l.suspense):(E.pre=!0,l&&(E.id=l.uid),O=()=>Bi(E));const P=new Pi(u,Re,O),j=Ql(),q=()=>{P.stop(),j&&Ci(j.effects,P)};return t?n?E():X=P.run():i==="post"?we(P.run.bind(P),l&&l.suspense):P.run(),L&&L.push(q),q}function mf(e,t,n){const r=this.proxy,i=de(e)?e.includes(".")?La(r,e):()=>r[e]:e.bind(r,r);let s;B(t)?s=t:(s=t.handler,n=t);const o=xn(this),a=Ia(i,s.bind(r),n);return o(),a}function La(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{lt(r,t,n)});else if(Wo(e)){for(const r in e)lt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&<(e[r],t,n)}return e}const Ma=e=>e.type.__isKeepAlive;function gf(e,t){$a(e,"a",t)}function bf(e,t){$a(e,"da",t)}function $a(e,t,n=ye){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Er(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Ma(i.parent.vnode)&&vf(r,t,n,i),i=i.parent}}function vf(e,t,n,r){const i=Er(t,e,r,!0);_a(()=>{Ci(r[t],i)},n)}function Fa(e,t){e.shapeFlag&6&&e.component?Fa(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 yf=e=>e.__isTeleport,ce=Symbol.for("v-fgt"),Ar=Symbol.for("v-txt"),Ct=Symbol.for("v-cmt"),Qn=Symbol.for("v-stc"),an=[];let Fe=null;function H(e=!1){an.push(Fe=e?null:[])}function _f(){an.pop(),Fe=an[an.length-1]||null}let pn=1;function Fs(e){pn+=e}function Ba(e){return e.dynamicChildren=pn>0?Fe||$t:null,_f(),pn>0&&Fe&&Fe.push(e),e}function W(e,t,n,r,i,s){return Ba(g(e,t,n,r,i,s,!0))}function Da(e,t,n,r,i){return Ba(Y(e,t,n,r,i,!0))}function oi(e){return e?e.__v_isVNode===!0:!1}function Gt(e,t){return e.type===t.type&&e.key===t.key}const ja=({key:e})=>e??null,Zn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?de(e)||Ee(e)||B(e)?{i:Ie,r:e,k:t,f:!!n}:e:null);function g(e,t=null,n=null,r=0,i=null,s=e===ce?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ja(t),ref:t&&Zn(t),scopeId:ya,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:Ie};return a?(Ui(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=de(n)?8:16),pn>0&&!o&&Fe&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Fe.push(l),l}const Y=xf;function xf(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===$c)&&(e=Ct),oi(e)){const a=zt(e,t,!0);return n&&Ui(a,n),pn>0&&!s&&Fe&&(a.shapeFlag&6?Fe[Fe.indexOf(e)]=a:Fe.push(a)),a.patchFlag=-2,a}if(Rf(e)&&(e=e.__vccOpts),t){t=wf(t);let{class:a,style:l}=t;a&&!de(a)&&(t.class=Se(a)),re(l)&&(fa(l)&&!M(l)&&(l=me({},l)),t.style=yr(l))}const o=de(e)?1:Fc(e)?128:yf(e)?64:re(e)?4:B(e)?2:0;return g(e,t,n,r,i,o,s,!0)}function wf(e){return e?fa(e)||Aa(e)?me({},e):e:null}function zt(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=e,f=t?Ef(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&ja(f),ref:t&&t.ref?n&&s?M(s)?s.concat(Zn(t)):[s,Zn(t)]:Zn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ce?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&zt(e.ssContent),ssFallback:e.ssFallback&&zt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Fa(u,l.clone(u)),u}function Ce(e=" ",t=0){return Y(Ar,null,e,t)}function kf(e,t){const n=Y(Qn,null,e);return n.staticCount=t,n}function cr(e="",t=!1){return t?(H(),Da(Ct,null,e)):Y(Ct,null,e)}function He(e){return e==null||typeof e=="boolean"?Y(Ct):M(e)?Y(ce,null,e.slice()):typeof e=="object"?at(e):Y(Ar,null,String(e))}function at(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:zt(e)}function Ui(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(M(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Ui(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Aa(t)?t._ctx=Ie:i===3&&Ie&&(Ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else B(t)?(t={default:t,_ctx:Ie},n=32):(t=String(t),r&64?(n=16,t=[Ce(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ef(...e){const t={};for(let n=0;n{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};fr=t("__VUE_INSTANCE_SETTERS__",n=>ye=n),ai=t("__VUE_SSR_SETTERS__",n=>Or=n)}const xn=e=>{const t=ye;return fr(e),e.scope.on(),()=>{e.scope.off(),fr(t)}},Bs=()=>{ye&&ye.scope.off(),fr(null)};function za(e){return e.vnode.shapeFlag&4}let Or=!1;function Cf(e,t=!1){t&&ai(t);const{props:n,children:r}=e.vnode,i=za(e);rf(e,n,i,t),af(e,r);const s=i?Tf(e,t):void 0;return t&&ai(!1),s}function Tf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kc);const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?Nf(e):null,s=xn(e);mt();const o=ft(r,e,0,[e.props,i]);if(gt(),s(),Vo(o)){if(o.then(Bs,Bs),t)return o.then(a=>{Ds(e,a,t)}).catch(a=>{wr(a,e,0)});e.asyncDep=o}else Ds(e,o,t)}else Ua(e,t)}function Ds(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=ha(t)),Ua(e,n)}let js;function Ua(e,t,n){const r=e.type;if(!e.render){if(!t&&js&&!r.render){const i=r.template||ji(e).template;if(i){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,f=me(me({isCustomElement:s,delimiters:a},o),l);r.render=js(i,f)}}e.render=r.render||Re}{const i=xn(e);mt();try{Gc(e)}finally{gt(),i()}}}const Pf={get(e,t){return ke(e,"get",""),e[t]}};function Nf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Pf),slots:e.slots,emit:e.emit,expose:t}}function Sr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ha(yc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sn)return sn[n](e)},has(t,n){return n in t||n in sn}})):e.proxy}function Rf(e){return B(e)&&"__vccOpts"in e}const le=(e,t)=>_c(e,t,Or);function If(e,t,n){const r=arguments.length;return r===2?re(t)&&!M(t)?oi(t)?Y(e,null,[t]):Y(e,t):Y(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&oi(n)&&(n=[n]),Y(e,t,n))}const Lf="3.4.29";/** +**/function ft(e,t,n,r){try{return r?e(...r):e()}catch(i){wr(i,t,n)}}function De(e,t,n,r){if(B(e)){const i=ft(e,t,n,r);return i&&Ha(i)&&i.catch(s=>{wr(s,t,n)}),i}if(M(e)){const i=[];for(let s=0;s>>1,i=ge[r],s=hn(i);sVe&&ge.splice(t,1)}function Cc(e){M(e)?Bt.push(...e):(!at||!at.includes(e,e.allowRecurse?xt+1:xt))&&Bt.push(e),mo()}function As(e,t,n=dn?Ve+1:0){for(;nhn(n)-hn(r));if(Bt.length=0,at){at.push(...t);return}for(at=t,xt=0;xte.id==null?1/0:e.id,Tc=(e,t)=>{const n=hn(e)-hn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function bo(e){ei=!1,dn=!0,ge.sort(Tc);try{for(Ve=0;Vede(k)?k.trim():k)),h&&(i=n.map(Hl))}let o,l=r[o=Mr(t)]||r[o=Mr(jt(t))];!l&&s&&(l=r[o=Mr(Ht(t))]),l&&De(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,De(f,e,6,i)}}function vo(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(!B(e)){const l=f=>{const u=vo(f,t,!0);u&&(o=!0,me(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!o?(re(e)&&r.set(e,null),null):(M(s)?s.forEach(l=>a[l]=null):me(a,s),re(e)&&r.set(e,a),a)}function kr(e,t){return!e||!gr(t)?!1:(t=t.slice(2).replace(/Once$/,""),V(e,t[0].toLowerCase()+t.slice(1))||V(e,Ht(t))||V(e,t))}let Ie=null,yo=null;function lr(e){const t=Ie;return Ie=e,yo=e&&e.type.__scopeId||null,t}function Nc(e,t=Ie,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Fs(-1);const s=lr(t);let a;try{a=e(...i)}finally{lr(s),r._d&&Fs(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Br(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:a,attrs:o,emit:l,render:f,renderCache:u,props:h,data:m,setupState:k,ctx:D,inheritAttrs:L}=e,X=lr(e);let E,O;try{if(n.shapeFlag&4){const j=i||r,W=j;E=He(f.call(W,j,u,h,k,m,D)),O=o}else{const j=t;E=He(j.length>1?j(h,{attrs:o,slots:a,emit:l}):j(h,null)),O=t.props?o:Rc(o)}}catch(j){on.length=0,wr(j,e,1),E=Y(Ct)}let P=E;if(O&&L!==!1){const j=Object.keys(O),{shapeFlag:W}=P;j.length&&W&7&&(s&&j.some(Si)&&(O=Ic(O,s)),P=zt(P,O,!1,!0))}return n.dirs&&(P=zt(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(n.dirs):n.dirs),n.transition&&(P.transition=n.transition),E=P,lr(X),E}const Rc=e=>{let t;for(const n in e)(n==="class"||n==="style"||gr(n))&&((t||(t={}))[n]=e[n]);return t},Ic=(e,t)=>{const n={};for(const r in e)(!Si(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Lc(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?Os(r,a,f):!!a;if(l&8){const u=t.dynamicProps;for(let h=0;he.__isSuspense;function Bc(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):Cc(e)}function Er(e,t,n=ye,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{mt();const o=wn(n),l=De(t,n,e,a);return o(),gt(),l});return r?i.unshift(s):i.push(s),s}}const nt=e=>(t,n=ye)=>{(!Or||e==="sp")&&Er(e,(...r)=>t(...r),n)},Dc=nt("bm"),Di=nt("m"),jc=nt("bu"),zc=nt("u"),Uc=nt("bum"),_o=nt("um"),Hc=nt("sp"),Vc=nt("rtg"),qc=nt("rtc");function Wc(e,t=ye){Er("ec",e,t)}function Ss(e,t){if(Ie===null)return e;const n=Sr(Ie),r=e.dirs||(e.dirs=[]);for(let i=0;it(a,o,void 0,s));else{const a=Object.keys(e);i=new Array(a.length);for(let o=0,l=a.length;o!!e.type.__asyncLoader,ti=e=>e?zo(e)?Sr(e):ti(e.parent):null,sn=me(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=>ti(e.parent),$root:e=>ti(e.root),$emit:e=>e.emit,$options:e=>ji(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Bi(e.update)}),$nextTick:e=>e.n||(e.n=Ac.bind(e.proxy)),$watch:e=>mf.bind(e)}),Dr=(e,t)=>e!==Z&&!e.__isScriptSetup&&V(e,t),Kc={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(Dr(r,t))return a[t]=1,r[t];if(i!==Z&&V(i,t))return a[t]=2,i[t];if((f=e.propsOptions[0])&&V(f,t))return a[t]=3,s[t];if(n!==Z&&V(n,t))return a[t]=4,n[t];ni&&(a[t]=0)}}const u=sn[t];let h,m;if(u)return t==="$attrs"&&ke(e.attrs,"get",""),u(e);if((h=o.__cssModules)&&(h=h[t]))return h;if(n!==Z&&V(n,t))return a[t]=4,n[t];if(m=l.config.globalProperties,V(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Dr(i,t)?(i[t]=n,!0):r!==Z&&V(r,t)?(r[t]=n,!0):V(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!==Z&&V(e,a)||Dr(t,a)||(o=s[0])&&V(o,a)||V(r,a)||V(sn,a)||V(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:V(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Cs(e){return M(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ni=!0;function Gc(e){const t=ji(e),n=e.proxy,r=e.ctx;ni=!1,t.beforeCreate&&Ts(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:a,watch:o,provide:l,inject:f,created:u,beforeMount:h,mounted:m,beforeUpdate:k,updated:D,activated:L,deactivated:X,beforeDestroy:E,beforeUnmount:O,destroyed:P,unmounted:j,render:W,renderTracked:F,renderTriggered:ae,errorCaptured:_e,serverPrefetch:Pe,expose:Ke,inheritAttrs:Wt,components:On,directives:Sn,filters:Ir}=t;if(f&&Xc(f,r,null),a)for(const ie in a){const J=a[ie];B(J)&&(r[ie]=J.bind(n))}if(i){const ie=i.call(n,n);re(ie)&&(e.data=xn(ie))}if(ni=!0,s)for(const ie in s){const J=s[ie],bt=B(J)?J.bind(n,n):B(J.get)?J.get.bind(n,n):Re,Cn=!B(J)&&B(J.set)?J.set.bind(n):Re,vt=ce({get:bt,set:Cn});Object.defineProperty(r,ie,{enumerable:!0,configurable:!0,get:()=>vt.value,set:je=>vt.value=je})}if(o)for(const ie in o)xo(o[ie],r,n,ie);if(l){const ie=B(l)?l.call(n):l;Reflect.ownKeys(ie).forEach(J=>{nf(J,ie[J])})}u&&Ts(u,e,"c");function be(ie,J){M(J)?J.forEach(bt=>ie(bt.bind(n))):J&&ie(J.bind(n))}if(be(Dc,h),be(Di,m),be(jc,k),be(zc,D),be(gf,L),be(bf,X),be(Wc,_e),be(qc,F),be(Vc,ae),be(Uc,O),be(_o,j),be(Hc,Pe),M(Ke))if(Ke.length){const ie=e.exposed||(e.exposed={});Ke.forEach(J=>{Object.defineProperty(ie,J,{get:()=>n[J],set:bt=>n[J]=bt})})}else e.exposed||(e.exposed={});W&&e.render===Re&&(e.render=W),Wt!=null&&(e.inheritAttrs=Wt),On&&(e.components=On),Sn&&(e.directives=Sn)}function Xc(e,t,n=Re){M(e)&&(e=ri(e));for(const r in e){const i=e[r];let s;re(i)?"default"in i?s=Qn(i.from||r,i.default,!0):s=Qn(i.from||r):s=Qn(i),Ee(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[r]=s}}function Ts(e,t,n){De(M(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function xo(e,t,n,r){const i=r.includes(".")?Lo(n,r):()=>n[r];if(de(e)){const s=t[e];B(s)&&St(i,s)}else if(B(e))St(i,e.bind(n));else if(re(e))if(M(e))e.forEach(s=>xo(s,t,n,r));else{const s=B(e.handler)?e.handler.bind(n):t[e.handler];B(s)&&St(i,s,e)}}function ji(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=>cr(l,f,a,!0)),cr(l,t,a)),re(t)&&s.set(t,l),l}function cr(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&cr(e,s,n,!0),i&&i.forEach(a=>cr(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const o=Jc[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const Jc={data:Ps,props:Ns,emits:Ns,methods:Qt,computed:Qt,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:Qt,directives:Qt,watch:Zc,provide:Ps,inject:Qc};function Ps(e,t){return t?e?function(){return me(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function Qc(e,t){return Qt(ri(e),ri(t))}function ri(e){if(M(e)){const t={};for(let n=0;n1)return n&&B(t)?t.call(r&&r.proxy):t}}const ko={},Eo=()=>Object.create(ko),Ao=e=>Object.getPrototypeOf(e)===ko;function rf(e,t,n,r=!1){const i={},s=Eo();e.propsDefaults=Object.create(null),Oo(e,t,i,s);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:vc(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function sf(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:a}}=e,o=G(i),[l]=e.propsOptions;let f=!1;if((r||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let h=0;h{l=!0;const[m,k]=So(h,t,!0);me(a,m),k&&o.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return re(e)&&r.set(e,$t),$t;if(M(s))for(let u=0;u-1,k[1]=L<0||D-1||V(k,"default"))&&o.push(h)}}}const f=[a,o];return re(e)&&r.set(e,f),f}function Rs(e){return e[0]!=="$"&&!nn(e)}function Is(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Ls(e,t){return Is(e)===Is(t)}function Ms(e,t){return M(t)?t.findIndex(n=>Ls(n,e)):B(t)&&Ls(t,e)?0:-1}const Co=e=>e[0]==="_"||e==="$stable",zi=e=>M(e)?e.map(He):[He(e)],af=(e,t,n)=>{if(t._n)return t;const r=Nc((...i)=>zi(t(...i)),n);return r._c=!1,r},To=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Co(i))continue;const s=e[i];if(B(s))t[i]=af(i,s,r);else if(s!=null){const a=zi(s);t[i]=()=>a}}},Po=(e,t)=>{const n=zi(t);e.slots.default=()=>n},of=(e,t)=>{const n=e.slots=Eo();if(e.vnode.shapeFlag&32){const r=t._;r?(me(n,t),Ya(n,"_",r,!0)):To(t,n)}else t&&Po(e,t)},lf=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,a=Z;if(r.shapeFlag&32){const o=t._;o?n&&o===1?s=!1:(me(i,t),!n&&o===1&&delete i._):(s=!t.$stable,To(t,i)),a=t}else t&&(Po(e,t),a={default:1});if(s)for(const o in i)!Co(o)&&a[o]==null&&delete i[o]};function si(e,t,n,r,i=!1){if(M(e)){e.forEach((m,k)=>si(m,t&&(M(t)?t[k]:t),n,r,i));return}if(Jn(r)&&!i)return;const s=r.shapeFlag&4?Sr(r.component):r.el,a=i?null:s,{i:o,r:l}=e,f=t&&t.r,u=o.refs===Z?o.refs={}:o.refs,h=o.setupState;if(f!=null&&f!==l&&(de(f)?(u[f]=null,V(h,f)&&(h[f]=null)):Ee(f)&&(f.value=null)),B(l))ft(l,o,12,[a,u]);else{const m=de(l),k=Ee(l);if(m||k){const D=()=>{if(e.f){const L=m?V(h,l)?h[l]:u[l]:l.value;i?M(L)&&Ci(L,s):M(L)?L.includes(s)||L.push(s):m?(u[l]=[s],V(h,l)&&(h[l]=u[l])):(l.value=[s],e.k&&(u[e.k]=l.value))}else m?(u[l]=a,V(h,l)&&(h[l]=a)):k&&(l.value=a,e.k&&(u[e.k]=a))};a?(D.id=-1,we(D,n)):D()}}}const we=Bc;function cf(e){return ff(e)}function ff(e,t){const n=Ka();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:a,createText:o,createComment:l,setText:f,setElementText:u,parentNode:h,nextSibling:m,setScopeId:k=Re,insertStaticContent:D}=e,L=(c,d,p,b=null,v=null,x=null,A=void 0,_=null,w=!!d.dynamicChildren)=>{if(c===d)return;c&&!Gt(c,d)&&(b=Tn(c),je(c,v,x,!0),c=null),d.patchFlag===-2&&(w=!1,d.dynamicChildren=null);const{type:y,ref:C,shapeFlag:R}=d;switch(y){case Ar:X(c,d,p,b);break;case Ct:E(c,d,p,b);break;case Zn:c==null&&O(d,p,b,A);break;case le:On(c,d,p,b,v,x,A,_,w);break;default:R&1?W(c,d,p,b,v,x,A,_,w):R&6?Sn(c,d,p,b,v,x,A,_,w):(R&64||R&128)&&y.process(c,d,p,b,v,x,A,_,w,Yt)}C!=null&&v&&si(C,c&&c.ref,x,d||c,!d)},X=(c,d,p,b)=>{if(c==null)r(d.el=o(d.children),p,b);else{const v=d.el=c.el;d.children!==c.children&&f(v,d.children)}},E=(c,d,p,b)=>{c==null?r(d.el=l(d.children||""),p,b):d.el=c.el},O=(c,d,p,b)=>{[c.el,c.anchor]=D(c.children,d,p,b,c.el,c.anchor)},P=({el:c,anchor:d},p,b)=>{let v;for(;c&&c!==d;)v=m(c),r(c,p,b),c=v;r(d,p,b)},j=({el:c,anchor:d})=>{let p;for(;c&&c!==d;)p=m(c),i(c),c=p;i(d)},W=(c,d,p,b,v,x,A,_,w)=>{d.type==="svg"?A="svg":d.type==="math"&&(A="mathml"),c==null?F(d,p,b,v,x,A,_,w):Pe(c,d,v,x,A,_,w)},F=(c,d,p,b,v,x,A,_)=>{let w,y;const{props:C,shapeFlag:R,transition:N,dirs:$}=c;if(w=c.el=a(c.type,x,C&&C.is,C),R&8?u(w,c.children):R&16&&_e(c.children,w,null,b,v,jr(c,x),A,_),$&&yt(c,null,b,"created"),ae(w,c,c.scopeId,A,b),C){for(const Q in C)Q!=="value"&&!nn(Q)&&s(w,Q,null,C[Q],x,c.children,b,v,Ge);"value"in C&&s(w,"value",null,C.value,x),(y=C.onVnodeBeforeMount)&&Ue(y,b,c)}$&&yt(c,null,b,"beforeMount");const z=uf(v,N);z&&N.beforeEnter(w),r(w,d,p),((y=C&&C.onVnodeMounted)||z||$)&&we(()=>{y&&Ue(y,b,c),z&&N.enter(w),$&&yt(c,null,b,"mounted")},v)},ae=(c,d,p,b,v)=>{if(p&&k(c,p),b)for(let x=0;x{for(let y=w;y{const _=d.el=c.el;let{patchFlag:w,dynamicChildren:y,dirs:C}=d;w|=c.patchFlag&16;const R=c.props||Z,N=d.props||Z;let $;if(p&&_t(p,!1),($=N.onVnodeBeforeUpdate)&&Ue($,p,d,c),C&&yt(d,c,p,"beforeUpdate"),p&&_t(p,!0),y?Ke(c.dynamicChildren,y,_,p,b,jr(d,v),x):A||J(c,d,_,null,p,b,jr(d,v),x,!1),w>0){if(w&16)Wt(_,d,R,N,p,b,v);else if(w&2&&R.class!==N.class&&s(_,"class",null,N.class,v),w&4&&s(_,"style",R.style,N.style,v),w&8){const z=d.dynamicProps;for(let Q=0;Q{$&&Ue($,p,d,c),C&&yt(d,c,p,"updated")},b)},Ke=(c,d,p,b,v,x,A)=>{for(let _=0;_{if(p!==b){if(p!==Z)for(const _ in p)!nn(_)&&!(_ in b)&&s(c,_,p[_],null,A,d.children,v,x,Ge);for(const _ in b){if(nn(_))continue;const w=b[_],y=p[_];w!==y&&_!=="value"&&s(c,_,y,w,A,d.children,v,x,Ge)}"value"in b&&s(c,"value",p.value,b.value,A)}},On=(c,d,p,b,v,x,A,_,w)=>{const y=d.el=c?c.el:o(""),C=d.anchor=c?c.anchor:o("");let{patchFlag:R,dynamicChildren:N,slotScopeIds:$}=d;$&&(_=_?_.concat($):$),c==null?(r(y,p,b),r(C,p,b),_e(d.children||[],p,C,v,x,A,_,w)):R>0&&R&64&&N&&c.dynamicChildren?(Ke(c.dynamicChildren,N,p,v,x,A,_),(d.key!=null||v&&d===v.subTree)&&No(c,d,!0)):J(c,d,p,C,v,x,A,_,w)},Sn=(c,d,p,b,v,x,A,_,w)=>{d.slotScopeIds=_,c==null?d.shapeFlag&512?v.ctx.activate(d,p,b,A,w):Ir(d,p,b,v,x,A,w):cs(c,d,w)},Ir=(c,d,p,b,v,x,A)=>{const _=c.component=Sf(c,b,v);if(Mo(c)&&(_.ctx.renderer=Yt),Cf(_),_.asyncDep){if(v&&v.registerDep(_,be,A),!c.el){const w=_.subTree=Y(Ct);E(null,w,d,p)}}else be(_,c,d,p,v,x,A)},cs=(c,d,p)=>{const b=d.component=c.component;if(Lc(c,d,p))if(b.asyncDep&&!b.asyncResolved){ie(b,d,p);return}else b.next=d,Sc(b.update),b.effect.dirty=!0,b.update();else d.el=c.el,b.vnode=d},be=(c,d,p,b,v,x,A)=>{const _=()=>{if(c.isMounted){let{next:C,bu:R,u:N,parent:$,vnode:z}=c;{const Rt=Ro(c);if(Rt){C&&(C.el=z.el,ie(c,C,A)),Rt.asyncDep.then(()=>{c.isUnmounted||_()});return}}let Q=C,K;_t(c,!1),C?(C.el=z.el,ie(c,C,A)):C=z,R&&$r(R),(K=C.props&&C.props.onVnodeBeforeUpdate)&&Ue(K,$,C,z),_t(c,!0);const pe=Br(c),Le=c.subTree;c.subTree=pe,L(Le,pe,h(Le.el),Tn(Le),c,v,x),C.el=pe.el,Q===null&&Mc(c,pe.el),N&&we(N,v),(K=C.props&&C.props.onVnodeUpdated)&&we(()=>Ue(K,$,C,z),v)}else{let C;const{el:R,props:N}=d,{bm:$,m:z,parent:Q}=c,K=Jn(d);if(_t(c,!1),$&&$r($),!K&&(C=N&&N.onVnodeBeforeMount)&&Ue(C,Q,d),_t(c,!0),R&&hs){const pe=()=>{c.subTree=Br(c),hs(R,c.subTree,c,v,null)};K?d.type.__asyncLoader().then(()=>!c.isUnmounted&&pe()):pe()}else{const pe=c.subTree=Br(c);L(null,pe,p,b,c,v,x),d.el=pe.el}if(z&&we(z,v),!K&&(C=N&&N.onVnodeMounted)){const pe=d;we(()=>Ue(C,Q,pe),v)}(d.shapeFlag&256||Q&&Jn(Q.vnode)&&Q.vnode.shapeFlag&256)&&c.a&&we(c.a,v),c.isMounted=!0,d=p=b=null}},w=c.effect=new Pi(_,Re,()=>Bi(y),c.scope),y=c.update=()=>{w.dirty&&w.run()};y.id=c.uid,_t(c,!0),y()},ie=(c,d,p)=>{d.component=c;const b=c.vnode.props;c.vnode=d,c.next=null,sf(c,d.props,b,p),lf(c,d.children,p),mt(),As(c),gt()},J=(c,d,p,b,v,x,A,_,w=!1)=>{const y=c&&c.children,C=c?c.shapeFlag:0,R=d.children,{patchFlag:N,shapeFlag:$}=d;if(N>0){if(N&128){Cn(y,R,p,b,v,x,A,_,w);return}else if(N&256){bt(y,R,p,b,v,x,A,_,w);return}}$&8?(C&16&&Ge(y,v,x),R!==y&&u(p,R)):C&16?$&16?Cn(y,R,p,b,v,x,A,_,w):Ge(y,v,x,!0):(C&8&&u(p,""),$&16&&_e(R,p,b,v,x,A,_,w))},bt=(c,d,p,b,v,x,A,_,w)=>{c=c||$t,d=d||$t;const y=c.length,C=d.length,R=Math.min(y,C);let N;for(N=0;NC?Ge(c,v,x,!0,!1,R):_e(d,p,b,v,x,A,_,w,R)},Cn=(c,d,p,b,v,x,A,_,w)=>{let y=0;const C=d.length;let R=c.length-1,N=C-1;for(;y<=R&&y<=N;){const $=c[y],z=d[y]=w?ot(d[y]):He(d[y]);if(Gt($,z))L($,z,p,null,v,x,A,_,w);else break;y++}for(;y<=R&&y<=N;){const $=c[R],z=d[N]=w?ot(d[N]):He(d[N]);if(Gt($,z))L($,z,p,null,v,x,A,_,w);else break;R--,N--}if(y>R){if(y<=N){const $=N+1,z=$N)for(;y<=R;)je(c[y],v,x,!0),y++;else{const $=y,z=y,Q=new Map;for(y=z;y<=N;y++){const Ae=d[y]=w?ot(d[y]):He(d[y]);Ae.key!=null&&Q.set(Ae.key,y)}let K,pe=0;const Le=N-z+1;let Rt=!1,ps=0;const Kt=new Array(Le);for(y=0;y=Le){je(Ae,v,x,!0);continue}let ze;if(Ae.key!=null)ze=Q.get(Ae.key);else for(K=z;K<=N;K++)if(Kt[K-z]===0&&Gt(Ae,d[K])){ze=K;break}ze===void 0?je(Ae,v,x,!0):(Kt[ze-z]=y+1,ze>=ps?ps=ze:Rt=!0,L(Ae,d[ze],p,null,v,x,A,_,w),pe++)}const ms=Rt?df(Kt):$t;for(K=ms.length-1,y=Le-1;y>=0;y--){const Ae=z+y,ze=d[Ae],gs=Ae+1{const{el:x,type:A,transition:_,children:w,shapeFlag:y}=c;if(y&6){vt(c.component.subTree,d,p,b);return}if(y&128){c.suspense.move(d,p,b);return}if(y&64){A.move(c,d,p,Yt);return}if(A===le){r(x,d,p);for(let R=0;R_.enter(x),v);else{const{leave:R,delayLeave:N,afterLeave:$}=_,z=()=>r(x,d,p),Q=()=>{R(x,()=>{z(),$&&$()})};N?N(x,z,Q):Q()}else r(x,d,p)},je=(c,d,p,b=!1,v=!1)=>{const{type:x,props:A,ref:_,children:w,dynamicChildren:y,shapeFlag:C,patchFlag:R,dirs:N,memoIndex:$}=c;if(_!=null&&si(_,null,p,c,!0),$!=null&&(d.renderCache[$]=void 0),C&256){d.ctx.deactivate(c);return}const z=C&1&&N,Q=!Jn(c);let K;if(Q&&(K=A&&A.onVnodeBeforeUnmount)&&Ue(K,d,c),C&6)Fl(c.component,p,b);else{if(C&128){c.suspense.unmount(p,b);return}z&&yt(c,null,d,"beforeUnmount"),C&64?c.type.remove(c,d,p,v,Yt,b):y&&(x!==le||R>0&&R&64)?Ge(y,d,p,!1,!0):(x===le&&R&384||!v&&C&16)&&Ge(w,d,p),b&&fs(c)}(Q&&(K=A&&A.onVnodeUnmounted)||z)&&we(()=>{K&&Ue(K,d,c),z&&yt(c,null,d,"unmounted")},p)},fs=c=>{const{type:d,el:p,anchor:b,transition:v}=c;if(d===le){$l(p,b);return}if(d===Zn){j(c);return}const x=()=>{i(p),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(c.shapeFlag&1&&v&&!v.persisted){const{leave:A,delayLeave:_}=v,w=()=>A(p,x);_?_(c.el,x,w):w()}else x()},$l=(c,d)=>{let p;for(;c!==d;)p=m(c),i(c),c=p;i(d)},Fl=(c,d,p)=>{const{bum:b,scope:v,update:x,subTree:A,um:_,m:w,a:y}=c;$s(w),$s(y),b&&$r(b),v.stop(),x&&(x.active=!1,je(A,c,d,p)),_&&we(_,d),we(()=>{c.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Ge=(c,d,p,b=!1,v=!1,x=0)=>{for(let A=x;Ac.shapeFlag&6?Tn(c.component.subTree):c.shapeFlag&128?c.suspense.next():m(c.anchor||c.el);let Lr=!1;const us=(c,d,p)=>{c==null?d._vnode&&je(d._vnode,null,null,!0):L(d._vnode||null,c,d,null,null,null,p),Lr||(Lr=!0,As(),go(),Lr=!1),d._vnode=c},Yt={p:L,um:je,m:vt,r:fs,mt:Ir,mc:_e,pc:J,pbc:Ke,n:Tn,o:e};let ds,hs;return{render:us,hydrate:ds,createApp:tf(us,ds)}}function jr({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 _t({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function uf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function No(e,t,n=!1){const r=e.children,i=t.children;if(M(r)&&M(i))for(let s=0;s>1,e[n[o]]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 Ro(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ro(t)}function $s(e){if(e)for(let t=0;tQn(hf),Mn={};function St(e,t,n){return Io(e,t,n)}function Io(e,t,{immediate:n,deep:r,flush:i,once:s,onTrack:a,onTrigger:o}=Z){if(t&&s){const F=t;t=(...ae)=>{F(...ae),W()}}const l=ye,f=F=>r===!0?F:lt(F,r===!1?1:void 0);let u,h=!1,m=!1;if(Ee(e)?(u=()=>e.value,h=or(e)):rn(e)?(u=()=>f(e),h=!0):M(e)?(m=!0,h=e.some(F=>rn(F)||or(F)),u=()=>e.map(F=>{if(Ee(F))return F.value;if(rn(F))return f(F);if(B(F))return ft(F,l,2)})):B(e)?t?u=()=>ft(e,l,2):u=()=>(k&&k(),De(e,l,3,[D])):u=Re,t&&r){const F=u;u=()=>lt(F())}let k,D=F=>{k=P.onStop=()=>{ft(F,l,4),k=P.onStop=void 0}},L;if(Or)if(D=Re,t?n&&De(t,l,3,[u(),m?[]:void 0,D]):u(),i==="sync"){const F=pf();L=F.__watcherHandles||(F.__watcherHandles=[])}else return Re;let X=m?new Array(e.length).fill(Mn):Mn;const E=()=>{if(!(!P.active||!P.dirty))if(t){const F=P.run();(r||h||(m?F.some((ae,_e)=>ut(ae,X[_e])):ut(F,X)))&&(k&&k(),De(t,l,3,[F,X===Mn?void 0:m&&X[0]===Mn?[]:X,D]),X=F)}else P.run()};E.allowRecurse=!!t;let O;i==="sync"?O=E:i==="post"?O=()=>we(E,l&&l.suspense):(E.pre=!0,l&&(E.id=l.uid),O=()=>Bi(E));const P=new Pi(u,Re,O),j=Ql(),W=()=>{P.stop(),j&&Ci(j.effects,P)};return t?n?E():X=P.run():i==="post"?we(P.run.bind(P),l&&l.suspense):P.run(),L&&L.push(W),W}function mf(e,t,n){const r=this.proxy,i=de(e)?e.includes(".")?Lo(r,e):()=>r[e]:e.bind(r,r);let s;B(t)?s=t:(s=t.handler,n=t);const a=wn(this),o=Io(i,s.bind(r),n);return a(),o}function Lo(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{lt(r,t,n)});else if(qa(e)){for(const r in e)lt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&<(e[r],t,n)}return e}const Mo=e=>e.type.__isKeepAlive;function gf(e,t){$o(e,"a",t)}function bf(e,t){$o(e,"da",t)}function $o(e,t,n=ye){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Er(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Mo(i.parent.vnode)&&vf(r,t,n,i),i=i.parent}}function vf(e,t,n,r){const i=Er(t,e,r,!0);_o(()=>{Ci(r[t],i)},n)}function Fo(e,t){e.shapeFlag&6&&e.component?Fo(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 yf=e=>e.__isTeleport,le=Symbol.for("v-fgt"),Ar=Symbol.for("v-txt"),Ct=Symbol.for("v-cmt"),Zn=Symbol.for("v-stc"),on=[];let Fe=null;function H(e=!1){on.push(Fe=e?null:[])}function _f(){on.pop(),Fe=on[on.length-1]||null}let pn=1;function Fs(e){pn+=e}function Bo(e){return e.dynamicChildren=pn>0?Fe||$t:null,_f(),pn>0&&Fe&&Fe.push(e),e}function q(e,t,n,r,i,s){return Bo(g(e,t,n,r,i,s,!0))}function Do(e,t,n,r,i){return Bo(Y(e,t,n,r,i,!0))}function ai(e){return e?e.__v_isVNode===!0:!1}function Gt(e,t){return e.type===t.type&&e.key===t.key}const jo=({key:e})=>e??null,er=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?de(e)||Ee(e)||B(e)?{i:Ie,r:e,k:t,f:!!n}:e:null);function g(e,t=null,n=null,r=0,i=null,s=e===le?0:1,a=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jo(t),ref:t&&er(t),scopeId:yo,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:Ie};return o?(Ui(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=de(n)?8:16),pn>0&&!a&&Fe&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Fe.push(l),l}const Y=xf;function xf(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===$c)&&(e=Ct),ai(e)){const o=zt(e,t,!0);return n&&Ui(o,n),pn>0&&!s&&Fe&&(o.shapeFlag&6?Fe[Fe.indexOf(e)]=o:Fe.push(o)),o.patchFlag=-2,o}if(Rf(e)&&(e=e.__vccOpts),t){t=wf(t);let{class:o,style:l}=t;o&&!de(o)&&(t.class=Se(o)),re(l)&&(co(l)&&!M(l)&&(l=me({},l)),t.style=yr(l))}const a=de(e)?1:Fc(e)?128:yf(e)?64:re(e)?4:B(e)?2:0;return g(e,t,n,r,i,a,s,!0)}function wf(e){return e?co(e)||Ao(e)?me({},e):e:null}function zt(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:a,children:o,transition:l}=e,f=t?Ef(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&jo(f),ref:t&&t.ref?n&&s?M(s)?s.concat(er(t)):[s,er(t)]:er(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!==le?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&&zt(e.ssContent),ssFallback:e.ssFallback&&zt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Fo(u,l.clone(u)),u}function Ce(e=" ",t=0){return Y(Ar,null,e,t)}function kf(e,t){const n=Y(Zn,null,e);return n.staticCount=t,n}function mn(e="",t=!1){return t?(H(),Do(Ct,null,e)):Y(Ct,null,e)}function He(e){return e==null||typeof e=="boolean"?Y(Ct):M(e)?Y(le,null,e.slice()):typeof e=="object"?ot(e):Y(Ar,null,String(e))}function ot(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:zt(e)}function Ui(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(M(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Ui(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Ao(t)?t._ctx=Ie:i===3&&Ie&&(Ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else B(t)?(t={default:t,_ctx:Ie},n=32):(t=String(t),r&64?(n=16,t=[Ce(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ef(...e){const t={};for(let n=0;n{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(a=>a(s)):i[0](s)}};fr=t("__VUE_INSTANCE_SETTERS__",n=>ye=n),oi=t("__VUE_SSR_SETTERS__",n=>Or=n)}const wn=e=>{const t=ye;return fr(e),e.scope.on(),()=>{e.scope.off(),fr(t)}},Bs=()=>{ye&&ye.scope.off(),fr(null)};function zo(e){return e.vnode.shapeFlag&4}let Or=!1;function Cf(e,t=!1){t&&oi(t);const{props:n,children:r}=e.vnode,i=zo(e);rf(e,n,i,t),of(e,r);const s=i?Tf(e,t):void 0;return t&&oi(!1),s}function Tf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kc);const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?Nf(e):null,s=wn(e);mt();const a=ft(r,e,0,[e.props,i]);if(gt(),s(),Ha(a)){if(a.then(Bs,Bs),t)return a.then(o=>{Ds(e,o,t)}).catch(o=>{wr(o,e,0)});e.asyncDep=a}else Ds(e,a,t)}else Uo(e,t)}function Ds(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=ho(t)),Uo(e,n)}let js;function Uo(e,t,n){const r=e.type;if(!e.render){if(!t&&js&&!r.render){const i=r.template||ji(e).template;if(i){const{isCustomElement:s,compilerOptions:a}=e.appContext.config,{delimiters:o,compilerOptions:l}=r,f=me(me({isCustomElement:s,delimiters:o},a),l);r.render=js(i,f)}}e.render=r.render||Re}{const i=wn(e);mt();try{Gc(e)}finally{gt(),i()}}}const Pf={get(e,t){return ke(e,"get",""),e[t]}};function Nf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Pf),slots:e.slots,emit:e.emit,expose:t}}function Sr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ho(yc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sn)return sn[n](e)},has(t,n){return n in t||n in sn}})):e.proxy}function Rf(e){return B(e)&&"__vccOpts"in e}const ce=(e,t)=>_c(e,t,Or);function If(e,t,n){const r=arguments.length;return r===2?re(t)&&!M(t)?ai(t)?Y(e,null,[t]):Y(e,t):Y(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ai(n)&&(n=[n]),Y(e,t,n))}const Lf="3.4.29";/** * @vue/runtime-dom v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Mf="http://www.w3.org/2000/svg",$f="http://www.w3.org/1998/Math/MathML",Xe=typeof document<"u"?document:null,zs=Xe&&Xe.createElement("template"),Ff={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(Mf,e):t==="mathml"?Xe.createElementNS($f,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 o=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{zs.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=zs.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Bf=Symbol("_vtc");function Df(e,t,n){const r=e[Bf];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ur=Symbol("_vod"),Ha=Symbol("_vsh"),Us={beforeMount(e,{value:t},{transition:n}){e[ur]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Xt(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),Xt(e,!0),r.enter(e)):r.leave(e,()=>{Xt(e,!1)}):Xt(e,t))},beforeUnmount(e,{value:t}){Xt(e,t)}};function Xt(e,t){e.style.display=t?e[ur]:"none",e[Ha]=!t}const jf=Symbol(""),zf=/(^|;)\s*display\s*:/;function Uf(e,t,n){const r=e.style,i=de(n);let s=!1;if(n&&!i){if(t)if(de(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&er(r,a,"")}else for(const o in t)n[o]==null&&er(r,o,"");for(const o in n)o==="display"&&(s=!0),er(r,o,n[o])}else if(i){if(t!==n){const o=r[jf];o&&(n+=";"+o),r.cssText=n,s=zf.test(n)}}else t&&e.removeAttribute("style");ur in e&&(e[ur]=s?r.display:"",e[Ha]&&(r.display="none"))}const Hs=/\s*!important$/;function er(e,t,n){if(M(n))n.forEach(r=>er(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Hf(e,t);Hs.test(n)?e.setProperty(Ht(r),n.replace(Hs,""),"important"):e[r]=n}}const Vs=["Webkit","Moz","ms"],zr={};function Hf(e,t){const n=zr[t];if(n)return n;let r=jt(t);if(r!=="filter"&&r in e)return zr[t]=r;r=Yo(r);for(let i=0;iUr||(Gf.then(()=>Ur=0),Ur=Date.now());function Jf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;De(Qf(r,n.value),t,5,[r])};return n.value=e,n.attached=Xf(),n}function Qf(e,t){if(M(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 Gs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zf=(e,t,n,r,i,s,o,a,l)=>{const f=i==="svg";t==="class"?Df(e,r,f):t==="style"?Uf(e,n,r):gr(t)?Si(t)||Yf(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):eu(e,t,r,f))?(Vf(e,t,r,s,o,a,l),(t==="value"||t==="checked"||t==="selected")&&Ws(e,t,r,f,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ws(e,t,r,f))};function eu(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Gs(t)&&B(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 Gs(t)&&de(n)?!1:t in e}const tu=me({patchProp:Zf},Ff);let Xs;function nu(){return Xs||(Xs=cf(tu))}const ru=(...e)=>{const t=nu().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=su(r);if(!i)return;const s=t._component;!B(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,iu(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function iu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function su(e){return de(e)?document.querySelector(e):e}function Js(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 S(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(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(Mf,e):t==="mathml"?Xe.createElementNS($f,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{zs.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const o=zs.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]}},Bf=Symbol("_vtc");function Df(e,t,n){const r=e[Bf];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ur=Symbol("_vod"),Ho=Symbol("_vsh"),Us={beforeMount(e,{value:t},{transition:n}){e[ur]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Xt(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),Xt(e,!0),r.enter(e)):r.leave(e,()=>{Xt(e,!1)}):Xt(e,t))},beforeUnmount(e,{value:t}){Xt(e,t)}};function Xt(e,t){e.style.display=t?e[ur]:"none",e[Ho]=!t}const jf=Symbol(""),zf=/(^|;)\s*display\s*:/;function Uf(e,t,n){const r=e.style,i=de(n);let s=!1;if(n&&!i){if(t)if(de(t))for(const a of t.split(";")){const o=a.slice(0,a.indexOf(":")).trim();n[o]==null&&tr(r,o,"")}else for(const a in t)n[a]==null&&tr(r,a,"");for(const a in n)a==="display"&&(s=!0),tr(r,a,n[a])}else if(i){if(t!==n){const a=r[jf];a&&(n+=";"+a),r.cssText=n,s=zf.test(n)}}else t&&e.removeAttribute("style");ur in e&&(e[ur]=s?r.display:"",e[Ho]&&(r.display="none"))}const Hs=/\s*!important$/;function tr(e,t,n){if(M(n))n.forEach(r=>tr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Hf(e,t);Hs.test(n)?e.setProperty(Ht(r),n.replace(Hs,""),"important"):e[r]=n}}const Vs=["Webkit","Moz","ms"],zr={};function Hf(e,t){const n=zr[t];if(n)return n;let r=jt(t);if(r!=="filter"&&r in e)return zr[t]=r;r=Wa(r);for(let i=0;iUr||(Gf.then(()=>Ur=0),Ur=Date.now());function Jf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;De(Qf(r,n.value),t,5,[r])};return n.value=e,n.attached=Xf(),n}function Qf(e,t){if(M(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 Gs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zf=(e,t,n,r,i,s,a,o,l)=>{const f=i==="svg";t==="class"?Df(e,r,f):t==="style"?Uf(e,n,r):gr(t)?Si(t)||Yf(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):eu(e,t,r,f))?(Vf(e,t,r,s,a,o,l),(t==="value"||t==="checked"||t==="selected")&&Ws(e,t,r,f,a,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ws(e,t,r,f))};function eu(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Gs(t)&&B(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 Gs(t)&&de(n)?!1:t in e}const tu=me({patchProp:Zf},Ff);let Xs;function nu(){return Xs||(Xs=cf(tu))}const ru=(...e)=>{const t=nu().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=su(r);if(!i)return;const s=t._component;!B(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,iu(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t};function iu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function su(e){return de(e)?document.querySelector(e):e}function Js(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 S(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1;i--){var s=n[i],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=s)}return te.head.insertBefore(t,r),e}}var Nu="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function yn(){for(var e=12,t="";e-- >0;)t+=Nu[Math.random()*62|0];return t}function Vt(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Ki(e){return e.classList?Vt(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function tl(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Ru(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(tl(e[n]),'" ')},"").trim()}function Cr(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function Gi(e){return e.size!==qe.size||e.x!==qe.x||e.y!==qe.y||e.rotate!==qe.rotate||e.flipX||e.flipY}function Iu(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},s="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(s," ").concat(o," ").concat(a)},f={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:f}}function Lu(e){var t=e.transform,n=e.width,r=n===void 0?ci:n,i=e.height,s=i===void 0?ci:i,o=e.startCentered,a=o===void 0?!1:o,l="";return a&&Ka?l+="translate(".concat(t.x/st-r/2,"em, ").concat(t.y/st-s/2,"em) "):a?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 Mu=`:root, :host { +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Qs=function(){},Vi={},qo={},Wo=null,Yo={mark:Qs,measure:Qs};try{typeof window<"u"&&(Vi=window),typeof document<"u"&&(qo=document),typeof MutationObserver<"u"&&(Wo=MutationObserver),typeof performance<"u"&&(Yo=performance)}catch{}var mu=Vi.navigator||{},Zs=mu.userAgent,ea=Zs===void 0?"":Zs,dt=Vi,te=qo,ta=Wo,$n=Yo;dt.document;var rt=!!te.documentElement&&!!te.head&&typeof te.addEventListener=="function"&&typeof te.createElement=="function",Ko=~ea.indexOf("MSIE")||~ea.indexOf("Trident/"),Fn,Bn,Dn,jn,zn,Ze="___FONT_AWESOME___",ci=16,Go="fa",Xo="svg-inline--fa",Tt="data-fa-i2svg",fi="data-fa-pseudo-element",gu="data-fa-pseudo-element-pending",qi="data-prefix",Wi="data-icon",na="fontawesome-i2svg",bu="async",vu=["HTML","HEAD","STYLE","SCRIPT"],Jo=function(){try{return!0}catch{return!1}}(),ee="classic",se="sharp",Yi=[ee,se];function En(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[ee]}})}var gn=En((Fn={},he(Fn,ee,{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"}),he(Fn,se,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),Fn)),bn=En((Bn={},he(Bn,ee,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),he(Bn,se,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Bn)),vn=En((Dn={},he(Dn,ee,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),he(Dn,se,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),Dn)),yu=En((jn={},he(jn,ee,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),he(jn,se,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),jn)),_u=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Qo="fa-layers-text",xu=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,wu=En((zn={},he(zn,ee,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),he(zn,se,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),zn)),Zo=[1,2,3,4,5,6,7,8,9,10],ku=Zo.concat([11,12,13,14,15,16,17,18,19,20]),Eu=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],kt={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},yn=new Set;Object.keys(bn[ee]).map(yn.add.bind(yn));Object.keys(bn[se]).map(yn.add.bind(yn));var Au=[].concat(Yi,kn(yn),["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",kt.GROUP,kt.SWAP_OPACITY,kt.PRIMARY,kt.SECONDARY]).concat(Zo.map(function(e){return"".concat(e,"x")})).concat(ku.map(function(e){return"w-".concat(e)})),ln=dt.FontAwesomeConfig||{};function Ou(e){var t=te.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Su(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(te&&typeof te.querySelector=="function"){var Cu=[["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"]];Cu.forEach(function(e){var t=Hi(e,2),n=t[0],r=t[1],i=Su(Ou(n));i!=null&&(ln[r]=i)})}var el={styleDefault:"solid",familyDefault:"classic",cssPrefix:Go,replacementClass:Xo,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ln.familyPrefix&&(ln.cssPrefix=ln.familyPrefix);var Ut=S(S({},el),ln);Ut.autoReplaceSvg||(Ut.observeMutations=!1);var T={};Object.keys(el).forEach(function(e){Object.defineProperty(T,e,{enumerable:!0,set:function(n){Ut[e]=n,cn.forEach(function(r){return r(T)})},get:function(){return Ut[e]}})});Object.defineProperty(T,"familyPrefix",{enumerable:!0,set:function(t){Ut.cssPrefix=t,cn.forEach(function(n){return n(T)})},get:function(){return Ut.cssPrefix}});dt.FontAwesomeConfig=T;var cn=[];function Tu(e){return cn.push(e),function(){cn.splice(cn.indexOf(e),1)}}var st=ci,qe={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Pu(e){if(!(!e||!rt)){var t=te.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=te.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 te.head.insertBefore(t,r),e}}var Nu="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function _n(){for(var e=12,t="";e-- >0;)t+=Nu[Math.random()*62|0];return t}function Vt(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Ki(e){return e.classList?Vt(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function tl(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Ru(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(tl(e[n]),'" ')},"").trim()}function Cr(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function Gi(e){return e.size!==qe.size||e.x!==qe.x||e.y!==qe.y||e.rotate!==qe.rotate||e.flipX||e.flipY}function Iu(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 Lu(e){var t=e.transform,n=e.width,r=n===void 0?ci:n,i=e.height,s=i===void 0?ci:i,a=e.startCentered,o=a===void 0?!1:a,l="";return o&&Ko?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 Mu=`: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"; @@ -773,6 +773,6 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { .fad.fa-inverse, .fa-duotone.fa-inverse { color: var(--fa-inverse, #fff); -}`;function nl(){var e=Ga,t=Xa,n=T.cssPrefix,r=T.replacementClass,i=Mu;if(n!==e||r!==t){var s=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");i=i.replace(s,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(a,".".concat(r))}return i}var ro=!1;function Hr(){T.autoAddCss&&!ro&&(Pu(nl()),ro=!0)}var $u={mixout:function(){return{dom:{css:nl,insertCss:Hr}}},hooks:function(){return{beforeDOMElementCreation:function(){Hr()},beforeI2svg:function(){Hr()}}}},et=dt||{};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],rl=[],Fu=function e(){te.removeEventListener("DOMContentLoaded",e),hr=1,rl.map(function(t){return t()})},hr=!1;rt&&(hr=(te.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(te.readyState),hr||te.addEventListener("DOMContentLoaded",Fu));function Bu(e){rt&&(hr?setTimeout(e,0):rl.push(e))}function En(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"?tl(e):"<".concat(t," ").concat(Ru(r),">").concat(s.map(En).join(""),"")}function io(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Vr=function(t,n,r,i){var s=Object.keys(t),o=s.length,a=n,l,f,u;for(r===void 0?(l=1,u=t[s[0]]):(l=0,u=r);l=55296&&i<=56319&&n=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function so(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 di(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,s=so(t);typeof Be.hooks.addPack=="function"&&!i?Be.hooks.addPack(e,so(t)):Be.styles[e]=S(S({},Be.styles[e]||{}),s),e==="fas"&&di("fa",t)}var zn,Un,Hn,Lt=Be.styles,zu=Be.shims,Uu=(zn={},he(zn,ee,Object.values(bn[ee])),he(zn,se,Object.values(bn[se])),zn),Xi=null,il={},sl={},ol={},al={},ll={},Hu=(Un={},he(Un,ee,Object.keys(mn[ee])),he(Un,se,Object.keys(mn[se])),Un);function Vu(e){return~Au.indexOf(e)}function qu(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!Vu(i)?i:null}var cl=function(){var t=function(s){return Vr(Lt,function(o,a,l){return o[l]=Vr(a,s,{}),o},{})};il=t(function(i,s,o){if(s[3]&&(i[s[3]]=o),s[2]){var a=s[2].filter(function(l){return typeof l=="number"});a.forEach(function(l){i[l.toString(16)]=o})}return i}),sl=t(function(i,s,o){if(i[o]=o,s[2]){var a=s[2].filter(function(l){return typeof l=="string"});a.forEach(function(l){i[l]=o})}return i}),ll=t(function(i,s,o){var a=s[2];return i[o]=o,a.forEach(function(l){i[l]=o}),i});var n="far"in Lt||T.autoFetchSvg,r=Vr(zu,function(i,s){var o=s[0],a=s[1],l=s[2];return a==="far"&&!n&&(a="fas"),typeof o=="string"&&(i.names[o]={prefix:a,iconName:l}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:a,iconName:l}),i},{names:{},unicodes:{}});ol=r.names,al=r.unicodes,Xi=Tr(T.styleDefault,{family:T.familyDefault})};Tu(function(e){Xi=Tr(e.styleDefault,{family:T.familyDefault})});cl();function Ji(e,t){return(il[e]||{})[t]}function Wu(e,t){return(sl[e]||{})[t]}function Et(e,t){return(ll[e]||{})[t]}function fl(e){return ol[e]||{prefix:null,iconName:null}}function Yu(e){var t=al[e],n=Ji("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function ht(){return Xi}var Qi=function(){return{prefix:null,iconName:null,rest:[]}};function Tr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?ee:n,i=mn[r][e],s=gn[r][e]||gn[r][i],o=e in Be.styles?e:null;return s||o||null}var oo=(Hn={},he(Hn,ee,Object.keys(bn[ee])),he(Hn,se,Object.keys(bn[se])),Hn);function Pr(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,s=(t={},he(t,ee,"".concat(T.cssPrefix,"-").concat(ee)),he(t,se,"".concat(T.cssPrefix,"-").concat(se)),t),o=null,a=ee;(e.includes(s[ee])||e.some(function(f){return oo[ee].includes(f)}))&&(a=ee),(e.includes(s[se])||e.some(function(f){return oo[se].includes(f)}))&&(a=se);var l=e.reduce(function(f,u){var h=qu(T.cssPrefix,u);if(Lt[u]?(u=Uu[a].includes(u)?yu[a][u]:u,o=u,f.prefix=u):Hu[a].indexOf(u)>-1?(o=u,f.prefix=Tr(u,{family:a})):h?f.iconName=h:u!==T.replacementClass&&u!==s[ee]&&u!==s[se]&&f.rest.push(u),!i&&f.prefix&&f.iconName){var m=o==="fa"?fl(f.iconName):{},k=Et(f.prefix,f.iconName);m.prefix&&(o=null),f.iconName=m.iconName||k||f.iconName,f.prefix=m.prefix||f.prefix,f.prefix==="far"&&!Lt.far&&Lt.fas&&!T.autoFetchSvg&&(f.prefix="fas")}return f},Qi());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&a===se&&(Lt.fass||T.autoFetchSvg)&&(l.prefix="fass",l.iconName=Et(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||o==="fa")&&(l.prefix=ht()||"fas"),l}var Ku=function(){function e(){ou(this,e),this.definitions={}}return lu(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),s=0;s0&&u.forEach(function(h){typeof h=="string"&&(n[a][h]=f)}),n[a][l]=f}),n}}]),e}(),ao=[],Mt={},Dt={},Gu=Object.keys(Dt);function Xu(e,t){var n=t.mixoutsTo;return ao=e,Mt={},Object.keys(Dt).forEach(function(r){Gu.indexOf(r)===-1&&delete Dt[r]}),ao.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(n[o]=i[o]),dr(i[o])==="object"&&Object.keys(i[o]).forEach(function(a){n[o]||(n[o]={}),n[o][a]=i[o][a]})}),r.hooks){var s=r.hooks();Object.keys(s).forEach(function(o){Mt[o]||(Mt[o]=[]),Mt[o].push(s[o])})}r.provides&&r.provides(Dt)}),n}function hi(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return rt?(Pt("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;T.autoReplaceSvg===!1&&(T.autoReplaceSvg=!0),T.observeMutations=!0,Bu(function(){ed({autoReplaceSvgRoot:n}),Pt("watch",t)})}},Zu={icon:function(t){if(t===null)return null;if(dr(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Et(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=Tr(t[0]);return{prefix:r,iconName:Et(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(T.cssPrefix,"-"))>-1||t.match(_u))){var i=Pr(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||ht(),iconName:Et(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var s=ht();return{prefix:s,iconName:Et(s,t)||t}}}},Te={noAuto:Ju,config:T,dom:Qu,parse:Zu,library:ul,findIconDefinition:pi,toHtml:En},ed=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?te:n;(Object.keys(Be.styles).length>0||T.autoFetchSvg)&&rt&&T.autoReplaceSvg&&Te.dom.i2svg({node:r})};function Nr(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return En(r)})}}),Object.defineProperty(e,"node",{get:function(){if(rt){var r=te.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function td(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,s=e.styles,o=e.transform;if(Gi(o)&&n.found&&!r.found){var a=n.width,l=n.height,f={x:a/l/2,y:.5};i.style=Cr(S(S({},s),{},{"transform-origin":"".concat(f.x+o.x/16,"em ").concat(f.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function nd(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,s=e.symbol,o=s===!0?"".concat(t,"-").concat(T.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:S(S({},i),{},{id:o}),children:r}]}]}function Zi(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,s=e.iconName,o=e.transform,a=e.symbol,l=e.title,f=e.maskId,u=e.titleId,h=e.extra,m=e.watchable,k=m===void 0?!1:m,D=r.found?r:n,L=D.width,X=D.height,E=i==="fak",O=[T.replacementClass,s?"".concat(T.cssPrefix,"-").concat(s):""].filter(function(Pe){return h.classes.indexOf(Pe)===-1}).filter(function(Pe){return Pe!==""||!!Pe}).concat(h.classes).join(" "),P={children:[],attributes:S(S({},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(L," ").concat(X)})},j=E&&!~h.classes.indexOf("fa-fw")?{width:"".concat(L/X*16*.0625,"em")}:{};k&&(P.attributes[Tt]=""),l&&(P.children.push({tag:"title",attributes:{id:P.attributes["aria-labelledby"]||"title-".concat(u||yn())},children:[l]}),delete P.attributes.title);var q=S(S({},P),{},{prefix:i,iconName:s,main:n,mask:r,maskId:f,transform:o,symbol:a,styles:S(S({},j),h.styles)}),F=r.found&&n.found?tt("generateAbstractMask",q)||{children:[],attributes:{}}:tt("generateAbstractIcon",q)||{children:[],attributes:{}},oe=F.children,_e=F.attributes;return q.children=oe,q.attributes=_e,a?nd(q):td(q)}function lo(e){var t=e.content,n=e.width,r=e.height,i=e.transform,s=e.title,o=e.extra,a=e.watchable,l=a===void 0?!1:a,f=S(S(S({},o.attributes),s?{title:s}:{}),{},{class:o.classes.join(" ")});l&&(f[Tt]="");var u=S({},o.styles);Gi(i)&&(u.transform=Lu({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var h=Cr(u);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 rd(e){var t=e.content,n=e.title,r=e.extra,i=S(S(S({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),s=Cr(r.styles);s.length>0&&(i.style=s);var o=[];return o.push({tag:"span",attributes:i,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var qr=Be.styles;function mi(e){var t=e[0],n=e[1],r=e.slice(4),i=Hi(r,1),s=i[0],o=null;return Array.isArray(s)?o={tag:"g",attributes:{class:"".concat(T.cssPrefix,"-").concat(kt.GROUP)},children:[{tag:"path",attributes:{class:"".concat(T.cssPrefix,"-").concat(kt.SECONDARY),fill:"currentColor",d:s[0]}},{tag:"path",attributes:{class:"".concat(T.cssPrefix,"-").concat(kt.PRIMARY),fill:"currentColor",d:s[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:s}},{found:!0,width:t,height:n,icon:o}}var id={found:!1,width:512,height:512};function sd(e,t){!Ja&&!T.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function gi(e,t){var n=t;return t==="fa"&&T.styleDefault!==null&&(t=ht()),new Promise(function(r,i){if(tt("missingIconAbstract"),n==="fa"){var s=fl(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&qr[t]&&qr[t][e]){var o=qr[t][e];return r(mi(o))}sd(e,t),r(S(S({},id),{},{icon:T.showMissingIcons&&e?tt("missingIconAbstract")||{}:{}}))})}var co=function(){},bi=T.measurePerformance&&Mn&&Mn.mark&&Mn.measure?Mn:{mark:co,measure:co},Zt='FA "6.5.2"',od=function(t){return bi.mark("".concat(Zt," ").concat(t," begins")),function(){return dl(t)}},dl=function(t){bi.mark("".concat(Zt," ").concat(t," ends")),bi.measure("".concat(Zt," ").concat(t),"".concat(Zt," ").concat(t," begins"),"".concat(Zt," ").concat(t," ends"))},es={begin:od,end:dl},tr=function(){};function fo(e){var t=e.getAttribute?e.getAttribute(Tt):null;return typeof t=="string"}function ad(e){var t=e.getAttribute?e.getAttribute(qi):null,n=e.getAttribute?e.getAttribute(Wi):null;return t&&n}function ld(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(T.replacementClass)}function cd(){if(T.autoReplaceSvg===!0)return nr.replace;var e=nr[T.autoReplaceSvg];return e||nr.replace}function fd(e){return te.createElementNS("http://www.w3.org/2000/svg",e)}function ud(e){return te.createElement(e)}function hl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?fd:ud:n;if(typeof e=="string")return te.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(o){i.setAttribute(o,e.attributes[o])});var s=e.children||[];return s.forEach(function(o){i.appendChild(hl(o,{ceFn:r}))}),i}function dd(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var nr={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(hl(i),n)}),n.getAttribute(Tt)===null&&T.keepOriginalSource){var r=te.createComment(dd(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~Ki(n).indexOf(T.replacementClass))return nr.replace(t);var i=new RegExp("".concat(T.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var s=r[0].attributes.class.split(" ").reduce(function(a,l){return l===T.replacementClass||l.match(i)?a.toSvg.push(l):a.toNode.push(l),a},{toNode:[],toSvg:[]});r[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",s.toNode.join(" "))}var o=r.map(function(a){return En(a)}).join(` -`);n.setAttribute(Tt,""),n.innerHTML=o}};function uo(e){e()}function pl(e,t){var n=typeof t=="function"?t:tr;if(e.length===0)n();else{var r=uo;T.mutateApproach===bu&&(r=dt.requestAnimationFrame||uo),r(function(){var i=cd(),s=es.begin("mutate");e.map(i),s(),n()})}}var ts=!1;function ml(){ts=!0}function vi(){ts=!1}var pr=null;function ho(e){if(to&&T.observeMutations){var t=e.treeCallback,n=t===void 0?tr:t,r=e.nodeCallback,i=r===void 0?tr:r,s=e.pseudoElementsCallback,o=s===void 0?tr:s,a=e.observeMutationsRoot,l=a===void 0?te:a;pr=new to(function(f){if(!ts){var u=ht();Vt(f).forEach(function(h){if(h.type==="childList"&&h.addedNodes.length>0&&!fo(h.addedNodes[0])&&(T.searchPseudoElements&&o(h.target),n(h.target)),h.type==="attributes"&&h.target.parentNode&&T.searchPseudoElements&&o(h.target.parentNode),h.type==="attributes"&&fo(h.target)&&~Eu.indexOf(h.attributeName))if(h.attributeName==="class"&&ad(h.target)){var m=Pr(Ki(h.target)),k=m.prefix,D=m.iconName;h.target.setAttribute(qi,k||u),D&&h.target.setAttribute(Wi,D)}else ld(h.target)&&i(h.target)})}}),rt&&pr.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function hd(){pr&&pr.disconnect()}function pd(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var s=i.split(":"),o=s[0],a=s.slice(1);return o&&a.length>0&&(r[o]=a.join(":").trim()),r},{})),n}function md(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Pr(Ki(e));return i.prefix||(i.prefix=ht()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=Wu(i.prefix,e.innerText)||Ji(i.prefix,ui(e.innerText))),!i.iconName&&T.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function gd(e){var t=Vt(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 T.autoA11y&&(n?t["aria-labelledby"]="".concat(T.replacementClass,"-title-").concat(r||yn()):(t["aria-hidden"]="true",t.focusable="false")),t}function bd(){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 po(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=md(e),r=n.iconName,i=n.prefix,s=n.rest,o=gd(e),a=hi("parseNodeAttributes",{},e),l=t.styleParser?pd(e):[];return S({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:o}},a)}var vd=Be.styles;function gl(e){var t=T.autoReplaceSvg==="nest"?po(e,{styleParser:!1}):po(e);return~t.extra.classes.indexOf(Qa)?tt("generateLayersText",e,t):tt("generateSvgReplacementMutation",e,t)}var pt=new Set;Yi.map(function(e){pt.add("fa-".concat(e))});Object.keys(mn[ee]).map(pt.add.bind(pt));Object.keys(mn[se]).map(pt.add.bind(pt));pt=wn(pt);function mo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!rt)return Promise.resolve();var n=te.documentElement.classList,r=function(h){return n.add("".concat(no,"-").concat(h))},i=function(h){return n.remove("".concat(no,"-").concat(h))},s=T.autoFetchSvg?pt:Yi.map(function(u){return"fa-".concat(u)}).concat(Object.keys(vd));s.includes("fa")||s.push("fa");var o=[".".concat(Qa,":not([").concat(Tt,"])")].concat(s.map(function(u){return".".concat(u,":not([").concat(Tt,"])")})).join(", ");if(o.length===0)return Promise.resolve();var a=[];try{a=Vt(e.querySelectorAll(o))}catch{}if(a.length>0)r("pending"),i("complete");else return Promise.resolve();var l=es.begin("onTree"),f=a.reduce(function(u,h){try{var m=gl(h);m&&u.push(m)}catch(k){Ja||k.name==="MissingIcon"&&console.error(k)}return u},[]);return new Promise(function(u,h){Promise.all(f).then(function(m){pl(m,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),u()})}).catch(function(m){l(),h(m)})})}function yd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;gl(e).then(function(n){n&&pl([n],t)})}function _d(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:pi(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:pi(i||{})),e(r,S(S({},n),{},{mask:i}))}}var xd=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,o=s===void 0?!1:s,a=n.mask,l=a===void 0?null:a,f=n.maskId,u=f===void 0?null:f,h=n.title,m=h===void 0?null:h,k=n.titleId,D=k===void 0?null:k,L=n.classes,X=L===void 0?[]:L,E=n.attributes,O=E===void 0?{}:E,P=n.styles,j=P===void 0?{}:P;if(t){var q=t.prefix,F=t.iconName,oe=t.icon;return Nr(S({type:"icon"},t),function(){return Pt("beforeDOMElementCreation",{iconDefinition:t,params:n}),T.autoA11y&&(m?O["aria-labelledby"]="".concat(T.replacementClass,"-title-").concat(D||yn()):(O["aria-hidden"]="true",O.focusable="false")),Zi({icons:{main:mi(oe),mask:l?mi(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:q,iconName:F,transform:S(S({},qe),i),symbol:o,title:m,maskId:u,titleId:D,extra:{attributes:O,styles:j,classes:X}})})}},wd={mixout:function(){return{icon:_d(xd)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=mo,n.nodeCallback=yd,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?te:r,s=n.callback,o=s===void 0?function(){}:s;return mo(i,o)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,s=r.title,o=r.titleId,a=r.prefix,l=r.transform,f=r.symbol,u=r.mask,h=r.maskId,m=r.extra;return new Promise(function(k,D){Promise.all([gi(i,a),u.iconName?gi(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(L){var X=Hi(L,2),E=X[0],O=X[1];k([n,Zi({icons:{main:E,mask:O},prefix:a,iconName:i,transform:l,symbol:f,maskId:h,title:s,titleId:o,extra:m,watchable:!0})])}).catch(D)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,s=n.main,o=n.transform,a=n.styles,l=Cr(a);l.length>0&&(i.style=l);var f;return Gi(o)&&(f=tt("generateAbstractTransformGrouping",{main:s,transform:o,containerWidth:s.width,iconWidth:s.width})),r.push(f||s.icon),{children:r,attributes:i}}}},kd={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 Nr({type:"layer"},function(){Pt("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(a){Array.isArray(a)?a.map(function(l){o=o.concat(l.abstract)}):o=o.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(T.cssPrefix,"-layers")].concat(wn(s)).join(" ")},children:o}]})}}}},Ed={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,s=i===void 0?null:i,o=r.classes,a=o===void 0?[]:o,l=r.attributes,f=l===void 0?{}:l,u=r.styles,h=u===void 0?{}:u;return Nr({type:"counter",content:n},function(){return Pt("beforeDOMElementCreation",{content:n,params:r}),rd({content:n.toString(),title:s,extra:{attributes:f,styles:h,classes:["".concat(T.cssPrefix,"-layers-counter")].concat(wn(a))}})})}}}},Ad={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,o=r.title,a=o===void 0?null:o,l=r.classes,f=l===void 0?[]:l,u=r.attributes,h=u===void 0?{}:u,m=r.styles,k=m===void 0?{}:m;return Nr({type:"text",content:n},function(){return Pt("beforeDOMElementCreation",{content:n,params:r}),lo({content:n,transform:S(S({},qe),s),title:a,extra:{attributes:h,styles:k,classes:["".concat(T.cssPrefix,"-layers-text")].concat(wn(f))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,s=r.transform,o=r.extra,a=null,l=null;if(Ka){var f=parseInt(getComputedStyle(n).fontSize,10),u=n.getBoundingClientRect();a=u.width/f,l=u.height/f}return T.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,lo({content:n.innerHTML,width:a,height:l,transform:s,title:i,extra:o,watchable:!0})])}}},Od=new RegExp('"',"ug"),go=[1105920,1112319];function Sd(e){var t=e.replace(Od,""),n=ju(t,0),r=n>=go[0]&&n<=go[1],i=t.length===2?t[0]===t[1]:!1;return{value:ui(i?t[0]:t),isSecondary:r||i}}function bo(e,t){var n="".concat(gu).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var s=Vt(e.children),o=s.filter(function(oe){return oe.getAttribute(fi)===t})[0],a=dt.getComputedStyle(e,t),l=a.getPropertyValue("font-family").match(xu),f=a.getPropertyValue("font-weight"),u=a.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&u!=="none"&&u!==""){var h=a.getPropertyValue("content"),m=~["Sharp"].indexOf(l[2])?se:ee,k=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?gn[m][l[2].toLowerCase()]:wu[m][f],D=Sd(h),L=D.value,X=D.isSecondary,E=l[0].startsWith("FontAwesome"),O=Ji(k,L),P=O;if(E){var j=Yu(L);j.iconName&&j.prefix&&(O=j.iconName,k=j.prefix)}if(O&&!X&&(!o||o.getAttribute(qi)!==k||o.getAttribute(Wi)!==P)){e.setAttribute(n,P),o&&e.removeChild(o);var q=bd(),F=q.extra;F.attributes[fi]=t,gi(O,k).then(function(oe){var _e=Zi(S(S({},q),{},{icons:{main:oe,mask:Qi()},prefix:k,iconName:P,extra:F,watchable:!0})),Pe=te.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(Pe,e.firstChild):e.appendChild(Pe),Pe.outerHTML=_e.map(function(Ke){return En(Ke)}).join(` -`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function Cd(e){return Promise.all([bo(e,"::before"),bo(e,"::after")])}function Td(e){return e.parentNode!==document.head&&!~vu.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(fi)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function vo(e){if(rt)return new Promise(function(t,n){var r=Vt(e.querySelectorAll("*")).filter(Td).map(Cd),i=es.begin("searchPseudoElements");ml(),Promise.all(r).then(function(){i(),vi(),t()}).catch(function(){i(),vi(),n()})})}var Pd={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=vo,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?te:r;T.searchPseudoElements&&vo(i)}}},yo=!1,Nd={mixout:function(){return{dom:{unwatch:function(){ml(),yo=!0}}}},hooks:function(){return{bootstrap:function(){ho(hi("mutationObserverCallbacks",{}))},noAuto:function(){hd()},watch:function(n){var r=n.observeMutationsRoot;yo?vi():ho(hi("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},_o=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var s=i.toLowerCase().split("-"),o=s[0],a=s.slice(1).join("-");if(o&&a==="h")return r.flipX=!0,r;if(o&&a==="v")return r.flipY=!0,r;if(a=parseFloat(a),isNaN(a))return r;switch(o){case"grow":r.size=r.size+a;break;case"shrink":r.size=r.size-a;break;case"left":r.x=r.x-a;break;case"right":r.x=r.x+a;break;case"up":r.y=r.y-a;break;case"down":r.y=r.y+a;break;case"rotate":r.rotate=r.rotate+a;break}return r},n)},Rd={mixout:function(){return{parse:{transform:function(n){return _o(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=_o(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,s=n.containerWidth,o=n.iconWidth,a={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),") "),u="rotate(".concat(i.rotate," 0 0)"),h={transform:"".concat(l," ").concat(f," ").concat(u)},m={transform:"translate(".concat(o/2*-1," -256)")},k={outer:a,inner:h,path:m};return{tag:"g",attributes:S({},k.outer),children:[{tag:"g",attributes:S({},k.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:S(S({},r.icon.attributes),k.path)}]}]}}}},Wr={x:0,y:0,width:"100%",height:"100%"};function xo(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 Id(e){return e.tag==="g"?e.children:[e]}var Ld={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),s=i?Pr(i.split(" ").map(function(o){return o.trim()})):Qi();return s.prefix||(s.prefix=ht()),n.mask=s,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,s=n.main,o=n.mask,a=n.maskId,l=n.transform,f=s.width,u=s.icon,h=o.width,m=o.icon,k=Iu({transform:l,containerWidth:h,iconWidth:f}),D={tag:"rect",attributes:S(S({},Wr),{},{fill:"white"})},L=u.children?{children:u.children.map(xo)}:{},X={tag:"g",attributes:S({},k.inner),children:[xo(S({tag:u.tag,attributes:S(S({},u.attributes),k.path)},L))]},E={tag:"g",attributes:S({},k.outer),children:[X]},O="mask-".concat(a||yn()),P="clip-".concat(a||yn()),j={tag:"mask",attributes:S(S({},Wr),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[D,E]},q={tag:"defs",children:[{tag:"clipPath",attributes:{id:P},children:Id(m)},j]};return r.push(q,{tag:"rect",attributes:S({fill:"currentColor","clip-path":"url(#".concat(P,")"),mask:"url(#".concat(O,")")},Wr)}),{children:r,attributes:i}}}},Md={provides:function(t){var n=!1;dt.matchMedia&&(n=dt.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:S(S({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=S(S({},s),{},{attributeName:"opacity"}),a={tag:"circle",attributes:S(S({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||a.children.push({tag:"animate",attributes:S(S({},s),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:S(S({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(a),r.push({tag:"path",attributes:S(S({},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:S(S({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:S(S({},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:S(S({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},$d={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}}}},Fd=[$u,wd,kd,Ed,Ad,Pd,Nd,Rd,Ld,Md,$d];Xu(Fd,{mixoutsTo:Te});Te.noAuto;Te.config;Te.library;Te.dom;var yi=Te.parse;Te.findIconDefinition;Te.toHtml;var Bd=Te.icon;Te.layer;Te.text;Te.counter;function wo(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=0)continue;n[r]=e[r]}return n}function Ud(e,t){if(e==null)return{};var n=zd(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var Hd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bl={exports:{}};(function(e){(function(t){var n=function(E,O,P){if(!f(O)||h(O)||m(O)||k(O)||l(O))return O;var j,q=0,F=0;if(u(O))for(j=[],F=O.length;q1&&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 vl(l)}),i=Object.keys(e.attributes||{}).reduce(function(l,f){var u=e.attributes[f];switch(f){case"class":l.class=Yd(u);break;case"style":l.style=Wd(u);break;default:l.attrs[f]=u}return l},{attrs:{},class:{},style:{}});n.class;var s=n.style,o=s===void 0?{}:s,a=Ud(n,qd);return If(e.tag,Je(Je(Je({},t),{},{class:i.class,style:Je(Je({},i.style),o)},i.attrs),a),r)}var yl=!1;try{yl=!0}catch{}function Kd(){if(!yl&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Yr(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?xe({},e,t):{}}function Gd(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"},xe(xe(xe(xe(xe(xe(xe(xe(xe(xe(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),xe(xe(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 ko(e){if(e&&mr(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(yi.icon)return yi.icon(e);if(e===null)return null;if(mr(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 Oe=Yc({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=le(function(){return ko(t.icon)}),s=le(function(){return Yr("classes",Gd(t))}),o=le(function(){return Yr("transform",typeof t.transform=="string"?yi.transform(t.transform):t.transform)}),a=le(function(){return Yr("mask",ko(t.mask))}),l=le(function(){return Bd(i.value,Je(Je(Je(Je({},s.value),o.value),a.value),{},{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))});St(l,function(u){if(!u)return Kd("Could not find one or more icon(s)",i.value,a.value)},{immediate:!0});var f=le(function(){return l.value?vl(l.value.abstract[0],{},r):null});return function(){return f.value}}}),Eo={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"]},Xd={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"]},Ao={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"]},Jd={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"]},Oo={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"]},Qd={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"]},Zd={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"]},eh={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"]},So=eh,th={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"]},nh=th,rh={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"]},_l={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 ih={class:"flex"},sh={class:"grid cursor-pointer place-items-center"},oh=["checked"],ah=kf('',2),lh={__name:"TheThemeButton",setup(e){const t=xr(!0);return St(t,n=>{n?document.getElementsByTagName("body")[0].classList.add("dark"):document.getElementsByTagName("body")[0].classList.remove("dark")}),(n,r)=>(H(),W("div",ih,[g("label",sh,[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,oh),ah])]))}},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 rr=Object.create(null);Object.keys(Ye).forEach(e=>{rr[Ye[e]]=e});const _i={type:"error",data:"parser error"},xl=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",wl=typeof ArrayBuffer=="function",kl=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,ns=({type:e,data:t},n,r)=>xl&&t instanceof Blob?n?r(t):Co(t,r):wl&&(t instanceof ArrayBuffer||kl(t))?n?r(t):Co(new Blob([t]),r):r(Ye[e]+(t||"")),Co=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function To(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let Kr;function ch(e,t){if(xl&&e.data instanceof Blob)return e.data.arrayBuffer().then(To).then(t);if(wl&&(e.data instanceof ArrayBuffer||kl(e.data)))return t(To(e.data));ns(e,!1,n=>{Kr||(Kr=new TextEncoder),t(Kr.encode(n))})}const Po="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",en=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,r,i=0,s,o,a,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const f=new ArrayBuffer(t),u=new Uint8Array(f);for(r=0;r>4,u[i++]=(o&15)<<4|a>>2,u[i++]=(a&3)<<6|l&63;return f},uh=typeof ArrayBuffer=="function",rs=(e,t)=>{if(typeof e!="string")return{type:"message",data:El(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:dh(e.substring(1),t)}:rr[n]?e.length>1?{type:rr[n],data:e.substring(1)}:{type:rr[n]}:_i},dh=(e,t)=>{if(uh){const n=fh(e);return El(n,t)}else return{base64:!0,data:e}},El=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},Al="",hh=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((s,o)=>{ns(s,!1,a=>{r[o]=a,++i===n&&t(r.join(Al))})})},ph=(e,t)=>{const n=e.split(Al),r=[];for(let i=0;i{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 Gr;function Vn(e){return e.reduce((t,n)=>t+n.length,0)}function qn(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let i=0;iMath.pow(2,21)-1){a.enqueue(_i);break}i=u*Math.pow(2,32)+f.getUint32(4),r=3}else{if(Vn(n)e){a.enqueue(_i);break}}}})}const Ol=4;function fe(e){if(e)return bh(e)}function bh(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(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const vh=Ne.setTimeout,yh=Ne.clearTimeout;function Rr(e,t){t.useNativeTimers?(e.setTimeoutFn=vh.bind(Ne),e.clearTimeoutFn=yh.bind(Ne)):(e.setTimeoutFn=Ne.setTimeout.bind(Ne),e.clearTimeoutFn=Ne.clearTimeout.bind(Ne))}const _h=1.33;function xh(e){return typeof e=="string"?wh(e):Math.ceil((e.byteLength||e.size)*_h)}function wh(e){let t=0,n=0;for(let r=0,i=e.length;r=57344?n+=3:(r++,n+=4);return n}function kh(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function Eh(e){let t={},n=e.split("&");for(let r=0,i=n.length;r0);return t}function Tl(){const e=Io(+new Date);return e!==Ro?(No=0,Ro=e):e+"."+Io(No++)}for(;Wn{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)};ph(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,hh(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]=Tl()),!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(),Rr(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=Sl(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this.opts.xd;const r=this.xhr=new Nl(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=Ch,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",Lo);else if(typeof addEventListener=="function"){const e="onpagehide"in Ne?"pagehide":"unload";addEventListener(e,Lo,!1)}}function Lo(){for(let e in We.requests)We.requests.hasOwnProperty(e)&&We.requests[e].abort()}const ss=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),Yn=Ne.WebSocket||Ne.MozWebSocket,Mo=!0,Nh="arraybuffer",$o=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Rh extends is{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=$o?{}:Sl(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=Mo&&!$o?n?new Yn(t,n):new Yn(t):new Yn(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{const o={};try{Mo&&this.ws.send(s)}catch{}i&&ss(()=>{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]=Tl()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}check(){return!!Yn}}class Ih extends is{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=gh(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=mh();i.readable.pipeTo(t.writable),this.writer=i.writable.getWriter();const s=()=>{r.read().then(({done:a,value:l})=>{a||(this.onPacket(l),s())}).catch(a=>{})};s();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this.writer.write(o).then(()=>this.onOpen())})}))}write(t){this.writable=!1;for(let n=0;n{i&&ss(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this.transport)===null||t===void 0||t.close()}}const Lh={websocket:Rh,webtransport:Ih,polling:Ph},Mh=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,$h=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function wi(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=Mh.exec(e||""),s={},o=14;for(;o--;)s[$h[o]]=i[o]||"";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=Fh(s,s.path),s.queryKey=Bh(s,s.query),s}function Fh(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 Bh(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,s){i&&(n[i]=s)}),n}let Rl=class It extends fe{constructor(t,n={}){super(),this.binaryType=Nh,this.writeBuffer=[],t&&typeof t=="object"&&(n=t,t=null),t?(t=wi(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=wi(n.host).host),Rr(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=Eh(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=Ol,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 Lh[t](r)}open(){let t;if(this.opts.rememberUpgrade&&It.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;It.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;It.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(u(),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,u(),n.close(),n=null)}const o=h=>{const m=new Error("probe error: "+h);m.transport=n.name,s(),this.emitReserved("upgradeError",m)};function a(){o("transport closed")}function l(){o("socket closed")}function f(h){n&&h.name!==n.name&&s()}const u=()=>{n.removeListener("open",i),n.removeListener("error",o),n.removeListener("close",a),this.off("close",l),this.off("upgrading",f)};n.once("open",i),n.once("error",o),n.once("close",a),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",It.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{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;r0&&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){It.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(;rtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Il=Object.prototype.toString,Uh=typeof Blob=="function"||typeof Blob<"u"&&Il.call(Blob)==="[object BlobConstructor]",Hh=typeof File=="function"||typeof File<"u"&&Il.call(File)==="[object FileConstructor]";function os(e){return jh&&(e instanceof ArrayBuffer||zh(e))||Uh&&e instanceof Blob||Hh&&e instanceof File}function ir(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n=0&&e.num{delete this.acks[t];for(let a=0;a{this.io.clearTimeoutFn(s),n.apply(this,a)};o.withError=!0,this.acks[t]=o}emitWithAck(t,...n){return new Promise((r,i)=>{const s=(o,a)=>o?i(o):r(a);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:U.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 U.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 U.EVENT:case U.BINARY_EVENT:this.onevent(t);break;case U.ACK:case U.BINARY_ACK:this.onack(t);break;case U.DISCONNECT:this.ondisconnect();break;case U.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:U.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:U.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;r0&&e.jitter<=1?e.jitter:0,this.attempts=0}qt.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};qt.prototype.reset=function(){this.attempts=0};qt.prototype.setMin=function(e){this.ms=e};qt.prototype.setMax=function(e){this.max=e};qt.prototype.setJitter=function(e){this.jitter=e};class Ai 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,Rr(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 qt({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||Xh;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 Rl(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=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),t?t(a):this.maybeReconnectOnOpen()},o=$e(n,"error",s);if(this._timeout!==!1){const a=this._timeout,l=this.setTimeoutFn(()=>{i(),s(new Error("timeout")),n.close()},a);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(i),this.subs.push(o),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){ss(()=>{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 Ll(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;rt()),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 Jt={};function sr(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=Dh(e,t.path||"/socket.io"),r=n.source,i=n.id,s=n.path,o=Jt[i]&&s in Jt[i].nsps,a=t.forceNew||t["force new connection"]||t.multiplex===!1||o;let l;return a?l=new Ai(r,t):(Jt[i]||(Jt[i]=new Ai(r,t)),l=Jt[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(sr,{Manager:Ai,Socket:Ll,io:sr,connect:sr});const Qh=void 0,Zh=30,Ml={notificationEvents:[],notificationCounter:0,notificationAPICounter:0,exercises:[],selected_exercises:[],progresses:{},diagnostic:{}},ne=_n({...Ml}),ls=_n({connected:!1}),ep=le(()=>ne.exercises),Bo=le(()=>ne.selected_exercises),Do=le(()=>ne.exercises.filter(e=>ne.selected_exercises.includes(e.uuid))),jo=le(()=>ne.progresses),zo=le(()=>ne.notificationEvents),tp=le(()=>ne.notificationCounter),np=le(()=>ne.notificationAPICounter),rp=le(()=>Object.keys(ne.progresses).length),Kn=le(()=>ne.diagnostic),tn=le(()=>ls.connected);function ip(){Object.assign(ne,Ml)}function Uo(){ue.emit("get_exercises",e=>{ne.exercises=e}),ue.emit("get_selected_exercises",e=>{ne.selected_exercises=e}),ue.emit("get_notifications",e=>{ne.notificationEvents=e}),ue.emit("get_progress",e=>{ne.progresses=e})}function sp(){ne.diagnostic={},ue.emit("get_diagnostic",e=>{ne.diagnostic=e})}function op(e,t,n,r){const i={user_id:t,exercise_uuid:n,task_uuid:r},s=e?"mark_task_incomplete":"mark_task_completed";ue.emit(s,i,()=>{ue.emit("get_progress",o=>{ne.progresses=o})})}function ap(){ue.emit("reset_all_exercise_progress",()=>{ue.emit("get_progress",e=>{ne.progresses=e})})}function lp(e,t){const n={exercise_uuid:e,selected:t};ue.emit("change_exercise_selection",n,()=>{ue.emit("get_selected_exercises",r=>{ne.selected_exercises=r})})}function cp(e){const t={verbose:e};ue.emit("toggle_verbose_mode",t,()=>{})}const ue=sr(Qh,{autoConnect:!0});ue.on("connect",()=>{ls.connected=!0});ue.on("disconnect",()=>{ls.connected=!1});ue.on("notification",e=>{ne.notificationCounter+=1,e.is_api_request&&(ne.notificationAPICounter+=1),fp(ne.notificationEvents,e,Zh)});ue.on("new_user",e=>{ue.emit("get_progress",t=>{ne.progresses=t})});ue.on("refresh_score",e=>{ue.emit("get_progress",t=>{ne.progresses=t})});function fp(e,t,n){e.unshift(t),e.length>n&&(e.length=n)}const up={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"},dp={class:"text-2xl font-bold"},hp=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),pp={class:"flex mb-5"},mp={class:"text-lg font-semibold"},gp={class:"label cursor-pointer justify-start"},bp=["onChange","checked","value"],vp={class:"font-mono font-semibold text-base ml-3"},yp={class:"text-lg font-semibold mt-4"},_p={class:"font-semibold ml-1 my-2"},xp=g("strong",null,"MISP Status:",-1),wp={class:"ml-2"},kp={key:0,class:"loading loading-dots loading-sm h-4 inline-block align-middle"},Ep={key:1,class:"font-bold"},Ap=g("h4",{class:"font-semibold ml-1"},[g("strong",null,"MISP Settings:")],-1),Op={class:"ml-3"},Sp={key:0,class:"flex justify-center"},Cp=g("span",{class:"loading loading-dots loading-lg"},null,-1),Tp=[Cp],Pp={class:"label cursor-pointer justify-start p-0 pt-1"},Np=["checked","value"],Rp={class:"font-mono font-semibold text-base ml-3"},Ip=g("form",{method:"dialog",class:"modal-backdrop"},[g("button",null,"close")],-1),Lp={__name:"TheAdminPanel",setup(e){const t=xr(null),n=le(()=>Object.keys(Kn.value).length==0),r=le(()=>{var o;return((o=Kn.value.version)==null?void 0:o.version)!==void 0});function i(o,a){lp(a,o)}function s(){t.value.showModal(),sp()}return(o,a)=>(H(),W(ce,null,[g("button",{onClick:a[0]||(a[0]=l=>s()),class:"px-2 py-1 rounded-md focus-outline font-semibold bg-blue-600 text-slate-200 hover:bg-blue-700"},[Y(I(Oe),{icon:I(Ao),class:"mr-1"},null,8,["icon"]),Ce(" Admin panel ")]),g("dialog",{ref_key:"admin_modal",ref:t,class:"modal"},[g("div",up,[g("h2",dp,[Y(I(Oe),{icon:I(Ao),class:"mr-1"},null,8,["icon"]),Ce(" Admin panel ")]),hp,g("div",null,[g("div",pp,[g("button",{onClick:a[1]||(a[1]=l=>I(ap)()),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"},[Y(I(Oe),{icon:I(Qd),class:"mr-1"},null,8,["icon"]),Ce(" Reset All Exercises ")])]),g("h3",mp,[Y(I(Oe),{icon:I(_l),class:"mr-1"},null,8,["icon"]),Ce(" Selected Exercises ")]),(H(!0),W(ce,null,wt(I(ep),l=>(H(),W("div",{key:l.name,class:"form-control pl-3"},[g("label",gp,[g("input",{onChange:f=>i(f.target.checked,l.uuid),type:"checkbox",checked:I(Bo).includes(l.uuid),value:l.uuid,class:Se(`checkbox ${I(Bo).includes(l.uuid)?"checkbox-success":""} [--fallback-bc:#94a3b8]`)},null,42,bp),g("span",vp,ae(l.name),1)])]))),128)),g("h3",yp,[Y(I(Oe),{icon:I(Zd),class:"mr-1"},null,8,["icon"]),Ce(" Diagnostic ")]),g("h4",_p,[xp,g("span",wp,[g("span",{class:Se({"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(),W("span",kp)):(H(),W("span",Ep,ae(r.value?`Online (${I(Kn).version.version})`:"Unreachable"),1))],2)])]),Ap,g("div",Op,[n.value?(H(),W("div",Sp,Tp)):cr("",!0),(H(!0),W(ce,null,wt(I(Kn).settings,(l,f)=>(H(),W("div",{key:f},[g("div",null,[g("label",Pp,[g("input",{type:"checkbox",checked:l,value:f,class:Se(`checkbox ${l?"checkbox-success":"checkbox-danger"} [--fallback-bc:#cbd5e1]`),disabled:""},null,10,Np),g("span",Rp,ae(f),1)])])]))),128))])])]),Ip],512)],64))}},Mp=g("span",{class:"mr-1"},"Socket.IO:",-1),$p={class:"font-semibold text-green-600 dark:text-green-400"},Fp={class:"font-semibold text-slate-50"},Bp={__name:"TheSocketConnectionState",setup(e){return(t,n)=>(H(),W("span",{class:Se({"px-2 py-1 rounded-md inline-block w-48":!0,"text-slate-900 dark:text-slate-400":I(tn),"text-slate-50 bg-red-600":!I(tn)})},[Mp,Ss(g("span",$p,"Connected",512),[[Us,I(tn)]]),Ss(g("span",Fp,"Disconnected",512),[[Us,!I(tn)]])],2))}},Dp={class:"text-2xl mt-6 mb-2 font-bold text-blue-500 dark:text-blue-400"},jp={class:"mb-2 flex flex-wrap gap-x-3"},zp={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},Up={class:"mr-1"},Hp={class:"font-bold"},Vp={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},qp={class:"mr-1"},Wp={class:"font-bold"},Yp={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},Kp={class:"mr-1"},Gp={class:"font-bold"},Xp={class:"flex items-center"},Jp={class:"mr-1 flex items-center cursor-pointer"},Qp=["checked"],Zp={class:"bg-white dark:bg-slate-800 rounded-lg shadow-xl w-full"},em=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),tm={key:0},nm=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),rm=[nm],im={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"},sm={class:"inline ml-1"},om=["title"],am={class:"text-lg font-bold font-mono"},lm={class:"text-xs font-mono"},cm={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-1"},fm={class:"border-b border-slate-100 dark:border-slate-700 text-sky-600 dark:text-sky-400 p-1"},um={class:"flex items-center"},dm={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"},hm={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"},pm={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"},mm={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"},gm={class:"text-sm inline"},bm={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-300 p-1"},vm={key:0,class:"border border-slate-200 dark:border-slate-600 bg-slate-100 dark:bg-slate-600 rounded-md"},ym={class:"p-1 text-xs"},_m={__name:"TheLiveLogs",setup(e){const t=xr(!1);St(t,r=>{cp(r==!0)});function n(r){return String(r).startsWith("2")?"text-green-500":String(r).startsWith("5")?"text-red-600":"text-amber-600"}return(r,i)=>(H(),W(ce,null,[g("h3",Dp,[Y(I(Oe),{icon:I(Oo)},null,8,["icon"]),Ce(" Live logs ")]),g("div",jp,[g("span",zp,[g("span",Up,[Y(I(Oe),{icon:I(Xd),size:"sm"},null,8,["icon"]),Ce(" User online: ")]),g("span",Hp,ae(I(rp)),1)]),g("span",Vp,[g("span",qp,[Y(I(Oe),{icon:I(Oo),size:"sm"},null,8,["icon"]),Ce(" Total Queries: ")]),g("span",Wp,ae(I(tp)),1)]),g("span",Yp,[g("span",Kp,[Y(I(Oe),{icon:I(So),size:"sm",mask:I(Eo),transform:"shrink-7 left-1"},null,8,["icon","mask"]),Ce(" Total API Queries: ")]),g("span",Gp,ae(I(np)),1)]),g("span",Xp,[g("label",Jp,[g("input",{type:"checkbox",class:"toggle toggle-success [--fallback-su:#22c55e] mr-1",checked:t.value,onChange:i[0]||(i[0]=s=>t.value=!t.value)},null,40,Qp),Ce(" Verbose ")])])]),g("table",Zp,[em,g("tbody",null,[I(zo).length==0?(H(),W("tr",tm,rm)):(H(!0),W(ce,{key:1},wt(I(zo),(s,o)=>(H(),W("tr",{key:o},[g("td",im,[Y(I(Oe),{icon:I(Jd),size:"xs",class:Se(n(s.response_code))},null,8,["icon","class"]),g("pre",sm,ae(s.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:s.user_id},[g("span",am,ae(s.user.split("@")[0]),1),g("span",lm,"@"+ae(s.user.split("@")[1]),1)],8,om),g("td",cm,ae(s.time),1),g("td",fm,[g("div",um,[s.http_method=="POST"?(H(),W("span",dm,"POST")):s.http_method=="PUT"?(H(),W("span",hm,"PUT")):s.http_method=="DELETE"?(H(),W("span",pm,"DEL")):(H(),W("span",mm,ae(s.http_method),1)),s.is_api_request?(H(),Da(I(Oe),{key:4,class:"text-slate-800 dark:text-slate-100 mr-1 inline-block",icon:I(So),mask:I(Eo),transform:"shrink-7 left-1"},null,8,["icon","mask"])):cr("",!0),g("pre",gm,ae(s.url),1)])]),g("td",bm,[s.http_method=="POST"?(H(),W("div",vm,[g("pre",ym,ae(JSON.stringify(s.payload,null,2)),1)])):cr("",!0)])]))),128))])])],64))}},xm={class:"text-2xl mt-6 mb-2 font-bold text-blue-500 dark:text-blue-400"},wm={key:0,class:"text-center text-slate-600 dark:text-slate-400 p-3 pl-6"},km=g("i",null,"- No Exercise available -",-1),Em=[km],Am=["onClick"],Om=["colspan"],Sm={class:"flex justify-between items-center"},Cm={class:"dark:text-blue-200 text-slate-200"},Tm={class:"text-lg"},Pm={class:""},Nm=g("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 pl-6 text-left"},"User",-1),Rm={class:"flex flex-col"},Im={class:"text-center font-normal text-sm dark:text-blue-200 text-slate-500"},Lm={class:"text-center"},Mm=g("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"Progress",-1),$m={key:0},Fm=["colspan"],Bm=g("i",null,"- No user yet -",-1),Dm=[Bm],jm={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-3 pl-6"},zm=["title"],Um={class:"text-lg font-bold font-mono"},Hm={class:"text-xs font-mono"},Vm=["onClick"],qm={class:"border-b border-slate-100 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-3"},Wm=["aria-valuenow"],Ym={__name:"TheScores",setup(e){const t=xr([]);function n(o,a,l,f){op(o,a,l,f)}function r(o){const a=t.value.indexOf(o);a>=0?t.value.splice(a,1):t.value.push(o)}const i=le(()=>Do.value.length>0),s=le(()=>Object.keys(jo.value).length>0);return(o,a)=>(H(),W(ce,null,[g("h3",xm,[Y(I(Oe),{icon:I(_l)},null,8,["icon"]),Ce(" Active Exercises ")]),i.value?cr("",!0):(H(),W("div",wm,Em)),(H(!0),W(ce,null,wt(I(Do),(l,f)=>(H(),W("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:u=>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",Sm,[g("span",Cm,"# "+ae(f+1),1),g("span",Tm,ae(l.name),1),g("span",Pm,[Ce(" Level: "),g("span",{class:Se({"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"})},ae(l.level),3)])])],8,Om)],8,Am),g("tr",{class:Se(`font-medium text-slate-600 dark:text-slate-200 ${t.value.includes(f)?"hidden":""}`)},[Nm,(H(!0),W(ce,null,wt(l.tasks,(u,h)=>(H(),W("th",{key:u.name,class:"border-b border-slate-100 dark:border-slate-700 p-3"},[g("div",Rm,[g("span",Im,"Task "+ae(h+1),1),g("i",Lm,ae(u.name),1)])]))),128)),Mm],2)]),g("tbody",{class:Se(`${t.value.includes(f)?"hidden":""}`)},[s.value?(H(!0),W(ce,{key:1},wt(I(jo),(u,h)=>(H(),W("tr",{key:h,class:"bg-slate-200 dark:bg-slate-900"},[g("td",jm,[g("span",{title:h},[g("span",Um,ae(u.email.split("@")[0]),1),g("span",Hm,"@"+ae(u.email.split("@")[1]),1)],8,zm)]),(H(!0),W(ce,null,wt(l.tasks,(m,k)=>(H(),W("td",{key:k,class:"text-center border-b border-slate-100 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-3"},[g("span",{class:"select-none cursor-pointer text-nowrap",onClick:D=>n(u.exercises[l.uuid].tasks_completion[m.uuid],h,l.uuid,m.uuid)},[Y(I(Oe),{icon:u.exercises[l.uuid].tasks_completion[m.uuid]?I(rh):I(nh),class:Se(`text-xl ${u.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:Se(u.exercises[l.uuid].tasks_completion[m.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400")}," (+"+ae(m.score)+")",3)],8,Vm)]))),128)),g("td",qm,[g("div",{class:"flex w-full h-2 bg-gray-200 rounded-full overflow-hidden dark:bg-neutral-600",role:"progressbar","aria-valuenow":u.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:yr(`width: ${100*(u.exercises[l.uuid].score/u.exercises[l.uuid].max_score)}%`)},null,4)],8,Wm)])]))),128)):(H(),W("tr",$m,[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"},Dm,8,Fm)]))],2)]))),128))],64))}},Km=g("h1",{class:"text-3xl font-bold text-center text-slate-600 dark:text-slate-300"},"MISP Exercise Dashboard",-1),Gm={__name:"TheDahboard",setup(e){return St(tn,t=>{t&&(ip(),Uo())}),Di(()=>{Uo()}),(t,n)=>(H(),W(ce,null,[Km,Y(Ym),Y(_m)],64))}},Xm={class:"absolute top-1 right-1"},Jm={class:"flex gap-2"},Qm={__name:"App",setup(e){return Di(()=>{document.getElementsByTagName("body")[0].classList.add("dark"),document.getElementById("app").classList.add("w-5/6")}),(t,n)=>(H(),W("main",null,[g("div",Xm,[g("div",Jm,[Y(lh),Y(Lp),Y(Bp)])]),Y(Gm)]))}};ru(Qm).mount("#app"); +}`;function nl(){var e=Go,t=Xo,n=T.cssPrefix,r=T.replacementClass,i=Mu;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 ra=!1;function Hr(){T.autoAddCss&&!ra&&(Pu(nl()),ra=!0)}var $u={mixout:function(){return{dom:{css:nl,insertCss:Hr}}},hooks:function(){return{beforeDOMElementCreation:function(){Hr()},beforeI2svg:function(){Hr()}}}},et=dt||{};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],rl=[],Fu=function e(){te.removeEventListener("DOMContentLoaded",e),hr=1,rl.map(function(t){return t()})},hr=!1;rt&&(hr=(te.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(te.readyState),hr||te.addEventListener("DOMContentLoaded",Fu));function Bu(e){rt&&(hr?setTimeout(e,0):rl.push(e))}function An(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"?tl(e):"<".concat(t," ").concat(Ru(r),">").concat(s.map(An).join(""),"")}function ia(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Vr=function(t,n,r,i){var s=Object.keys(t),a=s.length,o=n,l,f,u;for(r===void 0?(l=1,u=t[s[0]]):(l=0,u=r);l=55296&&i<=56319&&n=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function sa(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 di(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,s=sa(t);typeof Be.hooks.addPack=="function"&&!i?Be.hooks.addPack(e,sa(t)):Be.styles[e]=S(S({},Be.styles[e]||{}),s),e==="fas"&&di("fa",t)}var Un,Hn,Vn,Lt=Be.styles,zu=Be.shims,Uu=(Un={},he(Un,ee,Object.values(vn[ee])),he(Un,se,Object.values(vn[se])),Un),Xi=null,il={},sl={},al={},ol={},ll={},Hu=(Hn={},he(Hn,ee,Object.keys(gn[ee])),he(Hn,se,Object.keys(gn[se])),Hn);function Vu(e){return~Au.indexOf(e)}function qu(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!Vu(i)?i:null}var cl=function(){var t=function(s){return Vr(Lt,function(a,o,l){return a[l]=Vr(o,s,{}),a},{})};il=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}),sl=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}),ll=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 Lt||T.autoFetchSvg,r=Vr(zu,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:{}});al=r.names,ol=r.unicodes,Xi=Tr(T.styleDefault,{family:T.familyDefault})};Tu(function(e){Xi=Tr(e.styleDefault,{family:T.familyDefault})});cl();function Ji(e,t){return(il[e]||{})[t]}function Wu(e,t){return(sl[e]||{})[t]}function Et(e,t){return(ll[e]||{})[t]}function fl(e){return al[e]||{prefix:null,iconName:null}}function Yu(e){var t=ol[e],n=Ji("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function ht(){return Xi}var Qi=function(){return{prefix:null,iconName:null,rest:[]}};function Tr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?ee:n,i=gn[r][e],s=bn[r][e]||bn[r][i],a=e in Be.styles?e:null;return s||a||null}var aa=(Vn={},he(Vn,ee,Object.keys(vn[ee])),he(Vn,se,Object.keys(vn[se])),Vn);function Pr(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,s=(t={},he(t,ee,"".concat(T.cssPrefix,"-").concat(ee)),he(t,se,"".concat(T.cssPrefix,"-").concat(se)),t),a=null,o=ee;(e.includes(s[ee])||e.some(function(f){return aa[ee].includes(f)}))&&(o=ee),(e.includes(s[se])||e.some(function(f){return aa[se].includes(f)}))&&(o=se);var l=e.reduce(function(f,u){var h=qu(T.cssPrefix,u);if(Lt[u]?(u=Uu[o].includes(u)?yu[o][u]:u,a=u,f.prefix=u):Hu[o].indexOf(u)>-1?(a=u,f.prefix=Tr(u,{family:o})):h?f.iconName=h:u!==T.replacementClass&&u!==s[ee]&&u!==s[se]&&f.rest.push(u),!i&&f.prefix&&f.iconName){var m=a==="fa"?fl(f.iconName):{},k=Et(f.prefix,f.iconName);m.prefix&&(a=null),f.iconName=m.iconName||k||f.iconName,f.prefix=m.prefix||f.prefix,f.prefix==="far"&&!Lt.far&&Lt.fas&&!T.autoFetchSvg&&(f.prefix="fas")}return f},Qi());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&o===se&&(Lt.fass||T.autoFetchSvg)&&(l.prefix="fass",l.iconName=Et(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||a==="fa")&&(l.prefix=ht()||"fas"),l}var Ku=function(){function e(){au(this,e),this.definitions={}}return lu(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),s=0;s0&&u.forEach(function(h){typeof h=="string"&&(n[o][h]=f)}),n[o][l]=f}),n}}]),e}(),oa=[],Mt={},Dt={},Gu=Object.keys(Dt);function Xu(e,t){var n=t.mixoutsTo;return oa=e,Mt={},Object.keys(Dt).forEach(function(r){Gu.indexOf(r)===-1&&delete Dt[r]}),oa.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(a){typeof i[a]=="function"&&(n[a]=i[a]),dr(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){Mt[a]||(Mt[a]=[]),Mt[a].push(s[a])})}r.provides&&r.provides(Dt)}),n}function hi(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return rt?(Pt("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;T.autoReplaceSvg===!1&&(T.autoReplaceSvg=!0),T.observeMutations=!0,Bu(function(){ed({autoReplaceSvgRoot:n}),Pt("watch",t)})}},Zu={icon:function(t){if(t===null)return null;if(dr(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Et(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=Tr(t[0]);return{prefix:r,iconName:Et(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(T.cssPrefix,"-"))>-1||t.match(_u))){var i=Pr(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||ht(),iconName:Et(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var s=ht();return{prefix:s,iconName:Et(s,t)||t}}}},Te={noAuto:Ju,config:T,dom:Qu,parse:Zu,library:ul,findIconDefinition:pi,toHtml:An},ed=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?te:n;(Object.keys(Be.styles).length>0||T.autoFetchSvg)&&rt&&T.autoReplaceSvg&&Te.dom.i2svg({node:r})};function Nr(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return An(r)})}}),Object.defineProperty(e,"node",{get:function(){if(rt){var r=te.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function td(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,s=e.styles,a=e.transform;if(Gi(a)&&n.found&&!r.found){var o=n.width,l=n.height,f={x:o/l/2,y:.5};i.style=Cr(S(S({},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 nd(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,s=e.symbol,a=s===!0?"".concat(t,"-").concat(T.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:S(S({},i),{},{id:a}),children:r}]}]}function Zi(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,u=e.titleId,h=e.extra,m=e.watchable,k=m===void 0?!1:m,D=r.found?r:n,L=D.width,X=D.height,E=i==="fak",O=[T.replacementClass,s?"".concat(T.cssPrefix,"-").concat(s):""].filter(function(Pe){return h.classes.indexOf(Pe)===-1}).filter(function(Pe){return Pe!==""||!!Pe}).concat(h.classes).join(" "),P={children:[],attributes:S(S({},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(L," ").concat(X)})},j=E&&!~h.classes.indexOf("fa-fw")?{width:"".concat(L/X*16*.0625,"em")}:{};k&&(P.attributes[Tt]=""),l&&(P.children.push({tag:"title",attributes:{id:P.attributes["aria-labelledby"]||"title-".concat(u||_n())},children:[l]}),delete P.attributes.title);var W=S(S({},P),{},{prefix:i,iconName:s,main:n,mask:r,maskId:f,transform:a,symbol:o,styles:S(S({},j),h.styles)}),F=r.found&&n.found?tt("generateAbstractMask",W)||{children:[],attributes:{}}:tt("generateAbstractIcon",W)||{children:[],attributes:{}},ae=F.children,_e=F.attributes;return W.children=ae,W.attributes=_e,o?nd(W):td(W)}function la(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=S(S(S({},a.attributes),s?{title:s}:{}),{},{class:a.classes.join(" ")});l&&(f[Tt]="");var u=S({},a.styles);Gi(i)&&(u.transform=Lu({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var h=Cr(u);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 rd(e){var t=e.content,n=e.title,r=e.extra,i=S(S(S({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),s=Cr(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 qr=Be.styles;function mi(e){var t=e[0],n=e[1],r=e.slice(4),i=Hi(r,1),s=i[0],a=null;return Array.isArray(s)?a={tag:"g",attributes:{class:"".concat(T.cssPrefix,"-").concat(kt.GROUP)},children:[{tag:"path",attributes:{class:"".concat(T.cssPrefix,"-").concat(kt.SECONDARY),fill:"currentColor",d:s[0]}},{tag:"path",attributes:{class:"".concat(T.cssPrefix,"-").concat(kt.PRIMARY),fill:"currentColor",d:s[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:s}},{found:!0,width:t,height:n,icon:a}}var id={found:!1,width:512,height:512};function sd(e,t){!Jo&&!T.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function gi(e,t){var n=t;return t==="fa"&&T.styleDefault!==null&&(t=ht()),new Promise(function(r,i){if(tt("missingIconAbstract"),n==="fa"){var s=fl(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&qr[t]&&qr[t][e]){var a=qr[t][e];return r(mi(a))}sd(e,t),r(S(S({},id),{},{icon:T.showMissingIcons&&e?tt("missingIconAbstract")||{}:{}}))})}var ca=function(){},bi=T.measurePerformance&&$n&&$n.mark&&$n.measure?$n:{mark:ca,measure:ca},Zt='FA "6.5.2"',ad=function(t){return bi.mark("".concat(Zt," ").concat(t," begins")),function(){return dl(t)}},dl=function(t){bi.mark("".concat(Zt," ").concat(t," ends")),bi.measure("".concat(Zt," ").concat(t),"".concat(Zt," ").concat(t," begins"),"".concat(Zt," ").concat(t," ends"))},es={begin:ad,end:dl},nr=function(){};function fa(e){var t=e.getAttribute?e.getAttribute(Tt):null;return typeof t=="string"}function od(e){var t=e.getAttribute?e.getAttribute(qi):null,n=e.getAttribute?e.getAttribute(Wi):null;return t&&n}function ld(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(T.replacementClass)}function cd(){if(T.autoReplaceSvg===!0)return rr.replace;var e=rr[T.autoReplaceSvg];return e||rr.replace}function fd(e){return te.createElementNS("http://www.w3.org/2000/svg",e)}function ud(e){return te.createElement(e)}function hl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?fd:ud:n;if(typeof e=="string")return te.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(hl(a,{ceFn:r}))}),i}function dd(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var rr={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(hl(i),n)}),n.getAttribute(Tt)===null&&T.keepOriginalSource){var r=te.createComment(dd(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~Ki(n).indexOf(T.replacementClass))return rr.replace(t);var i=new RegExp("".concat(T.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var s=r[0].attributes.class.split(" ").reduce(function(o,l){return l===T.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 An(o)}).join(` +`);n.setAttribute(Tt,""),n.innerHTML=a}};function ua(e){e()}function pl(e,t){var n=typeof t=="function"?t:nr;if(e.length===0)n();else{var r=ua;T.mutateApproach===bu&&(r=dt.requestAnimationFrame||ua),r(function(){var i=cd(),s=es.begin("mutate");e.map(i),s(),n()})}}var ts=!1;function ml(){ts=!0}function vi(){ts=!1}var pr=null;function da(e){if(ta&&T.observeMutations){var t=e.treeCallback,n=t===void 0?nr:t,r=e.nodeCallback,i=r===void 0?nr:r,s=e.pseudoElementsCallback,a=s===void 0?nr:s,o=e.observeMutationsRoot,l=o===void 0?te:o;pr=new ta(function(f){if(!ts){var u=ht();Vt(f).forEach(function(h){if(h.type==="childList"&&h.addedNodes.length>0&&!fa(h.addedNodes[0])&&(T.searchPseudoElements&&a(h.target),n(h.target)),h.type==="attributes"&&h.target.parentNode&&T.searchPseudoElements&&a(h.target.parentNode),h.type==="attributes"&&fa(h.target)&&~Eu.indexOf(h.attributeName))if(h.attributeName==="class"&&od(h.target)){var m=Pr(Ki(h.target)),k=m.prefix,D=m.iconName;h.target.setAttribute(qi,k||u),D&&h.target.setAttribute(Wi,D)}else ld(h.target)&&i(h.target)})}}),rt&&pr.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function hd(){pr&&pr.disconnect()}function pd(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 md(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Pr(Ki(e));return i.prefix||(i.prefix=ht()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=Wu(i.prefix,e.innerText)||Ji(i.prefix,ui(e.innerText))),!i.iconName&&T.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function gd(e){var t=Vt(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 T.autoA11y&&(n?t["aria-labelledby"]="".concat(T.replacementClass,"-title-").concat(r||_n()):(t["aria-hidden"]="true",t.focusable="false")),t}function bd(){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 ha(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=md(e),r=n.iconName,i=n.prefix,s=n.rest,a=gd(e),o=hi("parseNodeAttributes",{},e),l=t.styleParser?pd(e):[];return S({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 vd=Be.styles;function gl(e){var t=T.autoReplaceSvg==="nest"?ha(e,{styleParser:!1}):ha(e);return~t.extra.classes.indexOf(Qo)?tt("generateLayersText",e,t):tt("generateSvgReplacementMutation",e,t)}var pt=new Set;Yi.map(function(e){pt.add("fa-".concat(e))});Object.keys(gn[ee]).map(pt.add.bind(pt));Object.keys(gn[se]).map(pt.add.bind(pt));pt=kn(pt);function pa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!rt)return Promise.resolve();var n=te.documentElement.classList,r=function(h){return n.add("".concat(na,"-").concat(h))},i=function(h){return n.remove("".concat(na,"-").concat(h))},s=T.autoFetchSvg?pt:Yi.map(function(u){return"fa-".concat(u)}).concat(Object.keys(vd));s.includes("fa")||s.push("fa");var a=[".".concat(Qo,":not([").concat(Tt,"])")].concat(s.map(function(u){return".".concat(u,":not([").concat(Tt,"])")})).join(", ");if(a.length===0)return Promise.resolve();var o=[];try{o=Vt(e.querySelectorAll(a))}catch{}if(o.length>0)r("pending"),i("complete");else return Promise.resolve();var l=es.begin("onTree"),f=o.reduce(function(u,h){try{var m=gl(h);m&&u.push(m)}catch(k){Jo||k.name==="MissingIcon"&&console.error(k)}return u},[]);return new Promise(function(u,h){Promise.all(f).then(function(m){pl(m,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),u()})}).catch(function(m){l(),h(m)})})}function yd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;gl(e).then(function(n){n&&pl([n],t)})}function _d(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:pi(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:pi(i||{})),e(r,S(S({},n),{},{mask:i}))}}var xd=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,u=f===void 0?null:f,h=n.title,m=h===void 0?null:h,k=n.titleId,D=k===void 0?null:k,L=n.classes,X=L===void 0?[]:L,E=n.attributes,O=E===void 0?{}:E,P=n.styles,j=P===void 0?{}:P;if(t){var W=t.prefix,F=t.iconName,ae=t.icon;return Nr(S({type:"icon"},t),function(){return Pt("beforeDOMElementCreation",{iconDefinition:t,params:n}),T.autoA11y&&(m?O["aria-labelledby"]="".concat(T.replacementClass,"-title-").concat(D||_n()):(O["aria-hidden"]="true",O.focusable="false")),Zi({icons:{main:mi(ae),mask:l?mi(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:W,iconName:F,transform:S(S({},qe),i),symbol:a,title:m,maskId:u,titleId:D,extra:{attributes:O,styles:j,classes:X}})})}},wd={mixout:function(){return{icon:_d(xd)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=pa,n.nodeCallback=yd,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?te:r,s=n.callback,a=s===void 0?function(){}:s;return pa(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,u=r.mask,h=r.maskId,m=r.extra;return new Promise(function(k,D){Promise.all([gi(i,o),u.iconName?gi(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(L){var X=Hi(L,2),E=X[0],O=X[1];k([n,Zi({icons:{main:E,mask:O},prefix:o,iconName:i,transform:l,symbol:f,maskId:h,title:s,titleId:a,extra:m,watchable:!0})])}).catch(D)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,s=n.main,a=n.transform,o=n.styles,l=Cr(o);l.length>0&&(i.style=l);var f;return Gi(a)&&(f=tt("generateAbstractTransformGrouping",{main:s,transform:a,containerWidth:s.width,iconWidth:s.width})),r.push(f||s.icon),{children:r,attributes:i}}}},kd={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 Nr({type:"layer"},function(){Pt("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(T.cssPrefix,"-layers")].concat(kn(s)).join(" ")},children:a}]})}}}},Ed={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,u=r.styles,h=u===void 0?{}:u;return Nr({type:"counter",content:n},function(){return Pt("beforeDOMElementCreation",{content:n,params:r}),rd({content:n.toString(),title:s,extra:{attributes:f,styles:h,classes:["".concat(T.cssPrefix,"-layers-counter")].concat(kn(o))}})})}}}},Ad={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,u=r.attributes,h=u===void 0?{}:u,m=r.styles,k=m===void 0?{}:m;return Nr({type:"text",content:n},function(){return Pt("beforeDOMElementCreation",{content:n,params:r}),la({content:n,transform:S(S({},qe),s),title:o,extra:{attributes:h,styles:k,classes:["".concat(T.cssPrefix,"-layers-text")].concat(kn(f))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,s=r.transform,a=r.extra,o=null,l=null;if(Ko){var f=parseInt(getComputedStyle(n).fontSize,10),u=n.getBoundingClientRect();o=u.width/f,l=u.height/f}return T.autoA11y&&!i&&(a.attributes["aria-hidden"]="true"),Promise.resolve([n,la({content:n.innerHTML,width:o,height:l,transform:s,title:i,extra:a,watchable:!0})])}}},Od=new RegExp('"',"ug"),ma=[1105920,1112319];function Sd(e){var t=e.replace(Od,""),n=ju(t,0),r=n>=ma[0]&&n<=ma[1],i=t.length===2?t[0]===t[1]:!1;return{value:ui(i?t[0]:t),isSecondary:r||i}}function ga(e,t){var n="".concat(gu).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var s=Vt(e.children),a=s.filter(function(ae){return ae.getAttribute(fi)===t})[0],o=dt.getComputedStyle(e,t),l=o.getPropertyValue("font-family").match(xu),f=o.getPropertyValue("font-weight"),u=o.getPropertyValue("content");if(a&&!l)return e.removeChild(a),r();if(l&&u!=="none"&&u!==""){var h=o.getPropertyValue("content"),m=~["Sharp"].indexOf(l[2])?se:ee,k=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?bn[m][l[2].toLowerCase()]:wu[m][f],D=Sd(h),L=D.value,X=D.isSecondary,E=l[0].startsWith("FontAwesome"),O=Ji(k,L),P=O;if(E){var j=Yu(L);j.iconName&&j.prefix&&(O=j.iconName,k=j.prefix)}if(O&&!X&&(!a||a.getAttribute(qi)!==k||a.getAttribute(Wi)!==P)){e.setAttribute(n,P),a&&e.removeChild(a);var W=bd(),F=W.extra;F.attributes[fi]=t,gi(O,k).then(function(ae){var _e=Zi(S(S({},W),{},{icons:{main:ae,mask:Qi()},prefix:k,iconName:P,extra:F,watchable:!0})),Pe=te.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(Pe,e.firstChild):e.appendChild(Pe),Pe.outerHTML=_e.map(function(Ke){return An(Ke)}).join(` +`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function Cd(e){return Promise.all([ga(e,"::before"),ga(e,"::after")])}function Td(e){return e.parentNode!==document.head&&!~vu.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(fi)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function ba(e){if(rt)return new Promise(function(t,n){var r=Vt(e.querySelectorAll("*")).filter(Td).map(Cd),i=es.begin("searchPseudoElements");ml(),Promise.all(r).then(function(){i(),vi(),t()}).catch(function(){i(),vi(),n()})})}var Pd={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=ba,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?te:r;T.searchPseudoElements&&ba(i)}}},va=!1,Nd={mixout:function(){return{dom:{unwatch:function(){ml(),va=!0}}}},hooks:function(){return{bootstrap:function(){da(hi("mutationObserverCallbacks",{}))},noAuto:function(){hd()},watch:function(n){var r=n.observeMutationsRoot;va?vi():da(hi("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},ya=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)},Rd={mixout:function(){return{parse:{transform:function(n){return ya(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=ya(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),") "),u="rotate(".concat(i.rotate," 0 0)"),h={transform:"".concat(l," ").concat(f," ").concat(u)},m={transform:"translate(".concat(a/2*-1," -256)")},k={outer:o,inner:h,path:m};return{tag:"g",attributes:S({},k.outer),children:[{tag:"g",attributes:S({},k.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:S(S({},r.icon.attributes),k.path)}]}]}}}},Wr={x:0,y:0,width:"100%",height:"100%"};function _a(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 Id(e){return e.tag==="g"?e.children:[e]}var Ld={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),s=i?Pr(i.split(" ").map(function(a){return a.trim()})):Qi();return s.prefix||(s.prefix=ht()),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,u=s.icon,h=a.width,m=a.icon,k=Iu({transform:l,containerWidth:h,iconWidth:f}),D={tag:"rect",attributes:S(S({},Wr),{},{fill:"white"})},L=u.children?{children:u.children.map(_a)}:{},X={tag:"g",attributes:S({},k.inner),children:[_a(S({tag:u.tag,attributes:S(S({},u.attributes),k.path)},L))]},E={tag:"g",attributes:S({},k.outer),children:[X]},O="mask-".concat(o||_n()),P="clip-".concat(o||_n()),j={tag:"mask",attributes:S(S({},Wr),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[D,E]},W={tag:"defs",children:[{tag:"clipPath",attributes:{id:P},children:Id(m)},j]};return r.push(W,{tag:"rect",attributes:S({fill:"currentColor","clip-path":"url(#".concat(P,")"),mask:"url(#".concat(O,")")},Wr)}),{children:r,attributes:i}}}},Md={provides:function(t){var n=!1;dt.matchMedia&&(n=dt.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:S(S({},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=S(S({},s),{},{attributeName:"opacity"}),o={tag:"circle",attributes:S(S({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||o.children.push({tag:"animate",attributes:S(S({},s),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:S(S({},a),{},{values:"1;0;1;1;0;1;"})}),r.push(o),r.push({tag:"path",attributes:S(S({},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:S(S({},a),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:S(S({},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:S(S({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},$d={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}}}},Fd=[$u,wd,kd,Ed,Ad,Pd,Nd,Rd,Ld,Md,$d];Xu(Fd,{mixoutsTo:Te});Te.noAuto;Te.config;Te.library;Te.dom;var yi=Te.parse;Te.findIconDefinition;Te.toHtml;var Bd=Te.icon;Te.layer;Te.text;Te.counter;function xa(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=0)continue;n[r]=e[r]}return n}function Ud(e,t){if(e==null)return{};var n=zd(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var Hd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bl={exports:{}};(function(e){(function(t){var n=function(E,O,P){if(!f(O)||h(O)||m(O)||k(O)||l(O))return O;var j,W=0,F=0;if(u(O))for(j=[],F=O.length;W1&&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 vl(l)}),i=Object.keys(e.attributes||{}).reduce(function(l,f){var u=e.attributes[f];switch(f){case"class":l.class=Yd(u);break;case"style":l.style=Wd(u);break;default:l.attrs[f]=u}return l},{attrs:{},class:{},style:{}});n.class;var s=n.style,a=s===void 0?{}:s,o=Ud(n,qd);return If(e.tag,Je(Je(Je({},t),{},{class:i.class,style:Je(Je({},i.style),a)},i.attrs),o),r)}var yl=!1;try{yl=!0}catch{}function Kd(){if(!yl&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Yr(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?xe({},e,t):{}}function Gd(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"},xe(xe(xe(xe(xe(xe(xe(xe(xe(xe(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),xe(xe(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 wa(e){if(e&&mr(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(yi.icon)return yi.icon(e);if(e===null)return null;if(mr(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 Oe=Yc({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=ce(function(){return wa(t.icon)}),s=ce(function(){return Yr("classes",Gd(t))}),a=ce(function(){return Yr("transform",typeof t.transform=="string"?yi.transform(t.transform):t.transform)}),o=ce(function(){return Yr("mask",wa(t.mask))}),l=ce(function(){return Bd(i.value,Je(Je(Je(Je({},s.value),a.value),o.value),{},{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))});St(l,function(u){if(!u)return Kd("Could not find one or more icon(s)",i.value,o.value)},{immediate:!0});var f=ce(function(){return l.value?vl(l.value.abstract[0],{},r):null});return function(){return f.value}}}),ka={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"]},Xd={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"]},Ea={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"]},Jd={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"]},Aa={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"]},Qd={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"]},Zd={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"]},eh={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"]},Oa=eh,th={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"]},nh=th,rh={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"]},_l={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 ih={class:"flex"},sh={class:"grid cursor-pointer place-items-center"},ah=["checked"],oh=kf('',2),lh={__name:"TheThemeButton",setup(e){const t=xr(!0);return St(t,n=>{n?document.getElementsByTagName("body")[0].classList.add("dark"):document.getElementsByTagName("body")[0].classList.remove("dark")}),(n,r)=>(H(),q("div",ih,[g("label",sh,[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,ah),oh])]))}},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 ir=Object.create(null);Object.keys(Ye).forEach(e=>{ir[Ye[e]]=e});const _i={type:"error",data:"parser error"},xl=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",wl=typeof ArrayBuffer=="function",kl=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,ns=({type:e,data:t},n,r)=>xl&&t instanceof Blob?n?r(t):Sa(t,r):wl&&(t instanceof ArrayBuffer||kl(t))?n?r(t):Sa(new Blob([t]),r):r(Ye[e]+(t||"")),Sa=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function Ca(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let Kr;function ch(e,t){if(xl&&e.data instanceof Blob)return e.data.arrayBuffer().then(Ca).then(t);if(wl&&(e.data instanceof ArrayBuffer||kl(e.data)))return t(Ca(e.data));ns(e,!1,n=>{Kr||(Kr=new TextEncoder),t(Kr.encode(n))})}const Ta="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",en=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;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),u=new Uint8Array(f);for(r=0;r>4,u[i++]=(a&15)<<4|o>>2,u[i++]=(o&3)<<6|l&63;return f},uh=typeof ArrayBuffer=="function",rs=(e,t)=>{if(typeof e!="string")return{type:"message",data:El(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:dh(e.substring(1),t)}:ir[n]?e.length>1?{type:ir[n],data:e.substring(1)}:{type:ir[n]}:_i},dh=(e,t)=>{if(uh){const n=fh(e);return El(n,t)}else return{base64:!0,data:e}},El=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},Al="",hh=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((s,a)=>{ns(s,!1,o=>{r[a]=o,++i===n&&t(r.join(Al))})})},ph=(e,t)=>{const n=e.split(Al),r=[];for(let i=0;i{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 Gr;function qn(e){return e.reduce((t,n)=>t+n.length,0)}function Wn(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let i=0;iMath.pow(2,21)-1){o.enqueue(_i);break}i=u*Math.pow(2,32)+f.getUint32(4),r=3}else{if(qn(n)e){o.enqueue(_i);break}}}})}const Ol=4;function fe(e){if(e)return bh(e)}function bh(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(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const vh=Ne.setTimeout,yh=Ne.clearTimeout;function Rr(e,t){t.useNativeTimers?(e.setTimeoutFn=vh.bind(Ne),e.clearTimeoutFn=yh.bind(Ne)):(e.setTimeoutFn=Ne.setTimeout.bind(Ne),e.clearTimeoutFn=Ne.clearTimeout.bind(Ne))}const _h=1.33;function xh(e){return typeof e=="string"?wh(e):Math.ceil((e.byteLength||e.size)*_h)}function wh(e){let t=0,n=0;for(let r=0,i=e.length;r=57344?n+=3:(r++,n+=4);return n}function kh(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function Eh(e){let t={},n=e.split("&");for(let r=0,i=n.length;r0);return t}function Tl(){const e=Ra(+new Date);return e!==Na?(Pa=0,Na=e):e+"."+Ra(Pa++)}for(;Yn{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)};ph(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,hh(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]=Tl()),!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(),Rr(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=Sl(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this.opts.xd;const r=this.xhr=new Nl(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=Ch,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",Ia);else if(typeof addEventListener=="function"){const e="onpagehide"in Ne?"pagehide":"unload";addEventListener(e,Ia,!1)}}function Ia(){for(let e in We.requests)We.requests.hasOwnProperty(e)&&We.requests[e].abort()}const ss=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),Kn=Ne.WebSocket||Ne.MozWebSocket,La=!0,Nh="arraybuffer",Ma=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Rh extends is{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=Ma?{}:Sl(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=La&&!Ma?n?new Kn(t,n):new Kn(t):new Kn(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{const a={};try{La&&this.ws.send(s)}catch{}i&&ss(()=>{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]=Tl()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}check(){return!!Kn}}class Ih extends is{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=gh(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=mh();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{i&&ss(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this.transport)===null||t===void 0||t.close()}}const Lh={websocket:Rh,webtransport:Ih,polling:Ph},Mh=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,$h=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function wi(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=Mh.exec(e||""),s={},a=14;for(;a--;)s[$h[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=Fh(s,s.path),s.queryKey=Bh(s,s.query),s}function Fh(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 Bh(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,s){i&&(n[i]=s)}),n}let Rl=class It extends fe{constructor(t,n={}){super(),this.binaryType=Nh,this.writeBuffer=[],t&&typeof t=="object"&&(n=t,t=null),t?(t=wi(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=wi(n.host).host),Rr(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=Eh(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=Ol,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 Lh[t](r)}open(){let t;if(this.opts.rememberUpgrade&&It.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;It.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;It.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(u(),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,u(),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 u=()=>{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",It.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{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;r0&&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){It.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(;rtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Il=Object.prototype.toString,Uh=typeof Blob=="function"||typeof Blob<"u"&&Il.call(Blob)==="[object BlobConstructor]",Hh=typeof File=="function"||typeof File<"u"&&Il.call(File)==="[object FileConstructor]";function as(e){return jh&&(e instanceof ArrayBuffer||zh(e))||Uh&&e instanceof Blob||Hh&&e instanceof File}function sr(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n=0&&e.num{delete this.acks[t];for(let o=0;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:U.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 U.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 U.EVENT:case U.BINARY_EVENT:this.onevent(t);break;case U.ACK:case U.BINARY_ACK:this.onack(t);break;case U.DISCONNECT:this.ondisconnect();break;case U.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:U.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:U.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;r0&&e.jitter<=1?e.jitter:0,this.attempts=0}qt.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};qt.prototype.reset=function(){this.attempts=0};qt.prototype.setMin=function(e){this.ms=e};qt.prototype.setMax=function(e){this.max=e};qt.prototype.setJitter=function(e){this.jitter=e};class Ai 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,Rr(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 qt({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||Xh;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 Rl(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){ss(()=>{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 Ll(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;rt()),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 Jt={};function ar(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=Dh(e,t.path||"/socket.io"),r=n.source,i=n.id,s=n.path,a=Jt[i]&&s in Jt[i].nsps,o=t.forceNew||t["force new connection"]||t.multiplex===!1||a;let l;return o?l=new Ai(r,t):(Jt[i]||(Jt[i]=new Ai(r,t)),l=Jt[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(ar,{Manager:Ai,Socket:Ll,io:ar,connect:ar});const Qh=void 0,Zh=30,Ml={notificationEvents:[],notificationCounter:0,notificationAPICounter:0,exercises:[],selected_exercises:[],progresses:{},diagnostic:{}},ne=xn({...Ml}),ls=xn({connected:!1}),ep=ce(()=>ne.exercises),Fa=ce(()=>ne.selected_exercises),Ba=ce(()=>ne.exercises.filter(e=>ne.selected_exercises.includes(e.uuid))),Da=ce(()=>ne.progresses),ja=ce(()=>ne.notificationEvents),tp=ce(()=>ne.notificationCounter),np=ce(()=>ne.notificationAPICounter),rp=ce(()=>Object.keys(ne.progresses).length),Gn=ce(()=>ne.diagnostic),tn=ce(()=>ls.connected);function ip(){Object.assign(ne,Ml)}function za(){ue.emit("get_exercises",e=>{ne.exercises=e}),ue.emit("get_selected_exercises",e=>{ne.selected_exercises=e}),ue.emit("get_notifications",e=>{ne.notificationEvents=e}),ue.emit("get_progress",e=>{ne.progresses=e})}function sp(){ne.diagnostic={},ue.emit("get_diagnostic",e=>{ne.diagnostic=e})}function ap(e,t,n,r){const i={user_id:t,exercise_uuid:n,task_uuid:r},s=e?"mark_task_incomplete":"mark_task_completed";ue.emit(s,i,()=>{ue.emit("get_progress",a=>{ne.progresses=a})})}function op(){ue.emit("reset_all_exercise_progress",()=>{ue.emit("get_progress",e=>{ne.progresses=e})})}function lp(e,t){const n={exercise_uuid:e,selected:t};ue.emit("change_exercise_selection",n,()=>{ue.emit("get_selected_exercises",r=>{ne.selected_exercises=r})})}function cp(e){const t={verbose:e};ue.emit("toggle_verbose_mode",t,()=>{})}const ue=ar(Qh,{autoConnect:!0});ue.on("connect",()=>{ls.connected=!0});ue.on("disconnect",()=>{ls.connected=!1});ue.on("notification",e=>{ne.notificationCounter+=1,e.is_api_request&&(ne.notificationAPICounter+=1),fp(ne.notificationEvents,e,Zh)});ue.on("new_user",e=>{ue.emit("get_progress",t=>{ne.progresses=t})});ue.on("refresh_score",e=>{ue.emit("get_progress",t=>{ne.progresses=t})});function fp(e,t,n){e.unshift(t),e.length>n&&(e.length=n)}const up={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"},dp={class:"text-2xl font-bold"},hp=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),pp={class:"flex mb-5"},mp={class:"text-lg font-semibold"},gp={class:"label cursor-pointer justify-start"},bp=["onChange","checked","value"],vp={class:"font-mono font-semibold text-base ml-3"},yp={class:"text-lg font-semibold mt-4"},_p={class:"font-semibold ml-1 my-2"},xp=g("strong",null,"MISP Status:",-1),wp={class:"ml-2"},kp={key:0,class:"loading loading-dots loading-sm h-4 inline-block align-middle"},Ep={key:1,class:"font-bold"},Ap=g("h4",{class:"font-semibold ml-1"},[g("strong",null,"MISP Settings:")],-1),Op={class:"ml-3"},Sp={key:0,class:"flex justify-center"},Cp=g("span",{class:"loading loading-dots loading-lg"},null,-1),Tp=[Cp],Pp={class:"label cursor-pointer justify-start p-0 pt-1"},Np=["checked","value"],Rp={class:"font-mono font-semibold text-base ml-3"},Ip=g("form",{method:"dialog",class:"modal-backdrop"},[g("button",null,"close")],-1),Lp={__name:"TheAdminPanel",setup(e){const t=xr(null),n=ce(()=>Object.keys(Gn.value).length==0),r=ce(()=>{var a;return((a=Gn.value.version)==null?void 0:a.version)!==void 0});function i(a,o){lp(o,a)}function s(){t.value.showModal(),sp()}return(a,o)=>(H(),q(le,null,[g("button",{onClick:o[0]||(o[0]=l=>s()),class:"px-2 py-1 rounded-md focus-outline font-semibold bg-blue-600 text-slate-200 hover:bg-blue-700"},[Y(I(Oe),{icon:I(Ea),class:"mr-1"},null,8,["icon"]),Ce(" Admin panel ")]),g("dialog",{ref_key:"admin_modal",ref:t,class:"modal"},[g("div",up,[g("h2",dp,[Y(I(Oe),{icon:I(Ea),class:"mr-1"},null,8,["icon"]),Ce(" Admin panel ")]),hp,g("div",null,[g("div",pp,[g("button",{onClick:o[1]||(o[1]=l=>I(op)()),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"},[Y(I(Oe),{icon:I(Qd),class:"mr-1"},null,8,["icon"]),Ce(" Reset All Exercises ")])]),g("h3",mp,[Y(I(Oe),{icon:I(_l),class:"mr-1"},null,8,["icon"]),Ce(" Selected Exercises ")]),(H(!0),q(le,null,wt(I(ep),l=>(H(),q("div",{key:l.name,class:"form-control pl-3"},[g("label",gp,[g("input",{onChange:f=>i(f.target.checked,l.uuid),type:"checkbox",checked:I(Fa).includes(l.uuid),value:l.uuid,class:Se(`checkbox ${I(Fa).includes(l.uuid)?"checkbox-success":""} [--fallback-bc:#94a3b8]`)},null,42,bp),g("span",vp,oe(l.name),1)])]))),128)),g("h3",yp,[Y(I(Oe),{icon:I(Zd),class:"mr-1"},null,8,["icon"]),Ce(" Diagnostic ")]),g("h4",_p,[xp,g("span",wp,[g("span",{class:Se({"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(),q("span",kp)):(H(),q("span",Ep,oe(r.value?`Online (${I(Gn).version.version})`:"Unreachable"),1))],2)])]),n.value||r.value?(H(),q(le,{key:0},[Ap,g("div",Op,[n.value?(H(),q("div",Sp,Tp)):mn("",!0),(H(!0),q(le,null,wt(I(Gn).settings,(l,f)=>(H(),q("div",{key:f},[g("div",null,[g("label",Pp,[g("input",{type:"checkbox",checked:l,value:f,class:Se(`checkbox ${l?"checkbox-success":"checkbox-danger"} [--fallback-bc:#cbd5e1]`),disabled:""},null,10,Np),g("span",Rp,oe(f),1)])])]))),128))])],64)):mn("",!0)])]),Ip],512)],64))}},Mp=g("span",{class:"mr-1"},"Socket.IO:",-1),$p={class:"font-semibold text-green-600 dark:text-green-400"},Fp={class:"font-semibold text-slate-50"},Bp={__name:"TheSocketConnectionState",setup(e){return(t,n)=>(H(),q("span",{class:Se({"px-2 py-1 rounded-md inline-block w-48":!0,"text-slate-900 dark:text-slate-400":I(tn),"text-slate-50 bg-red-600":!I(tn)})},[Mp,Ss(g("span",$p,"Connected",512),[[Us,I(tn)]]),Ss(g("span",Fp,"Disconnected",512),[[Us,!I(tn)]])],2))}},Dp={class:"text-2xl mt-6 mb-2 font-bold text-blue-500 dark:text-blue-400"},jp={class:"mb-2 flex flex-wrap gap-x-3"},zp={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},Up={class:"mr-1"},Hp={class:"font-bold"},Vp={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},qp={class:"mr-1"},Wp={class:"font-bold"},Yp={class:"rounded-lg py-1 px-2 dark:bg-sky-700 bg-sky-400 text-slate-800 dark:text-slate-200"},Kp={class:"mr-1"},Gp={class:"font-bold"},Xp={class:"flex items-center"},Jp={class:"mr-1 flex items-center cursor-pointer"},Qp=["checked"],Zp={class:"bg-white dark:bg-slate-800 rounded-lg shadow-xl w-full"},em=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),tm={key:0},nm=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),rm=[nm],im={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"},sm={class:"inline ml-1"},am=["title"],om={class:"text-lg font-bold font-mono"},lm={class:"text-xs font-mono"},cm={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-1"},fm={class:"border-b border-slate-100 dark:border-slate-700 text-sky-600 dark:text-sky-400 p-1"},um={class:"flex items-center"},dm={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"},hm={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"},pm={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"},mm={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"},gm={class:"text-sm inline"},bm={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-300 p-1"},vm={key:0,class:"border border-slate-200 dark:border-slate-600 bg-slate-100 dark:bg-slate-600 rounded-md"},ym={class:"p-1 text-xs"},_m={__name:"TheLiveLogs",setup(e){const t=xr(!1);St(t,r=>{cp(r==!0)});function n(r){return String(r).startsWith("2")?"text-green-500":String(r).startsWith("5")?"text-red-600":"text-amber-600"}return(r,i)=>(H(),q(le,null,[g("h3",Dp,[Y(I(Oe),{icon:I(Aa)},null,8,["icon"]),Ce(" Live logs ")]),g("div",jp,[g("span",zp,[g("span",Up,[Y(I(Oe),{icon:I(Xd),size:"sm"},null,8,["icon"]),Ce(" User online: ")]),g("span",Hp,oe(I(rp)),1)]),g("span",Vp,[g("span",qp,[Y(I(Oe),{icon:I(Aa),size:"sm"},null,8,["icon"]),Ce(" Total Queries: ")]),g("span",Wp,oe(I(tp)),1)]),g("span",Yp,[g("span",Kp,[Y(I(Oe),{icon:I(Oa),size:"sm",mask:I(ka),transform:"shrink-7 left-1"},null,8,["icon","mask"]),Ce(" Total API Queries: ")]),g("span",Gp,oe(I(np)),1)]),g("span",Xp,[g("label",Jp,[g("input",{type:"checkbox",class:"toggle toggle-success [--fallback-su:#22c55e] mr-1",checked:t.value,onChange:i[0]||(i[0]=s=>t.value=!t.value)},null,40,Qp),Ce(" Verbose ")])])]),g("table",Zp,[em,g("tbody",null,[I(ja).length==0?(H(),q("tr",tm,rm)):(H(!0),q(le,{key:1},wt(I(ja),(s,a)=>(H(),q("tr",{key:a},[g("td",im,[Y(I(Oe),{icon:I(Jd),size:"xs",class:Se(n(s.response_code))},null,8,["icon","class"]),g("pre",sm,oe(s.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:s.user_id},[g("span",om,oe(s.user.split("@")[0]),1),g("span",lm,"@"+oe(s.user.split("@")[1]),1)],8,am),g("td",cm,oe(s.time),1),g("td",fm,[g("div",um,[s.http_method=="POST"?(H(),q("span",dm,"POST")):s.http_method=="PUT"?(H(),q("span",hm,"PUT")):s.http_method=="DELETE"?(H(),q("span",pm,"DEL")):(H(),q("span",mm,oe(s.http_method),1)),s.is_api_request?(H(),Do(I(Oe),{key:4,class:"text-slate-800 dark:text-slate-100 mr-1 inline-block",icon:I(Oa),mask:I(ka),transform:"shrink-7 left-1"},null,8,["icon","mask"])):mn("",!0),g("pre",gm,oe(s.url),1)])]),g("td",bm,[s.http_method=="POST"?(H(),q("div",vm,[g("pre",ym,oe(JSON.stringify(s.payload,null,2)),1)])):mn("",!0)])]))),128))])])],64))}},xm={class:"text-2xl mt-6 mb-2 font-bold text-blue-500 dark:text-blue-400"},wm={key:0,class:"text-center text-slate-600 dark:text-slate-400 p-3 pl-6"},km=g("i",null,"- No Exercise available -",-1),Em=[km],Am=["onClick"],Om=["colspan"],Sm={class:"flex justify-between items-center"},Cm={class:"dark:text-blue-200 text-slate-200"},Tm={class:"text-lg"},Pm={class:""},Nm=g("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 pl-6 text-left"},"User",-1),Rm={class:"flex flex-col"},Im={class:"text-center font-normal text-sm dark:text-blue-200 text-slate-500"},Lm={class:"text-center"},Mm=g("th",{class:"border-b border-slate-100 dark:border-slate-700 p-3 text-left"},"Progress",-1),$m={key:0},Fm=["colspan"],Bm=g("i",null,"- No user yet -",-1),Dm=[Bm],jm={class:"border-b border-slate-100 dark:border-slate-700 text-slate-600 dark:text-slate-400 p-3 pl-6"},zm=["title"],Um={class:"text-lg font-bold font-mono"},Hm={class:"text-xs font-mono"},Vm=["onClick"],qm={class:"border-b border-slate-100 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-3"},Wm=["aria-valuenow"],Ym={__name:"TheScores",setup(e){const t=xr([]);function n(a,o,l,f){ap(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=ce(()=>Ba.value.length>0),s=ce(()=>Object.keys(Da.value).length>0);return(a,o)=>(H(),q(le,null,[g("h3",xm,[Y(I(Oe),{icon:I(_l)},null,8,["icon"]),Ce(" Active Exercises ")]),i.value?mn("",!0):(H(),q("div",wm,Em)),(H(!0),q(le,null,wt(I(Ba),(l,f)=>(H(),q("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:u=>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",Sm,[g("span",Cm,"# "+oe(f+1),1),g("span",Tm,oe(l.name),1),g("span",Pm,[Ce(" Level: "),g("span",{class:Se({"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"})},oe(l.level),3)])])],8,Om)],8,Am),g("tr",{class:Se(`font-medium text-slate-600 dark:text-slate-200 ${t.value.includes(f)?"hidden":""}`)},[Nm,(H(!0),q(le,null,wt(l.tasks,(u,h)=>(H(),q("th",{key:u.name,class:"border-b border-slate-100 dark:border-slate-700 p-3"},[g("div",Rm,[g("span",Im,"Task "+oe(h+1),1),g("i",Lm,oe(u.name),1)])]))),128)),Mm],2)]),g("tbody",{class:Se(`${t.value.includes(f)?"hidden":""}`)},[s.value?(H(!0),q(le,{key:1},wt(I(Da),(u,h)=>(H(),q("tr",{key:h,class:"bg-slate-200 dark:bg-slate-900"},[g("td",jm,[g("span",{title:h},[g("span",Um,oe(u.email.split("@")[0]),1),g("span",Hm,"@"+oe(u.email.split("@")[1]),1)],8,zm)]),(H(!0),q(le,null,wt(l.tasks,(m,k)=>(H(),q("td",{key:k,class:"text-center border-b border-slate-100 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-3"},[g("span",{class:"select-none cursor-pointer text-nowrap",onClick:D=>n(u.exercises[l.uuid].tasks_completion[m.uuid],h,l.uuid,m.uuid)},[Y(I(Oe),{icon:u.exercises[l.uuid].tasks_completion[m.uuid]?I(rh):I(nh),class:Se(`text-xl ${u.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:Se(u.exercises[l.uuid].tasks_completion[m.uuid]?"dark:text-green-400 text-green-600":"dark:text-slate-500 text-slate-400")}," (+"+oe(m.score)+")",3)],8,Vm)]))),128)),g("td",qm,[g("div",{class:"flex w-full h-2 bg-gray-200 rounded-full overflow-hidden dark:bg-neutral-600",role:"progressbar","aria-valuenow":u.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:yr(`width: ${100*(u.exercises[l.uuid].score/u.exercises[l.uuid].max_score)}%`)},null,4)],8,Wm)])]))),128)):(H(),q("tr",$m,[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"},Dm,8,Fm)]))],2)]))),128))],64))}},Km=g("h1",{class:"text-3xl font-bold text-center text-slate-600 dark:text-slate-300"},"MISP Exercise Dashboard",-1),Gm={__name:"TheDahboard",setup(e){return St(tn,t=>{t&&(ip(),za())}),Di(()=>{za()}),(t,n)=>(H(),q(le,null,[Km,Y(Ym),Y(_m)],64))}},Xm={class:"absolute top-1 right-1"},Jm={class:"flex gap-2"},Qm={__name:"App",setup(e){return Di(()=>{document.getElementsByTagName("body")[0].classList.add("dark"),document.getElementById("app").classList.add("w-5/6")}),(t,n)=>(H(),q("main",null,[g("div",Xm,[g("div",Jm,[Y(lh),Y(Lp),Y(Bp)])]),Y(Gm)]))}};ru(Qm).mount("#app"); diff --git a/dist/index.html b/dist/index.html index b303e68..f13bc5b 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,7 +5,7 @@ Vite App - + diff --git a/misp_api.py b/misp_api.py index 3c29a5b..e3ce343 100644 --- a/misp_api.py +++ b/misp_api.py @@ -19,7 +19,10 @@ def get(url, data={}, api_key=misp_apikey): "Content-Type": "application/json" } full_url = urljoin(misp_url, url) - response = requests.get(full_url, data=data, headers=headers, verify=not misp_skipssl) + try: + response = requests.get(full_url, data=data, headers=headers, verify=not misp_skipssl) + except requests.exceptions.ConnectionError: + return None return response.json() if response.headers['content-type'].startswith('application/json') else response.text @@ -31,7 +34,10 @@ def post(url, data={}, api_key=misp_apikey): "Content-Type": "application/json" } full_url = urljoin(misp_url, url) - response = requests.post(full_url, data=json.dumps(data), headers=headers, verify=not misp_skipssl) + try: + response = requests.post(full_url, data=json.dumps(data), headers=headers, verify=not misp_skipssl) + except requests.exceptions.ConnectionError: + return None return response.json() if response.headers['content-type'].startswith('application/json') else response.text diff --git a/server.py b/server.py index dce625d..d14d9bd 100755 --- a/server.py +++ b/server.py @@ -157,4 +157,4 @@ if __name__ == "__main__": eventlet.spawn_n(forward_zmq_to_socketio) # Run the Socket.IO server - eventlet.wsgi.server(eventlet.listen(('0.0.0.0', 4000)), app) + eventlet.wsgi.server(eventlet.listen(('127.0.0.1', 4000)), app) diff --git a/src/components/TheAdminPanel.vue b/src/components/TheAdminPanel.vue index 2f2c71f..31cf4fc 100644 --- a/src/components/TheAdminPanel.vue +++ b/src/components/TheAdminPanel.vue @@ -93,29 +93,31 @@ -

MISP Settings:

-
-
- -
-
-
- +