@vuebro/runtime 2.1.2 → 2.1.3
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/.vite/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"_ajv-6LTVMkJm.js":{"file":"assets/ajv-6LTVMkJm.js","name":"ajv"},"_katex-UTpUfKgT.js":{"file":"assets/katex-UTpUfKgT.js","name":"katex"},"_markdown-B67DBJhd.js":{"file":"assets/markdown-B67DBJhd.js","name":"markdown","imports":["_ajv-6LTVMkJm.js","_katex-UTpUfKgT.js"]},"_unocss-
|
|
1
|
+
{"_ajv-6LTVMkJm.js":{"file":"assets/ajv-6LTVMkJm.js","name":"ajv"},"_katex-UTpUfKgT.js":{"file":"assets/katex-UTpUfKgT.js","name":"katex"},"_markdown-B67DBJhd.js":{"file":"assets/markdown-B67DBJhd.js","name":"markdown","imports":["_ajv-6LTVMkJm.js","_katex-UTpUfKgT.js"]},"_unocss-CyfnIEqr.js":{"file":"assets/unocss-CyfnIEqr.js","name":"unocss","imports":["_ajv-6LTVMkJm.js"],"dynamicImports":["index.html"]},"index.html":{"file":"assets/index-n7rLOf6S.js","name":"index","src":"index.html","isEntry":true,"isDynamicEntry":true,"imports":["_unocss-CyfnIEqr.js","_ajv-6LTVMkJm.js","_markdown-B67DBJhd.js","_katex-UTpUfKgT.js"],"css":["assets/index-vGiKZPT9.css"]},"node_modules/vue/dist/vue.esm-browser.prod.js":{"file":"assets/vue.esm-browser.prod-3.5.26.js","isStaticEntry":true,"name":"vue"},"node_modules/vue-router/dist/vue-router.esm-browser.prod.js":{"file":"assets/vue-router.esm-browser.prod-4.6.4.js","isStaticEntry":true,"name":"vue-router"},"node_modules/@vuebro/loader-sfc/dist/loader-sfc.esm-browser.prod.js":{"file":"assets/loader-sfc.esm-browser.prod-2.4.8.js","isStaticEntry":true,"name":"@vuebro/loader-sfc"}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{toValue as S,isRef as Y,hasInjectionContext as ao,inject as co,ref as de,watchEffect as Ae,getCurrentInstance as Me,onBeforeUnmount as kt,onDeactivated as lo,onActivated as uo,computed as j,toRef as P,toRefs as ue,reactive as V,watch as H,unref as U,onMounted as St,nextTick as po,getCurrentScope as go,onScopeDispose as fo,readonly as ho,customRef as wo,shallowRef as F,defineComponent as te,resolveComponent as mo,createBlock as ee,openBlock as N,withCtx as xe,resolveDynamicComponent as Re,defineAsyncComponent as yo,createElementBlock as ie,Fragment as Tt,createVNode as vo,createElementVNode as W,onUnmounted as bo,renderList as _o,withDirectives as ko,mergeProps as So,Suspense as To,createCommentVNode as Po,normalizeProps as Eo,guardReactiveProps as Co,createApp as jo}from"vue";import{d as Oo,w as Lo,_ as $o,p as Ao,a as Mo,b as xo,c as Ro,e as Ho,t as zo,M as No,i as Do}from"./unocss-BU3iCL2-.js";import{r as Fo,a as Pt,c as Io}from"./ajv-6LTVMkJm.js";import{useRoute as qo,createRouter as Wo,createWebHistory as Uo}from"vue-router";import{M as Vo,E as Bo,j as Go,i as Jo,U as Ko,z as Qo,w as Xo,k as Yo,L as Zo,b as er,d as tr,g as or,y as rr,a as sr,$ as ir,m as nr,c as ar,e as cr,f as lr,h as dr,l as ur,n as pr,o as gr,t as fr,p as hr,s as wr}from"./markdown-B67DBJhd.js";import mr from"@vuebro/loader-sfc";import"./katex-UTpUfKgT.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function o(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=o(r);fetch(r.href,i)}})();const yr=new Set(["link","style","script","noscript"]),vr=new Set(["title","titleTemplate","script","style","noscript"]),Be=new Set(["base","meta","link","style","script","noscript"]),br=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),_r=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),kr=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Sr=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Tr=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);const ke=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Ge={base:-10,title:10},Pr={critical:-8,high:-1,low:2},Je={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}},Er=/@import/,Q=e=>e===""||e===!0;function Cr(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let o=100;const s=Pr[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Je;if(t.tag in Ge)o=Ge[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(o=Je.meta[i])}else if(t.tag==="link"&&t.props.rel)o=r.link[t.props.rel];else if(t.tag==="script"){const i=String(t.props.type);Q(t.props.async)?o=r.script.async:t.props.src&&!Q(t.props.defer)&&!Q(t.props.async)&&i!=="module"&&!i.endsWith("json")||t.innerHTML&&!i.endsWith("json")?o=r.script.sync:(Q(t.props.defer)&&t.props.src&&!Q(t.props.async)||i==="module")&&(o=r.script.defer)}else t.tag==="style"&&(o=t.innerHTML&&Er.test(t.innerHTML)?r.style.imported:r.style.sync);return(o||100)+s}const pe="%separator";function jr(e,t,o=!1){let s;if(t==="s"||t==="pageTitle")s=e.pageTitle;else if(t.includes(".")){const r=t.indexOf(".");s=e[t.substring(0,r)]?.[t.substring(r+1)]}else s=e[t];if(s!==void 0)return o?(s||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):s||""}function re(e,t,o,s=!1){if(typeof e!="string"||!e.includes("%"))return e;let r=e;try{r=decodeURI(e)}catch{}const i=r.match(/%\w+(?:\.\w+)?/g);if(!i)return e;const a=e.includes(pe);return e=e.replace(/%\w+(?:\.\w+)?/g,n=>{if(n===pe||!i.includes(n))return n;const l=jr(t,n.slice(1),s);return l!==void 0?l:n}).trim(),a&&(e=e.split(pe).map(n=>n.trim()).filter(n=>n!=="").join(o?` ${o} `:" ")),e}const Ke=e=>e.includes(":key")?e:e.split(":").join(":key:"),Or={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const o of e.tags){const s=o.tagPriority;if(!s)continue;const r=String(s);if(r.startsWith("before:")){const i=Ke(r.slice(7)),a=e.tagMap.get(i);a&&(typeof a.tagPriority=="number"&&(o.tagPriority=a.tagPriority),o._p=a._p-1,t=!0)}else if(r.startsWith("after:")){const i=Ke(r.slice(6)),a=e.tagMap.get(i);a&&(typeof a.tagPriority=="number"&&(o.tagPriority=a.tagPriority),o._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(ke))}}},Lr={meta:"content",link:"href",htmlAttrs:"lang"},$r=["innerHTML","textContent"],Ar=e=>({key:"template-params",hooks:{"entries:normalize":t=>{const o=t.tags.filter(s=>s.tag==="templateParams"&&s.mode==="server")?.[0]?.props||{};Object.keys(o).length&&(e._ssrPayload={templateParams:{...e._ssrPayload?.templateParams||{},...o}})},"tags:resolve":({tagMap:t,tags:o})=>{const s=t.get("templateParams")?.props||{},r=s.separator||"|";delete s.separator,s.pageTitle=re(s.pageTitle||e._title||"",s,r);for(const i of o){if(i.processTemplateParams===!1)continue;const a=Lr[i.tag];if(a&&typeof i.props[a]=="string")i.props[a]=re(i.props[a],s,r);else if(i.processTemplateParams||i.tag==="titleTemplate"||i.tag==="title")for(const n of $r)typeof i[n]=="string"&&(i[n]=re(i[n],s,r,i.tag==="script"&&i.props.type.endsWith("json")))}e._templateParams=s,e._separator=r},"tags:afterResolve":({tagMap:t})=>{const o=t.get("title");o?.textContent&&o.processTemplateParams!==!1&&(o.textContent=re(o.textContent,e._templateParams,e._separator))}}}),Qe=["og:url","og:image","og:image:secure_url","twitter:image","twitter:image:src","og:video","og:video:secure_url","og:see_also"];function Mr(e){return t=>{let o=e.canonicalHost||(t.ssr?"":window.location.origin);!o.startsWith("http")&&!o.startsWith("//")&&(o=`https://${o}`),o=new URL(o).origin;function s(r){if(e?.customResolver)return e.customResolver(r);if(r.startsWith("http")||r.startsWith("//"))return r;try{return new URL(r,o).toString()}catch{return r}}return{key:"canonical",hooks:{"tags:resolve":r=>{for(const i of r.tags)i.tag==="meta"&&(Qe.includes(i.props?.property)||Qe.includes(i.props?.name))?i.props.content=s(i.props.content):i.tag==="link"&&i.props.rel==="canonical"&&(i.props.href=s(i.props.href))}}}}}function xr(e={}){return t=>(t.push({meta:[{name:"twitter:card",content:e.twitterCard||"summary_large_image",tagPriority:"low"},{property:"og:title",tagPriority:"low","data-infer":""},{property:"og:description",tagPriority:"low","data-infer":""}]}),{key:"infer-seo-meta",hooks:{"tags:beforeResolve":({tagMap:o})=>{let s=t._titleTemplate||t._title;const r=o.get("meta:og:title");typeof r?.props["data-infer"]<"u"&&(typeof s=="function"&&(s=s(t._title)),r.props.content=e.ogTitle?e.ogTitle(s):s||"",r.processTemplateParams=!0);const i=o.get("meta:description")?.props?.content,a=o.get("meta:og:description");typeof a?.props["data-infer"]<"u"&&(a.props.content=e.ogDescription?e.ogDescription(i):i||"",a.processTemplateParams=!0)}}})}function Se(e,t={},o){for(const s in e){const r=e[s],i=o?`${o}:${s}`:s;typeof r=="object"&&r!==null?Se(r,t,i):typeof r=="function"&&(t[i]=r)}return t}const Rr={run:e=>e()},Hr=()=>Rr,Et=typeof console.createTask<"u"?console.createTask:Hr;function zr(e,t){const o=t.shift(),s=Et(o);return e.reduce((r,i)=>r.then(()=>s.run(()=>i(...t))),Promise.resolve())}function Nr(e,t){const o=t.shift(),s=Et(o);return Promise.all(e.map(r=>s.run(()=>r(...t))))}function ge(e,t){for(const o of[...e])o(t)}class Dr{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,o,s={}){if(!t||typeof o!="function")return()=>{};const r=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!s.allowDeprecated){let a=i.message;a||(a=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!o.name)try{Object.defineProperty(o,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(o),()=>{o&&(this.removeHook(t,o),o=void 0)}}hookOnce(t,o){let s,r=(...i)=>(typeof s=="function"&&s(),s=void 0,r=void 0,o(...i));return s=this.hook(t,r),s}removeHook(t,o){if(this._hooks[t]){const s=this._hooks[t].indexOf(o);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,o){this._deprecatedHooks[t]=typeof o=="string"?{to:o}:o;const s=this._hooks[t]||[];delete this._hooks[t];for(const r of s)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const o in t)this.deprecateHook(o,t[o])}addHooks(t){const o=Se(t),s=Object.keys(o).map(r=>this.hook(r,o[r]));return()=>{for(const r of s.splice(0,s.length))r()}}removeHooks(t){const o=Se(t);for(const s in o)this.removeHook(s,o[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...o){return o.unshift(t),this.callHookWith(zr,t,...o)}callHookParallel(t,...o){return o.unshift(t),this.callHookWith(Nr,t,...o)}callHookWith(t,o,...s){const r=this._before||this._after?{name:o,args:s,context:{}}:void 0;this._before&&ge(this._before,r);const i=t(o in this._hooks?[...this._hooks[o]]:[],s);return i instanceof Promise?i.finally(()=>{this._after&&r&&ge(this._after,r)}):(this._after&&r&&ge(this._after,r),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const o=this._before.indexOf(t);o!==-1&&this._before.splice(o,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const o=this._after.indexOf(t);o!==-1&&this._after.splice(o,1)}}}}function Fr(){return new Dr}const Ir=["name","property","http-equiv"],qr=new Set(["viewport","description","keywords","robots"]);function Ct(e){const t=e.split(":");return t.length?Tr.has(t[1]):!1}function Te(e){const{props:t,tag:o}=e;if(_r.has(o))return o;if(o==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const s of Ir)if(t[s]!==void 0){const r=t[s],i=r&&typeof r=="string"&&r.includes(":"),a=r&&qr.has(r),l=!(i||a)&&e.key?`:key:${e.key}`:"";return`${o}:${r}${l}`}}if(e.key)return`${o}:key:${e.key}`;if(t.id)return`${o}:id:${t.id}`;if(vr.has(o)){const s=e.textContent||e.innerHTML;if(s)return`${o}:content:${s}`}}function Xe(e){const t=e._h||e._d;if(t)return t;const o=e.textContent||e.innerHTML;return o||`${e.tag}:${Object.entries(e.props).map(([s,r])=>`${s}:${String(r)}`).join(",")}`}function ne(e,t,o){typeof e==="function"&&(!o||o!=="titleTemplate"&&!(o[0]==="o"&&o[1]==="n"))&&(e=e());const r=t?t(o,e):e;if(Array.isArray(r))return r.map(i=>ne(i,t));if(r?.constructor===Object){const i={};for(const a of Object.keys(r))i[a]=ne(r[a],t,a);return i}return r}function Wr(e,t){const o=e==="style"?new Map:new Set;function s(r){if(r==null||r===void 0)return;const i=String(r).trim();if(i)if(e==="style"){const[a,...n]=i.split(":").map(l=>l?l.trim():"");a&&n.length&&o.set(a,n.join(":"))}else i.split(" ").filter(Boolean).forEach(a=>o.add(a))}return typeof t=="string"?e==="style"?t.split(";").forEach(s):s(t):Array.isArray(t)?t.forEach(r=>s(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,i])=>{i&&i!=="false"&&(e==="style"?o.set(String(r).trim(),String(i)):s(r))}),o}function jt(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([o,s])=>{if(s===null){e.props[o]=null;return}if(o==="class"||o==="style"){e.props[o]=Wr(o,s);return}if(kr.has(o)){if(["textContent","innerHTML"].includes(o)&&typeof s=="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[o]=JSON.stringify(s)}else e[o]=s;return}const r=String(s),i=o.startsWith("data-"),a=e.tag==="meta"&&o==="content";r==="true"||r===""?e.props[o]=i||a?r:!0:!s&&i&&r==="false"?e.props[o]="false":s!==void 0&&(e.props[o]=s)}),e):e}function Ur(e,t){const o=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=jt({tag:e,props:{}},o);return s.key&&yr.has(s.tag)&&(s.props["data-hid"]=s._h=s.key),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(r=>({...s,props:{...s.props,content:r}})):s}function Vr(e,t){if(!e)return[];typeof e=="function"&&(e=e());const o=(r,i)=>{for(let a=0;a<t.length;a++)i=t[a](r,i);return i};e=o(void 0,e);const s=[];return e=ne(e,o),Object.entries(e||{}).forEach(([r,i])=>{if(i!==void 0)for(const a of Array.isArray(i)?i:[i])s.push(Ur(r,a))}),s.flat()}function Ye(e,t){const o=typeof t=="function"?t(e):t,s=o.key||String(e.plugins.size+1);e.plugins.get(s)||(e.plugins.set(s,o),e.hooks.addHooks(o.hooks||{}))}function Br(e={}){const t=Fr();t.addHooks(e.hooks||{});const o=!e.document,s=new Map,r=new Map,i=new Set,a={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:o,entries:s,headEntries(){return[...s.values()]},use:n=>Ye(a,n),push(n,l){const u={...l||{}};delete u.head;const c=u._index??a._entryCount++,h={_i:c,input:n,options:u},f={_poll(d=!1){a.dirty=!0,!d&&i.add(c),t.callHook("entries:updated",a)},dispose(){s.delete(c)&&a.invalidate()},patch(d){(!u.mode||u.mode==="server"&&o||u.mode==="client"&&!o)&&(h.input=d,s.set(c,h),f._poll())}};return f.patch(n),f},async resolveTags(){const n={tagMap:new Map,tags:[],entries:[...a.entries.values()]};for(await t.callHook("entries:resolve",n);i.size;){const f=i.values().next().value;i.delete(f);const d=s.get(f);if(d){const p={tags:Vr(d.input,e.propResolvers||[]).map(g=>Object.assign(g,d.options)),entry:d};await t.callHook("entries:normalize",p),d._tags=p.tags.map((g,w)=>(g._w=Cr(a,g),g._p=(d._i<<10)+w,g._d=Te(g),g))}}let l=!1;n.entries.flatMap(f=>(f._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(ke).reduce((f,d)=>{const p=String(d._d||d._p);if(!f.has(p))return f.set(p,d);const g=f.get(p);if((d?.tagDuplicateStrategy||(Sr.has(d.tag)?"merge":null)||(d.key&&d.key===g.key?"merge":null))==="merge"){const y={...g.props};Object.entries(d.props).forEach(([m,_])=>y[m]=m==="style"?new Map([...g.props.style||new Map,..._]):m==="class"?new Set([...g.props.class||new Set,..._]):_),f.set(p,{...d,props:y})}else d._p>>10===g._p>>10&&d.tag==="meta"&&Ct(p)?(f.set(p,Object.assign([...Array.isArray(g)?g:[g],d],d)),l=!0):(d._w===g._w?d._p>g._p:d?._w<g?._w)&&f.set(p,d);return f},n.tagMap);const u=n.tagMap.get("title"),c=n.tagMap.get("titleTemplate");if(a._title=u?.textContent,c){const f=c?.textContent;if(a._titleTemplate=f,f){let d=typeof f=="function"?f(u?.textContent):f;typeof d=="string"&&!a.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?n.tagMap.delete("title"):n.tagMap.set("title",{...u,textContent:d}):(c.tag="title",c.textContent=d)}}n.tags=Array.from(n.tagMap.values()),l&&(n.tags=n.tags.flat().sort(ke)),await t.callHook("tags:beforeResolve",n),await t.callHook("tags:resolve",n),await t.callHook("tags:afterResolve",n);const h=[];for(const f of n.tags){const{innerHTML:d,tag:p,props:g}=f;if(br.has(p)&&!(Object.keys(g).length===0&&!f.innerHTML&&!f.textContent)&&!(p==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(p==="script"&&d){if(String(g.type).endsWith("json")){const w=typeof d=="string"?d:JSON.stringify(d);f.innerHTML=w.replace(/</g,"\\u003C")}else typeof d=="string"&&(f.innerHTML=d.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));f._d=Te(f)}h.push(f)}}return h},invalidate(){for(const n of s.values())i.add(n._i);a.dirty=!0,t.callHook("entries:updated",a)}};return(e?.plugins||[]).forEach(n=>Ye(a,n)),a.hooks.callHook("init",a),e.init?.forEach(n=>n&&a.push(n)),a}async function Ot(e,t={}){const o=t.document||e.resolvedOptions.document;if(!o||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{const i=new Map,a=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(g=>{const w=i.get(g._d)||0,y={tag:g,id:(w?`${g._d}:${w}`:g._d)||Xe(g),shouldRender:!0};return g._d&&Ct(g._d)&&i.set(g._d,w+1),y}))})});let n=e._dom;if(!n){n={title:o.title,elMap:new Map().set("htmlAttrs",o.documentElement).set("bodyAttrs",o.body)};for(const d of["body","head"]){const p=o[d]?.children;for(const g of p){const w=g.tagName.toLowerCase();if(!Be.has(w))continue;const y=jt({tag:w,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((m,_)=>(m[_]=g.getAttribute(_),m),{})||{}});if(y.key=g.getAttribute("data-hid")||void 0,y._d=Te(y)||Xe(y),n.elMap.has(y._d)){let m=1,_=y._d;for(;n.elMap.has(_);)_=`${y._d}:${m++}`;n.elMap.set(_,g)}else n.elMap.set(y._d,g)}}}n.pendingSideEffects={...n.sideEffects},n.sideEffects={};function l(d,p,g){const w=`${d}:${p}`;n.sideEffects[w]=g,delete n.pendingSideEffects[w]}function u({id:d,$el:p,tag:g}){const w=g.tag.endsWith("Attrs");n.elMap.set(d,p),w||(g.textContent&&g.textContent!==p.textContent&&(p.textContent=g.textContent),g.innerHTML&&g.innerHTML!==p.innerHTML&&(p.innerHTML=g.innerHTML),l(d,"el",()=>{p?.remove(),n.elMap.delete(d)}));for(const y in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,y))continue;const m=g.props[y];if(y.startsWith("on")&&typeof m=="function"){const b=p?.dataset;if(b&&b[`${y}fired`]){const T=y.slice(0,-5);m.call(p,new Event(T.substring(2)))}p.getAttribute(`data-${y}`)!==""&&((g.tag==="bodyAttrs"?o.defaultView:p).addEventListener(y.substring(2),m.bind(p)),p.setAttribute(`data-${y}`,""));continue}const _=`attr:${y}`;if(y==="class"){if(!m)continue;for(const b of m)w&&l(d,`${_}:${b}`,()=>p.classList.remove(b)),!p.classList.contains(b)&&p.classList.add(b)}else if(y==="style"){if(!m)continue;for(const[b,T]of m)l(d,`${_}:${b}`,()=>{p.style.removeProperty(b)}),p.style.setProperty(b,T)}else m!==!1&&m!==null&&(p.getAttribute(y)!==m&&p.setAttribute(y,m===!0?"":String(m)),w&&l(d,_,()=>p.removeAttribute(y)))}}const c=[],h={bodyClose:void 0,bodyOpen:void 0,head:void 0},f=await a;for(const d of f){const{tag:p,shouldRender:g,id:w}=d;if(g){if(p.tag==="title"){o.title=p.textContent,l("title","",()=>o.title=n.title);continue}d.$el=d.$el||n.elMap.get(w),d.$el?u(d):Be.has(p.tag)&&c.push(d)}}for(const d of c){const p=d.tag.tagPosition||"head";d.$el=o.createElement(d.tag.tag),u(d),h[p]=h[p]||o.createDocumentFragment(),h[p].appendChild(d.$el)}for(const d of f)await e.hooks.callHook("dom:renderTag",d,o,l);h.head&&o.head.appendChild(h.head),h.bodyOpen&&o.body.insertBefore(h.bodyOpen,o.body.firstChild),h.bodyClose&&o.body.appendChild(h.bodyClose);for(const d in n.pendingSideEffects)n.pendingSideEffects[d]();e._dom=n,await e.hooks.callHook("dom:rendered",{renders:f}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Gr(e={}){const t=e.domOptions?.render||Ot;e.document=e.document||(typeof window<"u"?document:void 0);const o=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Br({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[o?JSON.parse(o):!1,...e.init||[]]})}function Jr(e,t){let o=0;return()=>{const s=++o;t(()=>{o===s&&e()})}}const Kr=(e,t)=>Y(t)?S(t):t,Lt="usehead";function Qr(e){return{install(o){o.config.globalProperties.$unhead=e,o.config.globalProperties.$head=e,o.provide(Lt,e)}}.install}function Xr(){if(ao()){const e=co(Lt);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function $t(e,t={}){const o=t.head||Xr();return o.ssr?o.push(e||{},t):Yr(o,e,t)}function Yr(e,t,o={}){const s=de(!1);let r;return Ae(()=>{const a=s.value?{}:ne(t,Kr);r?r.patch(a):r=e.push(a,o)}),Me()&&(kt(()=>{r.dispose()}),lo(()=>{s.value=!0}),uo(()=>{s.value=!1})),r}function Zr(e={}){const t=Gr({domOptions:{render:Jr(()=>Ot(t),o=>setTimeout(o,0))},...e});return t.install=Qr(t),t}function es(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const ts=/(-?[0-9.]*[0-9]+[0-9.]*)/g,os=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ae(e,t,o){if(t===1)return e;if(o=o||100,typeof e=="number")return Math.ceil(e*t*o)/o;if(typeof e!="string")return e;const s=e.split(ts);if(s===null||!s.length)return e;const r=[];let i=s.shift(),a=os.test(i);for(;;){if(a){const n=parseFloat(i);isNaN(n)?r.push(i):r.push(Math.ceil(n*t*o)/o)}else r.push(i);if(i=s.shift(),i===void 0)return r.join("");a=!a}}const rs=Object.freeze({left:0,top:0,width:16,height:16}),ce=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),At=Object.freeze({...rs,...ce}),ss=Object.freeze({...At,body:"",hidden:!1}),is=Object.freeze({width:null,height:null}),Mt=Object.freeze({...is,...ce});function ns(e,t="defs"){let o="";const s=e.indexOf("<"+t);for(;s>=0;){const r=e.indexOf(">",s),i=e.indexOf("</"+t);if(r===-1||i===-1)break;const a=e.indexOf(">",i);if(a===-1)break;o+=e.slice(r+1,i).trim(),e=e.slice(0,s).trim()+e.slice(a+1)}return{defs:o,content:e}}function as(e,t){return e?"<defs>"+e+"</defs>"+t:t}function cs(e,t,o){const s=ns(e);return as(s.defs,t+s.content+o)}const He=e=>e==="unset"||e==="undefined"||e==="none";function ls(e,t){const o={...At,...e},s={...Mt,...t},r={left:o.left,top:o.top,width:o.width,height:o.height};let i=o.body;[o,s].forEach(g=>{const w=[],y=g.hFlip,m=g.vFlip;let _=g.rotate;y?m?_+=2:(w.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),w.push("scale(-1 1)"),r.top=r.left=0):m&&(w.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),w.push("scale(1 -1)"),r.top=r.left=0);let b;switch(_<0&&(_-=Math.floor(_/4)*4),_=_%4,_){case 1:b=r.height/2+r.top,w.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:w.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:b=r.width/2+r.left,w.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}_%2===1&&(r.left!==r.top&&(b=r.left,r.left=r.top,r.top=b),r.width!==r.height&&(b=r.width,r.width=r.height,r.height=b)),w.length&&(i=cs(i,'<g transform="'+w.join(" ")+'">',"</g>"))});const a=s.width,n=s.height,l=r.width,u=r.height;let c,h;a===null?(h=n===null?"1em":n==="auto"?u:n,c=ae(h,l/u)):(c=a==="auto"?l:a,h=n===null?ae(c,u/l):n==="auto"?u:n);const f={},d=(g,w)=>{He(w)||(f[g]=w.toString())};d("width",c),d("height",h);const p=[r.left,r.top,l,u];return f.viewBox=p.join(" "),{attributes:f,viewBox:p,body:i}}const ds=/\swidth\s*=\s*["']([\w.]+)["']/,us=/\sheight\s*=\s*["']([\w.]+)["']/,fe=/<svg\s+/;function ps(e,t,o){const s=e.slice(0,e.indexOf(">")),r=(i,a)=>{const n=a.exec(s),l=n!=null,u=t[i];return!u&&!He(u)&&(typeof o=="number"?o>0&&(t[i]=ae(n?.[1]??"1em",o)):n&&(t[i]=n[1])),l};return[r("width",ds),r("height",us)]}async function xt(e,t,o,s,r,i){const{scale:a,addXmlNs:n=!1}=s??{},{additionalProps:l={},iconCustomizer:u}=s?.customizations??{},c=await r?.()??{};await u?.(t,o,c),Object.keys(l).forEach(g=>{const w=l[g];w!=null&&(c[g]=w)}),i?.(c);const[h,f]=ps(e,c,a);n&&(!e.includes("xmlns=")&&!c.xmlns&&(c.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!c["xmlns:xlink"]&&(c["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const d=Object.keys(c).map(g=>g==="width"&&h||g==="height"&&f?null:`${g}="${c[g]}"`).filter(g=>g!=null);if(d.length&&(e=e.replace(fe,`<svg ${d.join(" ")} `)),s){const{defaultStyle:g,defaultClass:w}=s;w&&!e.includes("class=")&&(e=e.replace(fe,`<svg class="${w}" `)),g&&!e.includes("style=")&&(e=e.replace(fe,`<svg style="${g}" `))}const p=s?.usedProps;return p&&(Object.keys(l).forEach(g=>{const w=c[g];w!=null&&(p[g]=w)}),typeof c.width<"u"&&c.width!==null&&(p.width=c.width),typeof c.height<"u"&&c.height!==null&&(p.height=c.height)),e}async function Ze(e,t,o,s){let r;try{if(typeof e=="function")r=await e(o);else{const i=e[o];r=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${o}" in "${t}":`,i);return}if(r){const i=r.indexOf("<svg");i>0&&(r=r.slice(i));const{transform:a}=s?.customizations??{};return r=typeof a=="function"?await a(r,t,o):r,r.startsWith("<svg")?await xt(s?.customizations?.trimCustomSvg===!0?es(r):r,t,o,s,void 0):(console.warn(`Custom icon "${o}" in "${t}" is not a valid SVG`),r)}}function gs(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(o.rotate=s),o}function et(e,t){const o=gs(e,t);for(const s in ss)s in ce?s in e&&!(s in o)&&(o[s]=ce[s]):s in t?o[s]=t[s]:s in e&&(o[s]=e[s]);return o}function fs(e,t){const o=e.icons,s=e.aliases||Object.create(null),r=Object.create(null);function i(a){if(o[a])return r[a]=[];if(!(a in r)){r[a]=null;const n=s[a]&&s[a].parent,l=n&&i(n);l&&(r[a]=[n].concat(l))}return r[a]}return(t||Object.keys(o).concat(Object.keys(s))).forEach(i),r}function tt(e,t,o){const s=e.icons,r=e.aliases||Object.create(null);let i={};function a(n){i=et(s[n]||r[n],i)}return a(t),o.forEach(a),et(e,i)}function hs(e,t){if(e.icons[t])return tt(e,t,[]);const o=fs(e,[t])[t];return o?tt(e,t,o):null}async function Rt(e,t,o,s){let r;const{customize:i}=s?.customizations??{};for(const a of o)if(r=hs(e,a),r){let n={...Mt};typeof i=="function"&&(r=Object.assign({},r),n=i(n,r,`${t}:${a}`)??n);const{attributes:{width:l,height:u,...c},body:h}=ls(r,n),f=s?.scale;return await xt(`<svg >${h}</svg>`,t,a,s,()=>({...c}),d=>{const p=(g,w)=>{const y=d[g];let m;if(!He(y)){if(y)return;typeof f=="number"?f&&(m=ae(w??"1em",f)):m=w}m?d[g]=m:delete d[g]};p("width",l),p("height",u)})}}const Ht=async(e,t,o)=>{const s=o?.customCollections?.[e];if(s)if(typeof s=="function"){let r;try{r=await s(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(r){if(typeof r=="string")return await Ze(()=>r,e,t,o);if("icons"in r){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Rt(r,e,i,o)}}}else return await Ze(s,e,t,o)};function ws(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ot(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),ws(t)}var rt={};function ms(){const e=typeof process<"u"&&process.stdout;return{isNode:e,isVSCode:e&&!!rt.VSCODE_CWD,isESLint:e&&!!rt.ESLINT}}var zt=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","dinkie-icons","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fa7-brands","fa7-regular","fa7-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","roentgen","si-glyph","si","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","temaki","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"];const ys=3;function vs(e){return Oo((t={})=>{const{scale:o=1,mode:s="auto",prefix:r="i-",warn:i=!1,iconifyCollectionsNames:a,collections:n,extraProperties:l={},customizations:u={},autoInstall:c=!1,collectionsNodeResolvePath:h,layer:f="icons",unit:d,processor:p}=t,g=ms(),w={addXmlNs:!0,scale:o,customCollections:n,autoInstall:c,cwd:h,warn:void 0,customizations:{...u,additionalProps:{...l},trimCustomSvg:!0,async iconCustomizer(m,_,b){await u.iconCustomizer?.(m,_,b),d&&(b.width||(b.width=`${o}${d}`),b.height||(b.height=`${o}${d}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:ot,parseIconWithLoader:st},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async m=>{let[_,b,T=s]=m;y=y||await e(t);const A={},O=await st(b,y,{...w,usedProps:A},a);if(!O){i&&!g.isESLint&&Lo(`failed to load icon "${_}"`);return}let k;const v=`url("data:image/svg+xml;utf8,${ot(O.svg)}")`;return T==="auto"&&(T=O.svg.includes("currentColor")?"mask":"bg"),T==="mask"?k={"--un-icon":v,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...A}:k={background:`${v} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...A},p?.(k,{...O,icon:O.name,mode:T}),k},{layer:f,prefix:r}]]}})}function Nt(e,t,o=new Map){function s(r){if(zt.includes(r))return o.has(r)||o.set(r,e(`${t}@iconify-json/${r}/icons.json`)),o.get(r)}return async(r,i,a)=>{let n=await Ht(r,i,a);if(n)return n;const l=await s(r);return l&&(n=await Rt(l,r,[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")],a)),n}}async function st(e,t,o={},s=[]){let r="",i="",a;const n=new Set([...zt,...s,...Object.keys(o.customCollections||{})]);if(e.includes(":")){if([r,i]=e.split(":"),!n.has(r))return;a=await t(r,i,o)}else{const l=e.split(/-/g);for(let u=ys;u>=1&&(r=l.slice(0,u).join("-"),!(!!n.has(r)&&(i=l.slice(u).join("-"),a=await t(r,i,o),a)));u--);}if(a)return{collection:r,name:i,svg:a}}async function bs(e){const{$fetch:t}=await $o(async()=>{const{$fetch:o}=await Promise.resolve().then(()=>Ei);return{$fetch:o}},void 0,import.meta.url);return Nt(t,e)}const _s=vs(async e=>{const t=e?.customFetch,o=e?.cdn;return t&&o?Nt(t,o):o?await bs(o):Ht}),ks=({attributifyOptions:e,iconsOptions:t={cdn:"https://cdn.jsdelivr.net/npm/"},tagifyOptions:o,typographyOptions:s,webFontsOptions:r,wind4Options:i={preflights:{reset:!0}}}={})=>[Ao(e),_s(t),Mo(o),xo(s),Ro(r),Ho(i)];var z={},X={},it;function Ss(){return it||(it=1,(function(e){var t=X&&X.__values||function(s){var r=typeof Symbol=="function"&&Symbol.iterator,i=r&&s[r],a=0;if(i)return i.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&a>=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.getWordsByCategory=e.wordList=void 0,e.wordList={noun:[{word:"accountant",categories:["profession"]},{word:"ability",categories:["thing"]},{word:"accident",categories:["thing"]},{word:"account",categories:["thing"]},{word:"action",categories:["thing"]},{word:"activity",categories:["thing"]},{word:"actor",categories:["profession"]},{word:"ad",categories:["media"]},{word:"addition",categories:["thing"]},{word:"address",categories:["thing"]},{word:"adult",categories:["people"]},{word:"advantage",categories:["thing"]},{word:"advertisement",categories:["media"]},{word:"afternoon",categories:["time"]},{word:"agency",categories:["thing"]},{word:"agent",categories:["people"]},{word:"air",categories:["thing"]},{word:"airline",categories:["transportation"]},{word:"airplane",categories:["transportation"]},{word:"airport",categories:["transportation","place"]},{word:"alarm",categories:["thing"]},{word:"alligator",categories:["animals"]},{word:"ambulance",categories:["health"]},{word:"analyst",categories:["profession"]},{word:"angle",categories:["thing"]},{word:"animal",categories:["animals"]},{word:"answer",categories:["thing"]},{word:"apartment",categories:["place"]},{word:"apple",categories:["food"]},{word:"application",categories:["thing"]},{word:"appointment",categories:["thing"]},{word:"architect",categories:["profession"]},{word:"argument",categories:["thing"]},{word:"area",categories:["thing"]},{word:"arm",categories:["thing"]},{word:"army",categories:["thing"]},{word:"art",categories:["thing"]},{word:"article",categories:["thing"]},{word:"artist",categories:["profession"]},{word:"australia",categories:["place"]},{word:"author",categories:["profession"]},{word:"autumn",categories:["time"]},{word:"baby",categories:["people","family"]},{word:"baker",categories:["profession"]},{word:"balloon",categories:["thing"]},{word:"banana",categories:["food"]},{word:"barista",categories:["profession"]},{word:"battery",categories:["thing"]},{word:"beach",categories:["place"]},{word:"bear",categories:["animals"]},{word:"beard",categories:["thing"]},{word:"bed",categories:["thing"]},{word:"belgium",categories:["place"]},{word:"bird",categories:["animals"]},{word:"bit",categories:["thing","technology"]},{word:"book",categories:["thing","education"]},{word:"boots",categories:["thing"]},{word:"boy",categories:["people"]},{word:"branch",categories:["thing"]},{word:"breakfast",categories:["thing"]},{word:"brother",categories:["family"]},{word:"businessperson",categories:["people","business"]},{word:"butcher",categories:["profession"]},{word:"byte",categories:["thing","technology"]},{word:"camera",categories:["thing"]},{word:"candle",categories:["thing"]},{word:"car",categories:["transportation"]},{word:"caravan",categories:["transportation"]},{word:"carpenter",categories:["profession"]},{word:"carpet",categories:["thing"]},{word:"cartoon",categories:["media"]},{word:"cat",categories:["animals"]},{word:"chef",categories:["profession"]},{word:"child",categories:["people","family"]},{word:"china",categories:["place"]},{word:"church",categories:["religion"]},{word:"city",categories:["place"]},{word:"coat",categories:["thing"]},{word:"coffeeshop",categories:["place"]},{word:"computer",categories:["thing","technology"]},{word:"continent",categories:["place"]},{word:"controller",categories:["thing","technology"]},{word:"country",categories:["place"]},{word:"cpu",categories:["thing","technology"]},{word:"crayon",categories:["thing"]},{word:"cricket",categories:["animals"]},{word:"crowd",categories:["people"]},{word:"daughter",categories:["family"]},{word:"dawn",categories:["time"]},{word:"daybreak",categories:["time"]},{word:"death",categories:["thing"]},{word:"denmark",categories:["place"]},{word:"dentist",categories:["profession"]},{word:"diamond",categories:["thing"]},{word:"dinner",categories:["food"]},{word:"disease",categories:["thing"]},{word:"doctor",categories:["profession"]},{word:"dog",categories:["animals"]},{word:"dream",categories:["thing"]},{word:"dress",categories:["thing"]},{word:"dusk",categories:["time"]},{word:"easter",categories:["religion"]},{word:"egg",categories:["food"]},{word:"eggplant",categories:["food"]},{word:"egypt",categories:["place"]},{word:"electrician",categories:["profession"]},{word:"elephant",categories:["animals"]},{word:"energy",categories:["thing"]},{word:"engine",categories:["transportation"]},{word:"engineer",categories:["profession"]},{word:"england",categories:["place"]},{word:"eve",categories:["time"]},{word:"evening",categories:["time"]},{word:"eventide",categories:["time"]},{word:"exabyte",categories:["thing","technology"]},{word:"eye",categories:["thing"]},{word:"fall",categories:["time"]},{word:"family",categories:["family"]},{word:"farmer",categories:["profession"]},{word:"father",categories:["people","family"]},{word:"finland",categories:["place"]},{word:"fireman",categories:["profession"]},{word:"fish",categories:["animals"]},{word:"flag",categories:["thing"]},{word:"florist",categories:["profession"]},{word:"flower",categories:["thing"]},{word:"football",categories:["sports"]},{word:"forest",categories:["place"]},{word:"fountain",categories:["thing"]},{word:"france",categories:["place"]},{word:"furniture",categories:["thing"]},{word:"garage",categories:["place"]},{word:"garden",categories:["food"]},{word:"gas",categories:["transportation"]},{word:"ghost",categories:["thing"]},{word:"gigabyte",categories:["thing","technology"]},{word:"girl",categories:["people"]},{word:"glass",categories:["thing"]},{word:"gold",categories:["thing"]},{word:"gpu",categories:["thing","technology"]},{word:"grandmother",categories:["people","family"]},{word:"grass",categories:["thing"]},{word:"greece",categories:["place"]},{word:"guitar",categories:["thing"]},{word:"hair",categories:["thing"]},{word:"hairdresser",categories:["profession"]},{word:"hamburger",categories:["food"]},{word:"helicopter",categories:["transportation"]},{word:"helmet",categories:["thing"]},{word:"holiday",categories:["thing"]},{word:"honey",categories:["food"]},{word:"horse",categories:["animals"]},{word:"hospital",categories:["place"]},{word:"house",categories:["place"]},{word:"hydrogen",categories:["science"]},{word:"ice",categories:["science"]},{word:"insect",categories:["animals"]},{word:"insurance",categories:["thing"]},{word:"intern",categories:["profession"]},{word:"iron",categories:["science"]},{word:"island",categories:["place"]},{word:"jackal",categories:["animals"]},{word:"jelly",categories:["food"]},{word:"jewellery",categories:["thing"]},{word:"jordan",categories:["place"]},{word:"journalist",categories:["profession"]},{word:"joystick",categories:["thing","technology"]},{word:"judge",categories:["profession"]},{word:"juice",categories:["food"]},{word:"kangaroo",categories:["animals"]},{word:"keyboard",categories:["thing","technology"]},{word:"kilobyte",categories:["thing","technology"]},{word:"king",categories:["people"]},{word:"kitchen",categories:["place"]},{word:"kite",categories:["thing"]},{word:"knife",categories:["thing"]},{word:"lamp",categories:["thing"]},{word:"laptop",categories:["thing","technology"]},{word:"lawyer",categories:["profession"]},{word:"leather",categories:["thing"]},{word:"librarian",categories:["profession"]},{word:"library",categories:["place"]},{word:"lifeguard",categories:["profession"]},{word:"lighter",categories:["thing"]},{word:"lion",categories:["animals"]},{word:"lizard",categories:["animals"]},{word:"lock",categories:["thing"]},{word:"london",categories:["place"]},{word:"lunch",categories:["food"]},{word:"machine",categories:["science"]},{word:"magazine",categories:["media"]},{word:"magician",categories:["people"]},{word:"man",categories:["people"]},{word:"manchester",categories:["place"]},{word:"market",categories:["place"]},{word:"match",categories:["thing"]},{word:"mechanic",categories:["profession"]},{word:"megabyte",categories:["thing","technology"]},{word:"memory",categories:["thing","technology"]},{word:"microphone",categories:["thing"]},{word:"midnight",categories:["time"]},{word:"minister",categories:["people","religion"]},{word:"monitor",categories:["thing","technology"]},{word:"monkey",categories:["animals"]},{word:"morn",categories:["time"]},{word:"morning",categories:["time"]},{word:"mother",categories:["people","family"]},{word:"motherboard",categories:["thing","technology"]},{word:"motorcycle",categories:["transportation"]},{word:"mouse",categories:["thing","technology","animals"]},{word:"musician",categories:["profession"]},{word:"nail",categories:["thing"]},{word:"napkin",categories:["thing"]},{word:"needle",categories:["thing"]},{word:"nest",categories:["thing"]},{word:"nigeria",categories:["place"]},{word:"night",categories:["time"]},{word:"nightfall",categories:["time"]},{word:"noon",categories:["time"]},{word:"notebook",categories:["thing"]},{word:"nurse",categories:["profession"]},{word:"ocean",categories:["place"]},{word:"oil",categories:["thing"]},{word:"optician",categories:["profession"]},{word:"orange",categories:["food"]},{word:"oxygen",categories:["science"]},{word:"oyster",categories:["animals"]},{word:"pager",categories:["thing","technology"]},{word:"painter",categories:["profession"]},{word:"painting",categories:["media"]},{word:"park",categories:["place"]},{word:"parrot",categories:["animals"]},{word:"pencil",categories:["thing","education"]},{word:"petabyte",categories:["thing","technology"]},{word:"pharmacist",categories:["profession"]},{word:"photographer",categories:["profession"]},{word:"piano",categories:["thing"]},{word:"pillow",categories:["thing"]},{word:"pilot",categories:["profession"]},{word:"pizza",categories:["food"]},{word:"planet",categories:["science"]},{word:"plastic",categories:["thing"]},{word:"plumber",categories:["profession"]},{word:"policeman",categories:["profession"]},{word:"portugal",categories:["place"]},{word:"postman",categories:["profession"]},{word:"potato",categories:["food"]},{word:"printer",categories:["thing","technology"]},{word:"processor",categories:["thing","technology"]},{word:"psychiatrist",categories:["profession"]},{word:"queen",categories:["people"]},{word:"quill",categories:["thing"]},{word:"rain",categories:["thing"]},{word:"rainbow",categories:["science"]},{word:"raincoat",categories:["thing"]},{word:"ram",categories:["thing","technology"]},{word:"receptionist",categories:["profession"]},{word:"refrigerator",categories:["food"]},{word:"restaurant",categories:["place"]},{word:"river",categories:["thing"]},{word:"rocket",categories:["science"]},{word:"room",categories:["place"]},{word:"rose",categories:["thing"]},{word:"russia",categories:["place"]},{word:"salesclerk",categories:["people","business"]},{word:"salesmen",categories:["profession"]},{word:"sandwich",categories:["food"]},{word:"school",categories:["education"]},{word:"scientist",categories:["profession"]},{word:"scooter",categories:["transportation"]},{word:"secretary",categories:["profession"]},{word:"shampoo",categories:["thing"]},{word:"shoe",categories:["thing"]},{word:"smartphone",categories:["thing","technology"]},{word:"soccer",categories:["sports"]},{word:"solstice",categories:["time"]},{word:"spoon",categories:["thing"]},{word:"spring",categories:["time"]},{word:"state",categories:["place"]},{word:"stone",categories:["thing"]},{word:"student",categories:["people","education"]},{word:"sugar",categories:["food"]},{word:"summer",categories:["time"]},{word:"sundown",categories:["time"]},{word:"sunset",categories:["time"]},{word:"sweden",categories:["place"]},{word:"table",categories:["thing"]},{word:"tailor",categories:["profession"]},{word:"teacher",categories:["people","education","profession"]},{word:"teenager",categories:["people","family"]},{word:"telephone",categories:["thing"]},{word:"television",categories:["media"]},{word:"tent",categories:["thing"]},{word:"terabyte",categories:["thing","technology"]},{word:"thailand",categories:["place"]},{word:"tiger",categories:["animals"]},{word:"toddler",categories:["people","family"]},{word:"tomato",categories:["food"]},{word:"toothbrush",categories:["thing"]},{word:"traffic",categories:["thing"]},{word:"train",categories:["transportation"]},{word:"translator",categories:["profession"]},{word:"truck",categories:["thing","transportation"]},{word:"twilight",categories:["time"]},{word:"uganda",categories:["place"]},{word:"umbrella",categories:["thing"]},{word:"van",categories:["transportation"]},{word:"vase",categories:["thing"]},{word:"vegetable",categories:["food"]},{word:"vr",categories:["thing","technology"]},{word:"vulture",categories:["animals"]},{word:"waiter",categories:["profession"]},{word:"waitress",categories:["profession"]},{word:"wall",categories:["thing"]},{word:"whale",categories:["animals"]},{word:"window",categories:["thing"]},{word:"winter",categories:["time"]},{word:"wire",categories:["thing"]},{word:"wolf",categories:["animals"]},{word:"woman",categories:["people"]},{word:"xylophone",categories:["thing"]},{word:"yacht",categories:["transportation"]},{word:"yak",categories:["animals"]},{word:"yottabyte",categories:["thing","technology"]},{word:"zebra",categories:["animals"]},{word:"zettabyte",categories:["thing","technology"]},{word:"zoo",categories:["animals"]}],adjective:[{word:"abandoned",categories:["condition"]},{word:"abiding",categories:["personality"]},{word:"able",categories:["condition"]},{word:"abrasive",categories:["condition","personality"]},{word:"abnormal",categories:["condition"]},{word:"absurd",categories:["condition"]},{word:"abundant",categories:["quantity"]},{word:"acceptable",categories:["condition"]},{word:"acidic",categories:["taste"]},{word:"acoustic",categories:["sounds"]},{word:"acrid",categories:["condition"]},{word:"adamant",categories:["personality"]},{word:"adorable",categories:["personality"]},{word:"adventurous",categories:["personality"]},{word:"aggressive",categories:["personality"]},{word:"agitated",categories:["personality"]},{word:"agreeable",categories:["personality"]},{word:"alert",categories:["condition"]},{word:"alive",categories:["condition"]},{word:"aloof",categories:["personality"]},{word:"ambitious",categories:["personality"]},{word:"ancient",categories:["time"]},{word:"angry",categories:["personality"]},{word:"annoyed",categories:["personality"]},{word:"antsy",categories:["personality"]},{word:"anxious",categories:["personality"]},{word:"appalling",categories:["personality"]},{word:"appetizing",categories:["taste"]},{word:"apprehensive",categories:["personality"]},{word:"arrogant",categories:["personality"]},{word:"ashamed",categories:["personality"]},{word:"astonishing",categories:["personality"]},{word:"attractive",categories:["appearance"]},{word:"average",categories:["appearance"]},{word:"bad",categories:["condition"]},{word:"bald",categories:["appearance"]},{word:"bashful",categories:["personality"]},{word:"beautiful",categories:["appearance"]},{word:"beefy",categories:["appearance"]},{word:"belligerent",categories:["personality"]},{word:"bent",categories:["condition"]},{word:"best",categories:["condition"]},{word:"better",categories:["condition"]},{word:"bewildered",categories:["personality"]},{word:"big",categories:["size"]},{word:"billions",categories:["quantity"]},{word:"billowy",categories:["appearance"]},{word:"bitter",categories:["taste"]},{word:"black",categories:["color"]},{word:"bland",categories:["taste"]},{word:"blue",categories:["color"]},{word:"blushing",categories:["appearance"]},{word:"bored",categories:["personality"]},{word:"boring",categories:["personality"]},{word:"boundless",categories:["personality"]},{word:"brainy",categories:["personality"]},{word:"brash",categories:["personality"]},{word:"brave",categories:["personality"]},{word:"breezy",categories:["touch"]},{word:"brief",categories:["time"]},{word:"bright",categories:["appearance"]},{word:"broad",categories:["shapes"]},{word:"broken",categories:["condition"]},{word:"brown",categories:["color"]},{word:"bulky",categories:["appearance"]},{word:"bumpy",categories:["touch"]},{word:"burly",categories:["appearance"]},{word:"busy",categories:["personality"]},{word:"cagey",categories:["personality"]},{word:"calm",categories:["personality"]},{word:"callous",categories:["personality"]},{word:"careful",categories:["condition"]},{word:"chilly",categories:["touch"]},{word:"chubby",categories:["appearance"]},{word:"clean",categories:["appearance"]},{word:"clever",categories:["condition"]},{word:"clumsy",categories:["personality"]},{word:"cold",categories:["touch"]},{word:"colossal",categories:["size"]},{word:"cool",categories:["touch"]},{word:"crashing",categories:["sounds"]},{word:"creamy",categories:["taste"]},{word:"crooked",categories:["shapes"]},{word:"cuddly",categories:["touch"]},{word:"curved",categories:["shapes"]},{word:"damaged",categories:["touch"]},{word:"damp",categories:["touch"]},{word:"dazzling",categories:["appearance"]},{word:"dead",categories:["condition"]},{word:"deafening",categories:["sounds"]},{word:"deep",categories:["shapes"]},{word:"defeated",categories:["personality"]},{word:"delicious",categories:["taste"]},{word:"delightful",categories:["personality"]},{word:"dirty",categories:["touch"]},{word:"disgusting",categories:["taste"]},{word:"drab",categories:["appearance"]},{word:"dry",categories:["touch"]},{word:"eager",categories:["personality"]},{word:"early",categories:["time"]},{word:"easy",categories:["condition"]},{word:"echoing",categories:["sounds"]},{word:"elegant",categories:["appearance"]},{word:"embarrassed",categories:["personality"]},{word:"enough",categories:["quantity"]},{word:"faint",categories:["sounds"]},{word:"faithful",categories:["personality"]},{word:"famous",categories:["condition"]},{word:"fancy",categories:["appearance"]},{word:"fast",categories:["time"]},{word:"fat",categories:["size"]},{word:"few",categories:["quantity"]},{word:"fierce",categories:["personality"]},{word:"fit",categories:["appearance"]},{word:"flabby",categories:["appearance"]},{word:"flaky",categories:["touch"]},{word:"flat",categories:["shapes"]},{word:"fluffy",categories:["touch"]},{word:"freezing",categories:["touch"]},{word:"fresh",categories:["taste"]},{word:"full",categories:["quantity"]},{word:"future",categories:["time"]},{word:"gentle",categories:["personality"]},{word:"gifted",categories:["condition"]},{word:"gigantic",categories:["size"]},{word:"glamorous",categories:["appearance"]},{word:"gorgeous",categories:["appearance"]},{word:"gray",categories:["color"]},{word:"greasy",categories:["touch","taste"]},{word:"great",categories:["size"]},{word:"green",categories:["color"]},{word:"grumpy",categories:["personality"]},{word:"hallowed",categories:["condition"]},{word:"handsome",categories:["appearance"]},{word:"happy",categories:["personality"]},{word:"harsh",categories:["sounds"]},{word:"helpful",categories:["condition"]},{word:"helpless",categories:["personality"]},{word:"high",categories:["shapes"]},{word:"hissing",categories:["sounds"]},{word:"hollow",categories:["shapes"]},{word:"hot",categories:["touch","taste"]},{word:"howling",categories:["sounds"]},{word:"huge",categories:["size"]},{word:"hundreds",categories:["quantity"]},{word:"icy",categories:["touch"]},{word:"immense",categories:["size"]},{word:"important",categories:["condition"]},{word:"incalculable",categories:["quantity"]},{word:"inexpensive",categories:["condition"]},{word:"itchy",categories:["personality"]},{word:"jealous",categories:["personality"]},{word:"jolly",categories:["personality"]},{word:"juicy",categories:["taste"]},{word:"kind",categories:["personality"]},{word:"large",categories:["size"]},{word:"late",categories:["time"]},{word:"lazy",categories:["personality"]},{word:"lemon",categories:["color"]},{word:"limited",categories:["quantity"]},{word:"little",categories:["size","quantity"]},{word:"lively",categories:["personality"]},{word:"long",categories:["time","appearance"]},{word:"loose",categories:["touch"]},{word:"loud",categories:["sounds"]},{word:"low",categories:["shapes"]},{word:"magnificent",categories:["appearance"]},{word:"mammoth",categories:["size"]},{word:"mango",categories:["color"]},{word:"many",categories:["quantity"]},{word:"massive",categories:["size"]},{word:"mealy",categories:["condition"]},{word:"melodic",categories:["sounds"]},{word:"melted",categories:["touch"]},{word:"microscopic",categories:["size"]},{word:"millions",categories:["quantity"]},{word:"miniature",categories:["size"]},{word:"modern",categories:["time"]},{word:"moldy",categories:["taste"]},{word:"most",categories:["quantity"]},{word:"muscular",categories:["appearance"]},{word:"mushy",categories:["condition"]},{word:"mysterious",categories:["personality"]},{word:"narrow",categories:["shapes"]},{word:"nervous",categories:["personality"]},{word:"nice",categories:["personality"]},{word:"noisy",categories:["sounds"]},{word:"numerous",categories:["quantity"]},{word:"nutritious",categories:["taste"]},{word:"nutty",categories:["taste"]},{word:"obedient",categories:["personality"]},{word:"obnoxious",categories:["personality"]},{word:"odd",categories:["condition"]},{word:"old",categories:["time"]},{word:"orange",categories:["color"]},{word:"panicky",categories:["personality"]},{word:"petite",categories:["size"]},{word:"pitiful",categories:["personality"]},{word:"plain",categories:["appearance"]},{word:"plump",categories:["appearance"]},{word:"polite",categories:["personality"]},{word:"poor",categories:["condition"]},{word:"powerful",categories:["condition"]},{word:"prehistoric",categories:["time"]},{word:"prickly",categories:["touch"]},{word:"proud",categories:["personality"]},{word:"puny",categories:["size"]},{word:"purple",categories:["color"]},{word:"purring",categories:["sounds"]},{word:"putrid",categories:["taste"]},{word:"quaint",categories:["appearance"]},{word:"quick",categories:["time"]},{word:"quiet",categories:["sounds"]},{word:"rancid",categories:["taste"]},{word:"rapid",categories:["time"]},{word:"rapping",categories:["sounds"]},{word:"raspy",categories:["sounds"]},{word:"red",categories:["color"]},{word:"refined",categories:["shapes"]},{word:"repulsive",categories:["personality"]},{word:"rhythmic",categories:["sounds"]},{word:"rich",categories:["condition"]},{word:"ripe",categories:["taste"]},{word:"rotten",categories:["taste"]},{word:"rough",categories:["touch"]},{word:"round",categories:["shapes"]},{word:"salmon",categories:["color"]},{word:"salty",categories:["taste"]},{word:"savory",categories:["taste"]},{word:"scarce",categories:["quantity"]},{word:"scary",categories:["personality"]},{word:"scrawny",categories:["size"]},{word:"screeching",categories:["sounds"]},{word:"scruffy",categories:["appearance"]},{word:"shaggy",categories:["touch"]},{word:"shallow",categories:["shapes"]},{word:"shapely",categories:["appearance"]},{word:"sharp",categories:["touch"]},{word:"short",categories:["size","appearance","time"]},{word:"shrilling",categories:["sounds"]},{word:"shy",categories:["condition"]},{word:"silly",categories:["personality"]},{word:"skinny",categories:["appearance","shapes"]},{word:"slimy",categories:["touch"]},{word:"slow",categories:["time"]},{word:"small",categories:["size"]},{word:"some",categories:["quantity"]},{word:"sour",categories:["taste"]},{word:"sparse",categories:["quantity"]},{word:"spicy",categories:["taste"]},{word:"spoiled",categories:["taste"]},{word:"square",categories:["shapes"]},{word:"squeaking",categories:["sounds"]},{word:"stale",categories:["taste"]},{word:"steep",categories:["shapes"]},{word:"sticky",categories:["touch"]},{word:"stocky",categories:["appearance"]},{word:"straight",categories:["shapes"]},{word:"strong",categories:["touch"]},{word:"substantial",categories:["quantity"]},{word:"sweet",categories:["taste"]},{word:"swift",categories:["time"]},{word:"tall",categories:["size"]},{word:"tangy",categories:["taste"]},{word:"tart",categories:["taste"]},{word:"tasteless",categories:["taste"]},{word:"tasty",categories:["taste"]},{word:"teeny",categories:["size"]},{word:"tender",categories:["condition"]},{word:"thankful",categories:["personality"]},{word:"thoughtless",categories:["personality"]},{word:"thousands",categories:["quantity"]},{word:"thundering",categories:["sounds"]},{word:"tight",categories:["touch"]},{word:"tinkling",categories:["sounds"]},{word:"tiny",categories:["size"]},{word:"ugly",categories:["appearance"]},{word:"uneven",categories:["touch"]},{word:"unimportant",categories:["condition"]},{word:"uninterested",categories:["condition"]},{word:"unkempt",categories:["appearance"]},{word:"unsightly",categories:["appearance"]},{word:"uptight",categories:["personality"]},{word:"vast",categories:["condition"]},{word:"victorious",categories:["personality"]},{word:"wailing",categories:["sounds"]},{word:"warm",categories:["touch"]},{word:"weak",categories:["touch"]},{word:"wet",categories:["touch"]},{word:"whining",categories:["sounds"]},{word:"whispering",categories:["sounds"]},{word:"white",categories:["color"]},{word:"wide",categories:["shapes"]},{word:"witty",categories:["personality"]},{word:"wonderful",categories:["personality"]},{word:"wooden",categories:["touch"]},{word:"worried",categories:["personality"]},{word:"wrong",categories:["condition"]},{word:"yellow",categories:["color"]},{word:"young",categories:["time"]},{word:"yummy",categories:["taste"]},{word:"zealous",categories:["personality"]}]};function o(s,r){var i,a;r===void 0&&(r=[]);var n=new Set(r),l=[];try{for(var u=t(e.wordList[s]),c=u.next();!c.done;c=u.next()){var h=c.value;(r.length===0||h.categories.some(function(f){return n.has(f)}))&&l.push(h.word)}}catch(f){i={error:f}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return l}e.getWordsByCategory=o})(X)),X}var nt;function Ts(){if(nt)return z;nt=1;var e=z&&z.__assign||function(){return e=Object.assign||function(n){for(var l,u=1,c=arguments.length;u<c;u++){l=arguments[u];for(var h in l)Object.prototype.hasOwnProperty.call(l,h)&&(n[h]=l[h])}return n},e.apply(this,arguments)};Object.defineProperty(z,"__esModule",{value:!0}),z.totalUniqueSlugs=z.generateSlug=void 0;var t=Ss(),o=3;function s(n,l){for(var u=n||o,c={partsOfSpeech:r(u),categories:{},format:"kebab"},h=e(e({},c),l),f=[],d=0;d<u;d++){var p=h.partsOfSpeech[d],g=t.getWordsByCategory(h.partsOfSpeech[d],h.categories[p]),w=g[Math.floor(Math.random()*g.length)];f.push(w)}return i(f,h.format)}z.generateSlug=s;function r(n){for(var l=[],u=0;u<n-1;u++)l.push("adjective");return l.push("noun"),l}function i(n,l){return l==="kebab"?n.join("-").toLowerCase():l==="camel"?n.map(function(u,c){return c===0?u.toLowerCase():u[0].toUpperCase()+u.slice(1).toLowerCase()}).join(""):l==="lower"?n.join(" ").toLowerCase():l==="sentence"?n.map(function(u,c){return c===0?u[0].toUpperCase()+u.slice(1).toLowerCase():u}).join(" "):n.map(function(u){return u[0].toUpperCase()+u.slice(1).toLowerCase()}).join(" ")}function a(n,l){for(var u,c,h=t.getWordsByCategory("adjective",(u=l?.categories)===null||u===void 0?void 0:u.adjective).length,f=t.getWordsByCategory("noun",(c=l?.categories)===null||c===void 0?void 0:c.noun).length,d={adjective:h,noun:f},p=n||o,g=l?.partsOfSpeech||r(p),w=1,y=0;y<p;y++)w*=d[g[y]];return w}return z.totalUniqueSlugs=a,z}var Pe=Ts();const at=!0,ct=(e,t)=>[...e].reverse().map(o=>({node:o,parent:t,siblings:e})),Ps=(e,{branch:t="branch",children:o="children",id:s="id",index:r="index",next:i="next",parent:a="parent",prev:n="prev",siblings:l="siblings"}={})=>{const u={[t]:{get(){const p=[this];for(;p[0]?.[a];)p.unshift(p[0][a]);return p}},[r]:{get(){return this[l].findIndex(p=>this[s]===p[s])}},[i]:{get(){return this[l][this[r]+1]}},[n]:{get(){return this[l][this[r]-1]}}},c=function*(p){const g=ct(p.value);for(;g.length;){const{node:w,parent:y,siblings:m}=g.pop()??{};w&&(w[a]!==y&&Object.defineProperty(w,a,{configurable:at,value:y}),w[l]!==m&&Object.defineProperty(w,l,{configurable:at,value:m}),Object.keys(u).some(_=>!(_ in w))&&Object.defineProperties(w,u),yield w,g.push(...ct(w[o]??[],w)))}},h=j(()=>[...c(P(e))]),f=j(()=>Object.fromEntries(h.value.map(p=>[p[s],p]))),d=(p,g)=>{const w=f.value[p];if(w){const[y]=h.value,m=w[r],_=w[i],b=m+1,T=w[a],A=w[n],O=m-1,k=w[l];switch(g){case"add":{const v=Pe.generateSlug();return k.splice(b,0,{[s]:v}),v}case"addChild":{const v=Pe.generateSlug();return Array.isArray(w[o])||(w[o]=[]),w[o].unshift({[s]:v}),v}case"down":m<k.length-1&&k[m]&&k[b]&&([k[m],k[b]]=[k[b],k[m]]);break;case"left":if(T?.[a])return T[l].splice(T[r]+1,0,...k.splice(m,1)),T[s];break;case"remove":{const v=_?.[s]??A?.[s]??T?.[s]??y?.[s];return k.splice(m,1),v}case"right":if(A){const v=A[o]??[],M=A[s];return A[o]=[...v,...k.splice(m,1)],M}break;case"up":m&&k[m]&&k[O]&&([k[O],k[m]]=[k[m],k[O]]);break}}};return{add:p=>d(p,"add"),addChild:p=>d(p,"addChild"),down:p=>d(p,"down"),kvNodes:f,left:p=>d(p,"left"),nodes:h,remove:p=>d(p,"remove"),right:p=>d(p,"right"),up:p=>d(p,"up")}};var Es=Fo();const Cs=Pt(Es);var js=Io();const Dt=Pt(js),$={fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY},lt={silent:{level:-1},fatal:{level:$.fatal},error:{level:$.error},warn:{level:$.warn},log:{level:$.log},info:{level:$.info},success:{level:$.success},fail:{level:$.fail},ready:{level:$.info},start:{level:$.info},box:{level:$.info},debug:{level:$.debug},trace:{level:$.trace},verbose:{level:$.verbose}};function he(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Ee(e,t,o=".",s){if(!he(t))return Ee(e,{},o);const r=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const a=e[i];a!=null&&(Array.isArray(a)&&Array.isArray(r[i])?r[i]=[...a,...r[i]]:he(a)&&he(r[i])?r[i]=Ee(a,r[i],(o?`${o}.`:"")+i.toString()):r[i]=a)}return r}function Os(e){return(...t)=>t.reduce((o,s)=>Ee(o,s,""),{})}const Ls=Os();function $s(e){return Object.prototype.toString.call(e)==="[object Object]"}function As(e){return!(!$s(e)||!e.message&&!e.args||e.stack)}let we=!1;const dt=[];class E{options;_lastLog;_mockFn;constructor(t={}){const o=t.types||lt;this.options=Ls({...t,defaults:{...t.defaults},level:me(t.level,o),reporters:[...t.reporters||[]]},{types:lt,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}});for(const s in o){const r={type:s,...this.options.defaults,...o[s]};this[s]=this._wrapLogFn(r),this[s].raw=this._wrapLogFn(r,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(t){this.options.level=me(t,this.options.types,this.options.level)}prompt(t,o){if(!this.options.prompt)throw new Error("prompt is not supported!");return this.options.prompt(t,o)}create(t){const o=new E({...this.options,...t});return this._mockFn&&o.mockTypes(this._mockFn),o}withDefaults(t){return this.create({...this.options,defaults:{...this.options.defaults,...t}})}withTag(t){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+t:t})}addReporter(t){return this.options.reporters.push(t),this}removeReporter(t){if(t){const o=this.options.reporters.indexOf(t);if(o!==-1)return this.options.reporters.splice(o,1)}else this.options.reporters.splice(0);return this}setReporters(t){return this.options.reporters=Array.isArray(t)?t:[t],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const t in this.options.types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}restoreConsole(){for(const t in this.options.types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(t,o){t&&(t.__write||(t.__write=t.write),t.write=s=>{this[o].raw(String(s).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}pauseLogs(){we=!0}resumeLogs(){we=!1;const t=dt.splice(0);for(const o of t)o[0]._logFn(o[1],o[2])}mockTypes(t){const o=t||this.options.mockFn;if(this._mockFn=o,typeof o=="function")for(const s in this.options.types)this[s]=o(s,this.options.types[s])||this[s],this[s].raw=this[s]}_wrapLogFn(t,o){return(...s)=>{if(we){dt.push([this,t,s,o]);return}return this._logFn(t,s,o)}}_logFn(t,o,s){if((t.level||0)>this.level)return!1;const r={date:new Date,args:[],...t,level:me(t.level,this.options.types)};!s&&o.length===1&&As(o[0])?Object.assign(r,o[0]):r.args=[...o],r.message&&(r.args.unshift(r.message),delete r.message),r.additional&&(Array.isArray(r.additional)||(r.additional=r.additional.split(`
|
|
1
|
+
import{toValue as S,isRef as Y,hasInjectionContext as ao,inject as co,ref as de,watchEffect as Ae,getCurrentInstance as Me,onBeforeUnmount as kt,onDeactivated as lo,onActivated as uo,computed as j,toRef as P,toRefs as ue,reactive as V,watch as H,unref as U,onMounted as St,nextTick as po,getCurrentScope as go,onScopeDispose as fo,readonly as ho,customRef as wo,shallowRef as F,defineComponent as te,resolveComponent as mo,createBlock as ee,openBlock as z,withCtx as xe,resolveDynamicComponent as Re,defineAsyncComponent as yo,createElementBlock as ie,Fragment as Tt,createVNode as vo,createElementVNode as W,onUnmounted as bo,renderList as _o,withDirectives as ko,mergeProps as So,Suspense as To,createCommentVNode as Po,normalizeProps as Eo,guardReactiveProps as Co,createApp as jo}from"vue";import{d as Oo,w as $o,_ as Lo,p as Ao,a as Mo,b as xo,c as Ro,e as Ho,t as No,M as zo,i as Do}from"./unocss-CyfnIEqr.js";import{r as Fo,a as Pt,c as Io}from"./ajv-6LTVMkJm.js";import{useRoute as qo,createRouter as Wo,createWebHistory as Uo}from"vue-router";import{M as Vo,E as Bo,j as Go,i as Jo,U as Ko,z as Qo,w as Xo,k as Yo,L as Zo,b as er,d as tr,g as or,y as rr,a as sr,$ as ir,m as nr,c as ar,e as cr,f as lr,h as dr,l as ur,n as pr,o as gr,t as fr,p as hr,s as wr}from"./markdown-B67DBJhd.js";import mr from"@vuebro/loader-sfc";import"./katex-UTpUfKgT.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function o(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=o(r);fetch(r.href,i)}})();const yr=new Set(["link","style","script","noscript"]),vr=new Set(["title","titleTemplate","script","style","noscript"]),Be=new Set(["base","meta","link","style","script","noscript"]),br=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),_r=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),kr=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Sr=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Tr=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]);const ke=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Ge={base:-10,title:10},Pr={critical:-8,high:-1,low:2},Je={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}},Er=/@import/,Q=e=>e===""||e===!0;function Cr(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let o=100;const s=Pr[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Je;if(t.tag in Ge)o=Ge[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(o=Je.meta[i])}else if(t.tag==="link"&&t.props.rel)o=r.link[t.props.rel];else if(t.tag==="script"){const i=String(t.props.type);Q(t.props.async)?o=r.script.async:t.props.src&&!Q(t.props.defer)&&!Q(t.props.async)&&i!=="module"&&!i.endsWith("json")||t.innerHTML&&!i.endsWith("json")?o=r.script.sync:(Q(t.props.defer)&&t.props.src&&!Q(t.props.async)||i==="module")&&(o=r.script.defer)}else t.tag==="style"&&(o=t.innerHTML&&Er.test(t.innerHTML)?r.style.imported:r.style.sync);return(o||100)+s}const pe="%separator";function jr(e,t,o=!1){let s;if(t==="s"||t==="pageTitle")s=e.pageTitle;else if(t.includes(".")){const r=t.indexOf(".");s=e[t.substring(0,r)]?.[t.substring(r+1)]}else s=e[t];if(s!==void 0)return o?(s||"").replace(/\\/g,"\\\\").replace(/</g,"\\u003C").replace(/"/g,'\\"'):s||""}function re(e,t,o,s=!1){if(typeof e!="string"||!e.includes("%"))return e;let r=e;try{r=decodeURI(e)}catch{}const i=r.match(/%\w+(?:\.\w+)?/g);if(!i)return e;const a=e.includes(pe);return e=e.replace(/%\w+(?:\.\w+)?/g,n=>{if(n===pe||!i.includes(n))return n;const l=jr(t,n.slice(1),s);return l!==void 0?l:n}).trim(),a&&(e=e.split(pe).map(n=>n.trim()).filter(n=>n!=="").join(o?` ${o} `:" ")),e}const Ke=e=>e.includes(":key")?e:e.split(":").join(":key:"),Or={key:"aliasSorting",hooks:{"tags:resolve":e=>{let t=!1;for(const o of e.tags){const s=o.tagPriority;if(!s)continue;const r=String(s);if(r.startsWith("before:")){const i=Ke(r.slice(7)),a=e.tagMap.get(i);a&&(typeof a.tagPriority=="number"&&(o.tagPriority=a.tagPriority),o._p=a._p-1,t=!0)}else if(r.startsWith("after:")){const i=Ke(r.slice(6)),a=e.tagMap.get(i);a&&(typeof a.tagPriority=="number"&&(o.tagPriority=a.tagPriority),o._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(ke))}}},$r={meta:"content",link:"href",htmlAttrs:"lang"},Lr=["innerHTML","textContent"],Ar=e=>({key:"template-params",hooks:{"entries:normalize":t=>{const o=t.tags.filter(s=>s.tag==="templateParams"&&s.mode==="server")?.[0]?.props||{};Object.keys(o).length&&(e._ssrPayload={templateParams:{...e._ssrPayload?.templateParams||{},...o}})},"tags:resolve":({tagMap:t,tags:o})=>{const s=t.get("templateParams")?.props||{},r=s.separator||"|";delete s.separator,s.pageTitle=re(s.pageTitle||e._title||"",s,r);for(const i of o){if(i.processTemplateParams===!1)continue;const a=$r[i.tag];if(a&&typeof i.props[a]=="string")i.props[a]=re(i.props[a],s,r);else if(i.processTemplateParams||i.tag==="titleTemplate"||i.tag==="title")for(const n of Lr)typeof i[n]=="string"&&(i[n]=re(i[n],s,r,i.tag==="script"&&i.props.type.endsWith("json")))}e._templateParams=s,e._separator=r},"tags:afterResolve":({tagMap:t})=>{const o=t.get("title");o?.textContent&&o.processTemplateParams!==!1&&(o.textContent=re(o.textContent,e._templateParams,e._separator))}}}),Qe=["og:url","og:image","og:image:secure_url","twitter:image","twitter:image:src","og:video","og:video:secure_url","og:see_also"];function Mr(e){return t=>{let o=e.canonicalHost||(t.ssr?"":window.location.origin);!o.startsWith("http")&&!o.startsWith("//")&&(o=`https://${o}`),o=new URL(o).origin;function s(r){if(e?.customResolver)return e.customResolver(r);if(r.startsWith("http")||r.startsWith("//"))return r;try{return new URL(r,o).toString()}catch{return r}}return{key:"canonical",hooks:{"tags:resolve":r=>{for(const i of r.tags)i.tag==="meta"&&(Qe.includes(i.props?.property)||Qe.includes(i.props?.name))?i.props.content=s(i.props.content):i.tag==="link"&&i.props.rel==="canonical"&&(i.props.href=s(i.props.href))}}}}}function xr(e={}){return t=>(t.push({meta:[{name:"twitter:card",content:e.twitterCard||"summary_large_image",tagPriority:"low"},{property:"og:title",tagPriority:"low","data-infer":""},{property:"og:description",tagPriority:"low","data-infer":""}]}),{key:"infer-seo-meta",hooks:{"tags:beforeResolve":({tagMap:o})=>{let s=t._titleTemplate||t._title;const r=o.get("meta:og:title");typeof r?.props["data-infer"]<"u"&&(typeof s=="function"&&(s=s(t._title)),r.props.content=e.ogTitle?e.ogTitle(s):s||"",r.processTemplateParams=!0);const i=o.get("meta:description")?.props?.content,a=o.get("meta:og:description");typeof a?.props["data-infer"]<"u"&&(a.props.content=e.ogDescription?e.ogDescription(i):i||"",a.processTemplateParams=!0)}}})}function Se(e,t={},o){for(const s in e){const r=e[s],i=o?`${o}:${s}`:s;typeof r=="object"&&r!==null?Se(r,t,i):typeof r=="function"&&(t[i]=r)}return t}const Rr={run:e=>e()},Hr=()=>Rr,Et=typeof console.createTask<"u"?console.createTask:Hr;function Nr(e,t){const o=t.shift(),s=Et(o);return e.reduce((r,i)=>r.then(()=>s.run(()=>i(...t))),Promise.resolve())}function zr(e,t){const o=t.shift(),s=Et(o);return Promise.all(e.map(r=>s.run(()=>r(...t))))}function ge(e,t){for(const o of[...e])o(t)}class Dr{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,o,s={}){if(!t||typeof o!="function")return()=>{};const r=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!s.allowDeprecated){let a=i.message;a||(a=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!o.name)try{Object.defineProperty(o,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(o),()=>{o&&(this.removeHook(t,o),o=void 0)}}hookOnce(t,o){let s,r=(...i)=>(typeof s=="function"&&s(),s=void 0,r=void 0,o(...i));return s=this.hook(t,r),s}removeHook(t,o){if(this._hooks[t]){const s=this._hooks[t].indexOf(o);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,o){this._deprecatedHooks[t]=typeof o=="string"?{to:o}:o;const s=this._hooks[t]||[];delete this._hooks[t];for(const r of s)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const o in t)this.deprecateHook(o,t[o])}addHooks(t){const o=Se(t),s=Object.keys(o).map(r=>this.hook(r,o[r]));return()=>{for(const r of s.splice(0,s.length))r()}}removeHooks(t){const o=Se(t);for(const s in o)this.removeHook(s,o[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...o){return o.unshift(t),this.callHookWith(Nr,t,...o)}callHookParallel(t,...o){return o.unshift(t),this.callHookWith(zr,t,...o)}callHookWith(t,o,...s){const r=this._before||this._after?{name:o,args:s,context:{}}:void 0;this._before&&ge(this._before,r);const i=t(o in this._hooks?[...this._hooks[o]]:[],s);return i instanceof Promise?i.finally(()=>{this._after&&r&&ge(this._after,r)}):(this._after&&r&&ge(this._after,r),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const o=this._before.indexOf(t);o!==-1&&this._before.splice(o,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const o=this._after.indexOf(t);o!==-1&&this._after.splice(o,1)}}}}function Fr(){return new Dr}const Ir=["name","property","http-equiv"],qr=new Set(["viewport","description","keywords","robots"]);function Ct(e){const t=e.split(":");return t.length?Tr.has(t[1]):!1}function Te(e){const{props:t,tag:o}=e;if(_r.has(o))return o;if(o==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const s of Ir)if(t[s]!==void 0){const r=t[s],i=r&&typeof r=="string"&&r.includes(":"),a=r&&qr.has(r),l=!(i||a)&&e.key?`:key:${e.key}`:"";return`${o}:${r}${l}`}}if(e.key)return`${o}:key:${e.key}`;if(t.id)return`${o}:id:${t.id}`;if(vr.has(o)){const s=e.textContent||e.innerHTML;if(s)return`${o}:content:${s}`}}function Xe(e){const t=e._h||e._d;if(t)return t;const o=e.textContent||e.innerHTML;return o||`${e.tag}:${Object.entries(e.props).map(([s,r])=>`${s}:${String(r)}`).join(",")}`}function ne(e,t,o){typeof e==="function"&&(!o||o!=="titleTemplate"&&!(o[0]==="o"&&o[1]==="n"))&&(e=e());const r=t?t(o,e):e;if(Array.isArray(r))return r.map(i=>ne(i,t));if(r?.constructor===Object){const i={};for(const a of Object.keys(r))i[a]=ne(r[a],t,a);return i}return r}function Wr(e,t){const o=e==="style"?new Map:new Set;function s(r){if(r==null||r===void 0)return;const i=String(r).trim();if(i)if(e==="style"){const[a,...n]=i.split(":").map(l=>l?l.trim():"");a&&n.length&&o.set(a,n.join(":"))}else i.split(" ").filter(Boolean).forEach(a=>o.add(a))}return typeof t=="string"?e==="style"?t.split(";").forEach(s):s(t):Array.isArray(t)?t.forEach(r=>s(r)):t&&typeof t=="object"&&Object.entries(t).forEach(([r,i])=>{i&&i!=="false"&&(e==="style"?o.set(String(r).trim(),String(i)):s(r))}),o}function jt(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([o,s])=>{if(s===null){e.props[o]=null;return}if(o==="class"||o==="style"){e.props[o]=Wr(o,s);return}if(kr.has(o)){if(["textContent","innerHTML"].includes(o)&&typeof s=="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[o]=JSON.stringify(s)}else e[o]=s;return}const r=String(s),i=o.startsWith("data-"),a=e.tag==="meta"&&o==="content";r==="true"||r===""?e.props[o]=i||a?r:!0:!s&&i&&r==="false"?e.props[o]="false":s!==void 0&&(e.props[o]=s)}),e):e}function Ur(e,t){const o=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=jt({tag:e,props:{}},o);return s.key&&yr.has(s.tag)&&(s.props["data-hid"]=s._h=s.key),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(r=>({...s,props:{...s.props,content:r}})):s}function Vr(e,t){if(!e)return[];typeof e=="function"&&(e=e());const o=(r,i)=>{for(let a=0;a<t.length;a++)i=t[a](r,i);return i};e=o(void 0,e);const s=[];return e=ne(e,o),Object.entries(e||{}).forEach(([r,i])=>{if(i!==void 0)for(const a of Array.isArray(i)?i:[i])s.push(Ur(r,a))}),s.flat()}function Ye(e,t){const o=typeof t=="function"?t(e):t,s=o.key||String(e.plugins.size+1);e.plugins.get(s)||(e.plugins.set(s,o),e.hooks.addHooks(o.hooks||{}))}function Br(e={}){const t=Fr();t.addHooks(e.hooks||{});const o=!e.document,s=new Map,r=new Map,i=new Set,a={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:o,entries:s,headEntries(){return[...s.values()]},use:n=>Ye(a,n),push(n,l){const u={...l||{}};delete u.head;const c=u._index??a._entryCount++,h={_i:c,input:n,options:u},f={_poll(d=!1){a.dirty=!0,!d&&i.add(c),t.callHook("entries:updated",a)},dispose(){s.delete(c)&&a.invalidate()},patch(d){(!u.mode||u.mode==="server"&&o||u.mode==="client"&&!o)&&(h.input=d,s.set(c,h),f._poll())}};return f.patch(n),f},async resolveTags(){const n={tagMap:new Map,tags:[],entries:[...a.entries.values()]};for(await t.callHook("entries:resolve",n);i.size;){const f=i.values().next().value;i.delete(f);const d=s.get(f);if(d){const p={tags:Vr(d.input,e.propResolvers||[]).map(g=>Object.assign(g,d.options)),entry:d};await t.callHook("entries:normalize",p),d._tags=p.tags.map((g,w)=>(g._w=Cr(a,g),g._p=(d._i<<10)+w,g._d=Te(g),g))}}let l=!1;n.entries.flatMap(f=>(f._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(ke).reduce((f,d)=>{const p=String(d._d||d._p);if(!f.has(p))return f.set(p,d);const g=f.get(p);if((d?.tagDuplicateStrategy||(Sr.has(d.tag)?"merge":null)||(d.key&&d.key===g.key?"merge":null))==="merge"){const y={...g.props};Object.entries(d.props).forEach(([m,_])=>y[m]=m==="style"?new Map([...g.props.style||new Map,..._]):m==="class"?new Set([...g.props.class||new Set,..._]):_),f.set(p,{...d,props:y})}else d._p>>10===g._p>>10&&d.tag==="meta"&&Ct(p)?(f.set(p,Object.assign([...Array.isArray(g)?g:[g],d],d)),l=!0):(d._w===g._w?d._p>g._p:d?._w<g?._w)&&f.set(p,d);return f},n.tagMap);const u=n.tagMap.get("title"),c=n.tagMap.get("titleTemplate");if(a._title=u?.textContent,c){const f=c?.textContent;if(a._titleTemplate=f,f){let d=typeof f=="function"?f(u?.textContent):f;typeof d=="string"&&!a.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?n.tagMap.delete("title"):n.tagMap.set("title",{...u,textContent:d}):(c.tag="title",c.textContent=d)}}n.tags=Array.from(n.tagMap.values()),l&&(n.tags=n.tags.flat().sort(ke)),await t.callHook("tags:beforeResolve",n),await t.callHook("tags:resolve",n),await t.callHook("tags:afterResolve",n);const h=[];for(const f of n.tags){const{innerHTML:d,tag:p,props:g}=f;if(br.has(p)&&!(Object.keys(g).length===0&&!f.innerHTML&&!f.textContent)&&!(p==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(p==="script"&&d){if(String(g.type).endsWith("json")){const w=typeof d=="string"?d:JSON.stringify(d);f.innerHTML=w.replace(/</g,"\\u003C")}else typeof d=="string"&&(f.innerHTML=d.replace(new RegExp(`</${p}`,"g"),`<\\/${p}`));f._d=Te(f)}h.push(f)}}return h},invalidate(){for(const n of s.values())i.add(n._i);a.dirty=!0,t.callHook("entries:updated",a)}};return(e?.plugins||[]).forEach(n=>Ye(a,n)),a.hooks.callHook("init",a),e.init?.forEach(n=>n&&a.push(n)),a}async function Ot(e,t={}){const o=t.document||e.resolvedOptions.document;if(!o||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{const i=new Map,a=new Promise(d=>{e.resolveTags().then(p=>{d(p.map(g=>{const w=i.get(g._d)||0,y={tag:g,id:(w?`${g._d}:${w}`:g._d)||Xe(g),shouldRender:!0};return g._d&&Ct(g._d)&&i.set(g._d,w+1),y}))})});let n=e._dom;if(!n){n={title:o.title,elMap:new Map().set("htmlAttrs",o.documentElement).set("bodyAttrs",o.body)};for(const d of["body","head"]){const p=o[d]?.children;for(const g of p){const w=g.tagName.toLowerCase();if(!Be.has(w))continue;const y=jt({tag:w,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((m,_)=>(m[_]=g.getAttribute(_),m),{})||{}});if(y.key=g.getAttribute("data-hid")||void 0,y._d=Te(y)||Xe(y),n.elMap.has(y._d)){let m=1,_=y._d;for(;n.elMap.has(_);)_=`${y._d}:${m++}`;n.elMap.set(_,g)}else n.elMap.set(y._d,g)}}}n.pendingSideEffects={...n.sideEffects},n.sideEffects={};function l(d,p,g){const w=`${d}:${p}`;n.sideEffects[w]=g,delete n.pendingSideEffects[w]}function u({id:d,$el:p,tag:g}){const w=g.tag.endsWith("Attrs");n.elMap.set(d,p),w||(g.textContent&&g.textContent!==p.textContent&&(p.textContent=g.textContent),g.innerHTML&&g.innerHTML!==p.innerHTML&&(p.innerHTML=g.innerHTML),l(d,"el",()=>{p?.remove(),n.elMap.delete(d)}));for(const y in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,y))continue;const m=g.props[y];if(y.startsWith("on")&&typeof m=="function"){const b=p?.dataset;if(b&&b[`${y}fired`]){const T=y.slice(0,-5);m.call(p,new Event(T.substring(2)))}p.getAttribute(`data-${y}`)!==""&&((g.tag==="bodyAttrs"?o.defaultView:p).addEventListener(y.substring(2),m.bind(p)),p.setAttribute(`data-${y}`,""));continue}const _=`attr:${y}`;if(y==="class"){if(!m)continue;for(const b of m)w&&l(d,`${_}:${b}`,()=>p.classList.remove(b)),!p.classList.contains(b)&&p.classList.add(b)}else if(y==="style"){if(!m)continue;for(const[b,T]of m)l(d,`${_}:${b}`,()=>{p.style.removeProperty(b)}),p.style.setProperty(b,T)}else m!==!1&&m!==null&&(p.getAttribute(y)!==m&&p.setAttribute(y,m===!0?"":String(m)),w&&l(d,_,()=>p.removeAttribute(y)))}}const c=[],h={bodyClose:void 0,bodyOpen:void 0,head:void 0},f=await a;for(const d of f){const{tag:p,shouldRender:g,id:w}=d;if(g){if(p.tag==="title"){o.title=p.textContent,l("title","",()=>o.title=n.title);continue}d.$el=d.$el||n.elMap.get(w),d.$el?u(d):Be.has(p.tag)&&c.push(d)}}for(const d of c){const p=d.tag.tagPosition||"head";d.$el=o.createElement(d.tag.tag),u(d),h[p]=h[p]||o.createDocumentFragment(),h[p].appendChild(d.$el)}for(const d of f)await e.hooks.callHook("dom:renderTag",d,o,l);h.head&&o.head.appendChild(h.head),h.bodyOpen&&o.body.insertBefore(h.bodyOpen,o.body.firstChild),h.bodyClose&&o.body.appendChild(h.bodyClose);for(const d in n.pendingSideEffects)n.pendingSideEffects[d]();e._dom=n,await e.hooks.callHook("dom:rendered",{renders:f}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Gr(e={}){const t=e.domOptions?.render||Ot;e.document=e.document||(typeof window<"u"?document:void 0);const o=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Br({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[o?JSON.parse(o):!1,...e.init||[]]})}function Jr(e,t){let o=0;return()=>{const s=++o;t(()=>{o===s&&e()})}}const Kr=(e,t)=>Y(t)?S(t):t,$t="usehead";function Qr(e){return{install(o){o.config.globalProperties.$unhead=e,o.config.globalProperties.$head=e,o.provide($t,e)}}.install}function Xr(){if(ao()){const e=co($t);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Lt(e,t={}){const o=t.head||Xr();return o.ssr?o.push(e||{},t):Yr(o,e,t)}function Yr(e,t,o={}){const s=de(!1);let r;return Ae(()=>{const a=s.value?{}:ne(t,Kr);r?r.patch(a):r=e.push(a,o)}),Me()&&(kt(()=>{r.dispose()}),lo(()=>{s.value=!0}),uo(()=>{s.value=!1})),r}function Zr(e={}){const t=Gr({domOptions:{render:Jr(()=>Ot(t),o=>setTimeout(o,0))},...e});return t.install=Qr(t),t}function es(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const ts=/(-?[0-9.]*[0-9]+[0-9.]*)/g,os=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ae(e,t,o){if(t===1)return e;if(o=o||100,typeof e=="number")return Math.ceil(e*t*o)/o;if(typeof e!="string")return e;const s=e.split(ts);if(s===null||!s.length)return e;const r=[];let i=s.shift(),a=os.test(i);for(;;){if(a){const n=parseFloat(i);isNaN(n)?r.push(i):r.push(Math.ceil(n*t*o)/o)}else r.push(i);if(i=s.shift(),i===void 0)return r.join("");a=!a}}const rs=Object.freeze({left:0,top:0,width:16,height:16}),ce=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),At=Object.freeze({...rs,...ce}),ss=Object.freeze({...At,body:"",hidden:!1}),is=Object.freeze({width:null,height:null}),Mt=Object.freeze({...is,...ce});function ns(e,t="defs"){let o="";const s=e.indexOf("<"+t);for(;s>=0;){const r=e.indexOf(">",s),i=e.indexOf("</"+t);if(r===-1||i===-1)break;const a=e.indexOf(">",i);if(a===-1)break;o+=e.slice(r+1,i).trim(),e=e.slice(0,s).trim()+e.slice(a+1)}return{defs:o,content:e}}function as(e,t){return e?"<defs>"+e+"</defs>"+t:t}function cs(e,t,o){const s=ns(e);return as(s.defs,t+s.content+o)}const He=e=>e==="unset"||e==="undefined"||e==="none";function ls(e,t){const o={...At,...e},s={...Mt,...t},r={left:o.left,top:o.top,width:o.width,height:o.height};let i=o.body;[o,s].forEach(g=>{const w=[],y=g.hFlip,m=g.vFlip;let _=g.rotate;y?m?_+=2:(w.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),w.push("scale(-1 1)"),r.top=r.left=0):m&&(w.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),w.push("scale(1 -1)"),r.top=r.left=0);let b;switch(_<0&&(_-=Math.floor(_/4)*4),_=_%4,_){case 1:b=r.height/2+r.top,w.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:w.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:b=r.width/2+r.left,w.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}_%2===1&&(r.left!==r.top&&(b=r.left,r.left=r.top,r.top=b),r.width!==r.height&&(b=r.width,r.width=r.height,r.height=b)),w.length&&(i=cs(i,'<g transform="'+w.join(" ")+'">',"</g>"))});const a=s.width,n=s.height,l=r.width,u=r.height;let c,h;a===null?(h=n===null?"1em":n==="auto"?u:n,c=ae(h,l/u)):(c=a==="auto"?l:a,h=n===null?ae(c,u/l):n==="auto"?u:n);const f={},d=(g,w)=>{He(w)||(f[g]=w.toString())};d("width",c),d("height",h);const p=[r.left,r.top,l,u];return f.viewBox=p.join(" "),{attributes:f,viewBox:p,body:i}}const ds=/\swidth\s*=\s*["']([\w.]+)["']/,us=/\sheight\s*=\s*["']([\w.]+)["']/,fe=/<svg\s+/;function ps(e,t,o){const s=e.slice(0,e.indexOf(">")),r=(i,a)=>{const n=a.exec(s),l=n!=null,u=t[i];return!u&&!He(u)&&(typeof o=="number"?o>0&&(t[i]=ae(n?.[1]??"1em",o)):n&&(t[i]=n[1])),l};return[r("width",ds),r("height",us)]}async function xt(e,t,o,s,r,i){const{scale:a,addXmlNs:n=!1}=s??{},{additionalProps:l={},iconCustomizer:u}=s?.customizations??{},c=await r?.()??{};await u?.(t,o,c),Object.keys(l).forEach(g=>{const w=l[g];w!=null&&(c[g]=w)}),i?.(c);const[h,f]=ps(e,c,a);n&&(!e.includes("xmlns=")&&!c.xmlns&&(c.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!c["xmlns:xlink"]&&(c["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const d=Object.keys(c).map(g=>g==="width"&&h||g==="height"&&f?null:`${g}="${c[g]}"`).filter(g=>g!=null);if(d.length&&(e=e.replace(fe,`<svg ${d.join(" ")} `)),s){const{defaultStyle:g,defaultClass:w}=s;w&&!e.includes("class=")&&(e=e.replace(fe,`<svg class="${w}" `)),g&&!e.includes("style=")&&(e=e.replace(fe,`<svg style="${g}" `))}const p=s?.usedProps;return p&&(Object.keys(l).forEach(g=>{const w=c[g];w!=null&&(p[g]=w)}),typeof c.width<"u"&&c.width!==null&&(p.width=c.width),typeof c.height<"u"&&c.height!==null&&(p.height=c.height)),e}async function Ze(e,t,o,s){let r;try{if(typeof e=="function")r=await e(o);else{const i=e[o];r=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${o}" in "${t}":`,i);return}if(r){const i=r.indexOf("<svg");i>0&&(r=r.slice(i));const{transform:a}=s?.customizations??{};return r=typeof a=="function"?await a(r,t,o):r,r.startsWith("<svg")?await xt(s?.customizations?.trimCustomSvg===!0?es(r):r,t,o,s,void 0):(console.warn(`Custom icon "${o}" in "${t}" is not a valid SVG`),r)}}function gs(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(o.rotate=s),o}function et(e,t){const o=gs(e,t);for(const s in ss)s in ce?s in e&&!(s in o)&&(o[s]=ce[s]):s in t?o[s]=t[s]:s in e&&(o[s]=e[s]);return o}function fs(e,t){const o=e.icons,s=e.aliases||Object.create(null),r=Object.create(null);function i(a){if(o[a])return r[a]=[];if(!(a in r)){r[a]=null;const n=s[a]&&s[a].parent,l=n&&i(n);l&&(r[a]=[n].concat(l))}return r[a]}return(t||Object.keys(o).concat(Object.keys(s))).forEach(i),r}function tt(e,t,o){const s=e.icons,r=e.aliases||Object.create(null);let i={};function a(n){i=et(s[n]||r[n],i)}return a(t),o.forEach(a),et(e,i)}function hs(e,t){if(e.icons[t])return tt(e,t,[]);const o=fs(e,[t])[t];return o?tt(e,t,o):null}async function Rt(e,t,o,s){let r;const{customize:i}=s?.customizations??{};for(const a of o)if(r=hs(e,a),r){let n={...Mt};typeof i=="function"&&(r=Object.assign({},r),n=i(n,r,`${t}:${a}`)??n);const{attributes:{width:l,height:u,...c},body:h}=ls(r,n),f=s?.scale;return await xt(`<svg >${h}</svg>`,t,a,s,()=>({...c}),d=>{const p=(g,w)=>{const y=d[g];let m;if(!He(y)){if(y)return;typeof f=="number"?f&&(m=ae(w??"1em",f)):m=w}m?d[g]=m:delete d[g]};p("width",l),p("height",u)})}}const Ht=async(e,t,o)=>{const s=o?.customCollections?.[e];if(s)if(typeof s=="function"){let r;try{r=await s(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(r){if(typeof r=="string")return await Ze(()=>r,e,t,o);if("icons"in r){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Rt(r,e,i,o)}}}else return await Ze(s,e,t,o)};function ws(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ot(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),ws(t)}var rt={};function ms(){const e=typeof process<"u"&&process.stdout;return{isNode:e,isVSCode:e&&!!rt.VSCODE_CWD,isESLint:e&&!!rt.ESLINT}}var Nt=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","dinkie-icons","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fa7-brands","fa7-regular","fa7-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","roentgen","si-glyph","si","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","temaki","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"];const ys=3;function vs(e){return Oo((t={})=>{const{scale:o=1,mode:s="auto",prefix:r="i-",warn:i=!1,iconifyCollectionsNames:a,collections:n,extraProperties:l={},customizations:u={},autoInstall:c=!1,collectionsNodeResolvePath:h,layer:f="icons",unit:d,processor:p}=t,g=ms(),w={addXmlNs:!0,scale:o,customCollections:n,autoInstall:c,cwd:h,warn:void 0,customizations:{...u,additionalProps:{...l},trimCustomSvg:!0,async iconCustomizer(m,_,b){await u.iconCustomizer?.(m,_,b),d&&(b.width||(b.width=`${o}${d}`),b.height||(b.height=`${o}${d}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:ot,parseIconWithLoader:st},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async m=>{let[_,b,T=s]=m;y=y||await e(t);const A={},O=await st(b,y,{...w,usedProps:A},a);if(!O){i&&!g.isESLint&&$o(`failed to load icon "${_}"`);return}let k;const v=`url("data:image/svg+xml;utf8,${ot(O.svg)}")`;return T==="auto"&&(T=O.svg.includes("currentColor")?"mask":"bg"),T==="mask"?k={"--un-icon":v,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...A}:k={background:`${v} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...A},p?.(k,{...O,icon:O.name,mode:T}),k},{layer:f,prefix:r}]]}})}function zt(e,t,o=new Map){function s(r){if(Nt.includes(r))return o.has(r)||o.set(r,e(`${t}@iconify-json/${r}/icons.json`)),o.get(r)}return async(r,i,a)=>{let n=await Ht(r,i,a);if(n)return n;const l=await s(r);return l&&(n=await Rt(l,r,[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")],a)),n}}async function st(e,t,o={},s=[]){let r="",i="",a;const n=new Set([...Nt,...s,...Object.keys(o.customCollections||{})]);if(e.includes(":")){if([r,i]=e.split(":"),!n.has(r))return;a=await t(r,i,o)}else{const l=e.split(/-/g);for(let u=ys;u>=1&&(r=l.slice(0,u).join("-"),!(!!n.has(r)&&(i=l.slice(u).join("-"),a=await t(r,i,o),a)));u--);}if(a)return{collection:r,name:i,svg:a}}async function bs(e){const{$fetch:t}=await Lo(async()=>{const{$fetch:o}=await Promise.resolve().then(()=>Ei);return{$fetch:o}},void 0,import.meta.url);return zt(t,e)}const _s=vs(async e=>{const t=e?.customFetch,o=e?.cdn;return t&&o?zt(t,o):o?await bs(o):Ht}),ks=({attributifyOptions:e,iconsOptions:t={cdn:"https://cdn.jsdelivr.net/npm/"},tagifyOptions:o,typographyOptions:s,webFontsOptions:r,wind4Options:i={preflights:{reset:!0}}}={})=>[Ao(e),_s(t),Mo(o),xo(s),Ro(r),Ho(i)];var N={},X={},it;function Ss(){return it||(it=1,(function(e){var t=X&&X.__values||function(s){var r=typeof Symbol=="function"&&Symbol.iterator,i=r&&s[r],a=0;if(i)return i.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&a>=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.getWordsByCategory=e.wordList=void 0,e.wordList={noun:[{word:"accountant",categories:["profession"]},{word:"ability",categories:["thing"]},{word:"accident",categories:["thing"]},{word:"account",categories:["thing"]},{word:"action",categories:["thing"]},{word:"activity",categories:["thing"]},{word:"actor",categories:["profession"]},{word:"ad",categories:["media"]},{word:"addition",categories:["thing"]},{word:"address",categories:["thing"]},{word:"adult",categories:["people"]},{word:"advantage",categories:["thing"]},{word:"advertisement",categories:["media"]},{word:"afternoon",categories:["time"]},{word:"agency",categories:["thing"]},{word:"agent",categories:["people"]},{word:"air",categories:["thing"]},{word:"airline",categories:["transportation"]},{word:"airplane",categories:["transportation"]},{word:"airport",categories:["transportation","place"]},{word:"alarm",categories:["thing"]},{word:"alligator",categories:["animals"]},{word:"ambulance",categories:["health"]},{word:"analyst",categories:["profession"]},{word:"angle",categories:["thing"]},{word:"animal",categories:["animals"]},{word:"answer",categories:["thing"]},{word:"apartment",categories:["place"]},{word:"apple",categories:["food"]},{word:"application",categories:["thing"]},{word:"appointment",categories:["thing"]},{word:"architect",categories:["profession"]},{word:"argument",categories:["thing"]},{word:"area",categories:["thing"]},{word:"arm",categories:["thing"]},{word:"army",categories:["thing"]},{word:"art",categories:["thing"]},{word:"article",categories:["thing"]},{word:"artist",categories:["profession"]},{word:"australia",categories:["place"]},{word:"author",categories:["profession"]},{word:"autumn",categories:["time"]},{word:"baby",categories:["people","family"]},{word:"baker",categories:["profession"]},{word:"balloon",categories:["thing"]},{word:"banana",categories:["food"]},{word:"barista",categories:["profession"]},{word:"battery",categories:["thing"]},{word:"beach",categories:["place"]},{word:"bear",categories:["animals"]},{word:"beard",categories:["thing"]},{word:"bed",categories:["thing"]},{word:"belgium",categories:["place"]},{word:"bird",categories:["animals"]},{word:"bit",categories:["thing","technology"]},{word:"book",categories:["thing","education"]},{word:"boots",categories:["thing"]},{word:"boy",categories:["people"]},{word:"branch",categories:["thing"]},{word:"breakfast",categories:["thing"]},{word:"brother",categories:["family"]},{word:"businessperson",categories:["people","business"]},{word:"butcher",categories:["profession"]},{word:"byte",categories:["thing","technology"]},{word:"camera",categories:["thing"]},{word:"candle",categories:["thing"]},{word:"car",categories:["transportation"]},{word:"caravan",categories:["transportation"]},{word:"carpenter",categories:["profession"]},{word:"carpet",categories:["thing"]},{word:"cartoon",categories:["media"]},{word:"cat",categories:["animals"]},{word:"chef",categories:["profession"]},{word:"child",categories:["people","family"]},{word:"china",categories:["place"]},{word:"church",categories:["religion"]},{word:"city",categories:["place"]},{word:"coat",categories:["thing"]},{word:"coffeeshop",categories:["place"]},{word:"computer",categories:["thing","technology"]},{word:"continent",categories:["place"]},{word:"controller",categories:["thing","technology"]},{word:"country",categories:["place"]},{word:"cpu",categories:["thing","technology"]},{word:"crayon",categories:["thing"]},{word:"cricket",categories:["animals"]},{word:"crowd",categories:["people"]},{word:"daughter",categories:["family"]},{word:"dawn",categories:["time"]},{word:"daybreak",categories:["time"]},{word:"death",categories:["thing"]},{word:"denmark",categories:["place"]},{word:"dentist",categories:["profession"]},{word:"diamond",categories:["thing"]},{word:"dinner",categories:["food"]},{word:"disease",categories:["thing"]},{word:"doctor",categories:["profession"]},{word:"dog",categories:["animals"]},{word:"dream",categories:["thing"]},{word:"dress",categories:["thing"]},{word:"dusk",categories:["time"]},{word:"easter",categories:["religion"]},{word:"egg",categories:["food"]},{word:"eggplant",categories:["food"]},{word:"egypt",categories:["place"]},{word:"electrician",categories:["profession"]},{word:"elephant",categories:["animals"]},{word:"energy",categories:["thing"]},{word:"engine",categories:["transportation"]},{word:"engineer",categories:["profession"]},{word:"england",categories:["place"]},{word:"eve",categories:["time"]},{word:"evening",categories:["time"]},{word:"eventide",categories:["time"]},{word:"exabyte",categories:["thing","technology"]},{word:"eye",categories:["thing"]},{word:"fall",categories:["time"]},{word:"family",categories:["family"]},{word:"farmer",categories:["profession"]},{word:"father",categories:["people","family"]},{word:"finland",categories:["place"]},{word:"fireman",categories:["profession"]},{word:"fish",categories:["animals"]},{word:"flag",categories:["thing"]},{word:"florist",categories:["profession"]},{word:"flower",categories:["thing"]},{word:"football",categories:["sports"]},{word:"forest",categories:["place"]},{word:"fountain",categories:["thing"]},{word:"france",categories:["place"]},{word:"furniture",categories:["thing"]},{word:"garage",categories:["place"]},{word:"garden",categories:["food"]},{word:"gas",categories:["transportation"]},{word:"ghost",categories:["thing"]},{word:"gigabyte",categories:["thing","technology"]},{word:"girl",categories:["people"]},{word:"glass",categories:["thing"]},{word:"gold",categories:["thing"]},{word:"gpu",categories:["thing","technology"]},{word:"grandmother",categories:["people","family"]},{word:"grass",categories:["thing"]},{word:"greece",categories:["place"]},{word:"guitar",categories:["thing"]},{word:"hair",categories:["thing"]},{word:"hairdresser",categories:["profession"]},{word:"hamburger",categories:["food"]},{word:"helicopter",categories:["transportation"]},{word:"helmet",categories:["thing"]},{word:"holiday",categories:["thing"]},{word:"honey",categories:["food"]},{word:"horse",categories:["animals"]},{word:"hospital",categories:["place"]},{word:"house",categories:["place"]},{word:"hydrogen",categories:["science"]},{word:"ice",categories:["science"]},{word:"insect",categories:["animals"]},{word:"insurance",categories:["thing"]},{word:"intern",categories:["profession"]},{word:"iron",categories:["science"]},{word:"island",categories:["place"]},{word:"jackal",categories:["animals"]},{word:"jelly",categories:["food"]},{word:"jewellery",categories:["thing"]},{word:"jordan",categories:["place"]},{word:"journalist",categories:["profession"]},{word:"joystick",categories:["thing","technology"]},{word:"judge",categories:["profession"]},{word:"juice",categories:["food"]},{word:"kangaroo",categories:["animals"]},{word:"keyboard",categories:["thing","technology"]},{word:"kilobyte",categories:["thing","technology"]},{word:"king",categories:["people"]},{word:"kitchen",categories:["place"]},{word:"kite",categories:["thing"]},{word:"knife",categories:["thing"]},{word:"lamp",categories:["thing"]},{word:"laptop",categories:["thing","technology"]},{word:"lawyer",categories:["profession"]},{word:"leather",categories:["thing"]},{word:"librarian",categories:["profession"]},{word:"library",categories:["place"]},{word:"lifeguard",categories:["profession"]},{word:"lighter",categories:["thing"]},{word:"lion",categories:["animals"]},{word:"lizard",categories:["animals"]},{word:"lock",categories:["thing"]},{word:"london",categories:["place"]},{word:"lunch",categories:["food"]},{word:"machine",categories:["science"]},{word:"magazine",categories:["media"]},{word:"magician",categories:["people"]},{word:"man",categories:["people"]},{word:"manchester",categories:["place"]},{word:"market",categories:["place"]},{word:"match",categories:["thing"]},{word:"mechanic",categories:["profession"]},{word:"megabyte",categories:["thing","technology"]},{word:"memory",categories:["thing","technology"]},{word:"microphone",categories:["thing"]},{word:"midnight",categories:["time"]},{word:"minister",categories:["people","religion"]},{word:"monitor",categories:["thing","technology"]},{word:"monkey",categories:["animals"]},{word:"morn",categories:["time"]},{word:"morning",categories:["time"]},{word:"mother",categories:["people","family"]},{word:"motherboard",categories:["thing","technology"]},{word:"motorcycle",categories:["transportation"]},{word:"mouse",categories:["thing","technology","animals"]},{word:"musician",categories:["profession"]},{word:"nail",categories:["thing"]},{word:"napkin",categories:["thing"]},{word:"needle",categories:["thing"]},{word:"nest",categories:["thing"]},{word:"nigeria",categories:["place"]},{word:"night",categories:["time"]},{word:"nightfall",categories:["time"]},{word:"noon",categories:["time"]},{word:"notebook",categories:["thing"]},{word:"nurse",categories:["profession"]},{word:"ocean",categories:["place"]},{word:"oil",categories:["thing"]},{word:"optician",categories:["profession"]},{word:"orange",categories:["food"]},{word:"oxygen",categories:["science"]},{word:"oyster",categories:["animals"]},{word:"pager",categories:["thing","technology"]},{word:"painter",categories:["profession"]},{word:"painting",categories:["media"]},{word:"park",categories:["place"]},{word:"parrot",categories:["animals"]},{word:"pencil",categories:["thing","education"]},{word:"petabyte",categories:["thing","technology"]},{word:"pharmacist",categories:["profession"]},{word:"photographer",categories:["profession"]},{word:"piano",categories:["thing"]},{word:"pillow",categories:["thing"]},{word:"pilot",categories:["profession"]},{word:"pizza",categories:["food"]},{word:"planet",categories:["science"]},{word:"plastic",categories:["thing"]},{word:"plumber",categories:["profession"]},{word:"policeman",categories:["profession"]},{word:"portugal",categories:["place"]},{word:"postman",categories:["profession"]},{word:"potato",categories:["food"]},{word:"printer",categories:["thing","technology"]},{word:"processor",categories:["thing","technology"]},{word:"psychiatrist",categories:["profession"]},{word:"queen",categories:["people"]},{word:"quill",categories:["thing"]},{word:"rain",categories:["thing"]},{word:"rainbow",categories:["science"]},{word:"raincoat",categories:["thing"]},{word:"ram",categories:["thing","technology"]},{word:"receptionist",categories:["profession"]},{word:"refrigerator",categories:["food"]},{word:"restaurant",categories:["place"]},{word:"river",categories:["thing"]},{word:"rocket",categories:["science"]},{word:"room",categories:["place"]},{word:"rose",categories:["thing"]},{word:"russia",categories:["place"]},{word:"salesclerk",categories:["people","business"]},{word:"salesmen",categories:["profession"]},{word:"sandwich",categories:["food"]},{word:"school",categories:["education"]},{word:"scientist",categories:["profession"]},{word:"scooter",categories:["transportation"]},{word:"secretary",categories:["profession"]},{word:"shampoo",categories:["thing"]},{word:"shoe",categories:["thing"]},{word:"smartphone",categories:["thing","technology"]},{word:"soccer",categories:["sports"]},{word:"solstice",categories:["time"]},{word:"spoon",categories:["thing"]},{word:"spring",categories:["time"]},{word:"state",categories:["place"]},{word:"stone",categories:["thing"]},{word:"student",categories:["people","education"]},{word:"sugar",categories:["food"]},{word:"summer",categories:["time"]},{word:"sundown",categories:["time"]},{word:"sunset",categories:["time"]},{word:"sweden",categories:["place"]},{word:"table",categories:["thing"]},{word:"tailor",categories:["profession"]},{word:"teacher",categories:["people","education","profession"]},{word:"teenager",categories:["people","family"]},{word:"telephone",categories:["thing"]},{word:"television",categories:["media"]},{word:"tent",categories:["thing"]},{word:"terabyte",categories:["thing","technology"]},{word:"thailand",categories:["place"]},{word:"tiger",categories:["animals"]},{word:"toddler",categories:["people","family"]},{word:"tomato",categories:["food"]},{word:"toothbrush",categories:["thing"]},{word:"traffic",categories:["thing"]},{word:"train",categories:["transportation"]},{word:"translator",categories:["profession"]},{word:"truck",categories:["thing","transportation"]},{word:"twilight",categories:["time"]},{word:"uganda",categories:["place"]},{word:"umbrella",categories:["thing"]},{word:"van",categories:["transportation"]},{word:"vase",categories:["thing"]},{word:"vegetable",categories:["food"]},{word:"vr",categories:["thing","technology"]},{word:"vulture",categories:["animals"]},{word:"waiter",categories:["profession"]},{word:"waitress",categories:["profession"]},{word:"wall",categories:["thing"]},{word:"whale",categories:["animals"]},{word:"window",categories:["thing"]},{word:"winter",categories:["time"]},{word:"wire",categories:["thing"]},{word:"wolf",categories:["animals"]},{word:"woman",categories:["people"]},{word:"xylophone",categories:["thing"]},{word:"yacht",categories:["transportation"]},{word:"yak",categories:["animals"]},{word:"yottabyte",categories:["thing","technology"]},{word:"zebra",categories:["animals"]},{word:"zettabyte",categories:["thing","technology"]},{word:"zoo",categories:["animals"]}],adjective:[{word:"abandoned",categories:["condition"]},{word:"abiding",categories:["personality"]},{word:"able",categories:["condition"]},{word:"abrasive",categories:["condition","personality"]},{word:"abnormal",categories:["condition"]},{word:"absurd",categories:["condition"]},{word:"abundant",categories:["quantity"]},{word:"acceptable",categories:["condition"]},{word:"acidic",categories:["taste"]},{word:"acoustic",categories:["sounds"]},{word:"acrid",categories:["condition"]},{word:"adamant",categories:["personality"]},{word:"adorable",categories:["personality"]},{word:"adventurous",categories:["personality"]},{word:"aggressive",categories:["personality"]},{word:"agitated",categories:["personality"]},{word:"agreeable",categories:["personality"]},{word:"alert",categories:["condition"]},{word:"alive",categories:["condition"]},{word:"aloof",categories:["personality"]},{word:"ambitious",categories:["personality"]},{word:"ancient",categories:["time"]},{word:"angry",categories:["personality"]},{word:"annoyed",categories:["personality"]},{word:"antsy",categories:["personality"]},{word:"anxious",categories:["personality"]},{word:"appalling",categories:["personality"]},{word:"appetizing",categories:["taste"]},{word:"apprehensive",categories:["personality"]},{word:"arrogant",categories:["personality"]},{word:"ashamed",categories:["personality"]},{word:"astonishing",categories:["personality"]},{word:"attractive",categories:["appearance"]},{word:"average",categories:["appearance"]},{word:"bad",categories:["condition"]},{word:"bald",categories:["appearance"]},{word:"bashful",categories:["personality"]},{word:"beautiful",categories:["appearance"]},{word:"beefy",categories:["appearance"]},{word:"belligerent",categories:["personality"]},{word:"bent",categories:["condition"]},{word:"best",categories:["condition"]},{word:"better",categories:["condition"]},{word:"bewildered",categories:["personality"]},{word:"big",categories:["size"]},{word:"billions",categories:["quantity"]},{word:"billowy",categories:["appearance"]},{word:"bitter",categories:["taste"]},{word:"black",categories:["color"]},{word:"bland",categories:["taste"]},{word:"blue",categories:["color"]},{word:"blushing",categories:["appearance"]},{word:"bored",categories:["personality"]},{word:"boring",categories:["personality"]},{word:"boundless",categories:["personality"]},{word:"brainy",categories:["personality"]},{word:"brash",categories:["personality"]},{word:"brave",categories:["personality"]},{word:"breezy",categories:["touch"]},{word:"brief",categories:["time"]},{word:"bright",categories:["appearance"]},{word:"broad",categories:["shapes"]},{word:"broken",categories:["condition"]},{word:"brown",categories:["color"]},{word:"bulky",categories:["appearance"]},{word:"bumpy",categories:["touch"]},{word:"burly",categories:["appearance"]},{word:"busy",categories:["personality"]},{word:"cagey",categories:["personality"]},{word:"calm",categories:["personality"]},{word:"callous",categories:["personality"]},{word:"careful",categories:["condition"]},{word:"chilly",categories:["touch"]},{word:"chubby",categories:["appearance"]},{word:"clean",categories:["appearance"]},{word:"clever",categories:["condition"]},{word:"clumsy",categories:["personality"]},{word:"cold",categories:["touch"]},{word:"colossal",categories:["size"]},{word:"cool",categories:["touch"]},{word:"crashing",categories:["sounds"]},{word:"creamy",categories:["taste"]},{word:"crooked",categories:["shapes"]},{word:"cuddly",categories:["touch"]},{word:"curved",categories:["shapes"]},{word:"damaged",categories:["touch"]},{word:"damp",categories:["touch"]},{word:"dazzling",categories:["appearance"]},{word:"dead",categories:["condition"]},{word:"deafening",categories:["sounds"]},{word:"deep",categories:["shapes"]},{word:"defeated",categories:["personality"]},{word:"delicious",categories:["taste"]},{word:"delightful",categories:["personality"]},{word:"dirty",categories:["touch"]},{word:"disgusting",categories:["taste"]},{word:"drab",categories:["appearance"]},{word:"dry",categories:["touch"]},{word:"eager",categories:["personality"]},{word:"early",categories:["time"]},{word:"easy",categories:["condition"]},{word:"echoing",categories:["sounds"]},{word:"elegant",categories:["appearance"]},{word:"embarrassed",categories:["personality"]},{word:"enough",categories:["quantity"]},{word:"faint",categories:["sounds"]},{word:"faithful",categories:["personality"]},{word:"famous",categories:["condition"]},{word:"fancy",categories:["appearance"]},{word:"fast",categories:["time"]},{word:"fat",categories:["size"]},{word:"few",categories:["quantity"]},{word:"fierce",categories:["personality"]},{word:"fit",categories:["appearance"]},{word:"flabby",categories:["appearance"]},{word:"flaky",categories:["touch"]},{word:"flat",categories:["shapes"]},{word:"fluffy",categories:["touch"]},{word:"freezing",categories:["touch"]},{word:"fresh",categories:["taste"]},{word:"full",categories:["quantity"]},{word:"future",categories:["time"]},{word:"gentle",categories:["personality"]},{word:"gifted",categories:["condition"]},{word:"gigantic",categories:["size"]},{word:"glamorous",categories:["appearance"]},{word:"gorgeous",categories:["appearance"]},{word:"gray",categories:["color"]},{word:"greasy",categories:["touch","taste"]},{word:"great",categories:["size"]},{word:"green",categories:["color"]},{word:"grumpy",categories:["personality"]},{word:"hallowed",categories:["condition"]},{word:"handsome",categories:["appearance"]},{word:"happy",categories:["personality"]},{word:"harsh",categories:["sounds"]},{word:"helpful",categories:["condition"]},{word:"helpless",categories:["personality"]},{word:"high",categories:["shapes"]},{word:"hissing",categories:["sounds"]},{word:"hollow",categories:["shapes"]},{word:"hot",categories:["touch","taste"]},{word:"howling",categories:["sounds"]},{word:"huge",categories:["size"]},{word:"hundreds",categories:["quantity"]},{word:"icy",categories:["touch"]},{word:"immense",categories:["size"]},{word:"important",categories:["condition"]},{word:"incalculable",categories:["quantity"]},{word:"inexpensive",categories:["condition"]},{word:"itchy",categories:["personality"]},{word:"jealous",categories:["personality"]},{word:"jolly",categories:["personality"]},{word:"juicy",categories:["taste"]},{word:"kind",categories:["personality"]},{word:"large",categories:["size"]},{word:"late",categories:["time"]},{word:"lazy",categories:["personality"]},{word:"lemon",categories:["color"]},{word:"limited",categories:["quantity"]},{word:"little",categories:["size","quantity"]},{word:"lively",categories:["personality"]},{word:"long",categories:["time","appearance"]},{word:"loose",categories:["touch"]},{word:"loud",categories:["sounds"]},{word:"low",categories:["shapes"]},{word:"magnificent",categories:["appearance"]},{word:"mammoth",categories:["size"]},{word:"mango",categories:["color"]},{word:"many",categories:["quantity"]},{word:"massive",categories:["size"]},{word:"mealy",categories:["condition"]},{word:"melodic",categories:["sounds"]},{word:"melted",categories:["touch"]},{word:"microscopic",categories:["size"]},{word:"millions",categories:["quantity"]},{word:"miniature",categories:["size"]},{word:"modern",categories:["time"]},{word:"moldy",categories:["taste"]},{word:"most",categories:["quantity"]},{word:"muscular",categories:["appearance"]},{word:"mushy",categories:["condition"]},{word:"mysterious",categories:["personality"]},{word:"narrow",categories:["shapes"]},{word:"nervous",categories:["personality"]},{word:"nice",categories:["personality"]},{word:"noisy",categories:["sounds"]},{word:"numerous",categories:["quantity"]},{word:"nutritious",categories:["taste"]},{word:"nutty",categories:["taste"]},{word:"obedient",categories:["personality"]},{word:"obnoxious",categories:["personality"]},{word:"odd",categories:["condition"]},{word:"old",categories:["time"]},{word:"orange",categories:["color"]},{word:"panicky",categories:["personality"]},{word:"petite",categories:["size"]},{word:"pitiful",categories:["personality"]},{word:"plain",categories:["appearance"]},{word:"plump",categories:["appearance"]},{word:"polite",categories:["personality"]},{word:"poor",categories:["condition"]},{word:"powerful",categories:["condition"]},{word:"prehistoric",categories:["time"]},{word:"prickly",categories:["touch"]},{word:"proud",categories:["personality"]},{word:"puny",categories:["size"]},{word:"purple",categories:["color"]},{word:"purring",categories:["sounds"]},{word:"putrid",categories:["taste"]},{word:"quaint",categories:["appearance"]},{word:"quick",categories:["time"]},{word:"quiet",categories:["sounds"]},{word:"rancid",categories:["taste"]},{word:"rapid",categories:["time"]},{word:"rapping",categories:["sounds"]},{word:"raspy",categories:["sounds"]},{word:"red",categories:["color"]},{word:"refined",categories:["shapes"]},{word:"repulsive",categories:["personality"]},{word:"rhythmic",categories:["sounds"]},{word:"rich",categories:["condition"]},{word:"ripe",categories:["taste"]},{word:"rotten",categories:["taste"]},{word:"rough",categories:["touch"]},{word:"round",categories:["shapes"]},{word:"salmon",categories:["color"]},{word:"salty",categories:["taste"]},{word:"savory",categories:["taste"]},{word:"scarce",categories:["quantity"]},{word:"scary",categories:["personality"]},{word:"scrawny",categories:["size"]},{word:"screeching",categories:["sounds"]},{word:"scruffy",categories:["appearance"]},{word:"shaggy",categories:["touch"]},{word:"shallow",categories:["shapes"]},{word:"shapely",categories:["appearance"]},{word:"sharp",categories:["touch"]},{word:"short",categories:["size","appearance","time"]},{word:"shrilling",categories:["sounds"]},{word:"shy",categories:["condition"]},{word:"silly",categories:["personality"]},{word:"skinny",categories:["appearance","shapes"]},{word:"slimy",categories:["touch"]},{word:"slow",categories:["time"]},{word:"small",categories:["size"]},{word:"some",categories:["quantity"]},{word:"sour",categories:["taste"]},{word:"sparse",categories:["quantity"]},{word:"spicy",categories:["taste"]},{word:"spoiled",categories:["taste"]},{word:"square",categories:["shapes"]},{word:"squeaking",categories:["sounds"]},{word:"stale",categories:["taste"]},{word:"steep",categories:["shapes"]},{word:"sticky",categories:["touch"]},{word:"stocky",categories:["appearance"]},{word:"straight",categories:["shapes"]},{word:"strong",categories:["touch"]},{word:"substantial",categories:["quantity"]},{word:"sweet",categories:["taste"]},{word:"swift",categories:["time"]},{word:"tall",categories:["size"]},{word:"tangy",categories:["taste"]},{word:"tart",categories:["taste"]},{word:"tasteless",categories:["taste"]},{word:"tasty",categories:["taste"]},{word:"teeny",categories:["size"]},{word:"tender",categories:["condition"]},{word:"thankful",categories:["personality"]},{word:"thoughtless",categories:["personality"]},{word:"thousands",categories:["quantity"]},{word:"thundering",categories:["sounds"]},{word:"tight",categories:["touch"]},{word:"tinkling",categories:["sounds"]},{word:"tiny",categories:["size"]},{word:"ugly",categories:["appearance"]},{word:"uneven",categories:["touch"]},{word:"unimportant",categories:["condition"]},{word:"uninterested",categories:["condition"]},{word:"unkempt",categories:["appearance"]},{word:"unsightly",categories:["appearance"]},{word:"uptight",categories:["personality"]},{word:"vast",categories:["condition"]},{word:"victorious",categories:["personality"]},{word:"wailing",categories:["sounds"]},{word:"warm",categories:["touch"]},{word:"weak",categories:["touch"]},{word:"wet",categories:["touch"]},{word:"whining",categories:["sounds"]},{word:"whispering",categories:["sounds"]},{word:"white",categories:["color"]},{word:"wide",categories:["shapes"]},{word:"witty",categories:["personality"]},{word:"wonderful",categories:["personality"]},{word:"wooden",categories:["touch"]},{word:"worried",categories:["personality"]},{word:"wrong",categories:["condition"]},{word:"yellow",categories:["color"]},{word:"young",categories:["time"]},{word:"yummy",categories:["taste"]},{word:"zealous",categories:["personality"]}]};function o(s,r){var i,a;r===void 0&&(r=[]);var n=new Set(r),l=[];try{for(var u=t(e.wordList[s]),c=u.next();!c.done;c=u.next()){var h=c.value;(r.length===0||h.categories.some(function(f){return n.has(f)}))&&l.push(h.word)}}catch(f){i={error:f}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return l}e.getWordsByCategory=o})(X)),X}var nt;function Ts(){if(nt)return N;nt=1;var e=N&&N.__assign||function(){return e=Object.assign||function(n){for(var l,u=1,c=arguments.length;u<c;u++){l=arguments[u];for(var h in l)Object.prototype.hasOwnProperty.call(l,h)&&(n[h]=l[h])}return n},e.apply(this,arguments)};Object.defineProperty(N,"__esModule",{value:!0}),N.totalUniqueSlugs=N.generateSlug=void 0;var t=Ss(),o=3;function s(n,l){for(var u=n||o,c={partsOfSpeech:r(u),categories:{},format:"kebab"},h=e(e({},c),l),f=[],d=0;d<u;d++){var p=h.partsOfSpeech[d],g=t.getWordsByCategory(h.partsOfSpeech[d],h.categories[p]),w=g[Math.floor(Math.random()*g.length)];f.push(w)}return i(f,h.format)}N.generateSlug=s;function r(n){for(var l=[],u=0;u<n-1;u++)l.push("adjective");return l.push("noun"),l}function i(n,l){return l==="kebab"?n.join("-").toLowerCase():l==="camel"?n.map(function(u,c){return c===0?u.toLowerCase():u[0].toUpperCase()+u.slice(1).toLowerCase()}).join(""):l==="lower"?n.join(" ").toLowerCase():l==="sentence"?n.map(function(u,c){return c===0?u[0].toUpperCase()+u.slice(1).toLowerCase():u}).join(" "):n.map(function(u){return u[0].toUpperCase()+u.slice(1).toLowerCase()}).join(" ")}function a(n,l){for(var u,c,h=t.getWordsByCategory("adjective",(u=l?.categories)===null||u===void 0?void 0:u.adjective).length,f=t.getWordsByCategory("noun",(c=l?.categories)===null||c===void 0?void 0:c.noun).length,d={adjective:h,noun:f},p=n||o,g=l?.partsOfSpeech||r(p),w=1,y=0;y<p;y++)w*=d[g[y]];return w}return N.totalUniqueSlugs=a,N}var Pe=Ts();const at=!0,ct=(e,t)=>[...e].reverse().map(o=>({node:o,parent:t,siblings:e})),Ps=(e,{branch:t="branch",children:o="children",id:s="id",index:r="index",next:i="next",parent:a="parent",prev:n="prev",siblings:l="siblings"}={})=>{const u={[t]:{get(){const p=[this];for(;p[0]?.[a];)p.unshift(p[0][a]);return p}},[r]:{get(){return this[l].findIndex(p=>this[s]===p[s])}},[i]:{get(){return this[l][this[r]+1]}},[n]:{get(){return this[l][this[r]-1]}}},c=function*(p){const g=ct(p.value);for(;g.length;){const{node:w,parent:y,siblings:m}=g.pop()??{};w&&(w[a]!==y&&Object.defineProperty(w,a,{configurable:at,value:y}),w[l]!==m&&Object.defineProperty(w,l,{configurable:at,value:m}),Object.keys(u).some(_=>!(_ in w))&&Object.defineProperties(w,u),yield w,g.push(...ct(w[o]??[],w)))}},h=j(()=>[...c(P(e))]),f=j(()=>Object.fromEntries(h.value.map(p=>[p[s],p]))),d=(p,g)=>{const w=f.value[p];if(w){const[y]=h.value,m=w[r],_=w[i],b=m+1,T=w[a],A=w[n],O=m-1,k=w[l];switch(g){case"add":{const v=Pe.generateSlug();return k.splice(b,0,{[s]:v}),v}case"addChild":{const v=Pe.generateSlug();return Array.isArray(w[o])||(w[o]=[]),w[o].unshift({[s]:v}),v}case"down":m<k.length-1&&k[m]&&k[b]&&([k[m],k[b]]=[k[b],k[m]]);break;case"left":if(T?.[a])return T[l].splice(T[r]+1,0,...k.splice(m,1)),T[s];break;case"remove":{const v=_?.[s]??A?.[s]??T?.[s]??y?.[s];return k.splice(m,1),v}case"right":if(A){const v=A[o]??[],M=A[s];return A[o]=[...v,...k.splice(m,1)],M}break;case"up":m&&k[m]&&k[O]&&([k[O],k[m]]=[k[m],k[O]]);break}}};return{add:p=>d(p,"add"),addChild:p=>d(p,"addChild"),down:p=>d(p,"down"),kvNodes:f,left:p=>d(p,"left"),nodes:h,remove:p=>d(p,"remove"),right:p=>d(p,"right"),up:p=>d(p,"up")}};var Es=Fo();const Cs=Pt(Es);var js=Io();const Dt=Pt(js),L={fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY},lt={silent:{level:-1},fatal:{level:L.fatal},error:{level:L.error},warn:{level:L.warn},log:{level:L.log},info:{level:L.info},success:{level:L.success},fail:{level:L.fail},ready:{level:L.info},start:{level:L.info},box:{level:L.info},debug:{level:L.debug},trace:{level:L.trace},verbose:{level:L.verbose}};function he(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Ee(e,t,o=".",s){if(!he(t))return Ee(e,{},o);const r=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const a=e[i];a!=null&&(Array.isArray(a)&&Array.isArray(r[i])?r[i]=[...a,...r[i]]:he(a)&&he(r[i])?r[i]=Ee(a,r[i],(o?`${o}.`:"")+i.toString()):r[i]=a)}return r}function Os(e){return(...t)=>t.reduce((o,s)=>Ee(o,s,""),{})}const $s=Os();function Ls(e){return Object.prototype.toString.call(e)==="[object Object]"}function As(e){return!(!Ls(e)||!e.message&&!e.args||e.stack)}let we=!1;const dt=[];class E{options;_lastLog;_mockFn;constructor(t={}){const o=t.types||lt;this.options=$s({...t,defaults:{...t.defaults},level:me(t.level,o),reporters:[...t.reporters||[]]},{types:lt,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}});for(const s in o){const r={type:s,...this.options.defaults,...o[s]};this[s]=this._wrapLogFn(r),this[s].raw=this._wrapLogFn(r,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(t){this.options.level=me(t,this.options.types,this.options.level)}prompt(t,o){if(!this.options.prompt)throw new Error("prompt is not supported!");return this.options.prompt(t,o)}create(t){const o=new E({...this.options,...t});return this._mockFn&&o.mockTypes(this._mockFn),o}withDefaults(t){return this.create({...this.options,defaults:{...this.options.defaults,...t}})}withTag(t){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+t:t})}addReporter(t){return this.options.reporters.push(t),this}removeReporter(t){if(t){const o=this.options.reporters.indexOf(t);if(o!==-1)return this.options.reporters.splice(o,1)}else this.options.reporters.splice(0);return this}setReporters(t){return this.options.reporters=Array.isArray(t)?t:[t],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const t in this.options.types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}restoreConsole(){for(const t in this.options.types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(t,o){t&&(t.__write||(t.__write=t.write),t.write=s=>{this[o].raw(String(s).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}pauseLogs(){we=!0}resumeLogs(){we=!1;const t=dt.splice(0);for(const o of t)o[0]._logFn(o[1],o[2])}mockTypes(t){const o=t||this.options.mockFn;if(this._mockFn=o,typeof o=="function")for(const s in this.options.types)this[s]=o(s,this.options.types[s])||this[s],this[s].raw=this[s]}_wrapLogFn(t,o){return(...s)=>{if(we){dt.push([this,t,s,o]);return}return this._logFn(t,s,o)}}_logFn(t,o,s){if((t.level||0)>this.level)return!1;const r={date:new Date,args:[],...t,level:me(t.level,this.options.types)};!s&&o.length===1&&As(o[0])?Object.assign(r,o[0]):r.args=[...o],r.message&&(r.args.unshift(r.message),delete r.message),r.additional&&(Array.isArray(r.additional)||(r.additional=r.additional.split(`
|
|
2
2
|
`)),r.args.push(`
|
|
3
3
|
`+r.additional.join(`
|
|
4
4
|
`)),delete r.additional),r.type=typeof r.type=="string"?r.type.toLowerCase():"log",r.tag=typeof r.tag=="string"?r.tag:"";const i=(n=!1)=>{const l=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&l>0){const u=[...this._lastLog.object.args];l>1&&u.push(`(repeated ${l} times)`),this._log({...this._lastLog.object,args:u}),this._lastLog.count=1}n&&(this._lastLog.object=r,this._log(r))};clearTimeout(this._lastLog.timeout);const a=this._lastLog.time&&r.date?r.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=r.date,a<this.options.throttle)try{const n=JSON.stringify([r.type,r.tag,r.args]),l=this._lastLog.serialized===n;if(this._lastLog.serialized=n,l&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin)){this._lastLog.timeout=setTimeout(i,this.options.throttle);return}}catch{}i(!0)}_log(t){for(const o of this.options.reporters)o.log(t,{options:this.options})}}function me(e,t={},o=3){return e===void 0?o:typeof e=="number"?e:t[e]&&t[e].level!==void 0?t[e].level:o}E.prototype.add=E.prototype.addReporter;E.prototype.remove=E.prototype.removeReporter;E.prototype.clear=E.prototype.removeReporter;E.prototype.withScope=E.prototype.withTag;E.prototype.mock=E.prototype.mockTypes;E.prototype.pause=E.prototype.pauseLogs;E.prototype.resume=E.prototype.resumeLogs;function Ms(e={}){return new E(e)}class xs{options;defaultColor;levelColorMap;typeColorMap;constructor(t){this.options={...t},this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}_getLogFn(t){return t<1?console.__error||console.error:t===1?console.__warn||console.warn:console.__log||console.log}log(t){const o=this._getLogFn(t.level),s=t.type==="log"?"":t.type,r=t.tag||"",a=`
|
|
@@ -7,9 +7,12 @@ import{toValue as S,isRef as Y,hasInjectionContext as ao,inject as co,ref as de,
|
|
|
7
7
|
color: white;
|
|
8
8
|
font-weight: bold;
|
|
9
9
|
padding: 2px 0.5em;
|
|
10
|
-
`,n=`%c${[r,s].filter(Boolean).join(":")}`;typeof t.args[0]=="string"?o(`${n}%c ${t.args[0]}`,a,"",...t.args.slice(1)):o(n,a,...t.args)}}function Rs(e={}){return Ms({reporters:e.reporters||[new xs({})],prompt(o,s={}){return s.type==="confirm"?Promise.resolve(confirm(o)):Promise.resolve(prompt(o))},...e})}const ze=Rs(),Hs=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,zs=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Ns=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Ds(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Fs(e);return}return t}function Fs(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Is(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const o=e.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Ns.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Hs.test(e)||zs.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ds)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const qs=/#/g,Ws=/&/g,Us=/\//g,Vs=/=/g,Ne=/\+/g,Bs=/%5e/gi,Gs=/%60/gi,Js=/%7c/gi,Ks=/%20/gi;function Qs(e){return encodeURI(""+e).replace(Js,"|")}function Ce(e){return Qs(typeof e=="string"?e:JSON.stringify(e)).replace(Ne,"%2B").replace(Ks,"+").replace(qs,"%23").replace(Ws,"%26").replace(Gs,"`").replace(Bs,"^").replace(Us,"%2F")}function ye(e){return Ce(e).replace(Vs,"%3D")}function Ft(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Xs(e){return Ft(e.replace(Ne," "))}function Ys(e){return Ft(e.replace(Ne," "))}function Zs(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const o of e.split("&")){const s=o.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const r=Xs(s[1]);if(r==="__proto__"||r==="constructor")continue;const i=Ys(s[2]||"");t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function ei(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(o=>`${ye(e)}=${Ce(o)}`).join("&"):`${ye(e)}=${Ce(t)}`:ye(e)}function ti(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ei(t,e[t])).filter(Boolean).join("&")}const oi=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,ri=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,si=/^([/\\]\s*){2,}[^/\\]/,ii=/^\.?\//;function It(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?oi.test(e):ri.test(e)||(t.acceptRelative?si.test(e):!1)}function ni(e="",t){return e.endsWith("/")}function ai(e="",t){return(ni(e)?e.slice(0,-1):e)||"/"}function ci(e="",t){return e.endsWith("/")?e:e+"/"}function li(e,t){if(ui(t)||It(e))return e;const o=ai(t);return e.startsWith(o)?e:gi(o,e)}function di(e,t){const o=fi(e),s={...Zs(o.search),...t};return o.search=ti(s),hi(o)}function ui(e){return!e||e==="/"}function pi(e){return e&&e!=="/"}function gi(e,...t){let o=e||"";for(const s of t.filter(r=>pi(r)))if(o){const r=s.replace(ii,"");o=ci(o)+r}else o=s;return o}const qt=Symbol.for("ufo:protocolRelative");function fi(e="",t){const o=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(o){const[,h,f=""]=o;return{protocol:h.toLowerCase(),pathname:f,href:h+f,auth:"",host:"",search:"",hash:""}}if(!It(e,{acceptRelative:!0}))return ut(e);const[,s="",r,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,a="",n=""]=i.match(/([^#/?]*)(.*)?/)||[];s==="file:"&&(n=n.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=ut(n);return{protocol:s.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:a,pathname:l,search:u,hash:c,[qt]:!s}}function ut(e=""){const[t="",o="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:o,hash:s}}function hi(e){const t=e.pathname||"",o=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",r=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[qt]?(e.protocol||"")+"//":"")+r+i+t+o+s}class Wt extends Error{constructor(t,o){super(t,o),this.name="FetchError",o?.cause&&!this.cause&&(this.cause=o.cause)}}function Ut(e){const t=e.error?.message||e.error?.toString()||"",o=e.request?.method||e.options?.method||"GET",s=e.request?.url||String(e.request)||"/",r=`[${o}] ${JSON.stringify(s)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",a=`${r}: ${i}${t?` ${t}`:""}`,n=new Wt(a,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(n,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(n,l,{get(){return e.response&&e.response[u]}});return n}const wi=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function pt(e="GET"){return wi.has(e.toUpperCase())}function mi(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const yi=new Set(["image/svg","application/xml","application/xhtml","application/html"]),vi=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function bi(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return vi.test(t)?"json":t==="text/event-stream"?"stream":yi.has(t)||t.startsWith("text/")?"text":"blob"}function _i(e,t,o,s){const r=ki(t?.headers??e?.headers,o?.headers,s);let i;return(o?.query||o?.params||t?.params||t?.query)&&(i={...o?.params,...o?.query,...t?.params,...t?.query}),{...o,...t,query:i,params:i,headers:r}}function ki(e,t,o){if(!t)return new o(e);const s=new o(t);if(e)for(const[r,i]of Symbol.iterator in e||Array.isArray(e)?e:new o(e))s.set(r,i);return s}async function se(e,t){if(t)if(Array.isArray(t))for(const o of t)await o(e);else await t(e)}const Si=new Set([408,409,425,429,500,502,503,504]),Ti=new Set([101,204,205,304]);function De(e={}){const{fetch:t=globalThis.fetch,Headers:o=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function r(n){const l=n.error&&n.error.name==="AbortError"&&!n.options.timeout||!1;if(n.options.retry!==!1&&!l){let c;typeof n.options.retry=="number"?c=n.options.retry:c=pt(n.options.method)?0:1;const h=n.response&&n.response.status||500;if(c>0&&(Array.isArray(n.options.retryStatusCodes)?n.options.retryStatusCodes.includes(h):Si.has(h))){const f=typeof n.options.retryDelay=="function"?n.options.retryDelay(n):n.options.retryDelay||0;return f>0&&await new Promise(d=>setTimeout(d,f)),i(n.request,{...n.options,retry:c-1})}}const u=Ut(n);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(l,u={}){const c={request:l,options:_i(l,u,e.defaults,o),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await se(c,c.options.onRequest),c.options.headers instanceof o||(c.options.headers=new o(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=li(c.request,c.options.baseURL)),c.options.query&&(c.request=di(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&pt(c.options.method))if(mi(c.options.body)){const d=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),d||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let h;if(!c.options.signal&&c.options.timeout){const d=new s;h=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,d.abort(p)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await se(c,c.options.onRequestError),await r(c)}finally{h&&clearTimeout(h)}if((c.response.body||c.response._bodyInit)&&!Ti.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||bi(c.response.headers.get("content-type")||"");switch(d){case"json":{const p=await c.response.text(),g=c.options.parseResponse||Is;c.response._data=g(p);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await se(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await se(c,c.options.onResponseError),await r(c)):c.response},a=async function(l,u){return(await i(l,u))._data};return a.raw=i,a.native=(...n)=>t(...n),a.create=(n={},l={})=>De({...e,...l,defaults:{...e.defaults,...l.defaults,...n}}),a}const le=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),Vt=le.fetch?(...e)=>le.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Bt=le.Headers,Gt=le.AbortController,Fe=De({fetch:Vt,Headers:Bt,AbortController:Gt}),Pi=Fe,Ei=Object.freeze(Object.defineProperty({__proto__:null,$fetch:Pi,AbortController:Gt,FetchError:Wt,Headers:Bt,createFetch:De,createFetchError:Ut,fetch:Vt,ofetch:Fe},Symbol.toStringTag,{value:"Module"})),Ci={$id:"credentials",additionalProperties:{properties:{accessKeyId:{default:null,nullable:!0,type:"string"},Bucket:{default:null,nullable:!0,type:"string"},endpoint:{default:null,nullable:!0,type:"string"},region:{default:null,nullable:!0,type:"string"},secretAccessKey:{default:null,nullable:!0,type:"string"}},type:"object"},type:"object"},ji={$id:"log",additionalProperties:!1,properties:{messages:{default:[],items:{additionalProperties:!1,properties:{content:{default:[],items:{additionalProperties:!1,properties:{text:{default:"",type:"string"},type:{default:"text",type:"string"}},type:"object"},type:"array"},role:{default:"user",enum:["user","assistant","system"],type:"string"}},type:"object"},type:"array"},system:{default:"",type:"string"}},type:"object"},Oi={$id:"nodes",items:{$ref:"page"},type:"array"},Li={$id:"page",additionalProperties:!1,dynamicDefaults:{id:"uuid"},properties:{children:{default:[],items:{type:"object"},type:"array"},frontmatter:{default:{},type:"object"},id:{type:"string"},name:{default:null,nullable:!0,type:"string"}},type:"object"};Dt.DEFAULTS.uuid=()=>Pe.generateSlug;const Jt=[Ci,Oi,Li,ji],$i=new Cs({code:{esm:!0},coerceTypes:!0,keywords:[Dt()],removeAdditional:!0,schemas:Jt,useDefaults:!0}),je=ue(V({credentials:{},log:{}})),Kt=!0,gt="nodes",ft={$children:{get(){return this.children.filter(({frontmatter:{hidden:e}})=>!e)}},$index:{get(){return this.$siblings.findIndex(({id:e})=>this.id===e)}},$next:{get(){return this.$siblings[this.$index+1]}},$prev:{get(){return this.$siblings[this.$index-1]}},$siblings:{get(){return this.siblings.filter(({frontmatter:{hidden:e}})=>!e)}},path:{get(){const e=this.branch.slice(1);return e.some(({name:t})=>!t)?void 0:e.map(({name:t})=>t).join("/").replace(/ /g,"_")}},to:{get(){return this.path?.replace(/^\/?/,"/").replace(/\/?$/,"/")}}},Oe=de([]),Le=Object.fromEntries(Jt.map(({$id:e})=>[e,$i.getSchema(e)])),Qt=async e=>{try{return await Fe(e)}catch(t){ze.error(t)}},I=V({...je,tree:Oe,...Ps(Oe)});Object.keys(je).forEach(e=>{Le[e]&&H(je[e],Le[e],{immediate:Kt})});H(P(I,gt),async e=>{await Le[gt]?.(e)?e.forEach(t=>{Object.keys(ft).some(o=>!(o in t))&&Object.defineProperties(t,ft)}):Oe.value=[{}]},{immediate:Kt});function Ie(e,t){return go()?(fo(e,t),!0):!1}const Xt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Yt=e=>e!=null,Ai=Object.prototype.toString,Mi=e=>Ai.call(e)==="[object Object]",R=()=>{},ht=xi();function xi(){var e,t,o;return Xt&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((o=window)===null||o===void 0?void 0:o.navigator.userAgent))}function Ri(...e){if(e.length!==1)return P(...e);const t=e[0];return typeof t=="function"?ho(wo(()=>({get:t,set:R}))):de(t)}function Zt(e,t){function o(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return o}function Hi(e,t={}){let o,s,r=R;const i=l=>{clearTimeout(l),r(),r=R};let a;return l=>{const u=S(e),c=S(t.maxWait);return o&&i(o),u<=0||c!==void 0&&c<=0?(s&&(i(s),s=void 0),Promise.resolve(l())):new Promise((h,f)=>{r=t.rejectOnCancel?f:h,a=l,c&&!s&&(s=setTimeout(()=>{o&&i(o),s=void 0,h(a())},c)),o=setTimeout(()=>{s&&i(s),s=void 0,h(l())},u)})}}function zi(...e){let t=0,o,s=!0,r=R,i,a,n,l,u;!Y(e[0])&&typeof e[0]=="object"?{delay:a,trailing:n=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[a,n=!0,l=!0,u=!1]=e;const c=()=>{o&&(clearTimeout(o),o=void 0,r(),r=R)};return f=>{const d=S(a),p=Date.now()-t,g=()=>i=f();return c(),d<=0?(t=Date.now(),g()):(p>d?(t=Date.now(),(l||!s)&&g()):n&&(i=new Promise((w,y)=>{r=u?y:w,o=setTimeout(()=>{t=Date.now(),s=!0,w(g()),c()},Math.max(0,d-p))})),!l&&!o&&(o=setTimeout(()=>s=!0,d)),s=!1,i)}}function Z(e){return Array.isArray(e)?e:[e]}function Ni(e){return Me()}function Di(e){return Y(e)?V(new Proxy({},{get(t,o,s){return U(Reflect.get(e.value,o,s))},set(t,o,s){return Y(e.value[o])&&!Y(s)?e.value[o].value=s:e.value[o]=s,!0},deleteProperty(t,o){return Reflect.deleteProperty(e.value,o)},has(t,o){return Reflect.has(e.value,o)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):V(e)}function Fi(e,t=200,o={}){return Zt(Hi(t,o),e)}function Ii(e,t=200,o=!1,s=!0,r=!1){return Zt(zi(t,o,s,r),e)}function qi(e,t=!0,o){Ni()?St(e,o):t?e():po(e)}function Wi(e,t,o){return H(e,t,{...o,immediate:!0})}function Ui(e,t,o){return H(e,t,{...o,once:!0})}const oe=Xt?window:void 0;function J(e){var t;const o=S(e);return(t=o?.$el)!==null&&t!==void 0?t:o}function $e(...e){const t=(s,r,i,a)=>(s.addEventListener(r,i,a),()=>s.removeEventListener(r,i,a)),o=j(()=>{const s=Z(S(e[0])).filter(r=>r!=null);return s.every(r=>typeof r!="string")?s:void 0});return Wi(()=>{var s,r;return[(s=(r=o.value)===null||r===void 0?void 0:r.map(i=>J(i)))!==null&&s!==void 0?s:[oe].filter(i=>i!=null),Z(S(o.value?e[1]:e[0])),Z(U(o.value?e[2]:e[1])),S(o.value?e[3]:e[2])]},([s,r,i,a],n,l)=>{if(!s?.length||!r?.length||!i?.length)return;const u=Mi(a)?{...a}:a,c=s.flatMap(h=>r.flatMap(f=>i.map(d=>t(h,f,d,u))));l(()=>{c.forEach(h=>h())})},{flush:"post"})}function Vi(){const e=F(!1),t=Me();return t&&St(()=>{e.value=!0},t),e}function eo(e){const t=Vi();return j(()=>(t.value,!!e()))}function Bi(e,t,o={}){const{window:s=oe,...r}=o;let i;const a=eo(()=>s&&"MutationObserver"in s),n=()=>{i&&(i.disconnect(),i=void 0)},l=H(j(()=>{const h=Z(S(e)).map(J).filter(Yt);return new Set(h)}),h=>{n(),a.value&&h.size&&(i=new MutationObserver(t),h.forEach(f=>i.observe(f,r)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),c=()=>{l(),n()};return Ie(c),{isSupported:a,stop:c,takeRecords:u}}function Gi(e,t,o={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:a=oe,immediate:n=!0}=o,l=eo(()=>a&&"IntersectionObserver"in a),u=j(()=>Z(S(e)).map(J).filter(Yt));let c=R;const h=F(n),f=l.value?H(()=>[u.value,J(s),h.value],([p,g])=>{if(c(),!h.value||!p.length)return;const w=new IntersectionObserver(t,{root:J(g),rootMargin:r,threshold:i});p.forEach(y=>y&&w.observe(y)),c=()=>{w.disconnect(),c=R}},{immediate:n,flush:"post"}):R,d=()=>{c(),f(),h.value=!1};return Ie(d),{isSupported:l,isActive:h,pause(){c(),h.value=!1},resume(){h.value=!0},stop:d}}function wt(e,t={}){const{window:o=oe,scrollTarget:s,threshold:r=0,rootMargin:i,once:a=!1,initialValue:n=!1}=t,l=F(n),{stop:u}=Gi(e,c=>{let h=l.value,f=0;for(const d of c)d.time>=f&&(f=d.time,h=d.isIntersecting);l.value=h,a&&Ui(l,()=>{u()})},{root:s,window:o,threshold:r,rootMargin:S(i)});return l}function ve(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const mt=1;function Ji(e,t={}){const{throttle:o=0,idle:s=200,onStop:r=R,onScroll:i=R,offset:a={left:0,right:0,top:0,bottom:0},observe:n={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:u="auto",window:c=oe,onError:h=v=>{console.error(v)}}=t,f=typeof n=="boolean"?{mutation:n}:n,d=F(0),p=F(0),g=j({get(){return d.value},set(v){y(v,void 0)}}),w=j({get(){return p.value},set(v){y(void 0,v)}});function y(v,M){var x,B,G,K;if(!c)return;const L=S(e);if(!L)return;(x=L instanceof Document?c.document.body:L)===null||x===void 0||x.scrollTo({top:(B=S(M))!==null&&B!==void 0?B:w.value,left:(G=S(v))!==null&&G!==void 0?G:g.value,behavior:S(u)});const D=(L==null||(K=L.document)===null||K===void 0?void 0:K.documentElement)||L?.documentElement||L;g!=null&&(d.value=D.scrollLeft),w!=null&&(p.value=D.scrollTop)}const m=F(!1),_=V({left:!0,right:!1,top:!0,bottom:!1}),b=V({left:!1,right:!1,top:!1,bottom:!1}),T=v=>{m.value&&(m.value=!1,b.left=!1,b.right=!1,b.top=!1,b.bottom=!1,r(v))},A=Fi(T,o+s),O=v=>{var M;if(!c)return;const x=(v==null||(M=v.document)===null||M===void 0?void 0:M.documentElement)||v?.documentElement||J(v),{display:B,flexDirection:G,direction:K}=c.getComputedStyle(x),L=K==="rtl"?-1:1,D=x.scrollLeft;b.left=D<d.value,b.right=D>d.value;const qe=Math.abs(D*L)<=(a.left||0),We=Math.abs(D*L)+x.clientWidth>=x.scrollWidth-(a.right||0)-mt;B==="flex"&&G==="row-reverse"?(_.left=We,_.right=qe):(_.left=qe,_.right=We),d.value=D;let q=x.scrollTop;v===c.document&&!q&&(q=c.document.body.scrollTop),b.top=q<p.value,b.bottom=q>p.value;const Ue=Math.abs(q)<=(a.top||0),Ve=Math.abs(q)+x.clientHeight>=x.scrollHeight-(a.bottom||0)-mt;B==="flex"&&G==="column-reverse"?(_.top=Ve,_.bottom=Ue):(_.top=Ue,_.bottom=Ve),p.value=q},k=v=>{var M;c&&(O((M=v.target.documentElement)!==null&&M!==void 0?M:v.target),m.value=!0,A(v),i(v))};return $e(e,"scroll",o?Ii(k,o,!0,!1):k,l),qi(()=>{try{const v=S(e);if(!v)return;O(v)}catch(v){h(v)}}),f?.mutation&&e!=null&&e!==c&&e!==document&&Bi(e,()=>{const v=S(e);v&&O(v)},{attributes:!0,childList:!0,subtree:!0}),$e(e,"scrollend",T,l),{x:g,y:w,isScrolling:m,arrivedState:_,directions:b,measure(){const v=S(e);c&&v&&O(v)}}}function to(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const o=e.parentNode;return!o||o.tagName==="BODY"?!1:to(o)}}function Ki(e){const t=e||window.event,o=t.target;return to(o)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const be=new WeakMap;function Qi(e,t=!1){const o=F(t);let s=null,r="";H(Ri(e),n=>{const l=ve(S(n));if(l){const u=l;if(be.get(u)||be.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(r=u.style.overflow),u.style.overflow==="hidden")return o.value=!0;if(o.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const n=ve(S(e));!n||o.value||(ht&&(s=$e(n,"touchmove",l=>{Ki(l)},{passive:!1})),n.style.overflow="hidden",o.value=!0)},a=()=>{const n=ve(S(e));!n||!o.value||(ht&&s?.(),n.style.overflow=r,be.delete(n),o.value=!1)};return Ie(a),j({get(){return o.value},set(n){n?i():a()}})}const Xi=te({__name:"App",setup(e){const t=P(I,"kvNodes"),o=P(I,"nodes"),s=qo(),r=j(()=>t.value[s.name]?.frontmatter);return $t(r,{mode:"client"}),(i,a)=>{const n=mo("router-view");return N(),ee(n,null,{default:xe(({Component:l})=>[(N(),ee(Re(l),{id:o.value[0]?.id},null,8,["id"]))]),_:1})}}});let _e=!1;const oo=ue(I),Yi=P(oo,"kvNodes"),yt=P(oo,"nodes"),Zi=Vo({html:!0,linkify:!0,typographer:!0}).use(Bo,{transform(e){switch(e.type){case"link_close":_e&&(e.tag="RouterLink",_e=!1);break;case"link_open":{const t=e.attrGet("href")??"/";URL.canParse(t)||(e.tag="RouterLink",e.attrSet("to",t),e.attrs?.splice(e.attrIndex("href"),1),_e=!0);break}}}}).use(Go).use(Jo).use(Ko).use(Qo).use(Xo).use(Yo).use(Zo).use(er).use(tr).use(or).use(rr).use(sr).use(ir).use(nr).use(ar).use(cr).use(lr).use(dr).use(ur).use(pr).use(gr).use(fr).use(hr).use(wr),{transform:en}=zo(),ro=()=>{let e,t;return{promise:new Promise((s,r)=>{e=s,t=r}),reject:t,resolve:e}},C=V({$these:j(()=>C.these.filter(({frontmatter:{hidden:e}})=>!e)),intersecting:new Map,module:e=>yo(async()=>{const t={},{uno:o}=C;Zi.render(await Qt(`./docs/${e}.md`)??"",t);const s=t.sfcBlocks?.styles.map(({contentStripped:r,tagClose:i,tagOpen:a})=>({contentStripped:new No(r),tagClose:i,tagOpen:a}))??[];return await Promise.all(s.map(async({contentStripped:r})=>await en(r,e,{uno:o}))),mr(`${t.sfcBlocks?.template?.content??""}
|
|
10
|
+
`,n=`%c${[r,s].filter(Boolean).join(":")}`;typeof t.args[0]=="string"?o(`${n}%c ${t.args[0]}`,a,"",...t.args.slice(1)):o(n,a,...t.args)}}function Rs(e={}){return Ms({reporters:e.reporters||[new xs({})],prompt(o,s={}){return s.type==="confirm"?Promise.resolve(confirm(o)):Promise.resolve(prompt(o))},...e})}const Ne=Rs(),Hs=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Ns=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,zs=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Ds(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Fs(e);return}return t}function Fs(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Is(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const o=e.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!zs.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Hs.test(e)||Ns.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ds)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const qs=/#/g,Ws=/&/g,Us=/\//g,Vs=/=/g,ze=/\+/g,Bs=/%5e/gi,Gs=/%60/gi,Js=/%7c/gi,Ks=/%20/gi;function Qs(e){return encodeURI(""+e).replace(Js,"|")}function Ce(e){return Qs(typeof e=="string"?e:JSON.stringify(e)).replace(ze,"%2B").replace(Ks,"+").replace(qs,"%23").replace(Ws,"%26").replace(Gs,"`").replace(Bs,"^").replace(Us,"%2F")}function ye(e){return Ce(e).replace(Vs,"%3D")}function Ft(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Xs(e){return Ft(e.replace(ze," "))}function Ys(e){return Ft(e.replace(ze," "))}function Zs(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const o of e.split("&")){const s=o.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const r=Xs(s[1]);if(r==="__proto__"||r==="constructor")continue;const i=Ys(s[2]||"");t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function ei(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(o=>`${ye(e)}=${Ce(o)}`).join("&"):`${ye(e)}=${Ce(t)}`:ye(e)}function ti(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ei(t,e[t])).filter(Boolean).join("&")}const oi=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,ri=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,si=/^([/\\]\s*){2,}[^/\\]/,ii=/^\.?\//;function It(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?oi.test(e):ri.test(e)||(t.acceptRelative?si.test(e):!1)}function ni(e="",t){return e.endsWith("/")}function ai(e="",t){return(ni(e)?e.slice(0,-1):e)||"/"}function ci(e="",t){return e.endsWith("/")?e:e+"/"}function li(e,t){if(ui(t)||It(e))return e;const o=ai(t);return e.startsWith(o)?e:gi(o,e)}function di(e,t){const o=fi(e),s={...Zs(o.search),...t};return o.search=ti(s),hi(o)}function ui(e){return!e||e==="/"}function pi(e){return e&&e!=="/"}function gi(e,...t){let o=e||"";for(const s of t.filter(r=>pi(r)))if(o){const r=s.replace(ii,"");o=ci(o)+r}else o=s;return o}const qt=Symbol.for("ufo:protocolRelative");function fi(e="",t){const o=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(o){const[,h,f=""]=o;return{protocol:h.toLowerCase(),pathname:f,href:h+f,auth:"",host:"",search:"",hash:""}}if(!It(e,{acceptRelative:!0}))return ut(e);const[,s="",r,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,a="",n=""]=i.match(/([^#/?]*)(.*)?/)||[];s==="file:"&&(n=n.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=ut(n);return{protocol:s.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:a,pathname:l,search:u,hash:c,[qt]:!s}}function ut(e=""){const[t="",o="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:o,hash:s}}function hi(e){const t=e.pathname||"",o=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",r=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[qt]?(e.protocol||"")+"//":"")+r+i+t+o+s}class Wt extends Error{constructor(t,o){super(t,o),this.name="FetchError",o?.cause&&!this.cause&&(this.cause=o.cause)}}function Ut(e){const t=e.error?.message||e.error?.toString()||"",o=e.request?.method||e.options?.method||"GET",s=e.request?.url||String(e.request)||"/",r=`[${o}] ${JSON.stringify(s)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",a=`${r}: ${i}${t?` ${t}`:""}`,n=new Wt(a,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(n,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(n,l,{get(){return e.response&&e.response[u]}});return n}const wi=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function pt(e="GET"){return wi.has(e.toUpperCase())}function mi(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const yi=new Set(["image/svg","application/xml","application/xhtml","application/html"]),vi=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function bi(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return vi.test(t)?"json":t==="text/event-stream"?"stream":yi.has(t)||t.startsWith("text/")?"text":"blob"}function _i(e,t,o,s){const r=ki(t?.headers??e?.headers,o?.headers,s);let i;return(o?.query||o?.params||t?.params||t?.query)&&(i={...o?.params,...o?.query,...t?.params,...t?.query}),{...o,...t,query:i,params:i,headers:r}}function ki(e,t,o){if(!t)return new o(e);const s=new o(t);if(e)for(const[r,i]of Symbol.iterator in e||Array.isArray(e)?e:new o(e))s.set(r,i);return s}async function se(e,t){if(t)if(Array.isArray(t))for(const o of t)await o(e);else await t(e)}const Si=new Set([408,409,425,429,500,502,503,504]),Ti=new Set([101,204,205,304]);function De(e={}){const{fetch:t=globalThis.fetch,Headers:o=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function r(n){const l=n.error&&n.error.name==="AbortError"&&!n.options.timeout||!1;if(n.options.retry!==!1&&!l){let c;typeof n.options.retry=="number"?c=n.options.retry:c=pt(n.options.method)?0:1;const h=n.response&&n.response.status||500;if(c>0&&(Array.isArray(n.options.retryStatusCodes)?n.options.retryStatusCodes.includes(h):Si.has(h))){const f=typeof n.options.retryDelay=="function"?n.options.retryDelay(n):n.options.retryDelay||0;return f>0&&await new Promise(d=>setTimeout(d,f)),i(n.request,{...n.options,retry:c-1})}}const u=Ut(n);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(l,u={}){const c={request:l,options:_i(l,u,e.defaults,o),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await se(c,c.options.onRequest),c.options.headers instanceof o||(c.options.headers=new o(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=li(c.request,c.options.baseURL)),c.options.query&&(c.request=di(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&pt(c.options.method))if(mi(c.options.body)){const d=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),d||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let h;if(!c.options.signal&&c.options.timeout){const d=new s;h=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,d.abort(p)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await se(c,c.options.onRequestError),await r(c)}finally{h&&clearTimeout(h)}if((c.response.body||c.response._bodyInit)&&!Ti.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||bi(c.response.headers.get("content-type")||"");switch(d){case"json":{const p=await c.response.text(),g=c.options.parseResponse||Is;c.response._data=g(p);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await se(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await se(c,c.options.onResponseError),await r(c)):c.response},a=async function(l,u){return(await i(l,u))._data};return a.raw=i,a.native=(...n)=>t(...n),a.create=(n={},l={})=>De({...e,...l,defaults:{...e.defaults,...l.defaults,...n}}),a}const le=(function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")})(),Vt=le.fetch?(...e)=>le.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Bt=le.Headers,Gt=le.AbortController,Fe=De({fetch:Vt,Headers:Bt,AbortController:Gt}),Pi=Fe,Ei=Object.freeze(Object.defineProperty({__proto__:null,$fetch:Pi,AbortController:Gt,FetchError:Wt,Headers:Bt,createFetch:De,createFetchError:Ut,fetch:Vt,ofetch:Fe},Symbol.toStringTag,{value:"Module"})),Ci={$id:"credentials",additionalProperties:{properties:{accessKeyId:{default:null,nullable:!0,type:"string"},Bucket:{default:null,nullable:!0,type:"string"},endpoint:{default:null,nullable:!0,type:"string"},region:{default:null,nullable:!0,type:"string"},secretAccessKey:{default:null,nullable:!0,type:"string"}},type:"object"},type:"object"},ji={$id:"log",additionalProperties:!1,properties:{messages:{default:[],items:{additionalProperties:!1,properties:{content:{default:[],items:{additionalProperties:!1,properties:{text:{default:"",type:"string"},type:{default:"text",type:"string"}},type:"object"},type:"array"},role:{default:"user",enum:["user","assistant","system"],type:"string"}},type:"object"},type:"array"},system:{default:"",type:"string"}},type:"object"},Oi={$id:"nodes",items:{$ref:"page"},type:"array"},$i={$id:"page",additionalProperties:!1,dynamicDefaults:{id:"uuid"},properties:{children:{default:[],items:{type:"object"},type:"array"},frontmatter:{default:{},type:"object"},id:{type:"string"},name:{default:null,nullable:!0,type:"string"}},type:"object"};Dt.DEFAULTS.uuid=()=>Pe.generateSlug;const Jt=[Ci,Oi,$i,ji],Li=new Cs({code:{esm:!0},coerceTypes:!0,keywords:[Dt()],removeAdditional:!0,schemas:Jt,useDefaults:!0}),je=ue(V({credentials:{},log:{}})),Kt=!0,gt="nodes",ft={$children:{get(){return this.children.filter(({frontmatter:{hidden:e}})=>!e)}},$index:{get(){return this.$siblings.findIndex(({id:e})=>this.id===e)}},$next:{get(){return this.$siblings[this.$index+1]}},$prev:{get(){return this.$siblings[this.$index-1]}},$siblings:{get(){return this.siblings.filter(({frontmatter:{hidden:e}})=>!e)}},path:{get(){const e=this.branch.slice(1);return e.some(({name:t})=>!t)?void 0:e.map(({name:t})=>t).join("/").replace(/ /g,"_")}},to:{get(){return this.path?.replace(/^\/?/,"/").replace(/\/?$/,"/")}}},Oe=de([]),$e=Object.fromEntries(Jt.map(({$id:e})=>[e,Li.getSchema(e)])),Qt=async e=>{try{return await Fe(e)}catch(t){Ne.error(t)}},I=V({...je,tree:Oe,...Ps(Oe)});Object.keys(je).forEach(e=>{$e[e]&&H(je[e],$e[e],{immediate:Kt})});H(P(I,gt),async e=>{await $e[gt]?.(e)?e.forEach(t=>{Object.keys(ft).some(o=>!(o in t))&&Object.defineProperties(t,ft)}):Oe.value=[{}]},{immediate:Kt});function Ie(e,t){return go()?(fo(e,t),!0):!1}const Xt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Yt=e=>e!=null,Ai=Object.prototype.toString,Mi=e=>Ai.call(e)==="[object Object]",R=()=>{},ht=xi();function xi(){var e,t,o;return Xt&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((o=window)===null||o===void 0?void 0:o.navigator.userAgent))}function Ri(...e){if(e.length!==1)return P(...e);const t=e[0];return typeof t=="function"?ho(wo(()=>({get:t,set:R}))):de(t)}function Zt(e,t){function o(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return o}function Hi(e,t={}){let o,s,r=R;const i=l=>{clearTimeout(l),r(),r=R};let a;return l=>{const u=S(e),c=S(t.maxWait);return o&&i(o),u<=0||c!==void 0&&c<=0?(s&&(i(s),s=void 0),Promise.resolve(l())):new Promise((h,f)=>{r=t.rejectOnCancel?f:h,a=l,c&&!s&&(s=setTimeout(()=>{o&&i(o),s=void 0,h(a())},c)),o=setTimeout(()=>{s&&i(s),s=void 0,h(l())},u)})}}function Ni(...e){let t=0,o,s=!0,r=R,i,a,n,l,u;!Y(e[0])&&typeof e[0]=="object"?{delay:a,trailing:n=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[a,n=!0,l=!0,u=!1]=e;const c=()=>{o&&(clearTimeout(o),o=void 0,r(),r=R)};return f=>{const d=S(a),p=Date.now()-t,g=()=>i=f();return c(),d<=0?(t=Date.now(),g()):(p>d?(t=Date.now(),(l||!s)&&g()):n&&(i=new Promise((w,y)=>{r=u?y:w,o=setTimeout(()=>{t=Date.now(),s=!0,w(g()),c()},Math.max(0,d-p))})),!l&&!o&&(o=setTimeout(()=>s=!0,d)),s=!1,i)}}function Z(e){return Array.isArray(e)?e:[e]}function zi(e){return Me()}function Di(e){return Y(e)?V(new Proxy({},{get(t,o,s){return U(Reflect.get(e.value,o,s))},set(t,o,s){return Y(e.value[o])&&!Y(s)?e.value[o].value=s:e.value[o]=s,!0},deleteProperty(t,o){return Reflect.deleteProperty(e.value,o)},has(t,o){return Reflect.has(e.value,o)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):V(e)}function Fi(e,t=200,o={}){return Zt(Hi(t,o),e)}function Ii(e,t=200,o=!1,s=!0,r=!1){return Zt(Ni(t,o,s,r),e)}function qi(e,t=!0,o){zi()?St(e,o):t?e():po(e)}function Wi(e,t,o){return H(e,t,{...o,immediate:!0})}function Ui(e,t,o){return H(e,t,{...o,once:!0})}const oe=Xt?window:void 0;function J(e){var t;const o=S(e);return(t=o?.$el)!==null&&t!==void 0?t:o}function Le(...e){const t=(s,r,i,a)=>(s.addEventListener(r,i,a),()=>s.removeEventListener(r,i,a)),o=j(()=>{const s=Z(S(e[0])).filter(r=>r!=null);return s.every(r=>typeof r!="string")?s:void 0});return Wi(()=>{var s,r;return[(s=(r=o.value)===null||r===void 0?void 0:r.map(i=>J(i)))!==null&&s!==void 0?s:[oe].filter(i=>i!=null),Z(S(o.value?e[1]:e[0])),Z(U(o.value?e[2]:e[1])),S(o.value?e[3]:e[2])]},([s,r,i,a],n,l)=>{if(!s?.length||!r?.length||!i?.length)return;const u=Mi(a)?{...a}:a,c=s.flatMap(h=>r.flatMap(f=>i.map(d=>t(h,f,d,u))));l(()=>{c.forEach(h=>h())})},{flush:"post"})}function Vi(){const e=F(!1),t=Me();return t&&St(()=>{e.value=!0},t),e}function eo(e){const t=Vi();return j(()=>(t.value,!!e()))}function Bi(e,t,o={}){const{window:s=oe,...r}=o;let i;const a=eo(()=>s&&"MutationObserver"in s),n=()=>{i&&(i.disconnect(),i=void 0)},l=H(j(()=>{const h=Z(S(e)).map(J).filter(Yt);return new Set(h)}),h=>{n(),a.value&&h.size&&(i=new MutationObserver(t),h.forEach(f=>i.observe(f,r)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),c=()=>{l(),n()};return Ie(c),{isSupported:a,stop:c,takeRecords:u}}function Gi(e,t,o={}){const{root:s,rootMargin:r="0px",threshold:i=0,window:a=oe,immediate:n=!0}=o,l=eo(()=>a&&"IntersectionObserver"in a),u=j(()=>Z(S(e)).map(J).filter(Yt));let c=R;const h=F(n),f=l.value?H(()=>[u.value,J(s),h.value],([p,g])=>{if(c(),!h.value||!p.length)return;const w=new IntersectionObserver(t,{root:J(g),rootMargin:r,threshold:i});p.forEach(y=>y&&w.observe(y)),c=()=>{w.disconnect(),c=R}},{immediate:n,flush:"post"}):R,d=()=>{c(),f(),h.value=!1};return Ie(d),{isSupported:l,isActive:h,pause(){c(),h.value=!1},resume(){h.value=!0},stop:d}}function wt(e,t={}){const{window:o=oe,scrollTarget:s,threshold:r=0,rootMargin:i,once:a=!1,initialValue:n=!1}=t,l=F(n),{stop:u}=Gi(e,c=>{let h=l.value,f=0;for(const d of c)d.time>=f&&(f=d.time,h=d.isIntersecting);l.value=h,a&&Ui(l,()=>{u()})},{root:s,window:o,threshold:r,rootMargin:S(i)});return l}function ve(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const mt=1;function Ji(e,t={}){const{throttle:o=0,idle:s=200,onStop:r=R,onScroll:i=R,offset:a={left:0,right:0,top:0,bottom:0},observe:n={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:u="auto",window:c=oe,onError:h=v=>{console.error(v)}}=t,f=typeof n=="boolean"?{mutation:n}:n,d=F(0),p=F(0),g=j({get(){return d.value},set(v){y(v,void 0)}}),w=j({get(){return p.value},set(v){y(void 0,v)}});function y(v,M){var x,B,G,K;if(!c)return;const $=S(e);if(!$)return;(x=$ instanceof Document?c.document.body:$)===null||x===void 0||x.scrollTo({top:(B=S(M))!==null&&B!==void 0?B:w.value,left:(G=S(v))!==null&&G!==void 0?G:g.value,behavior:S(u)});const D=($==null||(K=$.document)===null||K===void 0?void 0:K.documentElement)||$?.documentElement||$;g!=null&&(d.value=D.scrollLeft),w!=null&&(p.value=D.scrollTop)}const m=F(!1),_=V({left:!0,right:!1,top:!0,bottom:!1}),b=V({left:!1,right:!1,top:!1,bottom:!1}),T=v=>{m.value&&(m.value=!1,b.left=!1,b.right=!1,b.top=!1,b.bottom=!1,r(v))},A=Fi(T,o+s),O=v=>{var M;if(!c)return;const x=(v==null||(M=v.document)===null||M===void 0?void 0:M.documentElement)||v?.documentElement||J(v),{display:B,flexDirection:G,direction:K}=c.getComputedStyle(x),$=K==="rtl"?-1:1,D=x.scrollLeft;b.left=D<d.value,b.right=D>d.value;const qe=Math.abs(D*$)<=(a.left||0),We=Math.abs(D*$)+x.clientWidth>=x.scrollWidth-(a.right||0)-mt;B==="flex"&&G==="row-reverse"?(_.left=We,_.right=qe):(_.left=qe,_.right=We),d.value=D;let q=x.scrollTop;v===c.document&&!q&&(q=c.document.body.scrollTop),b.top=q<p.value,b.bottom=q>p.value;const Ue=Math.abs(q)<=(a.top||0),Ve=Math.abs(q)+x.clientHeight>=x.scrollHeight-(a.bottom||0)-mt;B==="flex"&&G==="column-reverse"?(_.top=Ve,_.bottom=Ue):(_.top=Ue,_.bottom=Ve),p.value=q},k=v=>{var M;c&&(O((M=v.target.documentElement)!==null&&M!==void 0?M:v.target),m.value=!0,A(v),i(v))};return Le(e,"scroll",o?Ii(k,o,!0,!1):k,l),qi(()=>{try{const v=S(e);if(!v)return;O(v)}catch(v){h(v)}}),f?.mutation&&e!=null&&e!==c&&e!==document&&Bi(e,()=>{const v=S(e);v&&O(v)},{attributes:!0,childList:!0,subtree:!0}),Le(e,"scrollend",T,l),{x:g,y:w,isScrolling:m,arrivedState:_,directions:b,measure(){const v=S(e);c&&v&&O(v)}}}function to(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const o=e.parentNode;return!o||o.tagName==="BODY"?!1:to(o)}}function Ki(e){const t=e||window.event,o=t.target;return to(o)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const be=new WeakMap;function Qi(e,t=!1){const o=F(t);let s=null,r="";H(Ri(e),n=>{const l=ve(S(n));if(l){const u=l;if(be.get(u)||be.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(r=u.style.overflow),u.style.overflow==="hidden")return o.value=!0;if(o.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const n=ve(S(e));!n||o.value||(ht&&(s=Le(n,"touchmove",l=>{Ki(l)},{passive:!1})),n.style.overflow="hidden",o.value=!0)},a=()=>{const n=ve(S(e));!n||!o.value||(ht&&s?.(),n.style.overflow=r,be.delete(n),o.value=!1)};return Ie(a),j({get(){return o.value},set(n){n?i():a()}})}const Xi=te({__name:"App",setup(e){const t=P(I,"kvNodes"),o=P(I,"nodes"),s=qo(),r=j(()=>t.value[s.name]?.frontmatter);return Lt(r,{mode:"client"}),(i,a)=>{const n=mo("router-view");return z(),ee(n,null,{default:xe(({Component:l})=>[(z(),ee(Re(l),{id:o.value[0]?.id},null,8,["id"]))]),_:1})}}});let _e=!1;const oo=ue(I),Yi=P(oo,"kvNodes"),yt=P(oo,"nodes"),Zi=Vo({html:!0,linkify:!0,typographer:!0}).use(Bo,{transform(e){switch(e.type){case"link_close":_e&&(e.tag="RouterLink",_e=!1);break;case"link_open":{const t=e.attrGet("href")??"/";URL.canParse(t)||(e.tag="RouterLink",e.attrSet("to",t),e.attrs?.splice(e.attrIndex("href"),1),_e=!0);break}}}}).use(Go).use(Jo).use(Ko).use(Qo).use(Xo).use(Yo).use(Zo).use(er).use(tr).use(or).use(rr).use(sr).use(ir).use(nr).use(ar).use(cr).use(lr).use(dr).use(ur).use(pr).use(gr).use(fr).use(hr).use(wr),{transform:en}=No(),ro=()=>{let e,t;return{promise:new Promise((s,r)=>{e=s,t=r}),reject:t,resolve:e}},C=V({$these:j(()=>C.these.filter(({frontmatter:{hidden:e}})=>!e)),intersecting:new Map,module:e=>yo(async()=>{const t={},{uno:o}=C;Zi.render(await Qt(`./docs/${e}.md`)??"",t);const s=`
|
|
11
|
+
const $id = "${e}";
|
|
12
|
+
const $frontmatter = ${JSON.stringify(t.frontmatter??{})};
|
|
13
|
+
`,r=t.sfcBlocks?.styles.map(({contentStripped:i,tagClose:a,tagOpen:n})=>({contentStripped:new zo(i),tagClose:a,tagOpen:n}))??[];return await Promise.all(r.map(async({contentStripped:i})=>await en(i,e,{uno:o}))),mr(`${t.sfcBlocks?.template?.content??""}
|
|
11
14
|
${t.sfcBlocks?.script?.content??""}
|
|
12
|
-
${t.sfcBlocks?.scriptSetup
|
|
13
|
-
${
|
|
15
|
+
${t.sfcBlocks?.scriptSetup?`${t.sfcBlocks.scriptSetup.tagOpen}${s}${t.sfcBlocks.scriptSetup.contentStripped}${t.sfcBlocks.scriptSetup.tagClose}`:`<script setup>${s}<\/script>`}
|
|
16
|
+
${r.map(({contentStripped:i,tagClose:a,tagOpen:n})=>`${n}${i.toString()}${a}}`).join(`
|
|
14
17
|
`)}
|
|
15
|
-
`,{scriptOptions:{inlineTemplate:!0}})}),promises:new Map,root:ro(),routeName:void 0,scrollLock:!1,that:j(()=>C.routeName===yt.value[0]?.id?yt.value[0]?.$children[0]:Yi.value[C.routeName]),these:j(()=>C.that===void 0||C.that.parent?.frontmatter.
|
|
18
|
+
`,{scriptOptions:{inlineTemplate:!0}})}),promises:new Map,root:ro(),routeName:void 0,scrollLock:!1,that:j(()=>C.routeName===yt.value[0]?.id?yt.value[0]?.$children[0]:Yi.value[C.routeName]),these:j(()=>C.that===void 0||C.that.parent?.frontmatter.flat?C.that?.siblings??[]:[C.that]),uno:{}});function vt(e,t){const o=e.type,s=o==="html"?"htmlAttrs":o==="body"?"bodyAttrs":o;if(typeof s!="string"||!(s in t))return;const r=e.props||{};if(e.children){const i="children";r.children=Array.isArray(e.children)?e.children[0][i]:e[i]}Array.isArray(t[s])?t[s].push(r):s==="title"?t.title=r.children:t[s]=r}function tn(e){const t={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(const o of e)if(typeof o.type=="symbol"&&Array.isArray(o.children))for(const s of o.children)vt(s,t);else vt(o,t);return t}const on=te({name:"Head",setup(e,{slots:t}){const o=de({}),s=Lt(o);return kt(()=>{s.dispose()}),()=>(Ae(()=>{t.default&&s.patch(tn(t.default()))}),null)}}),rn=te({__name:"NotFoundView",setup(e){return(t,o)=>(z(),ie(Tt,null,[vo(U(on),null,{default:xe(()=>[...o[0]||(o[0]=[W("title",null,"Page Not Found",-1)])]),_:1}),o[1]||(o[1]=W("div",{class:"absolute inset-0 grid place-items-center"},[W("div",{class:"text-center"},[W("div",{class:"text-9xl"},"404"),W("p",null,"Oops. Nothing here...")])],-1))],64))}}),sn={mounted(e,t){if(typeof t.value=="function"){const o=t.value;H(wt(e),s=>o(s),{immediate:!0})}else{const[o,s]=t.value;H(wt(e,s),r=>o(r),{immediate:!0})}}};function nn(){let e=!1;const t=F(!1);return(o,s)=>{if(t.value=s.value,e)return;e=!0;const r=Qi(o,s.value);H(t,i=>r.value=i)}}nn();const an=["id"],cn=te({__name:"PageView",setup(e){const t=P(C,"$these"),o=P(I,"kvNodes"),{intersecting:s,module:r,promises:i}=C,a=()=>{[s,i].forEach(l=>{l.clear()})},n=j(()=>new Map(t.value.map(({id:l})=>[l,r(l)])));return Ae(()=>{a(),t.value.forEach(({id:l})=>{s.set(l,!1),i.set(l,ro())})}),bo(()=>{a()}),(l,u)=>(z(!0),ie(Tt,null,_o(n.value,([c,h])=>ko((z(),ie("div",{id:c,key:c,"un-cloak":""},[W("div",So({ref_for:!0},o.value[c]?.frontmatter.attrs??{}),[(z(),ee(Re(h),{id:c,onVnodeMounted:f=>U(i).get(c)?.resolve(void 0)},null,8,["id","onVnodeMounted"]))],16)],8,an)),[[U(sn),[f=>{U(s).set(c,f)},{threshold:.1}]]])),128))}}),ln=["id"],dn=te({__name:"RootView",setup(e){const t=P(I,"nodes"),{module:o,root:s}=C,r=j(()=>t.value[0]&&o(t.value[0].id));return(i,a)=>(z(),ee(To,null,{default:xe(()=>[t.value[0]?.frontmatter.hidden?Po("",!0):(z(),ie("div",{key:0,id:t.value[0]?.id,"un-cloak":""},[W("div",Eo(Co(t.value[0]?.frontmatter.attrs??{})),[(z(),ee(Re(r.value),{id:t.value[0]?.id,onVnodeMounted:a[0]||(a[0]=n=>U(s).resolve(void 0))},null,8,["id"]))],16)],8,ln))]),_:1}))}});let bt=P(C,"routeName");const so=ue(C),un=P(so,"$these"),pn=P(so,"that"),io=ue(I),gn=P(io,"kvNodes"),_t=P(io,"nodes"),no=jo(Xi),fn=await Qt("index.json")??[],{intersecting:hn,promises:wn,root:mn}=C,{pathname:yn}=new URL(document.baseURI);Ne.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","2.1.3");I.tree=fn;await Do({defaults:{presets:ks()},ready:({extractAll:e,toggleObserver:t,uno:o})=>{C.uno=o;let s=!1;const r=Wo({history:Uo(yn),routes:[..._t.value.filter(({path:l})=>l!==void 0).map(({id:l,to:u="/"})=>({children:[{component:cn,name:l,path:""}],component:dn,path:u})),{component:rn,name:"404",path:"/:pathMatch(.*)*"}],scrollBehavior:async({hash:l,name:u})=>{if(u)if(bt.value=u,s)s=!1;else{const{index:c,parent:{frontmatter:{flat:h}={}}={}}=pn.value??{};return t(!0),await mn.promise,await Promise.all([...wn.values()].map(({promise:f})=>f)),await e(),t(!1),"requestIdleCallback"in window?await new Promise(f=>requestIdleCallback(f)):(await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>setTimeout(f))),{behavior:"smooth",...l||h&&c?{el:l||`#${String(u)}`}:{left:0,top:0}}}return!1}}),i=Ji(window,{onStop:()=>{const[l]=un.value,[u]=_t.value;if(u&&l){const{$children:[{id:c}={}]}=u,h=!Math.floor(a.value)&&!Math.floor(n.value)&&l.id===c?u.id:[...hn.entries()].find(([,f])=>f)?.[0]??l.id;h!==bt.value&&(s=!0,r.push({name:h}).catch(Ne.error))}}}),a=P(i,"x"),n=P(i,"y");return r.beforeEach(({path:l})=>l!==decodeURI(l)?decodeURI(l):void 0),no.use(r),!1},rootElement:()=>document.getElementById("app")??void 0});no.use(Zr({plugins:[Ar,Or,Mr({}),xr()]})).provide("docs",Di(gn.value)).mount("#app");export{Ei as i};
|