@oro.ad/nuxt-claude-devtools 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/client/200.html +1 -1
  2. package/dist/client/404.html +1 -1
  3. package/dist/client/_nuxt/{B6Pm7LNk.js → B1H6wO_D.js} +1 -1
  4. package/dist/client/_nuxt/{Dgh4EhoJ.js → BpkYThsl.js} +1 -1
  5. package/dist/client/_nuxt/C2ORx7Gd.js +1 -0
  6. package/dist/client/_nuxt/CfGtRVGd.js +4 -0
  7. package/dist/client/_nuxt/{BngXb2T5.js → D-z88P1l.js} +1 -1
  8. package/dist/client/_nuxt/DJn_CTvm.js +1 -0
  9. package/dist/client/_nuxt/EMyRkg8p.js +1 -0
  10. package/dist/client/_nuxt/PGt8fA_Y.js +1 -0
  11. package/dist/client/_nuxt/builds/latest.json +1 -1
  12. package/dist/client/_nuxt/builds/meta/88c99fa0-10e0-4015-a61a-e0c6d7a01859.json +1 -0
  13. package/dist/client/_nuxt/error-404.2GhCpCfF.css +1 -0
  14. package/dist/client/_nuxt/error-500.DqdIhFrl.css +1 -0
  15. package/dist/client/index.html +1 -1
  16. package/dist/client/mcp/index.html +1 -1
  17. package/dist/module.json +1 -1
  18. package/dist/module.mjs +22 -13
  19. package/dist/runtime/logger.d.ts +5 -0
  20. package/dist/runtime/logger.js +12 -0
  21. package/dist/runtime/server/claude-session.d.ts +6 -4
  22. package/dist/runtime/server/claude-session.js +12 -21
  23. package/dist/runtime/server/plugins/socket.io.d.ts +2 -0
  24. package/dist/runtime/server/plugins/socket.io.js +48 -0
  25. package/package.json +2 -1
  26. package/dist/client/_nuxt/BWmwj9se.js +0 -1
  27. package/dist/client/_nuxt/CRwOrvc3.js +0 -1
  28. package/dist/client/_nuxt/DMBGVttU.js +0 -1
  29. package/dist/client/_nuxt/DYOOVyPh.js +0 -1
  30. package/dist/client/_nuxt/JxSLzYFz.js +0 -4
  31. package/dist/client/_nuxt/builds/meta/f2b44466-6d7e-4b5c-bf6b-f6c7cf9e0d59.json +0 -1
  32. package/dist/client/_nuxt/error-404.BLrjNXsr.css +0 -1
  33. package/dist/client/_nuxt/error-500.DLkAwcfL.css +0 -1
