(self["webpackChunkONLINEGAMING_PORTRAIT"]=self["webpackChunkONLINEGAMING_PORTRAIT"]||[]).push([[998],{2262:function(t,e,n){"use strict";n.d(e,{B:function(){return s},Bj:function(){return i},Fl:function(){return Vt},IU:function(){return Rt},Jd:function(){return _},PG:function(){return At},SU:function(){return Ht},Um:function(){return Et},WL:function(){return zt},X$:function(){return T},X3:function(){return Bt},XI:function(){return Dt},Xl:function(){return Ft},dq:function(){return jt},iH:function(){return It},j:function(){return A},lk:function(){return S},nZ:function(){return c},qj:function(){return xt},qq:function(){return C},yT:function(){return Tt}});var r=n(3577);let o;class i{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=o,!t&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const e=o;try{return o=this,t()}finally{o=e}}else 0}on(){o=this}off(){o=this.parent}stop(t){if(this._active){let e,n;for(e=0,n=this.effects.length;e{const e=new Set(t);return e.w=0,e.n=0,e},l=t=>(t.w&m)>0,f=t=>(t.n&m)>0,p=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r{("length"===n||n>=t)&&c.push(e)}))}else switch(void 0!==n&&c.push(a.get(n)),e){case"add":(0,r.kJ)(t)?(0,r.S0)(n)&&c.push(a.get("length")):(c.push(a.get(b)),(0,r._N)(t)&&c.push(a.get(w)));break;case"delete":(0,r.kJ)(t)||(c.push(a.get(b)),(0,r._N)(t)&&c.push(a.get(w)));break;case"set":(0,r._N)(t)&&c.push(a.get(b));break}if(1===c.length)c[0]&&B(c[0]);else{const t=[];for(const e of c)e&&t.push(...e);B(u(t))}}function B(t,e){const n=(0,r.kJ)(t)?t:[...t];for(const r of n)r.computed&&R(r,e);for(const r of n)r.computed||R(r,e)}function R(t,e){(t!==v||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const F=(0,r.fY)("__proto__,__v_isRef,__isVue"),P=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(r.yk)),M=U(),N=U(!1,!0),L=U(!0),j=I();function I(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const n=Rt(this);for(let e=0,o=this.length;e{t[e]=function(...t){_();const n=Rt(this)[e].apply(this,t);return S(),n}})),t}function D(t){const e=Rt(this);return A(e,"has",t),e.hasOwnProperty(t)}function U(t=!1,e=!1){return function(n,o,i){if("__v_isReactive"===o)return!t;if("__v_isReadonly"===o)return t;if("__v_isShallow"===o)return e;if("__v_raw"===o&&i===(t?e?wt:bt:e?vt:gt).get(n))return n;const s=(0,r.kJ)(n);if(!t){if(s&&(0,r.RI)(j,o))return Reflect.get(j,o,i);if("hasOwnProperty"===o)return D}const a=Reflect.get(n,o,i);return((0,r.yk)(o)?P.has(o):F(o))?a:(t||A(n,"get",o),e?a:jt(a)?s&&(0,r.S0)(o)?a:a.value:(0,r.Kn)(a)?t?_t(a):xt(a):a)}}const q=W(),H=W(!0);function W(t=!1){return function(e,n,o,i){let s=e[n];if(Ot(s)&&jt(s)&&!jt(o))return!1;if(!t&&(Tt(o)||Ot(o)||(s=Rt(s),o=Rt(o)),!(0,r.kJ)(e)&&jt(s)&&!jt(o)))return s.value=o,!0;const a=(0,r.kJ)(e)&&(0,r.S0)(n)?Number(n)t,K=t=>Reflect.getPrototypeOf(t);function Z(t,e,n=!1,r=!1){t=t["__v_raw"];const o=Rt(t),i=Rt(e);n||(e!==i&&A(o,"get",e),A(o,"get",i));const{has:s}=K(o),a=r?G:n?Mt:Pt;return s.call(o,e)?a(t.get(e)):s.call(o,i)?a(t.get(i)):void(t!==o&&t.get(e))}function Q(t,e=!1){const n=this["__v_raw"],r=Rt(n),o=Rt(t);return e||(t!==o&&A(r,"has",t),A(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function tt(t,e=!1){return t=t["__v_raw"],!e&&A(Rt(t),"iterate",b),Reflect.get(t,"size",t)}function et(t){t=Rt(t);const e=Rt(this),n=K(e),r=n.has.call(e,t);return r||(e.add(t),T(e,"add",t,t)),this}function nt(t,e){e=Rt(e);const n=Rt(this),{has:o,get:i}=K(n);let s=o.call(n,t);s||(t=Rt(t),s=o.call(n,t));const a=i.call(n,t);return n.set(t,e),s?(0,r.aU)(e,a)&&T(n,"set",t,e,a):T(n,"add",t,e),this}function rt(t){const e=Rt(this),{has:n,get:r}=K(e);let o=n.call(e,t);o||(t=Rt(t),o=n.call(e,t));const i=r?r.call(e,t):void 0,s=e.delete(t);return o&&T(e,"delete",t,void 0,i),s}function ot(){const t=Rt(this),e=0!==t.size,n=void 0,r=t.clear();return e&&T(t,"clear",void 0,void 0,n),r}function it(t,e){return function(n,r){const o=this,i=o["__v_raw"],s=Rt(i),a=e?G:t?Mt:Pt;return!t&&A(s,"iterate",b),i.forEach(((t,e)=>n.call(r,a(t),a(e),o)))}}function st(t,e,n){return function(...o){const i=this["__v_raw"],s=Rt(i),a=(0,r._N)(s),c="entries"===t||t===Symbol.iterator&&a,u="keys"===t&&a,l=i[t](...o),f=n?G:e?Mt:Pt;return!e&&A(s,"iterate",u?w:b),{next(){const{value:t,done:e}=l.next();return e?{value:t,done:e}:{value:c?[f(t[0]),f(t[1])]:f(t),done:e}},[Symbol.iterator](){return this}}}}function at(t){return function(...e){return"delete"!==t&&this}}function ct(){const t={get(t){return Z(this,t)},get size(){return tt(this)},has:Q,add:et,set:nt,delete:rt,clear:ot,forEach:it(!1,!1)},e={get(t){return Z(this,t,!1,!0)},get size(){return tt(this)},has:Q,add:et,set:nt,delete:rt,clear:ot,forEach:it(!1,!0)},n={get(t){return Z(this,t,!0)},get size(){return tt(this,!0)},has(t){return Q.call(this,t,!0)},add:at("add"),set:at("set"),delete:at("delete"),clear:at("clear"),forEach:it(!0,!1)},r={get(t){return Z(this,t,!0,!0)},get size(){return tt(this,!0)},has(t){return Q.call(this,t,!0)},add:at("add"),set:at("set"),delete:at("delete"),clear:at("clear"),forEach:it(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach((o=>{t[o]=st(o,!1,!1),n[o]=st(o,!0,!1),e[o]=st(o,!1,!0),r[o]=st(o,!0,!0)})),[t,n,e,r]}const[ut,lt,ft,pt]=ct();function ht(t,e){const n=e?t?pt:ft:t?lt:ut;return(e,o,i)=>"__v_isReactive"===o?!t:"__v_isReadonly"===o?t:"__v_raw"===o?e:Reflect.get((0,r.RI)(n,o)&&o in e?n:e,o,i)}const dt={get:ht(!1,!1)},yt={get:ht(!1,!0)},mt={get:ht(!0,!1)};const gt=new WeakMap,vt=new WeakMap,bt=new WeakMap,wt=new WeakMap;function Ct(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function kt(t){return t["__v_skip"]||!Object.isExtensible(t)?0:Ct((0,r.W7)(t))}function xt(t){return Ot(t)?t:St(t,!1,V,dt,gt)}function Et(t){return St(t,!1,X,yt,vt)}function _t(t){return St(t,!0,Y,mt,bt)}function St(t,e,n,o,i){if(!(0,r.Kn)(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const s=i.get(t);if(s)return s;const a=kt(t);if(0===a)return t;const c=new Proxy(t,2===a?o:n);return i.set(t,c),c}function At(t){return Ot(t)?At(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function Ot(t){return!(!t||!t["__v_isReadonly"])}function Tt(t){return!(!t||!t["__v_isShallow"])}function Bt(t){return At(t)||Ot(t)}function Rt(t){const e=t&&t["__v_raw"];return e?Rt(e):t}function Ft(t){return(0,r.Nj)(t,"__v_skip",!0),t}const Pt=t=>(0,r.Kn)(t)?xt(t):t,Mt=t=>(0,r.Kn)(t)?_t(t):t;function Nt(t){x&&v&&(t=Rt(t),O(t.dep||(t.dep=u())))}function Lt(t,e){t=Rt(t);const n=t.dep;n&&B(n)}function jt(t){return!(!t||!0!==t.__v_isRef)}function It(t){return Ut(t,!1)}function Dt(t){return Ut(t,!0)}function Ut(t,e){return jt(t)?t:new qt(t,e)}class qt{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Rt(t),this._value=e?t:Pt(t)}get value(){return Nt(this),this._value}set value(t){const e=this.__v_isShallow||Tt(t)||Ot(t);t=e?t:Rt(t),(0,r.aU)(t,this._rawValue)&&(this._rawValue=t,this._value=e?t:Pt(t),Lt(this,t))}}function Ht(t){return jt(t)?t.value:t}const Wt={get:(t,e,n)=>Ht(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return jt(o)&&!jt(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function zt(t){return At(t)?t:new Proxy(t,Wt)}var $t;class Jt{constructor(t,e,n,r){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this[$t]=!1,this._dirty=!0,this.effect=new C(t,(()=>{this._dirty||(this._dirty=!0,Lt(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const t=Rt(this);return Nt(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Vt(t,e,n=!1){let o,i;const s=(0,r.mf)(t);s?(o=t,i=r.dG):(o=t.get,i=t.set);const a=new Jt(o,i,s||!i,n);return a}$t="__v_isReadonly"},6252:function(t,e,n){"use strict";n.d(e,{$d:function(){return s},Ah:function(){return Ot},Cn:function(){return L},FN:function(){return _n},Fl:function(){return qn},HY:function(){return We},JJ:function(){return J},Jd:function(){return At},Ko:function(){return Ht},P$:function(){return ot},Q2:function(){return Dt},Q6:function(){return lt},U2:function(){return st},Uk:function(){return hn},Us:function(){return Te},Wm:function(){return un},Xn:function(){return _t},Y3:function(){return v},Y8:function(){return et},YP:function(){return G},_:function(){return cn},aZ:function(){return ft},bv:function(){return Et},dD:function(){return N},dG:function(){return bn},dl:function(){return yt},f3:function(){return V},h:function(){return Hn},iD:function(){return tn},ic:function(){return St},j4:function(){return en},kq:function(){return yn},lA:function(){return nn},lR:function(){return qe},m0:function(){return Y},nK:function(){return ut},se:function(){return mt},uE:function(){return dn},up:function(){return jt},w5:function(){return j},wg:function(){return Xe},wy:function(){return Pt}});var r=n(2262),o=n(3577);function i(t,e,n,r){let o;try{o=r?t(...r):t()}catch(i){a(i,e,n)}return o}function s(t,e,n,r){if((0,o.mf)(t)){const s=i(t,e,n,r);return s&&(0,o.tI)(s)&&s.catch((t=>{a(t,e,n)})),s}const c=[];for(let o=0;o>>1,o=S(f[r]);op&&f.splice(e,1)}function x(t){(0,o.kJ)(t)?h.push(...t):d&&d.includes(t,t.allowRecurse?y+1:y)||h.push(t),C()}function E(t,e=(u?p+1:0)){for(0;eS(t)-S(e))),y=0;ynull==t.id?1/0:t.id,A=(t,e)=>{const n=S(t)-S(e);if(0===n){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function O(t){l=!1,u=!0,f.sort(A);o.dG;try{for(p=0;p(0,o.HD)(t)?t.trim():t))),e&&(i=n.map(o.h5))}let u;let l=r[u=(0,o.hR)(e)]||r[u=(0,o.hR)((0,o._A)(e))];!l&&a&&(l=r[u=(0,o.hR)((0,o.rs)(e))]),l&&s(l,t,6,i);const f=r[u+"Once"];if(f){if(t.emitted){if(t.emitted[u])return}else t.emitted={};t.emitted[u]=!0,s(f,t,6,i)}}function B(t,e,n=!1){const r=e.emitsCache,i=r.get(t);if(void 0!==i)return i;const s=t.emits;let a={},c=!1;if(!(0,o.mf)(t)){const r=t=>{const n=B(t,e,!0);n&&(c=!0,(0,o.l7)(a,n))};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}return s||c?((0,o.kJ)(s)?s.forEach((t=>a[t]=null)):(0,o.l7)(a,s),(0,o.Kn)(t)&&r.set(t,a),a):((0,o.Kn)(t)&&r.set(t,null),null)}function R(t,e){return!(!t||!(0,o.F7)(e))&&(e=e.slice(2).replace(/Once$/,""),(0,o.RI)(t,e[0].toLowerCase()+e.slice(1))||(0,o.RI)(t,(0,o.rs)(e))||(0,o.RI)(t,e))}let F=null,P=null;function M(t){const e=F;return F=t,P=t&&t.type.__scopeId||null,e}function N(t){P=t}function L(){P=null}function j(t,e=F,n){if(!e)return t;if(t._n)return t;const r=(...n)=>{r._d&&Ze(-1);const o=M(e);let i;try{i=t(...n)}finally{M(o),r._d&&Ze(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function I(t){const{type:e,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[c],slots:u,attrs:l,emit:f,render:p,renderCache:h,data:d,setupState:y,ctx:m,inheritAttrs:g}=t;let v,b;const w=M(t);try{if(4&n.shapeFlag){const t=i||r;v=mn(p.call(t,t,h,s,y,d,m)),b=l}else{const t=e;0,v=mn(t.length>1?t(s,{attrs:l,slots:u,emit:f}):t(s,null)),b=e.props?l:D(l)}}catch(k){Ve.length=0,a(k,t,1),v=un($e)}let C=v;if(b&&!1!==g){const t=Object.keys(b),{shapeFlag:e}=C;t.length&&7&e&&(c&&t.some(o.tR)&&(b=U(b,c)),C=pn(C,b))}return n.dirs&&(C=pn(C),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),v=C,M(w),v}const D=t=>{let e;for(const n in t)("class"===n||"style"===n||(0,o.F7)(n))&&((e||(e={}))[n]=t[n]);return e},U=(t,e)=>{const n={};for(const r in t)(0,o.tR)(r)&&r.slice(9)in e||(n[r]=t[r]);return n};function q(t,e,n){const{props:r,children:o,component:i}=t,{props:s,children:a,patchFlag:c}=e,u=i.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&c>=0))return!(!o&&!a||a&&a.$stable)||r!==s&&(r?!s||H(r,s,u):!!s);if(1024&c)return!0;if(16&c)return r?H(r,s,u):!!s;if(8&c){const t=e.dynamicProps;for(let e=0;et.__isSuspense;function $(t,e){e&&e.pendingBranch?(0,o.kJ)(t)?e.effects.push(...t):e.effects.push(t):x(t)}function J(t,e){if(En){let n=En.provides;const r=En.parent&&En.parent.provides;r===n&&(n=En.provides=Object.create(r)),n[t]=e}else 0}function V(t,e,n=!1){const r=En||F;if(r){const i=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&t in i)return i[t];if(arguments.length>1)return n&&(0,o.mf)(e)?e.call(r.proxy):e}else 0}function Y(t,e){return K(t,null,e)}const X={};function G(t,e,n){return K(t,e,n)}function K(t,e,{immediate:n,deep:a,flush:c,onTrack:u,onTrigger:l}=o.kT){const f=(0,r.nZ)()===(null===En||void 0===En?void 0:En.scope)?En:null;let p,h,d=!1,y=!1;if((0,r.dq)(t)?(p=()=>t.value,d=(0,r.yT)(t)):(0,r.PG)(t)?(p=()=>t,a=!0):(0,o.kJ)(t)?(y=!0,d=t.some((t=>(0,r.PG)(t)||(0,r.yT)(t))),p=()=>t.map((t=>(0,r.dq)(t)?t.value:(0,r.PG)(t)?tt(t):(0,o.mf)(t)?i(t,f,2):void 0))):p=(0,o.mf)(t)?e?()=>i(t,f,2):()=>{if(!f||!f.isUnmounted)return h&&h(),s(t,f,3,[g])}:o.dG,e&&a){const t=p;p=()=>tt(t())}let m,g=t=>{h=k.onStop=()=>{i(t,f,4)}};if(Rn){if(g=o.dG,e?n&&s(e,f,3,[p(),y?[]:void 0,g]):p(),"sync"!==c)return o.dG;{const t=zn();m=t.__watcherHandles||(t.__watcherHandles=[])}}let v=y?new Array(t.length).fill(X):X;const b=()=>{if(k.active)if(e){const t=k.run();(a||d||(y?t.some(((t,e)=>(0,o.aU)(t,v[e]))):(0,o.aU)(t,v)))&&(h&&h(),s(e,f,3,[t,v===X?void 0:y&&v[0]===X?[]:v,g]),v=t)}else k.run()};let C;b.allowRecurse=!!e,"sync"===c?C=b:"post"===c?C=()=>Oe(b,f&&f.suspense):(b.pre=!0,f&&(b.id=f.uid),C=()=>w(b));const k=new r.qq(p,C);e?n?b():v=k.run():"post"===c?Oe(k.run.bind(k),f&&f.suspense):k.run();const x=()=>{k.stop(),f&&f.scope&&(0,o.Od)(f.scope.effects,k)};return m&&m.push(x),x}function Z(t,e,n){const r=this.proxy,i=(0,o.HD)(t)?t.includes(".")?Q(r,t):()=>r[t]:t.bind(r,r);let s;(0,o.mf)(e)?s=e:(s=e.handler,n=e);const a=En;Sn(this);const c=K(i,s.bind(r),n);return a?Sn(a):An(),c}function Q(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t{tt(t,e)}));else if((0,o.PO)(t))for(const n in t)tt(t[n],e);return t}function et(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Et((()=>{t.isMounted=!0})),At((()=>{t.isUnmounting=!0})),t}const nt=[Function,Array],rt={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:nt,onEnter:nt,onAfterEnter:nt,onEnterCancelled:nt,onBeforeLeave:nt,onLeave:nt,onAfterLeave:nt,onLeaveCancelled:nt,onBeforeAppear:nt,onAppear:nt,onAfterAppear:nt,onAppearCancelled:nt},setup(t,{slots:e}){const n=_n(),o=et();let i;return()=>{const s=e.default&<(e.default(),!0);if(!s||!s.length)return;let a=s[0];if(s.length>1){let t=!1;for(const e of s)if(e.type!==$e){0,a=e,t=!0;break}}const c=(0,r.IU)(t),{mode:u}=c;if(o.isLeaving)return at(a);const l=ct(a);if(!l)return at(a);const f=st(l,c,o,n);ut(l,f);const p=n.subTree,h=p&&ct(p);let d=!1;const{getTransitionKey:y}=l.type;if(y){const t=y();void 0===i?i=t:t!==i&&(i=t,d=!0)}if(h&&h.type!==$e&&(!rn(l,h)||d)){const t=st(h,c,o,n);if(ut(h,t),"out-in"===u)return o.isLeaving=!0,t.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&n.update()},at(a);"in-out"===u&&l.type!==$e&&(t.delayLeave=(t,e,n)=>{const r=it(o,h);r[String(h.key)]=h,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=n})}return a}}},ot=rt;function it(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function st(t,e,n,r){const{appear:i,mode:a,persisted:c=!1,onBeforeEnter:u,onEnter:l,onAfterEnter:f,onEnterCancelled:p,onBeforeLeave:h,onLeave:d,onAfterLeave:y,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:b,onAppearCancelled:w}=e,C=String(t.key),k=it(n,t),x=(t,e)=>{t&&s(t,r,9,e)},E=(t,e)=>{const n=e[1];x(t,e),(0,o.kJ)(t)?t.every((t=>t.length<=1))&&n():t.length<=1&&n()},_={mode:a,persisted:c,beforeEnter(e){let r=u;if(!n.isMounted){if(!i)return;r=g||u}e._leaveCb&&e._leaveCb(!0);const o=k[C];o&&rn(t,o)&&o.el._leaveCb&&o.el._leaveCb(),x(r,[e])},enter(t){let e=l,r=f,o=p;if(!n.isMounted){if(!i)return;e=v||l,r=b||f,o=w||p}let s=!1;const a=t._enterCb=e=>{s||(s=!0,x(e?o:r,[t]),_.delayedLeave&&_.delayedLeave(),t._enterCb=void 0)};e?E(e,[t,a]):a()},leave(e,r){const o=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return r();x(h,[e]);let i=!1;const s=e._leaveCb=n=>{i||(i=!0,r(),x(n?m:y,[e]),e._leaveCb=void 0,k[o]===t&&delete k[o])};k[o]=t,d?E(d,[e,s]):s()},clone(t){return st(t,e,n,r)}};return _}function at(t){if(ht(t))return t=pn(t),t.children=null,t}function ct(t){return ht(t)?t.children?t.children[0]:void 0:t}function ut(t,e){6&t.shapeFlag&&t.component?ut(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function lt(t,e=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;i!!t.type.__asyncLoader;const ht=t=>t.type.__isKeepAlive;RegExp,RegExp;function dt(t,e){return(0,o.kJ)(t)?t.some((t=>dt(t,e))):(0,o.HD)(t)?t.split(",").includes(e):!!(0,o.Kj)(t)&&t.test(e)}function yt(t,e){gt(t,"a",e)}function mt(t,e){gt(t,"da",e)}function gt(t,e,n=En){const r=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}return t()});if(Ct(e,r,n),n){let t=n.parent;while(t&&t.parent)ht(t.parent.vnode)&&vt(r,e,n,t),t=t.parent}}function vt(t,e,n,r){const i=Ct(e,t,r,!0);Ot((()=>{(0,o.Od)(r[e],i)}),n)}function bt(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function wt(t){return 128&t.shapeFlag?t.ssContent:t}function Ct(t,e,n=En,o=!1){if(n){const i=n[t]||(n[t]=[]),a=e.__weh||(e.__weh=(...o)=>{if(n.isUnmounted)return;(0,r.Jd)(),Sn(n);const i=s(e,n,t,o);return An(),(0,r.lk)(),i});return o?i.unshift(a):i.push(a),a}}const kt=t=>(e,n=En)=>(!Rn||"sp"===t)&&Ct(t,((...t)=>e(...t)),n),xt=kt("bm"),Et=kt("m"),_t=kt("bu"),St=kt("u"),At=kt("bum"),Ot=kt("um"),Tt=kt("sp"),Bt=kt("rtg"),Rt=kt("rtc");function Ft(t,e=En){Ct("ec",t,e)}function Pt(t,e){const n=F;if(null===n)return t;const r=In(n)||n.proxy,i=t.dirs||(t.dirs=[]);for(let s=0;se(t,n,void 0,s&&s[n])));else{const n=Object.keys(t);i=new Array(n.length);for(let r=0,o=n.length;rt?On(t)?In(t)||t.proxy:Wt(t.parent):null,zt=(0,o.l7)(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Wt(t.parent),$root:t=>Wt(t.root),$emit:t=>t.emit,$options:t=>Zt(t),$forceUpdate:t=>t.f||(t.f=()=>w(t.update)),$nextTick:t=>t.n||(t.n=v.bind(t.proxy)),$watch:t=>Z.bind(t)}),$t=(t,e)=>t!==o.kT&&!t.__isScriptSetup&&(0,o.RI)(t,e),Jt={get({_:t},e){const{ctx:n,setupState:i,data:s,props:a,accessCache:c,type:u,appContext:l}=t;let f;if("$"!==e[0]){const r=c[e];if(void 0!==r)switch(r){case 1:return i[e];case 2:return s[e];case 4:return n[e];case 3:return a[e]}else{if($t(i,e))return c[e]=1,i[e];if(s!==o.kT&&(0,o.RI)(s,e))return c[e]=2,s[e];if((f=t.propsOptions[0])&&(0,o.RI)(f,e))return c[e]=3,a[e];if(n!==o.kT&&(0,o.RI)(n,e))return c[e]=4,n[e];Vt&&(c[e]=0)}}const p=zt[e];let h,d;return p?("$attrs"===e&&(0,r.j)(t,"get",e),p(t)):(h=u.__cssModules)&&(h=h[e])?h:n!==o.kT&&(0,o.RI)(n,e)?(c[e]=4,n[e]):(d=l.config.globalProperties,(0,o.RI)(d,e)?d[e]:void 0)},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return $t(i,e)?(i[e]=n,!0):r!==o.kT&&(0,o.RI)(r,e)?(r[e]=n,!0):!(0,o.RI)(t.props,e)&&(("$"!==e[0]||!(e.slice(1)in t))&&(s[e]=n,!0))},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let c;return!!n[a]||t!==o.kT&&(0,o.RI)(t,a)||$t(e,a)||(c=s[0])&&(0,o.RI)(c,a)||(0,o.RI)(r,a)||(0,o.RI)(zt,a)||(0,o.RI)(i.config.globalProperties,a)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:(0,o.RI)(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Vt=!0;function Yt(t){const e=Zt(t),n=t.proxy,i=t.ctx;Vt=!1,e.beforeCreate&&Gt(e.beforeCreate,t,"bc");const{data:s,computed:a,methods:c,watch:u,provide:l,inject:f,created:p,beforeMount:h,mounted:d,beforeUpdate:y,updated:m,activated:g,deactivated:v,beforeDestroy:b,beforeUnmount:w,destroyed:C,unmounted:k,render:x,renderTracked:E,renderTriggered:_,errorCaptured:S,serverPrefetch:A,expose:O,inheritAttrs:T,components:B,directives:R,filters:F}=e,P=null;if(f&&Xt(f,i,P,t.appContext.config.unwrapInjectedRef),c)for(const r in c){const t=c[r];(0,o.mf)(t)&&(i[r]=t.bind(n))}if(s){0;const e=s.call(n,n);0,(0,o.Kn)(e)&&(t.data=(0,r.qj)(e))}if(Vt=!0,a)for(const r in a){const t=a[r],e=(0,o.mf)(t)?t.bind(n,n):(0,o.mf)(t.get)?t.get.bind(n,n):o.dG;0;const s=!(0,o.mf)(t)&&(0,o.mf)(t.set)?t.set.bind(n):o.dG,c=qn({get:e,set:s});Object.defineProperty(i,r,{enumerable:!0,configurable:!0,get:()=>c.value,set:t=>c.value=t})}if(u)for(const r in u)Kt(u[r],i,n,r);if(l){const t=(0,o.mf)(l)?l.call(n):l;Reflect.ownKeys(t).forEach((e=>{J(e,t[e])}))}function M(t,e){(0,o.kJ)(e)?e.forEach((e=>t(e.bind(n)))):e&&t(e.bind(n))}if(p&&Gt(p,t,"c"),M(xt,h),M(Et,d),M(_t,y),M(St,m),M(yt,g),M(mt,v),M(Ft,S),M(Rt,E),M(Bt,_),M(At,w),M(Ot,k),M(Tt,A),(0,o.kJ)(O))if(O.length){const e=t.exposed||(t.exposed={});O.forEach((t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})}))}else t.exposed||(t.exposed={});x&&t.render===o.dG&&(t.render=x),null!=T&&(t.inheritAttrs=T),B&&(t.components=B),R&&(t.directives=R)}function Xt(t,e,n=o.dG,i=!1){(0,o.kJ)(t)&&(t=re(t));for(const s in t){const n=t[s];let a;a=(0,o.Kn)(n)?"default"in n?V(n.from||s,n.default,!0):V(n.from||s):V(n),(0,r.dq)(a)&&i?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t}):e[s]=a}}function Gt(t,e,n){s((0,o.kJ)(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,n)}function Kt(t,e,n,r){const i=r.includes(".")?Q(n,r):()=>n[r];if((0,o.HD)(t)){const n=e[t];(0,o.mf)(n)&&G(i,n)}else if((0,o.mf)(t))G(i,t.bind(n));else if((0,o.Kn)(t))if((0,o.kJ)(t))t.forEach((t=>Kt(t,e,n,r)));else{const r=(0,o.mf)(t.handler)?t.handler.bind(n):e[t.handler];(0,o.mf)(r)&&G(i,r,t)}else 0}function Zt(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:a}}=t.appContext,c=s.get(e);let u;return c?u=c:i.length||n||r?(u={},i.length&&i.forEach((t=>Qt(u,t,a,!0))),Qt(u,e,a)):u=e,(0,o.Kn)(e)&&s.set(e,u),u}function Qt(t,e,n,r=!1){const{mixins:o,extends:i}=e;i&&Qt(t,i,n,!0),o&&o.forEach((e=>Qt(t,e,n,!0)));for(const s in e)if(r&&"expose"===s);else{const r=te[s]||n&&n[s];t[s]=r?r(t[s],e[s]):e[s]}return t}const te={data:ee,props:ie,emits:ie,methods:ie,computed:ie,beforeCreate:oe,created:oe,beforeMount:oe,mounted:oe,beforeUpdate:oe,updated:oe,beforeDestroy:oe,beforeUnmount:oe,destroyed:oe,unmounted:oe,activated:oe,deactivated:oe,errorCaptured:oe,serverPrefetch:oe,components:ie,directives:ie,watch:se,provide:ee,inject:ne};function ee(t,e){return e?t?function(){return(0,o.l7)((0,o.mf)(t)?t.call(this,this):t,(0,o.mf)(e)?e.call(this,this):e)}:e:t}function ne(t,e){return ie(re(t),re(e))}function re(t){if((0,o.kJ)(t)){const e={};for(let n=0;n0)||16&c){let r;ue(t,e,s,a)&&(f=!0);for(const i in u)e&&((0,o.RI)(e,i)||(r=(0,o.rs)(i))!==i&&(0,o.RI)(e,r))||(l?!n||void 0===n[i]&&void 0===n[r]||(s[i]=le(l,u,i,void 0,t,!0)):delete s[i]);if(a!==u)for(const t in a)e&&(0,o.RI)(e,t)||(delete a[t],f=!0)}else if(8&c){const n=t.vnode.dynamicProps;for(let r=0;r{u=!0;const[n,r]=fe(t,e,!0);(0,o.l7)(a,n),r&&c.push(...r)};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}if(!s&&!u)return(0,o.Kn)(t)&&r.set(t,o.Z6),o.Z6;if((0,o.kJ)(s))for(let f=0;f-1,r[1]=n<0||t-1||(0,o.RI)(r,"default"))&&c.push(e)}}}}const l=[a,c];return(0,o.Kn)(t)&&r.set(t,l),l}function pe(t){return"$"!==t[0]}function he(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:null===t?"null":""}function de(t,e){return he(t)===he(e)}function ye(t,e){return(0,o.kJ)(e)?e.findIndex((e=>de(e,t))):(0,o.mf)(e)&&de(e,t)?0:-1}const me=t=>"_"===t[0]||"$stable"===t,ge=t=>(0,o.kJ)(t)?t.map(mn):[mn(t)],ve=(t,e,n)=>{if(e._n)return e;const r=j(((...t)=>ge(e(...t))),n);return r._c=!1,r},be=(t,e,n)=>{const r=t._ctx;for(const i in t){if(me(i))continue;const n=t[i];if((0,o.mf)(n))e[i]=ve(i,n,r);else if(null!=n){0;const t=ge(n);e[i]=()=>t}}},we=(t,e)=>{const n=ge(e);t.slots.default=()=>n},Ce=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=(0,r.IU)(e),(0,o.Nj)(e,"_",n)):be(e,t.slots={})}else t.slots={},e&&we(t,e);(0,o.Nj)(t.slots,on,1)},ke=(t,e,n)=>{const{vnode:r,slots:i}=t;let s=!0,a=o.kT;if(32&r.shapeFlag){const t=e._;t?n&&1===t?s=!1:((0,o.l7)(i,e),n||1!==t||delete i._):(s=!e.$stable,be(e,i)),a=e}else e&&(we(t,e),a={default:1});if(s)for(const o in i)me(o)||o in a||delete i[o]};function xe(){return{app:null,config:{isNativeTag:o.NO,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 Ee=0;function _e(t,e){return function(n,r=null){(0,o.mf)(n)||(n=Object.assign({},n)),null==r||(0,o.Kn)(r)||(r=null);const i=xe(),s=new Set;let a=!1;const c=i.app={_uid:Ee++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:$n,get config(){return i.config},set config(t){0},use(t,...e){return s.has(t)||(t&&(0,o.mf)(t.install)?(s.add(t),t.install(c,...e)):(0,o.mf)(t)&&(s.add(t),t(c,...e))),c},mixin(t){return i.mixins.includes(t)||i.mixins.push(t),c},component(t,e){return e?(i.components[t]=e,c):i.components[t]},directive(t,e){return e?(i.directives[t]=e,c):i.directives[t]},mount(o,s,u){if(!a){0;const l=un(n,r);return l.appContext=i,s&&e?e(l,o):t(l,o,u),a=!0,c._container=o,o.__vue_app__=c,In(l.component)||l.component.proxy}},unmount(){a&&(t(null,c._container),delete c._container.__vue_app__)},provide(t,e){return i.provides[t]=e,c}};return c}}function Se(t,e,n,s,a=!1){if((0,o.kJ)(t))return void t.forEach(((t,r)=>Se(t,e&&((0,o.kJ)(e)?e[r]:e),n,s,a)));if(pt(s)&&!a)return;const c=4&s.shapeFlag?In(s.component)||s.component.proxy:s.el,u=a?null:c,{i:l,r:f}=t;const p=e&&e.r,h=l.refs===o.kT?l.refs={}:l.refs,d=l.setupState;if(null!=p&&p!==f&&((0,o.HD)(p)?(h[p]=null,(0,o.RI)(d,p)&&(d[p]=null)):(0,r.dq)(p)&&(p.value=null)),(0,o.mf)(f))i(f,l,12,[u,h]);else{const e=(0,o.HD)(f),i=(0,r.dq)(f);if(e||i){const r=()=>{if(t.f){const n=e?(0,o.RI)(d,f)?d[f]:h[f]:f.value;a?(0,o.kJ)(n)&&(0,o.Od)(n,c):(0,o.kJ)(n)?n.includes(c)||n.push(c):e?(h[f]=[c],(0,o.RI)(d,f)&&(d[f]=h[f])):(f.value=[c],t.k&&(h[t.k]=f.value))}else e?(h[f]=u,(0,o.RI)(d,f)&&(d[f]=u)):i&&(f.value=u,t.k&&(h[t.k]=u))};u?(r.id=-1,Oe(r,n)):r()}else 0}}function Ae(){}const Oe=$;function Te(t){return Be(t)}function Be(t,e){Ae();const n=(0,o.E9)();n.__VUE__=!0;const{insert:i,remove:s,patchProp:a,createElement:c,createText:u,createComment:l,setText:f,setElementText:p,parentNode:h,nextSibling:d,setScopeId:y=o.dG,insertStaticContent:m}=t,g=(t,e,n,r=null,o=null,i=null,s=!1,a=null,c=!!e.dynamicChildren)=>{if(t===e)return;t&&!rn(t,e)&&(r=Z(t),V(t,o,i,!0),t=null),-2===e.patchFlag&&(c=!1,e.dynamicChildren=null);const{type:u,ref:l,shapeFlag:f}=e;switch(u){case ze:v(t,e,n,r);break;case $e:b(t,e,n,r);break;case Je:null==t&&C(e,n,r,s);break;case We:M(t,e,n,r,o,i,s,a,c);break;default:1&f?A(t,e,n,r,o,i,s,a,c):6&f?N(t,e,n,r,o,i,s,a,c):(64&f||128&f)&&u.process(t,e,n,r,o,i,s,a,c,tt)}null!=l&&o&&Se(l,t&&t.ref,i,e||t,!e)},v=(t,e,n,r)=>{if(null==t)i(e.el=u(e.children),n,r);else{const n=e.el=t.el;e.children!==t.children&&f(n,e.children)}},b=(t,e,n,r)=>{null==t?i(e.el=l(e.children||""),n,r):e.el=t.el},C=(t,e,n,r)=>{[t.el,t.anchor]=m(t.children,e,n,r,t.el,t.anchor)},x=({el:t,anchor:e},n,r)=>{let o;while(t&&t!==e)o=d(t),i(t,n,r),t=o;i(e,n,r)},S=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=d(t),s(t),t=n;s(e)},A=(t,e,n,r,o,i,s,a,c)=>{s=s||"svg"===e.type,null==t?O(e,n,r,o,i,s,a,c):R(t,e,o,i,s,a,c)},O=(t,e,n,r,s,u,l,f)=>{let h,d;const{type:y,props:m,shapeFlag:g,transition:v,dirs:b}=t;if(h=t.el=c(t.type,u,m&&m.is,m),8&g?p(h,t.children):16&g&&B(t.children,h,null,r,s,u&&"foreignObject"!==y,l,f),b&&Mt(t,null,r,"created"),T(h,t,t.scopeId,l,r),m){for(const e in m)"value"===e||(0,o.Gg)(e)||a(h,e,null,m[e],u,t.children,r,s,K);"value"in m&&a(h,"value",null,m.value),(d=m.onVnodeBeforeMount)&&wn(d,r,t)}b&&Mt(t,null,r,"beforeMount");const w=(!s||s&&!s.pendingBranch)&&v&&!v.persisted;w&&v.beforeEnter(h),i(h,e,n),((d=m&&m.onVnodeMounted)||w||b)&&Oe((()=>{d&&wn(d,r,t),w&&v.enter(h),b&&Mt(t,null,r,"mounted")}),s)},T=(t,e,n,r,o)=>{if(n&&y(t,n),r)for(let i=0;i{for(let u=c;u{const u=e.el=t.el;let{patchFlag:l,dynamicChildren:f,dirs:h}=e;l|=16&t.patchFlag;const d=t.props||o.kT,y=e.props||o.kT;let m;n&&Re(n,!1),(m=y.onVnodeBeforeUpdate)&&wn(m,n,e,t),h&&Mt(e,t,n,"beforeUpdate"),n&&Re(n,!0);const g=i&&"foreignObject"!==e.type;if(f?F(t.dynamicChildren,f,u,n,r,g,s):c||H(t,e,u,null,n,r,g,s,!1),l>0){if(16&l)P(u,e,d,y,n,r,i);else if(2&l&&d.class!==y.class&&a(u,"class",null,y.class,i),4&l&&a(u,"style",d.style,y.style,i),8&l){const o=e.dynamicProps;for(let e=0;e{m&&wn(m,n,e,t),h&&Mt(e,t,n,"updated")}),r)},F=(t,e,n,r,o,i,s)=>{for(let a=0;a{if(n!==r){if(n!==o.kT)for(const u in n)(0,o.Gg)(u)||u in r||a(t,u,n[u],null,c,e.children,i,s,K);for(const u in r){if((0,o.Gg)(u))continue;const l=r[u],f=n[u];l!==f&&"value"!==u&&a(t,u,f,l,c,e.children,i,s,K)}"value"in r&&a(t,"value",n.value,r.value)}},M=(t,e,n,r,o,s,a,c,l)=>{const f=e.el=t?t.el:u(""),p=e.anchor=t?t.anchor:u("");let{patchFlag:h,dynamicChildren:d,slotScopeIds:y}=e;y&&(c=c?c.concat(y):y),null==t?(i(f,n,r),i(p,n,r),B(e.children,n,p,o,s,a,c,l)):h>0&&64&h&&d&&t.dynamicChildren?(F(t.dynamicChildren,d,n,o,s,a,c),(null!=e.key||o&&e===o.subTree)&&Fe(t,e,!0)):H(t,e,n,p,o,s,a,c,l)},N=(t,e,n,r,o,i,s,a,c)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?o.ctx.activate(e,n,r,s,c):L(e,n,r,o,i,s,c):j(t,e,c)},L=(t,e,n,r,o,i,s)=>{const a=t.component=xn(t,r,o);if(ht(t)&&(a.ctx.renderer=tt),Fn(a),a.asyncDep){if(o&&o.registerDep(a,D),!t.el){const t=a.subTree=un($e);b(null,t,e,n)}}else D(a,t,e,n,o,i,s)},j=(t,e,n)=>{const r=e.component=t.component;if(q(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return void U(r,e,n);r.next=e,k(r.update),r.update()}else e.el=t.el,r.vnode=e},D=(t,e,n,i,s,a,c)=>{const u=()=>{if(t.isMounted){let e,{next:n,bu:r,u:i,parent:u,vnode:l}=t,f=n;0,Re(t,!1),n?(n.el=l.el,U(t,n,c)):n=l,r&&(0,o.ir)(r),(e=n.props&&n.props.onVnodeBeforeUpdate)&&wn(e,u,n,l),Re(t,!0);const p=I(t);0;const d=t.subTree;t.subTree=p,g(d,p,h(d.el),Z(d),t,s,a),n.el=p.el,null===f&&W(t,p.el),i&&Oe(i,s),(e=n.props&&n.props.onVnodeUpdated)&&Oe((()=>wn(e,u,n,l)),s)}else{let r;const{el:c,props:u}=e,{bm:l,m:f,parent:p}=t,h=pt(e);if(Re(t,!1),l&&(0,o.ir)(l),!h&&(r=u&&u.onVnodeBeforeMount)&&wn(r,p,e),Re(t,!0),c&&nt){const n=()=>{t.subTree=I(t),nt(c,t.subTree,t,s,null)};h?e.type.__asyncLoader().then((()=>!t.isUnmounted&&n())):n()}else{0;const r=t.subTree=I(t);0,g(null,r,n,i,t,s,a),e.el=r.el}if(f&&Oe(f,s),!h&&(r=u&&u.onVnodeMounted)){const t=e;Oe((()=>wn(r,p,t)),s)}(256&e.shapeFlag||p&&pt(p.vnode)&&256&p.vnode.shapeFlag)&&t.a&&Oe(t.a,s),t.isMounted=!0,e=n=i=null}},l=t.effect=new r.qq(u,(()=>w(f)),t.scope),f=t.update=()=>l.run();f.id=t.uid,Re(t,!0),f()},U=(t,e,n)=>{e.component=t;const o=t.vnode.props;t.vnode=e,t.next=null,ce(t,e.props,o,n),ke(t,e.children,n),(0,r.Jd)(),E(),(0,r.lk)()},H=(t,e,n,r,o,i,s,a,c=!1)=>{const u=t&&t.children,l=t?t.shapeFlag:0,f=e.children,{patchFlag:h,shapeFlag:d}=e;if(h>0){if(128&h)return void $(u,f,n,r,o,i,s,a,c);if(256&h)return void z(u,f,n,r,o,i,s,a,c)}8&d?(16&l&&K(u,o,i),f!==u&&p(n,f)):16&l?16&d?$(u,f,n,r,o,i,s,a,c):K(u,o,i,!0):(8&l&&p(n,""),16&d&&B(f,n,r,o,i,s,a,c))},z=(t,e,n,r,i,s,a,c,u)=>{t=t||o.Z6,e=e||o.Z6;const l=t.length,f=e.length,p=Math.min(l,f);let h;for(h=0;hf?K(t,i,s,!0,!1,p):B(e,n,r,i,s,a,c,u,p)},$=(t,e,n,r,i,s,a,c,u)=>{let l=0;const f=e.length;let p=t.length-1,h=f-1;while(l<=p&&l<=h){const r=t[l],o=e[l]=u?gn(e[l]):mn(e[l]);if(!rn(r,o))break;g(r,o,n,null,i,s,a,c,u),l++}while(l<=p&&l<=h){const r=t[p],o=e[h]=u?gn(e[h]):mn(e[h]);if(!rn(r,o))break;g(r,o,n,null,i,s,a,c,u),p--,h--}if(l>p){if(l<=h){const t=h+1,o=th)while(l<=p)V(t[l],i,s,!0),l++;else{const d=l,y=l,m=new Map;for(l=y;l<=h;l++){const t=e[l]=u?gn(e[l]):mn(e[l]);null!=t.key&&m.set(t.key,l)}let v,b=0;const w=h-y+1;let C=!1,k=0;const x=new Array(w);for(l=0;l=w){V(r,i,s,!0);continue}let o;if(null!=r.key)o=m.get(r.key);else for(v=y;v<=h;v++)if(0===x[v-y]&&rn(r,e[v])){o=v;break}void 0===o?V(r,i,s,!0):(x[o-y]=l+1,o>=k?k=o:C=!0,g(r,e[o],n,null,i,s,a,c,u),b++)}const E=C?Pe(x):o.Z6;for(v=E.length-1,l=w-1;l>=0;l--){const t=y+l,o=e[t],p=t+1{const{el:s,type:a,transition:c,children:u,shapeFlag:l}=t;if(6&l)return void J(t.component.subTree,e,n,r);if(128&l)return void t.suspense.move(e,n,r);if(64&l)return void a.move(t,e,n,tt);if(a===We){i(s,e,n);for(let t=0;tc.enter(s)),o);else{const{leave:t,delayLeave:r,afterLeave:o}=c,a=()=>i(s,e,n),u=()=>{t(s,(()=>{a(),o&&o()}))};r?r(s,a,u):u()}else i(s,e,n)},V=(t,e,n,r=!1,o=!1)=>{const{type:i,props:s,ref:a,children:c,dynamicChildren:u,shapeFlag:l,patchFlag:f,dirs:p}=t;if(null!=a&&Se(a,null,n,t,!0),256&l)return void e.ctx.deactivate(t);const h=1&l&&p,d=!pt(t);let y;if(d&&(y=s&&s.onVnodeBeforeUnmount)&&wn(y,e,t),6&l)G(t.component,n,r);else{if(128&l)return void t.suspense.unmount(n,r);h&&Mt(t,null,e,"beforeUnmount"),64&l?t.type.remove(t,e,n,o,tt,r):u&&(i!==We||f>0&&64&f)?K(u,e,n,!1,!0):(i===We&&384&f||!o&&16&l)&&K(c,e,n),r&&Y(t)}(d&&(y=s&&s.onVnodeUnmounted)||h)&&Oe((()=>{y&&wn(y,e,t),h&&Mt(t,null,e,"unmounted")}),n)},Y=t=>{const{type:e,el:n,anchor:r,transition:o}=t;if(e===We)return void X(n,r);if(e===Je)return void S(t);const i=()=>{s(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&t.shapeFlag&&o&&!o.persisted){const{leave:e,delayLeave:r}=o,s=()=>e(n,i);r?r(t.el,i,s):s()}else i()},X=(t,e)=>{let n;while(t!==e)n=d(t),s(t),t=n;s(e)},G=(t,e,n)=>{const{bum:r,scope:i,update:s,subTree:a,um:c}=t;r&&(0,o.ir)(r),i.stop(),s&&(s.active=!1,V(a,t,e,n)),c&&Oe(c,e),Oe((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},K=(t,e,n,r=!1,o=!1,i=0)=>{for(let s=i;s6&t.shapeFlag?Z(t.component.subTree):128&t.shapeFlag?t.suspense.next():d(t.anchor||t.el),Q=(t,e,n)=>{null==t?e._vnode&&V(e._vnode,null,null,!0):g(e._vnode||null,t,e,null,null,null,n),E(),_(),e._vnode=t},tt={p:g,um:V,m:J,r:Y,mt:L,mc:B,pc:H,pbc:F,n:Z,o:t};let et,nt;return e&&([et,nt]=e(tt)),{render:Q,hydrate:et,createApp:_e(Q,et)}}function Re({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Fe(t,e,n=!1){const r=t.children,i=e.children;if((0,o.kJ)(r)&&(0,o.kJ)(i))for(let o=0;o>1,t[n[a]]0&&(e[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];while(i-- >0)n[i]=s,s=e[s];return n}const Me=t=>t.__isTeleport,Ne=t=>t&&(t.disabled||""===t.disabled),Le=t=>"undefined"!==typeof SVGElement&&t instanceof SVGElement,je=(t,e)=>{const n=t&&t.to;if((0,o.HD)(n)){if(e){const t=e(n);return t}return null}return n},Ie={__isTeleport:!0,process(t,e,n,r,o,i,s,a,c,u){const{mc:l,pc:f,pbc:p,o:{insert:h,querySelector:d,createText:y,createComment:m}}=u,g=Ne(e.props);let{shapeFlag:v,children:b,dynamicChildren:w}=e;if(null==t){const t=e.el=y(""),u=e.anchor=y("");h(t,n,r),h(u,n,r);const f=e.target=je(e.props,d),p=e.targetAnchor=y("");f&&(h(p,f),s=s||Le(f));const m=(t,e)=>{16&v&&l(b,t,e,o,i,s,a,c)};g?m(n,u):f&&m(f,p)}else{e.el=t.el;const r=e.anchor=t.anchor,l=e.target=t.target,h=e.targetAnchor=t.targetAnchor,y=Ne(t.props),m=y?n:l,v=y?r:h;if(s=s||Le(l),w?(p(t.dynamicChildren,w,m,o,i,s,a),Fe(t,e,!0)):c||f(t,e,m,v,o,i,s,a,!1),g)y||De(e,n,r,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const t=e.target=je(e.props,d);t&&De(e,t,null,u,0)}else y&&De(e,l,h,u,1)}He(e)},remove(t,e,n,r,{um:o,o:{remove:i}},s){const{shapeFlag:a,children:c,anchor:u,targetAnchor:l,target:f,props:p}=t;if(f&&i(l),(s||!Ne(p))&&(i(u),16&a))for(let h=0;h0?Ye||o.Z6:null,Ge(),Ke>0&&Ye&&Ye.push(t),t}function tn(t,e,n,r,o,i){return Qe(cn(t,e,n,r,o,i,!0))}function en(t,e,n,r,o){return Qe(un(t,e,n,r,o,!0))}function nn(t){return!!t&&!0===t.__v_isVNode}function rn(t,e){return t.type===e.type&&t.key===e.key}const on="__vInternal",sn=({key:t})=>null!=t?t:null,an=({ref:t,ref_key:e,ref_for:n})=>null!=t?(0,o.HD)(t)||(0,r.dq)(t)||(0,o.mf)(t)?{i:F,r:t,k:e,f:!!n}:t:null;function cn(t,e=null,n=null,r=0,i=null,s=(t===We?0:1),a=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&sn(e),ref:e&&an(e),scopeId:P,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:F};return c?(vn(u,n),128&s&&t.normalize(u)):n&&(u.shapeFlag|=(0,o.HD)(n)?8:16),Ke>0&&!a&&Ye&&(u.patchFlag>0||6&s)&&32!==u.patchFlag&&Ye.push(u),u}const un=ln;function ln(t,e=null,n=null,i=0,s=null,a=!1){if(t&&t!==It||(t=$e),nn(t)){const r=pn(t,e,!0);return n&&vn(r,n),Ke>0&&!a&&Ye&&(6&r.shapeFlag?Ye[Ye.indexOf(t)]=r:Ye.push(r)),r.patchFlag|=-2,r}if(Un(t)&&(t=t.__vccOpts),e){e=fn(e);let{class:t,style:n}=e;t&&!(0,o.HD)(t)&&(e.class=(0,o.C_)(t)),(0,o.Kn)(n)&&((0,r.X3)(n)&&!(0,o.kJ)(n)&&(n=(0,o.l7)({},n)),e.style=(0,o.j5)(n))}const c=(0,o.HD)(t)?1:z(t)?128:Me(t)?64:(0,o.Kn)(t)?4:(0,o.mf)(t)?2:0;return cn(t,e,n,i,s,c,a,!0)}function fn(t){return t?(0,r.X3)(t)||on in t?(0,o.l7)({},t):t:null}function pn(t,e,n=!1){const{props:r,ref:i,patchFlag:s,children:a}=t,c=e?bn(r||{},e):r,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&sn(c),ref:e&&e.ref?n&&i?(0,o.kJ)(i)?i.concat(an(e)):[i,an(e)]:an(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==We?-1===s?16:16|s:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&pn(t.ssContent),ssFallback:t.ssFallback&&pn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u}function hn(t=" ",e=0){return un(ze,null,t,e)}function dn(t,e){const n=un(Je,null,t);return n.staticCount=e,n}function yn(t="",e=!1){return e?(Xe(),en($e,null,t)):un($e,null,t)}function mn(t){return null==t||"boolean"===typeof t?un($e):(0,o.kJ)(t)?un(We,null,t.slice()):"object"===typeof t?gn(t):un(ze,null,String(t))}function gn(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:pn(t)}function vn(t,e){let n=0;const{shapeFlag:r}=t;if(null==e)e=null;else if((0,o.kJ)(e))n=16;else if("object"===typeof e){if(65&r){const n=e.default;return void(n&&(n._c&&(n._d=!1),vn(t,n()),n._c&&(n._d=!0)))}{n=32;const r=e._;r||on in e?3===r&&F&&(1===F.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=F}}else(0,o.mf)(e)?(e={default:e,_ctx:F},n=32):(e=String(e),64&r?(n=16,e=[hn(e)]):n=8);t.children=e,t.shapeFlag|=n}function bn(...t){const e={};for(let n=0;nEn||F,Sn=t=>{En=t,t.scope.on()},An=()=>{En&&En.scope.off(),En=null};function On(t){return 4&t.vnode.shapeFlag}let Tn,Bn,Rn=!1;function Fn(t,e=!1){Rn=e;const{props:n,children:r}=t.vnode,o=On(t);ae(t,n,o,e),Ce(t,r);const i=o?Pn(t,e):void 0;return Rn=!1,i}function Pn(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=(0,r.Xl)(new Proxy(t.ctx,Jt));const{setup:s}=n;if(s){const n=t.setupContext=s.length>1?jn(t):null;Sn(t),(0,r.Jd)();const c=i(s,t,0,[t.props,n]);if((0,r.lk)(),An(),(0,o.tI)(c)){if(c.then(An,An),e)return c.then((n=>{Mn(t,n,e)})).catch((e=>{a(e,t,0)}));t.asyncDep=c}else Mn(t,c,e)}else Nn(t,e)}function Mn(t,e,n){(0,o.mf)(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:(0,o.Kn)(e)&&(t.setupState=(0,r.WL)(e)),Nn(t,n)}function Nn(t,e,n){const i=t.type;if(!t.render){if(!e&&Tn&&!i.render){const e=i.template||Zt(t).template;if(e){0;const{isCustomElement:n,compilerOptions:r}=t.appContext.config,{delimiters:s,compilerOptions:a}=i,c=(0,o.l7)((0,o.l7)({isCustomElement:n,delimiters:s},r),a);i.render=Tn(e,c)}}t.render=i.render||o.dG,Bn&&Bn(t)}Sn(t),(0,r.Jd)(),Yt(t),(0,r.lk)(),An()}function Ln(t){return new Proxy(t.attrs,{get(e,n){return(0,r.j)(t,"get","$attrs"),e[n]}})}function jn(t){const e=e=>{t.exposed=e||{}};let n;return{get attrs(){return n||(n=Ln(t))},slots:t.slots,emit:t.emit,expose:e}}function In(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(t.exposed)),{get(e,n){return n in e?e[n]:n in zt?zt[n](t):void 0},has(t,e){return e in t||e in zt}}))}function Dn(t,e=!0){return(0,o.mf)(t)?t.displayName||t.name:t.name||e&&t.__name}function Un(t){return(0,o.mf)(t)&&"__vccOpts"in t}const qn=(t,e)=>(0,r.Fl)(t,e,Rn);function Hn(t,e,n){const r=arguments.length;return 2===r?(0,o.Kn)(e)&&!(0,o.kJ)(e)?nn(e)?un(t,null,[e]):un(t,e):un(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&nn(n)&&(n=[n]),un(t,e,n))}const Wn=Symbol(""),zn=()=>{{const t=V(Wn);return t}};const $n="3.2.47"},9963:function(t,e,n){"use strict";n.d(e,{D2:function(){return dt},F8:function(){return yt},W3:function(){return et},iM:function(){return pt},nr:function(){return ut},ri:function(){return wt},uT:function(){return N}});var r=n(3577),o=n(6252),i=n(2262);const s="http://www.w3.org/2000/svg",a="undefined"!==typeof document?document:null,c=a&&a.createElement("template"),u={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const o=e?a.createElementNS(s,t):a.createElement(t,n?{is:n}:void 0);return"select"===t&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:t=>a.createTextNode(t),createComment:t=>a.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>a.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,i){const s=n?n.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling)){while(1)if(e.insertBefore(o.cloneNode(!0),n),o===i||!(o=o.nextSibling))break}else{c.innerHTML=r?`${t}`:t;const o=c.content;if(r){const t=o.firstChild;while(t.firstChild)o.appendChild(t.firstChild);o.removeChild(t)}e.insertBefore(o,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function l(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function f(t,e,n){const o=t.style,i=(0,r.HD)(n);if(n&&!i){if(e&&!(0,r.HD)(e))for(const t in e)null==n[t]&&h(o,t,"");for(const t in n)h(o,t,n[t])}else{const r=o.display;i?e!==n&&(o.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(o.display=r)}}const p=/\s*!important$/;function h(t,e,n){if((0,r.kJ)(n))n.forEach((n=>h(t,e,n)));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const o=m(t,e);p.test(n)?t.setProperty((0,r.rs)(o),n.replace(p,""),"important"):t[o]=n}}const d=["Webkit","Moz","ms"],y={};function m(t,e){const n=y[e];if(n)return n;let o=(0,r._A)(e);if("filter"!==o&&o in t)return y[e]=o;o=(0,r.kC)(o);for(let r=0;r_||(S.then((()=>_=0)),_=Date.now());function O(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();(0,o.$d)(T(t,n.value),e,5,[t])};return n.value=t,n.attached=A(),n}function T(t,e){if((0,r.kJ)(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t&&t(e)))}return e}const B=/^on[a-z]/,R=(t,e,n,o,i=!1,s,a,c,u)=>{"class"===e?l(t,o,i):"style"===e?f(t,n,o):(0,r.F7)(e)?(0,r.tR)(e)||k(t,e,n,o,a):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):F(t,e,o,i))?b(t,e,o,s,a,c,u):("true-value"===e?t._trueValue=o:"false-value"===e&&(t._falseValue=o),v(t,e,o,i))};function F(t,e,n,o){return o?"innerHTML"===e||"textContent"===e||!!(e in t&&B.test(e)&&(0,r.mf)(n)):"spellcheck"!==e&&"draggable"!==e&&"translate"!==e&&("form"!==e&&(("list"!==e||"INPUT"!==t.tagName)&&(("type"!==e||"TEXTAREA"!==t.tagName)&&((!B.test(e)||!(0,r.HD)(n))&&e in t))))}"undefined"!==typeof HTMLElement&&HTMLElement;const P="transition",M="animation",N=(t,{slots:e})=>(0,o.h)(o.P$,U(t),e);N.displayName="Transition";const L={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},j=N.props=(0,r.l7)({},o.P$.props,L),I=(t,e=[])=>{(0,r.kJ)(t)?t.forEach((t=>t(...e))):t&&t(...e)},D=t=>!!t&&((0,r.kJ)(t)?t.some((t=>t.length>1)):t.length>1);function U(t){const e={};for(const r in t)r in L||(e[r]=t[r]);if(!1===t.css)return e;const{name:n="v",type:o,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:u=s,appearActiveClass:l=a,appearToClass:f=c,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=t,y=q(i),m=y&&y[0],g=y&&y[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:w,onLeave:C,onLeaveCancelled:k,onBeforeAppear:x=v,onAppear:E=b,onAppearCancelled:_=w}=e,S=(t,e,n)=>{z(t,e?f:c),z(t,e?l:a),n&&n()},A=(t,e)=>{t._isLeaving=!1,z(t,p),z(t,d),z(t,h),e&&e()},O=t=>(e,n)=>{const r=t?E:b,i=()=>S(e,t,n);I(r,[e,i]),$((()=>{z(e,t?u:s),W(e,t?f:c),D(r)||V(e,o,m,i)}))};return(0,r.l7)(e,{onBeforeEnter(t){I(v,[t]),W(t,s),W(t,a)},onBeforeAppear(t){I(x,[t]),W(t,u),W(t,l)},onEnter:O(!1),onAppear:O(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>A(t,e);W(t,p),K(),W(t,h),$((()=>{t._isLeaving&&(z(t,p),W(t,d),D(C)||V(t,o,g,n))})),I(C,[t,n])},onEnterCancelled(t){S(t,!1),I(w,[t])},onAppearCancelled(t){S(t,!0),I(_,[t])},onLeaveCancelled(t){A(t),I(k,[t])}})}function q(t){if(null==t)return null;if((0,r.Kn)(t))return[H(t.enter),H(t.leave)];{const e=H(t);return[e,e]}}function H(t){const e=(0,r.He)(t);return e}function W(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t._vtc||(t._vtc=new Set)).add(e)}function z(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.remove(e)));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function $(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let J=0;function V(t,e,n,r){const o=t._endId=++J,i=()=>{o===t._endId&&r()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:c}=Y(t,e);if(!s)return r();const u=s+"end";let l=0;const f=()=>{t.removeEventListener(u,p),i()},p=e=>{e.target===t&&++l>=c&&f()};setTimeout((()=>{l(n[t]||"").split(", "),o=r(`${P}Delay`),i=r(`${P}Duration`),s=X(o,i),a=r(`${M}Delay`),c=r(`${M}Duration`),u=X(a,c);let l=null,f=0,p=0;e===P?s>0&&(l=P,f=s,p=i.length):e===M?u>0&&(l=M,f=u,p=c.length):(f=Math.max(s,u),l=f>0?s>u?P:M:null,p=l?l===P?i.length:c.length:0);const h=l===P&&/\b(transform|all)(,|$)/.test(r(`${P}Property`).toString());return{type:l,timeout:f,propCount:p,hasTransform:h}}function X(t,e){while(t.lengthG(e)+G(t[n]))))}function G(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function K(){return document.body.offsetHeight}const Z=new WeakMap,Q=new WeakMap,tt={name:"TransitionGroup",props:(0,r.l7)({},j,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=(0,o.FN)(),r=(0,o.Y8)();let s,a;return(0,o.ic)((()=>{if(!s.length)return;const e=t.moveClass||`${t.name||"v"}-move`;if(!it(s[0].el,n.vnode.el,e))return;s.forEach(nt),s.forEach(rt);const r=s.filter(ot);K(),r.forEach((t=>{const n=t.el,r=n.style;W(n,e),r.transform=r.webkitTransform=r.transitionDuration="";const o=n._moveCb=t=>{t&&t.target!==n||t&&!/transform$/.test(t.propertyName)||(n.removeEventListener("transitionend",o),n._moveCb=null,z(n,e))};n.addEventListener("transitionend",o)}))})),()=>{const c=(0,i.IU)(t),u=U(c);let l=c.tag||o.HY;s=a,a=e.default?(0,o.Q6)(e.default()):[];for(let t=0;t{t.split(/\s+/).forEach((t=>t&&r.classList.remove(t)))})),n.split(/\s+/).forEach((t=>t&&r.classList.add(t))),r.style.display="none";const o=1===e.nodeType?e:e.parentNode;o.appendChild(r);const{hasTransform:i}=Y(r);return o.removeChild(r),i}const st=t=>{const e=t.props["onUpdate:modelValue"]||!1;return(0,r.kJ)(e)?t=>(0,r.ir)(e,t):e};function at(t){t.target.composing=!0}function ct(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const ut={created(t,{modifiers:{lazy:e,trim:n,number:o}},i){t._assign=st(i);const s=o||i.props&&"number"===i.props.type;w(t,e?"change":"input",(e=>{if(e.target.composing)return;let o=t.value;n&&(o=o.trim()),s&&(o=(0,r.h5)(o)),t._assign(o)})),n&&w(t,"change",(()=>{t.value=t.value.trim()})),e||(w(t,"compositionstart",at),w(t,"compositionend",ct),w(t,"change",ct))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:o,number:i}},s){if(t._assign=st(s),t.composing)return;if(document.activeElement===t&&"range"!==t.type){if(n)return;if(o&&t.value.trim()===e)return;if((i||"number"===t.type)&&(0,r.h5)(t.value)===e)return}const a=null==e?"":e;t.value!==a&&(t.value=a)}};const lt=["ctrl","shift","alt","meta"],ft={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>lt.some((n=>t[`${n}Key`]&&!e.includes(n)))},pt=(t,e)=>(n,...r)=>{for(let t=0;tn=>{if(!("key"in n))return;const o=(0,r.rs)(n.key);return e.some((t=>t===o||ht[t]===o))?t(n):void 0},yt={beforeMount(t,{value:e},{transition:n}){t._vod="none"===t.style.display?"":t.style.display,n&&e?n.beforeEnter(t):mt(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!==!n&&(r?e?(r.beforeEnter(t),mt(t,!0),r.enter(t)):r.leave(t,(()=>{mt(t,!1)})):mt(t,e))},beforeUnmount(t,{value:e}){mt(t,e)}};function mt(t,e){t.style.display=e?t._vod:"none"}const gt=(0,r.l7)({patchProp:R},u);let vt;function bt(){return vt||(vt=(0,o.Us)(gt))}const wt=(...t)=>{const e=bt().createApp(...t);const{mount:n}=e;return e.mount=t=>{const o=Ct(t);if(!o)return;const i=e._component;(0,r.mf)(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},e};function Ct(t){if((0,r.HD)(t)){const e=document.querySelector(t);return e}return t}},3577:function(t,e,n){"use strict";function r(t,e){const n=Object.create(null),r=t.split(",");for(let o=0;o!!n[t.toLowerCase()]:t=>!!n[t]}n.d(e,{C_:function(){return f},DM:function(){return P},E9:function(){return st},F7:function(){return _},Gg:function(){return J},HD:function(){return j},He:function(){return ot},Kj:function(){return N},Kn:function(){return D},NO:function(){return x},Nj:function(){return nt},Od:function(){return O},PO:function(){return z},Pq:function(){return h},RI:function(){return B},S0:function(){return $},W7:function(){return W},WV:function(){return m},Z6:function(){return C},_A:function(){return X},_N:function(){return F},aU:function(){return tt},dG:function(){return k},e1:function(){return i},fY:function(){return r},h5:function(){return rt},hR:function(){return Q},hq:function(){return g},ir:function(){return et},j5:function(){return s},kC:function(){return Z},kJ:function(){return R},kT:function(){return w},l7:function(){return A},mf:function(){return L},rs:function(){return K},tI:function(){return U},tR:function(){return S},yA:function(){return d},yk:function(){return I},zw:function(){return v}});const o="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",i=r(o);function s(t){if(R(t)){const e={};for(let n=0;n{if(t){const n=t.split(c);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function f(t){let e="";if(j(t))e=t;else if(R(t))for(let n=0;nm(t,e)))}const v=t=>j(t)?t:null==t?"":R(t)||D(t)&&(t.toString===q||!L(t.toString))?JSON.stringify(t,b,2):String(t),b=(t,e)=>e&&e.__v_isRef?b(t,e.value):F(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,n])=>(t[`${e} =>`]=n,t)),{})}:P(e)?{[`Set(${e.size})`]:[...e.values()]}:!D(e)||R(e)||z(e)?e:String(e),w={},C=[],k=()=>{},x=()=>!1,E=/^on[^a-z]/,_=t=>E.test(t),S=t=>t.startsWith("onUpdate:"),A=Object.assign,O=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},T=Object.prototype.hasOwnProperty,B=(t,e)=>T.call(t,e),R=Array.isArray,F=t=>"[object Map]"===H(t),P=t=>"[object Set]"===H(t),M=t=>"[object Date]"===H(t),N=t=>"[object RegExp]"===H(t),L=t=>"function"===typeof t,j=t=>"string"===typeof t,I=t=>"symbol"===typeof t,D=t=>null!==t&&"object"===typeof t,U=t=>D(t)&&L(t.then)&&L(t.catch),q=Object.prototype.toString,H=t=>q.call(t),W=t=>H(t).slice(8,-1),z=t=>"[object Object]"===H(t),$=t=>j(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,J=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),V=t=>{const e=Object.create(null);return n=>{const r=e[n];return r||(e[n]=t(n))}},Y=/-(\w)/g,X=V((t=>t.replace(Y,((t,e)=>e?e.toUpperCase():"")))),G=/\B([A-Z])/g,K=V((t=>t.replace(G,"-$1").toLowerCase())),Z=V((t=>t.charAt(0).toUpperCase()+t.slice(1))),Q=V((t=>t?`on${Z(t)}`:"")),tt=(t,e)=>!Object.is(t,e),et=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},rt=t=>{const e=parseFloat(t);return isNaN(e)?t:e},ot=t=>{const e=j(t)?Number(t):NaN;return isNaN(e)?t:e};let it;const st=()=>it||(it="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{})},6906:function(t){function e(t,e,r){var o=!1;return r=r||n,i.count=t,0===t?e():i;function i(t,n){if(i.count<=0)throw new Error("after called too many times");--i.count,t?(o=!0,e(t),e=r):0!==i.count||o||e(null,n)}}function n(){}t.exports=e},9373:function(t){!function(e,n){t.exports=n()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=41)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=/mobile/i.test(window.navigator.userAgent),o={secondToTime:function(t){var e=Math.floor(t/3600),n=Math.floor((t-3600*e)/60),r=Math.floor(t-3600*e-60*n);return(e>0?[e,n,r]:[n,r]).map((function(t){return t<10?"0"+t:""+t})).join(":")},getElementViewLeft:function(t){var e=t.offsetLeft,n=t.offsetParent,r=document.body.scrollLeft+document.documentElement.scrollLeft;if(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)for(;null!==n&&n!==t;)e+=n.offsetLeft,n=n.offsetParent;else for(;null!==n;)e+=n.offsetLeft,n=n.offsetParent;return e-r},getElementViewTop:function(t,e){for(var n,r=t.offsetTop,o=t.offsetParent;null!==o;)r+=o.offsetTop,o=o.offsetParent;return n=document.body.scrollTop+document.documentElement.scrollTop,e?r:r-n},isMobile:r,storage:{set:function(t,e){localStorage.setItem(t,e)},get:function(t){return localStorage.getItem(t)}},nameMap:{dragStart:r?"touchstart":"mousedown",dragMove:r?"touchmove":"mousemove",dragEnd:r?"touchend":"mouseup"},randomOrder:function(t){return function(t){for(var e=t.length-1;e>=0;e--){var n=Math.floor(Math.random()*(e+1)),r=t[n];t[n]=t[e],t[e]=r}return t}([].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e\n ',e+=i(n+a),e+='\n ',e+=i(t.name),e+='\n ',e+=i(t.artist),e+="\n\n"})),e}},function(t,e,n){"use strict";t.exports=n(15)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=v(n(33)),o=v(n(32)),i=v(n(31)),s=v(n(30)),a=v(n(29)),c=v(n(28)),u=v(n(27)),l=v(n(26)),f=v(n(25)),p=v(n(24)),h=v(n(23)),d=v(n(22)),y=v(n(21)),m=v(n(20)),g=v(n(19));function v(t){return t&&t.__esModule?t:{default:t}}var b={play:r.default,pause:o.default,volumeUp:i.default,volumeDown:s.default,volumeOff:a.default,orderRandom:c.default,orderList:u.default,menu:l.default,loopAll:f.default,loopOne:p.default,loopNone:h.default,loading:d.default,right:y.default,skip:m.default,lrc:g.default};e.default=b},function(t,e,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"===("undefined"==typeof window?"undefined":o(window))&&(r=window)}t.exports=r},function(t,e,n){"use strict";var r,o,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};void 0===(o="function"==typeof(r=function(){if("object"===("undefined"==typeof window?"undefined":i(window))&&void 0!==document.querySelectorAll&&void 0!==window.pageYOffset&&void 0!==history.pushState){var t=function(t,e,n,r){return n>r?e:t+(e-t)*((o=n/r)<.5?4*o*o*o:(o-1)*(2*o-2)*(2*o-2)+1);var o},e=function(e,n,r,o){n=n||500;var i=(o=o||window).scrollTop||window.pageYOffset;if("number"==typeof e)var s=parseInt(e);else s=function(t,e){return"HTML"===t.nodeName?-e:t.getBoundingClientRect().top+e}(e,i);var a=Date.now(),c=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){window.setTimeout(t,15)};!function u(){var l=Date.now()-a;o!==window?o.scrollTop=t(i,s,l,n):window.scroll(0,t(i,s,l,n)),l>n?"function"==typeof r&&r(e):c(u)}()},n=function(t){if(!t.defaultPrevented){t.preventDefault(),location.hash!==this.hash&&window.history.pushState(null,null,this.hash);var n=document.getElementById(this.hash.substring(1));if(!n)return;e(n,500,(function(t){location.replace("#"+t.id)}))}};return document.addEventListener("DOMContentLoaded",(function(){for(var t,e=document.querySelectorAll('a[href^="#"]:not([href="#"])'),r=e.length;t=e[--r];)t.addEventListener("click",n,!1)})),e}})?r.call(e,n,e,t):r)||(t.exports=o)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n1),n=0===this.audios.length;this.player.template.listOl.innerHTML+=(0,o.default)({theme:this.player.options.theme,audio:t,index:this.audios.length+1}),this.audios=this.audios.concat(t),e&&this.audios.length>1&&this.player.container.classList.add("aplayer-withlist"),this.player.randomOrder=i.default.randomOrder(this.audios.length),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur"),this.player.template.listCurs[this.audios.length-1].style.backgroundColor=t.theme||this.player.options.theme,n&&("random"===this.player.options.order?this.switch(this.player.randomOrder[0]):this.switch(0))}},{key:"remove",value:function(t){if(this.player.events.trigger("listremove",{index:t}),this.audios[t])if(this.audios.length>1){var e=this.player.container.querySelectorAll(".aplayer-list li");e[t].remove(),this.audios.splice(t,1),this.player.lrc&&this.player.lrc.remove(t),t===this.index&&(this.audios[t]?this.switch(t):this.switch(t-1)),this.index>t&&this.index--;for(var n=t;ne&&!t.player.audio.paused&&(t.player.container.classList.remove("aplayer-loading"),r=!1),e=n)}),100)}},{key:"enable",value:function(t){this["enable"+t+"Checker"]=!0,"fps"===t&&this.initfpsChecker()}},{key:"disable",value:function(t){this["enable"+t+"Checker"]=!1}},{key:"destroy",value:function(){var t=this;this.types.forEach((function(e){t["enable"+e+"Checker"]=!1,t[e+"Checker"]&&clearInterval(t[e+"Checker"])}))}}]),t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n1?"one"===t.player.options.loop?(t.player.options.loop="none",t.player.template.loop.innerHTML=i.default.loopNone):"none"===t.player.options.loop?(t.player.options.loop="all",t.player.template.loop.innerHTML=i.default.loopAll):"all"===t.player.options.loop&&(t.player.options.loop="one",t.player.template.loop.innerHTML=i.default.loopOne):"one"===t.player.options.loop||"all"===t.player.options.loop?(t.player.options.loop="none",t.player.template.loop.innerHTML=i.default.loopNone):"none"===t.player.options.loop&&(t.player.options.loop="all",t.player.template.loop.innerHTML=i.default.loopAll)}))}},{key:"initMenuButton",value:function(){var t=this;this.player.template.menu.addEventListener("click",(function(){t.player.list.toggle()}))}},{key:"initMiniSwitcher",value:function(){var t=this;this.player.template.miniSwitcher.addEventListener("click",(function(){t.player.setMode("mini"===t.player.mode?"normal":"mini")}))}},{key:"initSkipButton",value:function(){var t=this;this.player.template.skipBackButton.addEventListener("click",(function(){t.player.skipBack()})),this.player.template.skipForwardButton.addEventListener("click",(function(){t.player.skipForward()})),this.player.template.skipPlayButton.addEventListener("click",(function(){t.player.toggle()}))}},{key:"initLrcButton",value:function(){var t=this;this.player.template.lrcButton.addEventListener("click",(function(){t.player.template.lrcButton.classList.contains("aplayer-icon-lrc-inactivity")?(t.player.template.lrcButton.classList.remove("aplayer-icon-lrc-inactivity"),t.player.lrc&&t.player.lrc.show()):(t.player.template.lrcButton.classList.add("aplayer-icon-lrc-inactivity"),t.player.lrc&&t.player.lrc.hide())}))}}]),t}();e.default=a},function(t,e,n){var r=n(2);t.exports=function(t){"use strict";t=t||{};var e="",n=r.$each,o=t.lyrics,i=(t.$value,t.$index,r.$escape);return n(o,(function(t,n){e+="\n \n"})),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:this.player.audio.currentTime;if(this.index>this.current.length-1||t=this.current[this.index+1][0])for(var e=0;e=this.current[e][0]&&(!this.current[e+1]||t=200&&n.status<300||304===n.status?e.parsed[t]=e.parse(n.responseText):(e.player.notice("LRC file request fails: status "+n.status),e.parsed[t]=[["00:00","Not available"]]),e.container.innerHTML=(0,s.default)({lyrics:e.parsed[t]}),e.update(0),e.current=e.parsed[t])};var r=this.player.list.audios[t].lrc;n.open("get",r,!0),n.send(null)}else this.player.list.audios[t].lrc?this.parsed[t]=this.parse(this.player.list.audios[t].lrc):this.parsed[t]=[["00:00","Not available"]];this.container.innerHTML=(0,s.default)({lyrics:this.parsed[t]}),this.update(0),this.current=this.parsed[t]}},{key:"parse",value:function(t){if(t){for(var e=(t=t.replace(/([^\]^\n])\[/g,(function(t,e){return e+"\n["}))).split("\n"),n=[],r=e.length,o=0;o/g,"").replace(/^\s+|\s+$/g,"");if(i)for(var a=i.length,c=0;c]/;o.$escape=function(t){return function(t){var e=""+t,n=i.exec(e);if(!n)return t;var r="",o=void 0,s=void 0,a=void 0;for(o=n.index,s=0;o\n \n
',e+=a.play,e+='
\n \n \n
\n
\n\n
\n
\n
\n'):(e+='\n
\n
\n
',e+=a.play,e+='
\n
\n
\n
\n No audio\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n ',e+=a.loading,e+='\n \n
\n
\n
\n
\n \n 00:00 / 00:00\n \n \n ',e+=a.skip,e+='\n \n \n ',e+=a.play,e+='\n \n \n ',e+=a.skip,e+='\n \n
\n \n
\n
\n
\n
\n
\n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n '},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e){t.exports=''},function(t,e,n){"use strict";var r,o,i=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(t){if(r===setTimeout)return setTimeout(t,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch(t){r=s}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(t){o=a}}();var u,l=[],f=!1,p=-1;function h(){f&&u&&(f=!1,u.length?l=u.concat(l):p=-1,l.length&&d())}function d(){if(!f){var t=c(h);f=!0;for(var e=l.length;e;){for(u=l,l=[];++p1)for(var n=1;n=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(35),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){"use strict";(function(e){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=setTimeout;function o(){}function i(t){if(!(this instanceof i))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],l(t,this)}function s(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,i._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void c(e.promise,t)}a(e.promise,r)}else(1===t._state?a:c)(e.promise,t._value)}))):t._deferreds.push(e)}function a(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"===(void 0===e?"undefined":n(e))||"function"==typeof e)){var r=e.then;if(e instanceof i)return t._state=3,t._value=e,void u(t);if("function"==typeof r)return void l((o=r,s=e,function(){o.apply(s,arguments)}),t)}t._state=1,t._value=e,u(t)}catch(e){c(t,e)}var o,s}function c(t,e){t._state=2,t._value=e,u(t)}function u(t){2===t._state&&0===t._deferreds.length&&i._immediateFn((function(){t._handled||i._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e1&&this.container.classList.add("aplayer-withlist"),i.default.isMobile&&this.container.classList.add("aplayer-mobile"),this.arrow=this.container.offsetWidth<=300,this.arrow&&this.container.classList.add("aplayer-arrow"),this.container=this.options.container,2===this.options.lrcType||!0===this.options.lrcType)for(var n=this.container.getElementsByClassName("aplayer-lrc-content"),r=0;r1?(t.notice("An audio error has occurred, player will skip forward in 2 seconds."),e=setTimeout((function(){t.skipForward(),t.paused||t.play()}),2e3)):1===t.list.audios.length&&t.notice("An audio error has occurred.")})),this.events.on("listswitch",(function(){e&&clearTimeout(e)})),this.on("ended",(function(){"none"===t.options.loop?"list"===t.options.order?t.list.index0&&void 0!==arguments[0]?arguments[0]:this.list.audios[this.list.index].theme||this.options.theme,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.list.index;(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&this.list.audios[e]&&(this.list.audios[e].theme=t),this.template.listCurs[e]&&(this.template.listCurs[e].style.backgroundColor=t),e===this.list.index&&(this.template.pic.style.backgroundColor=t,this.template.played.style.background=t,this.template.thumb.style.background=t,this.template.volume.style.background=t)}},{key:"seek",value:function(t){t=Math.max(t,0),t=Math.min(t,this.duration),this.audio.currentTime=t,this.bar.set("played",t/this.duration,"width"),this.template.ptime.innerHTML=i.default.secondToTime(t)}},{key:"setUIPlaying",value:function(){var t=this;if(this.paused&&(this.paused=!1,this.template.button.classList.remove("aplayer-play"),this.template.button.classList.add("aplayer-pause"),this.template.button.innerHTML="",setTimeout((function(){t.template.button.innerHTML=s.default.pause}),100),this.template.skipPlayButton.innerHTML=s.default.pause),this.timer.enable("loading"),this.options.mutex)for(var e=0;e=.95?this.template.volumeButton.innerHTML=s.default.volumeUp:this.volume()>0?this.template.volumeButton.innerHTML=s.default.volumeDown:this.template.volumeButton.innerHTML=s.default.volumeOff}},{key:"volume",value:function(t,e){return t=parseFloat(t),isNaN(t)||(t=Math.max(t,0),t=Math.min(t,1),this.bar.set("volume",t,"height"),e||this.storage.set("volume",t),this.audio.volume=t,this.audio.muted&&(this.audio.muted=!1),this.switchVolumeIcon()),this.audio.muted?0:this.audio.volume}},{key:"on",value:function(t,e){this.events.on(t,e)}},{key:"toggle",value:function(){this.template.button.classList.contains("aplayer-play")?this.play():this.template.button.classList.contains("aplayer-pause")&&this.pause()}},{key:"switchAudio",value:function(t){this.list.switch(t)}},{key:"addAudio",value:function(t){this.list.add(t)}},{key:"removeAudio",value:function(t){this.list.remove(t)}},{key:"destroy",value:function(){g.splice(g.indexOf(this),1),this.pause(),this.container.innerHTML="",this.audio.src="",this.timer.destroy(),this.events.trigger("destroy")}},{key:"setMode",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"normal";this.mode=t,"mini"===t?this.container.classList.add("aplayer-narrow"):"normal"===t&&this.container.classList.remove("aplayer-narrow")}},{key:"notice",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.8;this.template.notice.innerHTML=t,this.template.notice.style.opacity=r,this.noticeTime&&clearTimeout(this.noticeTime),this.events.trigger("noticeshow",{text:t}),n&&(this.noticeTime=setTimeout((function(){e.template.notice.style.opacity=0,e.events.trigger("noticehide")}),n))}},{key:"prevIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return this.list.index-1<0?this.list.audios.length-1:this.list.index-1;if("random"===this.options.order){var t=this.randomOrder.indexOf(this.list.index);return 0===t?this.randomOrder[this.randomOrder.length-1]:this.randomOrder[t-1]}}},{key:"nextIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return(this.list.index+1)%this.list.audios.length;if("random"===this.options.order){var t=this.randomOrder.indexOf(this.list.index);return t===this.randomOrder.length-1?this.randomOrder[0]:this.randomOrder[t+1]}}},{key:"skipBack",value:function(){this.list.switch(this.prevIndex())}},{key:"skipForward",value:function(){this.list.switch(this.nextIndex())}},{key:"duration",get:function(){return isNaN(this.audio.duration)?0:this.audio.duration}}],[{key:"version",get:function(){return"1.10.1"}}]),t}();e.default=v},,function(t,e,n){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(40);var r,o=n(38),i=(r=o)&&r.__esModule?r:{default:r};console.log("\n %c APlayer v1.10.1 af84efb %c http://aplayer.js.org \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;"),e.default=i.default}]).default}))},9718:function(t){t.exports=function(t,e,n){var r=t.byteLength;if(e=e||0,n=n||r,t.slice)return t.slice(e,n);if(e<0&&(e+=r),n<0&&(n+=r),n>r&&(n=r),e>=r||e>=n||0===r)return new ArrayBuffer(0);for(var o=new Uint8Array(t),i=new Uint8Array(n-e),s=e,a=0;s0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=e,e.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},e.prototype.reset=function(){this.attempts=0},e.prototype.setMin=function(t){this.ms=t},e.prototype.setMax=function(t){this.max=t},e.prototype.setJitter=function(t){this.jitter=t}},3704:function(t,e){(function(t){"use strict";e.encode=function(e){var n,r=new Uint8Array(e),o=r.length,i="";for(n=0;n>2],i+=t[(3&r[n])<<4|r[n+1]>>4],i+=t[(15&r[n+1])<<2|r[n+2]>>6],i+=t[63&r[n+2]];return o%3===2?i=i.substring(0,i.length-1)+"=":o%3===1&&(i=i.substring(0,i.length-2)+"=="),i},e.decode=function(e){var n,r,o,i,s,a=.75*e.length,c=e.length,u=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var l=new ArrayBuffer(a),f=new Uint8Array(l);for(n=0;n>4,f[u++]=(15&o)<<4|i>>2,f[u++]=(3&i)<<6|63&s;return l}})("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},5548:function(t){var e="undefined"!==typeof e?e:"undefined"!==typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!==typeof MSBlobBuilder?MSBlobBuilder:"undefined"!==typeof MozBlobBuilder&&MozBlobBuilder,n=function(){try{var t=new Blob(["hi"]);return 2===t.size}catch(e){return!1}}(),r=n&&function(){try{var t=new Blob([new Uint8Array([1,2])]);return 2===t.size}catch(e){return!1}}(),o=e&&e.prototype.append&&e.prototype.getBlob;function i(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var n=new Uint8Array(t.byteLength);n.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=n.buffer}return e}return t}))}function s(t,n){n=n||{};var r=new e;return i(t).forEach((function(t){r.append(t)})),n.type?r.getBlob(n.type):r.getBlob()}function a(t,e){return new Blob(i(t),e||{})}"undefined"!==typeof Blob&&(s.prototype=Blob.prototype,a.prototype=Blob.prototype),t.exports=function(){return n?r?Blob:a:o?s:void 0}()},6077:function(t){var e=[].slice;t.exports=function(t,n){if("string"==typeof n&&(n=t[n]),"function"!=typeof n)throw new Error("bind() requires a function");var r=e.call(arguments,2);return function(){return n.apply(t,r.concat(e.call(arguments)))}}},8767:function(t){function e(t){if(t)return n(t)}function n(t){for(var n in e.prototype)t[n]=e.prototype[n];return t}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},e.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var o=0;ol)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},3658:function(t,e,n){"use strict";var r=n(9781),o=n(3157),i=TypeError,s=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(o(t)&&!s(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,n){var r=n(1702),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},9920:function(t,e,n){var r=n(2597),o=n(3887),i=n(1236),s=n(3070);t.exports=function(t,e,n){for(var a=o(e),c=s.f,u=i.f,l=0;ln)throw e("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,n){var r,o,i=n(7854),s=n(8113),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),o=n(1236).f,i=n(8880),s=n(8052),a=n(3072),c=n(9920),u=n(4705);t.exports=function(t,e){var n,l,f,p,h,d,y=t.target,m=t.global,g=t.stat;if(l=m?r:g?r[y]||a(y,{}):(r[y]||{}).prototype,l)for(f in e){if(h=e[f],t.dontCallGetSet?(d=o(l,f),p=d&&d.value):p=l[f],n=u(m?f:y+(g?".":"#")+f,t.forced),!n&&void 0!==p){if(typeof h==typeof p)continue;c(h,p)}(t.sham||p&&p.sham)&&i(h,"sham",!0),s(l,f,h,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,e,n){var r=n(9781),o=n(2597),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},1702:function(t,e,n){var r=n(4374),o=Function.prototype,i=o.call,s=r&&o.bind.bind(i,i);t.exports=r?s:function(t){return function(){return i.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),o=n(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},8173:function(t,e,n){var r=n(9662),o=n(8554);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(t,e,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,n){var r=n(9781),o=n(7293),i=n(317);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(1702),o=n(7293),i=n(4326),s=Object,a=r("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):s(t)}:s},2788:function(t,e,n){var r=n(1702),o=n(614),i=n(5465),s=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},9909:function(t,e,n){var r,o,i,s=n(4811),a=n(7854),c=n(111),u=n(8880),l=n(2597),f=n(5465),p=n(6200),h=n(3501),d="Object already initialized",y=a.TypeError,m=a.WeakMap,g=function(t){return i(t)?o(t):r(t,{})},v=function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw y("Incompatible receiver, "+t+" required");return n}};if(s||f.state){var b=f.state||(f.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,r=function(t,e){if(b.has(t))throw y(d);return e.facade=t,b.set(t,e),e},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var w=p("state");h[w]=!0,r=function(t,e){if(l(t,w))throw y(d);return e.facade=t,u(t,w,e),e},o=function(t){return l(t,w)?t[w]:{}},i=function(t){return l(t,w)}}t.exports={set:r,get:o,has:i,enforce:g,getterFor:v}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},614:function(t,e,n){var r=n(4154),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4705:function(t,e,n){var r=n(7293),o=n(614),i=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n==l||n!=u&&(o(e)?r(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},8554:function(t){t.exports=function(t){return null===t||void 0===t}},111:function(t,e,n){var r=n(614),o=n(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===i}:function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(5005),o=n(614),i=n(7976),s=n(3307),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,a(t))}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},6339:function(t,e,n){var r=n(1702),o=n(7293),i=n(614),s=n(2597),a=n(9781),c=n(6530).CONFIGURABLE,u=n(2788),l=n(9909),f=l.enforce,p=l.get,h=String,d=Object.defineProperty,y=r("".slice),m=r("".replace),g=r([].join),v=a&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===y(h(e),0,7)&&(e="["+m(h(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&s(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=f(t);return s(r,"source")||(r.source=g(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&p(this).source||u(this)}),"toString")},4758:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},3070:function(t,e,n){var r=n(9781),o=n(4664),i=n(3353),s=n(9670),a=n(4948),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";e.f=r?i?function(t,e,n){if(s(t),e=a(e),s(n),"function"===typeof t&&"prototype"===e&&"value"in n&&h in n&&!n[h]){var r=l(t,e);r&&r[h]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(s(t),e=a(e),s(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),o=n(6916),i=n(5296),s=n(9114),a=n(5656),c=n(4948),u=n(2597),l=n(4664),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e),l)try{return f(t,e)}catch(n){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},8006:function(t,e,n){var r=n(6324),o=n(748),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,n){var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,e,n){var r=n(1702),o=n(2597),i=n(5656),s=n(1318).indexOf,a=n(3501),c=r([].push);t.exports=function(t,e){var n,r=i(t),u=0,l=[];for(n in r)!o(a,n)&&o(r,n)&&c(l,n);while(e.length>u)o(r,n=e[u++])&&(~s(l,n)||c(l,n));return l}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},2140:function(t,e,n){var r=n(6916),o=n(614),i=n(111),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&o(n=t.toString)&&!i(a=r(n,t)))return a;if(o(n=t.valueOf)&&!i(a=r(n,t)))return a;if("string"!==e&&o(n=t.toString)&&!i(a=r(n,t)))return a;throw s("Can't convert object to primitive value")}},3887:function(t,e,n){var r=n(5005),o=n(1702),i=n(8006),s=n(5181),a=n(9670),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=s.f;return n?c(e,n(t)):e}},4488:function(t,e,n){var r=n(8554),o=TypeError;t.exports=function(t){if(r(t))throw o("Can't call method on "+t);return t}},6200:function(t,e,n){var r=n(2309),o=n(9711),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,n){var r=n(7854),o=n(3072),i="__core-js_shared__",s=r[i]||o(i,{});t.exports=s},2309:function(t,e,n){var r=n(1913),o=n(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.1",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){var r=n(7392),o=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(t,e,n){var r=n(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5656:function(t,e,n){var r=n(8361),o=n(4488);t.exports=function(t){return r(o(t))}},9303:function(t,e,n){var r=n(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},7466:function(t,e,n){var r=n(9303),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488),o=Object;t.exports=function(t){return o(r(t))}},7593:function(t,e,n){var r=n(6916),o=n(111),i=n(2190),s=n(8173),a=n(2140),c=n(5112),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,c=s(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},4948:function(t,e,n){var r=n(7593),o=n(2190);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},9711:function(t,e,n){var r=n(1702),o=0,i=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},3307:function(t,e,n){var r=n(6293);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var r=n(9781),o=n(7293);t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,n){var r=n(7854),o=n(614),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:function(t,e,n){var r=n(7854),o=n(2309),i=n(2597),s=n(9711),a=n(6293),c=n(3307),u=r.Symbol,l=o("wks"),f=c?u["for"]||u:u&&u.withoutSetter||s;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},7658:function(t,e,n){"use strict";var r=n(2109),o=n(7908),i=n(6244),s=n(3658),a=n(7207),c=n(7293),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},f=u||!l();r({target:"Array",proto:!0,arity:1,forced:f},{push:function(t){var e=o(this),n=i(e),r=arguments.length;a(n+r);for(var c=0;c0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}function f(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}t.exports=l,l.priorWebsocketSuccess=!1,o(l.prototype),l.protocol=a.protocol,l.Socket=l,l.Transport=n(6496),l.transports=n(3352),l.parser=n(4455),l.prototype.createTransport=function(t){i('creating transport "%s"',t);var e=f(this.query);e.EIO=a.protocol,e.transport=t;var n=this.transportOptions[t]||{};this.id&&(e.sid=this.id);var o=new r[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,withCredentials:n.withCredentials||this.withCredentials,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative});return o},l.prototype.open=function(){var t;if(this.rememberUpgrade&&l.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout((function(){e.emit("error","No transports available")}),0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(n){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},l.prototype.setTransport=function(t){i("setting transport %s",t.name);var e=this;this.transport&&(i("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",(function(){e.onDrain()})).on("packet",(function(t){e.onPacket(t)})).on("error",(function(t){e.onError(t)})).on("close",(function(){e.onClose("transport close")}))},l.prototype.probe=function(t){i('probing transport "%s"',t);var e=this.createTransport(t,{probe:1}),n=!1,r=this;function o(){if(r.onlyBinaryUpgrades){var o=!this.supportsBinary&&r.transport.supportsBinary;n=n||o}n||(i('probe transport "%s" opened',t),e.send([{type:"ping",data:"probe"}]),e.once("packet",(function(o){if(!n)if("pong"===o.type&&"probe"===o.data){if(i('probe transport "%s" pong',t),r.upgrading=!0,r.emit("upgrading",e),!e)return;l.priorWebsocketSuccess="websocket"===e.name,i('pausing current transport "%s"',r.transport.name),r.transport.pause((function(){n||"closed"!==r.readyState&&(i("changing transport and sending upgrade packet"),p(),r.setTransport(e),e.send([{type:"upgrade"}]),r.emit("upgrade",e),e=null,r.upgrading=!1,r.flush())}))}else{i('probe transport "%s" failed',t);var s=new Error("probe error");s.transport=e.name,r.emit("upgradeError",s)}})))}function s(){n||(n=!0,p(),e.close(),e=null)}function a(n){var o=new Error("probe error: "+n);o.transport=e.name,s(),i('probe transport "%s" failed because of error: %s',t,n),r.emit("upgradeError",o)}function c(){a("transport closed")}function u(){a("socket closed")}function f(t){e&&t.name!==e.name&&(i('"%s" works - aborting "%s"',t.name,e.name),s())}function p(){e.removeListener("open",o),e.removeListener("error",a),e.removeListener("close",c),r.removeListener("close",u),r.removeListener("upgrading",f)}l.priorWebsocketSuccess=!1,e.once("open",o),e.once("error",a),e.once("close",c),this.once("close",u),this.once("upgrading",f),e.open()},l.prototype.onOpen=function(){if(i("socket open"),this.readyState="open",l.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){i("starting upgrade probes");for(var t=0,e=this.upgrades.length;t';r=document.createElement(t)}catch(e){r=document.createElement("iframe"),r.name=n.iframeId,r.src="javascript:0"}r.id=n.iframeId,n.form.appendChild(r),n.iframe=r}this.form.action=this.uri(),l(),t=t.replace(c,"\\\n"),this.area.value=t.replace(a,"\\n");try{this.form.submit()}catch(f){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&u()}:this.iframe.onload=u}},3416:function(t,e,n){var r=n(8199),o=n(9015),i=n(8767),s=n(3861),a=n(4802)("engine.io-client:polling-xhr"),c=n(3549);function u(){}function l(t){if(o.call(this,t),this.requestTimeout=t.requestTimeout,this.extraHeaders=t.extraHeaders,"undefined"!==typeof location){var e="https:"===location.protocol,n=location.port;n||(n=e?443:80),this.xd="undefined"!==typeof location&&t.hostname!==location.hostname||n!==t.port,this.xs=t.secure!==e}}function f(t){this.method=t.method||"GET",this.uri=t.uri,this.xd=!!t.xd,this.xs=!!t.xs,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.agent=t.agent,this.isBinary=t.isBinary,this.supportsBinary=t.supportsBinary,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.requestTimeout=t.requestTimeout,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.extraHeaders=t.extraHeaders,this.create()}if(t.exports=l,t.exports.Request=f,s(l,o),l.prototype.supportsBinary=!0,l.prototype.request=function(t){return t=t||{},t.uri=this.uri(),t.xd=this.xd,t.xs=this.xs,t.agent=this.agent||!1,t.supportsBinary=this.supportsBinary,t.enablesXDR=this.enablesXDR,t.withCredentials=this.withCredentials,t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized,t.requestTimeout=this.requestTimeout,t.extraHeaders=this.extraHeaders,new f(t)},l.prototype.doWrite=function(t,e){var n="string"!==typeof t&&void 0!==t,r=this.request({method:"POST",data:t,isBinary:n}),o=this;r.on("success",e),r.on("error",(function(t){o.onError("xhr post error",t)})),this.sendXhr=r},l.prototype.doPoll=function(){a("xhr poll");var t=this.request(),e=this;t.on("data",(function(t){e.onData(t)})),t.on("error",(function(t){e.onError("xhr poll error",t)})),this.pollXhr=t},i(f.prototype),f.prototype.create=function(){var t={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized;var e=this.xhr=new r(t),n=this;try{a("xhr open %s: %s",this.method,this.uri),e.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var o in e.setDisableHeaderCheck&&e.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(o)&&e.setRequestHeader(o,this.extraHeaders[o])}catch(i){}if("POST"===this.method)try{this.isBinary?e.setRequestHeader("Content-type","application/octet-stream"):e.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(i){}try{e.setRequestHeader("Accept","*/*")}catch(i){}"withCredentials"in e&&(e.withCredentials=this.withCredentials),this.requestTimeout&&(e.timeout=this.requestTimeout),this.hasXDR()?(e.onload=function(){n.onLoad()},e.onerror=function(){n.onError(e.responseText)}):e.onreadystatechange=function(){if(2===e.readyState)try{var t=e.getResponseHeader("Content-Type");(n.supportsBinary&&"application/octet-stream"===t||"application/octet-stream; charset=UTF-8"===t)&&(e.responseType="arraybuffer")}catch(i){}4===e.readyState&&(200===e.status||1223===e.status?n.onLoad():setTimeout((function(){n.onError("number"===typeof e.status?e.status:0)}),0))},a("xhr data %s",this.data),e.send(this.data)}catch(i){return void setTimeout((function(){n.onError(i)}),0)}"undefined"!==typeof document&&(this.index=f.requestsCount++,f.requests[this.index]=this)},f.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},f.prototype.onData=function(t){this.emit("data",t),this.onSuccess()},f.prototype.onError=function(t){this.emit("error",t),this.cleanup(!0)},f.prototype.cleanup=function(t){if("undefined"!==typeof this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=u:this.xhr.onreadystatechange=u,t)try{this.xhr.abort()}catch(e){}"undefined"!==typeof document&&delete f.requests[this.index],this.xhr=null}},f.prototype.onLoad=function(){var t;try{var e;try{e=this.xhr.getResponseHeader("Content-Type")}catch(n){}t=("application/octet-stream"===e||"application/octet-stream; charset=UTF-8"===e)&&this.xhr.response||this.xhr.responseText}catch(n){this.onError(n)}null!=t&&this.onData(t)},f.prototype.hasXDR=function(){return"undefined"!==typeof XDomainRequest&&!this.xs&&this.enablesXDR},f.prototype.abort=function(){this.cleanup()},f.requestsCount=0,f.requests={},"undefined"!==typeof document)if("function"===typeof attachEvent)attachEvent("onunload",h);else if("function"===typeof addEventListener){var p="onpagehide"in c?"pagehide":"unload";addEventListener(p,h,!1)}function h(){for(var t in f.requests)f.requests.hasOwnProperty(t)&&f.requests[t].abort()}},9015:function(t,e,n){var r=n(6496),o=n(1830),i=n(4455),s=n(3861),a=n(2281),c=n(4802)("engine.io-client:polling");t.exports=l;var u=function(){var t=n(8199),e=new t({xdomain:!1});return null!=e.responseType}();function l(t){var e=t&&t.forceBase64;u&&!e||(this.supportsBinary=!1),r.call(this,t)}s(l,r),l.prototype.name="polling",l.prototype.doOpen=function(){this.poll()},l.prototype.pause=function(t){var e=this;function n(){c("paused"),e.readyState="paused",t()}if(this.readyState="pausing",this.polling||!this.writable){var r=0;this.polling&&(c("we are currently polling - waiting to pause"),r++,this.once("pollComplete",(function(){c("pre-pause polling complete"),--r||n()}))),this.writable||(c("we are currently writing - waiting to pause"),r++,this.once("drain",(function(){c("pre-pause writing complete"),--r||n()})))}else n()},l.prototype.poll=function(){c("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},l.prototype.onData=function(t){var e=this;c("polling got data %s",t);var n=function(t,n,r){if("opening"===e.readyState&&"open"===t.type&&e.onOpen(),"close"===t.type)return e.onClose(),!1;e.onPacket(t)};i.decodePayload(t,this.socket.binaryType,n),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():c('ignoring poll - transport state "%s"',this.readyState))},l.prototype.doClose=function(){var t=this;function e(){c("writing close packet"),t.write([{type:"close"}])}"open"===this.readyState?(c("transport open - closing"),e()):(c("transport not open - deferring close"),this.once("open",e))},l.prototype.write=function(t){var e=this;this.writable=!1;var n=function(){e.writable=!0,e.emit("drain")};i.encodePayload(t,this.supportsBinary,(function(t){e.doWrite(t,n)}))},l.prototype.uri=function(){var t=this.query||{},e=this.secure?"https":"http",n="";!1!==this.timestampRequests&&(t[this.timestampParam]=a()),this.supportsBinary||t.sid||(t.b64=1),t=o.encode(t),this.port&&("https"===e&&443!==Number(this.port)||"http"===e&&80!==Number(this.port))&&(n=":"+this.port),t.length&&(t="?"+t);var r=-1!==this.hostname.indexOf(":");return e+"://"+(r?"["+this.hostname+"]":this.hostname)+n+this.path+t}},4442:function(t,e,n){var r,o,i=n(6496),s=n(4455),a=n(1830),c=n(3861),u=n(2281),l=n(4802)("engine.io-client:websocket");if("undefined"!==typeof WebSocket?r=WebSocket:"undefined"!==typeof self&&(r=self.WebSocket||self.MozWebSocket),"undefined"===typeof window)try{o=n(7020)}catch(h){}var f=r||o;function p(t){var e=t&&t.forceBase64;e&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=r&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(f=o),i.call(this,t)}t.exports=p,c(p,i),p.prototype.name="websocket",p.prototype.supportsBinary=!0,p.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,n={};this.isReactNative||(n.agent=this.agent,n.perMessageDeflate=this.perMessageDeflate,n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new f(t,e):new f(t):new f(t,e,n)}catch(r){return this.emit("error",r)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},p.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},p.prototype.write=function(t){var e=this;this.writable=!1;for(var n=t.length,r=0,o=n;r=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)}}function i(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}}function a(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!==typeof process&&"env"in process&&(t={NODE_ENV:"production",BASE_URL:""}.DEBUG),t}function c(){try{return window.localStorage}catch(t){}}e=t.exports=n(7616),e.log=i,e.formatArgs=o,e.save=s,e.load=a,e.useColors=r,e.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:c(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(a())},7616:function(t,e,n){function r(t){var n,r=0;for(n in t)r=(r<<5)-r+t.charCodeAt(n),r|=0;return e.colors[Math.abs(r)%e.colors.length]}function o(t){var n;function o(){if(o.enabled){var t=o,r=+new Date,i=r-(n||r);t.diff=i,t.prev=n,t.curr=r,n=r;for(var s=new Array(arguments.length),a=0;a100)){var s=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(s){var a=parseFloat(s[1]),c=(s[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return a*i;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}function a(t){return t>=o?Math.round(t/o)+"d":t>=r?Math.round(t/r)+"h":t>=n?Math.round(t/n)+"m":t>=e?Math.round(t/e)+"s":t+"ms"}function c(t){return u(t,o,"day")||u(t,r,"hour")||u(t,n,"minute")||u(t,e,"second")||t+" ms"}function u(t,e,n){if(!(t0)return s(t);if("number"===n&&!1===isNaN(t))return e.long?c(t):a(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},4455:function(t,e,n){var r,o=n(7990),i=n(7941),s=n(9718),a=n(6906),c=n(3414);"undefined"!==typeof ArrayBuffer&&(r=n(3704));var u="undefined"!==typeof navigator&&/Android/i.test(navigator.userAgent),l="undefined"!==typeof navigator&&/PhantomJS/i.test(navigator.userAgent),f=u||l;e.protocol=3;var p=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},h=o(p),d={type:"error",data:"parser error"},y=n(5548);function m(t,n){var r="b"+e.packets[t.type]+t.data.data;return n(r)}function g(t,n,r){if(!n)return e.encodeBase64Packet(t,r);var o=t.data,i=new Uint8Array(o),s=new Uint8Array(1+o.byteLength);s[0]=p[t.type];for(var a=0;a1?{type:h[o],data:t.substring(1)}:{type:h[o]}:d}var i=new Uint8Array(t),a=(o=i[0],s(t,1));return y&&"blob"===n&&(a=new y([a])),{type:h[o],data:a}},e.decodeBase64Packet=function(t,e){var n=h[t.charAt(0)];if(!r)return{type:n,data:{base64:!0,data:t.substr(1)}};var o=r.decode(t.substr(1));return"blob"===e&&y&&(o=new y([o])),{type:n,data:o}},e.encodePayload=function(t,n,r){"function"===typeof n&&(r=n,n=null);var o=i(t);if(n&&o)return y&&!f?e.encodePayloadAsBlob(t,r):e.encodePayloadAsArrayBuffer(t,r);if(!t.length)return r("0:");function s(t){return t.length+":"+t}function a(t,r){e.encodePacket(t,!!o&&n,!1,(function(t){r(null,s(t))}))}C(t,a,(function(t,e){return r(e.join(""))}))},e.decodePayload=function(t,n,r){if("string"!==typeof t)return e.decodePayloadAsBinary(t,n,r);var o;if("function"===typeof n&&(r=n,n=null),""===t)return r(d,0,1);for(var i,s,a="",c=0,u=t.length;c0){for(var a=new Uint8Array(o),c=0===a[0],u="",l=1;;l++){if(255===a[l])break;if(u.length>310)return r(d,0,1);u+=a[l]}o=s(o,2+u.length),u=parseInt(u);var f=s(o,0,u);if(c)try{f=String.fromCharCode.apply(null,new Uint8Array(f))}catch(y){var p=new Uint8Array(f);f="";for(l=0;l=55296&&e<=56319&&o65535&&(e-=65536,i+=o(e>>>10&1023|55296),e=56320|1023&e),i+=o(e);return i}function a(t,e){if(t>=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function c(t,e){return o(t>>e&63|128)}function u(t,e){if(0==(4294967168&t))return o(t);var n="";return 0==(4294965248&t)?n=o(t>>6&31|192):0==(4294901760&t)?(a(t,e)||(t=65533),n=o(t>>12&15|224),n+=c(t,6)):0==(4292870144&t)&&(n=o(t>>18&7|240),n+=c(t,12),n+=c(t,6)),n+=o(63&t|128),n}function l(t,e){e=e||{};var n,r=!1!==e.strict,o=i(t),s=o.length,a=-1,c="";while(++a=n)throw Error("Invalid byte index");var t=255&e[r];if(r++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function p(t){var o,i,s,c,u;if(r>n)throw Error("Invalid byte index");if(r==n)return!1;if(o=255&e[r],r++,0==(128&o))return o;if(192==(224&o)){if(i=f(),u=(31&o)<<6|i,u>=128)return u;throw Error("Invalid continuation byte")}if(224==(240&o)){if(i=f(),s=f(),u=(15&o)<<12|i<<6|s,u>=2048)return a(u,t)?u:65533;throw Error("Invalid continuation byte")}if(240==(248&o)&&(i=f(),s=f(),c=f(),u=(7&o)<<18|i<<12|s<<6|c,u>=65536&&u<=1114111))return u;throw Error("Invalid UTF-8 detected")}function h(t,o){o=o||{};var a=!1!==o.strict;e=i(t),n=e.length,r=0;var c,u=[];while(!1!==(c=p(a)))u.push(c);return s(u)}t.exports={version:"2.1.2",encode:l,decode:h}},7941:function(t,e,n){var r=n(579),o=Object.prototype.toString,i="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===o.call(Blob),s="function"===typeof File||"undefined"!==typeof File&&"[object FileConstructor]"===o.call(File);function a(t){if(!t||"object"!==typeof t)return!1;if(r(t)){for(var e=0,n=t.length;e>2]|=t[i]<>6,c[o++]=128|63&r):r<55296||r>=57344?(c[o++]=224|r>>12,c[o++]=128|r>>6&63,c[o++]=128|63&r):(r=65536+((1023&r)<<10|1023&t.charCodeAt(++i)),c[o++]=240|r>>18,c[o++]=128|r>>12&63,c[o++]=128|r>>6&63,c[o++]=128|63&r);else for(o=this.start;i>2]|=r<>2]|=(192|r>>6)<>2]|=(128|63&r)<=57344?(a[o>>2]|=(224|r>>12)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<>2]|=(240|r>>18)<>2]|=(128|r>>12&63)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<=64?(this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[e>>2]|=EXTRA[3&e],e>=56&&(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var t,e,n,r,o,i,s=this.blocks;this.first?(t=s[0]-680876937,t=(t<<7|t>>>25)-271733879<<0,r=(-1732584194^2004318071&t)+s[1]-117830708,r=(r<<12|r>>>20)+t<<0,n=(-271733879^r&(-271733879^t))+s[2]-1126478375,n=(n<<17|n>>>15)+r<<0,e=(t^n&(r^t))+s[3]-1316259209,e=(e<<22|e>>>10)+n<<0):(t=this.h0,e=this.h1,n=this.h2,r=this.h3,t+=(r^e&(n^r))+s[0]-680876936,t=(t<<7|t>>>25)+e<<0,r+=(n^t&(e^n))+s[1]-389564586,r=(r<<12|r>>>20)+t<<0,n+=(e^r&(t^e))+s[2]+606105819,n=(n<<17|n>>>15)+r<<0,e+=(t^n&(r^t))+s[3]-1044525330,e=(e<<22|e>>>10)+n<<0),t+=(r^e&(n^r))+s[4]-176418897,t=(t<<7|t>>>25)+e<<0,r+=(n^t&(e^n))+s[5]+1200080426,r=(r<<12|r>>>20)+t<<0,n+=(e^r&(t^e))+s[6]-1473231341,n=(n<<17|n>>>15)+r<<0,e+=(t^n&(r^t))+s[7]-45705983,e=(e<<22|e>>>10)+n<<0,t+=(r^e&(n^r))+s[8]+1770035416,t=(t<<7|t>>>25)+e<<0,r+=(n^t&(e^n))+s[9]-1958414417,r=(r<<12|r>>>20)+t<<0,n+=(e^r&(t^e))+s[10]-42063,n=(n<<17|n>>>15)+r<<0,e+=(t^n&(r^t))+s[11]-1990404162,e=(e<<22|e>>>10)+n<<0,t+=(r^e&(n^r))+s[12]+1804603682,t=(t<<7|t>>>25)+e<<0,r+=(n^t&(e^n))+s[13]-40341101,r=(r<<12|r>>>20)+t<<0,n+=(e^r&(t^e))+s[14]-1502002290,n=(n<<17|n>>>15)+r<<0,e+=(t^n&(r^t))+s[15]+1236535329,e=(e<<22|e>>>10)+n<<0,t+=(n^r&(e^n))+s[1]-165796510,t=(t<<5|t>>>27)+e<<0,r+=(e^n&(t^e))+s[6]-1069501632,r=(r<<9|r>>>23)+t<<0,n+=(t^e&(r^t))+s[11]+643717713,n=(n<<14|n>>>18)+r<<0,e+=(r^t&(n^r))+s[0]-373897302,e=(e<<20|e>>>12)+n<<0,t+=(n^r&(e^n))+s[5]-701558691,t=(t<<5|t>>>27)+e<<0,r+=(e^n&(t^e))+s[10]+38016083,r=(r<<9|r>>>23)+t<<0,n+=(t^e&(r^t))+s[15]-660478335,n=(n<<14|n>>>18)+r<<0,e+=(r^t&(n^r))+s[4]-405537848,e=(e<<20|e>>>12)+n<<0,t+=(n^r&(e^n))+s[9]+568446438,t=(t<<5|t>>>27)+e<<0,r+=(e^n&(t^e))+s[14]-1019803690,r=(r<<9|r>>>23)+t<<0,n+=(t^e&(r^t))+s[3]-187363961,n=(n<<14|n>>>18)+r<<0,e+=(r^t&(n^r))+s[8]+1163531501,e=(e<<20|e>>>12)+n<<0,t+=(n^r&(e^n))+s[13]-1444681467,t=(t<<5|t>>>27)+e<<0,r+=(e^n&(t^e))+s[2]-51403784,r=(r<<9|r>>>23)+t<<0,n+=(t^e&(r^t))+s[7]+1735328473,n=(n<<14|n>>>18)+r<<0,e+=(r^t&(n^r))+s[12]-1926607734,e=(e<<20|e>>>12)+n<<0,o=e^n,t+=(o^r)+s[5]-378558,t=(t<<4|t>>>28)+e<<0,r+=(o^t)+s[8]-2022574463,r=(r<<11|r>>>21)+t<<0,i=r^t,n+=(i^e)+s[11]+1839030562,n=(n<<16|n>>>16)+r<<0,e+=(i^n)+s[14]-35309556,e=(e<<23|e>>>9)+n<<0,o=e^n,t+=(o^r)+s[1]-1530992060,t=(t<<4|t>>>28)+e<<0,r+=(o^t)+s[4]+1272893353,r=(r<<11|r>>>21)+t<<0,i=r^t,n+=(i^e)+s[7]-155497632,n=(n<<16|n>>>16)+r<<0,e+=(i^n)+s[10]-1094730640,e=(e<<23|e>>>9)+n<<0,o=e^n,t+=(o^r)+s[13]+681279174,t=(t<<4|t>>>28)+e<<0,r+=(o^t)+s[0]-358537222,r=(r<<11|r>>>21)+t<<0,i=r^t,n+=(i^e)+s[3]-722521979,n=(n<<16|n>>>16)+r<<0,e+=(i^n)+s[6]+76029189,e=(e<<23|e>>>9)+n<<0,o=e^n,t+=(o^r)+s[9]-640364487,t=(t<<4|t>>>28)+e<<0,r+=(o^t)+s[12]-421815835,r=(r<<11|r>>>21)+t<<0,i=r^t,n+=(i^e)+s[15]+530742520,n=(n<<16|n>>>16)+r<<0,e+=(i^n)+s[2]-995338651,e=(e<<23|e>>>9)+n<<0,t+=(n^(e|~r))+s[0]-198630844,t=(t<<6|t>>>26)+e<<0,r+=(e^(t|~n))+s[7]+1126891415,r=(r<<10|r>>>22)+t<<0,n+=(t^(r|~e))+s[14]-1416354905,n=(n<<15|n>>>17)+r<<0,e+=(r^(n|~t))+s[5]-57434055,e=(e<<21|e>>>11)+n<<0,t+=(n^(e|~r))+s[12]+1700485571,t=(t<<6|t>>>26)+e<<0,r+=(e^(t|~n))+s[3]-1894986606,r=(r<<10|r>>>22)+t<<0,n+=(t^(r|~e))+s[10]-1051523,n=(n<<15|n>>>17)+r<<0,e+=(r^(n|~t))+s[1]-2054922799,e=(e<<21|e>>>11)+n<<0,t+=(n^(e|~r))+s[8]+1873313359,t=(t<<6|t>>>26)+e<<0,r+=(e^(t|~n))+s[15]-30611744,r=(r<<10|r>>>22)+t<<0,n+=(t^(r|~e))+s[6]-1560198380,n=(n<<15|n>>>17)+r<<0,e+=(r^(n|~t))+s[13]+1309151649,e=(e<<21|e>>>11)+n<<0,t+=(n^(e|~r))+s[4]-145523070,t=(t<<6|t>>>26)+e<<0,r+=(e^(t|~n))+s[11]-1120210379,r=(r<<10|r>>>22)+t<<0,n+=(t^(r|~e))+s[2]+718787259,n=(n<<15|n>>>17)+r<<0,e+=(r^(n|~t))+s[9]-343485551,e=(e<<21|e>>>11)+n<<0,this.first?(this.h0=t+1732584193<<0,this.h1=e-271733879<<0,this.h2=n-1732584194<<0,this.h3=r+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+e<<0,this.h2=this.h2+n<<0,this.h3=this.h3+r<<0)},Md5.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3;return HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3;return[255&t,t>>8&255,t>>16&255,t>>24&255,255&e,e>>8&255,e>>16&255,e>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),e=new Uint32Array(t);return e[0]=this.h0,e[1]=this.h1,e[2]=this.h2,e[3]=this.h3,t},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var t,e,n,r="",o=this.array(),i=0;i<15;)t=o[i++],e=o[i++],n=o[i++],r+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[63&(t<<4|e>>>4)]+BASE64_ENCODE_CHAR[63&(e<<2|n>>>6)]+BASE64_ENCODE_CHAR[63&n];return t=o[i],r+=BASE64_ENCODE_CHAR[t>>>2]+BASE64_ENCODE_CHAR[t<<4&63]+"==",r};var exports=createMethod();COMMON_JS?module.exports=exports:(root.md5=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()},1830:function(t,e){e.encode=function(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e},e.decode=function(t){for(var e={},n=t.split("&"),r=0,o=n.length;r0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},h.prototype.cleanup=function(){u("cleanup");for(var t=this.subs.length,e=0;e=this._reconnectionAttempts)u("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();u("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var n=setTimeout((function(){t.skipReconnect||(u("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open((function(e){e?(u("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(u("reconnect success"),t.onreconnect())})))}),e);this.subs.push({destroy:function(){clearTimeout(n)}})}},h.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},5464:function(t){function e(t,e,n){return t.on(e,n),{destroy:function(){t.removeListener(e,n)}}}t.exports=e},8584:function(t,e,n){var r=n(9113),o=n(8767),i=n(4042),s=n(5464),a=n(6077),c=n(3669)("socket.io-client:socket"),u=n(1830),l=n(7941);t.exports=h;var f={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},p=o.prototype.emit;function h(t,e,n){this.io=t,this.nsp=e,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}o(h.prototype),h.prototype.subEvents=function(){if(!this.subs){var t=this.io;this.subs=[s(t,"open",a(this,"onopen")),s(t,"packet",a(this,"onpacket")),s(t,"close",a(this,"onclose"))]}},h.prototype.open=h.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.reconnecting||this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},h.prototype.send=function(){var t=i(arguments);return t.unshift("message"),this.emit.apply(this,t),this},h.prototype.emit=function(t){if(f.hasOwnProperty(t))return p.apply(this,arguments),this;var e=i(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:l(e))?r.BINARY_EVENT:r.EVENT,data:e,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"===typeof e[e.length-1]&&(c("emitting packet with ack id %d",this.ids),this.acks[this.ids]=e.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},h.prototype.packet=function(t){t.nsp=this.nsp,this.io.packet(t)},h.prototype.onopen=function(){if(c("transport is open - connecting"),"/"!==this.nsp)if(this.query){var t="object"===typeof this.query?u.encode(this.query):this.query;c("sending connect packet with query %s",t),this.packet({type:r.CONNECT,query:t})}else this.packet({type:r.CONNECT})},h.prototype.onclose=function(t){c("close (%s)",t),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",t)},h.prototype.onpacket=function(t){var e=t.nsp===this.nsp,n=t.type===r.ERROR&&"/"===t.nsp;if(e||n)switch(t.type){case r.CONNECT:this.onconnect();break;case r.EVENT:this.onevent(t);break;case r.BINARY_EVENT:this.onevent(t);break;case r.ACK:this.onack(t);break;case r.BINARY_ACK:this.onack(t);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit("error",t.data);break}},h.prototype.onevent=function(t){var e=t.data||[];c("emitting event %j",e),null!=t.id&&(c("attaching ack callback to event"),e.push(this.ack(t.id))),this.connected?p.apply(this,e):this.receiveBuffer.push(e)},h.prototype.ack=function(t){var e=this,n=!1;return function(){if(!n){n=!0;var o=i(arguments);c("sending ack %j",o),e.packet({type:l(o)?r.BINARY_ACK:r.ACK,id:t,data:o})}}},h.prototype.onack=function(t){var e=this.acks[t.id];"function"===typeof e?(c("calling ack %s with %j",t.id,t.data),e.apply(this,t.data),delete this.acks[t.id]):c("bad ack %s",t.id)},h.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emit("connect")},h.prototype.emitBuffered=function(){var t;for(t=0;t=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)}}function i(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}}function a(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!==typeof process&&"env"in process&&(t={NODE_ENV:"production",BASE_URL:""}.DEBUG),t}function c(){try{return window.localStorage}catch(t){}}e=t.exports=n(1350),e.log=i,e.formatArgs=o,e.save=s,e.load=a,e.useColors=r,e.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:c(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(a())},1350:function(t,e,n){function r(t){var n,r=0;for(n in t)r=(r<<5)-r+t.charCodeAt(n),r|=0;return e.colors[Math.abs(r)%e.colors.length]}function o(t){var n;function o(){if(o.enabled){var t=o,r=+new Date,i=r-(n||r);t.diff=i,t.prev=n,t.curr=r,n=r;for(var s=new Array(arguments.length),a=0;a100)){var s=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(s){var a=parseFloat(s[1]),c=(s[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return a*i;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}function a(t){return t>=o?Math.round(t/o)+"d":t>=r?Math.round(t/r)+"h":t>=n?Math.round(t/n)+"m":t>=e?Math.round(t/e)+"s":t+"ms"}function c(t){return u(t,o,"day")||u(t,r,"hour")||u(t,n,"minute")||u(t,e,"second")||t+" ms"}function u(t,e,n){if(!(t0)return s(t);if("number"===n&&!1===isNaN(t))return e.long?c(t):a(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},2326:function(t,e,n){var r=n(6327),o=n(6066),i=Object.prototype.toString,s="function"===typeof Blob||"undefined"!==typeof Blob&&"[object BlobConstructor]"===i.call(Blob),a="function"===typeof File||"undefined"!==typeof File&&"[object FileConstructor]"===i.call(File);function c(t,e){if(!t)return t;if(o(t)){var n={_placeholder:!0,num:e.length};return e.push(t),n}if(r(t)){for(var i=new Array(t.length),s=0;s=0&&t.num=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)}}function i(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}}function a(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!==typeof process&&"env"in process&&(t={NODE_ENV:"production",BASE_URL:""}.DEBUG),t}function c(){try{return window.localStorage}catch(t){}}e=t.exports=n(968),e.log=i,e.formatArgs=o,e.save=s,e.load=a,e.useColors=r,e.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:c(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(a())},968:function(t,e,n){function r(t){var n,r=0;for(n in t)r=(r<<5)-r+t.charCodeAt(n),r|=0;return e.colors[Math.abs(r)%e.colors.length]}function o(t){var n;function o(){if(o.enabled){var t=o,r=+new Date,i=r-(n||r);t.diff=i,t.prev=n,t.curr=r,n=r;for(var s=new Array(arguments.length),a=0;a100)){var s=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(s){var a=parseFloat(s[1]),c=(s[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return a*i;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}function a(t){return t>=o?Math.round(t/o)+"d":t>=r?Math.round(t/r)+"h":t>=n?Math.round(t/n)+"m":t>=e?Math.round(t/e)+"s":t+"ms"}function c(t){return u(t,o,"day")||u(t,r,"hour")||u(t,n,"minute")||u(t,e,"second")||t+" ms"}function u(t,e,n){if(!(t0)return s(t);if("number"===n&&!1===isNaN(t))return e.long?c(t):a(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},4042:function(t){function e(t,e){var n=[];e=e||0;for(var r=e||0;r{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n}},2445:function(t){!function(e,n){t.exports=n()}("undefined"!=typeof self&&self,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=23)}([function(t,e,n){(function(r){function o(){var t;try{t=e.storage.debug}catch(t){}return!t&&void 0!==r&&"env"in r&&(t=r.env.DEBUG),t}(e=t.exports=n(26)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}},e.load=o,e.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(o())}).call(this,n(25))},function(t,e,n){function r(t){if(t)return function(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}(t)}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var o=0;o1?{type:h[o],data:t.substring(1)}:{type:h[o]}:d}o=new Uint8Array(t)[0];var i=s(t,1);return y&&"blob"===n&&(i=new y([i])),{type:h[o],data:i}},e.decodeBase64Packet=function(t,e){var n=h[t.charAt(0)];if(!r)return{type:n,data:{base64:!0,data:t.substr(1)}};var o=r.decode(t.substr(1));return"blob"===e&&y&&(o=new y([o])),{type:n,data:o}},e.encodePayload=function(t,n,r){"function"==typeof n&&(r=n,n=null);var o=i(t);return n&&o?y&&!f?e.encodePayloadAsBlob(t,r):e.encodePayloadAsArrayBuffer(t,r):t.length?void m(t,(function(t,r){e.encodePacket(t,!!o&&n,!1,(function(t){r(null,function(t){return t.length+":"+t}(t))}))}),(function(t,e){return r(e.join(""))})):r("0:")},e.decodePayload=function(t,n,r){if("string"!=typeof t)return e.decodePayloadAsBinary(t,n,r);var o;if("function"==typeof n&&(r=n,n=null),""===t)return r(d,0,1);for(var i,s,a="",c=0,u=t.length;c0;){for(var a=new Uint8Array(o),c=0===a[0],u="",l=1;255!==a[l];l++){if(u.length>310)return r(d,0,1);u+=a[l]}o=s(o,2+u.length),u=parseInt(u);var f=s(o,0,u);if(c)try{f=String.fromCharCode.apply(null,new Uint8Array(f))}catch(t){var p=new Uint8Array(f);for(f="",l=0;l * @license MIT */ var r=n(29),o=n(30),i=n(31);function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function d(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(t).length;default:if(r)return U(t).length;e=(""+e).toLowerCase(),r=!0}}function y(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function m(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=c.from(e,r)),c.isBuffer(e))return 0===e.length?-1:g(t,e,n,r,o);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):g(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function g(t,e,n,r,o){var i,s=1,a=t.length,c=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,c/=2,n/=2}function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(o){var l=-1;for(i=n;ia&&(n=a-c),i=n;i>=0;i--){for(var f=!0,p=0;po&&(r=o):r=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var s=0;s>8,o=n%256,i.push(o),i.push(r);return i}(e,t.length-n),t,n,r)}function E(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function _(t,e,n){n=Math.min(t.length,n);for(var r=[],o=e;o239?4:u>223?3:u>191?2:1;if(o+f<=n)switch(f){case 1:u<128&&(l=u);break;case 2:128==(192&(i=t[o+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=t[o+1],s=t[o+2],128==(192&i)&&128==(192&s)&&(c=(15&u)<<12|(63&i)<<6|63&s)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=t[o+1],s=t[o+2],a=t[o+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(c=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=f}return function(t){var e=t.length;if(e<=S)return String.fromCharCode.apply(String,t);for(var n="",r=0;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return T(this,e,n);case"utf8":case"utf-8":return _(this,e,n);case"ascii":return A(this,e,n);case"latin1":case"binary":return O(this,e,n);case"base64":return E(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},c.prototype.compare=function(t,e,n,r,o){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),a=Math.min(i,s),u=this.slice(r,o),l=t.slice(e,n),f=0;fo)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return v(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return k(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function A(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;or)&&(n=r);for(var o="",i=e;in)throw new RangeError("Trying to access beyond buffer length")}function F(t,e,n,r,o,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw new RangeError("Index out of range")}function P(t,e,n,r){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-n,2);o>>8*(r?o:1-o)}function M(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);o>>8*(r?o:3-o)&255}function N(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(t,e,n,r,i){return i||N(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function j(t,e,n,r,i){return i||N(t,0,n,8),o.write(t,e,n,r,52,8),n+8}c.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(o*=256);)r+=this[t+--e]*o;return r},c.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*e)),r},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=e,o=1,i=this[t+--r];r>0&&(o*=256);)i+=this[t+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},c.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,r){t=+t,e|=0,n|=0,r||F(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[e]=255&t;++i=0&&(i*=256);)this[e+o]=t/i&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):P(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):P(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):M(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):M(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);F(this,t,e,n,o-1,-o)}var i=0,s=1,a=0;for(this[e]=255&t;++i>0)-a&255;return e+n},c.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);F(this,t,e,n,o-1,-o)}var i=n-1,s=1,a=0;for(this[e+i]=255&t;--i>=0&&(s*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/s>>0)-a&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):P(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):P(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):M(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||F(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):M(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return L(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return L(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return j(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return j(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--o)t[o+e]=this[o+n];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function q(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(I,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function H(t,e,n,r){for(var o=0;o=e.length||o>=t.length);++o)e[o+n]=t[o];return o}}).call(this,n(12))},function(t,e,n){var r=n(34);t.exports=function(t){var e=t.xdomain,n=t.xscheme,o=t.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!e||r))return new XMLHttpRequest}catch(t){}try{if("undefined"!=typeof XDomainRequest&&!n&&o)return new XDomainRequest}catch(t){}if(!e)try{return new(self[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(t){}}},function(t,e,n){var r=n(2),o=n(1);function i(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState="",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.isReactNative=t.isReactNative,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}t.exports=i,o(i.prototype),i.prototype.onError=function(t,e){var n=new Error(t);return n.type="TransportError",n.description=e,this.emit("error",n),this},i.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},i.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},i.prototype.send=function(t){if("open"!==this.readyState)throw new Error("Transport not open");this.write(t)},i.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},i.prototype.onData=function(t){var e=r.decodePacket(t,this.socket.binaryType);this.onPacket(e)},i.prototype.onPacket=function(t){this.emit("packet",t)},i.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},function(t,e){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,r=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.exports=function(t){var e=t,o=t.indexOf("["),i=t.indexOf("]");-1!=o&&-1!=i&&(t=t.substring(0,o)+t.substring(o,i).replace(/:/g,";")+t.substring(i,t.length));for(var s=n.exec(t||""),a={},c=14;c--;)a[r[c]]=s[c]||"";return-1!=o&&-1!=i&&(a.source=e,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a}},function(t,e,n){(function(e){t.exports=function(t){return n&&e.isBuffer(t)||r&&(t instanceof ArrayBuffer||o(t))};var n="function"==typeof e&&"function"==typeof e.isBuffer,r="function"==typeof ArrayBuffer,o=function(t){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer}}).call(this,n(7).Buffer)},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(32),o=n(19),i=n(1),s=n(5),a=n(20),c=n(21),u=n(0)("socket.io-client:manager"),l=n(18),f=n(46),p=Object.prototype.hasOwnProperty;function h(t,e){if(!(this instanceof h))return new h(t,e);t&&"object"==typeof t&&(e=t,t=void 0),(e=e||{}).path=e.path||"/socket.io",this.nsps={},this.subs=[],this.opts=e,this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(e.randomizationFactor||.5),this.backoff=new f({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this.readyState="closed",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=e.parser||s;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==e.autoConnect,this.autoConnect&&this.open()}t.exports=h,h.prototype.emitAll=function(){for(var t in this.emit.apply(this,arguments),this.nsps)p.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},h.prototype.updateSocketIds=function(){for(var t in this.nsps)p.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},h.prototype.generateId=function(t){return("/"===t?"":t+"#")+this.engine.id},i(h.prototype),h.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},h.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},h.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},h.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},h.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},h.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},h.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},h.prototype.open=h.prototype.connect=function(t,e){if(u("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;u("opening %s",this.uri),this.engine=r(this.uri,this.opts);var n=this.engine,o=this;this.readyState="opening",this.skipReconnect=!1;var i=a(n,"open",(function(){o.onopen(),t&&t()})),s=a(n,"error",(function(e){if(u("connect_error"),o.cleanup(),o.readyState="closed",o.emitAll("connect_error",e),t){var n=new Error("Connection error");n.data=e,t(n)}else o.maybeReconnectOnOpen()}));if(!1!==this._timeout){var c=this._timeout;u("connect attempt will timeout after %d",c);var l=setTimeout((function(){u("connect attempt timed out after %d",c),i.destroy(),n.close(),n.emit("error","timeout"),o.emitAll("connect_timeout",c)}),c);this.subs.push({destroy:function(){clearTimeout(l)}})}return this.subs.push(i),this.subs.push(s),this},h.prototype.onopen=function(){u("open"),this.cleanup(),this.readyState="open",this.emit("open");var t=this.engine;this.subs.push(a(t,"data",c(this,"ondata"))),this.subs.push(a(t,"ping",c(this,"onping"))),this.subs.push(a(t,"pong",c(this,"onpong"))),this.subs.push(a(t,"error",c(this,"onerror"))),this.subs.push(a(t,"close",c(this,"onclose"))),this.subs.push(a(this.decoder,"decoded",c(this,"ondecoded")))},h.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},h.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},h.prototype.ondata=function(t){this.decoder.add(t)},h.prototype.ondecoded=function(t){this.emit("packet",t)},h.prototype.onerror=function(t){u("error",t),this.emitAll("error",t)},h.prototype.socket=function(t,e){var n=this.nsps[t];if(!n){n=new o(this,t,e),this.nsps[t]=n;var r=this;n.on("connecting",i),n.on("connect",(function(){n.id=r.generateId(t)})),this.autoConnect&&i()}function i(){~l(r.connecting,n)||r.connecting.push(n)}return n},h.prototype.destroy=function(t){var e=l(this.connecting,t);~e&&this.connecting.splice(e,1),this.connecting.length||this.close()},h.prototype.packet=function(t){u("writing packet %j",t);var e=this;t.query&&0===t.type&&(t.nsp+="?"+t.query),e.encoding?e.packetBuffer.push(t):(e.encoding=!0,this.encoder.encode(t,(function(n){for(var r=0;r0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},h.prototype.cleanup=function(){u("cleanup");for(var t=this.subs.length,e=0;e=this._reconnectionAttempts)u("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();u("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var n=setTimeout((function(){t.skipReconnect||(u("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open((function(e){e?(u("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(u("reconnect success"),t.onreconnect())})))}),e);this.subs.push({destroy:function(){clearTimeout(n)}})}},h.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},function(t,e,n){var r=n(8),o=n(35),i=n(42),s=n(43);e.polling=function(t){var e=!1,n=!1,s=!1!==t.jsonp;if("undefined"!=typeof location){var a="https:"===location.protocol,c=location.port;c||(c=a?443:80),e=t.hostname!==location.hostname||c!==t.port,n=t.secure!==a}if(t.xdomain=e,t.xscheme=n,"open"in new r(t)&&!t.forceJSONP)return new o(t);if(!s)throw new Error("JSONP disabled");return new i(t)},e.websocket=s},function(t,e,n){var r=n(9),o=n(3),i=n(2),s=n(4),a=n(17),c=n(0)("engine.io-client:polling");t.exports=l;var u=null!=new(n(8))({xdomain:!1}).responseType;function l(t){var e=t&&t.forceBase64;u&&!e||(this.supportsBinary=!1),r.call(this,t)}s(l,r),l.prototype.name="polling",l.prototype.doOpen=function(){this.poll()},l.prototype.pause=function(t){var e=this;function n(){c("paused"),e.readyState="paused",t()}if(this.readyState="pausing",this.polling||!this.writable){var r=0;this.polling&&(c("we are currently polling - waiting to pause"),r++,this.once("pollComplete",(function(){c("pre-pause polling complete"),--r||n()}))),this.writable||(c("we are currently writing - waiting to pause"),r++,this.once("drain",(function(){c("pre-pause writing complete"),--r||n()})))}else n()},l.prototype.poll=function(){c("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},l.prototype.onData=function(t){var e=this;c("polling got data %s",t),i.decodePayload(t,this.socket.binaryType,(function(t,n,r){if("opening"===e.readyState&&e.onOpen(),"close"===t.type)return e.onClose(),!1;e.onPacket(t)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():c('ignoring poll - transport state "%s"',this.readyState))},l.prototype.doClose=function(){var t=this;function e(){c("writing close packet"),t.write([{type:"close"}])}"open"===this.readyState?(c("transport open - closing"),e()):(c("transport not open - deferring close"),this.once("open",e))},l.prototype.write=function(t){var e=this;this.writable=!1;var n=function(){e.writable=!0,e.emit("drain")};i.encodePayload(t,this.supportsBinary,(function(t){e.doWrite(t,n)}))},l.prototype.uri=function(){var t=this.query||{},e=this.secure?"https":"http",n="";return!1!==this.timestampRequests&&(t[this.timestampParam]=a()),this.supportsBinary||t.sid||(t.b64=1),t=o.encode(t),this.port&&("https"===e&&443!==Number(this.port)||"http"===e&&80!==Number(this.port))&&(n=":"+this.port),t.length&&(t="?"+t),e+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+t}},function(t,e,n){(function(e){var r=n(6),o=Object.prototype.toString,i="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===o.call(Blob),s="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===o.call(File);t.exports=function t(n){if(!n||"object"!=typeof n)return!1;if(r(n)){for(var o=0,a=n.length;o0);return e}function l(){var t=u(+new Date);return t!==r?(a=0,r=t):t+"."+u(a++)}for(;c1)for(var n=1;n0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var a=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(t);if("number"===u&&!1===isNaN(t))return e.long?a(c=t,i,"day")||a(c,o,"hour")||a(c,r,"minute")||a(c,n,"second")||c+" ms":function(t){return t>=i?Math.round(t/i)+"d":t>=o?Math.round(t/o)+"h":t>=r?Math.round(t/r)+"m":t>=n?Math.round(t/n)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,n){var r=n(6),o=n(11),i=Object.prototype.toString,s="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);e.deconstructPacket=function(t){var e=[],n=t.data,i=t;return i.data=function t(e,n){if(!e)return e;if(o(e)){var i={_placeholder:!0,num:n.length};return n.push(e),i}if(r(e)){for(var s=new Array(e.length),a=0;a0?r-4:r,f=0;f>16&255,a[c++]=e>>8&255,a[c++]=255&e;return 2===s&&(e=o[t.charCodeAt(f)]<<2|o[t.charCodeAt(f+1)]>>4,a[c++]=255&e),1===s&&(e=o[t.charCodeAt(f)]<<10|o[t.charCodeAt(f+1)]<<4|o[t.charCodeAt(f+2)]>>2,a[c++]=e>>8&255,a[c++]=255&e),a},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],s=0,a=n-o;sa?a:s+16383));return 1===o?(e=t[n-1],i.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],i.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function l(t,e,n){for(var o,i,s=[],a=e;a>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return s.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,n,r,o){var i,s,a=8*o-r-1,c=(1<>1,l=-7,f=n?o-1:0,p=n?-1:1,h=t[e+f];for(f+=p,i=h&(1<<-l)-1,h>>=-l,l+=a;l>0;i=256*i+t[e+f],f+=p,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=r;l>0;s=256*s+t[e+f],f+=p,l-=8);if(0===i)i=1-u;else{if(i===c)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),i-=u}return(h?-1:1)*s*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var s,a,c,u=8*i-o-1,l=(1<>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,d=r?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),(e+=s+f>=1?p/c:p*Math.pow(2,1-f))*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(e*c-1)*Math.pow(2,o),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;t[n+h]=255&a,h+=d,a/=256,o-=8);for(s=s<0;t[n+h]=255&s,h+=d,s/=256,u-=8);t[n+h-d]|=128*y}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){t.exports=n(33),t.exports.parser=n(2)},function(t,e,n){var r=n(14),o=n(1),i=n(0)("engine.io-client:socket"),s=n(18),a=n(2),c=n(10),u=n(3);function l(t,e){if(!(this instanceof l))return new l(t,e);e=e||{},t&&"object"==typeof t&&(e=t,t=null),t?(t=c(t),e.hostname=t.host,e.secure="https"===t.protocol||"wss"===t.protocol,e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=c(e.host).host),this.secure=null!=e.secure?e.secure:"undefined"!=typeof location&&"https:"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.agent=e.agent||!1,this.hostname=e.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=e.port||("undefined"!=typeof location&&location.port?location.port:this.secure?443:80),this.query=e.query||{},"string"==typeof this.query&&(this.query=u.decode(this.query)),this.upgrade=!1!==e.upgrade,this.path=(e.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!e.forceJSONP,this.jsonp=!1!==e.jsonp,this.forceBase64=!!e.forceBase64,this.enablesXDR=!!e.enablesXDR,this.timestampParam=e.timestampParam||"t",this.timestampRequests=e.timestampRequests,this.transports=e.transports||["polling","websocket"],this.transportOptions=e.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=e.policyPort||843,this.rememberUpgrade=e.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=e.onlyBinaryUpgrades,this.perMessageDeflate=!1!==e.perMessageDeflate&&(e.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=e.pfx||null,this.key=e.key||null,this.passphrase=e.passphrase||null,this.cert=e.cert||null,this.ca=e.ca||null,this.ciphers=e.ciphers||null,this.rejectUnauthorized=void 0===e.rejectUnauthorized||e.rejectUnauthorized,this.forceNode=!!e.forceNode,this.isReactNative="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),("undefined"==typeof self||this.isReactNative)&&(e.extraHeaders&&Object.keys(e.extraHeaders).length>0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}t.exports=l,l.priorWebsocketSuccess=!1,o(l.prototype),l.protocol=a.protocol,l.Socket=l,l.Transport=n(9),l.transports=n(14),l.parser=n(2),l.prototype.createTransport=function(t){i('creating transport "%s"',t);var e=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}(this.query);e.EIO=a.protocol,e.transport=t;var n=this.transportOptions[t]||{};return this.id&&(e.sid=this.id),new r[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative})},l.prototype.open=function(){var t;if(this.rememberUpgrade&&l.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout((function(){e.emit("error","No transports available")}),0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(t){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},l.prototype.setTransport=function(t){i("setting transport %s",t.name);var e=this;this.transport&&(i("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",(function(){e.onDrain()})).on("packet",(function(t){e.onPacket(t)})).on("error",(function(t){e.onError(t)})).on("close",(function(){e.onClose("transport close")}))},l.prototype.probe=function(t){i('probing transport "%s"',t);var e=this.createTransport(t,{probe:1}),n=!1,r=this;function o(){if(r.onlyBinaryUpgrades){var o=!this.supportsBinary&&r.transport.supportsBinary;n=n||o}n||(i('probe transport "%s" opened',t),e.send([{type:"ping",data:"probe"}]),e.once("packet",(function(o){if(!n)if("pong"===o.type&&"probe"===o.data){if(i('probe transport "%s" pong',t),r.upgrading=!0,r.emit("upgrading",e),!e)return;l.priorWebsocketSuccess="websocket"===e.name,i('pausing current transport "%s"',r.transport.name),r.transport.pause((function(){n||"closed"!==r.readyState&&(i("changing transport and sending upgrade packet"),p(),r.setTransport(e),e.send([{type:"upgrade"}]),r.emit("upgrade",e),e=null,r.upgrading=!1,r.flush())}))}else{i('probe transport "%s" failed',t);var s=new Error("probe error");s.transport=e.name,r.emit("upgradeError",s)}})))}function s(){n||(n=!0,p(),e.close(),e=null)}function a(n){var o=new Error("probe error: "+n);o.transport=e.name,s(),i('probe transport "%s" failed because of error: %s',t,n),r.emit("upgradeError",o)}function c(){a("transport closed")}function u(){a("socket closed")}function f(t){e&&t.name!==e.name&&(i('"%s" works - aborting "%s"',t.name,e.name),s())}function p(){e.removeListener("open",o),e.removeListener("error",a),e.removeListener("close",c),r.removeListener("close",u),r.removeListener("upgrading",f)}l.priorWebsocketSuccess=!1,e.once("open",o),e.once("error",a),e.once("close",c),this.once("close",u),this.once("upgrading",f),e.open()},l.prototype.onOpen=function(){if(i("socket open"),this.readyState="open",l.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){i("starting upgrade probes");for(var t=0,e=this.upgrades.length;tr&&(n=r),e>=r||e>=n||0===r)return new ArrayBuffer(0);for(var o=new Uint8Array(t),i=new Uint8Array(n-e),s=e,a=0;s=55296&&e<=56319&&o=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function c(t,e){return i(t>>e&63|128)}function u(t,e){if(0==(4294967168&t))return i(t);var n="";return 0==(4294965248&t)?n=i(t>>6&31|192):0==(4294901760&t)?(a(t,e)||(t=65533),n=i(t>>12&15|224),n+=c(t,6)):0==(4292870144&t)&&(n=i(t>>18&7|240),n+=c(t,12),n+=c(t,6)),n+i(63&t|128)}function l(){if(o>=r)throw Error("Invalid byte index");var t=255&n[o];if(o++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function f(t){var e,i;if(o>r)throw Error("Invalid byte index");if(o==r)return!1;if(e=255&n[o],o++,0==(128&e))return e;if(192==(224&e)){if((i=(31&e)<<6|l())>=128)return i;throw Error("Invalid continuation byte")}if(224==(240&e)){if((i=(15&e)<<12|l()<<6|l())>=2048)return a(i,t)?i:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(i=(7&e)<<18|l()<<12|l()<<6|l())>=65536&&i<=1114111)return i;throw Error("Invalid UTF-8 detected")}t.exports={version:"2.1.2",encode:function(t,e){for(var n=!1!==(e=e||{}).strict,r=s(t),o=r.length,i=-1,a="";++i65535&&(o+=i((e-=65536)>>>10&1023|55296),e=56320|1023&e),o+=i(e);return o}(u)}}},function(t,e){!function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),r=0;r>2],i+=t[(3&r[n])<<4|r[n+1]>>4],i+=t[(15&r[n+1])<<2|r[n+2]>>6],i+=t[63&r[n+2]];return o%3==2?i=i.substring(0,i.length-1)+"=":o%3==1&&(i=i.substring(0,i.length-2)+"=="),i},e.decode=function(t){var e,r,o,i,s,a=.75*t.length,c=t.length,u=0;"="===t[t.length-1]&&(a--,"="===t[t.length-2]&&a--);var l=new ArrayBuffer(a),f=new Uint8Array(l);for(e=0;e>4,f[u++]=(15&o)<<4|i>>2,f[u++]=(3&i)<<6|63&s;return l}}()},function(t,e){var n=void 0!==n?n:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder&&MozBlobBuilder,r=function(){try{return 2===new Blob(["hi"]).size}catch(t){return!1}}(),o=r&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(t){return!1}}(),i=n&&n.prototype.append&&n.prototype.getBlob;function s(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var n=new Uint8Array(t.byteLength);n.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=n.buffer}return e}return t}))}function a(t,e){e=e||{};var r=new n;return s(t).forEach((function(t){r.append(t)})),e.type?r.getBlob(e.type):r.getBlob()}function c(t,e){return new Blob(s(t),e||{})}"undefined"!=typeof Blob&&(a.prototype=Blob.prototype,c.prototype=Blob.prototype),t.exports=r?o?Blob:c:i?a:void 0},function(t,e,n){(function(e){var r=n(15),o=n(4);t.exports=l;var i,s=/\n/g,a=/\\n/g;function c(){}function u(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{}}function l(t){if(r.call(this,t),this.query=this.query||{},!i){var e=u();i=e.___eio=e.___eio||[]}this.index=i.length;var n=this;i.push((function(t){n.onData(t)})),this.query.j=this.index,"function"==typeof addEventListener&&addEventListener("beforeunload",(function(){n.script&&(n.script.onerror=c)}),!1)}o(l,r),l.prototype.supportsBinary=!1,l.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),r.prototype.doClose.call(this)},l.prototype.doPoll=function(){var t=this,e=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(e){t.onError("jsonp poll error",e)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(e,n):(document.head||document.body).appendChild(e),this.script=e,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var t=document.createElement("iframe");document.body.appendChild(t),document.body.removeChild(t)}),100)},l.prototype.doWrite=function(t,e){var n=this;if(!this.form){var r,o=document.createElement("form"),i=document.createElement("textarea"),c=this.iframeId="eio_iframe_"+this.index;o.className="socketio",o.style.position="absolute",o.style.top="-1000px",o.style.left="-1000px",o.target=c,o.method="POST",o.setAttribute("accept-charset","utf-8"),i.name="d",o.appendChild(i),document.body.appendChild(o),this.form=o,this.area=i}function u(){l(),e()}function l(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(t){n.onError("jsonp polling iframe removal error",t)}try{var t='