Файловый менеджер - Редактировать - /home/gqdcvggs/.trash/index-DXuj9XYg.js
Назад
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** * @vue/shared v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function Ir(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const ue={},en=[],Je=()=>{},Ha=()=>!1,_s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Mr=e=>e.startsWith("onUpdate:"),Pe=Object.assign,Fr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Va=Object.prototype.hasOwnProperty,ne=(e,t)=>Va.call(e,t),j=Array.isArray,tn=e=>bs(e)==="[object Map]",Fi=e=>bs(e)==="[object Set]",z=e=>typeof e=="function",ve=e=>typeof e=="string",Nt=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",Ui=e=>(de(e)||z(e))&&z(e.then)&&z(e.catch),Di=Object.prototype.toString,bs=e=>Di.call(e),za=e=>bs(e).slice(8,-1),qi=e=>bs(e)==="[object Object]",Ur=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,En=Ir(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ws=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ka=/-(\w)/g,rt=ws(e=>e.replace(Ka,(t,n)=>n?n.toUpperCase():"")),Wa=/\B([A-Z])/g,Wt=ws(e=>e.replace(Wa,"-$1").toLowerCase()),vs=ws(e=>e.charAt(0).toUpperCase()+e.slice(1)),js=ws(e=>e?`on${vs(e)}`:""),kt=(e,t)=>!Object.is(e,t),Yn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ji=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},lr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let bo;const Hi=()=>bo||(bo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Dr(e){if(j(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ve(s)?Qa(s):Dr(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(ve(e)||de(e))return e}const Ja=/;(?![^(]*\))/g,Ga=/:([^]+)/,Xa=/\/\*[^]*?\*\//g;function Qa(e){const t={};return e.replace(Xa,"").split(Ja).forEach(n=>{if(n){const s=n.split(Ga);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function je(e){let t="";if(ve(e))t=e;else if(j(e))for(let n=0;n<e.length;n++){const s=je(e[n]);s&&(t+=s+" ")}else if(de(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ya="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Za=Ir(Ya);function Vi(e){return!!e||e===""}const zi=e=>!!(e&&e.__v_isRef===!0),me=e=>ve(e)?e:e==null?"":j(e)||de(e)&&(e.toString===Di||!z(e.toString))?zi(e)?me(e.value):JSON.stringify(e,Ki,2):String(e),Ki=(e,t)=>zi(t)?Ki(e,t.value):tn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Hs(s,o)+" =>"]=r,n),{})}:Fi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Hs(n))}:Nt(t)?Hs(t):de(t)&&!j(t)&&!qi(t)?String(t):t,Hs=(e,t="")=>{var n;return Nt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let et;class ec{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=et,!t&&et&&(this.index=(et.scopes||(et.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=et;try{return et=this,t()}finally{et=n}}}on(){et=this}off(){et=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function tc(e,t=et){t&&t.active&&t.effects.push(e)}function nc(){return et}let qt;class qr{constructor(t,n,s,r){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,tc(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Lt();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(sc(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Bt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ot,n=qt;try{return Ot=!0,qt=this,this._runnings++,wo(this),this.fn()}finally{vo(this),this._runnings--,qt=n,Ot=t}}stop(){this.active&&(wo(this),vo(this),this.onStop&&this.onStop(),this.active=!1)}}function sc(e){return e.value}function wo(e){e._trackId++,e._depsLength=0}function vo(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Wi(e.deps[t],e);e.deps.length=e._depsLength}}function Wi(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Ot=!0,ar=0;const Ji=[];function Lt(){Ji.push(Ot),Ot=!1}function Bt(){const e=Ji.pop();Ot=e===void 0?!0:e}function jr(){ar++}function Hr(){for(ar--;!ar&&cr.length;)cr.shift()()}function Gi(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&Wi(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const cr=[];function Xi(e,t,n){jr();for(const s of e.keys()){let r;s._dirtyLevel<t&&(r??(r=e.get(s)===s._trackId))&&(s._shouldSchedule||(s._shouldSchedule=s._dirtyLevel===0),s._dirtyLevel=t),s._shouldSchedule&&(r??(r=e.get(s)===s._trackId))&&(s.trigger(),(!s._runnings||s.allowRecurse)&&s._dirtyLevel!==2&&(s._shouldSchedule=!1,s.scheduler&&cr.push(s.scheduler)))}Hr()}const Qi=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ur=new WeakMap,jt=Symbol(""),fr=Symbol("");function Me(e,t,n){if(Ot&&qt){let s=ur.get(e);s||ur.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Qi(()=>s.delete(n))),Gi(qt,r)}}function yt(e,t,n,s,r,o){const i=ur.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&j(e)){const a=Number(s);i.forEach((c,u)=>{(u==="length"||!Nt(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":j(e)?Ur(n)&&l.push(i.get("length")):(l.push(i.get(jt)),tn(e)&&l.push(i.get(fr)));break;case"delete":j(e)||(l.push(i.get(jt)),tn(e)&&l.push(i.get(fr)));break;case"set":tn(e)&&l.push(i.get(jt));break}jr();for(const a of l)a&&Xi(a,4);Hr()}const rc=Ir("__proto__,__v_isRef,__isVue"),Yi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Nt)),xo=oc();function oc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ie(this);for(let o=0,i=this.length;o<i;o++)Me(s,"get",o+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(ie)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Lt(),jr();const s=ie(this)[t].apply(this,n);return Hr(),Bt(),s}}),e}function ic(e){Nt(e)||(e=String(e));const t=ie(this);return Me(t,"has",e),t.hasOwnProperty(e)}class Zi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?bc:sl:o?nl:tl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=j(t);if(!r){if(i&&ne(xo,n))return Reflect.get(xo,n,s);if(n==="hasOwnProperty")return ic}const l=Reflect.get(t,n,s);return(Nt(n)?Yi.has(n):rc(n))||(r||Me(t,"get",n),o)?l:Fe(l)?i&&Ur(n)?l:l.value:de(l)?r?ol(l):Es(l):l}}class el extends Zi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const a=Vt(o);if(!on(s)&&!Vt(s)&&(o=ie(o),s=ie(s)),!j(t)&&Fe(o)&&!Fe(s))return a?!1:(o.value=s,!0)}const i=j(t)&&Ur(n)?Number(n)<t.length:ne(t,n),l=Reflect.set(t,n,s,r);return t===ie(r)&&(i?kt(s,o)&&yt(t,"set",n,s):yt(t,"add",n,s)),l}deleteProperty(t,n){const s=ne(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&yt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Nt(n)||!Yi.has(n))&&Me(t,"has",n),s}ownKeys(t){return Me(t,"iterate",j(t)?"length":jt),Reflect.ownKeys(t)}}class lc extends Zi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ac=new el,cc=new lc,uc=new el(!0);const Vr=e=>e,xs=e=>Reflect.getPrototypeOf(e);function qn(e,t,n=!1,s=!1){e=e.__v_raw;const r=ie(e),o=ie(t);n||(kt(t,o)&&Me(r,"get",t),Me(r,"get",o));const{has:i}=xs(r),l=s?Vr:n?Wr:Pn;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function jn(e,t=!1){const n=this.__v_raw,s=ie(n),r=ie(e);return t||(kt(e,r)&&Me(s,"has",e),Me(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Hn(e,t=!1){return e=e.__v_raw,!t&&Me(ie(e),"iterate",jt),Reflect.get(e,"size",e)}function Eo(e,t=!1){!t&&!on(e)&&!Vt(e)&&(e=ie(e));const n=ie(this);return xs(n).has.call(n,e)||(n.add(e),yt(n,"add",e,e)),this}function So(e,t,n=!1){!n&&!on(t)&&!Vt(t)&&(t=ie(t));const s=ie(this),{has:r,get:o}=xs(s);let i=r.call(s,e);i||(e=ie(e),i=r.call(s,e));const l=o.call(s,e);return s.set(e,t),i?kt(t,l)&&yt(s,"set",e,t):yt(s,"add",e,t),this}function Ro(e){const t=ie(this),{has:n,get:s}=xs(t);let r=n.call(t,e);r||(e=ie(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&yt(t,"delete",e,void 0),o}function Ao(){const e=ie(this),t=e.size!==0,n=e.clear();return t&&yt(e,"clear",void 0,void 0),n}function Vn(e,t){return function(s,r){const o=this,i=o.__v_raw,l=ie(i),a=t?Vr:e?Wr:Pn;return!e&&Me(l,"iterate",jt),i.forEach((c,u)=>s.call(r,a(c),a(u),o))}}function zn(e,t,n){return function(...s){const r=this.__v_raw,o=ie(r),i=tn(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=r[e](...s),u=n?Vr:t?Wr:Pn;return!t&&Me(o,"iterate",a?fr:jt),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:l?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function wt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function fc(){const e={get(o){return qn(this,o)},get size(){return Hn(this)},has:jn,add:Eo,set:So,delete:Ro,clear:Ao,forEach:Vn(!1,!1)},t={get(o){return qn(this,o,!1,!0)},get size(){return Hn(this)},has:jn,add(o){return Eo.call(this,o,!0)},set(o,i){return So.call(this,o,i,!0)},delete:Ro,clear:Ao,forEach:Vn(!1,!0)},n={get(o){return qn(this,o,!0)},get size(){return Hn(this,!0)},has(o){return jn.call(this,o,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Vn(!0,!1)},s={get(o){return qn(this,o,!0,!0)},get size(){return Hn(this,!0)},has(o){return jn.call(this,o,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Vn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=zn(o,!1,!1),n[o]=zn(o,!0,!1),t[o]=zn(o,!1,!0),s[o]=zn(o,!0,!0)}),[e,n,t,s]}const[dc,hc,pc,mc]=fc();function zr(e,t){const n=t?e?mc:pc:e?hc:dc;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ne(n,r)&&r in s?n:s,r,o)}const gc={get:zr(!1,!1)},yc={get:zr(!1,!0)},_c={get:zr(!0,!1)};const tl=new WeakMap,nl=new WeakMap,sl=new WeakMap,bc=new WeakMap;function wc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vc(e){return e.__v_skip||!Object.isExtensible(e)?0:wc(za(e))}function Es(e){return Vt(e)?e:Kr(e,!1,ac,gc,tl)}function rl(e){return Kr(e,!1,uc,yc,nl)}function ol(e){return Kr(e,!0,cc,_c,sl)}function Kr(e,t,n,s,r){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=vc(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Sn(e){return Vt(e)?Sn(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function on(e){return!!(e&&e.__v_isShallow)}function il(e){return e?!!e.__v_raw:!1}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function xc(e){return Object.isExtensible(e)&&ji(e,"__v_skip",!0),e}const Pn=e=>de(e)?Es(e):e,Wr=e=>de(e)?ol(e):e;class ll{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new qr(()=>t(this._value),()=>Zn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=ie(this);return(!t._cacheable||t.effect.dirty)&&kt(t._value,t._value=t.effect.run())&&Zn(t,4),al(t),t.effect._dirtyLevel>=2&&Zn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Ec(e,t,n=!1){let s,r;const o=z(e);return o?(s=e,r=Je):(s=e.get,r=e.set),new ll(s,r,o||!r,n)}function al(e){var t;Ot&&qt&&(e=ie(e),Gi(qt,(t=e.dep)!=null?t:e.dep=Qi(()=>e.dep=void 0,e instanceof ll?e:void 0)))}function Zn(e,t=4,n,s){e=ie(e);const r=e.dep;r&&Xi(r,t)}function Fe(e){return!!(e&&e.__v_isRef===!0)}function he(e){return cl(e,!1)}function Sc(e){return cl(e,!0)}function cl(e,t){return Fe(e)?e:new Rc(e,t)}class Rc{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ie(t),this._value=n?t:Pn(t)}get value(){return al(this),this._value}set value(t){const n=this.__v_isShallow||on(t)||Vt(t);t=n?t:ie(t),kt(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Pn(t),Zn(this,4))}}function Ce(e){return Fe(e)?e.value:e}const Ac={get:(e,t,n)=>Ce(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Fe(r)&&!Fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ul(e){return Sn(e)?e:new Proxy(e,Ac)}/** * @vue/runtime-core v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Tt(e,t,n,s){try{return s?e(...s):e()}catch(r){Ss(r,t,n)}}function nt(e,t,n,s){if(z(e)){const r=Tt(e,t,n,s);return r&&Ui(r)&&r.catch(o=>{Ss(o,t,n)}),r}if(j(e)){const r=[];for(let o=0;o<e.length;o++)r.push(nt(e[o],t,n,s));return r}}function Ss(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const c=o.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,l)===!1)return}o=o.parent}const a=t.appContext.config.errorHandler;if(a){Lt(),Tt(a,null,10,[e,i,l]),Bt();return}}Cc(e,n,r,s)}function Cc(e,t,n,s=!0){console.error(e)}let kn=!1,dr=!1;const Oe=[];let dt=0;const nn=[];let Et=null,Ut=0;const fl=Promise.resolve();let Jr=null;function dl(e){const t=Jr||fl;return e?t.then(this?e.bind(this):e):t}function Oc(e){let t=dt+1,n=Oe.length;for(;t<n;){const s=t+n>>>1,r=Oe[s],o=Nn(r);o<e||o===e&&r.pre?t=s+1:n=s}return t}function Gr(e){(!Oe.length||!Oe.includes(e,kn&&e.allowRecurse?dt+1:dt))&&(e.id==null?Oe.push(e):Oe.splice(Oc(e.id),0,e),hl())}function hl(){!kn&&!dr&&(dr=!0,Jr=fl.then(ml))}function Tc(e){const t=Oe.indexOf(e);t>dt&&Oe.splice(t,1)}function Pc(e){j(e)?nn.push(...e):(!Et||!Et.includes(e,e.allowRecurse?Ut+1:Ut))&&nn.push(e),hl()}function Co(e,t,n=kn?dt+1:0){for(;n<Oe.length;n++){const s=Oe[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;Oe.splice(n,1),n--,s()}}}function pl(e){if(nn.length){const t=[...new Set(nn)].sort((n,s)=>Nn(n)-Nn(s));if(nn.length=0,Et){Et.push(...t);return}for(Et=t,Ut=0;Ut<Et.length;Ut++){const n=Et[Ut];n.active!==!1&&n()}Et=null,Ut=0}}const Nn=e=>e.id==null?1/0:e.id,kc=(e,t)=>{const n=Nn(e)-Nn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ml(e){dr=!1,kn=!0,Oe.sort(kc);try{for(dt=0;dt<Oe.length;dt++){const t=Oe[dt];t&&t.active!==!1&&Tt(t,t.i,t.i?15:14)}}finally{dt=0,Oe.length=0,pl(),kn=!1,Jr=null,(Oe.length||nn.length)&&ml()}}let He=null,Rs=null;function ds(e){const t=He;return He=e,Rs=e&&e.type.__scopeId||null,t}function Jt(e){Rs=e}function Gt(){Rs=null}function Ke(e,t=He,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Io(-1);const o=ds(t);let i;try{i=e(...r)}finally{ds(o),s._d&&Io(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Re(e,t){if(He===null)return e;const n=Ps(He),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,a=ue]=t[r];o&&(z(o)&&(o={mounted:o,updated:o}),o.deep&&At(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function Mt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let a=l.dir[s];a&&(Lt(),nt(a,n,8,[e.el,l,e,t]),Bt())}}function gl(e,t){e.shapeFlag&6&&e.component?gl(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function yl(e,t){return z(e)?Pe({name:e.name},t,{setup:e}):e}const es=e=>!!e.type.__asyncLoader,_l=e=>e.type.__isKeepAlive;function Nc(e,t){bl(e,"a",t)}function Lc(e,t){bl(e,"da",t)}function bl(e,t,n=Te){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(As(t,s,n),n){let r=n.parent;for(;r&&r.parent;)_l(r.parent.vnode)&&Bc(s,t,n,r),r=r.parent}}function Bc(e,t,n,s){const r=As(t,e,s,!0);wl(()=>{Fr(s[t],r)},n)}function As(e,t,n=Te,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Lt();const l=Mn(n),a=nt(t,n,e,i);return l(),Bt(),a});return s?r.unshift(o):r.push(o),o}}const _t=e=>(t,n=Te)=>{(!Ts||e==="sp")&&As(e,(...s)=>t(...s),n)},$c=_t("bm"),un=_t("m"),Ic=_t("bu"),Mc=_t("u"),Fc=_t("bum"),wl=_t("um"),Uc=_t("sp"),Dc=_t("rtg"),qc=_t("rtc");function jc(e,t=Te){As("ec",e,t)}const Hc="components";function Xr(e,t){return zc(Hc,e,!0,t)||e}const Vc=Symbol.for("v-ndc");function zc(e,t,n=!0,s=!1){const r=He||Te;if(r){const o=r.type;{const l=Bu(o,!1);if(l&&(l===t||l===rt(t)||l===vs(rt(t))))return o}const i=Oo(r[e]||o[e],t)||Oo(r.appContext[e],t);return!i&&s?o:i}}function Oo(e,t){return e&&(e[t]||e[rt(t)]||e[vs(rt(t))])}function ts(e,t,n,s){let r;const o=n;if(j(e)||ve(e)){r=new Array(e.length);for(let i=0,l=e.length;i<l;i++)r[i]=t(e[i],i,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,o)}else if(de(e))if(e[Symbol.iterator])r=Array.from(e,(i,l)=>t(i,l,void 0,o));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const c=i[l];r[l]=t(e[c],c,l,o)}}else r=[];return r}const hr=e=>e?Ul(e)?Ps(e):hr(e.parent):null,Rn=Pe(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=>hr(e.parent),$root:e=>hr(e.root),$emit:e=>e.emit,$options:e=>Qr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Gr(e.update)}),$nextTick:e=>e.n||(e.n=dl.bind(e.proxy)),$watch:e=>pu.bind(e)}),Vs=(e,t)=>e!==ue&&!e.__isScriptSetup&&ne(e,t),Kc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Vs(s,t))return i[t]=1,s[t];if(r!==ue&&ne(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&ne(c,t))return i[t]=3,o[t];if(n!==ue&&ne(n,t))return i[t]=4,n[t];pr&&(i[t]=0)}}const u=Rn[t];let d,p;if(u)return t==="$attrs"&&Me(e.attrs,"get",""),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==ue&&ne(n,t))return i[t]=4,n[t];if(p=a.config.globalProperties,ne(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Vs(r,t)?(r[t]=n,!0):s!==ue&&ne(s,t)?(s[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ue&&ne(e,i)||Vs(t,i)||(l=o[0])&&ne(l,i)||ne(s,i)||ne(Rn,i)||ne(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function To(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let pr=!0;function Wc(e){const t=Qr(e),n=e.proxy,s=e.ctx;pr=!1,t.beforeCreate&&Po(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:m,updated:b,activated:E,deactivated:R,beforeDestroy:B,beforeUnmount:N,destroyed:T,unmounted:F,render:X,renderTracked:D,renderTriggered:K,errorCaptured:we,serverPrefetch:ke,expose:Ue,inheritAttrs:lt,components:at,directives:xe,filters:It}=t;if(c&&Jc(c,s,null),i)for(const re in i){const se=i[re];z(se)&&(s[re]=se.bind(n))}if(r){const re=r.call(n,n);de(re)&&(e.data=Es(re))}if(pr=!0,o)for(const re in o){const se=o[re],Xe=z(se)?se.bind(n,n):z(se.get)?se.get.bind(n,n):Je,W=!z(se)&&z(se.set)?se.set.bind(n):Je,G=Be({get:Xe,set:W});Object.defineProperty(s,re,{enumerable:!0,configurable:!0,get:()=>G.value,set:Q=>G.value=Q})}if(l)for(const re in l)vl(l[re],s,n,re);if(a){const re=z(a)?a.call(n):a;Reflect.ownKeys(re).forEach(se=>{ns(se,re[se])})}u&&Po(u,e,"c");function ge(re,se){j(se)?se.forEach(Xe=>re(Xe.bind(n))):se&&re(se.bind(n))}if(ge($c,d),ge(un,p),ge(Ic,m),ge(Mc,b),ge(Nc,E),ge(Lc,R),ge(jc,we),ge(qc,D),ge(Dc,K),ge(Fc,N),ge(wl,F),ge(Uc,ke),j(Ue))if(Ue.length){const re=e.exposed||(e.exposed={});Ue.forEach(se=>{Object.defineProperty(re,se,{get:()=>n[se],set:Xe=>n[se]=Xe})})}else e.exposed||(e.exposed={});X&&e.render===Je&&(e.render=X),lt!=null&&(e.inheritAttrs=lt),at&&(e.components=at),xe&&(e.directives=xe)}function Jc(e,t,n=Je){j(e)&&(e=mr(e));for(const s in e){const r=e[s];let o;de(r)?"default"in r?o=st(r.from||s,r.default,!0):o=st(r.from||s):o=st(r),Fe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Po(e,t,n){nt(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function vl(e,t,n,s){const r=s.includes(".")?$l(n,s):()=>n[s];if(ve(e)){const o=t[e];z(o)&&An(r,o)}else if(z(e))An(r,e.bind(n));else if(de(e))if(j(e))e.forEach(o=>vl(o,t,n,s));else{const o=z(e.handler)?e.handler.bind(n):t[e.handler];z(o)&&An(r,o,e)}}function Qr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(c=>hs(a,c,i,!0)),hs(a,t,i)),de(t)&&o.set(t,a),a}function hs(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&hs(e,o,n,!0),r&&r.forEach(i=>hs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Gc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Gc={data:ko,props:No,emits:No,methods:vn,computed:vn,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:vn,directives:vn,watch:Qc,provide:ko,inject:Xc};function ko(e,t){return t?e?function(){return Pe(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function Xc(e,t){return vn(mr(e),mr(t))}function mr(e){if(j(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ne(e,t){return e?[...new Set([].concat(e,t))]:t}function vn(e,t){return e?Pe(Object.create(null),e,t):t}function No(e,t){return e?j(e)&&j(t)?[...new Set([...e,...t])]:Pe(Object.create(null),To(e),To(t??{})):t}function Qc(e,t){if(!e)return t;if(!t)return e;const n=Pe(Object.create(null),e);for(const s in t)n[s]=Ne(e[s],t[s]);return n}function xl(){return{app:null,config:{isNativeTag:Ha,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Yc=0;function Zc(e,t){return function(s,r=null){z(s)||(s=Pe({},s)),r!=null&&!de(r)&&(r=null);const o=xl(),i=new WeakSet;let l=!1;const a=o.app={_uid:Yc++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Iu,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&z(c.install)?(i.add(c),c.install(a,...u)):z(c)&&(i.add(c),c(a,...u))),a},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),a},component(c,u){return u?(o.components[c]=u,a):o.components[c]},directive(c,u){return u?(o.directives[c]=u,a):o.directives[c]},mount(c,u,d){if(!l){const p=fe(s,r);return p.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),u&&t?t(p,c):e(p,c,d),l=!0,a._container=c,c.__vue_app__=a,Ps(p.component)}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return o.provides[c]=u,a},runWithContext(c){const u=sn;sn=a;try{return c()}finally{sn=u}}};return a}}let sn=null;function ns(e,t){if(Te){let n=Te.provides;const s=Te.parent&&Te.parent.provides;s===n&&(n=Te.provides=Object.create(s)),n[e]=t}}function st(e,t,n=!1){const s=Te||He;if(s||sn){const r=sn?sn._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&z(t)?t.call(s&&s.proxy):t}}const El={},Sl=()=>Object.create(El),Rl=e=>Object.getPrototypeOf(e)===El;function eu(e,t,n,s=!1){const r={},o=Sl();e.propsDefaults=Object.create(null),Al(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:rl(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function tu(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=ie(r),[a]=e.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let p=u[d];if(Cs(e.emitsOptions,p))continue;const m=t[p];if(a)if(ne(o,p))m!==o[p]&&(o[p]=m,c=!0);else{const b=rt(p);r[b]=gr(a,l,b,m,e,!1)}else m!==o[p]&&(o[p]=m,c=!0)}}}else{Al(e,t,r,o)&&(c=!0);let u;for(const d in l)(!t||!ne(t,d)&&((u=Wt(d))===d||!ne(t,u)))&&(a?n&&(n[d]!==void 0||n[u]!==void 0)&&(r[d]=gr(a,l,d,void 0,e,!0)):delete r[d]);if(o!==l)for(const d in o)(!t||!ne(t,d))&&(delete o[d],c=!0)}c&&yt(e.attrs,"set","")}function Al(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(En(a))continue;const c=t[a];let u;r&&ne(r,u=rt(a))?!o||!o.includes(u)?n[u]=c:(l||(l={}))[u]=c:Cs(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,i=!0)}if(o){const a=ie(n),c=l||ue;for(let u=0;u<o.length;u++){const d=o[u];n[d]=gr(r,a,d,c[d],e,!ne(c,d))}}return i}function gr(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=ne(i,"default");if(l&&s===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&z(a)){const{propsDefaults:c}=r;if(n in c)s=c[n];else{const u=Mn(r);s=c[n]=a.call(null,t),u()}}else s=a}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===Wt(n))&&(s=!0))}return s}const nu=new WeakMap;function Cl(e,t,n=!1){const s=n?nu:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let a=!1;if(!z(e)){const u=d=>{a=!0;const[p,m]=Cl(d,t,!0);Pe(i,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return de(e)&&s.set(e,en),en;if(j(o))for(let u=0;u<o.length;u++){const d=rt(o[u]);Lo(d)&&(i[d]=ue)}else if(o)for(const u in o){const d=rt(u);if(Lo(d)){const p=o[u],m=i[d]=j(p)||z(p)?{type:p}:Pe({},p),b=m.type;let E=!1,R=!0;if(j(b))for(let B=0;B<b.length;++B){const N=b[B],T=z(N)&&N.name;if(T==="Boolean"){E=!0;break}else T==="String"&&(R=!1)}else E=z(b)&&b.name==="Boolean";m[0]=E,m[1]=R,(E||ne(m,"default"))&&l.push(d)}}const c=[i,l];return de(e)&&s.set(e,c),c}function Lo(e){return e[0]!=="$"&&!En(e)}const Ol=e=>e[0]==="_"||e==="$stable",Yr=e=>j(e)?e.map(ft):[ft(e)],su=(e,t,n)=>{if(t._n)return t;const s=Ke((...r)=>Yr(t(...r)),n);return s._c=!1,s},Tl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ol(r))continue;const o=e[r];if(z(o))t[r]=su(r,o,s);else if(o!=null){const i=Yr(o);t[r]=()=>i}}},Pl=(e,t)=>{const n=Yr(t);e.slots.default=()=>n},kl=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},ru=(e,t,n)=>{const s=e.slots=Sl();if(e.vnode.shapeFlag&32){const r=t._;r?(kl(s,t,n),n&&ji(s,"_",r,!0)):Tl(t,s)}else t&&Pl(e,t)},ou=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ue;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:kl(r,t,n):(o=!t.$stable,Tl(t,r)),i=t}else t&&(Pl(e,t),i={default:1});if(o)for(const l in r)!Ol(l)&&i[l]==null&&delete r[l]};function yr(e,t,n,s,r=!1){if(j(e)){e.forEach((p,m)=>yr(p,t&&(j(t)?t[m]:t),n,s,r));return}if(es(s)&&!r)return;const o=s.shapeFlag&4?Ps(s.component):s.el,i=r?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ue?l.refs={}:l.refs,d=l.setupState;if(c!=null&&c!==a&&(ve(c)?(u[c]=null,ne(d,c)&&(d[c]=null)):Fe(c)&&(c.value=null)),z(a))Tt(a,l,12,[i,u]);else{const p=ve(a),m=Fe(a);if(p||m){const b=()=>{if(e.f){const E=p?ne(d,a)?d[a]:u[a]:a.value;r?j(E)&&Fr(E,o):j(E)?E.includes(o)||E.push(o):p?(u[a]=[o],ne(d,a)&&(d[a]=u[a])):(a.value=[o],e.k&&(u[e.k]=a.value))}else p?(u[a]=i,ne(d,a)&&(d[a]=i)):m&&(a.value=i,e.k&&(u[e.k]=i))};i?(b.id=-1,Le(b,n)):b()}}}const iu=Symbol("_vte"),lu=e=>e.__isTeleport,Le=xu;function au(e){return cu(e)}function cu(e,t){const n=Hi();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:m=Je,insertStaticContent:b}=e,E=(f,h,y,S=null,v=null,C=null,L=void 0,P=null,k=!!h.dynamicChildren)=>{if(f===h)return;f&&!mn(f,h)&&(S=w(f),Q(f,v,C,!0),f=null),h.patchFlag===-2&&(k=!1,h.dynamicChildren=null);const{type:A,ref:$,shapeFlag:U}=h;switch(A){case Os:R(f,h,y,S);break;case zt:B(f,h,y,S);break;case Ws:f==null&&N(h,y,S,L);break;case Se:at(f,h,y,S,v,C,L,P,k);break;default:U&1?X(f,h,y,S,v,C,L,P,k):U&6?xe(f,h,y,S,v,C,L,P,k):(U&64||U&128)&&A.process(f,h,y,S,v,C,L,P,k,I)}$!=null&&v&&yr($,f&&f.ref,C,h||f,!h)},R=(f,h,y,S)=>{if(f==null)s(h.el=l(h.children),y,S);else{const v=h.el=f.el;h.children!==f.children&&c(v,h.children)}},B=(f,h,y,S)=>{f==null?s(h.el=a(h.children||""),y,S):h.el=f.el},N=(f,h,y,S)=>{[f.el,f.anchor]=b(f.children,h,y,S,f.el,f.anchor)},T=({el:f,anchor:h},y,S)=>{let v;for(;f&&f!==h;)v=p(f),s(f,y,S),f=v;s(h,y,S)},F=({el:f,anchor:h})=>{let y;for(;f&&f!==h;)y=p(f),r(f),f=y;r(h)},X=(f,h,y,S,v,C,L,P,k)=>{h.type==="svg"?L="svg":h.type==="math"&&(L="mathml"),f==null?D(h,y,S,v,C,L,P,k):ke(f,h,v,C,L,P,k)},D=(f,h,y,S,v,C,L,P)=>{let k,A;const{props:$,shapeFlag:U,transition:M,dirs:H}=f;if(k=f.el=i(f.type,C,$&&$.is,$),U&8?u(k,f.children):U&16&&we(f.children,k,null,S,v,zs(f,C),L,P),H&&Mt(f,null,S,"created"),K(k,f,f.scopeId,L,S),$){for(const ce in $)ce!=="value"&&!En(ce)&&o(k,ce,null,$[ce],C,S);"value"in $&&o(k,"value",null,$.value,C),(A=$.onVnodeBeforeMount)&&ut(A,S,f)}H&&Mt(f,null,S,"beforeMount");const Y=uu(v,M);Y&&M.beforeEnter(k),s(k,h,y),((A=$&&$.onVnodeMounted)||Y||H)&&Le(()=>{A&&ut(A,S,f),Y&&M.enter(k),H&&Mt(f,null,S,"mounted")},v)},K=(f,h,y,S,v)=>{if(y&&m(f,y),S)for(let C=0;C<S.length;C++)m(f,S[C]);if(v){let C=v.subTree;if(h===C){const L=v.vnode;K(f,L,L.scopeId,L.slotScopeIds,v.parent)}}},we=(f,h,y,S,v,C,L,P,k=0)=>{for(let A=k;A<f.length;A++){const $=f[A]=P?St(f[A]):ft(f[A]);E(null,$,h,y,S,v,C,L,P)}},ke=(f,h,y,S,v,C,L)=>{const P=h.el=f.el;let{patchFlag:k,dynamicChildren:A,dirs:$}=h;k|=f.patchFlag&16;const U=f.props||ue,M=h.props||ue;let H;if(y&&Ft(y,!1),(H=M.onVnodeBeforeUpdate)&&ut(H,y,h,f),$&&Mt(h,f,y,"beforeUpdate"),y&&Ft(y,!0),(U.innerHTML&&M.innerHTML==null||U.textContent&&M.textContent==null)&&u(P,""),A?Ue(f.dynamicChildren,A,P,y,S,zs(h,v),C):L||se(f,h,P,null,y,S,zs(h,v),C,!1),k>0){if(k&16)lt(P,U,M,y,v);else if(k&2&&U.class!==M.class&&o(P,"class",null,M.class,v),k&4&&o(P,"style",U.style,M.style,v),k&8){const Y=h.dynamicProps;for(let ce=0;ce<Y.length;ce++){const oe=Y[ce],Ee=U[oe],Ze=M[oe];(Ze!==Ee||oe==="value")&&o(P,oe,Ee,Ze,v,y)}}k&1&&f.children!==h.children&&u(P,h.children)}else!L&&A==null&<(P,U,M,y,v);((H=M.onVnodeUpdated)||$)&&Le(()=>{H&&ut(H,y,h,f),$&&Mt(h,f,y,"updated")},S)},Ue=(f,h,y,S,v,C,L)=>{for(let P=0;P<h.length;P++){const k=f[P],A=h[P],$=k.el&&(k.type===Se||!mn(k,A)||k.shapeFlag&70)?d(k.el):y;E(k,A,$,null,S,v,C,L,!0)}},lt=(f,h,y,S,v)=>{if(h!==y){if(h!==ue)for(const C in h)!En(C)&&!(C in y)&&o(f,C,h[C],null,v,S);for(const C in y){if(En(C))continue;const L=y[C],P=h[C];L!==P&&C!=="value"&&o(f,C,P,L,v,S)}"value"in y&&o(f,"value",h.value,y.value,v)}},at=(f,h,y,S,v,C,L,P,k)=>{const A=h.el=f?f.el:l(""),$=h.anchor=f?f.anchor:l("");let{patchFlag:U,dynamicChildren:M,slotScopeIds:H}=h;H&&(P=P?P.concat(H):H),f==null?(s(A,y,S),s($,y,S),we(h.children||[],y,$,v,C,L,P,k)):U>0&&U&64&&M&&f.dynamicChildren?(Ue(f.dynamicChildren,M,y,v,C,L,P),(h.key!=null||v&&h===v.subTree)&&Nl(f,h,!0)):se(f,h,y,$,v,C,L,P,k)},xe=(f,h,y,S,v,C,L,P,k)=>{h.slotScopeIds=P,f==null?h.shapeFlag&512?v.ctx.activate(h,y,S,L,k):It(h,y,S,v,C,L,k):bt(f,h,k)},It=(f,h,y,S,v,C,L)=>{const P=f.component=Tu(f,S,v);if(_l(f)&&(P.ctx.renderer=I),Pu(P,!1,L),P.asyncDep){if(v&&v.registerDep(P,ge,L),!f.el){const k=P.subTree=fe(zt);B(null,k,h,y)}}else ge(P,f,h,y,v,C,L)},bt=(f,h,y)=>{const S=h.component=f.component;if(bu(f,h,y))if(S.asyncDep&&!S.asyncResolved){re(S,h,y);return}else S.next=h,Tc(S.update),S.effect.dirty=!0,S.update();else h.el=f.el,S.vnode=h},ge=(f,h,y,S,v,C,L)=>{const P=()=>{if(f.isMounted){let{next:$,bu:U,u:M,parent:H,vnode:Y}=f;{const Qt=Ll(f);if(Qt){$&&($.el=Y.el,re(f,$,L)),Qt.asyncDep.then(()=>{f.isUnmounted||P()});return}}let ce=$,oe;Ft(f,!1),$?($.el=Y.el,re(f,$,L)):$=Y,U&&Yn(U),(oe=$.props&&$.props.onVnodeBeforeUpdate)&&ut(oe,H,$,Y),Ft(f,!0);const Ee=Ks(f),Ze=f.subTree;f.subTree=Ee,E(Ze,Ee,d(Ze.el),w(Ze),f,v,C),$.el=Ee.el,ce===null&&wu(f,Ee.el),M&&Le(M,v),(oe=$.props&&$.props.onVnodeUpdated)&&Le(()=>ut(oe,H,$,Y),v)}else{let $;const{el:U,props:M}=h,{bm:H,m:Y,parent:ce}=f,oe=es(h);if(Ft(f,!1),H&&Yn(H),!oe&&($=M&&M.onVnodeBeforeMount)&&ut($,ce,h),Ft(f,!0),U&&le){const Ee=()=>{f.subTree=Ks(f),le(U,f.subTree,f,v,null)};oe?h.type.__asyncLoader().then(()=>!f.isUnmounted&&Ee()):Ee()}else{const Ee=f.subTree=Ks(f);E(null,Ee,y,S,f,v,C),h.el=Ee.el}if(Y&&Le(Y,v),!oe&&($=M&&M.onVnodeMounted)){const Ee=h;Le(()=>ut($,ce,Ee),v)}(h.shapeFlag&256||ce&&es(ce.vnode)&&ce.vnode.shapeFlag&256)&&f.a&&Le(f.a,v),f.isMounted=!0,h=y=S=null}},k=f.effect=new qr(P,Je,()=>Gr(A),f.scope),A=f.update=()=>{k.dirty&&k.run()};A.i=f,A.id=f.uid,Ft(f,!0),A()},re=(f,h,y)=>{h.component=f;const S=f.vnode.props;f.vnode=h,f.next=null,tu(f,h.props,S,y),ou(f,h.children,y),Lt(),Co(f),Bt()},se=(f,h,y,S,v,C,L,P,k=!1)=>{const A=f&&f.children,$=f?f.shapeFlag:0,U=h.children,{patchFlag:M,shapeFlag:H}=h;if(M>0){if(M&128){W(A,U,y,S,v,C,L,P,k);return}else if(M&256){Xe(A,U,y,S,v,C,L,P,k);return}}H&8?($&16&&_e(A,v,C),U!==A&&u(y,U)):$&16?H&16?W(A,U,y,S,v,C,L,P,k):_e(A,v,C,!0):($&8&&u(y,""),H&16&&we(U,y,S,v,C,L,P,k))},Xe=(f,h,y,S,v,C,L,P,k)=>{f=f||en,h=h||en;const A=f.length,$=h.length,U=Math.min(A,$);let M;for(M=0;M<U;M++){const H=h[M]=k?St(h[M]):ft(h[M]);E(f[M],H,y,null,v,C,L,P,k)}A>$?_e(f,v,C,!0,!1,U):we(h,y,S,v,C,L,P,k,U)},W=(f,h,y,S,v,C,L,P,k)=>{let A=0;const $=h.length;let U=f.length-1,M=$-1;for(;A<=U&&A<=M;){const H=f[A],Y=h[A]=k?St(h[A]):ft(h[A]);if(mn(H,Y))E(H,Y,y,null,v,C,L,P,k);else break;A++}for(;A<=U&&A<=M;){const H=f[U],Y=h[M]=k?St(h[M]):ft(h[M]);if(mn(H,Y))E(H,Y,y,null,v,C,L,P,k);else break;U--,M--}if(A>U){if(A<=M){const H=M+1,Y=H<$?h[H].el:S;for(;A<=M;)E(null,h[A]=k?St(h[A]):ft(h[A]),y,Y,v,C,L,P,k),A++}}else if(A>M)for(;A<=U;)Q(f[A],v,C,!0),A++;else{const H=A,Y=A,ce=new Map;for(A=Y;A<=M;A++){const De=h[A]=k?St(h[A]):ft(h[A]);De.key!=null&&ce.set(De.key,A)}let oe,Ee=0;const Ze=M-Y+1;let Qt=!1,go=0;const pn=new Array(Ze);for(A=0;A<Ze;A++)pn[A]=0;for(A=H;A<=U;A++){const De=f[A];if(Ee>=Ze){Q(De,v,C,!0);continue}let ct;if(De.key!=null)ct=ce.get(De.key);else for(oe=Y;oe<=M;oe++)if(pn[oe-Y]===0&&mn(De,h[oe])){ct=oe;break}ct===void 0?Q(De,v,C,!0):(pn[ct-Y]=A+1,ct>=go?go=ct:Qt=!0,E(De,h[ct],y,null,v,C,L,P,k),Ee++)}const yo=Qt?fu(pn):en;for(oe=yo.length-1,A=Ze-1;A>=0;A--){const De=Y+A,ct=h[De],_o=De+1<$?h[De+1].el:S;pn[A]===0?E(null,ct,y,_o,v,C,L,P,k):Qt&&(oe<0||A!==yo[oe]?G(ct,y,_o,2):oe--)}}},G=(f,h,y,S,v=null)=>{const{el:C,type:L,transition:P,children:k,shapeFlag:A}=f;if(A&6){G(f.component.subTree,h,y,S);return}if(A&128){f.suspense.move(h,y,S);return}if(A&64){L.move(f,h,y,I);return}if(L===Se){s(C,h,y);for(let U=0;U<k.length;U++)G(k[U],h,y,S);s(f.anchor,h,y);return}if(L===Ws){T(f,h,y);return}if(S!==2&&A&1&&P)if(S===0)P.beforeEnter(C),s(C,h,y),Le(()=>P.enter(C),v);else{const{leave:U,delayLeave:M,afterLeave:H}=P,Y=()=>s(C,h,y),ce=()=>{U(C,()=>{Y(),H&&H()})};M?M(C,Y,ce):ce()}else s(C,h,y)},Q=(f,h,y,S=!1,v=!1)=>{const{type:C,props:L,ref:P,children:k,dynamicChildren:A,shapeFlag:$,patchFlag:U,dirs:M,cacheIndex:H}=f;if(U===-2&&(v=!1),P!=null&&yr(P,null,y,f,!0),H!=null&&(h.renderCache[H]=void 0),$&256){h.ctx.deactivate(f);return}const Y=$&1&&M,ce=!es(f);let oe;if(ce&&(oe=L&&L.onVnodeBeforeUnmount)&&ut(oe,h,f),$&6)Ye(f.component,y,S);else{if($&128){f.suspense.unmount(y,S);return}Y&&Mt(f,null,h,"beforeUnmount"),$&64?f.type.remove(f,h,y,I,S):A&&!A.hasOnce&&(C!==Se||U>0&&U&64)?_e(A,h,y,!1,!0):(C===Se&&U&384||!v&&$&16)&&_e(k,h,y),S&&ye(f)}(ce&&(oe=L&&L.onVnodeUnmounted)||Y)&&Le(()=>{oe&&ut(oe,h,f),Y&&Mt(f,null,h,"unmounted")},y)},ye=f=>{const{type:h,el:y,anchor:S,transition:v}=f;if(h===Se){Qe(y,S);return}if(h===Ws){F(f);return}const C=()=>{r(y),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(f.shapeFlag&1&&v&&!v.persisted){const{leave:L,delayLeave:P}=v,k=()=>L(y,C);P?P(f.el,C,k):k()}else C()},Qe=(f,h)=>{let y;for(;f!==h;)y=p(f),r(f),f=y;r(h)},Ye=(f,h,y)=>{const{bum:S,scope:v,update:C,subTree:L,um:P,m:k,a:A}=f;Bo(k),Bo(A),S&&Yn(S),v.stop(),C&&(C.active=!1,Q(L,f,h,y)),P&&Le(P,h),Le(()=>{f.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},_e=(f,h,y,S=!1,v=!1,C=0)=>{for(let L=C;L<f.length;L++)Q(f[L],h,y,S,v)},w=f=>{if(f.shapeFlag&6)return w(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=p(f.anchor||f.el),y=h&&h[iu];return y?p(y):h};let x=!1;const O=(f,h,y)=>{f==null?h._vnode&&Q(h._vnode,null,null,!0):E(h._vnode||null,f,h,null,null,null,y),h._vnode=f,x||(x=!0,Co(),pl(),x=!1)},I={p:E,um:Q,m:G,r:ye,mt:It,mc:we,pc:se,pbc:Ue,n:w,o:e};let Z,le;return{render:O,hydrate:Z,createApp:Zc(O,Z)}}function zs({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 Ft({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function uu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Nl(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=St(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&Nl(i,l)),l.type===Os&&(l.el=i.el)}}function fu(e){const t=e.slice(),n=[0];let s,r,o,i,l;const a=e.length;for(s=0;s<a;s++){const c=e[s];if(c!==0){if(r=n[n.length-1],e[r]<c){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<c?o=l+1:i=l;c<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Ll(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ll(t)}function Bo(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const du=Symbol.for("v-scx"),hu=()=>st(du),Kn={};function An(e,t,n){return Bl(e,t,n)}function Bl(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:i,onTrigger:l}=ue){if(t&&o){const D=t;t=(...K)=>{D(...K),X()}}const a=Te,c=D=>s===!0?D:At(D,s===!1?1:void 0);let u,d=!1,p=!1;if(Fe(e)?(u=()=>e.value,d=on(e)):Sn(e)?(u=()=>c(e),d=!0):j(e)?(p=!0,d=e.some(D=>Sn(D)||on(D)),u=()=>e.map(D=>{if(Fe(D))return D.value;if(Sn(D))return c(D);if(z(D))return Tt(D,a,2)})):z(e)?t?u=()=>Tt(e,a,2):u=()=>(m&&m(),nt(e,a,3,[b])):u=Je,t&&s){const D=u;u=()=>At(D())}let m,b=D=>{m=T.onStop=()=>{Tt(D,a,4),m=T.onStop=void 0}},E;if(Ts)if(b=Je,t?n&&nt(t,a,3,[u(),p?[]:void 0,b]):u(),r==="sync"){const D=hu();E=D.__watcherHandles||(D.__watcherHandles=[])}else return Je;let R=p?new Array(e.length).fill(Kn):Kn;const B=()=>{if(!(!T.active||!T.dirty))if(t){const D=T.run();(s||d||(p?D.some((K,we)=>kt(K,R[we])):kt(D,R)))&&(m&&m(),nt(t,a,3,[D,R===Kn?void 0:p&&R[0]===Kn?[]:R,b]),R=D)}else T.run()};B.allowRecurse=!!t;let N;r==="sync"?N=B:r==="post"?N=()=>Le(B,a&&a.suspense):(B.pre=!0,a&&(B.id=a.uid),N=()=>Gr(B));const T=new qr(u,Je,N),F=nc(),X=()=>{T.stop(),F&&Fr(F.effects,T)};return t?n?B():R=T.run():r==="post"?Le(T.run.bind(T),a&&a.suspense):T.run(),E&&E.push(X),X}function pu(e,t,n){const s=this.proxy,r=ve(e)?e.includes(".")?$l(s,e):()=>s[e]:e.bind(s,s);let o;z(t)?o=t:(o=t.handler,n=t);const i=Mn(this),l=Bl(r,o.bind(s),n);return i(),l}function $l(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function At(e,t=1/0,n){if(t<=0||!de(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Fe(e))At(e.value,t,n);else if(j(e))for(let s=0;s<e.length;s++)At(e[s],t,n);else if(Fi(e)||tn(e))e.forEach(s=>{At(s,t,n)});else if(qi(e)){for(const s in e)At(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&At(e[s],t,n)}return e}const mu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${rt(t)}Modifiers`]||e[`${Wt(t)}Modifiers`];function gu(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ue;let r=n;const o=t.startsWith("update:"),i=o&&mu(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>ve(u)?u.trim():u)),i.number&&(r=n.map(lr)));let l,a=s[l=js(t)]||s[l=js(rt(t))];!a&&o&&(a=s[l=js(Wt(t))]),a&&nt(a,e,6,r);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,nt(c,e,6,r)}}function Il(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!z(e)){const a=c=>{const u=Il(c,t,!0);u&&(l=!0,Pe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(de(e)&&s.set(e,null),null):(j(o)?o.forEach(a=>i[a]=null):Pe(i,o),de(e)&&s.set(e,i),i)}function Cs(e,t){return!e||!_s(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Wt(t))||ne(e,t))}function Ks(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:a,render:c,renderCache:u,props:d,data:p,setupState:m,ctx:b,inheritAttrs:E}=e,R=ds(e);let B,N;try{if(n.shapeFlag&4){const F=r||s,X=F;B=ft(c.call(X,F,u,d,m,p,b)),N=l}else{const F=t;B=ft(F.length>1?F(d,{attrs:l,slots:i,emit:a}):F(d,null)),N=t.props?l:yu(l)}}catch(F){Cn.length=0,Ss(F,e,1),B=fe(zt)}let T=B;if(N&&E!==!1){const F=Object.keys(N),{shapeFlag:X}=T;F.length&&X&7&&(o&&F.some(Mr)&&(N=_u(N,o)),T=ln(T,N,!1,!0))}return n.dirs&&(T=ln(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&(T.transition=n.transition),B=T,ds(R),B}const yu=e=>{let t;for(const n in e)(n==="class"||n==="style"||_s(n))&&((t||(t={}))[n]=e[n]);return t},_u=(e,t)=>{const n={};for(const s in e)(!Mr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function bu(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?$o(s,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const p=u[d];if(i[p]!==s[p]&&!Cs(c,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?$o(s,i,c):!0:!!i;return!1}function $o(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!Cs(n,o))return!0}return!1}function wu({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const vu=e=>e.__isSuspense;function xu(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Pc(e)}const Se=Symbol.for("v-fgt"),Os=Symbol.for("v-txt"),zt=Symbol.for("v-cmt"),Ws=Symbol.for("v-stc"),Cn=[];let Ve=null;function q(e=!1){Cn.push(Ve=e?null:[])}function Eu(){Cn.pop(),Ve=Cn[Cn.length-1]||null}let Ln=1;function Io(e){Ln+=e,e<0&&Ve&&(Ve.hasOnce=!0)}function Ml(e){return e.dynamicChildren=Ln>0?Ve||en:null,Eu(),Ln>0&&Ve&&Ve.push(e),e}function V(e,t,n,s,r,o){return Ml(g(e,t,n,s,r,o,!0))}function Ct(e,t,n,s,r){return Ml(fe(e,t,n,s,r,!0))}function _r(e){return e?e.__v_isVNode===!0:!1}function mn(e,t){return e.type===t.type&&e.key===t.key}const Fl=({key:e})=>e??null,ss=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||Fe(e)||z(e)?{i:He,r:e,k:t,f:!!n}:e:null);function g(e,t=null,n=null,s=0,r=null,o=e===Se?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fl(t),ref:t&&ss(t),scopeId:Rs,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:He};return l?(Zr(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=ve(n)?8:16),Ln>0&&!i&&Ve&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Ve.push(a),a}const fe=Su;function Su(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Vc)&&(e=zt),_r(e)){const l=ln(e,t,!0);return n&&Zr(l,n),Ln>0&&!o&&Ve&&(l.shapeFlag&6?Ve[Ve.indexOf(e)]=l:Ve.push(l)),l.patchFlag=-2,l}if($u(e)&&(e=e.__vccOpts),t){t=Ru(t);let{class:l,style:a}=t;l&&!ve(l)&&(t.class=je(l)),de(a)&&(il(a)&&!j(a)&&(a=Pe({},a)),t.style=Dr(a))}const i=ve(e)?1:vu(e)?128:lu(e)?64:de(e)?4:z(e)?2:0;return g(e,t,n,s,r,i,o,!0)}function Ru(e){return e?il(e)||Rl(e)?Pe({},e):e:null}function ln(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:a}=e,c=t?Au(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Fl(c),ref:t&&t.ref?n&&o?j(o)?o.concat(ss(t)):[o,ss(t)]:ss(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ln(e.ssContent),ssFallback:e.ssFallback&&ln(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&gl(u,a.clone(u)),u}function qe(e=" ",t=0){return fe(Os,null,e,t)}function pe(e="",t=!1){return t?(q(),Ct(zt,null,e)):fe(zt,null,e)}function ft(e){return e==null||typeof e=="boolean"?fe(zt):j(e)?fe(Se,null,e.slice()):typeof e=="object"?St(e):fe(Os,null,String(e))}function St(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ln(e)}function Zr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Zr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Rl(t)?t._ctx=He:r===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else z(t)?(t={default:t,_ctx:He},n=32):(t=String(t),s&64?(n=16,t=[qe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Au(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=je([t.class,s.class]));else if(r==="style")t.style=Dr([t.style,s.style]);else if(_s(r)){const o=t[r],i=s[r];i&&o!==i&&!(j(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function ut(e,t,n,s=null){nt(e,t,7,[n,s])}const Cu=xl();let Ou=0;function Tu(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Cu,o={uid:Ou++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new ec(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Cl(s,r),emitsOptions:Il(s,r),emit:null,emitted:null,propsDefaults:ue,inheritAttrs:s.inheritAttrs,ctx:ue,data:ue,props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=gu.bind(null,o),e.ce&&e.ce(o),o}let Te=null,ps,br;{const e=Hi(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};ps=t("__VUE_INSTANCE_SETTERS__",n=>Te=n),br=t("__VUE_SSR_SETTERS__",n=>Ts=n)}const Mn=e=>{const t=Te;return ps(e),e.scope.on(),()=>{e.scope.off(),ps(t)}},Mo=()=>{Te&&Te.scope.off(),ps(null)};function Ul(e){return e.vnode.shapeFlag&4}let Ts=!1;function Pu(e,t=!1,n=!1){t&&br(t);const{props:s,children:r}=e.vnode,o=Ul(e);eu(e,s,o,t),ru(e,r,n);const i=o?ku(e,t):void 0;return t&&br(!1),i}function ku(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kc);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Lu(e):null,o=Mn(e);Lt();const i=Tt(s,e,0,[e.props,r]);if(Bt(),o(),Ui(i)){if(i.then(Mo,Mo),t)return i.then(l=>{Fo(e,l,t)}).catch(l=>{Ss(l,e,0)});e.asyncDep=i}else Fo(e,i,t)}else Dl(e,t)}function Fo(e,t,n){z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=ul(t)),Dl(e,n)}let Uo;function Dl(e,t,n){const s=e.type;if(!e.render){if(!t&&Uo&&!s.render){const r=s.template||Qr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,c=Pe(Pe({isCustomElement:o,delimiters:l},i),a);s.render=Uo(r,c)}}e.render=s.render||Je}{const r=Mn(e);Lt();try{Wc(e)}finally{Bt(),r()}}}const Nu={get(e,t){return Me(e,"get",""),e[t]}};function Lu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Nu),slots:e.slots,emit:e.emit,expose:t}}function Ps(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ul(xc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Rn)return Rn[n](e)},has(t,n){return n in t||n in Rn}})):e.proxy}function Bu(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function $u(e){return z(e)&&"__vccOpts"in e}const Be=(e,t)=>Ec(e,t,Ts);function ql(e,t,n){const s=arguments.length;return s===2?de(t)&&!j(t)?_r(t)?fe(e,null,[t]):fe(e,t):fe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&_r(n)&&(n=[n]),fe(e,t,n))}const Iu="3.4.38";/** * @vue/runtime-dom v3.4.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const Mu="http://www.w3.org/2000/svg",Fu="http://www.w3.org/1998/Math/MathML",gt=typeof document<"u"?document:null,Do=gt&>.createElement("template"),Uu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?gt.createElementNS(Mu,e):t==="mathml"?gt.createElementNS(Fu,e):n?gt.createElement(e,{is:n}):gt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>gt.createTextNode(e),createComment:e=>gt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Do.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=Do.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Du=Symbol("_vtc");function qu(e,t,n){const s=e[Du];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const qo=Symbol("_vod"),ju=Symbol("_vsh"),Hu=Symbol(""),Vu=/(^|;)\s*display\s*:/;function zu(e,t,n){const s=e.style,r=ve(n);let o=!1;if(n&&!r){if(t)if(ve(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&rs(s,l,"")}else for(const i in t)n[i]==null&&rs(s,i,"");for(const i in n)i==="display"&&(o=!0),rs(s,i,n[i])}else if(r){if(t!==n){const i=s[Hu];i&&(n+=";"+i),s.cssText=n,o=Vu.test(n)}}else t&&e.removeAttribute("style");qo in e&&(e[qo]=o?s.display:"",e[ju]&&(s.display="none"))}const jo=/\s*!important$/;function rs(e,t,n){if(j(n))n.forEach(s=>rs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ku(e,t);jo.test(n)?e.setProperty(Wt(s),n.replace(jo,""),"important"):e[s]=n}}const Ho=["Webkit","Moz","ms"],Js={};function Ku(e,t){const n=Js[t];if(n)return n;let s=rt(t);if(s!=="filter"&&s in e)return Js[t]=s;s=vs(s);for(let r=0;r<Ho.length;r++){const o=Ho[r]+s;if(o in e)return Js[t]=o}return t}const Vo="http://www.w3.org/1999/xlink";function zo(e,t,n,s,r,o=Za(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Vo,t.slice(6,t.length)):e.setAttributeNS(Vo,t,n):n==null||o&&!Vi(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Nt(n)?String(n):n)}function Wu(e,t,n,s){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const i=r==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?"":String(n);(i!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=Vi(n):n==null&&i==="string"?(n="",o=!0):i==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(t)}function Yt(e,t,n,s){e.addEventListener(t,n,s)}function Ju(e,t,n,s){e.removeEventListener(t,n,s)}const Ko=Symbol("_vei");function Gu(e,t,n,s,r=null){const o=e[Ko]||(e[Ko]={}),i=o[t];if(s&&i)i.value=s;else{const[l,a]=Xu(t);if(s){const c=o[t]=Zu(s,r);Yt(e,l,c,a)}else i&&(Ju(e,l,i,a),o[t]=void 0)}}const Wo=/(?:Once|Passive|Capture)$/;function Xu(e){let t;if(Wo.test(e)){t={};let s;for(;s=e.match(Wo);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Wt(e.slice(2)),t]}let Gs=0;const Qu=Promise.resolve(),Yu=()=>Gs||(Qu.then(()=>Gs=0),Gs=Date.now());function Zu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;nt(ef(s,n.value),t,5,[s])};return n.value=e,n.attached=Yu(),n}function ef(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Jo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,tf=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?qu(e,s,i):t==="style"?zu(e,n,s):_s(t)?Mr(t)||Gu(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):nf(e,t,s,i))?(Wu(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&zo(e,t,s,i,o,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),zo(e,t,s,i))};function nf(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Jo(t)&&z(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Jo(t)&&ve(n)?!1:t in e}const Go=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?n=>Yn(t,n):t};function sf(e){e.target.composing=!0}function Xo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Xs=Symbol("_assign"),Ae={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Xs]=Go(r);const o=s||r.props&&r.props.type==="number";Yt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=lr(l)),e[Xs](l)}),n&&Yt(e,"change",()=>{e.value=e.value.trim()}),t||(Yt(e,"compositionstart",sf),Yt(e,"compositionend",Xo),Yt(e,"change",Xo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Xs]=Go(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?lr(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===a)||(e.value=a))}},rf=["ctrl","shift","alt","meta"],of={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>rf.some(n=>e[`${n}Key`]&&!t.includes(n))},ms=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i<t.length;i++){const l=of[t[i]];if(l&&l(r,t))return}return e(r,...o)})},lf=Pe({patchProp:tf},Uu);let Qo;function af(){return Qo||(Qo=au(lf))}const cf=(...e)=>{const t=af().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ff(s);if(!r)return;const o=t._component;!z(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,uf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function uf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ff(e){return ve(e)?document.querySelector(e):e}const df={class:"app min-h-screen font-quicksand overflow-y-hidden md:overflow-y-auto"},hf={__name:"App",setup(e){return(t,n)=>{const s=Xr("router-view");return q(),V("div",df,[fe(s)])}}};/*! * vue-router v4.4.5 * (c) 2024 Eduardo San Martin Morote * @license MIT */const Zt=typeof document<"u";function jl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function pf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&jl(e.default)}const ae=Object.assign;function Qs(e,t){const n={};for(const s in t){const r=t[s];n[s]=ot(r)?r.map(e):e(r)}return n}const On=()=>{},ot=Array.isArray,Hl=/#/g,mf=/&/g,gf=/\//g,yf=/=/g,_f=/\?/g,Vl=/\+/g,bf=/%5B/g,wf=/%5D/g,zl=/%5E/g,vf=/%60/g,Kl=/%7B/g,xf=/%7C/g,Wl=/%7D/g,Ef=/%20/g;function eo(e){return encodeURI(""+e).replace(xf,"|").replace(bf,"[").replace(wf,"]")}function Sf(e){return eo(e).replace(Kl,"{").replace(Wl,"}").replace(zl,"^")}function wr(e){return eo(e).replace(Vl,"%2B").replace(Ef,"+").replace(Hl,"%23").replace(mf,"%26").replace(vf,"`").replace(Kl,"{").replace(Wl,"}").replace(zl,"^")}function Rf(e){return wr(e).replace(yf,"%3D")}function Af(e){return eo(e).replace(Hl,"%23").replace(_f,"%3F")}function Cf(e){return e==null?"":Af(e).replace(gf,"%2F")}function Bn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Of=/\/$/,Tf=e=>e.replace(Of,"");function Ys(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(s=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Lf(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Bn(i)}}function Pf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Yo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function kf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&an(t.matched[s],n.matched[r])&&Jl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function an(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Nf(e[n],t[n]))return!1;return!0}function Nf(e,t){return ot(e)?Zo(e,t):ot(t)?Zo(t,e):e===t}function Zo(e,t){return ot(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Lf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i<s.length;i++)if(l=s[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const vt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var $n;(function(e){e.pop="pop",e.push="push"})($n||($n={}));var Tn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tn||(Tn={}));function Bf(e){if(!e)if(Zt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Tf(e)}const $f=/^[^#]+#/;function If(e,t){return e.replace($f,"#")+t}function Mf(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ks=()=>({left:window.scrollX,top:window.scrollY});function Ff(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Mf(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ei(e,t){return(history.state?history.state.position-t:-1)+e}const vr=new Map;function Uf(e,t){vr.set(e,t)}function Df(e){const t=vr.get(e);return vr.delete(e),t}let qf=()=>location.protocol+"//"+location.host;function Gl(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),Yo(a,"")}return Yo(n,e)+s+r}function jf(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const m=Gl(e,location),b=n.value,E=t.value;let R=0;if(p){if(n.value=m,t.value=p,i&&i===b){i=null;return}R=E?p.position-E.position:0}else s(m);r.forEach(B=>{B(n.value,b,{delta:R,type:$n.pop,direction:R?R>0?Tn.forward:Tn.back:Tn.unknown})})};function a(){i=n.value}function c(p){r.push(p);const m=()=>{const b=r.indexOf(p);b>-1&&r.splice(b,1)};return o.push(m),m}function u(){const{history:p}=window;p.state&&p.replaceState(ae({},p.state,{scroll:ks()}),"")}function d(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:d}}function ti(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ks():null}}function Hf(e){const{history:t,location:n}=window,s={value:Gl(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:qf()+e+a;try{t[u?"replaceState":"pushState"](c,"",p),r.value=c}catch(m){console.error(m),n[u?"replace":"assign"](p)}}function i(a,c){const u=ae({},t.state,ti(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});o(a,u,!0),s.value=a}function l(a,c){const u=ae({},r.value,t.state,{forward:a,scroll:ks()});o(u.current,u,!0);const d=ae({},ti(s.value,a,null),{position:u.position+1},c);o(a,d,!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function Vf(e){e=Bf(e);const t=Hf(e),n=jf(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ae({location:"",base:e,go:s,createHref:If.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function zf(e){return typeof e=="string"||e&&typeof e=="object"}function Xl(e){return typeof e=="string"||typeof e=="symbol"}const Ql=Symbol("");var ni;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ni||(ni={}));function cn(e,t){return ae(new Error,{type:e,[Ql]:!0},t)}function mt(e,t){return e instanceof Error&&Ql in e&&(t==null||!!(e.type&t))}const si="[^/]+?",Kf={sensitive:!1,strict:!1,start:!0,end:!0},Wf=/[.+*?^${}()[\]/\\]/g;function Jf(e,t){const n=ae({},Kf,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;d<c.length;d++){const p=c[d];let m=40+(n.sensitive?.25:0);if(p.type===0)d||(r+="/"),r+=p.value.replace(Wf,"\\$&"),m+=40;else if(p.type===1){const{value:b,repeatable:E,optional:R,regexp:B}=p;o.push({name:b,repeatable:E,optional:R});const N=B||si;if(N!==si){m+=10;try{new RegExp(`(${N})`)}catch(F){throw new Error(`Invalid custom RegExp for param "${b}" (${N}): `+F.message)}}let T=E?`((?:${N})(?:/(?:${N}))*)`:`(${N})`;d||(T=R&&c.length<2?`(?:/${T})`:"/"+T),R&&(T+="?"),r+=T,m+=20,R&&(m+=-8),E&&(m+=-20),N===".*"&&(m+=-50)}u.push(m)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(c){const u=c.match(i),d={};if(!u)return null;for(let p=1;p<u.length;p++){const m=u[p]||"",b=o[p-1];d[b.name]=m&&b.repeatable?m.split("/"):m}return d}function a(c){let u="",d=!1;for(const p of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const m of p)if(m.type===0)u+=m.value;else if(m.type===1){const{value:b,repeatable:E,optional:R}=m,B=b in c?c[b]:"";if(ot(B)&&!E)throw new Error(`Provided param "${b}" is an array but it is not repeatable (* or + modifiers)`);const N=ot(B)?B.join("/"):B;if(!N)if(R)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${b}"`);u+=N}}return u||"/"}return{re:i,score:s,keys:o,parse:l,stringify:a}}function Gf(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Yl(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=Gf(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(ri(s))return 1;if(ri(r))return-1}return r.length-s.length}function ri(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Xf={type:0,value:""},Qf=/[a-zA-Z0-9_]/;function Yf(e){if(!e)return[[]];if(e==="/")return[[Xf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,c="",u="";function d(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:a==="/"?(c&&d(),i()):a===":"?(d(),n=1):p();break;case 4:p(),n=s;break;case 1:a==="("?n=2:Qf.test(a)?p():(d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),i(),r}function Zf(e,t,n){const s=Jf(Yf(e.path),n),r=ae(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ed(e,t){const n=[],s=new Map;t=ai({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function o(d,p,m){const b=!m,E=ii(d);E.aliasOf=m&&m.record;const R=ai(t,d),B=[E];if("alias"in d){const F=typeof d.alias=="string"?[d.alias]:d.alias;for(const X of F)B.push(ii(ae({},E,{components:m?m.record.components:E.components,path:X,aliasOf:m?m.record:E})))}let N,T;for(const F of B){const{path:X}=F;if(p&&X[0]!=="/"){const D=p.record.path,K=D[D.length-1]==="/"?"":"/";F.path=p.record.path+(X&&K+X)}if(N=Zf(F,p,R),m?m.alias.push(N):(T=T||N,T!==N&&T.alias.push(N),b&&d.name&&!li(N)&&i(d.name)),Zl(N)&&a(N),E.children){const D=E.children;for(let K=0;K<D.length;K++)o(D[K],N,m&&m.children[K])}m=m||N}return T?()=>{i(T)}:On}function i(d){if(Xl(d)){const p=s.get(d);p&&(s.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function a(d){const p=sd(d,n);n.splice(p,0,d),d.record.name&&!li(d)&&s.set(d.record.name,d)}function c(d,p){let m,b={},E,R;if("name"in d&&d.name){if(m=s.get(d.name),!m)throw cn(1,{location:d});R=m.record.name,b=ae(oi(p.params,m.keys.filter(T=>!T.optional).concat(m.parent?m.parent.keys.filter(T=>T.optional):[]).map(T=>T.name)),d.params&&oi(d.params,m.keys.map(T=>T.name))),E=m.stringify(b)}else if(d.path!=null)E=d.path,m=n.find(T=>T.re.test(E)),m&&(b=m.parse(E),R=m.record.name);else{if(m=p.name?s.get(p.name):n.find(T=>T.re.test(p.path)),!m)throw cn(1,{location:d,currentLocation:p});R=m.record.name,b=ae({},p.params,d.params),E=m.stringify(b)}const B=[];let N=m;for(;N;)B.unshift(N.record),N=N.parent;return{name:R,path:E,params:b,matched:B,meta:nd(B)}}e.forEach(d=>o(d));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function oi(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ii(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:td(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function td(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function li(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function nd(e){return e.reduce((t,n)=>ae(t,n.meta),{})}function ai(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function sd(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Yl(e,t[o])<0?s=o:n=o+1}const r=rd(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function rd(e){let t=e;for(;t=t.parent;)if(Zl(t)&&Yl(e,t)===0)return t}function Zl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function od(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(Vl," "),i=o.indexOf("="),l=Bn(i<0?o:o.slice(0,i)),a=i<0?null:Bn(o.slice(i+1));if(l in t){let c=t[l];ot(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function ci(e){let t="";for(let n in e){const s=e[n];if(n=Rf(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(ot(s)?s.map(o=>o&&wr(o)):[s&&wr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function id(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=ot(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const ld=Symbol(""),ui=Symbol(""),Ns=Symbol(""),to=Symbol(""),xr=Symbol("");function gn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Rt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const c=p=>{p===!1?a(cn(4,{from:n,to:t})):p instanceof Error?a(p):zf(p)?a(cn(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},u=o(()=>e.call(s&&s.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(p=>a(p))})}function Zs(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(jl(a)){const u=(a.__vccOpts||a)[t];u&&o.push(Rt(u,n,s,i,l,r))}else{let c=a();o.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=pf(u)?u.default:u;i.mods[l]=u,i.components[l]=d;const m=(d.__vccOpts||d)[t];return m&&Rt(m,n,s,i,l,r)()}))}}return o}function fi(e){const t=st(Ns),n=st(to),s=Be(()=>{const a=Ce(e.to);return t.resolve(a)}),r=Be(()=>{const{matched:a}=s.value,{length:c}=a,u=a[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(an.bind(null,u));if(p>-1)return p;const m=di(a[c-2]);return c>1&&di(u)===m&&d[d.length-1].path!==m?d.findIndex(an.bind(null,a[c-2])):p}),o=Be(()=>r.value>-1&&fd(n.params,s.value.params)),i=Be(()=>r.value>-1&&r.value===n.matched.length-1&&Jl(n.params,s.value.params));function l(a={}){return ud(a)?t[Ce(e.replace)?"replace":"push"](Ce(e.to)).catch(On):Promise.resolve()}return{route:s,href:Be(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const ad=yl({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:fi,setup(e,{slots:t}){const n=Es(fi(e)),{options:s}=st(Ns),r=Be(()=>({[hi(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[hi(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:ql("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),cd=ad;function ud(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function fd(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!ot(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function di(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const hi=(e,t,n)=>e??t??n,dd=yl({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=st(xr),r=Be(()=>e.route||s.value),o=st(ui,0),i=Be(()=>{let c=Ce(o);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),l=Be(()=>r.value.matched[i.value]);ns(ui,Be(()=>i.value+1)),ns(ld,l),ns(xr,r);const a=he();return An(()=>[a.value,l.value,e.name],([c,u,d],[p,m,b])=>{u&&(u.instances[d]=c,m&&m!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!an(u,m)||!p)&&(u.enterCallbacks[d]||[]).forEach(E=>E(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=l.value,p=d&&d.components[u];if(!p)return pi(n.default,{Component:p,route:c});const m=d.props[u],b=m?m===!0?c.params:typeof m=="function"?m(c):m:null,R=ql(p,ae({},b,t,{onVnodeUnmounted:B=>{B.component.isUnmounted&&(d.instances[u]=null)},ref:a}));return pi(n.default,{Component:R,route:c})||R}}});function pi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const hd=dd;function pd(e){const t=ed(e.routes,e),n=e.parseQuery||od,s=e.stringifyQuery||ci,r=e.history,o=gn(),i=gn(),l=gn(),a=Sc(vt);let c=vt;Zt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Qs.bind(null,w=>""+w),d=Qs.bind(null,Cf),p=Qs.bind(null,Bn);function m(w,x){let O,I;return Xl(w)?(O=t.getRecordMatcher(w),I=x):I=w,t.addRoute(I,O)}function b(w){const x=t.getRecordMatcher(w);x&&t.removeRoute(x)}function E(){return t.getRoutes().map(w=>w.record)}function R(w){return!!t.getRecordMatcher(w)}function B(w,x){if(x=ae({},x||a.value),typeof w=="string"){const h=Ys(n,w,x.path),y=t.resolve({path:h.path},x),S=r.createHref(h.fullPath);return ae(h,y,{params:p(y.params),hash:Bn(h.hash),redirectedFrom:void 0,href:S})}let O;if(w.path!=null)O=ae({},w,{path:Ys(n,w.path,x.path).path});else{const h=ae({},w.params);for(const y in h)h[y]==null&&delete h[y];O=ae({},w,{params:d(h)}),x.params=d(x.params)}const I=t.resolve(O,x),Z=w.hash||"";I.params=u(p(I.params));const le=Pf(s,ae({},w,{hash:Sf(Z),path:I.path})),f=r.createHref(le);return ae({fullPath:le,hash:Z,query:s===ci?id(w.query):w.query||{}},I,{redirectedFrom:void 0,href:f})}function N(w){return typeof w=="string"?Ys(n,w,a.value.path):ae({},w)}function T(w,x){if(c!==w)return cn(8,{from:x,to:w})}function F(w){return K(w)}function X(w){return F(ae(N(w),{replace:!0}))}function D(w){const x=w.matched[w.matched.length-1];if(x&&x.redirect){const{redirect:O}=x;let I=typeof O=="function"?O(w):O;return typeof I=="string"&&(I=I.includes("?")||I.includes("#")?I=N(I):{path:I},I.params={}),ae({query:w.query,hash:w.hash,params:I.path!=null?{}:w.params},I)}}function K(w,x){const O=c=B(w),I=a.value,Z=w.state,le=w.force,f=w.replace===!0,h=D(O);if(h)return K(ae(N(h),{state:typeof h=="object"?ae({},Z,h.state):Z,force:le,replace:f}),x||O);const y=O;y.redirectedFrom=x;let S;return!le&&kf(s,I,O)&&(S=cn(16,{to:y,from:I}),G(I,I,!0,!1)),(S?Promise.resolve(S):Ue(y,I)).catch(v=>mt(v)?mt(v,2)?v:W(v):se(v,y,I)).then(v=>{if(v){if(mt(v,2))return K(ae({replace:f},N(v.to),{state:typeof v.to=="object"?ae({},Z,v.to.state):Z,force:le}),x||y)}else v=at(y,I,!0,f,Z);return lt(y,I,v),v})}function we(w,x){const O=T(w,x);return O?Promise.reject(O):Promise.resolve()}function ke(w){const x=Qe.values().next().value;return x&&typeof x.runWithContext=="function"?x.runWithContext(w):w()}function Ue(w,x){let O;const[I,Z,le]=md(w,x);O=Zs(I.reverse(),"beforeRouteLeave",w,x);for(const h of I)h.leaveGuards.forEach(y=>{O.push(Rt(y,w,x))});const f=we.bind(null,w,x);return O.push(f),_e(O).then(()=>{O=[];for(const h of o.list())O.push(Rt(h,w,x));return O.push(f),_e(O)}).then(()=>{O=Zs(Z,"beforeRouteUpdate",w,x);for(const h of Z)h.updateGuards.forEach(y=>{O.push(Rt(y,w,x))});return O.push(f),_e(O)}).then(()=>{O=[];for(const h of le)if(h.beforeEnter)if(ot(h.beforeEnter))for(const y of h.beforeEnter)O.push(Rt(y,w,x));else O.push(Rt(h.beforeEnter,w,x));return O.push(f),_e(O)}).then(()=>(w.matched.forEach(h=>h.enterCallbacks={}),O=Zs(le,"beforeRouteEnter",w,x,ke),O.push(f),_e(O))).then(()=>{O=[];for(const h of i.list())O.push(Rt(h,w,x));return O.push(f),_e(O)}).catch(h=>mt(h,8)?h:Promise.reject(h))}function lt(w,x,O){l.list().forEach(I=>ke(()=>I(w,x,O)))}function at(w,x,O,I,Z){const le=T(w,x);if(le)return le;const f=x===vt,h=Zt?history.state:{};O&&(I||f?r.replace(w.fullPath,ae({scroll:f&&h&&h.scroll},Z)):r.push(w.fullPath,Z)),a.value=w,G(w,x,O,f),W()}let xe;function It(){xe||(xe=r.listen((w,x,O)=>{if(!Ye.listening)return;const I=B(w),Z=D(I);if(Z){K(ae(Z,{replace:!0}),I).catch(On);return}c=I;const le=a.value;Zt&&Uf(ei(le.fullPath,O.delta),ks()),Ue(I,le).catch(f=>mt(f,12)?f:mt(f,2)?(K(f.to,I).then(h=>{mt(h,20)&&!O.delta&&O.type===$n.pop&&r.go(-1,!1)}).catch(On),Promise.reject()):(O.delta&&r.go(-O.delta,!1),se(f,I,le))).then(f=>{f=f||at(I,le,!1),f&&(O.delta&&!mt(f,8)?r.go(-O.delta,!1):O.type===$n.pop&&mt(f,20)&&r.go(-1,!1)),lt(I,le,f)}).catch(On)}))}let bt=gn(),ge=gn(),re;function se(w,x,O){W(w);const I=ge.list();return I.length?I.forEach(Z=>Z(w,x,O)):console.error(w),Promise.reject(w)}function Xe(){return re&&a.value!==vt?Promise.resolve():new Promise((w,x)=>{bt.add([w,x])})}function W(w){return re||(re=!w,It(),bt.list().forEach(([x,O])=>w?O(w):x()),bt.reset()),w}function G(w,x,O,I){const{scrollBehavior:Z}=e;if(!Zt||!Z)return Promise.resolve();const le=!O&&Df(ei(w.fullPath,0))||(I||!O)&&history.state&&history.state.scroll||null;return dl().then(()=>Z(w,x,le)).then(f=>f&&Ff(f)).catch(f=>se(f,w,x))}const Q=w=>r.go(w);let ye;const Qe=new Set,Ye={currentRoute:a,listening:!0,addRoute:m,removeRoute:b,clearRoutes:t.clearRoutes,hasRoute:R,getRoutes:E,resolve:B,options:e,push:F,replace:X,go:Q,back:()=>Q(-1),forward:()=>Q(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ge.add,isReady:Xe,install(w){const x=this;w.component("RouterLink",cd),w.component("RouterView",hd),w.config.globalProperties.$router=x,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>Ce(a)}),Zt&&!ye&&a.value===vt&&(ye=!0,F(r.location).catch(Z=>{}));const O={};for(const Z in vt)Object.defineProperty(O,Z,{get:()=>a.value[Z],enumerable:!0});w.provide(Ns,x),w.provide(to,rl(O)),w.provide(xr,a);const I=w.unmount;Qe.add(w),w.unmount=function(){Qe.delete(w),Qe.size<1&&(c=vt,xe&&xe(),xe=null,a.value=vt,ye=!1,re=!1),I()}}};function _e(w){return w.reduce((x,O)=>x.then(()=>ke(O)),Promise.resolve())}return Ye}function md(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(c=>an(c,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>an(c,a))||r.push(a))}return[n,s,r]}function ea(){return st(Ns)}function gd(e){return st(to)}function ta(e,t){return function(){return e.apply(t,arguments)}}const{toString:yd}=Object.prototype,{getPrototypeOf:no}=Object,Ls=(e=>t=>{const n=yd.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),it=e=>(e=e.toLowerCase(),t=>Ls(t)===e),Bs=e=>t=>typeof t===e,{isArray:fn}=Array,In=Bs("undefined");function _d(e){return e!==null&&!In(e)&&e.constructor!==null&&!In(e.constructor)&&ze(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const na=it("ArrayBuffer");function bd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&na(e.buffer),t}const wd=Bs("string"),ze=Bs("function"),sa=Bs("number"),$s=e=>e!==null&&typeof e=="object",vd=e=>e===!0||e===!1,os=e=>{if(Ls(e)!=="object")return!1;const t=no(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},xd=it("Date"),Ed=it("File"),Sd=it("Blob"),Rd=it("FileList"),Ad=e=>$s(e)&&ze(e.pipe),Cd=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ze(e.append)&&((t=Ls(e))==="formdata"||t==="object"&&ze(e.toString)&&e.toString()==="[object FormData]"))},Od=it("URLSearchParams"),[Td,Pd,kd,Nd]=["ReadableStream","Request","Response","Headers"].map(it),Ld=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Fn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),fn(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let l;for(s=0;s<i;s++)l=o[s],t.call(null,e[l],l,e)}}function ra(e,t){t=t.toLowerCase();const n=Object.keys(e);let s=n.length,r;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Dt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,oa=e=>!In(e)&&e!==Dt;function Er(){const{caseless:e}=oa(this)&&this||{},t={},n=(s,r)=>{const o=e&&ra(t,r)||r;os(t[o])&&os(s)?t[o]=Er(t[o],s):os(s)?t[o]=Er({},s):fn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s<r;s++)arguments[s]&&Fn(arguments[s],n);return t}const Bd=(e,t,n,{allOwnKeys:s}={})=>(Fn(t,(r,o)=>{n&&ze(r)?e[o]=ta(r,n):e[o]=r},{allOwnKeys:s}),e),$d=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Id=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Md=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&no(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Fd=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},Ud=e=>{if(!e)return null;if(fn(e))return e;let t=e.length;if(!sa(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Dd=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&no(Uint8Array)),qd=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},jd=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Hd=it("HTMLFormElement"),Vd=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),mi=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),zd=it("RegExp"),ia=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Fn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},Kd=e=>{ia(e,(t,n)=>{if(ze(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(ze(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Wd=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return fn(e)?s(e):s(String(e).split(t)),n},Jd=()=>{},Gd=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,er="abcdefghijklmnopqrstuvwxyz",gi="0123456789",la={DIGIT:gi,ALPHA:er,ALPHA_DIGIT:er+er.toUpperCase()+gi},Xd=(e=16,t=la.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Qd(e){return!!(e&&ze(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Yd=e=>{const t=new Array(10),n=(s,r)=>{if($s(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=fn(s)?[]:{};return Fn(s,(i,l)=>{const a=n(i,r+1);!In(a)&&(o[l]=a)}),t[r]=void 0,o}}return s};return n(e,0)},Zd=it("AsyncFunction"),eh=e=>e&&($s(e)||ze(e))&&ze(e.then)&&ze(e.catch),aa=((e,t)=>e?setImmediate:t?((n,s)=>(Dt.addEventListener("message",({source:r,data:o})=>{r===Dt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),Dt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ze(Dt.postMessage)),th=typeof queueMicrotask<"u"?queueMicrotask.bind(Dt):typeof process<"u"&&process.nextTick||aa,_={isArray:fn,isArrayBuffer:na,isBuffer:_d,isFormData:Cd,isArrayBufferView:bd,isString:wd,isNumber:sa,isBoolean:vd,isObject:$s,isPlainObject:os,isReadableStream:Td,isRequest:Pd,isResponse:kd,isHeaders:Nd,isUndefined:In,isDate:xd,isFile:Ed,isBlob:Sd,isRegExp:zd,isFunction:ze,isStream:Ad,isURLSearchParams:Od,isTypedArray:Dd,isFileList:Rd,forEach:Fn,merge:Er,extend:Bd,trim:Ld,stripBOM:$d,inherits:Id,toFlatObject:Md,kindOf:Ls,kindOfTest:it,endsWith:Fd,toArray:Ud,forEachEntry:qd,matchAll:jd,isHTMLForm:Hd,hasOwnProperty:mi,hasOwnProp:mi,reduceDescriptors:ia,freezeMethods:Kd,toObjectSet:Wd,toCamelCase:Vd,noop:Jd,toFiniteNumber:Gd,findKey:ra,global:Dt,isContextDefined:oa,ALPHABET:la,generateString:Xd,isSpecCompliantForm:Qd,toJSONObject:Yd,isAsyncFn:Zd,isThenable:eh,setImmediate:aa,asap:th};function J(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}_.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:_.toJSONObject(this.config),code:this.code,status:this.status}}});const ca=J.prototype,ua={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ua[e]={value:e}});Object.defineProperties(J,ua);Object.defineProperty(ca,"isAxiosError",{value:!0});J.from=(e,t,n,s,r,o)=>{const i=Object.create(ca);return _.toFlatObject(e,i,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),J.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const nh=null;function Sr(e){return _.isPlainObject(e)||_.isArray(e)}function fa(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function yi(e,t,n){return e?e.concat(t).map(function(r,o){return r=fa(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function sh(e){return _.isArray(e)&&!e.some(Sr)}const rh=_.toFlatObject(_,{},null,function(t){return/^is[A-Z]/.test(t)});function Is(e,t,n){if(!_.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,R){return!_.isUndefined(R[E])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&_.isSpecCompliantForm(t);if(!_.isFunction(r))throw new TypeError("visitor must be a function");function c(b){if(b===null)return"";if(_.isDate(b))return b.toISOString();if(!a&&_.isBlob(b))throw new J("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(b)||_.isTypedArray(b)?a&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function u(b,E,R){let B=b;if(b&&!R&&typeof b=="object"){if(_.endsWith(E,"{}"))E=s?E:E.slice(0,-2),b=JSON.stringify(b);else if(_.isArray(b)&&sh(b)||(_.isFileList(b)||_.endsWith(E,"[]"))&&(B=_.toArray(b)))return E=fa(E),B.forEach(function(T,F){!(_.isUndefined(T)||T===null)&&t.append(i===!0?yi([E],F,o):i===null?E:E+"[]",c(T))}),!1}return Sr(b)?!0:(t.append(yi(R,E,o),c(b)),!1)}const d=[],p=Object.assign(rh,{defaultVisitor:u,convertValue:c,isVisitable:Sr});function m(b,E){if(!_.isUndefined(b)){if(d.indexOf(b)!==-1)throw Error("Circular reference detected in "+E.join("."));d.push(b),_.forEach(b,function(B,N){(!(_.isUndefined(B)||B===null)&&r.call(t,B,_.isString(N)?N.trim():N,E,p))===!0&&m(B,E?E.concat(N):[N])}),d.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return m(e),t}function _i(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function so(e,t){this._pairs=[],e&&Is(e,this,t)}const da=so.prototype;da.append=function(t,n){this._pairs.push([t,n])};da.toString=function(t){const n=t?function(s){return t.call(this,s,_i)}:_i;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function oh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ha(e,t,n){if(!t)return e;const s=n&&n.encode||oh,r=n&&n.serialize;let o;if(r?o=r(t,n):o=_.isURLSearchParams(t)?t.toString():new so(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class bi{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){_.forEach(this.handlers,function(s){s!==null&&t(s)})}}const pa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ih=typeof URLSearchParams<"u"?URLSearchParams:so,lh=typeof FormData<"u"?FormData:null,ah=typeof Blob<"u"?Blob:null,ch={isBrowser:!0,classes:{URLSearchParams:ih,FormData:lh,Blob:ah},protocols:["http","https","file","blob","url","data"]},ro=typeof window<"u"&&typeof document<"u",Rr=typeof navigator=="object"&&navigator||void 0,uh=ro&&(!Rr||["ReactNative","NativeScript","NS"].indexOf(Rr.product)<0),fh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",dh=ro&&window.location.href||"http://localhost",hh=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ro,hasStandardBrowserEnv:uh,hasStandardBrowserWebWorkerEnv:fh,navigator:Rr,origin:dh},Symbol.toStringTag,{value:"Module"})),$e={...hh,...ch};function ph(e,t){return Is(e,new $e.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return $e.isNode&&_.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function mh(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function gh(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s<r;s++)o=n[s],t[o]=e[o];return t}function ma(e){function t(n,s,r,o){let i=n[o++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),a=o>=n.length;return i=!i&&_.isArray(r)?r.length:i,a?(_.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!_.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&_.isArray(r[i])&&(r[i]=gh(r[i])),!l)}if(_.isFormData(e)&&_.isFunction(e.entries)){const n={};return _.forEachEntry(e,(s,r)=>{t(mh(s),r,n,0)}),n}return null}function yh(e,t,n){if(_.isString(e))try{return(t||JSON.parse)(e),_.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const Un={transitional:pa,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=_.isObject(t);if(o&&_.isHTMLForm(t)&&(t=new FormData(t)),_.isFormData(t))return r?JSON.stringify(ma(t)):t;if(_.isArrayBuffer(t)||_.isBuffer(t)||_.isStream(t)||_.isFile(t)||_.isBlob(t)||_.isReadableStream(t))return t;if(_.isArrayBufferView(t))return t.buffer;if(_.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return ph(t,this.formSerializer).toString();if((l=_.isFileList(t))||s.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Is(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),yh(t)):t}],transformResponse:[function(t){const n=this.transitional||Un.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(_.isResponse(t)||_.isReadableStream(t))return t;if(t&&_.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?J.from(l,J.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$e.classes.FormData,Blob:$e.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch"],e=>{Un.headers[e]={}});const _h=_.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),bh=e=>{const t={};let n,s,r;return e&&e.split(` `).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&_h[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},wi=Symbol("internals");function yn(e){return e&&String(e).trim().toLowerCase()}function is(e){return e===!1||e==null?e:_.isArray(e)?e.map(is):String(e)}function wh(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const vh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function tr(e,t,n,s,r){if(_.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!_.isString(t)){if(_.isString(s))return t.indexOf(s)!==-1;if(_.isRegExp(s))return s.test(t)}}function xh(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Eh(e,t){const n=_.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class Ie{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,a,c){const u=yn(a);if(!u)throw new Error("header name must be a non-empty string");const d=_.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||a]=is(l))}const i=(l,a)=>_.forEach(l,(c,u)=>o(c,u,a));if(_.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(_.isString(t)&&(t=t.trim())&&!vh(t))i(bh(t),n);else if(_.isHeaders(t))for(const[l,a]of t.entries())o(a,l,s);else t!=null&&o(n,t,s);return this}get(t,n){if(t=yn(t),t){const s=_.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return wh(r);if(_.isFunction(n))return n.call(this,r,s);if(_.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=yn(t),t){const s=_.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||tr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=yn(i),i){const l=_.findKey(s,i);l&&(!n||tr(s,s[l],l,n))&&(delete s[l],r=!0)}}return _.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||tr(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return _.forEach(this,(r,o)=>{const i=_.findKey(s,o);if(i){n[i]=is(r),delete n[o];return}const l=t?xh(o):String(o).trim();l!==o&&delete n[o],n[l]=is(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return _.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&_.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[wi]=this[wi]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=yn(i);s[l]||(Eh(r,i),s[l]=!0)}return _.isArray(t)?t.forEach(o):o(t),this}}Ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.reduceDescriptors(Ie.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});_.freezeMethods(Ie);function nr(e,t){const n=this||Un,s=t||n,r=Ie.from(s.headers);let o=s.data;return _.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function ga(e){return!!(e&&e.__CANCEL__)}function dn(e,t,n){J.call(this,e??"canceled",J.ERR_CANCELED,t,n),this.name="CanceledError"}_.inherits(dn,J,{__CANCEL__:!0});function ya(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Sh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Rh(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=s[o];i||(i=c),n[r]=a,s[r]=c;let d=o,p=0;for(;d!==r;)p+=n[d++],d=d%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),c-i<t)return;const m=u&&c-u;return m?Math.round(p*1e3/m):void 0}}function Ah(e,t){let n=0,s=1e3/t,r,o;const i=(c,u=Date.now())=>{n=u,r=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=s?i(c,u):(r=c,o||(o=setTimeout(()=>{o=null,i(r)},s-d)))},()=>r&&i(r)]}const gs=(e,t,n=3)=>{let s=0;const r=Rh(50,250);return Ah(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,a=i-s,c=r(a),u=i<=l;s=i;const d={loaded:i,total:l,progress:l?i/l:void 0,bytes:a,rate:c||void 0,estimated:c&&l&&u?(l-i)/c:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},vi=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},xi=e=>(...t)=>_.asap(()=>e(...t)),Ch=$e.hasStandardBrowserEnv?function(){const t=$e.navigator&&/(msie|trident)/i.test($e.navigator.userAgent),n=document.createElement("a");let s;function r(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(i){const l=_.isString(i)?r(i):i;return l.protocol===s.protocol&&l.host===s.host}}():function(){return function(){return!0}}(),Oh=$e.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];_.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),_.isString(s)&&i.push("path="+s),_.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Th(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ph(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function _a(e,t){return e&&!Th(t)?Ph(e,t):t}const Ei=e=>e instanceof Ie?{...e}:e;function Kt(e,t){t=t||{};const n={};function s(c,u,d){return _.isPlainObject(c)&&_.isPlainObject(u)?_.merge.call({caseless:d},c,u):_.isPlainObject(u)?_.merge({},u):_.isArray(u)?u.slice():u}function r(c,u,d){if(_.isUndefined(u)){if(!_.isUndefined(c))return s(void 0,c,d)}else return s(c,u,d)}function o(c,u){if(!_.isUndefined(u))return s(void 0,u)}function i(c,u){if(_.isUndefined(u)){if(!_.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function l(c,u,d){if(d in t)return s(c,u);if(d in e)return s(void 0,c)}const a={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,u)=>r(Ei(c),Ei(u),!0)};return _.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=a[u]||r,p=d(e[u],t[u],u);_.isUndefined(p)&&d!==l||(n[u]=p)}),n}const ba=e=>{const t=Kt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=Ie.from(i),t.url=ha(_a(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let a;if(_.isFormData(n)){if($e.hasStandardBrowserEnv||$e.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((a=i.getContentType())!==!1){const[c,...u]=a?a.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...u].join("; "))}}if($e.hasStandardBrowserEnv&&(s&&_.isFunction(s)&&(s=s(t)),s||s!==!1&&Ch(t.url))){const c=r&&o&&Oh.read(o);c&&i.set(r,c)}return t},kh=typeof XMLHttpRequest<"u",Nh=kh&&function(e){return new Promise(function(n,s){const r=ba(e);let o=r.data;const i=Ie.from(r.headers).normalize();let{responseType:l,onUploadProgress:a,onDownloadProgress:c}=r,u,d,p,m,b;function E(){m&&m(),b&&b(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let R=new XMLHttpRequest;R.open(r.method.toUpperCase(),r.url,!0),R.timeout=r.timeout;function B(){if(!R)return;const T=Ie.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),X={data:!l||l==="text"||l==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:T,config:e,request:R};ya(function(K){n(K),E()},function(K){s(K),E()},X),R=null}"onloadend"in R?R.onloadend=B:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.indexOf("file:")===0)||setTimeout(B)},R.onabort=function(){R&&(s(new J("Request aborted",J.ECONNABORTED,e,R)),R=null)},R.onerror=function(){s(new J("Network Error",J.ERR_NETWORK,e,R)),R=null},R.ontimeout=function(){let F=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const X=r.transitional||pa;r.timeoutErrorMessage&&(F=r.timeoutErrorMessage),s(new J(F,X.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,R)),R=null},o===void 0&&i.setContentType(null),"setRequestHeader"in R&&_.forEach(i.toJSON(),function(F,X){R.setRequestHeader(X,F)}),_.isUndefined(r.withCredentials)||(R.withCredentials=!!r.withCredentials),l&&l!=="json"&&(R.responseType=r.responseType),c&&([p,b]=gs(c,!0),R.addEventListener("progress",p)),a&&R.upload&&([d,m]=gs(a),R.upload.addEventListener("progress",d),R.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(u=T=>{R&&(s(!T||T.type?new dn(null,e,R):T),R.abort(),R=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const N=Sh(r.url);if(N&&$e.protocols.indexOf(N)===-1){s(new J("Unsupported protocol "+N+":",J.ERR_BAD_REQUEST,e));return}R.send(o||null)})},Lh=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(c){if(!r){r=!0,l();const u=c instanceof Error?c:this.reason;s.abort(u instanceof J?u:new dn(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,o(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),e=null)};e.forEach(c=>c.addEventListener("abort",o));const{signal:a}=s;return a.unsubscribe=()=>_.asap(l),a}},Bh=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let s=0,r;for(;s<n;)r=s+t,yield e.slice(s,r),s=r},$h=async function*(e,t){for await(const n of Ih(e))yield*Bh(n,t)},Ih=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:s}=await t.read();if(n)break;yield s}}finally{await t.cancel()}},Si=(e,t,n,s)=>{const r=$h(e,t);let o=0,i,l=a=>{i||(i=!0,s&&s(a))};return new ReadableStream({async pull(a){try{const{done:c,value:u}=await r.next();if(c){l(),a.close();return}let d=u.byteLength;if(n){let p=o+=d;n(p)}a.enqueue(new Uint8Array(u))}catch(c){throw l(c),c}},cancel(a){return l(a),r.return()}},{highWaterMark:2})},Ms=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",wa=Ms&&typeof ReadableStream=="function",Mh=Ms&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),va=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Fh=wa&&va(()=>{let e=!1;const t=new Request($e.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ri=64*1024,Ar=wa&&va(()=>_.isReadableStream(new Response("").body)),ys={stream:Ar&&(e=>e.body)};Ms&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ys[t]&&(ys[t]=_.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,s)})})})(new Response);const Uh=async e=>{if(e==null)return 0;if(_.isBlob(e))return e.size;if(_.isSpecCompliantForm(e))return(await new Request($e.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(_.isArrayBufferView(e)||_.isArrayBuffer(e))return e.byteLength;if(_.isURLSearchParams(e)&&(e=e+""),_.isString(e))return(await Mh(e)).byteLength},Dh=async(e,t)=>{const n=_.toFiniteNumber(e.getContentLength());return n??Uh(t)},qh=Ms&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:a,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:p}=ba(e);c=c?(c+"").toLowerCase():"text";let m=Lh([r,o&&o.toAbortSignal()],i),b;const E=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let R;try{if(a&&Fh&&n!=="get"&&n!=="head"&&(R=await Dh(u,s))!==0){let X=new Request(t,{method:"POST",body:s,duplex:"half"}),D;if(_.isFormData(s)&&(D=X.headers.get("content-type"))&&u.setContentType(D),X.body){const[K,we]=vi(R,gs(xi(a)));s=Si(X.body,Ri,K,we)}}_.isString(d)||(d=d?"include":"omit");const B="credentials"in Request.prototype;b=new Request(t,{...p,signal:m,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:B?d:void 0});let N=await fetch(b);const T=Ar&&(c==="stream"||c==="response");if(Ar&&(l||T&&E)){const X={};["status","statusText","headers"].forEach(ke=>{X[ke]=N[ke]});const D=_.toFiniteNumber(N.headers.get("content-length")),[K,we]=l&&vi(D,gs(xi(l),!0))||[];N=new Response(Si(N.body,Ri,K,()=>{we&&we(),E&&E()}),X)}c=c||"text";let F=await ys[_.findKey(ys,c)||"text"](N,e);return!T&&E&&E(),await new Promise((X,D)=>{ya(X,D,{data:F,headers:Ie.from(N.headers),status:N.status,statusText:N.statusText,config:e,request:b})})}catch(B){throw E&&E(),B&&B.name==="TypeError"&&/fetch/i.test(B.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,e,b),{cause:B.cause||B}):J.from(B,B&&B.code,e,b)}}),Cr={http:nh,xhr:Nh,fetch:qh};_.forEach(Cr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ai=e=>`- ${e}`,jh=e=>_.isFunction(e)||e===null||e===!1,xa={getAdapter:e=>{e=_.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o<t;o++){n=e[o];let i;if(s=n,!jh(n)&&(s=Cr[(i=String(n)).toLowerCase()],s===void 0))throw new J(`Unknown adapter '${i}'`);if(s)break;r[i||"#"+o]=s}if(!s){const o=Object.entries(r).map(([l,a])=>`adapter ${l} `+(a===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : `+o.map(Ai).join(` `):" "+Ai(o[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:Cr};function sr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new dn(null,e)}function Ci(e){return sr(e),e.headers=Ie.from(e.headers),e.data=nr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),xa.getAdapter(e.adapter||Un.adapter)(e).then(function(s){return sr(e),s.data=nr.call(e,e.transformResponse,s),s.headers=Ie.from(s.headers),s},function(s){return ga(s)||(sr(e),s&&s.response&&(s.response.data=nr.call(e,e.transformResponse,s.response),s.response.headers=Ie.from(s.response.headers))),Promise.reject(s)})}const Ea="1.7.7",oo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{oo[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Oi={};oo.transitional=function(t,n,s){function r(o,i){return"[Axios v"+Ea+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new J(r(i," has been removed"+(n?" in "+n:"")),J.ERR_DEPRECATED);return n&&!Oi[i]&&(Oi[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function Hh(e,t,n){if(typeof e!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],a=l===void 0||i(l,o,e);if(a!==!0)throw new J("option "+o+" must be "+a,J.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}}const Or={assertOptions:Hh,validators:oo},xt=Or.validators;class Ht{constructor(t){this.defaults=t,this.interceptors={request:new bi,response:new bi}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` `+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Kt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&Or.assertOptions(s,{silentJSONParsing:xt.transitional(xt.boolean),forcedJSONParsing:xt.transitional(xt.boolean),clarifyTimeoutError:xt.transitional(xt.boolean)},!1),r!=null&&(_.isFunction(r)?n.paramsSerializer={serialize:r}:Or.assertOptions(r,{encode:xt.function,serialize:xt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&_.merge(o.common,o[n.method]);o&&_.forEach(["delete","get","head","post","put","patch","common"],b=>{delete o[b]}),n.headers=Ie.concat(i,o);const l=[];let a=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(a=a&&E.synchronous,l.unshift(E.fulfilled,E.rejected))});const c=[];this.interceptors.response.forEach(function(E){c.push(E.fulfilled,E.rejected)});let u,d=0,p;if(!a){const b=[Ci.bind(this),void 0];for(b.unshift.apply(b,l),b.push.apply(b,c),p=b.length,u=Promise.resolve(n);d<p;)u=u.then(b[d++],b[d++]);return u}p=l.length;let m=n;for(d=0;d<p;){const b=l[d++],E=l[d++];try{m=b(m)}catch(R){E.call(this,R);break}}try{u=Ci.call(this,m)}catch(b){return Promise.reject(b)}for(d=0,p=c.length;d<p;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=Kt(this.defaults,t);const n=_a(t.baseURL,t.url);return ha(n,t.params,t.paramsSerializer)}}_.forEach(["delete","get","head","options"],function(t){Ht.prototype[t]=function(n,s){return this.request(Kt(s||{},{method:t,url:n,data:(s||{}).data}))}});_.forEach(["post","put","patch"],function(t){function n(s){return function(o,i,l){return this.request(Kt(l||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}Ht.prototype[t]=n(),Ht.prototype[t+"Form"]=n(!0)});class io{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const s=this;this.promise.then(r=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new dn(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new io(function(r){t=r}),cancel:t}}}function Vh(e){return function(n){return e.apply(null,n)}}function zh(e){return _.isObject(e)&&e.isAxiosError===!0}const Tr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Tr).forEach(([e,t])=>{Tr[t]=e});function Sa(e){const t=new Ht(e),n=ta(Ht.prototype.request,t);return _.extend(n,Ht.prototype,t,{allOwnKeys:!0}),_.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Sa(Kt(e,r))},n}const te=Sa(Un);te.Axios=Ht;te.CanceledError=dn;te.CancelToken=io;te.isCancel=ga;te.VERSION=Ea;te.toFormData=Is;te.AxiosError=J;te.Cancel=te.CanceledError;te.all=function(t){return Promise.all(t)};te.spread=Vh;te.isAxiosError=zh;te.mergeConfig=Kt;te.AxiosHeaders=Ie;te.formToJSON=e=>ma(_.isHTMLForm(e)?new FormData(e):e);te.getAdapter=xa.getAdapter;te.HttpStatusCode=Tr;te.default=te;const Ra="/assets/logo_academ-R-3v1nom.png",Xt=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ti="https://app.academ.my:5000",Kh={data(){return{isMobileMenuOpen:!1,isProfileMenuOpen:!1,isAuthenticated:!1,userProfilePicture:"",userRole:""}},mounted(){this.checkAuthStatus(),this.setUserRole()},methods:{checkAuthStatus(){const e=localStorage.getItem("token");e&&(this.isAuthenticated=!0,te.get(`${Ti}/api/users/profile`,{headers:{Authorization:`Bearer ${e}`}}).then(t=>{this.userProfilePicture=`${Ti}/uploads/${t.data.profilePicture}`}).catch(()=>{this.userProfilePicture="default-profile-pic-url.jpg"}))},setUserRole(){var t;const e=localStorage.getItem("token");if(e){const n=this.decodeJwt(e);this.userRole=((t=n==null?void 0:n.user)==null?void 0:t.role)||""}},decodeJwt(e){try{const n=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(atob(n))}catch{return null}},toggleProfileMenu(){this.isProfileMenuOpen=!this.isProfileMenuOpen},goToLogin(){this.$router.push({name:"auth"})},goToSignup(){this.$router.push({name:"signup"})},logout(){localStorage.removeItem("token"),this.isAuthenticated=!1,this.isProfileMenuOpen=!1,this.$router.push({name:"auth"})}}},lo=e=>(Jt("data-v-c9ed93bd"),e=e(),Gt(),e),Wh={class:"navbar text-white mb-4 shadow-lg"},Jh={class:"container mx-auto px-4 sm:px-6 lg:px-8"},Gh={class:"flex justify-between items-center h-16"},Xh={class:"flex-shrink-0 flex items-center"},Qh=lo(()=>g("img",{src:Ra,alt:"Logo",class:"w-[40px]"},null,-1)),Yh={class:"flex md:hidden space-x-8 font-medium text-lg"},Zh={class:"md:hidden items-center space-x-4"},ep={key:0,class:"relative profil-container flex items-center"},tp=["src"],np=lo(()=>g("path",{d:"m12 15.4l-6-6L7.4 8l4.6 4.6L16.6 8L18 9.4z"},null,-1)),sp=[np],rp={key:0,class:"dropdown-menu bg-darkblue absolute right-0 mt-12 w-48 border rounded-lg shadow-lg z-20"},op={class:"py-2 text-sm text-gray-200"},ip={key:0},lp={class:"hidden md:flex items-center"},ap=lo(()=>g("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"})],-1)),cp=[ap],up={key:0,class:"mobileNavbar border-t border-gray-700"},fp={class:"py-2 space-y-1"},dp={key:0,class:"py-3 border-t border-gray-700"},hp={key:1,class:"py-3 border-t border-gray-700"};function pp(e,t,n,s,r,o){const i=Xr("router-link");return q(),V("nav",Wh,[g("div",Jh,[g("div",Gh,[g("div",Xh,[fe(i,{to:"/",class:"text-2xl font-bold bg-gradient-to-r from-purple-500 to-pink-500 bg-clip-text text-transparent"},{default:Ke(()=>[Qh]),_:1})]),g("div",Yh,[r.userRole==="admin"?(q(),Ct(i,{key:0,to:"/adminPage",class:je(["hover:text-purple-400 transition",{"underline decoration-2 decoration-purple-500":e.$route.path==="/adminPage"}])},{default:Ke(()=>[qe(" Admin ")]),_:1},8,["class"])):pe("",!0),fe(i,{to:"/",class:je(["hover:text-purple-400 transition",{"underline decoration-2 decoration-purple-500":e.$route.path==="/"}])},{default:Ke(()=>[qe(" Conversations ")]),_:1},8,["class"]),r.userRole!=="professor"?(q(),Ct(i,{key:1,to:"/professors",class:je(["hover:text-purple-400 transition",{"underline decoration-2 decoration-purple-500":e.$route.path==="/professors"}])},{default:Ke(()=>[qe(" Professeurs ")]),_:1},8,["class"])):pe("",!0)]),g("div",Zh,[r.isAuthenticated?(q(),V("div",ep,[g("img",{src:r.userProfilePicture,alt:"Profile",class:"w-10 h-10 rounded-full border border-gray-600 cursor-pointer",onClick:t[0]||(t[0]=(...l)=>o.toggleProfileMenu&&o.toggleProfileMenu(...l))},null,8,tp),(q(),V("svg",{xmlns:"http://www.w3.org/2000/svg",class:je(["w-6 h-6 ml-2 text-gray-300 cursor-pointer transform transition-transform duration-200",{"rotate-180":r.isProfileMenuOpen}]),onClick:t[1]||(t[1]=(...l)=>o.toggleProfileMenu&&o.toggleProfileMenu(...l)),fill:"currentColor",viewBox:"0 0 24 24"},sp,2)),r.isProfileMenuOpen?(q(),V("div",rp,[g("ul",op,[g("li",null,[fe(i,{to:"/profileParameter",class:"block px-4 py-2 hover:bg-gray-800 rounded-lg transition"},{default:Ke(()=>[qe(" Mon Profil ")]),_:1})]),r.userRole==="admin"?(q(),V("li",ip,[fe(i,{to:"/adminPage",class:"block px-4 py-2 hover:bg-gray-800 rounded-lg transition"},{default:Ke(()=>[qe(" Admin ")]),_:1})])):pe("",!0),g("li",null,[g("a",{onClick:t[2]||(t[2]=(...l)=>o.logout&&o.logout(...l)),class:"block px-4 py-2 hover:bg-gray-800 rounded-lg transition cursor-pointer"}," Se déconnecter ")])])])):pe("",!0)])):(q(),V("button",{key:1,onClick:t[3]||(t[3]=(...l)=>o.goToLogin&&o.goToLogin(...l)),class:"text-purple-500 border border-purple-500 px-4 py-2 rounded-lg hover:bg-purple-500 hover:text-white transition"}," Se connecter | S'inscrire "))]),g("div",lp,[g("button",{onClick:t[4]||(t[4]=l=>r.isMobileMenuOpen=!r.isMobileMenuOpen),class:"text-gray-500 hover:text-gray-300 focus:outline-none transition"},cp)])])]),r.isMobileMenuOpen?(q(),V("div",up,[g("div",fp,[fe(i,{to:"/",class:je(["block px-4 py-2 text-gray-300 hover:bg-darkblue rounded-lg transition",{"bg-darkblue":e.$route.path==="/"}])},{default:Ke(()=>[qe(" Conversations ")]),_:1},8,["class"]),r.userRole!=="professor"?(q(),Ct(i,{key:0,to:"/professors",class:je(["block px-4 py-2 text-gray-300 hover:bg-darkblue rounded-lg transition",{"bg-darkblue":e.$route.path==="/professors"}])},{default:Ke(()=>[qe(" Professeurs ")]),_:1},8,["class"])):pe("",!0),r.userRole==="admin"?(q(),Ct(i,{key:1,to:"/adminPage",class:je(["block px-4 py-2 text-gray-300 hover:bg-darkblue rounded-lg transition",{"bg-darkblue":e.$route.path==="/adminPage"}])},{default:Ke(()=>[qe(" Admin ")]),_:1},8,["class"])):pe("",!0),r.isAuthenticated?(q(),Ct(i,{key:2,to:"/profileParameter",class:"block px-4 py-2 text-gray-300 hover:bg-darkblue rounded-lg transition"},{default:Ke(()=>[qe(" Mon Profil ")]),_:1})):pe("",!0)]),r.isAuthenticated?(q(),V("div",dp,[g("button",{onClick:t[5]||(t[5]=(...l)=>o.logout&&o.logout(...l)),class:"block w-full text-left px-4 py-2 text-gray-300 hover:bg-darkblue transition"}," Se déconnecter ")])):(q(),V("div",hp,[g("button",{onClick:t[6]||(t[6]=(...l)=>o.goToLogin&&o.goToLogin(...l)),class:"block w-full text-left px-4 py-2 text-gray-300 hover:bg-darkblue transition"}," Se connecter "),g("button",{onClick:t[7]||(t[7]=(...l)=>o.goToSignup&&o.goToSignup(...l)),class:"block w-full text-left px-4 py-2 bg-purple-500 text-white hover:bg-purple-600 transition rounded-lg"}," S'inscrire ")]))])):pe("",!0)])}const Dn=Xt(Kh,[["render",pp],["__scopeId","data-v-c9ed93bd"]]),Wn="https://app.academ.my:5000",mp={name:"AdminDashboard",data(){return{name:"",email:"",password:"",subject:"",bio:"",totalAppointments:0,totalUsers:0,totalConversations:0}},methods:{async fetchStats(){var e;try{const t=localStorage.getItem("token");if(!t){alert("Vous devez être connecté pour consulter les statistiques.");return}const[n,s,r]=await Promise.all([te.get(`${Wn}/api/statistics/appointments`,{headers:{Authorization:`Bearer ${t}`}}),te.get(`${Wn}/api/statistics/users`,{headers:{Authorization:`Bearer ${t}`}}),te.get(`${Wn}/api/statistics/conversations`,{headers:{Authorization:`Bearer ${t}`}})]);this.totalAppointments=n.data.total,this.totalUsers=s.data.total,this.totalConversations=r.data.total}catch(t){console.error("Erreur lors de la récupération des statistiques:",((e=t.response)==null?void 0:e.data)||t.message),alert("Erreur lors de la récupération des statistiques.")}},async createProfessor(){var e;try{const t=localStorage.getItem("token");if(!t){alert("Vous devez être connecté pour effectuer cette action.");return}const n=await te.post(`${Wn}/api/users/createProfessor`,{name:this.name,email:this.email,password:this.password,subject:this.subject,bio:this.bio},{headers:{Authorization:`Bearer ${t}`}});this.name="",this.email="",this.password="",this.subject="",this.bio="",alert("Professeur créé avec succès !"),this.fetchStats()}catch(t){console.error("Erreur lors de la création du professeur:",((e=t.response)==null?void 0:e.data)||t.message),alert("Erreur lors de la création du professeur. Veuillez réessayer.")}}},mounted(){this.fetchStats()}},Ge=e=>(Jt("data-v-9105ca6d"),e=e(),Gt(),e),gp={class:"admin-dashboard p-8 min-h-screen text-white"},yp=Ge(()=>g("header",{class:"mb-8"},[g("h1",{class:"text-3xl font-bold bg-gradient-to-r from-purple-500 to-pink-500 bg-clip-text text-transparent"}," Tableau de Bord Administrateur "),g("p",{class:"text-gray-400"},"Vision d'ensemble et gestion des professeurs.")],-1)),_p={class:"dashboard-content grid grid-cols-2 gap-8 md:grid-cols-1"},bp={class:"stats bg-gray-800 p-6 rounded-lg shadow-lg"},wp=Ge(()=>g("h2",{class:"text-2xl font-bold bg-gradient-to-r from-purple-500 to-pink-500 bg-clip-text text-transparent mb-4"}," Statistiques ",-1)),vp={class:"stat-item mb-4"},xp=Ge(()=>g("h3",{class:"text-xl font-semibold text-gray-300"},"Nombre de rendez-vous",-1)),Ep={class:"text-4xl font-bold text-purple-500"},Sp={class:"stat-item mb-4"},Rp=Ge(()=>g("h3",{class:"text-xl font-semibold text-gray-300"},"Nombre d'utilisateurs",-1)),Ap={class:"text-4xl font-bold text-purple-500"},Cp={class:"stat-item"},Op=Ge(()=>g("h3",{class:"text-xl font-semibold text-gray-300"},"Nombre de conversations",-1)),Tp={class:"text-4xl font-bold text-purple-500"},Pp={class:"create-professor p-6 rounded-lg shadow-lg w-full"},kp=Ge(()=>g("h2",{class:"text-2xl font-bold bg-gradient-to-r from-purple-500 to-pink-500 bg-clip-text text-transparent mb-4"}," Créer un nouveau professeur ",-1)),Np={class:"mb-4"},Lp=Ge(()=>g("label",{for:"name",class:"block text-sm font-medium text-gray-300"},"Nom",-1)),Bp={class:"mb-4"},$p=Ge(()=>g("label",{for:"email",class:"block text-sm font-medium text-gray-300"},"Email",-1)),Ip={class:"mb-4"},Mp=Ge(()=>g("label",{for:"password",class:"block text-sm font-medium text-gray-300"},"Mot de passe",-1)),Fp={class:"mb-4"},Up=Ge(()=>g("label",{for:"subject",class:"block text-sm font-medium text-gray-300"},"Matière enseignée",-1)),Dp={class:"mb-4"},qp=Ge(()=>g("label",{for:"bio",class:"block text-sm font-medium text-gray-300"},"Biographie",-1)),jp=Ge(()=>g("button",{type:"submit",class:"w-full bg-gradient-to-r from-purple-500 to-pink-500 text-white py-3 rounded-lg shadow-md hover:shadow-lg transition"}," Créer le professeur ",-1));function Hp(e,t,n,s,r,o){return q(),V("div",gp,[yp,g("div",_p,[g("div",bp,[wp,g("div",vp,[xp,g("p",Ep,me(r.totalAppointments),1)]),g("div",Sp,[Rp,g("p",Ap,me(r.totalUsers),1)]),g("div",Cp,[Op,g("p",Tp,me(r.totalConversations),1)])]),g("div",Pp,[kp,g("form",{onSubmit:t[5]||(t[5]=ms((...i)=>o.createProfessor&&o.createProfessor(...i),["prevent"]))},[g("div",Np,[Lp,Re(g("input",{"onUpdate:modelValue":t[0]||(t[0]=i=>r.name=i),type:"text",id:"name",class:"mt-2 p-3 w-full border border-gray-600 rounded-lg bg-transparent text-white focus:ring-2 focus:ring-purple-500 focus:outline-none",placeholder:"Nom du professeur",required:""},null,512),[[Ae,r.name]])]),g("div",Bp,[$p,Re(g("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>r.email=i),type:"email",id:"email",class:"mt-2 p-3 w-full border border-gray-600 rounded-lg bg-transparent text-white focus:ring-2 focus:ring-purple-500 focus:outline-none",placeholder:"Email du professeur",required:""},null,512),[[Ae,r.email]])]),g("div",Ip,[Mp,Re(g("input",{"onUpdate:modelValue":t[2]||(t[2]=i=>r.password=i),type:"password",id:"password",class:"mt-2 p-3 w-full border border-gray-600 rounded-lg bg-transparent text-white focus:ring-2 focus:ring-purple-500 focus:outline-none",placeholder:"Mot de passe du professeur",required:""},null,512),[[Ae,r.password]])]),g("div",Fp,[Up,Re(g("input",{"onUpdate:modelValue":t[3]||(t[3]=i=>r.subject=i),type:"text",id:"subject",class:"mt-2 p-3 w-full border border-gray-600 rounded-lg bg-transparent text-white focus:ring-2 focus:ring-purple-500 focus:outline-none",placeholder:"Matière enseignée",required:""},null,512),[[Ae,r.subject]])]),g("div",Dp,[qp,Re(g("textarea",{"onUpdate:modelValue":t[4]||(t[4]=i=>r.bio=i),id:"bio",class:"mt-2 p-3 w-full border border-gray-600 rounded-lg bg-transparent text-white focus:ring-2 focus:ring-purple-500 focus:outline-none",placeholder:"Biographie du professeur",rows:"4",required:""},null,512),[[Ae,r.bio]])]),jp],32)])])])}const Vp=Xt(mp,[["render",Hp],["__scopeId","data-v-9105ca6d"]]),ao=e=>{if(!e)throw new Error("No token provided");const n=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),s=decodeURIComponent(atob(n).split("").map(function(r){return"%"+("00"+r.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(s)},zp=()=>{const e=localStorage.getItem("token");if(e)try{const t=ao(e);return t&&t.user&&t.user.role?t.user.role:(console.warn("Le rôle n'est pas défini dans le token JWT."),null)}catch(t){return console.error("Erreur lors du décodage du token JWT:",t),null}else return console.warn("Aucun token JWT trouvé."),null},Kp={class:"home-container"},Wp={key:1},Jp={__name:"AdminPage",setup(e){const t=he("");return un(()=>{const n=zp();n?t.value=n:console.warn("Rôle non trouvé ou utilisateur non authentifié.")}),(n,s)=>(q(),V("div",Kp,[fe(Dn),t.value==="admin"?(q(),Ct(Vp,{key:0})):pe("",!0),t.value?pe("",!0):(q(),V("p",Wp,"Aucun rôle défini ou utilisateur non authentifié."))]))}},Pi="https://app.academ.my:5000",Gp={data(){return{email:"",password:"",confirmPassword:"",error:"",isLogin:!0}},methods:{async login(){try{const e=await te.post(`${Pi}/api/auth/login`,{email:this.email,password:this.password});console.log("Response from login:",e.data),localStorage.setItem("token",e.data.token),this.$router.push({name:"conversations"})}catch{this.error="Mot de passe ou Email incorrecte. Veuillez réessayer."}},async register(){if(this.password!==this.confirmPassword){this.error="Les mots de passe ne correspondent pas";return}try{const e=await te.post(`${Pi}/api/auth/register`,{email:this.email,password:this.password});this.isLogin=!0,this.error=""}catch{this.error="Erreur lors de l'inscription. Veuillez réessayer."}}}},Fs=e=>(Jt("data-v-ae7663bb"),e=e(),Gt(),e),Xp={class:"auth-container flex justify-center items-center min-h-[100vh] text-gray-800"},Qp={class:"auth-card p-4 rounded-lg w-full max-w-[400px] text-center"},Yp=Fs(()=>g("img",{class:"w-1/5 mb-8 mx-auto",src:Ra,alt:"Logo"},null,-1)),Zp={class:"mb-2 text-2xl font-semibold"},em={class:"form-group"},tm=Fs(()=>g("label",{class:"label-form text-gray-600"},"Email:",-1)),nm={class:"form-group"},sm=Fs(()=>g("label",{class:"label-form text-gray-600"},"Mot de passe:",-1)),rm={key:0,class:"form-group"},om=Fs(()=>g("label",{class:"label-form"},"Confirmer le mot de passe:",-1)),im={type:"submit",class:"auth-button bg-purplee hover:bg-bluee text-white font-semibold p-2 w-full border-none rounded-lg cursor-pointer"},lm={key:0,class:"error text-red mt-1"},am={class:"toggle-auth mt-8"};function cm(e,t,n,s,r,o){return q(),V("div",Xp,[g("div",Qp,[Yp,g("h2",Zp,me(r.isLogin?"CONNEXION":"INSCRIPTION"),1),g("form",{onSubmit:t[3]||(t[3]=ms(i=>r.isLogin?o.login():o.register(),["prevent"]))},[g("div",em,[tm,Re(g("input",{type:"email","onUpdate:modelValue":t[0]||(t[0]=i=>r.email=i),class:"bg-transparent",placeholder:"Entrer votre email",required:""},null,512),[[Ae,r.email]])]),g("div",nm,[sm,Re(g("input",{type:"password","onUpdate:modelValue":t[1]||(t[1]=i=>r.password=i),class:"bg-transparent",placeholder:"Entrer votre mot de passe",required:""},null,512),[[Ae,r.password]])]),r.isLogin?pe("",!0):(q(),V("div",rm,[om,Re(g("input",{type:"password","onUpdate:modelValue":t[2]||(t[2]=i=>r.confirmPassword=i),class:"bg-transparent",placeholder:"Confirmer votre mot de passe",required:""},null,512),[[Ae,r.confirmPassword]])])),g("button",im,me(r.isLogin?"Se connecter":"S'inscrire"),1)],32),r.error?(q(),V("p",lm,me(r.error),1)):pe("",!0),g("p",am,[qe(me(r.isLogin?"Pas de compte ?":"Déjà un compte ?")+" ",1),g("a",{class:"text-fuchsia-400 hover:underline",href:"#",onClick:t[4]||(t[4]=ms(i=>r.isLogin=!r.isLogin,["prevent"]))},me(r.isLogin?"S'inscrire":"Se connecter"),1)])])])}const um=Xt(Gp,[["render",cm],["__scopeId","data-v-ae7663bb"]]),fm="https://app.academ.my:5000",dm=async()=>{try{return(await te.get(`${fm}/api/users/professors`)).data}catch(e){throw console.error("Erreur lors de la récupération des professeurs :",e),e}},Us=e=>(Jt("data-v-50e33939"),e=e(),Gt(),e),hm={class:"professors-container p-8 m-4 rounded-lg min-h-screen border-3 border-darkgray"},pm=Us(()=>g("h1",{class:"text-3xl font-bold bg-gradient-to-r from-purple-500 to-pink-500 bg-clip-text text-transparent mb-8"},"Trouvez votre professeur",-1)),mm={class:"mb-8"},gm={key:0,class:"flex justify-center w-full h-full flex-wrap gap-6"},ym={class:"flex items-center gap-3"},_m=["src"],bm={class:"text-3xl font-bold bg-gradient-to-r from-purple-500 to-pink-500 bg-clip-text text-transparent"},wm={class:"biography-container flex items-begin gap-2"},vm=Us(()=>g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[g("path",{fill:"#a464d4",d:"M18 22.116q-1.671 0-2.835-1.165Q14 19.787 14 18.116t1.165-2.836T18 14.116t2.836 1.164T22 18.116q0 1.67-1.164 2.835Q19.67 22.116 18 22.116M7.5 8.73h9v-1h-9zM11.521 20H5.616q-.672 0-1.144-.472T4 18.385V5.615q0-.67.472-1.143Q4.944 4 5.616 4h12.769q.67 0 1.143.472q.472.472.472 1.144v5.95q-.494-.158-.991-.247q-.498-.088-1.009-.088q-.506 0-.984.08q-.477.08-.939.226V11.5H7.5v1h6.587q-.758.521-1.332 1.223t-.945 1.546H7.5v1h3.96q-.108.423-.169.853q-.06.43-.06.878q0 .46.054 1.009t.236.991M18 18.116q.625 0 1.063-.438t.437-1.062t-.437-1.063T18 15.116t-1.062.437t-.438 1.063t.438 1.062t1.062.438m0 3q.75 0 1.4-.35t1.075-.975q-.575-.35-1.2-.513T18 19.116t-1.275.162t-1.2.513q.425.624 1.075.974t1.4.35"})],-1)),xm={class:"text-white"},Em={class:"biography-container flex items-begin gap-2"},Sm=Us(()=>g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[g("path",{fill:"#a464d4",d:"M8 12h8v-2H8zm0-4h8V6H8zm11.95 12.475L15.9 15.2q-.425-.575-1.05-.887T13.5 14H4V4q0-.825.588-1.412T6 2h12q.825 0 1.413.588T20 4v16q0 .125-.012.238t-.038.237M6 22q-.825 0-1.412-.587T4 20v-4h9.5q.25 0 .463.113t.362.312l4.2 5.5q-.125.05-.262.063T18 22z"})],-1)),Rm={class:"text-white"},Am=["onClick"],Cm={key:1,class:"text-white"},Om=Us(()=>g("p",null,"Aucun professeur trouvé.",-1)),Tm=[Om],Pm={__name:"Professors",setup(e){const t="https://app.academ.my:5000",n=he([]),s=he(""),r=he(null),o=ea();un(async()=>{try{const c=await dm();n.value=c}catch{r.value="Erreur lors de la récupération des professeurs"}});const l=Be(()=>n.value.filter(c=>{const u=s.value.toLowerCase();return c.name.toLowerCase().includes(u)||c.subject.toLowerCase().includes(u)})),a=c=>{o.push({name:"professorDetail",params:{id:c}})};return(c,u)=>(q(),V(Se,null,[fe(Dn),g("div",hm,[pm,g("div",mm,[Re(g("input",{"onUpdate:modelValue":u[0]||(u[0]=d=>s.value=d),type:"text",placeholder:"Rechercher par nom ou matière",class:"p-3 w-full border border-lightgray bg-transparent rounded-md focus:outline-none focus:ring-2 focus:darkgray text-white"},null,512),[[Ae,s.value]])]),l.value.length>0?(q(),V("div",gm,[(q(!0),V(Se,null,ts(l.value,d=>(q(),V("div",{key:d._id,class:"professor-card gradient relative flex flex-col gap-3 p-4 w-[400px] h-[200px] rounded-lg shadow-md hover:shadow-lg transition-shadow duration-200"},[g("div",ym,[g("img",{src:d.profilePicture?`${Ce(t)}/uploads/${d.profilePicture}`:"../assets/profil/default.webp",alt:"ProfileProfessor",class:"w-10 h-10 rounded-full border border-gray-300"},null,8,_m),g("h2",bm,me(d.name),1)]),g("div",wm,[vm,g("p",xm,me(d.bio),1)]),g("div",Em,[Sm,g("p",Rm,me(d.subject),1)]),g("button",{onClick:p=>a(d._id),class:"bg- p-1 w-fit absolute right-2 bottom-2 bg-gradient-to-r from-purple-500 to-pink-500 text-white px-6 py-2 rounded-lg shadow-md hover:shadow-lg transition"},"Voir le détail",8,Am)]))),128))])):(q(),V("div",Cm,Tm))])],64))}},km=Xt(Pm,[["__scopeId","data-v-50e33939"]]),co=e=>(Jt("data-v-aa8d68d2"),e=e(),Gt(),e),Nm={class:"min-h-screen"},Lm={key:0,class:"professor-detail bg-gray-900 p-8 rounded-lg shadow-lg relative max-w-2xl mx-auto text-white"},Bm=co(()=>g("path",{fill:"currentColor",d:"m7.825 13l4.9 4.9q.3.3.288.7t-.313.7q-.3.275-.7.288t-.7-.288l-6.6-6.6q-.15-.15-.213-.325T4.426 12t.063-.375t.212-.325l6.6-6.6q.275-.275.688-.275t.712.275q.3.3.3.713t-.3.712L7.825 11H19q.425 0 .713.288T20 12t-.288.713T19 13z"},null,-1)),$m=[Bm],Im={class:"text-2xl font-bold bg-gradient-to-r from-purple-500 to-pink-500 bg-clip-text text-transparent mb-4"},Mm={class:"mb-2"},Fm=co(()=>g("strong",{class:"text-purple-500"},"Matière :",-1)),Um={class:"mb-2"},Dm=co(()=>g("strong",{class:"text-purple-500"},"Biographie :",-1)),qm={__name:"professorDetail",setup(e){var d,p;const t=localStorage.getItem("token");let n=null,s=null;if(t){const m=ao(t);n=(d=m==null?void 0:m.user)==null?void 0:d.id,s=(p=m==null?void 0:m.user)==null?void 0:p.role,console.log("User ID récupéré depuis le token:",n),console.log("User Role récupéré depuis le token:",s)}else console.error("Aucun token JWT trouvé.");const r=gd(),o=ea(),i=r.params.id,l=he(null),a="https://app.academ.my:5000";un(async()=>{try{const m=await te.get(`${a}/api/users/${i}`);console.log("Données du professeur récupérées :",m.data),l.value=m.data}catch(m){console.error("Erreur lors de la récupération du professeur:",m)}console.log("Professeur ID :",i)});const c=()=>{o.push({name:"professors"})},u=async m=>{if(!n||!m){alert("Utilisateur ou professeur non trouvé.");return}console.log("User ID:",n),console.log("Professor ID:",m);try{const b=await te.post(`${a}/api/conversations`,{participants:[n,m]});o.push({name:"conversations"})}catch(b){console.error("Erreur lors de la création de la conversation:",b),alert("Erreur lors de la création de la conversation")}};return(m,b)=>(q(),V(Se,null,[fe(Dn),g("div",Nm,[l.value?(q(),V("div",Lm,[(q(),V("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:c,class:"mb-4 text-gray-400 cursor-pointer hover:text-gray-300 transition",width:"32",height:"32",viewBox:"0 0 24 24"},$m)),g("h2",Im,me(l.value.name),1),g("p",Mm,[Fm,qe(" "+me(l.value.subject),1)]),g("p",Um,[Dm,qe(" "+me(l.value.bio),1)]),l.value&&Ce(s)!=="professor"?(q(),V("button",{key:0,onClick:b[0]||(b[0]=E=>u(l.value._id)),class:"absolute bottom-4 right-4 bg-gradient-to-r from-purple-500 to-pink-500 text-white px-6 py-2 rounded-lg shadow-md hover:shadow-lg transition"}," Contacter ")):pe("",!0)])):pe("",!0)])],64))}},jm=Xt(qm,[["__scopeId","data-v-aa8d68d2"]]);var Aa="https://js.stripe.com/v3",Hm=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,ki="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Vm=function(){for(var t=document.querySelectorAll('script[src^="'.concat(Aa,'"]')),n=0;n<t.length;n++){var s=t[n];if(Hm.test(s.src))return s}return null},Ni=function(t){var n="",s=document.createElement("script");s.src="".concat(Aa).concat(n);var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(s),s},zm=function(t,n){!t||!t._registerWrapper||t._registerWrapper({name:"stripe-js",version:"4.8.0",startTime:n})},_n=null,Jn=null,Gn=null,Km=function(t){return function(){t(new Error("Failed to load Stripe.js"))}},Wm=function(t,n){return function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))}},Jm=function(t){return _n!==null?_n:(_n=new Promise(function(n,s){if(typeof window>"u"||typeof document>"u"){n(null);return}if(window.Stripe&&t&&console.warn(ki),window.Stripe){n(window.Stripe);return}try{var r=Vm();if(r&&t)console.warn(ki);else if(!r)r=Ni(t);else if(r&&Gn!==null&&Jn!==null){var o;r.removeEventListener("load",Gn),r.removeEventListener("error",Jn),(o=r.parentNode)===null||o===void 0||o.removeChild(r),r=Ni(t)}Gn=Wm(n,s),Jn=Km(s),r.addEventListener("load",Gn),r.addEventListener("error",Jn)}catch(i){s(i);return}}),_n.catch(function(n){return _n=null,Promise.reject(n)}))},Gm=function(t,n,s){if(t===null)return null;var r=t.apply(void 0,n);return zm(r,s),r},bn,Ca=!1,Oa=function(){return bn||(bn=Jm(null).catch(function(t){return bn=null,Promise.reject(t)}),bn)};Promise.resolve().then(function(){return Oa()}).catch(function(e){Ca||console.warn(e)});var Xm=function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];Ca=!0;var r=Date.now();return Oa().then(function(o){return Gm(o,n,r)})};const ht=Object.create(null);ht.open="0";ht.close="1";ht.ping="2";ht.pong="3";ht.message="4";ht.upgrade="5";ht.noop="6";const ls=Object.create(null);Object.keys(ht).forEach(e=>{ls[ht[e]]=e});const Pr={type:"error",data:"parser error"},Ta=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Pa=typeof ArrayBuffer=="function",ka=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,uo=({type:e,data:t},n,s)=>Ta&&t instanceof Blob?n?s(t):Li(t,s):Pa&&(t instanceof ArrayBuffer||ka(t))?n?s(t):Li(new Blob([t]),s):s(ht[e]+(t||"")),Li=(e,t)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];t("b"+(s||""))},n.readAsDataURL(e)};function Bi(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let rr;function Qm(e,t){if(Ta&&e.data instanceof Blob)return e.data.arrayBuffer().then(Bi).then(t);if(Pa&&(e.data instanceof ArrayBuffer||ka(e.data)))return t(Bi(e.data));uo(e,!1,n=>{rr||(rr=new TextEncoder),t(rr.encode(n))})}const $i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xn=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<$i.length;e++)xn[$i.charCodeAt(e)]=e;const Ym=e=>{let t=e.length*.75,n=e.length,s,r=0,o,i,l,a;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const c=new ArrayBuffer(t),u=new Uint8Array(c);for(s=0;s<n;s+=4)o=xn[e.charCodeAt(s)],i=xn[e.charCodeAt(s+1)],l=xn[e.charCodeAt(s+2)],a=xn[e.charCodeAt(s+3)],u[r++]=o<<2|i>>4,u[r++]=(i&15)<<4|l>>2,u[r++]=(l&3)<<6|a&63;return c},Zm=typeof ArrayBuffer=="function",fo=(e,t)=>{if(typeof e!="string")return{type:"message",data:Na(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:eg(e.substring(1),t)}:ls[n]?e.length>1?{type:ls[n],data:e.substring(1)}:{type:ls[n]}:Pr},eg=(e,t)=>{if(Zm){const n=Ym(e);return Na(n,t)}else return{base64:!0,data:e}},Na=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},La="",tg=(e,t)=>{const n=e.length,s=new Array(n);let r=0;e.forEach((o,i)=>{uo(o,!1,l=>{s[i]=l,++r===n&&t(s.join(La))})})},ng=(e,t)=>{const n=e.split(La),s=[];for(let r=0;r<n.length;r++){const o=fo(n[r],t);if(s.push(o),o.type==="error")break}return s};function sg(){return new TransformStream({transform(e,t){Qm(e,n=>{const s=n.length;let r;if(s<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,s);else if(s<65536){r=new Uint8Array(3);const o=new DataView(r.buffer);o.setUint8(0,126),o.setUint16(1,s)}else{r=new Uint8Array(9);const o=new DataView(r.buffer);o.setUint8(0,127),o.setBigUint64(1,BigInt(s))}e.data&&typeof e.data!="string"&&(r[0]|=128),t.enqueue(r),t.enqueue(n)})}})}let or;function Xn(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 s=0;for(let r=0;r<t;r++)n[r]=e[0][s++],s===e[0].length&&(e.shift(),s=0);return e.length&&s<e[0].length&&(e[0]=e[0].slice(s)),n}function rg(e,t){or||(or=new TextDecoder);const n=[];let s=0,r=-1,o=!1;return new TransformStream({transform(i,l){for(n.push(i);;){if(s===0){if(Xn(n)<1)break;const a=Qn(n,1);o=(a[0]&128)===128,r=a[0]&127,r<126?s=3:r===126?s=1:s=2}else if(s===1){if(Xn(n)<2)break;const a=Qn(n,2);r=new DataView(a.buffer,a.byteOffset,a.length).getUint16(0),s=3}else if(s===2){if(Xn(n)<8)break;const a=Qn(n,8),c=new DataView(a.buffer,a.byteOffset,a.length),u=c.getUint32(0);if(u>Math.pow(2,21)-1){l.enqueue(Pr);break}r=u*Math.pow(2,32)+c.getUint32(4),s=3}else{if(Xn(n)<r)break;const a=Qn(n,r);l.enqueue(fo(o?a:or.decode(a),t)),s=0}if(r===0||r>e){l.enqueue(Pr);break}}}})}const Ba=4;function be(e){if(e)return og(e)}function og(e){for(var t in be.prototype)e[t]=be.prototype[t];return e}be.prototype.on=be.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};be.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};be.prototype.off=be.prototype.removeListener=be.prototype.removeAllListeners=be.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 s,r=0;r<n.length;r++)if(s=n[r],s===t||s.fn===t){n.splice(r,1);break}return n.length===0&&delete this._callbacks["$"+e],this};be.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],s=1;s<arguments.length;s++)t[s-1]=arguments[s];if(n){n=n.slice(0);for(var s=0,r=n.length;s<r;++s)n[s].apply(this,t)}return this};be.prototype.emitReserved=be.prototype.emit;be.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};be.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Ds=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),We=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),ig="arraybuffer";function $a(e,...t){return t.reduce((n,s)=>(e.hasOwnProperty(s)&&(n[s]=e[s]),n),{})}const lg=We.setTimeout,ag=We.clearTimeout;function qs(e,t){t.useNativeTimers?(e.setTimeoutFn=lg.bind(We),e.clearTimeoutFn=ag.bind(We)):(e.setTimeoutFn=We.setTimeout.bind(We),e.clearTimeoutFn=We.clearTimeout.bind(We))}const cg=1.33;function ug(e){return typeof e=="string"?fg(e):Math.ceil((e.byteLength||e.size)*cg)}function fg(e){let t=0,n=0;for(let s=0,r=e.length;s<r;s++)t=e.charCodeAt(s),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(s++,n+=4);return n}function Ia(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function dg(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function hg(e){let t={},n=e.split("&");for(let s=0,r=n.length;s<r;s++){let o=n[s].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}class pg extends Error{constructor(t,n,s){super(t),this.description=n,this.context=s,this.type="TransportError"}}class ho extends be{constructor(t){super(),this.writable=!1,qs(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,s){return super.emitReserved("error",new pg(t,n,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=fo(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=dg(t);return n.length?"?"+n:""}}class mg extends ho{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};ng(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,tg(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]=Ia()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let Ma=!1;try{Ma=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const gg=Ma;function yg(){}class _g extends mg{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let s=location.port;s||(s=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||s!==t.port}}doWrite(t,n){const s=this.request({method:"POST",data:t});s.on("success",n),s.on("error",(r,o)=>{this.onError("xhr post error",r,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,s)=>{this.onError("xhr poll error",n,s)}),this.pollXhr=t}}let rn=class as extends be{constructor(t,n,s){super(),this.createRequest=t,qs(this,s),this._opts=s,this._method=s.method||"GET",this._uri=n,this._data=s.data!==void 0?s.data:null,this._create()}_create(){var t;const n=$a(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const s=this._xhr=this.createRequest(n);try{s.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let r in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(r)&&s.setRequestHeader(r,this._opts.extraHeaders[r])}}catch{}if(this._method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var r;s.readyState===3&&((r=this._opts.cookieJar)===null||r===void 0||r.parseCookies(s.getResponseHeader("set-cookie"))),s.readyState===4&&(s.status===200||s.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof s.status=="number"?s.status:0)},0))},s.send(this._data)}catch(r){this.setTimeoutFn(()=>{this._onError(r)},0);return}typeof document<"u"&&(this._index=as.requestsCount++,as.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=yg,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete as.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()}};rn.requestsCount=0;rn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Ii);else if(typeof addEventListener=="function"){const e="onpagehide"in We?"pagehide":"unload";addEventListener(e,Ii,!1)}}function Ii(){for(let e in rn.requests)rn.requests.hasOwnProperty(e)&&rn.requests[e].abort()}const bg=function(){const e=Fa({xdomain:!1});return e&&e.responseType!==null}();class wg extends _g{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=bg&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new rn(Fa,this.uri(),t)}}function Fa(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||gg))return new XMLHttpRequest}catch{}if(!t)try{return new We[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Ua=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class vg extends ho{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,s=Ua?{}:$a(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,s)}catch(r){return this.emitReserved("error",r)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const s=t[n],r=n===t.length-1;uo(s,this.supportsBinary,o=>{try{this.doWrite(s,o)}catch{}r&&Ds(()=>{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]=Ia()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const ir=We.WebSocket||We.MozWebSocket;class xg extends vg{createSocket(t,n,s){return Ua?new ir(t,n,s):n?new ir(t,n):new ir(t)}doWrite(t,n){this.ws.send(n)}}class Eg extends ho{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=rg(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=t.readable.pipeThrough(n).getReader(),r=sg();r.readable.pipeTo(t.writable),this._writer=r.writable.getWriter();const o=()=>{s.read().then(({done:l,value:a})=>{l||(this.onPacket(a),o())}).catch(l=>{})};o();const i={type:"open"};this.query.sid&&(i.data=`{"sid":"${this.query.sid}"}`),this._writer.write(i).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const s=t[n],r=n===t.length-1;this._writer.write(s).then(()=>{r&&Ds(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const Sg={websocket:xg,webtransport:Eg,polling:wg},Rg=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Ag=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function kr(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),s=e.indexOf("]");n!=-1&&s!=-1&&(e=e.substring(0,n)+e.substring(n,s).replace(/:/g,";")+e.substring(s,e.length));let r=Rg.exec(e||""),o={},i=14;for(;i--;)o[Ag[i]]=r[i]||"";return n!=-1&&s!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=Cg(o,o.path),o.queryKey=Og(o,o.query),o}function Cg(e,t){const n=/\/{2,9}/g,s=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&s.splice(0,1),t.slice(-1)=="/"&&s.splice(s.length-1,1),s}function Og(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,r,o){r&&(n[r]=o)}),n}const Nr=typeof addEventListener=="function"&&typeof removeEventListener=="function",cs=[];Nr&&addEventListener("offline",()=>{cs.forEach(e=>e())},!1);class Pt extends be{constructor(t,n){if(super(),this.binaryType=ig,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const s=kr(t);n.hostname=s.host,n.secure=s.protocol==="https"||s.protocol==="wss",n.port=s.port,s.query&&(n.query=s.query)}else n.host&&(n.hostname=kr(n.host).host);qs(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=[],this._transportsByName={},n.transports.forEach(s=>{const r=s.prototype.name;this.transports.push(r),this._transportsByName[r]=s}),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=hg(this.opts.query)),Nr&&(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"})},cs.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=Ba,n.transport=t,this.id&&(n.sid=this.id);const s=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](s)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&Pt.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}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))}onOpen(){this.readyState="open",Pt.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),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 s=0;s<this.writeBuffer.length;s++){const r=this.writeBuffer[s].data;if(r&&(n+=ug(r)),s>0&&n>this._maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Ds(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,s){return this._sendPacket("message",t,n,s),this}send(t,n,s){return this._sendPacket("message",t,n,s),this}_sendPacket(t,n,s,r){if(typeof n=="function"&&(r=n,n=void 0),typeof s=="function"&&(r=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const o={type:t,data:n,options:s};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},s=()=>{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?s():t()}):this.upgrading?s():t()),this}_onError(t){if(Pt.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Nr&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=cs.indexOf(this._offlineEventListener);s!==-1&&cs.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}Pt.protocol=Ba;class Tg extends Pt{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),s=!1;Pt.priorWebsocketSuccess=!1;const r=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",d=>{if(!s)if(d.type==="pong"&&d.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Pt.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const p=new Error("probe error");p.transport=n.name,this.emitReserved("upgradeError",p)}}))};function o(){s||(s=!0,u(),n.close(),n=null)}const i=d=>{const p=new Error("probe error: "+d);p.transport=n.name,o(),this.emitReserved("upgradeError",p)};function l(){i("transport closed")}function a(){i("socket closed")}function c(d){n&&d.name!==n.name&&o()}const u=()=>{n.removeListener("open",r),n.removeListener("error",i),n.removeListener("close",l),this.off("close",a),this.off("upgrading",c)};n.once("open",r),n.once("error",i),n.once("close",l),this.once("close",a),this.once("upgrading",c),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{s||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let s=0;s<t.length;s++)~this.transports.indexOf(t[s])&&n.push(t[s]);return n}}let Pg=class extends Tg{constructor(t,n={}){const s=typeof t=="object"?t:n;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(r=>Sg[r]).filter(r=>!!r)),super(t,s)}};function kg(e,t="",n){let s=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),s=kr(e)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const o=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+o+":"+s.port+t,s.href=s.protocol+"://"+o+(n&&n.port===s.port?"":":"+s.port),s}const Ng=typeof ArrayBuffer=="function",Lg=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Da=Object.prototype.toString,Bg=typeof Blob=="function"||typeof Blob<"u"&&Da.call(Blob)==="[object BlobConstructor]",$g=typeof File=="function"||typeof File<"u"&&Da.call(File)==="[object FileConstructor]";function po(e){return Ng&&(e instanceof ArrayBuffer||Lg(e))||Bg&&e instanceof Blob||$g&&e instanceof File}function us(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,s=e.length;n<s;n++)if(us(e[n]))return!0;return!1}if(po(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return us(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&us(e[n]))return!0;return!1}function Ig(e){const t=[],n=e.data,s=e;return s.data=Lr(n,t),s.attachments=t.length,{packet:s,buffers:t}}function Lr(e,t){if(!e)return e;if(po(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let s=0;s<e.length;s++)n[s]=Lr(e[s],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(n[s]=Lr(e[s],t));return n}return e}function Mg(e,t){return e.data=Br(e.data,t),delete e.attachments,e}function Br(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=Br(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=Br(e[n],t));return e}const Fg=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Ug=5;var ee;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(ee||(ee={}));class Dg{constructor(t){this.replacer=t}encode(t){return(t.type===ee.EVENT||t.type===ee.ACK)&&us(t)?this.encodeAsBinary({type:t.type===ee.EVENT?ee.BINARY_EVENT:ee.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===ee.BINARY_EVENT||t.type===ee.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=Ig(t),s=this.encodeAsString(n.packet),r=n.buffers;return r.unshift(s),r}}function Mi(e){return Object.prototype.toString.call(e)==="[object Object]"}class mo extends be{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const s=n.type===ee.BINARY_EVENT;s||n.type===ee.BINARY_ACK?(n.type=s?ee.EVENT:ee.ACK,this.reconstructor=new qg(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(po(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const s={type:Number(t.charAt(0))};if(ee[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===ee.BINARY_EVENT||s.type===ee.BINARY_ACK){const o=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const i=t.substring(o,n);if(i!=Number(i)||t.charAt(n)!=="-")throw new Error("Illegal attachments");s.attachments=Number(i)}if(t.charAt(n+1)==="/"){const o=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););s.nsp=t.substring(o,n)}else s.nsp="/";const r=t.charAt(n+1);if(r!==""&&Number(r)==r){const o=n+1;for(;++n;){const i=t.charAt(n);if(i==null||Number(i)!=i){--n;break}if(n===t.length)break}s.id=Number(t.substring(o,n+1))}if(t.charAt(++n)){const o=this.tryParse(t.substr(n));if(mo.isPayloadValid(s.type,o))s.data=o;else throw new Error("invalid payload")}return s}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case ee.CONNECT:return Mi(n);case ee.DISCONNECT:return n===void 0;case ee.CONNECT_ERROR:return typeof n=="string"||Mi(n);case ee.EVENT:case ee.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&Fg.indexOf(n[0])===-1);case ee.ACK:case ee.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class qg{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=Mg(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const jg=Object.freeze(Object.defineProperty({__proto__:null,Decoder:mo,Encoder:Dg,get PacketType(){return ee},protocol:Ug},Symbol.toStringTag,{value:"Module"}));function tt(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const Hg=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class qa extends be{constructor(t,n,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[tt(t,"open",this.onopen.bind(this)),tt(t,"packet",this.onpacket.bind(this)),tt(t,"error",this.onerror.bind(this)),tt(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var s,r,o;if(Hg.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const i={type:ee.EVENT,data:n};if(i.options={},i.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const u=this.ids++,d=n.pop();this._registerAckCallback(u,d),i.id=u}const l=(r=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||r===void 0?void 0:r.writable,a=this.connected&&!(!((o=this.io.engine)===null||o===void 0)&&o._hasPingExpired());return this.flags.volatile&&!l||(a?(this.notifyOutgoingListeners(i),this.packet(i)):this.sendBuffer.push(i)),this.flags={},this}_registerAckCallback(t,n){var s;const r=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(r===void 0){this.acks[t]=n;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let l=0;l<this.sendBuffer.length;l++)this.sendBuffer[l].id===t&&this.sendBuffer.splice(l,1);n.call(this,new Error("operation has timed out"))},r),i=(...l)=>{this.io.clearTimeoutFn(o),n.apply(this,l)};i.withError=!0,this.acks[t]=i}emitWithAck(t,...n){return new Promise((s,r)=>{const o=(i,l)=>i?r(i):s(l);o.withError=!0,n.push(o),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((r,...o)=>s!==this._queue[0]?void 0:(r!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(r)):(this._queue.shift(),n&&n(null,...o)),s.pending=!1,this._drainQueue())),this._queue.push(s),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:ee.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(s=>String(s.id)===t)){const s=this.acks[t];delete this.acks[t],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case ee.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 ee.EVENT:case ee.BINARY_EVENT:this.onevent(t);break;case ee.ACK:case ee.BINARY_ACK:this.onack(t);break;case ee.DISCONNECT:this.ondisconnect();break;case ee.CONNECT_ERROR:this.destroy();const s=new Error(t.data.message);s.data=t.data.data,this.emitReserved("connect_error",s);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 s of n)s.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 s=!1;return function(...r){s||(s=!0,n.packet({type:ee.ACK,id:t,data:r}))}}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:ee.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 s=0;s<n.length;s++)if(t===n[s])return n.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let s=0;s<n.length;s++)if(t===n[s])return n.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const s of n)s.apply(this,t.data)}}}function hn(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}hn.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};hn.prototype.reset=function(){this.attempts=0};hn.prototype.setMin=function(e){this.ms=e};hn.prototype.setMax=function(e){this.max=e};hn.prototype.setJitter=function(e){this.jitter=e};class $r extends be{constructor(t,n){var s;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,qs(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((s=n.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new hn({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const r=n.parser||jg;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),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 Pg(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const r=tt(n,"open",function(){s.onopen(),t&&t()}),o=l=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",l),t?t(l):this.maybeReconnectOnOpen()},i=tt(n,"error",o);if(this._timeout!==!1){const l=this._timeout,a=this.setTimeoutFn(()=>{r(),o(new Error("timeout")),n.close()},l);this.opts.autoUnref&&a.unref(),this.subs.push(()=>{this.clearTimeoutFn(a)})}return this.subs.push(r),this.subs.push(i),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(tt(t,"ping",this.onping.bind(this)),tt(t,"data",this.ondata.bind(this)),tt(t,"error",this.onerror.bind(this)),tt(t,"close",this.onclose.bind(this)),tt(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){Ds(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let s=this.nsps[t];return s?this._autoConnect&&!s.active&&s.connect():(s=new qa(this,t,n),this.nsps[t]=s),s}_destroy(t){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let s=0;s<n.length;s++)this.engine.write(n[s],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),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 s=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(r=>{r?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",r)):t.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const wn={};function fs(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=kg(e,t.path||"/socket.io"),s=n.source,r=n.id,o=n.path,i=wn[r]&&o in wn[r].nsps,l=t.forceNew||t["force new connection"]||t.multiplex===!1||i;let a;return l?a=new $r(s,t):(wn[r]||(wn[r]=new $r(s,t)),a=wn[r]),n.query&&!t.query&&(t.query=n.queryKey),a.socket(n.path,t)}Object.assign(fs,{Manager:$r,Socket:qa,io:fs,connect:fs});const pt=e=>(Jt("data-v-0777ad39"),e=e(),Gt(),e),Vg={class:"messenger-layout h-full flex text-white overflow-y-hidden mt-4 mx-4 gap-4 md:flex-col"},zg={class:"conversations-list w-1/4 p-4 rounded-lg h-[89.5vh] shadow-lg md:w-full md:h-fit md:max-h-[50vh] overflow-y-auto"},Kg={class:"top-conversations-list-container flex items-center justify-between h-fit mb-4"},Wg=pt(()=>g("h1",{class:"text-2xl font-bold bg-gradient-to-r from-purple-500 to-pink-500 bg-clip-text text-transparent"}," Conversations ",-1)),Jg=pt(()=>g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",class:"cursor-pointer text-gray-300 hover:text-purple-500 transition",viewBox:"0 0 21 21"},[g("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},[g("path",{d:"M10 4.5H5.5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V11"}),g("path",{d:"M17.5 3.467a1.46 1.46 0 0 1-.017 2.05L10.5 12.5l-3 1l1-3l6.987-7.046a1.41 1.41 0 0 1 1.885-.104zm-2 2.033l.953 1"})])],-1)),Gg=["onClick"],Xg={class:"flex items-center gap-3"},Qg=["src"],Yg={class:"font-semibold text-white"},Zg={class:"text-sm text-gray-400 truncate"},ey={class:"conversation-detail w-3/4 rounded-lg relative h-[89.5vh] shadow-lg flex flex-col md:w-full"},ty={key:0,class:"top-conversation-detail flex sticky top-0 items-center gap-3 p-4 border-b border-gray-700"},ny=["src"],sy={class:"text-lg font-bold text-white"},ry={key:1,class:"flex-1 flex flex-col h-full"},oy=["src"],iy={key:0,class:"typing-indicator text-gray-400 italic ml-5"},ly={class:"message-input flex items-center gap-4 p-4"},ay=pt(()=>g("path",{fill:"currentColor",d:"M21.243 12.437a.5.5 0 0 0 0-.874l-2.282-1.268A75.5 75.5 0 0 0 4.813 4.231l-.665-.208A.5.5 0 0 0 3.5 4.5v5.75a.5.5 0 0 0 .474.5l1.01.053a44.4 44.4 0 0 1 7.314.998l.238.053c.053.011.076.033.089.05a.16.16 0 0 1 .029.096c0 .04-.013.074-.029.096c-.013.017-.036.039-.089.05l-.238.053a44.5 44.5 0 0 1-7.315.999l-1.01.053a.5.5 0 0 0-.473.499v5.75a.5.5 0 0 0 .65.477l.664-.208a75.5 75.5 0 0 0 14.147-6.064z"},null,-1)),cy=[ay],uy={key:2,class:"flex-1 flex items-center justify-center text-gray-400"},fy=pt(()=>g("p",null,"Sélectionnez une conversation pour commencer à discuter.",-1)),dy=[fy],hy={key:0,class:"fixed inset-0 flex justify-center items-center z-50"},py={class:"modal-container border border-bordergray shadow-xl text-white p-6 rounded-lg w-96"},my=pt(()=>g("h2",{class:"text-xl font-bold mb-4"},"Réserver une session",-1)),gy=pt(()=>g("label",{class:"block mb-2"},"Date:",-1)),yy=pt(()=>g("label",{class:"block mb-2"},"Heure:",-1)),_y={class:"custom-select"},by={key:0,class:"options-list -mt-[1.2rem] bg-darkgray shadow-lg max-h-48 overflow-y-auto"},wy=["onClick"],vy=pt(()=>g("label",{class:"block mb-2"},"Montant (€):",-1)),xy=pt(()=>g("label",{class:"block mb-2 text-white"},"Coordonnées bancaires:",-1)),Ey=pt(()=>g("div",{id:"card-element",class:"text-white mb-4"},null,-1)),Sy={__name:"Conversations",setup(e){const t="https://app.academ.my:5000",n="pk_test_51LmhGsHQanXHoJn0wBK5v2yQyHFdQ4KlSXSXZobDhxFPCrhVwWtCwWXvNIxjOQdi65riR24NEgQyY6Ck1UZkPqq800jtbOgNU8",s=fs(t),r=Xm(n);let o;const i=he(!1),l=he(""),a=he([]),c=he(""),u=he(null),d=he(!1),p=he(""),m=he(""),b=he(0);let E=!1;const R=he(""),B=he(!1),N=()=>{B.value=!B.value},T=W=>{m.value=W,B.value=!1};let F=null;const X=he([...Array(24).keys()].flatMap(W=>[`${String(W).padStart(2,"0")}:00`,`${String(W).padStart(2,"0")}:30`])),D=Be(()=>a.value.sort((W,G)=>new Date(G.updatedAt)-new Date(W.updatedAt))),K=Be(()=>a.value.find(W=>W._id===u.value)),we=he(null),ke=he(null);function Ue(){ke.value&&(ke.value.scrollTop=ke.value.scrollHeight)}const lt=async()=>{const W=localStorage.getItem("token");if(!W)return;const G=ao(W);F=G.user.id,l.value=G.user.role;try{const Q=await te.get(`${t}/api/conversations/${F}`);console.log("Conversations récupérées :",Q.data),a.value=Q.data.map(ye=>{if(ye.messages){const Qe=ye.messages.reduce((Ye,_e)=>(Ye.some(w=>{var x,O;return w.text===_e.text&&((x=w.sender)==null?void 0:x._id)===((O=_e.sender)==null?void 0:O._id)&&w.createdAt===_e.createdAt})||Ye.push(_e),Ye),[]);ye.messages=Qe}return ye}),D.value.length>0&&at(D.value[0]._id)}catch(Q){console.error("Erreur lors du chargement des conversations",Q)}},at=W=>{u.value=W;const G=a.value.find(Q=>Q._id===W);if(G){const Q=xe(G.participants);Q&&(we.value=Q,R.value=Q.stripeAccountId,console.log("ID Stripe du professeur sélectionné :",R.value))}s.emit("join-conversation",W)},xe=W=>W.find(G=>G._id!==F),It=async()=>{if(c.value.trim()===""||!K.value||E)return;console.log("Message prêt à être envoyé :",{text:c.value.trim(),senderId:F}),E=!0;const W=c.value.trim();c.value="";try{const Q=(await te.post(`${t}/api/conversations/${u.value}/message`,{senderId:F,text:W})).data;K.value.messages.some(ye=>ye._id===Q._id)||K.value.messages.push(Q),s.emit("new-message",{conversationId:u.value,message:Q})}catch(G){console.error("Erreur lors de l'envoi du message",G)}finally{E=!1}},bt=async()=>{try{const W=await r;d.value=!0,setTimeout(()=>{o||(o=W.elements()),document.getElementById("card-element").children.length||o.create("card").mount("#card-element")},100)}catch(W){console.error("Erreur lors de l'ouverture de la modale de paiement :",W)}},ge=async()=>{var W;try{if(console.log("Valeur actuelle de totalAmount :",b.value),!b.value||isNaN(b.value)||b.value<=0){alert("Veuillez entrer un montant valide.");return}const G={bookingDate:p.value,bookingTime:m.value,amount:Math.round(b.value*100),currency:"eur",professorStripeAccountId:R.value},Q=await te.post(`${t}/api/booking/schedule-payment`,G);alert(Q.data.message),re()}catch(G){console.error("Erreur lors de la réservation :",((W=G.response)==null?void 0:W.data)||G.message),alert("Erreur lors de la réservation. Consultez la console pour plus de détails.")}},re=()=>{d.value=!1},se=()=>{u.value&&s.emit("typing",{conversationId:u.value,userId:F})},Xe=()=>{u.value&&s.emit("stop-typing",{conversationId:u.value,userId:F})};return un(()=>{lt(),Ue(),s.on("user-typing",W=>{W!==F&&(i.value=!0)}),s.on("user-stopped-typing",W=>{W!==F&&(i.value=!1)}),s.on("message-received",({conversationId:W,message:G})=>{const Q=a.value.find(ye=>ye._id===W);Q&&(Q.messages.some(ye=>ye._id===G._id)||Q.messages.push(G))})}),An([u,a],()=>{Ue()}),(W,G)=>{var ye,Qe,Ye,_e,w;const Q=Xr("router-link");return q(),V(Se,null,[fe(Dn),g("div",Vg,[g("div",zg,[g("div",Kg,[Wg,l.value!="professor"?(q(),Ct(Q,{key:0,to:"professors"},{default:Ke(()=>[Jg]),_:1})):pe("",!0)]),(q(!0),V(Se,null,ts(D.value,x=>{var O,I,Z,le;return q(),V("div",{key:x==null?void 0:x._id,class:je(["conversation-item p-3 mb-3 rounded-lg cursor-pointer back hover:bg-darkblue transition",{"bg-gray-700":u.value===x._id}]),onClick:f=>at(x._id)},[g("div",Xg,[g("img",{src:(O=xe(x==null?void 0:x.participants))!=null&&O.profilePicture?`${Ce(t)}/uploads/${xe(x.participants).profilePicture}`:"../../assets/profil/default.webp",alt:"Profile",class:"w-10 h-10 rounded-full border border-gray-600"},null,8,Qg),g("h3",Yg,me(xe(x==null?void 0:x.participants).name),1)]),g("p",Zg,me((le=(Z=x==null?void 0:x.messages)==null?void 0:Z[((I=x==null?void 0:x.messages)==null?void 0:I.length)-1])==null?void 0:le.text),1)],10,Gg)}),128))]),g("div",ey,[K.value?(q(),V("div",ty,[g("img",{src:(Qe=xe((ye=K.value)==null?void 0:ye.participants))!=null&&Qe.profilePicture?`${Ce(t)}/uploads/${xe((Ye=K.value)==null?void 0:Ye.participants).profilePicture}`:"../../assets/profil/default.webp",alt:"Profile",class:"w-12 h-12 rounded-full border border-gray-600"},null,8,ny),g("h2",sy,me(xe((_e=K.value)==null?void 0:_e.participants).name),1),K.value&&K.value.messages.length>=15&&l.value!=="professor"?(q(),V("button",{key:0,onClick:bt,class:"ml-auto bg-gradient-to-r from-purple-500 to-pink-500 text-white px-4 py-2 rounded-lg shadow-md hover:shadow-lg transition"}," Réserver ")):pe("",!0)])):pe("",!0),K.value?(q(),V("div",ry,[g("div",{ref_key:"messagesContainer",ref:ke,class:"messages-container flex-1 p-4 space-y-4"},[(q(!0),V(Se,null,ts((w=K.value)==null?void 0:w.messages,x=>{var O,I,Z,le,f,h,y;return q(),V("div",{key:x._id,class:je([{"justify-start":((O=x.sender)==null?void 0:O._id)!==Ce(F),"justify-end":((I=x.sender)==null?void 0:I._id)===Ce(F)},"flex items-center space-x-3"])},[((Z=x.sender)==null?void 0:Z._id)!==Ce(F)?(q(),V("img",{key:0,src:(le=x.sender)!=null&&le.profilePicture?`${Ce(t)}/uploads/${(f=x.sender)==null?void 0:f.profilePicture}`:"../../assets/profil/default.webp",alt:"Profile",class:"w-8 h-8 rounded-full border border-gray-600"},null,8,oy)):pe("",!0),g("p",{class:je([{"back text-white p-3 rounded-lg":((h=x.sender)==null?void 0:h._id)!==Ce(F),"bg-gradient-to-r from-purple-500 to-pink-500 text-white p-3 rounded-lg":((y=x.sender)==null?void 0:y._id)===Ce(F)},"max-w-md"])},me(x==null?void 0:x.text),3)],2)}),128))],512),i.value&&u.value?(q(),V("div",iy," L'autre utilisateur est en train d'écrire... ")):pe("",!0),g("div",ly,[Re(g("input",{"onUpdate:modelValue":G[0]||(G[0]=x=>c.value=x),type:"text",placeholder:"Aa",class:"flex-1 back text-white p-3 rounded-lg focus:ring-2 focus:ring-purple-500 mb-0",onInput:se,onBlur:Xe},null,544),[[Ae,c.value]]),(q(),V("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:It,class:"cursor-pointer text-gray-400 hover:text-purple-500 transition",width:"35",height:"35",viewBox:"0 0 24 24"},cy))])])):(q(),V("div",uy,dy))]),d.value?(q(),V("div",hy,[g("div",py,[my,gy,Re(g("input",{type:"date","onUpdate:modelValue":G[1]||(G[1]=x=>p.value=x),class:"w-full p-2 mb-4 border rounded-md"},null,512),[[Ae,p.value]]),yy,g("div",_y,[g("div",{class:"selected-option cursor-pointer",onClick:N},me(m.value||"Sélectionnez une heure"),1),B.value?(q(),V("ul",by,[(q(!0),V(Se,null,ts(X.value,x=>(q(),V("li",{class:"option p-2 hover:bg-gray cursor-pointer",key:x,onClick:O=>T(x)},me(x),9,wy))),128))])):pe("",!0)]),vy,Re(g("input",{type:"number","onUpdate:modelValue":G[2]||(G[2]=x=>b.value=x),class:"w-full p-2 mb-4 border rounded-md",min:"1",placeholder:"Entrer le montant"},null,512),[[Ae,b.value,void 0,{number:!0}]]),xy,Ey,g("div",{class:"flex justify-end space-x-4"},[g("button",{onClick:re,class:"px-4 py-2 bg-gray-700 rounded hover:bg-gray-900"},"Annuler"),g("button",{onClick:ge,class:"ml-auto bg-gradient-to-r from-purple-500 to-pink-500 text-white px-4 py-2 rounded-lg shadow-md hover:shadow-lg transition"},"Confirmer")])])])):pe("",!0)])],64)}}},Ry=Xt(Sy,[["__scopeId","data-v-0777ad39"]]),$t=e=>(Jt("data-v-72f1aaf5"),e=e(),Gt(),e),Ay={class:"p-8 text-white"},Cy=$t(()=>g("h1",{class:"text-3xl font-bold bg-gradient-to-r from-purple-500 to-pink-500 bg-clip-text text-transparent mb-8"}," Modifier le profil ",-1)),Oy={class:"form-group mb-6"},Ty=$t(()=>g("label",{for:"name",class:"block text-sm font-medium text-gray-300"},"Nom",-1)),Py={class:"form-group mb-6"},ky=$t(()=>g("label",{for:"email",class:"block text-sm font-medium text-gray-300"},"Email",-1)),Ny={class:"form-group mb-6"},Ly=$t(()=>g("label",{for:"role",class:"block text-sm font-medium text-gray-300"},"Rôle",-1)),By={class:"form-group mb-6"},$y=$t(()=>g("label",{for:"idStripe",class:"block text-sm font-medium text-gray-300"},"ID du compte Stripe",-1)),Iy={class:"form-group mb-6"},My=$t(()=>g("label",{for:"password",class:"block text-sm font-medium text-gray-300"},"Mot de passe",-1)),Fy={class:"form-group mb-6"},Uy=$t(()=>g("label",{for:"profilePicture",class:"block text-sm font-medium text-gray-300"},"Photo de profil",-1)),Dy={key:0,class:"mb-6"},qy=["src"],jy=$t(()=>g("button",{type:"submit",class:"w-full bg-gradient-to-r from-purple-500 to-pink-500 text-white py-3 rounded-lg shadow-md hover:shadow-lg transition"}," Mettre à jour le profil ",-1)),Hy={__name:"profileParameter",setup(e){const t="https://app.academ.my:5000",n=he({name:"",email:"",idstripe:"",password:""}),s=he(null),r=he(null),o=l=>{const a=l.target.files[0];if(a){s.value=a;const c=new FileReader;c.onload=u=>{r.value=u.target.result},c.readAsDataURL(a)}};un(async()=>{try{const l=localStorage.getItem("token"),a=await te.get(`${t}/api/users/profile`,{headers:{Authorization:`Bearer ${l}`}});a.data?(n.value.name=a.data.name||"",n.value.email=a.data.email||"",n.value.idstripe=a.data.stripeAccountId||"",n.value.role=a.data.role||"",r.value=a.data.profilePicture?`${t}/uploads/${a.data.profilePicture}`:"default-profile.png"):console.error("Aucune donnée utilisateur reçue.")}catch(l){console.error("Erreur lors de la récupération du profil utilisateur",l)}});const i=async()=>{const l=new FormData;l.append("name",n.value.name),l.append("email",n.value.email),n.value.password&&l.append("password",n.value.password),s.value&&l.append("profilePicture",s.value);try{const a=localStorage.getItem("token"),c=await te.post(`${t}/api/users/updateProfile`,l,{headers:{"Content-Type":"multipart/form-data",Authorization:`Bearer ${a}`}});alert("Profil mis à jour avec succès")}catch(a){console.error("Erreur lors de la mise à jour du profil",a),alert("Erreur lors de la mise à jour du profil")}};return(l,a)=>(q(),V(Se,null,[fe(Dn),g("div",Ay,[Cy,g("form",{onSubmit:ms(i,["prevent"]),class:"update-container p-6 rounded-lg shadow-lg max-w-xl mx-auto"},[g("div",Oy,[Ty,Re(g("input",{type:"text",id:"name","onUpdate:modelValue":a[0]||(a[0]=c=>n.value.name=c),class:"mt-2 p-3 w-full border border-gray-600 rounded-lg bg-transparent text-white focus:ring-2 focus:ring-purple-500 focus:outline-none"},null,512),[[Ae,n.value.name]])]),g("div",Py,[ky,Re(g("input",{type:"email",id:"email","onUpdate:modelValue":a[1]||(a[1]=c=>n.value.email=c),class:"mt-2 p-3 w-full border border-gray-600 rounded-lg bg-transparent text-white focus:ring-2 focus:ring-purple-500 focus:outline-none"},null,512),[[Ae,n.value.email]])]),g("div",Ny,[Ly,Re(g("input",{type:"text",id:"role","onUpdate:modelValue":a[2]||(a[2]=c=>n.value.role=c),readonly:"",class:"mt-2 p-3 w-full border border-gray-600 rounded-lg bg-transparent text-gray-400 focus:ring-2 focus:ring-purple-500 focus:outline-none cursor-not-allowed"},null,512),[[Ae,n.value.role]])]),g("div",By,[$y,Re(g("input",{type:"text",id:"idStripe","onUpdate:modelValue":a[3]||(a[3]=c=>n.value.idstripe=c),readonly:"",class:"mt-2 p-3 w-full border border-gray-600 rounded-lg bg-transparent text-gray-400 focus:ring-2 focus:ring-purple-500 focus:outline-none cursor-not-allowed"},null,512),[[Ae,n.value.idstripe]])]),g("div",Iy,[My,Re(g("input",{type:"password",id:"password","onUpdate:modelValue":a[4]||(a[4]=c=>n.value.password=c),placeholder:"Laissez vide pour ne pas changer",class:"mt-2 p-3 w-full border border-gray-600 rounded-lg bg-transparent text-white focus:ring-2 focus:ring-purple-500 focus:outline-none"},null,512),[[Ae,n.value.password]])]),g("div",Fy,[Uy,g("input",{type:"file",id:"profilePicture",onChange:o,class:"mt-2 text-gray-300"},null,32)]),r.value?(q(),V("div",Dy,[g("img",{src:r.value,alt:"Prévisualisation",class:"w-24 h-24 rounded-full mx-auto border-2 border-purple-500"},null,8,qy)])):pe("",!0),jy],32)])],64))}},Vy=Xt(Hy,[["__scopeId","data-v-72f1aaf5"]]),ja=pd({history:Vf(),routes:[{path:"/adminPage",name:"adminPage",component:Jp},{path:"/auth",name:"auth",component:um},{path:"/professors",name:"professors",component:km,meta:{}},{path:"/professor/:id",name:"professorDetail",component:jm},{path:"/",name:"conversations",component:Ry},{path:"/profileParameter",name:"profileParameter",component:Vy}]});ja.beforeEach((e,t,n)=>{e.matched.some(s=>s.meta.requiresAuth)?localStorage.getItem("token")?n():n({name:"auth"}):n()});cf(hf).use(ja).mount("#app");
| ver. 1.6 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка