@vitejs/devtools-self-inspect 0.1.21 → 0.1.23
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.
- package/dist/nitro.json +2 -2
- package/dist/public/200.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_nuxt/4VjG3K1W.js +1 -0
- package/dist/public/_nuxt/BGRe5yJg.js +1 -0
- package/dist/public/_nuxt/CLU_GZeK.js +1 -0
- package/dist/public/_nuxt/D0BZlWlx.js +1 -0
- package/dist/public/_nuxt/DXqPauvN.js +1 -0
- package/dist/public/_nuxt/DcJIPgjU.js +1 -0
- package/dist/public/_nuxt/DqGEwxrD.js +7 -0
- package/dist/public/_nuxt/DunsOLTA.js +1 -0
- package/dist/public/_nuxt/bSwpE1WJ.js +1 -0
- package/dist/public/_nuxt/builds/latest.json +1 -1
- package/dist/public/_nuxt/builds/meta/4ab204d3-bc99-445f-867d-cb032cdf5ef5.json +1 -0
- package/dist/public/_nuxt/{entry.dLTb_rwc.css → entry.BTyHnr6L.css} +1 -1
- package/dist/public/_nuxt/error-404.3xPYxf32.css +1 -0
- package/dist/public/_nuxt/error-500.CUtwZWQI.css +1 -0
- package/dist/public/_nuxt/mwcRRnI8.js +1 -0
- package/dist/public/index.html +1 -1
- package/package.json +5 -5
- package/dist/public/_nuxt/0Aqki3xQ.js +0 -1
- package/dist/public/_nuxt/B9bgxnv7.js +0 -1
- package/dist/public/_nuxt/BGNY_TUJ.js +0 -1
- package/dist/public/_nuxt/BPmc3Hsv.js +0 -1
- package/dist/public/_nuxt/BeLhjTTK.js +0 -5
- package/dist/public/_nuxt/BjOb2uft.js +0 -1
- package/dist/public/_nuxt/CiQPXgUI.js +0 -1
- package/dist/public/_nuxt/DJCsHnip.js +0 -3
- package/dist/public/_nuxt/DQb1cwBC.js +0 -1
- package/dist/public/_nuxt/DxyJG-bm.js +0 -1
- package/dist/public/_nuxt/HBG-NzT9.js +0 -1
- package/dist/public/_nuxt/J28eQ12k.js +0 -1
- package/dist/public/_nuxt/Lt2zEa9L.js +0 -1
- package/dist/public/_nuxt/builds/meta/6a5234a6-07e3-45fe-8ad8-aee440f57bd6.json +0 -1
- package/dist/public/_nuxt/error-404.DGENu4tq.css +0 -1
- package/dist/public/_nuxt/error-500.Dafb1iMn.css +0 -1
- /package/dist/public/_nuxt/{CHHO6nw6.js → CpYm6ps0.js} +0 -0
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Lt2zEa9L.js","./DJCsHnip.js","./BPmc3Hsv.js","./B9bgxnv7.js","./BGNY_TUJ.js","./CiQPXgUI.js","./0Aqki3xQ.js","./DQb1cwBC.js","./DxyJG-bm.js","./HBG-NzT9.js","./BjOb2uft.js","./CHHO6nw6.js","./error-404.DGENu4tq.css","./J28eQ12k.js","./error-500.Dafb1iMn.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{$ as e,A as t,B as n,F as r,Ft as i,G as a,H as o,J as s,K as c,L as l,M as u,Mt as d,N as f,Nt as p,O as m,P as h,Q as g,R as _,S as v,V as y,W as b,Y as ee,Z as te,_ as ne,a as x,at as re,b as S,c as ie,ct as C,d as w,dt as ae,f as oe,ft as T,g as se,h as ce,i as E,it as le,j as ue,k as de,l as fe,lt as pe,n as me,nt as he,ot as D,pt as O,r as k,rt as ge,s as _e,st as ve,t as ye,tt as be,u as xe,ut as A,w as Se,x as Ce,z as we}from"./DJCsHnip.js";import{n as Te,r as Ee,t as De}from"./BGNY_TUJ.js";import{C as Oe,S as ke,T as Ae,_ as je,a as Me,b as Ne,c as Pe,d as j,f as Fe,g as Ie,h as Le,i as Re,l as ze,m as Be,n as Ve,o as He,p as Ue,r as We,s as Ge,t as Ke,u as qe,v as Je,w as Ye,x as Xe,y as Ze}from"./HBG-NzT9.js";var Qe=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var $e=class extends Error{constructor(e,t){super(e,t),this.name=`FetchError`,t?.cause&&!this.cause&&(this.cause=t.cause)}};function et(e){let t=e.error?.message||e.error?.toString()||``,n=e.request?.method||e.options?.method||`GET`,r=e.request?.url||String(e.request)||`/`,i=new $e(`${`[${n}] ${JSON.stringify(r)}`}: ${e.response?`${e.response.status} ${e.response.statusText}`:`<no response>`}${t?` ${t}`:``}`,e.error?{cause:e.error}:void 0);for(let t of[`request`,`options`,`response`])Object.defineProperty(i,t,{get(){return e[t]}});for(let[t,n]of[[`data`,`_data`],[`status`,`status`],[`statusCode`,`status`],[`statusText`,`statusText`],[`statusMessage`,`statusText`]])Object.defineProperty(i,t,{get(){return e.response&&e.response[n]}});return i}var tt=new Set(Object.freeze([`PATCH`,`POST`,`PUT`,`DELETE`]));function nt(e=`GET`){return tt.has(e.toUpperCase())}function rt(e){if(e===void 0)return!1;let t=typeof e;return t===`string`||t===`number`||t===`boolean`||t===null?!0:t===`object`?Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name===`Object`||typeof e.toJSON==`function`:!1}var it=new Set([`image/svg`,`application/xml`,`application/xhtml`,`application/html`]),at=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function ot(e=``){if(!e)return`json`;let t=e.split(`;`).shift()||``;return at.test(t)?`json`:t===`text/event-stream`?`stream`:it.has(t)||t.startsWith(`text/`)?`text`:`blob`}function st(e,t,n,r){let i=ct(t?.headers??e?.headers,n?.headers,r),a;return(n?.query||n?.params||t?.params||t?.query)&&(a={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:a,params:a,headers:i}}function ct(e,t,n){if(!t)return new n(e);let r=new n(t);if(e)for(let[t,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(t,i);return r}async function lt(e,t){if(t)if(Array.isArray(t))for(let n of t)await n(e);else await t(e)}var ut=new Set([408,409,425,429,500,502,503,504]),dt=new Set([101,204,205,304]);function ft(e={}){let{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function i(e){let t=e.error&&e.error.name===`AbortError`&&!e.options.timeout||!1;if(e.options.retry!==!1&&!t){let t;t=typeof e.options.retry==`number`?e.options.retry:+!nt(e.options.method);let n=e.response&&e.response.status||500;if(t>0&&(Array.isArray(e.options.retryStatusCodes)?e.options.retryStatusCodes.includes(n):ut.has(n))){let n=typeof e.options.retryDelay==`function`?e.options.retryDelay(e):e.options.retryDelay||0;return n>0&&await new Promise(e=>setTimeout(e,n)),a(e.request,{...e.options,retry:t-1})}}let n=et(e);throw Error.captureStackTrace&&Error.captureStackTrace(n,a),n}let a=async function(a,o={}){let s={request:a,options:st(a,o,e.defaults,n),response:void 0,error:void 0};if(s.options.method&&(s.options.method=s.options.method.toUpperCase()),s.options.onRequest&&(await lt(s,s.options.onRequest),s.options.headers instanceof n||(s.options.headers=new n(s.options.headers||{}))),typeof s.request==`string`&&(s.options.baseURL&&(s.request=Oe(s.request,s.options.baseURL)),s.options.query&&(s.request=Ye(s.request,s.options.query),delete s.options.query),`query`in s.options&&delete s.options.query,`params`in s.options&&delete s.options.params),s.options.body&&nt(s.options.method))if(rt(s.options.body)){let e=s.options.headers.get(`content-type`);typeof s.options.body!=`string`&&(s.options.body=e===`application/x-www-form-urlencoded`?new URLSearchParams(s.options.body).toString():JSON.stringify(s.options.body)),e||s.options.headers.set(`content-type`,`application/json`),s.options.headers.has(`accept`)||s.options.headers.set(`accept`,`application/json`)}else (`pipeTo`in s.options.body&&typeof s.options.body.pipeTo==`function`||typeof s.options.body.pipe==`function`)&&(`duplex`in s.options||(s.options.duplex=`half`));let c;if(!s.options.signal&&s.options.timeout){let e=new r;c=setTimeout(()=>{let t=Error(`[TimeoutError]: The operation was aborted due to timeout`);t.name=`TimeoutError`,t.code=23,e.abort(t)},s.options.timeout),s.options.signal=e.signal}try{s.response=await t(s.request,s.options)}catch(e){return s.error=e,s.options.onRequestError&&await lt(s,s.options.onRequestError),await i(s)}finally{c&&clearTimeout(c)}if((s.response.body||s.response._bodyInit)&&!dt.has(s.response.status)&&s.options.method!==`HEAD`){let e=(s.options.parseResponse?`json`:s.options.responseType)||ot(s.response.headers.get(`content-type`)||``);switch(e){case`json`:{let e=await s.response.text(),t=s.options.parseResponse||Ae;s.response._data=t(e);break}case`stream`:s.response._data=s.response.body||s.response._bodyInit;break;default:s.response._data=await s.response[e]()}}return s.options.onResponse&&await lt(s,s.options.onResponse),!s.options.ignoreResponseError&&s.response.status>=400&&s.response.status<600?(s.options.onResponseError&&await lt(s,s.options.onResponseError),await i(s)):s.response},o=async function(e,t){return(await a(e,t))._data};return o.raw=a,o.native=(...e)=>t(...e),o.create=(t={},n={})=>ft({...e,...n,defaults:{...e.defaults,...n.defaults,...t}}),o}var pt=(function(){if(typeof globalThis<`u`)return globalThis;if(typeof self<`u`)return self;if(typeof window<`u`)return window;if(typeof globalThis<`u`)return globalThis;throw Error(`unable to locate global object`)})(),mt=pt.fetch?(...e)=>pt.fetch(...e):()=>Promise.reject(Error(`[ofetch] global.fetch is not supported!`)),ht=pt.Headers,gt=pt.AbortController,_t=ft({fetch:mt,Headers:ht,AbortController:gt}),vt=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,yt=()=>vt().app,bt=()=>yt().baseURL,xt=()=>yt().buildAssetsDir,St=(...e)=>je(Ct(),xt(),...e),Ct=(...e)=>{let t=yt(),n=t.cdnURL||t.baseURL;return e.length?je(n,...e):n};globalThis.__buildAssetsURL=St,globalThis.__publicAssetsURL=Ct,globalThis.$fetch||(globalThis.$fetch=_t.create({baseURL:bt()})),`global`in globalThis||(globalThis.global=globalThis);function wt(e){return Uint8Array.fromBase64(e).buffer}function Tt(e){return Uint8Array.from(Buffer.from(e,`base64`)).buffer}function Et(e){let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer}var Dt=typeof Uint8Array.fromBase64==`function`,Ot=typeof process==`object`&&process.versions?.node!==void 0,kt=Dt?wt:Ot?Tt:Et;function At(e,t){return jt(JSON.parse(e),t)}function jt(e,t){if(typeof e==`number`)return a(e,!0);if(!Array.isArray(e)||e.length===0)throw Error(`Invalid input`);let n=e,r=Array(n.length),i=null;function a(e,o=!1){if(e===-1)return;if(e===-3)return NaN;if(e===-4)return 1/0;if(e===-5)return-1/0;if(e===-6)return-0;if(o||typeof e!=`number`)throw Error(`Invalid input`);if(e in r)return r[e];let s=n[e];if(!s||typeof s!=`object`)r[e]=s;else if(Array.isArray(s))if(typeof s[0]==`string`){let o=s[0],c=t&&Object.hasOwn(t,o)?t[o]:void 0;if(c){let t=s[1];if(typeof t!=`number`&&(t=n.push(s[1])-1),i??=new Set,i.has(t))throw Error(`Invalid circular reference`);return i.add(t),r[e]=c(a(t)),i.delete(t),r[e]}switch(o){case`Date`:r[e]=new Date(s[1]);break;case`Set`:let t=new Set;r[e]=t;for(let e=1;e<s.length;e+=1)t.add(a(s[e]));break;case`Map`:let i=new Map;r[e]=i;for(let e=1;e<s.length;e+=2)i.set(a(s[e]),a(s[e+1]));break;case`RegExp`:r[e]=new RegExp(s[1],s[2]);break;case`Object`:{let t=s[1];if(typeof n[t]==`object`&&n[t][0]!==`BigInt`)throw Error(`Invalid input`);r[e]=Object(a(t));break}case`BigInt`:r[e]=BigInt(s[1]);break;case`null`:let c=Object.create(null);r[e]=c;for(let e=1;e<s.length;e+=2){if(s[e]===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");c[s[e]]=a(s[e+1])}break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Float16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:case`DataView`:{if(n[s[1]][0]!==`ArrayBuffer`)throw Error(`Invalid data`);let t=globalThis[o],i=a(s[1]);r[e]=s[2]===void 0?new t(i):new t(i,s[2],s[3]);break}case`ArrayBuffer`:{let t=s[1];if(typeof t!=`string`)throw Error(`Invalid ArrayBuffer encoding`);r[e]=kt(t);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`:{let t=o.slice(9);r[e]=Temporal[t].from(s[1]);break}case`URL`:r[e]=new URL(s[1]);break;case`URLSearchParams`:r[e]=new URLSearchParams(s[1]);break;default:throw Error(`Unknown type ${o}`)}}else if(s[0]===-7){let t=s[1];if(!Number.isInteger(t)||t<0)throw Error(`Invalid input`);let n=Array(t);r[e]=n;for(let e=2;e<s.length;e+=2){let r=s[e];if(!Number.isInteger(r)||r<0||r>=t)throw Error(`Invalid input`);n[r]=a(s[e+1])}}else{let t=Array(s.length);r[e]=t;for(let e=0;e<s.length;e+=1){let n=s[e];n!==-2&&(t[e]=a(n))}}else{let t={};r[e]=t;for(let e of Object.keys(s)){if(e===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");let n=s[e];t[e]=a(n)}}return r[e]}return a(0)}var Mt=new Set([`link`,`style`,`script`,`noscript`]),Nt=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),Pt=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),Ft=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),It=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),Lt=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),Rt=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),zt=new Set([`theme-color`,`google-site-verification`,`og`,`article`,`book`,`profile`,`twitter`,`author`]),Bt=[`name`,`property`,`http-equiv`],Vt=new Set([`viewport`,`description`,`keywords`,`robots`]);function Ht(e){let t=e.split(`:`);return t.length?zt.has(t[1]):!1}function Ut(e){let{props:t,tag:n}=e;if(It.has(n))return n;if(n===`link`&&t.rel===`canonical`)return`canonical`;if(n===`link`&&t.rel===`alternate`){let e=t.hreflang||t.type;if(e)return`alternate:${e}`}if(t.charset)return`charset`;if(e.tag===`meta`){for(let r of Bt)if(t[r]!==void 0){let i=t[r],a=i&&typeof i==`string`&&i.includes(`:`),o=i&&Vt.has(i);return`${n}:${i}${!(a||o)&&e.key?`:key:${e.key}`:``}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n===`link`&&t.rel===`alternate`)return`alternate:${t.href||``}`;if(Nt.has(n)){let t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function Wt(e){return e._h||e._d||e.textContent||e.innerHTML||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(`,`)}`}function Gt(e,t,n){typeof e==`function`&&(!n||n!==`titleTemplate`&&!(n[0]===`o`&&n[1]===`n`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r))return r.map(e=>Gt(e,t));if(r?.constructor===Object){let e={};for(let n of Object.keys(r))e[n]=Gt(r[n],t,n);return e}return r}function Kt(e,t){let n=e===`style`?new Map:new Set;function r(t){if(t==null||t===void 0)return;let r=String(t).trim();if(r)if(e===`style`){let[e,...t]=r.split(`:`).map(e=>e?e.trim():``);e&&t.length&&n.set(e,t.join(`:`))}else r.split(` `).filter(Boolean).forEach(e=>n.add(e))}return typeof t==`string`?e===`style`?t.split(`;`).forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&typeof t==`object`&&Object.entries(t).forEach(([t,i])=>{i&&i!==`false`&&(e===`style`?n.set(String(t).trim(),String(i)):r(t))}),n}function qt(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=Pt.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;return Object.entries(t).forEach(([r,i])=>{if(r===`__proto__`||r===`constructor`||r===`prototype`)return;if(i===null){e.props[r]=null;return}if(r===`class`||r===`style`){e.props[r]=Kt(r,i);return}if(Lt.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof i==`object`){let n=t.type;if(t.type||(n=`application/json`),!n?.endsWith(`json`)&&n!==`speculationrules`)return;t.type=n,e.props.type=n,e[r]=JSON.stringify(i)}else e[r]=i;return}let a=r.startsWith(`data-`),o=n&&!a?r.toLowerCase():r,s=String(i),c=e.tag===`meta`&&o===`content`;s===`true`||s===``?e.props[o]=a||c?s:!0:!i&&a&&s===`false`?e.props[o]=`false`:i!==void 0&&(e.props[o]=i)}),e}function Jt(e,t){let n=qt({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});return n.key&&Mt.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function Yt(e,t){if(!e)return[];typeof e==`function`&&(e=e());let n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);let r=[];return e=Gt(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(t!==void 0)for(let n of Array.isArray(t)?t:[t])r.push(Jt(e,n))}),r.flat()}var Xt=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Zt={base:-10,title:10},Qt={critical:-8,high:-1,low:2},$t={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}},en=/@import/,tn=e=>e===``||e===!0;function nn(e,t){if(typeof t.tagPriority==`number`)return t.tagPriority;let n=100,r=Qt[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:$t;if(t.tag in Zt)n=Zt[t.tag];else if(t.tag===`meta`){let e=t.props[`http-equiv`]===`content-security-policy`?`content-security-policy`:t.props.charset?`charset`:t.props.name===`viewport`?`viewport`:null;e&&(n=$t.meta[e])}else if(t.tag===`link`&&t.props.rel)n=i.link[t.props.rel];else if(t.tag===`script`){let e=String(t.props.type);tn(t.props.async)?n=i.script.async:t.props.src&&!tn(t.props.defer)&&!tn(t.props.async)&&e!==`module`&&!e.endsWith(`json`)||t.innerHTML&&!e.endsWith(`json`)?n=i.script.sync:(tn(t.props.defer)&&t.props.src&&!tn(t.props.async)||e===`module`)&&(n=i.script.defer)}else t.tag===`style`&&(n=t.innerHTML&&en.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+r}function rn(e,t){let 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 an(e={}){let t=oe();t.addHooks(e.hooks||{});let n=!e.document,r=new Map,i=new Map,a=new Set,o={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:e=>rn(o,e),push(e,i){let s={...i||{}};delete s.head;let c=s._index??o._entryCount++,l={_i:c,input:e,options:s},u={_poll(e=!1){o.dirty=!0,!e&&a.add(c),t.callHook(`entries:updated`,o)},dispose(){r.delete(c)&&o.invalidate()},patch(e){(!s.mode||s.mode===`server`&&n||s.mode===`client`&&!n)&&(l.input=e,r.set(c,l),u._poll())}};return u.patch(e),u},async resolveTags(){let n={tagMap:new Map,tags:[],entries:[...o.entries.values()]};for(await t.callHook(`entries:resolve`,n);a.size;){let n=a.values().next().value;a.delete(n);let i=r.get(n);if(i){let n={tags:Yt(i.input,e.propResolvers||[]).map(e=>Object.assign(e,i.options)),entry:i};await t.callHook(`entries:normalize`,n),i._tags=n.tags.map((e,t)=>(e._w=nn(o,e),e._p=(i._i<<10)+t,e._d=Ut(e),e._d||(e._h=Wt(e)),e))}}let i=!1;n.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(Xt).reduce((e,t)=>{let n=t._d||t._h;if(!e.has(n))return e.set(n,t);let r=e.get(n);if((t?.tagDuplicateStrategy||(Rt.has(t.tag)?`merge`:null)||(t.key&&t.key===r.key?`merge`:null))===`merge`){let i={...r.props};Object.entries(t.props).forEach(([e,t])=>i[e]=e===`style`?new Map([...r.props.style||new Map,...t]):e===`class`?new Set([...r.props.class||new Set,...t]):t),e.set(n,{...t,props:i})}else t._p>>10==r._p>>10&&t.tag===`meta`&&Ht(n)?(e.set(n,Object.assign([...Array.isArray(r)?r:[r],t],t)),i=!0):(t._w===r._w?t._p>r._p:t?._w<r?._w)&&e.set(n,t);return e},n.tagMap);let s=n.tagMap.get(`title`),c=n.tagMap.get(`titleTemplate`);if(o._title=s?.textContent,c){let e=c?.textContent;if(o._titleTemplate=e,e){let t=typeof e==`function`?e(s?.textContent):e;typeof t==`string`&&!o.plugins.has(`template-params`)&&(t=t.replace(`%s`,s?.textContent||``)),s?t===null?n.tagMap.delete(`title`):n.tagMap.set(`title`,{...s,textContent:t}):(c.tag=`title`,c.textContent=t)}}n.tags=Array.from(n.tagMap.values()),i&&(n.tags=n.tags.flat().sort(Xt)),await t.callHook(`tags:beforeResolve`,n),await t.callHook(`tags:resolve`,n),await t.callHook(`tags:afterResolve`,n);let l=[];for(let e of n.tags){let{innerHTML:t,tag:n,props:r}=e;Ft.has(n)&&(Object.keys(r).length===0&&!e.innerHTML&&!e.textContent||n===`meta`&&!r.content&&!r[`http-equiv`]&&!r.charset||(n===`script`&&t&&(String(r.type).endsWith(`json`)?e.innerHTML=(typeof t==`string`?t:JSON.stringify(t)).replace(/</g,`\\u003C`):typeof t==`string`&&(e.innerHTML=t.replace(RegExp(`</${n}`,`g`),`<\\/${n}`)),e._d=Ut(e)),l.push(e)))}return l},invalidate(){for(let e of r.values())a.add(e._i);o.dirty=!0,t.callHook(`entries:updated`,o)}};return(e?.plugins||[]).forEach(e=>rn(o,e)),o.hooks.callHook(`init`,o),e.init?.forEach(e=>e&&o.push(e)),o}var on=(e,t)=>le(t)?T(t):t,sn=`usehead`;function cn(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(sn,e)}}.install}function ln(){if(h()){let e=r(sn);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function un(e,t={}){let n=t.head||ln();return n.ssr?n.push(e||{},t):dn(n,e,t)}function dn(e,t,r={}){let i=C(!1),a;return g(()=>{let n=i.value?{}:Gt(t,on);a?a.patch(n):a=e.push(n,r)}),ue()&&(we(()=>{a.dispose()}),n(()=>{i.value=!0}),_(()=>{i.value=!1})),a}function fn(e){let t=e||E();return t.ssrContext?.head||t.runWithContext(()=>{if(h()){let e=r(`usehead`);if(!e)throw Error(`[nuxt] [unhead] Missing Unhead instance.`);return e}})}function pn(e,t={}){return un(e,{head:t.head||fn(t.nuxt),...t})}var mn=(()=>{let e={prerender:!0},t={prerender:!1};return(n,r)=>{let i=[];r.charCodeAt(r.length-1)===47&&(r=r.slice(0,-1)||`/`),(r===`/`||r===`/200.html`||r===`/404.html`)&&i.unshift({data:e});let a=r.split(`/`);return a.length,i.unshift({data:t,params:{_:a.slice(1).join(`/`)}}),i}})(),hn=e=>Be({},...mn(``,e).map(e=>e.data).reverse()),gn=`modulepreload`,_n=function(e,t){return new URL(e,t).href},vn={},M=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=_n(t,n),t in vn)return;vn[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:gn,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},yn=hn,bn;function xn(){let e;return e=$fetch(St(`builds/meta/${x().app.buildId}.json`),{responseType:`json`}),bn=e,e.catch(t=>{bn===e&&(bn=void 0),console.error(`[nuxt] Error fetching app manifest.`,t)}),e}function Sn(){return bn||xn()}function Cn(e){let t=typeof e==`string`?e:e.path;try{return yn(t)}catch(e){return console.error(`[nuxt] Error matching route rules.`,e),{}}}async function wn(e){return null}var Tn=null;async function En(){if(Tn)return Tn;let e=document.getElementById(`__NUXT_DATA__`);if(!e)return{};let t=await Dn(e.textContent||``),n=e.dataset.src?await wn(e.dataset.src):void 0;return Tn={...t,...n,...window.__NUXT__},Tn.config?.public&&(Tn.config.public=D(Tn.config.public)),Tn}async function Dn(e){return await At(e,E()._payloadRevivers)}function On(e,t){E()._payloadRevivers[e]=t}function kn(e){try{return JSON.parse(e)}catch{return e}}var An=[[`NuxtError`,e=>Ve(e)],[`EmptyShallowRef`,e=>A(e===`_`?void 0:e===`0n`?BigInt(0):kn(e))],[`EmptyRef`,e=>C(e===`_`?void 0:e===`0n`?BigInt(0):kn(e))],[`ShallowRef`,e=>A(e)],[`ShallowReactive`,e=>pe(e)],[`Ref`,e=>C(e)],[`Reactive`,e=>D(e)]],jn=k({name:`nuxt:revive-payload:client`,order:-30,async setup(e){let t,n;for(let[e,t]of An)On(e,t);Object.assign(e.payload,([t,n]=w(()=>e.runWithContext(En)),t=await t,n(),t)),delete window.__NUXT__}},1);async function Mn(e,t={}){let n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;let r={shouldRender:!0,tags:[]};if(await e.hooks.callHook(`dom:beforeRender`,r),r.shouldRender)return e._domUpdatePromise||=new Promise(async t=>{let r=new Map,i=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{let t=r.get(e._d)||0,n={tag:e,id:(t?`${e._d}:${t}`:e._d)||e._h,shouldRender:!0};return e._d&&Ht(e._d)&&r.set(e._d,t+1),n}))})}),a=e._dom;if(!a){a={title:n.title,elMap:new Map().set(`htmlAttrs`,n.documentElement).set(`bodyAttrs`,n.body)};for(let e of[`body`,`head`]){let t=n[e]?.children;for(let e of t){let t=e.tagName.toLowerCase();if(!Pt.has(t))continue;let n=qt({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,n)=>(t[n]=e.getAttribute(n),t),{})||{}});if(n.key=e.getAttribute(`data-hid`)||void 0,n._d=Ut(n)||Wt(n),a.elMap.has(n._d)){let t=1,r=n._d;for(;a.elMap.has(r);)r=`${n._d}:${t++}`;a.elMap.set(r,e)}else a.elMap.set(n._d,e)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function o(e,t,n){let r=`${e}:${t}`;a.sideEffects[r]=n,delete a.pendingSideEffects[r]}function s({id:e,$el:t,tag:r}){let i=r.tag.endsWith(`Attrs`);a.elMap.set(e,t),i||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),o(e,`el`,()=>{t?.remove(),a.elMap.delete(e)}));for(let a in r.props){if(!Object.prototype.hasOwnProperty.call(r.props,a))continue;let s=r.props[a];if(a.startsWith(`on`)&&typeof s==`function`){let e=t?.dataset;if(e&&e[`${a}fired`]){let e=a.slice(0,-5);s.call(t,new Event(e.substring(2)))}t.getAttribute(`data-${a}`)!==``&&((r.tag===`bodyAttrs`?n.defaultView:t).addEventListener(a.substring(2),s.bind(t)),t.setAttribute(`data-${a}`,``));continue}let c=`attr:${a}`;if(a===`class`){if(!s)continue;for(let n of s)i&&o(e,`${c}:${n}`,()=>t.classList.remove(n)),!t.classList.contains(n)&&t.classList.add(n)}else if(a===`style`){if(!s)continue;for(let[n,r]of s)o(e,`${c}:${n}`,()=>{t.style.removeProperty(n)}),t.style.setProperty(n,r)}else s!==!1&&s!==null&&(t.getAttribute(a)!==s&&t.setAttribute(a,s===!0?``:String(s)),i&&o(e,c,()=>t.removeAttribute(a)))}}let c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await i;for(let e of u){let{tag:t,shouldRender:r,id:i}=e;if(r){if(t.tag===`title`){n.title=t.textContent,o(`title`,``,()=>n.title=a.title);continue}e.$el=e.$el||a.elMap.get(i),e.$el?s(e):Pt.has(t.tag)&&c.push(e)}}for(let e of c){let t=e.tag.tagPosition||`head`;e.$el=n.createElement(e.tag.tag),s(e),l[t]=l[t]||n.createDocumentFragment(),l[t].appendChild(e.$el)}for(let t of u)await e.hooks.callHook(`dom:renderTag`,t,n,o);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(let e in a.pendingSideEffects)a.pendingSideEffects[e]();e._dom=a,await e.hooks.callHook(`dom:rendered`,{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1}),e._domUpdatePromise}function Nn(e={}){let t=e.domOptions?.render||Mn;e.document=e.document||(typeof window<`u`?document:void 0);let n=e.document?.head.querySelector(`script[id="unhead:payload"]`)?.innerHTML||!1;return an({...e,plugins:[...e.plugins||[],{key:`client`,hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Pn(e,t){let n=0;return()=>{let r=++n;t(()=>{n===r&&e()})}}function Fn(e={}){let t=Nn({domOptions:{render:Pn(()=>Mn(t),e=>setTimeout(e,0))},...e});return t.install=cn(t),t}var In={disableDefaults:!0},Ln=k({name:`nuxt:head`,enforce:`pre`,setup(e){let t=Fn(In);e.vueApp.use(t);{let n=!0,r=async()=>{n=!1,await Mn(t)};t.hooks.hook(`dom:beforeRender`,e=>{e.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)}}}),Rn=typeof document<`u`;function zn(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function Bn(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&zn(e.default)}var N=Object.assign;function Vn(e,t){let n={};for(let r in t){let i=t[r];n[r]=P(i)?i.map(e):e(i)}return n}var Hn=()=>{},P=Array.isArray;function Un(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var F=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}({}),Wn=Symbol(``);F.MATCHER_NOT_FOUND,F.NAVIGATION_GUARD_REDIRECT,F.NAVIGATION_ABORTED,F.NAVIGATION_CANCELLED,F.NAVIGATION_DUPLICATED;function Gn(e,t){return N(Error(),{type:e,[Wn]:!0},t)}function Kn(e,t){return e instanceof Error&&Wn in e&&(t==null||!!(e.type&t))}var qn=Symbol(``),Jn=Symbol(``),Yn=Symbol(``),Xn=Symbol(``),Zn=Symbol(``),Qn=/#/g,$n=/&/g,er=/\//g,tr=/=/g,nr=/\?/g,rr=/\+/g,ir=/%5B/g,ar=/%5D/g,or=/%5E/g,sr=/%60/g,cr=/%7B/g,lr=/%7C/g,ur=/%7D/g,dr=/%20/g;function fr(e){return e==null?``:encodeURI(``+e).replace(lr,`|`).replace(ir,`[`).replace(ar,`]`)}function pr(e){return fr(e).replace(cr,`{`).replace(ur,`}`).replace(or,`^`)}function mr(e){return fr(e).replace(rr,`%2B`).replace(dr,`+`).replace(Qn,`%23`).replace($n,`%26`).replace(sr,"`").replace(cr,`{`).replace(ur,`}`).replace(or,`^`)}function hr(e){return mr(e).replace(tr,`%3D`)}function gr(e){return fr(e).replace(Qn,`%23`).replace(nr,`%3F`)}function _r(e){return gr(e).replace(er,`%2F`)}function vr(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var yr=/\/$/,br=e=>e.replace(yr,``);function xr(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=kr(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:vr(o)}}function Sr(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Cr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function wr(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Tr(t.matched[r],n.matched[i])&&Er(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Tr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Er(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Dr(e[n],t[n]))return!1;return!0}function Dr(e,t){return P(e)?Or(e,t):P(t)?Or(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Or(e,t){return P(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function kr(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var I={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},Ar=function(e){return e.pop=`pop`,e.push=`push`,e}({}),jr=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function Mr(e){if(!e)if(Rn){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),br(e)}var Nr=/^[^#]+#/;function Pr(e,t){return e.replace(Nr,`#`)+t}function Fr(e,t){let 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)}}var Ir=()=>({left:window.scrollX,top:window.scrollY});function Lr(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Fr(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Rr(e,t){return(history.state?history.state.position-t:-1)+e}var zr=new Map;function Br(e,t){zr.set(e,t)}function Vr(e){let t=zr.get(e);return zr.delete(e),t}function Hr(e){return typeof e==`string`||e&&typeof e==`object`}function Ur(e){return typeof e==`string`||typeof e==`symbol`}function Wr(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(rr,` `),i=r.indexOf(`=`),a=vr(i<0?r:r.slice(0,i)),o=i<0?null:vr(r.slice(i+1));if(a in t){let e=t[a];P(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Gr(e){let t=``;for(let n in e){let r=e[n];if(n=hr(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(P(r)?r.map(e=>e&&mr(e)):[r&&mr(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Kr(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=P(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function qr(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Jr(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(Gn(F.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):Hr(e)?c(Gn(F.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Yr(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(zn(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Jr(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=Bn(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Jr(c,n,r,o,e,i)()}))}}return a}function Xr(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>Tr(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>Tr(e,s))||i.push(s))}return[n,r,i]}var Zr=()=>location.protocol+`//`+location.host;function Qr(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Cr(n,``)}return Cr(n,e)+r+i}function $r(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Qr(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:Ar.pop,direction:u?u>0?jr.forward:jr.back:jr.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(N({},e.state,{scroll:Ir()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function ei(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Ir():null}}function ti(e){let{history:t,location:n}=window,r={value:Qr(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Zr()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,N({},t.state,ei(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=N({},i.value,t.state,{forward:e,scroll:Ir()});a(o.current,o,!0),a(e,N({},ei(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function ni(e){e=Mr(e);let t=ti(e),n=$r(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=N({location:``,base:e,go:r,createHref:Pr.bind(null,e)},t,n);return Object.defineProperty(i,`location`,{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,`state`,{enumerable:!0,get:()=>t.state.value}),i}var ri=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),L=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}(L||{}),ii={type:ri.Static,value:``},ai=/[a-zA-Z0-9_]/;function oi(e){if(!e)return[[]];if(e===`/`)return[[ii]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=L.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===L.Static?a.push({type:ri.Static,value:l}):n===L.Param||n===L.ParamRegExp||n===L.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:ri.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;){if(c=e[s++],c===`\\`&&n!==L.ParamRegExp){r=n,n=L.EscapeNext;continue}switch(n){case L.Static:c===`/`?(l&&d(),o()):c===`:`?(d(),n=L.Param):f();break;case L.EscapeNext:f(),n=r;break;case L.Param:c===`(`?n=L.ParamRegExp:ai.test(c)?f():(d(),n=L.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case L.ParamRegExp:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=L.ParamRegExpEnd:u+=c;break;case L.ParamRegExpEnd:d(),n=L.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}}return n===L.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var si=`[^/]+?`,ci={sensitive:!1,strict:!1,start:!0,end:!0},R=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}(R||{}),li=/[.+*?^${}()[\]/\\]/g;function ui(e,t){let n=N({},ci,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[R.Root];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=R.Segment+(n.sensitive?R.BonusCaseSensitive:0);if(o.type===ri.Static)r||(i+=`/`),i+=o.value.replace(li,`\\$&`),s+=R.Static;else if(o.type===ri.Param){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||si;if(u!==si){s+=R.BonusCustomRegExp;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=R.Dynamic,c&&(s+=R.BonusOptional),n&&(s+=R.BonusRepeatable),u===`.*`&&(s+=R.BonusWildcard)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=R.BonusStrict}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===ri.Static)n+=e.value;else if(e.type===ri.Param){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(P(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=P(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function di(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===R.Static+R.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===R.Static+R.Segment?1:-1:0}function fi(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=di(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(pi(r))return 1;if(pi(i))return-1}return i.length-r.length}function pi(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var mi={strict:!1,end:!0,sensitive:!1};function hi(e,t,n){let r=N(ui(oi(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function gi(e,t){let n=[],r=new Map;t=Un(mi,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=vi(e);s.aliasOf=r&&r.record;let l=Un(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(vi(N({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=hi(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!bi(d)&&o(e.name)),wi(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:Hn}function o(e){if(Ur(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=Si(e,n);n.splice(t,0,e),e.record.name&&!bi(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw Gn(F.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=N(_i(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&_i(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Gn(F.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=N({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:xi(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function _i(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function vi(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:yi(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 yi(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function bi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function xi(e){return e.reduce((e,t)=>N(e,t.meta),{})}function Si(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;fi(e,t[i])<0?r=i:n=i+1}let i=Ci(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function Ci(e){let t=e;for(;t=t.parent;)if(wi(t)&&fi(e,t)===0)return t}function wi({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ti(e){let t=r(Yn),n=r(Xn),i=S(()=>{let n=O(e.to);return t.resolve(n)}),a=S(()=>{let{matched:e}=i.value,{length:t}=e,r=e[t-1],a=n.matched;if(!r||!a.length)return-1;let o=a.findIndex(Tr.bind(null,r));if(o>-1)return o;let s=Ai(e[t-2]);return t>1&&Ai(r)===s&&a[a.length-1].path!==s?a.findIndex(Tr.bind(null,e[t-2])):o}),o=S(()=>a.value>-1&&ki(n.params,i.value.params)),s=S(()=>a.value>-1&&a.value===n.matched.length-1&&Er(n.params,i.value.params));function c(n={}){if(Oi(n)){let n=t[O(e.replace)?`replace`:`push`](O(e.to)).catch(Hn);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:i,href:S(()=>i.value.href),isActive:o,isExactActive:s,navigate:c}}function Ei(e){return e.length===1?e[0]:e}var Di=t({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:Ti,setup(e,{slots:t}){let n=D(Ti(e)),{options:i}=r(Yn),a=S(()=>({[ji(e.activeClass,i.linkActiveClass,`router-link-active`)]:n.isActive,[ji(e.exactActiveClass,i.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&Ei(t.default(n));return e.custom?r:f(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},r)}}});function Oi(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){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ki(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!P(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Ai(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var ji=(e,t,n)=>e??t??n,Mi=t({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let i=r(Zn),o=S(()=>e.route||i.value),s=r(Jn,0),c=S(()=>{let e=O(s),{matched:t}=o.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),l=S(()=>o.value.matched[c.value]);a(Jn,S(()=>c.value+1)),a(qn,l),a(Zn,o);let u=C();return te(()=>[u.value,l.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!Tr(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=o.value,i=e.name,a=l.value,s=a&&a.components[i];if(!s)return Ni(n.default,{Component:s,route:r});let c=a.props[i],d=f(s,N({},c?c===!0?r.params:typeof c==`function`?c(r):c:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:u}));return Ni(n.default,{Component:d,route:r})||d}}});function Ni(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Pi=Mi;function Fi(e){let t=gi(e.routes,e),n=e.parseQuery||Wr,r=e.stringifyQuery||Gr,i=e.history,a=qr(),o=qr(),s=qr(),c=A(I),u=I;Rn&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let d=Vn.bind(null,e=>``+e),f=Vn.bind(null,_r),p=Vn.bind(null,vr);function m(e,n){let r,i;return Ur(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function h(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function g(){return t.getRoutes().map(e=>e.record)}function _(e){return!!t.getRecordMatcher(e)}function v(e,a){if(a=N({},a||c.value),typeof e==`string`){let r=xr(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return N(r,o,{params:p(o.params),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=N({},e,{path:xr(n,e.path,a.path).path});else{let t=N({},e.params);for(let e in t)t[e]??delete t[e];o=N({},e,{params:f(t)}),a.params=f(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=d(p(s.params));let u=Sr(r,N({},e,{hash:pr(l),path:s.path})),m=i.createHref(u);return N({fullPath:u,hash:l,query:r===Gr?Kr(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function y(e){return typeof e==`string`?xr(n,e,c.value.path):N({},e)}function b(e,t){if(u!==e)return Gn(F.NAVIGATION_CANCELLED,{from:t,to:e})}function ee(e){return x(e)}function te(e){return ee(N(y(e),{replace:!0}))}function ne(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=y(i):{path:i},i.params={}),N({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function x(e,t){let n=u=v(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,l=ne(n,i);if(l)return x(N(y(l),{state:typeof l==`object`?N({},a,l.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&wr(r,i,n)&&(f=Gn(F.NAVIGATION_DUPLICATED,{to:d,from:i}),de(i,i,!0,!1)),(f?Promise.resolve(f):ie(d,i)).catch(e=>Kn(e)?Kn(e,F.NAVIGATION_GUARD_REDIRECT)?e:ue(e):E(e,d,i)).then(e=>{if(e){if(Kn(e,F.NAVIGATION_GUARD_REDIRECT))return x(N({replace:s},y(e.to),{state:typeof e.to==`object`?N({},a,e.to.state):a,force:o}),t||d)}else e=w(d,i,!0,s,a);return C(d,i,e),e})}function re(e,t){let n=b(e,t);return n?Promise.reject(n):Promise.resolve()}function S(e){let t=he.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ie(e,t){let n,[r,i,s]=Xr(e,t);n=Yr(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Jr(r,e,t))});let c=re.bind(null,e,t);return n.push(c),k(n).then(()=>{n=[];for(let r of a.list())n.push(Jr(r,e,t));return n.push(c),k(n)}).then(()=>{n=Yr(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Jr(r,e,t))});return n.push(c),k(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if(P(r.beforeEnter))for(let i of r.beforeEnter)n.push(Jr(i,e,t));else n.push(Jr(r.beforeEnter,e,t));return n.push(c),k(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Yr(s,`beforeRouteEnter`,e,t,S),n.push(c),k(n))).then(()=>{n=[];for(let r of o.list())n.push(Jr(r,e,t));return n.push(c),k(n)}).catch(e=>Kn(e,F.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function C(e,t,n){s.list().forEach(r=>S(()=>r(e,t,n)))}function w(e,t,n,r,a){let o=b(e,t);if(o)return o;let s=t===I,l=Rn?history.state:{};n&&(r||s?i.replace(e.fullPath,N({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,de(e,t,n,s),ue()}let ae;function oe(){ae||=i.listen((e,t,n)=>{if(!D.listening)return;let r=v(e),a=ne(r,D.currentRoute.value);if(a){x(N(a,{replace:!0,force:!0}),r).catch(Hn);return}u=r;let o=c.value;Rn&&Br(Rr(o.fullPath,n.delta),Ir()),ie(r,o).catch(e=>Kn(e,F.NAVIGATION_ABORTED|F.NAVIGATION_CANCELLED)?e:Kn(e,F.NAVIGATION_GUARD_REDIRECT)?(x(N(y(e.to),{force:!0}),r).then(e=>{Kn(e,F.NAVIGATION_ABORTED|F.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===Ar.pop&&i.go(-1,!1)}).catch(Hn),Promise.reject()):(n.delta&&i.go(-n.delta,!1),E(e,r,o))).then(e=>{e||=w(r,o,!1),e&&(n.delta&&!Kn(e,F.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===Ar.pop&&Kn(e,F.NAVIGATION_ABORTED|F.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),C(r,o,e)}).catch(Hn)})}let T=qr(),se=qr(),ce;function E(e,t,n){ue(e);let r=se.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function le(){return ce&&c.value!==I?Promise.resolve():new Promise((e,t)=>{T.add([e,t])})}function ue(e){return ce||(ce=!e,oe(),T.list().forEach(([t,n])=>e?n(e):t()),T.reset()),e}function de(t,n,r,i){let{scrollBehavior:a}=e;if(!Rn||!a)return Promise.resolve();let o=!r&&Vr(Rr(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return l().then(()=>a(t,n,o)).then(e=>e&&Lr(e)).catch(e=>E(e,t,n))}let fe=e=>i.go(e),me,he=new Set,D={currentRoute:c,listening:!0,addRoute:m,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:g,resolve:v,options:e,push:ee,replace:te,go:fe,back:()=>fe(-1),forward:()=>fe(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:se.add,isReady:le,install(e){e.component(`RouterLink`,Di),e.component(`RouterView`,Pi),e.config.globalProperties.$router=D,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>O(c)}),Rn&&!me&&c.value===I&&(me=!0,ee(i.location).catch(e=>{}));let t={};for(let e in I)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(Yn,D),e.provide(Xn,pe(t)),e.provide(Zn,c);let n=e.unmount;he.add(e),e.unmount=function(){he.delete(e),he.size<1&&(u=I,ae&&ae(),ae=null,c.value=I,me=!1,ce=!1),n()}}};function k(e){return e.reduce((e,t)=>e.then(()=>S(t)),Promise.resolve())}return D}var Ii=/(:\w+)\([^)]+\)/g,Li=/(:\w+)[?+*]/g,Ri=/:\w+/g,zi=(e,t)=>t.path.replace(Ii,`$1`).replace(Li,`$1`).replace(Ri,t=>e.params[t.slice(1)]?.toString()||``),Bi=(e,t)=>{let n=e.route.matched.find(t=>t.components?.default===e.Component.type),r=t??n?.meta.key??(n&&zi(e.route,n));return typeof r==`function`?r(e.route):r},Vi=(e,t)=>({default:()=>e?f(se,e===!0?{}:e,t):t});function Hi(e){return Array.isArray(e)?e:[e]}var Ui=[{name:`auth`,path:`/auth`,component:()=>M(()=>import(`./Lt2zEa9L.js`),__vite__mapDeps([0,1]),import.meta.url)},{name:`docks`,path:`/docks`,component:()=>M(()=>import(`./BPmc3Hsv.js`),__vite__mapDeps([2,1]),import.meta.url)},{name:`plugins`,path:`/plugins`,component:()=>M(()=>import(`./B9bgxnv7.js`),__vite__mapDeps([3,1,4]),import.meta.url)},{name:`rpc`,path:`/rpc`,component:()=>M(()=>import(`./CiQPXgUI.js`),__vite__mapDeps([5,1,4]),import.meta.url)},{name:`scripts`,path:`/scripts`,component:()=>M(()=>import(`./0Aqki3xQ.js`),__vite__mapDeps([6,1]),import.meta.url)},{name:`state`,path:`/state`,component:()=>M(()=>import(`./DQb1cwBC.js`),__vite__mapDeps([7,1,4]),import.meta.url)},{name:`index`,path:`/`,component:()=>M(()=>import(`./DxyJG-bm.js`),__vite__mapDeps([8,1,9]),import.meta.url)}],Wi=(e,t)=>({default:()=>e?f(De,e===!0?{}:e,t):t.default?.()}),Gi=/(:\w+)\([^)]+\)/g,Ki=/(:\w+)[?+*]/g,qi=/:\w+/g;function Ji(e){let t=e?.meta.key??e.path.replace(Gi,`$1`).replace(Ki,`$1`).replace(qi,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function Yi(e,t){return e===t||t===I?!1:Ji(e)===Ji(t)?!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default):!0}function Xi(e){return Array.isArray(e)?e:[e]}function Zi(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Xi(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Xi(n.onBeforeLeave):void 0});return Be(...t)}var Qi={scrollBehavior(e,t,n){let r=E(),i=j().options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:$i(e.hash),behavior:i}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===I?ea(e,t,n,i):new Promise(a=>{let o=()=>{requestAnimationFrame(()=>a(ea(e,t,n,i)))};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(o):o()})})}};function $i(e){try{let t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function ea(e,t,n,r){return n||(e.hash?{el:e.hash,top:$i(e.hash),behavior:Yi(e,t)?r:`instant`}:{left:0,top:0})}var ta={hashMode:!1,scrollBehaviorType:`auto`,...Qi},na=[He(async(e,t)=>{let n,r;if(!e.meta?.validate)return;let i=([n,r]=w(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(i===!0)return;let a=Ve({fatal:!0,status:i&&(i.status||i.statusCode)||404,statusText:i&&(i.statusText||i.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<`u`&&window.history.pushState({},``,t.fullPath),a},1),He(e=>{let t=Cn({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return Le(n,{acceptRelative:!0})?(window.location.href=n,!1):n}})],ra={};function ia(e,t,n){let{pathname:r,search:i,hash:a}=t,o=e.indexOf(`#`);if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return n[0]!==`/`&&(n=`/`+n),Xe(n,``)}let s=Xe(r,e),c=!n||Ie(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var aa=k({name:`nuxt:router`,enforce:`pre`,async setup(e){let t,n,r=x().app.baseURL,i=ta.history?.(r)??ni(r),a=ta.routes?([t,n]=w(()=>ta.routes(Ui)),t=await t,n(),t)??Ui:Ui,o,s=Fi({...ta,scrollBehavior:(e,t,n)=>{if(t===I){o=n;return}if(ta.scrollBehavior){if(s.options.scrollBehavior=ta.scrollBehavior,`scrollRestoration`in window.history){let e=s.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return ta.scrollBehavior(e,I,o||n)}},history:i,routes:a});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(s);let c=A(s.currentRoute.value);s.afterEach((e,t)=>{c.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,`previousRoute`,{get:()=>c.value});let l=ia(r,window.location,e.payload.path),u=A(s.currentRoute.value),d=()=>{u.value=s.currentRoute.value};s.afterEach((e,t)=>{if(e.matched.at(-1)?.components?.default===t.matched.at(-1)?.components?.default){d();return}e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&d()});let f={sync:d};for(let e in u.value)Object.defineProperty(f,e,{get:()=>u.value[e],enumerable:!0});e._route=pe(f),e._middleware||={global:[],named:{}};let p=Me();s.afterEach(async(t,n,r)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(Ke),r&&await e.callHook(`page:loading:end`)});try{[t,n]=w(()=>s.isReady()),await t,n()}catch(r){[t,n]=w(()=>e.runWithContext(()=>Re(r))),await t,n()}let m=l===s.currentRoute.value.fullPath?s.currentRoute.value:s.resolve(l),h=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&l!==e.payload.path&&Ie(s.currentRoute.value.path,e.payload.path);d();let g=e.payload.state._layout;return s.beforeEach(async(t,n)=>{await e.callHook(`page:loading:start`),t.meta=D(t.meta),e.isHydrating&&g&&!ge(t.meta.layout)&&(t.meta.layout=g),e._processingMiddleware=!0;{let r=new Set([...na,...e._middleware.global]);for(let e of t.matched){let t=e.meta.middleware;if(t)for(let e of Hi(t))r.add(e)}let i=Cn({path:t.path});if(i.appMiddleware)for(let e in i.appMiddleware)i.appMiddleware[e]?r.add(e):r.delete(e);for(let i of r){let r=typeof i==`string`?e._middleware.named[i]||await ra[i]?.().then(e=>e.default||e):i;if(!r)throw Error(`Unknown route middleware: '${i}'.`);try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||Ve({status:404,statusText:`Page Not Found: ${l}`});return await e.runWithContext(()=>Re(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return We(i)&&i.fatal&&await e.runWithContext(()=>Re(i)),i}catch(t){let n=Ve(t);return n.fatal&&await e.runWithContext(()=>Re(n)),n}}}}),s.onError(async()=>{delete e._processingMiddleware,await e.callHook(`page:loading:end`)}),s.afterEach(t=>{if(t.matched.length===0&&!p.value)return e.runWithContext(()=>Re(Ve({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>{try{if(`name`in m&&(m.name=void 0),h){let t=s.resolve(e.payload.path);`name`in t&&(t.name=void 0),await s.replace({...t,force:!0}),e.hooks.hookOnce(`app:suspense:resolve`,async()=>{await s.replace({...m,force:!0})})}else await s.replace({...m,force:!0});s.options.scrollBehavior=ta.scrollBehavior}catch(t){await e.runWithContext(()=>Re(t))}}),{provide:{router:s}}}},1),oa=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),sa=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),ca=e=>{let t=E();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{oa(()=>e())}):oa(()=>e())},la=k(()=>{let e=j();ca(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),ua=k(e=>{let t;async function n(){let r;try{r=await Sn()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,fe);try{let n=await $fetch(St(`builds/latest.json`)+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}ca(()=>{t=setTimeout(n,fe)})});function da(e={}){let t=e.path||window.location.pathname,n={};try{n=JSON.parse(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:E().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}var fa=k({name:`nuxt:chunk-reload`,setup(e){let t=j(),n=x(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){da({path:Je(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}}),pa=k({name:`nuxt:global-components`}),ma={};function ha(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function ga(e,t=j()){let{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;let i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>ga(e,t));t._routePreloaded.add(n);for(let e of r){let t=e.components?.default;if(typeof t!=`function`)continue;let n=Promise.resolve(t()).catch(()=>{}).finally(()=>i.splice(i.indexOf(n),1));i.push(n)}await Promise.all(i)}var _a=[jn,Ln,aa,la,ua,fa,pa,k({name:`nuxt:prefetch`,setup(e){let t=j();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;t&&typeof ma[t]==`function`&&await ma[t]()})}),e.hooks.hook(`link:prefetch`,e=>{if(Le(e))return;let n=t.resolve(e);if(!n)return;let r=n.meta.layout,i=Hi(n.meta.middleware);i=i.filter(e=>typeof e==`string`);for(let e of i)typeof ra[e]==`function`&&ra[e]();typeof r==`string`&&r in ma&&ha(ma[r])})}}),k(()=>{})],va=(...e)=>e.find(e=>e!==void 0);function ya(e){let n=e.componentName||`NuxtLink`;function r(e){return typeof e==`string`&&e.startsWith(`#`)}function i(t,n,r){let i=r??e.trailingSlash;if(!t||i!==`append`&&i!==`remove`)return t;if(typeof t==`string`)return xa(t,i);let a=`path`in t&&t.path!==void 0?t.path:n(t).path;return{...t,name:void 0,path:xa(a,i)}}function a(t){let n=j(),a=x(),o=S(()=>!!O(t.target)&&O(t.target)!==`_self`),c=S(()=>{let e=O(t.to)||O(t.href)||``;return typeof e==`string`&&Le(e,{acceptRelative:!0})}),l=s(`RouterLink`),u=l&&typeof l!=`string`?l.useLink:void 0,d=S(()=>{if(O(t.external))return!0;let e=O(t.to)||O(t.href)||``;return typeof e==`object`?!1:e===``||c.value}),f=S(()=>{let e=O(t.to)||O(t.href)||``;return d.value?e:i(e,n.resolve,O(t.trailingSlash))}),p=d.value?void 0:u?.({...t,to:f,viewTransition:O(t.viewTransition)}),m=S(()=>{let i=O(t.trailingSlash)??e.trailingSlash;if(!f.value||c.value||r(f.value))return f.value;if(d.value){let e=typeof f.value==`object`&&`path`in f.value?ze(f.value):f.value;return xa(typeof e==`object`?n.resolve(e).href:e,i)}return typeof f.value==`object`?n.resolve(f.value)?.href??null:xa(Je(a.app.baseURL,f.value),i)});return{to:f,hasTarget:o,isAbsoluteUrl:c,isExternal:d,href:m,isActive:p?.isActive??S(()=>f.value===n.currentRoute.value.path),isExactActive:p?.isExactActive??S(()=>f.value===n.currentRoute.value.path),route:p?.route??S(()=>n.resolve(f.value)),async navigate(e){await Pe(m.value,{replace:O(t.replace),external:d.value||o.value})}}}return t({name:n,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:a,setup(t,{slots:n}){let i=j(),{to:c,href:l,navigate:u,isExternal:d,hasTarget:p,isAbsoluteUrl:m}=a(t),h=A(!1),g=C(null),_=e=>{g.value=t.custom?e?.$el?.nextElementSibling:e?.$el};function v(n){return!h.value&&(typeof t.prefetchOn==`string`?t.prefetchOn===n:t.prefetchOn?.[n]??e.prefetchOn?.[n])&&(t.prefetch??e.prefetch)!==!1&&t.noPrefetch!==!0&&t.target!==`_blank`&&!wa()}async function y(e=E()){if(h.value)return;h.value=!0;let t=typeof c.value==`string`?c.value:d.value?ze(c.value):i.resolve(c.value).fullPath,n=d.value?new URL(t,window.location.href).href:t;await Promise.all([e.hooks.callHook(`link:prefetch`,n)?.catch(()=>{}),!d.value&&!p.value&&ga(c.value,i).catch(()=>{})])}if(v(`visibility`)){let e=E(),t,n=null;o(()=>{let r=Sa();ca(()=>{t=oa(()=>{g?.value?.tagName&&(n=r.observe(g.value,async()=>{n?.(),n=null,await y(e)}))})})}),we(()=>{t&&sa(t),n?.(),n=null})}return()=>{if(!d.value&&!p.value&&!r(c.value)){let r={ref:_,to:c.value,activeClass:t.activeClass||e.activeClass,exactActiveClass:t.exactActiveClass||e.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||(v(`interaction`)&&(r.onPointerenter=y.bind(null,void 0),r.onFocus=y.bind(null,void 0)),h.value&&(r.class=t.prefetchedClass||e.prefetchedClass),r.rel=t.rel||void 0),f(s(`RouterLink`),r,n.default)}let a=t.target||null,o=va(t.noRel?``:t.rel,e.externalRelAttribute,m.value||p.value?`noopener noreferrer`:``)||null;return t.custom?n.default?n.default({href:l.value,navigate:u,prefetch:y,get route(){if(!l.value)return;let e=new URL(l.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return Ze(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:o,target:a,isExternal:d.value||p.value,isActive:!1,isExactActive:!1}):null:f(`a`,{ref:g,href:l.value||null,rel:o,target:a,onClick:async e=>{if(!(d.value||p.value)){e.preventDefault();try{let e=Ge(l.value);return await(t.replace?i.replace(e):i.push(e))}finally{if(r(c.value)){let e=c.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},n.default?.())}}})}var ba=ya(ie);function xa(e,t){let n=t===`append`?Ne:ke;return Le(e)&&!e.startsWith(`http`)?e:n(e,!0)}function Sa(){let e=E();if(e._observer)return e._observer;let t=null,n=new Map;return e._observer={observe:(e,r)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),n.size===0&&(t?.disconnect(),t=null)})}}var Ca=/2g/;function wa(){let e=navigator.connection;return!!(e&&(e.saveData||Ca.test(e.effectiveType)))}var Ta=(e=`RouteProvider`)=>t({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){let t=e.renderKey,n=e.route,r={};for(let i in e.route)Object.defineProperty(r,i,{get:()=>t===e.renderKey?e.route[i]:n[i],enumerable:!0});return a(Ue,pe(r)),()=>e.vnode?f(e.vnode,{ref:e.vnodeRef}):e.vnode}}),Ea=Ta(),Da=new WeakMap,Oa=t({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:i}){let a=E(),o=C(),s=r(Ue,null),c;i({pageRef:o});let u=r(Fe,null),d,p=a.deferHydration(),m=!1,h=0;if(a.isHydrating){let e=a.hooks.hookOnce(`app:error`,p),t=j().beforeEach(()=>{e(),t()})}e.pageKey&&te(()=>e.pageKey,(e,t)=>{e!==t&&a.callHook(`page:loading:start`)});let g=!1;{let e=j().beforeResolve(()=>{g=!1});we(()=>{e(),p()})}return()=>f(Pi,{name:e.name,route:e.route,...t},{default:t=>{let r=ka(s,t.route,t.Component),i=s&&s.matched.length===t.route.matched.length;if(!t.Component){if(d&&!i&&!Ma(d))return d;p();return}if(d&&u&&!Ma(d)&&!u.isCurrent(t.route))return d;if(r&&s&&(!u||u?.isCurrent(s)))return(i||d)&&!Ma(d)?d:null;let _=Bi(t,e.pageKey),v=Aa(s,t.route,t.Component);!a.isHydrating&&c===_&&!v&&l(()=>{g||(g=!0,a.callHook(`page:loading:end`))}),m&&c!==_&&h++,c=_;let y=!!(e.transition??t.route.meta.pageTransition??!1),b=y&&Zi([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){a[`~transitionFinish`]?.(),delete a[`~transitionFinish`],delete a[`~transitionPromise`],a.callHook(`page:transition:finish`,t.Component)}}]),ee=e.keepalive??t.route.meta.keepalive??!1;return d=Wi(y&&b,Vi(ee,f(ne,{key:h,suspensible:!0,onPending:()=>{m=!0,y&&!a[`~transitionPromise`]&&(a[`~transitionPromise`]=new Promise(e=>{a[`~transitionFinish`]=e})),a.callHook(`page:start`,t.Component)},onResolve:async()=>{m=!1;try{await l(),a._route.sync?.(),await a.callHook(`page:finish`,t.Component),!g&&!v&&(g=!0,await a.callHook(`page:loading:end`))}finally{p()}}},{default:()=>{let e={key:_||void 0,vnode:n.default?ja(n.default,t):t.Component,route:t.route,renderKey:_||void 0,trackRootNodes:y,vnodeRef:o};if(!ee)return f(Ea,e);let r=t.Component.type,i=r,a=Da.get(i);return a||(a=Ta(r.name||r.__name),Da.set(i,a)),f(a,e)}}))).default(),d}})}});function ka(e,t,n){if(!e)return!1;let r=t.matched.findIndex(e=>e.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((t,n)=>t.components?.default!==e.matched[n]?.components?.default)||n&&Bi({route:t,Component:n})!==Bi({route:e,Component:n})}function Aa(e,t,n){return e?t.matched.findIndex(e=>e.components?.default===n?.type)<t.matched.length-1:!1}function ja(e,t){let n=e(t);return n.length===1?f(n[0]):f(ce,void 0,n)}function Ma(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}var Na=new WeakMap,Pa=(...e)=>{let t=e[0],n=ue()?.proxy??he();if(n==null&&!h())throw Error(`injectLocal must be called in setup`);return n&&Na.has(n)&&t in Na.get(n)?Na.get(n)[t]:r(...e)},Fa=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var Ia=Object.prototype.toString,La=e=>Ia.call(e)===`[object Object]`,Ra=()=>{};function za(...e){if(e.length!==1)return ae(...e);let t=e[0];return typeof t==`function`?ve(be(()=>({get:t,set:Ra}))):C(t)}function Ba(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var Va=e=>e();function Ha(e=Va,t={}){let{initialState:n=`active`}=t,r=za(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:ve(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function Ua(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function Wa(e){return Array.isArray(e)?e:[e]}function Ga(e){return e||ue()}function Ka(e,t,n={}){let{eventFilter:r=Va,...i}=n;return te(e,Ba(r,t),i)}function qa(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=Ha(r,{initialState:i});return{stop:Ka(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function Ja(e,t=!0,n){Ga(n)?o(e,n):t?e():l(e)}function Ya(e,t,n){return te(e,t,{...n,immediate:!0})}var Xa=Fa?window:void 0;Fa&&window.document,Fa&&window.navigator,Fa&&window.location;function Za(e){let t=T(e);return t?.$el??t}function Qa(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=S(()=>{let t=Wa(T(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return Ya(()=>[n.value?.map(e=>Za(e))??[Xa].filter(e=>e!=null),Wa(T(n.value?e[1]:e[0])),Wa(O(n.value?e[2]:e[1])),T(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=La(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function $a(){let e=A(!1),t=ue();return t&&o(()=>{e.value=!0},t),e}function eo(e){let t=$a();return S(()=>(t.value,!!e()))}var to=Symbol(`vueuse-ssr-width`);function no(){let e=h()?Pa(to,null):null;return typeof e==`number`?e:void 0}function ro(e,t={}){let{window:n=Xa,ssrWidth:r=no()}=t,i=eo(()=>n&&`matchMedia`in n&&typeof n.matchMedia==`function`),a=A(typeof r==`number`),o=A(),s=A(!1);return g(()=>{if(a.value){a.value=!i.value,s.value=T(e).split(`,`).some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||i);return n&&a&&(a=r>=Ua(n[1])),i&&a&&(a=r<=Ua(i[1])),t?!a:a});return}i.value&&(o.value=n.matchMedia(T(e)),s.value=o.value.matches)}),Qa(o,`change`,e=>{s.value=e.matches},{passive:!0}),S(()=>s.value)}var io=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},ao=`__vueuse_ssr_handlers__`,oo=so();function so(){return ao in io||(io[ao]=io[ao]||{}),io[ao]}function co(e,t){return oo[e]||t}function lo(e){return ro(`(prefers-color-scheme: dark)`,e)}function uo(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var fo={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},po=`vueuse-storage`;function mo(e,t,n,r={}){let{flush:i=`pre`,deep:a=!0,listenToStorageChanges:o=!0,writeDefaults:s=!0,mergeDefaults:c=!1,shallow:u,window:d=Xa,eventFilter:f,onError:p=e=>{console.error(e)},initOnMounted:m}=r,h=(u?A:C)(typeof t==`function`?t():t),g=S(()=>T(e));if(!n)try{n=co(`getDefaultStorage`,()=>Xa?.localStorage)()}catch(e){p(e)}if(!n)return h;let _=T(t),v=uo(_),y=r.serializer??fo[v],{pause:b,resume:ee}=qa(h,e=>re(e),{flush:i,deep:a,eventFilter:f});te(g,()=>w(),{flush:i});let ne=!1;d&&o&&(n instanceof Storage?Qa(d,`storage`,e=>{m&&!ne||w(e)},{passive:!0}):Qa(d,po,e=>{m&&!ne||ae(e)})),m?Ja(()=>{ne=!0,w()}):w();function x(e,t){if(d){let r={key:g.value,oldValue:e,newValue:t,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent(`storage`,r):new CustomEvent(po,{detail:r}))}}function re(e){try{let t=n.getItem(g.value);if(e==null)x(t,null),n.removeItem(g.value);else{let r=y.write(e);t!==r&&(n.setItem(g.value,r),x(t,r))}}catch(e){p(e)}}function ie(e){let t=e?e.newValue:n.getItem(g.value);if(t==null)return s&&_!=null&&n.setItem(g.value,y.write(_)),_;if(!e&&c){let e=y.read(t);return typeof c==`function`?c(e,_):v===`object`&&!Array.isArray(e)?{..._,...e}:e}else if(typeof t!=`string`)return t;else return y.read(t)}function w(e){if(!(e&&e.storageArea!==n)){if(e&&e.key==null){h.value=_;return}if(!(e&&e.key!==g.value)){b();try{let t=y.write(h.value);(e===void 0||e?.newValue!==t)&&(h.value=ie(e))}catch(e){p(e)}finally{e?l(ee):ee()}}}}function ae(e){w(e.detail)}return h}var ho=`*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function go(e={}){let{selector:t=`html`,attribute:n=`class`,initialValue:r=`auto`,window:i=Xa,storage:a,storageKey:o=`vueuse-color-scheme`,listenToStorageChanges:s=!0,storageRef:c,emitAuto:l,disableTransition:u=!0}=e,d={auto:``,light:`light`,dark:`dark`,...e.modes||{}},f=lo({window:i}),p=S(()=>f.value?`dark`:`light`),m=c||(o==null?za(r):mo(o,r,a,{window:i,listenToStorageChanges:s})),h=S(()=>m.value===`auto`?p.value:m.value),g=co(`updateHTMLAttrs`,(e,t,n)=>{let r=typeof e==`string`?i?.document.querySelector(e):Za(e);if(!r)return;let a=new Set,o=new Set,s=null;if(t===`class`){let e=n.split(/\s/g);Object.values(d).flatMap(e=>(e||``).split(/\s/g)).filter(Boolean).forEach(t=>{e.includes(t)?a.add(t):o.add(t)})}else s={key:t,value:n};if(a.size===0&&o.size===0&&s===null)return;let c;u&&(c=i.document.createElement(`style`),c.appendChild(document.createTextNode(ho)),i.document.head.appendChild(c));for(let e of a)r.classList.add(e);for(let e of o)r.classList.remove(e);s&&r.setAttribute(s.key,s.value),u&&(i.getComputedStyle(c).opacity,document.head.removeChild(c))});function _(e){g(t,n,d[e]??e)}function v(t){e.onChanged?e.onChanged(t,_):_(t)}te(h,v,{flush:`post`,immediate:!0}),Ja(()=>v(h.value));let y=S({get(){return l?m.value:h.value},set(e){m.value=e}});return Object.assign(y,{store:m,system:p,state:h})}function _o(e={}){let{valueDark:t=`dark`,valueLight:n=``}=e,r=go({...e,onChanged:(t,n)=>{var r;e.onChanged?(r=e.onChanged)==null||r.call(e,t===`dark`,n,t):n(t)},modes:{dark:t,light:n}}),i=S(()=>r.system.value);return S({get(){return r.value===`dark`},set(e){let t=e?`dark`:`light`;i.value===t?r.value=`auto`:r.value=t}})}var vo=_o({valueLight:`light`});function yo(){vo.value=!vo.value}var bo=A(null),xo=C(!1);function So(e){bo.value=e,re(()=>{bo.value=null})}function Co(){async function e(){if(!(!bo.value||xo.value)){xo.value=!0;try{await bo.value()}finally{xo.value=!1}}}return{refresh:e,loading:xo}}var wo=`/__devtools/`,To=`__connection.json`,Eo=`__rpc-dump/index.json`;function Do(e){return typeof e==`string`?`'${e}'`:new Oo().serialize(e)}var Oo=function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?e.localeCompare(t):n===`number`&&r===`number`?e-t:String.prototype.localeCompare.call(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}return this.serializeObjectEntries(r,Object.entries(e))}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t?.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e}(),ko=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Ao=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],jo=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`,Mo=[],No=class{_data=new Po;_hash=new Po([...ko]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);let t=this._nDataBytes*8,n=this._data.sigBytes*8;return this._data.words[n>>>5]|=128<<24-n%32,this._data.words[(n+64>>>9<<4)+14]=Math.floor(t/4294967296),this._data.words[(n+64>>>9<<4)+15]=t,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,t){let n=this._hash.words,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7];for(let n=0;n<64;n++){if(n<16)Mo[n]=e[t+n]|0;else{let e=Mo[n-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,r=Mo[n-2],i=(r<<15|r>>>17)^(r<<13|r>>>19)^r>>>10;Mo[n]=t+Mo[n-7]+i+Mo[n-16]}let d=s&c^~s&l,f=r&i^r&a^i&a,p=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),m=(s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25),h=u+m+d+Ao[n]+Mo[n],g=p+f;u=l,l=c,c=s,s=o+h|0,o=a,a=i,i=r,r=h+g|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+l|0,n[7]=n[7]+u|0}_append(e){typeof e==`string`&&(e=Po.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let t,n=this._data.sigBytes/64;n=e?Math.ceil(n):Math.max((n|0)-this._minBufferSize,0);let r=n*16,i=Math.min(r*4,this._data.sigBytes);if(r){for(let e=0;e<r;e+=16)this._doProcessBlock(this._data.words,e);t=this._data.words.splice(0,r),this._data.sigBytes-=i}return new Po(t,i)}},Po=class e{words;sigBytes;constructor(e,t){e=this.words=e||[],this.sigBytes=t===void 0?e.length*4:t}static fromUtf8(t){let n=unescape(encodeURIComponent(t)),r=n.length,i=[];for(let e=0;e<r;e++)i[e>>>2]|=(n.charCodeAt(e)&255)<<24-e%4*8;return new e(i,r)}toBase64(){let e=[];for(let t=0;t<this.sigBytes;t+=3){let n=this.words[t>>>2]>>>24-t%4*8&255,r=this.words[t+1>>>2]>>>24-(t+1)%4*8&255,i=this.words[t+2>>>2]>>>24-(t+2)%4*8&255,a=n<<16|r<<8|i;for(let n=0;n<4&&t*8+n*6<this.sigBytes*8;n++)e.push(jo.charAt(a>>>6*(3-n)&63))}return e.join(``)}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let t=0;t<e.sigBytes;t++){let n=e.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=n<<24-(this.sigBytes+t)%4*8}else for(let t=0;t<e.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=e.words[t>>>2];this.sigBytes+=e.sigBytes}};function Fo(e){return new No().finalize(e).toBase64()}function Io(e){return Fo(Do(e))}var Lo=class{cacheMap=new Map;options;keySerializer;constructor(e){this.options=e,this.keySerializer=e.keySerializer||(e=>Io(e))}updateOptions(e){this.options={...this.options,...e}}cached(e,t){let n=this.cacheMap.get(e);if(n)return n.get(this.keySerializer(t))}apply(e,t){let n=this.cacheMap.get(e.m)||new Map;n.set(this.keySerializer(e.a),t),this.cacheMap.set(e.m,n)}validate(e){return this.options.functions.includes(e)}clear(e){e?this.cacheMap.delete(e):this.cacheMap.clear()}};function Ro(e){return`[${e.code}]`}function zo(e){let t=`${Ro(e)} ${e.message}`,n=[];return e.why&&n.push(`why: ${e.why}`),e.fix&&n.push(`fix: ${e.fix}`),e.hint&&n.push(`hint: ${e.hint}`),e.docs&&n.push(`see: ${e.docs}`),n.length===0?t:[t,...n.map((e,t)=>`${t<n.length-1?`├▶`:`╰▶`} ${e}`)].join(`
|
|
3
|
-
`)}var Bo=zo;function Vo(e,t){if(e!=null)return typeof e==`function`?e(t):e}function Ho(e){let{docsBase:t,codes:n}=e,r={},i=Object.keys(n);for(let e of i){let i=n[e];r[e]=(n,r)=>{let a=typeof i.message==`function`||typeof i.fix==`function`||typeof i.why==`function`||typeof i.hint==`function`,o=a?n:void 0,s=a?r:n,c=typeof t==`function`?t(e):t==null?void 0:`${t}/${e.toLowerCase()}`;return{code:e,level:i.level??`error`,message:Vo(i.message,o),...c!=null&&{docs:c},...Vo(i.fix,o)!=null&&{fix:Vo(i.fix,o)},...Vo(i.why,o)!=null&&{why:Vo(i.why,o)},...Vo(i.hint,o)!=null&&{hint:Vo(i.hint,o)},...s}}}return Object.defineProperties(r,{codes:{value:()=>i,enumerable:!1},has:{value:e=>e in n,enumerable:!1},get:{value:e=>n[e],enumerable:!1},extend:{value:t=>Ho({...e,codes:{...n,...t}}),enumerable:!1}}),r}var Uo=class extends Error{diagnostic;constructor(e){super(`[${e.code}] ${e.message}`),this.name=`CodedError`,this.diagnostic=e,e.cause!=null&&(this.cause=e.cause)}},Wo=(e,t)=>{e.level===`error`?console.error(t):console.warn(t)};function z(){let e={};if(typeof Error.captureStackTrace==`function`?Error.captureStackTrace(e,z):e.stack=Error().stack,!e.stack)return;let t=e.stack.split(`
|
|
4
|
-
`),n=0;for(;n<t.length&&!t[n].trimStart().startsWith(`at `);)n++;let r=typeof Error.captureStackTrace==`function`?1:2,i=t.slice(n+r).filter(e=>!e.includes(`/node_modules/`)&&!e.includes(`(node:`)).map(e=>e.trim());return i.length>0?i.join(`
|
|
5
|
-
`):void 0}function Go(e,t,n){let r=e(n);for(let e of t)e(n,r);return r}function Ko(e,t,n,r){return Object.assign({},e,{throw(){let i=r?z():void 0,a=i?{...e,stack:i}:e;throw Go(t,n,a),new Uo(a)},warn(){let i=r?z():void 0;Go(t,n,{...e,level:`warn`,...i&&{stack:i}})},error(){let i=r?z():void 0;Go(t,n,{...e,level:`error`,...i&&{stack:i}})},log(){let i=r?z():void 0;Go(t,n,i?{...e,stack:i}:e)},format(){return t(e)}})}function qo(e){let t=e.formatter??Bo,n=Array.isArray(e.reporters)?e.reporters:[e.reporters??Wo],r=e.captureStack!==!1,i={};for(let a of e.diagnostics){let e=typeof a.codes==`function`?a.codes():Object.keys(a);for(let o of e)typeof a[o]==`function`&&(i[o]=(...e)=>Ko(a[o](...e),t,n,r))}return i.throw=e=>{let i=r?z():void 0,a=i?{...e,stack:i}:e;throw Go(t,n,a),new Uo(a)},i.warn=e=>{let i=r?z():void 0;Go(t,n,{...e,level:`warn`,...i&&{stack:i}})},i.error=e=>{let i=r?z():void 0;Go(t,n,{...e,level:`error`,...i&&{stack:i}})},i.log=e=>{let i=r?z():void 0;Go(t,n,i?{...e,stack:i}:e)},i.format=e=>t(e),i}var Jo=qo({diagnostics:[Ho({docsBase:`https://devfra.me/errors`,codes:{DF0019:{message:e=>`RPC function "${e.name}" has \`agent\` set but \`jsonSerializable\` is not \`true\` — MCP requires JSON-serializable data.`,hint:"Set `jsonSerializable: true` if the payload is JSON-safe, or remove `agent` to keep it RPC-only."},DF0020:{message:e=>`RPC function "${e.name}" declares \`jsonSerializable: true\` but the value at "${e.path}" is a ${e.type}.`,hint:"Either drop `jsonSerializable: true` (falls back to structured-clone) or change the value to a JSON-safe shape."},DF0021:{message:e=>`RPC function "${e.name}" is already registered`,hint:"Use the `force` parameter to overwrite an existing registration."},DF0022:{message:e=>`RPC function "${e.name}" is not registered. Use register() to add new functions.`},DF0023:{message:e=>`RPC function "${e.name}" is not registered`},DF0024:{message:e=>`Either handler or setup function must be provided for RPC function "${e.name}"`},DF0025:{message:e=>`Function "${e.name}" not found in dump store`},DF0026:{message:e=>`No dump match for "${e.name}" with args: ${e.args}`},DF0027:{message:e=>`Function "${e.name}" with type "${e.type}" cannot have dump configuration. Only "static" and "query" types support dumps.`},DF0028:{message:e=>`Function "${e.name}" with type "${e.type}" cannot use \`snapshot: true\`. Only "query" functions support this sugar; "static" functions have equivalent default behavior already.`,hint:"Remove `snapshot: true`, or change the function type to `query`."}}})],formatter:Bo,reporters:Wo});async function Yo(e,t){return e.__resolved?e.__resolved:e.setup?(e.__promise??=Promise.resolve(e.setup(t)).then(t=>(e.__resolved=t,e.__promise=void 0,t)),e.__resolved??=await e.__promise):{}}async function Xo(e,t){if(e.handler)return e.handler;let n=await Yo(e,t);if(!n.handler)throw Jo.DF0024({name:e.name}).throw();return n.handler}var Zo=class{definitions=new Map;functions;_onChanged=[];constructor(e){this.context=e;let t=this.definitions,n=this;this.functions=new Proxy({},{get(e,r){let i=t.get(r);if(i)return Xo(i,n.context)},has(e,n){return t.has(n)},getOwnPropertyDescriptor(e,n){return{value:t.get(n)?.handler,configurable:!0,enumerable:!0}},ownKeys(){return Array.from(t.keys())}})}register(e,t=!1){if(this.definitions.has(e.name)&&!t)throw Jo.DF0021({name:e.name}).throw();Qo(e),this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}update(e,t=!1){if(!this.definitions.has(e.name)&&!t)throw Jo.DF0022({name:e.name}).throw();Qo(e),this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}onChanged(e){return this._onChanged.push(e),()=>{let t=this._onChanged.indexOf(e);t!==-1&&this._onChanged.splice(t,1)}}async getHandler(e){return await Xo(this.definitions.get(e),this.context)}getSchema(e){let t=this.definitions.get(e);if(!t)throw Jo.DF0023({name:String(e)}).throw();return{args:t.args,returns:t.returns}}has(e){return this.definitions.has(e)}get(e){return this.definitions.get(e)}list(){return Array.from(this.definitions.keys())}};function Qo(e){if(e.agent&&e.jsonSerializable!==!0)throw Jo.DF0019({name:e.name}).throw()}var $o=typeof self==`object`?self:globalThis;function es(e,t){let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new $o[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i);case`ArrayBuffer`:return n(new Uint8Array(o).buffer,o);case`DataView`:{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(new $o[a](o),i)};return r}function ts(e){return es(new Map,e)(0)}var ns=``,{toString:rs}={},{keys:is}=Object;function as(e){let t=typeof e;if(t!==`object`||!e)return[0,t];let n=rs.call(e).slice(8,-1);switch(n){case`Array`:return[1,ns];case`Object`:return[2,ns];case`Date`:return[3,ns];case`RegExp`:return[4,ns];case`Map`:return[5,ns];case`Set`:return[6,ns];case`DataView`:return[1,n]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]}function os([e,t]){return e===0&&(t===`function`||t===`symbol`)}function ss(e,t,n,r){let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=as(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize ${s}`);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s){let e=r;return s===`DataView`?e=new Uint8Array(r.buffer):s===`ArrayBuffer`&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of is(r))(e||!os(as(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(os(as(n))||os(as(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!os(as(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a}function cs(e,t={}){let n=[];return ss(!(t.json||t.lossy),!!t.json,new Map,n)(e),n}var{parse:ls,stringify:us}=JSON,ds={json:!0,lossy:!0};function fs(e){return ts(ls(e))}function ps(e){return us(cs(e,ds))}function ms(e,t=``){return JSON.stringify(e,function(e,n){let r=this,i=r==null?n:r[e];if(i===void 0){if(Array.isArray(r))throw hs(t,`undefined`,r,e);return n}if(i===null)return n;if(typeof i==`bigint`)throw hs(t,`BigInt`,r,e);if(typeof i==`object`){if(i instanceof Map)throw hs(t,`Map`,r,e);if(i instanceof Set)throw hs(t,`Set`,r,e);if(i instanceof Date)throw hs(t,`Date`,r,e);if(Array.isArray(i))return n;let a=Object.getPrototypeOf(i);if(a!==null&&a!==Object.prototype)throw hs(t,i.constructor?.name??`class instance`,r,e)}return n})}function hs(e,t,n,r){let i=gs(n,r);return Jo.DF0020({name:e||`<anonymous>`,type:t,path:i}).throw()}function gs(e,t){return Array.isArray(e)?`[${t}]`:t===``?`<root>`:t}function _s(){let e={};function t(t,...n){let r=e[t]||[];for(let e=0,t=r.length;e<t;e++){let t=r[e];t&&t(...n)}}function n(n,...r){t(n,...r),delete e[n]}function r(t,n){return(e[t]||=[]).push(n),()=>{e[t]=e[t]?.filter(e=>n!==e)}}function i(e,t){let n=r(e,((...e)=>(n(),t(...e))));return n}return{_listeners:e,emit:t,emitOnce:n,on:r,once:i}}var vs=Qe((e=>{var t=e&&e.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))};Object.defineProperty(e,`__esModule`,{value:!0}),e.minLength=e.maxLength=e.poolSize=e.humanId=e.adverbs=e.verbs=e.nouns=e.adjectives=void 0,e.adjectives=`afraid.all.beige.better.big.blue.bold.brave.breezy.bright.brown.bumpy.busy.calm.chatty.chilly.chubby.clean.clear.clever.cold.common.cool.cozy.crisp.cuddly.curly.curvy.cute.cyan.dark.deep.dirty.dry.dull.eager.early.easy.eight.eighty.eleven.empty.every.fair.famous.fancy.fast.few.fiery.fifty.fine.five.flat.floppy.fluffy.forty.four.frank.free.fresh.fruity.full.funky.funny.fuzzy.gentle.giant.gold.good.goofy.great.green.grumpy.happy.heavy.hip.honest.hot.huge.humble.hungry.icy.itchy.jolly.khaki.kind.large.late.lazy.legal.lemon.light.little.long.loose.loud.lovely.lucky.major.many.metal.mighty.modern.moody.neat.new.nice.nine.ninety.odd.old.olive.open.orange.perky.petite.pink.plain.plenty.polite.pretty.proud.public.puny.purple.quick.quiet.rare.ready.real.red.rich.ripe.salty.seven.shaggy.shaky.sharp.shiny.short.shy.silent.silly.silver.six.sixty.slick.slimy.slow.small.smart.smooth.social.soft.solid.some.sour.sparkly.spicy.spotty.stale.strict.strong.sunny.sweet.swift.tall.tame.tangy.tasty.ten.tender.thick.thin.thirty.three.tidy.tiny.tired.tough.tricky.true.twelve.twenty.two.upset.vast.violet.wacky.warm.wet.whole.wicked.wide.wild.wise.witty.yellow.young.yummy`.split(`.`),e.nouns=`actors.ads.adults.aliens.animals.ants.apes.apples.areas.baboons.badgers.bags.balloons.bananas.banks.bars.baths.bats.beans.bears.beds.beers.bees.berries.bikes.birds.boats.bobcats.books.bottles.boxes.breads.brooms.buckets.bugs.buses.bushes.buttons.camels.cameras.candies.candles.canyons.carpets.carrots.cars.cases.cats.chairs.chefs.chicken.cities.clocks.cloths.clouds.clowns.clubs.coats.cobras.coins.colts.comics.cooks.corners.cougars.cows.crabs.crews.cups.cycles.dancers.days.deer.deserts.dingos.dodos.dogs.dolls.donkeys.donuts.doodles.doors.dots.dragons.drinks.dryers.ducks.eagles.ears.eels.eggs.emus.ends.experts.eyes.facts.falcons.fans.feet.files.flies.flowers.forks.foxes.friends.frogs.games.garlics.geckos.geese.ghosts.gifts.glasses.goats.grapes.groups.guests.hairs.hands.hats.heads.hoops.hornets.horses.hotels.hounds.houses.humans.icons.ideas.impalas.insects.islands.items.jars.jeans.jobs.jokes.keys.kids.kings.kiwis.knives.lamps.lands.laws.lemons.lies.lights.lilies.lines.lions.lizards.llamas.loops.mails.mammals.mangos.maps.masks.meals.melons.memes.meteors.mice.mirrors.moles.moments.monkeys.months.moons.moose.mugs.nails.needles.news.nights.numbers.olives.onions.oranges.otters.owls.pandas.pans.pants.papayas.papers.parents.parks.parrots.parts.paths.paws.peaches.pears.peas.pens.pets.phones.pianos.pigs.pillows.places.planes.planets.plants.plums.poems.poets.points.pots.pugs.pumas.queens.rabbits.radios.rats.ravens.readers.regions.results.rice.rings.rivers.rockets.rocks.rooms.roses.rules.sails.schools.seals.seas.sheep.shirts.shoes.showers.shrimps.sides.signs.singers.sites.sloths.snails.snakes.socks.spiders.spies.spoons.squids.stamps.stars.states.steaks.streets.suits.suns.swans.symbols.tables.taxes.taxis.teams.teeth.terms.things.ties.tigers.times.tips.tires.toes.tools.towns.toys.trains.trams.trees.turkeys.turtles.vans.views.walls.wasps.waves.ways.webs.weeks.windows.wings.wolves.wombats.words.worlds.worms.yaks.years.zebras.zoos`.split(`.`),e.verbs=`accept.act.add.admire.agree.allow.appear.argue.arrive.ask.attack.attend.bake.bathe.battle.beam.beg.begin.behave.bet.boil.bow.brake.brush.build.burn.buy.call.camp.care.carry.change.cheat.check.cheer.chew.clap.clean.cough.count.cover.crash.create.cross.cry.cut.dance.decide.deny.design.dig.divide.do.double.doubt.draw.dream.dress.drive.drop.drum.eat.end.enjoy.enter.exist.fail.fall.feel.fetch.film.find.fix.flash.float.flow.fly.fold.follow.fry.give.glow.go.grab.greet.grin.grow.guess.hammer.hang.happen.heal.hear.help.hide.hope.hug.hunt.invent.invite.itch.jam.jog.join.joke.judge.juggle.jump.kick.kiss.kneel.knock.know.laugh.lay.lead.learn.leave.lick.lie.like.listen.live.look.lose.love.make.march.marry.mate.matter.melt.mix.move.nail.notice.obey.occur.open.own.pay.peel.pick.play.poke.post.press.prove.pull.pump.punch.push.raise.read.refuse.relate.relax.remain.repair.repeat.reply.report.rescue.rest.retire.return.rhyme.ring.roll.rule.run.rush.say.scream.search.see.sell.send.serve.shake.share.shave.shine.shop.shout.show.sin.sing.sink.sip.sit.sleep.slide.smash.smell.smile.smoke.sneeze.sniff.sort.speak.spend.stand.stare.start.stay.stick.stop.strive.study.swim.switch.take.talk.tan.tap.taste.teach.tease.tell.thank.think.throw.tickle.tie.trade.train.travel.try.turn.type.unite.vanish.visit.wait.walk.warn.wash.watch.wave.wear.win.wink.wish.wonder.work.worry.write.yawn.yell`.split(`.`),e.adverbs=[`bravely`,`brightly`,`busily`,`daily`,`freely`,`hungrily`,`joyously`,`knowingly`,`lazily`,`noisily`,`oddly`,`politely`,`quickly`,`quietly`,`rapidly`,`safely`,`sleepily`,`slowly`,`truly`,`yearly`];function n(e){return e[Math.floor(Math.random()*e.length)]}function r(e){return e.reduce(function(e,t){return e.length>t.length?e:t})}function i(e){return e.reduce(function(e,t){return e.length<t.length?e:t})}function a(r){r===void 0&&(r={}),typeof r==`string`&&(r={separator:r}),typeof r==`boolean`&&(r={capitalize:r});var i=r.separator,a=i===void 0?``:i,o=r.capitalize,s=o===void 0?!0:o,c=r.adjectiveCount,l=c===void 0?1:c,u=r.addAdverb,d=u===void 0?!1:u,f=t(t(t([],t([],Array(l),!0).map(function(t){return n(e.adjectives)}),!0),[n(e.nouns),n(e.verbs)],!1),d?[n(e.adverbs)]:[],!0);return s&&(f=f.map(function(e){return e.charAt(0).toUpperCase()+e.substr(1)})),f.join(a)}e.humanId=a;function o(t){t===void 0&&(t={});var n=t.adjectiveCount,r=n===void 0?1:n,i=t.addAdverb,a=i===void 0?!1:i;return e.adjectives.length*r*e.nouns.length*e.verbs.length*(a?e.adverbs.length:1)}e.poolSize=o;function s(t){t===void 0&&(t={});var n=t.adjectiveCount,i=n===void 0?1:n,a=t.addAdverb,o=a===void 0?!1:a,s=t.separator,c=s===void 0?``:s;return r(e.adjectives).length*i+i*c.length+r(e.nouns).length+c.length+r(e.verbs).length+(o?r(e.adverbs).length+c.length:0)}e.maxLength=s;function c(t){t===void 0&&(t={});var n=t.adjectiveCount,r=n===void 0?1:n,a=t.addAdverb,o=a===void 0?!1:a,s=t.separator,c=s===void 0?``:s;return i(e.adjectives).length*r+r*c.length+i(e.nouns).length+c.length+i(e.verbs).length+(o?i(e.adverbs).length+c.length:0)}e.minLength=c,e.default=a}))(),ys=Symbol.for(`immer-nothing`),bs=Symbol.for(`immer-draftable`),B=Symbol.for(`immer-state`);function V(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var H=Object,xs=H.getPrototypeOf,Ss=`constructor`,Cs=`prototype`,ws=`configurable`,Ts=`enumerable`,Es=`writable`,Ds=`value`,Os=e=>!!e&&!!e[B];function U(e){return e?js(e)||Rs(e)||!!e[bs]||!!e[Ss]?.[bs]||zs(e)||Bs(e):!1}var ks=H[Cs][Ss].toString(),As=new WeakMap;function js(e){if(!e||!Vs(e))return!1;let t=xs(e);if(t===null||t===H[Cs])return!0;let n=H.hasOwnProperty.call(t,Ss)&&t[Ss];if(n===Object)return!0;if(!Hs(n))return!1;let r=As.get(n);return r===void 0&&(r=Function.toString.call(n),As.set(n,r)),r===ks}function Ms(e,t,n=!0){Ns(e)===0?(n?Reflect.ownKeys(e):H.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Ns(e){let t=e[B];return t?t.type_:Rs(e)?1:zs(e)?2:Bs(e)?3:0}var Ps=(e,t,n=Ns(e))=>n===2?e.has(t):H[Cs].hasOwnProperty.call(e,t),Fs=(e,t,n=Ns(e))=>n===2?e.get(t):e[t],Is=(e,t,n,r=Ns(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function Ls(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var Rs=Array.isArray,zs=e=>e instanceof Map,Bs=e=>e instanceof Set,Vs=e=>typeof e==`object`,Hs=e=>typeof e==`function`,Us=e=>typeof e==`boolean`;function Ws(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Gs=e=>Vs(e)?e?.[B]:null,Ks=e=>e.copy_||e.base_,qs=e=>e.modified_?e.copy_:e.base_;function Js(e,t){if(zs(e))return new Map(e);if(Bs(e))return new Set(e);if(Rs(e))return Array[Cs].slice.call(e);let n=js(e);if(t===!0||t===`class_only`&&!n){let t=H.getOwnPropertyDescriptors(e);delete t[B];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[Es]===!1&&(a[Es]=!0,a[ws]=!0),(a.get||a.set)&&(t[i]={[ws]:!0,[Es]:!0,[Ts]:a[Ts],[Ds]:e[i]})}return H.create(xs(e),t)}else{let t=xs(e);if(t!==null&&n)return{...e};let r=H.create(t);return H.assign(r,e)}}function Ys(e,t=!1){return Qs(e)||Os(e)||!U(e)?e:(Ns(e)>1&&H.defineProperties(e,{set:Zs,add:Zs,clear:Zs,delete:Zs}),H.freeze(e),t&&Ms(e,(e,t)=>{Ys(t,!0)},!1),e)}function Xs(){V(2)}var Zs={[Ds]:Xs};function Qs(e){return e===null||!Vs(e)?!0:H.isFrozen(e)}var $s=`MapSet`,ec=`Patches`,tc=`ArrayMethods`,nc={};function rc(e){let t=nc[e];return t||V(0,e),t}var ic=e=>!!nc[e];function ac(e,t){nc[e]||(nc[e]=t)}var oc,sc=()=>oc,cc=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:ic($s)?rc($s):void 0,arrayMethodsPlugin_:ic(tc)?rc(tc):void 0});function lc(e,t){t&&(e.patchPlugin_=rc(ec),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function uc(e){dc(e),e.drafts_.forEach(pc),e.drafts_=null}function dc(e){e===oc&&(oc=e.parent_)}var fc=e=>oc=cc(oc,e);function pc(e){let t=e[B];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function mc(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[B].modified_&&(uc(t),V(4)),U(e)&&(e=hc(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[B].base_,e,t)}else e=hc(t,n);return gc(t,e,!0),uc(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===ys?void 0:e}function hc(e,t){if(Qs(t))return t;let n=t[B];if(!n)return wc(t,e.handledSet_,e);if(!vc(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);Sc(n,e)}return n.copy_}function gc(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Ys(t,n)}function _c(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var vc=(e,t)=>e.scope_===t,yc=[];function bc(e,t,n,r){let i=Ks(e),a=e.type_;if(r!==void 0&&Fs(i,r,a)===t){Is(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;Ms(i,(e,n)=>{if(Os(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??yc;for(let e of o)Is(i,e,n,a)}function xc(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!vc(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=qs(i);bc(e,i.draft_??i,a,n),Sc(i,r)})}function Sc(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}_c(e)}}function Cc(e,t,n){let{scope_:r}=e;if(Os(n)){let i=n[B];vc(i,r)&&i.callbacks_.push(function(){Mc(e),bc(e,n,qs(i),t)})}else U(n)&&e.callbacks_.push(function(){let i=Ks(e);e.type_===3?i.has(n)&&wc(n,r.handledSet_,r):Fs(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&wc(Fs(e.copy_,t,e.type_),r.handledSet_,r)})}function wc(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||Os(e)||t.has(e)||!U(e)||Qs(e)?e:(t.add(e),Ms(e,(r,i)=>{if(Os(i)){let t=i[B];vc(t,n)&&(Is(e,r,qs(t),e.type_),_c(t))}else U(i)&&wc(i,t,n)}),e)}function Tc(e,t){let n=Rs(e),r={type_:+!!n,scope_:t?t.scope_:sc(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=Ec;n&&(i=[r],a=Dc);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var Ec={get(e,t){if(t===B)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=Ks(e);if(!Ps(i,t,e.type_))return kc(e,i,t);let a=i[t];if(e.finalized_||!U(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&Ws(t))return a;if(a===Oc(e.base_,t)){Mc(e);let n=e.type_===1?+t:t,r=Pc(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in Ks(e)},ownKeys(e){return Reflect.ownKeys(Ks(e))},set(e,t,n){let r=Ac(Ks(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=Oc(Ks(e),t),i=r?.[B];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(Ls(n,r)&&(n!==void 0||Ps(e.base_,t,e.type_)))return!0;Mc(e),jc(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),Cc(e,t,n),!0)},deleteProperty(e,t){return Mc(e),Oc(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),jc(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=Ks(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[Es]:!0,[ws]:e.type_!==1||t!==`length`,[Ts]:r[Ts],[Ds]:n[t]}},defineProperty(){V(11)},getPrototypeOf(e){return xs(e.base_)},setPrototypeOf(){V(12)}},Dc={};for(let e in Ec){let t=Ec[e];Dc[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}Dc.deleteProperty=function(e,t){return Dc.set.call(this,e,t,void 0)},Dc.set=function(e,t,n){return Ec.set.call(this,e[0],t,n,e[0])};function Oc(e,t){let n=e[B];return(n?Ks(n):e)[t]}function kc(e,t,n){let r=Ac(t,n);return r?Ds in r?r[Ds]:r.get?.call(e.draft_):void 0}function Ac(e,t){if(!(t in e))return;let n=xs(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=xs(n)}}function jc(e){e.modified_||(e.modified_=!0,e.parent_&&jc(e.parent_))}function Mc(e){e.copy_||=(e.assigned_=new Map,Js(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Nc=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(Hs(e)&&!Hs(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}Hs(t)||V(6),n!==void 0&&!Hs(n)&&V(7);let r;if(U(e)){let i=fc(this),a=Pc(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?uc(i):dc(i)}return lc(i,n),mc(r,i)}else if(!e||!Vs(e)){if(r=t(e),r===void 0&&(r=e),r===ys&&(r=void 0),this.autoFreeze_&&Ys(r,!0),n){let t=[],i=[];rc(ec).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}else V(1,e)},this.produceWithPatches=(e,t)=>{if(Hs(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},Us(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Us(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Us(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){U(e)||V(8),Os(e)&&(e=Fc(e));let t=fc(this),n=Pc(t,e,void 0);return n[B].isManual_=!0,dc(t),n}finishDraft(e,t){let n=e&&e[B];(!n||!n.isManual_)&&V(9);let{scope_:r}=n;return lc(r,t),mc(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=rc(ec).applyPatches_;return Os(e)?r(e,t):this.produce(e,e=>r(e,t))}};function Pc(e,t,n,r){let[i,a]=zs(t)?rc($s).proxyMap_(t,n):Bs(t)?rc($s).proxySet_(t,n):Tc(t,n);return(n?.scope_??sc()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?xc(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function Fc(e){return Os(e)||V(10,e),Ic(e)}function Ic(e){if(!U(e)||Qs(e))return e;let t=e[B],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Js(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Js(e,!0);return Ms(n,(e,t)=>{Is(n,e,Ic(t))},r),t&&(t.finalized_=!1),n}function Lc(){function e(n,r=[]){if(n.key_!==void 0){let e=n.parent_.copy_??n.parent_.base_,t=Gs(Fs(e,n.key_)),i=Fs(e,n.key_);if(i===void 0||i!==n.draft_&&i!==n.base_&&i!==n.copy_||t!=null&&t.base_!==n.base_)return null;let a=n.parent_.type_===3,o;if(a){let e=n.parent_;o=Array.from(e.drafts_.keys()).indexOf(n.key_)}else o=n.key_;if(!(a&&e.size>o||Ps(e,o)))return null;r.push(o)}if(n.parent_)return e(n.parent_,r);r.reverse();try{t(n.copy_,r)}catch{return null}return r}function t(e,t){let n=e;for(let e=0;e<t.length-1;e++){let r=t[e];if(n=Fs(n,r),!Vs(n)||n===null)throw Error(`Cannot resolve path at '${t.join(`/`)}'`)}return n}let n=`replace`,r=`remove`;function i(e,t,n){if(e.scope_.processedForPatches_.has(e))return;e.scope_.processedForPatches_.add(e);let{patches_:r,inversePatches_:i}=n;switch(e.type_){case 0:case 2:return o(e,t,r,i);case 1:return a(e,t,r,i);case 3:return s(e,t,r,i)}}function a(e,t,i,a){let{base_:o,assigned_:s}=e,c=e.copy_;c.length<o.length&&([o,c]=[c,o],[i,a]=[a,i]);let l=e.allIndicesReassigned_===!0;for(let e=0;e<o.length;e++){let r=c[e],u=o[e];if((l||s?.get(e.toString()))&&r!==u){let o=r?.[B];if(o&&o.modified_)continue;let s=t.concat([e]);i.push({op:n,path:s,value:d(r)}),a.push({op:n,path:s,value:d(u)})}}for(let e=o.length;e<c.length;e++){let n=t.concat([e]);i.push({op:`add`,path:n,value:d(c[e])})}for(let e=c.length-1;o.length<=e;--e){let n=t.concat([e]);a.push({op:r,path:n})}}function o(e,t,i,a){let{base_:o,copy_:s,type_:c}=e;Ms(e.assigned_,(e,l)=>{let u=Fs(o,e,c),f=Fs(s,e,c),p=l?Ps(o,e)?n:`add`:r;if(u===f&&p===n)return;let m=t.concat(e);i.push(p===r?{op:p,path:m}:{op:p,path:m,value:d(f)}),a.push(p===`add`?{op:r,path:m}:p===r?{op:`add`,path:m,value:d(u)}:{op:n,path:m,value:d(u)})})}function s(e,t,n,i){let{base_:a,copy_:o}=e,s=0;a.forEach(e=>{if(!o.has(e)){let a=t.concat([s]);n.push({op:r,path:a,value:e}),i.unshift({op:`add`,path:a,value:e})}s++}),s=0,o.forEach(e=>{if(!a.has(e)){let a=t.concat([s]);n.push({op:`add`,path:a,value:e}),i.unshift({op:r,path:a,value:e})}s++})}function c(e,t,r){let{patches_:i,inversePatches_:a}=r;i.push({op:n,path:[],value:t===ys?void 0:t}),a.push({op:n,path:[],value:e})}function l(e,t){return t.forEach(t=>{let{path:i,op:a}=t,o=e;for(let e=0;e<i.length-1;e++){let t=Ns(o),n=i[e];typeof n!=`string`&&typeof n!=`number`&&(n=``+n),(t===0||t===1)&&(n===`__proto__`||n===Ss)&&V(19),Hs(o)&&n===Cs&&V(19),o=Fs(o,n),Vs(o)||V(18,i.join(`/`))}let s=Ns(o),c=u(t.value),l=i[i.length-1];switch(a){case n:switch(s){case 2:return o.set(l,c);case 3:V(16);default:return o[l]=c}case`add`:switch(s){case 1:return l===`-`?o.push(c):o.splice(l,0,c);case 2:return o.set(l,c);case 3:return o.add(c);default:return o[l]=c}case r:switch(s){case 1:return o.splice(l,1);case 2:return o.delete(l);case 3:return o.delete(t.value);default:return delete o[l]}default:V(17,a)}}),e}function u(e){if(!U(e))return e;if(Rs(e))return e.map(u);if(zs(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,u(t)]));if(Bs(e))return new Set(Array.from(e).map(u));let t=Object.create(xs(e));for(let n in e)t[n]=u(e[n]);return Ps(e,bs)&&(t[bs]=e[bs]),t}function d(e){return Os(e)?u(e):e}ac(ec,{applyPatches_:l,generatePatches_:i,generateReplacementPatches_:c,getPath:e})}var Rc=new Nc,zc=Rc.produce,Bc=Rc.produceWithPatches.bind(Rc),Vc=Rc.applyPatches.bind(Rc),Hc=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function Uc(e=21){let t=``,n=e;for(;n--;)t+=Hc[Math.random()*64|0];return t}function Wc(e){let{enablePatches:t=!1}=e,n=_s(),r=e.initialValue,i=new Set;return{on:n.on,value:()=>r,patch:(e,t=Uc())=>{i.has(t)||(Lc(),r=Vc(r,e),i.add(t),n.emit(`updated`,r,void 0,t))},mutate:(e,a=Uc())=>{if(!i.has(a))if(i.add(a),t){let[t,i]=Bc(r,e);r=t,n.emit(`updated`,r,i,a)}else r=zc(r,e),n.emit(`updated`,r,void 0,a)},syncIds:i}}function Gc(e){let t=new Map,n=new Map,r=new Set,i=e.connectionMeta.backend===`static`;function a(e,t){let r=n.get(e);return r&&typeof r==`object`&&!Array.isArray(r)&&typeof t==`object`&&!Array.isArray(t)?{...r,...t}:t}e.client.register({name:`devframe:rpc:client-state:updated`,type:`event`,handler:(e,n,r)=>{let i=t.get(e);!i||i.syncIds.has(r)||i.mutate(()=>a(e,n),r)}}),e.client.register({name:`devframe:rpc:client-state:patch`,type:`event`,handler:(e,n,r)=>{let i=t.get(e);!i||i.syncIds.has(r)||i.patch(n,r)}});function o(t,n){let r=[];return r.push(n.on(`updated`,(n,r,a)=>{i||(r?e.callEvent(`devframe:rpc:server-state:patch`,t,r,a):e.callEvent(`devframe:rpc:server-state:set`,t,n,a))})),()=>{for(let e of r)e()}}return{keys:()=>Array.from(t.keys()),onKeyAdded(e){return r.add(e),()=>{r.delete(e)}},get:async(s,c)=>{if(c?.initialValue!==void 0&&n.set(s,c.initialValue),t.has(s))return t.get(s);let l=Wc({initialValue:c?.initialValue,enablePatches:!1});async function u(){if(i||e.callEvent(`devframe:rpc:server-state:subscribe`,s),c?.initialValue!==void 0){t.set(s,l);for(let e of r)e(s);return e.call(`devframe:rpc:server-state:get`,s).then(e=>{e!==void 0&&l.mutate(()=>a(s,e))}).catch(e=>{console.error(`Error getting server state`,e)}),o(s,l),l}else{let n=await e.call(`devframe:rpc:server-state:get`,s);l.mutate(()=>a(s,n)),t.set(s,l);for(let e of r)e(s);return o(s,l),l}}return new Promise(t=>{e.isTrusted?u().then(t):(t(l),e.events.on(`rpc:is-trusted:updated`,e=>{e&&u()}))})}}}function Kc(e){return typeof e==`object`&&!!e&&e.type===`static`&&typeof e.path==`string`}function qc(e){return typeof e==`object`&&!!e&&e.type===`query`&&typeof e.records==`object`&&e.records!==null}function Jc(e){return typeof e==`object`&&!!e&&(`output`in e||`error`in e)}function Yc(e){if(e.error){let t=Error(e.error.message);throw t.name=e.error.name,t}return e.output}function Xc(e,t){let n=new Map,r=new Map;function i(e,t){return t===`structured-clone`?ts(e):e}async function a(e){n.has(e.path)||n.set(e.path,t(e.path).then(t=>i(t,e.serialization)));let r=await n.get(e.path);return Jc(r)?Yc(r):r}async function o(e,n){return r.has(e)||r.set(e,t(e).then(e=>i(e,n))),await r.get(e)}async function s(t,n){if(!(t in e))throw Error(`[devtools-rpc] Function "${t}" not found in dump store`);let r=e[t];if(Kc(r)){if(n.length>0)throw Error(`[devtools-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`);return await a(r)}if(qc(r)){let e=Io(n),i=r.records[e];if(i)return Yc(await o(i,r.serialization));if(r.fallback)return Yc(await o(r.fallback,r.serialization));throw Error(`[devtools-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}if(n.length===0)return r;throw Error(`[devtools-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}return{call:async(e,t)=>await s(e,t),callOptional:async(t,n)=>{if(t in e)return await s(t,n)},callEvent:async(e,t)=>{}}}async function Zc(e){let t=Xc(await e.fetchJsonFromBases(Eo),e.fetchJsonFromBases);return{isTrusted:!0,requestTrust:async()=>!0,requestTrustWithToken:async()=>!0,ensureTrusted:async()=>!0,call:(...e)=>t.call(e[0],e.slice(1)),callEvent:(...e)=>t.callEvent(e[0],e.slice(1)),callOptional:(...e)=>t.callOptional(e[0],e.slice(1))}}var Qc=256,$c=class extends Error{name=`StreamClosedError`};function el(e={}){let t=e.id??Uc(),n=Math.max(0,e.replayWindow??0),r=_s(),i=new AbortController,a=[],o=!1,s=0;function c(e){if(o)throw new $c(`Cannot write to a closed stream "${t}"`);s+=1,n>0&&(a.push({seq:s,chunk:e}),a.length>n&&a.splice(0,a.length-n)),r.emit(`chunk`,s,e)}function l(e){if(o)return;o=!0;let t=nl(e);i.abort(e),r.emit(`end`,t)}function u(){o||(o=!0,i.signal.aborted||i.abort(`stream closed`),r.emit(`end`,void 0))}function d(e){o||i.signal.aborted||i.abort(e??`aborted`)}let f=new WritableStream({write(e){c(e)},close(){u()},abort(e){l(e)}});return{id:t,signal:i.signal,get closed(){return o},get lastSeq(){return s},write:c,error:l,close:u,abort:d,writable:f,events:r,buffer:a}}function tl(e={}){let t=e.id??Uc(),n=Math.max(1,e.highWaterMark??Qc),r=[],i=0,a=!1,o=!1,s,c,l,u;function d(){if(c){if(r.length>0){let e=r.shift(),t=c;c=void 0,t.resolve({value:e,done:!1});return}if(a){let e=c;if(c=void 0,s){let t=Error(s.message);t.name=s.name,e.reject(t)}else e.resolve({value:void 0,done:!0})}}}function f(){if(l){for(;r.length>0;){let e=r.shift();try{l.enqueue(e)}catch{break}}if(a&&l){try{if(s){let e=Error(s.message);e.name=s.name,l.error(e)}else l.close()}catch{}l=void 0}}}function p(t,s){if(!(a||o)&&!(t<=i)){if(i=t,r.push(s),r.length>n){let t=r.length-n;r.splice(0,t),e.onOverflow?.(t)}d(),u&&f()}}function m(e){a||(a=!0,s=e,d(),u&&f())}function h(){o||a||(o=!0,e.onCancel?.(),m(void 0))}function g(){return u||(u=new ReadableStream({start(e){l=e,f()},cancel(){h()}}),u)}return{id:t,get cancelled(){return o},get done(){return a},get lastSeenSeq(){return i},get readable(){return g()},cancel:h,_push:p,_end:m,[Symbol.asyncIterator](){return{next(){if(r.length>0)return Promise.resolve({value:r.shift(),done:!1});if(a){if(s){let e=Error(s.message);return e.name=s.name,Promise.reject(e)}return Promise.resolve({value:void 0,done:!0})}return new Promise((e,t)=>{c={resolve:e,reject:t}})},return(){return h(),Promise.resolve({value:void 0,done:!0})}}}}}function nl(e){if(e instanceof Error)return{name:e.name||`Error`,message:e.message};if(typeof e==`string`)return{name:`Error`,message:e};try{return{name:`Error`,message:JSON.stringify(e)}}catch{return{name:`Error`,message:String(e)}}}var rl=``;function il(e,t){return`${e}${rl}${t}`}function al(e){let t=new Map,n=new Map;e.client.register({name:`devframe:streaming:chunk`,type:`event`,handler(e,n,r,i){t.get(il(e,n))?._push(r,i)}}),e.client.register({name:`devframe:streaming:end`,type:`event`,handler(e,n,r){let i=il(e,n),a=t.get(i);a&&(a._end(r),t.delete(i))}}),e.client.register({name:`devframe:streaming:upload-cancel`,type:`event`,handler(e,t){let r=il(e,t),i=n.get(r);i&&(i.abort(`server cancelled upload`),n.delete(r))}}),e.events.on(`rpc:is-trusted:updated`,n=>{if(n)for(let[n,r]of t){if(r.cancelled||r.done)continue;let t=n.indexOf(rl);if(t<0)continue;let i=n.slice(0,t),a=n.slice(t+1);e.callEvent(`devframe:streaming:subscribe`,i,a,{afterSeq:r.lastSeenSeq})}});function r(n,r,i={}){let a=il(n,r),o=t.get(a);if(o)return o;let s=tl({id:r,highWaterMark:i.highWaterMark,onOverflow(e){console.warn(`[devframe] DF0029: Stream "${n}#${r}" dropped ${e} chunk(s) after exceeding the client high-water mark.`)},onCancel(){e.callEvent(`devframe:streaming:cancel`,n,r),t.delete(a)}});if(t.set(a,s),e.isTrusted)e.callEvent(`devframe:streaming:subscribe`,n,r,{afterSeq:0});else{let i=e.events.on(`rpc:is-trusted:updated`,o=>{o&&(i(),t.has(a)&&!s.cancelled&&!s.done&&e.callEvent(`devframe:streaming:subscribe`,n,r,{afterSeq:s.lastSeenSeq}))})}return s}function i(t,r){let i=il(t,r),a=n.get(i);if(a)return a;let o=el({id:r});return o.events.on(`chunk`,(n,i)=>{e.callEvent(`devframe:streaming:upload-chunk`,t,r,n,i)}),o.events.on(`end`,a=>{e.callEvent(`devframe:streaming:upload-end`,t,r,a),n.delete(i)}),n.set(i,o),o}return{subscribe:r,upload:i}}var ol=`q`,sl=`s`;function cl(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var ll=Math.random.bind(Math),ul=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function dl(e=21){let t=``,n=e;for(;n--;)t+=ul[ll()*64|0];return t}var fl=6e4,pl=e=>e,ml=pl,{clearTimeout:hl,setTimeout:gl}=globalThis;function _l(e,t){let{post:n,on:r,off:i=()=>{},eventNames:a=[],serialize:o=pl,deserialize:s=ml,resolver:c,bind:l=`rpc`,timeout:u=fl,proxify:d=!0}=t,f=!1,p=new Map,m,h;async function g(e,r,i,a){if(f)throw Error(`[birpc] rpc is closed, cannot call "${e}"`);let s={m:e,a:r,t:ol};a&&(s.o=!0);let c=async e=>n(o(e));if(i){await c(s);return}if(m)try{await m}finally{m=void 0}let{promise:l,resolve:d,reject:g}=cl(),_=dl();s.i=_;let v;async function y(n=s){return u>=0&&(v=gl(()=>{try{if(t.onTimeoutError?.call(h,e,r)!==!0)throw Error(`[birpc] timeout on calling "${e}"`)}catch(e){g(e)}p.delete(_)},u),typeof v==`object`&&(v=v.unref?.())),p.set(_,{resolve:d,reject:g,timeoutId:v,method:e}),await c(n),l}try{t.onRequest?await t.onRequest.call(h,s,y,d):await y()}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}finally{hl(v),p.delete(_)}return l}let _={$call:(e,...t)=>g(e,t,!1),$callOptional:(e,...t)=>g(e,t,!1,!0),$callEvent:(e,...t)=>g(e,t,!0),$callRaw:e=>g(e.method,e.args,e.event,e.optional),$rejectPendingCalls:y,get $closed(){return f},get $meta(){return t.meta},$close:v,$functions:e};h=d?new Proxy({},{get(t,n){if(Object.prototype.hasOwnProperty.call(_,n))return _[n];if(n===`then`&&!a.includes(`then`)&&!(`then`in e))return;let r=(...e)=>g(n,e,!0);if(a.includes(n))return r.asEvent=r,r;let i=(...e)=>g(n,e,!1);return i.asEvent=r,i}}):_;function v(e){f=!0,p.forEach(({reject:t,method:n})=>{let r=Error(`[birpc] rpc is closed, cannot call "${n}"`);if(e)return e.cause??=r,t(e);t(r)}),p.clear(),i(b)}function y(e){let t=Array.from(p.values()).map(({method:t,reject:n})=>e?e({method:t,reject:n}):n(Error(`[birpc]: rejected pending call "${t}".`)));return p.clear(),t}async function b(r,...i){let a;try{a=s(r)}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}if(a.t===ol){let{m:r,a:s,o:u}=a,d,f,p=await(c?c.call(h,r,e[r]):e[r]);if(u&&(p||=()=>void 0),!p)f=Error(`[birpc] function "${r}" not found`);else try{d=await p.apply(l===`rpc`?h:e,s)}catch(e){f=e}if(a.i){if(f&&t.onFunctionError&&t.onFunctionError.call(h,f,r,s)===!0)return;if(!f)try{await n(o({t:sl,i:a.i,r:d}),...i);return}catch(e){if(f=e,t.onGeneralError?.call(h,e,r,s)!==!0)throw e}try{await n(o({t:sl,i:a.i,e:f}),...i)}catch(e){if(t.onGeneralError?.call(h,e,r,s)!==!0)throw e}}}else{let{i:e,r:t,e:n}=a,r=p.get(e);r&&(hl(r.timeoutId),n?r.reject(n):r.resolve(t)),p.delete(e)}}return m=r(b),h}function vl(e,t){let{channel:n,rpcOptions:r={}}=t;return _l(e,{...n,timeout:-1,...r,proxify:!1})}function yl(){}var bl=new Map;function xl(e){let t=e.url;e.authToken&&(t=`${t}?vite_devtools_auth_token=${encodeURIComponent(e.authToken)}`);let n=new WebSocket(t),{onConnected:r=yl,onError:i=yl,onDisconnected:a=yl,definitions:o=bl}=e;n.addEventListener(`open`,e=>{r(e)}),n.addEventListener(`error`,e=>{i(e instanceof Error?e:Error(e.type))}),n.addEventListener(`close`,e=>{a(e)});let s=new Map;return{on:e=>{n.addEventListener(`message`,t=>{e(t.data)})},post:e=>{if(n.readyState===WebSocket.OPEN)n.send(e);else{function t(){n.send(e),n.removeEventListener(`open`,t)}n.addEventListener(`open`,t)}},serialize:e=>{let t;return e.t===`q`?t=e.m:(t=s.get(e.i),s.delete(e.i)),t&&o.get(t)?.jsonSerializable===!0?ms(e,t??``):`s:${ps(e)}`},deserialize:e=>{let t=e.startsWith(`s:`)?fs(e.slice(2)):JSON.parse(e);return t.t===`q`&&t.i&&t.m&&s.set(t.i,t.m),t}}}function Sl(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var Cl=``,wl=`?`,Tl=`major`,W=`model`,G=`name`,K=`type`,q=`vendor`,J=`version`,Y=`architecture`,El=`console`,X=`mobile`,Z=`tablet`,Q=`smarttv`,Dl=`wearable`,Ol=`embedded`,kl=500,Al=`Amazon`,jl=`Apple`,Ml=`ASUS`,Nl=`BlackBerry`,Pl=`Browser`,Fl=`Chrome`,Il=`Edge`,Ll=`Firefox`,Rl=`Google`,zl=`Huawei`,Bl=`LG`,Vl=`Microsoft`,Hl=`Motorola`,Ul=`Opera`,Wl=`Samsung`,Gl=`Sharp`,Kl=`Sony`,ql=`Xiaomi`,Jl=`Zebra`,Yl=`Facebook`,Xl=`Chromium OS`,Zl=`Mac OS`;function Ql(e,t={}){let n={};for(let r of Object.keys(e)){let i=t[r];i&&i.length%2==0?n[r]=[...i,...e[r]]:n[r]=e[r]}return n}function $l(e){let t={};for(let n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t}function eu(e){return e.toLowerCase()}function tu(e,t){return typeof e==`string`?eu(t).includes(eu(e)):!1}function nu(e){return typeof e==`string`?e.replace(/[^\d.]/g,Cl).split(`.`)[0]:void 0}function ru(e,t){let n=e.replace(/^\s+/,Cl);return t===void 0?n:n.substring(0,t)}function iu(e,t,n){let r=n??{};for(let n=0;n<t.length;n+=2){let i=t[n],a=t[n+1];for(let t=0;t<i.length;t++){let n=i[t];if(!n)break;let o=n.exec(e);if(o){for(let e=0;e<a.length;e++){let t=o[e+1],n=a[e];if(Array.isArray(n)){let e=n[0],i=n.length;if(i===2){let i=n[1];typeof i==`function`?r[e]=i(t,void 0,r):r[e]=i}else if(i===3){let i=n[1],a=n[2];typeof i==`function`&&!(`exec`in i)&&!(`test`in i)?r[e]=t?i(t,a,r):void 0:r[e]=t?t.replace(i,a):void 0}else i===4&&(r[e]=t?n[3](t.replace(n[1],n[2]),void 0,r):void 0)}else r[n]=t||void 0}return r}}}return r}function au(e,t){for(let n in t){let r=t[n];if(Array.isArray(r)&&r.length>0){for(let t=0;t<r.length;t++)if(tu(r[t],e))return n===wl?void 0:n}else if(tu(r,e))return n===wl?void 0:n}return e}var ou={"1.0":`/8`,"1.2":`/1`,"1.3":`/3`,"2.0":`/412`,"2.0.2":`/416`,"2.0.3":`/417`,"2.0.4":`/419`,"?":`/`},su={ME:`4.90`,"NT 3.11":`NT3.51`,"NT 4.0":`NT4.0`,2e3:`NT 5.0`,XP:[`NT 5.1`,`NT 5.2`],Vista:`NT 6.0`,7:`NT 6.1`,8:`NT 6.2`,"8.1":`NT 6.3`,10:[`NT 6.4`,`NT 10.0`],RT:`ARM`},cu={browser:[[/\b(?:crmo|crios)\/([\w.]+)/i],[J,[G,`Chrome`]],[/edg(?:e|ios|a)?\/([\w.]+)/i],[J,[G,`Edge`]],[/(opera mini)\/([-\w.]+)/i,/(opera [mobileta]{3,6})\b.+version\/([-\w.]+)/i,/(opera)(?:.+version\/|[/ ]+)([\w.]+)/i],[G,J],[/opios[/ ]+([\w.]+)/i],[J,[G,`${Ul} Mini`]],[/\bop(?:rg)?x\/([\w.]+)/i],[J,[G,`${Ul} GX`]],[/\bopr\/([\w.]+)/i],[J,[G,Ul]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[/ ]?([\w.]+)/i],[J,[G,`Baidu`]],[/(kindle)\/([\w.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[/ ]?([\w.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[/ ]?([\w.]*)/i,/(?:ms|\()(ie) ([\w.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w.]+)/i,/(heytap|ovi)browser\/([\d.]+)/i,/(weibo)__([\d.]+)/i],[G,J],[/\bddg\/([\w.]+)/i],[J,[G,`DuckDuckGo`]],[/(?:\buc? ?browser|juc.+ucweb)[/ ]?([\w.]+)/i],[J,[G,`UC${Pl}`]],[/microm.+\bqbcore\/([\w.]+)/i,/\bqbcore\/([\w.]+).+microm/i,/micromessenger\/([\w.]+)/i],[J,[G,`WeChat`]],[/konqueror\/([\w.]+)/i],[J,[G,`Konqueror`]],[/trident.+rv[: ]([\w.]{1,9})\b.+like gecko/i],[J,[G,`IE`]],[/ya(?:search)?browser\/([\w.]+)/i],[J,[G,`Yandex`]],[/slbrowser\/([\w.]+)/i],[J,[G,`Smart Lenovo ${Pl}`]],[/(avast|avg)\/([\w.]+)/i],[[G,/(.+)/,`$1 Secure ${Pl}`],J],[/\bfocus\/([\w.]+)/i],[J,[G,`${Ll} Focus`]],[/\bopt\/([\w.]+)/i],[J,[G,`${Ul} Touch`]],[/coc_coc\w+\/([\w.]+)/i],[J,[G,`Coc Coc`]],[/dolfin\/([\w.]+)/i],[J,[G,`Dolphin`]],[/coast\/([\w.]+)/i],[J,[G,`${Ul} Coast`]],[/miuibrowser\/([\w.]+)/i],[J,[G,`MIUI ${Pl}`]],[/fxios\/([-\w.]+)/i],[J,[G,Ll]],[/\bqihu|(qi?ho{0,2}|360)browser/i],[[G,`360 ${Pl}`]],[/(oculus|sailfish|huawei|vivo)browser\/([\w.]+)/i],[[G,/(.+)/,`$1 ${Pl}`],J],[/samsungbrowser\/([\w.]+)/i],[J,[G,`${Wl} Internet`]],[/(comodo_dragon)\/([\w.]+)/i],[[G,/_/g,` `],J],[/metasr[/ ]?([\d.]+)/i],[J,[G,`Sogou Explorer`]],[/(sogou)mo\w+\/([\d.]+)/i],[[G,`Sogou Mobile`],J],[/(electron)\/([\w.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w.]+))/i,/m?(qqbrowser|2345Explorer)[/ ]?([\w.]+)/i],[G,J],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[G],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w.]+);)/i],[[G,Yl],J],[/(Klarna)\/([\w.]+)/i,/(kakao(?:talk|story))[/ ]([\w.]+)/i,/(naver)\(.*?(\d+\.[\w.]+).*\)/i,/safari (line)\/([\w.]+)/i,/\b(line)\/([\w.]+)\/iab/i,/(alipay)client\/([\w.]+)/i,/(twitter)(?:and| f.+e\/([\w.]+))/i,/(chromium|instagram|snapchat)[/ ]([-\w.]+)/i],[G,J],[/\bgsa\/([\w.]+) .*safari\//i],[J,[G,`GSA`]],[/musical_ly(?:.+app_?version\/|_)([\w.]+)/i],[J,[G,`TikTok`]],[/headlesschrome(?:\/([\w.]+)| )/i],[J,[G,`${Fl} Headless`]],[/ wv\).+(chrome)\/([\w.]+)/i],[[G,`${Fl} WebView`],J],[/droid.+ version\/([\w.]+)\b.+(?:mobile safari|safari)/i],[J,[G,`Android ${Pl}`]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w.]+)/i],[G,J],[/version\/([\w.,]+) .*mobile\/\w+ (safari)/i],[J,[G,`Mobile Safari`]],[/version\/([\w(.|,)]+) .*(mobile ?safari|safari)/i],[J,G],[/webkit.+?(mobile ?safari|safari)(\/[\w.]+)/i],[G,[J,au,ou]],[/(webkit|khtml)\/([\w.]+)/i],[G,J],[/(navigator|netscape\d?)\/([-\w.]+)/i],[[G,`Netscape`],J],[/mobile vr; rv:([\w.]+)\).+firefox/i],[J,[G,`${Ll} Reality`]],[/ekiohf.+(flow)\/([\w.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[/ ]?([\w.+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w.]+)$/i,/(firefox)\/([\w.]+)/i,/(mozilla)\/([\w.]+) .+rv:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[. ]?browser)[-/ ]?v?([\w.]+)/i,/(links) \(([\w.]+)/i,/panasonic;(viera)/i],[G,J],[/(cobalt)\/([\w.]+)/i],[G,[J,/master.|lts./,``]]],cpu:[[/(amd|x(?:(?:86|64)[-_])?|wow|win)64[;)]/i],[[Y,`amd64`]],[/(ia32(?=;))/i],[[Y,eu]],[/((?:i[346]|x)86)[;)]/i],[[Y,`ia32`]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[Y,`arm64`]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[Y,`armhf`]],[/windows (ce|mobile); ppc;/i],[[Y,`arm`]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[Y,/ower/,Cl,eu]],[/(sun4\w)[;)]/i],[[Y,`sparc`]],[/(avr32|ia64(?=;)|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[Y,eu]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[W,[q,Wl],[K,Z]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?\d+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[W,[q,Wl],[K,X]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[W,[q,jl],[K,X]],[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[W,[q,jl],[K,Z]],[/(macintosh);/i],[W,[q,jl]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[W,[q,Gl],[K,X]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[W,[q,zl],[K,Z]],[/(?:huawei|honor)([-\w ]+)[;)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][0-359c][adn]?)\b(?!.+d\/s)/i],[W,[q,zl],[K,X]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?[\w ]+)(?: bui|\))/i,/oid[^)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?\d?\w?[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[W,/_/g,` `],[q,ql],[K,X]],[/oid[^)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?pad[\w ]+)(?: bui|\))/i],[[W,/_/g,` `],[q,ql],[K,Z]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[W,[q,`OPPO`],[K,X]],[/\b(opd2\d{3}a?) bui/i],[W,[q,`OPPO`],[K,Z]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[W,[q,`Vivo`],[K,X]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[W,[q,`Realme`],[K,X]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w() ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[W,[q,Hl],[K,X]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[W,[q,Hl],[K,Z]],[/((?=lg)?[vl]k-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[W,[q,Bl],[K,Z]],[/(lm(?:-?f100[nv]?|-[\w.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?(\w+) bui/i],[W,[q,Bl],[K,X]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab[\w ]+|yt[-\w]{6}|tb[-\w]{6})/i],[W,[q,`Lenovo`],[K,Z]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w.]*)/i],[[W,/_/g,` `],[q,`Nokia`],[K,X]],[/(pixel c)\b/i],[W,[q,Rl],[K,Z]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[W,[q,Rl],[K,X]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]?\d\.))/i],[W,[q,Kl],[K,X]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[W,`Xperia Tablet`],[q,Kl],[K,Z]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[W,[q,`OnePlus`],[K,X]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[W,[q,Al],[K,Z]],[/((?:sd|kf)[0349hijor-uw]+)( bui|\)).+silk\//i],[[W,/(.+)/g,`Fire Phone $1`],[q,Al],[K,X]],[/(playbook);[-\w),; ]+(rim)/i],[W,q,[K,Z]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[W,[q,Nl],[K,X]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[W,[q,Ml],[K,Z]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[W,[q,Ml],[K,X]],[/(nexus 9)/i],[W,[q,`HTC`],[K,Z]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!;|\.)|sony(?!-bra))[-_ ]?([-\w]*)/i],[q,[W,/_/g,` `],[K,X]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[W,[q,`Acer`],[K,Z]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[W,[q,`Meizu`],[K,X]],[/; ((?:power )?armor[\w ]{0,8})(?: bui|\))/i],[W,[q,`Ulefone`],[K,X]],[/(blackberry|benq|palm(?=-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[q,W,[K,X]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[q,W,[K,Z]],[/(surface duo)/i],[W,[q,Vl],[K,Z]],[/droid [\d.]+; (fp\du?)(?: b|\))/i],[W,[q,`Fairphone`],[K,X]],[/(u304aa)/i],[W,[q,`AT&T`],[K,X]],[/\bsie-(\w*)/i],[W,[q,`Siemens`],[K,X]],[/\b(rct\w+) b/i],[W,[q,`RCA`],[K,Z]],[/\b(venue[\d ]{2,7}) b/i],[W,[q,`Dell`],[K,Z]],[/\b(q(?:mv|ta)\w+) b/i],[W,[q,`Verizon`],[K,Z]],[/\b(?:barnes[& ]+noble |bn[rt])([\w+ ]*) b/i],[W,[q,`Barnes & Noble`],[K,Z]],[/\b(tm\d{3}\w+) b/i],[W,[q,`NuVision`],[K,Z]],[/\b(k88) b/i],[W,[q,`ZTE`],[K,Z]],[/\b(nx\d{3}j) b/i],[W,[q,`ZTE`],[K,X]],[/\b(gen\d{3}) b.+49h/i],[W,[q,`Swiss`],[K,X]],[/\b(zur\d{3}) b/i],[W,[q,`Swiss`],[K,Z]],[/\b((zeki)?tb.*\b) b/i],[W,[q,`Zeki`],[K,Z]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[q,`Dragon Touch`],W,[K,Z]],[/\b(ns-?\w{0,9}) b/i],[W,[q,`Insignia`],[K,Z]],[/\b((nxa|next)-?\w{0,9}) b/i],[W,[q,`NextBook`],[K,Z]],[/\b(xtreme_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[q,`Voice`],W,[K,X]],[/\b(lvtel-)?(v1[12]) b/i],[[q,`LvTel`],W,[K,X]],[/\b(ph-1) /i],[W,[q,`Essential`],[K,X]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[W,[q,`Envizen`],[K,Z]],[/\b(trio[-\w. ]+) b/i],[W,[q,`MachSpeed`],[K,Z]],[/\btu_(1491) b/i],[W,[q,`Rotor`],[K,Z]],[/(shield[\w ]+) b/i],[W,[q,`Nvidia`],[K,Z]],[/(sprint) (\w+)/i],[q,W,[K,X]],[/(kin\.[onetw]{3})/i],[[W,/\./g,` `],[q,Vl],[K,X]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[W,[q,Jl],[K,Z]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[W,[q,Jl],[K,X]],[/smart-tv.+(samsung)/i],[q,[K,Q]],[/hbbtv.+maple;(\d+)/i],[[W,/^/,`SmartTV`],[q,Wl],[K,Q]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[q,Bl],[K,Q]],[/(apple) ?tv/i],[q,[W,`${jl} TV`],[K,Q]],[/crkey/i],[[W,`${Fl}cast`],[q,Rl],[K,Q]],[/droid.+aft(\w+)( bui|\))/i],[W,[q,Al],[K,Q]],[/\(dtv[);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[W,[q,Gl],[K,Q]],[/(bravia[\w ]+)( bui|\))/i],[W,[q,Kl],[K,Q]],[/(mitv-\w{5}) bui/i],[W,[q,ql],[K,Q]],[/Hbbtv.*(technisat) (.*);/i],[q,W,[K,Q]],[/\b(roku)[\dx]*[)/]((?:dvp-)?[\d.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w+ ]*; *(\w[^;]*);([^;]*)/i],[[q,ru],[W,ru],[K,Q]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[K,Q]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[q,W,[K,El]],[/droid.+; (shield) bui/i],[W,[q,`Nvidia`],[K,El]],[/(playstation [345portablevi]+)/i],[W,[q,Kl],[K,El]],[/\b(xbox(?: one)?(?!; xbox))[); ]/i],[W,[q,Vl],[K,El]],[/((pebble))app/i],[q,W,[K,Dl]],[/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i],[W,[q,jl],[K,Dl]],[/droid.+; (glass) \d/i],[W,[q,Rl],[K,Dl]],[/droid.+; (wt63?0{2,3})\)/i],[W,[q,Jl],[K,Dl]],[/(quest( \d| pro)?)/i],[W,[q,Yl],[K,Dl]],[/(tesla)(?: qtcarbrowser|\/[-\w.]+)/i],[q,[K,Ol]],[/(aeobc)\b/i],[W,[q,Al],[K,Ol]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[W,[K,X]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[W,[K,Z]],[/\b((tablet|tab)[;/]|focus\/\d(?!.+mobile))/i],[[K,Z]],[/(phone|mobile(?:[;/]| [ \w/.]*safari)|pda(?=.+windows ce))/i],[[K,X]],[/(android[-\w. ]{0,9});.+buil/i],[W,[q,`Generic`]]],engine:[[/windows.+ edge\/([\w.]+)/i],[J,[G,`${Il}HTML`]],[/webkit\/537\.36.+chrome\/(?!27)([\w.]+)/i],[J,[G,`Blink`]],[/(presto)\/([\w.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w.]+)/i,/ekioh(flow)\/([\w.]+)/i,/(khtml|tasman|links)[/ ]\(?([\w.]+)/i,/(icab)[/ ]([23]\.[\d.]+)/i,/\b(libweb)/i],[G,J],[/rv:([\w.]{1,9})\b.+(gecko)/i],[J,G]],os:[[/microsoft (windows) (vista|xp)/i],[G,J],[/(windows (?:phone(?: os)?|mobile))[/ ]?([.\w ]*)/i],[G,[J,au,su]],[/windows nt 6\.2; (arm)/i,/windows[/ ]?([ntce\d. ]+\w)(?!.+xbox)/i,/(?:win(?=[39n])|win 9x )([nt\d.]+)/i],[[J,au,su],[G,`Windows`]],[/ip[honead]{2,4}\b(?:.*os (\w+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[/ ])([\d.]+)/i,/cfnetwork\/.+darwin/i],[[J,/_/g,`.`],[G,`iOS`]],[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[G,Zl],[J,/_/g,`.`]],[/droid ([\w.]+)\b.+(android[- ]x86|harmonyos)/i],[J,G],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-/ ]?([\w.]*)/i,/(blackberry)\w*\/([\w.]*)/i,/(tizen|kaios)[/ ]([\w.]+)/i,/\((series40);/i],[G,J],[/\(bb(10);/i],[J,[G,Nl]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-/ ]?([\w.]*)/i],[J,[G,`Symbian`]],[/mozilla\/[\d.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w.]+)/i],[J,[G,`${Ll} OS`]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w.]+)/i],[J,[G,`webOS`]],[/watch(?: ?os[,/]|\d,\d\/)([\d.]+)/i],[J,[G,`watchOS`]],[/crkey\/([\d.]+)/i],[J,[G,`${Fl}cast`]],[/(cros) \w+(?:\)| ([\w.]+)\b)/i],[[G,Xl],J],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w.]*)/i,/(mint)[/() ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-/ ]?(?!chrom|package)([-\w.]*)/i,/(hurd|linux) ?([\w.]*)/i,/(gnu) ?([\w.]*)/i,/\b([-e-hrntopcs]{0,5}bsd|dragonfly)[/ ]?(?!amd|[ix346]{1,2}86)([\w.]*)/i,/(haiku) (\w+)/i],[G,J],[/(sunos) ?([\w.]*)/i],[[G,`Solaris`],J],[/((?:open)?solaris)[-/ ]?([\w.]*)/i,/(aix) ((\d)(?=[.) ])[\w.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w.]*)/i],[G,J]]};function lu(e){return typeof e==`object`&&!!e}Object.freeze($l([G,J,Tl])),Object.freeze($l([Y])),Object.freeze($l([W,q,K,El,X,Q,Z,Dl,Ol])),Object.freeze($l([G,J])),Object.freeze($l([G,J]));function uu(){if(!(typeof window>`u`||!window.navigator))return window.navigator}function du(e){return e.length>kl?ru(e,kl):e}function fu(e){if(typeof e==`string`)return{ua:du(e),isSelfNavigator:!1,navigator:void 0,userAgentData:void 0,regexMap:cu};let t=uu(),n=du(t&&t.userAgent?t.userAgent:Cl);return{ua:n,isSelfNavigator:!!(t&&t.userAgent===n),navigator:t,userAgentData:t?.userAgentData,regexMap:cu}}function pu(e,t){if(!t&&!lu(e))return fu(e);let n=uu(),r=lu(e)?void 0:e,i=lu(e)?e:t,a=du(r||(n&&n.userAgent?n.userAgent:Cl)),o=n?.userAgentData;return{ua:a,isSelfNavigator:!!(n&&n.userAgent===a),navigator:n,userAgentData:o,regexMap:i?Ql(cu,i):cu}}function mu(e){let t={name:void 0,version:void 0,major:void 0};return iu(e.ua,e.regexMap.browser,t),t.major=nu(t.version),e.isSelfNavigator&&e.navigator?.brave&&typeof e.navigator.brave.isBrave==`function`&&(t.name=`Brave`),t}function hu(e){let t={architecture:void 0};return iu(e.ua,e.regexMap.cpu,t),t}function gu(e){let t={vendor:void 0,model:void 0,type:void 0};return iu(e.ua,e.regexMap.device,t),e.isSelfNavigator&&!t.type&&e.userAgentData?.mobile&&(t.type=X),e.isSelfNavigator&&t.model===`Macintosh`&&e.navigator&&e.navigator.standalone!==void 0&&e.navigator.maxTouchPoints&&e.navigator.maxTouchPoints>2&&(t.model=`iPad`,t.type=Z),t}function _u(e){let t={name:void 0,version:void 0};return iu(e.ua,e.regexMap.engine,t),t}function vu(e){let t={name:void 0,version:void 0};return iu(e.ua,e.regexMap.os,t),e.isSelfNavigator&&!t.name&&e.userAgentData?.platform&&e.userAgentData.platform!==`Unknown`&&(t.name=e.userAgentData.platform.replace(/chrome os/i,Xl).replace(/macos/i,Zl)),t}function yu(e,t){let n,r,i,a,o,s,c=()=>n||=pu(e,t);return{get ua(){return c().ua},get browser(){return r||=mu(c()),r},get engine(){return i||=_u(c()),i},get os(){return a||=vu(c()),a},get device(){return o||=gu(c()),o},get cpu(){return s||=hu(c()),s}}}function bu(e){return e==null?!1:`${+e}`==`${e}`}function xu(e){let{authToken:t,connectionMeta:n,events:r,clientRpc:i,rpcOptions:a={},wsOptions:o={}}=e,s=!1,c=Sl(),l=bu(n.websocket)?`${location.protocol.replace(`http`,`ws`)}//${location.hostname}:${n.websocket}`:n.websocket,u=new Map;for(let e of n.jsonSerializableMethods??[])u.set(e,{jsonSerializable:!0});let d=vl(i.functions,{channel:xl({url:l,authToken:t,definitions:u,...o}),rpcOptions:a});i.register({name:`devframe:auth:revoked`,type:`event`,handler:()=>{s=!1,r.emit(`rpc:is-trusted:updated`,!1)}});let f=t;async function p(e){f=e;let t=yu(navigator.userAgent),n=[t.browser.name,t.browser.version,`|`,t.os.name,t.os.version,t.device.type].filter(e=>e).join(` `),i=await d.$call(`vite:anonymous:auth`,{authToken:e,ua:n,origin:location.origin});return s=i.isTrusted,c.resolve(s),r.emit(`rpc:is-trusted:updated`,s),i.isTrusted}async function m(){return s?!0:p(f)}async function h(e=6e4){if(s&&c.resolve(!0),e<=0)return c.promise;let t=()=>{};return await Promise.race([c.promise.then(t),new Promise((n,r)=>{let i=setTimeout(()=>{r(Error(`[Vite DevTools] Timeout waiting for rpc to be trusted`))},e);t=()=>clearTimeout(i)})]),s}return{get isTrusted(){return s},requestTrust:m,requestTrustWithToken:p,ensureTrusted:h,call:(...e)=>d.$call(...e),callEvent:(...e)=>d.$callEvent(...e),callOptional:(...e)=>d.$callOptional(...e)}}var Su=`__VITE_DEVTOOLS_CONNECTION_META__`,Cu=`__VITE_DEVTOOLS_CONNECTION_AUTH_TOKEN__`;function wu(e){let t=[()=>e,()=>localStorage.getItem(Cu),()=>window?.[Cu],()=>globalThis?.[Cu],()=>parent.window?.[Cu]],n;for(let e of t)try{if(n=e(),n)break}catch{}return n||=(0,vs.humanId)({separator:`-`,capitalize:!1}),localStorage.setItem(Cu,n),globalThis[Cu]=n,n}function Tu(){let e=[()=>window?.[Su],()=>globalThis?.[Su],()=>parent.window?.[Su]];for(let t of e)try{let e=t();if(e)return e}catch{}}async function Eu(e={}){let{baseURL:t=`./`,rpcOptions:n={},cacheOptions:r=!1}=e,i=_s(),a=Array.isArray(t)?t:[t],o=e.connectionMeta||Tu(),s=a[0]??`./`;function c(e){return e.endsWith(`/`)?e:`${e}/`}function l(e,t){return/^https?:\/\//.test(t)||t.startsWith(`/`)?t:`${c(e)}${t}`}if(!o){let e=[];for(let t of a)try{o=await fetch(l(t,To)).then(e=>e.json()),s=t,globalThis[Su]=o;break}catch(t){e.push(t)}if(!o)throw Error(`Failed to get connection meta from ${a.join(`, `)}`,{cause:e})}let u=new Lo({functions:[],...typeof e.cacheOptions==`object`?e.cacheOptions:{}}),d={rpc:void 0},f=wu(e.authToken),p=new Zo(d);async function m(e){let t=[s,...a.filter(e=>e!==s)].filter(e=>e!=null),n=[];for(let r of t)try{return await fetch(l(r,e)).then(t=>{if(!t.ok)throw Error(`Failed to fetch ${e} from ${r}: ${t.status}`);return t.json()})}catch(e){n.push(e)}throw Error(`Failed to load ${e} from ${t.join(`, `)}`,{cause:n})}let h=o.backend===`static`?await Zc({fetchJsonFromBases:m}):xu({authToken:f,connectionMeta:o,events:i,clientRpc:p,rpcOptions:{...n,async onRequest(e,t,i){if(await n.onRequest?.call(this,e,t,i),r&&u?.validate(e.m)){let n=u.cached(e.m,e.a);if(n)return i(n);{let n=await t(e);u?.apply(e,n)}}else await t(e)}},wsOptions:e.wsOptions}),g={events:i,get isTrusted(){return h.isTrusted},connectionMeta:o,ensureTrusted:h.ensureTrusted,requestTrust:h.requestTrust,requestTrustWithToken:async e=>(localStorage.setItem(Cu,e),globalThis[Cu]=e,h.requestTrustWithToken(e)),call:h.call,callEvent:h.callEvent,callOptional:h.callOptional,client:p,sharedState:void 0,streaming:void 0,cacheManager:u};g.sharedState=Gc(g),g.streaming=al(g),d.rpc=g,h.requestTrust();try{let e=new BroadcastChannel(`vite-devtools-auth`);e.onmessage=e=>{e.data?.type===`auth-update`&&e.data.authToken&&g.requestTrustWithToken(e.data.authToken)}}catch{}return g}var $=D({connected:!1,error:null}),Du=A(void 0);async function Ou(){let e=x();try{Du.value=await Eu({baseURL:[wo,e.app.baseURL],connectionMeta:e.app.connection,wsOptions:{onConnected:()=>{$.connected=!0},onError:e=>{$.error=e},onDisconnected:()=>{$.connected=!1}},rpcOptions:{onGeneralError:(e,t)=>{$.error=e,console.error(`[self-inspect] RPC error on executing "${t}":`,e)},onFunctionError:(e,t)=>{$.error=e,console.error(`[self-inspect] RPC error on executing "${t}":`,e)}}}),$.connected=!0}catch(e){$.error=e}}function ku(){return Du}var Au={key:0,"text-red":``,p4:``},ju={key:2,"h-vh":``,flex:`~ col`,"of-hidden":``},Mu={flex:`~ items-center`,border:`b base`,h9:``,"shrink-0":``},Nu=[`disabled`],Pu={"flex-1":``,"of-auto":``},Fu=t({__name:`app`,setup(t){pn({title:`DevTools Self Inspect`}),Ou();let n=[{title:`RPC Functions`,to:`/rpc`,icon:`i-ph-plugs-connected-duotone`},{title:`Docks`,to:`/docks`,icon:`i-ph-layout-duotone`},{title:`Client Scripts`,to:`/scripts`,icon:`i-ph-code-duotone`},{title:`Plugins`,to:`/plugins`,icon:`i-ph-puzzle-piece-duotone`},{title:`Shared State`,to:`/state`,icon:`i-ph-database-duotone`},{title:`Auth Tokens`,to:`/auth`,icon:`i-ph-key-duotone`}],{refresh:r,loading:a}=Co();return(t,o)=>{let l=s(`VisualLoading`),u=ba,f=Oa;return O($).error?(b(),Se(`div`,Au,i(O($).error),1)):O($).connected?(b(),Se(`div`,ju,[Ce(`div`,Mu,[(b(),Se(ce,null,c(n,t=>m(u,{key:t.to,to:t.to,flex:`~ items-center gap-1.5`,px3:``,"h-full":``,"text-sm":``,op50:``,"hover:op100":``,"transition-colors":``,border:`b-2 transparent`,"active-class":`op100! border-b-primary!`},{default:e(()=>[Ce(`span`,{class:d(t.icon),"text-base":``},null,2),Ce(`span`,null,i(t.title),1)]),_:2},1032,[`to`])),64)),o[3]||=Ce(`div`,{"flex-1":``},null,-1),Ce(`button`,{mr2:``,"p1.5":``,rounded:``,"hover:bg-active":``,op50:``,"hover:op100":``,"transition-colors":``,title:`Refresh`,disabled:O(a),onClick:o[0]||=(...e)=>O(r)&&O(r)(...e)},[Ce(`span`,{"i-ph-arrow-clockwise":``,"text-sm":``,class:d(O(a)?`animate-spin`:``)},null,2)],8,Nu),Ce(`button`,{mr2:``,"p1.5":``,rounded:``,"hover:bg-active":``,op50:``,"hover:op100":``,"transition-colors":``,title:`Toggle dark mode`,onClick:o[1]||=(...e)=>O(yo)&&O(yo)(...e)},[...o[2]||=[Ce(`span`,{class:`i-ph-sun-duotone dark:i-ph-moon-duotone`,"text-sm":``},null,-1)]])]),Ce(`div`,Pu,[m(f)])])):(b(),v(l,{key:1,text:`Connecting...`}))}}}),Iu={__name:`nuxt-error-page`,props:{error:Object},setup(e){let t=e.error,n=Number(t.statusCode||500),r=n===404,i=t.statusMessage??(r?`Page Not Found`:`Internal Server Error`),a=t.message||t.toString(),o=de(()=>M(()=>import(`./BjOb2uft.js`),__vite__mapDeps([10,11,1,12]),import.meta.url)),s=de(()=>M(()=>import(`./J28eQ12k.js`),__vite__mapDeps([13,11,1,14]),import.meta.url)),c=r?o:s;return(e,t)=>(b(),v(O(c),p(u({status:O(n),statusText:O(i),statusCode:O(n),statusMessage:O(i),description:O(a),stack:O(void 0)})),null,16))}},Lu={key:0},Ru={__name:`nuxt-root`,setup(t){let n=()=>null,r=E(),i=r.deferHydration();if(r.isHydrating){let e=r.hooks.hookOnce(`app:error`,i),t=j().beforeEach(()=>{e(),t()})}window.location.pathname,a(Ue,qe()),r.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`,[]);let o=Me(),s=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;function c(e,t,n){let i=r.vueApp.config.errorHandler;if(i&&!i.__nuxt_default)try{i(e,t,n)}catch(e){console.error("[nuxt] Error in `app.config.errorHandler`",e)}}return y((e,t,n)=>{if(r.hooks.callHook(`vue:error`,e,t,n)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),s.test(navigator.userAgent))return r.hooks.callHook(`app:error`,e),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,e),!1;if(We(e)&&(e.fatal||e.unhandled))return r.runWithContext(()=>Re(e)),c(e,t,n),!1}),(t,r)=>(b(),v(ne,{onResolve:O(i)},{default:e(()=>[O(!1)?(b(),Se(`div`,Lu)):O(o)?(b(),v(O(Iu),{key:1,error:O(o)},null,8,[`error`])):O(!1)?(b(),v(O(n),{key:2,context:O(!1)},null,8,[`context`])):O(!1)?(b(),v(ee(O(!1)),{key:3})):(b(),v(O(Fu),{key:4}))]),_:1},8,[`onResolve`]))}},zu;{let e;zu=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?Ee(Ru):Te(Ru),r=me({vueApp:n});async function i(e){await r.callHook(`app:error`,e),r.payload.error||=Ve(e)}i.__nuxt_default=!0,n.config.errorHandler=i,r.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===i&&(n.config.errorHandler=void 0)}),!t&&_e.id&&r.hook(`app:suspense:resolve`,()=>{document.getElementById(_e.id)?.remove()});try{await ye(r,_a)}catch(e){i(e)}try{await r.hooks.callHook(`app:created`,n),await r.hooks.callHook(`app:beforeMount`,n),n.mount(xe),await r.hooks.callHook(`app:mounted`,n),await l()}catch(e){i(e)}return n},e=zu().catch(e=>{throw console.error(`Error while mounting app:`,e),e})}export{pn as a,ba as i,Uc as n,So as r,ku as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,D as t,Ft as n,O as r,W as i,w as a,x as o}from"./DJCsHnip.js";import{a as s,i as c}from"#entry";import{t as l}from"./CHHO6nw6.js";var u={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},d={class:`max-w-520px text-center`},f=[`textContent`],p=[`textContent`],m=[`textContent`],h={class:`flex items-center justify-center w-full`},g=l({__name:`error-404`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:404},statusText:{type:String,default:`Page not found`},description:{type:String,default:`Sorry, the page you are looking for could not be found.`},backHome:{type:String,default:`Go back home`}},setup(l){let g=l;return s({title:`${g.status} - ${g.statusText} | ${g.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(s,g)=>{let _=c;return i(),a(`div`,u,[o(`div`,d,[o(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:n(l.status)},null,8,f),o(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:n(l.statusText)},null,8,p),o(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:n(l.description)},null,8,m),o(`div`,h,[r(_,{to:`/`,class:`font-medium hover:text-[#00DC82] text-sm underline underline-offset-3`},{default:e(()=>[t(n(l.backHome),1)]),_:1})])])])}}},[[`__scopeId`,`data-v-e9758004`]]);export{g as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e,C as t,D as n,Ft as r,H as i,J as a,K as o,O as s,S as c,W as l,b as u,ct as d,et as f,h as p,ut as m,w as h,x as g}from"./DJCsHnip.js";import{a as _}from"./BGNY_TUJ.js";import{r as v,t as y}from"#entry";var b={flex:`~ col gap-3`,p4:``},x={flex:`~ items-center gap-3 flex-wrap`},S={flex:`~ items-center gap-2`,"flex-1":``,"min-w-50":``},C={flex:`~ items-center gap-2`,"text-xs":``,op60:``},w={flex:`~ items-center gap-2`,mb1:``,mt2:``},T={"font-mono":``,"text-xs":``,op50:``},E={"w-full":``,"text-sm":``},D=[`title`],O={px2:``,"py1.5":``},k={px2:``,"py1.5":``,"text-center":``},A={key:0,"i-ph-check":``,"text-green":``},j={key:1,op20:``},M={px2:``,"py1.5":``,"text-center":``},N={key:0,flex:`~ items-center justify-center gap-1`},P={key:1,op20:``},F={px2:``,"py1.5":``,"text-center":``},I={key:0,"i-ph-check":``,"text-green":``},L={key:1,op20:``},R=Object.assign(e({__name:`RpcFunctionsList`,props:{functions:{}},setup(e){let i=e,m=d(``),v=u(()=>{let e=m.value.toLowerCase();return e?i.functions.filter(t=>t.name.toLowerCase().includes(e)):i.functions}),y=u(()=>{let e={};for(let t of i.functions)e[t.type]=(e[t.type]||0)+1;return e});function R(e){let t=e.split(`:`);return t.length<=1?`(other)`:t.slice(0,-1).join(`:`)}function z(e){return e.split(`:`).at(-1)}let B=u(()=>{let e=new Map;for(let t of v.value){let n=R(t.name);e.has(n)||e.set(n,[]),e.get(n).push(t)}return Array.from(e.entries()).sort(([e],[t])=>e.localeCompare(t))});return(e,u)=>{let d=a(`DisplayBadge`),v=a(`DisplayNumberBadge`);return l(),h(`div`,b,[g(`div`,x,[g(`div`,S,[u[1]||=g(`div`,{"i-ph-magnifying-glass":``,op40:``},null,-1),f(g(`input`,{"onUpdate:modelValue":u[0]||=e=>m.value=e,placeholder:`Filter functions...`,border:`~ base rounded`,"bg-transparent":``,px2:``,py1:``,"text-sm":``,"flex-1":``,"outline-none":``,"focus:border-primary":``},null,512),[[_,m.value]])]),g(`div`,C,[g(`span`,null,r(i.functions.length)+` total`,1),u[2]||=g(`span`,{op30:``},`|`,-1),(l(!0),h(p,null,o(y.value,(e,t)=>(l(),h(`span`,{key:t},[s(d,{text:String(t)},null,8,[`text`]),n(` `+r(e),1)]))),128))])]),(l(!0),h(p,null,o(B.value,([e,n])=>(l(),h(`div`,{key:e},[g(`div`,w,[g(`span`,T,r(e),1),s(v,{number:n.length},null,8,[`number`])]),g(`table`,E,[u[3]||=g(`thead`,null,[g(`tr`,{border:`b base`,"text-left":``},[g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Name `),g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``},` Type `),g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Cacheable `),g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Schema `),g(`th`,{px2:``,py1:``,"font-medium":``,op60:``,"text-xs":``,"text-center":``},` Dump `)])],-1),g(`tbody`,null,[(l(!0),h(p,null,o(n,e=>(l(),h(`tr`,{key:e.name,border:`b base`,"hover:bg-active":``},[g(`td`,{px2:``,"py1.5":``,"font-mono":``,"text-xs":``,title:e.name},r(z(e.name)),9,D),g(`td`,O,[s(d,{text:e.type},null,8,[`text`])]),g(`td`,k,[e.cacheable?(l(),h(`span`,A)):(l(),h(`span`,j,`-`))]),g(`td`,M,[e.hasArgs||e.hasReturns?(l(),h(`span`,N,[e.hasArgs?(l(),c(d,{key:0,text:`args`})):t(``,!0),e.hasReturns?(l(),c(d,{key:1,text:`returns`})):t(``,!0)])):(l(),h(`span`,P,`-`))]),g(`td`,F,[e.hasDump?(l(),h(`span`,I)):(l(),h(`span`,L,`-`))])]))),128))])])]))),128))])}}}),{__name:`RpcFunctionsList`}),z=e({__name:`rpc`,setup(e){let t=y(),n=m();async function r(){n.value=await t.value.call(`devtoolskit:self-inspect:get-rpc-functions`)}return v(r),i(r),(e,t)=>{let r=a(`VisualLoading`),i=R;return n.value?(l(),c(i,{key:1,functions:n.value},null,8,[`functions`])):(l(),c(r,{key:0}))}}});export{z as default};
|