@@ -1 +0,0 @@
1
- import{_ as Re}from"./BWmwj9se.js";import{c as P,o as v,n as Se,g as Ce,C as ie,D as E,a as ue,B as fe,l as le,E as Be,r as Ne,G as re,A as xe,x as Le,m as qe,H as Pe,y as De,I as Ie,J as Ve,_ as Ue}from"./JxSLzYFz.js";const J={__name:"NIcon",props:{icon:{type:String,required:!1}},setup(s){return(e,t)=>(v(),P("div",{class:Se(["n-icon",s.icon])},null,2))}},zt=Ce({name:"NButton",props:{to:String,icon:String,border:{type:Boolean,default:!0},disabled:Boolean,type:{type:String,default:"button"}},setup(s,{attrs:e,slots:t}){return()=>ie(s.to?Re:"button",{to:s.to,...e,...!s.to&&{type:s.type},...s.disabled?{disabled:!0}:{tabindex:0},class:[s.border?"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":"",t.default?"":"n-icon-button","n-button n-transition n-disabled:n-disabled"].join(" ")},{default:()=>[E(t,"icon",{},()=>s.icon?[ie(J,{icon:s.icon,class:t.default?"n-button-icon":""})]:[]),E(t,"default")]})}}),Fe={class:"n-tip n-tip-base"},Jt={__name:"NTip",props:{icon:{type:String,required:!1}},setup(s){return(e,t)=>{const n=J;return v(),P("div",Fe,[E(e.$slots,"icon",{},()=>[s.icon?(v(),fe(n,{key:0,icon:s.icon,class:"n-tip-icon"},null,8,["icon"])):le("",!0)]),ue("div",null,[E(e.$slots,"default")])])}}};typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const $e=s=>typeof s<"u";function Me(s){return JSON.parse(JSON.stringify(s))}function He(s,e,t,n={}){var i,r;const{clone:o=!1,passive:c=!1,eventName:h,deep:p=!1,defaultValue:l,shouldEmit:m}=n,f=Be(),ee=t||f?.emit||(f==null||(i=f.$emit)===null||i===void 0?void 0:i.bind(f))||(f==null||(r=f.proxy)===null||r===void 0||(r=r.$emit)===null||r===void 0?void 0:r.bind(f?.proxy));let O=h;O=O||`update:${e.toString()}`;const te=d=>o?typeof o=="function"?o(d):Me(d):d,se=()=>$e(s[e])?te(s[e]):l,ne=d=>{m?m(d)&&ee(O,d):ee(O,d)};if(c){const d=Ne(se());let R=!1;return re(()=>s[e],S=>{R||(R=!0,d.value=te(S),xe(()=>R=!1))}),re(d,S=>{!R&&(S!==s[e]||p)&&ne(S)},{deep:p}),d}else return Le({get(){return se()},set(d){ne(d)}})}const Ke={class:"n-text-input flex flex items-center border n-border-base rounded n-bg-base py-1 pl-1 pr-2 focus-within:border-context focus-within:n-focus-base"},Xt={__name:"NTextInput",props:{modelValue:{type:[String,Number],required:!1,default:""},icon:{type:String,required:!1},placeholder:{type:String,required:!1},disabled:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},readonly:{type:Boolean,required:!1},type:{type:String,required:!1,default:"text"}},emits:["keydown","keyup","change"],setup(s,{emit:e}){const i=He(s,"modelValue",e,{passive:!0});return(r,o)=>{const c=J;return v(),P("div",Ke,[E(r.$slots,"icon",{},()=>[s.icon?(v(),fe(c,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):le("",!0)]),qe(ue("input",Ie({"onUpdate:modelValue":o[0]||(o[0]=h=>Ve(i)?i.value=h:null)},r.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[Pe,De(i)]])])}}},We={},Ye={class:"n-badge"};function ze(s,e){return v(),P("span",Ye,[E(s.$slots,"default")])}const Qt=Object.assign(Ue(We,[["render",ze]]),{__name:"NBadge"}),b=Object.create(null);b.open="0";b.close="1";b.ping="2";b.pong="3";b.message="4";b.upgrade="5";b.noop="6";const N=Object.create(null);Object.keys(b).forEach(s=>{N[b[s]]=s});const M={type:"error",data:"parser error"},de=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",pe=typeof ArrayBuffer=="function",ye=s=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s&&s.buffer instanceof ArrayBuffer,X=({type:s,data:e},t,n)=>de&&e instanceof Blob?t?n(e):oe(e,n):pe&&(e instanceof ArrayBuffer||ye(e))?t?n(e):oe(new Blob([e]),n):n(b[s]+(e||"")),oe=(s,e)=>{const t=new FileReader;return t.onload=function(){const n=t.result.split(",")[1];e("b"+(n||""))},t.readAsDataURL(s)};function ae(s){return s instanceof Uint8Array?s:s instanceof ArrayBuffer?new Uint8Array(s):new Uint8Array(s.buffer,s.byteOffset,s.byteLength)}let V;function Je(s,e){if(de&&s.data instanceof Blob)return s.data.arrayBuffer().then(ae).then(e);if(pe&&(s.data instanceof ArrayBuffer||ye(s.data)))return e(ae(s.data));X(s,!1,t=>{V||(V=new TextEncoder),e(V.encode(t))})}const ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let s=0;s<ce.length;s++)A[ce.charCodeAt(s)]=s;const Xe=s=>{let e=s.length*.75,t=s.length,n,i=0,r,o,c,h;s[s.length-1]==="="&&(e--,s[s.length-2]==="="&&e--);const p=new ArrayBuffer(e),l=new Uint8Array(p);for(n=0;n<t;n+=4)r=A[s.charCodeAt(n)],o=A[s.charCodeAt(n+1)],c=A[s.charCodeAt(n+2)],h=A[s.charCodeAt(n+3)],l[i++]=r<<2|o>>4,l[i++]=(o&15)<<4|c>>2,l[i++]=(c&3)<<6|h&63;return p},Qe=typeof ArrayBuffer=="function",Q=(s,e)=>{if(typeof s!="string")return{type:"message",data:me(s,e)};const t=s.charAt(0);return t==="b"?{type:"message",data:Ge(s.substring(1),e)}:N[t]?s.length>1?{type:N[t],data:s.substring(1)}:{type:N[t]}:M},Ge=(s,e)=>{if(Qe){const t=Xe(s);return me(t,e)}else return{base64:!0,data:s}},me=(s,e)=>e==="blob"?s instanceof Blob?s:new Blob([s]):s instanceof ArrayBuffer?s:s.buffer,ge="",je=(s,e)=>{const t=s.length,n=new Array(t);let i=0;s.forEach((r,o)=>{X(r,!1,c=>{n[o]=c,++i===t&&e(n.join(ge))})})},Ze=(s,e)=>{const t=s.split(ge),n=[];for(let i=0;i<t.length;i++){const r=Q(t[i],e);if(n.push(r),r.type==="error")break}return n};function et(){return new TransformStream({transform(s,e){Je(s,t=>{const n=t.length;let i;if(n<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,n);else if(n<65536){i=new Uint8Array(3);const r=new DataView(i.buffer);r.setUint8(0,126),r.setUint16(1,n)}else{i=new Uint8Array(9);const r=new DataView(i.buffer);r.setUint8(0,127),r.setBigUint64(1,BigInt(n))}s.data&&typeof s.data!="string"&&(i[0]|=128),e.enqueue(i),e.enqueue(t)})}})}let U;function C(s){return s.reduce((e,t)=>e+t.length,0)}function B(s,e){if(s[0].length===e)return s.shift();const t=new Uint8Array(e);let n=0;for(let i=0;i<e;i++)t[i]=s[0][n++],n===s[0].length&&(s.shift(),n=0);return s.length&&n<s[0].length&&(s[0]=s[0].slice(n)),t}function tt(s,e){U||(U=new TextDecoder);const t=[];let n=0,i=-1,r=!1;return new TransformStream({transform(o,c){for(t.push(o);;){if(n===0){if(C(t)<1)break;const h=B(t,1);r=(h[0]&128)===128,i=h[0]&127,i<126?n=3:i===126?n=1:n=2}else if(n===1){if(C(t)<2)break;const h=B(t,2);i=new DataView(h.buffer,h.byteOffset,h.length).getUint16(0),n=3}else if(n===2){if(C(t)<8)break;const h=B(t,8),p=new DataView(h.buffer,h.byteOffset,h.length),l=p.getUint32(0);if(l>Math.pow(2,21)-1){c.enqueue(M);break}i=l*Math.pow(2,32)+p.getUint32(4),n=3}else{if(C(t)<i)break;const h=B(t,i);c.enqueue(Q(r?h:U.decode(h),e)),n=0}if(i===0||i>s){c.enqueue(M);break}}}})}const _e=4;function u(s){if(s)return st(s)}function st(s){for(var e in u.prototype)s[e]=u.prototype[e];return s}u.prototype.on=u.prototype.addEventListener=function(s,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+s]=this._callbacks["$"+s]||[]).push(e),this};u.prototype.once=function(s,e){function t(){this.off(s,t),e.apply(this,arguments)}return t.fn=e,this.on(s,t),this};u.prototype.off=u.prototype.removeListener=u.prototype.removeAllListeners=u.prototype.removeEventListener=function(s,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+s];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+s],this;for(var n,i=0;i<t.length;i++)if(n=t[i],n===e||n.fn===e){t.splice(i,1);break}return t.length===0&&delete this._callbacks["$"+s],this};u.prototype.emit=function(s){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+s],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(t){t=t.slice(0);for(var n=0,i=t.length;n<i;++n)t[n].apply(this,e)}return this};u.prototype.emitReserved=u.prototype.emit;u.prototype.listeners=function(s){return this._callbacks=this._callbacks||{},this._callbacks["$"+s]||[]};u.prototype.hasListeners=function(s){return!!this.listeners(s).length};const D=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0),y=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),nt="arraybuffer";function be(s,...e){return e.reduce((t,n)=>(s.hasOwnProperty(n)&&(t[n]=s[n]),t),{})}const it=y.setTimeout,rt=y.clearTimeout;function I(s,e){e.useNativeTimers?(s.setTimeoutFn=it.bind(y),s.clearTimeoutFn=rt.bind(y)):(s.setTimeoutFn=y.setTimeout.bind(y),s.clearTimeoutFn=y.clearTimeout.bind(y))}const ot=1.33;function at(s){return typeof s=="string"?ct(s):Math.ceil((s.byteLength||s.size)*ot)}function ct(s){let e=0,t=0;for(let n=0,i=s.length;n<i;n++)e=s.charCodeAt(n),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(n++,t+=4);return t}function we(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function ht(s){let e="";for(let t in s)s.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(s[t]));return e}function ut(s){let e={},t=s.split("&");for(let n=0,i=t.length;n<i;n++){let r=t[n].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}class ft extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class G extends u{constructor(e){super(),this.writable=!1,I(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,n){return super.emitReserved("error",new ft(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=Q(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const t=ht(e);return t.length?"?"+t:""}}class lt extends G{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let n=0;this._polling&&(n++,this.once("pollComplete",function(){--n||t()})),this.writable||(n++,this.once("drain",function(){--n||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=n=>{if(this.readyState==="opening"&&n.type==="open"&&this.onOpen(),n.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(n)};Ze(e,this.socket.binaryType).forEach(t),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,je(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=we()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}}let ve=!1;try{ve=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const dt=ve;function pt(){}class yt extends lt{constructor(e){if(super(e),typeof location<"u"){const t=location.protocol==="https:";let n=location.port;n||(n=t?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||n!==e.port}}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",(i,r)=>{this.onError("xhr post error",i,r)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,n)=>{this.onError("xhr poll error",t,n)}),this.pollXhr=e}}class _ extends u{constructor(e,t,n){super(),this.createRequest=e,I(this,n),this._opts=n,this._method=n.method||"GET",this._uri=t,this._data=n.data!==void 0?n.data:null,this._create()}_create(){var e;const t=be(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this._opts.xd;const n=this._xhr=this.createRequest(t);try{n.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let i in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(i)&&n.setRequestHeader(i,this._opts.extraHeaders[i])}}catch{}if(this._method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(n),"withCredentials"in n&&(n.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(n.timeout=this._opts.requestTimeout),n.onreadystatechange=()=>{var i;n.readyState===3&&((i=this._opts.cookieJar)===null||i===void 0||i.parseCookies(n.getResponseHeader("set-cookie"))),n.readyState===4&&(n.status===200||n.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof n.status=="number"?n.status:0)},0))},n.send(this._data)}catch(i){this.setTimeoutFn(()=>{this._onError(i)},0);return}typeof document<"u"&&(this._index=_.requestsCount++,_.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=pt,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete _.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}_.requestsCount=0;_.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",he);else if(typeof addEventListener=="function"){const s="onpagehide"in y?"pagehide":"unload";addEventListener(s,he,!1)}}function he(){for(let s in _.requests)_.requests.hasOwnProperty(s)&&_.requests[s].abort()}const mt=(function(){const s=Ee({xdomain:!1});return s&&s.responseType!==null})();class gt extends yt{constructor(e){super(e);const t=e&&e.forceBase64;this.supportsBinary=mt&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new _(Ee,this.uri(),e)}}function Ee(s){const e=s.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||dt))return new XMLHttpRequest}catch{}if(!e)try{return new y[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const ke=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class _t extends G{get name(){return"websocket"}doOpen(){const e=this.uri(),t=this.opts.protocols,n=ke?{}:be(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,n)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],i=t===e.length-1;X(n,this.supportsBinary,r=>{try{this.doWrite(n,r)}catch{}i&&D(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=we()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}const F=y.WebSocket||y.MozWebSocket;class bt extends _t{createSocket(e,t,n){return ke?new F(e,t,n):t?new F(e,t):new F(e)}doWrite(e,t){this.ws.send(t)}}class wt extends G{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const t=tt(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),i=et();i.readable.pipeTo(e.writable),this._writer=i.writable.getWriter();const r=()=>{n.read().then(({done:c,value:h})=>{c||(this.onPacket(h),r())}).catch(c=>{})};r();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this._writer.write(o).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],i=t===e.length-1;this._writer.write(n).then(()=>{i&&D(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const vt={websocket:bt,webtransport:wt,polling:gt},Et=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,kt=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function H(s){if(s.length>8e3)throw"URI too long";const e=s,t=s.indexOf("["),n=s.indexOf("]");t!=-1&&n!=-1&&(s=s.substring(0,t)+s.substring(t,n).replace(/:/g,";")+s.substring(n,s.length));let i=Et.exec(s||""),r={},o=14;for(;o--;)r[kt[o]]=i[o]||"";return t!=-1&&n!=-1&&(r.source=e,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=Tt(r,r.path),r.queryKey=At(r,r.query),r}function Tt(s,e){const t=/\/{2,9}/g,n=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&n.splice(0,1),e.slice(-1)=="/"&&n.splice(n.length-1,1),n}function At(s,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(n,i,r){i&&(t[i]=r)}),t}const K=typeof addEventListener=="function"&&typeof removeEventListener=="function",x=[];K&&addEventListener("offline",()=>{x.forEach(s=>s())},!1);class w extends u{constructor(e,t){if(super(),this.binaryType=nt,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(t=e,e=null),e){const n=H(e);t.hostname=n.host,t.secure=n.protocol==="https"||n.protocol==="wss",t.port=n.port,n.query&&(t.query=n.query)}else t.host&&(t.hostname=H(t.host).host);I(this,t),this.secure=t.secure!=null?t.secure:typeof location<"u"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=t.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(n=>{const i=n.prototype.name;this.transports.push(i),this._transportsByName[i]=n}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=ut(this.opts.query)),K&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},x.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=_e,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](n)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&w.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",w.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const t=new Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let n=0;n<this.writeBuffer.length;n++){const i=this.writeBuffer[n].data;if(i&&(t+=at(i)),n>0&&t>this._maxPayload)return this.writeBuffer.slice(0,n);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,D(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,n){return this._sendPacket("message",e,t,n),this}send(e,t,n){return this._sendPacket("message",e,t,n),this}_sendPacket(e,t,n,i){if(typeof t=="function"&&(i=t,t=void 0),typeof n=="function"&&(i=n,n=null),this.readyState==="closing"||this.readyState==="closed")return;n=n||{},n.compress=n.compress!==!1;const r={type:e,data:t,options:n};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),i&&this.once("flush",i),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():e()}):this.upgrading?n():e()),this}_onError(e){if(w.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),K&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const n=x.indexOf(this._offlineEventListener);n!==-1&&x.splice(n,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}w.protocol=_e;class Ot extends w{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),n=!1;w.priorWebsocketSuccess=!1;const i=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",m=>{if(!n)if(m.type==="pong"&&m.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;w.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{n||this.readyState!=="closed"&&(l(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=t.name,this.emitReserved("upgradeError",f)}}))};function r(){n||(n=!0,l(),t.close(),t=null)}const o=m=>{const f=new Error("probe error: "+m);f.transport=t.name,r(),this.emitReserved("upgradeError",f)};function c(){o("transport closed")}function h(){o("socket closed")}function p(m){t&&m.name!==t.name&&r()}const l=()=>{t.removeListener("open",i),t.removeListener("error",o),t.removeListener("close",c),this.off("close",h),this.off("upgrading",p)};t.once("open",i),t.once("error",o),t.once("close",c),this.once("close",h),this.once("upgrading",p),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{n||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const t=[];for(let n=0;n<e.length;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}let Rt=class extends Ot{constructor(e,t={}){const n=typeof e=="object"?e:t;(!n.transports||n.transports&&typeof n.transports[0]=="string")&&(n.transports=(n.transports||["polling","websocket","webtransport"]).map(i=>vt[i]).filter(i=>!!i)),super(e,n)}};function St(s,e="",t){let n=s;t=t||typeof location<"u"&&location,s==null&&(s=t.protocol+"//"+t.host),typeof s=="string"&&(s.charAt(0)==="/"&&(s.charAt(1)==="/"?s=t.protocol+s:s=t.host+s),/^(https?|wss?):\/\//.test(s)||(typeof t<"u"?s=t.protocol+"//"+s:s="https://"+s),n=H(s)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";const r=n.host.indexOf(":")!==-1?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+r+":"+n.port+e,n.href=n.protocol+"://"+r+(t&&t.port===n.port?"":":"+n.port),n}const Ct=typeof ArrayBuffer=="function",Bt=s=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s.buffer instanceof ArrayBuffer,Te=Object.prototype.toString,Nt=typeof Blob=="function"||typeof Blob<"u"&&Te.call(Blob)==="[object BlobConstructor]",xt=typeof File=="function"||typeof File<"u"&&Te.call(File)==="[object FileConstructor]";function j(s){return Ct&&(s instanceof ArrayBuffer||Bt(s))||Nt&&s instanceof Blob||xt&&s instanceof File}function L(s,e){if(!s||typeof s!="object")return!1;if(Array.isArray(s)){for(let t=0,n=s.length;t<n;t++)if(L(s[t]))return!0;return!1}if(j(s))return!0;if(s.toJSON&&typeof s.toJSON=="function"&&arguments.length===1)return L(s.toJSON(),!0);for(const t in s)if(Object.prototype.hasOwnProperty.call(s,t)&&L(s[t]))return!0;return!1}function Lt(s){const e=[],t=s.data,n=s;return n.data=W(t,e),n.attachments=e.length,{packet:n,buffers:e}}function W(s,e){if(!s)return s;if(j(s)){const t={_placeholder:!0,num:e.length};return e.push(s),t}else if(Array.isArray(s)){const t=new Array(s.length);for(let n=0;n<s.length;n++)t[n]=W(s[n],e);return t}else if(typeof s=="object"&&!(s instanceof Date)){const t={};for(const n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t[n]=W(s[n],e));return t}return s}function qt(s,e){return s.data=Y(s.data,e),delete s.attachments,s}function Y(s,e){if(!s)return s;if(s&&s._placeholder===!0){if(typeof s.num=="number"&&s.num>=0&&s.num<e.length)return e[s.num];throw new Error("illegal attachments")}else if(Array.isArray(s))for(let t=0;t<s.length;t++)s[t]=Y(s[t],e);else if(typeof s=="object")for(const t in s)Object.prototype.hasOwnProperty.call(s,t)&&(s[t]=Y(s[t],e));return s}const Ae=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Pt=5;var a;(function(s){s[s.CONNECT=0]="CONNECT",s[s.DISCONNECT=1]="DISCONNECT",s[s.EVENT=2]="EVENT",s[s.ACK=3]="ACK",s[s.CONNECT_ERROR=4]="CONNECT_ERROR",s[s.BINARY_EVENT=5]="BINARY_EVENT",s[s.BINARY_ACK=6]="BINARY_ACK"})(a||(a={}));class Dt{constructor(e){this.replacer=e}encode(e){return(e.type===a.EVENT||e.type===a.ACK)&&L(e)?this.encodeAsBinary({type:e.type===a.EVENT?a.BINARY_EVENT:a.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===a.BINARY_EVENT||e.type===a.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(t+=e.nsp+","),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=Lt(e),n=this.encodeAsString(t.packet),i=t.buffers;return i.unshift(n),i}}class Z extends u{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const n=t.type===a.BINARY_EVENT;n||t.type===a.BINARY_ACK?(t.type=n?a.EVENT:a.ACK,this.reconstructor=new It(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(j(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let t=0;const n={type:Number(e.charAt(0))};if(a[n.type]===void 0)throw new Error("unknown packet type "+n.type);if(n.type===a.BINARY_EVENT||n.type===a.BINARY_ACK){const r=t+1;for(;e.charAt(++t)!=="-"&&t!=e.length;);const o=e.substring(r,t);if(o!=Number(o)||e.charAt(t)!=="-")throw new Error("Illegal attachments");n.attachments=Number(o)}if(e.charAt(t+1)==="/"){const r=t+1;for(;++t&&!(e.charAt(t)===","||t===e.length););n.nsp=e.substring(r,t)}else n.nsp="/";const i=e.charAt(t+1);if(i!==""&&Number(i)==i){const r=t+1;for(;++t;){const o=e.charAt(t);if(o==null||Number(o)!=o){--t;break}if(t===e.length)break}n.id=Number(e.substring(r,t+1))}if(e.charAt(++t)){const r=this.tryParse(e.substr(t));if(Z.isPayloadValid(n.type,r))n.data=r;else throw new Error("invalid payload")}return n}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case a.CONNECT:return q(t);case a.DISCONNECT:return t===void 0;case a.CONNECT_ERROR:return typeof t=="string"||q(t);case a.EVENT:case a.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&Ae.indexOf(t[0])===-1);case a.ACK:case a.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class It{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const t=qt(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function Vt(s){return typeof s=="string"}const Ut=Number.isInteger||function(s){return typeof s=="number"&&isFinite(s)&&Math.floor(s)===s};function Ft(s){return s===void 0||Ut(s)}function q(s){return Object.prototype.toString.call(s)==="[object Object]"}function $t(s,e){switch(s){case a.CONNECT:return e===void 0||q(e);case a.DISCONNECT:return e===void 0;case a.EVENT:return Array.isArray(e)&&(typeof e[0]=="number"||typeof e[0]=="string"&&Ae.indexOf(e[0])===-1);case a.ACK:return Array.isArray(e);case a.CONNECT_ERROR:return typeof e=="string"||q(e);default:return!1}}function Mt(s){return Vt(s.nsp)&&Ft(s.id)&&$t(s.type,s.data)}const Ht=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Z,Encoder:Dt,get PacketType(){return a},isPacketValid:Mt,protocol:Pt},Symbol.toStringTag,{value:"Module"}));function g(s,e,t){return s.on(e,t),function(){s.off(e,t)}}const Kt=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Oe extends u{constructor(e,t,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[g(e,"open",this.onopen.bind(this)),g(e,"packet",this.onpacket.bind(this)),g(e,"error",this.onerror.bind(this)),g(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var n,i,r;if(Kt.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const o={type:a.EVENT,data:t};if(o.options={},o.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){const l=this.ids++,m=t.pop();this._registerAckCallback(l,m),o.id=l}const c=(i=(n=this.io.engine)===null||n===void 0?void 0:n.transport)===null||i===void 0?void 0:i.writable,h=this.connected&&!(!((r=this.io.engine)===null||r===void 0)&&r._hasPingExpired());return this.flags.volatile&&!c||(h?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(e,t){var n;const i=(n=this.flags.timeout)!==null&&n!==void 0?n:this._opts.ackTimeout;if(i===void 0){this.acks[e]=t;return}const r=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let c=0;c<this.sendBuffer.length;c++)this.sendBuffer[c].id===e&&this.sendBuffer.splice(c,1);t.call(this,new Error("operation has timed out"))},i),o=(...c)=>{this.io.clearTimeoutFn(r),t.apply(this,c)};o.withError=!0,this.acks[e]=o}emitWithAck(e,...t){return new Promise((n,i)=>{const r=(o,c)=>o?i(o):n(c);r.withError=!0,t.push(r),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((i,...r)=>(this._queue[0],i!==null?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(i)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:a.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(n=>String(n.id)===e)){const n=this.acks[e];delete this.acks[e],n.withError&&n.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case a.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case a.EVENT:case a.BINARY_EVENT:this.onevent(e);break;case a.ACK:case a.BINARY_ACK:this.onack(e);break;case a.DISCONNECT:this.ondisconnect();break;case a.CONNECT_ERROR:this.destroy();const n=new Error(e.data.message);n.data=e.data.data,this.emitReserved("connect_error",n);break}}onevent(e){const t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...i){n||(n=!0,t.packet({type:a.ACK,id:e,data:i}))}}onack(e){const t=this.acks[e.id];typeof t=="function"&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:a.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const n of t)n.apply(this,e.data)}}}function k(s){s=s||{},this.ms=s.min||100,this.max=s.max||1e4,this.factor=s.factor||2,this.jitter=s.jitter>0&&s.jitter<=1?s.jitter:0,this.attempts=0}k.prototype.duration=function(){var s=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*s);s=(Math.floor(e*10)&1)==0?s-t:s+t}return Math.min(s,this.max)|0};k.prototype.reset=function(){this.attempts=0};k.prototype.setMin=function(s){this.ms=s};k.prototype.setMax=function(s){this.max=s};k.prototype.setJitter=function(s){this.jitter=s};class z extends u{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,I(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((n=t.randomizationFactor)!==null&&n!==void 0?n:.5),this.backoff=new k({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;const i=t.parser||Ht;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Rt(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const i=g(t,"open",function(){n.onopen(),e&&e()}),r=c=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",c),e?e(c):this.maybeReconnectOnOpen()},o=g(t,"error",r);if(this._timeout!==!1){const c=this._timeout,h=this.setTimeoutFn(()=>{i(),r(new Error("timeout")),t.close()},c);this.opts.autoUnref&&h.unref(),this.subs.push(()=>{this.clearTimeoutFn(h)})}return this.subs.push(i),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(g(e,"ping",this.onping.bind(this)),g(e,"data",this.ondata.bind(this)),g(e,"error",this.onerror.bind(this)),g(e,"close",this.onclose.bind(this)),g(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){D(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new Oe(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const n of t)if(this.nsps[n].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;n<t.length;n++)this.engine.write(t[n],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var n;this.cleanup(),(n=this.engine)===null||n===void 0||n.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(i=>{i?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",i)):e.onreconnect()}))},t);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const T={};function $(s,e){typeof s=="object"&&(e=s,s=void 0),e=e||{};const t=St(s,e.path||"/socket.io"),n=t.source,i=t.id,r=t.path,o=T[i]&&r in T[i].nsps,c=e.forceNew||e["force new connection"]||e.multiplex===!1||o;let h;return c?h=new z(n,e):(T[i]||(T[i]=new z(n,e)),h=T[i]),t.query&&!e.query&&(e.query=t.queryKey),h.socket(t.path,e)}Object.assign($,{Manager:z,Socket:Oe,io:$,connect:$});export{J as _,zt as a,Jt as b,Xt as c,Qt as d,$ as l};
@@ -1,4 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DMBGVttU.js","./BWmwj9se.js","./DYOOVyPh.js","./CRwOrvc3.js","./B6Pm7LNk.js","./BngXb2T5.js","./error-404.BLrjNXsr.css","./Dgh4EhoJ.js","./error-500.DLkAwcfL.css"])))=>i.map(i=>d[i]);
2
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function Qs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ae={},dn=[],ct=()=>{},il=()=>!1,zn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Xs=e=>e.startsWith("onUpdate:"),Ee=Object.assign,zs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ec=Object.prototype.hasOwnProperty,se=(e,t)=>Ec.call(e,t),G=Array.isArray,hn=e=>kn(e)==="[object Map]",Pn=e=>kn(e)==="[object Set]",Oo=e=>kn(e)==="[object Date]",Rc=e=>kn(e)==="[object RegExp]",Q=e=>typeof e=="function",pe=e=>typeof e=="string",Ze=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",ll=e=>(ie(e)||Q(e))&&Q(e.then)&&Q(e.catch),al=Object.prototype.toString,kn=e=>al.call(e),Tc=e=>kn(e).slice(8,-1),cl=e=>kn(e)==="[object Object]",Dr=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,pn=Qs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jr=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Cc=/-\w/g,Ye=jr(e=>e.replace(Cc,t=>t.slice(1).toUpperCase())),Sc=/\B([A-Z])/g,jt=jr(e=>e.replace(Sc,"-$1").toLowerCase()),Fr=jr(e=>e.charAt(0).toUpperCase()+e.slice(1)),ts=jr(e=>e?`on${Fr(e)}`:""),Mt=(e,t)=>!Object.is(e,t),gn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ul=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Br=e=>{const t=parseFloat(e);return isNaN(t)?e:t},fl=e=>{const t=pe(e)?Number(e):NaN;return isNaN(t)?e:t};let No;const Ur=()=>No||(No=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $r(e){if(G(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=pe(r)?kc(r):$r(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(pe(e)||ie(e))return e}const Ac=/;(?![^(]*\))/g,xc=/:([^]+)/,Pc=/\/\*[^]*?\*\//g;function kc(e){const t={};return e.replace(Pc,"").split(Ac).forEach(n=>{if(n){const r=n.split(xc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Vr(e){let t="";if(pe(e))t=e;else if(G(e))for(let n=0;n<e.length;n++){const r=Vr(e[n]);r&&(t+=r+" ")}else if(ie(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Oc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!pe(t)&&(e.class=Vr(t)),n&&(e.style=$r(n)),e}const Nc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ic=Qs(Nc);function dl(e){return!!e||e===""}function Mc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Zt(e[r],t[r]);return n}function Zt(e,t){if(e===t)return!0;let n=Oo(e),r=Oo(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ze(e),r=Ze(t),n||r)return e===t;if(n=G(e),r=G(t),n||r)return n&&r?Mc(e,t):!1;if(n=ie(e),r=ie(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!Zt(e[i],t[i]))return!1}}return String(e)===String(t)}function Zs(e,t){return e.findIndex(n=>Zt(n,t))}const hl=e=>!!(e&&e.__v_isRef===!0),Lc=e=>pe(e)?e:e==null?"":G(e)||ie(e)&&(e.toString===al||!Q(e.toString))?hl(e)?Lc(e.value):JSON.stringify(e,pl,2):String(e),pl=(e,t)=>hl(t)?pl(e,t.value):hn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ns(r,o)+" =>"]=s,n),{})}:Pn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ns(n))}:Ze(t)?ns(t):ie(t)&&!G(t)&&!cl(t)?String(t):t,ns=(e,t="")=>{var n;return Ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Le;class gl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Le,!t&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Le;try{return Le=this,t()}finally{Le=n}}}on(){++this._on===1&&(this.prevScope=Le,Le=this)}off(){this._on>0&&--this._on===0&&(Le=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Hc(e){return new gl(e)}function ml(){return Le}let ue;const rs=new WeakSet;class yl{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Le&&Le.active&&Le.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,rs.has(this)&&(rs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||bl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Io(this),vl(this);const t=ue,n=ze;ue=this,ze=!0;try{return this.fn()}finally{wl(this),ue=t,ze=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)no(t);this.deps=this.depsTail=void 0,Io(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?rs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Es(this)&&this.run()}get dirty(){return Es(this)}}let _l=0,Bn,Un;function bl(e,t=!1){if(e.flags|=8,t){e.next=Un,Un=e;return}e.next=Bn,Bn=e}function eo(){_l++}function to(){if(--_l>0)return;if(Un){let t=Un;for(Un=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Bn;){let t=Bn;for(Bn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function vl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function wl(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),no(r),Dc(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Es(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(El(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function El(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===qn)||(e.globalVersion=qn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Es(e))))return;e.flags|=2;const t=e.dep,n=ue,r=ze;ue=e,ze=!0;try{vl(e);const s=e.fn(e._value);(t.version===0||Mt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ue=n,ze=r,wl(e),e.flags&=-3}}function no(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)no(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Dc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ze=!0;const Rl=[];function Et(){Rl.push(ze),ze=!1}function Rt(){const e=Rl.pop();ze=e===void 0?!0:e}function Io(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ue;ue=void 0;try{t()}finally{ue=n}}}let qn=0;class jc{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ro{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ue||!ze||ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ue)n=this.activeLink=new jc(ue,this),ue.deps?(n.prevDep=ue.depsTail,ue.depsTail.nextDep=n,ue.depsTail=n):ue.deps=ue.depsTail=n,Tl(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ue.depsTail,n.nextDep=void 0,ue.depsTail.nextDep=n,ue.depsTail=n,ue.deps===n&&(ue.deps=r)}return n}trigger(t){this.version++,qn++,this.notify(t)}notify(t){eo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{to()}}}function Tl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Tl(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const br=new WeakMap,Yt=Symbol(""),Rs=Symbol(""),Gn=Symbol("");function Ae(e,t,n){if(ze&&ue){let r=br.get(e);r||br.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new ro),s.map=r,s.key=n),s.track()}}function yt(e,t,n,r,s,o){const i=br.get(e);if(!i){qn++;return}const l=a=>{a&&a.trigger()};if(eo(),t==="clear")i.forEach(l);else{const a=G(e),f=a&&Dr(n);if(a&&n==="length"){const c=Number(r);i.forEach((u,h)=>{(h==="length"||h===Gn||!Ze(h)&&h>=c)&&l(u)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),f&&l(i.get(Gn)),t){case"add":a?f&&l(i.get("length")):(l(i.get(Yt)),hn(e)&&l(i.get(Rs)));break;case"delete":a||(l(i.get(Yt)),hn(e)&&l(i.get(Rs)));break;case"set":hn(e)&&l(i.get(Yt));break}}to()}function Fc(e,t){const n=br.get(e);return n&&n.get(t)}function ln(e){const t=ne(e);return t===e?t:(Ae(t,"iterate",Gn),Ue(e)?t:t.map(et))}function Wr(e){return Ae(e=ne(e),"iterate",Gn),e}function Pt(e,t){return ut(e)?Lt(e)?wn(et(t)):wn(t):et(t)}const Bc={__proto__:null,[Symbol.iterator](){return ss(this,Symbol.iterator,e=>Pt(this,e))},concat(...e){return ln(this).concat(...e.map(t=>G(t)?ln(t):t))},entries(){return ss(this,"entries",e=>(e[1]=Pt(this,e[1]),e))},every(e,t){return dt(this,"every",e,t,void 0,arguments)},filter(e,t){return dt(this,"filter",e,t,n=>n.map(r=>Pt(this,r)),arguments)},find(e,t){return dt(this,"find",e,t,n=>Pt(this,n),arguments)},findIndex(e,t){return dt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return dt(this,"findLast",e,t,n=>Pt(this,n),arguments)},findLastIndex(e,t){return dt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return dt(this,"forEach",e,t,void 0,arguments)},includes(...e){return os(this,"includes",e)},indexOf(...e){return os(this,"indexOf",e)},join(e){return ln(this).join(e)},lastIndexOf(...e){return os(this,"lastIndexOf",e)},map(e,t){return dt(this,"map",e,t,void 0,arguments)},pop(){return Mn(this,"pop")},push(...e){return Mn(this,"push",e)},reduce(e,...t){return Mo(this,"reduce",e,t)},reduceRight(e,...t){return Mo(this,"reduceRight",e,t)},shift(){return Mn(this,"shift")},some(e,t){return dt(this,"some",e,t,void 0,arguments)},splice(...e){return Mn(this,"splice",e)},toReversed(){return ln(this).toReversed()},toSorted(e){return ln(this).toSorted(e)},toSpliced(...e){return ln(this).toSpliced(...e)},unshift(...e){return Mn(this,"unshift",e)},values(){return ss(this,"values",e=>Pt(this,e))}};function ss(e,t,n){const r=Wr(e),s=r[t]();return r!==e&&!Ue(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const Uc=Array.prototype;function dt(e,t,n,r,s,o){const i=Wr(e),l=i!==e&&!Ue(e),a=i[t];if(a!==Uc[t]){const u=a.apply(e,o);return l?et(u):u}let f=n;i!==e&&(l?f=function(u,h){return n.call(this,Pt(e,u),h,e)}:n.length>2&&(f=function(u,h){return n.call(this,u,h,e)}));const c=a.call(i,f,r);return l&&s?s(c):c}function Mo(e,t,n,r){const s=Wr(e);let o=n;return s!==e&&(Ue(e)?n.length>3&&(o=function(i,l,a){return n.call(this,i,l,a,e)}):o=function(i,l,a){return n.call(this,i,Pt(e,l),a,e)}),s[t](o,...r)}function os(e,t,n){const r=ne(e);Ae(r,"iterate",Gn);const s=r[t](...n);return(s===-1||s===!1)&&Kr(n[0])?(n[0]=ne(n[0]),r[t](...n)):s}function Mn(e,t,n=[]){Et(),eo();const r=ne(e)[t].apply(e,n);return to(),Rt(),r}const $c=Qs("__proto__,__v_isRef,__isVue"),Cl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ze));function Vc(e){Ze(e)||(e=String(e));const t=ne(this);return Ae(t,"has",e),t.hasOwnProperty(e)}class Sl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Zc:kl:o?Pl:xl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=G(t);if(!s){let a;if(i&&(a=Bc[n]))return a;if(n==="hasOwnProperty")return Vc}const l=Reflect.get(t,n,_e(t)?t:r);if((Ze(n)?Cl.has(n):$c(n))||(s||Ae(t,"get",n),o))return l;if(_e(l)){const a=i&&Dr(n)?l:l.value;return s&&ie(a)?Cs(a):a}return ie(l)?s?Cs(l):Ft(l):l}}class Al extends Sl{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=G(t)&&Dr(n);if(!this._isShallow){const f=ut(o);if(!Ue(r)&&!ut(r)&&(o=ne(o),r=ne(r)),!i&&_e(o)&&!_e(r))return f||(o.value=r),!0}const l=i?Number(n)<t.length:se(t,n),a=Reflect.set(t,n,r,_e(t)?t:s);return t===ne(s)&&(l?Mt(r,o)&&yt(t,"set",n,r):yt(t,"add",n,r)),a}deleteProperty(t,n){const r=se(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&yt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Ze(n)||!Cl.has(n))&&Ae(t,"has",n),r}ownKeys(t){return Ae(t,"iterate",G(t)?"length":Yt),Reflect.ownKeys(t)}}class Wc extends Sl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Kc=new Al,qc=new Wc,Gc=new Al(!0);const Ts=e=>e,rr=e=>Reflect.getPrototypeOf(e);function Jc(e,t,n){return function(...r){const s=this.__v_raw,o=ne(s),i=hn(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,f=s[e](...r),c=n?Ts:t?wn:et;return!t&&Ae(o,"iterate",a?Rs:Yt),{next(){const{value:u,done:h}=f.next();return h?{value:u,done:h}:{value:l?[c(u[0]),c(u[1])]:c(u),done:h}},[Symbol.iterator](){return this}}}}function sr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Yc(e,t){const n={get(s){const o=this.__v_raw,i=ne(o),l=ne(s);e||(Mt(s,l)&&Ae(i,"get",s),Ae(i,"get",l));const{has:a}=rr(i),f=t?Ts:e?wn:et;if(a.call(i,s))return f(o.get(s));if(a.call(i,l))return f(o.get(l));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ae(ne(s),"iterate",Yt),s.size},has(s){const o=this.__v_raw,i=ne(o),l=ne(s);return e||(Mt(s,l)&&Ae(i,"has",s),Ae(i,"has",l)),s===l?o.has(s):o.has(s)||o.has(l)},forEach(s,o){const i=this,l=i.__v_raw,a=ne(l),f=t?Ts:e?wn:et;return!e&&Ae(a,"iterate",Yt),l.forEach((c,u)=>s.call(o,f(c),f(u),i))}};return Ee(n,e?{add:sr("add"),set:sr("set"),delete:sr("delete"),clear:sr("clear")}:{add(s){!t&&!Ue(s)&&!ut(s)&&(s=ne(s));const o=ne(this);return rr(o).has.call(o,s)||(o.add(s),yt(o,"add",s,s)),this},set(s,o){!t&&!Ue(o)&&!ut(o)&&(o=ne(o));const i=ne(this),{has:l,get:a}=rr(i);let f=l.call(i,s);f||(s=ne(s),f=l.call(i,s));const c=a.call(i,s);return i.set(s,o),f?Mt(o,c)&&yt(i,"set",s,o):yt(i,"add",s,o),this},delete(s){const o=ne(this),{has:i,get:l}=rr(o);let a=i.call(o,s);a||(s=ne(s),a=i.call(o,s)),l&&l.call(o,s);const f=o.delete(s);return a&&yt(o,"delete",s,void 0),f},clear(){const s=ne(this),o=s.size!==0,i=s.clear();return o&&yt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Jc(s,e,t)}),n}function so(e,t){const n=Yc(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(se(n,s)&&s in r?n:r,s,o)}const Qc={get:so(!1,!1)},Xc={get:so(!1,!0)},zc={get:so(!0,!1)};const xl=new WeakMap,Pl=new WeakMap,kl=new WeakMap,Zc=new WeakMap;function eu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tu(e){return e.__v_skip||!Object.isExtensible(e)?0:eu(Tc(e))}function Ft(e){return ut(e)?e:oo(e,!1,Kc,Qc,xl)}function at(e){return oo(e,!1,Gc,Xc,Pl)}function Cs(e){return oo(e,!0,qc,zc,kl)}function oo(e,t,n,r,s){if(!ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=tu(e);if(o===0)return e;const i=s.get(e);if(i)return i;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function Lt(e){return ut(e)?Lt(e.__v_raw):!!(e&&e.__v_isReactive)}function ut(e){return!!(e&&e.__v_isReadonly)}function Ue(e){return!!(e&&e.__v_isShallow)}function Kr(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function nu(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&ul(e,"__v_skip",!0),e}const et=e=>ie(e)?Ft(e):e,wn=e=>ie(e)?Cs(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function vt(e){return Ol(e,!1)}function En(e){return Ol(e,!0)}function Ol(e,t){return _e(e)?e:new ru(e,t)}class ru{constructor(t,n){this.dep=new ro,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:et(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ue(t)||ut(t);t=r?t:ne(t),Mt(t,n)&&(this._rawValue=t,this._value=r?t:et(t),this.dep.trigger())}}function mm(e){e.dep&&e.dep.trigger()}function fe(e){return _e(e)?e.value:e}function su(e){return Q(e)?e():fe(e)}const ou={get:(e,t,n)=>t==="__v_raw"?e:fe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return _e(s)&&!_e(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Nl(e){return Lt(e)?e:new Proxy(e,ou)}class iu{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=ne(t);let s=!0,o=t;if(!G(t)||!Dr(String(n)))do s=!Kr(o)||Ue(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=fe(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&_e(this._raw[this._key])){const n=this._object[this._key];if(_e(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Fc(this._raw,this._key)}}class lu{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function au(e,t,n){return _e(e)?e:Q(e)?new lu(e):ie(e)&&arguments.length>1?cu(e,t,n):vt(e)}function cu(e,t,n){return new iu(e,t,n)}class uu{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ro(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=qn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ue!==this)return bl(this,!0),!0}get value(){const t=this.dep.track();return El(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function fu(e,t,n=!1){let r,s;return Q(e)?r=e:(r=e.get,s=e.set),new uu(r,s,n)}const or={},vr=new WeakMap;let qt;function du(e,t=!1,n=qt){if(n){let r=vr.get(n);r||vr.set(n,r=[]),r.push(e)}}function hu(e,t,n=ae){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:l,call:a}=n,f=y=>s?y:Ue(y)||s===!1||s===0?_t(y,1):_t(y);let c,u,h,d,_=!1,b=!1;if(_e(e)?(u=()=>e.value,_=Ue(e)):Lt(e)?(u=()=>f(e),_=!0):G(e)?(b=!0,_=e.some(y=>Lt(y)||Ue(y)),u=()=>e.map(y=>{if(_e(y))return y.value;if(Lt(y))return f(y);if(Q(y))return a?a(y,2):y()})):Q(e)?t?u=a?()=>a(e,2):e:u=()=>{if(h){Et();try{h()}finally{Rt()}}const y=qt;qt=c;try{return a?a(e,3,[d]):e(d)}finally{qt=y}}:u=ct,t&&s){const y=u,w=s===!0?1/0:s;u=()=>_t(y(),w)}const T=ml(),R=()=>{c.stop(),T&&T.active&&zs(T.effects,c)};if(o&&t){const y=t;t=(...w)=>{y(...w),R()}}let v=b?new Array(e.length).fill(or):or;const g=y=>{if(!(!(c.flags&1)||!c.dirty&&!y))if(t){const w=c.run();if(s||_||(b?w.some((x,L)=>Mt(x,v[L])):Mt(w,v))){h&&h();const x=qt;qt=c;try{const L=[w,v===or?void 0:b&&v[0]===or?[]:v,d];v=w,a?a(t,3,L):t(...L)}finally{qt=x}}}else c.run()};return l&&l(g),c=new yl(u),c.scheduler=i?()=>i(g,!1):g,d=y=>du(y,!1,c),h=c.onStop=()=>{const y=vr.get(c);if(y){if(a)a(y,4);else for(const w of y)w();vr.delete(c)}},t?r?g(!0):v=c.run():i?i(g.bind(null,!0),!0):c.run(),R.pause=c.pause.bind(c),R.resume=c.resume.bind(c),R.stop=R,R}function _t(e,t=1/0,n){if(t<=0||!ie(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))_t(e.value,t,n);else if(G(e))for(let r=0;r<e.length;r++)_t(e[r],t,n);else if(Pn(e)||hn(e))e.forEach(r=>{_t(r,t,n)});else if(cl(e)){for(const r in e)_t(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&_t(e[r],t,n)}return e}function Zn(e,t,n,r){try{return r?e(...r):e()}catch(s){On(s,t,n)}}function tt(e,t,n,r){if(Q(e)){const s=Zn(e,t,n,r);return s&&ll(s)&&s.catch(o=>{On(o,t,n)}),s}if(G(e)){const s=[];for(let o=0;o<e.length;o++)s.push(tt(e[o],t,n,r));return s}}function On(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ae;if(t){let l=t.parent;const a=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,a,f)===!1)return}l=l.parent}if(o){Et(),Zn(o,null,10,[e,a,f]),Rt();return}}pu(e,n,s,r,i)}function pu(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Ne=[];let ot=-1;const mn=[];let kt=null,cn=0;const Il=Promise.resolve();let wr=null;function en(e){const t=wr||Il;return e?t.then(this?e.bind(this):e):t}function gu(e){let t=ot+1,n=Ne.length;for(;t<n;){const r=t+n>>>1,s=Ne[r],o=Jn(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function io(e){if(!(e.flags&1)){const t=Jn(e),n=Ne[Ne.length-1];!n||!(e.flags&2)&&t>=Jn(n)?Ne.push(e):Ne.splice(gu(t),0,e),e.flags|=1,Ml()}}function Ml(){wr||(wr=Il.then(Ll))}function Ss(e){G(e)?mn.push(...e):kt&&e.id===-1?kt.splice(cn+1,0,e):e.flags&1||(mn.push(e),e.flags|=1),Ml()}function Lo(e,t,n=ot+1){for(;n<Ne.length;n++){const r=Ne[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ne.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Er(e){if(mn.length){const t=[...new Set(mn)].sort((n,r)=>Jn(n)-Jn(r));if(mn.length=0,kt){kt.push(...t);return}for(kt=t,cn=0;cn<kt.length;cn++){const n=kt[cn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}kt=null,cn=0}}const Jn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ll(e){try{for(ot=0;ot<Ne.length;ot++){const t=Ne[ot];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Zn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ot<Ne.length;ot++){const t=Ne[ot];t&&(t.flags&=-2)}ot=-1,Ne.length=0,Er(),wr=null,(Ne.length||mn.length)&&Ll()}}let Ce=null,Hl=null;function Rr(e){const t=Ce;return Ce=e,Hl=e&&e.type.__scopeId||null,t}function lo(e,t=Ce,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&xr(-1);const o=Rr(t);let i;try{i=e(...s)}finally{Rr(o),r._d&&xr(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ym(e,t){if(Ce===null)return e;const n=Yr(Ce),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,l,a=ae]=t[s];o&&(Q(o)&&(o={mounted:o,updated:o}),o.deep&&_t(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function it(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];o&&(l.oldValue=o[i].value);let a=l.dir[r];a&&(Et(),tt(a,n,8,[e.el,l,e,t]),Rt())}}function Ht(e,t){if(Te){let n=Te.provides;const r=Te.parent&&Te.parent.provides;r===n&&(n=Te.provides=Object.create(r)),n[e]=t}}function Pe(e,t,n=!1){const r=Nn();if(r||Qt){let s=Qt?Qt._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Q(t)?t.call(r&&r.proxy):t}}function ao(){return!!(Nn()||Qt)}const mu=Symbol.for("v-scx"),yu=()=>Pe(mu);function _u(e,t){return co(e,null,t)}function yn(e,t,n){return co(e,t,n)}function co(e,t,n=ae){const{immediate:r,deep:s,flush:o,once:i}=n,l=Ee({},n),a=t&&r||!t&&o!=="post";let f;if(Cn){if(o==="sync"){const d=yu();f=d.__watcherHandles||(d.__watcherHandles=[])}else if(!a){const d=()=>{};return d.stop=ct,d.resume=ct,d.pause=ct,d}}const c=Te;l.call=(d,_,b)=>tt(d,c,_,b);let u=!1;o==="post"?l.scheduler=d=>{we(d,c&&c.suspense)}:o!=="sync"&&(u=!0,l.scheduler=(d,_)=>{_?d():io(d)}),l.augmentJob=d=>{t&&(d.flags|=4),u&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const h=hu(e,t,l);return Cn&&(f?f.push(h):a&&h()),h}function bu(e,t,n){const r=this.proxy,s=pe(e)?e.includes(".")?Dl(r,e):()=>r[e]:e.bind(r,r);let o;Q(t)?o=t:(o=t.handler,n=t);const i=nr(this),l=co(s,o.bind(r),n);return i(),l}function Dl(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const vu=Symbol("_vte"),jl=e=>e.__isTeleport,mt=Symbol("_leaveCb"),ir=Symbol("_enterCb");function wu(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fo(()=>{e.isMounted=!0}),tr(()=>{e.isUnmounting=!0}),e}const We=[Function,Array],Fl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:We,onEnter:We,onAfterEnter:We,onEnterCancelled:We,onBeforeLeave:We,onLeave:We,onAfterLeave:We,onLeaveCancelled:We,onBeforeAppear:We,onAppear:We,onAfterAppear:We,onAppearCancelled:We},Bl=e=>{const t=e.subTree;return t.component?Bl(t.component):t},Eu={name:"BaseTransition",props:Fl,setup(e,{slots:t}){const n=Nn(),r=wu();return()=>{const s=t.default&&Vl(t.default(),!0);if(!s||!s.length)return;const o=Ul(s),i=ne(e),{mode:l}=i;if(r.isLeaving)return is(o);const a=Ho(o);if(!a)return is(o);let f=As(a,i,r,n,u=>f=u);a.type!==ye&&Rn(a,f);let c=n.subTree&&Ho(n.subTree);if(c&&c.type!==ye&&!Xe(c,a)&&Bl(n).type!==ye){let u=As(c,i,r,n);if(Rn(c,u),l==="out-in"&&a.type!==ye)return r.isLeaving=!0,u.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete u.afterLeave,c=void 0},is(o);l==="in-out"&&a.type!==ye?u.delayLeave=(h,d,_)=>{const b=$l(r,c);b[String(c.key)]=c,h[mt]=()=>{d(),h[mt]=void 0,delete f.delayedLeave,c=void 0},f.delayedLeave=()=>{_(),delete f.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Ul(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ye){t=n;break}}return t}const Ru=Eu;function $l(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function As(e,t,n,r,s){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:f,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:h,onLeave:d,onAfterLeave:_,onLeaveCancelled:b,onBeforeAppear:T,onAppear:R,onAfterAppear:v,onAppearCancelled:g}=t,y=String(e.key),w=$l(n,e),x=(I,N)=>{I&&tt(I,r,9,N)},L=(I,N)=>{const W=N[1];x(I,N),G(I)?I.every(O=>O.length<=1)&&W():I.length<=1&&W()},V={mode:i,persisted:l,beforeEnter(I){let N=a;if(!n.isMounted)if(o)N=T||a;else return;I[mt]&&I[mt](!0);const W=w[y];W&&Xe(e,W)&&W.el[mt]&&W.el[mt](),x(N,[I])},enter(I){let N=f,W=c,O=u;if(!n.isMounted)if(o)N=R||f,W=v||c,O=g||u;else return;let K=!1;const ee=I[ir]=le=>{K||(K=!0,le?x(O,[I]):x(W,[I]),V.delayedLeave&&V.delayedLeave(),I[ir]=void 0)};N?L(N,[I,ee]):ee()},leave(I,N){const W=String(e.key);if(I[ir]&&I[ir](!0),n.isUnmounting)return N();x(h,[I]);let O=!1;const K=I[mt]=ee=>{O||(O=!0,N(),ee?x(b,[I]):x(_,[I]),I[mt]=void 0,w[W]===e&&delete w[W])};w[W]=e,d?L(d,[I,K]):K()},clone(I){const N=As(I,t,n,r,s);return s&&s(N),N}};return V}function is(e){if(er(e))return e=Tt(e),e.children=null,e}function Ho(e){if(!er(e))return jl(e.type)&&e.children?Ul(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Q(n.default))return n.default()}}function Rn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Rn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Vl(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Re?(i.patchFlag&128&&s++,r=r.concat(Vl(i.children,t,l))):(t||i.type!==ye)&&r.push(l!=null?Tt(i,{key:l}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Bt(e,t){return Q(e)?Ee({name:e.name},t,{setup:e}):e}function uo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Tr=new WeakMap;function _n(e,t,n,r,s=!1){if(G(e)){e.forEach((_,b)=>_n(_,t&&(G(t)?t[b]:t),n,r,s));return}if(wt(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&_n(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Yr(r.component):r.el,i=s?null:o,{i:l,r:a}=e,f=t&&t.r,c=l.refs===ae?l.refs={}:l.refs,u=l.setupState,h=ne(u),d=u===ae?il:_=>se(h,_);if(f!=null&&f!==a){if(Do(t),pe(f))c[f]=null,d(f)&&(u[f]=null);else if(_e(f)){f.value=null;const _=t;_.k&&(c[_.k]=null)}}if(Q(a))Zn(a,l,12,[i,c]);else{const _=pe(a),b=_e(a);if(_||b){const T=()=>{if(e.f){const R=_?d(a)?u[a]:c[a]:a.value;if(s)G(R)&&zs(R,o);else if(G(R))R.includes(o)||R.push(o);else if(_)c[a]=[o],d(a)&&(u[a]=c[a]);else{const v=[o];a.value=v,e.k&&(c[e.k]=v)}}else _?(c[a]=i,d(a)&&(u[a]=i)):b&&(a.value=i,e.k&&(c[e.k]=i))};if(i){const R=()=>{T(),Tr.delete(e)};R.id=-1,Tr.set(e,R),we(R,n)}else Do(e),T()}}}function Do(e){const t=Tr.get(e);t&&(t.flags|=8,Tr.delete(e))}let jo=!1;const an=()=>{jo||(console.error("Hydration completed but contains mismatches."),jo=!0)},Tu=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Cu=e=>e.namespaceURI.includes("MathML"),lr=e=>{if(e.nodeType===1){if(Tu(e))return"svg";if(Cu(e))return"mathml"}},fn=e=>e.nodeType===8;function Su(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:a,createComment:f}}=e,c=(g,y)=>{if(!y.hasChildNodes()){n(null,g,y),Er(),y._vnode=g;return}u(y.firstChild,g,null,null,null),Er(),y._vnode=g},u=(g,y,w,x,L,V=!1)=>{V=V||!!y.dynamicChildren;const I=fn(g)&&g.data==="[",N=()=>b(g,y,w,x,L,I),{type:W,ref:O,shapeFlag:K,patchFlag:ee}=y;let le=g.nodeType;y.el=g,ee===-2&&(V=!1,y.dynamicChildren=null);let $=null;switch(W){case Xt:le!==3?y.children===""?(a(y.el=s(""),i(g),g),$=g):$=N():(g.data!==y.children&&(an(),g.data=y.children),$=o(g));break;case ye:v(g)?($=o(g),R(y.el=g.content.firstChild,g,w)):le!==8||I?$=N():$=o(g);break;case pr:if(I&&(g=o(g),le=g.nodeType),le===1||le===3){$=g;const X=!y.children.length;for(let B=0;B<y.staticCount;B++)X&&(y.children+=$.nodeType===1?$.outerHTML:$.data),B===y.staticCount-1&&(y.anchor=$),$=o($);return I?o($):$}else N();break;case Re:I?$=_(g,y,w,x,L,V):$=N();break;default:if(K&1)(le!==1||y.type.toLowerCase()!==g.tagName.toLowerCase())&&!v(g)?$=N():$=h(g,y,w,x,L,V);else if(K&6){y.slotScopeIds=L;const X=i(g);if(I?$=T(g):fn(g)&&g.data==="teleport start"?$=T(g,g.data,"teleport end"):$=o(g),t(y,X,null,w,x,lr(X),V),wt(y)&&!y.type.__asyncResolved){let B;I?(B=me(Re),B.anchor=$?$.previousSibling:X.lastChild):B=g.nodeType===3?Ta(""):me("div"),B.el=g,y.component.subTree=B}}else K&64?le!==8?$=N():$=y.type.hydrate(g,y,w,x,L,V,e,d):K&128&&($=y.type.hydrate(g,y,w,x,lr(i(g)),L,V,e,u))}return O!=null&&_n(O,null,x,y),$},h=(g,y,w,x,L,V)=>{V=V||!!y.dynamicChildren;const{type:I,props:N,patchFlag:W,shapeFlag:O,dirs:K,transition:ee}=y,le=I==="input"||I==="option";if(le||W!==-1){K&&it(y,null,w,"created");let $=!1;if(v(g)){$=ha(null,ee)&&w&&w.vnode.props&&w.vnode.props.appear;const B=g.content.firstChild;if($){const de=B.getAttribute("class");de&&(B.$cls=de),ee.beforeEnter(B)}R(B,g,w),y.el=g=B}if(O&16&&!(N&&(N.innerHTML||N.textContent))){let B=d(g.firstChild,y,g,w,x,L,V);for(;B;){ar(g,1)||an();const de=B;B=B.nextSibling,l(de)}}else if(O&8){let B=y.children;B[0]===`
3
- `&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(B=B.slice(1));const{textContent:de}=g;de!==B&&de!==B.replace(/\r\n|\r/g,`
4
- `)&&(ar(g,0)||an(),g.textContent=y.children)}if(N){if(le||!V||W&48){const B=g.tagName.includes("-");for(const de in N)(le&&(de.endsWith("value")||de==="indeterminate")||zn(de)&&!pn(de)||de[0]==="."||B)&&r(g,de,null,N[de],void 0,w)}else if(N.onClick)r(g,"onClick",null,N.onClick,void 0,w);else if(W&4&&Lt(N.style))for(const B in N.style)N.style[B]}let X;(X=N&&N.onVnodeBeforeMount)&&He(X,w,y),K&&it(y,null,w,"beforeMount"),((X=N&&N.onVnodeMounted)||K||$)&&_a(()=>{X&&He(X,w,y),$&&ee.enter(g),K&&it(y,null,w,"mounted")},x)}return g.nextSibling},d=(g,y,w,x,L,V,I)=>{I=I||!!y.dynamicChildren;const N=y.children,W=N.length;for(let O=0;O<W;O++){const K=I?N[O]:N[O]=Be(N[O]),ee=K.type===Xt;g?(ee&&!I&&O+1<W&&Be(N[O+1]).type===Xt&&(a(s(g.data.slice(K.children.length)),w,o(g)),g.data=K.children),g=u(g,K,x,L,V,I)):ee&&!K.children?a(K.el=s(""),w):(ar(w,1)||an(),n(null,K,w,null,x,L,lr(w),V))}return g},_=(g,y,w,x,L,V)=>{const{slotScopeIds:I}=y;I&&(L=L?L.concat(I):I);const N=i(g),W=d(o(g),y,N,w,x,L,V);return W&&fn(W)&&W.data==="]"?o(y.anchor=W):(an(),a(y.anchor=f("]"),N,W),W)},b=(g,y,w,x,L,V)=>{if(ar(g.parentElement,1)||an(),y.el=null,V){const W=T(g);for(;;){const O=o(g);if(O&&O!==W)l(O);else break}}const I=o(g),N=i(g);return l(g),n(null,y,N,I,w,x,lr(N),L),w&&(w.vnode.el=y.el,Jr(w,y.el)),I},T=(g,y="[",w="]")=>{let x=0;for(;g;)if(g=o(g),g&&fn(g)&&(g.data===y&&x++,g.data===w)){if(x===0)return o(g);x--}return g},R=(g,y,w)=>{const x=y.parentNode;x&&x.replaceChild(g,y);let L=w;for(;L;)L.vnode.el===y&&(L.vnode.el=L.subTree.el=g),L=L.parent},v=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[c,u]}const Fo="data-allow-mismatch",Au={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function ar(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Fo);)e=e.parentElement;const n=e&&e.getAttribute(Fo);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(Au[t])}}Ur().requestIdleCallback;Ur().cancelIdleCallback;function xu(e,t){if(fn(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(fn(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const wt=e=>!!e.type.__asyncLoader;function Bo(e){Q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:l=!0,onError:a}=e;let f=null,c,u=0;const h=()=>(u++,f=null,d()),d=()=>{let _;return f||(_=f=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),a)return new Promise((T,R)=>{a(b,()=>T(h()),()=>R(b),u+1)});throw b}).then(b=>_!==f&&f?f:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),c=b,b)))};return Bt({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(_,b,T){let R=!1;(b.bu||(b.bu=[])).push(()=>R=!0);const v=()=>{R||T()},g=o?()=>{const y=o(v,w=>xu(_,w));y&&(b.bum||(b.bum=[])).push(y)}:v;c?g():d().then(()=>!b.isUnmounted&&g())},get __asyncResolved(){return c},setup(){const _=Te;if(uo(_),c)return()=>cr(c,_);const b=g=>{f=null,On(g,_,13,!r)};if(l&&_.suspense||Cn)return d().then(g=>()=>cr(g,_)).catch(g=>(b(g),()=>r?me(r,{error:g}):null));const T=vt(!1),R=vt(),v=vt(!!s);return s&&setTimeout(()=>{v.value=!1},s),i!=null&&setTimeout(()=>{if(!T.value&&!R.value){const g=new Error(`Async component timed out after ${i}ms.`);b(g),R.value=g}},i),d().then(()=>{T.value=!0,_.parent&&er(_.parent.vnode)&&_.parent.update()}).catch(g=>{b(g),R.value=g}),()=>{if(T.value&&c)return cr(c,_);if(R.value&&r)return me(r,{error:R.value});if(n&&!v.value)return cr(n,_)}}})}function cr(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=me(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const er=e=>e.type.__isKeepAlive,Pu={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Nn(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const s=new Map,o=new Set;let i=null;const l=n.suspense,{renderer:{p:a,m:f,um:c,o:{createElement:u}}}=r,h=u("div");r.activate=(v,g,y,w,x)=>{const L=v.component;f(v,g,y,0,l),a(L.vnode,v,g,y,L,l,w,v.slotScopeIds,x),we(()=>{L.isDeactivated=!1,L.a&&gn(L.a);const V=v.props&&v.props.onVnodeMounted;V&&He(V,L.parent,v)},l)},r.deactivate=v=>{const g=v.component;Sr(g.m),Sr(g.a),f(v,h,null,1,l),we(()=>{g.da&&gn(g.da);const y=v.props&&v.props.onVnodeUnmounted;y&&He(y,g.parent,v),g.isDeactivated=!0},l)};function d(v){ls(v),c(v,n,l,!0)}function _(v){s.forEach((g,y)=>{const w=Ls(wt(g)?g.type.__asyncResolved||{}:g.type);w&&!v(w)&&b(y)})}function b(v){const g=s.get(v);g&&(!i||!Xe(g,i))?d(g):i&&ls(i),s.delete(v),o.delete(v)}yn(()=>[e.include,e.exclude],([v,g])=>{v&&_(y=>jn(v,y)),g&&_(y=>!jn(g,y))},{flush:"post",deep:!0});let T=null;const R=()=>{T!=null&&(Ar(n.subTree.type)?we(()=>{s.set(T,ur(n.subTree))},n.subTree.suspense):s.set(T,ur(n.subTree)))};return fo(R),Gl(R),tr(()=>{s.forEach(v=>{const{subTree:g,suspense:y}=n,w=ur(g);if(v.type===w.type&&v.key===w.key){ls(w);const x=w.component.da;x&&we(x,y);return}d(v)})}),()=>{if(T=null,!t.default)return i=null;const v=t.default(),g=v[0];if(v.length>1)return i=null,v;if(!tn(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return i=null,g;let y=ur(g);if(y.type===ye)return i=null,y;const w=y.type,x=Ls(wt(y)?y.type.__asyncResolved||{}:w),{include:L,exclude:V,max:I}=e;if(L&&(!x||!jn(L,x))||V&&x&&jn(V,x))return y.shapeFlag&=-257,i=y,g;const N=y.key==null?w:y.key,W=s.get(N);return y.el&&(y=Tt(y),g.shapeFlag&128&&(g.ssContent=y)),T=N,W?(y.el=W.el,y.component=W.component,y.transition&&Rn(y,y.transition),y.shapeFlag|=512,o.delete(N),o.add(N)):(o.add(N),I&&o.size>parseInt(I,10)&&b(o.values().next().value)),y.shapeFlag|=256,i=y,Ar(g.type)?g:y}}},ku=Pu;function jn(e,t){return G(e)?e.some(n=>jn(n,t)):pe(e)?e.split(",").includes(t):Rc(e)?(e.lastIndex=0,e.test(t)):!1}function Wl(e,t){ql(e,"a",t)}function Kl(e,t){ql(e,"da",t)}function ql(e,t,n=Te){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(qr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)er(s.parent.vnode)&&Ou(r,t,n,s),s=s.parent}}function Ou(e,t,n,r){const s=qr(t,e,r,!0);Jl(()=>{zs(r[t],s)},n)}function ls(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ur(e){return e.shapeFlag&128?e.ssContent:e}function qr(e,t,n=Te,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Et();const l=nr(n),a=tt(t,n,e,i);return l(),Rt(),a});return r?s.unshift(o):s.push(o),o}}const Ct=e=>(t,n=Te)=>{(!Cn||e==="sp")&&qr(e,(...r)=>t(...r),n)},Nu=Ct("bm"),fo=Ct("m"),Iu=Ct("bu"),Gl=Ct("u"),tr=Ct("bum"),Jl=Ct("um"),Mu=Ct("sp"),Lu=Ct("rtg"),Hu=Ct("rtc");function Yl(e,t=Te){qr("ec",e,t)}const Ql="components";function _m(e,t){return zl(Ql,e,!0,t)||e}const Xl=Symbol.for("v-ndc");function Du(e){return pe(e)?zl(Ql,e,!1)||e:e||Xl}function zl(e,t,n=!0,r=!1){const s=Ce||Te;if(s){const o=s.type;{const l=Ls(o,!1);if(l&&(l===t||l===Ye(t)||l===Fr(Ye(t))))return o}const i=Uo(s[e]||o[e],t)||Uo(s.appContext[e],t);return!i&&r?o:i}}function Uo(e,t){return e&&(e[t]||e[Ye(t)]||e[Fr(Ye(t))])}function bm(e,t,n,r){let s;const o=n,i=G(e);if(i||pe(e)){const l=i&&Lt(e);let a=!1,f=!1;l&&(a=!Ue(e),f=ut(e),e=Wr(e)),s=new Array(e.length);for(let c=0,u=e.length;c<u;c++)s[c]=t(a?f?wn(et(e[c])):et(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,o)}else if(ie(e))if(e[Symbol.iterator])s=Array.from(e,(l,a)=>t(l,a,void 0,o));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,f=l.length;a<f;a++){const c=l[a];s[a]=t(e[c],c,a,o)}}else s=[];return s}function vm(e,t,n={},r,s){if(Ce.ce||Ce.parent&&wt(Ce.parent)&&Ce.parent.ce){const f=Object.keys(n).length>0;return t!=="default"&&(n.name=t),qe(),lt(Re,null,[me("slot",n,r&&r())],f?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),qe();const i=o&&Zl(o(n)),l=n.key||i&&i.key,a=lt(Re,{key:(l&&!Ze(l)?l:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Zl(e){return e.some(t=>tn(t)?!(t.type===ye||t.type===Re&&!Zl(t.children)):!0)?e:null}const xs=e=>e?Sa(e)?Yr(e):xs(e.parent):null,$n=Ee(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=>xs(e.parent),$root:e=>xs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ta(e),$forceUpdate:e=>e.f||(e.f=()=>{io(e.update)}),$nextTick:e=>e.n||(e.n=en.bind(e.proxy)),$watch:e=>bu.bind(e)}),as=(e,t)=>e!==ae&&!e.__isScriptSetup&&se(e,t),ju={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(as(r,t))return i[t]=1,r[t];if(s!==ae&&se(s,t))return i[t]=2,s[t];if(se(o,t))return i[t]=3,o[t];if(n!==ae&&se(n,t))return i[t]=4,n[t];Ps&&(i[t]=0)}}const f=$n[t];let c,u;if(f)return t==="$attrs"&&Ae(e.attrs,"get",""),f(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==ae&&se(n,t))return i[t]=4,n[t];if(u=a.config.globalProperties,se(u,t))return u[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return as(s,t)?(s[t]=n,!0):r!==ae&&se(r,t)?(r[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:i}},l){let a;return!!(n[l]||e!==ae&&l[0]!=="$"&&se(e,l)||as(t,l)||se(o,l)||se(r,l)||se($n,l)||se(s.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function $o(e){return G(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ps=!0;function Fu(e){const t=ta(e),n=e.proxy,r=e.ctx;Ps=!1,t.beforeCreate&&Vo(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:a,inject:f,created:c,beforeMount:u,mounted:h,beforeUpdate:d,updated:_,activated:b,deactivated:T,beforeDestroy:R,beforeUnmount:v,destroyed:g,unmounted:y,render:w,renderTracked:x,renderTriggered:L,errorCaptured:V,serverPrefetch:I,expose:N,inheritAttrs:W,components:O,directives:K,filters:ee}=t;if(f&&Bu(f,r,null),i)for(const X in i){const B=i[X];Q(B)&&(r[X]=B.bind(n))}if(s){const X=s.call(n,n);ie(X)&&(e.data=Ft(X))}if(Ps=!0,o)for(const X in o){const B=o[X],de=Q(B)?B.bind(n,n):Q(B.get)?B.get.bind(n,n):ct,St=!Q(B)&&Q(B.set)?B.set.bind(n):ct,rt=Ge({get:de,set:St});Object.defineProperty(r,X,{enumerable:!0,configurable:!0,get:()=>rt.value,set:Ie=>rt.value=Ie})}if(l)for(const X in l)ea(l[X],r,n,X);if(a){const X=Q(a)?a.call(n):a;Reflect.ownKeys(X).forEach(B=>{Ht(B,X[B])})}c&&Vo(c,e,"c");function $(X,B){G(B)?B.forEach(de=>X(de.bind(n))):B&&X(B.bind(n))}if($(Nu,u),$(fo,h),$(Iu,d),$(Gl,_),$(Wl,b),$(Kl,T),$(Yl,V),$(Hu,x),$(Lu,L),$(tr,v),$(Jl,y),$(Mu,I),G(N))if(N.length){const X=e.exposed||(e.exposed={});N.forEach(B=>{Object.defineProperty(X,B,{get:()=>n[B],set:de=>n[B]=de,enumerable:!0})})}else e.exposed||(e.exposed={});w&&e.render===ct&&(e.render=w),W!=null&&(e.inheritAttrs=W),O&&(e.components=O),K&&(e.directives=K),I&&uo(e)}function Bu(e,t,n=ct){G(e)&&(e=ks(e));for(const r in e){const s=e[r];let o;ie(s)?"default"in s?o=Pe(s.from||r,s.default,!0):o=Pe(s.from||r):o=Pe(s),_e(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Vo(e,t,n){tt(G(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ea(e,t,n,r){let s=r.includes(".")?Dl(n,r):()=>n[r];if(pe(e)){const o=t[e];Q(o)&&yn(s,o)}else if(Q(e))yn(s,e.bind(n));else if(ie(e))if(G(e))e.forEach(o=>ea(o,t,n,r));else{const o=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(o)&&yn(s,o,e)}}function ta(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(f=>Cr(a,f,i,!0)),Cr(a,t,i)),ie(t)&&o.set(t,a),a}function Cr(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Cr(e,o,n,!0),s&&s.forEach(i=>Cr(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Uu[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Uu={data:Wo,props:Ko,emits:Ko,methods:Fn,computed:Fn,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:Fn,directives:Fn,watch:Vu,provide:Wo,inject:$u};function Wo(e,t){return t?e?function(){return Ee(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function $u(e,t){return Fn(ks(e),ks(t))}function ks(e){if(G(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ke(e,t){return e?[...new Set([].concat(e,t))]:t}function Fn(e,t){return e?Ee(Object.create(null),e,t):t}function Ko(e,t){return e?G(e)&&G(t)?[...new Set([...e,...t])]:Ee(Object.create(null),$o(e),$o(t??{})):t}function Vu(e,t){if(!e)return t;if(!t)return e;const n=Ee(Object.create(null),e);for(const r in t)n[r]=ke(e[r],t[r]);return n}function na(){return{app:null,config:{isNativeTag:il,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 Wu=0;function Ku(e,t){return function(r,s=null){Q(r)||(r=Ee({},r)),s!=null&&!ie(s)&&(s=null);const o=na(),i=new WeakSet,l=[];let a=!1;const f=o.app={_uid:Wu++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Cf,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&Q(c.install)?(i.add(c),c.install(f,...u)):Q(c)&&(i.add(c),c(f,...u))),f},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),f},component(c,u){return u?(o.components[c]=u,f):o.components[c]},directive(c,u){return u?(o.directives[c]=u,f):o.directives[c]},mount(c,u,h){if(!a){const d=f._ceVNode||me(r,s);return d.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),u&&t?t(d,c):e(d,c,h),a=!0,f._container=c,c.__vue_app__=f,Yr(d.component)}},onUnmount(c){l.push(c)},unmount(){a&&(tt(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(c,u){return o.provides[c]=u,f},runWithContext(c){const u=Qt;Qt=f;try{return c()}finally{Qt=u}}};return f}}let Qt=null;const qu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ye(t)}Modifiers`]||e[`${jt(t)}Modifiers`];function Gu(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ae;let s=n;const o=t.startsWith("update:"),i=o&&qu(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>pe(c)?c.trim():c)),i.number&&(s=n.map(Br)));let l,a=r[l=ts(t)]||r[l=ts(Ye(t))];!a&&o&&(a=r[l=ts(jt(t))]),a&&tt(a,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,tt(f,e,6,s)}}const Ju=new WeakMap;function ra(e,t,n=!1){const r=n?Ju:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!Q(e)){const a=f=>{const c=ra(f,t,!0);c&&(l=!0,Ee(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(ie(e)&&r.set(e,null),null):(G(o)?o.forEach(a=>i[a]=null):Ee(i,o),ie(e)&&r.set(e,i),i)}function Gr(e,t){return!e||!zn(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,jt(t))||se(e,t))}function cs(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:a,render:f,renderCache:c,props:u,data:h,setupState:d,ctx:_,inheritAttrs:b}=e,T=Rr(e);let R,v;try{if(n.shapeFlag&4){const y=s||r,w=y;R=Be(f.call(w,y,c,u,d,h,_)),v=l}else{const y=t;R=Be(y.length>1?y(u,{attrs:l,slots:i,emit:a}):y(u,null)),v=t.props?l:Qu(l)}}catch(y){Vn.length=0,On(y,e,1),R=me(ye)}let g=R;if(v&&b!==!1){const y=Object.keys(v),{shapeFlag:w}=g;y.length&&w&7&&(o&&y.some(Xs)&&(v=Xu(v,o)),g=Tt(g,v,!1,!0))}return n.dirs&&(g=Tt(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Rn(g,n.transition),R=g,Rr(T),R}function Yu(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(tn(s)){if(s.type!==ye||s.children==="v-if"){if(n)return;n=s}}else return}return n}const Qu=e=>{let t;for(const n in e)(n==="class"||n==="style"||zn(n))&&((t||(t={}))[n]=e[n]);return t},Xu=(e,t)=>{const n={};for(const r in e)(!Xs(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function zu(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:a}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?qo(r,i,f):!!i;if(a&8){const c=t.dynamicProps;for(let u=0;u<c.length;u++){const h=c[u];if(i[h]!==r[h]&&!Gr(f,h))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?qo(r,i,f):!0:!!i;return!1}function qo(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Gr(n,o))return!0}return!1}function Jr({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const sa={},oa=()=>Object.create(sa),ia=e=>Object.getPrototypeOf(e)===sa;function Zu(e,t,n,r=!1){const s={},o=oa();e.propsDefaults=Object.create(null),la(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:at(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function ef(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=ne(s),[a]=e.propsOptions;let f=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let u=0;u<c.length;u++){let h=c[u];if(Gr(e.emitsOptions,h))continue;const d=t[h];if(a)if(se(o,h))d!==o[h]&&(o[h]=d,f=!0);else{const _=Ye(h);s[_]=Os(a,l,_,d,e,!1)}else d!==o[h]&&(o[h]=d,f=!0)}}}else{la(e,t,s,o)&&(f=!0);let c;for(const u in l)(!t||!se(t,u)&&((c=jt(u))===u||!se(t,c)))&&(a?n&&(n[u]!==void 0||n[c]!==void 0)&&(s[u]=Os(a,l,u,void 0,e,!0)):delete s[u]);if(o!==l)for(const u in o)(!t||!se(t,u))&&(delete o[u],f=!0)}f&&yt(e.attrs,"set","")}function la(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(pn(a))continue;const f=t[a];let c;s&&se(s,c=Ye(a))?!o||!o.includes(c)?n[c]=f:(l||(l={}))[c]=f:Gr(e.emitsOptions,a)||(!(a in r)||f!==r[a])&&(r[a]=f,i=!0)}if(o){const a=ne(n),f=l||ae;for(let c=0;c<o.length;c++){const u=o[c];n[u]=Os(s,a,u,f[u],e,!se(f,u))}}return i}function Os(e,t,n,r,s,o){const i=e[n];if(i!=null){const l=se(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&Q(a)){const{propsDefaults:f}=s;if(n in f)r=f[n];else{const c=nr(s);r=f[n]=a.call(null,t),c()}}else r=a;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!l?r=!1:i[1]&&(r===""||r===jt(n))&&(r=!0))}return r}const tf=new WeakMap;function aa(e,t,n=!1){const r=n?tf:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},l=[];let a=!1;if(!Q(e)){const c=u=>{a=!0;const[h,d]=aa(u,t,!0);Ee(i,h),d&&l.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!a)return ie(e)&&r.set(e,dn),dn;if(G(o))for(let c=0;c<o.length;c++){const u=Ye(o[c]);Go(u)&&(i[u]=ae)}else if(o)for(const c in o){const u=Ye(c);if(Go(u)){const h=o[c],d=i[u]=G(h)||Q(h)?{type:h}:Ee({},h),_=d.type;let b=!1,T=!0;if(G(_))for(let R=0;R<_.length;++R){const v=_[R],g=Q(v)&&v.name;if(g==="Boolean"){b=!0;break}else g==="String"&&(T=!1)}else b=Q(_)&&_.name==="Boolean";d[0]=b,d[1]=T,(b||se(d,"default"))&&l.push(u)}}const f=[i,l];return ie(e)&&r.set(e,f),f}function Go(e){return e[0]!=="$"&&!pn(e)}const ho=e=>e==="_"||e==="_ctx"||e==="$stable",po=e=>G(e)?e.map(Be):[Be(e)],nf=(e,t,n)=>{if(t._n)return t;const r=lo((...s)=>po(t(...s)),n);return r._c=!1,r},ca=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ho(s))continue;const o=e[s];if(Q(o))t[s]=nf(s,o,r);else if(o!=null){const i=po(o);t[s]=()=>i}}},ua=(e,t)=>{const n=po(t);e.slots.default=()=>n},fa=(e,t,n)=>{for(const r in t)(n||!ho(r))&&(e[r]=t[r])},rf=(e,t,n)=>{const r=e.slots=oa();if(e.vnode.shapeFlag&32){const s=t._;s?(fa(r,t,n),n&&ul(r,"_",s,!0)):ca(t,r)}else t&&ua(e,t)},sf=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ae;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:fa(s,t,n):(o=!t.$stable,ca(t,s)),i=t}else t&&(ua(e,t),i={default:1});if(o)for(const l in s)!ho(l)&&i[l]==null&&delete s[l]},we=_a;function of(e){return da(e)}function lf(e){return da(e,Su)}function da(e,t){const n=Ur();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:a,setText:f,setElementText:c,parentNode:u,nextSibling:h,setScopeId:d=ct,insertStaticContent:_}=e,b=(p,m,E,A=null,C=null,P=null,D=void 0,H=null,M=!!m.dynamicChildren)=>{if(p===m)return;p&&!Xe(p,m)&&(A=S(p),Ie(p,C,P,!0),p=null),m.patchFlag===-2&&(M=!1,m.dynamicChildren=null);const{type:k,ref:Y,shapeFlag:F}=m;switch(k){case Xt:T(p,m,E,A);break;case ye:R(p,m,E,A);break;case pr:p==null&&v(m,E,A,D);break;case Re:O(p,m,E,A,C,P,D,H,M);break;default:F&1?w(p,m,E,A,C,P,D,H,M):F&6?K(p,m,E,A,C,P,D,H,M):(F&64||F&128)&&k.process(p,m,E,A,C,P,D,H,M,J)}Y!=null&&C?_n(Y,p&&p.ref,P,m||p,!m):Y==null&&p&&p.ref!=null&&_n(p.ref,null,P,p,!0)},T=(p,m,E,A)=>{if(p==null)r(m.el=l(m.children),E,A);else{const C=m.el=p.el;m.children!==p.children&&f(C,m.children)}},R=(p,m,E,A)=>{p==null?r(m.el=a(m.children||""),E,A):m.el=p.el},v=(p,m,E,A)=>{[p.el,p.anchor]=_(p.children,m,E,A,p.el,p.anchor)},g=({el:p,anchor:m},E,A)=>{let C;for(;p&&p!==m;)C=h(p),r(p,E,A),p=C;r(m,E,A)},y=({el:p,anchor:m})=>{let E;for(;p&&p!==m;)E=h(p),s(p),p=E;s(m)},w=(p,m,E,A,C,P,D,H,M)=>{if(m.type==="svg"?D="svg":m.type==="math"&&(D="mathml"),p==null)x(m,E,A,C,P,D,H,M);else{const k=p.el&&p.el._isVueCE?p.el:null;try{k&&k._beginPatch(),I(p,m,C,P,D,H,M)}finally{k&&k._endPatch()}}},x=(p,m,E,A,C,P,D,H)=>{let M,k;const{props:Y,shapeFlag:F,transition:q,dirs:z}=p;if(M=p.el=i(p.type,P,Y&&Y.is,Y),F&8?c(M,p.children):F&16&&V(p.children,M,null,A,C,us(p,P),D,H),z&&it(p,null,A,"created"),L(M,p,p.scopeId,D,A),Y){for(const ce in Y)ce!=="value"&&!pn(ce)&&o(M,ce,null,Y[ce],P,A);"value"in Y&&o(M,"value",null,Y.value,P),(k=Y.onVnodeBeforeMount)&&He(k,A,p)}z&&it(p,null,A,"beforeMount");const te=ha(C,q);te&&q.beforeEnter(M),r(M,m,E),((k=Y&&Y.onVnodeMounted)||te||z)&&we(()=>{k&&He(k,A,p),te&&q.enter(M),z&&it(p,null,A,"mounted")},C)},L=(p,m,E,A,C)=>{if(E&&d(p,E),A)for(let P=0;P<A.length;P++)d(p,A[P]);if(C){let P=C.subTree;if(m===P||Ar(P.type)&&(P.ssContent===m||P.ssFallback===m)){const D=C.vnode;L(p,D,D.scopeId,D.slotScopeIds,C.parent)}}},V=(p,m,E,A,C,P,D,H,M=0)=>{for(let k=M;k<p.length;k++){const Y=p[k]=H?Ot(p[k]):Be(p[k]);b(null,Y,m,E,A,C,P,D,H)}},I=(p,m,E,A,C,P,D)=>{const H=m.el=p.el;let{patchFlag:M,dynamicChildren:k,dirs:Y}=m;M|=p.patchFlag&16;const F=p.props||ae,q=m.props||ae;let z;if(E&&$t(E,!1),(z=q.onVnodeBeforeUpdate)&&He(z,E,m,p),Y&&it(m,p,E,"beforeUpdate"),E&&$t(E,!0),(F.innerHTML&&q.innerHTML==null||F.textContent&&q.textContent==null)&&c(H,""),k?N(p.dynamicChildren,k,H,E,A,us(m,C),P):D||B(p,m,H,null,E,A,us(m,C),P,!1),M>0){if(M&16)W(H,F,q,E,C);else if(M&2&&F.class!==q.class&&o(H,"class",null,q.class,C),M&4&&o(H,"style",F.style,q.style,C),M&8){const te=m.dynamicProps;for(let ce=0;ce<te.length;ce++){const oe=te[ce],Me=F[oe],Se=q[oe];(Se!==Me||oe==="value")&&o(H,oe,Me,Se,C,E)}}M&1&&p.children!==m.children&&c(H,m.children)}else!D&&k==null&&W(H,F,q,E,C);((z=q.onVnodeUpdated)||Y)&&we(()=>{z&&He(z,E,m,p),Y&&it(m,p,E,"updated")},A)},N=(p,m,E,A,C,P,D)=>{for(let H=0;H<m.length;H++){const M=p[H],k=m[H],Y=M.el&&(M.type===Re||!Xe(M,k)||M.shapeFlag&198)?u(M.el):E;b(M,k,Y,null,A,C,P,D,!0)}},W=(p,m,E,A,C)=>{if(m!==E){if(m!==ae)for(const P in m)!pn(P)&&!(P in E)&&o(p,P,m[P],null,C,A);for(const P in E){if(pn(P))continue;const D=E[P],H=m[P];D!==H&&P!=="value"&&o(p,P,H,D,C,A)}"value"in E&&o(p,"value",m.value,E.value,C)}},O=(p,m,E,A,C,P,D,H,M)=>{const k=m.el=p?p.el:l(""),Y=m.anchor=p?p.anchor:l("");let{patchFlag:F,dynamicChildren:q,slotScopeIds:z}=m;z&&(H=H?H.concat(z):z),p==null?(r(k,E,A),r(Y,E,A),V(m.children||[],E,Y,C,P,D,H,M)):F>0&&F&64&&q&&p.dynamicChildren&&p.dynamicChildren.length===q.length?(N(p.dynamicChildren,q,E,C,P,D,H),(m.key!=null||C&&m===C.subTree)&&pa(p,m,!0)):B(p,m,E,Y,C,P,D,H,M)},K=(p,m,E,A,C,P,D,H,M)=>{m.slotScopeIds=H,p==null?m.shapeFlag&512?C.ctx.activate(m,E,A,D,M):ee(m,E,A,C,P,D,M):le(p,m,M)},ee=(p,m,E,A,C,P,D)=>{const H=p.component=bf(p,A,C);if(er(p)&&(H.ctx.renderer=J),vf(H,!1,D),H.asyncDep){if(C&&C.registerDep(H,$,D),!p.el){const M=H.subTree=me(ye);R(null,M,m,E),p.placeholder=M.el}}else $(H,p,m,E,C,P,D)},le=(p,m,E)=>{const A=m.component=p.component;if(zu(p,m,E))if(A.asyncDep&&!A.asyncResolved){X(A,m,E);return}else A.next=m,A.update();else m.el=p.el,A.vnode=m},$=(p,m,E,A,C,P,D)=>{const H=()=>{if(p.isMounted){let{next:F,bu:q,u:z,parent:te,vnode:ce}=p;{const je=ga(p);if(je){F&&(F.el=ce.el,X(p,F,D)),je.asyncDep.then(()=>{p.isUnmounted||H()});return}}let oe=F,Me;$t(p,!1),F?(F.el=ce.el,X(p,F,D)):F=ce,q&&gn(q),(Me=F.props&&F.props.onVnodeBeforeUpdate)&&He(Me,te,F,ce),$t(p,!0);const Se=cs(p),Qe=p.subTree;p.subTree=Se,b(Qe,Se,u(Qe.el),S(Qe),p,C,P),F.el=Se.el,oe===null&&Jr(p,Se.el),z&&we(z,C),(Me=F.props&&F.props.onVnodeUpdated)&&we(()=>He(Me,te,F,ce),C)}else{let F;const{el:q,props:z}=m,{bm:te,m:ce,parent:oe,root:Me,type:Se}=p,Qe=wt(m);if($t(p,!1),te&&gn(te),!Qe&&(F=z&&z.onVnodeBeforeMount)&&He(F,oe,m),$t(p,!0),q&&he){const je=()=>{p.subTree=cs(p),he(q,p.subTree,p,C,null)};Qe&&Se.__asyncHydrate?Se.__asyncHydrate(q,p,je):je()}else{Me.ce&&Me.ce._def.shadowRoot!==!1&&Me.ce._injectChildStyle(Se);const je=p.subTree=cs(p);b(null,je,E,A,p,C,P),m.el=je.el}if(ce&&we(ce,C),!Qe&&(F=z&&z.onVnodeMounted)){const je=m;we(()=>He(F,oe,je),C)}(m.shapeFlag&256||oe&&wt(oe.vnode)&&oe.vnode.shapeFlag&256)&&p.a&&we(p.a,C),p.isMounted=!0,m=E=A=null}};p.scope.on();const M=p.effect=new yl(H);p.scope.off();const k=p.update=M.run.bind(M),Y=p.job=M.runIfDirty.bind(M);Y.i=p,Y.id=p.uid,M.scheduler=()=>io(Y),$t(p,!0),k()},X=(p,m,E)=>{m.component=p;const A=p.vnode.props;p.vnode=m,p.next=null,ef(p,m.props,A,E),sf(p,m.children,E),Et(),Lo(p),Rt()},B=(p,m,E,A,C,P,D,H,M=!1)=>{const k=p&&p.children,Y=p?p.shapeFlag:0,F=m.children,{patchFlag:q,shapeFlag:z}=m;if(q>0){if(q&128){St(k,F,E,A,C,P,D,H,M);return}else if(q&256){de(k,F,E,A,C,P,D,H,M);return}}z&8?(Y&16&&Ve(k,C,P),F!==k&&c(E,F)):Y&16?z&16?St(k,F,E,A,C,P,D,H,M):Ve(k,C,P,!0):(Y&8&&c(E,""),z&16&&V(F,E,A,C,P,D,H,M))},de=(p,m,E,A,C,P,D,H,M)=>{p=p||dn,m=m||dn;const k=p.length,Y=m.length,F=Math.min(k,Y);let q;for(q=0;q<F;q++){const z=m[q]=M?Ot(m[q]):Be(m[q]);b(p[q],z,E,null,C,P,D,H,M)}k>Y?Ve(p,C,P,!0,!1,F):V(m,E,A,C,P,D,H,M,F)},St=(p,m,E,A,C,P,D,H,M)=>{let k=0;const Y=m.length;let F=p.length-1,q=Y-1;for(;k<=F&&k<=q;){const z=p[k],te=m[k]=M?Ot(m[k]):Be(m[k]);if(Xe(z,te))b(z,te,E,null,C,P,D,H,M);else break;k++}for(;k<=F&&k<=q;){const z=p[F],te=m[q]=M?Ot(m[q]):Be(m[q]);if(Xe(z,te))b(z,te,E,null,C,P,D,H,M);else break;F--,q--}if(k>F){if(k<=q){const z=q+1,te=z<Y?m[z].el:A;for(;k<=q;)b(null,m[k]=M?Ot(m[k]):Be(m[k]),E,te,C,P,D,H,M),k++}}else if(k>q)for(;k<=F;)Ie(p[k],C,P,!0),k++;else{const z=k,te=k,ce=new Map;for(k=te;k<=q;k++){const Fe=m[k]=M?Ot(m[k]):Be(m[k]);Fe.key!=null&&ce.set(Fe.key,k)}let oe,Me=0;const Se=q-te+1;let Qe=!1,je=0;const In=new Array(Se);for(k=0;k<Se;k++)In[k]=0;for(k=z;k<=F;k++){const Fe=p[k];if(Me>=Se){Ie(Fe,C,P,!0);continue}let st;if(Fe.key!=null)st=ce.get(Fe.key);else for(oe=te;oe<=q;oe++)if(In[oe-te]===0&&Xe(Fe,m[oe])){st=oe;break}st===void 0?Ie(Fe,C,P,!0):(In[st-te]=k+1,st>=je?je=st:Qe=!0,b(Fe,m[st],E,null,C,P,D,H,M),Me++)}const xo=Qe?af(In):dn;for(oe=xo.length-1,k=Se-1;k>=0;k--){const Fe=te+k,st=m[Fe],Po=m[Fe+1],ko=Fe+1<Y?Po.el||ma(Po):A;In[k]===0?b(null,st,E,ko,C,P,D,H,M):Qe&&(oe<0||k!==xo[oe]?rt(st,E,ko,2):oe--)}}},rt=(p,m,E,A,C=null)=>{const{el:P,type:D,transition:H,children:M,shapeFlag:k}=p;if(k&6){rt(p.component.subTree,m,E,A);return}if(k&128){p.suspense.move(m,E,A);return}if(k&64){D.move(p,m,E,J);return}if(D===Re){r(P,m,E);for(let F=0;F<M.length;F++)rt(M[F],m,E,A);r(p.anchor,m,E);return}if(D===pr){g(p,m,E);return}if(A!==2&&k&1&&H)if(A===0)H.beforeEnter(P),r(P,m,E),we(()=>H.enter(P),C);else{const{leave:F,delayLeave:q,afterLeave:z}=H,te=()=>{p.ctx.isUnmounted?s(P):r(P,m,E)},ce=()=>{P._isLeaving&&P[mt](!0),F(P,()=>{te(),z&&z()})};q?q(P,te,ce):ce()}else r(P,m,E)},Ie=(p,m,E,A=!1,C=!1)=>{const{type:P,props:D,ref:H,children:M,dynamicChildren:k,shapeFlag:Y,patchFlag:F,dirs:q,cacheIndex:z}=p;if(F===-2&&(C=!1),H!=null&&(Et(),_n(H,null,E,p,!0),Rt()),z!=null&&(m.renderCache[z]=void 0),Y&256){m.ctx.deactivate(p);return}const te=Y&1&&q,ce=!wt(p);let oe;if(ce&&(oe=D&&D.onVnodeBeforeUnmount)&&He(oe,m,p),Y&6)Ut(p.component,E,A);else{if(Y&128){p.suspense.unmount(E,A);return}te&&it(p,null,m,"beforeUnmount"),Y&64?p.type.remove(p,m,E,J,A):k&&!k.hasOnce&&(P!==Re||F>0&&F&64)?Ve(k,m,E,!1,!0):(P===Re&&F&384||!C&&Y&16)&&Ve(M,m,E),A&&sn(p)}(ce&&(oe=D&&D.onVnodeUnmounted)||te)&&we(()=>{oe&&He(oe,m,p),te&&it(p,null,m,"unmounted")},E)},sn=p=>{const{type:m,el:E,anchor:A,transition:C}=p;if(m===Re){on(E,A);return}if(m===pr){y(p);return}const P=()=>{s(E),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(p.shapeFlag&1&&C&&!C.persisted){const{leave:D,delayLeave:H}=C,M=()=>D(E,P);H?H(p.el,P,M):M()}else P()},on=(p,m)=>{let E;for(;p!==m;)E=h(p),s(p),p=E;s(m)},Ut=(p,m,E)=>{const{bum:A,scope:C,job:P,subTree:D,um:H,m:M,a:k}=p;Sr(M),Sr(k),A&&gn(A),C.stop(),P&&(P.flags|=8,Ie(D,p,m,E)),H&&we(H,m),we(()=>{p.isUnmounted=!0},m)},Ve=(p,m,E,A=!1,C=!1,P=0)=>{for(let D=P;D<p.length;D++)Ie(p[D],m,E,A,C)},S=p=>{if(p.shapeFlag&6)return S(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const m=h(p.anchor||p.el),E=m&&m[vu];return E?h(E):m};let U=!1;const j=(p,m,E)=>{let A;p==null?m._vnode&&(Ie(m._vnode,null,null,!0),A=m._vnode.component):b(m._vnode||null,p,m,null,null,null,E),m._vnode=p,U||(U=!0,Lo(A),Er(),U=!1)},J={p:b,um:Ie,m:rt,r:sn,mt:ee,mc:V,pc:B,pbc:N,n:S,o:e};let Z,he;return t&&([Z,he]=t(J)),{render:j,hydrate:Z,createApp:Ku(j,Z)}}function us({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function $t({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ha(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function pa(e,t,n=!1){const r=e.children,s=t.children;if(G(r)&&G(s))for(let o=0;o<r.length;o++){const i=r[o];let l=s[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[o]=Ot(s[o]),l.el=i.el),!n&&l.patchFlag!==-2&&pa(i,l)),l.type===Xt&&(l.patchFlag!==-1?l.el=i.el:l.__elIndex=o+(e.type===Re?1:0)),l.type===ye&&!l.el&&(l.el=i.el)}}function af(e){const t=e.slice(),n=[0];let r,s,o,i,l;const a=e.length;for(r=0;r<a;r++){const f=e[r];if(f!==0){if(s=n[n.length-1],e[s]<f){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<f?o=l+1:i=l;f<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function ga(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ga(t)}function Sr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ma(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?ma(t.subTree):null}const Ar=e=>e.__isSuspense;let Ns=0;const cf={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,l,a,f){if(e==null)uf(t,n,r,s,o,i,l,a,f);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ff(e,t,n,r,s,i,l,a,f)}},hydrate:df,normalize:hf},go=cf;function Yn(e,t){const n=e.props&&e.props[t];Q(n)&&n()}function uf(e,t,n,r,s,o,i,l,a){const{p:f,o:{createElement:c}}=a,u=c("div"),h=e.suspense=ya(e,s,r,t,u,n,o,i,l,a);f(null,h.pendingBranch=e.ssContent,u,null,r,h,o,i),h.deps>0?(Yn(e,"onPending"),Yn(e,"onFallback"),f(null,e.ssFallback,t,n,r,null,o,i),bn(h,e.ssFallback)):h.resolve(!1,!0)}function ff(e,t,n,r,s,o,i,l,{p:a,um:f,o:{createElement:c}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const h=t.ssContent,d=t.ssFallback,{activeBranch:_,pendingBranch:b,isInFallback:T,isHydrating:R}=u;if(b)u.pendingBranch=h,Xe(b,h)?(a(b,h,u.hiddenContainer,null,s,u,o,i,l),u.deps<=0?u.resolve():T&&(R||(a(_,d,n,r,s,null,o,i,l),bn(u,d)))):(u.pendingId=Ns++,R?(u.isHydrating=!1,u.activeBranch=b):f(b,s,u),u.deps=0,u.effects.length=0,u.hiddenContainer=c("div"),T?(a(null,h,u.hiddenContainer,null,s,u,o,i,l),u.deps<=0?u.resolve():(a(_,d,n,r,s,null,o,i,l),bn(u,d))):_&&Xe(_,h)?(a(_,h,n,r,s,u,o,i,l),u.resolve(!0)):(a(null,h,u.hiddenContainer,null,s,u,o,i,l),u.deps<=0&&u.resolve()));else if(_&&Xe(_,h))a(_,h,n,r,s,u,o,i,l),bn(u,h);else if(Yn(t,"onPending"),u.pendingBranch=h,h.shapeFlag&512?u.pendingId=h.component.suspenseId:u.pendingId=Ns++,a(null,h,u.hiddenContainer,null,s,u,o,i,l),u.deps<=0)u.resolve();else{const{timeout:v,pendingId:g}=u;v>0?setTimeout(()=>{u.pendingId===g&&u.fallback(d)},v):v===0&&u.fallback(d)}}function ya(e,t,n,r,s,o,i,l,a,f,c=!1){const{p:u,m:h,um:d,n:_,o:{parentNode:b,remove:T}}=f;let R;const v=pf(e);v&&t&&t.pendingBranch&&(R=t.pendingId,t.deps++);const g=e.props?fl(e.props.timeout):void 0,y=o,w={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Ns++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(x=!1,L=!1){const{vnode:V,activeBranch:I,pendingBranch:N,pendingId:W,effects:O,parentComponent:K,container:ee,isInFallback:le}=w;let $=!1;w.isHydrating?w.isHydrating=!1:x||($=I&&N.transition&&N.transition.mode==="out-in",$&&(I.transition.afterLeave=()=>{W===w.pendingId&&(h(N,ee,o===y?_(I):o,0),Ss(O),le&&V.ssFallback&&(V.ssFallback.el=null))}),I&&(b(I.el)===ee&&(o=_(I)),d(I,K,w,!0),!$&&le&&V.ssFallback&&we(()=>V.ssFallback.el=null,w)),$||h(N,ee,o,0)),bn(w,N),w.pendingBranch=null,w.isInFallback=!1;let X=w.parent,B=!1;for(;X;){if(X.pendingBranch){X.effects.push(...O),B=!0;break}X=X.parent}!B&&!$&&Ss(O),w.effects=[],v&&t&&t.pendingBranch&&R===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),Yn(V,"onResolve")},fallback(x){if(!w.pendingBranch)return;const{vnode:L,activeBranch:V,parentComponent:I,container:N,namespace:W}=w;Yn(L,"onFallback");const O=_(V),K=()=>{w.isInFallback&&(u(null,x,N,O,I,null,W,l,a),bn(w,x))},ee=x.transition&&x.transition.mode==="out-in";ee&&(V.transition.afterLeave=K),w.isInFallback=!0,d(V,I,null,!0),ee||K()},move(x,L,V){w.activeBranch&&h(w.activeBranch,x,L,V),w.container=x},next(){return w.activeBranch&&_(w.activeBranch)},registerDep(x,L,V){const I=!!w.pendingBranch;I&&w.deps++;const N=x.vnode.el;x.asyncDep.catch(W=>{On(W,x,0)}).then(W=>{if(x.isUnmounted||w.isUnmounted||w.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:O}=x;Ms(x,W),N&&(O.el=N);const K=!N&&x.subTree.el;L(x,O,b(N||x.subTree.el),N?null:_(x.subTree),w,i,V),K&&(O.placeholder=null,T(K)),Jr(x,O.el),I&&--w.deps===0&&w.resolve()})},unmount(x,L){w.isUnmounted=!0,w.activeBranch&&d(w.activeBranch,n,x,L),w.pendingBranch&&d(w.pendingBranch,n,x,L)}};return w}function df(e,t,n,r,s,o,i,l,a){const f=t.suspense=ya(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,l,!0),c=a(e,f.pendingBranch=t.ssContent,n,f,o,i);return f.deps===0&&f.resolve(!1,!0),c}function hf(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Jo(r?n.default:n),e.ssFallback=r?Jo(n.fallback):me(ye)}function Jo(e){let t;if(Q(e)){const n=Tn&&e._c;n&&(e._d=!1,qe()),e=e(),n&&(e._d=!0,t=De,ba())}return G(e)&&(e=Yu(e)),e=Be(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function _a(e,t){t&&t.pendingBranch?G(e)?t.effects.push(...e):t.effects.push(e):Ss(e)}function bn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Jr(r,s))}function pf(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Re=Symbol.for("v-fgt"),Xt=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),pr=Symbol.for("v-stc"),Vn=[];let De=null;function qe(e=!1){Vn.push(De=e?null:[])}function ba(){Vn.pop(),De=Vn[Vn.length-1]||null}let Tn=1;function xr(e,t=!1){Tn+=e,e<0&&De&&t&&(De.hasOnce=!0)}function va(e){return e.dynamicChildren=Tn>0?De||dn:null,ba(),Tn>0&&De&&De.push(e),e}function gf(e,t,n,r,s,o){return va(Ea(e,t,n,r,s,o,!0))}function lt(e,t,n,r,s){return va(me(e,t,n,r,s,!0))}function tn(e){return e?e.__v_isVNode===!0:!1}function Xe(e,t){return e.type===t.type&&e.key===t.key}const wa=({key:e})=>e??null,gr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||_e(e)||Q(e)?{i:Ce,r:e,k:t,f:!!n}:e:null);function Ea(e,t=null,n=null,r=0,s=null,o=e===Re?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wa(t),ref:t&&gr(t),scopeId:Hl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ce};return l?(mo(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=pe(n)?8:16),Tn>0&&!i&&De&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&De.push(a),a}const me=mf;function mf(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Xl)&&(e=ye),tn(e)){const l=Tt(e,t,!0);return n&&mo(l,n),Tn>0&&!o&&De&&(l.shapeFlag&6?De[De.indexOf(e)]=l:De.push(l)),l.patchFlag=-2,l}if(Tf(e)&&(e=e.__vccOpts),t){t=Ra(t);let{class:l,style:a}=t;l&&!pe(l)&&(t.class=Vr(l)),ie(a)&&(Kr(a)&&!G(a)&&(a=Ee({},a)),t.style=$r(a))}const i=pe(e)?1:Ar(e)?128:jl(e)?64:ie(e)?4:Q(e)?2:0;return Ea(e,t,n,r,s,i,o,!0)}function Ra(e){return e?Kr(e)||ia(e)?Ee({},e):e:null}function Tt(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:a}=e,f=t?Ca(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&wa(f),ref:t&&t.ref?n&&o?G(o)?o.concat(gr(t)):[o,gr(t)]:gr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Re?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Tt(e.ssContent),ssFallback:e.ssFallback&&Tt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&Rn(c,a.clone(c)),c}function Ta(e=" ",t=0){return me(Xt,null,e,t)}function wm(e="",t=!1){return t?(qe(),lt(ye,null,e)):me(ye,null,e)}function Be(e){return e==null||typeof e=="boolean"?me(ye):G(e)?me(Re,null,e.slice()):tn(e)?Ot(e):me(Xt,null,String(e))}function Ot(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Tt(e)}function mo(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(G(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),mo(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!ia(t)?t._ctx=Ce:s===3&&Ce&&(Ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Ce},n=32):(t=String(t),r&64?(n=16,t=[Ta(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ca(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Vr([t.class,r.class]));else if(s==="style")t.style=$r([t.style,r.style]);else if(zn(s)){const o=t[s],i=r[s];i&&o!==i&&!(G(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function He(e,t,n,r=null){tt(e,t,7,[n,r])}const yf=na();let _f=0;function bf(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||yf,o={uid:_f++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new gl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:aa(r,s),emitsOptions:ra(r,s),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:r.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Gu.bind(null,o),e.ce&&e.ce(o),o}let Te=null;const Nn=()=>Te||Ce;let Pr,Is;{const e=Ur(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Pr=t("__VUE_INSTANCE_SETTERS__",n=>Te=n),Is=t("__VUE_SSR_SETTERS__",n=>Cn=n)}const nr=e=>{const t=Te;return Pr(e),e.scope.on(),()=>{e.scope.off(),Pr(t)}},Yo=()=>{Te&&Te.scope.off(),Pr(null)};function Sa(e){return e.vnode.shapeFlag&4}let Cn=!1;function vf(e,t=!1,n=!1){t&&Is(t);const{props:r,children:s}=e.vnode,o=Sa(e);Zu(e,r,o,t),rf(e,s,n||t);const i=o?wf(e,t):void 0;return t&&Is(!1),i}function wf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ju);const{setup:r}=n;if(r){Et();const s=e.setupContext=r.length>1?Rf(e):null,o=nr(e),i=Zn(r,e,0,[e.props,s]),l=ll(i);if(Rt(),o(),(l||e.sp)&&!wt(e)&&uo(e),l){if(i.then(Yo,Yo),t)return i.then(a=>{Ms(e,a)}).catch(a=>{On(a,e,0)});e.asyncDep=i}else Ms(e,i)}else Aa(e)}function Ms(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=Nl(t)),Aa(e)}function Aa(e,t,n){const r=e.type;e.render||(e.render=r.render||ct);{const s=nr(e);Et();try{Fu(e)}finally{Rt(),s()}}}const Ef={get(e,t){return Ae(e,"get",""),e[t]}};function Rf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ef),slots:e.slots,emit:e.emit,expose:t}}function Yr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Nl(nu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $n)return $n[n](e)},has(t,n){return n in t||n in $n}})):e.proxy}function Ls(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Tf(e){return Q(e)&&"__vccOpts"in e}const Ge=(e,t)=>fu(e,t,Cn);function xe(e,t,n){try{xr(-1);const r=arguments.length;return r===2?ie(t)&&!G(t)?tn(t)?me(e,null,[t]):me(e,t):me(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&tn(n)&&(n=[n]),me(e,t,n))}finally{xr(1)}}const Cf="3.5.26";let Hs;const Qo=typeof window<"u"&&window.trustedTypes;if(Qo)try{Hs=Qo.createPolicy("vue",{createHTML:e=>e})}catch{}const xa=Hs?e=>Hs.createHTML(e):e=>e,Sf="http://www.w3.org/2000/svg",Af="http://www.w3.org/1998/Math/MathML",gt=typeof document<"u"?document:null,Xo=gt&&gt.createElement("template"),xf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?gt.createElementNS(Sf,e):t==="mathml"?gt.createElementNS(Af,e):n?gt.createElement(e,{is:n}):gt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>gt.createTextNode(e),createComment:e=>gt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>gt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Xo.innerHTML=xa(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=Xo.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},At="transition",Ln="animation",Qn=Symbol("_vtc"),Pa={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Pf=Ee({},Fl,Pa),kf=e=>(e.displayName="Transition",e.props=Pf,e),Of=kf((e,{slots:t})=>xe(Ru,Nf(e),t)),Vt=(e,t=[])=>{G(e)?e.forEach(n=>n(...t)):e&&e(...t)},zo=e=>e?G(e)?e.some(t=>t.length>1):e.length>1:!1;function Nf(e){const t={};for(const O in e)O in Pa||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:f=i,appearToClass:c=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,_=If(s),b=_&&_[0],T=_&&_[1],{onBeforeEnter:R,onEnter:v,onEnterCancelled:g,onLeave:y,onLeaveCancelled:w,onBeforeAppear:x=R,onAppear:L=v,onAppearCancelled:V=g}=t,I=(O,K,ee,le)=>{O._enterCancelled=le,Wt(O,K?c:l),Wt(O,K?f:i),ee&&ee()},N=(O,K)=>{O._isLeaving=!1,Wt(O,u),Wt(O,d),Wt(O,h),K&&K()},W=O=>(K,ee)=>{const le=O?L:v,$=()=>I(K,O,ee);Vt(le,[K,$]),Zo(()=>{Wt(K,O?a:o),ht(K,O?c:l),zo(le)||ei(K,r,b,$)})};return Ee(t,{onBeforeEnter(O){Vt(R,[O]),ht(O,o),ht(O,i)},onBeforeAppear(O){Vt(x,[O]),ht(O,a),ht(O,f)},onEnter:W(!1),onAppear:W(!0),onLeave(O,K){O._isLeaving=!0;const ee=()=>N(O,K);ht(O,u),O._enterCancelled?(ht(O,h),ri(O)):(ri(O),ht(O,h)),Zo(()=>{O._isLeaving&&(Wt(O,u),ht(O,d),zo(y)||ei(O,r,T,ee))}),Vt(y,[O,ee])},onEnterCancelled(O){I(O,!1,void 0,!0),Vt(g,[O])},onAppearCancelled(O){I(O,!0,void 0,!0),Vt(V,[O])},onLeaveCancelled(O){N(O),Vt(w,[O])}})}function If(e){if(e==null)return null;if(ie(e))return[fs(e.enter),fs(e.leave)];{const t=fs(e);return[t,t]}}function fs(e){return fl(e)}function ht(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Qn]||(e[Qn]=new Set)).add(t)}function Wt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Qn];n&&(n.delete(t),n.size||(e[Qn]=void 0))}function Zo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mf=0;function ei(e,t,n,r){const s=e._endId=++Mf,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:a}=Lf(e,t);if(!i)return r();const f=i+"end";let c=0;const u=()=>{e.removeEventListener(f,h),o()},h=d=>{d.target===e&&++c>=a&&u()};setTimeout(()=>{c<a&&u()},l+1),e.addEventListener(f,h)}function Lf(e,t){const n=window.getComputedStyle(e),r=_=>(n[_]||"").split(", "),s=r(`${At}Delay`),o=r(`${At}Duration`),i=ti(s,o),l=r(`${Ln}Delay`),a=r(`${Ln}Duration`),f=ti(l,a);let c=null,u=0,h=0;t===At?i>0&&(c=At,u=i,h=o.length):t===Ln?f>0&&(c=Ln,u=f,h=a.length):(u=Math.max(i,f),c=u>0?i>f?At:Ln:null,h=c?c===At?o.length:a.length:0);const d=c===At&&/\b(?:transform|all)(?:,|$)/.test(r(`${At}Property`).toString());return{type:c,timeout:u,propCount:h,hasTransform:d}}function ti(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>ni(n)+ni(e[r])))}function ni(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ri(e){return(e?e.ownerDocument:document).body.offsetHeight}function Hf(e,t,n){const r=e[Qn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const si=Symbol("_vod"),Df=Symbol("_vsh"),jf=Symbol(""),Ff=/(?:^|;)\s*display\s*:/;function Bf(e,t,n){const r=e.style,s=pe(n);let o=!1;if(n&&!s){if(t)if(pe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&mr(r,l,"")}else for(const i in t)n[i]==null&&mr(r,i,"");for(const i in n)i==="display"&&(o=!0),mr(r,i,n[i])}else if(s){if(t!==n){const i=r[jf];i&&(n+=";"+i),r.cssText=n,o=Ff.test(n)}}else t&&e.removeAttribute("style");si in e&&(e[si]=o?r.display:"",e[Df]&&(r.display="none"))}const oi=/\s*!important$/;function mr(e,t,n){if(G(n))n.forEach(r=>mr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Uf(e,t);oi.test(n)?e.setProperty(jt(r),n.replace(oi,""),"important"):e[r]=n}}const ii=["Webkit","Moz","ms"],ds={};function Uf(e,t){const n=ds[t];if(n)return n;let r=Ye(t);if(r!=="filter"&&r in e)return ds[t]=r;r=Fr(r);for(let s=0;s<ii.length;s++){const o=ii[s]+r;if(o in e)return ds[t]=o}return t}const li="http://www.w3.org/1999/xlink";function ai(e,t,n,r,s,o=Ic(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(li,t.slice(6,t.length)):e.setAttributeNS(li,t,n):n==null||o&&!dl(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Ze(n)?String(n):n)}function ci(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?xa(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=dl(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function bt(e,t,n,r){e.addEventListener(t,n,r)}function $f(e,t,n,r){e.removeEventListener(t,n,r)}const ui=Symbol("_vei");function Vf(e,t,n,r,s=null){const o=e[ui]||(e[ui]={}),i=o[t];if(r&&i)i.value=r;else{const[l,a]=Wf(t);if(r){const f=o[t]=Gf(r,s);bt(e,l,f,a)}else i&&($f(e,l,i,a),o[t]=void 0)}}const fi=/(?:Once|Passive|Capture)$/;function Wf(e){let t;if(fi.test(e)){t={};let r;for(;r=e.match(fi);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):jt(e.slice(2)),t]}let hs=0;const Kf=Promise.resolve(),qf=()=>hs||(Kf.then(()=>hs=0),hs=Date.now());function Gf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;tt(Jf(r,n.value),t,5,[r])};return n.value=e,n.attached=qf(),n}function Jf(e,t){if(G(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const di=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Yf=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Hf(e,r,i):t==="style"?Bf(e,n,r):zn(t)?Xs(t)||Vf(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Qf(e,t,r,i))?(ci(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ai(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!pe(r))?ci(e,Ye(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ai(e,t,r,i))};function Qf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&di(t)&&Q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return di(t)&&pe(n)?!1:t in e}const Dt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return G(t)?n=>gn(t,n):t};function Xf(e){e.target.composing=!0}function hi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Je=Symbol("_assign");function pi(e,t,n){return t&&(e=e.trim()),n&&(e=Br(e)),e}const gi={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Je]=Dt(s);const o=r||s.props&&s.props.type==="number";bt(e,t?"change":"input",i=>{i.target.composing||e[Je](pi(e.value,n,o))}),(n||o)&&bt(e,"change",()=>{e.value=pi(e.value,n,o)}),t||(bt(e,"compositionstart",Xf),bt(e,"compositionend",hi),bt(e,"change",hi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Je]=Dt(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Br(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===a)||(e.value=a))}},zf={deep:!0,created(e,t,n){e[Je]=Dt(n),bt(e,"change",()=>{const r=e._modelValue,s=Sn(e),o=e.checked,i=e[Je];if(G(r)){const l=Zs(r,s),a=l!==-1;if(o&&!a)i(r.concat(s));else if(!o&&a){const f=[...r];f.splice(l,1),i(f)}}else if(Pn(r)){const l=new Set(r);o?l.add(s):l.delete(s),i(l)}else i(ka(e,o))})},mounted:mi,beforeUpdate(e,t,n){e[Je]=Dt(n),mi(e,t,n)}};function mi(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(G(t))s=Zs(t,r.props.value)>-1;else if(Pn(t))s=t.has(r.props.value);else{if(t===n)return;s=Zt(t,ka(e,!0))}e.checked!==s&&(e.checked=s)}const Zf={created(e,{value:t},n){e.checked=Zt(t,n.props.value),e[Je]=Dt(n),bt(e,"change",()=>{e[Je](Sn(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Je]=Dt(r),t!==n&&(e.checked=Zt(t,r.props.value))}},ed={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Pn(t);bt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Br(Sn(i)):Sn(i));e[Je](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,en(()=>{e._assigning=!1})}),e[Je]=Dt(r)},mounted(e,{value:t}){yi(e,t)},beforeUpdate(e,t,n){e[Je]=Dt(n)},updated(e,{value:t}){e._assigning||yi(e,t)}};function yi(e,t){const n=e.multiple,r=G(t);if(!(n&&!r&&!Pn(t))){for(let s=0,o=e.options.length;s<o;s++){const i=e.options[s],l=Sn(i);if(n)if(r){const a=typeof l;a==="string"||a==="number"?i.selected=t.some(f=>String(f)===String(l)):i.selected=Zs(t,l)>-1}else i.selected=t.has(l);else if(Zt(Sn(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Sn(e){return"_value"in e?e._value:e.value}function ka(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Em={created(e,t,n){fr(e,t,n,null,"created")},mounted(e,t,n){fr(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){fr(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){fr(e,t,n,r,"updated")}};function td(e,t){switch(e){case"SELECT":return ed;case"TEXTAREA":return gi;default:switch(t){case"checkbox":return zf;case"radio":return Zf;default:return gi}}}function fr(e,t,n,r,s){const i=td(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const nd={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Rm=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(s=>{if(!("key"in s))return;const o=jt(s.key);if(t.some(i=>i===o||nd[i]===o))return e(s)}))},Oa=Ee({patchProp:Yf},xf);let Wn,_i=!1;function rd(){return Wn||(Wn=of(Oa))}function sd(){return Wn=_i?Wn:lf(Oa),_i=!0,Wn}const od=((...e)=>{const t=rd().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Ia(r);if(!s)return;const o=t._component;!Q(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,Na(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),id=((...e)=>{const t=sd().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Ia(r);if(s)return n(s,!0,Na(s))},t});function Na(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ia(e){return pe(e)?document.querySelector(e):e}const ld=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,ad=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,cd=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function ud(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){fd(e);return}return t}function fd(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function kr(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!cd.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ld.test(e)||ad.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,ud)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const dd=/#/g,hd=/&/g,pd=/\//g,gd=/=/g,yo=/\+/g,md=/%5e/gi,yd=/%60/gi,_d=/%7c/gi,bd=/%20/gi;function vd(e){return encodeURI(""+e).replace(_d,"|")}function Ds(e){return vd(typeof e=="string"?e:JSON.stringify(e)).replace(yo,"%2B").replace(bd,"+").replace(dd,"%23").replace(hd,"%26").replace(yd,"`").replace(md,"^").replace(pd,"%2F")}function ps(e){return Ds(e).replace(gd,"%3D")}function Or(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function wd(e){return Or(e.replace(yo," "))}function Ed(e){return Or(e.replace(yo," "))}function Ma(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=wd(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=Ed(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function Rd(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ps(e)}=${Ds(n)}`).join("&"):`${ps(e)}=${Ds(t)}`:ps(e)}function Td(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Rd(t,e[t])).filter(Boolean).join("&")}const Cd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Sd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Ad=/^([/\\]\s*){2,}[^/\\]/,xd=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Pd=/\/$|\/\?|\/#/,kd=/^\.?\//;function rn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Cd.test(e):Sd.test(e)||(t.acceptRelative?Ad.test(e):!1)}function Od(e){return!!e&&xd.test(e)}function js(e="",t){return t?Pd.test(e):e.endsWith("/")}function Nr(e="",t){if(!t)return(js(e)?e.slice(0,-1):e)||"/";if(!js(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Nd(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(js(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Id(e,t){if(Ha(t)||rn(e))return e;const n=Nr(t);return e.startsWith(n)?e:_o(n,e)}function bi(e,t){if(Ha(t))return e;const n=Nr(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function La(e,t){const n=Fa(e),r={...Ma(n.search),...t};return n.search=Td(r),Hd(n)}function Ha(e){return!e||e==="/"}function Md(e){return e&&e!=="/"}function _o(e,...t){let n=e||"";for(const r of t.filter(s=>Md(s)))if(n){const s=r.replace(kd,"");n=Nd(n)+s}else n=r;return n}function Da(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[l,a]of i.split(t).entries())if(!(!a||a===".")){if(a===".."){if(r.length===1&&rn(r[0]))continue;r.pop(),s--;continue}if(l===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+a;continue}r.push(a),s++}}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function Ld(e,t){return Or(Nr(e))===Or(Nr(t))}const ja=Symbol.for("ufo:protocolRelative");function Fa(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,u,h=""]=n;return{protocol:u.toLowerCase(),pathname:h,href:u+h,auth:"",host:"",search:"",hash:""}}if(!rn(e,{acceptRelative:!0}))return vi(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",l=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:a,search:f,hash:c}=vi(l);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:a,search:f,hash:c,[ja]:!r}}function vi(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Hd(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[ja]?(e.protocol||"")+"//":"")+s+o+t+n+r}class Dd extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function jd(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,l=new Dd(i,e.error?{cause:e.error}:void 0);for(const a of["request","options","response"])Object.defineProperty(l,a,{get(){return e[a]}});for(const[a,f]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,a,{get(){return e.response&&e.response[f]}});return l}const Fd=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function wi(e="GET"){return Fd.has(e.toUpperCase())}function Bd(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Ud=new Set(["image/svg","application/xml","application/xhtml","application/html"]),$d=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Vd(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return $d.test(t)?"json":t==="text/event-stream"?"stream":Ud.has(t)||t.startsWith("text/")?"text":"blob"}function Wd(e,t,n,r){const s=Kd(t?.headers??e?.headers,n?.headers,r);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:s}}function Kd(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function dr(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const qd=new Set([408,409,425,429,500,502,503,504]),Gd=new Set([101,204,205,304]);function Ba(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let c;typeof l.options.retry=="number"?c=l.options.retry:c=wi(l.options.method)?0:1;const u=l.response&&l.response.status||500;if(c>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(u):qd.has(u))){const h=typeof l.options.retryDelay=="function"?l.options.retryDelay(l):l.options.retryDelay||0;return h>0&&await new Promise(d=>setTimeout(d,h)),o(l.request,{...l.options,retry:c-1})}}const f=jd(l);throw Error.captureStackTrace&&Error.captureStackTrace(f,o),f}const o=async function(a,f={}){const c={request:a,options:Wd(a,f,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await dr(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=Id(c.request,c.options.baseURL)),c.options.query&&(c.request=La(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&wi(c.options.method))if(Bd(c.options.body)){const d=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),d||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let u;if(!c.options.signal&&c.options.timeout){const d=new r;u=setTimeout(()=>{const _=new Error("[TimeoutError]: The operation was aborted due to timeout");_.name="TimeoutError",_.code=23,d.abort(_)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await dr(c,c.options.onRequestError),await s(c)}finally{u&&clearTimeout(u)}if((c.response.body||c.response._bodyInit)&&!Gd.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||Vd(c.response.headers.get("content-type")||"");switch(d){case"json":{const _=await c.response.text(),b=c.options.parseResponse||kr;c.response._data=b(_);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await dr(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await dr(c,c.options.onResponseError),await s(c)):c.response},i=async function(a,f){return(await o(a,f))._data};return i.raw=o,i.native=(...l)=>t(...l),i.create=(l={},a={})=>Ba({...e,...a,defaults:{...e.defaults,...a.defaults,...l}}),i}const Ir=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),Jd=Ir.fetch?(...e)=>Ir.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Yd=Ir.Headers,Qd=Ir.AbortController,Xd=Ba({fetch:Jd,Headers:Yd,AbortController:Qd}),zd=Xd,Zd=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,bo=()=>Zd().app,eh=()=>bo().baseURL,th=()=>bo().buildAssetsDir,vo=(...e)=>Da(Ua(),th(),...e),Ua=(...e)=>{const t=bo(),n=t.cdnURL||t.baseURL;return e.length?Da(n,...e):n};globalThis.__buildAssetsURL=vo,globalThis.__publicAssetsURL=Ua;globalThis.$fetch||(globalThis.$fetch=zd.create({baseURL:eh()}));"global"in globalThis||(globalThis.global=globalThis);function Fs(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Fs(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const nh={run:e=>e()},rh=()=>nh,$a=typeof console.createTask<"u"?console.createTask:rh;function sh(e,t){const n=t.shift(),r=$a(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function oh(e,t){const n=t.shift(),r=$a(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function gs(e,t){for(const n of[...e])n(t)}class ih{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Fs(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Fs(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(sh,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(oh,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&gs(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&gs(this._after,s)}):(this._after&&s&&gs(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Va(){return new ih}function lh(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,l)=>{l||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,l)=>{r(i),t=i;try{return s?s.run(i,l):l()}finally{n||(t=void 0)}},async callAsync(i,l){t=i;const a=()=>{t=i},f=()=>t===i?a:void 0;Bs.add(f);try{const c=s?s.run(i,l):l();return n||(t=void 0),await c}finally{Bs.delete(f)}}}}function ah(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=lh({...e,...r})),t[n]}}}const Mr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ei="__unctx__",ch=Mr[Ei]||(Mr[Ei]=ah()),uh=(e,t={})=>ch.get(e,t),Ri="__unctx_async_handlers__",Bs=Mr[Ri]||(Mr[Ri]=new Set);function vn(e){const t=[];for(const s of Bs){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const fh=!1,Ti=!1,dh=!1,Ci={id:"__nuxt-loader"},Tm={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},hh="#__nuxt",Wa="nuxt-app",Si=36e5,ph="vite:preloadError";function Ka(e=Wa){return uh(e,{asyncContext:!1})}const gh="__nuxt_plugin";function mh(e){let t=0;const n={_id:e.id||Wa||"nuxt-app",_scope:Hc(),provide:void 0,versions:{get nuxt(){return"4.2.2"},get vue(){return n.vueApp.version}},payload:at({...e.ssrContext?.payload||{},data:at({}),state:Ft({}),once:new Set,_errors:at({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!ml()?n._scope.run(()=>Ai(n,s)):Ai(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:at({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=Va(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;hr(n,i,o),hr(n.vueApp.config.globalProperties,i,o)},hr(n.vueApp,"$nuxt",n),hr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(ph,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=ve;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function yh(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function _h(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function bh(e,t){const n=new Set,r=[],s=[];let o,i=0;async function l(a){const f=a.dependsOn?.filter(c=>t.some(u=>u._name===c)&&!n.has(c))??[];if(f.length>0)r.push([new Set(f),a]);else{const c=_h(e,a).then(async()=>{a._name&&(n.add(a._name),await Promise.all(r.map(async([u,h])=>{u.has(a._name)&&(u.delete(a._name),u.size===0&&(i++,await l(h)))})))}).catch(u=>{if(!a.parallel&&!e.payload.error)throw u;o||=u});a.parallel?s.push(c):await c}}for(const a of t)yh(e,a);for(const a of t)await l(a);if(await Promise.all(s),i)for(let a=0;a<i;a++)await Promise.all(s);if(o)throw e.payload.error||o}function ft(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[gh]:!0,_name:t})}function Ai(e,t,n){const r=()=>t();return Ka(e._id).set(e),e.vueApp.runWithContext(r)}function vh(e){let t;return ao()&&(t=Nn()?.appContext.app.$nuxt),t||=Ka(e).tryUse(),t||null}function ve(e){const t=vh(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Qr(e){return ve().$config}function hr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function wh(e,t){return{ctx:{table:e},matchAll:n=>Ga(n,e)}}function qa(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,qa(s)])):new Map(Object.entries(e[n]));return t}function Eh(e){return wh(qa(e))}function Ga(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of xi(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of xi(t.dynamic))if(e.startsWith(o+"/")){const l="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...Ga(l,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function xi(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function ms(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Us(e,t,n=".",r){if(!ms(t))return Us(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:ms(i)&&ms(s[o])?s[o]=Us(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Rh(e){return(...t)=>t.reduce((n,r)=>Us(n,r,"",e),{})}const Ja=Rh();function Th(e,t){try{return t in e}catch{return!1}}class Pi extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:$s(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Ya(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function Ch(e){if(typeof e=="string")return new Pi(e);if(Sh(e))return e;const t=new Pi(e.message??e.statusMessage??"",{cause:e.cause||e});if(Th(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=$s(e.statusCode,t.statusCode):e.status&&(t.statusCode=$s(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Ya(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Sh(e){return e?.constructor?.__h3_error__===!0}const Ah=/[^\u0009\u0020-\u007E]/g;function Ya(e=""){return e.replace(Ah,"")}function $s(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Qa=Symbol("layout-meta"),nn=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const $e=()=>ve()?.$router,Xr=()=>ao()?Pe(nn,ve()._route):ve()._route;const xh=()=>{try{if(ve()._processingMiddleware)return!0}catch{return!1}return!1},Cm=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?Ph(e):$e().resolve(e).href;if(t?.open){const{target:a="_blank",windowFeatures:f={}}=t.open,c=[];for(const[u,h]of Object.entries(f))h!==void 0&&c.push(`${u.toLowerCase()}=${h}`);return open(n,a,c.join(", ")),Promise.resolve()}const r=rn(n,{acceptRelative:!0}),s=t?.external||r;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:a}=new URL(n,window.location.href);if(a&&Od(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=xh();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:a,search:f,hash:c}=Fa(e);return{path:a,...f&&{query:Ma(f)},...c&&{hash:c},replace:!0}}return{...e,replace:!0}}return e}const i=$e(),l=ve();return s?(l._scope.stop(),t?.replace?location.replace(n):location.href=n,o?l.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?i.replace(e):i.push(e)};function Ph(e){return La(e.path||"",e.query||{})+(e.hash||"")}const Xa="__nuxt_error",zr=()=>au(ve().payload,"error"),Gt=e=>{const t=zt(e);try{const n=zr();ve().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},kh=async(e={})=>{const t=ve(),n=zr();t.callHook("app:error:cleared",e),e.redirect&&await $e().replace(e.redirect),n.value=void 0},za=e=>!!e&&typeof e=="object"&&Xa in e,zt=e=>{const t=Ch(e);return Object.defineProperty(t,Xa,{value:!0,configurable:!1,writable:!1}),t};function Oh(e){const t=Ih(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const Nh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Ih(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=Nh.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const Mh=-1,Lh=-2,Hh=-3,Dh=-4,jh=-5,Fh=-6;function Bh(e,t){return Uh(JSON.parse(e),t)}function Uh(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===Mh)return;if(o===Hh)return NaN;if(o===Dh)return 1/0;if(o===jh)return-1/0;if(o===Fh)return-0;if(i||typeof o!="number")throw new Error("Invalid input");if(o in r)return r[o];const l=n[o];if(!l||typeof l!="object")r[o]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],f=t&&Object.hasOwn(t,a)?t[a]:void 0;if(f){let c=l[1];return typeof c!="number"&&(c=n.push(l[1])-1),r[o]=f(s(c))}switch(a){case"Date":r[o]=new Date(l[1]);break;case"Set":const c=new Set;r[o]=c;for(let d=1;d<l.length;d+=1)c.add(s(l[d]));break;case"Map":const u=new Map;r[o]=u;for(let d=1;d<l.length;d+=2)u.set(s(l[d]),s(l[d+1]));break;case"RegExp":r[o]=new RegExp(l[1],l[2]);break;case"Object":r[o]=Object(l[1]);break;case"BigInt":r[o]=BigInt(l[1]);break;case"null":const h=Object.create(null);r[o]=h;for(let d=1;d<l.length;d+=2)h[l[d]]=s(l[d+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const d=globalThis[a],_=new d(s(l[1]));r[o]=l[2]!==void 0?_.subarray(l[2],l[3]):_;break}case"ArrayBuffer":{const d=l[1],_=Oh(d);r[o]=_;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const d=a.slice(9);r[o]=Temporal[d].from(l[1]);break}case"URL":{const d=new URL(l[1]);r[o]=d;break}case"URLSearchParams":{const d=new URLSearchParams(l[1]);r[o]=d;break}default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);r[o]=a;for(let f=0;f<l.length;f+=1){const c=l[f];c!==Lh&&(a[f]=s(c))}}else{const a={};r[o]=a;for(const f in l){if(f==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const c=l[f];a[f]=s(c)}}return r[o]}return s(0)}const $h=new Set(["link","style","script","noscript"]),Vh=new Set(["title","titleTemplate","script","style","noscript"]),ki=new Set(["base","meta","link","style","script","noscript"]),Wh=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Kh=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),qh=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Gh=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Jh=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Yh=["name","property","http-equiv"],Qh=new Set(["viewport","description","keywords","robots"]);function Za(e){const t=e.split(":");return t.length?Jh.has(t[1]):!1}function Vs(e){const{props:t,tag:n}=e;if(Kh.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const r of Yh)if(t[r]!==void 0){const s=t[r],o=s&&typeof s=="string"&&s.includes(":"),i=s&&Qh.has(s),a=!(o||i)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${a}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(Vh.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Oi(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function Lr(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(o=>Lr(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=Lr(s[i],t,i);return o}return s}function Xh(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const o=String(s).trim();if(o)if(e==="style"){const[i,...l]=o.split(":").map(a=>a?a.trim():"");i&&l.length&&n.set(i,l.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(String(s).trim(),String(o)):r(s))}),n}function ec(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=Xh(n,r);return}if(qh.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof r=="object"){let l=t.type;if(t.type||(l="application/json"),!l?.endsWith("json")&&l!=="speculationrules")return;t.type=l,e.props.type=l,e[n]=JSON.stringify(r)}else e[n]=r;return}const s=String(r),o=n.startsWith("data-"),i=e.tag==="meta"&&n==="content";s==="true"||s===""?e.props[n]=o||i?s:!0:!r&&o&&s==="false"?e.props[n]="false":r!==void 0&&(e.props[n]=r)}),e):e}function zh(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=ec({tag:e,props:{}},n);return r.key&&$h.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function Zh(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=Lr(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(zh(s,i))}),r.flat()}const Ni=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Ii={base:-10,title:10},ep={critical:-8,high:-1,low:2},Mi={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},tp=/@import/,Hn=e=>e===""||e===!0;function np(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=ep[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Mi;if(t.tag in Ii)n=Ii[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=Mi.meta[o])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);Hn(t.props.async)?n=s.script.async:t.props.src&&!Hn(t.props.defer)&&!Hn(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(Hn(t.props.defer)&&t.props.src&&!Hn(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&tp.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function Li(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function rp(e={}){const t=Va();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:l=>Li(i,l),push(l,a){const f={...a||{}};delete f.head;const c=f._index??i._entryCount++,u={_i:c,input:l,options:f},h={_poll(d=!1){i.dirty=!0,!d&&o.add(c),t.callHook("entries:updated",i)},dispose(){r.delete(c)&&i.invalidate()},patch(d){(!f.mode||f.mode==="server"&&n||f.mode==="client"&&!n)&&(u.input=d,r.set(c,u),h._poll())}};return h.patch(l),h},async resolveTags(){const l={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",l);o.size;){const h=o.values().next().value;o.delete(h);const d=r.get(h);if(d){const _={tags:Zh(d.input,e.propResolvers||[]).map(b=>Object.assign(b,d.options)),entry:d};await t.callHook("entries:normalize",_),d._tags=_.tags.map((b,T)=>(b._w=np(i,b),b._p=(d._i<<10)+T,b._d=Vs(b),b))}}let a=!1;l.entries.flatMap(h=>(h._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Ni).reduce((h,d)=>{const _=String(d._d||d._p);if(!h.has(_))return h.set(_,d);const b=h.get(_);if((d?.tagDuplicateStrategy||(Gh.has(d.tag)?"merge":null)||(d.key&&d.key===b.key?"merge":null))==="merge"){const R={...b.props};Object.entries(d.props).forEach(([v,g])=>R[v]=v==="style"?new Map([...b.props.style||new Map,...g]):v==="class"?new Set([...b.props.class||new Set,...g]):g),h.set(_,{...d,props:R})}else d._p>>10===b._p>>10&&d.tag==="meta"&&Za(_)?(h.set(_,Object.assign([...Array.isArray(b)?b:[b],d],d)),a=!0):(d._w===b._w?d._p>b._p:d?._w<b?._w)&&h.set(_,d);return h},l.tagMap);const f=l.tagMap.get("title"),c=l.tagMap.get("titleTemplate");if(i._title=f?.textContent,c){const h=c?.textContent;if(i._titleTemplate=h,h){let d=typeof h=="function"?h(f?.textContent):h;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",f?.textContent||"")),f?d===null?l.tagMap.delete("title"):l.tagMap.set("title",{...f,textContent:d}):(c.tag="title",c.textContent=d)}}l.tags=Array.from(l.tagMap.values()),a&&(l.tags=l.tags.flat().sort(Ni)),await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l);const u=[];for(const h of l.tags){const{innerHTML:d,tag:_,props:b}=h;if(Wh.has(_)&&!(Object.keys(b).length===0&&!h.innerHTML&&!h.textContent)&&!(_==="meta"&&!b.content&&!b["http-equiv"]&&!b.charset)){if(_==="script"&&d){if(String(b.type).endsWith("json")){const T=typeof d=="string"?d:JSON.stringify(d);h.innerHTML=T.replace(/</g,"\\u003C")}else typeof d=="string"&&(h.innerHTML=d.replace(new RegExp(`</${_}`,"g"),`<\\/${_}`));h._d=Vs(h)}u.push(h)}}return u},invalidate(){for(const l of r.values())o.add(l._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(l=>Li(i,l)),i.hooks.callHook("init",i),e.init?.forEach(l=>l&&i.push(l)),i}const sp=(e,t)=>_e(t)?su(t):t,tc="usehead";function op(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(tc,e)}}.install}function ip(){if(ao()){const e=Pe(tc);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Sm(e,t={}){const n=t.head||ip();return n.ssr?n.push(e||{},t):lp(n,e,t)}function lp(e,t,n={}){const r=vt(!1);let s;return _u(()=>{const i=r.value?{}:Lr(t,sp);s?s.patch(i):s=e.push(i,n)}),Nn()&&(tr(()=>{s.dispose()}),Kl(()=>{r.value=!0}),Wl(()=>{r.value=!1})),s}let yr,_r;function ap(){return yr=$fetch(vo(`builds/meta/${Qr().app.buildId}.json`),{responseType:"json"}),yr.then(e=>{_r=Eh(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),yr}function Zr(){return yr||ap()}async function wo(e){const t=typeof e=="string"?e:e.path;if(await Zr(),!_r)return console.error("[nuxt] Error creating app manifest matcher.",_r),{};try{return Ja({},..._r.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Hi(e,t={}){if(!await rc(e))return null;const r=await up(e,t);return await nc(r)||null}const cp="_payload.json";async function up(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||rn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Qr(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await rc(e)?o:r.app.baseURL;return _o(i,n.pathname,cp+(s?`?${s}`:""))}async function nc(e){const t=fetch(e,{cache:"force-cache"}).then(n=>n.text().then(sc));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function rc(e=Xr().path){const t=ve();return e=e==="/"?e:e.replace(/\/$/,""),(await Zr()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await wo({path:e});return!!r.prerender&&!r.redirect})}let Kt=null;async function fp(){if(Kt)return Kt;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await sc(e.textContent||""),n=e.dataset.src?await nc(e.dataset.src):void 0;return Kt={...t,...n,...window.__NUXT__},Kt.config?.public&&(Kt.config.public=Ft(Kt.config.public)),Kt}async function sc(e){return await Bh(e,ve()._payloadRevivers)}function dp(e,t){ve()._payloadRevivers[e]=t}const hp=[["NuxtError",e=>zt(e)],["EmptyShallowRef",e=>En(e==="_"?void 0:e==="0n"?BigInt(0):kr(e))],["EmptyRef",e=>vt(e==="_"?void 0:e==="0n"?BigInt(0):kr(e))],["ShallowRef",e=>En(e)],["ShallowReactive",e=>at(e)],["Ref",e=>vt(e)],["Reactive",e=>Ft(e)]],pp=ft({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of hp)dp(r,s);Object.assign(e.payload,([t,n]=vn(()=>e.runWithContext(fp)),t=await t,n(),t)),delete window.__NUXT__}});async function Eo(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const o=new Map,i=new Promise(d=>{e.resolveTags().then(_=>{d(_.map(b=>{const T=o.get(b._d)||0,R={tag:b,id:(T?`${b._d}:${T}`:b._d)||Oi(b),shouldRender:!0};return b._d&&Za(b._d)&&o.set(b._d,T+1),R}))})});let l=e._dom;if(!l){l={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const _=n[d]?.children;for(const b of _){const T=b.tagName.toLowerCase();if(!ki.has(T))continue;const R=ec({tag:T,props:{}},{innerHTML:b.innerHTML,...b.getAttributeNames().reduce((v,g)=>(v[g]=b.getAttribute(g),v),{})||{}});if(R.key=b.getAttribute("data-hid")||void 0,R._d=Vs(R)||Oi(R),l.elMap.has(R._d)){let v=1,g=R._d;for(;l.elMap.has(g);)g=`${R._d}:${v++}`;l.elMap.set(g,b)}else l.elMap.set(R._d,b)}}}l.pendingSideEffects={...l.sideEffects},l.sideEffects={};function a(d,_,b){const T=`${d}:${_}`;l.sideEffects[T]=b,delete l.pendingSideEffects[T]}function f({id:d,$el:_,tag:b}){const T=b.tag.endsWith("Attrs");l.elMap.set(d,_),T||(b.textContent&&b.textContent!==_.textContent&&(_.textContent=b.textContent),b.innerHTML&&b.innerHTML!==_.innerHTML&&(_.innerHTML=b.innerHTML),a(d,"el",()=>{_?.remove(),l.elMap.delete(d)}));for(const R in b.props){if(!Object.prototype.hasOwnProperty.call(b.props,R))continue;const v=b.props[R];if(R.startsWith("on")&&typeof v=="function"){const y=_?.dataset;if(y&&y[`${R}fired`]){const w=R.slice(0,-5);v.call(_,new Event(w.substring(2)))}_.getAttribute(`data-${R}`)!==""&&((b.tag==="bodyAttrs"?n.defaultView:_).addEventListener(R.substring(2),v.bind(_)),_.setAttribute(`data-${R}`,""));continue}const g=`attr:${R}`;if(R==="class"){if(!v)continue;for(const y of v)T&&a(d,`${g}:${y}`,()=>_.classList.remove(y)),!_.classList.contains(y)&&_.classList.add(y)}else if(R==="style"){if(!v)continue;for(const[y,w]of v)a(d,`${g}:${y}`,()=>{_.style.removeProperty(y)}),_.style.setProperty(y,w)}else v!==!1&&v!==null&&(_.getAttribute(R)!==v&&_.setAttribute(R,v===!0?"":String(v)),T&&a(d,g,()=>_.removeAttribute(R)))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0},h=await i;for(const d of h){const{tag:_,shouldRender:b,id:T}=d;if(b){if(_.tag==="title"){n.title=_.textContent,a("title","",()=>n.title=l.title);continue}d.$el=d.$el||l.elMap.get(T),d.$el?f(d):ki.has(_.tag)&&c.push(d)}}for(const d of c){const _=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),f(d),u[_]=u[_]||n.createDocumentFragment(),u[_].appendChild(d.$el)}for(const d of h)await e.hooks.callHook("dom:renderTag",d,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const d in l.pendingSideEffects)l.pendingSideEffects[d]();e._dom=l,await e.hooks.callHook("dom:rendered",{renders:h}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function gp(e={}){const t=e.domOptions?.render||Eo;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return rp({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function mp(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function yp(e={}){const t=gp({domOptions:{render:mp(()=>Eo(t),n=>setTimeout(n,0))},...e});return t.install=op(t),t}const _p={disableDefaults:!0},bp=ft({name:"nuxt:head",enforce:"pre",setup(e){const t=yp(_p);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Eo(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});const un=typeof document<"u";function oc(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function vp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&oc(e.default)}const re=Object.assign;function ys(e,t){const n={};for(const r in t){const s=t[r];n[r]=nt(s)?s.map(e):e(s)}return n}const Kn=()=>{},nt=Array.isArray;function Di(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const ic=/#/g,wp=/&/g,Ep=/\//g,Rp=/=/g,Tp=/\?/g,lc=/\+/g,Cp=/%5B/g,Sp=/%5D/g,ac=/%5E/g,Ap=/%60/g,cc=/%7B/g,xp=/%7C/g,uc=/%7D/g,Pp=/%20/g;function Ro(e){return e==null?"":encodeURI(""+e).replace(xp,"|").replace(Cp,"[").replace(Sp,"]")}function kp(e){return Ro(e).replace(cc,"{").replace(uc,"}").replace(ac,"^")}function Ws(e){return Ro(e).replace(lc,"%2B").replace(Pp,"+").replace(ic,"%23").replace(wp,"%26").replace(Ap,"`").replace(cc,"{").replace(uc,"}").replace(ac,"^")}function Op(e){return Ws(e).replace(Rp,"%3D")}function Np(e){return Ro(e).replace(ic,"%23").replace(Tp,"%3F")}function Ip(e){return Np(e).replace(Ep,"%2F")}function Xn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Mp=/\/$/,Lp=e=>e.replace(Mp,"");function _s(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(r=t.slice(0,a),o=t.slice(a,l>0?l:t.length),s=e(o.slice(1))),l>=0&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Fp(r??t,n),{fullPath:r+o+i,path:r,query:s,hash:Xn(i)}}function Hp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ji(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Dp(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&An(t.matched[r],n.matched[s])&&fc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function An(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!jp(e[n],t[n]))return!1;return!0}function jp(e,t){return nt(e)?Fi(e,t):nt(t)?Fi(t,e):e?.valueOf()===t?.valueOf()}function Fi(e,t){return nt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Fp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,l;for(i=0;i<r.length;i++)if(l=r[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const Ke={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ks=(function(e){return e.pop="pop",e.push="push",e})({}),bs=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Bp(e){if(!e)if(un){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Lp(e)}const Up=/^[^#]+#/;function $p(e,t){return e.replace(Up,"#")+t}function Vp(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const es=()=>({left:window.scrollX,top:window.scrollY});function Wp(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Vp(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Bi(e,t){return(history.state?history.state.position-t:-1)+e}const qs=new Map;function Kp(e,t){qs.set(e,t)}function qp(e){const t=qs.get(e);return qs.delete(e),t}function Gp(e){return typeof e=="string"||e&&typeof e=="object"}function dc(e){return typeof e=="string"||typeof e=="symbol"}let ge=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const hc=Symbol("");ge.MATCHER_NOT_FOUND+"",ge.NAVIGATION_GUARD_REDIRECT+"",ge.NAVIGATION_ABORTED+"",ge.NAVIGATION_CANCELLED+"",ge.NAVIGATION_DUPLICATED+"";function xn(e,t){return re(new Error,{type:e,[hc]:!0},t)}function pt(e,t){return e instanceof Error&&hc in e&&(t==null||!!(e.type&t))}const Jp=["params","query","hash"];function Yp(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Jp)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Qp(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(lc," "),o=s.indexOf("="),i=Xn(o<0?s:s.slice(0,o)),l=o<0?null:Xn(s.slice(o+1));if(i in t){let a=t[i];nt(a)||(a=t[i]=[a]),a.push(l)}else t[i]=l}return t}function Ui(e){let t="";for(let n in e){const r=e[n];if(n=Op(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(nt(r)?r.map(s=>s&&Ws(s)):[r&&Ws(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Xp(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=nt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const zp=Symbol(""),$i=Symbol(""),To=Symbol(""),Co=Symbol(""),Gs=Symbol("");function Dn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Nt(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,a)=>{const f=h=>{h===!1?a(xn(ge.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?a(h):Gp(h)?a(xn(ge.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(i&&r.enterCallbacks[s]===i&&typeof h=="function"&&i.push(h),l())},c=o(()=>e.call(r&&r.instances[s],t,n,f));let u=Promise.resolve(c);e.length<3&&(u=u.then(f)),u.catch(h=>a(h))})}function vs(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(oc(a)){const f=(a.__vccOpts||a)[t];f&&o.push(Nt(f,n,r,i,l,s))}else{let f=a();o.push(()=>f.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const u=vp(c)?c.default:c;i.mods[l]=c,i.components[l]=u;const h=(u.__vccOpts||u)[t];return h&&Nt(h,n,r,i,l,s)()}))}}return o}function Zp(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(f=>An(f,l))?r.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(f=>An(f,a))||s.push(a))}return[n,r,s]}let eg=()=>location.protocol+"//"+location.host;function pc(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(i);return l[0]!=="/"&&(l="/"+l),ji(l,"")}return ji(n,e)+r+s}function tg(e,t,n,r){let s=[],o=[],i=null;const l=({state:h})=>{const d=pc(e,location),_=n.value,b=t.value;let T=0;if(h){if(n.value=d,t.value=h,i&&i===_){i=null;return}T=b?h.position-b.position:0}else r(d);s.forEach(R=>{R(n.value,_,{delta:T,type:Ks.pop,direction:T?T>0?bs.forward:bs.back:bs.unknown})})};function a(){i=n.value}function f(h){s.push(h);const d=()=>{const _=s.indexOf(h);_>-1&&s.splice(_,1)};return o.push(d),d}function c(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(re({},h.state,{scroll:es()}),"")}}function u(){for(const h of o)h();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:a,listen:f,destroy:u}}function Vi(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?es():null}}function ng(e){const{history:t,location:n}=window,r={value:pc(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,f,c){const u=e.indexOf("#"),h=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+a:eg()+e+a;try{t[c?"replaceState":"pushState"](f,"",h),s.value=f}catch(d){console.error(d),n[c?"replace":"assign"](h)}}function i(a,f){o(a,re({},t.state,Vi(s.value.back,a,s.value.forward,!0),f,{position:s.value.position}),!0),r.value=a}function l(a,f){const c=re({},s.value,t.state,{forward:a,scroll:es()});o(c.current,c,!0),o(a,re({},Vi(r.value,a,null),{position:c.position+1},f),!1),r.value=a}return{location:r,state:s,push:l,replace:i}}function rg(e){e=Bp(e);const t=ng(e),n=tg(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=re({location:"",base:e,go:r,createHref:$p.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let Jt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var be=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(be||{});const sg={type:Jt.Static,value:""},og=/[a-zA-Z0-9_]/;function ig(e){if(!e)return[[]];if(e==="/")return[[sg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${f}": ${d}`)}let n=be.Static,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let l=0,a,f="",c="";function u(){f&&(n===be.Static?o.push({type:Jt.Static,value:f}):n===be.Param||n===be.ParamRegExp||n===be.ParamRegExpEnd?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Jt.Param,value:f,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),f="")}function h(){f+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==be.ParamRegExp){r=n,n=be.EscapeNext;continue}switch(n){case be.Static:a==="/"?(f&&u(),i()):a===":"?(u(),n=be.Param):h();break;case be.EscapeNext:h(),n=r;break;case be.Param:a==="("?n=be.ParamRegExp:og.test(a)?h():(u(),n=be.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case be.ParamRegExp:a===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+a:n=be.ParamRegExpEnd:c+=a;break;case be.ParamRegExpEnd:u(),n=be.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,c="";break;default:t("Unknown state");break}}return n===be.ParamRegExp&&t(`Unfinished custom RegExp for param "${f}"`),u(),i(),s}const Wi="[^/]+?",lg={sensitive:!1,strict:!1,start:!0,end:!0};var Oe=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Oe||{});const ag=/[.+*?^${}()[\]/\\]/g;function cg(e,t){const n=re({},lg,t),r=[];let s=n.start?"^":"";const o=[];for(const f of e){const c=f.length?[]:[Oe.Root];n.strict&&!f.length&&(s+="/");for(let u=0;u<f.length;u++){const h=f[u];let d=Oe.Segment+(n.sensitive?Oe.BonusCaseSensitive:0);if(h.type===Jt.Static)u||(s+="/"),s+=h.value.replace(ag,"\\$&"),d+=Oe.Static;else if(h.type===Jt.Param){const{value:_,repeatable:b,optional:T,regexp:R}=h;o.push({name:_,repeatable:b,optional:T});const v=R||Wi;if(v!==Wi){d+=Oe.BonusCustomRegExp;try{`${v}`}catch(y){throw new Error(`Invalid custom RegExp for param "${_}" (${v}): `+y.message)}}let g=b?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;u||(g=T&&f.length<2?`(?:/${g})`:"/"+g),T&&(g+="?"),s+=g,d+=Oe.Dynamic,T&&(d+=Oe.BonusOptional),b&&(d+=Oe.BonusRepeatable),v===".*"&&(d+=Oe.BonusWildcard)}c.push(d)}r.push(c)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=Oe.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function l(f){const c=f.match(i),u={};if(!c)return null;for(let h=1;h<c.length;h++){const d=c[h]||"",_=o[h-1];u[_.name]=d&&_.repeatable?d.split("/"):d}return u}function a(f){let c="",u=!1;for(const h of e){(!u||!c.endsWith("/"))&&(c+="/"),u=!1;for(const d of h)if(d.type===Jt.Static)c+=d.value;else if(d.type===Jt.Param){const{value:_,repeatable:b,optional:T}=d,R=_ in f?f[_]:"";if(nt(R)&&!b)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const v=nt(R)?R.join("/"):R;if(!v)if(T)h.length<2&&(c.endsWith("/")?c=c.slice(0,-1):u=!0);else throw new Error(`Missing required param "${_}"`);c+=v}}return c||"/"}return{re:i,score:r,keys:o,parse:l,stringify:a}}function ug(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===Oe.Static+Oe.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Oe.Static+Oe.Segment?1:-1:0}function gc(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=ug(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Ki(r))return 1;if(Ki(s))return-1}return s.length-r.length}function Ki(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const fg={strict:!1,end:!0,sensitive:!1};function dg(e,t,n){const r=cg(ig(e.path),n),s=re(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function hg(e,t){const n=[],r=new Map;t=Di(fg,t);function s(u){return r.get(u)}function o(u,h,d){const _=!d,b=Gi(u);b.aliasOf=d&&d.record;const T=Di(t,u),R=[b];if("alias"in u){const y=typeof u.alias=="string"?[u.alias]:u.alias;for(const w of y)R.push(Gi(re({},b,{components:d?d.record.components:b.components,path:w,aliasOf:d?d.record:b})))}let v,g;for(const y of R){const{path:w}=y;if(h&&w[0]!=="/"){const x=h.record.path,L=x[x.length-1]==="/"?"":"/";y.path=h.record.path+(w&&L+w)}if(v=dg(y,h,T),d?d.alias.push(v):(g=g||v,g!==v&&g.alias.push(v),_&&u.name&&!Ji(v)&&i(u.name)),mc(v)&&a(v),b.children){const x=b.children;for(let L=0;L<x.length;L++)o(x[L],v,d&&d.children[L])}d=d||v}return g?()=>{i(g)}:Kn}function i(u){if(dc(u)){const h=r.get(u);h&&(r.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){const h=mg(u,n);n.splice(h,0,u),u.record.name&&!Ji(u)&&r.set(u.record.name,u)}function f(u,h){let d,_={},b,T;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw xn(ge.MATCHER_NOT_FOUND,{location:u});T=d.record.name,_=re(qi(h.params,d.keys.filter(g=>!g.optional).concat(d.parent?d.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&qi(u.params,d.keys.map(g=>g.name))),b=d.stringify(_)}else if(u.path!=null)b=u.path,d=n.find(g=>g.re.test(b)),d&&(_=d.parse(b),T=d.record.name);else{if(d=h.name?r.get(h.name):n.find(g=>g.re.test(h.path)),!d)throw xn(ge.MATCHER_NOT_FOUND,{location:u,currentLocation:h});T=d.record.name,_=re({},h.params,u.params),b=d.stringify(_)}const R=[];let v=d;for(;v;)R.unshift(v.record),v=v.parent;return{name:T,path:b,params:_,matched:R,meta:gg(R)}}e.forEach(u=>o(u));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:c,getRoutes:l,getRecordMatcher:s}}function qi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Gi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:pg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function pg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ji(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function gg(e){return e.reduce((t,n)=>re(t,n.meta),{})}function mg(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;gc(e,t[o])<0?r=o:n=o+1}const s=yg(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function yg(e){let t=e;for(;t=t.parent;)if(mc(t)&&gc(e,t)===0)return t}function mc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Yi(e){const t=Pe(To),n=Pe(Co),r=Ge(()=>{const a=fe(e.to);return t.resolve(a)}),s=Ge(()=>{const{matched:a}=r.value,{length:f}=a,c=a[f-1],u=n.matched;if(!c||!u.length)return-1;const h=u.findIndex(An.bind(null,c));if(h>-1)return h;const d=Qi(a[f-2]);return f>1&&Qi(c)===d&&u[u.length-1].path!==d?u.findIndex(An.bind(null,a[f-2])):h}),o=Ge(()=>s.value>-1&&Eg(n.params,r.value.params)),i=Ge(()=>s.value>-1&&s.value===n.matched.length-1&&fc(n.params,r.value.params));function l(a={}){if(wg(a)){const f=t[fe(e.replace)?"replace":"push"](fe(e.to)).catch(Kn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:Ge(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}function _g(e){return e.length===1?e[0]:e}const bg=Bt({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"},viewTransition:Boolean},useLink:Yi,setup(e,{slots:t}){const n=Ft(Yi(e)),{options:r}=Pe(To),s=Ge(()=>({[Xi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Xi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&_g(t.default(n));return e.custom?o:xe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),vg=bg;function wg(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 Eg(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!nt(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function Qi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Xi=(e,t,n)=>e??t??n,Rg=Bt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Pe(Gs),s=Ge(()=>e.route||r.value),o=Pe($i,0),i=Ge(()=>{let f=fe(o);const{matched:c}=s.value;let u;for(;(u=c[f])&&!u.components;)f++;return f}),l=Ge(()=>s.value.matched[i.value]);Ht($i,Ge(()=>i.value+1)),Ht(zp,l),Ht(Gs,s);const a=vt();return yn(()=>[a.value,l.value,e.name],([f,c,u],[h,d,_])=>{c&&(c.instances[u]=f,d&&d!==c&&f&&f===h&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),f&&c&&(!d||!An(c,d)||!h)&&(c.enterCallbacks[u]||[]).forEach(b=>b(f))},{flush:"post"}),()=>{const f=s.value,c=e.name,u=l.value,h=u&&u.components[c];if(!h)return zi(n.default,{Component:h,route:f});const d=u.props[c],_=d?d===!0?f.params:typeof d=="function"?d(f):d:null,T=xe(h,re({},_,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(u.instances[c]=null)},ref:a}));return zi(n.default,{Component:T,route:f})||T}}});function zi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const yc=Rg;function Tg(e){const t=hg(e.routes,e),n=e.parseQuery||Qp,r=e.stringifyQuery||Ui,s=e.history,o=Dn(),i=Dn(),l=Dn(),a=En(Ke);let f=Ke;un&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ys.bind(null,S=>""+S),u=ys.bind(null,Ip),h=ys.bind(null,Xn);function d(S,U){let j,J;return dc(S)?(j=t.getRecordMatcher(S),J=U):J=S,t.addRoute(J,j)}function _(S){const U=t.getRecordMatcher(S);U&&t.removeRoute(U)}function b(){return t.getRoutes().map(S=>S.record)}function T(S){return!!t.getRecordMatcher(S)}function R(S,U){if(U=re({},U||a.value),typeof S=="string"){const m=_s(n,S,U.path),E=t.resolve({path:m.path},U),A=s.createHref(m.fullPath);return re(m,E,{params:h(E.params),hash:Xn(m.hash),redirectedFrom:void 0,href:A})}let j;if(S.path!=null)j=re({},S,{path:_s(n,S.path,U.path).path});else{const m=re({},S.params);for(const E in m)m[E]==null&&delete m[E];j=re({},S,{params:u(m)}),U.params=u(U.params)}const J=t.resolve(j,U),Z=S.hash||"";J.params=c(h(J.params));const he=Hp(r,re({},S,{hash:kp(Z),path:J.path})),p=s.createHref(he);return re({fullPath:he,hash:Z,query:r===Ui?Xp(S.query):S.query||{}},J,{redirectedFrom:void 0,href:p})}function v(S){return typeof S=="string"?_s(n,S,a.value.path):re({},S)}function g(S,U){if(f!==S)return xn(ge.NAVIGATION_CANCELLED,{from:U,to:S})}function y(S){return L(S)}function w(S){return y(re(v(S),{replace:!0}))}function x(S,U){const j=S.matched[S.matched.length-1];if(j&&j.redirect){const{redirect:J}=j;let Z=typeof J=="function"?J(S,U):J;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=v(Z):{path:Z},Z.params={}),re({query:S.query,hash:S.hash,params:Z.path!=null?{}:S.params},Z)}}function L(S,U){const j=f=R(S),J=a.value,Z=S.state,he=S.force,p=S.replace===!0,m=x(j,J);if(m)return L(re(v(m),{state:typeof m=="object"?re({},Z,m.state):Z,force:he,replace:p}),U||j);const E=j;E.redirectedFrom=U;let A;return!he&&Dp(r,J,j)&&(A=xn(ge.NAVIGATION_DUPLICATED,{to:E,from:J}),rt(J,J,!0,!1)),(A?Promise.resolve(A):N(E,J)).catch(C=>pt(C)?pt(C,ge.NAVIGATION_GUARD_REDIRECT)?C:St(C):B(C,E,J)).then(C=>{if(C){if(pt(C,ge.NAVIGATION_GUARD_REDIRECT))return L(re({replace:p},v(C.to),{state:typeof C.to=="object"?re({},Z,C.to.state):Z,force:he}),U||E)}else C=O(E,J,!0,p,Z);return W(E,J,C),C})}function V(S,U){const j=g(S,U);return j?Promise.reject(j):Promise.resolve()}function I(S){const U=on.values().next().value;return U&&typeof U.runWithContext=="function"?U.runWithContext(S):S()}function N(S,U){let j;const[J,Z,he]=Zp(S,U);j=vs(J.reverse(),"beforeRouteLeave",S,U);for(const m of J)m.leaveGuards.forEach(E=>{j.push(Nt(E,S,U))});const p=V.bind(null,S,U);return j.push(p),Ve(j).then(()=>{j=[];for(const m of o.list())j.push(Nt(m,S,U));return j.push(p),Ve(j)}).then(()=>{j=vs(Z,"beforeRouteUpdate",S,U);for(const m of Z)m.updateGuards.forEach(E=>{j.push(Nt(E,S,U))});return j.push(p),Ve(j)}).then(()=>{j=[];for(const m of he)if(m.beforeEnter)if(nt(m.beforeEnter))for(const E of m.beforeEnter)j.push(Nt(E,S,U));else j.push(Nt(m.beforeEnter,S,U));return j.push(p),Ve(j)}).then(()=>(S.matched.forEach(m=>m.enterCallbacks={}),j=vs(he,"beforeRouteEnter",S,U,I),j.push(p),Ve(j))).then(()=>{j=[];for(const m of i.list())j.push(Nt(m,S,U));return j.push(p),Ve(j)}).catch(m=>pt(m,ge.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function W(S,U,j){l.list().forEach(J=>I(()=>J(S,U,j)))}function O(S,U,j,J,Z){const he=g(S,U);if(he)return he;const p=U===Ke,m=un?history.state:{};j&&(J||p?s.replace(S.fullPath,re({scroll:p&&m&&m.scroll},Z)):s.push(S.fullPath,Z)),a.value=S,rt(S,U,j,p),St()}let K;function ee(){K||(K=s.listen((S,U,j)=>{if(!Ut.listening)return;const J=R(S),Z=x(J,Ut.currentRoute.value);if(Z){L(re(Z,{replace:!0,force:!0}),J).catch(Kn);return}f=J;const he=a.value;un&&Kp(Bi(he.fullPath,j.delta),es()),N(J,he).catch(p=>pt(p,ge.NAVIGATION_ABORTED|ge.NAVIGATION_CANCELLED)?p:pt(p,ge.NAVIGATION_GUARD_REDIRECT)?(L(re(v(p.to),{force:!0}),J).then(m=>{pt(m,ge.NAVIGATION_ABORTED|ge.NAVIGATION_DUPLICATED)&&!j.delta&&j.type===Ks.pop&&s.go(-1,!1)}).catch(Kn),Promise.reject()):(j.delta&&s.go(-j.delta,!1),B(p,J,he))).then(p=>{p=p||O(J,he,!1),p&&(j.delta&&!pt(p,ge.NAVIGATION_CANCELLED)?s.go(-j.delta,!1):j.type===Ks.pop&&pt(p,ge.NAVIGATION_ABORTED|ge.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),W(J,he,p)}).catch(Kn)}))}let le=Dn(),$=Dn(),X;function B(S,U,j){St(S);const J=$.list();return J.length?J.forEach(Z=>Z(S,U,j)):console.error(S),Promise.reject(S)}function de(){return X&&a.value!==Ke?Promise.resolve():new Promise((S,U)=>{le.add([S,U])})}function St(S){return X||(X=!S,ee(),le.list().forEach(([U,j])=>S?j(S):U()),le.reset()),S}function rt(S,U,j,J){const{scrollBehavior:Z}=e;if(!un||!Z)return Promise.resolve();const he=!j&&qp(Bi(S.fullPath,0))||(J||!j)&&history.state&&history.state.scroll||null;return en().then(()=>Z(S,U,he)).then(p=>p&&Wp(p)).catch(p=>B(p,S,U))}const Ie=S=>s.go(S);let sn;const on=new Set,Ut={currentRoute:a,listening:!0,addRoute:d,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:T,getRoutes:b,resolve:R,options:e,push:y,replace:w,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:$.add,isReady:de,install(S){S.component("RouterLink",vg),S.component("RouterView",yc),S.config.globalProperties.$router=Ut,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>fe(a)}),un&&!sn&&a.value===Ke&&(sn=!0,y(s.location).catch(J=>{}));const U={};for(const J in Ke)Object.defineProperty(U,J,{get:()=>a.value[J],enumerable:!0});S.provide(To,Ut),S.provide(Co,at(U)),S.provide(Gs,a);const j=S.unmount;on.add(S),S.unmount=function(){on.delete(S),on.size<1&&(f=Ke,K&&K(),K=null,a.value=Ke,sn=!1,X=!1),j()}}};function Ve(S){return S.reduce((U,j)=>U.then(()=>I(j)),Promise.resolve())}return Ut}function _c(e){return Pe(Co)}const Cg=/(:\w+)\([^)]+\)/g,Sg=/(:\w+)[?+*]/g,Ag=/:\w+/g,xg=(e,t)=>t.path.replace(Cg,"$1").replace(Sg,"$1").replace(Ag,n=>e.params[n.slice(1)]?.toString()||""),Js=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&xg(e.route,n));return typeof r=="function"?r(e.route):r},Pg=(e,t)=>({default:()=>e?xe(ku,e===!0?{}:e,t):t});function So(e){return Array.isArray(e)?e:[e]}const kg="modulepreload",Og=function(e,t){return new URL(e,t).href},Zi={},Hr=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let f=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const i=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=l?.nonce||l?.getAttribute("nonce");s=f(n.map(c=>{if(c=Og(c,r),c in Zi)return;Zi[c]=!0;const u=c.endsWith(".css"),h=u?'[rel="stylesheet"]':"";if(r)for(let _=i.length-1;_>=0;_--){const b=i[_];if(b.href===c&&(!u||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${h}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":kg,u||(d.as="script"),d.crossOrigin="",d.href=c,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((_,b)=>{d.addEventListener("load",_),d.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return s.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},ws=[{name:"mcp",path:"/mcp",component:()=>Hr(()=>import("./DMBGVttU.js"),__vite__mapDeps([0,1,2]),import.meta.url)},{name:"index",path:"/",component:()=>Hr(()=>import("./CRwOrvc3.js"),__vite__mapDeps([3,2,1]),import.meta.url)}],bc=(e,t)=>({default:()=>e?xe(Of,e===!0?{}:e,t):t.default?.()}),Ng=/(:\w+)\([^)]+\)/g,Ig=/(:\w+)[?+*]/g,Mg=/:\w+/g;function el(e){const t=e?.meta.key??e.path.replace(Ng,"$1").replace(Ig,"$1").replace(Mg,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function Lg(e,t){return e===t||t===Ke?!1:el(e)!==el(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}const Hg={scrollBehavior(e,t,n){const r=ve(),s=$e().options?.scrollBehaviorType??"auto";if(e.path.replace(/\/$/,"")===t.path.replace(/\/$/,""))return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:vc(e.hash),behavior:s}:!1;if((typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1)return!1;const i=r._runningTransition?"page:transition:finish":"page:loading:end";return new Promise(l=>{if(t===Ke){l(tl(e,t,n,s));return}r.hooks.hookOnce(i,()=>{requestAnimationFrame(()=>l(tl(e,t,n,s)))})})}};function vc(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function tl(e,t,n,r){if(n)return n;const s=Lg(e,t);return e.hash?{el:e.hash,top:vc(e.hash),behavior:s?r:"instant"}:{left:0,top:0}}const Dg={hashMode:!1,scrollBehaviorType:"auto"},xt={...Dg,...Hg},jg=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const s=([n,r]=vn(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const o=zt({fatal:!0,statusCode:s&&s.statusCode||404,statusMessage:s&&s.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),o},Fg=async e=>{let t,n;const r=([t,n]=vn(()=>wo({path:e.path})),t=await t,n(),t);if(r.redirect){const s=r.redirect.includes("#")?r.redirect:r.redirect+e.hash;return rn(s,{acceptRelative:!0})?(window.location.href=s,!1):s}},Bg=[jg,Fg],Ys={};function Ug(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const f=o.includes(e.slice(i))?e.slice(i).length:1;let c=o.slice(f);return c[0]!=="/"&&(c="/"+c),bi(c,"")}const l=bi(r,e),a=!n||Ld(l,n)?l:n;return a+(a.includes("?")?"":s)+o}const $g=ft({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Qr().app.baseURL;const s=xt.history?.(r)??rg(r),o=xt.routes?([t,n]=vn(()=>xt.routes(ws)),t=await t,n(),t??ws):ws;let i;const l=Tg({...xt,scrollBehavior:(T,R,v)=>{if(R===Ke){i=v;return}if(xt.scrollBehavior){if(l.options.scrollBehavior=xt.scrollBehavior,"scrollRestoration"in window.history){const g=l.beforeEach(()=>{g(),window.history.scrollRestoration="manual"})}return xt.scrollBehavior(T,Ke,i||v)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const a=En(l.currentRoute.value);l.afterEach((T,R)=>{a.value=R}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>a.value});const f=Ug(r,window.location,e.payload.path),c=En(l.currentRoute.value),u=()=>{c.value=l.currentRoute.value};l.afterEach((T,R)=>{T.matched.at(-1)?.components?.default===R.matched.at(-1)?.components?.default&&u()});const h={sync:u};for(const T in c.value)Object.defineProperty(h,T,{get:()=>c.value[T],enumerable:!0});e._route=at(h),e._middleware||={global:[],named:{}};const d=zr();l.afterEach(async(T,R,v)=>{delete e._processingMiddleware,!e.isHydrating&&d.value&&await e.runWithContext(kh),v&&await e.callHook("page:loading:end")});try{[t,n]=vn(()=>l.isReady()),await t,n()}catch(T){[t,n]=vn(()=>e.runWithContext(()=>Gt(T))),await t,n()}const _=f!==l.currentRoute.value.fullPath?l.resolve(f):l.currentRoute.value;u();const b=e.payload.state._layout;return l.beforeEach(async(T,R)=>{await e.callHook("page:loading:start"),T.meta=Ft(T.meta),e.isHydrating&&b&&!ut(T.meta.layout)&&(T.meta.layout=b),e._processingMiddleware=!0;{const v=new Set([...Bg,...e._middleware.global]);for(const g of T.matched){const y=g.meta.middleware;if(y)for(const w of So(y))v.add(w)}{const g=await e.runWithContext(()=>wo({path:T.path}));if(g.appMiddleware)for(const y in g.appMiddleware)g.appMiddleware[y]?v.add(y):v.delete(y)}for(const g of v){const y=typeof g=="string"?e._middleware.named[g]||await Ys[g]?.().then(w=>w.default||w):g;if(!y)throw new Error(`Unknown route middleware: '${g}'.`);try{const w=await e.runWithContext(()=>y(T,R));if(!e.payload.serverRendered&&e.isHydrating&&(w===!1||w instanceof Error)){const x=w||zt({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>Gt(x)),!1}if(w===!0)continue;if(w===!1)return w;if(w)return za(w)&&w.fatal&&await e.runWithContext(()=>Gt(w)),w}catch(w){const x=zt(w);return x.fatal&&await e.runWithContext(()=>Gt(x)),x}}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(T=>{if(T.matched.length===0)return e.runWithContext(()=>Gt(zt({statusCode:404,fatal:!1,statusMessage:`Page not found: ${T.fullPath}`,data:{path:T.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in _&&(_.name=void 0),await l.replace({..._,force:!0}),l.options.scrollBehavior=xt.scrollBehavior}catch(T){await e.runWithContext(()=>Gt(T))}}),{provide:{router:l}}}}),nl=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Am=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Ao=e=>{const t=ve();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{nl(()=>e())}):nl(()=>e())},Vg=ft({name:"nuxt:payload",setup(e){const t=new Set;$e().beforeResolve(async(n,r)=>{if(n.path===r.path)return;const s=await Hi(n.path);if(s){for(const o of t)delete e.static.data[o];for(const o in s.data)o in e.static.data||t.add(o),e.static.data[o]=s.data[o]}}),Ao(()=>{e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Hi(n).catch(()=>{console.warn("[nuxt] Error preloading payload for",n)})}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(Zr,1e3)})}}),Wg=ft(()=>{const e=$e();Ao(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),Kg=ft(e=>{let t;async function n(){let r;try{r=await Zr()}catch(s){const o=s;if(!("status"in o&&(o.status===404||o.status===403)))throw o}t&&clearTimeout(t),t=setTimeout(n,Si);try{const s=await $fetch(vo("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}Ao(()=>{t=setTimeout(n,Si)})});function qg(e={}){const t=e.path||window.location.pathname;let n={};try{n=kr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:ve().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Gg=ft({name:"nuxt:chunk-reload",setup(e){const t=$e(),n=Qr(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=_o(n.app.baseURL,o.fullPath);qg({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),Jg=ft({name:"nuxt:global-components"}),It={};function Yg(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function Qg(e,t=$e()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>Qg(e,t));t._routePreloaded.add(n);for(const o of r){const i=o.components?.default;if(typeof i!="function")continue;const l=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(l)));s.push(l)}await Promise.all(s)}const Xg=ft({name:"nuxt:prefetch",setup(e){const t=$e();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof It[r]=="function"&&await It[r]()})}),e.hooks.hook("link:prefetch",n=>{if(rn(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=So(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof Ys[i]=="function"&&Ys[i]();typeof s=="string"&&s in It&&Yg(It[s])})}}),zg=ft(()=>{}),Zg=[pp,bp,$g,Vg,Wg,Kg,Gg,Jg,Xg,zg],wc=(e="RouteProvider")=>Bt({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const o in t.route)Object.defineProperty(s,o,{get:()=>n===t.renderKey?t.route[o]:r[o],enumerable:!0});return Ht(nn,at(s)),()=>t.vnode?xe(t.vnode,{ref:t.vnodeRef}):t.vnode}}),em=wc(),rl=new WeakMap,tm=Bt({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=ve(),o=vt(),i=Pe(nn,null);let l;r({pageRef:o});const a=Pe(Qa,null);let f;const c=s.deferHydration();if(s.isHydrating){const h=s.hooks.hookOnce("app:error",c);$e().beforeEach(h)}e.pageKey&&yn(()=>e.pageKey,(h,d)=>{h!==d&&s.callHook("page:loading:start")});let u=!1;{const h=$e().beforeResolve(()=>{u=!1});tr(()=>{h()})}return()=>xe(yc,{name:e.name,route:e.route,...t},{default:h=>{const d=rm(i,h.route,h.Component),_=i&&i.matched.length===h.route.matched.length;if(!h.Component){if(f&&!_)return f;c();return}if(f&&a&&!a.isCurrent(h.route))return f;if(d&&i&&(!a||a?.isCurrent(i)))return _?f:null;const b=Js(h,e.pageKey),T=sm(i,h.route,h.Component);!s.isHydrating&&l===b&&!T&&en(()=>{u=!0,s.callHook("page:loading:end")}),l=b;const R=!!(e.transition??h.route.meta.pageTransition??Ti),v=R&&nm([e.transition,h.route.meta.pageTransition,Ti,{onAfterLeave(){delete s._runningTransition,s.callHook("page:transition:finish",h.Component)}}]),g=e.keepalive??h.route.meta.keepalive??dh;return f=bc(R&&v,Pg(g,xe(go,{suspensible:!0,onPending:()=>{R&&(s._runningTransition=!0),s.callHook("page:start",h.Component)},onResolve:async()=>{await en();try{s._route.sync?.(),await s.callHook("page:finish",h.Component),delete s._runningTransition,!u&&!T&&(u=!0,await s.callHook("page:loading:end"))}finally{c()}}},{default:()=>{const y={key:b||void 0,vnode:n.default?om(n.default,h):h.Component,route:h.route,renderKey:b||void 0,trackRootNodes:R,vnodeRef:o};if(!g)return xe(em,y);const w=h.Component.type,x=w;let L=rl.get(x);return L||(L=wc(w.name||w.__name),rl.set(x,L)),xe(L,y)}}))).default(),f}})}});function nm(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?So(n.onAfterLeave):void 0});return Ja(...t)}function rm(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>s.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>s.components?.default!==e.matched[o]?.components?.default)||n&&Js({route:t,Component:n})!==Js({route:e,Component:n})}function sm(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function om(e,t){const n=e(t);return n.length===1?xe(n[0]):xe(Re,void 0,n)}const im=Bt({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>xe(It[e.name],e.layoutProps,t.slots)}}),lm={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},am=Bt({name:"NuxtLayout",inheritAttrs:!1,props:lm,setup(e,t){const n=ve(),r=Pe(nn),o=!r||r===Xr()?_c():r,i=Ge(()=>{let c=fe(e.name)??o?.meta.layout??"default";return c&&!(c in It)&&e.fallback&&(c=fe(e.fallback)),c}),l=En();t.expose({layoutRef:l});const a=n.deferHydration();if(n.isHydrating){const c=n.hooks.hookOnce("app:error",a);$e().beforeEach(c)}let f;return()=>{const c=i.value&&i.value in It,u=o?.meta.layoutTransition??fh,h=f;return f=i.value,bc(c&&u,{default:()=>xe(go,{suspensible:!0,onResolve:()=>{en(a)}},{default:()=>xe(cm,{layoutProps:Ca(t.attrs,{ref:l}),key:i.value||void 0,name:i.value,shouldProvide:!e.name,isRenderingNewLayout:d=>d!==h&&d===i.value,hasTransition:!!u},t.slots)})}).default()}}}),cm=Bt({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){const n=e.name;e.shouldProvide&&Ht(Qa,{isCurrent:o=>n===(o.meta.layout??"default")});const r=Pe(nn);if(r&&r===Xr()){const o=_c(),i={};for(const l in o){const a=l;Object.defineProperty(i,a,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)?o[a]:r[a]})}Ht(nn,at(i))}return()=>!n||typeof n=="string"&&!(n in It)?t.slots.default?.():xe(im,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),um=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},fm={};function dm(e,t){const n=tm,r=am;return qe(),lt(r,null,{default:lo(()=>[me(n,{keepalive:!0,transition:{name:"page",mode:"out-in"}})]),_:1})}const hm=um(fm,[["render",dm]]),pm={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),l=void 0,c=s?Bo(()=>Hr(()=>import("./B6Pm7LNk.js"),__vite__mapDeps([4,1,5,6]),import.meta.url)):Bo(()=>Hr(()=>import("./Dgh4EhoJ.js"),__vite__mapDeps([7,5,8]),import.meta.url));return(u,h)=>(qe(),lt(fe(c),Oc(Ra({statusCode:fe(r),statusMessage:fe(o),description:fe(i),stack:fe(l)})),null,16))}},gm={key:0},sl={__name:"nuxt-root",setup(e){const t=()=>null,n=ve(),r=n.deferHydration();if(n.isHydrating){const f=n.hooks.hookOnce("app:error",r);$e().beforeEach(f)}const s=!1;Ht(nn,Xr()),n.hooks.callHookWith(f=>f.map(c=>c()),"vue:setup");const o=zr(),i=!1,l=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Yl((f,c,u)=>{if(n.hooks.callHook("vue:error",f,c,u).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),l.test(navigator.userAgent))return n.hooks.callHook("app:error",f),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,f),!1;if(za(f)&&(f.fatal||f.unhandled))return n.runWithContext(()=>Gt(f)),!1});const a=!1;return(f,c)=>(qe(),lt(go,{onResolve:fe(r)},{default:lo(()=>[fe(i)?(qe(),gf("div",gm)):fe(o)?(qe(),lt(fe(pm),{key:1,error:fe(o)},null,8,["error"])):fe(a)?(qe(),lt(fe(t),{key:2,context:fe(a)},null,8,["context"])):fe(s)?(qe(),lt(Du(fe(s)),{key:3})):(qe(),lt(fe(hm),{key:4}))]),_:1},8,["onResolve"]))}};let ol;{let e;ol=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?id(sl):od(sl),s=mh({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=zt(i)}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)}),!n&&Ci.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(Ci.id)?.remove()});try{await bh(s,Zg)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(hh),await s.hooks.callHook("app:mounted",r),await en()}catch(i){o(i)}return r},e=ol().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{en as A,lt as B,xe as C,vm as D,Nn as E,Re as F,yn as G,Em as H,Ca as I,_e as J,$e as K,Ao as L,nl as M,tr as N,Am as O,_m as P,Ma as Q,Ph as R,Qg as S,rn as T,_o as U,Qr as V,Cm as W,Nd as X,Nr as Y,Tm as Z,um as _,Ea as a,me as b,gf as c,Ta as d,ve as e,tc as f,Bt as g,ao as h,Pe as i,fo as j,Jl as k,wm as l,ym as m,Vr as n,qe as o,bm as p,mm as q,vt as r,En as s,Lc as t,Sm as u,Zf as v,lo as w,Ge as x,fe as y,Rm as z};
@@ -1 +0,0 @@
1
- {"id":"f2b44466-6d7e-4b5c-bf6b-f6c7cf9e0d59","timestamp":1767989026393,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}