@vuebro/runtime 1.1.63 → 1.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +1 -1
- package/dist/assets/{NotFoundView-C7FQK7qb.js → NotFoundView-JMnb12L9.js} +1 -1
- package/dist/assets/PageView-C95OGfvv.js +1 -0
- package/dist/assets/{RootView-1qHwoiT_.js → RootView-tAj5_HOt.js} +1 -1
- package/dist/assets/index-BBpH3mOy.js +2 -0
- package/dist/assets/{loader-sfc.esm-browser.prod-2.3.1.js → loader-sfc.esm-browser.prod-2.3.3.js} +241 -244
- package/dist/assets/shared-aEZiy6lt.js +7 -0
- package/dist/assets/{unocss-DYVHIrEJ.js → unocss-Bk83BPCg.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +12 -12
- package/dist/assets/PageView-BA0qWchd.js +0 -1
- package/dist/assets/index-P3q3_Kri.js +0 -2
- package/dist/assets/shared-DhwEXnCI.js +0 -7
package/dist/index.html
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
<base href="" />
|
|
7
7
|
<link rel="preload" crossorigin href="./index.json" as="fetch" />
|
|
8
8
|
<link rel="preload" crossorigin href="./fonts.json" as="fetch" />
|
|
9
|
-
<script type="module" crossorigin src="./assets/index-
|
|
10
|
-
<link rel="modulepreload" crossorigin href="./assets/unocss-
|
|
11
|
-
<link rel="modulepreload" crossorigin href="./assets/shared-
|
|
9
|
+
<script type="module" crossorigin src="./assets/index-BBpH3mOy.js"></script>
|
|
10
|
+
<link rel="modulepreload" crossorigin href="./assets/unocss-Bk83BPCg.js">
|
|
11
|
+
<link rel="modulepreload" crossorigin href="./assets/shared-aEZiy6lt.js">
|
|
12
12
|
<link rel="stylesheet" crossorigin href="./assets/index-vGiKZPT9.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuebro/runtime",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.65",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "eslint .",
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@iconify/vue": "^5.0.0",
|
|
12
12
|
"@unhead/vue": "^2.0.19",
|
|
13
|
-
"@unocss/core": "^66.5.
|
|
14
|
-
"@unocss/preset-attributify": "^66.5.
|
|
15
|
-
"@unocss/preset-icons": "^66.5.
|
|
16
|
-
"@unocss/preset-tagify": "^66.5.
|
|
17
|
-
"@unocss/preset-typography": "^66.5.
|
|
18
|
-
"@unocss/preset-web-fonts": "^66.5.
|
|
19
|
-
"@unocss/preset-wind4": "^66.5.
|
|
20
|
-
"@unocss/runtime": "^66.5.
|
|
21
|
-
"@vuebro/loader-sfc": "^2.3.
|
|
22
|
-
"@vuebro/shared": "^1.1.
|
|
13
|
+
"@unocss/core": "^66.5.3",
|
|
14
|
+
"@unocss/preset-attributify": "^66.5.3",
|
|
15
|
+
"@unocss/preset-icons": "^66.5.3",
|
|
16
|
+
"@unocss/preset-tagify": "^66.5.3",
|
|
17
|
+
"@unocss/preset-typography": "^66.5.3",
|
|
18
|
+
"@unocss/preset-web-fonts": "^66.5.3",
|
|
19
|
+
"@unocss/preset-wind4": "^66.5.3",
|
|
20
|
+
"@unocss/runtime": "^66.5.3",
|
|
21
|
+
"@vuebro/loader-sfc": "^2.3.3",
|
|
22
|
+
"@vuebro/shared": "^1.1.31",
|
|
23
23
|
"@vueuse/core": "^13.9.0",
|
|
24
24
|
"consola": "^3.4.2",
|
|
25
25
|
"globals": "^16.4.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@eslint/eslintrc": "^3.3.1",
|
|
31
31
|
"@eslint/js": "^9.37.0",
|
|
32
|
-
"@types/node": "^24.7.
|
|
32
|
+
"@types/node": "^24.7.2",
|
|
33
33
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
34
34
|
"eslint": "^9.37.0",
|
|
35
35
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{defineComponent as e,ref as t,computed as r,watch as s,onUnmounted as a,createElementBlock as o,openBlock as i,Fragment as n,renderList as l,normalizeClass as u,createBlock as d,resolveDynamicComponent as c}from"vue";import{u as p,d as v,e as f,p as m}from"./shared-DhwEXnCI.js";import{t as h,p as g,m as b,r as w,a as _,s as M,c as j,_ as S}from"./index-P3q3_Kri.js";import{useRoute as V,useRouter as x}from"vue-router";import"./unocss-DYVHIrEJ.js";import"@vuebro/loader-sfc";const E=["id","role"];const P=S(e({__name:"PageView",setup(e,{expose:o}){o();const i=t([]),n=V(),l=x(),u=r(()=>h.value?.siblings??[]),d=[],c=r(()=>u.value.filter(({enabled:e})=>e)),S=()=>{d.forEach(e=>{e()}),d.length=0},E=r(()=>void 0===h.value||h.value.parent?.flat?c.value:[h.value]),P=r(()=>new Map(E.value.map(({id:e=p()})=>[e,!1]))),$=t(new Map(P.value)),k=r(()=>{const[[e,t]=[]]=g;return g.clear(),e&&t&&g.set(e,t),Object.fromEntries(E.value.map(e=>[e.id,b(e)]))});s(i,e=>{S(),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(!_.value){const{scrollX:e,scrollY:t}=window,[r]=E.value,[s]=m.value;if(s&&r){const{$children:[{id:a}={}]=[]}=s,o=Math.floor(e)||Math.floor(t)||r.id!==a?[...P.value.entries()].find(([,e])=>e)?.[0]??[...$.value.entries()].find(([,e])=>e)?.[0]??r.id:s.id;o!==n.name&&(M.value=!1,l.push({name:o}).catch(j.error))}}}}),a(S);const y={refs:i,route:n,router:l,siblings:u,stops:d,$siblings:c,clearStops:S,these:E,intersecting:P,$intersecting:$,templates:k,get uid(){return p},get resolve(){return w},get that(){return h}};return Object.defineProperty(y,"__isScriptSetup",{enumerable:!1,value:!0}),y}}),[["render",function(e,t,r,s,a,p){return i(!0),o(n,null,l(s.these,e=>(i(),o("div",{id:e.id??s.uid(),key:e.id??s.uid(),ref_for:!0,ref:"refs",class:u(e.class),role:e.id===s.that?.id?"main":"section","un-cloak":""},[(i(),d(c(s.templates[e.id]),{pid:e.id,onVnodeMounted:t=>s.resolve(e)},null,8,["pid","onVnodeMounted"]))],10,E))),128)}],["__file","PageView.vue"]]);export{P as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-BA0qWchd.js","./shared-DhwEXnCI.js","./unocss-DYVHIrEJ.js","./RootView-1qHwoiT_.js","./NotFoundView-C7FQK7qb.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{d as e,w as t,_ as o,p as n,a as r,b as s,c as i,e as a,i as c}from"./unocss-DYVHIrEJ.js";import{toValue as l,isRef as u,hasInjectionContext as p,inject as f,ref as d,watchEffect as h,getCurrentInstance as g,onBeforeUnmount as m,onDeactivated as y,onActivated as v,defineComponent as b,shallowRef as w,onMounted as k,watch as _,onUnmounted as C,h as x,nextTick as j,computed as $,resolveComponent as F,createBlock as O,openBlock as S,withCtx as E,resolveDynamicComponent as M,defineAsyncComponent as L,createApp as T}from"vue";import{g as A,p as P,a as H,u as I,n as z,f as R,b as N,c as U}from"./shared-DhwEXnCI.js";import{useRoute as D,createRouter as V,createWebHistory as q}from"vue-router";import W from"@vuebro/loader-sfc";function B(e,t={},o){for(const n in e){const r=e[n],s=o?`${o}:${n}`:n;"object"==typeof r&&null!==r?B(r,t,s):"function"==typeof r&&(t[s]=r)}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 o of e)if("childList"===o.type)for(const e of o.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 J={run:e=>e()},G=void 0!==console.createTask?console.createTask:()=>J;function Z(e,t){const o=t.shift(),n=G(o);return e.reduce((e,o)=>e.then(()=>n.run(()=>o(...t))),Promise.resolve())}function Q(e,t){const o=t.shift(),n=G(o);return Promise.all(e.map(e=>n.run(()=>e(...t))))}function K(e,t){for(const o of[...e])o(t)}class X{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,o={}){if(!e||"function"!=typeof t)return()=>{};const n=e;let r;for(;this._deprecatedHooks[e];)r=this._deprecatedHooks[e],e=r.to;if(r&&!o.allowDeprecated){let e=r.message;e||(e=`${n} hook has been deprecated`+(r.to?`, please use ${r.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 o,n=(...e)=>("function"==typeof o&&o(),o=void 0,n=void 0,t(...e));return o=this.hook(e,n),o}removeHook(e,t){if(this._hooks[e]){const o=this._hooks[e].indexOf(t);-1!==o&&this._hooks[e].splice(o,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const o=this._hooks[e]||[];delete this._hooks[e];for(const n of o)this.hook(e,n)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=B(e),o=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(const e of o.splice(0,o.length))e()}}removeHooks(e){const t=B(e);for(const o in t)this.removeHook(o,t[o])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(Z,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(Q,e,...t)}callHookWith(e,t,...o){const n=this._before||this._after?{name:t,args:o,context:{}}:void 0;this._before&&K(this._before,n);const r=e(t in this._hooks?[...this._hooks[t]]:[],o);return r instanceof Promise?r.finally(()=>{this._after&&n&&K(this._after,n)}):(this._after&&n&&K(this._after,n),r)}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 Y=new Set(["link","style","script","noscript"]),ee=new Set(["title","titleTemplate","script","style","noscript"]),te=new Set(["base","meta","link","style","script","noscript"]),oe=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ne=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),re=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),se=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ie=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),ae=["name","property","http-equiv"],ce=new Set(["viewport","description","keywords","robots"]);function le(e){const t=e.split(":");return!!t.length&&ie.has(t[1])}function ue(e){const{props:t,tag:o}=e;if(ne.has(o))return o;if("link"===o&&"canonical"===t.rel)return"canonical";if(t.charset)return"charset";if("meta"===e.tag)for(const n of ae)if(void 0!==t[n]){const r=t[n],s=r.includes(":"),i=ce.has(r);return`${o}:${r}${!(s||i)&&e.key?`:key:${e.key}`:""}`}if(e.key)return`${o}:key:${e.key}`;if(t.id)return`${o}:id:${t.id}`;if(ee.has(o)){const t=e.textContent||e.innerHTML;if(t)return`${o}:content:${t}`}}function pe(e){const t=e._h||e._d;if(t)return t;const o=e.textContent||e.innerHTML;return o||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(",")}`}function fe(e,t,o){let n;if("function"===typeof e&&(o&&("titleTemplate"===o||"o"===o[0]&&"n"===o[1])||(e=e())),t&&(n=t(o,e)),Array.isArray(n))return n.map(e=>fe(e,t));if(n?.constructor===Object){const e={};for(const o of Object.keys(n))e[o]=fe(n[o],t,o);return e}return n}function de(e,t){return e.props=e.props||{},t?"templateParams"===e.tag?(e.props=t,e):(Object.entries(t).forEach(([o,n])=>{if(null===n)return void(e.props[o]=null);if("class"===o||"style"===o)return void(e.props[o]=function(e,t){const o="style"===e?new Map:new Set;function n(t){const n=t.trim();if(n)if("style"===e){const[e,...t]=n.split(":").map(e=>e.trim());e&&t.length&&o.set(e,t.join(":"))}else n.split(" ").filter(Boolean).forEach(e=>o.add(e))}return"string"==typeof t?"style"===e?t.split(";").forEach(n):n(t):Array.isArray(t)?t.forEach(e=>n(e)):t&&"object"==typeof t&&Object.entries(t).forEach(([t,r])=>{r&&"false"!==r&&("style"===e?o.set(t.trim(),r):n(t))}),o}(o,n));if(re.has(o)){if(["textContent","innerHTML"].includes(o)&&"object"==typeof n){let r=t.type;if(t.type||(r="application/json"),!r?.endsWith("json")&&"speculationrules"!==r)return;t.type=r,e.props.type=r,e[o]=JSON.stringify(n)}else e[o]=n;return}const r=String(n),s=o.startsWith("data-");"true"===r||""===r?e.props[o]=!s||r:!n&&s&&"false"===r?e.props[o]="false":void 0!==n&&(e.props[o]=n)}),e):e}function he(e,t){const o=de({tag:e,props:{}},"object"==typeof t&&"function"!=typeof t?t:{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t});return o.key&&Y.has(o.tag)&&(o.props["data-hid"]=o._h=o.key),"script"===o.tag&&"object"==typeof o.innerHTML&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(e=>({...o,props:{...o.props,content:e}})):o}function ge(e,t){if(!e)return[];"function"==typeof e&&(e=e());const o=(e,o)=>{for(let n=0;n<t.length;n++)o=t[n](e,o);return o};e=o(void 0,e);const n=[];return e=fe(e,o),Object.entries(e||{}).forEach(([e,t])=>{if(void 0!==t)for(const o of Array.isArray(t)?t:[t])n.push(he(e,o))}),n.flat()}const me=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,ye={base:-10,title:10},ve={critical:-8,high:-1,low:2},be={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}},we=/@import/,ke=e=>""===e||!0===e;function _e(e,t){if("number"==typeof t.tagPriority)return t.tagPriority;let o=100;const n=ve[t.tagPriority]||0,r=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:be;if(t.tag in ye)o=ye[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&&(o=be.meta[e])}else"link"===t.tag&&t.props.rel?o=r.link[t.props.rel]:"script"===t.tag?ke(t.props.async)?o=r.script.async:!t.props.src||ke(t.props.defer)||ke(t.props.async)||"module"===t.props.type||t.props.type?.endsWith("json")?ke(t.props.defer)&&t.props.src&&!ke(t.props.async)&&(o=r.script.defer):o=r.script.sync:"style"===t.tag&&(o=t.innerHTML&&we.test(t.innerHTML)?r.style.imported:r.style.sync);return(o||100)+n}function Ce(e,t){const o="function"==typeof t?t(e):t,n=o.key||String(e.plugins.size+1);e.plugins.get(n)||(e.plugins.set(n,o),e.hooks.addHooks(o.hooks||{}))}function xe(e={}){const t=new X;t.addHooks(e.hooks||{});const o=!e.document,n=new Map,r=new Map,s=new Set,i={_entryCount:1,plugins:r,dirty:!1,resolvedOptions:e,hooks:t,ssr:o,entries:n,headEntries:()=>[...n.values()],use:e=>Ce(i,e),push(e,r){const a={...r||{}};delete a.head;const c=a._index??i._entryCount++,l={_i:c,input:e,options:a},u={_poll(e=!1){i.dirty=!0,!e&&s.add(c),t.callHook("entries:updated",i)},dispose(){n.delete(c)&&i.invalidate()},patch(e){(!a.mode||"server"===a.mode&&o||"client"===a.mode&&!o)&&(l.input=e,n.set(c,l),u._poll())}};return u.patch(e),u},async resolveTags(){const o={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",o);s.size;){const o=s.values().next().value;s.delete(o);const r=n.get(o);if(r){const o={tags:ge(r.input,e.propResolvers||[]).map(e=>Object.assign(e,r.options)),entry:r};await t.callHook("entries:normalize",o),r._tags=o.tags.map((e,t)=>(e._w=_e(i,e),e._p=(r._i<<10)+t,e._d=ue(e),e))}}let r=!1;o.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(me).reduce((e,t)=>{const o=String(t._d||t._p);if(!e.has(o))return e.set(o,t);const n=e.get(o);if("merge"===(t?.tagDuplicateStrategy||(se.has(t.tag)?"merge":null)||(t.key&&t.key===n.key?"merge":null))){const r={...n.props};Object.entries(t.props).forEach(([e,t])=>r[e]="style"===e?new Map([...n.props.style||new Map,...t]):"class"===e?new Set([...n.props.class||new Set,...t]):t),e.set(o,{...t,props:r})}else t._p>>10==n._p>>10&&"meta"===t.tag&&le(o)?(e.set(o,Object.assign([...Array.isArray(n)?n:[n],t],t)),r=!0):(t._w===n._w?t._p>n._p:t?._w<n?._w)&&e.set(o,t);return e},o.tagMap);const a=o.tagMap.get("title"),c=o.tagMap.get("titleTemplate");if(i._title=a?.textContent,c){const e=c?.textContent;if(i._titleTemplate=e,e){let t="function"==typeof e?e(a?.textContent):e;"string"!=typeof t||i.plugins.has("template-params")||(t=t.replace("%s",a?.textContent||"")),a?null===t?o.tagMap.delete("title"):o.tagMap.set("title",{...a,textContent:t}):(c.tag="title",c.textContent=t)}}o.tags=Array.from(o.tagMap.values()),r&&(o.tags=o.tags.flat().sort(me)),await t.callHook("tags:beforeResolve",o),await t.callHook("tags:resolve",o),await t.callHook("tags:afterResolve",o);const l=[];for(const e of o.tags){const{innerHTML:t,tag:o,props:n}=e;if(oe.has(o)&&((0!==Object.keys(n).length||e.innerHTML||e.textContent)&&("meta"!==o||n.content||n["http-equiv"]||n.charset))){if("script"===o&&t){if(n.type?.endsWith("json")){const o="string"==typeof t?t:JSON.stringify(t);e.innerHTML=o.replace(/</g,"\\u003C")}else"string"==typeof t&&(e.innerHTML=t.replace(new RegExp(`</${o}`,"g"),`<\\/${o}`));e._d=ue(e)}l.push(e)}}return l},invalidate(){for(const e of n.values())s.add(e._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(e=>Ce(i,e)),i.hooks.callHook("init",i),e.init?.forEach(e=>e&&i.push(e)),i}async function je(e,t={}){const o=t.document||e.resolvedOptions.document;if(!o||!e.dirty)return;const n={shouldRender:!0,tags:[]};return await e.hooks.callHook("dom:beforeRender",n),n.shouldRender?(e._domUpdatePromise||(e._domUpdatePromise=new Promise(async t=>{const n=new Map,r=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{const t=n.get(e._d)||0,o={tag:e,id:(t?`${e._d}:${t}`:e._d)||pe(e),shouldRender:!0};return e._d&&le(e._d)&&n.set(e._d,t+1),o}))})});let s=e._dom;if(!s){s={title:o.title,elMap:(new Map).set("htmlAttrs",o.documentElement).set("bodyAttrs",o.body)};for(const e of["body","head"]){const t=o[e]?.children;for(const e of t){const t=e.tagName.toLowerCase();if(!te.has(t))continue;const o=de({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,o)=>(t[o]=e.getAttribute(o),t),{})||{}});if(o.key=e.getAttribute("data-hid")||void 0,o._d=ue(o)||pe(o),s.elMap.has(o._d)){let t=1,n=o._d;for(;s.elMap.has(n);)n=`${o._d}:${t++}`;s.elMap.set(n,e)}else s.elMap.set(o._d,e)}}}function i(e,t,o){const n=`${e}:${t}`;s.sideEffects[n]=o,delete s.pendingSideEffects[n]}function a({id:e,$el:t,tag:n}){const r=n.tag.endsWith("Attrs");s.elMap.set(e,t),r||(n.textContent&&n.textContent!==t.textContent&&(t.textContent=n.textContent),n.innerHTML&&n.innerHTML!==t.innerHTML&&(t.innerHTML=n.innerHTML),i(e,"el",()=>{t?.remove(),s.elMap.delete(e)}));for(const s in n.props){if(!Object.prototype.hasOwnProperty.call(n.props,s))continue;const a=n.props[s];if(s.startsWith("on")&&"function"==typeof a){const e=t?.dataset;if(e&&e[`${s}fired`]){const e=s.slice(0,-5);a.call(t,new Event(e.substring(2)))}""!==t.getAttribute(`data-${s}`)&&(("bodyAttrs"===n.tag?o.defaultView:t).addEventListener(s.substring(2),a.bind(t)),t.setAttribute(`data-${s}`,""));continue}const c=`attr:${s}`;if("class"===s){if(!a)continue;for(const o of a)r&&i(e,`${c}:${o}`,()=>t.classList.remove(o)),!t.classList.contains(o)&&t.classList.add(o)}else if("style"===s){if(!a)continue;for(const[o,n]of a)i(e,`${c}:${o}`,()=>{t.style.removeProperty(o)}),t.style.setProperty(o,n)}else!1!==a&&null!==a&&(t.getAttribute(s)!==a&&t.setAttribute(s,!0===a?"":String(a)),r&&i(e,c,()=>t.removeAttribute(s)))}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await r;for(const e of u){const{tag:t,shouldRender:n,id:r}=e;n&&("title"!==t.tag?(e.$el=e.$el||s.elMap.get(r),e.$el?a(e):te.has(t.tag)&&c.push(e)):(o.title=t.textContent,i("title","",()=>o.title=s.title)))}for(const e of c){const t=e.tag.tagPosition||"head";e.$el=o.createElement(e.tag.tag),a(e),l[t]=l[t]||o.createDocumentFragment(),l[t].appendChild(e.$el)}for(const p of u)await e.hooks.callHook("dom:renderTag",p,o,i);l.head&&o.head.appendChild(l.head),l.bodyOpen&&o.body.insertBefore(l.bodyOpen,o.body.firstChild),l.bodyClose&&o.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 o=0;return()=>{const n=++o;t(()=>{o===n&&e()})}}const Fe={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},Oe={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},Se={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${Ee(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>"seconds"===e?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>"boolean"==typeof t?Ee(e):`${Ee(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${Ee(e)} ${t}`}},charset:{}};function Ee(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),o=t.indexOf("-");return-1===o?t:Fe.META.has(t.slice(0,o))||Fe.OG.has(t.slice(0,o))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Me(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>"false"!==String(t)&&e))}function Le(e){return Array.isArray(e)?e.map(Le):e&&"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[Ee(e),Le(t)])):e}function Te(e,t={}){const{entrySeparator:o="",keyValueSeparator:n="",wrapValue:r,resolve:s}=t;return Object.entries(e).map(([e,o])=>{if(s){const t=s({key:e,value:o});if(void 0!==t)return t}const i="object"==typeof o?Te(o,t):"number"==typeof o?o.toString():"string"==typeof o&&r?`${r}${o.replace(new RegExp(r,"g"),`\\${r}`)}${r}`:o;return`${e}${n}${i}`}).join(o)}function Ae(e,t){const o=Me(t),n=Ee(e),r=Pe(n);if(!ie.has(n))return[{[r]:n,...o}];return Ie(Object.fromEntries(Object.entries(o).map(([t,o])=>[`${e}${"url"===t?"":`${t[0].toUpperCase()}${t.slice(1)}`}`,o]))||{}).sort((e,t)=>(e[r]?.length||0)-(t[r]?.length||0))}function Pe(e){if("http-equiv"===Se[e]?.metaKey||Fe.HTTP_EQUIV.has(e))return"http-equiv";const t=Ee(e),o=t.indexOf(":");return-1===o?"name":Fe.OG.has(t.slice(0,o))?"property":"name"}function He(e,t){return"refresh"===t?`${e.seconds};url=${e.url}`:Te(Le(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?t:void 0,...Se[t]?.unpack})}function Ie(e){const t=[],o={};for(const[r,s]of Object.entries(e))if(Array.isArray(s)){if("themeColor"===r){s.forEach(e=>{"object"==typeof e&&null!==e&&t.push({name:"theme-color",...e})});continue}for(const e of s)if("object"==typeof e&&null!==e){const o=[],n=[];for(const[t,s]of Object.entries(e)){const e=`${r}${"url"===t?"":`:${t}`}`,i=Ie({[e]:s});("url"===t?o:n).push(...i)}t.push(...o,...n)}else t.push(..."string"==typeof e?Ie({[r]:e}):Ae(r,e))}else if("object"==typeof s&&s)if(Fe.MEDIA.has(r)){const e=r.startsWith("twitter")?"twitter":"og",o=r.replace(/^(og|twitter)/,"").toLowerCase(),n="twitter"===e?"name":"property";s.url&&t.push({[n]:`${e}:${o}`,content:s.url}),s.secureUrl&&t.push({[n]:`${e}:${o}:secure_url`,content:s.secureUrl});for(const[r,i]of Object.entries(s))"url"!==r&&"secureUrl"!==r&&t.push({[n]:`${e}:${o}:${r}`,content:i})}else ie.has(Ee(r))?t.push(...Ae(r,s)):o[r]=Me(s);else o[r]=s;const n=Object.entries(o).map(([e,t])=>{if("charset"===e)return{charset:null===t?"_null":t};const o=Pe(e),n=function(e){return Oe[e]||Ee(e)}(e),r=null===t?"_null":"object"==typeof t?He(t,e):"number"==typeof t?t.toString():t;return"http-equiv"===o?{"http-equiv":n,content:r}:{[o]:n,content:r}});return[...t,...n].map(e=>"content"in e&&"_null"===e.content?{...e,content:null}:e)}function ze(e){return e}const Re=ze({key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(e=>"_flatMeta"!==e.tag?e:(t.push(Ie(e.props).map(t=>({...e,tag:"meta",props:t}))),!1)).filter(Boolean).concat(...t)}}}),Ne=(e,t)=>u(t)?l(t):t,Ue="usehead";function De(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Ue,e)}}.install}function Ve(){if(p()){const e=f(Ue);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 qe(e,t={}){const o=t.head||Ve();return o.ssr?o.push(e||{},t):function(e,t,o={}){const n=d(!1);let r;h(()=>{const s=n.value?{}:fe(t,Ne);r?r.patch(s):r=e.push(s,o)});g()&&(m(()=>{r.dispose()}),y(()=>{n.value=!0}),v(()=>{n.value=!1}));return r}(o,e,t)}function We(e={}){const t=function(e={}){const t=e.domOptions?.render||je;e.document=e.document||("undefined"!=typeof window?document:void 0);const o=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return xe({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[!!o&&JSON.parse(o),...e.init||[]]})}({domOptions:{render:$e(()=>je(t),e=>setTimeout(e,0))},...e});return t.install=De(t),t}const Be={fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY},Je={silent:{level:-1},fatal:{level:Be.fatal},error:{level:Be.error},warn:{level:Be.warn},log:{level:Be.log},info:{level:Be.info},success:{level:Be.success},fail:{level:Be.fail},ready:{level:Be.info},start:{level:Be.info},box:{level:Be.info},debug:{level:Be.debug},trace:{level:Be.trace},verbose:{level:Be.verbose}};function Ge(e){if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&(!(Symbol.iterator in e)&&(!(Symbol.toStringTag in e)||"[object Module]"===Object.prototype.toString.call(e)))}function Ze(e,t,o=".",n){if(!Ge(t))return Ze(e,{},o);const r=Object.assign({},t);for(const s in e){if("__proto__"===s||"constructor"===s)continue;const t=e[s];null!=t&&(Array.isArray(t)&&Array.isArray(r[s])?r[s]=[...t,...r[s]]:Ge(t)&&Ge(r[s])?r[s]=Ze(t,r[s],(o?`${o}.`:"")+s.toString()):r[s]=t)}return r}const Qe=(...e)=>e.reduce((e,t)=>Ze(e,t,""),{});function Ke(e){return t=e,"[object Object]"===Object.prototype.toString.call(t)&&(!(!e.message&&!e.args)&&!e.stack);var t}let Xe=!1;const Ye=[];class et{options;_lastLog;_mockFn;constructor(e={}){const t=e.types||Je;this.options=Qe({...e,defaults:{...e.defaults},level:tt(e.level,t),reporters:[...e.reporters||[]]},{types:Je,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}});for(const o in t){const e={type:o,...this.options.defaults,...t[o]};this[o]=this._wrapLogFn(e),this[o].raw=this._wrapLogFn(e,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(e){this.options.level=tt(e,this.options.types,this.options.level)}prompt(e,t){if(!this.options.prompt)throw new Error("prompt is not supported!");return this.options.prompt(e,t)}create(e){const t=new et({...this.options,...e});return this._mockFn&&t.mockTypes(this._mockFn),t}withDefaults(e){return this.create({...this.options,defaults:{...this.options.defaults,...e}})}withTag(e){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+e:e})}addReporter(e){return this.options.reporters.push(e),this}removeReporter(e){if(e){const t=this.options.reporters.indexOf(e);if(-1!==t)return this.options.reporters.splice(t,1)}else this.options.reporters.splice(0);return this}setReporters(e){return this.options.reporters=Array.isArray(e)?e:[e],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const e in this.options.types)console["__"+e]||(console["__"+e]=console[e]),console[e]=this[e].raw}restoreConsole(){for(const e in this.options.types)console["__"+e]&&(console[e]=console["__"+e],delete console["__"+e])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(e,t){e&&(e.__write||(e.__write=e.write),e.write=e=>{this[t].raw(String(e).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(e){e&&e.__write&&(e.write=e.__write,delete e.__write)}pauseLogs(){Xe=!0}resumeLogs(){Xe=!1;const e=Ye.splice(0);for(const t of e)t[0]._logFn(t[1],t[2])}mockTypes(e){const t=e||this.options.mockFn;if(this._mockFn=t,"function"==typeof t)for(const o in this.options.types)this[o]=t(o,this.options.types[o])||this[o],this[o].raw=this[o]}_wrapLogFn(e,t){return(...o)=>{if(!Xe)return this._logFn(e,o,t);Ye.push([this,e,o,t])}}_logFn(e,t,o){if((e.level||0)>this.level)return!1;const n={date:new Date,args:[],...e,level:tt(e.level,this.options.types)};!o&&1===t.length&&Ke(t[0])?Object.assign(n,t[0]):n.args=[...t],n.message&&(n.args.unshift(n.message),delete n.message),n.additional&&(Array.isArray(n.additional)||(n.additional=n.additional.split("\n")),n.args.push("\n"+n.additional.join("\n")),delete n.additional),n.type="string"==typeof n.type?n.type.toLowerCase():"log",n.tag="string"==typeof n.tag?n.tag:"";const r=(e=!1)=>{const t=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&t>0){const e=[...this._lastLog.object.args];t>1&&e.push(`(repeated ${t} times)`),this._log({...this._lastLog.object,args:e}),this._lastLog.count=1}e&&(this._lastLog.object=n,this._log(n))};clearTimeout(this._lastLog.timeout);const s=this._lastLog.time&&n.date?n.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=n.date,s<this.options.throttle)try{const e=JSON.stringify([n.type,n.tag,n.args]),t=this._lastLog.serialized===e;if(this._lastLog.serialized=e,t&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin))return void(this._lastLog.timeout=setTimeout(r,this.options.throttle))}catch{}r(!0)}_log(e){for(const t of this.options.reporters)t.log(e,{options:this.options})}}function tt(e,t={},o=3){return void 0===e?o:"number"==typeof e?e:t[e]&&void 0!==t[e].level?t[e].level:o}et.prototype.add=et.prototype.addReporter,et.prototype.remove=et.prototype.removeReporter,et.prototype.clear=et.prototype.removeReporter,et.prototype.withScope=et.prototype.withTag,et.prototype.mock=et.prototype.mockTypes,et.prototype.pause=et.prototype.pauseLogs,et.prototype.resume=et.prototype.resumeLogs;class ot{options;defaultColor;levelColorMap;typeColorMap;constructor(e){this.options={...e},this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}_getLogFn(e){return e<1?console.__error||console.error:1===e?console.__warn||console.warn:console.__log||console.log}log(e){const t=this._getLogFn(e.level),o="log"===e.type?"":e.type,n=e.tag||"",r=`\n background: ${this.typeColorMap[e.type]||this.levelColorMap[e.level]||this.defaultColor};\n border-radius: 0.5em;\n color: white;\n font-weight: bold;\n padding: 2px 0.5em;\n `,s=`%c${[n,o].filter(Boolean).join(":")}`;"string"==typeof e.args[0]?t(`${s}%c ${e.args[0]}`,r,"",...e.args.slice(1)):t(s,r,...e.args)}}const nt=function(e={}){return function(e={}){return new et(e)}({reporters:e.reporters||[new ot({})],prompt:(e,t={})=>"confirm"===t.type?Promise.resolve(confirm(e)):Promise.resolve(prompt(e)),...e})}(),rt=Object.freeze({left:0,top:0,width:16,height:16}),st=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),it=Object.freeze({...rt,...st}),at=Object.freeze({...it,body:"",hidden:!1}),ct=Object.freeze({width:null,height:null}),lt=Object.freeze({...ct,...st});function ut(e,t){const o=function(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(o.rotate=n),o}(e,t);for(const n in at)n in st?n in e&&!(n in o)&&(o[n]=st[n]):n in t?o[n]=t[n]:n in e&&(o[n]=e[n]);return o}function pt(e,t,o){const n=e.icons,r=e.aliases||Object.create(null);let s={};function i(e){s=ut(n[e]||r[e],s)}return i(t),o.forEach(i),ut(e,s)}function ft(e,t){if(e.icons[t])return pt(e,t,[]);const o=function(e,t){const o=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);return(t||Object.keys(o).concat(Object.keys(n))).forEach(function e(t){if(o[t])return r[t]=[];if(!(t in r)){r[t]=null;const o=n[t]&&n[t].parent,s=o&&e(o);s&&(r[t]=[o].concat(s))}return r[t]}),r}(e,[t])[t];return o?pt(e,t,o):null}const dt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ht=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function gt(e,t,o){if(1===t)return e;if(o=o||100,"number"==typeof e)return Math.ceil(e*t*o)/o;if("string"!=typeof e)return e;const n=e.split(dt);if(null===n||!n.length)return e;const r=[];let s=n.shift(),i=ht.test(s);for(;;){if(i){const e=parseFloat(s);isNaN(e)?r.push(s):r.push(Math.ceil(e*t*o)/o)}else r.push(s);if(s=n.shift(),void 0===s)return r.join("");i=!i}}const mt=e=>"unset"===e||"undefined"===e||"none"===e;function yt(e,t){const o={...it,...e},n={...lt,...t},r={left:o.left,top:o.top,width:o.width,height:o.height};let s=o.body;[o,n].forEach(e=>{const t=[],o=e.hFlip,n=e.vFlip;let i,a=e.rotate;switch(o?n?a+=2:(t.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),t.push("scale(-1 1)"),r.top=r.left=0):n&&(t.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),t.push("scale(1 -1)"),r.top=r.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4,a){case 1:i=r.height/2+r.top,t.unshift("rotate(90 "+i.toString()+" "+i.toString()+")");break;case 2:t.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:i=r.width/2+r.left,t.unshift("rotate(-90 "+i.toString()+" "+i.toString()+")")}a%2==1&&(r.left!==r.top&&(i=r.left,r.left=r.top,r.top=i),r.width!==r.height&&(i=r.width,r.width=r.height,r.height=i)),t.length&&(s=function(e,t,o){const n=function(e,t="defs"){let o="";const n=e.indexOf("<"+t);for(;n>=0;){const r=e.indexOf(">",n),s=e.indexOf("</"+t);if(-1===r||-1===s)break;const i=e.indexOf(">",s);if(-1===i)break;o+=e.slice(r+1,s).trim(),e=e.slice(0,n).trim()+e.slice(i+1)}return{defs:o,content:e}}(e);return r=n.defs,s=t+n.content+o,r?"<defs>"+r+"</defs>"+s:s;var r,s}(s,'<g transform="'+t.join(" ")+'">',"</g>"))});const i=n.width,a=n.height,c=r.width,l=r.height;let u,p;null===i?(p=null===a?"1em":"auto"===a?l:a,u=gt(p,c/l)):(u="auto"===i?c:i,p=null===a?gt(u,l/c):"auto"===a?l:a);const f={},d=(e,t)=>{mt(t)||(f[e]=t.toString())};d("width",u),d("height",p);const h=[r.left,r.top,c,l];return f.viewBox=h.join(" "),{attributes:f,viewBox:h,body:s}}function vt(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 bt=/\swidth\s*=\s*["']([\w.]+)["']/,wt=/\sheight\s*=\s*["']([\w.]+)["']/,kt=/<svg\s+/;async function _t(e,t,o,n,r,s){const{scale:i,addXmlNs:a=!1}=n??{},{additionalProps:c={},iconCustomizer:l}=n?.customizations??{},u=await(r?.())??{};await(l?.(t,o,u)),Object.keys(c).forEach(e=>{const t=c[e];null!=t&&(u[e]=t)}),s?.(u);const[p,f]=function(e,t,o){const n=e.slice(0,e.indexOf(">")),r=(e,r)=>{const s=r.exec(n),i=null!=s,a=t[e];return a||mt(a)||("number"==typeof o?o>0&&(t[e]=gt(s?.[1]??"1em",o)):s&&(t[e]=s[1])),i};return[r("width",bt),r("height",wt)]}(e,u,i);a&&(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&&p||"height"===e&&f?null:`${e}="${u[e]}"`).filter(e=>null!=e);if(d.length&&(e=e.replace(kt,`<svg ${d.join(" ")} `)),n){const{defaultStyle:t,defaultClass:o}=n;o&&!e.includes("class=")&&(e=e.replace(kt,`<svg class="${o}" `)),t&&!e.includes("style=")&&(e=e.replace(kt,`<svg style="${t}" `))}const h=n?.usedProps;return h&&(Object.keys(c).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 Ct,xt,jt,$t,Ft,Ot={exports:{}};function St(){if(xt)return Ct;xt=1;var e=1e3,t=60*e,o=60*t,n=24*o,r=7*n,s=365.25*n;function i(e,t,o,n){var r=t>=1.5*o;return Math.round(e/o)+" "+n+(r?"s":"")}return Ct=function(a,c){c=c||{};var l=typeof a;if("string"===l&&a.length>0)return function(i){if((i=String(i)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*r;case"days":case"day":case"d":return c*n;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(a);if("number"===l&&isFinite(a))return c.long?function(r){var s=Math.abs(r);if(s>=n)return i(r,s,n,"day");if(s>=o)return i(r,s,o,"hour");if(s>=t)return i(r,s,t,"minute");if(s>=e)return i(r,s,e,"second");return r+" ms"}(a):function(r){var s=Math.abs(r);if(s>=n)return Math.round(r/n)+"d";if(s>=o)return Math.round(r/o)+"h";if(s>=t)return Math.round(r/t)+"m";if(s>=e)return Math.round(r/e)+"s";return r+"ms"}(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))}}const Et=A((Ft||(Ft=1,function(e,t){var o={};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 o="color: "+this.color;t.splice(1,0,o,"color: inherit");let n=0,r=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(r=n))}),t.splice(r,0,o)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(o){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(n){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=o.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=($t?jt:($t=1,jt=function(e){function t(e){let n,r,s,i=null;function a(...e){if(!a.enabled)return;const o=a,r=Number(new Date),s=r-(n||r);o.diff=s,o.prev=n,o.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,r)=>{if("%%"===n)return"%";i++;const s=t.formatters[r];if("function"==typeof s){const t=e[i];n=s.call(o,t),e.splice(i,1),i--}return n}),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=o,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(r!==t.namespaces&&(r=t.namespaces,s=t.enabled(e)),s),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function o(e,o){const n=t(this.namespace+(void 0===o?":":o)+e);return n.log=this.log,n}function n(e,t){let o=0,n=0,r=-1,s=0;for(;o<e.length;)if(n<t.length&&(t[n]===e[o]||"*"===t[n]))"*"===t[n]?(r=n,s=o,n++):(o++,n++);else{if(-1===r)return!1;n=r+1,s++,o=s}for(;n<t.length&&"*"===t[n];)n++;return n===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 o=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const n of o)"-"===n[0]?t.skips.push(n.slice(1)):t.names.push(n)},t.enabled=function(e){for(const o of t.skips)if(n(e,o))return!1;for(const o of t.names)if(n(e,o))return!0;return!1},t.humanize=St(),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(o=>{t[o]=e[o]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let o=0;for(let t=0;t<e.length;t++)o=(o<<5)-o+e.charCodeAt(t),o|=0;return t.colors[Math.abs(o)%t.colors.length]},t.enable(t.load()),t}))(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}(Ot,Ot.exports)),Ot.exports)),Mt=Et("@iconify-loader:custom");async function Lt(e,t,o,n){let r;Mt(`${t}:${o}`);try{if("function"==typeof e)r=await e(o);else{const t=e[o];r="function"==typeof t?await t():t}}catch(i){return void console.warn(`Failed to load custom icon "${o}" in "${t}":`,i)}if(r){const e=r.indexOf("<svg");e>0&&(r=r.slice(e));const{transform:i}=n?.customizations??{};return r="function"==typeof i?await i(r,t,o):r,r.startsWith("<svg")?await _t(!0===n?.customizations?.trimCustomSvg?(s=r,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()):r,t,o,n,void 0):(console.warn(`Custom icon "${o}" in "${t}" is not a valid SVG`),r)}var s}const Tt=Et("@iconify-loader:icon");async function At(e,t,o,n){let r;const{customize:s}=n?.customizations??{};for(const i of o)if(r=ft(e,i),r){Tt(`${t}:${i}`);let e={...lt};"function"==typeof s&&(r=Object.assign({},r),e=s(e,r,`${t}:${i}`)??e);const{attributes:{width:o,height:a,...c},body:l}=yt(r,e),u=n?.scale;return await _t(`<svg >${l}</svg>`,t,i,n,()=>({...c}),e=>{const t=(t,o)=>{const n=e[t];let r;if(!mt(n)){if(n)return;"number"==typeof u?u&&(r=gt(o??"1em",u)):r=o}r?e[t]=r:delete e[t]};t("width",o),t("height",a)})}}const Pt=async(e,t,o)=>{const n=o?.customCollections?.[e];if(n){if("function"!=typeof n)return await Lt(n,e,t,o);{let s;try{s=await n(t)}catch(r){return void console.warn(`Failed to load custom icon "${t}" in "${e}":`,r)}if(s){if("string"==typeof s)return await Lt(()=>s,e,t,o);if("icons"in s){const n=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await At(s,e,n,o)}}}}};var Ht={};const It=["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 zt(e,t,o=new Map){return async(n,r,s)=>{let i=await Pt(n,r,s);if(i)return i;const a=await function(n){if(It.includes(n))return o.has(n)||o.set(n,e(`${t}@iconify-json/${n}/icons.json`)),o.get(n)}(n);if(a){const e=[r,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r.replace(/([a-z])(\d+)/g,"$1-$2")];i=await At(a,n,e,s)}return i}}async function Rt(e,t,o={},n=[]){let r,s="",i="";const a=new Set([...It,...n,...Object.keys(o.customCollections||{})]);if(e.includes(":")){if([s,i]=e.split(":"),!a.has(s))return;r=await t(s,i,o)}else{const n=e.split(/-/g);for(let e=3;e>=1&&(s=n.slice(0,e).join("-"),!a.has(s)||(i=n.slice(e).join("-"),r=await t(s,i,o),!r));e--);}if(r)return{collection:s,name:i,svg:r}}const Nt=(Ut=async e=>{const t=e?.customFetch,n=e?.cdn;return t&&n?zt(t,n):n?await async function(e){const{$fetch:t}=await o(async()=>{const{$fetch:e}=await import("./unocss-DYVHIrEJ.js").then(e=>e.f);return{$fetch:e}},[],import.meta.url);return zt(t,e)}(n):Pt},e((e={})=>{const{scale:o=1,mode:n="auto",prefix:r="i-",warn:s=!1,iconifyCollectionsNames:i,collections:a,extraProperties:c={},customizations:l={},autoInstall:u=!1,collectionsNodeResolvePath:p,layer:f="icons",unit:d,processor:h}=e,g=function(){const e="undefined"!=typeof process&&process.stdout;return{isNode:e,isVSCode:e&&!!Ht.VSCODE_CWD,isESLint:e&&!!Ht.ESLINT}}(),m={addXmlNs:!0,scale:o,customCollections:a,autoInstall:u,cwd:p,warn:void 0,customizations:{...l,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(e,t,n){await(l.iconCustomizer?.(e,t,n)),d&&(n.width||(n.width=`${o}${d}`),n.height||(n.height=`${o}${d}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},api:{encodeSvgForCss:vt,parseIconWithLoader:Rt},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async o=>{let[r,a,c=n]=o;y=y||await Ut(e);const l={},u=await Rt(a,y,{...m,usedProps:l},i);if(!u)return void(s&&!g.isESLint&&t(`failed to load icon "${r}"`));let p;const f=`url("data:image/svg+xml;utf8,${vt(u.svg)}")`;return"auto"===c&&(c=u.svg.includes("currentColor")?"mask":"bg"),p="mask"===c?{"--un-icon":f,"-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:`${f} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...l},h?.(p,{...u,icon:u.name,mode:c}),p},{layer:f,prefix:r}]]}}));var Ut;const Dt={presets:[n({preflights:{reset:!0}}),r(),Nt({cdn:"https://cdn.jsdelivr.net/npm/"}),s(),i()]},Vt=/^[a-z0-9]+(-[a-z0-9]+)*$/,qt=(e,t,o,n="")=>{const r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;n=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const e=r.pop(),o=r.pop(),s={provider:r.length>0?r[0]:n,prefix:o,name:e};return t&&!Wt(s)?null:s}const s=r[0],i=s.split("-");if(i.length>1){const e={provider:n,prefix:i.shift(),name:i.join("-")};return t&&!Wt(e)?null:e}if(o&&""===n){const e={provider:n,prefix:"",name:s};return t&&!Wt(e,o)?null:e}return null},Wt=(e,t)=>!!e&&!(!(t&&""===e.prefix||e.prefix)||!e.name),Bt=Object.freeze({left:0,top:0,width:16,height:16}),Jt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Gt=Object.freeze({...Bt,...Jt}),Zt=Object.freeze({...Gt,body:"",hidden:!1});function Qt(e,t){const o=function(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(o.rotate=n),o}(e,t);for(const n in Zt)n in Jt?n in e&&!(n in o)&&(o[n]=Jt[n]):n in t?o[n]=t[n]:n in e&&(o[n]=e[n]);return o}function Kt(e,t,o){const n=e.icons,r=e.aliases||Object.create(null);let s={};function i(e){s=Qt(n[e]||r[e],s)}return i(t),o.forEach(i),Qt(e,s)}function Xt(e,t){const o=[];if("object"!=typeof e||"object"!=typeof e.icons)return o;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),o.push(e)});const n=function(e){const t=e.icons,o=e.aliases||Object.create(null),n=Object.create(null);return Object.keys(t).concat(Object.keys(o)).forEach(function e(r){if(t[r])return n[r]=[];if(!(r in n)){n[r]=null;const t=o[r]&&o[r].parent,s=t&&e(t);s&&(n[r]=[t].concat(s))}return n[r]}),n}(e);for(const r in n){const s=n[r];s&&(t(r,Kt(e,r,s)),o.push(r))}return o}const Yt={provider:"",aliases:{},not_found:{},...Bt};function eo(e,t){for(const o in t)if(o in e&&typeof e[o]!=typeof t[o])return!1;return!0}function to(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(!eo(e,Yt))return null;const o=t.icons;for(const r in o){const e=o[r];if(!r||"string"!=typeof e.body||!eo(e,Zt))return null}const n=t.aliases||Object.create(null);for(const r in n){const e=n[r],t=e.parent;if(!r||"string"!=typeof t||!o[t]&&!n[t]||!eo(e,Zt))return null}return t}const oo=Object.create(null);function no(e,t){const o=oo[e]||(oo[e]=Object.create(null));return o[t]||(o[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function ro(e,t){return to(t)?Xt(t,(t,o)=>{o?e.icons[t]=o:e.missing.add(t)}):[]}let so=!1;function io(e){return"boolean"==typeof e&&(so=e),so}function ao(e){const t="string"==typeof e?qt(e,!0,so):e;if(t){const e=no(t.provider,t.prefix),o=t.name;return e.icons[o]||(e.missing.has(o)?null:void 0)}}function co(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),so&&!t&&!e.prefix){let t=!1;return to(e)&&(e.prefix="",Xt(e,(e,o)=>{(function(e,t){const o=qt(e,!0,so);if(!o)return!1;const n=no(o.provider,o.prefix);return t?function(e,t,o){try{if("string"==typeof o.body)return e.icons[t]={...o},!0}catch(n){}return!1}(n,o.name,t):(n.missing.add(o.name),!0)})(e,o)&&(t=!0)})),t}const o=e.prefix;if(!Wt({prefix:o,name:"a"}))return!1;return!!ro(no(t,o),e)}const lo=Object.freeze({width:null,height:null}),uo=Object.freeze({...lo,...Jt}),po=/(-?[0-9.]*[0-9]+[0-9.]*)/g,fo=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ho(e,t,o){if(1===t)return e;if(o=o||100,"number"==typeof e)return Math.ceil(e*t*o)/o;if("string"!=typeof e)return e;const n=e.split(po);if(null===n||!n.length)return e;const r=[];let s=n.shift(),i=fo.test(s);for(;;){if(i){const e=parseFloat(s);isNaN(e)?r.push(s):r.push(Math.ceil(e*t*o)/o)}else r.push(s);if(s=n.shift(),void 0===s)return r.join("");i=!i}}const go=/\sid="(\S+)"/g,mo="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let yo=0;const vo=Object.create(null);function bo(e){return vo[e]||vo[""]}function wo(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 ko=Object.create(null),_o=["https://api.simplesvg.com","https://api.unisvg.com"],Co=[];for(;_o.length>0;)1===_o.length||Math.random()>.5?Co.push(_o.shift()):Co.push(_o.pop());function xo(e,t){const o=wo(t);return null!==o&&(ko[e]=o,!0)}function jo(e){return ko[e]}ko[""]=wo({resources:["https://api.iconify.design"].concat(Co)});let $o=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(t){}})();const Fo={prepare:(e,t,o)=>{const n=[],r=function(e,t){const o=jo(e);if(!o)return 0;let n;if(o.maxURL){let e=0;o.resources.forEach(t=>{const o=t;e=Math.max(e,o.length)});const r=t+".json?icons=";n=o.maxURL-e-o.path.length-r.length}else n=0;return n}(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return o.forEach((o,c)=>{a+=o.length+1,a>=r&&c>0&&(n.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=o.length),i.icons.push(o)}),n.push(i),n},send:(e,t,o)=>{if(!$o)return void o("abort",424);let n=function(e){if("string"==typeof e){const t=jo(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,o=t.icons.join(",");n+=e+".json?"+new URLSearchParams({icons:o}).toString();break}case"custom":{const e=t.uri;n+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void o("abort",400)}let r=503;$o(e+n).then(e=>{const t=e.status;if(200===t)return r=501,e.json();setTimeout(()=>{o(function(e){return 404===e}(t)?"abort":"next",t)})}).then(e=>{"object"==typeof e&&null!==e?setTimeout(()=>{o("success",e)}):setTimeout(()=>{404===e?o("abort",e):o("next",r)})}).catch(()=>{o("next",r)})}};function Oo(e,t){e.forEach(e=>{const o=e.loaderCallbacks;o&&(e.loaderCallbacks=o.filter(e=>e.id!==t))})}let So=0;var Eo={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Mo(e,t,o,n){const r=e.resources.length,s=e.random?Math.floor(Math.random()*r):e.index;let i;if(e.random){let t=e.resources.slice(0);for(i=[];t.length>1;){const e=Math.floor(Math.random()*t.length);i.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}i=i.concat(t)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let c,l="pending",u=0,p=null,f=[],d=[];function h(){p&&(clearTimeout(p),p=null)}function g(){"pending"===l&&(l="aborted"),h(),f.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),f=[]}function m(e,t){t&&(d=[]),"function"==typeof e&&d.push(e)}function y(){l="failed",d.forEach(e=>{e(void 0,c)})}function v(){f.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),f=[]}function b(){if("pending"!==l)return;h();const n=i.shift();if(void 0===n)return f.length?void(p=setTimeout(()=>{h(),"pending"===l&&(v(),y())},e.timeout)):void y();const r={status:"pending",resource:n,callback:(t,o)=>{!function(t,o,n){const r="success"!==o;switch(f=f.filter(e=>e!==t),l){case"pending":break;case"failed":if(r||!e.dataAfterTimeout)return;break;default:return}if("abort"===o)return c=n,void y();if(r)return c=n,void(f.length||(i.length?b():y()));if(h(),v(),!e.random){const o=e.resources.indexOf(t.resource);-1!==o&&o!==e.index&&(e.index=o)}l="completed",d.forEach(e=>{e(n)})}(r,t,o)}};f.push(r),u++,p=setTimeout(b,e.rotate),o(n,t,r.callback)}return"function"==typeof n&&d.push(n),setTimeout(b),function(){return{startTime:a,payload:t,status:l,queriesSent:u,queriesPending:f.length,subscribe:m,abort:g}}}function Lo(e){const t={...Eo,...e};let o=[];function n(){o=o.filter(e=>"pending"===e().status)}return{query:function(e,r,s){const i=Mo(t,e,r,(e,t)=>{n(),s&&s(e,t)});return o.push(i),i},find:function(e){return o.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:n}}function To(){}const Ao=Object.create(null);function Po(e,t,o){let n,r;if("string"==typeof e){const t=bo(e);if(!t)return o(void 0,424),To;r=t.send;const s=function(e){if(!Ao[e]){const t=jo(e);if(!t)return;const o={config:t,redundancy:Lo(t)};Ao[e]=o}return Ao[e]}(e);s&&(n=s.redundancy)}else{const t=wo(e);if(t){n=Lo(t);const o=bo(e.resources?e.resources[0]:"");o&&(r=o.send)}}return n&&r?n.query(t,r,o)().abort:(o(void 0,424),To)}function Ho(){}function Io(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 o=!1;const n=e.provider,r=e.prefix;t.forEach(t=>{const s=t.icons,i=s.pending.length;s.pending=s.pending.filter(t=>{if(t.prefix!==r)return!0;const i=t.name;if(e.icons[i])s.loaded.push({provider:n,prefix:r,name:i});else{if(!e.missing.has(i))return o=!0,!0;s.missing.push({provider:n,prefix:r,name:i})}return!1}),s.pending.length!==i&&(o||Oo([e],t.id),t.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),t.abort))})}))}(e)}))}function zo(e,t,o){function n(){const o=e.pendingIcons;t.forEach(t=>{o&&o.delete(t),e.icons[t]||e.missing.add(t)})}if(o&&"object"==typeof o)try{if(!ro(e,o).length)return void n()}catch(r){console.error(r)}n(),Io(e)}function Ro(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function No(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:o}=e,n=e.iconsToLoad;if(delete e.iconsToLoad,!n||!n.length)return;const r=e.loadIcon;if(e.loadIcons&&(n.length>1||!r))return void Ro(e.loadIcons(n,o,t),t=>{zo(e,n,t)});if(r)return void n.forEach(n=>{Ro(r(n,o,t),t=>{zo(e,[n],t?{prefix:o,icons:{[n]:t}}:null)})});const{valid:s,invalid:i}=function(e){const t=[],o=[];return e.forEach(e=>{(e.match(Vt)?t:o).push(e)}),{valid:t,invalid:o}}(n);if(i.length&&zo(e,i,null),!s.length)return;const a=o.match(Vt)?bo(t):null;if(!a)return void zo(e,s,null);a.prepare(t,o,s).forEach(o=>{Po(t,o,t=>{zo(e,o.icons,t)})})}))}const Uo=(e,t)=>{const o=function(e){const t={loaded:[],missing:[],pending:[]},o=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 n={provider:"",prefix:"",name:""};return e.forEach(e=>{if(n.name===e.name&&n.prefix===e.prefix&&n.provider===e.provider)return;n=e;const r=e.provider,s=e.prefix,i=e.name,a=o[r]||(o[r]=Object.create(null)),c=a[s]||(a[s]=no(r,s));let l;l=i in c.icons?t.loaded:""===s||c.missing.has(i)?t.missing:t.pending;const u={provider:r,prefix:s,name:i};l.push(u)}),t}(function(e,t=!0,o=!1){const n=[];return e.forEach(e=>{const r="string"==typeof e?qt(e,t,o):e;r&&n.push(r)}),n}(e,!0,io()));if(!o.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(o.loaded,o.missing,o.pending,Ho)}),()=>{e=!1}}const n=Object.create(null),r=[];let s,i;return o.pending.forEach(e=>{const{provider:t,prefix:o}=e;if(o===i&&t===s)return;s=t,i=o,r.push(no(t,o));const a=n[t]||(n[t]=Object.create(null));a[o]||(a[o]=[])}),o.pending.forEach(e=>{const{provider:t,prefix:o,name:r}=e,s=no(t,o),i=s.pendingIcons||(s.pendingIcons=new Set);i.has(r)||(i.add(r),n[t][o].push(r))}),r.forEach(e=>{const t=n[e.provider][e.prefix];t.length&&No(e,t)}),t?function(e,t,o){const n=So++,r=Oo.bind(null,o,n);if(!t.pending.length)return r;const s={id:n,icons:t,callback:e,abort:r};return o.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(s)}),r}(t,o,r):Ho};const Do=/[\s,]+/;function Vo(e,t){t.split(Do).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}function qo(e,t=0){const o=e.replace(/^-?[0-9.]*/,"");function n(e){for(;e<0;)e+=4;return e%4}if(""===o){const t=parseInt(e);return isNaN(t)?0:n(t)}if(o!==e){let t=0;switch(o){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-o.length));return isNaN(r)?0:(r/=t,r%1==0?n(r):0)}}return t}const Wo={...uo,inline:!1},Bo={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Jo={display:"inline-block"},Go={backgroundColor:"currentColor"},Zo={backgroundColor:"transparent"},Qo={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ko={webkitMask:Go,mask:Go,background:Zo};for(const bn in Ko){const e=Ko[bn];for(const t in Qo)e[bn+t]=Qo[t]}const Xo={};function Yo(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Xo[e+"-flip"]=t,Xo[e.slice(0,1)+"-flip"]=t,Xo[e+"Flip"]=t});const en=(e,t)=>{const o=function(e,t){const o={...e};for(const n in t){const e=t[n],r=typeof e;n in lo?(null===e||e&&("string"===r||"number"===r))&&(o[n]=e):r===typeof o[n]&&(o[n]="rotate"===n?e%4:e)}return o}(Wo,t),n={...Bo},r=t.mode||"svg",s={},i=t.style,a="object"!=typeof i||i instanceof Array?{}:i;for(let m in t){const e=t[m];if(void 0!==e)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":o[m]=!0===e||"true"===e||1===e;break;case"flip":"string"==typeof e&&Vo(o,e);break;case"color":s.color=e;break;case"rotate":"string"==typeof e?o[m]=qo(e):"number"==typeof e&&(o[m]=e);break;case"ariaHidden":case"aria-hidden":!0!==e&&"true"!==e&&delete n["aria-hidden"];break;default:{const t=Xo[m];t?!0!==e&&"true"!==e&&1!==e||(o[t]=!0):void 0===Wo[m]&&(n[m]=e)}}}const c=function(e,t){const o={...Gt,...e},n={...uo,...t},r={left:o.left,top:o.top,width:o.width,height:o.height};let s=o.body;[o,n].forEach(e=>{const t=[],o=e.hFlip,n=e.vFlip;let i,a=e.rotate;switch(o?n?a+=2:(t.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),t.push("scale(-1 1)"),r.top=r.left=0):n&&(t.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),t.push("scale(1 -1)"),r.top=r.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4,a){case 1:i=r.height/2+r.top,t.unshift("rotate(90 "+i.toString()+" "+i.toString()+")");break;case 2:t.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:i=r.width/2+r.left,t.unshift("rotate(-90 "+i.toString()+" "+i.toString()+")")}a%2==1&&(r.left!==r.top&&(i=r.left,r.left=r.top,r.top=i),r.width!==r.height&&(i=r.width,r.width=r.height,r.height=i)),t.length&&(s=function(e,t,o){const n=function(e,t="defs"){let o="";const n=e.indexOf("<"+t);for(;n>=0;){const r=e.indexOf(">",n),s=e.indexOf("</"+t);if(-1===r||-1===s)break;const i=e.indexOf(">",s);if(-1===i)break;o+=e.slice(r+1,s).trim(),e=e.slice(0,n).trim()+e.slice(i+1)}return{defs:o,content:e}}(e);return r=n.defs,s=t+n.content+o,r?"<defs>"+r+"</defs>"+s:s;var r,s}(s,'<g transform="'+t.join(" ")+'">',"</g>"))});const i=n.width,a=n.height,c=r.width,l=r.height;let u,p;null===i?(p=null===a?"1em":"auto"===a?l:a,u=ho(p,c/l)):(u="auto"===i?c:i,p=null===a?ho(u,l/c):"auto"===a?l:a);const f={},d=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(f[e]=t.toString())};d("width",u),d("height",p);const h=[r.left,r.top,c,l];return f.viewBox=h.join(" "),{attributes:f,viewBox:h,body:s}}(e,o),l=c.attributes;if(o.inline&&(s.verticalAlign="-0.125em"),"svg"===r){n.style={...s,...a},Object.assign(n,l);let e=0,o=t.id;return"string"==typeof o&&(o=o.replace(/-/g,"_")),n.innerHTML=function(e,t=mo){const o=[];let n;for(;n=go.exec(e);)o.push(n[1]);if(!o.length)return e;const r="suffix"+(16777216*Math.random()|Date.now()).toString(16);return o.forEach(o=>{const n="function"==typeof t?t(o):t+(yo++).toString(),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+n+r+"$3")}),e=e.replace(new RegExp(r,"g"),"")}(c.body,o?()=>o+"ID"+e++:"iconifyVue"),x("svg",n)}const{body:u,width:p,height:f}=e,d="mask"===r||"bg"!==r&&-1!==u.indexOf("currentColor"),h=function(e,t){let o=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)o+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}(u,{...l,width:p+"",height:f+""});var g;return n.style={...s,"--svg":(g=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)}(g)+'")'),width:Yo(l.width),height:Yo(l.height),...Jo,...d?Go:Zo,...a},x("span",n)};var tn;if(io(!0),tn=Fo,vo[""]=tn,"undefined"!=typeof document&&"undefined"!=typeof window){const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,o="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||!co(e))&&console.error(o)}catch(t){console.error(o)}})}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const o="IconifyProviders["+e+"] is invalid.";try{const n=t[e];if("object"!=typeof n||!n||void 0===n.resources)continue;xo(e,n)||console.error(o)}catch(vn){console.error(o)}}}}const on={...Gt,body:""};b((e,{emit:t})=>{const o=d(null);function n(){o.value&&(o.value.abort?.(),o.value=null)}const r=d(!!e.ssr),s=d(""),i=w(null);function a(){const r=function(){const r=e.icon;if("object"==typeof r&&null!==r&&"string"==typeof r.body)return s.value="",{data:r};let i;if("string"!=typeof r||null===(i=qt(r,!1,!0)))return null;let c=ao(i);if(!c){const e=o.value;return e&&e.name===r||(o.value=null===c?{name:r}:{name:r,abort:Uo([i],a)}),null}n(),s.value!==r&&(s.value=r,j(()=>{t("load",r)}));const l=e.customise;if(l){c=Object.assign({},c);const e=l(c.body,i.name,i.prefix,i.provider);"string"==typeof e&&(c.body=e)}const u=["iconify"];return""!==i.prefix&&u.push("iconify--"+i.prefix),""!==i.provider&&u.push("iconify--"+i.provider),{data:c,classes:u}}();r?r.data!==i.value?.data&&(i.value=r):i.value=null}return r.value?a():k(()=>{r.value=!0,a()}),_(()=>e.icon,a),C(n),()=>{const t=i.value;if(!t)return en(on,e);let o=e;return t.classes&&(o={...e,class:t.classes.join(" ")}),en({...Gt,...t.data},o)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const nn=(e,t)=>{const o=e.__vccOpts||e;for(const[n,r]of t)o[n]=r;return o};const rn=nn(b({__name:"App",setup(e,{expose:t}){t();const o=D(),n=$(()=>P.value.find(({id:e})=>e===o.name)),r=d(""),s=d(""),i=$(()=>n.value?.to&&`${window.location.origin}${"/"===n.value.to?"":n.value.to}`);_(n,async e=>{let t="/favicon.ico";if(e?.icon){const o=ao(e.icon)?function(e){const t=ao(e);return t?{...Gt,...t}:t}(e.icon):await(e=>new Promise((t,o)=>{const n="string"==typeof e?qt(e,!0):e;n?Uo([n||e],r=>{if(r.length&&n){const e=ao(n);if(e)return void t({...Gt,...e})}o(e)}):o(e)}))(e.icon);if(o){const{body:e,height:n,left:r,top:s,width:i}=o;t=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${r.toString()} ${s.toString()} ${i.toString()} ${n.toString()}">${e}</svg>`}}r.value=t}),qe({link:[[r,"icon","icon"],[i,"canonical"]].map(([e,t,o])=>({href:e,key:o,rel:t})),script:[{id:"application/ld+json",innerHTML:s,type:"application/ld+json"}]}),function(e={},t={}){(t.head||Ve()).use(Re);const{title:o,titleTemplate:n,...r}=e;qe({title:o,titleTemplate:n,_flatMeta:r},t)}({description:$(()=>n.value?.description),keywords:$(()=>n.value?.keywords.join()),ogDescription:$(()=>n.value?.description),ogImage:$(()=>n.value?.images.filter(({url:e})=>e).map(({alt:e="",url:t})=>({alt:e,url:`${window.location.origin}/${t}`}))??[]),ogTitle:$(()=>n.value?.title),ogType:$(()=>n.value?.type),ogUrl:i,title:$(()=>n.value?.title)}),_(()=>n.value?.jsonld,async e=>{s.value=JSON.stringify(await e)||'{"@context":"https://schema.org"}'});const a={route:o,a:n,favicon:r,jsonld:s,ogUrl:i,get pages(){return P}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),[["render",function(e,t,o,n,r,s){const i=F("router-view");return S(),O(i,null,{default:E(({Component:e})=>[(S(),O(M(e),{id:n.pages[0]?.id},null,8,["id"]))]),_:1})}],["__file","App.vue"]]);let sn;const{pathname:an}=new URL(document.baseURI),cn=d(!0),ln=new Map,un=V({history:q(an),routes:[],scrollBehavior:(e,t,o)=>sn?.(e,t,o)}),pn=d(!0),fn=$(()=>"/"===un.currentRoute.value.path?H[un.currentRoute.value.name]?.$children[0]:H[un.currentRoute.value.name]),dn=({id:e=I()})=>(ln.set(e,(()=>{let e,t;return{promise:new Promise((o,n)=>{e=o,t=n}),reject:t,resolve:e}})()),L(async()=>W(`./pages/${e}.vue`,{parseOptions:{sourceMap:!1,templateParseOptions:{comments:!1,prefixIdentifiers:!0}},scriptOptions:{hoistStatic:!0,inlineTemplate:!0,isProd:!0,sourceMap:!1,templateOptions:{compilerOptions:{cacheHandlers:!0,comments:!1,hoistStatic:!0,mode:"module",prefixIdentifiers:!0,sourceMap:!1},isProd:!0,ssr:!1}}}))),hn=({id:e}={})=>{e&&ln.get(e)?.resolve(void 0)};un.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const gn=T(rn),mn={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};gn.use(We());const yn=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();z.push(t),await j(),P.value.forEach(({id:e,loc:t,path:n},r,s)=>{if(Object.defineProperties(s[r],{jsonld:mn}),void 0!==n){const r=t?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");un.addRoute({...r&&t?{alias:r}:{undefined:void 0},children:[{component:()=>o(()=>import("./PageView-BA0qWchd.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:e,path:""}],component:()=>o(()=>import("./RootView-1qHwoiT_.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:n.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),un.addRoute({component:()=>o(()=>import("./NotFoundView-C7FQK7qb.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()),Dt.presets.push(a({customFetch:U,fonts:N(R)})),await c({defaults:Dt,ready:async e=>{const{toggleObserver:t}=e;return(({extractAll:e,toggleObserver:t})=>{sn=async({hash:o,name:n})=>{if(n){cn.value=!0,t(!1);const[{promise:r}={}]=ln.values();await r,await Promise.all([...ln.values()].map(({promise:e})=>e)),await e(),t(!0);const s=pn.value&&{behavior:"smooth",...o||fn.value?.parent?.flat&&fn.value.index?{el:o||`#${String(n)}`}:{left:0,top:0}};return cn.value=!1,pn.value=!0,s}return!1}})(e),await yn,gn.provide("pages",H),gn.use(un),await un.isReady(),gn.mount("#app"),t(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(nt.error),nt.info("👊 VueBro / https://github.com/vuebro / runtime ver.:","1.1.63");export{nn as _,cn as a,nt as c,dn as m,ln as p,hn as r,pn as s,fn as t,qe as u};
|