@vuebro/runtime 1.1.57 → 1.1.59

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.
@@ -1 +1 @@
1
- {"_shared-DxILmtcX.js":{"file":"assets/shared-DxILmtcX.js","name":"shared"},"_unocss-DYVHIrEJ.js":{"file":"assets/unocss-DYVHIrEJ.js","name":"unocss","isDynamicEntry":true},"index.html":{"file":"assets/index-CWPYtUmg.js","name":"index","src":"index.html","isEntry":true,"imports":["_unocss-DYVHIrEJ.js","_shared-DxILmtcX.js"],"dynamicImports":["_unocss-DYVHIrEJ.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-Dju2CinQ.js","name":"NotFoundView","src":"src/views/NotFoundView.vue","isDynamicEntry":true,"imports":["index.html","_unocss-DYVHIrEJ.js","_shared-DxILmtcX.js"]},"src/views/PageView.vue":{"file":"assets/PageView-B8Lr210_.js","name":"PageView","src":"src/views/PageView.vue","isDynamicEntry":true,"imports":["_shared-DxILmtcX.js","index.html","_unocss-DYVHIrEJ.js"]},"src/views/RootView.vue":{"file":"assets/RootView-B4872GQa.js","name":"RootView","src":"src/views/RootView.vue","isDynamicEntry":true,"imports":["_shared-DxILmtcX.js","index.html","_unocss-DYVHIrEJ.js"]},"node_modules/vue/dist/vue.esm-browser.prod.js":{"file":"assets/vue.esm-browser.prod-3.5.22.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-2.1.1.js","isStaticEntry":true,"name":"@vuebro/loader-sfc"}}
1
+ {"_shared-DxILmtcX.js":{"file":"assets/shared-DxILmtcX.js","name":"shared"},"_unocss-DYVHIrEJ.js":{"file":"assets/unocss-DYVHIrEJ.js","name":"unocss","isDynamicEntry":true},"index.html":{"file":"assets/index-Be1CTnn8.js","name":"index","src":"index.html","isEntry":true,"imports":["_unocss-DYVHIrEJ.js","_shared-DxILmtcX.js"],"dynamicImports":["_unocss-DYVHIrEJ.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-YgXIab0Y.js","name":"NotFoundView","src":"src/views/NotFoundView.vue","isDynamicEntry":true,"imports":["index.html","_unocss-DYVHIrEJ.js","_shared-DxILmtcX.js"]},"src/views/PageView.vue":{"file":"assets/PageView-Dhz9UF_j.js","name":"PageView","src":"src/views/PageView.vue","isDynamicEntry":true,"imports":["_shared-DxILmtcX.js","index.html","_unocss-DYVHIrEJ.js"]},"src/views/RootView.vue":{"file":"assets/RootView-CJcxoAbO.js","name":"RootView","src":"src/views/RootView.vue","isDynamicEntry":true,"imports":["_shared-DxILmtcX.js","index.html","_unocss-DYVHIrEJ.js"]},"node_modules/vue/dist/vue.esm-browser.prod.js":{"file":"assets/vue.esm-browser.prod-3.5.22.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-2.2.1.js","isStaticEntry":true,"name":"@vuebro/loader-sfc"}}
@@ -1 +1 @@
1
- import{defineComponent as t,ref as e,onBeforeUnmount as r,watchEffect as o,createElementBlock as s,openBlock as n,Fragment as i,createVNode as l,createElementVNode as d,withCtx as u}from"vue";import{u as c,_ as a}from"./index-CWPYtUmg.js";import"./unocss-DYVHIrEJ.js";import"./shared-DxILmtcX.js";import"vue-router";import"@vuebro/loader-sfc";function p(t,e){const r=t.type,o="html"===r?"htmlAttrs":"body"===r?"bodyAttrs":r;if("string"!=typeof o||!(o in e))return;const s=t.props||{};if(t.children){const e="children";s.children=Array.isArray(t.children)?t.children[0][e]:t[e]}Array.isArray(e[o])?e[o].push(s):"title"===o?e.title=s.children:e[o]=s}const f=t({name:"Head",setup(t,{slots:s}){const n=e({}),i=c(n);return r(()=>{i.dispose()}),()=>(o(()=>{s.default&&i.patch(function(t){const e={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(const r of t)if("symbol"==typeof r.type&&Array.isArray(r.children))for(const t of r.children)p(t,e);else p(r,e);return e}(s.default()))}),null)}});const m=a(t({__name:"NotFoundView",setup(t,{expose:e}){e();const r={get Head(){return f}};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),[["render",function(t,e,r,o,c,a){return n(),s(i,null,[l(o.Head,null,{default:u(()=>[...e[0]||(e[0]=[d("title",null,"Page Not Found",-1)])]),_:1}),e[1]||(e[1]=d("div",{class:"absolute inset-0 grid place-items-center"},[d("div",{class:"text-center"},[d("div",{class:"text-9xl"},"404"),d("p",null,"Oops. Nothing here...")])],-1))],64)}],["__file","NotFoundView.vue"]]);export{m as default};
1
+ import{defineComponent as t,ref as e,onBeforeUnmount as r,watchEffect as o,createElementBlock as s,openBlock as n,Fragment as i,createVNode as l,createElementVNode as d,withCtx as u}from"vue";import{u as c,_ as a}from"./index-Be1CTnn8.js";import"./unocss-DYVHIrEJ.js";import"./shared-DxILmtcX.js";import"vue-router";import"@vuebro/loader-sfc";function p(t,e){const r=t.type,o="html"===r?"htmlAttrs":"body"===r?"bodyAttrs":r;if("string"!=typeof o||!(o in e))return;const s=t.props||{};if(t.children){const e="children";s.children=Array.isArray(t.children)?t.children[0][e]:t[e]}Array.isArray(e[o])?e[o].push(s):"title"===o?e.title=s.children:e[o]=s}const f=t({name:"Head",setup(t,{slots:s}){const n=e({}),i=c(n);return r(()=>{i.dispose()}),()=>(o(()=>{s.default&&i.patch(function(t){const e={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(const r of t)if("symbol"==typeof r.type&&Array.isArray(r.children))for(const t of r.children)p(t,e);else p(r,e);return e}(s.default()))}),null)}});const m=a(t({__name:"NotFoundView",setup(t,{expose:e}){e();const r={get Head(){return f}};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),[["render",function(t,e,r,o,c,a){return n(),s(i,null,[l(o.Head,null,{default:u(()=>[...e[0]||(e[0]=[d("title",null,"Page Not Found",-1)])]),_:1}),e[1]||(e[1]=d("div",{class:"absolute inset-0 grid place-items-center"},[d("div",{class:"text-center"},[d("div",{class:"text-9xl"},"404"),d("p",null,"Oops. Nothing here...")])],-1))],64)}],["__file","NotFoundView.vue"]]);export{m as default};
@@ -1 +1 @@
1
- import{defineComponent as e,ref as t,computed as s,watch as r,onUnmounted as a,createElementBlock as i,openBlock as o,Fragment as n,renderList as l,normalizeClass as u,createBlock as d,resolveDynamicComponent as p}from"vue";import{u as c,e as v,h as f,p as m,d as h}from"./shared-DxILmtcX.js";import{useRoute as g,useRouter as b}from"vue-router";import{t as w,p as _,m as M,r as j,a as S,s as V,_ as x}from"./index-CWPYtUmg.js";import"./unocss-DYVHIrEJ.js";import"@vuebro/loader-sfc";const E=["id","role"];const P=x(e({__name:"PageView",setup(e,{expose:i}){i();const o=t([]),n=g(),l=b(),u=s(()=>w.value?.siblings??[]),d=[],p=s(()=>u.value.filter(({enabled:e})=>e)),x=()=>{d.forEach(e=>{e()}),d.length=0},E=s(()=>void 0===w.value||w.value.parent?.flat?p.value:[w.value]),P=s(()=>new Map(E.value.map(({id:e=c()})=>[e,!1]))),$=t(new Map(P.value)),k=s(()=>{const[[e,t]=[]]=_;return _.clear(),e&&t&&_.set(e,t),Object.fromEntries(E.value.map(e=>[e.id,M(e)]))});r(o,e=>{x(),setTimeout(()=>{e.forEach(e=>{const{stop:t}=v(e,([{isIntersecting:e,target:{id:t}={}}={}]=[])=>{$.value=new Map(P.value),t&&void 0!==e&&P.value.set(t,e)},{threshold:.1});d.push(t)})})},{deep:!0}),f(window,{behavior:"smooth",onStop:()=>{if(!S.value){const{scrollX:e,scrollY:t}=window,[s]=E.value,[r]=m.value;if(r&&s){const{$children:[{id:a}={}]=[]}=r,i=Math.floor(e)||Math.floor(t)||s.id!==a?[...P.value.entries()].find(([,e])=>e)?.[0]??[...$.value.entries()].find(([,e])=>e)?.[0]??s.id:r.id;i!==n.name&&(V.value=!1,l.push({name:i}).catch(h))}}}}),a(x);const y={refs:o,route:n,router:l,siblings:u,stops:d,$siblings:p,clearStops:x,these:E,intersecting:P,$intersecting:$,templates:k,get uid(){return c},get resolve(){return j},get that(){return w}};return Object.defineProperty(y,"__isScriptSetup",{enumerable:!1,value:!0}),y}}),[["render",function(e,t,s,r,a,c){return o(!0),i(n,null,l(r.these,e=>(o(),i("div",{id:e.id??r.uid(),key:e.id??r.uid(),ref_for:!0,ref:"refs",class:u(e.class),role:e.id===r.that?.id?"main":"section","un-cloak":""},[(o(),d(p(r.templates[e.id]),{pid:e.id,onVnodeMounted:t=>r.resolve(e)},null,8,["pid","onVnodeMounted"]))],10,E))),128)}],["__file","PageView.vue"]]);export{P as default};
1
+ import{defineComponent as e,ref as t,computed as s,watch as r,onUnmounted as a,createElementBlock as i,openBlock as o,Fragment as n,renderList as l,normalizeClass as u,createBlock as d,resolveDynamicComponent as p}from"vue";import{u as c,e as v,h as f,p as m,d as h}from"./shared-DxILmtcX.js";import{useRoute as g,useRouter as b}from"vue-router";import{t as w,p as _,m as M,r as j,a as S,s as V,_ as x}from"./index-Be1CTnn8.js";import"./unocss-DYVHIrEJ.js";import"@vuebro/loader-sfc";const E=["id","role"];const P=x(e({__name:"PageView",setup(e,{expose:i}){i();const o=t([]),n=g(),l=b(),u=s(()=>w.value?.siblings??[]),d=[],p=s(()=>u.value.filter(({enabled:e})=>e)),x=()=>{d.forEach(e=>{e()}),d.length=0},E=s(()=>void 0===w.value||w.value.parent?.flat?p.value:[w.value]),P=s(()=>new Map(E.value.map(({id:e=c()})=>[e,!1]))),$=t(new Map(P.value)),k=s(()=>{const[[e,t]=[]]=_;return _.clear(),e&&t&&_.set(e,t),Object.fromEntries(E.value.map(e=>[e.id,M(e)]))});r(o,e=>{x(),setTimeout(()=>{e.forEach(e=>{const{stop:t}=v(e,([{isIntersecting:e,target:{id:t}={}}={}]=[])=>{$.value=new Map(P.value),t&&void 0!==e&&P.value.set(t,e)},{threshold:.1});d.push(t)})})},{deep:!0}),f(window,{behavior:"smooth",onStop:()=>{if(!S.value){const{scrollX:e,scrollY:t}=window,[s]=E.value,[r]=m.value;if(r&&s){const{$children:[{id:a}={}]=[]}=r,i=Math.floor(e)||Math.floor(t)||s.id!==a?[...P.value.entries()].find(([,e])=>e)?.[0]??[...$.value.entries()].find(([,e])=>e)?.[0]??s.id:r.id;i!==n.name&&(V.value=!1,l.push({name:i}).catch(h))}}}}),a(x);const y={refs:o,route:n,router:l,siblings:u,stops:d,$siblings:p,clearStops:x,these:E,intersecting:P,$intersecting:$,templates:k,get uid(){return c},get resolve(){return j},get that(){return w}};return Object.defineProperty(y,"__isScriptSetup",{enumerable:!1,value:!0}),y}}),[["render",function(e,t,s,r,a,c){return o(!0),i(n,null,l(r.these,e=>(o(),i("div",{id:e.id??r.uid(),key:e.id??r.uid(),ref_for:!0,ref:"refs",class:u(e.class),role:e.id===r.that?.id?"main":"section","un-cloak":""},[(o(),d(p(r.templates[e.id]),{pid:e.id,onVnodeMounted:t=>r.resolve(e)},null,8,["pid","onVnodeMounted"]))],10,E))),128)}],["__file","PageView.vue"]]);export{P as default};
@@ -1 +1 @@
1
- import{defineComponent as e,computed as t,createBlock as r,openBlock as o,Suspense as s,withCtx as i,createElementBlock as u,createCommentVNode as n,normalizeClass as d,resolveDynamicComponent as a}from"vue";import{p as l,u as p}from"./shared-DxILmtcX.js";import{m,r as c,_ as f}from"./index-CWPYtUmg.js";import"./unocss-DYVHIrEJ.js";import"vue-router";import"@vuebro/loader-sfc";const v=["id"];const _=f(e({__name:"RootView",setup(e,{expose:r}){r();const[o]=l.value,s=t(()=>o&&m(o)),i={the:o,is:s,get uid(){return p},get resolve(){return c}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),[["render",function(e,t,l,p,m,c){return o(),r(s,null,{default:i(()=>[p.the?.enabled?(o(),u("div",{key:0,id:p.the?.id??p.uid(),class:d(p.the?.class),"un-cloak":""},[(o(),r(a(p.is),{pid:p.the?.id,onVnodeMounted:t[0]||(t[0]=e=>p.resolve(p.the))},null,8,["pid"]))],10,v)):n("",!0)]),_:1})}],["__file","RootView.vue"]]);export{_ as default};
1
+ import{defineComponent as e,computed as t,createBlock as r,openBlock as o,Suspense as s,withCtx as i,createElementBlock as u,createCommentVNode as n,normalizeClass as d,resolveDynamicComponent as a}from"vue";import{p as l,u as p}from"./shared-DxILmtcX.js";import{m,r as c,_ as f}from"./index-Be1CTnn8.js";import"./unocss-DYVHIrEJ.js";import"vue-router";import"@vuebro/loader-sfc";const v=["id"];const _=f(e({__name:"RootView",setup(e,{expose:r}){r();const[o]=l.value,s=t(()=>o&&m(o)),i={the:o,is:s,get uid(){return p},get resolve(){return c}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),[["render",function(e,t,l,p,m,c){return o(),r(s,null,{default:i(()=>[p.the?.enabled?(o(),u("div",{key:0,id:p.the?.id??p.uid(),class:d(p.the?.class),"un-cloak":""},[(o(),r(a(p.is),{pid:p.the?.id,onVnodeMounted:t[0]||(t[0]=e=>p.resolve(p.the))},null,8,["pid"]))],10,v)):n("",!0)]),_:1})}],["__file","RootView.vue"]]);export{_ as default};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-B8Lr210_.js","./shared-DxILmtcX.js","./unocss-DYVHIrEJ.js","./RootView-B4872GQa.js","./NotFoundView-Dju2CinQ.js"])))=>i.map(i=>d[i]);
2
- import{d as e,w as t,_ as n,p as o,a as i,b as s,c as r,e as c,i as a}from"./unocss-DYVHIrEJ.js";import{defineComponent as l,ref as u,shallowRef as f,onMounted as p,watch as d,onUnmounted as h,h as g,nextTick as m,toValue as y,isRef as v,hasInjectionContext as b,inject as w,watchEffect as k,getCurrentInstance as C,onBeforeUnmount as x,onDeactivated as _,onActivated as j,computed as F,resolveComponent as $,createBlock as O,openBlock as S,withCtx as E,resolveDynamicComponent as M,defineAsyncComponent as A,createApp as H}from"vue";import{g as L,p as T,a as P,u as z,n as I,f as R,b as N,c as D,d as U}from"./shared-DxILmtcX.js";import{useRoute as W,createRouter as B,createWebHistory as V}from"vue-router";import q from"@vuebro/loader-sfc";function J(e,t={},n){for(const o in e){const i=e[o],s=n?`${n}:${o}`:o;"object"==typeof i&&null!==i?J(i,t,s):"function"==typeof i&&(t[s]=i)}return t}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const Z={run:e=>e()},G=void 0!==console.createTask?console.createTask:()=>Z;function Q(e,t){const n=t.shift(),o=G(n);return e.reduce((e,n)=>e.then(()=>o.run(()=>n(...t))),Promise.resolve())}function X(e,t){const n=t.shift(),o=G(n);return Promise.all(e.map(e=>o.run(()=>e(...t))))}function K(e,t){for(const n of[...e])n(t)}class Y{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(e,t,n={}){if(!e||"function"!=typeof t)return()=>{};const o=e;let i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||(e=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,o=(...e)=>("function"==typeof n&&n(),n=void 0,o=void 0,t(...e));return n=this.hook(e,o),n}removeHook(e,t){if(this._hooks[e]){const n=this._hooks[e].indexOf(t);-1!==n&&this._hooks[e].splice(n,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const n=this._hooks[e]||[];delete this._hooks[e];for(const o of n)this.hook(e,o)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=J(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(const e of n.splice(0,n.length))e()}}removeHooks(e){const t=J(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(Q,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(X,e,...t)}callHookWith(e,t,...n){const o=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&K(this._before,o);const i=e(t in this._hooks?[...this._hooks[t]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&K(this._after,o)}):(this._after&&o&&K(this._after,o),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const ee=new Set(["link","style","script","noscript"]),te=new Set(["title","titleTemplate","script","style","noscript"]),ne=new Set(["base","meta","link","style","script","noscript"]),oe=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ie=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),se=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),re=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ce=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),ae=["name","property","http-equiv"],le=new Set(["viewport","description","keywords","robots"]);function ue(e){const t=e.split(":");return!!t.length&&ce.has(t[1])}function fe(e){const{props:t,tag:n}=e;if(ie.has(n))return n;if("link"===n&&"canonical"===t.rel)return"canonical";if(t.charset)return"charset";if("meta"===e.tag)for(const o of ae)if(void 0!==t[o]){const i=t[o],s=i.includes(":"),r=le.has(i);return`${n}:${i}${!(s||r)&&e.key?`:key:${e.key}`:""}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(te.has(n)){const t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function pe(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(([e,t])=>`${e}:${String(t)}`).join(",")}`}function de(e,t,n){let o;if("function"===typeof e&&(n&&("titleTemplate"===n||"o"===n[0]&&"n"===n[1])||(e=e())),t&&(o=t(n,e)),Array.isArray(o))return o.map(e=>de(e,t));if(o?.constructor===Object){const e={};for(const n of Object.keys(o))e[n]=de(o[n],t,n);return e}return o}function he(e,t){return e.props=e.props||{},t?"templateParams"===e.tag?(e.props=t,e):(Object.entries(t).forEach(([n,o])=>{if(null===o)return void(e.props[n]=null);if("class"===n||"style"===n)return void(e.props[n]=function(e,t){const n="style"===e?new Map:new Set;function o(t){const o=t.trim();if(o)if("style"===e){const[e,...t]=o.split(":").map(e=>e.trim());e&&t.length&&n.set(e,t.join(":"))}else o.split(" ").filter(Boolean).forEach(e=>n.add(e))}return"string"==typeof t?"style"===e?t.split(";").forEach(o):o(t):Array.isArray(t)?t.forEach(e=>o(e)):t&&"object"==typeof t&&Object.entries(t).forEach(([t,i])=>{i&&"false"!==i&&("style"===e?n.set(t.trim(),i):o(t))}),n}(n,o));if(se.has(n)){if(["textContent","innerHTML"].includes(n)&&"object"==typeof o){let i=t.type;if(t.type||(i="application/json"),!i?.endsWith("json")&&"speculationrules"!==i)return;t.type=i,e.props.type=i,e[n]=JSON.stringify(o)}else e[n]=o;return}const i=String(o),s=n.startsWith("data-");"true"===i||""===i?e.props[n]=!s||i:!o&&s&&"false"===i?e.props[n]="false":void 0!==o&&(e.props[n]=o)}),e):e}function ge(e,t){const n=he({tag:e,props:{}},"object"==typeof t&&"function"!=typeof t?t:{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t});return n.key&&ee.has(n.tag)&&(n.props["data-hid"]=n._h=n.key),"script"===n.tag&&"object"==typeof n.innerHTML&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function me(e,t){if(!e)return[];"function"==typeof e&&(e=e());const n=(e,n)=>{for(let o=0;o<t.length;o++)n=t[o](e,n);return n};e=n(void 0,e);const o=[];return e=de(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(void 0!==t)for(const n of Array.isArray(t)?t:[t])o.push(ge(e,n))}),o.flat()}const ye=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,ve={base:-10,title:10},be={critical:-8,high:-1,low:2},we={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}},ke=/@import/,Ce=e=>""===e||!0===e;function xe(e,t){if("number"==typeof t.tagPriority)return t.tagPriority;let n=100;const o=be[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:we;if(t.tag in ve)n=ve[t.tag];else if("meta"===t.tag){const e="content-security-policy"===t.props["http-equiv"]?"content-security-policy":t.props.charset?"charset":"viewport"===t.props.name?"viewport":null;e&&(n=we.meta[e])}else"link"===t.tag&&t.props.rel?n=i.link[t.props.rel]:"script"===t.tag?Ce(t.props.async)?n=i.script.async:!t.props.src||Ce(t.props.defer)||Ce(t.props.async)||"module"===t.props.type||t.props.type?.endsWith("json")?Ce(t.props.defer)&&t.props.src&&!Ce(t.props.async)&&(n=i.script.defer):n=i.script.sync:"style"===t.tag&&(n=t.innerHTML&&ke.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+o}function _e(e,t){const n="function"==typeof t?t(e):t,o=n.key||String(e.plugins.size+1);e.plugins.get(o)||(e.plugins.set(o,n),e.hooks.addHooks(n.hooks||{}))}function je(e={}){const t=new Y;t.addHooks(e.hooks||{});const n=!e.document,o=new Map,i=new Map,s=new Set,r={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:o,headEntries:()=>[...o.values()],use:e=>_e(r,e),push(e,i){const c={...i||{}};delete c.head;const a=c._index??r._entryCount++,l={_i:a,input:e,options:c},u={_poll(e=!1){r.dirty=!0,!e&&s.add(a),t.callHook("entries:updated",r)},dispose(){o.delete(a)&&r.invalidate()},patch(e){(!c.mode||"server"===c.mode&&n||"client"===c.mode&&!n)&&(l.input=e,o.set(a,l),u._poll())}};return u.patch(e),u},async resolveTags(){const n={tagMap:new Map,tags:[],entries:[...r.entries.values()]};for(await t.callHook("entries:resolve",n);s.size;){const n=s.values().next().value;s.delete(n);const i=o.get(n);if(i){const n={tags:me(i.input,e.propResolvers||[]).map(e=>Object.assign(e,i.options)),entry:i};await t.callHook("entries:normalize",n),i._tags=n.tags.map((e,t)=>(e._w=xe(r,e),e._p=(i._i<<10)+t,e._d=fe(e),e))}}let i=!1;n.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(ye).reduce((e,t)=>{const n=String(t._d||t._p);if(!e.has(n))return e.set(n,t);const o=e.get(n);if("merge"===(t?.tagDuplicateStrategy||(re.has(t.tag)?"merge":null)||(t.key&&t.key===o.key?"merge":null))){const i={...o.props};Object.entries(t.props).forEach(([e,t])=>i[e]="style"===e?new Map([...o.props.style||new Map,...t]):"class"===e?new Set([...o.props.class||new Set,...t]):t),e.set(n,{...t,props:i})}else t._p>>10==o._p>>10&&"meta"===t.tag&&ue(n)?(e.set(n,Object.assign([...Array.isArray(o)?o:[o],t],t)),i=!0):(t._w===o._w?t._p>o._p:t?._w<o?._w)&&e.set(n,t);return e},n.tagMap);const c=n.tagMap.get("title"),a=n.tagMap.get("titleTemplate");if(r._title=c?.textContent,a){const e=a?.textContent;if(r._titleTemplate=e,e){let t="function"==typeof e?e(c?.textContent):e;"string"!=typeof t||r.plugins.has("template-params")||(t=t.replace("%s",c?.textContent||"")),c?null===t?n.tagMap.delete("title"):n.tagMap.set("title",{...c,textContent:t}):(a.tag="title",a.textContent=t)}}n.tags=Array.from(n.tagMap.values()),i&&(n.tags=n.tags.flat().sort(ye)),await t.callHook("tags:beforeResolve",n),await t.callHook("tags:resolve",n),await t.callHook("tags:afterResolve",n);const l=[];for(const e of n.tags){const{innerHTML:t,tag:n,props:o}=e;if(oe.has(n)&&((0!==Object.keys(o).length||e.innerHTML||e.textContent)&&("meta"!==n||o.content||o["http-equiv"]||o.charset))){if("script"===n&&t){if(o.type?.endsWith("json")){const n="string"==typeof t?t:JSON.stringify(t);e.innerHTML=n.replace(/</g,"\\u003C")}else"string"==typeof t&&(e.innerHTML=t.replace(new RegExp(`</${n}`,"g"),`<\\/${n}`));e._d=fe(e)}l.push(e)}}return l},invalidate(){for(const e of o.values())s.add(e._i);r.dirty=!0,t.callHook("entries:updated",r)}};return(e?.plugins||[]).forEach(e=>_e(r,e)),r.hooks.callHook("init",r),e.init?.forEach(e=>e&&r.push(e)),r}async function Fe(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};return await e.hooks.callHook("dom:beforeRender",o),o.shouldRender?(e._domUpdatePromise||(e._domUpdatePromise=new Promise(async t=>{const o=new Map,i=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{const t=o.get(e._d)||0,n={tag:e,id:(t?`${e._d}:${t}`:e._d)||pe(e),shouldRender:!0};return e._d&&ue(e._d)&&o.set(e._d,t+1),n}))})});let s=e._dom;if(!s){s={title:n.title,elMap:(new Map).set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const e of["body","head"]){const t=n[e]?.children;for(const e of t){const t=e.tagName.toLowerCase();if(!ne.has(t))continue;const n=he({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,n)=>(t[n]=e.getAttribute(n),t),{})||{}});if(n.key=e.getAttribute("data-hid")||void 0,n._d=fe(n)||pe(n),s.elMap.has(n._d)){let t=1,o=n._d;for(;s.elMap.has(o);)o=`${n._d}:${t++}`;s.elMap.set(o,e)}else s.elMap.set(n._d,e)}}}function r(e,t,n){const o=`${e}:${t}`;s.sideEffects[o]=n,delete s.pendingSideEffects[o]}function c({id:e,$el:t,tag:o}){const i=o.tag.endsWith("Attrs");s.elMap.set(e,t),i||(o.textContent&&o.textContent!==t.textContent&&(t.textContent=o.textContent),o.innerHTML&&o.innerHTML!==t.innerHTML&&(t.innerHTML=o.innerHTML),r(e,"el",()=>{t?.remove(),s.elMap.delete(e)}));for(const s in o.props){if(!Object.prototype.hasOwnProperty.call(o.props,s))continue;const c=o.props[s];if(s.startsWith("on")&&"function"==typeof c){const e=t?.dataset;if(e&&e[`${s}fired`]){const e=s.slice(0,-5);c.call(t,new Event(e.substring(2)))}""!==t.getAttribute(`data-${s}`)&&(("bodyAttrs"===o.tag?n.defaultView:t).addEventListener(s.substring(2),c.bind(t)),t.setAttribute(`data-${s}`,""));continue}const a=`attr:${s}`;if("class"===s){if(!c)continue;for(const n of c)i&&r(e,`${a}:${n}`,()=>t.classList.remove(n)),!t.classList.contains(n)&&t.classList.add(n)}else if("style"===s){if(!c)continue;for(const[n,o]of c)r(e,`${a}:${n}`,()=>{t.style.removeProperty(n)}),t.style.setProperty(n,o)}else!1!==c&&null!==c&&(t.getAttribute(s)!==c&&t.setAttribute(s,!0===c?"":String(c)),i&&r(e,a,()=>t.removeAttribute(s)))}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};const a=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await i;for(const e of u){const{tag:t,shouldRender:o,id:i}=e;o&&("title"!==t.tag?(e.$el=e.$el||s.elMap.get(i),e.$el?c(e):ne.has(t.tag)&&a.push(e)):(n.title=t.textContent,r("title","",()=>n.title=s.title)))}for(const e of a){const t=e.tag.tagPosition||"head";e.$el=n.createElement(e.tag.tag),c(e),l[t]=l[t]||n.createDocumentFragment(),l[t].appendChild(e.$el)}for(const f of u)await e.hooks.callHook("dom:renderTag",f,n,r);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(const e in s.pendingSideEffects)s.pendingSideEffects[e]();e._dom=s,await e.hooks.callHook("dom:rendered",{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise):void 0}function $e(e,t){let n=0;return()=>{const o=++n;t(()=>{n===o&&e()})}}const Oe="usehead";function Se(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Oe,e)}}.install}function Ee(e={}){const t=function(e={}){const t=e.domOptions?.render||Fe;e.document=e.document||("undefined"!=typeof window?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return je({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[!!n&&JSON.parse(n),...e.init||[]]})}({domOptions:{render:$e(()=>Fe(t),e=>setTimeout(e,0))},...e});return t.install=Se(t),t}const Me=Object.freeze({left:0,top:0,width:16,height:16}),Ae=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),He=Object.freeze({...Me,...Ae}),Le=Object.freeze({...He,body:"",hidden:!1}),Te=Object.freeze({width:null,height:null}),Pe=Object.freeze({...Te,...Ae});function ze(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}(e,t);for(const o in Le)o in Ae?o in e&&!(o in n)&&(n[o]=Ae[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function Ie(e,t,n){const o=e.icons,i=e.aliases||Object.create(null);let s={};function r(e){s=ze(o[e]||i[e],s)}return r(t),n.forEach(r),ze(e,s)}function Re(e,t){if(e.icons[t])return Ie(e,t,[]);const n=function(e,t){const n=e.icons,o=e.aliases||Object.create(null),i=Object.create(null);return(t||Object.keys(n).concat(Object.keys(o))).forEach(function e(t){if(n[t])return i[t]=[];if(!(t in i)){i[t]=null;const n=o[t]&&o[t].parent,s=n&&e(n);s&&(i[t]=[n].concat(s))}return i[t]}),i}(e,[t])[t];return n?Ie(e,t,n):null}const Ne=/(-?[0-9.]*[0-9]+[0-9.]*)/g,De=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ue(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const o=e.split(Ne);if(null===o||!o.length)return e;const i=[];let s=o.shift(),r=De.test(s);for(;;){if(r){const e=parseFloat(s);isNaN(e)?i.push(s):i.push(Math.ceil(e*t*n)/n)}else i.push(s);if(s=o.shift(),void 0===s)return i.join("");r=!r}}const We=e=>"unset"===e||"undefined"===e||"none"===e;function Be(e,t){const n={...He,...e},o={...Pe,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,o].forEach(e=>{const t=[],n=e.hFlip,o=e.vFlip;let r,c=e.rotate;switch(n?o?c+=2:(t.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),t.push("scale(-1 1)"),i.top=i.left=0):o&&(t.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),t.push("scale(1 -1)"),i.top=i.left=0),c<0&&(c-=4*Math.floor(c/4)),c%=4,c){case 1:r=i.height/2+i.top,t.unshift("rotate(90 "+r.toString()+" "+r.toString()+")");break;case 2:t.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:r=i.width/2+i.left,t.unshift("rotate(-90 "+r.toString()+" "+r.toString()+")")}c%2==1&&(i.left!==i.top&&(r=i.left,i.left=i.top,i.top=r),i.width!==i.height&&(r=i.width,i.width=i.height,i.height=r)),t.length&&(s=function(e,t,n){const o=function(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const i=e.indexOf(">",o),s=e.indexOf("</"+t);if(-1===i||-1===s)break;const r=e.indexOf(">",s);if(-1===r)break;n+=e.slice(i+1,s).trim(),e=e.slice(0,o).trim()+e.slice(r+1)}return{defs:n,content:e}}(e);return i=o.defs,s=t+o.content+n,i?"<defs>"+i+"</defs>"+s:s;var i,s}(s,'<g transform="'+t.join(" ")+'">',"</g>"))});const r=o.width,c=o.height,a=i.width,l=i.height;let u,f;null===r?(f=null===c?"1em":"auto"===c?l:c,u=Ue(f,a/l)):(u="auto"===r?a:r,f=null===c?Ue(u,l/a):"auto"===c?l:c);const p={},d=(e,t)=>{We(t)||(p[e]=t.toString())};d("width",u),d("height",f);const h=[i.left,i.top,a,l];return p.viewBox=h.join(" "),{attributes:p,viewBox:h,body:s}}function Ve(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" ')),function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(t)}const qe=/\swidth\s*=\s*["']([\w.]+)["']/,Je=/\sheight\s*=\s*["']([\w.]+)["']/,Ze=/<svg\s+/;async function Ge(e,t,n,o,i,s){const{scale:r,addXmlNs:c=!1}=o??{},{additionalProps:a={},iconCustomizer:l}=o?.customizations??{},u=await(i?.())??{};await(l?.(t,n,u)),Object.keys(a).forEach(e=>{const t=a[e];null!=t&&(u[e]=t)}),s?.(u);const[f,p]=function(e,t,n){const o=e.slice(0,e.indexOf(">")),i=(e,i)=>{const s=i.exec(o),r=null!=s,c=t[e];return c||We(c)||("number"==typeof n?n>0&&(t[e]=Ue(s?.[1]??"1em",n)):s&&(t[e]=s[1])),r};return[i("width",qe),i("height",Je)]}(e,u,r);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 d=Object.keys(u).map(e=>"width"===e&&f||"height"===e&&p?null:`${e}="${u[e]}"`).filter(e=>null!=e);if(d.length&&(e=e.replace(Ze,`<svg ${d.join(" ")} `)),o){const{defaultStyle:t,defaultClass:n}=o;n&&!e.includes("class=")&&(e=e.replace(Ze,`<svg class="${n}" `)),t&&!e.includes("style=")&&(e=e.replace(Ze,`<svg style="${t}" `))}const h=o?.usedProps;return h&&(Object.keys(a).forEach(e=>{const t=u[e];null!=t&&(h[e]=t)}),void 0!==u.width&&null!==u.width&&(h.width=u.width),void 0!==u.height&&null!==u.height&&(h.height=u.height)),e}var Qe,Xe,Ke,Ye,et,tt={exports:{}};function nt(){if(Xe)return Qe;Xe=1;var e=1e3,t=60*e,n=60*t,o=24*n,i=7*o,s=365.25*o;function r(e,t,n,o){var i=t>=1.5*n;return Math.round(e/n)+" "+o+(i?"s":"")}return Qe=function(c,a){a=a||{};var l=typeof c;if("string"===l&&c.length>0)return function(r){if((r=String(r)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(r);if(!c)return;var a=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"weeks":case"week":case"w":return a*i;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*n;case"minutes":case"minute":case"mins":case"min":case"m":return a*t;case"seconds":case"second":case"secs":case"sec":case"s":return a*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(c);if("number"===l&&isFinite(c))return a.long?function(i){var s=Math.abs(i);if(s>=o)return r(i,s,o,"day");if(s>=n)return r(i,s,n,"hour");if(s>=t)return r(i,s,t,"minute");if(s>=e)return r(i,s,e,"second");return i+" ms"}(c):function(i){var s=Math.abs(i);if(s>=o)return Math.round(i/o)+"d";if(s>=n)return Math.round(i/n)+"h";if(s>=t)return Math.round(i/t)+"m";if(s>=e)return Math.round(i/e)+"s";return i+"ms"}(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))}}const ot=L((et||(et=1,function(e,t){var n={};t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(o++,"%c"===e&&(i=o))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(o){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=n.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!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"],t.log=console.debug||console.log||(()=>{}),e.exports=(Ye?Ke:(Ye=1,Ke=function(e){function t(e){let o,i,s,r=null;function c(...e){if(!c.enabled)return;const n=c,i=Number(new Date),s=i-(o||i);n.diff=s,n.prev=o,n.curr=i,o=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(o,i)=>{if("%%"===o)return"%";r++;const s=t.formatters[i];if("function"==typeof s){const t=e[r];o=s.call(n,t),e.splice(r,1),r--}return o}),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=n,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{r=e}}),"function"==typeof t.init&&t.init(c),c}function n(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function o(e,t){let n=0,o=0,i=-1,s=0;for(;n<e.length;)if(o<t.length&&(t[o]===e[n]||"*"===t[o]))"*"===t[o]?(i=o,s=n,o++):(n++,o++);else{if(-1===i)return!1;o=i+1,s++,n=s}for(;o<t.length&&"*"===t[o];)o++;return o===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const o of n)"-"===o[0]?t.skips.push(o.slice(1)):t.names.push(o)},t.enabled=function(e){for(const n of t.skips)if(o(e,n))return!1;for(const n of t.names)if(o(e,n))return!0;return!1},t.humanize=nt(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}))(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}(tt,tt.exports)),tt.exports)),it=ot("@iconify-loader:custom");async function st(e,t,n,o){let i;it(`${t}:${n}`);try{if("function"==typeof e)i=await e(n);else{const t=e[n];i="function"==typeof t?await t():t}}catch(r){return void console.warn(`Failed to load custom icon "${n}" in "${t}":`,r)}if(i){const e=i.indexOf("<svg");e>0&&(i=i.slice(e));const{transform:r}=o?.customizations??{};return i="function"==typeof r?await r(i,t,n):i,i.startsWith("<svg")?await Ge(!0===o?.customizations?.trimCustomSvg?(s=i,s.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()):i,t,n,o,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),i)}var s}const rt=ot("@iconify-loader:icon");async function ct(e,t,n,o){let i;const{customize:s}=o?.customizations??{};for(const r of n)if(i=Re(e,r),i){rt(`${t}:${r}`);let e={...Pe};"function"==typeof s&&(i=Object.assign({},i),e=s(e,i,`${t}:${r}`)??e);const{attributes:{width:n,height:c,...a},body:l}=Be(i,e),u=o?.scale;return await Ge(`<svg >${l}</svg>`,t,r,o,()=>({...a}),e=>{const t=(t,n)=>{const o=e[t];let i;if(!We(o)){if(o)return;"number"==typeof u?u&&(i=Ue(n??"1em",u)):i=n}i?e[t]=i:delete e[t]};t("width",n),t("height",c)})}}const at=async(e,t,n)=>{const o=n?.customCollections?.[e];if(o){if("function"!=typeof o)return await st(o,e,t,n);{let s;try{s=await o(t)}catch(i){return void console.warn(`Failed to load custom icon "${t}" in "${e}":`,i)}if(s){if("string"==typeof s)return await st(()=>s,e,t,n);if("icons"in s){const o=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await ct(s,e,o,n)}}}}};var lt={};const ut=["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"];function ft(e,t,n=new Map){return async(o,i,s)=>{let r=await at(o,i,s);if(r)return r;const c=await function(o){if(ut.includes(o))return n.has(o)||n.set(o,e(`${t}@iconify-json/${o}/icons.json`)),n.get(o)}(o);if(c){const e=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];r=await ct(c,o,e,s)}return r}}async function pt(e,t,n={},o=[]){let i,s="",r="";const c=new Set([...ut,...o,...Object.keys(n.customCollections||{})]);if(e.includes(":")){if([s,r]=e.split(":"),!c.has(s))return;i=await t(s,r,n)}else{const o=e.split(/-/g);for(let e=3;e>=1&&(s=o.slice(0,e).join("-"),!c.has(s)||(r=o.slice(e).join("-"),i=await t(s,r,n),!i));e--);}if(i)return{collection:s,name:r,svg:i}}const dt=(ht=async e=>{const t=e?.customFetch,o=e?.cdn;return t&&o?ft(t,o):o?await async function(e){const{$fetch:t}=await n(async()=>{const{$fetch:e}=await import("./unocss-DYVHIrEJ.js").then(e=>e.f);return{$fetch:e}},[],import.meta.url);return ft(t,e)}(o):at},e((e={})=>{const{scale:n=1,mode:o="auto",prefix:i="i-",warn:s=!1,iconifyCollectionsNames:r,collections:c,extraProperties:a={},customizations:l={},autoInstall:u=!1,collectionsNodeResolvePath:f,layer:p="icons",unit:d,processor:h}=e,g=function(){const e="undefined"!=typeof process&&process.stdout;return{isNode:e,isVSCode:e&&!!lt.VSCODE_CWD,isESLint:e&&!!lt.ESLINT}}(),m={addXmlNs:!0,scale:n,customCollections:c,autoInstall:u,cwd:f,warn:void 0,customizations:{...l,additionalProps:{...a},trimCustomSvg:!0,async iconCustomizer(e,t,o){await(l.iconCustomizer?.(e,t,o)),d&&(o.width||(o.width=`${n}${d}`),o.height||(o.height=`${n}${d}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},api:{encodeSvgForCss:Ve,parseIconWithLoader:pt},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async n=>{let[i,c,a=o]=n;y=y||await ht(e);const l={},u=await pt(c,y,{...m,usedProps:l},r);if(!u)return void(s&&!g.isESLint&&t(`failed to load icon "${i}"`));let f;const p=`url("data:image/svg+xml;utf8,${Ve(u.svg)}")`;return"auto"===a&&(a=u.svg.includes("currentColor")?"mask":"bg"),f="mask"===a?{"--un-icon":p,"-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",...l}:{background:`${p} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...l},h?.(f,{...u,icon:u.name,mode:a}),f},{layer:p,prefix:i}]]}}));var ht;const gt={presets:[o({preflights:{reset:!0}}),i(),dt({cdn:"https://cdn.jsdelivr.net/npm/"}),s(),r()]},mt=/^[a-z0-9]+(-[a-z0-9]+)*$/,yt=(e,t,n,o="")=>{const i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;o=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const e=i.pop(),n=i.pop(),s={provider:i.length>0?i[0]:o,prefix:n,name:e};return t&&!vt(s)?null:s}const s=i[0],r=s.split("-");if(r.length>1){const e={provider:o,prefix:r.shift(),name:r.join("-")};return t&&!vt(e)?null:e}if(n&&""===o){const e={provider:o,prefix:"",name:s};return t&&!vt(e,n)?null:e}return null},vt=(e,t)=>!!e&&!(!(t&&""===e.prefix||e.prefix)||!e.name),bt=Object.freeze({left:0,top:0,width:16,height:16}),wt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),kt=Object.freeze({...bt,...wt}),Ct=Object.freeze({...kt,body:"",hidden:!1});function xt(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}(e,t);for(const o in Ct)o in wt?o in e&&!(o in n)&&(n[o]=wt[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function _t(e,t,n){const o=e.icons,i=e.aliases||Object.create(null);let s={};function r(e){s=xt(o[e]||i[e],s)}return r(t),n.forEach(r),xt(e,s)}function jt(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});const o=function(e){const t=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);return Object.keys(t).concat(Object.keys(n)).forEach(function e(i){if(t[i])return o[i]=[];if(!(i in o)){o[i]=null;const t=n[i]&&n[i].parent,s=t&&e(t);s&&(o[i]=[t].concat(s))}return o[i]}),o}(e);for(const i in o){const s=o[i];s&&(t(i,_t(e,i,s)),n.push(i))}return n}const Ft={provider:"",aliases:{},not_found:{},...bt};function $t(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Ot(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons)return null;if(!$t(e,Ft))return null;const n=t.icons;for(const i in n){const e=n[i];if(!i||"string"!=typeof e.body||!$t(e,Ct))return null}const o=t.aliases||Object.create(null);for(const i in o){const e=o[i],t=e.parent;if(!i||"string"!=typeof t||!n[t]&&!o[t]||!$t(e,Ct))return null}return t}const St=Object.create(null);function Et(e,t){const n=St[e]||(St[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function Mt(e,t){return Ot(t)?jt(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}let At=!1;function Ht(e){return"boolean"==typeof e&&(At=e),At}function Lt(e){const t="string"==typeof e?yt(e,!0,At):e;if(t){const e=Et(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function Tt(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),At&&!t&&!e.prefix){let t=!1;return Ot(e)&&(e.prefix="",jt(e,(e,n)=>{(function(e,t){const n=yt(e,!0,At);if(!n)return!1;const o=Et(n.provider,n.prefix);return t?function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch(o){}return!1}(o,n.name,t):(o.missing.add(n.name),!0)})(e,n)&&(t=!0)})),t}const n=e.prefix;if(!vt({prefix:n,name:"a"}))return!1;return!!Mt(Et(t,n),e)}const Pt=Object.freeze({width:null,height:null}),zt=Object.freeze({...Pt,...wt}),It=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Rt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Nt(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const o=e.split(It);if(null===o||!o.length)return e;const i=[];let s=o.shift(),r=Rt.test(s);for(;;){if(r){const e=parseFloat(s);isNaN(e)?i.push(s):i.push(Math.ceil(e*t*n)/n)}else i.push(s);if(s=o.shift(),void 0===s)return i.join("");r=!r}}const Dt=/\sid="(\S+)"/g,Ut="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let Wt=0;const Bt=Object.create(null);function Vt(e){return Bt[e]||Bt[""]}function qt(e){let t;if("string"==typeof e.resources)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:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const Jt=Object.create(null),Zt=["https://api.simplesvg.com","https://api.unisvg.com"],Gt=[];for(;Zt.length>0;)1===Zt.length||Math.random()>.5?Gt.push(Zt.shift()):Gt.push(Zt.pop());function Qt(e,t){const n=qt(t);return null!==n&&(Jt[e]=n,!0)}function Xt(e){return Jt[e]}Jt[""]=qt({resources:["https://api.iconify.design"].concat(Gt)});let Kt=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(t){}})();const Yt={prepare:(e,t,n)=>{const o=[],i=function(e,t){const n=Xt(e);if(!n)return 0;let o;if(n.maxURL){let e=0;n.resources.forEach(t=>{const n=t;e=Math.max(e,n.length)});const i=t+".json?icons=";o=n.maxURL-e-n.path.length-i.length}else o=0;return o}(e,t),s="icons";let r={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((n,a)=>{c+=n.length+1,c>=i&&a>0&&(o.push(r),r={type:s,provider:e,prefix:t,icons:[]},c=n.length),r.icons.push(n)}),o.push(r),o},send:(e,t,n)=>{if(!Kt)return void n("abort",424);let o=function(e){if("string"==typeof e){const t=Xt(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");o+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;o+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let i=503;Kt(e+o).then(e=>{const t=e.status;if(200===t)return i=501,e.json();setTimeout(()=>{n(function(e){return 404===e}(t)?"abort":"next",t)})}).then(e=>{"object"==typeof e&&null!==e?setTimeout(()=>{n("success",e)}):setTimeout(()=>{404===e?n("abort",e):n("next",i)})}).catch(()=>{n("next",i)})}};function en(e,t){e.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}let tn=0;var nn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function on(e,t,n,o){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let r;if(e.random){let t=e.resources.slice(0);for(r=[];t.length>1;){const e=Math.floor(Math.random()*t.length);r.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}r=r.concat(t)}else r=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let a,l="pending",u=0,f=null,p=[],d=[];function h(){f&&(clearTimeout(f),f=null)}function g(){"pending"===l&&(l="aborted"),h(),p.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),p=[]}function m(e,t){t&&(d=[]),"function"==typeof e&&d.push(e)}function y(){l="failed",d.forEach(e=>{e(void 0,a)})}function v(){p.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),p=[]}function b(){if("pending"!==l)return;h();const o=r.shift();if(void 0===o)return p.length?void(f=setTimeout(()=>{h(),"pending"===l&&(v(),y())},e.timeout)):void y();const i={status:"pending",resource:o,callback:(t,n)=>{!function(t,n,o){const i="success"!==n;switch(p=p.filter(e=>e!==t),l){case"pending":break;case"failed":if(i||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return a=o,void y();if(i)return a=o,void(p.length||(r.length?b():y()));if(h(),v(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}l="completed",d.forEach(e=>{e(o)})}(i,t,n)}};p.push(i),u++,f=setTimeout(b,e.rotate),n(o,t,i.callback)}return"function"==typeof o&&d.push(o),setTimeout(b),function(){return{startTime:c,payload:t,status:l,queriesSent:u,queriesPending:p.length,subscribe:m,abort:g}}}function sn(e){const t={...nn,...e};let n=[];function o(){n=n.filter(e=>"pending"===e().status)}return{query:function(e,i,s){const r=on(t,e,i,(e,t)=>{o(),s&&s(e,t)});return n.push(r),r},find:function(e){return n.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:o}}function rn(){}const cn=Object.create(null);function an(e,t,n){let o,i;if("string"==typeof e){const t=Vt(e);if(!t)return n(void 0,424),rn;i=t.send;const s=function(e){if(!cn[e]){const t=Xt(e);if(!t)return;const n={config:t,redundancy:sn(t)};cn[e]=n}return cn[e]}(e);s&&(o=s.redundancy)}else{const t=qt(e);if(t){o=sn(t);const n=Vt(e.resources?e.resources[0]:"");n&&(i=n.send)}}return o&&i?o.query(t,i,n)().abort:(n(void 0,424),rn)}function ln(){}function un(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,function(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 o=e.provider,i=e.prefix;t.forEach(t=>{const s=t.icons,r=s.pending.length;s.pending=s.pending.filter(t=>{if(t.prefix!==i)return!0;const r=t.name;if(e.icons[r])s.loaded.push({provider:o,prefix:i,name:r});else{if(!e.missing.has(r))return n=!0,!0;s.missing.push({provider:o,prefix:i,name:r})}return!1}),s.pending.length!==r&&(n||en([e],t.id),t.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),t.abort))})}))}(e)}))}function fn(e,t,n){function o(){const n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&"object"==typeof n)try{if(!Mt(e,n).length)return void o()}catch(i){console.error(i)}o(),un(e)}function pn(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function dn(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:t,prefix:n}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i))return void pn(e.loadIcons(o,n,t),t=>{fn(e,o,t)});if(i)return void o.forEach(o=>{pn(i(o,n,t),t=>{fn(e,[o],t?{prefix:n,icons:{[o]:t}}:null)})});const{valid:s,invalid:r}=function(e){const t=[],n=[];return e.forEach(e=>{(e.match(mt)?t:n).push(e)}),{valid:t,invalid:n}}(o);if(r.length&&fn(e,r,null),!s.length)return;const c=n.match(mt)?Vt(t):null;if(!c)return void fn(e,s,null);c.prepare(t,n,s).forEach(n=>{an(t,n,t=>{fn(e,n.icons,t)})})}))}const hn=(e,t)=>{const n=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name));let o={provider:"",prefix:"",name:""};return e.forEach(e=>{if(o.name===e.name&&o.prefix===e.prefix&&o.provider===e.provider)return;o=e;const i=e.provider,s=e.prefix,r=e.name,c=n[i]||(n[i]=Object.create(null)),a=c[s]||(c[s]=Et(i,s));let l;l=r in a.icons?t.loaded:""===s||a.missing.has(r)?t.missing:t.pending;const u={provider:i,prefix:s,name:r};l.push(u)}),t}(function(e,t=!0,n=!1){const o=[];return e.forEach(e=>{const i="string"==typeof e?yt(e,t,n):e;i&&o.push(i)}),o}(e,!0,Ht()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,ln)}),()=>{e=!1}}const o=Object.create(null),i=[];let s,r;return n.pending.forEach(e=>{const{provider:t,prefix:n}=e;if(n===r&&t===s)return;s=t,r=n,i.push(Et(t,n));const c=o[t]||(o[t]=Object.create(null));c[n]||(c[n]=[])}),n.pending.forEach(e=>{const{provider:t,prefix:n,name:i}=e,s=Et(t,n),r=s.pendingIcons||(s.pendingIcons=new Set);r.has(i)||(r.add(i),o[t][n].push(i))}),i.forEach(e=>{const t=o[e.provider][e.prefix];t.length&&dn(e,t)}),t?function(e,t,n){const o=tn++,i=en.bind(null,n,o);if(!t.pending.length)return i;const s={id:o,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(s)}),i}(t,n,i):ln};const gn=/[\s,]+/;function mn(e,t){t.split(gn).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}function yn(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:o(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?o(i):0)}}return t}const vn={...zt,inline:!1},bn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},wn={display:"inline-block"},kn={backgroundColor:"currentColor"},Cn={backgroundColor:"transparent"},xn={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},_n={webkitMask:kn,mask:kn,background:Cn};for(const Gn in _n){const e=_n[Gn];for(const t in xn)e[Gn+t]=xn[t]}const jn={};function Fn(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";jn[e+"-flip"]=t,jn[e.slice(0,1)+"-flip"]=t,jn[e+"Flip"]=t});const $n=(e,t)=>{const n=function(e,t){const n={...e};for(const o in t){const e=t[o],i=typeof e;o in Pt?(null===e||e&&("string"===i||"number"===i))&&(n[o]=e):i===typeof n[o]&&(n[o]="rotate"===o?e%4:e)}return n}(vn,t),o={...bn},i=t.mode||"svg",s={},r=t.style,c="object"!=typeof r||r instanceof Array?{}:r;for(let g in t){const e=t[g];if(void 0!==e)switch(g){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[g]=!0===e||"true"===e||1===e;break;case"flip":"string"==typeof e&&mn(n,e);break;case"color":s.color=e;break;case"rotate":"string"==typeof e?n[g]=yn(e):"number"==typeof e&&(n[g]=e);break;case"ariaHidden":case"aria-hidden":!0!==e&&"true"!==e&&delete o["aria-hidden"];break;default:{const t=jn[g];t?!0!==e&&"true"!==e&&1!==e||(n[t]=!0):void 0===vn[g]&&(o[g]=e)}}}const a=function(e,t){const n={...kt,...e},o={...zt,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,o].forEach(e=>{const t=[],n=e.hFlip,o=e.vFlip;let r,c=e.rotate;switch(n?o?c+=2:(t.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),t.push("scale(-1 1)"),i.top=i.left=0):o&&(t.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),t.push("scale(1 -1)"),i.top=i.left=0),c<0&&(c-=4*Math.floor(c/4)),c%=4,c){case 1:r=i.height/2+i.top,t.unshift("rotate(90 "+r.toString()+" "+r.toString()+")");break;case 2:t.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:r=i.width/2+i.left,t.unshift("rotate(-90 "+r.toString()+" "+r.toString()+")")}c%2==1&&(i.left!==i.top&&(r=i.left,i.left=i.top,i.top=r),i.width!==i.height&&(r=i.width,i.width=i.height,i.height=r)),t.length&&(s=function(e,t,n){const o=function(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const i=e.indexOf(">",o),s=e.indexOf("</"+t);if(-1===i||-1===s)break;const r=e.indexOf(">",s);if(-1===r)break;n+=e.slice(i+1,s).trim(),e=e.slice(0,o).trim()+e.slice(r+1)}return{defs:n,content:e}}(e);return i=o.defs,s=t+o.content+n,i?"<defs>"+i+"</defs>"+s:s;var i,s}(s,'<g transform="'+t.join(" ")+'">',"</g>"))});const r=o.width,c=o.height,a=i.width,l=i.height;let u,f;null===r?(f=null===c?"1em":"auto"===c?l:c,u=Nt(f,a/l)):(u="auto"===r?a:r,f=null===c?Nt(u,l/a):"auto"===c?l:c);const p={},d=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(p[e]=t.toString())};d("width",u),d("height",f);const h=[i.left,i.top,a,l];return p.viewBox=h.join(" "),{attributes:p,viewBox:h,body:s}}(e,n),l=a.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),"svg"===i){o.style={...s,...c},Object.assign(o,l);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),o.innerHTML=function(e,t=Ut){const n=[];let o;for(;o=Dt.exec(e);)n.push(o[1]);if(!n.length)return e;const i="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach(n=>{const o="function"==typeof t?t(n):t+(Wt++).toString(),s=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+o+i+"$3")}),e=e.replace(new RegExp(i,"g"),"")}(a.body,n?()=>n+"ID"+e++:"iconifyVue"),g("svg",o)}const{body:u,width:f,height:p}=e,d="mask"===i||"bg"!==i&&-1!==u.indexOf("currentColor"),h=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(u,{...l,width:f+"",height:p+""});var m;return o.style={...s,"--svg":(m=h,'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(m)+'")'),width:Fn(l.width),height:Fn(l.height),...wn,...d?kn:Cn,...c},g("span",o)};var On;if(Ht(!0),On=Yt,Bt[""]=On,"undefined"!=typeof document&&"undefined"!=typeof window){const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach(e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!Tt(e))&&console.error(n)}catch(t){console.error(n)}})}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const o=t[e];if("object"!=typeof o||!o||void 0===o.resources)continue;Qt(e,o)||console.error(n)}catch(Zn){console.error(n)}}}}const Sn={...kt,body:""};l((e,{emit:t})=>{const n=u(null);function o(){n.value&&(n.value.abort?.(),n.value=null)}const i=u(!!e.ssr),s=u(""),r=f(null);function c(){const i=function(){const i=e.icon;if("object"==typeof i&&null!==i&&"string"==typeof i.body)return s.value="",{data:i};let r;if("string"!=typeof i||null===(r=yt(i,!1,!0)))return null;let a=Lt(r);if(!a){const e=n.value;return e&&e.name===i||(n.value=null===a?{name:i}:{name:i,abort:hn([r],c)}),null}o(),s.value!==i&&(s.value=i,m(()=>{t("load",i)}));const l=e.customise;if(l){a=Object.assign({},a);const e=l(a.body,r.name,r.prefix,r.provider);"string"==typeof e&&(a.body=e)}const u=["iconify"];return""!==r.prefix&&u.push("iconify--"+r.prefix),""!==r.provider&&u.push("iconify--"+r.provider),{data:a,classes:u}}();i?i.data!==r.value?.data&&(r.value=i):r.value=null}return i.value?c():p(()=>{i.value=!0,c()}),d(()=>e.icon,c),h(o),()=>{const t=r.value;if(!t)return $n(Sn,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(" ")}),$n({...kt,...t.data},n)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const En=(e,t)=>v(t)?y(t):t;function Mn(){if(b()){const e=w(Oe);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 An(e,t={}){const n=t.head||Mn();return n.ssr?n.push(e||{},t):Hn(n,e,t)}function Hn(e,t,n={}){const o=u(!1);let i;k(()=>{const s=o.value?{}:de(t,En);i?i.patch(s):i=e.push(s,n)});return C()&&(x(()=>{i.dispose()}),_(()=>{o.value=!0}),j(()=>{o.value=!1})),i}const Ln=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const Tn=Ln(l({__name:"App",setup(e,{expose:t}){t();const n=W(),o=F(()=>T.value.find(({id:e})=>e===n.name)),i=u(""),s=u(""),r=F(()=>o.value?.to&&`${window.location.origin}${"/"===o.value.to?"":o.value.to}`);d(o,async e=>{let t="/favicon.ico";if(e?.icon){const n=Lt(e.icon)?function(e){const t=Lt(e);return t?{...kt,...t}:t}(e.icon):await(e=>new Promise((t,n)=>{const o="string"==typeof e?yt(e,!0):e;o?hn([o||e],i=>{if(i.length&&o){const e=Lt(o);if(e)return void t({...kt,...e})}n(e)}):n(e)}))(e.icon);if(n){const{body:e,height:o,left:i,top:s,width:r}=n;t=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${i.toString()} ${s.toString()} ${r.toString()} ${o.toString()}">${e}</svg>`}}i.value=t}),[[i,"icon","icon"],[r,"canonical"]].map(([e,t,n])=>({href:e,key:n,rel:t})),F(()=>o.value?.description),F(()=>o.value?.keywords.join()),F(()=>o.value?.description),F(()=>o.value?.images.filter(({url:e})=>e).map(({alt:e="",url:t})=>({alt:e,url:`${window.location.origin}/${t}`}))??[]),F(()=>o.value?.title),F(()=>o.value?.type),F(()=>o.value?.title),d(()=>o.value?.jsonld,async e=>{s.value=JSON.stringify(await e)||'{"@context":"https://schema.org"}'});const c={route:n,a:o,favicon:i,jsonld:s,ogUrl:r,get pages(){return T}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}}),[["render",function(e,t,n,o,i,s){const r=$("router-view");return S(),O(r,null,{default:E(({Component:e})=>[(S(),O(M(e),{id:o.pages[0]?.id},null,8,["id"]))]),_:1})}],["__file","App.vue"]]);let Pn;const{pathname:zn}=new URL(document.baseURI),In=u(!0),Rn=new Map,Nn=B({history:V(zn),routes:[],scrollBehavior:(e,t,n)=>Pn?.(e,t,n)}),Dn=u(!0),Un=F(()=>"/"===Nn.currentRoute.value.path?P[Nn.currentRoute.value.name]?.$children[0]:P[Nn.currentRoute.value.name]),Wn=({id:e=z()})=>(Rn.set(e,(()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),reject:t,resolve:e}})()),A(async()=>q(`./pages/${e}.vue`))),Bn=({id:e}={})=>{e&&Rn.get(e)?.resolve(void 0)};Nn.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const Vn=H(Tn),qn={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};Vn.use(Ee());const Jn=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();I.push(t),await m(),T.value.forEach(({id:e,loc:t,path:o},i,s)=>{if(Object.defineProperties(s[i],{jsonld:qn}),void 0!==o){const i=t?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");Nn.addRoute({...i&&t?{alias:i}:{undefined:void 0},children:[{component:()=>n(()=>import("./PageView-B8Lr210_.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:e,path:""}],component:()=>n(()=>import("./RootView-B4872GQa.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:o.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),Nn.addRoute({component:()=>n(()=>import("./NotFoundView-Dju2CinQ.js"),__vite__mapDeps([4,2,1]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json");R.push(...await(e.ok?e:new Response("[]")).json()),gt.presets.push(c({customFetch:D,fonts:N(R)})),await a({defaults:gt,ready:async e=>{const{toggleObserver:t}=e;return(({extractAll:e,toggleObserver:t})=>{Pn=async({hash:n,name:o})=>{if(o){In.value=!0,t(!1);const[{promise:i}={}]=Rn.values();await i,await Promise.all([...Rn.values()].map(({promise:e})=>e)),await e(),t(!0);const s=Dn.value&&{behavior:"smooth",...n||Un.value?.parent?.flat&&Un.value.index?{el:n||`#${String(o)}`}:{left:0,top:0}};return In.value=!1,Dn.value=!0,s}return!1}})(e),await Jn,Vn.provide("pages",P),Vn.use(Nn),await Nn.isReady(),Vn.mount("#app"),t(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(U),console.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","1.1.57");export{Ln as _,In as a,Wn as m,Rn as p,Bn as r,Dn as s,Un as t,An as u};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-Dhz9UF_j.js","./shared-DxILmtcX.js","./unocss-DYVHIrEJ.js","./RootView-CJcxoAbO.js","./NotFoundView-YgXIab0Y.js"])))=>i.map(i=>d[i]);
2
+ import{d as e,w as t,_ as n,p as o,a as i,b as s,c as r,e as c,i as a}from"./unocss-DYVHIrEJ.js";import{defineComponent as l,ref as u,shallowRef as f,onMounted as p,watch as d,onUnmounted as h,h as g,nextTick as m,toValue as y,isRef as v,hasInjectionContext as b,inject as w,watchEffect as k,getCurrentInstance as C,onBeforeUnmount as x,onDeactivated as _,onActivated as j,computed as F,resolveComponent as $,createBlock as O,openBlock as S,withCtx as E,resolveDynamicComponent as M,defineAsyncComponent as A,createApp as H}from"vue";import{g as T,p as L,a as P,u as z,n as I,f as R,b as N,c as D,d as U}from"./shared-DxILmtcX.js";import{useRoute as W,createRouter as B,createWebHistory as V}from"vue-router";import q from"@vuebro/loader-sfc";function J(e,t={},n){for(const o in e){const i=e[o],s=n?`${n}:${o}`:o;"object"==typeof i&&null!==i?J(i,t,s):"function"==typeof i&&(t[s]=i)}return t}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const Z={run:e=>e()},G=void 0!==console.createTask?console.createTask:()=>Z;function Q(e,t){const n=t.shift(),o=G(n);return e.reduce((e,n)=>e.then(()=>o.run(()=>n(...t))),Promise.resolve())}function X(e,t){const n=t.shift(),o=G(n);return Promise.all(e.map(e=>o.run(()=>e(...t))))}function K(e,t){for(const n of[...e])n(t)}class Y{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(e,t,n={}){if(!e||"function"!=typeof t)return()=>{};const o=e;let i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||(e=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,o=(...e)=>("function"==typeof n&&n(),n=void 0,o=void 0,t(...e));return n=this.hook(e,o),n}removeHook(e,t){if(this._hooks[e]){const n=this._hooks[e].indexOf(t);-1!==n&&this._hooks[e].splice(n,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const n=this._hooks[e]||[];delete this._hooks[e];for(const o of n)this.hook(e,o)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=J(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(const e of n.splice(0,n.length))e()}}removeHooks(e){const t=J(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(Q,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(X,e,...t)}callHookWith(e,t,...n){const o=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&K(this._before,o);const i=e(t in this._hooks?[...this._hooks[t]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&K(this._after,o)}):(this._after&&o&&K(this._after,o),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const ee=new Set(["link","style","script","noscript"]),te=new Set(["title","titleTemplate","script","style","noscript"]),ne=new Set(["base","meta","link","style","script","noscript"]),oe=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ie=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),se=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),re=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ce=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),ae=["name","property","http-equiv"],le=new Set(["viewport","description","keywords","robots"]);function ue(e){const t=e.split(":");return!!t.length&&ce.has(t[1])}function fe(e){const{props:t,tag:n}=e;if(ie.has(n))return n;if("link"===n&&"canonical"===t.rel)return"canonical";if(t.charset)return"charset";if("meta"===e.tag)for(const o of ae)if(void 0!==t[o]){const i=t[o],s=i.includes(":"),r=le.has(i);return`${n}:${i}${!(s||r)&&e.key?`:key:${e.key}`:""}`}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(te.has(n)){const t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function pe(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(([e,t])=>`${e}:${String(t)}`).join(",")}`}function de(e,t,n){let o;if("function"===typeof e&&(n&&("titleTemplate"===n||"o"===n[0]&&"n"===n[1])||(e=e())),t&&(o=t(n,e)),Array.isArray(o))return o.map(e=>de(e,t));if(o?.constructor===Object){const e={};for(const n of Object.keys(o))e[n]=de(o[n],t,n);return e}return o}function he(e,t){return e.props=e.props||{},t?"templateParams"===e.tag?(e.props=t,e):(Object.entries(t).forEach(([n,o])=>{if(null===o)return void(e.props[n]=null);if("class"===n||"style"===n)return void(e.props[n]=function(e,t){const n="style"===e?new Map:new Set;function o(t){const o=t.trim();if(o)if("style"===e){const[e,...t]=o.split(":").map(e=>e.trim());e&&t.length&&n.set(e,t.join(":"))}else o.split(" ").filter(Boolean).forEach(e=>n.add(e))}return"string"==typeof t?"style"===e?t.split(";").forEach(o):o(t):Array.isArray(t)?t.forEach(e=>o(e)):t&&"object"==typeof t&&Object.entries(t).forEach(([t,i])=>{i&&"false"!==i&&("style"===e?n.set(t.trim(),i):o(t))}),n}(n,o));if(se.has(n)){if(["textContent","innerHTML"].includes(n)&&"object"==typeof o){let i=t.type;if(t.type||(i="application/json"),!i?.endsWith("json")&&"speculationrules"!==i)return;t.type=i,e.props.type=i,e[n]=JSON.stringify(o)}else e[n]=o;return}const i=String(o),s=n.startsWith("data-");"true"===i||""===i?e.props[n]=!s||i:!o&&s&&"false"===i?e.props[n]="false":void 0!==o&&(e.props[n]=o)}),e):e}function ge(e,t){const n=he({tag:e,props:{}},"object"==typeof t&&"function"!=typeof t?t:{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t});return n.key&&ee.has(n.tag)&&(n.props["data-hid"]=n._h=n.key),"script"===n.tag&&"object"==typeof n.innerHTML&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function me(e,t){if(!e)return[];"function"==typeof e&&(e=e());const n=(e,n)=>{for(let o=0;o<t.length;o++)n=t[o](e,n);return n};e=n(void 0,e);const o=[];return e=de(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(void 0!==t)for(const n of Array.isArray(t)?t:[t])o.push(ge(e,n))}),o.flat()}const ye=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,ve={base:-10,title:10},be={critical:-8,high:-1,low:2},we={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}},ke=/@import/,Ce=e=>""===e||!0===e;function xe(e,t){if("number"==typeof t.tagPriority)return t.tagPriority;let n=100;const o=be[t.tagPriority]||0,i=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:we;if(t.tag in ve)n=ve[t.tag];else if("meta"===t.tag){const e="content-security-policy"===t.props["http-equiv"]?"content-security-policy":t.props.charset?"charset":"viewport"===t.props.name?"viewport":null;e&&(n=we.meta[e])}else"link"===t.tag&&t.props.rel?n=i.link[t.props.rel]:"script"===t.tag?Ce(t.props.async)?n=i.script.async:!t.props.src||Ce(t.props.defer)||Ce(t.props.async)||"module"===t.props.type||t.props.type?.endsWith("json")?Ce(t.props.defer)&&t.props.src&&!Ce(t.props.async)&&(n=i.script.defer):n=i.script.sync:"style"===t.tag&&(n=t.innerHTML&&ke.test(t.innerHTML)?i.style.imported:i.style.sync);return(n||100)+o}function _e(e,t){const n="function"==typeof t?t(e):t,o=n.key||String(e.plugins.size+1);e.plugins.get(o)||(e.plugins.set(o,n),e.hooks.addHooks(n.hooks||{}))}function je(e={}){const t=new Y;t.addHooks(e.hooks||{});const n=!e.document,o=new Map,i=new Map,s=new Set,r={_entryCount:1,plugins:i,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:o,headEntries:()=>[...o.values()],use:e=>_e(r,e),push(e,i){const c={...i||{}};delete c.head;const a=c._index??r._entryCount++,l={_i:a,input:e,options:c},u={_poll(e=!1){r.dirty=!0,!e&&s.add(a),t.callHook("entries:updated",r)},dispose(){o.delete(a)&&r.invalidate()},patch(e){(!c.mode||"server"===c.mode&&n||"client"===c.mode&&!n)&&(l.input=e,o.set(a,l),u._poll())}};return u.patch(e),u},async resolveTags(){const n={tagMap:new Map,tags:[],entries:[...r.entries.values()]};for(await t.callHook("entries:resolve",n);s.size;){const n=s.values().next().value;s.delete(n);const i=o.get(n);if(i){const n={tags:me(i.input,e.propResolvers||[]).map(e=>Object.assign(e,i.options)),entry:i};await t.callHook("entries:normalize",n),i._tags=n.tags.map((e,t)=>(e._w=xe(r,e),e._p=(i._i<<10)+t,e._d=fe(e),e))}}let i=!1;n.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(ye).reduce((e,t)=>{const n=String(t._d||t._p);if(!e.has(n))return e.set(n,t);const o=e.get(n);if("merge"===(t?.tagDuplicateStrategy||(re.has(t.tag)?"merge":null)||(t.key&&t.key===o.key?"merge":null))){const i={...o.props};Object.entries(t.props).forEach(([e,t])=>i[e]="style"===e?new Map([...o.props.style||new Map,...t]):"class"===e?new Set([...o.props.class||new Set,...t]):t),e.set(n,{...t,props:i})}else t._p>>10==o._p>>10&&"meta"===t.tag&&ue(n)?(e.set(n,Object.assign([...Array.isArray(o)?o:[o],t],t)),i=!0):(t._w===o._w?t._p>o._p:t?._w<o?._w)&&e.set(n,t);return e},n.tagMap);const c=n.tagMap.get("title"),a=n.tagMap.get("titleTemplate");if(r._title=c?.textContent,a){const e=a?.textContent;if(r._titleTemplate=e,e){let t="function"==typeof e?e(c?.textContent):e;"string"!=typeof t||r.plugins.has("template-params")||(t=t.replace("%s",c?.textContent||"")),c?null===t?n.tagMap.delete("title"):n.tagMap.set("title",{...c,textContent:t}):(a.tag="title",a.textContent=t)}}n.tags=Array.from(n.tagMap.values()),i&&(n.tags=n.tags.flat().sort(ye)),await t.callHook("tags:beforeResolve",n),await t.callHook("tags:resolve",n),await t.callHook("tags:afterResolve",n);const l=[];for(const e of n.tags){const{innerHTML:t,tag:n,props:o}=e;if(oe.has(n)&&((0!==Object.keys(o).length||e.innerHTML||e.textContent)&&("meta"!==n||o.content||o["http-equiv"]||o.charset))){if("script"===n&&t){if(o.type?.endsWith("json")){const n="string"==typeof t?t:JSON.stringify(t);e.innerHTML=n.replace(/</g,"\\u003C")}else"string"==typeof t&&(e.innerHTML=t.replace(new RegExp(`</${n}`,"g"),`<\\/${n}`));e._d=fe(e)}l.push(e)}}return l},invalidate(){for(const e of o.values())s.add(e._i);r.dirty=!0,t.callHook("entries:updated",r)}};return(e?.plugins||[]).forEach(e=>_e(r,e)),r.hooks.callHook("init",r),e.init?.forEach(e=>e&&r.push(e)),r}async function Fe(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};return await e.hooks.callHook("dom:beforeRender",o),o.shouldRender?(e._domUpdatePromise||(e._domUpdatePromise=new Promise(async t=>{const o=new Map,i=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{const t=o.get(e._d)||0,n={tag:e,id:(t?`${e._d}:${t}`:e._d)||pe(e),shouldRender:!0};return e._d&&ue(e._d)&&o.set(e._d,t+1),n}))})});let s=e._dom;if(!s){s={title:n.title,elMap:(new Map).set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const e of["body","head"]){const t=n[e]?.children;for(const e of t){const t=e.tagName.toLowerCase();if(!ne.has(t))continue;const n=he({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,n)=>(t[n]=e.getAttribute(n),t),{})||{}});if(n.key=e.getAttribute("data-hid")||void 0,n._d=fe(n)||pe(n),s.elMap.has(n._d)){let t=1,o=n._d;for(;s.elMap.has(o);)o=`${n._d}:${t++}`;s.elMap.set(o,e)}else s.elMap.set(n._d,e)}}}function r(e,t,n){const o=`${e}:${t}`;s.sideEffects[o]=n,delete s.pendingSideEffects[o]}function c({id:e,$el:t,tag:o}){const i=o.tag.endsWith("Attrs");s.elMap.set(e,t),i||(o.textContent&&o.textContent!==t.textContent&&(t.textContent=o.textContent),o.innerHTML&&o.innerHTML!==t.innerHTML&&(t.innerHTML=o.innerHTML),r(e,"el",()=>{t?.remove(),s.elMap.delete(e)}));for(const s in o.props){if(!Object.prototype.hasOwnProperty.call(o.props,s))continue;const c=o.props[s];if(s.startsWith("on")&&"function"==typeof c){const e=t?.dataset;if(e&&e[`${s}fired`]){const e=s.slice(0,-5);c.call(t,new Event(e.substring(2)))}""!==t.getAttribute(`data-${s}`)&&(("bodyAttrs"===o.tag?n.defaultView:t).addEventListener(s.substring(2),c.bind(t)),t.setAttribute(`data-${s}`,""));continue}const a=`attr:${s}`;if("class"===s){if(!c)continue;for(const n of c)i&&r(e,`${a}:${n}`,()=>t.classList.remove(n)),!t.classList.contains(n)&&t.classList.add(n)}else if("style"===s){if(!c)continue;for(const[n,o]of c)r(e,`${a}:${n}`,()=>{t.style.removeProperty(n)}),t.style.setProperty(n,o)}else!1!==c&&null!==c&&(t.getAttribute(s)!==c&&t.setAttribute(s,!0===c?"":String(c)),i&&r(e,a,()=>t.removeAttribute(s)))}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};const a=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await i;for(const e of u){const{tag:t,shouldRender:o,id:i}=e;o&&("title"!==t.tag?(e.$el=e.$el||s.elMap.get(i),e.$el?c(e):ne.has(t.tag)&&a.push(e)):(n.title=t.textContent,r("title","",()=>n.title=s.title)))}for(const e of a){const t=e.tag.tagPosition||"head";e.$el=n.createElement(e.tag.tag),c(e),l[t]=l[t]||n.createDocumentFragment(),l[t].appendChild(e.$el)}for(const f of u)await e.hooks.callHook("dom:renderTag",f,n,r);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose);for(const e in s.pendingSideEffects)s.pendingSideEffects[e]();e._dom=s,await e.hooks.callHook("dom:rendered",{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise):void 0}function $e(e,t){let n=0;return()=>{const o=++n;t(()=>{n===o&&e()})}}const Oe="usehead";function Se(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Oe,e)}}.install}function Ee(e={}){const t=function(e={}){const t=e.domOptions?.render||Fe;e.document=e.document||("undefined"!=typeof window?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return je({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[!!n&&JSON.parse(n),...e.init||[]]})}({domOptions:{render:$e(()=>Fe(t),e=>setTimeout(e,0))},...e});return t.install=Se(t),t}const Me=Object.freeze({left:0,top:0,width:16,height:16}),Ae=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),He=Object.freeze({...Me,...Ae}),Te=Object.freeze({...He,body:"",hidden:!1}),Le=Object.freeze({width:null,height:null}),Pe=Object.freeze({...Le,...Ae});function ze(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}(e,t);for(const o in Te)o in Ae?o in e&&!(o in n)&&(n[o]=Ae[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function Ie(e,t,n){const o=e.icons,i=e.aliases||Object.create(null);let s={};function r(e){s=ze(o[e]||i[e],s)}return r(t),n.forEach(r),ze(e,s)}function Re(e,t){if(e.icons[t])return Ie(e,t,[]);const n=function(e,t){const n=e.icons,o=e.aliases||Object.create(null),i=Object.create(null);return(t||Object.keys(n).concat(Object.keys(o))).forEach(function e(t){if(n[t])return i[t]=[];if(!(t in i)){i[t]=null;const n=o[t]&&o[t].parent,s=n&&e(n);s&&(i[t]=[n].concat(s))}return i[t]}),i}(e,[t])[t];return n?Ie(e,t,n):null}const Ne=/(-?[0-9.]*[0-9]+[0-9.]*)/g,De=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ue(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const o=e.split(Ne);if(null===o||!o.length)return e;const i=[];let s=o.shift(),r=De.test(s);for(;;){if(r){const e=parseFloat(s);isNaN(e)?i.push(s):i.push(Math.ceil(e*t*n)/n)}else i.push(s);if(s=o.shift(),void 0===s)return i.join("");r=!r}}const We=e=>"unset"===e||"undefined"===e||"none"===e;function Be(e,t){const n={...He,...e},o={...Pe,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,o].forEach(e=>{const t=[],n=e.hFlip,o=e.vFlip;let r,c=e.rotate;switch(n?o?c+=2:(t.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),t.push("scale(-1 1)"),i.top=i.left=0):o&&(t.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),t.push("scale(1 -1)"),i.top=i.left=0),c<0&&(c-=4*Math.floor(c/4)),c%=4,c){case 1:r=i.height/2+i.top,t.unshift("rotate(90 "+r.toString()+" "+r.toString()+")");break;case 2:t.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:r=i.width/2+i.left,t.unshift("rotate(-90 "+r.toString()+" "+r.toString()+")")}c%2==1&&(i.left!==i.top&&(r=i.left,i.left=i.top,i.top=r),i.width!==i.height&&(r=i.width,i.width=i.height,i.height=r)),t.length&&(s=function(e,t,n){const o=function(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const i=e.indexOf(">",o),s=e.indexOf("</"+t);if(-1===i||-1===s)break;const r=e.indexOf(">",s);if(-1===r)break;n+=e.slice(i+1,s).trim(),e=e.slice(0,o).trim()+e.slice(r+1)}return{defs:n,content:e}}(e);return i=o.defs,s=t+o.content+n,i?"<defs>"+i+"</defs>"+s:s;var i,s}(s,'<g transform="'+t.join(" ")+'">',"</g>"))});const r=o.width,c=o.height,a=i.width,l=i.height;let u,f;null===r?(f=null===c?"1em":"auto"===c?l:c,u=Ue(f,a/l)):(u="auto"===r?a:r,f=null===c?Ue(u,l/a):"auto"===c?l:c);const p={},d=(e,t)=>{We(t)||(p[e]=t.toString())};d("width",u),d("height",f);const h=[i.left,i.top,a,l];return p.viewBox=h.join(" "),{attributes:p,viewBox:h,body:s}}function Ve(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" ')),function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(t)}const qe=/\swidth\s*=\s*["']([\w.]+)["']/,Je=/\sheight\s*=\s*["']([\w.]+)["']/,Ze=/<svg\s+/;async function Ge(e,t,n,o,i,s){const{scale:r,addXmlNs:c=!1}=o??{},{additionalProps:a={},iconCustomizer:l}=o?.customizations??{},u=await(i?.())??{};await(l?.(t,n,u)),Object.keys(a).forEach(e=>{const t=a[e];null!=t&&(u[e]=t)}),s?.(u);const[f,p]=function(e,t,n){const o=e.slice(0,e.indexOf(">")),i=(e,i)=>{const s=i.exec(o),r=null!=s,c=t[e];return c||We(c)||("number"==typeof n?n>0&&(t[e]=Ue(s?.[1]??"1em",n)):s&&(t[e]=s[1])),r};return[i("width",qe),i("height",Je)]}(e,u,r);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 d=Object.keys(u).map(e=>"width"===e&&f||"height"===e&&p?null:`${e}="${u[e]}"`).filter(e=>null!=e);if(d.length&&(e=e.replace(Ze,`<svg ${d.join(" ")} `)),o){const{defaultStyle:t,defaultClass:n}=o;n&&!e.includes("class=")&&(e=e.replace(Ze,`<svg class="${n}" `)),t&&!e.includes("style=")&&(e=e.replace(Ze,`<svg style="${t}" `))}const h=o?.usedProps;return h&&(Object.keys(a).forEach(e=>{const t=u[e];null!=t&&(h[e]=t)}),void 0!==u.width&&null!==u.width&&(h.width=u.width),void 0!==u.height&&null!==u.height&&(h.height=u.height)),e}var Qe,Xe,Ke,Ye,et,tt={exports:{}};function nt(){if(Xe)return Qe;Xe=1;var e=1e3,t=60*e,n=60*t,o=24*n,i=7*o,s=365.25*o;function r(e,t,n,o){var i=t>=1.5*n;return Math.round(e/n)+" "+o+(i?"s":"")}return Qe=function(c,a){a=a||{};var l=typeof c;if("string"===l&&c.length>0)return function(r){if((r=String(r)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(r);if(!c)return;var a=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"weeks":case"week":case"w":return a*i;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*n;case"minutes":case"minute":case"mins":case"min":case"m":return a*t;case"seconds":case"second":case"secs":case"sec":case"s":return a*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(c);if("number"===l&&isFinite(c))return a.long?function(i){var s=Math.abs(i);if(s>=o)return r(i,s,o,"day");if(s>=n)return r(i,s,n,"hour");if(s>=t)return r(i,s,t,"minute");if(s>=e)return r(i,s,e,"second");return i+" ms"}(c):function(i){var s=Math.abs(i);if(s>=o)return Math.round(i/o)+"d";if(s>=n)return Math.round(i/n)+"h";if(s>=t)return Math.round(i/t)+"m";if(s>=e)return Math.round(i/e)+"s";return i+"ms"}(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))}}const ot=T((et||(et=1,function(e,t){var n={};t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(o++,"%c"===e&&(i=o))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(o){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=n.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!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"],t.log=console.debug||console.log||(()=>{}),e.exports=(Ye?Ke:(Ye=1,Ke=function(e){function t(e){let o,i,s,r=null;function c(...e){if(!c.enabled)return;const n=c,i=Number(new Date),s=i-(o||i);n.diff=s,n.prev=o,n.curr=i,o=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(o,i)=>{if("%%"===o)return"%";r++;const s=t.formatters[i];if("function"==typeof s){const t=e[r];o=s.call(n,t),e.splice(r,1),r--}return o}),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=n,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{r=e}}),"function"==typeof t.init&&t.init(c),c}function n(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function o(e,t){let n=0,o=0,i=-1,s=0;for(;n<e.length;)if(o<t.length&&(t[o]===e[n]||"*"===t[o]))"*"===t[o]?(i=o,s=n,o++):(n++,o++);else{if(-1===i)return!1;o=i+1,s++,n=s}for(;o<t.length&&"*"===t[o];)o++;return o===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const o of n)"-"===o[0]?t.skips.push(o.slice(1)):t.names.push(o)},t.enabled=function(e){for(const n of t.skips)if(o(e,n))return!1;for(const n of t.names)if(o(e,n))return!0;return!1},t.humanize=nt(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}))(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}(tt,tt.exports)),tt.exports)),it=ot("@iconify-loader:custom");async function st(e,t,n,o){let i;it(`${t}:${n}`);try{if("function"==typeof e)i=await e(n);else{const t=e[n];i="function"==typeof t?await t():t}}catch(r){return void console.warn(`Failed to load custom icon "${n}" in "${t}":`,r)}if(i){const e=i.indexOf("<svg");e>0&&(i=i.slice(e));const{transform:r}=o?.customizations??{};return i="function"==typeof r?await r(i,t,n):i,i.startsWith("<svg")?await Ge(!0===o?.customizations?.trimCustomSvg?(s=i,s.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()):i,t,n,o,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),i)}var s}const rt=ot("@iconify-loader:icon");async function ct(e,t,n,o){let i;const{customize:s}=o?.customizations??{};for(const r of n)if(i=Re(e,r),i){rt(`${t}:${r}`);let e={...Pe};"function"==typeof s&&(i=Object.assign({},i),e=s(e,i,`${t}:${r}`)??e);const{attributes:{width:n,height:c,...a},body:l}=Be(i,e),u=o?.scale;return await Ge(`<svg >${l}</svg>`,t,r,o,()=>({...a}),e=>{const t=(t,n)=>{const o=e[t];let i;if(!We(o)){if(o)return;"number"==typeof u?u&&(i=Ue(n??"1em",u)):i=n}i?e[t]=i:delete e[t]};t("width",n),t("height",c)})}}const at=async(e,t,n)=>{const o=n?.customCollections?.[e];if(o){if("function"!=typeof o)return await st(o,e,t,n);{let s;try{s=await o(t)}catch(i){return void console.warn(`Failed to load custom icon "${t}" in "${e}":`,i)}if(s){if("string"==typeof s)return await st(()=>s,e,t,n);if("icons"in s){const o=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await ct(s,e,o,n)}}}}};var lt={};const ut=["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"];function ft(e,t,n=new Map){return async(o,i,s)=>{let r=await at(o,i,s);if(r)return r;const c=await function(o){if(ut.includes(o))return n.has(o)||n.set(o,e(`${t}@iconify-json/${o}/icons.json`)),n.get(o)}(o);if(c){const e=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];r=await ct(c,o,e,s)}return r}}async function pt(e,t,n={},o=[]){let i,s="",r="";const c=new Set([...ut,...o,...Object.keys(n.customCollections||{})]);if(e.includes(":")){if([s,r]=e.split(":"),!c.has(s))return;i=await t(s,r,n)}else{const o=e.split(/-/g);for(let e=3;e>=1&&(s=o.slice(0,e).join("-"),!c.has(s)||(r=o.slice(e).join("-"),i=await t(s,r,n),!i));e--);}if(i)return{collection:s,name:r,svg:i}}const dt=(ht=async e=>{const t=e?.customFetch,o=e?.cdn;return t&&o?ft(t,o):o?await async function(e){const{$fetch:t}=await n(async()=>{const{$fetch:e}=await import("./unocss-DYVHIrEJ.js").then(e=>e.f);return{$fetch:e}},[],import.meta.url);return ft(t,e)}(o):at},e((e={})=>{const{scale:n=1,mode:o="auto",prefix:i="i-",warn:s=!1,iconifyCollectionsNames:r,collections:c,extraProperties:a={},customizations:l={},autoInstall:u=!1,collectionsNodeResolvePath:f,layer:p="icons",unit:d,processor:h}=e,g=function(){const e="undefined"!=typeof process&&process.stdout;return{isNode:e,isVSCode:e&&!!lt.VSCODE_CWD,isESLint:e&&!!lt.ESLINT}}(),m={addXmlNs:!0,scale:n,customCollections:c,autoInstall:u,cwd:f,warn:void 0,customizations:{...l,additionalProps:{...a},trimCustomSvg:!0,async iconCustomizer(e,t,o){await(l.iconCustomizer?.(e,t,o)),d&&(o.width||(o.width=`${n}${d}`),o.height||(o.height=`${n}${d}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},api:{encodeSvgForCss:Ve,parseIconWithLoader:pt},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async n=>{let[i,c,a=o]=n;y=y||await ht(e);const l={},u=await pt(c,y,{...m,usedProps:l},r);if(!u)return void(s&&!g.isESLint&&t(`failed to load icon "${i}"`));let f;const p=`url("data:image/svg+xml;utf8,${Ve(u.svg)}")`;return"auto"===a&&(a=u.svg.includes("currentColor")?"mask":"bg"),f="mask"===a?{"--un-icon":p,"-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",...l}:{background:`${p} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...l},h?.(f,{...u,icon:u.name,mode:a}),f},{layer:p,prefix:i}]]}}));var ht;const gt={presets:[o({preflights:{reset:!0}}),i(),dt({cdn:"https://cdn.jsdelivr.net/npm/"}),s(),r()]},mt=/^[a-z0-9]+(-[a-z0-9]+)*$/,yt=(e,t,n,o="")=>{const i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;o=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const e=i.pop(),n=i.pop(),s={provider:i.length>0?i[0]:o,prefix:n,name:e};return t&&!vt(s)?null:s}const s=i[0],r=s.split("-");if(r.length>1){const e={provider:o,prefix:r.shift(),name:r.join("-")};return t&&!vt(e)?null:e}if(n&&""===o){const e={provider:o,prefix:"",name:s};return t&&!vt(e,n)?null:e}return null},vt=(e,t)=>!!e&&!(!(t&&""===e.prefix||e.prefix)||!e.name),bt=Object.freeze({left:0,top:0,width:16,height:16}),wt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),kt=Object.freeze({...bt,...wt}),Ct=Object.freeze({...kt,body:"",hidden:!1});function xt(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}(e,t);for(const o in Ct)o in wt?o in e&&!(o in n)&&(n[o]=wt[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function _t(e,t,n){const o=e.icons,i=e.aliases||Object.create(null);let s={};function r(e){s=xt(o[e]||i[e],s)}return r(t),n.forEach(r),xt(e,s)}function jt(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});const o=function(e){const t=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);return Object.keys(t).concat(Object.keys(n)).forEach(function e(i){if(t[i])return o[i]=[];if(!(i in o)){o[i]=null;const t=n[i]&&n[i].parent,s=t&&e(t);s&&(o[i]=[t].concat(s))}return o[i]}),o}(e);for(const i in o){const s=o[i];s&&(t(i,_t(e,i,s)),n.push(i))}return n}const Ft={provider:"",aliases:{},not_found:{},...bt};function $t(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Ot(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons)return null;if(!$t(e,Ft))return null;const n=t.icons;for(const i in n){const e=n[i];if(!i||"string"!=typeof e.body||!$t(e,Ct))return null}const o=t.aliases||Object.create(null);for(const i in o){const e=o[i],t=e.parent;if(!i||"string"!=typeof t||!n[t]&&!o[t]||!$t(e,Ct))return null}return t}const St=Object.create(null);function Et(e,t){const n=St[e]||(St[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function Mt(e,t){return Ot(t)?jt(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}let At=!1;function Ht(e){return"boolean"==typeof e&&(At=e),At}function Tt(e){const t="string"==typeof e?yt(e,!0,At):e;if(t){const e=Et(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function Lt(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),At&&!t&&!e.prefix){let t=!1;return Ot(e)&&(e.prefix="",jt(e,(e,n)=>{(function(e,t){const n=yt(e,!0,At);if(!n)return!1;const o=Et(n.provider,n.prefix);return t?function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch(o){}return!1}(o,n.name,t):(o.missing.add(n.name),!0)})(e,n)&&(t=!0)})),t}const n=e.prefix;if(!vt({prefix:n,name:"a"}))return!1;return!!Mt(Et(t,n),e)}const Pt=Object.freeze({width:null,height:null}),zt=Object.freeze({...Pt,...wt}),It=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Rt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Nt(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const o=e.split(It);if(null===o||!o.length)return e;const i=[];let s=o.shift(),r=Rt.test(s);for(;;){if(r){const e=parseFloat(s);isNaN(e)?i.push(s):i.push(Math.ceil(e*t*n)/n)}else i.push(s);if(s=o.shift(),void 0===s)return i.join("");r=!r}}const Dt=/\sid="(\S+)"/g,Ut="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let Wt=0;const Bt=Object.create(null);function Vt(e){return Bt[e]||Bt[""]}function qt(e){let t;if("string"==typeof e.resources)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:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const Jt=Object.create(null),Zt=["https://api.simplesvg.com","https://api.unisvg.com"],Gt=[];for(;Zt.length>0;)1===Zt.length||Math.random()>.5?Gt.push(Zt.shift()):Gt.push(Zt.pop());function Qt(e,t){const n=qt(t);return null!==n&&(Jt[e]=n,!0)}function Xt(e){return Jt[e]}Jt[""]=qt({resources:["https://api.iconify.design"].concat(Gt)});let Kt=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(t){}})();const Yt={prepare:(e,t,n)=>{const o=[],i=function(e,t){const n=Xt(e);if(!n)return 0;let o;if(n.maxURL){let e=0;n.resources.forEach(t=>{const n=t;e=Math.max(e,n.length)});const i=t+".json?icons=";o=n.maxURL-e-n.path.length-i.length}else o=0;return o}(e,t),s="icons";let r={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((n,a)=>{c+=n.length+1,c>=i&&a>0&&(o.push(r),r={type:s,provider:e,prefix:t,icons:[]},c=n.length),r.icons.push(n)}),o.push(r),o},send:(e,t,n)=>{if(!Kt)return void n("abort",424);let o=function(e){if("string"==typeof e){const t=Xt(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");o+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;o+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let i=503;Kt(e+o).then(e=>{const t=e.status;if(200===t)return i=501,e.json();setTimeout(()=>{n(function(e){return 404===e}(t)?"abort":"next",t)})}).then(e=>{"object"==typeof e&&null!==e?setTimeout(()=>{n("success",e)}):setTimeout(()=>{404===e?n("abort",e):n("next",i)})}).catch(()=>{n("next",i)})}};function en(e,t){e.forEach(e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}let tn=0;var nn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function on(e,t,n,o){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let r;if(e.random){let t=e.resources.slice(0);for(r=[];t.length>1;){const e=Math.floor(Math.random()*t.length);r.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}r=r.concat(t)}else r=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let a,l="pending",u=0,f=null,p=[],d=[];function h(){f&&(clearTimeout(f),f=null)}function g(){"pending"===l&&(l="aborted"),h(),p.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),p=[]}function m(e,t){t&&(d=[]),"function"==typeof e&&d.push(e)}function y(){l="failed",d.forEach(e=>{e(void 0,a)})}function v(){p.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),p=[]}function b(){if("pending"!==l)return;h();const o=r.shift();if(void 0===o)return p.length?void(f=setTimeout(()=>{h(),"pending"===l&&(v(),y())},e.timeout)):void y();const i={status:"pending",resource:o,callback:(t,n)=>{!function(t,n,o){const i="success"!==n;switch(p=p.filter(e=>e!==t),l){case"pending":break;case"failed":if(i||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return a=o,void y();if(i)return a=o,void(p.length||(r.length?b():y()));if(h(),v(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}l="completed",d.forEach(e=>{e(o)})}(i,t,n)}};p.push(i),u++,f=setTimeout(b,e.rotate),n(o,t,i.callback)}return"function"==typeof o&&d.push(o),setTimeout(b),function(){return{startTime:c,payload:t,status:l,queriesSent:u,queriesPending:p.length,subscribe:m,abort:g}}}function sn(e){const t={...nn,...e};let n=[];function o(){n=n.filter(e=>"pending"===e().status)}return{query:function(e,i,s){const r=on(t,e,i,(e,t)=>{o(),s&&s(e,t)});return n.push(r),r},find:function(e){return n.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:o}}function rn(){}const cn=Object.create(null);function an(e,t,n){let o,i;if("string"==typeof e){const t=Vt(e);if(!t)return n(void 0,424),rn;i=t.send;const s=function(e){if(!cn[e]){const t=Xt(e);if(!t)return;const n={config:t,redundancy:sn(t)};cn[e]=n}return cn[e]}(e);s&&(o=s.redundancy)}else{const t=qt(e);if(t){o=sn(t);const n=Vt(e.resources?e.resources[0]:"");n&&(i=n.send)}}return o&&i?o.query(t,i,n)().abort:(n(void 0,424),rn)}function ln(){}function un(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,function(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 o=e.provider,i=e.prefix;t.forEach(t=>{const s=t.icons,r=s.pending.length;s.pending=s.pending.filter(t=>{if(t.prefix!==i)return!0;const r=t.name;if(e.icons[r])s.loaded.push({provider:o,prefix:i,name:r});else{if(!e.missing.has(r))return n=!0,!0;s.missing.push({provider:o,prefix:i,name:r})}return!1}),s.pending.length!==r&&(n||en([e],t.id),t.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),t.abort))})}))}(e)}))}function fn(e,t,n){function o(){const n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&"object"==typeof n)try{if(!Mt(e,n).length)return void o()}catch(i){console.error(i)}o(),un(e)}function pn(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function dn(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:t,prefix:n}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i))return void pn(e.loadIcons(o,n,t),t=>{fn(e,o,t)});if(i)return void o.forEach(o=>{pn(i(o,n,t),t=>{fn(e,[o],t?{prefix:n,icons:{[o]:t}}:null)})});const{valid:s,invalid:r}=function(e){const t=[],n=[];return e.forEach(e=>{(e.match(mt)?t:n).push(e)}),{valid:t,invalid:n}}(o);if(r.length&&fn(e,r,null),!s.length)return;const c=n.match(mt)?Vt(t):null;if(!c)return void fn(e,s,null);c.prepare(t,n,s).forEach(n=>{an(t,n,t=>{fn(e,n.icons,t)})})}))}const hn=(e,t)=>{const n=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name));let o={provider:"",prefix:"",name:""};return e.forEach(e=>{if(o.name===e.name&&o.prefix===e.prefix&&o.provider===e.provider)return;o=e;const i=e.provider,s=e.prefix,r=e.name,c=n[i]||(n[i]=Object.create(null)),a=c[s]||(c[s]=Et(i,s));let l;l=r in a.icons?t.loaded:""===s||a.missing.has(r)?t.missing:t.pending;const u={provider:i,prefix:s,name:r};l.push(u)}),t}(function(e,t=!0,n=!1){const o=[];return e.forEach(e=>{const i="string"==typeof e?yt(e,t,n):e;i&&o.push(i)}),o}(e,!0,Ht()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,ln)}),()=>{e=!1}}const o=Object.create(null),i=[];let s,r;return n.pending.forEach(e=>{const{provider:t,prefix:n}=e;if(n===r&&t===s)return;s=t,r=n,i.push(Et(t,n));const c=o[t]||(o[t]=Object.create(null));c[n]||(c[n]=[])}),n.pending.forEach(e=>{const{provider:t,prefix:n,name:i}=e,s=Et(t,n),r=s.pendingIcons||(s.pendingIcons=new Set);r.has(i)||(r.add(i),o[t][n].push(i))}),i.forEach(e=>{const t=o[e.provider][e.prefix];t.length&&dn(e,t)}),t?function(e,t,n){const o=tn++,i=en.bind(null,n,o);if(!t.pending.length)return i;const s={id:o,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(s)}),i}(t,n,i):ln};const gn=/[\s,]+/;function mn(e,t){t.split(gn).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}function yn(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:o(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?o(i):0)}}return t}const vn={...zt,inline:!1},bn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},wn={display:"inline-block"},kn={backgroundColor:"currentColor"},Cn={backgroundColor:"transparent"},xn={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},_n={webkitMask:kn,mask:kn,background:Cn};for(const Gn in _n){const e=_n[Gn];for(const t in xn)e[Gn+t]=xn[t]}const jn={};function Fn(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";jn[e+"-flip"]=t,jn[e.slice(0,1)+"-flip"]=t,jn[e+"Flip"]=t});const $n=(e,t)=>{const n=function(e,t){const n={...e};for(const o in t){const e=t[o],i=typeof e;o in Pt?(null===e||e&&("string"===i||"number"===i))&&(n[o]=e):i===typeof n[o]&&(n[o]="rotate"===o?e%4:e)}return n}(vn,t),o={...bn},i=t.mode||"svg",s={},r=t.style,c="object"!=typeof r||r instanceof Array?{}:r;for(let g in t){const e=t[g];if(void 0!==e)switch(g){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[g]=!0===e||"true"===e||1===e;break;case"flip":"string"==typeof e&&mn(n,e);break;case"color":s.color=e;break;case"rotate":"string"==typeof e?n[g]=yn(e):"number"==typeof e&&(n[g]=e);break;case"ariaHidden":case"aria-hidden":!0!==e&&"true"!==e&&delete o["aria-hidden"];break;default:{const t=jn[g];t?!0!==e&&"true"!==e&&1!==e||(n[t]=!0):void 0===vn[g]&&(o[g]=e)}}}const a=function(e,t){const n={...kt,...e},o={...zt,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,o].forEach(e=>{const t=[],n=e.hFlip,o=e.vFlip;let r,c=e.rotate;switch(n?o?c+=2:(t.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),t.push("scale(-1 1)"),i.top=i.left=0):o&&(t.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),t.push("scale(1 -1)"),i.top=i.left=0),c<0&&(c-=4*Math.floor(c/4)),c%=4,c){case 1:r=i.height/2+i.top,t.unshift("rotate(90 "+r.toString()+" "+r.toString()+")");break;case 2:t.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:r=i.width/2+i.left,t.unshift("rotate(-90 "+r.toString()+" "+r.toString()+")")}c%2==1&&(i.left!==i.top&&(r=i.left,i.left=i.top,i.top=r),i.width!==i.height&&(r=i.width,i.width=i.height,i.height=r)),t.length&&(s=function(e,t,n){const o=function(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const i=e.indexOf(">",o),s=e.indexOf("</"+t);if(-1===i||-1===s)break;const r=e.indexOf(">",s);if(-1===r)break;n+=e.slice(i+1,s).trim(),e=e.slice(0,o).trim()+e.slice(r+1)}return{defs:n,content:e}}(e);return i=o.defs,s=t+o.content+n,i?"<defs>"+i+"</defs>"+s:s;var i,s}(s,'<g transform="'+t.join(" ")+'">',"</g>"))});const r=o.width,c=o.height,a=i.width,l=i.height;let u,f;null===r?(f=null===c?"1em":"auto"===c?l:c,u=Nt(f,a/l)):(u="auto"===r?a:r,f=null===c?Nt(u,l/a):"auto"===c?l:c);const p={},d=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(p[e]=t.toString())};d("width",u),d("height",f);const h=[i.left,i.top,a,l];return p.viewBox=h.join(" "),{attributes:p,viewBox:h,body:s}}(e,n),l=a.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),"svg"===i){o.style={...s,...c},Object.assign(o,l);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),o.innerHTML=function(e,t=Ut){const n=[];let o;for(;o=Dt.exec(e);)n.push(o[1]);if(!n.length)return e;const i="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach(n=>{const o="function"==typeof t?t(n):t+(Wt++).toString(),s=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+o+i+"$3")}),e=e.replace(new RegExp(i,"g"),"")}(a.body,n?()=>n+"ID"+e++:"iconifyVue"),g("svg",o)}const{body:u,width:f,height:p}=e,d="mask"===i||"bg"!==i&&-1!==u.indexOf("currentColor"),h=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(u,{...l,width:f+"",height:p+""});var m;return o.style={...s,"--svg":(m=h,'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(m)+'")'),width:Fn(l.width),height:Fn(l.height),...wn,...d?kn:Cn,...c},g("span",o)};var On;if(Ht(!0),On=Yt,Bt[""]=On,"undefined"!=typeof document&&"undefined"!=typeof window){const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach(e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!Lt(e))&&console.error(n)}catch(t){console.error(n)}})}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const o=t[e];if("object"!=typeof o||!o||void 0===o.resources)continue;Qt(e,o)||console.error(n)}catch(Zn){console.error(n)}}}}const Sn={...kt,body:""};l((e,{emit:t})=>{const n=u(null);function o(){n.value&&(n.value.abort?.(),n.value=null)}const i=u(!!e.ssr),s=u(""),r=f(null);function c(){const i=function(){const i=e.icon;if("object"==typeof i&&null!==i&&"string"==typeof i.body)return s.value="",{data:i};let r;if("string"!=typeof i||null===(r=yt(i,!1,!0)))return null;let a=Tt(r);if(!a){const e=n.value;return e&&e.name===i||(n.value=null===a?{name:i}:{name:i,abort:hn([r],c)}),null}o(),s.value!==i&&(s.value=i,m(()=>{t("load",i)}));const l=e.customise;if(l){a=Object.assign({},a);const e=l(a.body,r.name,r.prefix,r.provider);"string"==typeof e&&(a.body=e)}const u=["iconify"];return""!==r.prefix&&u.push("iconify--"+r.prefix),""!==r.provider&&u.push("iconify--"+r.provider),{data:a,classes:u}}();i?i.data!==r.value?.data&&(r.value=i):r.value=null}return i.value?c():p(()=>{i.value=!0,c()}),d(()=>e.icon,c),h(o),()=>{const t=r.value;if(!t)return $n(Sn,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(" ")}),$n({...kt,...t.data},n)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const En=(e,t)=>v(t)?y(t):t;function Mn(){if(b()){const e=w(Oe);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 An(e,t={}){const n=t.head||Mn();return n.ssr?n.push(e||{},t):Hn(n,e,t)}function Hn(e,t,n={}){const o=u(!1);let i;k(()=>{const s=o.value?{}:de(t,En);i?i.patch(s):i=e.push(s,n)});return C()&&(x(()=>{i.dispose()}),_(()=>{o.value=!0}),j(()=>{o.value=!1})),i}const Tn=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const Ln=Tn(l({__name:"App",setup(e,{expose:t}){t();const n=W(),o=F(()=>L.value.find(({id:e})=>e===n.name)),i=u(""),s=u(""),r=F(()=>o.value?.to&&`${window.location.origin}${"/"===o.value.to?"":o.value.to}`);d(o,async e=>{let t="/favicon.ico";if(e?.icon){const n=Tt(e.icon)?function(e){const t=Tt(e);return t?{...kt,...t}:t}(e.icon):await(e=>new Promise((t,n)=>{const o="string"==typeof e?yt(e,!0):e;o?hn([o||e],i=>{if(i.length&&o){const e=Tt(o);if(e)return void t({...kt,...e})}n(e)}):n(e)}))(e.icon);if(n){const{body:e,height:o,left:i,top:s,width:r}=n;t=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${i.toString()} ${s.toString()} ${r.toString()} ${o.toString()}">${e}</svg>`}}i.value=t}),[[i,"icon","icon"],[r,"canonical"]].map(([e,t,n])=>({href:e,key:n,rel:t})),F(()=>o.value?.description),F(()=>o.value?.keywords.join()),F(()=>o.value?.description),F(()=>o.value?.images.filter(({url:e})=>e).map(({alt:e="",url:t})=>({alt:e,url:`${window.location.origin}/${t}`}))??[]),F(()=>o.value?.title),F(()=>o.value?.type),F(()=>o.value?.title),d(()=>o.value?.jsonld,async e=>{s.value=JSON.stringify(await e)||'{"@context":"https://schema.org"}'});const c={route:n,a:o,favicon:i,jsonld:s,ogUrl:r,get pages(){return L}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}}),[["render",function(e,t,n,o,i,s){const r=$("router-view");return S(),O(r,null,{default:E(({Component:e})=>[(S(),O(M(e),{id:o.pages[0]?.id},null,8,["id"]))]),_:1})}],["__file","App.vue"]]);let Pn;const{pathname:zn}=new URL(document.baseURI),In=u(!0),Rn=new Map,Nn=B({history:V(zn),routes:[],scrollBehavior:(e,t,n)=>Pn?.(e,t,n)}),Dn=u(!0),Un=F(()=>"/"===Nn.currentRoute.value.path?P[Nn.currentRoute.value.name]?.$children[0]:P[Nn.currentRoute.value.name]),Wn=({id:e=z()})=>(Rn.set(e,(()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),reject:t,resolve:e}})()),A(async()=>q(`./pages/${e}.vue`,{script:{inlineTemplate:!0}}))),Bn=({id:e}={})=>{e&&Rn.get(e)?.resolve(void 0)};Nn.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const Vn=H(Ln),qn={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};Vn.use(Ee());const Jn=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();I.push(t),await m(),L.value.forEach(({id:e,loc:t,path:o},i,s)=>{if(Object.defineProperties(s[i],{jsonld:qn}),void 0!==o){const i=t?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");Nn.addRoute({...i&&t?{alias:i}:{undefined:void 0},children:[{component:()=>n(()=>import("./PageView-Dhz9UF_j.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:e,path:""}],component:()=>n(()=>import("./RootView-CJcxoAbO.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:o.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),Nn.addRoute({component:()=>n(()=>import("./NotFoundView-YgXIab0Y.js"),__vite__mapDeps([4,2,1]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json");R.push(...await(e.ok?e:new Response("[]")).json()),gt.presets.push(c({customFetch:D,fonts:N(R)})),await a({defaults:gt,ready:async e=>{const{toggleObserver:t}=e;return(({extractAll:e,toggleObserver:t})=>{Pn=async({hash:n,name:o})=>{if(o){In.value=!0,t(!1);const[{promise:i}={}]=Rn.values();await i,await Promise.all([...Rn.values()].map(({promise:e})=>e)),await e(),t(!0);const s=Dn.value&&{behavior:"smooth",...n||Un.value?.parent?.flat&&Un.value.index?{el:n||`#${String(o)}`}:{left:0,top:0}};return In.value=!1,Dn.value=!0,s}return!1}})(e),await Jn,Vn.provide("pages",P),Vn.use(Nn),await Nn.isReady(),Vn.mount("#app"),t(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(U),console.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","1.1.59");export{Tn as _,In as a,Wn as m,Rn as p,Bn as r,Dn as s,Un as t,An as u};