@vuebro/runtime 1.1.23 → 1.1.24
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 +1 -1
- package/dist/assets/{NotFoundView-BGAEMJy-.js → NotFoundView-CQSSvQ9O.js} +1 -1
- package/dist/assets/{PageView-DgUl2Tsz.js → PageView-Dh3QT9qA.js} +1 -1
- package/dist/assets/{RootView-DD4jCgxE.js → RootView-C5a_BTY0.js} +1 -1
- package/dist/assets/{index-BoJtmx-3.js → index-Cu0c-aAF.js} +2 -2
- package/dist/assets/unocss-DRtn-RHz.js +415 -0
- package/dist/index.html +2 -2
- package/package.json +2 -2
- package/dist/assets/unocss-CXIOlVgb.js +0 -415
- /package/dist/assets/{loader-sfc.esm-browser.prod-1.5.2.js → loader-sfc.esm-browser.prod-1.5.3.js} +0 -0
package/dist/.vite/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"_shared-Dwlmp5RQ.js":{"file":"assets/shared-Dwlmp5RQ.js","name":"shared"},"_unocss-
|
|
1
|
+
{"_shared-Dwlmp5RQ.js":{"file":"assets/shared-Dwlmp5RQ.js","name":"shared"},"_unocss-DRtn-RHz.js":{"file":"assets/unocss-DRtn-RHz.js","name":"unocss","isDynamicEntry":true},"index.html":{"file":"assets/index-Cu0c-aAF.js","name":"index","src":"index.html","isEntry":true,"imports":["_unocss-DRtn-RHz.js","_shared-Dwlmp5RQ.js"],"dynamicImports":["_unocss-DRtn-RHz.js","src/views/PageView.vue","src/views/RootView.vue","src/views/NotFoundView.vue"],"css":["assets/index-vGiKZPT9.css"]},"src/views/NotFoundView.vue":{"file":"assets/NotFoundView-CQSSvQ9O.js","name":"NotFoundView","src":"src/views/NotFoundView.vue","isDynamicEntry":true,"imports":["index.html","_unocss-DRtn-RHz.js","_shared-Dwlmp5RQ.js"]},"src/views/PageView.vue":{"file":"assets/PageView-Dh3QT9qA.js","name":"PageView","src":"src/views/PageView.vue","isDynamicEntry":true,"imports":["_shared-Dwlmp5RQ.js","index.html","_unocss-DRtn-RHz.js"]},"src/views/RootView.vue":{"file":"assets/RootView-C5a_BTY0.js","name":"RootView","src":"src/views/RootView.vue","isDynamicEntry":true,"imports":["_shared-Dwlmp5RQ.js","index.html","_unocss-DRtn-RHz.js"]},"node_modules/vue/dist/vue.esm-browser.prod.js":{"file":"assets/vue.esm-browser.prod-3.5.19.js","isStaticEntry":true,"name":"vue"},"node_modules/vue-router/dist/vue-router.esm-browser.prod.js":{"file":"assets/vue-router.esm-browser.prod-4.5.1.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-1.5.3.js","isStaticEntry":true,"name":"@vuebro/loader-sfc"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as d,ref as c,onBeforeUnmount as a,watchEffect as p,createElementBlock as u,openBlock as f,Fragment as m,createVNode as y,createElementVNode as i,withCtx as _}from"vue";import{u as h,_ as A}from"./index-
|
|
1
|
+
import{defineComponent as d,ref as c,onBeforeUnmount as a,watchEffect as p,createElementBlock as u,openBlock as f,Fragment as m,createVNode as y,createElementVNode as i,withCtx as _}from"vue";import{u as h,_ as A}from"./index-Cu0c-aAF.js";import"./unocss-DRtn-RHz.js";import"./shared-Dwlmp5RQ.js";import"vue-router";import"@vuebro/loader-sfc";function l(n,e){const t=n.type,r=t==="html"?"htmlAttrs":t==="body"?"bodyAttrs":t;if(typeof r!="string"||!(r in e))return;const o=n.props||{};if(n.children){const s="children";o.children=Array.isArray(n.children)?n.children[0][s]:n[s]}Array.isArray(e[r])?e[r].push(o):r==="title"?e.title=o.children:e[r]=o}function v(n){const e={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(const t of n)if(typeof t.type=="symbol"&&Array.isArray(t.children))for(const r of t.children)l(r,e);else l(t,e);return e}const N=d({name:"Head",setup(n,{slots:e}){const t=c({}),r=h(t);return a(()=>{r.dispose()}),()=>(p(()=>{e.default&&r.patch(v(e.default()))}),null)}}),b=d({__name:"NotFoundView",setup(n,{expose:e}){e();const t={get Head(){return N}};return Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!0}),t}});function x(n,e,t,r,o,s){return f(),u(m,null,[y(r.Head,null,{default:_(()=>[...e[0]||(e[0]=[i("title",null,"Page Not Found",-1)])]),_:1}),e[1]||(e[1]=i("div",{class:"absolute inset-0 grid place-items-center"},[i("div",{class:"text-center"},[i("div",{class:"text-9xl"},"404"),i("p",null,"Oops. Nothing here...")])],-1))],64)}const k=A(b,[["render",x],["__file","NotFoundView.vue"]]);export{k as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as P,ref as E,computed as i,watch as B,onUnmounted as C,createElementBlock as S,openBlock as g,Fragment as O,renderList as j,normalizeClass as R,createBlock as $,resolveDynamicComponent as z}from"vue";import{u as V,e as D,h as F,p as L,d as T}from"./shared-Dwlmp5RQ.js";import{useRoute as U,useRouter as X}from"vue-router";import{t as l,p as w,m as Y,r as q,a as A,s as G,_ as H}from"./index-
|
|
1
|
+
import{defineComponent as P,ref as E,computed as i,watch as B,onUnmounted as C,createElementBlock as S,openBlock as g,Fragment as O,renderList as j,normalizeClass as R,createBlock as $,resolveDynamicComponent as z}from"vue";import{u as V,e as D,h as F,p as L,d as T}from"./shared-Dwlmp5RQ.js";import{useRoute as U,useRouter as X}from"vue-router";import{t as l,p as w,m as Y,r as q,a as A,s as G,_ as H}from"./index-Cu0c-aAF.js";import"./unocss-DRtn-RHz.js";import"@vuebro/loader-sfc";const I=P({__name:"PageView",setup(x,{expose:b}){b();const d=E([]),t=U(),f=X(),p=i(()=>l.value?.siblings??[]),e=[],m=i(()=>p.value.filter(({enabled:o})=>o)),v=()=>{e.forEach(o=>{o()}),e.length=0},u=i(()=>l.value===void 0||l.value.parent?.flat?m.value:[l.value]),n=i(()=>new Map(u.value.map(({id:o=V()})=>[o,!1]))),_=E(new Map(n.value)),y=i(()=>{const[[o,s]=[]]=w;return w.clear(),o&&s&&w.set(o,s),Object.fromEntries(u.value.map(r=>[r.id,Y(r)]))});B(d,o=>{v(),setTimeout(()=>{o.forEach(s=>{const{stop:r}=D(s,([{isIntersecting:a,target:{id:c}={}}={}]=[])=>{_.value=new Map(n.value),c&&a!==void 0&&n.value.set(c,a)},{threshold:.1});e.push(r)})})},{deep:!0}),F(window,{behavior:"smooth",onStop:()=>{if(!A.value){const{scrollX:o,scrollY:s}=window,[r]=u.value,[a]=L.value;if(a&&r){const{$children:[{id:c}={}]=[]}=a,M=!Math.floor(o)&&!Math.floor(s)&&r.id===c?a.id:[...n.value.entries()].find(([,h])=>h)?.[0]??[..._.value.entries()].find(([,h])=>h)?.[0]??r.id;M!==t.name&&(G.value=!1,f.push({name:M}).catch(T))}}}}),C(v);const k={refs:d,route:t,router:f,siblings:p,stops:e,$siblings:m,clearStops:v,these:u,intersecting:n,$intersecting:_,templates:y,get uid(){return V},get resolve(){return q},get that(){return l}};return Object.defineProperty(k,"__isScriptSetup",{enumerable:!1,value:!0}),k}}),J=["id","role"];function K(x,b,d,t,f,p){return g(!0),S(O,null,j(t.these,e=>(g(),S("div",{id:e.id??t.uid(),key:e.id??t.uid(),ref_for:!0,ref:"refs",class:R(e.class),role:e.id===t.that?.id?"main":"section","un-cloak":""},[(g(),$(z(t.templates[e.id]),{id:e.id,"un-cloak":"",onVnodeMounted:m=>t.resolve(e)},null,8,["id","onVnodeMounted"]))],10,J))),128)}const te=H(I,[["render",K],["__file","PageView.vue"]]);export{te as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as a,computed as l,createBlock as i,openBlock as n,Suspense as d,withCtx as c,createElementBlock as m,createCommentVNode as _,normalizeClass as u,resolveDynamicComponent as p}from"vue";import{p as f,u as v}from"./shared-Dwlmp5RQ.js";import{m as h,r as k,_ as x}from"./index-
|
|
1
|
+
import{defineComponent as a,computed as l,createBlock as i,openBlock as n,Suspense as d,withCtx as c,createElementBlock as m,createCommentVNode as _,normalizeClass as u,resolveDynamicComponent as p}from"vue";import{p as f,u as v}from"./shared-Dwlmp5RQ.js";import{m as h,r as k,_ as x}from"./index-Cu0c-aAF.js";import"./unocss-DRtn-RHz.js";import"vue-router";import"@vuebro/loader-sfc";const C=a({__name:"RootView",setup(s,{expose:o}){o();const[t]=f.value,e=l(()=>t&&h(t)),r={the:t,is:e,get uid(){return v},get resolve(){return k}};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),V=["id"];function w(s,o,t,e,r,b){return n(),i(d,null,{default:c(()=>[e.the?.enabled?(n(),m("div",{key:0,id:e.the?.id??e.uid(),class:u(e.the?.class),"un-cloak":""},[(n(),i(p(e.is),{id:e.the?.id,"un-cloak":"",onVnodeMounted:o[0]||(o[0]=g=>e.resolve(e.the))},null,8,["id"]))],10,V)):_("",!0)]),_:1})}const D=x(C,[["render",w],["__file","RootView.vue"]]);export{D as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-
|
|
2
|
-
import{d as Pt,w as Lt,_ as z,p as Ht,a as Rt,b as Dt,c as zt,e as Nt,i as Vt}from"./unocss-CXIOlVgb.js";import{toValue as Ut,isRef as Wt,hasInjectionContext as qt,inject as Bt,ref as $,watchEffect as Gt,getCurrentInstance as Kt,onBeforeUnmount as Qt,onDeactivated as Jt,onActivated as Zt,defineComponent as tt,shallowRef as Xt,onMounted as Yt,watch as se,onUnmounted as en,h as be,nextTick as nt,computed as F,resolveComponent as tn,createBlock as ve,openBlock as Ce,withCtx as nn,resolveDynamicComponent as on,defineAsyncComponent as sn,createApp as rn}from"vue";import{g as cn,p as re,a as ie,u as an,n as ln,f as ke,b as un,c as fn,d as dn}from"./shared-Dwlmp5RQ.js";import{useRoute as pn,createRouter as hn,createWebHistory as mn}from"vue-router";import gn from"@vuebro/loader-sfc";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function ce(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?ce(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const yn={run:e=>e()},wn=()=>yn,ot=typeof console.createTask<"u"?console.createTask:wn;function bn(e,t){const n=t.shift(),s=ot(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function vn(e,t){const n=t.shift(),s=ot(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function X(e,t){for(const n of[...e])n(t)}class Cn{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,s={}){if(!t||typeof n!="function")return()=>{};const o=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!s.allowDeprecated){let i=r.message;i||(i=`${o} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,o=(...r)=>(typeof s=="function"&&s(),s=void 0,o=void 0,n(...r));return s=this.hook(t,o),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const o of s)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ce(t),s=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of s.splice(0,s.length))o()}}removeHooks(t){const n=ce(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(bn,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(vn,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&X(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&X(this._after,o)}):(this._after&&o&&X(this._after,o),r)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function kn(){return new Cn}const xn=new Set(["link","style","script","noscript"]),_n=new Set(["title","titleTemplate","script","style","noscript"]),xe=new Set(["base","meta","link","style","script","noscript"]),Sn=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Fn=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Tn=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),In=new Set(["templateParams","htmlAttrs","bodyAttrs"]),he=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),$n=["name","property","http-equiv"],jn=new Set(["viewport","description","keywords","robots"]);function st(e){const t=e.split(":");return t.length?he.has(t[1]):!1}function ae(e){const{props:t,tag:n}=e;if(Fn.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const s of $n)if(t[s]!==void 0){const o=t[s],r=o.includes(":"),i=jn.has(o),f=!(r||i)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${f}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(_n.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function _e(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([s,o])=>`${s}:${String(o)}`).join(",")}`}function q(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let o;if(t&&(o=t(n,e)),Array.isArray(o))return o.map(r=>q(r,t));if(o?.constructor===Object){const r={};for(const i of Object.keys(o))r[i]=q(o[i],t,i);return r}return o}function On(e,t){const n=e==="style"?new Map:new Set;function s(o){const r=o.trim();if(r)if(e==="style"){const[i,...c]=r.split(":").map(f=>f.trim());i&&c.length&&n.set(i,c.join(":"))}else r.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(s):s(t):Array.isArray(t)?t.forEach(o=>s(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,r])=>{r&&r!=="false"&&(e==="style"?n.set(o.trim(),r):s(o))}),n}function rt(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,s])=>{if(s===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=On(n,s);return}if(Tn.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof s=="object"){let i=t.type;if(t.type||(i="application/json"),!i?.endsWith("json")&&i!=="speculationrules")return;t.type=i,e.props.type=i,e[n]=JSON.stringify(s)}else e[n]=s;return}const o=String(s),r=n.startsWith("data-");o==="true"||o===""?e.props[n]=r?o:!0:!s&&r&&o==="false"?e.props[n]="false":s!==void 0&&(e.props[n]=s)}),e):e}function An(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=rt({tag:e,props:{}},n);return s.key&&xn.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(o=>({...s,props:{...s.props,content:o}})):s}function En(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,r)=>{for(let i=0;i<t.length;i++)r=t[i](o,r);return r};e=n(void 0,e);const s=[];return e=q(e,n),Object.entries(e||{}).forEach(([o,r])=>{if(r!==void 0)for(const i of Array.isArray(r)?r:[r])s.push(An(o,i))}),s.flat()}const Se=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Fe={base:-10,title:10},Mn={critical:-8,high:-1,low:2},Te={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}},Pn=/@import/,E=e=>e===""||e===!0;function Ln(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const s=Mn[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Te;if(t.tag in Fe)n=Fe[t.tag];else if(t.tag==="meta"){const r=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;r&&(n=Te.meta[r])}else t.tag==="link"&&t.props.rel?n=o.link[t.props.rel]:t.tag==="script"?E(t.props.async)?n=o.script.async:t.props.src&&!E(t.props.defer)&&!E(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=o.script.sync:E(t.props.defer)&&t.props.src&&!E(t.props.async)&&(n=o.script.defer):t.tag==="style"&&(n=t.innerHTML&&Pn.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+s}function Ie(e,t){const n=typeof t=="function"?t(e):t,s=n.key||String(e.plugins.size+1);e.plugins.get(s)||(e.plugins.set(s,n),e.hooks.addHooks(n.hooks||{}))}function Hn(e={}){const t=kn();t.addHooks(e.hooks||{});const n=!e.document,s=new Map,o=new Map,r=new Set,i={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:s,headEntries(){return[...s.values()]},use:c=>Ie(i,c),push(c,f){const a={...f||{}};delete a.head;const u=a._index??i._entryCount++,p={_i:u,input:c,options:a},d={_poll(l=!1){i.dirty=!0,!l&&r.add(u),t.callHook("entries:updated",i)},dispose(){s.delete(u)&&i.invalidate()},patch(l){(!a.mode||a.mode==="server"&&n||a.mode==="client"&&!n)&&(p.input=l,s.set(u,p),d._poll())}};return d.patch(c),d},async resolveTags(){const c={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",c);r.size;){const d=r.values().next().value;r.delete(d);const l=s.get(d);if(l){const g={tags:En(l.input,e.propResolvers||[]).map(h=>Object.assign(h,l.options)),entry:l};await t.callHook("entries:normalize",g),l._tags=g.tags.map((h,m)=>(h._w=Ln(i,h),h._p=(l._i<<10)+m,h._d=ae(h),h))}}let f=!1;c.entries.flatMap(d=>(d._tags||[]).map(l=>({...l,props:{...l.props}}))).sort(Se).reduce((d,l)=>{const g=String(l._d||l._p);if(!d.has(g))return d.set(g,l);const h=d.get(g);if((l?.tagDuplicateStrategy||(In.has(l.tag)?"merge":null)||(l.key&&l.key===h.key?"merge":null))==="merge"){const y={...h.props};Object.entries(l.props).forEach(([w,v])=>y[w]=w==="style"?new Map([...h.props.style||new Map,...v]):w==="class"?new Set([...h.props.class||new Set,...v]):v),d.set(g,{...l,props:y})}else l._p>>10===h._p>>10&&l.tag==="meta"&&st(g)?(d.set(g,Object.assign([...Array.isArray(h)?h:[h],l],l)),f=!0):(l._w===h._w?l._p>h._p:l?._w<h?._w)&&d.set(g,l);return d},c.tagMap);const a=c.tagMap.get("title"),u=c.tagMap.get("titleTemplate");if(i._title=a?.textContent,u){const d=u?.textContent;if(i._titleTemplate=d,d){let l=typeof d=="function"?d(a?.textContent):d;typeof l=="string"&&!i.plugins.has("template-params")&&(l=l.replace("%s",a?.textContent||"")),a?l===null?c.tagMap.delete("title"):c.tagMap.set("title",{...a,textContent:l}):(u.tag="title",u.textContent=l)}}c.tags=Array.from(c.tagMap.values()),f&&(c.tags=c.tags.flat().sort(Se)),await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c);const p=[];for(const d of c.tags){const{innerHTML:l,tag:g,props:h}=d;if(Sn.has(g)&&!(Object.keys(h).length===0&&!d.innerHTML&&!d.textContent)&&!(g==="meta"&&!h.content&&!h["http-equiv"]&&!h.charset)){if(g==="script"&&l){if(h.type?.endsWith("json")){const m=typeof l=="string"?l:JSON.stringify(l);d.innerHTML=m.replace(/</g,"\\u003C")}else typeof l=="string"&&(d.innerHTML=l.replace(new RegExp(`</${g}`,"g"),`<\\/${g}`));d._d=ae(d)}p.push(d)}}return p},invalidate(){for(const c of s.values())r.add(c._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(c=>Ie(i,c)),i.hooks.callHook("init",i),e.init?.forEach(c=>c&&i.push(c)),i}async function it(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!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 o=>{const r=new Map,i=new Promise(l=>{e.resolveTags().then(g=>{l(g.map(h=>{const m=r.get(h._d)||0,y={tag:h,id:(m?`${h._d}:${m}`:h._d)||_e(h),shouldRender:!0};return h._d&&st(h._d)&&r.set(h._d,m+1),y}))})});let c=e._dom;if(!c){c={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const l of["body","head"]){const g=n[l]?.children;for(const h of g){const m=h.tagName.toLowerCase();if(!xe.has(m))continue;const y=rt({tag:m,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((w,v)=>(w[v]=h.getAttribute(v),w),{})||{}});if(y.key=h.getAttribute("data-hid")||void 0,y._d=ae(y)||_e(y),c.elMap.has(y._d)){let w=1,v=y._d;for(;c.elMap.has(v);)v=`${y._d}:${w++}`;c.elMap.set(v,h)}else c.elMap.set(y._d,h)}}}c.pendingSideEffects={...c.sideEffects},c.sideEffects={};function f(l,g,h){const m=`${l}:${g}`;c.sideEffects[m]=h,delete c.pendingSideEffects[m]}function a({id:l,$el:g,tag:h}){const m=h.tag.endsWith("Attrs");c.elMap.set(l,g),m||(h.textContent&&h.textContent!==g.textContent&&(g.textContent=h.textContent),h.innerHTML&&h.innerHTML!==g.innerHTML&&(g.innerHTML=h.innerHTML),f(l,"el",()=>{g?.remove(),c.elMap.delete(l)}));for(const y in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,y))continue;const w=h.props[y];if(y.startsWith("on")&&typeof w=="function"){const b=g?.dataset;if(b&&b[`${y}fired`]){const x=y.slice(0,-5);w.call(g,new Event(x.substring(2)))}g.getAttribute(`data-${y}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:g).addEventListener(y.substring(2),w.bind(g)),g.setAttribute(`data-${y}`,""));continue}const v=`attr:${y}`;if(y==="class"){if(!w)continue;for(const b of w)m&&f(l,`${v}:${b}`,()=>g.classList.remove(b)),!g.classList.contains(b)&&g.classList.add(b)}else if(y==="style"){if(!w)continue;for(const[b,x]of w)f(l,`${v}:${b}`,()=>{g.style.removeProperty(b)}),g.style.setProperty(b,x)}else w!==!1&&w!==null&&(g.getAttribute(y)!==w&&g.setAttribute(y,w===!0?"":String(w)),m&&f(l,v,()=>g.removeAttribute(y)))}}const u=[],p={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const l of d){const{tag:g,shouldRender:h,id:m}=l;if(h){if(g.tag==="title"){n.title=g.textContent,f("title","",()=>n.title=c.title);continue}l.$el=l.$el||c.elMap.get(m),l.$el?a(l):xe.has(g.tag)&&u.push(l)}}for(const l of u){const g=l.tag.tagPosition||"head";l.$el=n.createElement(l.tag.tag),a(l),p[g]=p[g]||n.createDocumentFragment(),p[g].appendChild(l.$el)}for(const l of d)await e.hooks.callHook("dom:renderTag",l,n,f);p.head&&n.head.appendChild(p.head),p.bodyOpen&&n.body.insertBefore(p.bodyOpen,n.body.firstChild),p.bodyClose&&n.body.appendChild(p.bodyClose);for(const l in c.pendingSideEffects)c.pendingSideEffects[l]();e._dom=c,await e.hooks.callHook("dom:rendered",{renders:d}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Rn(e={}){const t=e.domOptions?.render||it;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Hn({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Dn(e,t){let n=0;return()=>{const s=++n;t(()=>{n===s&&e()})}}const L={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},zn={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},ct={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${I(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?I(e):`${I(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${I(e)} ${t}`}},charset:{}};function I(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return n===-1?t:L.META.has(t.slice(0,n))||L.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function at(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>String(n)!=="false"&&t))}function le(e){return Array.isArray(e)?e.map(le):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,n])=>[I(t),le(n)]))}function lt(e,t={}){const{entrySeparator:n="",keyValueSeparator:s="",wrapValue:o,resolve:r}=t;return Object.entries(e).map(([i,c])=>{if(r){const a=r({key:i,value:c});if(a!==void 0)return a}const f=typeof c=="object"?lt(c,t):typeof c=="number"?c.toString():typeof c=="string"&&o?`${o}${c.replace(new RegExp(o,"g"),`\\${o}`)}${o}`:c;return`${i}${s}${f}`}).join(n)}function $e(e,t){const n=at(t),s=I(e),o=ut(s);if(!he.has(s))return[{[o]:s,...n}];const r=Object.fromEntries(Object.entries(n).map(([i,c])=>[`${e}${i==="url"?"":`${i[0].toUpperCase()}${i.slice(1)}`}`,c]));return B(r||{}).sort((i,c)=>(i[o]?.length||0)-(c[o]?.length||0))}function ut(e){if(ct[e]?.metaKey==="http-equiv"||L.HTTP_EQUIV.has(e))return"http-equiv";const t=I(e),n=t.indexOf(":");return n===-1?"name":L.OG.has(t.slice(0,n))?"property":"name"}function Nn(e){return zn[e]||I(e)}function Vn(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:lt(le(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:n,key:s})=>n===null?"":typeof n=="boolean"?s:void 0,...ct[t]?.unpack})}function B(e){const t=[],n={};for(const[o,r]of Object.entries(e)){if(Array.isArray(r)){if(o==="themeColor"){r.forEach(i=>{typeof i=="object"&&i!==null&&t.push({name:"theme-color",...i})});continue}for(const i of r)if(typeof i=="object"&&i!==null){const c=[],f=[];for(const[a,u]of Object.entries(i)){const p=`${o}${a==="url"?"":`:${a}`}`,d=B({[p]:u});(a==="url"?c:f).push(...d)}t.push(...c,...f)}else t.push(...typeof i=="string"?B({[o]:i}):$e(o,i));continue}if(typeof r=="object"&&r)if(L.MEDIA.has(o)){const i=o.startsWith("twitter")?"twitter":"og",c=o.replace(/^(og|twitter)/,"").toLowerCase(),f=i==="twitter"?"name":"property";r.url&&t.push({[f]:`${i}:${c}`,content:r.url}),r.secureUrl&&t.push({[f]:`${i}:${c}:secure_url`,content:r.secureUrl});for(const[a,u]of Object.entries(r))a!=="url"&&a!=="secureUrl"&&t.push({[f]:`${i}:${c}:${a}`,content:u})}else he.has(I(o))?t.push(...$e(o,r)):n[o]=at(r);else n[o]=r}const s=Object.entries(n).map(([o,r])=>{if(o==="charset")return{charset:r===null?"_null":r};const i=ut(o),c=Nn(o),f=r===null?"_null":typeof r=="object"?Vn(r,o):typeof r=="number"?r.toString():r;return i==="http-equiv"?{"http-equiv":c,content:f}:{[i]:c,content:f}});return[...t,...s].map(o=>"content"in o&&o.content==="_null"?{...o,content:null}:o)}const Un={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(n=>n.tag!=="_flatMeta"?n:(t.push(B(n.props).map(s=>({...n,tag:"meta",props:s}))),!1)).filter(Boolean).concat(...t)}}},Wn=(e,t)=>Wt(t)?Ut(t):t,ft="usehead";function qn(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ft,e)}}.install}function dt(){if(qt()){const e=Bt(ft);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 pt(e,t={}){const n=t.head||dt();return n.ssr?n.push(e||{},t):Bn(n,e,t)}function Bn(e,t,n={}){const s=$(!1);let o;return Gt(()=>{const i=s.value?{}:q(t,Wn);o?o.patch(i):o=e.push(i,n)}),Kt()&&(Qt(()=>{o.dispose()}),Jt(()=>{s.value=!0}),Zt(()=>{s.value=!1})),o}function Gn(e={},t={}){(t.head||dt()).use(Un);const{title:s,titleTemplate:o,...r}=e;return pt({title:s,titleTemplate:o,_flatMeta:r},t)}function Kn(e={}){const t=Rn({domOptions:{render:Dn(()=>it(t),n=>setTimeout(n,0))},...e});return t.install=qn(t),t}const Qn=Object.freeze({left:0,top:0,width:16,height:16}),G=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ht=Object.freeze({...Qn,...G}),Jn=Object.freeze({...ht,body:"",hidden:!1}),Zn=Object.freeze({width:null,height:null}),mt=Object.freeze({...Zn,...G});function Xn(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(n.rotate=s),n}function je(e,t){const n=Xn(e,t);for(const s in Jn)s in G?s in e&&!(s in n)&&(n[s]=G[s]):s in t?n[s]=t[s]:s in e&&(n[s]=e[s]);return n}function Yn(e,t){const n=e.icons,s=e.aliases||Object.create(null),o=Object.create(null);function r(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const c=s[i]&&s[i].parent,f=c&&r(c);f&&(o[i]=[c].concat(f))}return o[i]}return(t||Object.keys(n).concat(Object.keys(s))).forEach(r),o}function Oe(e,t,n){const s=e.icons,o=e.aliases||Object.create(null);let r={};function i(c){r=je(s[c]||o[c],r)}return i(t),n.forEach(i),je(e,r)}function eo(e,t){if(e.icons[t])return Oe(e,t,[]);const n=Yn(e,[t])[t];return n?Oe(e,t,n):null}const to=/(-?[0-9.]*[0-9]+[0-9.]*)/g,no=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function K(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const s=e.split(to);if(s===null||!s.length)return e;const o=[];let r=s.shift(),i=no.test(r);for(;;){if(i){const c=parseFloat(r);isNaN(c)?o.push(r):o.push(Math.ceil(c*t*n)/n)}else o.push(r);if(r=s.shift(),r===void 0)return o.join("");i=!i}}function oo(e,t="defs"){let n="";const s=e.indexOf("<"+t);for(;s>=0;){const o=e.indexOf(">",s),r=e.indexOf("</"+t);if(o===-1||r===-1)break;const i=e.indexOf(">",r);if(i===-1)break;n+=e.slice(o+1,r).trim(),e=e.slice(0,s).trim()+e.slice(i+1)}return{defs:n,content:e}}function so(e,t){return e?"<defs>"+e+"</defs>"+t:t}function ro(e,t,n){const s=oo(e);return so(s.defs,t+s.content+n)}const me=e=>e==="unset"||e==="undefined"||e==="none";function io(e,t){const n={...ht,...e},s={...mt,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,s].forEach(h=>{const m=[],y=h.hFlip,w=h.vFlip;let v=h.rotate;y?w?v+=2:(m.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),m.push("scale(-1 1)"),o.top=o.left=0):w&&(m.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),m.push("scale(1 -1)"),o.top=o.left=0);let b;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:b=o.height/2+o.top,m.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:m.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,m.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}v%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),m.length&&(r=ro(r,'<g transform="'+m.join(" ")+'">',"</g>"))});const i=s.width,c=s.height,f=o.width,a=o.height;let u,p;i===null?(p=c===null?"1em":c==="auto"?a:c,u=K(p,f/a)):(u=i==="auto"?f:i,p=c===null?K(u,a/f):c==="auto"?a:c);const d={},l=(h,m)=>{me(m)||(d[h]=m.toString())};l("width",u),l("height",p);const g=[o.left,o.top,f,a];return d.viewBox=g.join(" "),{attributes:d,viewBox:g,body:r}}function co(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Ae(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" ')),co(t)}function ao(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 lo=/\swidth\s*=\s*["']([\w.]+)["']/,uo=/\sheight\s*=\s*["']([\w.]+)["']/,Y=/<svg\s+/;function fo(e,t,n){const s=e.slice(0,e.indexOf(">")),o=(r,i)=>{const c=i.exec(s),f=c!=null,a=t[r];return!a&&!me(a)&&(typeof n=="number"?n>0&&(t[r]=K(c?.[1]??"1em",n)):c&&(t[r]=c[1])),f};return[o("width",lo),o("height",uo)]}async function gt(e,t,n,s,o,r){const{scale:i,addXmlNs:c=!1}=s??{},{additionalProps:f={},iconCustomizer:a}=s?.customizations??{},u=await o?.()??{};await a?.(t,n,u),Object.keys(f).forEach(h=>{const m=f[h];m!=null&&(u[h]=m)}),r?.(u);const[p,d]=fo(e,u,i);c&&(!e.includes("xmlns=")&&!u.xmlns&&(u.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!u["xmlns:xlink"]&&(u["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const l=Object.keys(u).map(h=>h==="width"&&p||h==="height"&&d?null:`${h}="${u[h]}"`).filter(h=>h!=null);if(l.length&&(e=e.replace(Y,`<svg ${l.join(" ")} `)),s){const{defaultStyle:h,defaultClass:m}=s;m&&!e.includes("class=")&&(e=e.replace(Y,`<svg class="${m}" `)),h&&!e.includes("style=")&&(e=e.replace(Y,`<svg style="${h}" `))}const g=s?.usedProps;return g&&(Object.keys(f).forEach(h=>{const m=u[h];m!=null&&(g[h]=m)}),typeof u.width<"u"&&u.width!==null&&(g.width=u.width),typeof u.height<"u"&&u.height!==null&&(g.height=u.height)),e}var D={exports:{}},ee,Ee;function po(){if(Ee)return ee;Ee=1;var e=1e3,t=e*60,n=t*60,s=n*24,o=s*7,r=s*365.25;ee=function(u,p){p=p||{};var d=typeof u;if(d==="string"&&u.length>0)return i(u);if(d==="number"&&isFinite(u))return p.long?f(u):c(u);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(u))};function i(u){if(u=String(u),!(u.length>100)){var p=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(u);if(p){var d=parseFloat(p[1]),l=(p[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return d*r;case"weeks":case"week":case"w":return d*o;case"days":case"day":case"d":return d*s;case"hours":case"hour":case"hrs":case"hr":case"h":return d*n;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function c(u){var p=Math.abs(u);return p>=s?Math.round(u/s)+"d":p>=n?Math.round(u/n)+"h":p>=t?Math.round(u/t)+"m":p>=e?Math.round(u/e)+"s":u+"ms"}function f(u){var p=Math.abs(u);return p>=s?a(u,p,s,"day"):p>=n?a(u,p,n,"hour"):p>=t?a(u,p,t,"minute"):p>=e?a(u,p,e,"second"):u+" ms"}function a(u,p,d,l){var g=p>=d*1.5;return Math.round(u/d)+" "+l+(g?"s":"")}return ee}var te,Me;function ho(){if(Me)return te;Me=1;function e(t){s.debug=s,s.default=s,s.coerce=a,s.disable=c,s.enable=r,s.enabled=f,s.humanize=po(),s.destroy=u,Object.keys(t).forEach(p=>{s[p]=t[p]}),s.names=[],s.skips=[],s.formatters={};function n(p){let d=0;for(let l=0;l<p.length;l++)d=(d<<5)-d+p.charCodeAt(l),d|=0;return s.colors[Math.abs(d)%s.colors.length]}s.selectColor=n;function s(p){let d,l=null,g,h;function m(...y){if(!m.enabled)return;const w=m,v=Number(new Date),b=v-(d||v);w.diff=b,w.prev=d,w.curr=v,d=v,y[0]=s.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let x=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(k,_)=>{if(k==="%%")return"%";x++;const S=s.formatters[_];if(typeof S=="function"){const T=y[x];k=S.call(w,T),y.splice(x,1),x--}return k}),s.formatArgs.call(w,y),(w.log||s.log).apply(w,y)}return m.namespace=p,m.useColors=s.useColors(),m.color=s.selectColor(p),m.extend=o,m.destroy=s.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>l!==null?l:(g!==s.namespaces&&(g=s.namespaces,h=s.enabled(p)),h),set:y=>{l=y}}),typeof s.init=="function"&&s.init(m),m}function o(p,d){const l=s(this.namespace+(typeof d>"u"?":":d)+p);return l.log=this.log,l}function r(p){s.save(p),s.namespaces=p,s.names=[],s.skips=[];const d=(typeof p=="string"?p:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const l of d)l[0]==="-"?s.skips.push(l.slice(1)):s.names.push(l)}function i(p,d){let l=0,g=0,h=-1,m=0;for(;l<p.length;)if(g<d.length&&(d[g]===p[l]||d[g]==="*"))d[g]==="*"?(h=g,m=l,g++):(l++,g++);else if(h!==-1)g=h+1,m++,l=m;else return!1;for(;g<d.length&&d[g]==="*";)g++;return g===d.length}function c(){const p=[...s.names,...s.skips.map(d=>"-"+d)].join(",");return s.enable(""),p}function f(p){for(const d of s.skips)if(i(p,d))return!1;for(const d of s.names)if(i(p,d))return!0;return!1}function a(p){return p instanceof Error?p.stack||p.message:p}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s.enable(s.load()),s}return te=e,te}var Pe;function mo(){return Pe||(Pe=1,(function(e,t){var n={};t.formatArgs=o,t.save=r,t.load=i,t.useColors=s,t.storage=c(),t.destroy=(()=>{let a=!1;return()=>{a||(a=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function s(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let a;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function o(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;a.splice(1,0,u,"color: inherit");let p=0,d=0;a[0].replace(/%[a-zA-Z%]/g,l=>{l!=="%%"&&(p++,l==="%c"&&(d=p))}),a.splice(d,0,u)}t.log=console.debug||console.log||(()=>{});function r(a){try{a?t.storage.setItem("debug",a):t.storage.removeItem("debug")}catch{}}function i(){let a;try{a=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!a&&typeof process<"u"&&"env"in process&&(a=n.DEBUG),a}function c(){try{return localStorage}catch{}}e.exports=ho()(t);const{formatters:f}=e.exports;f.j=function(a){try{return JSON.stringify(a)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(D,D.exports)),D.exports}var go=mo();const yt=cn(go),yo=yt("@iconify-loader:custom");async function Le(e,t,n,s){let o;yo(`${t}:${n}`);try{if(typeof e=="function")o=await e(n);else{const r=e[n];o=typeof r=="function"?await r():r}}catch(r){console.warn(`Failed to load custom icon "${n}" in "${t}":`,r);return}if(o){const r=o.indexOf("<svg");r>0&&(o=o.slice(r));const{transform:i}=s?.customizations??{};return o=typeof i=="function"?await i(o,t,n):o,o.startsWith("<svg")?await gt(s?.customizations?.trimCustomSvg===!0?ao(o):o,t,n,s,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),o)}}const wo=yt("@iconify-loader:icon");async function wt(e,t,n,s){let o;const{customize:r}=s?.customizations??{};for(const i of n)if(o=eo(e,i),o){wo(`${t}:${i}`);let c={...mt};typeof r=="function"&&(o=Object.assign({},o),c=r(c,o,`${t}:${i}`)??c);const{attributes:{width:f,height:a,...u},body:p}=io(o,c),d=s?.scale;return await gt(`<svg >${p}</svg>`,t,i,s,()=>({...u}),l=>{const g=(h,m)=>{const y=l[h];let w;if(!me(y)){if(y)return;typeof d=="number"?d&&(w=K(m??"1em",d)):w=m}w?l[h]=w:delete l[h]};g("width",f),g("height",a)})}}const bt=async(e,t,n)=>{const s=n?.customCollections?.[e];if(s)if(typeof s=="function"){let o;try{o=await s(t)}catch(r){console.warn(`Failed to load custom icon "${t}" in "${e}":`,r);return}if(o){if(typeof o=="string")return await Le(()=>o,e,t,n);if("icons"in o){const r=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await wt(o,e,r,n)}}}else return await Le(s,e,t,n)};var He={};function bo(){const e=typeof process<"u"&&process.stdout,t=e&&!!He.VSCODE_CWD,n=e&&!!He.ESLINT;return{isNode:e,isVSCode:t,isESLint:n}}const vt=["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","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","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],vo=3;function Co(e){return Pt((t={})=>{const{scale:n=1,mode:s="auto",prefix:o="i-",warn:r=!1,iconifyCollectionsNames:i,collections:c,extraProperties:f={},customizations:a={},autoInstall:u=!1,collectionsNodeResolvePath:p,layer:d="icons",unit:l,processor:g}=t,h=bo(),m={addXmlNs:!0,scale:n,customCollections:c,autoInstall:u,cwd:p,warn:void 0,customizations:{...a,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(w,v,b){await a.iconCustomizer?.(w,v,b),l&&(b.width||(b.width=`${n}${l}`),b.height||(b.height=`${n}${l}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:Ae,parseIconWithLoader:Re},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async w=>{let[v,b,x=s]=w;y=y||await e(t);const C={},k=await Re(b,y,{...m,usedProps:C},i);if(!k){r&&!h.isESLint&&Lt(`failed to load icon "${v}"`);return}let _;const S=`url("data:image/svg+xml;utf8,${Ae(k.svg)}")`;return x==="auto"&&(x=k.svg.includes("currentColor")?"mask":"bg"),x==="mask"?_={"--un-icon":S,"-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",...C}:_={background:`${S} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...C},g?.(_,{...k,icon:k.name,mode:x}),_},{layer:d,prefix:o}]]}})}function Ct(e,t,n=new Map){function s(o){if(vt.includes(o))return n.has(o)||n.set(o,e(`${t}@iconify-json/${o}/icons.json`)),n.get(o)}return async(o,r,i)=>{let c=await bt(o,r,i);if(c)return c;const f=await s(o);if(f){const a=[r,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r.replace(/([a-z])(\d+)/g,"$1-$2")];c=await wt(f,o,a,i)}return c}}async function Re(e,t,n={},s=[]){let o="",r="",i;const c=new Set([...vt,...s,...Object.keys(n.customCollections||{})]);if(e.includes(":")){if([o,r]=e.split(":"),!c.has(o))return;i=await t(o,r,n)}else{const f=e.split(/-/g);for(let a=vo;a>=1&&(o=f.slice(0,a).join("-"),!(!!c.has(o)&&(r=f.slice(a).join("-"),i=await t(o,r,n),i)));a--);}if(i)return{collection:o,name:r,svg:i}}async function ko(e){const{$fetch:t}=await z(async()=>{const{$fetch:n}=await import("./unocss-CXIOlVgb.js").then(s=>s.f);return{$fetch:n}},[],import.meta.url);return Ct(t,e)}const xo=Co(async e=>{const t=e?.customFetch,n=e?.cdn;return t&&n?Ct(t,n):n?await ko(n):bt}),De={presets:[Ht({preflights:{reset:!0}}),Rt(),xo({cdn:"https://cdn.jsdelivr.net/npm/"}),Dt(),zt()]},kt=/^[a-z0-9]+(-[a-z0-9]+)*$/,R=(e,t,n,s="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;s=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const c=o.pop(),f=o.pop(),a={provider:o.length>0?o[0]:s,prefix:f,name:c};return t&&!N(a)?null:a}const r=o[0],i=r.split("-");if(i.length>1){const c={provider:s,prefix:i.shift(),name:i.join("-")};return t&&!N(c)?null:c}if(n&&s===""){const c={provider:s,prefix:"",name:r};return t&&!N(c,n)?null:c}return null},N=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,xt=Object.freeze({left:0,top:0,width:16,height:16}),Q=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),A=Object.freeze({...xt,...Q}),ue=Object.freeze({...A,body:"",hidden:!1});function _o(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(n.rotate=s),n}function ze(e,t){const n=_o(e,t);for(const s in ue)s in Q?s in e&&!(s in n)&&(n[s]=Q[s]):s in t?n[s]=t[s]:s in e&&(n[s]=e[s]);return n}function So(e,t){const n=e.icons,s=e.aliases||Object.create(null),o=Object.create(null);function r(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const c=s[i]&&s[i].parent,f=c&&r(c);f&&(o[i]=[c].concat(f))}return o[i]}return Object.keys(n).concat(Object.keys(s)).forEach(r),o}function Fo(e,t,n){const s=e.icons,o=e.aliases||Object.create(null);let r={};function i(c){r=ze(s[c]||o[c],r)}return i(t),n.forEach(i),ze(e,r)}function _t(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const s=So(e);for(const o in s){const r=s[o];r&&(t(o,Fo(e,o,r)),n.push(o))}return n}const To={provider:"",aliases:{},not_found:{},...xt};function ne(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function St(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ne(e,To))return null;const n=t.icons;for(const o in n){const r=n[o];if(!o||typeof r.body!="string"||!ne(r,ue))return null}const s=t.aliases||Object.create(null);for(const o in s){const r=s[o],i=r.parent;if(!o||typeof i!="string"||!n[i]&&!s[i]||!ne(r,ue))return null}return t}const Ne=Object.create(null);function Io(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function O(e,t){const n=Ne[e]||(Ne[e]=Object.create(null));return n[t]||(n[t]=Io(e,t))}function Ft(e,t){return St(t)?_t(t,(n,s)=>{s?e.icons[n]=s:e.missing.add(n)}):[]}function $o(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let H=!1;function Tt(e){return typeof e=="boolean"&&(H=e),H}function Z(e){const t=typeof e=="string"?R(e,!0,H):e;if(t){const n=O(t.provider,t.prefix),s=t.name;return n.icons[s]||(n.missing.has(s)?null:void 0)}}function jo(e,t){const n=R(e,!0,H);if(!n)return!1;const s=O(n.provider,n.prefix);return t?$o(s,n.name,t):(s.missing.add(n.name),!0)}function Oo(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),H&&!t&&!e.prefix){let o=!1;return St(e)&&(e.prefix="",_t(e,(r,i)=>{jo(r,i)&&(o=!0)})),o}const n=e.prefix;if(!N({prefix:n,name:"a"}))return!1;const s=O(t,n);return!!Ft(s,e)}function Ao(e){return!!Z(e)}function Eo(e){const t=Z(e);return t&&{...A,...t}}const It=Object.freeze({width:null,height:null}),$t=Object.freeze({...It,...Q}),Mo=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Po=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ve(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const s=e.split(Mo);if(s===null||!s.length)return e;const o=[];let r=s.shift(),i=Po.test(r);for(;;){if(i){const c=parseFloat(r);isNaN(c)?o.push(r):o.push(Math.ceil(c*t*n)/n)}else o.push(r);if(r=s.shift(),r===void 0)return o.join("");i=!i}}function Lo(e,t="defs"){let n="";const s=e.indexOf("<"+t);for(;s>=0;){const o=e.indexOf(">",s),r=e.indexOf("</"+t);if(o===-1||r===-1)break;const i=e.indexOf(">",r);if(i===-1)break;n+=e.slice(o+1,r).trim(),e=e.slice(0,s).trim()+e.slice(i+1)}return{defs:n,content:e}}function Ho(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Ro(e,t,n){const s=Lo(e);return Ho(s.defs,t+s.content+n)}const Do=e=>e==="unset"||e==="undefined"||e==="none";function zo(e,t){const n={...A,...e},s={...$t,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,s].forEach(h=>{const m=[],y=h.hFlip,w=h.vFlip;let v=h.rotate;y?w?v+=2:(m.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),m.push("scale(-1 1)"),o.top=o.left=0):w&&(m.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),m.push("scale(1 -1)"),o.top=o.left=0);let b;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:b=o.height/2+o.top,m.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:m.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,m.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}v%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),m.length&&(r=Ro(r,'<g transform="'+m.join(" ")+'">',"</g>"))});const i=s.width,c=s.height,f=o.width,a=o.height;let u,p;i===null?(p=c===null?"1em":c==="auto"?a:c,u=Ve(p,f/a)):(u=i==="auto"?f:i,p=c===null?Ve(u,a/f):c==="auto"?a:c);const d={},l=(h,m)=>{Do(m)||(d[h]=m.toString())};l("width",u),l("height",p);const g=[o.left,o.top,f,a];return d.viewBox=g.join(" "),{attributes:d,viewBox:g,body:r}}const No=/\sid="(\S+)"/g,Vo="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Uo=0;function Wo(e,t=Vo){const n=[];let s;for(;s=No.exec(e);)n.push(s[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(r=>{const i=typeof t=="function"?t(r):t+(Uo++).toString(),c=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const fe=Object.create(null);function qo(e,t){fe[e]=t}function de(e){return fe[e]||fe[""]}function ge(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ye=Object.create(null),M=["https://api.simplesvg.com","https://api.unisvg.com"],V=[];for(;M.length>0;)M.length===1||Math.random()>.5?V.push(M.shift()):V.push(M.pop());ye[""]=ge({resources:["https://api.iconify.design"].concat(V)});function Bo(e,t){const n=ge(t);return n===null?!1:(ye[e]=n,!0)}function we(e){return ye[e]}const Go=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Ue=Go();function Ko(e,t){const n=we(e);if(!n)return 0;let s;if(!n.maxURL)s=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const r=t+".json?icons=";s=n.maxURL-o-n.path.length-r.length}return s}function Qo(e){return e===404}const Jo=(e,t,n)=>{const s=[],o=Ko(e,t),r="icons";let i={type:r,provider:e,prefix:t,icons:[]},c=0;return n.forEach((f,a)=>{c+=f.length+1,c>=o&&a>0&&(s.push(i),i={type:r,provider:e,prefix:t,icons:[]},c=f.length),i.icons.push(f)}),s.push(i),s};function Zo(e){if(typeof e=="string"){const t=we(e);if(t)return t.path}return"/"}const Xo=(e,t,n)=>{if(!Ue){n("abort",424);return}let s=Zo(t.provider);switch(t.type){case"icons":{const r=t.prefix,c=t.icons.join(","),f=new URLSearchParams({icons:c});s+=r+".json?"+f.toString();break}case"custom":{const r=t.uri;s+=r.slice(0,1)==="/"?r.slice(1):r;break}default:n("abort",400);return}let o=503;Ue(e+s).then(r=>{const i=r.status;if(i!==200){setTimeout(()=>{n(Qo(i)?"abort":"next",i)});return}return o=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?n("abort",r):n("next",o)});return}setTimeout(()=>{n("success",r)})}).catch(()=>{n("next",o)})},Yo={prepare:Jo,send:Xo};function es(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,r)=>o.provider!==r.provider?o.provider.localeCompare(r.provider):o.prefix!==r.prefix?o.prefix.localeCompare(r.prefix):o.name.localeCompare(r.name));let s={provider:"",prefix:"",name:""};return e.forEach(o=>{if(s.name===o.name&&s.prefix===o.prefix&&s.provider===o.provider)return;s=o;const r=o.provider,i=o.prefix,c=o.name,f=n[r]||(n[r]=Object.create(null)),a=f[i]||(f[i]=O(r,i));let u;c in a.icons?u=t.loaded:i===""||a.missing.has(c)?u=t.missing:u=t.pending;const p={provider:r,prefix:i,name:c};u.push(p)}),t}function jt(e,t){e.forEach(n=>{const s=n.loaderCallbacks;s&&(n.loaderCallbacks=s.filter(o=>o.id!==t))})}function ts(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const s=e.provider,o=e.prefix;t.forEach(r=>{const i=r.icons,c=i.pending.length;i.pending=i.pending.filter(f=>{if(f.prefix!==o)return!0;const a=f.name;if(e.icons[a])i.loaded.push({provider:s,prefix:o,name:a});else if(e.missing.has(a))i.missing.push({provider:s,prefix:o,name:a});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||jt([e],r.id),r.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),r.abort))})}))}let ns=0;function os(e,t,n){const s=ns++,o=jt.bind(null,n,s);if(!t.pending.length)return o;const r={id:s,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(r)}),o}function ss(e,t=!0,n=!1){const s=[];return e.forEach(o=>{const r=typeof o=="string"?R(o,t,n):o;r&&s.push(r)}),s}var rs={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function is(e,t,n,s){const o=e.resources.length,r=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let C=e.resources.slice(0);for(i=[];C.length>1;){const k=Math.floor(Math.random()*C.length);i.push(C[k]),C=C.slice(0,k).concat(C.slice(k+1))}i=i.concat(C)}else i=e.resources.slice(r).concat(e.resources.slice(0,r));const c=Date.now();let f="pending",a=0,u,p=null,d=[],l=[];typeof s=="function"&&l.push(s);function g(){p&&(clearTimeout(p),p=null)}function h(){f==="pending"&&(f="aborted"),g(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function m(C,k){k&&(l=[]),typeof C=="function"&&l.push(C)}function y(){return{startTime:c,payload:t,status:f,queriesSent:a,queriesPending:d.length,subscribe:m,abort:h}}function w(){f="failed",l.forEach(C=>{C(void 0,u)})}function v(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function b(C,k,_){const S=k!=="success";switch(d=d.filter(T=>T!==C),f){case"pending":break;case"failed":if(S||!e.dataAfterTimeout)return;break;default:return}if(k==="abort"){u=_,w();return}if(S){u=_,d.length||(i.length?x():w());return}if(g(),v(),!e.random){const T=e.resources.indexOf(C.resource);T!==-1&&T!==e.index&&(e.index=T)}f="completed",l.forEach(T=>{T(_)})}function x(){if(f!=="pending")return;g();const C=i.shift();if(C===void 0){if(d.length){p=setTimeout(()=>{g(),f==="pending"&&(v(),w())},e.timeout);return}w();return}const k={status:"pending",resource:C,callback:(_,S)=>{b(k,_,S)}};d.push(k),a++,p=setTimeout(x,e.rotate),n(C,t,k.callback)}return setTimeout(x),y}function Ot(e){const t={...rs,...e};let n=[];function s(){n=n.filter(c=>c().status==="pending")}function o(c,f,a){const u=is(t,c,f,(p,d)=>{s(),a&&a(p,d)});return n.push(u),u}function r(c){return n.find(f=>c(f))||null}return{query:o,find:r,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:s}}function We(){}const oe=Object.create(null);function cs(e){if(!oe[e]){const t=we(e);if(!t)return;const n=Ot(t),s={config:t,redundancy:n};oe[e]=s}return oe[e]}function as(e,t,n){let s,o;if(typeof e=="string"){const r=de(e);if(!r)return n(void 0,424),We;o=r.send;const i=cs(e);i&&(s=i.redundancy)}else{const r=ge(e);if(r){s=Ot(r);const i=e.resources?e.resources[0]:"",c=de(i);c&&(o=c.send)}}return!s||!o?(n(void 0,424),We):s.query(t,o,n)().abort}function qe(){}function ls(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,ts(e)}))}function us(e){const t=[],n=[];return e.forEach(s=>{(s.match(kt)?t:n).push(s)}),{valid:t,invalid:n}}function P(e,t,n){function s(){const o=e.pendingIcons;t.forEach(r=>{o&&o.delete(r),e.icons[r]||e.missing.add(r)})}if(n&&typeof n=="object")try{if(!Ft(e,n).length){s();return}}catch(o){console.error(o)}s(),ls(e)}function Be(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function fs(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:s}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const r=e.loadIcon;if(e.loadIcons&&(o.length>1||!r)){Be(e.loadIcons(o,s,n),u=>{P(e,o,u)});return}if(r){o.forEach(u=>{const p=r(u,s,n);Be(p,d=>{const l=d?{prefix:s,icons:{[u]:d}}:null;P(e,[u],l)})});return}const{valid:i,invalid:c}=us(o);if(c.length&&P(e,c,null),!i.length)return;const f=s.match(kt)?de(n):null;if(!f){P(e,i,null);return}f.prepare(n,s,i).forEach(u=>{as(n,u,p=>{P(e,u.icons,p)})})}))}const At=(e,t)=>{const n=ss(e,!0,Tt()),s=es(n);if(!s.pending.length){let f=!0;return t&&setTimeout(()=>{f&&t(s.loaded,s.missing,s.pending,qe)}),()=>{f=!1}}const o=Object.create(null),r=[];let i,c;return s.pending.forEach(f=>{const{provider:a,prefix:u}=f;if(u===c&&a===i)return;i=a,c=u,r.push(O(a,u));const p=o[a]||(o[a]=Object.create(null));p[u]||(p[u]=[])}),s.pending.forEach(f=>{const{provider:a,prefix:u,name:p}=f,d=O(a,u),l=d.pendingIcons||(d.pendingIcons=new Set);l.has(p)||(l.add(p),o[a][u].push(p))}),r.forEach(f=>{const a=o[f.provider][f.prefix];a.length&&fs(f,a)}),t?os(t,s,r):qe},ds=e=>new Promise((t,n)=>{const s=typeof e=="string"?R(e,!0):e;if(!s){n(e);return}At([s||e],o=>{if(o.length&&s){const r=Z(s);if(r){t({...A,...r});return}}n(e)})});function ps(e,t){const n={...e};for(const s in t){const o=t[s],r=typeof o;s in It?(o===null||o&&(r==="string"||r==="number"))&&(n[s]=o):r===typeof n[s]&&(n[s]=s==="rotate"?o%4:o)}return n}const hs=/[\s,]+/;function ms(e,t){t.split(hs).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function gs(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function s(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:s(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r=r/o,r%1===0?s(r):0)}}return t}function ys(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in t)n+=" "+s+'="'+t[s]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function ws(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function bs(e){return"data:image/svg+xml,"+ws(e)}function vs(e){return'url("'+bs(e)+'")'}const Ge={...$t,inline:!1},Cs={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},ks={display:"inline-block"},pe={backgroundColor:"currentColor"},Et={backgroundColor:"transparent"},Ke={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Qe={webkitMask:pe,mask:pe,background:Et};for(const e in Qe){const t=Qe[e];for(const n in Ke)t[e+n]=Ke[n]}const U={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";U[e+"-flip"]=t,U[e.slice(0,1)+"-flip"]=t,U[e+"Flip"]=t});function Je(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Ze=(e,t)=>{const n=ps(Ge,t),s={...Cs},o=t.mode||"svg",r={},i=t.style,c=typeof i=="object"&&!(i instanceof Array)?i:{};for(let h in t){const m=t[h];if(m!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[h]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&ms(n,m);break;case"color":r.color=m;break;case"rotate":typeof m=="string"?n[h]=gs(m):typeof m=="number"&&(n[h]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete s["aria-hidden"];break;default:{const y=U[h];y?(m===!0||m==="true"||m===1)&&(n[y]=!0):Ge[h]===void 0&&(s[h]=m)}}}const f=zo(e,n),a=f.attributes;if(n.inline&&(r.verticalAlign="-0.125em"),o==="svg"){s.style={...r,...c},Object.assign(s,a);let h=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),s.innerHTML=Wo(f.body,m?()=>m+"ID"+h++:"iconifyVue"),be("svg",s)}const{body:u,width:p,height:d}=e,l=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),g=ys(u,{...a,width:p+"",height:d+""});return s.style={...r,"--svg":vs(g),width:Je(a.width),height:Je(a.height),...ks,...l?pe:Et,...c},be("span",s)};Tt(!0);qo("",Yo);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(s=>{try{(typeof s!="object"||s===null||s instanceof Array||typeof s.icons!="object"||typeof s.prefix!="string"||!Oo(s))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const s="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;Bo(n,o)||console.error(s)}catch{console.error(s)}}}}const xs={...A,body:""};tt((e,{emit:t})=>{const n=$(null);function s(){n.value&&(n.value.abort?.(),n.value=null)}const o=$(!!e.ssr),r=$(""),i=Xt(null);function c(){const a=e.icon;if(typeof a=="object"&&a!==null&&typeof a.body=="string")return r.value="",{data:a};let u;if(typeof a!="string"||(u=R(a,!1,!0))===null)return null;let p=Z(u);if(!p){const g=n.value;return(!g||g.name!==a)&&(p===null?n.value={name:a}:n.value={name:a,abort:At([u],f)}),null}s(),r.value!==a&&(r.value=a,nt(()=>{t("load",a)}));const d=e.customise;if(d){p=Object.assign({},p);const g=d(p.body,u.name,u.prefix,u.provider);typeof g=="string"&&(p.body=g)}const l=["iconify"];return u.prefix!==""&&l.push("iconify--"+u.prefix),u.provider!==""&&l.push("iconify--"+u.provider),{data:p,classes:l}}function f(){const a=c();a?a.data!==i.value?.data&&(i.value=a):i.value=null}return o.value?f():Yt(()=>{o.value=!0,f()}),se(()=>e.icon,f),en(s),()=>{const a=i.value;if(!a)return Ze(xs,e);let u=e;return a.classes&&(u={...e,class:a.classes.join(" ")}),Ze({...A,...a.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const _s=tt({__name:"App",setup(e,{expose:t}){t();const n=pn(),s=F(()=>re.value.find(({id:f})=>f===n.name)),o=$(""),r=$(""),i=F(()=>s.value?.to&&`${window.location.origin}${s.value.to==="/"?"":s.value.to}`);se(s,async f=>{let a="/favicon.ico";if(f?.icon){const u=Ao(f.icon)?Eo(f.icon):await ds(f.icon);if(u){const{body:p,height:d,left:l,top:g,width:h}=u;a=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${l.toString()} ${g.toString()} ${h.toString()} ${d.toString()}">${p}</svg>`}}o.value=a}),pt({link:[[o,"icon","icon"],[i,"canonical"]].map(([f,a,u])=>({href:f,key:u,rel:a})),script:[{id:"application/ld+json",innerHTML:r,type:"application/ld+json"}]}),Gn({description:F(()=>s.value?.description),keywords:F(()=>s.value?.keywords.join()),ogDescription:F(()=>s.value?.description),ogImage:F(()=>s.value?.images.filter(({url:f})=>f).map(({alt:f="",url:a})=>({alt:f,url:`${window.location.origin}/${a}`}))??[]),ogTitle:F(()=>s.value?.title),ogType:F(()=>s.value?.type),ogUrl:i,title:F(()=>s.value?.title)}),se(()=>s.value?.jsonld,async f=>{r.value=JSON.stringify(await f)||'{"@context":"https://schema.org"}'});const c={route:n,a:s,favicon:o,jsonld:r,ogUrl:i,get pages(){return re}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}}),Ss=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n};function Fs(e,t,n,s,o,r){const i=tn("router-view");return Ce(),ve(i,null,{default:nn(({Component:c})=>[(Ce(),ve(on(c),{id:s.pages[0]?.id},null,8,["id"]))]),_:1})}const Ts=Ss(_s,[["render",Fs],["__file","App.vue"]]);let Mt;const{pathname:Is}=new URL(document.baseURI),Xe=$(!0),J=new Map,$s=()=>{let e,t;return{promise:new Promise((s,o)=>{e=s,t=o}),reject:t,resolve:e}},j=hn({history:mn(Is),routes:[],scrollBehavior:(e,t,n)=>Mt?.(e,t,n)}),Ye=$(!0),et=F(()=>j.currentRoute.value.path==="/"?ie[j.currentRoute.value.name]?.$children[0]:ie[j.currentRoute.value.name]),Rs=({id:e=an()})=>(J.set(e,$s()),sn(async()=>gn(`./pages/${e}.vue`))),Ds=({id:e}={})=>{e&&J.get(e)?.resolve(void 0)},js=({extractAll:e,toggleObserver:t})=>{Mt=async({hash:n,name:s})=>{if(s){Xe.value=!0,t(!1);const[{promise:o}={}]=J.values();await o,await Promise.all([...J.values()].map(({promise:i})=>i)),await e(),t(!0);const r=Ye.value&&{behavior:"smooth",...n||et.value?.parent?.flat&&et.value.index?{el:n||`#${String(s)}`}:{left:0,top:0}};return Xe.value=!1,Ye.value=!0,r}else return!1}};j.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const W=rn(Ts),Os={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};W.use(Kn());const As=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();ln.push(t),await nt(),re.value.forEach(({id:n,loc:s,path:o},r,i)=>{if(Object.defineProperties(i[r],{jsonld:Os}),o!==void 0){const c=s?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");j.addRoute({...c&&s?{alias:c}:{undefined:void 0},children:[{component:()=>z(()=>import("./PageView-DgUl2Tsz.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:n,path:""}],component:()=>z(()=>import("./RootView-DD4jCgxE.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:o.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),j.addRoute({component:()=>z(()=>import("./NotFoundView-BGAEMJy-.js"),__vite__mapDeps([4,2,1]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json");ke.push(...await(e.ok?e:new Response("[]")).json()),De.presets.push(Nt({customFetch:fn,fonts:un(ke)})),await Vt({defaults:De,ready:async t=>{const{toggleObserver:n}=t;return js(t),await As,W.provide("pages",ie),W.use(j),await j.isReady(),W.mount("#app"),n(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(dn);console.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","1.1.23");export{Ss as _,Xe as a,Rs as m,J as p,Ds as r,Ye as s,et as t,pt as u};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-Dh3QT9qA.js","./shared-Dwlmp5RQ.js","./unocss-DRtn-RHz.js","./RootView-C5a_BTY0.js","./NotFoundView-CQSSvQ9O.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{d as Pt,w as Lt,_ as z,p as Ht,a as Rt,b as Dt,c as zt,e as Nt,i as Vt}from"./unocss-DRtn-RHz.js";import{toValue as Ut,isRef as Wt,hasInjectionContext as qt,inject as Bt,ref as $,watchEffect as Gt,getCurrentInstance as Kt,onBeforeUnmount as Qt,onDeactivated as Jt,onActivated as Zt,defineComponent as tt,shallowRef as Xt,onMounted as Yt,watch as se,onUnmounted as en,h as be,nextTick as nt,computed as F,resolveComponent as tn,createBlock as ve,openBlock as Ce,withCtx as nn,resolveDynamicComponent as on,defineAsyncComponent as sn,createApp as rn}from"vue";import{g as cn,p as re,a as ie,u as an,n as ln,f as ke,b as un,c as fn,d as dn}from"./shared-Dwlmp5RQ.js";import{useRoute as pn,createRouter as hn,createWebHistory as mn}from"vue-router";import gn from"@vuebro/loader-sfc";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function ce(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?ce(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const yn={run:e=>e()},wn=()=>yn,ot=typeof console.createTask<"u"?console.createTask:wn;function bn(e,t){const n=t.shift(),s=ot(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function vn(e,t){const n=t.shift(),s=ot(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function X(e,t){for(const n of[...e])n(t)}class Cn{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,s={}){if(!t||typeof n!="function")return()=>{};const o=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!s.allowDeprecated){let i=r.message;i||(i=`${o} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,o=(...r)=>(typeof s=="function"&&s(),s=void 0,o=void 0,n(...r));return s=this.hook(t,o),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const o of s)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ce(t),s=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of s.splice(0,s.length))o()}}removeHooks(t){const n=ce(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(bn,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(vn,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&X(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&X(this._after,o)}):(this._after&&o&&X(this._after,o),r)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function kn(){return new Cn}const xn=new Set(["link","style","script","noscript"]),_n=new Set(["title","titleTemplate","script","style","noscript"]),xe=new Set(["base","meta","link","style","script","noscript"]),Sn=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Fn=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Tn=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),In=new Set(["templateParams","htmlAttrs","bodyAttrs"]),he=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),$n=["name","property","http-equiv"],jn=new Set(["viewport","description","keywords","robots"]);function st(e){const t=e.split(":");return t.length?he.has(t[1]):!1}function ae(e){const{props:t,tag:n}=e;if(Fn.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const s of $n)if(t[s]!==void 0){const o=t[s],r=o.includes(":"),i=jn.has(o),f=!(r||i)&&e.key?`:key:${e.key}`:"";return`${n}:${o}${f}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(_n.has(n)){const s=e.textContent||e.innerHTML;if(s)return`${n}:content:${s}`}}function _e(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([s,o])=>`${s}:${String(o)}`).join(",")}`}function q(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());let o;if(t&&(o=t(n,e)),Array.isArray(o))return o.map(r=>q(r,t));if(o?.constructor===Object){const r={};for(const i of Object.keys(o))r[i]=q(o[i],t,i);return r}return o}function On(e,t){const n=e==="style"?new Map:new Set;function s(o){const r=o.trim();if(r)if(e==="style"){const[i,...c]=r.split(":").map(f=>f.trim());i&&c.length&&n.set(i,c.join(":"))}else r.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(s):s(t):Array.isArray(t)?t.forEach(o=>s(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,r])=>{r&&r!=="false"&&(e==="style"?n.set(o.trim(),r):s(o))}),n}function rt(e,t){return e.props=e.props||{},t?e.tag==="templateParams"?(e.props=t,e):(Object.entries(t).forEach(([n,s])=>{if(s===null){e.props[n]=null;return}if(n==="class"||n==="style"){e.props[n]=On(n,s);return}if(Tn.has(n)){if(["textContent","innerHTML"].includes(n)&&typeof s=="object"){let i=t.type;if(t.type||(i="application/json"),!i?.endsWith("json")&&i!=="speculationrules")return;t.type=i,e.props.type=i,e[n]=JSON.stringify(s)}else e[n]=s;return}const o=String(s),r=n.startsWith("data-");o==="true"||o===""?e.props[n]=r?o:!0:!s&&r&&o==="false"?e.props[n]="false":s!==void 0&&(e.props[n]=s)}),e):e}function An(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},s=rt({tag:e,props:{}},n);return s.key&&xn.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(o=>({...s,props:{...s.props,content:o}})):s}function En(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(o,r)=>{for(let i=0;i<t.length;i++)r=t[i](o,r);return r};e=n(void 0,e);const s=[];return e=q(e,n),Object.entries(e||{}).forEach(([o,r])=>{if(r!==void 0)for(const i of Array.isArray(r)?r:[r])s.push(An(o,i))}),s.flat()}const Se=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Fe={base:-10,title:10},Mn={critical:-8,high:-1,low:2},Te={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}},Pn=/@import/,E=e=>e===""||e===!0;function Ln(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const s=Mn[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Te;if(t.tag in Fe)n=Fe[t.tag];else if(t.tag==="meta"){const r=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;r&&(n=Te.meta[r])}else t.tag==="link"&&t.props.rel?n=o.link[t.props.rel]:t.tag==="script"?E(t.props.async)?n=o.script.async:t.props.src&&!E(t.props.defer)&&!E(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?n=o.script.sync:E(t.props.defer)&&t.props.src&&!E(t.props.async)&&(n=o.script.defer):t.tag==="style"&&(n=t.innerHTML&&Pn.test(t.innerHTML)?o.style.imported:o.style.sync);return(n||100)+s}function Ie(e,t){const n=typeof t=="function"?t(e):t,s=n.key||String(e.plugins.size+1);e.plugins.get(s)||(e.plugins.set(s,n),e.hooks.addHooks(n.hooks||{}))}function Hn(e={}){const t=kn();t.addHooks(e.hooks||{});const n=!e.document,s=new Map,o=new Map,r=new Set,i={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:s,headEntries(){return[...s.values()]},use:c=>Ie(i,c),push(c,f){const a={...f||{}};delete a.head;const u=a._index??i._entryCount++,p={_i:u,input:c,options:a},d={_poll(l=!1){i.dirty=!0,!l&&r.add(u),t.callHook("entries:updated",i)},dispose(){s.delete(u)&&i.invalidate()},patch(l){(!a.mode||a.mode==="server"&&n||a.mode==="client"&&!n)&&(p.input=l,s.set(u,p),d._poll())}};return d.patch(c),d},async resolveTags(){const c={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",c);r.size;){const d=r.values().next().value;r.delete(d);const l=s.get(d);if(l){const g={tags:En(l.input,e.propResolvers||[]).map(h=>Object.assign(h,l.options)),entry:l};await t.callHook("entries:normalize",g),l._tags=g.tags.map((h,m)=>(h._w=Ln(i,h),h._p=(l._i<<10)+m,h._d=ae(h),h))}}let f=!1;c.entries.flatMap(d=>(d._tags||[]).map(l=>({...l,props:{...l.props}}))).sort(Se).reduce((d,l)=>{const g=String(l._d||l._p);if(!d.has(g))return d.set(g,l);const h=d.get(g);if((l?.tagDuplicateStrategy||(In.has(l.tag)?"merge":null)||(l.key&&l.key===h.key?"merge":null))==="merge"){const y={...h.props};Object.entries(l.props).forEach(([w,v])=>y[w]=w==="style"?new Map([...h.props.style||new Map,...v]):w==="class"?new Set([...h.props.class||new Set,...v]):v),d.set(g,{...l,props:y})}else l._p>>10===h._p>>10&&l.tag==="meta"&&st(g)?(d.set(g,Object.assign([...Array.isArray(h)?h:[h],l],l)),f=!0):(l._w===h._w?l._p>h._p:l?._w<h?._w)&&d.set(g,l);return d},c.tagMap);const a=c.tagMap.get("title"),u=c.tagMap.get("titleTemplate");if(i._title=a?.textContent,u){const d=u?.textContent;if(i._titleTemplate=d,d){let l=typeof d=="function"?d(a?.textContent):d;typeof l=="string"&&!i.plugins.has("template-params")&&(l=l.replace("%s",a?.textContent||"")),a?l===null?c.tagMap.delete("title"):c.tagMap.set("title",{...a,textContent:l}):(u.tag="title",u.textContent=l)}}c.tags=Array.from(c.tagMap.values()),f&&(c.tags=c.tags.flat().sort(Se)),await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c);const p=[];for(const d of c.tags){const{innerHTML:l,tag:g,props:h}=d;if(Sn.has(g)&&!(Object.keys(h).length===0&&!d.innerHTML&&!d.textContent)&&!(g==="meta"&&!h.content&&!h["http-equiv"]&&!h.charset)){if(g==="script"&&l){if(h.type?.endsWith("json")){const m=typeof l=="string"?l:JSON.stringify(l);d.innerHTML=m.replace(/</g,"\\u003C")}else typeof l=="string"&&(d.innerHTML=l.replace(new RegExp(`</${g}`,"g"),`<\\/${g}`));d._d=ae(d)}p.push(d)}}return p},invalidate(){for(const c of s.values())r.add(c._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(c=>Ie(i,c)),i.hooks.callHook("init",i),e.init?.forEach(c=>c&&i.push(c)),i}async function it(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!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 o=>{const r=new Map,i=new Promise(l=>{e.resolveTags().then(g=>{l(g.map(h=>{const m=r.get(h._d)||0,y={tag:h,id:(m?`${h._d}:${m}`:h._d)||_e(h),shouldRender:!0};return h._d&&st(h._d)&&r.set(h._d,m+1),y}))})});let c=e._dom;if(!c){c={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const l of["body","head"]){const g=n[l]?.children;for(const h of g){const m=h.tagName.toLowerCase();if(!xe.has(m))continue;const y=rt({tag:m,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((w,v)=>(w[v]=h.getAttribute(v),w),{})||{}});if(y.key=h.getAttribute("data-hid")||void 0,y._d=ae(y)||_e(y),c.elMap.has(y._d)){let w=1,v=y._d;for(;c.elMap.has(v);)v=`${y._d}:${w++}`;c.elMap.set(v,h)}else c.elMap.set(y._d,h)}}}c.pendingSideEffects={...c.sideEffects},c.sideEffects={};function f(l,g,h){const m=`${l}:${g}`;c.sideEffects[m]=h,delete c.pendingSideEffects[m]}function a({id:l,$el:g,tag:h}){const m=h.tag.endsWith("Attrs");c.elMap.set(l,g),m||(h.textContent&&h.textContent!==g.textContent&&(g.textContent=h.textContent),h.innerHTML&&h.innerHTML!==g.innerHTML&&(g.innerHTML=h.innerHTML),f(l,"el",()=>{g?.remove(),c.elMap.delete(l)}));for(const y in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,y))continue;const w=h.props[y];if(y.startsWith("on")&&typeof w=="function"){const b=g?.dataset;if(b&&b[`${y}fired`]){const x=y.slice(0,-5);w.call(g,new Event(x.substring(2)))}g.getAttribute(`data-${y}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:g).addEventListener(y.substring(2),w.bind(g)),g.setAttribute(`data-${y}`,""));continue}const v=`attr:${y}`;if(y==="class"){if(!w)continue;for(const b of w)m&&f(l,`${v}:${b}`,()=>g.classList.remove(b)),!g.classList.contains(b)&&g.classList.add(b)}else if(y==="style"){if(!w)continue;for(const[b,x]of w)f(l,`${v}:${b}`,()=>{g.style.removeProperty(b)}),g.style.setProperty(b,x)}else w!==!1&&w!==null&&(g.getAttribute(y)!==w&&g.setAttribute(y,w===!0?"":String(w)),m&&f(l,v,()=>g.removeAttribute(y)))}}const u=[],p={bodyClose:void 0,bodyOpen:void 0,head:void 0},d=await i;for(const l of d){const{tag:g,shouldRender:h,id:m}=l;if(h){if(g.tag==="title"){n.title=g.textContent,f("title","",()=>n.title=c.title);continue}l.$el=l.$el||c.elMap.get(m),l.$el?a(l):xe.has(g.tag)&&u.push(l)}}for(const l of u){const g=l.tag.tagPosition||"head";l.$el=n.createElement(l.tag.tag),a(l),p[g]=p[g]||n.createDocumentFragment(),p[g].appendChild(l.$el)}for(const l of d)await e.hooks.callHook("dom:renderTag",l,n,f);p.head&&n.head.appendChild(p.head),p.bodyOpen&&n.body.insertBefore(p.bodyOpen,n.body.firstChild),p.bodyClose&&n.body.appendChild(p.bodyClose);for(const l in c.pendingSideEffects)c.pendingSideEffects[l]();e._dom=c,await e.hooks.callHook("dom:rendered",{renders:d}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Rn(e={}){const t=e.domOptions?.render||it;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Hn({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Dn(e,t){let n=0;return()=>{const s=++n;t(()=>{n===s&&e()})}}const L={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},zn={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},ct={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${I(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?I(e):`${I(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${I(e)} ${t}`}},charset:{}};function I(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-");return n===-1?t:L.META.has(t.slice(0,n))||L.OG.has(t.slice(0,n))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function at(e){return Object.fromEntries(Object.entries(e).filter(([t,n])=>String(n)!=="false"&&t))}function le(e){return Array.isArray(e)?e.map(le):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,n])=>[I(t),le(n)]))}function lt(e,t={}){const{entrySeparator:n="",keyValueSeparator:s="",wrapValue:o,resolve:r}=t;return Object.entries(e).map(([i,c])=>{if(r){const a=r({key:i,value:c});if(a!==void 0)return a}const f=typeof c=="object"?lt(c,t):typeof c=="number"?c.toString():typeof c=="string"&&o?`${o}${c.replace(new RegExp(o,"g"),`\\${o}`)}${o}`:c;return`${i}${s}${f}`}).join(n)}function $e(e,t){const n=at(t),s=I(e),o=ut(s);if(!he.has(s))return[{[o]:s,...n}];const r=Object.fromEntries(Object.entries(n).map(([i,c])=>[`${e}${i==="url"?"":`${i[0].toUpperCase()}${i.slice(1)}`}`,c]));return B(r||{}).sort((i,c)=>(i[o]?.length||0)-(c[o]?.length||0))}function ut(e){if(ct[e]?.metaKey==="http-equiv"||L.HTTP_EQUIV.has(e))return"http-equiv";const t=I(e),n=t.indexOf(":");return n===-1?"name":L.OG.has(t.slice(0,n))?"property":"name"}function Nn(e){return zn[e]||I(e)}function Vn(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:lt(le(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:n,key:s})=>n===null?"":typeof n=="boolean"?s:void 0,...ct[t]?.unpack})}function B(e){const t=[],n={};for(const[o,r]of Object.entries(e)){if(Array.isArray(r)){if(o==="themeColor"){r.forEach(i=>{typeof i=="object"&&i!==null&&t.push({name:"theme-color",...i})});continue}for(const i of r)if(typeof i=="object"&&i!==null){const c=[],f=[];for(const[a,u]of Object.entries(i)){const p=`${o}${a==="url"?"":`:${a}`}`,d=B({[p]:u});(a==="url"?c:f).push(...d)}t.push(...c,...f)}else t.push(...typeof i=="string"?B({[o]:i}):$e(o,i));continue}if(typeof r=="object"&&r)if(L.MEDIA.has(o)){const i=o.startsWith("twitter")?"twitter":"og",c=o.replace(/^(og|twitter)/,"").toLowerCase(),f=i==="twitter"?"name":"property";r.url&&t.push({[f]:`${i}:${c}`,content:r.url}),r.secureUrl&&t.push({[f]:`${i}:${c}:secure_url`,content:r.secureUrl});for(const[a,u]of Object.entries(r))a!=="url"&&a!=="secureUrl"&&t.push({[f]:`${i}:${c}:${a}`,content:u})}else he.has(I(o))?t.push(...$e(o,r)):n[o]=at(r);else n[o]=r}const s=Object.entries(n).map(([o,r])=>{if(o==="charset")return{charset:r===null?"_null":r};const i=ut(o),c=Nn(o),f=r===null?"_null":typeof r=="object"?Vn(r,o):typeof r=="number"?r.toString():r;return i==="http-equiv"?{"http-equiv":c,content:f}:{[i]:c,content:f}});return[...t,...s].map(o=>"content"in o&&o.content==="_null"?{...o,content:null}:o)}const Un={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(n=>n.tag!=="_flatMeta"?n:(t.push(B(n.props).map(s=>({...n,tag:"meta",props:s}))),!1)).filter(Boolean).concat(...t)}}},Wn=(e,t)=>Wt(t)?Ut(t):t,ft="usehead";function qn(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ft,e)}}.install}function dt(){if(qt()){const e=Bt(ft);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 pt(e,t={}){const n=t.head||dt();return n.ssr?n.push(e||{},t):Bn(n,e,t)}function Bn(e,t,n={}){const s=$(!1);let o;return Gt(()=>{const i=s.value?{}:q(t,Wn);o?o.patch(i):o=e.push(i,n)}),Kt()&&(Qt(()=>{o.dispose()}),Jt(()=>{s.value=!0}),Zt(()=>{s.value=!1})),o}function Gn(e={},t={}){(t.head||dt()).use(Un);const{title:s,titleTemplate:o,...r}=e;return pt({title:s,titleTemplate:o,_flatMeta:r},t)}function Kn(e={}){const t=Rn({domOptions:{render:Dn(()=>it(t),n=>setTimeout(n,0))},...e});return t.install=qn(t),t}const Qn=Object.freeze({left:0,top:0,width:16,height:16}),G=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ht=Object.freeze({...Qn,...G}),Jn=Object.freeze({...ht,body:"",hidden:!1}),Zn=Object.freeze({width:null,height:null}),mt=Object.freeze({...Zn,...G});function Xn(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(n.rotate=s),n}function je(e,t){const n=Xn(e,t);for(const s in Jn)s in G?s in e&&!(s in n)&&(n[s]=G[s]):s in t?n[s]=t[s]:s in e&&(n[s]=e[s]);return n}function Yn(e,t){const n=e.icons,s=e.aliases||Object.create(null),o=Object.create(null);function r(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const c=s[i]&&s[i].parent,f=c&&r(c);f&&(o[i]=[c].concat(f))}return o[i]}return(t||Object.keys(n).concat(Object.keys(s))).forEach(r),o}function Oe(e,t,n){const s=e.icons,o=e.aliases||Object.create(null);let r={};function i(c){r=je(s[c]||o[c],r)}return i(t),n.forEach(i),je(e,r)}function eo(e,t){if(e.icons[t])return Oe(e,t,[]);const n=Yn(e,[t])[t];return n?Oe(e,t,n):null}const to=/(-?[0-9.]*[0-9]+[0-9.]*)/g,no=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function K(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const s=e.split(to);if(s===null||!s.length)return e;const o=[];let r=s.shift(),i=no.test(r);for(;;){if(i){const c=parseFloat(r);isNaN(c)?o.push(r):o.push(Math.ceil(c*t*n)/n)}else o.push(r);if(r=s.shift(),r===void 0)return o.join("");i=!i}}function oo(e,t="defs"){let n="";const s=e.indexOf("<"+t);for(;s>=0;){const o=e.indexOf(">",s),r=e.indexOf("</"+t);if(o===-1||r===-1)break;const i=e.indexOf(">",r);if(i===-1)break;n+=e.slice(o+1,r).trim(),e=e.slice(0,s).trim()+e.slice(i+1)}return{defs:n,content:e}}function so(e,t){return e?"<defs>"+e+"</defs>"+t:t}function ro(e,t,n){const s=oo(e);return so(s.defs,t+s.content+n)}const me=e=>e==="unset"||e==="undefined"||e==="none";function io(e,t){const n={...ht,...e},s={...mt,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,s].forEach(h=>{const m=[],y=h.hFlip,w=h.vFlip;let v=h.rotate;y?w?v+=2:(m.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),m.push("scale(-1 1)"),o.top=o.left=0):w&&(m.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),m.push("scale(1 -1)"),o.top=o.left=0);let b;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:b=o.height/2+o.top,m.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:m.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,m.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}v%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),m.length&&(r=ro(r,'<g transform="'+m.join(" ")+'">',"</g>"))});const i=s.width,c=s.height,f=o.width,a=o.height;let u,p;i===null?(p=c===null?"1em":c==="auto"?a:c,u=K(p,f/a)):(u=i==="auto"?f:i,p=c===null?K(u,a/f):c==="auto"?a:c);const d={},l=(h,m)=>{me(m)||(d[h]=m.toString())};l("width",u),l("height",p);const g=[o.left,o.top,f,a];return d.viewBox=g.join(" "),{attributes:d,viewBox:g,body:r}}function co(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Ae(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" ')),co(t)}function ao(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 lo=/\swidth\s*=\s*["']([\w.]+)["']/,uo=/\sheight\s*=\s*["']([\w.]+)["']/,Y=/<svg\s+/;function fo(e,t,n){const s=e.slice(0,e.indexOf(">")),o=(r,i)=>{const c=i.exec(s),f=c!=null,a=t[r];return!a&&!me(a)&&(typeof n=="number"?n>0&&(t[r]=K(c?.[1]??"1em",n)):c&&(t[r]=c[1])),f};return[o("width",lo),o("height",uo)]}async function gt(e,t,n,s,o,r){const{scale:i,addXmlNs:c=!1}=s??{},{additionalProps:f={},iconCustomizer:a}=s?.customizations??{},u=await o?.()??{};await a?.(t,n,u),Object.keys(f).forEach(h=>{const m=f[h];m!=null&&(u[h]=m)}),r?.(u);const[p,d]=fo(e,u,i);c&&(!e.includes("xmlns=")&&!u.xmlns&&(u.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!u["xmlns:xlink"]&&(u["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const l=Object.keys(u).map(h=>h==="width"&&p||h==="height"&&d?null:`${h}="${u[h]}"`).filter(h=>h!=null);if(l.length&&(e=e.replace(Y,`<svg ${l.join(" ")} `)),s){const{defaultStyle:h,defaultClass:m}=s;m&&!e.includes("class=")&&(e=e.replace(Y,`<svg class="${m}" `)),h&&!e.includes("style=")&&(e=e.replace(Y,`<svg style="${h}" `))}const g=s?.usedProps;return g&&(Object.keys(f).forEach(h=>{const m=u[h];m!=null&&(g[h]=m)}),typeof u.width<"u"&&u.width!==null&&(g.width=u.width),typeof u.height<"u"&&u.height!==null&&(g.height=u.height)),e}var D={exports:{}},ee,Ee;function po(){if(Ee)return ee;Ee=1;var e=1e3,t=e*60,n=t*60,s=n*24,o=s*7,r=s*365.25;ee=function(u,p){p=p||{};var d=typeof u;if(d==="string"&&u.length>0)return i(u);if(d==="number"&&isFinite(u))return p.long?f(u):c(u);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(u))};function i(u){if(u=String(u),!(u.length>100)){var p=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(u);if(p){var d=parseFloat(p[1]),l=(p[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return d*r;case"weeks":case"week":case"w":return d*o;case"days":case"day":case"d":return d*s;case"hours":case"hour":case"hrs":case"hr":case"h":return d*n;case"minutes":case"minute":case"mins":case"min":case"m":return d*t;case"seconds":case"second":case"secs":case"sec":case"s":return d*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function c(u){var p=Math.abs(u);return p>=s?Math.round(u/s)+"d":p>=n?Math.round(u/n)+"h":p>=t?Math.round(u/t)+"m":p>=e?Math.round(u/e)+"s":u+"ms"}function f(u){var p=Math.abs(u);return p>=s?a(u,p,s,"day"):p>=n?a(u,p,n,"hour"):p>=t?a(u,p,t,"minute"):p>=e?a(u,p,e,"second"):u+" ms"}function a(u,p,d,l){var g=p>=d*1.5;return Math.round(u/d)+" "+l+(g?"s":"")}return ee}var te,Me;function ho(){if(Me)return te;Me=1;function e(t){s.debug=s,s.default=s,s.coerce=a,s.disable=c,s.enable=r,s.enabled=f,s.humanize=po(),s.destroy=u,Object.keys(t).forEach(p=>{s[p]=t[p]}),s.names=[],s.skips=[],s.formatters={};function n(p){let d=0;for(let l=0;l<p.length;l++)d=(d<<5)-d+p.charCodeAt(l),d|=0;return s.colors[Math.abs(d)%s.colors.length]}s.selectColor=n;function s(p){let d,l=null,g,h;function m(...y){if(!m.enabled)return;const w=m,v=Number(new Date),b=v-(d||v);w.diff=b,w.prev=d,w.curr=v,d=v,y[0]=s.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let x=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(k,_)=>{if(k==="%%")return"%";x++;const S=s.formatters[_];if(typeof S=="function"){const T=y[x];k=S.call(w,T),y.splice(x,1),x--}return k}),s.formatArgs.call(w,y),(w.log||s.log).apply(w,y)}return m.namespace=p,m.useColors=s.useColors(),m.color=s.selectColor(p),m.extend=o,m.destroy=s.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>l!==null?l:(g!==s.namespaces&&(g=s.namespaces,h=s.enabled(p)),h),set:y=>{l=y}}),typeof s.init=="function"&&s.init(m),m}function o(p,d){const l=s(this.namespace+(typeof d>"u"?":":d)+p);return l.log=this.log,l}function r(p){s.save(p),s.namespaces=p,s.names=[],s.skips=[];const d=(typeof p=="string"?p:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const l of d)l[0]==="-"?s.skips.push(l.slice(1)):s.names.push(l)}function i(p,d){let l=0,g=0,h=-1,m=0;for(;l<p.length;)if(g<d.length&&(d[g]===p[l]||d[g]==="*"))d[g]==="*"?(h=g,m=l,g++):(l++,g++);else if(h!==-1)g=h+1,m++,l=m;else return!1;for(;g<d.length&&d[g]==="*";)g++;return g===d.length}function c(){const p=[...s.names,...s.skips.map(d=>"-"+d)].join(",");return s.enable(""),p}function f(p){for(const d of s.skips)if(i(p,d))return!1;for(const d of s.names)if(i(p,d))return!0;return!1}function a(p){return p instanceof Error?p.stack||p.message:p}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s.enable(s.load()),s}return te=e,te}var Pe;function mo(){return Pe||(Pe=1,(function(e,t){var n={};t.formatArgs=o,t.save=r,t.load=i,t.useColors=s,t.storage=c(),t.destroy=(()=>{let a=!1;return()=>{a||(a=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function s(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let a;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function o(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;a.splice(1,0,u,"color: inherit");let p=0,d=0;a[0].replace(/%[a-zA-Z%]/g,l=>{l!=="%%"&&(p++,l==="%c"&&(d=p))}),a.splice(d,0,u)}t.log=console.debug||console.log||(()=>{});function r(a){try{a?t.storage.setItem("debug",a):t.storage.removeItem("debug")}catch{}}function i(){let a;try{a=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!a&&typeof process<"u"&&"env"in process&&(a=n.DEBUG),a}function c(){try{return localStorage}catch{}}e.exports=ho()(t);const{formatters:f}=e.exports;f.j=function(a){try{return JSON.stringify(a)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(D,D.exports)),D.exports}var go=mo();const yt=cn(go),yo=yt("@iconify-loader:custom");async function Le(e,t,n,s){let o;yo(`${t}:${n}`);try{if(typeof e=="function")o=await e(n);else{const r=e[n];o=typeof r=="function"?await r():r}}catch(r){console.warn(`Failed to load custom icon "${n}" in "${t}":`,r);return}if(o){const r=o.indexOf("<svg");r>0&&(o=o.slice(r));const{transform:i}=s?.customizations??{};return o=typeof i=="function"?await i(o,t,n):o,o.startsWith("<svg")?await gt(s?.customizations?.trimCustomSvg===!0?ao(o):o,t,n,s,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),o)}}const wo=yt("@iconify-loader:icon");async function wt(e,t,n,s){let o;const{customize:r}=s?.customizations??{};for(const i of n)if(o=eo(e,i),o){wo(`${t}:${i}`);let c={...mt};typeof r=="function"&&(o=Object.assign({},o),c=r(c,o,`${t}:${i}`)??c);const{attributes:{width:f,height:a,...u},body:p}=io(o,c),d=s?.scale;return await gt(`<svg >${p}</svg>`,t,i,s,()=>({...u}),l=>{const g=(h,m)=>{const y=l[h];let w;if(!me(y)){if(y)return;typeof d=="number"?d&&(w=K(m??"1em",d)):w=m}w?l[h]=w:delete l[h]};g("width",f),g("height",a)})}}const bt=async(e,t,n)=>{const s=n?.customCollections?.[e];if(s)if(typeof s=="function"){let o;try{o=await s(t)}catch(r){console.warn(`Failed to load custom icon "${t}" in "${e}":`,r);return}if(o){if(typeof o=="string")return await Le(()=>o,e,t,n);if("icons"in o){const r=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await wt(o,e,r,n)}}}else return await Le(s,e,t,n)};var He={};function bo(){const e=typeof process<"u"&&process.stdout,t=e&&!!He.VSCODE_CWD,n=e&&!!He.ESLINT;return{isNode:e,isVSCode:t,isESLint:n}}const vt=["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","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","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],vo=3;function Co(e){return Pt((t={})=>{const{scale:n=1,mode:s="auto",prefix:o="i-",warn:r=!1,iconifyCollectionsNames:i,collections:c,extraProperties:f={},customizations:a={},autoInstall:u=!1,collectionsNodeResolvePath:p,layer:d="icons",unit:l,processor:g}=t,h=bo(),m={addXmlNs:!0,scale:n,customCollections:c,autoInstall:u,cwd:p,warn:void 0,customizations:{...a,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(w,v,b){await a.iconCustomizer?.(w,v,b),l&&(b.width||(b.width=`${n}${l}`),b.height||(b.height=`${n}${l}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:Ae,parseIconWithLoader:Re},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async w=>{let[v,b,x=s]=w;y=y||await e(t);const C={},k=await Re(b,y,{...m,usedProps:C},i);if(!k){r&&!h.isESLint&&Lt(`failed to load icon "${v}"`);return}let _;const S=`url("data:image/svg+xml;utf8,${Ae(k.svg)}")`;return x==="auto"&&(x=k.svg.includes("currentColor")?"mask":"bg"),x==="mask"?_={"--un-icon":S,"-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",...C}:_={background:`${S} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...C},g?.(_,{...k,icon:k.name,mode:x}),_},{layer:d,prefix:o}]]}})}function Ct(e,t,n=new Map){function s(o){if(vt.includes(o))return n.has(o)||n.set(o,e(`${t}@iconify-json/${o}/icons.json`)),n.get(o)}return async(o,r,i)=>{let c=await bt(o,r,i);if(c)return c;const f=await s(o);if(f){const a=[r,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r.replace(/([a-z])(\d+)/g,"$1-$2")];c=await wt(f,o,a,i)}return c}}async function Re(e,t,n={},s=[]){let o="",r="",i;const c=new Set([...vt,...s,...Object.keys(n.customCollections||{})]);if(e.includes(":")){if([o,r]=e.split(":"),!c.has(o))return;i=await t(o,r,n)}else{const f=e.split(/-/g);for(let a=vo;a>=1&&(o=f.slice(0,a).join("-"),!(!!c.has(o)&&(r=f.slice(a).join("-"),i=await t(o,r,n),i)));a--);}if(i)return{collection:o,name:r,svg:i}}async function ko(e){const{$fetch:t}=await z(async()=>{const{$fetch:n}=await import("./unocss-DRtn-RHz.js").then(s=>s.f);return{$fetch:n}},[],import.meta.url);return Ct(t,e)}const xo=Co(async e=>{const t=e?.customFetch,n=e?.cdn;return t&&n?Ct(t,n):n?await ko(n):bt}),De={presets:[Ht({preflights:{reset:!0}}),Rt(),xo({cdn:"https://cdn.jsdelivr.net/npm/"}),Dt(),zt()]},kt=/^[a-z0-9]+(-[a-z0-9]+)*$/,R=(e,t,n,s="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;s=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const c=o.pop(),f=o.pop(),a={provider:o.length>0?o[0]:s,prefix:f,name:c};return t&&!N(a)?null:a}const r=o[0],i=r.split("-");if(i.length>1){const c={provider:s,prefix:i.shift(),name:i.join("-")};return t&&!N(c)?null:c}if(n&&s===""){const c={provider:s,prefix:"",name:r};return t&&!N(c,n)?null:c}return null},N=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,xt=Object.freeze({left:0,top:0,width:16,height:16}),Q=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),A=Object.freeze({...xt,...Q}),ue=Object.freeze({...A,body:"",hidden:!1});function _o(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(n.rotate=s),n}function ze(e,t){const n=_o(e,t);for(const s in ue)s in Q?s in e&&!(s in n)&&(n[s]=Q[s]):s in t?n[s]=t[s]:s in e&&(n[s]=e[s]);return n}function So(e,t){const n=e.icons,s=e.aliases||Object.create(null),o=Object.create(null);function r(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const c=s[i]&&s[i].parent,f=c&&r(c);f&&(o[i]=[c].concat(f))}return o[i]}return Object.keys(n).concat(Object.keys(s)).forEach(r),o}function Fo(e,t,n){const s=e.icons,o=e.aliases||Object.create(null);let r={};function i(c){r=ze(s[c]||o[c],r)}return i(t),n.forEach(i),ze(e,r)}function _t(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const s=So(e);for(const o in s){const r=s[o];r&&(t(o,Fo(e,o,r)),n.push(o))}return n}const To={provider:"",aliases:{},not_found:{},...xt};function ne(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function St(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ne(e,To))return null;const n=t.icons;for(const o in n){const r=n[o];if(!o||typeof r.body!="string"||!ne(r,ue))return null}const s=t.aliases||Object.create(null);for(const o in s){const r=s[o],i=r.parent;if(!o||typeof i!="string"||!n[i]&&!s[i]||!ne(r,ue))return null}return t}const Ne=Object.create(null);function Io(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function O(e,t){const n=Ne[e]||(Ne[e]=Object.create(null));return n[t]||(n[t]=Io(e,t))}function Ft(e,t){return St(t)?_t(t,(n,s)=>{s?e.icons[n]=s:e.missing.add(n)}):[]}function $o(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let H=!1;function Tt(e){return typeof e=="boolean"&&(H=e),H}function Z(e){const t=typeof e=="string"?R(e,!0,H):e;if(t){const n=O(t.provider,t.prefix),s=t.name;return n.icons[s]||(n.missing.has(s)?null:void 0)}}function jo(e,t){const n=R(e,!0,H);if(!n)return!1;const s=O(n.provider,n.prefix);return t?$o(s,n.name,t):(s.missing.add(n.name),!0)}function Oo(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),H&&!t&&!e.prefix){let o=!1;return St(e)&&(e.prefix="",_t(e,(r,i)=>{jo(r,i)&&(o=!0)})),o}const n=e.prefix;if(!N({prefix:n,name:"a"}))return!1;const s=O(t,n);return!!Ft(s,e)}function Ao(e){return!!Z(e)}function Eo(e){const t=Z(e);return t&&{...A,...t}}const It=Object.freeze({width:null,height:null}),$t=Object.freeze({...It,...Q}),Mo=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Po=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ve(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const s=e.split(Mo);if(s===null||!s.length)return e;const o=[];let r=s.shift(),i=Po.test(r);for(;;){if(i){const c=parseFloat(r);isNaN(c)?o.push(r):o.push(Math.ceil(c*t*n)/n)}else o.push(r);if(r=s.shift(),r===void 0)return o.join("");i=!i}}function Lo(e,t="defs"){let n="";const s=e.indexOf("<"+t);for(;s>=0;){const o=e.indexOf(">",s),r=e.indexOf("</"+t);if(o===-1||r===-1)break;const i=e.indexOf(">",r);if(i===-1)break;n+=e.slice(o+1,r).trim(),e=e.slice(0,s).trim()+e.slice(i+1)}return{defs:n,content:e}}function Ho(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Ro(e,t,n){const s=Lo(e);return Ho(s.defs,t+s.content+n)}const Do=e=>e==="unset"||e==="undefined"||e==="none";function zo(e,t){const n={...A,...e},s={...$t,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,s].forEach(h=>{const m=[],y=h.hFlip,w=h.vFlip;let v=h.rotate;y?w?v+=2:(m.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),m.push("scale(-1 1)"),o.top=o.left=0):w&&(m.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),m.push("scale(1 -1)"),o.top=o.left=0);let b;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:b=o.height/2+o.top,m.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:m.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,m.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}v%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),m.length&&(r=Ro(r,'<g transform="'+m.join(" ")+'">',"</g>"))});const i=s.width,c=s.height,f=o.width,a=o.height;let u,p;i===null?(p=c===null?"1em":c==="auto"?a:c,u=Ve(p,f/a)):(u=i==="auto"?f:i,p=c===null?Ve(u,a/f):c==="auto"?a:c);const d={},l=(h,m)=>{Do(m)||(d[h]=m.toString())};l("width",u),l("height",p);const g=[o.left,o.top,f,a];return d.viewBox=g.join(" "),{attributes:d,viewBox:g,body:r}}const No=/\sid="(\S+)"/g,Vo="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Uo=0;function Wo(e,t=Vo){const n=[];let s;for(;s=No.exec(e);)n.push(s[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(r=>{const i=typeof t=="function"?t(r):t+(Uo++).toString(),c=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const fe=Object.create(null);function qo(e,t){fe[e]=t}function de(e){return fe[e]||fe[""]}function ge(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ye=Object.create(null),M=["https://api.simplesvg.com","https://api.unisvg.com"],V=[];for(;M.length>0;)M.length===1||Math.random()>.5?V.push(M.shift()):V.push(M.pop());ye[""]=ge({resources:["https://api.iconify.design"].concat(V)});function Bo(e,t){const n=ge(t);return n===null?!1:(ye[e]=n,!0)}function we(e){return ye[e]}const Go=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Ue=Go();function Ko(e,t){const n=we(e);if(!n)return 0;let s;if(!n.maxURL)s=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const r=t+".json?icons=";s=n.maxURL-o-n.path.length-r.length}return s}function Qo(e){return e===404}const Jo=(e,t,n)=>{const s=[],o=Ko(e,t),r="icons";let i={type:r,provider:e,prefix:t,icons:[]},c=0;return n.forEach((f,a)=>{c+=f.length+1,c>=o&&a>0&&(s.push(i),i={type:r,provider:e,prefix:t,icons:[]},c=f.length),i.icons.push(f)}),s.push(i),s};function Zo(e){if(typeof e=="string"){const t=we(e);if(t)return t.path}return"/"}const Xo=(e,t,n)=>{if(!Ue){n("abort",424);return}let s=Zo(t.provider);switch(t.type){case"icons":{const r=t.prefix,c=t.icons.join(","),f=new URLSearchParams({icons:c});s+=r+".json?"+f.toString();break}case"custom":{const r=t.uri;s+=r.slice(0,1)==="/"?r.slice(1):r;break}default:n("abort",400);return}let o=503;Ue(e+s).then(r=>{const i=r.status;if(i!==200){setTimeout(()=>{n(Qo(i)?"abort":"next",i)});return}return o=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?n("abort",r):n("next",o)});return}setTimeout(()=>{n("success",r)})}).catch(()=>{n("next",o)})},Yo={prepare:Jo,send:Xo};function es(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,r)=>o.provider!==r.provider?o.provider.localeCompare(r.provider):o.prefix!==r.prefix?o.prefix.localeCompare(r.prefix):o.name.localeCompare(r.name));let s={provider:"",prefix:"",name:""};return e.forEach(o=>{if(s.name===o.name&&s.prefix===o.prefix&&s.provider===o.provider)return;s=o;const r=o.provider,i=o.prefix,c=o.name,f=n[r]||(n[r]=Object.create(null)),a=f[i]||(f[i]=O(r,i));let u;c in a.icons?u=t.loaded:i===""||a.missing.has(c)?u=t.missing:u=t.pending;const p={provider:r,prefix:i,name:c};u.push(p)}),t}function jt(e,t){e.forEach(n=>{const s=n.loaderCallbacks;s&&(n.loaderCallbacks=s.filter(o=>o.id!==t))})}function ts(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const s=e.provider,o=e.prefix;t.forEach(r=>{const i=r.icons,c=i.pending.length;i.pending=i.pending.filter(f=>{if(f.prefix!==o)return!0;const a=f.name;if(e.icons[a])i.loaded.push({provider:s,prefix:o,name:a});else if(e.missing.has(a))i.missing.push({provider:s,prefix:o,name:a});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||jt([e],r.id),r.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),r.abort))})}))}let ns=0;function os(e,t,n){const s=ns++,o=jt.bind(null,n,s);if(!t.pending.length)return o;const r={id:s,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(r)}),o}function ss(e,t=!0,n=!1){const s=[];return e.forEach(o=>{const r=typeof o=="string"?R(o,t,n):o;r&&s.push(r)}),s}var rs={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function is(e,t,n,s){const o=e.resources.length,r=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let C=e.resources.slice(0);for(i=[];C.length>1;){const k=Math.floor(Math.random()*C.length);i.push(C[k]),C=C.slice(0,k).concat(C.slice(k+1))}i=i.concat(C)}else i=e.resources.slice(r).concat(e.resources.slice(0,r));const c=Date.now();let f="pending",a=0,u,p=null,d=[],l=[];typeof s=="function"&&l.push(s);function g(){p&&(clearTimeout(p),p=null)}function h(){f==="pending"&&(f="aborted"),g(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function m(C,k){k&&(l=[]),typeof C=="function"&&l.push(C)}function y(){return{startTime:c,payload:t,status:f,queriesSent:a,queriesPending:d.length,subscribe:m,abort:h}}function w(){f="failed",l.forEach(C=>{C(void 0,u)})}function v(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function b(C,k,_){const S=k!=="success";switch(d=d.filter(T=>T!==C),f){case"pending":break;case"failed":if(S||!e.dataAfterTimeout)return;break;default:return}if(k==="abort"){u=_,w();return}if(S){u=_,d.length||(i.length?x():w());return}if(g(),v(),!e.random){const T=e.resources.indexOf(C.resource);T!==-1&&T!==e.index&&(e.index=T)}f="completed",l.forEach(T=>{T(_)})}function x(){if(f!=="pending")return;g();const C=i.shift();if(C===void 0){if(d.length){p=setTimeout(()=>{g(),f==="pending"&&(v(),w())},e.timeout);return}w();return}const k={status:"pending",resource:C,callback:(_,S)=>{b(k,_,S)}};d.push(k),a++,p=setTimeout(x,e.rotate),n(C,t,k.callback)}return setTimeout(x),y}function Ot(e){const t={...rs,...e};let n=[];function s(){n=n.filter(c=>c().status==="pending")}function o(c,f,a){const u=is(t,c,f,(p,d)=>{s(),a&&a(p,d)});return n.push(u),u}function r(c){return n.find(f=>c(f))||null}return{query:o,find:r,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:s}}function We(){}const oe=Object.create(null);function cs(e){if(!oe[e]){const t=we(e);if(!t)return;const n=Ot(t),s={config:t,redundancy:n};oe[e]=s}return oe[e]}function as(e,t,n){let s,o;if(typeof e=="string"){const r=de(e);if(!r)return n(void 0,424),We;o=r.send;const i=cs(e);i&&(s=i.redundancy)}else{const r=ge(e);if(r){s=Ot(r);const i=e.resources?e.resources[0]:"",c=de(i);c&&(o=c.send)}}return!s||!o?(n(void 0,424),We):s.query(t,o,n)().abort}function qe(){}function ls(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,ts(e)}))}function us(e){const t=[],n=[];return e.forEach(s=>{(s.match(kt)?t:n).push(s)}),{valid:t,invalid:n}}function P(e,t,n){function s(){const o=e.pendingIcons;t.forEach(r=>{o&&o.delete(r),e.icons[r]||e.missing.add(r)})}if(n&&typeof n=="object")try{if(!Ft(e,n).length){s();return}}catch(o){console.error(o)}s(),ls(e)}function Be(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function fs(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:s}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const r=e.loadIcon;if(e.loadIcons&&(o.length>1||!r)){Be(e.loadIcons(o,s,n),u=>{P(e,o,u)});return}if(r){o.forEach(u=>{const p=r(u,s,n);Be(p,d=>{const l=d?{prefix:s,icons:{[u]:d}}:null;P(e,[u],l)})});return}const{valid:i,invalid:c}=us(o);if(c.length&&P(e,c,null),!i.length)return;const f=s.match(kt)?de(n):null;if(!f){P(e,i,null);return}f.prepare(n,s,i).forEach(u=>{as(n,u,p=>{P(e,u.icons,p)})})}))}const At=(e,t)=>{const n=ss(e,!0,Tt()),s=es(n);if(!s.pending.length){let f=!0;return t&&setTimeout(()=>{f&&t(s.loaded,s.missing,s.pending,qe)}),()=>{f=!1}}const o=Object.create(null),r=[];let i,c;return s.pending.forEach(f=>{const{provider:a,prefix:u}=f;if(u===c&&a===i)return;i=a,c=u,r.push(O(a,u));const p=o[a]||(o[a]=Object.create(null));p[u]||(p[u]=[])}),s.pending.forEach(f=>{const{provider:a,prefix:u,name:p}=f,d=O(a,u),l=d.pendingIcons||(d.pendingIcons=new Set);l.has(p)||(l.add(p),o[a][u].push(p))}),r.forEach(f=>{const a=o[f.provider][f.prefix];a.length&&fs(f,a)}),t?os(t,s,r):qe},ds=e=>new Promise((t,n)=>{const s=typeof e=="string"?R(e,!0):e;if(!s){n(e);return}At([s||e],o=>{if(o.length&&s){const r=Z(s);if(r){t({...A,...r});return}}n(e)})});function ps(e,t){const n={...e};for(const s in t){const o=t[s],r=typeof o;s in It?(o===null||o&&(r==="string"||r==="number"))&&(n[s]=o):r===typeof n[s]&&(n[s]=s==="rotate"?o%4:o)}return n}const hs=/[\s,]+/;function ms(e,t){t.split(hs).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function gs(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function s(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:s(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r=r/o,r%1===0?s(r):0)}}return t}function ys(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in t)n+=" "+s+'="'+t[s]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function ws(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function bs(e){return"data:image/svg+xml,"+ws(e)}function vs(e){return'url("'+bs(e)+'")'}const Ge={...$t,inline:!1},Cs={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},ks={display:"inline-block"},pe={backgroundColor:"currentColor"},Et={backgroundColor:"transparent"},Ke={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Qe={webkitMask:pe,mask:pe,background:Et};for(const e in Qe){const t=Qe[e];for(const n in Ke)t[e+n]=Ke[n]}const U={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";U[e+"-flip"]=t,U[e.slice(0,1)+"-flip"]=t,U[e+"Flip"]=t});function Je(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Ze=(e,t)=>{const n=ps(Ge,t),s={...Cs},o=t.mode||"svg",r={},i=t.style,c=typeof i=="object"&&!(i instanceof Array)?i:{};for(let h in t){const m=t[h];if(m!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[h]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&ms(n,m);break;case"color":r.color=m;break;case"rotate":typeof m=="string"?n[h]=gs(m):typeof m=="number"&&(n[h]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete s["aria-hidden"];break;default:{const y=U[h];y?(m===!0||m==="true"||m===1)&&(n[y]=!0):Ge[h]===void 0&&(s[h]=m)}}}const f=zo(e,n),a=f.attributes;if(n.inline&&(r.verticalAlign="-0.125em"),o==="svg"){s.style={...r,...c},Object.assign(s,a);let h=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),s.innerHTML=Wo(f.body,m?()=>m+"ID"+h++:"iconifyVue"),be("svg",s)}const{body:u,width:p,height:d}=e,l=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),g=ys(u,{...a,width:p+"",height:d+""});return s.style={...r,"--svg":vs(g),width:Je(a.width),height:Je(a.height),...ks,...l?pe:Et,...c},be("span",s)};Tt(!0);qo("",Yo);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(s=>{try{(typeof s!="object"||s===null||s instanceof Array||typeof s.icons!="object"||typeof s.prefix!="string"||!Oo(s))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const s="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;Bo(n,o)||console.error(s)}catch{console.error(s)}}}}const xs={...A,body:""};tt((e,{emit:t})=>{const n=$(null);function s(){n.value&&(n.value.abort?.(),n.value=null)}const o=$(!!e.ssr),r=$(""),i=Xt(null);function c(){const a=e.icon;if(typeof a=="object"&&a!==null&&typeof a.body=="string")return r.value="",{data:a};let u;if(typeof a!="string"||(u=R(a,!1,!0))===null)return null;let p=Z(u);if(!p){const g=n.value;return(!g||g.name!==a)&&(p===null?n.value={name:a}:n.value={name:a,abort:At([u],f)}),null}s(),r.value!==a&&(r.value=a,nt(()=>{t("load",a)}));const d=e.customise;if(d){p=Object.assign({},p);const g=d(p.body,u.name,u.prefix,u.provider);typeof g=="string"&&(p.body=g)}const l=["iconify"];return u.prefix!==""&&l.push("iconify--"+u.prefix),u.provider!==""&&l.push("iconify--"+u.provider),{data:p,classes:l}}function f(){const a=c();a?a.data!==i.value?.data&&(i.value=a):i.value=null}return o.value?f():Yt(()=>{o.value=!0,f()}),se(()=>e.icon,f),en(s),()=>{const a=i.value;if(!a)return Ze(xs,e);let u=e;return a.classes&&(u={...e,class:a.classes.join(" ")}),Ze({...A,...a.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const _s=tt({__name:"App",setup(e,{expose:t}){t();const n=pn(),s=F(()=>re.value.find(({id:f})=>f===n.name)),o=$(""),r=$(""),i=F(()=>s.value?.to&&`${window.location.origin}${s.value.to==="/"?"":s.value.to}`);se(s,async f=>{let a="/favicon.ico";if(f?.icon){const u=Ao(f.icon)?Eo(f.icon):await ds(f.icon);if(u){const{body:p,height:d,left:l,top:g,width:h}=u;a=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${l.toString()} ${g.toString()} ${h.toString()} ${d.toString()}">${p}</svg>`}}o.value=a}),pt({link:[[o,"icon","icon"],[i,"canonical"]].map(([f,a,u])=>({href:f,key:u,rel:a})),script:[{id:"application/ld+json",innerHTML:r,type:"application/ld+json"}]}),Gn({description:F(()=>s.value?.description),keywords:F(()=>s.value?.keywords.join()),ogDescription:F(()=>s.value?.description),ogImage:F(()=>s.value?.images.filter(({url:f})=>f).map(({alt:f="",url:a})=>({alt:f,url:`${window.location.origin}/${a}`}))??[]),ogTitle:F(()=>s.value?.title),ogType:F(()=>s.value?.type),ogUrl:i,title:F(()=>s.value?.title)}),se(()=>s.value?.jsonld,async f=>{r.value=JSON.stringify(await f)||'{"@context":"https://schema.org"}'});const c={route:n,a:s,favicon:o,jsonld:r,ogUrl:i,get pages(){return re}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}}),Ss=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n};function Fs(e,t,n,s,o,r){const i=tn("router-view");return Ce(),ve(i,null,{default:nn(({Component:c})=>[(Ce(),ve(on(c),{id:s.pages[0]?.id},null,8,["id"]))]),_:1})}const Ts=Ss(_s,[["render",Fs],["__file","App.vue"]]);let Mt;const{pathname:Is}=new URL(document.baseURI),Xe=$(!0),J=new Map,$s=()=>{let e,t;return{promise:new Promise((s,o)=>{e=s,t=o}),reject:t,resolve:e}},j=hn({history:mn(Is),routes:[],scrollBehavior:(e,t,n)=>Mt?.(e,t,n)}),Ye=$(!0),et=F(()=>j.currentRoute.value.path==="/"?ie[j.currentRoute.value.name]?.$children[0]:ie[j.currentRoute.value.name]),Rs=({id:e=an()})=>(J.set(e,$s()),sn(async()=>gn(`./pages/${e}.vue`))),Ds=({id:e}={})=>{e&&J.get(e)?.resolve(void 0)},js=({extractAll:e,toggleObserver:t})=>{Mt=async({hash:n,name:s})=>{if(s){Xe.value=!0,t(!1);const[{promise:o}={}]=J.values();await o,await Promise.all([...J.values()].map(({promise:i})=>i)),await e(),t(!0);const r=Ye.value&&{behavior:"smooth",...n||et.value?.parent?.flat&&et.value.index?{el:n||`#${String(s)}`}:{left:0,top:0}};return Xe.value=!1,Ye.value=!0,r}else return!1}};j.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const W=rn(Ts),Os={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};W.use(Kn());const As=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();ln.push(t),await nt(),re.value.forEach(({id:n,loc:s,path:o},r,i)=>{if(Object.defineProperties(i[r],{jsonld:Os}),o!==void 0){const c=s?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");j.addRoute({...c&&s?{alias:c}:{undefined:void 0},children:[{component:()=>z(()=>import("./PageView-Dh3QT9qA.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:n,path:""}],component:()=>z(()=>import("./RootView-C5a_BTY0.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:o.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),j.addRoute({component:()=>z(()=>import("./NotFoundView-CQSSvQ9O.js"),__vite__mapDeps([4,2,1]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json");ke.push(...await(e.ok?e:new Response("[]")).json()),De.presets.push(Nt({customFetch:fn,fonts:un(ke)})),await Vt({defaults:De,ready:async t=>{const{toggleObserver:n}=t;return js(t),await As,W.provide("pages",ie),W.use(j),await j.isReady(),W.mount("#app"),n(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(dn);console.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","1.1.24");export{Ss as _,Xe as a,Rs as m,J as p,Ds as r,Ye as s,et as t,pt as u};
|