diff --git a/syng/client.py b/syng/client.py index 78d7e9d..c78c1f6 100644 --- a/syng/client.py +++ b/syng/client.py @@ -1,4 +1,6 @@ import asyncio +import string +import secrets from traceback import print_exc from json import load import logging @@ -17,7 +19,7 @@ sources: dict[str, Source] = {} currentLock = asyncio.Semaphore(0) -state = {"current": None, "queue": [], "room": None, "server": ""} +state = {"current": None, "queue": [], "recent": [], "room": None, "server": "", "secret": ""} @sio.on("skip") @@ -29,6 +31,7 @@ async def handle_skip(): @sio.on("state") async def handle_state(data): state["queue"] = [Entry(**entry) for entry in data["queue"]] + state["recent"] = [Entry(**entry) for entry in data["recent"]] @sio.on("connect") @@ -37,8 +40,9 @@ async def handle_connect(): await sio.emit( "register-client", { - "secret": "test", + "secret": state["secret"], "queue": [entry.to_dict() for entry in state["queue"]], + "recent": [entry.to_dict() for entry in state["recent"]], "room": state["room"], }, ) @@ -109,6 +113,7 @@ async def aiomain(): parser = ArgumentParser() parser.add_argument("--room", "-r") + parser.add_argument("--secret", "-s") parser.add_argument("--config-file", "-C", default="syng-client.json") parser.add_argument("server") @@ -120,6 +125,12 @@ async def aiomain(): if args.room: state["room"] = args.room + if args.secret: + state["secret"] = args.secret + else: + state["secret"] = ''.join(secrets.choice(string.ascii_letters + string.digits) for _ in range(8)) + print(f"Generated secret: {state['secret']}") + state["server"] = args.server await sio.connect(args.server) diff --git a/syng/server.py b/syng/server.py index 2eee228..d38e967 100644 --- a/syng/server.py +++ b/syng/server.py @@ -203,7 +203,8 @@ async def handle_register_client(sid, data: dict[str, Any]): else: logger.info("Registerd new client %s", room) initial_entries = [Entry(**entry) for entry in data["queue"]] - clients[room] = State(data["secret"], {}, [], Queue(initial_entries), [], sid) + initial_recent = [Entry(**entry) for entry in data["recent"]] + clients[room] = State(data["secret"], {}, [], Queue(initial_entries), initial_recent, sid) sio.enter_room(sid, room) await sio.emit("client-registered", {"success": True, "room": room}, room=sid) diff --git a/syng/static/assets/index.533d2b73.js b/syng/static/assets/index.533d2b73.js deleted file mode 100644 index 5e9ec4b..0000000 --- a/syng/static/assets/index.533d2b73.js +++ /dev/null @@ -1,787 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const s of n)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function i(n){const s={};return n.integrity&&(s.integrity=n.integrity),n.referrerpolicy&&(s.referrerPolicy=n.referrerpolicy),n.crossorigin==="use-credentials"?s.credentials="include":n.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(n){if(n.ep)return;n.ep=!0;const s=i(n);fetch(n.href,s)}})();function Bo(e,t){const i=Object.create(null),r=e.split(",");for(let n=0;n!!i[n.toLowerCase()]:n=>!!i[n]}function jo(e){if(Te(e)){const t={};for(let i=0;i{if(i){const r=i.split(zp);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Vi(e){let t="";if(kt(e))t=e;else if(Te(e))for(let i=0;ikt(e)?e:e==null?"":Te(e)||tt(e)&&(e.toString===ff||!Ee(e.toString))?JSON.stringify(e,lf,2):String(e),lf=(e,t)=>t&&t.__v_isRef?lf(e,t.value):qi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((i,[r,n])=>(i[`${r} =>`]=n,i),{})}:uf(t)?{[`Set(${t.size})`]:[...t.values()]}:tt(t)&&!Te(t)&&!df(t)?String(t):t,Qe={},Fi=[],fn=()=>{},Ip=()=>!1,Mp=/^on[^a-z]/,Gs=e=>Mp.test(e),Wo=e=>e.startsWith("onUpdate:"),Pt=Object.assign,Uo=(e,t)=>{const i=e.indexOf(t);i>-1&&e.splice(i,1)},Dp=Object.prototype.hasOwnProperty,Ne=(e,t)=>Dp.call(e,t),Te=Array.isArray,qi=e=>Qs(e)==="[object Map]",uf=e=>Qs(e)==="[object Set]",Ee=e=>typeof e=="function",kt=e=>typeof e=="string",Vo=e=>typeof e=="symbol",tt=e=>e!==null&&typeof e=="object",cf=e=>tt(e)&&Ee(e.then)&&Ee(e.catch),ff=Object.prototype.toString,Qs=e=>ff.call(e),Hp=e=>Qs(e).slice(8,-1),df=e=>Qs(e)==="[object Object]",Yo=e=>kt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ts=Bo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xs=e=>{const t=Object.create(null);return i=>t[i]||(t[i]=e(i))},Fp=/-(\w)/g,$n=Xs(e=>e.replace(Fp,(t,i)=>i?i.toUpperCase():"")),qp=/\B([A-Z])/g,Ai=Xs(e=>e.replace(qp,"-$1").toLowerCase()),Js=Xs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Da=Xs(e=>e?`on${Js(e)}`:""),zr=(e,t)=>!Object.is(e,t),Ha=(e,t)=>{for(let i=0;i{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:i})},hf=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let yu;const Bp=()=>yu||(yu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let yn;class jp{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=yn,!t&&yn&&(this.index=(yn.scopes||(yn.scopes=[])).push(this)-1)}run(t){if(this.active){const i=yn;try{return yn=this,t()}finally{yn=i}}}on(){yn=this}off(){yn=this.parent}stop(t){if(this.active){let i,r;for(i=0,r=this.effects.length;i{const t=new Set(e);return t.w=0,t.n=0,t},pf=e=>(e.w&ti)>0,mf=e=>(e.n&ti)>0,Up=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let i=0;for(let r=0;r{(m==="length"||m>=c)&&u.push(p)})}else switch(i!==void 0&&u.push(o.get(i)),t){case"add":Te(e)?Yo(i)&&u.push(o.get("length")):(u.push(o.get(ki)),qi(e)&&u.push(o.get(ao)));break;case"delete":Te(e)||(u.push(o.get(ki)),qi(e)&&u.push(o.get(ao)));break;case"set":qi(e)&&u.push(o.get(ki));break}if(u.length===1)u[0]&&oo(u[0]);else{const c=[];for(const p of u)p&&c.push(...p);oo(Ko(c))}}function oo(e,t){const i=Te(e)?e:[...e];for(const r of i)r.computed&&_u(r);for(const r of i)r.computed||_u(r)}function _u(e,t){(e!==on||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Yp=Bo("__proto__,__v_isRef,__isVue"),yf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vo)),Kp=Qo(),Gp=Qo(!1,!0),Qp=Qo(!0),wu=Xp();function Xp(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...i){const r=Fe(this);for(let s=0,o=this.length;s{e[t]=function(...i){er();const r=Fe(this)[t].apply(this,i);return tr(),r}}),e}function Qo(e=!1,t=!1){return function(r,n,s){if(n==="__v_isReactive")return!e;if(n==="__v_isReadonly")return e;if(n==="__v_isShallow")return t;if(n==="__v_raw"&&s===(e?t?hm:xf:t?kf:wf).get(r))return r;const o=Te(r);if(!e&&o&&Ne(wu,n))return Reflect.get(wu,n,s);const u=Reflect.get(r,n,s);return(Vo(n)?yf.has(n):Yp(n))||(e||Vt(r,"get",n),t)?u:Ot(u)?o&&Yo(n)?u:u.value:tt(u)?e?Cf(u):Ur(u):u}}const Jp=bf(),Zp=bf(!0);function bf(e=!1){return function(i,r,n,s){let o=i[r];if(Yi(o)&&Ot(o)&&!Ot(n))return!1;if(!e&&(!Ms(n)&&!Yi(n)&&(o=Fe(o),n=Fe(n)),!Te(i)&&Ot(o)&&!Ot(n)))return o.value=n,!0;const u=Te(i)&&Yo(r)?Number(r)e,Zs=e=>Reflect.getPrototypeOf(e);function ls(e,t,i=!1,r=!1){e=e.__v_raw;const n=Fe(e),s=Fe(t);i||(t!==s&&Vt(n,"get",t),Vt(n,"get",s));const{has:o}=Zs(n),u=r?Xo:i?el:Rr;if(o.call(n,t))return u(e.get(t));if(o.call(n,s))return u(e.get(s));e!==n&&e.get(t)}function us(e,t=!1){const i=this.__v_raw,r=Fe(i),n=Fe(e);return t||(e!==n&&Vt(r,"has",e),Vt(r,"has",n)),e===n?i.has(e):i.has(e)||i.has(n)}function cs(e,t=!1){return e=e.__v_raw,!t&&Vt(Fe(e),"iterate",ki),Reflect.get(e,"size",e)}function ku(e){e=Fe(e);const t=Fe(this);return Zs(t).has.call(t,e)||(t.add(e),Ln(t,"add",e,e)),this}function xu(e,t){t=Fe(t);const i=Fe(this),{has:r,get:n}=Zs(i);let s=r.call(i,e);s||(e=Fe(e),s=r.call(i,e));const o=n.call(i,e);return i.set(e,t),s?zr(t,o)&&Ln(i,"set",e,t):Ln(i,"add",e,t),this}function Cu(e){const t=Fe(this),{has:i,get:r}=Zs(t);let n=i.call(t,e);n||(e=Fe(e),n=i.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return n&&Ln(t,"delete",e,void 0),s}function $u(){const e=Fe(this),t=e.size!==0,i=e.clear();return t&&Ln(e,"clear",void 0,void 0),i}function fs(e,t){return function(r,n){const s=this,o=s.__v_raw,u=Fe(o),c=t?Xo:e?el:Rr;return!e&&Vt(u,"iterate",ki),o.forEach((p,m)=>r.call(n,c(p),c(m),s))}}function ds(e,t,i){return function(...r){const n=this.__v_raw,s=Fe(n),o=qi(s),u=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,p=n[e](...r),m=i?Xo:t?el:Rr;return!t&&Vt(s,"iterate",c?ao:ki),{next(){const{value:w,done:k}=p.next();return k?{value:w,done:k}:{value:u?[m(w[0]),m(w[1])]:m(w),done:k}},[Symbol.iterator](){return this}}}}function Wn(e){return function(...t){return e==="delete"?!1:this}}function sm(){const e={get(s){return ls(this,s)},get size(){return cs(this)},has:us,add:ku,set:xu,delete:Cu,clear:$u,forEach:fs(!1,!1)},t={get(s){return ls(this,s,!1,!0)},get size(){return cs(this)},has:us,add:ku,set:xu,delete:Cu,clear:$u,forEach:fs(!1,!0)},i={get(s){return ls(this,s,!0)},get size(){return cs(this,!0)},has(s){return us.call(this,s,!0)},add:Wn("add"),set:Wn("set"),delete:Wn("delete"),clear:Wn("clear"),forEach:fs(!0,!1)},r={get(s){return ls(this,s,!0,!0)},get size(){return cs(this,!0)},has(s){return us.call(this,s,!0)},add:Wn("add"),set:Wn("set"),delete:Wn("delete"),clear:Wn("clear"),forEach:fs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=ds(s,!1,!1),i[s]=ds(s,!0,!1),t[s]=ds(s,!1,!0),r[s]=ds(s,!0,!0)}),[e,i,t,r]}const[am,om,lm,um]=sm();function Jo(e,t){const i=t?e?um:lm:e?om:am;return(r,n,s)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?r:Reflect.get(Ne(i,n)&&n in r?i:r,n,s)}const cm={get:Jo(!1,!1)},fm={get:Jo(!1,!0)},dm={get:Jo(!0,!1)},wf=new WeakMap,kf=new WeakMap,xf=new WeakMap,hm=new WeakMap;function pm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mm(e){return e.__v_skip||!Object.isExtensible(e)?0:pm(Hp(e))}function Ur(e){return Yi(e)?e:Zo(e,!1,_f,cm,wf)}function gm(e){return Zo(e,!1,rm,fm,kf)}function Cf(e){return Zo(e,!0,im,dm,xf)}function Zo(e,t,i,r,n){if(!tt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=n.get(e);if(s)return s;const o=mm(e);if(o===0)return e;const u=new Proxy(e,o===2?r:i);return n.set(e,u),u}function Bi(e){return Yi(e)?Bi(e.__v_raw):!!(e&&e.__v_isReactive)}function Yi(e){return!!(e&&e.__v_isReadonly)}function Ms(e){return!!(e&&e.__v_isShallow)}function $f(e){return Bi(e)||Yi(e)}function Fe(e){const t=e&&e.__v_raw;return t?Fe(t):e}function Tf(e){return Is(e,"__v_skip",!0),e}const Rr=e=>tt(e)?Ur(e):e,el=e=>tt(e)?Cf(e):e;function Ef(e){Jn&&on&&(e=Fe(e),vf(e.dep||(e.dep=Ko())))}function Af(e,t){e=Fe(e),e.dep&&oo(e.dep)}function Ot(e){return!!(e&&e.__v_isRef===!0)}function lo(e){return Sf(e,!1)}function vm(e){return Sf(e,!0)}function Sf(e,t){return Ot(e)?e:new ym(e,t)}class ym{constructor(t,i){this.__v_isShallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?t:Fe(t),this._value=i?t:Rr(t)}get value(){return Ef(this),this._value}set value(t){const i=this.__v_isShallow||Ms(t)||Yi(t);t=i?t:Fe(t),zr(t,this._rawValue)&&(this._rawValue=t,this._value=i?t:Rr(t),Af(this))}}function ji(e){return Ot(e)?e.value:e}const bm={get:(e,t,i)=>ji(Reflect.get(e,t,i)),set:(e,t,i,r)=>{const n=e[t];return Ot(n)&&!Ot(i)?(n.value=i,!0):Reflect.set(e,t,i,r)}};function Of(e){return Bi(e)?e:new Proxy(e,bm)}var zf;class _m{constructor(t,i,r,n){this._setter=i,this.dep=void 0,this.__v_isRef=!0,this[zf]=!1,this._dirty=!0,this.effect=new Go(t,()=>{this._dirty||(this._dirty=!0,Af(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=r}get value(){const t=Fe(this);return Ef(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}zf="__v_isReadonly";function wm(e,t,i=!1){let r,n;const s=Ee(e);return s?(r=e,n=fn):(r=e.get,n=e.set),new _m(r,n,s||!n,i)}function Zn(e,t,i,r){let n;try{n=r?e(...r):e()}catch(s){ea(s,t,i)}return n}function dn(e,t,i,r){if(Ee(e)){const s=Zn(e,t,i,r);return s&&cf(s)&&s.catch(o=>{ea(o,t,i)}),s}const n=[];for(let s=0;s>>1;Lr(St[r])_n&&St.splice(t,1)}function $m(e){Te(e)?Wi.push(...e):(!Pn||!Pn.includes(e,e.allowRecurse?vi+1:vi))&&Wi.push(e),Lf()}function Tu(e,t=Pr?_n+1:0){for(;tLr(i)-Lr(r)),vi=0;vie.id==null?1/0:e.id,Tm=(e,t)=>{const i=Lr(e)-Lr(t);if(i===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return i};function If(e){uo=!1,Pr=!0,St.sort(Tm);const t=fn;try{for(_n=0;_nkt(z)?z.trim():z)),w&&(n=i.map(hf))}let u,c=r[u=Da(t)]||r[u=Da($n(t))];!c&&s&&(c=r[u=Da(Ai(t))]),c&&dn(c,e,6,n);const p=r[u+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,dn(p,e,6,n)}}function Mf(e,t,i=!1){const r=t.emitsCache,n=r.get(e);if(n!==void 0)return n;const s=e.emits;let o={},u=!1;if(!Ee(e)){const c=p=>{const m=Mf(p,t,!0);m&&(u=!0,Pt(o,m))};!i&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!u?(tt(e)&&r.set(e,null),null):(Te(s)?s.forEach(c=>o[c]=null):Pt(o,s),tt(e)&&r.set(e,o),o)}function ta(e,t){return!e||!Gs(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ne(e,t[0].toLowerCase()+t.slice(1))||Ne(e,Ai(t))||Ne(e,t))}let Xt=null,na=null;function Ds(e){const t=Xt;return Xt=e,na=e&&e.type.__scopeId||null,t}function Am(e){na=e}function Sm(){na=null}function Om(e,t=Xt,i){if(!t||e._n)return e;const r=(...n)=>{r._d&&Iu(-1);const s=Ds(t);let o;try{o=e(...n)}finally{Ds(s),r._d&&Iu(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Fa(e){const{type:t,vnode:i,proxy:r,withProxy:n,props:s,propsOptions:[o],slots:u,attrs:c,emit:p,render:m,renderCache:w,data:k,setupState:z,ctx:M,inheritAttrs:D}=e;let Z,R;const j=Ds(e);try{if(i.shapeFlag&4){const se=n||r;Z=bn(m.call(se,se,w,s,z,k,M)),R=c}else{const se=t;Z=bn(se.length>1?se(s,{attrs:c,slots:u,emit:p}):se(s,null)),R=t.props?c:zm(c)}}catch(se){$r.length=0,ea(se,e,1),Z=ze(Ci)}let K=Z;if(R&&D!==!1){const se=Object.keys(R),{shapeFlag:xe}=K;se.length&&xe&7&&(o&&se.some(Wo)&&(R=Rm(R,o)),K=Ki(K,R))}return i.dirs&&(K=Ki(K),K.dirs=K.dirs?K.dirs.concat(i.dirs):i.dirs),i.transition&&(K.transition=i.transition),Z=K,Ds(j),Z}const zm=e=>{let t;for(const i in e)(i==="class"||i==="style"||Gs(i))&&((t||(t={}))[i]=e[i]);return t},Rm=(e,t)=>{const i={};for(const r in e)(!Wo(r)||!(r.slice(9)in t))&&(i[r]=e[r]);return i};function Pm(e,t,i){const{props:r,children:n,component:s}=e,{props:o,children:u,patchFlag:c}=t,p=s.emitsOptions;if(t.dirs||t.transition)return!0;if(i&&c>=0){if(c&1024)return!0;if(c&16)return r?Eu(r,o,p):!!o;if(c&8){const m=t.dynamicProps;for(let w=0;we.__isSuspense;function Im(e,t){t&&t.pendingBranch?Te(e)?t.effects.push(...e):t.effects.push(e):$m(e)}function Es(e,t){if($t){let i=$t.provides;const r=$t.parent&&$t.parent.provides;r===i&&(i=$t.provides=Object.create(r)),i[e]=t}}function hn(e,t,i=!1){const r=$t||Xt;if(r){const n=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(n&&e in n)return n[e];if(arguments.length>1)return i&&Ee(t)?t.call(r.proxy):t}}const hs={};function xr(e,t,i){return Df(e,t,i)}function Df(e,t,{immediate:i,deep:r,flush:n,onTrack:s,onTrigger:o}=Qe){const u=$t;let c,p=!1,m=!1;if(Ot(e)?(c=()=>e.value,p=Ms(e)):Bi(e)?(c=()=>e,r=!0):Te(e)?(m=!0,p=e.some(K=>Bi(K)||Ms(K)),c=()=>e.map(K=>{if(Ot(K))return K.value;if(Bi(K))return bi(K);if(Ee(K))return Zn(K,u,2)})):Ee(e)?t?c=()=>Zn(e,u,2):c=()=>{if(!(u&&u.isUnmounted))return w&&w(),dn(e,u,3,[k])}:c=fn,t&&r){const K=c;c=()=>bi(K())}let w,k=K=>{w=R.onStop=()=>{Zn(K,u,4)}},z;if(Mr)if(k=fn,t?i&&dn(t,u,3,[c(),m?[]:void 0,k]):c(),n==="sync"){const K=Eg();z=K.__watcherHandles||(K.__watcherHandles=[])}else return fn;let M=m?new Array(e.length).fill(hs):hs;const D=()=>{if(!!R.active)if(t){const K=R.run();(r||p||(m?K.some((se,xe)=>zr(se,M[xe])):zr(K,M)))&&(w&&w(),dn(t,u,3,[K,M===hs?void 0:m&&M[0]===hs?[]:M,k]),M=K)}else R.run()};D.allowRecurse=!!t;let Z;n==="sync"?Z=D:n==="post"?Z=()=>Ht(D,u&&u.suspense):(D.pre=!0,u&&(D.id=u.uid),Z=()=>nl(D));const R=new Go(c,Z);t?i?D():M=R.run():n==="post"?Ht(R.run.bind(R),u&&u.suspense):R.run();const j=()=>{R.stop(),u&&u.scope&&Uo(u.scope.effects,R)};return z&&z.push(j),j}function Mm(e,t,i){const r=this.proxy,n=kt(e)?e.includes(".")?Hf(r,e):()=>r[e]:e.bind(r,r);let s;Ee(t)?s=t:(s=t.handler,i=t);const o=$t;Gi(this);const u=Df(n,s.bind(r),i);return o?Gi(o):xi(),u}function Hf(e,t){const i=t.split(".");return()=>{let r=e;for(let n=0;n{bi(i,t)});else if(df(e))for(const i in e)bi(e[i],t);return e}function Vr(e){return Ee(e)?{setup:e,name:e.name}:e}const As=e=>!!e.type.__asyncLoader,Ff=e=>e.type.__isKeepAlive;function Dm(e,t){qf(e,"a",t)}function Hm(e,t){qf(e,"da",t)}function qf(e,t,i=$t){const r=e.__wdc||(e.__wdc=()=>{let n=i;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(ia(t,r,i),i){let n=i.parent;for(;n&&n.parent;)Ff(n.parent.vnode)&&Fm(r,t,i,n),n=n.parent}}function Fm(e,t,i,r){const n=ia(t,e,r,!0);jf(()=>{Uo(r[t],n)},i)}function ia(e,t,i=$t,r=!1){if(i){const n=i[e]||(i[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(i.isUnmounted)return;er(),Gi(i);const u=dn(t,i,e,o);return xi(),tr(),u});return r?n.unshift(s):n.push(s),s}}const Dn=e=>(t,i=$t)=>(!Mr||e==="sp")&&ia(e,(...r)=>t(...r),i),qm=Dn("bm"),il=Dn("m"),Bm=Dn("bu"),jm=Dn("u"),Bf=Dn("bum"),jf=Dn("um"),Wm=Dn("sp"),Um=Dn("rtg"),Vm=Dn("rtc");function Ym(e,t=$t){ia("ec",e,t)}function Au(e,t){const i=Xt;if(i===null)return e;const r=aa(i)||i.proxy,n=e.dirs||(e.dirs=[]);for(let s=0;st(o,u,void 0,s&&s[u]));else{const o=Object.keys(e);n=new Array(o.length);for(let u=0,c=o.length;ue?td(e)?aa(e)||e.proxy:co(e.parent):null,Cr=Pt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>co(e.parent),$root:e=>co(e.root),$emit:e=>e.emit,$options:e=>sl(e),$forceUpdate:e=>e.f||(e.f=()=>nl(e.update)),$nextTick:e=>e.n||(e.n=Pf.bind(e.proxy)),$watch:e=>Mm.bind(e)}),qa=(e,t)=>e!==Qe&&!e.__isScriptSetup&&Ne(e,t),Qm={get({_:e},t){const{ctx:i,setupState:r,data:n,props:s,accessCache:o,type:u,appContext:c}=e;let p;if(t[0]!=="$"){const z=o[t];if(z!==void 0)switch(z){case 1:return r[t];case 2:return n[t];case 4:return i[t];case 3:return s[t]}else{if(qa(r,t))return o[t]=1,r[t];if(n!==Qe&&Ne(n,t))return o[t]=2,n[t];if((p=e.propsOptions[0])&&Ne(p,t))return o[t]=3,s[t];if(i!==Qe&&Ne(i,t))return o[t]=4,i[t];fo&&(o[t]=0)}}const m=Cr[t];let w,k;if(m)return t==="$attrs"&&Vt(e,"get",t),m(e);if((w=u.__cssModules)&&(w=w[t]))return w;if(i!==Qe&&Ne(i,t))return o[t]=4,i[t];if(k=c.config.globalProperties,Ne(k,t))return k[t]},set({_:e},t,i){const{data:r,setupState:n,ctx:s}=e;return qa(n,t)?(n[t]=i,!0):r!==Qe&&Ne(r,t)?(r[t]=i,!0):Ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=i,!0)},has({_:{data:e,setupState:t,accessCache:i,ctx:r,appContext:n,propsOptions:s}},o){let u;return!!i[o]||e!==Qe&&Ne(e,o)||qa(t,o)||(u=s[0])&&Ne(u,o)||Ne(r,o)||Ne(Cr,o)||Ne(n.config.globalProperties,o)},defineProperty(e,t,i){return i.get!=null?e._.accessCache[t]=0:Ne(i,"value")&&this.set(e,t,i.value,null),Reflect.defineProperty(e,t,i)}};let fo=!0;function Xm(e){const t=sl(e),i=e.proxy,r=e.ctx;fo=!1,t.beforeCreate&&Ou(t.beforeCreate,e,"bc");const{data:n,computed:s,methods:o,watch:u,provide:c,inject:p,created:m,beforeMount:w,mounted:k,beforeUpdate:z,updated:M,activated:D,deactivated:Z,beforeDestroy:R,beforeUnmount:j,destroyed:K,unmounted:se,render:xe,renderTracked:h,renderTriggered:qe,errorCaptured:rt,serverPrefetch:ct,expose:zt,inheritAttrs:Zt,components:st,directives:En,filters:en}=t;if(p&&Jm(p,r,null,e.appContext.config.unwrapInjectedRef),o)for(const je in o){const Me=o[je];Ee(Me)&&(r[je]=Me.bind(i))}if(n){const je=n.call(i,i);tt(je)&&(e.data=Ur(je))}if(fo=!0,s)for(const je in s){const Me=s[je],Ft=Ee(Me)?Me.bind(i,i):Ee(Me.get)?Me.get.bind(i,i):fn,gn=!Ee(Me)&&Ee(Me.set)?Me.set.bind(i):fn,dt=ut({get:Ft,set:gn});Object.defineProperty(r,je,{enumerable:!0,configurable:!0,get:()=>dt.value,set:Tt=>dt.value=Tt})}if(u)for(const je in u)Uf(u[je],r,i,je);if(c){const je=Ee(c)?c.call(i):c;Reflect.ownKeys(je).forEach(Me=>{Es(Me,je[Me])})}m&&Ou(m,e,"c");function ft(je,Me){Te(Me)?Me.forEach(Ft=>je(Ft.bind(i))):Me&&je(Me.bind(i))}if(ft(qm,w),ft(il,k),ft(Bm,z),ft(jm,M),ft(Dm,D),ft(Hm,Z),ft(Ym,rt),ft(Vm,h),ft(Um,qe),ft(Bf,j),ft(jf,se),ft(Wm,ct),Te(zt))if(zt.length){const je=e.exposed||(e.exposed={});zt.forEach(Me=>{Object.defineProperty(je,Me,{get:()=>i[Me],set:Ft=>i[Me]=Ft})})}else e.exposed||(e.exposed={});xe&&e.render===fn&&(e.render=xe),Zt!=null&&(e.inheritAttrs=Zt),st&&(e.components=st),En&&(e.directives=En)}function Jm(e,t,i=fn,r=!1){Te(e)&&(e=ho(e));for(const n in e){const s=e[n];let o;tt(s)?"default"in s?o=hn(s.from||n,s.default,!0):o=hn(s.from||n):o=hn(s),Ot(o)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:u=>o.value=u}):t[n]=o}}function Ou(e,t,i){dn(Te(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,i)}function Uf(e,t,i,r){const n=r.includes(".")?Hf(i,r):()=>i[r];if(kt(e)){const s=t[e];Ee(s)&&xr(n,s)}else if(Ee(e))xr(n,e.bind(i));else if(tt(e))if(Te(e))e.forEach(s=>Uf(s,t,i,r));else{const s=Ee(e.handler)?e.handler.bind(i):t[e.handler];Ee(s)&&xr(n,s,e)}}function sl(e){const t=e.type,{mixins:i,extends:r}=t,{mixins:n,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,u=s.get(t);let c;return u?c=u:!n.length&&!i&&!r?c=t:(c={},n.length&&n.forEach(p=>Hs(c,p,o,!0)),Hs(c,t,o)),tt(t)&&s.set(t,c),c}function Hs(e,t,i,r=!1){const{mixins:n,extends:s}=t;s&&Hs(e,s,i,!0),n&&n.forEach(o=>Hs(e,o,i,!0));for(const o in t)if(!(r&&o==="expose")){const u=Zm[o]||i&&i[o];e[o]=u?u(e[o],t[o]):t[o]}return e}const Zm={data:zu,props:gi,emits:gi,methods:gi,computed:gi,beforeCreate:Rt,created:Rt,beforeMount:Rt,mounted:Rt,beforeUpdate:Rt,updated:Rt,beforeDestroy:Rt,beforeUnmount:Rt,destroyed:Rt,unmounted:Rt,activated:Rt,deactivated:Rt,errorCaptured:Rt,serverPrefetch:Rt,components:gi,directives:gi,watch:tg,provide:zu,inject:eg};function zu(e,t){return t?e?function(){return Pt(Ee(e)?e.call(this,this):e,Ee(t)?t.call(this,this):t)}:t:e}function eg(e,t){return gi(ho(e),ho(t))}function ho(e){if(Te(e)){const t={};for(let i=0;i0)&&!(o&16)){if(o&8){const m=e.vnode.dynamicProps;for(let w=0;w{c=!0;const[k,z]=Yf(w,t,!0);Pt(o,k),z&&u.push(...z)};!i&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!s&&!c)return tt(e)&&r.set(e,Fi),Fi;if(Te(s))for(let m=0;m-1,z[1]=D<0||M-1||Ne(z,"default"))&&u.push(w)}}}const p=[o,u];return tt(e)&&r.set(e,p),p}function Ru(e){return e[0]!=="$"}function Pu(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Lu(e,t){return Pu(e)===Pu(t)}function Nu(e,t){return Te(t)?t.findIndex(i=>Lu(i,e)):Ee(t)&&Lu(t,e)?0:-1}const Kf=e=>e[0]==="_"||e==="$stable",al=e=>Te(e)?e.map(bn):[bn(e)],rg=(e,t,i)=>{if(t._n)return t;const r=Om((...n)=>al(t(...n)),i);return r._c=!1,r},Gf=(e,t,i)=>{const r=e._ctx;for(const n in e){if(Kf(n))continue;const s=e[n];if(Ee(s))t[n]=rg(n,s,r);else if(s!=null){const o=al(s);t[n]=()=>o}}},Qf=(e,t)=>{const i=al(t);e.slots.default=()=>i},sg=(e,t)=>{if(e.vnode.shapeFlag&32){const i=t._;i?(e.slots=Fe(t),Is(t,"_",i)):Gf(t,e.slots={})}else e.slots={},t&&Qf(e,t);Is(e.slots,sa,1)},ag=(e,t,i)=>{const{vnode:r,slots:n}=e;let s=!0,o=Qe;if(r.shapeFlag&32){const u=t._;u?i&&u===1?s=!1:(Pt(n,t),!i&&u===1&&delete n._):(s=!t.$stable,Gf(t,n)),o=t}else t&&(Qf(e,t),o={default:1});if(s)for(const u in n)!Kf(u)&&!(u in o)&&delete n[u]};function Xf(){return{app:null,config:{isNativeTag:Ip,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 og=0;function lg(e,t){return function(r,n=null){Ee(r)||(r=Object.assign({},r)),n!=null&&!tt(n)&&(n=null);const s=Xf(),o=new Set;let u=!1;const c=s.app={_uid:og++,_component:r,_props:n,_container:null,_context:s,_instance:null,version:Ag,get config(){return s.config},set config(p){},use(p,...m){return o.has(p)||(p&&Ee(p.install)?(o.add(p),p.install(c,...m)):Ee(p)&&(o.add(p),p(c,...m))),c},mixin(p){return s.mixins.includes(p)||s.mixins.push(p),c},component(p,m){return m?(s.components[p]=m,c):s.components[p]},directive(p,m){return m?(s.directives[p]=m,c):s.directives[p]},mount(p,m,w){if(!u){const k=ze(r,n);return k.appContext=s,m&&t?t(k,p):e(k,p,w),u=!0,c._container=p,p.__vue_app__=c,aa(k.component)||k.component.proxy}},unmount(){u&&(e(null,c._container),delete c._container.__vue_app__)},provide(p,m){return s.provides[p]=m,c}};return c}}function mo(e,t,i,r,n=!1){if(Te(e)){e.forEach((k,z)=>mo(k,t&&(Te(t)?t[z]:t),i,r,n));return}if(As(r)&&!n)return;const s=r.shapeFlag&4?aa(r.component)||r.component.proxy:r.el,o=n?null:s,{i:u,r:c}=e,p=t&&t.r,m=u.refs===Qe?u.refs={}:u.refs,w=u.setupState;if(p!=null&&p!==c&&(kt(p)?(m[p]=null,Ne(w,p)&&(w[p]=null)):Ot(p)&&(p.value=null)),Ee(c))Zn(c,u,12,[o,m]);else{const k=kt(c),z=Ot(c);if(k||z){const M=()=>{if(e.f){const D=k?Ne(w,c)?w[c]:m[c]:c.value;n?Te(D)&&Uo(D,s):Te(D)?D.includes(s)||D.push(s):k?(m[c]=[s],Ne(w,c)&&(w[c]=m[c])):(c.value=[s],e.k&&(m[e.k]=c.value))}else k?(m[c]=o,Ne(w,c)&&(w[c]=o)):z&&(c.value=o,e.k&&(m[e.k]=o))};o?(M.id=-1,Ht(M,i)):M()}}}const Ht=Im;function ug(e){return cg(e)}function cg(e,t){const i=Bp();i.__VUE__=!0;const{insert:r,remove:n,patchProp:s,createElement:o,createText:u,createComment:c,setText:p,setElementText:m,parentNode:w,nextSibling:k,setScopeId:z=fn,insertStaticContent:M}=e,D=(x,A,H,B=null,L=null,G=null,ie=!1,X=null,ee=!!A.dynamicChildren)=>{if(x===A)return;x&&!pr(x,A)&&(B=te(x),Tt(x,L,G,!0),x=null),A.patchFlag===-2&&(ee=!1,A.dynamicChildren=null);const{type:Q,ref:he,shapeFlag:oe}=A;switch(Q){case ra:Z(x,A,H,B);break;case Ci:R(x,A,H,B);break;case Ba:x==null&&j(A,H,B,ie);break;case Qt:st(x,A,H,B,L,G,ie,X,ee);break;default:oe&1?xe(x,A,H,B,L,G,ie,X,ee):oe&6?En(x,A,H,B,L,G,ie,X,ee):(oe&64||oe&128)&&Q.process(x,A,H,B,L,G,ie,X,ee,Ce)}he!=null&&L&&mo(he,x&&x.ref,G,A||x,!A)},Z=(x,A,H,B)=>{if(x==null)r(A.el=u(A.children),H,B);else{const L=A.el=x.el;A.children!==x.children&&p(L,A.children)}},R=(x,A,H,B)=>{x==null?r(A.el=c(A.children||""),H,B):A.el=x.el},j=(x,A,H,B)=>{[x.el,x.anchor]=M(x.children,A,H,B,x.el,x.anchor)},K=({el:x,anchor:A},H,B)=>{let L;for(;x&&x!==A;)L=k(x),r(x,H,B),x=L;r(A,H,B)},se=({el:x,anchor:A})=>{let H;for(;x&&x!==A;)H=k(x),n(x),x=H;n(A)},xe=(x,A,H,B,L,G,ie,X,ee)=>{ie=ie||A.type==="svg",x==null?h(A,H,B,L,G,ie,X,ee):ct(x,A,L,G,ie,X,ee)},h=(x,A,H,B,L,G,ie,X)=>{let ee,Q;const{type:he,props:oe,shapeFlag:le,transition:ge,dirs:$e}=x;if(ee=x.el=o(x.type,G,oe&&oe.is,oe),le&8?m(ee,x.children):le&16&&rt(x.children,ee,null,B,L,G&&he!=="foreignObject",ie,X),$e&&pi(x,null,B,"created"),oe){for(const Pe in oe)Pe!=="value"&&!Ts(Pe)&&s(ee,Pe,null,oe[Pe],G,x.children,B,L,re);"value"in oe&&s(ee,"value",null,oe.value),(Q=oe.onVnodeBeforeMount)&&vn(Q,B,x)}qe(ee,x,x.scopeId,ie,B),$e&&pi(x,null,B,"beforeMount");const We=(!L||L&&!L.pendingBranch)&&ge&&!ge.persisted;We&&ge.beforeEnter(ee),r(ee,A,H),((Q=oe&&oe.onVnodeMounted)||We||$e)&&Ht(()=>{Q&&vn(Q,B,x),We&&ge.enter(ee),$e&&pi(x,null,B,"mounted")},L)},qe=(x,A,H,B,L)=>{if(H&&z(x,H),B)for(let G=0;G{for(let Q=ee;Q{const X=A.el=x.el;let{patchFlag:ee,dynamicChildren:Q,dirs:he}=A;ee|=x.patchFlag&16;const oe=x.props||Qe,le=A.props||Qe;let ge;H&&mi(H,!1),(ge=le.onVnodeBeforeUpdate)&&vn(ge,H,A,x),he&&pi(A,x,H,"beforeUpdate"),H&&mi(H,!0);const $e=L&&A.type!=="foreignObject";if(Q?zt(x.dynamicChildren,Q,X,H,B,$e,G):ie||Me(x,A,X,null,H,B,$e,G,!1),ee>0){if(ee&16)Zt(X,A,oe,le,H,B,L);else if(ee&2&&oe.class!==le.class&&s(X,"class",null,le.class,L),ee&4&&s(X,"style",oe.style,le.style,L),ee&8){const We=A.dynamicProps;for(let Pe=0;Pe{ge&&vn(ge,H,A,x),he&&pi(A,x,H,"updated")},B)},zt=(x,A,H,B,L,G,ie)=>{for(let X=0;X{if(H!==B){if(H!==Qe)for(const X in H)!Ts(X)&&!(X in B)&&s(x,X,H[X],null,ie,A.children,L,G,re);for(const X in B){if(Ts(X))continue;const ee=B[X],Q=H[X];ee!==Q&&X!=="value"&&s(x,X,Q,ee,ie,A.children,L,G,re)}"value"in B&&s(x,"value",H.value,B.value)}},st=(x,A,H,B,L,G,ie,X,ee)=>{const Q=A.el=x?x.el:u(""),he=A.anchor=x?x.anchor:u("");let{patchFlag:oe,dynamicChildren:le,slotScopeIds:ge}=A;ge&&(X=X?X.concat(ge):ge),x==null?(r(Q,H,B),r(he,H,B),rt(A.children,H,he,L,G,ie,X,ee)):oe>0&&oe&64&&le&&x.dynamicChildren?(zt(x.dynamicChildren,le,H,L,G,ie,X),(A.key!=null||L&&A===L.subTree)&&Jf(x,A,!0)):Me(x,A,H,he,L,G,ie,X,ee)},En=(x,A,H,B,L,G,ie,X,ee)=>{A.slotScopeIds=X,x==null?A.shapeFlag&512?L.ctx.activate(A,H,B,ie,ee):en(A,H,B,L,G,ie,ee):Fn(x,A,ee)},en=(x,A,H,B,L,G,ie)=>{const X=x.component=bg(x,B,L);if(Ff(x)&&(X.ctx.renderer=Ce),_g(X),X.asyncDep){if(L&&L.registerDep(X,ft),!x.el){const ee=X.subTree=ze(Ci);R(null,ee,A,H)}return}ft(X,x,A,H,L,G,ie)},Fn=(x,A,H)=>{const B=A.component=x.component;if(Pm(x,A,H))if(B.asyncDep&&!B.asyncResolved){je(B,A,H);return}else B.next=A,Cm(B.update),B.update();else A.el=x.el,B.vnode=A},ft=(x,A,H,B,L,G,ie)=>{const X=()=>{if(x.isMounted){let{next:he,bu:oe,u:le,parent:ge,vnode:$e}=x,We=he,Pe;mi(x,!1),he?(he.el=$e.el,je(x,he,ie)):he=$e,oe&&Ha(oe),(Pe=he.props&&he.props.onVnodeBeforeUpdate)&&vn(Pe,ge,he,$e),mi(x,!0);const at=Fa(x),Lt=x.subTree;x.subTree=at,D(Lt,at,w(Lt.el),te(Lt),x,L,G),he.el=at.el,We===null&&Lm(x,at.el),le&&Ht(le,L),(Pe=he.props&&he.props.onVnodeUpdated)&&Ht(()=>vn(Pe,ge,he,$e),L)}else{let he;const{el:oe,props:le}=A,{bm:ge,m:$e,parent:We}=x,Pe=As(A);if(mi(x,!1),ge&&Ha(ge),!Pe&&(he=le&&le.onVnodeBeforeMount)&&vn(he,We,A),mi(x,!0),oe&&Ae){const at=()=>{x.subTree=Fa(x),Ae(oe,x.subTree,x,L,null)};Pe?A.type.__asyncLoader().then(()=>!x.isUnmounted&&at()):at()}else{const at=x.subTree=Fa(x);D(null,at,H,B,x,L,G),A.el=at.el}if($e&&Ht($e,L),!Pe&&(he=le&&le.onVnodeMounted)){const at=A;Ht(()=>vn(he,We,at),L)}(A.shapeFlag&256||We&&As(We.vnode)&&We.vnode.shapeFlag&256)&&x.a&&Ht(x.a,L),x.isMounted=!0,A=H=B=null}},ee=x.effect=new Go(X,()=>nl(Q),x.scope),Q=x.update=()=>ee.run();Q.id=x.uid,mi(x,!0),Q()},je=(x,A,H)=>{A.component=x;const B=x.vnode.props;x.vnode=A,x.next=null,ig(x,A.props,B,H),ag(x,A.children,H),er(),Tu(),tr()},Me=(x,A,H,B,L,G,ie,X,ee=!1)=>{const Q=x&&x.children,he=x?x.shapeFlag:0,oe=A.children,{patchFlag:le,shapeFlag:ge}=A;if(le>0){if(le&128){gn(Q,oe,H,B,L,G,ie,X,ee);return}else if(le&256){Ft(Q,oe,H,B,L,G,ie,X,ee);return}}ge&8?(he&16&&re(Q,L,G),oe!==Q&&m(H,oe)):he&16?ge&16?gn(Q,oe,H,B,L,G,ie,X,ee):re(Q,L,G,!0):(he&8&&m(H,""),ge&16&&rt(oe,H,B,L,G,ie,X,ee))},Ft=(x,A,H,B,L,G,ie,X,ee)=>{x=x||Fi,A=A||Fi;const Q=x.length,he=A.length,oe=Math.min(Q,he);let le;for(le=0;lehe?re(x,L,G,!0,!1,oe):rt(A,H,B,L,G,ie,X,ee,oe)},gn=(x,A,H,B,L,G,ie,X,ee)=>{let Q=0;const he=A.length;let oe=x.length-1,le=he-1;for(;Q<=oe&&Q<=le;){const ge=x[Q],$e=A[Q]=ee?Yn(A[Q]):bn(A[Q]);if(pr(ge,$e))D(ge,$e,H,null,L,G,ie,X,ee);else break;Q++}for(;Q<=oe&&Q<=le;){const ge=x[oe],$e=A[le]=ee?Yn(A[le]):bn(A[le]);if(pr(ge,$e))D(ge,$e,H,null,L,G,ie,X,ee);else break;oe--,le--}if(Q>oe){if(Q<=le){const ge=le+1,$e=gele)for(;Q<=oe;)Tt(x[Q],L,G,!0),Q++;else{const ge=Q,$e=Q,We=new Map;for(Q=$e;Q<=le;Q++){const Et=A[Q]=ee?Yn(A[Q]):bn(A[Q]);Et.key!=null&&We.set(Et.key,Q)}let Pe,at=0;const Lt=le-$e+1;let qn=!1,Sn=0;const tn=new Array(Lt);for(Q=0;Q=Lt){Tt(Et,L,G,!0);continue}let ot;if(Et.key!=null)ot=We.get(Et.key);else for(Pe=$e;Pe<=le;Pe++)if(tn[Pe-$e]===0&&pr(Et,A[Pe])){ot=Pe;break}ot===void 0?Tt(Et,L,G,!0):(tn[ot-$e]=Q+1,ot>=Sn?Sn=ot:qn=!0,D(Et,A[ot],H,null,L,G,ie,X,ee),at++)}const sr=qn?fg(tn):Fi;for(Pe=sr.length-1,Q=Lt-1;Q>=0;Q--){const Et=$e+Q,ot=A[Et],Ct=Et+1{const{el:G,type:ie,transition:X,children:ee,shapeFlag:Q}=x;if(Q&6){dt(x.component.subTree,A,H,B);return}if(Q&128){x.suspense.move(A,H,B);return}if(Q&64){ie.move(x,A,H,Ce);return}if(ie===Qt){r(G,A,H);for(let oe=0;oeX.enter(G),L);else{const{leave:oe,delayLeave:le,afterLeave:ge}=X,$e=()=>r(G,A,H),We=()=>{oe(G,()=>{$e(),ge&&ge()})};le?le(G,$e,We):We()}else r(G,A,H)},Tt=(x,A,H,B=!1,L=!1)=>{const{type:G,props:ie,ref:X,children:ee,dynamicChildren:Q,shapeFlag:he,patchFlag:oe,dirs:le}=x;if(X!=null&&mo(X,null,H,x,!0),he&256){A.ctx.deactivate(x);return}const ge=he&1&&le,$e=!As(x);let We;if($e&&(We=ie&&ie.onVnodeBeforeUnmount)&&vn(We,A,x),he&6)U(x.component,H,B);else{if(he&128){x.suspense.unmount(H,B);return}ge&&pi(x,null,A,"beforeUnmount"),he&64?x.type.remove(x,A,H,L,Ce,B):Q&&(G!==Qt||oe>0&&oe&64)?re(Q,A,H,!1,!0):(G===Qt&&oe&384||!L&&he&16)&&re(ee,A,H),B&&qt(x)}($e&&(We=ie&&ie.onVnodeUnmounted)||ge)&&Ht(()=>{We&&vn(We,A,x),ge&&pi(x,null,A,"unmounted")},H)},qt=x=>{const{type:A,el:H,anchor:B,transition:L}=x;if(A===Qt){An(H,B);return}if(A===Ba){se(x);return}const G=()=>{n(H),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(x.shapeFlag&1&&L&&!L.persisted){const{leave:ie,delayLeave:X}=L,ee=()=>ie(H,G);X?X(x.el,G,ee):ee()}else G()},An=(x,A)=>{let H;for(;x!==A;)H=k(x),n(x),x=H;n(A)},U=(x,A,H)=>{const{bum:B,scope:L,update:G,subTree:ie,um:X}=x;B&&Ha(B),L.stop(),G&&(G.active=!1,Tt(ie,x,A,H)),X&&Ht(X,A),Ht(()=>{x.isUnmounted=!0},A),A&&A.pendingBranch&&!A.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===A.pendingId&&(A.deps--,A.deps===0&&A.resolve())},re=(x,A,H,B=!1,L=!1,G=0)=>{for(let ie=G;iex.shapeFlag&6?te(x.component.subTree):x.shapeFlag&128?x.suspense.next():k(x.anchor||x.el),ce=(x,A,H)=>{x==null?A._vnode&&Tt(A._vnode,null,null,!0):D(A._vnode||null,x,A,null,null,null,H),Tu(),Nf(),A._vnode=x},Ce={p:D,um:Tt,m:dt,r:qt,mt:en,mc:rt,pc:Me,pbc:zt,n:te,o:e};let Ge,Ae;return t&&([Ge,Ae]=t(Ce)),{render:ce,hydrate:Ge,createApp:lg(ce,Ge)}}function mi({effect:e,update:t},i){e.allowRecurse=t.allowRecurse=i}function Jf(e,t,i=!1){const r=e.children,n=t.children;if(Te(r)&&Te(n))for(let s=0;s>1,e[i[u]]0&&(t[r]=i[s-1]),i[s]=r)}}for(s=i.length,o=i[s-1];s-- >0;)i[s]=o,o=t[o];return i}const dg=e=>e.__isTeleport,Qt=Symbol(void 0),ra=Symbol(void 0),Ci=Symbol(void 0),Ba=Symbol(void 0),$r=[];let un=null;function He(e=!1){$r.push(un=e?null:[])}function hg(){$r.pop(),un=$r[$r.length-1]||null}let Nr=1;function Iu(e){Nr+=e}function Zf(e){return e.dynamicChildren=Nr>0?un||Fi:null,hg(),Nr>0&&un&&un.push(e),e}function et(e,t,i,r,n,s){return Zf(me(e,t,i,r,n,s,!0))}function nr(e,t,i,r,n){return Zf(ze(e,t,i,r,n,!0))}function go(e){return e?e.__v_isVNode===!0:!1}function pr(e,t){return e.type===t.type&&e.key===t.key}const sa="__vInternal",ed=({key:e})=>e!=null?e:null,Ss=({ref:e,ref_key:t,ref_for:i})=>e!=null?kt(e)||Ot(e)||Ee(e)?{i:Xt,r:e,k:t,f:!!i}:e:null;function me(e,t=null,i=null,r=0,n=null,s=e===Qt?0:1,o=!1,u=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ed(t),ref:t&&Ss(t),scopeId:na,slotScopeIds:null,children:i,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:n,dynamicChildren:null,appContext:null,ctx:Xt};return u?(ol(c,i),s&128&&e.normalize(c)):i&&(c.shapeFlag|=kt(i)?8:16),Nr>0&&!o&&un&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&un.push(c),c}const ze=pg;function pg(e,t=null,i=null,r=0,n=null,s=!1){if((!e||e===Km)&&(e=Ci),go(e)){const u=Ki(e,t,!0);return i&&ol(u,i),Nr>0&&!s&&un&&(u.shapeFlag&6?un[un.indexOf(e)]=u:un.push(u)),u.patchFlag|=-2,u}if($g(e)&&(e=e.__vccOpts),t){t=mg(t);let{class:u,style:c}=t;u&&!kt(u)&&(t.class=Vi(u)),tt(c)&&($f(c)&&!Te(c)&&(c=Pt({},c)),t.style=jo(c))}const o=kt(e)?1:Nm(e)?128:dg(e)?64:tt(e)?4:Ee(e)?2:0;return me(e,t,i,r,n,o,s,!0)}function mg(e){return e?$f(e)||sa in e?Pt({},e):e:null}function Ki(e,t,i=!1){const{props:r,ref:n,patchFlag:s,children:o}=e,u=t?gg(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ed(u),ref:t&&t.ref?i&&n?Te(n)?n.concat(Ss(t)):[n,Ss(t)]:Ss(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Qt?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ki(e.ssContent),ssFallback:e.ssFallback&&Ki(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function vo(e=" ",t=0){return ze(ra,null,e,t)}function Ir(e="",t=!1){return t?(He(),nr(Ci,null,e)):ze(Ci,null,e)}function bn(e){return e==null||typeof e=="boolean"?ze(Ci):Te(e)?ze(Qt,null,e.slice()):typeof e=="object"?Yn(e):ze(ra,null,String(e))}function Yn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ki(e)}function ol(e,t){let i=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Te(t))i=16;else if(typeof t=="object")if(r&65){const n=t.default;n&&(n._c&&(n._d=!1),ol(e,n()),n._c&&(n._d=!0));return}else{i=32;const n=t._;!n&&!(sa in t)?t._ctx=Xt:n===3&&Xt&&(Xt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ee(t)?(t={default:t,_ctx:Xt},i=32):(t=String(t),r&64?(i=16,t=[vo(t)]):i=8);e.children=t,e.shapeFlag|=i}function gg(...e){const t={};for(let i=0;i{$t=e,e.scope.on()},xi=()=>{$t&&$t.scope.off(),$t=null};function td(e){return e.vnode.shapeFlag&4}let Mr=!1;function _g(e,t=!1){Mr=t;const{props:i,children:r}=e.vnode,n=td(e);ng(e,i,n,t),sg(e,r);const s=n?wg(e,t):void 0;return Mr=!1,s}function wg(e,t){const i=e.type;e.accessCache=Object.create(null),e.proxy=Tf(new Proxy(e.ctx,Qm));const{setup:r}=i;if(r){const n=e.setupContext=r.length>1?xg(e):null;Gi(e),er();const s=Zn(r,e,0,[e.props,n]);if(tr(),xi(),cf(s)){if(s.then(xi,xi),t)return s.then(o=>{Mu(e,o,t)}).catch(o=>{ea(o,e,0)});e.asyncDep=s}else Mu(e,s,t)}else nd(e,t)}function Mu(e,t,i){Ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:tt(t)&&(e.setupState=Of(t)),nd(e,i)}let Du;function nd(e,t,i){const r=e.type;if(!e.render){if(!t&&Du&&!r.render){const n=r.template||sl(e).template;if(n){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:u,compilerOptions:c}=r,p=Pt(Pt({isCustomElement:s,delimiters:u},o),c);r.render=Du(n,p)}}e.render=r.render||fn}Gi(e),er(),Xm(e),tr(),xi()}function kg(e){return new Proxy(e.attrs,{get(t,i){return Vt(e,"get","$attrs"),t[i]}})}function xg(e){const t=r=>{e.exposed=r||{}};let i;return{get attrs(){return i||(i=kg(e))},slots:e.slots,emit:e.emit,expose:t}}function aa(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Of(Tf(e.exposed)),{get(t,i){if(i in t)return t[i];if(i in Cr)return Cr[i](e)},has(t,i){return i in t||i in Cr}}))}function Cg(e,t=!0){return Ee(e)?e.displayName||e.name:e.name||t&&e.__name}function $g(e){return Ee(e)&&"__vccOpts"in e}const ut=(e,t)=>wm(e,t,Mr);function oa(e,t,i){const r=arguments.length;return r===2?tt(t)&&!Te(t)?go(t)?ze(e,null,[t]):ze(e,t):ze(e,null,t):(r>3?i=Array.prototype.slice.call(arguments,2):r===3&&go(i)&&(i=[i]),ze(e,t,i))}const Tg=Symbol(""),Eg=()=>hn(Tg),Ag="3.2.45",Sg="http://www.w3.org/2000/svg",yi=typeof document<"u"?document:null,Hu=yi&&yi.createElement("template"),Og={insert:(e,t,i)=>{t.insertBefore(e,i||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,i,r)=>{const n=t?yi.createElementNS(Sg,e):yi.createElement(e,i?{is:i}:void 0);return e==="select"&&r&&r.multiple!=null&&n.setAttribute("multiple",r.multiple),n},createText:e=>yi.createTextNode(e),createComment:e=>yi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,i,r,n,s){const o=i?i.previousSibling:t.lastChild;if(n&&(n===s||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),i),!(n===s||!(n=n.nextSibling)););else{Hu.innerHTML=r?`${e}`:e;const u=Hu.content;if(r){const c=u.firstChild;for(;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}t.insertBefore(u,i)}return[o?o.nextSibling:t.firstChild,i?i.previousSibling:t.lastChild]}};function zg(e,t,i){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):i?e.setAttribute("class",t):e.className=t}function Rg(e,t,i){const r=e.style,n=kt(i);if(i&&!n){for(const s in i)yo(r,s,i[s]);if(t&&!kt(t))for(const s in t)i[s]==null&&yo(r,s,"")}else{const s=r.display;n?t!==i&&(r.cssText=i):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const Fu=/\s*!important$/;function yo(e,t,i){if(Te(i))i.forEach(r=>yo(e,t,r));else if(i==null&&(i=""),t.startsWith("--"))e.setProperty(t,i);else{const r=Pg(e,t);Fu.test(i)?e.setProperty(Ai(r),i.replace(Fu,""),"important"):e[r]=i}}const qu=["Webkit","Moz","ms"],ja={};function Pg(e,t){const i=ja[t];if(i)return i;let r=$n(t);if(r!=="filter"&&r in e)return ja[t]=r;r=Js(r);for(let n=0;nWa||(Fg.then(()=>Wa=0),Wa=Date.now());function Bg(e,t){const i=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=i.attached)return;dn(jg(r,i.value),t,5,[r])};return i.value=e,i.attached=qg(),i}function jg(e,t){if(Te(t)){const i=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{i.call(e),e._stopped=!0},t.map(r=>n=>!n._stopped&&r&&r(n))}else return t}const Wu=/^on[a-z]/,Wg=(e,t,i,r,n=!1,s,o,u,c)=>{t==="class"?zg(e,r,n):t==="style"?Rg(e,i,r):Gs(t)?Wo(t)||Dg(e,t,i,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ug(e,t,r,n))?Ng(e,t,r,s,o,u,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Lg(e,t,r,n))};function Ug(e,t,i,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Wu.test(t)&&Ee(i)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Wu.test(t)&&kt(i)?!1:t in e}const Vg={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Yg=(e,t)=>i=>{if(!("key"in i))return;const r=Ai(i.key);if(t.some(n=>n===r||Vg[n]===r))return e(i)},Uu={beforeMount(e,{value:t},{transition:i}){e._vod=e.style.display==="none"?"":e.style.display,i&&t?i.beforeEnter(e):mr(e,t)},mounted(e,{value:t},{transition:i}){i&&t&&i.enter(e)},updated(e,{value:t,oldValue:i},{transition:r}){!t!=!i&&(r?t?(r.beforeEnter(e),mr(e,!0),r.enter(e)):r.leave(e,()=>{mr(e,!1)}):mr(e,t))},beforeUnmount(e,{value:t}){mr(e,t)}};function mr(e,t){e.style.display=t?e._vod:"none"}const Kg=Pt({patchProp:Wg},Og);let Vu;function Gg(){return Vu||(Vu=ug(Kg))}const Qg=(...e)=>{const t=Gg().createApp(...e),{mount:i}=t;return t.mount=r=>{const n=Xg(r);if(!n)return;const s=t._component;!Ee(s)&&!s.render&&!s.template&&(s.template=n.innerHTML),n.innerHTML="";const o=i(n,!1,n instanceof SVGElement);return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o},t};function Xg(e){return kt(e)?document.querySelector(e):e}/*! - * vue-router v4.1.6 - * (c) 2022 Eduardo San Martin Morote - * @license MIT - */const Ii=typeof window<"u";function Jg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Be=Object.assign;function Ua(e,t){const i={};for(const r in t){const n=t[r];i[r]=mn(n)?n.map(e):e(n)}return i}const Tr=()=>{},mn=Array.isArray,Zg=/\/$/,ev=e=>e.replace(Zg,"");function Va(e,t,i="/"){let r,n={},s="",o="";const u=t.indexOf("#");let c=t.indexOf("?");return u=0&&(c=-1),c>-1&&(r=t.slice(0,c),s=t.slice(c+1,u>-1?u:t.length),n=e(s)),u>-1&&(r=r||t.slice(0,u),o=t.slice(u,t.length)),r=rv(r!=null?r:t,i),{fullPath:r+(s&&"?")+s+o,path:r,query:n,hash:o}}function tv(e,t){const i=t.query?e(t.query):"";return t.path+(i&&"?")+i+(t.hash||"")}function Yu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function nv(e,t,i){const r=t.matched.length-1,n=i.matched.length-1;return r>-1&&r===n&&Qi(t.matched[r],i.matched[n])&&id(t.params,i.params)&&e(t.query)===e(i.query)&&t.hash===i.hash}function Qi(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function id(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const i in e)if(!iv(e[i],t[i]))return!1;return!0}function iv(e,t){return mn(e)?Ku(e,t):mn(t)?Ku(t,e):e===t}function Ku(e,t){return mn(t)?e.length===t.length&&e.every((i,r)=>i===t[r]):e.length===1&&e[0]===t}function rv(e,t){if(e.startsWith("/"))return e;if(!e)return t;const i=t.split("/"),r=e.split("/");let n=i.length-1,s,o;for(s=0;s1&&n--;else break;return i.slice(0,n).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var Dr;(function(e){e.pop="pop",e.push="push"})(Dr||(Dr={}));var Er;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Er||(Er={}));function sv(e){if(!e)if(Ii){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ev(e)}const av=/^[^#]+#/;function ov(e,t){return e.replace(av,"#")+t}function lv(e,t){const i=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-i.left-(t.left||0),top:r.top-i.top-(t.top||0)}}const la=()=>({left:window.pageXOffset,top:window.pageYOffset});function uv(e){let t;if("el"in e){const i=e.el,r=typeof i=="string"&&i.startsWith("#"),n=typeof i=="string"?r?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!n)return;t=lv(n,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Gu(e,t){return(history.state?history.state.position-t:-1)+e}const bo=new Map;function cv(e,t){bo.set(e,t)}function fv(e){const t=bo.get(e);return bo.delete(e),t}let dv=()=>location.protocol+"//"+location.host;function rd(e,t){const{pathname:i,search:r,hash:n}=t,s=e.indexOf("#");if(s>-1){let u=n.includes(e.slice(s))?e.slice(s).length:1,c=n.slice(u);return c[0]!=="/"&&(c="/"+c),Yu(c,"")}return Yu(i,e)+r+n}function hv(e,t,i,r){let n=[],s=[],o=null;const u=({state:k})=>{const z=rd(e,location),M=i.value,D=t.value;let Z=0;if(k){if(i.value=z,t.value=k,o&&o===M){o=null;return}Z=D?k.position-D.position:0}else r(z);n.forEach(R=>{R(i.value,M,{delta:Z,type:Dr.pop,direction:Z?Z>0?Er.forward:Er.back:Er.unknown})})};function c(){o=i.value}function p(k){n.push(k);const z=()=>{const M=n.indexOf(k);M>-1&&n.splice(M,1)};return s.push(z),z}function m(){const{history:k}=window;!k.state||k.replaceState(Be({},k.state,{scroll:la()}),"")}function w(){for(const k of s)k();s=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",m),{pauseListeners:c,listen:p,destroy:w}}function Qu(e,t,i,r=!1,n=!1){return{back:e,current:t,forward:i,replaced:r,position:window.history.length,scroll:n?la():null}}function pv(e){const{history:t,location:i}=window,r={value:rd(e,i)},n={value:t.state};n.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,p,m){const w=e.indexOf("#"),k=w>-1?(i.host&&document.querySelector("base")?e:e.slice(w))+c:dv()+e+c;try{t[m?"replaceState":"pushState"](p,"",k),n.value=p}catch(z){console.error(z),i[m?"replace":"assign"](k)}}function o(c,p){const m=Be({},t.state,Qu(n.value.back,c,n.value.forward,!0),p,{position:n.value.position});s(c,m,!0),r.value=c}function u(c,p){const m=Be({},n.value,t.state,{forward:c,scroll:la()});s(m.current,m,!0);const w=Be({},Qu(r.value,c,null),{position:m.position+1},p);s(c,w,!1),r.value=c}return{location:r,state:n,push:u,replace:o}}function mv(e){e=sv(e);const t=pv(e),i=hv(e,t.state,t.location,t.replace);function r(s,o=!0){o||i.pauseListeners(),history.go(s)}const n=Be({location:"",base:e,go:r,createHref:ov.bind(null,e)},t,i);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>t.state.value}),n}function gv(e){return typeof e=="string"||e&&typeof e=="object"}function sd(e){return typeof e=="string"||typeof e=="symbol"}const Un={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ad=Symbol("");var Xu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Xu||(Xu={}));function Xi(e,t){return Be(new Error,{type:e,[ad]:!0},t)}function Rn(e,t){return e instanceof Error&&ad in e&&(t==null||!!(e.type&t))}const Ju="[^/]+?",vv={sensitive:!1,strict:!1,start:!0,end:!0},yv=/[.+*?^${}()[\]/\\]/g;function bv(e,t){const i=Be({},vv,t),r=[];let n=i.start?"^":"";const s=[];for(const p of e){const m=p.length?[]:[90];i.strict&&!p.length&&(n+="/");for(let w=0;wt.length?t.length===1&&t[0]===40+40?1:-1:0}function wv(e,t){let i=0;const r=e.score,n=t.score;for(;i0&&t[t.length-1]<0}const kv={type:0,value:""},xv=/[a-zA-Z0-9_]/;function Cv(e){if(!e)return[[]];if(e==="/")return[[kv]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(z){throw new Error(`ERR (${i})/"${p}": ${z}`)}let i=0,r=i;const n=[];let s;function o(){s&&n.push(s),s=[]}let u=0,c,p="",m="";function w(){!p||(i===0?s.push({type:0,value:p}):i===1||i===2||i===3?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${p}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:p,regexp:m,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),p="")}function k(){p+=c}for(;u{o(j)}:Tr}function o(m){if(sd(m)){const w=r.get(m);w&&(r.delete(m),i.splice(i.indexOf(w),1),w.children.forEach(o),w.alias.forEach(o))}else{const w=i.indexOf(m);w>-1&&(i.splice(w,1),m.record.name&&r.delete(m.record.name),m.children.forEach(o),m.alias.forEach(o))}}function u(){return i}function c(m){let w=0;for(;w=0&&(m.record.path!==i[w].record.path||!od(m,i[w]));)w++;i.splice(w,0,m),m.record.name&&!tc(m)&&r.set(m.record.name,m)}function p(m,w){let k,z={},M,D;if("name"in m&&m.name){if(k=r.get(m.name),!k)throw Xi(1,{location:m});D=k.record.name,z=Be(ec(w.params,k.keys.filter(j=>!j.optional).map(j=>j.name)),m.params&&ec(m.params,k.keys.map(j=>j.name))),M=k.stringify(z)}else if("path"in m)M=m.path,k=i.find(j=>j.re.test(M)),k&&(z=k.parse(M),D=k.record.name);else{if(k=w.name?r.get(w.name):i.find(j=>j.re.test(w.path)),!k)throw Xi(1,{location:m,currentLocation:w});D=k.record.name,z=Be({},w.params,m.params),M=k.stringify(z)}const Z=[];let R=k;for(;R;)Z.unshift(R.record),R=R.parent;return{name:D,path:M,params:z,matched:Z,meta:Sv(Z)}}return e.forEach(m=>s(m)),{addRoute:s,resolve:p,removeRoute:o,getRoutes:u,getRecordMatcher:n}}function ec(e,t){const i={};for(const r of t)r in e&&(i[r]=e[r]);return i}function Ev(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Av(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Av(e){const t={},i=e.props||!1;if("component"in e)t.default=i;else for(const r in e.components)t[r]=typeof i=="boolean"?i:i[r];return t}function tc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Sv(e){return e.reduce((t,i)=>Be(t,i.meta),{})}function nc(e,t){const i={};for(const r in e)i[r]=r in t?t[r]:e[r];return i}function od(e,t){return t.children.some(i=>i===e||od(e,i))}const ld=/#/g,Ov=/&/g,zv=/\//g,Rv=/=/g,Pv=/\?/g,ud=/\+/g,Lv=/%5B/g,Nv=/%5D/g,cd=/%5E/g,Iv=/%60/g,fd=/%7B/g,Mv=/%7C/g,dd=/%7D/g,Dv=/%20/g;function ll(e){return encodeURI(""+e).replace(Mv,"|").replace(Lv,"[").replace(Nv,"]")}function Hv(e){return ll(e).replace(fd,"{").replace(dd,"}").replace(cd,"^")}function _o(e){return ll(e).replace(ud,"%2B").replace(Dv,"+").replace(ld,"%23").replace(Ov,"%26").replace(Iv,"`").replace(fd,"{").replace(dd,"}").replace(cd,"^")}function Fv(e){return _o(e).replace(Rv,"%3D")}function qv(e){return ll(e).replace(ld,"%23").replace(Pv,"%3F")}function Bv(e){return e==null?"":qv(e).replace(zv,"%2F")}function Fs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function jv(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let n=0;ns&&_o(s)):[r&&_o(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+i,s!=null&&(t+="="+s))})}return t}function Wv(e){const t={};for(const i in e){const r=e[i];r!==void 0&&(t[i]=mn(r)?r.map(n=>n==null?null:""+n):r==null?r:""+r)}return t}const Uv=Symbol(""),rc=Symbol(""),ua=Symbol(""),ul=Symbol(""),wo=Symbol("");function gr(){let e=[];function t(r){return e.push(r),()=>{const n=e.indexOf(r);n>-1&&e.splice(n,1)}}function i(){e=[]}return{add:t,list:()=>e,reset:i}}function Kn(e,t,i,r,n){const s=r&&(r.enterCallbacks[n]=r.enterCallbacks[n]||[]);return()=>new Promise((o,u)=>{const c=w=>{w===!1?u(Xi(4,{from:i,to:t})):w instanceof Error?u(w):gv(w)?u(Xi(2,{from:t,to:w})):(s&&r.enterCallbacks[n]===s&&typeof w=="function"&&s.push(w),o())},p=e.call(r&&r.instances[n],t,i,c);let m=Promise.resolve(p);e.length<3&&(m=m.then(c)),m.catch(w=>u(w))})}function Ya(e,t,i,r){const n=[];for(const s of e)for(const o in s.components){let u=s.components[o];if(!(t!=="beforeRouteEnter"&&!s.instances[o]))if(Vv(u)){const p=(u.__vccOpts||u)[t];p&&n.push(Kn(p,i,r,s,o))}else{let c=u();n.push(()=>c.then(p=>{if(!p)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const m=Jg(p)?p.default:p;s.components[o]=m;const k=(m.__vccOpts||m)[t];return k&&Kn(k,i,r,s,o)()}))}}return n}function Vv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function sc(e){const t=hn(ua),i=hn(ul),r=ut(()=>t.resolve(ji(e.to))),n=ut(()=>{const{matched:c}=r.value,{length:p}=c,m=c[p-1],w=i.matched;if(!m||!w.length)return-1;const k=w.findIndex(Qi.bind(null,m));if(k>-1)return k;const z=ac(c[p-2]);return p>1&&ac(m)===z&&w[w.length-1].path!==z?w.findIndex(Qi.bind(null,c[p-2])):k}),s=ut(()=>n.value>-1&&Qv(i.params,r.value.params)),o=ut(()=>n.value>-1&&n.value===i.matched.length-1&&id(i.params,r.value.params));function u(c={}){return Gv(c)?t[ji(e.replace)?"replace":"push"](ji(e.to)).catch(Tr):Promise.resolve()}return{route:r,href:ut(()=>r.value.href),isActive:s,isExactActive:o,navigate:u}}const Yv=Vr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:sc,setup(e,{slots:t}){const i=Ur(sc(e)),{options:r}=hn(ua),n=ut(()=>({[oc(e.activeClass,r.linkActiveClass,"router-link-active")]:i.isActive,[oc(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const s=t.default&&t.default(i);return e.custom?s:oa("a",{"aria-current":i.isExactActive?e.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:n.value},s)}}}),Kv=Yv;function Gv(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Qv(e,t){for(const i in t){const r=t[i],n=e[i];if(typeof r=="string"){if(r!==n)return!1}else if(!mn(n)||n.length!==r.length||r.some((s,o)=>s!==n[o]))return!1}return!0}function ac(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const oc=(e,t,i)=>e!=null?e:t!=null?t:i,Xv=Vr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:i}){const r=hn(wo),n=ut(()=>e.route||r.value),s=hn(rc,0),o=ut(()=>{let p=ji(s);const{matched:m}=n.value;let w;for(;(w=m[p])&&!w.components;)p++;return p}),u=ut(()=>n.value.matched[o.value]);Es(rc,ut(()=>o.value+1)),Es(Uv,u),Es(wo,n);const c=lo();return xr(()=>[c.value,u.value,e.name],([p,m,w],[k,z,M])=>{m&&(m.instances[w]=p,z&&z!==m&&p&&p===k&&(m.leaveGuards.size||(m.leaveGuards=z.leaveGuards),m.updateGuards.size||(m.updateGuards=z.updateGuards))),p&&m&&(!z||!Qi(m,z)||!k)&&(m.enterCallbacks[w]||[]).forEach(D=>D(p))},{flush:"post"}),()=>{const p=n.value,m=e.name,w=u.value,k=w&&w.components[m];if(!k)return lc(i.default,{Component:k,route:p});const z=w.props[m],M=z?z===!0?p.params:typeof z=="function"?z(p):z:null,Z=oa(k,Be({},M,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(w.instances[m]=null)},ref:c}));return lc(i.default,{Component:Z,route:p})||Z}}});function lc(e,t){if(!e)return null;const i=e(t);return i.length===1?i[0]:i}const Jv=Xv;function Zv(e){const t=Tv(e.routes,e),i=e.parseQuery||jv,r=e.stringifyQuery||ic,n=e.history,s=gr(),o=gr(),u=gr(),c=vm(Un);let p=Un;Ii&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Ua.bind(null,U=>""+U),w=Ua.bind(null,Bv),k=Ua.bind(null,Fs);function z(U,re){let te,ce;return sd(U)?(te=t.getRecordMatcher(U),ce=re):ce=U,t.addRoute(ce,te)}function M(U){const re=t.getRecordMatcher(U);re&&t.removeRoute(re)}function D(){return t.getRoutes().map(U=>U.record)}function Z(U){return!!t.getRecordMatcher(U)}function R(U,re){if(re=Be({},re||c.value),typeof U=="string"){const x=Va(i,U,re.path),A=t.resolve({path:x.path},re),H=n.createHref(x.fullPath);return Be(x,A,{params:k(A.params),hash:Fs(x.hash),redirectedFrom:void 0,href:H})}let te;if("path"in U)te=Be({},U,{path:Va(i,U.path,re.path).path});else{const x=Be({},U.params);for(const A in x)x[A]==null&&delete x[A];te=Be({},U,{params:w(U.params)}),re.params=w(re.params)}const ce=t.resolve(te,re),Ce=U.hash||"";ce.params=m(k(ce.params));const Ge=tv(r,Be({},U,{hash:Hv(Ce),path:ce.path})),Ae=n.createHref(Ge);return Be({fullPath:Ge,hash:Ce,query:r===ic?Wv(U.query):U.query||{}},ce,{redirectedFrom:void 0,href:Ae})}function j(U){return typeof U=="string"?Va(i,U,c.value.path):Be({},U)}function K(U,re){if(p!==U)return Xi(8,{from:re,to:U})}function se(U){return qe(U)}function xe(U){return se(Be(j(U),{replace:!0}))}function h(U){const re=U.matched[U.matched.length-1];if(re&&re.redirect){const{redirect:te}=re;let ce=typeof te=="function"?te(U):te;return typeof ce=="string"&&(ce=ce.includes("?")||ce.includes("#")?ce=j(ce):{path:ce},ce.params={}),Be({query:U.query,hash:U.hash,params:"path"in ce?{}:U.params},ce)}}function qe(U,re){const te=p=R(U),ce=c.value,Ce=U.state,Ge=U.force,Ae=U.replace===!0,x=h(te);if(x)return qe(Be(j(x),{state:typeof x=="object"?Be({},Ce,x.state):Ce,force:Ge,replace:Ae}),re||te);const A=te;A.redirectedFrom=re;let H;return!Ge&&nv(r,ce,te)&&(H=Xi(16,{to:A,from:ce}),gn(ce,ce,!0,!1)),(H?Promise.resolve(H):ct(A,ce)).catch(B=>Rn(B)?Rn(B,2)?B:Ft(B):je(B,A,ce)).then(B=>{if(B){if(Rn(B,2))return qe(Be({replace:Ae},j(B.to),{state:typeof B.to=="object"?Be({},Ce,B.to.state):Ce,force:Ge}),re||A)}else B=Zt(A,ce,!0,Ae,Ce);return zt(A,ce,B),B})}function rt(U,re){const te=K(U,re);return te?Promise.reject(te):Promise.resolve()}function ct(U,re){let te;const[ce,Ce,Ge]=ey(U,re);te=Ya(ce.reverse(),"beforeRouteLeave",U,re);for(const x of ce)x.leaveGuards.forEach(A=>{te.push(Kn(A,U,re))});const Ae=rt.bind(null,U,re);return te.push(Ae),Li(te).then(()=>{te=[];for(const x of s.list())te.push(Kn(x,U,re));return te.push(Ae),Li(te)}).then(()=>{te=Ya(Ce,"beforeRouteUpdate",U,re);for(const x of Ce)x.updateGuards.forEach(A=>{te.push(Kn(A,U,re))});return te.push(Ae),Li(te)}).then(()=>{te=[];for(const x of U.matched)if(x.beforeEnter&&!re.matched.includes(x))if(mn(x.beforeEnter))for(const A of x.beforeEnter)te.push(Kn(A,U,re));else te.push(Kn(x.beforeEnter,U,re));return te.push(Ae),Li(te)}).then(()=>(U.matched.forEach(x=>x.enterCallbacks={}),te=Ya(Ge,"beforeRouteEnter",U,re),te.push(Ae),Li(te))).then(()=>{te=[];for(const x of o.list())te.push(Kn(x,U,re));return te.push(Ae),Li(te)}).catch(x=>Rn(x,8)?x:Promise.reject(x))}function zt(U,re,te){for(const ce of u.list())ce(U,re,te)}function Zt(U,re,te,ce,Ce){const Ge=K(U,re);if(Ge)return Ge;const Ae=re===Un,x=Ii?history.state:{};te&&(ce||Ae?n.replace(U.fullPath,Be({scroll:Ae&&x&&x.scroll},Ce)):n.push(U.fullPath,Ce)),c.value=U,gn(U,re,te,Ae),Ft()}let st;function En(){st||(st=n.listen((U,re,te)=>{if(!An.listening)return;const ce=R(U),Ce=h(ce);if(Ce){qe(Be(Ce,{replace:!0}),ce).catch(Tr);return}p=ce;const Ge=c.value;Ii&&cv(Gu(Ge.fullPath,te.delta),la()),ct(ce,Ge).catch(Ae=>Rn(Ae,12)?Ae:Rn(Ae,2)?(qe(Ae.to,ce).then(x=>{Rn(x,20)&&!te.delta&&te.type===Dr.pop&&n.go(-1,!1)}).catch(Tr),Promise.reject()):(te.delta&&n.go(-te.delta,!1),je(Ae,ce,Ge))).then(Ae=>{Ae=Ae||Zt(ce,Ge,!1),Ae&&(te.delta&&!Rn(Ae,8)?n.go(-te.delta,!1):te.type===Dr.pop&&Rn(Ae,20)&&n.go(-1,!1)),zt(ce,Ge,Ae)}).catch(Tr)}))}let en=gr(),Fn=gr(),ft;function je(U,re,te){Ft(U);const ce=Fn.list();return ce.length?ce.forEach(Ce=>Ce(U,re,te)):console.error(U),Promise.reject(U)}function Me(){return ft&&c.value!==Un?Promise.resolve():new Promise((U,re)=>{en.add([U,re])})}function Ft(U){return ft||(ft=!U,En(),en.list().forEach(([re,te])=>U?te(U):re()),en.reset()),U}function gn(U,re,te,ce){const{scrollBehavior:Ce}=e;if(!Ii||!Ce)return Promise.resolve();const Ge=!te&&fv(Gu(U.fullPath,0))||(ce||!te)&&history.state&&history.state.scroll||null;return Pf().then(()=>Ce(U,re,Ge)).then(Ae=>Ae&&uv(Ae)).catch(Ae=>je(Ae,U,re))}const dt=U=>n.go(U);let Tt;const qt=new Set,An={currentRoute:c,listening:!0,addRoute:z,removeRoute:M,hasRoute:Z,getRoutes:D,resolve:R,options:e,push:se,replace:xe,go:dt,back:()=>dt(-1),forward:()=>dt(1),beforeEach:s.add,beforeResolve:o.add,afterEach:u.add,onError:Fn.add,isReady:Me,install(U){const re=this;U.component("RouterLink",Kv),U.component("RouterView",Jv),U.config.globalProperties.$router=re,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>ji(c)}),Ii&&!Tt&&c.value===Un&&(Tt=!0,se(n.location).catch(Ce=>{}));const te={};for(const Ce in Un)te[Ce]=ut(()=>c.value[Ce]);U.provide(ua,re),U.provide(ul,Ur(te)),U.provide(wo,c);const ce=U.unmount;qt.add(U),U.unmount=function(){qt.delete(U),qt.size<1&&(p=Un,st&&st(),st=null,c.value=Un,Tt=!1,ft=!1),ce()}}};return An}function Li(e){return e.reduce((t,i)=>t.then(()=>i()),Promise.resolve())}function ey(e,t){const i=[],r=[],n=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;oQi(p,u))?r.push(u):i.push(u));const c=e.matched[o];c&&(t.matched.find(p=>Qi(p,c))||n.push(c))}return[i,r,n]}function ty(){return hn(ua)}function ny(){return hn(ul)}var iy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},hd={exports:{}};/*! - * jQuery JavaScript Library v3.6.1 - * https://jquery.com/ - * - * Includes Sizzle.js - * https://sizzlejs.com/ - * - * Copyright OpenJS Foundation and other contributors - * Released under the MIT license - * https://jquery.org/license - * - * Date: 2022-08-26T17:52Z - */(function(e){(function(t,i){e.exports=t.document?i(t,!0):function(r){if(!r.document)throw new Error("jQuery requires a window with a document");return i(r)}})(typeof window<"u"?window:iy,function(t,i){var r=[],n=Object.getPrototypeOf,s=r.slice,o=r.flat?function(a){return r.flat.call(a)}:function(a){return r.concat.apply([],a)},u=r.push,c=r.indexOf,p={},m=p.toString,w=p.hasOwnProperty,k=w.toString,z=k.call(Object),M={},D=function(l){return typeof l=="function"&&typeof l.nodeType!="number"&&typeof l.item!="function"},Z=function(l){return l!=null&&l===l.window},R=t.document,j={type:!0,src:!0,nonce:!0,noModule:!0};function K(a,l,f){f=f||R;var d,g,v=f.createElement("script");if(v.text=a,l)for(d in j)g=l[d]||l.getAttribute&&l.getAttribute(d),g&&v.setAttribute(d,g);f.head.appendChild(v).parentNode.removeChild(v)}function se(a){return a==null?a+"":typeof a=="object"||typeof a=="function"?p[m.call(a)]||"object":typeof a}var xe="3.6.1",h=function(a,l){return new h.fn.init(a,l)};h.fn=h.prototype={jquery:xe,constructor:h,length:0,toArray:function(){return s.call(this)},get:function(a){return a==null?s.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var l=h.merge(this.constructor(),a);return l.prevObject=this,l},each:function(a){return h.each(this,a)},map:function(a){return this.pushStack(h.map(this,function(l,f){return a.call(l,f,l)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(h.grep(this,function(a,l){return(l+1)%2}))},odd:function(){return this.pushStack(h.grep(this,function(a,l){return l%2}))},eq:function(a){var l=this.length,f=+a+(a<0?l:0);return this.pushStack(f>=0&&f0&&l-1 in a}var rt=function(a){var l,f,d,g,v,b,E,C,P,I,V,N,F,fe,ke,de,_t,vt,Bt,Ue="sizzle"+1*new Date,we=a.document,It=0,Le=0,lt=rs(),cr=rs(),ts=rs(),jt=rs(),ui=function(_,T){return _===T&&(V=!0),0},ci={}.hasOwnProperty,Mt=[],Bn=Mt.pop,Kt=Mt.push,jn=Mt.push,uu=Mt.slice,fi=function(_,T){for(var S=0,q=_.length;S+~]|"+De+")"+De+"*"),yp=new RegExp(De+"|>"),bp=new RegExp(za),_p=new RegExp("^"+di+"$"),is={ID:new RegExp("^#("+di+")"),CLASS:new RegExp("^\\.("+di+")"),TAG:new RegExp("^("+di+"|[*])"),ATTR:new RegExp("^"+cu),PSEUDO:new RegExp("^"+za),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+De+"*(even|odd|(([+-]|)(\\d*)n|)"+De+"*(?:([+-]|)"+De+"*(\\d+)|))"+De+"*\\)|)","i"),bool:new RegExp("^(?:"+Oa+")$","i"),needsContext:new RegExp("^"+De+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+De+"*((?:-\\d)?\\d*)"+De+"*\\)|)(?=[^-]|$)","i")},wp=/HTML$/i,kp=/^(?:input|select|textarea|button)$/i,xp=/^h\d$/i,fr=/^[^{]+\{\s*\[native \w/,Cp=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ra=/[+~]/,On=new RegExp("\\\\[\\da-fA-F]{1,6}"+De+"?|\\\\([^\\r\\n\\f])","g"),zn=function(_,T){var S="0x"+_.slice(1)-65536;return T||(S<0?String.fromCharCode(S+65536):String.fromCharCode(S>>10|55296,S&1023|56320))},du=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,hu=function(_,T){return T?_==="\0"?"\uFFFD":_.slice(0,-1)+"\\"+_.charCodeAt(_.length-1).toString(16)+" ":"\\"+_},pu=function(){N()},$p=as(function(_){return _.disabled===!0&&_.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{jn.apply(Mt=uu.call(we.childNodes),we.childNodes),Mt[we.childNodes.length].nodeType}catch{jn={apply:Mt.length?function(T,S){Kt.apply(T,uu.call(S))}:function(T,S){for(var q=T.length,O=0;T[q++]=S[O++];);T.length=q-1}}}function Ve(_,T,S,q){var O,W,Y,J,ne,ve,pe,be=T&&T.ownerDocument,Oe=T?T.nodeType:9;if(S=S||[],typeof _!="string"||!_||Oe!==1&&Oe!==9&&Oe!==11)return S;if(!q&&(N(T),T=T||F,ke)){if(Oe!==11&&(ne=Cp.exec(_)))if(O=ne[1]){if(Oe===9)if(Y=T.getElementById(O)){if(Y.id===O)return S.push(Y),S}else return S;else if(be&&(Y=be.getElementById(O))&&Bt(T,Y)&&Y.id===O)return S.push(Y),S}else{if(ne[2])return jn.apply(S,T.getElementsByTagName(_)),S;if((O=ne[3])&&f.getElementsByClassName&&T.getElementsByClassName)return jn.apply(S,T.getElementsByClassName(O)),S}if(f.qsa&&!jt[_+" "]&&(!de||!de.test(_))&&(Oe!==1||T.nodeName.toLowerCase()!=="object")){if(pe=_,be=T,Oe===1&&(yp.test(_)||fu.test(_))){for(be=Ra.test(_)&&La(T.parentNode)||T,(be!==T||!f.scope)&&((J=T.getAttribute("id"))?J=J.replace(du,hu):T.setAttribute("id",J=Ue)),ve=b(_),W=ve.length;W--;)ve[W]=(J?"#"+J:":scope")+" "+ss(ve[W]);pe=ve.join(",")}try{return jn.apply(S,be.querySelectorAll(pe)),S}catch{jt(_,!0)}finally{J===Ue&&T.removeAttribute("id")}}}return C(_.replace(ns,"$1"),T,S,q)}function rs(){var _=[];function T(S,q){return _.push(S+" ")>d.cacheLength&&delete T[_.shift()],T[S+" "]=q}return T}function rn(_){return _[Ue]=!0,_}function sn(_){var T=F.createElement("fieldset");try{return!!_(T)}catch{return!1}finally{T.parentNode&&T.parentNode.removeChild(T),T=null}}function Pa(_,T){for(var S=_.split("|"),q=S.length;q--;)d.attrHandle[S[q]]=T}function mu(_,T){var S=T&&_,q=S&&_.nodeType===1&&T.nodeType===1&&_.sourceIndex-T.sourceIndex;if(q)return q;if(S){for(;S=S.nextSibling;)if(S===T)return-1}return _?1:-1}function Tp(_){return function(T){var S=T.nodeName.toLowerCase();return S==="input"&&T.type===_}}function Ep(_){return function(T){var S=T.nodeName.toLowerCase();return(S==="input"||S==="button")&&T.type===_}}function gu(_){return function(T){return"form"in T?T.parentNode&&T.disabled===!1?"label"in T?"label"in T.parentNode?T.parentNode.disabled===_:T.disabled===_:T.isDisabled===_||T.isDisabled!==!_&&$p(T)===_:T.disabled===_:"label"in T?T.disabled===_:!1}}function hi(_){return rn(function(T){return T=+T,rn(function(S,q){for(var O,W=_([],S.length,T),Y=W.length;Y--;)S[O=W[Y]]&&(S[O]=!(q[O]=S[O]))})})}function La(_){return _&&typeof _.getElementsByTagName<"u"&&_}f=Ve.support={},v=Ve.isXML=function(_){var T=_&&_.namespaceURI,S=_&&(_.ownerDocument||_).documentElement;return!wp.test(T||S&&S.nodeName||"HTML")},N=Ve.setDocument=function(_){var T,S,q=_?_.ownerDocument||_:we;return q==F||q.nodeType!==9||!q.documentElement||(F=q,fe=F.documentElement,ke=!v(F),we!=F&&(S=F.defaultView)&&S.top!==S&&(S.addEventListener?S.addEventListener("unload",pu,!1):S.attachEvent&&S.attachEvent("onunload",pu)),f.scope=sn(function(O){return fe.appendChild(O).appendChild(F.createElement("div")),typeof O.querySelectorAll<"u"&&!O.querySelectorAll(":scope fieldset div").length}),f.attributes=sn(function(O){return O.className="i",!O.getAttribute("className")}),f.getElementsByTagName=sn(function(O){return O.appendChild(F.createComment("")),!O.getElementsByTagName("*").length}),f.getElementsByClassName=fr.test(F.getElementsByClassName),f.getById=sn(function(O){return fe.appendChild(O).id=Ue,!F.getElementsByName||!F.getElementsByName(Ue).length}),f.getById?(d.filter.ID=function(O){var W=O.replace(On,zn);return function(Y){return Y.getAttribute("id")===W}},d.find.ID=function(O,W){if(typeof W.getElementById<"u"&&ke){var Y=W.getElementById(O);return Y?[Y]:[]}}):(d.filter.ID=function(O){var W=O.replace(On,zn);return function(Y){var J=typeof Y.getAttributeNode<"u"&&Y.getAttributeNode("id");return J&&J.value===W}},d.find.ID=function(O,W){if(typeof W.getElementById<"u"&&ke){var Y,J,ne,ve=W.getElementById(O);if(ve){if(Y=ve.getAttributeNode("id"),Y&&Y.value===O)return[ve];for(ne=W.getElementsByName(O),J=0;ve=ne[J++];)if(Y=ve.getAttributeNode("id"),Y&&Y.value===O)return[ve]}return[]}}),d.find.TAG=f.getElementsByTagName?function(O,W){if(typeof W.getElementsByTagName<"u")return W.getElementsByTagName(O);if(f.qsa)return W.querySelectorAll(O)}:function(O,W){var Y,J=[],ne=0,ve=W.getElementsByTagName(O);if(O==="*"){for(;Y=ve[ne++];)Y.nodeType===1&&J.push(Y);return J}return ve},d.find.CLASS=f.getElementsByClassName&&function(O,W){if(typeof W.getElementsByClassName<"u"&&ke)return W.getElementsByClassName(O)},_t=[],de=[],(f.qsa=fr.test(F.querySelectorAll))&&(sn(function(O){var W;fe.appendChild(O).innerHTML="",O.querySelectorAll("[msallowcapture^='']").length&&de.push("[*^$]="+De+`*(?:''|"")`),O.querySelectorAll("[selected]").length||de.push("\\["+De+"*(?:value|"+Oa+")"),O.querySelectorAll("[id~="+Ue+"-]").length||de.push("~="),W=F.createElement("input"),W.setAttribute("name",""),O.appendChild(W),O.querySelectorAll("[name='']").length||de.push("\\["+De+"*name"+De+"*="+De+`*(?:''|"")`),O.querySelectorAll(":checked").length||de.push(":checked"),O.querySelectorAll("a#"+Ue+"+*").length||de.push(".#.+[+~]"),O.querySelectorAll("\\\f"),de.push("[\\r\\n\\f]")}),sn(function(O){O.innerHTML="";var W=F.createElement("input");W.setAttribute("type","hidden"),O.appendChild(W).setAttribute("name","D"),O.querySelectorAll("[name=d]").length&&de.push("name"+De+"*[*^$|!~]?="),O.querySelectorAll(":enabled").length!==2&&de.push(":enabled",":disabled"),fe.appendChild(O).disabled=!0,O.querySelectorAll(":disabled").length!==2&&de.push(":enabled",":disabled"),O.querySelectorAll("*,:x"),de.push(",.*:")})),(f.matchesSelector=fr.test(vt=fe.matches||fe.webkitMatchesSelector||fe.mozMatchesSelector||fe.oMatchesSelector||fe.msMatchesSelector))&&sn(function(O){f.disconnectedMatch=vt.call(O,"*"),vt.call(O,"[s!='']:x"),_t.push("!=",za)}),de=de.length&&new RegExp(de.join("|")),_t=_t.length&&new RegExp(_t.join("|")),T=fr.test(fe.compareDocumentPosition),Bt=T||fr.test(fe.contains)?function(O,W){var Y=O.nodeType===9?O.documentElement:O,J=W&&W.parentNode;return O===J||!!(J&&J.nodeType===1&&(Y.contains?Y.contains(J):O.compareDocumentPosition&&O.compareDocumentPosition(J)&16))}:function(O,W){if(W){for(;W=W.parentNode;)if(W===O)return!0}return!1},ui=T?function(O,W){if(O===W)return V=!0,0;var Y=!O.compareDocumentPosition-!W.compareDocumentPosition;return Y||(Y=(O.ownerDocument||O)==(W.ownerDocument||W)?O.compareDocumentPosition(W):1,Y&1||!f.sortDetached&&W.compareDocumentPosition(O)===Y?O==F||O.ownerDocument==we&&Bt(we,O)?-1:W==F||W.ownerDocument==we&&Bt(we,W)?1:I?fi(I,O)-fi(I,W):0:Y&4?-1:1)}:function(O,W){if(O===W)return V=!0,0;var Y,J=0,ne=O.parentNode,ve=W.parentNode,pe=[O],be=[W];if(!ne||!ve)return O==F?-1:W==F?1:ne?-1:ve?1:I?fi(I,O)-fi(I,W):0;if(ne===ve)return mu(O,W);for(Y=O;Y=Y.parentNode;)pe.unshift(Y);for(Y=W;Y=Y.parentNode;)be.unshift(Y);for(;pe[J]===be[J];)J++;return J?mu(pe[J],be[J]):pe[J]==we?-1:be[J]==we?1:0}),F},Ve.matches=function(_,T){return Ve(_,null,null,T)},Ve.matchesSelector=function(_,T){if(N(_),f.matchesSelector&&ke&&!jt[T+" "]&&(!_t||!_t.test(T))&&(!de||!de.test(T)))try{var S=vt.call(_,T);if(S||f.disconnectedMatch||_.document&&_.document.nodeType!==11)return S}catch{jt(T,!0)}return Ve(T,F,null,[_]).length>0},Ve.contains=function(_,T){return(_.ownerDocument||_)!=F&&N(_),Bt(_,T)},Ve.attr=function(_,T){(_.ownerDocument||_)!=F&&N(_);var S=d.attrHandle[T.toLowerCase()],q=S&&ci.call(d.attrHandle,T.toLowerCase())?S(_,T,!ke):void 0;return q!==void 0?q:f.attributes||!ke?_.getAttribute(T):(q=_.getAttributeNode(T))&&q.specified?q.value:null},Ve.escape=function(_){return(_+"").replace(du,hu)},Ve.error=function(_){throw new Error("Syntax error, unrecognized expression: "+_)},Ve.uniqueSort=function(_){var T,S=[],q=0,O=0;if(V=!f.detectDuplicates,I=!f.sortStable&&_.slice(0),_.sort(ui),V){for(;T=_[O++];)T===_[O]&&(q=S.push(O));for(;q--;)_.splice(S[q],1)}return I=null,_},g=Ve.getText=function(_){var T,S="",q=0,O=_.nodeType;if(O){if(O===1||O===9||O===11){if(typeof _.textContent=="string")return _.textContent;for(_=_.firstChild;_;_=_.nextSibling)S+=g(_)}else if(O===3||O===4)return _.nodeValue}else for(;T=_[q++];)S+=g(T);return S},d=Ve.selectors={cacheLength:50,createPseudo:rn,match:is,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(_){return _[1]=_[1].replace(On,zn),_[3]=(_[3]||_[4]||_[5]||"").replace(On,zn),_[2]==="~="&&(_[3]=" "+_[3]+" "),_.slice(0,4)},CHILD:function(_){return _[1]=_[1].toLowerCase(),_[1].slice(0,3)==="nth"?(_[3]||Ve.error(_[0]),_[4]=+(_[4]?_[5]+(_[6]||1):2*(_[3]==="even"||_[3]==="odd")),_[5]=+(_[7]+_[8]||_[3]==="odd")):_[3]&&Ve.error(_[0]),_},PSEUDO:function(_){var T,S=!_[6]&&_[2];return is.CHILD.test(_[0])?null:(_[3]?_[2]=_[4]||_[5]||"":S&&bp.test(S)&&(T=b(S,!0))&&(T=S.indexOf(")",S.length-T)-S.length)&&(_[0]=_[0].slice(0,T),_[2]=S.slice(0,T)),_.slice(0,3))}},filter:{TAG:function(_){var T=_.replace(On,zn).toLowerCase();return _==="*"?function(){return!0}:function(S){return S.nodeName&&S.nodeName.toLowerCase()===T}},CLASS:function(_){var T=lt[_+" "];return T||(T=new RegExp("(^|"+De+")"+_+"("+De+"|$)"))&<(_,function(S){return T.test(typeof S.className=="string"&&S.className||typeof S.getAttribute<"u"&&S.getAttribute("class")||"")})},ATTR:function(_,T,S){return function(q){var O=Ve.attr(q,_);return O==null?T==="!=":T?(O+="",T==="="?O===S:T==="!="?O!==S:T==="^="?S&&O.indexOf(S)===0:T==="*="?S&&O.indexOf(S)>-1:T==="$="?S&&O.slice(-S.length)===S:T==="~="?(" "+O.replace(gp," ")+" ").indexOf(S)>-1:T==="|="?O===S||O.slice(0,S.length+1)===S+"-":!1):!0}},CHILD:function(_,T,S,q,O){var W=_.slice(0,3)!=="nth",Y=_.slice(-4)!=="last",J=T==="of-type";return q===1&&O===0?function(ne){return!!ne.parentNode}:function(ne,ve,pe){var be,Oe,Ye,ye,wt,At,Wt=W!==Y?"nextSibling":"previousSibling",Ze=ne.parentNode,dr=J&&ne.nodeName.toLowerCase(),hr=!pe&&!J,Ut=!1;if(Ze){if(W){for(;Wt;){for(ye=ne;ye=ye[Wt];)if(J?ye.nodeName.toLowerCase()===dr:ye.nodeType===1)return!1;At=Wt=_==="only"&&!At&&"nextSibling"}return!0}if(At=[Y?Ze.firstChild:Ze.lastChild],Y&&hr){for(ye=Ze,Ye=ye[Ue]||(ye[Ue]={}),Oe=Ye[ye.uniqueID]||(Ye[ye.uniqueID]={}),be=Oe[_]||[],wt=be[0]===It&&be[1],Ut=wt&&be[2],ye=wt&&Ze.childNodes[wt];ye=++wt&&ye&&ye[Wt]||(Ut=wt=0)||At.pop();)if(ye.nodeType===1&&++Ut&&ye===ne){Oe[_]=[It,wt,Ut];break}}else if(hr&&(ye=ne,Ye=ye[Ue]||(ye[Ue]={}),Oe=Ye[ye.uniqueID]||(Ye[ye.uniqueID]={}),be=Oe[_]||[],wt=be[0]===It&&be[1],Ut=wt),Ut===!1)for(;(ye=++wt&&ye&&ye[Wt]||(Ut=wt=0)||At.pop())&&!((J?ye.nodeName.toLowerCase()===dr:ye.nodeType===1)&&++Ut&&(hr&&(Ye=ye[Ue]||(ye[Ue]={}),Oe=Ye[ye.uniqueID]||(Ye[ye.uniqueID]={}),Oe[_]=[It,Ut]),ye===ne)););return Ut-=O,Ut===q||Ut%q===0&&Ut/q>=0}}},PSEUDO:function(_,T){var S,q=d.pseudos[_]||d.setFilters[_.toLowerCase()]||Ve.error("unsupported pseudo: "+_);return q[Ue]?q(T):q.length>1?(S=[_,_,"",T],d.setFilters.hasOwnProperty(_.toLowerCase())?rn(function(O,W){for(var Y,J=q(O,T),ne=J.length;ne--;)Y=fi(O,J[ne]),O[Y]=!(W[Y]=J[ne])}):function(O){return q(O,0,S)}):q}},pseudos:{not:rn(function(_){var T=[],S=[],q=E(_.replace(ns,"$1"));return q[Ue]?rn(function(O,W,Y,J){for(var ne,ve=q(O,null,J,[]),pe=O.length;pe--;)(ne=ve[pe])&&(O[pe]=!(W[pe]=ne))}):function(O,W,Y){return T[0]=O,q(T,null,Y,S),T[0]=null,!S.pop()}}),has:rn(function(_){return function(T){return Ve(_,T).length>0}}),contains:rn(function(_){return _=_.replace(On,zn),function(T){return(T.textContent||g(T)).indexOf(_)>-1}}),lang:rn(function(_){return _p.test(_||"")||Ve.error("unsupported lang: "+_),_=_.replace(On,zn).toLowerCase(),function(T){var S;do if(S=ke?T.lang:T.getAttribute("xml:lang")||T.getAttribute("lang"))return S=S.toLowerCase(),S===_||S.indexOf(_+"-")===0;while((T=T.parentNode)&&T.nodeType===1);return!1}}),target:function(_){var T=a.location&&a.location.hash;return T&&T.slice(1)===_.id},root:function(_){return _===fe},focus:function(_){return _===F.activeElement&&(!F.hasFocus||F.hasFocus())&&!!(_.type||_.href||~_.tabIndex)},enabled:gu(!1),disabled:gu(!0),checked:function(_){var T=_.nodeName.toLowerCase();return T==="input"&&!!_.checked||T==="option"&&!!_.selected},selected:function(_){return _.parentNode&&_.parentNode.selectedIndex,_.selected===!0},empty:function(_){for(_=_.firstChild;_;_=_.nextSibling)if(_.nodeType<6)return!1;return!0},parent:function(_){return!d.pseudos.empty(_)},header:function(_){return xp.test(_.nodeName)},input:function(_){return kp.test(_.nodeName)},button:function(_){var T=_.nodeName.toLowerCase();return T==="input"&&_.type==="button"||T==="button"},text:function(_){var T;return _.nodeName.toLowerCase()==="input"&&_.type==="text"&&((T=_.getAttribute("type"))==null||T.toLowerCase()==="text")},first:hi(function(){return[0]}),last:hi(function(_,T){return[T-1]}),eq:hi(function(_,T,S){return[S<0?S+T:S]}),even:hi(function(_,T){for(var S=0;ST?T:S;--q>=0;)_.push(q);return _}),gt:hi(function(_,T,S){for(var q=S<0?S+T:S;++q1?function(T,S,q){for(var O=_.length;O--;)if(!_[O](T,S,q))return!1;return!0}:_[0]}function Ap(_,T,S){for(var q=0,O=T.length;q-1&&(Y[pe]=!(J[pe]=Oe))}}else Ze=os(Ze===J?Ze.splice(wt,Ze.length):Ze),O?O(null,J,Ze,ve):jn.apply(J,Ze)})}function Ma(_){for(var T,S,q,O=_.length,W=d.relative[_[0].type],Y=W||d.relative[" "],J=W?1:0,ne=as(function(be){return be===T},Y,!0),ve=as(function(be){return fi(T,be)>-1},Y,!0),pe=[function(be,Oe,Ye){var ye=!W&&(Ye||Oe!==P)||((T=Oe).nodeType?ne(be,Oe,Ye):ve(be,Oe,Ye));return T=null,ye}];J1&&Na(pe),J>1&&ss(_.slice(0,J-1).concat({value:_[J-2].type===" "?"*":""})).replace(ns,"$1"),S,J0,q=_.length>0,O=function(W,Y,J,ne,ve){var pe,be,Oe,Ye=0,ye="0",wt=W&&[],At=[],Wt=P,Ze=W||q&&d.find.TAG("*",ve),dr=It+=Wt==null?1:Math.random()||.1,hr=Ze.length;for(ve&&(P=Y==F||Y||ve);ye!==hr&&(pe=Ze[ye])!=null;ye++){if(q&&pe){for(be=0,!Y&&pe.ownerDocument!=F&&(N(pe),J=!ke);Oe=_[be++];)if(Oe(pe,Y||F,J)){ne.push(pe);break}ve&&(It=dr)}S&&((pe=!Oe&&pe)&&Ye--,W&&wt.push(pe))}if(Ye+=ye,S&&ye!==Ye){for(be=0;Oe=T[be++];)Oe(wt,At,Y,J);if(W){if(Ye>0)for(;ye--;)wt[ye]||At[ye]||(At[ye]=Bn.call(ne));At=os(At)}jn.apply(ne,At),ve&&!W&&At.length>0&&Ye+T.length>1&&Ve.uniqueSort(ne)}return ve&&(It=dr,P=Wt),wt};return S?rn(O):O}return E=Ve.compile=function(_,T){var S,q=[],O=[],W=ts[_+" "];if(!W){for(T||(T=b(_)),S=T.length;S--;)W=Ma(T[S]),W[Ue]?q.push(W):O.push(W);W=ts(_,Sp(O,q)),W.selector=_}return W},C=Ve.select=function(_,T,S,q){var O,W,Y,J,ne,ve=typeof _=="function"&&_,pe=!q&&b(_=ve.selector||_);if(S=S||[],pe.length===1){if(W=pe[0]=pe[0].slice(0),W.length>2&&(Y=W[0]).type==="ID"&&T.nodeType===9&&ke&&d.relative[W[1].type]){if(T=(d.find.ID(Y.matches[0].replace(On,zn),T)||[])[0],T)ve&&(T=T.parentNode);else return S;_=_.slice(W.shift().value.length)}for(O=is.needsContext.test(_)?0:W.length;O--&&(Y=W[O],!d.relative[J=Y.type]);)if((ne=d.find[J])&&(q=ne(Y.matches[0].replace(On,zn),Ra.test(W[0].type)&&La(T.parentNode)||T))){if(W.splice(O,1),_=q.length&&ss(W),!_)return jn.apply(S,q),S;break}}return(ve||E(_,pe))(q,T,!ke,S,!T||Ra.test(_)&&La(T.parentNode)||T),S},f.sortStable=Ue.split("").sort(ui).join("")===Ue,f.detectDuplicates=!!V,N(),f.sortDetached=sn(function(_){return _.compareDocumentPosition(F.createElement("fieldset"))&1}),sn(function(_){return _.innerHTML="",_.firstChild.getAttribute("href")==="#"})||Pa("type|href|height|width",function(_,T,S){if(!S)return _.getAttribute(T,T.toLowerCase()==="type"?1:2)}),(!f.attributes||!sn(function(_){return _.innerHTML="",_.firstChild.setAttribute("value",""),_.firstChild.getAttribute("value")===""}))&&Pa("value",function(_,T,S){if(!S&&_.nodeName.toLowerCase()==="input")return _.defaultValue}),sn(function(_){return _.getAttribute("disabled")==null})||Pa(Oa,function(_,T,S){var q;if(!S)return _[T]===!0?T.toLowerCase():(q=_.getAttributeNode(T))&&q.specified?q.value:null}),Ve}(t);h.find=rt,h.expr=rt.selectors,h.expr[":"]=h.expr.pseudos,h.uniqueSort=h.unique=rt.uniqueSort,h.text=rt.getText,h.isXMLDoc=rt.isXML,h.contains=rt.contains,h.escapeSelector=rt.escape;var ct=function(a,l,f){for(var d=[],g=f!==void 0;(a=a[l])&&a.nodeType!==9;)if(a.nodeType===1){if(g&&h(a).is(f))break;d.push(a)}return d},zt=function(a,l){for(var f=[];a;a=a.nextSibling)a.nodeType===1&&a!==l&&f.push(a);return f},Zt=h.expr.match.needsContext;function st(a,l){return a.nodeName&&a.nodeName.toLowerCase()===l.toLowerCase()}var En=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function en(a,l,f){return D(l)?h.grep(a,function(d,g){return!!l.call(d,g,d)!==f}):l.nodeType?h.grep(a,function(d){return d===l!==f}):typeof l!="string"?h.grep(a,function(d){return c.call(l,d)>-1!==f}):h.filter(l,a,f)}h.filter=function(a,l,f){var d=l[0];return f&&(a=":not("+a+")"),l.length===1&&d.nodeType===1?h.find.matchesSelector(d,a)?[d]:[]:h.find.matches(a,h.grep(l,function(g){return g.nodeType===1}))},h.fn.extend({find:function(a){var l,f,d=this.length,g=this;if(typeof a!="string")return this.pushStack(h(a).filter(function(){for(l=0;l1?h.uniqueSort(f):f},filter:function(a){return this.pushStack(en(this,a||[],!1))},not:function(a){return this.pushStack(en(this,a||[],!0))},is:function(a){return!!en(this,typeof a=="string"&&Zt.test(a)?h(a):a||[],!1).length}});var Fn,ft=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,je=h.fn.init=function(a,l,f){var d,g;if(!a)return this;if(f=f||Fn,typeof a=="string")if(a[0]==="<"&&a[a.length-1]===">"&&a.length>=3?d=[null,a,null]:d=ft.exec(a),d&&(d[1]||!l))if(d[1]){if(l=l instanceof h?l[0]:l,h.merge(this,h.parseHTML(d[1],l&&l.nodeType?l.ownerDocument||l:R,!0)),En.test(d[1])&&h.isPlainObject(l))for(d in l)D(this[d])?this[d](l[d]):this.attr(d,l[d]);return this}else return g=R.getElementById(d[2]),g&&(this[0]=g,this.length=1),this;else return!l||l.jquery?(l||f).find(a):this.constructor(l).find(a);else{if(a.nodeType)return this[0]=a,this.length=1,this;if(D(a))return f.ready!==void 0?f.ready(a):a(h)}return h.makeArray(a,this)};je.prototype=h.fn,Fn=h(R);var Me=/^(?:parents|prev(?:Until|All))/,Ft={children:!0,contents:!0,next:!0,prev:!0};h.fn.extend({has:function(a){var l=h(a,this),f=l.length;return this.filter(function(){for(var d=0;d-1:f.nodeType===1&&h.find.matchesSelector(f,a))){v.push(f);break}}return this.pushStack(v.length>1?h.uniqueSort(v):v)},index:function(a){return a?typeof a=="string"?c.call(h(a),this[0]):c.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,l){return this.pushStack(h.uniqueSort(h.merge(this.get(),h(a,l))))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}});function gn(a,l){for(;(a=a[l])&&a.nodeType!==1;);return a}h.each({parent:function(a){var l=a.parentNode;return l&&l.nodeType!==11?l:null},parents:function(a){return ct(a,"parentNode")},parentsUntil:function(a,l,f){return ct(a,"parentNode",f)},next:function(a){return gn(a,"nextSibling")},prev:function(a){return gn(a,"previousSibling")},nextAll:function(a){return ct(a,"nextSibling")},prevAll:function(a){return ct(a,"previousSibling")},nextUntil:function(a,l,f){return ct(a,"nextSibling",f)},prevUntil:function(a,l,f){return ct(a,"previousSibling",f)},siblings:function(a){return zt((a.parentNode||{}).firstChild,a)},children:function(a){return zt(a.firstChild)},contents:function(a){return a.contentDocument!=null&&n(a.contentDocument)?a.contentDocument:(st(a,"template")&&(a=a.content||a),h.merge([],a.childNodes))}},function(a,l){h.fn[a]=function(f,d){var g=h.map(this,l,f);return a.slice(-5)!=="Until"&&(d=f),d&&typeof d=="string"&&(g=h.filter(d,g)),this.length>1&&(Ft[a]||h.uniqueSort(g),Me.test(a)&&g.reverse()),this.pushStack(g)}});var dt=/[^\x20\t\r\n\f]+/g;function Tt(a){var l={};return h.each(a.match(dt)||[],function(f,d){l[d]=!0}),l}h.Callbacks=function(a){a=typeof a=="string"?Tt(a):h.extend({},a);var l,f,d,g,v=[],b=[],E=-1,C=function(){for(g=g||a.once,d=l=!0;b.length;E=-1)for(f=b.shift();++E-1;)v.splice(N,1),N<=E&&E--}),this},has:function(I){return I?h.inArray(I,v)>-1:v.length>0},empty:function(){return v&&(v=[]),this},disable:function(){return g=b=[],v=f="",this},disabled:function(){return!v},lock:function(){return g=b=[],!f&&!l&&(v=f=""),this},locked:function(){return!!g},fireWith:function(I,V){return g||(V=V||[],V=[I,V.slice?V.slice():V],b.push(V),l||C()),this},fire:function(){return P.fireWith(this,arguments),this},fired:function(){return!!d}};return P};function qt(a){return a}function An(a){throw a}function U(a,l,f,d){var g;try{a&&D(g=a.promise)?g.call(a).done(l).fail(f):a&&D(g=a.then)?g.call(a,l,f):l.apply(void 0,[a].slice(d))}catch(v){f.apply(void 0,[v])}}h.extend({Deferred:function(a){var l=[["notify","progress",h.Callbacks("memory"),h.Callbacks("memory"),2],["resolve","done",h.Callbacks("once memory"),h.Callbacks("once memory"),0,"resolved"],["reject","fail",h.Callbacks("once memory"),h.Callbacks("once memory"),1,"rejected"]],f="pending",d={state:function(){return f},always:function(){return g.done(arguments).fail(arguments),this},catch:function(v){return d.then(null,v)},pipe:function(){var v=arguments;return h.Deferred(function(b){h.each(l,function(E,C){var P=D(v[C[4]])&&v[C[4]];g[C[1]](function(){var I=P&&P.apply(this,arguments);I&&D(I.promise)?I.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[C[0]+"With"](this,P?[I]:arguments)})}),v=null}).promise()},then:function(v,b,E){var C=0;function P(I,V,N,F){return function(){var fe=this,ke=arguments,de=function(){var vt,Bt;if(!(I=C&&(N!==An&&(fe=void 0,ke=[vt]),V.rejectWith(fe,ke))}};I?_t():(h.Deferred.getStackHook&&(_t.stackTrace=h.Deferred.getStackHook()),t.setTimeout(_t))}}return h.Deferred(function(I){l[0][3].add(P(0,I,D(E)?E:qt,I.notifyWith)),l[1][3].add(P(0,I,D(v)?v:qt)),l[2][3].add(P(0,I,D(b)?b:An))}).promise()},promise:function(v){return v!=null?h.extend(v,d):d}},g={};return h.each(l,function(v,b){var E=b[2],C=b[5];d[b[1]]=E.add,C&&E.add(function(){f=C},l[3-v][2].disable,l[3-v][3].disable,l[0][2].lock,l[0][3].lock),E.add(b[3].fire),g[b[0]]=function(){return g[b[0]+"With"](this===g?void 0:this,arguments),this},g[b[0]+"With"]=E.fireWith}),d.promise(g),a&&a.call(g,g),g},when:function(a){var l=arguments.length,f=l,d=Array(f),g=s.call(arguments),v=h.Deferred(),b=function(E){return function(C){d[E]=this,g[E]=arguments.length>1?s.call(arguments):C,--l||v.resolveWith(d,g)}};if(l<=1&&(U(a,v.done(b(f)).resolve,v.reject,!l),v.state()==="pending"||D(g[f]&&g[f].then)))return v.then();for(;f--;)U(g[f],b(f),v.reject);return v.promise()}});var re=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;h.Deferred.exceptionHook=function(a,l){t.console&&t.console.warn&&a&&re.test(a.name)&&t.console.warn("jQuery.Deferred exception: "+a.message,a.stack,l)},h.readyException=function(a){t.setTimeout(function(){throw a})};var te=h.Deferred();h.fn.ready=function(a){return te.then(a).catch(function(l){h.readyException(l)}),this},h.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--h.readyWait:h.isReady)||(h.isReady=!0,!(a!==!0&&--h.readyWait>0)&&te.resolveWith(R,[h]))}}),h.ready.then=te.then;function ce(){R.removeEventListener("DOMContentLoaded",ce),t.removeEventListener("load",ce),h.ready()}R.readyState==="complete"||R.readyState!=="loading"&&!R.documentElement.doScroll?t.setTimeout(h.ready):(R.addEventListener("DOMContentLoaded",ce),t.addEventListener("load",ce));var Ce=function(a,l,f,d,g,v,b){var E=0,C=a.length,P=f==null;if(se(f)==="object"){g=!0;for(E in f)Ce(a,l,E,f[E],!0,v,b)}else if(d!==void 0&&(g=!0,D(d)||(b=!0),P&&(b?(l.call(a,d),l=null):(P=l,l=function(I,V,N){return P.call(h(I),N)})),l))for(;E1,null,!0)},removeData:function(a){return this.each(function(){G.remove(this,a)})}}),h.extend({queue:function(a,l,f){var d;if(a)return l=(l||"fx")+"queue",d=L.get(a,l),f&&(!d||Array.isArray(f)?d=L.access(a,l,h.makeArray(f)):d.push(f)),d||[]},dequeue:function(a,l){l=l||"fx";var f=h.queue(a,l),d=f.length,g=f.shift(),v=h._queueHooks(a,l),b=function(){h.dequeue(a,l)};g==="inprogress"&&(g=f.shift(),d--),g&&(l==="fx"&&f.unshift("inprogress"),delete v.stop,g.call(a,b,v)),!d&&v&&v.empty.fire()},_queueHooks:function(a,l){var f=l+"queueHooks";return L.get(a,f)||L.access(a,f,{empty:h.Callbacks("once memory").add(function(){L.remove(a,[l+"queue",f])})})}}),h.fn.extend({queue:function(a,l){var f=2;return typeof a!="string"&&(l=a,a="fx",f--),arguments.length\x20\t\r\n\f]*)/i,Et=/^$|^module$|\/(?:java|ecma)script/i;(function(){var a=R.createDocumentFragment(),l=a.appendChild(R.createElement("div")),f=R.createElement("input");f.setAttribute("type","radio"),f.setAttribute("checked","checked"),f.setAttribute("name","t"),l.appendChild(f),M.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,l.innerHTML="",M.noCloneChecked=!!l.cloneNode(!0).lastChild.defaultValue,l.innerHTML="",M.option=!!l.lastChild})();var ot={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ot.tbody=ot.tfoot=ot.colgroup=ot.caption=ot.thead,ot.th=ot.td,M.option||(ot.optgroup=ot.option=[1,""]);function Ct(a,l){var f;return typeof a.getElementsByTagName<"u"?f=a.getElementsByTagName(l||"*"):typeof a.querySelectorAll<"u"?f=a.querySelectorAll(l||"*"):f=[],l===void 0||l&&st(a,l)?h.merge([a],f):f}function ga(a,l){for(var f=0,d=a.length;f-1){g&&g.push(v);continue}if(P=$e(v),b=Ct(V.appendChild(v),"script"),P&&ga(b),f)for(I=0;v=b[I++];)Et.test(v.type||"")&&f.push(v)}return V}var Dl=/^([^.]*)(?:\.(.+)|)/;function Oi(){return!0}function zi(){return!1}function Lh(a,l){return a===Nh()==(l==="focus")}function Nh(){try{return R.activeElement}catch{}}function va(a,l,f,d,g,v){var b,E;if(typeof l=="object"){typeof f!="string"&&(d=d||f,f=void 0);for(E in l)va(a,E,f,d,l[E],v);return a}if(d==null&&g==null?(g=f,d=f=void 0):g==null&&(typeof f=="string"?(g=d,d=void 0):(g=d,d=f,f=void 0)),g===!1)g=zi;else if(!g)return a;return v===1&&(b=g,g=function(C){return h().off(C),b.apply(this,arguments)},g.guid=b.guid||(b.guid=h.guid++)),a.each(function(){h.event.add(this,l,g,d,f)})}h.event={global:{},add:function(a,l,f,d,g){var v,b,E,C,P,I,V,N,F,fe,ke,de=L.get(a);if(!!H(a))for(f.handler&&(v=f,f=v.handler,g=v.selector),g&&h.find.matchesSelector(ge,g),f.guid||(f.guid=h.guid++),(C=de.events)||(C=de.events=Object.create(null)),(b=de.handle)||(b=de.handle=function(_t){return typeof h<"u"&&h.event.triggered!==_t.type?h.event.dispatch.apply(a,arguments):void 0}),l=(l||"").match(dt)||[""],P=l.length;P--;)E=Dl.exec(l[P])||[],F=ke=E[1],fe=(E[2]||"").split(".").sort(),F&&(V=h.event.special[F]||{},F=(g?V.delegateType:V.bindType)||F,V=h.event.special[F]||{},I=h.extend({type:F,origType:ke,data:d,handler:f,guid:f.guid,selector:g,needsContext:g&&h.expr.match.needsContext.test(g),namespace:fe.join(".")},v),(N=C[F])||(N=C[F]=[],N.delegateCount=0,(!V.setup||V.setup.call(a,d,fe,b)===!1)&&a.addEventListener&&a.addEventListener(F,b)),V.add&&(V.add.call(a,I),I.handler.guid||(I.handler.guid=f.guid)),g?N.splice(N.delegateCount++,0,I):N.push(I),h.event.global[F]=!0)},remove:function(a,l,f,d,g){var v,b,E,C,P,I,V,N,F,fe,ke,de=L.hasData(a)&&L.get(a);if(!(!de||!(C=de.events))){for(l=(l||"").match(dt)||[""],P=l.length;P--;){if(E=Dl.exec(l[P])||[],F=ke=E[1],fe=(E[2]||"").split(".").sort(),!F){for(F in C)h.event.remove(a,F+l[P],f,d,!0);continue}for(V=h.event.special[F]||{},F=(d?V.delegateType:V.bindType)||F,N=C[F]||[],E=E[2]&&new RegExp("(^|\\.)"+fe.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=v=N.length;v--;)I=N[v],(g||ke===I.origType)&&(!f||f.guid===I.guid)&&(!E||E.test(I.namespace))&&(!d||d===I.selector||d==="**"&&I.selector)&&(N.splice(v,1),I.selector&&N.delegateCount--,V.remove&&V.remove.call(a,I));b&&!N.length&&((!V.teardown||V.teardown.call(a,fe,de.handle)===!1)&&h.removeEvent(a,F,de.handle),delete C[F])}h.isEmptyObject(C)&&L.remove(a,"handle events")}},dispatch:function(a){var l,f,d,g,v,b,E=new Array(arguments.length),C=h.event.fix(a),P=(L.get(this,"events")||Object.create(null))[C.type]||[],I=h.event.special[C.type]||{};for(E[0]=C,l=1;l=1)){for(;P!==this;P=P.parentNode||this)if(P.nodeType===1&&!(a.type==="click"&&P.disabled===!0)){for(v=[],b={},f=0;f-1:h.find(g,this,null,[P]).length),b[g]&&v.push(d);v.length&&E.push({elem:P,handlers:v})}}return P=this,C\s*$/g;function Hl(a,l){return st(a,"table")&&st(l.nodeType!==11?l:l.firstChild,"tr")&&h(a).children("tbody")[0]||a}function Hh(a){return a.type=(a.getAttribute("type")!==null)+"/"+a.type,a}function Fh(a){return(a.type||"").slice(0,5)==="true/"?a.type=a.type.slice(5):a.removeAttribute("type"),a}function Fl(a,l){var f,d,g,v,b,E,C;if(l.nodeType===1){if(L.hasData(a)&&(v=L.get(a),C=v.events,C)){L.remove(l,"handle events");for(g in C)for(f=0,d=C[g].length;f1&&typeof F=="string"&&!M.checkClone&&Mh.test(F))return a.each(function(ke){var de=a.eq(ke);fe&&(l[0]=F.call(this,ke,de.html())),Ri(de,l,f,d)});if(V&&(g=Ml(l,a[0].ownerDocument,!1,a,d),v=g.firstChild,g.childNodes.length===1&&(g=v),v||d)){for(b=h.map(Ct(g,"script"),Hh),E=b.length;I0&&ga(b,!C&&Ct(a,"script")),E},cleanData:function(a){for(var l,f,d,g=h.event.special,v=0;(f=a[v])!==void 0;v++)if(H(f)){if(l=f[L.expando]){if(l.events)for(d in l.events)g[d]?h.event.remove(f,d):h.removeEvent(f,d,l.handle);f[L.expando]=void 0}f[G.expando]&&(f[G.expando]=void 0)}}}),h.fn.extend({detach:function(a){return ql(this,a,!0)},remove:function(a){return ql(this,a)},text:function(a){return Ce(this,function(l){return l===void 0?h.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=l)})},null,a,arguments.length)},append:function(){return Ri(this,arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var l=Hl(this,a);l.appendChild(a)}})},prepend:function(){return Ri(this,arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var l=Hl(this,a);l.insertBefore(a,l.firstChild)}})},before:function(){return Ri(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ri(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,l=0;(a=this[l])!=null;l++)a.nodeType===1&&(h.cleanData(Ct(a,!1)),a.textContent="");return this},clone:function(a,l){return a=a==null?!1:a,l=l==null?a:l,this.map(function(){return h.clone(this,a,l)})},html:function(a){return Ce(this,function(l){var f=this[0]||{},d=0,g=this.length;if(l===void 0&&f.nodeType===1)return f.innerHTML;if(typeof l=="string"&&!Ih.test(l)&&!ot[(sr.exec(l)||["",""])[1].toLowerCase()]){l=h.htmlPrefilter(l);try{for(;d=0&&(C+=Math.max(0,Math.ceil(a["offset"+l[0].toUpperCase()+l.slice(1)]-v-C-E-.5))||0),C}function Ql(a,l,f){var d=Jr(a),g=!M.boxSizingReliable()||f,v=g&&h.css(a,"boxSizing",!1,d)==="border-box",b=v,E=ar(a,l,d),C="offset"+l[0].toUpperCase()+l.slice(1);if(ya.test(E)){if(!f)return E;E="auto"}return(!M.boxSizingReliable()&&v||!M.reliableTrDimensions()&&st(a,"tr")||E==="auto"||!parseFloat(E)&&h.css(a,"display",!1,d)==="inline")&&a.getClientRects().length&&(v=h.css(a,"boxSizing",!1,d)==="border-box",b=C in a,b&&(E=a[C])),E=parseFloat(E)||0,E+wa(a,l,f||(v?"border":"content"),b,d,E)+"px"}h.extend({cssHooks:{opacity:{get:function(a,l){if(l){var f=ar(a,"opacity");return f===""?"1":f}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(a,l,f,d){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var g,v,b,E=A(l),C=ba.test(l),P=a.style;if(C||(l=_a(E)),b=h.cssHooks[l]||h.cssHooks[E],f!==void 0){if(v=typeof f,v==="string"&&(g=oe.exec(f))&&g[1]&&(f=at(a,l,g),v="number"),f==null||f!==f)return;v==="number"&&!C&&(f+=g&&g[3]||(h.cssNumber[E]?"":"px")),!M.clearCloneStyle&&f===""&&l.indexOf("background")===0&&(P[l]="inherit"),(!b||!("set"in b)||(f=b.set(a,f,d))!==void 0)&&(C?P.setProperty(l,f):P[l]=f)}else return b&&"get"in b&&(g=b.get(a,!1,d))!==void 0?g:P[l]}},css:function(a,l,f,d){var g,v,b,E=A(l),C=ba.test(l);return C||(l=_a(E)),b=h.cssHooks[l]||h.cssHooks[E],b&&"get"in b&&(g=b.get(a,!0,f)),g===void 0&&(g=ar(a,l,d)),g==="normal"&&l in Kl&&(g=Kl[l]),f===""||f?(v=parseFloat(g),f===!0||isFinite(v)?v||0:g):g}}),h.each(["height","width"],function(a,l){h.cssHooks[l]={get:function(f,d,g){if(d)return Uh.test(h.css(f,"display"))&&(!f.getClientRects().length||!f.getBoundingClientRect().width)?Bl(f,Vh,function(){return Ql(f,l,g)}):Ql(f,l,g)},set:function(f,d,g){var v,b=Jr(f),E=!M.scrollboxSize()&&b.position==="absolute",C=E||g,P=C&&h.css(f,"boxSizing",!1,b)==="border-box",I=g?wa(f,l,g,P,b):0;return P&&E&&(I-=Math.ceil(f["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(b[l])-wa(f,l,"border",!1,b)-.5)),I&&(v=oe.exec(d))&&(v[3]||"px")!=="px"&&(f.style[l]=d,d=h.css(f,l)),Gl(f,d,I)}}}),h.cssHooks.marginLeft=Wl(M.reliableMarginLeft,function(a,l){if(l)return(parseFloat(ar(a,"marginLeft"))||a.getBoundingClientRect().left-Bl(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),h.each({margin:"",padding:"",border:"Width"},function(a,l){h.cssHooks[a+l]={expand:function(f){for(var d=0,g={},v=typeof f=="string"?f.split(" "):[f];d<4;d++)g[a+le[d]+l]=v[d]||v[d-2]||v[0];return g}},a!=="margin"&&(h.cssHooks[a+l].set=Gl)}),h.fn.extend({css:function(a,l){return Ce(this,function(f,d,g){var v,b,E={},C=0;if(Array.isArray(d)){for(v=Jr(f),b=d.length;C1)}});function Nt(a,l,f,d,g){return new Nt.prototype.init(a,l,f,d,g)}h.Tween=Nt,Nt.prototype={constructor:Nt,init:function(a,l,f,d,g,v){this.elem=a,this.prop=f,this.easing=g||h.easing._default,this.options=l,this.start=this.now=this.cur(),this.end=d,this.unit=v||(h.cssNumber[f]?"":"px")},cur:function(){var a=Nt.propHooks[this.prop];return a&&a.get?a.get(this):Nt.propHooks._default.get(this)},run:function(a){var l,f=Nt.propHooks[this.prop];return this.options.duration?this.pos=l=h.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=l=a,this.now=(this.end-this.start)*l+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),f&&f.set?f.set(this):Nt.propHooks._default.set(this),this}},Nt.prototype.init.prototype=Nt.prototype,Nt.propHooks={_default:{get:function(a){var l;return a.elem.nodeType!==1||a.elem[a.prop]!=null&&a.elem.style[a.prop]==null?a.elem[a.prop]:(l=h.css(a.elem,a.prop,""),!l||l==="auto"?0:l)},set:function(a){h.fx.step[a.prop]?h.fx.step[a.prop](a):a.elem.nodeType===1&&(h.cssHooks[a.prop]||a.elem.style[_a(a.prop)]!=null)?h.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Nt.propHooks.scrollTop=Nt.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},h.easing={linear:function(a){return a},swing:function(a){return .5-Math.cos(a*Math.PI)/2},_default:"swing"},h.fx=Nt.prototype.init,h.fx.step={};var Pi,Zr,Yh=/^(?:toggle|show|hide)$/,Kh=/queueHooks$/;function ka(){Zr&&(R.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(ka):t.setTimeout(ka,h.fx.interval),h.fx.tick())}function Xl(){return t.setTimeout(function(){Pi=void 0}),Pi=Date.now()}function es(a,l){var f,d=0,g={height:a};for(l=l?1:0;d<4;d+=2-l)f=le[d],g["margin"+f]=g["padding"+f]=a;return l&&(g.opacity=g.width=a),g}function Jl(a,l,f){for(var d,g=(nn.tweeners[l]||[]).concat(nn.tweeners["*"]),v=0,b=g.length;v1)},removeAttr:function(a){return this.each(function(){h.removeAttr(this,a)})}}),h.extend({attr:function(a,l,f){var d,g,v=a.nodeType;if(!(v===3||v===8||v===2)){if(typeof a.getAttribute>"u")return h.prop(a,l,f);if((v!==1||!h.isXMLDoc(a))&&(g=h.attrHooks[l.toLowerCase()]||(h.expr.match.bool.test(l)?Zl:void 0)),f!==void 0){if(f===null){h.removeAttr(a,l);return}return g&&"set"in g&&(d=g.set(a,f,l))!==void 0?d:(a.setAttribute(l,f+""),f)}return g&&"get"in g&&(d=g.get(a,l))!==null?d:(d=h.find.attr(a,l),d==null?void 0:d)}},attrHooks:{type:{set:function(a,l){if(!M.radioValue&&l==="radio"&&st(a,"input")){var f=a.value;return a.setAttribute("type",l),f&&(a.value=f),l}}}},removeAttr:function(a,l){var f,d=0,g=l&&l.match(dt);if(g&&a.nodeType===1)for(;f=g[d++];)a.removeAttribute(f)}}),Zl={set:function(a,l,f){return l===!1?h.removeAttr(a,f):a.setAttribute(f,f),f}},h.each(h.expr.match.bool.source.match(/\w+/g),function(a,l){var f=or[l]||h.find.attr;or[l]=function(d,g,v){var b,E,C=g.toLowerCase();return v||(E=or[C],or[C]=b,b=f(d,g,v)!=null?C:null,or[C]=E),b}});var Xh=/^(?:input|select|textarea|button)$/i,Jh=/^(?:a|area)$/i;h.fn.extend({prop:function(a,l){return Ce(this,h.prop,a,l,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[h.propFix[a]||a]})}}),h.extend({prop:function(a,l,f){var d,g,v=a.nodeType;if(!(v===3||v===8||v===2))return(v!==1||!h.isXMLDoc(a))&&(l=h.propFix[l]||l,g=h.propHooks[l]),f!==void 0?g&&"set"in g&&(d=g.set(a,f,l))!==void 0?d:a[l]=f:g&&"get"in g&&(d=g.get(a,l))!==null?d:a[l]},propHooks:{tabIndex:{get:function(a){var l=h.find.attr(a,"tabindex");return l?parseInt(l,10):Xh.test(a.nodeName)||Jh.test(a.nodeName)&&a.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),M.optSelected||(h.propHooks.selected={get:function(a){var l=a.parentNode;return l&&l.parentNode&&l.parentNode.selectedIndex,null},set:function(a){var l=a.parentNode;l&&(l.selectedIndex,l.parentNode&&l.parentNode.selectedIndex)}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this});function oi(a){var l=a.match(dt)||[];return l.join(" ")}function li(a){return a.getAttribute&&a.getAttribute("class")||""}function xa(a){return Array.isArray(a)?a:typeof a=="string"?a.match(dt)||[]:[]}h.fn.extend({addClass:function(a){var l,f,d,g,v,b;return D(a)?this.each(function(E){h(this).addClass(a.call(this,E,li(this)))}):(l=xa(a),l.length?this.each(function(){if(d=li(this),f=this.nodeType===1&&" "+oi(d)+" ",f){for(v=0;v-1;)f=f.replace(" "+g+" "," ");b=oi(f),d!==b&&this.setAttribute("class",b)}}):this):this.attr("class","")},toggleClass:function(a,l){var f,d,g,v,b=typeof a,E=b==="string"||Array.isArray(a);return D(a)?this.each(function(C){h(this).toggleClass(a.call(this,C,li(this),l),l)}):typeof l=="boolean"&&E?l?this.addClass(a):this.removeClass(a):(f=xa(a),this.each(function(){if(E)for(v=h(this),g=0;g-1)return!0;return!1}});var Zh=/\r/g;h.fn.extend({val:function(a){var l,f,d,g=this[0];return arguments.length?(d=D(a),this.each(function(v){var b;this.nodeType===1&&(d?b=a.call(this,v,h(this).val()):b=a,b==null?b="":typeof b=="number"?b+="":Array.isArray(b)&&(b=h.map(b,function(E){return E==null?"":E+""})),l=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()],(!l||!("set"in l)||l.set(this,b,"value")===void 0)&&(this.value=b))})):g?(l=h.valHooks[g.type]||h.valHooks[g.nodeName.toLowerCase()],l&&"get"in l&&(f=l.get(g,"value"))!==void 0?f:(f=g.value,typeof f=="string"?f.replace(Zh,""):f==null?"":f)):void 0}}),h.extend({valHooks:{option:{get:function(a){var l=h.find.attr(a,"value");return l!=null?l:oi(h.text(a))}},select:{get:function(a){var l,f,d,g=a.options,v=a.selectedIndex,b=a.type==="select-one",E=b?null:[],C=b?v+1:g.length;for(v<0?d=C:d=b?v:0;d-1)&&(f=!0);return f||(a.selectedIndex=-1),v}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(a,l){if(Array.isArray(l))return a.checked=h.inArray(h(a).val(),l)>-1}},M.checkOn||(h.valHooks[this].get=function(a){return a.getAttribute("value")===null?"on":a.value})}),M.focusin="onfocusin"in t;var eu=/^(?:focusinfocus|focusoutblur)$/,tu=function(a){a.stopPropagation()};h.extend(h.event,{trigger:function(a,l,f,d){var g,v,b,E,C,P,I,V,N=[f||R],F=w.call(a,"type")?a.type:a,fe=w.call(a,"namespace")?a.namespace.split("."):[];if(v=V=b=f=f||R,!(f.nodeType===3||f.nodeType===8)&&!eu.test(F+h.event.triggered)&&(F.indexOf(".")>-1&&(fe=F.split("."),F=fe.shift(),fe.sort()),C=F.indexOf(":")<0&&"on"+F,a=a[h.expando]?a:new h.Event(F,typeof a=="object"&&a),a.isTrigger=d?2:3,a.namespace=fe.join("."),a.rnamespace=a.namespace?new RegExp("(^|\\.)"+fe.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=void 0,a.target||(a.target=f),l=l==null?[a]:h.makeArray(l,[a]),I=h.event.special[F]||{},!(!d&&I.trigger&&I.trigger.apply(f,l)===!1))){if(!d&&!I.noBubble&&!Z(f)){for(E=I.delegateType||F,eu.test(E+F)||(v=v.parentNode);v;v=v.parentNode)N.push(v),b=v;b===(f.ownerDocument||R)&&N.push(b.defaultView||b.parentWindow||t)}for(g=0;(v=N[g++])&&!a.isPropagationStopped();)V=v,a.type=g>1?E:I.bindType||F,P=(L.get(v,"events")||Object.create(null))[a.type]&&L.get(v,"handle"),P&&P.apply(v,l),P=C&&v[C],P&&P.apply&&H(v)&&(a.result=P.apply(v,l),a.result===!1&&a.preventDefault());return a.type=F,!d&&!a.isDefaultPrevented()&&(!I._default||I._default.apply(N.pop(),l)===!1)&&H(f)&&C&&D(f[F])&&!Z(f)&&(b=f[C],b&&(f[C]=null),h.event.triggered=F,a.isPropagationStopped()&&V.addEventListener(F,tu),f[F](),a.isPropagationStopped()&&V.removeEventListener(F,tu),h.event.triggered=void 0,b&&(f[C]=b)),a.result}},simulate:function(a,l,f){var d=h.extend(new h.Event,f,{type:a,isSimulated:!0});h.event.trigger(d,null,l)}}),h.fn.extend({trigger:function(a,l){return this.each(function(){h.event.trigger(a,l,this)})},triggerHandler:function(a,l){var f=this[0];if(f)return h.event.trigger(a,l,f,!0)}}),M.focusin||h.each({focus:"focusin",blur:"focusout"},function(a,l){var f=function(d){h.event.simulate(l,d.target,h.event.fix(d))};h.event.special[l]={setup:function(){var d=this.ownerDocument||this.document||this,g=L.access(d,l);g||d.addEventListener(a,f,!0),L.access(d,l,(g||0)+1)},teardown:function(){var d=this.ownerDocument||this.document||this,g=L.access(d,l)-1;g?L.access(d,l,g):(d.removeEventListener(a,f,!0),L.remove(d,l))}}});var lr=t.location,nu={guid:Date.now()},Ca=/\?/;h.parseXML=function(a){var l,f;if(!a||typeof a!="string")return null;try{l=new t.DOMParser().parseFromString(a,"text/xml")}catch{}return f=l&&l.getElementsByTagName("parsererror")[0],(!l||f)&&h.error("Invalid XML: "+(f?h.map(f.childNodes,function(d){return d.textContent}).join(` -`):a)),l};var ep=/\[\]$/,iu=/\r?\n/g,tp=/^(?:submit|button|image|reset|file)$/i,np=/^(?:input|select|textarea|keygen)/i;function $a(a,l,f,d){var g;if(Array.isArray(l))h.each(l,function(v,b){f||ep.test(a)?d(a,b):$a(a+"["+(typeof b=="object"&&b!=null?v:"")+"]",b,f,d)});else if(!f&&se(l)==="object")for(g in l)$a(a+"["+g+"]",l[g],f,d);else d(a,l)}h.param=function(a,l){var f,d=[],g=function(v,b){var E=D(b)?b():b;d[d.length]=encodeURIComponent(v)+"="+encodeURIComponent(E==null?"":E)};if(a==null)return"";if(Array.isArray(a)||a.jquery&&!h.isPlainObject(a))h.each(a,function(){g(this.name,this.value)});else for(f in a)$a(f,a[f],l,g);return d.join("&")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=h.prop(this,"elements");return a?h.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!h(this).is(":disabled")&&np.test(this.nodeName)&&!tp.test(a)&&(this.checked||!tn.test(a))}).map(function(a,l){var f=h(this).val();return f==null?null:Array.isArray(f)?h.map(f,function(d){return{name:l.name,value:d.replace(iu,`\r -`)}}):{name:l.name,value:f.replace(iu,`\r -`)}}).get()}});var ip=/%20/g,rp=/#.*$/,sp=/([?&])_=[^&]*/,ap=/^(.*?):[ \t]*([^\r\n]*)$/mg,op=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,lp=/^(?:GET|HEAD)$/,up=/^\/\//,ru={},Ta={},su="*/".concat("*"),Ea=R.createElement("a");Ea.href=lr.href;function au(a){return function(l,f){typeof l!="string"&&(f=l,l="*");var d,g=0,v=l.toLowerCase().match(dt)||[];if(D(f))for(;d=v[g++];)d[0]==="+"?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(f)):(a[d]=a[d]||[]).push(f)}}function ou(a,l,f,d){var g={},v=a===Ta;function b(E){var C;return g[E]=!0,h.each(a[E]||[],function(P,I){var V=I(l,f,d);if(typeof V=="string"&&!v&&!g[V])return l.dataTypes.unshift(V),b(V),!1;if(v)return!(C=V)}),C}return b(l.dataTypes[0])||!g["*"]&&b("*")}function Aa(a,l){var f,d,g=h.ajaxSettings.flatOptions||{};for(f in l)l[f]!==void 0&&((g[f]?a:d||(d={}))[f]=l[f]);return d&&h.extend(!0,a,d),a}function cp(a,l,f){for(var d,g,v,b,E=a.contents,C=a.dataTypes;C[0]==="*";)C.shift(),d===void 0&&(d=a.mimeType||l.getResponseHeader("Content-Type"));if(d){for(g in E)if(E[g]&&E[g].test(d)){C.unshift(g);break}}if(C[0]in f)v=C[0];else{for(g in f){if(!C[0]||a.converters[g+" "+C[0]]){v=g;break}b||(b=g)}v=v||b}if(v)return v!==C[0]&&C.unshift(v),f[v]}function fp(a,l,f,d){var g,v,b,E,C,P={},I=a.dataTypes.slice();if(I[1])for(b in a.converters)P[b.toLowerCase()]=a.converters[b];for(v=I.shift();v;)if(a.responseFields[v]&&(f[a.responseFields[v]]=l),!C&&d&&a.dataFilter&&(l=a.dataFilter(l,a.dataType)),C=v,v=I.shift(),v){if(v==="*")v=C;else if(C!=="*"&&C!==v){if(b=P[C+" "+v]||P["* "+v],!b){for(g in P)if(E=g.split(" "),E[1]===v&&(b=P[C+" "+E[0]]||P["* "+E[0]],b)){b===!0?b=P[g]:P[g]!==!0&&(v=E[0],I.unshift(E[1]));break}}if(b!==!0)if(b&&a.throws)l=b(l);else try{l=b(l)}catch(V){return{state:"parsererror",error:b?V:"No conversion from "+C+" to "+v}}}}return{state:"success",data:l}}h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:lr.href,type:"GET",isLocal:op.test(lr.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":su,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,l){return l?Aa(Aa(a,h.ajaxSettings),l):Aa(h.ajaxSettings,a)},ajaxPrefilter:au(ru),ajaxTransport:au(Ta),ajax:function(a,l){typeof a=="object"&&(l=a,a=void 0),l=l||{};var f,d,g,v,b,E,C,P,I,V,N=h.ajaxSetup({},l),F=N.context||N,fe=N.context&&(F.nodeType||F.jquery)?h(F):h.event,ke=h.Deferred(),de=h.Callbacks("once memory"),_t=N.statusCode||{},vt={},Bt={},Ue="canceled",we={readyState:0,getResponseHeader:function(Le){var lt;if(C){if(!v)for(v={};lt=ap.exec(g);)v[lt[1].toLowerCase()+" "]=(v[lt[1].toLowerCase()+" "]||[]).concat(lt[2]);lt=v[Le.toLowerCase()+" "]}return lt==null?null:lt.join(", ")},getAllResponseHeaders:function(){return C?g:null},setRequestHeader:function(Le,lt){return C==null&&(Le=Bt[Le.toLowerCase()]=Bt[Le.toLowerCase()]||Le,vt[Le]=lt),this},overrideMimeType:function(Le){return C==null&&(N.mimeType=Le),this},statusCode:function(Le){var lt;if(Le)if(C)we.always(Le[we.status]);else for(lt in Le)_t[lt]=[_t[lt],Le[lt]];return this},abort:function(Le){var lt=Le||Ue;return f&&f.abort(lt),It(0,lt),this}};if(ke.promise(we),N.url=((a||N.url||lr.href)+"").replace(up,lr.protocol+"//"),N.type=l.method||l.type||N.method||N.type,N.dataTypes=(N.dataType||"*").toLowerCase().match(dt)||[""],N.crossDomain==null){E=R.createElement("a");try{E.href=N.url,E.href=E.href,N.crossDomain=Ea.protocol+"//"+Ea.host!=E.protocol+"//"+E.host}catch{N.crossDomain=!0}}if(N.data&&N.processData&&typeof N.data!="string"&&(N.data=h.param(N.data,N.traditional)),ou(ru,N,l,we),C)return we;P=h.event&&N.global,P&&h.active++===0&&h.event.trigger("ajaxStart"),N.type=N.type.toUpperCase(),N.hasContent=!lp.test(N.type),d=N.url.replace(rp,""),N.hasContent?N.data&&N.processData&&(N.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(N.data=N.data.replace(ip,"+")):(V=N.url.slice(d.length),N.data&&(N.processData||typeof N.data=="string")&&(d+=(Ca.test(d)?"&":"?")+N.data,delete N.data),N.cache===!1&&(d=d.replace(sp,"$1"),V=(Ca.test(d)?"&":"?")+"_="+nu.guid+++V),N.url=d+V),N.ifModified&&(h.lastModified[d]&&we.setRequestHeader("If-Modified-Since",h.lastModified[d]),h.etag[d]&&we.setRequestHeader("If-None-Match",h.etag[d])),(N.data&&N.hasContent&&N.contentType!==!1||l.contentType)&&we.setRequestHeader("Content-Type",N.contentType),we.setRequestHeader("Accept",N.dataTypes[0]&&N.accepts[N.dataTypes[0]]?N.accepts[N.dataTypes[0]]+(N.dataTypes[0]!=="*"?", "+su+"; q=0.01":""):N.accepts["*"]);for(I in N.headers)we.setRequestHeader(I,N.headers[I]);if(N.beforeSend&&(N.beforeSend.call(F,we,N)===!1||C))return we.abort();if(Ue="abort",de.add(N.complete),we.done(N.success),we.fail(N.error),f=ou(Ta,N,l,we),!f)It(-1,"No Transport");else{if(we.readyState=1,P&&fe.trigger("ajaxSend",[we,N]),C)return we;N.async&&N.timeout>0&&(b=t.setTimeout(function(){we.abort("timeout")},N.timeout));try{C=!1,f.send(vt,It)}catch(Le){if(C)throw Le;It(-1,Le)}}function It(Le,lt,cr,ts){var jt,ui,ci,Mt,Bn,Kt=lt;C||(C=!0,b&&t.clearTimeout(b),f=void 0,g=ts||"",we.readyState=Le>0?4:0,jt=Le>=200&&Le<300||Le===304,cr&&(Mt=cp(N,we,cr)),!jt&&h.inArray("script",N.dataTypes)>-1&&h.inArray("json",N.dataTypes)<0&&(N.converters["text script"]=function(){}),Mt=fp(N,Mt,we,jt),jt?(N.ifModified&&(Bn=we.getResponseHeader("Last-Modified"),Bn&&(h.lastModified[d]=Bn),Bn=we.getResponseHeader("etag"),Bn&&(h.etag[d]=Bn)),Le===204||N.type==="HEAD"?Kt="nocontent":Le===304?Kt="notmodified":(Kt=Mt.state,ui=Mt.data,ci=Mt.error,jt=!ci)):(ci=Kt,(Le||!Kt)&&(Kt="error",Le<0&&(Le=0))),we.status=Le,we.statusText=(lt||Kt)+"",jt?ke.resolveWith(F,[ui,Kt,we]):ke.rejectWith(F,[we,Kt,ci]),we.statusCode(_t),_t=void 0,P&&fe.trigger(jt?"ajaxSuccess":"ajaxError",[we,N,jt?ui:ci]),de.fireWith(F,[we,Kt]),P&&(fe.trigger("ajaxComplete",[we,N]),--h.active||h.event.trigger("ajaxStop")))}return we},getJSON:function(a,l,f){return h.get(a,l,f,"json")},getScript:function(a,l){return h.get(a,void 0,l,"script")}}),h.each(["get","post"],function(a,l){h[l]=function(f,d,g,v){return D(d)&&(v=v||g,g=d,d=void 0),h.ajax(h.extend({url:f,type:l,dataType:v,data:d,success:g},h.isPlainObject(f)&&f))}}),h.ajaxPrefilter(function(a){var l;for(l in a.headers)l.toLowerCase()==="content-type"&&(a.contentType=a.headers[l]||"")}),h._evalUrl=function(a,l,f){return h.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(d){h.globalEval(d,l,f)}})},h.fn.extend({wrapAll:function(a){var l;return this[0]&&(D(a)&&(a=a.call(this[0])),l=h(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&l.insertBefore(this[0]),l.map(function(){for(var f=this;f.firstElementChild;)f=f.firstElementChild;return f}).append(this)),this},wrapInner:function(a){return D(a)?this.each(function(l){h(this).wrapInner(a.call(this,l))}):this.each(function(){var l=h(this),f=l.contents();f.length?f.wrapAll(a):l.append(a)})},wrap:function(a){var l=D(a);return this.each(function(f){h(this).wrapAll(l?a.call(this,f):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){h(this).replaceWith(this.childNodes)}),this}}),h.expr.pseudos.hidden=function(a){return!h.expr.pseudos.visible(a)},h.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},h.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var dp={0:200,1223:204},ur=h.ajaxSettings.xhr();M.cors=!!ur&&"withCredentials"in ur,M.ajax=ur=!!ur,h.ajaxTransport(function(a){var l,f;if(M.cors||ur&&!a.crossDomain)return{send:function(d,g){var v,b=a.xhr();if(b.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(v in a.xhrFields)b[v]=a.xhrFields[v];a.mimeType&&b.overrideMimeType&&b.overrideMimeType(a.mimeType),!a.crossDomain&&!d["X-Requested-With"]&&(d["X-Requested-With"]="XMLHttpRequest");for(v in d)b.setRequestHeader(v,d[v]);l=function(E){return function(){l&&(l=f=b.onload=b.onerror=b.onabort=b.ontimeout=b.onreadystatechange=null,E==="abort"?b.abort():E==="error"?typeof b.status!="number"?g(0,"error"):g(b.status,b.statusText):g(dp[b.status]||b.status,b.statusText,(b.responseType||"text")!=="text"||typeof b.responseText!="string"?{binary:b.response}:{text:b.responseText},b.getAllResponseHeaders()))}},b.onload=l(),f=b.onerror=b.ontimeout=l("error"),b.onabort!==void 0?b.onabort=f:b.onreadystatechange=function(){b.readyState===4&&t.setTimeout(function(){l&&f()})},l=l("abort");try{b.send(a.hasContent&&a.data||null)}catch(E){if(l)throw E}},abort:function(){l&&l()}}}),h.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return h.globalEval(a),a}}}),h.ajaxPrefilter("script",function(a){a.cache===void 0&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),h.ajaxTransport("script",function(a){if(a.crossDomain||a.scriptAttrs){var l,f;return{send:function(d,g){l=h(" - - - -
- - - diff --git a/syng/webclientmockup.py b/syng/webclientmockup.py index 73ee468..0820865 100644 --- a/syng/webclientmockup.py +++ b/syng/webclientmockup.py @@ -67,9 +67,9 @@ class SyngShell(aiocmd.PromptToolkitCmd): async def do_admin(self, data): await sio.emit("register-admin", {"secret": data}) - async def do_connect(self, room): + async def do_connect(self, server, room): state["room"] = room - await sio.connect("http://127.0.0.1:8080") + await sio.connect(server) async def do_skip(self): await sio.emit("skip")