"use strict";(self["webpackChunkfrontend"]=self["webpackChunkfrontend"]||[]).push([[504],{953:(e,t,n)=>{n.d(t,{C4:()=>m,EW:()=>Se,Gc:()=>ye,IG:()=>Ce,Kh:()=>de,Pr:()=>$e,X2:()=>l,bl:()=>v,fE:()=>_e,g8:()=>ve,hZ:()=>A,i9:()=>Re,ju:()=>we,o5:()=>a,u4:()=>O,ux:()=>ke,yC:()=>i});var s=n(33); /** * @vue/reactivity v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let r,o;class i{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=r,!e&&r&&(this.index=(r.scopes||(r.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=r;try{return r=this,e()}finally{r=t}}else 0}on(){r=this}off(){r=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),v()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=d,t=o;try{return d=!0,o=this,this._runnings++,h(this),this.fn()}finally{p(this),this._runnings--,o=t,d=e}}stop(){this.active&&(h(this),p(this),this.onStop&&this.onStop(),this.active=!1)}}function u(e){return e.value}function h(e){e._trackId++,e._depsLength=0}function p(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},T=new WeakMap,x=Symbol(""),S=Symbol("");function O(e,t,n){if(d&&o){let t=T.get(e);t||T.set(e,t=new Map);let s=t.get(n);s||t.set(n,s=E((()=>t.delete(n)))),w(o,s,void 0)}}function A(e,t,n,r,o,i){const c=T.get(e);if(!c)return;let a=[];if("clear"===t)a=[...c.values()];else if("length"===n&&(0,s.cy)(e)){const e=Number(r);c.forEach(((t,n)=>{("length"===n||!(0,s.Bm)(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(c.get(n)),t){case"add":(0,s.cy)(e)?(0,s.yI)(n)&&a.push(c.get("length")):(a.push(c.get(x)),(0,s.CE)(e)&&a.push(c.get(S)));break;case"delete":(0,s.cy)(e)||(a.push(c.get(x)),(0,s.CE)(e)&&a.push(c.get(S)));break;case"set":(0,s.CE)(e)&&a.push(c.get(x));break}b();for(const s of a)s&&C(s,4,void 0);_()}const R=(0,s.pD)("__proto__,__v_isRef,__isVue"),L=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(s.Bm)),B=$();function $(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=ke(this);for(let t=0,r=this.length;t{e[t]=function(...e){m(),b();const n=ke(this)[t].apply(this,e);return _(),v(),n}})),e}function N(e){(0,s.Bm)(e)||(e=String(e));const t=ke(this);return O(t,"has",e),t.hasOwnProperty(e)}class F{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?he:ue:o?le:ae).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=(0,s.cy)(e);if(!r){if(i&&(0,s.$3)(B,t))return Reflect.get(B,t,n);if("hasOwnProperty"===t)return N}const c=Reflect.get(e,t,n);return((0,s.Bm)(t)?L.has(t):R(t))?c:(r||O(e,"get",t),o?c:Re(c)?i&&(0,s.yI)(t)?c:c.value:(0,s.Gv)(c)?r?ge(c):de(c):c)}}class M extends F{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._isShallow){const t=be(o);if(_e(n)||be(n)||(o=ke(o),n=ke(n)),!(0,s.cy)(e)&&Re(o)&&!Re(n))return!t&&(o.value=n,!0)}const i=(0,s.cy)(e)&&(0,s.yI)(t)?Number(t)e,q=e=>Reflect.getPrototypeOf(e);function V(e,t,n=!1,r=!1){e=e["__v_raw"];const o=ke(e),i=ke(t);n||((0,s.$H)(t,i)&&O(o,"get",t),O(o,"get",i));const{has:c}=q(o),a=r?D:n?Te:Ee;return c.call(o,t)?a(e.get(t)):c.call(o,i)?a(e.get(i)):void(e!==o&&e.get(t))}function H(e,t=!1){const n=this["__v_raw"],r=ke(n),o=ke(e);return t||((0,s.$H)(e,o)&&O(r,"has",e),O(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function K(e,t=!1){return e=e["__v_raw"],!t&&O(ke(e),"iterate",x),Reflect.get(e,"size",e)}function W(e){e=ke(e);const t=ke(this),n=q(t),s=n.has.call(t,e);return s||(t.add(e),A(t,"add",e,e)),this}function Z(e,t){t=ke(t);const n=ke(this),{has:r,get:o}=q(n);let i=r.call(n,e);i||(e=ke(e),i=r.call(n,e));const c=o.call(n,e);return n.set(e,t),i?(0,s.$H)(t,c)&&A(n,"set",e,t,c):A(n,"add",e,t),this}function X(e){const t=ke(this),{has:n,get:s}=q(t);let r=n.call(t,e);r||(e=ke(e),r=n.call(t,e));const o=s?s.call(t,e):void 0,i=t.delete(e);return r&&A(t,"delete",e,void 0,o),i}function G(){const e=ke(this),t=0!==e.size,n=void 0,s=e.clear();return t&&A(e,"clear",void 0,void 0,n),s}function z(e,t){return function(n,s){const r=this,o=r["__v_raw"],i=ke(o),c=t?D:e?Te:Ee;return!e&&O(i,"iterate",x),o.forEach(((e,t)=>n.call(s,c(e),c(t),r)))}}function Y(e,t,n){return function(...r){const o=this["__v_raw"],i=ke(o),c=(0,s.CE)(i),a="entries"===e||e===Symbol.iterator&&c,l="keys"===e&&c,u=o[e](...r),h=n?D:t?Te:Ee;return!t&&O(i,"iterate",l?S:x),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:a?[h(e[0]),h(e[1])]:h(e),done:t}},[Symbol.iterator](){return this}}}}function J(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Q(){const e={get(e){return V(this,e)},get size(){return K(this)},has:H,add:W,set:Z,delete:X,clear:G,forEach:z(!1,!1)},t={get(e){return V(this,e,!1,!0)},get size(){return K(this)},has:H,add:W,set:Z,delete:X,clear:G,forEach:z(!1,!0)},n={get(e){return V(this,e,!0)},get size(){return K(this,!0)},has(e){return H.call(this,e,!0)},add:J("add"),set:J("set"),delete:J("delete"),clear:J("clear"),forEach:z(!0,!1)},s={get(e){return V(this,e,!0,!0)},get size(){return K(this,!0)},has(e){return H.call(this,e,!0)},add:J("add"),set:J("set"),delete:J("delete"),clear:J("clear"),forEach:z(!0,!0)},r=["keys","values","entries",Symbol.iterator];return r.forEach((r=>{e[r]=Y(r,!1,!1),n[r]=Y(r,!0,!1),t[r]=Y(r,!1,!0),s[r]=Y(r,!0,!0)})),[e,n,t,s]}const[ee,te,ne,se]=Q();function re(e,t){const n=t?e?se:ne:e?te:ee;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get((0,s.$3)(n,r)&&r in t?n:t,r,o)}const oe={get:re(!1,!1)},ie={get:re(!1,!0)},ce={get:re(!0,!1)};const ae=new WeakMap,le=new WeakMap,ue=new WeakMap,he=new WeakMap;function pe(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fe(e){return e["__v_skip"]||!Object.isExtensible(e)?0:pe((0,s.Zf)(e))}function de(e){return be(e)?e:me(e,!1,j,oe,ae)}function ye(e){return me(e,!1,U,ie,le)}function ge(e){return me(e,!0,I,ce,ue)}function me(e,t,n,r,o){if(!(0,s.Gv)(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const i=o.get(e);if(i)return i;const c=fe(e);if(0===c)return e;const a=new Proxy(e,2===c?r:n);return o.set(e,a),a}function ve(e){return be(e)?ve(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function be(e){return!(!e||!e["__v_isReadonly"])}function _e(e){return!(!e||!e["__v_isShallow"])}function we(e){return!!e&&!!e["__v_raw"]}function ke(e){const t=e&&e["__v_raw"];return t?ke(t):e}function Ce(e){return Object.isExtensible(e)&&(0,s.yQ)(e,"__v_skip",!0),e}const Ee=e=>(0,s.Gv)(e)?de(e):e,Te=e=>(0,s.Gv)(e)?ge(e):e;class xe{constructor(e,t,n,s){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this["__v_isReadonly"]=!1,this.effect=new l((()=>e(this._value)),(()=>Ae(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!s,this["__v_isReadonly"]=n}get value(){const e=ke(this);return e._cacheable&&!e.effect.dirty||!(0,s.$H)(e._value,e._value=e.effect.run())||Ae(e,4),Oe(e),e.effect._dirtyLevel>=2&&Ae(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Se(e,t,n=!1){let r,o;const i=(0,s.Tn)(e);i?(r=e,o=s.tE):(r=e.get,o=e.set);const c=new xe(r,o,i||!o,n);return c}function Oe(e){var t;d&&o&&(e=ke(e),w(o,null!=(t=e.dep)?t:e.dep=E((()=>e.dep=void 0),e instanceof xe?e:void 0),void 0))}function Ae(e,t=4,n,s){e=ke(e);const r=e.dep;r&&C(r,t,void 0)}function Re(e){return!(!e||!0!==e.__v_isRef)}function Le(e){return Re(e)?e.value:e}const Be={get:(e,t,n)=>Le(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Re(r)&&!Re(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function $e(e){return ve(e)?e:new Proxy(e,Be)}},641:(e,t,n)=>{n.d(t,{$u:()=>z,CE:()=>Jt,Df:()=>It,FK:()=>Dt,Gy:()=>Ot,K9:()=>tt,Lk:()=>sn,MZ:()=>jt,OW:()=>Ft,QP:()=>Rt,bF:()=>rn,bo:()=>se,dY:()=>v,h:()=>jn,nI:()=>bn,pI:()=>oe,pR:()=>$t,qL:()=>i,uX:()=>Zt});var s=n(953),r=n(33);function o(e,t,n,s){try{return s?e(...s):e()}catch(r){c(r,t,n)}}function i(e,t,n,s){if((0,r.Tn)(e)){const i=o(e,t,n,s);return i&&(0,r.yL)(i)&&i.catch((e=>{c(e,t,n)})),i}if((0,r.cy)(e)){const r=[];for(let o=0;o>>1,r=h[s],o=x(r);op&&h.splice(t,1)}function C(e){(0,r.cy)(e)?f.push(...e):d&&d.includes(e,e.allowRecurse?y+1:y)||f.push(e),w()}function E(e,t,n=(l?p+1:0)){for(0;nx(e)-x(t)));if(f.length=0,d)return void d.push(...e);for(d=e,y=0;ynull==e.id?1/0:e.id,S=(e,t)=>{const n=x(e)-x(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function O(e){u=!1,l=!0,h.sort(S);r.tE;try{for(p=0;p(0,r.Kg)(e)?e.trim():e))),t&&(o=n.map(r.bB))}let l;let u=s[l=(0,r.rU)(t)]||s[l=(0,r.rU)((0,r.PT)(t))];!u&&c&&(u=s[l=(0,r.rU)((0,r.Tg)(t))]),u&&i(u,e,6,o);const h=s[l+"Once"];if(h){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,i(h,e,6,o)}}function R(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(void 0!==o)return o;const i=e.emits;let c={},a=!1;if(!(0,r.Tn)(e)){const s=e=>{const n=R(e,t,!0);n&&(a=!0,(0,r.X$)(c,n))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return i||a?((0,r.cy)(i)?i.forEach((e=>c[e]=null)):(0,r.X$)(c,i),(0,r.Gv)(e)&&s.set(e,c),c):((0,r.Gv)(e)&&s.set(e,null),null)}function L(e,t){return!(!e||!(0,r.Mp)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,r.$3)(e,t[0].toLowerCase()+t.slice(1))||(0,r.$3)(e,(0,r.Tg)(t))||(0,r.$3)(e,t))}let B=null,$=null;function N(e){const t=B;return B=e,$=e&&e.type.__scopeId||null,t}function F(e,t=B,n){if(!t)return e;if(e._n)return e;const s=(...n)=>{s._d&&zt(-1);const r=N(t);let o;try{o=e(...n)}finally{N(r),s._d&&zt(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function M(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[i],slots:a,attrs:l,emit:u,render:h,renderCache:p,props:f,data:d,setupState:y,ctx:g,inheritAttrs:m}=e,v=N(e);let b,_;try{if(4&n.shapeFlag){const e=o||s,t=e;b=un(h.call(t,e,p,f,y,d,g)),_=l}else{const e=t;0,b=un(e.length>1?e(f,{attrs:l,slots:a,emit:u}):e(f,null)),_=t.props?l:P(l)}}catch(k){Kt.length=0,c(k,e,1),b=rn(Vt)}let w=b;if(_&&!1!==m){const e=Object.keys(_),{shapeFlag:t}=w;e.length&&7&t&&(i&&e.some(r.CP)&&(_=j(_,i)),w=an(w,_,!1,!0))}return n.dirs&&(w=an(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),b=w,N(v),b}const P=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,r.Mp)(n))&&((t||(t={}))[n]=e[n]);return t},j=(e,t)=>{const n={};for(const s in e)(0,r.CP)(s)&&s.slice(9)in t||(n[s]=e[s]);return n};function I(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:c,patchFlag:a}=t,l=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!r&&!c||c&&c.$stable)||s!==i&&(s?!i||U(s,i,l):!!i);if(1024&a)return!0;if(16&a)return s?U(s,i,l):!!i;if(8&a){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function H(e,t){t&&t.pendingBranch?(0,r.cy)(e)?t.effects.push(...e):t.effects.push(e):C(e)}function K(e,t,n=vn,r=!1){if(n){const o=n[e]||(n[e]=[]),c=t.__weh||(t.__weh=(...r)=>{(0,s.C4)();const o=kn(n),c=i(t,n,e,r);return o(),(0,s.bl)(),c});return r?o.unshift(c):o.push(c),c}}const W=e=>(t,n=vn)=>{Sn&&"sp"!==e||K(e,((...e)=>t(...e)),n)},Z=W("bm"),X=W("m"),G=W("bu"),z=W("u"),Y=W("bum"),J=W("um"),Q=W("sp"),ee=W("rtg"),te=W("rtc");function ne(e,t=vn){K("ec",e,t)}function se(e,t){if(null===B)return e;const n=Nn(B),s=e.dirs||(e.dirs=[]);for(let o=0;ot(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let s=0,r=n.length;s!!e.type.__asyncLoader /*! #__NO_SIDE_EFFECTS__ */;const ce=e=>e?En(e)?Nn(e):ce(e.parent):null,ae=(0,r.X$)(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=>ce(e.parent),$root:e=>ce(e.root),$emit:e=>e.emit,$options:e=>me(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,_(e.update)}),$nextTick:e=>e.n||(e.n=v.bind(e.proxy)),$watch:e=>yt.bind(e)}),le=(e,t)=>e!==r.MZ&&!e.__isScriptSetup&&(0,r.$3)(e,t),ue={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:o,data:i,props:c,accessCache:a,type:l,appContext:u}=e;let h;if("$"!==t[0]){const s=a[t];if(void 0!==s)switch(s){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return c[t]}else{if(le(o,t))return a[t]=1,o[t];if(i!==r.MZ&&(0,r.$3)(i,t))return a[t]=2,i[t];if((h=e.propsOptions[0])&&(0,r.$3)(h,t))return a[t]=3,c[t];if(n!==r.MZ&&(0,r.$3)(n,t))return a[t]=4,n[t];pe&&(a[t]=0)}}const p=ae[t];let f,d;return p?("$attrs"===t&&(0,s.u4)(e.attrs,"get",""),p(e)):(f=l.__cssModules)&&(f=f[t])?f:n!==r.MZ&&(0,r.$3)(n,t)?(a[t]=4,n[t]):(d=u.config.globalProperties,(0,r.$3)(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return le(o,t)?(o[t]=n,!0):s!==r.MZ&&(0,r.$3)(s,t)?(s[t]=n,!0):!(0,r.$3)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:i}},c){let a;return!!n[c]||e!==r.MZ&&(0,r.$3)(e,c)||le(t,c)||(a=i[0])&&(0,r.$3)(a,c)||(0,r.$3)(s,c)||(0,r.$3)(ae,c)||(0,r.$3)(o.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,r.$3)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function he(e){return(0,r.cy)(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let pe=!0;function fe(e){const t=me(e),n=e.proxy,o=e.ctx;pe=!1,t.beforeCreate&&ye(t.beforeCreate,e,"bc");const{data:i,computed:c,methods:a,watch:l,provide:u,inject:h,created:p,beforeMount:f,mounted:d,beforeUpdate:y,updated:g,activated:m,deactivated:v,beforeDestroy:b,beforeUnmount:_,destroyed:w,unmounted:k,render:C,renderTracked:E,renderTriggered:T,errorCaptured:x,serverPrefetch:S,expose:O,inheritAttrs:A,components:R,directives:L,filters:B}=t,$=null;if(h&&de(h,o,$),a)for(const s in a){const e=a[s];(0,r.Tn)(e)&&(o[s]=e.bind(n))}if(i){0;const t=i.call(n,n);0,(0,r.Gv)(t)&&(e.data=(0,s.Kh)(t))}if(pe=!0,c)for(const s in c){const e=c[s],t=(0,r.Tn)(e)?e.bind(n,n):(0,r.Tn)(e.get)?e.get.bind(n,n):r.tE;0;const i=!(0,r.Tn)(e)&&(0,r.Tn)(e.set)?e.set.bind(n):r.tE,a=Pn({get:t,set:i});Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const s in l)ge(l[s],o,n,s);if(u){const e=(0,r.Tn)(u)?u.call(n):u;Reflect.ownKeys(e).forEach((t=>{Le(t,e[t])}))}function N(e,t){(0,r.cy)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(p&&ye(p,e,"c"),N(Z,f),N(X,d),N(G,y),N(z,g),N(_t,m),N(wt,v),N(ne,x),N(te,E),N(ee,T),N(Y,_),N(J,k),N(Q,S),(0,r.cy)(O))if(O.length){const t=e.exposed||(e.exposed={});O.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});C&&e.render===r.tE&&(e.render=C),null!=A&&(e.inheritAttrs=A),R&&(e.components=R),L&&(e.directives=L)}function de(e,t,n=r.tE){(0,r.cy)(e)&&(e=ke(e));for(const o in e){const n=e[o];let i;i=(0,r.Gv)(n)?"default"in n?Be(n.from||o,n.default,!0):Be(n.from||o):Be(n),(0,s.i9)(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[o]=i}}function ye(e,t,n){i((0,r.cy)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ge(e,t,n,s){const o=s.includes(".")?gt(n,s):()=>n[s];if((0,r.Kg)(e)){const n=t[e];(0,r.Tn)(n)&&ft(o,n)}else if((0,r.Tn)(e))ft(o,e.bind(n));else if((0,r.Gv)(e))if((0,r.cy)(e))e.forEach((e=>ge(e,t,n,s)));else{const s=(0,r.Tn)(e.handler)?e.handler.bind(n):t[e.handler];(0,r.Tn)(s)&&ft(o,s,e)}else 0}function me(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:c}}=e.appContext,a=i.get(t);let l;return a?l=a:o.length||n||s?(l={},o.length&&o.forEach((e=>ve(l,e,c,!0))),ve(l,t,c)):l=t,(0,r.Gv)(t)&&i.set(t,l),l}function ve(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&ve(e,o,n,!0),r&&r.forEach((t=>ve(e,t,n,!0)));for(const i in t)if(s&&"expose"===i);else{const s=be[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const be={data:_e,props:Te,emits:Te,methods:Ee,computed:Ee,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:Ee,directives:Ee,watch:xe,provide:_e,inject:we};function _e(e,t){return t?e?function(){return(0,r.X$)((0,r.Tn)(e)?e.call(this,this):e,(0,r.Tn)(t)?t.call(this,this):t)}:t:e}function we(e,t){return Ee(ke(e),ke(t))}function ke(e){if((0,r.cy)(e)){const t={};for(let n=0;n1)return n&&(0,r.Tn)(t)?t.call(s&&s.proxy):t}else 0}const $e={},Ne=()=>Object.create($e),Fe=e=>Object.getPrototypeOf(e)===$e;function Me(e,t,n,r=!1){const o={},i=Ne();e.propsDefaults=Object.create(null),je(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:(0,s.Gc)(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Pe(e,t,n,o){const{props:i,attrs:c,vnode:{patchFlag:a}}=e,l=(0,s.ux)(i),[u]=e.propsOptions;let h=!1;if(!(o||a>0)||16&a){let s;je(e,t,i,c)&&(h=!0);for(const o in l)t&&((0,r.$3)(t,o)||(s=(0,r.Tg)(o))!==o&&(0,r.$3)(t,s))||(u?!n||void 0===n[o]&&void 0===n[s]||(i[o]=Ie(u,l,o,void 0,e,!0)):delete i[o]);if(c!==l)for(const e in c)t&&(0,r.$3)(t,e)||(delete c[e],h=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let s=0;s{l=!0;const[n,s]=Ue(e,t,!0);(0,r.X$)(c,n),s&&a.push(...s)};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}if(!i&&!l)return(0,r.Gv)(e)&&s.set(e,r.Oj),r.Oj;if((0,r.cy)(i))for(let h=0;h-1,s[1]=n<0||e-1||(0,r.$3)(s,"default"))&&a.push(t)}}}}const u=[c,a];return(0,r.Gv)(e)&&s.set(e,u),u}function De(e){return"$"!==e[0]&&!(0,r.SU)(e)}function qe(e){if(null===e)return"null";if("function"===typeof e)return e.name||"";if("object"===typeof e){const t=e.constructor&&e.constructor.name;return t||""}return""}function Ve(e,t){return qe(e)===qe(t)}function He(e,t){return(0,r.cy)(t)?t.findIndex((t=>Ve(t,e))):(0,r.Tn)(t)&&Ve(t,e)?0:-1}const Ke=e=>"_"===e[0]||"$stable"===e,We=e=>(0,r.cy)(e)?e.map(un):[un(e)],Ze=(e,t,n)=>{if(t._n)return t;const s=F(((...e)=>We(t(...e))),n);return s._c=!1,s},Xe=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Ke(o))continue;const n=e[o];if((0,r.Tn)(n))t[o]=Ze(o,n,s);else if(null!=n){0;const e=We(n);t[o]=()=>e}}},Ge=(e,t)=>{const n=We(t);e.slots.default=()=>n},ze=(e,t)=>{const n=e.slots=Ne();if(32&e.vnode.shapeFlag){const e=t._;e?((0,r.X$)(n,t),(0,r.yQ)(n,"_",e,!0)):Xe(t,n)}else t&&Ge(e,t)},Ye=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,c=r.MZ;if(32&s.shapeFlag){const e=t._;e?n&&1===e?i=!1:((0,r.X$)(o,t),n||1!==e||delete o._):(i=!t.$stable,Xe(t,o)),c=t}else t&&(Ge(e,t),c={default:1});if(i)for(const r in o)Ke(r)||null!=c[r]||delete o[r]};function Je(e,t,n,i,c=!1){if((0,r.cy)(e))return void e.forEach(((e,s)=>Je(e,t&&((0,r.cy)(t)?t[s]:t),n,i,c)));if(ie(i)&&!c)return;const a=4&i.shapeFlag?Nn(i.component):i.el,l=c?null:a,{i:u,r:h}=e;const p=t&&t.r,f=u.refs===r.MZ?u.refs={}:u.refs,d=u.setupState;if(null!=p&&p!==h&&((0,r.Kg)(p)?(f[p]=null,(0,r.$3)(d,p)&&(d[p]=null)):(0,s.i9)(p)&&(p.value=null)),(0,r.Tn)(h))o(h,u,12,[l,f]);else{const t=(0,r.Kg)(h),o=(0,s.i9)(h);if(t||o){const s=()=>{if(e.f){const n=t?(0,r.$3)(d,h)?d[h]:f[h]:h.value;c?(0,r.cy)(n)&&(0,r.TF)(n,a):(0,r.cy)(n)?n.includes(a)||n.push(a):t?(f[h]=[a],(0,r.$3)(d,h)&&(d[h]=f[h])):(h.value=[a],e.k&&(f[e.k]=h.value))}else t?(f[h]=l,(0,r.$3)(d,h)&&(d[h]=l)):o&&(h.value=l,e.k&&(f[e.k]=l))};l?(s.id=-1,et(s,n)):s()}else 0}}function Qe(){"boolean"!==typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&((0,r.We)().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const et=H;function tt(e){return nt(e)}function nt(e,t){Qe();const n=(0,r.We)();n.__VUE__=!0;const{insert:o,remove:i,patchProp:c,createElement:a,createText:l,createComment:u,setText:h,setElementText:p,parentNode:f,nextSibling:d,setScopeId:y=r.tE,insertStaticContent:g}=e,m=(e,t,n,s=null,r=null,o=null,i=void 0,c=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!en(e,t)&&(s=J(e),Z(e,r,o,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:l,ref:u,shapeFlag:h}=t;switch(l){case qt:v(e,t,n,s);break;case Vt:b(e,t,n,s);break;case Ht:null==e&&w(t,n,s,i);break;case Dt:N(e,t,n,s,r,o,i,c,a);break;default:1&h?S(e,t,n,s,r,o,i,c,a):6&h?F(e,t,n,s,r,o,i,c,a):(64&h||128&h)&&l.process(e,t,n,s,r,o,i,c,a,te)}null!=u&&r&&Je(u,e&&e.ref,o,t||e,!t)},v=(e,t,n,s)=>{if(null==e)o(t.el=l(t.children),n,s);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},b=(e,t,n,s)=>{null==e?o(t.el=u(t.children||""),n,s):t.el=e.el},w=(e,t,n,s)=>{[e.el,e.anchor]=g(e.children,t,n,s,e.el,e.anchor)},C=({el:e,anchor:t},n,s)=>{let r;while(e&&e!==t)r=d(e),o(e,n,s),e=r;o(t,n,s)},x=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=d(e),i(e),e=n;i(t)},S=(e,t,n,s,r,o,i,c,a)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?O(t,n,s,r,o,i,c,a):L(e,t,r,o,i,c,a)},O=(e,t,n,s,i,l,u,h)=>{let f,d;const{props:y,shapeFlag:g,transition:m,dirs:v}=e;if(f=e.el=a(e.type,l,y&&y.is,y),8&g?p(f,e.children):16&g&&R(e.children,f,null,s,i,st(e,l),u,h),v&&re(e,null,s,"created"),A(f,e,e.scopeId,u,s),y){for(const t in y)"value"===t||(0,r.SU)(t)||c(f,t,null,y[t],l,e.children,s,i,Y);"value"in y&&c(f,"value",null,y.value,l),(d=y.onVnodeBeforeMount)&&dn(d,s,e)}v&&re(e,null,s,"beforeMount");const b=ot(i,m);b&&m.beforeEnter(f),o(f,t,n),((d=y&&y.onVnodeMounted)||b||v)&&et((()=>{d&&dn(d,s,e),b&&m.enter(f),v&&re(e,null,s,"mounted")}),i)},A=(e,t,n,s,r)=>{if(n&&y(e,n),s)for(let o=0;o{for(let l=a;l{const l=t.el=e.el;let{patchFlag:u,dynamicChildren:h,dirs:f}=t;u|=16&e.patchFlag;const d=e.props||r.MZ,y=t.props||r.MZ;let g;if(n&&rt(n,!1),(g=y.onVnodeBeforeUpdate)&&dn(g,n,t,e),f&&re(t,e,n,"beforeUpdate"),n&&rt(n,!0),h?B(e.dynamicChildren,h,l,n,s,st(t,o),i):a||V(e,t,l,null,n,s,st(t,o),i,!1),u>0){if(16&u)$(l,t,d,y,n,s,o);else if(2&u&&d.class!==y.class&&c(l,"class",null,y.class,o),4&u&&c(l,"style",d.style,y.style,o),8&u){const r=t.dynamicProps;for(let t=0;t{g&&dn(g,n,t,e),f&&re(t,e,n,"updated")}),s)},B=(e,t,n,s,r,o,i)=>{for(let c=0;c{if(n!==s){if(n!==r.MZ)for(const l in n)(0,r.SU)(l)||l in s||c(e,l,n[l],null,a,t.children,o,i,Y);for(const l in s){if((0,r.SU)(l))continue;const u=s[l],h=n[l];u!==h&&"value"!==l&&c(e,l,h,u,a,t.children,o,i,Y)}"value"in s&&c(e,"value",n.value,s.value,a)}},N=(e,t,n,s,r,i,c,a,u)=>{const h=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:f,dynamicChildren:d,slotScopeIds:y}=t;y&&(a=a?a.concat(y):y),null==e?(o(h,n,s),o(p,n,s),R(t.children||[],n,p,r,i,c,a,u)):f>0&&64&f&&d&&e.dynamicChildren?(B(e.dynamicChildren,d,n,r,i,c,a),(null!=t.key||r&&t===r.subTree)&&it(e,t,!0)):V(e,t,n,p,r,i,c,a,u)},F=(e,t,n,s,r,o,i,c,a)=>{t.slotScopeIds=c,null==e?512&t.shapeFlag?r.ctx.activate(t,n,s,i,a):P(t,n,s,r,o,i,a):j(e,t,a)},P=(e,t,n,s,r,o,i)=>{const c=e.component=mn(e,s,r);if(vt(e)&&(c.ctx.renderer=te),On(c),c.asyncDep){if(r&&r.registerDep(c,U,i),!e.el){const e=c.subTree=rn(Vt);b(null,e,t,n)}}else U(c,e,t,n,r,o,i)},j=(e,t,n)=>{const s=t.component=e.component;if(I(e,t,n)){if(s.asyncDep&&!s.asyncResolved)return void q(s,t,n);s.next=t,k(s.update),s.effect.dirty=!0,s.update()}else t.el=e.el,s.vnode=t},U=(e,t,n,o,i,c,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:s,parent:o,vnode:u}=e;{const n=at(e);if(n)return t&&(t.el=u.el,q(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let h,p=t;0,rt(e,!1),t?(t.el=u.el,q(e,t,a)):t=u,n&&(0,r.DY)(n),(h=t.props&&t.props.onVnodeBeforeUpdate)&&dn(h,o,t,u),rt(e,!0);const d=M(e);0;const y=e.subTree;e.subTree=d,m(y,d,f(y.el),J(y),e,i,c),t.el=d.el,null===p&&D(e,d.el),s&&et(s,i),(h=t.props&&t.props.onVnodeUpdated)&&et((()=>dn(h,o,t,u)),i)}else{let s;const{el:a,props:l}=t,{bm:u,m:h,parent:p}=e,f=ie(t);if(rt(e,!1),u&&(0,r.DY)(u),!f&&(s=l&&l.onVnodeBeforeMount)&&dn(s,p,t),rt(e,!0),a&&se){const n=()=>{e.subTree=M(e),se(a,e.subTree,e,i,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const s=e.subTree=M(e);0,m(null,s,n,o,e,i,c),t.el=s.el}if(h&&et(h,i),!f&&(s=l&&l.onVnodeMounted)){const e=t;et((()=>dn(s,p,e)),i)}(256&t.shapeFlag||p&&ie(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&et(e.a,i),e.isMounted=!0,t=n=o=null}},u=e.effect=new s.X2(l,r.tE,(()=>_(h)),e.scope),h=e.update=()=>{u.dirty&&u.run()};h.id=e.uid,rt(e,!0),h()},q=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,Pe(e,t.props,r,n),Ye(e,t.children,n),(0,s.C4)(),E(e),(0,s.bl)()},V=(e,t,n,s,r,o,i,c,a=!1)=>{const l=e&&e.children,u=e?e.shapeFlag:0,h=t.children,{patchFlag:f,shapeFlag:d}=t;if(f>0){if(128&f)return void K(l,h,n,s,r,o,i,c,a);if(256&f)return void H(l,h,n,s,r,o,i,c,a)}8&d?(16&u&&Y(l,r,o),h!==l&&p(n,h)):16&u?16&d?K(l,h,n,s,r,o,i,c,a):Y(l,r,o,!0):(8&u&&p(n,""),16&d&&R(h,n,s,r,o,i,c,a))},H=(e,t,n,s,o,i,c,a,l)=>{e=e||r.Oj,t=t||r.Oj;const u=e.length,h=t.length,p=Math.min(u,h);let f;for(f=0;fh?Y(e,o,i,!0,!1,p):R(t,n,s,o,i,c,a,l,p)},K=(e,t,n,s,o,i,c,a,l)=>{let u=0;const h=t.length;let p=e.length-1,f=h-1;while(u<=p&&u<=f){const s=e[u],r=t[u]=l?hn(t[u]):un(t[u]);if(!en(s,r))break;m(s,r,n,null,o,i,c,a,l),u++}while(u<=p&&u<=f){const s=e[p],r=t[f]=l?hn(t[f]):un(t[f]);if(!en(s,r))break;m(s,r,n,null,o,i,c,a,l),p--,f--}if(u>p){if(u<=f){const e=f+1,r=ef)while(u<=p)Z(e[u],o,i,!0),u++;else{const d=u,y=u,g=new Map;for(u=y;u<=f;u++){const e=t[u]=l?hn(t[u]):un(t[u]);null!=e.key&&g.set(e.key,u)}let v,b=0;const _=f-y+1;let w=!1,k=0;const C=new Array(_);for(u=0;u<_;u++)C[u]=0;for(u=d;u<=p;u++){const s=e[u];if(b>=_){Z(s,o,i,!0);continue}let r;if(null!=s.key)r=g.get(s.key);else for(v=y;v<=f;v++)if(0===C[v-y]&&en(s,t[v])){r=v;break}void 0===r?Z(s,o,i,!0):(C[r-y]=u+1,r>=k?k=r:w=!0,m(s,t[r],n,null,o,i,c,a,l),b++)}const E=w?ct(C):r.Oj;for(v=E.length-1,u=_-1;u>=0;u--){const e=y+u,r=t[e],p=e+1{const{el:i,type:c,transition:a,children:l,shapeFlag:u}=e;if(6&u)return void W(e.component.subTree,t,n,s);if(128&u)return void e.suspense.move(t,n,s);if(64&u)return void c.move(e,t,n,te);if(c===Dt){o(i,t,n);for(let e=0;ea.enter(i)),r);else{const{leave:e,delayLeave:s,afterLeave:r}=a,c=()=>o(i,t,n),l=()=>{e(i,(()=>{c(),r&&r()}))};s?s(i,c,l):l()}else o(i,t,n)},Z=(e,t,n,s=!1,r=!1)=>{const{type:o,props:i,ref:c,children:a,dynamicChildren:l,shapeFlag:u,patchFlag:h,dirs:p,memoIndex:f}=e;if(-2===h&&(r=!1),null!=c&&Je(c,null,n,e,!0),null!=f&&(t.renderCache[f]=void 0),256&u)return void t.ctx.deactivate(e);const d=1&u&&p,y=!ie(e);let g;if(y&&(g=i&&i.onVnodeBeforeUnmount)&&dn(g,t,e),6&u)z(e.component,n,s);else{if(128&u)return void e.suspense.unmount(n,s);d&&re(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,te,s):l&&(o!==Dt||h>0&&64&h)?Y(l,t,n,!1,!0):(o===Dt&&384&h||!r&&16&u)&&Y(a,t,n),s&&X(e)}(y&&(g=i&&i.onVnodeUnmounted)||d)&&et((()=>{g&&dn(g,t,e),d&&re(e,null,t,"unmounted")}),n)},X=e=>{const{type:t,el:n,anchor:s,transition:r}=e;if(t===Dt)return void G(n,s);if(t===Ht)return void x(e);const o=()=>{i(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:s}=r,i=()=>t(n,o);s?s(e.el,o,i):i()}else o()},G=(e,t)=>{let n;while(e!==t)n=d(e),i(e),e=n;i(t)},z=(e,t,n)=>{const{bum:s,scope:o,update:i,subTree:c,um:a,m:l,a:u}=e;lt(l),lt(u),s&&(0,r.DY)(s),o.stop(),i&&(i.active=!1,Z(c,e,t,n)),a&&et(a,t),et((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Y=(e,t,n,s=!1,r=!1,o=0)=>{for(let i=o;i6&e.shapeFlag?J(e.component.subTree):128&e.shapeFlag?e.suspense.next():d(e.anchor||e.el);let Q=!1;const ee=(e,t,n)=>{null==e?t._vnode&&Z(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),Q||(Q=!0,E(),T(),Q=!1),t._vnode=e},te={p:m,um:Z,m:W,r:X,mt:P,mc:R,pc:V,pbc:B,n:J,o:e};let ne,se;return t&&([ne,se]=t(te)),{render:ee,hydrate:ne,createApp:Ae(ee,ne)}}function st({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ot(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function it(e,t,n=!1){const s=e.children,o=t.children;if((0,r.cy)(s)&&(0,r.cy)(o))for(let r=0;r>1,e[n[c]]0&&(t[s]=n[o-1]),n[o]=s)}}o=n.length,i=n[o-1];while(o-- >0)n[o]=i,i=t[i];return n}function at(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:at(t)}function lt(e){if(e)for(let t=0;t{{const e=Be(ut);return e}};const pt={};function ft(e,t,n){return dt(e,t,n)}function dt(e,t,{immediate:n,deep:c,flush:a,once:l,onTrack:u,onTrigger:h}=r.MZ){if(t&&l){const e=t;t=(...t)=>{e(...t),x()}}const p=vn,f=e=>!0===c?e:mt(e,!1===c?1:void 0);let d,y,g=!1,m=!1;if((0,s.i9)(e)?(d=()=>e.value,g=(0,s.fE)(e)):(0,s.g8)(e)?(d=()=>f(e),g=!0):(0,r.cy)(e)?(m=!0,g=e.some((e=>(0,s.g8)(e)||(0,s.fE)(e))),d=()=>e.map((e=>(0,s.i9)(e)?e.value:(0,s.g8)(e)?f(e):(0,r.Tn)(e)?o(e,p,2):void 0))):d=(0,r.Tn)(e)?t?()=>o(e,p,2):()=>(y&&y(),i(e,p,3,[b])):r.tE,t&&c){const e=d;d=()=>mt(e())}let v,b=e=>{y=E.onStop=()=>{o(e,p,4),y=E.onStop=void 0}};if(Sn){if(b=r.tE,t?n&&i(t,p,3,[d(),m?[]:void 0,b]):d(),"sync"!==a)return r.tE;{const e=ht();v=e.__watcherHandles||(e.__watcherHandles=[])}}let w=m?new Array(e.length).fill(pt):pt;const k=()=>{if(E.active&&E.dirty)if(t){const e=E.run();(c||g||(m?e.some(((e,t)=>(0,r.$H)(e,w[t]))):(0,r.$H)(e,w)))&&(y&&y(),i(t,p,3,[e,w===pt?void 0:m&&w[0]===pt?[]:w,b]),w=e)}else E.run()};let C;k.allowRecurse=!!t,"sync"===a?C=k:"post"===a?C=()=>et(k,p&&p.suspense):(k.pre=!0,p&&(k.id=p.uid),C=()=>_(k));const E=new s.X2(d,r.tE,C),T=(0,s.o5)(),x=()=>{E.stop(),T&&(0,r.TF)(T.effects,E)};return t?n?k():w=E.run():"post"===a?et(E.run.bind(E),p&&p.suspense):E.run(),v&&v.push(x),x}function yt(e,t,n){const s=this.proxy,o=(0,r.Kg)(e)?e.includes(".")?gt(s,e):()=>s[e]:e.bind(s,s);let i;(0,r.Tn)(t)?i=t:(i=t.handler,n=t);const c=kn(this),a=dt(o,i.bind(s),n);return c(),a}function gt(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{mt(e,t,n)}));else if((0,r.Qd)(e)){for(const s in e)mt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&mt(e[s],t,n)}return e}const vt=e=>e.type.__isKeepAlive;RegExp,RegExp;function bt(e,t){return(0,r.cy)(e)?e.some((e=>bt(e,t))):(0,r.Kg)(e)?e.split(",").includes(t):!!(0,r.gd)(e)&&e.test(t)}function _t(e,t){kt(e,"a",t)}function wt(e,t){kt(e,"da",t)}function kt(e,t,n=vn){const s=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(K(t,s,n),n){let e=n.parent;while(e&&e.parent)vt(e.parent.vnode)&&Ct(s,t,n,e),e=e.parent}}function Ct(e,t,n,s){const o=K(t,e,s,!0);J((()=>{(0,r.TF)(s[t],o)}),n)}function Et(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Tt(e){return 128&e.shapeFlag?e.ssContent:e}const xt=Symbol("_leaveCb"),St=Symbol("_enterCb");function Ot(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return X((()=>{e.isMounted=!0})),Y((()=>{e.isUnmounting=!0})),e}const At=[Function,Array],Rt={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:At,onEnter:At,onAfterEnter:At,onEnterCancelled:At,onBeforeLeave:At,onLeave:At,onAfterLeave:At,onLeaveCancelled:At,onBeforeAppear:At,onAppear:At,onAfterAppear:At,onAppearCancelled:At},Lt=e=>{const t=e.subTree;return t.component?Lt(t.component):t},Bt={name:"BaseTransition",props:Rt,setup(e,{slots:t}){const n=bn(),r=Ot();return()=>{const o=t.default&&It(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){let e=!1;for(const t of o)if(t.type!==Vt){0,i=t,e=!0;break}}const c=(0,s.ux)(e),{mode:a}=c;if(r.isLeaving)return Mt(i);const l=Pt(i);if(!l)return Mt(i);let u=Ft(l,c,r,n,(e=>u=e));jt(l,u);const h=n.subTree,p=h&&Pt(h);if(p&&p.type!==Vt&&!en(l,p)&&Lt(n).type!==Vt){const e=Ft(p,c,r,n);if(jt(p,e),"out-in"===a&&l.type!==Vt)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Mt(i);"in-out"===a&&l.type!==Vt&&(e.delayLeave=(e,t,n)=>{const s=Nt(r,p);s[String(p.key)]=p,e[xt]=()=>{t(),e[xt]=void 0,delete u.delayedLeave},u.delayedLeave=n})}return i}}},$t=Bt;function Nt(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ft(e,t,n,s,o){const{appear:c,mode:a,persisted:l=!1,onBeforeEnter:u,onEnter:h,onAfterEnter:p,onEnterCancelled:f,onBeforeLeave:d,onLeave:y,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:v,onAppear:b,onAfterAppear:_,onAppearCancelled:w}=t,k=String(e.key),C=Nt(n,e),E=(e,t)=>{e&&i(e,s,9,t)},T=(e,t)=>{const n=t[1];E(e,t),(0,r.cy)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},x={mode:a,persisted:l,beforeEnter(t){let s=u;if(!n.isMounted){if(!c)return;s=v||u}t[xt]&&t[xt](!0);const r=C[k];r&&en(e,r)&&r.el[xt]&&r.el[xt](),E(s,[t])},enter(e){let t=h,s=p,r=f;if(!n.isMounted){if(!c)return;t=b||h,s=_||p,r=w||f}let o=!1;const i=e[St]=t=>{o||(o=!0,E(t?r:s,[e]),x.delayedLeave&&x.delayedLeave(),e[St]=void 0)};t?T(t,[e,i]):i()},leave(t,s){const r=String(e.key);if(t[St]&&t[St](!0),n.isUnmounting)return s();E(d,[t]);let o=!1;const i=t[xt]=n=>{o||(o=!0,s(),E(n?m:g,[t]),t[xt]=void 0,C[r]===e&&delete C[r])};C[r]=e,y?T(y,[t,i]):i()},clone(e){const r=Ft(e,t,n,s,o);return o&&o(r),r}};return x}function Mt(e){if(vt(e))return e=an(e),e.children=null,e}function Pt(e){if(!vt(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&(0,r.Tn)(n.default))return n.default()}}function jt(e,t){6&e.shapeFlag&&e.component?jt(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function It(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;oe.__isTeleport;const Dt=Symbol.for("v-fgt"),qt=Symbol.for("v-txt"),Vt=Symbol.for("v-cmt"),Ht=Symbol.for("v-stc"),Kt=[];let Wt=null;function Zt(e=!1){Kt.push(Wt=e?null:[])}function Xt(){Kt.pop(),Wt=Kt[Kt.length-1]||null}let Gt=1;function zt(e){Gt+=e}function Yt(e){return e.dynamicChildren=Gt>0?Wt||r.Oj:null,Xt(),Gt>0&&Wt&&Wt.push(e),e}function Jt(e,t,n,s,r,o){return Yt(sn(e,t,n,s,r,o,!0))}function Qt(e){return!!e&&!0===e.__v_isVNode}function en(e,t){return e.type===t.type&&e.key===t.key}const tn=({key:e})=>null!=e?e:null,nn=({ref:e,ref_key:t,ref_for:n})=>("number"===typeof e&&(e=""+e),null!=e?(0,r.Kg)(e)||(0,s.i9)(e)||(0,r.Tn)(e)?{i:B,r:e,k:t,f:!!n}:e:null);function sn(e,t=null,n=null,s=0,o=null,i=(e===Dt?0:1),c=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&tn(t),ref:t&&nn(t),scopeId:$,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:B};return a?(pn(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=(0,r.Kg)(n)?8:16),Gt>0&&!c&&Wt&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Wt.push(l),l}const rn=on;function on(e,t=null,n=null,o=0,i=null,c=!1){if(e&&e!==q||(e=Vt),Qt(e)){const s=an(e,t,!0);return n&&pn(s,n),Gt>0&&!c&&Wt&&(6&s.shapeFlag?Wt[Wt.indexOf(e)]=s:Wt.push(s)),s.patchFlag=-2,s}if(Mn(e)&&(e=e.__vccOpts),t){t=cn(t);let{class:e,style:n}=t;e&&!(0,r.Kg)(e)&&(t.class=(0,r.C4)(e)),(0,r.Gv)(n)&&((0,s.ju)(n)&&!(0,r.cy)(n)&&(n=(0,r.X$)({},n)),t.style=(0,r.Tr)(n))}const a=(0,r.Kg)(e)?1:V(e)?128:Ut(e)?64:(0,r.Gv)(e)?4:(0,r.Tn)(e)?2:0;return sn(e,t,n,o,i,a,c,!0)}function cn(e){return e?(0,s.ju)(e)||Fe(e)?(0,r.X$)({},e):e:null}function an(e,t,n=!1,s=!1){const{props:o,ref:i,patchFlag:c,children:a,transition:l}=e,u=t?fn(o||{},t):o,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&tn(u),ref:t&&t.ref?n&&i?(0,r.cy)(i)?i.concat(nn(t)):[i,nn(t)]:nn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Dt?-1===c?16:16|c:c,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&an(e.ssContent),ssFallback:e.ssFallback&&an(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&jt(h,l.clone(h)),h}function ln(e=" ",t=0){return rn(qt,null,e,t)}function un(e){return null==e||"boolean"===typeof e?rn(Vt):(0,r.cy)(e)?rn(Dt,null,e.slice()):"object"===typeof e?hn(e):rn(qt,null,String(e))}function hn(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:an(e)}function pn(e,t){let n=0;const{shapeFlag:s}=e;if(null==t)t=null;else if((0,r.cy)(t))n=16;else if("object"===typeof t){if(65&s){const n=t.default;return void(n&&(n._c&&(n._d=!1),pn(e,n()),n._c&&(n._d=!0)))}{n=32;const s=t._;s||Fe(t)?3===s&&B&&(1===B.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=B}}else(0,r.Tn)(t)?(t={default:t,_ctx:B},n=32):(t=String(t),64&s?(n=16,t=[ln(t)]):n=8);e.children=t,e.shapeFlag|=n}function fn(...e){const t={};for(let n=0;nvn||B;let _n,wn;{const e=(0,r.We)(),t=(t,n)=>{let s;return(s=e[t])||(s=e[t]=[]),s.push(n),e=>{s.length>1?s.forEach((t=>t(e))):s[0](e)}};_n=t("__VUE_INSTANCE_SETTERS__",(e=>vn=e)),wn=t("__VUE_SSR_SETTERS__",(e=>Sn=e))}const kn=e=>{const t=vn;return _n(e),e.scope.on(),()=>{e.scope.off(),_n(t)}},Cn=()=>{vn&&vn.scope.off(),_n(null)};function En(e){return 4&e.vnode.shapeFlag}let Tn,xn,Sn=!1;function On(e,t=!1){t&&wn(t);const{props:n,children:s}=e.vnode,r=En(e);Me(e,n,r,t),ze(e,s);const o=r?An(e,t):void 0;return t&&wn(!1),o}function An(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ue);const{setup:i}=n;if(i){const n=e.setupContext=i.length>1?$n(e):null,a=kn(e);(0,s.C4)();const l=o(i,e,0,[e.props,n]);if((0,s.bl)(),a(),(0,r.yL)(l)){if(l.then(Cn,Cn),t)return l.then((n=>{Rn(e,n,t)})).catch((t=>{c(t,e,0)}));e.asyncDep=l}else Rn(e,l,t)}else Ln(e,t)}function Rn(e,t,n){(0,r.Tn)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,r.Gv)(t)&&(e.setupState=(0,s.Pr)(t)),Ln(e,n)}function Ln(e,t,n){const o=e.type;if(!e.render){if(!t&&Tn&&!o.render){const t=o.template||me(e).template;if(t){0;const{isCustomElement:n,compilerOptions:s}=e.appContext.config,{delimiters:i,compilerOptions:c}=o,a=(0,r.X$)((0,r.X$)({isCustomElement:n,delimiters:i},s),c);o.render=Tn(t,a)}}e.render=o.render||r.tE,xn&&xn(e)}{const t=kn(e);(0,s.C4)();try{fe(e)}finally{(0,s.bl)(),t()}}}const Bn={get(e,t){return(0,s.u4)(e,"get",""),e[t]}};function $n(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Bn),slots:e.slots,emit:e.emit,expose:t}}function Nn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy((0,s.Pr)((0,s.IG)(e.exposed)),{get(t,n){return n in t?t[n]:n in ae?ae[n](e):void 0},has(e,t){return t in e||t in ae}})):e.proxy}function Fn(e,t=!0){return(0,r.Tn)(e)?e.displayName||e.name:e.name||t&&e.__name}function Mn(e){return(0,r.Tn)(e)&&"__vccOpts"in e}const Pn=(e,t)=>{const n=(0,s.EW)(e,t,Sn);return n};function jn(e,t,n){const s=arguments.length;return 2===s?(0,r.Gv)(t)&&!(0,r.cy)(t)?Qt(t)?rn(e,null,[t]):rn(e,t):rn(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):3===s&&Qt(n)&&(n=[n]),rn(e,t,n))}const In="3.4.31"},751:(e,t,n)=>{n.d(t,{Jo:()=>U,jR:()=>q});var s=n(641),r=n(33),o=n(953); /** * @vue/runtime-dom v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ "undefined"!==typeof document&&document;const i="transition",c="animation",a=Symbol("_vtc"),l=(e,{slots:t})=>(0,s.h)(s.pR,d(e),t);l.displayName="Transition";const u={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},h=l.props=(0,r.X$)({},s.QP,u),p=(e,t=[])=>{(0,r.cy)(e)?e.forEach((e=>e(...t))):e&&e(...t)},f=e=>!!e&&((0,r.cy)(e)?e.some((e=>e.length>1)):e.length>1);function d(e){const t={};for(const r in e)r in u||(t[r]=e[r]);if(!1===e.css)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:c=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:h=c,appearToClass:d=a,leaveFromClass:g=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:k=`${n}-leave-to`}=e,C=y(o),E=C&&C[0],x=C&&C[1],{onBeforeEnter:S,onEnter:O,onEnterCancelled:A,onLeave:R,onLeaveCancelled:L,onBeforeAppear:B=S,onAppear:$=O,onAppearCancelled:N=A}=t,F=(e,t,n)=>{v(e,t?d:a),v(e,t?h:c),n&&n()},M=(e,t)=>{e._isLeaving=!1,v(e,g),v(e,k),v(e,_),t&&t()},P=e=>(t,n)=>{const r=e?$:O,o=()=>F(t,e,n);p(r,[t,o]),b((()=>{v(t,e?l:i),m(t,e?d:a),f(r)||w(t,s,E,o)}))};return(0,r.X$)(t,{onBeforeEnter(e){p(S,[e]),m(e,i),m(e,c)},onBeforeAppear(e){p(B,[e]),m(e,l),m(e,h)},onEnter:P(!1),onAppear:P(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>M(e,t);m(e,g),m(e,_),T(),b((()=>{e._isLeaving&&(v(e,g),m(e,k),f(R)||w(e,s,x,n))})),p(R,[e,n])},onEnterCancelled(e){F(e,!1),p(A,[e])},onAppearCancelled(e){F(e,!0),p(N,[e])},onLeaveCancelled(e){M(e),p(L,[e])}})}function y(e){if(null==e)return null;if((0,r.Gv)(e))return[g(e.enter),g(e.leave)];{const t=g(e);return[t,t]}}function g(e){const t=(0,r.Ro)(e);return t}function m(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[a]||(e[a]=new Set)).add(t)}function v(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[a];n&&(n.delete(t),n.size||(e[a]=void 0))}function b(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let _=0;function w(e,t,n,s){const r=e._endId=++_,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:c,propCount:a}=k(e,t);if(!i)return s();const l=i+"end";let u=0;const h=()=>{e.removeEventListener(l,p),o()},p=t=>{t.target===e&&++u>=a&&h()};setTimeout((()=>{u(n[e]||"").split(", "),r=s(`${i}Delay`),o=s(`${i}Duration`),a=C(r,o),l=s(`${c}Delay`),u=s(`${c}Duration`),h=C(l,u);let p=null,f=0,d=0;t===i?a>0&&(p=i,f=a,d=o.length):t===c?h>0&&(p=c,f=h,d=u.length):(f=Math.max(a,h),p=f>0?a>h?i:c:null,d=p?p===i?o.length:u.length:0);const y=p===i&&/\b(transform|all)(,|$)/.test(s(`${i}Property`).toString());return{type:p,timeout:f,propCount:d,hasTransform:y}}function C(e,t){while(e.lengthE(t)+E(e[n]))))}function E(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function T(){return document.body.offsetHeight}Symbol("_vod"),Symbol("_vsh");Symbol("");function x(e,t,n,s){e.addEventListener(t,n,s)}Symbol("_vei"); /*! #__NO_SIDE_EFFECTS__ */ "undefined"!==typeof HTMLElement&&HTMLElement;const S=new WeakMap,O=new WeakMap,A=Symbol("_moveCb"),R=Symbol("_enterCb"),L={name:"TransitionGroup",props:(0,r.X$)({},h,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=(0,s.nI)(),r=(0,s.Gy)();let i,c;return(0,s.$u)((()=>{if(!i.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!F(i[0].el,n.vnode.el,t))return;i.forEach(B),i.forEach($);const s=i.filter(N);T(),s.forEach((e=>{const n=e.el,s=n.style;m(n,t),s.transform=s.webkitTransform=s.transitionDuration="";const r=n[A]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n[A]=null,v(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const a=(0,o.ux)(e),l=d(a);let u=a.tag||s.FK;if(i=[],c)for(let e=0;e{e.split(/\s+/).forEach((e=>e&&s.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&s.classList.add(e))),s.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=k(s);return o.removeChild(s),i}const M=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,r.cy)(t)?e=>(0,r.DY)(t,e):t};function P(e){e.target.composing=!0}function j(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const I=Symbol("_assign"),U={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e[I]=M(o);const i=s||o.props&&"number"===o.props.type;x(e,t?"change":"input",(t=>{if(t.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=(0,r.bB)(s)),e[I](s)})),n&&x(e,"change",(()=>{e.value=e.value.trim()})),t||(x(e,"compositionstart",P),x(e,"compositionend",j),x(e,"change",j))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:i}},c){if(e[I]=M(c),e.composing)return;const a=!i&&"number"!==e.type||/^0\d/.test(e.value)?e.value:(0,r.bB)(e.value),l=null==t?"":t;if(a!==l){if(document.activeElement===e&&"range"!==e.type){if(s&&t===n)return;if(o&&e.value.trim()===l)return}e.value=l}}};const D={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},q=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=n=>{if(!("key"in n))return;const s=(0,r.Tg)(n.key);return t.some((e=>e===s||D[e]===s))?e(n):void 0})}},33:(e,t,n)=>{ /** * @vue/shared v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ /*! #__NO_SIDE_EFFECTS__ */ function s(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}n.d(t,{$3:()=>f,$H:()=>P,BH:()=>K,BX:()=>ne,Bm:()=>w,C4:()=>Y,CE:()=>y,CP:()=>l,DY:()=>j,Gv:()=>k,J$:()=>Q,Kg:()=>_,MZ:()=>r,Mp:()=>a,NO:()=>c,Oj:()=>o,PT:()=>B,Qd:()=>S,Ro:()=>D,SU:()=>A,TF:()=>h,Tg:()=>N,Tn:()=>b,Tr:()=>W,We:()=>V,X$:()=>u,Y2:()=>ee,ZH:()=>F,Zf:()=>x,bB:()=>U,cy:()=>d,gd:()=>v,pD:()=>s,rU:()=>M,tE:()=>i,u3:()=>se,vM:()=>g,v_:()=>oe,yI:()=>O,yL:()=>C,yQ:()=>I});const r={},o=[],i=()=>{},c=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),u=Object.assign,h=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,f=(e,t)=>p.call(e,t),d=Array.isArray,y=e=>"[object Map]"===T(e),g=e=>"[object Set]"===T(e),m=e=>"[object Date]"===T(e),v=e=>"[object RegExp]"===T(e),b=e=>"function"===typeof e,_=e=>"string"===typeof e,w=e=>"symbol"===typeof e,k=e=>null!==e&&"object"===typeof e,C=e=>(k(e)||b(e))&&b(e.then)&&b(e.catch),E=Object.prototype.toString,T=e=>E.call(e),x=e=>T(e).slice(8,-1),S=e=>"[object Object]"===T(e),O=e=>_(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,A=s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),R=e=>{const t=Object.create(null);return n=>{const s=t[n];return s||(t[n]=e(n))}},L=/-(\w)/g,B=R((e=>e.replace(L,((e,t)=>t?t.toUpperCase():"")))),$=/\B([A-Z])/g,N=R((e=>e.replace($,"-$1").toLowerCase())),F=R((e=>e.charAt(0).toUpperCase()+e.slice(1))),M=R((e=>{const t=e?`on${F(e)}`:"";return t})),P=(e,t)=>!Object.is(e,t),j=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},U=e=>{const t=parseFloat(e);return isNaN(t)?e:t},D=e=>{const t=_(e)?Number(e):NaN;return isNaN(t)?e:t};let q;const V=()=>q||(q="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});const H="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",K=s(H);function W(e){if(d(e)){const t={};for(let n=0;n{if(e){const n=e.split(X);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Y(e){let t="";if(_(e))t=e;else if(d(e))for(let n=0;nne(e,t)))}const re=e=>!(!e||!0!==e.__v_isRef),oe=e=>_(e)?e:null==e?"":d(e)||k(e)&&(e.toString===E||!b(e.toString))?re(e)?oe(e.value):JSON.stringify(e,ie,2):String(e),ie=(e,t)=>re(t)?ie(e,t.value):y(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],s)=>(e[ce(t,s)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>ce(e)))}:w(t)?ce(t):!k(t)||d(t)||S(t)?t:String(t),ce=(e,t="")=>{var n;return w(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}},262:(e,t)=>{t.A=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n}},756:(e,t,n)=>{},373:(e,t,n)=>{n.d(t,{Ay:()=>Ze});var s={};n.r(s),n.d(s,{Decoder:()=>Ie,Encoder:()=>Pe,PacketType:()=>Me,protocol:()=>Fe});const r=Object.create(null);r["open"]="0",r["close"]="1",r["ping"]="2",r["pong"]="3",r["message"]="4",r["upgrade"]="5",r["noop"]="6";const o=Object.create(null);Object.keys(r).forEach((e=>{o[r[e]]=e}));const i={type:"error",data:"parser error"},c="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),a="function"===typeof ArrayBuffer,l=e=>"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,u=({type:e,data:t},n,s)=>c&&t instanceof Blob?n?s(t):h(t,s):a&&(t instanceof ArrayBuffer||l(t))?n?s(t):h(new Blob([t]),s):s(r[e]+(t||"")),h=(e,t)=>{const n=new FileReader;return n.onload=function(){const e=n.result.split(",")[1];t("b"+(e||""))},n.readAsDataURL(e)};function p(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let f;function d(e,t){return c&&e.data instanceof Blob?e.data.arrayBuffer().then(p).then(t):a&&(e.data instanceof ArrayBuffer||l(e.data))?t(p(e.data)):void u(e,!1,(e=>{f||(f=new TextEncoder),t(f.encode(e))}))}const y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g="undefined"===typeof Uint8Array?[]:new Uint8Array(256);for(let Ge=0;Ge{let t,n,s,r,o,i=.75*e.length,c=e.length,a=0;"="===e[e.length-1]&&(i--,"="===e[e.length-2]&&i--);const l=new ArrayBuffer(i),u=new Uint8Array(l);for(t=0;t>4,u[a++]=(15&s)<<4|r>>2,u[a++]=(3&r)<<6|63&o;return l},v="function"===typeof ArrayBuffer,b=(e,t)=>{if("string"!==typeof e)return{type:"message",data:w(e,t)};const n=e.charAt(0);if("b"===n)return{type:"message",data:_(e.substring(1),t)};const s=o[n];return s?e.length>1?{type:o[n],data:e.substring(1)}:{type:o[n]}:i},_=(e,t)=>{if(v){const n=m(e);return w(n,t)}return{base64:!0,data:e}},w=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},k=String.fromCharCode(30),C=(e,t)=>{const n=e.length,s=new Array(n);let r=0;e.forEach(((e,o)=>{u(e,!1,(e=>{s[o]=e,++r===n&&t(s.join(k))}))}))},E=(e,t)=>{const n=e.split(k),s=[];for(let r=0;r{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 e=new DataView(r.buffer);e.setUint8(0,126),e.setUint16(1,s)}else{r=new Uint8Array(9);const e=new DataView(r.buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(s))}e.data&&"string"!==typeof e.data&&(r[0]|=128),t.enqueue(r),t.enqueue(n)}))}})}let x;function S(e){return e.reduce(((e,t)=>e+t.length),0)}function O(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let s=0;for(let r=0;rMath.pow(2,21)-1){a.enqueue(i);break}r=o*Math.pow(2,32)+t.getUint32(4),s=3}else{if(S(n)e){a.enqueue(i);break}}}})}const R=4;function L(e){if(e)return B(e)}function B(e){for(var t in L.prototype)e[t]=L.prototype[t];return e}L.prototype.on=L.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},L.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},L.prototype.off=L.prototype.removeListener=L.prototype.removeAllListeners=L.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,s=this._callbacks["$"+e];if(!s)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r=0;r"undefined"!==typeof self?self:"undefined"!==typeof window?window:Function("return this")())();function N(e,...t){return t.reduce(((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{})}const F=$.setTimeout,M=$.clearTimeout;function P(e,t){t.useNativeTimers?(e.setTimeoutFn=F.bind($),e.clearTimeoutFn=M.bind($)):(e.setTimeoutFn=$.setTimeout.bind($),e.clearTimeoutFn=$.clearTimeout.bind($))}const j=1.33;function I(e){return"string"===typeof e?U(e):Math.ceil((e.byteLength||e.size)*j)}function U(e){let t=0,n=0;for(let s=0,r=e.length;s=57344?n+=3:(s++,n+=4);return n}function D(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function q(e){let t={},n=e.split("&");for(let s=0,r=n.length;s0);return t}function J(){const e=Y(+new Date);return e!==X?(G=0,X=e):e+"."+Y(G++)}for(;z{this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(e++,this.once("pollComplete",(function(){--e||t()}))),this.writable||(e++,this.once("drain",(function(){--e||t()})))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)};E(e,this.socket.binaryType).forEach(t),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,C(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=J()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new ie(this.uri(),e)}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}class ie extends L{constructor(e,t){super(),P(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.data=void 0!==t.data?t.data:null,this.create()}create(){var e;const t=N(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd;const n=this.xhr=new te(t);try{n.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&n.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(s){}if("POST"===this.method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(s){}try{n.setRequestHeader("Accept","*/*")}catch(s){}null===(e=this.opts.cookieJar)||void 0===e||e.addCookies(n),"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{var e;3===n.readyState&&(null===(e=this.opts.cookieJar)||void 0===e||e.parseCookies(n)),4===n.readyState&&(200===n.status||1223===n.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"===typeof n.status?n.status:0)}),0))},n.send(this.data)}catch(s){return void this.setTimeoutFn((()=>{this.onError(s)}),0)}"undefined"!==typeof document&&(this.index=ie.requestsCount++,ie.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if("undefined"!==typeof this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=se,e)try{this.xhr.abort()}catch(t){}"undefined"!==typeof document&&delete ie.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(ie.requestsCount=0,ie.requests={},"undefined"!==typeof document)if("function"===typeof attachEvent)attachEvent("onunload",ce);else if("function"===typeof addEventListener){const e="onpagehide"in $?"pagehide":"unload";addEventListener(e,ce,!1)}function ce(){for(let e in ie.requests)ie.requests.hasOwnProperty(e)&&ie.requests[e].abort()}const ae=(()=>{const e="function"===typeof Promise&&"function"===typeof Promise.resolve;return e?e=>Promise.resolve().then(e):(e,t)=>t(e,0)})(),le=$.WebSocket||$.MozWebSocket,ue=!0,he="arraybuffer",pe="undefined"!==typeof navigator&&"string"===typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class fe extends H{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,n=pe?{}:N(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=ue&&!pe?t?new le(e,t):new le(e):new le(e,t,n)}catch(Xe){return this.emitReserved("error",Xe)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t{const t={};if(!ue&&(n.options&&(t.compress=n.options.compress),this.opts.perMessageDeflate)){const n="string"===typeof e?Buffer.byteLength(e):e.length;n{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){"undefined"!==typeof this.ws&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=J()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!le}}class de extends H{get name(){return"webtransport"}doOpen(){"function"===typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then((()=>{this.onClose()})).catch((e=>{this.onError("webtransport error",e)})),this.transport.ready.then((()=>{this.transport.createBidirectionalStream().then((e=>{const t=A(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),s=T();s.readable.pipeTo(e.writable),this.writer=s.writable.getWriter();const r=()=>{n.read().then((({done:e,value:t})=>{e||(this.onPacket(t),r())})).catch((e=>{}))};r();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this.writer.write(o).then((()=>this.onOpen()))}))})))}write(e){this.writable=!1;for(let t=0;t{s&&ae((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){var e;null===(e=this.transport)||void 0===e||e.close()}}const ye={websocket:fe,webtransport:de,polling:oe},ge=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,me=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ve(e){if(e.length>2e3)throw"URI too long";const t=e,n=e.indexOf("["),s=e.indexOf("]");-1!=n&&-1!=s&&(e=e.substring(0,n)+e.substring(n,s).replace(/:/g,";")+e.substring(s,e.length));let r=ge.exec(e||""),o={},i=14;while(i--)o[me[i]]=r[i]||"";return-1!=n&&-1!=s&&(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=be(o,o["path"]),o.queryKey=_e(o,o["query"]),o}function be(e,t){const n=/\/{2,9}/g,s=t.replace(n,"/").split("/");return"/"!=t.slice(0,1)&&0!==t.length||s.splice(0,1),"/"==t.slice(-1)&&s.splice(s.length-1,1),s}function _e(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,s){t&&(n[t]=s)})),n}class we extends L{constructor(e,t={}){super(),this.binaryType=he,this.writeBuffer=[],e&&"object"===typeof e&&(t=e,e=null),e?(e=ve(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=ve(t.host).host),P(this,t),this.secure=null!=t.secure?t.secure:"undefined"!==typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!==typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!==typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"===typeof this.opts.query&&(this.opts.query=q(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"===typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=R,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new ye[e](n)}open(){let e;if(this.opts.rememberUpgrade&&we.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(t){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(e){let t=this.createTransport(e),n=!1;we.priorWebsocketSuccess=!1;const s=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",(e=>{if(!n)if("pong"===e.type&&"probe"===e.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;we.priorWebsocketSuccess="websocket"===t.name,this.transport.pause((()=>{n||"closed"!==this.readyState&&(l(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}))}else{const e=new Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}})))};function r(){n||(n=!0,l(),t.close(),t=null)}const o=e=>{const n=new Error("probe error: "+e);n.transport=t.name,r(),this.emitReserved("upgradeError",n)};function i(){o("transport closed")}function c(){o("socket closed")}function a(e){t&&e.name!==t.name&&r()}const l=()=>{t.removeListener("open",s),t.removeListener("error",o),t.removeListener("close",i),this.off("close",c),this.off("upgrading",a)};t.once("open",s),t.once("error",o),t.once("close",i),this.once("close",c),this.once("upgrading",a),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn((()=>{n||t.open()}),200):t.open()}onOpen(){if(this.readyState="open",we.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){const e=this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1;if(!e)return this.writeBuffer;let t=1;for(let n=0;n0&&t>this.maxPayload)return this.writeBuffer.slice(0,n);t+=2}return this.writeBuffer}write(e,t,n){return this.sendPacket("message",e,t,n),this}send(e,t,n){return this.sendPacket("message",e,t,n),this}sendPacket(e,t,n,s){if("function"===typeof t&&(s=t,t=void 0),"function"===typeof n&&(s=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;n=n||{},n.compress=!1!==n.compress;const r={type:e,data:t,options:n};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),s&&this.once("flush",s),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?n():e()})):this.upgrading?n():e()),this}onError(e){we.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"===typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let n=0;const s=e.length;for(;n"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Te=Object.prototype.toString,xe="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===Te.call(Blob),Se="function"===typeof File||"undefined"!==typeof File&&"[object FileConstructor]"===Te.call(File);function Oe(e){return Ce&&(e instanceof ArrayBuffer||Ee(e))||xe&&e instanceof Blob||Se&&e instanceof File}function Ae(e,t){if(!e||"object"!==typeof e)return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t=0&&e.num{delete this.acks[e];for(let t=0;t{this.io.clearTimeoutFn(r),t.apply(this,e)};o.withError=!0,this.acks[e]=o}emitWithAck(e,...t){return new Promise(((n,s)=>{const r=(e,t)=>e?s(e):n(t);r.withError=!0,t.push(r),this.emit(e,...t)}))}_addToQueue(e){let t;"function"===typeof e[e.length-1]&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push(((e,...s)=>{if(n!==this._queue[0])return;const r=null!==e;return r?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...s)),n.pending=!1,this._drainQueue()})),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth((e=>{this._sendConnectPacket(e)})):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Me.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach((e=>{const t=this.sendBuffer.some((t=>String(t.id)===e));if(!t){const t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,new Error("socket has been disconnected"))}}))}onpacket(e){const t=e.nsp===this.nsp;if(t)switch(e.type){case Me.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.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 Me.EVENT:case Me.BINARY_EVENT:this.onevent(e);break;case Me.ACK:case Me.BINARY_ACK:this.onack(e);break;case Me.DISCONNECT:this.ondisconnect();break;case Me.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t);break}}onevent(e){const t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&"string"===typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...s){n||(n=!0,t.packet({type:Me.ACK,id:e,data:s}))}}onack(e){const t=this.acks[e.id];"function"===typeof t&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>{this.notifyOutgoingListeners(e),this.packet(e)})),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io["_destroy"](this)}disconnect(){return this.connected&&this.packet({type:Me.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let n=0;n0&&e.jitter<=1?e.jitter:0,this.attempts=0}He.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=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},He.prototype.reset=function(){this.attempts=0},He.prototype.setMin=function(e){this.ms=e},He.prototype.setMax=function(e){this.max=e},He.prototype.setJitter=function(e){this.jitter=e};class Ke extends L{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"===typeof e&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,P(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=t.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new He({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||s;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new we(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const s=De(t,"open",(function(){n.onopen(),e&&e()})),r=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},o=De(t,"error",r);if(!1!==this._timeout){const e=this._timeout,n=this.setTimeoutFn((()=>{s(),r(new Error("timeout")),t.close()}),e);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}return this.subs.push(s),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(De(e,"ping",this.onping.bind(this)),De(e,"data",this.ondata.bind(this)),De(e,"error",this.onerror.bind(this)),De(e,"close",this.onclose.bind(this)),De(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){ae((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new Ve(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const n of t){const e=this.nsps[n];if(e.active)return}this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;ne())),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn((()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()})))}),t);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const We={};function Ze(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};const n=ke(e,t.path||"/socket.io"),s=n.source,r=n.id,o=n.path,i=We[r]&&o in We[r]["nsps"],c=t.forceNew||t["force new connection"]||!1===t.multiplex||i;let a;return c?a=new Ke(s,t):(We[r]||(We[r]=new Ke(s,t)),a=We[r]),n.query&&!t.query&&(t.query=n.queryKey),a.socket(n.path,t)}Object.assign(Ze,{Manager:Ke,Socket:Ve,io:Ze,connect:Ze})}}]); //# sourceMappingURL=chunk-vendors.e0723df7.js.map